David Chisnall
8185bfdbf4
Add __attribute__((unused)) on __dummyFunctionForLinking().
...
Fred: I think this function is completely pointless, and should actually just be removed. Looking at the age, it seems to have been added to work around some toolchain limitations that may have existed 15 years ago. Can you take a look, and either remove it, or add a comment explaining why it's needed?
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32353 72102866-910b-0410-8b05-ffd578937521
2011-02-24 13:34:21 +00:00
David Chisnall
a278bc778a
Rename HUGE -> GSHUGE to remove conflict with standard library #define.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32352 72102866-910b-0410-8b05-ffd578937521
2011-02-24 13:29:18 +00:00
David Chisnall
87d2bfba5f
More unsigned < 0 tests.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32351 72102866-910b-0410-8b05-ffd578937521
2011-02-24 13:28:20 +00:00
David Chisnall
a02d1254f2
get_imp() -> class_getMethodImplementation() (GCC runtime function -> standard runtime function)
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32350 72102866-910b-0410-8b05-ffd578937521
2011-02-24 13:27:24 +00:00
David Chisnall
f51c8bc7ca
Remove some more comparisons testing unsigned values are < 0.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32349 72102866-910b-0410-8b05-ffd578937521
2011-02-24 13:25:42 +00:00
David Chisnall
12fd784151
Remove some tests that are always true (NSRange.length > 0 - NSUIntegers are always > 0).
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32348 72102866-910b-0410-8b05-ffd578937521
2011-02-24 13:21:37 +00:00
David Chisnall
cf727674d1
Change unsigned int -> int, so that loops terminate with termination condition, rather than SegV
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32347 72102866-910b-0410-8b05-ffd578937521
2011-02-24 13:18:43 +00:00
David Chisnall
38438cf711
Comment out unused function.
...
Fred: Is there a reason that this function exists, or can we just delete it?
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32346 72102866-910b-0410-8b05-ffd578937521
2011-02-24 13:15:54 +00:00
Richard Frith-MacDonald
e813542d97
add TestInfo markers
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32336 72102866-910b-0410-8b05-ffd578937521
2011-02-23 18:36:57 +00:00
Richard Frith-MacDonald
e25e7e8a71
Move NSAffineTransform tests to base
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32308 72102866-910b-0410-8b05-ffd578937521
2011-02-22 23:08:59 +00:00
Eric Wasylishen
77cdf8bbea
Release mouse before invoking menu action
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32307 72102866-910b-0410-8b05-ffd578937521
2011-02-22 22:22:01 +00:00
Eric Wasylishen
d33f0c0c6a
RTF: add support for read/wite of underline and strikethrough attributes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32305 72102866-910b-0410-8b05-ffd578937521
2011-02-22 20:59:10 +00:00
Eric Wasylishen
227381f621
preliminary implementation of underlining
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32304 72102866-910b-0410-8b05-ffd578937521
2011-02-22 20:53:13 +00:00
Richard Frith-MacDonald
2f0bd0708e
delete obsolete makefile
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32303 72102866-910b-0410-8b05-ffd578937521
2011-02-22 18:50:23 +00:00
Fred Kiefer
c6b1c45739
* Source/NSMenuView.m (-trackWithEvent:): Rewrite that uses mouse
...
capture to ensure we get mouse events outside our windows.
Patch by Christopher Armstrong <carmstrong@fastmail.com.au>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32273 72102866-910b-0410-8b05-ffd578937521
2011-02-22 00:22:46 +00:00
Fred Kiefer
6daffd89d7
Fix memory leaks found by analyser.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32255 72102866-910b-0410-8b05-ffd578937521
2011-02-20 22:36:49 +00:00
Fred Kiefer
c67cd8b4f8
Remove the GSFusedSilica files as they are obsolete now.
...
The Opal library is a more complete replacement for CoreGraphics.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32251 72102866-910b-0410-8b05-ffd578937521
2011-02-20 20:10:57 +00:00
Fred Kiefer
d83fb0774b
Remove direct usage of isa.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32248 72102866-910b-0410-8b05-ffd578937521
2011-02-20 18:24:44 +00:00
Richard Frith-MacDonald
251b1edd94
Import testsuite
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32225 72102866-910b-0410-8b05-ffd578937521
2011-02-19 16:57:57 +00:00
Fred Kiefer
03bc4d79d6
Define new cursor backend methods replacing -setcursorcolor:::. And use
...
these.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32179 72102866-910b-0410-8b05-ffd578937521
2011-02-15 22:54:23 +00:00
Fred Kiefer
466714c847
Bug fix to last commit.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32177 72102866-910b-0410-8b05-ffd578937521
2011-02-15 21:48:00 +00:00
Fred Kiefer
ca944f1dfa
Revert Wolfgangs change and add a different solution as explained in his mail.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32176 72102866-910b-0410-8b05-ffd578937521
2011-02-15 19:50:54 +00:00
Wolfgang Lux
e8de70e645
Add user default to allow placing app icons and mini windows at normal
...
window level. This is particularly convenient with some window
managers (*cough*, kwin) where application and pop up menus would be
obscured by dock level windows.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32165 72102866-910b-0410-8b05-ffd578937521
2011-02-14 22:25:57 +00:00
Wolfgang Lux
d676944cd6
ChangeLog for preceding commit.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32164 72102866-910b-0410-8b05-ffd578937521
2011-02-14 22:12:21 +00:00
Wolfgang Lux
92da3e62d0
Fix bug where a stray view could leak when changing the content view
...
of a window. This view then could make the title bar buttons
inaccessible when -gui handles window decorations.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32163 72102866-910b-0410-8b05-ffd578937521
2011-02-14 22:11:26 +00:00
Wolfgang Lux
b07303eb41
Create a default content view for new tab view items.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32162 72102866-910b-0410-8b05-ffd578937521
2011-02-14 21:51:08 +00:00
Fred Kiefer
89d6cc016c
* Source/NSOutlineView.m (-editColumn:...select:): Bring closer
...
to the new code in [-drawRow:clipRect:].
* Source/GSInfoPanel.m (-initWithDictionary:): Protect against
icon being nil.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32161 72102866-910b-0410-8b05-ffd578937521
2011-02-14 20:11:57 +00:00
Fred Kiefer
f58e9c1d39
Fix Use-after-release found by static analyser.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32159 72102866-910b-0410-8b05-ffd578937521
2011-02-14 18:38:11 +00:00
Germán Arias
c9a8e3c3ae
Fixed bug #31039
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32045 72102866-910b-0410-8b05-ffd578937521
2011-02-10 23:58:04 +00:00
Germán Arias
e310aaa25b
Fixed some problems with gorm files
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32029 72102866-910b-0410-8b05-ffd578937521
2011-02-10 06:40:35 +00:00
Fred Kiefer
906201acf6
Remove dead assignments found by static code analysis.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32022 72102866-910b-0410-8b05-ffd578937521
2011-02-09 22:20:00 +00:00
Richard Frith-MacDonald
ff39f70ab1
reduce creation/destruction of NSDate objects
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32019 72102866-910b-0410-8b05-ffd578937521
2011-02-09 09:53:56 +00:00
Riccardo Mottola
85a6f46fc2
Tweak png.h header order to avoid problems on some systems
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32017 72102866-910b-0410-8b05-ffd578937521
2011-02-08 18:50:52 +00:00
Riccardo Mottola
f8b66d1ab3
Use libpng-config to determine the correct includes and libraries
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32015 72102866-910b-0410-8b05-ffd578937521
2011-02-08 16:15:22 +00:00
Riccardo Mottola
14328a34f3
Cleaned up includes so that compilation without PNG works again
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32014 72102866-910b-0410-8b05-ffd578937521
2011-02-08 16:14:12 +00:00
Fred Kiefer
18813674f2
Clean up all the header imports in teh Printing directory.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32009 72102866-910b-0410-8b05-ffd578937521
2011-02-07 18:08:33 +00:00
Fred Kiefer
89eb95e7d4
Add method -scrollRowToVisible:inColumn: to NSBrowser.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31980 72102866-910b-0410-8b05-ffd578937521
2011-01-31 22:42:49 +00:00
Fred Kiefer
63744bc165
PNG patch by Thomase Klausner.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31970 72102866-910b-0410-8b05-ffd578937521
2011-01-29 14:44:01 +00:00
Wolfgang Lux
3da944c1dd
Fix application termination behavior by sending a message to the
...
document controller to let the user review any unsaved changes in its
managed documents before asking the application delegate whether its
okay to terminate the application. This matches Cocoa's documented and
implemented behavior.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31957 72102866-910b-0410-8b05-ffd578937521
2011-01-27 20:32:01 +00:00
Wolfgang Lux
18806fd515
Add missing declaration of NSWindow -isZoomed to the header file.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31954 72102866-910b-0410-8b05-ffd578937521
2011-01-26 21:48:50 +00:00
Wolfgang Lux
c4110a7ede
Move code to set the window frame autosave name of a window
...
controller's window to match Cocoa behavior.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31945 72102866-910b-0410-8b05-ffd578937521
2011-01-24 22:05:36 +00:00
Doug Simons
d13b785e37
fix click in search field to select at the correct point in the text
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31944 72102866-910b-0410-8b05-ffd578937521
2011-01-24 17:39:24 +00:00
Wolfgang Lux
1a887c7645
Improve last but one commit by not including an in-window menu in a
...
window's saved frame as well. Also avoid a redundant cast from float
to int and back.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31941 72102866-910b-0410-8b05-ffd578937521
2011-01-24 13:19:30 +00:00
Fred Kiefer
6eaff61772
Add loading of NIB to NSViewController.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31940 72102866-910b-0410-8b05-ffd578937521
2011-01-24 11:47:55 +00:00
Wolfgang Lux
89715a53c1
Merge change from the testplant_1 branch:
...
Do not include the toolbar in a window's saved frame. Makes saving and
restoring window frame sizes independent of whether the toolbar is
present at the time when the frame is saved or restored.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31939 72102866-910b-0410-8b05-ffd578937521
2011-01-24 08:59:10 +00:00
Germán Arias
6370fa3b07
Fixed problems with menu in windows: transient menus and pop-ups.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31938 72102866-910b-0410-8b05-ffd578937521
2011-01-24 07:02:15 +00:00
Wolfgang Lux
dde88908f9
Make sure the system colors are set up properly before computing the
...
available color lists. Fixes an issue where the returned list would
either be empty or contain two instances of the system color list.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31919 72102866-910b-0410-8b05-ffd578937521
2011-01-20 19:36:49 +00:00
Richard Frith-MacDonald
e1e1662419
iminor tidyup and caching fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31918 72102866-910b-0410-8b05-ffd578937521
2011-01-20 14:59:50 +00:00
Doug Simons
8daa067224
Fix multiple issues with search fields, including displaying and registering selected items in the search menu properly; displaying text of recent search item; hiding cancel button when field is empty.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31911 72102866-910b-0410-8b05-ffd578937521
2011-01-20 00:06:01 +00:00
Wolfgang Lux
92601d85d8
Look up key equivalents in the Services menu only after traversing
...
rest of the main menu to avoid accidentally shadowing key equivalents
in the application's own menus.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31902 72102866-910b-0410-8b05-ffd578937521
2011-01-17 09:02:30 +00:00