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

Contents of /gnustep/core/gui/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2071 - (show annotations) (download)
Fri Oct 3 14:00:26 2003 UTC (20 years, 7 months ago) by benhur
Branch: MAIN
Changes since 1.2070: +6 -0 lines
Removed windowsLock variable from NSWindow

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

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