12004-12-09 Fabien VALLON <fabien.vallon@fr.alcove.com> 2 3 * PXAppDelegate: add color Palettes subdirectory creation 4 * PXPaletteSwitcher : Clean up remove harcode path 5 62004-12-07 Fabien VALLON <fabien.vallon@fr.alcove.com> 7 8 * PXAboutController.m : init make it a real singleton. 9 Change the way of loading the nib. It should probably work with OSX (TODO: test) 10 * PXAboutController.m : Clean Up 11 * PXAppDelegate.m : _createApplicationSupportSubdirectories: new private method. 12 Create Directory structure to store Backgrounds & ColorsPalettes 13 applicationDidFinishLaunching: : Call _createApplicationSupportSubdirectories 14 * PXCanvasController.m : awakeFromNib : setting zoomPercentageBox ( workaround ) 15 - backgroundController changes : call the accessor method to get the panel. 16 - showBackgroundInfo: Ditto 17 - import math.h & NSArray_DeepMutableCopy 18 - toolbar:itemForItemIdentifier: willBeInsertedIntoToolbar: : Remove unneed condition 19 ( Localizable.strings was added into GNUMakefile ) 20 - setMainBackground: remove condition ( ifdef __COCOA__ ) 21 - setAlternateBackground : Ditto 22 - prompter:aPrompter didFinishWithSize: Ditto 23 * PXBackgroundController.m : 24 - Move the class as NSObject subclass 25 - add BACKGROUNDPRESET as static NSString (this the path form User library Domain) for Cocoa / GNUstep 26 - defaultsBackgrounds is now implement as static function 27 - Add Private Categories : with _populatePopup: withDefaultBackgroundsUsingSelectionAction: , 28 _populatePopup: withUserBackgroundsUsingSelectionAction:; _populateMenu: selectionAction:, _populateMenus; 29 _setUsesAlternateBackground:,_setDefaultBackgroundsFor:,_setMainBackground:,_setAlternateBackground: methods. 30 _populateMenus* methods : Add target for items ( don't know why it is not need for Cocoa ) 31 _populateMenus* methods : Remove harcode path, use of NSSearchPathForDirectoriesInDomains and thed defined 32 BACKGROUNDPRESET string instead 33 - Split the main implementation : add NamePrompterDelegate Categories to help the reading 34 prompter didFinishWithName context: Replace hardcode paths 35 - init: use NSBundle to load the nib, clean up 36 - deleteCurrentConfiguration : Remove hardcode paths, 37 - saveCurrentConfiguration : Ditto 38 - Add types for parameters and return values for most of the methods 39 - Add backgroundPanel: as accessor methods 40 * PXCanvasView.m : include math.h 41 - setupScaleTransform: Workaround , Force zoomPercentage to 600 for GNUstep 42 - mouseDown: forward event to NSApp keyWindow for GNUstep 43 * PXCheckeredBackground.m : drawRect: use backWell color 44 * PXLassoTool.m : import NSArray_DeepMutableCopy 45 * PXLayerController.m : selectRow: workaround for selectRowIndexes: (implementation seems differents) 46 * PXLayerDetailsView.m: import PXLayerDetailsSubView, initWithLayer: workaround to 47 include PXLayerDetailsSubView 48 - updatePreview:notification condition for isHiden 49 - shouldRedraw : condition for NSIsEmptyRect (workaround) 50 - isHidden: always return NO for GNUstep 51 - setHidden: unused for GNUstep 52 * PXMonotoneBackground.m : drawRect: use [backWell color] and [colorWell color] 53 * PXMonotoneBackground.m : Ditto 54 * PXNamePrompter.m: This class is now a NSObject subclass 55 init: use NSBundle to load NibNamed 56 - namePrompterPanel 57 * PXPaletteSwitcher.m: 58 - add COLORPALETTESPRESET static NSString (this the path form User library Domain) for Cocoa / GNUstep 59 - populatePopup:aPopup withUserPalettesUsingSelectionAction: rewrite hardcode path 60 - TODO finish !!! 61 * Add type for parameters and return value in lot of classes & clean up the coding style. 62 * Add PXPrefrences gorm file 63 * Add PXLayerDetailView gorm file 64 * Switch to NSObject subclass for PXBackgroundController.nib & PXNamePrompter.nib ( for English/French) 65 * Update lot of gorm files & some nibs (switch NSWindowController => NSObject) stuff 66 * PXPaletteManager.h : move <Cocoa/Cocoa.h> into <AppKit/AppKit.h> 67 68 69 702004-10-06 Fabien VALLON <fabien@sonappart.net> 71 72 * PXCanvasController.m : change panel/palettes methods call, remove zoom view for GNUstep, 73 call setTarget: method for toolbaritems, small change for labels (GNUstep only)... 74 remove debug messages 75 76 * PXCanvas: clean up 77 78 * PXToolPaletteController, PXColorController, PXInfoPanelController and 79 PXToolPropertiesController are cleaner. 80 They use all the same way of implement it : singleton, put some method 81 private, subclass of NSObject... 82 I use sharedColorPanel, sharedToolPanel, sharedProperties.. to call the 83 singleton, and colorPanel, toolPanel for accessors methods. 84 I also remove NSUserDefaults stuff that manage isOpen (or not) panel) see 85 PXAppDelegate 86 87 * PXAppDelegate : Clean the startup and the terminate application delegate 88 methods, specially to manage / open (or not) the {color,info,Tool..} 89 palettes. That will solve some bugs (some panel was open & close 90 immediatly) and remove some code from *PaletteController(s)... 91 92 * PXToolMatrix : update method call for palettes/panels ... 93 94 * KTMatrix [imp]/KTMatrix.m : isEqual: use NO instead of false 95 96 * Update most of the gorms files ... 97 98 * Add PixenINfo.plist 99 100 1012004-09-30 Fabien VALLON <fabien@sonappart.net> 102 103 * *Update Headers for correct compilation on GNUstep remove lot of conditionals, replace __APPLE__ by 104 __COCOA__: UKUpdateChecker.h,UKPrefsPanel.h,UKFeedbackProvider.h,SBCenteringClipView.h, 105 PXZoomTool.h,PXWelcomeController.h,PXToolPropertiesController.h,PXToolPaletteController.h,PXToolMatrix.h, 106 PXTool.h,PXScaleAlgorithm.h,PXPreviewResizeSizeView.h,PXPreviewController.h,PXPoint.h,PXPaletteSwitcher.h, 107 PXPalette.h,PXNamePrompter.h,PXMonotoneBackground.h,PXLayerDetailsView.h,PXLayer.h,PXImageView.h,PXImageSizePrompter.h, 108 PXGradientBuilderController.h,PXFilterController.h,PXFilter.h,PXEmptyPropertiesView.h,PXColorWellCell.h, 109 ,PXColorWell.h,PXColorPaletteMatrix.h,PXColorPaletteController.h,PXCanvasResizePrompter.h,PXCanvasController.h, 110 PXCanvas.h,PXBackgroundController.h,PXBackground.h,PXAboutPanel.h,MyDocument.h 111 112 * PXToolSwitcher.h : clean up: includes,move _color,_tool and _lastTool as private ivars 113 add typing for most methods (code is quite hard to read without declaration of the type of parameters and the type 114 of the return) 115 116 * Update includes 117 main.m : use NSApplication.h instead of AppKit.h 118 119 * use __COCOA__ instead of __APPLE__ , add some warning for GNUstep 120 PXToolPropertiesController.m,PXScaleController.m,PXPreviewResizeSizeView.m,PXPixel.,m,PXHotkeyFormatter.m, 121 PXGrid.m,PXFilterController.m,PXCrosshair.m,PXColorPaletteController.m,PXCanvasController.m, 122 PXPreviewController.m,PXCanvas.m,PXBackgroundController.m,PXAppDelegate.m,PXAboutController.m, 123 MyDocument.m,KTMatrix.m, 124 125 * PXToolSwitcher.m : rename with color,tools,lastools (private ivars), add some comments 126 127 * new gorm files : PXRectangleToolPropertesView, PXAbout PXEllipseToolPropertiesView,PXMonotoneBackgroundConfigurator; 128 129 * Update MainMenu gorm and PXToolPalette gorm file 130 131 * Add Pixen.tiff 132 133 * Update GNUMakefile 134 1352004-09-28 Fabien <fabien@sonappart.net> 136 137 * New gorm files 138 * PXAppDelegate.h : Clean up header 139 * PXAppDelegate.m : Clean up 140 - move _checkForUncleanCrash into private category, use block (gcc-2.95 should not like 141 declarations wich is not at the beginning of a block), use 2 ( in a condition when assigning a var 142 - Group Delegate methods & Actions methods 143 - remove init and move it to applicationDidFinishLaunching: 144 * Bug repport : PXWelcomeController could be call twice 145 146 147 148 1492004-09-03 Fabien VALLON <fabien@sonappart.net> 150 151 * Add GNUmakefile 152 * MyDocument.h,PXAppDelegate,PXBackgroundController.h, PXCanvas.h 153 PXCanvasController.h, PXCanvasResizePrompter.h , PXColorPaletteController.h 154 PXColorPaletteMatrix.h, PXColorWell.h, PXColorWellCell.h,PXGradientBuilderController.h 155 PXImageSizePrompter.h, PXImageView.h,PXLayer.h,PXLayerDetailsView.h,PXMonotoneBackground.h 156 PXNamePrompter.h,PXPalette.h,PXPaletteSwitcher.h,PXPoint.h, 157 PXPreviewController.h, PXPreviewResizeSizeView.h,PXScaleAlgorithm.h 158 PXToolMatrix.h,PXToolPaletteController.h,PXToolSwitcher.h,PXWelcomeController.h 159 PXZoomTool.h,UKFeedbackProvider.h,UKPrefsPanel.h,UKUpdateChecker.h : 160 Use <AppKit/AppKit.h> instead of <Cocoa.Cocoa.h> 161 162 * MyDocument.m : include tgmath (not sure) & NSAlert.h 163 * PXAppDelegate.m: include NSAlert 164 * PXAboutController.m : include NSNib 165 * PXAboutPanel.h : include NSPanel 166 * PXCrosshair.m : include NSGraphicsContext NSBezierPath NSColor 167 * PXEmptyPropertiesView.h : include PXToolPropertiesView 168 * PXGrid.m: include NSGraphicsContext NSBezierPath 169 * PXLinearTool.m: in objC BOOL are YES or NO (not TRUE/FALSE) 170 * PXPixel.m: include GNUstepGUI/GSFusedSilica.h for extention 171 * PXPreviewResizeSizeView.h : NSShadow not implemented in GNUstep 172 * UKFeedbackProvider.{m,h}: Do not use NSMailDelivery.h (what is it ? ) 173 * Add English.lproj/MainMenu.gorm English.lproj/MyDocument.gorm English.lproj/PXBackgroundController.gorm English.lproj/PXColorPalette.gorm English.lproj/PXDiscoverPixen.gorm 174English.lproj/PXGradientBuilder.gorm English.lproj/PXGridSettingsPrompter.gorm English.lproj/PXInfoPanel.gorm English.lproj/PXLayerController.gorm English.lproj/PXToolPalette.gorm English.lproj/PXToolProperties.gorm 175