/[gnustep]/gnustep/core/gui/ChangeLog
ViewVC logotype

Contents of /gnustep/core/gui/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2069 - (show annotations) (download)
Thu Oct 2 10:15:19 2003 UTC (20 years, 6 months ago) by ayers
Branch: MAIN
Changes since 1.2068: +5 -0 lines
        * Source/NSBrowser.m (-[NSBrowser setDelegate]:):  Check for
	nil object to allow unsetting the delegate.

1 2003-10-02 Andrew Ruder <aereder@ksu.edu>
2
3 * Source/NSBrowser.m (-[NSBrowser setDelegate]:): Check for nil
4 object to allow unsetting the delegate.
5
6 2003-09-29 Adam Fedor <fedor@gnu.org>
7
8 * Version 0.9.0
9
10 2003-09-29 Fred Kiefer <FredKiefer@gmx.de>
11
12 * Headers/Additions/GNUstepGUI/GSLayoutManager.h
13 * Source/GSLayoutManager.m
14 Added missing method [isValidGlyphIndex:].
15
16 2003-09-29 Fred Kiefer <FredKiefer@gmx.de>
17
18 * Source/NSBrowser.m
19 Patch by Christopher Culver:
20 Define empty [sizeToFit] method to override NSControl implementation.
21
22 2003-09-27 19:29 Gregory John Casamento <greg_casamento@yahoo.com>
23
24 * Source/GSNibContainer.m: [GSNibContainer awakeWithContext:]
25 Added code to set the services and windows menus as designated in
26 Gorm. Addresses Report #5205
27
28 2003-09-27 David Ayers <d.ayers@inode.at>
29
30 * Source/NSCell.m (-compare:): Compare the stringValue of
31 NSCell's rather than their contents directly.
32
33 2003-09-23 19:14 Alexander Malmberg <alexander@malmberg.org>
34
35 * Source/NSWindow.m (-orderWindow:relativeTo:): Only force a display
36 of the content view if we're being ordered _to_ the screen.
37
38 2003-09-23 19:11 Alexander Malmberg <alexander@malmberg.org>
39
40 * Source/NSTextContainer.m (-dealloc): Set the text container of
41 our text view, if any, to nil.
42
43 2003-09-22 Adam Fedor <fedor@gnu.org>
44
45 * Source/NSWindowController.m (-setWindow:): Set window's
46 releaseWhenClosed when document is not nil. Add documentation.
47
48 2003-09-21 Fred Kiefer <FredKiefer@gmx.de>
49
50 * Source/NSPopUpButtonCell.m
51 Undid the tracking of changes for the menu item. Changed [dealloc]
52 to not call clean up methods as these caused segmentation faults
53 in GNUMail.
54
55 2003-09-21 15:15 Alexander Malmberg <alexander@malmberg.org>
56
57 * Source/NSTextView.m (-readSelectionFromPasteboard:type:): Handle
58 NSTIFFPboardType. Based on patch from Nicolas Roard.
59
60 2003-09-20 Adam Fedor <fedor@gnu.org>
61
62 * Source/NSWindowController.m ([NSWindowController -setDocument:]):
63 Set window to releaseWhenClosed if document is not nil.
64 * Source/NSApplication.m ([NSApplication -targetForAction:]): Revert
65 last change.
66 * Source/NSWindow.m ([NSWindow -performClose:]): Idem.
67
68 2003-09-19 Matt Rice <ratmice@yahoo.com>
69
70 * Source/NSApplication.m ([NSApplication -targetForAction:]): Check
71 document of a document-based app before key window.
72 * Source/NSWindow.m ([NSWindow -performClose:]): Close the
73 document not self if there is a document associated with this window.
74
75 2003-09-19 Adam Fedor <fedor@gnu.org>
76
77 * Headers/Additions/GNUstepGUI/GSMethodTable.h: Change NSReadPixel
78 to GSReadRect
79 * Headers/AppKit/NSGraphicsContext.h, Source/NSGraphicsContext.m: Idem.
80 * Headers/AppKit/NSGraphics.h (NSReadPixel): Move to...
81 * Source/Functions.m (NSReadPixel): here.
82 * Source/NSBitmapImageRep.m (-initWithFocusedViewRect:): Implement.
83
84 2003-09-16 Adam Fedor <fedor@gnu.org>
85
86 * GNUmakefile (SUBPROJECTS): Don't build Documentation by default.
87
88 2003-09-14 Fred Kiefer <FredKiefer@gmx.de>
89
90 * Source/NSPopUpButtonCell.m
91 Corrected bug in previous change. In [itemAtIndex:] the index 0
92 was handled wrong.
93
94 2003-09-14 Fred Kiefer <FredKiefer@gmx.de>
95
96 * Source/NSPopUpButtonCell.m
97 According to Gregory John Casamento <greg_casamento@yahoo.com> the
98 popup button does not change its enable state when the selected item
99 does. To adopt this behaviour all setEnable: calls have been
100 removed and one in [initWithCoder:] added that enables the popup
101 for all old encodings.
102
103 2003-09-13 Gregory John Casamento <greg_casamento@yahoo.com>
104
105 * Source/NSPopUpButtonCell.m: Corrected minor problem which
106 was causing a compilation error.
107
108 2003-09-13 Fred Kiefer <FredKiefer@gmx.de>
109
110 * Source/NSMenu.m
111 In [update] use [NSApplication targetForAction:to:from:] to be
112 consistent with the [performActionForItemAtIndex:] implementation.
113 * Source/NSPopUpButtonCell.m
114 Undid last change. Rewrote [setMenu:] to make the popup button
115 cell listen to change notifications of the menu. New method
116 [itemChanged:] gets called when a menu item changes. Added hack to
117 [initWithCoder:] to set menu correctly and read old menu items
118 correctly.
119 Check in [itemAtIndex:] that the index is vaild and return nil
120 otherwise.
121
122 2003-09-07 Adam Fedor <fedor@gnu.org>
123
124 * Source/NSBitmapImageRep.m: Document.
125 (+imageRepWithData:): Return empty array not nil on failure.
126 (-TIFFRepresentation): Check for unsupported compression types.
127 (-TIFFRepresentationUsingCompression:factor:): Idem.
128 * Source/tiff.m (NSTiffGetInfo, NSTiffRead,
129 NSTiffWrite): Better error checking.
130
131 * Source/NSTableView.m (-draggingUpdated:sender): Support
132 NSTableViewDropOn (patch from Björn Giesler <giesler@ira.uka.de>).
133
134 2003-09-06 Gregory John Casamento <greg_casamento@yahoo.com>
135
136 * Source/NSPopUpButtonCell.m: -drawInteriorWithFrame:inView:
137 added setEnabled to enable the popup button cell. A previous
138 change was causing all popup button cells to show up as disabled.
139
140 2003-09-06 22:53 Alexander Malmberg <alexander@malmberg.org>
141
142 * Source/NSFont.m (getNSFont): Set the explicit-size bit in the
143 role correctly.
144
145 2003-09-06 Gregory John Casamento <greg_casamento@yahoo.com>
146
147 * Images/common_Printer.tiff
148 * Images/common_ToolbarSeperatorItem.tiff
149 * Images/common_ToolbarShowColorsItem.tiff
150 * Images/common_ToolbarShowFontsItem.tiff
151 * Images/common_ToolbarSpaceItem.tiff
152 * Source/NSToolbarItem.m: set the correct images and
153 target/action information for all of the standard toolbar items.
154
155 2003-09-06 Fred Kiefer <FredKiefer@gmx.de>
156
157 * Source/NSMenuItem.m
158 Autorelease the [separatorItem].
159
160 2003-09-06 Fred Kiefer <FredKiefer@gmx.de>
161
162 * Source/NSMenuView.m
163 In [itemChanged:] set if the cell is enabled like the item.
164 * Source/NSMenuItemCell.m
165 [setMenuItem:] enable/disable cell. [drawTitleWithFrame:inView:]no
166 longer enable/disable cell.
167
168 2003-09-04 18:43 Alexander Malmberg <alexander@malmberg.org>
169
170 * Headers/AppKit/NSWindow.h, Source/NSWindow.m: Change the return
171 type of -initWithWindowRef: to id.
172
173 2003-09-02 Adam Fedor <fedor@gnu.org>
174
175 * Tools/gsnd/gsnd.m (main): Don't mess with file descriptors on MinGW.
176
177 2003-09-02 Adam Fedor <fedor@gnu.org>
178
179 * Source/libgnustep-gui.def: Update.
180
181 2003-09-01 Fred Kiefer <FredKiefer@gmx.de>
182
183 * Source/NSAttributedString.m
184 [readFromURL:options:documentAttributes:] corrected the handling
185 to type "text", where [NSString alloc] was missing.
186 * Source/NSBundleAdditions.m
187 Removed unused global currentVersion.
188 * Headers/AppKit/NSCell.h
189 Corrected type of method _nonAutoreleasedTypingAttributes
190 * Headers/AppKit/NSInputManager.h
191 Added protocol NSTextInput to ivar _currentClient.
192 * Headers/AppKit/NSTextFieldCell.h
193 Removed uneeded and inconsistent method declarations.
194 * Source/NSApplciation.m
195 * Source/NSBezierPath.m
196 * Source/NSClipView.m
197 * Source/NSDocumentController.m
198 * Source/NSInputManager.m
199 * Source/NSMenuItem.m
200 * Source/NSSavePanel.m
201 * Source/NSTableView.m
202 Removed new GCC 3.4 warnings from Alexander Malmbergs list.
203
204 2003-09-01 Fred Kiefer <FredKiefer@gmx.de>
205
206 * Source/NSBitmapImageRep.m
207 [canInitWithData:], [imageRepsWithData:] and [initWithData:]
208 protect against data being nil. [imageRepsWithFile:] check if the
209 file exists and only return an array when it contains objects.
210 * Source/NSWorkspace.m
211 New method [_saveImageFor:] used in all places in this file where
212 an icon is created from a file name. New method
213 [thumbnailForFile:] calculated the name of the corresponding
214 FreeDeskTop.org thumbnail file for a given file name. This does
215 not chack if this file exists!. In [iconForFile:] use this
216 thumbnails if the user default GSUseFreedesktopThumbnails is YES.
217 * Documentation/GuiUser/DefaultsSummary.gsdoc
218 Documented the new user default value GSUseFreedesktopThumbnails.
219
220 2003-09-01 Gregory John Casamento <greg_casamento@yahoo.com>
221
222 * Source/GSNibTemplates.m: [GSNibContainer awakeWithContext:]
223 was initializing mainMenu too late. It should be accessible
224 from within awakeFromNib.
225
226 2003-08-31 Gregory John Casamento <greg_casamento@yahoo.com>
227
228 * Source/NSToolbarItem.m: Corrected code to instantiate
229 button for toolbar items.
230
231 2003-08-30 Gregory John Casamento <greg_casamento@yahoo.com>
232
233 * Source/GSNibTemplates.m: [GSNibContainer awakeWithContext:]
234 was not releasing the connections in the array after calling
235 establishConnection. Once this is done, the connections
236 are no longer needed.
237
238 2003-08-30 Fred Kiefer <FredKiefer@gmx.de>
239
240 * Source/NSWindowController.m
241 Changed [setWindow:] to manage the notification connection to the window.
242 [initWithWindow:], [dealloc] and [_windowWillClose:] now use [setWindow:].
243 [setDocument:] now no longer retains the document, as this is
244 already retaining the window controller. Simplified [loadWindow]
245 by using the method [windowNibPath].
246
247 2003-08-30 Gregory John Casamento <greg_casamento@yahoo.com>
248
249 * Source/GSNibTemplates.m: Added code to templates to conditionally
250 call the designated initializer if and only if it is defined
251 on the class which is being unarchived, not the parent classes.
252 This is consistent with behaviour under OpenStep.
253
254 2003-08-29 Adam Fedor <fedor@gnu.org>
255
256 * Source/GNUmakefile.preamble (ADDITIONAL_OBJCFLAGS): Include
257 target dir for config.h (disable-flattened).
258
259 2003-08-29 Adam Fedor <fedor@gnu.org>
260
261 * Tools/gsnd/gsnd.m (main): Reopen stderr.
262
263 2003-08-29 Gregory John Casamento <greg_casamento@yahoo.com>
264
265 * NSToolbarItem.[hm]: Implemented copyWithZone: for NSCopying,
266 removed an unused flag and shortened the flag names which were
267 somewhat long. Did some general cleanup. Implemented standard
268 items.
269
270 2003-08-28 Gregory John Casamento <greg_casamento@yahoo.com>
271
272 * Source/GSNibTemplates.m: Removed an extra release which was causing
273 a segfault. Added code to prevent calling the designated initializer
274 when isInterfaceBuilder is defined.
275
276 2003-08-27 Adam Fedor <fedor@gnu.org>
277
278 * Tools/gsnd/gsnd.m (main): Set daemon flag when forking.
279
280 2003-08-26 Adam Fedor <fedor@gnu.org>
281
282 * Version 0.8.9
283
284 2003-08-23 Gregory John Casamento <greg_casamento@yahoo.com>
285
286 * GSNibTemplates.m: Minor corrections and bugfixes.
287
288 2003-08-23 Gregory John Casamento <greg_casamento@yahoo.com>
289
290 * Source/GNUmakefile: Added new header to the list.
291 * Source/GSNibTemplates.m: Added assertion to GSClassSwapper to
292 prevent it from being initialized with superClassName and className
293 being the same.
294 * Source/NSToolbar.m: Added some more code to properly implement
295 this class.
296 * Source/NSToolbarItem.m: Added code to implement this class.
297 * Headers/AppKit/NSToolbar.h: Added flags declaration.
298 * Headers/AppKit/NSToolbarItem.h: Added attributes.
299 * Headers/Additions/GNUStepGUI/GSToolbarView.h: Private class which
300 will be used to display the toolbar in the window.
301
302 2003-08-22 Adam Fedor <fedor@gnu.org>
303
304 * Tools/gsnd/gsnd.m (main): Close any open file descriptors so
305 we can be a proper daemon.
306 Fixes #4825
307
308 2003-08-22 Gregory John Casamento <greg_casamento@yahoo.com>
309
310 * Source/GSNibTemplates.[hm]: Added new template classes to a new file
311 removed old templates and implemented GSClassSwapper, GSWindowTemplate,
312 GSViewTemplate and etc.. to act as stand-in object in the
313 interface builder application.
314 * NSBundleAdditions.m: Removed old template classes and moved some
315 of the hiddle classes to GSNibTemplates for better organization.
316
317 2003-08-20 Fred Kiefer <FredKiefer@gmx.de>
318
319 * Source/NSWindow.m
320 In [performClose:] call the method [shouldCloseWindowController:]
321 on the document instead of [windowShouldClose:]
322
323 2003-08-20 Fred Kiefer <FredKiefer@gmx.de>
324
325 * Source/NSMenuView.m
326 In [itemChanged:] call [setNeedsDisplayForItemAtIndex:] so that
327 changes get redisplayed.
328 * Source/NSPopUpButtonCell.m
329 Overall change to use method calls rather than direct ivar access.
330 [setMenu:] also call [setMenuView:]. [removeItemWithTitle],
331 [removeItemAtIndex] and [removeAllItems] make sure that the
332 selected item ivar gets unset, when this is
333 removed. [setMenuItem:] overwrite super method to set/unset the
334 image. [selectItem:] no longer changes the image of this
335 item. [synchronizeTitleAndSelectedItem] now works on the menu item
336 not the selected item. [attachPopUpWithFrame:inView:] added
337 listening for notifications. [dismissPopUp] remove listening for
338 notifications. Added [performClickWithFrame:inView:] and
339 [performClick:]. Further simplified [drawInteriorWithFrame:inView:].
340 [initWithCoder:] made sure that old stored objects still get read
341 in correctly even if most ivars may be set wrong.
342 * Source/NSPopUpButton.m
343 In [keyDown:] removed setting and unsetting of notification
344 listening, as this now gets handled in NSPopUpButtonCell.
345
346 2003-08-20 14:36 Alexander Malmberg <alexander@malmberg.org>
347
348 * Source/GSFontInfo.m (+sharedEnumerator,
349 +fontInfoForFontName:matrix:screenFont:): Assert that the backend
350 classes have been set.
351
352 * Source/NSBrowser.m (+initialize, -initWithFrame:): Don't create
353 the shared title cell in +initialize. Creating the cell requires
354 that the backend has been set up (by creating the shared application
355 object). We can't assume that this has been done before +initialize
356 is called.
357
358 * Source/NSTextView.m (+initialize, -initWithFrame:textContainer:):
359 Don't register for services in +initialize for the same reason: the
360 shared application object might not have been created yet (also, note
361 that calling +sharedApplication is unsafe; it will create a shared
362 application object, but in some cases of the wrong class, which would
363 lead to confusing errors later).
364
365 2003-08-20 14:08 Alexander Malmberg <alexander@malmberg.org>
366
367 Clean up code to remove warnings issued by (what will become)
368 gcc 3.4.
369
370 * Model/GMArchiver.m, Source/GSFusedSilica.m,
371 Source/GSFusedSilicaContext.m, Source/NSResponder.m: Don't return
372 values from methods returning void.
373
374 2003-08-19 Adam Fedor <fedor@gnu.org>
375
376 * Source/NSImageRep.m ([NSImageRep +imageRepsWithContentsOfFile:]):
377 Make sure extension is lowercase.
378 Fixes #4750.
379
380 2003-08-18 Adam Fedor <fedor@gnu.org>
381
382 * Model/GNUmakefile (ADDITIONAL_INCLUDE_DIRS): Don't include
383 ../Headers on non-gnu targets.
384
385 2003-08-17 Adam Fedor <fedor@gnu.org>
386
387 * Source/NSTableView.m ([NSTableView -textDidBeginEditing:]): Fix leak
388 of dictionary object.
389 ([NSTableView -textDidChange:]): Idem.
390 ([NSTableView -textDidEndEditing:]): Idem.
391 Fixes #4568.
392
393 2003-08-17 Adam Fedor <fedor@gnu.org>
394
395 * Source/NSImageCell.m ([NSImageCell -setObjectValue:]): Implement.
396
397 2003-08-17 Benhur Stein <benhur@inf.ufsm.br>
398 * NSBrowser.m:
399 (-selectRow:inColumn:): cleanup
400 (-loadedCellAtRow:column:): cleanup
401 (-matrixInColumn:): return nil if column not in _browserColumns
402 (-setPath:): cleanup; fix optimization for not loading columns that
403 are already loaded
404 (-setLastColumn:): return if column is not loaded; remove unnecessary
405 call to setNeedsDisplay:; remove columns greater than
406 _lastVisibleColumn instead of numberOfVisibleColumns; call
407 scrollColumnToVisible instead of making it by hand.
408 (-reloadColumn:): reselect previously selected cells by searching them
409 in reloaded matrix, instead of by position
410 (-scrollColumnToVisible:): removed test that assumed that if
411 numberOfVisibleColums is enough to display all loaded columns, they
412 are all displayed. This is not always the case now.
413 (-tile): hack to garantee that all visible columns exist. Should fix
414 the code that's before instead.
415 (-doClick:): cleanup; removed drawing of matrix's cells
416 (-moveLeft:): cleanup; move left from firstResponder instead of from
417 selectedColumn
418 (-moveRight:): cleanup; move right from firstResponder instead of from
419 selectedColumn; removed call to doClick:
420 (-_performLoadOfColumn:): change _lastColumnLoaded if necessary
421
422 2003-08-16 Matt Rice <ratmice@yahoo.com>
423
424 * Source/NSDocument.m ([NSDocument -init]): Check the count of the
425 types array and uses Viewer and Editor NSRoles to set the default
426 type.
427
428 2003-08-13 David Ayers <d.ayers@inode.at>
429
430 * Headers/gnustep/gui/*.h/*.h.in: Remove headers moved in header
431 reorganization on 2003-07-31.
432 * Headers/Additions/GNUstepGUI/GSVersion.h: Remove generated
433 file that should have been ignored by entry in .cvsignore.
434
435 2003-08-05 Martin Brecher <martin@mb-itconsulting.com>
436
437 * Documentation/gopen.1: New file.
438 * Documentation/GNUmakefile: Install it.
439
440 2003-08-10 23:27 Alexander Malmberg <alexander@malmberg.org>
441
442 * Headers/Additions/GNUstepGUI/GSFontInfo.h: Add new methods in
443 GSFontEnumerator that return the default names of some standard
444 fonts.
445
446 * Source/GSFontInfo.m: Implement them.
447
448 * Source/NSFont.m: Use them.
449
450 2003-08-07 Richard Frith-Macdonald <rfm@gnu.org>
451
452 * Documentation/GNUmakefile.postamble: Invoke Source/DocMakefile to
453 clean reference documentation.
454
455 2003-08-02 Ludovic Marcotte <ludovic@Sophos.ca>
456
457 * Modified NSPopUpButtonCell: -insertItemWithTitle: atIndex:
458 so that we get our item count after removing a potential
459 duplicated item value.
460
461
462 2003-08-01 Adam Fedor <fedor@gnu.org>
463
464 * Documentation/GNUmakefile.postamble (after-install): Install
465 gsdoc docs in proper places.
466 * Source/DocMakefile: Add GuiUser DOCUMENT
467
468 * Images/GNUmakefile: Remove obsolete files.
469
470 2003-07-31 David Ayers <d.ayers@inode.at>
471
472 * Created tag 'pre-header-reorg-20030731'.
473
474 * Headers/Additions/GNUstepGUI: New directory.
475 * Headers/AppKit: Ditto.
476 * Headers/gnustep/gui: Obsoleted.
477
478 * Headers/Additions/GNUstepGUI/GMAppKit.h: Moved here from
479 Headers/gnustep/gui.
480 * Headers/Additions/GNUstepGUI/GMArchiver.h: Ditto.
481 * Headers/Additions/GNUstepGUI/GSDisplayServer.h: Ditto.
482 * Headers/Additions/GNUstepGUI/GSFontInfo.h: Ditto.
483 * Headers/Additions/GNUstepGUI/GSFusedSilica.h: Ditto.
484 * Headers/Additions/GNUstepGUI/GSHbox.h: Ditto.
485 * Headers/Additions/GNUstepGUI/GSHelpManagerPanel.h: Ditto.
486 * Headers/Additions/GNUstepGUI/GSHorizontalTypesetter.h: Ditto.
487 * Headers/Additions/GNUstepGUI/GSInfoPanel.h: Ditto.
488 * Headers/Additions/GNUstepGUI/GSLayoutManager.h: Ditto.
489 * Headers/Additions/GNUstepGUI/GSLayoutManager_internal.h: Ditto.
490 * Headers/Additions/GNUstepGUI/GSMemoryPanel.h: Ditto.
491 * Headers/Additions/GNUstepGUI/GSMethodTable.h: Ditto.
492 * Headers/Additions/GNUstepGUI/GSNibTemplates.h: Ditto.
493 * Headers/Additions/GNUstepGUI/GSPasteboardServer.h: Ditto.
494 * Headers/Additions/GNUstepGUI/GSServicesManager.h: Ditto.
495 * Headers/Additions/GNUstepGUI/GSTable.h: Ditto.
496 * Headers/Additions/GNUstepGUI/GSTextConverter.h: Ditto.
497 * Headers/Additions/GNUstepGUI/GSTrackingRect.h: Ditto.
498 * Headers/Additions/GNUstepGUI/GSTypesetter.h: Ditto.
499 * Headers/Additions/GNUstepGUI/GSVbox.h: Ditto.
500 * Headers/Additions/GNUstepGUI/GSVersion.h: Ditto.
501 * Headers/Additions/GNUstepGUI/GSVersion.h.in: Ditto.
502 * Headers/Additions/GNUstepGUI/IMConnectors.h: Ditto.
503 * Headers/Additions/GNUstepGUI/IMCustomObject.h: Ditto.
504 * Headers/Additions/GNUstepGUI/IMLoading.h: Ditto.
505 * Headers/Additions/GNUstepGUI/.cvsignore: Ditto.
506
507 * Headers/AppKit/AppKit.h: Ditto.
508 * Headers/AppKit/AppKitDefines.h: Ditto.
509 * Headers/AppKit/AppKitExceptions.h: Ditto.
510 * Headers/AppKit/DPSOperators.h: Ditto.
511 * Headers/AppKit/NSActionCell.h: Ditto.
512 * Headers/AppKit/NSAffineTransform.h: Ditto.
513 * Headers/AppKit/NSApplication.h: Ditto.
514 * Headers/AppKit/NSAttributedString.h: Ditto.
515 * Headers/AppKit/NSBezierPath.h: Ditto.
516 * Headers/AppKit/NSBitmapImageRep.h: Ditto.
517 * Headers/AppKit/NSBox.h: Ditto.
518 * Headers/AppKit/NSBrowser.h: Ditto.
519 * Headers/AppKit/NSBrowserCell.h: Ditto.
520 * Headers/AppKit/NSButton.h: Ditto.
521 * Headers/AppKit/NSButtonCell.h: Ditto.
522 * Headers/AppKit/NSCachedImageRep.h: Ditto.
523 * Headers/AppKit/NSCell.h: Ditto.
524 * Headers/AppKit/NSClipView.h: Ditto.
525 * Headers/AppKit/NSColor.h: Ditto.
526 * Headers/AppKit/NSColorList.h: Ditto.
527 * Headers/AppKit/NSColorPanel.h: Ditto.
528 * Headers/AppKit/NSColorPicker.h: Ditto.
529 * Headers/AppKit/NSColorPicking.h: Ditto.
530 * Headers/AppKit/NSColorWell.h: Ditto.
531 * Headers/AppKit/NSComboBox.h: Ditto.
532 * Headers/AppKit/NSComboBoxCell.h: Ditto.
533 * Headers/AppKit/NSControl.h: Ditto.
534 * Headers/AppKit/NSCursor.h: Ditto.
535 * Headers/AppKit/NSCustomImageRep.h: Ditto.
536 * Headers/AppKit/NSDataLink.h: Ditto.
537 * Headers/AppKit/NSDataLinkManager.h: Ditto.
538 * Headers/AppKit/NSDataLinkPanel.h: Ditto.
539 * Headers/AppKit/NSDocument.h: Ditto.
540 * Headers/AppKit/NSDocumentController.h: Ditto.
541 * Headers/AppKit/NSDocumentFrameworkPrivate.h: Ditto.
542 * Headers/AppKit/NSDragging.h: Ditto.
543 * Headers/AppKit/NSDrawer.h: Ditto.
544 * Headers/AppKit/NSEPSImageRep.h: Ditto.
545 * Headers/AppKit/NSEvent.h: Ditto.
546 * Headers/AppKit/NSFileWrapper.h: Ditto.
547 * Headers/AppKit/NSFont.h: Ditto.
548 * Headers/AppKit/NSFontManager.h: Ditto.
549 * Headers/AppKit/NSFontPanel.h: Ditto.
550 * Headers/AppKit/NSForm.h: Ditto.
551 * Headers/AppKit/NSFormCell.h: Ditto.
552 * Headers/AppKit/NSGraphics.h: Ditto.
553 * Headers/AppKit/NSGraphicsContext.h: Ditto.
554 * Headers/AppKit/NSHelpManager.h: Ditto.
555 * Headers/AppKit/NSHelpPanel.h: Ditto.
556 * Headers/AppKit/NSImage.h: Ditto.
557 * Headers/AppKit/NSImageCell.h: Ditto.
558 * Headers/AppKit/NSImageRep.h: Ditto.
559 * Headers/AppKit/NSImageView.h: Ditto.
560 * Headers/AppKit/NSInputManager.h: Ditto.
561 * Headers/AppKit/NSInputServer.h: Ditto.
562 * Headers/AppKit/NSInterfaceStyle.h: Ditto.
563 * Headers/AppKit/NSLayoutManager.h: Ditto.
564 * Headers/AppKit/NSMatrix.h: Ditto.
565 * Headers/AppKit/NSMenu.h: Ditto.
566 * Headers/AppKit/NSMenuItem.h: Ditto.
567 * Headers/AppKit/NSMenuItemCell.h: Ditto.
568 * Headers/AppKit/NSMenuView.h: Ditto.
569 * Headers/AppKit/NSNibConnector.h: Ditto.
570 * Headers/AppKit/NSNibDeclarations.h: Ditto.
571 * Headers/AppKit/NSNibLoading.h: Ditto.
572 * Headers/AppKit/NSOpenGL.h: Ditto.
573 * Headers/AppKit/NSOpenGLView.h: Ditto.
574 * Headers/AppKit/NSOpenPanel.h: Ditto.
575 * Headers/AppKit/NSOutlineView.h: Ditto.
576 * Headers/AppKit/NSPageLayout.h: Ditto.
577 * Headers/AppKit/NSPanel.h: Ditto.
578 * Headers/AppKit/NSParagraphStyle.h: Ditto.
579 * Headers/AppKit/NSPasteboard.h: Ditto.
580 * Headers/AppKit/NSPopUpButton.h: Ditto.
581 * Headers/AppKit/NSPopUpButtonCell.h: Ditto.
582 * Headers/AppKit/NSPrintInfo.h: Ditto.
583 * Headers/AppKit/NSPrintOperation.h: Ditto.
584 * Headers/AppKit/NSPrintPanel.h: Ditto.
585 * Headers/AppKit/NSPrinter.h: Ditto.
586 * Headers/AppKit/NSProgressIndicator.h: Ditto.
587 * Headers/AppKit/NSResponder.h: Ditto.
588 * Headers/AppKit/NSRulerMarker.h: Ditto.
589 * Headers/AppKit/NSRulerView.h: Ditto.
590 * Headers/AppKit/NSSavePanel.h: Ditto.
591 * Headers/AppKit/NSScreen.h: Ditto.
592 * Headers/AppKit/NSScrollView.h: Ditto.
593 * Headers/AppKit/NSScroller.h: Ditto.
594 * Headers/AppKit/NSSecureTextField.h: Ditto.
595 * Headers/AppKit/NSSelection.h: Ditto.
596 * Headers/AppKit/NSSlider.h: Ditto.
597 * Headers/AppKit/NSSliderCell.h: Ditto.
598 * Headers/AppKit/NSSound.h: Ditto.
599 * Headers/AppKit/NSSpellChecker.h: Ditto.
600 * Headers/AppKit/NSSpellProtocol.h: Ditto.
601 * Headers/AppKit/NSSpellServer.h: Ditto.
602 * Headers/AppKit/NSSplitView.h: Ditto.
603 * Headers/AppKit/NSStepper.h: Ditto.
604 * Headers/AppKit/NSStepperCell.h: Ditto.
605 * Headers/AppKit/NSStringDrawing.h: Ditto.
606 * Headers/AppKit/NSTabView.h: Ditto.
607 * Headers/AppKit/NSTabViewItem.h: Ditto.
608 * Headers/AppKit/NSTableColumn.h: Ditto.
609 * Headers/AppKit/NSTable* HeaderCell.h: Ditto.
610 * Headers/AppKit/NSTable* HeaderView.h: Ditto.
611 * Headers/AppKit/NSTableView.h: Ditto.
612 * Headers/AppKit/NSText.h: Ditto.
613 * Headers/AppKit/NSTextAttachment.h: Ditto.
614 * Headers/AppKit/NSTextContainer.h: Ditto.
615 * Headers/AppKit/NSTextField.h: Ditto.
616 * Headers/AppKit/NSTextFieldCell.h: Ditto.
617 * Headers/AppKit/NSTextStorage.h: Ditto.
618 * Headers/AppKit/NSTextView.h: Ditto.
619 * Headers/AppKit/NSToolbar.h: Ditto.
620 * Headers/AppKit/NSToolbarItem.h: Ditto.
621 * Headers/AppKit/NSUserInterfaceValidation.h: Ditto.
622 * Headers/AppKit/NSView.h: Ditto.
623 * Headers/AppKit/NSWindow.h: Ditto.
624 * Headers/AppKit/NSWindowController.h: Ditto.
625 * Headers/AppKit/NSWorkspace.h: Ditto.
626 * Headers/AppKit/PSOperators.h: Ditto.
627
628 * configure.ac: Update to new header structure.
629 * configure: Regenerated.
630 * GNUmakefile.postamble: Remove handling of header-links and
631 update to new header structure.
632
633 * Source/GNUmakefile: Update to new header structure.
634 Install gnustep specific headers in GNUstepGUI by splitting
635 libgnustep-gui_HEADER_FILES into APPKIT_HEADERS and GUI_HEADERS.
636 Include CompatibilityHeaders.make makefile fragement.
637
638 * Source/GNUmakefile.preamble: Update to new header structure.
639 * Source/CompatibilityHeaders.make: New file which installs dummy
640 headers in the place of the old headers, warning about obsoleting
641 the old location and includeing the header from its new location.
642
643 * Source/GNUmakefile.postamble: Install AppKit Headers manually.
644 * Source/*.[hm]: Update includes for new header structure.
645 * Source/GSGuiPrivate.h: Moved here from Headers/gnustep/gui.
646 * Source/GSFusedSilica.h: Ditto.
647 * Source/nsimage-tiff.h: Ditto.
648
649 * Tools/GNUmakefile.preamble: Update to new header structure.
650 * Tools/example.m: Remove include of config.h.
651
652 * ColorPickers/GNUmakefile: Update to new header structure.
653 * ColorPickers/*.[hm]: Ditto.
654
655 * TextConverters/RTF/GNUmakefile.preamble: Update to new header
656 structure.
657 * TextConverters/RTF/*.[hm]: Ditto.
658
659 * Documentation/gnustep-gui.texi: Update to new header structure.
660 * Documentation/Gui/Gui.gsdoc: Remmove gnustep additions.
661 * Documentation/GuiAdditions/.cvsignore: New file.
662 * Documentation/GuiAdditions/GNUmakefile: Ditto.
663 * Documentation/GuiAdditions/GuiAdditions.gsdoc: Ditto.
664
665 * Model/GNUmakefile: Update to new header structure.
666 * GNUmakefile.postamble: Ditto.
667 * Model/*.[hm]: Ditto.
668
669 * Resources/GNUmakefile: Update to new header structure.
670
671 * Source/DocMakefile: Update to new header structure.
672 Added GuiAdditions to DOCUMENT_NAME.
673 Split AUTOGSDOC_HEADERS into AUTOGSDOC_HEADERS_GUI and
674 AUTOGSDOC_HEADERS_GUIADD.
675
676
677 2003-07-31 Michael Hanni <mhanni@yahoo.com>
678
679 * Source/NSBrowserCell.m (drawInteriorWithFrame:inView:): Remove
680 unnecessary code to set the background of an image.
681 * Source/NSButtonCell.m: ditto.
682 * Source/NSMenuItemCell.m: remove usage of system image
683 "common_3DArrowRightH" as it is unneeded.
684 (drawImageWithFrame:inView:): remove unnecessary code to set the
685 background of an image.
686 (drawKeyEquivalentWithFrame:inView:): ditto.
687 (drawStateImageWithFrame:inView:): ditto.
688 * Source/NSScroller.m: remove usage of system images
689 (common_ArrowUpH, common_ArrowDownH, common_ArrowLeftH,
690 common_ArrowRightH) as they are unnecessary.
691 (drawParts): reset HighlightsBy: code for all the cells, remove
692 all the alternate images.
693 * Source/NSTableHeaderCell.m (drawInteriorWithFrame:inView:):
694 remove unnecessary call to set the background of an image.
695 * Images/(common_ArrowUpH, common_ArrowDownH, common_ArrowLeftH,
696 common_ArrowRightH).tiff: removed.
697
698 2003-07-31 Yen-Ju Chen <yjchenx@hotmail.com>
699
700 * Documentation/Gui/LanguageSetup.gsdoc: Updated.
701
702 2003-07-27 17:53 Alexander Malmberg <alexander@malmberg.org>
703
704 * Source/NSColor.m (+colorFromString:): Use NSScanner instead of
705 sscanf to avoid problems on non-c locales.
706
707 (initSystemColors): Make the creation of the system color list
708 more robust. If entries are missing, add them.
709
710 2003-07-26 18:50 Alexander Malmberg <alexander@malmberg.org>
711
712 * Source/NSView.m, Source/NSWindow.m: Make drawing debug logging
713 more detailed.
714
715 2003-07-26 Fred Kiefer <FredKiefer@gmx.de>
716
717 * Panel/English.proj/GSPageLayout.gorm/objects.gorm
718 * Panel/English.proj/GSPrintPanel.gorm/objects.gorm
719 Made all buttons non-continuous.
720
721 2003-07-26 Fred Kiefer <FredKiefer@gmx.de>
722
723 * Headers/gnustep/gui/NSTableView.h
724 Added new ivar _action.
725 * Source/NSTableView.m
726 Implemented methods [action] and [setAction:].
727
728 2003-07-26 Fred Kiefer <FredKiefer@gmx.de>
729
730 * Tools/gopen.m
731 The option -a no longer starts the provided applciation
732 directly, but uses this application to open the specified files.
733
734 2003-07-26 Fred Kiefer <FredKiefer@gmx.de>
735
736 * Source/NSColorPicker.m
737 Autorelease image returned by [provideNewButtonImage].
738 * Source/NSColorPanel.m
739 * ColorPickers/GSStandardColorPicker.m
740 In [_setupPickers] release cell array.
741 * ColorPickers/GSNamedColorPicker.m
742 Now basically working.
743 * ColorPickers/GSNamedColorPicker.tiff
744 Removed background of image.
745 * ColorPickers/GNUmakefile
746 Activate GSNamedColorPicker.
747
748 2003-07-26 Richard Frith-Macdonald <rfm@gnu.org>
749
750 * Source/NSApplication.m: Use NSInvocation to perform actions, so
751 we can handle cases where the action method returns a non-id or
752 misses an argument.
753 * Source/NSResponder.m: ditto
754
755 2003-07-26 Fred Kiefer <FredKiefer@gmx.de>
756
757 * Source/NSImage.m
758 In [initWithIconHandle:] and [initWithBitmapHandle:] release the
759 new bitmap image representation after adding it to the array.
760 * Source/NSBitmapImageRep.m
761 In [_initFromTIFFImage:number:] free the info returned by
762 NSTiffGetInfo().
763 * Source/NSTableView.m
764 In [sizeToFit] free isResizable.
765 * Source/GSMemoryPanel.m
766 In [update:] free the list returned by GSDebugAllocationClassList().
767
768 2003-07-24 Adam Fedor <fedor@gnu.org>
769
770 * configure.ac: Fix setting ADDITIONAL_INCLUDE_... in
771 audiofile section.
772
773 2003-07-23 Gregory John Casamento <greg_casamento@yahoo.com>
774
775 * Panels/GSSpellPanel.gorm: Added to replace old .gmodel
776 * Source/NSSpellChecker.m: Updated to use .gorm file.
777
778 2003-07-23 Adam Fedor <fedor@gnu.org>
779
780 * Version 0.8.8
781
782 2003-07-23 Richard Frith-Macdonald <rfm@gnu.org>
783
784 * Source/DocMakefile: only remove directory containing 'stamp' for
785 clean.
786
787 2003-07-23 22:23 Alexander Malmberg <alexander@malmberg.org>
788
789 * Headers/gnustep/gui/NSResponder.h: Make _menu private.
790
791 * Headers/gnustep/gui/NSMenuView.h: Add _attachedMenu ivar.
792 * Source/NSMenuView.m: Use it.
793
794 2003-07-22 Adam Fedor <fedor@gnu.org>
795
796 * Source/NSOpenGLView.m ([NSOpenGLView -initWithFrame:]): Implemented
797 (Patch from Damien Genet).
798
799 2003-07-22 Richard Frith-Macdonald <rfm@gnu.org>
800
801 * Documentation/GNUmakefile.postamble: Tweak for make update.
802 * Source/DocMakefile: ditto
803 * Headers/gnustep/gui/NSLayoutManager.h: documentation tweaks.
804 * Headers/gnustep/gui/NSRulerMarker.h: ditto
805 * Headers/gnustep/gui/NSText.h: ditto
806 * Headers/gnustep/gui/NSTextContainer.h: ditto
807 * Source/NSLayoutManager.m: ditto
808 * Source/NSPopUpButtonCell.m: ditto
809 * Source/NSTextContainer.m: ditto
810 * Source/NSWorkspace.m: ditto
811 * Source/NSFont.m: ditto
812 * Source/NSOpenPanel.m: ditto
813 * Source/NSPasteboard.m: ditto
814 * Source/NSView.m: ditto
815 * Source/NSBezierPath.m: ditto
816 * Source/NSGraphicsContext.m: ditto
817 * Headers/gnustep/gui/NSBezierPath.h: ditto
818 * Headers/gnustep/gui/NSMenu.h: ditto
819
820 2003-07-22 Andrew Ruder <aeruder@ksu.edu>
821
822 * Source/NSWindow.m: Fix potential (unlikely) leak
823 * Source/NSCursor.m: Fix memory leak;
824 * Source/NSResponder.m: Fix memory leak;
825 * Source/NSPrintPanel.m: Fix memory leak;
826
827 2003-07-21 Kazunobu Kuriyama <kazunobu.kuriyama@nifty.com>
828
829 * Documentation/Gui/LanguageSetup.gsdoc: Update.
830
831 2003-07-21 Andrew Ruder <aeruder@ksu.edu>
832
833 * Source/NSBundleAdditions.m: Fix memory leaks.
834
835 2003-07-21 Andrew Ruder <aeruder@ksu.edu>
836
837 * Source/GSMemoryPanel.m: Add dealloc method
838 * Source/NSOutlineView.m: Efficiency tweak.
839 * Headers/AppKit/NSComboBoxCell.h:Fix misplaced semicolon
840 * Source/NSSelection.m: Fix memory leak
841 * Source/NSComboBoxCell.m: Fix misplaced semicolon.
842 * Source/NSPageLayout.m: Fix memory leak.
843 * Source/NSMenuView.m: Fix memory leak.
844 * Source/NSToolbar.m: Fix memory leak and tidy
845 * Source/GSServicesManager.m: Clarify retain/release of timer.
846
847 2003-07-21 Richard Frith-Macdonald <rfm@gnu.org>
848
849 * Source/NSFileWrapper.m: Tidy initialisation and fix leak in
850 dealloc.
851 * Source/NSTextAttachment.m: ditto.
852 * Source/NSGraphicsContext.m: Memory leak fixes (suggested by Andrew
853 Ruder) and initialisation tidyups.
854 * Source/NSInputManager.m: ditto
855 * Source/NSOpenPanel.m: ditto
856 * Source/NSDocument.m: minor tidyup in init and add some documentation
857 * Source/NSDocumentController.m: add some documentation
858
859 2003-07-19 Adam Fedor <fedor@gnu.org>
860
861 * GNUmakefile: Build Documentation if doc=yes (yes by default).
862
863 * Tools/gsnd/GNUmakefile.postamble: Linke in pthreads if not
864 already linked in (non-mingw targets only).
865 * Tools/gsnd/portaudio/pa_unix_oss/pa_unix_oss.c: On OpenBSD
866 include soundcard.h.
867
868 * Panels/English.proj: Replace GSPageLayout.gorm and
869 GSPrintPanel.gorm with updated GOrm dirs. Make Options button
870 non-continuous.
871 * Panels/GNUmakefile.postamble (after-install): Install the
872 gorm dirs.
873
874 2003-07-19 Fred Kiefer <FredKiefer@gmx.de>
875
876 * Source/NSPopUpButtonCell.m
877 Added methods [init], [objectValue], [setObjectValue:],
878 [setImage:]. In [initTextCell:pullsDown:] create the menu first,
879 so that the first item gets entered to it. In [setPullsDown:] and
880 [setAltersStateOfSelectedItem] set the values that depend on these
881 flags. In [insertItemWithTitle:atIndex:] remove duplicates.
882 [selectItem:] the used image now depends on the arrow
883 position. Removed [drawWithFrame:inView:] and rewrote
884 [drawInteriorWithFrame:inView:].
885
886 2003-07-18 Fred Kiefer <FredKiefer@gmx.de>
887
888 * Headers/gnustep/gui/NSControl.h
889 * Source/NSControl.m
890 New MacOSX methods [formatter], [setFormatter:],
891 [attributedStringValue], [setAttributedStringValue:].
892
893 2003-07-16 Adam Fedor <fedor@gnu.org>
894
895 * Documentation/Gui/LanguageSetup.gsdoc: Updated with changes from
896 Yen-Ju Chen and (Kazunobu Kuriyama.)
897
898 2003-07-16 Fred Kiefer <FredKiefer@gmx.de>
899
900 * TextConverters/RTF/rtfGrammer.y
901 Free the name for RTFOtherStatement.
902 * TextConverters/RTF/rtfGrammer.tab.c
903 Regenerated.
904
905 2003-07-15 Fred Kiefer <FredKiefer@gmx.de>
906
907 * TextConverters/RTF/RTFConsumerFunctions.h
908 Added function GSRTFunicode().
909 * TextConverters/RTF/RTFConsumer.m
910 Added method [RTFConsumer appendString:] with code coming from
911 GSRTFmangleText(). Use this in GSRTFmangleText() and new function
912 GSRTFunicode(). Corrected GSRTFmangleText() to convert the input
913 from NSISOLatin1StringEncoding, as this is what our current RTF
914 exporter produces.
915 * TextConverters/RTF/rtfScanner.c
916 Define RTFunichar token.
917 * TextConverters/RTF/rtfGrammer.y
918 Added rule to read unicode character from RTF input.
919 * TextConverters/RTF/rtfGrammer.tab.c
920 * TextConverters/RTF/rtfGrammer.tab.h
921 Regenerated.
922
923 2003-07-14 Richard Frith-Macdonald <rfm@gnu.org>
924
925 * Headers/gnustep/gui/GSServicesManager.h: removed a function
926 * Headers/gnustep/gui/NSApplication.h: and added it here so it's
927 public. Also fixed some argument name missmatches.
928 * Source/GSServicesManager.m: Some fixes for recent changes to
929 DO in base library ... also make listener even safer.
930 * Source/NSPasteboard.m: Improve documentation and change pasteboards
931 to always be sent over DO bycopy.
932 * Tools/example.m: Set error response to nil when there is no error.
933
934 2003-07-12 18:20 Alexander Malmberg <alexander@malmberg.org>
935
936 * Headers/gnustep/gui/NSTextView.h, Source/NSTextView.m: Add
937 -_updateInputMethodState and -_updateInputMethodWithInsertionPoint:
938 methods. Call them in suitable places. Minor cleanups in comments.
939
940 2003-07-12 Gregory John Casamento <greg_casamento@yahoo.com>
941
942 * Source/NSMatrix.m: -[NSMatrix keyCell] failed to check if the
943 _cells array is initialized before accessing it. This was causing
944 a core dump when unarchiving.
945
946 2003-07-10 03:37 Alexander Malmberg <alexander@malmberg.org>
947
948 * Source/NSStringDrawing.m, Source/NSTextView.m: Adjust "really large"
949 sizes to ensure accuracy to a whole point.
950
951 2003-07-10 Benhur Stein <benhur@inf.ufsm.br>
952
953 * Source/NSSavePanel.m: added new private method
954 _compareFilename:with:. Use it in _selectCellName:.
955 In [-browser:createRowsForColumn:inMatrix:]: use self as context to
956 sortedArrayUsingFunction:context:
957 * Source/NSOpenPanel.m (-_selectCellName:): use new [NSSavePanel
958 _compareFilename:with:] method.
959 * This fixes bug #4255
960
961 2003-07-05 Adam Fedor <fedor@gnu.org>
962
963 * configure.ac: Add openbsd flags like freebsd.
964
965 * Documentation/Gui/DefaultsSummary.gsdoc: Move backend defaults
966 to back/Documentation/Back/DefaultsSummary.gsdoc.
967
968 2003-07-05 18:02 Alexander Malmberg <alexander@malmberg.org>
969
970 * Source/NSLayoutManager.m
971 (-textStorage:edited:range:changeInLength:invalidatedRange:): Improve
972 behavior of the adjustments to the selected range.
973
974 2003-07-05 17:20 Alexander Malmberg <alexander@malmberg.org>
975
976 * Source/NSAttributedString.m (-fixParagraphStyleAttributeInRange:):
977 Handle paragraphs with a paragraph style set for a part of it but
978 not the first character correctly.
979
980 * Source/NSFont.m (getNSFont): Retain/autorelease when returning a
981 cached instance to make the retain status of the instance correct.
982
983 2003-07-05 16:07 Alexander Malmberg <alexander@malmberg.org>
984
985 * Source/NSFont.m (-initWithCoder:): Make sure that the returned
986 font has a correct retain count on all paths.
987
988 2003-07-04 Richard Frith-Macdonald <rfm@gnu.org>
989
990 * Source/NSPasteboard.m: Add code to set protocols for proxy objects.
991 and dum my class implementations to let protocols work with old
992 compilers.
993 * Headers/AppKit/GSPasteboard.h: Add missing method of owner.
994
995 2003-07-03 01:43 Alexander Malmberg <alexander@malmberg.org>
996
997 * Source/NSFont.m (getNSFont): Only update the cache when the font
998 has the default size.
999
1000 2003-07-02 16:38 Alexander Malmberg <alexander@malmberg.org>
1001
1002 * Source/NSFont.m: (Mostly) rewrite handling of standard fonts to
1003 provide better behavior, especially when only some fonts are set in
1004 the defaults. Updated documentation.
1005
1006 2003-07-01 Serg Stoyan <stoyan@hologr.com>
1007
1008 * Source/NSBrowser.m (_createColumn):
1009 Set border type of column's scroll view according to
1010 _separateColumns flag.
1011
1012 2003-06-29 20:15 Alexander Malmberg <alexander@malmberg.org>
1013
1014 * Source/NSWorkspace.m (-launchApplication:showIcon:autolaunch:):
1015 Add a missing '@'.
1016
1017 2003-06-29 17:37 Alexander Malmberg <alexander@malmberg.org>
1018
1019 * Source/NSStringDrawing.m (-drawAtPoint:, -drawAtRect:, -size):
1020 Automatically turn off screen fonts in the layout manager if the
1021 ctm for the current context isn't the identity matrix (possibly
1022 flipped vertically).
1023
1024 2003-06-28 Richard Frith-Macdonald <rfm@gnu.org>
1025
1026 * Tools/make_services.m: Alter format of filter info.
1027 * Tools/example.m: Added an example filter.
1028 * Tools/md5Digest.m: Example filter user.
1029 * Source/GSServicesManager.m: tweak for filters.
1030 * Source/NSPasteboard.m: more documentation
1031
1032 2003-06-27 Richard Frith-Macdonald <rfm@gnu.org>
1033
1034 * Source/NSPasteboard.m: Documented all methods, fixed minor bugs
1035 writing fiels to pastebaords, implemented ([+typesFilterableTo:])
1036 wrote (partial implementation ...) the unimplemented filters stuff.
1037 * Source/GSServicesManager.m: helpers for filters.
1038 * Headers/AppKit/GSPasteboard.h: Removed unused methods, added
1039 documentation.
1040
1041 2003-06-26 Ludovic Marcotte <ludovic@Sophos.ca>
1042
1043 * Fixed the transparency of Images/common_ret.tiff
1044 * Source/NSOutlineView (-setDataSource:) Modified to allow
1045 a nil data source.
1046
1047 2003-06-26 Fred Kiefer <FredKiefer@gmx.de>
1048
1049 * Headers/gnustep/gui/GSLayoutManager.h
1050 Changed ivars cached_pos and cached_cpos to unsigned.
1051 * Headers/gnustep/gui/GSLayoutManager_internal.h
1052 Changed element char_offset of structure glyph_t to unsigned.
1053 * Source/GSLayoutManager.m (_glyphDumpRuns,
1054 helpers::generateRunsToCharacter:,
1055 helpers::generateGlyphsUpToCharacter:,
1056 helpers::generateGlyphsUpToGlyph:,
1057 helpers::glyphForCharacter:index:positions::, getGlyphs:range:,
1058 characterRangeForGlyphRange:actualGlyphRange:,
1059 glyphRangeForCharacterRange:actualCharacterRange:,
1060 invalidateGlyphsForCharacterRange:changeInLength:actualCharacterRange:,
1061 insertTextContainer:atIndex:):
1062 Removed compiler warning about signed/unsigned comparision.
1063
1064 2003-06-25 Fred Kiefer <FredKiefer@gmx.de>
1065
1066 * Source/NSImage.m (initWithPasteboard:):
1067 * Source/NSView.m (dragFile:fromRect:slideBack:event:):
1068 Corrected handling of pasteboard data of type NSFilenamesPboardType.
1069
1070 2003-06-24 01:05 Alexander Malmberg <alexander@malmberg.org>
1071
1072 * Source/NSTabViewItem.m (-drawLabel:inRect:): Update for change
1073 in the behavior of -drawAtPoint:. Use -drawInRect: instead.
1074
1075 2003-06-23 19:03 Alexander Malmberg <alexander@malmberg.org>
1076
1077 * Source/NSStringDrawing.m (-drawAtPoint:): Place the text correctly
1078 when the view isn't flipped.
1079
1080 2003-06-23 Fred Kiefer <FredKiefer@gmx.de>
1081
1082 * Source/NSPanel.m
1083 Commented out unused variables WTitleHeight, ScrollMinSize,
1084 MessageMinHeight.
1085 * Source/NSTabView.m (selectNextTabViewItem:):
1086 * Source/NSTableView.m (selectAll:):
1087 * Source/NSTextStorage.m (edited:range:changeInLength:,
1088 processEditing):
1089 * Source/GSTextStorage.m (replaceCharactersInRange:withString:)
1090 * Source/tiff.m (NSTIFFRead, NSTIFFWrite, CheckAndCorrectColormap):
1091 * Source/GSTable.m (_updateForNewFrameSize:)
1092 * Source/NSTextView.m (changeFont:):
1093 Removed compiler warning about signed/unsigned comparision.
1094 * Source/GSHorizontalTypesetter.m
1095 Changed element char_index of structure glyph_cache_t to unsigned.
1096
1097 2003-06-22 Richard Frith-Macdonald <rfm@gnu.org>
1098
1099 * Source/NSWorkspace.m: Implement autolaunch flag and add
1100 documentation describing hwo GNUstep and MacOS-X actually
1101 handle launching ... hopefully more clearly than the
1102 somewhat misleading MacOS-X documentation.
1103
1104 2003-06-22 Fred Kiefer <FredKiefer@gmx.de>
1105
1106 * Headers/gnustep/gui/NSInputManager.h
1107 Changed ivar _abortFlags to unsigned. Changed all modifier
1108 parameters to unsigned.
1109 * Source/NSInputManager.m (initWithName:host:):
1110 Removed compiler warning about signed/unsigned comparision.
1111 Adopted to changes in header.
1112 * Headers/gnustep/gui/GSLayoutManager.h
1113 Changed ivars layout_glyph and layout_char to unsigned.
1114 * Headers/gnustep/gui/GSLayoutManager_internal.h
1115 Changed elements glyph_length and char_length of structure
1116 glyph_run_head_t to unsigned.
1117 * Source/NSLayoutManager.m
1118 (rectArrayForGlyphRange:...rectCount:,
1119 glyphRangeForBoundingRect:inTextContainer:,
1120 _insertionPointRectForCharacterIndex:textContainer:):
1121 Removed compiler warning about signed/unsigned comparision.
1122 * Source/NSMatrix.m (selectAll:)
1123 Removed compiler warning about signed/unsigned comparision.
1124 * Source/NSPageLayout.m (initWithContentRect:...screen:, readPrintInfo)
1125 Removed compiler warning about signed/unsigned comparision.
1126 * Headers/gnustep/gui/NSPopUpButtonCell.h
1127 Changed ivar _selectedItem to type (id <NSMenuItem>).
1128 * Source/NSPopUpButtonCell.m (insertItemWithTitle:atIndex:,
1129 selectItemAtIndex:, selectItemWithTitle:, setTitle:)
1130 Corrected type of local variable.
1131 * Source/NSPrintInfo.m
1132 In [+initPrintInfoDefaults] initialize variable printer with nil.
1133 * Source/NSPrintOperation.m (_print)
1134 Removed compiler warning about signed/unsigned comparision.
1135 * Source/NSPrintPanel.m
1136 Added missing include for GSGuiPrivate.h.
1137 (initWithContentRect:...screen:, updateFromPrintInfo)
1138 Removed compiler warning about signed/unsigned comparision.
1139
1140 2003-06-21 Adam Fedor <fedor@gnu.org>
1141
1142 * Source/NSOutlineView.m ([NSOutlineView -drawRow:clipRect:]):
1143 Add delegate method call. Patch from Yen-Ju Chen
1144
1145 * Source/NSView.m (-menuForEvent:): Add note about this
1146 method being discouraged.
1147
1148 2003-06-20 Adam Fedor <fedor@gnu.org>
1149
1150 * Source/NSFont.m ([NSFont -initWithCoder:]): Use NSFont not isa
1151 to call class methods.
1152
1153 2003-06-20 Adam Fedor <fedor@gnu.org>
1154
1155 * Source/DocMakefile (after-all): Check if Gui exists before
1156 removing.
1157
1158 2003-06-20 Adam Fedor <fedor@gnu.org>
1159
1160 * Version 0.8.7
1161
1162 2003-06-21 David Ayers <d.ayers@inode.at>
1163
1164 * PrinterTypes/GNUmakefile.postamble: Add -f option to rm in
1165 uninstall of resource files.
1166
1167 2003-06-17 Adam Fedor <fedor@gnu.org>
1168
1169 * GNUmakefile (SUBPROJECTS): Add Documentation
1170
1171 2003-06-17 Adam Fedor <fedor@gnu.org>
1172
1173 * Source/NSDocumentController.m: Add GSGuiPrivate header for
1174 localization.
1175 * Source/NSSavePanel.m: Idem.
1176
1177 2003-06-17 Fred Kiefer <FredKiefer@gmx.de>
1178
1179 * Headers/gnustep/gui/GSDisplayServer.h
1180 Changes style parameter of [stylewindow:style:] and
1181 [styleoffsets:::::] to unsigned, to be consistent with the other
1182 style methods.
1183 * Source/GSDisplayServer.m
1184 Adopted to changes in header.
1185
1186 2003-06-15 16:26 Alexander Malmberg <alexander@malmberg.org>
1187
1188 * Source/GSHorizontalTypesetter.m: Use NSIsEmptyRect instead of
1189 comparing for equality with NSZeroRect.
1190 (-layoutLineNewParagraph:): Handle text containers with no area.
1191
1192 2003-06-15 14:57 Alexander Malmberg <alexander@malmberg.org>
1193
1194 * configure.ac: Don't add GNUSTEP_HDIR/GNUSTEP_LDIR to
1195 ADDITIONAL_INCLUDE_DIRS/ADDITIONAL_LIB_DIRS.
1196 configure: Regenerate.
1197
1198 2003-06-15 02:35 Alexander Malmberg <alexander@malmberg.org>
1199
1200 * Headers/gnustep/gui/GSNibTemplates.h, Source/NSBundleAdditions.m:
1201 Remove unused GSFontProxy class.
1202
1203 2003-06-08 David Ayers <d.ayers@inode.at>
1204
1205 * Headers/gnustep/gui/IMConnectors.h: Change syntax of include <>
1206 to "" for local headers. Change base/ to gnustep/base/ in
1207 includes. Change AppKit/GSFiles.h to gnustep
1208 gnustep/gui/GSFiles.h includes.
1209 * Source/Functions.m, Source/GSDisplayServer.m, Source/GSFontInfo.m,
1210 Source/GSFusedSilica.m, Source/GSFusedSilicaContext.m,
1211 Source/GSHbox.m, Source/GSHelpManagerPanel.m,
1212 Source/GSInfoPanel.m, Source/GSKeyBindingAction.m,
1213 Source/GSKeyBindingTable.m, Source/GSLayoutManager.m,
1214 Source/GSMemoryPanel.m, Source/GSServicesManager.m,
1215 Source/GSSimpleLayoutManager.m, Source/GSSlideView.h
1216 Source/GSSlideView.m, Source/GSTable.m, Source/GSTextStorage.h
1217 Source/GSTextStorage.m, Source/GSTrackingRect.m,
1218 Source/GSTypesetter.m, Source/GSVbox.m, Source/NSActionCell.m,
1219 Source/NSAffineTransform.m, Source/NSApplication.m,
1220 Source/NSAttributedString.m, Source/NSBezierPath.m,
1221 Source/NSBitmapImageRep.m, Source/NSBox.m, Source/NSBrowser.m,
1222 Source/NSBrowserCell.m, Source/NSBundleAdditions.m,
1223 Source/NSButton.m, Source/NSButtonCell.m,
1224 Source/NSCachedImageRep.m, Source/NSCell.m, Source/NSClipView.m,
1225 Source/NSColor.m, Source/NSColorList.m, Source/NSColorPanel.m,
1226 Source/NSColorPicker.m, Source/NSColorWell.m,
1227 Source/NSComboBox.m, Source/NSComboBoxCell.m, Source/NSControl.m,
1228 Source/NSCursor.m, Source/NSCustomImageRep.m,
1229 Source/NSDataLink.m, Source/NSDataLinkManager.m,
1230 Source/NSDataLinkPanel.m, Source/NSDocument.m,
1231 Source/NSDocumentController.m, Source/NSDrawer.m,
1232 Source/NSEPSImageRep.m, Source/NSEvent.m, Source/NSFileWrapper.m,
1233 Source/NSFont.m, Source/NSFontManager.m, Source/NSFontPanel.m,
1234 Source/NSForm.m, Source/NSFormCell.m, Source/NSGraphicsContext.m,
1235 Source/NSHelpManager.m, Source/NSHelpPanel.m, Source/NSImage.m,
1236 Source/NSImageCell.m, Source/NSImageRep.m, Source/NSImageView.m,
1237 Source/NSInputManager.m, Source/NSInputServer.m,
1238 Source/NSInterfaceStyle.m, Source/NSLayoutManager.m,
1239 Source/NSMatrix.m, Source/NSMenu.m, Source/NSMenuItem.m,
1240 Source/NSMenuItemCell.m, Source/NSMenuView.m,
1241 Source/NSOpenGLContext.m, Source/NSOpenGLPixelFormat.m,
1242 Source/NSOpenGLView.m, Source/NSOpenPanel.m,
1243 Source/NSOutlineView.m, Source/NSPageLayout.m, Source/NSPanel.m,
1244 Source/NSParagraphStyle.m, Source/NSPasteboard.m,
1245 Source/NSPopUpButton.m, Source/NSPopUpButtonCell.m,
1246 Source/NSPrintInfo.m, Source/NSPrintOperation.m,
1247 Source/NSPrintPanel.m, Source/NSPrinter.m,
1248 Source/NSProgressIndicator.m, Source/NSResponder.m,
1249 Source/NSRulerMarker.m, Source/NSRulerView.m,
1250 Source/NSSavePanel.m, Source/NSScreen.m, Source/NSScrollView.m,
1251 Source/NSScroller.m, Source/NSSecureTextField.m,
1252 Source/NSSelection.m, Source/NSSlider.m, Source/NSSliderCell.m,
1253 Source/NSSound.m, Source/NSSpellChecker.m,
1254 Source/NSSpellServer.m, Source/NSSplitView.m, Source/NSStepper.m,
1255 Source/NSStepperCell.m, Source/NSStringDrawing.m,
1256 Source/NSTabView.m, Source/NSTabViewItem.m,
1257 Source/NSStepperCell.m, Source/NSStringDrawing.m,
1258 Source/NSTabView.m, Source/NSTabViewItem.m,
1259 Source/NSTableColumn.m, Source/NSTableHeaderCell.m,
1260 Source/NSTableHeaderView.m, Source/NSTableView.m,
1261 Source/NSText.m, Source/NSTextAttachment.m,
1262 Source/NSTextContainer.m, Source/NSTextField.m,
1263 Source/NSTextFieldCell.m, Source/NSTextStorage.m,
1264 Source/NSTextView.m, Source/NSTextView_actions.m,
1265 Source/NSToolbar.m, Source/NSToolbarItem.m, Source/NSView.m,
1266 Source/NSWindow.m, Source/NSWindowController.m,
1267 Source/NSWorkspace.m, Source/externs.m, Source/linking.m,
1268 Source/tiff.m: Ditto.
1269
1270 2003-06-08 Kazunobu Kuriyama <kazunobu.kuriyama@nifty.com>
1271
1272 * configure.ac: Add --with-audiofile-include and --with-audiofile
1273 -library options
1274
1275 2003-06-11 Dirk Latterman <dlatt@alqualonde.de>
1276
1277 * Source/NSActionCell.m (-setObjectValue:): Implemented.
1278
1279 2003-06-11 15:34 Alexander Malmberg <alexander@malmberg.org>
1280
1281 * Headers/gnustep/gui/GSFontInfo.h, Source/GSFontInfo.m: Add
1282 -appendBezierPathWithGlyphs:count:toBezierPath: method.
1283
1284 * Source/NSBezierPath.m: Use it to implement the glyph methods.
1285
1286 2003-06-09 Gregory John Casamento <greg_casamento@yahoo.com>
1287
1288 * Headers/gnustep/gui/NSDataLinkPanel.h: Added ivar declarations
1289 for the data link panel.
1290 * Source/NSDataLinkPanel.m: Added some implementations for panel methods.
1291 * Source/NSDataLinkManager.m: Manages the data links for an application.
1292 added implementation for some methods.
1293 * Headers/gnustep/gui/NSFontPanel.h: Added topView and bottomView and sizes
1294 for use by accessory view code.
1295 * Source/NSFontPanel.m: Added implementation for _getOriginalSize and also
1296 for sertAccessoryView. Previously the setAccessoryView method was causing
1297 the accessory view to overlay the content view of the window.
1298 * Panels/GNUmakefile: added GSDataLinkPanel.gorm in the makefile.
1299 * Source/NSBundleAdditions.m: Skeletal implementation of GSObjectData
1300 class.
1301
1302 2003-06-09 Alexander Malmberg <alexander@malmberg.org>
1303 committed by: Gregory Casamento <greg_casamento@yahoo.com>
1304
1305 * Headers/gnustep/gui/NSFont.h: Added ivar to hold font role
1306 to represent preferred fonts (e.g. system, user, & tooltip fonts)
1307 * Source/NSFont.m: Added roles and modified code to properly encode
1308 and decode fonts such that an intelligent default is selected if the
1309 specified font is unavailable and also unarchives as the correct
1310 preferred font if one of the predefined roles is selected.
1311
1312
1313 2003-06-08 Fred Kiefer <FredKiefer@gmx.de>
1314
1315 * Source/NSBitmapImageRep.m
1316 In [initWithBitmapDataPlanes:...bitsPerPixel:],
1317 [getBitmapDataPlanes:] and [copyWithZone:] changed type of i
1318 to unsigned int.
1319 * Source/NSBrowser.m (-setPath:, pathToColumn:, -addColumn):
1320 Removed compiler warning about signed/unsigned comparision.
1321 * Source/NSComboBoxCell.m (-completedString:): ditto.
1322 * Source/NSFontPanel.m (-setPanelFont:isMultiple:,
1323 -_trySelectSize:, -_familySelectionChanged:, -browser:...column:)
1324 : ditto
1325 * Source/NSFontmanager.m (-availableFonts,
1326 -availableFontNamesWithTraits:, -availableMembersOfFontFamily:,
1327 -convertFont:, convertWeight:ofFont:,
1328 -fontWithFamily:traits:weight:size:, -fontNamed:hasTraits:): ditto.
1329 [setSelectedFont:isMultiple:] and [fontMenu:] changed menuItem to
1330 type (id <NSMenuItem>).
1331
1332 2003-06-05 16:42 Alexander Malmberg <alexander@malmberg.org>
1333
1334 * Source/NSMenu.m: Check the types of all defaults values before
1335 using them.
1336
1337 2003-06-05 Adam Fedor <fedor@gnu.org>
1338
1339 * GMAppKit.m (-initWithModelUnarchiver:): #ifdef out ivar assignment
1340 when compiling nib2gmodel.
1341
1342 2003-06-04 23:02 Alexander Malmberg <alexander@malmberg.org>
1343
1344 * Source/NSCell.m (-_setupTextWithFrame:inView:editor:): Use a (much)
1345 larger maximum size for the field editor.
1346
1347 2003-05-26 Adam Fedor <fedor@gnu.org>
1348
1349 * Source/NSApplication.m (gsapp_user_bundles): New function
1350 (-_init): Use it.
1351 * Documentation/Gui/DefaultsSummary.gsdoc: Update.
1352
1353 2003-05-25 Adam Fedor <fedor@gnu.org>
1354
1355 * Version 0.8.6
1356
1357 2003-05-22 18:07 Alexander Malmberg <alexander@malmberg.org>
1358
1359 * Tools/make_services (addExtensionsForApplication): Parse
1360 NSExtensions dictionary correctly. Based on patch from Jeff
1361 Teunissen.
1362
1363 2003-05-22 Fred Kiefer <FredKiefer@gmx.de>
1364
1365 * Source/NSFontPanel.m
1366 [_familySelectionChanged:] removed unused local variable.
1367 * Headers/gnustep/gui/NSWorkspace.h
1368 Added new MacOSX methods.
1369 * Source/NSWorkspace.m
1370 Basic implemention of [activeApplication] and [launchedApplications].
1371 * Source/NSApplication.m
1372 In [finishLaunching] and [replyToApplicationShouldTerminate:] use
1373 [NSWorkspace activeApplication] to get application information.
1374
1375 2003-05-20 22:50 Alexander Malmberg <alexander@malmberg.org>
1376
1377 * Tools/make_services.m (scanDynamic): Skip anything with a .service
1378 extension.
1379
1380 2003-05-18 00:00 Alexander Malmberg <alexander@malmberg.org>
1381
1382 * Headers/gnustep/gui/DPSOperators.h,
1383 Headers/gnustep/gui/PSOperators.h,
1384 Headers/gnustep/gui/GSMethodTable.h,
1385 Headers/gnustep/gui/NSGraphicsContext.h, Source/NSGraphicsContext.m:
1386 Add shfill operator.
1387
1388 2003-05-15 Richard Frith-Macdonald <rfm@gnu.org>
1389
1390 * Source/GSInfoPanel.m: Draw authors in the order they occur in
1391 the info.plist
1392
1393 2003-05-14 Serg Stoyan <stoyan@on.com.ua>
1394
1395 * Source/NSMenuView.m
1396 (-setFont:): Set cell height at least to 20 pixels.
1397
1398 2003-05-13 20:19 Alexander Malmberg <alexander@malmberg.org>
1399
1400 * Source/NSButton.m (-setState:, -setNextState): Mark the view
1401 as needing display, don't force a display.
1402
1403 * Source/NSWindow.m (-_terminateBackendWindow): Set _windowNum to 0
1404 so the window will be recreated the next time it is needed.
1405
1406 2003-05-12 17:30 Alexander Malmberg <alexander@malmberg.org>
1407
1408 * Source/NSView.m (-lockFocusInRect:): Don't save the clipping path
1409 in the gstate if one is allocated since it depends on the rectangle
1410 focus is locked in.
1411
1412 2003-05-11 Richard Frith-Macdonald <rfm@gnu.org>
1413
1414 * Source/NSWorkspace.m: Add support for generic application icon.
1415 Reduce private method name pollution a little.
1416 * Images/common_UnknownApplication.tiff: copied from WM ...
1417 * Images/common_UnknownTool.tiff: similar image for unix cmd-line tools.
1418 * Source/NSApplication.m: Add some user info to the launch
1419 notification (provided by urbanek@host.sk).
1420
1421 2003-05-05 Michael Hanni <michael@deviant-behavior.com>
1422
1423 * Source/NSTabView.m: implemented
1424 selectTabViewItemWithIdentifier:.
1425
1426 2003-05-05 22:48 Alexander Malmberg <alexander@malmberg.org>
1427
1428 * Headers/gnustep/gui/GSLayoutManager.h, Source/GSLayoutManager.m,
1429 Source/GSHorizontalTypesetter.m: Detect and handle gaps in the soft
1430 invalidated layout information.
1431
1432 2003-05-02 Adam Fedor <fedor@gnu.org>
1433
1434 * Documentation/Gui/GNUmakefile: Remove GNUSTEP_MAKEFILES.
1435 * Source/DocMakefile: Idem.
1436
1437 2003-05-02 Fred Kiefer <FredKiefer@gmx.de>
1438
1439 * TextConverters/RTF/RTFProducer.h
1440 * TextConverters/RTF/RTFProducer.m
1441 New implemtation by Axel "Mikesch" Katerbau (axel@objectpark.org)
1442 with small changes from me. RTF output now support much more
1443 attributes and even Unicode characters.
1444 * Source/NSBezierPath.m
1445 Moved code from [bezierPathWithOvalInRect:] and
1446 [bezierPathWithRect:] to [appendBezierPathWithOvalInRect:] and
1447 [appendBezierPathWithRect:] and implemented the former with a call
1448 to the later.
1449 Preliminary implemetation for [appendBezierPathWithGlyph:inFont:]
1450 and [appendBezierPathWithGlyphs:count:inFont:].
1451 * Source/NSFont.m:
1452 Preliminary implemetation for NSConvertGlyphsToPackedGlyphs().
1453
1454 2003-05-01 21:48 Alexander Malmberg <alexander@malmberg.org>
1455
1456 * Source/NSScroller.m (-acceptsFirstResponder): Implement to
1457 return NO.
1458
1459 2003-05-01 20:02 Alexander Malmberg <alexander@malmberg.org>
1460
1461 * Source/NSInputManager.m (-loadBindingsWithName:): Update for file
1462 system layout changes.
1463
1464 * Source/NSTextView.m (-drawRect:): Draw the background correctly.
1465
1466 2003-04-30 Richard Frith-Macdonald <rfm@gnu.org>
1467
1468 * Source/NSScrollView.m: ([scrollWheel:]) enable horizontal scrolling
1469 with shift key.
1470
1471 2003-04-28 18:35 Alexander Malmberg <alexander@malmberg.org>
1472
1473 * Headers/gnustep/gui/NSTextContainer.h: Documented.
1474 * Source/NSTextContainer.m: Cleanups.
1475
1476 Mon Apr 28 13:14:15 2003 Nicola Pero <n.pero@mi.flashnet.it>
1477
1478 * Source/NSApplication.m ([NSApplication -targetForAction:]): If this
1479 is a document-based application, check if the key window's document
1480 responds to the action; if it does, use it.
1481
1482 2003-04-28 Nicola Pero <nicola@nicola.brainstorm.co.uk>
1483
1484 * Resources/GNUmakefile (gui-resources_RESOURCE_FILES_INSTALL_DIR): Define
1485 using the full relative path.
1486
1487 2003-04-27 Adam Fedor <fedor@gnu.org>
1488
1489 * Source/GSServicesManager.m (+newWithApplication:) Change
1490 Services to Library/Services.
1491 * Source/NSWorkspace.m (+initilize): Idem.
1492 * Tools/make_services.m (main): Idem.
1493
1494 2003-04-27 Adam Fedor <fedor@gnu.org>
1495
1496 * Updates for filesystem change.
1497 * GNUmakefile (GNUSTEP_MAKEFILES): Remove
1498 * ColorPickers/GNUmakefile, Documentation/GNUmakefile,
1499 Images/GNUmakefile, KeyBindings/GNUmakefile, Model/GNUmakefile,
1500 Panels/GNUmakefile, Panels/GNUmakefile.postamble,
1501 PrinterTypes/GNUmakefile, PrinterTypes/GNUmakefile.postamble,
1502 Source/GNUmakefile, TextConverters/GNUmakefile, Tools/GNUmakefile:
1503 Idem and update install locations.
1504 * Resources/GNUmakefile: Update for change in resource-set.make
1505 * configure.ac: Replace $GNUSTEP_SYSTEM_ROOT/Makefiles with
1506 $GNUSTEP_MAKEFILES. Replace Libraries with Library/Libraries.
1507 Replace Headers with Library/Headers.
1508
1509 * Source/NSImage.m (+initialize, +imageNamed:): Use
1510 +pathForLibraryResource:ofType:inDirectory.
1511 * Source/NSPrintInfo (+initPrintInfoDefaults): Idem.
1512 * Source/NSPrinter.m (getFile): Idem.
1513 * Source/NSSound.m (+initialize, +soundNamed:): Idem.
1514 * Source/NSView.m (-_loadPrinterProlog): Idem.
1515
1516 * Source/NSPageLayout.m
1517 (-initWithContentRect:styleMask:backing:defer:screen:): Use
1518 GSGuiBundle to get resources.
1519 * Source/NSPrintPanel.m
1520 ( -initWithContentRect:styleMask:backing:defer:screen:): Idem.
1521 * Source/NSSpellChecker.m ([NSSpellChecker -init]): Idem.
1522
1523 2003-04-27 Michael Hanni <michael@deviant-behavior.com>
1524
1525 * Source/NSPopUpButtonCell.m (drawWithFrame:inView:): added a call
1526 to the NSMenuItemCell's calcSize method to place the image
1527 correctly when we are making a temp item. Fixes regression
1528 prompted by changes on 2003-04-17.
1529
1530 2003-04-27 Fred Kiefer <FredKiefer@gmx.de>
1531
1532 * Source/GSFontInfo.m
1533 Removed creation of fontDictionary from [init] method. This now
1534 gets done on demand in [afmDictionary].
1535 * Source/NSFontPanel.m:
1536 [_familySelectionChanged:] made the call to [_trySelectSize:]
1537 safer against none existing fonts. This used to result in a NaN
1538 being displayed as font size.
1539
1540 2003-04-25 Benhur Stein <benhur@inf.ufsm.br>
1541
1542 * Source/NSRulerView.m:
1543 Removed unused macro BASE_LINE_LOCATION.
1544 (setMeasurementUnits:, setClientView:, setOriginOffset:): Add call
1545 to invalidateHashMarks, remove call to setNeedsDisplay:.
1546 (invalidateHashMarks): Add call to setNeedsDisplay:.
1547 (drawHashMarksAndLabelsInRect:): Changed calculation of location
1548 of zero hash mark. Changed use of _zeroLocation ivar into
1549 zeroLocation local variable. Limited display of hashs and
1550 marks to baseline.
1551 * Headers/gnustep/gui/NSRulerView.h: Renamed unused ivar
1552 _zeroLocation to _UNUSED.
1553
1554 2003-04-26 Fred Kiefer <FredKiefer@gmx.de>
1555
1556 * Source/NSControl.m
1557 Removed [becomeFirstResponder] and [resignFirstResponder] as the
1558 handling of [showFirstResponder] is still unclear.
1559 * Source/NSMenuView.m
1560 Moved the computation of the cell size into the method [setFont:]
1561 and use this in [init]. Added call to [setNeedsSizing:] in
1562 [setHorizontalEdgePadding:]. In [locationForSubmenu:] check for
1563 the interface style of the submenu. Also cleaned up up coding style and
1564 comments in the whole file.
1565 * Headers/gnustep/gui/NSParagraphStyle.h
1566 Added new ivar and methods from MacOSX to handle writing directions.
1567 * Source/NSParagraphStyle.m
1568 Implemented handling of writing directions. These are needed for the
1569 upcoming new RTFProducer.
1570
1571 2003-04-26 Richard Frith-Macdonald <rfm@gnu.org>
1572
1573 * Source/NSWindow.m: ([setFrameFromString:]) try to adjust sensibly
1574 for changes to screen size.
1575 ([constrainFrameRect:toScreen:]) bugfix for positioning when the
1576 window origin is negative.
1577 * Tools/make_services.m: Ignore illegal (null) file extension spec.
1578
1579 2003-04-26 Fred Kiefer <FredKiefer@gmx.de>
1580
1581 * Source/NSPanel.m
1582 Use controlBackgroundColor instead of lightGrayColor. Patch by Matt
1583 Rice (matt@vespertine.pc.ashlandfiber.net).
1584 * Headers/gnustep/gui/NSGraphics.h
1585 * Source/externs.m
1586 Added NSPatternColorSpace.
1587 * Source/NSColor.m
1588 [GSPatternColor colorSpaceName] uses NSPatternColorSpace.
1589 Corrected [blendedColorWithFraction:ofColor:], where self and aColor
1590 where exchanged and alpha handling was missing.
1591 * Source/NSWindow.m
1592 Removed unused local variable in [sendEvent:].
1593 * Source/NSSliderCell.m
1594 Basic implementation of the tick mark methods. Added en-/decoding
1595 for tick marks. [setKnobThickness:], [setNumberOfTickMarks:] and
1596 [setTickMarkPosition:] now update the control.
1597
1598 2003-04-25 Richard Frith-Macdonald <rfm@gnu.org>
1599
1600 * Source/NSSavePanel.m: Track window resizing and adjust browser
1601 columns to match. Use larger minimum width.
1602
1603 2003-04-21 Serg Stoyan <stoyan@hologr.com>
1604
1605 * Source/NSMenuView.m:
1606 (mouseDown:): Generate periodic events every 0.01 seconds.
1607
1608 2003-04-17 Serg Stoyan <stoyan@hologr.com>
1609
1610 * Source/NSMenuItemCell.m:
1611 (setMenuView:): Removed setting image position and
1612 _mcell_belongs_to_popupbutton ivar for popup button cell.
1613 (calcSize): Removed code from setMenuView placed here.
1614
1615 2003-04-13 Michael Hanni <michael@deviant-behavior.com>
1616
1617 * Images/common_WMCloseBroken.tiff,common_WMClose.tiff: remove
1618 background of image.
1619
1620 Mon Apr 14 14:24:27 2003 Nicola Pero <n.pero@mi.flashnet.it>
1621
1622 * Headers/gnustep/gui/AppKit.h: Include NSDocument.h
1623
1624 2003-04-14 Serg Stoyan <stoyan@hologr.com>
1625
1626 * Source/NSApplication.m:
1627 (setImageForWindowsItem:): Do not add "X" image if window has
1628 no close button.
1629
1630 2003-04-13 Michael Hanni <michael@deviant-behavior.com>
1631
1632 * Source/NSProgressIndicator.m: revert last change.
1633 * Source/NSInterfaceStyle.m: revert last change.
1634 * Headers/NSInterfaceStyle.h: revert last change.
1635
1636 2003-04-13 Michael Hanni <michael@deviant-behavior.com>
1637
1638 Multiple outstanding commits.
1639
1640 * ColorPickers/GSWheelColorPicker.m:
1641 (mouseDown:): Implemented new event loop that really speeds things
1642 up on slow machines.
1643 * Source/NSScroller.m:
1644 (init): Decreased periodic delay for scroller buttons.
1645 (trackKnob:): Implemented new event loop to improve speed. Added
1646 code to "snap" back the scroller when you release the alternate
1647 key in mid-scroll (modeled after OS 4.2 behavior.)
1648 (trackScrollButtons:): Removed event loop as we weren't using it
1649 anyways.
1650 * Source/NSFontPanel.m:
1651 (_trySelectSize:): Put size textfield update code here, make sure
1652 column is loaded.
1653 (_familySelectionChanged:): Call _trySelectSize: to update the
1654 size column just like we do for the face browser.
1655 * Source/NSProgressIndicator.m:
1656 (drawRect:): Implement GSGtkInterfaceStyle for
1657 NSProgressIndicatorInterfaceStyle.
1658 * Source/NSInterfaceStyle.m: added GSGtkInterfaceStyle.
1659 * Headers/NSInterfaceStyle.h: ditto.
1660
1661 2003-04-13 Michael Hanni <michael@deviant-behavior.com>
1662
1663 * Source/NSPopUpButton.m:
1664 (mouseDown:): Beep and return if menu items array is empty.
1665 (keyDown:): ditto.
1666
1667 * Source/NSPopUpButtonCell.m:
1668 (removeAllItems:): Revert last change. Really remove all items.
1669 (drawWithFrame:inView:): Draw temporary cell if no items in menu.
1670
1671 2003-04-12 Serg Stoyan <stoyan@hologr.com>
1672
1673 * Source/NSPopUpButtonCell.m:
1674 (removeAllItems): Leave item at index 0 with empty title.
1675
1676 2003-04-11 Michael Hanni <michael@deviant-behavior.com>
1677
1678 * Source/NSApplication.m:
1679 (updateWindowsItem:): call to sizeToFit removed. NSMenuItemCell
1680 manipulation removed which the cell makes internally anyways.
1681
1682 * Source/NSMenuView.m:
1683 (- update:): if we are a popup bail out before messing around
1684 with titleview buttons.
1685 (isOpaque): method added. We are opaque after all.
1686
1687 2003-04-11 Serg Stoyan <stoyan@hologr.com>
1688
1689 * Source/NSPopUpButton.m:
1690 (mouseDown): Set menu view's highlightedItemIndex to
1691 lastSelectedItem if result index is -1. Comments added.
1692
1693 * Source/NSApplication.m:
1694 (setImageForWindowsItem:): implemented.
1695 (changeWindowsItem:title:filename:): call setImageForWindowsItem:
1696 added. TODO: removed from comment.
1697
1698 2003-04-10 Serg Stoyan <stoyan@hologr.com>
1699
1700 * Source/NSPopUpButton.m:
1701 (mouseDown): Get selected item index from _cell. Set NSMenuView
1702 selected item if selection changed, revert to old if unchanged or
1703 menu item disabled.
1704
1705 * Source/NSPopUpButtonCell.m:
1706 (selectItem:): Remove image from old selected item and add image
1707 to new selected item only if image is not set by user.
1708
1709 2003-04-10 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
1710
1711 * Source/NSWindow.m ([-sendEvent:], case NSRightMouseDown):
1712 removed code to display the menu. This is now done by
1713 [NSView -rightMouseDown:].
1714 * Source/NSView.m: overrides -menu,
1715 changes -rightMouseDown: to display the menu,
1716 documents -menu, -menuForEvent: and +defaultMenu.
1717
1718 2003-04-10 Richard Frith-Macdonald <rfm@gnu.org>
1719
1720 * Source/GSServicesManager.m: on opening file, only activate for
1721 document based applications as suggested by Alexander.
1722 * Source/NSWorkspace.m: ([_connectApplication:]) fix to handle
1723 retries and timeouts correctly.
1724
1725 2003-04-10 01:53 Alexander Malmberg <alexander@malmberg.org>
1726
1727 * Source/GSLayoutManager.m (-_generateGlyphs_char_r::::::): Fix
1728 updating of glyph counts in some rare cases. Minor cleanups.
1729
1730 2003-04-09 Richard Frith-Macdonald <rfm@gnu.org>
1731
1732 * Headers/gnustep/gui/GSServicesManager.h: Expost file open methods.
1733 * Source/GSServicesManager.m: Tidy file opening methods.
1734 * Source/NSApplication.m: Use methods from GSServicesManager
1735 Activate NSApp when opening a file. Use NSDocumentController if the
1736 app delegate won't open a file. Remove temporary files once they
1737 are opened.
1738
1739 2003-04-09 Serg Stoyan <stoyan@hologr.com>
1740
1741 * Source/NSMenuView.m: return back horizontal menu code.
1742 (sizeToFit): ditto. Take into account title view's width when
1743 calculating horizontal menu frame.
1744 (innerRect): ditto.
1745 (rectOfItemAtIndex:): ditto. Take into account title view's width
1746 when calculating placement of menu item in horizontal menu.
1747 (locationForSubmenu:): ditto.
1748 (setWindowFrameForAttachingToRect:): ditto.
1749 (encodeWithCoder:): ditto.
1750 (initWithCoder:): ditto.
1751 (setHorizontal:): added.
1752 (isHorizontal): added.
1753
1754 ([NSMenuWindowTitleView mouseDown]): Event loop changed to
1755 Michael Hanni's version.
1756
1757 * Headers/NSMenuView.h:
1758 (setHorizontal:): added.
1759 (isHorizontal): added.
1760
1761 * Source/NSWindow.m:
1762 (orderWindow:): Display content view before backend window ordering.
1763
1764 2003-04-09 00:38 Alexander Malmberg <alexander@malmberg.org>
1765
1766 * Source/NSView.m (-setNeedsDisplay:, -setNeedsDisplayInRect:):
1767 Clean up, fix a potential issue when subclassing and thread-safety,
1768 and clarify the documentation. (Based on discussion with David Ayers
1769 and Pierre-Yves Rivaille.)
1770
1771 2003-04-08 15:33 Alexander Malmberg <alexander@malmberg.org>
1772
1773 * Source/NSTextView.m (-mouseDown:): Rewrite mouse tracking loop.
1774
1775 2003-04-08 02:12 Alexander Malmberg <alexander@malmberg.org>
1776
1777 * Source/NSApplication.m: Note which thread is the -gui thread.
1778
1779 * Source/NSView.m (-setNeedsDisplay:, -setNeedsDisplayInRect:):
1780 If the current thread isn't the -gui thread, perform the call
1781 in the main thread instead.
1782
1783 2003-04-07 13:05 Alexander Malmberg <alexander@malmberg.org>
1784
1785 * Source/NSFont.m (-initWithName:matrix:fix:screenFont:): Release
1786 all memory if the fontInfo can't be created.
1787
1788 2003-04-07 11:56 Alexander Malmberg <alexander@malmberg.org>
1789
1790 * TextConverters/RTF/rtfGrammer.y: Add error recovery rules.
1791 * TextConverters/RTF/rtfGrammer.tab.c: Rebuild.
1792
1793 * TextConverters/RTF/RTFConsumer.m: Change uses of autoreleased
1794 objects to retain/release explicitly instead.
1795
1796 (GSRTFError): Try to recover from errors instead of raising an
1797 exception.
1798
1799 2003-04-06 19:56 Alexander Malmberg <alexander@malmberg.org>
1800
1801 * Source/NSWindow.m: Make sure -_handleWindowNeedsDisplay: is run
1802 on every runloop iteration so -setNeedsDisplay* can be used safely
1803 from methods invoked by -performSelector:target:argument:order:modes:.
1804
1805 2003-04-06 15:10 Alexander Malmberg <alexander@malmberg.org>
1806
1807 * Source/GSLayoutManager.m (-_generateGlyphsUpToCharacter:): Make
1808 sure that all editing of the text storage has been processed before
1809 trying to generate glyhps for it.
1810
1811 2003-04-05 12:58 Alexander Malmberg <alexander@malmberg.org>
1812
1813 * Source/NSFontPanel.m (-_initWithoutGModel): Make preview active
1814 by default.
1815
1816 2003-04-05 Richard Frith-Macdonald <rfm@gnu.org>
1817
1818 * Headers/gnustep/gui/NSAttributedString.h:
1819 * Headers/gnustep/gui/NSDocumentController.h:
1820 * Headers/gnustep/gui/NSGraphicsContext.h:
1821 * Headers/gnustep/gui/NSResponder.h:
1822 * Headers/gnustep/gui/NSStringDrawing.h:
1823 * Headers/gnustep/gui/NSTextView.h:
1824 * Headers/gnustep/gui/NSWindow.h:
1825 Fixes to allow compliation of apps with STRICT_OPENSTEP defined.
1826 This does *NOT* mean I've checked that STRICT_OPENSTEP is defined
1827 where it should be, just that I've stopped it preventing compilation.
1828
1829 2003-03-28 Serg Stoyan <stoyan@on.com.ua>
1830
1831 * Source/NSMenuView.m:
1832 (displayTransient:): Call [self sizeToFit] before caclulating locations.
1833
1834 2003-04-04 02:46 Alexander Malmberg <alexander@malmberg.org>
1835
1836 * Source/NSTextView.m: Misc. cleanups.
1837 (-dealloc): Remove the delegate from the notification center for
1838 the notifications we added it for.
1839
1840 2003-04-03 20:28 Alexander Malmberg <alexander@malmberg.org>
1841
1842 * Headers/gnustep/gui/GSLayoutManager_internal.h,
1843 Source/GSLayoutManager.m: When stepping forward at the end of the
1844 glyph runs, correctly handle the case where the current run is
1845 extended.
1846
1847 2003-04-02 15:26 Alexander Malmberg <alexander@malmberg.org>
1848
1849 * Source/GSHorizontalTypesetter.m: Tweak glyph caching parameters
1850 to increase performance.
1851
1852 2003-04-01 Willem Rein Oudshoorn <woudshoo@xs4all.nl>
1853
1854 * Source/NSMenuView.m (NSMenuWindowTitleView): reformatted one line to
1855 conform to coding standards
1856
1857 * Source/NSMenu.m: renamed ivar _changed to _needsSizing.
1858 ([NSMenu -sizeToFit]): Changed call [_view update] to [_view sizeToFit]
1859 ([NSMenu -displayTransient]): call [NSMenuView-update] to ensure that the
1860 menuView knows it belongs to a transient menu
1861 ([NSMenu -closeTransient]): call [NSMenuView-update] to ensue that the
1862 menuView knows it is not transient anymore.
1863
1864 * Headers/gnustep/gui/NSMenu.h: renamed ivar _changed to _needsSizing.
1865
1866 2003-04-01 Richard Frith-Macdonald <rfm@gnu.org>
1867
1868 * Source/NSApplication.m: ensure that application initialisation
1869 is performed in the main thread.
1870
1871 2003-03-31 Adam Fedor <fedor@gnu.org>
1872
1873 * Source/NSWindow.m (-becomeKeyWindow): Set initialFirstResponder.
1874 (-display): Remove this code from here.
1875
1876 2003-03-31 Adam Fedor <fedor@gnu.org>
1877
1878 * Source/NSButtonCell.m, Source/NSCell.m, Source/NSMenuItem.m:
1879 Add GSCategories.h
1880
1881 2003-03-30 19:14 Alexander Malmberg <alexander@malmberg.org>
1882
1883 * Source/NSScroller.m (-trackKnob:): Wrap each iteration of the
1884 loop in an autorelease pool.
1885
1886 * Source/NSTextView.m: Correct the name of the delegate method
1887 -textView:shouldChangeTextInRange:replacementString: (was missing
1888 the textView: part).
1889
1890 2003-03-30 Willem Rein Oudshoorn <woudshoo@xs4all.nl>
1891
1892 * Source/NSMenuView.m: Reformatted to comply to coding standards
1893
1894 * Source/NSMenu.m: Reformatted to comply to coding standards
1895
1896
1897 2003-03-28 21:08 Alexander Malmberg <alexander@malmberg.org>
1898
1899 * Source/NSTableView.m (mouseDown:): Wrap each iteration of the mouse
1900 tracking loop in an autorelease pool to avoid using huge amounts of
1901 memory if the button is held down a long time.
1902
1903 2003-03-28 Serg Stoyan <stoyan@on.com.ua>
1904
1905 * Source/NSMenuView.m:
1906 (attachSubmenuForItemAtIndex:): Documentation comment moved to
1907 NSMenuView.h.
1908 (indexOfItemAtPoint:): ditto.
1909 (locationForSubmenu:): ditto.
1910 (trackWithEvent:): ditto.
1911 (setWindowFrameForAttachingToRect:): Removed "move menu to the screen"
1912 TODO since it is out of this method scope.
1913
1914 * Headers/NSMenuView.m: Added documentation for almost all methods.
1915 Cleanup.
1916
1917 2003-03-27 23:52 Alexander Malmberg <alexander@malmberg.org>
1918
1919 * Source/NSMatrix.m (-setSelectionFrom:to:anchor:highlight:): Update
1920 the selection related ivars after changing the selection.
1921
1922 2003-03-27 Serg Stoyan <stoyan@on.com.ua>
1923
1924 * Source/NSMenuView.m:
1925 ([NSMenuWindowTitleView createButton:]): Made imageSize an ivar and
1926 removed declaration. Made rect setting with NSMakeRect().
1927 ([NSMenuWindowTitleView addCloseButton:]): Added button location update.
1928 (initWithFrame:): Title adding moved int update method.
1929 (setWindowFrameForAttachingToRect:): Title removing moved into update
1930 method. Call update instead sizeToFit.
1931
1932 * Source/NSMenu.m:
1933 (initWithTitle:): Create NSMenuView with NSZeroRect frame.
1934 (insertItem:atIndex): removed [menu update] call, because itemChanged:
1935 calls it.
1936 (removeItemAtIndex:): ditto.
1937 (sizeToFit:): Added NSMenuView update. Removed [_view sizeToFit],
1938 beacuse [_view update] calls it. Don't set window's origin if size less
1939 than 1 (window is just created).
1940 (display): Removed [self update] call (sizeToFit calls it). Reformatting.
1941 Do not call setGeometry if menu is owned by popup.
1942 (close): Removed [self update] call.
1943 (closeTransient): ditto.
1944
1945 2003-03-18 Benhur Stein <benhur@inf.ufsm.br>
1946
1947 * Fix mouse tracking in NSMatrix
1948 * Headers/gnustep/gui/NSMatrix.h: Change _keyCell ivar to _reserved1.
1949 * Source/NSMatrix.m (-_setKeyRow:column:): New method
1950 (-_selectCell:atRow:column:): Use it.
1951 (-setSelectionFrom:to:anchor:highlight:): Rewrite.
1952 (-highlightCell:atRow:column:): Simplify
1953 (-_mouseDownNonListMode:): Fix tracking.
1954 (-_mouseDownListMode:theEvent): New method.
1955 (-mouseDown:): Use previous methods.
1956
1957 2003-03-25 Serg Stoyan <stoyan@on.com.ua>
1958
1959 * Source/NSMenuView.m
1960 (setWindowFrameForAttachingToRect:):Compute frame if number of
1961 items > 0 instead of > 1 (fixes size problem when there is 1 item
1962 in popup button's menu).
1963 (sizeToFit): optimized and fixed offsets calculation.
1964
1965 * Source/NSMenuItemCell.m
1966 (imageRectForBounds:): removed pad adding between state image and
1967 title image and text, because [NSMenuView sizeToFit] does this.
1968 (titleRectForBounds:): ditto.
1969
1970 2003-03-25 Michael Hanni <michael@deviant-behavior.com>
1971
1972 * Source/NSMenuView.m (-trackWithEvent:): reset highlighted items in a
1973 submenu that we leave for a supermenu.
1974 (setWindowFrameForAttachingToRect:): call sizeToFit only if cell's
1975 frame changed.
1976
1977 2003-03-24 Adam Fedor <fedor@gnu.org>
1978
1979 * Merge from 0.8.5 branch
1980
1981 2003-03-23 Serg Stoyan <stoyan@on.com.ua>
1982 * Source/NSMenuView.m: Removed horizontal menu related code.
1983 (setHorizontal:): Removed.
1984 (isHorizontal:): Removed.
1985 (_addLeftBorderOffsetToRect): Removed isHorizontal parameter.
1986 (setMenu:): Place [self setNeedsSizing: YES] before [self update].
1987 (update): Removed title view removal, because it's not always known
1988 owner of menu at this point. Remove title view creating.
1989 (sizeToFit:): Reformatting.
1990 (innerRect:): Idem.
1991 (setWindowFrameForAttachingToRect:onScreen:preferredEdge:popUpSelectedItem:):
1992 Title view removal code placed here, because this is only place where
1993 non-titled menu can appear.
1994 (initWithFrame:): Removed comment about _leftBorderOffset for popups,
1995 because we use _leftBorderOffset for regular and popups now. Title view
1996 creating added.
1997 (rectOfItemAtIndex:): Removed comment about _leftBorderOffset for popups.
1998 (indexOfItemAtPoint:): Idem. Add left border offset for popups too. Correct
1999 calling of _addLeftBorderOffsetToRect.
2000 (setNeedsDisplayForItemAtIndex:): Idem.
2001 (rightMouseDown:): Ddded comment.
2002
2003 * Headers/NSMenuView.h
2004 (setHorizontal:): Removed.
2005 (isHorizontal:): Removed.
2006
2007 2003-03-22 Willem Rein Oudshoorn <woudshoo@xs4all.nl>
2008
2009 * Source/NSMenu.m ([NSMenu -display]): Added optimization of Michael Hanni
2010 to only resize menu view when actually displayed.
2011 ([NSMenu -setTitle:]): Idem
2012 ([NSMenu -sizeToFit:]): Fixed problem with jumping menus when items
2013 are added.
2014 ([NSMenu -display:]): added optimization of Michael Hanni to resize
2015 only once. Also fixed race condition bug in getting menu location.
2016 ([NSMenu -displayTransient]): Added optimization of M. Hanni, removed
2017 resetting position to (0, 0).
2018
2019 * Source/NSMenuView.m (-initWithFrame:): Removed creation of titleView
2020 ([NSMenuView -setMenu:]): call update to handle new situation
2021 ([NSMenuView -update]): Removed call to _menu update, handle the
2022 adding/removing of the title view.
2023 ([NSMenuView -sizeToFit]): reformatted to conform to coding standard,
2024 handle missing titleView.
2025 ([NSMenuView -setWindowFrameForAttachingToRect:onScreen:preferredEdge:popUpSelectedItem:]):
2026 Reformatted to conform to coding standard. Removed the code that removed the titleView.
2027 That is handled by update.
2028 ([NSMenuView -drawRect:]): Reformatted to conform to coding standards.
2029 ([NSMenuWindowTitleView -init]): Reformatted to conform to coding standards.
2030 ([NSMenuWindowTitleView -dealloc]): new method to prevent leaking the close button.
2031 ([NSMenuWindowTitleView -titleSize]): Reformatted to conform to coding standard
2032 ([NSMenuWindowTitleView -drawRect:]): idem
2033 ([NSMenuWindowTitleView -mouseDown:]): idem
2034 ([NSMenuWindowTitleView -createButton]): idem
2035
2036 2003-03-20 David Ayers <d.ayers@inode.at>
2037
2038 * Source/NSCell.m ([NSCell encodeWithCoder:]): Reinsert encoding
2039 of isContinuous to insure backward compatiblity of archives.
2040
2041 2003-03-20 Serg Stoyan <stoyan@on.com.ua>
2042
2043 * Source/NSMenuView.m
2044 (sizeToFit): Removed setting _leftBorderOffset to 0 for popup menus.
2045 Set menuBarHeight to title view height only if it's not popup menu.
2046 Added recalculation of key equivalent offset for popup menu.
2047 (setWindowFrameForAttachingToRect:onScreen:preferredEdge:popUpSelectedItem:):
2048 Remove title view. Take into account left top border while calculating
2049 screenFrame.
2050 (drawRect:): Draw left top dark gray border for all types of menus with
2051 NSDrawTiledRects().
2052
2053 2003-03-19 Fred Kiefer <FredKiefer@gmx.de>
2054
2055 * Headers/gnustep/gui/NSMenu.h
2056 Removed method [_rightMouseDisplay:] as this is now private.
2057 * Source/NSMenu.m
2058 Implemented [popUpContextMenu:withEvent:forView:] using
2059 [_rightMouseDisplay:].
2060 * Source/NSApplication.m
2061 In [rightMouseDown:] use [popUpContextMenu:withEvent:forView:].
2062 * Source/NSMenu.m
2063 In [sendEvent:] use [popUpContextMenu:withEvent:forView:].
2064
2065 2003-03-19 Fred Kiefer <FredKiefer@gmx.de>
2066
2067 * Source/NSBitmapImageRep.m
2068 In [imageUnfilteredFileTypes] add the tiff entries always to the
2069 front of the list. As the standard GNUstep images are in this
2070 format, this will speed up image loading.
2071 * Headers/gnustep/gui/NSCell.h
2072 Removed ivar is_continuous, this is now handled by the action
2073 mask. Decreased size of the image_position ivar. Added two more
2074 subclass ivar to reuse the freed space. Flagged all methods that
2075 are new in MacOSX and added a few more of this.
2076 * Source/NSCell.m
2077 Added new MacOSX methods [title], [setTitle:], [controlSize],
2078 [setControlSize:], [controlTint], [setControlTint:] and
2079 [highlightColorWithFrame:inView:]. Rewrote [isContinuous],
2080 [setContinuous:] and [trackMouse:...untilMouseUp:] to work via the
2081 _action_mask.
2082
2083 2003-03-18 Serg Stoyan <stoyan@on.com.ua>
2084
2085 * Source/NSMenuView.m
2086 ([NSMenuTitleView titleSize]): Added.
2087 ([NSMenuTitleView drawRect:]): Switch to using titleSize:. Declaration
2088 of attr variable moved to class declaration.
2089 ([NSMenuTitleView init]): Added to initialize attr variable.
2090 (sizeToFit): Count missed state image offset. Do not add padding when
2091 there's no key equivalent. Handle situations when tile view wider than
2092 menu items, when there's no menu items and so on. (Side efect: menu of
2093 application in Gorm resizes correctly while changing title, adding
2094 shorcut etc.). Using [NSMenuTitleView titleSize] now for correct
2095 determination of menu title's text width.
2096
2097 2003-03-17 Serg Stoyan <stoyan@on.com.ua>
2098
2099 * Source/NSMenuView.m
2100 (sizeToFit): 15 extra pixels added only for submenus. Extra
2101 _horizontalEdgePad removed. Made cleanup.
2102 (createButton): uses [NSButton setRefusesFirstResponder: YES] to avoid
2103 drawing dotted rectangle.
2104 * Images/common_Close.tiff: Changed to look and feel like WindowMaker's
2105 close button.
2106 * Images/common_CloseH.tiff: ditto.
2107 * Images/common_3DArrowDown.tiff: Corrected position of light and
2108 dark sides of triangle.
2109
2110 2003-03-17 Fred Kiefer <FredKiefer@gmx.de>
2111
2112 * Source/NSControl.m
2113 Added method [acceptsFirstResponder], which asks the cell if it
2114 accepts first responder. Added [becomeFirstResponder] and
2115 [resignFirstResponder] that redraw if the cell may change apprearance.
2116 * Source/NSButton.m
2117 * Source/NSStepper.m
2118 Removed the method [acceptsFirstResponder] as NSControls version
2119 is now used.
2120
2121 2003-03-07 Willem Rein Oudshoorn <woudshoo@xs4all.nl>
2122
2123 * Source/NSMenu.m: ([-_updateUserDefaults:]) Do not store location
2124 for attached menus.
2125 * Source/NSMenuView.m ([NSMenuWindowTitleView -drawRect:]):
2126 Centre drawing of title instead of using fixed offset.
2127
2128 2003-03-07 Richard Frith-Macdonald <rfm@gnu.org>
2129
2130 * Source/NSMenu.m: ([-_updateUserDefaults:]) restore saved menu
2131 location functionality (was only working for torn off menus).
2132 * Source/NSWindow: ([-miniaturise:]) order the counterpart window
2133 in so that it gets drawn properly.
2134
2135 2003-03-06 Willem Rein Oudshoorn <woudshoo@xs4all.nl>
2136
2137 * Source/NSMenuView.m: Added NSMenuTitleView (moved
2138 from NSMenu).
2139 ([NSMenuView -detachSubmenu]): Removed setting highlighting.
2140 ([NSMenuView -attachSubmenuForItemAtIndex:]) added logging.
2141 ([NSMenuView -update]): Handle _titleView.
2142 ([NSMenuView -sizeToFit]): Take titleView into account
2143 ([NSMenuView -performActionWithHighlightingForItemAtIndex:]):
2144 restore old highlighting.
2145 ([NSMenuView -trackWithEvent:]): Rewritten.
2146 ([NSMenuView -mouseDown:]): Only restore menu position
2147 when needed.
2148 ([NSMenuView -rightMouseDown:theEvent]): On menus treat
2149 as ordinary mouse down to avoid rightclick menus on menus.
2150
2151 * Source/NSMenu.m (NSView): Moved NSMenuWindowTitleView to
2152 NSMenuView. Added comments. Added -_updateUserDefaults:,
2153 -_menuMoved: methods to track moving menus.
2154 Renamed -_setTornOff: to -setTornOff:, -isFollowTransient to
2155 -isTransient.
2156 ([NSMenu -initWithTitle:]): Remove some old comments, remove
2157 reference to titleView, listen to window move notification and
2158 enqueued move notification.
2159 ([NSMenu -attachedMenu]): Adjusted for renamed ivar.
2160 ([NSMenu -sizeToFit]): Remove references to titleView
2161 ([NSMenu -setTornOff:]): Remove references to titleView,
2162 call update to NSMenuView instead.
2163 ([NSMenu -isPartlyOffScreen]): Do not depend in removed ivar.
2164 ([NSMenu -_performMenuClose:]): adjust to renamed methods, will
2165 force synchronization of userdefaults.
2166 ([NSMenu -displayTransient]): Removed references to _titleView,
2167 remember the highlighted index to restore with -closeTransient.
2168 ([NSMenu -close]): remove references to _titleview, use methods instead
2169 of relying on ivars. added call to update on menu representation.
2170 ([NSMenu -closeTransient]): Remove references to _titleView, restore
2171 highlighted index. Call update on menu representantation.
2172 ([NSMenu -shiftOnScreen]): Rewrote to move in x and y direction
2173 simultanuously.
2174 ([NSMenuWindowTitleView -acceptsFirstMouse:]): Removed useless
2175 code to set menuview for itemCells.
2176
2177 * Headers/gnustep/gui/NSMenuView.h: added ivar _titleView.
2178 (moved from NSMenu).
2179
2180 * Headers/gnustep/gui/NSMenu.h: Added NSMenuView protocol,
2181 added documentation to NSMenu class.
2182 (MSMenu): Removed ivar _titleView, _isPartlyOffScreen, added
2183 ivar _oldHighlightedIndex. Renamed method -isFollowTransient to
2184 -isTransient. Removed method -nestedCheckOffScreen
2185
2186 2003-03-05 17:07 Alexander Malmberg <alexander@malmberg.org>
2187
2188 * Source/NSLayoutManager.m (-drawGlyphsForGlyphRange:atPoint:):
2189 Use the focused view as the control view instead of the text
2190 container's text view (it might not have one).
2191
2192 2003-03-03 19:26 Alexander Malmberg <alexander@malmberg.org>
2193
2194 * Source/GSLayoutManager.m (-usedRectForTextContainer:): Don't add
2195 the extra line frag rect.
2196
2197 * Source/NSTextView.m (-sizeToFit): Add the extra line frag rect
2198 when computing the size of the view.
2199 (-scrollRangeToVisible:): Reimplement using the new insertion point
2200 positioning methods.
2201
2202 2003-03-03 16:17 Alexander Malmberg <alexander@malmberg.org>
2203
2204 * Source/GSHorizontalTypesetter.m (-layoutGlyphsInLayoutManager:
2205 inTextContainer:startingAtGlyphIndex:previousLineFragmentRect:
2206 nextGlyphIndex:numberOfLineFragments:): Change type of a variable
2207 holding a character index to int (was char, would overflow and
2208 break things).
2209
2210 2003-03-03 14:52 Alexander Malmberg <alexander@malmberg.org>
2211
2212 * Headers/gnustep/gui/GSTypesetter.h, Source/GSTypesetter.m: Removed
2213 -relayoutGlyphsInLayoutManager:glyphRange:lineFragmentRect:
2214 textContainer:previousLineFragmentRect:. It was broken by design,
2215 and a working soft invalidation system is now in place.
2216
2217 * Headers/gnustep/gui/GSLayoutManager.h, Source/GSLayoutManager.m:
2218 Add and implement -typesetter and -setTypesetter:.
2219
2220 * Source/GSTextStorage.m (-setAttributes:range:): Handle zero-length
2221 attribute changes correctly.
2222
2223 2003-03-02 Ludovic Marcotte <ludovic@Sophos.ca>
2224
2225 * Source/NSComboBoxCell.m: Modified so that we no longer
2226 retain the dataSource. This would create a retain loop and
2227 prevent anything using it to be released properly.
2228
2229 2003-03-01 Fred Kiefer <FredKiefer@gmx.de>
2230
2231 * Source/NSTextView_actions.m
2232 Use method calls instead of some of the direct references to
2233 NSLayoutManager ivar. General clean up.
2234 * Source/NSApplication.m
2235 Added support to print a file in [finishLaunching]. Use safer way
2236 to call selector in [beginSheet:...contextInfo:].
2237 * Source/GSSlideView.m
2238 In [drawRect:]use the frame of the view, not the given rect.
2239
2240 2003-02-26 17:09 Alexander Malmberg <alexander@malmberg.org>
2241
2242 * Source/NSLayoutManager.m
2243 (-glyphRangeForBoundingRect:inTextContainer:): Fix the horizontal
2244 intersection checks.
2245
2246 2003-02-26 00:47 Alexander Malmberg <alexander@malmberg.org>
2247
2248 * Source/GSLayoutManager.m (-_generateRunsToCharacter:): Optimize
2249 the run structure by merging with an existing run instead of
2250 creating a new run under some circumstances.
2251
2252 2003-02-25 17:38 Alexander Malmberg <alexander@malmberg.org>
2253
2254 * Source/NSLayoutManager.m
2255 (-textStorage:edited:range:changeInLength:invalidatedRange:): Fix
2256 handling of trailing text containers when soft-invalidating.
2257
2258 2003-03-24 Adam Fedor <fedor@gnu.org>
2259
2260 * Version: 0.8.5
2261
2262 2003-03-24 Adam Fedor <fedor@gnu.org>
2263
2264 * Source/NSBox.m (-sizeToFit): Set frame to calculated size when
2265 content view has no subviews.
2266
2267 2003-03-18 17:54 Alexander Malmberg <alexander@malmberg.org>
2268
2269 * Source/NSFont.m, Source/NSStringDrawing.m,
2270 Headers/gnustep/gui/NSStringDrawing.h: Change to an implementation
2271 that uses the text system.
2272
2273 2003-03-07 Richard Frith-Macdonald <rfm@gnu.org>
2274
2275 * Source/NSWindow: ([-miniaturise:]) order the counterpart window
2276 in so that it gets drawn properly.
2277
2278 2003-03-04 Adam Fedor <fedor@gnu.org>
2279
2280 * Headers/gnustep/gui/GMAppKit.h, GMArchiver.h, IMConnectors.h,
2281 IMCustomObject.h, IMLoading.h, NSNibConnector.h: Change #import to
2282 #include
2283 * Model/Controller.[h,m], GMAppKit.m, GMArchiveObjects.m,
2284 GMArchiver.m, IBClasses.[hm], IMConnectors.h, IMLoading.m,
2285 Translator.[hm], nib2gmodel.m, test.m: Idem.
2286
2287 * Tools/gsnd/portaudio/pa_unix_oss/pa_unix_oss.c: Fixes for FreeBSD.
2288
2289 2003-02-24 Adam Fedor <fedor@gnu.org>
2290
2291 * Version: 0.8.4
2292
2293 2003-02-24 15:24 Alexander Malmberg <alexander@malmberg.org>
2294
2295 * Source/GSLayoutManager.m (-invalidateGlyphsForCharacterRange:
2296 changeInLength:actualCharacterRange:): Set the next character index
2297 correctly after the run-merge optimization.
2298
2299 2003-02-24 03:49 Alexander Malmberg <alexander@malmberg.org>
2300
2301 * Source/GSLayoutManager.m (-_glyphForCharacter:index:positions::):
2302 Fix handling of the case where the exact glyph is found during
2303 the binary search.
2304
2305 * Source/NSLayoutManager.m (-drawBackgroundForGlyphRange:atPoint:):
2306 Check that a range has a background color before checking that there
2307 are rectangles for it (since ranges practically always have
2308 rectangles, and very rarely a background color).
2309
2310 2003-02-24 00:02 Alexander Malmberg <alexander@malmberg.org>
2311
2312 * Source/NSParagraphStyle.m: Implement -isEqual: and -hash.
2313
2314 2003-02-23 13:30 Alexander Malmberg <alexander@malmberg.org>
2315
2316 * Source/NSWindow (-update): Don't redisplay the window.
2317
2318 2003-02-22 Benhur Stein <benhur@inf.ufsm.br>
2319
2320 * Source/NSView.m (-displayIfNeededInRectIgnoringOpacity:): Disable
2321 and re-enable flushing here.
2322 (-displayRectIgnoringOpacity:): And here.
2323 * Source/NSWindow.m ([NSWindow -display]): Instead of here.
2324 ([NSWindow -update]): And here.
2325
2326 2003-02-23 01:59 Alexander Malmberg <alexander@malmberg.org>
2327
2328 * Headers/gnustep/gui/GSLayoutManager_internal.h,
2329 Source/GSLayoutManager.m, Source/NSLayoutManager.m: Use num_linefrags
2330 to tell whether layout has started for a text container or not,
2331 instead of tracking the status separately.
2332
2333 2003-02-22 12:29 Alexander Malmberg <alexander@malmberg.org>
2334
2335 * Source/NSApplication.m (-sendEvent:): Only bring up the main
2336 menu if the there is no window for the event.
2337
2338 * Source/NSPopUpButton.m: Implement -menuForEvent: to always
2339 return nil to indicate that we don't have a context menu.
2340
2341 2003-02-22 02:34 Alexander Malmberg <alexander@malmberg.org>
2342
2343 * Headers/gnustep/gui/GSLayoutManager.h: Declare
2344 -layoutManager:didCompleteLayoutForTextContainer:atEnd: so it's
2345 visible (to gcc and to delegate implementers).
2346
2347 * Source/GSHorizontalTypesetter.m, Source/NSLayoutManager.m: Make
2348 sure the extra line frag is always set when we reach the end (ie.
2349 even after soft-invalidated layout information has been used up to
2350 the end).
2351
2352 2003-02-21 Serg Stoyan <stoyan@hologr.com>
2353
2354 * Source/NSApplication.m (-activateIgnoringOtherApps:): Remove
2355 main menu display.
2356 (-sendEvent:): Check first if right button down.
2357 (-setMainMenu:): Don't set menu title. Remove menu display.
2358 * Source/NSMenu.m (-init): Default title is process name.
2359 (-initWithTitle:): Observe NSApplicationWillBecomeActiveNotification.
2360 (_showOnActivateApp:): New.
2361 (-display): Set geometry only if not set.
2362 (-setGeometry): New.
2363
2364 * Source/NSPopUpButton.m (-mouseDown:): Send event to NSApp.
2365
2366 2003-02-19 Adam Fedor <fedor@gnu.org>
2367
2368 * Source/NSPrintOperation.m (-_print): Remove locale change (now
2369 handled correctly in backend stream context.
2370
2371 * Source/NSScrollView.m (-initWithFrame:): Change default border
2372 to none.
2373
2374 2003-02-19 15:06 Alexander Malmberg <alexander@malmberg.org>
2375
2376 * Headers/gnustep/gui/GSLayoutManager_internal.h,
2377 Source/GSLayoutManager.m: Optimize run_for_glyph_index() by
2378 caching the last run. Optimize allocation of line frags.
2379
2380 * Source/NSLayoutManager.m
2381 (-textStorage:edited:range:changeInLength:invalidatedRange:): Fix
2382 clearing of soft-invalidated information if there's an invalidation
2383 and we don't have layout past the invalidated range.
2384
2385 2003-02-19 03:09 Alexander Malmberg <alexander@malmberg.org>
2386
2387 * Source/GSLayoutManager.m (-_glyphForCharacter:index:positions::):
2388 Use binary search to find the index of the character in the run.
2389
2390 (-setLocation:forStartOfGlyphRange:): Start the search for the line
2391 frag from the back, as the line frag we're searching will often
2392 be the last one (always with GSHorizontalTypesetter).
2393
2394 2003-02-19 00:31 Alexander Malmberg <alexander@malmberg.org>
2395
2396 * Headers/gnustep/gui/GSLayoutManager.h,
2397 Source/GSHorizontalTypesetter.m, Source/GSLayoutManager.m: Optimize
2398 reuse of soft-invalidated layout a bit in a common case.
2399
2400 2003-02-19 00:10 Alexander Malmberg <alexander@malmberg.org>
2401
2402 * Source/GSLayoutManager.m (-invalidateGlyphsForCharacterRange:
2403 changeInLength:actualCharacterRange:): Correct the condition for
2404 splitting the initial run.
2405
2406 2003-02-18 21:24 Alexander Malmberg <alexander@malmberg.org>
2407
2408 * Headers/gnustep/gui/GSLayoutManager.h, Source/GSLayoutManager.m:
2409 Add basic interface that lets the typesetter access soft-invalidated
2410 layout information.
2411
2412 * Source/GSHorizontalTypesetter.m (-layoutLineNewParagraph:): Use
2413 the soft-invalidated information to avoid rebuilding the layout
2414 (when possible).
2415
2416 * Source/NSLayoutManager.m: Fix edge case in soft invalidation.
2417
2418 2003-02-18 Fred Kiefer <FredKiefer@gmx.de>
2419
2420 * TextConverters/RTF/RTFProducer.m
2421 [colorTable] corrected the output of the colour table, by using a
2422 C array instead of an NSMutableArray.
2423 * TextConverters/RTF/RTFConsumer.m
2424 GSRTFcolorfg(), GSRTFcolorbg(), GSRTFlineSpace(),
2425 GSRTFspaceAbove() set the state of the context to changed, so that
2426 new attributes get used.
2427
2428 2003-02-18 18:03 Alexander Malmberg <alexander@malmberg.org>
2429
2430 * Headers/gnustep/gui/GSLayoutManager_internal.h,
2431 Source/GSLayoutManager.m, Source/NSLayoutManager.m: Implement
2432 handling of soft-invalidated line frags. Soft-invalidate layout
2433 information for glyphs after an edited range in NSLayoutManager.
2434
2435 2003-02-18 01:23 Alexander Malmberg <alexander@malmberg.org>
2436
2437 * Headers/gnustep/gui/GSLayoutManager_internal.h,
2438 Source/GSLayoutManager.m: Many minor cleanups and optimizations.
2439 Much commenting.
2440
2441 * Source/GSHorizontalTypesetter.m (-layoutGlyphsInLayoutManager:
2442 inTextContainer:startingAtGlyphIndex:previousLineFragmentRect:
2443 nextGlyphIndex:numberOfLineFragments:): Determine the initial value
2444 for newParagraph correctly.
2445
2446 * Source/NSLayoutManager.m
2447 (-textStorage:edited:range:changeInLength:invalidatedRange:): Don't
2448 invalidate all layout on each change. Now, all layout information
2449 for glyphs before the change will be reused. (Layout for glyphs
2450 after the change is still invalidated, until I finish the soft
2451 invalidation.)
2452
2453 * Source/GSTextStorage.m (-setAttributes:range:): Call
2454 -edited:range:changeInLength: with the range that was changed (and
2455 not the range attributes could be merged for).
2456
2457 2003-02-17 21:25 Alexander Malmberg <alexander@malmberg.org>
2458
2459 * Headers/gnustep/gui/GSLayoutManager.h,
2460 Headers/gnustep/gui/GSLayoutManager_internal.h,
2461 Source/GSLayoutManager.m (-invalidateGlyphsForCharacterRange:
2462 changeInLength:actualCharacterRange:): Set the prev pointer
2463 correctly when splitting a run. Add sanity checks to catch try
2464 to catch glyph structure corruption early.
2465
2466 (-textStorage:edited:range:changeInLength:invalidatedRange:): Clean
2467 up layout invalidation.
2468
2469 2003-02-17 02:16 Alexander Malmberg <alexander@malmberg.org>
2470
2471 * Headers/gnustep/gui/GSLayoutManager.h, Source/GSLayoutManager.m:
2472 Add some framework support for caching the last accessed run.
2473
2474 2003-02-17 02:08 Alexander Malmberg <alexander@malmberg.org>
2475
2476 * Source/NSLayoutManager.m (-rectArrayForGlyphRange:
2477 withinSelectedGlyphRange:inTextContainer:rectCount:,
2478 -_insertionPointRectForCharacterIndex:textContainer:,
2479 -drawGlyphsForGlyphRange:atPoint:): Optimize by using a binary
2480 instead of linear search for the line frag.
2481
2482 More cleanups and comments.
2483
2484 2003-02-16 22:37 Alexander Malmberg <alexander@malmberg.org>
2485
2486 * Source/NSLayoutManager.m: Commenting and cleanups.
2487 (-glyphIndexForPoint:inTextContainer:fractionOfDistanceThroughGlyph:):
2488 Handle the case where the point is on a line, but not inside a line
2489 frag rect, better.
2490
2491 2003-02-16 17:48 Alexander Malmberg <alexander@malmberg.org>
2492
2493 * Headers/gnustep/gui/GSHorizontalTypesetter.h,
2494 Source/GSHorizontalTypesetter.m: Store the line frags array as
2495 an ivar instead of allocating and freeing it everytime
2496 -layoutLineNewParagraph: is called.
2497
2498 2003-02-16 15:51 Alexander Malmberg <alexander@malmberg.org>
2499
2500 * Source/NSLayoutManager.m: Bring back the old implementation of
2501 -rulerMarkersForTextView:paragraphStyle:ruler:.
2502
2503 Sun Feb 16 14:54:50 2003 Nicola Pero <n.pero@mi.flashnet.it>
2504
2505 * Source/NSSplitView.m ([-mouseDown:]): Corrected offset used in
2506 delegate calls. For example, in a splitview with a single
2507 divider, the offset used was 1, while it should be 0.
2508
2509 2003-02-16 Richard Frith-Macdonald <rfm@gnu.org>
2510
2511 * Source/NSMenu.m: Upon creation of bWindow, set its level to
2512 pop up window level, so right click brings up the menu above
2513 panels etc.
2514
2515 Sun Feb 16 04:13:46 2003 Nicola Pero <n.pero@mi.flashnet.it>
2516
2517 * Source/NSSplitView.m ([-mouseDown:]): Fixed calling delegate
2518 method to constrain split position. Patch By Enrico Sersale,
2519 with changes.
2520
2521 2003-02-16 04:14 Alexander Malmberg <alexander@malmberg.org>
2522
2523 * Headers/gnustep/gui/GSLayoutManager.h, Source/GSLayoutManager.m:
2524 Add methods for setting and getting the extra line fragment
2525 information.
2526
2527 * Source/GSHorizontalTypesetter.m (-layoutLineNewParagraph:): Set
2528 the extra line fragment information as required.
2529
2530 * Source/NSLayoutManager.m: Use the extra line fragment information
2531 to position the insertion point properly when it's placed after the
2532 last character in the text.
2533
2534 2003-02-15 18:22 Alexander Malmberg <alexander@malmberg.org>
2535
2536 * Headers/gnustep/gui/NSTextView.h, Source/NSLayoutManager.m,
2537 Source/NSTextView.m: Change the way the text view is told about
2538 layout invalidation. Change NSTextView to update its state as
2539 late as possible before displaying, and make sure it's updated
2540 when it's resized.
2541
2542 2003-02-15 18:11 Alexander Malmberg <alexander@malmberg.org>
2543
2544 * Source/NSParagraphStyle.m ([NSMutableParagraphStyle
2545 -copyWithZone:]): Add calls to GSDebugAllocationAdd/
2546 GSDebugAllocationRemove when swizzling the class to keep the
2547 allocation counts valid.
2548
2549 2003-02-15 18:04 Alexander Malmberg <alexander@malmberg.org>
2550
2551 * Source/NSSpellChecker.m (-_launchSpellCheckerForLanguage:): Don't
2552 printf-expand the error message twice (might cause a crash if
2553 'language' contains a "%").
2554
2555 Sat Feb 15 13:26:03 2003 Nicola Pero <n.pero@mi.flashnet.it>
2556
2557 * Headers/gnustep/gui/AppKit.h: Include NSRulerView.h
2558 and NSRulerMarker.h, reported missing by Benhur Stein.
2559
2560 2003-02-14 17:47 Alexander Malmberg <alexander@malmberg.org>
2561
2562 * Headers/gnustep/gui/NSTextView.h, Source/NSTextView.m,
2563 Source/NSTextView_actions.m: Keep track of the original index of a
2564 sequence of moves in one dimension. Pass it to the layout manager
2565 when moving the insertion point to prevent drifting.
2566
2567 * Source/GSHorizontalTypesetter.m (-layoutLineNewParagraph:): Fix
2568 an edge case in tab handling. Also, if tabs occur and the paragraph
2569 style has no more tab stops, act as if there were tabs every 100
2570 points.
2571
2572 * Source/NSLayoutManager.m (-characterIndexMoving:fromCharacterIndex:
2573 originalCharacterIndex:distance:): When moving vertically, return the
2574 index of the character nearest the target horizontally.
2575
2576 2003-02-13 01:01 Alexander Malmberg <alexander@malmberg.org>
2577
2578 * TextConverters/RTF/rtfGrammer.y (rtfCharset): Treat unknown
2579 character sets as ANSI.
2580 TextConverters/RTF/rtfGrammer.tab.c,
2581 TextConverters/RTF/rtfGrammer.tab.h: Regenerate.
2582
2583 * TextConverters/RTF/RTFConsumer.m: Fix handling of the indentation
2584 control words: \fi, \li, and \ri.
2585 (GSRTFmangleText): Set the paragraph style attribute to a copy of
2586 the working NSMutableParagraphStyle so later changes won't affect
2587 the attributes of this text.
2588
2589 2003-02-13 00:52 Alexander Malmberg <alexander@malmberg.org>
2590
2591 * Source/GSHorizontalTypesetter.m (-layoutLineNewParagraph:):
2592 Implement basic handling of tabs.
2593
2594 2003-02-12 Fred Kiefer <FredKiefer@gmx.de>
2595
2596 * Source/GSSlideView.h
2597 * Source/GSSlideView.m
2598 Moved over from X11 backend.
2599 * Source/GNUmakefile
2600 Added new file GSSlideView.m.
2601 * Source/GSDisplayServer.m
2602 Use GSSlideView to implement image sliding.
2603
2604 2003-02-11 17:53 Alexander Malmberg <alexander@malmberg.org>
2605
2606 * Source/NSScrollView.m (-setBorderType:): Call -tile to make
2607 the change visible.
2608
2609 * Source/NSBrowser.m (-_createColumn): Set the border of the created
2610 scroll view explicitly.
2611
2612 2003-02-11 16:33 Alexander Malmberg <alexander@malmberg.org>
2613
2614 * Source/NSAttributedString.m (-fixAttachmentAttributeInRange:):
2615 Update end index when a character is deleted.
2616
2617 * Source/NSTextStorage.m (-processEditing): Make sure we always
2618 give a valid range and delta to the layout managers.
2619
2620 * Source/NSTextView.m (-setSelectedRange:affinity:stillSelecting:):
2621 Clamp the selected range to the text storage's length.
2622
2623 2003-02-10 Richard Frith-Macdonald <rfm@gnu.org>
2624
2625 * Source/NSBrowser.m: Rewrote and documented the ([-setPath:]) method
2626 to fix the distinction between absolute and relative paths and to
2627 improve performance somewhat.
2628
2629 2003-02-10 15:14 Alexander Malmberg <alexander@malmberg.org>
2630
2631 Based on patches from Jeff Teunissen:
2632
2633 * Source/NSWindow.m (GSAllWindows): Check that windowmaps isn't
2634 NULL before calling NSAllMapTableValues.
2635
2636 * Source/NSScroller.m: Change size check so the knob and arrows are
2637 visible until there's absolutely no space left for them. Draw the
2638 knob slot with the window's background color when the knob isn't
2639 visible for consistency with OPENSTEP.
2640
2641 * Source/NSApplication.m (-setApplicationIconImage:): Update all
2642 windows that have the old app icon as their mini window image so they
2643 use the new app icon.
2644
2645 2003-02-10 15:09 Alexander Malmberg <alexander@malmberg.org>
2646
2647 * Source/GSLayoutManager.m, Source/NSLayoutManager.m,
2648 Source/NSTextView.m: Many minor bug and behavior fixes to get the
2649 text system to work with several text containers attached to one
2650 layout manager.
2651
2652 2003-02-09 21:08 Alexander Malmberg <alexander@malmberg.org>
2653
2654 * Source/GSLayoutManager.m: Clean up old debugging code, whitespace,
2655 and error handling.
2656 (-_doLayout): Track next glyph index correctly if we have multiple
2657 text containers.
2658
2659 * Source/NSLayoutManager.m (-rectArrayForGlyphRange:
2660 withinSelectedGlyphRange:inTextContainer:rectCount:,
2661 -_insertionPointRectForCharacterIndex:textContainer:): Fix handling of
2662 glyphs that aren't nominally spaced.
2663
2664 2003-02-09 18:34 Alexander Malmberg <alexander@malmberg.org>
2665
2666 * Source/GSHorizontalTypesetter.m (-breakLineByWordWrappingBefore:):
2667 Return correct index when breaking at a control glyph.
2668
2669 2003-02-09 18:02 Alexander Malmberg <alexander@malmberg.org>
2670
2671 * Headers/gnustep/gui/GSLayoutManager_internal.h,
2672 Source/GSLayoutManager.m, Source/NSLayoutManager.m: Add
2673 -_didInvalidateLayout method that is called whenever any layout
2674 information has been invalidated. Use it in NSLayoutManager to
2675 resize text views.
2676
2677 2003-02-09 15:23 Alexander Malmberg <alexander@malmberg.org>
2678
2679 * Source/NSTextView_actions.m: Fix several movement actions (used
2680 to move from the wrong end of the selected range, or mixed glyphs
2681 and characters).
2682
2683 2003-02-09 14:48 Alexander Malmberg <alexander@malmberg.org>
2684
2685 * Source/GSHorizontalTypesetter.m: Make the main method reentrant
2686 by having it allocate a temporary instance to handle calls when
2687 it is already in use.
2688
2689 2003-02-09 Fred Kiefer <FredKiefer@gmx.de>
2690
2691 * Source/NSColorList.m
2692 [_loadAvailableColorLists] check if a directory exists before
2693 looking for a colour list in it.
2694
2695 2003-02-08 22:56 Alexander Malmberg <alexander@malmberg.org>
2696
2697 * Source/NSTextView_actions.m (-lowerBaseline:): Change the correct
2698 attribute.
2699
2700 (-turnOffLigatures:, -useStandardLigatures:): Correct the attribute
2701 changes.
2702
2703 2003-02-08 22:53 Alexander Malmberg <alexander@malmberg.org>
2704
2705 * Source/GSFontInfo.m (-defaultLineHeightForFont),
2706 Source/GSHorizontalTypesetter.m (-layoutLineNewParagraph:): Improve
2707 calculation of line height and make it match the baseline calculation
2708 when typesetting.
2709
2710 2003-02-08 22:29 Alexander Malmberg <alexander@malmberg.org>
2711
2712 * Source/NSWindow.m (-sendEvent:): On right mouse down, check if
2713 the view that is hit has a pop-up menu, and if so, display it
2714 instead of sending the event to the view. Based on patch from
2715 Matt Rice.
2716
2717 2003-02-08 17:51 Alexander Malmberg <alexander@malmberg.org>
2718
2719 * Headers/gnustep/gui/NSLayoutManager.h, Source/NSLayoutManager.m:
2720 Add -characterIndexMoving:fromCharacterIndex:originalCharacterIndex:
2721 distance: method.
2722
2723 * Source/NSTextView.m: Keep track of the selection affinity.
2724
2725 * Source/NSTextView_actions.m: Use the new method and affinity
2726 handling to reimplement the insertion point movement actions.
2727
2728 2003-02-07 17:47 Alexander Malmberg <alexander@malmberg.org>
2729
2730 * Source/GSTextStorage.m (-setAttributes:range:): Fix memory leak.
2731
2732 2003-02-05 Richard Frith-Macdonald <rfm@gnu.org>
2733
2734 * Source/libgnustep-gui.def: Regenerated
2735 * ColorPickers/GNUmakefile: add local library paths
2736 * Source/GSLayoutManager.m: Use rand() rather than random() as it
2737 is portable to mingw32.
2738
2739 Wed Feb 5 04:56:45 2003 Serg Stoyan <stoyan@hologr.com>
2740
2741 * Source/NSMenuItemCell.m ([-drawKeyEquivalentWithFrame:inView:]):
2742 Do not draw the key equivalent if we are owned by a popup, and are
2743 drawing the small popup image.
2744
2745 Wed Feb 5 04:42:16 2003 Serg Stoyan <stoyan@hologr.com>
2746
2747 * Source/NSPrintOperation.m ([-_printOperationDidRun:success:
2748 contextInfo:]): Fixed calling the delegate method.
2749
2750 2003-02-03 02:49 Alexander Malmberg <alexander@malmberg.org>
2751
2752 * Headers/gnustep/gui/NSLayoutManager.h, Source/NSLayoutManager.m:
2753 Add -insertionPointRectForCharacterIndex:inTextContainer: method.
2754
2755 * Source/NSTextView.m (-updateInsertionPointStateAndRestartTimer:):
2756 Use it.
2757
2758 2003-02-02 Fred Kiefer <FredKiefer@gmx.de>
2759
2760 * Source/NSTextField.m
2761 Only accept first mouse when editable.
2762
2763 2003-02-02 02:31 Alexander Malmberg <alexander@malmberg.org>
2764
2765 * Source/NSTextView.m, Source/NSTextView_actions.m: Clarify
2766 comments about user attribute changing now that I've figured out
2767 a way for it to work. Rewrite the actions to match.
2768
2769 2003-02-02 Fred Kiefer <FredKiefer@gmx.de>
2770
2771 * Source/NSWindow.m
2772 Rewrote all the toolbar methods. Implemented [zoom:]. Extracted
2773 new method [_terminateBackendWindow] from [dealloc] and use it to
2774 implement one shot windows in the orderOut case of
2775 [orderWindow:relativeTo:]. Removed frame restriction from
2776 [setFrameFromString:] as this gets done in
2777 [setFrame:display:]. Use [NSScreen visibleFrame] here and in
2778 [stringWithSavedFrame]. Implemented [cascadeTopLeftFromPoint:].
2779 Removed unused and empty methods [performHide:] and [performUnhide:].
2780
2781 2003-02-01 15:09 Alexander Malmberg <alexander@malmberg.org>
2782
2783 * Source/NSTextView.m (-shouldChangeTextInRange:replacementString:):
2784 Allow changes even if we're not the first responder.
2785
2786 (-didChangeText): If we're not the first responder, end the editing
2787 session.
2788
2789 2003-02-01 13:52 Alexander Malmberg <alexander@malmberg.org>
2790
2791 * Source/GSHorizontalTypesetter.m (-layoutLineNewParagraph:): Fix
2792 sign problem with descender.
2793
2794 Sat Feb 1 05:34:09 2003 Benhur Stein <benhur@inf.ufsm.br>,
2795 Nicola Pero <n.pero@mi.flashnet.it>
2796
2797 The focus is now expected to have been locked on the control view
2798 before cell's drawXXXWithFrame:inView: and similar methods are
2799 called. This makes drawing much more efficient.
2800 * Source/NSApplication.m ([NSAppIconView -setImage:]): Lock/unlock
2801 focus if it can draw.
2802 * Source/NSBrowser.m ([GSBrowserTitleCell
2803 -drawWithFrame:inView:]): Do not lock/unlock focus.
2804 ([-displayColumn:]): Lock/unlock focus before drawing.
2805 ([-doClick:]): Lock/unlock focus.
2806 * Source/NSBrowserCell.m ([-drawInteriorWithFrame:inView:]): Do
2807 not lock/unlock focus.
2808 * Source/NSButtonCell.m ([-drawWithFrame:inView:]): Do not
2809 lock/unlock focus.
2810 ([-drawInteriorWithFrame:inView:]): Do not lock unlock focus.
2811 * Source/NSCell.m ([-drawInteriorWithFrame:inView:]): Do not
2812 lock/unlock focus.
2813 ([-drawWithFrame:inView:]): Do not lock/unlock focus.
2814 ([-performClick:]): Lock/unlock focus.
2815 * Source/NSComboBoxCell.m ([-_didClickInRect:ofView:]):
2816 Lock/unlock focus.
2817 * Source/NSControl.m ([-mouseDown:]): Lock/unlock focus.
2818 * Source/NSFormCell.m ([-drawWithFrame:inView:]): Do not
2819 lock/unlock focus.
2820 * Source/NSImageCell.m ([-drawInteriorWithFrame:inView:]): Do not
2821 lock/unlock focus.
2822 ([-drawWithFrame:inView:]): Do not lock/unlock focus.
2823 * Source/NSMatrix.m ([-deselectAllCells]): Mark the cell as
2824 needing redisplay, but do not redraw immediately.
2825 ([-_selectCell:atRow:column:]): Same change.
2826 ([-setSelectionFrom:to:anchor:highlight:]): Same change.
2827 ([-highlightCell:atRow:column:]): Lock/unlock focus.
2828 ([-_mouseDownNonListMode:]): Lock/unlock focus, flush window,
2829 select cell better.
2830 ([-mouseDown:]): Lock/unlock focus; removed 2 flush windows.
2831 ([-performKeyEquivalent:]): Lock/unlock focus; flush window.
2832 ([-_altModifier:]): Added a displayIfNeeded call.
2833 ([-keyDown:]): Same change.
2834 ([-_move:]): Always deselect all cells in before selecting new
2835 ones. Do not display cell immediately, but mark it for redisplay.
2836 Removed a few flush windows. Commented out unclear code.
2837 ([-_shiftModifier:]): Lock/unlock focus.
2838 ([-_setState:highlight:startIndex:endIndex:]): Do not flush the
2839 window.
2840 ([_setState:highlight:startIndex:endIndex:]): Do not display the
2841 cell directly; mark it as needing redisplay.
2842 ([-drawCellAtRow:column:]): Do not lock/unlock focus.
2843 ([-highlightCell:atRow:column:]): Do not lock/unlock focus.
2844 ([-_drawCellAtRow:column:]): Do not lock/unlock focus.
2845 * Source/NSMenuItemCell.m
2846 ([-drawBorderAndBackgroundWithFrame:inView:]): Do not lock/unlock
2847 focus.
2848 ([-drawInteriorWithFrame:inView:]): Do not lock/unlock focus.
2849 * Source/NSOutlineView.m
2850 ([-editColumn:columnIndexrow:rowIndexwithEvent:theEventselect:flag]):
2851 Lock/unlock focus.
2852 * Source/NSPopUpButtonCell.m ([-drawInteriorWithFrame:inView:]):
2853 Do not lock/unlock focus.
2854 * Source/NSScroller.m ([-trackScrollButtons:]): Lock/unlock focus.
2855 * Source/NSSlider.m ([-mouseDown:]): Lock/unlock focus.
2856 ([-trackKnob:knobRect:]): Lock/unlock focus.
2857 * Source/NSSliderCell.m ([-drawInteriorWithFrame:inView:]): Do not
2858 lock/unlock focus.
2859 * Source/NSStepper.m ([-mouseDown:]): Lock/unlock focus.
2860 * Source/NSStepperCell.m ([-drawInteriorWithFrame:inView:]): Do
2861 not lock/unlock focus.
2862 ([-highlight:highlightupButton:upButtonwithFrame:frameinView:
2863 controlView]): Do not lock/unlock focus.
2864 * Source/NSTextFieldCell.m ([-drawInteriorWithFrame:inView:]): Do
2865 not lock/unlock focus.
2866 * Source/NSTableHeaderCell.m ([-drawInteriorWithFrame:inView:]):
2867 Do not lock/unlock focus.
2868 ([-drawWithFrame:inView:]): Do not lock/unlocks focus.
2869 * Source/NSTableHeaderView.m ([-drawRect:]): Do not lock/unlock
2870 focus while drawing.
2871 ([-mouseDown:]): Lock/unlock focus.
2872 * Source/NSWindow.m ([NSMiniWindowView -setImage:, -setTitle:]):
2873 Lock focus if can draw rather than checking _window != nil.
2874
2875 2003-02-01 03:26 Alexander Malmberg <alexander@malmberg.org>
2876
2877 * Source/GSLayoutManager.m (-removeTextContainerAtIndex:): Set
2878 textcontainers to NULL after freeing it. Clean up some other
2879 malloc-stuff.
2880
2881 * Source/NSTextContainer.m (-replaceLayoutManager:): Remove the
2882 containers from the correct layout manager.
2883
2884 2003-01-31 Fred Kiefer <FredKiefer@gmx.de>
2885
2886 * Headers/AppKit/GSDisplayServer.h
2887 New interface [restrictWindow:toImage:].
2888 * Source/GSDisplayServer.m
2889 Empty implementation for this.
2890
2891 2003-01-31 23:20 Alexander Malmberg <alexander@malmberg.org>
2892
2893 * Source/GSLayoutManager.m (-_generateGlyphsForRun:at:): Add
2894 handling of NSAttachmentCharacter.
2895
2896 2003-01-31 21:59 Alexander Malmberg <alexander@malmberg.org>
2897
2898 * Headers/gnustep/gui/GSLayoutManager.h,
2899 Headers/gnustep/gui/GSLayoutManager_internal.h,
2900 Source/GSLayoutManager.m: Implement [GSLayoutManager
2901 -setAttachmentSize:forGlyphRange:].
2902
2903 * Source/NSLayoutManager.m (-drawGlyphsForGlyphRange:atPoint:):
2904 Implement drawing of attachments.
2905
2906 * Headers/gnustep/gui/NSFont.h: Add GSAttachmentGlyph to mark
2907 attachments in a glyph context.
2908
2909 * Source/GSHorizontalLayoutManager.m: Cleanups and comments.
2910 (-layoutLineNewParagraph:): Rewrite line height and baseline
2911 handling. Implement typesetting of attachments.
2912
2913 * Headers/gnustep/gui/NSTextAttachment.h: Add documentation.
2914
2915 * Source/NSTextAttachment.m (-cellFrameForTextContainer:
2916 proposedLineFragment:glyphPosition:characterIndex:): Return the
2917 correct position.
2918
2919 Thu Jan 30 16:31:16 2003 Nicola Pero <n.pero@mi.flashnet.it>
2920
2921 * Source/GNUmakefile (NSMenuItem.m_FILE_FLAGS): Use -Wno-protocol
2922 when compiling NSMenuItem.m
2923
2924 Thu Jan 30 16:19:56 2003 Nicola Pero <n.pero@mi.flashnet.it>
2925
2926 * TextConverters/RTF/RTFConsumer.m
2927 ([RTFConsumer +parseData:documentAttributes:]): Method removed.
2928 ([RTFConsumer +parseFile:documentAttributes:]): Method removed.
2929 ([RTFDConsumer +parseData:documentAttributes:class:]): New method,
2930 replacing +parseData:documentAttribute:.
2931
2932 Thu Jan 30 05:12:21 2003 Serg Stoyan <stoyan@hologr.com>
2933
2934 * Headers/gnustep/gui/NSMenuItem.h: NSMenuItem protocol conforms
2935 to NSObject protocol.
2936 * Source/NSBundleAdditions.m ([-instantiateObject:]): Added
2937 missing cast.
2938 * Source/NSImage.m ([-dissolveToPoint:fromRect:fraction:]): Added
2939 missing variable initializer.
2940 ([-_bestRep:withBpsMatch:]): The same.
2941 * Source/NSImageRep.m ([-drawAtPoint:]): Added missing variable
2942 initializer.
2943 * Source/NSSplitView.m ([-mouseDown:]): The same.
2944 * Source/NSStringDrawing.m (drawRun): Fixed compiler warning.
2945 * Source/NSTableHeaderCell.m ([-setHighlighted:flag]): New method.
2946 * Source/NSTableHeaderView.m ([-drawRect:]): Removed calls to
2947 setBackgroundColor:.
2948 ([-mouseDown:]): Use setHighlighted:, not setBackgroundColor:, to
2949 highlight a header cell.
2950 * Source/NSTableView.m ([-mouseDown:]): Added missing variable
2951 initializer.
2952 * Headers/gnustep/gui/NSView.h: Added declaration of
2953 lockFocusInRect:
2954 * Source/NSView.m ([-lockFocusInRect:]): Added missing variable
2955 initializer.
2956 * Source/NSWindow.m: Include NSToolbar.h
2957
2958 Thu Jan 30 04:55:12 2003 Nicola Pero <n.pero@mi.flashnet.it>
2959
2960 * Headers/gnustep/gui/NSToolbar.h: Declaration of GNUstepPrivate
2961 category moved here from NSToolbar.m.
2962 * Source/NSToolbar.m: Removed GNUstepPrivate category @interface.
2963 * Source/NSWindow.m ([-setToolbar:]): Added missing cast.
2964
2965 Thu Jan 30 04:39:47 2003 Nicola Pero <n.pero@mi.flashnet.it>
2966
2967 * Source/NSWindowController.m ([-dealloc]): Release the window, do
2968 not autorelease it.
2969
2970 Thu Jan 30 03:57:42 2003 Serg Stoyan <stoyan@hologr.com>
2971
2972 * Source/NSMenuView.m ([-sizeToFit]): Removed the additional 17
2973 pixels from menu view title size, they have no reason to be used,
2974 and don't look good.
2975
2976 Thu Jan 30 02:55:17 2003 Nicola Pero <n.pero@mi.flashnet.it>
2977
2978 * Source/NSScrollView.m ([-scrollPageDown:], [-scrollPageUp:]): Do
2979 not mark rulers as needing redisplay.
2980 ([-scrollWheel:]): Do not scroll header view; do not mark rulers as
2981 needing redisplay.
2982
2983 Thu Jan 30 02:51:49 2003 Benhur Stein <benhur@inf.ufsm.br>
2984
2985 * Source/NSScrollView.m ([-_doScroll:]): Do not scroll header
2986 view; do not mark rulers as needing redisplay.
2987 ([-reflectScrolledClipView:]): Mark the rulers as needing
2988 redisplay. Do not constrain the scrollpoint of the header view.
2989
2990 2003-01-29 21:14 Alexander Malmberg <alexander@malmberg.org>
2991
2992 * Source/GSLayoutManager.m (-setTextStorage:): Tell our text
2993 containers about the change.
2994
2995 * Source/NSTextContainer.m (-setLayoutManager:): Tell our text view
2996 about the change.
2997
2998 * Source/NSTextView.m: Guard in a few places where _layoutManager
2999 might be nil.
3000
3001 2003-01-29 16:01 Alexander Malmberg <alexander@malmberg.org>
3002
3003 * Source/GSHorizontalTypesetter.m (-layoutLineNewParagraph:): Place
3004 baseline higher (in relation to the line height).
3005
3006 * Source/NSLayoutManager.m (-textStorage:edited:range:changeInLength:
3007 invalidatedRange:): Fix selection range adjustment when the entire
3008 selection is removed.
3009
3010 2003-01-29 01:40 Alexander Malmberg <alexander@malmberg.org>
3011
3012 * Headers/gnustep/gui/NSTextView.h, Source/NSTextView.m: Implement
3013 basic drawing of insertion point.
3014
3015 2003-01-28 Fred Kiefer <FredKiefer@gmx.de>
3016
3017 * TextConverters/RTF/RTFConsumer.m
3018 In [copyWithZone:] use mutable copy of prargraph style.
3019
3020 2003-01-28 23:29 Alexander Malmberg <alexander@malmberg.org>
3021
3022 * Source/NSTextView.m (-setConstrainedFrameSize:) Fix calculation of
3023 the effective minimum size.
3024
3025 (-sizeToFit): Use maximum x and y of used rect to calculate size, not
3026 the used rect's own size.
3027
3028 2003-01-28 22:54 Alexander Malmberg <alexander@malmberg.org>
3029
3030 * Source/NSLayoutManager.m (-textStorage:edited:range:changeInLength:
3031 invalidatedRange:): Add code to adjust the selected range after each
3032 change.
3033
3034 2003-01-28 22:20 Alexander Malmberg <alexander@malmberg.org>
3035
3036 * Source/NSTextView.m (-initWithFrame:textContainer:): Make the
3037 default text container inset (2,0).
3038
3039 2003-01-28 20:02 Alexander Malmberg <alexander@malmberg.org>
3040
3041 * Source/GSHorizontalTypesetter: Set proper used rect for line frag
3042 rects.
3043
3044 * Source/GSLayoutManager.m (-usedRectForTextContainer:): Return sane
3045 value if there are no line frag rects in the text container.
3046
3047 2003-01-28 17:55 Alexander Malmberg <alexander@malmberg.org>
3048
3049 * Source/GSLayoutManager.m (-layoutLineNewParagraph:): Try to make
3050 sure each container gets at least one line frag rect.
3051
3052 * Source/NSTextView: Avoid making calls to the layout manager with
3053 invalid arguments.
3054
3055 2003-01-28 17:40 Alexander Malmberg <alexander@malmberg.org>
3056
3057 * Source/GSHorizontalTypesetter.m, Source/GSLayoutManager.m:
3058 Whitespace cleanups and comments.
3059
3060 * Source/NSLayoutManager.m: (-rectArrayForGlyphRange:
3061 withinSelectedGlyphRange:inTextContainer:rectCount:): Give better
3062 error message for an invalid glyph range.
3063
3064 2003-01-27 16:13 Alexander Malmberg <alexander@malmberg.org>
3065
3066 * Source/NSLayoutManager.m (-setHyphenationFactor:): Fix format
3067 string.
3068
3069 * Source/NSTextView.m (-mouseDown:): Handle empty text views.
3070 (-drawRect:): Always draw glyphs' backgrounds (even when not drawing
3071 the text view's background).
3072
3073 Mon Jan 27 04:01:32 2003 Nicola Pero <n.pero@mi.flashnet.it>
3074
3075 * Source/NSScroller.m ([-mouseDown:]): When the knob slot if
3076 clicked, do not set the new float value and send the action if the
3077 float value has not changed.
3078
3079 Mon Jan 27 03:16:22 2003 Benhur Stein <benhur@inf.ufsm.br>
3080
3081 Patch with minor changes by Nicola:
3082 * Source/NSScroller.m ([-testPart:]): The point to test is now
3083 assumed to be in the window's coordinates.
3084 ([-mouseDown:], [-trackScrollButtons:]): Updated calls to
3085 -testPart:.
3086 ([-drawArrow:highlight:]): Highlight the cell according to the
3087 argument.
3088 ([-trackKnob:]): Do not set the new float value and send the
3089 action if the float value has not changed.
3090
3091 Mon Jan 27 01:21:11 2003 Nicola Pero <n.pero@mi.flashnet.it>
3092
3093 * Source/GSLayoutManager.m (GET_GLYPH): Removed argument, and
3094 updated all callers, to get it to compile.
3095
3096 2003-01-27 00:01 Alexander Malmberg <alexander@malmberg.org>
3097
3098 * Source/NSLayoutManager.m (-drawBackgroundForGlyphRange:atPoint:):
3099 Draw background for the selected range.
3100
3101 2003-01-26 21:16 Alexander Malmberg <alexander@malmberg.org>
3102
3103 * Source/NSLayoutManager.m
3104 (-textStorage:edited:range:changeInLength:invalidatedRange:): Tell
3105 the text views to resize when their text has changed.
3106
3107 2003-01-26 21:08 Alexander Malmberg <alexander@malmberg.org>
3108
3109 * Source/NSLayoutManager.m
3110 (-glyphIndexForPoint:inTextContainer:fractionOfDistanceThroughGlyph:):
3111 Try harder to always return a valid glyph index.
3112
3113 2003-01-26 20:41 Alexander Malmberg <alexander@malmberg.org>
3114
3115 * Headers/gnustep/gui/NSTextView.h: Don't use protocol forward
3116 declarations.
3117
3118 2003-01-26 20:35 Alexander Malmberg <alexander@malmberg.org>
3119
3120 * Source/NSTextView.m: Make sure the typing attributes are always
3121 a mutable dictionary we can modify.
3122
3123 2003-01-26 20:30 Alexander Malmberg <alexander@malmberg.org>
3124
3125 * Source/NSCell.m: Add missing includes.
3126
3127 2003-01-26 20:24 Alexander Malmberg <alexander@malmberg.org>
3128
3129 * Headers/gnustep/gui/NSMenu.h: Add missing class declaration
3130 so the header is self-contained.
3131
3132 2003-01-26 19:17 Alexander Malmberg <alexander@malmberg.org>
3133
3134 * Headers/gnustep/gui/GSFontInfo.h, Headers/gnustep/gui/NSFont.h,
3135 Headers/gnustep/gui/NSLayoutManager.h, Headers/gnustep/gui/NSText.h,
3136 Headers/gnustep/gui/NSTextContainer.h,
3137 Headers/gnustep/gui/NSTextStorage.h,
3138 Headers/gnustep/gui/NSTextView.h, Source/GNUmakefile,
3139 Source/GSFontInfo.m, Source/GSTextStorage.m, Source/NSFont.m,
3140 Source/NSLayoutManager.m, Source/NSParagraphStyle.m,
3141 Source/NSSecureTextField.m, Source/NSText.m,
3142 Source/NSTextContainer.m, Source/NSTextStorage.m,
3143 Source/NSTextView.m, Headers/gnustep/gui/GSHorizontalTypesetter.h,
3144 Headers/gnustep/gui/GSLayoutManager.h,
3145 Headers/gnustep/gui/GSLayoutManager_internal.h,
3146 Headers/gnustep/gui/GSTypesetter.h, Source/GSHorizontalTypesetter.m,
3147 Source/GSLayoutManager.m, Source/GSTypesetter.m,
3148 Source/NSTextView_actions.m: Merge in text-system-branch with the new
3149 implementation of the text system.
3150
3151 2002-12-13 02:00 Alexander Malmberg <alexander@malmberg.org>
3152
3153 * Headers/gnustep/gui/NSText.h, Headers/gnustep/gui/NSTextView.h,
3154 Source/NSText.m, Source/NSTextView.m: Moved ivars from NSText to
3155 NSTextView. Added or updated documentation for many methods. Marked
3156 primitive and non-openstep methods.
3157
3158 * Source/GSHorizontalTypesetter.m, Source/GSLayoutManager.m,
3159 Source/GSTextStorage.m, Source/NSTextContainer.m,
3160 Source/NSTextStorage.m: Cleaned up includes.
3161
3162 2002-12-01 13:27 Alexander Malmberg <alexander@malmberg.org>
3163
3164 * Headers/gnustep/gui/GSLayoutManager_internal.h,
3165 Source/GSLayoutManager.m: Clean ups. Remove some old stuff. Add
3166 some more comments.
3167
3168 2002-11-26 16:37 Alexander Malmberg <alexander@malmberg.org>
3169
3170 * Headers/gnustep/gui/GSTypesetter.h, Source/GSTypesetter.m,
3171 Source/GSHorizontalTypesetter.m: Remove
3172 -baselineOffsetInLayoutManager:glyphIndex: method. Cleanups. Changed
3173 to conform to coding standards.
3174
3175 2002-11-26 16:29 Alexander Malmberg <alexander@malmberg.org>
3176
3177 * Source/NSLayoutManager.m: Changed to conform to coding
3178 standards. Cleanups.
3179
3180 2002-11-26 15:41 Alexander Malmberg <alexander@malmberg.org>
3181
3182 * Headers/gnustep/gui/GSLayoutManager_internal.h,
3183 Source/GSLayoutManager.m: Changed to conform to coding standards.
3184 Cleanups. Moved some more NSTextView references to NSLayoutManager.
3185
3186 Use _run_cache_attributes::, _run_copy_attributes::, and
3187 _run_free_attributes: methods instead of functions.
3188
3189 (-_run_cache_attributes::): Ask typesetter for font to use and call
3190 -substituteFontForFont:.
3191
3192 * Source/NSLayoutManager.m: Moved NSTextView references here.
3193
3194 2002-11-26 12:52 Alexander Malmberg <alexander@malmberg.org>
3195
3196 * Headers/gnustep/gui/GSFontInfo.h, Headers/gnustep/gui/NSFont.h,
3197 Source/GSFontInfo.m, Source/NSFont.m: Add proper handling of
3198 screen/printer fonts. Changes the backend GSFontInfo interface.
3199
3200 2002-11-24 20:58 Alexander Malmberg <alexander@malmberg.org>
3201
3202 * Headers/gnustep/gui/NSMenu.h: Declare NSMutableArray.
3203
3204 2002-11-24 01:10 Alexander Malmberg <alexander@malmberg.org>
3205
3206 * Source/NSSpellChecker (-_launchSpellCheckerForLanguage:): Don't
3207 pass the error message through printf expansion twice.
3208
3209 2002-11-24 00:56 Alexander Malmberg <alexander@malmberg.org>
3210
3211 * Source/GSFontInfo.m (-defaultLineHeightForFont): Round the linegap
3212 to whole points.
3213
3214 2002-11-23 22:55 Alexander Malmberg <alexander@malmberg.org>
3215
3216 * Source/NSSecureTextField: Update to work with new text system.
3217
3218 2002-11-23 22:30 Alexander Malmberg <alexander@malmberg.org>
3219
3220 * Headers/gnustep/gui/NSTextContainer.h,
3221 Headers/gnustep/gui/NSTextStorage.h Source/NSTextStorage.m: Use
3222 GSLayoutManager instead of NSLayoutManager in these classes.
3223
3224 2002-11-23 21:40 Alexander Malmberg <alexander@malmberg.org>
3225
3226 * Source/NSParagraphStyle ([NSMutableParagraphStyle -copyWithZone:]):
3227 Implement.
3228
3229 2002-11-23 21:31 Alexander Malmberg <alexander@malmberg.org>
3230
3231 * Headers/gnustep/gui/GSHorizontalTypesetter.h,
3232 Headers/gnustep/gui/GSLayoutManager.h,
3233 Headers/gnustep/gui/GSLayoutManager_internal.h,
3234 Headers/gnustep/gui/GSTypesetter.h, Source/GSHorizontalTypesetter.m,
3235 Source/GSLayoutManager.m, Source/GSTypesetter.m,
3236 Headers/gnustep/gui/NSLayoutManager.h, Source/GNUmakefile,
3237 Source/NSLayoutManager.m: Add the new text system.
3238
3239 2002-11-23 18:45 Alexander Malmberg <alexander@malmberg.org>
3240
3241 * Source/NSTextContainer: Implement -lineFragmentRectForProposedRect:
3242 sweepDirection:movementDirection:remainingRect:.
3243
3244 2003-01-26 18:54 Alexander Malmberg <alexander@malmberg.org>
3245
3246 * Headers/gnustep/gui/NSParagraphStyle.h,
3247 Headers/gnustep/gui/NSTextStorage.h, Source/NSParagraphStyle.m,
3248 Source/NSTextAttachment.m: Clean up the includes.
3249
3250 2003-01-26 18:46 Alexander Malmberg <alexander@malmberg.org>
3251
3252 * Headers/gnustep/gui/NSGraphics.h,
3253 Headers/gnustep/gui/NSGraphicsContext.h, Source/NSGraphicsContext,
3254 Source/NSWindow.m: Clean up some prototypes.
3255
3256 2003-01-20 Adam Fedor <fedor@gnu.org>
3257
3258 * Headers/gnustep/gui/NSImage.m (NSImageCacheMore): New enum and ivar.
3259 * Source/NSImage.m (-setCacheMode:): New method.
3260 (-cacheMode): Idem.
3261 (-compositeToPoint:fromRect:operation:): If printing, composite from
3262 source image, not cache.
3263 (-dissolveToPoint:fromRect:fraction:): Idem.
3264 (-drawRepresentation:inRect:): Correct background rectfill for
3265 flipped views.
3266 (-bestRepresentationForDevice:): Rewrite. Close to being correct.
3267
3268 Tue Jan 21 00:39:52 2003 Serg Stoyan <stoyan@on.com.ua>
3269
3270 * Source/NSMenu.m ([-performKeyEquivalent:]): Only perform the
3271 higlighting if the item is enabled.
3272 * Source/NSMenuView.m
3273 ([-performActionWithHighlightingForItemAtIndex:]): Run the run
3274 loop for a fraction of a second before executing the action, so
3275 that the highlighted item is displayed. Do not remove the
3276 highlighted item if a popup menu.
3277 * Source/NSPopUpButton.m ([-mouseDown:]): Leave the selection
3278 unchanged if the item which was selected is disabled.
3279 ([-performKeyEquivalent:]): Mark the popup button as needing
3280 redisplay if the key equivalent is performed.
3281
3282 Mon Jan 20 00:37:39 2003 Nicola Pero <n.pero@mi.flashnet.it>
3283
3284 * Source/NSWorkspace.m ([NSWorkspace +initialize]): Wrap in
3285 an exception handler so we are sure to release the lock.
3286
3287 2003-01-14 Adam Fedor <fedor@gnu.org>
3288
3289 * Source/NSSound.m ([NSSound +gsnd]): Rename daemon to gnustep_sndd
3290 * Tools/gsnd/GNUmakefile: Idem.
3291
3292 Thu Jan 9 05:17:22 2003 Nicola Pero <n.pero@mi.flashnet.it>
3293
3294 * Source/NSApplication.m ([-_appIconInit]): If no app icon has
3295 been set, set GNUstep as the applicationIcon by calling
3296 setApplicationIconImage: so that the default image gets also
3297 registered with name NSApplicationIconImage.
3298
3299 2003-01-08 Fred Kiefer <FredKiefer@gmx.de>
3300
3301 * Source/NSTextView.m
3302 Changed all the internal methods ([replaceCharacterRange:withString:],
3303 [setFont:range:], [setTextColor:range:], [setalignment:range:],
3304 [replaceRange:withAttributedString:], [setAtrributes:range:]) not
3305 to call [shouldChangeTextInRange:replacementString:], so that they
3306 can be called for a non editable text view.
3307 Added this call to the methods: [insertText:], [transpose:],
3308 [changeColor:], [alignCenter:], [alignLeft:], [alignRight:],
3309 [alignJustified:], [readSelectionFromPasteboard:type:].
3310 * Source/NSCell.m
3311 In [selectWithFrame:...length:] removed duplicate setting of delegate.
3312 * Source/NSBrowserCell.m
3313 Use method calls in [initWithCoder:] to get fontification correct.
3314 * Source/NSClipView.m
3315 Use method calls in [initWithCoder:] so opaque flag is set
3316 correctly.
3317
3318 Tue Dec 31 16:30:32 2002 Nicola Pero <n.pero@mi.flashnet.it>
3319
3320 * Model/GNUmakefile: Build gmodel bundle when GUI_LIB is gnu, not
3321 when it's not (Suggestion by Pete French <pete@twisted.org.uk>).
3322
3323 Mon Dec 30 18:29:41 2002 Nicola Pero <n.pero@mi.flashnet.it>
3324
3325 * Model/GNUmakefile: Updated all checks for library-combo.
3326
3327 Sun Dec 29 12:27:35 2002 Gregory John Casamento <greg_casamento@yahoo.com>
3328
3329 * Headers/gnustep/gui/GSNibTemplates.h: Added declaration for
3330 class GSFontProxy.
3331 * Source/NSBundleAdditions.m: Added definition for class
3332 GSFontProxy. This class handles the fall back which is
3333 necessary when unarchiving NSFont when the specified font is
3334 unavailable. Modified unarchiving code to use the new
3335 class when unarchiving.
3336 * Headers/gnustep/gui/NSToolbarItem.h: Corrected spelling of
3337 NSToolbarFlexibleSpaceItemIdentifier.
3338 * Source/NSToolbarItem.m: Did some initial work on the
3339 default toolbar items.
3340 * Source/externs.m: Corrected spelling of
3341 NSToolbarFlexibleSpaceItemIdentifier.
3342
3343
3344 Sat Dec 28 01:42:40 2002 Nicola Pero <n.pero@mi.flashnet.it>
3345
3346 * Source/NSWindow.m ([-_initBackendWindow:]): Fixed code resetting
3347 then restoring the drag types for a deferred window -- there was a
3348 small confusion where NSArray and NSCountedSet were used
3349 interchangeably, while they are not. Drag&drop now works with
3350 deferred windows for me.
3351
3352 Wed Dec 25 17:01:51 2002 Nicola Pero <n.pero@mi.flashnet.it>
3353
3354 * Headers/gnustep/gui/NSText.h ([-setFont:range:]): Declare.
3355 * Source/NSTextView.m ([-setFont:ofRange:]): Renamed to
3356 setFont:range:.
3357 * Source/NSText.m ([-setFont:range:]): New method.
3358 ([-setFont:ofRange:]): Call the new method.
3359
3360 2002-12-23 Fred Kiefer <FredKiefer@gmx.de>
3361
3362 * Headers/gnustep/gui/NSComboBoxCell.h
3363 Removed unused ivars and added one to store the popup while open.
3364 * Source/NSComboBoxCell.m
3365 Moved popup positioning to GSComboWindow, rewrote popup size code
3366 to respect numberOfItems and to adopt the used matrix. New methods
3367 for the cell to popup interaction.
3368 Corrected the encoding code of NSComboBoxCell. [objectValues] now
3369 correctly warns in the data source case. New method
3370 [stringValueAtIndex:]. Hack in [_didClick:] to get setting of
3371 values working.
3372
3373 2002-12-22 Gregory John Casamento <greg_casamento@yahoo.com>
3374
3375 * Source/NSToolbar.m: Added some of the code needed to add/remove
3376 toolbar items.
3377
3378 2002-12-10 Adam Fedor <fedor@gnu.org>
3379
3380 * Source/NSView.m ([NSView -lockFocusInRect:]): Check for window iff
3381 not printing.
3382 ([NSView -unlockFocusNeedsFlush:]): Idem.
3383 ([NSView -displayIfNeededInRectIgnoringOpacity:]): Idem.
3384 ([NSView -displayRectIgnoringOpacity:]): Idem.
3385
3386 2002-12-10 Fred Kiefer <FredKiefer@gmx.de>
3387
3388 * Source/NSImageView.m
3389 Use [mouseDown:] instead of [mouseDragged:] to start dragging as
3390 the later only works when the view is not first responder.
3391
3392 2002-12-05 Adam Fedor <fedor@gnu.org>
3393
3394 * Source/GSSimpleLayoutManager.m ([GSSimpleLayoutManager
3395 -setNeedsDisplayForLineRange:inTextContainer:]): Make sure view
3396 exists before trying to get range (Solaris limitation).
3397
3398 2002-12-04 Adam Fedor <fedor@gnu.org>
3399
3400 * Source/GSSimpleLayoutManager.m ([GSSimpleLayoutManager
3401 -textStorage:edited:range:changeInLength:invalidatedRange:]): Make
3402 sure view exists before trying to get range (Solaris limitation).
3403
3404 * Source/NSPrintOperation.m: Update for change in GSSetLocale.
3405
3406 2002-12-04 Adam Fedor <fedor@gnu.org>
3407
3408 * Headers/gnustep/gui/DPSOperators.h (DPSPrintf): Remove inline
3409 attribute which caused compiler errors on FreeBSD (patch from Pete
3410 French <pete@twisted.org.uk>).
3411
3412 2002-12-05 Fred Kiefer <FredKiefer@gmx.de>
3413
3414 * Source/NSBitmapImageRep.m
3415 In [TIFFRepresentationUsingCompression:factor:] set extraSamples
3416 and correct compression type if 0.
3417 * Source/NSImageView.m
3418 Implement dragging of images.
3419
3420 2002-12-02 Adam Fedor <fedor@gnu.org>
3421
3422 * Model/GMAppKit.m, Model/GMArchiver.m, Model/IBClasses.m,
3423 Model/IMConnectors.m, Model/IMCustomObject.m, Model/IMLoading.m,
3424 Model/Translator.m: Include model headers from gnustep/gui
3425 not AppKit.
3426 * Model/GNUmakefile: Install headers in gnustep/gui
3427
3428 2002-11-29 Richard Frith-Macdonald <rfm@gnu.org>
3429
3430 * Model/IMConnectors.m: Update ivar setting code.
3431
3432 2002-11-27 Richard Frith-Macdonald <rfm@gnu.org>
3433
3434 * Source/NSBundleAdditions.m: Quick hack for setting ivars.
3435
3436 2002-11-27 Adam Fedor <fedor@gnu.org>
3437
3438 * Source/NSTabView.m ([NSTabView -selectedTabViewItem]): Check
3439 that the array count is > 0
3440
3441 2002-11-24 Adam Fedor <fedor@gnu.org>
3442
3443 * Tools/example.m: Include NSProcessInfo.h
3444
3445 2002-11-24 Fred Kiefer <FredKiefer@gmx.de>
3446
3447 * Headers/gnustep/gui/NSSavePanel.h
3448 * Headers/gnustep/gui/NSOpenPanel.h
3449 * Source/NSSavePanel.m
3450 * Source/NSOpenPanel.m
3451 Added new MacOSX methods.
3452
3453 2002-11-24 Fred Kiefer <FredKiefer@gmx.de>
3454
3455 * Source/NSBezierPath.m
3456 Corrected [GSBezierPath appendBezierPath:] to check the class of
3457 the parameter and to keep the isFlat flag in sync.
3458 * TextConverters/RTF/RTFConsumer.m
3459 GSRTFregisterFont() handle fontnames with and without trailing ';'.
3460 * TextConverters/RTF/rtfGrammer.y
3461 Documented how to compile with recent bison releases.
3462 Removed one conflict and an unneeded terminal.
3463 Allow for additional blocks in font definition.
3464 * TextConverters/RTF/rtfGrammer.tab.h
3465 Regenerated with bison 1.35
3466 * TextConverters/RTF/rtfGrammer.tab.c
3467 Regenerated with bison 1.35 and corrected yyparse declaration.
3468 * TextConverters/RTF/rtfScanner.c
3469 Redefined GSRTFlex() without location parameter. Some cleanup
3470 against compiler warnings.
3471
3472 2002-11-21 Adam Fedor <fedor@gnu.org>
3473
3474 * Version: 0.8.3
3475
3476 2002-11-21 Fred Kiefer <FredKiefer@gmx.de>
3477
3478 * Source/NSGraphicsContext.m
3479 Rewrote [GSSendBezierPath:] to send the full path to the
3480 backend. Code comes from [NSBezierPath _doPath].
3481 * Source/NSBezierPath.m
3482 Replaces [_doPath] with calls to [NSGraphicsContext
3483 GSSendBezierPath:].
3484 Added optimisation methods [appendBezierPath:] and
3485 [transformUsingAffineTransform:] on GSBezierPath.
3486
3487 2002-11-18 Gregory John Casamento <greg_casamento@yahoo.com>
3488
3489 * Source/NSBundleAdditions.m: Added some logic in the initWithCoder
3490 method to handle different gorm file versions. Even though there
3491 is only one version currently, we need this in place.
3492 * Headers/gnustep/gui/GSNibTemplates.h: Added #define for
3493 GNUSTEP_NIB_VERSION.
3494
3495 2002-11-17 Fred Kiefer <FredKiefer@gmx.de>
3496
3497 * Source/NSCell.m
3498 * Source/NSButtonCell.m
3499 * Source/NSMenuItemCell.m
3500 * Source/NSOutlineView.m
3501 * Source/NSPopUpButtonCell.m
3502 * Source/NSSplitView.m
3503 Removed unneeded includes.
3504 * Source/NSRulerView.m
3505 Rewrote [drawHashMarksAndLabelsInRect:] to use string drawing and
3506 bezier path code instead of direct PS operations.
3507
3508 2002-11-16 Frederic De Jaeger <dejaeger@free.fr>
3509
3510 * Source/NSOpenGLPixelFormat.m, Source/NSOpenGLContext.m,
3511 Source/NSOpenGLView.m, Headers/AppKit/NSOpenGL.h,
3512 Headers/AppKit/NSOpenGLView.h: New files.
3513 * Source/Makefile: Updated accordingly.
3514 * Headers/AppKit/GSDisplayServer.h (glContextClass,
3515 glPixelFormatClass): New methods.
3516 * Source/GSDisplayServer.m: Implement.
3517
3518 2002-11-15 Adam Fedor <fedor@gnu.org>
3519
3520 * Model/GMAppKit.m ([NSColor -encodeWithModelArchiver:]): Encode
3521 named colors.
3522 ([NSColor +createObjectForModelUnarchiver:]): Decode them.
3523
3524 2002-11-13 Adam Fedor <fedor@gnu.org>
3525
3526 * Model/IMLoading.m ([GMModel -objects]): New.
3527 ([GMModel -connections]): Idem.
3528
3529 2002-11-12 Adam Fedor <fedor@gnu.org>
3530
3531 * Headers/gnustep/gui/AppKit.h: Add NSDocumentController.
3532
3533 * Source/NSSavePanel.m ([NSSavePanel -ok:]): Display filename
3534 (with extension) if replacing.
3535
3536 2002-11-12 20:40 Alexander Malmberg <alexander@malmberg.org>
3537
3538 * Source/NSTableView (-setDataSource:): Allow nil data source.
3539
3540 2002-11-10 Fred Kiefer <FredKiefer@gmx.de>
3541
3542 * Source/GSSimpleLayoutManager.m
3543 * Source/NSOutlineView.m
3544 Removed compiler warnings by correcting method names.
3545 * Source/NSBezierPath.m
3546 * Source/NSOpenPanel.m
3547 * Source/NSStringDrawing.m
3548 Corrected includes to speed up compilation.
3549
3550 2002-11-10 Fred Kiefer <FredKiefer@gmx.de>
3551
3552 * Source/GSComboSupport.h
3553 * Source/GSComboSupport.m
3554 Removed files.
3555 * GNUmakefile
3556 Removed GSComboSupport.m
3557 * Source/NSComboBoxCell.m
3558 Moved all ComboBox code to here to make further changes easier.
3559 * Headers/gnustep/gui/NSSound.h:
3560 Prefixed all ivars with underscore
3561 * Source/NSSound.m
3562 Adopted to change in header and simplified [copyWithZone:] and
3563 [initWithCoder:].
3564
3565 2002-11-09 Richard Frith-Macdonald <rfm@gnu.org>
3566
3567 * Source/NSDocumentController.m: Don't try to store NSURL objects in
3568 defaults system.
3569
3570 2002-11-08 Adam Fedor <fedor@gnu.org>
3571
3572 * Source/NSSavePanel.m ([NSSavePanel -_shouldShowExtension:isDir:]):
3573 Filter regular files also.
3574
3575 * Source/NSMenu.m ([NSMenuPanel -canBecomeKeyWindow]): Return
3576 YES only if we are the main menu.
3577 * Source/NSWindow.m ([NSWindow -sendEvent:]) (FocusIn): If we are
3578 the main menu, try to find another window to become key.
3579
3580 2002-11-07 Fred Kiefer <FredKiefer@gmx.de>
3581
3582 * Source/NSCell.m
3583 in [initImageCell:] and [initTextCell:] set the default menu.
3584 In all [XXXValue] methods try to get the value from the objectValue
3585 first and use [stringValue] instead of accessing the contents directly.
3586 Removed AUTORELEASE calls from [attributedStringValue] and similar
3587 places.
3588 In [cellSize] use [attributedStringValue] to get the string to size.
3589 In [drawInteriorWithFrame:inView:] use [attributedStringValue] to
3590 get the string to draw. This make the method [_drawText:inFrame:]
3591 obsolete for this class, but subclasses still use it.
3592 New method [_setupTextWithFrame:inView:editor:] with the common
3593 text view setup from [editWithFrame:inView:editor:delegate:event:]
3594 and [selectWithFrame:inView:editor:delegate:start:length:].
3595 Calls to [setFont:] and [setAlignment:] switch the cell to NSTextCellType.
3596 * Source/NSButtonCell.m
3597 Removed all direct usage of ivar _contents. Implemented
3598 [attributedAlternateTitle] and use this in [cellSize] and
3599 [drawInteriorWithFrame:inView:].
3600 * Headers/gnustep/gui/NSDragging.h:
3601 Added some new MacOSX values to NSDragOperation and some new methods.
3602
3603 2002-11-06 Adam Fedor <fedor@gnu.org>
3604
3605 * Source/NSTableView.m ([NSTableView -drawRow:clipRect:]):Swapped
3606 sides of while statement && operator to check for _numberOfColumns
3607 first.
3608 ([NSTableView -drawGridInClipRect:]): Idem.
3609 Also remove some unused variables.
3610 ([NSTableView -mouseDown:]): Select the drag row if it's not currently
3611 selected. Simplify some code (do all selecting in one place).
3612 (-mouseDown2:): Remove commented out method.
3613 ([NSTableView -draggingUpdated:sender]): scrollRowToVisible if we
3614 are dragging near edges of view.
3615
3616 2002-11-02 Lyndon Tremblay <humasect@shaw.ca>
3617
3618 * NSTableView.m ([NSTableView -columnAtPoint:]): Swapped sides of
3619 while statement && operator to check for _numberOfColumns first.
3620
3621 2002-11-01 Lyndon Tremblay <humasect@shaw.ca>
3622
3623 * Source/NSBitmapImageRep.m ([NSBitmapImageRep -draw]): Cast
3624 argument 11 for NSDrawBitmap() to remove warning.
3625
3626 2002-11-04 Adam Fedor <fedor@gnu.org>
3627
3628 * Source/NSWorkspace.m ([NSWorkspace -_workspaceApplication]):
3629 Change default to GWorkspace.
3630
3631 2002-11-02 Adam Fedor <fedor@gnu.org>
3632
3633 * Source/NSWindowController.m (-setDocument:): Remove window's
3634 setReleasedWhenClosed when doc is not nil.
3635 (-setWindow:): Idem.
3636 (Pointed out by Stefan Urbanek).
3637
3638 2002-11-02 Adam Fedor <fedor@gnu.org>
3639
3640 * Source/NSParagraphStyle.m (-compare:): Correct the comparision of
3641 NSTextTabs.
3642 * Source/NSScrollView.m (-tile:): Add a call to setNeedsDisplay.
3643 * Source/NSRulerMarker.h: Correct a mispelling in a method name
3644 makerLocation to markerLocation.
3645 * Source/NSTextView.m: Idem.
3646 (-rulerView:didAddMarker:) Create a new NSTextTab corresponding
3647 to the marker.
3648 (-rulerView:handleMouseDown:) Ask rulerview to track a new
3649 marker, instead of simply adding a new marker
3650 * Source/NSRulerView.m: Remove some unused macros.
3651 (-_verifyReservedThicknessForMarkers, _rulerRect, _markersRect,
3652 -markerAtPoint:): New private.
3653 (-trackMarker:withMouseEvent:): Implement.
3654 (-mouseDown:) Track marker if click was on marker, or asks
3655 client to handle if click was on ruler area.
3656 * Source/NSRulerMarker.m: -trackMouse:adding:): Implement.
3657 (Patches from Benhur Stein <benhur@inf.ufsm.br>).
3658
3659 2002-11-01 Adam Fedor <fedor@gnu.org>
3660
3661 * Source/NSApplication.m (-finishLaunching): Instantiate an
3662 NSDocumentController if this is a doc-based app.
3663 (-targetForAction:): Check if NSDocumentController responds
3664 to action if this is a doc-based app.
3665
3666 * Source/NSDocument.m (-close): Rewrite to deal with removing
3667 objects from array while enumerating.
3668 * Source/NSDocumentController.m (-closeAllDocuments): Idem.
3669 (-sharedDocumentController): Don't set ourselves as the app delegate.
3670 (-isDocumentBasedApplication): Method for NSApplication.
3671
3672 * Source/NSWindow.m (-sendEvent:): Retain _lastView
3673 just in case it's a temporary view.
3674
3675 2002-10-31 Gregory John Casamento <greg_casamento@yahoo.com>
3676
3677 * Source/NSBundleAdditions.m:
3678 +[loadNibFile:externalNameTable:withZone:]: Added logic
3679 to load .gorm directories and also maintained backwards compatibility
3680 with .gorm files.
3681
3682 2002-10-29 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
3683
3684 * Source/NSSplitView.m ([NSSplitView -resizeSubviewsWithOldSize:]):
3685 Move code from setFrame: & resizeWithOldSuperviewSize:
3686 to resizeSubviewsWithOldSize:.
3687
3688 * Source/NSColorPanel.m ([NSColorPanel _initWithoutGModel]):
3689 make the window a little bit higher. Some ColorPickers would not fit.
3690 * ColorPickers/GSCMYKColorPicker.tiff:
3691 * ColorPickers/GSGrayColorPicker.tiff:
3692 * ColorPickers/GSHSBColorPicker.tiff:
3693 * ColorPickers/GSRGBColorPicker.tiff:
3694 resize so that the image fits within the NSButton.
3695 (only blank area was removed)
3696
3697
3698 2002-10-29 Richard Frith-Macdonald <rfm@gnu.org>
3699
3700 * Headers/gnustep/gui/GSMethodTable.h:
3701 * Headers/gnustep/gui/PSOperators.h:
3702 Add const qualifier to PSPrintf and PSWriteData argument types to
3703 match all other declatrations.
3704 * Headers/gnustep/gui/NSMenu.h: Add and document validation protocol.
3705 * Headers/gnustep/gui/NSMenuItem.h: Add some documentation and tidy.
3706
3707 2002-10-28 Adam Fedor <fedor@gnu.org>
3708
3709 * Source/NSTextView.m (-drawRect:): Don't draw insertion point
3710 when printing.
3711
3712 * PrinterTypes/GSProlog.ps: New file.
3713 * Source/NSView.m (-_loadPrinterProlog): New.
3714 (beginPage:...): Use it.
3715
3716 2002-10-28 Adam Fedor <fedor@gnu.org>
3717
3718 * Source/NSScreen.m (-visibleFrame): Don't include dock
3719 with NexT/WindowMaker styles (patch from Stefan <urbanek@host.sk>).
3720
3721 2002-10-28 Adam Fedor <fedor@gnu.org>
3722
3723 * Source/NSPrintOperation.m (-cleanUpOperation): Order out print
3724 panel.
3725 (-_runOperation): Use autorelease pool around operation.
3726 (-init): Create a proper, unique temp print file.
3727 (-deliverResult): Implement for previewing, spooling.
3728 * Source/NSPrintPanel.m (-runModel): Don't order self out.
3729 (-_setStatusStringValue:) New private method.
3730
3731 2002-10-28 Richard Frith-Macdonald <rfm@gnu.org>
3732
3733 * Source/NSTextField.m: ([-dealloc]) morph self to be an NSTextView
3734 so that when dealloc is re-called, any subclass dealloc methods
3735 don't get re-called.
3736 * Source/NSTableView.m: Memory leak fix added as suggested by
3737 Stefan Urbanek. NOTE ... selection code looks very inefficient,
3738 perhaps we should look into whether it is worth optimising?
3739
3740 2002-10port-Yves Rivaille <pyrivail@ens-lyon.fr>
3741
3742 * Source/NSMenuView.m ([NSMenuView -trackWithEvent:]):
3743 new tracking code. The menu feels snappier now (at least for me).
3744
3745 * Source/NSColorWell.m ([-activate:], [-deactivate])
3746 register/unregister for NSColorPanelColorChangedNotification.
3747 ([NSColorWell _takeColorFromPanel:]): new method to prevent endless
3748 loop when setting the well's color from the color panel.
3749 ([NSColorWell -initWithCoder:]): register for NSColorPboardType.
3750
3751 * Source/NSColorPanel.m ([NSColorPanel -_bottomWellAction:]):
3752 called when hitting one of the well at the bottom of the panel.
3753 Previous behaviour would not send a
3754 NSColorPanelColorChangedNotification.
3755 ([NSColorPanel -initWithCoder:]): update bottom wells construction to
3756 call _bottomWellAction: instead of takeColorFrom:.
3757
3758 2002-10-26 Adam Fedor <fedor@gnu.org>
3759
3760 * Source/NSOutlineView.m (-drawRow:clipRect:): Release imageCell
3761 (patch from Stefan <urbanek@host.sk>).
3762
3763 2002-10-25 Adam Fedor <fedor@gnu.org>
3764
3765 * Source/NSApplication.m: Remove some NSDebugLogs.
3766
3767 * Source/NSDocument.m
3768 (-fileNameFromRunningSavePanelForSaveOperation:): Set directory to
3769 the currentDirectory if no fileName is set. Localize.
3770 (-fileAttributesToWriteToFile:ofType:saveOperation:): Stub implement.
3771 * Source/NSDocumentController.m: Document.
3772 (+sharedDocumentController): Proper allocation/init. Set ourselves
3773 as the application delegate if there isn't one already.
3774 (-init): Retrieve list of recent documents.
3775 (-reviewUnsavedDocumentsWithAlertTitle:cancellable:): Save
3776 current directory. Localize.
3777 (-currentDirectory): Rewrite according to docs.
3778
3779 * Source/NSOpenPanel.m (-runModalForTypes:): Use nil for
3780 directory.
3781 * Source/NSSavePanel.m (_setupForDirectory:file:): Use
3782 current directory if nil, otherwise keep the old one.
3783 (-runModal): Pass nil for directory.
3784
3785 2002-10-25 Mirko Viviani <mirko.viviani@rccr.cremona.it>
3786
3787 * configure.ac: fixed header/ldflags for freebsd.
3788
3789 2002-10-21 Adam Fedor <fedor@gnu.org>
3790
3791 * Source/GSFontInfo.m (+encodingForRegistry:encoding:): Remove.
3792
3793 Tue Oct 22 02:13:55 2002 Nicola Pero <n.pero@mi.flashnet.it>
3794
3795 * Resources/GNUmakefile (string): Renamed to after-strings so
3796 that it works with the new gnustep-make strings targets.
3797
3798 2002-10-21 Richard Frith-Macdonald <rfm@gnu.org>
3799
3800 * Source/NSView.m: Key view code ... complete rewrite to match
3801 MacOS-X implementation. Fix coding bug in rewrite.
3802 * Source/NSTextField.m: don't use _nextKeyView
3803 * Source/NSMatrix.m: don't use _nextKeyView
3804
3805 Mon Oct 21 01:17:41 2002 Nicola Pero <n.pero@mi.flashnet.it>
3806
3807 * Source/NSView.m ([-setNextKeyView:], [-setPreviousKeyView:]):
3808 Rewritten the way the next/previous key view chain is managed, to
3809 fix problem when a next/previous key view is replaced with a new
3810 one (Patch by Caba Conti modified).
3811
3812 2002-10-20 Richard Frith-Macdonald <rfm@gnu.org>
3813
3814 * Headers/gnustep/gui/NSComboBox.h: Add APPKIT_EXPORT and make layout
3815 a bit more consistent.
3816 * Source/NSTextView.m: ([-dealloc]) remove unneeded RETAIN()
3817 Fixes for beugs reported by Caba Conti.
3818
3819 2002-10-18 Adam Fedor <fedor@gnu.org>
3820
3821 * Documentation/announce.texi: Fix grammer.
3822
3823 * Try to fix focus interaction with WindowMaker.
3824 * Source/NSApplication.m ([NSIconWindow -canBecomeKeyWindow]):
3825 Revert 2002-10-08 change.
3826 (-appIconInit): Don't set input focus to app icon.
3827 (-_windowWillClose:): Idem.
3828 * Source/NSMenu.m: New class NSMenuPanel
3829 (_createWindow): Use it.
3830 * Source/NSWindow.m (-_lossOfKeyOrMainWindow): Make sure menu
3831 window doesn't get key except as a last resort.
3832 (-sendEvent: (GSAppKitWindowFocusIn)): Don't become key if app
3833 is hidden.
3834
3835 * Source/NSPanel.m (-sendEvent:): Same as change to NSWindow on
3836 2002-10-03.
3837
3838 * Source/NSDocument.m (-init): Set default file type.
3839
3840 Tue Oct 15 02:36:32 2002 Nicola Pero <n.pero@mi.flashnet.it>
3841
3842 * Source/NSApplication.m (initialize_gnustep_backend): Get the
3843 GSBackend class using NSClassFromString() rather than NSBundle's
3844 -classNamed: to make it more robust on platforms - eg MS Windows -
3845 which have unclear problems with dynamic loading.
3846
3847 2002-10-14 Adam Fedor <fedor@gnu.org>
3848
3849 * Version: 0.8.2
3850 * Documentation/news.texi: Update.
3851
3852 Mon Oct 14 02:24:45 2002 Nicola Pero <n.pero@mi.flashnet.it>
3853
3854 * Source/NSSavePanel.m (browser:createRowsForColumn:inMatrix:):
3855 Fixed last change which had broken the GSFileBrowserHideDotFiles
3856 option.
3857
3858 2002-10-13 Gregory John Casamento <greg_casamento@yahoo.com>
3859
3860 * Headers/GSNibTemplates.h: Added parentClassName member to
3861 templates so that the parent of the custom class could be stored.
3862 * Source/NSBundleAdditions.m: Made necessary modfications to the
3863 template implementations to use the parent class name
3864
3865 2002-10-13 Richard Frith-Macdonald <rfm@gnu.org>
3866
3867 * Source/NSSavePanel.m: ([--browser:createRowsForColumn:inMatrix:])
3868 Don't try to read .hidden file for processing unless it exists.
3869 * Source/DocMakefile: New makefile for building documentation
3870 without having to build binaries. Also add flag for macros template.
3871 * Source/GNUmakefile: Removed documentation building rules.
3872 * Documentation/GNUmakefile: Use DocMakefile
3873 * Source/NSWindow.m: Slight documentation update/addition.
3874 * Source/NSView.m: ditto.
3875 * Source/NSToolbar.m: ditto.
3876 * Source/NSTextView.m: ditto.
3877 * Source/NSMatrix.m: ditto.
3878 * Source/NSLayoutManager.m: ditto.
3879
3880 2002-10-11 Adam Fedor <fedor@gnu.org>
3881
3882 * Headers/gnustep/gui/NSOpenPanel.h: Move comments to source file
3883 as autogsdoc.
3884 * Headers/gnustep/gui/NSSavePanel.h: Idem.
3885 * Source/NSOpenPanel.m: Document.
3886 * Source/NSSavePanel.m: Idem.
3887
3888 * Source/NSBrowser.m: Change NSDebugLog to NSDebugLLog (or remove).
3889 * Source/NSButtonCell.m, Source/NSCell.m, Source/NSControl.m,
3890 Source/NSEvent.m, Source/NSFontManager.m, Source/NSFontPanel.m,
3891 Source/NSImageCell.m, Source/NSMatrix.m, Source/NSMenu.m,
3892 Source/NSMenuItem.m, Source/NSResponder.m, Source/NSRulerView.m,
3893 Source/NSScrollView.m, Source/NSSplitView.m, Source/NSStepper.m,
3894 Source/NSTableHeaderView.m, Source/NSWindow.m: Idem.
3895
3896 Fri Oct 11 15:10:42 2002 Nicola Pero <n.pero@mi.flashnet.it>
3897
3898 * Headers/gnustep/gui/AppKit.h: Include AppKit/NSFileWrapper.h
3899 (Reported by Ludovic Marcotte <ludovic@Sophos.ca>).
3900
3901 Fri Oct 11 01:37:57 2002 Nicola Pero <n.pero@mi.flashnet.it>
3902
3903 * TextConverters/RTF/RTFConsumer.m ([RTFAttribute -currentFont]):
3904 If the font can't be found in the usual ways, try to get it as a
3905 composite font name like 'FontFamily-Face'
3906 (Patch by Georg Fleischmann <georg@vhf.de> modified).
3907
3908 Fri Oct 11 01:15:55 2002 Nicola Pero <n.pero@mi.flashnet.it>
3909
3910 * Source/NSFont.m (getNSFont): If fontWithName:size: returns nil,
3911 try various approximations to get a font.
3912
3913 Fri Oct 11 01:02:24 2002 Nicola Pero <n.pero@mi.flashnet.it>
3914
3915 Patch by Georg Fleischmann <georg@vhf.de>:
3916 * Source/NSFont.m ([NSFont -initWithName:matrix:fix:]): Release
3917 self and return nil if the font info is nil. This makes
3918 [NSFontManager -convertFont:...] work.
3919
3920 Thu Oct 10 19:56:29 2002 Nicola Pero <n.pero@mi.flashnet.it>
3921
3922 * Source/NSScrollView.m ([-scrollPageUp:]): Implemented.
3923 ([-scrollPageDown:]): Implemented. ([-pageUp:]):
3924 Implemented. ([-pageDown:]): Implemented.
3925 * Source/NSTextView.m ([-pageDown:]): Implemented.
3926 ([-pageUp:]): Implemented.
3927 (Patch by David Ayers <d.ayers@inode.at>).
3928
3929 Thu Oct 10 19:16:40 2002 Nicola Pero <n.pero@mi.flashnet.it>
3930
3931 * Source/NSFontManager.m ([NSFontManager -fontMenu:]): Use 't'
3932 as key equivalent for the font panel.
3933 (Patch by David Ayers <d.ayers@inode.at>).
3934
3935 2002-10-10 Fred Kiefer <FredKiefer@gmx.de>
3936
3937 * Source/NSBezierPath.m
3938 Handle seting of an empty dash in [setLineDash:count:phase:].
3939 [_doPath] now always sends the dash pattern, even when empty.
3940
3941 2002-08-30 Georg Fleischmann
3942
3943 * Source/NSWindow.m ([-constrainFrameRect]): Move window inside
3944 screen, if window top is below screen.
3945
3946 2002-10-09 Adam Fedor <fedor@gnu.org>
3947
3948 * Source/NSApplication (hide:): Don't setinputfocus to the
3949 icon window.
3950 * Source/NSWindow.m (-sendEvent:) (GSAppKitWindowFocusIn):
3951 If we're not visible, don't try to become main/key.
3952
3953 2002-10-08 Adam Fedor <fedor@gnu.org>
3954
3955 * Fix window focus problems.
3956 * Source/NSApplication.m ([NSIconWindow -canBecomeKeyWindow]):
3957 return YES.
3958 (-finishLaunching): Don't make main menu key.
3959 ([NSApplication -deactivate]): Don't setinputfocus to the
3960 icon window.
3961
3962 * Add Quartz-like interface and overridable passing of
3963 colorspaces and fonts to backend.
3964 * Headers/gnustep/gui/NSFont.h (_fontRef): New ivar.
3965 * Source/NSFont (-fontRef): New method.
3966 (GSSetFont): Use it.
3967 * Source/GSFontInfo (-matrix): New method.
3968 * Headers/gnustep/gui/GSFusedSilica.h: New header
3969 * Headers/gnustep/gui/GSFusedSilicaContext.h: Idem.
3970 * GSFusedSilica.m: New file.
3971 * GSFusedSilicaContext.m: Idem.
3972
3973 Tue Oct 8 19:15:24 2002 Nicola Pero <n.pero@mi.flashnet.it>
3974
3975 * Source/NSSecureTextField.m: Mostly rewritten. Main changes -
3976 NSCoding protocol methods moved to the cell; implemented encoding;
3977 do not share the secure text field globally, just create one each
3978 time; create the secure text field in setupFieldEditorAttributes:
3979 and removed most other hacks. Init methods of the secure text
3980 view rewritten to be simpler. Do not register the secure text
3981 view for services. Should no longer crash with the new internals.
3982 * Headers/gnustep/gui/NSSecureTextField.h: Prefix ivars with
3983 underscore. Add setEchosBullets: and echosBullets methods to
3984 the textfield as well as the cell.
3985
3986 Tue Oct 8 18:46:45 2002 Nicola Pero <n.pero@mi.flashnet.it>
3987
3988 * Source/NSTextContainer.m ([-replaceLayoutManager:]): Retain the
3989 layout manager, then release it at the end; refresh the layout
3990 manager cached by the textview; do not set the layout manager's
3991 text storage manually.
3992 * Source/NSTextStorage.m ([-removeLayoutManager:]): Set the
3993 argument's text storage to nil before removing it from the array.
3994
3995 2002-10-08 Gregory John Casamento <greg_casamento@yahoo.com>
3996
3997 * Headers/GSNibTemplates.h: Added new template class.
3998 * Source/NSBundleAdditions.m: Added implementation for new template
3999 class. Improved some of the existing classes.
4000
4001 2002-10-08 Fred Kiefer <FredKiefer@gmx.de>
4002
4003 * Headers/gnustep/gui/NSButtonCell.h
4004 Adoped the enums NSButtonType and NSBezelStyle to the new MacOSX names.
4005 * Source/NSButtonCell.m
4006 [setButtonType:] use those new names. Corrected [cellAttribute:]
4007 and [setCellAttribute:] to use the right tests. [performClick:]
4008 now play the sound, if provided.
4009
4010 2002-10-07 Adam Fedor <fedor@gnu.org>
4011
4012 * Source/NSBrowser.m (-frameOfColumn:, -tile): Change distance
4013 between columns from 1 to 2. (Patch from Serg Stoyan
4014 <stoyan@hologr.com>)
4015
4016 * Source/NSGraphicsContext.m (-GSSetFillColorspace:):Take
4017 void * argument
4018 (-GSSetStrokeColorspace:): Idem.
4019 (-GSSetFont:): Idem.
4020
4021 2002-10-06 Gregory John Casamento <greg_casamento@yahoo.com>
4022
4023 * Source/NSBundleAdditions.m: Implemented the following classes:
4024 NSWindowTemplate, NSViewTemplate, NSControlTemplate, NSTextTemplate,
4025 NSTextViewTemplate, NSMenuTemplate, GSClassSwapper. These classes
4026 are used to allow the .gorm files to have placeholders for custom
4027 classes defined by the developer. This is similar to the approach
4028 used in OPENSTEP 4.2/Mach and MOSX.
4029 * Headers/gnustep/gui/NSNibLoading.h: Removed declarations for classes
4030 which should be considered private to GNUstep.
4031 * Headers/gnustep/gui/GSNibTemplates.h: Moved GSNibContainer,
4032 GSNibItem, GSCustomView here. Added declarations for new template
4033 classes.
4034
4035 2002-10-04 Adam Fedor <fedor@gnu.org>
4036
4037 * Source/NSBrowser.m: Implement non-separated columns.
4038 (-setSeparatesColumns:): Remove borders if not separated.
4039 (-setTitled:): Return without chaging if we are not separated.
4040 (-frameOfColumn:): Compute properly with{out} separation.
4041 (-tile): Idem.
4042 (-initWithFrame:): Set maxVisibleColumns to 3.
4043 (-drawRect:): Draw properly with{out} separation.
4044 (Patch from Serg Stoyan <stoyan@hologr.com>).
4045
4046 2002-10-03 Adam Fedor <fedor@gnu.org>
4047
4048 * Headers/gnustep/gui/NSWindow.h: New _lastView ivar.
4049 * Source/NSWindow.m (-sendEvent:): Use it instead of _lastDragView
4050 to remember mouseDown view.
4051
4052 2002-10-02 Richard Frith-Macdonald <rfm@gnu.org>
4053
4054 * Source/NSWorkspace.m: ([-getInfoForFile:application:type:])
4055 Make an exception for directories without file extensions ... never
4056 return plain type for them even if apps claim to open them.
4057
4058 Wed Oct 2 11:26:21 2002 Nicola Pero <n.pero@mi.flashnet.it>
4059
4060 * Source/NSTextView.m
4061 ([-shouldChangeTextInRange:replacementString:]): Immediately
4062 return NO if not editable; do not send out textShouldBeginEditing:
4063 and textDidBeginEditingNotification unless the textview is already
4064 first responder (Patch by David Ayers <d.ayers@inode.at>).
4065
4066 2002-10-02 Richard Frith-Macdonald <rfm@gnu.org>
4067
4068 * Source/NSWorkspace.m: ([-getInfoForFile:application:type:])
4069 Try to return a plain file type for directories which are openable
4070 by some app.
4071
4072 2002-10-01 Adam Fedor <fedor@gnu.org>
4073
4074 * Tools/gsnd/portaudio/pa_unix_oss/pa_unix_oss.c
4075 (PaHost_WatchDogProc): usleep can have a void return (Modified
4076 patch from Charles Philip Chan).
4077
4078 * Source/NSBrowserCell.m (-drawInteriorWithFrame:inView:):
4079 Use NSCompositeSourceOver.
4080
4081 Tue Oct 1 17:07:25 2002 Nicola Pero <n.pero@mi.flashnet.it>
4082
4083 * Source/GSSimpleLayoutManager.h (_lineLayoutInformation): Renamed
4084 to _lineLayoutInfo.
4085 * Source/GSSimpleLayoutManager.m: Updated for change.
4086
4087 Tue Oct 1 16:58:36 2002 Nicola Pero <n.pero@mi.flashnet.it>
4088
4089 * Source/NSTextView.m ([NSTextView -moveToEndOfLine:]): Fixed
4090 moving to the end of 'one before the last' line.
4091 ([NSTextView -moveToEndOfParagraph:]): Idem.
4092
4093 Tue Oct 1 16:40:29 2002 Nicola Pero <n.pero@mi.flashnet.it>
4094
4095 * Source/GSSimpleLayoutManager.m
4096 ([-glyphIndexForPoint:inTextContainer:fractionOfDistanceThroughGlyph:]):
4097 Fix the insertion point positioning when clicking beyond the last
4098 character of a line in an NSTextView, or before the first one;
4099 special care to be used for the last line in the textview
4100 (Originated by a patch by David Ayers <d.ayers@inode.at>, modified
4101 by me).
4102
4103 2002-09-27 Richard Frith-Macdonald <rfm@gnu.org>
4104
4105 * Source/NSFont.m: Rewrote code dealing with creation and destruction
4106 of font objects to remove holes in the original caching scheme and to
4107 optimimise font creation/destruction somewhat. All font objects
4108 should now be handled by the cache, no matter how they are created.
4109
4110 2002-09-27 Richard Frith-Macdonald <rfm@gnu.org>
4111
4112 * Source/NSFont.m: Replace caching code which never released fonts
4113 with a cache which only holds fonts as long as something is using them.
4114
4115 2002-09-26 Fred Kiefer <FredKiefer@gmx.de>
4116
4117 * Headers/gnustep/gui/NSBrowserCell.h
4118 Removed all references to coding.
4119 * Source/NSBundleAdditions.m
4120 Moved add on methods.
4121 * Source/NSImage.m
4122 Moved method [NSBundle pathForImageResource:] to here.
4123 * Source/NSSound.m
4124 Moved method [NSBundle pathForSoundResource:] to here.
4125 * Source/NSButton.m
4126 Removed the coder methods as they were just super calls.
4127
4128 Wed Sep 25 03:37:27 2002 Nicola Pero <n.pero@mi.flashnet.it>
4129
4130 * Headers/gnustep/gui/NSInterfaceStyle.h: Put include guards in
4131 the canonical form, by swapping them with #ifndef STRICT_OPENSTEP;
4132 this arrangement is more efficient when the file is included
4133 multiple times with GCC.
4134
4135 Wed Sep 25 03:30:35 2002 Nicola Pero <n.pero@mi.flashnet.it>
4136
4137 * Headers/gnustep/gui/GSGuiPrivate.h: Redefine both _() and
4138 NSLocalizedString() to be wrappers for GSGuiLocalizedString()
4139 (Idea from Stefan Urbanek <urbanek@host.sk>).
4140 * Source/NSApplication.m: Use _() and NSLocalizedString()
4141 everywhere for localized strings, instead of
4142 GSGuiLocalizedString(). (NSAppKitUncaughtExceptionHandler):
4143 Small rearrangement of code to make it easier for make_strings
4144 to parse localization calls.
4145 * Source/NSDocument.m: Include GSGuiPrivate.h, and localize strings
4146 (from a patch by Stefan Urbanek <urbanek@host.sk>).
4147 * Resources/GNUmakefile: Completely rewritten to use
4148 resource-set.make to install the files; added experimental
4149 'strings' target which runs make_strings and updates the
4150 Localizable.strings files.
4151 * Resources/English.lproj/Localizable.strings: Updated using make strings.
4152 * Resources/Italian.lproj/Localizable.strings: Updated using make strings,
4153 then manually updated all translations; added missing ones.
4154
4155 Tue Sep 24 16:32:30 2002 Nicola Pero <n.pero@mi.flashnet.it>
4156
4157 After discussions with David Ayers:
4158 * Source/NSCell.m ([-editWithFrame:inView:editor:delegate:event:]):
4159 Do not perform an immediate display of the textfield.
4160 ([-selectWithFrame:inView:editor:delegate:start:length:]): Idem.
4161 * Source/NSTextField.m ([-becomeFirstResponder]): If the text
4162 field accepts first responder status, select its text.
4163 ([-mouseDown:]): If not selectable, pass the mouse down to super.
4164 If selectable, and _text_object is not nil, pass the mouse down to
4165 the _text_object. Else, try to get first responder status, and
4166 to start editing.
4167
4168 Tue Sep 24 03:29:55 2002 Nicola Pero <n.pero@mi.flashnet.it>
4169
4170 * Source/NSSplitView.m: Cache the default notification center for
4171 the whole class.
4172 * Source/NSTextStorage.m: Idem.
4173
4174 Tue Sep 24 03:14:12 2002 Nicola Pero <n.pero@mi.flashnet.it>
4175
4176 * Source/NSTextField.m ([-dealloc]): Implemented (Reported missing
4177 by David Ayers).
4178 * Source/NSDrawer.m ([-dealloc]): Remove the delegate from the
4179 notification center.
4180 * Source/NSMatrix.m ([-dealloc]): Idem.
4181 * Source/NSSplitView.m ([-dealloc]): Idem.
4182 * Source/NSTableView.m ([-dealloc]): Idem.
4183 * Source/NSTextStorage.m ([-dealloc]): Idem.
4184 * Source/NSWindow.m ([-dealloc]): Idem.
4185 * Source/NSToolbar.m ([GSToolbarButton -dealloc]): New method.
4186 ([NSToolbar -dealloc]): New method.
4187
4188 Mon Sep 23 15:23:23 2002 Nicola Pero <n.pero@mi.flashnet.it>
4189
4190 * Source/NSApplication.m (initialize_gnustep_backend): Improved
4191 error messages. Try to be as descriptive and verbose as possible
4192 about what exactly went wrong when loading the backend fails.
4193
4194 2002-09-22 Fred Kiefer <FredKiefer@gmx.de>
4195
4196 * Source/NSBrowser.m
4197 Removed unused ivar _numberOfRows from NSBrowserColumn.
4198 Made GSBrowserTitleCell a subclass of NSTableHeaderCell.
4199 Corrected [scrollColumnToVisible:], so that the column becomes
4200 visible but not always last. Adopted [scrollViaScroller:] to this
4201 change. Inlined most private methods and optimized the
4202 code. Reorganized [_performLoadOfColumn:] to remove code
4203 duplication. Set the title of a column here and not each time
4204 when drawing.
4205
4206 2002-09-22 16:33 Alexander Malmberg <alexander@malmberg.org>
4207
4208 * Source/NSTextView.m (-initWithFrame:textContainer:): Set
4209 uses_font_panel and uses_ruler to NO while initializing and back
4210 to YES when we're done.
4211
4212 2002-09-22 16:26 Alexander Malmberg <alexander@malmberg.org>
4213
4214 * Source/NSFontPanel.m (-init): Set sane defaults _before_ trying
4215 to set values for the current font.
4216
4217 Move code to select a certain size in the size browser to
4218 -_trySelectSize:. Update the size in the preview and the browser
4219 when the size text field changes.
4220
4221 Mark private variables and constants as static.
4222
4223 2002-09-22 01:23 Alexander Malmberg <alexander@malmberg.org>
4224
4225 * Headers/gnustep/gui/NSView.h, Source/NSPanel.m, Source/NSText.m,
4226 Source/NSTextField.m, Source/NSView.m, Source/NSWindow.m: Add
4227 -needsPanelToBecomeKey method to NSView and override it to return
4228 YES in NSText and NSTextField. Use it in NSPanel to handle
4229 becomesKeyOnlyIfNeeded properly.
4230
4231 2002-09-21 18:54 Gregory John Casamento <greg_casamento@yahoo.com>
4232
4233 * Source/NSOutlineView.m corrected preprocessor error messages.
4234 * Source/NSToolbar.m corrected preprocessor error messages.
4235
4236 2002-09-21 17:48 Alexander Malmberg <alexander@malmberg.org>
4237
4238 * Source/NSFontPanel.m (-_familySelectionChanged:, score_difference):
4239 If an exact match for the wanted weight and traits can't be found,
4240 score all faces in the new family and select the one that differs
4241 the least.
4242
4243 2002-09-19 Richard Frith-Macdonald <rfm@gnu.org>
4244
4245 * Source/GNUmakefile: Set flags to generate documentation using
4246 templates.
4247
4248 2002-09-18 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
4249
4250 * Source/NSSplitView.m ([NSSplitView -initWithCoder:]):
4251 set _never_displayed_before to YES.
4252 * Source/NSFont.m: rearrange the last change to make
4253 it look like other classes' initWithCoder/encodeWithCoder
4254 * Source/NSTextView.m: do not call _blink directly
4255 (suggested by Nicola Pero).
4256 * Source/NSButtonCell.m
4257 ([NSButtonCell -drawInteriorWithFrame:inView:]):
4258 if the button is NSImageOnly, draw the dotted frame at
4259 the right location.
4260
4261 2002-09-16 19:28 Alexander Malmberg <alexander@malmberg.org>
4262
4263 * Source/NSFont (+initialize, -initWithCoder:, -encodeWithCoder:):
4264 Encode and decode matrixExplicitlySet, and guess its value when
4265 loading old encoded objects.
4266
4267 2002-09-16 19:05 Alexander Malmberg <alexander@malmberg.org>
4268
4269 * Source/NSWindow.m (-close): Retain and release self to make sure
4270 it isn't deallocated until we're done.
4271
4272 2002-09-15 Fred Kiefer <FredKiefer@gmx.de>
4273
4274 * Source/NSStringDrawing.m
4275 drawRun() now correctly flags that it wants some temporary memory
4276 allocated. The old behaviour resulted in a memory leak.
4277 * Headers/gnustep/gui/NSBrowser.h
4278 Declare new MacOSX method [drawTitleOfColumn:inRect:]. Removed
4279 unused ivar _browserCellClass. Replaced ivar _titleCell with a
4280 static variable used for all browsers.
4281 * Source/NSBrowser.m
4282 Use _lastColumnLoaded instead of _lastVisibleColumn in
4283 [selectAll:]. Implemented MacOSX [drawTitleOfColumn:inRect:].
4284 Optimized [matrixInColumn:] and use it where suitable.
4285 Moved calls to [_adjustMatrixOfColumn:] inside of [_performLoadOfColumn:]
4286
4287 2002-09-15 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
4288
4289 * Source/NSMenuView.m:
4290 New private method [NSMenuView -_itemCell] in newly created
4291 GNUstepPrivate category.
4292 * Source/NSMenu.m:
4293 Add GNUstepPrivate interface of NSMenuView.
4294 [NSMenu -_setOwnedByPopUp:]: update itemCells' menuView
4295 (fix NSPopUpButtonCell-decoding problem).
4296 * Source/NSPopUpButtonCell.m
4297 ([NSPopUpButtonCell -synchronizeTitleAndSelectedItem]):
4298 Fix "mouseUp outside of menu" problem. Now the previous
4299 selected item stay selected.
4300 ([NSPopUpButtonCell -initWithCoder:]):
4301 Set the selectedItem properly.
4302
4303
4304 2002-09-15 13:17 Alexander Malmberg <alexander@malmberg.org>
4305
4306 * Source/NSImage.m (compositeToPoint:fromRect:operation:,,
4307 dissolveToPoint:fromRect:fraction:): Don't un-flip coordinates
4308 when drawing in flipped views.
4309
4310 2002-09-14 13:35 Alexander Malmberg <alexander@malmberg.org>
4311
4312 * Source/NSFontPanel.m: Break -browser:selectRow:inColumn: into
4313 three selection changed methods and set them as the action of the
4314 respective browser.
4315
4316 Fri Sep 13 09:36:06 2002 Nicola Pero <n.pero@mi.flashnet.it>
4317
4318 * Headers/gnustep/gui/NSNibDeclarations.h: Added include guards.
4319
4320 2002-09-11 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
4321
4322 * Source/NSText.m ([NSText -initWithCoder:]):
4323 Retain the decoded background color.
4324
4325 * Source/NSTextView.m :
4326 multiple location: don't ignore textContainer's inset
4327 ([NSTextView -initWithCoder:])
4328 ([NSTextView -encodeWithCoder:])
4329 Encode caret color, textContainer's size and whether the
4330 textContainer has widthTracksTextView or heightTracksTextView set.
4331 ([NSTextView -sizeToFit]) Change width (height) only if
4332 is_horizontally_resizable (is_vertically_resizable).
4333 ([NSTextView -scrollRangeToVisible:]) scrolls to the first char of
4334 the range.
4335 ([NSTextView -invalidateTextContainerOrigin]): Don't ignore inset,
4336 set the origin so that the justification is preserved even if the
4337 textContainer's width is larger that the textview's width.
4338 ([NSTextView -updateInsertionPointStateAndRestartTimer:]):
4339 update and place the insertion point properly.
4340 ([NSTextView -moveDown:]) & ([NSTextView -moveUp:]):
4341 Don't ignore inset. Make insertion point visible.
4342
4343 * Source/NSTextField.m ([NSTextField -acceptsFirstResponder:]):
4344 responds NO if the editing is still in progrss.
4345
4346 * Source/NSLayoutManager.m
4347 ([NSLayoutManager -drawBackgroundForGlyphRange:atPoint:]):
4348 Don't ignore textContainer's inset.
4349
4350 * Source/GSSimpleLayoutManager.m
4351 Replaced [-drawLinesInLineRange:] with [-drawLinesInLineRange:atPoint:].
4352 Replaced [-drawSelectionAsRangeNoCaret:] with
4353 [-drawSelectionAsRangeNoCaret:atPoint:].
4354 Those replacements make it easier to take inset into account.
4355 ([-lineFragmentUsedRectForGlyphAtIndex:effectiveRange:])
4356 ([-locationForGlyphAtIndex:])
4357 ([-boundingRectForGlyphRange:inTextContainer:])
4358 ([-rectForCharacterIndex:])
4359 ([-setNeedsDisplayForLineRange:inTextContainer:]):
4360 Various fixes.
4361 ([-textStorage:edited:range:changeInLength:invalidatedRange:])
4362 Update insertion point if needed (useful when alignment changes).
4363 ([-rebuildForRange:delta:inTextContainer:]):
4364 Update layout mechanism.
4365
4366 * Source/NSCell.m
4367 ([NSCell -highlight:withFrame:inView:]):
4368 Ask the control to draw the background if we are not opaque.
4369 ([NSCell -editWithFrame:inView:editor:delegate:event:]):
4370 ([NSCell -selectWithFrame:inView:editor:delegate:start:length:]):
4371 ([NSCell -endEditing:]):
4372 instantiate (and remove) the textview so that it can be scrolled.
4373
4374 2002-09-09 Adam Fedor <fedor@gnu.org>
4375
4376 * configure.ac: Switch to disaple gsnd.
4377
4378 2002-09-07 Adam Fedor <fedor@gnu.org>
4379
4380 * Source/NSBrowser.m: Convert comments for gsdoc.
4381 (-selectRow:inColumn:): Call delegate -browser:selectRow:inColumn:.
4382 (-setPath:): Call delegate -browser:selectCellWithString:inColumn:.
4383 (-doClick:): Do not call the above methods.
4384 (-initWithCoder:): Set _isLoaded to NO.
4385 * Source/NSSavePanel.m (-_browser:selectCellWithString:inColumn):
4386 Rename from -browser:selectCellWithString:inColumn.
4387 (_setupForDirectory:file:) Use it.
4388 * Source/NSOpenPanel.m (-browser:selectCellWithString:inColumn):
4389 Remove.
4390
4391 * Source/NSWindow.m ([NSWindow -performClose:]): Don't close
4392 if a modal session is going and we aren't the modal window.
4393
4394 2002-09-07 Fred Kiefer <FredKiefer@gmx.de>
4395
4396 * Source/NSApplication.m
4397 Release the invocation in [detachDrawingThread:toTarget:withObject:]
4398 not in the helper method. (Patch by David Ayers <d.ayers@inode.at>).
4399 * Headers/gnustep/gui/NSPasteboard.h
4400 * Source/externs.m
4401 Define NSHTMLPboardType.
4402 * Headers/gnustep/gui/GSTextConverter.h
4403 Define protocol for method [classForFormat:producer:].
4404 * Headers/gnustep/gui/NSTextAttachment.h
4405 Moved NSAttributedString text attachment method declarations to here.
4406 * Headers/gnustep/gui/NSAttributedString.h
4407 Define new MacOSX methods.
4408 * Source/NSAttributedString.m
4409 Implemented [textFileTypes], [textPasteboardTypes],
4410 [textUnfilteredFileTypes], [textUnfilteredPasteboardTypes].
4411 * Source/NSMenu.m
4412 * Source/NSTextView.m
4413 Corrected includes.
4414
4415 2002-09-06 Adam Fedor <fedor@gnu.org>
4416
4417 * Headers/gnustep/gui/NSPrintInfo.h: Add print option.
4418 * Source/NSPrintOperation.m ([-_printPaginateWithInfo:knowsRange:):
4419 Use it.
4420 (-_rectForPage:info:xpage:ypage:): Correct xpage/ypage calc.
4421 (-_adjustPagesFirst:last:info:): Likewise.
4422 * Source/NSStringDrawing.m (setupSpecialRun): Set base.
4423
4424 * Source/NSSound.m (-getDataFromFileAtPath:): Use
4425 fileSystemRepresentation.
4426 * Source/NSView.m (-beginPage:label:bBox:fonts:): Use
4427 lossyCString.
4428
4429 2002-09-06 Fred Kiefer <FredKiefer@gmx.de>
4430
4431 * Headers/gnustep/gui/NSColorPanel.h
4432 * Source/NSColorPanel.m
4433 Moved the method [NSApplication orderFrontColorPanel:] to here.
4434 * Headers/gnustep/gui/NSHelpPanel.h
4435 * Source/NSHelpPanel.m
4436 Moved the method [NSApplication orderFrontHelpPanel:] to here.
4437 * Headers/gnustep/gui/NSDataLinkPanel.h
4438 * Source/NSDataLinkPanel.m
4439 Moved the method [NSApplication orderFrontDataLinkPanel:] to here.
4440 * Headers/gnustep/gui/NSPageLayout.h
4441 * Source/NSPageLayout.m
4442 Moved the method [NSApplication runPageLayout:] to here.
4443 * Headers/gnustep/gui/NSApplication.h
4444 Removed methods that belong to other files. Added types and method
4445 definitions for MacOSX.
4446 * Source/NSApplication.m
4447 Implemented [detachDrawingThread:toTarget:withObject:].
4448 [sendAction:to:from:] now uses [targetForAction:to:from:]. Removed
4449 moved methods. [orderFrontStandardAboutPanel:] now calles
4450 [orderFrontStandardInfoPanelWithOptions:] so that subclasses only
4451 have to overwritte this. Split up parts of [terminate:] into
4452 [replyToApplicationShouldTerminate:].
4453
4454 Thu Sep 5 11:39:58 2002 Nicola Pero <n.pero@mi.flashnet.it>
4455
4456 * Source/NSTextView.m
4457 ([-updateInsertionPointStateAndRestartTimer:]): Make sure we start
4458 the on/off/on/off blinking sequence from the on, so that we give
4459 immediate feedback to the user as to where the insertion point is
4460 (Patch by David Ayers <d.ayers@inode.at>).
4461
4462 2002-08-30 Adam Fedor <fedor@gnu.org>
4463
4464 * Version: 0.8.1
4465
4466 * Documentation/GNUmakefile: Set dir for reference documentation
4467 * Documentation/GNUmakefile.postamble: New file.
4468
4469 2002-08-30 00:11 Alexander Malmberg <alexander@malmberg.org>
4470
4471 * Source/NSBezierPath.m (-appendBezierPath:): Handle curves
4472 correctly.
4473
4474 (-appendBezierPathWithArcFromPoint:toPoint:radius:): Fix numerical
4475 stability issue by clamping dx1 and dx2 manually.
4476
4477 2002-08-29 Richard Frith-Macdonald <rfm@gnu.org>
4478
4479 * Source/GSDisplayServer.m:
4480 * Source/NSApplication.m:
4481 * Source/NSFont.m:
4482 * Source/NSInterfaceStyle.m:
4483 * Source/NSTableColumn.m:
4484 Documentation fixups ... correct gsdoc markup etc.
4485
4486 2002-08-28 Fred Kiefer <FredKiefer@gmx.de>
4487
4488 * Source/NSBezierPath.m
4489 Implemented [appendBezierPathWithArcFromPoint:toPoint:radius:]
4490 with code from Alexander Malmberg <alexander@malmberg.org>.
4491
4492 2002-08-27 Adam Fedor <fedor@gnu.org>
4493
4494 * Source/NSBrowser.m (-tile): Set horizontal scroller frame
4495 only if we have one.
4496
4497 2002-08-26 Adam Fedor <fedor@gnu.org>
4498
4499 * Model/GMAppKit.m (-initWithModelUnarchiver:): Don't add ourselves
4500 to the superview if we are the contentView of an NSBox.
4501
4502 * Tools/example.m ([ExampleServices -openURL:userData:error:]):
4503 Get browser from defualts. Use mozilla if none. (Modified patch from
4504 Stefan Urbanek).
4505
4506 2002-08-24 Adam Fedor <fedor@gnu.org>
4507
4508 * Source/NSGraphicsContext.m: More documentation.
4509 * Source/NSWindow.m (-sendEvent:): Remember mouseDown view
4510 and send mouseUp to this view (not firstResponder).
4511
4512 * Model/test.m: Fix so it reads in gmodel from command line.
4513
4514 * Source/GNUmakefile: Correct docs so they are built in
4515 Documentation/Gui directory
4516 * Source/GNUmakefile.postamble: Extra rules for building docs.
4517 * Documentation/Gui: New directory for docs.
4518 * Documentation/gsdoc: Remove.
4519
4520 2002-08-23 02:39 Alexander Malmberg <alexander@malmberg.org>
4521
4522 * Source/NSImage.m (-lockFocusOnRepresentation:): Use a
4523 compositerect to clear the alpha channel if the background color
4524 isn't opaque.
4525
4526 2002-08-16 Adam Fedor <fedor@gnu.org>
4527
4528 * Source/NSGraphicsContext.m: Define colorspace constants
4529
4530 2002-08-15 Adam Fedor <fedor@gnu.org>
4531
4532 * configure.ac: Add NetBSD header/ldflag support (Patch from
4533 Peter Cooper). Cleanup freebsd support.
4534
4535 * Headers/gnustep/gui/GSDisplayServer.h: Replace APPKIT_DECLARE
4536 with APPKIT_EXPORT.
4537 * Headers/gnustep/gui/NSGraphics.h: Idem.
4538 * Headers/gnustep/gui/NSGraphicsContext.h: Idem.
4539 * Headers/gnustep/gui/NSPanel.h: Idem.
4540
4541 Fri Aug 9 12:12:18 2002 Georg Fleischmann <georg@vhf.de>
4542
4543 * Source/NSWindow.m ([-setFrameFromString:]),
4544 ([-stringWithSavedFrame]): Don't flip coordinates to make it
4545 compatible with OpenStep.
4546
4547 2002-08-05 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
4548
4549 * Source/NSSplitView.m
4550 [NSplitView -setFrame:]:
4551 adjust the subviews.
4552 [NSSplitView -resizeWithOldSuperviewSize:]:
4553 send the splitview's old size not the superview's old size to
4554 [NSSplitView -_adjustSubviews:]
4555 [NSSplitView -displayIfNeededInRectIgnoringOpacity:]
4556 [NSSplitView -displayRectIgnoringOpacity:]
4557 set _never_displayed_before before calling _adjustSubviews.
4558 It could lead to a loop, if the delegate was calling -display.
4559
4560 2002-08-03 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
4561
4562 * Source/NSView.m ([NSView -replaceSubview:withSubview]):
4563 The replacing subview was not inserted at the old subview's location.
4564
4565 2002-08-02 Adam Fedor <fedor@gnu.org>
4566
4567 * Merge changes from 0.8.0 into main branch.
4568
4569 2002-08-02 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
4570
4571 * Source/NSTabView.m ([NSTabView -initWithCoder:]):
4572 Set _selected ivar based on _selected_item value.
4573
4574 2002-08-01 Adam Fedor <fedor@gnu.org>
4575
4576 * configure.ac: Check for recent version of audiofile
4577
4578 2002-07-31 Adam Fedor <fedor@gnu.org>
4579
4580 * Headers/gnustep/gui/AppKit.h: Add NSSound.
4581 * Source/GNUmakefile (AUTOGSDOC_HEADERS): Idem.
4582
4583 * Tools/gsnd/GNUmakefile (GNUSTEP_INSTALLATION_DIR): Add.
4584
4585 2002-07-30 Adam Fedor <fedor@gnu.org>
4586
4587 * configure.ac: Check for autofile header/libs.
4588 * Source/NSBundleAdditions.m (pathForSoundResource:): New.
4589 * Source/NSSound.m: New file
4590 * Headers/gnustep/gui/NSSound.h: Idem.
4591 * Tools/gsnd: New server tool. (Implementation from
4592 Enrico Sersale).
4593
4594 2002-07-18 Gregory John Casamento <greg_casamento@yahoo.com>
4595
4596 * NSBundleAdditions.m: (-[awakeWithContext:]) Corrected
4597 a problem in this method which was preventing awakeFromNib
4598 from being called on NSOwner. I have confirmed that this
4599 is the correct behavior on OPENSTEP 4.2/Mach.
4600
4601 2002-07-18 Gregory John Casamento <greg_casamento@yahoo.com>
4602
4603 * Source/NSOutlineView.m: Removed an extraneous NSLog.
4604 * Tools/GSspell.m: Changed registration of spell checker to
4605 AmericanEnglish.
4606 * Tools/GSspellInfo.plist: Changed .plist to reflect the new
4607 name. The spell checker was registering itself for simply
4608 "English" and was not being started when a request to check
4609 spelling in a document was being issued. It should work now.
4610
4611 2002-08-01 Adam Fedor <fedor@gnu.org>
4612
4613 * Version:0.8.0
4614
4615 Tue Jul 30 11:07:45 2002 Nicola Pero <n.pero@mi.flashnet.it>
4616
4617 Patch by David Ayers (<d.ayers@inode.at>), modified:
4618 * Source/NSTextView.m ([-_syncTextViewsByCalling:withFlag:]):
4619 Compute the imp for each different textview, not just once for
4620 all, so that we should be able to manage the case where they are
4621 of different NSTextView subclasses.
4622 (NSTEXTVIEW_SYNC): Removed the argument; just use _cmd as the
4623 selector; updated all users.
4624
4625 2002-07-26 Adam Fedor <fedor@gnu.org>
4626
4627 * Source/NSStringDrawing.m (setupSpecialRun): Set run width
4628 (patch from Nicholas Roard).
4629
4630 * Source/NSPrintInfo.m (+initPrintInfoDefaults): Add missing ';'
4631
4632 Thu Jul 25 12:51:52 2002 Nicola Pero <n.pero@mi.flashnet.it>
4633
4634 * Source/NSApplication.m ([+sharedApplication]): Rewritten;
4635 documented verbosely the method.
4636 ([-init]): Rewritten code checking, setting and managing NSApp;
4637 documented verbosely the method.
4638
4639 2002-07-22 Adam Fedor <fedor@gnu.org>
4640
4641 * Source/NSImageCell.m (-setImage:): Check if non-nil.
4642 Make sure size is not 0.
4643
4644 Mon Jul 22 12:50:34 2002 Nicola Pero <n.pero@mi.flashnet.it>
4645
4646 * Source/NSApplication.m (initialize_gnustep_backend): Remove
4647 useless instruction in loop looking for the backend. (Patch by
4648 David David Relson <relson@osagesoftware.com>).
4649
4650 2002-07-20 Adam Fedor <fedor@gnu.org>
4651
4652 * Source/NSWindow.m (-_initDefaults): Set background
4653 to windowBackgroundColor.
4654
4655 2002-07-19 Adam Fedor <fedor@gnu.org>
4656
4657 * Source/NSImage.m (-lockFocusOnRepresentation:): Make sure
4658 newly created cache image is valid.
4659 * Source/NSCursor.m (backgroundColorHint:): Remove extra NSLog.
4660
4661 2002-07-17 Adam Fedor <fedor@gnu.org>
4662
4663 * Version: 0.7.9
4664 * Documentation/news.texi: Update
4665 * Documentation/gsdoc/*: Updated from source files.
4666 * Source/NSWorkspace.m: Comment fix.
4667
4668 Wed Jul 17 15:24:54 2002 Nicola Pero <n.pero@mi.flashnet.it>
4669
4670 * Headers/gnustep/gui/NSTextView.h ([-becomeKeyWindow]): Declare.
4671
4672 Wed Jul 17 15:23:28 2002 Nicola Pero <n.pero@mi.flashnet.it>
4673
4674 Patch from David Ayers <d.ayers@inode.at>:
4675 * Source/NSTextView.m ([-becomeKeyWindow]): Implemented.
4676 * Source/NSWindow.m ([-becomeKeyWindow]): Set the _f.is_key flag
4677 immediately after checking it.
4678
4679 Tue Jul 16 19:40:04 2002 Nicola Pero <n.pero@mi.flashnet.it>
4680
4681 * Source/NSWindow.m ([-cacheImageInRect:]): Intersect the
4682 rectangle with the window view frame, not the content view frame.
4683 ([-restoreCachedImage]): Draw in the window view, not in the
4684 content view.
4685
4686 Mon Jul 15 15:55:21 2002 Nicola Pero <n.pero@mi.flashnet.it>
4687
4688 * Source/NSWindow.m ([NSWindow +initialize]): Removed left-over
4689 NSLog call.
4690
4691 2002-07-14 Adam Fedor <fedor@gnu.org>
4692
4693 * Headers/gnustep/gui/NSTabView.h: Add missing method.
4694
4695 2002-07-14 Gregory John Casamento <greg_casamento@yahoo.com>
4696
4697 * Source/NSTableView.m:
4698 [-NSTableView _editNextEditableCellAfterRow:column:] corrected
4699 a problem with the loop which seeks the next editable cell. It
4700 was using incorrect values in the call to isCellEditable in the
4701 second for which was causing an exception to be thrown.
4702 * Source/NSOutlineView.m: ([-editColumn:row:withEvent:select:])
4703 corrected a problem in this method which was causing the cell
4704 to be drawn incorrectly when editing a column other than the
4705 outline column.
4706
4707 Fri Jul 12 12:55:17 2002 Nicola Pero <n.pero@mi.flashnet.it>
4708
4709 Patch from Benhur Stein <benhur-gnustep@inf.ufsm.br>:
4710 * Headers/gnustep/gui/NSWindow.h (_cachedImage,
4711 _cachedImageOrigin): New instance variables.
4712 * Source/NSWindow.m ([-dealloc]): Release _cachedImage if needed.
4713 ([-display]): Invoke discardCachedImage.
4714 ([-cacheImageInRect:]): Implemented.
4715 ([-discardCachedImage]): Implemented.
4716 ([-restoreCachedImage]): Implemented.
4717
4718 Fri Jul 12 11:49:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
4719
4720 Patch from Jeff Teunissen <deek@d2dc.net>:
4721 * Source/NSMatrix.m ([-selectAll:]): Do nothing when in radio
4722 mode.
4723
4724 2002-07-11 Adam Fedor <fedor@gnu.org>
4725
4726 * Source/NSMenu.m (-_createWindow): Set to NOT work when in
4727 modal loop.
4728
4729 * Images/common_RadioOff.tiff
4730 * Images/common_RadioOn.tiff
4731 * Images/common_outlineCollapsed.tiff
4732 * Images/common_outlineExpanded.tiff
4733 * Images/common_outlineUnexpandable.tiff: Transparency fixes
4734 (From deek@d2dc.net).
4735
4736 2002-07-11 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
4737
4738 * Source/NSButtonCell.m ([-isOpaque]): New behaviour
4739 that is more consistent with our look and feel
4740 * Source/NSMatrix.m ([-drawCellAtRow:column:]):
4741 Draws matrix's background if needed and make the opaque ancestor
4742 redraw if the matrix is not opaque.
4743 ([-_drawCellAtRow:column:]): New private method to avoid looping
4744 ([-drawRect:]): Use _drawCellAtRow:column instead of
4745 drawCellAtRow:column.
4746 * Source/GSSimpleLayoutManager.m
4747 ([-rebuildForRange:delta:inTextContainer:]): Empty lines
4748 are not fixed height anymore. The height does now depend on the
4749 current font or on the current paragraph's settings.
4750
4751 2002-07-11 Gregory John Casamento <greg_casamento@yahoo.com>
4752
4753 * Source/NSOutlineView.m: ([-editColumn:row:withEvent:select:])
4754 Needed to override this method in NSOutlineView since attempting
4755 to edit a cell in an NSOutlineView was causing a crash. Also,
4756 NSTableView's version of this method does not draw the button image
4757 correctly.
4758 * Source/NSTableView.m: Added a new methods
4759 [-_objectValueForTableColumn:row:] and [-_setObjectValue:
4760 forTableColumn:row:] to both this class and to NSOutlineView
4761 to allow more code reuse between the NSOutlineView and NSTableView.
4762
4763 Mon Jul 8 13:55:13 2002 Nicola Pero <n.pero@mi.flashnet.it>
4764
4765 * Source/NSSavePanel.m ([-createRowsForColumn:]): Removed usage of
4766 nested function which was causing the library not to compile on
4767 some platforms.
4768 (compareFilenames): New static function doing the same.
4769
4770 2002-07-05 Adam Fedor <fedor@gnu.org>
4771
4772 * Images/common_ArrowDown.tiff: Transparency fix.
4773 * Images/common_ArrowDownH.tiff: Idem.
4774 * Images/common_ArrowLeft.tiff: Idem.
4775 * Images/common_ArrowLeftH.tiff: Idem.
4776 * Images/common_ArrowRight.tiff: Idem.
4777 * Images/common_ArrowRightH.tiff: Idem.
4778 * Images/common_ArrowUp.tiff: Idem.
4779 * Images/common_ArrowUpH.tiff: Idem. (From deek@d2dc.net.)
4780
4781 * Source/NSFont.h: Add documentation.
4782 * Source/NSImage.m (-compositeToPoint:fromRect:operation:): Log
4783 exception.
4784 (-dissolveToPoint:fromRect:fraction:): Idem.
4785 * Documentation/gsdoc/DefaultsSummary.gsdoc: Update.
4786
4787 2002-07-04 Fred Kiefer <FredKiefer@gmx.de>
4788
4789 * Source/NSColor.m
4790 Changed initSystemColors() and [defaultsDidChange:] so that
4791 setting a system colour in the defaults file works again.
4792
4793 Tue Jul 2 17:01:25 2002 Nicola Pero <n.pero@mi.flashnet.it>
4794
4795 * Source/GNUmakefile (libgnustep-gui_HEADER_FILES): Removed -
4796 temporarily? - NSValidatedUserInterfaceItem.h - because that file
4797 does not exist on CVS at the moment.
4798
4799 Tue Jul 2 16:52:28 2002 Nicola Pero <n.pero@mi.flashnet.it>
4800
4801 Suggestion by Fred Kiefer, David Ayers <d.ayers@inode.at>:
4802 * Source/NSTextView.m ([-resignKeyWindow]): New method - if needed
4803 draw the insertion point, then stop blinking.
4804 * Headers/gnuste/gui/NSTextView.h: Declare the method.
4805
4806 2002-06-30 Fred Kiefer <FredKiefer@gmx.de>
4807
4808 * Headers/gnustep/gui/NSToolbarItem.h
4809 Corrected #include so that it compiles.
4810
4811 2002-06-30 Gregory John Casamento <greg_casamento@yahoo.com>
4812
4813 * Headers/gnustep/gui/NSWindow.h: Added declaration for
4814 NSToolbar in NSWindow.
4815 * Headers/gnustep/gui/AppKit.h: Added #include lines for
4816 new header files in the AppKit.h file.
4817 * Source/NSWindow.m: Added code foe setToolbar method.
4818 * Source/GNUmakefile: Added NSToolbar and NSToolbarItem
4819 classes and headers to the makefile.
4820 * Source/NSOutlineView.m: Added dealloc for NSOutlineView to
4821 prevent memory leaks.
4822 * Source/NSSecureTextField.m: Removed some extraneous comments
4823 which were left from before I implemented the class.
4824 * Source/externs.m: Added notification constants for NSToolbar.
4825 * Source/NSToolbar.m: Added skeleton for implementation.
4826 * Source/NSToolbarItem.m: Added skeleton for implementation.
4827 * Headers/gnustep/gui/NSToolbar.h: Added.
4828 * Headers/gnustep/gui/NSToolbarItem.h: Added.
4829
4830 2002-06-28 Richard Frith-Macdonald <rfm@gnu.org>
4831
4832 * Source/NSWindow.m: ([-flushWindow]) don't flush context for
4833 non-retained windows unless flushing is enabled. Actually I'm
4834 not sure about this ... according to the documentation this
4835 method should never flush non-retained windows anyway.
4836
4837 Thu Jun 27 11:49:57 2002 Nicola Pero <n.pero@mi.flashnet.it>
4838
4839 * Source/NSTextField.m ([-textDidEndEditing:]): Set _text_object
4840 to nil too before posting the NSControlTextDidEndEditing
4841 notification.
4842
4843 2002-06-27 Richard Frith-Macdonald <rfm@gnu.org>
4844
4845 * Source/NSWorkspace.m: Fix error in testing base path for app.
4846
4847 Wed Jun 26 17:50:39 2002 Nicola Pero <n.pero@mi.flashnet.it>
4848
4849 * Source/NSTextField.m ([-textDidEndEditing:]): Post the
4850 NSControlTextDidEndEditingNotification *after* we end editing, not
4851 before!
4852 * Source/NSMatrix.m ([-textDidEndEditing:]): Idem.
4853 * Source/NSTableView.m ([-textDidEndEditing:]): Idem.
4854
4855 2002-06-24 Richard Frith-Macdonald <rfm@gnu.org>
4856
4857 * Source/NSWorkspace.m: Comitted Jeffs latest attemtpt at handling
4858 lookup of apps by name correctly ... but rewritten somewhat to
4859 remove one assumption I thought was unwarrented, and to try to
4860 conform to what the MacOS-X implementation actually does rather
4861 than what the MacOS-X documentation says it should do.
4862
4863 Mon Jun 24 13:17:37 2002 Nicola Pero <n.pero@mi.flashnet.it>
4864
4865 Originated by a patch/suggestion by Serg Stoyan
4866 <stoyan@on.com.ua>, rewritten by myself.
4867 * Source/GSSimpleLayoutManager.m (defaultFontHeight): New static
4868 inline function computing the height of the user font of the
4869 default size.
4870 ([-boundingRectForGlyphRange:inTextContainer:]): Use
4871 defaultFontHeight() instead of hardcoded 12.
4872 ([-lineFragmentRectForGlyphAtIndex:effectiveRange:]): Idem.
4873 ([-rectForCharacterIndex:]): Idem.
4874 ([-rebuildForRange:delta:inTextContainer:]): Idem.
4875 ([-rebuildForRange:delta:inTextContainer:]): Idem.
4876 * Source/NSTextView.m
4877 ([-updateInsertionPointStateAndRestartTimer:]): Removed unused
4878 code setting font size to 12 if it was 0.
4879
4880 Sat Jun 22 17:26:18 2002 Nicola Pero <n.pero@mi.flashnet.it>
4881
4882 * Source/NSMenuView.m ([-itemAdded:]): Fixed highlighting of
4883 cells.
4884
4885 Sat Jun 22 16:46:59 2002 Nicola Pero <n.pero@mi.flashnet.it>
4886
4887 * Headers/gnustep/gui/NSInputManager.h ([-loadBindingsFromFile:]): Made it
4888 a public method.
4889 * Source/NSInputManager.m ([-initWithName:host:]): Changed the way
4890 in which keybindings loading is controlled via user defaults, now
4891 simpler and more powerful. Hopefully this is the final version.
4892 * Documentation/gsdoc/DefaultsSummary.gsdoc: Documented the keybinding defaults.
4893 * Documentation/gsdoc/DefaultsSummary.html: Regenerated.
4894
4895 Sat Jun 22 15:19:31 2002 Nicola Pero <n.pero@mi.flashnet.it>
4896
4897 * Headers/gnustep/gui/NSAffineTransform.h (rotationAngle):
4898 Instance variable removed. Optimize for case of unrotated views.
4899 * Source/NSAffineTransform.m ([+transform]): Do not set rotationAngle.
4900 ([+new]): Do not set rotationAngle.
4901 ([-appendTransform:]): Do not recompute rotationAngle.
4902 ([-init]): Do not set rotationAngle.
4903 ([-initWithTransform:]): Do not set rotationAngle.
4904 ([-prependTransform:]): Do not compute rotationAngle.
4905 ([-rotateByDegrees:]): Do not compute rotationAngle.
4906 ([-makeIdentityMatrix]): Do not set rotationAngle.
4907 ([-rotateByRadians:]): Do not compute the angle in degrees; do not
4908 compute rotationAngle.
4909 ([-setTransformStruct:]): Do not set rotationAngle.
4910 ([-scaleTo::]): Optimize out the case of rotated transforms.
4911 ([-setFrameRotation:]): Always call -rotationAngle.
4912 ([-rotationAngle]): Always compute rotationAngle.
4913 ([-concatenateWithMatrix:]): Do not set rotationAngle.
4914 ([-boundingRectFor:result:]): Always compute rotationAngle.
4915
4916 Sat Jun 22 15:06:44 2002 Nicola Pero <n.pero@mi.flashnet.it>
4917
4918 * Source/NSAffineTransform.m ([-isRotated]): Rewritten - efficient
4919 implementation by simply checking that the cross matrix elements
4920 are not 0.
4921
4922 Sat Jun 22 14:59:36 2002 Nicola Pero <n.pero@mi.flashnet.it>
4923
4924 * Source/NSAffineTransform.m ([-set]): Removed code to create a
4925 float[6] matrix which is no longer used.
4926
4927 Sat Jun 22 14:53:27 2002 Nicola Pero <n.pero@mi.flashnet.it>
4928
4929 * Headers/gnustep/gui/NSAffineTransform.h ([-rotateByAngle:]): Method removed.
4930 * Source/NSAffineTransform.m Idem.
4931 * Source/NSAffineTransform.m ([-setFrameRotation:]): Use
4932 rotateByDegrees:, not rotateByAngle:
4933
4934 Sat Jun 22 14:52:19 2002 Nicola Pero <n.pero@mi.flashnet.it>
4935
4936 * Source/NSView.m ([-rotateByAngle:]): Use -rotateByDegrees:, not
4937 -rotateByAngle:, to rotate the affine transform.
4938
4939 Sat Jun 22 14:46:35 2002 Nicola Pero <n.pero@mi.flashnet.it>
4940
4941 * Headers/gnustep/gui/NSAffineTransform.h ([+matrixFrom:]): Method removed.
4942 * Source/NSAffineTransform.m: Idem.
4943
4944 Sat Jun 22 14:34:15 2002 Nicola Pero <n.pero@mi.flashnet.it>
4945
4946 * Source/NSView.m ([-_rebuildCoordinates]): Use -invert, not
4947 -inverse, to invert a NSAffineTransform.
4948
4949 Sat Jun 22 14:26:06 2002 Nicola Pero <n.pero@mi.flashnet.it>
4950
4951 * Headers/gnustep/gui/NSAffineTransform.h,
4952 * Source/NSAffineTransform.m ([-scaleBy::]):
4953 Method removed. Better use the standard scaleXBy:yBy: instead.
4954
4955 2002-06-22 Adam Fedor <fedor@gnu.org>
4956
4957 * Source/NSApplication.m (-finishLaunching): Revert last change.
4958
4959 2002-06-21 Adam Fedor <fedor@gnu.org>
4960
4961 * Source/NSApplication.m (-finishLaunching): Use makeKeyWindow
4962 not becomeKeyWindow.
4963
4964 * Source/NSWindow.m (-canBecomeKeyWindow): Conform to docs. don't
4965 check if visible or miniaturized.
4966 (-canBecomeMainWindow): Idem for miniaturized only.
4967 (-makeKeyWindow): Check if visible, miniaturized.
4968 (-makeMainWindow): Idem.
4969
4970 Wed Jun 19 15:54:39 2002 Georg Fleischmann <georg@vhf.de>
4971
4972 * Source/NSMenu.m ([-performActionForItemAtIndex:]): Select item
4973 for any kind of popup action.
4974
4975 2002-06-17 Richard Frith-Macdonald <rfm@gnu.org>
4976
4977 * Source/NSWorkspace.m: Vague attempt to improve locating of apps
4978
4979 2002-06-15 Gregory John Casamento <greg_casamento@yahoo.com>
4980
4981 * Source/NSOutlineView.m a number of improvements:
4982 -setDataSource now uses the CHECK_REQUIRED macro to check
4983 for required methods instead of iterating over a list of strings.
4984 -expandItem:expandChildren: corrected bug which prevented the method
4985 from working correctly when expandChildren is YES.
4986 -collapseItem:collapseChildren: corrected bug which prevented the
4987 method from working correctly when expandChildren is YES.
4988
4989 2002-06-12 Alexander Malmberg <alexander@malmberg.org>
4990
4991 * Source/GSServicesManager.m (-rebuildServicesMenu): Disable auto-
4992 enabling while updating the menu.
4993
4994 2002-06-12 Alexander Malmberg <alexander@malmberg.org>
4995
4996 * Source/GSServicesManager.m (-loadServices): Only update timestamp
4997 when the file has changed.
4998 (-rebuildServicesMenu): Correctly remove the old menu items.
4999
5000 Tue Jun 11 14:11:22 2002 Nicola Pero <n.pero@mi.flashnet.it>
5001
5002 Patch by Jeff Teunissen with changes by myself:
5003 * TextConverters/RTF/RTFConsumer.h (GSTextConsumer): Added ivar _class.
5004 * TextConverters/RTF/RTFConsumer.m: Changed everywhere to support the
5005 caller specifying the type of class it needs to be produced.
5006 * Headers/gnustep/gui/GSTextConverter.h: Added a class argument to
5007 have the text converter save the results of parsing into
5008 attributed strings of different classes depending on the case.
5009 * Source/NSAttributedString.m: When parsing using the text converters,
5010 have them create attributed strings of our own class.
5011
5012 Tue Jun 11 13:35:41 2002 Nicola Pero <n.pero@mi.flashnet.it>
5013
5014 * TextConverters/RTF/GNUmakefile.preamble (ADDITIONAL_CPPFLAGS):
5015 Use -Wall when compiling.
5016
5017 2002-06-10 Adam Fedor <fedor@gnu.org>
5018
5019 * Version 0.7.8
5020 * Documentation/news.texi: Update
5021
5022 2002-06-11 Alexander Malmberg <alexander@malmberg.org>
5023
5024 * Source/GSServicesManager.m,
5025 Headers/gnustep/gui/GSServicesManager.h: Fix handling of
5026 NSMenuItem:s (were being handled as NSCell:s in many places; this
5027 broke submenus of the services menu).
5028
5029 2002-06-10 Georg Fleischmann <georg@vhf.de>
5030
5031 * Source/NSControl.m ([NSControl -mouseDown:]): Set NSPeriodicMask
5032 for continuous cells, and 0 otherwise.
5033
5034 2002-06-10 Georg Fleischmann <georg@vhf.de>
5035
5036 * Model/GMAppKit.m ([NSCell -encodeWithModelArchiver:]): Restore
5037 sendActionMask.
5038
5039 2002-06-10 Alexander Malmberg <alexander@malmberg.org>
5040
5041 * Source/GSServicesManager.m (-performService:...): Create and use
5042 a local copy of the NSPasteboard.
5043
5044 2002-06-08 Alexander Malmberg <alexander@malmberg.org>
5045
5046 * Source/NSWindow.m (-_initDefaults): Make _miniaturizedImage
5047 default to the application icon.
5048
5049 2002-06-08 Alexander Malmberg <alexander@malmberg.org>
5050
5051 * Source/GSServicesManager.m (-doService:): Only try to
5052 write/read selection if the send/return type isn't nil.
5053 Fix calls to NSRunAlertPanel() so they don't do printf()
5054 expansion on the message twice.
5055
5056 Thu Jun 6 08:29:42 2002 Nicola Pero <n.pero@mi.flashnet.it>
5057
5058 * Source/NSScroller.m ([NSScroller -setFrame:]): Do not add
5059 scroller arrows if they aren't already there (Patch by Jeff
5060 Teunissen).
5061
5062 Thu Jun 6 07:23:59 2002 Nicola Pero <n.pero@mi.flashnet.it>
5063
5064 * Source/NSApplication.m ([NSApplication -terminate:]): Send the
5065 -applicationShouldTerminate: messages from self, instead of from
5066 the sender of -terminate: (Patch by Jeff Teunissen).
5067
5068 2002-06-06 Richard Frith-Macdonald <rfm@gnu.org>
5069
5070 * Source/NSBundleAdditions.m: patch by Jeff Teunissen to log loading
5071 only as debug.
5072
5073 WWed Jun 5 14:09:04 2002 Nicola Pero <n.pero@mi.flashnet.it>
5074
5075 * Source/GSKeyBindingAction.h: Cleaned syntax of #endif to remove
5076 compiler warnings.
5077
5078 2002-06-03 Adam Fedor <fedor@gnu.org>
5079
5080 * Source/GSDisplayServer.m (-beep): New method.
5081 * Source/NSGraphicsContext.m (-NSBeep): Use it.
5082
5083 2002-06-02 Alexander Malmberg <alexander@malmberg.org>
5084
5085 Add basic color picker bundles: the wheel color picker and the
5086 standard rgb/hsb/cmyk/gray picker.
5087 * GNUmakefile: Add ColorPickers subproject.
5088 * ColorPickers/: New files.
5089
5090 Sun May 26 13:46:58 2002 Nicola Pero <n.pero@mi.flashnet.it>
5091
5092 * Source/NSMatrix.m
5093 ([-_privateFrame:mode:numberOfRows:numberOfColumns:]): Do not make
5094 the cell size integers. Any approximation is a loss of
5095 information, and by approximating without reason at this stage we
5096 are downgrading the information we pass to the backend -
5097 information which the backend can use to render better. A longer
5098 explanation of why this change is appropriate in the source code.
5099 ([-_rebuildLayoutAfterResizing]): New method with code taken from
5100 -resizeWithOldSuperviewSize:; rewritten not to compute changes
5101 incrementally, and not to round up sizes without reason.
5102 ([-setFrame:], [-setFrameSize:]): New methods.
5103 ([-resizeWithOldSuperviewSize:]): Removed.
5104
5105 2002-05-17 Georg Fleischmann <georg@vhf.de>
5106
5107 * gui/Source/GSSimpleLayoutManager.m
5108 ([-lineLayoutIndexForPoint:]): cast the count of
5109 _lineLayoutInformation to integer in MAX(). test if max is zero.
5110 ([-glyphRangeForLineLayoutRange:]): test if count of
5111 _lineLayoutInformation is zero.
5112 ([-drawLinesInLineRange:]): test if count of
5113 _lineLayoutInformation is zero (Modification by Nicola).
5114
5115 Wed May 22 13:02:02 2002 Nicola Pero <n.pero@mi.flashnet.it>
5116
5117 * Source/Functions.m (NSHighlightRect): Do not flush the window.
5118 * Source/NSSplitView.m ([-mouseDown:]): Replace manual calls to PS
5119 composite operators with NSHighlightRect; manually flush the
5120 window after highlighting the appropriate rects.
5121 * Source/NSTableHeaderView.m: Everywhere, added a flush window
5122 after each call to NSHighlightRect.
5123
5124 Tue May 21 16:54:20 2002 Nicola Pero <n.pero@mi.flashnet.it>
5125
5126 * Source/NSBrowser.m ([-setPath:]): Fixed bug - column variable
5127 which was declared unsigned instead of int (Patch by Andreas Bohne
5128 <andreas@mevis.de>).
5129
5130 2002-05-17 Fred Kiefer <FredKiefer@gmx.de>
5131
5132 * Source/NSMenuView.m
5133 [rectOfItemAtIndex:] for horizontal orientation set items from
5134 left to right. [locationForSubmenu:] for horizontal orientation
5135 set submenu below the item in self.
5136
5137 2002-05-13 Georg Fleischmann
5138
5139 * gui/Source/NSPrintOperation.m
5140 [NSPrintOperation(GSEPSPrintOperation) -createContext:]:
5141 add local autorelease pool to remove autorelease of context.
5142
5143 2002-05-13 Fred Kiefer <FredKiefer@gmx.de>
5144
5145 * Source/NSColor.m
5146 In initSystemColors() and systemColorWithName() replaced
5147 implementation of system colours with named colours from a stored
5148 colour list. Added conversion cache for named colours. This allows
5149 easy configuration of system colours while keeping the same performance.
5150 * Source/NSFont.m
5151 Moved the caching of fonts from [initWithName:matrix:] to
5152 [fontWithName:matrix:] so that unneeded fonts are no longer
5153 created. In [labelFontSize], [smallSystemFontSize] and
5154 [systemFontSize] get values from defaults if available. In
5155 getNSFont() removed hard coded 12, will be relaced by default for
5156 NSUserFontSize.
5157
5158 Sun May 12 10:08:34 2002 Nicola Pero <n.pero@mi.flashnet.it>
5159
5160 * Headers/gnustep/gui/NSTextView.h: Removed ivar
5161 _tvf.is_in_dealloc.
5162 * Source/NSTextView.m ([-dealloc]): Set the textStorage to nil
5163 when releasing it; run the other dealloc cleanups during the
5164 recursive invocation rather than during the first invocation; use
5165 the _textStorage ivar instead of _tvf.is_in_dealloc. (Patch by
5166 Alexander Malmberg <alexander@malmberg.org>).
5167
5168 2002-05-11 Richard Frith-Macdonald <rfm@gnu.org>
5169
5170 * Source/NSStringDrawing.m: drawRun() use GSFromUnicode() API for
5171 conversion.
5172
5173 Fri May 10 11:24:38 2002 Nicola Pero <n.pero@mi.flashnet.it>
5174
5175 * Source/NSRulerView.m ([NSRulerView -dealloc]): Do not release the
5176 scrollview (Suggested by Benhur Stein <benhur@inf.ufsm.br>).
5177
5178 2002-05-07 Adam Fedor <fedor@gnu.org>
5179
5180 * Source/NSFont.m (-initWithName:matrix:): If matrix
5181 is ident, set matrixExplicitlySet to NO
5182 (-set): If the focus view is flipped and matrix not set, set our
5183 flipped font equivalent.
5184
5185 2002-05-06 Adam Fedor <fedor@gnu.org>
5186
5187 * Source/NSGraphicsContext.m: More documentation.
5188 * Source/NSStringDrawing.m (drawRun): stroke the underline.
5189
5190 2002-05-02 Adam Fedor <fedor@gnu.org>
5191
5192 * configure.ac: Update to autoconf 2.53 from configure.in
5193 * configure, Headers/gnustep/gui/config.h.in: Regenerate.
5194 * Headers/gnustep/gui/config.h.bot: Remove.
5195
5196 2002-05-01 Adam Fedor <fedor@gnu.org>
5197
5198 * Source/NSView.m (-resizeWithOldSuperviewSize:): Check object
5199 before getting struct. (Solaris limitation).
5200
5201 2002-04-30 Adam Fedor <fedor@gnu.org>
5202
5203 * Version: 0.7.7
5204 * Documentation/news.texi: Update
5205 * NEWS: Regen.
5206
5207 Fri Apr 26 12:45:07 2002 Gregory John Casamento <greg_casamento@yahoo.com>
5208
5209 * Source/NSOutlineView.m: Added a patch by
5210 Alex Malmberg <alexander@malmberg.org> to correct behavior of
5211 the NSOutlineView when the outline column is not in the
5212 leftmost position.
5213
5214 Wed Apr 24 10:54:47 2002 Nicola Pero <n.pero@mi.flashnet.it>
5215
5216 * Model/GMAppKit.m ([NSMenuItem -initWithModelUnarchiver:]): Do not
5217 set submenu if it's nil; decode target in normal place. (Suggestion
5218 by Georg Fleischmann <georg@vhf.de>).
5219
5220 2002-04-23 Adam Fedor <fedor@gnu.org>
5221
5222 * Source/GSDisplayServer.m (mouseLocationOnScreen:window:): New
5223 * Source/NSScreen.m (screenNumber): New.
5224 * Source/NSWindow.m (mouseLocationOutsideOfEventStream): Use them.
5225
5226 * Tools/gpbs.m: Remove.
5227
5228 2002-04-22 Adam Fedor <fedor@gnu.org>
5229
5230 * Headers/gnustep/gui/GSDisplayServer.h: Add attribute strings.
5231 New window::: method.
5232 * Headers/gnustep/gui/NSWindow.h: Add screen ivar plus some extra
5233 reserved ivars.
5234 * Source/GSDisplayServer.m: Add attribute strings.
5235 (window::::): New
5236 (window:::): Implement in terms of window::::
5237 * Source/NSWindow.m: (defaultDepthLimit): Implement.
5238 (dealloc): Release _screen.
5239 (_initBackendWindow:): Interface change: pass frame rect to
5240 window server window creation (not content rect). Pass screen number.
5241 (initWithContentRect:...): Save screen, depthLimit;
5242 (canStoreColor): Check depthLimit correctly.
5243 (deepestScreen): Return screen.
5244 (screen): Idem.
5245
5246 Sun Apr 21 12:57:36 2002 Nicola Pero <n.pero@mi.flashnet.it>
5247
5248 * Model/GMAppKit.m ([NSWindow -encodeWithModelArchiver:]): If not
5249 on gnustep-gui, always add NSTitledWindowMask to non NSBorderless
5250 windows to work around a bug in OpenStep (patch by Georg
5251 Fleischmann with changes).
5252
5253 Sun Apr 21 11:44:01 2002 Nicola Pero <n.pero@mi.flashnet.it>
5254
5255 * Source/libgnustep-gui.def: Added __objc_class_name_NSOutlineView.
5256
5257 2002-04-19 Richard Frith-Macdonald <rfm@gnu.org>
5258
5259 * Tools/gpbs.m: If given -NSHost specification for the current host,
5260 ignore it and use the standard name.
5261
5262 2002-04-18 Ludovic Marcotte <ludovic@Sophos.ca>
5263
5264 * Source/NSOutlineView.m and Headers/gnustep/gui/NSOutlineView.h:
5265 Fixed some issues with the delegate methods.
5266
5267 Thu Apr 18 11:14:22 2002 Nicola Pero <n.pero@mi.flashnet.it>
5268
5269 * Headers/gnustep/gui/AppKitDefines.h (APPKIT_DECLARE): Updated
5270 Windows DLL import/export #define machinery to the new
5271 gnustep-make conventions.
5272
5273 2002-04-17 Pierre-Yves Rivaille <pyrivail@ens-lyon.gt>
5274
5275 * Source/NSMenuItem.m:
5276 ([NSMenuItem -initWithCoder:], [NSMenuItem -encodeWithCoder:])
5277 New encoding scheme. With the new scheme, menus can be loaded
5278 properly from a gorm file.
5279
5280 2002-04-16 Richard Frith-Macdonald <rfm@gnu.org>
5281
5282 * Source/NSPasteboard.m: Improve logging on server startup.
5283
5284 Tue Apr 16 11:55:30 2002 Nicola Pero <n.pero@mi.flashnet.it>
5285
5286 * Tools/gpbs.m (main): Fixed typo in log message - use gpbs, not
5287 gdnc, as log prefix.
5288
5289 2002-04-14 Adam Fedor <fedor@gnu.org>
5290
5291 * Headers/gnustep/gui/NSGraphicsContext.h (GSCurrentDevice): Change
5292 from DPScurrentgcdrawable.
5293 (GSSetDevice): Change from DPSsetgcdrawable.
5294 * Headers/gnustep/gui/DPSOperators.h: Idem.
5295 * Headers/gnustep/gui/GSMethodTable.h: Idem.
5296 * Headers/gnustep/gui/PSOperators.h: Idem.
5297 * Source/NSGraphicsContext.m:
5298
5299 * Headers/gnustep/gui/GSDisplayServer.h: Remove findwindow::::.
5300 * Source/GSDisplayServer.m: Likewise.
5301
5302 2002-04-11 Adam Fedor <fedor@gnu.org>
5303
5304 * Headers/gnustep/gui/config.h.bot: New define if rint missing
5305 * Source/NSBrowser.m: Use it.
5306 * Source/NSRulerView.m: Idem.
5307 * Source/NSMatrix.m: Idem.
5308 * Source/NSClipView.m: Idem.
5309
5310 Thu Apr 11 22:51:09 2002 Nicola Pero <n.pero@mi.flashnet.it>
5311
5312 * Source/NSButtonCell.m ([-cellSize]): Use more space around
5313 bezeled/bordered buttons not containing only an image so that they
5314 get more pleasantly autosized without manual intervention.
5315 * Source/GSMemoryPanel.m ([-init]): Do not manually adjust the
5316 button size.
5317
5318 Thu Apr 11 22:15:51 2002 Nicola Pero <n.pero@mi.flashnet.it>
5319
5320 * Headers/gnustep/gui/NSAttributedString.h: Do not #include the
5321 whole <Foundation/Foundation>, but rather use the minimum @class
5322 and #include needed to have it parsed - so that everything
5323 compiles faster.
5324 * Headers/gnustep/gui/NSProgressIndicator.h: Added missing @class and #include
5325 directives.
5326 * Headers/gnustep/gui/NSTextStorage.h: Added missing #include.
5327 * Headers/gnustep/gui/NSTextView.m: Added missing @class.
5328 * Source/GSComboSupport.m: Added missing #includes.
5329 * Source/GSInfoPanel.m: Idem.
5330 * Source/GSServicesManager.m: Idem.
5331 * Source/NSApplication.m: Idem.
5332 * Source/NSBox.m: Idem.
5333 * Source/NSBrowser.m: Idem.
5334 * Source/NSBrowserCell.m: Idem.
5335 * Source/NSBundleAdditions.m: Idem.
5336 * Source/NSButtonCell.m: Idem.
5337 * Source/NSCell.m: Idem.
5338 * Source/NSColorPanel.m: Idem.
5339 * Source/NSColorPicker.m: Idem.
5340 * Source/NSColorWell.m: Idem.
5341 * Source/NSComboBoxCell.m: Idem.
5342 * Source/NSControl.m: Idem.
5343 * Source/NSFontPanel.m: Idem.
5344 * Source/NSHelpManager.m: Idem.
5345 * Source/NSLayoutManager.m: Idem.
5346 * Source/NSMatrix.m: Idem.
5347 * Source/NSMenu.m: Idem.
5348 * Source/NSMenuItem.m: Idem.
5349 * Source/NSMenuView.m: Idem.
5350 * Source/NSOpenPanel.m: Idem.
5351 * Source/NSOutlineView.m: Idem.
5352 * Source/NSProgressIndicator.m: Idem.
5353 * Source/NSSavePanel.m: Idem.
5354 * Source/NSScroller.m: Idem.
5355 * Source/NSScrollView.m: Idem.
5356 * Source/NSSpellChecker.m: Idem.
5357 * Source/NSStepper.m: Idem.
5358 * Source/NSTableColumn.m: Idem.
5359 * Source/NSTableHeaderView.m: Idem.
5360 * Source/NSTableView.m: Idem.
5361 * Source/NSText.m: Idem.
5362 * Source/NSTextField.m: Idem.
5363 * Source/NSTextFieldCell.m: Idem.
5364 * Source/NSTextView.m: Idem.
5365 * Source/NSWindow.m: Idem.
5366
5367 * Source/NSMatrix.m ([-dealloc]): End editing if while editing.
5368
5369 Thu Apr 11 16:20:54 2002 Nicola Pero <n.pero@mi.flashnet.it>
5370
5371 * Headers/gnustep/gui/NSResponder.h: Include NSObject.h, not NSCoder.h;
5372 declare @class NSCoder.
5373
5374 Thu Apr 11 15:37:31 2002 Nicola Pero <n.pero@mi.flashnet.it>
5375
5376 * Source/GSTextStorage.m ([GSTextStorage -sanity]): Renamed to
5377 -_sanity, and changed so that we always compile this in so that
5378 regression testcases can use it.
5379
5380 Thu Apr 11 08:54:16 2002 Nicola Pero <n.pero@mi.flashnet.it>
5381
5382 * Source/GSTable.m ([+new]): New method working around a bug in
5383 OSX ... with this, except for #include fixups, the box code works
5384 on OSX. (Suggested by Helge Hess).
5385
5386 2002-04-10 Adam Fedor <fedor@gnu.org>
5387
5388 * Headers/gnustep/gui/config.h.bot: New file implements RINT defs.
5389 * Headers/gnustep/gui/config.h.in: Regen.
5390 * Source/NSBrowser.m: Remove RINT defs.
5391 * Source/NSRulerView.m: Likewise.
5392
5393 * Headers/gnustep/gui/AppKitExceptions.h: Add GNUstep exception.
5394 * Source/externs.m: Idem.
5395 * Headers/gnustep/gui/DPSOperators.h: Remove currentgstate, gstate
5396 * Headers/gnustep/gui/PSOperators.h: Idem.
5397 * Headers/gnustep/gui/GSMethodTable.h: Idem.
5398 * Headers/gnustep/gui/NSGraphicsContext.h: Idem.
5399 * Source/NSGraphicsContext.m: Idem. Redefine subclassResponsibility
5400 to throw our own exception.
5401
5402 * Headers/gnustep/gui/GSDisplayServer.h: Prefix functions with
5403 APPKIT_DECLARE. Fix windowbacking def.
5404
5405 * Source/libgnustep-gui.def: Add GSDisplayServer.
5406
5407 Tue Apr 9 23:04:43 2002 Nicola Pero <n.pero@mi.flashnet.it>
5408
5409 * Source/GSTable.m ([-setFrame:], [-setFrameSize:]): New methods.
5410 ([-resizeWithOldSuperviewSize:]): Removed; code moved into
5411 -_updateForNewFrameSize:.
5412 ([-_updateForNewFrameSize:]): New method.
5413 Everywhere: use [super setFrameSize:xxx], not [self
5414 setFrameSize:xxx] to set the frame size after autoresizing
5415 operations.
5416 * Source/GSTable.m ([-lockFocusInRect:, -unlockFocusNeedsFlush:]):
5417 Removed.
5418
5419 Tue Apr 9 22:28:12 2002 Nicola Pero <n.pero@mi.flashnet.it>
5420
5421 Patch by Alexander Malmberg <alexander@malmberg.org>:
5422 * Source/NSScroller.m ([-setFloatValue:knobProportion:]): Make
5423 sure we mark the scroller knob slot as needing redisplay.
5424
5425 2002-04-08 Ludovic Marcotte <ludovic@Sophos.ca>
5426
5427 * Source/NSMenuView.m (-dealloc): Modified the dealloc method
5428 so that we remove the menu view from the menu list of observers.
5429 We could otherwise receive notifications on a dealloc'ed object
5430 and segfault.
5431
5432
5433 2002-04-06 Adam Fedor <fedor@gnu.org>
5434
5435 * Source/NSView.m (-_cleanupPrinting): Private method to cleanup
5436 after an exception.
5437 * Source/NSPrintOperation.m (-_runOperation): Use it.
5438
5439 2002-04-03 Fred Kiefer <FredKiefer@gmx.de>
5440
5441 * Images/common_RightTabStop.tiff
5442 * Images/common_LeftTabStop.tiff
5443 * Images/common_CenterTabStop.tiff
5444 * Images/common_DecimalTabStop.tiff
5445 * Images/GNUmakefile
5446 Added new icons for tab stop display in ruler views and install
5447 them from the make file.
5448 * Source/NSRulerView.m
5449 Added method [mouseDown:]. Added safety check for unchanged client
5450 view in [setClientView:]. In [drawHashMarksAndLabelsInRect:] use
5451 [NSFont smallSystemFontSize] instead of hard coded size.
5452 * Source/NSRulerMarker.m
5453 Corrected [drawRect:].
5454 * Source/NSTextView.m
5455 In [updateRuler] set the client view of the ruler view.
5456
5457
5458 2002-04-05 Adam Fedor <fedor@gnu.org>
5459
5460 * Source/NSApplication.m (initialize_gnustep_backend): Better
5461 debugging info.
5462 * Source/NSPrintOperation.m ([NSPrintOperation -destroyContext]):
5463 Remove old context method.
5464
5465 2002-04-06 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
5466
5467 * Source/NSOutlineView.m ([NSOutlineView -performDragOperation:]):
5468 Fixed issue on drag'n'drop.
5469
5470 Fri Apr 5 00:13:41 2002 Nicola Pero <n.pero@mi.flashnet.it>
5471
5472 * TextConverters/RTF/GNUmakefile.preamble (ADDITIONAL_LIB_DIRS):
5473 Fixed typo so that it compiles again.
5474
5475 2002-04-03 Fred Kiefer <FredKiefer@gmx.de>
5476
5477 * Source/NSRulerView.m
5478 Added handling for missing rint function, copied over from
5479 NSBrowser.
5480 * Source/NSTextView.m
5481 Made [updateRuler] save against missing rulers.
5482
5483 2002-04-02 Adam Fedor <fedor@gnu.org>
5484
5485 * Documentation/gsdoc/DefaultsSummary.gsdoc: Update.
5486 * Documentation/gsdoc/Gui.gsdoc: Idem.
5487 * Headers/gnustep/gui/NSAffineTransform.h: Tidy for autogsdoc.
5488 * Headers/gnustep/gui/NSButtonCell.h: Idem.
5489 * Headers/gnustep/gui/NSCell.h: Idem.
5490 * Headers/gnustep/gui/NSClipView.h: Idem.
5491 * Headers/gnustep/gui/NSFont.h: Idem.
5492 * Headers/gnustep/gui/NSFontManager.h: Idem.
5493 * Headers/gnustep/gui/NSOutlineView.h: Idem.
5494 * Headers/gnustep/gui/NSRulerView.h: Idem.
5495 * Headers/gnustep/gui/NSSavePanel.h: Idem.
5496 * Source/GSHbox.m: Idem.
5497 * Source/GSVbox.m: Idem.
5498 * Source/NSCachedImageRep.m: Idem.
5499 * Source/NSCell.m: Idem.
5500 * Source/NSClipView.m: Idem.
5501 * Source/NSDocument.m: Idem.
5502 * Source/NSFont.m: Idem.
5503 * Source/NSFontManager.m: Idem.
5504 * Source/NSFontPanel.m: Idem.
5505 * Source/NSFormCell.m: Idem.
5506 * Source/NSGraphicsContext.m: Idem.
5507 * Source/NSHelpManager.m: Idem.
5508 * Source/NSImage.m: Idem.
5509 * Source/NSPanel.m: Idem.
5510 * Source/NSRulerView.m: Idem.
5511 * Source/NSStepperCell.m: Idem.
5512 * Source/NSText.m: Idem.
5513
5514 2002-04-02 Adam Fedor <fedor@gnu.org>
5515
5516 * Source/NSGraphicsContext.m (-GSDefineGState): Document new
5517 definition of method.
5518 * Source/NSWindow.m ([NSWindow -_initBackendWindow:]): Change to
5519 match new def.
5520 * Source/NSView.m ([NSView -lockFocusInRect:]): Idem.
5521
5522 2002-04-02 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
5523
5524 * Source/NSTableView.m ([NSTableView -scrollRowToVisible:]):
5525 ([NSTableView -scrollColumnToVisible:]):
5526 Bugfix in getting the visibleRect.
5527
5528 Tue Apr 2 10:28:46 2002 Nicola Pero <n.pero@mi.flashnet.it>
5529
5530 * Source/NSButtonCell.m ([-setSound:]): Retain the sound.
5531 ([-dealloc]): Release it.
5532 * Source/NSTableView.m ([-dealloc]): Abort editing.
5533
5534 Tue Apr 2 09:40:48 2002 Nicola Pero <n.pero@mi.flashnet.it>
5535
5536 * Headers/gnustep/gui/NSApplication.h: Tidied up some #include and
5537 @class machinery for efficiency.
5538 * Headers/gnustep/gui/NSDocument.h: Idem.
5539 * Headers/gnustep/gui/NSDragging.h: Idem.
5540 * Headers/gnustep/gui/NSImage.h: Idem.
5541 * Headers/gnustep/gui/NSImageRep.h: Idem.
5542 * Headers/gnustep/gui/NSMenu.h: Idem.
5543 * Headers/gnustep/gui/NSMenuItem.h: Idem.
5544 * Headers/gnustep/gui/NSWindowController.h: Idem.
5545 * Headers/gnustep/gui/NSWorkspace.h: Idem.
5546 * Source/NSApplication.m: Added missing #includes.
5547 * Source/NSComboBox.m: Idem.
5548 * Source/NSCustomImageRep.m: Idem.
5549 * Source/NSEPSImageRep.m: Idem.
5550 * Source/NSFontManager.m: Idem.
5551 * Source/Functions.m: Idem.
5552 * Source/NSHelpManager.m: Idem.
5553 * Source/NSMenu.m: Idem.
5554 * Source/NSMenuItem.m: Idem.
5555 * Source/NSMenuItemCell.m: Idem.
5556 * Source/NSPopUpButtonCell.m: Idem.
5557 * Source/NSResponder.m: Idem.
5558 * Source/NSSpellChecker.m: Idem.
5559 * Source/NSSplitView.m: Idem.
5560 * Source/NSTableHeaderView.m: Idem.
5561 * Source/NSText.m: Idem.
5562 * Source/NSWindow.m: Idem, plus removed unused one.
5563 * Source/NSInputManager.m: Include AppKit/NSGraphics.h, not
5564 AppKit/NSApplication.h, for NSBeep ().
5565
5566 2002-04-01 Gregory Casamento <greg_casamento@yahoo.com>
5567
5568 * Source/NSOutlineView.m
5569 Added methods to implement autosaving of expandedItems.
5570
5571 2002-04-01 Adam Fedor <fedor@gnu.org>
5572
5573 * Source/NSApplication.m (-init): Retain the server
5574 and default context.
5575 (-dealloc): Release server and context.
5576 * Source/NSGraphicsContext.m (+restoreGraphicsState): Implement.
5577 (+saveGraphicsState): Likewise.
5578 ( destroyContext): Remove.
5579 (-restoreGraphicsState): Implement.
5580 (-saveGraphicsState): Likewise.
5581 Add some documentation.
5582 * Source/NSWindow.m ([NSWindow -dealloc]): Check for context
5583 before undefining gstate.
5584 ([NSWindow -miniaturize:]): Don't create miniwindow if server
5585 can't handle it.
5586 * Source/GSDisplayServer.m (-appOwnsMiniwindow): Implement.
5587
5588 2002-04-01 Gregory Casamento <greg_casamento@yahoo.com>
5589
5590 * Source/NSOutlineView.m
5591 Replaced dictionaries w/ NSMapTable. NSDictionary required
5592 items of the NSOutlineView to implement the NSCopying protocol
5593 which is incorrect.
5594 * Headers/gnustep/gui/NSOutlineView.h
5595 Replaced dictionaries in class declaration.
5596
5597 2002-03-31 Fred Kiefer <FredKiefer@gmx.de>
5598
5599 * Source/Window.m
5600 [setFrame:display:] do nothing if the frame after all the
5601 corrections did not change from its current extend.
5602 In [makeKeyWindow] and [makeMainWindow] do nothing if the window
5603 is already key/main.
5604
5605 2002-03-31 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
5606
5607 * Source/NSMatrix.m :
5608 Use integer coordinates for _cellSize when autoresizing.
5609 * Source/NSBox.m ([NSBox -calcSizesAllowingNegative:])
5610 (case NSAtBottom & case NSAtTop):
5611 Use integer coordinates and small cosmetic changes.
5612 * Source/NSOutlineView.m ([NSOutlineView -initWithCoder:]):
5613 Bugfix.
5614 * Source/NSClipView.m ([NSClipView -constrainScrollPoint:]):
5615 Make sure the difference between old position and new position
5616 is an integer vector.
5617 * Source/NSTableView.m ([NSTableView -initWithCoder:]):
5618 Bugfix.
5619
5620 2002-03-30 Adam Fedor <fedor@gnu.org>
5621
5622 * gui/Model/GMAppKit.m (-encodeWithModelArchiver:): Encode an
5623 empty array rather than crash.
5624 * gui/Model/GMArchiveObjects.m (-colorSpaceName): Implement for
5625 NSObject to to work around a bug in MacOSX 10.1.x
5626 * gui/Model/GNUmakefile: Include libgmodel with building nib2gmodel.
5627 * gui/Model/IBClasses.m: Fix debug for compiling on Darwin.
5628
5629 2002-03-29 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
5630
5631 * Source/NSTableView.m ([NSTableView -encodeWithCoder:]):
5632 ([NSTableView -initWithCoder:]): encodes _allowsColumnReordering.
5633 * Source/NSTableView.m (computeNewSelection):
5634 fixed bug when updating selection.
5635 * Source/NSTableColumn.m ([NSTableColumn -encodeWithCoder:]):
5636 ([NSTableColumn -initWithCoder:]): new encoding scheme
5637 (fixes a bug when decoding a tableview)
5638
5639 Thu Mar 28 11:08:56 2002 Nicola Pero <n.pero@mi.flashnet.it>
5640
5641 Patches by Jeff Teunissen <deek@d2dc.net>:
5642 * Source/NSWorkspace.m ([-homeDirectoryImage]): New method.
5643 ([-iconForFile:]): Use the new method to return an image for
5644 NSHomeDirectory().
5645 * Images/GNUmakefile (IMAGE_FILES): Added Common_HomeDirectory.tiff.
5646 * Images/common_HomeDirectory.tiff: New image created by simply
5647 putting common_Home.tiff over common_Folder.tiff.
5648
5649 2002-03-27 Adam Fedor <fedor@gnu.org>
5650
5651 * Splitup backend into Server and Graphics Contexts. Revise list
5652 of graphics operators for better functionality.
5653 * Headers/gnustep/gui/GSDisplayServer.h: New file.
5654 * Headers/gnustep/gui/DPSOperators.h: Revised set of operators.
5655 * Headers/gnustep/gui/PSOperators.h: Likewise.
5656 * Headers/gnustep/gui/GSMethodTable.h: Likewise.
5657 * Headers/gnustep/gui/NSGraphics.h: Un-inline/revise functions.
5658 * Headers/gnustep/gui/NSGraphicsContext.h: Update for MacOSX
5659 compatibility, move server methods to GSDisplayServer, Revise list
5660 of operators.
5661 * Source/GSDisplayServer.m: New file.
5662 * Source/Functions.m: Move uninlined functions from NSGraphics.h here.
5663 * Source/NSAffineTransform.m (-set): Update to new method.
5664 * Source/NSApplication.m: Load gnustep-back backend by default.
5665 Update for new server class.
5666 * Source/NSCursor: Use new methods from server.
5667 * Source/NSEvent.m: Likewise.
5668 * Source/NSFont.m: Likewise.
5669 * Source/NSImageRep.m: Likewise.
5670 * Source/NSScreen.m: Likewise.
5671 * Source/NSView.m: Likewise.
5672 * Source/NSWindow.m: Likewise.
5673 * Source/NSWorkspace.m: Likewise.
5674 * Source/NSGraphicsContext.m: Move server methods, revised list
5675 of operators
5676
5677 Thu Mar 28 03:43:49 2002 Nicola Pero <n.pero@mi.flashnet.it>
5678
5679 * Source/libgnustep-gui.def: Removed
5680 __objc_class_name_GSTransparentView.
5681
5682 2002-03-27 Gregory John Casamento <greg_casamento@yahoo.com>
5683
5684 * Source/NSOutlineView.m make more efficient for large sets of
5685 items
5686 * Headers/gnustep/gui/NSOutlineView.h Added new ivar to cache
5687 item level information.
5688
5689 2002-03-26 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
5690
5691 * Source/NSBundleAdditions.m
5692 ([NSNibOutletConnector -establishConnection]):
5693 Only capitalize the first letter of the outlet in order to have
5694 the accessor method's name.
5695 * Source/NSTableView.m ([NSTableView initWithCoder:]):
5696 Use @"NSTableView" insted of NSStringFromClass([self class]) when
5697 looking for version. Call -tile to set up everything properly.
5698 * Source/NSScrollView.m ([NSScrollView encodeWithCoder:] &
5699 [NSScrollView initWithCoder:]):
5700 Encode/decode _hasHeaderView, _hasCornerView & _headerClipView.
5701 Don't recreate cornerView & headerView at decoding time, because
5702 they are encoded by NSView anyway.
5703
5704 Tue Mar 26 14:33:24 2002 Nicola Pero <n.pero@mi.flashnet.it>
5705
5706 * Source/GSTable.m: Removed GSTransparentView and replaced it with
5707 a simple NSView.
5708 * Headers/gnustep/gui/GSTable.h: Idem.
5709
5710 2002-03-24 Adam Fedor <fedor@gnu.org>
5711
5712 * Source/NSStringDrawing.m (drawRun): Use new unicode functions
5713 for string conversion (patch from yjchen@ms7.url.com.tw).
5714
5715 Mon Mar 25 00:12:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
5716
5717 * Source/GSSimpleLayoutManager.m ([-setNeedsDisplayForLineRange:inTextContainer:]):
5718 Fixed typo introduced by me in last change (reported by Alexander
5719 Malmberg).
5720
5721 2002-03-23 Adam Fedor <fedor@gnu.org>
5722
5723 * Version: 0.7.6
5724
5725 Sat Mar 23 21:49:10 2002 Gregory John Casamento <greg_casamento@yahoo.com>
5726
5727 * Source/NSOutlineView.m: Minor cleanup. Removed some unecessary
5728 NSLog statements.
5729
5730 Sat Mar 23 11:34:10 2002 Gregory John Casamento <greg_casamento@yahoo.com>
5731
5732 * Headers/gnustep/gui/NSOutlineView.h: Added dictionary to speed
5733 up generation of the _items list. Also, this keeps the outline view
5734 from being updated without an explicit call to reloadData.
5735
5736 * Source/NSOutlineView.m: Implemented -[NSOutlineView reloadItem:]
5737 and -[NSOutlineView reloadItem:reloadChildren:] and improved
5738 -[NSOutlineView reloadData]
5739
5740 Fri Mar 22 13:09:03 2002 Nicola Pero <n.pero@mi.flashnet.it>
5741
5742 * Headers/gnustep/gui/NSRulerView.h: Merged new code from Diego
5743 Kreutz (kreutz@inf.ufsm.br).
5744 * Source/NSRulerView.m: Class contributed by Diego Kreutz
5745 (kreutz@inf.ufsm.br). I did some minor changes.
5746
5747 Fri Mar 22 11:40:44 2002 Nicola Pero <n.pero@mi.flashnet.it>
5748
5749 * Model/IMLoading.m: Include AppKit/NSNibLoading.h for
5750 awakeFromNib.
5751
5752 Fri Mar 22 11:35:20 2002 Nicola Pero <n.pero@mi.flashnet.it>
5753
5754 * Source/GSSimpleLayoutManager.m ([GSSimpleLayoutManager
5755 -setNeedsDisplayForLineRange:inTextContainer:]): Check that the
5756 whole range of lines, not just the first one, is in the range we
5757 know about (Suggestion from Alexander Malmberg).
5758
5759 2002-03-22 Richard Frith-Macdonald <rfm@gnu.org>
5760
5761 * Tools/exampleInfo.plist: Fix illegal character in plist ...
5762 use unicode escape. Bug reported by Yen-Ju Chen
5763
5764 2002-03-22 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
5765
5766 * Source/NSOutlineView.h
5767 Moved NSOutlineViewDropOnItemIndex from enum to int.
5768 * Source/NSOutlineView.m:
5769 Drag'n'drop support.
5770 * Source/NSTableView.m
5771 ([NSTableView -selectRow:byExtendingSelection:]):
5772 rowIndex == _numberOfRows was not catched as invalid.
5773 * Source/NSTableView.m ([NSTableView -draggingUpdated:sender]):
5774 Less NSLog.
5775 * Source/NSTableHeaderView.m ([NSTableHeaderView -mouseDown:]):
5776 fixed drawing issue.
5777
5778 2002-03-21 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
5779
5780 * Source/NSEvent.m
5781 ([NSEvent +startPeriodicEventsAfterDelay:withPeriod:]):
5782 ([NSEvent +_registerRealTimer:]):
5783 The first periodic event is sent after delay seconds.
5784 It was incorrectly sent after delay+period seconds.
5785 * Source/NSScroller.m ([NSScroller -drawParts]):
5786 Set the scrollbuttons to send actions on mouseDown instead of
5787 mouseUp. Changed the initial delay (to reflect NSEvent changes)
5788 and the period so that it feels smoother.
5789
5790 2002-03-20 Richard Frith-Macdonald <rfm@gnu.org>
5791
5792 * configure.in: Use info from make package, and look in GNUstep
5793 directories first for versions of libraries and headers to use.
5794 * configure: regenerate
5795
5796 2002-03-19 Adam Fedor <fedor@gnu.org>
5797
5798 * Source/NSWindow.m ([NSWindow -sendEvent:]): In resize event, get
5799 new origin from event location field.
5800
5801 * Source/GSFontInfo.m ([GSFontInfo
5802 +encodingForRegistry:encoding:]): Handle big5 encoding (patch from
5803 Yen-Ju Chen)
5804
5805 * Documentation/news.texi: Update.
5806
5807 Mon Mar 18 16:00:34 2002 Nicola Pero <n.pero@mi.flashnet.it>
5808
5809 * Source/NSTableView.m ([-draggingUpdated:sender]): Make the gui
5810 compile again.
5811
5812 2002-03-17 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
5813
5814 * Source/GSTextStorage.m
5815 ([GSTextStorage -replaceCharactersInRange:withString:]):
5816 Only keep attribute #0 when removing it would remove all attributes.
5817 (patch by Alexander Malmberg)
5818 * Source/NSTableView.m ([NSTableView -deselectAll:]):
5819 Fix bug.
5820 * Source/NSTableView.m : initial drag'n'drop support.
5821
5822 2002-03-14 Richard Frith-Macdonald <rfm@gnu.org>
5823
5824 * Headers/AppKit/NSGraphicsContext.h: Add NSWindowDepth typedef and
5825 reposition STRICT_OPENSTEP. Really needs someone who actually wants
5826 to use this option to submit patches though.
5827
5828 Mon Mar 11 15:05:02 2002 Nicola Pero <n.pero@mi.flashnet.it>
5829
5830 * Source/libgnustep-gui.def
5831 (__objc_class_name_GSGlyphLocation,__objc_class_name_GSLineLayoutInfo,
5832 __objc_class_name_GSRunStorage, __objc_class_name__GSRunSearchKey,
5833 __objc_class_name_GSTextContainerLayoutInfo): Removed (Suggested
5834 by Fred Kiefer).
5835
5836 2002-03-10 Richard Frith-Macdonald <rfm@gnu.org>
5837
5838 * Source/NSPasteboard.m: Start gpbs for other server automatically.
5839 Improve log messages.
5840 * Tools/gpbs.m copied in fron gpbs.
5841
5842 2002-03-09 Richard Frith-Macdonald <rfm@gnu.org>
5843
5844 * Source/NSPasteboard.m: Use NSHost to look for alternative servers.
5845 * Tools/gpbs.m: Use -NSHost to specify alternative server names.
5846
5847 Sat Mar 9 12:22:05 2002 Adam Fedor <fedor@yogi.doc.com>
5848
5849 * Source/GSSimpleLayoutManager.m:
5850 Check that object is not nil before asking for width (assigning
5851 structs from nil objects crashes Solaris). Several locations.
5852
5853 2002-03-06 Richard Frith-Macdonald <rfm@gnu.org>
5854
5855 * Source/NSScrollView.m: Go through adding checks to avoid crashes
5856 where _contentView has been set to nil through removal of the
5857 subview.
5858
5859 Thu Mar 7 08:29:25 2002 Nicola Pero <n.pero@mi.flashnet.it>
5860
5861 * Source/NSScrollView.m ([-dealloc]): Use DESTROY, not
5862 TEST_RELEASE, fixing the segmentation fault on deallocating.
5863
5864 Thu Mar 7 08:15:21 2002 Nicola Pero <n.pero@mi.flashnet.it>
5865
5866 * Source/NSCell.m ([-initTextCell:]): Use system font, not user
5867 font. ([-initImageCell:]): Idem. ([-setType:]): Idem.
5868 (Patch from Stefan Urbanek <stefanurbanek@yahoo.fr>).
5869
5870 2002-03-06 Richard Frith-Macdonald <rfm@gnu.org>
5871
5872 * Source/GSTextStorage.m: Applied fix for left-over attributes
5873 at end of string. Patch supplied by Alexander Malmberg
5874 <alexander@malmberg.org>. Reformatting to conform to GNUstep
5875 standards, and optimisation by me.
5876 * Source/NSView.m: -dealloc remove subviews from this view as
5877 suggested by Nicola.
5878
5879 2002-03-05 Gregory John Casamento <greg_casamento@yahoo.com>
5880
5881 * Source/NSOutlineView.m modified to the methods which
5882 make calls to the datasource to retrieve children starting
5883 from zero instead of one.
5884
5885 2002-03-04 Gregory John Casamento <greg_casamento@yahoo.com>
5886 & Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
5887
5888 * Source/NSTableView.m added methods to handle posting of
5889 notifications as well as methods to handle making appropriate
5890 delegate calls. Also made necessary changes in other methods
5891 ([NSTableView mouseDown:], [NSTableView selectAll], etc...)
5892 to use them. (PYR)
5893 * Source/NSOutlineView.m overrode notification methods and delegate
5894 methods defined in NSTableView. (GJC) This was done as a
5895 collaborative effort to ensure that NSOutlineView is more
5896 maintainable and benefits from updates made to NSTableView.
5897 Also made changes to increase spacing between "knob" and text
5898 * Images/common_outlineUnexpandable.tiff lightened image to
5899 make it stand out more when an item cannot be expanded. (GJC)
5900
5901 2002-03-04 Richard Frith-Macdonald <rfm@gnu.org>
5902
5903 * Headers/AppKit/NSEvent.h: Modify to support MacOS-X documented API
5904 (rather than just the currently implemented one).
5905 * Source/NSEvent.m: ditto.
5906
5907 2002-03-04 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
5908
5909 * Source/NSTableView.m ([NSTableView -superviewFrameChanged:]):
5910 fix a bug when resizing a tableview with autoresizesAllColumnsToFit
5911 set to YES.
5912
5913 Mon Mar 4 09:09:02 2002 Nicola Pero <n.pero@mi.flashnet.it>
5914
5915 * Source/NSSavePanel.m: Do not include AppKit/IMLoading.h.
5916
5917 2002-03-04 Richard Frith-Macdonald <rfm@gnu.org>
5918
5919 * Source/NSSavePanel.m: Hack around accessory view addition/removal
5920 code - fix a few bugs and simplify by relying more on autoresizing
5921 and less on manual computation of resizing values. Now works with
5922 ProjectCentre on my system.
5923
5924 2002-03-03 Gregory Casamento <greg_casamento@yahoo.com>
5925
5926 * Images/common_outlineUnexpandable.tiff added.
5927 * Images/GNUmakefile modified to install images
5928 * Source/NSOutlineView.m modified to use new images.
5929 Also made several fixes which should now make NSOutlineView
5930 usable. The graphics used are consistent with the look of
5931 the outline view in the OPENSTEP Interface Builder classes
5932 tab.
5933
5934 2002-03-02 Gregory Casamento <greg_casamento@yahoo.com>
5935
5936 * Images/common_outlineExpanded.tiff added.
5937 * Images/common_outlineCollapsed.tiff added.
5938 * Images/GNUmakefile modified to install images
5939 * Source/NSOutlineView.m modified to use new images
5940
5941 2002-03-01 Richard Frith-Macdonald <rfm@gnu.org>
5942
5943 * Headers/AppKit/NSEvent.h: Rename 'middle' mouse to 'other' as
5944 MacOS-X has caught up with the functionality but not adopted our
5945 names. Add -buttonNumber. Add conditional compilation for strict
5946 openstep to exclude new methods.
5947 * Headers/AppKit/NSResponder.h: ditto
5948 * Source/Functions.m: ditto
5949 * Source/GSComboSupport.m: ditto
5950 * Source/NSApplication.m: ditto
5951 * Source/NSCell.m: ditto
5952 * Source/NSControl.m: ditto
5953 * Source/NSEvent.m: ditto. Also added lots of documentation, a
5954 couple of fixmes, and several bugfixes (wrong exceptions being
5955 raised etc).
5956 * Source/NSMenuView.m: ditto
5957 * Source/NSResponder.m: ditto
5958 * Source/NSTextView.m: ditto
5959 * Source/NSWindow.m: ditto
5960
5961 2002-03-01 Michael Hanni <mhanni@yahoo.com>
5962
5963 First cut at improving NSPopUpButton/Cell.
5964
5965 * Source/NSMenuItemCell.m
5966 ([drawBorderAndBackgroundWithFrame:inView:]): Remove special
5967 popupbutton case.
5968 ([drawInteriorWithFrame:inView:]): ditto.
5969 * Headers/NSMenuView.h: added _leftBorderOffset int.
5970 * Source/NSMenuView.m: added static function
5971 _addLeftBorderOffsetToRect()
5972 ([initWithFrame:]): init left offset value to 1 (default for a
5973 menu.)
5974 ([sizeToFit]): change left offset value to 0 if we are a
5975 popup. Use this value to set the correct frame size. Before when
5976 the menuview was sizeToFit'ed the menuWindow was resized by an
5977 additional pixel when we were a popupbutton.
5978 ([innerRect]): use left offset value to return the correct rect.
5979 ([rectOfItemAtIndex:]): ditto.
5980 ([indexOfItemAtPoint:]): use _addLeftBorderOffsetToRect() to
5981 correct the rect we use to calculate the event area for a
5982 menuItemCell in a normal menu.
5983 ([setNeedsDisplayForItemAtIndex:]): ditto.
5984 ([drawRect:]): Modified to not draw a border line on the left side
5985 if we are a popup.
5986 * Source/NSPopUpButtonCell.m: added some comments for further
5987 fixes.
5988 ([drawWithFrame:inView:]): removed all the code in favor of
5989 having the NSMenuItemCell of the selected item draw the
5990 popupbuttoncell.
5991 ([drawInteriorWithFrame:inView:]): removed everything but the
5992 responder status code (this is still a FIXME).
5993
5994 2002-03-01 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
5995
5996 * Source/NSBundleAdditions.m
5997 ([GSNibItem -initWithCoder:]):
5998 ([GSNibItem -encodeWithCoder:]):
5999 new encoding (support for autoresizingMask).
6000 ([GSNibItem +initialize]):
6001 ([GSCustomView +initialize]):
6002 new methods, set the version number.
6003 * Headers/gnustep/gui/NSNibLoading.h:
6004 new autoresizingMask ivar in GSNibItem.
6005
6006 2002-02-28 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
6007
6008 * Headers/gnustep/gui/NSEvent.h:
6009 new element in event_data union, provides support for deltaX, deltaY
6010 and deltaZ.
6011 * Source/NSEvent.m
6012 ([NSEvent +mouseEventWithType:location:modifierFlags:timestamp:
6013 windowNumber:context:deltaX:deltaY:deltaZ:]):
6014 new method : support for creating event with deltaX, deltaY and deltaZ.
6015 ([NSEvent -delta{X, Y, Z}]): methods implemented.
6016 ([NSEvent -description]):
6017 ([NSEvent -initWithCoder:]):
6018 ([NSEvent -encodeWithCoder:]):
6019 suppor for deltaX, deltaY and deltaZ
6020 * Source/NSResponder.m ([NSResponder -scrollWheel:]):
6021 implementation.
6022 * Source/NSScrollView.m ([NSScrollView -scrollWheel:]):
6023 implementation, does scroll the document view.
6024
6025 Thu Feb 28 16:47:58 2002 Nicola Pero <n.pero@mi.flashnet.it>
6026
6027 * Tools/make_services.m: Use 'Applications' not 'Apps'.
6028
6029 Thu Feb 28 16:02:09 2002 Nicola Pero <nicola@brainstorm.co.uk>
6030
6031 * Source/Functions.m: Never include NSCStringText.h. Removed old
6032 obsolete text string functions declared in NSCStringText.h.
6033 * Source/libgnustep-gui.def: Removed
6034 __objc_class_name_NSCStringText.
6035
6036 2002-02-27 Adam Fedor <fedor@gnu.org>
6037
6038 * Source/NSApplication.m ([NSApplication -init]): Create our
6039 NSGraphicsContext here (moved from backend initialization) - much
6040 more appealing.
6041
6042 Thu Feb 28 14:19:00 2002 Nicola Pero <nicola@brainstorm.co.uk>
6043
6044 * Headers/gnustep/gui/NSText.h: Added the special key enum
6045 containing NSBackspaceKey which used to be in NSCStringText.h.
6046
6047 Wed Feb 27 23:50:42 2002 Nicola Pero <n.pero@mi.flashnet.it>
6048
6049 * Source/GSKeyBindingTable.m ([-bindKey:toAction:]): Implemented
6050 support for describing multi-stroke keybindings using arrays as
6051 keys.
6052 * Source/GSKeyBindingTable.h ([-bindKey:toAction:]): Now accepts
6053 an id as key.
6054
6055 Wed Feb 27 23:27:21 2002 Nicola Pero <n.pero@mi.flashnet.it>
6056
6057 * Source/GSKeyBindingTable.m ([-bindKey:toAction:]): Modified so
6058 that adding new multi-stroke keybindings with the same prefix
6059 doesn't discard all previous keybindings with the same prefix.
6060
6061 Wed Feb 27 23:16:47 2002 Nicola Pero <n.pero@mi.flashnet.it>
6062
6063 * Source/NSTextView.m ([-drawRect:]): Always clear the whole rect
6064 using the the background color before drawing the new glyphs.
6065 This makes sure we always clear away old glyphs. This fixes the
6066 bug when deleting the last character in a text field.
6067
6068 2002-02-27 Fred Kiefer <FredKiefer@gmx.de>
6069
6070 * Source/GSSimpleLayoutManager.m
6071 [_relocLayoutArray:offset:floatTrift:Change a NSLog() call to NSDebugLog().
6072 * Source/NSLayoutManager.m
6073 Implemented extra line fragment methods.
6074 * Source/NSTextView.m
6075 Implemented [moveToBeginningOfParagraph:] and [moveToEndOfParagraph:].
6076 * KeyBindings/DefaultKeyBindings.dict
6077 Uncommented HOME and END.
6078
6079 Wed Feb 27 19:58:12 2002 Nicola Pero <n.pero@mi.flashnet.it>
6080
6081 * Source/NSCStringText.m: Obsolete file removed.
6082 * Headers/gnustep/gui/NSCStringText.h: Obsolete file removed.
6083 * Source/GNUmakefile (libgnustep-gui_OBJC_FILES): Removed NSCStringText.m
6084 (libgnustep-gui_HEADER_FILES): Removed NSCStringText.h.
6085
6086 Wed Feb 27 18:59:54 2002 Nicola Pero <n.pero@mi.flashnet.it>
6087
6088 * Headers/gnustep/gui/NSInputManager.h (_insertControlKeystrokes): New ivar.
6089 * Source/NSInputManager.m ([-initWithName:host:]):
6090 Read the user default GSInsertControlKeystrokes and save it.
6091 * Source/NSInputManager.m ([-handleKeyboardEvents:client:]): When
6092 inserting literally a keystroke, if GSInsertControlKeystrokes is
6093 NO, and this is a control keystroke, beep but don't insert it.
6094 Beep when a function key not bound to anything is pressed.
6095
6096 Wed Feb 27 18:57:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
6097
6098 * Source/NSResponder.m ([-insertText:]): Added.
6099
6100 Wed Feb 27 18:54:43 2002 Nicola Pero <nicola@brainstorm.co.uk>
6101
6102 * Headers/gnustep/gui/NSTextStorage.h: Documented.
6103
6104 2002-02-27 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
6105
6106 * Source/NSSplitView.m ([NSSplitView -mouseDown:]):
6107 Tweaked the drawing code and the event code, so that everything
6108 is displayed more smoothly and faster.
6109
6110 2002-02-27 Fred Kiefer <FredKiefer@gmx.de>
6111
6112 * Source/NSTextView.m
6113 Added method [copySelection] and [pasteSelection] to put the
6114 selected text in special pasteboard. The first gets called by
6115 [setSelectedRange:affinity:stillSelecting:] while the later is
6116 bound to [middleMouseUp:]. (This is hard coded, could the key
6117 binding code handle this?)
6118
6119 2002-02-27 Fred Kiefer <FredKiefer@gmx.de>
6120
6121 Patch from Alexander Malmberg <alexander@malmberg.org>:
6122 * Source/NSGraphicsContext.m
6123 [graphicsContextWithAttributes] always autorelease the context.
6124 Moved the unsetting of the current context from [dealloc] to
6125 [destroyContext] otherwise the current context can never be freed.
6126 * Source/NSApplication.m
6127 Removed some now unneeded FIXME.
6128
6129 Wed Feb 27 01:03:58 2002 Gregory Casamento <greg_casamento@yahoo.com>
6130
6131 * Source/NSOutlineView.m implemented indentation and enabled
6132 collapsing of items in the outline view.
6133
6134 Tue Feb 26 19:08:38 2002 Nicola Pero <nicola@brainstorm.co.uk>
6135
6136 Patch by Michael Hanni <mhanni@yahoo.com> modified -
6137 * Source/NSTabView.m ([-selectTabViewItem:]): Set the frame of the
6138 new selected view to content rect.
6139
6140 Tue Feb 26 18:26:53 2002 Nicola Pero <nicola@brainstorm.co.uk>
6141
6142 Patch from Alexander Malmberg <alexander@malmberg.org>:
6143 * Source/NSFont.m ([+fontWithName:size:]): If size is 0, use
6144 NSUserFontSize instead.
6145
6146 2002-02-26 Fred Kiefer <FredKiefer@gmx.de>
6147
6148 * Source/NSImage.m
6149 [setSize:] recache representations if size changes.
6150 [recache] throw old caches away as size may have changed.
6151 * Source/NSCachedImageRep.m
6152 [GSCacheW _initDefaults] set window not to be released when
6153 closed. As NSApp now closes all windows on terminate.
6154 * Source/NSApplication.m
6155 [NSIconWindow orderWindow:relativeTo:] don't complain about order
6156 out if application is closing.
6157
6158 Mon Feb 25 17:53:19 2002 Nicola Pero <nicola@brainstorm.co.uk>
6159
6160 * Source/NSMenuItemCell.m ([-initWithCoder:]): Added code to decode old
6161 version as well, since it is used by the popup button cell.
6162
6163 2002-02-25 Adam Fedor <fedor@gnu.org>
6164
6165 * Source/NSGraphicsContext.m (_postExternalEvent:) Removed, not used.
6166 * Source/NSInterfaceStyle.m: Updated comments.
6167 * Source/NSScroller.m (-setFloatValue:): Don't update
6168 if the new float is the same as our current value.
6169 (-setFloatValue:knobProportion:): Likewise.
6170
6171 2002-02-18 Willem Rein Oudshoorn <woudshoo@xs4all.nl>
6172
6173 * gui/Source/NSImage.m ([NSImage -initWithSize:]): removed the
6174 round size down temporary fix.
6175 ([NSImage -setSize:]): removed the round size down temporary fix.
6176
6177 Mon Feb 25 14:51:56 2002 Nicola Pero <nicola@brainstorm.co.uk>
6178
6179 * Source/NSSavePanel.m (createRowsForColumn:): Use
6180 GSFileBrowserHideDotFiles rather than GSSavePanelHideDotFiles as
6181 user defaults.
6182
6183 Mon Feb 25 13:58:49 2002 Nicola Pero <nicola@brainstorm.co.uk>
6184
6185 * Source/NSWindow.m ([-sendEvent:]): Hand the NSFlagsChanged event
6186 to the _firstResponder flagsChanged: method.
6187
6188 Mon Feb 25 13:04:12 2002 Nicola Pero <nicola@brainstorm.co.uk>
6189
6190 * Source/NSInputManager.m ([+describeKeyStroke:withModifiers:]):
6191 Output NumericPad-, not Numeric-, for a numeric pad key.
6192 * Source/NSInputManager.m ([-handleKeyboardEvents:client:]): Do
6193 not discard the NumericPad modifier flag when looking up
6194 keystrokes. Remove shift from flags when the keystroke is not a
6195 function key. Do not output function keys literally if they are
6196 not bound to anything.
6197 * Source/GSKeyBindingTable.m ([-bindKey:toAction:]): Simplified -
6198 do not insert keybindings twice - with and without shift - if they
6199 are not function keys. Simplified comparisons and updates for
6200 this change. Fixed memory leak when overriding keybindings.
6201
6202 Mon Feb 25 02:16:32 2002 Nicola Pero <n.pero@mi.flashnet.it>
6203
6204 Rewritten the input manager keybinding engine to be a full blown
6205 keybinding engine - new features include actions composed of array
6206 of selectors, multi-stroke keybindings, abort and quote
6207 keybindings.
6208 * Source/NSInputManager.m: Rewritten most of the engine to be much more
6209 powerful.
6210 * Headers/gnustep/gui/NSInputManager.h: Changes in ivars, lots of
6211 comments, new public and private methods.
6212 * Source/GSKeyBindingAction.h: New auxiliary file.
6213 * Source/GSKeyBindingAction.m: New auxiliary file.
6214 * Source/GSKeyBindingTable.h: New auxiliary file.
6215 * Source/GSKeyBindingTable.m: New auxiliary file.
6216 * GNUmakefile: Compile the new files.
6217
6218 Sun Feb 24 17:32:37 2002 Nicola Pero <n.pero@mi.flashnet.it>
6219
6220 * Headers/gnustep/gui/NSResponder.h: Put the optional methods in an
6221 informal protocol.
6222
6223 Sun Feb 24 11:33:21 2002 Nicola Pero <n.pero@mi.flashnet.it>
6224
6225 * Source/NSSaverPanel.m: Do not assume that NSFileManager
6226 -directoryContentsAtPath: returns a NSMutableArray.
6227
6228 Sun Feb 24 11:30:33 2002 Nicola Pero <n.pero@mi.flashnet.it>
6229
6230 * Source/NSSavePanel.m ([-browser:createRowsForColumn:inMatrix:]):
6231 Do not display files starting with . if the user has set
6232 GSSavePanelHideDotFiles to YES (Patch by Martin Brecher
6233 <martin@mb-itconsulting.com> with lots of changes by myself).
6234
6235 2002-02-24 Richard Frith-Macdonald <rfm@gnu.org>
6236
6237 * Source/NSLayoutManager.m: More changes to glyph code - store
6238 glyphs and their attributes in the same array, store gaps as
6239 ranges rather than simple indexs. Update comments. Still not
6240 working and turned off using #if
6241
6242 Sat Feb 23 22:07:09 2002 Gregory Casamento <greg_casamento@yahoo.com>
6243
6244 * Source/NSOutlineView.m: More improvements. Expansion of
6245 items is now partially supported.
6246
6247 Sat Feb 23 20:51:31 2002 Georg Fleischmann <georg@vhf.de>
6248
6249 * Source/NSBezierPath.m ([+bezierPath]): Return autoreleased object.
6250
6251 Sat Feb 23 11:28:32 2002 Gregory Casamento <greg_casamento@yahoo.com>
6252
6253 * Headers/gnustep/gui/AppKit.h: Added NSOutlineView header
6254 * Headers/gnustep/gui/NSOutlineView.h: Added additional ivars and
6255 corrected methods for delegate and data source.
6256 * Source/NSOutlineView.m: Added lots of new code to handle the
6257 outline view.
6258 * Source/externs.m: Added definitions for notifications.
6259
6260 Sat Feb 23 12:20:28 2002 Nicola Pero <n.pero@mi.flashnet.it>
6261
6262 Patch by Alexander Malmberg <alexander@malmber.org> -
6263 * Source/NSMenu.m ([-initWithTitle:]): Show torn off menus upon
6264 receiving the NSApplicationDidFinishLaunching notification, not
6265 the NSApplicationWillFinishLaunching one.
6266
6267 Sat Feb 23 12:11:44 2002 Nicola Pero <n.pero@mi.flashnet.it>
6268
6269 Patches by Alexander Malmberg <alexander@malmber.org> with many
6270 changes -
6271 * Source/NSMenuView.m ([-setMenu:]): Do not retain menu.
6272 ([-dealloc]): Do not release menu.
6273 * Source/NSMenuItemCell.m ([-setMenuView:]): Do not retain the menu view.
6274 ([-dealloc]): Do not release the menu view.
6275 ([-copyWithZone:]): Set the menuView of the new cell to nil.
6276 * Source/NSMenuItemCell.m ([+initialize]): Set version to 2.
6277 ([-encodeWithCoder:]): Do not encode the menu view.
6278 ([-initWithCoder:]): Do not decode the menu view. Retain the
6279 decoded menu item. Do not bother with decoding old versions since
6280 this is unused when encoding/decoding menus anyway. :-)
6281 * Source/NSMenuView.m ([-dealloc]): Set the menuView of all the
6282 menu item cells to nil before releasing them.
6283 * Source/NSMenuView.m ([-initWithCoder:]): Set the menu view of
6284 all the menu item cells to self after decoding.
6285
6286 Sat Feb 23 01:28:15 2002 Nicola Pero <n.pero@mi.flashnet.it>
6287
6288 * Source/NSTableView.m ([-editColumn:row:withEvent:select:]):
6289 Call stringValue on the _editedCell before setting up _textObject,
6290 not after, to prevent a spurious validation from messing up the
6291 text to edit. This fixes the bug when moving with TAB between
6292 different edited cells.
6293 * Source/NSTableView.m ([-textDidEndEditing:]): Release the
6294 _editedCell *before* setting it to nil :-).
6295
6296 Fri Feb 22 22:55:51 2002 Nicola Pero <n.pero@mi.flashnet.it>
6297
6298 Patches by Alexander Malmberg <alexander@malmber.org>:
6299 * Source/NSApplication.m ([-dealloc]): Set the main menu and the
6300 window menu to nil, so that we don't try updating them later on in
6301 the shutdown process.
6302 * Source/NSWindow.m ([-dealloc]): Fixed so that it doesn't discard
6303 the autosaved frame.
6304
6305 Fri Feb 22 21:03:19 2002 Nicola Pero <n.pero@mi.flashnet.it>
6306
6307 * Headers/gnustep/gui/NSApplication.h (_runLoopPool): Store the main run loop
6308 autorelease pool in a ivar.
6309 * Source/NSApplication.m ([-run]): Use the _runLoopPool rather
6310 than a local pool. Also, check for recursive invocation, and
6311 enclose into an autorelease pool the last instructions.
6312 ([-terminate:]): Destroy the _runLoopPool; enclose destruction
6313 of NSApp into yet another autorelease pool.
6314
6315 Fri Feb 22 18:22:48 2002 Nicola Pero <nicola@brainstorm.co.uk>
6316
6317 * Source/NSApplication.m ([-terminate:]): Use an autorelease pool.
6318
6319 Thu Feb 21 23:29:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
6320
6321 * Headers/gnustep/gui/NSWindow.h (_originalResponder): Ivar removed.
6322 * Source/NSWindow.m ([-sendEvent:]): Send key up to the first
6323 responder, not to the original responder.
6324 ([-dealloc]): Do not release _originalResponder.
6325 ([-_initDefaults]): Do not set _originalResponder.
6326
6327 Thu Feb 21 11:01:43 2002 Nicola Pero <nicola@brainstorm.co.uk>
6328
6329 * Source/NSApplication.m ([-changeWindowsItem:title:filename:]):
6330 Only exit if the item exists with the same title as the one we
6331 would add, otherwise, remove the old one and add it again to
6332 permit changing window titles. Fixed case of window being changed
6333 from having a title to having no title.
6334
6335 Wed Feb 20 20:57:32 2002 Michael Hanni <mhanni@yahoo.com>
6336
6337 * Source/NSApplication.m ([-changeWindowsItem:]): If the item in
6338 question already exists we abort further processing.
6339
6340 * Source/NSTabView.m: ([-mouseDown:]): New method to fix problems
6341 with NSSplitView interaction.
6342 ([-hitTest:]): Removed.
6343
6344 Wed Feb 20 19:15:58 2002 Nicola Pero <nicola@brainstorm.co.uk>
6345
6346 * Headers/gnustep/gui/GSMemoryPanel.h: New file.
6347 * Source/GSMemoryPanel.m: New file.
6348 * Source/GNUmakefile: Compile, install the new files.
6349 * Source/GSInfoPanel.m: If the user clicks on the application
6350 icon, open the memory panel (idea by Richard Frith-Macdonald).
6351
6352 Wed Feb 20 12:36:05 2002 Nicola Pero <nicola@brainstorm.co.uk>
6353
6354 * Model/GMAppKit.m ([NSBox -subviewsForModel]): New method fixing
6355 problems with subviews of NSBox objects.
6356
6357 2002-02-20 Richard Frith-Macdonald <rfm@gnu.org>
6358
6359 * Source/NSLayoutManager.m: Lots of changes to glyph code, including
6360 new logging function ... still doesn't work though ... so turned off.
6361
6362 2002-02-19 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
6363
6364 * Source/NSTableView.m ([-setAutosaveTableColumns:]):
6365 sets the flag before trying to load from defaults.
6366 (patch by Alexander Malmberg <alexander@malmberg.org>)
6367
6368 Tue Feb 19 11:46:31 2002 Nicola Pero <nicola@brainstorm.co.uk>
6369
6370 * Source/NSTextView.m ([-dealloc]): RETAIN self before destroying
6371 the text network. (Suggestion by Alexander Malmberg
6372 <alexander@malmberg.org>).
6373
6374 2002-02-18 Gregory John Casamento <greg_casamento@yahoo.com>
6375
6376 * Source/NSWindow.m ([NSWindow -close]): Changes made earlier
6377 would not compile w/ gcc < 3.0.
6378
6379 2002-02-18 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
6380
6381 * Source/NSTableHeaderView.m ([NSTableHeaderView -mouseDown:]):
6382 The tableHeaderCell is now redrawn when column reordering is on.
6383
6384 2002-02-18 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
6385
6386 * Source/NSWindow.m ([NSWindow -close]): ignore the call if the
6387 window is already closed.
6388
6389 2002-02-17 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
6390
6391 * Source/NSApplication.m ([NSApplication -terminate:]): send a
6392 close message to all the windows.
6393
6394 Thu Feb 14 10:45:48 2002 Nicola Pero <n.pero@mi.flashnet.it>
6395 Michael Hanni <mhanni@yahoo.com>
6396
6397 * Source/NSMenuItemCell.m ([-drawStateImageWithFrame:inView:]):
6398 Exit as soon as possible if we have no state image to draw.
6399 ([-imageRectForBounds:]), ([-titleRectForBounds:]): Do not pad for
6400 the state image if the state image has no width.
6401 * Source/NSPopUpButtonCell.m ([-insertItemWithTitle:atIndex:]):
6402 Set the On and Mixed image of the new menu item to nil.
6403 ([-selectItem:]): Do not call setChangesState: NO on the selected
6404 menu item.
6405
6406 2002-02-13 Richard Frith-Macdonald <rfm@gnu.org>
6407
6408 * Source/GSTextStoarge.m: Add GSIMap option for minor performance
6409 improvement.
6410 * Tools/make_services.m: Use correct user root. Noticed that this
6411 tool needs fixing to use the correct paths as provided by the
6412 NSSearchPathsForDirectoriesInDomains() function.
6413 * Source/NSSpellServer.m: Use NSSearchPathsForDirectoriesInDomains()
6414
6415 2002-02-13 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
6416
6417 * Source/NSTableHeaderCell.m: New drawing code, support for
6418 highlighted cells.
6419 * Source/NSTableHeaderView.m: support for drawing highlighted
6420 column, support for NSTableView mouseDownInHeaderOfTableColumn:
6421 and didClickTableColumn: delegate messages.
6422 * Source/NSTableView.m: rewrite of -mouseDown method.
6423 rewrite of selection handling to fully support the specs
6424 new tableView:didClickTableColumn: and
6425 tableView:mouseDownInHeaderOfTableColumn delegate messages
6426 [NSTableView -setHighlightedTableColumn:]
6427 [NSTableView -highlightedTableColumn]: methods implemented.
6428 * Headers/gnustep/gui/NSTableView.h:
6429 new _highlightedTableColumn ivar.
6430
6431 2002-02-12 Richard Frith-Macdonald <rfm@gnu.org>
6432
6433 * Source/NSBundleAdditions.m: Fix dumb error in my last modification.
6434 (bug report by Stephen brandon).
6435
6436 Mon Feb 11 14:39:03 2002 Nicola Pero <n.pero@mi.flashnet.it>
6437
6438 Updated for change in semantics of -string method of
6439 NSMutableAttributedString.
6440 * Source/NSButtonCell.m ([-setAttributedAlternateTitle:]):
6441 Copy the string before using it.
6442 * Source/NSCell.m ([-stringValue]): Copy the string before
6443 returning it. ([-mnemonic]): Copy the string before using it.
6444 * Source/NSMatrix.m ([-validateEditing]): Copy the text before
6445 using it.
6446 * Source/NSTableView.m ([-validateEditing]): Copy the text before
6447 using it.
6448 * Source/NSTextField.m ([-validateEditing]): Copy the text before
6449 using it.
6450
6451 Mon Feb 11 14:30:35 2002 Nicola Pero <n.pero@mi.flashnet.it>
6452
6453 * Source/NSLayoutManager.m ([-textContainerChangedTextView:]):
6454 Update _firstTextView even if there is a single text view.
6455 * Source/NSTextContainer.m ([-setTextView:]): Always inform the
6456 layout manager that the textview is changed.
6457
6458 2002-02-11 Richard Frith-Macdonald <rfm@gnu.org>
6459
6460 * Source/NSBundleAdditions.m:
6461 ([loadNibFile:externalNameTable:withZone:]) fix so that, if given a
6462 name with a .nib extension, try correctly to use a .gorm or .gmodel.
6463
6464 2002-02-10 Michael Hanni <mhanni@sprintmail.com>
6465
6466 * Source/NSMenuView.m ([-drawRect:]): make this more efficent,
6467 only redraw cells that we clip.
6468
6469 Mon Feb 11 00:35:19 2002 Nicola Pero <n.pero@mi.flashnet.it>
6470
6471 * Source/NSLayoutManager.m ([-dealloc]): Modified to work for
6472 objects which have not been -init.
6473
6474 Sun Feb 10 23:53:51 2002 Nicola Pero <n.pero@mi.flashnet.it>
6475
6476 * Source/GSSimpleLayoutManager.m
6477 ([-textContainerForGlyphAtIndex:effectiveRange:]): Return nil
6478 if no text container was set.
6479 * Source/NSLayoutManager.m ([-firstTextView]): Always return
6480 _firstTextView. ([-removeTextContainerAtIndex:]): Set
6481 _firstTextView to nil if we removed the last text container.
6482 * Source/NSTextView.m ([-buildUpTextNetwork:]): Updated setup
6483 sequence for the fixes in the layout manager - bound the layout
6484 manager and the text storage before creating the text container.
6485
6486 2002-02-09 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
6487
6488 * Source/GSFontInfo.m: ([GSFontInfo -defaultLineHeightForFont]):
6489 descender is substracted not added to ascender to give the lineHeight
6490
6491 2002-02-09 Richard Frith-Macdonald <rfm@gnu.org>
6492
6493 * Source/NSWindow.m: ([performMiniaturize:]) patch to check style
6494 mask by Jeff Teunissen <deek@d2dc.net> added.
6495 Method documented.
6496
6497 Fri Feb 8 02:46:15 2002 Nicola Pero <n.pero@mi.flashnet.it>
6498
6499 * Source/NSTextView.m ([-moveWordBackward:]): Simplified.
6500 ([-moveWordForward:]): Simplified.
6501 ([-moveWordForwardAndModifySelection:]): New method, implemented.
6502 ([-moveWordBackwardAndModifySelection:]): New method, implemented.
6503 * Source/NSAttributedString.m ([-nextWordFromIndex:forward:]):
6504 Rewritten, fixing crashes.
6505 * KeyBindings/DefaultKeyBindings.dict: Uncommented
6506 Alternate-Shift-LeftArrow and Alternate-Shift-RightArrow, and
6507 bound to moveWordBackwardAndModifySelection: and
6508 moveWordForwardAndModifySelection:.
6509
6510 Wed Feb 6 17:12:35 2002 Nicola Pero <n.pero@mi.flashnet.it>
6511
6512 * Source/GSSimpleLayoutManager.m
6513 ([-invalidateGlyphsForCharacterRange:changeInLength:
6514 actualCharacterRange:]): Removed.
6515 ([-drawBackgroundForGlyphRange:atPoint:]): Moved to
6516 NSLayoutManager.m.
6517 ([+setSelectionWordGranularitySet:]): Removed. Code moved into
6518 +initialize.
6519
6520 Wed Feb 6 14:12:51 2002 Nicola Pero <n.pero@mi.flashnet.it>
6521
6522 * Source/NSLayoutManager.m: Removed old unused unfinished layout
6523 code.
6524 * Headers/gnustep/gui/NSLayoutManager.h: Removed the corresponding
6525 declarations.
6526
6527 2002-02-06 Richard Frith-Macdonald <rfm@gnu.org>
6528
6529 * Source/NSWindow.m: ([-sendEvent:]) handle mouse down in window if
6530 no view accepts it. ([-mouseDown:]) implement to quietly ignore
6531 event.
6532 * Source/GSTextStorage.h: additional ivar
6533 * Source/GSTextStorage.m: hand out a proxy to our internal storage,
6534 to avoid either copying it (inefficient) or exposing the mutable
6535 string (unsafe).
6536
6537 Wed Feb 6 02:30:09 2002 Nicola Pero <n.pero@mi.flashnet.it>
6538
6539 * Source/GSSimpleLayoutManager.m
6540 ([-rebuildForRange:delta:inTextContainer:]): Removed workaround
6541 for bug in NSString. Use a fake used rect width of 1 when
6542 building the fake line fragment for no text, so that the insertion
6543 point is displayed in that case. Build a fake line fragment at
6544 the end of text if there is a newline ending the text. This hack
6545 fixes the problems with typing enter at the end of text.
6546
6547 Tue Feb 5 10:26:32 2002 Nicola Pero <n.pero@mi.flashnet.it>
6548
6549 * Source/NSTextView.m ([-moveBackwardAndModifySelection:]): New
6550 method.
6551 ([-moveForwardAndModifySelection:]): New method.
6552 * KeyBindings/DefaultKeyBindings.dict: Uncommented binding of the
6553 new methods to Shift-LeftArrow and Shift-RightArrow.
6554
6555 Sun Feb 3 11:53:13 2002 Nicola Pero <n.pero@mi.flashnet.it>
6556
6557 * Source/NSTextView.m ([-transpose:]): New method. Bound to
6558 Control-t.
6559 * Headers/gnustep/gui/NSTextView.h: Declare transpose:. Removed
6560 category.
6561 * KeyBindings/DefaultKeyBindings.dict: List rewritten to reflect
6562 the OpenStep keybindings. Work in progress - many keybindings
6563 commented out for now, but this is the list of keybindings we
6564 eventually want to get to.
6565
6566 2002-02-03 Fred Kiefer <FredKiefer@gmx.de>, Richard <rfm@gnu.org>
6567
6568 * Source/NSView.m: ([removeSubview:]) call ([setNeedsDisplay:NO]) in
6569 the subview so that, if subsequently added to another view, and marked
6570 for display, the area needing display will be updated to parent views
6571 correctly.
6572 * Source/NSWindow.m: ([orderWindow:relativeTo:]) fix to restart
6573 automatic update events correctly when a window which was ordered
6574 out is ordered back in again.
6575
6576 2002-02-02 Fred Kiefer <FredKiefer@gmx.de>
6577
6578 * Source/NSImage.m
6579 Corrected [TIFFRepresentation], was calling the wrong
6580 NSBitmapImageRep method.
6581 * Source/NSFontManager.m
6582 [orderFrontFontPanel:] no longer sets the selected font on the
6583 panel, as this gets done by the panel itself.
6584 * Headers/gnustep/gui/NSFontPanel.h
6585 New ivars for traits, weight and a future preview string.
6586 * Source/NSFontPanel.m
6587 [reloadDefaultFontFamilies] load the family browser and redisplay
6588 the selected font. [setPanelFont:isMultiple:] load the face
6589 browser, store font weight and traits and display font name in
6590 preview only if no preview string is set. [_initWithoutGModel]
6591 made the set button the default button. Split most code from
6592 [_togglePreview:] into separate method [_doPreview], which is
6593 called, when the preview state should not change. In [_doPreview]
6594 only display font name if preview string is not set.
6595 [browser:selectRow:inColumn:], when selecting a family select a
6596 face with the same weight and traits as the originaly
6597 selected. When selecting a face, store its weight and traits.
6598
6599 2002-02-01 Richard Frith-Macdonald <rfm@gnu.org>
6600
6601 * Source/NSBezierPath.m:
6602 * Source/NSLayoutManager.m:
6603 * Source/GSTextStorage.m: Use new GSI API from latest CVS base
6604 * library.
6605
6606 2002-01-31 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
6607
6608 * Source/NSCell.m
6609 * Headers/gnustep/gui/NSCell.h : new [NSCell -setHighlighted:]
6610 method
6611
6612 2002-01-30 Adam Fedor <fedor@gnu.org>
6613
6614 * Version: 0.7.5
6615 * Documentation/announce.texi: Update.
6616 * Documentation/news.texi: Likewise.
6617
6618 2002-01-28 Willem Rein Oudshoorn <woudshoo@xs4all.nl>
6619
6620 * gui/Source/NSImage.m ([NSImage -initWithSize:]): round the size down
6621 ([NSImage -setSize:]): round the size down
6622
6623 Tue Jan 29 10:59:04 2002 Nicola Pero <nicola@brainstorm.co.uk>
6624
6625 * GNUmakefile.postamble (configure): Rule removed. It was causing
6626 problems on systems without autoconf.
6627 (gui.make, config.make): Do not depend on configure.
6628
6629 2002-01-25 Adam Fedor <fedor@gnu.org>
6630
6631 * Documentation/gsdoc/GNUmakefile: Remove autogsdoc processing
6632 * Source/GNUmakefile: Moved to here.
6633 * Headers/gnustep/gui/GSHbox.h, GSVbox.h, NSAffineTransform.h,
6634 NSApplication.h, NSBezierPath.h, NSBitmapImageRep.h,
6635 NSBrowser.h, NSBrowserCell.h, NSCell.h, NSColorWell.h, NSDataLink.h,
6636 NSDataLinkManager.h, NSDataLinkPanel.h, NSForm.h, NSHelpPanel.h,
6637 NSImage.h, NSLayoutManager.h, NSMatrix.h, NSParagraphStyle.h,
6638 NSPasteboard.h, NSPopUpButtonCell.h, NSProgressIndicator.h,
6639 NSSavePanel.h, NSSelection.h, NSStepperCell.h, NSText.h,
6640 NSTextFieldCell.h: Sync interface/impl declarations for autogsdoc.
6641 * Source/GSTable.m, NSAffineTransform.m, NSApplication.m,
6642 NSBitmapImageRep.m, NSGraphicsContext.m, NSSlider.m,
6643 NSTableHeaderView.m, NSText.m: Likewise.
6644
6645 * Headers/gnustep/gui/NSEvent.h: Two new AppKit events.
6646 * Source/NSWindow.m ([NSWindow -sendEvent:]): Implement response
6647 for GSAppKitWindowLeave event.
6648
6649 2002-01-24 Adam Fedor <fedor@gnu.org>
6650
6651 * Source/NSBundleAdditions.m ([NSBundle
6652 +loadNibFile:externalNameTable:withZone:]): If file extension is
6653 nib, replace it with gmodel.
6654
6655 * Documentation/announce.texi: Update.
6656 * Documentation/install.texi: Likewise.
6657 * Documentation/news.texi: Likewise.
6658 * Documentation/todo.texi: Likewise.
6659
6660 2002-01-23 Adam Fedor <fedor@gnu.org>
6661
6662 * Source/NSInterfaceStyle.m (NSInterfaceStyleForKey): Use default
6663 style if no key for style is located. Don't cache key in this case.
6664 * Source/NSMenu.m (-nestedSetFrameOrigin:aPoint): Use
6665 locationForSubmenu to get submenu location.
6666 * Source/NSMenuView.m (-locationForSubmenu:): Fix
6667 location of submenu for GSWindowMakerInterfaceStyle.
6668
6669 2002-01-22 Richard Frith-Macdonald <rfm@gnu.org>
6670
6671 * Source/NSWorkspace.h: new ivar
6672 * Source/NSWorkspace.m: Many tidyups and little fixes, major change
6673 to -getBestApp... so that it picks the best available app rather
6674 than just the one specifed by the user as 'best'. This means you can
6675 always use it to get an app even if the user has set no preference.
6676 Fixed uninitialised variable in first version of this mod and made
6677 user preferences override declared types opened by apps.
6678 Keep track of launched applications so we can tell whether we need
6679 to launch a new one or just talk to an existing one.
6680
6681 2002-01-21 Adam Fedor <fedor@gnu.org>
6682
6683 * Source/NSApplication.m (-deactivate): Don't hide modal windows.
6684 (-runModalSession:): Handle WM events (like resize) for any window
6685 right away.
6686
6687 2002-01-21 Richard Frith-Macdonald <rfm@gnu.org>
6688
6689 * Headers/Appkit/NSGraphicsContext.h: new method to slide image
6690 across screen between windows.
6691 * Source/NSGraphicsContext.m: dummy implementation
6692 * Source/NSWorkspace.m: Use new method.
6693
6694 Mon Jan 21 11:47:27 2002 Nicola Pero <nicola@brainstorm.co.uk>
6695
6696 * Source/NSMenuItem.m ([-setSubmenu:]): When raising an exception
6697 that the submenu already has a supermenu, print titles of both
6698 submenu and supermenu.
6699 * Source/NSMenuItem.m: For the whole class: access variable
6700 _title.
6701
6702 2002-01-20 Richard Frith-Macdonald <rfm@gnu.org>
6703
6704 * Source/NSWindow.m: ([-sendEvent:]) check to see that an old drag
6705 view is still in the current window before sending a dragging message
6706 to it ... if it has been removed, don't send the message.
6707
6708 2002-01-20 Richard Frith-Macdonald <rfm@gnu.org>
6709
6710 * Source/NSWindow.m: ([-sendEvent:]) use ASSIGN() and DESTROY() to
6711 update _lastDragView so we don't run into problems if something
6712 deallocates it. Added some debug logging. Fixed bug in logic of
6713 drag entry/update. Restructured a little to improve readability.
6714
6715 Thu Jan 17 18:16:08 2002 Nicola Pero <n.pero@mi.flashnet.it>
6716
6717 * Source/NSTextView.m ([-_blink:]): Fixed declaration - should take
6718 a single NSTimer * argument.
6719
6720 Thu Jan 17 00:03:46 2002 Nicola Pero <n.pero@mi.flashnet.it>
6721
6722 * Source/NSSlider.m ([-mouseDown:]): Do nothing if the slider is
6723 disabled.
6724
6725 Wed Jan 16 23:45:32 2002 Nicola Pero <n.pero@mi.flashnet.it>
6726
6727 * Source/NSApplication.m (NSAbortModalException): Removed
6728 declaration - suggested by Stephen Brandon.
6729
6730 2002-01-15 Ludovic Marcotte <ludovic@Sophos.ca>
6731
6732 * Source/NSParagraphStyle.m ([NSParagraphStyle -encodeWithCoder:])
6733 fixed the index used for our locations and type arrays from
6734 count to it.
6735
6736 2002-01-15 Adam Fedor <fedor@gnu.org>
6737
6738 * Source/NSApplication.m (-finishLaunching): Make main menu key
6739 when there is no other key or main window.
6740 (-runModalSession:): Update main menu.
6741 (-targetForAction:): Search fixes. Return nil if in modal session
6742 and key window does not respond to action.
6743
6744 * Source/NSWindow.m (-sendEvent:): Only check cursor rects
6745 if isCursorRectsEnabled.
6746
6747 2002-01-10 Adam Fedor <fedor@gnu.org>
6748
6749 * Source/NSPopUpButton.m (-keyDown:): Handle obscure case of user
6750 opening menu with key and selecting with mouse. Upon key selection,
6751 get selected index from menuView highlightedItemIndex.
6752
6753 2002-01-10 Richard Frith-Macdonald <rfm@gnu.org>
6754
6755 * Source/NSPasteboard.m: Improve handling of -NSHost user default
6756 so we don't try to start a local pasteboard server when what we
6757 actually want is to connect to a remote one.
6758 * Source/NSWorkspace.m: Use -NSHost default to control connection
6759 to a remote workspace application.
6760 Should we use the remote application to launch new apps if possible?
6761 For now, try to launch the apps locally but have them display on
6762 the remote host by passing the -NSHost default to them.
6763
6764 2002-01-09 Adam Fedor <fedor@gnu.org>
6765
6766 * Source/NSApplication.m (_NSAppKitUncaughtExceptionHandler):
6767 Use non-graphical handler when it is a WindowServer exception.
6768
6769 * Source/NSWindow.m (-orderWindow:relativeTo:): Constrain only
6770 titled windows and only when not already visible.
6771 * Source/NSWindow.m (-constrainFrameRect:toScreen:): Don't constrain
6772 height less than minimum size.
6773 (setFrame:display:): constrain frame on a resize.
6774
6775 * TextConverters/RTF/GNUmakefile.preamble: Look for library in Source.
6776
6777 Wed Jan 9 12:07:58 2002 Nicola Pero <n.pero@mi.flashnet.it>
6778
6779 * configure.in: Abort with an error if GNUSTEP_SYSTEM_ROOT is not
6780 set. (AC_CONFIG_AUX_DIR): Call to set ac_aux_dir to
6781 $GNUSTEP_SYSTEM_ROOT/Makefiles.
6782 * configure: Regenerated.
6783 * config.guess: Removed.
6784 * config.sub: Removed.
6785 * install-sh: Removed.
6786
6787 Tue Jan 8 16:23:08 2002 Nicola Pero <n.pero@mi.flashnet.it>
6788
6789 * Resources/English.lproj/Localizable.strings: Removed 'Windows'.
6790 * Resources/Italian.lproj/Localizable.strings: Idem.
6791
6792 Tue Jan 8 14:30:26 2002 Nicola Pero <n.pero@mi.flashnet.it>
6793
6794 * Source/NSInputManager.m ([-bindKey:toAction:]): Allow a ""
6795 action to specify no keybinding - can be used to disable a
6796 previous keybinding.
6797
6798 Tue Jan 8 13:58:11 2002 Nicola Pero <n.pero@mi.flashnet.it>
6799
6800 * Tools/exampleInfo.plist: Added German translation of service
6801 strings (Patch by Martin Brecher <martin@mb-itconsulting.com>).
6802
6803 Mon Jan 7 17:35:30 2002 Nicola Pero <n.pero@mi.flashnet.it>
6804
6805 * Headers/gnustep/gui/NSApplication.h (_windows_menu): Changed to
6806 be an NSMenu * instead of a NSMenuItem *. This is more logical
6807 since often the windows menu is set before the main menu is
6808 created.
6809 * Source/NSApplication.m: Updated for change in ivar.
6810 ([-setWindowsMenu:]), ([-setMainMenu:]): Simplified a lot. All
6811 code dependent on the name of the 'Windows' menu was removed as
6812 too complex and unreliable when the application is translated.
6813 All applications are now required to create the Windows menu
6814 themselves, and to call setWindowsMenu: to have it used.
6815
6816 Mon Jan 7 16:05:19 2002 Nicola Pero <n.pero@mi.flashnet.it>
6817
6818 * Source/NSApplication.m ([-setMainMenu:]): Only manually set a
6819 new windows menu if no one was already set. When looking manually
6820 for a Windows menu, look both for translated and untranslated
6821 'Windows' menu items. Translate it if not yet translated.
6822 ([-setWindowsMenu:]): If no translated 'Windows' menu item could
6823 be found, try and look for an untranslated one. Translate it if
6824 found.
6825
6826 Sun Jan 6 13:56:53 2002 Nicola Pero <n.pero@mi.flashnet.it>
6827
6828 * Source/NSSpellChecker.m ([-_launchSpellCheckerForLanguage:]):
6829 Updated for change in GSServicesManager's ivars.
6830
6831 Sun Jan 6 11:16:30 2002 Nicola Pero <n.pero@mi.flashnet.it>
6832
6833 * Headers/gnustep/gui/GSServicesManager.h: Prefixed all ivars with
6834 underscores.
6835 * Source/GSServicesManager.m: Idem.
6836
6837 Sun Jan 6 10:49:49 2002 Nicola Pero <n.pero@mi.flashnet.it>
6838
6839 * Source/GSServicesManager.m ([-rebuildServicesMenu]): If the key
6840 equivalent can not be found under the language used for the menu
6841 item, use the default key equivalent if any.
6842 * Tools/exampleInfo.plist: Added service names in Italian.
6843
6844 Thu Jan 3 07:35:42 2002 Nicola Pero <n.pero@mi.flashnet.it>
6845
6846 * Source/NSTextView.m ([-mouseDown:]): Implemented activation of
6847 links. (Patch written with Ludovic Marcotte <ludovic@sophos.ca>).
6848 * Source/NSTextView.m ([-mouseDown:]): Only use the code for
6849 clicks on attachments on the first click.
6850
6851 Tue Jan 1 21:06:32 2002 Nicola Pero <n.pero@mi.flashnet.it>
6852
6853 * Source/NSScrollView.m ([-tile]): Allocate space for the rulers
6854 (Adapted from a patch from Diego Luis Kreutz <kreutz@inf.ufsm.br>).
6855
6856 Tue Jan 1 20:57:07 2002 Nicola Pero <n.pero@mi.flashnet.it>
6857
6858 * Source/NSScrollView.m ([-tile]): Rewritten to be simpler to
6859 understand.
6860
6861 Tue Jan 1 13:36:56 2002 Nicola Pero <n.pero@mi.flashnet.it>
6862
6863 * Source/NSView.m ([-resizeWithOldSuperviewSize:]): Removed all
6864 traces of the obsolete code for managing the bounds. Tidied code.
6865
6866 2001-12-29 Richard Frith-Macdonald <rfm@gnu.org>
6867
6868 * Source/GSServicesManager.m: ([GSListener -forwardInvocation:])
6869 method implemented to forward to service provider or app delegate.
6870
6871 Tue Dec 25 09:54:21 2001 Nicola Pero <n.pero@mi.flashnet.it>
6872
6873 * Source/NSButtonCell.m ([-drawInteriorWithFrame:inView:]): Draw
6874 the background color.
6875
6876 Tue Dec 25 09:23:24 2001 Nicola Pero <n.pero@mi.flashnet.it>
6877
6878 * Source/NSScrollView.m ([-_doScroll:]): Mark the horizontal and
6879 vertical ruler as needing redisplay if needed.
6880 ([-setHorizontalRulerView:]): Add/remove the new horizontal ruler
6881 as a subview; set _hasHorizontalRule to NO if the new horizontal
6882 ruler is nil; tile if rulers are visible.
6883 ([-setHasVerticalRuler:]): Similar changes.
6884 ([-setHasHorizontalRuler:]): Rewritten. In particular, use the
6885 class specified in +rulerViewClass when creating the new ruler.
6886 ([-setVerticalRulerView:]): Similar changes.
6887 (Patches from Diego Luis Kreutz <kreutz@inf.ufsm.br> modified).
6888
6889 2001-12-24 Fred Kiefer <FredKiefer@gmx.de>
6890
6891 * Source/NSTextView.m
6892 [dragOperationForDraggingInfo:type:] added NSDragOperationCopy to
6893 the valid drag actions.
6894
6895 2001-12-23 Fred Kiefer <FredKiefer@gmx.de>
6896
6897 * Source/NSTextView.m
6898 Added some NSResponder methods with empty code to keep the
6899 NSInputManager quiet.
6900 * Source/NSApplication.m
6901 [initialize] retain the gui bundle and added an auto release pool
6902 as this might be called without one installed.
6903
6904 2001-12-23 Fred Kiefer <FredKiefer@gmx.de>
6905
6906 * Source/NSTextView.m
6907 [writeSelectionToPasteboard:types:] corrected C binary operator
6908 short cut logic that prevented us froam adding more than one
6909 string type to the pasteboard. Remember that || wont evaluate the
6910 second operand if the first is true.
6911
6912 Fri Dec 21 18:50:17 2001 Nicola Pero <nicola@brainstorm.co.uk>
6913
6914 * Headers/gnustep/gui/GSGuiPrivate.h: New file.
6915 * GNUmakefile (SUBPROJECTS): Added Resources.
6916 * Resources/GNUmakefile: New file.
6917 * Resources/Italian.lproj/Localizable.strings: New file.
6918 * Resources/English.lproj/Localizable.strings: New file.
6919 * Source/NSApplication.m ([+initialize]): Create the gnustep-gui
6920 bundle used for loading localized messages.
6921 (GSGuiBundle): New function.
6922 * Source/NSApplication: Localized most messages in this file.
6923 This is experimental.
6924
6925 Fri Dec 21 14:37:45 2001 Nicola Pero <nicola@brainstorm.co.uk>
6926
6927 * GNUmakefile (SUBPROJECTS): Added KeyBindings.
6928
6929 2001-12-20 Adam Fedor <fedor@gnu.org>
6930
6931 * Images/common_noCursor.tiff: New image from deek@d2dc.net.
6932
6933 2001-12-21 Fred Kiefer <FredKiefer@gmx.de>
6934
6935 * Source/NSView.m
6936 Implemented dragFile:fromRect:slideBack:event:]. Moved code from
6937 [dragImage:...slideBack:] to NSWindow and call this.
6938 * Source/NSWindow.m
6939 New Implemantion of [dragImage:...slideBack:]. Replaced call to
6940 [NSGraphicContext _postExternalEvents:] with [NSDragInfo
6941 postDragEvent:].
6942 Replaced most [NSScreen mainScreen] with [self screen].
6943 * Headers/gnustep/gui/NSGraphicContext.h
6944 Removed method [_postExternalEvents:]. Added method [GSResolutionForScreen:].
6945 * Headers/gnustep/gui/NSGraphic.h
6946 * Headers/gnustep/gui/GSMethodTable.h
6947 Added GSResolutionForScreen.
6948 * Source/NSGraphicContext.m
6949 Implemented [GSResolutionForScreen:] with code from NSScreen.
6950 * Source/NSScreen.m
6951 [deviceDescription] call new function GSResolutionForScreen.
6952
6953 Wed Dec 19 17:55:25 2001 Nicola Pero <nicola@brainstorm.co.uk>
6954
6955 * Source/NSTextView.m ([NSTextView -moveToEndOfLine:]): Fixed typo
6956 in my last commit.
6957
6958 Tue Dec 18 22:13:31 2001 Nicola Pero <n.pero@mi.flashnet.it>
6959
6960 * Source/NSTextView.m ([-moveToEndOfLine:]): Fixed problems with
6961 empty lines by carefully checking for special cases.
6962 * Source/NSLayoutManager.m
6963 ([-lineFragmentRectForGlyphAtIndex:effectiveRange:]): Fixed setting
6964 effective range.
6965 ([-lineFragmentUsedRectForGlyphAtIndex:effectiveRange:]): Idem.
6966 ([-textContainerForGlyphAtIndex:effectiveRange:]): Idem.
6967
6968 2001-12-19 Fred Kiefer <FredKiefer@gmx.de>
6969
6970 * Source/NSApplication.m
6971 [setMainMenu:] set the title of the main menu window, so
6972 the window manager can display it.We could do this also for all
6973 other menus, but those wont show up in the window manager.
6974 * Tools/gopen.m
6975 Removed the redefinition of NSRunAlertPanel() as NSWOrkspace no
6976 longer uses this,
6977
6978 2001-12-18 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
6979
6980 * Source/NSWindow.m ([NSWindow -setTitleWithRepresentedFilename:]):
6981 ([NSWindow -setTitle:]):
6982 ([NSWindow -_initBackendWindow:]):
6983 changed cString into lossyCString during DPStitlewindow calls
6984 * Source/NSBrowser.m:
6985 NSBrowserColumn: new methods initWithCoder & encodeWithCoder, it now
6986 complies to NSCoding
6987 [NSBrowser -initWithCoder:] & [NSBrowser -encodeWithCoder:]: major
6988 update to previous implementation. It is now usable with Gorm and
6989 should not generate memory leaks anymore.
6990
6991 Mon Dec 17 23:54:35 2001 Nicola Pero <n.pero@mi.flashnet.it>
6992
6993 * Source/NSInputManager.m: New class which loads key binding files
6994 and process keys basing on loaded key bindings.
6995 * Headers/gnustep/gui/NSInputManager.h: Updated. Removed methods
6996 deprecated in apple doc - there is no point in trying to be
6997 compatible with internal deprecated methods of a foreign system.
6998 * Source/NSResponder.m ([-interpretKeyEvents:]): Pass the key
6999 events to the current input manager.
7000 ([+initialize]): Added call to NSInputManager to have it init
7001 itself.
7002 * KeyBindings/: New directory.
7003 * KeyBindings/GNUmakefile: New file.
7004 * KeyBindings/DefaultKeyBindings.dict: New file.
7005 * Documentation/gsdoc/GNUmakefile (Gui_GSDOC_FILES): Added
7006 DefaultsSummary.gsdoc.
7007 * Documentation/gsdoc/DefaultsSummary.gsdoc: Documented
7008 the GSDefaultKeyBindings and GSCustomKeyBindings options.
7009 * Documentation/gsdoc/DefaultsSummary.html: Regenerated.
7010
7011 2001-12-17 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
7012
7013 * Source/NSButtonCell.m ([NSButtonCell -drawInteriorWithFrame:inView:])
7014 removed the code that drew the background (osx doesn't draw background)
7015 * Source/NSProgressIndicator.m ([NSProgressIndicator +initialize]):
7016 retain the fillColour.
7017
7018 2001-12-17 Adam Fedor <fedor@gnu.org>
7019
7020 * Source/*m: Add basic markup for autogsdoc generation.
7021 (various locations): Remove semi-colon at end of method names.
7022 NSSliderCell.m, NSSlider.m, NSTableColumn.m, NSView.m, NSWindow.m:
7023 Add documentation formerly in gsdoc files to comments.
7024
7025 * Headers/gnustep/gui/NSColorList.h, NSPageLayout.h,
7026 NSPrintInfo.h, NSPrintOperation.h, NSPrinter.h, NSView.h: Correct
7027 method types, remove unused markup.
7028
7029 * Documentation/gsdoc/GNUmakefile: Add variables for autmatic
7030 document generatation via autgsdoc.
7031 * Documentation/gsdoc/*gsdoc, *html: Update.
7032
7033 Sat Dec 15 09:12:44 2001 Nicola Pero <n.pero@mi.flashnet.it>
7034
7035 Patches from Ludovic Marcotte modified by myself.
7036 * Source/NSTextView.m ([-moveToBeginningOfDocument:]):
7037 Implemented.
7038 ([-moveToBeginningOfLine:]): Idem.
7039 ([-moveToEndOfDocument:]): Idem.
7040 ([-moveToEndOfLine:]): Idem.
7041 ([-moveWordBackward:]): Idem.
7042 ([-moveWordForward:]): Idem.
7043 ([-selectLine:]): Idem.
7044
7045 2001-12-12 Adam Fedor <fedor@gnu.org>
7046
7047 * Source/NSCursor: New cache dictionary.
7048 (-greenArrowCursor): New method.
7049 (-initWithImage:foregroundColorHint:backgroundColorHint:hotSpot:):
7050 Implement.
7051
7052 2001-12-09 Willem Rein Oudshoorn <woudshoo@xs4all.nl>
7053
7054 * Source/NSWindow.m (GSPerformVoidDragSelector): rewritten to not
7055 rely on category on NSObject
7056 (GSPerformDragSelector): rewritten to not rely on category on
7057 NSObject
7058 ([NSWindow -sendEvent:]): fixed bug in handling of informal
7059 draggingDestination protocol
7060
7061 * Headers/AppKit/NSWindow.h (NSCoding>): added instance variable
7062 _lastDragOperationMask
7063
7064 * Source/GNUmakefile (libgnustep-gui_OBJC_FILES): Removed obsolete
7065 NSObjectProtocols.m file
7066
7067 Tue Dec 11 00:08:38 2001 Nicola Pero <n.pero@mi.flashnet.it>
7068
7069 * Source/NSCell.m ([-setStringValue:]): Use a NSDebugMLLog to warn
7070 for attempts to use nil value, not NSWarnLog, as suggested by Wim
7071 Oudshoorn <woudshoo@sct.com>.
7072
7073 2001-12-09 Fred Kiefer <FredKiefer@gmx.de>
7074
7075 * Source/NSApplication.m
7076 [NSIconWindow _initDefaults] set the title of the icon window, so
7077 the window manager can display it.
7078
7079 2001-12-07 Fred Kiefer <FredKiefer@gmx.de>
7080
7081 * Source/NSWorkspace.m
7082 [_workspaceApplication] renamed defaults key for Workspace
7083 application to GSWorkspaceApplication.
7084 * Documentation/gsdoc/DefaultsSummary.gsdoc
7085 Documented NSWorkspace defaults entry GSWorkspaceApplication
7086 and the new xgps defaults entry GSFontMask.
7087
7088 2001-12-07 Adam Fedor <fedor@gnu.org>
7089
7090 * Source/NSImage.m (-drawRepresentation:inRect:): Draw
7091 background even when alpha == 0.
7092
7093 * Source/NSApplication.m (-sendEvent:): Simplify NSDebugLog.
7094
7095 * Documentation/gsdoc/DefaultsSummary.gsdoc: Update
7096 * Documentation/gsdoc/Gui.gsdoc: Remove NSDPSContext.
7097
7098 2001-12-07 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
7099
7100 * Headers/gnustep/gui/NSTableColumn.h:
7101 * Source/NSTableColumn.m: changed the initWithIdentifier return
7102 type from NSTableColumn* to id. It prevents warning when
7103 subclassing and is consistent with the docs.
7104 * Headers/gnustep/gui/NSTableView.h: renamed ivar _del_editable to
7105 _dataSource_editable. Previously the delegate was responsible for
7106 tableView:setObjectValue:forTableColumn:row:, whereas it is now the
7107 dataSource that is responsible for it (it conforms with the docs)
7108 * Source/NSTableView.m: [setDelegate:], [setDataSource:] and
7109 [validateEditing] changed to conform to previous change
7110 * Source/NSTableView.m (quick_sort_internal) : fixed typo
7111
7112 Wed Dec 5 11:04:14 2001 Nicola Pero <n.pero@mi.flashnet.it>
7113
7114 * Source/NSPrintInfo.m ([+initPrintInfoDefaults]): Commented out
7115 debugging log which wouldn't compile.
7116
7117 Wed Dec 5 10:55:13 2001 Nicola Pero <n.pero@mi.flashnet.it>
7118
7119 * Source/NSClipView.m ([-setBackgroundColor:]): If the color is
7120 changed, mark the clipview as needing redisplay.
7121 ([-setDrawsBackground:]): If the flag is changed, mark the
7122 clipview as needing redisplay.
7123 * Source/NSText.m ([-setBackgroundColor:]): Mark the text as
7124 needing redisplay if the color is changed. If we are not a field
7125 editor, change the background color of the enclosing scrollview
7126 too.
7127 ([-setDrawsBackground:]): Mark the text as needing redisplay if
7128 the flag is changed. If we are not a field editor, change the
7129 flag for the enclosing scrollview too.
7130
7131 2001-12-02 Adam Fedor <fedor@gnu.org>
7132
7133 * Model/GMAppKit.m ([NSMenuItem -initWithModelUnarchiver:]): Check
7134 if target is a menu.
7135
7136 * Source/NSCursor.m: Make class variables for arrow and ibeam
7137 cursor.
7138
7139 2001-11-30 Willem Rein Oudshoorn <woudshoo@xs4all.nl>
7140
7141 * Source/NSCursor.m (backgroundColorHint:): added FIXME comment
7142
7143 * Images/GNUmakefile (IMAGE_FILES): added DnD cursors
7144
7145 * Headers/gnustep/gui/NSBitmapImageRep.h (NSImageRep): removed
7146 unused instance variable
7147
7148 2001-12-03 Laurent Julliard <laurent@moldus.org>
7149
7150 * Source/NSTableHeaderView.m (-initWithCoder:, decodeWithCoder:):
7151 minimal decoding/encoding methods
7152
7153 2001-12-02 Gregory Casamento <greg_casamento@yahoo.com>
7154 * Source/NSTableView.m
7155 -[NSTableView superviewFrameChanged:] Added a check to prevent
7156 exception when column count is reduced to zero. This change is
7157 consistent with behaviour observed on OPENSTEP4.2/Mach.
7158
7159 2001-12-02 Fred Kiefer <FredKiefer@gmx.de>
7160
7161 * Source/NSWorkspace.m
7162 [findApplications] use hardcoded @GNUSTEP_INSTALL_PREFIX only for
7163 non-GNUstep foundation library.
7164 * Source/NSPasteboard.m
7165 [_pbs] use hardcoded @GNUSTEP_INSTALL_PREFIX only for
7166 non-GNUstep foundation library.
7167 * Source/NSImage.m
7168 [initialize] and [imageNamed:] use hardcoded
7169 @GNUSTEP_INSTALL_LIBDIR only for non-GNUstep foundation library.
7170 * Source/NSPrintInfo.m
7171 [initPrintInfoDefaults] use hardcoded @GNUSTEP_INSTALL_LIBDIR only
7172 for non-GNUstep foundation library.
7173
7174 Sun Dec 2 08:54:36 2001 Nicola Pero <n.pero@mi.flashnet.it>
7175
7176 * Source/NSAttributedString.m ([NSMutableAttributedString
7177 -fixParagraphStyleAttributeInRange:]): Fixes, particularly for
7178 case in which a style is not found at the beginning of paragraph.
7179 (Bug reported by Ludovic Marcotte <ludovic@Sophos.ca>).
7180
7181 2001-12-02 Gregory Casamento <greg_casamento@yahoo.com>
7182
7183 * Tools/gopen.m
7184 Modified to eliminate the output of "No application for extension
7185 'app'" when launching an application using gopen. The code now
7186 checks to see if an app is being launched first, then, if not,
7187 attempts to open the file. It's also slightly more efficient to
7188 check for an app first before calling -[NSWorkspace openFile:].
7189
7190 2001-12-01 Fred Kiefer <FredKiefer@gmx.de>
7191
7192 * Source/NSWorkspace.m
7193 Moved all private methods into seperate category. New method
7194 [_connectApplication:], use this in [openFile:...] and
7195 [launchApplication:...]. Implemented [openTempFile:].
7196 New method [_workspaceApplication] used to implement
7197 [performFileOperation:...] and [selectFile:inFileViewerRootedAtPath:].
7198 * Source/NSApplication.m
7199 [finishLaunching] and [terminate:] send workspace notification
7200 with the shared workspace as object.
7201
7202 Sat Dec 1 10:10:58 2001 Nicola Pero <n.pero@mi.flashnet.it>
7203
7204 * GNUmakefile.postamble (gui.make): Depend on configure.
7205 (config.make): Idem.
7206
7207 Sat Dec 1 09:33:39 2001 Nicola Pero <n.pero@mi.flashnet.it>
7208
7209 * GNUmakefile.postamble (after-distclean): Remove gui.make as
7210 well.
7211 (gui.make): New target.
7212 (config.make): New target.
7213 (configure): New target.
7214
7215 Sat Dec 1 09:13:26 2001 Nicola Pero <n.pero@mi.flashnet.it>
7216
7217 * Headers/gnustep/gui/NSButtonCell.h (NSGradientType): Fixed typo
7218 (Bug fix by Jay McCarthy <jay@kenyamountain.com>).
7219
7220 Fri Nov 30 12:58:45 2001 Nicola Pero <nicola@brainstorm.co.uk>
7221
7222 * Source/NSCell.m ([-setStringValue:]): Use NSWarnMLog to warn for
7223 nil string values rather than raising an exception (Suggestion by
7224 richard).
7225
7226 2001-11-28 Adam Fedor <fedor@gnu.org>
7227
7228 * Source/GSServicesManager.m (-rebuildServices): Use userLanguages
7229 method rather than getting NSLanguages default.
7230
7231 * Documentation/gsdoc/DefaultsSummary.gsdoc: New file.
7232 * Documentation/gsdoc/Gui.gsdoc: Include it.
7233
7234 2001-11-27 Adam Fedor <fedor@gnu.org>
7235
7236 * Source/NSClipView.m: Treat _documentView as a convienience
7237 ivar. Don't release/retain or encode it.
7238 (-initWithCoder:): Get _documentView from subview array.
7239 * Source/NSTabView.m (-encodeWithCoder:): Conditionally encode
7240 delegate.
7241 (-initWithCoder:): Don't retain delegate.
7242
7243 2001-11-26 Fred Kiefer <FredKiefer@gmx.de>
7244
7245 * Headers/gnustep/gui/NSWindow.h
7246 Added some new MacOSX methods and ivars to support them.
7247 Changed order of methods.
7248 * Source/NSWindow.m
7249 Implemented new methods.
7250 * Headers/gnustep/gui/NSWindowController.h
7251 Added some new MacOSX methods.
7252 * Headers/gnustep/gui/NSDocumentFrameworkPrivate.h
7253 Removed methods now public.
7254 * Source/NSWindowController.m
7255 Implemented new methods and renamed some old which are now public.
7256 * Source/NSDocument.m
7257 Adopted to name changes of NSWindowController methods.
7258 * Headers/gnustep/gui/NSNibLoading.h
7259 New extension method [pathForNibResource:].
7260 * Source/NSBundleAdditions.m
7261 Extracted new method [pathForNibResource:] for NSWindowController.
7262 * Headers/gnustep/gui/NSWorkspace.h
7263 Added some new MacOSX methods. Changed order of methods. Made
7264 ivars out of some class variables.
7265 * Source/NSWorkspace.m
7266 A lot of cleanup. Implemented the new methods. [openFile:XXX] no
7267 longer show alert panels, as this should be done by the caller.
7268 [launchApplication:XXX] now checks if the application is already running.
7269
7270 2001-11-25 Gregory John Casamento <greg_casamento@yahoo.com>
7271
7272 * Tools/gopen.m made some enhancements to make the gopen tool
7273 behave more like the "open" tool under OPENSTEP/MOSX.
7274
7275 2001-11-24 Fred Kiefer <FredKiefer@gmx.de>
7276
7277 * Headers/gnustep/gui/NSTextView.h
7278 Added protocol NSTextInput to NSTextView. Added some new MacOSX
7279 methods.
7280 * Source/NSTextView.m
7281 Corrected memory management in rulerview methods. Implemented
7282 update ruler. Dummy implementation for new spell checking
7283 methods. Implementation of new drag methods, use these in the
7284 dragging protocol methods. Moved the NSTextInput methods into the
7285 main category. Implemented some of them.
7286 * Source/NSLayoutManager.m
7287 Implemented [rulerMarkersForTextView:...ruler:].
7288 * Headers/gnustep/gui/NSPasteboard.h
7289 Added extension methods for NSURL.
7290 * Source/NSPasteboard.m
7291 Implemented extension methods for NSURL.
7292 * Headers/gnustep/gui/NSView.h
7293 Added some new MacOSX methods. Changed order of methods.
7294 * Source/NSView.m
7295 Implemented those new methods. Call new methods from the subview
7296 handling methods.
7297
7298 2001-11-23 Fred Kiefer <FredKiefer@gmx.de>
7299
7300 * Headers/gnustep/gui/NSTableView.h
7301 * Source/NSTableView.m
7302 Added some additional MacOSX methods.
7303 * Headers/gnustep/gui/NSTextField.h
7304 * Source/NSTextField.m
7305 Added and implemented some methods for the handling of richt text.
7306 * Source/extern.m
7307 Added notifications from NSTextStorage
7308 * Headers/gnustep/gui/NSTextStorage.h
7309 * Source/NSTextStorage.m
7310 Added some new methods that allow for lazy fixing of attributes in
7311 subclasses.
7312 * Source/NSTextView.m
7313 Added code to rulerview delegate methods.
7314
7315 Thu Nov 22 00:58:12 2001 Nicola Pero <n.pero@mi.flashnet.it>
7316
7317 * GNUmakefile (CVS_MODULE_NAME): Define.
7318
7319 2001-11-21 Laurent Julliard <laurent@julliard-online.org>
7320
7321 * Source/NSBrowser.m (-initWithCoder:): colCount and _firstVisible
7322 Column must always be decoded. Bug fixed (thanks to Adam Fedor)
7323
7324 2001-11-20 Laurent Julliard <laurent@julliard-online.org>
7325
7326 * Source/NSComboBoxCell.m (-setNumberOfVisibleItems): max number
7327 of items tested on wrong variable. Corrected
7328
7329 2001-11-19 Adam Fedor <fedor@gnu.org>
7330
7331 * Headers/gnustep/gui/NSGraphicsContext.h: Add usedFonts ivar.
7332 New methods for caching used fonts.
7333 * Source/NSGraphicsContect.m (-useFont): Moved from NSFont.
7334 (-resetUsedFonts, -usedFonts): Likewise.
7335 * Source/NSFont.m (+useFont:): Use them.
7336 * Source/NSView.m (-endDocument): Likewise.
7337
7338 * Model/GMArchiver.m (-decodeSelectorWithName:): Use correct 0 value.
7339
7340 2001-11-18 Gregory John Casamento <greg_casamento@yahoo.com>
7341
7342 * Tools/gopen.m: added a tool which works like the OPENSTEP 4.2/Mach
7343 "open" command to the tools directory.
7344
7345 2001-11-15 Laurent Julliard <laurent@julliard-online.org>
7346
7347 * Source/NSBrowser.m: NSBrowser encoder and decoder added
7348
7349 2001-11-12 Fred Kiefer <FredKiefer@gmx.de>
7350
7351 * Source/NSFontManager.m
7352 Reorganised the handling of the font enumerator. New
7353 [_includeFont:] is only called from here. Corrected
7354 [availableMembersOfFontFamily:] and [fontNamed:hasTraits:].
7355 * Headers/gnustep/gui/GSFontInfo.h:
7356 Adopted GSFontEnumerator to changes on NSFontManager.
7357 * Source/GSFontInfo.m:
7358 Changed GSFontEnumerator so that only [enumerateFontsAndFamilies]
7359 must be subclassed.
7360
7361 2001-11-11 Fred Kiefer <FredKiefer@gmx.de>
7362
7363 * Source/NSTabView.m
7364 In [selectTabViewItem:] corrected setting the first responder of
7365 the tab view.
7366
7367 2001-11-09 Adam Fedor <fedor@gnu.org>
7368
7369 * Source/NSView.m (-addSubview:): Raise exception on adding nil
7370 subview or superview of view.
7371 (-addSubview:positioned:relativeTo:): Likewise.
7372 (-beginDocument): Change NSLog to exception.
7373
7374 Thu Nov 8 23:30:47 2001 Nicola Pero <n.pero@mi.flashnet.it>
7375
7376 * Source/NSMatrix.m ([-sizeToFit]): Reverted last change.
7377 * Source/NSBrowser.m ([-_performLoadOfColumn:]): Do not call
7378 sizeToFit on the matrix, just set the cellSize to the result of
7379 calling -cellSize on the first browsercell in the matrix.
7380
7381 2001-11-08 Adam Fedor <fedor@gnu.org>
7382
7383 * Simple printing/pagination implementation
7384 * Headers/gnustep/gui/NSGraphicsContext.h: Add some constants
7385 * Source/NSFont.m (+useFont:): Same font name in static NSSet
7386 (+resetUsedFonts): Implement
7387 (+usedFonts): Likewise.
7388 * Source/NSGraphicsContext.m (+defaultContextWithInfo:) Depreciated,
7389 calls +graphicsContextWithAttributes:.
7390 (+graphicsContextWithAttributes:): Creates default context class.
7391 (+useFont:): Removed.
7392 * Source/NSPrintInfo.m (-setOrienatation:) Set paper size accordingly.
7393 (-setPaperName:): Likewise.
7394 (-setPaperSize:): Set orientation.
7395 (+initPrintInfoDefaults): Rewrite.
7396 * Source/NSPrintOperation.m (-_setupPrintInfo): New private.
7397 (-_printPaginateWithInfo:knowsRange:): Likewise.
7398 (-_rectForPage:info:): Likewise.
7399 (-_adjustPagesFirst:last:info:): Likewise.
7400 (-_print): Rewrite for pagination, printing.
7401 ([NSView -_displayPageInRect:atPlacement:withInfo:]): New private.
7402 ([NSView -_endSheet): Likewise.
7403 * Source/NSPrintPanel.m: Fix layout settings.
7404 * Source/NSView.m (-printJobTitle): Implement.
7405 (-locationOfPrintRect:, beginPage:label:bBox:fonts:,
7406 beginPageSetupRect:placement:, beginPrologueBBox:..., beginSetup,
7407 beginTrailer, endHeaderComments, endPrologue, endSetup, endPage,
7408 endTrailer, beginDocument, beginPageInRect:atPlacement:, endDocument):
7409 Likewise.
7410
7411 2001-11-08 Laurent Julliard <laurent@julliard-online.org>
7412
7413 * Headers/gnustep/gui/NSGraphics.h
7414 * Source/Functions.m
7415 * Source/NSImageCell.m:
7416 NSDrawFramePhoto added. Needed by the ImageView inspector in Gorm
7417
7418 2001-11-06 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
7419
7420 * Source/NSTableView.m ([-sizeToFit]): replaced floorf with floor
7421 suggestion from Stephen Brandon <stephen@brandonitconsulting.co.uk>
7422
7423 2001-11-03 Fred Kiefer <FredKiefer@gmx.de>
7424
7425 * Source/NSMenu.m
7426 In [performActionForItemAtIndex:] select the item of the popup
7427 before sending the action.
7428 * Headers/gnustep/gui/NSSplitView.h
7429 Removed unused ivar _splitCursor. Added some MacOSX methods. Moved
7430 extension methods to separate category.
7431 * Source/NSSplitView.m
7432 Adopted to changes in header. Dummy implementation of new
7433 methods. Changed incudes. In [mouseDown:] also check for new delegate
7434 methods. [_adjustSubviews:] now takes the old size as an argument
7435 to hand it on to delegate. Changed all places that call
7436 this. En-/decode the image instead of the cursor.
7437 * Headers/gnustep/gui/NSTabView.h
7438 Renamed all ivars and added some new MacOSX methods. Added two new
7439 unsupported NSTabViewType values.
7440 * Source/NSTabView.m
7441 Adopted to changes in header. Use [insertTabViewItem:atIndex:] in
7442 [addTabViewItem:]. Corrected [selectNextTabViewItem:] and
7443 [selectPreviousTabViewItem:]. In [selectTabViewItem:] set the
7444 first responder of the tab view. Other small cleanup.
7445
7446 2001-11-03 Fred Kiefer <FredKiefer@gmx.de>
7447
7448 * Headers/gnustep/gui/NSSpellChecker.h
7449 Added [guessesForWord:].
7450 * Source/NSSpellChecker.m
7451 Implement [guessesForWord:] and use it in
7452 [browser:createRowsForColumn:inMatrix:]. Don't create the server
7453 in [init], but check it before each use. Check if ther server
7454 proxy exists before all method calls that return a NSRange.
7455 In [checkSpellingOfString:...wordCount:] don't call
7456 [updateSpellingPanelWithMisspelledWord:]. Beep in this method,
7457 when the string is empty. [_findNext:], [_ignore:] and [_correct:]
7458 now use [[NSApp sendAction:to:from:] instead of explicit responder.
7459 * Source/NSTextView.m
7460 Adopted implemtantion of [checkSpelling:] to changes in
7461 NSSpellChecker. [updateSpellingPanelWithMisspelledWord:] is now
7462 called from here.
7463

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26