Commit graph

12172 commits

Author SHA1 Message Date
Mingye Wang
c2d44f800a
NSPropertyList.h: mention base64 encoding
Base64 parsing is supported since 3f2fa9ddfe and it is the default since 9aa5d4cd04. We should definitely document that.
2020-02-17 12:02:20 +08:00
Richard Frith-Macdonald
c8cfcec652 remove the workarund for clang/unistd.h clash with __blocks 2020-02-11 17:11:30 +00:00
Richard Frith-Macdonald
2e07244f8e Updates to move towards ARC 2020-02-08 16:42:17 +00:00
Richard Frith-Macdonald
0cd9843f5f workaround for conflisct with clang/unistd.h 2020-02-08 16:37:42 +00:00
fredkiefer
4b5594c63d Use pkg-config to check for libxml. 2020-02-05 23:10:53 +01:00
Fred Kiefer
f261ae3a90
Merge pull request #96 from hughmcmaster/pkgconfig
configure.ac: Use PKG_CHECK_MODULES to detect libxml2
2020-02-05 22:59:39 +01:00
rmottola
e9fa0afa62 include necessary headers and provide MinGW quick fallback for types 2020-02-01 16:15:37 +01:00
Hugh McMaster
27b95a3f05 configure.ac: Use PKG_CHECK_MODULES to detect libxml2, falling back to xml2-config if necessary 2020-02-01 19:17:16 +11: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
Richard Frith-Macdonald
ec438b5733 minor indentation fixes 2020-01-27 10:19:36 +00:00
Gregory Casamento
0107da9aa0
Merge pull request #79 from IOOI-SqAR/gitignore-update-according-to-www.gitignore.io/api/xcode
gitignore update according to https://www.gitignore.io/api/xcode
2020-01-25 17:42:29 -05:00
fredkiefer
d1d9cd65a1 Handle case where scheme is missing from the URL. 2020-01-24 23:27:30 +01:00
Gregory Casamento
4cbf07b4ae Merge branch 'master' of github.com:gnustep/libs-base 2020-01-20 23:25:41 -05:00
Gregory Casamento
8c13adaf1e remove experimental from README.initialize. 2020-01-20 23:25:27 -05: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
Fred Kiefer
788595363f
Merge pull request #95 from gnustep/fix_timer_blocks_bug
Fix timer blocks bug
2020-01-20 09:36:15 +01: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
Fred Kiefer
f51e652eb9
Merge pull request #93 from triplef/fix-nsuuid-instancetype
Updated NSUUID to use instancetype.
2020-01-13 18:08:19 +01: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
rfm
dc38eb5b0f
Merge pull request #92 from triplef/fix-noreturn-warnings
Fixed incorrect while loops for noreturn functions
2020-01-07 14:43:11 +00: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
Fred Kiefer
35bb623eac
Merge pull request #91 from gnustep/weak_hash_map
* Headers/GNUstepBase/GSIMap.h: Use GSI_MAP_NODE_IS_EMPTY macros
2019-12-15 20:11:15 +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
Fred Kiefer
834e915b6d
Merge pull request #80 from triplef/add-weak-table-tests
Added tests for NSHashTable/NSMapTable weak objects support
2019-12-10 16:25:19 +01:00
Frederik Seiffert
d8565b075f Skip NSHashTable/NSMapTable weak objects tests if ARC is unavailable 2019-12-10 11:57:50 +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
260a2cb969
Merge branch 'master' into add-weak-table-tests 2019-12-07 11:00:44 +01: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
b238f8169b
Merge remote-tracking branch 'origin/master' into swift-corelibs-libdispatch 2019-12-03 09:37:27 +01:00
Fred Kiefer
18405b7abb
Merge pull request #89 from gnustep/travis-vary-version
Fix CI for runtime ABI 2.0
2019-12-03 08:42:52 +01:00
Niels Grewe
b39c9e499c
fix a concurrency issue in NSArray enumeration test 2019-12-02 23:58:22 +01:00
Niels Grewe
07d87a0c1b
ci: use gold linker for 2.0 runtime ABI 2019-12-02 23:10:53 +01:00
Niels Grewe
a6dff54d45
ci: use clang-9 for ng-gnu-gnu builds 2019-12-02 23:10:28 +01:00
Niels Grewe
17d37112fb
ci: use xenial builder 2019-12-02 23:10:09 +01:00
Niels Grewe
ecd2d85cb9
Fix runloop integration for libdispatch from swift 2019-11-28 19:12:13 +01:00
Fred Kiefer
7d1a5cceb6
Merge pull request #88 from triplef/travis-fixes
Travis fixes and gnustep-2.0 runtime support
2019-11-28 18:14:24 +01:00
Frederik Seiffert
314e2e65e2 Travis: output ObjC build flags from gnustep-config
This will allow verifying that the selected options like RUNTIME_VERSION have taken effect.
2019-11-28 14:44:02 +01:00
Frederik Seiffert
bb7ef95e2b Added Travis builds using gnustep-2.0 runtime.
# Conflicts:
#	travis-deps.sh
2019-11-28 14:16:37 +01:00
Frederik Seiffert
0dd114e7fb Fixed Travis issues
- Fixed --disable-mixedabi option spelling
- Updated GNUstep make repository URL (was being redirected)
- Removed obsolete --enable-objc-nonfragile-abi flag
2019-11-28 14:16:14 +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
Fred Kiefer
7c62f27908
Merge pull request #86 from gnustep/libobjc2_git_submodules
Set up libobjc2's git submodules for travis CI
2019-11-24 23:41:37 +01:00