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

Contents of /gnustep/core/gui/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2070 - (show annotations) (download)
Thu Oct 2 11:49:09 2003 UTC (20 years, 7 months ago) by ayers
Branch: MAIN
Changes since 1.2069: +9 -2 lines
        * Source/NSBrowser.m (-[NSBrowser setDelegate]):
        Set _passiveDelegate to YES for 'nil' delegate.
        Use GSObjCRuntime functions to get selector names.
        Update documentation.

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

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