Commit graph

4781 commits

Author SHA1 Message Date
Richard Frith-MacDonald
cfa4cf97bc permit loads of leading whitespace for intValue and doubleValue
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26982 72102866-910b-0410-8b05-ffd578937521
2008-10-28 18:39:20 +00:00
Richard Frith-MacDonald
c9010d3ee0 Fix possible locale related probem with decimal separator.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26979 72102866-910b-0410-8b05-ffd578937521
2008-10-27 17:13:31 +00:00
Richard Frith-MacDonald
23cf7ffdf8 tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26976 72102866-910b-0410-8b05-ffd578937521
2008-10-27 14:47:39 +00:00
Gregory John Casamento
8c7739da4e * Headers/Foundation/NSFileManager.h: Added declaration for new method
here.
	* Source/NSFileManager.m: Added implementation for the method 
	-(BOOL)createDirectoryAtPath:withIntermediateDirectories:attributes:
	error:.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26971 72102866-910b-0410-8b05-ffd578937521
2008-10-27 00:54:29 +00:00
Richard Frith-MacDonald
eb23f2ee93 Synchronization fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26938 72102866-910b-0410-8b05-ffd578937521
2008-10-19 10:49:08 +00:00
Richard Frith-MacDonald
dfe8525d84 Add some diagnostic logging
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26923 72102866-910b-0410-8b05-ffd578937521
2008-10-17 09:51:23 +00:00
Richard Frith-MacDonald
15fbeae7c9 Fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26919 72102866-910b-0410-8b05-ffd578937521
2008-10-16 04:36:42 +00:00
Richard Frith-MacDonald
ecc5a07e7e bugfix for old systems without stdint.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26918 72102866-910b-0410-8b05-ffd578937521
2008-10-15 05:10:55 +00:00
Richard Frith-MacDonald
ed9552b96e Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26917 72102866-910b-0410-8b05-ffd578937521
2008-10-15 04:53:34 +00:00
Richard Frith-MacDonald
8c6ed1c004 fix for #24564
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26916 72102866-910b-0410-8b05-ffd578937521
2008-10-15 04:49:12 +00:00
Richard Frith-MacDonald
da5b051cd2 add keyed archiving support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26909 72102866-910b-0410-8b05-ffd578937521
2008-10-12 19:08:24 +00:00
Richard Frith-MacDonald
33a4784b8e Fix bug 24320
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26907 72102866-910b-0410-8b05-ffd578937521
2008-10-11 06:30:03 +00:00
Richard Frith-MacDonald
d60f08546e Improve parse completion detection.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26898 72102866-910b-0410-8b05-ffd578937521
2008-10-03 07:40:52 +00:00
Adam Fedor
6d43cc7aeb Add NSAffineTransform to docs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26895 72102866-910b-0410-8b05-ffd578937521
2008-10-01 15:28:51 +00:00
Gregory John Casamento
71ec21f32f * Source/synchronization.m: Remove uneeded objc_sync_remove_node
function.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26894 72102866-910b-0410-8b05-ffd578937521
2008-09-30 02:52:29 +00:00
Richard Frith-MacDonald
78ea2c04a3 don't block entire data structure while locking node
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26884 72102866-910b-0410-8b05-ffd578937521
2008-09-27 05:54:27 +00:00
Richard Frith-MacDonald
f16fff6425 Fixup for systems without iconv
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26880 72102866-910b-0410-8b05-ffd578937521
2008-09-26 10:05:49 +00:00
Richard Frith-MacDonald
885e26ee31 Tidied and fixed some locking order bugs.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26879 72102866-910b-0410-8b05-ffd578937521
2008-09-26 07:33:33 +00:00
Gregory John Casamento
2f8bc40aba Remove free at the end of the objc_sync_exit to prevent issues with freeing the node and then retrieving it from the data structure.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26878 72102866-910b-0410-8b05-ffd578937521
2008-09-25 04:57:43 +00:00
Gregory John Casamento
0fa05c2165 * Source/synchronization.m: Correct issue in objc_sync_remove_node()
method where it could do a NULL dereference.  Also moved the locks on
	the tables to the highest level so to reduce the possibility of
	threading issues.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26877 72102866-910b-0410-8b05-ffd578937521
