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

Contents of /gnustep/core/gui/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2065 - (show annotations) (download)
Sun Sep 28 23:25:16 2003 UTC (20 years, 7 months ago) by gcasa
Branch: MAIN
Changes since 1.2064: +6 -0 lines
Adding fix for report #5205.  Services and Windows menus now should behave correctly.

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

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