Commit graph

100 commits

Author SHA1 Message Date
rfm
38c0c4a580 Header tidyups, particularly updating of version compatibility macros.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24000 72102866-910b-0410-8b05-ffd578937521
2006-10-31 07:05:46 +00:00
rfm
9e7b96ab0e More code tidyups and NSError updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23921 72102866-910b-0410-8b05-ffd578937521
2006-10-20 10:56:27 +00:00
rfm
31342aef09 Updates to reduce global namespace pollution. Plenty more remaining.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23795 72102866-910b-0410-8b05-ffd578937521
2006-10-09 14:00:01 +00:00
rfm
e7962cfb4d avoid spurious compiler warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23027 72102866-910b-0410-8b05-ffd578937521
2006-06-04 06:42:10 +00:00
rfm
fa5f31547f Changes for NSStream support, especially in mingw32 ... not yet complete.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22693 72102866-910b-0410-8b05-ffd578937521
2006-03-21 15:33:05 +00:00
rfm
f2398378e0 Some cleanup in preparation for next release.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22618 72102866-910b-0410-8b05-ffd578937521
2006-03-08 11:28:59 +00:00
rfm
e1b9889677 make housekeeping timer more transparent and remove deprecated code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22593 72102866-910b-0410-8b05-ffd578937521
2006-03-04 06:47:56 +00:00
CaS
7a186a7782 Catch autoreleased objects during thread exit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22333 72102866-910b-0410-8b05-ffd578937521
2006-01-19 06:15:27 +00:00
CaS
f57ca76cba Fixes for 64bit systems .. mostly cosmetic avoidance of compiler warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22282 72102866-910b-0410-8b05-ffd578937521
2006-01-10 10:29:11 +00:00
CaS
58f48e81e3 Fix documentation error.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21935 72102866-910b-0410-8b05-ffd578937521
2005-11-01 15:14:59 +00:00
CaS
620e39b898 Use __MINGW32__ rather than __MINGW__ because gcc does that too.
NB. It seems some recent patches put ___MINGW32__ in the public headers ...
that needs to be fixed as the headers should be system independent!


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21795 72102866-910b-0410-8b05-ffd578937521
2005-10-11 19:09:26 +00:00
CaS
f843cb8155 Recommit gcc-4 tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21431 72102866-910b-0410-8b05-ffd578937521
2005-07-08 11:48:37 +00:00
CaS
6d0751af3e Revert subtly broken change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21391 72102866-910b-0410-8b05-ffd578937521
2005-07-01 17:31:07 +00:00
CaS
9ac16024f5 Tweaks to avoid compiler warnings with gcc-4
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21390 72102866-910b-0410-8b05-ffd578937521
2005-07-01 12:29:50 +00:00
fedor
376e495dad * Update FSF Address.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21245 72102866-910b-0410-8b05-ffd578937521
2005-05-22 03:32:16 +00:00
CaS
813f640a49 Apply modified patch to support windows native event handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20785 72102866-910b-0410-8b05-ffd578937521
2005-02-23 16:05:09 +00:00
CaS
0708409c1b Tidy up use of white space so we have it after if/for/while and not after (
or before ) or padding at end of line.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20773 72102866-910b-0410-8b05-ffd578937521
2005-02-22 11:22:44 +00:00
CaS
8879270729 Minor reliability tweaks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20335 72102866-910b-0410-8b05-ffd578937521
2004-11-10 11:45:08 +00:00
CaS
d2161f1c01 Revert an nsthread change and try to avoid memory leaks when autorelease
pools are created during the thread exit process.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20287 72102866-910b-0410-8b05-ffd578937521
2004-11-03 13:20:39 +00:00
CaS
c8cb740907 Mnor documentation tweak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20156 72102866-910b-0410-8b05-ffd578937521
2004-09-27 10:24:02 +00:00
CaS
61fade5ef4 Minor thread tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20155 72102866-910b-0410-8b05-ffd578937521
2004-09-27 08:59:04 +00:00
arobert
dbdfcfab37 added GSdoc comments to class, method, and function declarations; for some classes some comments were already in the source file (not the header), in which case further comments were added here; otherwise comments were put in the headers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19588 72102866-910b-0410-8b05-ffd578937521
2004-06-22 22:40:40 +00:00
CaS
5978eda5cf Fix problem with lazy locks by setting multithreaded bool earlier
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18839 72102866-910b-0410-8b05-ffd578937521
2004-03-12 16:51:30 +00:00
wim
b15ca262ac ([GSPerformHolder +initialize]): #ifdef'ed out
code that does not work on MinGW.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18727 72102866-910b-0410-8b05-ffd578937521
2004-03-01 10:12:56 +00:00
ayers
a48526dca9 * Headers/Foundation/NSLock.h: Make types of _mutex and
_condition opaic to avoid including private thr-mach.h header.
        * Headers/Foundation/NSThread.h: Do not include private
	thr-mach.h header.
        * Source/thr-mach.h: Moved here from
        Headers/Additions/GNUstepBase/thr-mach.h.
        * Source/NSLock.m: Include private thr-mach.h header for
        apple-gnu-gnu.  Added defines for typing opaic instance
        variables and use them in various methods.
        * Source/NSThread.m: Include private thr-mach.h header for
        apple-gnu-gnu.
        * Source/thr-mach.m: Include private thr-mach.h header from
	new location.
        * Source/thr-pthread.m: Ditto.
        * Source/GNUmakefile: Do not install private thr-mach.h
	header.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18607 72102866-910b-0410-8b05-ffd578937521
