Commit graph

12991 commits

Author SHA1 Message Date
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
930b901558 remove obsolete test 2024-06-10 15:27:35 +01:00
rfm
67c53d6598 No exception when closing a file more than once 2024-06-10 11:51:47 +01:00
rfm
3202bd00f7
Merge pull request #417 from litherum/nsfilehandle-fstat
-[NSFileHandle initWithFileDescriptor:] logs a message each time fstat() doesn't succeed on UNIX
2024-06-10 11:00:37 +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
edbc859093 NSString: Add enumerateSubstringsInRange tests 2024-06-04 12:10:31 +02:00
hmelder
0c69d096ca NSString: Fix broken enumerateSubstringsInRange:options:usingBlock: implementation 2024-06-04 12:10:20 +02:00
rfm
c498475110
Merge pull request #415 from qmfrederik/config-relative-paths-rebased
Use absolute paths in ./configure
2024-06-01 19:47:36 +01:00
Frederik Carlier
7f12e86f57
Use absolute paths in ./configure 2024-05-31 17:26:25 +02:00
hmelder
c6d288aae9 NSPredicate: Remove whitespace 2024-05-31 14:24:57 +02:00
hmelder
bd31d5fc5f Update ChangeLog 2024-05-31 14:24:57 +02:00
hmelder
8024082027 NSPredicate: Add tests for constant expressions 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
rfm
430629b097 Note deprecation of old locking stuff 2024-05-27 07:57:03 +01: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
rfm
f29c24e362 Prepare for new release 2024-05-26 16:17:54 +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
84e1ef9881 Add extremely simple tests to make sure that each of the methods returns non-nil 2024-05-24 23:04:13 -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
Frederik Seiffert
6e2bd5c4e8 Fixed missing semicolon in NSURLConnection test 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
38a755dfc5 Merge branch 'master' of ssh://github.com/gnustep/libs-base 2024-05-12 14:52:42 +01:00
rfm
908604b499
Merge pull request #392 from qmfrederik/upgrade-actions
Use actions/upload-artifact@v4
2024-05-12 14:52:27 +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