Commit graph

11831 commits

Author SHA1 Message Date
Richard Frith-Macdonald
c307a04a39 Fix minor leaks 2021-09-16 10:25:26 +01:00
Richard Frith-Macdonald
149acc40ae fix minor potential leaks 2021-09-16 10:20:41 +01:00
rfm
ed8be18af9
Merge pull request #204 from Fokka-Engineering/nsurlsession-additions
Implement NSURLSessionDownloadTask and NSURLSessionDownloadDelegate
2021-09-06 15:25:28 +01:00
Nuntius
b2983dc77a Workaround for the session retain loop 2021-09-04 13:07:14 +02:00
Nuntius
a5c66e7c5d Apply requested changes 2021-08-29 17:47:01 +02:00
Nuntius
a0ab740234 Implement URLSession:downloadTask:didFinishDownloadingToURL: delegate 2021-08-28 20:33:19 +02:00
Nuntius
d3e40dfc9d Begin implementation of NSURLSessionDownloadTask 2021-08-27 21:56:08 +02:00
Richard Frith-Macdonald
99ef0c9665 Forgot to update change log 2021-08-27 11:51:45 +01:00
rfm
f342cabfa9
Merge pull request #202 from gnustep/nstimezone
NSTimeZone rewrite
2021-08-27 11:47:46 +01:00
Richard Frith-Macdonald
6d5084e3e1 Delete commented out code accidentally left in on last commit 2021-08-27 10:52:32 +01:00
Richard Frith-Macdonald
00db92e146 Merge remote-tracking branch 'origin/master' into nstimezone 2021-08-27 09:37:51 +01:00
Richard Frith-Macdonald
0d12a1e77e Changes to address mostm of Fred's comments 2021-08-27 09:19:38 +01:00
Frederik Seiffert
170701f7e6 Fix building for Windows MSVC with recent toolchain 2021-08-19 11:05:33 +02:00
rfm
1e8ff8e628
Merge branch 'master' into nstimezone 2021-08-18 14:52:24 +01:00
Richard Frith-Macdonald
e3f558810f Remove unused test files 2021-08-18 14:36:45 +01:00
Richard Frith-Macdonald
1fe008304a Formatting tidyups 2021-08-18 14:03:25 +01:00
rfm
2adc5c5959
Merge pull request #201 from Fokka-Engineering/new-nsurl-methods
New NSURL initializers (macOS 10.11 initFileURLWithPath:relativeToURL:) and cleanup
2021-08-18 13:54:36 +01:00
Nuntius
ca5e4fc239 Adjust formatting 2021-08-17 15:03:09 +00:00
Nuntius
c3daa41f2d Fix indentation 2021-08-17 13:57:37 +00:00
Nuntius
0e6f3b7739 Merge branch 'new-nsurl-methods' of https://github.com/Fokka-Engineering/libs-base into new-nsurl-methods 2021-08-17 13:29:46 +00:00
Nuntius
866bdd0636 Merge branch 'master' of https://github.com/Fokka-Engineering/libs-base into new-nsurl-methods 2021-08-17 13:00:09 +00:00
Hugo Melder
0d060b5487
Merge branch 'gnustep:master' into new-nsurl-methods 2021-08-17 14:00:47 +02:00
Nuntius
9b3caf99fd Implement 10.11 NSURL initFileURLWithPath: initializers 2021-08-17 10:30:19 +00:00
Richard Frith-Macdonald
96ef94862f Add debug log for certificat request which is not for x509 2021-08-17 11:10:23 +01:00
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
Frederik Seiffert
a9d601746f Silence warning in GSIMap.h 2021-08-11 19:32:21 +02:00
Frederik Seiffert
f56d2689b6 Add test for NSFastEnumeration 2021-08-11 19:32:21 +02:00
Frederik Seiffert
f67c99dbcc win32: initialize Windows Sockets in NSObject only
And update to Windows Socket version 2.2. Also clean up the DllMain initialization to handle CRT init errors and call _CRT_INIT also on DLL/thread detach, and remove uneeded .idata section after removing WSAStartup() import.

WSAStartup() should not be called from DllMain according to MS documentation. Fixes #186.
2021-08-11 19:32:21 +02:00
Frederik Seiffert
b2f2a3a429 win32: fix warnings 2021-08-11 19:32:21 +02:00
Frederik Seiffert
acde7b062a Fix release method signature to match NSObject 2021-08-11 19:32:21 +02:00
Frederik Seiffert
27c06a9209 Fix various incorrect format string types 2021-08-11 19:32:21 +02:00
Frederik Seiffert
87dc8ab70c Fix incorrect method signature in win32/NSMessagePort 2021-08-11 19:32:21 +02:00
Frederik Seiffert
5a46f744df Fix incorrect string format in NSException 2021-08-11 19:32:21 +02:00
Frederik Seiffert
2d45396de0 Fix various incorrect log statements 2021-08-11 19:32:21 +02:00
Frederik Seiffert
a745addb32 Remove obsolete Travis CI setup 2021-08-11 19:32:21 +02: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