...
 
Commits (4)
  • Yavor Doganov's avatar
    Import Upstream version 0.5 · aeb82abd
    Yavor Doganov authored
    aeb82abd
  • Gürkan Myczko's avatar
    Import Debian changes 0.5-1 · d83d3aa2
    Gürkan Myczko authored
    ftp.app (0.5-1) unstable; urgency=medium
    
      * Team upload.
    
      [ Gürkan Myczko ]
      * New upstream version.
      * Bump standards version to 3.9.8.
      * Bump debhelper version to 9.
      * debian/rules: Fix image resizing wrt. convert adds numbered suffixes
        to file names since recently.  (Closes: #841598)
    
      [ Axel Beckert ]
      * Switch Vcs-* headers to current canonical form with https, cgit and
        anonscm.debian.org.
    d83d3aa2
  • Yavor Doganov's avatar
    Import Upstream version 0.6 · 5a64cf64
    Yavor Doganov authored
    5a64cf64
  • Gürkan Myczko's avatar
    Import Debian changes 0.6-1 · dff2e16a
    Gürkan Myczko authored
    ftp.app (0.6-1) unstable; urgency=medium
    
      * Team upload.
    
      [ Gürkan Myczko ]
      * New upstream version.
      * Bump standards version to 4.0.0.
      * Bump debhelper version to 10.
    dff2e16a
/*
/* -*- mode: objc -*-
Project: FTP
Copyright (C) 2005-2011 Riccardo Mottola
Copyright (C) 2005-2016 Riccardo Mottola
Author: Riccardo Mottola
......@@ -35,72 +36,85 @@
@interface AppController : NSObject
{
IBOutlet NSWindow *mainWin;
IBOutlet NSTableView *localView;
IBOutlet NSTableView *remoteView;
IBOutlet NSPopUpButton *localPath;
IBOutlet NSPopUpButton *remotePath;
IBOutlet NSButton *buttDownload;
IBOutlet NSButton *buttUpload;
IBOutlet NSTextField *infoMessage;
IBOutlet NSTextField *infoSpeed;
IBOutlet NSTextField *infoSize;
IBOutlet NSProgressIndicator *progBar;
IBOutlet NSMenu *mainMenu;
IBOutlet NSWindow *mainWin;
IBOutlet NSTableView *localView;
IBOutlet NSTableView *remoteView;
IBOutlet NSPopUpButton *localPath;
IBOutlet NSPopUpButton *remotePath;
IBOutlet NSButton *buttDownload;
IBOutlet NSButton *buttUpload;
IBOutlet NSTextField *infoMessage;
IBOutlet NSTextField *infoSpeed;
IBOutlet NSTextField *infoSize;
IBOutlet NSProgressIndicator *progBar;
IBOutlet NSWindow *logWin;
IBOutlet NSTextView *logTextField;
IBOutlet NSWindow *logWin;
IBOutlet NSTextView *logTextField;
IBOutlet NSPanel *connectPanel;
IBOutlet NSTextField *connAddress;
IBOutlet NSTextField *connPort;
IBOutlet NSTextField *connUser;
IBOutlet NSTextField *connPass;
IBOutlet NSButton *connAnon;
IBOutlet NSPanel *prefPanel;
IBOutlet NSMatrix *portType;
IBOutlet NSPanel *connectPanel;
IBOutlet NSBox *connServerBox;
IBOutlet NSBox *connAccountBox;
IBOutlet NSTextField *connAddress;
IBOutlet NSTextField *connPort;
IBOutlet NSTextField *connUser;
IBOutlet NSTextField *connPass;
IBOutlet NSButton *connAnon;
IBOutlet NSButton *connCancelButt;
IBOutlet NSButton *connConnectButt;
IBOutlet NSPanel *prefPanel;
IBOutlet NSMatrix *portType;
IBOutlet NSButton *prefCancelButt;
IBOutlet NSButton *prefSaveButt;
NSMutableDictionary *textAttributes;
NSMutableDictionary *textAttributes;
FileTable *localTableData;
FileTable *remoteTableData;
FtpClient *ftp;
LocalClient *local;
@private connectionModes connMode;
@private struct timeval beginTimeVal;
@private unsigned long long transferSize;
@private BOOL threadRunning;
FileTable *localTableData;
FileTable *remoteTableData;
FtpClient *ftp;
LocalClient *local;
NSMutableArray *filesInProcess;
@private connectionModes connMode;
@private NSTimeInterval beginTimeVal;
@private unsigned long long transferSize;
@private BOOL threadRunning;
@private NSConnection *doConnection;
}
+ (void)initialize;
- (id)init;
- (void)dealloc;
- (void)awakeFromNib;
- (void)applicationDidFinishLaunching:(NSNotification *)aNotif;
- (BOOL)applicationShouldTerminate:(id)sender;
- (NSApplicationTerminateReply)applicationShouldTerminate:(id)sender;
- (void)applicationWillTerminate:(NSNotification *)aNotif;
- (BOOL)application:(NSApplication *)application openFile:(NSString *)fileName;
- (void)readDirWith:(Client *)client toTable:(FileTable *)t andView:(NSTableView*)tv;
- (void)updatePath :(NSPopUpButton *)path :(NSArray *)pathArray;
- (IBAction)changePathFromMenu:(id)sender;
- (void)listDoubleClick:(id)sender;
- (IBAction)listDoubleClick:(id)sender;
- (BOOL)dropValidate:(id)sender paths:(NSArray *)paths;
- (void)dropAction:(id)sender paths:(NSArray *)paths;
- (IBAction)downloadButton:(id)sender;
- (IBAction)uploadButton:(id)sender;
- (IBAction)localDelete:(id)sender;
- (IBAction)remoteDelete:(id)sender;
- (IBAction)localRename:(id)sender;
- (IBAction)remoteRename:(id)sender;
- (IBAction)localNewFolder:(id)sender;
- (IBAction)remoteNewFolder:(id)sender;
- (IBAction)localRefresh:(id)sender;
- (IBAction)remoteRefresh:(id)sender;
- (void)setThreadRunningState:(BOOL)flag;
- (void)setTransferBegin:(NSString *)name :(unsigned long long)size;
- (void)setTransferProgress:(NSNumber *)bytesTransferred;
- (void)setTransferEnd:(NSNumber *)bytesTransferred;
- (oneway void)setTransferBegin:(in bycopy NSString *)name :(unsigned long long)size;
- (oneway void)setTransferProgress:(in bycopy NSNumber *)bytesTransferred;
- (oneway void)setTransferEnd:(in bycopy NSNumber *)bytesTransferred;
/** closes the open connections and quits teh session with the remote server */
/** closes the open connections and quits the session with the remote server */
- (IBAction)disconnect:(id)sender;
- (IBAction)showPrefPanel:(id)sender;
......@@ -111,7 +125,7 @@
/** Called by the server object to register itself */
- (void)setServer:(id)anObject;
- (void)appendTextToLog:(NSString *)textChunk;
- (oneway void)appendTextToLog:(NSString *)textChunk;
- (IBAction)showConnPanel:(id)sender;
- (IBAction)connectConn:(id)sender;
......@@ -127,6 +141,11 @@
- (void)performRetrieveFile;
- (void)performStoreFile;
- (void)retrieveFiles;
- (oneway void)fileRetrieved:(BOOL)success;
- (void)storeFiles;
- (oneway void)fileStored:(BOOL)success;
@end
@interface fileTransmitParms : NSObject
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 39;
objectVersion = 38;
objects = {
080E96DCFE201CFB7F000001 = {
fileRef = 29B97318FDCFA39411CA2CEA;
......@@ -29,7 +29,6 @@
isa = PBXGroup;
name = Classes;
refType = 4;
sourceTree = "<group>";
};
089C165CFE840E0CC02AAC07 = {
children = (
......@@ -38,16 +37,13 @@
isa = PBXVariantGroup;
name = InfoPlist.strings;
refType = 4;
sourceTree = "<group>";
};
089C165DFE840E0CC02AAC07 = {
fileEncoding = 10;
isa = PBXFileReference;
lastKnownFileType = text.plist.strings;
name = English;
path = English.lproj/InfoPlist.strings;
refType = 4;
sourceTree = "<group>";
};
089C165EFE840E0CC02AAC07 = {
fileRef = 089C165CFE840E0CC02AAC07;
......@@ -72,15 +68,12 @@
isa = PBXGroup;
name = "Linked Frameworks";
refType = 4;
sourceTree = "<group>";
};
1058C7A1FEA54F0111CA2CBB = {
isa = PBXFileReference;
lastKnownFileType = wrapper.framework;
name = Cocoa.framework;
path = /System/Library/Frameworks/Cocoa.framework;
refType = 0;
sourceTree = "<absolute>";
};
1058C7A2FEA54F0111CA2CBB = {
children = (
......@@ -90,7 +83,6 @@
isa = PBXGroup;
name = "Other Frameworks";
refType = 4;
sourceTree = "<group>";
};
1058C7A3FEA54F0111CA2CBB = {
fileRef = 1058C7A1FEA54F0111CA2CBB;
......@@ -110,12 +102,11 @@
//194
19C28FACFE9D520D11CA2CBB = {
children = (
8518DC1E0E354C3500A80101,
85E6C4AE11BEE78200A80101,
);
isa = PBXGroup;
name = Products;
refType = 4;
sourceTree = "<group>";
};
//190
//191
......@@ -128,8 +119,6 @@
//293
//294
29B97313FDCFA39411CA2CEA = {
buildSettings = {
};
buildStyles = (
4A9504CCFFE6A4B311CA0CBA,
4A9504CDFFE6A4B311CA0CBA,
......@@ -154,7 +143,6 @@
name = FTP;
path = "";
refType = 4;
sourceTree = "<group>";
};
29B97315FDCFA39411CA2CEA = {
children = (
......@@ -164,15 +152,12 @@
name = "Other Sources";
path = "";
refType = 4;
sourceTree = "<group>";
};
29B97316FDCFA39411CA2CEA = {
fileEncoding = 30;
isa = PBXFileReference;
lastKnownFileType = sourcecode.c.objc;
path = main.m;
refType = 4;
sourceTree = "<group>";
};
29B97317FDCFA39411CA2CEA = {
children = (
......@@ -186,7 +171,6 @@
name = Resources;
path = "";
refType = 4;
sourceTree = "<group>";
};
29B97318FDCFA39411CA2CEA = {
children = (
......@@ -196,15 +180,12 @@
name = MainMenu.nib;
path = "";
refType = 4;
sourceTree = "<group>";
};
29B97319FDCFA39411CA2CEA = {
isa = PBXFileReference;
lastKnownFileType = wrapper.nib;
name = English;
path = English.lproj/MainMenu.nib;
refType = 4;
sourceTree = "<group>";
};
29B97323FDCFA39411CA2CEA = {
children = (
......@@ -215,23 +196,18 @@
name = Frameworks;
path = "";
refType = 4;
sourceTree = "<group>";
};
29B97324FDCFA39411CA2CEA = {
isa = PBXFileReference;
lastKnownFileType = wrapper.framework;
name = AppKit.framework;
path = /System/Library/Frameworks/AppKit.framework;
refType = 0;
sourceTree = "<absolute>";
};
29B97325FDCFA39411CA2CEA = {
isa = PBXFileReference;
lastKnownFileType = wrapper.framework;
name = Foundation.framework;
path = /System/Library/Frameworks/Foundation.framework;
refType = 0;
sourceTree = "<absolute>";
};
29B97326FDCFA39411CA2CEA = {
buildPhases = (
......@@ -258,7 +234,7 @@
name = FTP;
productInstallPath = "$(HOME)/Applications";
productName = FTP;
productReference = 8518DC1E0E354C3500A80101;
productReference = 85E6C4AE11BEE78200A80101;
productSettingsXML = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<!DOCTYPE plist PUBLIC \"-//Apple Computer//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">
<plist version=\"1.0\">
......@@ -276,7 +252,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>0.2</string>
<string>0.3</string>
<key>NSMainNibFile</key>
<string>MainMenu</string>
<key>NSPrincipalClass</key>
......@@ -382,19 +358,15 @@
//852
//853
//854
8518DC1E0E354C3500A80101 = {
explicitFileType = wrapper.application;
isa = PBXFileReference;
85E6C4AE11BEE78200A80101 = {
isa = PBXApplicationReference;
path = FTP.app;
refType = 3;
sourceTree = BUILT_PRODUCTS_DIR;
};
85FC29710DD7B28300A80101 = {
isa = PBXFileReference;
lastKnownFileType = image.icns;
path = FTP_icon_osx.icns;
refType = 4;
sourceTree = "<group>";
};
85FC29720DD7B28300A80101 = {
fileRef = 85FC29710DD7B28300A80101;
......@@ -415,10 +387,8 @@
F56A03FB080AC70701A80101 = {
fileEncoding = 30;
isa = PBXFileReference;
lastKnownFileType = sourcecode.c.objc;
path = localclient.m;
refType = 4;
sourceTree = "<group>";
};
F56A03FC080AC70701A80101 = {
fileRef = F56A03FB080AC70701A80101;
......@@ -429,10 +399,8 @@
F56A03FD080AC71101A80101 = {
fileEncoding = 30;
isa = PBXFileReference;
lastKnownFileType = sourcecode.c.h;
path = localclient.h;
refType = 4;
sourceTree = "<group>";
};
F56A03FE080AC71101A80101 = {
fileRef = F56A03FD080AC71101A80101;
......@@ -443,18 +411,14 @@
F5BE3AF6080C6A3601A80101 = {
fileEncoding = 30;
isa = PBXFileReference;
lastKnownFileType = sourcecode.c.h;
path = fileTable.h;
refType = 4;
sourceTree = "<group>";
};
F5BE3AF7080C6A3601A80101 = {
fileEncoding = 30;
isa = PBXFileReference;
lastKnownFileType = sourcecode.c.objc;
path = fileTable.m;
refType = 4;
sourceTree = "<group>";
};
F5BE3AF8080C6A3601A80101 = {
fileRef = F5BE3AF6080C6A3601A80101;
......@@ -470,10 +434,8 @@
};
F5C0879F08A0C47B01A8012F = {
isa = PBXFileReference;
lastKnownFileType = image.tiff;
path = arrow_right.tiff;
refType = 4;
sourceTree = "<group>";
};
F5C087A008A0C47C01A8012F = {
fileRef = F5C0879F08A0C47B01A8012F;
......@@ -483,10 +445,8 @@
};
F5C087A108A0C4AF01A8012F = {
isa = PBXFileReference;
lastKnownFileType = image.tiff;
path = arrow_left.tiff;
refType = 4;
sourceTree = "<group>";
};
F5C087A208A0C4B001A8012F = {
fileRef = F5C087A108A0C4AF01A8012F;
......@@ -497,18 +457,14 @@
F5C84D6008142DF201A80101 = {
fileEncoding = 30;
isa = PBXFileReference;
lastKnownFileType = sourcecode.c.h;
path = fileElement.h;
refType = 4;
sourceTree = "<group>";
};
F5C84D6108142DF201A80101 = {
fileEncoding = 30;
isa = PBXFileReference;
lastKnownFileType = sourcecode.c.objc;
path = fileElement.m;
refType = 4;
sourceTree = "<group>";
};
F5C84D6208142DF201A80101 = {
fileRef = F5C84D6008142DF201A80101;
......@@ -525,10 +481,8 @@
F5EFB6450818FE6001A80101 = {
fileEncoding = 30;
isa = PBXFileReference;
lastKnownFileType = sourcecode.c.objc;
path = client.m;
refType = 4;
sourceTree = "<group>";
};
F5EFB6460818FE6001A80101 = {
fileRef = F5EFB6450818FE6001A80101;
......@@ -539,10 +493,8 @@
F5EFB6470818FE6E01A80101 = {
fileEncoding = 30;
isa = PBXFileReference;
lastKnownFileType = sourcecode.c.h;
path = client.h;
refType = 4;
sourceTree = "<group>";
};
F5EFB6480818FE6E01A80101 = {
fileRef = F5EFB6470818FE6E01A80101;
......@@ -553,34 +505,26 @@
F5F5F93707FD8CAD01A80101 = {
fileEncoding = 30;
isa = PBXFileReference;
lastKnownFileType = sourcecode.c.h;
path = AppController.h;
refType = 4;
sourceTree = "<group>";
};
F5F5F93807FD8CAD01A80101 = {
fileEncoding = 30;
isa = PBXFileReference;
lastKnownFileType = sourcecode.c.objc;
path = AppController.m;
refType = 4;
sourceTree = "<group>";
};
F5F5F93907FD8CAD01A80101 = {
fileEncoding = 30;
isa = PBXFileReference;
lastKnownFileType = sourcecode.c.h;
path = ftpclient.h;
refType = 4;
sourceTree = "<group>";
};
F5F5F93A07FD8CAD01A80101 = {
fileEncoding = 30;
isa = PBXFileReference;
lastKnownFileType = sourcecode.c.objc;
path = ftpclient.m;
refType = 4;
sourceTree = "<group>";
};
F5F5F93B07FD8CAD01A80101 = {
fileRef = F5F5F93707FD8CAD01A80101;
......
......@@ -7,6 +7,8 @@
objects = {
080E96DDFE201D6D7F000001 = {
children = (
85D69C7917629757000AC90B,
85D69C7A17629757000AC90B,
F5F5F93707FD8CAD01A80101,
F5F5F93807FD8CAD01A80101,
F5F5F93907FD8CAD01A80101,
......@@ -25,24 +27,6 @@
refType = 4;
sourceTree = "<group>";
};
089C165CFE840E0CC02AAC07 = {
children = (
089C165DFE840E0CC02AAC07,
);
isa = PBXVariantGroup;
name = InfoPlist.strings;
refType = 4;
sourceTree = "<group>";
};
089C165DFE840E0CC02AAC07 = {
fileEncoding = 10;
isa = PBXFileReference;
lastKnownFileType = text.plist.strings;
name = English;
path = English.lproj/InfoPlist.strings;
refType = 4;
sourceTree = "<group>";
};
//080
//081
//082
......@@ -118,6 +102,13 @@
);
hasScannedForEncodings = 1;
isa = PBXProject;
knownRegions = (
English,
Japanese,
French,
German,
Italian,
);
mainGroup = 29B97314FDCFA39411CA2CEA;
projectDirPath = "";
targets = (
......@@ -159,9 +150,12 @@
};
29B97317FDCFA39411CA2CEA = {
children = (
85848F181DBFE1F70050DC12,
85848F121DBFE1A70050DC12,
85848F131DBFE1A70050DC12,
85848F141DBFE1A70050DC12,
85D69CD717651E24000AC90B,
85FC29710DD7B28300A80101,
29B97318FDCFA39411CA2CEA,
089C165CFE840E0CC02AAC07,
F5C0879F08A0C47B01A8012F,
F5C087A108A0C4AF01A8012F,
);
......@@ -171,24 +165,6 @@
refType = 4;
sourceTree = "<group>";
};
29B97318FDCFA39411CA2CEA = {
children = (
29B97319FDCFA39411CA2CEA,
);
isa = PBXVariantGroup;
name = MainMenu.nib;
path = "";
refType = 4;
sourceTree = "<group>";
};
29B97319FDCFA39411CA2CEA = {
isa = PBXFileReference;
lastKnownFileType = wrapper.nib;
name = English;
path = English.lproj/MainMenu.nib;
refType = 4;
sourceTree = "<group>";
};
29B97323FDCFA39411CA2CEA = {
children = (
1058C7A0FEA54F0111CA2CBB,
......@@ -302,6 +278,7 @@
8576CCE7152E1559008F8C62,
8576CCE8152E1559008F8C62,
8576CCE9152E1559008F8C62,
85D69C7B17629757000AC90B,
);
isa = PBXHeadersBuildPhase;
runOnlyForDeploymentPostprocessing = 0;
......@@ -345,27 +322,18 @@
8576CCEA152E1559008F8C62 = {
buildActionMask = 2147483647;
files = (
8576CCEB152E1559008F8C62,
8576CCEC152E1559008F8C62,
8576CCED152E1559008F8C62,
8576CCEE152E1559008F8C62,
8576CCEF152E1559008F8C62,
85D69CD817651E24000AC90B,
85848F151DBFE1A70050DC12,
85848F161DBFE1A70050DC12,
85848F171DBFE1A70050DC12,
85848F1A1DBFE1F70050DC12,
);
isa = PBXResourcesBuildPhase;
runOnlyForDeploymentPostprocessing = 0;
};
8576CCEB152E1559008F8C62 = {
fileRef = 29B97318FDCFA39411CA2CEA;
isa = PBXBuildFile;
settings = {
};
};
8576CCEC152E1559008F8C62 = {
fileRef = 089C165CFE840E0CC02AAC07;
isa = PBXBuildFile;
settings = {
};
};
8576CCED152E1559008F8C62 = {
fileRef = F5C0879F08A0C47B01A8012F;
isa = PBXBuildFile;
......@@ -394,6 +362,7 @@
8576CCF5152E1559008F8C62,
8576CCF6152E1559008F8C62,
8576CCF7152E1559008F8C62,
85D69C7C17629757000AC90B,
);
isa = PBXSourcesBuildPhase;
runOnlyForDeploymentPostprocessing = 0;
......@@ -471,6 +440,134 @@
refType = 3;
sourceTree = BUILT_PRODUCTS_DIR;
};
85848F121DBFE1A70050DC12 = {
isa = PBXFileReference;
lastKnownFileType = wrapper.nib;
name = GetName.nib;
path = Resources/GetName.nib;
refType = 4;
sourceTree = "<group>";
};
85848F131DBFE1A70050DC12 = {
fileEncoding = 30;
isa = PBXFileReference;
lastKnownFileType = text.plist.strings;
name = InfoPlist.strings;
path = Resources/InfoPlist.strings;
refType = 4;
sourceTree = "<group>";
};
85848F141DBFE1A70050DC12 = {
isa = PBXFileReference;
lastKnownFileType = wrapper.nib;
name = MainMenu.nib;
path = Resources/MainMenu.nib;
refType = 4;
sourceTree = "<group>";
};
85848F151DBFE1A70050DC12 = {
fileRef = 85848F121DBFE1A70050DC12;
isa = PBXBuildFile;
settings = {
};
};
85848F161DBFE1A70050DC12 = {
fileRef = 85848F131DBFE1A70050DC12;
isa = PBXBuildFile;
settings = {
};
};
85848F171DBFE1A70050DC12 = {
fileRef = 85848F141DBFE1A70050DC12;
isa = PBXBuildFile;
settings = {
};
};
85848F181DBFE1F70050DC12 = {
children = (
85848F191DBFE1F70050DC12,
85848F1B1DBFE2040050DC12,
85848F1C1DBFE20A0050DC12,
);
isa = PBXVariantGroup;
name = Localizable.strings;
path = "";
refType = 4;
sourceTree = "<group>";
};
85848F191DBFE1F70050DC12 = {
fileEncoding = 30;
isa = PBXFileReference;
lastKnownFileType = text.plist.strings;
name = English;
path = Resources/English.lproj/Localizable.strings;
refType = 4;
sourceTree = "<group>";
};
85848F1A1DBFE1F70050DC12 = {
fileRef = 85848F181DBFE1F70050DC12;
isa = PBXBuildFile;
settings = {
};
};
85848F1B1DBFE2040050DC12 = {
isa = PBXFileReference;
lastKnownFileType = text.plist.strings;
name = German;
path = Resources/German.lproj/Localizable.strings;
refType = 4;
sourceTree = "<group>";
};
85848F1C1DBFE20A0050DC12 = {
isa = PBXFileReference;
lastKnownFileType = text.plist.strings;
name = Italian;
path = Resources/Italian.lproj/Localizable.strings;
refType = 4;
sourceTree = "<group>";
};
85D69C7917629757000AC90B = {
fileEncoding = 30;
isa = PBXFileReference;
lastKnownFileType = sourcecode.c.h;
path = GetNameController.h;
refType = 4;
sourceTree = "<group>";
};
85D69C7A17629757000AC90B = {
fileEncoding = 30;
isa = PBXFileReference;
lastKnownFileType = sourcecode.c.objc;
path = GetNameController.m;
refType = 4;
sourceTree = "<group>";
};
85D69C7B17629757000AC90B = {
fileRef = 85D69C7917629757000AC90B;
isa = PBXBuildFile;
settings = {
};
};
85D69C7C17629757000AC90B = {
fileRef = 85D69C7A17629757000AC90B;
isa = PBXBuildFile;
settings = {
};
};
85D69CD717651E24000AC90B = {
fileEncoding = 30;
isa = PBXFileReference;
lastKnownFileType = text;
path = ChangeLog;
refType = 4;
sourceTree = "<group>";
};
85D69CD817651E24000AC90B = {
fileRef = 85D69CD717651E24000AC90B;
isa = PBXBuildFile;
settings = {
};
};
85FC29710DD7B28300A80101 = {
isa = PBXFileReference;
lastKnownFileType = image.icns;
......
This diff is collapsed.
......@@ -2,13 +2,14 @@
ApplicationDescription = "FTP client";
ApplicationIcon = "FTP_icon_gs.tif";
ApplicationName = FTP;
ApplicationRelease = "0.3";
ApplicationRelease = "0.6";
Authors = (
"Riccardo Mottola <rm@gnu.org>"
);
Copyright = "Copyright (C) 2005-2012";
CopyrightDescription = "Released under GPL";
FullVersionID = "0.3";
CFBundleIdentifier = "org.gap.FTP";
Copyright = "Copyright (C) 2005-2017";
CopyrightDescription = "Released under GPL v2+";
FullVersionID = "0.6";
NSExecutable = FTP;
NSIcon = "FTP_icon_gs.tif";
NSMainNibFile = "FTP.gorm";
......
......@@ -3,6 +3,15 @@
#
ifeq ($(GNUSTEP_MAKEFILES),)
GNUSTEP_MAKEFILES := $(shell gnustep-config --variable=GNUSTEP_MAKEFILES 2>/dev/null)
ifeq ($(GNUSTEP_MAKEFILES),)
$(warning )
$(warning Unable to obtain GNUSTEP_MAKEFILES setting from gnustep-config!)
$(warning Perhaps gnustep-make is not properly installed,)
$(warning so gnustep-config is not in your PATH.)
$(warning )
$(warning Your PATH is currently $(PATH))
$(warning )
endif
endif
ifeq ($(GNUSTEP_MAKEFILES),)
$(error You need to set GNUSTEP_MAKEFILES before compiling!)
......@@ -13,7 +22,7 @@ include $(GNUSTEP_MAKEFILES)/common.make
#
# Application
#
VERSION = 0.3
VERSION = 0.6
PACKAGE_NAME = FTP
APP_NAME = FTP
FTP_APPLICATION_ICON = FTP_icon_gs.tif
......@@ -24,9 +33,10 @@ FTP_APPLICATION_ICON = FTP_icon_gs.tif
#
FTP_RESOURCE_FILES = \
Resources/FTP.gorm \
Resources/GetName.gorm \
Resources/FTP_icon_gs.tif \
Resources/arrow_left.tiff \
Resources/arrow_right.tiff \
Resources/FTP_icon_gs.tif
Resources/arrow_right.tiff
#
......@@ -34,22 +44,24 @@ Resources/FTP_icon_gs.tif
#
FTP_HEADER_FILES = \
AppController.h \
ftpclient.h \
localclient.h \
fileTable.h \
client.h \
fileElement.h \
client.h
fileTable.h \
ftpclient.h \
GetNameController.h \
localclient.h
#
# Class files
# Objective-C Class files
#
FTP_OBJC_FILES = \
AppController.m \
ftpclient.m \
localclient.m \
fileTable.m \
client.m \
fileElement.m \
client.m
fileTable.m \
ftpclient.m \
GetNameController.m \
localclient.m
#
# Other sources
......
/* -*- mode: objc -*-
Project: FTP
Copyright (C) 2013-2016 Free Software Foundation
Author: Riccardo Mottola
Created: 2013-06-05
Controller class to get an new name from the user in a panel dialog.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#import <Foundation/Foundation.h>
#if !defined (GNUSTEP) && (MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_4)
#ifndef NSInteger
#define NSInteger int
#endif
#ifndef NSUInteger
#define NSUInteger unsigned
#endif
#endif
@class NSPanel, NSTextField;
@interface GetNameController : NSObject
{
IBOutlet NSPanel *panel;
IBOutlet NSTextField *textField;
IBOutlet NSTextField *messageField;
IBOutlet NSTextField *labelField;
IBOutlet NSButton *cancelButton;
IBOutlet NSButton *okButton;
NSInteger returnCode;
}
-(NSInteger)runAsModal;
-(void)setTitle:(NSString *)title;
-(void)setMessage:(NSString *)desc;
-(void)setName:(NSString *)name;
-(NSString *)name;
-(IBAction)okPressed:(id)sender;
-(IBAction)cancelPressed:(id)sender;
@end
/* -*- mode: objc -*-
Project: FTP
Copyright (C) 2013-2016 Free Software Foundation
Author: Riccardo Mottola
Created: 2013-06-05
Controller class to get an new name from the user in a panel dialog.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#import <Foundation/Foundation.h>
#import <AppKit/AppKit.h>
#import "GetNameController.h"
@implementation GetNameController : NSObject
- (id)init
{
if ((self = [super init]))
{
[NSBundle loadNibNamed: @"GetName" owner: self];
[panel setDelegate: self];
[labelField setStringValue:NSLocalizedString(@"Name:", @"Name:")];
[cancelButton setTitle:NSLocalizedString(@"Cancel", @"Cancel")];
[okButton setTitle:NSLocalizedString(@"Ok", @"Ok")];
}
return self;
}
-(NSInteger)runAsModal
{
[panel makeFirstResponder: textField];
returnCode = NSAlertErrorReturn;
[NSApp runModalForWindow: panel];
return returnCode;
}
-(void)setTitle:(NSString *)title
{
[panel setTitle:title];
}
-(void)setMessage:(NSString *)desc
{
[messageField setStringValue:desc];
}
-(void)setName:(NSString *)name
{
[textField setStringValue:name];
}
-(NSString *)name;
{
return [textField stringValue];
}
-(IBAction)okPressed:(id)sender
{
returnCode = NSAlertDefaultReturn;
[panel performClose:self];
}
-(IBAction)cancelPressed:(id)sender
{
returnCode = NSAlertAlternateReturn;
[panel performClose:self];
}
- (void)windowWillClose:(NSNotification *)aNotification
{
[NSApp stopModalWithCode: returnCode];
}
@end
......@@ -7,7 +7,9 @@
<key>CFBundleExecutable</key>
<string>FTP</string>
<key>CFBundleIconFile</key>
<string>FTP_icon_osx.icns</string>
<string>FTP_icon_osx</string>
<key>CFBundleIdentifier</key>
<string>org.gap.FTP</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
......@@ -15,7 +17,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>0.3</string>
<string>0.6</string>
<key>NSMainNibFile</key>
<string>MainMenu</string>
<key>NSPrincipalClass</key>
......
NOTES
To compile on windows, please add the following to your GNUmakefile.preamble
ADDITIONAL_GUI_LIBS += -lwinmm
No specific notes for Windows compilation currently.
/* menu */
"Local" = "Local";
"Remote" = "Remote";
"Rename..." = "Rename...";
"New Folder..." = "New Folder...";
"Delete" = "Delete";
"Refresh" = "Refresh";
/* Connection panel */
"Server Address and Port" = "Server Address and Port";
"Account" = "Account";
"Connect" = "Connect";
"Anonymous" = "Anonymous";
"Connect (action)" = "Connect";
/* main window */
"local view" = "Local View";
"remote view" = "Remote View";
"Name" = "Name";
/* Log */
"Connection Log" = "Connection Log";
/* Get Name */
"Name:" = "Name:";
"Cancel" = "Cancel";
"Ok" = "Ok";
\ No newline at end of file
......@@ -8,6 +8,12 @@
"uploadButton:",
"localDelete:",
"remoteDelete:",
"localRename:",
"remoteRename:",
"localNewFolder:",
"remoteNewFolder:",
"localRefresh:",
"remoteRefresh:",
"disconnect:",
"showPrefPanel:",
"prefSave:",
......@@ -55,10 +61,16 @@
"downloadButton:",
"listDoubleClick:",
"localDelete:",
"localNewFolder:",
"localRefresh:",
"localRename:",
"orderFrontFontPanel:",
"prefCancel:",
"prefSave:",
"remoteDelete:",
"remoteNewFolder:",
"remoteRefresh:",
"remoteRename:",
"setServer:",
"showConnPanel:",
"showFtpLog:",
......
/* menu */
"Local" = "Lokal";
"Remote" = "Fern";
"Rename..." = "Umbenennen...";
"New Folder..." = "Neuer Ordner...";
"Delete" = "Delete";
"Refresh" = "Aktualisieren";
/* Connection panel */
"Server Address and Port" = "Server Addresse und Port";
"Account" = "Konto";
"Connect" = "Verbindung";
"Anonymous" = "Anonym";
"Connect (action)" = "Verbinde";
/* Log */
"Connection Log" = "Verbindungslog";
/* Get Name */
"Name:" = "Name:";
"Cancel" = "Abbrechen";
"Ok" = "Ok";
\ No newline at end of file
{
"## Comment" = "Do NOT change this file, Gorm maintains it";
FirstResponder = {
Actions = (
"cancelPressed:",
"okPressed:"
);
Super = NSObject;
};
GetNameController = {
Actions = (
"okPressed:",
"cancelPressed:"
);
Outlets = (
panel,
textField,
messageField
);
Super = NSObject;
};
}
\ No newline at end of file
{
IBClasses = (
{CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
{
ACTIONS = {cancelPressed = id; okPressed = id; };
CLASS = GetNameController;
LANGUAGE = ObjC;
OUTLETS = {
cancelButton = NSButton;
labelField = NSTextField;
messageField = NSTextField;
okButton = NSButton;
panel = NSPanel;
textField = NSTextField;
};
SUPERCLASS = NSObject;
}
);
IBVersion = 1;
}
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IBDocumentLocation</key>
<string>168 85 356 240 0 0 1440 938 </string>
<key>IBFramework Version</key>
<string>489.0</string>
<key>IBOldestOS</key>
<integer>1</integer>
<key>IBOpenObjects</key>
<array>
<integer>6</integer>
</array>
<key>IBSystem Version</key>
<string>8S165</string>
</dict>
</plist>
/* menu */
"Local" = "Local";
"Remote" = "Remote";
"Rename..." = "Rename...";
"New Folder..." = "New Folder...";
"Delete" = "Delete";
"Refresh" = "Refresh";
/* Connection panel */
"Server Address and Port" = "Indirizzo server e porta";
"Account" = "Credenziali";
"Connect" = "Connessione";
"Anonymous" = "Anonimo";
"Connect (action)" = "Connetti";
/* main window */
"local view" = "Vista Locale";
"remote view" = "Vista Remota";
"Name" = "Nome";
/* Log */
"Connection Log" = "Log Connessione";
/* Get Name */
"Name:" = "Nome:";
"Cancel" = "Annulla";
"Ok" = "Ok";
\ No newline at end of file
......@@ -10,9 +10,15 @@
downloadButton = id;
listDoubleClick = id;
localDelete = id;
localNewFolder = id;
localRefresh = id;
localRename = id;
prefCancel = id;
prefSave = id;
remoteDelete = id;
remoteNewFolder = id;
remoteRefresh = id;
remoteRename = id;
showConnPanel = id;
showFtpLog = id;
showPrefPanel = id;
......@@ -23,10 +29,14 @@
OUTLETS = {
buttDownload = NSButton;
buttUpload = NSButton;
connAccountBox = NSBox;
connAddress = NSTextField;
connAnon = NSButton;
connCancelButt = NSButton;
connConnectButt = NSButton;
connPass = NSTextField;
connPort = NSTextField;
connServerBox = NSBox;
connUser = NSTextField;
connectPanel = NSPanel;
infoMessage = NSTextField;
......@@ -36,9 +46,12 @@
localView = NSTableView;
logTextField = NSTextView;
logWin = NSWindow;
mainMenu = NSMenu;
mainWin = NSWindow;
portType = NSMatrix;
prefCancelButt = NSButton;
prefPanel = NSPanel;
prefSaveButt = NSButton;
progBar = NSProgressIndicator;
remotePath = NSPopUpButton;
remoteView = NSTableView;
......
......@@ -3,11 +3,11 @@
<plist version="1.0">
<dict>
<key>IBDocumentLocation</key>
<string>68 90 356 240 0 0 1440 938 </string>
<string>68 91 356 240 0 0 1440 938 </string>
<key>IBEditorPositions</key>
<dict>
<key>29</key>
<string>759 492 369 44 0 0 1440 938 </string>
<string>194 678 369 44 0 0 1440 938 </string>
</dict>
<key>IBFramework Version</key>
<string>489.0</string>
......@@ -15,11 +15,11 @@
<integer>1</integer>
<key>IBOpenObjects</key>
<array>
<integer>29</integer>
<integer>274</integer>
<integer>218</integer>
<integer>21</integer>
<integer>206</integer>
<integer>29</integer>
<integer>274</integer>
</array>
<key>IBSystem Version</key>
<string>8S165</string>
......
/*
/* -*- mode: objc -*-
Project: FTP
Copyright (C) 2005 Free Software Foundation
Copyright (C) 2005-2016 Free Software Foundation
Author: Riccardo Mottola
......@@ -29,7 +30,7 @@
#import "fileElement.h"
/**
* Clas that represents an object to access files, be them remote or local.
* Class that represents an object to access files, be them remote or local.
* It must be subclassed to be useful. This object holds porperties genrealy
* valid for both local and remote instances as the working directory and the
* home directory of the user. It also defines common methods for creating,
......@@ -37,30 +38,32 @@
*/
@interface Client : NSObject
{
id controller;
NSString *workingDir;
NSString *homeDir;
id controller;
NSString *workingDir;
NSString *homeDir;
}
- (id)init;
- (id)initWithController:(id)cont;
/** returns the current working directory */
- (NSString *)workingDir;
- (bycopy NSString *)workingDir;
- (void)setWorkingDirWithCString:(char *)dir;
- (void)setWorkingDir:(NSString *)dir;
- (void)changeWorkingDir:(NSString *)dir;
- (BOOL)createNewDir:(NSString *)dir;
- (void)deleteFile:(FileElement *)file beingAt:(int)depth;
- (BOOL)deleteFile:(FileElement *)file beingAt:(int)depth;
- (BOOL)renameFile:(FileElement *)file to:(NSString *)name;
- (NSArray *)workDirSplit;
- (bycopy NSArray *)workDirSplit;
/** returns an array with the directory listing */
- (NSArray *)dirContents;
- (bycopy NSArray *)dirContents;
/** returns the current home directory */
- (NSString *)homeDir;
- (bycopy NSString *)homeDir;
@end
/*
Project: FTP
Copyright (C) 2005-2007 Free Software Foundation
Copyright (C) 2005-2016 Free Software Foundation
Author: Riccardo Mottola
......@@ -32,20 +32,20 @@
/* we set possibly unused stuff to NULL */
- (id)init
{
if (!(self =[super init]))
return nil;
controller = nil;
return self;
if (!(self = [super init]))
return nil;
controller = nil;
return self;
}
- (id)initWithController:(id)cont
{
if (!(self =[super init]))
return nil;
controller = cont;
return self;
if (!(self = [super init]))
return nil;
controller = cont;
return self;
}
- (void)dealloc
......@@ -59,12 +59,12 @@
[super dealloc];
}
- (NSString *)workingDir
- (bycopy NSString *)workingDir
{
return workingDir;
}
- (NSString *)homeDir
- (bycopy NSString *)homeDir
{
return homeDir;
}
......@@ -83,42 +83,48 @@
- (void)changeWorkingDir:(NSString *)dir
{
[self setWorkingDir:dir];
[self setWorkingDir:dir];
}
- (NSArray *)workDirSplit
- (bycopy NSArray *)workDirSplit
{
NSMutableArray *reversedList;
NSArray *list;
NSEnumerator *en;
NSString *currElement;
list = [workingDir pathComponents];
reversedList = [NSMutableArray arrayWithCapacity:[list count]];
en = [list reverseObjectEnumerator];
while ((currElement = [en nextObject]))
[reversedList addObject:currElement];
return [reversedList retain];
NSMutableArray *reversedList;
NSArray *list;
NSEnumerator *en;
NSString *currElement;
list = [workingDir pathComponents];
reversedList = [NSMutableArray arrayWithCapacity:[list count]];
en = [list reverseObjectEnumerator];
while ((currElement = [en nextObject]))
[reversedList addObject:currElement];
return reversedList;
}
- (NSArray *)dirContents
- (bycopy NSArray *)dirContents
{
NSLog(@"override me! dirContents superclass method");
return nil;
NSLog(@"override me! dirContents superclass method");
return nil;
}
- (BOOL)createNewDir:(NSString *)dir
{
NSLog(@"override me! createNewDir superclass method");
return NO;
NSLog(@"override me! createNewDir superclass method");
return NO;
}
- (void)deleteFile:(FileElement *)file beingAt:(int)depth
- (BOOL)deleteFile:(FileElement *)file beingAt:(int)depth
{
NSLog(@"override me! deleteFile superclass method");
NSLog(@"override me! deleteFile superclass method");
return NO;
}
- (BOOL)renameFile:(FileElement *)file to:(NSString *)name
{
NSLog(@"override me! renameFile superclass method");
return NO;
}
@end
......@@ -17,5 +17,5 @@ ease working in both environments.
.SH AUTHOR
FTP was written by Riccardo Mottola.
.PP
This manual page was written by G\[:u]rkan Seng\[:u]n <gurkan@phys.ethz.ch>,
This manual page was written by G\[:u]rkan Myczko <gurkan@phys.ethz.ch>,
for the Debian project (but may be used by others).
ftp.app (0.6-1) unstable; urgency=medium
* Team upload.
[ Gürkan Myczko ]