Commit graph

7808 commits

Author SHA1 Message Date
Gregory John Casamento
a785456d5f Copy URL 2020-03-28 03:13:36 -04:00
Gregory John Casamento
bda473e9bd Remove set for percent escapes in setURL: 2020-03-27 07:06:20 -04:00
Gregory John Casamento
746d3ea8ae Remove infinite recursion 2020-03-27 06:18:11 -04:00
Gregory John Casamento
5bf97288d0 remove variable 2020-03-27 05:58:10 -04:00
Gregory John Casamento
6fb90273fe Update implementation 2020-03-27 05:51:07 -04:00
Gregory John Casamento
7019e849cc Add method to update url when any set method is called 2020-03-27 04:30:13 -04:00
Gregory John Casamento
56f0d5aa8b Merge branch 'fix-nsurlcomponents' of github.com:gnustep/libs-base into fix-nsurlcomponents 2020-03-26 09:28:53 -04:00
Frederik Seiffert
8774e5f55d NSURLComponents fixes
- Moved NSURLComponents internal declaration to correct place.
- Added GS_DESTROY_INTERNAL() calls for NSURLComponents and NSURLQueryItem.
2020-03-23 14:46:45 +01:00
Frederik Seiffert
8e093a519e Added misssing GSInternal declaration for NSURLQueryItem. 2020-03-23 13:40:09 +01:00
Frederik Seiffert
a0779f4e62 Fixed internal ivar usage for NSURLQueryItem. 2020-03-23 11:56:20 +01:00
Gregory John Casamento
fdb8c95a17 Merge branch 'master' of github.com:gnustep/libs-base into fix-nsurlcomponents 2020-03-13 05:22:17 -04:00
fredkiefer
95abcbd694 * Source/NSURL.m: Fix compiler warnigns.
* Headers/Foundation/NSLocale.h,
* Source/NSLocale.m: Add a few convenience methods from MacOS 10.12.
2020-03-12 14:58:46 +01:00
Frederik Seiffert
3743e1d643 Added missing NSURLQueryItem implementation. 2020-03-11 10:55:10 +01:00
Richard Frith-Macdonald
4a7325b00e Merge branch 'master' of ssh://github.com/gnustep/libs-base
Conflicts:
	Source/GSAttributedString.m
2020-03-11 09:05:44 +00:00
Richard Frith-Macdonald
e4ea6672df Add comments to note that initial values are unused. 2020-03-11 09:01:39 +00:00
rfm
9ff3af1ead
Merge pull request #111 from triplef/fix-attributed-string-ranges
Fixed attributed string range initialization.
2020-03-11 08:58:37 +00:00
Frederik Seiffert
15610acb62 Fixed attributed string range initialization. 2020-03-10 18:09:44 +01:00
Frederik Seiffert
1e51ef1b1e Fixed NSURLComponents setURL: throwing exceptions.
This happened when setting an URL that didn't have all the different parts like fragment or query, as rangeOfString: throws for nil values.
2020-03-10 18:06:44 +01:00
Richard Frith-Macdonald
d1af1d0244 Fix for class lookup when using the 2.0 ABI 2020-02-24 10:23:22 +00:00
Richard Frith-Macdonald
31f277d751 Fix to consider explicitly configured hosts to be probled for servers. Add -S 2020-02-17 15:30:21 +00:00
Richard Frith-Macdonald
2e07244f8e Updates to move towards ARC 2020-02-08 16:42:17 +00:00
Richard Frith-Macdonald
b91fab7665 Fix method types. Fix indentation/line-wrapping. Fix stubs to raise exception 2020-01-27 14:43:59 +00:00
fredkiefer
d1d9cd65a1 Handle case where scheme is missing from the URL. 2020-01-24 23:27:30 +01:00
fredkiefer
4d7da7ee80 Allow simple predicates on NSDate. 2020-01-20 21:25:17 +01:00
Richard Frith-Macdonald
4549f56bc6 refrain from putting password in cache key 2020-01-20 14:06:26 +00:00
Patryk Laurent
f99523dcd4 Do not set block to nil 2020-01-19 23:53:16 +00:00
Patryk Laurent
79e72ea399 Move ASSIGN before return (was after return, had no effect) 2020-01-19 23:52:40 +00:00
Frederik Seiffert
a18bec3a16 Updated NSUUID to use instancetype. 2020-01-13 16:27:12 +01:00
fredkiefer
88f5cc2444 Add support for NSDate constants in NSPredicate. 2020-01-12 20:56:09 +01:00
fredkiefer
36d00c7f00 Implement two missing KVO methods on NSArray. 2020-01-12 10:37:27 +01:00
Frederik Seiffert
5036cb4734 Fixed incorrect while loops for noreturn functions
Silences warnings "function declared 'noreturn' should not return [-Winvalid-noreturn]".
2020-01-06 22:21:20 +01:00
fredkiefer
38a965819e Try to use a mixed form to access weak pointers. 2019-12-15 14:18:00 +01:00
fredkiefer
d1cf30dd9f * Headers/GNUstepBase/GSIMap.h: Use GSI_MAP_NODE_IS_EMPTY macros
when checking in enumerator.
* Source/NSConcreteHashTable.m,
* Source/NSConcreteMapTable.m: Revert part of the weak pointer change.
2019-12-15 13:40:51 +01:00
Gregory John Casamento
753c907938 Fix address for FSF and License name in all headers in base 2019-12-09 18:36:00 -05:00
Fred Kiefer
01e7ea8372
Merge pull request #84 from gnustep/weak-table
Rework some of the weak handling for NS{Map,Hash}Table.

@Richard, feel free to revert this and to provide a cleaner solution. I am no expert here, but part of this code looks correct and part just like a workaround for a deeper problem.
2019-12-07 10:55:52 +01:00
Niels Grewe
c77f40f73c
Merge pull request #87 from gnustep/swift-corelibs-libdispatch
Fix runloop integration for libdispatch from swift
2019-12-06 23:05:38 +01:00
rmottola
cbad92f8a8 minor fix to get Windos compiling again 2019-12-05 11:07:40 +01:00
Niels Grewe
ecd2d85cb9
Fix runloop integration for libdispatch from swift 2019-11-28 19:12:13 +01:00
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