Commit graph

6984 commits

Author SHA1 Message Date
rfm
d9ddc55f53 Avoid use of NSLog to reduce chance of recursion problems if an error occurs
really early on in system initialisation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39440 72102866-910b-0410-8b05-ffd578937521
2016-03-02 12:58:18 +00:00
rfm
1fe5651309 tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39433 72102866-910b-0410-8b05-ffd578937521
2016-03-01 11:43:36 +00:00
rfm
b13b7103c3 tweaks for win64 by Seong Gu Lee <sgleehd@gmail.com>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39432 72102866-910b-0410-8b05-ffd578937521
2016-03-01 10:41:33 +00:00
rfm
f2b091835e avoid warning on old compiler
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39425 72102866-910b-0410-8b05-ffd578937521
2016-02-29 10:13:10 +00:00
rfm
65b62e65c1 Implement versdion check for new ICU code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39424 72102866-910b-0410-8b05-ffd578937521
2016-02-29 10:05:36 +00:00
rfm
3f98e43dba trivial tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39423 72102866-910b-0410-8b05-ffd578937521
2016-02-29 09:41:14 +00:00
rfm
fbee572507 Misc minor bugfixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39422 72102866-910b-0410-8b05-ffd578937521
2016-02-29 09:20:43 +00:00
rfm
59d489fdc8 fix for copying subdirectories
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39421 72102866-910b-0410-8b05-ffd578937521
2016-02-29 07:44:12 +00:00
rfm
49fc46614e Fix typos in comments, add a couple of testcases
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39414 72102866-910b-0410-8b05-ffd578937521
2016-02-25 11:55:58 +00:00
rfm
1417e2c656 Fix error folding header with non-ascci data
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39413 72102866-910b-0410-8b05-ffd578937521
2016-02-25 11:47:49 +00:00
rfm
fcb50dc11d Apply patch by Patrick Laurent and tidy a bit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39411 72102866-910b-0410-8b05-ffd578937521
2016-02-24 07:41:20 +00:00
thebeing
d50d5dac36 Modify the interfaces of all collection classes to be compatible with the
new lightweight generics implemenation. (Newer MacOS X/iOS code assuming 
the presence of the generics annotations can otherwise not be compiled with
GNUstep). This should be well-behaved under clang and gcc both. 

Fix NSCache which was copying the cache keys when it really shouldn't
have. Added a few test cases for eviction behaviour.

