Commit graph

8717 commits

Author SHA1 Message Date
Wolfgang Lux
f6e6b05f48 Fix potential deadlock in NSOperationQueue when exiting a background thread 2025-04-08 16:06:29 +02:00
rfm
b39853e21a ifix for issue #500 2025-04-01 19:42:50 +01:00
rfm
9fadc19f8c Better lock protection of shared instance and cleanup at exit 2025-03-27 09:57:28 +00:00
rfm
ce9699d5c5 Fixup key name that I advised on incorrectly - needs the correct prefix. 2025-03-26 16:16:57 +00:00
Earl Robsham
f8173506cd Add GSDigestURIOmitsQuery key 2025-03-25 19:40:03 -04:00
Earl Robsham
dc4270128d Fix Authorization header generation
Fixes `Authorization` header generation to include the query parameters (if present).
This brings the implementation inline with MacOS, and fixes digest auth with certain picky services.
2025-03-21 17:24:56 -04:00
Frederik Seiffert
80b54d580d Removed unecessary casts 2025-03-19 08:39:42 +08:00
Riccardo Mottola
936e155beb fix missing semi-colon for default clause 2025-03-18 00:35:27 +01:00
rfm
d622530819 tweaks for non-atomic associated values 2025-03-10 12:26:41 +00:00
Richard Frith-Macdonald
667260aa26 Remove useless locking which aso used a function not available when additions are built standalone 2025-03-09 15:38:23 +00:00
Riccardo Mottola
c912f47ca1 fix build ob gcc8, and anyway break after default is safe code style 2025-03-08 18:27:10 +00:00
rfm
a46f86837f associated objects initial implementation 2025-03-08 17:26:32 +00:00
rfm
83e67957bc fix exception for bad launch path 2025-03-06 15:49:41 +00:00
rfm
46c5917d5f Fix race condition on task termination 2025-03-06 12:12:23 +00:00
Richard Frith-Macdonald
db20d02fc0 Use alignment information properly 2025-02-27 14:37:32 +00:00
rfm
956eb5b303 Fix check for object pointer depending on alignment requirement. 2025-02-27 12:15:15 +00:00
rfm
c5debba630 Fix for s390x 2025-02-22 22:41:10 +00:00
Hugo Melder
0f7d6a4b23 NSKVOSupport: Implement legacy KVO API
Implements the setKeys:triggerChangeNotificationsForDependentKey: class
method. Please do not use it. It is fundamentally broken, and requires
the object's meta class to hold additional state.

Keys from this class method are the last resort when retrieving
dependencies via keyPathsForValuesAffectingValueForKey:.
This aligns with the implementation in Foundation.
2025-02-16 09:29:19 +00:00
Wolfgang Lux
5bfbde1e5a Don't install CoreFoundation header when installing base additions on macOS 2025-02-14 17:25:16 +01:00
rfm
d1d5552dfb Fixup for requests with paths containing escaped slashes 2025-02-14 12:34:07 +00:00
rfm
5fa8a06531 Hide some mistakenlt external symbols 2025-02-09 12:49:56 +00:00
rfm
48f01b610d Fix yet another leak 2025-02-06 20:11:08 +00:00
rfm
053c3118a1 More leak fixes 2025-02-06 19:58:32 +00:00
rfm
50e7e10525 Remove incomplete/test API prior to release 2025-01-28 09:47:21 +00:00
rfm
a2e49377c6 complete accidental partial commit 2025-01-27 18:16:07 +00:00
rfm
cedccc9f09 Fixup location of declaration of new ivars 2025-01-27 17:08:30 +00:00
rfm
524daa19ef Fix visibility of symbols exported in error 2025-01-26 19:21:00 +00:00
rfm
9ef3e2f24d Bugfix ... intenral functions should not have public visibility to linker 2025-01-26 19:01:55 +00:00
Hugo Melder
b7d49bd361 NSKVOSwizzling: Check if underlying class differs 2025-01-23 10:07:52 +08:00
Hugo Melder
16dd5c4514 NSKVOSupport: Retrieve the underlying class when adding nested observers 2025-01-23 10:07:52 +08:00
rfm
9236ef986a Note that we want the mutation function exported 2025-01-19 12:30:31 +00:00
rfm
9b4965e100 define function in NSObject.m so that it won't be omitted by clever linkers 2025-01-19 10:23:33 +00:00
rfm
c225efa3ba Implement dast enumeration mutation checks and add testcases for NSPointerArray 2025-01-19 08:42:12 +00:00
rfm
102b290c80 Resolve external subset information for validity checking 2025-01-17 14:46:24 +00:00
rfm
3f7647f15c Fix potential leak is the shared object is initialised more than once. 2025-01-17 12:23:06 +00:00
rfm
f48aca6921 Resolve conflict 2025-01-17 11:19:35 +00:00
rfm
0d70826bbe Merge branch 'xml_sax2' 2025-01-17 11:02:25 +00:00
rfm
c899bccd43 Coding style fixes and performance optimisation 2025-01-17 10:45:47 +00:00
rfm
1d977212f6 Merge branch 'xml_sax2' 2025-01-17 10:44:44 +00:00
rfm
b5e0ef1514 Updates to handle entity resolution for libxml2-2.13.? 2025-01-15 09:23:59 +00:00
Riccardo Mottola
da9dc23a89 try to resolve internal and external subset with functions 2025-01-13 23:28:18 +01:00
rfm
479cccebe8 Correct (for #486) -localizedDescription to always return a string. 2025-01-13 15:31:09 +00:00
rfm
cf73e7fdb3 Fix leak of instance memory 2025-01-10 17:17:21 +00:00
rfm
6156b61539 Fix leaks of libxml2 detached nodes 2025-01-10 12:05:17 +00:00
rfm
496d06fbb7 Tiny optimisation suggested by Frederik Seiffert 2025-01-09 16:11:53 +00:00
rfm
ada4388be4 Revert code to sero out memory ... best not to use zombies with leak checking 2025-01-09 11:35:53 +00:00
rfm
4ee212de63 Ignore NSDeallocateZombies (and generate a warning) when the runtime can't support it. Also, when built with ASAN, null-out the memory of zombie instances so the fact that the memory hasn't been freed does not cause false negatives. 2025-01-09 11:21:24 +00:00
rfm
8812ea6023 Fix potential initialisation error if we somehow have no args 2025-01-09 11:07:20 +00:00
rfm
8dbb7ea40a Fix size of buffer for backtrace 2025-01-09 11:06:31 +00:00
rfm
041edc145e Fix leak when allocating standard file handles 2025-01-09 10:37:07 +00:00