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

Contents of /gnustep/core/gui/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2066 - (show annotations) (download)
Mon Sep 29 21:16:13 2003 UTC (20 years, 7 months ago) by FredKiefer
Branch: MAIN
Changes since 1.2065: +6 -0 lines
Applied patch for NSBrowser.

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

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