Commit graph

770 commits

Author SHA1 Message Date
Richard Frith-Macdonald
f4da566b94 Simple check for timezone adjustments around 1970 2021-01-22 10:34:06 +00:00
Richard Frith-Macdonald
0ece3b8980 avoid clash with strnstr() declaration on bsd systems 2021-01-22 03:47:16 -05:00
Richard Frith-Macdonald
68308540bd Add a couple of teswts for scanning zeros as doubles 2021-01-21 14:38:31 +00:00
Richard Frith-Macdonald
5026274f6c fix stupid mistake using wrong string value 2020-12-15 12:34:03 +00:00
Richard Frith-Macdonald
bcbdeb64a8 Fix initialisation of NSUUID from string (permit mixed case hex digits) 2020-12-15 10:40:55 +00:00
Richard Frith-Macdonald
aff02f4d08 Create temporarry file in current directory and delete it when done ... fixes testcase to work on windows. 2020-12-03 09:22:15 -05:00
Richard Frith-Macdonald
1b7bf26bea Merge changes for NSURLSession from EngageHub (formerly Brainstorm). 2020-11-29 06:57:47 -05:00
Richard Frith-Macdonald
a34beadb8e Merge branch 'gnustep_testplant_mergeback' of https://github.com/TestPlant/libs-base into TestPlant-gnustep_testplant_mergeback
Conflicts:
	ChangeLog
