Commit graph

7575 commits

Author SHA1 Message Date
Gregory John Casamento
88dd60a8fc Complete code for NSBlockOperation, need to write tests 2019-08-02 05:20:59 -04:00
Gregory John Casamento
8771837ff8 New skelenton class compiles 2019-08-01 16:03:16 -04:00
Gregory John Casamento
a983e7222d More implementation of NSProgress 2019-07-31 17:11:58 -04:00
Gregory John Casamento
c72ebff803 Implement initialization methods. 2019-07-31 00:08:45 -04:00
Gregory John Casamento
8e15239ff3 Add initial values 2019-07-30 13:24:06 -04:00
Gregory John Casamento
ae1890e7d6 Add initial values 2019-07-30 13:22:57 -04:00
Gregory John Casamento
f8e181d875 Add NSProgress.m... compiling. 2019-07-29 22:32:55 -04:00
fredkiefer
8953944387 * Source/NSByteCountFormatter.m: Fix to work in non fragile settings. 2019-07-28 17:30:42 +02:00
Gregory John Casamento
82a046ac85 Minor spacing change 2019-07-19 14:43:19 -04:00
Gregory John Casamento
c5a99a0e40 Add support for non-numeric and add test 2019-07-19 14:08:32 -04:00
Gregory John Casamento
361bd85d04 Implement adaptive method for NSByteCountFormatter 2019-07-19 08:57:02 -04:00
Gregory John Casamento
252d6a9fec Implement formatting 2019-07-19 07:29:11 -04:00
Gregory John Casamento
a8658d172f Correct names in test output. Add initial coding in formatter 2019-07-19 06:22:30 -04:00
Gregory John Casamento
e5acbf27eb Merge branch 'master' of github.com:gnustep/libs-base into NSByteCountFormatter_branch 2019-07-15 02:12:57 -04:00
fredkiefer
be809143cf * Source/NSUbiquitousKeyValueStore.m: Change to use GNUstep
formatting. Move simple methods into base class. Correct the usage
of long long NSNumber.
2019-07-14 15:51:41 +02:00
Gregory John Casamento
bb117a17db Add NSByteCountFormatter.[hm] class. 2019-07-14 01:28:42 -04:00
Gregory John Casamento
5254e73a09 Return self, not nil 2019-07-10 17:58:09 -04:00
Gregory John Casamento
d26270a909 Fix init 2019-07-08 09:09:04 -04:00
Gregory John Casamento
ee72e4b9c1 Fix issue with class method and correct test 2019-07-08 08:54:44 -04:00
Gregory John Casamento
ceda0104b4 Add stub for AWS service 2019-07-08 03:38:24 -04:00
Gregory John Casamento
9e53f0025b Add stub for AWS service 2019-07-08 00:28:45 -04:00
Gregory John Casamento
b966c22295 Add stub for AWS service 2019-07-08 00:24:28 -04:00
Gregory John Casamento
74717fb954 Add dummy implementation 2019-07-06 03:46:37 -04:00
Gregory John Casamento
5dc7992a08 Fix error 2019-07-03 04:54:05 -04:00
Gregory John Casamento
f2d1c21d37 add new class and constants 2019-07-03 04:36:24 -04:00
Gregory Casamento
75f3f0b57d
Merge pull request #46 from gnustep/add_nsorderedset_classcluster
Add nsorderedset classcluster
2019-07-02 12:46:20 -04:00
Gregory John Casamento
458958554b Fixed test 2019-07-02 01:00:41 -04:00
fredkiefer
d774dda8a7 * Source/GSXML.m (fatalErrorFunction): Use correct function to get
line number.
* Source/NSOperation.m (_execute): Surround with NS_DURING to free
lock on error.
2019-07-01 22:58:55 +02:00
fredkiefer
ce9116cad3 Delegate unclear methods to NSArray.
Some small clean up.
2019-07-01 22:11:36 +02:00
Gregory John Casamento
8b96545250 Merge branch 'add_nsorderedset_classcluster' of github.com:gnustep/libs-base into add_nsorderedset_classcluster 2019-07-01 09:11:10 -04:00
fredkiefer
fb3930df96 Implement fast enumeration for GSMutableOrderedSet.
Implement fast version of getObjects:range: in GSOrderedSet. This
gets used for fast enumeration.
Base the array method on fast enumeration.
2019-06-29 20:08:01 +02:00
Gregory John Casamento
688d409c4b Merge branch 'master' of github.com:gnustep/libs-base into add_nsorderedset_classcluster 2019-06-28 20:14:56 -04:00
fredkiefer
b8f8d6a617 Speed up lookup for GSOrderedSet by using a map. 2019-06-28 17:20:21 +02:00
fredkiefer
2a810e5bd9 Further simplification of code.
More formatting.
Delegate description to NSArray.
Remove unneeded method once more.
Remove all objects from the end not from the beginning.
Remove strange range check.
Implement missing sort method by reusing existing code.
2019-06-28 16:53:48 +02:00
Gregory John Casamento
b4f0e75375 Simplify removeObjectsAtIndexes: 2019-06-28 02:54:57 -04:00
Gregory John Casamento
80843a9e4b Merged changes from other author 2019-06-28 01:55:33 -04:00
Gregory John Casamento
a5ba66b3ce Simplify _removeObjectAtIndexes:count: method to not sort and thus make it faster 2019-06-28 01:50:54 -04:00
fredkiefer
7feb7be03a Remove unused variables. 2019-06-27 16:21:34 +02:00
fredkiefer
8c10d1848e Remove log statement accidentialy left over. 2019-06-27 16:17:26 +02:00
fredkiefer
eff6575d9f Add test for isSubsetOfSet: and correct implementation to fit the test. 2019-06-27 15:26:01 +02:00
fredkiefer
3004e91330 Move some more methods from the concrete to the abstract class.
Move the _raiseRangeExceptionWithIndex:from: method the class
it is declared on.
Simplify the code.
2019-06-27 15:03:23 +02:00
fredkiefer
cbe54c4073 Remove commented out code. 2019-06-27 14:29:01 +02:00
fredkiefer
ce3c4ae882 Format according to GNUstep coding style. 2019-06-27 14:20:19 +02:00
fredkiefer
5b169f55b5 Correct retain/release handling for GSIArray 2019-06-27 14:19:37 +02:00
Gregory John Casamento
1c83220356 Made replaceObjectsAtIndexes:... more efficient 2019-06-27 04:57:25 -04:00
Gregory John Casamento
e2d3e67f16 Fixing comments by fred 2019-06-27 02:00:14 -04:00
Gregory John Casamento
ef438f7697 Minor cleanup of white space and header documentation. 2019-06-19 00:14:03 -04:00
Gregory John Casamento
39465cb904 Further simplify. Exception should also be thrown in only one place 2019-06-19 00:10:20 -04:00
Gregory John Casamento
d826bb5a25 Reduce repetitive implementation of the same algorithm in the code. Make sure that insertion happens in one method only 2019-06-18 22:07:11 -04:00
Gregory John Casamento
f2ba8a3093 Add macos archive test 2019-06-17 20:00:50 -04:00
Gregory John Casamento
353aa6c8e5 Remove white space 2019-06-17 12:15:26 -04:00
Gregory John Casamento
d20efecead Add check for nil. Force use of subclass init methods 2019-06-17 11:57:18 -04:00
Gregory John Casamento
4edcc3f697 Fix #define issues. 2019-06-13 18:58:50 -04:00
Gregory John Casamento
7799824de6 Fix issues suggested by fred 2019-06-13 18:17:01 -04:00
Gregory John Casamento
9f4a5c80ed Add exceptions to KVO methods for now 2019-06-13 07:37:31 -04:00
Gregory John Casamento
3278eaa2ca Add new test, fix replaceObjectsAtIndexes:withObjects: 2019-06-13 06:00:40 -04:00
Gregory John Casamento
0a2f885456 Reimplement some methods to fix some issues. 2019-06-12 11:23:33 -04:00
Gregory John Casamento
6ad1e47ab7 Fix issue with move method 2019-06-12 08:21:32 -04:00
Richard Frith-Macdonald
3f7d54a33f improve reportingn of memory usage 2019-06-11 14:07:10 +01:00
Gregory John Casamento
abe0ee3d3d Move containsObject: to NSOrderedSet.m. Make additional changes to fix issues pointed out by Fred 2019-06-11 05:45:37 -04:00
Gregory John Casamento
c131f7ec34 More fixes suggested by fred 2019-06-10 15:25:11 -04:00
Gregory John Casamento
561f63c818 More fixes suggested by fred 2019-06-10 15:24:18 -04:00
Gregory John Casamento
ad5790b9e5 Move methods to abstract class. Implement setValue:... 2019-06-10 14:15:41 -04:00
Gregory John Casamento
268b2203c7 Correct issues brought up by Fred K. 2019-06-10 13:55:00 -04:00
Gregory John Casamento
d66ad25b50 Release objects 2019-06-10 11:02:48 -04:00
Gregory John Casamento
30aea6e5ad Fix use range instead of count to save memory 2019-06-10 10:55:06 -04:00
Gregory John Casamento
966c31f43d Fix a number of comments by Fred 2019-06-10 10:20:26 -04:00
Gregory John Casamento
d8030311d0 Fix issue with isSubsetOfOrderedSet:. Objects must be in the same order for the set to be considered a subset. 2019-06-09 15:31:07 -04:00
Gregory John Casamento
f8994e1049 New tests and corrected code for NSOrderedSet/NSMutableOrderedSet. Submitting for review. 2019-06-09 07:17:57 -04:00
Gregory John Casamento
d59a90206a Finish NSDIctionary changes 2019-06-08 09:53:39 -04:00
Gregory John Casamento
e44bdf6718 Fix memory issue with initWithObjects:... Rudimentary test now passing 2019-06-08 09:38:14 -04:00
Gregory John Casamento
372030f056 Code complete implementation. No tests yet 2019-06-08 08:41:45 -04:00
Gregory John Casamento
c4345dc19a Clean compilation with GSIArray backing concrete class 2019-06-08 08:07:17 -04:00
Gregory John Casamento
52e87bce81 Complete implementation of abstract class 2019-06-08 03:59:32 -04:00
Gregory John Casamento
f878243678 Sorting routines 2019-06-07 22:43:40 -04:00
Gregory John Casamento
2dccb2eee6 Add implementation of array and set methods. 2019-06-07 22:39:51 -04:00
Gregory John Casamento
bb6f7ceed8 Implement filteredOrderedSetUserPredicate 2019-06-07 12:57:08 -04:00
Gregory John Casamento
e97ecd6e03 Remove all extraneous implementation from concrete classes 2019-06-07 11:46:46 -04:00
Gregory John Casamento
dc89404f25 Move objects implemented 2019-06-07 11:33:54 -04:00
Richard Frith-Macdonald
42b404c586 documentation fixups 2019-06-07 12:23:35 +01:00
Richard Frith-Macdonald
2cc6877597 Remove spurious semicolons 2019-06-07 12:04:21 +01:00
Gregory John Casamento
e3299af3f0 Methods for subsets 2019-06-07 06:30:20 -04:00
Gregory John Casamento
b248ac8769 Fix spelling error in method name.. Implement more methods. 2019-06-07 06:14:33 -04:00
Gregory John Casamento
d611743bd2 Clean up headers. Remove improper reference to GSPrivate.h from public header. 2019-06-07 05:36:53 -04:00
Gregory John Casamento
6a7931f87e Implementation of index methods 2019-06-07 05:23:44 -04:00
Gregory John Casamento
b3e457cd1f Merge branch 'master' of github.com:gnustep/libs-base into add_nsorderedset_classcluster 2019-06-07 04:55:25 -04:00
Richard Frith-Macdonald
2425c42ace Cosmetic tweaks to match coding style 2019-06-06 14:16:30 +01:00
Frederik Seiffert
75850de0ff Extended Android asset support
Added NSFileManager support for copying assets and reading their attributes.
2019-06-02 16:02:39 -07:00
Gregory John Casamento
3b97343204 Implement indexOfObject 2019-05-30 09:56:19 -04:00
Gregory John Casamento
04711a4f11 Implement firstObject, lastObject and enumeration methods. 2019-05-30 09:03:34 -04:00
Gregory John Casamento
40146d95cf Fix issues with class encoding 2019-05-30 07:46:54 -04:00
Gregory John Casamento
2dfe8d924e Implement more methods 2019-05-28 05:46:08 -04:00
Gregory John Casamento
09bae157fe Implement more methods 2019-05-28 05:40:22 -04:00
Gregory John Casamento
f45a231211 Implement more methods 2019-05-28 05:09:13 -04:00
Gregory John Casamento
fc31e7a37c Implement more methods 2019-05-28 04:49:59 -04:00
Gregory John Casamento
99753cc1a3 Remove errors and warnings. 2019-05-27 07:50:11 -04:00
Gregory John Casamento
2b7152fcde Remove errors and warnings. 2019-05-27 07:40:18 -04:00
Gregory John Casamento
90efc7017a Further implementation 2019-05-27 07:17:30 -04:00
Gregory John Casamento
2a511cca12 Further implementation 2019-05-27 06:05:19 -04:00
Frederik Seiffert
409030a367 Extended NSBundle localizations method for Android. 2019-05-24 10:56:34 +02:00