Richard Frith-Macdonald
ae8d496f91
Remove spurous line in last change
2021-08-16 14:00:09 +01:00
Richard Frith-Macdonald
19809ac46d
tweak for ms-windows
2021-08-16 12:48:48 +01:00
Richard Frith-Macdonald
78ab878029
more simplifications and removal of unused defines etc
2021-08-16 11:45:42 +01:00
Richard Frith-Macdonald
a0852146c9
Avoid O_CLOEXEC for portability
2021-08-14 12:49:12 +01:00
Richard Frith-Macdonald
b71a5bfc40
Use our own struct tm
2021-08-14 12:43:44 +01:00
Richard Frith-Macdonald
11c50770d3
Use our own struct tm equivalent for portability
2021-08-14 12:42:26 +01:00
Richard Frith-Macdonald
2f2869ff20
Remove some useless defines and declarations
2021-08-14 12:22:03 +01:00
Richard Frith-Macdonald
c43ea6d474
Update for handling more future dates, and further testing.
2021-08-14 11:25:23 +01:00
Richard Frith-Macdonald
5162d888dc
timezone updates for version2 files
2021-08-11 08:43:20 +01:00
Richard Frith-Macdonald
25b25080c3
Fix possible buffer overrun/corruption spotted by Fred.
2021-08-09 08:29:15 +01:00
Frederik Seiffert
35ef9423e0
Annotate callback functions with __stdcall on Windows
...
Fixes crash on exit on Windows x86.
2021-08-08 17:27:40 +02:00
Frederik Seiffert
55da62c1c1
Add missing import declaration on runtime declarations
...
Fixes warnings when building for Windows MSVC.
2021-08-08 17:27:40 +02:00
Frederik Seiffert
40f88bc622
Enable _C_BOOL on non GNU C compilers
2021-08-08 17:27:40 +02:00
Frederik Seiffert
852ec7be7d
Tests: skip NSData gzip tests without zlib
2021-08-08 17:27:40 +02:00
Frederik Seiffert
3b8009654c
Improve robustness of finding devroot on Windows
...
Fixes possible infinite loop if developer root is not found.
Also disable devroot() code under MSVC, as there will be no MSYS environment.
2021-08-08 17:27:40 +02:00
Frederik Seiffert
b41953d274
More robust check for Windows ICU
...
Also ensure that we don't include both unicode/*.h and icu.h.
2021-08-08 17:27:40 +02:00
Frederik Seiffert
5120069a88
Fix running tests under Windows MSVC
...
Remove -rpath flag when running tests with MSVC toolchain to fix build errors for tests as there is no rpath on Windows, and instead add object directory to PATH for Windows to find DLLs.
2021-08-08 17:27:40 +02:00
Frederik Seiffert
865203fbab
CI: don't run pull requests from local branches twice
2021-08-08 17:27:40 +02:00
Frederik Seiffert
9a5c5dc35c
CI: add Windows MSVC builds
2021-08-08 17:27:40 +02:00
Frederik Seiffert
cc61daa3d5
CI: remove --without-unwind option for MinGW
...
This should not be required.
2021-08-08 17:27:40 +02:00
Frederik Seiffert
9d7edb7f40
CI: remove disable-mixedabi targets
...
Mixed ABI support was removed in v1.28.0.
2021-08-08 17:27:40 +02:00
Frederik Seiffert
8d338a1999
CI: simplified using working directory
2021-08-08 17:27:40 +02:00
Frederik Seiffert
b969347587
Use pkgconfig to find libxslt
2021-08-03 16:55:56 +02:00
Frederik Seiffert
dc32970502
Add support for using ICU DLL from Windows 10
...
Requires Windows 10 version 1903 (May 2019 Update):
https://docs.microsoft.com/en-us/windows/win32/intl/international-components-for-unicode--icu-
Also adds missing configure check for unicode/utext.h.
2021-08-03 16:52:38 +02:00
Frederik Seiffert
cf2dae1e21
Improve NSThread thread priority error handling
...
Now using sched_get_priority_min/max instead of PTHREAD_MIN/MAX_PRIORITY defines, and prevent error log when min/max priority are equal (e.g. 0), which happens e.g. on Android when thread priorities are not settable.
2021-07-29 14:22:27 +02:00
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