Changeset 16160


Ignore:
Timestamp:
Aug 20, 2014, 7:31:49 PM (5 years ago)
Author:
rme
Message:

Update the AltConsole? sources a bit to remove warnings. Generate
the Info.plist file from altconsole-Info.plist in an attempt to
keep the automated Mac App Store checker happy.

Location:
branches/1.9-appstore/source/cocoa-ide/altconsole
Files:
3 edited
1 moved

Legend:

Unmodified
Added
Removed
  • branches/1.9-appstore/source/cocoa-ide/altconsole/AltConsoleDocument.h

    r12097 r16160  
    2525#import <Cocoa/Cocoa.h>
    2626
    27 @interface AltConsoleDocument : NSDocument
     27@interface AltConsoleDocument : NSDocument <NSToolbarDelegate, NSTextViewDelegate>
    2828{
    2929  NSFileHandle *in, *out, *err;
  • branches/1.9-appstore/source/cocoa-ide/altconsole/AltConsoleDocument.m

    r12325 r16160  
    132132
    133133- (NSData *)dataRepresentationOfType:(NSString *)aType {
    134   [[textView string]
    135     dataUsingEncoding: NSASCIIStringEncoding
    136     allowLossyConversion: YES];
     134  return [[textView string]
     135           dataUsingEncoding: NSASCIIStringEncoding
     136           allowLossyConversion: YES];
    137137}
    138138
     
    206206- (NSArray *)toolbarAllowedItemIdentifiers:(NSToolbar *)toolbar
    207207{
    208   [NSArray arrayWithObject:@"clear display"];
     208  return [NSArray arrayWithObject:@"clear display"];
    209209}
    210210
    211211- (NSArray *)toolbarDefaultItemIdentifiers:(NSToolbar *)toolbar
    212212{
    213   [NSArray arrayWithObject:@"clear display"];
     213  return [NSArray arrayWithObject:@"clear display"];
    214214}
    215215
  • branches/1.9-appstore/source/cocoa-ide/altconsole/Makefile

    r15364 r16160  
    1212#CC=gcc-4.0
    1313
    14 CFLAGS=-g -O -mmacosx-version-min=10.6 -Wno-protocol
     14CFLAGS=-g -O -mmacosx-version-min=10.6
    1515
    1616AltConsole: $(OBJECTS)
    1717        $(CC) $(CFLAGS) -o $@ $(OBJECTS) -framework Cocoa
    1818
    19 $(APPBASE)/AltConsole.app: AltConsole $(RESOURCES) Info.plist
     19$(APPBASE)/AltConsole.app: AltConsole $(RESOURCES) altconsole-Info.plist
    2020        mkdir -p $(APPBASE)
    2121        rm -rf $(APPBASE)/AltConsole.app
     
    2424        mkdir -p $(APPBASE)/AltConsole.app/Contents/MacOS
    2525        cp -p AltConsole $(APPBASE)/AltConsole.app/Contents/MacOS
    26         cp -p Info.plist $(APPBASE)/AltConsole.app/Contents/
     26        cp -p altconsole-Info.plist $(APPBASE)/AltConsole.app/Contents/Info.plist
    2727        touch $(APPBASE)/AltConsole.app
    2828
Note: See TracChangeset for help on using the changeset viewer.