2020-11-13 05:39:15 +00:00
Richard Frith-Macdonald
9b8a84d936 allow more time for operations thread to exit on slow machines 2020-11-12 11:37:53 +00:00
Adam Fox
0b69d88ee2 Implementation of [NSData rangeOfData:options:range], adapted from [NSString rangeOfString:options:range]. 2020-10-12 12:22:00 -06:00
Richard Frith-Macdonald
2a522739cb add test for array as key 2020-09-23 08:39:33 +01:00
Richard Frith-Macdonald
689932aa10 add checks for rewriting a file 2020-07-31 15:02:15 +01:00
Richard Frith-Macdonald
15749a312d Add check for timestamp behavior when writing via NSData method 2020-07-31 14:34:07 +01:00
Richard Frith-Macdonald
5408a71964 add delay to be clear file date is in past before we copy it 2020-07-31 09:10:41 +01:00
Richard Frith-Macdonald
c1d4629a83 OSX, unlike Posix, sets the modification and creation dates of a copy to be the same as the original (within floating point limits). 2020-07-30 16:39:47 +01:00
Richard Frith-Macdonald
cf3fc4648c Add test that creation/modification dates of copy differ from original 2020-07-29 14:58:21 +01:00
Richard Frith-Macdonald
ba24a18176 Add a fgew tests for capitalisation 2020-06-24 11:34:50 +01:00
Richard Frith-Macdonald
064c779fca an empty string is not equal to nil 2020-06-23 06:53:47 +01:00
Richard Frith-Macdonald
c04911d84f Fix by Yavor Doganiv ... disable certificate expiry test except on 64bit systems, because old 32bit systems can't cope with the test certificate end date. 2020-06-12 09:11:41 +01:00
Frederik Seiffert
e87d481f64 Add tests for NSValueTransformer. 2020-06-11 14:15:57 +02:00
Frederik Seiffert
b05c6d65bf Test replacing a weak value in NSMapTable. 2020-06-05 11:48:35 +02:00
Richard Frith-Macdonald
1be8a1375a tidy whitespace 2020-05-29 16:24:59 +01:00
Richard Frith-Macdonald
4da65fa4ff Add tests for exactly when notification of thread exit occurs 2020-05-26 16:26:35 +01:00
Frederik Seiffert
cd251a531a Extended general tests for NSUserDefaults. 2020-05-26 13:16:19 +02:00
fredkiefer
6c7defba24 * Tests/base/NSLocale/general.m: Mark more tests that depend on
locale setting as hopes.
* Tests/base/NSXMLParser/parse.m: Mark stream test as hopeful as
this isn't implemented at the moment.
* Tests/base/NSURL/basic.m: Use PASS_EQUAL in the downlaod test
to get the actual http status reported.
2020-05-09 15:46:32 +02:00
Richard Frith-Macdonald
2b704dd9d4 Update testcses to cover both parsers 2020-05-06 15:23:18 +01:00
rfm
ca2abf51f7
Merge pull request #130 from triplef/add-nsxmlparser-stream-support
Implement -[NSXMLParser initWithStream:].
2020-05-06 14:08:39 +01:00
Fred Kiefer
0b4f3b382a
Merge pull request #126 from alotorev/bugfix/NSURLComponents
Bugfix/nsurl components
2020-05-06 13:09:35 +02:00
Frederik Seiffert
5dfda50d82 Implement -[NSXMLParser initWithStream:]. 2020-05-05 19:41:22 +02:00
Richard Frith-Macdonald
dcfe2a2ce3 Fix -[NSCharacterSet invertedSet] to work by calling -invert on a mutable copy 2020-05-05 09:51:34 +01:00
alotorev
4aa11f3e48 Improvements suggested by Fred Kiefer for the current pull request 2020-05-04 10:55:41 +03:00
alotorev
57f3dd66f6 Added tests to highlight some problems of the current implementation of NSURLQueryItems and NSURLComponent. The tests passed on OSX. 2020-05-04 01:23:28 +03:00
Artem Lotorev
58e1b0ed48 Added param to run a test on a separate object or test file. Added .DS_Store to .gitignore 2020-04-30 14:18:05 +03:00
Artem Lotorev
56be28aa11 Fixed build issue due to wrong argument in the macro 2020-04-28 03:07:09 +03:00
Artem Lotorev
2e22bf344d Added helper method for percent decoding/encoding tests 2020-04-28 02:27:18 +03:00
Artem Lotorev
4b53530b5c Added test for [NSString stringByRemovingPercentEncoding], updated percent-encoding tests with PASS_EQUAL 2020-04-27 19:59:05 +03:00
fredkiefer
a48694941c Add newer features for NSDateComponents and
started to clean up NSCalendar implementation.
2020-04-26 21:13:22 +02:00
Richard Frith-Macdonald
ccfb05525e Merge branch 'master' of github.com:gnustep/libs-base 2020-04-21 09:03:25 +01:00
Richard Frith-Macdonald
cd68b7e4da Add tests for notification equality 2020-04-21 09:02:34 +01:00
Richard Frith-Macdonald
6ee0cfff00 Add testcase for multiple clookies in a header. Fix error parsing a literal
string (writing nul terminator to read only memory)
2020-04-16 20:19:53 +01:00
Richard Frith-Macdonald
225de7f9b3 test the URL component character sets 2020-04-13 09:20:59 +01:00
Richard Frith-Macdonald
61bd73832f use PASS_EQUAL for better diagnostics 2020-04-10 14:23:22 +01:00
Richard Frith-Macdonald
4bc622bafd Add a few tests and fix a few warnings 2020-04-05 10:25:54 +01:00
Richard Frith-Macdonald
2a24e8d080 fixups for setting/getting nil/empty query string values 2020-04-04 22:37:40 +01:00
fredkiefer
b0c763de36 Build the string instead of the URL.
Build the URL on the fly.
2020-04-04 20:33:55 +02:00
Gregory John Casamento
d691df9cbf Fix error in test compilation 2020-04-04 12:34:15 -04:00
Gregory John Casamento
213344d862 Add tests and modifications to pass them 2020-04-04 12:15:17 -04:00
Gregory John Casamento
564f61d572 Add tests for NSURLComponents 2020-04-04 09:44:22 -04:00
Niels Grewe
115d41738a
NSBundle tests: Rely on executable -rpath, not on TestInfo environment 2020-03-09 07:43:14 +01:00
Niels Grewe
62cd15a74c
NSBundle tests: fix framework linkage with older linkers 2020-03-08 13:24:03 +01:00
fredkiefer
eda24a2c02 Set test framework version to two. 2020-03-07 10:49:26 +01:00
fredkiefer
baa8e2465b Extend NSBundle test to check for framework resource loading. 2020-03-01 10:41:14 +01:00
Richard Frith-Macdonald
0cd9843f5f workaround for conflisct with clang/unistd.h 2020-02-08 16:37:42 +00:00
Frederik Seiffert
d8565b075f Skip NSHashTable/NSMapTable weak objects tests if ARC is unavailable 2019-12-10 11:57:50 +01:00
Fred Kiefer
260a2cb969
Merge branch 'master' into add-weak-table-tests 2019-12-07 11:00:44 +01:00
Niels Grewe
b238f8169b
Merge remote-tracking branch 'origin/master' into swift-corelibs-libdispatch 2019-12-03 09:37:27 +01:00
Niels Grewe
b39c9e499c
fix a concurrency issue in NSArray enumeration test 2019-12-02 23:58:22 +01:00
Niels Grewe
ecd2d85cb9
Fix runloop integration for libdispatch from swift 2019-11-28 19:12:13 +01:00
Frederik Seiffert
79ac00e42c Added tests for NSHashTable/NSMapTable weak objects 2019-11-04 16:01:36 +01:00
Richard Frith-Macdonald
d7d4400836 fix typo 2019-09-30 09:36:31 +01:00
Gregory Casamento
f8bdca966f
Merge pull request #74 from gnustep/NSFile_changes_branch
NSFile changes branch
2019-09-28 01:29:34 -04:00
Gregory John Casamento
2037a42bb5 Remove generated GNUmakefile. 2019-09-27 02:05:29 -04:00
Gregory John Casamento
ced9f127e9 Fix issue with name parser 2019-09-27 00:00:59 -04:00
Gregory John Casamento
8e6a4cc18d Add tests 2019-09-26 19:10:01 -04:00
Gregory John Casamento
17418f6ffc Add tests 2019-09-26 16:16:58 -04:00
Richard Frith-Macdonald
ecc770e5a9 work with other C standards 2019-09-26 15:40:09 +01:00
rfm
51092fac8d
Merge pull request #68 from gnustep/fix-dict-sort-kbv
Fixing NSDictionary keysSortedByValueUsingComparator:
2019-09-26 15:39:01 +01:00
Richard Frith-Macdonald
8363a7f3a1 Added check for blocks availability. Added testcase for sort by selector.
Tidied to match coding style
2019-09-26 12:44:25 +01:00
Richard Frith-Macdonald
ddcff45b89 add test for removing all the objects in an array.
cleanup other tests a bit
2019-09-25 10:36:41 +01:00
Patryk Laurent
a4ec3d9d6f add missing imports 2019-09-02 16:00:17 -07:00
Patryk Laurent
155bec0aca Add (failing) test for keysSortedByValueUsingComparator: 2019-09-02 15:38:35 -07:00
Gregory Casamento
61b2cbe527
Merge pull request #65 from gnustep/NSProgress_fixes_branch
NSProgress fixes branch
2019-08-14 05:17:08 -04:00
Gregory John Casamento
0f09fefac3 Fix crash due to dictionary 2019-08-14 04:30:52 -04:00
Richard Frith-Macdonald
c4f3ae77fd fix to cmpile with older versions of C 2019-08-13 06:45:13 +01:00
Richard Frith-Macdonald
9a055f93ad Bugfix and improved logging 2019-08-12 16:37:38 +01:00
Gregory John Casamento
57f6c8b491 Add NSProgress tests 2019-08-10 01:40:44 -04:00
Gregory John Casamento
9c4d2ca982 Add NSProgress 2019-08-10 01:40:09 -04:00
Gregory John Casamento
ac5983cc1f Add test 2019-07-08 08:11:28 -04:00
Gregory John Casamento
679403c8d6 Add tests for NSUbiquitousKeyValueStore 2019-07-07 06:20:58 -04:00
Gregory Casamento
75f3f0b57d
Merge pull request #46 from gnustep/add_nsorderedset_classcluster
Add nsorderedset classcluster
2019-07-02 12:46:20 -04:00
Wolfgang Lux
7eb0858c4a Use fixed time zone in test case 2019-07-02 10:08:09 +02:00
Gregory John Casamento
458958554b Fixed test 2019-07-02 01:00:41 -04:00
Gregory John Casamento
ae46b02ee2 Add new tests for indexOfObjectAtIndexes:... 2019-07-01 19:23:45 -04:00
Gregory John Casamento
3b88b49eb0 Additional test for method requested to be tested 2019-07-01 18:40:32 -04:00
Gregory John Casamento
2d94f5d17f Add new test for indexesOfOobjectsMPassingTest: 2019-07-01 09:11:05 -04:00
Gregory John Casamento
d814df7311 Add new test for indexOfObjectPassingTest 2019-06-28 13:58:12 -04:00
fredkiefer
05233e64d6 Remove broken test. This code gave a bad access exception when run on a Mac. 2019-06-27 19:02:03 +02:00
fredkiefer
eff6575d9f Add test for isSubsetOfSet: and correct implementation to fit the test. 2019-06-27 15:26:01 +02:00
fredkiefer
ff675b2e78 Format the test code. 2019-06-27 15:10:14 +02:00
Gregory John Casamento
d826bb5a25 Reduce repetitive implementation of the same algorithm in the code. Make sure that insertion happens in one method only 2019-06-18 22:07:11 -04:00
Gregory John Casamento
f2ba8a3093 Add macos archive test 2019-06-17 20:00:50 -04:00
Gregory John Casamento
3278eaa2ca Add new test, fix replaceObjectsAtIndexes:withObjects: 2019-06-13 06:00:40 -04:00
Gregory John Casamento
0a2f885456 Reimplement some methods to fix some issues. 2019-06-12 11:23:33 -04:00
Gregory John Casamento
6ad1e47ab7 Fix issue with move method 2019-06-12 08:21:32 -04:00
Gregory John Casamento
966c31f43d Fix a number of comments by Fred 2019-06-10 10:20:26 -04:00
Gregory John Casamento
c53336b29e Add new tests 2019-06-09 14:53:06 -04:00
Gregory John Casamento
f8994e1049 New tests and corrected code for NSOrderedSet/NSMutableOrderedSet. Submitting for review. 2019-06-09 07:17:57 -04:00
Gregory John Casamento
48cf585c46 Rudimentary NSOrderedSet tests 2019-06-08 08:56:18 -04:00
Richard Frith-Macdonald
8ed7ccea9e Cleanups to avoid code conflicts and buffer overrun fixes. 2019-04-16 08:07:16 +01:00
Gregory John Casamento
665bdcf952 Add test for emoji's back in. 2019-04-13 04:52:48 -04:00
Gregory John Casamento
298f87d24e All tests passing. Implementation of string and nscharacterset methods completed 2019-04-12 08:46:41 -04:00
Gregory John Casamento
f1b48541ae Fix issue with character set caching. 2019-04-12 06:57:40 -04:00
Gregory John Casamento
51e0e3f45e Some additional changes to the test 2019-04-10 05:43:25 -04:00
Gregory John Casamento
2a7183cb27 Latest changes to test 2019-04-09 06:44:56 -04:00
Gregory John Casamento
4b1138259c Add test09 to test new functions. 2019-04-09 06:30:42 -04:00
Richard Frith-Macdonald
06019034b0 header line folding fix 2019-02-15 14:13:14 +00:00
Richard Frith-Macdonald
d6ef10f224 fixes for encoding in mime header encoded word 2019-02-14 11:19:33 +00:00
Richard Frith-Macdonald
9afe522216 fixup for new guard condition 2019-02-13 09:27:49 +00:00
Richard Frith-Macdonald
6f3bd6ac97 Expose GNU TLS wrappers and add methods to get certificate expiry 2019-01-16 09:56:08 +00:00
Ivan Vučica
786c7aa30a Tests/base/NSBundle/resources.m: Fixed undefined NSArray* arr.
This fixes the accidental breakage from 2107c82ca4
which made arr invisible due to the change of "NSBundle GNUstep resources"
testset scope.
2019-01-06 20:06:24 +00:00
Richard Frith-Macdonald
2107c82ca4 fixup errors in set names and nesting 2019-01-05 15:41:15 +00:00
David Chisnall
00472f14d0 Fix the message telling you how to run the tests.
'make check' tells me that I must use GNU make.  The message now tells
me to use gmake (or whatever make I used that worked for the build).
2018-12-27 13:44:45 +00:00
Richard Frith-Macdonald
e60b2004af UTF8 parsing improvements 2018-07-14 07:25:40 +01:00
Richard Frith-Macdonald
1066ec7015 Ensure we are testing the internal 16bit unicode representation class. 2018-07-02 14:20:58 +01:00
fredkiefer
ab60bab84a * Source/GSString.m: Move the method _unicodeString from here...
* Tests/base/NSString/test00.m: ...to here.
2018-07-01 23:50:05 +02:00
fredkiefer
b36412d20f * Tests/base/NSString/test00.m: Add David Chisnall's test from
newapi branch slightly reformatted.
2018-06-28 23:59:14 +02:00
fredkiefer
4ebe918306 * Tests/base/NSProcessInfo/general.m: Mark test for -systemUptime
as hopeful as it may fail in GNU Hurd.
Fixes bug #53941.
Based on idea by Yavor Doganov  <yavor@gnu.org>
2018-05-27 14:13:48 +02:00
fredkiefer
09da1e6894 * Tests/base/NSNumberFormatter/basic10_4.m: Avoid test failure on
big-endian platforms by converting unichar to an NSString.
2018-05-18 15:00:06 +02: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
Richard Frith-MacDonald
33ed35331b Various configure/build tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40062 72102866-910b-0410-8b05-ffd578937521
2016-08-19 12:20:24 +00:00
Richard Frith-MacDonald
2615582d7c Fixup for newer ICU
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40057 72102866-910b-0410-8b05-ffd578937521
2016-08-09 07:00:36 +00:00
Richard Frith-MacDonald
a6bce78c64 First attempt at GSMimeSerializer for more controlled serialisation of
documents so we can choose between a form suitable for old SMTP MTAs, or
for modern binary-safe transports.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40049 72102866-910b-0410-8b05-ffd578937521
2016-08-03 09:24:53 +00:00
Niels Grewe
ad428b99d5 Fix -getObjects:andKeys:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40036 72102866-910b-0410-8b05-ffd578937521
2016-07-26 23:24:56 +00:00
Niels Grewe
c2be055c3e Add [NSData initWithBytesNoCopy:length:deallocator:]
This new initializer allows customising the deallocation behaviour
through user-supplied blocks. 


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40035 72102866-910b-0410-8b05-ffd578937521
2016-07-26 23:01:11 +00:00
Richard Frith-MacDonald
9188a050ef fix for bug #47926
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40007 72102866-910b-0410-8b05-ffd578937521
2016-07-18 09:51:35 +00:00
Richard Frith-MacDonald
ab5285aaab fixups for run loop handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39989 72102866-910b-0410-8b05-ffd578937521
2016-07-12 17:54:40 +00:00
Richard Frith-MacDonald
788c9aa7e2 run loops for half a second
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39988 72102866-910b-0410-8b05-ffd578937521
2016-07-12 17:37:32 +00:00
Richard Frith-MacDonald
bd106b0bd0 fixup wait for connection
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39987 72102866-910b-0410-8b05-ffd578937521
2016-07-12 16:25:49 +00:00
Richard Frith-MacDonald
16925d77b3 invlidate timer when no longer used
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39982 72102866-910b-0410-8b05-ffd578937521
2016-07-12 11:15:43 +00:00
Richard Frith-MacDonald
103bf4cf97 check runMode:beforeDate:afor nil date
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39981 72102866-910b-0410-8b05-ffd578937521
2016-07-12 11:12:32 +00:00
Richard Frith-MacDonald
b4d30c2830 make sure the loop has an input source
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39980 72102866-910b-0410-8b05-ffd578937521
2016-07-12 11:06:43 +00:00
Richard Frith-MacDonald
8304096497 add tests for timer firing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39979 72102866-910b-0410-8b05-ffd578937521
2016-07-12 10:50:50 +00:00
Niels Grewe
dfe7feebf2 Test case for the [NSRegularExpression pattern] bug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39961 72102866-910b-0410-8b05-ffd578937521
2016-07-06 14:59:08 +00:00
Richard Frith-MacDonald
69d6cfa99d Some testcase reliability improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39957 72102866-910b-0410-8b05-ffd578937521
2016-07-01 15:22:35 +00:00
Niels Grewe
b0e4faac68 Test framework loading as well (we recently had a fault there)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39954 72102866-910b-0410-8b05-ffd578937521
2016-07-01 11:08:54 +00:00
Richard Frith-MacDonald
4a2081691d test for home directory of non-existent user
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39927 72102866-910b-0410-8b05-ffd578937521
2016-06-27 06:39:31 +00:00
Richard Frith-MacDonald
96d39e79bc If we don't have a home directory, we can't expand a '~' in a path.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39926 72102866-910b-0410-8b05-ffd578937521
2016-06-26 12:04:23 +00:00
Richard Frith-MacDonald
04406427e3 Add newere method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39924 72102866-910b-0410-8b05-ffd578937521
2016-06-26 05:56:10 +00:00
Richard Frith-MacDonald
35962654cb one more hope.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39923 72102866-910b-0410-8b05-ffd578937521
2016-06-25 19:25:14 +00:00
Richard Frith-MacDonald
d9d4cd2982 fix test to use consistent time zone (GMT)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39921 72102866-910b-0410-8b05-ffd578937521
2016-06-25 18:33:55 +00:00
Richard Frith-MacDonald
b07fe2eb2b Fix uninitialised variables
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39906 72102866-910b-0410-8b05-ffd578937521
2016-06-22 14:14:05 +00:00
Richard Frith-MacDonald
8b4923c76e fix 64bit error in method type declarations
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39903 72102866-910b-0410-8b05-ffd578937521
2016-06-22 09:43:00 +00:00
Richard Frith-MacDonald
0c7237ec08 s390x portability fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39901 72102866-910b-0410-8b05-ffd578937521
2016-06-22 07:54:16 +00:00
Niels Grewe
0d98f56eca Implement resource limits for regular expression evaluation. Tweaked
to roughly match the Cocoa behaviour, but can be changed through 
the GSRegularExpressionWorkLimit user default.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39872 72102866-910b-0410-8b05-ffd578937521
2016-06-17 09:04:04 +00:00
Niels Grewe
ac2d08d2a1 Implement -isEqual: and -hash on NSRegularExpression, so that copies are
actually equal


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39871 72102866-910b-0410-8b05-ffd578937521
2016-06-17 07:43:51 +00:00
Richard Frith-MacDonald
491474cbf3 fixup bad variable size
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39863 72102866-910b-0410-8b05-ffd578937521
2016-06-14 19:52:30 +00:00
Richard Frith-MacDonald
d60587e6bb Fixes for failure of connect() system call
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39862 72102866-910b-0410-8b05-ffd578937521
2016-06-14 07:10:44 +00:00
Niels Grewe
cb6b795926 Fix test for sum() aggregate: It was calling the count operator on
the array instead of actually summing up the values.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39851 72102866-910b-0410-8b05-ffd578937521
2016-06-08 07:45:56 +00:00
Richard Frith-MacDonald
e7c50a1eb2 just hope for extension to work
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39840 72102866-910b-0410-8b05-ffd578937521
2016-06-06 20:49:08 +00:00
Richard Frith-MacDonald
5224b275d8 For blocking read test, use a pipe rather than stdin ... in case the tests
are being run as a batch job with no stdin.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39815 72102866-910b-0410-8b05-ffd578937521
2016-05-27 07:15:31 +00:00
Richard Frith-MacDonald
5d51d364d8 remove bad test
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39805 72102866-910b-0410-8b05-ffd578937521
2016-05-25 06:33:49 +00:00
Richard Frith-MacDonald
7332655ada fix error in predicate test
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39804 72102866-910b-0410-8b05-ffd578937521
2016-05-25 06:18:49 +00:00
Richard Frith-MacDonald
8a9d9597b0 tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39779 72102866-910b-0410-8b05-ffd578937521
2016-05-19 07:21:36 +00:00
Richard Frith-MacDonald
e73330ea22 try explicitly setting the padding character
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39772 72102866-910b-0410-8b05-ffd578937521
2016-05-17 06:55:58 +00:00
Richard Frith-MacDonald
97d38ffc0c Fix incorrect use of autorelease pools.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39760 72102866-910b-0410-8b05-ffd578937521
2016-05-14 05:27:09 +00:00
Richard Frith-MacDonald
a7ccd1460f allow for different versions of ICU generating different formats.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39759 72102866-910b-0410-8b05-ffd578937521
2016-05-14 05:18:59 +00:00
Richard Frith-MacDonald
05b5393bda Fix error setting include directories
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39754 72102866-910b-0410-8b05-ffd578937521
2016-05-13 14:00:54 +00:00
Richard Frith-MacDonald
2ebf6f8761 tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39737 72102866-910b-0410-8b05-ffd578937521
2016-05-10 10:05:21 +00:00
Richard Frith-MacDonald
9efb9a32e3 avoid compiler warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39736 72102866-910b-0410-8b05-ffd578937521
2016-05-10 09:56:41 +00:00
Richard Frith-MacDonald
223721d583 Include missing header
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39735 72102866-910b-0410-8b05-ffd578937521
2016-05-10 09:46:38 +00:00
Richard Frith-MacDonald
fb2b7d1d33 Check that we have the locale 'en'
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39675 72102866-910b-0410-8b05-ffd578937521
2016-04-17 15:30:55 +00:00
Richard Frith-MacDonald
53e2ded50a numeric sort test
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39667 72102866-910b-0410-8b05-ffd578937521
2016-04-14 14:59:29 +00:00
Richard Frith-MacDonald
73a3bc2eb4 none more check
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39656 72102866-910b-0410-8b05-ffd578937521
2016-04-11 10:53:41 +00:00
Richard Frith-MacDonald
d2ea043c2e Add BOOL archive
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39648 72102866-910b-0410-8b05-ffd578937521
2016-04-08 11:33:48 +00:00
Richard Frith-MacDonald
3e081a3670 added test for BOOL (should be same as char normally)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39641 72102866-910b-0410-8b05-ffd578937521
2016-04-07 06:21:50 +00:00
Niels Grewe
c0282c4073 If libdispatch provides integration hooks for the main queue
(i.e. nickhutchinson/libdispatch), use these to drain the main
queue using the main run loop.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39617 72102866-910b-0410-8b05-ffd578937521
2016-04-04 08:17:08 +00:00
Richard Frith-MacDonald
030f54a9cf Fix missing includes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39606 72102866-910b-0410-8b05-ffd578937521
2016-03-25 10:10:53 +00:00
Richard Frith-MacDonald
1db866fde7 on 32bit systems constrain dates to fit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39549 72102866-910b-0410-8b05-ffd578937521
2016-03-15 19:04:51 +00:00
Richard Frith-MacDonald
6b517d42a9 add testcase for bug #47422
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39546 72102866-910b-0410-8b05-ffd578937521
2016-03-15 18:21:33 +00:00
Richard Frith-MacDonald
f32f5c6f84 set the locale for the tests to be the system locale
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39536 72102866-910b-0410-8b05-ffd578937521
2016-03-14 07:24:00 +00:00
Richard Frith-MacDonald
34ad8bb0a5 fix bad printf format
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39535 72102866-910b-0410-8b05-ffd578937521
2016-03-14 07:11:51 +00:00
Niels Grewe
fcbbe0431f Implement -evaluateWithObject:substitutionVariables: (OS X 10.5 method),
and mark one of the GSBlockPredicate tests as hopeful on OS X.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39506 72102866-910b-0410-8b05-ffd578937521
2016-03-09 15:38:32 +00:00
Richard Frith-MacDonald
353810e7a9 new teestcase by Sergei Golovin
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39503 72102866-910b-0410-8b05-ffd578937521
2016-03-09 14:51:35 +00:00
Richard Frith-MacDonald
ecd0657dee Make test work when GS_GENERIC_CLASS is not defined.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39495 72102866-910b-0410-8b05-ffd578937521
2016-03-09 13:35:20 +00:00
Niels Grewe
6e6ee05a80 Implement [NSPredicate predicateWithBlock:].
Fixes https://savannah.gnu.org/bugs/?46418


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39493 72102866-910b-0410-8b05-ffd578937521
2016-03-09 13:19:35 +00:00
Richard Frith-MacDonald
62d2bcbabc changes for use of _WIN32 define on windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39492 72102866-910b-0410-8b05-ffd578937521
2016-03-09 13:16:16 +00:00
Richard Frith-MacDonald
8904edf3fe skip component diff if ICU too old
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39491 72102866-910b-0410-8b05-ffd578937521
2016-03-09 09:37:20 +00:00
Richard Frith-MacDonald
a678467542 Fix suggested by Wolfgang ... use system locale
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39484 72102866-910b-0410-8b05-ffd578937521
2016-03-08 17:16:09 +00:00
Richard Frith-MacDonald
5f653428b5 add some more diagnostic info
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39478 72102866-910b-0410-8b05-ffd578937521
2016-03-08 09:13:13 +00:00
Richard Frith-MacDonald
00e359e99b try specifically using nil locale to get '.' as decimal separator.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39471 72102866-910b-0410-8b05-ffd578937521
2016-03-07 10:12:11 +00:00
Richard Frith-MacDonald
cf0e598b62 link with pthread library on windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39468 72102866-910b-0410-8b05-ffd578937521
2016-03-05 19:36:27 +00:00
Richard Frith-MacDonald
9fbe3bafef fixes for tilde handling on windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39466 72102866-910b-0410-8b05-ffd578937521
2016-03-05 17:28:06 +00:00
Richard Frith-MacDonald
b1bc2f8af7 improve skip message
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39465 72102866-910b-0410-8b05-ffd578937521
2016-03-05 17:10:28 +00:00
Richard Frith-MacDonald
a83b5bf299 skip set on windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39464 72102866-910b-0410-8b05-ffd578937521
2016-03-05 17:08:26 +00:00
Richard Frith-MacDonald
0fbbec5fc3 correct errors in test assumptions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39462 72102866-910b-0410-8b05-ffd578937521
2016-03-05 16:56:35 +00:00
Richard Frith-MacDonald
6468dcfd1a use safer port numbers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39461 72102866-910b-0410-8b05-ffd578937521
2016-03-05 16:13:44 +00:00
Richard Frith-MacDonald
4f8626830e fix error in warning text
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39459 72102866-910b-0410-8b05-ffd578937521
2016-03-05 14:42:11 +00:00
Richard Frith-MacDonald
5a9dc07d62 improved diagnostic messages
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39457 72102866-910b-0410-8b05-ffd578937521
2016-03-05 14:04:55 +00:00
Richard Frith-MacDonald
c0eb796776 remove company names from test text
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39416 72102866-910b-0410-8b05-ffd578937521
2016-02-25 13:07:08 +00:00
Richard Frith-MacDonald
608e6e4d08 rewmove leftover logging
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39415 72102866-910b-0410-8b05-ffd578937521
2016-02-25 11:59:12 +00:00
Richard Frith-MacDonald
3e2ca62f1a 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
Niels Grewe
28c824a78a 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
Richard Frith-MacDonald
9cc9c3ca40 tweak autorelease test
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39344 72102866-910b-0410-8b05-ffd578937521
2016-02-09 15:56:43 +00:00
Richard Frith-MacDonald
8650e4cb9e test unknown character at end of input
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39337 72102866-910b-0410-8b05-ffd578937521
2016-02-04 22:29:22 +00:00
Richard Frith-MacDonald
9ea39120ab another test for Riccardo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39336 72102866-910b-0410-8b05-ffd578937521
2016-02-04 16:02:49 +00:00
Niels Grewe
b0afa17bed 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
Niels Grewe
b2b4f3cc5e Add test case for a problem with folded and quoted parameters
(e.g. multipart boundary)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39302 72102866-910b-0410-8b05-ffd578937521
2016-01-21 21:38:04 +00:00
Richard Frith-MacDonald
0359dc0a3d 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
Marcus Müller
2bef5cf85d 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
Richard Frith-MacDonald
a725edd38b 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
Niels Grewe
cd9dfc915e 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
Niels Grewe
9a2ee0bf9e 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