2004-02-17 12:55:02 +00:00
uid66829
12d2a05aa8 (+detachNewThreadSelector:toTarget:withObject:): Don't set entered_multi_threaded_state to NO if the objc_thread_detach call fails.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18262 72102866-910b-0410-8b05-ffd578937521
2003-12-23 17:41:38 +00:00
CaS
c7551b0431 Improve warning messages
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17758 72102866-910b-0410-8b05-ffd578937521
2003-09-30 18:57:49 +00:00
CaS
5401a03dd3 Thread safety fix ... ensure notifications are sent before we become
multithrteaded.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17757 72102866-910b-0410-8b05-ffd578937521
2003-09-30 18:19:03 +00:00
ayers
73dc4cb9f6 Header reorganizsateion - Please refer to ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17407 72102866-910b-0410-8b05-ffd578937521
2003-07-31 23:49:32 +00:00
CaS
778c3a3c7c Fix thread memory leak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17336 72102866-910b-0410-8b05-ffd578937521
2003-07-25 09:27:44 +00:00
CaS
7e4ef0cdc9 lockBeforeDate improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17263 72102866-910b-0410-8b05-ffd578937521
2003-07-20 06:37:25 +00:00
CaS
8a854b2141 Improve code for sleeping a bit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17244 72102866-910b-0410-8b05-ffd578937521
2003-07-17 09:00:31 +00:00
fedor
0e59d4552d Change syntax of includes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16874 72102866-910b-0410-8b05-ffd578937521
2003-06-07 01:24:41 +00:00
CaS
917cd26e5d Tidyup categories
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16478 72102866-910b-0410-8b05-ffd578937521
2003-04-17 06:20:17 +00:00
CaS
55417b22c7 Complete documentation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16375 72102866-910b-0410-8b05-ffd578937521
2003-04-06 07:57:00 +00:00
CaS
37c0d9a9aa Document update
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16373 72102866-910b-0410-8b05-ffd578937521
2003-04-06 07:21:59 +00:00
CaS
f06c0dea4f Minor fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16372 72102866-910b-0410-8b05-ffd578937521
2003-04-06 07:14:50 +00:00
CaS
278469e140 Fix race condition.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15268 72102866-910b-0410-8b05-ffd578937521
2002-12-08 20:18:34 +00:00
CaS
7709cd9dc8 Patch by Tom Koelman
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14985 72102866-910b-0410-8b05-ffd578937521
2002-11-13 15:12:39 +00:00
CaS
634003bdcf Remove unused includes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14912 72102866-910b-0410-8b05-ffd578937521
2002-11-03 19:47:27 +00:00
CaS
5d30f03b94 Improve documentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14911 72102866-910b-0410-8b05-ffd578937521
2002-11-03 19:09:39 +00:00
CaS
d76c484957 Fix version forgotten in commit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14910 72102866-910b-0410-8b05-ffd578937521
2002-11-03 18:56:46 +00:00
pyr
6bf1893998 * Source/NSRunLoop.m ([NSRunLoop -init]): ask to be informed about
NSWillBecomeMultiThreadedNotification if _willBecomeMultiThreaded:
  method existes.
* Source/NSRunLoop.m: new GSAppKitInterThreadRunLoopWatcher private
  class.
  ([NSRunLoop -_willBecomeMultiThreaded:]): new method, sets up the
  lock, the socket and new run loop watcher that'll listen on the socket.
  ([NSObject -performSelectorOnMainThread:withObject:waitUntilDone:modes:]):
  modified to use the previous changes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14906 72102866-910b-0410-8b05-ffd578937521
2002-11-02 16:53:48 +00:00
CaS
82947875f2 Tidy to avoid compiler warning.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14877 72102866-910b-0410-8b05-ffd578937521
2002-10-30 13:15:07 +00:00
CaS
9076227a18 Fix retain/release problem
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14875 72102866-910b-0410-8b05-ffd578937521
2002-10-30 12:37:21 +00:00
CaS
4c5360c308 Implemented new MacOS-X methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14874 72102866-910b-0410-8b05-ffd578937521
2002-10-30 07:45:59 +00:00
CaS
e1c37a2dcf Minor thread fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14609 72102866-910b-0410-8b05-ffd578937521
2002-09-30 17:19:35 +00:00
CaS
5cc3b34731 Tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14376 72102866-910b-0410-8b05-ffd578937521
2002-08-30 12:30:50 +00:00
CaS
8be710069a Add thread priority and checking for selectors.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14356 72102866-910b-0410-8b05-ffd578937521
2002-08-27 17:02:05 +00:00
CaS
b0d816ceaa Documentation tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14298 72102866-910b-0410-8b05-ffd578937521
2002-08-20 10:22:05 +00:00