Commit graph

27 commits

Author SHA1 Message Date
Riccardo Mottola
aa36664153 fix various autogsdoc warnings and issues 2023-11-14 01:29:01 +01:00
Riccardo Mottola
1815556e4e remove unused functions 2023-09-12 23:09:08 +02:00
Richard Frith-MacDonald
1943fbd75c GC fixups by Josh Freeman
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39613 72102866-910b-0410-8b05-ffd578937521
2016-03-28 06:17:35 +00:00
Sebastian Reitenbach
6d5a0cc236 A bunch of format string fixes and some casts to force formats
No objections from Fred Kiefer ;)



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@38569 72102866-910b-0410-8b05-ffd578937521
2015-05-26 17:15:16 +00:00
Riccardo Mottola
5478f1e00c warning fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@37088 72102866-910b-0410-8b05-ffd578937521
2013-09-17 09:39:47 +00:00
Fred Kiefer
d2011237e8 * Source/NSAnimation.m (NSViewAnimation -dealloc): Use DESTROY
instead of RELEASE as _viewAnimationDesc to prevent segmentation
        fault in super call.
        * Source/NSWindow.m (-setFrame:display:animate:): Use
        NSViewAnimation instead of local blocking code.
        * Source/NSWindow.m (-animationResizeTime:): Use abs() in all
        * directions.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33624 72102866-910b-0410-8b05-ffd578937521
2011-07-24 18:53:07 +00:00
David Chisnall
b4e3915c33 Turn release messages sent to autorelease pools into drain messages. No
functionality change in non-GC mode, in GC mode it invokes a quick GC pass to
try to delete the short-lived objects.

Also deleted some [pool release] lines just before exit() or return-from-main
statements.  These cause objects to be swapped in and destructors to be run to
no benefit (the OS will reclaim this memory without requiring stuff to be
swapped in when the process exits).



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33146 72102866-910b-0410-8b05-ffd578937521
2011-05-27 12:42:37 +00:00
Fred Kiefer
eb6d527983 Fixed different issues spotted by the static code analysis.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32477 72102866-910b-0410-8b05-ffd578937521
2011-03-06 22:58:56 +00:00
Fred Kiefer
2d01942e4b 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
David Chisnall
c6866f8c8a 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
Fred Kiefer
c05581a005 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
Fred Kiefer
b55e89950b Small code cleanups.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28976 72102866-910b-0410-8b05-ffd578937521
2009-11-08 19:26:49 +00:00
Fred Kiefer
d635454454 Add auto release pool to animation loop.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27636 72102866-910b-0410-8b05-ffd578937521
2009-01-19 17:25:51 +00:00
Fred Kiefer
3668f4bd83 Remove retain cycle with NSAnimation and simplify implementation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27629 72102866-910b-0410-8b05-ffd578937521
2009-01-18 16:04:12 +00:00
Richard Frith-MacDonald
b1a66b9002 Fix bug #25327
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27609 72102866-910b-0410-8b05-ffd578937521
2009-01-16 13:33:33 +00:00
Adam Fedor
7afdd32ac1 Revert library license version to 2 until applications can be converted
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26619 72102866-910b-0410-8b05-ffd578937521
2008-06-10 04:01:49 +00:00
Fred Kiefer
193e31e678 Change all files to use GPL 3 and LGPL 3.
Prepare for next release.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25536 72102866-910b-0410-8b05-ffd578937521
2007-10-29 21:16:17 +00:00
Xavier Glattard
0b148d2db8 Fix thread locking/unlocking without C99-isms
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25146 72102866-910b-0410-8b05-ffd578937521
2007-05-12 15:52:45 +00:00
Riccardo Mottola
53d519dbbc removed some C99-isms
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25135 72102866-910b-0410-8b05-ffd578937521
2007-05-10 20:10:43 +00:00
Richard Frith-MacDonald
3c63d253cf Simplification of messy nlocking code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25134 72102866-910b-0410-8b05-ffd578937521
2007-05-10 15:41:54 +00:00
Richard Frith-MacDonald
daa056545a Small fixups and comments added.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25131 72102866-910b-0410-8b05-ffd578937521
2007-05-10 10:44:39 +00:00
Riccardo Mottola
b2d3176408 removed some C99-isms
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25130 72102866-910b-0410-8b05-ffd578937521
2007-05-08 21:09:37 +00:00
Adam Fedor
c63cdce5c1 Version 0.12.0
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25037 72102866-910b-0410-8b05-ffd578937521
2007-04-13 20:59:36 +00:00
Xavier Glattard
3f9af34a0f Implements threaded and blocking NSAnimation modes and some other changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24998 72102866-910b-0410-8b05-ffd578937521
2007-04-12 17:01:23 +00:00
Gregory John Casamento
c423ef6b51 * Source/NSAnimation.m: Removed static INLINE declaration from
nsanimation_progressMarkSorter function so that it will compile
	properly on versions of gcc prior to 4.1.2.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24972 72102866-910b-0410-8b05-ffd578937521
2007-04-10 02:42:47 +00:00
Xavier Glattard
8ae3830600 Implementation of NSAnimation and NSViewAnimation classes :
- only NSAnimationNonBlocking mode is implemented
- runLoopModesForAnimating is not used
GSAnimator class is in alpha stage : interface may be changed


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24968 72102866-910b-0410-8b05-ffd578937521
2007-04-05 08:52:05 +00:00
Xavier Glattard
36e8d2a357 Add NSAnimation class from mySTEP
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24878 72102866-910b-0410-8b05-ffd578937521
2007-03-15 20:33:36 +00:00