2008-09-25 04:55:42 +00:00
Gregory John Casamento
b1aa9b9ebd * Source/NSUserDefaults.m: Corrected previous change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26871 72102866-910b-0410-8b05-ffd578937521
2008-09-24 21:25:39 +00:00
Gregory John Casamento
4052779063 Explicitly roll over to zero when the element isn't found.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26870 72102866-910b-0410-8b05-ffd578937521
2008-09-24 12:29:15 +00:00
Gregory John Casamento
3d16dda1a5 Add @synchronize support. The synchronize.m file will be committed to GCC as soon as Andrew P. looks at it and it is tested fully. I am committing it here for cases where the compiler can parse @synchronize, but doesn't have the necessary functions in the runtime.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26869 72102866-910b-0410-8b05-ffd578937521
2008-09-24 04:38:27 +00:00
Richard Frith-MacDonald
6f85f5292c Raise exception if smeone tries to initialise a date with NaN
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26865 72102866-910b-0410-8b05-ffd578937521
2008-09-23 08:22:15 +00:00
Richard Frith-MacDonald
ac3eb1fbce Make this a bit more robust
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26864 72102866-910b-0410-8b05-ffd578937521
2008-09-23 08:10:59 +00:00
Richard Frith-MacDonald
ea8dba8a94 Standardise path for lock file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26860 72102866-910b-0410-8b05-ffd578937521
2008-09-19 08:44:28 +00:00
Richard Frith-MacDonald
d323255111 Avoid debug logging
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26858 72102866-910b-0410-8b05-ffd578937521
2008-09-18 19:55:56 +00:00
Richard Frith-MacDonald
0ecc6aba60 try to make tread performer firing more robust
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26856 72102866-910b-0410-8b05-ffd578937521
2008-09-18 08:22:53 +00:00
Gregory John Casamento
6c779e7f63 GPLv2 from GPLv3... remove copying file for GPLv3. Added methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26821 72102866-910b-0410-8b05-ffd578937521
2008-08-25 22:57:04 +00:00
Fred Kiefer
bff3fe7ca0 When a thread ends clear the autorelease pool cache of that thread and
not of the current one.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26819 72102866-910b-0410-8b05-ffd578937521
2008-08-25 15:39:02 +00:00
Richard Frith-MacDonald
2de7a94930 Fix for md5 digest generation on some big endian 64bit machines.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26791 72102866-910b-0410-8b05-ffd578937521
2008-07-17 13:49:59 +00:00
Richard Frith-MacDonald
0b3f1e08b2 Minor optimisation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26787 72102866-910b-0410-8b05-ffd578937521
2008-07-15 08:25:16 +00:00
Richard Frith-MacDonald
56b04a2877 Improve argument checking for range/comparison methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26786 72102866-910b-0410-8b05-ffd578937521
2008-07-15 08:05:33 +00:00
Richard Frith-MacDonald
4c288ca2dd Some more performance tweaks for replagins strings in a mutable string.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26785 72102866-910b-0410-8b05-ffd578937521
2008-07-15 07:58:49 +00:00
Richard Frith-MacDonald
b3464c3c03 Minor tweaks and added comments.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26784 72102866-910b-0410-8b05-ffd578937521
2008-07-15 07:31:55 +00:00
Richard Frith-MacDonald
c2b6a65594 Some optimisation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26783 72102866-910b-0410-8b05-ffd578937521
2008-07-15 06:57:01 +00:00
Richard Frith-MacDonald
8beea23511 Support new MacOS-X unicode string encoding constants.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26754 72102866-910b-0410-8b05-ffd578937521
2008-07-11 09:10:46 +00:00
Richard Frith-MacDonald
0a22aaeff5 Use iconv for 32 bit unicode
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26753 72102866-910b-0410-8b05-ffd578937521
2008-07-11 08:00:26 +00:00
Richard Frith-MacDonald
98a1c9f463 Fixups for DO compatibility.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26747 72102866-910b-0410-8b05-ffd578937521
2008-07-06 09:18:30 +00:00
Richard Frith-MacDonald
5f12fdebd8 implement new MacOS-X method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26742 72102866-910b-0410-8b05-ffd578937521
2008-07-02 13:41:52 +00:00
Richard Frith-MacDonald
7e82f60a9e tweak to ensure we have anonymous memory if we are using mmap
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26739 72102866-910b-0410-8b05-ffd578937521
2008-07-02 10:46:16 +00:00
Richard Frith-MacDonald
1cc66c3501 Imprivemewnts to get NS_MESSAGE and NS_INVOCATION working for FFI.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26733 72102866-910b-0410-8b05-ffd578937521
2008-06-30 05:29:19 +00:00
Richard Frith-MacDonald
7f1b63a68f fixup for windows memory protection
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26732 72102866-910b-0410-8b05-ffd578937521
2008-06-29 19:21:15 +00:00
Richard Frith-MacDonald
bf8c928b7e Tidy executable memory support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26731 72102866-910b-0410-8b05-ffd578937521
2008-06-29 18:44:41 +00:00
Richard Frith-MacDonald
badee0369b Add windows memory protection code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26730 72102866-910b-0410-8b05-ffd578937521
2008-06-29 18:33:59 +00:00
Richard Frith-MacDonald
2f07465737 Improve code for making executable memory
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26727 72102866-910b-0410-8b05-ffd578937521
2008-06-29 09:18:33 +00:00
Richard Frith-MacDonald
4d4a1d73e4 More portable anonymous mmap
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26725 72102866-910b-0410-8b05-ffd578937521
2008-06-28 20:30:54 +00:00
Richard Frith-MacDonald
6984a82930 Try to ensure that ffi uses executable memory and doesn't segfault
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26723 72102866-910b-0410-8b05-ffd578937521
2008-06-28 05:13:47 +00:00
Gregory John Casamento
f39466eb13 * Source/NSUnarchiver.m: Issue a warning when the class can't be
resolved by the runtime in decodeValueOfObjCType:at:.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26722 72102866-910b-0410-8b05-ffd578937521
2008-06-27 21:49:27 +00:00
Richard Frith-MacDonald
36a2205b4f Only sort dictionary keys if they are strings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26721 72102866-910b-0410-8b05-ffd578937521
2008-06-27 14:06:59 +00:00