rfm
28a6e6ebbd
Final batch of GC cleanups (for the forseeable future).
2024-07-25 17:11:34 +01:00
rfm
b49af95359
Hide internals of _NSZone struct for consistency with OSX
2024-07-23 13:06:24 +01:00
rfm
52c127c950
GC was deprecated several releases ago and notinally removed a couple of releases ago ... delete more remnants of the old code.
2024-07-22 15:14:13 +01:00
rfm
a1514249f3
Tweaks to match OSX pointer array behaviors more accurately.
2024-07-22 12:22:40 +01:00
rfm
5699959d39
zeroing weak memory is now treated as weak memory since GC has been dropped
2024-07-21 09:46:33 +01:00
Richard Frith-Macdonald
d2fec6b222
a few GC related tests
2024-07-21 09:43:21 +01:00
rfm
c46d447100
Deprecate/remove old GC options
2024-07-21 09:16:09 +01:00
Richard Frith-Macdonald
586f0310d9
Merge branch 'master' of github.com:gnustep/libs-base
2024-07-18 12:45:10 +01:00
Richard Frith-Macdonald
42a3e55499
simple test for pointer array and weak objects
2024-07-18 12:43:46 +01:00
rfm
fcc06a3d9f
update documentation for osx compatibility changes
2024-07-17 21:19:31 +01:00
Richard Frith-Macdonald
6dd13deac2
fix typo
2024-07-17 16:34:57 +01:00
rfm
7aa05d2591
reinstate lost change
2024-07-17 16:32:50 +01:00
rfm
c435c6d7d6
Remove/update confusing comments. Separate acquire and assign operations for pointer functions.
2024-07-17 15:42:33 +01:00
rfm
f6b8c83bd0
Don't crash when built with gcc
2024-07-17 14:14:46 +01:00
Richard Frith-Macdonald
d013420b24
Merge branch 'master' of github.com:gnustep/libs-base
2024-07-17 11:33:27 +01:00
Richard Frith-Macdonald
a0a62fbde4
make tests pass on os-x 14.5
2024-07-17 11:32:52 +01:00
rfm
2c1a993612
Update hadling of nil args to match OS-X
2024-07-17 11:32:01 +01:00
rfm
1a1e7f7fc5
Acquiring existing memory does not use a funtion on OSX, copy that behavior.
2024-07-16 19:43:28 +01:00
rfm
8c722deb0c
Fix error in testcases due to uninitialsed padding in struct
2024-07-16 14:37:41 +01:00
rfm
a2b9be6287
update config for recent autoconf
2024-07-16 14:20:38 +01:00
rfm
d32065b322
fix non-portable testcases
2024-07-16 13:46:09 +01:00
rfm
b677ea402a
Add some simple pointer functions personality tests
2024-07-16 12:07:32 +01:00
rfm
4629a4e1f6
Tweaks related to issue #311
2024-07-15 17:19:16 +01:00
rfm
b91ff38636
issue 424
2024-07-09 17:03:39 +01:00
rfm
58c4bbcaab
Make things work with autoconf-2.71
2024-07-09 15:33:38 +01:00
rfm
33e5b72a97
fix last modifiecation
2024-07-07 16:59:25 +01:00
rfm
9442ff8dac
github issue 378
2024-07-07 13:56:20 +01:00
rfm
cb68ba8864
Make notification delivery a little more predictable (issue #423 )
2024-07-04 11:48:58 +01:00
rfm
0cf5955e00
Avoid (some cases of) compiler warning; mixing declarations and code is incompatible with standards before C99
2024-07-03 16:21:13 +01:00
rfm
f7acef2362
Merge pull request #421 from gnustep/revert-411-nsurlsession_rewrite
...
I am sorry that I didn't comment earlier, but simply assumed you were aware of the different versions of libdispatch. The GSDispatch.h header provides support for some compatibility between versions, but when you want to use more features you also need to extend the configure script to check for their availability.
As a rule, the gnustep core libraries need to support all versions of code they depend on (certainly all the versions that come with all the major target unix style operating systems), and in rare cases of incompatibility this needs to be detected at configure time with a message telling the user what missing dependency they need to install.
I don't think much is needed for the NSURLSession rewrite to be portable across all the major platform versions of libdispatch (ie without having to install a specific version rather than the one provided by the system), but I suspect the testcases would best be updated to use portable code (eg. no libdispatch in the test cases themselves).
An alternative solution (license permitting) might be to bundle a specific version of libdispatch with the base library, and have it automatically built/installed first. That comes with its own set of problems though.
2024-07-03 07:23:24 +01:00
rfm
3fedf31c2d
Revert "NSURLSession Reimplementation ( #411 )"
...
This reverts commit 07233534e6
.
2024-07-02 19:19:14 +01:00
Hugo Melder
07233534e6
NSURLSession Reimplementation ( #411 )
...
* clang-format: Do not use tabs
* Ignore clangd cache and compile_commands
* NSBlockOperation: Fix memory leak
* NSHTTPCookie: Fix expires date parsing
* NSOperation: Remove all objects at end of execution
* Reimplementation of NSURLSession
* Update ChangeLog
2024-07-02 15:58:48 +02:00
rfm
9367c2d796
use memory management notation for clang static analyzer
2024-06-23 10:35:16 +01:00
rfm
c79b9844bd
fix non-portable code in testcase
2024-06-23 08:20:52 +01:00
rfm
1d473e573a
Another memory management tweak.
2024-06-22 15:19:13 +01:00
rfm
7532837db4
fix method names
2024-06-21 21:18:17 +01:00
rfm
2c0ee5bf49
avoid compiler static analyzer warning
2024-06-21 17:28:49 +01:00
rfm
d49b6a46ce
Debug improvements
2024-06-21 16:43:50 +01:00
rfm
50e1575b8d
Fix some leaks
2024-06-21 15:53:55 +01:00
rfm
4233f6a9d6
fix dead assignments
2024-06-21 15:02:55 +01:00
rfm
5a09b09fe3
iAdd comment on why we use fork()
2024-06-21 12:34:34 +01:00
rfm
4d12423c4e
ChangeLog for recent commits
2024-06-21 12:29:52 +01:00
rfm
ea1f5a0d12
Fix dead initialisations
2024-06-21 12:23:52 +01:00
rfm
da181e9ab0
Remove dead assignments.
2024-06-21 12:17:15 +01:00
rfm
8e0000770d
Do not use vfork since its behavior is undefined for our use-case
2024-06-21 12:02:13 +01:00
rfm
a08d7f8b0f
Tolerate nil cwrelease methods for content
2024-06-21 11:51:26 +01:00
rfm
4ad8d6ba38
Avoid compiler warning
2024-06-21 11:45:38 +01:00
rfm
235bb21df3
Fix obscure memory management issues
2024-06-19 15:28:48 +01:00
rfm
1c2b81d724
Fix C-string termination issues and a few dead assignments
2024-06-19 14:53:51 +01:00
rfm
9c9c918a8c
Fix ranged initialisation index errors
2024-06-19 14:20:37 +01:00