Commit graph

2310 commits

Author SHA1 Message Date
CaS
2948c196b3 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13964 72102866-910b-0410-8b05-ffd578937521
2002-06-24 17:28:43 +00:00
CaS
acb893e755 Application name handling hopefully fixed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13963 72102866-910b-0410-8b05-ffd578937521
2002-06-24 16:56:30 +00:00
nico
10df219ebd Do not use hardcoded 12 height of default font, but retrieve it from NSFont
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13960 72102866-910b-0410-8b05-ffd578937521
2002-06-24 12:22:12 +00:00
nico
593becc454 Removed check for height of line being 0, which should not be needed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13959 72102866-910b-0410-8b05-ffd578937521
2002-06-24 12:16:07 +00:00
nico
063b64fd78 Fixed highlighting of cells when new cells are added
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13955 72102866-910b-0410-8b05-ffd578937521
2002-06-22 18:38:51 +00:00
nico
a9013a2c26 Indented line
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13954 72102866-910b-0410-8b05-ffd578937521
2002-06-22 18:33:34 +00:00
nico
baa4e705db Updated loading of keybindings from files - hopefully the final version!
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13950 72102866-910b-0410-8b05-ffd578937521
2002-06-22 18:05:37 +00:00
nico
f29ff45de8 Removed comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13949 72102866-910b-0410-8b05-ffd578937521
2002-06-22 17:01:14 +00:00
nico
01ee9aa6f1 Optimize for the case of unrotated views by removing rotationAngle. Case
of rotated views I think still needs debugging :-)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13946 72102866-910b-0410-8b05-ffd578937521
2002-06-22 16:53:20 +00:00
nico
59a2634ab1 Efficient implementation of isRotated
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13944 72102866-910b-0410-8b05-ffd578937521
2002-06-22 16:21:46 +00:00
nico
f461567e1a Updated code - removed unused code, do not call a no longer existing method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13942 72102866-910b-0410-8b05-ffd578937521
2002-06-22 16:10:38 +00:00
nico
0734ffaccc Removed bloat method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13940 72102866-910b-0410-8b05-ffd578937521
2002-06-22 16:05:57 +00:00
nico
ab0fc569ea Use -rotateByDegrees:, not -rotateByAngle:, to rotate an Affine transform
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13939 72102866-910b-0410-8b05-ffd578937521
2002-06-22 16:04:34 +00:00
nico
b21d6d013a Removed gnustep-only method which was never used and could easily be
replaced by calls to standard methods


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13936 72102866-910b-0410-8b05-ffd578937521
2002-06-22 15:57:50 +00:00
nico
8ed9df9ac0 Method which was a private duplicate of a public one removed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13934 72102866-910b-0410-8b05-ffd578937521
2002-06-22 15:47:17 +00:00
nico
8dc087e032 Use new NSAffineTransform method to invert a matrix, not old one
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13933 72102866-910b-0410-8b05-ffd578937521
2002-06-22 15:46:30 +00:00
fedor
a2f33915c1 Revert last change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13928 72102866-910b-0410-8b05-ffd578937521
2002-06-22 13:42:59 +00:00
fedor
cc45d0eb88 Fix makeKey makeMain with defered windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13927 72102866-910b-0410-8b05-ffd578937521
2002-06-22 03:44:57 +00:00
nico
9352e96e63 Always select the popup item in performAction
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13920 72102866-910b-0410-8b05-ffd578937521
2002-06-19 15:00:17 +00:00
CaS
7cd4f7630d Attempt to improve app location
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13902 72102866-910b-0410-8b05-ffd578937521
2002-06-17 15:03:58 +00:00
gcasa
91a399810f Fixed some minor bugs in NSOutlineView and made delegate checking more efficient by using a macro.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13892 72102866-910b-0410-8b05-ffd578937521
2002-06-15 22:00:18 +00:00
nico
5828c3b5d6 Tidied code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13886 72102866-910b-0410-8b05-ffd578937521
2002-06-14 12:28:49 +00:00
alexm
d41f280d87 Disable autoenabling while updating the services menu.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13856 72102866-910b-0410-8b05-ffd578937521
2002-06-12 22:34:32 +00:00
alexm
2fe087853f Fix handling of timestamps and removal of old menu items when updating services/services menu.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13855 72102866-910b-0410-8b05-ffd578937521
2002-06-12 21:04:51 +00:00
nico
ca4f9f5e36 When parsing RTF (or other formats) require the generated attributed
string to be of the appropriate class


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13841 72102866-910b-0410-8b05-ffd578937521
2002-06-11 14:59:51 +00:00
alexm
0b7afabff0 Fix handling of NSMenuItem:s.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13827 72102866-910b-0410-8b05-ffd578937521
2002-06-10 23:48:09 +00:00
nico
bfc479b34d Fixed control with continuous actions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13820 72102866-910b-0410-8b05-ffd578937521
2002-06-10 10:41:15 +00:00
alexm
f867ecac02 Create and use local NSPasteboard object in -performService:....
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13815 72102866-910b-0410-8b05-ffd578937521
2002-06-09 23:25:58 +00:00
alexm
cd75855172 Make _miniaturizedImage default to the application icon.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13805 72102866-910b-0410-8b05-ffd578937521
2002-06-08 20:38:11 +00:00
alexm
5003acb480 Make -doService: handle nil return/send types correctly. Fix calls to NSRunAlertPanel().
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13803 72102866-910b-0410-8b05-ffd578937521
2002-06-08 18:11:17 +00:00
nico
1f93b5465b When changing the scroller frame, do not add the arrows if they are not
already there


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13786 72102866-910b-0410-8b05-ffd578937521
2002-06-06 09:40:56 +00:00
nico
502dc13cef Indented
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13785 72102866-910b-0410-8b05-ffd578937521
2002-06-06 09:38:11 +00:00
nico
5155461c45 Fixed argument of the applicationShouldTerminate: message
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13783 72102866-910b-0410-8b05-ffd578937521
2002-06-06 08:35:19 +00:00
CaS
705ea5944f Patch by jeff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13782 72102866-910b-0410-8b05-ffd578937521
2002-06-06 05:22:45 +00:00
nico
f170cf8df9 Cleaned preprocessor #endif
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13778 72102866-910b-0410-8b05-ffd578937521
2002-06-05 15:19:38 +00:00
fedor
62bb2f3a39 Transfer beep to GSDisplayServer
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13763 72102866-910b-0410-8b05-ffd578937521
2002-06-04 02:19:23 +00:00
nico
58ee64e06d Added long comment about why we should not be trying to approximate cell
sizes here


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13704 72102866-910b-0410-8b05-ffd578937521
2002-05-26 15:34:40 +00:00
nico
4062c657a5 Rewritten autoresizing - and now should be used also when setFrame: or setFrameSize:
is called.  Do not round cellsizes to be integers as that is just removing
information we instead want to pass to the backend for better rendering.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13703 72102866-910b-0410-8b05-ffd578937521
2002-05-26 15:25:03 +00:00
nico
ba6328711c More careful checking for the special case of no text
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13683 72102866-910b-0410-8b05-ffd578937521
2002-05-22 12:35:10 +00:00
nico
b5967a3cbe Updated for the fact the NSHighlightRect() no longer flushes the window
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13681 72102866-910b-0410-8b05-ffd578937521
2002-05-22 12:06:09 +00:00
nico
f6326dbf0c Updated and simplified code for the fact we no longer flush the window
in NSHighlightRect()


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13680 72102866-910b-0410-8b05-ffd578937521
2002-05-22 12:05:25 +00:00
nico
4a49f2904b Do not flush the window during an NSHighlightRect()
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13679 72102866-910b-0410-8b05-ffd578937521
2002-05-22 12:04:47 +00:00
nico
9d52800942 Indented some lines
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13678 72102866-910b-0410-8b05-ffd578937521
2002-05-22 11:51:26 +00:00
nico
7aad55d98c Indented line
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13677 72102866-910b-0410-8b05-ffd578937521
2002-05-22 11:45:48 +00:00
nico
2dbac9bc4a Fixed variable declared with the wrong type
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13671 72102866-910b-0410-8b05-ffd578937521
2002-05-21 15:59:03 +00:00
nico
3b42ae1dee Tidied comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13670 72102866-910b-0410-8b05-ffd578937521
2002-05-21 15:54:10 +00:00
FredKiefer
a4cd7954a3 [rectOfItemAtIndex:] for horizontal orientation set items from
left to right. [locationForSubmenu:] for horizontal orientation
set submenu below the item in self.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13662 72102866-910b-0410-8b05-ffd578937521
2002-05-17 09:20:59 +00:00
fedor
ffd1676ce5 Make sure context is released
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13654 72102866-910b-0410-8b05-ffd578937521
2002-05-14 18:49:00 +00:00
FredKiefer
073a68d9d5 Moved the caching of fonts from [initWithName:matrix:] to
[fontWithName:matrix:] so that unneeded fonts are no longer
created. In [labelFontSize], [smallSystemFontSize] and
[systemFontSize] get values from defaults if available. In
getNSFont() removed hard coded 12, will be relaced by default for
NSUserFontSize.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13648 72102866-910b-0410-8b05-ffd578937521
2002-05-13 22:15:53 +00:00
FredKiefer
4b24b0d803 In initSystemColors() and systemColorWithName() replaced
implementation of system colours with named colours from a stored
colour list. Added conversion cache for named colours. This allows
easy configuration of system colours while keeping the same performance.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13647 72102866-910b-0410-8b05-ffd578937521
2002-05-13 22:15:01 +00:00
nico
c0d3cf0bdb More clean up in dealloc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13633 72102866-910b-0410-8b05-ffd578937521
2002-05-12 11:23:12 +00:00
CaS
b311bf3e81 Standardise API for character conversion
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13630 72102866-910b-0410-8b05-ffd578937521
2002-05-11 07:17:33 +00:00
nico
0fa93ae911 Fixed error in deallocation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13621 72102866-910b-0410-8b05-ffd578937521
2002-05-10 12:37:31 +00:00
fedor
573f743858 Flip font on set if needed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13605 72102866-910b-0410-8b05-ffd578937521
2002-05-08 03:28:09 +00:00
fedor
5180fd5339 Stroke the underline
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13601 72102866-910b-0410-8b05-ffd578937521
2002-05-07 03:37:48 +00:00
fedor
1c9c720d01 Check superview frame size before getting it
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13568 72102866-910b-0410-8b05-ffd578937521
2002-05-01 16:59:10 +00:00
gcasa
1360c93876 Committing alex's change to NSOutlineView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13545 72102866-910b-0410-8b05-ffd578937521
2002-04-26 04:30:04 +00:00
fedor
5ea51941b5 New mouselocation methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13530 72102866-910b-0410-8b05-ffd578937521
2002-04-23 20:50:24 +00:00
fedor
f7a20d6c96 Screen handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13524 72102866-910b-0410-8b05-ffd578937521
2002-04-22 15:45:10 +00:00
nico
4dc1bb3706 Added NSOutlineView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13515 72102866-910b-0410-8b05-ffd578937521
2002-04-21 12:53:34 +00:00
ludovic
03500c6bba Fixed some minor issues with NSOutlineView's delegate methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13509 72102866-910b-0410-8b05-ffd578937521
2002-04-18 22:44:04 +00:00
pyr
cc749825e7 Source/NSMenuItem.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13489 72102866-910b-0410-8b05-ffd578937521
2002-04-17 19:57:36 +00:00
CaS
f47011885e Improved logging.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13480 72102866-910b-0410-8b05-ffd578937521
2002-04-16 14:16:37 +00:00
fedor
fd9cde5c4e Revise window ops
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13469 72102866-910b-0410-8b05-ffd578937521
2002-04-15 02:52:35 +00:00
fedor
dd5595fee8 Change so rint is only defined when needed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13464 72102866-910b-0410-8b05-ffd578937521
2002-04-12 02:15:51 +00:00
nico
e4dfa162c9 No longer need to manually fix button sizes after autosizing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13452 72102866-910b-0410-8b05-ffd578937521
2002-04-12 00:02:26 +00:00
nico
7cf2c8ef9d Add more space around autosized buttons so that they are usable without
manual intervention


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13451 72102866-910b-0410-8b05-ffd578937521
2002-04-12 00:02:00 +00:00
nico
1f9a6fcb76 Added missing #include
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13447 72102866-910b-0410-8b05-ffd578937521
2002-04-11 23:29:32 +00:00
nico
c87007f3f8 Added missing #includes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13442 72102866-910b-0410-8b05-ffd578937521
2002-04-11 23:17:42 +00:00
nico
d718498b11 Added missing #includes and fixed minor dealloc problem
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13441 72102866-910b-0410-8b05-ffd578937521
2002-04-11 23:15:40 +00:00
nico
e08cdc2a54 Renamed -sanity to -_sanity, and always compile it, to make it available
to regression tests


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13426 72102866-910b-0410-8b05-ffd578937521
2002-04-11 14:38:19 +00:00
nico
7264ea1309 Added workaround for OSX bug in +new ... to get portability to OSX
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13421 72102866-910b-0410-8b05-ffd578937521
2002-04-11 10:23:28 +00:00
fedor
ea52dd291c Put RINT defs in config.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13420 72102866-910b-0410-8b05-ffd578937521
2002-04-11 02:18:13 +00:00
fedor
6f0771768b Remove old grpahics funcs, Update window's defs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13417 72102866-910b-0410-8b05-ffd578937521
2002-04-10 22:04:39 +00:00
nico
36394640dd Changed so that setFrame: and setFrameSize: will autoresize the gstable contents.
Removed lockFocus/unlockFocus optimization for easier portability.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13406 72102866-910b-0410-8b05-ffd578937521
2002-04-10 00:27:05 +00:00
nico
0f47f2c471 Fixed bug - scroller not being redisplayed when knobProportion: changed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13404 72102866-910b-0410-8b05-ffd578937521
2002-04-09 23:39:21 +00:00
ludovic
87b610421a See ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13402 72102866-910b-0410-8b05-ffd578937521
2002-04-08 23:26:59 +00:00
fedor
ef321d75b7 Cleanup printing after exception
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13387 72102866-910b-0410-8b05-ffd578937521
2002-04-07 02:16:56 +00:00
FredKiefer
5bf6709e60 In [updateRuler] set the client view of the ruler view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13381 72102866-910b-0410-8b05-ffd578937521
2002-04-06 23:36:40 +00:00
FredKiefer
d94974edf7 Corrected [drawRect:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13380 72102866-910b-0410-8b05-ffd578937521
2002-04-06 23:36:12 +00:00
FredKiefer
e1c4308849 Added method [mouseDown:]. Added safety check for unchanged client
view in [setClientView:]. In [drawHashMarksAndLabelsInRect:] use
[NSFont smallSystemFontSize] instead of hard coded size.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13379 72102866-910b-0410-8b05-ffd578937521
2002-04-06 23:35:52 +00:00
fedor
17843a0d14 Better debugging
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13370 72102866-910b-0410-8b05-ffd578937521
2002-04-06 04:49:53 +00:00
pyr
5a2cd3ccdd Source/NSOutlineView.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13365 72102866-910b-0410-8b05-ffd578937521
2002-04-06 00:15:05 +00:00
fedor
a7bf31db3f Update docs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13335 72102866-910b-0410-8b05-ffd578937521
2002-04-03 16:59:43 +00:00
FredKiefer
5e1dff6bd4 Made [updateRuler] save against missing rulers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13332 72102866-910b-0410-8b05-ffd578937521
2002-04-03 00:30:38 +00:00
FredKiefer
c72bbe884b Added handling for missing rint function, copied over from
NSBrowser.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13331 72102866-910b-0410-8b05-ffd578937521
2002-04-03 00:30:05 +00:00
fedor
55f52faac4 New def of GSDefineGState
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13328 72102866-910b-0410-8b05-ffd578937521
2002-04-02 21:54:22 +00:00
pyr
b545d98985 Source/NSTableView.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13326 72102866-910b-0410-8b05-ffd578937521
2002-04-02 19:13:46 +00:00
pyr
09f948550a Source/NSTableView.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13325 72102866-910b-0410-8b05-ffd578937521
2002-04-02 19:05:48 +00:00
nico
4526a59688 Added missing #includes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13312 72102866-910b-0410-8b05-ffd578937521
2002-04-02 11:39:57 +00:00
nico
559b3fc810 Tidied #includes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13311 72102866-910b-0410-8b05-ffd578937521
2002-04-02 11:39:10 +00:00
nico
2b1890db9e Properly retain/release the sound; indentation fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13310 72102866-910b-0410-8b05-ffd578937521
2002-04-02 11:38:45 +00:00
nico
eda67fbdab Added missing #incldue
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13309 72102866-910b-0410-8b05-ffd578937521
2002-04-02 11:35:39 +00:00
nico
492ac1b63d Addewd missing #includes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13308 72102866-910b-0410-8b05-ffd578937521
2002-04-02 11:34:57 +00:00
nico
4c770b05e8 Added missing #include
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13307 72102866-910b-0410-8b05-ffd578937521
2002-04-02 11:34:24 +00:00
nico
c8beb1e464 Added missing #includes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13306 72102866-910b-0410-8b05-ffd578937521
2002-04-02 11:33:48 +00:00
nico
f63cafe810 Abort editing on dealloc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13305 72102866-910b-0410-8b05-ffd578937521
2002-04-02 11:32:33 +00:00
nico
aed215ebf1 Added missing #includes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13304 72102866-910b-0410-8b05-ffd578937521
2002-04-02 11:26:03 +00:00
nico
0baf4606bd Added missing #include
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13303 72102866-910b-0410-8b05-ffd578937521
2002-04-02 11:21:03 +00:00
nico
5ef81b130e Removed weird method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13302 72102866-910b-0410-8b05-ffd578937521
2002-04-02 11:19:42 +00:00
nico
a90ed50aee Fixed #include for NSBeep()
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13301 72102866-910b-0410-8b05-ffd578937521
2002-04-02 11:15:00 +00:00
nico
47dc275184 Added missing #include
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13300 72102866-910b-0410-8b05-ffd578937521
2002-04-02 11:13:36 +00:00
nico
a5b157f002 Added misggin #include
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13299 72102866-910b-0410-8b05-ffd578937521
2002-04-02 11:07:49 +00:00
nico
fdfcc3782a Added missing #include
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13298 72102866-910b-0410-8b05-ffd578937521
2002-04-02 11:01:44 +00:00
nico
6c65e96d75 Added missing includes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13297 72102866-910b-0410-8b05-ffd578937521
2002-04-02 10:58:12 +00:00
nico
5ee88c3f7b Include Foundation/NSDebug.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13296 72102866-910b-0410-8b05-ffd578937521
2002-04-02 10:57:29 +00:00
gcasa
8de1bf56bf Added methods to implement autosaving of expanded items.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13292 72102866-910b-0410-8b05-ffd578937521
2002-04-02 05:04:57 +00:00
fedor
4ddbd9c46f Changes for backend miniwin control
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13289 72102866-910b-0410-8b05-ffd578937521
2002-04-02 03:13:14 +00:00
fedor
4a7e0146d9 Better release/retain of server and context
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13286 72102866-910b-0410-8b05-ffd578937521
2002-04-01 17:34:08 +00:00
gcasa
040cf48e73 Added fix to 1) make NSOutlineView faster using Maps and 2) eliminate the need for items to implement NSCopying which is not correct behavior. GJC
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13284 72102866-910b-0410-8b05-ffd578937521
2002-04-01 16:03:02 +00:00
FredKiefer
c219e903a1 [setFrame:display:] do nothing if the frame after all the
corrections did not change from its current extend.
In [makeKeyWindow] and [makeMainWindow] do nothing if the window
is already key/main.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13279 72102866-910b-0410-8b05-ffd578937521
2002-03-31 20:17:20 +00:00
pyr
843cdfb3b8 Source/NSMatrix.m
Source/NSBox.m
Source/NSClipView.m
Source/NSTableView.m
Source/NSOutlineView.m


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13276 72102866-910b-0410-8b05-ffd578937521
2002-03-31 15:46:19 +00:00
pyr
34d93685c8 Source/NSTableView.m
Source/NSTableColumn.m


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13269 72102866-910b-0410-8b05-ffd578937521
2002-03-29 16:04:24 +00:00
nico
e66c02b88e added support for home directory image
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13262 72102866-910b-0410-8b05-ffd578937521
2002-03-28 13:23:38 +00:00
fedor
53bd496a00 Split into Window server and graphic context handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13256 72102866-910b-0410-8b05-ffd578937521
2002-03-28 03:53:18 +00:00
nico
0facb3977e Removed private class
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13254 72102866-910b-0410-8b05-ffd578937521
2002-03-28 02:52:53 +00:00
gcasa
16d024bf31 Makde some enhancements to make NSOutlineView much faster for large sets of items.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13253 72102866-910b-0410-8b05-ffd578937521
2002-03-28 00:23:37 +00:00
pyr
5947f65588 Source/NSScrollView.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13241 72102866-910b-0410-8b05-ffd578937521
2002-03-26 16:39:20 +00:00
pyr
087f994a95 Source/NSBundleAdditions.m
Source/NSTableView.m
Source/NSScrollView.m


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13240 72102866-910b-0410-8b05-ffd578937521
2002-03-26 16:24:42 +00:00
nico
09b2dba5cc Removed GSTransparentView from GSTable which was making it more difficult
to port to OS X


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13239 72102866-910b-0410-8b05-ffd578937521
2002-03-26 13:46:58 +00:00
fedor
0802b70a1a Use new unicode functions for conversion
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13226 72102866-910b-0410-8b05-ffd578937521
2002-03-25 04:06:03 +00:00
nico
42a01500ff Fixed typo in last commit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13224 72102866-910b-0410-8b05-ffd578937521
2002-03-25 02:27:35 +00:00
gcasa
53fba368d2 Removed some NSLog statements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13218 72102866-910b-0410-8b05-ffd578937521
2002-03-24 02:49:38 +00:00
gcasa
07925a8b3f Adding improved implementation of NSOutlineView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13217 72102866-910b-0410-8b05-ffd578937521
2002-03-23 16:39:19 +00:00
nico
7472294244 Class (re)written
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13204 72102866-910b-0410-8b05-ffd578937521
2002-03-22 13:23:07 +00:00
nico
946f75deb4 Made a check for line range stricter ... apparently because of a bug
elsewhere, the stricter check is needed to prevent a crash


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13202 72102866-910b-0410-8b05-ffd578937521
2002-03-22 11:46:08 +00:00
pyr
4e0b9fd45d Source/NSOutlineView.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13198 72102866-910b-0410-8b05-ffd578937521
2002-03-22 01:14:35 +00:00
pyr
9904d58b7f Source/NSOutlineView.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13194 72102866-910b-0410-8b05-ffd578937521
2002-03-22 00:29:41 +00:00
pyr
8da1c21686 Source/NSOutlineView.m
Headers/gnustep/gui/NSOutlineView.h


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13193 72102866-910b-0410-8b05-ffd578937521
2002-03-22 00:15:03 +00:00
pyr
e878c4983e Source/NSTableHeaderView.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13192 72102866-910b-0410-8b05-ffd578937521
2002-03-21 23:51:39 +00:00
pyr
56b8763506 Source/NSTableView.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13191 72102866-910b-0410-8b05-ffd578937521
2002-03-21 23:50:07 +00:00
pyr
4fa33c8a8c Source/NSEvent.m
Source/NSScroller.m


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13187 72102866-910b-0410-8b05-ffd578937521
2002-03-21 21:47:15 +00:00
fedor
60d34039cc For resize, get new fram origin in event location field
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13160 72102866-910b-0410-8b05-ffd578937521
2002-03-19 20:10:26 +00:00
nico
617bf4c17b Made it compile again
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13146 72102866-910b-0410-8b05-ffd578937521
2002-03-18 16:19:07 +00:00
pyr
6382945744 Source/GSTextStorage.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13137 72102866-910b-0410-8b05-ffd578937521
2002-03-17 20:05:20 +00:00
pyr
67145e87ad Source/NSTableView.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13135 72102866-910b-0410-8b05-ffd578937521
2002-03-17 19:19:35 +00:00
nico
f07049494b Removed some symbols no longer used
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13083 72102866-910b-0410-8b05-ffd578937521
2002-03-11 17:12:29 +00:00
CaS
0148789b5a More server improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13069 72102866-910b-0410-8b05-ffd578937521
2002-03-10 08:09:39 +00:00
fedor
b2a903ad61 Fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13063 72102866-910b-0410-8b05-ffd578937521
2002-03-09 19:44:39 +00:00
CaS
53053ea116 Improved NSHosting support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13062 72102866-910b-0410-8b05-ffd578937521
2002-03-09 19:35:59 +00:00
fedor
840e111ab2 Check for nil object before assigning struct
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13059 72102866-910b-0410-8b05-ffd578937521
2002-03-09 17:24:53 +00:00
CaS
72eebb581f Avoid crashing from removal of subview.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13051 72102866-910b-0410-8b05-ffd578937521
2002-03-08 17:38:23 +00:00
nico
097ce2e806 Fixed segmentation fault on deallocating
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13032 72102866-910b-0410-8b05-ffd578937521
2002-03-07 10:41:36 +00:00
nico
0561761693 Use the system font as default font, not the user font
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13031 72102866-910b-0410-8b05-ffd578937521
2002-03-07 10:41:12 +00:00
CaS
01f49716d8 Text storage bugfix and view deallocation bugfix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13019 72102866-910b-0410-8b05-ffd578937521
2002-03-06 09:49:07 +00:00
gcasa
336ee66d13 Updated NSOutlineView to use a 0 based approach to retrieving children instead of a 1 based approach.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13017 72102866-910b-0410-8b05-ffd578937521
2002-03-06 01:45:33 +00:00
gcasa
05faf51cfd Changed image to lighten it. Added code to NSOutlineView to take advantage of Pierre's modifications to NSTableView.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12980 72102866-910b-0410-8b05-ffd578937521
2002-03-04 23:53:27 +00:00
CaS
a84ad28ab7 Fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12976 72102866-910b-0410-8b05-ffd578937521
2002-03-04 19:48:48 +00:00
CaS
ced8958a2a Fixed bad type check.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12975 72102866-910b-0410-8b05-ffd578937521
2002-03-04 19:47:21 +00:00
CaS
d3ab3f6c6c Support full documented API
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12974 72102866-910b-0410-8b05-ffd578937521
2002-03-04 19:32:44 +00:00
pyr
db8ad4a0e5 Source/NSTableView.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12971 72102866-910b-0410-8b05-ffd578937521
2002-03-04 17:37:35 +00:00
nico
ea5e8e6ae4 Do not include IMLoading.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12967 72102866-910b-0410-8b05-ffd578937521
2002-03-04 11:13:58 +00:00
CaS
5d4a689b69 Bugfixes for adding/removing accessory views.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12964 72102866-910b-0410-8b05-ffd578937521
2002-03-04 09:57:29 +00:00
gcasa
c5fec4c029 Made modifications to NSOutlineView to make it usable. Added an image to mark unexpandable items. GJC
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12959 72102866-910b-0410-8b05-ffd578937521
2002-03-03 05:58:51 +00:00
gcasa
cf88575ea4 Added new graphics for NSOutlineView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12958 72102866-910b-0410-8b05-ffd578937521
2002-03-02 22:20:52 +00:00
CaS
7e67ca932b Lots of documentation and fixes added
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12955 72102866-910b-0410-8b05-ffd578937521
2002-03-02 17:40:11 +00:00
CaS
5be8e74890 Implement buttonNumber
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12950 72102866-910b-0410-8b05-ffd578937521
2002-03-02 09:38:17 +00:00
CaS
4f5825c6a0 Rename middl toother mouse
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12948 72102866-910b-0410-8b05-ffd578937521
2002-03-02 07:23:18 +00:00
michael
5f688fbf6e Improvements for popupbuttons.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12946 72102866-910b-0410-8b05-ffd578937521
2002-03-01 23:25:06 +00:00
pyr
96d1677383 Source/NSBundleAdditions.m
Headers/gnustep/gui/NSNibLoading.h


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12931 72102866-910b-0410-8b05-ffd578937521
2002-03-01 14:41:59 +00:00
pyr
db98f96fca Source/NSEvent.h
Headers/gnustep/gui/NSEvent.h
Source/NSResponder.m
Source/NSScrollView.m


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12908 72102866-910b-0410-8b05-ffd578937521
2002-02-28 21:45:38 +00:00
nico
5011b6dac9 Tidied - standardized including headers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12892 72102866-910b-0410-8b05-ffd578937521
2002-02-28 16:07:47 +00:00
nico
e9fef1c32f Removed old obsolete code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12890 72102866-910b-0410-8b05-ffd578937521
2002-02-28 16:05:40 +00:00
nico
8394ef4ac9 Removed class name symbol no longer in the library
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12889 72102866-910b-0410-8b05-ffd578937521
2002-02-28 16:04:44 +00:00
fedor
60c1900b57 Move context creating from backend here.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12888 72102866-910b-0410-8b05-ffd578937521
2002-02-28 15:28:51 +00:00
nico
5608e84bc0 Implemented support for describing multi-stroke keybindings using arrays
as keys


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12870 72102866-910b-0410-8b05-ffd578937521
2002-02-28 01:58:00 +00:00
nico
bbee342787 When adding new multi-stroke keybindings with the same prefix, don't discard
the old ones


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12868 72102866-910b-0410-8b05-ffd578937521
2002-02-28 01:32:40 +00:00
nico
34355b80ed Updated copyright notice
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12867 72102866-910b-0410-8b05-ffd578937521
2002-02-28 01:30:10 +00:00
nico
b720976750 Fixed bug in deleting characters in a textfield
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12865 72102866-910b-0410-8b05-ffd578937521
2002-02-28 01:25:49 +00:00
FredKiefer
b4e4e22052 Implemented [moveToBeginningOfParagraph:] and [moveToEndOfParagraph:].
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12858 72102866-910b-0410-8b05-ffd578937521
2002-02-27 23:36:13 +00:00
FredKiefer
e8ae30faea Implemented extra line fragment methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12857 72102866-910b-0410-8b05-ffd578937521
2002-02-27 23:35:48 +00:00
FredKiefer
e68f00d4fa [_relocLayoutArray:offset:floatTrift:Change a NSLog() call to NSDebugLog().
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12856 72102866-910b-0410-8b05-ffd578937521
2002-02-27 23:35:05 +00:00
nico
71fb862078 Removed obsolete class NSCStringText
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12854 72102866-910b-0410-8b05-ffd578937521
2002-02-27 23:12:35 +00:00
nico
43fd056ab5 Tidied up to prevent compiler warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12853 72102866-910b-0410-8b05-ffd578937521
2002-02-27 23:10:19 +00:00
nico
42c3047441 Do not insert literally control keystrokes unless the default
GSInsertControlKeystrokes is YES.  NSBeep when a function or control key
is typed and is not bound to any action


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12851 72102866-910b-0410-8b05-ffd578937521
2002-02-27 21:06:29 +00:00
nico
06a80d198d Added insertText:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12849 72102866-910b-0410-8b05-ffd578937521
2002-02-27 21:04:37 +00:00
pyr
c7c63a3dc4 Source/NSSplitView.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12843 72102866-910b-0410-8b05-ffd578937521
2002-02-27 16:58:35 +00:00
FredKiefer
2862057921 Added method [copySelection] and [pasteSelection] to put the
selected text in special pasteboard. The first gets called by
[setSelectedRange:affinity:stillSelecting:] while the later is
bound to [middleMouseUp:]. (This is hard coded, could the key
binding code handle this?)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12815 72102866-910b-0410-8b05-ffd578937521
2002-02-27 09:41:20 +00:00
FredKiefer
19938dec20 Removed some now unneeded FIXME.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12814 72102866-910b-0410-8b05-ffd578937521
2002-02-27 09:40:49 +00:00
FredKiefer
52d70b9d02 [graphicsContextWithAttributes] always autorelease the context.
Moved the unsetting of the current context from [dealloc] to
[destroyContext] otherwise the current context can never be freed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12813 72102866-910b-0410-8b05-ffd578937521
2002-02-27 09:40:22 +00:00
gcasa
95c7931f6c Further improvements to NSOutlineView. GJC
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12806 72102866-910b-0410-8b05-ffd578937521
2002-02-27 06:05:33 +00:00
nico
3a6a65ae50 Set frame of the new selected view before adding it
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12802 72102866-910b-0410-8b05-ffd578937521
2002-02-26 19:11:21 +00:00
nico
b74ea57ae9 Fixed fontWithName:size: to work for 0.0 size
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12800 72102866-910b-0410-8b05-ffd578937521
2002-02-26 18:31:07 +00:00
FredKiefer
12ce22bf59 [NSIconWindow orderWindow:relativeTo:] don't complain about order
out if application is closing.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12780 72102866-910b-0410-8b05-ffd578937521
2002-02-26 14:38:50 +00:00
FredKiefer
49dbd281e8 [GSCacheW _initDefaults] set window not to be released when
closed. As NSApp now closes all windows on terminate.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12779 72102866-910b-0410-8b05-ffd578937521
2002-02-26 14:38:19 +00:00
FredKiefer
dd2c17aa3b [setSize:] recache representations if size changes.
[recache] throw old caches away as size may have changed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12778 72102866-910b-0410-8b05-ffd578937521
2002-02-26 14:37:55 +00:00
nico
b98809dc01 Added code to decode old cells as well because decoding the popup button needs
it


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12767 72102866-910b-0410-8b05-ffd578937521
2002-02-25 20:07:45 +00:00
fedor
a324ac0bdf Remove NSImage hack, other fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12763 72102866-910b-0410-8b05-ffd578937521
2002-02-25 17:39:11 +00:00
nico
04815b62ce Changed name of user defaults used to determine whether to show or not dot files
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12756 72102866-910b-0410-8b05-ffd578937521
2002-02-25 14:54:37 +00:00
nico
7c71b6adc8 Hand a NSFlagsChanged event to the _firstResonder flagsChanges: method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12751 72102866-910b-0410-8b05-ffd578937521
2002-02-25 14:31:36 +00:00
nico
558ecd6371 Improvements and simplifications
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12746 72102866-910b-0410-8b05-ffd578937521
2002-02-25 13:51:56 +00:00
nico
1114a518b9 Fixed NSLog for when a character name can't be parsed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12739 72102866-910b-0410-8b05-ffd578937521
2002-02-25 04:38:42 +00:00
nico
7c3b562887 Implemented dealloc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12737 72102866-910b-0410-8b05-ffd578937521
2002-02-25 02:18:08 +00:00
nico
3af7dbdf66 Rewritten the keybinding engine
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12735 72102866-910b-0410-8b05-ffd578937521
2002-02-25 01:46:41 +00:00
nico
0b205f5da3 Compile the new files used by the new key binding engine
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12734 72102866-910b-0410-8b05-ffd578937521
2002-02-25 01:46:10 +00:00
nico
2d08521e7b New file used by the new key binding engine
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12733 72102866-910b-0410-8b05-ffd578937521
2002-02-25 01:45:38 +00:00
nico
ad5a1bab49 Added option - controlled by user defaults - not to show files beginning
with . in the save panel.  do not assume that NSFileManager -directoryContentsAtPath:
returns a mutable array


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12717 72102866-910b-0410-8b05-ffd578937521
2002-02-24 11:55:41 +00:00
CaS
50ea9c15ca Glyph storage and comment updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12716 72102866-910b-0410-8b05-ffd578937521
2002-02-24 07:39:18 +00:00
gcasa
1fbdbae507 Further improvements to NSOutlineView class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12713 72102866-910b-0410-8b05-ffd578937521
2002-02-24 03:10:16 +00:00
nico
3843d2a2b3 Autorelease the path returned by +bezierPath; indentation changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12708 72102866-910b-0410-8b05-ffd578937521
2002-02-23 21:56:48 +00:00
gcasa
6fa43db4ec Adding NSOutlineView changes so far so that everyone can see the progress which has been made. GJC
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12704 72102866-910b-0410-8b05-ffd578937521
2002-02-23 16:37:17 +00:00
nico
7354abc723 On startup, display torn off menus when the app did launch, not before, so
that the programmer can set up menus before that


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12702 72102866-910b-0410-8b05-ffd578937521
2002-02-23 12:18:26 +00:00
nico
526728e522 Fixes for memory management ... to help the menus dealloc properly (/dealloc
at all)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12700 72102866-910b-0410-8b05-ffd578937521
2002-02-23 11:58:54 +00:00
nico
6c3c0108da Comment change, debuglog removed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12699 72102866-910b-0410-8b05-ffd578937521
2002-02-23 11:17:51 +00:00
nico
cb5dc2580a Various comments added
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12698 72102866-910b-0410-8b05-ffd578937521
2002-02-23 11:16:59 +00:00
nico
544720e3bc Indented some lines
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12697 72102866-910b-0410-8b05-ffd578937521
2002-02-23 10:38:35 +00:00
nico
f140aff6e3 Fixed a couple of very technical bugs ... pressing TAB between cells while
editing would copy the string, and _editedCells wouldn't get released properly


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12694 72102866-910b-0410-8b05-ffd578937521
2002-02-23 01:12:26 +00:00
nico
d3646cd45e Don't remove the window autosave frame for the user defaults on dealloc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12692 72102866-910b-0410-8b05-ffd578937521
2002-02-22 23:05:06 +00:00
nico
c6115f8a6e During dealloc, set the main and window menu to nil after releasing them,
so we don't try updating them later on in the shutdown process


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12691 72102866-910b-0410-8b05-ffd578937521
2002-02-22 23:04:25 +00:00
nico
c5b981b69d Fixed destroying the run loop at the exit of the application
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12689 72102866-910b-0410-8b05-ffd578937521
2002-02-22 22:39:46 +00:00
nico
e541d445bf Use an autoreleasepool during application termination to make sure
all resources are freed


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12684 72102866-910b-0410-8b05-ffd578937521
2002-02-22 18:24:11 +00:00
nico
394ae0ee4f Indented line
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12681 72102866-910b-0410-8b05-ffd578937521
2002-02-22 17:17:01 +00:00
nico
21f689b955 Start the memory panel when you click on the application icon
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12644 72102866-910b-0410-8b05-ffd578937521
2002-02-22 01:33:07 +00:00
nico
ab75e773a8 Simplified sending keyUp: ... send them to the current first responder
rather than trying to save the original first responder


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12630 72102866-910b-0410-8b05-ffd578937521
2002-02-21 23:40:39 +00:00
nico
59152dc861 Fixed my last commit to actually change the menu item in the Windows menu
if the window title has changed


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12616 72102866-910b-0410-8b05-ffd578937521
2002-02-21 11:11:25 +00:00
nico
7e590b5137 Fixed problem on mouseDown:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12611 72102866-910b-0410-8b05-ffd578937521
2002-02-20 23:13:15 +00:00
nico
296bb40b30 Minor optimization - if adding a windows menu entry which already exists,
simply do nothing


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12610 72102866-910b-0410-8b05-ffd578937521
2002-02-20 23:10:15 +00:00
CaS
b5dad7bf50 More layout fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12608 72102866-910b-0410-8b05-ffd578937521
2002-02-20 19:39:15 +00:00
nico
2b92aca887 Compile GSMemoryPanel.m and install GSMemoryPanel.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12601 72102866-910b-0410-8b05-ffd578937521
2002-02-20 19:22:16 +00:00
nico
ec80df96a9 New file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12600 72102866-910b-0410-8b05-ffd578937521
2002-02-20 19:21:43 +00:00
CaS
415e49b24b Glyph handling improvments.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12570 72102866-910b-0410-8b05-ffd578937521
2002-02-20 08:52:39 +00:00
pyr
3b0b8a7f1a Source/NSTableView.m (see changelog)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12565 72102866-910b-0410-8b05-ffd578937521
2002-02-19 18:49:50 +00:00
nico
6782dacce1 Fix for release count going below zero in dealloc :-)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12563 72102866-910b-0410-8b05-ffd578937521
2002-02-19 12:03:08 +00:00
gcasa
e9d31c2af3 Made correction necessary for NSWindow.m to build w/ gcc < 3.0. This is necessary to support systems with earlier compilers (such as Darwin).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12562 72102866-910b-0410-8b05-ffd578937521
2002-02-19 02:33:52 +00:00
pyr
922d3feac6 Source/NSTableHeaderView.m ([-mouseDown:]): redraw the headercell when
column reordering is on.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12561 72102866-910b-0410-8b05-ffd578937521
2002-02-18 21:39:31 +00:00
pyr
3c89f1701f Source/NSWindow.m ([NSWindow -close]): ignore the call if the window
is already closed


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12558 72102866-910b-0410-8b05-ffd578937521
2002-02-18 12:10:06 +00:00
pyr
19b6a559dd Source/NSApplication (terminate:): send close method to all windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12557 72102866-910b-0410-8b05-ffd578937521
2002-02-17 23:38:34 +00:00
CaS
8270dcc256 Improved autogsdoc flags
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12546 72102866-910b-0410-8b05-ffd578937521
2002-02-14 14:20:42 +00:00
nico
368dda2595 Do not draw state image for popup buttons ... in an efficient way
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12544 72102866-910b-0410-8b05-ffd578937521
2002-02-14 13:41:34 +00:00
nico
6db01c15c7 Fixed for drawing with no state image
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12543 72102866-910b-0410-8b05-ffd578937521
2002-02-14 13:36:37 +00:00
nico
d24a925169 Added suggestion for further improvement in comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12542 72102866-910b-0410-8b05-ffd578937521
2002-02-14 13:24:01 +00:00
CaS
9757b7d2e2 Tidied to refrain from acessing GNUSTEP_USER_ROOT directly
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12537 72102866-910b-0410-8b05-ffd578937521
2002-02-13 21:57:48 +00:00
CaS
262f141efc Tiny performance hack
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12534 72102866-910b-0410-8b05-ffd578937521
2002-02-13 21:10:55 +00:00
pyr
5332b6b081 correction to remove warning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12524 72102866-910b-0410-8b05-ffd578937521
2002-02-13 17:38:57 +00:00
pyr
9bdd50a46a Source/NSTableView.m: all variable declarations at the blocks' starts
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12523 72102866-910b-0410-8b05-ffd578937521
2002-02-13 17:25:55 +00:00
pyr
be44d27d7f Source/NSTableHeaderCell.m: all variable declarations at the blocks' starts
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12522 72102866-910b-0410-8b05-ffd578937521
2002-02-13 17:11:02 +00:00
pyr
61ca390121 * Source/NSTableHeaderCell.m: New drawing code, support for
highlighted cells.
* Source/NSTableHeaderView.m: support for drawing highlighted
  column, support for NSTableView mouseDownInHeaderOfTableColumn:
  and didClickTableColumn: delegate messages.
