wlux
afd9a10680
Fix a rather long standing incompatibility between GNUstep and Cocoa
...
and make -initWithContentRect:styleMask:backing:defer: the designated
initializer of NSWindow.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30368 72102866-910b-0410-8b05-ffd578937521
2010-05-12 14:47:10 +00:00
wlux
ea6095852b
Next attempt at getting .nib file loading right. Make sure that
...
-nibInstantiate is sent to all loaded objects and also make sure that
-awakeFromNib is sent to the nib's owner.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30367 72102866-910b-0410-8b05-ffd578937521
2010-05-12 14:19:55 +00:00
wlux
a3ab75dbd1
Make number of remembered recent documents configurable with a user
...
preference and fix a bug where one extra document was remembered.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30366 72102866-910b-0410-8b05-ffd578937521
2010-05-12 10:24:17 +00:00
wlux
f8ef55b2d8
Fix bug where some objects loaded from a .xib file were not sent an
...
-awakeFromNib message.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30365 72102866-910b-0410-8b05-ffd578937521
2010-05-12 09:51:45 +00:00
wlux
048e22fe5a
Fix a small glitch in the previous commit and make use of the setter
...
method to initialize the private name attribute of an NSMenu.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30364 72102866-910b-0410-8b05-ffd578937521
2010-05-12 09:15:25 +00:00
wlux
948014105b
Add a private name attribute to menus to identify special purpose
...
menus. Fixes a bug where the services, windows, and recent documents
menu were defunct when loading the menu from a .nib file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30363 72102866-910b-0410-8b05-ffd578937521
2010-05-12 09:02:25 +00:00
wlux
06f3192de9
Add an attribute to NSDocumentController to maintain the recent
...
documents menu. Make the methods to access that menu available to
other classes in -gui.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30362 72102866-910b-0410-8b05-ffd578937521
2010-05-12 08:17:26 +00:00
wlux
ad6813556f
Fix bug where some objects loaded from a .nib file were not sent an
...
-awakeFromNib message.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30361 72102866-910b-0410-8b05-ffd578937521
2010-05-12 07:59:57 +00:00
fredkiefer
e45e3bc0b0
Remove compiler warning for NSBrowser header cell drawing.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30360 72102866-910b-0410-8b05-ffd578937521
2010-05-11 16:48:44 +00:00
rfm
68a1850fd5
Attempt fix for Riccardos's latest issue.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30328 72102866-910b-0410-8b05-ffd578937521
2010-05-09 06:55:33 +00:00
fredkiefer
b308995696
Make dealloc of NSWindow a tiny bit saver.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30321 72102866-910b-0410-8b05-ffd578937521
2010-05-08 20:18:14 +00:00
wlux
8af0ab6112
Fix a regression where a window's content view was improperly resized
...
when toggleToolbarShown: makes its toolbar visible again.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30319 72102866-910b-0410-8b05-ffd578937521
2010-05-07 18:22:13 +00:00
fredkiefer
afc320aacf
Add method directoryURL to NSSavePanel.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30278 72102866-910b-0410-8b05-ffd578937521
2010-05-02 10:21:40 +00:00
fedor
f95229cbbc
* configure, configure.ac, Headers/Additions/GNUstepGUI/config.h.in,
...
Source/NSSliderCell.m: Check for atan2f function (not present on
old Solaris systems for instance).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30254 72102866-910b-0410-8b05-ffd578937521
2010-04-28 18:14:43 +00:00
dpsimons
08f19c72bf
fix occasional exception while dragging
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30234 72102866-910b-0410-8b05-ffd578937521
2010-04-24 19:43:35 +00:00
dpsimons
a3603ff386
Handle nil view passed to _checkTrackingRectangles:forEvent:
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30233 72102866-910b-0410-8b05-ffd578937521
2010-04-24 17:21:22 +00:00
dpsimons
7a815aa384
Only rebuild in-window menus when needed (significant performance improvement)
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30232 72102866-910b-0410-8b05-ffd578937521
2010-04-24 17:12:35 +00:00
ericwa
329dc9aef1
gui: fix bug 29635 NSMenuItem -initWithCoder: should set modifier mask to 0 if NSKeyEquivModMask not defined
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30229 72102866-910b-0410-8b05-ffd578937521
2010-04-24 00:03:30 +00:00
jonathanosx
8676ead49c
* Source/NSWindowController.m: Fixed a problem where controller marks
...
the window as loaded even when the nib failed to load.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30227 72102866-910b-0410-8b05-ffd578937521
2010-04-23 19:26:44 +00:00
wlux
ddddcb1144
Fix incorrect return code of NSRunAlertPanel when called in a non-gui
...
application.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30222 72102866-910b-0410-8b05-ffd578937521
2010-04-23 15:12:06 +00:00
dpsimons
259dc054b6
fix problems with overlaps between toolbars, window contents, and in-window menus
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30206 72102866-910b-0410-8b05-ffd578937521
2010-04-20 19:37:10 +00:00
dpsimons
4f04ae9d0d
Honor sendsActionOnEndEditing setting when editing ended by something other than return
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30196 72102866-910b-0410-8b05-ffd578937521
2010-04-19 17:11:25 +00:00
ericwa
dcebe1ef37
NSBrowser header themeing
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30189 72102866-910b-0410-8b05-ffd578937521
2010-04-19 03:14:36 +00:00
ericwa
5767b71934
core/gui: Add an option to turn off the inner border lines in NSScrollView which look bad on any non-NeXT like theme
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30186 72102866-910b-0410-8b05-ffd578937521
2010-04-18 22:39:18 +00:00
rmottola
a4fb383863
removed c99isms
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30175 72102866-910b-0410-8b05-ffd578937521
2010-04-16 18:58:26 +00:00
ericwa
9da9dae16e
NSSegmentedCell initWithCoder: fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30171 72102866-910b-0410-8b05-ffd578937521
2010-04-15 19:46:59 +00:00
wlux
b245fb9d7d
When editing of a text field ends after pressing the Return key and no
...
(other) view has become first responder make the text field itself
first responder by selecting its text just like this is done after
pressing Tab and Shift-Tab.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30145 72102866-910b-0410-8b05-ffd578937521
2010-04-14 07:11:50 +00:00
rmottola
ee1aa5dc70
removed c99-ism
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30144 72102866-910b-0410-8b05-ffd578937521
2010-04-13 22:54:33 +00:00
dpsimons
1f5719db0b
Fix numerous issues with toolbar customization
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30143 72102866-910b-0410-8b05-ffd578937521
2010-04-13 21:38:31 +00:00
jonathanosx
b0b25e2f29
* Source/GSToolTips.m: Use a single retained window for tooltips instead of a
...
newly created one each time. This significantly reduces callback interaction
with MS-Windows callbacks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30141 72102866-910b-0410-8b05-ffd578937521
2010-04-13 18:59:45 +00:00
fredkiefer
f4908e6f24
* Source/NSBitmapImageRep+JPEG.m (-_JPEGRepresentationWithProperties:errorMessage:): Use the
...
correct size for the structure in memset.
Patch by Philippe Roussel <p.o.roussel@free.fr>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30132 72102866-910b-0410-8b05-ffd578937521
2010-04-12 14:27:37 +00:00
ericwa
f2fd7b10c2
Fix for delivery of rightMouseDragged: and otherMouseDragged: which were not working
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30120 72102866-910b-0410-8b05-ffd578937521
2010-04-11 00:31:59 +00:00
theraven
3da9ac45b7
Lots of small tweaks to make -gui compile without warnings with clang.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30119 72102866-910b-0410-8b05-ffd578937521
2010-04-10 20:33:30 +00:00
theraven
3529a217e2
Expand RETAIN()/RELEASE() macros calling super (work around for clang PR6811).
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30118 72102866-910b-0410-8b05-ffd578937521
2010-04-10 17:48:49 +00:00
fredkiefer
cec34abb20
Remove compiler warnings from clang.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30117 72102866-910b-0410-8b05-ffd578937521
2010-04-10 17:48:46 +00:00
jonathanosx
220882c69c
Source/GSToolTips.m: Prevent Windows API callback from crashing when displaying tooltips.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30105 72102866-910b-0410-8b05-ffd578937521
2010-04-08 17:49:47 +00:00
fredkiefer
851b8ece4d
Final set of #include -> #import replacement in additional headers.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30097 72102866-910b-0410-8b05-ffd578937521
2010-04-07 08:59:43 +00:00
fredkiefer
211d150a79
Remove some stupid compiler warnings.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30091 72102866-910b-0410-8b05-ffd578937521
2010-04-06 08:12:47 +00:00
fredkiefer
d4b51a7b63
Avoid compiler warnings from old compilers.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30089 72102866-910b-0410-8b05-ffd578937521
2010-04-05 18:20:24 +00:00
dpsimons
b3bb898eba
Fix problems with next key view chain
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30088 72102866-910b-0410-8b05-ffd578937521
2010-04-05 16:59:51 +00:00
dpsimons
d5c7b875c9
Fix crash caused by close being called recursively
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30087 72102866-910b-0410-8b05-ffd578937521
2010-04-05 16:07:46 +00:00
dpsimons
a6b0dc31cd
fix problem with drawer window being shown prematurely
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30086 72102866-910b-0410-8b05-ffd578937521
2010-04-05 15:31:48 +00:00
fredkiefer
bee71b7d8b
Final part of #include -> #import replacement in official headers.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30084 72102866-910b-0410-8b05-ffd578937521
2010-03-31 21:21:18 +00:00
fredkiefer
3d559c477e
Yet another set of #include -> #import replacement.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30083 72102866-910b-0410-8b05-ffd578937521
2010-03-31 08:14:50 +00:00
gcasa
025a72aaca
* Source/NSTableView.m: Add nil check to make sure that the
...
nil values set for certain keys don't get set since they are
normally set by connections later in the nib loading process.
I'm not sure why IB includes these when they're set to nil.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30082 72102866-910b-0410-8b05-ffd578937521
2010-03-31 04:02:03 +00:00
fredkiefer
e5373254e4
Use NSNibOwner instead of @"NSOwner". Remove the hard coded "gorm"
...
extension. Try to use higher level NIB loading methods where possible.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30077 72102866-910b-0410-8b05-ffd578937521
2010-03-30 07:54:04 +00:00
wlux
b69e5ffdbd
Remove a stray semicolon, which made NSWindow ignore all GSAppKitWindowLeave
...
events. This was the cause for, e.g., somewhat too sticky tooltips.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30075 72102866-910b-0410-8b05-ffd578937521
2010-03-30 07:28:05 +00:00
wlux
615f8a31c0
Attempt to improve a possibly misleading comment about releasing top
...
level objects of a gorm/nib file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30074 72102866-910b-0410-8b05-ffd578937521
2010-03-30 07:09:44 +00:00
fredkiefer
1f85c0a65f
This should have been in the previous commit instead of NSPasteboard.h
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30071 72102866-910b-0410-8b05-ffd578937521
2010-03-28 21:34:13 +00:00
fredkiefer
a3f75b271f
Rewrite of top level object handling in NIB/Gorm/Xib loading.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30070 72102866-910b-0410-8b05-ffd578937521
2010-03-28 21:33:08 +00:00
wlux
6ffe3918e5
Implement additional NSResponder action methods to scroll to the
...
beginning and end of a document, respectively.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30057 72102866-910b-0410-8b05-ffd578937521
2010-03-27 22:03:34 +00:00
wlux
e23c76d028
Change move word forwoard to move to the next end of a word rather
...
than the beginning of the next word so users can quickly navigate to
either end of words.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30056 72102866-910b-0410-8b05-ffd578937521
2010-03-27 21:51:33 +00:00
wlux
d0a7bfda42
Usability improvements: When setting the cursor to the beginning of a
...
line, set the typing attributes to the attributes of the first character
of that line rather than the preceding newline. When deleting text, set
the typing attributes to those of the first deleted character rather
than those of the character preceding the deleted range.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30055 72102866-910b-0410-8b05-ffd578937521
2010-03-27 21:41:29 +00:00
wlux
21b251d643
Allow shift-clicking in a text view to shrink the current selection.
...
Comes handy when you accidentally selected a few characters too much.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30054 72102866-910b-0410-8b05-ffd578937521
2010-03-27 21:29:02 +00:00
wlux
3d5ef6c541
Select pasted text in a text view after a DnD operation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30053 72102866-910b-0410-8b05-ffd578937521
2010-03-27 21:17:00 +00:00
wlux
515f6d28de
Show a document's represented file name in the title of its window
...
also when its display name is equal to the last path component of the
file name, since that is what NSDocument uses by default for
compatibility with OS X.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30052 72102866-910b-0410-8b05-ffd578937521
2010-03-27 21:06:45 +00:00
wlux
6fe88f9e37
Extend lifetime of a window controller to the end of the current event
...
cycle when its window is closed to prevent crashes due to a premature
release after the latest nib loading changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30051 72102866-910b-0410-8b05-ffd578937521
2010-03-27 20:53:48 +00:00
theraven
14205ea54b
Removed all uses of @defs() from -gui, so it now compiles cleanly with the non-fragile ABI. All ivars that must be accessed from other classes are now wrapped in PACKAGE_SCOPE. With clang, this expands to @package, with GCC it expands to @public.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30045 72102866-910b-0410-8b05-ffd578937521
2010-03-27 00:01:03 +00:00
rmottola
b06fb57e31
removed c99-isms
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30041 72102866-910b-0410-8b05-ffd578937521
2010-03-26 00:10:45 +00:00
fredkiefer
c06bffe250
Some more #include -> #import replacement.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30036 72102866-910b-0410-8b05-ffd578937521
2010-03-25 21:30:28 +00:00
fredkiefer
a82a10471f
* Source/GSNibLoading.m (NSIBObjectData-nibInstantiateWithOwner:topLevelObjects:): Loop
...
over _names instead of _objects.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30035 72102866-910b-0410-8b05-ffd578937521
2010-03-25 20:41:06 +00:00
fredkiefer
9426e71556
Yet another bit of #include -> #import replacement. Replace includes of Foundation.h.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30034 72102866-910b-0410-8b05-ffd578937521
2010-03-25 09:11:50 +00:00
fredkiefer
c524f07ab6
Another bit of #include -> #import replacement.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30033 72102866-910b-0410-8b05-ffd578937521
2010-03-24 22:41:21 +00:00
dpsimons
f158b0a047
use NSPanel instead of NSWindow for tooltips
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30030 72102866-910b-0410-8b05-ffd578937521
2010-03-24 17:14:34 +00:00
fredkiefer
9768ee6425
Next bit of #include -> #import replacement.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30029 72102866-910b-0410-8b05-ffd578937521
2010-03-24 09:18:14 +00:00
fredkiefer
d2321f05c7
Change tag to NSInteger.
...
Patch by Anibal Rindisbacher <anibal784@gmail.com>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30026 72102866-910b-0410-8b05-ffd578937521
2010-03-23 21:26:24 +00:00
fredkiefer
a6880c0f99
* Source/NSTextContainer.m (-replaceLayoutManager:): Retain the
...
text storage while replacing the layout manager. See last patch.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30025 72102866-910b-0410-8b05-ffd578937521
2010-03-23 20:27:23 +00:00
fredkiefer
8561ca5047
Small improvements on XIB loading.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30023 72102866-910b-0410-8b05-ffd578937521
2010-03-23 07:15:17 +00:00
fredkiefer
6748c36979
Fix issues with last commit.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30019 72102866-910b-0410-8b05-ffd578937521
2010-03-22 21:25:35 +00:00
fredkiefer
444b0fc6db
Get the class NSNib to work and use it in NSBundleAdditions.
...
Restructure top level object handling for NIB loading.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30018 72102866-910b-0410-8b05-ffd578937521
2010-03-22 09:08:50 +00:00
fredkiefer
ec2ea1114d
Workaround for Bean NIB loading issue.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30016 72102866-910b-0410-8b05-ffd578937521
2010-03-21 23:27:47 +00:00
ericwa
402a8fef59
Fix for NSSearchField not sending action messages during typing
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30011 72102866-910b-0410-8b05-ffd578937521
2010-03-20 20:57:15 +00:00
fredkiefer
0e91a1f652
Small improvements to NIB loading.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30010 72102866-910b-0410-8b05-ffd578937521
2010-03-20 17:23:10 +00:00
fredkiefer
fa7360af1e
Clean up includes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30009 72102866-910b-0410-8b05-ffd578937521
2010-03-20 14:09:02 +00:00
jonathanosx
808f778c16
Don't attempt to add a nil sort descriptor
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30005 72102866-910b-0410-8b05-ffd578937521
2010-03-19 23:39:07 +00:00
fredkiefer
c24eef3a7c
Remove includes of GSCategories.h, as this file no longer exists.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30000 72102866-910b-0410-8b05-ffd578937521
2010-03-19 08:18:43 +00:00
fredkiefer
b6c4bb0066
* Source/NSBitmapImageRep+JPEG.m: Put cinfo into a defined state
...
before using it.
Patch by Vincent Richomme <forumer@smartmobili.com>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29998 72102866-910b-0410-8b05-ffd578937521
2010-03-18 08:36:28 +00:00
fredkiefer
8b4249dddd
* Source/NSTextView.m (-readSelectionFromPasteboard:type:): Fix
...
potential memory leak for colour pasting.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29992 72102866-910b-0410-8b05-ffd578937521
2010-03-17 09:36:19 +00:00
ericwa
6a14a009a2
NSSliderCell: implement circular sliders
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29985 72102866-910b-0410-8b05-ffd578937521
2010-03-17 00:18:30 +00:00
fredkiefer
bb364f992c
Handle events of type flagschanged correctly.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29978 72102866-910b-0410-8b05-ffd578937521
2010-03-16 09:15:54 +00:00
rfm
937ea133cb
uninitialised var fix suggested by Anibal Rindisbacher <anibal784@gmail.com>
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29970 72102866-910b-0410-8b05-ffd578937521
2010-03-15 21:26:06 +00:00
fredkiefer
ef8700cc8e
Correct the decoding of the <bytes> element. Now colour are correct.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29964 72102866-910b-0410-8b05-ffd578937521
2010-03-15 13:10:05 +00:00
fredkiefer
60daf66eb6
Small keyed decoing improvements.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29963 72102866-910b-0410-8b05-ffd578937521
2010-03-15 12:55:12 +00:00
fredkiefer
93e1163bde
Retain teh text view not the layout manager during container replacement.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29960 72102866-910b-0410-8b05-ffd578937521
2010-03-15 11:23:09 +00:00
fredkiefer
bbf6f7bd5e
Better debug output plus minor improvements.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29959 72102866-910b-0410-8b05-ffd578937521
2010-03-15 10:49:21 +00:00
ericwa
7352243ba7
NSOpenGLView: fix resising when loaded from nibs
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29956 72102866-910b-0410-8b05-ffd578937521
2010-03-15 00:11:11 +00:00
fredkiefer
951bca9ec0
Add file for basic XIB loading. This is only partly working and will
...
need some more polishing and testing. Feel free to help with that.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29955 72102866-910b-0410-8b05-ffd578937521
2010-03-14 23:07:53 +00:00
espectador
15ad2b586f
Added missing internationalisation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29937 72102866-910b-0410-8b05-ffd578937521
2010-03-14 05:45:53 +00:00
espectador
13132c1620
Corrected the title of print panel
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29934 72102866-910b-0410-8b05-ffd578937521
2010-03-14 05:06:10 +00:00
fredkiefer
46bba406d0
Add two Cocoa debug helper methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29924 72102866-910b-0410-8b05-ffd578937521
2010-03-13 15:17:21 +00:00
fredkiefer
8924d931c0
* Source/NSBundleAdditions.m (NSNibOutletConnector
...
-establishConnection): Undo the last change to this method, as
it should not retain the assign value.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29923 72102866-910b-0410-8b05-ffd578937521
2010-03-13 13:15:47 +00:00
dpsimons
860014e3a0
Set insertion point _after_ pasted text, don't select it.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29916 72102866-910b-0410-8b05-ffd578937521
2010-03-12 23:38:30 +00:00
dpsimons
6c2256cdd3
fix behavior of simple click within selected text; optimize setNeedsDisplayInRect: when called with empty rect
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29914 72102866-910b-0410-8b05-ffd578937521
2010-03-12 22:50:42 +00:00
dpsimons
2c5b219cd5
Call isFlipped rather than accessing flag directly (fixes a problem with view loaded from a nib)
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29906 72102866-910b-0410-8b05-ffd578937521
2010-03-12 02:08:01 +00:00
wlux
6eaffce9ea
Fix some optimistic coding in NSCell which was causing a crash in
...
AddressManager.app.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29904 72102866-910b-0410-8b05-ffd578937521
2010-03-11 18:43:15 +00:00
dpsimons
802665ebcc
protect changedMessagesEnabled flag; update menus after modal session, key or main window change
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29891 72102866-910b-0410-8b05-ffd578937521
2010-03-09 23:11:40 +00:00
rfm
f6b454e7e1
Fixes for bug #29085
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29864 72102866-910b-0410-8b05-ffd578937521
2010-03-07 08:28:11 +00:00
rfm
949deb4d7a
make non-standard images persist oafter theme has unloaded, in case anything
...
in the gui is still using them.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29851 72102866-910b-0410-8b05-ffd578937521
2010-03-05 10:43:40 +00:00
rfm
7f3482e73a
Updates for changes in base
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29839 72102866-910b-0410-8b05-ffd578937521
2010-03-05 05:18:39 +00:00
fredkiefer
3a1e3b1b35
Started cleanup of #includes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29833 72102866-910b-0410-8b05-ffd578937521
2010-03-04 10:12:13 +00:00
rfm
43a948acf5
Use standard -zone method
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29824 72102866-910b-0410-8b05-ffd578937521
2010-03-03 17:33:29 +00:00
gcasa
1e25c52b89
* Headers/Additions/GNUstepGUI/GSTheme.h: Add category to allow
...
overriding of classes used for save/open panels.
* Source/GNUmakefile: Build new category.
* Source/GSThemeOpenSavePanels.m: Implementation of methods
-savePanelClass and -openPanelClass.
* Source/NSOpenPanel.m: Modifications to use class from current
theme.
* Source/NSSavePanel.m: Modifications to use class from current
theme.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29791 72102866-910b-0410-8b05-ffd578937521
2010-02-28 04:31:54 +00:00
rfm
b26c2b4df6
Fix error updating dynamic services
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29768 72102866-910b-0410-8b05-ffd578937521
2010-02-26 05:20:59 +00:00
gcasa
d3c4c5b0c7
Correction for crash.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29760 72102866-910b-0410-8b05-ffd578937521
2010-02-26 03:39:24 +00:00
rmottola
cbad0e1027
fix c99-ism
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29759 72102866-910b-0410-8b05-ffd578937521
2010-02-25 23:13:08 +00:00
rmottola
e4a081f773
revert accidental commit
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29758 72102866-910b-0410-8b05-ffd578937521
2010-02-25 21:56:34 +00:00
rmottola
d01fcd0e58
revert accidental commit
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29757 72102866-910b-0410-8b05-ffd578937521
2010-02-25 21:49:24 +00:00
rmottola
776d5aa982
fix c99-ism
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29756 72102866-910b-0410-8b05-ffd578937521
2010-02-25 21:41:39 +00:00
jonathanosx
5c1cbe5755
Fix to prevent restoring an NSWindowFrame to a completely off-screen location.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29747 72102866-910b-0410-8b05-ffd578937521
2010-02-25 18:30:10 +00:00
rfm
12deec5de5
simplify and avoid compiler warning
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29733 72102866-910b-0410-8b05-ffd578937521
2010-02-25 09:08:35 +00:00
rfm
4ef6854ec2
tiny cleanup
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29718 72102866-910b-0410-8b05-ffd578937521
2010-02-24 13:48:44 +00:00
rfm
f93a32c846
add missing import of NSScreen.h
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29716 72102866-910b-0410-8b05-ffd578937521
2010-02-24 11:53:53 +00:00
fredkiefer
e845156611
Synchronise the title of a popup cell, when setting its object value.
...
This resolves an issue in SimpleAgenda. Perhaps this call needs to be
moved into one of the selection methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29713 72102866-910b-0410-8b05-ffd578937521
2010-02-24 09:32:35 +00:00
rmottola
8db14fce17
use controlColor to match cocoa behaviour
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29712 72102866-910b-0410-8b05-ffd578937521
2010-02-23 23:05:57 +00:00
wlux
f5dafed11d
Fix NSButtonCell's -setImagePosition: to avoid resetting the button's
...
image or title. Neither of this is desirable as it prevents
temporarily hiding the image or title by changing the image
position. This makes the behavior of -setImagePosition: now fully
compatible with Mac OS X.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29704 72102866-910b-0410-8b05-ffd578937521
2010-02-22 20:50:08 +00:00
jonathanosx
bcfbfe9fe8
Remove PNG is experimental log
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29693 72102866-910b-0410-8b05-ffd578937521
2010-02-20 19:16:20 +00:00
fredkiefer
c6f8e27681
dopt to the fact that NSAffineTransform now uses a matrix of CGFloats.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29688 72102866-910b-0410-8b05-ffd578937521
2010-02-20 16:30:27 +00:00
fredkiefer
ed8ede43f0
Make the signatures of methods consistent between headers and implementation files.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29687 72102866-910b-0410-8b05-ffd578937521
2010-02-20 13:21:57 +00:00
fredkiefer
a67707b682
Fix up teh includes to compile again after latest changes to base. Still
...
plenty of warnings and the result isn't working at least on 64 bit
machines :-(
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29685 72102866-910b-0410-8b05-ffd578937521
2010-02-20 10:40:44 +00:00
wlux
903272b7b4
Extend GSspell server to support multiple languages if aspell has
...
dictionaries for those languages installed.
Note: At present, users or an administrator must manually update the
Info.plist file of GSspell.service to really be able to use languages
besides American English. Hints for a better solution welcome.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29683 72102866-910b-0410-8b05-ffd578937521
2010-02-20 01:27:44 +00:00
wlux
3a8b974deb
Make Spelling panel key only when necessary and fix browser attributes
...
in the panel's gorm file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29682 72102866-910b-0410-8b05-ffd578937521
2010-02-20 00:38:40 +00:00
wlux
5515a56fd2
Usability improvement: Make color and font panels key only when
...
necessary. Avoids annoying and unnecessary focus shifts when changing
colors or fonts.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29681 72102866-910b-0410-8b05-ffd578937521
2010-02-20 00:20:30 +00:00
wlux
11d5564384
Add forgotten test to apply smart insert and delete during drag and
...
drop in a text view only when selection granularity is select by word.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29679 72102866-910b-0410-8b05-ffd578937521
2010-02-19 23:15:13 +00:00
gcasa
87c74dc4c2
* Source/NSWindow.m: Remove private menu - (void) _menuUpdate, since
...
it was causing performance issue on windows as the menu was updating
each time through the runloop.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29668 72102866-910b-0410-8b05-ffd578937521
2010-02-18 22:19:27 +00:00
fredkiefer
b142ff7815
Start cleanup after big base change. Remove the usage of extension
...
methods.
New 10.5 methods on NSCell.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29656 72102866-910b-0410-8b05-ffd578937521
2010-02-17 09:58:38 +00:00
fredkiefer
3205cc4fcc
Small improvements to allow changing of the text container for a text
...
view.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29648 72102866-910b-0410-8b05-ffd578937521
2010-02-15 17:04:17 +00:00
wlux
90b24848cc
Send messages from the Spelling panel down to the responder chain of the
...
main window only, to avoid spell checking the panel's own text field.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29640 72102866-910b-0410-8b05-ffd578937521
2010-02-15 11:44:03 +00:00
wlux
e541ba3bc3
Update the typing attributes of a rich text view also if the selected
...
range has a non-zero length. Fixes a problem where, e.g., corrections
from the spell panel could use wrong attributes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29635 72102866-910b-0410-8b05-ffd578937521
2010-02-15 07:57:11 +00:00
qmathe
7600520a7d
Fixed GSAppKitDraggingDrop event to have a valid location
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29617 72102866-910b-0410-8b05-ffd578937521
2010-02-14 12:15:05 +00:00
ericwa
fd38c0849a
* Source/NSMenu.m: Make the background color of NSMenuPanel clear
...
* Source/GSThemeDrawing.m:
in drawBackgroundForMenuView:withFrame:dirtyRect:horizontal:,
when not using tiles, fill the background of the menu with
the window background color.
Now themes can draw semitransparent menus, and they work properly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29600 72102866-910b-0410-8b05-ffd578937521
2010-02-13 03:24:19 +00:00
gcasa
f7fa51234e
* Source/NSBrowser.m: Make sure that the matrix used in the
...
browser draws its cell backgrounds properly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29598 72102866-910b-0410-8b05-ffd578937521
2010-02-13 00:42:13 +00:00
ericwa
fb11be2f73
Make NSMenuView return NO for isOpaque
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29596 72102866-910b-0410-8b05-ffd578937521
2010-02-13 00:07:57 +00:00
ericwa
23b37df715
Make the window border color customizable
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29595 72102866-910b-0410-8b05-ffd578937521
2010-02-12 23:57:21 +00:00
ericwa
130f420011
NSColorWell themeing
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29594 72102866-910b-0410-8b05-ffd578937521
2010-02-12 23:09:35 +00:00
ericwa
5aef4835fc
Allow customization of window title text color for key/normal/main windows
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29593 72102866-910b-0410-8b05-ffd578937521
2010-02-12 22:19:40 +00:00
espectador
4aec81bc53
Search extra colors for the menu bar in the theme
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29591 72102866-910b-0410-8b05-ffd578937521
2010-02-12 17:56:11 +00:00
wlux
bb6792671e
Implement the NSText kill buffer. Ctrl-k and Ctrl-y in a text view now
...
work as under Emacs and OS X.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29585 72102866-910b-0410-8b05-ffd578937521
2010-02-12 15:54:29 +00:00
wlux
f61bf18e28
Fix issue where the insertion point was not placed in an empty last
...
line of a text view when clicking with the mouse.
Fix issue where the insertion point was not placed in an empty last
line when using the down arrow key (bug #15893 ).
Fix issue where the insertion point was placed incorrectly if the last
line of a text view ends in an invisible character (e.g., a tab).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29584 72102866-910b-0410-8b05-ffd578937521
2010-02-12 15:27:02 +00:00
wlux
414b85653e
Fix a whole bunch of potential crashers in NSAttributedString.m and
...
NSDocument.m where the error return parameter was written to without a
null pointer check.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29580 72102866-910b-0410-8b05-ffd578937521
2010-02-12 14:18:59 +00:00
ericwa
b6ac9d8830
* GSThemeDrawing.m: Move code in NSTableHeaderView which leaves a
...
1pt gap underneath table headers to GSThemeDrawing, since it only
looks decent with a NeXT-like theme. This fixes the
misalignment between the table corner and the table headers visible
in the Narcissus theme
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29567 72102866-910b-0410-8b05-ffd578937521
2010-02-12 06:59:12 +00:00
nicola
773af6ffc6
Removed obsolete manual dependency rules in gnustep-gui GNUmakefile.postamble
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29564 72102866-910b-0410-8b05-ffd578937521
2010-02-11 22:40:50 +00:00
nicola
b2ba810510
Minor tidy-ups of makefiles - removed some obsolete code and fixed a few typos
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29557 72102866-910b-0410-8b05-ffd578937521
2010-02-11 18:21:07 +00:00
nicola
6e56ce395a
Do not try including GNUmakefile.local
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29554 72102866-910b-0410-8b05-ffd578937521
2010-02-11 17:53:42 +00:00
rmottola
d1ecd0f9e2
revert accidental commit
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29544 72102866-910b-0410-8b05-ffd578937521
2010-02-11 11:22:52 +00:00
rmottola
f324ec887f
drawsBackground and drawsCellBackground default to NO, to match Cocoa behaviour (and improve theming)
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29536 72102866-910b-0410-8b05-ffd578937521
2010-02-10 21:46:02 +00:00
rmottola
e536c19dce
do not draw form background
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29534 72102866-910b-0410-8b05-ffd578937521
2010-02-10 11:14:21 +00:00
ericwa
6ab53887e7
Respond to horizontal scrolling in NSScrollView
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29531 72102866-910b-0410-8b05-ffd578937521
2010-02-10 07:31:24 +00:00
dpsimons
c039b1fb67
Made drawers work (see ChangeLog for more details)
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29530 72102866-910b-0410-8b05-ffd578937521
2010-02-10 00:58:29 +00:00
dpsimons
129f0cd597
Remove subviews AFTER next/previous key views have been cleaned up, in case any subviews were in the view chain
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29529 72102866-910b-0410-8b05-ffd578937521
2010-02-09 22:05:25 +00:00
rfm
57d07cbb6f
Fix to return an immutable proxy.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29520 72102866-910b-0410-8b05-ffd578937521
2010-02-09 09:14:14 +00:00