Frederik Seiffert
fb84b3b1e8
Revert "Export objc_enumerationMutation."
...
This is now correctly exported in the libobjc2 runtime.
This reverts commit c52f1e3223
.
2021-03-26 21:03:48 +01:00
Frederik Seiffert
825b43be7e
Remove incorrect GS_EXPORT_CLASS from category.
...
Fixes warning on Windows MSVC, as only classes can be exported.
2021-03-26 14:07:10 +01:00
Frederik Seiffert
b05481a8c8
Don't resurrect GSFileHandle singletons.
...
It seems to be no longer possible to call -retain from -dealloc with the latest libobjc2, which was causing the tests to fail.
We are also throwing an exception in this case, which would need to be specifically caught in order for the resurrection to be of value to users, so this simply removes the -retain call and resets the singleton variables to nil in order to not have invalid pointers and for the singletons to be re-created on subsequent access.
2021-03-26 13:17:36 +01:00
Frederik Seiffert
c52f1e3223
Export objc_enumerationMutation.
...
When using clang a call to this is inserted by the compiler, so we need to always export it.
2021-03-26 13:17:36 +01:00
Frederik Seiffert
7800e27879
Add missing GS_EXPORT annotations to various string constants.
2021-03-26 13:17:36 +01:00
Frederik Seiffert
09a9dfca1f
Add missing GS_EXPORT_CLASS annotations.
2021-03-26 13:17:36 +01:00
rfm
ad250e9495
Merge pull request #171 from svgol/documentation
...
* fixed broken links in Documentation/HtmlNav/index.html
2021-03-26 12:16:24 +00:00
Frederik Seiffert
107ee8edc3
Fix incorrect type of pid_t on Windows MSVC.
2021-03-25 12:05:06 +01:00
Frederik Seiffert
780d71f559
Add missing GS_EXPORT_CLASS annotations.
2021-03-23 09:50:49 +01:00
Riccardo Mottola
c9020acd4b
suppress warning, compiler is confused by exception handler
2021-03-18 23:06:54 +01:00
Richard Frith-Macdonald
b489f9b82b
Changes to detect that bfd_get_section_vma has changed to bfd_section_vma and make corresponding changes so we can support use of binutils 2.34 and later.
2021-03-18 21:35:34 +00:00
Richard Frith-Macdonald
4e61056743
The code in GSPrivateReturnAddresses() and the -symbols method must have ifdefs in matching order so that setup of the information from the stack matches the code used to generate the corresponding symbols.
2021-03-18 20:17:35 +00:00
Frederik Seiffert
5fb5fb46c4
Win MSVC: add NSFileManager support
...
Also unifies _CHAR in NSFileManager with GSNativeChar, as they are internally required to be the same.
2021-03-17 17:42:15 +01:00
Frederik Seiffert
54ae296b69
Fix libdispatch integration compilation error on Windows.
2021-03-17 17:42:15 +01:00
Richard Frith-Macdonald
f8ad54a6d7
Fix missing method in header
2021-03-11 09:50:49 +00:00
Richard Frith-Macdonald
810294f2df
update
2021-03-05 11:56:07 +00:00
Richard Frith-Macdonald
d7e4086f6b
Rewrite handling of tls handshake to operate asynchronously, attempting continuation of the handshake when the socket becomes readable. The point of this is to prevent recursive entry into the runloop (and possible stack overflow) if the remote end fails to send anything for a while.
2021-03-05 11:54:32 +00:00
Frederik Seiffert
172e75b865
Add unscheduled NSTimer block initializer.
2021-03-03 10:03:14 +01:00
Richard Frith-Macdonald
ebfd7a2bea
update
2021-02-27 15:15:39 +00:00
Richard Frith-Macdonald
7c9c3b8605
Fix potential deadlock found by Wolfgang
2021-02-22 15:59:29 +00:00
Richard Frith-Macdonald
edc771775f
fix missing check to see whether we have already initialised
2021-02-18 21:27:21 +00:00
Richard Frith-Macdonald
958449e90f
Initialise XMLParser in main thread
2021-02-18 21:18:41 +00:00
Richard Frith-Macdonald
e6c387f8fd
Fixup to perform a full load
2021-02-15 21:20:22 +00:00
Richard Frith-Macdonald
4b5e342c89
Check that a POST actually finishes
2021-02-15 20:41:58 +00:00
Richard Frith-Macdonald
a93eab8549
fix typos in comments and remove leftover debug line
2021-02-15 19:58:30 +00:00
Richard Frith-Macdonald
b45feeb8d7
Fixes for SSL/TLS support using GNUTLS under MinGW. Use send/recv
...
rather than read/write in TLS push/pull functions (works with winsock
and unix) and perform mappings between winsock error codes and
unix/gnutls error codes so that we correctly repeat operations whe they
fail in non-blockign mode.
2021-02-13 11:08:06 +00:00
Frederik Seiffert
5c562c546f
Windows MSVC fixes
2021-02-12 14:33:04 +01:00
Richard Frith-Macdonald
19c32ba0f5
Enable NSFileHandle TLS support under mingw
2021-02-11 20:03:41 +00:00
Richard Frith-Macdonald
05542be4c7
iComment on why we have a hope
2021-02-09 21:29:40 +00:00
Richard Frith-Macdonald
309eb5fb6c
Change sense of test so that success of resolving a relative link is a pass
2021-02-09 15:48:08 -05:00
Frederik Seiffert
4cc89bb8b1
Disable gdomap for all Android ABIs.
...
Target OS can be either "linux-android" or "linux-androideabi" (when building for armeabi-v7a).
2021-02-08 12:29:37 +01:00
Sergei Golovin
2fde3a4757
* fixed broken links in Documentation/HtmlNav/index.html
2021-02-08 13:49:02 +04:00
Richard Frith-Macdonald
8f0a021adb
Fix failure to send large requests, when the write operation succeeds but we have not written all the data we need to, we should write more as long as the stream has space available.
2021-02-06 11:23:09 +00:00
Richard Frith-Macdonald
524624c7ed
remove excess format specified from printf
2021-02-06 10:03:47 +00:00
Fred Kiefer
46c463c006
* Tools/make_strings/StringsFile.m: Write the file in UTF8 format
...
if the string contains any non ASCII character.
2021-02-05 22:56:15 +01:00
Richard Frith-Macdonald
6977d9e759
Test for initialisation with nil string
2021-02-04 11:12:15 +00:00
Richard Frith-Macdonald
b8169e26eb
Fix null pointer dereference
2021-02-04 11:00:05 +00:00
Richard Frith-Macdonald
8b68ee50c0
Merge branch 'master' of ssh://github.com/gnustep/libs-base
2021-02-04 10:57:26 +00:00
Frederik Seiffert
9725e77c9d
Disable gdomap on Android (unsupported).
2021-02-03 17:55:12 +01:00
Richard Frith-Macdonald
72a678dc11
add ARC markup for initialisation
2021-02-03 16:25:15 +00:00
Richard Frith-Macdonald
be173ab404
Fix resource leaks (failure to close) on error.
2021-02-03 16:23:43 +00:00
Frederik Seiffert
61709e6101
Support building on Windows with Clang MSVC target
2021-02-03 15:02:27 +01:00
Riccardo Mottola
ece6fc97ff
Add check for statbuf.st_mtim if available and use statbuf.st_mtim to get nanosecond precision in modification date, also fix conversion of nanoseconds in creation date.
2021-02-02 23:30:18 +01:00
Richard Frith-Macdonald
625e8541a9
Call -cancel at the end of a synchronous load so that we stop our NSURLProtocol instance from retaining us as its client.
2021-01-26 14:38:29 +00:00
Richard Frith-Macdonald
747f47d83d
Mark function call as requiring void return; hint to tell coverity that we do not want the return value from this function (there's nothing we could do with it and the function should never fail with the input we provide).
2021-01-25 12:25:49 +00:00
Richard Frith-Macdonald
5ea20c1571
fix possible nil pointer usage
2021-01-25 12:23:32 +00:00
Richard Frith-Macdonald
2382fed763
Fix check for string terminator and improve formatting
2021-01-25 12:10:25 +00:00
Richard Frith-Macdonald
e2f6d591b3
Merge branch 'master' of ssh://github.com/gnustep/libs-base
2021-01-23 13:47:29 +00:00
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