Commit graph

12172 commits

Author SHA1 Message Date
Frederik Seiffert
abfe4e2a04 Use native threading and locking APIs on Windows
Removes dependency on pthread library and uses fast Slim Reader/Writer (SRW) locks for NSLock/NSRecursiveLock/NSCondition/NSConditionLock as well as all internal locks. Adds GS_MUTEX_*() macros in GSPThread.h, that are being used for all internal locking instead of pthread APIs.

Also adds support for thread priorities on Windows, fixes method signature of +[NSThread setThreadPriority:] to match Apple platforms, and adds error handling in same method.
2021-07-29 14:22:27 +02:00
Richard Frith-Macdonald
3b8bbb00ba Try to make timezone parsing more robust: always use standard header for posix time zone files. 2021-07-29 10:35:19 +01:00
Richard Frith-Macdonald
0b3f2a9fb0 Fixup for incorrect method implementation used in sloppy parser. 2021-07-26 14:57:41 +01:00
Richard Frith-Macdonald
395fafde6f Set file version consistently to avoid misunderstanding 2021-07-25 07:50:31 +01:00
Richard Frith-Macdonald
7245156336 Add sup[port for 64bit time transitions 2021-07-22 10:33:49 +01:00
Frederik Seiffert
3f368e021a Add link to NEWS in readme
Was accidentally deleted in previous commit.
2021-07-20 22:02:21 +02:00
Frederik Seiffert
2f953651a8 CI: add test matrix 2021-07-20 19:54:48 +02:00
Frederik Seiffert
82d3e70507 Convert README to Markdown and include CI status 2021-07-20 19:54:48 +02:00
Frederik Seiffert
a377a86094 Fix possible memory corruption in string handling 2021-07-19 12:23:15 +02:00
Richard Frith-Macdonald
49ba7d1ed1 fixup name of end of set 2021-07-19 10:54:42 +01:00
Frederik Seiffert
8f31087119 Fix compilation of NSTask test processgroup helper on Windows. 2021-07-14 10:09:45 +02:00
Frederik Seiffert
4ceea4159c Fix NSObject initialize test on Windows. 2021-07-14 10:09:45 +02:00
Frederik Seiffert
2212e08863 Fix NSJSONSerialization test on Windows.
"small" is defined as a macro in windows.h.
2021-07-14 10:09:45 +02:00
Frederik Seiffert
f492e50308 Make NSLock recursive lock test more robust.
Removed assumption that mutext ownership availability is tied to Windows platform and use config variable instead.
2021-07-14 10:09:45 +02:00
Frederik Seiffert
4a0e308383 Fix isa access in NSMethodSignature test. 2021-07-14 10:09:45 +02:00
Frederik Seiffert
1b826663f5 Add missing import statement in NSNumber test.
Fixes linker error on Windows MSVC.
2021-07-14 10:09:45 +02:00
Frederik Seiffert
813ae35d39 Export GSPathHandling() in GNUstep headers.
Fixes linker errors for some tests under Windows MSVC.
2021-07-14 10:09:45 +02:00
Frederik Seiffert
31ad6693ee Add missing GS_EXPORT_CLASS for GSXMLRPC. 2021-07-14 10:09:45 +02:00
Gregory Casamento
15788f22a7 Merge branch 'master' of github.com:gnustep/libs-base 2021-07-13 08:20:27 -04:00
Gregory Casamento
948ead1b95 Remove clang workflow 2021-07-13 08:20:18 -04:00
Fred Kiefer
070c533f6a Add call to GNUstep.sh 2021-07-13 13:28:48 +02:00
Fred Kiefer
f37d9278bc Correct test.sh use of echo 2021-07-13 13:19:25 +02:00
Fred Kiefer
ded820f7be Make test.sh executable 2021-07-13 13:11:18 +02:00
Gregory Casamento
4cb0e56deb Move tests to separate script 2021-07-13 03:00:35 -04:00
Gregory Casamento
354ae5c259 Move tests to separate script 2021-07-13 02:59:24 -04:00
Gregory Casamento
00ac1ba5e3 Add clang workflow 2021-07-13 02:53:17 -04:00
Gregory Casamento
5b96c7450e remove redundant script 2021-07-12 12:12:26 -04:00
Gregory Casamento
369e0c8dda
Reinstate tests 2021-07-12 11:07:01 -04:00
Gregory Casamento
19ef0056e9
Update build.sh 2021-07-12 10:29:19 -04:00
Gregory Casamento
918c3c0a1c
Update build.sh 2021-07-12 10:28:27 -04:00
Gregory Casamento
b70d843eb4 Disable testing for now. 2021-07-11 15:47:55 -04:00
Gregory John Casamento
3241053a32 Fix TLS and CURL issues. 2021-07-11 10:52:11 -04:00
Gregory John Casamento
90e824ca81 Fix TLS and CURL issues. 2021-07-11 10:50:00 -04:00
Gregory John Casamento
e002a2d1ef Build base and test 2021-07-11 09:42:30 -04:00
Gregory John Casamento
d4b38f618e Fix OS detection 2021-07-11 08:45:42 -04:00
Gregory John Casamento
35776a972a Fix libobjc install 2021-07-11 06:27:05 -04:00
Gregory John Casamento
fdb7e88a9a Add dependencies script 2021-07-11 06:16:05 -04:00
Gregory John Casamento
44e5b5f45e Add env vars and bring scripts over 2021-07-11 05:45:07 -04:00
Gregory John Casamento
61679a7845 Add env vars and bring scripts over 2021-07-11 05:43:32 -04:00
Gregory John Casamento
8457cfdd8a Add env vars and bring scripts over 2021-07-11 05:41:38 -04:00
Gregory John Casamento
3c62912fbb Update yml 2021-07-10 16:08:00 -04:00
Gregory John Casamento
ecc34f4fb9 Update yml 2021-07-10 16:04:14 -04:00
Gregory John Casamento
fd3dae951a Update yml 2021-07-10 16:03:23 -04:00
Gregory John Casamento
9988a89e81 Update workflow 2021-07-10 16:00:48 -04:00
Gregory Casamento
ef9f739053
Add base workflow
Add base workflow
2021-07-10 15:40:45 -04:00
Gregory John Casamento
a52067e739 add workflows 2021-07-10 15:39:10 -04:00
Gregory John Casamento
f38b80ce02 add scripts 2021-07-10 15:38:23 -04:00
Gregory John Casamento
23b5d08d18 Merge branch 'master' of github.com:gnustep/libs-base 2021-07-10 15:37:58 -04:00
Gregory John Casamento
b2a8de618f add scripts 2021-07-10 15:37:50 -04:00
Frederik Seiffert
47ed291b80 Fix possible heap corruption when converting to NSNonLossyASCIIStringEncoding. 2021-07-03 08:34:14 +02:00