Commit graph

2830 commits

Author SHA1 Message Date
Alexander Malmberg
6a27a1f90e Clear the text container of our text view in -dealloc.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17707 72102866-910b-0410-8b05-ffd578937521
2003-09-23 17:13:20 +00:00
Adam Fedor
4ecf1a67d3 set released when closed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17703 72102866-910b-0410-8b05-ffd578937521
2003-09-22 21:07:22 +00:00
Fred Kiefer
a8a470ff28 Undid the tracking of changes for the menu item. Changed [dealloc]
to not call clean up methods as these caused segmentation faults
in GNUMail.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17696 72102866-910b-0410-8b05-ffd578937521
2003-09-21 20:57:24 +00:00
Alexander Malmberg
310ac897be Handle NSTiffPboardType. Based on patch from Nicolas Roard.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17693 72102866-910b-0410-8b05-ffd578937521
2003-09-21 13:18:35 +00:00
Adam Fedor
50b7d5288b Revert last doc close and fix releaseWhenClosed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17691 72102866-910b-0410-8b05-ffd578937521
2003-09-21 02:27:50 +00:00
Adam Fedor
1d187a4550 Document close fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17688 72102866-910b-0410-8b05-ffd578937521
2003-09-20 03:07:55 +00:00
Adam Fedor
50ed66958a Implement GSReadRect and initWithFocusedViewRect:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17687 72102866-910b-0410-8b05-ffd578937521
2003-09-20 02:57:45 +00:00
Fred Kiefer
06d6e26b2d Corrected bug in previous change. In [itemAtIndex:] the index 0
was handled wrong.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17668 72102866-910b-0410-8b05-ffd578937521
2003-09-14 10:40:06 +00:00
Fred Kiefer
a1b8af9d1e According to Gregory John Casamento <greg_casamento@yahoo.com> the
popup button does not change its enable state when the selected item
does. To adopt this behaviour all setEnable: calls have been
removed and one in [initWithCoder:] added that enables the popup
for all old encodings.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17666 72102866-910b-0410-8b05-ffd578937521
2003-09-14 00:33:05 +00:00
Gregory John Casamento
718622df26 PopUpButtonCell correction for compile error
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17663 72102866-910b-0410-8b05-ffd578937521
2003-09-13 20:59:10 +00:00
Fred Kiefer
aa2a156b1c Undid last change. Rewrote [setMenu:] to make the popup button
cell listen to change notifications of the menu. New method
[itemChanged:] gets called when a menu item changes. Added hack to
[initWithCoder:] to set menu correctly and read old menu items correctly.
Check in [itemAtIndex:] that the index is vaild and return nil
otherwise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17661 72102866-910b-0410-8b05-ffd578937521
2003-09-13 13:39:23 +00:00
Fred Kiefer
2882fa9d28 In [update] use [NSApplication targetForAction:to:from:] to be
consistent with the [performActionForItemAtIndex:] implementation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17660 72102866-910b-0410-8b05-ffd578937521
2003-09-13 13:38:46 +00:00
Adam Fedor
bbeec6b247 Better error checking and documentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17638 72102866-910b-0410-8b05-ffd578937521
2003-09-08 02:07:53 +00:00
Gregory John Casamento
5e2097c086 Correcting an issue with NSPopUpButtonCell
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17635 72102866-910b-0410-8b05-ffd578937521
2003-09-07 16:46:39 +00:00
Alexander Malmberg
c4788b1aa9 (getNSFont): Set the explicit-size bit in the role correctly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17631 72102866-910b-0410-8b05-ffd578937521
2003-09-06 20:54:34 +00:00
Gregory John Casamento
3d78b963f9 More of the implementation for NSToolbarItem and the images for the "default" items.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17630 72102866-910b-0410-8b05-ffd578937521
2003-09-06 14:50:26 +00:00
Fred Kiefer
b6e5d5fafd Autorelease the [separatorItem].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17628 72102866-910b-0410-8b05-ffd578937521
2003-09-06 14:18:08 +00:00
Fred Kiefer
438ed2af3e [setMenuItem:] enable/disable cell. [drawTitleWithFrame:inView:]no
longer enable/disable cell.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17622 72102866-910b-0410-8b05-ffd578937521
2003-09-05 23:28:54 +00:00
Fred Kiefer
1b53ae15a9 In [itemChanged:] set if the cell is enabled like the item.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17621 72102866-910b-0410-8b05-ffd578937521
2003-09-05 23:28:20 +00:00
Alexander Malmberg
f85a2e5f12 Change return type of -initWithWindowRef: to id.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17620 72102866-910b-0410-8b05-ffd578937521
2003-09-04 16:47:30 +00:00
Adam Fedor
a1041cbd19 Update
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17605 72102866-910b-0410-8b05-ffd578937521
2003-09-02 16:29:33 +00:00
Fred Kiefer
4a0281b9c4 Removed new GCC 3.4 warnings from Alexander Malmbergs list.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17601 72102866-910b-0410-8b05-ffd578937521
2003-09-01 18:17:52 +00:00
Fred Kiefer
374c449730 Removed unused global currentVersion.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17596 72102866-910b-0410-8b05-ffd578937521
2003-09-01 18:15:10 +00:00
Fred Kiefer
4035581bdd [readFromURL:options:documentAttributes:] corrected the handling
to type "text", where [NSString alloc] was missing.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17595 72102866-910b-0410-8b05-ffd578937521
2003-09-01 18:14:47 +00:00
Fred Kiefer
e1ac3ed3ca New method [_saveImageFor:] used in all places in this file where
an icon is created from a file name. New method
[thumbnailForFile:] calculated the name of the corresponding
FreeDeskTop.org thumbnail file for a given file name. This does
not chack if this file exists!. In [iconForFile:] use this
thumbnails if the user default GSUseFreedesktopThumbnails is YES.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17592 72102866-910b-0410-8b05-ffd578937521
2003-09-01 16:58:54 +00:00
Fred Kiefer
1a94f30ba2 [canInitWithData:], [imageRepsWithData:] and [initWithData:]
protect against data being nil. [imageRepsWithFile:] check if the
file exists and only return an array when it contains objects.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17591 72102866-910b-0410-8b05-ffd578937521
2003-09-01 16:58:27 +00:00
Gregory John Casamento
ee1d9197b7 Corrected mainMenu initialization problem
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17582 72102866-910b-0410-8b05-ffd578937521
2003-09-01 09:21:46 +00:00
Gregory John Casamento
09b96f1cbb Corrected initialization problem. Was doing [NSButton init...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17579 72102866-910b-0410-8b05-ffd578937521
2003-08-31 13:28:03 +00:00
Gregory John Casamento
7f15b1ab39 Correct extra retain count issue.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17576 72102866-910b-0410-8b05-ffd578937521
2003-08-31 03:42:03 +00:00
Fred Kiefer
6878b86f27 Changed [setWindow:] to manage the notification connection to the window.
[initWithWindow:], [dealloc] and [_windowWillClose:] now use [setWindow:].
[setDocument:] now no longer retains the document, as this is
already retaining the window controller. Simplified [loadWindow]
by using the method [windowNibPath].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17574 72102866-910b-0410-8b05-ffd578937521
2003-08-30 19:13:10 +00:00
Gregory John Casamento
ea85bcccb7 Added code to conditionally call desig. init. if it is defined on current class (only not parents).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17572 72102866-910b-0410-8b05-ffd578937521
2003-08-30 05:01:47 +00:00
Adam Fedor
d323f62b6c * Source/GNUmakefile.preamble (ADDITIONAL_OBJCFLAGS): Include
target dir for config.h (disable-flattened).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17571 72102866-910b-0410-8b05-ffd578937521
2003-08-30 03:47:10 +00:00
Gregory John Casamento
a5bcb506e4 Updated variable names. Added more implementation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17566 72102866-910b-0410-8b05-ffd578937521
2003-08-29 04:13:48 +00:00
Gregory John Casamento
c071ffba8d Corrected a segfault and prevent calling designated initializer when loading into interface buidler app.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17562 72102866-910b-0410-8b05-ffd578937521
2003-08-28 04:38:22 +00:00
Gregory John Casamento
e1c69fed03 Corrected a memory issue.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17535 72102866-910b-0410-8b05-ffd578937521
2003-08-25 04:50:09 +00:00
Gregory John Casamento
a32c4a14df Added more of the implementation for toolbar/toolbaritem. Added check in GSClassSwapper to prevent an error case.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17532 72102866-910b-0410-8b05-ffd578937521
2003-08-24 17:22:11 +00:00
Gregory John Casamento
bc7f655703 Adding new templates and deprecating the old ones.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17511 72102866-910b-0410-8b05-ffd578937521
2003-08-23 01:03:40 +00:00
Fred Kiefer
98da20e7b6 In [performClose:] call the method [shouldCloseWindowController:]
on the document instead of [windowShouldClose:]


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17508 72102866-910b-0410-8b05-ffd578937521
2003-08-20 14:12:43 +00:00
Fred Kiefer
9aec274300 Overall change to use method calls rather than direct ivar access.
[setMenu:] also call [setMenuView:]. [removeItemWithTitle],
[removeItemAtIndex] and [removeAllItems] make sure that the
selected item ivar gets unset, when this is
removed. [setMenuItem:] overwrite super method to set/unset the
image. [selectItem:] no longer changes the image of this
item. [synchronizeTitleAndSelectedItem] now works on the menu item
not the selected item. [attachPopUpWithFrame:inView:] added
listening for notifications. [dismissPopUp] remove listening for
notifications. Added [performClickWithFrame:inView:] and
[performClick:]. Further simplified [drawInteriorWithFrame:inView:].
[initWithCoder:] made sure that old stored objects still get read
in correctly even if most ivars may be set wrong.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17506 72102866-910b-0410-8b05-ffd578937521
2003-08-20 13:17:08 +00:00
Fred Kiefer
1b82a55c2d In [keyDown:] removed setting and unsetting of notification
listening, as this now gets handled in NSPopUpButtonCell.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17505 72102866-910b-0410-8b05-ffd578937521
2003-08-20 13:16:28 +00:00
Fred Kiefer
bfc31694fd In [itemChanged:] call [setNeedsDisplayForItemAtIndex:] so that
changes get redisplayed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17504 72102866-910b-0410-8b05-ffd578937521
2003-08-20 13:15:46 +00:00
Alexander Malmberg
0ab3be5eb5 Don't do initialization that requires the shared application object/backend too early (ie. move it from +initialize to other methods). Add some asserts to try to catch these errors in the future.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17503 72102866-910b-0410-8b05-ffd578937521
2003-08-20 12:43:52 +00:00
Alexander Malmberg
39c092170a Don't return values from methods returning void.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17502 72102866-910b-0410-8b05-ffd578937521
2003-08-20 12:13:34 +00:00
Adam Fedor
a412965710 Make sure ext is lowercase
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17500 72102866-910b-0410-8b05-ffd578937521
2003-08-20 03:58:49 +00:00
Adam Fedor
db304032af Fix leak of dictionary object.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17488 72102866-910b-0410-8b05-ffd578937521
2003-08-18 03:47:42 +00:00
Adam Fedor
1f8c6011b3 Broweser, ImageCell fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17487 72102866-910b-0410-8b05-ffd578937521
2003-08-18 03:28:58 +00:00
Adam Fedor
a3113ee753 * Source/NSDocument.m ([NSDocument -init]): Check the count of the
types array and uses Viewer and Editor NSRoles to set the default
type.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17485 72102866-910b-0410-8b05-ffd578937521
2003-08-16 17:12:34 +00:00
Alexander Malmberg
4cb2493b3c Add new methods for getting the default defaults for fonts.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17467 72102866-910b-0410-8b05-ffd578937521
2003-08-10 21:30:49 +00:00
Ludovic Marcotte
45fdc0cdfa Fixed a bug in NSPopUpButtonCell - see the ChangeLog for details.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17418 72102866-910b-0410-8b05-ffd578937521
2003-08-02 14:55:30 +00:00
Adam Fedor
8b09ec55a8 Update documentation install
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17415 72102866-910b-0410-8b05-ffd578937521
2003-08-02 03:41:10 +00:00
David Ayers
b18f1c4ac4 Header reorganization - Please refer to ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17408 72102866-910b-0410-8b05-ffd578937521
2003-07-31 23:52:10 +00:00
Michael Silva
8512c509e1 Cell modifications to remove unecessary images/color changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17406 72102866-910b-0410-8b05-ffd578937521
2003-07-31 20:47:00 +00:00
Alexander Malmberg
e2118a6a32 Make system color list creation more robust; recover from broken System.clr files. Fix locale issue in +colorFromString:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17375 72102866-910b-0410-8b05-ffd578937521
2003-07-27 15:56:41 +00:00
Alexander Malmberg
77fa3e8966 Make drawing debug logging a bit more detailed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17371 72102866-910b-0410-8b05-ffd578937521
2003-07-26 18:56:06 +00:00
Fred Kiefer
7ada97ed5d Implemented methods [action] and [setAction:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17367 72102866-910b-0410-8b05-ffd578937521
2003-07-26 15:45:01 +00:00
Fred Kiefer
2bf8409c3d In [_setupPickers] release cell array.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17352 72102866-910b-0410-8b05-ffd578937521
2003-07-26 13:26:58 +00:00
Fred Kiefer
0f106ebecb Autorelease image returned by [provideNewButtonImage].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17351 72102866-910b-0410-8b05-ffd578937521
2003-07-26 13:26:35 +00:00
Richard Frith-Macdonald
5db7bc0ebd Make use of NSInvocation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17346 72102866-910b-0410-8b05-ffd578937521
2003-07-26 06:27:50 +00:00
Fred Kiefer
0f207ddbc4 In [update:] free the list returned by GSDebugAllocationClassList().
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17344 72102866-910b-0410-8b05-ffd578937521
2003-07-25 22:55:19 +00:00
Fred Kiefer
bb384bcd99 In [sizeToFit] free isResizable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17343 72102866-910b-0410-8b05-ffd578937521
2003-07-25 22:54:59 +00:00
Fred Kiefer
677b253c54 In [_initFromTIFFImage:number:] free the info returned by
NSTiffGetInfo().


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17342 72102866-910b-0410-8b05-ffd578937521
2003-07-25 22:54:28 +00:00
Fred Kiefer
907959a781 In [initWithIconHandle:] and [initWithBitmapHandle:] release the
new bitmap image representation after adding it to the array.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17338 72102866-910b-0410-8b05-ffd578937521
2003-07-25 22:14:40 +00:00
Gregory John Casamento
d87e9ca295 Added changes to load new .gorm file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17327 72102866-910b-0410-8b05-ffd578937521
2003-07-24 03:45:36 +00:00
Richard Frith-Macdonald
3fe7fba432 doc tidy
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17319 72102866-910b-0410-8b05-ffd578937521
2003-07-23 22:17:21 +00:00
Alexander Malmberg
8cb62c9d4a Fix _menu ivar confusion.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17316 72102866-910b-0410-8b05-ffd578937521
2003-07-23 20:25:09 +00:00
Adam Fedor
2ca75c485d Add initWithFrame:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17307 72102866-910b-0410-8b05-ffd578937521
2003-07-23 03:44:33 +00:00
Richard Frith-Macdonald
32fce62555 Final tweaks?
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17305 72102866-910b-0410-8b05-ffd578937521
2003-07-22 17:25:32 +00:00
Richard Frith-Macdonald
56b238da25 More doc fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17303 72102866-910b-0410-8b05-ffd578937521
2003-07-22 17:03:50 +00:00
Richard Frith-Macdonald
daf5efadae More documentation tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17302 72102866-910b-0410-8b05-ffd578937521
2003-07-22 16:52:17 +00:00
Richard Frith-Macdonald
62c7345c03 Remove bogus file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17301 72102866-910b-0410-8b05-ffd578937521
2003-07-22 16:41:46 +00:00
Richard Frith-Macdonald
0e06373598 Minor doc fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17300 72102866-910b-0410-8b05-ffd578937521
2003-07-22 16:32:30 +00:00
Richard Frith-Macdonald
babf5391a3 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17299 72102866-910b-0410-8b05-ffd578937521
2003-07-22 16:29:06 +00:00
Richard Frith-Macdonald
5c21d4d3d1 Documentatikon tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17298 72102866-910b-0410-8b05-ffd578937521
2003-07-22 16:13:46 +00:00
Richard Frith-Macdonald
f2a4621d7a Documentation tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17296 72102866-910b-0410-8b05-ffd578937521
2003-07-22 15:50:11 +00:00
Richard Frith-Macdonald
fe15f366b4 Memory leak fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17295 72102866-910b-0410-8b05-ffd578937521
2003-07-22 15:23:12 +00:00
Richard Frith-Macdonald
b04ce4006b Minor memory leak fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17287 72102866-910b-0410-8b05-ffd578937521
2003-07-22 05:18:05 +00:00
Adam Fedor
5152c169d4 Fix leaks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17282 72102866-910b-0410-8b05-ffd578937521
2003-07-22 02:39:42 +00:00
Richard Frith-Macdonald
0c1073e3ec Tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17278 72102866-910b-0410-8b05-ffd578937521
2003-07-21 11:59:47 +00:00
Richard Frith-Macdonald
9bb801ddb2 Applied memory leak fixing patches
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17277 72102866-910b-0410-8b05-ffd578937521
2003-07-21 10:41:10 +00:00
Richard Frith-Macdonald
5d38cbe75d Tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17276 72102866-910b-0410-8b05-ffd578937521
2003-07-21 09:59:52 +00:00
Richard Frith-Macdonald
5f452ad56f Minor memory management fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17272 72102866-910b-0410-8b05-ffd578937521
2003-07-21 07:47:06 +00:00
Adam Fedor
72d45dd40e * GNUmakefile: Build Documentation if doc=yes (yes by default).
* Tools/gsnd/GNUmakefile.postamble: Linke in pthreads if not
already linked in (non-mingw targets only).
* Tools/gsnd/portaudio/pa_unix_oss/pa_unix_oss.c: On OpenBSD
include soundcard.h.

* Panels/English.proj: Replace GSPageLayout.gorm and
GSPrintPanel.gorm with updated GOrm dirs. Make Options button
non-continuous.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17261 72102866-910b-0410-8b05-ffd578937521
2003-07-20 02:08:22 +00:00
Fred Kiefer
9e1ed22f44 Added methods [init], [objectValue], [setObjectValue:],
[setImage:]. In [initTextCell:pullsDown:] create the menu first,
so that the first item gets entered to it. In [setPullsDown:] and
[setAltersStateOfSelectedItem] set the values that depend on these
flags. In [insertItemWithTitle:atIndex:] remove duplicates.
[selectItem:] the used image now depends on the arrow
position. Removed [drawWithFrame:inView:] and rewrote
[drawInteriorWithFrame:inView:].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17258 72102866-910b-0410-8b05-ffd578937521
2003-07-19 11:00:07 +00:00
Fred Kiefer
7b3541ec72 New MacOSX methods [formatter], [setFormatter:],
[attributedStringValue], [setAttributedStringValue:].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17252 72102866-910b-0410-8b05-ffd578937521
2003-07-18 14:03:08 +00:00
Richard Frith-Macdonald
3c16975b59 Documentation tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17211 72102866-910b-0410-8b05-ffd578937521
2003-07-14 13:10:00 +00:00
Richard Frith-Macdonald
e12ac6ef5d Various tidyups and services improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17210 72102866-910b-0410-8b05-ffd578937521
2003-07-14 12:27:42 +00:00
Alexander Malmberg
3e87f17811 Call the new methods from suitable places.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17206 72102866-910b-0410-8b05-ffd578937521
2003-07-12 18:04:25 +00:00
Alexander Malmberg
bfcaa8b453 Add -_updateInputMethodState and -_updateInputMethodWithInsertionPoint: methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17205 72102866-910b-0410-8b05-ffd578937521
2003-07-12 16:40:16 +00:00
Gregory John Casamento
0e8082c6c3 Fix to NSMatrix to prevent decoding issue.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17202 72102866-910b-0410-8b05-ffd578937521
2003-07-12 14:07:18 +00:00
Alexander Malmberg
7d44f67c49 Adjust 'really large' sizes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17186 72102866-910b-0410-8b05-ffd578937521
2003-07-11 01:38:39 +00:00
Benhur Stein
de241312ea Fix bug #4255
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17182 72102866-910b-0410-8b05-ffd578937521
2003-07-10 14:52:55 +00:00
Alexander Malmberg
961fc47691 Improve behavior of selected range adjustments when invalidating.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17137 72102866-910b-0410-8b05-ffd578937521
2003-07-05 16:04:05 +00:00
Alexander Malmberg
ad33f29026 (getNSFont): Retain/autorelease when returning a cached instance.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17135 72102866-910b-0410-8b05-ffd578937521
2003-07-05 15:23:54 +00:00
Alexander Malmberg
974395db91 (-fixParagraphStyleAttributeInRange:): Handle paragraphs with paragraph styles set for part of it correctly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17134 72102866-910b-0410-8b05-ffd578937521
2003-07-05 15:23:34 +00:00
Alexander Malmberg
a8236e46af (-initWithCoder:): Make sure the returned font has a correct retain count on all paths.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17131 72102866-910b-0410-8b05-ffd578937521
2003-07-05 14:08:43 +00:00
Richard Frith-Macdonald
d03c09f65b Tidyups for protocols
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17109 72102866-910b-0410-8b05-ffd578937521
2003-07-04 17:15:02 +00:00
Richard Frith-Macdonald
61aea80cb8 Make last change conditionally compiled
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17103 72102866-910b-0410-8b05-ffd578937521
2003-07-04 15:12:45 +00:00
Richard Frith-Macdonald
caff431de2 Minor efficiency improvement
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17098 72102866-910b-0410-8b05-ffd578937521
2003-07-04 11:05:06 +00:00
Alexander Malmberg
82c83b3237 (getNSFont): Only update the cache when the font has the default size.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17090 72102866-910b-0410-8b05-ffd578937521
2003-07-02 23:44:48 +00:00
Alexander Malmberg
d4fff8ae12 Rewrite handling of standard fonts to provide better behavior.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17089 72102866-910b-0410-8b05-ffd578937521
2003-07-02 15:46:32 +00:00
Sergii Stoian
42b6ef6744 Border type of column's scroll view fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17082 72102866-910b-0410-8b05-ffd578937521
2003-07-01 13:41:48 +00:00
Richard Frith-Macdonald
ac774bd294 fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17077 72102866-910b-0410-8b05-ffd578937521
2003-06-30 16:24:11 +00:00
Richard Frith-Macdonald
6a39184087 Lots of tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17076 72102866-910b-0410-8b05-ffd578937521
2003-06-30 16:17:45 +00:00
Richard Frith-Macdonald
ccb28dedd8 Fix typos snd spelling errors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17075 72102866-910b-0410-8b05-ffd578937521
2003-06-30 11:12:33 +00:00
Richard Frith-Macdonald
55592728b1 Tidied doc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17074 72102866-910b-0410-8b05-ffd578937521
2003-06-30 09:48:59 +00:00
Richard Frith-Macdonald
ea6e6d4a9e Documentation improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17072 72102866-910b-0410-8b05-ffd578937521
2003-06-30 09:09:00 +00:00
Alexander Malmberg
6a11f149ca Add a missing '@'.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17069 72102866-910b-0410-8b05-ffd578937521
2003-06-29 18:17:08 +00:00
Alexander Malmberg
c8ac5f25e4 Automatically turn off screen fonts if required according to the current context's ctm.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17067 72102866-910b-0410-8b05-ffd578937521
2003-06-29 15:39:54 +00:00
Richard Frith-Macdonald
c246aaf25c Documentation tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17064 72102866-910b-0410-8b05-ffd578937521
2003-06-28 19:15:18 +00:00
Richard Frith-Macdonald
b1c07282e1 Tweaks and debugging
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17063 72102866-910b-0410-8b05-ffd578937521
2003-06-28 17:37:03 +00:00
Richard Frith-Macdonald
94b97f00b8 Declare types when writing to pasteboard
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17059 72102866-910b-0410-8b05-ffd578937521
2003-06-28 06:55:13 +00:00
Richard Frith-Macdonald
17d4b32bba More filter stuff added
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17058 72102866-910b-0410-8b05-ffd578937521
2003-06-28 06:46:14 +00:00
Richard Frith-Macdonald
e15eb96920 More documentation tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17053 72102866-910b-0410-8b05-ffd578937521
2003-06-27 18:37:00 +00:00
Richard Frith-Macdonald
a8ce266293 More documentation tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17052 72102866-910b-0410-8b05-ffd578937521
2003-06-27 17:09:49 +00:00
Richard Frith-Macdonald
a1336268a7 More documentation updates and initial implementation of some filtering code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17051 72102866-910b-0410-8b05-ffd578937521
2003-06-27 16:42:27 +00:00
Richard Frith-Macdonald
47bcd510bb More pasteboard work
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17049 72102866-910b-0410-8b05-ffd578937521
2003-06-27 14:53:25 +00:00
Richard Frith-Macdonald
971194c387 More filter work
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17048 72102866-910b-0410-8b05-ffd578937521
2003-06-27 14:47:11 +00:00
Richard Frith-Macdonald
02e6c7f15c Partial implementation of filtering services
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17046 72102866-910b-0410-8b05-ffd578937521
2003-06-27 12:08:13 +00:00
Richard Frith-Macdonald
c03667e1c4 Some pasteboard fixes and lots of documentation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17045 72102866-910b-0410-8b05-ffd578937521
2003-06-27 11:13:30 +00:00
Ludovic Marcotte
6a1f74c661 See the ChangeLog for the full description.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17043 72102866-910b-0410-8b05-ffd578937521
2003-06-27 00:45:24 +00:00
Fred Kiefer
7caced9d58 (_glyphDumpRuns,
helpers::generateRunsToCharacter:,
helpers::generateGlyphsUpToCharacter:,
helpers::generateGlyphsUpToGlyph:,
helpers::glyphForCharacter:index:positions::, getGlyphs:range:,
characterRangeForGlyphRange:actualGlyphRange:,
glyphRangeForCharacterRange:actualCharacterRange:,
invalidateGlyphsForCharacterRange:changeInLength:actualCharacterRange:,
insertTextContainer:atIndex:):
Removed compiler warning about signed/unsigned comparision.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17041 72102866-910b-0410-8b05-ffd578937521
2003-06-26 23:25:34 +00:00
Fred Kiefer
a50f7b9a5c Corrected handling of pasteboard data of type NSFilenamesPboardType.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17015 72102866-910b-0410-8b05-ffd578937521
2003-06-24 22:57:12 +00:00
Alexander Malmberg
722091ab9d (-drawLabel:inRect:): Use -drawInRect: instead of -drawAtPoint: to draw label.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17009 72102866-910b-0410-8b05-ffd578937521
2003-06-23 23:08:20 +00:00
Alexander Malmberg
7316997787 (-drawAtPoint:): Place the text correctly when the view isn't flipped.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17008 72102866-910b-0410-8b05-ffd578937521
2003-06-23 17:05:05 +00:00
Fred Kiefer
3c46da992d Changed element char_index of structure glyph_cache_t to unsigned.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17006 72102866-910b-0410-8b05-ffd578937521
2003-06-23 15:51:27 +00:00
Fred Kiefer
26c82d8aef Removed compiler warning about signed/unsigned comparision.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17005 72102866-910b-0410-8b05-ffd578937521
2003-06-23 15:50:46 +00:00
Fred Kiefer
a3aecbd99d Commented out unused variables WTitleHeight, ScrollMinSize,
MessageMinHeight.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17004 72102866-910b-0410-8b05-ffd578937521
2003-06-23 15:48:01 +00:00
Richard Frith-Macdonald
b86567b3d7 Minor documentation additions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17002 72102866-910b-0410-8b05-ffd578937521
2003-06-22 14:36:17 +00:00
Richard Frith-Macdonald
a47f8086fa Minor documentation fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17001 72102866-910b-0410-8b05-ffd578937521
2003-06-22 12:04:47 +00:00
Richard Frith-Macdonald
31389b5cd9 Doc tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17000 72102866-910b-0410-8b05-ffd578937521
2003-06-22 09:29:34 +00:00
Richard Frith-Macdonald
f2d448c8cd Documentation fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16999 72102866-910b-0410-8b05-ffd578937521
2003-06-22 09:00:34 +00:00
Fred Kiefer
bde7ea7f4a Added missing include for GSGuiPrivate.h.
(initWithContentRect:...screen:, updateFromPrintInfo)
Removed compiler warning about signed/unsigned comparision.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16993 72102866-910b-0410-8b05-ffd578937521
2003-06-21 23:30:25 +00:00
Fred Kiefer
32db96f136 (_print)
Removed compiler warning about signed/unsigned comparision.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16992 72102866-910b-0410-8b05-ffd578937521
2003-06-21 23:29:38 +00:00
Fred Kiefer
3bfbe29553 In [+initPrintInfoDefaults] initialize variable printer with nil.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16991 72102866-910b-0410-8b05-ffd578937521
2003-06-21 23:29:06 +00:00
Fred Kiefer
4afc950070 (insertItemWithTitle:atIndex:,
selectItemAtIndex:, selectItemWithTitle:, setTitle:)
Corrected type of local variable.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16990 72102866-910b-0410-8b05-ffd578937521
2003-06-21 23:28:40 +00:00
Fred Kiefer
b43ca557f3 (initWithContentRect:...screen:, readPrintInfo)
Removed compiler warning about signed/unsigned comparision.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16988 72102866-910b-0410-8b05-ffd578937521
2003-06-21 23:26:30 +00:00
Fred Kiefer
fc8bfdad89 (selectAll:)
Removed compiler warning about signed/unsigned comparision.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16987 72102866-910b-0410-8b05-ffd578937521
2003-06-21 23:26:04 +00:00
Fred Kiefer
972bb877d1 (rectArrayForGlyphRange:...rectCount:,
glyphRangeForBoundingRect:inTextContainer:,
_insertionPointRectForCharacterIndex:textContainer:):
Removed compiler warning about signed/unsigned comparision.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16986 72102866-910b-0410-8b05-ffd578937521
2003-06-21 23:25:27 +00:00
Fred Kiefer
5261934143 (initWithName:host:):
Removed compiler warning about signed/unsigned comparision.
Adopted to changes in header.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16983 72102866-910b-0410-8b05-ffd578937521
2003-06-21 23:23:39 +00:00
Adam Fedor
9d122f2cb1 * Source/NSOutlineView.m ([NSOutlineView -drawRow:clipRect:]):
Add delegate method call. Patch from Yen-Ju Chen
* Source/NSView.m (-menuForEvent:): Add note about this
method being discouraged.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16981 72102866-910b-0410-8b05-ffd578937521
2003-06-21 16:44:46 +00:00
Adam Fedor
8309f24bee Use NSFont not isa to call class methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16978 72102866-910b-0410-8b05-ffd578937521
2003-06-21 03:21:33 +00:00
Adam Fedor
78417b8898 Check for Gui before removing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16972 72102866-910b-0410-8b05-ffd578937521
2003-06-20 16:15:59 +00:00
Adam Fedor
687ad68408 Add GSGuiPrivate header for localization
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16949 72102866-910b-0410-8b05-ffd578937521
2003-06-17 15:12:32 +00:00
Fred Kiefer
fdf5470d7e Adopted to changes in header.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16935 72102866-910b-0410-8b05-ffd578937521
2003-06-17 13:28:46 +00:00
Alexander Malmberg
d332316918 Handle text containers with no area.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16929 72102866-910b-0410-8b05-ffd578937521
2003-06-15 15:18:54 +00:00
Alexander Malmberg
5a3c3668c3 Remove unused GSFontProxy class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16921 72102866-910b-0410-8b05-ffd578937521
2003-06-15 00:36:36 +00:00
Adam Fedor
6be9174933 Include <> -> ""
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16917 72102866-910b-0410-8b05-ffd578937521
2003-06-13 15:01:12 +00:00
Adam Fedor
f99a743b43 Implement NSActionCell.m (-setObjectValue:)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16905 72102866-910b-0410-8b05-ffd578937521
2003-06-12 03:16:19 +00:00
Alexander Malmberg
a55cd8adda Add [GSFontInfo -appendBezierPathWithGlyphs:count:toBezierPath:] and use it to implement NSBezierPath's glyph methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16903 72102866-910b-0410-8b05-ffd578937521
2003-06-11 13:36:59 +00:00
Alexander Malmberg
02ef01adc7 Remove debugging printf:s.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16900 72102866-910b-0410-8b05-ffd578937521
2003-06-10 10:43:26 +00:00