David Chisnall
3f928e32ff
Add another test that makes it easier to debug string errors.
2018-05-22 17:52:39 +01:00
Richard Frith-Macdonald
ee968e6eff
tweak the deabug option
2018-03-21 14:02:47 +00:00
Richard Frith-Macdonald
f6f9483076
Add -rpath as suggested bym David
2018-03-21 12:16:17 +00:00
Richard Frith-Macdonald
146d823689
add a couple more tests for stack info
2018-03-19 09:42:34 +00:00
Richard Frith-Macdonald
d98f941b26
fix to ensure we do searches with unicode (16bit) strings.
2018-02-27 15:06:51 +00:00
Richard Frith-Macdonald
2f3fcb98e0
add a few more replacement tests
2018-02-27 14:08:12 +00:00
Richard Frith-Macdonald
776c0bbcd8
Fix boundary checks searching for unicode strings
2018-02-25 22:30:08 +00:00
Richard Frith-Macdonald
908a712cdf
Use Yavor's patch for tests
2018-02-16 07:03:34 +00:00
Richard Frith-Macdonald
eb6e83e1bb
Fix for testing consistently
2018-02-15 07:45:50 +00:00
Richard Frith-Macdonald
4aa8ca1e6d
just one more testcase
2018-02-09 08:30:08 +00:00
Richard Frith-Macdonald
14c2d9402d
Remove dead code and improve testing
2018-02-07 09:48:56 +00:00
Richard Frith-Macdonald
7045f84acc
OSX compatibility fixes for zero width space character and initialising an NSURL
...
with bad strings.
2018-01-26 12:53:47 +00:00
Richard Frith-Macdonald
0e12e226c9
new test
2018-01-26 12:31:20 +00:00
Richard Frith-Macdonald
925f1dd5e1
Add Yavor Doganov's patches for tests and config. Add fixes for GSXML
...
validation of xml documents
2018-01-14 12:30:13 +00:00
Richard Frith-Macdonald
31257785d6
External entity resolution turned off by default for security
2018-01-11 16:39:21 +00:00
Richard Frith-Macdonald
0f9aab86c3
Update for compatibility with latest OSX
2018-01-11 16:33:09 +00:00
Richard Frith-Macdonald
93389bb357
Minore xml parsing fixes
2018-01-11 13:50:39 +00:00
Richard Frith-Macdonald
562414810e
Add test for appending component to a an http URL without a path
2018-01-03 16:46:49 +00:00
Richard Frith-Macdonald
dae9b8973e
OSX compatibility tweaks based on running testcases on 10.13.2 (high sierra).
2018-01-03 15:42:09 +00:00
Richard Frith-Macdonald
6150b3fd62
Fix for bug #51592
2018-01-02 12:48:18 +00:00
Graham Lee
186d840ce6
Merge branch 'master' into json-signed-integers
2017-12-18 12:56:28 +00:00
David Chisnall
7a7b18a090
Fix typo in test.
2017-12-13 18:56:32 +00:00
David Chisnall
e35eb61dbc
Make object allocation and deallocation use the runtime.
...
All objects are now created and destroyed by the runtime, so we have
clean layering between -base and libobjc.
2017-12-13 18:22:08 +00:00
Graham Lee
910f086e26
add test
2017-11-26 08:40:28 +00:00
Wolfgang Lux
4e383e19d0
Fix incorrect unicode escape sequence, use common smiley character
2017-07-10 15:06:13 +02:00
Wolfgang Lux
bc285396da
Characters outside the BMP cannot be converted to Latin 1 string encoding
2017-07-10 10:16:27 +02:00
Richard Frith-Macdonald
99a3655108
surrogate pair test
2017-07-06 16:15:51 +01:00
Daniel Ferreira
cbfa4d8cc9
NSProcessInfo: implement getting system uptime
...
Introduce the systemUptime property to NSProcessInfo, which can compute
platform-independently what is the uptime of the system.
2017-06-29 21:18:16 +01:00
Daniel Ferreira
277ae581a6
NSHTTPCookie: fix bug in Set-Cookie parser
...
Fix a bug in NSHTTPCookie's Set-Cookie parser where it would fail to
parse more than one key-only cookie (such as "Secure; HTTPOnly;") in a
header.
2017-06-29 21:18:16 +01:00
Daniel Ferreira
644b676949
NSHTTPCookie: add support for HTTPOnly cookies
...
Add support for parsing HTTPOnly cookies (those that cannot be accessed
by clients). Implement -[NSHTTPCookie isHTTPOnly].
2017-06-29 21:18:16 +01:00
Daniel Ferreira
a9df1b104a
NSGeometry: create NSEdgeInsets struct
...
Create the NSEdgeInsets struct in NSGeometry, introduced in OSX 10.7.
Add helper functions for creating these insets.
This struct is not used in Base. Rather, it is used as part of newer
APIs in GUI.
2017-06-29 21:18:16 +01:00
Richard Frith-Macdonald
24d29934cf
Fix directory creation to match actual OSX sematics as determined by adding
...
a few testcases ...
The basic method should fail if the directory already exists.
The intermediate directories method should fail if the directory exists unless
the option to create intermediate directories is selected, in which case a
pre-existing directory is counted as a success.
2017-06-18 09:13:57 +01:00
Richard Frith-Macdonald
ed721bf4da
Fix directory creation to use low level methods which consider the presence
...
of an existing directory to be an error, rather than the NSFileManager methods
that consider it a success. The logic of distributed locking requires us to
fail if a directory already exists.
2017-06-17 06:52:05 +01:00
Richard Frith-MacDonald
1f786ad7a8
fixes for #47618
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40462 72102866-910b-0410-8b05-ffd578937521
2017-04-09 12:45:18 +00:00
Richard Frith-MacDonald
85e8bdb20d
non-lossy emncoding tests
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40394 72102866-910b-0410-8b05-ffd578937521
2017-03-17 11:50:05 +00:00
Richard Frith-MacDonald
cc27fb0cb5
Use UTF8String rather than cString
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40393 72102866-910b-0410-8b05-ffd578937521
2017-03-17 09:45:02 +00:00
Richard Frith-MacDonald
c2e3d29282
fix accidental delete
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40391 72102866-910b-0410-8b05-ffd578937521
2017-03-17 09:24:12 +00:00
Richard Frith-MacDonald
80547ce977
fix configure issue on osx
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40390 72102866-910b-0410-8b05-ffd578937521
2017-03-17 09:22:57 +00:00
Wolfgang Lux
e3caba204b
Fix a serious misunderstanding of the icu string access API: The value
...
of nativeIndexingLimit must not exceed the length of the current chunk.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40333 72102866-910b-0410-8b05-ffd578937521
2017-02-11 14:24:58 +00:00
Niels Grewe
6509aeb2de
Fix handling of incorrect replacement patterns.
...
The error code from trying to apply a replacement pattern was not checked,
resulting in a crash inside libicu. This also fixes a few memory leaks
(replacement string objects not correctly autoreleased before returning them
to the caller).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40142 72102866-910b-0410-8b05-ffd578937521
2016-10-12 13:43:32 +00:00
Niels Grewe
0abb1803ce
s/codpepoint/codepoint
...
Thanks Ivan!
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40141 72102866-910b-0410-8b05-ffd578937521
2016-10-11 17:12:31 +00:00
Niels Grewe
aadf76eeb6
Fix testcase for 0xfffe in a string (in initial position it
...
it is just used to derive the byte-order and then discarded)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40140 72102866-910b-0410-8b05-ffd578937521
2016-10-11 12:35:29 +00:00
Niels Grewe
f9540e172e
Improve support for loading encrypted private keys
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40139 72102866-910b-0410-8b05-ffd578937521
2016-10-11 11:59:04 +00:00
Richard Frith-MacDonald
63bd893d1e
more characters
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40109 72102866-910b-0410-8b05-ffd578937521
2016-09-26 11:11:05 +00:00
Richard Frith-MacDonald
dbc9328a61
add fffd and ffff
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40108 72102866-910b-0410-8b05-ffd578937521
2016-09-26 11:04:51 +00:00
Richard Frith-MacDonald
34bcd16ed3
test for unicode noncharacter codepoint
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40107 72102866-910b-0410-8b05-ffd578937521
2016-09-26 10:59:02 +00:00
Niels Grewe
b1c979898d
Fix detection of the charset in XML data
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40090 72102866-910b-0410-8b05-ffd578937521
2016-09-19 15:56:51 +00:00
Niels Grewe
f5641389f0
Test case for extracting charset from xml string data
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40089 72102866-910b-0410-8b05-ffd578937521
2016-09-19 15:51:48 +00:00
Richard Frith-MacDonald
85b02833b1
scanHexLongLong inspider by Abbas Raza
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40070 72102866-910b-0410-8b05-ffd578937521
2016-09-06 07:57:17 +00:00
Richard Frith-MacDonald
ead1505a3c
Fix typo causing preamature termination of long headers
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40065 72102866-910b-0410-8b05-ffd578937521
2016-08-28 09:53:38 +00:00