Commit graph

10024 commits

Author SHA1 Message Date
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
rfm
bfcded4efc add __has_extension
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39151 72102866-910b-0410-8b05-ffd578937521
2015-11-04 17:55:05 +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
thebeing
10f496447b Implement the NS_ENUM AND NS_OPTIONS macros to (hopefully) work both on gcc
and clang.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39029 72102866-910b-0410-8b05-ffd578937521
2015-10-05 18:43:44 +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
thebeing
8e820528d9 Test for parsing &amp; in an attribute
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39011 72102866-910b-0410-8b05-ffd578937521
2015-09-22 12:32:37 +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
deba4a80da Do not enable weak on mingw, because it works only with ELF
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39009 72102866-910b-0410-8b05-ffd578937521
2015-09-22 08:26: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
4759a9616a Add some 10.6 URL errors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38994 72102866-910b-0410-8b05-ffd578937521
2015-09-18 07:36:13 +00:00
rfm
8877afdd82 fixup config test for older clang
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38990 72102866-910b-0410-8b05-ffd578937521
2015-09-16 13:21:21 +00:00
rmottola
0b5ee81ef5 define type more traditional GS way or gcc didn't like it
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38988 72102866-910b-0410-8b05-ffd578937521
2015-09-16 07:41:49 +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
dabc95ccf6 check flags used at make configure time
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38967 72102866-910b-0410-8b05-ffd578937521
2015-09-03 14:23:20 +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
079a30f991 Check that LDFLAGS environment variable is consistent with the one used for make
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38962 72102866-910b-0410-8b05-ffd578937521
2015-08-31 05:39:23 +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
rfm
8e3bc2f56b Use base64 in gnustep property lists
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38953 72102866-910b-0410-8b05-ffd578937521
2015-08-30 07:28:26 +00:00
rfm
9dac93729d gnustep ptext property list format improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38952 72102866-910b-0410-8b05-ffd578937521
2015-08-30 06:59:34 +00:00
rfm
023abd2128 fix potential deadlock
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38951 72102866-910b-0410-8b05-ffd578937521
2015-08-30 06:40:40 +00:00
rfm
3985281731 tweak logging in NSURLProtocol to cope with nul bytes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38950 72102866-910b-0410-8b05-ffd578937521
2015-08-29 21:13:14 +00:00
rfm
9d4c8067dd tweak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38948 72102866-910b-0410-8b05-ffd578937521
2015-08-29 20:45:52 +00:00
rfm
5fd8c17dfe keep old format if there are no nul bytes to print
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38947 72102866-910b-0410-8b05-ffd578937521
2015-08-29 20:25:16 +00:00
rfm
6b1fb1d5a1 Safer debug logging for http request/response
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38946 72102866-910b-0410-8b05-ffd578937521
2015-08-29 20:12:33 +00:00