Commit graph

6960 commits

Author SHA1 Message Date
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
rfm
7843086274 remove declaration of unused methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39084 72102866-910b-0410-8b05-ffd578937521
2015-10-21 07:10:25 +00:00
rfm
25ca0a3848 protect from both old runtime and old compiler
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39042 72102866-910b-0410-8b05-ffd578937521
2015-10-08 09:13:32 +00:00
rfm
db6451147f fixup for old runtime
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39041 72102866-910b-0410-8b05-ffd578937521
2015-10-08 09:04:48 +00:00
rfm
a3098d68b6 fixup for old runtime
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39040 72102866-910b-0410-8b05-ffd578937521
2015-10-08 08:52:32 +00:00
rfm
e56c1f6bcb fix escaped encoding to be ascii
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39036 72102866-910b-0410-8b05-ffd578937521
2015-10-07 06:25:18 +00:00
rfm
b8b1984d29 fix retain/release error
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39035 72102866-910b-0410-8b05-ffd578937521
2015-10-06 11:54:39 +00:00
fredkiefer
ecd7eb7c1a * Source/NSPropertyList.m (GSBinaryPLGenerator-storeCount:): Use
0x12 instead of 0x13 for integer count.
        * Source/NSPropertyList.m (GSBinaryPLParser-readCountAt:):
        * Handle
        0x12 correctly. Use same code for 0x13 to read old incorrect
        written data.
        Based on change by Josh Freeman <pikopixel@twilightedge.com>


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39025 72102866-910b-0410-8b05-ffd578937521
2015-10-03 19:50:03 +00:00
rfm
e0df064e4e imprve exception logging
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39024 72102866-910b-0410-8b05-ffd578937521
2015-10-03 18:56:08 +00:00
rfm
3e0442abe1 Fixup bad report of selector in an exception in runloop
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39023 72102866-910b-0410-8b05-ffd578937521
2015-10-03 17:38:21 +00:00
rfm
66e9b7088e fix typo in comment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39022 72102866-910b-0410-8b05-ffd578937521
2015-10-03 17:11:00 +00:00
rfm
4a7484132e improve logging of sending bad selector to be performed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39021 72102866-910b-0410-8b05-ffd578937521
2015-10-03 16:56:07 +00:00
rfm
b6f0a41871 Entity substitution fix by Wolfgang
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39014 72102866-910b-0410-8b05-ffd578937521
2015-09-23 06:08:20 +00:00
rfm
82e7f44a2c changes intended to allow use of _Bool throughout
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39010 72102866-910b-0410-8b05-ffd578937521
2015-09-22 09:46:10 +00:00
rmottola
08f11033ee define keys with strings compatible with the deprecated values
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38996 72102866-910b-0410-8b05-ffd578937521
2015-09-18 08:42:40 +00:00
rmottola
ee3970f50e Add some 10.6 URL errors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38995 72102866-910b-0410-8b05-ffd578937521
2015-09-18 08:33:38 +00:00
rmottola
2ec70cee86 Add simple (files only and no keys handling) implementation of 10.6 method contentsOfDirectoryAtURL
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38987 72102866-910b-0410-8b05-ffd578937521
2015-09-16 00:53:30 +00:00
thebeing
529bc2bd33 Fix a bug writing base64 data to a plist
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38973 72102866-910b-0410-8b05-ffd578937521
2015-09-08 07:13:54 +00:00
thebeing
6f548d1c8d Optimise appending UTF-16 strings for formatting
If the string being appended to already uses unichar as the underlying 
character type, append the new characters using memcpy() instead of
looping over them individually. Also includes test cases to verify that
nothing breaks.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38969 72102866-910b-0410-8b05-ffd578937521
2015-09-04 09:48:07 +00:00
rfm
04c34a8c75 add gnustlsFileSystemRepresentation for mingw
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38965 72102866-910b-0410-8b05-ffd578937521
2015-09-02 17:23:07 +00:00
thebeing
a79ff46c2d Fix handling of capture groups not participating in the current match.
The Cocoa API specifies to return theses as (NSNotFound,0) ranges, but the
ICU API returns them as (-1,-1) pairs of start/end indices. The necessary
conversion was missing here.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38963 72102866-910b-0410-8b05-ffd578937521
2015-09-01 11:31:16 +00:00
rfm
6e88b865d5 Allow debug to be turned on for an individual request
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38958 72102866-910b-0410-8b05-ffd578937521
2015-08-30 15:50:27 +00:00
rfm
c03f00d938 tweak format of base64 encoded data content
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38957 72102866-910b-0410-8b05-ffd578937521
2015-08-30 10:50:59 +00:00
rfm
d2dd33f3b1 fixup for nul termination of debug output
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38955 72102866-910b-0410-8b05-ffd578937521
2015-08-30 10:25:52 +00:00
rfm
afa642aa1f more tweaks ... move base64 encoding to shared private function
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38954 72102866-910b-0410-8b05-ffd578937521
2015-08-30 09:23:27 +00:00