Few smaller tweaks to avoid compiler warnings.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39406 72102866-910b-0410-8b05-ffd578937521
2016-02-22 21:04:18 +00:00
rfm
05838a0860 tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39402 72102866-910b-0410-8b05-ffd578937521
2016-02-20 17:25:53 +00:00
rfm
0a12520e0d fix comparison function return values
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39401 72102866-910b-0410-8b05-ffd578937521
2016-02-19 15:57:04 +00:00
rfm
b1c6a91faf Aim to improve compatibility with old/buggy parsers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39395 72102866-910b-0410-8b05-ffd578937521
2016-02-18 15:52:00 +00:00
rfm
953ba0a549 Don't initialise NSUserDefaults in NSObject+initialize ... recursion on bsd
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39393 72102866-910b-0410-8b05-ffd578937521
2016-02-18 06:56:44 +00:00
rfm
8b01387fed On type missmatch report whole document
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39388 72102866-910b-0410-8b05-ffd578937521
2016-02-17 14:11:50 +00:00
rfm
64628b992b iCreate mapt able lazily
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39382 72102866-910b-0410-8b05-ffd578937521
2016-02-16 22:28:34 +00:00
rfm
3ad666129f safer error logging when we can't initialise process info
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39375 72102866-910b-0410-8b05-ffd578937521
2016-02-15 12:13:37 +00:00
rfm
51e3f02944 Fixup for mistake in earlier commit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39374 72102866-910b-0410-8b05-ffd578937521
2016-02-15 11:07:44 +00:00
rfm
547d717d02 Use defaults cleanups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39373 72102866-910b-0410-8b05-ffd578937521
2016-02-15 10:10:39 +00:00
rfm
cdbaa85862 Fix recursion when looking up the current thread
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39351 72102866-910b-0410-8b05-ffd578937521
2016-02-10 10:22:43 +00:00
rfm
7f8d7e6270 Tweaks to avoid compiler warnings, and consistently use ref counting macros.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39350 72102866-910b-0410-8b05-ffd578937521
2016-02-10 09:15:10 +00:00
rfm
c57ab99c5d fix leak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39345 72102866-910b-0410-8b05-ffd578937521
2016-02-09 16:53:00 +00:00
rfm
d64aefec5d Fix by Campbell
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39343 72102866-910b-0410-8b05-ffd578937521
2016-02-09 14:20:56 +00:00
rfm
c0eef4b4ea Fix for obscure decoding error
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39338 72102866-910b-0410-8b05-ffd578937521
2016-02-04 22:33:19 +00:00
rfm
65d01f12b3 keep key=value pairs in structured fields on the same line if possible.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39320 72102866-910b-0410-8b05-ffd578937521
2016-01-29 15:59:56 +00:00
rfm
38f5e06269 tweak to fold after semicolon in preference to equals sign when writing out
structured field


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39319 72102866-910b-0410-8b05-ffd578937521
2016-01-29 15:23:24 +00:00
thebeing
3346a30b7c Add automatic unregistration of threads that have not been
been explicitly unregistered. This works by keeping around 
a map table with all threads currently undergoing cleanup, 
and using that as a fallback if pthread_getspecific would
not return the NSThread object from TLS. 


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39318 72102866-910b-0410-8b05-ffd578937521
2016-01-29 13:42:07 +00:00
rfm
59081dd5c4 quick hack to avoid splitting 'boundary' parameter values
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39310 72102866-910b-0410-8b05-ffd578937521
2016-01-23 15:30:05 +00:00
thebeing
cac0c515e7 Fix folding of headers containing underscores.
The quotedWord() and quotableLength() functions were
disagreeing about which characters to quote. 



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39303 72102866-910b-0410-8b05-ffd578937521
2016-01-21 22:20:53 +00:00
rfm
9204155bf2 fixup a few errors in last mod
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39301 72102866-910b-0410-8b05-ffd578937521
2016-01-21 19:27:28 +00:00
rfm
e85cffee31 Updates for header folding support (to preserve exact white space).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39300 72102866-910b-0410-8b05-ffd578937521
2016-01-21 12:49:15 +00:00
rfm
5b574299e7 Further correction to latin1 conversion
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39299 72102866-910b-0410-8b05-ffd578937521
2016-01-21 12:42:43 +00:00
rfm
887ec65251 Fix error copnverting utf8 constant string to latin1 data
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39298 72102866-910b-0410-8b05-ffd578937521
2016-01-21 12:27:25 +00:00
rfm
f2bf975f00 improve logging
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39258 72102866-910b-0410-8b05-ffd578937521
2016-01-07 11:50:31 +00:00
znek
5f9bfda3f5 Fixed a long standing NSNumberFormatter bug in conjunction with zero padding
and (old) NSNumberFormatterBehavior10_0


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39245 72102866-910b-0410-8b05-ffd578937521
2015-12-30 21:09:55 +00:00
znek
82c85333b5 "NSUserNotificationDefaultSoundName" constant string was declared but missing,
fixed


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39244 72102866-910b-0410-8b05-ffd578937521
2015-12-29 11:39:51 +00:00
rfm
641ffccca1 OSX copmpatibility tweak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39239 72102866-910b-0410-8b05-ffd578937521
2015-12-22 18:35:37 +00:00
thebeing
27de2178a1 Implement -components:fromDate:toDate:options:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39202 72102866-910b-0410-8b05-ffd578937521
2015-11-30 10:06:04 +00:00
rmottola
cf85f75b01 Should return success even if all path components do exist, as by Apple spec
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39189 72102866-910b-0410-8b05-ffd578937521
2015-11-22 22:39:09 +00:00
rmottola
66607af5e9 Parse length and location with scanInteger and not scanInt
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39169 72102866-910b-0410-8b05-ffd578937521
2015-11-13 00:06:18 +00:00
rmottola
6071c239b3 comment nested idef statements for clarity
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39132 72102866-910b-0410-8b05-ffd578937521
2015-11-03 09:15:26 +00:00
rfm
612c1f983c osx compatibility fixup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39122 72102866-910b-0410-8b05-ffd578937521
2015-11-02 18:10:38 +00:00
rfm
3d55d782bd tweak to raise exception in node init if we don't have libxml2
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39116 72102866-910b-0410-8b05-ffd578937521
2015-11-02 09:07:39 +00:00
rfm
f45aee1665 fix trivial typo in comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39115 72102866-910b-0410-8b05-ffd578937521
2015-11-01 23:37:11 +00:00
rfm
9ae8d5ccc3 another stub
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39114 72102866-910b-0410-8b05-ffd578937521
2015-11-01 23:28:18 +00:00
rfm
b903f12931 Revised after testing again.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39112 72102866-910b-0410-8b05-ffd578937521
2015-11-01 22:49:21 +00:00
rfm
4c6b98aea7 Create stub class when libxml2 is not available.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39111 72102866-910b-0410-8b05-ffd578937521
2015-11-01 22:40:55 +00:00
rfm
ec7d62b183 String comparison fixup for case insensitive combined with literal string.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39109 72102866-910b-0410-8b05-ffd578937521
2015-10-31 20:17:07 +00:00