* Source/NSTableView.m: rewrite of -mouseDown method.
  rewrite of selection handling to fully support the specs
  new tableView:didClickTableColumn: and
  tableView:mouseDownInHeaderOfTableColumn delegate messages
  [NSTableView -setHighlightedTableColumn:]
  [NSTableView -highlightedTableColumn]: methods implemented.
* Headers/gnustep/gui/NSTableView.h:
  new _highlightedTableColumn ivar.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12521 72102866-910b-0410-8b05-ffd578937521
2002-02-13 16:34:40 +00:00
CaS
f79426e03c minor fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12513 72102866-910b-0410-8b05-ffd578937521
2002-02-12 19:10:31 +00:00
nico
166c60efbe Updated for changes in semantics of NSMutableAttributedString -string
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12497 72102866-910b-0410-8b05-ffd578937521
2002-02-11 17:21:13 +00:00
nico
48cddb85f1 Always update the internal knowledge of the first text view when a
text container tells us that it has changed text view


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12493 72102866-910b-0410-8b05-ffd578937521
2002-02-11 16:37:21 +00:00
nico
7cf324ce6f Always inform the layout manager that the textview is changed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12492 72102866-910b-0410-8b05-ffd578937521
2002-02-11 16:36:55 +00:00
CaS
702fe96ffb nib loading fix added.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12491 72102866-910b-0410-8b05-ffd578937521
2002-02-11 16:29:15 +00:00
CaS
a9c23f7485 Add patch to avoid unnecessary redrawing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12490 72102866-910b-0410-8b05-ffd578937521
2002-02-11 14:06:00 +00:00
nico
cabaf9f027 Fixed dealloc so that it can dealloc a layout manager which has not been
-init


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12484 72102866-910b-0410-8b05-ffd578937521
2002-02-11 02:42:12 +00:00
nico
42a7108f85 Updated setup of the text system for changes in NSLayoutManager
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12482 72102866-910b-0410-8b05-ffd578937521
2002-02-11 02:02:10 +00:00
nico
3a6b867d04 Fixed problems with no text container being set ... typically happening
early during initialization


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12481 72102866-910b-0410-8b05-ffd578937521
2002-02-11 02:01:29 +00:00
nico
f5320a793f Fixed method returning a text container for when there is no text
container set ... typically happening during text system setup


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12480 72102866-910b-0410-8b05-ffd578937521
2002-02-11 02:00:35 +00:00
pyr
519d3dd312 [GSFontInfo -defaultLineHeightForFont]: descender is substracted not
added to ascender to give the lineHeight


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12474 72102866-910b-0410-8b05-ffd578937521
2002-02-09 16:16:00 +00:00
CaS
9362018f8a Patch to check style mask when miniaturising
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12462 72102866-910b-0410-8b05-ffd578937521
2002-02-09 08:58:37 +00:00
nico
f384012a46 Tidied indentation of a line
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12432 72102866-910b-0410-8b05-ffd578937521
2002-02-08 02:01:34 +00:00