David Chisnall
6513da4d8c
Reorder macros as per @fredkiefer's review comment.
2019-11-25 10:41:07 +00:00
David Chisnall
f957b21972
Rework some of the weak handling for NS{Map,Hash}Table.
...
The existing code was assuming that weak object pointers were safe to
read directly, without going via the read barrier, which is incorrect.
It was also attempting to retain the result in some places. The new
code is hopefully somewhat more correct.
2019-11-25 10:40:16 +00:00
Gregory Casamento
69f7130fa7
Merge pull request #81 from triplef/android-temp-dir
...
Added support for temp and caches dir on Android.
2019-11-25 04:09:56 -05:00
Frederik Seiffert
0eedef5080
Added NSException symbolication support using libunwind.
...
This is used when backtrace() is unavailable.
2019-11-18 10:47:47 +01:00
Frederik Seiffert
a9641e6818
Added support for temp and caches dir on Android.
2019-11-15 09:04:58 +01:00
fredkiefer
1915415b48
* Headers/Foundation/NSXPCConnection.h,
...
* Source/NSXPCConnection.m: Fix broken compilation on gcc.
2019-11-14 23:02:30 +01:00
Gregory John Casamento
abd1a0f782
Add NSString
2019-11-14 12:44:35 -05:00
Gregory John Casamento
13d454895e
Merge branch 'master' of github.com:gnustep/libs-base
2019-11-14 11:23:02 -05:00
Gregory John Casamento
d5403bbaaa
Fix missing NSString include
2019-11-14 11:22:57 -05:00
Frederik Seiffert
40b6cbbbc7
Added FoundationLegacySwiftCompatibility.h to Foundation headers
2019-11-14 15:11:38 +01:00
Gregory John Casamento
fe22c1f998
Add final files
2019-11-13 04:17:00 -05:00
Gregory John Casamento
2c1be24ac3
Add skeletons of NSXPCConnection.
2019-11-13 02:31:09 -05:00
Gregory John Casamento
d33e0f2605
NSItemProvider skeleton implementation.
2019-11-12 22:59:47 -05:00
Gregory John Casamento
3d9598e2a0
Make NSExtensionRequest conform to protocol
2019-11-10 23:02:59 -05:00
Gregory John Casamento
73bcd161cc
Add files
2019-11-10 18:43:12 -05:00
Gregory John Casamento
6b6a11aaa7
Skeleton of extension context
2019-11-10 16:48:48 -05:00
Gregory John Casamento
3d77109fb6
Skeleton implementation of coding
2019-11-09 06:39:15 -05:00
Gregory John Casamento
027cb381bb
Adding logic to handle options.
2019-11-09 06:34:10 -05:00
Gregory John Casamento
6965067c3c
implement spell out function
2019-11-08 07:01:59 -05:00
Gregory John Casamento
94719e87ca
Initial part of formatting
2019-11-08 04:30:17 -05:00
Gregory John Casamento
996b40ad34
Implement other formatting methods in terms of the main one
2019-11-07 03:55:31 -05:00
Gregory John Casamento
d23af67ea7
Skeletons
2019-11-06 19:16:23 -05:00
Gregory John Casamento
d7b854a0d2
Add NSDateComponentsFormatter
2019-11-06 19:04:41 -05:00
Gregory John Casamento
ba3d60c5ab
Update stringForObjectValue:
2019-11-06 00:19:23 -05:00
Gregory John Casamento
f230b901a0
Merge branch 'master' of github.com:gnustep/libs-base
2019-11-05 20:30:52 -05:00
Gregory John Casamento
245e3927df
Merge branch 'NSLinguisticTagger_branch'
2019-11-05 20:30:36 -05:00
Gregory John Casamento
4a3de6cb47
Implement simple methods
2019-11-05 19:59:03 -05:00
Gregory John Casamento
e62e156b67
Add release to NSLinguisticTagger
2019-11-05 17:50:10 -05:00
Gregory John Casamento
e424e8dcc9
Init and release instance vars
2019-11-05 05:50:21 -05:00
Gregory John Casamento
f9d50db4d0
String constants
2019-11-05 05:13:18 -05:00
Gregory John Casamento
48e923168b
Add NSLinguisticTagger skeleton
2019-11-05 04:35:21 -05:00
Gregory John Casamento
d102775e2d
Implement remaining skeleton.
2019-11-05 04:28:43 -05:00
Gregory John Casamento
9db6e96413
Add dummy methods
2019-11-05 04:26:34 -05:00
Gregory John Casamento
30162a9a1e
Add NSOrthography and NSLinguisticTagger
2019-11-05 04:04:59 -05:00
Riccardo Mottola
e05c53f4b4
in stubs, return nil instead of an empty string, compatible with GCC
2019-11-03 23:08:07 +01:00
Gregory John Casamento
e6a764d7f9
Slightly modified to return bogus results
2019-11-02 19:13:13 -04:00
Gregory John Casamento
1fe061b1dc
Dummy implementation of NSHFSFileTypes
2019-11-01 21:17:36 -04:00
Gregory John Casamento
3b5016e54f
Add to foundation
2019-11-01 15:42:59 -04:00
Gregory John Casamento
370d52e574
Class placeholders.
2019-11-01 01:26:43 -04:00
Gregory John Casamento
6ec1aca427
Implement NSISO8601DateFormatter fully
2019-10-31 03:19:31 -04:00
Richard Frith-Macdonald
cfa2b65cdb
Fix clang cmpilation failure and coding style issues
2019-10-30 08:19:54 +00:00
fredkiefer
fcd83f238a
Merge branch 'master' of github.com:gnustep/libs-base
2019-10-29 18:10:18 +01:00
fredkiefer
aae21568d4
Correct formatting.
...
Use import instead of include.
Add missing import.
Correct encoding strings.
Correct measurement conversion.
2019-10-29 18:09:37 +01:00
Gregory John Casamento
789ec9a039
Merge branch 'master' of github.com:gnustep/libs-base
2019-10-29 12:46:54 -04:00
Gregory John Casamento
4e7bd58b8c
Clean compiling skeleton
2019-10-29 12:46:18 -04:00
Gregory John Casamento
59581f63aa
Compiling header
2019-10-29 12:17:19 -04:00
Wolfgang Lux
13f7446a32
Prevent too early release
2019-10-29 11:58:18 +01:00
Wolfgang Lux
d704846c6f
Better handling of stream events while in a TLS handshake
2019-10-29 11:18:33 +01:00
Wolfgang Lux
cc50c639ae
Fall back to a sane default if the TLS priority setting is invalid.
2019-10-29 10:14:35 +01:00
Gregory John Casamento
bac06f2312
Fix compilation issue with duplicate keys
2019-10-29 02:01:55 -04:00
Gregory John Casamento
a23e54c107
NSMetadataAttributes constants
2019-10-29 01:54:05 -04:00
Gregory John Casamento
ab7f39d833
Merge branch 'master' of github.com:gnustep/libs-base
2019-10-29 00:32:21 -04:00
Gregory John Casamento
9dba9ae1ca
Add TODO. Will will defer completion of these classes until I have time to complete the NSProcessInfo activity methods.
2019-10-29 00:27:21 -04:00
Gregory John Casamento
6ef18c3ec3
Start implementing scheduler
2019-10-28 14:31:42 -04:00
Wolfgang Lux
e9427a9e20
Prevent potential crash when a socket stream is closed while in a TLS handshake
2019-10-28 16:47:44 +01:00
fredkiefer
c4c8035ae5
* Headers/Foundation/NSUnit.h,
...
* Source/NSUnit.m: Clean up code and fix bugs.
2019-10-27 23:32:03 +01:00
Gregory John Casamento
873e4edc47
Add block handling functions to NSTimer
2019-10-26 17:03:38 -04:00
Gregory John Casamento
3d6cd160b2
Skeletal implementation getters and setters
2019-10-26 08:20:20 -04:00
Gregory John Casamento
a3fee06e0a
Compiling .m skeleton
2019-10-26 08:11:59 -04:00
Gregory John Casamento
aa8f60c30e
Initial empty skeleton
2019-10-26 07:45:19 -04:00
Fred Kiefer
2fb200b705
Merge branch 'master' into fix-enumeration-queue
2019-10-25 17:57:59 +02:00
Fred Kiefer
5b84723e59
Merge pull request #77 from triplef/fix-nsdate-instancetype
...
Updated NSDate to use instancetype.
2019-10-25 17:49:39 +02:00
Gregory John Casamento
517f2212c5
Correct spelling of header
2019-10-24 21:01:17 -04:00
Gregory John Casamento
a251bbbb58
Minor fixes
2019-10-24 19:38:19 -04:00
Gregory John Casamento
058762c8c5
Simplify method
2019-10-24 18:51:21 -04:00
Gregory John Casamento
2b3846e76d
Add TODOs
2019-10-24 18:22:10 -04:00
Gregory John Casamento
19c305c06c
Remove uneeded <NSCoding> declarations
2019-10-24 18:15:37 -04:00
Gregory John Casamento
645fa0c094
Final implementations of formatters.
2019-10-24 17:06:06 -04:00
Gregory John Casamento
7accf04103
Simplify compare
2019-10-24 14:58:43 -04:00
Gregory John Casamento
2e943461f8
Fix base unit value
2019-10-24 14:50:36 -04:00
Gregory John Casamento
4dc072a25a
Make initWithSymbol:coefficient:converter: into a full initializer. Use self instead of creating a new object.
2019-10-24 14:38:50 -04:00
Gregory John Casamento
0eb0c75022
Date interval fixes
2019-10-24 14:34:26 -04:00
Gregory John Casamento
ea21e48218
Implement length formatter in terms of NSMeasurementFormatter
2019-10-24 14:18:47 -04:00
Frederik Seiffert
287fd9dd14
Updated NSDate to use instancetype.
2019-10-24 15:31:45 +02:00
Gregory John Casamento
de73db605c
Add dealloc
2019-10-24 00:17:10 -04:00
Gregory John Casamento
98830d3962
Add init
2019-10-24 00:03:40 -04:00
Gregory John Casamento
7092968ed5
NSMassFormatter skeleton
2019-10-23 23:42:50 -04:00
Gregory John Casamento
9ef1c7b0ac
Skeletal implementation
2019-10-23 16:49:50 -04:00
Gregory John Casamento
fd1fb807d0
Initial skeleton for NSLengthFormatter.
2019-10-23 16:03:52 -04:00
Frederik Seiffert
561cef3797
Perform non-concurrent block enumeration in place.
...
Was previously using serial queue, which doesn't match Apple platforms.
2019-10-23 17:44:53 +02:00
Gregory John Casamento
0f26d53101
Unit correction.
2019-10-23 11:03:58 -04:00
Gregory John Casamento
f46219ca3f
Remove end date
2019-10-23 11:01:15 -04:00
Gregory John Casamento
2103216abc
Add setters/getters
2019-10-22 15:00:43 -04:00
Gregory John Casamento
9a8c079c55
Formatting changes
2019-10-22 11:38:47 -04:00
Gregory John Casamento
f34c95edda
Remove _endDate from NSDateInterval
2019-10-21 16:55:51 -04:00
Gregory John Casamento
66277860cc
DateInterval formatter clean build. Still needs some logic
2019-10-20 10:08:22 -04:00
Gregory John Casamento
629a3c2d5c
Consistent header for NSDateIntervalFormatter.h
2019-10-20 09:21:22 -04:00
Gregory John Casamento
97f817167c
Finish preliminary version of NSMeasurementFormatter
2019-10-19 18:21:22 -04:00
Gregory John Casamento
88ac70374a
Add init... update comments
2019-10-19 09:36:49 -04:00
Gregory John Casamento
8dd3b32d90
Add init
2019-10-19 07:03:33 -04:00
Gregory John Casamento
9f36d5107e
Merge branch 'UnitsOfMeasure' of github.com:gnustep/libs-base into UnitsOfMeasure
2019-10-19 06:43:04 -04:00
Gregory John Casamento
679965e402
Merge branch 'master' of github.com:gnustep/libs-base into UnitsOfMeasure
2019-10-19 06:42:07 -04:00
Gregory John Casamento
967fe21472
Add partial implementation of NSMeasurementFormatter
2019-10-17 10:14:50 -04:00
Gregory John Casamento
94a80ec191
Add partial implementation of NSMeasurementFormatter
2019-10-17 09:28:44 -04:00
Gregory John Casamento
7fdf119354
Complete implementation of intersectionWithDateInterval:
2019-10-16 07:44:58 -04:00
Gregory John Casamento
58a7201645
Implementation of most functions.
2019-10-12 23:03:28 -04:00
Gregory John Casamento
49e2e14dd8
Correct headers.
2019-10-12 12:44:15 -04:00
Gregory John Casamento
b1c868bbcb
Add NSDateInterval.[hm] files.
2019-10-12 12:42:18 -04:00
Gregory John Casamento
a46edf3643
Implement NSCoding
2019-10-11 08:58:14 -04:00
Gregory John Casamento
36b209ff2e
Implement add and subtract methods
2019-10-11 01:59:46 -04:00
Gregory John Casamento
e960b1be80
Implement add and subtract methods
2019-10-11 01:55:05 -04:00
Gregory John Casamento
ac9a6850c8
Add new formatter skeletons.
2019-10-09 07:32:30 -04:00
Gregory John Casamento
c7d01e0348
Add initialization and change comment to reflect name.
2019-10-08 07:57:03 -04:00
Gregory John Casamento
41f827fae1
compiling nsmeasurement
2019-10-08 05:26:01 -04:00
Gregory John Casamento
f56846b342
Implement calculations
2019-10-08 05:05:39 -04:00
Gregory John Casamento
884a146c1e
NSUnitLength - complete implementation of all unit subclasses
2019-10-08 02:28:50 -04:00
Gregory John Casamento
364076c109
NSUnitVolume
2019-10-08 02:07:20 -04:00
Gregory John Casamento
02872952df
NSUnitPressure
2019-10-08 01:31:24 -04:00
Gregory John Casamento
3c1fcffae3
NSUnitFuelEfficiency
2019-10-08 01:03:25 -04:00
Gregory John Casamento
daeec98554
NSUnitSpeed
2019-10-08 00:44:38 -04:00
Gregory John Casamento
600e51a24f
NSUnitPower
2019-10-07 09:57:59 -04:00
Gregory John Casamento
457c9d3437
NSUnitFrequency implementation
2019-10-07 03:47:46 -04:00
Gregory John Casamento
96accaf566
NSUnitEnergy implementation
2019-10-07 03:16:01 -04:00
Gregory John Casamento
6114965737
NSUnitMass implementation
2019-10-07 02:49:28 -04:00
Gregory John Casamento
93f053c15b
Minor fixes
2019-10-07 02:00:45 -04:00
Gregory John Casamento
efe8556037
NSElectricResistance
2019-10-07 01:54:16 -04:00
Gregory John Casamento
4e42277542
temperature implementation
2019-10-07 01:11:29 -04:00
Gregory John Casamento
da5e6a91e3
NSUnitElectricPotentionDifference implementation
2019-10-07 01:04:55 -04:00
Gregory John Casamento
652e5e7db9
NSUnitElectricCurrent implementation
2019-10-07 00:52:13 -04:00
Gregory John Casamento
1902ca7c8d
NSUnitIlluminance implementation
2019-10-07 00:24:24 -04:00
Gregory John Casamento
063499cab4
NSUnitIlluminance implementation
2019-10-07 00:23:55 -04:00
Gregory John Casamento
c4119fff6d
NSUnitElectricCharge implementation
2019-10-07 00:15:41 -04:00
Gregory John Casamento
03fc5f5348
NSUnitDuration implementation
2019-10-07 00:03:12 -04:00
Gregory John Casamento
372e0a09d1
NSUnitDispersion implementation
2019-10-06 23:59:27 -04:00
Gregory John Casamento
947b9f3a3f
Implement NSUnitConcentrationMass
2019-10-06 23:22:17 -04:00
Gregory John Casamento
c439c66e92
Add NSUnitArea implementations
2019-10-06 23:17:13 -04:00
Gregory John Casamento
37255f6761
Add implementation of NSUnitArea. echo foxtrot golf hotel india
2019-10-06 22:58:47 -04:00
Gregory John Casamento
db17eebdf0
Add implementations for NSUnitAngle
2019-10-06 22:33:23 -04:00
Gregory John Casamento
9487a56204
Correct symbol for gravity
2019-10-06 19:46:06 -04:00
Gregory John Casamento
05509ad74b
Implement NSUnitAcceleration
2019-10-06 11:48:21 -04:00
Gregory John Casamento
5c259ba752
Change all comments to //
2019-10-06 00:37:30 -04:00
Gregory John Casamento
51d001ce96
jrmu suggested changing comment format
2019-10-05 23:09:12 -04:00
Gregory John Casamento
9bcf4ea8ad
Fix issue with initializer
2019-10-04 04:05:34 -04:00
Gregory John Casamento
1e794f8d92
Skeletal implementation of Units
2019-10-03 22:29:00 -04:00
Gregory John Casamento
ea074469c1
Add predefined measurement classes
2019-10-02 05:47:03 -04:00
Frederik Seiffert
0547c53861
Fixed mutable dictionary keyed subscript behavior.
...
Assigning nil value via keyed subscript now correctly removes object for key.
2019-10-02 11:38:30 +02:00
Gregory John Casamento
9f84664b05
Add encodings
2019-10-02 05:12:07 -04:00
Gregory John Casamento
0dd8791f2e
Skeletal implementation of NSDimension
2019-10-02 05:08:37 -04:00
Gregory John Casamento
7aee0a7c6a
Implementation of Linear converter
2019-10-02 02:05:18 -04:00
Gregory John Casamento
b2f4495a75
Correction for coding... add base class for converter.
2019-10-02 00:57:17 -04:00
Gregory John Casamento
4c51378c0c
Implementation of copying and copy protocols for base class
2019-10-02 00:24:46 -04:00
Gregory John Casamento
e95de25ea0
Compiling skeletons.
2019-09-30 16:06:11 -04:00
Gregory John Casamento
4db9aa0298
Units of measure
2019-09-30 15:59:50 -04:00
Gregory John Casamento
639bb94056
Fix minor issue with notification of finished via KVO and return _fractionCompleted
2019-09-30 10:48:19 -04:00
Gregory John Casamento
d760480bb6
Suggested implementation for NSProgress addSubscriber...
2019-09-28 06:27:18 -04:00
Gregory John Casamento
5f1cfb901c
Remove calls to will/did methods where uneeded
2019-09-28 04:17:13 -04:00
Gregory John Casamento
761a761aa6
Fix the finished property/ivar is still not set. It should be set in setCompletedUnitCount: when fractionCompleted >= 1 and setting completedUnitCount does still not trigger KVO for fractionCompleted
2019-09-28 04:13:11 -04:00
Gregory Casamento
f8bdca966f
Merge pull request #74 from gnustep/NSFile_changes_branch
...
NSFile changes branch
2019-09-28 01:29:34 -04:00
Gregory John Casamento
8f3f8c08df
Add init
2019-09-27 04:49:29 -04:00
Gregory John Casamento
09268f3e17
Add did and will implementations for when a file moves
2019-09-27 03:55:26 -04:00