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

Contents of /gnustep/core/gui/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2067 - (show annotations) (download)
Mon Sep 29 21:26:43 2003 UTC (20 years, 6 months ago) by FredKiefer
Branch: MAIN
Changes since 1.2066: +6 -0 lines
Added missing method to layout manager requested by Yen-Ju Chen.

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

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