Richard Frith-Macdonald
b7882e3194
Simple fix to check for whitespace characters using strchr since the old
...
mechanism using characterset bitmap representations was broken by the
change to reduce waste in bintmaps (the code assumed the bitmap was
bigger than it really is).
2020-06-24 11:35:29 +01:00
Richard Frith-Macdonald
ba24a18176
Add a fgew tests for capitalisation
2020-06-24 11:34:50 +01:00
Richard Frith-Macdonald
8acf2a5304
Merge branch 'master' of ssh://github.com/gnustep/libs-base
2020-06-23 07:05:34 +01:00
Richard Frith-Macdonald
e8a62e0e5e
Check for nil arugment to -isEqualToString:
2020-06-23 07:03:55 +01:00
Richard Frith-Macdonald
064c779fca
an empty string is not equal to nil
2020-06-23 06:53:47 +01:00
Riccardo Mottola
e1c32adb77
define WSAAPI to empty if it is undefined, just for safety
2020-06-19 09:03:06 +02:00
Riccardo Mottola
919f8c16d0
specify WSAAPI as return type too, needed for MSYS2-32bit
2020-06-15 23:52:35 +02:00
Gregory John Casamento
fff7573b88
Correct changelog
2020-06-14 20:21:12 -04: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
Richard Frith-Macdonald
057445b4e7
Merge branch 'master' of ssh://github.com/gnustep/libs-base
2020-06-11 16:30:49 +01:00
rfm
bbafbab5a8
Merge pull request #144 from gnustep/fix-nsvaluetransformer-recursion
...
Fix deadlock on recursive creation of NSValueTransformer
2020-06-11 16:30:16 +01:00
Gregory John Casamento
c8ab7a3bc2
Merge branch 'master' of github.com:gnustep/libs-base into NSSecureCoding_branch2
2020-06-11 09:38:20 -04:00
Frederik Seiffert
d6d2fa9a74
Fix recursive creation of value transformers.
2020-06-11 14:22:04 +02:00
Frederik Seiffert
e87d481f64
Add tests for NSValueTransformer.
2020-06-11 14:15:57 +02:00
Fred Kiefer
a5b330d4f8
Merge pull request #143 from triplef/android-assets-directory-improvements-fix
...
Fix Android assets support for bundle directories
2020-06-10 20:54:17 +02:00
Frederik Seiffert
c6f24e6634
Fix Android assets support for bundle directories
2020-06-10 20:31:03 +02:00
Gregory John Casamento
15fac5d36d
Add changelog.
2020-06-09 07:50:45 -04:00
Riccardo Mottola
b879e0835b
explicitely test for ws2tcpip.h header, fix library detection on windows for inet_ntop with corrent library, guard includes and definitions with configure results, cleanup header inclusion
2020-06-09 13:44:42 +02:00
Riccardo Mottola
94e10f0447
minor type cast to fix output for platforms where socket is unsigned
2020-06-09 12:48:01 +02:00
Richard Frith-Macdonald
41ab84eaba
So not attempt to alter creation date of newly created file.
2020-06-09 11:43:56 +01:00
Gregory John Casamento
3b315b9d21
Merge branch 'master' of github.com:gnustep/libs-base into NSSecureCoding_branch2
2020-06-08 04:12:45 -04:00
Fred Kiefer
2132ba09d9
Merge pull request #140 from triplef/fix-iconv-cross-compile
...
Fix finding libiconv via cross.config
2020-06-07 19:34:38 +02:00
Frederik Seiffert
0b689d4df4
Fix finding libiconv via cross.config.
2020-06-07 11:00:37 +02:00
Richard Frith-Macdonald
3fc184e5d7
fix indentation
2020-06-06 12:15:08 +01:00
rfm
de4552d754
Merge pull request #137 from triplef/android-assets-directory-improvements
...
Android assets improvements to support directories
2020-06-06 12:13:53 +01:00
rfm
daadfe7a6d
Merge branch 'master' into android-assets-directory-improvements
2020-06-06 12:13:43 +01:00
Fred Kiefer
c2bc6e709a
Merge pull request #139 from triplef/fix-nsfilepresenter-optional
...
Fix optional NSFilePresenter methods not being declared as optional.
2020-06-06 12:55:30 +02:00
rfm
e2d223b564
Merge pull request #142 from gnustep/msys-fix
...
Msys fix
2020-06-06 11:11:06 +01:00
Richard Frith-Macdonald
41badcb417
Fix leak of new operation in -blockOperationWithBlock: method. Make -addExecutionBlock: ensure it works with an on-heap copy of its argument. Tidy code to have NSBlockOperation methods with normal formatting and alphabetical order. Tidy code to use standard macros for memory management.
2020-06-05 17:43:46 +01:00
Riccardo Mottola
6ab0e3465f
MSYS and MSYS2 differ in the tricks to include both windows.h and winsock2.h, use __MINGW32_VERSION to differentiate them
2020-06-05 16:32:55 +02:00
Fred Kiefer
fbcd3508c9
Merge pull request #141 from gnustep/fix-nsmaptable-replace-value
...
Fix replacing existing value in a weak objects map table
2020-06-05 14:12:29 +02:00
Riccardo Mottola
5bbe378a79
remove unneeded window headers include, since common.h will include GSConfig.h
2020-06-05 13:46:34 +02:00
Frederik Seiffert
71f6cde4bd
Fix replacing an existing value in a weak objects map table.
2020-06-05 11:55:33 +02:00
Frederik Seiffert
b05c6d65bf
Test replacing a weak value in NSMapTable.
2020-06-05 11:48:35 +02:00
Gregory John Casamento
ea162442ce
Merge branch 'master' of github.com:gnustep/libs-base into NSSecureCoding_branch2
2020-06-04 18:40:14 -04:00
Richard Frith-Macdonald
a1d5d020b3
Change -objectForKey: method to get the contents into a buffer (on the stack) and iterate through them rather than creating an autoreleased enumerator. This avoids allocation/autorelease/deallocation of the enumerator (as well as etain/release of the search list by the enumerator) which should give better performance generally and avoid excess object creation when lots of defaults lookups are done in an autorelease pool.
2020-06-03 14:48:22 +01:00
Gregory John Casamento
597f0a917e
Merge branch 'master' of github.com:gnustep/libs-base into NSSecureCoding_branch2
2020-05-31 17:41:23 -04:00
rfm
bf4c0719aa
Merge pull request #136 from gnustep/windows-ci
...
Set up CI for Windows using MinGW and GCC
Looks good, merging.
2020-05-29 16:33:42 +01:00
Richard Frith-Macdonald
6fd8dd7a20
Wrap code for posting of notifications (for becoming multithreaded and for a thread being about to exit) in an autorelease loop. This should avoid possible leakage of objects and warnings during the notification process.
2020-05-29 16:25:52 +01:00
Richard Frith-Macdonald
1be8a1375a
tidy whitespace
2020-05-29 16:24:59 +01:00
Frederik Seiffert
a0fe037077
Include winsock2.h before windows.h, as required by MSYS2/MinGW-w64.
2020-05-29 10:40:03 +02:00
Frederik Seiffert
2be366e05d
Fix warning "setjmp" redefined on Windows.
2020-05-29 10:39:39 +02:00
Frederik Seiffert
5826cb0eb4
Set up CI for Windows using MSYS2/MinGW-w64 and GCC.
...
Also reworks CI setup to list build matrix explicitly with names.
2020-05-29 10:39:39 +02:00
Gregory John Casamento
96f88dcc95
Merge branch 'master' of github.com:gnustep/libs-base into NSSecureCoding_branch2
2020-05-29 00:53:39 -04:00
Frederik Seiffert
d04bbaafd7
Fix optional NSFilePresenter methods not being declared as optional.
2020-05-27 10:42:31 +02:00
Richard Frith-Macdonald
21ddc5fefb
Merge branch 'master' of ssh://github.com/gnustep/libs-base
2020-05-26 16:32:09 +01:00
Richard Frith-Macdonald
fab98ede73
On thread exit we must post the notification that it *will* exit before
...
setting the instance variable to say that it has finished. This is tested
as the order OSX does it, and makes sense to ensure that, when -isFinished
returns YES we can be sure the thread will not do anything else.
2020-05-26 16:30:15 +01:00
Richard Frith-Macdonald
4da65fa4ff
Add tests for exactly when notification of thread exit occurs
2020-05-26 16:26:35 +01:00
rfm
a636994a33
Merge pull request #138 from triplef/fix-nsuserdefaults-setbool
...
Store NSNumber instead of NSString for NSUserDefaults -setBool:forKey:.
2020-05-26 12:38:41 +01:00
Frederik Seiffert
cd251a531a
Extended general tests for NSUserDefaults.
2020-05-26 13:16:19 +02:00