Commit graph

2694 commits

Author SHA1 Message Date
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