Commit graph

13013 commits

Author SHA1 Message Date
rfm
e73b05a394 deisable new code again 2025-05-28 16:11:47 +01:00
rfm
4cc45013d1 Add hack for the case where there is no address set matching the local host name 2025-05-28 15:41:58 +01:00
rfm
59c35bda67 iAdd test for getting 'localhost' 2025-05-28 13:48:09 +01:00
rfm
02aca32950 temporarily disable again 2025-05-28 13:28:36 +01:00
rfm
dded8a90e8 Make code more efficient and andd diagnostics 2025-05-28 12:40:57 +01:00
rfm
18024cdc8e temporarily turn off new code 2025-05-27 20:49:34 +01:00
rfm
4eca3f5c36 Don't cache local host by address/name 2025-05-27 19:16:51 +01:00
rfm
fbd8c2d543 A few more changes to try to get more names for hosts 2025-05-27 17:34:51 +01:00
rfm
0c4498a7cc More host tweaks 2025-05-27 14:11:54 +01:00
rfm
19a0a8d10b Ensure address size is defined and that localhost produces a host 2025-05-27 12:30:36 +01:00
Riccardo Mottola
131f265ff8 use generation date 2025-05-26 22:23:04 +02:00
Riccardo Mottola
1b51b8d443 update structure into chapters and subsections, use copying for copy info 2025-05-26 22:07:58 +02:00
Richard Frith-Macdonald
878791e69a Fixup for macro expansion error 2025-05-26 12:59:43 +01:00
rfm
a3cf45f3ba Attempt fix for issue #492 2025-05-26 12:45:50 +01:00
rfm
85bda73bbb Add check for libresolv 2025-05-25 17:49:32 +01:00
rfm
fdc155eccc Remove unnecessary atExit cleanup which caused some errors on exit 2025-05-20 14:14:42 +01:00
rfm
7b51c1bb4e fix signal handler for dumping internals to report signal. 2025-05-18 12:14:45 +01:00
rfm
059e6ffe2d Don't limit write to TCP send size if we are using a standard file. 2025-05-02 18:59:15 +01:00
Gregory John Casamento
ef26045b9c Change NSLog that does ISO language mapping to NSDebugLog, minor change, cleanup 2025-05-02 11:08:39 -04:00
hmelder
4ccb364b23 NSJSONSerialization: Return 0 in test case 2025-04-30 11:12:58 +07:00
Hugo Melder
cc0d8d88e5 NSJSONSerialization: Implement NSJSONWritingSortedKeys 2025-04-30 11:12:58 +07:00
hmelder
0606cb9db4 NSTimeZone: Use GetDynamicTimeZoneInformation
tz.StandardName is not always available, does not represent the raw
timezone key from the registry. It appears that ucal_getTimeZoneIDForWindowsID
maps the registry key to a compatible IANA time zone.

The dotnet and flutter implementations also use
GetDynamicTimeZoneInformation and use TimeZoneKeyName.

Here is an example for Asia/Singapore:
StandardTime = Malay Peninsula Standard Time
TimeZoneKeyName = Singapore Standard Time

StandardTime is not registered in the IANA database.
2025-04-30 11:12:38 +07:00
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