rfm
c46d447100
Deprecate/remove old GC options
2024-07-21 09:16:09 +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
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
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
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
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
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
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
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
rfm
5dbec4e707
Avoid excess copies of dictionary keys
2024-06-19 12:07:16 +01:00
rfm
7c4a7469a9
Fix potential leaks
2024-06-19 11:28:34 +01:00
rfm
da1a69e4bd
Fix potential use after dealloc
2024-06-19 11:08:58 +01:00
rfm
6f94c90d98
fix leak
2024-06-18 12:03:01 +01:00
rfm
4d0b00776c
Memory leak improvments
2024-06-18 11:23:15 +01:00
rfm
c9af996377
fix return value to be autoreleased
2024-06-12 13:54:10 +01:00
rfm
a4b661d633
Fix non-portabe use of dot syntax. Fix excess release. Conform to coding style.
2024-06-12 11:05:10 +01:00
rfm
92247d13c9
Merge pull request #419 from 2xsaiko/outgoing/nsfmurls
...
Implement -[NSFileManager URLsForDirectory:inDomains:]
2024-06-12 11:00:49 +01:00
Gregory Casamento
ced4cd0531
Merge pull request #410 from gnustep/NSExpression_branch
2024-06-11 11:46:56 -04:00
Marco Rebhan
952e076084
Implement -[NSFileManager URLsForDirectory:inDomains:]
2024-06-11 17:14:36 +02:00
rfm
a541a467bf
cosmetic fixes (indentation etc)
2024-06-11 13:41:08 +01:00
rfm
3bcb484691
Merge pull request #416 from gnustep/enumerateSubstringInRange
...
Fix broken enumerateSubstringsInRange:options:usingBlock: implementation
2024-06-11 13:29:48 +01:00
rfm
67c53d6598
No exception when closing a file more than once
2024-06-10 11:51:47 +01:00
Litherum
e39309a7e9
-[NSFileHandle initWithFileDescriptor:] logs a message each time fstat() doesn't succeed on UNIX
...
fstat() on UNIX isn't guaranteed to always succeed, even if the file handle is valid. Special files may or may not support fstat() in the kernel.
(For context, I'm working on a Vulkan application. Vulkan has facilities to send certain objects across processes by representing the objects as file descriptors. These file descriptors still need to be close()d, which makes them good candidates for wrapping an NSFileHandle around them, but they do not support fstat(). I'm creating multiple of these each frame in the application, which means the line "unable to get status of descriptor" appears very often in the terminal while my application is running.)
2024-06-09 14:17:29 -07:00
Hugo Melder
4d3926d250
Implement -[NSString enumerateLinesUsingBlock:] ( #407 )
...
* Implement -[NSString enumerateLinesUsingBlock:]
* Fix formatting
* Use GNUstep CALL_BLOCK macro
2024-06-04 22:19:45 +02:00
hmelder
0c69d096ca
NSString: Fix broken enumerateSubstringsInRange:options:usingBlock: implementation
2024-06-04 12:10:20 +02:00
hmelder
c6d288aae9
NSPredicate: Remove whitespace
2024-05-31 14:24:57 +02:00
hmelder
094bc55120
NSPredicate: Fix BETWEEN operation on other data types and constants
2024-05-31 14:24:57 +02:00
rfm
f19650b9df
fix bad type case
2024-05-31 09:39:52 +01:00
Gregory John Casamento
d3d53ab23f
Clean up tests
2024-05-31 00:20:09 -04:00
rfm
cfc158b4ce
Remove obslete code
2024-05-30 11:28:49 +01:00
rfm
58ae7db59a
fixup headers for deletion of obsolete lock code
2024-05-30 11:06:23 +01:00
rfm
241e2a47ca
locking updates (fine grained locking rather than global lock)
2024-05-30 10:40:52 +01:00
Gregory John Casamento
25ebe42c22
Merge branch 'master' of github.com:gnustep/libs-base into NSExpression_branch
2024-05-30 01:10:52 -04:00
Gregory John Casamento
5c1e4e8eda
Update to fix remaining issues with new NSExpression classes
2024-05-28 19:10:11 -04:00
Gregory John Casamento
48ab2e2bc7
Add implementation of expressionValueWithObject:context: to GSAggregateExpression
2024-05-28 15:03:26 -04:00
Gregory John Casamento
a49ae59a79
Add description method and a few minor changes
2024-05-26 16:16:40 -04:00
rfm
1e0023dc43
fix uninitialised variable
2024-05-26 16:49:22 +01:00
Gregory John Casamento
0a440a5303
Add missing NSMinusSetExpression
2024-05-26 09:11:21 -04:00
Gregory John Casamento
dc9ff1ff6f
Add declarations and skeletons for new subclasses
2024-05-26 08:39:44 -04:00
Gregory John Casamento
392a626444
Add missing enum values, add skeleton implementations for metods, add simple tests
2024-05-25 00:39:34 -04:00
Gregory John Casamento
f6eb49bdf7
Add skeleton for 10.5 methods
2024-05-24 16:55:16 -04:00
Gregory John Casamento
c5defb6f3c
Get rid of whitespace
2024-05-24 14:37:24 -04:00
Gregory John Casamento
5eea30b530
Add 10.6 NSExpression methods
2024-05-24 14:28:04 -04:00
Doug Simons
0935f77d8f
Merge pull request #405 from gnustep/small_xml_fixes
...
Two small xml fixes
2024-05-15 09:26:57 -06:00
Frederik Seiffert
94a6cb9919
Fix Unicode includes in NSString.m
...
Fixes compilation using ICU bundled with Windows.
2024-05-15 17:09:00 +02:00
Doug Simons
fdffcbdd27
Update NSXMLElement.m to satisfy older compilers
2024-05-14 15:56:43 -06:00
Doug Simons
f5f8f61e54
oops! Put the other bracket back in.
2024-05-14 15:44:44 -06:00
Doug Simons
256700d57d
avoid using Obj-C 2.0 notation
2024-05-14 15:40:22 -06:00
Doug Simons
50f447f5b8
Fix execute_xpath() to return an NSError when expression can't be evaluated; Remove previous attributes when setting attributes; Add related tests
2024-05-14 15:25:07 -06:00
rfm
3f994d3ee1
avoid compiler warnings
2024-05-12 15:07:49 +01:00
rfm
e9cfa9558b
removed unused import
2024-05-12 10:14:02 +01:00
rfm
adbc7c2631
Merge pull request #400 from gnustep/nsurlhandle_cache
...
GSFileURLHandle: Remove file handle caching
2024-05-12 10:11:28 +01:00
rfm
35bb9f48ef
regular expression range search
2024-05-12 10:03:15 +01:00
rfm
1fdf6395bd
Merge pull request #370 from ethanc8/ethanc8-3
...
Implement +[NSRegularExpression escapedPatternForString:] and -[NSString enumerateSubstringsInRange:options:usingBlock]
2024-05-12 09:32:34 +01:00
rfm
00a95fef78
trivial coding style fixups
2024-05-09 12:20:45 +01:00
hmelder
77e3453020
Remove FIXMEs
2024-05-08 16:06:44 +02:00
hmelder
6155329b64
NSIndexSet: Implement enumerateRangesInRange convenience methods
2024-05-08 16:06:44 +02:00
hmelder
f6eaa5bd03
NSURLSession: Call completion handler on failed request
2024-05-08 16:05:17 +02:00
rfm
6011b3c528
Protect bfd symbol lookup for thread safety
2024-05-07 11:24:26 +01:00
hmelder
a1dff584a4
GSFileURLHandle: Remove caching functionality
2024-05-06 18:06:50 +02:00
hmelder
a127d4ee75
GSFileURLHandle: Expose internal cache
2024-05-06 10:44:22 +02:00
hmelder
e1fcc2db35
GSFileURLHandle: Use NSCache and limit cache size
2024-05-06 10:38:07 +02:00
williameveretteggplant
21a48f6136
NotificationCenter removeObserver ( #396 )
...
This modifies the NotificationCenter class to do the following:
- add an ivar to the class for an array to hold observers that need to be released when they are removed
- adds an observer to that array if the observer is of class GSNotificationObserver
- upon removing an observer, check if it is in that array, if so remove it from the array and release it.
This replaces the previous implementation which checked the class of the observer as it was being removed, which would cause a crash if the observer had been deallocated.
2024-04-30 18:44:26 +02:00
rfm
a5beb6ab31
Fix for bug #399
2024-04-29 13:11:35 +01:00
hmelder
10eaba4f13
Fix dummy function signature
2024-04-28 23:22:20 +02:00
hmelder
8ec158ad05
Guard Windows Header Include
2024-04-28 23:22:20 +02:00
hmelder
8a93628ecb
NSThread: Fix behaviour and Implement setName on Win32
2024-04-28 23:22:20 +02:00
Frederik Carlier
810a39b1f8
Map CURLE_COULDNT_CONNECT
to NSURLErrorCannotConnectToHost
( #388 )
...
Map `CURLE_COULDNT_CONNECT` to `NSURLErrorCannotConnectToHost`.
When connecting to an IPv6 socket fails, curl easy will return `CURLE_COULDNT_CONNECT`. GNUstep currently maps `easyCode == CURLE_COULDNT_CONNECT && failureErrno == ETIMEDOUT` to `NSURLErrorTimedOut`, in all other scenarios `CURLE_COULDNT_CONNECT` is not handled.
This would cause the `NSURLSession/test01` to fail on (certain) systems with IPv6 enabled.
This PR maps all other values of `CURLE_COULDNT_CONNECT` to `NSURLErrorCannotConnectToHost`.
Additionally, it also stores the value of `easyCode` in the `NSUnderlyingErrorKey` to make troubleshooting (slightly) easier.
2024-04-21 10:26:24 +01:00
hmelder
1d33c2095f
Fix formatting
2024-04-17 23:32:56 +02:00
hmelder
279d91e0f3
NSTimeZone: Import NSScanner
2024-04-17 23:32:56 +02:00
hmelder
2918bd992e
Refactor +[NSTimeZone timeZoneArray]
2024-04-17 23:32:56 +02:00
Frederik Seiffert
7842a79839
Removed obsolete GS_ARC_COMPATIBLE define (replaced by OBJC_CAP_ARC)
2024-04-15 09:55:14 +02:00
Frederik Seiffert
ec8a7a3e97
Add +[NSObject _TrivialAllocInit] to enable fast-path alloc / init methods with libobjc2 2.2
2024-04-15 09:55:14 +02:00
rfm
a2b8f34661
Some web servers send empty headers ... tolerate it.
2024-04-04 10:59:00 +01:00
Gregory Casamento
3c1db49f4f
Merge pull request #384 from qmfrederik/dummy-nsnetservices
2024-04-03 23:49:03 -04:00
rfm
d52708e020
Fix for #385
2024-04-02 11:07:14 +01:00
Frederik Carlier
97c01d8064
NSNetService and NSNetServiceBrowser: Gracefully fail when no-backend implementation
...
Always compile `NSNetService` and `NSNetServiceBrowser`, but have their
`intialize` method return `nil` if libavahi and mDNS are unavailable.
This:
- Results in a clear error message if code which was compiled against a
copy of GNUstep with avahi/mDNS support runs on a copy of GNUstep which
doesn't have avahi/mDNS support.
- Avoids code which uses `NSNetService` or `NSNetServiceBrowser` to
successfully compile (because the classes are defined in the header)
but then failing to link (because there is no implementation for these
classes).
2024-03-31 11:37:23 +00:00
Frederik Carlier
07d17a16a7
Generate pkg-config configuration file for libs-base
...
This commit generates a `gnustep-base.pc` file which is installed in `/lib/pkgconfig` and contains the GNUstep base version number, the libraries to link (equivalent to `gnustep-config --base-libs`) with and the C flags to use (equivalent to `gnustep-config --objc-flags`).
2024-03-30 15:56:22 +00:00
rfm
61da0dab96
fix possible dereference of null pointer
2024-03-11 14:36:22 +00:00
hmelder
ca1d07dcf2
Implement +[NSDate now]
2024-03-11 11:48:28 +01:00
rfm
88b73acd8b
more leak fixes
2024-03-04 11:52:42 +00:00
rfm
e8813346e5
more leak fixes
2024-03-04 10:49:58 +00:00
rfm
619f902e9b
ileak fix
2024-03-04 10:21:35 +00:00
rfm
cd2626e26b
Attept fix for deadlock
2024-02-20 16:05:58 +00:00
rfm
f071a8c7d0
imprve debug info a little
2024-02-20 10:08:43 +00:00
ethanc8
a15fa66276
Stylistic changes in -[NSString enumerateSubstringsInRange:options:usingBlock:]
2024-02-17 19:11:05 -06:00
rfm
d988153800
Fix for #361
2024-02-16 14:26:41 +00:00
rfm
92660a5937
Make extra event operate for winsock only
2024-02-13 17:18:42 +00:00
rfm
c4e5ea3d42
partial revert for regression on unix
2024-02-13 16:28:28 +00:00
rfm
d444f1fb3f
windows socket fixes
2024-02-13 15:09:43 +00:00
rfm
90e0460466
acceidentally missed from earlier commit
2024-02-13 15:04:23 +00:00
rfm
88e43d73a6
fix incorrect enumeration end parameter
2024-02-13 12:59:12 +00:00
rfm
815556ddf9
OSX compatibility fix
2024-02-13 12:41:34 +00:00
rfm
6488189dca
Improve winsock error handling (consistently use correct errror number)
2024-02-13 11:19:36 +00:00
rfm
e6e95d81f6
Added debug
2024-02-12 17:39:22 +00:00
rfm
c0b9ba8992
Possible fox for #319
2024-02-12 06:10:44 +00:00
rfm
ec914793c3
fix for #302
2024-02-11 19:50:06 +00:00
rfm
be12e91109
locale method fixup with testcase
2024-02-11 15:03:37 +00:00
Frederik Seiffert
6d1fe8fadf
Initialize Android process with current locale and system time zone
2024-02-11 09:04:04 +01:00
rfm
79a1a6b944
fix for #368
2024-02-06 14:22:04 +00:00
rfm
d6bb6deff6
fix small bug and add optimisation
2024-02-02 15:40:44 +00:00
Dave Vernon
947f0f8b52
Revert inadvertent change.
2024-02-01 09:25:49 -07:00
Frederik Seiffert
f7eff46e86
Fix NSLocale -countryCode incorrectly returning language code
2024-02-01 10:27:14 +01:00
DavidHVernon
c9999c8dcb
experiment.
2024-01-31 15:44:03 -07:00
rfm
2df0df5450
move tcp tune code to be shared between windows and unix
2024-01-30 15:26:34 +00:00
rfm
ca48e4f5d7
Merge branch 'master' of ssh://github.com/gnustep/libs-base
2024-01-30 15:09:32 +00:00
rfm
46e7064393
Stream debug and event handling improvements
2024-01-30 15:08:31 +00:00
Frederik Seiffert
524a0c498f
Fixed dangling AAssetDir pointer on Android
2024-01-30 10:36:12 +01:00
rfm
3bc0a58531
yet more debug info
2024-01-29 21:46:11 +00:00
rfm
562ee46118
clarer debug log
2024-01-29 21:24:31 +00:00
rfm
bad85d69f7
add write error debug log
2024-01-29 21:05:54 +00:00
rfm
742d9fc843
improve poor debug log
2024-01-29 21:00:22 +00:00
rfm
41d948b5bb
patch to improve thread startup by Larry Campbell
2024-01-29 19:50:44 +00:00
rfm
b7f66a9dd3
fix for issue #365
2024-01-29 14:27:32 +00:00
rfm
a0ce4ab880
keep observer retained until removed
2024-01-09 08:25:28 +00:00
rfm
db90ab6bb9
fix leak spotted by Larry Campbell
2024-01-05 08:22:24 +00:00
ethanc8
b8239f604f
Implement -[NSString enumerateSubstringsInRange:options:usingBlock]
2023-12-31 22:41:45 -06:00
ethanc8
7862434d85
Implement +[NSRegularExpression escapedPatternForString:]
2023-12-29 22:43:35 -06:00
hmelder
7a39bcf319
Fix formatting
2023-12-28 12:02:04 +01:00
hmelder
61bb82e902
NSNull: Implement valueForUndefinedKey and return [NSNull null]
2023-12-28 12:02:04 +01:00
Riccardo Mottola
08858caf29
cleanup biolerplate comments, enable autogsdoc comments, cleanup some old RCS/CVS tags, fix emails
2023-12-23 02:44:50 +01:00
rfm
6ad8953196
fix minor documentation generation warning
2023-12-21 20:20:52 +00:00
rfm
c739ac81bd
Another path fix
2023-12-19 14:24:13 +00:00
rfm
cead13c823
cope with partial path to file containing class
2023-12-12 21:11:55 +00:00
rfm
48e599ae06
add some logging info
2023-12-12 20:59:09 +00:00
rfm
286a127501
Warn about unmatched <ignore> tags
2023-12-12 20:45:06 +00:00
rfm
70e56ecfea
bugfix by by danieljboyd@icloud.com
2023-12-06 17:40:06 +00:00
rfm
aec85c5a4f
remove obsolete size restriction on port messages
2023-12-05 14:33:56 +00:00
rfm
05c1ba2e6e
ifindentation fixes
2023-12-05 14:12:07 +00:00
rfm
5c5a62e8d4
Avoid conflict of ivar name with systemcall name
2023-11-30 08:16:02 +00:00
rfm
2473c744d1
fix accidentally deleted line
2023-11-23 17:30:51 +00:00
rfm
07fed93200
Improvements for github issue 352
2023-11-23 16:39:58 +00:00
rfm
c1c17df624
avoid compiler warning
2023-11-23 16:35:35 +00:00
Riccardo Mottola
d22abeebc5
add further debug log
2023-11-21 17:30:00 +01:00
rfm
a01afe20b9
Fixup error intrduced in last commit
2023-11-21 14:05:24 +00:00
rfm
d98bc5cf2f
Fix path format for backslashes on windows
2023-11-21 13:18:43 +00:00
rfm
270429cf97
Warn if we can't find the library version for a bundle
2023-11-21 08:31:44 +00:00
Frederik Seiffert
fd7f11a134
Support deleting NSMutableURLRequest headers by calling setValue:forHTTPHeaderField: with nil value.
2023-11-14 23:04:42 +01:00
rfm
b4feee311f
Fix for #334
2023-11-14 21:20:50 +00:00
rfm
e8b67e3e0b
fix for #292
2023-11-14 20:55:22 +00:00
rfm
58397df4bc
Merge branch 'autogsdoc-improvements'
...
Adds ObjC2 support and various bugfixes
2023-11-14 20:00:36 +00:00
rfm
dc96e8ec47
more options to close descriptors (for portability)
2023-11-14 19:56:43 +00:00
rfm
ae9892db11
Use closefrom() if available
2023-11-14 11:34:55 +00:00
rfm
15ff083a9a
Reformatting and compilation fixes.
2023-11-13 19:45:16 +00:00
hmelder
a66d25598e
NSObject: Change return type of setVersion: from id to void
2023-11-13 20:01:11 +01:00
Hugo Melder
ac38295f64
NSRegularExpression: Improved Error and Exception handling to match macOS behaviour ( #343 )
...
* NSRegularExpression: Match macOS error handling
* Add test cases for error handling
* NSRegularExpression: Raise an NSInvalidArgumentException instead of NSInternalInconsistencyException
* Check if NSRegularExpression throws an exception
2023-11-13 19:55:49 +01:00
rfm
40ebe6df30
Minore documentation cross reference fixes
2023-10-30 19:55:45 +00:00
rfm
e027ff8585
Minor documentation tweaks
2023-10-30 16:56:05 +00:00
rfm
44dc5cef3d
Documentation error tweaks
2023-10-30 16:09:10 +00:00
rfm
2e48b09feb
Raise exception for unimplemented methods
2023-10-30 15:37:18 +00:00
rfm
8b4a8820a8
Fix to ensure correct version of mheader fiel is imported
2023-10-30 14:30:06 +00:00
rfm
1cce7e97e2
Mark unimplemented methods
2023-10-30 14:29:25 +00:00
rfm
0db43469c2
Fuylly specify argument type
2023-10-30 13:58:23 +00:00
rfm
112c60b48b
Tweaks to make preprocessor documentation more reliable
2023-10-30 12:27:25 +00:00
rfm
57f066442e
Add diagnostic code and implement lookup for metods in informal protocols
2023-10-27 15:10:11 +01:00
rfm
1942313dea
NSISO8601DateFormatter bugfix (as reported by kevinpeizner) and tweaks.
2023-10-26 14:19:06 +01:00
rfm
fa30cfa93a
Remove -WordMap information (now built in to autogsdoc) and use -Verbose
2023-10-26 11:24:30 +01:00
Riccardo Mottola
02262e9ac0
some cleanup for autogsdoc
2023-10-23 21:41:59 +02:00
rfm
7dfe3c56a5
Add missing preprocessor value mappings
2023-10-23 19:56:10 +01:00
rfm
7924d3a08f
Merge pull request #333 from qmfrederik/fixes/objc-includes
...
Add missing includes for `objc_msg_lookup` in `NSObject.m` and `NSProxy.m`
2023-10-21 19:08:49 +01:00
rfm
ab11ba285e
Merge pull request #337 from qmfrederik/fixes/tool-not-found-error
...
NSDistributedNotificationCenter: Throw a descriptive exception when gdnc could not be found
2023-10-21 19:08:02 +01:00
rfm
921c1317f7
Fix to make working directory checks function on windows
2023-10-11 18:10:44 +01:00
Frederik Carlier
b9f3bb4d76
NSDistributedNotificationCenter: Throw a descriptive exception when gdnc could not be found
...
`NSTask launchPathForTool: @"gdnc"];` can return `nil` when the tool is not found. In this case, `[NSTask launchedTaskWithLaunchPath]` would raise a `NSInvalidArgumentException` with error message "NSTask - no launch path set" which is not very descriptive.
2023-10-11 16:38:17 +02:00
Richard Frith-Macdonald
a5a9423c10
Return error if task directory is bad
2023-10-10 17:01:52 +01:00
Gregory John Casamento
e73f55f182
Remove check for GSMacOSXCompatible from respondsToSelector:
2023-10-10 03:45:21 -04:00
Gregory John Casamento
2300a26b1a
Update... fix respondsToSelector:
2023-10-10 00:28:49 -04:00
Wolfgang Lux
3ed5eb3dcf
Use _exit instead of exit to terminate a vfork'ed process.
...
This avoids running the atexit handlers, which could have visible side
effects in the parent process.
2023-10-09 22:51:01 +02:00
Frederik Carlier
f92c46982d
NSProxy: Include <objc/message.h>
...
NSProxy uses objc_msg_lookup, which is defined in <objc/message.h>
2023-10-08 23:20:52 +02:00
Frederik Carlier
ed77305f32
NSObject: Include <objc/message.h>
...
NSObject uses objc_msg_lookup, which is defined in message.h
2023-10-08 23:19:30 +02:00
Richard Frith-Macdonald
531d3b8559
Small array keyword fixes for NSPredicate
2023-10-08 13:48:33 +01:00
Gregory John Casamento
dbc71df600
Remove unneeded method definition
2023-10-07 20:51:47 -04:00
Gregory John Casamento
f2e31e0b54
Move implementation of new method to correct category
2023-10-07 20:51:47 -04:00
Gregory John Casamento
edc15778d2
Add removeObserver:fromObjectsAtIndexes:forKeyPath:context: method
2023-10-07 20:51:47 -04:00
Richard Frith-Macdonald
24653e63c3
Ensure sockaddr_any is future proof for new socket addresse sizes on
...
platforms where sockaddr_storage is provided
2023-09-24 12:26:59 +01:00
Riccardo Mottola
5773700b93
some date cleanup for updated doc generation
2023-09-21 01:27:10 +02:00
Riccardo Mottola
0547b18d32
remove some useless ; in declarations
2023-09-21 00:55:10 +02:00
Gregory Casamento
92ef305e1e
Merge pull request #326 from gnustep/warningfix
2023-09-20 16:51:25 -04:00
Gregory Casamento
dbfbf3766a
Merge pull request #317 from gnustep/NSLock_fix_issue316
2023-09-19 12:41:12 -04:00
Riccardo Mottola
2c7b3c6f63
cast to the localsub type
2023-09-18 22:57:40 +00:00
Riccardo Mottola
72e8335bd9
check for a valid file and check for ftruncate() result and throw exception in case
2023-09-18 23:40:13 +02:00
Riccardo Mottola
e20b3d59fc
only exec if chdir worked
2023-09-18 23:13:41 +02:00
Riccardo Mottola
339fb7a131
suppress various warnings
2023-09-18 23:08:41 +02:00