rfm
283ecfe8b2
Merge pull request #493 from gnustep/nsbundle-lang-canonical
...
NSBundle: fix es.lproj path not generated
2025-04-17 14:49:00 +01:00
rfm
45a43d11eb
avoid compiler warning
2025-04-17 14:47:30 +01:00
rfm
9dd9cdc7f0
Merge pull request #501 from gnustep/initializer-return-types
...
Use instancetype or actual type as initializer return types
2025-04-17 14:43:38 +01:00
Wolfgang Lux
8530df15cb
Call the error handler also when a file to be removed does not exist.
2025-04-17 14:16:45 +02:00
rfm
7ebbfaddd0
add a couple of surrogate pair tests
2025-04-17 10:52:59 +01:00
rfm
198b18c18a
improve error handling
2025-04-16 22:50:49 +01:00
Wolfgang Lux
ddb68e1b29
Use the documented key for the file path when calling the error handler
2025-04-15 16:14:24 +02:00
Riccardo
9f8c181ab5
Merge pull request #499 from gnustep/const_gcc_fix
...
Make old code-path for constant with enum available again for older GCC versions
2025-04-10 00:23:01 +02:00
Frederik Seiffert
bc992f2b75
Use instancetype or actual type as initializer return types
2025-04-09 08:44:00 +02:00
Wolfgang Lux
f6e6b05f48
Fix potential deadlock in NSOperationQueue when exiting a background thread
2025-04-08 16:06:29 +02:00
Riccardo Mottola
3fffa40d02
Merge branch 'const_gcc_fix' of https://github.com/gnustep/libs-base into const_gcc_fix
2025-04-03 14:38:00 +02:00
Riccardo Mottola
64bd75be95
use define instead of enum, attempt to use constant directly
2025-04-03 14:37:13 +02:00
rfm
b39853e21a
ifix for issue #500
2025-04-01 19:42:50 +01:00
Riccardo
bce2a0bc96
Update Headers/Foundation/NSObjCRuntime.h
...
improve comment
Co-authored-by: Frederik Seiffert <frederik@algoriddim.com>
2025-04-01 17:57:40 +02:00
Riccardo Mottola
6e39f11098
Make olde code-path for constant with enum available again for older GCC versions.
...
According to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69960
a C extension to constant initializers is needed which is available only in recent versions. 8.1 is proven, I suppose 8.0 in this patch
2025-03-31 22:50:49 +02:00
rfm
0057f3f4e9
Don't consider nullable when comparing types in interface and implementation
2025-03-27 11:51:44 +00:00
rfm
c19d77bd0e
Make deprecation macro name consistent (it applies to methods, not just functions) and add attribute to mark non-portable features.
2025-03-27 10:27:23 +00:00
rfm
bc16a59440
Fixup to allow documentation to build properly
2025-03-27 10:08:59 +00: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
rfm
62ab252a3f
Merge pull request #498 from ERobsham/auth-header-fix
...
Fix `Authorization` header generation
2025-03-26 15:54:23 +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
Frederik Seiffert
ea92a95c6a
Define NSDateComponentUndefined as NSInteger
2025-03-19 08:39:42 +08:00
Frederik Seiffert
99c59b9d70
Fix NSNotFound definition to use NSInteger type #494
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
Hugo Melder
d3090e2c86
NSBundle: fix es.lproj path not generated
...
The conversion between BCP 47 language tags and
the old-style language names ('English', 'German', etc) is quite
complex, mapping ISO 639-1 language tags to the old-style names, and
the result back to ISO 639-1 (-ish).
The ISO 639-1 tag for spanish 'es' maps to 'Spanish', which in turn
maps back to 'sp'. The original input is not added to the list
of possible names for 'lproj' folders.
We fix this by operating on the official input, when splitting
language, variant, and region. The "mapped" tag is always added
just to keep 'sp.lproj' working.
2025-03-16 16:42:26 +01:00
rfm
9c6bd9ed97
Mark tests hopefull for bugs in libobjc2
2025-03-10 21:14:41 +00:00
Riccardo Mottola
b235f9e16d
parameter is seconds, do not use suffix or sleep might complain
2025-03-10 21:46:53 +01:00
rfm
6bceca9962
Add 'hope' because gnustep runtime fails to do atomic access
2025-03-10 12:34:11 +00:00
rfm
d622530819
tweaks for non-atomic associated values
2025-03-10 12:26:41 +00:00
Richard Frith-Macdonald
ac0634f82f
another associated object check
2025-03-10 12:00:58 +00:00
rfm
59f4465db4
Add test for many values associated with an object
2025-03-09 19:40:40 +00:00
Richard Frith-Macdonald
1b2ae943f0
A few checks for asssociated objects
2025-03-09 19:23:40 +00:00
Richard Frith-Macdonald
cf490b11fd
avoid compiler warning
2025-03-09 16:05:43 +00:00
rfm
3bcdf824f8
Fixup order of declarations
2025-03-09 15:42:13 +00:00
Richard Frith-Macdonald
6655f4e00d
OSX fixes
2025-03-09 15:39:21 +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
rfm
2508bae63e
Merge remote-tracking branch 'refs/remotes/origin/master'
2025-03-09 08:41:12 +00:00
rfm
fb135dc0ee
improve comments
2025-03-09 08:40:24 +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
rfm
6307e474dd
Bugfix release 1.31.1
2025-02-28 17:38:20 +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
3a0bb73131
Fix typos etc
2025-02-27 10:23:22 +00:00
rfm
aeb86d0afb
Add some leak sanitization documentation
2025-02-26 17:04:21 +00:00