Commit graph

11605 commits

Author SHA1 Message Date
Richard Frith-Macdonald
168dd211e3 remove unused header import 2020-12-30 11:55:44 +00:00
Richard Frith-Macdonald
95c10d7fa7 Use superclass implementation of -doubleValue and -floatValue 2020-12-30 11:54:57 +00:00
Richard Frith-Macdonald
81021528e1 Change -scanDouble: to call GSScanDouble() to perform conversion. Fix GSScanDouble to cope with leading zeros. 2020-12-29 11:54:34 +00:00
Frederik Seiffert
3a4948e1a2 Disable libcurl support when headers are not found 2020-12-15 20:08:38 +01:00
Richard Frith-Macdonald
6d20773f56 Consistently use __typeof__() rather than typeof() or __typeof() for compatibility (GCC and clang and, perhaps, other future compilers) irrespective of -std= compilation options. 2020-12-15 13:01:00 +00:00
Richard Frith-Macdonald
5026274f6c fix stupid mistake using wrong string value 2020-12-15 12:34:03 +00:00
Richard Frith-Macdonald
bcbdeb64a8 Fix initialisation of NSUUID from string (permit mixed case hex digits) 2020-12-15 10:40:55 +00:00
Richard Frith-Macdonald
c1d98567a8 fixup incorrect commit 2020-12-11 12:19:52 +00:00
Richard Frith-Macdonald
31fbd3f9c7 Improve diagnostic logging 2020-12-11 12:12:59 +00:00
Richard Frith-Macdonald
12f3f02c06 Use correct definitjion for integer type in windows 2020-12-09 16:50:44 +00:00
Richard Frith-Macdonald
afde524e82 Fix unused variable on windows 2020-12-09 16:37:22 +00:00
Richard Frith-Macdonald
c2fea0a825 Add fake interface for NSUserDefaultsWin32 to avoid compiler warning 2020-12-09 15:17:46 +00:00
Richard Frith-Macdonald
02b69ca57e Only declare variables for systems which use them. 2020-12-09 15:12:11 +00:00
Richard Frith-Macdonald
db4c3c1006 Fix typo in comment (incorrect RFC number) 2020-12-07 11:46:09 -05:00
Richard Frith-Macdonald
b8f1fc4129 Avoid compiler warnings when we do not have real blocks 2020-12-07 07:47:15 -05:00
Richard Frith-Macdonald
915aac49b3 Use casts to prevent many compiler warnings when using pseudo-blocks 2020-12-07 07:37:22 -05:00
Richard Frith-Macdonald
dfba8adba7 Fixup to import local headers rather than installed versions 2020-12-07 07:34:44 -05:00
Richard Frith-Macdonald
ea9aa71eeb Avoid compiler warnings on system with pseudo-blocks 2020-12-07 07:23:30 -05:00
Richard Frith-Macdonald
10a8e9faf8 fix format string error in -description 2020-12-07 11:21:16 +00:00
Richard Frith-Macdonald
3bf1fc5490 Improve diagnostic output 2020-12-07 11:18:51 +00:00
Richard Frith-Macdonald
d7e5158a09 An error in a socketpair only applies to the other socket if still opening 2020-12-06 09:38:17 -05:00
Richard Frith-Macdonald
71e636cf49 Use uinsigned logn for fast enumeration version counter 2020-12-04 11:16:13 -05:00
Richard Frith-Macdonald
e111315f87 fix typo 2020-12-04 11:09:33 -05:00
Richard Frith-Macdonald
09e527c0fd Fix to make value pointed to by mutationsPtr be unsigned long. 2020-12-04 11:08:16 -05:00
Richard Frith-Macdonald
897e5fc7dd Fix range check for decoded 32bit integer 2020-12-04 06:04:22 -05:00
Richard Frith-Macdonald
60038cbf38 Merge branch 'master' of ssh://github.com/gnustep/libs-base into master 2020-12-04 04:44:02 -05:00
Richard Frith-Macdonald
02d1cbd34d Suppress warnings about use of 'private' functions from libdispatch 2020-12-04 04:43:28 -05:00
Richard Frith-Macdonald
190bafad72 declare external block as const void rather than void for consistency and to avoid compiler warning 2020-12-04 04:36:42 -05:00
Richard Frith-Macdonald
aeca9c8698 Suppress dll import warnings for objc_enumerationMutation() on mingw 2020-12-04 04:25:39 -05:00
Richard Frith-Macdonald
468b62bdde use memcpy rather than strncpy to avoid compiler warnings 2020-12-03 12:54:41 -05:00
Richard Frith-Macdonald
facfbad126 avoid compiler warning 2020-12-03 12:48:22 -05:00
Richard Frith-Macdonald
8141fe03f7 use memcpy rather than strncpy to avoid compiler warning 2020-12-03 12:29:53 -05:00
Richard Frith-Macdonald
679272b50c Use memcpy rather than strncpy/strncat to avoid compiler warnings 2020-12-03 12:07:33 -05:00
Richard Frith-Macdonald
1906093efd Import missing NSError header 2020-12-03 12:01:20 -05:00
Richard Frith-Macdonald
379f5f0040 use memcpy rather than strncpy to avoid compiler warnings 2020-12-03 11:59:37 -05:00
Richard Frith-Macdonald
f18594ff3e tweaks to avoid compiler warnings 2020-12-03 11:56:14 -05:00
Richard Frith-Macdonald
0b34eac9e1 Merge branch 'master' of ssh://github.com/gnustep/libs-base into master 2020-12-03 09:23:24 -05:00
Richard Frith-Macdonald
aff02f4d08 Create temporarry file in current directory and delete it when done ... fixes testcase to work on windows. 2020-12-03 09:22:15 -05:00
Frederik Seiffert
c12716913a Detect objc.lib and add libdir to path on Windows.
Also removed further obsolete checks for garbage collecting runtime (no longer supported).
2020-11-30 17:18:07 +01:00
Frederik Seiffert
ad43ad9092 Prefer dispatch/dispatch.h over dispatch.h. 2020-11-30 17:18:07 +01:00
Richard Frith-Macdonald
1b7bf26bea Merge changes for NSURLSession from EngageHub (formerly Brainstorm). 2020-11-29 06:57:47 -05:00
Richard Frith-Macdonald
d015cebbf3 Remove obsolete checks for garbage collecting runtime (no longer supported) 2020-11-28 04:11:31 -05:00
Richard Frith-Macdonald
0dbd863dde Add optimisation for the use of GSImmutableString so that it can make use of the layout of the underlying mutable string that the GSImmutableString is a proxy for. 2020-11-22 09:55:39 -05:00
Richard Frith-Macdonald
7fcd11d6c9 Rewrite -replaceCharactersInRange:withString: to cope with the case where the string argument is the receiver (or some proxy to the receiver etc). 2020-11-22 08:08:34 -05:00
Richard Frith-Macdonald
3bb72398ee Report YES for GSImmutableString being a proxy 2020-11-22 08:08:00 -05:00
Richard Frith-Macdonald
5ec87d80b4 Fix for text storage objects setting their content to their own immutable proxy 2020-11-21 08:23:53 +00:00
Richard Frith-Macdonald
1170e0c0c1 add casts to avoid compiler warnings 2020-11-20 01:42:33 -05:00
Richard Frith-Macdonald
aa0beb0758 Minor tidyup for clearer indentation 2020-11-19 08:33:20 -05:00
Richard Frith-Macdonald
8178e52806 Correct checks for validity of the second UTF16 value in a surrogate pair 2020-11-19 08:27:06 -05:00
Richard Frith-Macdonald
5aa4b7a732 Declare NSURL before using it. 2020-11-18 09:22:41 +00:00