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

Contents of /gnustep/core/gui/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2068 - (show annotations) (download)
Tue Sep 30 03:32:22 2003 UTC (20 years, 6 months ago) by fedor
Branch: MAIN
CVS Tags: gui-0_9_0
Changes since 1.2067: +4 -0 lines
Version 0.9.0

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

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