fredkiefer
de705cc3db
* Source/GSNibLoading.m (NSCustomView): Correct implementation of
...
-initWithCoder: and remove -awakeAfterUsingCoder:.
* Source/NSSound.m: Remove method -awakeAfterUsingCoder:.
* Source/NSWindow.m (-_captureMouse:, -_releaseMouse:) Add some
debug log code here to simplify debugging these methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32460 72102866-910b-0410-8b05-ffd578937521
2011-03-05 16:10:43 +00:00
fredkiefer
3cdc68a09b
Replace #include -> #import
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32451 72102866-910b-0410-8b05-ffd578937521
2011-03-04 11:33:22 +00:00
fredkiefer
895bea4b23
Small changes found by static analyser.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32434 72102866-910b-0410-8b05-ffd578937521
2011-03-02 21:30:18 +00:00
rfm
fed6ff1796
avoid obsolete macros
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32412 72102866-910b-0410-8b05-ffd578937521
2011-02-28 15:43:25 +00:00
rfm
89b2b64d5e
tidyup
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32410 72102866-910b-0410-8b05-ffd578937521
2011-02-28 14:24:57 +00:00
rmottola
c028d0568d
Replace objc_malloc with malloc for structures.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32409 72102866-910b-0410-8b05-ffd578937521
2011-02-28 14:04:43 +00:00
rfm
d2465c5ef3
use gnustep-make
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32401 72102866-910b-0410-8b05-ffd578937521
2011-02-28 10:13:35 +00:00
theraven
b3e2c8e44b
Added ChangeLog.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32354 72102866-910b-0410-8b05-ffd578937521
2011-02-24 13:36:32 +00:00
theraven
bd4fb00030
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
theraven
7bd8202523
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
theraven
848c7ca237
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
theraven
665d6a4fdc
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
theraven
d53c5ca5b0
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
theraven
ba2911824a
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
theraven
591b0c4d54
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
theraven
e827af082d
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
rfm
69e0d9946d
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
rfm
39bd73cec6
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
ericwa
dbc85d3b9a
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
ericwa
f2f365acfb
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
ericwa
596a650dee
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
rfm
8534760c5d
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
fredkiefer
5c86b5e9bc
* 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
fredkiefer
7c2a5cddf0
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
fredkiefer
afcef9b696
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
fredkiefer
6d94be87c6
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
rfm
7aac32819c
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
fredkiefer
003ea0982a
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
fredkiefer
f2c7420e36
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
fredkiefer
75e90462d5
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
wlux
13e3cc042d
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
wlux
0bc56c6769
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
wlux
41ae772523
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
wlux
b36428ca5d
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
fredkiefer
5f8786c804
* 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
fredkiefer
05f26e5418
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
espectador
1164cd51af
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
espectador
fa3684abfb
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
fredkiefer
475f2d07aa
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
rfm
f48dfb5072
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
rmottola
a59d311d4a
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
rmottola
5825ad0e53
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
rmottola
e4c5f353fd
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
fredkiefer
c05a9537d1
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
fredkiefer
ad08ca9dc4
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
fredkiefer
85f9e6976c
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
wlux
3ee25e4389
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
wlux
9348b93ccd
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
wlux
e70f659a25
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
dpsimons
724e228f1a
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