12004-12-30 Quentin Mathe <qmathe@club-internet.fr> 2 3 * Source/GSToolbarView.m: Modified to be more compliant with GNUstep 4 coding standards. 5 (-draggingEntered:): 6 (-draggingUpdated:): Prevents the user to customize the toolbar when 7 -allowsUserCustomization returns NO (bug #11393). 8 * Source/NSToolbarItem.m: Modified to be more compliant with GNUstep 9 coding standards. 10 (-mouseDown:): Prevents the user to customize the toolbar when 11 -allowsUserCustomization returns NO (bug #11393). 12 132004-12-23 05:38 Gregory John Casamento <greg_casamento@yahoo.com> 14 15 * Images/MagnifyGlass.tiff: Added. The NSColorPanel class uses 16 this image. 17 182004-12-13 Quentin Mathe <qmathe@club-internet.fr> 19 20 * Source/NSComboBoxCell.m: Modified the code to be clearer 21 Renamed internal class GSFirstMouseTableView to GSComboBoxTableView 22 Removed GSComboWindow _localSelection ivar which is not needed, because 23 the user selection is now handled in -clickItem and not in 24 -tableViewSelectionDidChange: which is now reserved to the internal (aka 25 local) selection support. 26 (-[GSComboWindow selectItem:]): Renamed the method name to -clickItem: 27 (-[GSComboWindow clickItem:]): Reworked to the method to be used by the 28 NSTableView (or NSBrowser) action to track the user clicks. 29 (-[GSComboWindow validateSelection:]): Rewritten the method to handle 30 itself the selection, the method updates now the cell object value and 31 sends the action bound to the cell. 32 (-selectItemAtIndex:): Updated the method to match the Cocoa 33 specification which states that this method should adjust the selection 34 in the combo box list but not simulate a user click. 35 362004-12-09 Fred Kiefer <FredKiefer@gmx.de> 37 38 * Source/NSCursor.m (getStandardCursor()): If not standard cursor 39 is available, try an image cursor with an image of the same name. 40 * Images/common_OpenHandCursor.tiff 41 * Images/common_ClosedHandCursor.tiff: New cursor image files by 42 Fabien Vallon <fabien@sonappart.net>. 43 * Images/GNUmakefile: Install the new files. 44 * Images/nsmapping.strings: Register the new cursor files for the 45 names used in NSCursor.m. 46 472004-11-11 Adam Fedor <fedor@gnu.org> 48 49 * Source/GSDragView.m ([GSDragView -_setCursor]): Initialize variable. 50 * Source/NSMatrix.m: Rename vaguely-named macro. 51 (Based on Patch #3499 from Patrick Middleton). 52 532004-11-11 Adam Fedor <fedor@gnu.org> 54 55 * Version: Add numeric value for runtime versioning. 56 * Souce/GNUmakeifle: Add resource set install. 57 * Source/GNUmakefile.postamble (Info-gnustep.plist): New target. 58 592004-11-11 Adam Fedor <fedor@gnu.org> 60 61 * Model/GMAppKit.m ([NSPopUpButton -encodeWithModelArchiver:]): 62 More robust method for getting title (works on OPENSTEP, from 63 George Fleischmann). 64 652004-11-11 Fred Kiefer <FredKiefer@gmx.de> 66 67 * Headers/AppKit/NSMenu.h 68 * Source/NSMenu.m (-setMain:): New internal method to set the main 69 menu of an application. Uses code from [NSApplication 70 setMainMenu:] plus a display call for the new main menu. 71 * Source/NSApplication.m (-setMainMenu:): Use the new method on 72 NSMenu to flag a menu as main and cleaned up the logic. 73 742004-11-11 15:08 Alexander Malmberg <alexander@malmberg.org> 75 76 * Source/NSCell.m (-_setupTextWithFrame:inView:editor:): Reduce the 77 maximum size. Explicitly set the size of the text view, and make it 78 not resizable. 79 * Source/NSLayoutManager.m (-rectArrayForGlyphRange: 80 withinSelectedGlyphRange:inTextContainer:rectCount:): Fix check for 81 whether the starting index is inside a line frag rect. 82 * Source/NSTextView.m (-sizeToFit): Don't increase the size if we 83 have no inset. 84 (-updateInsertionPointStateAndRestartTimer:): Force the insertion 85 point rect to be inside the text view. 86 (-scrollRangeToVisible:): If we are a non-rich-text field editor, 87 adjust the scrolling to make the auto-scrolling more useful. 88 89 Fixes bug #9279. 90 912004-11-10 Matt Rice <ratmice@yahoo.com> 92 93 * Headers/Additions/GNUstepGUI/GSDisplayServer.h (-iconSize): New method 94 declaration. 95 (-iconTileImage): Ditto. 96 * Source/GSDisplayServer.m (-resolutionForScreen:): Fix Typo in Docs. 97 (-boundsForScreen:): Ditto. 98 (-windowBounds:): Ditto. 99 (-iconSize): Implement new method. 100 (-iconTileImage): Ditto. 101 * Source/NSApplication.m (NSAppIconView): Remove 102 useWindowmakerIconBackground variable. 103 (scaledIconSizeForSize): New function. 104 ([NSAppIconView +initialize]): Dont set a default image here. Remove 105 usage of GSUseWindowmakerIconBackground default. Use backend tile and 106 scale it to the backend icon size. 107 ([NSAppIconView -drawRect:]): Remove usage of 108 useWindowmakerIconBackground. Draw cells with the backend icon size. 109 ([NSAppIconView -setImage:]): Set the image to a scaled copy. 110 setNeedsDisplay instead of drawing directly. 111 ([NSApplication -_appIconInit]): Use backend icon size. 112 * Source/NSWindow.m: Remove useWindowmakerIconBackground variable. 113 (scaledIconSizeForSize): New function. 114 ([NSMiniWindowView +initialize]): Remove usage of 115 GSUseWindowmakerIconBackground default. Use backend tile image and scale 116 it to the backend icon size. 117 ([NSMiniWindowView -drawRect:]): Remove usage of 118 useWindowmakerIconBackground. Draw cells with the backend iconSize. 119 ([NSMiniWindowView -setImage:]): Set the image to a scaled copy. 120 setNeedsDisplay instead of drawing directly. 121 ([NSMiniWindowView -setTitle:]): setNeedsDisplay instead of drawing 122 directly. 123 ([NSWindow -miniaturize:]): Use backend icon size. 124 * Documentation/GuiUser/DefaultsSummary.gsdoc: Remove docs for 125 GSUseWindowmakerIconBackground. 126 1272004-11-09 Adrian Robert <arobert@cogsci.ucsd.edu> 128 129 * Source/NSTabView.m (-insertTabViewItem:): Update display. 130 (-removeTabViewItem:): Same. 131 (-selectTabViewItem:): Fix erroneous comment. 132 (-selectTabViewItemAtIndex:) Check index in range. 133 (-drawRect:) Don't try to select first tab if there are no tabs. 134 * Source/NSColorList.m (-initWithNameFromFile:) Treat filename 135 given as full path, not directory (but support this previous 136 behavior in case apps are relying on it). Also, if fail to read 137 file as an archive, try text format. 138 (+loadAvavailableColorLists:) Adjust code for change to 139 -initWithName:fromFile:. 140 (-_readTextColorFile:) New utility method to support 141 -initWithNameFromFile:. 142 * Headers/AppKit/NSColorList.h: Document above changes. 143 1442004-11-09 22:36 Alexander Malmberg <alexander@malmberg.org> 145 146 * Source/GSInfoPanel.m (_value_from_info_plist_for_key): Rename to 147 value_from_info_plist_for_key. 148 (_nil_or_not_of_class): Rename to nil_or_not_of_class. 149 Update callers. 150 (-initWithDictionary:): Fix comment typo. 151 * Source/NSAlert.m: Whitespace cleanups. 152 * Source/NSPrinter.m: Whitespace cleanups. 153 1542004-11-09 22:08 Alexander Malmberg <alexander@malmberg.org> 155 156 * Source/GSHorizontalTypesetter.m (-layoutLineNewParagraph:): 157 Implement NSLineBreakByClipping. Set outside_line_frag and dont_show 158 attributes for every glyph. 159 1602004-11-09 18:55 Alexander Malmberg <alexander@malmberg.org> 161 162 * Source/NSPasteboard.m (+_pbs): Give gpbs a --GSStartupNotification 163 argument. Listen for the notification and connect immediately if it 164 arrives. Clarify the user message. Fixes bug #10876. 165 1662004-11-08 Quentin Mathe <qmathe@club-internet.fr> 167 168 * Source/NSButtonCell.m (-setImage:): Added overriden NSCell method in 169 order to have the cell switched to an image cell (with the NSImageOnly 170 position) when you call -setImage:. With the previous commit, when the 171 cell is a text cell and you call -setImagePosition: after -setImage:, 172 the cell image is released. 173 1742004-11-07 Quentin Mathe <qmathe@club-internet.fr> 175 176 * Source/NSCell.m (-type): Now returns NSNullCellType when the image 177 value is nil and the cell type is NSImageCellType, in order to match the 178 documented Cocoa behavior. 179 * Source/NSButtonCell.m (-setImagePosition:): Finished to commit the 180 patch (not fully applied) associated with the revision 1.90, the bug 181 #10595 is now corrected. 182 1832004-11-07 Quentin Mathe <qmathe@club-internet.fr> 184 185 * Source/NSWindow.m (-constrainFrameRect:toScreen:): Modified the method 186 to match the specification and the constraints used when the user 187 moves/resizes the window with the cursor. That makes possible to have 188 resizable windows which extends below the bottom of the screen as long 189 as you can move them up to take back the resize control on the screen. 190 (-setFrame:display:): Modified the method to remove the possibility to 191 have the window title bar positioned over the top of the screen when 192 using -gui window decorations. 193 1942004-11-06 08:34 Gregory John Casamento <greg_casamento@yahoo.com> 195 196 * Source/GSNibTemplates.m: Removed nibInstantiate. This method 197 should only be defined and used inside the GUI builder application 198 according to specs. 199 2002004-11-04 Adrian Robert <arobert@cogsci.ucsd.edu> 201 202 * Documentation/GuiUser/KeyboardSetup.gsdoc: Describe the new 203 "GSModifiersAreKeys" default. 204 2052004-10-31 12:04 Gregory John Casamento <greg_casamento@yahoo.com> 206 207 * GNUmakefile.postamble: Removed the after-clean clean section 208 which is attempting to remove directories which existed prior to 209 the change which moved all of the headers. While this is not 210 causing an issue on Linux, some other environments fail when 211 attempting to "make distclean". 212 2132004-10-30 Alex Perez <aperez@student.santarosa.edu> 214 215 * Headers/AppKit/NSImage.h (+_standardImageWithName:): New method. 216 * Source/NSImage.m (+_standardImageWithName:): New method. 217 * Source/NSWorkspace.m (_getImageForName:alternate:): Remove. Update 218 callers to use +_standardImageWithName: instead. 219 2202004-10-25 Quentin Mathe <qmathe@club-internet.fr> 221 222 * Source/NSWorkspace.m: Moved the code which looks for the application 223 icons in the method -iconForFile: to the method -appIconForApp:. As 224 a side effect, it fix the bug introduced by my last commit which caused 225 a nil exception when the application info.plist contains no NSIcon 226 entry. 227 2282004-10-24 Quentin Mathe <qmathe@club-internet.fr> 229 230 * Source/NSWorkspace.m (-appIconForApp:): Fixed code to be more 231 generic by using -[NSBundle pathForImageResource:]. Now the method 232 works with NSIcon value not path based like "MyApplication.tiff". 233 2342004-10-22 08:26 Gregory John Casamento <greg_casamento@yahoo.com> 235 236 * Source/NSStepperCell.m: Corrected issue with [NSStepperCell 237 initWithCoder:] for encoding issue with gcc 3.4. 238 * Header/AppKit/NSStepperCell.h: Took out defines which use 239 the bitfields in NSCell.h. These now are BOOL variables. 240 2412004-10-21 Fred Kiefer <FredKiefer@gmx.de> 242 243 * Source/NSResponder.m (-initWithCoder:): Set missing default 244 value for menu to nil. 245 * Source/NSButtonCell.m (-initWithCoder:): Hack around Apple NIB 246 bug and decode some of the flags. 247 2482004-10-17 Gregory John Casamento <greg_casamento@yahoo.com> 249 250 * Source/NSCell.m: Added code to [NSCell initWithCoder:] which 251 properly retains the formatter and menu. 252 * Source/GSNibCompatibility.m: Changed comment. 253 * Source/NSResponder.m: Added keyed archiving implementation in 254 initWithCoder: 255 * Source/NSTextView.m: Improved implementation of keyed coding 256 for NSTextView. Also preparing to add details discovered about 257 the flag settings. 258 * Source/NSView.m: Improved NSView keyed decoding. Also made 259 sure that [super initWithCoder:] is called in that method for both 260 the keyed and non-keyed archiving (as it should be). 261 * Source/NSWindow.m: Added implementation of undo: and redo: to 262 NSWindow.m. 263 2642004-10-17 Adrian Robert <arobert@cogsci.ucsd.edu> 265 266 * Source/Functions.m (NSBestDepth): Check outarg exactMatch is 267 non-null before setting. 268 * Source/NSFont.m (getNSFont): Use defaultSize for 'fontSize' 269 args of <0 as well as ==0; documented. 270 2712004-10-11 Georg Fleischmann 272 273 * Model/GMAppKit.m [-encodeWithModelArchiver:] remove title 274 bar and resize bar from 'minSize'. 275 2762004-10-15 07:33 Matt Rice <ratmice@yahoo.com> 277 278 * Source/NSApplication.m ([NSAppIconView -mouseDown:]): order front 279 possibly obscured windows if not hidden. 280 2812004-10-11 Fred Kiefer <FredKiefer@gmx.de> 282 283 * Source/NSActionCell.m (-initWithCoder:): 284 * Source/NSBitmapImageRep.m (-initWithCoder:): 285 * Source/NSImage.m (-initWithCoder:): Implemented keyed decoding. 286 * Source/NSMatrix.m (-initWithCoder:): Don't use methods to set 287 the cell size and intercell spase, as this will change the frame. 288 * Source/NSFormCell.m (-initWithCoder:): Set the string value 289 later, as the decoding is super gets used for the title. 290 * Source/NSButtonCell.m (-initWithCoder:): Set fields only when 291 value is provided and fake NSImageLeft until flag decoding is there. 292 2932004-10-08 22:08 Chad Hardin <cehardin@mac.com> 294 295 * Printing/GNUmakefile: Now goes in and build GSCUPS (Work in progress!) 296 * Printing/GSCUPS/GNUmakefile: Added 297 * Printing/GSCUPS/GNUmakefile.postamble: Added 298 * Printing/GSCUPS/GNUmakefile.preamble: Added 299 * Printing/GSCUPS/GSCUPSPageLayout.h: Added 300 * Printing/GSCUPS/GSCUPSPageLayout.m: Added 301 * Printing/GSCUPS/GSCUPSPrincipalClass.h: Added 302 * Printing/GSCUPS/GSCUPSPrincipalClass.m: Added 303 * Printing/GSCUPS/GSCUPSPrintInfo.h: Added 304 * Printing/GSCUPS/GSCUPSPrintInfo.m: Added 305 * Printing/GSCUPS/GSCUPSPrintOperation.h: Added 306 * Printing/GSCUPS/GSCUPSPrintOperation.m: Added 307 * Printing/GSCUPS/GSCUPSPrintPanel.h: Added 308 * Printing/GSCUPS/GSCUPSPrintPanel.m: Added 309 * Printing/GSCUPS/GSCUPSPrinter.h: Added 310 * Printing/GSCUPS/GSCUPSPrinter.m: Added. GSCUPS is a work in 311 progress. Some changes still need to be made to NSPrinter, 312 NSPrinterInfo. Additionally, NSPrintPanel needs to be improved 313 to take advantage of the new features that GSCUPS will provide. 314 3152004-10-08 Fred Kiefer <FredKiefer@gmx.de> 316 317 * Source/NSFormCell.m: (-initWithCoder:): 318 * Source/NSMatrix.m: (-initWithCoder:): Implemented keyed decoding. 319 * Source/NSColor.m: (-initWithCoder:): Corrected handling of alpha 320 values (use 1 instead of 0) 321 * Source/NSCell.m: (-initWithCoder:): Added some more flag 322 handling and rearranged code. 323 3242004-10-08 09:17 Chad Hardin <cehardin@mac.com> 325 326 * Printing/GSLPR/GSLPRPageLayout.m: Fixed a #define 327 * Printing/GSLPR/GSLPRPrintInfo.m: Made it so the code calls 328 NSPrinter's printerWithName rather than GSLPR's, because the former 329 caches NSPrinter objects. 330 * Printing/GSLPR/GSLPRPrinter.h: Moved a method out of a (Private) 331 catagory and place it into the header file, directly into the class. 332 * Printing/GSLPR/GSLPRPrinter.m: Simplified the class by taking out 333 an unnecesary initializer. 334 3352004-10-08 Chad Hardin <cehardin@mac.com> 336 337 * Printing/GSLPR/GSLPRPrintOperation: Removed useless #defines and 338 did a minor format cleanup. 339 * Printing/GSLPR/GSLPRPrinter.m: Took out a few PS specific methods so 340 that they can be put into the parent class, NSPrinter. 341 * Source/NSPrinter: Received PS specific methods from GSLPRPrinter so 342 that they can be used by GSCUPS as well. Also removed some useless 343 NSDebugs. 344 3452004-10-05 Adam Fedor <fedor@gnu.org> 346 347 * Source/GNUmakefile.postamble (libgnustep-gui.def): Search for both 348 T and R symbols to work with multiple mingw/cygwin flavors. 349 3502004-10-01 Adam Fedor <fedor@gnu.org> 351 352 * Documentation/ReleaseNotes.gsdoc: Format fixes. 353 * Source/DocMakefile (before-clean, after-clean): Move obj out of the 354 way so it isn't removed when cleaning docs. 355 3562004-10-01 Adam Fedor <fedor@gnu.org> 357 358 * Source/GNUmakefile.preamble: Add filter out flags for 359 compilation of some files on Solaris. 360 3612004-09-27 17:49 Alexander Malmberg <alexander@malmberg.org> 362 363 * Source/GSServicesManager.m (NSPerformService): Check whether the 364 service provider is remote by checking the class of the object. 365 3662004-09-26 22:18 Alexander Malmberg <alexander@malmberg.org> 367 368 * Source/NSTabViewItem.m (-drawLabel:inRect:): Adjust the label 369 position to match the text height change (of 2004-09-21). 370 3712004-09-25 Matt Rice <ratmice@yahoo.com> 372 373 * Source/NSScrollView.m: Remove corner view when we have one, but no 374 vertical scroller. (Fixes #10501). 375 3762004-09-24 Adam Fedor <fedor@gnu.org> 377 378 * Documentation/GNUmakefile.postamble: Clean up files properly 379 * Source/DocMakefile: Fix up for moved files 380 * Documentation/Gui/Gui.gsdoc, 381 Documentation/GuiAdditions/GuiAdditions.gsdoc: Move up one level. 382 3832004-09-24 Fred Kiefer <FredKiefer@gmx.de> 384 385 * Headers/AppKit/NSControl.h 386 Added new MacOSX delegate methods. 387 * Source/NSControl.m (-validateEditing, -currentEditor, 388 -abortEditing, -calcSize): Implemented these methods. 389 (-mouseDown:): Use method to check if mouse is inside cell. 390 3912004-09-24 Fred Kiefer <FredKiefer@gmx.de> 392 393 * Source/NSMenuView.m (-setMenu:): Only call update when the new 394 menu is not nil. 395 * Source/NSMenu.m (-setMenuRepresentation:): Unset the menu of the 396 old view. 397 (-dealloc): Unset the menu of the view. 398 (-initWithTitle:): Use setMenuRepresentation: to set the view. 399 4002004-09-24 Adam Fedor <fedor@gnu.org> 401 402 * Version 0.9.4 403 404 * Documentation/General/OpenStepCompliance.gsdoc: Updates 405 * Documentation/ReleaseNotes.gsdoc, Documentation/news.texi: Idem. 406 4072004-09-24 Fred Kiefer <FredKiefer@gmx.de> 408 409 * Source/NSView.m (-initWithCoder:): Added keyed decoding of 410 "hidden" flag. 411 * Source/NSCell.m (-initWithCoder:): Added the first bit of 412 keyed flags decoding. Values provided by Adrian Robert 413 <arobert@cogsci.ucsd.edu>. 414 4152004-09-23 22:33 Alexander Malmberg <alexander@malmberg.org> 416 417 * Source/NSTableView.m (-mouseDown:): Fix the check that detects 418 when an unselected row is being dragged. 419 4202004-09-23 18:01 Alexander Malmberg <alexander@malmberg.org> 421 422 * Printing/GSLPR/GSLPRPrintOperation.m (-createContext): Always use 423 the path from the info dictionary if it's set. 424 4252004-09-21 23:57 Alexander Malmberg <alexander@malmberg.org> 426 427 * Source/NSCursor.m (_getStandardCursor): Rename to 428 getStandardCursor and make static and non-inlined. Update callers. 429 * Source/NSTableView.m (computePeriod): Make static. 430 4312004-09-21 18:53 Alexander Malmberg <alexander@malmberg.org> 432 433 * Source/GSFontInfo.m (-defaultLineHeightForFont): Adjust line 434 height calculation. 435 * Source/NSButtonCell.m (-drawInteriorWithFrame:inView:): Always 436 initialize imageRect and titleRect. Adjust the calculations to match 437 the new line height. 438 (-cellSize): Always initialize imageRect and titleRect. 439 * Headers/AppKit/NSCell.h (-_drawImage:inFrame:isFlipped:): Remove. 440 * Source/NSCell.m (-_drawImage:inFrame:isFlipped:): Remove. Move code 441 back ... 442 (-drawInteriorWithFrame:inView:): ... here. 443 * Source/NSToolbarItem.m (+initialize): Remove. 444 (+cellClass): Add. 445 4462004-09-18 15:15 Alexander Malmberg <alexander@malmberg.org> 447 448 * Source/GSServicesManager.m (_serviceFromAnyLocalizedTitle): Rename 449 to serviceFromAnyLocalizedTitle and make static. 450 * Source/tiff.m (NSTiffWarning): Log tiff warnings using NSDebugLLog 451 instead of NSLog. 452 4532004-09-17 Fred Kiefer <FredKiefer@gmx.de> 454 455 * Source/NSTextFieldCell.m (-initWithCoder:): Moved special 456 handling of action mask into non-keyed decoder branch. 457 4582004-09-16 Fred Kiefer <FredKiefer@gmx.de> 459 460 * Source/NSCell.m (-setStringValue:, -setFont:, -setImage:): Use 461 method call to change cell type. (Readded this change) 462 * Source/NSButtonCell.m (-setType:): Overwrite super method with 463 empty implementation. Patch by Quentin Mathe <qmathe@club-internet.fr>. 464 * Source/NSView.m (-initWithCoder:): Added the first bit of 465 keyed flags decoding. 466 4672004-09-16 Matt Rice <ratmice@yahoo.com> 468 * Source/NSTextFieldCell.m (+initialize): Bump class version. 469 (-initWithCoder:): When decoding the previous version of NSTextFieldCell 470 replace the old default _action_mask with the new default value. 471 (Fixes #9609 for .gorm files) 472 4732004-08-02 Adrian Robert <arobert@cogsci.ucsd.edu> 474 475 * Documentation/Gui/Gui.gsdoc: Update to reflect slight rearrangement 476 of material to initiate a GUI programming manual. This partially 477 reverts a change that was accidentally undone earlier. 478 4792004-09-13 Matt Rice <ratmice@yahoo.com> 480 * NSScrollView.h: Declare new ivar _cornerView and private method 481 -_synchronizeCornerAndHeaderView 482 * NSScrollView.m (tile): Call _synchronizeCornerAndHeaderView method 483 from here. Replace local cornerView variable with _cornerView. 484 (-setDocumentView:): Remove code to set the corner and header views. 485 (-_synchronizeCornerAndHeaderView): Implement new method. 486 * NSTableView.m (-setHeaderView:, -setCornerView:): call tile on the 487 scroll view we're in. Remove comments and warnings for cases which are 488 now implemented. 489 4902004-09-12 Matt Rice <ratmice@yahoo.com> 491 * Headers/AppKit/NSCell.h (-_sendsActionOn:): New method. 492 * Source/NSCell.m (-_sendsActionOn:): Implement it. 493 * Source/NSTextFieldCell.m (-initTextCell:): Change _action_mask to a 494 key press. 495 * Source/NSTableView.m (-mouseDown:): Use _sendsActionOn: to only modify 496 the object value and send the event to the cell if the cell works on 497 mouse events. (Fixes #9609). 498 4992004-09-12 Gregory John Casamento <greg_casamento@yahoo.com> 500 501 * Headers/NSDataLinkPanel.h: Added new attributes. 502 * Source/NSDataLinkPanel.m: Implemented some 503 methods. 504 * Panels/English.lproj/GSDataLinkPanel.gorm: Updated 505 graphics and added link to new ivar. 506 * Source/NSDataLink.m: 507 * Source/NSDataLinkManager.m: Code cleanup. 508 5092004-09-11 Gregory John Casamento <greg_casamento@yahoo.com> 510 511 * Source/NSCell.m: Reverted previous change. 512 The change was causing an issue where if the font was 513 changed on an NSButtonCell which contains both an image and text. 514 The title was being, incorrectly, reset to "title". 515 * Source/NSDataLinkPanel.m: Renamed the shared variable to something 516 more standard. 517 5182004-09-09 Fred Kiefer <FredKiefer@gmx.de> 519 520 * Source/NSCell.m (-setStringValue:, -setFont:, -setImage:): Use 521 method call to change cell type. 522 5232004-09-07 Adam Fedor <fedor@gnu.org> 524 525 * Source/GNUmakefile: Specify INTERFACE_VERSION explicitly. 526 527 * Documentation/ReleaseNotes.gsdoc, Documentation/news.texi: Update 528 for new release. 529 5302004-09-05 Quentin Mathe <qmathe@club-internet.fr> 531 532 * Headers/Additions/GNUstepGUI/GSToolbarView.h: Changed 533 _heightFromLayout from unsigned int to float. 534 * Source/GSToolbarView.m (-initWithFrame:displayMode:sizeMode:): Removed 535 the local variable toolbarViewHeight to use the ivar _heightFromLayout 536 in order to have a toolbar height which is not equal to zero when the 537 toolbar is empty. (the toolbar height now matches initially the height 538 associated with the selected size mode) 539 (-_handleBackViewsFrame): Added a local variable newHeight to store the 540 highest caculated height for a toolbar item in order to not have 541 _heightFromLayout set to zero when the toolbar is empty (no toolbar 542 items). 543 * Source/GSToolbar.m (-setDelegate:, -_setDelegate:broadcast:, 544 -setToolbarView:): Deactived the delegate 545 synchronization with broadcast set to NO for the method 546 -_setDelegate:broadcast: because it could produce strange segmentation 547 faults or exceptions with Cocoa applications which haven't been written 548 with this delegate synchronization behavior in mind. 549 (-setSelectedItemIdentifier:, -_build, 550 -_insertItemWithItemIdentifier:atIndex:broadcast:, 551 -_setDelegate:broadcast:): Added the nil delegate check because a nil 552 delegate could happen more easily without the delegate synchronization, 553 moreover it wasn't handled correctly before. 554 5552004-09-05 10:30 Matt Rice <ratmice@yahoo.com> 556 557 * Source/NSTableView.m: [NSTableView mouseDown:] removed code which 558 copied and subsequently DESTROYs dataCell. This was causing a 559 SIGSEGV. 560 5612004-09-05 06:23 Matt Rice <ratmice@yahoo.com> 562 563 * Source/GSServicesManager.m: new method -activateIgnoringOtherApps: 564 * Source/NSWorkspace.m (-launchApplication:showIcon:autolaunch:): 565 call -activateIgnoringOtherApps: on the remote connection to an already 566 running app. 567 5682004-09-04 23:32 Alexander Malmberg <alexander@malmberg.org> 569 570 * Source/GSHorizontalTypesetter.m (-layoutLineNewParagraph:): 571 Pass the right glyph position to cells. 572 * Headers/AppKit/NSTextAttachment.h: Clarify documentation. 573 5742004-09-04 01:34 Alexander Malmberg <alexander@malmberg.org> 575 576 * PrinterTypes/GNUmakefile, PrinterTypes/GNUmakefile.postamble: 577 Revert removal of rules to install .ppd:s. 578 * PrinterTypes/English.lproj/Generic-PostScript_Printer-Postscript.ppd: 579 New file. 580 * Printing/GSLPR/GNUmakefile: Set GNUSTEP_INSTALLATION_DIR. 581 * Printing/GSLPR/GNUmakefile.preamble: Compile with -Wall. 582 * Printing/GSLPR/GSLPRPrinter.m (+printerWithName:): Remove 583 ppdContents variable. 584 (+printersDictionary): Only warn once if a printer hasn't been set 585 in the defaults. Change the type of the fallback printer to 586 Generic-PostScript_Printer-Postscript. Check that the ppd for this 587 printer is found. 588 5892004-09-04 01:06 Alexander Malmberg <alexander@malmberg.org> 590 591 * Source/GSToolbarView.m (-_insertionIndexAtPoint:): Remove spurious 592 ';'. 593 5942004-09-02 Quentin Mathe <qmathe@club-internet.fr> 595 596 * Headers/AppKit/NSToolbarItem.h: Added GSMovableToolbarItemPboardType 597 declaration. 598 * Source/NSToolbarItem.m: Added the toolbar items rearranging 599 possibility by implementing the dragging source methods. 600 * Source/GSToolbar.m: Added or reworked some methods to support model 601 updates without direct view effects to manipulate the toolbar items when 602 a dragging session happens. 603 * Source/GSToolbarView.m: Added the toolbar items rearranging 604 possibility by implementing the dragging destination methods. And added 605 a method -_insertionIndexAtPoint: to support the insertion index 606 calculation based on the mouse location. 607 6082004-09-01 Adam Fedor <fedor@gnu.org> 609 610 * Source/NSPrintInfo.m ([NSPrintInfo -paperSize]): Avoid returning 611 a nil object return value into a struct. 612 613 * Printing/GSLPR/GNUmakefile.preamble: Add 614 Source/$(GNUSTEP_TARGET_DIR) includes 615 * Tools/GNUmakefile.preamble: Likewise. 616 6172004-09-02 00:17 Alexander Malmberg <alexander@malmberg.org> 618 619 * Source/NSView.m (-replaceSubview:with:): Clarify documentation. 620 (-scrollRectToVisible:): Implement correctly, patch from Andrew 621 Ruder. Document. 622 6232004-08-30 Quentin Mathe <qmathe@club-internet.fr> 624 625 * Headers/AppKit/NSCell.h: 626 * Source/NSCell.m: 627 Make the code a bit more modular with a distinct private method to 628 implement the image drawing (the text drawing is already located in a 629 separate method), see -_drawImage:inFrame:isFlipped:, 630 previously implemented in -drawInteriorWithFrame:inView: 631 * Source/NSButtonCell.m: Moved code specific to NSButtonCell 632 -drawInteriorWithFrame:inView: in a new method 633 -_drawImage:inFrame:isFlipped to match the method added to NSCell. Also 634 reverted the 2004-08-11 21:35 Alexander Malmberg commit to have identical 635 margin between the border and the text with every image positions. 636 Source/NSToolbarItem.m: 637 Added -_drawImage:inFrame:isFlipped and _drawAttributedText:inFrame: 638 to override the superclasses behavior, it permits to have the 639 GSToolbarButtonCell layout not dependent on the NSButtonCell code. 640 6412004-08-29 02:48 Matt Rice <ratmice@yahoo.com> 642 643 * Source/NSTableView.m (-draggingUpdated:): Return 644 currentDragOperation. 645 6462004-08-28 10:34 Gregory John Casamento <greg_casamento@yahoo.com> 647 648 * Source/GSNibTemplates.m: Added implementation of method 649 shouldSwapClass to GSClassSwapper. This method checks for the 650 implementation of isInInterfaceBuilder and returns whether or 651 not the template should perform the class swap or whether it 652 should retrieve the superclass. 653 * Headers/Additions/GNUstepGUI/GSNibTemplates.h: Added 654 declaration for -[GSClassSwapper shouldSwapClass]. 655 6562004-08-23 17:29 Alexander Malmberg <alexander@malmberg.org> 657 658 * Source/NSWindow.m (-setFrameFromString:): Don't change the size 659 of the window if it isn't resizable. 660 6612004-08-21 Fred Kiefer <FredKiefer@gmx.de> 662 663 * Source/NSComboBoxCell.m (-completedString:): Handle a nil 664 substring by returning nil directly without trying to find a 665 match. Patch by Andreas Hoeschler <ahoesch@smartsoft.de>. 666 Changed data source error messages to consistent wording. 667 6682004-08-13 Quentin Mathe <qmathe@club-internet.fr> 669 670 * Source/NSComboBoxCell.m -(runModalPopUpWithComboBoxCell:): Remove the 671 observer only for the variable onWindow, then it is not needed anymore 672 to reset the table view delegate. 673 (-deselectItemAtIndex:): Added a _localSelection flag, the result is now 674 the method still triggers -[GSComboWindow tableViewSelectionDidChange:] 675 call but the _localSelection variable in -validateSelection 676 avoids to have -selectItemAtIndex: wrongly called. 677 (-trackMouse:inRect:ofView:untilMouseUp:): Fixed broken combo box 678 behavior introduced June 17 with version 1.27, which produced wrong 679 tracking in the button cell and extra mouse down call in the NSComboBox 680 superclass. Now the rewritten version is also documented. 681 * Source/NSComboBox.m (-mouseDown:): Reverted the use of the variable 682 clicked (that contributes to fix the bug explained above) and renamed it 683 buttonClicked. 684 * Headers/AppKit/NSComboBoxCell.h: Added the method 685 -trackMouse:inRect:ofView:untilMouseUp to have the documentation 686 generated for this overriden method , it shouldn't be needed( it is a 687 temporary hack until we have the root problem corrected). 688 6892004-08-12 01:42 Alexander Malmberg <alexander@malmberg.org> 690 691 * Source/NSLayoutManager.m 692 (-textStorage:edited:range:changeInLength:invalidatedRange:): 693 Adjust the selected range even if there's no length change. Change 694 the handling of the in/in case. Set the selected range using a text 695 view if we have any attached. 696 * Source/NSTextView.m (-insertText:): Don't set the selected range. 697 (-setSelectedRange:affinity:stillSelecting:): Clamp the old range 698 to the length of the text. 699 * Source/NSTextView_actions.m (-deleteForward:, -deleteBackward:): 700 Don't set the selected range. 701 7022004-08-11 21:35 Alexander Malmberg <alexander@malmberg.org> 703 704 * Source/NSButtonCell.m (-drawInteriorWithFrame:inView:): Move 705 text back down by 2 points for NSImageAbove. 706 7072004-08-10 02:01 Alexander Malmberg <alexander@malmberg.org> 708 709 * Source/GSLayoutManager.m (-usedRectForTextContainer:): Fix 710 the calculation of the used rectangle. 711 7122004-08-10 00:47 Alexander Malmberg <alexander@malmberg.org> 713 714 * Source/NSAttributedString.m (cache_init, cache_init_real): Add 715 missing void:s. 716 7172004-08-10 00:06 Alexander Malmberg <alexander@malmberg.org> 718 719 * Source/GSHorizontalTypesetter.m: Formatting cleanups. 720 (-_reuseSoftInvalidatedLayout): New method. Contains soft invalidated 721 layout info handling, moved here from ... 722 (-layoutLineNewParagraph:): ...here. Cache the imp for 723 -advancementForGlyph: and send it directly to the fontInfo. 724 7252004-08-09 21:45 Alexander Malmberg <alexander@malmberg.org> 726 727 * Headers/Additions/GNUstepGUI/GSLayoutManager_internal.h: Add 728 usedRect and usedRectValid fields to textcontainer_t. 729 * Source/GSLayoutManager.m (-_doLayout): Set usedRectValid to NO 730 when setting complete to YES. 731 (-usedRectForTextContainer:): Optimize the calculation of the used 732 rect. Use usedRect and usedRectValid. 733 7342004-08-09 14:38 Alexander Malmberg <alexander@malmberg.org> 735 736 * Headers/AppKit/NSWindow.h: _frame is the window frame. 737 (+screenRectForFrameRect:styleMask:, 738 +frameRectForScreenRect:styleMask:): New methods. 739 * Source/GSDisplayServer.m (-window:::, -styleoffsets:::::): 740 Update documentation. 741 * Source/GSStandardWindowDecorationView.m 742 (+screenOffsets::::forStyleMask:): Implement new method. 743 * Source/GSWindowDecorationView.h (+screenRectForFrameRect:styleMask:, 744 +frameRectForScreenRect:styleMask:): New methods. 745 * Source/GSWindowDecorationView.m (+screenOffsets::::forStyleMask:, 746 +screenRectForFrameRect:styleMask:, 747 +frameRectForScreenRect:styleMask:): Implement them. 748 * Source/NSWindow.m (+screenRectForFrameRect:styleMask:, 749 +frameRectForScreenRect:styleMask:): Implement new methods. 750 (-_initBackendWindow): Always update _wv's frame. 751 7522004-08-08 Quentin Mathe <qmathe@club-internet.fr> 753 754 * Source/NSComboBox.m: 755 * Source/NSComboBoxCell.m: 756 Fixed the class description markup errors which caused text 757 truncations in the documentation. 758 7592004-08-08 01:19 Chad Hardin <cehardin@mac.com> 760 761 * Source/NSPageLayout.m: Ensure that the units on the panel 762 are set. Using -viewWithTag:, I had to make sure I called 763 the view immediately above the view I was loking for. 764 7652004-08-08 00:43 Chad Hardin <cehardin@mac.com> 766 767 * config.make.in: Added CUPS specific make variables. 768 * configure: Regenerated. 769 * configure.ac: Added code to detect the presence of 770 cups for the new GSCUPS printing backend bundle. 771 Detects cups but the GSCUPS bundle is not ready yet 772 so it does not actually try to build anything related 773 to cups. 774 * Headers/AppKit/NSPrinter.h: 775 * Source/NSPrinter.m: 776 * Printing/GSLPR/GSLPRPrinter.m: 777 NSPrinter no longer assumes it is PPD specific. However, 778 it does include a catagory named PPDParsing, which the 779 backend printing bundles can call to have a PPD file parsed 780 and placed into NSPrinter's tables. All the PPD parsing code 781 was taken out of GSLPRPrinter.m. Also, a lot of code format 782 cleanup was done. 783 * Printing/GSLPR/GSLPRPrintInfo.m: 784 * Source/AppKit/NSPrintInfo.m: Moved initWithDictionary: code 785 out of GSLPR's GSLPRPrintInfo implementation into here. 786 * Printing/GSLPR/GSLPRPrincipalClass.h: Correct copyright. 787 * Printing/GSLPR/GSLPRPrincipalClass.m: Correct copyright. 788 * Printing/GSLPR/GSLPRPrintInfo.h: Fixed reference to NSPrintInfo. 789 * Printing/GSLPR/GSLPRPrintOperation.h: Fixed referece to 790 NSPrintOperation. 791 * Printing/GSLPR/GSLPRPrinter.h: Fixed reference to NSPrinter. 792 * Panels/English.lproj/GSPageLayout.gorm/objects.gorm: Increased the 793 size of the panel's title and made it bold. 794 * Printing/GNUmakefile: Added code to optionally build the (upcoming) 795 GSCUPS printing backend bundle. Currently it's disabled. 796 7972004-08-07 13:18 Alexander Malmberg <alexander@malmberg.org> 798 799 * Source/NSTextView.m (-mouseDown:): Remove -containsAttachments 800 call. 801 8022004-08-06 14:13 Alexander Malmberg <alexander@malmberg.org> 803 804 * Source/NSPasteboard.m (-pasteboard:provideDataForType:): Print 805 a warning instead of crashing in NSMapFile handling. 806 (+_pasteboardWithTarget:name:): Update the local changeCount. 807 8082004-08-02 Adrian Robert <arobert@cogsci.ucsd.edu> 809 810 * Documentation/GuiUser/DefaultsSummary.gsdoc: Clarify the role of 811 NSGlobalDomain; explain that NSShowNonLocalizedStrings is a developer 812 option (in absence of a document specifically documenting developer 813 defaults, the doc will go here). 814 8152004-08-02 16:32 Alexander Malmberg <alexander@malmberg.org> 816 817 * Headers/AppKit/NSCell.h, Source/NSMenuView.m: Rename xDist and 818 yDist to GSCellTextImageXDist and GSCellTextImageYDist. 819 * Source/NSMenuItemCell.m: Rename xDist and yDist. 820 (titleRectForBounds:): Reindent. 821 * Source/NSButtonCell.m (-drawInteriorWithFrame:inView:, -cellSize): 822 Adjust size calculations, make them more forgiving before clipping 823 text, and make -cellSize and -drawInteriorWithFrame:inView: match 824 each other again. Update xDist and yDist references. 825 8262004-08-01 14:55 Alexander Malmberg <alexander@malmberg.org> 827 828 * Source/GSStandardWindowDecorationView.m (-drawTitleBar): Fix 829 the centering of the title. 830 8312004-08-01 14:28 Alexander Malmberg <alexander@malmberg.org> 832 833 * TextConverters/RTF/RTFProducer.m (-_addAttributesString:): Only add 834 attachmentFileWrapper to the attachments array if it isn't nil. 835 8362004-07-30 Adrian Robert <arobert@cogsci.ucsd.edu> 837 838 * Documentation/GuiUser/GNUMakefile.postamble: Remove an unwanted 839 level of hierarchy when installing GSdoc generated under 840 Documentation/GuiUser. 841 8422004-07-30 15:52 Alexander Malmberg <alexander@malmberg.org> 843 844 * Headers/AppKit/NSGraphicsContext.h (-GSReadRect:): Document. 845 * Source/NSBitmapImageRep.m (-initWithFocusedViewRect:): Update for 846 new key names from GSReadRect:. 847 * Source/NSGraphicsContext.m (-GSReadRect:): Return nil. 848 8492004-07-29 Adrian Robert <arobert@cogsci.ucsd.edu> 850 851 * Documentation/GuiUser/DefaultsSummary.gsdoc: Added some explanation 852 of how to set defaults and description of domains, since this isn't 853 readily accessible elsewhere. Also, documented 854 NSShowNonLocalizedStrings default. 855 8562004-07-28 Adam Fedor <fedor@gnu.org> 857 858 * PrinterTypes/: Remove PPD files 859 * PrinterTypes/GNUmakefile: Don't install them. 860 8612004-07-28 19:52 Alexander Malmberg <alexander@malmberg.org> 862 863 * Source/GSWindowDecorationView.h, Source/GSWindowDecorationView.m 864 (-setBackgroundColor:): New method. 865 * Source/NSWindow.m (-setBackgroundColor:): Pass the call along to 866 _wv. 867 (-orderWindow:relativeTo:): Use -setFrame:display: to change the 868 frame after contstraining it. 869 (-constrainFrameRect:toScreen:): Fix the check of whether the bottom 870 of the window is off the screen. 871 (-_sendEvent:becomesKeyOnlyIfNeeded:): Clean up handling of 872 GSAppKitWindowResized. 873 (-initWithCoder:): Destroy _miniaturizedImage before setting it to 874 the decoded image. 875 8762004-07-27 Quentin Mathe <qmathe@club-internet.fr> 877 878 * Headers/Additions/GNUstepGUI/GSToolbarView.h: 879 * Source/GSToolbarView.m: 880 * Source/NSToolbarItem.m: 881 Moved static const and enum declarations from GSToolbarView.h to 882 GSToolbarView.m and NSToolbarItem.m. 883 * Source/NSWindow+Toolbar.m: 884 Fixed non correct toolbar view visibility when [NSToolbar -setVisible:] 885 is called before [NSWindow -setToolbar:](bug reported by Yen-Ju Chen 886 <yjchenx@hotmail.com>). 887 8882004-07-24 22:47 Alexander Malmberg <alexander@malmberg.org> 889 890 * Source/NSToolbarItem.m: Use the predefined variables instead of 891 inline string literals for attribute names. 892 ([GSToolbarButton -layout], [GSToolbarBackView -drawRect:], 893 [GSToolbarBackView -layout]): Release attrStr/attrString. 894 (-copyWithZone:): Return new, not self. 895 8962004-07-23 01:54 Matt Rice <ratmice@yahoo.com> 897 898 * Documentation/GuiUser/DefaultsSummary.gsdoc: Document 899 GSUseWindowmakerIconBackground. 900 * Source/NSApplication.m ([NSAppIconView +initialize], 901 [NSAppIconView -drawRect:]): If the GSUseWindowmakerIconBackground 902 default is YES, do a clear composite of the background instead 903 of using the tile. 904 * Source/NSWindow.m ([NSMiniWindowView +initialize], 905 [NSMiniWindowView -drawRect:]): Idem. 906 9072004-07-22 04:46 Chad Hardin <cehardin@mac.com> 908 909 * Headers/AppKit/NSPageLayout.h: Changed to MVC and a whole new UI. 910 * Headers/AppKit/NSPrintInfo.h: Format cleanup. 911 * Headers/AppKit/NSPrintOperation.h: Format cleanup. 912 * Headers/AppKit/NSPrintPanel.h: Format cleanup. 913 * Headers/AppKit/NSPrinter.h: Format cleanup. 914 * Panels/English.lproj/GSPageLayout.gorm/data.classes: New UI. 915 * Panels/English.lproj/GSPageLayout.gorm/objects.gorm: New UI. 916 * Printing/GSLPR/GSLPRPrintInfo.m: Format cleanup. 917 * Printing/GSLPR/GSLPRPrintOperation.m: Format cleanup. 918 * Printing/GSLPR/GSLPRPrintPanel.m: Format cleanup. 919 * Printing/GSLPR/GSLPRPrinter.m: Format cleanup. 920 * Source/GSEPSPrintOperation.m: Format cleanup. 921 * Source/GSPDFPrintOperation.m: Format cleanup. 922 * Source/GSPrintOperation.m: Format cleanup. 923 * Source/GSPrinting.m: Format cleanup. 924 * Source/NSPageLayout.m: Changed to MVS and a whole new UI. 925 * Source/NSPrintInfo.m: Format cleanup. 926 The big thing changed here is that NSPageLayout has a whole new 927 UI and is MVC based. I have not yet implemented the ability 928 to create and edit custom papers, that is next. 929 9302004-07-22 00:18 Gregory John Casamento <greg_casamento@yahoo.com> 931 932 * Source/GSNibContainer.m: Corrected spelling mistake in comment. 933 9342004-07-22 00:59 Alexander Malmberg <alexander@malmberg.org> 935 936 * Source/GSStandardWindowDecorationView.m (-setDocumentEdited:, 937 -setTitle:): Pass the calls along to super. 938 9392004-07-21 19:53 Alexander Malmberg <alexander@malmberg.org> 940 941 * Source/NSFontPanel.m (-_trySelectSize:updateSizeField:): Add 942 updateSizeField argument. Update callers. 943 9442004-07-20 01:24 Alexander Malmberg <alexander@malmberg.org> 945 946 * Source/NSScroller.m (-rectForPart:): Use floor() instead of 947 floorf(). 948 9492004-07-18 Gregory John Casamento <greg_casamento@yahoo.com> 950 951 * Source/GSNibTemplates.m: Removed some commented out code. 952 9532004-07-14 Adam Fedor <fedor@gnu.org> 954 955 * Documentation/General/OpenStepCompliance.gsdoc: Update. 956 * Documentation/Gui/Gui.gsdoc: Add compliance and release links 957 * Source/NSSavePanel.m: Remove extraneous ';' at end of some methods 958 * Source/NSTableView.m: Idem. 959 9602004-07-15 02:28 Alexander Malmberg <alexander@malmberg.org> 961 962 * Source/NSBezierPath.m (point_on_curve): New function. 963 (-_recalculateBounds): Rewrite. Calculate bounds analytically. 964 9652004-07-13 02:54 Alexander Malmberg <alexander@malmberg.org> 966 967 * Source/NSImageRep.m (+_imageRepsWithData:): New method. 968 (+imageRepsWithContentsOfURL:): Use +_imageRepsWithData:. 969 (+imageRepsWithContentsOfFile:): If the filename has no extension, 970 use +_imageRepsWithData: to load it. 971 9722004-07-13 01:15 Alexander Malmberg <alexander@malmberg.org> 973 974 * Source/NSWindow.m (+_handleAutodisplay:, +_addAutodisplayedWindow:, 975 +_removeAutodisplayedWindow:): New methods. 976 Rename _handleWindowNeedsDisplay: to -_handleAutodisplay. 977 ([NSWindow +initialize]): Don't initialize modes. 978 (-dealloc, -orderWindow:relativeTo:): Use +_addAutodisplayedWindow: 979 and +_removeAutodisplayedWindow: instead of adding/removing a runloop 980 performer. 981 9822004-07-13 00:23 Alexander Malmberg <alexander@malmberg.org> 983 984 * Source/NSSound.m: Only declare the_server if HAVE_AUDIOFILE_H 985 is defined. 986 9872004-07-13 00:21 Alexander Malmberg <alexander@malmberg.org> 988 989 * Headers/AppKit/NSMovieView.h: Make loopMode ivar an unsigned int. 990 9912004-07-13 Serg Stoyan <stoyan255@ukr.net> 992 993 * Source/NSButtonCell.m: 994 (_init): Set default values of _gradient_type and 995 _image_dims_when_disabled. 996 (drawGradientWithFrame:inView:): Implemented. Draws gradient 997 according to the _gradient_type ivar value. 998 (drawInteriorWithFrame:inView:): Call drawGradientWithFrame:inView 999 if _gradient_type was set and cell is no highlighted. Dissolve 1000 image if cell is disabled and _image_dims_when_disabled was set. 1001 10022004-07-11 Gregory John Casamento <greg_casamento@yahoo.com> 1003 1004 * Source/GSNibTemplates.m: Added code to allow the switching 1005 of which version of the file gets encoded based on the value 1006 of the class variable "version". This is part of an experimental 1007 feature in .gorm files to allow Gorm.app to encode older versions 1008 of .gorm files for previous versions of GNUstep. 1009 10102004-07-11 Chad Hardin <cehardin@mac.com> 1011 1012 * Headers/AppKit/NSPageLayout.h: 1013 * Source/NSPageLayout.m: 1014 * Panels/English.lproj/GSPageLayout.gorm/data.classes: 1015 * Panels/English.lproj/GSPageLayout.gorm/objects.gorm: 1016 * Printing/GSLPR/GSLPRPageLayout.m: 1017 Completely redid NSPageLayout. It now takes full 1018 advantage of being GORM based (ie: connections rather 1019 than checking tags). Most of the functionality of 1020 NSPageLayout was split off and put into a controller 1021 object, GSPrintLayoutController. The panel itself is 1022 much improved, it even includes a preview display of 1023 the page dimensions. 1024 10252004-07-11 14:17 Alexander Malmberg <alexander@malmberg.org> 1026 1027 * Source/NSLayoutManager.m (-drawGlyphsForGlyphRange:atPoint:): 1028 When printing, position each glyph explicitly. 1029 10302004-07-09 Chad Hardin <cehardin@mac.com> 1031 1032 * Source/GNUmakefile: 1033 * Headers/AppKit/NSPageLayout.h: 1034 * Source/NSPageLayout.m: 1035 * Headers/AppKit/NSPrintInfo.h: 1036 * Source/NSPrintInfo.m: 1037 * Headers/AppKit/NSPrintOperation.h: 1038 * Source/NSPrintOperation.m: 1039 * Headers/AppKit/NSPrintPanel.h: 1040 * Source/NSPrintPanel.m: 1041 * Headers/AppKit/NSPrinter.h: 1042 * Source/NSPrinter.m: 1043 Modifications for the backend printing bundle system. 1044 * Headers/Additions/GNUstepGUI/GSEPSPrintOperation.h: added. 1045 * Source/GSEPSPrintOperation.m: added. 1046 * Headers/Additions/GNUstepGUI/GSPDFPrintOperation.h: added. 1047 * Source/GSPDFPrintOperation.m: added. 1048 * Headers/Additions/GNUstepGUI/GSPrintOperation.h: added. 1049 * Source/GSPrintOperation.m: added. 1050 * Headers/Additions/GNUstepGUI/GSPrinting.h: added. 1051 * Source/GSPrinting.m: added. 1052 Split off the various PrintOperation classes. This makes is clear that 1053 the printing backend bundles subclass GSPrintOperation, not NSPrintOperation. 1054 Also, GSPDFPrintOperation will probably become large when implemented, this 1055 clarifies the class structure and prevent NSPrintOperation.m from become 1056 overly large and confusing. The GSPrinting class is helper for loading the 1057 proper printer backend bundle. 1058 * GNUMakefile: includes the Printing directory. 1059 * Printing: Added the printing bundles home directory. 1060 * Printing/GNUmakefile: added. 1061 * Printing/GSLPR: Added the first printing bundle. 1062 * Printing/GSLPR/GNUmakefile: added. 1063 * Printing/GSLPR/GNUmakefile.postamble: added. 1064 * Printing/GSLPR/GNUmakefile.preamble: added. 1065 * Printing/GSLPR/GSLPRPageLayout.h: added. 1066 * Printing/GSLPR/GSLPRPageLayout.m: added. 1067 * Printing/GSLPR/GSLPRPrincipalClass.h: added. 1068 * Printing/GSLPR/GSLPRPrincipalClass.m: added. 1069 * Printing/GSLPR/GSLPRPrintInfo.h: added. 1070 * Printing/GSLPR/GSLPRPrintInfo.m: added. 1071 * Printing/GSLPR/GSLPRPrintOperation.h: added. 1072 * Printing/GSLPR/GSLPRPrintOperation.m: added. 1073 * Printing/GSLPR/GSLPRPrintPanel.h: added. 1074 * Printing/GSLPR/GSLPRPrintPanel.m: added. 1075 * Printing/GSLPR/GSLPRPrintPrinter.h: added. 1076 * Printing/GSLPR/GSLPRPrintPrinter.m: added. 1077 Here it is, the first backend printing bundle, version one. The are very 1078 little code changes from the original source, bugs that may have been 1079 present there would have been carried over here. However, this is just the 1080 first round. This bundle uses GNUstep's original PageLayout and PrintPanel 1081 GORM panels, it does not have its own. Hence, it is very simple. The plan 1082 is for the future GSCUPS bundle to also use GNUstep's GORM panels, not for 1083 each bundle to have their own panels. 1084 10852004-07-09 Fred Kiefer <FredKiefer@gmx.de> 1086 1087 * Source/NSPanel.m: 1088 * Source/NSAlert.m: 1089 Moved class GSAlertPanel and alert functions from NSPanel.m to 1090 NSAlert.m. 1091 10922004-07-08 Fred Kiefer <FredKiefer@gmx.de> 1093 1094 * Source/GNUmakefile: 1095 * Source/NSMovieView.m: 1096 Added file forgotten in last commit. 1097 10982004-07-08 Fred Kiefer <FredKiefer@gmx.de> 1099 1100 * Headers/AppKit/NSMovie.h: 1101 * Source/NSMovie.m: 1102 * Headers/AppKit/NSMovieView.h: 1103 * Source/NSMovieView.m: 1104 * Headers/AppKit/NSAlert.h: 1105 * Source/NSAlert.m: 1106 New MacOSX classes, implementation still empty. 1107 11082004-07-08 Serg Stoyan <stoyan255@ukr.net> 1109 1110 * Images/common_ArrowDownH.tiff: added. 1111 * Images/common_ArrowLeftH.tiff: added. 1112 * Images/common_ArrowRightH.tiff: added. 1113 * Images/common_ArrowUpH.tiff: added. 1114 1115 * Source/NSScroller.m: (drawParts): Use added images. 1116 Cells now highlights also by NSContentsCellMask. 1117 11182004-07-07 Quentin Mathe <qmathe@club-internet.fr> 1119 1120 * Source/GSToolbar.m: Fixed several segmentation faults which could 1121 occur when windows with a toolbar have been closed and new similar 1122 windows are initialized (bug #9535), rewritten validation support to 1123 be more clearer and efficient, and the toolbar notifications now 1124 correctly bundles the toolbar items in the notification dictionary 1125 (Patch by Ludovic Marcotte). 1126 * Source/GSToolbarView: 1127 * Source/NSToolbar.m: 1128 * Source/NSWindow+Toolbar.m: 1129 * Source/NSToolbarItem.m: 1130 Related changes and lot of memory leaks fixed permitting to have now 1131 the toolbar system properly deallocated when the toolbar is not anymore 1132 retained by the user and the toolbar view. 1133 Note: In order to observe the toolbar system being deallocated when you close 1134 a window, you need to have the option "Window released when closed" 1135 checked. 1136 Actual retain logic is strictly : 1137 - Superview in the view hierarchy retains toolbar view 1138 - Toolbar view retains toolbar 1139 - Toolbar view retains toolbar items view 1140 - Toolbar retains toolbar items 1141 And when a toolbar is based on NSToolbar class : 1142 - Windows retains toolbar view. 1143 * Source/NSView.m: Added a missing method call -viewWillMoveToSuperview: 1144 in -removeSubview: method (this missing method is used by the toolbar 1145 view). 1146 * Headers/Additions/GNUstepGUI/GSToolbar.h: 1147 * Headers/AppKit/NSToolbar.h: 1148 Moved the _window ivar from GSToolbar class to NSToolbar class. 1149 * Headers/AppKit/NSToolbarItem.h: Added a _tag ivar and other minor changes. 1150 11512004-07-07 01:23 Alexander Malmberg <alexander@malmberg.org> 1152 1153 * Source/NSWindow+Toolbar.m: Properly convert window frames to 1154 content view frames and back. 1155 (-_toggleToolbarViewWithDisplay:): Move the old content view to the 1156 origin of the new content view. 1157 11582004-07-06 22:15 Alexander Malmberg <alexander@malmberg.org> 1159 1160 * Headers/Additions/GNUstepGUI/GSDisplayServer.h: Add 1161 -handlesWindowDecorations. 1162 * Headers/AppKit/NSWindow.h: Document _frame ivar and add update 1163 for -gui-managed window decorations. 1164 (+minFrameWidthWithTitle:styleMask:): Change return type to float. 1165 * Source/GNUmakefile: Add GSWindowDecorationView.m and 1166 GSStandardWindowDecorationView.m . 1167 * Source/GSDisplayServer.m (-handlesWindowDecorations): Provide a 1168 default implementation. 1169 * Source/NSPanel.m (-sendEvent:): Reimplement using 1170 -_sendEvent:becomesKeyOnlyIfNeeded: . 1171 (setControl): Only call -setStringValue: on the cell if it doesn't 1172 respond to -setTitle: . 1173 * Source/NSWindow.m: Reorganize management of the top-level view. 1174 Implement -gui-managed window decorations. 1175 (-_sendEvent:becomesKeyOnlyIfNeeded:): New method. 1176 (-sendEvent:): Reimplement using -_sendEvent:becomesKeyOnlyIfNeeded: . 1177 * Source/GSWindowDecorationView.h, Source/GSWindowDecorationView.m, 1178 Source/GSStandardWindowDecorationView.m: New files. 1179 11802004-07-05 Gregory John Casamento <greg_casamento@yahoo.com> 1181 1182 * Source/NSToolbar.m: [NSToolbar _setWindow:] added logic 1183 to accept the NSWindowWillCloseNotification, since the toolbar 1184 will need to remove itself from the "toolbars" master array. 1185 Also added a method called [NSToolbar _handleNotification:] 1186 to do the actual removal. 1187 * Source/GSToolbar.m: [GSToolbar _setDelegate:] toolbar 1188 no longer retains it's delegate. This prevents the delegate 1189 from leaking. 1190 11912004-07-03 Fred Kiefer <FredKiefer@gmx.de> 1192 1193 * Source/NSOutlineView.m: Moved private methods into separate 1194 category. Made (-_collectItemsStartingWith:into:) safe against nil 1195 parameter and simplified code. (_removeChildren:) new method as a 1196 helper in (-reloadItem:reloadChildren:). 1197 11982004-07-01 Fred Kiefer <FredKiefer@gmx.de> 1199 1200 * Source/NSOutlineView.m (-reloadItem:reloadChildren:): Convert 1201 possible NSNull key to nil. 1202 12032004-06-28 Gregory John Casamento <greg_casamento@yahoo.com> 1204 1205 * Headers/Additions/GNUstepGUI/GSNibTemplates.h: Updated the 1206 GNUSTEP_NIB_VERSION. This constant defines the number used for 1207 the GSNibContainer objects' version. Also added a new topLevelObjects 1208 ivar to the GSNibContainer class and the method to retrieve it. 1209 * Source/GSNibTemplates.m: Move the private class GSNibItemCollector 1210 from NSBundleAdditions.m to GSNibTemplates.m. This helped clean up 1211 code and also facilitated the changes necessary for the new .gorm 1212 version. Also changed the signature of awakeWithContext: so it 1213 only takes the context dictionary as an argument and no longer 1214 requires the items to be passed in. 1215 Changed the awakeWithContext method to efficiently retain the objects. 1216 In initWithCoder: and encodeWithCoder: added new section for updated 1217 version. Added some logic to collect the top level items at that time 1218 so that version 0 and version 1 .gorm files load in a precisely 1219 equivalent manner. Also, updated a change made by Alex Malmberg 1220 which was causing the designated initializers to not be called. 1221 * Source/NSBundleAdditions.m: Moved class to GSNibTemplates as 1222 described above. Cleaned up implementation of +loadNibFile: 1223 externalNameTable:withZone:. 1224 * Source/NSNib.m: Removed some of the code which was there to 1225 collect top level items. Also cleaned up some of the code with 1226 the new implementation. 1227 12282004-06-28 Serg Stoyan <stoyan255@ukr.net> 1229 1230 * Headers/AppKit/NSScroller.h: Added _pendingKnobProportion ivar. 1231 1232 * Source/NSScroller.m: 1233 (setFloatValue:knobProportion:): Implemented disabling of scroller 1234 when knob proportion equals to 1.0, and implemented pending knob 1235 proportion setting (fix disappearing of scroller parts when mouse 1236 button still held down). Set float value only if knob is not being 1237 dragged. 1238 (mouseDown): Redundant code removed. Call 1239 setFloatValue:knobProportion: if _pendingKnobProportion is not 0 or 1240 just update scroller otherwise. 1241 1242 * Source/NSBrowser.m: 1243 (_createColumn): Set initial frame origin to -110,-110 to avoid 1244 appearing newly created column on top of exising. 1245 (updateScroller): Remove enabling/disabling scroller wrt last 1246 NSScroller changes. Rewrite floating value calculating code and 1247 avoid devide-by-zero case. Always update scroller values (scroller 1248 handle the case when it shouldn't update itself). 1249 12502004-06-28 Fred Kiefer <FredKiefer@gmx.de> 1251 1252 * Headers/AppKit/NSCursor.h: Added more MacOSX methods for standard 1253 cursors. 1254 * Source/NSCursor.m: Implemented new standard cursors methods. 1255 (+setHiddenUntilMouseMoves:) added implementation. 1256 (+initialize) set isHiddenUntilMouseMoves to NO (was YES). 1257 * Source/NSApplication.m: (-nextEventMatchingMask:...dequeue:) when 1258 cursor is hidden until mouse move, call [NSCursor 1259 setHiddenUntilMouseMoves: NO] instead of [NSCursor unhide]. 1260 12612004-06-27 23:10 Alexander Malmberg <alexander@malmberg.org> 1262 1263 * Source/GSNibTemplates.m: Replace calls to 1264 GSGetInstanceMethodNotInherited with calls to GSGetMethod. 1265 12662004-06-25 Gregory John Casamento <greg_casamento@yahoo.com> 1267 1268 * Source/GSNibCompatibility.m: Print a message when .gorm files are 1269 loaded which use the old templates contained here. The next major 1270 release should see the removal of these templates from GNUstep. The 1271 new templates have completely superceded these. 1272 * Source/NSTextView.m: Added call to register for types in 1273 initWithCoder: 1274 * Source/NSDataLinkPanel.m: Minor reformatting. 1275 12762004-06-26 Serg Stoyan <stoyan255@ukr.net> 1277 1278 * Source/NSBrowser.m: 1279 (updateScroller): Use _firstVisibleColumn to define visibility of 1280 scroller. Use _lastVisibleColumn to calculate knob proportion if 1281 last visible column and last loaded column is not the same. 1282 12832004-06-25 Serg Stoyan <stoyan255@ukr.net> 1284 1285 * Source/NSBrowser.m: 1286 (setPath:): Deselect all cells in first column before setting 1287 absolute path if first column's selection changed. 1288 (doClick:): Fix problem with deselection of already selected item. 1289 Update scroller after setting selection. 1290 12912004-06-24 Fred Kiefer <FredKiefer@gmx.de> 1292 1293 * Source/NSTableView.m: (-noteNumberOfRowsChanged) corrected off 1294 by one error in (NSIndexSet -removeIndexesInRange:) call. 1295 12962004-06-23 Serg Stoyan <stoyan255@ukr.net> 1297 1298 * Source/NSBrowser.m: (frameOfColumn:): Fixed calculating of last 1299 visible column width when columns are separated. 1300 (drawRect:): Draw horizontal scroller border only when columns are 1301 separated. Fixed calculating of horizontal scroller width. 1302 13032004-06-22 Adrian Robert <arobert@cogsci.ucsd.edu> 1304 1305 * Documentation/manual: Beginnings of programming manual for GUI like 1306 the one for Base but just focusing on the library itself (no 1307 Objective-C introduction). Structure copied from base manual. 1308 * Documentation/gnustep-gui.texi: Moved to manual/Introduction.texi. 1309 * Documentation/Gui/Introduction.gsdoc: Moved to 1310 manual/BasicClasses.texi. 1311 * Documentation/Gui/Gui.gsdoc: Updated to reflect above moves. 1312 * Documentation/General/OpenStepCompliance.gsdoc: Fix typos. 1313 * Documentation/GNUmakefile: Update to build manual and also be a 1314 little more parallel to base Documentation makefile. 1315 * Documentation/GNUmakefile.postamble: Remove stray backslash. 1316 13172004-06-21 Fred Kiefer <FredKiefer@gmx.de> 1318 1319 * Source/NSTableView.m: 1320 * Source/NSOutlineView.m: (-_willDisplayCell:forTableColumn:row:) 1321 New method to abstract from differences in table and outline 1322 view. Used whenever the delegate gets informed by 1323 willDisplayCell:. 1324 (_setObjectValue:forTableColumn:row:) Check for correct method. 1325 13262004-06-20 Fred Kiefer <FredKiefer@gmx.de> 1327 1328 * Source/NSTableView.m: (-mouseDown:) Set value after cell tracking. 1329 (_setObjectValue:forTableColumn:row:) Check for correct method. 1330 Patch by Matt Rice <ratmice@yahoo.com> 1331 * Source/NSComboBoxCell.m: (-objectValue) Added this method, as 1332 the object value never gets set. 1333 13342004-06-19 Fred Kiefer <FredKiefer@gmx.de> 1335 1336 * Source/GSDragView.m: (-_handleEventDuringDragging:) Get mouse 1337 location on periodic event. 1338 13392004-06-19 Fred Kiefer <FredKiefer@gmx.de> 1340 1341 * Headers/Additions/GNUstepGUI/GSDisplayServer.h: Added new method 1342 (-findWindowAt:windowRef:excluding:). 1343 * Source/GSDisplayServer.m: Implemented (-dragInfo) with 1344 GSDragView. 1345 * Source/GNUmakefile: Added GSDragView.h. 1346 * Source/GSDragView.m: Implemented 1347 (-_windowAcceptingDnDunder:windowRef:) with new GSDisplayServer 1348 method. 1349 13502004-06-17 Fred Kiefer <FredKiefer@gmx.de> 1351 1352 * Source/NSComboBoxCell.m: buttonCellFrameFromRect(), 1353 (-drawWithFrame:inView:), (-highlight:withFrame:inView:) and 1354 (-trackMouse:...untilMouseUp:): Made draw bettere when used in a 1355 flipped view. (-positionWithComboBoxCell:) position popup correctly 1356 for flipped view. 1357 13582004-06-16 Fred Kiefer <FredKiefer@gmx.de> 1359 1360 * Source/NSTableView.m: (-mouseDown:) Added mouse tracking in the cell. 1361 * Source/NSComboBoxCell.m: (-trackMouse:...untilMouseUp:) Set _lastValidFrame 1362 [GSComboWindow positionWithComboBoxCell:] compute position based on 1363 _lastValidFrame not the frame from the control view. 1364 13652004-06-16 Fred Kiefer <FredKiefer@gmx.de> 1366 1367 * Source/NSTableView.m: (-mouseDown:) Reordered code and 1368 simplified. (-textShouldEndEditing:) Get formatter from 1369 _editedCell not _cell. (-_unselectAllColumns) Clear the header 1370 view as well. 1371 13722004-06-15 Fred Kiefer <FredKiefer@gmx.de> 1373 1374 * Source/NSComboBoxCell.m: (-copyWithZone:) Added missing method. 1375 13762004-06-11 Adam Fedor <fedor@gnu.org> 1377 1378 * Version 0.9.3 1379 * Documentation/ReleaseNotes.gsdoc: New file 1380 * Documentation/GNUmakefile: generate ReleaseNotes. Update 1381 GuiUser make 1382 * Documentation/GuiUser/GNUmakefile: New file. 1383 * Source/DocMakefile: Remove GuiUser generation. 1384 13852004-06-09 Quentin Mathe <qmathe@club-internet.fr> 1386 1387 * Source/NSComboBoxCell.m: Improved look, added constrained height and 1388 minor documentation change. 1389 * Source/NSComboBox.m: Added constrained height and minor documentation 1390 change. 1391 13922004-06-08 Fred Kiefer <FredKiefer@gmx.de> 1393 1394 * Source/NSCell.m: (-drawWithFrame:inView:) 1395 * Source/NSFormCell.m: (-drawWithFrame:inView:) 1396 * Source/NSTableHeaderCell.m: (-drawWithFrame:inView:) 1397 * Source/NSTableView.m: (-drawRect:) 1398 * Source/NSColorWell.m: (-drawRect:) 1399 * Source/NSProgressIndicator.m: (+initialize, -drawRect:) 1400 * Source/NSScrollView.m: (-drawRect:) 1401 * Source/NSTabView.m: (-drawRect:) 1402 * Source/GSTitleView.m: (-drawRect:) 1403 * Source/NSBrowser.m: (-drawRect:, [GSBrowserTitleCell drawWithFrame:inView:]) 1404 Use GSDrawingFunction methods instead of NS functions. Also 1405 changed colour of progress indicatore. Patch by Nicolas Roard 1406 <nicolas@roard.com>. 1407 14082004-06-07 Quentin Mathe <qmathe@club-internet.fr> 1409 1410 * Source/NSComboBoxCell.m: Added complete documentation. 1411 * Source/NSComboBox.m: Minor documentation corrections. 1412 14132004-06-06 Quentin Mathe <qmathe@club-internet.fr> 1414 1415 * Source/NSComboBox.m: Added complete documentation. 1416 14172004-06-04 Fred Kiefer <FredKiefer@gmx.de> 1418 1419 * Headers/Additions/GNUstepGUI/GSDragView.h: 1420 * Source/GSDragView.m: New files with a backend neutral drag and 1421 drop implementation. 1422 * Source/GNUmakefile: Added GSDragView.m. 1423 * Source/NSPrintOperation.m: Use correct subclass for PDF operations. 1424 14252004-06-02 Riccardo Mottola <rollei@tiscalinet.it> 1426 David Ayers <d.ayers@inode.at> 1427 1428 * Source/GSToolbar.m ([GSValidationManager-initWithWindow:): 1429 Move variable declarations to the beginning of the block. 1430 Format according to standards. 1431 14322004-06-01 Gregory John Casamento <greg_casamento@yahoo.com> 1433 1434 * configure.ac: added code to detect the presence of 1435 libaspell for the new implementation of GSspell. 1436 * configure: regenerated. 1437 * Tools/GSspell.m: Completely reimplemented the 1438 spell-checker code using aspell. This simplified the 1439 code tremendously. 1440 14412004-05-31 Fred Kiefer <FredKiefer@gmx.de> 1442 1443 * Headers/Additions/GNUstepGUI/GSDrawFunctions.h: 1444 * Source/GSDrawFunctions.m: (-drawDarkButton::) New 1445 method. Changed all methods to return the interior rectangle. 1446 based on patch by Nicolas Roard <nicolas@roard.com>. 1447 * Source/NSComboBoxCell.m: (-_selectCompleted) new method to 1448 handle completion of selection in data source case correctly. 1449 (-popUpForComboBoxCell:) use this method and also clear 1450 selection at the end, so a new popup starts without selection. 1451 (-selectItemAtIndex:) simplified and return when invalid 1452 index is given. (-_loadButtonCell) always use image name 1453 "NSComboArrow" and removed force arrow variable. 1454 * Images/nsmapping.strings: mapping "NSComboArrow" to 1455 "common_ComboBoxEllipsis". 1456 14572004-05-29 Quentin Mathe <qmathe@lub-internet.fr> 1458 1459 * Source/NSComboBoxCell.m: Fixed problems related to decoding an 1460 encoded combo box previous version (Bug reported by Gregory 1461 Casamento). 1462 14632004-05-29 Gregory John Casamento <greg_casamento@yahoo.com> 1464 1465 * Images/page_landscape.tiff: Removed the tags in the image 1466 which were causing warnings on load. 1467 * Images/page_portrait.tiff: same. 1468 * Images/common_ToolbarClippedItemsMark.tiff 1469 14702004-05-29 Quentin Mathe <qmathe@lub-internet.fr> 1471 1472 * Source/NSComboBox.m: 1473 * Headers/AppKit/NSComboBox.h: 1474 * Source/NSComboBoxCell.m: 1475 * Headers/AppKit/NSComboBoxCell.h: 1476 * Images/GNUmakefile: 1477 * Images/common_ComboBoxEllipsis.tiff: 1478 New rewritten combo box implementation (which can be called completion 1479 box now). Everything should work except the completion possibility 1480 which needs some layout manager and text view changes (patches to be 1481 commited by Alexander Malmberg). 1482 14832004-05-29 Quentin Mathe <qmathe@lub-internet.fr> 1484 1485 * Source/NSControl.m: Reverted to the previous version (1.61) because 1486 the 2004/05/23 changes changed the way an event can be caught by one 1487 responder definitively through the responder chain. 1488 * Source/GSToolbar.m: New way to catch mouse events with the validation 1489 system (Uses NSWindowDidUpdateNotification instead of events 1490 interception at the view level) and other minor changes. 1491 14922004-05-27 01:39 Alexander Malmberg <alexander@malmberg.org> 1493 1494 * Source/NSImage.m (-size): Don't try to get the size if rep is nil. 1495 14962004-05-25 Fred Kiefer <FredKiefer@gmx.de> 1497 1498 * Source/NSTableView.m: (-noteNumberOfRowsChanged) 1499 Made save against [_selectedRows lastIndex] returning NSNotFound. 1500 15012004-05-23 Quentin Mathe <qmathe@lub-internet.fr> 1502 1503 * Source/NSWindow.m: Added a method -_windowView which returns the 1504 root view (variable _wv) and replaced _contentView by _wv in the 1505 tracking implementation. 1506 * Source/NSControl.m: Modified to call the associated superclass method 1507 each time -mouseDown: is called to have the possibility to add 1508 behaviors to the related NSView method. 1509 Modifications needed to fully support toolbar validation mechanism. 1510 15112004-05-23 Quentin Mathe <qmathe@lub-internet.fr> 1512 1513 * Source/GSToolbarView.m: 1514 * Headers/GNUstepGUI/GSToolbarView.h: 1515 * Source/GSToolbar.m: 1516 * Headers/GNUstepGUI/GSToolbar.h: 1517 * Source/NSToolbar.m: 1518 * Headers/AppKit/NSToolbar.h: 1519 * Source/NSToolbarItem.m: 1520 * Headers/AppKit/NSToolbarItem.h: 1521 * Source/NSWindow+Toolbar.m: 1522 Last part in the validation implementation, border taken in 1523 account by the layout process, lot of memory leaks fixed, selected 1524 item possibility implemented and other minor improvements. 1525 15262004-05-18 Quentin Mathe <qmathe@club-internet.fr> 1527 1528 * Source/GSToolbarView.m: Added color customization (default background 1529 color is now no color), part of the toolbar validation mechanism 1530 and other minor changes. 1531 * Headers/GNUstepGUI/GSToolbarView.h: Same. 1532 * Source/NSToolbarItem.m: Added part of the toolbar validation 1533 mechanism, new menuFormRepresentation implementation to have the 1534 menu item titles used as label with the text display mode and 1535 other minor changes. 1536 15372004-05-14 Adam Fedor <fedor@gnu.org> 1538 1539 * Source/NSDocumentController.m 1540 ([NSDocumentController -currentDirectory]): 1541 Conform to the documentation. (Fixes #7900). 1542 1543 * Tools/gsnd/gsnd.m: Rename variables starting with _, indent lines 1544 properly (Fixes #7502). 1545 15462004-05-14 Serg Stoyan <stoyan@on.com.ua> 1547 1548 * Source/NSBrowser.m ([drawRect:]): use _bounds instead of rect 1549 for NSDrawGrayBezel(). 1550 1551 * Source/NSSplitView.m ([adjustSubviews]): call setNeedsDisplay: 1552 after resizing subviews. 1553 15542004-05-04 Enrico Sersale <enrico@imago.ro> 1555 1556 * Source/NSWorkspace.m ([NSWorkspace -mountedRemovableMedia]): 1557 Doesn't consider a final empty line in mtab. 1558 15592004-05-12 16:50 Alexander Malmberg <alexander@malmberg.org> 1560 1561 * Source/NSParagraphStyle.m (+defaultWritingDirectionForLanguage:): 1562 Implement. Patch from Christopher Culver. 1563 15642004-05-12 15:52 Alexander Malmberg <alexander@malmberg.org> 1565 1566 * Source/GSLayoutManager.m (-_generateGlyphsForRun:at:): Use a 1567 properly typed function pointer for characterIsMember. 1568 15692004-05-08 Fred Kiefer <FredKiefer@gmx.de> 1570 1571 * Header/Cocoa/Cocoa.h: 1572 New header file for Cocoa compatibility. Currently not installed. 1573 * Source/NSTableView.m: 1574 Implemented [selectColumnIndexes:byExtendingSelection:] and 1575 [selectRowIndexes:byExtendingSelection:]. 1576 * Source/NSDocument.m: 1577 Implemented [runModalSavePanelForSaveOperation:..contextInfo:], 1578 [saveDocumentWithDelegate:didSaveSelector:contextInfo:] and 1579 [saveToFile:..contextInfo:]. Added call to [prepareSavePanel] in 1580 [fileNameFromRunningSavePanelForSaveOperation:]. 1581 15822004-05-04 Enrico Sersale <enrico@imago.ro> 1583 1584 * Source/NSWindow.m ([NSWindow -sendEvent:]): Doesn't 1585 makeKeyAndOrderFront if _windowLevel == NSDesktopWindowLevel. 1586 15872004-04-27 Adam Fedor <fedor@gnu.org> 1588 1589 * Source/NSApplication.m ([NSAppIconView -drawRect:]): Draw dot when 1590 hidden. 1591 ([NSAppIconView -setImage:]): Use -drawRect: 1592 (-hide:,-unhideWithoutActivation:): Mark icon view as needing display. 1593 (based on patch from Rafael Herzog). 1594 15952004-04-27 Quentin mathe <qmathe@club-internet.fr> 1596 1597 * Source/NSToolbarItem.m: Modified to have the action message sent by 1598 NSToolbarItem instances (not by GSToolbarButton instances) in order to 1599 match the Mac OS X behavior. (Bug reported by Ludovic Marcotte) 1600 16012004-04-16 15:33 Alexander Malmberg <alexander@malmberg.org> 1602 1603 * Source/NSTableView.m (-dragImageForRows:event:dragImageOffset:): 1604 Autorelease the new image. 1605 16062004-04-14 00:36 Alexander Malmberg <alexander@malmberg.org> 1607 1608 * Source/NSBrowser.m (-keyDown:): When the user selects a cell 1609 by typing a partial name, make sure all other cells are 1610 deselected. 1611 16122004-04-13 Quentin Mathe <qmathe@club-internet.fr> 1613 1614 * Source/NSToolbarItem.m: 1615 * Headers/AppKit/NSToolbarItem.h: 1616 * Source/NSToolbar.m: 1617 * Headers/AppKit/NSToolbar.h: 1618 * Source/GSToolbar.m: 1619 * Headers/GNUstepGUI/GSToolbar.h: 1620 * Source/GSToolbarView.m: 1621 * Headers/GNUstepGUI/GSToolbarView.h: 1622 * Source/NSWindow+Toolbar.m: 1623 * Headers/AppKit/NSWindow+Toolbar.h: 1624 Added support for display mode and size mode and other minor changes. 1625 16262004-04-09 Kazunobu Kuriyama <kazunobu.kuriyama@nifty.com> 1627 1628 * Documentation/GuiUser/LanguageSetup.gsdoc: Added Korean stuff. 1629 (Thanks to Song Woo-il.) 1630 16312004-04-04 Gregory John Casamento <greg_casamento@yahoo.com> 1632 1633 * Headers/AppKit.h: Added NSNib.h to the #ifndef STRICT_OPENSTEP 1634 section of the headers. 1635 16362004-04-02 Quentin Mathe <qmathe@club-internet.fr> 1637 1638 With the help of Fred Kiefer and Alexander Malmberg, the modifications 1639 below are mainly introduced to fix the fact -[NSCell performClick:] 1640 doesn't work correctly when the cell frame is not identical to the 1641 control frame which is displaying it : 1642 * Source/NSButton.m: Removed -performClick: method already present in 1643 the superclass NSControl. 1644 * Headers/AppKit/NSButton.h: Same. 1645 * Source/NSButtonCell.m: Replaced -performClick: method by 1646 -performClickWithFrame:inView: method which overrides new method with 1647 the same name in the superclass NSCell. 1648 * Headers/AppKit/NSButtonCell.h: Same 1649 * Source/NSCell.m: Added a method -performClickWithFrame:inView: 1650 to be used in place of -performClick: method which has been deprecated. 1651 * Headers/AppKit/NSCell.h: Same 1652 * Source/NSControl.m: Modified -performClick: method to use the new 1653 NSCell method -performClickWithFrame:inView:. 1654 * Source/NSPopUpButtonCell.m: Modified 1655 -performClickWithFrame:inView: to override the new method with the 1656 same name in the superclass NSCell. 1657 16582004-04-02 Quentin Mathe <qmathe@club-internet.fr> 1659 1660 * Source/NSWindow+Toolbar.h: Moved into Headers/AppKit 1661 * Headers/AppKit/AppKit.h: Include NSWindow+Toolbar.h now 1662 * Source/GNUMakefile: Modified to reflect this change 1663 16642004-03-29 18:25 Alexander Malmberg <alexander@malmberg.org> 1665 1666 * Source/NSTextView.m (-setSelectedRange:affinity:stillSelecting:): 1667 Always scroll to make the selection visible, and scroll to the right 1668 part of it. (Bug reported by Ludovic Marcotte.) 1669 16702004-03-27 Fred Kiefer <FredKiefer@gmx.de> 1671 1672 * Header/AppKit/NSTableView.h: 1673 Added ivars _selectedColumns and _selectedRows to NSMutableIndexSet. 1674 * Source/NSTableView.m: 1675 * Source/NSOutlineView.m: 1676 Changed all the uses of these ivars and started to restructure the 1677 row selection code. Also removed some (not all) dead code. 1678 16792004-03-23 23:52 Alexander Malmberg <alexander@malmberg.org> 1680 1681 * Headers/Additions/GNUstepGUI/GSToolbar.h, 1682 Headers/Additions/GNUstepGUI/GSToolbarView.h: Add missing includes 1683 to make the headers selfcontained. 1684 16852004-03-23 Quentin Mathe <qmathe@club-internet.fr> 1686 1687 * Source/NSWindow.m: NSToolbar related methods removed. 1688 * Headers/AppKit/NSWindow.h: same (NSToolbar related ivars still 1689 present). 1690 16912004-03-22 18:06 Alexander Malmberg <alexander@malmberg.org> 1692 1693 * Source/NSView.m (-lockFocusInRect:): Don't convert the clipping 1694 rect to the window's coordinate system; the clip is done in the 1695 view's coordinate system. Reported by Georg Fleischmann. 1696 1697 (convert_rect_using_matrices): New function that (correctly) 1698 converts rectangles between views. 1699 1700 (-convertRect:fromView:, -convertRect:toView:): Reimplement using 1701 convert_rect_using_matrices. Document. 1702 17032004-03-22 02:00 Georg Fleischmann <georg@vhf.de> 1704 1705 * Source/NSAffineTransform.m (-rotationAngle): Correct the sign of 1706 the angle and wrap it so that it's always >=0 and <=360. 1707 17082004-03-22 01:13 Alexander Malmberg <alexander@malmberg.org> 1709 1710 * Source/NSLayoutManager.m 1711 (-textStorage:edited:range:changeInLength:invalidatedRange:): Update 1712 layout_char, glyph_delta, and new_last_glyph only if it makes sense 1713 to do so and we need the value. Clarify and correct layout_char 1714 update. Add comments. 1715 17162004-03-14 19:42 Alexander Malmberg <alexander@malmberg.org> 1717 1718 * Source/NSView.m (-hitTest:): Don't require that the point is 1719 inside our super view if we don't have a super view. 1720 17212004-03-14 19:29 Alexander Malmberg <alexander@malmberg.org> 1722 1723 * Source/NSTableView.m (-mouseDown:): Send the action for simple 1724 clicks even if the selection changed. 1725 17262004-03-13 03:19 Alexander Malmberg <alexander@malmberg.org> 1727 1728 * Source/NSLayoutManager.m 1729 (-textStorage:edited:range:changeInLength:invalidatedRange:): Handle 1730 the case where layout_char is inside the modified range explicitly to 1731 avoid accidentally causing the value to wrap around. 1732 1733 (-drawGlyphsForGlyphRange:atPoint:): Remove dead (since the change 1734 2003-11-01) code. Update comments. 1735 17362004-03-12 Quentin Mathe <qmathe@club-internet.fr> 1737 1738 * Source/GSToolbarView.m: Bug fixes related to clipped items and more 1739 efficient code. 1740 * Headers/Additions/GNUstepGUI/GSToolbarView.h: Minor changes. 1741 * Source/NSToolbar.m: Refactored NSToolbar implementation, most part of 1742 the code has moved to GSToolbar. 1743 * Headers/AppKit/NSToolbar.h: Same. 1744 * Source/GSToolbar.m: New class which implements functionnality for the 1745 basic GNUstep toolbars with some bug fixes. 1746 * Headers/Additions/GNUstepGUI/GSToolbar.h: Header for the new basic 1747 GNUstep toolbar class. 1748 * Source/NSWindow+Toolbar.m: Bug fixes. 1749 * Source/NSWindow+Toolbar.h: Minor changes. 1750 17512004-03-12 15:30 Alexander Malmberg <alexander@malmberg.org> 1752 1753 * Source/NSTableView.m (-mouseDown:): Send our action if we get 1754 a single, simple (no drag) click. 1755 17562004-03-08 19:19 Alexander Malmberg <alexander@malmberg.org> 1757 1758 * Source/NSPageLayout.m (-readPrintInfo): Move declarations before 1759 statements. 1760 17612004-03-08 19:04 Alexander Malmberg <alexander@malmberg.org> 1762 1763 * Source/NSComboBoxCell.m (-runModalPopUp): Don't make the popup 1764 the key window. 1765 17662004-03-08 Fred Kiefer <FredKiefer@gmx.de> 1767 1768 * Header/AppKit/NSView.h: 1769 Added ivars _is_hidden, _in_live_resize and _focusRingType. 1770 * Source/NSView.m: 1771 (-canDraw) fully implemented. (-displayIfNeededInRectIgnoringOpacity:, 1772 -displayRectIgnoringOpacity:) use canDraw. (-setFocusRingType:, 1773 -focusRingType, -needsToDrawRect:, -isHidden, -setHidden:, 1774 -inLiveResize, -viewWillStartLiveResize, -viewDidEndLiveResize) 1775 implemented. (-canBecomeKeyView) use isHiddenOrHasHiddenAncestor 1776 instead of isHidden. 1777 17782004-03-07 Adam Fedor <fedor@gnu.org> 1779 1780 * Documentation/Gui/Gui.gsdoc: Use automatic indexing 1781 * Source/DocMakefile (AUTOGSDOC_HEADERS_GUI): Add NSNib, NSOpenGL 1782 NSOpenGLView. 1783 * Source/NSNib.m: Fix doc markup typo. 1784 17852004-03-06 Fred Kiefer <FredKiefer@gmx.de> 1786 1787 * Source/NSActionCell.m: 1788 Removed methods -setFloatValue:, -setIntValue: and setDoubleValue: 1789 17902004-03-06 Fred Kiefer <FredKiefer@gmx.de> 1791 1792 * Header/AppKit/NSSavePanel.h: 1793 Added some ivars for new methods. 1794 * Source/NSSavePanel.m: (-setDelegate:, -_selectTextInColumn:) 1795 implemented delegete calls on selection and directory change, 1796 based on patch by Fabien Vallon. 1797 Basic implementation for some of the new Cocoa methods. 1798 17992004-02-29 Gregory John Casamento <greg_casamento@yahoo.com> 1800 1801 * Source/NSToolbar.m: Added code in 1802 -[NSToolbar insertItemWithIdentifier:atIndex:] to properly 1803 handle when a system defined identifier is passed to the toolbar. 1804 18052004-03-01 Fred Kiefer <FredKiefer@gmx.de> 1806 1807 * Header/AppKit/NSTableView.h: 1808 * Header/AppKit/NSSavePanel.h: 1809 * Source/NSTableView.m: 1810 * Source/NSSavePanel.m: 1811 Declared some more MacOSX 10.3 methods and added place holders for 1812 them. 1813 * Source/NSTextView.m: 1814 Implemented keyed unarchiving. 1815 18162004-02-29 Adam Fedor <fedor@gnu.org> 1817 1818 * Headers/AppKit/NSPageLayout.h: Update tags. 1819 * Images/GNUmakefile: Add page_landscape.tiff, page_portrait.tiff. 1820 * Panels/English.lproj/GSPageLayout.gorm: Update. 1821 * Source/NSPageLayout.m: Internationalize gui text. Update for 1822 gorm changes. (Patches from Fabien Vallon). 1823 18242004-02-28 Adam Fedor <fedor@gnu.org> 1825 1826 * Version 0.9.2 1827 * Documentation/news.texi: Update. 1828 18292004-02-28 Gregory John Casamento <greg_casamento@yahoo.com> 1830 1831 * Source/NSToolbarItem.m: Corrected misspelling of Separator. 1832 * Images/common_ToolbarSeparatorItem.tiff: added, misspelled 1833 image file deleted 1834 * Images/GNUmakefile: Corrected. 1835 18362004-02-29 Fred Kiefer <FredKiefer@gmx.de> 1837 1838 * Header/AppKit/NSApplication.h: 1839 Defined values for the constants NSRunStoppedResponse, 1840 NSRunAbortedResponse, NSRunContinuesResponse. 1841 * Source/NSOpenPanel.m: (-ok:) 1842 * Source/NSSavePanel.m: (-cancel:, -ok:) Use stopModalWithCode: 1843 with the approriate button code. 1844 * Source/NSSavePanel.m: (-runModalForDirectory:file:, 1845 -runModalForDirectory:file:relativeToWindow:) Removed the check 1846 for the pressed button and return the value of the model loop 1847 directly. 1848 * Source/NSBox.m: (-drawRect:) Blank out the title rectangle 1849 here and not delegate this to the title cell via the background 1850 colour. (-initWithFrame:) Use an NSCell instead of an 1851 NSTextFieldCell for the title, as setBackgroundColour: is no 1852 longer needed. 1853 18542004-02-28 Adam Fedor <fedor@gnu.org> 1855 1856 * configure.ac: Don't add CPPFLAGS to ADDITIONAL_INCLUDES, add 1857 ungif and X11 flags to GRAPHIC_... flags. 1858 18592004-02-26 Fred Kiefer <FredKiefer@gmx.de> 1860 1861 * Source/NSApplication.m: (-beginSheet:...contextInfo:) 1862 Corrected signature of didEnd function. 1863 * Source/NSMenu.m: (-update) 1864 Tried to handle case for autoenabling correctly where a popup 1865 button doesn't have an action. 1866 * Source/NSBezierPath.m: (-contributionToContains:) 1867 * Source/NSStringDrawing.m: (cache_match()) 1868 Replaced random() with rand() to increase portability. 1869 18702004-02-24 Quentin Math� <qmathe@club-internet.fr> 1871 committed by Gregory John Casamento <greg_casamento@yahoo.com> 1872 1873 * Headers/Additions/GNUstepGUI/GSToolbarView.h: Changes for 1874 new toolbar implementation. 1875 * Headers/AppKit/NSToolbar.h: same as above. 1876 * Headers/AppKit/NSToolbarItem.h: same... 1877 * GNUmakefile: Added new files 1878 * Source/NSButtonCell.m: Changes to improve the look of 1879 unbordered buttons. 1880 * Source/NSToolbar.m: Changes for new toolbar implementation. 1881 * Source/NSToolbarItem.m: same... 1882 * Source/NSWindow+Toolbar.[hm]: New category to localize 1883 changes for NSToolbar which need to reside in NSWindow. 1884 * Images/common_ToolbarClippedItemsMark.tiff: ">>" image to 1885 show that there are more items which are not being displayed. 1886 18872004-02-24 Fred Kiefer <FredKiefer@gmx.de> 1888 1889 * Headers/Additions/GNUstepGUI/GSDrawFunctions.h: 1890 Corrected misnaming of method in last change. 1891 18922004-02-24 Fred Kiefer <FredKiefer@gmx.de> 1893 1894 * Images/nsmapping.strings: 1895 Added definition for NSMenuMixedState. 1896 * Source/NSButtonCell.m: (-setButtonType:) 1897 * Source/NSMenuItemCell.m: (+initialize) 1898 * Source/NSMenuItem.m: (-initWithTitle:action:keyEquivalent:) 1899 Use image aliases instead of file names. 1900 * Source/GSNibCompatibility.m: Reenabled keyed archiver for 1901 NSWindowTemplate and added missing include. 1902 19032004-02-20 Fred Kiefer <FredKiefer@gmx.de> 1904 1905 * Headers/AppKit/NSView.h: 1906 * Source/NSView.m: (+defaultFocusRingType, 1907 -setKeyboardFocusRingNeedsDisplayInRect:, -setFocusRingType:, 1908 -focusRingType, -setHidden:, -isHidden, 1909 -isHiddenOrHasHiddenAncestor, -wantsDefaultClipping, 1910 -needsToDrawRect:, -getRectsBeingDrawn:count:, -inLiveResize, 1911 -viewWillStartLiveResize, -viewDidEndLiveResize, 1912 -mouseDownCanMoveWindow, -dragPromisedFilesOfTypes:...event:, 1913 -canBecomeKeyView) 1914 Stubs for new MacOSX methods. 1915 19162004-02-17 00:18 Gregory John Casamento <greg_casamento@yahoo.com> 1917 1918 * Headers/NSNib.h: Improved documentation. 1919 19202004-02-15 20:56 Gregory John Casamento <greg_casamento@yahoo.com> 1921 1922 * Source/GSNibCompatibility.m: Removal of keyed archiver 1923 code in deprecated template NSWindowTemplate. I commented this 1924 out as we need to determine how to implement this with the 1925 keyed archiver changes in the new templates. 1926 19272004-02-15 Fred Kiefer <FredKiefer@gmx.de> 1928 1929 * Source/NSLayoutManager.m: 1930 * Source/NSTextContainer.m: 1931 * Source/NSTextStorage.m: 1932 * Source/GSNibCompatibility.m: (NSWindowTemplate 1933 More keyed dearchiving. 1934 * Source/NSView.m: (-initWithCoder:) 1935 Don't keyed decode next responder, as this gets set by superview 1936 anyway. 1937 19382004-02-14 23:05 Gregory John Casamento <greg_casamento@yahoo.com> 1939 1940 * Source/NSNib.[hm]: Corrected previous issue with NSNib. 1941 Uncommented the code and cleaned up the implementation. 1942 19432004-02-14 22:56 Matt Rice <ratmice@yahoo.com> 1944 Alexander Malmberg <alexander@malmberg.org> 1945 1946 * Tools/gopen.m (main): Remove NSTask-based app launching code; always 1947 use [NSWorkspace -launchApplication:] to launch applications. 1948 19492004-02-14 Fred Kiefer <FredKiefer@gmx.de> 1950 1951 * Source/NSOutlineView.m: (-reloadItem:reloadChildren:) Simplified 1952 and corrected code by inlining the method 1953 [_findItem:childIndex:ofParent:]. 1954 19552004-02-13 Fred Kiefer <FredKiefer@gmx.de> 1956 1957 * Source/NSButtonCel.m: (-setObjectValue:, -objectValue) 1958 Implemented to set/return the state. 1959 (-mouseEntered:, -mouseExited:, -drawWithFrame:inView:) 1960 Partially added old showsBorderOnlyWhileMouseInside patch from 1961 Michael Hanni (mhanni@yahoo.com). 1962 * Headers/Additions/GNUstepGUI/GSDrawFunctions.h: 1963 * Source/GSDrawFunctions.m: New gradient border drawing method. 1964 19652004-02-12 Adam Fedor <fedor@gnu.org> 1966 1967 * Documentation/GuiUser/KeyboardSetup.gsdoc: Update. 1968 * Source/DocMakefile (GuiUser_AGSDOC_FILES): Add it. 1969 19702004-02-12 Fred Kiefer <FredKiefer@gmx.de> 1971 1972 * Source/NSOutlineView.m: (-draggingUpdated:) Applied patch from 1973 Andreas Heppel (andreas.heppel@sysgo.com) to determine drag 1974 operation correctly. 1975 19762004-02-11 Fred Kiefer <FredKiefer@gmx.de> 1977 1978 * Source/NSMatrix.m: (-setBackgroundColor:, 1979 -setCellBackgroundColor:, -setDrawsBackground:, 1980 -setDrawsCellBackground:) call setNeedsDisplay: to give better 1981 feedback on change. 1982 19832004-02-11 17:27 Alexander Malmberg <alexander@malmberg.org> 1984 1985 * Headers/Additions/GNUstepGUI/GSServicesManager.h, 1986 Headers/Additions/GNUstepGUI/GSTitleView.h, 1987 Headers/AppKit/NSDrawer.h, Headers/AppKit/NSHelpManager.h, 1988 Headers/AppKit/NSMenuItem.h, Headers/AppKit/NSPrintOperation.h, 1989 Headers/AppKit/NSSpellProtocol.h, Headers/AppKit/NSTableColumn.h, 1990 Headers/AppKit/NSToolbar.h, 1991 Headers/AppKit/NSUserInterfaceValidation.h: Add missing forward 1992 declarations and includes to make all headers self-contained. 1993 19942004-02-11 Fred Kiefer <FredKiefer@gmx.de> 1995 1996 * Source/NSMenuItemCell.m: (-drawBorderAndBackgroundWithFrame:inView:) 1997 Let GSDrawFunctions do the border drawing. Removed caching of 1998 colour class. 1999 * Source/NSImageCell.m: (-drawWithFrame:inView:) Let 2000 GSDrawFunctions do the border drawing. 2001 20022004-02-10 21:48 Alexander Malmberg <alexander@malmberg.org> 2003 2004 * Headers/AppKit/NSFont.h: Add cachedScreenFont ivar. 2005 * Source/NSFont.m: Add GSFontMapKey class and use it to find fonts 2006 in globalFontMap. Replace newNameWithMatrix function with keyForFont. 2007 Update callers. 2008 (-initWithName:matrix:fix:screenFont:role:): Initialize 2009 cachedScreenFont. 2010 (-screenFont): Use cachedScreenFont. 2011 20122004-02-09 03:10 Alexander Malmberg <alexander@malmberg.org> 2013 2014 * configure.ac: Check for X. Add --enable-ungif/--disable-ungif and 2015 --with-ungif-include/--with-ungif-library options. If the check for 2016 libungif fails and X was found, check for libungif again, including 2017 the X libraries. Patch from Kazunobu Kuriyama. 2018 * configure: Regenerate. 2019 20202004-02-08 20:56 Gregory John Casamento <greg_casamento@yahoo.com> 2021 2022 * Source/GSNibTemplates.m: Backout of NSNib modification. 2023 * Source/NSBundleAdditions.m: ditto. 2024 * Source/NSNib.m: Commented out some code and private class. 2025 20262004-02-09 Fred Kiefer <FredKiefer@gmx.de> 2027 2028 * Source/NSLayoutManager.m (-drawGlyphsForGlyphRange:atPoint:) 2029 Replaced explicit colour setting. 2030 * Source/NSTabView.m: (-drawRect:) Use color constant instead of 2031 number in DPSsetgray(). 2032 20332004-02-08 Fred Kiefer <FredKiefer@gmx.de> 2034 2035 * Headers/Additions/GNUstepGUI/GSDrawFunctions.h: Add two more methods. 2036 * Source/GSDrawFunctions.m: Evaluate colour names only ones per 2037 method. Corrected count in drawFramePhoto: and drawButton:. Added 2038 drawGrayBezel: and drawWhiteBezel:. 2039 * Source/NSButtonCell.m: (-drawWithFrame:inView:) use 2040 GSDrawFunctions to draw border. 2041 * Source/NSTabView.m 2042 * Source/NSTabViewItem.m 2043 * Source/NSBundleAdditions.m (NSNibConnector) 2044 Added keyed decoding. 2045 20462004-02-08 Fred Kiefer <FredKiefer@gmx.de> 2047 2048 * Source/Function.m 2049 Corrected NSDrawWhiteBezel(), NSDrawDarkBezel() and 2050 NSDrawLightBezel() to be almost identical to their Cocoa counterparts. 2051 * Source/NSMenuItemCell.m 2052 * Source/NSPopUpButtonCell.m 2053 Corrected keyed decoding. 2054 20552004-02-08 01:36 Gregory John Casamento <greg_casamento@yahoo.com> 2056 2057 * Source/NSNib.m: Added implmentation for this class. 2058 * Headers/AppKit/NSNib.h: Added header for this class. 2059 * Source/GSNibTemplates.m: Modified awakeWithContext:topLevelItems: 2060 to use the NSNibOwner/NSNibTopLevelObjects entries. 2061 * Source/NSBundleAdditions.m: Added code to use NSNib to load 2062 and instantiate the .gorm file. NSNib now contains all of the 2063 .gorm loading code. NSNib currently does not support .gmodel 2064 loading. 2065 20662004-02-07 03:53 Alexander Malmberg <alexander@malmberg.org> 2067 2068 * Source/NSTableView.m (-initWithCoder:): Remove an erroneous 'else' 2069 from the previous change. 2070 20712004-02-06 Fred Kiefer <FredKiefer@gmx.de> 2072 2073 * Source/NSMenu.m (-dealloc) Clean up pointer from items to menu. 2074 * Source/NSMenuView.m (-update) Removed the setting of the menu 2075 for the title view. Patch by Quentin Math� 2076 (gnustep-quentin@club-internet.fr) 2077 * Source/NSActionCell.m 2078 * Source/NSComboBoxCell.m 2079 * Source/NSTableColumn.m 2080 * Source/NSTableView.m 2081 * Source/NSTextField.m 2082 * Source/NSTextFieldCell.m 2083 Added keyed decoding. 2084 20852004-02-05 21:04 Alexander Malmberg <alexander@malmberg.org> 2086 2087 * Source/GSTitleView.m: Fix declarations after statements. 2088 20892004-02-05 Fred Kiefer <FredKiefer@gmx.de> 2090 2091 * Source/NSMenu.m 2092 * Source/NSMenuItem.m 2093 * Source/NSPopUpButtonCell.m 2094 Added keyed decoding. 2095 20962004-02-04 01:24 Alexander Malmberg <alexander@malmberg.org> 2097 2098 * Source/NSView.m: Remove uses of the deprecated "casts as lvalues" 2099 gcc extension. 2100 21012004-02-03 23:38 Alexander Malmberg <alexander@malmberg.org> 2102 2103 * Source/NSBitmapImageRep.m (+imageRepsWithFile:, 2104 _initFromWrasterFile:, _wrasterFileTypes): Remove obsolete libwraster 2105 image loading hack. Update callers. 2106 2107 * Source/NSImageRep.m (+imageRepsWithContentsOfFile:): Remove uses 2108 of the removed NSBitmapImageRep methods. 2109 21102004-02-02 Fred Kiefer <FredKiefer@gmx.de> 2111 2112 * Source/NSFont.m 2113 Try to get at least some font on keyed decoding. 2114 * Source/NSTextFieldCell.m 2115 * Source/NSImageCell.m 2116 * Source/NSImageView.m 2117 * Source/NSBox.m 2118 * Source/NSSplitView.m 2119 Added keyed decoding. 2120 21212004-02-01 Fred Kiefer <FredKiefer@gmx.de> 2122 2123 * Source/NSTextFieldCell.m (-setBackgroundColor:, 2124 -setDrawsBackground:, setTextColor:) tell the control, that the 2125 cell did update. 2126 21272004-01-30 Fred Kiefer <FredKiefer@gmx.de> 2128 2129 * Source/NSBrowser.m 2130 * Source/NSBrowserCell.m 2131 * Source/NSButtonCell.m 2132 * Source/NSCell.m 2133 * Source/NSClipView.m 2134 * Source/NSColor.m 2135 * Source/NSControl.m 2136 * Source/NSCursor.m 2137 * Source/NSFont.m 2138 * Source/NSProgressIndicator.m 2139 * Source/NSScroller.m 2140 * Source/NSScrollView.m 2141 * Source/NSView.m 2142 Added keyed decoding. 2143 21442004-01-26 Adam Fedor <fedor@gnu.org> 2145 2146 * /Headers/Additions/GNUstepGUI/GSHbox.h: Fix doc markup. 2147 * Headers/Additions/GNUstepGUI/GSTable.h: Idem. 2148 * Source/NSApplication.m: Idem. 2149 2150 * Source/DocMakefile (GuiAdditions_AGSDOC_FILES): 2151 Add GuiAdditions.gsdoc 2152 21532004-01-26 Fred Kiefer <FredKiefer@gmx.de> 2154 2155 * Source/NSPopUpButton.m (-setTitle:) Call 2156 [synchronizeTitleAndSelectedItem], this may as well belong into 2157 the cells setTitle: method instead. 2158 21592004-01-25 Fred Kiefer <FredKiefer@gmx.de> 2160 2161 * Source/NSAffineTransform.m: Exchanged the code of 2162 appendTransform: and prePendTransform: to be Cocoa compatibile. 2163 (-concatenateWith:) replaced appendTransform: with prependTransform:. 2164 * Source/NSPrintOperation.m: (NSView 2165 -_displayPageInRect:atPlacement:withInfo:) Item. 2166 * Source/NSView.m (+initialize, -_rebuildCoordinates) Item. 2167 21682004-01-25 16:16 Alexander Malmberg <alexander@malmberg.org> 2169 2170 * Source/NSStringDrawing.m: Big redesign. 2171 2172 (cache_match, cache_lookup_string, cache_lookup_attributed_string, 2173 use_screen_fonts): New helper functions for caching layout 2174 information. 2175 2176 (init_string_drawing, [NSAttributedString -drawAtPoint:], 2177 [NSAttributedString -drawInRect:], [NSAttributedString -size], 2178 [NSString -drawAtPoint:withAttributes:], 2179 [NSString -drawInRect:withAttributes:], 2180 [NSString -sizeWithAttributes:]): Reimplement using the cache system 2181 and the new helper functions. 2182 21832004-01-25 Fred Kiefer <FredKiefer@gmx.de> 2184 2185 * Source/NSWindow.m (-orderWindow:relativeTo:): In OrderOut case 2186 cancle _handleWindowNeedsDisplay unconditional. (-close): Don't 2187 cancle _handleWindowNeedsDisplay as this gets done by the 2188 following [orderOut:] call. These changes adopt to a previous 2189 change in [_handeWindowNeedsDisplay:] to always resend itself. 2190 21912004-01-25 04:15 Alexander Malmberg <alexander@malmberg.org> 2192 2193 * Source/NSLayoutManager.m (-invalidateDisplayForCharacterRange:, 2194 -textStorage:edited:range:changeInLength:invalidatedRange:): Adjust 2195 a few edge cases so that no work is done if there is no existing 2196 layout information. 2197 21982004-01-24 15:17 Gregory John Casamento <greg_casamento@yahoo.com> 2199 2200 * Headers/AppKit/NSDataLink.h: Added ivars. 2201 * Source/NSDataLink.m: Added implementation of some methods. 2202 22032004-01-23 21:32 Gregory John Casamento <greg_casamento@yahoo.com> 2204 2205 * Source/GSNibTemplates.m: Removal of some commented out test code. 2206 22072004-01-22 13:15 Alexander Malmberg <alexander@malmberg.org> 2208 2209 * Source/NSFontPanel.m (-_initWithoutGModel): Use -setTitle: to set 2210 the titles of the buttons, not -setStringValue:. Patch from Matt 2211 Rice. 2212 22132004-01-22 13:09 Alexander Malmberg <alexander@malmberg.org> 2214 2215 * Source/NSButton.m: Rename _nsbuttonCellClass to buttonCellClass 2216 and make it static. 2217 22182004-01-22 13:06 Alexander Malmberg <alexander@malmberg.org> 2219 2220 * Source/NSActionCell.m (-encodeWithCoder:): Encode nil instead of 2221 the control view. 2222 22232004-01-22 13:04 Alexander Malmberg <alexander@malmberg.org> 2224 2225 * Headers/Additions/GNUstepGUI/GSDrawFunctions.h: Add missing 2226 include guards. 2227 2228 * Source/GSDrawFunctions.m: Correct misspellings and clarify the 2229 documentation. 2230 22312004-01-22 12:16 Alexander Malmberg <alexander@malmberg.org> 2232 2233 * Model/GMAppKit.m ([NSFont +createObjectForModelUnarchiver:]): 2234 If there's no font of the decoded name, fall back to the system 2235 font of the decoded size. 2236 22372004-01-19 Kazunobu Kuriyama <kazunobu.kuriyama@nifty.com> 2238 2239 * GNUmakefile.postamble (after-distclean): Fix deletion of config.make. 2240 22412004-01-18 Adam Fedor <fedor@gnu.org> 2242 2243 * Source/GSDrawFunctions.m: New class. 2244 * Source/NSBox.m ([NSBox -drawRect:]): Use it. 2245 22462004-01-17 Serg Stoyan <stoyan@on.com.ua> 2247 2248 * Source/NSBrowser.m: 2249 (frameOfColumn:): Adjust horizontal position if browser doesn't have 2250 horizontal scroller. 2251 (tile): Adjust column height if browser doesn't have horizontal 2252 scroller. 2253 (drawRect:): Better handling of cases with and without horizontal 2254 scroller. 2255 22562004-01-16 Fred Kiefer <FredKiefer@gmx.de> 2257 2258 * Headers/AppKit/NSImageView.h: Added ivars for traget and action. 2259 * Source/NSImageView.m: Implemented target and action handling and 2260 sending of the action when an image gets dropped on the 2261 view. Patch by Kazunobu Kuriyama (kazunobu.kuriyama@nifty.com) 2262 22632004-01-15 Serg Stoyan <stoyan@on.com.ua> 2264 2265 * Images/common_MiniWindowTile.m: New file. 2266 * Images/common_Tile.m: Updated. 2267 * Images/GNUmakefile: Added common_MiniWindowTile.tiff. 2268 2269 * Source/NSWindow.m (NSMiniWindowView): 2270 (+initialize): Use common_MiniWindowTile.tiff 2271 (-drawRect:): Move imageCell down to avoid overlapping with title. 2272 (-setTitle:): Do not draw background; common_MiniWindowTile.tiff now 2273 has title background. 2274 2275 * Source/GSTitleView.[hm]: 2276 Added closeButton and miniaturizeButton methods to access title 2277 buttons. Added initWithOwner: method. Comments added. Cleanup. 2278 (dealloc): Remove observer. Release textAttributes and titleColor. 2279 Don't release closeButton and miniaturizeButton. 2280 (setOwner:): Observe NSApplication activate/deactivate notifications. 2281 Add title buttons according to the window style mask. 2282 2283 * Source/NSMenuView.m: 2284 (update): Use GSTitleView's initWithOwner: method. Cleanup. 2285 22862004-01-13 Serg Stoyan <stoyan@on.com.ua> 2287 2288 * Source/NSMenuView.m (trackWithEvent:): Changed checking for 2289 highlighted item. Old checking have a problems when 2290 _highlightedItemIndex changed after performActionForItemAtIndex:, 2291 for example when selecting "Close Window" in detached "Windows" 2292 submenu. 2293 22942004-01-12 Serg Stoyan <stoyan@on.com.ua> 2295 2296 * Source/GSTitleView.m (setOwner): Recognize class that responds 2297 to menuRepresentation method as NSMenu derived class. Fix for Gorm. 2298 Use isKindOfClass: instead of class names comparison. 2299 2300 * Images/GNUmakefile: Added common_Miniaturize*.tiff to IMAGE_FILES. 2301 * Images/common_CloseBroken.tiff: Updated. 2302 * Images/common_CloseBrokenH.tiff: Added. 2303 2304 * Images/common_WMClose.tiff: Deleted. 2305 * Images/common_WMCloseBroken.tiff: Ditto. 2306 2307 * Source/NSApplication.m: (setImageForWindowsItem:): Use common_Close 2308 and common_CloseBroken images instead of removed common_WMClose and 2309 common_WMCloseBroken. 2310 23112004-01-11 Fred Kiefer <FredKiefer@gmx.de> 2312 2313 * Source/GSTextStorage.m (_setAttributesFrom): Initialize 2314 range in the aRange.length==0 case. (Found by Andrew Ruder using 2315 valgrind.) This mirrors the patch to base/GSAttributedString.m. 2316 23172004-01-12 Serg Stoyan <stoyan@on.com.ua> 2318 2319 * Source/GSTitleView.m: 2320 (+height): return at least 23 pixels. 2321 (-mouseDown:): Make submenu torn off only after mouse released and if 2322 menu position changed(so submenu isn't made torn off just clicking on 2323 the title). 2324 23252004-01-11 Serg Stoyan <stoyan@on.com.ua> 2326 2327 * Headers/Additions/GNUstepGUI/GSTitleView.h: new file. 2328 * Source/GSTitleView.m: ditto. 2329 2330 * Images/common_Close.tiff: updated for GSTitleView. 2331 * Images/common_CloseH.tiff: ditto. 2332 * Images/common_Miniaturize.tiff: new file. 2333 * Images/common_MiniaturizeH.tiff: ditto. 2334 2335 * Source/NSMenuView.m: modified to use GSTitleView for menu title. 2336 NSMenuWindowTitleView class removed. 2337 23382004-01-10 18:53 Gregory John Casamento <greg_casamento@yahoo.com> 2339 2340 * Source/GSNibTemplates.m: The unarchiver was failing when 2341 decoding objects which contain references to themselves 2342 (e.g. NSTabView). When an object contains a class/item which 2343 refers to it's parent it should receive the new object and not 2344 the template. I modified the initWithCoder: method of GSClassSwapper 2345 to correct the issue. 2346 23472004-01-10 Adam Fedor <fedor@gnu.org> 2348 2349 * orderFront fixes 2350 * Source/NSWindow.m (-orderFront:): Remove NSApp isActive 2351 check. 2352 (-orderFrontRegardless): Update for special case (otherWin=-1) 2353 (-orderWindow:relativeTo:): Pass -1 for otherWin to backend 2354 if we're the current app. 2355 2356 * Source/GSDisplayServer.m: Update documentations. 2357 2358 * Source/NSApplication.m (-changeWindowsItem:title:filename:): Revert 2359 patch from 2003-10-20. 2360 23612004-01-10 16:36 Alexander Malmberg <alexander@malmberg.org> 2362 2363 * Source/NSScrollView.m (-drawRect:): Indentation fixes after last 2364 patch. 2365 23662004-01-09 Serg Stoyan <stoyan@on.com.ua> 2367 2368 * Source/NSBrowser.m: 2369 (drawRect:) Cosmetic changes in drawing of column separators 2370 and horizontal scroller border. 2371 2372 * Source/NSScrollView.m: 2373 (drawRect): Calculate separator line usning scoller frame. Remove 2374 header view counting cases. 2375 2376 * Source/NSScroller.m: 2377 (drawKnobSlot): Always draw background. Even if there's no room 2378 for scroller parts. 2379 23802004-01-08 23:26 Alexander Malmberg <alexander@malmberg.org> 2381 2382 * Source/NSBitmapImageRep+GIF.m: Re-#define Object across the 2383 include of gif_lib.h . (Reported by Stefan Kleine Stegemann.) 2384 23852004-01-08 19:41 Alexander Malmberg <alexander@malmberg.org> 2386 2387 * configure.ac: Add a check for libungif. 2388 * configure, Headers/Additions/GNUstepGUI/config.h.in: Regenerate. 2389 2390 * Source/GNUmakefile: Add NSBitmapImageRep+GIF.m. 2391 2392 * Source/NSBitmapImageRep+GIF.m, Source/NSBitmapImageRep+GIF.h: 2393 New files with the GIF image loader. 2394 2395 * Source/NSBitmapImageRep.m (+canInitWithData:) Check if the GIF 2396 loader can handle the data. 2397 (+imageUnfilteredFileTypes): Add ".gif". 2398 (+imageRepsWithData:, -initWithData:): Use the GIF loader to load 2399 GIF images. 2400 24012004-01-08 Fred Kiefer <FredKiefer@gmx.de> 2402 2403 * Source/NSActionCell.m (-initWithCoder:) Don't decode the control 2404 view, as this may be a Gorm placeholder or otherwise invalid. 2405 * Source/GSDisplayServer.m: 2406 (-discardEventsMatchingMask:beforeEvent:), 2407 (getEventMatchingMask:beforeDate:inMode:dequeue:) Use function 2408 NSEventMaskFromType instead of explicit switch statement where a 2409 few entries where missing. 2410 24112004-01-08 01:24 Alexander Malmberg <alexander@malmberg.org> 2412 2413 * Source/NSActionCell.m (-setObjectValue:): Change the argument type 2414 to id from 'NSString *'. 2415 24162004-01-08 00:47 Alexander Malmberg <alexander@malmberg.org> 2417 2418 * configure.ac: Fail with a verbose error message if libjpeg or 2419 libpng can't be found. Add --disable-jpeg/--disable-png options that 2420 override this. 2421 * configure: Regenerate. 2422 2423 * Source/GNUmakefile: Add NSBitmapImageRep+JPEG.m, 2424 NSBitmapImageRep+PNG.m, and NSBitmapImageRep+PNM.m . 2425 2426 * Source/NSBitmapImageRep.m (+canInitWithData:) Check if one of the 2427 new loaders can handle the data. 2428 (+imageUnfilteredFileTypes): Include the types from the new loaders. 2429 (+imageRepsWithData:, -initWithData:): Use the new loaders to load 2430 images. 2431 2432 * Source/NSBitmapImageRep+JPEG.m, Source/NSBitmapImageRep+JPEG.h, 2433 Source/NSBitmapImageRep+PNG.m, Source/NSBitmapImageRep+PNG.h, 2434 Source/NSBitmapImageRep+PNM.m, Source/NSBitmapImageRep+PNM.h: 2435 New files with image loaders for JPEG, PNG, and PNM. 2436 24372004-01-07 Fred Kiefer <FredKiefer@gmx.de> 2438 2439 * Headers/Additions/GNUstepGUI/GSHbox.h: 2440 * Headers/Additions/GNUstepGUI/GSVbox.h: 2441 Cleaned up to remove compiler warnings. 2442 * Source/NSDataLinkPanel.m: Added include of GSGuiPrivate.h to 2443 remove compiler warning. 2444 * Source/NSPrintInfo.m: Removed unused global paperSizes. 2445 * Source/NSScroller.m: (-trackKnob:) Initialise presentEvent. 2446 24472004-01-06 23:39 Gregory John Casamento <greg_casamento@yahoo.com> 2448 2449 * Source/NSSpellServer.m: Documentation. 2450 * Headers/AppKit/NSSpellServer.h: Documentation. 2451 24522004-01-06 21:58 Gregory John Casamento <greg_casamento@yahoo.com> 2453 2454 * Source/NSAffineTransform.m: More documentation. 2455 24562004-01-07 02:51 Alexander Malmberg <alexander@malmberg.org> 2457 2458 * Source/NSSplitView.m (-mouseDown:): Use an NSDebugLLog when we get 2459 an event in a subview area instead of an NSLog. 2460 24612004-01-04 02:32 Gregory John Casamento <greg_casamento@yahoo.com> 2462 2463 * Source/NSApplication.m: Documentation. 2464 * Source/NSAffineTransform.m: Documentation. 2465 24662004-01-03 23:36 Gregory John Casamento <greg_casamento@yahoo.com> 2467 2468 * Source/GSNibTemplates.m: Removed some uneeded includes. 2469 24702004-01-03 Ludovic Marcotte <ludovic@Sophos.ca> 2471 2472 * Source/NSOutlineView.m: Started to fix the DnD code. 2473 Modified -mouseDown: to not select the row when clicking 2474 only on the expand/collapse image. Rewrote 2475 -noteNumberOfRowsChanged to correctly restore the list 2476 of selected rows after an expand/collapse operation. 2477 Also did some general cleanups. More to come on this class. 2478 24792004-01-03 19:00 Gregory John Casamento <greg_casamento@yahoo.com> 2480 2481 * Source/NSBundleAdditions.m: Removed some uneeded includes. 2482 24832004-01-01 23:22 Gregory John Casamento <greg_casamento@yahoo.com> 2484 2485 * Source/NSBundleAdditions.m: Moved the declaration of 2486 nibitems in loadNibFile:externalNameTable:withZone: so 2487 that it can be released if there is an exception. 2488 * Source/NSActionCell.m: Documentation. 2489 * Source/NSScreen.m: Documentation. 2490 24912003-12-31 01:07 Alexander Malmberg <alexander@malmberg.org> 2492 2493 * KeyBindings/DefaultKeyBindings.dict: Uncomment the 2494 moveUpAndModifySelection: and moveDownAndModifySelection: 2495 entries. 2496 24972003-12-31 00:37 Alexander Malmberg <alexander@malmberg.org> 2498 2499 * Source/NSTextView.m (-setSelectedRange:affinity:stillSelecting:): 2500 Make sure oldRange is always initialized. 2501 25022003-12-30 Fred Kiefer <FredKiefer@gmx.de> 2503 2504 * Source/NSBundleAdditions.m (-pathForNibResource:) ignore 2505 extension "nib", so "gorm" or "gmodel" get used instead. 2506 25072003-12-30 Fred Kiefer <FredKiefer@gmx.de> 2508 2509 * Headers/AppKit/NSAffineTransform.h: Corrected element names tX 2510 and TY of structure NSAffineTransformStruct to fit Cocoa naming. 2511 * Source/NSAffineTransform.m 2512 * Source/NSView.m (-_rebuildCoordinates) 2513 * Source/NSPrintOperation.m (-_displayPageInRect:atPlacement:withInfo:) 2514 Adopted to change of NSAffineTransformStruct elements. 2515 * Source/Function.m 2516 Implemented NSDrawWindowBackground(), NSDrawDarkBezel() and 2517 NSDrawLightBezel(). 2518 * Source/NSTableHeaderView.m (-drawRect:) Use NSDrawTiledRects() 2519 instead of DPS operations. 2520 25212003-12-30 00:48 Gregory John Casamento <greg_casamento@yahoo.com> 2522 2523 * Source/NSBundleAdditions.m: Added private class to collect 2524 top level items (controllers) which are instantiated in the 2525 .gorm file. This and the change to GSNibContainer provide a 2526 much cleaner way of retaining the top level items in the .gorm 2527 file without requiring a new special entry in the nameTable. 2528 * Source/GSNibContainer.[hm]: Renamed method awakeWithContext: 2529 to awakeWithContext:topLevelItems: to allow passing in the 2530 items collected. Also added code to add the GSNibItems which 2531 are in the archive to the instance of the private class which 2532 is created. 2533 25342003-12-29 20:43 Gregory John Casamento <greg_casamento@yahoo.com> 2535 2536 * Source/GSNibTemplates.m: removed extraneous retain in 2537 GSClassSwapper which was causing the retain counts of 2538 custom classes to be one too many. 2539 25402003-12-29 Adam Fedor <fedor@gnu.org> 2541 2542 * Source/NSApplication.m (-activateIgnoringOtherApps:): Change 2543 location of _inactive count calculation. 2544 2545 * Documentation/gnustep-gui.texi: Move class documentation... 2546 * Headers/Additions/GNUstepGUI/GSHbox.h: ...to here. 2547 * Headers/Additions/GNUstepGUI/GSTable.h: and here. 2548 * Headers/Additions/GNUstepGUI/GSVbox.h: and here. 2549 25502003-12-28 19:33 Gregory John Casamento <greg_casamento@yahoo.com> 2551 2552 * Headers/AppKit/NSMenuItem.h: Added documentation for many 2553 of the methods in NSMenuItem. 2554 * Source/GSNibTemplates.m: Further refinements on the earlier 2555 memory leak fix. 2556 25572003-12-25 00:03 Gregory John Casamento <greg_casamento@yahoo.com> 2558 2559 * Source/NSDataLinkPanel.m: Changed to use the correct method 2560 to find and load the .gorm file for the panel. 2561 25622003-12-23 13:46 Gregory John Casamento <greg_casamento@yahoo.com> 2563 2564 * Source/GSNibTemplates.m: Added a loop which retains only the 2565 top level objects in the nameTable. Also added some conditions 2566 which prevent some of the special entries in the nametable from 2567 having awakeFromNib called unnecessarily. Added code 2568 which implements the NSTopLevelObjects undocumented feature which 2569 allows users to get the top level objects in an array so that they 2570 can be easily released. Tightened up memory management. 2571 * Source/NSBundleAdditions.m: Removed extra retain which was 2572 causing the container to leak. 2573 25742003-12-23 18:13 Alexander Malmberg <alexander@malmberg.org> 2575 2576 * Source/NSWindow.m (-_handleWindowNeedsDisplay:): Disable flushing 2577 while displaying the window and flush after all displaying is done. 2578 25792003-12-06 14:03 Alexander Malmberg <alexander@malmberg.org> 2580 2581 * Source/NSTextView.m (-readSelectionFromPasteboard:type:, 2582 NSTIFFPboardType): Send -setFileWrapper: to the attachment after 2583 setting the wrapper's icon to force an update of the attachment's 2584 image. Reported by Fabien Vallon. 2585 25862003-12-03 02:54 Alexander Malmberg <alexander@malmberg.org> 2587 2588 * Source/GNUmakefile.postamble (after-clean): Add a missing ':'. 2589 Reported by Matt Rice. 2590 25912003-12-02 Adam Fedor <fedor@gnu.org> 2592 2593 * Source/GNUmakefile.postamble (libgnustep-gui.def): Generate at 2594 compile time using the proper dependencies. 2595 25962003-12-01 Serg Stoyan <stoyan@on.com.ua> 2597 2598 * Headers/AppKit/NSButton.h: Add setHighlightsBy: and 2599 setShowsStateBy: methods. 2600 * Source/NSButton.m: Implement setHighlightsBy: and setShowsStateBy: 2601 methods 2602 2603 * Source/NSPanel.m: 2604 Removed TODO about message font size. 2605 (-sendEvent:): Cast self when compared with iconWindow to omit 2606 compiler warning. 2607 (-_initWithoutGModel): Center title vertically relatively to image. 2608 Some comments added. Use NSButton's setHighlightsBy for default 2609 button of altert panel. 2610 (-sizePanelToFit): Center message text horizontally. 2611 2612 * Images/common_ret.tiff: Edit to be more NeXTish. 2613 * Images/common_retH.tiff: Ditto. 2614 26152003-11-29 Fred Kiefer <FredKiefer@gmx.de> 2616 2617 * Source/NSWindow.m (+initialize) cache runloop modes. 2618 (-_handleWindowNeedsDisplay:) and (-orderWindow:relativeTo:) use cached modes. 2619 26202003-11-29 Fred Kiefer <FredKiefer@gmx.de> 2621 2622 * Source/NSCell.m (-setTitleWithMnemonic:) use [setTitle:] instead 2623 of [setStringValue:]. 2624 (-mnemonic) use [title] instead of [stringValue]. 2625 26262003-11-28 Fred Kiefer <FredKiefer@gmx.de> 2627 2628 * Source/NSBezierPath.m (-bezierPathByReversingPath) return create 2629 path not self. 2630 (-containsPoint) new implementation, that respects the winding rule. 2631 26322003-11-26 23:55 Alexander Malmberg <alexander@malmberg.org> 2633 2634 * Source/NSWindow.m (-sendEvent:): Ignore most events sent to 2635 windows that have been ordered out. 2636 * Source/NSPanel.m (-sendEvent:): Synchronize with [NSWindow 2637 -sendEvent:]. 2638 26392003-11-26 23:54 Alexander Malmberg <alexander@malmberg.org> 2640 2641 * Source/NSView.m (-autoscroll:): Document. 2642 26432003-11-26 15:00 Alexander Malmberg <alexander@malmberg.org> 2644 2645 * Source/GSGuiPrivate.h: Fix GSGuiBundle() prototype. 2646 26472003-11-26 14:47 Alexander Malmberg <alexander@malmberg.org> 2648 2649 * Headers/AppKit/NSApplication.h: Add -_windowWillDealloc:. 2650 * Source/NSApplication.m: Fix some prototypes. 2651 (-_windowWillDealloc:): Implement. 2652 * Source/NSWindow.m (-dealloc): Call -_windowWillDealloc: so NSApp 2653 can clear any unretained references to the window. 2654 26552003-11-25 17:16 Alexander Malmberg <alexander@malmberg.org> 2656 2657 * Source/NSWindow.m (-orderWindow:relativeTo:): Start the window 2658 auto-display performer when a window is ordered in regardless of 2659 whether it needs display right now or not. 2660 26612003-11-23 Adam Fedor <fedor@gnu.org> 2662 2663 * Version 0.9.1 2664 26652003-11-22 Fred Kiefer <FredKiefer@gmx.de> 2666 2667 * Source/NSBrowser.m (-tile) corrected computation of columnCount, 2668 so that at least one column gets diplayed, even when this is 2669 smaller than the minColumnwidth. 2670 * Source/NSMatrix.m (-drawRect:) corrected clipping of row2, here 2671 row1 had been tested. 2672 * Source/NSScrollView.m (-drawRect:) removed the saving of the context. 2673 26742003-11-22 15:07 Alexander Malmberg <alexander@malmberg.org> 2675 2676 * Source/GSNibTemplates.m ([GSNibContainer -awakeWithContext:]): 2677 Don't release connections when enumerating them; they're owned 2678 by the array. Partial fix for bug #6354. 2679 26802003-11-19 21:53 Alexander Malmberg <alexander@malmberg.org> 2681 2682 * Source/NSTextView.m (-sizeToFit): If we are horizontally resizable 2683 and the inset width is 0, increase our width by 1. 2684 26852003-11-19 17:06 Alexander Malmberg <alexander@malmberg.org> 2686 2687 * Tools/GNUmakefile, Tools/example.m, Tools/exampleInfo.plist, 2688 Tools/md5Digest.m: Move example.service and md5Digest.app to 2689 usr-apps/examples/gui/ExampleService/. 2690 26912003-11-19 Adam Fedor <fedor@gnu.org> 2692 2693 * Window Focus fixes. 2694 * Source/NSApplication.m (-activateIgnoringOtherApps:): Make 2695 hidden_key key only if we have no key, make main key if neither, 2696 make menu key as last resort. 2697 (-deactivate): Resign main window. 2698 (Patches from Benhur Stein <benhur@inf.ufsm.br>). 2699 (-unhideWithoutActivation): Set hidden=no before ordering windows 2700 to avoid possible recursive loops. 2701 * Source/NSWindow.m (-sendEvent:)(NSLeftMouseDown): Activate app 2702 after ordering window front. 2703 (-sendEvent:)(GSAppKitWindowFocusIn): Don't make ourselves key 2704 if we're not the modal window. Remove check for app isHidden. 2705 27062003-11-19 03:17 Alexander Malmberg <alexander@malmberg.org> 2707 2708 * Source/NSClipView.m (-autoscroll:): Reimplement correctly. 2709 2710 * Source/NSTextView.m (-mouseDown:): When the mouse is outside 2711 the view, autoscroll smoothly using periodic events. 2712 27132003-11-18 21:43 Alexander Malmberg <alexander@malmberg.org> 2714 2715 * Source/NSEvent.m (-description): Remove a stray , that was messing 2716 up a +stringWithFormat: call. Make eventTypes static. 2717 27182003-11-11 14:41 Gregory John Casamento <greg_casamento@yahoo.com> 2719 2720 * Source/NSApplication.m: (-targetForAction:): Added code to check the 2721 document of the main window as well. 2722 * NSToolbar.m: Additional implementation. 2723 * NSWindow.[hm]: Added some code for drawing the toolbar. 2724 * GSToolbarView.h: added initWithToolbar: method. 2725 27262003-11-07 15:28 Alexander Malmberg <alexander@malmberg.org> 2727 2728 * Source/NSControl.m (-mouseDown:): Rewrite to use -setHighlighted: 2729 and the normal drawing mechanisms instead of trying to draw and flush 2730 manually. (Fixes a bunch of visual glitches.) 2731 27322003-11-07 14:42 Alexander Malmberg <alexander@malmberg.org> 2733 2734 * Source/NSInputManager.m (-loadBindingsFromFile:): Handle errors 2735 directly instead of using (broken) exception code. 2736 27372003-11-01 18:19 Alexander Malmberg <alexander@malmberg.org> 2738 2739 * Source/NSLayoutManager.m (-drawGlyphsForGlyphRange:atPoint:): 2740 If a range of glyphs has no color set, use the default text color 2741 (as returned by [NSColor textColor]) instead of assuming black. 2742 27432003-10-30 00:38 Alexander Malmberg <alexander@malmberg.org> 2744 2745 * Source/NSImage.m (iterate_reps_for_types, repd_for_rep): Make 2746 static. 2747 * Source/NSStepperCell.m (DrawUpButton, DrawDownButton, 2748 HighlightUpButton, HighlightDownButton): Idem. 2749 2750 * Source/NSPrintInfo.m: Make the "class variables" static. 2751 * Source/NSProgressIndicator.m: Idem. 2752 27532003-10-29 Bjorn Giesler <bjoern@giesler.de> 2754 2755 * Source/externs.m: New MacOS 10.3 pasteboard types 2756 * Headers/AppKit/NSPasteboard.h: New MacOS 10.3 pasteboard types 2757 27582003-10-29 Richard Frith-Macdonald <rfm@gnu.org> 2759 2760 * Source/GSDisplayServer.m: ([-dealloc]) remove deallocated server 2761 from windowsmap to avoid segfault on app shuytdown ... fix suggested 2762 by benhur@inf.ufsm.br 2763 27642003-10-29 02:22 Alexander Malmberg <alexander@malmberg.org> 2765 2766 * Source/GSServicesManager.m (-updateServicesMenu): Always enable 2767 an item with a submenu. 2768 27692003-10-28 Richard Frith-Macdonald <rfm@gnu.org> 2770 2771 * Source/NSSavePanel.m: Change to have entire window accept DnD. 2772 * Source/NSWindow.m: Fix to get whole window DnD working, also 2773 to enable propogation of drag events up the view hierarchy to the 2774 first drag-aware view ... Adam reports that this seems to be the 2775 behavior on MacOS-X too. 2776 27772003-10-28 Richard Frith-Macdonald <rfm@gnu.org> 2778 2779 * Source/NSOpenPanel.m: Allow users to type in an absolute path name. 2780 Support DnD of filename into panel. 2781 * Source/NSSavePanel.m: ditto. Also, if the name of a non-existent 2782 directory is typed in, provide a prompt to create the directory as 2783 in NeXTstep/OPENSTEP. 2784 27852003-10-27 Richard Frith-Macdonald <rfm@gnu.org> 2786 2787 * Source/GSServicesManager.m: Tidy last patch to match use of 2788 whitespace etc in GNUstep code. 2789 * Source/GSDisplayManager.m: 2790 (-getEventMatchingMask:beforeDate:inMode:dequeue:) fix incorrect 2791 termination ... should terminate when limit date has passed, 2792 irrespective of the state of any input sources. 2793 * Source/NSApplication.m: ([-runModalForWindow:]) wait for new events 2794 between calls to ([-runModalSession:]) 2795 ([-runModalSession:]) rewritten to handle multiple events, but only 2796 those events which are available ... ie don't wait for more. 2797 Requires latest base library from CVS to get modified/corrected 2798 runloop behavior. 2799 28002003-10-26 15:18 Alexander Malmberg <alexander@malmberg.org> 2801 Matt Rice <ratmice@yahoo.com> 2802 2803 * Source/NSFontManager.m (-availableFonts, -availableFontFamilies, 2804 availableMembersOfFontFamily:): Don't check delegate; always return 2805 all fonts. 2806 (-_includeFont:): Move... 2807 2808 * Source/NSFontPanel.m (_includeFont:delegate:): Here. 2809 (-_familySelectionChanged:, reloadDefaultFontFamilies): Use that 2810 method to check with the delegate which fonts should be included in 2811 the font panel. 2812 (-_doPreview, -_fontForSelection:): Check that the face list isn't 2813 empty before accessing it. 2814 (-_getOriginalSize): Move to the Private category to match the 2815 @interface. 2816 28172003-10-25 16:52 Gregory John Casamento <greg_casamento@yahoo.com> 2818 2819 * Source/GSNibTemplates.m: initWithFrame is not supposed to be called 2820 on subclasses of NSControl as the designated initializer according to 2821 docs. Removed the call. 2822 * Source/GSNibCompatibility.[hm]: Added in the old templates for 2823 compatibility ONLY. This is so any of the older .gorms which use 2824 these templates can be loaded and used normally. 2825 * Source/NSOutlineView.m: Corrected a documentation issue. 2826 28272003-10-25 12:53 Matt Rice <ratmice@yahoo.com> 2828 2829 * Source/NSWorkspace.m (-_connectApplication:): Ignore the path to 2830 the application when extracting the port name. (Committed by 2831 Alexander Malmberg.) 2832 28332003-10-24 Richard Frith-Macdonald <rfm@gnu.org> 2834 2835 * Source/NSWorkspace.m: Change a few uses of '/' in strings to 2836 use stringByAppendingPatchComponent: 2837 * Tools/gopen.m: Fix to pass the full path of the file to the 2838 app being used to open it, so relative paths in the arguments 2839 work properly. 2840 28412003-10-21 Bjorn Giesler <bjoern@giesler.de> 2842 2843 * Source/GSServicesManager.m: Fix NSPerformService() to work for 2844 any localised service name. 2845 28462003-10-21 Richard Frith-Macdonald <rfm@gnu.org> 2847 2848 * Source/GSServicesManager.m: Revert last modification in favour 2849 of a fix by ... Bjorn. 2850 28512003-10-20 Adam Fedor <fedor@gnu.org> 2852 2853 * Source/NSApplication.m (-changeWindowsItem:title:filename:): Use 2854 deminiaturize to get the window back. 2855 2856 * Source/NSWindow.m (-deminiaturize:): Don't order out 2857 the miniwindow since it should be ordered out automatically. 2858 Fixes PR #5849. 2859 28602003-10-18 16:48 Gregory John Casamento <greg_casamento@yahoo.com> 2861 2862 * Source/NSOutlineView.m: Added full gsdoc documentation for this 2863 class. 2864 28652003-10-17 Richard Frith-Macdonald <rfm@gnu.org> 2866 2867 * Source/GSServicesManager.m: Make mapping of service names to 2868 their definitions include all available language variants so 2869 that NSPerformService() should work irrespective of the 2870 currently selected language preferences. Tested to ensure it 2871 still works for my selected english, but not yet to see if it 2872 actually fixes the bug. 2873 28742003-10-13 Adam Fedor <fedor@gnu.org> 2875 2876 * configure.ac: Simplify graphics libs lookup 2877 * config.make.in: Update. 2878 2879 * Documentation/make_services.1: New file (from Martin Brecher) 2880 * Documentation/GNUmakefile: Install it. 2881 28822003-10-09 Adam Fedor <fedor@gnu.org> 2883 2884 * Tools/make_services.m: Add quiet option. 2885 28862003-10-07 23:38 Gregory John Casamento <greg_casamento@yahoo.com> 2887 2888 * Headers/Additions/GNUstepGUI/GSNibTemplates.m: Added 2889 setDeferFlag: and deferFlag declarations to 2890 GSWindowTemplate. 2891 28922003-10-07 14:32 Alexander Malmberg <alexander@malmberg.org> 2893 2894 * Source/NSWindow.m (-miniaturize:): Check that the window is 2895 miniaturizable, visible, and not already miniaturized before 2896 trying to miniaturize it. 2897 (-deminiaturize:): Do nothing if the window isn't miniaturized. 2898 (Based on patch from Matt Rice.) 2899 29002003-10-05 Adam Fedor <fedor@gnu.org> 2901 2902 * Source/DocMakefile: Remove dependencies file when cleaning. 2903 29042003-10-03 Adam Fedor <fedor@gnu.org> 2905 2906 * configure.ac: Use -Wl for netbsd linker options. 2907 29082003-10-03 Benhur Stein <benhur@inf.ufsm.br> 2909 2910 * Source/NSWindow.m (-setFrameAutosaveName:): remove previous frame 2911 name from defaults; if there is a saved frame with the new name in 2912 defaults, set window frame to it, otherwise store current frame in 2913 defaults. 2914 29152003-10-03 Benhur Stein <benhur@inf.ufsm.br> 2916 2917 * Source/NSWindow.m (class variables, +initialize, 2918 +removeFrameUsingName:, -dealloc, -saveFrameUsingName:, 2919 -setFrameAutosaveName:): removed variable windowsLock 2920 29212003-10-02 David Ayers <d.ayers@inode.at> 2922 2923 * Source/NSBrowser.m (-[NSBrowser setDelegate]): 2924 Set _passiveDelegate to YES for 'nil' delegate. 2925 Use GSObjCRuntime functions to get selector names. 2926 Update documentation. 2927 29282003-10-02 Andrew Ruder <aereder@ksu.edu> 2929 2930 * Source/NSBrowser.m (-[NSBrowser setDelegate]): Check for 2931 nil object to allow unsetting the delegate. 2932 29332003-09-29 Adam Fedor <fedor@gnu.org> 2934 2935 * Version 0.9.0 2936 29372003-09-29 Fred Kiefer <FredKiefer@gmx.de> 2938 2939 * Headers/Additions/GNUstepGUI/GSLayoutManager.h 2940 * Source/GSLayoutManager.m 2941 Added missing method [isValidGlyphIndex:]. 2942 29432003-09-29 Fred Kiefer <FredKiefer@gmx.de> 2944 2945 * Source/NSBrowser.m 2946 Patch by Christopher Culver: 2947 Define empty [sizeToFit] method to override NSControl implementation. 2948 29492003-09-27 19:29 Gregory John Casamento <greg_casamento@yahoo.com> 2950 2951 * Source/GSNibContainer.m: [GSNibContainer awakeWithContext:] 2952 Added code to set the services and windows menus as designated in 2953 Gorm. Addresses Report #5205 2954 29552003-09-27 David Ayers <d.ayers@inode.at> 2956 2957 * Source/NSCell.m (-compare:): Compare the stringValue of 2958 NSCell's rather than their contents directly. 2959 29602003-09-23 19:14 Alexander Malmberg <alexander@malmberg.org> 2961 2962 * Source/NSWindow.m (-orderWindow:relativeTo:): Only force a display 2963 of the content view if we're being ordered _to_ the screen. 2964 29652003-09-23 19:11 Alexander Malmberg <alexander@malmberg.org> 2966 2967 * Source/NSTextContainer.m (-dealloc): Set the text container of 2968 our text view, if any, to nil. 2969 29702003-09-22 Adam Fedor <fedor@gnu.org> 2971 2972 * Source/NSWindowController.m (-setWindow:): Set window's 2973 releaseWhenClosed when document is not nil. Add documentation. 2974 29752003-09-21 Fred Kiefer <FredKiefer@gmx.de> 2976 2977 * Source/NSPopUpButtonCell.m 2978 Undid the tracking of changes for the menu item. Changed [dealloc] 2979 to not call clean up methods as these caused segmentation faults 2980 in GNUMail. 2981 29822003-09-21 15:15 Alexander Malmberg <alexander@malmberg.org> 2983 2984 * Source/NSTextView.m (-readSelectionFromPasteboard:type:): Handle 2985 NSTIFFPboardType. Based on patch from Nicolas Roard. 2986 29872003-09-20 Adam Fedor <fedor@gnu.org> 2988 2989 * Source/NSWindowController.m ([NSWindowController -setDocument:]): 2990 Set window to releaseWhenClosed if document is not nil. 2991 * Source/NSApplication.m ([NSApplication -targetForAction:]): Revert 2992 last change. 2993 * Source/NSWindow.m ([NSWindow -performClose:]): Idem. 2994 29952003-09-19 Matt Rice <ratmice@yahoo.com> 2996 2997 * Source/NSApplication.m ([NSApplication -targetForAction:]): Check 2998 document of a document-based app before key window. 2999 * Source/NSWindow.m ([NSWindow -performClose:]): Close the 3000 document not self if there is a document associated with this window. 3001 30022003-09-19 Adam Fedor <fedor@gnu.org> 3003 3004 * Headers/Additions/GNUstepGUI/GSMethodTable.h: Change NSReadPixel 3005 to GSReadRect 3006 * Headers/AppKit/NSGraphicsContext.h, Source/NSGraphicsContext.m: Idem. 3007 * Headers/AppKit/NSGraphics.h (NSReadPixel): Move to... 3008 * Source/Functions.m (NSReadPixel): here. 3009 * Source/NSBitmapImageRep.m (-initWithFocusedViewRect:): Implement. 3010 30112003-09-16 Adam Fedor <fedor@gnu.org> 3012 3013 * GNUmakefile (SUBPROJECTS): Don't build Documentation by default. 3014 30152003-09-14 Fred Kiefer <FredKiefer@gmx.de> 3016 3017 * Source/NSPopUpButtonCell.m 3018 Corrected bug in previous change. In [itemAtIndex:] the index 0 3019 was handled wrong. 3020 30212003-09-14 Fred Kiefer <FredKiefer@gmx.de> 3022 3023 * Source/NSPopUpButtonCell.m 3024 According to Gregory John Casamento <greg_casamento@yahoo.com> the 3025 popup button does not change its enable state when the selected item 3026 does. To adopt this behaviour all setEnable: calls have been 3027 removed and one in [initWithCoder:] added that enables the popup 3028 for all old encodings. 3029 30302003-09-13 Gregory John Casamento <greg_casamento@yahoo.com> 3031 3032 * Source/NSPopUpButtonCell.m: Corrected minor problem which 3033 was causing a compilation error. 3034 30352003-09-13 Fred Kiefer <FredKiefer@gmx.de> 3036 3037 * Source/NSMenu.m 3038 In [update] use [NSApplication targetForAction:to:from:] to be 3039 consistent with the [performActionForItemAtIndex:] implementation. 3040 * Source/NSPopUpButtonCell.m 3041 Undid last change. Rewrote [setMenu:] to make the popup button 3042 cell listen to change notifications of the menu. New method 3043 [itemChanged:] gets called when a menu item changes. Added hack to 3044 [initWithCoder:] to set menu correctly and read old menu items 3045 correctly. 3046 Check in [itemAtIndex:] that the index is vaild and return nil 3047 otherwise. 3048 30492003-09-07 Adam Fedor <fedor@gnu.org> 3050 3051 * Source/NSBitmapImageRep.m: Document. 3052 (+imageRepWithData:): Return empty array not nil on failure. 3053 (-TIFFRepresentation): Check for unsupported compression types. 3054 (-TIFFRepresentationUsingCompression:factor:): Idem. 3055 * Source/tiff.m (NSTiffGetInfo, NSTiffRead, 3056 NSTiffWrite): Better error checking. 3057 3058 * Source/NSTableView.m (-draggingUpdated:sender): Support 3059 NSTableViewDropOn (patch from Bj�rn Giesler <giesler@ira.uka.de>). 3060 30612003-09-06 Gregory John Casamento <greg_casamento@yahoo.com> 3062 3063 * Source/NSPopUpButtonCell.m: -drawInteriorWithFrame:inView: 3064 added setEnabled to enable the popup button cell. A previous 3065 change was causing all popup button cells to show up as disabled. 3066 30672003-09-06 22:53 Alexander Malmberg <alexander@malmberg.org> 3068 3069 * Source/NSFont.m (getNSFont): Set the explicit-size bit in the 3070 role correctly. 3071 30722003-09-06 Gregory John Casamento <greg_casamento@yahoo.com> 3073 3074 * Images/common_Printer.tiff 3075 * Images/common_ToolbarSeperatorItem.tiff 3076 * Images/common_ToolbarShowColorsItem.tiff 3077 * Images/common_ToolbarShowFontsItem.tiff 3078 * Images/common_ToolbarSpaceItem.tiff 3079 * Source/NSToolbarItem.m: set the correct images and 3080 target/action information for all of the standard toolbar items. 3081 30822003-09-06 Fred Kiefer <FredKiefer@gmx.de> 3083 3084 * Source/NSMenuItem.m 3085 Autorelease the [separatorItem]. 3086 30872003-09-06 Fred Kiefer <FredKiefer@gmx.de> 3088 3089 * Source/NSMenuView.m 3090 In [itemChanged:] set if the cell is enabled like the item. 3091 * Source/NSMenuItemCell.m 3092 [setMenuItem:] enable/disable cell. [drawTitleWithFrame:inView:]no 3093 longer enable/disable cell. 3094 30952003-09-04 18:43 Alexander Malmberg <alexander@malmberg.org> 3096 3097 * Headers/AppKit/NSWindow.h, Source/NSWindow.m: Change the return 3098 type of -initWithWindowRef: to id. 3099 31002003-09-02 Adam Fedor <fedor@gnu.org> 3101 3102 * Tools/gsnd/gsnd.m (main): Don't mess with file descriptors on MinGW. 3103 31042003-09-02 Adam Fedor <fedor@gnu.org> 3105 3106 * Source/libgnustep-gui.def: Update. 3107 31082003-09-01 Fred Kiefer <FredKiefer@gmx.de> 3109 3110 * Source/NSAttributedString.m 3111 [readFromURL:options:documentAttributes:] corrected the handling 3112 to type "text", where [NSString alloc] was missing. 3113 * Source/NSBundleAdditions.m 3114 Removed unused global currentVersion. 3115 * Headers/AppKit/NSCell.h 3116 Corrected type of method _nonAutoreleasedTypingAttributes 3117 * Headers/AppKit/NSInputManager.h 3118 Added protocol NSTextInput to ivar _currentClient. 3119 * Headers/AppKit/NSTextFieldCell.h 3120 Removed uneeded and inconsistent method declarations. 3121 * Source/NSApplciation.m 3122 * Source/NSBezierPath.m 3123 * Source/NSClipView.m 3124 * Source/NSDocumentController.m 3125 * Source/NSInputManager.m 3126 * Source/NSMenuItem.m 3127 * Source/NSSavePanel.m 3128 * Source/NSTableView.m 3129 Removed new GCC 3.4 warnings from Alexander Malmbergs list. 3130 31312003-09-01 Fred Kiefer <FredKiefer@gmx.de> 3132 3133 * Source/NSBitmapImageRep.m 3134 [canInitWithData:], [imageRepsWithData:] and [initWithData:] 3135 protect against data being nil. [imageRepsWithFile:] check if the 3136 file exists and only return an array when it contains objects. 3137 * Source/NSWorkspace.m 3138 New method [_saveImageFor:] used in all places in this file where 3139 an icon is created from a file name. New method 3140 [thumbnailForFile:] calculated the name of the corresponding 3141 FreeDeskTop.org thumbnail file for a given file name. This does 3142 not chack if this file exists!. In [iconForFile:] use this 3143 thumbnails if the user default GSUseFreedesktopThumbnails is YES. 3144 * Documentation/GuiUser/DefaultsSummary.gsdoc 3145 Documented the new user default value GSUseFreedesktopThumbnails. 3146 31472003-09-01 Gregory John Casamento <greg_casamento@yahoo.com> 3148 3149 * Source/GSNibTemplates.m: [GSNibContainer awakeWithContext:] 3150 was initializing mainMenu too late. It should be accessible 3151 from within awakeFromNib. 3152 31532003-08-31 Gregory John Casamento <greg_casamento@yahoo.com> 3154 3155 * Source/NSToolbarItem.m: Corrected code to instantiate 3156 button for toolbar items. 3157 31582003-08-30 Gregory John Casamento <greg_casamento@yahoo.com> 3159 3160 * Source/GSNibTemplates.m: [GSNibContainer awakeWithContext:] 3161 was not releasing the connections in the array after calling 3162 establishConnection. Once this is done, the connections 3163 are no longer needed. 3164 31652003-08-30 Fred Kiefer <FredKiefer@gmx.de> 3166 3167 * Source/NSWindowController.m 3168 Changed [setWindow:] to manage the notification connection to the 3169 window. 3170 [initWithWindow:], [dealloc] and [_windowWillClose:] now use 3171 [setWindow:]. 3172 [setDocument:] now no longer retains the document, as this is 3173 already retaining the window controller. Simplified [loadWindow] 3174 by using the method [windowNibPath]. 3175 31762003-08-30 Gregory John Casamento <greg_casamento@yahoo.com> 3177 3178 * Source/GSNibTemplates.m: Added code to templates to conditionally 3179 call the designated initializer if and only if it is defined 3180 on the class which is being unarchived, not the parent classes. 3181 This is consistent with behaviour under OpenStep. 3182 31832003-08-29 Adam Fedor <fedor@gnu.org> 3184 3185 * Source/GNUmakefile.preamble (ADDITIONAL_OBJCFLAGS): Include 3186 target dir for config.h (disable-flattened). 3187 31882003-08-29 Adam Fedor <fedor@gnu.org> 3189 3190 * Tools/gsnd/gsnd.m (main): Reopen stderr. 3191 31922003-08-29 Gregory John Casamento <greg_casamento@yahoo.com> 3193 3194 * NSToolbarItem.[hm]: Implemented copyWithZone: for NSCopying, 3195 removed an unused flag and shortened the flag names which were 3196 somewhat long. Did some general cleanup. Implemented standard 3197 items. 3198 31992003-08-28 Gregory John Casamento <greg_casamento@yahoo.com> 3200 3201 * Source/GSNibTemplates.m: Removed an extra release which was causing 3202 a segfault. Added code to prevent calling the designated initializer 3203 when isInterfaceBuilder is defined. 3204 32052003-08-27 Adam Fedor <fedor@gnu.org> 3206 3207 * Tools/gsnd/gsnd.m (main): Set daemon flag when forking. 3208 32092003-08-26 Adam Fedor <fedor@gnu.org> 3210 3211 * Version 0.8.9 3212 32132003-08-23 Gregory John Casamento <greg_casamento@yahoo.com> 3214 3215 * GSNibTemplates.m: Minor corrections and bugfixes. 3216 32172003-08-23 Gregory John Casamento <greg_casamento@yahoo.com> 3218 3219 * Source/GNUmakefile: Added new header to the list. 3220 * Source/GSNibTemplates.m: Added assertion to GSClassSwapper to 3221 prevent it from being initialized with superClassName and className 3222 being the same. 3223 * Source/NSToolbar.m: Added some more code to properly implement 3224 this class. 3225 * Source/NSToolbarItem.m: Added code to implement this class. 3226 * Headers/AppKit/NSToolbar.h: Added flags declaration. 3227 * Headers/AppKit/NSToolbarItem.h: Added attributes. 3228 * Headers/Additions/GNUStepGUI/GSToolbarView.h: Private class which 3229 will be used to display the toolbar in the window. 3230 32312003-08-22 Adam Fedor <fedor@gnu.org> 3232 3233 * Tools/gsnd/gsnd.m (main): Close any open file descriptors so 3234 we can be a proper daemon. 3235 Fixes #4825 3236 32372003-08-22 Gregory John Casamento <greg_casamento@yahoo.com> 3238 3239 * Source/GSNibTemplates.[hm]: Added new template classes to a new file 3240 removed old templates and implemented GSClassSwapper, GSWindowTemplate, 3241 GSViewTemplate and etc.. to act as stand-in object in the 3242 interface builder application. 3243 * NSBundleAdditions.m: Removed old template classes and moved some 3244 of the hiddle classes to GSNibTemplates for better organization. 3245 32462003-08-20 Fred Kiefer <FredKiefer@gmx.de> 3247 3248 * Source/NSWindow.m 3249 In [performClose:] call the method [shouldCloseWindowController:] 3250 on the document instead of [windowShouldClose:] 3251 32522003-08-20 Fred Kiefer <FredKiefer@gmx.de> 3253 3254 * Source/NSMenuView.m 3255 In [itemChanged:] call [setNeedsDisplayForItemAtIndex:] so that 3256 changes get redisplayed. 3257 * Source/NSPopUpButtonCell.m 3258 Overall change to use method calls rather than direct ivar access. 3259 [setMenu:] also call [setMenuView:]. [removeItemWithTitle], 3260 [removeItemAtIndex] and [removeAllItems] make sure that the 3261 selected item ivar gets unset, when this is 3262 removed. [setMenuItem:] overwrite super method to set/unset the 3263 image. [selectItem:] no longer changes the image of this 3264 item. [synchronizeTitleAndSelectedItem] now works on the menu item 3265 not the selected item. [attachPopUpWithFrame:inView:] added 3266 listening for notifications. [dismissPopUp] remove listening for 3267 notifications. Added [performClickWithFrame:inView:] and 3268 [performClick:]. Further simplified [drawInteriorWithFrame:inView:]. 3269 [initWithCoder:] made sure that old stored objects still get read 3270 in correctly even if most ivars may be set wrong. 3271 * Source/NSPopUpButton.m 3272 In [keyDown:] removed setting and unsetting of notification 3273 listening, as this now gets handled in NSPopUpButtonCell. 3274 32752003-08-20 14:36 Alexander Malmberg <alexander@malmberg.org> 3276 3277 * Source/GSFontInfo.m (+sharedEnumerator, 3278 +fontInfoForFontName:matrix:screenFont:): Assert that the backend 3279 classes have been set. 3280 3281 * Source/NSBrowser.m (+initialize, -initWithFrame:): Don't create 3282 the shared title cell in +initialize. Creating the cell requires 3283 that the backend has been set up (by creating the shared application 3284 object). We can't assume that this has been done before +initialize 3285 is called. 3286 3287 * Source/NSTextView.m (+initialize, -initWithFrame:textContainer:): 3288 Don't register for services in +initialize for the same reason: the 3289 shared application object might not have been created yet (also, note 3290 that calling +sharedApplication is unsafe; it will create a shared 3291 application object, but in some cases of the wrong class, which would 3292 lead to confusing errors later). 3293 32942003-08-20 14:08 Alexander Malmberg <alexander@malmberg.org> 3295 3296 Clean up code to remove warnings issued by (what will become) 3297 gcc 3.4. 3298 3299 * Model/GMArchiver.m, Source/GSFusedSilica.m, 3300 Source/GSFusedSilicaContext.m, Source/NSResponder.m: Don't return 3301 values from methods returning void. 3302 33032003-08-19 Adam Fedor <fedor@gnu.org> 3304 3305 * Source/NSImageRep.m ([NSImageRep +imageRepsWithContentsOfFile:]): 3306 Make sure extension is lowercase. 3307 Fixes #4750. 3308 33092003-08-18 Adam Fedor <fedor@gnu.org> 3310 3311 * Model/GNUmakefile (ADDITIONAL_INCLUDE_DIRS): Don't include 3312 ../Headers on non-gnu targets. 3313 33142003-08-17 Adam Fedor <fedor@gnu.org> 3315 3316 * Source/NSTableView.m ([NSTableView -textDidBeginEditing:]): Fix leak 3317 of dictionary object. 3318 ([NSTableView -textDidChange:]): Idem. 3319 ([NSTableView -textDidEndEditing:]): Idem. 3320 Fixes #4568. 3321 33222003-08-17 Adam Fedor <fedor@gnu.org> 3323 3324 * Source/NSImageCell.m ([NSImageCell -setObjectValue:]): Implement. 3325 33262003-08-17 Benhur Stein <benhur@inf.ufsm.br> 3327 * NSBrowser.m: 3328 (-selectRow:inColumn:): cleanup 3329 (-loadedCellAtRow:column:): cleanup 3330 (-matrixInColumn:): return nil if column not in _browserColumns 3331 (-setPath:): cleanup; fix optimization for not loading columns that 3332 are already loaded 3333 (-setLastColumn:): return if column is not loaded; remove unnecessary 3334 call to setNeedsDisplay:; remove columns greater than 3335 _lastVisibleColumn instead of numberOfVisibleColumns; call 3336 scrollColumnToVisible instead of making it by hand. 3337 (-reloadColumn:): reselect previously selected cells by searching them 3338 in reloaded matrix, instead of by position 3339 (-scrollColumnToVisible:): removed test that assumed that if 3340 numberOfVisibleColums is enough to display all loaded columns, they 3341 are all displayed. This is not always the case now. 3342 (-tile): hack to garantee that all visible columns exist. Should fix 3343 the code that's before instead. 3344 (-doClick:): cleanup; removed drawing of matrix's cells 3345 (-moveLeft:): cleanup; move left from firstResponder instead of from 3346 selectedColumn 3347 (-moveRight:): cleanup; move right from firstResponder instead of from 3348 selectedColumn; removed call to doClick: 3349 (-_performLoadOfColumn:): change _lastColumnLoaded if necessary 3350 33512003-08-16 Matt Rice <ratmice@yahoo.com> 3352 3353 * Source/NSDocument.m ([NSDocument -init]): Check the count of the 3354 types array and uses Viewer and Editor NSRoles to set the default 3355 type. 3356 33572003-08-13 David Ayers <d.ayers@inode.at> 3358 3359 * Headers/gnustep/gui/*.h/*.h.in: Remove headers moved in header 3360 reorganization on 2003-07-31. 3361 * Headers/Additions/GNUstepGUI/GSVersion.h: Remove generated 3362 file that should have been ignored by entry in .cvsignore. 3363 33642003-08-05 Martin Brecher <martin@mb-itconsulting.com> 3365 3366 * Documentation/gopen.1: New file. 3367 * Documentation/GNUmakefile: Install it. 3368 33692003-08-10 23:27 Alexander Malmberg <alexander@malmberg.org> 3370 3371 * Headers/Additions/GNUstepGUI/GSFontInfo.h: Add new methods in 3372 GSFontEnumerator that return the default names of some standard 3373 fonts. 3374 3375 * Source/GSFontInfo.m: Implement them. 3376 3377 * Source/NSFont.m: Use them. 3378 33792003-08-07 Richard Frith-Macdonald <rfm@gnu.org> 3380 3381 * Documentation/GNUmakefile.postamble: Invoke Source/DocMakefile to 3382 clean reference documentation. 3383 33842003-08-02 Ludovic Marcotte <ludovic@Sophos.ca> 3385 3386 * Modified NSPopUpButtonCell: -insertItemWithTitle: atIndex: 3387 so that we get our item count after removing a potential 3388 duplicated item value. 3389 3390 33912003-08-01 Adam Fedor <fedor@gnu.org> 3392 3393 * Documentation/GNUmakefile.postamble (after-install): Install 3394 gsdoc docs in proper places. 3395 * Source/DocMakefile: Add GuiUser DOCUMENT 3396 3397 * Images/GNUmakefile: Remove obsolete files. 3398 33992003-07-31 David Ayers <d.ayers@inode.at> 3400 3401 * Created tag 'pre-header-reorg-20030731'. 3402 3403 * Headers/Additions/GNUstepGUI: New directory. 3404 * Headers/AppKit: Ditto. 3405 * Headers/gnustep/gui: Obsoleted. 3406 3407 * Headers/Additions/GNUstepGUI/GMAppKit.h: Moved here from 3408 Headers/gnustep/gui. 3409 * Headers/Additions/GNUstepGUI/GMArchiver.h: Ditto. 3410 * Headers/Additions/GNUstepGUI/GSDisplayServer.h: Ditto. 3411 * Headers/Additions/GNUstepGUI/GSFontInfo.h: Ditto. 3412 * Headers/Additions/GNUstepGUI/GSFusedSilica.h: Ditto. 3413 * Headers/Additions/GNUstepGUI/GSHbox.h: Ditto. 3414 * Headers/Additions/GNUstepGUI/GSHelpManagerPanel.h: Ditto. 3415 * Headers/Additions/GNUstepGUI/GSHorizontalTypesetter.h: Ditto. 3416 * Headers/Additions/GNUstepGUI/GSInfoPanel.h: Ditto. 3417 * Headers/Additions/GNUstepGUI/GSLayoutManager.h: Ditto. 3418 * Headers/Additions/GNUstepGUI/GSLayoutManager_internal.h: Ditto. 3419 * Headers/Additions/GNUstepGUI/GSMemoryPanel.h: Ditto. 3420 * Headers/Additions/GNUstepGUI/GSMethodTable.h: Ditto. 3421 * Headers/Additions/GNUstepGUI/GSNibTemplates.h: Ditto. 3422 * Headers/Additions/GNUstepGUI/GSPasteboardServer.h: Ditto. 3423 * Headers/Additions/GNUstepGUI/GSServicesManager.h: Ditto. 3424 * Headers/Additions/GNUstepGUI/GSTable.h: Ditto. 3425 * Headers/Additions/GNUstepGUI/GSTextConverter.h: Ditto. 3426 * Headers/Additions/GNUstepGUI/GSTrackingRect.h: Ditto. 3427 * Headers/Additions/GNUstepGUI/GSTypesetter.h: Ditto. 3428 * Headers/Additions/GNUstepGUI/GSVbox.h: Ditto. 3429 * Headers/Additions/GNUstepGUI/GSVersion.h: Ditto. 3430 * Headers/Additions/GNUstepGUI/GSVersion.h.in: Ditto. 3431 * Headers/Additions/GNUstepGUI/IMConnectors.h: Ditto. 3432 * Headers/Additions/GNUstepGUI/IMCustomObject.h: Ditto. 3433 * Headers/Additions/GNUstepGUI/IMLoading.h: Ditto. 3434 * Headers/Additions/GNUstepGUI/.cvsignore: Ditto. 3435 3436 * Headers/AppKit/AppKit.h: Ditto. 3437 * Headers/AppKit/AppKitDefines.h: Ditto. 3438 * Headers/AppKit/AppKitExceptions.h: Ditto. 3439 * Headers/AppKit/DPSOperators.h: Ditto. 3440 * Headers/AppKit/NSActionCell.h: Ditto. 3441 * Headers/AppKit/NSAffineTransform.h: Ditto. 3442 * Headers/AppKit/NSApplication.h: Ditto. 3443 * Headers/AppKit/NSAttributedString.h: Ditto. 3444 * Headers/AppKit/NSBezierPath.h: Ditto. 3445 * Headers/AppKit/NSBitmapImageRep.h: Ditto. 3446 * Headers/AppKit/NSBox.h: Ditto. 3447 * Headers/AppKit/NSBrowser.h: Ditto. 3448 * Headers/AppKit/NSBrowserCell.h: Ditto. 3449 * Headers/AppKit/NSButton.h: Ditto. 3450 * Headers/AppKit/NSButtonCell.h: Ditto. 3451 * Headers/AppKit/NSCachedImageRep.h: Ditto. 3452 * Headers/AppKit/NSCell.h: Ditto. 3453 * Headers/AppKit/NSClipView.h: Ditto. 3454 * Headers/AppKit/NSColor.h: Ditto. 3455 * Headers/AppKit/NSColorList.h: Ditto. 3456 * Headers/AppKit/NSColorPanel.h: Ditto. 3457 * Headers/AppKit/NSColorPicker.h: Ditto. 3458 * Headers/AppKit/NSColorPicking.h: Ditto. 3459 * Headers/AppKit/NSColorWell.h: Ditto. 3460 * Headers/AppKit/NSComboBox.h: Ditto. 3461 * Headers/AppKit/NSComboBoxCell.h: Ditto. 3462 * Headers/AppKit/NSControl.h: Ditto. 3463 * Headers/AppKit/NSCursor.h: Ditto. 3464 * Headers/AppKit/NSCustomImageRep.h: Ditto. 3465 * Headers/AppKit/NSDataLink.h: Ditto. 3466 * Headers/AppKit/NSDataLinkManager.h: Ditto. 3467 * Headers/AppKit/NSDataLinkPanel.h: Ditto. 3468 * Headers/AppKit/NSDocument.h: Ditto. 3469 * Headers/AppKit/NSDocumentController.h: Ditto. 3470 * Headers/AppKit/NSDocumentFrameworkPrivate.h: Ditto. 3471 * Headers/AppKit/NSDragging.h: Ditto. 3472 * Headers/AppKit/NSDrawer.h: Ditto. 3473 * Headers/AppKit/NSEPSImageRep.h: Ditto. 3474 * Headers/AppKit/NSEvent.h: Ditto. 3475 * Headers/AppKit/NSFileWrapper.h: Ditto. 3476 * Headers/AppKit/NSFont.h: Ditto. 3477 * Headers/AppKit/NSFontManager.h: Ditto. 3478 * Headers/AppKit/NSFontPanel.h: Ditto. 3479 * Headers/AppKit/NSForm.h: Ditto. 3480 * Headers/AppKit/NSFormCell.h: Ditto. 3481 * Headers/AppKit/NSGraphics.h: Ditto. 3482 * Headers/AppKit/NSGraphicsContext.h: Ditto. 3483 * Headers/AppKit/NSHelpManager.h: Ditto. 3484 * Headers/AppKit/NSHelpPanel.h: Ditto. 3485 * Headers/AppKit/NSImage.h: Ditto. 3486 * Headers/AppKit/NSImageCell.h: Ditto. 3487 * Headers/AppKit/NSImageRep.h: Ditto. 3488 * Headers/AppKit/NSImageView.h: Ditto. 3489 * Headers/AppKit/NSInputManager.h: Ditto. 3490 * Headers/AppKit/NSInputServer.h: Ditto. 3491 * Headers/AppKit/NSInterfaceStyle.h: Ditto. 3492 * Headers/AppKit/NSLayoutManager.h: Ditto. 3493 * Headers/AppKit/NSMatrix.h: Ditto. 3494 * Headers/AppKit/NSMenu.h: Ditto. 3495 * Headers/AppKit/NSMenuItem.h: Ditto. 3496 * Headers/AppKit/NSMenuItemCell.h: Ditto. 3497 * Headers/AppKit/NSMenuView.h: Ditto. 3498 * Headers/AppKit/NSNibConnector.h: Ditto. 3499 * Headers/AppKit/NSNibDeclarations.h: Ditto. 3500 * Headers/AppKit/NSNibLoading.h: Ditto. 3501 * Headers/AppKit/NSOpenGL.h: Ditto. 3502 * Headers/AppKit/NSOpenGLView.h: Ditto. 3503 * Headers/AppKit/NSOpenPanel.h: Ditto. 3504 * Headers/AppKit/NSOutlineView.h: Ditto. 3505 * Headers/AppKit/NSPageLayout.h: Ditto. 3506 * Headers/AppKit/NSPanel.h: Ditto. 3507 * Headers/AppKit/NSParagraphStyle.h: Ditto. 3508 * Headers/AppKit/NSPasteboard.h: Ditto. 3509 * Headers/AppKit/NSPopUpButton.h: Ditto. 3510 * Headers/AppKit/NSPopUpButtonCell.h: Ditto. 3511 * Headers/AppKit/NSPrintInfo.h: Ditto. 3512 * Headers/AppKit/NSPrintOperation.h: Ditto. 3513 * Headers/AppKit/NSPrintPanel.h: Ditto. 3514 * Headers/AppKit/NSPrinter.h: Ditto. 3515 * Headers/AppKit/NSProgressIndicator.h: Ditto. 3516 * Headers/AppKit/NSResponder.h: Ditto. 3517 * Headers/AppKit/NSRulerMarker.h: Ditto. 3518 * Headers/AppKit/NSRulerView.h: Ditto. 3519 * Headers/AppKit/NSSavePanel.h: Ditto. 3520 * Headers/AppKit/NSScreen.h: Ditto. 3521 * Headers/AppKit/NSScrollView.h: Ditto. 3522 * Headers/AppKit/NSScroller.h: Ditto. 3523 * Headers/AppKit/NSSecureTextField.h: Ditto. 3524 * Headers/AppKit/NSSelection.h: Ditto. 3525 * Headers/AppKit/NSSlider.h: Ditto. 3526 * Headers/AppKit/NSSliderCell.h: Ditto. 3527 * Headers/AppKit/NSSound.h: Ditto. 3528 * Headers/AppKit/NSSpellChecker.h: Ditto. 3529 * Headers/AppKit/NSSpellProtocol.h: Ditto. 3530 * Headers/AppKit/NSSpellServer.h: Ditto. 3531 * Headers/AppKit/NSSplitView.h: Ditto. 3532 * Headers/AppKit/NSStepper.h: Ditto. 3533 * Headers/AppKit/NSStepperCell.h: Ditto. 3534 * Headers/AppKit/NSStringDrawing.h: Ditto. 3535 * Headers/AppKit/NSTabView.h: Ditto. 3536 * Headers/AppKit/NSTabViewItem.h: Ditto. 3537 * Headers/AppKit/NSTableColumn.h: Ditto. 3538 * Headers/AppKit/NSTable* HeaderCell.h: Ditto. 3539 * Headers/AppKit/NSTable* HeaderView.h: Ditto. 3540 * Headers/AppKit/NSTableView.h: Ditto. 3541 * Headers/AppKit/NSText.h: Ditto. 3542 * Headers/AppKit/NSTextAttachment.h: Ditto. 3543 * Headers/AppKit/NSTextContainer.h: Ditto. 3544 * Headers/AppKit/NSTextField.h: Ditto. 3545 * Headers/AppKit/NSTextFieldCell.h: Ditto. 3546 * Headers/AppKit/NSTextStorage.h: Ditto. 3547 * Headers/AppKit/NSTextView.h: Ditto. 3548 * Headers/AppKit/NSToolbar.h: Ditto. 3549 * Headers/AppKit/NSToolbarItem.h: Ditto. 3550 * Headers/AppKit/NSUserInterfaceValidation.h: Ditto. 3551 * Headers/AppKit/NSView.h: Ditto. 3552 * Headers/AppKit/NSWindow.h: Ditto. 3553 * Headers/AppKit/NSWindowController.h: Ditto. 3554 * Headers/AppKit/NSWorkspace.h: Ditto. 3555 * Headers/AppKit/PSOperators.h: Ditto. 3556 3557 * configure.ac: Update to new header structure. 3558 * configure: Regenerated. 3559 * GNUmakefile.postamble: Remove handling of header-links and 3560 update to new header structure. 3561 3562 * Source/GNUmakefile: Update to new header structure. 3563 Install gnustep specific headers in GNUstepGUI by splitting 3564 libgnustep-gui_HEADER_FILES into APPKIT_HEADERS and GUI_HEADERS. 3565 Include CompatibilityHeaders.make makefile fragement. 3566 3567 * Source/GNUmakefile.preamble: Update to new header structure. 3568 * Source/CompatibilityHeaders.make: New file which installs dummy 3569 headers in the place of the old headers, warning about obsoleting 3570 the old location and includeing the header from its new location. 3571 3572 * Source/GNUmakefile.postamble: Install AppKit Headers manually. 3573 * Source/*.[hm]: Update includes for new header structure. 3574 * Source/GSGuiPrivate.h: Moved here from Headers/gnustep/gui. 3575 * Source/GSFusedSilica.h: Ditto. 3576 * Source/nsimage-tiff.h: Ditto. 3577 3578 * Tools/GNUmakefile.preamble: Update to new header structure. 3579 * Tools/example.m: Remove include of config.h. 3580 3581 * ColorPickers/GNUmakefile: Update to new header structure. 3582 * ColorPickers/*.[hm]: Ditto. 3583 3584 * TextConverters/RTF/GNUmakefile.preamble: Update to new header 3585 structure. 3586 * TextConverters/RTF/*.[hm]: Ditto. 3587 3588 * Documentation/gnustep-gui.texi: Update to new header structure. 3589 * Documentation/Gui/Gui.gsdoc: Remmove gnustep additions. 3590 * Documentation/GuiAdditions/.cvsignore: New file. 3591 * Documentation/GuiAdditions/GNUmakefile: Ditto. 3592 * Documentation/GuiAdditions/GuiAdditions.gsdoc: Ditto. 3593 3594 * Model/GNUmakefile: Update to new header structure. 3595 * GNUmakefile.postamble: Ditto. 3596 * Model/*.[hm]: Ditto. 3597 3598 * Resources/GNUmakefile: Update to new header structure. 3599 3600 * Source/DocMakefile: Update to new header structure. 3601 Added GuiAdditions to DOCUMENT_NAME. 3602 Split AUTOGSDOC_HEADERS into AUTOGSDOC_HEADERS_GUI and 3603 AUTOGSDOC_HEADERS_GUIADD. 3604 3605 36062003-07-31 Michael Hanni <mhanni@yahoo.com> 3607 3608 * Source/NSBrowserCell.m (drawInteriorWithFrame:inView:): Remove 3609 unnecessary code to set the background of an image. 3610 * Source/NSButtonCell.m: ditto. 3611 * Source/NSMenuItemCell.m: remove usage of system image 3612 "common_3DArrowRightH" as it is unneeded. 3613 (drawImageWithFrame:inView:): remove unnecessary code to set the 3614 background of an image. 3615 (drawKeyEquivalentWithFrame:inView:): ditto. 3616 (drawStateImageWithFrame:inView:): ditto. 3617 * Source/NSScroller.m: remove usage of system images 3618 (common_ArrowUpH, common_ArrowDownH, common_ArrowLeftH, 3619 common_ArrowRightH) as they are unnecessary. 3620 (drawParts): reset HighlightsBy: code for all the cells, remove 3621 all the alternate images. 3622 * Source/NSTableHeaderCell.m (drawInteriorWithFrame:inView:): 3623 remove unnecessary call to set the background of an image. 3624 * Images/(common_ArrowUpH, common_ArrowDownH, common_ArrowLeftH, 3625 common_ArrowRightH).tiff: removed. 3626 36272003-07-31 Yen-Ju Chen <yjchenx@hotmail.com> 3628 3629 * Documentation/Gui/LanguageSetup.gsdoc: Updated. 3630 36312003-07-27 17:53 Alexander Malmberg <alexander@malmberg.org> 3632 3633 * Source/NSColor.m (+colorFromString:): Use NSScanner instead of 3634 sscanf to avoid problems on non-c locales. 3635 3636 (initSystemColors): Make the creation of the system color list 3637 more robust. If entries are missing, add them. 3638 36392003-07-26 18:50 Alexander Malmberg <alexander@malmberg.org> 3640 3641 * Source/NSView.m, Source/NSWindow.m: Make drawing debug logging 3642 more detailed. 3643 36442003-07-26 Fred Kiefer <FredKiefer@gmx.de> 3645 3646 * Panel/English.proj/GSPageLayout.gorm/objects.gorm 3647 * Panel/English.proj/GSPrintPanel.gorm/objects.gorm 3648 Made all buttons non-continuous. 3649 36502003-07-26 Fred Kiefer <FredKiefer@gmx.de> 3651 3652 * Headers/gnustep/gui/NSTableView.h 3653 Added new ivar _action. 3654 * Source/NSTableView.m 3655 Implemented methods [action] and [setAction:]. 3656 36572003-07-26 Fred Kiefer <FredKiefer@gmx.de> 3658 3659 * Tools/gopen.m 3660 The option -a no longer starts the provided applciation 3661 directly, but uses this application to open the specified files. 3662 36632003-07-26 Fred Kiefer <FredKiefer@gmx.de> 3664 3665 * Source/NSColorPicker.m 3666 Autorelease image returned by [provideNewButtonImage]. 3667 * Source/NSColorPanel.m 3668 * ColorPickers/GSStandardColorPicker.m 3669 In [_setupPickers] release cell array. 3670 * ColorPickers/GSNamedColorPicker.m 3671 Now basically working. 3672 * ColorPickers/GSNamedColorPicker.tiff 3673 Removed background of image. 3674 * ColorPickers/GNUmakefile 3675 Activate GSNamedColorPicker. 3676 36772003-07-26 Richard Frith-Macdonald <rfm@gnu.org> 3678 3679 * Source/NSApplication.m: Use NSInvocation to perform actions, so 3680 we can handle cases where the action method returns a non-id or 3681 misses an argument. 3682 * Source/NSResponder.m: ditto 3683 36842003-07-26 Fred Kiefer <FredKiefer@gmx.de> 3685 3686 * Source/NSImage.m 3687 In [initWithIconHandle:] and [initWithBitmapHandle:] release the 3688 new bitmap image representation after adding it to the array. 3689 * Source/NSBitmapImageRep.m 3690 In [_initFromTIFFImage:number:] free the info returned by 3691 NSTiffGetInfo(). 3692 * Source/NSTableView.m 3693 In [sizeToFit] free isResizable. 3694 * Source/GSMemoryPanel.m 3695 In [update:] free the list returned by GSDebugAllocationClassList(). 3696 36972003-07-24 Adam Fedor <fedor@gnu.org> 3698 3699 * configure.ac: Fix setting ADDITIONAL_INCLUDE_... in 3700 audiofile section. 3701 37022003-07-23 Gregory John Casamento <greg_casamento@yahoo.com> 3703 3704 * Panels/GSSpellPanel.gorm: Added to replace old .gmodel 3705 * Source/NSSpellChecker.m: Updated to use .gorm file. 3706 37072003-07-23 Adam Fedor <fedor@gnu.org> 3708 3709 * Version 0.8.8 3710 37112003-07-23 Richard Frith-Macdonald <rfm@gnu.org> 3712 3713 * Source/DocMakefile: only remove directory containing 'stamp' for 3714 clean. 3715 37162003-07-23 22:23 Alexander Malmberg <alexander@malmberg.org> 3717 3718 * Headers/gnustep/gui/NSResponder.h: Make _menu private. 3719 3720 * Headers/gnustep/gui/NSMenuView.h: Add _attachedMenu ivar. 3721 * Source/NSMenuView.m: Use it. 3722 37232003-07-22 Adam Fedor <fedor@gnu.org> 3724 3725 * Source/NSOpenGLView.m ([NSOpenGLView -initWithFrame:]): Implemented 3726 (Patch from Damien Genet). 3727 37282003-07-22 Richard Frith-Macdonald <rfm@gnu.org> 3729 3730 * Documentation/GNUmakefile.postamble: Tweak for make update. 3731 * Source/DocMakefile: ditto 3732 * Headers/gnustep/gui/NSLayoutManager.h: documentation tweaks. 3733 * Headers/gnustep/gui/NSRulerMarker.h: ditto 3734 * Headers/gnustep/gui/NSText.h: ditto 3735 * Headers/gnustep/gui/NSTextContainer.h: ditto 3736 * Source/NSLayoutManager.m: ditto 3737 * Source/NSPopUpButtonCell.m: ditto 3738 * Source/NSTextContainer.m: ditto 3739 * Source/NSWorkspace.m: ditto 3740 * Source/NSFont.m: ditto 3741 * Source/NSOpenPanel.m: ditto 3742 * Source/NSPasteboard.m: ditto 3743 * Source/NSView.m: ditto 3744 * Source/NSBezierPath.m: ditto 3745 * Source/NSGraphicsContext.m: ditto 3746 * Headers/gnustep/gui/NSBezierPath.h: ditto 3747 * Headers/gnustep/gui/NSMenu.h: ditto 3748 37492003-07-22 Andrew Ruder <aeruder@ksu.edu> 3750 3751 * Source/NSWindow.m: Fix potential (unlikely) leak 3752 * Source/NSCursor.m: Fix memory leak; 3753 * Source/NSResponder.m: Fix memory leak; 3754 * Source/NSPrintPanel.m: Fix memory leak; 3755 37562003-07-21 Kazunobu Kuriyama <kazunobu.kuriyama@nifty.com> 3757 3758 * Documentation/Gui/LanguageSetup.gsdoc: Update. 3759 37602003-07-21 Andrew Ruder <aeruder@ksu.edu> 3761 3762 * Source/NSBundleAdditions.m: Fix memory leaks. 3763 37642003-07-21 Andrew Ruder <aeruder@ksu.edu> 3765 3766 * Source/GSMemoryPanel.m: Add dealloc method 3767 * Source/NSOutlineView.m: Efficiency tweak. 3768 * Headers/AppKit/NSComboBoxCell.h:Fix misplaced semicolon 3769 * Source/NSSelection.m: Fix memory leak 3770 * Source/NSComboBoxCell.m: Fix misplaced semicolon. 3771 * Source/NSPageLayout.m: Fix memory leak. 3772 * Source/NSMenuView.m: Fix memory leak. 3773 * Source/NSToolbar.m: Fix memory leak and tidy 3774 * Source/GSServicesManager.m: Clarify retain/release of timer. 3775 37762003-07-21 Richard Frith-Macdonald <rfm@gnu.org> 3777 3778 * Source/NSFileWrapper.m: Tidy initialisation and fix leak in 3779 dealloc. 3780 * Source/NSTextAttachment.m: ditto. 3781 * Source/NSGraphicsContext.m: Memory leak fixes (suggested by Andrew 3782 Ruder) and initialisation tidyups. 3783 * Source/NSInputManager.m: ditto 3784 * Source/NSOpenPanel.m: ditto 3785 * Source/NSDocument.m: minor tidyup in init and add some documentation 3786 * Source/NSDocumentController.m: add some documentation 3787 37882003-07-19 Adam Fedor <fedor@gnu.org> 3789 3790 * GNUmakefile: Build Documentation if doc=yes (yes by default). 3791 3792 * Tools/gsnd/GNUmakefile.postamble: Linke in pthreads if not 3793 already linked in (non-mingw targets only). 3794 * Tools/gsnd/portaudio/pa_unix_oss/pa_unix_oss.c: On OpenBSD 3795 include soundcard.h. 3796 3797 * Panels/English.proj: Replace GSPageLayout.gorm and 3798 GSPrintPanel.gorm with updated GOrm dirs. Make Options button 3799 non-continuous. 3800 * Panels/GNUmakefile.postamble (after-install): Install the 3801 gorm dirs. 3802 38032003-07-19 Fred Kiefer <FredKiefer@gmx.de> 3804 3805 * Source/NSPopUpButtonCell.m 3806 Added methods [init], [objectValue], [setObjectValue:], 3807 [setImage:]. In [initTextCell:pullsDown:] create the menu first, 3808 so that the first item gets entered to it. In [setPullsDown:] and 3809 [setAltersStateOfSelectedItem] set the values that depend on these 3810 flags. In [insertItemWithTitle:atIndex:] remove duplicates. 3811 [selectItem:] the used image now depends on the arrow 3812 position. Removed [drawWithFrame:inView:] and rewrote 3813 [drawInteriorWithFrame:inView:]. 3814 38152003-07-18 Fred Kiefer <FredKiefer@gmx.de> 3816 3817 * Headers/gnustep/gui/NSControl.h 3818 * Source/NSControl.m 3819 New MacOSX methods [formatter], [setFormatter:], 3820 [attributedStringValue], [setAttributedStringValue:]. 3821 38222003-07-16 Adam Fedor <fedor@gnu.org> 3823 3824 * Documentation/Gui/LanguageSetup.gsdoc: Updated with changes from 3825 Yen-Ju Chen and (Kazunobu Kuriyama.) 3826 38272003-07-16 Fred Kiefer <FredKiefer@gmx.de> 3828 3829 * TextConverters/RTF/rtfGrammer.y 3830 Free the name for RTFOtherStatement. 3831 * TextConverters/RTF/rtfGrammer.tab.c 3832 Regenerated. 3833 38342003-07-15 Fred Kiefer <FredKiefer@gmx.de> 3835 3836 * TextConverters/RTF/RTFConsumerFunctions.h 3837 Added function GSRTFunicode(). 3838 * TextConverters/RTF/RTFConsumer.m 3839 Added method [RTFConsumer appendString:] with code coming from 3840 GSRTFmangleText(). Use this in GSRTFmangleText() and new function 3841 GSRTFunicode(). Corrected GSRTFmangleText() to convert the input 3842 from NSISOLatin1StringEncoding, as this is what our current RTF 3843 exporter produces. 3844 * TextConverters/RTF/rtfScanner.c 3845 Define RTFunichar token. 3846 * TextConverters/RTF/rtfGrammer.y 3847 Added rule to read unicode character from RTF input. 3848 * TextConverters/RTF/rtfGrammer.tab.c 3849 * TextConverters/RTF/rtfGrammer.tab.h 3850 Regenerated. 3851 38522003-07-14 Richard Frith-Macdonald <rfm@gnu.org> 3853 3854 * Headers/gnustep/gui/GSServicesManager.h: removed a function 3855 * Headers/gnustep/gui/NSApplication.h: and added it here so it's 3856 public. Also fixed some argument name missmatches. 3857 * Source/GSServicesManager.m: Some fixes for recent changes to 3858 DO in base library ... also make listener even safer. 3859 * Source/NSPasteboard.m: Improve documentation and change pasteboards 3860 to always be sent over DO bycopy. 3861 * Tools/example.m: Set error response to nil when there is no error. 3862 38632003-07-12 18:20 Alexander Malmberg <alexander@malmberg.org> 3864 3865 * Headers/gnustep/gui/NSTextView.h, Source/NSTextView.m: Add 3866 -_updateInputMethodState and -_updateInputMethodWithInsertionPoint: 3867 methods. Call them in suitable places. Minor cleanups in comments. 3868 38692003-07-12 Gregory John Casamento <greg_casamento@yahoo.com> 3870 3871 * Source/NSMatrix.m: -[NSMatrix keyCell] failed to check if the 3872 _cells array is initialized before accessing it. This was causing 3873 a core dump when unarchiving. 3874 38752003-07-10 03:37 Alexander Malmberg <alexander@malmberg.org> 3876 3877 * Source/NSStringDrawing.m, Source/NSTextView.m: Adjust "really large" 3878 sizes to ensure accuracy to a whole point. 3879 38802003-07-10 Benhur Stein <benhur@inf.ufsm.br> 3881 3882 * Source/NSSavePanel.m: added new private method 3883 _compareFilename:with:. Use it in _selectCellName:. 3884 In [-browser:createRowsForColumn:inMatrix:]: use self as context to 3885 sortedArrayUsingFunction:context: 3886 * Source/NSOpenPanel.m (-_selectCellName:): use new [NSSavePanel 3887 _compareFilename:with:] method. 3888 * This fixes bug #4255 3889 38902003-07-05 Adam Fedor <fedor@gnu.org> 3891 3892 * configure.ac: Add openbsd flags like freebsd. 3893 3894 * Documentation/Gui/DefaultsSummary.gsdoc: Move backend defaults 3895 to back/Documentation/Back/DefaultsSummary.gsdoc. 3896 38972003-07-05 18:02 Alexander Malmberg <alexander@malmberg.org> 3898 3899 * Source/NSLayoutManager.m 3900 (-textStorage:edited:range:changeInLength:invalidatedRange:): Improve 3901 behavior of the adjustments to the selected range. 3902 39032003-07-05 17:20 Alexander Malmberg <alexander@malmberg.org> 3904 3905 * Source/NSAttributedString.m (-fixParagraphStyleAttributeInRange:): 3906 Handle paragraphs with a paragraph style set for a part of it but 3907 not the first character correctly. 3908 3909 * Source/NSFont.m (getNSFont): Retain/autorelease when returning a 3910 cached instance to make the retain status of the instance correct. 3911 39122003-07-05 16:07 Alexander Malmberg <alexander@malmberg.org> 3913 3914 * Source/NSFont.m (-initWithCoder:): Make sure that the returned 3915 font has a correct retain count on all paths. 3916 39172003-07-04 Richard Frith-Macdonald <rfm@gnu.org> 3918 3919 * Source/NSPasteboard.m: Add code to set protocols for proxy objects. 3920 and dum my class implementations to let protocols work with old 3921 compilers. 3922 * Headers/AppKit/GSPasteboard.h: Add missing method of owner. 3923 39242003-07-03 01:43 Alexander Malmberg <alexander@malmberg.org> 3925 3926 * Source/NSFont.m (getNSFont): Only update the cache when the font 3927 has the default size. 3928 39292003-07-02 16:38 Alexander Malmberg <alexander@malmberg.org> 3930 3931 * Source/NSFont.m: (Mostly) rewrite handling of standard fonts to 3932 provide better behavior, especially when only some fonts are set in 3933 the defaults. Updated documentation. 3934 39352003-07-01 Serg Stoyan <stoyan@hologr.com> 3936 3937 * Source/NSBrowser.m (_createColumn): 3938 Set border type of column's scroll view according to 3939 _separateColumns flag. 3940 39412003-06-29 20:15 Alexander Malmberg <alexander@malmberg.org> 3942 3943 * Source/NSWorkspace.m (-launchApplication:showIcon:autolaunch:): 3944 Add a missing '@'. 3945 39462003-06-29 17:37 Alexander Malmberg <alexander@malmberg.org> 3947 3948 * Source/NSStringDrawing.m (-drawAtPoint:, -drawAtRect:, -size): 3949 Automatically turn off screen fonts in the layout manager if the 3950 ctm for the current context isn't the identity matrix (possibly 3951 flipped vertically). 3952 39532003-06-28 Richard Frith-Macdonald <rfm@gnu.org> 3954 3955 * Tools/make_services.m: Alter format of filter info. 3956 * Tools/example.m: Added an example filter. 3957 * Tools/md5Digest.m: Example filter user. 3958 * Source/GSServicesManager.m: tweak for filters. 3959 * Source/NSPasteboard.m: more documentation 3960 39612003-06-27 Richard Frith-Macdonald <rfm@gnu.org> 3962 3963 * Source/NSPasteboard.m: Documented all methods, fixed minor bugs 3964 writing fiels to pastebaords, implemented ([+typesFilterableTo:]) 3965 wrote (partial implementation ...) the unimplemented filters stuff. 3966 * Source/GSServicesManager.m: helpers for filters. 3967 * Headers/AppKit/GSPasteboard.h: Removed unused methods, added 3968 documentation. 3969 39702003-06-26 Ludovic Marcotte <ludovic@Sophos.ca> 3971 3972 * Fixed the transparency of Images/common_ret.tiff 3973 * Source/NSOutlineView (-setDataSource:) Modified to allow 3974 a nil data source. 3975 39762003-06-26 Fred Kiefer <FredKiefer@gmx.de> 3977 3978 * Headers/gnustep/gui/GSLayoutManager.h 3979 Changed ivars cached_pos and cached_cpos to unsigned. 3980 * Headers/gnustep/gui/GSLayoutManager_internal.h 3981 Changed element char_offset of structure glyph_t to unsigned. 3982 * Source/GSLayoutManager.m (_glyphDumpRuns, 3983 helpers::generateRunsToCharacter:, 3984 helpers::generateGlyphsUpToCharacter:, 3985 helpers::generateGlyphsUpToGlyph:, 3986 helpers::glyphForCharacter:index:positions::, getGlyphs:range:, 3987 characterRangeForGlyphRange:actualGlyphRange:, 3988 glyphRangeForCharacterRange:actualCharacterRange:, 3989 invalidateGlyphsForCharacterRange:changeInLength:actualCharacterRange:, 3990 insertTextContainer:atIndex:): 3991 Removed compiler warning about signed/unsigned comparision. 3992 39932003-06-25 Fred Kiefer <FredKiefer@gmx.de> 3994 3995 * Source/NSImage.m (initWithPasteboard:): 3996 * Source/NSView.m (dragFile:fromRect:slideBack:event:): 3997 Corrected handling of pasteboard data of type NSFilenamesPboardType. 3998 39992003-06-24 01:05 Alexander Malmberg <alexander@malmberg.org> 4000 4001 * Source/NSTabViewItem.m (-drawLabel:inRect:): Update for change 4002 in the behavior of -drawAtPoint:. Use -drawInRect: instead. 4003 40042003-06-23 19:03 Alexander Malmberg <alexander@malmberg.org> 4005 4006 * Source/NSStringDrawing.m (-drawAtPoint:): Place the text correctly 4007 when the view isn't flipped. 4008 40092003-06-23 Fred Kiefer <FredKiefer@gmx.de> 4010 4011 * Source/NSPanel.m 4012 Commented out unused variables WTitleHeight, ScrollMinSize, 4013 MessageMinHeight. 4014 * Source/NSTabView.m (selectNextTabViewItem:): 4015 * Source/NSTableView.m (selectAll:): 4016 * Source/NSTextStorage.m (edited:range:changeInLength:, 4017 processEditing): 4018 * Source/GSTextStorage.m (replaceCharactersInRange:withString:) 4019 * Source/tiff.m (NSTIFFRead, NSTIFFWrite, CheckAndCorrectColormap): 4020 * Source/GSTable.m (_updateForNewFrameSize:) 4021 * Source/NSTextView.m (changeFont:): 4022 Removed compiler warning about signed/unsigned comparision. 4023 * Source/GSHorizontalTypesetter.m 4024 Changed element char_index of structure glyph_cache_t to unsigned. 4025 40262003-06-22 Richard Frith-Macdonald <rfm@gnu.org> 4027 4028 * Source/NSWorkspace.m: Implement autolaunch flag and add 4029 documentation describing hwo GNUstep and MacOS-X actually 4030 handle launching ... hopefully more clearly than the 4031 somewhat misleading MacOS-X documentation. 4032 40332003-06-22 Fred Kiefer <FredKiefer@gmx.de> 4034 4035 * Headers/gnustep/gui/NSInputManager.h 4036 Changed ivar _abortFlags to unsigned. Changed all modifier 4037 parameters to unsigned. 4038 * Source/NSInputManager.m (initWithName:host:): 4039 Removed compiler warning about signed/unsigned comparision. 4040 Adopted to changes in header. 4041 * Headers/gnustep/gui/GSLayoutManager.h 4042 Changed ivars layout_glyph and layout_char to unsigned. 4043 * Headers/gnustep/gui/GSLayoutManager_internal.h 4044 Changed elements glyph_length and char_length of structure 4045 glyph_run_head_t to unsigned. 4046 * Source/NSLayoutManager.m 4047 (rectArrayForGlyphRange:...rectCount:, 4048 glyphRangeForBoundingRect:inTextContainer:, 4049 _insertionPointRectForCharacterIndex:textContainer:): 4050 Removed compiler warning about signed/unsigned comparision. 4051 * Source/NSMatrix.m (selectAll:) 4052 Removed compiler warning about signed/unsigned comparision. 4053 * Source/NSPageLayout.m (initWithContentRect:...screen:, readPrintInfo) 4054 Removed compiler warning about signed/unsigned comparision. 4055 * Headers/gnustep/gui/NSPopUpButtonCell.h 4056 Changed ivar _selectedItem to type (id <NSMenuItem>). 4057 * Source/NSPopUpButtonCell.m (insertItemWithTitle:atIndex:, 4058 selectItemAtIndex:, selectItemWithTitle:, setTitle:) 4059 Corrected type of local variable. 4060 * Source/NSPrintInfo.m 4061 In [+initPrintInfoDefaults] initialize variable printer with nil. 4062 * Source/NSPrintOperation.m (_print) 4063 Removed compiler warning about signed/unsigned comparision. 4064 * Source/NSPrintPanel.m 4065 Added missing include for GSGuiPrivate.h. 4066 (initWithContentRect:...screen:, updateFromPrintInfo) 4067 Removed compiler warning about signed/unsigned comparision. 4068 40692003-06-21 Adam Fedor <fedor@gnu.org> 4070 4071 * Source/NSOutlineView.m ([NSOutlineView -drawRow:clipRect:]): 4072 Add delegate method call. Patch from Yen-Ju Chen 4073 4074 * Source/NSView.m (-menuForEvent:): Add note about this 4075 method being discouraged. 4076 40772003-06-20 Adam Fedor <fedor@gnu.org> 4078 4079 * Source/NSFont.m ([NSFont -initWithCoder:]): Use NSFont not isa 4080 to call class methods. 4081 40822003-06-20 Adam Fedor <fedor@gnu.org> 4083 4084 * Source/DocMakefile (after-all): Check if Gui exists before 4085 removing. 4086 40872003-06-20 Adam Fedor <fedor@gnu.org> 4088 4089 * Version 0.8.7 4090 40912003-06-21 David Ayers <d.ayers@inode.at> 4092 4093 * PrinterTypes/GNUmakefile.postamble: Add -f option to rm in 4094 uninstall of resource files. 4095 40962003-06-17 Adam Fedor <fedor@gnu.org> 4097 4098 * GNUmakefile (SUBPROJECTS): Add Documentation 4099 41002003-06-17 Adam Fedor <fedor@gnu.org> 4101 4102 * Source/NSDocumentController.m: Add GSGuiPrivate header for 4103 localization. 4104 * Source/NSSavePanel.m: Idem. 4105 41062003-06-17 Fred Kiefer <FredKiefer@gmx.de> 4107 4108 * Headers/gnustep/gui/GSDisplayServer.h 4109 Changes style parameter of [stylewindow:style:] and 4110 [styleoffsets:::::] to unsigned, to be consistent with the other 4111 style methods. 4112 * Source/GSDisplayServer.m 4113 Adopted to changes in header. 4114 41152003-06-15 16:26 Alexander Malmberg <alexander@malmberg.org> 4116 4117 * Source/GSHorizontalTypesetter.m: Use NSIsEmptyRect instead of 4118 comparing for equality with NSZeroRect. 4119 (-layoutLineNewParagraph:): Handle text containers with no area. 4120 41212003-06-15 14:57 Alexander Malmberg <alexander@malmberg.org> 4122 4123 * configure.ac: Don't add GNUSTEP_HDIR/GNUSTEP_LDIR to 4124 ADDITIONAL_INCLUDE_DIRS/ADDITIONAL_LIB_DIRS. 4125 configure: Regenerate. 4126 41272003-06-15 02:35 Alexander Malmberg <alexander@malmberg.org> 4128 4129 * Headers/gnustep/gui/GSNibTemplates.h, Source/NSBundleAdditions.m: 4130 Remove unused GSFontProxy class. 4131 4132 2003-06-08 David Ayers <d.ayers@inode.at> 4133 4134 * Headers/gnustep/gui/IMConnectors.h: Change syntax of include <> 4135 to "" for local headers. Change base/ to gnustep/base/ in 4136 includes. Change AppKit/GSFiles.h to gnustep 4137 gnustep/gui/GSFiles.h includes. 4138 * Source/Functions.m, Source/GSDisplayServer.m, Source/GSFontInfo.m, 4139 Source/GSFusedSilica.m, Source/GSFusedSilicaContext.m, 4140 Source/GSHbox.m, Source/GSHelpManagerPanel.m, 4141 Source/GSInfoPanel.m, Source/GSKeyBindingAction.m, 4142 Source/GSKeyBindingTable.m, Source/GSLayoutManager.m, 4143 Source/GSMemoryPanel.m, Source/GSServicesManager.m, 4144 Source/GSSimpleLayoutManager.m, Source/GSSlideView.h 4145 Source/GSSlideView.m, Source/GSTable.m, Source/GSTextStorage.h 4146 Source/GSTextStorage.m, Source/GSTrackingRect.m, 4147 Source/GSTypesetter.m, Source/GSVbox.m, Source/NSActionCell.m, 4148 Source/NSAffineTransform.m, Source/NSApplication.m, 4149 Source/NSAttributedString.m, Source/NSBezierPath.m, 4150 Source/NSBitmapImageRep.m, Source/NSBox.m, Source/NSBrowser.m, 4151 Source/NSBrowserCell.m, Source/NSBundleAdditions.m, 4152 Source/NSButton.m, Source/NSButtonCell.m, 4153 Source/NSCachedImageRep.m, Source/NSCell.m, Source/NSClipView.m, 4154 Source/NSColor.m, Source/NSColorList.m, Source/NSColorPanel.m, 4155 Source/NSColorPicker.m, Source/NSColorWell.m, 4156 Source/NSComboBox.m, Source/NSComboBoxCell.m, Source/NSControl.m, 4157 Source/NSCursor.m, Source/NSCustomImageRep.m, 4158 Source/NSDataLink.m, Source/NSDataLinkManager.m, 4159 Source/NSDataLinkPanel.m, Source/NSDocument.m, 4160 Source/NSDocumentController.m, Source/NSDrawer.m, 4161 Source/NSEPSImageRep.m, Source/NSEvent.m, Source/NSFileWrapper.m, 4162 Source/NSFont.m, Source/NSFontManager.m, Source/NSFontPanel.m, 4163 Source/NSForm.m, Source/NSFormCell.m, Source/NSGraphicsContext.m, 4164 Source/NSHelpManager.m, Source/NSHelpPanel.m, Source/NSImage.m, 4165 Source/NSImageCell.m, Source/NSImageRep.m, Source/NSImageView.m, 4166 Source/NSInputManager.m, Source/NSInputServer.m, 4167 Source/NSInterfaceStyle.m, Source/NSLayoutManager.m, 4168 Source/NSMatrix.m, Source/NSMenu.m, Source/NSMenuItem.m, 4169 Source/NSMenuItemCell.m, Source/NSMenuView.m, 4170 Source/NSOpenGLContext.m, Source/NSOpenGLPixelFormat.m, 4171 Source/NSOpenGLView.m, Source/NSOpenPanel.m, 4172 Source/NSOutlineView.m, Source/NSPageLayout.m, Source/NSPanel.m, 4173 Source/NSParagraphStyle.m, Source/NSPasteboard.m, 4174 Source/NSPopUpButton.m, Source/NSPopUpButtonCell.m, 4175 Source/NSPrintInfo.m, Source/NSPrintOperation.m, 4176 Source/NSPrintPanel.m, Source/NSPrinter.m, 4177 Source/NSProgressIndicator.m, Source/NSResponder.m, 4178 Source/NSRulerMarker.m, Source/NSRulerView.m, 4179 Source/NSSavePanel.m, Source/NSScreen.m, Source/NSScrollView.m, 4180 Source/NSScroller.m, Source/NSSecureTextField.m, 4181 Source/NSSelection.m, Source/NSSlider.m, Source/NSSliderCell.m, 4182 Source/NSSound.m, Source/NSSpellChecker.m, 4183 Source/NSSpellServer.m, Source/NSSplitView.m, Source/NSStepper.m, 4184 Source/NSStepperCell.m, Source/NSStringDrawing.m, 4185 Source/NSTabView.m, Source/NSTabViewItem.m, 4186 Source/NSStepperCell.m, Source/NSStringDrawing.m, 4187 Source/NSTabView.m, Source/NSTabViewItem.m, 4188 Source/NSTableColumn.m, Source/NSTableHeaderCell.m, 4189 Source/NSTableHeaderView.m, Source/NSTableView.m, 4190 Source/NSText.m, Source/NSTextAttachment.m, 4191 Source/NSTextContainer.m, Source/NSTextField.m, 4192 Source/NSTextFieldCell.m, Source/NSTextStorage.m, 4193 Source/NSTextView.m, Source/NSTextView_actions.m, 4194 Source/NSToolbar.m, Source/NSToolbarItem.m, Source/NSView.m, 4195 Source/NSWindow.m, Source/NSWindowController.m, 4196 Source/NSWorkspace.m, Source/externs.m, Source/linking.m, 4197 Source/tiff.m: Ditto. 4198 41992003-06-08 Kazunobu Kuriyama <kazunobu.kuriyama@nifty.com> 4200 4201 * configure.ac: Add --with-audiofile-include and --with-audiofile 4202 -library options 4203 42042003-06-11 Dirk Latterman <dlatt@alqualonde.de> 4205 4206 * Source/NSActionCell.m (-setObjectValue:): Implemented. 4207 42082003-06-11 15:34 Alexander Malmberg <alexander@malmberg.org> 4209 4210 * Headers/gnustep/gui/GSFontInfo.h, Source/GSFontInfo.m: Add 4211 -appendBezierPathWithGlyphs:count:toBezierPath: method. 4212 4213 * Source/NSBezierPath.m: Use it to implement the glyph methods. 4214 42152003-06-09 Gregory John Casamento <greg_casamento@yahoo.com> 4216 4217 * Headers/gnustep/gui/NSDataLinkPanel.h: Added ivar declarations 4218 for the data link panel. 4219 * Source/NSDataLinkPanel.m: Added some implementations for panel 4220 methods. 4221 * Source/NSDataLinkManager.m: Manages the data links for an 4222 application. 4223 added implementation for some methods. 4224 * Headers/gnustep/gui/NSFontPanel.h: Added topView and bottomView 4225 and sizes for use by accessory view code. 4226 * Source/NSFontPanel.m: Added implementation for _getOriginalSize 4227 and also for sertAccessoryView. Previously the setAccessoryView 4228 method was causing the accessory view to overlay the content view 4229 of the window. 4230 * Panels/GNUmakefile: added GSDataLinkPanel.gorm in the makefile. 4231 * Source/NSBundleAdditions.m: Skeletal implementation of GSObjectData 4232 class. 4233 42342003-06-09 Alexander Malmberg <alexander@malmberg.org> 4235 committed by: Gregory Casamento <greg_casamento@yahoo.com> 4236 4237 * Headers/gnustep/gui/NSFont.h: Added ivar to hold font role 4238 to represent preferred fonts (e.g. system, user, & tooltip fonts) 4239 * Source/NSFont.m: Added roles and modified code to properly encode 4240 and decode fonts such that an intelligent default is selected if the 4241 specified font is unavailable and also unarchives as the correct 4242 preferred font if one of the predefined roles is selected. 4243 4244 42452003-06-08 Fred Kiefer <FredKiefer@gmx.de> 4246 4247 * Source/NSBitmapImageRep.m 4248 In [initWithBitmapDataPlanes:...bitsPerPixel:], 4249 [getBitmapDataPlanes:] and [copyWithZone:] changed type of i 4250 to unsigned int. 4251 * Source/NSBrowser.m (-setPath:, pathToColumn:, -addColumn): 4252 Removed compiler warning about signed/unsigned comparision. 4253 * Source/NSComboBoxCell.m (-completedString:): ditto. 4254 * Source/NSFontPanel.m (-setPanelFont:isMultiple:, 4255 -_trySelectSize:, -_familySelectionChanged:, -browser:...column:) 4256 : ditto 4257 * Source/NSFontmanager.m (-availableFonts, 4258 -availableFontNamesWithTraits:, -availableMembersOfFontFamily:, 4259 -convertFont:, convertWeight:ofFont:, 4260 -fontWithFamily:traits:weight:size:, -fontNamed:hasTraits:): ditto. 4261 [setSelectedFont:isMultiple:] and [fontMenu:] changed menuItem to 4262 type (id <NSMenuItem>). 4263 42642003-06-05 16:42 Alexander Malmberg <alexander@malmberg.org> 4265 4266 * Source/NSMenu.m: Check the types of all defaults values before 4267 using them. 4268 42692003-06-05 Adam Fedor <fedor@gnu.org> 4270 4271 * GMAppKit.m (-initWithModelUnarchiver:): #ifdef out ivar assignment 4272 when compiling nib2gmodel. 4273 42742003-06-04 23:02 Alexander Malmberg <alexander@malmberg.org> 4275 4276 * Source/NSCell.m (-_setupTextWithFrame:inView:editor:): Use a (much) 4277 larger maximum size for the field editor. 4278 42792003-05-26 Adam Fedor <fedor@gnu.org> 4280 4281 * Source/NSApplication.m (gsapp_user_bundles): New function 4282 (-_init): Use it. 4283 * Documentation/Gui/DefaultsSummary.gsdoc: Update. 4284 42852003-05-25 Adam Fedor <fedor@gnu.org> 4286 4287 * Version 0.8.6 4288 42892003-05-22 18:07 Alexander Malmberg <alexander@malmberg.org> 4290 4291 * Tools/make_services (addExtensionsForApplication): Parse 4292 NSExtensions dictionary correctly. Based on patch from Jeff 4293 Teunissen. 4294 42952003-05-22 Fred Kiefer <FredKiefer@gmx.de> 4296 4297 * Source/NSFontPanel.m 4298 [_familySelectionChanged:] removed unused local variable. 4299 * Headers/gnustep/gui/NSWorkspace.h 4300 Added new MacOSX methods. 4301 * Source/NSWorkspace.m 4302 Basic implemention of [activeApplication] and [launchedApplications]. 4303 * Source/NSApplication.m 4304 In [finishLaunching] and [replyToApplicationShouldTerminate:] use 4305 [NSWorkspace activeApplication] to get application information. 4306 43072003-05-20 22:50 Alexander Malmberg <alexander@malmberg.org> 4308 4309 * Tools/make_services.m (scanDynamic): Skip anything with a .service 4310 extension. 4311 43122003-05-18 00:00 Alexander Malmberg <alexander@malmberg.org> 4313 4314 * Headers/gnustep/gui/DPSOperators.h, 4315 Headers/gnustep/gui/PSOperators.h, 4316 Headers/gnustep/gui/GSMethodTable.h, 4317 Headers/gnustep/gui/NSGraphicsContext.h, Source/NSGraphicsContext.m: 4318 Add shfill operator. 4319 43202003-05-15 Richard Frith-Macdonald <rfm@gnu.org> 4321 4322 * Source/GSInfoPanel.m: Draw authors in the order they occur in 4323 the info.plist 4324 43252003-05-14 Serg Stoyan <stoyan@on.com.ua> 4326 4327 * Source/NSMenuView.m 4328 (-setFont:): Set cell height at least to 20 pixels. 4329 43302003-05-13 20:19 Alexander Malmberg <alexander@malmberg.org> 4331 4332 * Source/NSButton.m (-setState:, -setNextState): Mark the view 4333 as needing display, don't force a display. 4334 4335 * Source/NSWindow.m (-_terminateBackendWindow): Set _windowNum to 0 4336 so the window will be recreated the next time it is needed. 4337 43382003-05-12 17:30 Alexander Malmberg <alexander@malmberg.org> 4339 4340 * Source/NSView.m (-lockFocusInRect:): Don't save the clipping path 4341 in the gstate if one is allocated since it depends on the rectangle 4342 focus is locked in. 4343 43442003-05-11 Richard Frith-Macdonald <rfm@gnu.org> 4345 4346 * Source/NSWorkspace.m: Add support for generic application icon. 4347 Reduce private method name pollution a little. 4348 * Images/common_UnknownApplication.tiff: copied from WM ... 4349 * Images/common_UnknownTool.tiff: similar image for unix cmd-line 4350 tools. 4351 * Source/NSApplication.m: Add some user info to the launch 4352 notification (provided by urbanek@host.sk). 4353 43542003-05-05 Michael Hanni <michael@deviant-behavior.com> 4355 4356 * Source/NSTabView.m: implemented 4357 selectTabViewItemWithIdentifier:. 4358 43592003-05-05 22:48 Alexander Malmberg <alexander@malmberg.org> 4360 4361 * Headers/gnustep/gui/GSLayoutManager.h, Source/GSLayoutManager.m, 4362 Source/GSHorizontalTypesetter.m: Detect and handle gaps in the soft 4363 invalidated layout information. 4364 43652003-05-02 Adam Fedor <fedor@gnu.org> 4366 4367 * Documentation/Gui/GNUmakefile: Remove GNUSTEP_MAKEFILES. 4368 * Source/DocMakefile: Idem. 4369 43702003-05-02 Fred Kiefer <FredKiefer@gmx.de> 4371 4372 * TextConverters/RTF/RTFProducer.h 4373 * TextConverters/RTF/RTFProducer.m 4374 New implemtation by Axel "Mikesch" Katerbau (axel@objectpark.org) 4375 with small changes from me. RTF output now support much more 4376 attributes and even Unicode characters. 4377 * Source/NSBezierPath.m 4378 Moved code from [bezierPathWithOvalInRect:] and 4379 [bezierPathWithRect:] to [appendBezierPathWithOvalInRect:] and 4380 [appendBezierPathWithRect:] and implemented the former with a call 4381 to the later. 4382 Preliminary implemetation for [appendBezierPathWithGlyph:inFont:] 4383 and [appendBezierPathWithGlyphs:count:inFont:]. 4384 * Source/NSFont.m: 4385 Preliminary implemetation for NSConvertGlyphsToPackedGlyphs(). 4386 43872003-05-01 21:48 Alexander Malmberg <alexander@malmberg.org> 4388 4389 * Source/NSScroller.m (-acceptsFirstResponder): Implement to 4390 return NO. 4391 43922003-05-01 20:02 Alexander Malmberg <alexander@malmberg.org> 4393 4394 * Source/NSInputManager.m (-loadBindingsWithName:): Update for file 4395 system layout changes. 4396 4397 * Source/NSTextView.m (-drawRect:): Draw the background correctly. 4398 43992003-04-30 Richard Frith-Macdonald <rfm@gnu.org> 4400 4401 * Source/NSScrollView.m: ([scrollWheel:]) enable horizontal scrolling 4402 with shift key. 4403 44042003-04-28 18:35 Alexander Malmberg <alexander@malmberg.org> 4405 4406 * Headers/gnustep/gui/NSTextContainer.h: Documented. 4407 * Source/NSTextContainer.m: Cleanups. 4408 4409Mon Apr 28 13:14:15 2003 Nicola Pero <n.pero@mi.flashnet.it> 4410 4411 * Source/NSApplication.m ([NSApplication -targetForAction:]): If this 4412 is a document-based application, check if the key window's document 4413 responds to the action; if it does, use it. 4414 44152003-04-28 Nicola Pero <nicola@nicola.brainstorm.co.uk> 4416 4417 * Resources/GNUmakefile 4418 (gui-resources_RESOURCE_FILES_INSTALL_DIR): Define using the full 4419 relative path. 4420 44212003-04-27 Adam Fedor <fedor@gnu.org> 4422 4423 * Source/GSServicesManager.m (+newWithApplication:) Change 4424 Services to Library/Services. 4425 * Source/NSWorkspace.m (+initilize): Idem. 4426 * Tools/make_services.m (main): Idem. 4427 44282003-04-27 Adam Fedor <fedor@gnu.org> 4429 4430 * Updates for filesystem change. 4431 * GNUmakefile (GNUSTEP_MAKEFILES): Remove 4432 * ColorPickers/GNUmakefile, Documentation/GNUmakefile, 4433 Images/GNUmakefile, KeyBindings/GNUmakefile, Model/GNUmakefile, 4434 Panels/GNUmakefile, Panels/GNUmakefile.postamble, 4435 PrinterTypes/GNUmakefile, PrinterTypes/GNUmakefile.postamble, 4436 Source/GNUmakefile, TextConverters/GNUmakefile, Tools/GNUmakefile: 4437 Idem and update install locations. 4438 * Resources/GNUmakefile: Update for change in resource-set.make 4439 * configure.ac: Replace $GNUSTEP_SYSTEM_ROOT/Makefiles with 4440 $GNUSTEP_MAKEFILES. Replace Libraries with Library/Libraries. 4441 Replace Headers with Library/Headers. 4442 4443 * Source/NSImage.m (+initialize, +imageNamed:): Use 4444 +pathForLibraryResource:ofType:inDirectory. 4445 * Source/NSPrintInfo (+initPrintInfoDefaults): Idem. 4446 * Source/NSPrinter.m (getFile): Idem. 4447 * Source/NSSound.m (+initialize, +soundNamed:): Idem. 4448 * Source/NSView.m (-_loadPrinterProlog): Idem. 4449 4450 * Source/NSPageLayout.m 4451 (-initWithContentRect:styleMask:backing:defer:screen:): Use 4452 GSGuiBundle to get resources. 4453 * Source/NSPrintPanel.m 4454 ( -initWithContentRect:styleMask:backing:defer:screen:): Idem. 4455 * Source/NSSpellChecker.m ([NSSpellChecker -init]): Idem. 4456 44572003-04-27 Michael Hanni <michael@deviant-behavior.com> 4458 4459 * Source/NSPopUpButtonCell.m (drawWithFrame:inView:): added a call 4460 to the NSMenuItemCell's calcSize method to place the image 4461 correctly when we are making a temp item. Fixes regression 4462 prompted by changes on 2003-04-17. 4463 44642003-04-27 Fred Kiefer <FredKiefer@gmx.de> 4465 4466 * Source/GSFontInfo.m 4467 Removed creation of fontDictionary from [init] method. This now 4468 gets done on demand in [afmDictionary]. 4469 * Source/NSFontPanel.m: 4470 [_familySelectionChanged:] made the call to [_trySelectSize:] 4471 safer against none existing fonts. This used to result in a NaN 4472 being displayed as font size. 4473 44742003-04-25 Benhur Stein <benhur@inf.ufsm.br> 4475 4476 * Source/NSRulerView.m: 4477 Removed unused macro BASE_LINE_LOCATION. 4478 (setMeasurementUnits:, setClientView:, setOriginOffset:): Add call 4479 to invalidateHashMarks, remove call to setNeedsDisplay:. 4480 (invalidateHashMarks): Add call to setNeedsDisplay:. 4481 (drawHashMarksAndLabelsInRect:): Changed calculation of location 4482 of zero hash mark. Changed use of _zeroLocation ivar into 4483 zeroLocation local variable. Limited display of hashs and 4484 marks to baseline. 4485 * Headers/gnustep/gui/NSRulerView.h: Renamed unused ivar 4486 _zeroLocation to _UNUSED. 4487 44882003-04-26 Fred Kiefer <FredKiefer@gmx.de> 4489 4490 * Source/NSControl.m 4491 Removed [becomeFirstResponder] and [resignFirstResponder] as the 4492 handling of [showFirstResponder] is still unclear. 4493 * Source/NSMenuView.m 4494 Moved the computation of the cell size into the method [setFont:] 4495 and use this in [init]. Added call to [setNeedsSizing:] in 4496 [setHorizontalEdgePadding:]. In [locationForSubmenu:] check for 4497 the interface style of the submenu. Also cleaned up up coding 4498 style and comments in the whole file. 4499 * Headers/gnustep/gui/NSParagraphStyle.h 4500 Added new ivar and methods from MacOSX to handle writing directions. 4501 * Source/NSParagraphStyle.m 4502 Implemented handling of writing directions. These are needed for the 4503 upcoming new RTFProducer. 4504 45052003-04-26 Richard Frith-Macdonald <rfm@gnu.org> 4506 4507 * Source/NSWindow.m: ([setFrameFromString:]) try to adjust sensibly 4508 for changes to screen size. 4509 ([constrainFrameRect:toScreen:]) bugfix for positioning when the 4510 window origin is negative. 4511 * Tools/make_services.m: Ignore illegal (null) file extension spec. 4512 45132003-04-26 Fred Kiefer <FredKiefer@gmx.de> 4514 4515 * Source/NSPanel.m 4516 Use controlBackgroundColor instead of lightGrayColor. Patch by Matt 4517 Rice (matt@vespertine.pc.ashlandfiber.net). 4518 * Headers/gnustep/gui/NSGraphics.h 4519 * Source/externs.m 4520 Added NSPatternColorSpace. 4521 * Source/NSColor.m 4522 [GSPatternColor colorSpaceName] uses NSPatternColorSpace. 4523 Corrected [blendedColorWithFraction:ofColor:], where self and aColor 4524 where exchanged and alpha handling was missing. 4525 * Source/NSWindow.m 4526 Removed unused local variable in [sendEvent:]. 4527 * Source/NSSliderCell.m 4528 Basic implementation of the tick mark methods. Added en-/decoding 4529 for tick marks. [setKnobThickness:], [setNumberOfTickMarks:] and 4530 [setTickMarkPosition:] now update the control. 4531 45322003-04-25 Richard Frith-Macdonald <rfm@gnu.org> 4533 4534 * Source/NSSavePanel.m: Track window resizing and adjust browser 4535 columns to match. Use larger minimum width. 4536 45372003-04-21 Serg Stoyan <stoyan@hologr.com> 4538 4539 * Source/NSMenuView.m: 4540 (mouseDown:): Generate periodic events every 0.01 seconds. 4541 45422003-04-17 Serg Stoyan <stoyan@hologr.com> 4543 4544 * Source/NSMenuItemCell.m: 4545 (setMenuView:): Removed setting image position and 4546 _mcell_belongs_to_popupbutton ivar for popup button cell. 4547 (calcSize): Removed code from setMenuView placed here. 4548 45492003-04-13 Michael Hanni <michael@deviant-behavior.com> 4550 4551 * Images/common_WMCloseBroken.tiff,common_WMClose.tiff: remove 4552 background of image. 4553 4554Mon Apr 14 14:24:27 2003 Nicola Pero <n.pero@mi.flashnet.it> 4555 4556 * Headers/gnustep/gui/AppKit.h: Include NSDocument.h 4557 45582003-04-14 Serg Stoyan <stoyan@hologr.com> 4559 4560 * Source/NSApplication.m: 4561 (setImageForWindowsItem:): Do not add "X" image if window has 4562 no close button. 4563 45642003-04-13 Michael Hanni <michael@deviant-behavior.com> 4565 4566 * Source/NSProgressIndicator.m: revert last change. 4567 * Source/NSInterfaceStyle.m: revert last change. 4568 * Headers/NSInterfaceStyle.h: revert last change. 4569 45702003-04-13 Michael Hanni <michael@deviant-behavior.com> 4571 4572 Multiple outstanding commits. 4573 4574 * ColorPickers/GSWheelColorPicker.m: 4575 (mouseDown:): Implemented new event loop that really speeds things 4576 up on slow machines. 4577 * Source/NSScroller.m: 4578 (init): Decreased periodic delay for scroller buttons. 4579 (trackKnob:): Implemented new event loop to improve speed. Added 4580 code to "snap" back the scroller when you release the alternate 4581 key in mid-scroll (modeled after OS 4.2 behavior.) 4582 (trackScrollButtons:): Removed event loop as we weren't using it 4583 anyways. 4584 * Source/NSFontPanel.m: 4585 (_trySelectSize:): Put size textfield update code here, make sure 4586 column is loaded. 4587 (_familySelectionChanged:): Call _trySelectSize: to update the 4588 size column just like we do for the face browser. 4589 * Source/NSProgressIndicator.m: 4590 (drawRect:): Implement GSGtkInterfaceStyle for 4591 NSProgressIndicatorInterfaceStyle. 4592 * Source/NSInterfaceStyle.m: added GSGtkInterfaceStyle. 4593 * Headers/NSInterfaceStyle.h: ditto. 4594 45952003-04-13 Michael Hanni <michael@deviant-behavior.com> 4596 4597 * Source/NSPopUpButton.m: 4598 (mouseDown:): Beep and return if menu items array is empty. 4599 (keyDown:): ditto. 4600 4601 * Source/NSPopUpButtonCell.m: 4602 (removeAllItems:): Revert last change. Really remove all items. 4603 (drawWithFrame:inView:): Draw temporary cell if no items in menu. 4604 46052003-04-12 Serg Stoyan <stoyan@hologr.com> 4606 4607 * Source/NSPopUpButtonCell.m: 4608 (removeAllItems): Leave item at index 0 with empty title. 4609 46102003-04-11 Michael Hanni <michael@deviant-behavior.com> 4611 4612 * Source/NSApplication.m: 4613 (updateWindowsItem:): call to sizeToFit removed. NSMenuItemCell 4614 manipulation removed which the cell makes internally anyways. 4615 4616 * Source/NSMenuView.m: 4617 (- update:): if we are a popup bail out before messing around 4618 with titleview buttons. 4619 (isOpaque): method added. We are opaque after all. 4620 46212003-04-11 Serg Stoyan <stoyan@hologr.com> 4622 4623 * Source/NSPopUpButton.m: 4624 (mouseDown): Set menu view's highlightedItemIndex to 4625 lastSelectedItem if result index is -1. Comments added. 4626 4627 * Source/NSApplication.m: 4628 (setImageForWindowsItem:): implemented. 4629 (changeWindowsItem:title:filename:): call setImageForWindowsItem: 4630 added. TODO: removed from comment. 4631 46322003-04-10 Serg Stoyan <stoyan@hologr.com> 4633 4634 * Source/NSPopUpButton.m: 4635 (mouseDown): Get selected item index from _cell. Set NSMenuView 4636 selected item if selection changed, revert to old if unchanged or 4637 menu item disabled. 4638 4639 * Source/NSPopUpButtonCell.m: 4640 (selectItem:): Remove image from old selected item and add image 4641 to new selected item only if image is not set by user. 4642 46432003-04-10 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr> 4644 4645 * Source/NSWindow.m ([-sendEvent:], case NSRightMouseDown): 4646 removed code to display the menu. This is now done by 4647 [NSView -rightMouseDown:]. 4648 * Source/NSView.m: overrides -menu, 4649 changes -rightMouseDown: to display the menu, 4650 documents -menu, -menuForEvent: and +defaultMenu. 4651 46522003-04-10 Richard Frith-Macdonald <rfm@gnu.org> 4653 4654 * Source/GSServicesManager.m: on opening file, only activate for 4655 document based applications as suggested by Alexander. 4656 * Source/NSWorkspace.m: ([_connectApplication:]) fix to handle 4657 retries and timeouts correctly. 4658 46592003-04-10 01:53 Alexander Malmberg <alexander@malmberg.org> 4660 4661 * Source/GSLayoutManager.m (-_generateGlyphs_char_r::::::): Fix 4662 updating of glyph counts in some rare cases. Minor cleanups. 4663 46642003-04-09 Richard Frith-Macdonald <rfm@gnu.org> 4665 4666 * Headers/gnustep/gui/GSServicesManager.h: Expost file open methods. 4667 * Source/GSServicesManager.m: Tidy file opening methods. 4668 * Source/NSApplication.m: Use methods from GSServicesManager 4669 Activate NSApp when opening a file. Use NSDocumentController if the 4670 app delegate won't open a file. Remove temporary files once they 4671 are opened. 4672 46732003-04-09 Serg Stoyan <stoyan@hologr.com> 4674 4675 * Source/NSMenuView.m: return back horizontal menu code. 4676 (sizeToFit): ditto. Take into account title view's width when 4677 calculating horizontal menu frame. 4678 (innerRect): ditto. 4679 (rectOfItemAtIndex:): ditto. Take into account title view's width 4680 when calculating placement of menu item in horizontal menu. 4681 (locationForSubmenu:): ditto. 4682 (setWindowFrameForAttachingToRect:): ditto. 4683 (encodeWithCoder:): ditto. 4684 (initWithCoder:): ditto. 4685 (setHorizontal:): added. 4686 (isHorizontal): added. 4687 4688 ([NSMenuWindowTitleView mouseDown]): Event loop changed to 4689 Michael Hanni's version. 4690 4691 * Headers/NSMenuView.h: 4692 (setHorizontal:): added. 4693 (isHorizontal): added. 4694 4695 * Source/NSWindow.m: 4696 (orderWindow:): Display content view before backend window ordering. 4697 46982003-04-09 00:38 Alexander Malmberg <alexander@malmberg.org> 4699 4700 * Source/NSView.m (-setNeedsDisplay:, -setNeedsDisplayInRect:): 4701 Clean up, fix a potential issue when subclassing and thread-safety, 4702 and clarify the documentation. (Based on discussion with David Ayers 4703 and Pierre-Yves Rivaille.) 4704 47052003-04-08 15:33 Alexander Malmberg <alexander@malmberg.org> 4706 4707 * Source/NSTextView.m (-mouseDown:): Rewrite mouse tracking loop. 4708 47092003-04-08 02:12 Alexander Malmberg <alexander@malmberg.org> 4710 4711 * Source/NSApplication.m: Note which thread is the -gui thread. 4712 4713 * Source/NSView.m (-setNeedsDisplay:, -setNeedsDisplayInRect:): 4714 If the current thread isn't the -gui thread, perform the call 4715 in the main thread instead. 4716 47172003-04-07 13:05 Alexander Malmberg <alexander@malmberg.org> 4718 4719 * Source/NSFont.m (-initWithName:matrix:fix:screenFont:): Release 4720 all memory if the fontInfo can't be created. 4721 47222003-04-07 11:56 Alexander Malmberg <alexander@malmberg.org> 4723 4724 * TextConverters/RTF/rtfGrammer.y: Add error recovery rules. 4725 * TextConverters/RTF/rtfGrammer.tab.c: Rebuild. 4726 4727 * TextConverters/RTF/RTFConsumer.m: Change uses of autoreleased 4728 objects to retain/release explicitly instead. 4729 4730 (GSRTFError): Try to recover from errors instead of raising an 4731 exception. 4732 47332003-04-06 19:56 Alexander Malmberg <alexander@malmberg.org> 4734 4735 * Source/NSWindow.m: Make sure -_handleWindowNeedsDisplay: is run 4736 on every runloop iteration so -setNeedsDisplay* can be used safely 4737 from methods invoked by -performSelector:target:argument:order:modes:. 4738 47392003-04-06 15:10 Alexander Malmberg <alexander@malmberg.org> 4740 4741 * Source/GSLayoutManager.m (-_generateGlyphsUpToCharacter:): Make 4742 sure that all editing of the text storage has been processed before 4743 trying to generate glyhps for it. 4744 47452003-04-05 12:58 Alexander Malmberg <alexander@malmberg.org> 4746 4747 * Source/NSFontPanel.m (-_initWithoutGModel): Make preview active 4748 by default. 4749 47502003-04-05 Richard Frith-Macdonald <rfm@gnu.org> 4751 4752 * Headers/gnustep/gui/NSAttributedString.h: 4753 * Headers/gnustep/gui/NSDocumentController.h: 4754 * Headers/gnustep/gui/NSGraphicsContext.h: 4755 * Headers/gnustep/gui/NSResponder.h: 4756 * Headers/gnustep/gui/NSStringDrawing.h: 4757 * Headers/gnustep/gui/NSTextView.h: 4758 * Headers/gnustep/gui/NSWindow.h: 4759 Fixes to allow compliation of apps with STRICT_OPENSTEP defined. 4760 This does *NOT* mean I've checked that STRICT_OPENSTEP is defined 4761 where it should be, just that I've stopped it preventing compilation. 4762 47632003-03-28 Serg Stoyan <stoyan@on.com.ua> 4764 4765 * Source/NSMenuView.m: 4766 (displayTransient:): Call [self sizeToFit] before caclulating 4767 locations. 4768 47692003-04-04 02:46 Alexander Malmberg <alexander@malmberg.org> 4770 4771 * Source/NSTextView.m: Misc. cleanups. 4772 (-dealloc): Remove the delegate from the notification center for 4773 the notifications we added it for. 4774 47752003-04-03 20:28 Alexander Malmberg <alexander@malmberg.org> 4776 4777 * Headers/gnustep/gui/GSLayoutManager_internal.h, 4778 Source/GSLayoutManager.m: When stepping forward at the end of the 4779 glyph runs, correctly handle the case where the current run is 4780 extended. 4781 47822003-04-02 15:26 Alexander Malmberg <alexander@malmberg.org> 4783 4784 * Source/GSHorizontalTypesetter.m: Tweak glyph caching parameters 4785 to increase performance. 4786 47872003-04-01 Willem Rein Oudshoorn <woudshoo@xs4all.nl> 4788 4789 * Source/NSMenuView.m (NSMenuWindowTitleView): reformatted one line to 4790 conform to coding standards 4791 4792 * Source/NSMenu.m: renamed ivar _changed to _needsSizing. 4793 ([NSMenu -sizeToFit]): Changed call [_view update] to [_view sizeToFit] 4794 ([NSMenu -displayTransient]): call [NSMenuView-update] to ensure 4795 that the menuView knows it belongs to a transient menu. 4796 ([NSMenu -closeTransient]): call [NSMenuView-update] to ensue that the 4797 menuView knows it is not transient anymore. 4798 4799 * Headers/gnustep/gui/NSMenu.h: renamed ivar _changed to _needsSizing. 4800 48012003-04-01 Richard Frith-Macdonald <rfm@gnu.org> 4802 4803 * Source/NSApplication.m: ensure that application initialisation 4804 is performed in the main thread. 4805 48062003-03-31 Adam Fedor <fedor@gnu.org> 4807 4808 * Source/NSWindow.m (-becomeKeyWindow): Set initialFirstResponder. 4809 (-display): Remove this code from here. 4810 48112003-03-31 Adam Fedor <fedor@gnu.org> 4812 4813 * Source/NSButtonCell.m, Source/NSCell.m, Source/NSMenuItem.m: 4814 Add GSCategories.h 4815 48162003-03-30 19:14 Alexander Malmberg <alexander@malmberg.org> 4817 4818 * Source/NSScroller.m (-trackKnob:): Wrap each iteration of the 4819 loop in an autorelease pool. 4820 4821 * Source/NSTextView.m: Correct the name of the delegate method 4822 -textView:shouldChangeTextInRange:replacementString: (was missing 4823 the textView: part). 4824 48252003-03-30 Willem Rein Oudshoorn <woudshoo@xs4all.nl> 4826 4827 * Source/NSMenuView.m: Reformatted to comply to coding standards 4828 4829 * Source/NSMenu.m: Reformatted to comply to coding standards 4830 4831 48322003-03-28 21:08 Alexander Malmberg <alexander@malmberg.org> 4833 4834 * Source/NSTableView.m (mouseDown:): Wrap each iteration of the mouse 4835 tracking loop in an autorelease pool to avoid using huge amounts of 4836 memory if the button is held down a long time. 4837 48382003-03-28 Serg Stoyan <stoyan@on.com.ua> 4839 4840 * Source/NSMenuView.m: 4841 (attachSubmenuForItemAtIndex:): Documentation comment moved to 4842 NSMenuView.h. 4843 (indexOfItemAtPoint:): ditto. 4844 (locationForSubmenu:): ditto. 4845 (trackWithEvent:): ditto. 4846 (setWindowFrameForAttachingToRect:): Removed "move menu to the screen" 4847 TODO since it is out of this method scope. 4848 4849 * Headers/NSMenuView.m: Added documentation for almost all methods. 4850 Cleanup. 4851 48522003-03-27 23:52 Alexander Malmberg <alexander@malmberg.org> 4853 4854 * Source/NSMatrix.m (-setSelectionFrom:to:anchor:highlight:): Update 4855 the selection related ivars after changing the selection. 4856 48572003-03-27 Serg Stoyan <stoyan@on.com.ua> 4858 4859 * Source/NSMenuView.m: 4860 ([NSMenuWindowTitleView createButton:]): Made imageSize an ivar and 4861 removed declaration. Made rect setting with NSMakeRect(). 4862 ([NSMenuWindowTitleView addCloseButton:]): Added button location 4863 update. 4864 (initWithFrame:): Title adding moved int update method. 4865 (setWindowFrameForAttachingToRect:): Title removing moved into update 4866 method. Call update instead sizeToFit. 4867 4868 * Source/NSMenu.m: 4869 (initWithTitle:): Create NSMenuView with NSZeroRect frame. 4870 (insertItem:atIndex): removed [menu update] call, because itemChanged: 4871 calls it. 4872 (removeItemAtIndex:): ditto. 4873 (sizeToFit:): Added NSMenuView update. Removed [_view sizeToFit], 4874 beacuse [_view update] calls it. Don't set window's origin if size less 4875 than 1 (window is just created). 4876 (display): Removed [self update] call (sizeToFit calls 4877 it). Reformatting. Do not call setGeometry if menu is owned by popup. 4878 (close): Removed [self update] call. 4879 (closeTransient): ditto. 4880 48812003-03-18 Benhur Stein <benhur@inf.ufsm.br> 4882 4883 * Fix mouse tracking in NSMatrix 4884 * Headers/gnustep/gui/NSMatrix.h: Change _keyCell ivar to _reserved1. 4885 * Source/NSMatrix.m (-_setKeyRow:column:): New method 4886 (-_selectCell:atRow:column:): Use it. 4887 (-setSelectionFrom:to:anchor:highlight:): Rewrite. 4888 (-highlightCell:atRow:column:): Simplify 4889 (-_mouseDownNonListMode:): Fix tracking. 4890 (-_mouseDownListMode:theEvent): New method. 4891 (-mouseDown:): Use previous methods. 4892 48932003-03-25 Serg Stoyan <stoyan@on.com.ua> 4894 4895 * Source/NSMenuView.m 4896 (setWindowFrameForAttachingToRect:):Compute frame if number of 4897 items > 0 instead of > 1 (fixes size problem when there is 1 item 4898 in popup button's menu). 4899 (sizeToFit): optimized and fixed offsets calculation. 4900 4901 * Source/NSMenuItemCell.m 4902 (imageRectForBounds:): removed pad adding between state image and 4903 title image and text, because [NSMenuView sizeToFit] does this. 4904 (titleRectForBounds:): ditto. 4905 49062003-03-25 Michael Hanni <michael@deviant-behavior.com> 4907 4908 * Source/NSMenuView.m (-trackWithEvent:): reset highlighted items in a 4909 submenu that we leave for a supermenu. 4910 (setWindowFrameForAttachingToRect:): call sizeToFit only if cell's 4911 frame changed. 4912 49132003-03-24 Adam Fedor <fedor@gnu.org> 4914 4915 * Merge from 0.8.5 branch 4916 49172003-03-23 Serg Stoyan <stoyan@on.com.ua> 4918 * Source/NSMenuView.m: Removed horizontal menu related code. 4919 (setHorizontal:): Removed. 4920 (isHorizontal:): Removed. 4921 (_addLeftBorderOffsetToRect): Removed isHorizontal parameter. 4922 (setMenu:): Place [self setNeedsSizing: YES] before [self update]. 4923 (update): Removed title view removal, because it's not always known 4924 owner of menu at this point. Remove title view creating. 4925 (sizeToFit:): Reformatting. 4926 (innerRect:): Idem. 4927 (setWindowFrameForAttachingToRect:onScreen:preferredEdge:popUpSelectedItem:): 4928 Title view removal code placed here, because this is only place where 4929 non-titled menu can appear. 4930 (initWithFrame:): Removed comment about _leftBorderOffset for popups, 4931 because we use _leftBorderOffset for regular and popups now. Title view 4932 creating added. 4933 (rectOfItemAtIndex:): Removed comment about _leftBorderOffset for 4934 popups. 4935 (indexOfItemAtPoint:): Idem. Add left border offset for popups 4936 too. Correct calling of _addLeftBorderOffsetToRect. 4937 (setNeedsDisplayForItemAtIndex:): Idem. 4938 (rightMouseDown:): Ddded comment. 4939 4940 * Headers/NSMenuView.h 4941 (setHorizontal:): Removed. 4942 (isHorizontal:): Removed. 4943 49442003-03-22 Willem Rein Oudshoorn <woudshoo@xs4all.nl> 4945 4946 * Source/NSMenu.m ([NSMenu -display]): Added optimization of 4947 Michael Hanni to only resize menu view when actually displayed. 4948 ([NSMenu -setTitle:]): Idem 4949 ([NSMenu -sizeToFit:]): Fixed problem with jumping menus when items 4950 are added. 4951 ([NSMenu -display:]): added optimization of Michael Hanni to resize 4952 only once. Also fixed race condition bug in getting menu location. 4953 ([NSMenu -displayTransient]): Added optimization of M. Hanni, removed 4954 resetting position to (0, 0). 4955 4956 * Source/NSMenuView.m (-initWithFrame:): Removed creation of titleView 4957 ([NSMenuView -setMenu:]): call update to handle new situation 4958 ([NSMenuView -update]): Removed call to _menu update, handle the 4959 adding/removing of the title view. 4960 ([NSMenuView -sizeToFit]): reformatted to conform to coding standard, 4961 handle missing titleView. 4962 ([NSMenuView -setWindowFrameForAttachingToRect:onScreen:preferredEdge:popUpSelectedItem:]): 4963 Reformatted to conform to coding standard. Removed the code that 4964 removed the titleView. That is handled by update. 4965 ([NSMenuView -drawRect:]): Reformatted to conform to coding standards. 4966 ([NSMenuWindowTitleView -init]): Reformatted to conform to coding 4967 standards. 4968 ([NSMenuWindowTitleView -dealloc]): new method to prevent leaking 4969 the close button. 4970 ([NSMenuWindowTitleView -titleSize]): Reformatted to conform to 4971 coding standard 4972 ([NSMenuWindowTitleView -drawRect:]): idem 4973 ([NSMenuWindowTitleView -mouseDown:]): idem 4974 ([NSMenuWindowTitleView -createButton]): idem 4975 49762003-03-20 David Ayers <d.ayers@inode.at> 4977 4978 * Source/NSCell.m ([NSCell encodeWithCoder:]): Reinsert encoding 4979 of isContinuous to insure backward compatiblity of archives. 4980 49812003-03-20 Serg Stoyan <stoyan@on.com.ua> 4982 4983 * Source/NSMenuView.m 4984 (sizeToFit): Removed setting _leftBorderOffset to 0 for popup menus. 4985 Set menuBarHeight to title view height only if it's not popup menu. 4986 Added recalculation of key equivalent offset for popup menu. 4987 (setWindowFrameForAttachingToRect:onScreen:preferredEdge:popUpSelectedItem:): 4988 Remove title view. Take into account left top border while calculating 4989 screenFrame. 4990 (drawRect:): Draw left top dark gray border for all types of menus 4991 with NSDrawTiledRects(). 4992 49932003-03-19 Fred Kiefer <FredKiefer@gmx.de> 4994 4995 * Headers/gnustep/gui/NSMenu.h 4996 Removed method [_rightMouseDisplay:] as this is now private. 4997 * Source/NSMenu.m 4998 Implemented [popUpContextMenu:withEvent:forView:] using 4999 [_rightMouseDisplay:]. 5000 * Source/NSApplication.m 5001 In [rightMouseDown:] use [popUpContextMenu:withEvent:forView:]. 5002 * Source/NSMenu.m 5003 In [sendEvent:] use [popUpContextMenu:withEvent:forView:]. 5004 50052003-03-19 Fred Kiefer <FredKiefer@gmx.de> 5006 5007 * Source/NSBitmapImageRep.m 5008 In [imageUnfilteredFileTypes] add the tiff entries always to the 5009 front of the list. As the standard GNUstep images are in this 5010 format, this will speed up image loading. 5011 * Headers/gnustep/gui/NSCell.h 5012 Removed ivar is_continuous, this is now handled by the action 5013 mask. Decreased size of the image_position ivar. Added two more 5014 subclass ivar to reuse the freed space. Flagged all methods that 5015 are new in MacOSX and added a few more of this. 5016 * Source/NSCell.m 5017 Added new MacOSX methods [title], [setTitle:], [controlSize], 5018 [setControlSize:], [controlTint], [setControlTint:] and 5019 [highlightColorWithFrame:inView:]. Rewrote [isContinuous], 5020 [setContinuous:] and [trackMouse:...untilMouseUp:] to work via the 5021 _action_mask. 5022 50232003-03-18 Serg Stoyan <stoyan@on.com.ua> 5024 5025 * Source/NSMenuView.m 5026 ([NSMenuTitleView titleSize]): Added. 5027 ([NSMenuTitleView drawRect:]): Switch to using titleSize:. Declaration 5028 of attr variable moved to class declaration. 5029 ([NSMenuTitleView init]): Added to initialize attr variable. 5030 (sizeToFit): Count missed state image offset. Do not add padding when 5031 there's no key equivalent. Handle situations when tile view wider than 5032 menu items, when there's no menu items and so on. (Side efect: menu of 5033 application in Gorm resizes correctly while changing title, adding 5034 shorcut etc.). Using [NSMenuTitleView titleSize] now for correct 5035 determination of menu title's text width. 5036 50372003-03-17 Serg Stoyan <stoyan@on.com.ua> 5038 5039 * Source/NSMenuView.m 5040 (sizeToFit): 15 extra pixels added only for submenus. Extra 5041 _horizontalEdgePad removed. Made cleanup. 5042 (createButton): uses [NSButton setRefusesFirstResponder: YES] to avoid 5043 drawing dotted rectangle. 5044 * Images/common_Close.tiff: Changed to look and feel like 5045 WindowMaker's close button. 5046 * Images/common_CloseH.tiff: ditto. 5047 * Images/common_3DArrowDown.tiff: Corrected position of light and 5048 dark sides of triangle. 5049 50502003-03-17 Fred Kiefer <FredKiefer@gmx.de> 5051 5052 * Source/NSControl.m 5053 Added method [acceptsFirstResponder], which asks the cell if it 5054 accepts first responder. Added [becomeFirstResponder] and 5055 [resignFirstResponder] that redraw if the cell may change apprearance. 5056 * Source/NSButton.m 5057 * Source/NSStepper.m 5058 Removed the method [acceptsFirstResponder] as NSControls version 5059 is now used. 5060 50612003-03-07 Willem Rein Oudshoorn <woudshoo@xs4all.nl> 5062 5063 * Source/NSMenu.m: ([-_updateUserDefaults:]) Do not store location 5064 for attached menus. 5065 * Source/NSMenuView.m ([NSMenuWindowTitleView -drawRect:]): 5066 Centre drawing of title instead of using fixed offset. 5067 50682003-03-07 Richard Frith-Macdonald <rfm@gnu.org> 5069 5070 * Source/NSMenu.m: ([-_updateUserDefaults:]) restore saved menu 5071 location functionality (was only working for torn off menus). 5072 * Source/NSWindow: ([-miniaturise:]) order the counterpart window 5073 in so that it gets drawn properly. 5074 50752003-03-06 Willem Rein Oudshoorn <woudshoo@xs4all.nl> 5076 5077 * Source/NSMenuView.m: Added NSMenuTitleView (moved 5078 from NSMenu). 5079 ([NSMenuView -detachSubmenu]): Removed setting highlighting. 5080 ([NSMenuView -attachSubmenuForItemAtIndex:]) added logging. 5081 ([NSMenuView -update]): Handle _titleView. 5082 ([NSMenuView -sizeToFit]): Take titleView into account 5083 ([NSMenuView -performActionWithHighlightingForItemAtIndex:]): 5084 restore old highlighting. 5085 ([NSMenuView -trackWithEvent:]): Rewritten. 5086 ([NSMenuView -mouseDown:]): Only restore menu position 5087 when needed. 5088 ([NSMenuView -rightMouseDown:theEvent]): On menus treat 5089 as ordinary mouse down to avoid rightclick menus on menus. 5090 5091 * Source/NSMenu.m (NSView): Moved NSMenuWindowTitleView to 5092 NSMenuView. Added comments. Added -_updateUserDefaults:, 5093 -_menuMoved: methods to track moving menus. 5094 Renamed -_setTornOff: to -setTornOff:, -isFollowTransient to 5095 -isTransient. 5096 ([NSMenu -initWithTitle:]): Remove some old comments, remove 5097 reference to titleView, listen to window move notification and 5098 enqueued move notification. 5099 ([NSMenu -attachedMenu]): Adjusted for renamed ivar. 5100 ([NSMenu -sizeToFit]): Remove references to titleView 5101 ([NSMenu -setTornOff:]): Remove references to titleView, 5102 call update to NSMenuView instead. 5103 ([NSMenu -isPartlyOffScreen]): Do not depend in removed ivar. 5104 ([NSMenu -_performMenuClose:]): adjust to renamed methods, will 5105 force synchronization of userdefaults. 5106 ([NSMenu -displayTransient]): Removed references to _titleView, 5107 remember the highlighted index to restore with -closeTransient. 5108 ([NSMenu -close]): remove references to _titleview, use methods instead 5109 of relying on ivars. added call to update on menu representation. 5110 ([NSMenu -closeTransient]): Remove references to _titleView, restore 5111 highlighted index. Call update on menu representantation. 5112 ([NSMenu -shiftOnScreen]): Rewrote to move in x and y direction 5113 simultanuously. 5114 ([NSMenuWindowTitleView -acceptsFirstMouse:]): Removed useless 5115 code to set menuview for itemCells. 5116 5117 * Headers/gnustep/gui/NSMenuView.h: added ivar _titleView. 5118 (moved from NSMenu). 5119 5120 * Headers/gnustep/gui/NSMenu.h: Added NSMenuView protocol, 5121 added documentation to NSMenu class. 5122 (MSMenu): Removed ivar _titleView, _isPartlyOffScreen, added 5123 ivar _oldHighlightedIndex. Renamed method -isFollowTransient to 5124 -isTransient. Removed method -nestedCheckOffScreen 5125 51262003-03-05 17:07 Alexander Malmberg <alexander@malmberg.org> 5127 5128 * Source/NSLayoutManager.m (-drawGlyphsForGlyphRange:atPoint:): 5129 Use the focused view as the control view instead of the text 5130 container's text view (it might not have one). 5131 51322003-03-03 19:26 Alexander Malmberg <alexander@malmberg.org> 5133 5134 * Source/GSLayoutManager.m (-usedRectForTextContainer:): Don't add 5135 the extra line frag rect. 5136 5137 * Source/NSTextView.m (-sizeToFit): Add the extra line frag rect 5138 when computing the size of the view. 5139 (-scrollRangeToVisible:): Reimplement using the new insertion point 5140 positioning methods. 5141 51422003-03-03 16:17 Alexander Malmberg <alexander@malmberg.org> 5143 5144 * Source/GSHorizontalTypesetter.m (-layoutGlyphsInLayoutManager: 5145 inTextContainer:startingAtGlyphIndex:previousLineFragmentRect: 5146 nextGlyphIndex:numberOfLineFragments:): Change type of a variable 5147 holding a character index to int (was char, would overflow and 5148 break things). 5149 51502003-03-03 14:52 Alexander Malmberg <alexander@malmberg.org> 5151 5152 * Headers/gnustep/gui/GSTypesetter.h, Source/GSTypesetter.m: Removed 5153 -relayoutGlyphsInLayoutManager:glyphRange:lineFragmentRect: 5154 textContainer:previousLineFragmentRect:. It was broken by design, 5155 and a working soft invalidation system is now in place. 5156 5157 * Headers/gnustep/gui/GSLayoutManager.h, Source/GSLayoutManager.m: 5158 Add and implement -typesetter and -setTypesetter:. 5159 5160 * Source/GSTextStorage.m (-setAttributes:range:): Handle zero-length 5161 attribute changes correctly. 5162 51632003-03-02 Ludovic Marcotte <ludovic@Sophos.ca> 5164 5165 * Source/NSComboBoxCell.m: Modified so that we no longer 5166 retain the dataSource. This would create a retain loop and 5167 prevent anything using it to be released properly. 5168 51692003-03-01 Fred Kiefer <FredKiefer@gmx.de> 5170 5171 * Source/NSTextView_actions.m 5172 Use method calls instead of some of the direct references to 5173 NSLayoutManager ivar. General clean up. 5174 * Source/NSApplication.m 5175 Added support to print a file in [finishLaunching]. Use safer way 5176 to call selector in [beginSheet:...contextInfo:]. 5177 * Source/GSSlideView.m 5178 In [drawRect:]use the frame of the view, not the given rect. 5179 51802003-02-26 17:09 Alexander Malmberg <alexander@malmberg.org> 5181 5182 * Source/NSLayoutManager.m 5183 (-glyphRangeForBoundingRect:inTextContainer:): Fix the horizontal 5184 intersection checks. 5185 51862003-02-26 00:47 Alexander Malmberg <alexander@malmberg.org> 5187 5188 * Source/GSLayoutManager.m (-_generateRunsToCharacter:): Optimize 5189 the run structure by merging with an existing run instead of 5190 creating a new run under some circumstances. 5191 51922003-02-25 17:38 Alexander Malmberg <alexander@malmberg.org> 5193 5194 * Source/NSLayoutManager.m 5195 (-textStorage:edited:range:changeInLength:invalidatedRange:): Fix 5196 handling of trailing text containers when soft-invalidating. 5197 51982003-03-24 Adam Fedor <fedor@gnu.org> 5199 5200 * Version: 0.8.5 5201 52022003-03-24 Adam Fedor <fedor@gnu.org> 5203 5204 * Source/NSBox.m (-sizeToFit): Set frame to calculated size when 5205 content view has no subviews. 5206 52072003-03-18 17:54 Alexander Malmberg <alexander@malmberg.org> 5208 5209 * Source/NSFont.m, Source/NSStringDrawing.m, 5210 Headers/gnustep/gui/NSStringDrawing.h: Change to an implementation 5211 that uses the text system. 5212 52132003-03-07 Richard Frith-Macdonald <rfm@gnu.org> 5214 5215 * Source/NSWindow: ([-miniaturise:]) order the counterpart window 5216 in so that it gets drawn properly. 5217 52182003-03-04 Adam Fedor <fedor@gnu.org> 5219 5220 * Headers/gnustep/gui/GMAppKit.h, GMArchiver.h, IMConnectors.h, 5221 IMCustomObject.h, IMLoading.h, NSNibConnector.h: Change #import to 5222 #include 5223 * Model/Controller.[h,m], GMAppKit.m, GMArchiveObjects.m, 5224 GMArchiver.m, IBClasses.[hm], IMConnectors.h, IMLoading.m, 5225 Translator.[hm], nib2gmodel.m, test.m: Idem. 5226 5227 * Tools/gsnd/portaudio/pa_unix_oss/pa_unix_oss.c: Fixes for FreeBSD. 5228 52292003-02-24 Adam Fedor <fedor@gnu.org> 5230 5231 * Version: 0.8.4 5232 52332003-02-24 15:24 Alexander Malmberg <alexander@malmberg.org> 5234 5235 * Source/GSLayoutManager.m (-invalidateGlyphsForCharacterRange: 5236 changeInLength:actualCharacterRange:): Set the next character index 5237 correctly after the run-merge optimization. 5238 52392003-02-24 03:49 Alexander Malmberg <alexander@malmberg.org> 5240 5241 * Source/GSLayoutManager.m (-_glyphForCharacter:index:positions::): 5242 Fix handling of the case where the exact glyph is found during 5243 the binary search. 5244 5245 * Source/NSLayoutManager.m (-drawBackgroundForGlyphRange:atPoint:): 5246 Check that a range has a background color before checking that there 5247 are rectangles for it (since ranges practically always have 5248 rectangles, and very rarely a background color). 5249 52502003-02-24 00:02 Alexander Malmberg <alexander@malmberg.org> 5251 5252 * Source/NSParagraphStyle.m: Implement -isEqual: and -hash. 5253 52542003-02-23 13:30 Alexander Malmberg <alexander@malmberg.org> 5255 5256 * Source/NSWindow (-update): Don't redisplay the window. 5257 52582003-02-22 Benhur Stein <benhur@inf.ufsm.br> 5259 5260 * Source/NSView.m (-displayIfNeededInRectIgnoringOpacity:): Disable 5261 and re-enable flushing here. 5262 (-displayRectIgnoringOpacity:): And here. 5263 * Source/NSWindow.m ([NSWindow -display]): Instead of here. 5264 ([NSWindow -update]): And here. 5265 52662003-02-23 01:59 Alexander Malmberg <alexander@malmberg.org> 5267 5268 * Headers/gnustep/gui/GSLayoutManager_internal.h, 5269 Source/GSLayoutManager.m, Source/NSLayoutManager.m: Use num_linefrags 5270 to tell whether layout has started for a text container or not, 5271 instead of tracking the status separately. 5272 52732003-02-22 12:29 Alexander Malmberg <alexander@malmberg.org> 5274 5275 * Source/NSApplication.m (-sendEvent:): Only bring up the main 5276 menu if the there is no window for the event. 5277 5278 * Source/NSPopUpButton.m: Implement -menuForEvent: to always 5279 return nil to indicate that we don't have a context menu. 5280 52812003-02-22 02:34 Alexander Malmberg <alexander@malmberg.org> 5282 5283 * Headers/gnustep/gui/GSLayoutManager.h: Declare 5284 -layoutManager:didCompleteLayoutForTextContainer:atEnd: so it's 5285 visible (to gcc and to delegate implementers). 5286 5287 * Source/GSHorizontalTypesetter.m, Source/NSLayoutManager.m: Make 5288 sure the extra line frag is always set when we reach the end (ie. 5289 even after soft-invalidated layout information has been used up to 5290 the end). 5291 52922003-02-21 Serg Stoyan <stoyan@hologr.com> 5293 5294 * Source/NSApplication.m (-activateIgnoringOtherApps:): Remove 5295 main menu display. 5296 (-sendEvent:): Check first if right button down. 5297 (-setMainMenu:): Don't set menu title. Remove menu display. 5298 * Source/NSMenu.m (-init): Default title is process name. 5299 (-initWithTitle:): Observe NSApplicationWillBecomeActiveNotification. 5300 (_showOnActivateApp:): New. 5301 (-display): Set geometry only if not set. 5302 (-setGeometry): New. 5303 5304 * Source/NSPopUpButton.m (-mouseDown:): Send event to NSApp. 5305 53062003-02-19 Adam Fedor <fedor@gnu.org> 5307 5308 * Source/NSPrintOperation.m (-_print): Remove locale change (now 5309 handled correctly in backend stream context. 5310 5311 * Source/NSScrollView.m (-initWithFrame:): Change default border 5312 to none. 5313 53142003-02-19 15:06 Alexander Malmberg <alexander@malmberg.org> 5315 5316 * Headers/gnustep/gui/GSLayoutManager_internal.h, 5317 Source/GSLayoutManager.m: Optimize run_for_glyph_index() by 5318 caching the last run. Optimize allocation of line frags. 5319 5320 * Source/NSLayoutManager.m 5321 (-textStorage:edited:range:changeInLength:invalidatedRange:): Fix 5322 clearing of soft-invalidated information if there's an invalidation 5323 and we don't have layout past the invalidated range. 5324 53252003-02-19 03:09 Alexander Malmberg <alexander@malmberg.org> 5326 5327 * Source/GSLayoutManager.m (-_glyphForCharacter:index:positions::): 5328 Use binary search to find the index of the character in the run. 5329 5330 (-setLocation:forStartOfGlyphRange:): Start the search for the line 5331 frag from the back, as the line frag we're searching will often 5332 be the last one (always with GSHorizontalTypesetter). 5333 53342003-02-19 00:31 Alexander Malmberg <alexander@malmberg.org> 5335 5336 * Headers/gnustep/gui/GSLayoutManager.h, 5337 Source/GSHorizontalTypesetter.m, Source/GSLayoutManager.m: Optimize 5338 reuse of soft-invalidated layout a bit in a common case. 5339 53402003-02-19 00:10 Alexander Malmberg <alexander@malmberg.org> 5341 5342 * Source/GSLayoutManager.m (-invalidateGlyphsForCharacterRange: 5343 changeInLength:actualCharacterRange:): Correct the condition for 5344 splitting the initial run. 5345 53462003-02-18 21:24 Alexander Malmberg <alexander@malmberg.org> 5347 5348 * Headers/gnustep/gui/GSLayoutManager.h, Source/GSLayoutManager.m: 5349 Add basic interface that lets the typesetter access soft-invalidated 5350 layout information. 5351 5352 * Source/GSHorizontalTypesetter.m (-layoutLineNewParagraph:): Use 5353 the soft-invalidated information to avoid rebuilding the layout 5354 (when possible). 5355 5356 * Source/NSLayoutManager.m: Fix edge case in soft invalidation. 5357 53582003-02-18 Fred Kiefer <FredKiefer@gmx.de> 5359 5360 * TextConverters/RTF/RTFProducer.m 5361 [colorTable] corrected the output of the colour table, by using a 5362 C array instead of an NSMutableArray. 5363 * TextConverters/RTF/RTFConsumer.m 5364 GSRTFcolorfg(), GSRTFcolorbg(), GSRTFlineSpace(), 5365 GSRTFspaceAbove() set the state of the context to changed, so that 5366 new attributes get used. 5367 53682003-02-18 18:03 Alexander Malmberg <alexander@malmberg.org> 5369 5370 * Headers/gnustep/gui/GSLayoutManager_internal.h, 5371 Source/GSLayoutManager.m, Source/NSLayoutManager.m: Implement 5372 handling of soft-invalidated line frags. Soft-invalidate layout 5373 information for glyphs after an edited range in NSLayoutManager. 5374 53752003-02-18 01:23 Alexander Malmberg <alexander@malmberg.org> 5376 5377 * Headers/gnustep/gui/GSLayoutManager_internal.h, 5378 Source/GSLayoutManager.m: Many minor cleanups and optimizations. 5379 Much commenting. 5380 5381 * Source/GSHorizontalTypesetter.m (-layoutGlyphsInLayoutManager: 5382 inTextContainer:startingAtGlyphIndex:previousLineFragmentRect: 5383 nextGlyphIndex:numberOfLineFragments:): Determine the initial value 5384 for newParagraph correctly. 5385 5386 * Source/NSLayoutManager.m 5387 (-textStorage:edited:range:changeInLength:invalidatedRange:): Don't 5388 invalidate all layout on each change. Now, all layout information 5389 for glyphs before the change will be reused. (Layout for glyphs 5390 after the change is still invalidated, until I finish the soft 5391 invalidation.) 5392 5393 * Source/GSTextStorage.m (-setAttributes:range:): Call 5394 -edited:range:changeInLength: with the range that was changed (and 5395 not the range attributes could be merged for). 5396 53972003-02-17 21:25 Alexander Malmberg <alexander@malmberg.org> 5398 5399 * Headers/gnustep/gui/GSLayoutManager.h, 5400 Headers/gnustep/gui/GSLayoutManager_internal.h, 5401 Source/GSLayoutManager.m (-invalidateGlyphsForCharacterRange: 5402 changeInLength:actualCharacterRange:): Set the prev pointer 5403 correctly when splitting a run. Add sanity checks to catch try 5404 to catch glyph structure corruption early. 5405 5406 (-textStorage:edited:range:changeInLength:invalidatedRange:): Clean 5407 up layout invalidation. 5408 54092003-02-17 02:16 Alexander Malmberg <alexander@malmberg.org> 5410 5411 * Headers/gnustep/gui/GSLayoutManager.h, Source/GSLayoutManager.m: 5412 Add some framework support for caching the last accessed run. 5413 54142003-02-17 02:08 Alexander Malmberg <alexander@malmberg.org> 5415 5416 * Source/NSLayoutManager.m (-rectArrayForGlyphRange: 5417 withinSelectedGlyphRange:inTextContainer:rectCount:, 5418 -_insertionPointRectForCharacterIndex:textContainer:, 5419 -drawGlyphsForGlyphRange:atPoint:): Optimize by using a binary 5420 instead of linear search for the line frag. 5421 5422 More cleanups and comments. 5423 54242003-02-16 22:37 Alexander Malmberg <alexander@malmberg.org> 5425 5426 * Source/NSLayoutManager.m: Commenting and cleanups. 5427 (-glyphIndexForPoint:inTextContainer:fractionOfDistanceThroughGlyph:): 5428 Handle the case where the point is on a line, but not inside a line 5429 frag rect, better. 5430 54312003-02-16 17:48 Alexander Malmberg <alexander@malmberg.org> 5432 5433 * Headers/gnustep/gui/GSHorizontalTypesetter.h, 5434 Source/GSHorizontalTypesetter.m: Store the line frags array as 5435 an ivar instead of allocating and freeing it everytime 5436 -layoutLineNewParagraph: is called. 5437 54382003-02-16 15:51 Alexander Malmberg <alexander@malmberg.org> 5439 5440 * Source/NSLayoutManager.m: Bring back the old implementation of 5441 -rulerMarkersForTextView:paragraphStyle:ruler:. 5442 5443Sun Feb 16 14:54:50 2003 Nicola Pero <n.pero@mi.flashnet.it> 5444 5445 * Source/NSSplitView.m ([-mouseDown:]): Corrected offset used in 5446 delegate calls. For example, in a splitview with a single 5447 divider, the offset used was 1, while it should be 0. 5448 54492003-02-16 Richard Frith-Macdonald <rfm@gnu.org> 5450 5451 * Source/NSMenu.m: Upon creation of bWindow, set its level to 5452 pop up window level, so right click brings up the menu above 5453 panels etc. 5454 5455Sun Feb 16 04:13:46 2003 Nicola Pero <n.pero@mi.flashnet.it> 5456 5457 * Source/NSSplitView.m ([-mouseDown:]): Fixed calling delegate 5458 method to constrain split position. Patch By Enrico Sersale, 5459 with changes. 5460 54612003-02-16 04:14 Alexander Malmberg <alexander@malmberg.org> 5462 5463 * Headers/gnustep/gui/GSLayoutManager.h, Source/GSLayoutManager.m: 5464 Add methods for setting and getting the extra line fragment 5465 information. 5466 5467 * Source/GSHorizontalTypesetter.m (-layoutLineNewParagraph:): Set 5468 the extra line fragment information as required. 5469 5470 * Source/NSLayoutManager.m: Use the extra line fragment information 5471 to position the insertion point properly when it's placed after the 5472 last character in the text. 5473 54742003-02-15 18:22 Alexander Malmberg <alexander@malmberg.org> 5475 5476 * Headers/gnustep/gui/NSTextView.h, Source/NSLayoutManager.m, 5477 Source/NSTextView.m: Change the way the text view is told about 5478 layout invalidation. Change NSTextView to update its state as 5479 late as possible before displaying, and make sure it's updated 5480 when it's resized. 5481 54822003-02-15 18:11 Alexander Malmberg <alexander@malmberg.org> 5483 5484 * Source/NSParagraphStyle.m ([NSMutableParagraphStyle 5485 -copyWithZone:]): Add calls to GSDebugAllocationAdd/ 5486 GSDebugAllocationRemove when swizzling the class to keep the 5487 allocation counts valid. 5488 54892003-02-15 18:04 Alexander Malmberg <alexander@malmberg.org> 5490 5491 * Source/NSSpellChecker.m (-_launchSpellCheckerForLanguage:): Don't 5492 printf-expand the error message twice (might cause a crash if 5493 'language' contains a "%"). 5494 5495Sat Feb 15 13:26:03 2003 Nicola Pero <n.pero@mi.flashnet.it> 5496 5497 * Headers/gnustep/gui/AppKit.h: Include NSRulerView.h 5498 and NSRulerMarker.h, reported missing by Benhur Stein. 5499 55002003-02-14 17:47 Alexander Malmberg <alexander@malmberg.org> 5501 5502 * Headers/gnustep/gui/NSTextView.h, Source/NSTextView.m, 5503 Source/NSTextView_actions.m: Keep track of the original index of a 5504 sequence of moves in one dimension. Pass it to the layout manager 5505 when moving the insertion point to prevent drifting. 5506 5507 * Source/GSHorizontalTypesetter.m (-layoutLineNewParagraph:): Fix 5508 an edge case in tab handling. Also, if tabs occur and the paragraph 5509 style has no more tab stops, act as if there were tabs every 100 5510 points. 5511 5512 * Source/NSLayoutManager.m (-characterIndexMoving:fromCharacterIndex: 5513 originalCharacterIndex:distance:): When moving vertically, return the 5514 index of the character nearest the target horizontally. 5515 55162003-02-13 01:01 Alexander Malmberg <alexander@malmberg.org> 5517 5518 * TextConverters/RTF/rtfGrammer.y (rtfCharset): Treat unknown 5519 character sets as ANSI. 5520 TextConverters/RTF/rtfGrammer.tab.c, 5521 TextConverters/RTF/rtfGrammer.tab.h: Regenerate. 5522 5523 * TextConverters/RTF/RTFConsumer.m: Fix handling of the indentation 5524 control words: \fi, \li, and \ri. 5525 (GSRTFmangleText): Set the paragraph style attribute to a copy of 5526 the working NSMutableParagraphStyle so later changes won't affect 5527 the attributes of this text. 5528 55292003-02-13 00:52 Alexander Malmberg <alexander@malmberg.org> 5530 5531 * Source/GSHorizontalTypesetter.m (-layoutLineNewParagraph:): 5532 Implement basic handling of tabs. 5533 55342003-02-12 Fred Kiefer <FredKiefer@gmx.de> 5535 5536 * Source/GSSlideView.h 5537 * Source/GSSlideView.m 5538 Moved over from X11 backend. 5539 * Source/GNUmakefile 5540 Added new file GSSlideView.m. 5541 * Source/GSDisplayServer.m 5542 Use GSSlideView to implement image sliding. 5543 55442003-02-11 17:53 Alexander Malmberg <alexander@malmberg.org> 5545 5546 * Source/NSScrollView.m (-setBorderType:): Call -tile to make 5547 the change visible. 5548 5549 * Source/NSBrowser.m (-_createColumn): Set the border of the created 5550 scroll view explicitly. 5551 55522003-02-11 16:33 Alexander Malmberg <alexander@malmberg.org> 5553 5554 * Source/NSAttributedString.m (-fixAttachmentAttributeInRange:): 5555 Update end index when a character is deleted. 5556 5557 * Source/NSTextStorage.m (-processEditing): Make sure we always 5558 give a valid range and delta to the layout managers. 5559 5560 * Source/NSTextView.m (-setSelectedRange:affinity:stillSelecting:): 5561 Clamp the selected range to the text storage's length. 5562 55632003-02-10 Richard Frith-Macdonald <rfm@gnu.org> 5564 5565 * Source/NSBrowser.m: Rewrote and documented the ([-setPath:]) method 5566 to fix the distinction between absolute and relative paths and to 5567 improve performance somewhat. 5568 55692003-02-10 15:14 Alexander Malmberg <alexander@malmberg.org> 5570 5571 Based on patches from Jeff Teunissen: 5572 5573 * Source/NSWindow.m (GSAllWindows): Check that windowmaps isn't 5574 NULL before calling NSAllMapTableValues. 5575 5576 * Source/NSScroller.m: Change size check so the knob and arrows are 5577 visible until there's absolutely no space left for them. Draw the 5578 knob slot with the window's background color when the knob isn't 5579 visible for consistency with OPENSTEP. 5580 5581 * Source/NSApplication.m (-setApplicationIconImage:): Update all 5582 windows that have the old app icon as their mini window image so they 5583 use the new app icon. 5584 55852003-02-10 15:09 Alexander Malmberg <alexander@malmberg.org> 5586 5587 * Source/GSLayoutManager.m, Source/NSLayoutManager.m, 5588 Source/NSTextView.m: Many minor bug and behavior fixes to get the 5589 text system to work with several text containers attached to one 5590 layout manager. 5591 55922003-02-09 21:08 Alexander Malmberg <alexander@malmberg.org> 5593 5594 * Source/GSLayoutManager.m: Clean up old debugging code, whitespace, 5595 and error handling. 5596 (-_doLayout): Track next glyph index correctly if we have multiple 5597 text containers. 5598 5599 * Source/NSLayoutManager.m (-rectArrayForGlyphRange: 5600 withinSelectedGlyphRange:inTextContainer:rectCount:, 5601 -_insertionPointRectForCharacterIndex:textContainer:): Fix handling of 5602 glyphs that aren't nominally spaced. 5603 56042003-02-09 18:34 Alexander Malmberg <alexander@malmberg.org> 5605 5606 * Source/GSHorizontalTypesetter.m (-breakLineByWordWrappingBefore:): 5607 Return correct index when breaking at a control glyph. 5608 56092003-02-09 18:02 Alexander Malmberg <alexander@malmberg.org> 5610 5611 * Headers/gnustep/gui/GSLayoutManager_internal.h, 5612 Source/GSLayoutManager.m, Source/NSLayoutManager.m: Add 5613 -_didInvalidateLayout method that is called whenever any layout 5614 information has been invalidated. Use it in NSLayoutManager to 5615 resize text views. 5616 56172003-02-09 15:23 Alexander Malmberg <alexander@malmberg.org> 5618 5619 * Source/NSTextView_actions.m: Fix several movement actions (used 5620 to move from the wrong end of the selected range, or mixed glyphs 5621 and characters). 5622 56232003-02-09 14:48 Alexander Malmberg <alexander@malmberg.org> 5624 5625 * Source/GSHorizontalTypesetter.m: Make the main method reentrant 5626 by having it allocate a temporary instance to handle calls when 5627 it is already in use. 5628 56292003-02-09 Fred Kiefer <FredKiefer@gmx.de> 5630 5631 * Source/NSColorList.m 5632 [_loadAvailableColorLists] check if a directory exists before 5633 looking for a colour list in it. 5634 56352003-02-08 22:56 Alexander Malmberg <alexander@malmberg.org> 5636 5637 * Source/NSTextView_actions.m (-lowerBaseline:): Change the correct 5638 attribute. 5639 5640 (-turnOffLigatures:, -useStandardLigatures:): Correct the attribute 5641 changes. 5642 56432003-02-08 22:53 Alexander Malmberg <alexander@malmberg.org> 5644 5645 * Source/GSFontInfo.m (-defaultLineHeightForFont), 5646 Source/GSHorizontalTypesetter.m (-layoutLineNewParagraph:): Improve 5647 calculation of line height and make it match the baseline calculation 5648 when typesetting. 5649 56502003-02-08 22:29 Alexander Malmberg <alexander@malmberg.org> 5651 5652 * Source/NSWindow.m (-sendEvent:): On right mouse down, check if 5653 the view that is hit has a pop-up menu, and if so, display it 5654 instead of sending the event to the view. Based on patch from 5655 Matt Rice. 5656 56572003-02-08 17:51 Alexander Malmberg <alexander@malmberg.org> 5658 5659 * Headers/gnustep/gui/NSLayoutManager.h, Source/NSLayoutManager.m: 5660 Add -characterIndexMoving:fromCharacterIndex:originalCharacterIndex: 5661 distance: method. 5662 5663 * Source/NSTextView.m: Keep track of the selection affinity. 5664 5665 * Source/NSTextView_actions.m: Use the new method and affinity 5666 handling to reimplement the insertion point movement actions. 5667 56682003-02-07 17:47 Alexander Malmberg <alexander@malmberg.org> 5669 5670 * Source/GSTextStorage.m (-setAttributes:range:): Fix memory leak. 5671 56722003-02-05 Richard Frith-Macdonald <rfm@gnu.org> 5673 5674 * Source/libgnustep-gui.def: Regenerated 5675 * ColorPickers/GNUmakefile: add local library paths 5676 * Source/GSLayoutManager.m: Use rand() rather than random() as it 5677 is portable to mingw32. 5678 5679Wed Feb 5 04:56:45 2003 Serg Stoyan <stoyan@hologr.com> 5680 5681 * Source/NSMenuItemCell.m ([-drawKeyEquivalentWithFrame:inView:]): 5682 Do not draw the key equivalent if we are owned by a popup, and are 5683 drawing the small popup image. 5684 5685Wed Feb 5 04:42:16 2003 Serg Stoyan <stoyan@hologr.com> 5686 5687 * Source/NSPrintOperation.m ([-_printOperationDidRun:success: 5688 contextInfo:]): Fixed calling the delegate method. 5689 56902003-02-03 02:49 Alexander Malmberg <alexander@malmberg.org> 5691 5692 * Headers/gnustep/gui/NSLayoutManager.h, Source/NSLayoutManager.m: 5693 Add -insertionPointRectForCharacterIndex:inTextContainer: method. 5694 5695 * Source/NSTextView.m (-updateInsertionPointStateAndRestartTimer:): 5696 Use it. 5697 56982003-02-02 Fred Kiefer <FredKiefer@gmx.de> 5699 5700 * Source/NSTextField.m 5701 Only accept first mouse when editable. 5702 57032003-02-02 02:31 Alexander Malmberg <alexander@malmberg.org> 5704 5705 * Source/NSTextView.m, Source/NSTextView_actions.m: Clarify 5706 comments about user attribute changing now that I've figured out 5707 a way for it to work. Rewrite the actions to match. 5708 57092003-02-02 Fred Kiefer <FredKiefer@gmx.de> 5710 5711 * Source/NSWindow.m 5712 Rewrote all the toolbar methods. Implemented [zoom:]. Extracted 5713 new method [_terminateBackendWindow] from [dealloc] and use it to 5714 implement one shot windows in the orderOut case of 5715 [orderWindow:relativeTo:]. Removed frame restriction from 5716 [setFrameFromString:] as this gets done in 5717 [setFrame:display:]. Use [NSScreen visibleFrame] here and in 5718 [stringWithSavedFrame]. Implemented [cascadeTopLeftFromPoint:]. 5719 Removed unused and empty methods [performHide:] and [performUnhide:]. 5720 57212003-02-01 15:09 Alexander Malmberg <alexander@malmberg.org> 5722 5723 * Source/NSTextView.m (-shouldChangeTextInRange:replacementString:): 5724 Allow changes even if we're not the first responder. 5725 5726 (-didChangeText): If we're not the first responder, end the editing 5727 session. 5728 57292003-02-01 13:52 Alexander Malmberg <alexander@malmberg.org> 5730 5731 * Source/GSHorizontalTypesetter.m (-layoutLineNewParagraph:): Fix 5732 sign problem with descender. 5733 5734Sat Feb 1 05:34:09 2003 Benhur Stein <benhur@inf.ufsm.br>, 5735 Nicola Pero <n.pero@mi.flashnet.it> 5736 5737 The focus is now expected to have been locked on the control view 5738 before cell's drawXXXWithFrame:inView: and similar methods are 5739 called. This makes drawing much more efficient. 5740 * Source/NSApplication.m ([NSAppIconView -setImage:]): Lock/unlock 5741 focus if it can draw. 5742 * Source/NSBrowser.m ([GSBrowserTitleCell 5743 -drawWithFrame:inView:]): Do not lock/unlock focus. 5744 ([-displayColumn:]): Lock/unlock focus before drawing. 5745 ([-doClick:]): Lock/unlock focus. 5746 * Source/NSBrowserCell.m ([-drawInteriorWithFrame:inView:]): Do 5747 not lock/unlock focus. 5748 * Source/NSButtonCell.m ([-drawWithFrame:inView:]): Do not 5749 lock/unlock focus. 5750 ([-drawInteriorWithFrame:inView:]): Do not lock unlock focus. 5751 * Source/NSCell.m ([-drawInteriorWithFrame:inView:]): Do not 5752 lock/unlock focus. 5753 ([-drawWithFrame:inView:]): Do not lock/unlock focus. 5754 ([-performClick:]): Lock/unlock focus. 5755 * Source/NSComboBoxCell.m ([-_didClickInRect:ofView:]): 5756 Lock/unlock focus. 5757 * Source/NSControl.m ([-mouseDown:]): Lock/unlock focus. 5758 * Source/NSFormCell.m ([-drawWithFrame:inView:]): Do not 5759 lock/unlock focus. 5760 * Source/NSImageCell.m ([-drawInteriorWithFrame:inView:]): Do not 5761 lock/unlock focus. 5762 ([-drawWithFrame:inView:]): Do not lock/unlock focus. 5763 * Source/NSMatrix.m ([-deselectAllCells]): Mark the cell as 5764 needing redisplay, but do not redraw immediately. 5765 ([-_selectCell:atRow:column:]): Same change. 5766 ([-setSelectionFrom:to:anchor:highlight:]): Same change. 5767 ([-highlightCell:atRow:column:]): Lock/unlock focus. 5768 ([-_mouseDownNonListMode:]): Lock/unlock focus, flush window, 5769 select cell better. 5770 ([-mouseDown:]): Lock/unlock focus; removed 2 flush windows. 5771 ([-performKeyEquivalent:]): Lock/unlock focus; flush window. 5772 ([-_altModifier:]): Added a displayIfNeeded call. 5773 ([-keyDown:]): Same change. 5774 ([-_move:]): Always deselect all cells in before selecting new 5775 ones. Do not display cell immediately, but mark it for redisplay. 5776 Removed a few flush windows. Commented out unclear code. 5777 ([-_shiftModifier:]): Lock/unlock focus. 5778 ([-_setState:highlight:startIndex:endIndex:]): Do not flush the 5779 window. 5780 ([_setState:highlight:startIndex:endIndex:]): Do not display the 5781 cell directly; mark it as needing redisplay. 5782 ([-drawCellAtRow:column:]): Do not lock/unlock focus. 5783 ([-highlightCell:atRow:column:]): Do not lock/unlock focus. 5784 ([-_drawCellAtRow:column:]): Do not lock/unlock focus. 5785 * Source/NSMenuItemCell.m 5786 ([-drawBorderAndBackgroundWithFrame:inView:]): Do not lock/unlock 5787 focus. 5788 ([-drawInteriorWithFrame:inView:]): Do not lock/unlock focus. 5789 * Source/NSOutlineView.m 5790 ([-editColumn:columnIndexrow:rowIndexwithEvent:theEventselect:flag]): 5791 Lock/unlock focus. 5792 * Source/NSPopUpButtonCell.m ([-drawInteriorWithFrame:inView:]): 5793 Do not lock/unlock focus. 5794 * Source/NSScroller.m ([-trackScrollButtons:]): Lock/unlock focus. 5795 * Source/NSSlider.m ([-mouseDown:]): Lock/unlock focus. 5796 ([-trackKnob:knobRect:]): Lock/unlock focus. 5797 * Source/NSSliderCell.m ([-drawInteriorWithFrame:inView:]): Do not 5798 lock/unlock focus. 5799 * Source/NSStepper.m ([-mouseDown:]): Lock/unlock focus. 5800 * Source/NSStepperCell.m ([-drawInteriorWithFrame:inView:]): Do 5801 not lock/unlock focus. 5802 ([-highlight:highlightupButton:upButtonwithFrame:frameinView: 5803 controlView]): Do not lock/unlock focus. 5804 * Source/NSTextFieldCell.m ([-drawInteriorWithFrame:inView:]): Do 5805 not lock/unlock focus. 5806 * Source/NSTableHeaderCell.m ([-drawInteriorWithFrame:inView:]): 5807 Do not lock/unlock focus. 5808 ([-drawWithFrame:inView:]): Do not lock/unlocks focus. 5809 * Source/NSTableHeaderView.m ([-drawRect:]): Do not lock/unlock 5810 focus while drawing. 5811 ([-mouseDown:]): Lock/unlock focus. 5812 * Source/NSWindow.m ([NSMiniWindowView -setImage:, -setTitle:]): 5813 Lock focus if can draw rather than checking _window != nil. 5814 58152003-02-01 03:26 Alexander Malmberg <alexander@malmberg.org> 5816 5817 * Source/GSLayoutManager.m (-removeTextContainerAtIndex:): Set 5818 textcontainers to NULL after freeing it. Clean up some other 5819 malloc-stuff. 5820 5821 * Source/NSTextContainer.m (-replaceLayoutManager:): Remove the 5822 containers from the correct layout manager. 5823 58242003-01-31 Fred Kiefer <FredKiefer@gmx.de> 5825 5826 * Headers/AppKit/GSDisplayServer.h 5827 New interface [restrictWindow:toImage:]. 5828 * Source/GSDisplayServer.m 5829 Empty implementation for this. 5830 58312003-01-31 23:20 Alexander Malmberg <alexander@malmberg.org> 5832 5833 * Source/GSLayoutManager.m (-_generateGlyphsForRun:at:): Add 5834 handling of NSAttachmentCharacter. 5835 58362003-01-31 21:59 Alexander Malmberg <alexander@malmberg.org> 5837 5838 * Headers/gnustep/gui/GSLayoutManager.h, 5839 Headers/gnustep/gui/GSLayoutManager_internal.h, 5840 Source/GSLayoutManager.m: Implement [GSLayoutManager 5841 -setAttachmentSize:forGlyphRange:]. 5842 5843 * Source/NSLayoutManager.m (-drawGlyphsForGlyphRange:atPoint:): 5844 Implement drawing of attachments. 5845 5846 * Headers/gnustep/gui/NSFont.h: Add GSAttachmentGlyph to mark 5847 attachments in a glyph context. 5848 5849 * Source/GSHorizontalLayoutManager.m: Cleanups and comments. 5850 (-layoutLineNewParagraph:): Rewrite line height and baseline 5851 handling. Implement typesetting of attachments. 5852 5853 * Headers/gnustep/gui/NSTextAttachment.h: Add documentation. 5854 5855 * Source/NSTextAttachment.m (-cellFrameForTextContainer: 5856 proposedLineFragment:glyphPosition:characterIndex:): Return the 5857 correct position. 5858 5859Thu Jan 30 16:31:16 2003 Nicola Pero <n.pero@mi.flashnet.it> 5860 5861 * Source/GNUmakefile (NSMenuItem.m_FILE_FLAGS): Use -Wno-protocol 5862 when compiling NSMenuItem.m 5863 5864Thu Jan 30 16:19:56 2003 Nicola Pero <n.pero@mi.flashnet.it> 5865 5866 * TextConverters/RTF/RTFConsumer.m 5867 ([RTFConsumer +parseData:documentAttributes:]): Method removed. 5868 ([RTFConsumer +parseFile:documentAttributes:]): Method removed. 5869 ([RTFDConsumer +parseData:documentAttributes:class:]): New method, 5870 replacing +parseData:documentAttribute:. 5871 5872Thu Jan 30 05:12:21 2003 Serg Stoyan <stoyan@hologr.com> 5873 5874 * Headers/gnustep/gui/NSMenuItem.h: NSMenuItem protocol conforms 5875 to NSObject protocol. 5876 * Source/NSBundleAdditions.m ([-instantiateObject:]): Added 5877 missing cast. 5878 * Source/NSImage.m ([-dissolveToPoint:fromRect:fraction:]): Added 5879 missing variable initializer. 5880 ([-_bestRep:withBpsMatch:]): The same. 5881 * Source/NSImageRep.m ([-drawAtPoint:]): Added missing variable 5882 initializer. 5883 * Source/NSSplitView.m ([-mouseDown:]): The same. 5884 * Source/NSStringDrawing.m (drawRun): Fixed compiler warning. 5885 * Source/NSTableHeaderCell.m ([-setHighlighted:flag]): New method. 5886 * Source/NSTableHeaderView.m ([-drawRect:]): Removed calls to 5887 setBackgroundColor:. 5888 ([-mouseDown:]): Use setHighlighted:, not setBackgroundColor:, to 5889 highlight a header cell. 5890 * Source/NSTableView.m ([-mouseDown:]): Added missing variable 5891 initializer. 5892 * Headers/gnustep/gui/NSView.h: Added declaration of 5893 lockFocusInRect: 5894 * Source/NSView.m ([-lockFocusInRect:]): Added missing variable 5895 initializer. 5896 * Source/NSWindow.m: Include NSToolbar.h 5897 5898Thu Jan 30 04:55:12 2003 Nicola Pero <n.pero@mi.flashnet.it> 5899 5900 * Headers/gnustep/gui/NSToolbar.h: Declaration of GNUstepPrivate 5901 category moved here from NSToolbar.m. 5902 * Source/NSToolbar.m: Removed GNUstepPrivate category @interface. 5903 * Source/NSWindow.m ([-setToolbar:]): Added missing cast. 5904 5905Thu Jan 30 04:39:47 2003 Nicola Pero <n.pero@mi.flashnet.it> 5906 5907 * Source/NSWindowController.m ([-dealloc]): Release the window, do 5908 not autorelease it. 5909 5910Thu Jan 30 03:57:42 2003 Serg Stoyan <stoyan@hologr.com> 5911 5912 * Source/NSMenuView.m ([-sizeToFit]): Removed the additional 17 5913 pixels from menu view title size, they have no reason to be used, 5914 and don't look good. 5915 5916Thu Jan 30 02:55:17 2003 Nicola Pero <n.pero@mi.flashnet.it> 5917 5918 * Source/NSScrollView.m ([-scrollPageDown:], [-scrollPageUp:]): Do 5919 not mark rulers as needing redisplay. 5920 ([-scrollWheel:]): Do not scroll header view; do not mark rulers as 5921 needing redisplay. 5922 5923Thu Jan 30 02:51:49 2003 Benhur Stein <benhur@inf.ufsm.br> 5924 5925 * Source/NSScrollView.m ([-_doScroll:]): Do not scroll header 5926 view; do not mark rulers as needing redisplay. 5927 ([-reflectScrolledClipView:]): Mark the rulers as needing 5928 redisplay. Do not constrain the scrollpoint of the header view. 5929 59302003-01-29 21:14 Alexander Malmberg <alexander@malmberg.org> 5931 5932 * Source/GSLayoutManager.m (-setTextStorage:): Tell our text 5933 containers about the change. 5934 5935 * Source/NSTextContainer.m (-setLayoutManager:): Tell our text view 5936 about the change. 5937 5938 * Source/NSTextView.m: Guard in a few places where _layoutManager 5939 might be nil. 5940 59412003-01-29 16:01 Alexander Malmberg <alexander@malmberg.org> 5942 5943 * Source/GSHorizontalTypesetter.m (-layoutLineNewParagraph:): Place 5944 baseline higher (in relation to the line height). 5945 5946 * Source/NSLayoutManager.m (-textStorage:edited:range:changeInLength: 5947 invalidatedRange:): Fix selection range adjustment when the entire 5948 selection is removed. 5949 59502003-01-29 01:40 Alexander Malmberg <alexander@malmberg.org> 5951 5952 * Headers/gnustep/gui/NSTextView.h, Source/NSTextView.m: Implement 5953 basic drawing of insertion point. 5954 59552003-01-28 Fred Kiefer <FredKiefer@gmx.de> 5956 5957 * TextConverters/RTF/RTFConsumer.m 5958 In [copyWithZone:] use mutable copy of prargraph style. 5959 59602003-01-28 23:29 Alexander Malmberg <alexander@malmberg.org> 5961 5962 * Source/NSTextView.m (-setConstrainedFrameSize:) Fix calculation of 5963 the effective minimum size. 5964 5965 (-sizeToFit): Use maximum x and y of used rect to calculate size, not 5966 the used rect's own size. 5967 59682003-01-28 22:54 Alexander Malmberg <alexander@malmberg.org> 5969 5970 * Source/NSLayoutManager.m (-textStorage:edited:range:changeInLength: 5971 invalidatedRange:): Add code to adjust the selected range after each 5972 change. 5973 59742003-01-28 22:20 Alexander Malmberg <alexander@malmberg.org> 5975 5976 * Source/NSTextView.m (-initWithFrame:textContainer:): Make the 5977 default text container inset (2,0). 5978 59792003-01-28 20:02 Alexander Malmberg <alexander@malmberg.org> 5980 5981 * Source/GSHorizontalTypesetter: Set proper used rect for line frag 5982 rects. 5983 5984 * Source/GSLayoutManager.m (-usedRectForTextContainer:): Return sane 5985 value if there are no line frag rects in the text container. 5986 59872003-01-28 17:55 Alexander Malmberg <alexander@malmberg.org> 5988 5989 * Source/GSLayoutManager.m (-layoutLineNewParagraph:): Try to make 5990 sure each container gets at least one line frag rect. 5991 5992 * Source/NSTextView: Avoid making calls to the layout manager with 5993 invalid arguments. 5994 59952003-01-28 17:40 Alexander Malmberg <alexander@malmberg.org> 5996 5997 * Source/GSHorizontalTypesetter.m, Source/GSLayoutManager.m: 5998 Whitespace cleanups and comments. 5999 6000 * Source/NSLayoutManager.m: (-rectArrayForGlyphRange: 6001 withinSelectedGlyphRange:inTextContainer:rectCount:): Give better 6002 error message for an invalid glyph range. 6003 60042003-01-27 16:13 Alexander Malmberg <alexander@malmberg.org> 6005 6006 * Source/NSLayoutManager.m (-setHyphenationFactor:): Fix format 6007 string. 6008 6009 * Source/NSTextView.m (-mouseDown:): Handle empty text views. 6010 (-drawRect:): Always draw glyphs' backgrounds (even when not drawing 6011 the text view's background). 6012 6013Mon Jan 27 04:01:32 2003 Nicola Pero <n.pero@mi.flashnet.it> 6014 6015 * Source/NSScroller.m ([-mouseDown:]): When the knob slot if 6016 clicked, do not set the new float value and send the action if the 6017 float value has not changed. 6018 6019Mon Jan 27 03:16:22 2003 Benhur Stein <benhur@inf.ufsm.br> 6020 6021 Patch with minor changes by Nicola: 6022 * Source/NSScroller.m ([-testPart:]): The point to test is now 6023 assumed to be in the window's coordinates. 6024 ([-mouseDown:], [-trackScrollButtons:]): Updated calls to 6025 -testPart:. 6026 ([-drawArrow:highlight:]): Highlight the cell according to the 6027 argument. 6028 ([-trackKnob:]): Do not set the new float value and send the 6029 action if the float value has not changed. 6030 6031Mon Jan 27 01:21:11 2003 Nicola Pero <n.pero@mi.flashnet.it> 6032 6033 * Source/GSLayoutManager.m (GET_GLYPH): Removed argument, and 6034 updated all callers, to get it to compile. 6035 60362003-01-27 00:01 Alexander Malmberg <alexander@malmberg.org> 6037 6038 * Source/NSLayoutManager.m (-drawBackgroundForGlyphRange:atPoint:): 6039 Draw background for the selected range. 6040 60412003-01-26 21:16 Alexander Malmberg <alexander@malmberg.org> 6042 6043 * Source/NSLayoutManager.m 6044 (-textStorage:edited:range:changeInLength:invalidatedRange:): Tell 6045 the text views to resize when their text has changed. 6046 60472003-01-26 21:08 Alexander Malmberg <alexander@malmberg.org> 6048 6049 * Source/NSLayoutManager.m 6050 (-glyphIndexForPoint:inTextContainer:fractionOfDistanceThroughGlyph:): 6051 Try harder to always return a valid glyph index. 6052 60532003-01-26 20:41 Alexander Malmberg <alexander@malmberg.org> 6054 6055 * Headers/gnustep/gui/NSTextView.h: Don't use protocol forward 6056 declarations. 6057 60582003-01-26 20:35 Alexander Malmberg <alexander@malmberg.org> 6059 6060 * Source/NSTextView.m: Make sure the typing attributes are always 6061 a mutable dictionary we can modify. 6062 60632003-01-26 20:30 Alexander Malmberg <alexander@malmberg.org> 6064 6065 * Source/NSCell.m: Add missing includes. 6066 60672003-01-26 20:24 Alexander Malmberg <alexander@malmberg.org> 6068 6069 * Headers/gnustep/gui/NSMenu.h: Add missing class declaration 6070 so the header is self-contained. 6071 60722003-01-26 19:17 Alexander Malmberg <alexander@malmberg.org> 6073 6074 * Headers/gnustep/gui/GSFontInfo.h, Headers/gnustep/gui/NSFont.h, 6075 Headers/gnustep/gui/NSLayoutManager.h, Headers/gnustep/gui/NSText.h, 6076 Headers/gnustep/gui/NSTextContainer.h, 6077 Headers/gnustep/gui/NSTextStorage.h, 6078 Headers/gnustep/gui/NSTextView.h, Source/GNUmakefile, 6079 Source/GSFontInfo.m, Source/GSTextStorage.m, Source/NSFont.m, 6080 Source/NSLayoutManager.m, Source/NSParagraphStyle.m, 6081 Source/NSSecureTextField.m, Source/NSText.m, 6082 Source/NSTextContainer.m, Source/NSTextStorage.m, 6083 Source/NSTextView.m, Headers/gnustep/gui/GSHorizontalTypesetter.h, 6084 Headers/gnustep/gui/GSLayoutManager.h, 6085 Headers/gnustep/gui/GSLayoutManager_internal.h, 6086 Headers/gnustep/gui/GSTypesetter.h, Source/GSHorizontalTypesetter.m, 6087 Source/GSLayoutManager.m, Source/GSTypesetter.m, 6088 Source/NSTextView_actions.m: Merge in text-system-branch with the new 6089 implementation of the text system. 6090 60912002-12-13 02:00 Alexander Malmberg <alexander@malmberg.org> 6092 6093 * Headers/gnustep/gui/NSText.h, Headers/gnustep/gui/NSTextView.h, 6094 Source/NSText.m, Source/NSTextView.m: Moved ivars from NSText to 6095 NSTextView. Added or updated documentation for many methods. Marked 6096 primitive and non-openstep methods. 6097 6098 * Source/GSHorizontalTypesetter.m, Source/GSLayoutManager.m, 6099 Source/GSTextStorage.m, Source/NSTextContainer.m, 6100 Source/NSTextStorage.m: Cleaned up includes. 6101 61022002-12-01 13:27 Alexander Malmberg <alexander@malmberg.org> 6103 6104 * Headers/gnustep/gui/GSLayoutManager_internal.h, 6105 Source/GSLayoutManager.m: Clean ups. Remove some old stuff. Add 6106 some more comments. 6107 61082002-11-26 16:37 Alexander Malmberg <alexander@malmberg.org> 6109 6110 * Headers/gnustep/gui/GSTypesetter.h, Source/GSTypesetter.m, 6111 Source/GSHorizontalTypesetter.m: Remove 6112 -baselineOffsetInLayoutManager:glyphIndex: method. Cleanups. Changed 6113 to conform to coding standards. 6114 61152002-11-26 16:29 Alexander Malmberg <alexander@malmberg.org> 6116 6117 * Source/NSLayoutManager.m: Changed to conform to coding 6118 standards. Cleanups. 6119 61202002-11-26 15:41 Alexander Malmberg <alexander@malmberg.org> 6121 6122 * Headers/gnustep/gui/GSLayoutManager_internal.h, 6123 Source/GSLayoutManager.m: Changed to conform to coding standards. 6124 Cleanups. Moved some more NSTextView references to NSLayoutManager. 6125 6126 Use _run_cache_attributes::, _run_copy_attributes::, and 6127 _run_free_attributes: methods instead of functions. 6128 6129 (-_run_cache_attributes::): Ask typesetter for font to use and call 6130 -substituteFontForFont:. 6131 6132 * Source/NSLayoutManager.m: Moved NSTextView references here. 6133 61342002-11-26 12:52 Alexander Malmberg <alexander@malmberg.org> 6135 6136 * Headers/gnustep/gui/GSFontInfo.h, Headers/gnustep/gui/NSFont.h, 6137 Source/GSFontInfo.m, Source/NSFont.m: Add proper handling of 6138 screen/printer fonts. Changes the backend GSFontInfo interface. 6139 61402002-11-24 20:58 Alexander Malmberg <alexander@malmberg.org> 6141 6142 * Headers/gnustep/gui/NSMenu.h: Declare NSMutableArray. 6143 61442002-11-24 01:10 Alexander Malmberg <alexander@malmberg.org> 6145 6146 * Source/NSSpellChecker (-_launchSpellCheckerForLanguage:): Don't 6147 pass the error message through printf expansion twice. 6148 61492002-11-24 00:56 Alexander Malmberg <alexander@malmberg.org> 6150 6151 * Source/GSFontInfo.m (-defaultLineHeightForFont): Round the linegap 6152 to whole points. 6153 61542002-11-23 22:55 Alexander Malmberg <alexander@malmberg.org> 6155 6156 * Source/NSSecureTextField: Update to work with new text system. 6157 61582002-11-23 22:30 Alexander Malmberg <alexander@malmberg.org> 6159 6160 * Headers/gnustep/gui/NSTextContainer.h, 6161 Headers/gnustep/gui/NSTextStorage.h Source/NSTextStorage.m: Use 6162 GSLayoutManager instead of NSLayoutManager in these classes. 6163 61642002-11-23 21:40 Alexander Malmberg <alexander@malmberg.org> 6165 6166 * Source/NSParagraphStyle ([NSMutableParagraphStyle -copyWithZone:]): 6167 Implement. 6168 61692002-11-23 21:31 Alexander Malmberg <alexander@malmberg.org> 6170 6171 * Headers/gnustep/gui/GSHorizontalTypesetter.h, 6172 Headers/gnustep/gui/GSLayoutManager.h, 6173 Headers/gnustep/gui/GSLayoutManager_internal.h, 6174 Headers/gnustep/gui/GSTypesetter.h, Source/GSHorizontalTypesetter.m, 6175 Source/GSLayoutManager.m, Source/GSTypesetter.m, 6176 Headers/gnustep/gui/NSLayoutManager.h, Source/GNUmakefile, 6177 Source/NSLayoutManager.m: Add the new text system. 6178 61792002-11-23 18:45 Alexander Malmberg <alexander@malmberg.org> 6180 6181 * Source/NSTextContainer: Implement -lineFragmentRectForProposedRect: 6182 sweepDirection:movementDirection:remainingRect:. 6183 61842003-01-26 18:54 Alexander Malmberg <alexander@malmberg.org> 6185 6186 * Headers/gnustep/gui/NSParagraphStyle.h, 6187 Headers/gnustep/gui/NSTextStorage.h, Source/NSParagraphStyle.m, 6188 Source/NSTextAttachment.m: Clean up the includes. 6189 61902003-01-26 18:46 Alexander Malmberg <alexander@malmberg.org> 6191 6192 * Headers/gnustep/gui/NSGraphics.h, 6193 Headers/gnustep/gui/NSGraphicsContext.h, Source/NSGraphicsContext, 6194 Source/NSWindow.m: Clean up some prototypes. 6195 61962003-01-20 Adam Fedor <fedor@gnu.org> 6197 6198 * Headers/gnustep/gui/NSImage.m (NSImageCacheMore): New enum and ivar. 6199 * Source/NSImage.m (-setCacheMode:): New method. 6200 (-cacheMode): Idem. 6201 (-compositeToPoint:fromRect:operation:): If printing, composite from 6202 source image, not cache. 6203 (-dissolveToPoint:fromRect:fraction:): Idem. 6204 (-drawRepresentation:inRect:): Correct background rectfill for 6205 flipped views. 6206 (-bestRepresentationForDevice:): Rewrite. Close to being correct. 6207 6208Tue Jan 21 00:39:52 2003 Serg Stoyan <stoyan@on.com.ua> 6209 6210 * Source/NSMenu.m ([-performKeyEquivalent:]): Only perform the 6211 higlighting if the item is enabled. 6212 * Source/NSMenuView.m 6213 ([-performActionWithHighlightingForItemAtIndex:]): Run the run 6214 loop for a fraction of a second before executing the action, so 6215 that the highlighted item is displayed. Do not remove the 6216 highlighted item if a popup menu. 6217 * Source/NSPopUpButton.m ([-mouseDown:]): Leave the selection 6218 unchanged if the item which was selected is disabled. 6219 ([-performKeyEquivalent:]): Mark the popup button as needing 6220 redisplay if the key equivalent is performed. 6221 6222Mon Jan 20 00:37:39 2003 Nicola Pero <n.pero@mi.flashnet.it> 6223 6224 * Source/NSWorkspace.m ([NSWorkspace +initialize]): Wrap in 6225 an exception handler so we are sure to release the lock. 6226 62272003-01-14 Adam Fedor <fedor@gnu.org> 6228 6229 * Source/NSSound.m ([NSSound +gsnd]): Rename daemon to gnustep_sndd 6230 * Tools/gsnd/GNUmakefile: Idem. 6231 6232Thu Jan 9 05:17:22 2003 Nicola Pero <n.pero@mi.flashnet.it> 6233 6234 * Source/NSApplication.m ([-_appIconInit]): If no app icon has 6235 been set, set GNUstep as the applicationIcon by calling 6236 setApplicationIconImage: so that the default image gets also 6237 registered with name NSApplicationIconImage. 6238 62392003-01-08 Fred Kiefer <FredKiefer@gmx.de> 6240 6241 * Source/NSTextView.m 6242 Changed all the internal methods ([replaceCharacterRange:withString:], 6243 [setFont:range:], [setTextColor:range:], [setalignment:range:], 6244 [replaceRange:withAttributedString:], [setAtrributes:range:]) not 6245 to call [shouldChangeTextInRange:replacementString:], so that they 6246 can be called for a non editable text view. 6247 Added this call to the methods: [insertText:], [transpose:], 6248 [changeColor:], [alignCenter:], [alignLeft:], [alignRight:], 6249 [alignJustified:], [readSelectionFromPasteboard:type:]. 6250 * Source/NSCell.m 6251 In [selectWithFrame:...length:] removed duplicate setting of delegate. 6252 * Source/NSBrowserCell.m 6253 Use method calls in [initWithCoder:] to get fontification correct. 6254 * Source/NSClipView.m 6255 Use method calls in [initWithCoder:] so opaque flag is set 6256 correctly. 6257 6258Tue Dec 31 16:30:32 2002 Nicola Pero <n.pero@mi.flashnet.it> 6259 6260 * Model/GNUmakefile: Build gmodel bundle when GUI_LIB is gnu, not 6261 when it's not (Suggestion by Pete French <pete@twisted.org.uk>). 6262 6263Mon Dec 30 18:29:41 2002 Nicola Pero <n.pero@mi.flashnet.it> 6264 6265 * Model/GNUmakefile: Updated all checks for library-combo. 6266 6267Sun Dec 29 12:27:35 2002 Gregory John Casamento <greg_casamento@yahoo.com> 6268 6269 * Headers/gnustep/gui/GSNibTemplates.h: Added declaration for 6270 class GSFontProxy. 6271 * Source/NSBundleAdditions.m: Added definition for class 6272 GSFontProxy. This class handles the fall back which is 6273 necessary when unarchiving NSFont when the specified font is 6274 unavailable. Modified unarchiving code to use the new 6275 class when unarchiving. 6276 * Headers/gnustep/gui/NSToolbarItem.h: Corrected spelling of 6277 NSToolbarFlexibleSpaceItemIdentifier. 6278 * Source/NSToolbarItem.m: Did some initial work on the 6279 default toolbar items. 6280 * Source/externs.m: Corrected spelling of 6281 NSToolbarFlexibleSpaceItemIdentifier. 6282 6283 6284Sat Dec 28 01:42:40 2002 Nicola Pero <n.pero@mi.flashnet.it> 6285 6286 * Source/NSWindow.m ([-_initBackendWindow:]): Fixed code resetting 6287 then restoring the drag types for a deferred window -- there was a 6288 small confusion where NSArray and NSCountedSet were used 6289 interchangeably, while they are not. Drag&drop now works with 6290 deferred windows for me. 6291 6292Wed Dec 25 17:01:51 2002 Nicola Pero <n.pero@mi.flashnet.it> 6293 6294 * Headers/gnustep/gui/NSText.h ([-setFont:range:]): Declare. 6295 * Source/NSTextView.m ([-setFont:ofRange:]): Renamed to 6296 setFont:range:. 6297 * Source/NSText.m ([-setFont:range:]): New method. 6298 ([-setFont:ofRange:]): Call the new method. 6299 63002002-12-23 Fred Kiefer <FredKiefer@gmx.de> 6301 6302 * Headers/gnustep/gui/NSComboBoxCell.h 6303 Removed unused ivars and added one to store the popup while open. 6304 * Source/NSComboBoxCell.m 6305 Moved popup positioning to GSComboWindow, rewrote popup size code 6306 to respect numberOfItems and to adopt the used matrix. New methods 6307 for the cell to popup interaction. 6308 Corrected the encoding code of NSComboBoxCell. [objectValues] now 6309 correctly warns in the data source case. New method 6310 [stringValueAtIndex:]. Hack in [_didClick:] to get setting of 6311 values working. 6312 63132002-12-22 Gregory John Casamento <greg_casamento@yahoo.com> 6314 6315 * Source/NSToolbar.m: Added some of the code needed to add/remove 6316 toolbar items. 6317 63182002-12-10 Adam Fedor <fedor@gnu.org> 6319 6320 * Source/NSView.m ([NSView -lockFocusInRect:]): Check for window iff 6321 not printing. 6322 ([NSView -unlockFocusNeedsFlush:]): Idem. 6323 ([NSView -displayIfNeededInRectIgnoringOpacity:]): Idem. 6324 ([NSView -displayRectIgnoringOpacity:]): Idem. 6325 63262002-12-10 Fred Kiefer <FredKiefer@gmx.de> 6327 6328 * Source/NSImageView.m 6329 Use [mouseDown:] instead of [mouseDragged:] to start dragging as 6330 the later only works when the view is not first responder. 6331 63322002-12-05 Adam Fedor <fedor@gnu.org> 6333 6334 * Source/GSSimpleLayoutManager.m ([GSSimpleLayoutManager 6335 -setNeedsDisplayForLineRange:inTextContainer:]): Make sure view 6336 exists before trying to get range (Solaris limitation). 6337 63382002-12-04 Adam Fedor <fedor@gnu.org> 6339 6340 * Source/GSSimpleLayoutManager.m ([GSSimpleLayoutManager 6341 -textStorage:edited:range:changeInLength:invalidatedRange:]): Make 6342 sure view exists before trying to get range (Solaris limitation). 6343 6344 * Source/NSPrintOperation.m: Update for change in GSSetLocale. 6345 63462002-12-04 Adam Fedor <fedor@gnu.org> 6347 6348 * Headers/gnustep/gui/DPSOperators.h (DPSPrintf): Remove inline 6349 attribute which caused compiler errors on FreeBSD (patch from Pete 6350 French <pete@twisted.org.uk>). 6351 63522002-12-05 Fred Kiefer <FredKiefer@gmx.de> 6353 6354 * Source/NSBitmapImageRep.m 6355 In [TIFFRepresentationUsingCompression:factor:] set extraSamples 6356 and correct compression type if 0. 6357 * Source/NSImageView.m 6358 Implement dragging of images. 6359 63602002-12-02 Adam Fedor <fedor@gnu.org> 6361 6362 * Model/GMAppKit.m, Model/GMArchiver.m, Model/IBClasses.m, 6363 Model/IMConnectors.m, Model/IMCustomObject.m, Model/IMLoading.m, 6364 Model/Translator.m: Include model headers from gnustep/gui 6365 not AppKit. 6366 * Model/GNUmakefile: Install headers in gnustep/gui 6367 63682002-11-29 Richard Frith-Macdonald <rfm@gnu.org> 6369 6370 * Model/IMConnectors.m: Update ivar setting code. 6371 63722002-11-27 Richard Frith-Macdonald <rfm@gnu.org> 6373 6374 * Source/NSBundleAdditions.m: Quick hack for setting ivars. 6375 63762002-11-27 Adam Fedor <fedor@gnu.org> 6377 6378 * Source/NSTabView.m ([NSTabView -selectedTabViewItem]): Check 6379 that the array count is > 0 6380 63812002-11-24 Adam Fedor <fedor@gnu.org> 6382 6383 * Tools/example.m: Include NSProcessInfo.h 6384 63852002-11-24 Fred Kiefer <FredKiefer@gmx.de> 6386 6387 * Headers/gnustep/gui/NSSavePanel.h 6388 * Headers/gnustep/gui/NSOpenPanel.h 6389 * Source/NSSavePanel.m 6390 * Source/NSOpenPanel.m 6391 Added new MacOSX methods. 6392 63932002-11-24 Fred Kiefer <FredKiefer@gmx.de> 6394 6395 * Source/NSBezierPath.m 6396 Corrected [GSBezierPath appendBezierPath:] to check the class of 6397 the parameter and to keep the isFlat flag in sync. 6398 * TextConverters/RTF/RTFConsumer.m 6399 GSRTFregisterFont() handle fontnames with and without trailing ';'. 6400 * TextConverters/RTF/rtfGrammer.y 6401 Documented how to compile with recent bison releases. 6402 Removed one conflict and an unneeded terminal. 6403 Allow for additional blocks in font definition. 6404 * TextConverters/RTF/rtfGrammer.tab.h 6405 Regenerated with bison 1.35 6406 * TextConverters/RTF/rtfGrammer.tab.c 6407 Regenerated with bison 1.35 and corrected yyparse declaration. 6408 * TextConverters/RTF/rtfScanner.c 6409 Redefined GSRTFlex() without location parameter. Some cleanup 6410 against compiler warnings. 6411 64122002-11-21 Adam Fedor <fedor@gnu.org> 6413 6414 * Version: 0.8.3 6415 64162002-11-21 Fred Kiefer <FredKiefer@gmx.de> 6417 6418 * Source/NSGraphicsContext.m 6419 Rewrote [GSSendBezierPath:] to send the full path to the 6420 backend. Code comes from [NSBezierPath _doPath]. 6421 * Source/NSBezierPath.m 6422 Replaces [_doPath] with calls to [NSGraphicsContext 6423 GSSendBezierPath:]. 6424 Added optimisation methods [appendBezierPath:] and 6425 [transformUsingAffineTransform:] on GSBezierPath. 6426 64272002-11-18 Gregory John Casamento <greg_casamento@yahoo.com> 6428 6429 * Source/NSBundleAdditions.m: Added some logic in the initWithCoder 6430 method to handle different gorm file versions. Even though there 6431 is only one version currently, we need this in place. 6432 * Headers/gnustep/gui/GSNibTemplates.h: Added #define for 6433 GNUSTEP_NIB_VERSION. 6434 64352002-11-17 Fred Kiefer <FredKiefer@gmx.de> 6436 6437 * Source/NSCell.m 6438 * Source/NSButtonCell.m 6439 * Source/NSMenuItemCell.m 6440 * Source/NSOutlineView.m 6441 * Source/NSPopUpButtonCell.m 6442 * Source/NSSplitView.m 6443 Removed unneeded includes. 6444 * Source/NSRulerView.m 6445 Rewrote [drawHashMarksAndLabelsInRect:] to use string drawing and 6446 bezier path code instead of direct PS operations. 6447 64482002-11-16 Frederic De Jaeger <dejaeger@free.fr> 6449 6450 * Source/NSOpenGLPixelFormat.m, Source/NSOpenGLContext.m, 6451 Source/NSOpenGLView.m, Headers/AppKit/NSOpenGL.h, 6452 Headers/AppKit/NSOpenGLView.h: New files. 6453 * Source/Makefile: Updated accordingly. 6454 * Headers/AppKit/GSDisplayServer.h (glContextClass, 6455 glPixelFormatClass): New methods. 6456 * Source/GSDisplayServer.m: Implement. 6457 64582002-11-15 Adam Fedor <fedor@gnu.org> 6459 6460 * Model/GMAppKit.m ([NSColor -encodeWithModelArchiver:]): Encode 6461 named colors. 6462 ([NSColor +createObjectForModelUnarchiver:]): Decode them. 6463 64642002-11-13 Adam Fedor <fedor@gnu.org> 6465 6466 * Model/IMLoading.m ([GMModel -objects]): New. 6467 ([GMModel -connections]): Idem. 6468 64692002-11-12 Adam Fedor <fedor@gnu.org> 6470 6471 * Headers/gnustep/gui/AppKit.h: Add NSDocumentController. 6472 6473 * Source/NSSavePanel.m ([NSSavePanel -ok:]): Display filename 6474 (with extension) if replacing. 6475 64762002-11-12 20:40 Alexander Malmberg <alexander@malmberg.org> 6477 6478 * Source/NSTableView (-setDataSource:): Allow nil data source. 6479 64802002-11-10 Fred Kiefer <FredKiefer@gmx.de> 6481 6482 * Source/GSSimpleLayoutManager.m 6483 * Source/NSOutlineView.m 6484 Removed compiler warnings by correcting method names. 6485 * Source/NSBezierPath.m 6486 * Source/NSOpenPanel.m 6487 * Source/NSStringDrawing.m 6488 Corrected includes to speed up compilation. 6489 64902002-11-10 Fred Kiefer <FredKiefer@gmx.de> 6491 6492 * Source/GSComboSupport.h 6493 * Source/GSComboSupport.m 6494 Removed files. 6495 * GNUmakefile 6496 Removed GSComboSupport.m 6497 * Source/NSComboBoxCell.m 6498 Moved all ComboBox code to here to make further changes easier. 6499 * Headers/gnustep/gui/NSSound.h: 6500 Prefixed all ivars with underscore 6501 * Source/NSSound.m 6502 Adopted to change in header and simplified [copyWithZone:] and 6503 [initWithCoder:]. 6504 65052002-11-09 Richard Frith-Macdonald <rfm@gnu.org> 6506 6507 * Source/NSDocumentController.m: Don't try to store NSURL objects in 6508 defaults system. 6509 65102002-11-08 Adam Fedor <fedor@gnu.org> 6511 6512 * Source/NSSavePanel.m ([NSSavePanel -_shouldShowExtension:isDir:]): 6513 Filter regular files also. 6514 6515 * Source/NSMenu.m ([NSMenuPanel -canBecomeKeyWindow]): Return 6516 YES only if we are the main menu. 6517 * Source/NSWindow.m ([NSWindow -sendEvent:]) (FocusIn): If we are 6518 the main menu, try to find another window to become key. 6519 65202002-11-07 Fred Kiefer <FredKiefer@gmx.de> 6521 6522 * Source/NSCell.m 6523 in [initImageCell:] and [initTextCell:] set the default menu. 6524 In all [XXXValue] methods try to get the value from the objectValue 6525 first and use [stringValue] instead of accessing the contents directly. 6526 Removed AUTORELEASE calls from [attributedStringValue] and similar 6527 places. 6528 In [cellSize] use [attributedStringValue] to get the string to size. 6529 In [drawInteriorWithFrame:inView:] use [attributedStringValue] to 6530 get the string to draw. This make the method [_drawText:inFrame:] 6531 obsolete for this class, but subclasses still use it. 6532 New method [_setupTextWithFrame:inView:editor:] with the common 6533 text view setup from [editWithFrame:inView:editor:delegate:event:] 6534 and [selectWithFrame:inView:editor:delegate:start:length:]. 6535 Calls to [setFont:] and [setAlignment:] switch the cell to 6536 NSTextCellType. 6537 * Source/NSButtonCell.m 6538 Removed all direct usage of ivar _contents. Implemented 6539 [attributedAlternateTitle] and use this in [cellSize] and 6540 [drawInteriorWithFrame:inView:]. 6541 * Headers/gnustep/gui/NSDragging.h: 6542 Added some new MacOSX values to NSDragOperation and some new methods. 6543 65442002-11-06 Adam Fedor <fedor@gnu.org> 6545 6546 * Source/NSTableView.m ([NSTableView -drawRow:clipRect:]):Swapped 6547 sides of while statement && operator to check for _numberOfColumns 6548 first. 6549 ([NSTableView -drawGridInClipRect:]): Idem. 6550 Also remove some unused variables. 6551 ([NSTableView -mouseDown:]): Select the drag row if it's not currently 6552 selected. Simplify some code (do all selecting in one place). 6553 (-mouseDown2:): Remove commented out method. 6554 ([NSTableView -draggingUpdated:sender]): scrollRowToVisible if we 6555 are dragging near edges of view. 6556 65572002-11-02 Lyndon Tremblay <humasect@shaw.ca> 6558 6559 * NSTableView.m ([NSTableView -columnAtPoint:]): Swapped sides of 6560 while statement && operator to check for _numberOfColumns first. 6561 65622002-11-01 Lyndon Tremblay <humasect@shaw.ca> 6563 6564 * Source/NSBitmapImageRep.m ([NSBitmapImageRep -draw]): Cast 6565 argument 11 for NSDrawBitmap() to remove warning. 6566 65672002-11-04 Adam Fedor <fedor@gnu.org> 6568 6569 * Source/NSWorkspace.m ([NSWorkspace -_workspaceApplication]): 6570 Change default to GWorkspace. 6571 65722002-11-02 Adam Fedor <fedor@gnu.org> 6573 6574 * Source/NSWindowController.m (-setDocument:): Remove window's 6575 setReleasedWhenClosed when doc is not nil. 6576 (-setWindow:): Idem. 6577 (Pointed out by Stefan Urbanek). 6578 65792002-11-02 Adam Fedor <fedor@gnu.org> 6580 6581 * Source/NSParagraphStyle.m (-compare:): Correct the comparision of 6582 NSTextTabs. 6583 * Source/NSScrollView.m (-tile:): Add a call to setNeedsDisplay. 6584 * Source/NSRulerMarker.h: Correct a mispelling in a method name 6585 makerLocation to markerLocation. 6586 * Source/NSTextView.m: Idem. 6587 (-rulerView:didAddMarker:) Create a new NSTextTab corresponding 6588 to the marker. 6589 (-rulerView:handleMouseDown:) Ask rulerview to track a new 6590 marker, instead of simply adding a new marker 6591 * Source/NSRulerView.m: Remove some unused macros. 6592 (-_verifyReservedThicknessForMarkers, _rulerRect, _markersRect, 6593 -markerAtPoint:): New private. 6594 (-trackMarker:withMouseEvent:): Implement. 6595 (-mouseDown:) Track marker if click was on marker, or asks 6596 client to handle if click was on ruler area. 6597 * Source/NSRulerMarker.m: -trackMouse:adding:): Implement. 6598 (Patches from Benhur Stein <benhur@inf.ufsm.br>). 6599 66002002-11-01 Adam Fedor <fedor@gnu.org> 6601 6602 * Source/NSApplication.m (-finishLaunching): Instantiate an 6603 NSDocumentController if this is a doc-based app. 6604 (-targetForAction:): Check if NSDocumentController responds 6605 to action if this is a doc-based app. 6606 6607 * Source/NSDocument.m (-close): Rewrite to deal with removing 6608 objects from array while enumerating. 6609 * Source/NSDocumentController.m (-closeAllDocuments): Idem. 6610 (-sharedDocumentController): Don't set ourselves as the app delegate. 6611 (-isDocumentBasedApplication): Method for NSApplication. 6612 6613 * Source/NSWindow.m (-sendEvent:): Retain _lastView 6614 just in case it's a temporary view. 6615 66162002-10-31 Gregory John Casamento <greg_casamento@yahoo.com> 6617 6618 * Source/NSBundleAdditions.m: 6619 +[loadNibFile:externalNameTable:withZone:]: Added logic 6620 to load .gorm directories and also maintained backwards compatibility 6621 with .gorm files. 6622 66232002-10-29 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr> 6624 6625 * Source/NSSplitView.m ([NSSplitView -resizeSubviewsWithOldSize:]): 6626 Move code from setFrame: & resizeWithOldSuperviewSize: 6627 to resizeSubviewsWithOldSize:. 6628 6629 * Source/NSColorPanel.m ([NSColorPanel _initWithoutGModel]): 6630 make the window a little bit higher. Some ColorPickers would not fit. 6631 * ColorPickers/GSCMYKColorPicker.tiff: 6632 * ColorPickers/GSGrayColorPicker.tiff: 6633 * ColorPickers/GSHSBColorPicker.tiff: 6634 * ColorPickers/GSRGBColorPicker.tiff: 6635 resize so that the image fits within the NSButton. 6636 (only blank area was removed) 6637 6638 66392002-10-29 Richard Frith-Macdonald <rfm@gnu.org> 6640 6641 * Headers/gnustep/gui/GSMethodTable.h: 6642 * Headers/gnustep/gui/PSOperators.h: 6643 Add const qualifier to PSPrintf and PSWriteData argument types to 6644 match all other declatrations. 6645 * Headers/gnustep/gui/NSMenu.h: Add and document validation protocol. 6646 * Headers/gnustep/gui/NSMenuItem.h: Add some documentation and tidy. 6647 66482002-10-28 Adam Fedor <fedor@gnu.org> 6649 6650 * Source/NSTextView.m (-drawRect:): Don't draw insertion point 6651 when printing. 6652 6653 * PrinterTypes/GSProlog.ps: New file. 6654 * Source/NSView.m (-_loadPrinterProlog): New. 6655 (beginPage:...): Use it. 6656 66572002-10-28 Adam Fedor <fedor@gnu.org> 6658 6659 * Source/NSScreen.m (-visibleFrame): Don't include dock 6660 with NexT/WindowMaker styles (patch from Stefan <urbanek@host.sk>). 6661 66622002-10-28 Adam Fedor <fedor@gnu.org> 6663 6664 * Source/NSPrintOperation.m (-cleanUpOperation): Order out print 6665 panel. 6666 (-_runOperation): Use autorelease pool around operation. 6667 (-init): Create a proper, unique temp print file. 6668 (-deliverResult): Implement for previewing, spooling. 6669 * Source/NSPrintPanel.m (-runModel): Don't order self out. 6670 (-_setStatusStringValue:) New private method. 6671 66722002-10-28 Richard Frith-Macdonald <rfm@gnu.org> 6673 6674 * Source/NSTextField.m: ([-dealloc]) morph self to be an NSTextView 6675 so that when dealloc is re-called, any subclass dealloc methods 6676 don't get re-called. 6677 * Source/NSTableView.m: Memory leak fix added as suggested by 6678 Stefan Urbanek. NOTE ... selection code looks very inefficient, 6679 perhaps we should look into whether it is worth optimising? 6680 66812002-10port-Yves Rivaille <pyrivail@ens-lyon.fr> 6682 6683 * Source/NSMenuView.m ([NSMenuView -trackWithEvent:]): 6684 new tracking code. The menu feels snappier now (at least for me). 6685 6686 * Source/NSColorWell.m ([-activate:], [-deactivate]) 6687 register/unregister for NSColorPanelColorChangedNotification. 6688 ([NSColorWell _takeColorFromPanel:]): new method to prevent endless 6689 loop when setting the well's color from the color panel. 6690 ([NSColorWell -initWithCoder:]): register for NSColorPboardType. 6691 6692 * Source/NSColorPanel.m ([NSColorPanel -_bottomWellAction:]): 6693 called when hitting one of the well at the bottom of the panel. 6694 Previous behaviour would not send a 6695 NSColorPanelColorChangedNotification. 6696 ([NSColorPanel -initWithCoder:]): update bottom wells construction to 6697 call _bottomWellAction: instead of takeColorFrom:. 6698 66992002-10-26 Adam Fedor <fedor@gnu.org> 6700 6701 * Source/NSOutlineView.m (-drawRow:clipRect:): Release imageCell 6702 (patch from Stefan <urbanek@host.sk>). 6703 67042002-10-25 Adam Fedor <fedor@gnu.org> 6705 6706 * Source/NSApplication.m: Remove some NSDebugLogs. 6707 6708 * Source/NSDocument.m 6709 (-fileNameFromRunningSavePanelForSaveOperation:): Set directory to 6710 the currentDirectory if no fileName is set. Localize. 6711 (-fileAttributesToWriteToFile:ofType:saveOperation:): Stub implement. 6712 * Source/NSDocumentController.m: Document. 6713 (+sharedDocumentController): Proper allocation/init. Set ourselves 6714 as the application delegate if there isn't one already. 6715 (-init): Retrieve list of recent documents. 6716 (-reviewUnsavedDocumentsWithAlertTitle:cancellable:): Save 6717 current directory. Localize. 6718 (-currentDirectory): Rewrite according to docs. 6719 6720 * Source/NSOpenPanel.m (-runModalForTypes:): Use nil for 6721 directory. 6722 * Source/NSSavePanel.m (_setupForDirectory:file:): Use 6723 current directory if nil, otherwise keep the old one. 6724 (-runModal): Pass nil for directory. 6725 67262002-10-25 Mirko Viviani <mirko.viviani@rccr.cremona.it> 6727 6728 * configure.ac: fixed header/ldflags for freebsd. 6729 67302002-10-21 Adam Fedor <fedor@gnu.org> 6731 6732 * Source/GSFontInfo.m (+encodingForRegistry:encoding:): Remove. 6733 6734Tue Oct 22 02:13:55 2002 Nicola Pero <n.pero@mi.flashnet.it> 6735 6736 * Resources/GNUmakefile (string): Renamed to after-strings so 6737 that it works with the new gnustep-make strings targets. 6738 67392002-10-21 Richard Frith-Macdonald <rfm@gnu.org> 6740 6741 * Source/NSView.m: Key view code ... complete rewrite to match 6742 MacOS-X implementation. Fix coding bug in rewrite. 6743 * Source/NSTextField.m: don't use _nextKeyView 6744 * Source/NSMatrix.m: don't use _nextKeyView 6745 6746Mon Oct 21 01:17:41 2002 Nicola Pero <n.pero@mi.flashnet.it> 6747 6748 * Source/NSView.m ([-setNextKeyView:], [-setPreviousKeyView:]): 6749 Rewritten the way the next/previous key view chain is managed, to 6750 fix problem when a next/previous key view is replaced with a new 6751 one (Patch by Caba Conti modified). 6752 67532002-10-20 Richard Frith-Macdonald <rfm@gnu.org> 6754 6755 * Headers/gnustep/gui/NSComboBox.h: Add APPKIT_EXPORT and make layout 6756 a bit more consistent. 6757 * Source/NSTextView.m: ([-dealloc]) remove unneeded RETAIN() 6758 Fixes for beugs reported by Caba Conti. 6759 67602002-10-18 Adam Fedor <fedor@gnu.org> 6761 6762 * Documentation/announce.texi: Fix grammer. 6763 6764 * Try to fix focus interaction with WindowMaker. 6765 * Source/NSApplication.m ([NSIconWindow -canBecomeKeyWindow]): 6766 Revert 2002-10-08 change. 6767 (-appIconInit): Don't set input focus to app icon. 6768 (-_windowWillClose:): Idem. 6769 * Source/NSMenu.m: New class NSMenuPanel 6770 (_createWindow): Use it. 6771 * Source/NSWindow.m (-_lossOfKeyOrMainWindow): Make sure menu 6772 window doesn't get key except as a last resort. 6773 (-sendEvent: (GSAppKitWindowFocusIn)): Don't become key if app 6774 is hidden. 6775 6776 * Source/NSPanel.m (-sendEvent:): Same as change to NSWindow on 6777 2002-10-03. 6778 6779 * Source/NSDocument.m (-init): Set default file type. 6780 6781Tue Oct 15 02:36:32 2002 Nicola Pero <n.pero@mi.flashnet.it> 6782 6783 * Source/NSApplication.m (initialize_gnustep_backend): Get the 6784 GSBackend class using NSClassFromString() rather than NSBundle's 6785 -classNamed: to make it more robust on platforms - eg MS Windows - 6786 which have unclear problems with dynamic loading. 6787 67882002-10-14 Adam Fedor <fedor@gnu.org> 6789 6790 * Version: 0.8.2 6791 * Documentation/news.texi: Update. 6792 6793Mon Oct 14 02:24:45 2002 Nicola Pero <n.pero@mi.flashnet.it> 6794 6795 * Source/NSSavePanel.m (browser:createRowsForColumn:inMatrix:): 6796 Fixed last change which had broken the GSFileBrowserHideDotFiles 6797 option. 6798 67992002-10-13 Gregory John Casamento <greg_casamento@yahoo.com> 6800 6801 * Headers/GSNibTemplates.h: Added parentClassName member to 6802 templates so that the parent of the custom class could be stored. 6803 * Source/NSBundleAdditions.m: Made necessary modfications to the 6804 template implementations to use the parent class name 6805 68062002-10-13 Richard Frith-Macdonald <rfm@gnu.org> 6807 6808 * Source/NSSavePanel.m: ([--browser:createRowsForColumn:inMatrix:]) 6809 Don't try to read .hidden file for processing unless it exists. 6810 * Source/DocMakefile: New makefile for building documentation 6811 without having to build binaries. Also add flag for macros template. 6812 * Source/GNUmakefile: Removed documentation building rules. 6813 * Documentation/GNUmakefile: Use DocMakefile 6814 * Source/NSWindow.m: Slight documentation update/addition. 6815 * Source/NSView.m: ditto. 6816 * Source/NSToolbar.m: ditto. 6817 * Source/NSTextView.m: ditto. 6818 * Source/NSMatrix.m: ditto. 6819 * Source/NSLayoutManager.m: ditto. 6820 68212002-10-11 Adam Fedor <fedor@gnu.org> 6822 6823 * Headers/gnustep/gui/NSOpenPanel.h: Move comments to source file 6824 as autogsdoc. 6825 * Headers/gnustep/gui/NSSavePanel.h: Idem. 6826 * Source/NSOpenPanel.m: Document. 6827 * Source/NSSavePanel.m: Idem. 6828 6829 * Source/NSBrowser.m: Change NSDebugLog to NSDebugLLog (or remove). 6830 * Source/NSButtonCell.m, Source/NSCell.m, Source/NSControl.m, 6831 Source/NSEvent.m, Source/NSFontManager.m, Source/NSFontPanel.m, 6832 Source/NSImageCell.m, Source/NSMatrix.m, Source/NSMenu.m, 6833 Source/NSMenuItem.m, Source/NSResponder.m, Source/NSRulerView.m, 6834 Source/NSScrollView.m, Source/NSSplitView.m, Source/NSStepper.m, 6835 Source/NSTableHeaderView.m, Source/NSWindow.m: Idem. 6836 6837Fri Oct 11 15:10:42 2002 Nicola Pero <n.pero@mi.flashnet.it> 6838 6839 * Headers/gnustep/gui/AppKit.h: Include AppKit/NSFileWrapper.h 6840 (Reported by Ludovic Marcotte <ludovic@Sophos.ca>). 6841 6842Fri Oct 11 01:37:57 2002 Nicola Pero <n.pero@mi.flashnet.it> 6843 6844 * TextConverters/RTF/RTFConsumer.m ([RTFAttribute -currentFont]): 6845 If the font can't be found in the usual ways, try to get it as a 6846 composite font name like 'FontFamily-Face' 6847 (Patch by Georg Fleischmann <georg@vhf.de> modified). 6848 6849Fri Oct 11 01:15:55 2002 Nicola Pero <n.pero@mi.flashnet.it> 6850 6851 * Source/NSFont.m (getNSFont): If fontWithName:size: returns nil, 6852 try various approximations to get a font. 6853 6854Fri Oct 11 01:02:24 2002 Nicola Pero <n.pero@mi.flashnet.it> 6855 6856 Patch by Georg Fleischmann <georg@vhf.de>: 6857 * Source/NSFont.m ([NSFont -initWithName:matrix:fix:]): Release 6858 self and return nil if the font info is nil. This makes 6859 [NSFontManager -convertFont:...] work. 6860 6861Thu Oct 10 19:56:29 2002 Nicola Pero <n.pero@mi.flashnet.it> 6862 6863 * Source/NSScrollView.m ([-scrollPageUp:]): Implemented. 6864 ([-scrollPageDown:]): Implemented. ([-pageUp:]): 6865 Implemented. ([-pageDown:]): Implemented. 6866 * Source/NSTextView.m ([-pageDown:]): Implemented. 6867 ([-pageUp:]): Implemented. 6868 (Patch by David Ayers <d.ayers@inode.at>). 6869 6870Thu Oct 10 19:16:40 2002 Nicola Pero <n.pero@mi.flashnet.it> 6871 6872 * Source/NSFontManager.m ([NSFontManager -fontMenu:]): Use 't' 6873 as key equivalent for the font panel. 6874 (Patch by David Ayers <d.ayers@inode.at>). 6875 68762002-10-10 Fred Kiefer <FredKiefer@gmx.de> 6877 6878 * Source/NSBezierPath.m 6879 Handle seting of an empty dash in [setLineDash:count:phase:]. 6880 [_doPath] now always sends the dash pattern, even when empty. 6881 68822002-08-30 Georg Fleischmann 6883 6884 * Source/NSWindow.m ([-constrainFrameRect]): Move window inside 6885 screen, if window top is below screen. 6886 68872002-10-09 Adam Fedor <fedor@gnu.org> 6888 6889 * Source/NSApplication (hide:): Don't setinputfocus to the 6890 icon window. 6891 * Source/NSWindow.m (-sendEvent:) (GSAppKitWindowFocusIn): 6892 If we're not visible, don't try to become main/key. 6893 68942002-10-08 Adam Fedor <fedor@gnu.org> 6895 6896 * Fix window focus problems. 6897 * Source/NSApplication.m ([NSIconWindow -canBecomeKeyWindow]): 6898 return YES. 6899 (-finishLaunching): Don't make main menu key. 6900 ([NSApplication -deactivate]): Don't setinputfocus to the 6901 icon window. 6902 6903 * Add Quartz-like interface and overridable passing of 6904 colorspaces and fonts to backend. 6905 * Headers/gnustep/gui/NSFont.h (_fontRef): New ivar. 6906 * Source/NSFont (-fontRef): New method. 6907 (GSSetFont): Use it. 6908 * Source/GSFontInfo (-matrix): New method. 6909 * Headers/gnustep/gui/GSFusedSilica.h: New header 6910 * Headers/gnustep/gui/GSFusedSilicaContext.h: Idem. 6911 * GSFusedSilica.m: New file. 6912 * GSFusedSilicaContext.m: Idem. 6913 6914Tue Oct 8 19:15:24 2002 Nicola Pero <n.pero@mi.flashnet.it> 6915 6916 * Source/NSSecureTextField.m: Mostly rewritten. Main changes - 6917 NSCoding protocol methods moved to the cell; implemented encoding; 6918 do not share the secure text field globally, just create one each 6919 time; create the secure text field in setupFieldEditorAttributes: 6920 and removed most other hacks. Init methods of the secure text 6921 view rewritten to be simpler. Do not register the secure text 6922 view for services. Should no longer crash with the new internals. 6923 * Headers/gnustep/gui/NSSecureTextField.h: Prefix ivars with 6924 underscore. Add setEchosBullets: and echosBullets methods to 6925 the textfield as well as the cell. 6926 6927Tue Oct 8 18:46:45 2002 Nicola Pero <n.pero@mi.flashnet.it> 6928 6929 * Source/NSTextContainer.m ([-replaceLayoutManager:]): Retain the 6930 layout manager, then release it at the end; refresh the layout 6931 manager cached by the textview; do not set the layout manager's 6932 text storage manually. 6933 * Source/NSTextStorage.m ([-removeLayoutManager:]): Set the 6934 argument's text storage to nil before removing it from the array. 6935 69362002-10-08 Gregory John Casamento <greg_casamento@yahoo.com> 6937 6938 * Headers/GSNibTemplates.h: Added new template class. 6939 * Source/NSBundleAdditions.m: Added implementation for new template 6940 class. Improved some of the existing classes. 6941 69422002-10-08 Fred Kiefer <FredKiefer@gmx.de> 6943 6944 * Headers/gnustep/gui/NSButtonCell.h 6945 Adoped the enums NSButtonType and NSBezelStyle to the new MacOSX names. 6946 * Source/NSButtonCell.m 6947 [setButtonType:] use those new names. Corrected [cellAttribute:] 6948 and [setCellAttribute:] to use the right tests. [performClick:] 6949 now play the sound, if provided. 6950 69512002-10-07 Adam Fedor <fedor@gnu.org> 6952 6953 * Source/NSBrowser.m (-frameOfColumn:, -tile): Change distance 6954 between columns from 1 to 2. (Patch from Serg Stoyan 6955 <stoyan@hologr.com>) 6956 6957 * Source/NSGraphicsContext.m (-GSSetFillColorspace:):Take 6958 void * argument 6959 (-GSSetStrokeColorspace:): Idem. 6960 (-GSSetFont:): Idem. 6961 69622002-10-06 Gregory John Casamento <greg_casamento@yahoo.com> 6963 6964 * Source/NSBundleAdditions.m: Implemented the following classes: 6965 NSWindowTemplate, NSViewTemplate, NSControlTemplate, NSTextTemplate, 6966 NSTextViewTemplate, NSMenuTemplate, GSClassSwapper. These classes 6967 are used to allow the .gorm files to have placeholders for custom 6968 classes defined by the developer. This is similar to the approach 6969 used in OPENSTEP 4.2/Mach and MOSX. 6970 * Headers/gnustep/gui/NSNibLoading.h: Removed declarations for classes 6971 which should be considered private to GNUstep. 6972 * Headers/gnustep/gui/GSNibTemplates.h: Moved GSNibContainer, 6973 GSNibItem, GSCustomView here. Added declarations for new template 6974 classes. 6975 69762002-10-04 Adam Fedor <fedor@gnu.org> 6977 6978 * Source/NSBrowser.m: Implement non-separated columns. 6979 (-setSeparatesColumns:): Remove borders if not separated. 6980 (-setTitled:): Return without chaging if we are not separated. 6981 (-frameOfColumn:): Compute properly with{out} separation. 6982 (-tile): Idem. 6983 (-initWithFrame:): Set maxVisibleColumns to 3. 6984 (-drawRect:): Draw properly with{out} separation. 6985 (Patch from Serg Stoyan <stoyan@hologr.com>). 6986 69872002-10-03 Adam Fedor <fedor@gnu.org> 6988 6989 * Headers/gnustep/gui/NSWindow.h: New _lastView ivar. 6990 * Source/NSWindow.m (-sendEvent:): Use it instead of _lastDragView 6991 to remember mouseDown view. 6992 69932002-10-02 Richard Frith-Macdonald <rfm@gnu.org> 6994 6995 * Source/NSWorkspace.m: ([-getInfoForFile:application:type:]) 6996 Make an exception for directories without file extensions ... never 6997 return plain type for them even if apps claim to open them. 6998 6999Wed Oct 2 11:26:21 2002 Nicola Pero <n.pero@mi.flashnet.it> 7000 7001 * Source/NSTextView.m 7002 ([-shouldChangeTextInRange:replacementString:]): Immediately 7003 return NO if not editable; do not send out textShouldBeginEditing: 7004 and textDidBeginEditingNotification unless the textview is already 7005 first responder (Patch by David Ayers <d.ayers@inode.at>). 7006 70072002-10-02 Richard Frith-Macdonald <rfm@gnu.org> 7008 7009 * Source/NSWorkspace.m: ([-getInfoForFile:application:type:]) 7010 Try to return a plain file type for directories which are openable 7011 by some app. 7012 70132002-10-01 Adam Fedor <fedor@gnu.org> 7014 7015 * Tools/gsnd/portaudio/pa_unix_oss/pa_unix_oss.c 7016 (PaHost_WatchDogProc): usleep can have a void return (Modified 7017 patch from Charles Philip Chan). 7018 7019 * Source/NSBrowserCell.m (-drawInteriorWithFrame:inView:): 7020 Use NSCompositeSourceOver. 7021 7022Tue Oct 1 17:07:25 2002 Nicola Pero <n.pero@mi.flashnet.it> 7023 7024 * Source/GSSimpleLayoutManager.h (_lineLayoutInformation): Renamed 7025 to _lineLayoutInfo. 7026 * Source/GSSimpleLayoutManager.m: Updated for change. 7027 7028Tue Oct 1 16:58:36 2002 Nicola Pero <n.pero@mi.flashnet.it> 7029 7030 * Source/NSTextView.m ([NSTextView -moveToEndOfLine:]): Fixed 7031 moving to the end of 'one before the last' line. 7032 ([NSTextView -moveToEndOfParagraph:]): Idem. 7033 7034Tue Oct 1 16:40:29 2002 Nicola Pero <n.pero@mi.flashnet.it> 7035 7036 * Source/GSSimpleLayoutManager.m 7037 ([-glyphIndexForPoint:inTextContainer:fractionOfDistanceThroughGlyph:]): 7038 Fix the insertion point positioning when clicking beyond the last 7039 character of a line in an NSTextView, or before the first one; 7040 special care to be used for the last line in the textview 7041 (Originated by a patch by David Ayers <d.ayers@inode.at>, modified 7042 by me). 7043 70442002-09-27 Richard Frith-Macdonald <rfm@gnu.org> 7045 7046 * Source/NSFont.m: Rewrote code dealing with creation and destruction 7047 of font objects to remove holes in the original caching scheme and to 7048 optimimise font creation/destruction somewhat. All font objects 7049 should now be handled by the cache, no matter how they are created. 7050 70512002-09-27 Richard Frith-Macdonald <rfm@gnu.org> 7052 7053 * Source/NSFont.m: Replace caching code which never released fonts 7054 with a cache which only holds fonts as long as something is using them. 7055 70562002-09-26 Fred Kiefer <FredKiefer@gmx.de> 7057 7058 * Headers/gnustep/gui/NSBrowserCell.h 7059 Removed all references to coding. 7060 * Source/NSBundleAdditions.m 7061 Moved add on methods. 7062 * Source/NSImage.m 7063 Moved method [NSBundle pathForImageResource:] to here. 7064 * Source/NSSound.m 7065 Moved method [NSBundle pathForSoundResource:] to here. 7066 * Source/NSButton.m 7067 Removed the coder methods as they were just super calls. 7068 7069Wed Sep 25 03:37:27 2002 Nicola Pero <n.pero@mi.flashnet.it> 7070 7071 * Headers/gnustep/gui/NSInterfaceStyle.h: Put include guards in 7072 the canonical form, by swapping them with #ifndef STRICT_OPENSTEP; 7073 this arrangement is more efficient when the file is included 7074 multiple times with GCC. 7075 7076Wed Sep 25 03:30:35 2002 Nicola Pero <n.pero@mi.flashnet.it> 7077 7078 * Headers/gnustep/gui/GSGuiPrivate.h: Redefine both _() and 7079 NSLocalizedString() to be wrappers for GSGuiLocalizedString() 7080 (Idea from Stefan Urbanek <urbanek@host.sk>). 7081 * Source/NSApplication.m: Use _() and NSLocalizedString() 7082 everywhere for localized strings, instead of 7083 GSGuiLocalizedString(). (NSAppKitUncaughtExceptionHandler): 7084 Small rearrangement of code to make it easier for make_strings 7085 to parse localization calls. 7086 * Source/NSDocument.m: Include GSGuiPrivate.h, and localize strings 7087 (from a patch by Stefan Urbanek <urbanek@host.sk>). 7088 * Resources/GNUmakefile: Completely rewritten to use 7089 resource-set.make to install the files; added experimental 7090 'strings' target which runs make_strings and updates the 7091 Localizable.strings files. 7092 * Resources/English.lproj/Localizable.strings: Updated using make 7093 strings. 7094 * Resources/Italian.lproj/Localizable.strings: Updated using make 7095 strings, then manually updated all translations; added missing ones. 7096 7097Tue Sep 24 16:32:30 2002 Nicola Pero <n.pero@mi.flashnet.it> 7098 7099 After discussions with David Ayers: 7100 * Source/NSCell.m ([-editWithFrame:inView:editor:delegate:event:]): 7101 Do not perform an immediate display of the textfield. 7102 ([-selectWithFrame:inView:editor:delegate:start:length:]): Idem. 7103 * Source/NSTextField.m ([-becomeFirstResponder]): If the text 7104 field accepts first responder status, select its text. 7105 ([-mouseDown:]): If not selectable, pass the mouse down to super. 7106 If selectable, and _text_object is not nil, pass the mouse down to 7107 the _text_object. Else, try to get first responder status, and 7108 to start editing. 7109 7110Tue Sep 24 03:29:55 2002 Nicola Pero <n.pero@mi.flashnet.it> 7111 7112 * Source/NSSplitView.m: Cache the default notification center for 7113 the whole class. 7114 * Source/NSTextStorage.m: Idem. 7115 7116Tue Sep 24 03:14:12 2002 Nicola Pero <n.pero@mi.flashnet.it> 7117 7118 * Source/NSTextField.m ([-dealloc]): Implemented (Reported missing 7119 by David Ayers). 7120 * Source/NSDrawer.m ([-dealloc]): Remove the delegate from the 7121 notification center. 7122 * Source/NSMatrix.m ([-dealloc]): Idem. 7123 * Source/NSSplitView.m ([-dealloc]): Idem. 7124 * Source/NSTableView.m ([-dealloc]): Idem. 7125 * Source/NSTextStorage.m ([-dealloc]): Idem. 7126 * Source/NSWindow.m ([-dealloc]): Idem. 7127 * Source/NSToolbar.m ([GSToolbarButton -dealloc]): New method. 7128 ([NSToolbar -dealloc]): New method. 7129 7130Mon Sep 23 15:23:23 2002 Nicola Pero <n.pero@mi.flashnet.it> 7131 7132 * Source/NSApplication.m (initialize_gnustep_backend): Improved 7133 error messages. Try to be as descriptive and verbose as possible 7134 about what exactly went wrong when loading the backend fails. 7135 71362002-09-22 Fred Kiefer <FredKiefer@gmx.de> 7137 7138 * Source/NSBrowser.m 7139 Removed unused ivar _numberOfRows from NSBrowserColumn. 7140 Made GSBrowserTitleCell a subclass of NSTableHeaderCell. 7141 Corrected [scrollColumnToVisible:], so that the column becomes 7142 visible but not always last. Adopted [scrollViaScroller:] to this 7143 change. Inlined most private methods and optimized the 7144 code. Reorganized [_performLoadOfColumn:] to remove code 7145 duplication. Set the title of a column here and not each time 7146 when drawing. 7147 71482002-09-22 16:33 Alexander Malmberg <alexander@malmberg.org> 7149 7150 * Source/NSTextView.m (-initWithFrame:textContainer:): Set 7151 uses_font_panel and uses_ruler to NO while initializing and back 7152 to YES when we're done. 7153 71542002-09-22 16:26 Alexander Malmberg <alexander@malmberg.org> 7155 7156 * Source/NSFontPanel.m (-init): Set sane defaults _before_ trying 7157 to set values for the current font. 7158 7159 Move code to select a certain size in the size browser to 7160 -_trySelectSize:. Update the size in the preview and the browser 7161 when the size text field changes. 7162 7163 Mark private variables and constants as static. 7164 71652002-09-22 01:23 Alexander Malmberg <alexander@malmberg.org> 7166 7167 * Headers/gnustep/gui/NSView.h, Source/NSPanel.m, Source/NSText.m, 7168 Source/NSTextField.m, Source/NSView.m, Source/NSWindow.m: Add 7169 -needsPanelToBecomeKey method to NSView and override it to return 7170 YES in NSText and NSTextField. Use it in NSPanel to handle 7171 becomesKeyOnlyIfNeeded properly. 7172 71732002-09-21 18:54 Gregory John Casamento <greg_casamento@yahoo.com> 7174 7175 * Source/NSOutlineView.m corrected preprocessor error messages. 7176 * Source/NSToolbar.m corrected preprocessor error messages. 7177 71782002-09-21 17:48 Alexander Malmberg <alexander@malmberg.org> 7179 7180 * Source/NSFontPanel.m (-_familySelectionChanged:, score_difference): 7181 If an exact match for the wanted weight and traits can't be found, 7182 score all faces in the new family and select the one that differs 7183 the least. 7184 71852002-09-19 Richard Frith-Macdonald <rfm@gnu.org> 7186 7187 * Source/GNUmakefile: Set flags to generate documentation using 7188 templates. 7189 71902002-09-18 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr> 7191 7192 * Source/NSSplitView.m ([NSSplitView -initWithCoder:]): 7193 set _never_displayed_before to YES. 7194 * Source/NSFont.m: rearrange the last change to make 7195 it look like other classes' initWithCoder/encodeWithCoder 7196 * Source/NSTextView.m: do not call _blink directly 7197 (suggested by Nicola Pero). 7198 * Source/NSButtonCell.m 7199 ([NSButtonCell -drawInteriorWithFrame:inView:]): 7200 if the button is NSImageOnly, draw the dotted frame at 7201 the right location. 7202 72032002-09-16 19:28 Alexander Malmberg <alexander@malmberg.org> 7204 7205 * Source/NSFont (+initialize, -initWithCoder:, -encodeWithCoder:): 7206 Encode and decode matrixExplicitlySet, and guess its value when 7207 loading old encoded objects. 7208 72092002-09-16 19:05 Alexander Malmberg <alexander@malmberg.org> 7210 7211 * Source/NSWindow.m (-close): Retain and release self to make sure 7212 it isn't deallocated until we're done. 7213 72142002-09-15 Fred Kiefer <FredKiefer@gmx.de> 7215 7216 * Source/NSStringDrawing.m 7217 drawRun() now correctly flags that it wants some temporary memory 7218 allocated. The old behaviour resulted in a memory leak. 7219 * Headers/gnustep/gui/NSBrowser.h 7220 Declare new MacOSX method [drawTitleOfColumn:inRect:]. Removed 7221 unused ivar _browserCellClass. Replaced ivar _titleCell with a 7222 static variable used for all browsers. 7223 * Source/NSBrowser.m 7224 Use _lastColumnLoaded instead of _lastVisibleColumn in 7225 [selectAll:]. Implemented MacOSX [drawTitleOfColumn:inRect:]. 7226 Optimized [matrixInColumn:] and use it where suitable. 7227 Moved calls to [_adjustMatrixOfColumn:] inside of 7228 [_performLoadOfColumn:]. 7229 72302002-09-15 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr> 7231 7232 * Source/NSMenuView.m: 7233 New private method [NSMenuView -_itemCell] in newly created 7234 GNUstepPrivate category. 7235 * Source/NSMenu.m: 7236 Add GNUstepPrivate interface of NSMenuView. 7237 [NSMenu -_setOwnedByPopUp:]: update itemCells' menuView 7238 (fix NSPopUpButtonCell-decoding problem). 7239 * Source/NSPopUpButtonCell.m 7240 ([NSPopUpButtonCell -synchronizeTitleAndSelectedItem]): 7241 Fix "mouseUp outside of menu" problem. Now the previous 7242 selected item stay selected. 7243 ([NSPopUpButtonCell -initWithCoder:]): 7244 Set the selectedItem properly. 7245 7246 72472002-09-15 13:17 Alexander Malmberg <alexander@malmberg.org> 7248 7249 * Source/NSImage.m (compositeToPoint:fromRect:operation:,, 7250 dissolveToPoint:fromRect:fraction:): Don't un-flip coordinates 7251 when drawing in flipped views. 7252 72532002-09-14 13:35 Alexander Malmberg <alexander@malmberg.org> 7254 7255 * Source/NSFontPanel.m: Break -browser:selectRow:inColumn: into 7256 three selection changed methods and set them as the action of the 7257 respective browser. 7258 7259Fri Sep 13 09:36:06 2002 Nicola Pero <n.pero@mi.flashnet.it> 7260 7261 * Headers/gnustep/gui/NSNibDeclarations.h: Added include guards. 7262 72632002-09-11 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr> 7264 7265 * Source/NSText.m ([NSText -initWithCoder:]): 7266 Retain the decoded background color. 7267 7268 * Source/NSTextView.m : 7269 multiple location: don't ignore textContainer's inset 7270 ([NSTextView -initWithCoder:]) 7271 ([NSTextView -encodeWithCoder:]) 7272 Encode caret color, textContainer's size and whether the 7273 textContainer has widthTracksTextView or heightTracksTextView set. 7274 ([NSTextView -sizeToFit]) Change width (height) only if 7275 is_horizontally_resizable (is_vertically_resizable). 7276 ([NSTextView -scrollRangeToVisible:]) scrolls to the first char of 7277 the range. 7278 ([NSTextView -invalidateTextContainerOrigin]): Don't ignore inset, 7279 set the origin so that the justification is preserved even if the 7280 textContainer's width is larger that the textview's width. 7281 ([NSTextView -updateInsertionPointStateAndRestartTimer:]): 7282 update and place the insertion point properly. 7283 ([NSTextView -moveDown:]) & ([NSTextView -moveUp:]): 7284 Don't ignore inset. Make insertion point visible. 7285 7286 * Source/NSTextField.m ([NSTextField -acceptsFirstResponder:]): 7287 responds NO if the editing is still in progrss. 7288 7289 * Source/NSLayoutManager.m 7290 ([NSLayoutManager -drawBackgroundForGlyphRange:atPoint:]): 7291 Don't ignore textContainer's inset. 7292 7293 * Source/GSSimpleLayoutManager.m 7294 Replaced [-drawLinesInLineRange:] with 7295 [-drawLinesInLineRange:atPoint:]. 7296 Replaced [-drawSelectionAsRangeNoCaret:] with 7297 [-drawSelectionAsRangeNoCaret:atPoint:]. 7298 Those replacements make it easier to take inset into account. 7299 ([-lineFragmentUsedRectForGlyphAtIndex:effectiveRange:]) 7300 ([-locationForGlyphAtIndex:]) 7301 ([-boundingRectForGlyphRange:inTextContainer:]) 7302 ([-rectForCharacterIndex:]) 7303 ([-setNeedsDisplayForLineRange:inTextContainer:]): 7304 Various fixes. 7305 ([-textStorage:edited:range:changeInLength:invalidatedRange:]) 7306 Update insertion point if needed (useful when alignment changes). 7307 ([-rebuildForRange:delta:inTextContainer:]): 7308 Update layout mechanism. 7309 7310 * Source/NSCell.m 7311 ([NSCell -highlight:withFrame:inView:]): 7312 Ask the control to draw the background if we are not opaque. 7313 ([NSCell -editWithFrame:inView:editor:delegate:event:]): 7314 ([NSCell -selectWithFrame:inView:editor:delegate:start:length:]): 7315 ([NSCell -endEditing:]): 7316 instantiate (and remove) the textview so that it can be scrolled. 7317 73182002-09-09 Adam Fedor <fedor@gnu.org> 7319 7320 * configure.ac: Switch to disaple gsnd. 7321 73222002-09-07 Adam Fedor <fedor@gnu.org> 7323 7324 * Source/NSBrowser.m: Convert comments for gsdoc. 7325 (-selectRow:inColumn:): Call delegate -browser:selectRow:inColumn:. 7326 (-setPath:): Call delegate -browser:selectCellWithString:inColumn:. 7327 (-doClick:): Do not call the above methods. 7328 (-initWithCoder:): Set _isLoaded to NO. 7329 * Source/NSSavePanel.m (-_browser:selectCellWithString:inColumn): 7330 Rename from -browser:selectCellWithString:inColumn. 7331 (_setupForDirectory:file:) Use it. 7332 * Source/NSOpenPanel.m (-browser:selectCellWithString:inColumn): 7333 Remove. 7334 7335 * Source/NSWindow.m ([NSWindow -performClose:]): Don't close 7336 if a modal session is going and we aren't the modal window. 7337 73382002-09-07 Fred Kiefer <FredKiefer@gmx.de> 7339 7340 * Source/NSApplication.m 7341 Release the invocation in [detachDrawingThread:toTarget:withObject:] 7342 not in the helper method. (Patch by David Ayers <d.ayers@inode.at>). 7343 * Headers/gnustep/gui/NSPasteboard.h 7344 * Source/externs.m 7345 Define NSHTMLPboardType. 7346 * Headers/gnustep/gui/GSTextConverter.h 7347 Define protocol for method [classForFormat:producer:]. 7348 * Headers/gnustep/gui/NSTextAttachment.h 7349 Moved NSAttributedString text attachment method declarations to here. 7350 * Headers/gnustep/gui/NSAttributedString.h 7351 Define new MacOSX methods. 7352 * Source/NSAttributedString.m 7353 Implemented [textFileTypes], [textPasteboardTypes], 7354 [textUnfilteredFileTypes], [textUnfilteredPasteboardTypes]. 7355 * Source/NSMenu.m 7356 * Source/NSTextView.m 7357 Corrected includes. 7358 73592002-09-06 Adam Fedor <fedor@gnu.org> 7360 7361 * Headers/gnustep/gui/NSPrintInfo.h: Add print option. 7362 * Source/NSPrintOperation.m ([-_printPaginateWithInfo:knowsRange:): 7363 Use it. 7364 (-_rectForPage:info:xpage:ypage:): Correct xpage/ypage calc. 7365 (-_adjustPagesFirst:last:info:): Likewise. 7366 * Source/NSStringDrawing.m (setupSpecialRun): Set base. 7367 7368 * Source/NSSound.m (-getDataFromFileAtPath:): Use 7369 fileSystemRepresentation. 7370 * Source/NSView.m (-beginPage:label:bBox:fonts:): Use 7371 lossyCString. 7372 73732002-09-06 Fred Kiefer <FredKiefer@gmx.de> 7374 7375 * Headers/gnustep/gui/NSColorPanel.h 7376 * Source/NSColorPanel.m 7377 Moved the method [NSApplication orderFrontColorPanel:] to here. 7378 * Headers/gnustep/gui/NSHelpPanel.h 7379 * Source/NSHelpPanel.m 7380 Moved the method [NSApplication orderFrontHelpPanel:] to here. 7381 * Headers/gnustep/gui/NSDataLinkPanel.h 7382 * Source/NSDataLinkPanel.m 7383 Moved the method [NSApplication orderFrontDataLinkPanel:] to here. 7384 * Headers/gnustep/gui/NSPageLayout.h 7385 * Source/NSPageLayout.m 7386 Moved the method [NSApplication runPageLayout:] to here. 7387 * Headers/gnustep/gui/NSApplication.h 7388 Removed methods that belong to other files. Added types and method 7389 definitions for MacOSX. 7390 * Source/NSApplication.m 7391 Implemented [detachDrawingThread:toTarget:withObject:]. 7392 [sendAction:to:from:] now uses [targetForAction:to:from:]. Removed 7393 moved methods. [orderFrontStandardAboutPanel:] now calles 7394 [orderFrontStandardInfoPanelWithOptions:] so that subclasses only 7395 have to overwritte this. Split up parts of [terminate:] into 7396 [replyToApplicationShouldTerminate:]. 7397 7398Thu Sep 5 11:39:58 2002 Nicola Pero <n.pero@mi.flashnet.it> 7399 7400 * Source/NSTextView.m 7401 ([-updateInsertionPointStateAndRestartTimer:]): Make sure we start 7402 the on/off/on/off blinking sequence from the on, so that we give 7403 immediate feedback to the user as to where the insertion point is 7404 (Patch by David Ayers <d.ayers@inode.at>). 7405 74062002-08-30 Adam Fedor <fedor@gnu.org> 7407 7408 * Version: 0.8.1 7409 7410 * Documentation/GNUmakefile: Set dir for reference documentation 7411 * Documentation/GNUmakefile.postamble: New file. 7412 74132002-08-30 00:11 Alexander Malmberg <alexander@malmberg.org> 7414 7415 * Source/NSBezierPath.m (-appendBezierPath:): Handle curves 7416 correctly. 7417 7418 (-appendBezierPathWithArcFromPoint:toPoint:radius:): Fix numerical 7419 stability issue by clamping dx1 and dx2 manually. 7420 74212002-08-29 Richard Frith-Macdonald <rfm@gnu.org> 7422 7423 * Source/GSDisplayServer.m: 7424 * Source/NSApplication.m: 7425 * Source/NSFont.m: 7426 * Source/NSInterfaceStyle.m: 7427 * Source/NSTableColumn.m: 7428 Documentation fixups ... correct gsdoc markup etc. 7429 74302002-08-28 Fred Kiefer <FredKiefer@gmx.de> 7431 7432 * Source/NSBezierPath.m 7433 Implemented [appendBezierPathWithArcFromPoint:toPoint:radius:] 7434 with code from Alexander Malmberg <alexander@malmberg.org>. 7435 74362002-08-27 Adam Fedor <fedor@gnu.org> 7437 7438 * Source/NSBrowser.m (-tile): Set horizontal scroller frame 7439 only if we have one. 7440 74412002-08-26 Adam Fedor <fedor@gnu.org> 7442 7443 * Model/GMAppKit.m (-initWithModelUnarchiver:): Don't add ourselves 7444 to the superview if we are the contentView of an NSBox. 7445 7446 * Tools/example.m ([ExampleServices -openURL:userData:error:]): 7447 Get browser from defualts. Use mozilla if none. (Modified patch from 7448 Stefan Urbanek). 7449 74502002-08-24 Adam Fedor <fedor@gnu.org> 7451 7452 * Source/NSGraphicsContext.m: More documentation. 7453 * Source/NSWindow.m (-sendEvent:): Remember mouseDown view 7454 and send mouseUp to this view (not firstResponder). 7455 7456 * Model/test.m: Fix so it reads in gmodel from command line. 7457 7458 * Source/GNUmakefile: Correct docs so they are built in 7459 Documentation/Gui directory 7460 * Source/GNUmakefile.postamble: Extra rules for building docs. 7461 * Documentation/Gui: New directory for docs. 7462 * Documentation/gsdoc: Remove. 7463 74642002-08-23 02:39 Alexander Malmberg <alexander@malmberg.org> 7465 7466 * Source/NSImage.m (-lockFocusOnRepresentation:): Use a 7467 compositerect to clear the alpha channel if the background color 7468 isn't opaque. 7469 74702002-08-16 Adam Fedor <fedor@gnu.org> 7471 7472 * Source/NSGraphicsContext.m: Define colorspace constants 7473 74742002-08-15 Adam Fedor <fedor@gnu.org> 7475 7476 * configure.ac: Add NetBSD header/ldflag support (Patch from 7477 Peter Cooper). Cleanup freebsd support. 7478 7479 * Headers/gnustep/gui/GSDisplayServer.h: Replace APPKIT_DECLARE 7480 with APPKIT_EXPORT. 7481 * Headers/gnustep/gui/NSGraphics.h: Idem. 7482 * Headers/gnustep/gui/NSGraphicsContext.h: Idem. 7483 * Headers/gnustep/gui/NSPanel.h: Idem. 7484 7485Fri Aug 9 12:12:18 2002 Georg Fleischmann <georg@vhf.de> 7486 7487 * Source/NSWindow.m ([-setFrameFromString:]), 7488 ([-stringWithSavedFrame]): Don't flip coordinates to make it 7489 compatible with OpenStep. 7490 74912002-08-05 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr> 7492 7493 * Source/NSSplitView.m 7494 [NSplitView -setFrame:]: 7495 adjust the subviews. 7496 [NSSplitView -resizeWithOldSuperviewSize:]: 7497 send the splitview's old size not the superview's old size to 7498 [NSSplitView -_adjustSubviews:] 7499 [NSSplitView -displayIfNeededInRectIgnoringOpacity:] 7500 [NSSplitView -displayRectIgnoringOpacity:] 7501 set _never_displayed_before before calling _adjustSubviews. 7502 It could lead to a loop, if the delegate was calling -display. 7503 75042002-08-03 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr> 7505 7506 * Source/NSView.m ([NSView -replaceSubview:withSubview]): 7507 The replacing subview was not inserted at the old subview's location. 7508 75092002-08-02 Adam Fedor <fedor@gnu.org> 7510 7511 * Merge changes from 0.8.0 into main branch. 7512 75132002-08-02 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr> 7514 7515 * Source/NSTabView.m ([NSTabView -initWithCoder:]): 7516 Set _selected ivar based on _selected_item value. 7517 75182002-08-01 Adam Fedor <fedor@gnu.org> 7519 7520 * configure.ac: Check for recent version of audiofile 7521 75222002-07-31 Adam Fedor <fedor@gnu.org> 7523 7524 * Headers/gnustep/gui/AppKit.h: Add NSSound. 7525 * Source/GNUmakefile (AUTOGSDOC_HEADERS): Idem. 7526 7527 * Tools/gsnd/GNUmakefile (GNUSTEP_INSTALLATION_DIR): Add. 7528 75292002-07-30 Adam Fedor <fedor@gnu.org> 7530 7531 * configure.ac: Check for autofile header/libs. 7532 * Source/NSBundleAdditions.m (pathForSoundResource:): New. 7533 * Source/NSSound.m: New file 7534 * Headers/gnustep/gui/NSSound.h: Idem. 7535 * Tools/gsnd: New server tool. (Implementation from 7536 Enrico Sersale). 7537 75382002-07-18 Gregory John Casamento <greg_casamento@yahoo.com> 7539 7540 * NSBundleAdditions.m: (-[awakeWithContext:]) Corrected 7541 a problem in this method which was preventing awakeFromNib 7542 from being called on NSOwner. I have confirmed that this 7543 is the correct behavior on OPENSTEP 4.2/Mach. 7544 75452002-07-18 Gregory John Casamento <greg_casamento@yahoo.com> 7546 7547 * Source/NSOutlineView.m: Removed an extraneous NSLog. 7548 * Tools/GSspell.m: Changed registration of spell checker to 7549 AmericanEnglish. 7550 * Tools/GSspellInfo.plist: Changed .plist to reflect the new 7551 name. The spell checker was registering itself for simply 7552 "English" and was not being started when a request to check 7553 spelling in a document was being issued. It should work now. 7554 75552002-08-01 Adam Fedor <fedor@gnu.org> 7556 7557 * Version:0.8.0 7558 7559Tue Jul 30 11:07:45 2002 Nicola Pero <n.pero@mi.flashnet.it> 7560 7561 Patch by David Ayers (<d.ayers@inode.at>), modified: 7562 * Source/NSTextView.m ([-_syncTextViewsByCalling:withFlag:]): 7563 Compute the imp for each different textview, not just once for 7564 all, so that we should be able to manage the case where they are 7565 of different NSTextView subclasses. 7566 (NSTEXTVIEW_SYNC): Removed the argument; just use _cmd as the 7567 selector; updated all users. 7568 75692002-07-26 Adam Fedor <fedor@gnu.org> 7570 7571 * Source/NSStringDrawing.m (setupSpecialRun): Set run width 7572 (patch from Nicholas Roard). 7573 7574 * Source/NSPrintInfo.m (+initPrintInfoDefaults): Add missing ';' 7575 7576Thu Jul 25 12:51:52 2002 Nicola Pero <n.pero@mi.flashnet.it> 7577 7578 * Source/NSApplication.m ([+sharedApplication]): Rewritten; 7579 documented verbosely the method. 7580 ([-init]): Rewritten code checking, setting and managing NSApp; 7581 documented verbosely the method. 7582 75832002-07-22 Adam Fedor <fedor@gnu.org> 7584 7585 * Source/NSImageCell.m (-setImage:): Check if non-nil. 7586 Make sure size is not 0. 7587 7588Mon Jul 22 12:50:34 2002 Nicola Pero <n.pero@mi.flashnet.it> 7589 7590 * Source/NSApplication.m (initialize_gnustep_backend): Remove 7591 useless instruction in loop looking for the backend. (Patch by 7592 David David Relson <relson@osagesoftware.com>). 7593 75942002-07-20 Adam Fedor <fedor@gnu.org> 7595 7596 * Source/NSWindow.m (-_initDefaults): Set background 7597 to windowBackgroundColor. 7598 75992002-07-19 Adam Fedor <fedor@gnu.org> 7600 7601 * Source/NSImage.m (-lockFocusOnRepresentation:): Make sure 7602 newly created cache image is valid. 7603 * Source/NSCursor.m (backgroundColorHint:): Remove extra NSLog. 7604 76052002-07-17 Adam Fedor <fedor@gnu.org> 7606 7607 * Version: 0.7.9 7608 * Documentation/news.texi: Update 7609 * Documentation/gsdoc/*: Updated from source files. 7610 * Source/NSWorkspace.m: Comment fix. 7611 7612Wed Jul 17 15:24:54 2002 Nicola Pero <n.pero@mi.flashnet.it> 7613 7614 * Headers/gnustep/gui/NSTextView.h ([-becomeKeyWindow]): Declare. 7615 7616Wed Jul 17 15:23:28 2002 Nicola Pero <n.pero@mi.flashnet.it> 7617 7618 Patch from David Ayers <d.ayers@inode.at>: 7619 * Source/NSTextView.m ([-becomeKeyWindow]): Implemented. 7620 * Source/NSWindow.m ([-becomeKeyWindow]): Set the _f.is_key flag 7621 immediately after checking it. 7622 7623Tue Jul 16 19:40:04 2002 Nicola Pero <n.pero@mi.flashnet.it> 7624 7625 * Source/NSWindow.m ([-cacheImageInRect:]): Intersect the 7626 rectangle with the window view frame, not the content view frame. 7627 ([-restoreCachedImage]): Draw in the window view, not in the 7628 content view. 7629 7630Mon Jul 15 15:55:21 2002 Nicola Pero <n.pero@mi.flashnet.it> 7631 7632 * Source/NSWindow.m ([NSWindow +initialize]): Removed left-over 7633 NSLog call. 7634 76352002-07-14 Adam Fedor <fedor@gnu.org> 7636 7637 * Headers/gnustep/gui/NSTabView.h: Add missing method. 7638 76392002-07-14 Gregory John Casamento <greg_casamento@yahoo.com> 7640 7641 * Source/NSTableView.m: 7642 [-NSTableView _editNextEditableCellAfterRow:column:] corrected 7643 a problem with the loop which seeks the next editable cell. It 7644 was using incorrect values in the call to isCellEditable in the 7645 second for which was causing an exception to be thrown. 7646 * Source/NSOutlineView.m: ([-editColumn:row:withEvent:select:]) 7647 corrected a problem in this method which was causing the cell 7648 to be drawn incorrectly when editing a column other than the 7649 outline column. 7650 7651Fri Jul 12 12:55:17 2002 Nicola Pero <n.pero@mi.flashnet.it> 7652 7653 Patch from Benhur Stein <benhur-gnustep@inf.ufsm.br>: 7654 * Headers/gnustep/gui/NSWindow.h (_cachedImage, 7655 _cachedImageOrigin): New instance variables. 7656 * Source/NSWindow.m ([-dealloc]): Release _cachedImage if needed. 7657 ([-display]): Invoke discardCachedImage. 7658 ([-cacheImageInRect:]): Implemented. 7659 ([-discardCachedImage]): Implemented. 7660 ([-restoreCachedImage]): Implemented. 7661 7662Fri Jul 12 11:49:50 2002 Nicola Pero <n.pero@mi.flashnet.it> 7663 7664 Patch from Jeff Teunissen <deek@d2dc.net>: 7665 * Source/NSMatrix.m ([-selectAll:]): Do nothing when in radio 7666 mode. 7667 76682002-07-11 Adam Fedor <fedor@gnu.org> 7669 7670 * Source/NSMenu.m (-_createWindow): Set to NOT work when in 7671 modal loop. 7672 7673 * Images/common_RadioOff.tiff 7674 * Images/common_RadioOn.tiff 7675 * Images/common_outlineCollapsed.tiff 7676 * Images/common_outlineExpanded.tiff 7677 * Images/common_outlineUnexpandable.tiff: Transparency fixes 7678 (From deek@d2dc.net). 7679 76802002-07-11 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr> 7681 7682 * Source/NSButtonCell.m ([-isOpaque]): New behaviour 7683 that is more consistent with our look and feel 7684 * Source/NSMatrix.m ([-drawCellAtRow:column:]): 7685 Draws matrix's background if needed and make the opaque ancestor 7686 redraw if the matrix is not opaque. 7687 ([-_drawCellAtRow:column:]): New private method to avoid looping 7688 ([-drawRect:]): Use _drawCellAtRow:column instead of 7689 drawCellAtRow:column. 7690 * Source/GSSimpleLayoutManager.m 7691 ([-rebuildForRange:delta:inTextContainer:]): Empty lines 7692 are not fixed height anymore. The height does now depend on the 7693 current font or on the current paragraph's settings. 7694 76952002-07-11 Gregory John Casamento <greg_casamento@yahoo.com> 7696 7697 * Source/NSOutlineView.m: ([-editColumn:row:withEvent:select:]) 7698 Needed to override this method in NSOutlineView since attempting 7699 to edit a cell in an NSOutlineView was causing a crash. Also, 7700 NSTableView's version of this method does not draw the button image 7701 correctly. 7702 * Source/NSTableView.m: Added a new methods 7703 [-_objectValueForTableColumn:row:] and [-_setObjectValue: 7704 forTableColumn:row:] to both this class and to NSOutlineView 7705 to allow more code reuse between the NSOutlineView and NSTableView. 7706 7707Mon Jul 8 13:55:13 2002 Nicola Pero <n.pero@mi.flashnet.it> 7708 7709 * Source/NSSavePanel.m ([-createRowsForColumn:]): Removed usage of 7710 nested function which was causing the library not to compile on 7711 some platforms. 7712 (compareFilenames): New static function doing the same. 7713 77142002-07-05 Adam Fedor <fedor@gnu.org> 7715 7716 * Images/common_ArrowDown.tiff: Transparency fix. 7717 * Images/common_ArrowDownH.tiff: Idem. 7718 * Images/common_ArrowLeft.tiff: Idem. 7719 * Images/common_ArrowLeftH.tiff: Idem. 7720 * Images/common_ArrowRight.tiff: Idem. 7721 * Images/common_ArrowRightH.tiff: Idem. 7722 * Images/common_ArrowUp.tiff: Idem. 7723 * Images/common_ArrowUpH.tiff: Idem. (From deek@d2dc.net.) 7724 7725 * Source/NSFont.h: Add documentation. 7726 * Source/NSImage.m (-compositeToPoint:fromRect:operation:): Log 7727 exception. 7728 (-dissolveToPoint:fromRect:fraction:): Idem. 7729 * Documentation/gsdoc/DefaultsSummary.gsdoc: Update. 7730 77312002-07-04 Fred Kiefer <FredKiefer@gmx.de> 7732 7733 * Source/NSColor.m 7734 Changed initSystemColors() and [defaultsDidChange:] so that 7735 setting a system colour in the defaults file works again. 7736 7737Tue Jul 2 17:01:25 2002 Nicola Pero <n.pero@mi.flashnet.it> 7738 7739 * Source/GNUmakefile (libgnustep-gui_HEADER_FILES): Removed - 7740 temporarily? - NSValidatedUserInterfaceItem.h - because that file 7741 does not exist on CVS at the moment. 7742 7743Tue Jul 2 16:52:28 2002 Nicola Pero <n.pero@mi.flashnet.it> 7744 7745 Suggestion by Fred Kiefer, David Ayers <d.ayers@inode.at>: 7746 * Source/NSTextView.m ([-resignKeyWindow]): New method - if needed 7747 draw the insertion point, then stop blinking. 7748 * Headers/gnuste/gui/NSTextView.h: Declare the method. 7749 77502002-06-30 Fred Kiefer <FredKiefer@gmx.de> 7751 7752 * Headers/gnustep/gui/NSToolbarItem.h 7753 Corrected #include so that it compiles. 7754 77552002-06-30 Gregory John Casamento <greg_casamento@yahoo.com> 7756 7757 * Headers/gnustep/gui/NSWindow.h: Added declaration for 7758 NSToolbar in NSWindow. 7759 * Headers/gnustep/gui/AppKit.h: Added #include lines for 7760 new header files in the AppKit.h file. 7761 * Source/NSWindow.m: Added code foe setToolbar method. 7762 * Source/GNUmakefile: Added NSToolbar and NSToolbarItem 7763 classes and headers to the makefile. 7764 * Source/NSOutlineView.m: Added dealloc for NSOutlineView to 7765 prevent memory leaks. 7766 * Source/NSSecureTextField.m: Removed some extraneous comments 7767 which were left from before I implemented the class. 7768 * Source/externs.m: Added notification constants for NSToolbar. 7769 * Source/NSToolbar.m: Added skeleton for implementation. 7770 * Source/NSToolbarItem.m: Added skeleton for implementation. 7771 * Headers/gnustep/gui/NSToolbar.h: Added. 7772 * Headers/gnustep/gui/NSToolbarItem.h: Added. 7773 77742002-06-28 Richard Frith-Macdonald <rfm@gnu.org> 7775 7776 * Source/NSWindow.m: ([-flushWindow]) don't flush context for 7777 non-retained windows unless flushing is enabled. Actually I'm 7778 not sure about this ... according to the documentation this 7779 method should never flush non-retained windows anyway. 7780 7781Thu Jun 27 11:49:57 2002 Nicola Pero <n.pero@mi.flashnet.it> 7782 7783 * Source/NSTextField.m ([-textDidEndEditing:]): Set _text_object 7784 to nil too before posting the NSControlTextDidEndEditing 7785 notification. 7786 77872002-06-27 Richard Frith-Macdonald <rfm@gnu.org> 7788 7789 * Source/NSWorkspace.m: Fix error in testing base path for app. 7790 7791Wed Jun 26 17:50:39 2002 Nicola Pero <n.pero@mi.flashnet.it> 7792 7793 * Source/NSTextField.m ([-textDidEndEditing:]): Post the 7794 NSControlTextDidEndEditingNotification *after* we end editing, not 7795 before! 7796 * Source/NSMatrix.m ([-textDidEndEditing:]): Idem. 7797 * Source/NSTableView.m ([-textDidEndEditing:]): Idem. 7798 77992002-06-24 Richard Frith-Macdonald <rfm@gnu.org> 7800 7801 * Source/NSWorkspace.m: Comitted Jeffs latest attemtpt at handling 7802 lookup of apps by name correctly ... but rewritten somewhat to 7803 remove one assumption I thought was unwarrented, and to try to 7804 conform to what the MacOS-X implementation actually does rather 7805 than what the MacOS-X documentation says it should do. 7806 7807Mon Jun 24 13:17:37 2002 Nicola Pero <n.pero@mi.flashnet.it> 7808 7809 Originated by a patch/suggestion by Serg Stoyan 7810 <stoyan@on.com.ua>, rewritten by myself. 7811 * Source/GSSimpleLayoutManager.m (defaultFontHeight): New static 7812 inline function computing the height of the user font of the 7813 default size. 7814 ([-boundingRectForGlyphRange:inTextContainer:]): Use 7815 defaultFontHeight() instead of hardcoded 12. 7816 ([-lineFragmentRectForGlyphAtIndex:effectiveRange:]): Idem. 7817 ([-rectForCharacterIndex:]): Idem. 7818 ([-rebuildForRange:delta:inTextContainer:]): Idem. 7819 ([-rebuildForRange:delta:inTextContainer:]): Idem. 7820 * Source/NSTextView.m 7821 ([-updateInsertionPointStateAndRestartTimer:]): Removed unused 7822 code setting font size to 12 if it was 0. 7823 7824Sat Jun 22 17:26:18 2002 Nicola Pero <n.pero@mi.flashnet.it> 7825 7826 * Source/NSMenuView.m ([-itemAdded:]): Fixed highlighting of 7827 cells. 7828 7829Sat Jun 22 16:46:59 2002 Nicola Pero <n.pero@mi.flashnet.it> 7830 7831 * Headers/gnustep/gui/NSInputManager.h ([-loadBindingsFromFile:]): 7832 Made it a public method. 7833 * Source/NSInputManager.m ([-initWithName:host:]): Changed the way 7834 in which keybindings loading is controlled via user defaults, now 7835 simpler and more powerful. Hopefully this is the final version. 7836 * Documentation/gsdoc/DefaultsSummary.gsdoc: Documented the 7837 keybinding defaults. 7838 * Documentation/gsdoc/DefaultsSummary.html: Regenerated. 7839 7840Sat Jun 22 15:19:31 2002 Nicola Pero <n.pero@mi.flashnet.it> 7841 7842 * Headers/gnustep/gui/NSAffineTransform.h (rotationAngle): 7843 Instance variable removed. Optimize for case of unrotated views. 7844 * Source/NSAffineTransform.m ([+transform]): Do not set rotationAngle. 7845 ([+new]): Do not set rotationAngle. 7846 ([-appendTransform:]): Do not recompute rotationAngle. 7847 ([-init]): Do not set rotationAngle. 7848 ([-initWithTransform:]): Do not set rotationAngle. 7849 ([-prependTransform:]): Do not compute rotationAngle. 7850 ([-rotateByDegrees:]): Do not compute rotationAngle. 7851 ([-makeIdentityMatrix]): Do not set rotationAngle. 7852 ([-rotateByRadians:]): Do not compute the angle in degrees; do not 7853 compute rotationAngle. 7854 ([-setTransformStruct:]): Do not set rotationAngle. 7855 ([-scaleTo::]): Optimize out the case of rotated transforms. 7856 ([-setFrameRotation:]): Always call -rotationAngle. 7857 ([-rotationAngle]): Always compute rotationAngle. 7858 ([-concatenateWithMatrix:]): Do not set rotationAngle. 7859 ([-boundingRectFor:result:]): Always compute rotationAngle. 7860 7861Sat Jun 22 15:06:44 2002 Nicola Pero <n.pero@mi.flashnet.it> 7862 7863 * Source/NSAffineTransform.m ([-isRotated]): Rewritten - efficient 7864 implementation by simply checking that the cross matrix elements 7865 are not 0. 7866 7867Sat Jun 22 14:59:36 2002 Nicola Pero <n.pero@mi.flashnet.it> 7868 7869 * Source/NSAffineTransform.m ([-set]): Removed code to create a 7870 float[6] matrix which is no longer used. 7871 7872Sat Jun 22 14:53:27 2002 Nicola Pero <n.pero@mi.flashnet.it> 7873 7874 * Headers/gnustep/gui/NSAffineTransform.h ([-rotateByAngle:]): 7875 Method removed. 7876 * Source/NSAffineTransform.m Idem. 7877 * Source/NSAffineTransform.m ([-setFrameRotation:]): Use 7878 rotateByDegrees:, not rotateByAngle: 7879 7880Sat Jun 22 14:52:19 2002 Nicola Pero <n.pero@mi.flashnet.it> 7881 7882 * Source/NSView.m ([-rotateByAngle:]): Use -rotateByDegrees:, not 7883 -rotateByAngle:, to rotate the affine transform. 7884 7885Sat Jun 22 14:46:35 2002 Nicola Pero <n.pero@mi.flashnet.it> 7886 7887 * Headers/gnustep/gui/NSAffineTransform.h ([+matrixFrom:]): Method 7888 removed. 7889 * Source/NSAffineTransform.m: Idem. 7890 7891Sat Jun 22 14:34:15 2002 Nicola Pero <n.pero@mi.flashnet.it> 7892 7893 * Source/NSView.m ([-_rebuildCoordinates]): Use -invert, not 7894 -inverse, to invert a NSAffineTransform. 7895 7896Sat Jun 22 14:26:06 2002 Nicola Pero <n.pero@mi.flashnet.it> 7897 7898 * Headers/gnustep/gui/NSAffineTransform.h, 7899 * Source/NSAffineTransform.m ([-scaleBy::]): 7900 Method removed. Better use the standard scaleXBy:yBy: instead. 7901 79022002-06-22 Adam Fedor <fedor@gnu.org> 7903 7904 * Source/NSApplication.m (-finishLaunching): Revert last change. 7905 79062002-06-21 Adam Fedor <fedor@gnu.org> 7907 7908 * Source/NSApplication.m (-finishLaunching): Use makeKeyWindow 7909 not becomeKeyWindow. 7910 7911 * Source/NSWindow.m (-canBecomeKeyWindow): Conform to docs. don't 7912 check if visible or miniaturized. 7913 (-canBecomeMainWindow): Idem for miniaturized only. 7914 (-makeKeyWindow): Check if visible, miniaturized. 7915 (-makeMainWindow): Idem. 7916 7917Wed Jun 19 15:54:39 2002 Georg Fleischmann <georg@vhf.de> 7918 7919 * Source/NSMenu.m ([-performActionForItemAtIndex:]): Select item 7920 for any kind of popup action. 7921 79222002-06-17 Richard Frith-Macdonald <rfm@gnu.org> 7923 7924 * Source/NSWorkspace.m: Vague attempt to improve locating of apps 7925 79262002-06-15 Gregory John Casamento <greg_casamento@yahoo.com> 7927 7928 * Source/NSOutlineView.m a number of improvements: 7929 -setDataSource now uses the CHECK_REQUIRED macro to check 7930 for required methods instead of iterating over a list of strings. 7931 -expandItem:expandChildren: corrected bug which prevented the method 7932 from working correctly when expandChildren is YES. 7933 -collapseItem:collapseChildren: corrected bug which prevented the 7934 method from working correctly when expandChildren is YES. 7935 79362002-06-12 Alexander Malmberg <alexander@malmberg.org> 7937 7938 * Source/GSServicesManager.m (-rebuildServicesMenu): Disable auto- 7939 enabling while updating the menu. 7940 79412002-06-12 Alexander Malmberg <alexander@malmberg.org> 7942 7943 * Source/GSServicesManager.m (-loadServices): Only update timestamp 7944 when the file has changed. 7945 (-rebuildServicesMenu): Correctly remove the old menu items. 7946 7947Tue Jun 11 14:11:22 2002 Nicola Pero <n.pero@mi.flashnet.it> 7948 7949 Patch by Jeff Teunissen with changes by myself: 7950 * TextConverters/RTF/RTFConsumer.h (GSTextConsumer): Added ivar _class. 7951 * TextConverters/RTF/RTFConsumer.m: Changed everywhere to support the 7952 caller specifying the type of class it needs to be produced. 7953 * Headers/gnustep/gui/GSTextConverter.h: Added a class argument to 7954 have the text converter save the results of parsing into 7955 attributed strings of different classes depending on the case. 7956 * Source/NSAttributedString.m: When parsing using the text converters, 7957 have them create attributed strings of our own class. 7958 7959Tue Jun 11 13:35:41 2002 Nicola Pero <n.pero@mi.flashnet.it> 7960 7961 * TextConverters/RTF/GNUmakefile.preamble (ADDITIONAL_CPPFLAGS): 7962 Use -Wall when compiling. 7963 79642002-06-10 Adam Fedor <fedor@gnu.org> 7965 7966 * Version 0.7.8 7967 * Documentation/news.texi: Update 7968 79692002-06-11 Alexander Malmberg <alexander@malmberg.org> 7970 7971 * Source/GSServicesManager.m, 7972 Headers/gnustep/gui/GSServicesManager.h: Fix handling of 7973 NSMenuItem:s (were being handled as NSCell:s in many places; this 7974 broke submenus of the services menu). 7975 79762002-06-10 Georg Fleischmann <georg@vhf.de> 7977 7978 * Source/NSControl.m ([NSControl -mouseDown:]): Set NSPeriodicMask 7979 for continuous cells, and 0 otherwise. 7980 79812002-06-10 Georg Fleischmann <georg@vhf.de> 7982 7983 * Model/GMAppKit.m ([NSCell -encodeWithModelArchiver:]): Restore 7984 sendActionMask. 7985 79862002-06-10 Alexander Malmberg <alexander@malmberg.org> 7987 7988 * Source/GSServicesManager.m (-performService:...): Create and use 7989 a local copy of the NSPasteboard. 7990 79912002-06-08 Alexander Malmberg <alexander@malmberg.org> 7992 7993 * Source/NSWindow.m (-_initDefaults): Make _miniaturizedImage 7994 default to the application icon. 7995 79962002-06-08 Alexander Malmberg <alexander@malmberg.org> 7997 7998 * Source/GSServicesManager.m (-doService:): Only try to 7999 write/read selection if the send/return type isn't nil. 8000 Fix calls to NSRunAlertPanel() so they don't do printf() 8001 expansion on the message twice. 8002 8003Thu Jun 6 08:29:42 2002 Nicola Pero <n.pero@mi.flashnet.it> 8004 8005 * Source/NSScroller.m ([NSScroller -setFrame:]): Do not add 8006 scroller arrows if they aren't already there (Patch by Jeff 8007 Teunissen). 8008 8009Thu Jun 6 07:23:59 2002 Nicola Pero <n.pero@mi.flashnet.it> 8010 8011 * Source/NSApplication.m ([NSApplication -terminate:]): Send the 8012 -applicationShouldTerminate: messages from self, instead of from 8013 the sender of -terminate: (Patch by Jeff Teunissen). 8014 80152002-06-06 Richard Frith-Macdonald <rfm@gnu.org> 8016 8017 * Source/NSBundleAdditions.m: patch by Jeff Teunissen to log loading 8018 only as debug. 8019 8020WWed Jun 5 14:09:04 2002 Nicola Pero <n.pero@mi.flashnet.it> 8021 8022 * Source/GSKeyBindingAction.h: Cleaned syntax of #endif to remove 8023 compiler warnings. 8024 80252002-06-03 Adam Fedor <fedor@gnu.org> 8026 8027 * Source/GSDisplayServer.m (-beep): New method. 8028 * Source/NSGraphicsContext.m (-NSBeep): Use it. 8029 80302002-06-02 Alexander Malmberg <alexander@malmberg.org> 8031 8032 Add basic color picker bundles: the wheel color picker and the 8033 standard rgb/hsb/cmyk/gray picker. 8034 * GNUmakefile: Add ColorPickers subproject. 8035 * ColorPickers/: New files. 8036 8037Sun May 26 13:46:58 2002 Nicola Pero <n.pero@mi.flashnet.it> 8038 8039 * Source/NSMatrix.m 8040 ([-_privateFrame:mode:numberOfRows:numberOfColumns:]): Do not make 8041 the cell size integers. Any approximation is a loss of 8042 information, and by approximating without reason at this stage we 8043 are downgrading the information we pass to the backend - 8044 information which the backend can use to render better. A longer 8045 explanation of why this change is appropriate in the source code. 8046 ([-_rebuildLayoutAfterResizing]): New method with code taken from 8047 -resizeWithOldSuperviewSize:; rewritten not to compute changes 8048 incrementally, and not to round up sizes without reason. 8049 ([-setFrame:], [-setFrameSize:]): New methods. 8050 ([-resizeWithOldSuperviewSize:]): Removed. 8051 80522002-05-17 Georg Fleischmann <georg@vhf.de> 8053 8054 * gui/Source/GSSimpleLayoutManager.m 8055 ([-lineLayoutIndexForPoint:]): cast the count of 8056 _lineLayoutInformation to integer in MAX(). test if max is zero. 8057 ([-glyphRangeForLineLayoutRange:]): test if count of 8058 _lineLayoutInformation is zero. 8059 ([-drawLinesInLineRange:]): test if count of 8060 _lineLayoutInformation is zero (Modification by Nicola). 8061 8062Wed May 22 13:02:02 2002 Nicola Pero <n.pero@mi.flashnet.it> 8063 8064 * Source/Functions.m (NSHighlightRect): Do not flush the window. 8065 * Source/NSSplitView.m ([-mouseDown:]): Replace manual calls to PS 8066 composite operators with NSHighlightRect; manually flush the 8067 window after highlighting the appropriate rects. 8068 * Source/NSTableHeaderView.m: Everywhere, added a flush window 8069 after each call to NSHighlightRect. 8070 8071Tue May 21 16:54:20 2002 Nicola Pero <n.pero@mi.flashnet.it> 8072 8073 * Source/NSBrowser.m ([-setPath:]): Fixed bug - column variable 8074 which was declared unsigned instead of int (Patch by Andreas Bohne 8075 <andreas@mevis.de>). 8076 80772002-05-17 Fred Kiefer <FredKiefer@gmx.de> 8078 8079 * Source/NSMenuView.m 8080 [rectOfItemAtIndex:] for horizontal orientation set items from 8081 left to right. [locationForSubmenu:] for horizontal orientation 8082 set submenu below the item in self. 8083 80842002-05-13 Georg Fleischmann 8085 8086 * gui/Source/NSPrintOperation.m 8087 [NSPrintOperation(GSEPSPrintOperation) -createContext:]: 8088 add local autorelease pool to remove autorelease of context. 8089 80902002-05-13 Fred Kiefer <FredKiefer@gmx.de> 8091 8092 * Source/NSColor.m 8093 In initSystemColors() and systemColorWithName() replaced 8094 implementation of system colours with named colours from a stored 8095 colour list. Added conversion cache for named colours. This allows 8096 easy configuration of system colours while keeping the same 8097 performance. 8098 * Source/NSFont.m 8099 Moved the caching of fonts from [initWithName:matrix:] to 8100 [fontWithName:matrix:] so that unneeded fonts are no longer 8101 created. In [labelFontSize], [smallSystemFontSize] and 8102 [systemFontSize] get values from defaults if available. In 8103 getNSFont() removed hard coded 12, will be relaced by default for 8104 NSUserFontSize. 8105 8106Sun May 12 10:08:34 2002 Nicola Pero <n.pero@mi.flashnet.it> 8107 8108 * Headers/gnustep/gui/NSTextView.h: Removed ivar 8109 _tvf.is_in_dealloc. 8110 * Source/NSTextView.m ([-dealloc]): Set the textStorage to nil 8111 when releasing it; run the other dealloc cleanups during the 8112 recursive invocation rather than during the first invocation; use 8113 the _textStorage ivar instead of _tvf.is_in_dealloc. (Patch by 8114 Alexander Malmberg <alexander@malmberg.org>). 8115 81162002-05-11 Richard Frith-Macdonald <rfm@gnu.org> 8117 8118 * Source/NSStringDrawing.m: drawRun() use GSFromUnicode() API for 8119 conversion. 8120 8121Fri May 10 11:24:38 2002 Nicola Pero <n.pero@mi.flashnet.it> 8122 8123 * Source/NSRulerView.m ([NSRulerView -dealloc]): Do not release the 8124 scrollview (Suggested by Benhur Stein <benhur@inf.ufsm.br>). 8125 81262002-05-07 Adam Fedor <fedor@gnu.org> 8127 8128 * Source/NSFont.m (-initWithName:matrix:): If matrix 8129 is ident, set matrixExplicitlySet to NO 8130 (-set): If the focus view is flipped and matrix not set, set our 8131 flipped font equivalent. 8132 81332002-05-06 Adam Fedor <fedor@gnu.org> 8134 8135 * Source/NSGraphicsContext.m: More documentation. 8136 * Source/NSStringDrawing.m (drawRun): stroke the underline. 8137 81382002-05-02 Adam Fedor <fedor@gnu.org> 8139 8140 * configure.ac: Update to autoconf 2.53 from configure.in 8141 * configure, Headers/gnustep/gui/config.h.in: Regenerate. 8142 * Headers/gnustep/gui/config.h.bot: Remove. 8143 81442002-05-01 Adam Fedor <fedor@gnu.org> 8145 8146 * Source/NSView.m (-resizeWithOldSuperviewSize:): Check object 8147 before getting struct. (Solaris limitation). 8148 81492002-04-30 Adam Fedor <fedor@gnu.org> 8150 8151 * Version: 0.7.7 8152 * Documentation/news.texi: Update 8153 * NEWS: Regen. 8154 8155Fri Apr 26 12:45:07 2002 Gregory John Casamento <greg_casamento@yahoo.com> 8156 8157 * Source/NSOutlineView.m: Added a patch by 8158 Alex Malmberg <alexander@malmberg.org> to correct behavior of 8159 the NSOutlineView when the outline column is not in the 8160 leftmost position. 8161 8162Wed Apr 24 10:54:47 2002 Nicola Pero <n.pero@mi.flashnet.it> 8163 8164 * Model/GMAppKit.m ([NSMenuItem -initWithModelUnarchiver:]): Do not 8165 set submenu if it's nil; decode target in normal place. (Suggestion 8166 by Georg Fleischmann <georg@vhf.de>). 8167 81682002-04-23 Adam Fedor <fedor@gnu.org> 8169 8170 * Source/GSDisplayServer.m (mouseLocationOnScreen:window:): New 8171 * Source/NSScreen.m (screenNumber): New. 8172 * Source/NSWindow.m (mouseLocationOutsideOfEventStream): Use them. 8173 8174 * Tools/gpbs.m: Remove. 8175 81762002-04-22 Adam Fedor <fedor@gnu.org> 8177 8178 * Headers/gnustep/gui/GSDisplayServer.h: Add attribute strings. 8179 New window::: method. 8180 * Headers/gnustep/gui/NSWindow.h: Add screen ivar plus some extra 8181 reserved ivars. 8182 * Source/GSDisplayServer.m: Add attribute strings. 8183 (window::::): New 8184 (window:::): Implement in terms of window:::: 8185 * Source/NSWindow.m: (defaultDepthLimit): Implement. 8186 (dealloc): Release _screen. 8187 (_initBackendWindow:): Interface change: pass frame rect to 8188 window server window creation (not content rect). Pass screen number. 8189 (initWithContentRect:...): Save screen, depthLimit; 8190 (canStoreColor): Check depthLimit correctly. 8191 (deepestScreen): Return screen. 8192 (screen): Idem. 8193 8194Sun Apr 21 12:57:36 2002 Nicola Pero <n.pero@mi.flashnet.it> 8195 8196 * Model/GMAppKit.m ([NSWindow -encodeWithModelArchiver:]): If not 8197 on gnustep-gui, always add NSTitledWindowMask to non NSBorderless 8198 windows to work around a bug in OpenStep (patch by Georg 8199 Fleischmann with changes). 8200 8201Sun Apr 21 11:44:01 2002 Nicola Pero <n.pero@mi.flashnet.it> 8202 8203 * Source/libgnustep-gui.def: Added __objc_class_name_NSOutlineView. 8204 82052002-04-19 Richard Frith-Macdonald <rfm@gnu.org> 8206 8207 * Tools/gpbs.m: If given -NSHost specification for the current host, 8208 ignore it and use the standard name. 8209 82102002-04-18 Ludovic Marcotte <ludovic@Sophos.ca> 8211 8212 * Source/NSOutlineView.m and Headers/gnustep/gui/NSOutlineView.h: 8213 Fixed some issues with the delegate methods. 8214 8215Thu Apr 18 11:14:22 2002 Nicola Pero <n.pero@mi.flashnet.it> 8216 8217 * Headers/gnustep/gui/AppKitDefines.h (APPKIT_DECLARE): Updated 8218 Windows DLL import/export #define machinery to the new 8219 gnustep-make conventions. 8220 82212002-04-17 Pierre-Yves Rivaille <pyrivail@ens-lyon.gt> 8222 8223 * Source/NSMenuItem.m: 8224 ([NSMenuItem -initWithCoder:], [NSMenuItem -encodeWithCoder:]) 8225 New encoding scheme. With the new scheme, menus can be loaded 8226 properly from a gorm file. 8227 82282002-04-16 Richard Frith-Macdonald <rfm@gnu.org> 8229 8230 * Source/NSPasteboard.m: Improve logging on server startup. 8231 8232Tue Apr 16 11:55:30 2002 Nicola Pero <n.pero@mi.flashnet.it> 8233 8234 * Tools/gpbs.m (main): Fixed typo in log message - use gpbs, not 8235 gdnc, as log prefix. 8236 82372002-04-14 Adam Fedor <fedor@gnu.org> 8238 8239 * Headers/gnustep/gui/NSGraphicsContext.h (GSCurrentDevice): Change 8240 from DPScurrentgcdrawable. 8241 (GSSetDevice): Change from DPSsetgcdrawable. 8242 * Headers/gnustep/gui/DPSOperators.h: Idem. 8243 * Headers/gnustep/gui/GSMethodTable.h: Idem. 8244 * Headers/gnustep/gui/PSOperators.h: Idem. 8245 * Source/NSGraphicsContext.m: 8246 8247 * Headers/gnustep/gui/GSDisplayServer.h: Remove findwindow::::. 8248 * Source/GSDisplayServer.m: Likewise. 8249 82502002-04-11 Adam Fedor <fedor@gnu.org> 8251 8252 * Headers/gnustep/gui/config.h.bot: New define if rint missing 8253 * Source/NSBrowser.m: Use it. 8254 * Source/NSRulerView.m: Idem. 8255 * Source/NSMatrix.m: Idem. 8256 * Source/NSClipView.m: Idem. 8257 8258Thu Apr 11 22:51:09 2002 Nicola Pero <n.pero@mi.flashnet.it> 8259 8260 * Source/NSButtonCell.m ([-cellSize]): Use more space around 8261 bezeled/bordered buttons not containing only an image so that they 8262 get more pleasantly autosized without manual intervention. 8263 * Source/GSMemoryPanel.m ([-init]): Do not manually adjust the 8264 button size. 8265 8266Thu Apr 11 22:15:51 2002 Nicola Pero <n.pero@mi.flashnet.it> 8267 8268 * Headers/gnustep/gui/NSAttributedString.h: Do not #include the 8269 whole <Foundation/Foundation>, but rather use the minimum @class 8270 and #include needed to have it parsed - so that everything 8271 compiles faster. 8272 * Headers/gnustep/gui/NSProgressIndicator.h: Added missing @class 8273 and #include directives. 8274 * Headers/gnustep/gui/NSTextStorage.h: Added missing #include. 8275 * Headers/gnustep/gui/NSTextView.m: Added missing @class. 8276 * Source/GSComboSupport.m: Added missing #includes. 8277 * Source/GSInfoPanel.m: Idem. 8278 * Source/GSServicesManager.m: Idem. 8279 * Source/NSApplication.m: Idem. 8280 * Source/NSBox.m: Idem. 8281 * Source/NSBrowser.m: Idem. 8282 * Source/NSBrowserCell.m: Idem. 8283 * Source/NSBundleAdditions.m: Idem. 8284 * Source/NSButtonCell.m: Idem. 8285 * Source/NSCell.m: Idem. 8286 * Source/NSColorPanel.m: Idem. 8287 * Source/NSColorPicker.m: Idem. 8288 * Source/NSColorWell.m: Idem. 8289 * Source/NSComboBoxCell.m: Idem. 8290 * Source/NSControl.m: Idem. 8291 * Source/NSFontPanel.m: Idem. 8292 * Source/NSHelpManager.m: Idem. 8293 * Source/NSLayoutManager.m: Idem. 8294 * Source/NSMatrix.m: Idem. 8295 * Source/NSMenu.m: Idem. 8296 * Source/NSMenuItem.m: Idem. 8297 * Source/NSMenuView.m: Idem. 8298 * Source/NSOpenPanel.m: Idem. 8299 * Source/NSOutlineView.m: Idem. 8300 * Source/NSProgressIndicator.m: Idem. 8301 * Source/NSSavePanel.m: Idem. 8302 * Source/NSScroller.m: Idem. 8303 * Source/NSScrollView.m: Idem. 8304 * Source/NSSpellChecker.m: Idem. 8305 * Source/NSStepper.m: Idem. 8306 * Source/NSTableColumn.m: Idem. 8307 * Source/NSTableHeaderView.m: Idem. 8308 * Source/NSTableView.m: Idem. 8309 * Source/NSText.m: Idem. 8310 * Source/NSTextField.m: Idem. 8311 * Source/NSTextFieldCell.m: Idem. 8312 * Source/NSTextView.m: Idem. 8313 * Source/NSWindow.m: Idem. 8314 8315 * Source/NSMatrix.m ([-dealloc]): End editing if while editing. 8316 8317Thu Apr 11 16:20:54 2002 Nicola Pero <n.pero@mi.flashnet.it> 8318 8319 * Headers/gnustep/gui/NSResponder.h: Include NSObject.h, not NSCoder.h; 8320 declare @class NSCoder. 8321 8322Thu Apr 11 15:37:31 2002 Nicola Pero <n.pero@mi.flashnet.it> 8323 8324 * Source/GSTextStorage.m ([GSTextStorage -sanity]): Renamed to 8325 -_sanity, and changed so that we always compile this in so that 8326 regression testcases can use it. 8327 8328Thu Apr 11 08:54:16 2002 Nicola Pero <n.pero@mi.flashnet.it> 8329 8330 * Source/GSTable.m ([+new]): New method working around a bug in 8331 OSX ... with this, except for #include fixups, the box code works 8332 on OSX. (Suggested by Helge Hess). 8333 83342002-04-10 Adam Fedor <fedor@gnu.org> 8335 8336 * Headers/gnustep/gui/config.h.bot: New file implements RINT defs. 8337 * Headers/gnustep/gui/config.h.in: Regen. 8338 * Source/NSBrowser.m: Remove RINT defs. 8339 * Source/NSRulerView.m: Likewise. 8340 8341 * Headers/gnustep/gui/AppKitExceptions.h: Add GNUstep exception. 8342 * Source/externs.m: Idem. 8343 * Headers/gnustep/gui/DPSOperators.h: Remove currentgstate, gstate 8344 * Headers/gnustep/gui/PSOperators.h: Idem. 8345 * Headers/gnustep/gui/GSMethodTable.h: Idem. 8346 * Headers/gnustep/gui/NSGraphicsContext.h: Idem. 8347 * Source/NSGraphicsContext.m: Idem. Redefine subclassResponsibility 8348 to throw our own exception. 8349 8350 * Headers/gnustep/gui/GSDisplayServer.h: Prefix functions with 8351 APPKIT_DECLARE. Fix windowbacking def. 8352 8353 * Source/libgnustep-gui.def: Add GSDisplayServer. 8354 8355Tue Apr 9 23:04:43 2002 Nicola Pero <n.pero@mi.flashnet.it> 8356 8357 * Source/GSTable.m ([-setFrame:], [-setFrameSize:]): New methods. 8358 ([-resizeWithOldSuperviewSize:]): Removed; code moved into 8359 -_updateForNewFrameSize:. 8360 ([-_updateForNewFrameSize:]): New method. 8361 Everywhere: use [super setFrameSize:xxx], not [self 8362 setFrameSize:xxx] to set the frame size after autoresizing 8363 operations. 8364 * Source/GSTable.m ([-lockFocusInRect:, -unlockFocusNeedsFlush:]): 8365 Removed. 8366 8367Tue Apr 9 22:28:12 2002 Nicola Pero <n.pero@mi.flashnet.it> 8368 8369 Patch by Alexander Malmberg <alexander@malmberg.org>: 8370 * Source/NSScroller.m ([-setFloatValue:knobProportion:]): Make 8371 sure we mark the scroller knob slot as needing redisplay. 8372 83732002-04-08 Ludovic Marcotte <ludovic@Sophos.ca> 8374 8375 * Source/NSMenuView.m (-dealloc): Modified the dealloc method 8376 so that we remove the menu view from the menu list of observers. 8377 We could otherwise receive notifications on a dealloc'ed object 8378 and segfault. 8379 8380 83812002-04-06 Adam Fedor <fedor@gnu.org> 8382 8383 * Source/NSView.m (-_cleanupPrinting): Private method to cleanup 8384 after an exception. 8385 * Source/NSPrintOperation.m (-_runOperation): Use it. 8386 83872002-04-03 Fred Kiefer <FredKiefer@gmx.de> 8388 8389 * Images/common_RightTabStop.tiff 8390 * Images/common_LeftTabStop.tiff 8391 * Images/common_CenterTabStop.tiff 8392 * Images/common_DecimalTabStop.tiff 8393 * Images/GNUmakefile 8394 Added new icons for tab stop display in ruler views and install 8395 them from the make file. 8396 * Source/NSRulerView.m 8397 Added method [mouseDown:]. Added safety check for unchanged client 8398 view in [setClientView:]. In [drawHashMarksAndLabelsInRect:] use 8399 [NSFont smallSystemFontSize] instead of hard coded size. 8400 * Source/NSRulerMarker.m 8401 Corrected [drawRect:]. 8402 * Source/NSTextView.m 8403 In [updateRuler] set the client view of the ruler view. 8404 8405 84062002-04-05 Adam Fedor <fedor@gnu.org> 8407 8408 * Source/NSApplication.m (initialize_gnustep_backend): Better 8409 debugging info. 8410 * Source/NSPrintOperation.m ([NSPrintOperation -destroyContext]): 8411 Remove old context method. 8412 84132002-04-06 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr> 8414 8415 * Source/NSOutlineView.m ([NSOutlineView -performDragOperation:]): 8416 Fixed issue on drag'n'drop. 8417 8418Fri Apr 5 00:13:41 2002 Nicola Pero <n.pero@mi.flashnet.it> 8419 8420 * TextConverters/RTF/GNUmakefile.preamble (ADDITIONAL_LIB_DIRS): 8421 Fixed typo so that it compiles again. 8422 84232002-04-03 Fred Kiefer <FredKiefer@gmx.de> 8424 8425 * Source/NSRulerView.m 8426 Added handling for missing rint function, copied over from 8427 NSBrowser. 8428 * Source/NSTextView.m 8429 Made [updateRuler] save against missing rulers. 8430 84312002-04-02 Adam Fedor <fedor@gnu.org> 8432 8433 * Documentation/gsdoc/DefaultsSummary.gsdoc: Update. 8434 * Documentation/gsdoc/Gui.gsdoc: Idem. 8435 * Headers/gnustep/gui/NSAffineTransform.h: Tidy for autogsdoc. 8436 * Headers/gnustep/gui/NSButtonCell.h: Idem. 8437 * Headers/gnustep/gui/NSCell.h: Idem. 8438 * Headers/gnustep/gui/NSClipView.h: Idem. 8439 * Headers/gnustep/gui/NSFont.h: Idem. 8440 * Headers/gnustep/gui/NSFontManager.h: Idem. 8441 * Headers/gnustep/gui/NSOutlineView.h: Idem. 8442 * Headers/gnustep/gui/NSRulerView.h: Idem. 8443 * Headers/gnustep/gui/NSSavePanel.h: Idem. 8444 * Source/GSHbox.m: Idem. 8445 * Source/GSVbox.m: Idem. 8446 * Source/NSCachedImageRep.m: Idem. 8447 * Source/NSCell.m: Idem. 8448 * Source/NSClipView.m: Idem. 8449 * Source/NSDocument.m: Idem. 8450 * Source/NSFont.m: Idem. 8451 * Source/NSFontManager.m: Idem. 8452 * Source/NSFontPanel.m: Idem. 8453 * Source/NSFormCell.m: Idem. 8454 * Source/NSGraphicsContext.m: Idem. 8455 * Source/NSHelpManager.m: Idem. 8456 * Source/NSImage.m: Idem. 8457 * Source/NSPanel.m: Idem. 8458 * Source/NSRulerView.m: Idem. 8459 * Source/NSStepperCell.m: Idem. 8460 * Source/NSText.m: Idem. 8461 84622002-04-02 Adam Fedor <fedor@gnu.org> 8463 8464 * Source/NSGraphicsContext.m (-GSDefineGState): Document new 8465 definition of method. 8466 * Source/NSWindow.m ([NSWindow -_initBackendWindow:]): Change to 8467 match new def. 8468 * Source/NSView.m ([NSView -lockFocusInRect:]): Idem. 8469 84702002-04-02 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr> 8471 8472 * Source/NSTableView.m ([NSTableView -scrollRowToVisible:]): 8473 ([NSTableView -scrollColumnToVisible:]): 8474 Bugfix in getting the visibleRect. 8475 8476Tue Apr 2 10:28:46 2002 Nicola Pero <n.pero@mi.flashnet.it> 8477 8478 * Source/NSButtonCell.m ([-setSound:]): Retain the sound. 8479 ([-dealloc]): Release it. 8480 * Source/NSTableView.m ([-dealloc]): Abort editing. 8481 8482Tue Apr 2 09:40:48 2002 Nicola Pero <n.pero@mi.flashnet.it> 8483 8484 * Headers/gnustep/gui/NSApplication.h: Tidied up some #include and 8485 @class machinery for efficiency. 8486 * Headers/gnustep/gui/NSDocument.h: Idem. 8487 * Headers/gnustep/gui/NSDragging.h: Idem. 8488 * Headers/gnustep/gui/NSImage.h: Idem. 8489 * Headers/gnustep/gui/NSImageRep.h: Idem. 8490 * Headers/gnustep/gui/NSMenu.h: Idem. 8491 * Headers/gnustep/gui/NSMenuItem.h: Idem. 8492 * Headers/gnustep/gui/NSWindowController.h: Idem. 8493 * Headers/gnustep/gui/NSWorkspace.h: Idem. 8494 * Source/NSApplication.m: Added missing #includes. 8495 * Source/NSComboBox.m: Idem. 8496 * Source/NSCustomImageRep.m: Idem. 8497 * Source/NSEPSImageRep.m: Idem. 8498 * Source/NSFontManager.m: Idem. 8499 * Source/Functions.m: Idem. 8500 * Source/NSHelpManager.m: Idem. 8501 * Source/NSMenu.m: Idem. 8502 * Source/NSMenuItem.m: Idem. 8503 * Source/NSMenuItemCell.m: Idem. 8504 * Source/NSPopUpButtonCell.m: Idem. 8505 * Source/NSResponder.m: Idem. 8506 * Source/NSSpellChecker.m: Idem. 8507 * Source/NSSplitView.m: Idem. 8508 * Source/NSTableHeaderView.m: Idem. 8509 * Source/NSText.m: Idem. 8510 * Source/NSWindow.m: Idem, plus removed unused one. 8511 * Source/NSInputManager.m: Include AppKit/NSGraphics.h, not 8512 AppKit/NSApplication.h, for NSBeep (). 8513 85142002-04-01 Gregory Casamento <greg_casamento@yahoo.com> 8515 8516 * Source/NSOutlineView.m 8517 Added methods to implement autosaving of expandedItems. 8518 85192002-04-01 Adam Fedor <fedor@gnu.org> 8520 8521 * Source/NSApplication.m (-init): Retain the server 8522 and default context. 8523 (-dealloc): Release server and context. 8524 * Source/NSGraphicsContext.m (+restoreGraphicsState): Implement. 8525 (+saveGraphicsState): Likewise. 8526 ( destroyContext): Remove. 8527 (-restoreGraphicsState): Implement. 8528 (-saveGraphicsState): Likewise. 8529 Add some documentation. 8530 * Source/NSWindow.m ([NSWindow -dealloc]): Check for context 8531 before undefining gstate. 8532 ([NSWindow -miniaturize:]): Don't create miniwindow if server 8533 can't handle it. 8534 * Source/GSDisplayServer.m (-appOwnsMiniwindow): Implement. 8535 85362002-04-01 Gregory Casamento <greg_casamento@yahoo.com> 8537 8538 * Source/NSOutlineView.m 8539 Replaced dictionaries w/ NSMapTable. NSDictionary required 8540 items of the NSOutlineView to implement the NSCopying protocol 8541 which is incorrect. 8542 * Headers/gnustep/gui/NSOutlineView.h 8543 Replaced dictionaries in class declaration. 8544 85452002-03-31 Fred Kiefer <FredKiefer@gmx.de> 8546 8547 * Source/Window.m 8548 [setFrame:display:] do nothing if the frame after all the 8549 corrections did not change from its current extend. 8550 In [makeKeyWindow] and [makeMainWindow] do nothing if the window 8551 is already key/main. 8552 85532002-03-31 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr> 8554 8555 * Source/NSMatrix.m : 8556 Use integer coordinates for _cellSize when autoresizing. 8557 * Source/NSBox.m ([NSBox -calcSizesAllowingNegative:]) 8558 (case NSAtBottom & case NSAtTop): 8559 Use integer coordinates and small cosmetic changes. 8560 * Source/NSOutlineView.m ([NSOutlineView -initWithCoder:]): 8561 Bugfix. 8562 * Source/NSClipView.m ([NSClipView -constrainScrollPoint:]): 8563 Make sure the difference between old position and new position 8564 is an integer vector. 8565 * Source/NSTableView.m ([NSTableView -initWithCoder:]): 8566 Bugfix. 8567 85682002-03-30 Adam Fedor <fedor@gnu.org> 8569 8570 * gui/Model/GMAppKit.m (-encodeWithModelArchiver:): Encode an 8571 empty array rather than crash. 8572 * gui/Model/GMArchiveObjects.m (-colorSpaceName): Implement for 8573 NSObject to to work around a bug in MacOSX 10.1.x 8574 * gui/Model/GNUmakefile: Include libgmodel with building nib2gmodel. 8575 * gui/Model/IBClasses.m: Fix debug for compiling on Darwin. 8576 85772002-03-29 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr> 8578 8579 * Source/NSTableView.m ([NSTableView -encodeWithCoder:]): 8580 ([NSTableView -initWithCoder:]): encodes _allowsColumnReordering. 8581 * Source/NSTableView.m (computeNewSelection): 8582 fixed bug when updating selection. 8583 * Source/NSTableColumn.m ([NSTableColumn -encodeWithCoder:]): 8584 ([NSTableColumn -initWithCoder:]): new encoding scheme 8585 (fixes a bug when decoding a tableview) 8586 8587Thu Mar 28 11:08:56 2002 Nicola Pero <n.pero@mi.flashnet.it> 8588 8589 Patches by Jeff Teunissen <deek@d2dc.net>: 8590 * Source/NSWorkspace.m ([-homeDirectoryImage]): New method. 8591 ([-iconForFile:]): Use the new method to return an image for 8592 NSHomeDirectory(). 8593 * Images/GNUmakefile (IMAGE_FILES): Added Common_HomeDirectory.tiff. 8594 * Images/common_HomeDirectory.tiff: New image created by simply 8595 putting common_Home.tiff over common_Folder.tiff. 8596 85972002-03-27 Adam Fedor <fedor@gnu.org> 8598 8599 * Splitup backend into Server and Graphics Contexts. Revise list 8600 of graphics operators for better functionality. 8601 * Headers/gnustep/gui/GSDisplayServer.h: New file. 8602 * Headers/gnustep/gui/DPSOperators.h: Revised set of operators. 8603 * Headers/gnustep/gui/PSOperators.h: Likewise. 8604 * Headers/gnustep/gui/GSMethodTable.h: Likewise. 8605 * Headers/gnustep/gui/NSGraphics.h: Un-inline/revise functions. 8606 * Headers/gnustep/gui/NSGraphicsContext.h: Update for MacOSX 8607 compatibility, move server methods to GSDisplayServer, Revise list 8608 of operators. 8609 * Source/GSDisplayServer.m: New file. 8610 * Source/Functions.m: Move uninlined functions from NSGraphics.h here. 8611 * Source/NSAffineTransform.m (-set): Update to new method. 8612 * Source/NSApplication.m: Load gnustep-back backend by default. 8613 Update for new server class. 8614 * Source/NSCursor: Use new methods from server. 8615 * Source/NSEvent.m: Likewise. 8616 * Source/NSFont.m: Likewise. 8617 * Source/NSImageRep.m: Likewise. 8618 * Source/NSScreen.m: Likewise. 8619 * Source/NSView.m: Likewise. 8620 * Source/NSWindow.m: Likewise. 8621 * Source/NSWorkspace.m: Likewise. 8622 * Source/NSGraphicsContext.m: Move server methods, revised list 8623 of operators 8624 8625Thu Mar 28 03:43:49 2002 Nicola Pero <n.pero@mi.flashnet.it> 8626 8627 * Source/libgnustep-gui.def: Removed 8628 __objc_class_name_GSTransparentView. 8629 86302002-03-27 Gregory John Casamento <greg_casamento@yahoo.com> 8631 8632 * Source/NSOutlineView.m make more efficient for large sets of 8633 items 8634 * Headers/gnustep/gui/NSOutlineView.h Added new ivar to cache 8635 item level information. 8636 86372002-03-26 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr> 8638 8639 * Source/NSBundleAdditions.m 8640 ([NSNibOutletConnector -establishConnection]): 8641 Only capitalize the first letter of the outlet in order to have 8642 the accessor method's name. 8643 * Source/NSTableView.m ([NSTableView initWithCoder:]): 8644 Use @"NSTableView" insted of NSStringFromClass([self class]) when 8645 looking for version. Call -tile to set up everything properly. 8646 * Source/NSScrollView.m ([NSScrollView encodeWithCoder:] & 8647 [NSScrollView initWithCoder:]): 8648 Encode/decode _hasHeaderView, _hasCornerView & _headerClipView. 8649 Don't recreate cornerView & headerView at decoding time, because 8650 they are encoded by NSView anyway. 8651 8652Tue Mar 26 14:33:24 2002 Nicola Pero <n.pero@mi.flashnet.it> 8653 8654 * Source/GSTable.m: Removed GSTransparentView and replaced it with 8655 a simple NSView. 8656 * Headers/gnustep/gui/GSTable.h: Idem. 8657 86582002-03-24 Adam Fedor <fedor@gnu.org> 8659 8660 * Source/NSStringDrawing.m (drawRun): Use new unicode functions 8661 for string conversion (patch from yjchen@ms7.url.com.tw). 8662 8663Mon Mar 25 00:12:05 2002 Nicola Pero <n.pero@mi.flashnet.it> 8664 8665 * Source/GSSimpleLayoutManager.m 8666 ([-setNeedsDisplayForLineRange:inTextContainer:]): 8667 Fixed typo introduced by me in last change (reported by Alexander 8668 Malmberg). 8669 86702002-03-23 Adam Fedor <fedor@gnu.org> 8671 8672 * Version: 0.7.6 8673 8674Sat Mar 23 21:49:10 2002 Gregory John Casamento <greg_casamento@yahoo.com> 8675 8676 * Source/NSOutlineView.m: Minor cleanup. Removed some unecessary 8677 NSLog statements. 8678 8679Sat Mar 23 11:34:10 2002 Gregory John Casamento <greg_casamento@yahoo.com> 8680 8681 * Headers/gnustep/gui/NSOutlineView.h: Added dictionary to speed 8682 up generation of the _items list. Also, this keeps the outline view 8683 from being updated without an explicit call to reloadData. 8684 8685 * Source/NSOutlineView.m: Implemented -[NSOutlineView reloadItem:] 8686 and -[NSOutlineView reloadItem:reloadChildren:] and improved 8687 -[NSOutlineView reloadData] 8688 8689Fri Mar 22 13:09:03 2002 Nicola Pero <n.pero@mi.flashnet.it> 8690 8691 * Headers/gnustep/gui/NSRulerView.h: Merged new code from Diego 8692 Kreutz (kreutz@inf.ufsm.br). 8693 * Source/NSRulerView.m: Class contributed by Diego Kreutz 8694 (kreutz@inf.ufsm.br). I did some minor changes. 8695 8696Fri Mar 22 11:40:44 2002 Nicola Pero <n.pero@mi.flashnet.it> 8697 8698 * Model/IMLoading.m: Include AppKit/NSNibLoading.h for 8699 awakeFromNib. 8700 8701Fri Mar 22 11:35:20 2002 Nicola Pero <n.pero@mi.flashnet.it> 8702 8703 * Source/GSSimpleLayoutManager.m ([GSSimpleLayoutManager 8704 -setNeedsDisplayForLineRange:inTextContainer:]): Check that the 8705 whole range of lines, not just the first one, is in the range we 8706 know about (Suggestion from Alexander Malmberg). 8707 87082002-03-22 Richard Frith-Macdonald <rfm@gnu.org> 8709 8710 * Tools/exampleInfo.plist: Fix illegal character in plist ... 8711 use unicode escape. Bug reported by Yen-Ju Chen 8712 87132002-03-22 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr> 8714 8715 * Source/NSOutlineView.h 8716 Moved NSOutlineViewDropOnItemIndex from enum to int. 8717 * Source/NSOutlineView.m: 8718 Drag'n'drop support. 8719 * Source/NSTableView.m 8720 ([NSTableView -selectRow:byExtendingSelection:]): 8721 rowIndex == _numberOfRows was not catched as invalid. 8722 * Source/NSTableView.m ([NSTableView -draggingUpdated:sender]): 8723 Less NSLog. 8724 * Source/NSTableHeaderView.m ([NSTableHeaderView -mouseDown:]): 8725 fixed drawing issue. 8726 87272002-03-21 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr> 8728 8729 * Source/NSEvent.m 8730 ([NSEvent +startPeriodicEventsAfterDelay:withPeriod:]): 8731 ([NSEvent +_registerRealTimer:]): 8732 The first periodic event is sent after delay seconds. 8733 It was incorrectly sent after delay+period seconds. 8734 * Source/NSScroller.m ([NSScroller -drawParts]): 8735 Set the scrollbuttons to send actions on mouseDown instead of 8736 mouseUp. Changed the initial delay (to reflect NSEvent changes) 8737 and the period so that it feels smoother. 8738 87392002-03-20 Richard Frith-Macdonald <rfm@gnu.org> 8740 8741 * configure.in: Use info from make package, and look in GNUstep 8742 directories first for versions of libraries and headers to use. 8743 * configure: regenerate 8744 87452002-03-19 Adam Fedor <fedor@gnu.org> 8746 8747 * Source/NSWindow.m ([NSWindow -sendEvent:]): In resize event, get 8748 new origin from event location field. 8749 8750 * Source/GSFontInfo.m ([GSFontInfo 8751 +encodingForRegistry:encoding:]): Handle big5 encoding (patch from 8752 Yen-Ju Chen) 8753 8754 * Documentation/news.texi: Update. 8755 8756Mon Mar 18 16:00:34 2002 Nicola Pero <n.pero@mi.flashnet.it> 8757 8758 * Source/NSTableView.m ([-draggingUpdated:sender]): Make the gui 8759 compile again. 8760 87612002-03-17 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr> 8762 8763 * Source/GSTextStorage.m 8764 ([GSTextStorage -replaceCharactersInRange:withString:]): 8765 Only keep attribute #0 when removing it would remove all attributes. 8766 (patch by Alexander Malmberg) 8767 * Source/NSTableView.m ([NSTableView -deselectAll:]): 8768 Fix bug. 8769 * Source/NSTableView.m : initial drag'n'drop support. 8770 87712002-03-14 Richard Frith-Macdonald <rfm@gnu.org> 8772 8773 * Headers/AppKit/NSGraphicsContext.h: Add NSWindowDepth typedef and 8774 reposition STRICT_OPENSTEP. Really needs someone who actually wants 8775 to use this option to submit patches though. 8776 8777Mon Mar 11 15:05:02 2002 Nicola Pero <n.pero@mi.flashnet.it> 8778 8779 * Source/libgnustep-gui.def 8780 (__objc_class_name_GSGlyphLocation,__objc_class_name_GSLineLayoutInfo, 8781 __objc_class_name_GSRunStorage, __objc_class_name__GSRunSearchKey, 8782 __objc_class_name_GSTextContainerLayoutInfo): Removed (Suggested 8783 by Fred Kiefer). 8784 87852002-03-10 Richard Frith-Macdonald <rfm@gnu.org> 8786 8787 * Source/NSPasteboard.m: Start gpbs for other server automatically. 8788 Improve log messages. 8789 * Tools/gpbs.m copied in fron gpbs. 8790 87912002-03-09 Richard Frith-Macdonald <rfm@gnu.org> 8792 8793 * Source/NSPasteboard.m: Use NSHost to look for alternative servers. 8794 * Tools/gpbs.m: Use -NSHost to specify alternative server names. 8795 8796Sat Mar 9 12:22:05 2002 Adam Fedor <fedor@yogi.doc.com> 8797 8798 * Source/GSSimpleLayoutManager.m: 8799 Check that object is not nil before asking for width (assigning 8800 structs from nil objects crashes Solaris). Several locations. 8801 88022002-03-06 Richard Frith-Macdonald <rfm@gnu.org> 8803 8804 * Source/NSScrollView.m: Go through adding checks to avoid crashes 8805 where _contentView has been set to nil through removal of the 8806 subview. 8807 8808Thu Mar 7 08:29:25 2002 Nicola Pero <n.pero@mi.flashnet.it> 8809 8810 * Source/NSScrollView.m ([-dealloc]): Use DESTROY, not 8811 TEST_RELEASE, fixing the segmentation fault on deallocating. 8812 8813Thu Mar 7 08:15:21 2002 Nicola Pero <n.pero@mi.flashnet.it> 8814 8815 * Source/NSCell.m ([-initTextCell:]): Use system font, not user 8816 font. ([-initImageCell:]): Idem. ([-setType:]): Idem. 8817 (Patch from Stefan Urbanek <stefanurbanek@yahoo.fr>). 8818 88192002-03-06 Richard Frith-Macdonald <rfm@gnu.org> 8820 8821 * Source/GSTextStorage.m: Applied fix for left-over attributes 8822 at end of string. Patch supplied by Alexander Malmberg 8823 <alexander@malmberg.org>. Reformatting to conform to GNUstep 8824 standards, and optimisation by me. 8825 * Source/NSView.m: -dealloc remove subviews from this view as 8826 suggested by Nicola. 8827 88282002-03-05 Gregory John Casamento <greg_casamento@yahoo.com> 8829 8830 * Source/NSOutlineView.m modified to the methods which 8831 make calls to the datasource to retrieve children starting 8832 from zero instead of one. 8833 88342002-03-04 Gregory John Casamento <greg_casamento@yahoo.com> 8835 & Pierre-Yves Rivaille <pyrivail@ens-lyon.fr> 8836 8837 * Source/NSTableView.m added methods to handle posting of 8838 notifications as well as methods to handle making appropriate 8839 delegate calls. Also made necessary changes in other methods 8840 ([NSTableView mouseDown:], [NSTableView selectAll], etc...) 8841 to use them. (PYR) 8842 * Source/NSOutlineView.m overrode notification methods and delegate 8843 methods defined in NSTableView. (GJC) This was done as a 8844 collaborative effort to ensure that NSOutlineView is more 8845 maintainable and benefits from updates made to NSTableView. 8846 Also made changes to increase spacing between "knob" and text 8847 * Images/common_outlineUnexpandable.tiff lightened image to 8848 make it stand out more when an item cannot be expanded. (GJC) 8849 88502002-03-04 Richard Frith-Macdonald <rfm@gnu.org> 8851 8852 * Headers/AppKit/NSEvent.h: Modify to support MacOS-X documented API 8853 (rather than just the currently implemented one). 8854 * Source/NSEvent.m: ditto. 8855 88562002-03-04 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr> 8857 8858 * Source/NSTableView.m ([NSTableView -superviewFrameChanged:]): 8859 fix a bug when resizing a tableview with autoresizesAllColumnsToFit 8860 set to YES. 8861 8862Mon Mar 4 09:09:02 2002 Nicola Pero <n.pero@mi.flashnet.it> 8863 8864 * Source/NSSavePanel.m: Do not include AppKit/IMLoading.h. 8865 88662002-03-04 Richard Frith-Macdonald <rfm@gnu.org> 8867 8868 * Source/NSSavePanel.m: Hack around accessory view addition/removal 8869 code - fix a few bugs and simplify by relying more on autoresizing 8870 and less on manual computation of resizing values. Now works with 8871 ProjectCentre on my system. 8872 88732002-03-03 Gregory Casamento <greg_casamento@yahoo.com> 8874 8875 * Images/common_outlineUnexpandable.tiff added. 8876 * Images/GNUmakefile modified to install images 8877 * Source/NSOutlineView.m modified to use new images. 8878 Also made several fixes which should now make NSOutlineView 8879 usable. The graphics used are consistent with the look of 8880 the outline view in the OPENSTEP Interface Builder classes 8881 tab. 8882 88832002-03-02 Gregory Casamento <greg_casamento@yahoo.com> 8884 8885 * Images/common_outlineExpanded.tiff added. 8886 * Images/common_outlineCollapsed.tiff added. 8887 * Images/GNUmakefile modified to install images 8888 * Source/NSOutlineView.m modified to use new images 8889 88902002-03-01 Richard Frith-Macdonald <rfm@gnu.org> 8891 8892 * Headers/AppKit/NSEvent.h: Rename 'middle' mouse to 'other' as 8893 MacOS-X has caught up with the functionality but not adopted our 8894 names. Add -buttonNumber. Add conditional compilation for strict 8895 openstep to exclude new methods. 8896 * Headers/AppKit/NSResponder.h: ditto 8897 * Source/Functions.m: ditto 8898 * Source/GSComboSupport.m: ditto 8899 * Source/NSApplication.m: ditto 8900 * Source/NSCell.m: ditto 8901 * Source/NSControl.m: ditto 8902 * Source/NSEvent.m: ditto. Also added lots of documentation, a 8903 couple of fixmes, and several bugfixes (wrong exceptions being 8904 raised etc). 8905 * Source/NSMenuView.m: ditto 8906 * Source/NSResponder.m: ditto 8907 * Source/NSTextView.m: ditto 8908 * Source/NSWindow.m: ditto 8909 89102002-03-01 Michael Hanni <mhanni@yahoo.com> 8911 8912 First cut at improving NSPopUpButton/Cell. 8913 8914 * Source/NSMenuItemCell.m 8915 ([drawBorderAndBackgroundWithFrame:inView:]): Remove special 8916 popupbutton case. 8917 ([drawInteriorWithFrame:inView:]): ditto. 8918 * Headers/NSMenuView.h: added _leftBorderOffset int. 8919 * Source/NSMenuView.m: added static function 8920 _addLeftBorderOffsetToRect() 8921 ([initWithFrame:]): init left offset value to 1 (default for a 8922 menu.) 8923 ([sizeToFit]): change left offset value to 0 if we are a 8924 popup. Use this value to set the correct frame size. Before when 8925 the menuview was sizeToFit'ed the menuWindow was resized by an 8926 additional pixel when we were a popupbutton. 8927 ([innerRect]): use left offset value to return the correct rect. 8928 ([rectOfItemAtIndex:]): ditto. 8929 ([indexOfItemAtPoint:]): use _addLeftBorderOffsetToRect() to 8930 correct the rect we use to calculate the event area for a 8931 menuItemCell in a normal menu. 8932 ([setNeedsDisplayForItemAtIndex:]): ditto. 8933 ([drawRect:]): Modified to not draw a border line on the left side 8934 if we are a popup. 8935 * Source/NSPopUpButtonCell.m: added some comments for further 8936 fixes. 8937 ([drawWithFrame:inView:]): removed all the code in favor of 8938 having the NSMenuItemCell of the selected item draw the 8939 popupbuttoncell. 8940 ([drawInteriorWithFrame:inView:]): removed everything but the 8941 responder status code (this is still a FIXME). 8942 89432002-03-01 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr> 8944 8945 * Source/NSBundleAdditions.m 8946 ([GSNibItem -initWithCoder:]): 8947 ([GSNibItem -encodeWithCoder:]): 8948 new encoding (support for autoresizingMask). 8949 ([GSNibItem +initialize]): 8950 ([GSCustomView +initialize]): 8951 new methods, set the version number. 8952 * Headers/gnustep/gui/NSNibLoading.h: 8953 new autoresizingMask ivar in GSNibItem. 8954 89552002-02-28 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr> 8956 8957 * Headers/gnustep/gui/NSEvent.h: 8958 new element in event_data union, provides support for deltaX, deltaY 8959 and deltaZ. 8960 * Source/NSEvent.m 8961 ([NSEvent +mouseEventWithType:location:modifierFlags:timestamp: 8962 windowNumber:context:deltaX:deltaY:deltaZ:]): 8963 new method : support for creating event with deltaX, deltaY and deltaZ. 8964 ([NSEvent -delta{X, Y, Z}]): methods implemented. 8965 ([NSEvent -description]): 8966 ([NSEvent -initWithCoder:]): 8967 ([NSEvent -encodeWithCoder:]): 8968 suppor for deltaX, deltaY and deltaZ 8969 * Source/NSResponder.m ([NSResponder -scrollWheel:]): 8970 implementation. 8971 * Source/NSScrollView.m ([NSScrollView -scrollWheel:]): 8972 implementation, does scroll the document view. 8973 8974Thu Feb 28 16:47:58 2002 Nicola Pero <n.pero@mi.flashnet.it> 8975 8976 * Tools/make_services.m: Use 'Applications' not 'Apps'. 8977 8978Thu Feb 28 16:02:09 2002 Nicola Pero <nicola@brainstorm.co.uk> 8979 8980 * Source/Functions.m: Never include NSCStringText.h. Removed old 8981 obsolete text string functions declared in NSCStringText.h. 8982 * Source/libgnustep-gui.def: Removed 8983 __objc_class_name_NSCStringText. 8984 89852002-02-27 Adam Fedor <fedor@gnu.org> 8986 8987 * Source/NSApplication.m ([NSApplication -init]): Create our 8988 NSGraphicsContext here (moved from backend initialization) - much 8989 more appealing. 8990 8991Thu Feb 28 14:19:00 2002 Nicola Pero <nicola@brainstorm.co.uk> 8992 8993 * Headers/gnustep/gui/NSText.h: Added the special key enum 8994 containing NSBackspaceKey which used to be in NSCStringText.h. 8995 8996Wed Feb 27 23:50:42 2002 Nicola Pero <n.pero@mi.flashnet.it> 8997 8998 * Source/GSKeyBindingTable.m ([-bindKey:toAction:]): Implemented 8999 support for describing multi-stroke keybindings using arrays as 9000 keys. 9001 * Source/GSKeyBindingTable.h ([-bindKey:toAction:]): Now accepts 9002 an id as key. 9003 9004Wed Feb 27 23:27:21 2002 Nicola Pero <n.pero@mi.flashnet.it> 9005 9006 * Source/GSKeyBindingTable.m ([-bindKey:toAction:]): Modified so 9007 that adding new multi-stroke keybindings with the same prefix 9008 doesn't discard all previous keybindings with the same prefix. 9009 9010Wed Feb 27 23:16:47 2002 Nicola Pero <n.pero@mi.flashnet.it> 9011 9012 * Source/NSTextView.m ([-drawRect:]): Always clear the whole rect 9013 using the the background color before drawing the new glyphs. 9014 This makes sure we always clear away old glyphs. This fixes the 9015 bug when deleting the last character in a text field. 9016 90172002-02-27 Fred Kiefer <FredKiefer@gmx.de> 9018 9019 * Source/GSSimpleLayoutManager.m 9020 [_relocLayoutArray:offset:floatTrift:Change a NSLog() call to 9021 NSDebugLog(). 9022 * Source/NSLayoutManager.m 9023 Implemented extra line fragment methods. 9024 * Source/NSTextView.m 9025 Implemented [moveToBeginningOfParagraph:] and [moveToEndOfParagraph:]. 9026 * KeyBindings/DefaultKeyBindings.dict 9027 Uncommented HOME and END. 9028 9029Wed Feb 27 19:58:12 2002 Nicola Pero <n.pero@mi.flashnet.it> 9030 9031 * Source/NSCStringText.m: Obsolete file removed. 9032 * Headers/gnustep/gui/NSCStringText.h: Obsolete file removed. 9033 * Source/GNUmakefile (libgnustep-gui_OBJC_FILES): Removed 9034 NSCStringText.m. 9035 (libgnustep-gui_HEADER_FILES): Removed NSCStringText.h. 9036 9037Wed Feb 27 18:59:54 2002 Nicola Pero <n.pero@mi.flashnet.it> 9038 9039 * Headers/gnustep/gui/NSInputManager.h (_insertControlKeystrokes): 9040 New ivar. 9041 * Source/NSInputManager.m ([-initWithName:host:]): 9042 Read the user default GSInsertControlKeystrokes and save it. 9043 * Source/NSInputManager.m ([-handleKeyboardEvents:client:]): When 9044 inserting literally a keystroke, if GSInsertControlKeystrokes is 9045 NO, and this is a control keystroke, beep but don't insert it. 9046 Beep when a function key not bound to anything is pressed. 9047 9048Wed Feb 27 18:57:50 2002 Nicola Pero <n.pero@mi.flashnet.it> 9049 9050 * Source/NSResponder.m ([-insertText:]): Added. 9051 9052Wed Feb 27 18:54:43 2002 Nicola Pero <nicola@brainstorm.co.uk> 9053 9054 * Headers/gnustep/gui/NSTextStorage.h: Documented. 9055 90562002-02-27 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr> 9057 9058 * Source/NSSplitView.m ([NSSplitView -mouseDown:]): 9059 Tweaked the drawing code and the event code, so that everything 9060 is displayed more smoothly and faster. 9061 90622002-02-27 Fred Kiefer <FredKiefer@gmx.de> 9063 9064 * Source/NSTextView.m 9065 Added method [copySelection] and [pasteSelection] to put the 9066 selected text in special pasteboard. The first gets called by 9067 [setSelectedRange:affinity:stillSelecting:] while the later is 9068 bound to [middleMouseUp:]. (This is hard coded, could the key 9069 binding code handle this?) 9070 90712002-02-27 Fred Kiefer <FredKiefer@gmx.de> 9072 9073 Patch from Alexander Malmberg <alexander@malmberg.org>: 9074 * Source/NSGraphicsContext.m 9075 [graphicsContextWithAttributes] always autorelease the context. 9076 Moved the unsetting of the current context from [dealloc] to 9077 [destroyContext] otherwise the current context can never be freed. 9078 * Source/NSApplication.m 9079 Removed some now unneeded FIXME. 9080 9081Wed Feb 27 01:03:58 2002 Gregory Casamento <greg_casamento@yahoo.com> 9082 9083 * Source/NSOutlineView.m implemented indentation and enabled 9084 collapsing of items in the outline view. 9085 9086Tue Feb 26 19:08:38 2002 Nicola Pero <nicola@brainstorm.co.uk> 9087 9088 Patch by Michael Hanni <mhanni@yahoo.com> modified - 9089 * Source/NSTabView.m ([-selectTabViewItem:]): Set the frame of the 9090 new selected view to content rect. 9091 9092Tue Feb 26 18:26:53 2002 Nicola Pero <nicola@brainstorm.co.uk> 9093 9094 Patch from Alexander Malmberg <alexander@malmberg.org>: 9095 * Source/NSFont.m ([+fontWithName:size:]): If size is 0, use 9096 NSUserFontSize instead. 9097 90982002-02-26 Fred Kiefer <FredKiefer@gmx.de> 9099 9100 * Source/NSImage.m 9101 [setSize:] recache representations if size changes. 9102 [recache] throw old caches away as size may have changed. 9103 * Source/NSCachedImageRep.m 9104 [GSCacheW _initDefaults] set window not to be released when 9105 closed. As NSApp now closes all windows on terminate. 9106 * Source/NSApplication.m 9107 [NSIconWindow orderWindow:relativeTo:] don't complain about order 9108 out if application is closing. 9109 9110Mon Feb 25 17:53:19 2002 Nicola Pero <nicola@brainstorm.co.uk> 9111 9112 * Source/NSMenuItemCell.m ([-initWithCoder:]): Added code to decode old 9113 version as well, since it is used by the popup button cell. 9114 91152002-02-25 Adam Fedor <fedor@gnu.org> 9116 9117 * Source/NSGraphicsContext.m (_postExternalEvent:) Removed, not used. 9118 * Source/NSInterfaceStyle.m: Updated comments. 9119 * Source/NSScroller.m (-setFloatValue:): Don't update 9120 if the new float is the same as our current value. 9121 (-setFloatValue:knobProportion:): Likewise. 9122 91232002-02-18 Willem Rein Oudshoorn <woudshoo@xs4all.nl> 9124 9125 * gui/Source/NSImage.m ([NSImage -initWithSize:]): removed the 9126 round size down temporary fix. 9127 ([NSImage -setSize:]): removed the round size down temporary fix. 9128 9129Mon Feb 25 14:51:56 2002 Nicola Pero <nicola@brainstorm.co.uk> 9130 9131 * Source/NSSavePanel.m (createRowsForColumn:): Use 9132 GSFileBrowserHideDotFiles rather than GSSavePanelHideDotFiles as 9133 user defaults. 9134 9135Mon Feb 25 13:58:49 2002 Nicola Pero <nicola@brainstorm.co.uk> 9136 9137 * Source/NSWindow.m ([-sendEvent:]): Hand the NSFlagsChanged event 9138 to the _firstResponder flagsChanged: method. 9139 9140Mon Feb 25 13:04:12 2002 Nicola Pero <nicola@brainstorm.co.uk> 9141 9142 * Source/NSInputManager.m ([+describeKeyStroke:withModifiers:]): 9143 Output NumericPad-, not Numeric-, for a numeric pad key. 9144 * Source/NSInputManager.m ([-handleKeyboardEvents:client:]): Do 9145 not discard the NumericPad modifier flag when looking up 9146 keystrokes. Remove shift from flags when the keystroke is not a 9147 function key. Do not output function keys literally if they are 9148 not bound to anything. 9149 * Source/GSKeyBindingTable.m ([-bindKey:toAction:]): Simplified - 9150 do not insert keybindings twice - with and without shift - if they 9151 are not function keys. Simplified comparisons and updates for 9152 this change. Fixed memory leak when overriding keybindings. 9153 9154Mon Feb 25 02:16:32 2002 Nicola Pero <n.pero@mi.flashnet.it> 9155 9156 Rewritten the input manager keybinding engine to be a full blown 9157 keybinding engine - new features include actions composed of array 9158 of selectors, multi-stroke keybindings, abort and quote 9159 keybindings. 9160 * Source/NSInputManager.m: Rewritten most of the engine to be much more 9161 powerful. 9162 * Headers/gnustep/gui/NSInputManager.h: Changes in ivars, lots of 9163 comments, new public and private methods. 9164 * Source/GSKeyBindingAction.h: New auxiliary file. 9165 * Source/GSKeyBindingAction.m: New auxiliary file. 9166 * Source/GSKeyBindingTable.h: New auxiliary file. 9167 * Source/GSKeyBindingTable.m: New auxiliary file. 9168 * GNUmakefile: Compile the new files. 9169 9170Sun Feb 24 17:32:37 2002 Nicola Pero <n.pero@mi.flashnet.it> 9171 9172 * Headers/gnustep/gui/NSResponder.h: Put the optional methods in an 9173 informal protocol. 9174 9175Sun Feb 24 11:33:21 2002 Nicola Pero <n.pero@mi.flashnet.it> 9176 9177 * Source/NSSaverPanel.m: Do not assume that NSFileManager 9178 -directoryContentsAtPath: returns a NSMutableArray. 9179 9180Sun Feb 24 11:30:33 2002 Nicola Pero <n.pero@mi.flashnet.it> 9181 9182 * Source/NSSavePanel.m ([-browser:createRowsForColumn:inMatrix:]): 9183 Do not display files starting with . if the user has set 9184 GSSavePanelHideDotFiles to YES (Patch by Martin Brecher 9185 <martin@mb-itconsulting.com> with lots of changes by myself). 9186 91872002-02-24 Richard Frith-Macdonald <rfm@gnu.org> 9188 9189 * Source/NSLayoutManager.m: More changes to glyph code - store 9190 glyphs and their attributes in the same array, store gaps as 9191 ranges rather than simple indexs. Update comments. Still not 9192 working and turned off using #if 9193 9194Sat Feb 23 22:07:09 2002 Gregory Casamento <greg_casamento@yahoo.com> 9195 9196 * Source/NSOutlineView.m: More improvements. Expansion of 9197 items is now partially supported. 9198 9199Sat Feb 23 20:51:31 2002 Georg Fleischmann <georg@vhf.de> 9200 9201 * Source/NSBezierPath.m ([+bezierPath]): Return autoreleased object. 9202 9203Sat Feb 23 11:28:32 2002 Gregory Casamento <greg_casamento@yahoo.com> 9204 9205 * Headers/gnustep/gui/AppKit.h: Added NSOutlineView header 9206 * Headers/gnustep/gui/NSOutlineView.h: Added additional ivars and 9207 corrected methods for delegate and data source. 9208 * Source/NSOutlineView.m: Added lots of new code to handle the 9209 outline view. 9210 * Source/externs.m: Added definitions for notifications. 9211 9212Sat Feb 23 12:20:28 2002 Nicola Pero <n.pero@mi.flashnet.it> 9213 9214 Patch by Alexander Malmberg <alexander@malmber.org> - 9215 * Source/NSMenu.m ([-initWithTitle:]): Show torn off menus upon 9216 receiving the NSApplicationDidFinishLaunching notification, not 9217 the NSApplicationWillFinishLaunching one. 9218 9219Sat Feb 23 12:11:44 2002 Nicola Pero <n.pero@mi.flashnet.it> 9220 9221 Patches by Alexander Malmberg <alexander@malmber.org> with many 9222 changes - 9223 * Source/NSMenuView.m ([-setMenu:]): Do not retain menu. 9224 ([-dealloc]): Do not release menu. 9225 * Source/NSMenuItemCell.m ([-setMenuView:]): Do not retain the 9226 menu view. 9227 ([-dealloc]): Do not release the menu view. 9228 ([-copyWithZone:]): Set the menuView of the new cell to nil. 9229 * Source/NSMenuItemCell.m ([+initialize]): Set version to 2. 9230 ([-encodeWithCoder:]): Do not encode the menu view. 9231 ([-initWithCoder:]): Do not decode the menu view. Retain the 9232 decoded menu item. Do not bother with decoding old versions since 9233 this is unused when encoding/decoding menus anyway. :-) 9234 * Source/NSMenuView.m ([-dealloc]): Set the menuView of all the 9235 menu item cells to nil before releasing them. 9236 * Source/NSMenuView.m ([-initWithCoder:]): Set the menu view of 9237 all the menu item cells to self after decoding. 9238 9239Sat Feb 23 01:28:15 2002 Nicola Pero <n.pero@mi.flashnet.it> 9240 9241 * Source/NSTableView.m ([-editColumn:row:withEvent:select:]): 9242 Call stringValue on the _editedCell before setting up _textObject, 9243 not after, to prevent a spurious validation from messing up the 9244 text to edit. This fixes the bug when moving with TAB between 9245 different edited cells. 9246 * Source/NSTableView.m ([-textDidEndEditing:]): Release the 9247 _editedCell *before* setting it to nil :-). 9248 9249Fri Feb 22 22:55:51 2002 Nicola Pero <n.pero@mi.flashnet.it> 9250 9251 Patches by Alexander Malmberg <alexander@malmber.org>: 9252 * Source/NSApplication.m ([-dealloc]): Set the main menu and the 9253 window menu to nil, so that we don't try updating them later on in 9254 the shutdown process. 9255 * Source/NSWindow.m ([-dealloc]): Fixed so that it doesn't discard 9256 the autosaved frame. 9257 9258Fri Feb 22 21:03:19 2002 Nicola Pero <n.pero@mi.flashnet.it> 9259 9260 * Headers/gnustep/gui/NSApplication.h (_runLoopPool): Store the 9261 main run loop autorelease pool in a ivar. 9262 * Source/NSApplication.m ([-run]): Use the _runLoopPool rather 9263 than a local pool. Also, check for recursive invocation, and 9264 enclose into an autorelease pool the last instructions. 9265 ([-terminate:]): Destroy the _runLoopPool; enclose destruction 9266 of NSApp into yet another autorelease pool. 9267 9268Fri Feb 22 18:22:48 2002 Nicola Pero <nicola@brainstorm.co.uk> 9269 9270 * Source/NSApplication.m ([-terminate:]): Use an autorelease pool. 9271 9272Thu Feb 21 23:29:50 2002 Nicola Pero <n.pero@mi.flashnet.it> 9273 9274 * Headers/gnustep/gui/NSWindow.h (_originalResponder): Ivar removed. 9275 * Source/NSWindow.m ([-sendEvent:]): Send key up to the first 9276 responder, not to the original responder. 9277 ([-dealloc]): Do not release _originalResponder. 9278 ([-_initDefaults]): Do not set _originalResponder. 9279 9280Thu Feb 21 11:01:43 2002 Nicola Pero <nicola@brainstorm.co.uk> 9281 9282 * Source/NSApplication.m ([-changeWindowsItem:title:filename:]): 9283 Only exit if the item exists with the same title as the one we 9284 would add, otherwise, remove the old one and add it again to 9285 permit changing window titles. Fixed case of window being changed 9286 from having a title to having no title. 9287 9288Wed Feb 20 20:57:32 2002 Michael Hanni <mhanni@yahoo.com> 9289 9290 * Source/NSApplication.m ([-changeWindowsItem:]): If the item in 9291 question already exists we abort further processing. 9292 9293 * Source/NSTabView.m: ([-mouseDown:]): New method to fix problems 9294 with NSSplitView interaction. 9295 ([-hitTest:]): Removed. 9296 9297Wed Feb 20 19:15:58 2002 Nicola Pero <nicola@brainstorm.co.uk> 9298 9299 * Headers/gnustep/gui/GSMemoryPanel.h: New file. 9300 * Source/GSMemoryPanel.m: New file. 9301 * Source/GNUmakefile: Compile, install the new files. 9302 * Source/GSInfoPanel.m: If the user clicks on the application 9303 icon, open the memory panel (idea by Richard Frith-Macdonald). 9304 9305Wed Feb 20 12:36:05 2002 Nicola Pero <nicola@brainstorm.co.uk> 9306 9307 * Model/GMAppKit.m ([NSBox -subviewsForModel]): New method fixing 9308 problems with subviews of NSBox objects. 9309 93102002-02-20 Richard Frith-Macdonald <rfm@gnu.org> 9311 9312 * Source/NSLayoutManager.m: Lots of changes to glyph code, including 9313 new logging function ... still doesn't work though ... so turned off. 9314 93152002-02-19 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr> 9316 9317 * Source/NSTableView.m ([-setAutosaveTableColumns:]): 9318 sets the flag before trying to load from defaults. 9319 (patch by Alexander Malmberg <alexander@malmberg.org>) 9320 9321Tue Feb 19 11:46:31 2002 Nicola Pero <nicola@brainstorm.co.uk> 9322 9323 * Source/NSTextView.m ([-dealloc]): RETAIN self before destroying 9324 the text network. (Suggestion by Alexander Malmberg 9325 <alexander@malmberg.org>). 9326 93272002-02-18 Gregory John Casamento <greg_casamento@yahoo.com> 9328 9329 * Source/NSWindow.m ([NSWindow -close]): Changes made earlier 9330 would not compile w/ gcc < 3.0. 9331 93322002-02-18 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr> 9333 9334 * Source/NSTableHeaderView.m ([NSTableHeaderView -mouseDown:]): 9335 The tableHeaderCell is now redrawn when column reordering is on. 9336 93372002-02-18 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr> 9338 9339 * Source/NSWindow.m ([NSWindow -close]): ignore the call if the 9340 window is already closed. 9341 93422002-02-17 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr> 9343 9344 * Source/NSApplication.m ([NSApplication -terminate:]): send a 9345 close message to all the windows. 9346 9347Thu Feb 14 10:45:48 2002 Nicola Pero <n.pero@mi.flashnet.it> 9348 Michael Hanni <mhanni@yahoo.com> 9349 9350 * Source/NSMenuItemCell.m ([-drawStateImageWithFrame:inView:]): 9351 Exit as soon as possible if we have no state image to draw. 9352 ([-imageRectForBounds:]), ([-titleRectForBounds:]): Do not pad for 9353 the state image if the state image has no width. 9354 * Source/NSPopUpButtonCell.m ([-insertItemWithTitle:atIndex:]): 9355 Set the On and Mixed image of the new menu item to nil. 9356 ([-selectItem:]): Do not call setChangesState: NO on the selected 9357 menu item. 9358 93592002-02-13 Richard Frith-Macdonald <rfm@gnu.org> 9360 9361 * Source/GSTextStoarge.m: Add GSIMap option for minor performance 9362 improvement. 9363 * Tools/make_services.m: Use correct user root. Noticed that this 9364 tool needs fixing to use the correct paths as provided by the 9365 NSSearchPathsForDirectoriesInDomains() function. 9366 * Source/NSSpellServer.m: Use NSSearchPathsForDirectoriesInDomains() 9367 93682002-02-13 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr> 9369 9370 * Source/NSTableHeaderCell.m: New drawing code, support for 9371 highlighted cells. 9372 * Source/NSTableHeaderView.m: support for drawing highlighted 9373 column, support for NSTableView mouseDownInHeaderOfTableColumn: 9374 and didClickTableColumn: delegate messages. 9375 * Source/NSTableView.m: rewrite of -mouseDown method. 9376 rewrite of selection handling to fully support the specs 9377 new tableView:didClickTableColumn: and 9378 tableView:mouseDownInHeaderOfTableColumn delegate messages 9379 [NSTableView -setHighlightedTableColumn:] 9380 [NSTableView -highlightedTableColumn]: methods implemented. 9381 * Headers/gnustep/gui/NSTableView.h: 9382 new _highlightedTableColumn ivar. 9383 93842002-02-12 Richard Frith-Macdonald <rfm@gnu.org> 9385 9386 * Source/NSBundleAdditions.m: Fix dumb error in my last modification. 9387 (bug report by Stephen brandon). 9388 9389Mon Feb 11 14:39:03 2002 Nicola Pero <n.pero@mi.flashnet.it> 9390 9391 Updated for change in semantics of -string method of 9392 NSMutableAttributedString. 9393 * Source/NSButtonCell.m ([-setAttributedAlternateTitle:]): 9394 Copy the string before using it. 9395 * Source/NSCell.m ([-stringValue]): Copy the string before 9396 returning it. ([-mnemonic]): Copy the string before using it. 9397 * Source/NSMatrix.m ([-validateEditing]): Copy the text before 9398 using it. 9399 * Source/NSTableView.m ([-validateEditing]): Copy the text before 9400 using it. 9401 * Source/NSTextField.m ([-validateEditing]): Copy the text before 9402 using it. 9403 9404Mon Feb 11 14:30:35 2002 Nicola Pero <n.pero@mi.flashnet.it> 9405 9406 * Source/NSLayoutManager.m ([-textContainerChangedTextView:]): 9407 Update _firstTextView even if there is a single text view. 9408 * Source/NSTextContainer.m ([-setTextView:]): Always inform the 9409 layout manager that the textview is changed. 9410 94112002-02-11 Richard Frith-Macdonald <rfm@gnu.org> 9412 9413 * Source/NSBundleAdditions.m: 9414 ([loadNibFile:externalNameTable:withZone:]) fix so that, if given a 9415 name with a .nib extension, try correctly to use a .gorm or .gmodel. 9416 94172002-02-10 Michael Hanni <mhanni@sprintmail.com> 9418 9419 * Source/NSMenuView.m ([-drawRect:]): make this more efficent, 9420 only redraw cells that we clip. 9421 9422Mon Feb 11 00:35:19 2002 Nicola Pero <n.pero@mi.flashnet.it> 9423 9424 * Source/NSLayoutManager.m ([-dealloc]): Modified to work for 9425 objects which have not been -init. 9426 9427Sun Feb 10 23:53:51 2002 Nicola Pero <n.pero@mi.flashnet.it> 9428 9429 * Source/GSSimpleLayoutManager.m 9430 ([-textContainerForGlyphAtIndex:effectiveRange:]): Return nil 9431 if no text container was set. 9432 * Source/NSLayoutManager.m ([-firstTextView]): Always return 9433 _firstTextView. ([-removeTextContainerAtIndex:]): Set 9434 _firstTextView to nil if we removed the last text container. 9435 * Source/NSTextView.m ([-buildUpTextNetwork:]): Updated setup 9436 sequence for the fixes in the layout manager - bound the layout 9437 manager and the text storage before creating the text container. 9438 94392002-02-09 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr> 9440 9441 * Source/GSFontInfo.m: ([GSFontInfo -defaultLineHeightForFont]): 9442 descender is substracted not added to ascender to give the lineHeight 9443 94442002-02-09 Richard Frith-Macdonald <rfm@gnu.org> 9445 9446 * Source/NSWindow.m: ([performMiniaturize:]) patch to check style 9447 mask by Jeff Teunissen <deek@d2dc.net> added. 9448 Method documented. 9449 9450Fri Feb 8 02:46:15 2002 Nicola Pero <n.pero@mi.flashnet.it> 9451 9452 * Source/NSTextView.m ([-moveWordBackward:]): Simplified. 9453 ([-moveWordForward:]): Simplified. 9454 ([-moveWordForwardAndModifySelection:]): New method, implemented. 9455 ([-moveWordBackwardAndModifySelection:]): New method, implemented. 9456 * Source/NSAttributedString.m ([-nextWordFromIndex:forward:]): 9457 Rewritten, fixing crashes. 9458 * KeyBindings/DefaultKeyBindings.dict: Uncommented 9459 Alternate-Shift-LeftArrow and Alternate-Shift-RightArrow, and 9460 bound to moveWordBackwardAndModifySelection: and 9461 moveWordForwardAndModifySelection:. 9462 9463Wed Feb 6 17:12:35 2002 Nicola Pero <n.pero@mi.flashnet.it> 9464 9465 * Source/GSSimpleLayoutManager.m 9466 ([-invalidateGlyphsForCharacterRange:changeInLength: 9467 actualCharacterRange:]): Removed. 9468 ([-drawBackgroundForGlyphRange:atPoint:]): Moved to 9469 NSLayoutManager.m. 9470 ([+setSelectionWordGranularitySet:]): Removed. Code moved into 9471 +initialize. 9472 9473Wed Feb 6 14:12:51 2002 Nicola Pero <n.pero@mi.flashnet.it> 9474 9475 * Source/NSLayoutManager.m: Removed old unused unfinished layout 9476 code. 9477 * Headers/gnustep/gui/NSLayoutManager.h: Removed the corresponding 9478 declarations. 9479 94802002-02-06 Richard Frith-Macdonald <rfm@gnu.org> 9481 9482 * Source/NSWindow.m: ([-sendEvent:]) handle mouse down in window if 9483 no view accepts it. ([-mouseDown:]) implement to quietly ignore 9484 event. 9485 * Source/GSTextStorage.h: additional ivar 9486 * Source/GSTextStorage.m: hand out a proxy to our internal storage, 9487 to avoid either copying it (inefficient) or exposing the mutable 9488 string (unsafe). 9489 9490Wed Feb 6 02:30:09 2002 Nicola Pero <n.pero@mi.flashnet.it> 9491 9492 * Source/GSSimpleLayoutManager.m 9493 ([-rebuildForRange:delta:inTextContainer:]): Removed workaround 9494 for bug in NSString. Use a fake used rect width of 1 when 9495 building the fake line fragment for no text, so that the insertion 9496 point is displayed in that case. Build a fake line fragment at 9497 the end of text if there is a newline ending the text. This hack 9498 fixes the problems with typing enter at the end of text. 9499 9500Tue Feb 5 10:26:32 2002 Nicola Pero <n.pero@mi.flashnet.it> 9501 9502 * Source/NSTextView.m ([-moveBackwardAndModifySelection:]): New 9503 method. 9504 ([-moveForwardAndModifySelection:]): New method. 9505 * KeyBindings/DefaultKeyBindings.dict: Uncommented binding of the 9506 new methods to Shift-LeftArrow and Shift-RightArrow. 9507 9508Sun Feb 3 11:53:13 2002 Nicola Pero <n.pero@mi.flashnet.it> 9509 9510 * Source/NSTextView.m ([-transpose:]): New method. Bound to 9511 Control-t. 9512 * Headers/gnustep/gui/NSTextView.h: Declare transpose:. Removed 9513 category. 9514 * KeyBindings/DefaultKeyBindings.dict: List rewritten to reflect 9515 the OpenStep keybindings. Work in progress - many keybindings 9516 commented out for now, but this is the list of keybindings we 9517 eventually want to get to. 9518 95192002-02-03 Fred Kiefer <FredKiefer@gmx.de>, Richard <rfm@gnu.org> 9520 9521 * Source/NSView.m: ([removeSubview:]) call ([setNeedsDisplay:NO]) in 9522 the subview so that, if subsequently added to another view, and marked 9523 for display, the area needing display will be updated to parent views 9524 correctly. 9525 * Source/NSWindow.m: ([orderWindow:relativeTo:]) fix to restart 9526 automatic update events correctly when a window which was ordered 9527 out is ordered back in again. 9528 95292002-02-02 Fred Kiefer <FredKiefer@gmx.de> 9530 9531 * Source/NSImage.m 9532 Corrected [TIFFRepresentation], was calling the wrong 9533 NSBitmapImageRep method. 9534 * Source/NSFontManager.m 9535 [orderFrontFontPanel:] no longer sets the selected font on the 9536 panel, as this gets done by the panel itself. 9537 * Headers/gnustep/gui/NSFontPanel.h 9538 New ivars for traits, weight and a future preview string. 9539 * Source/NSFontPanel.m 9540 [reloadDefaultFontFamilies] load the family browser and redisplay 9541 the selected font. [setPanelFont:isMultiple:] load the face 9542 browser, store font weight and traits and display font name in 9543 preview only if no preview string is set. [_initWithoutGModel] 9544 made the set button the default button. Split most code from 9545 [_togglePreview:] into separate method [_doPreview], which is 9546 called, when the preview state should not change. In [_doPreview] 9547 only display font name if preview string is not set. 9548 [browser:selectRow:inColumn:], when selecting a family select a 9549 face with the same weight and traits as the originaly 9550 selected. When selecting a face, store its weight and traits. 9551 95522002-02-01 Richard Frith-Macdonald <rfm@gnu.org> 9553 9554 * Source/NSBezierPath.m: 9555 * Source/NSLayoutManager.m: 9556 * Source/GSTextStorage.m: Use new GSI API from latest CVS base 9557 * library. 9558 95592002-01-31 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr> 9560 9561 * Source/NSCell.m 9562 * Headers/gnustep/gui/NSCell.h : new [NSCell -setHighlighted:] 9563 method 9564 95652002-01-30 Adam Fedor <fedor@gnu.org> 9566 9567 * Version: 0.7.5 9568 * Documentation/announce.texi: Update. 9569 * Documentation/news.texi: Likewise. 9570 95712002-01-28 Willem Rein Oudshoorn <woudshoo@xs4all.nl> 9572 9573 * gui/Source/NSImage.m ([NSImage -initWithSize:]): round the size down 9574 ([NSImage -setSize:]): round the size down 9575 9576Tue Jan 29 10:59:04 2002 Nicola Pero <nicola@brainstorm.co.uk> 9577 9578 * GNUmakefile.postamble (configure): Rule removed. It was causing 9579 problems on systems without autoconf. 9580 (gui.make, config.make): Do not depend on configure. 9581 95822002-01-25 Adam Fedor <fedor@gnu.org> 9583 9584 * Documentation/gsdoc/GNUmakefile: Remove autogsdoc processing 9585 * Source/GNUmakefile: Moved to here. 9586 * Headers/gnustep/gui/GSHbox.h, GSVbox.h, NSAffineTransform.h, 9587 NSApplication.h, NSBezierPath.h, NSBitmapImageRep.h, 9588 NSBrowser.h, NSBrowserCell.h, NSCell.h, NSColorWell.h, NSDataLink.h, 9589 NSDataLinkManager.h, NSDataLinkPanel.h, NSForm.h, NSHelpPanel.h, 9590 NSImage.h, NSLayoutManager.h, NSMatrix.h, NSParagraphStyle.h, 9591 NSPasteboard.h, NSPopUpButtonCell.h, NSProgressIndicator.h, 9592 NSSavePanel.h, NSSelection.h, NSStepperCell.h, NSText.h, 9593 NSTextFieldCell.h: Sync interface/impl declarations for autogsdoc. 9594 * Source/GSTable.m, NSAffineTransform.m, NSApplication.m, 9595 NSBitmapImageRep.m, NSGraphicsContext.m, NSSlider.m, 9596 NSTableHeaderView.m, NSText.m: Likewise. 9597 9598 * Headers/gnustep/gui/NSEvent.h: Two new AppKit events. 9599 * Source/NSWindow.m ([NSWindow -sendEvent:]): Implement response 9600 for GSAppKitWindowLeave event. 9601 96022002-01-24 Adam Fedor <fedor@gnu.org> 9603 9604 * Source/NSBundleAdditions.m ([NSBundle 9605 +loadNibFile:externalNameTable:withZone:]): If file extension is 9606 nib, replace it with gmodel. 9607 9608 * Documentation/announce.texi: Update. 9609 * Documentation/install.texi: Likewise. 9610 * Documentation/news.texi: Likewise. 9611 * Documentation/todo.texi: Likewise. 9612 96132002-01-23 Adam Fedor <fedor@gnu.org> 9614 9615 * Source/NSInterfaceStyle.m (NSInterfaceStyleForKey): Use default 9616 style if no key for style is located. Don't cache key in this case. 9617 * Source/NSMenu.m (-nestedSetFrameOrigin:aPoint): Use 9618 locationForSubmenu to get submenu location. 9619 * Source/NSMenuView.m (-locationForSubmenu:): Fix 9620 location of submenu for GSWindowMakerInterfaceStyle. 9621 96222002-01-22 Richard Frith-Macdonald <rfm@gnu.org> 9623 9624 * Source/NSWorkspace.h: new ivar 9625 * Source/NSWorkspace.m: Many tidyups and little fixes, major change 9626 to -getBestApp... so that it picks the best available app rather 9627 than just the one specifed by the user as 'best'. This means you can 9628 always use it to get an app even if the user has set no preference. 9629 Fixed uninitialised variable in first version of this mod and made 9630 user preferences override declared types opened by apps. 9631 Keep track of launched applications so we can tell whether we need 9632 to launch a new one or just talk to an existing one. 9633 96342002-01-21 Adam Fedor <fedor@gnu.org> 9635 9636 * Source/NSApplication.m (-deactivate): Don't hide modal windows. 9637 (-runModalSession:): Handle WM events (like resize) for any window 9638 right away. 9639 96402002-01-21 Richard Frith-Macdonald <rfm@gnu.org> 9641 9642 * Headers/Appkit/NSGraphicsContext.h: new method to slide image 9643 across screen between windows. 9644 * Source/NSGraphicsContext.m: dummy implementation 9645 * Source/NSWorkspace.m: Use new method. 9646 9647Mon Jan 21 11:47:27 2002 Nicola Pero <nicola@brainstorm.co.uk> 9648 9649 * Source/NSMenuItem.m ([-setSubmenu:]): When raising an exception 9650 that the submenu already has a supermenu, print titles of both 9651 submenu and supermenu. 9652 * Source/NSMenuItem.m: For the whole class: access variable 9653 _title. 9654 96552002-01-20 Richard Frith-Macdonald <rfm@gnu.org> 9656 9657 * Source/NSWindow.m: ([-sendEvent:]) check to see that an old drag 9658 view is still in the current window before sending a dragging message 9659 to it ... if it has been removed, don't send the message. 9660 96612002-01-20 Richard Frith-Macdonald <rfm@gnu.org> 9662 9663 * Source/NSWindow.m: ([-sendEvent:]) use ASSIGN() and DESTROY() to 9664 update _lastDragView so we don't run into problems if something 9665 deallocates it. Added some debug logging. Fixed bug in logic of 9666 drag entry/update. Restructured a little to improve readability. 9667 9668Thu Jan 17 18:16:08 2002 Nicola Pero <n.pero@mi.flashnet.it> 9669 9670 * Source/NSTextView.m ([-_blink:]): Fixed declaration - should take 9671 a single NSTimer * argument. 9672 9673Thu Jan 17 00:03:46 2002 Nicola Pero <n.pero@mi.flashnet.it> 9674 9675 * Source/NSSlider.m ([-mouseDown:]): Do nothing if the slider is 9676 disabled. 9677 9678Wed Jan 16 23:45:32 2002 Nicola Pero <n.pero@mi.flashnet.it> 9679 9680 * Source/NSApplication.m (NSAbortModalException): Removed 9681 declaration - suggested by Stephen Brandon. 9682 96832002-01-15 Ludovic Marcotte <ludovic@Sophos.ca> 9684 9685 * Source/NSParagraphStyle.m ([NSParagraphStyle -encodeWithCoder:]) 9686 fixed the index used for our locations and type arrays from 9687 count to it. 9688 96892002-01-15 Adam Fedor <fedor@gnu.org> 9690 9691 * Source/NSApplication.m (-finishLaunching): Make main menu key 9692 when there is no other key or main window. 9693 (-runModalSession:): Update main menu. 9694 (-targetForAction:): Search fixes. Return nil if in modal session 9695 and key window does not respond to action. 9696 9697 * Source/NSWindow.m (-sendEvent:): Only check cursor rects 9698 if isCursorRectsEnabled. 9699 97002002-01-10 Adam Fedor <fedor@gnu.org> 9701 9702 * Source/NSPopUpButton.m (-keyDown:): Handle obscure case of user 9703 opening menu with key and selecting with mouse. Upon key selection, 9704 get selected index from menuView highlightedItemIndex. 9705 97062002-01-10 Richard Frith-Macdonald <rfm@gnu.org> 9707 9708 * Source/NSPasteboard.m: Improve handling of -NSHost user default 9709 so we don't try to start a local pasteboard server when what we 9710 actually want is to connect to a remote one. 9711 * Source/NSWorkspace.m: Use -NSHost default to control connection 9712 to a remote workspace application. 9713 Should we use the remote application to launch new apps if possible? 9714 For now, try to launch the apps locally but have them display on 9715 the remote host by passing the -NSHost default to them. 9716 97172002-01-09 Adam Fedor <fedor@gnu.org> 9718 9719 * Source/NSApplication.m (_NSAppKitUncaughtExceptionHandler): 9720 Use non-graphical handler when it is a WindowServer exception. 9721 9722 * Source/NSWindow.m (-orderWindow:relativeTo:): Constrain only 9723 titled windows and only when not already visible. 9724 * Source/NSWindow.m (-constrainFrameRect:toScreen:): Don't constrain 9725 height less than minimum size. 9726 (setFrame:display:): constrain frame on a resize. 9727 9728 * TextConverters/RTF/GNUmakefile.preamble: Look for library in Source. 9729 9730Wed Jan 9 12:07:58 2002 Nicola Pero <n.pero@mi.flashnet.it> 9731 9732 * configure.in: Abort with an error if GNUSTEP_SYSTEM_ROOT is not 9733 set. (AC_CONFIG_AUX_DIR): Call to set ac_aux_dir to 9734 $GNUSTEP_SYSTEM_ROOT/Makefiles. 9735 * configure: Regenerated. 9736 * config.guess: Removed. 9737 * config.sub: Removed. 9738 * install-sh: Removed. 9739 9740Tue Jan 8 16:23:08 2002 Nicola Pero <n.pero@mi.flashnet.it> 9741 9742 * Resources/English.lproj/Localizable.strings: Removed 'Windows'. 9743 * Resources/Italian.lproj/Localizable.strings: Idem. 9744 9745Tue Jan 8 14:30:26 2002 Nicola Pero <n.pero@mi.flashnet.it> 9746 9747 * Source/NSInputManager.m ([-bindKey:toAction:]): Allow a "" 9748 action to specify no keybinding - can be used to disable a 9749 previous keybinding. 9750 9751Tue Jan 8 13:58:11 2002 Nicola Pero <n.pero@mi.flashnet.it> 9752 9753 * Tools/exampleInfo.plist: Added German translation of service 9754 strings (Patch by Martin Brecher <martin@mb-itconsulting.com>). 9755 9756Mon Jan 7 17:35:30 2002 Nicola Pero <n.pero@mi.flashnet.it> 9757 9758 * Headers/gnustep/gui/NSApplication.h (_windows_menu): Changed to 9759 be an NSMenu * instead of a NSMenuItem *. This is more logical 9760 since often the windows menu is set before the main menu is 9761 created. 9762 * Source/NSApplication.m: Updated for change in ivar. 9763 ([-setWindowsMenu:]), ([-setMainMenu:]): Simplified a lot. All 9764 code dependent on the name of the 'Windows' menu was removed as 9765 too complex and unreliable when the application is translated. 9766 All applications are now required to create the Windows menu 9767 themselves, and to call setWindowsMenu: to have it used. 9768 9769Mon Jan 7 16:05:19 2002 Nicola Pero <n.pero@mi.flashnet.it> 9770 9771 * Source/NSApplication.m ([-setMainMenu:]): Only manually set a 9772 new windows menu if no one was already set. When looking manually 9773 for a Windows menu, look both for translated and untranslated 9774 'Windows' menu items. Translate it if not yet translated. 9775 ([-setWindowsMenu:]): If no translated 'Windows' menu item could 9776 be found, try and look for an untranslated one. Translate it if 9777 found. 9778 9779Sun Jan 6 13:56:53 2002 Nicola Pero <n.pero@mi.flashnet.it> 9780 9781 * Source/NSSpellChecker.m ([-_launchSpellCheckerForLanguage:]): 9782 Updated for change in GSServicesManager's ivars. 9783 9784Sun Jan 6 11:16:30 2002 Nicola Pero <n.pero@mi.flashnet.it> 9785 9786 * Headers/gnustep/gui/GSServicesManager.h: Prefixed all ivars with 9787 underscores. 9788 * Source/GSServicesManager.m: Idem. 9789 9790Sun Jan 6 10:49:49 2002 Nicola Pero <n.pero@mi.flashnet.it> 9791 9792 * Source/GSServicesManager.m ([-rebuildServicesMenu]): If the key 9793 equivalent can not be found under the language used for the menu 9794 item, use the default key equivalent if any. 9795 * Tools/exampleInfo.plist: Added service names in Italian. 9796 9797Thu Jan 3 07:35:42 2002 Nicola Pero <n.pero@mi.flashnet.it> 9798 9799 * Source/NSTextView.m ([-mouseDown:]): Implemented activation of 9800 links. (Patch written with Ludovic Marcotte <ludovic@sophos.ca>). 9801 * Source/NSTextView.m ([-mouseDown:]): Only use the code for 9802 clicks on attachments on the first click. 9803 9804Tue Jan 1 21:06:32 2002 Nicola Pero <n.pero@mi.flashnet.it> 9805 9806 * Source/NSScrollView.m ([-tile]): Allocate space for the rulers 9807 (Adapted from a patch from Diego Luis Kreutz <kreutz@inf.ufsm.br>). 9808 9809Tue Jan 1 20:57:07 2002 Nicola Pero <n.pero@mi.flashnet.it> 9810 9811 * Source/NSScrollView.m ([-tile]): Rewritten to be simpler to 9812 understand. 9813 9814Tue Jan 1 13:36:56 2002 Nicola Pero <n.pero@mi.flashnet.it> 9815 9816 * Source/NSView.m ([-resizeWithOldSuperviewSize:]): Removed all 9817 traces of the obsolete code for managing the bounds. Tidied code. 9818 98192001-12-29 Richard Frith-Macdonald <rfm@gnu.org> 9820 9821 * Source/GSServicesManager.m: ([GSListener -forwardInvocation:]) 9822 method implemented to forward to service provider or app delegate. 9823 9824Tue Dec 25 09:54:21 2001 Nicola Pero <n.pero@mi.flashnet.it> 9825 9826 * Source/NSButtonCell.m ([-drawInteriorWithFrame:inView:]): Draw 9827 the background color. 9828 9829Tue Dec 25 09:23:24 2001 Nicola Pero <n.pero@mi.flashnet.it> 9830 9831 * Source/NSScrollView.m ([-_doScroll:]): Mark the horizontal and 9832 vertical ruler as needing redisplay if needed. 9833 ([-setHorizontalRulerView:]): Add/remove the new horizontal ruler 9834 as a subview; set _hasHorizontalRule to NO if the new horizontal 9835 ruler is nil; tile if rulers are visible. 9836 ([-setHasVerticalRuler:]): Similar changes. 9837 ([-setHasHorizontalRuler:]): Rewritten. In particular, use the 9838 class specified in +rulerViewClass when creating the new ruler. 9839 ([-setVerticalRulerView:]): Similar changes. 9840 (Patches from Diego Luis Kreutz <kreutz@inf.ufsm.br> modified). 9841 98422001-12-24 Fred Kiefer <FredKiefer@gmx.de> 9843 9844 * Source/NSTextView.m 9845 [dragOperationForDraggingInfo:type:] added NSDragOperationCopy to 9846 the valid drag actions. 9847 98482001-12-23 Fred Kiefer <FredKiefer@gmx.de> 9849 9850 * Source/NSTextView.m 9851 Added some NSResponder methods with empty code to keep the 9852 NSInputManager quiet. 9853 * Source/NSApplication.m 9854 [initialize] retain the gui bundle and added an auto release pool 9855 as this might be called without one installed. 9856 98572001-12-23 Fred Kiefer <FredKiefer@gmx.de> 9858 9859 * Source/NSTextView.m 9860 [writeSelectionToPasteboard:types:] corrected C binary operator 9861 short cut logic that prevented us froam adding more than one 9862 string type to the pasteboard. Remember that || wont evaluate the 9863 second operand if the first is true. 9864 9865Fri Dec 21 18:50:17 2001 Nicola Pero <nicola@brainstorm.co.uk> 9866 9867 * Headers/gnustep/gui/GSGuiPrivate.h: New file. 9868 * GNUmakefile (SUBPROJECTS): Added Resources. 9869 * Resources/GNUmakefile: New file. 9870 * Resources/Italian.lproj/Localizable.strings: New file. 9871 * Resources/English.lproj/Localizable.strings: New file. 9872 * Source/NSApplication.m ([+initialize]): Create the gnustep-gui 9873 bundle used for loading localized messages. 9874 (GSGuiBundle): New function. 9875 * Source/NSApplication: Localized most messages in this file. 9876 This is experimental. 9877 9878Fri Dec 21 14:37:45 2001 Nicola Pero <nicola@brainstorm.co.uk> 9879 9880 * GNUmakefile (SUBPROJECTS): Added KeyBindings. 9881 98822001-12-20 Adam Fedor <fedor@gnu.org> 9883 9884 * Images/common_noCursor.tiff: New image from deek@d2dc.net. 9885 98862001-12-21 Fred Kiefer <FredKiefer@gmx.de> 9887 9888 * Source/NSView.m 9889 Implemented dragFile:fromRect:slideBack:event:]. Moved code from 9890 [dragImage:...slideBack:] to NSWindow and call this. 9891 * Source/NSWindow.m 9892 New Implemantion of [dragImage:...slideBack:]. Replaced call to 9893 [NSGraphicContext _postExternalEvents:] with [NSDragInfo 9894 postDragEvent:]. 9895 Replaced most [NSScreen mainScreen] with [self screen]. 9896 * Headers/gnustep/gui/NSGraphicContext.h 9897 Removed method [_postExternalEvents:]. Added method 9898 [GSResolutionForScreen:]. 9899 * Headers/gnustep/gui/NSGraphic.h 9900 * Headers/gnustep/gui/GSMethodTable.h 9901 Added GSResolutionForScreen. 9902 * Source/NSGraphicContext.m 9903 Implemented [GSResolutionForScreen:] with code from NSScreen. 9904 * Source/NSScreen.m 9905 [deviceDescription] call new function GSResolutionForScreen. 9906 9907Wed Dec 19 17:55:25 2001 Nicola Pero <nicola@brainstorm.co.uk> 9908 9909 * Source/NSTextView.m ([NSTextView -moveToEndOfLine:]): Fixed typo 9910 in my last commit. 9911 9912Tue Dec 18 22:13:31 2001 Nicola Pero <n.pero@mi.flashnet.it> 9913 9914 * Source/NSTextView.m ([-moveToEndOfLine:]): Fixed problems with 9915 empty lines by carefully checking for special cases. 9916 * Source/NSLayoutManager.m 9917 ([-lineFragmentRectForGlyphAtIndex:effectiveRange:]): Fixed setting 9918 effective range. 9919 ([-lineFragmentUsedRectForGlyphAtIndex:effectiveRange:]): Idem. 9920 ([-textContainerForGlyphAtIndex:effectiveRange:]): Idem. 9921 99222001-12-19 Fred Kiefer <FredKiefer@gmx.de> 9923 9924 * Source/NSApplication.m 9925 [setMainMenu:] set the title of the main menu window, so 9926 the window manager can display it.We could do this also for all 9927 other menus, but those wont show up in the window manager. 9928 * Tools/gopen.m 9929 Removed the redefinition of NSRunAlertPanel() as NSWOrkspace no 9930 longer uses this, 9931 99322001-12-18 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr> 9933 9934 * Source/NSWindow.m ([NSWindow -setTitleWithRepresentedFilename:]): 9935 ([NSWindow -setTitle:]): 9936 ([NSWindow -_initBackendWindow:]): 9937 changed cString into lossyCString during DPStitlewindow calls 9938 * Source/NSBrowser.m: 9939 NSBrowserColumn: new methods initWithCoder & encodeWithCoder, it now 9940 complies to NSCoding 9941 [NSBrowser -initWithCoder:] & [NSBrowser -encodeWithCoder:]: major 9942 update to previous implementation. It is now usable with Gorm and 9943 should not generate memory leaks anymore. 9944 9945Mon Dec 17 23:54:35 2001 Nicola Pero <n.pero@mi.flashnet.it> 9946 9947 * Source/NSInputManager.m: New class which loads key binding files 9948 and process keys basing on loaded key bindings. 9949 * Headers/gnustep/gui/NSInputManager.h: Updated. Removed methods 9950 deprecated in apple doc - there is no point in trying to be 9951 compatible with internal deprecated methods of a foreign system. 9952 * Source/NSResponder.m ([-interpretKeyEvents:]): Pass the key 9953 events to the current input manager. 9954 ([+initialize]): Added call to NSInputManager to have it init 9955 itself. 9956 * KeyBindings/: New directory. 9957 * KeyBindings/GNUmakefile: New file. 9958 * KeyBindings/DefaultKeyBindings.dict: New file. 9959 * Documentation/gsdoc/GNUmakefile (Gui_GSDOC_FILES): Added 9960 DefaultsSummary.gsdoc. 9961 * Documentation/gsdoc/DefaultsSummary.gsdoc: Documented 9962 the GSDefaultKeyBindings and GSCustomKeyBindings options. 9963 * Documentation/gsdoc/DefaultsSummary.html: Regenerated. 9964 99652001-12-17 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr> 9966 9967 * Source/NSButtonCell.m ([NSButtonCell -drawInteriorWithFrame:inView:]) 9968 removed the code that drew the background (osx doesn't draw background) 9969 * Source/NSProgressIndicator.m ([NSProgressIndicator +initialize]): 9970 retain the fillColour. 9971 99722001-12-17 Adam Fedor <fedor@gnu.org> 9973 9974 * Source/*m: Add basic markup for autogsdoc generation. 9975 (various locations): Remove semi-colon at end of method names. 9976 NSSliderCell.m, NSSlider.m, NSTableColumn.m, NSView.m, NSWindow.m: 9977 Add documentation formerly in gsdoc files to comments. 9978 9979 * Headers/gnustep/gui/NSColorList.h, NSPageLayout.h, 9980 NSPrintInfo.h, NSPrintOperation.h, NSPrinter.h, NSView.h: Correct 9981 method types, remove unused markup. 9982 9983 * Documentation/gsdoc/GNUmakefile: Add variables for autmatic 9984 document generatation via autgsdoc. 9985 * Documentation/gsdoc/*gsdoc, *html: Update. 9986 9987Sat Dec 15 09:12:44 2001 Nicola Pero <n.pero@mi.flashnet.it> 9988 9989 Patches from Ludovic Marcotte modified by myself. 9990 * Source/NSTextView.m ([-moveToBeginningOfDocument:]): 9991 Implemented. 9992 ([-moveToBeginningOfLine:]): Idem. 9993 ([-moveToEndOfDocument:]): Idem. 9994 ([-moveToEndOfLine:]): Idem. 9995 ([-moveWordBackward:]): Idem. 9996 ([-moveWordForward:]): Idem. 9997 ([-selectLine:]): Idem. 9998 99992001-12-12 Adam Fedor <fedor@gnu.org> 10000 10001 * Source/NSCursor: New cache dictionary. 10002 (-greenArrowCursor): New method. 10003 (-initWithImage:foregroundColorHint:backgroundColorHint:hotSpot:): 10004 Implement. 10005 100062001-12-09 Willem Rein Oudshoorn <woudshoo@xs4all.nl> 10007 10008 * Source/NSWindow.m (GSPerformVoidDragSelector): rewritten to not 10009 rely on category on NSObject 10010 (GSPerformDragSelector): rewritten to not rely on category on 10011 NSObject 10012 ([NSWindow -sendEvent:]): fixed bug in handling of informal 10013 draggingDestination protocol 10014 10015 * Headers/AppKit/NSWindow.h (NSCoding>): added instance variable 10016 _lastDragOperationMask 10017 10018 * Source/GNUmakefile (libgnustep-gui_OBJC_FILES): Removed obsolete 10019 NSObjectProtocols.m file 10020 10021Tue Dec 11 00:08:38 2001 Nicola Pero <n.pero@mi.flashnet.it> 10022 10023 * Source/NSCell.m ([-setStringValue:]): Use a NSDebugMLLog to warn 10024 for attempts to use nil value, not NSWarnLog, as suggested by Wim 10025 Oudshoorn <woudshoo@sct.com>. 10026 100272001-12-09 Fred Kiefer <FredKiefer@gmx.de> 10028 10029 * Source/NSApplication.m 10030 [NSIconWindow _initDefaults] set the title of the icon window, so 10031 the window manager can display it. 10032 100332001-12-07 Fred Kiefer <FredKiefer@gmx.de> 10034 10035 * Source/NSWorkspace.m 10036 [_workspaceApplication] renamed defaults key for Workspace 10037 application to GSWorkspaceApplication. 10038 * Documentation/gsdoc/DefaultsSummary.gsdoc 10039 Documented NSWorkspace defaults entry GSWorkspaceApplication 10040 and the new xgps defaults entry GSFontMask. 10041 100422001-12-07 Adam Fedor <fedor@gnu.org> 10043 10044 * Source/NSImage.m (-drawRepresentation:inRect:): Draw 10045 background even when alpha == 0. 10046 10047 * Source/NSApplication.m (-sendEvent:): Simplify NSDebugLog. 10048 10049 * Documentation/gsdoc/DefaultsSummary.gsdoc: Update 10050 * Documentation/gsdoc/Gui.gsdoc: Remove NSDPSContext. 10051 100522001-12-07 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr> 10053 10054 * Headers/gnustep/gui/NSTableColumn.h: 10055 * Source/NSTableColumn.m: changed the initWithIdentifier return 10056 type from NSTableColumn* to id. It prevents warning when 10057 subclassing and is consistent with the docs. 10058 * Headers/gnustep/gui/NSTableView.h: renamed ivar _del_editable to 10059 _dataSource_editable. Previously the delegate was responsible for 10060 tableView:setObjectValue:forTableColumn:row:, whereas it is now the 10061 dataSource that is responsible for it (it conforms with the docs) 10062 * Source/NSTableView.m: [setDelegate:], [setDataSource:] and 10063 [validateEditing] changed to conform to previous change 10064 * Source/NSTableView.m (quick_sort_internal) : fixed typo 10065 10066Wed Dec 5 11:04:14 2001 Nicola Pero <n.pero@mi.flashnet.it> 10067 10068 * Source/NSPrintInfo.m ([+initPrintInfoDefaults]): Commented out 10069 debugging log which wouldn't compile. 10070 10071Wed Dec 5 10:55:13 2001 Nicola Pero <n.pero@mi.flashnet.it> 10072 10073 * Source/NSClipView.m ([-setBackgroundColor:]): If the color is 10074 changed, mark the clipview as needing redisplay. 10075 ([-setDrawsBackground:]): If the flag is changed, mark the 10076 clipview as needing redisplay. 10077 * Source/NSText.m ([-setBackgroundColor:]): Mark the text as 10078 needing redisplay if the color is changed. If we are not a field 10079 editor, change the background color of the enclosing scrollview 10080 too. 10081 ([-setDrawsBackground:]): Mark the text as needing redisplay if 10082 the flag is changed. If we are not a field editor, change the 10083 flag for the enclosing scrollview too. 10084 100852001-12-02 Adam Fedor <fedor@gnu.org> 10086 10087 * Model/GMAppKit.m ([NSMenuItem -initWithModelUnarchiver:]): Check 10088 if target is a menu. 10089 10090 * Source/NSCursor.m: Make class variables for arrow and ibeam 10091 cursor. 10092 100932001-11-30 Willem Rein Oudshoorn <woudshoo@xs4all.nl> 10094 10095 * Source/NSCursor.m (backgroundColorHint:): added FIXME comment 10096 10097 * Images/GNUmakefile (IMAGE_FILES): added DnD cursors 10098 10099 * Headers/gnustep/gui/NSBitmapImageRep.h (NSImageRep): removed 10100 unused instance variable 10101 101022001-12-03 Laurent Julliard <laurent@moldus.org> 10103 10104 * Source/NSTableHeaderView.m (-initWithCoder:, decodeWithCoder:): 10105 minimal decoding/encoding methods 10106 101072001-12-02 Gregory Casamento <greg_casamento@yahoo.com> 10108 * Source/NSTableView.m 10109 -[NSTableView superviewFrameChanged:] Added a check to prevent 10110 exception when column count is reduced to zero. This change is 10111 consistent with behaviour observed on OPENSTEP4.2/Mach. 10112 101132001-12-02 Fred Kiefer <FredKiefer@gmx.de> 10114 10115 * Source/NSWorkspace.m 10116 [findApplications] use hardcoded @GNUSTEP_INSTALL_PREFIX only for 10117 non-GNUstep foundation library. 10118 * Source/NSPasteboard.m 10119 [_pbs] use hardcoded @GNUSTEP_INSTALL_PREFIX only for 10120 non-GNUstep foundation library. 10121 * Source/NSImage.m 10122 [initialize] and [imageNamed:] use hardcoded 10123 @GNUSTEP_INSTALL_LIBDIR only for non-GNUstep foundation library. 10124 * Source/NSPrintInfo.m 10125 [initPrintInfoDefaults] use hardcoded @GNUSTEP_INSTALL_LIBDIR only 10126 for non-GNUstep foundation library. 10127 10128Sun Dec 2 08:54:36 2001 Nicola Pero <n.pero@mi.flashnet.it> 10129 10130 * Source/NSAttributedString.m ([NSMutableAttributedString 10131 -fixParagraphStyleAttributeInRange:]): Fixes, particularly for 10132 case in which a style is not found at the beginning of paragraph. 10133 (Bug reported by Ludovic Marcotte <ludovic@Sophos.ca>). 10134 101352001-12-02 Gregory Casamento <greg_casamento@yahoo.com> 10136 10137 * Tools/gopen.m 10138 Modified to eliminate the output of "No application for extension 10139 'app'" when launching an application using gopen. The code now 10140 checks to see if an app is being launched first, then, if not, 10141 attempts to open the file. It's also slightly more efficient to 10142 check for an app first before calling -[NSWorkspace openFile:]. 10143 101442001-12-01 Fred Kiefer <FredKiefer@gmx.de> 10145 10146 * Source/NSWorkspace.m 10147 Moved all private methods into seperate category. New method 10148 [_connectApplication:], use this in [openFile:...] and 10149 [launchApplication:...]. Implemented [openTempFile:]. 10150 New method [_workspaceApplication] used to implement 10151 [performFileOperation:...] and [selectFile:inFileViewerRootedAtPath:]. 10152 * Source/NSApplication.m 10153 [finishLaunching] and [terminate:] send workspace notification 10154 with the shared workspace as object. 10155 10156Sat Dec 1 10:10:58 2001 Nicola Pero <n.pero@mi.flashnet.it> 10157 10158 * GNUmakefile.postamble (gui.make): Depend on configure. 10159 (config.make): Idem. 10160 10161Sat Dec 1 09:33:39 2001 Nicola Pero <n.pero@mi.flashnet.it> 10162 10163 * GNUmakefile.postamble (after-distclean): Remove gui.make as 10164 well. 10165 (gui.make): New target. 10166 (config.make): New target. 10167 (configure): New target. 10168 10169Sat Dec 1 09:13:26 2001 Nicola Pero <n.pero@mi.flashnet.it> 10170 10171 * Headers/gnustep/gui/NSButtonCell.h (NSGradientType): Fixed typo 10172 (Bug fix by Jay McCarthy <jay@kenyamountain.com>). 10173 10174Fri Nov 30 12:58:45 2001 Nicola Pero <nicola@brainstorm.co.uk> 10175 10176 * Source/NSCell.m ([-setStringValue:]): Use NSWarnMLog to warn for 10177 nil string values rather than raising an exception (Suggestion by 10178 richard). 10179 101802001-11-28 Adam Fedor <fedor@gnu.org> 10181 10182 * Source/GSServicesManager.m (-rebuildServices): Use userLanguages 10183 method rather than getting NSLanguages default. 10184 10185 * Documentation/gsdoc/DefaultsSummary.gsdoc: New file. 10186 * Documentation/gsdoc/Gui.gsdoc: Include it. 10187 101882001-11-27 Adam Fedor <fedor@gnu.org> 10189 10190 * Source/NSClipView.m: Treat _documentView as a convienience 10191 ivar. Don't release/retain or encode it. 10192 (-initWithCoder:): Get _documentView from subview array. 10193 * Source/NSTabView.m (-encodeWithCoder:): Conditionally encode 10194 delegate. 10195 (-initWithCoder:): Don't retain delegate. 10196 101972001-11-26 Fred Kiefer <FredKiefer@gmx.de> 10198 10199 * Headers/gnustep/gui/NSWindow.h 10200 Added some new MacOSX methods and ivars to support them. 10201 Changed order of methods. 10202 * Source/NSWindow.m 10203 Implemented new methods. 10204 * Headers/gnustep/gui/NSWindowController.h 10205 Added some new MacOSX methods. 10206 * Headers/gnustep/gui/NSDocumentFrameworkPrivate.h 10207 Removed methods now public. 10208 * Source/NSWindowController.m 10209 Implemented new methods and renamed some old which are now public. 10210 * Source/NSDocument.m 10211 Adopted to name changes of NSWindowController methods. 10212 * Headers/gnustep/gui/NSNibLoading.h 10213 New extension method [pathForNibResource:]. 10214 * Source/NSBundleAdditions.m 10215 Extracted new method [pathForNibResource:] for NSWindowController. 10216 * Headers/gnustep/gui/NSWorkspace.h 10217 Added some new MacOSX methods. Changed order of methods. Made 10218 ivars out of some class variables. 10219 * Source/NSWorkspace.m 10220 A lot of cleanup. Implemented the new methods. [openFile:XXX] no 10221 longer show alert panels, as this should be done by the caller. 10222 [launchApplication:XXX] now checks if the application is already 10223 running. 10224 102252001-11-25 Gregory John Casamento <greg_casamento@yahoo.com> 10226 10227 * Tools/gopen.m made some enhancements to make the gopen tool 10228 behave more like the "open" tool under OPENSTEP/MOSX. 10229 102302001-11-24 Fred Kiefer <FredKiefer@gmx.de> 10231 10232 * Headers/gnustep/gui/NSTextView.h 10233 Added protocol NSTextInput to NSTextView. Added some new MacOSX 10234 methods. 10235 * Source/NSTextView.m 10236 Corrected memory management in rulerview methods. Implemented 10237 update ruler. Dummy implementation for new spell checking 10238 methods. Implementation of new drag methods, use these in the 10239 dragging protocol methods. Moved the NSTextInput methods into the 10240 main category. Implemented some of them. 10241 * Source/NSLayoutManager.m 10242 Implemented [rulerMarkersForTextView:...ruler:]. 10243 * Headers/gnustep/gui/NSPasteboard.h 10244 Added extension methods for NSURL. 10245 * Source/NSPasteboard.m 10246 Implemented extension methods for NSURL. 10247 * Headers/gnustep/gui/NSView.h 10248 Added some new MacOSX methods. Changed order of methods. 10249 * Source/NSView.m 10250 Implemented those new methods. Call new methods from the subview 10251 handling methods. 10252 102532001-11-23 Fred Kiefer <FredKiefer@gmx.de> 10254 10255 * Headers/gnustep/gui/NSTableView.h 10256 * Source/NSTableView.m 10257 Added some additional MacOSX methods. 10258 * Headers/gnustep/gui/NSTextField.h 10259 * Source/NSTextField.m 10260 Added and implemented some methods for the handling of richt text. 10261 * Source/extern.m 10262 Added notifications from NSTextStorage 10263 * Headers/gnustep/gui/NSTextStorage.h 10264 * Source/NSTextStorage.m 10265 Added some new methods that allow for lazy fixing of attributes in 10266 subclasses. 10267 * Source/NSTextView.m 10268 Added code to rulerview delegate methods. 10269 10270Thu Nov 22 00:58:12 2001 Nicola Pero <n.pero@mi.flashnet.it> 10271 10272 * GNUmakefile (CVS_MODULE_NAME): Define. 10273 102742001-11-21 Laurent Julliard <laurent@julliard-online.org> 10275 10276 * Source/NSBrowser.m (-initWithCoder:): colCount and _firstVisible 10277 Column must always be decoded. Bug fixed (thanks to Adam Fedor) 10278 102792001-11-20 Laurent Julliard <laurent@julliard-online.org> 10280 10281 * Source/NSComboBoxCell.m (-setNumberOfVisibleItems): max number 10282 of items tested on wrong variable. Corrected 10283 102842001-11-19 Adam Fedor <fedor@gnu.org> 10285 10286 * Headers/gnustep/gui/NSGraphicsContext.h: Add usedFonts ivar. 10287 New methods for caching used fonts. 10288 * Source/NSGraphicsContect.m (-useFont): Moved from NSFont. 10289 (-resetUsedFonts, -usedFonts): Likewise. 10290 * Source/NSFont.m (+useFont:): Use them. 10291 * Source/NSView.m (-endDocument): Likewise. 10292 10293 * Model/GMArchiver.m (-decodeSelectorWithName:): Use correct 0 value. 10294 102952001-11-18 Gregory John Casamento <greg_casamento@yahoo.com> 10296 10297 * Tools/gopen.m: added a tool which works like the OPENSTEP 4.2/Mach 10298 "open" command to the tools directory. 10299 103002001-11-15 Laurent Julliard <laurent@julliard-online.org> 10301 10302 * Source/NSBrowser.m: NSBrowser encoder and decoder added 10303 103042001-11-12 Fred Kiefer <FredKiefer@gmx.de> 10305 10306 * Source/NSFontManager.m 10307 Reorganised the handling of the font enumerator. New 10308 [_includeFont:] is only called from here. Corrected 10309 [availableMembersOfFontFamily:] and [fontNamed:hasTraits:]. 10310 * Headers/gnustep/gui/GSFontInfo.h: 10311 Adopted GSFontEnumerator to changes on NSFontManager. 10312 * Source/GSFontInfo.m: 10313 Changed GSFontEnumerator so that only [enumerateFontsAndFamilies] 10314 must be subclassed. 10315 103162001-11-11 Fred Kiefer <FredKiefer@gmx.de> 10317 10318 * Source/NSTabView.m 10319 In [selectTabViewItem:] corrected setting the first responder of 10320 the tab view. 10321 103222001-11-09 Adam Fedor <fedor@gnu.org> 10323 10324 * Source/NSView.m (-addSubview:): Raise exception on adding nil 10325 subview or superview of view. 10326 (-addSubview:positioned:relativeTo:): Likewise. 10327 (-beginDocument): Change NSLog to exception. 10328 10329Thu Nov 8 23:30:47 2001 Nicola Pero <n.pero@mi.flashnet.it> 10330 10331 * Source/NSMatrix.m ([-sizeToFit]): Reverted last change. 10332 * Source/NSBrowser.m ([-_performLoadOfColumn:]): Do not call 10333 sizeToFit on the matrix, just set the cellSize to the result of 10334 calling -cellSize on the first browsercell in the matrix. 10335 103362001-11-08 Adam Fedor <fedor@gnu.org> 10337 10338 * Simple printing/pagination implementation 10339 * Headers/gnustep/gui/NSGraphicsContext.h: Add some constants 10340 * Source/NSFont.m (+useFont:): Same font name in static NSSet 10341 (+resetUsedFonts): Implement 10342 (+usedFonts): Likewise. 10343 * Source/NSGraphicsContext.m (+defaultContextWithInfo:) Depreciated, 10344 calls +graphicsContextWithAttributes:. 10345 (+graphicsContextWithAttributes:): Creates default context class. 10346 (+useFont:): Removed. 10347 * Source/NSPrintInfo.m (-setOrienatation:) Set paper size accordingly. 10348 (-setPaperName:): Likewise. 10349 (-setPaperSize:): Set orientation. 10350 (+initPrintInfoDefaults): Rewrite. 10351 * Source/NSPrintOperation.m (-_setupPrintInfo): New private. 10352 (-_printPaginateWithInfo:knowsRange:): Likewise. 10353 (-_rectForPage:info:): Likewise. 10354 (-_adjustPagesFirst:last:info:): Likewise. 10355 (-_print): Rewrite for pagination, printing. 10356 ([NSView -_displayPageInRect:atPlacement:withInfo:]): New private. 10357 ([NSView -_endSheet): Likewise. 10358 * Source/NSPrintPanel.m: Fix layout settings. 10359 * Source/NSView.m (-printJobTitle): Implement. 10360 (-locationOfPrintRect:, beginPage:label:bBox:fonts:, 10361 beginPageSetupRect:placement:, beginPrologueBBox:..., beginSetup, 10362 beginTrailer, endHeaderComments, endPrologue, endSetup, endPage, 10363 endTrailer, beginDocument, beginPageInRect:atPlacement:, endDocument): 10364 Likewise. 10365 103662001-11-08 Laurent Julliard <laurent@julliard-online.org> 10367 10368 * Headers/gnustep/gui/NSGraphics.h 10369 * Source/Functions.m 10370 * Source/NSImageCell.m: 10371 NSDrawFramePhoto added. Needed by the ImageView inspector in Gorm 10372 103732001-11-06 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr> 10374 10375 * Source/NSTableView.m ([-sizeToFit]): replaced floorf with floor 10376 suggestion from Stephen Brandon <stephen@brandonitconsulting.co.uk> 10377 103782001-11-03 Fred Kiefer <FredKiefer@gmx.de> 10379 10380 * Source/NSMenu.m 10381 In [performActionForItemAtIndex:] select the item of the popup 10382 before sending the action. 10383 * Headers/gnustep/gui/NSSplitView.h 10384 Removed unused ivar _splitCursor. Added some MacOSX methods. Moved 10385 extension methods to separate category. 10386 * Source/NSSplitView.m 10387 Adopted to changes in header. Dummy implementation of new 10388 methods. Changed incudes. In [mouseDown:] also check for new delegate 10389 methods. [_adjustSubviews:] now takes the old size as an argument 10390 to hand it on to delegate. Changed all places that call 10391 this. En-/decode the image instead of the cursor. 10392 * Headers/gnustep/gui/NSTabView.h 10393 Renamed all ivars and added some new MacOSX methods. Added two new 10394 unsupported NSTabViewType values. 10395 * Source/NSTabView.m 10396 Adopted to changes in header. Use [insertTabViewItem:atIndex:] in 10397 [addTabViewItem:]. Corrected [selectNextTabViewItem:] and 10398 [selectPreviousTabViewItem:]. In [selectTabViewItem:] set the 10399 first responder of the tab view. Other small cleanup. 10400 104012001-11-03 Fred Kiefer <FredKiefer@gmx.de> 10402 10403 * Headers/gnustep/gui/NSSpellChecker.h 10404 Added [guessesForWord:]. 10405 * Source/NSSpellChecker.m 10406 Implement [guessesForWord:] and use it in 10407 [browser:createRowsForColumn:inMatrix:]. Don't create the server 10408 in [init], but check it before each use. Check if ther server 10409 proxy exists before all method calls that return a NSRange. 10410 In [checkSpellingOfString:...wordCount:] don't call 10411 [updateSpellingPanelWithMisspelledWord:]. Beep in this method, 10412 when the string is empty. [_findNext:], [_ignore:] and [_correct:] 10413 now use [[NSApp sendAction:to:from:] instead of explicit responder. 10414 * Source/NSTextView.m 10415 Adopted implemtantion of [checkSpelling:] to changes in 10416 NSSpellChecker. [updateSpellingPanelWithMisspelledWord:] is now 10417 called from here. 10418 10419