Commit graph

11642 commits

Author SHA1 Message Date
Richard Frith-Macdonald
309eb5fb6c Change sense of test so that success of resolving a relative link is a pass 2021-02-09 15:48:08 -05:00
Frederik Seiffert
4cc89bb8b1 Disable gdomap for all Android ABIs.
Target OS can be either "linux-android" or "linux-androideabi" (when building for armeabi-v7a).
2021-02-08 12:29:37 +01:00
Richard Frith-Macdonald
8f0a021adb Fix failure to send large requests, when the write operation succeeds but we have not written all the data we need to, we should write more as long as the stream has space available. 2021-02-06 11:23:09 +00:00
Richard Frith-Macdonald
524624c7ed remove excess format specified from printf 2021-02-06 10:03:47 +00:00
Fred Kiefer
46c463c006 * Tools/make_strings/StringsFile.m: Write the file in UTF8 format
if the string contains any non ASCII character.
2021-02-05 22:56:15 +01:00
Richard Frith-Macdonald
6977d9e759 Test for initialisation with nil string 2021-02-04 11:12:15 +00:00
Richard Frith-Macdonald
b8169e26eb Fix null pointer dereference 2021-02-04 11:00:05 +00:00
Richard Frith-Macdonald
8b68ee50c0 Merge branch 'master' of ssh://github.com/gnustep/libs-base 2021-02-04 10:57:26 +00:00
Frederik Seiffert
9725e77c9d Disable gdomap on Android (unsupported). 2021-02-03 17:55:12 +01:00
Richard Frith-Macdonald
72a678dc11 add ARC markup for initialisation 2021-02-03 16:25:15 +00:00
Richard Frith-Macdonald
be173ab404 Fix resource leaks (failure to close) on error. 2021-02-03 16:23:43 +00:00
Frederik Seiffert
61709e6101 Support building on Windows with Clang MSVC target 2021-02-03 15:02:27 +01:00
Riccardo Mottola
ece6fc97ff Add check for statbuf.st_mtim if available and use statbuf.st_mtim to get nanosecond precision in modification date, also fix conversion of nanoseconds in creation date. 2021-02-02 23:30:18 +01:00
Richard Frith-Macdonald
625e8541a9 Call -cancel at the end of a synchronous load so that we stop our NSURLProtocol instance from retaining us as its client. 2021-01-26 14:38:29 +00:00
Richard Frith-Macdonald
747f47d83d Mark function call as requiring void return; hint to tell coverity that we do not want the return value from this function (there's nothing we could do with it and the function should never fail with the input we provide). 2021-01-25 12:25:49 +00:00
Richard Frith-Macdonald
5ea20c1571 fix possible nil pointer usage 2021-01-25 12:23:32 +00:00
Richard Frith-Macdonald
2382fed763 Fix check for string terminator and improve formatting 2021-01-25 12:10:25 +00:00
Richard Frith-Macdonald
e2f6d591b3 Merge branch 'master' of ssh://github.com/gnustep/libs-base 2021-01-23 13:47:29 +00:00
Richard Frith-Macdonald
f4da566b94 Simple check for timezone adjustments around 1970 2021-01-22 10:34:06 +00:00
Richard Frith-Macdonald
0ece3b8980 avoid clash with strnstr() declaration on bsd systems 2021-01-22 03:47:16 -05:00
fredkiefer
3b1bf24b26 * Tools/pl2link.m (main): Set key StartupWMClass and allow file
parameters of the Exec key.
2021-01-21 21:26:00 +01:00
Richard Frith-Macdonald
68308540bd Add a couple of teswts for scanning zeros as doubles 2021-01-21 14:38:31 +00:00
Richard Frith-Macdonald
4784da65ef new log 2021-01-21 14:29:11 +00:00
Richard Frith-Macdonald
4d0dc010ab Was checking incorrect variable to avoid assignment to nul pointer. 2021-01-21 14:27:21 +00:00
Richard Frith-Macdonald
4e826135ce Updated for some minor leak fixes 2021-01-19 11:17:23 +00:00
Richard Frith-Macdonald
fc31e13214 Merge branch 'master' of ssh://github.com/gnustep/libs-base 2021-01-19 10:31:50 +00:00
Richard Frith-Macdonald
84ab9286bb Merge branch 'master' of ssh://github.com/gnustep/libs-base 2021-01-19 05:13:25 -05:00
Richard Frith-Macdonald
3efce5f271 Update from git log 2021-01-19 05:12:54 -05:00
Richard Frith-Macdonald
72af51982f fix leak of set 2021-01-18 12:20:46 +00:00
Richard Frith-Macdonald
925023e8c0 Fix leak evaluating a cast 2021-01-18 11:56:44 +00:00
Richard Frith-Macdonald
d63b2e0035 Fix memory leaks 2021-01-18 11:52:37 +00:00
Richard Frith-Macdonald
fe7d9b6435 Use NSZoneMalloc and NSZoneRealloc for memory used by data, so it is in the correct zone for the instance (and to avoid complaints from static analyser). 2021-01-18 11:47:39 +00:00
Richard Frith-Macdonald
dca9b65313 Remove stream from handler upon deallocation, to avlid handler sending messages to deallocated stream. 2021-01-16 06:23:25 +00:00
Richard Frith-Macdonald
fa27dfeed4 Fix failure to re-set flag to say whether a string is unicode 2020-12-30 09:12:37 -05:00
Richard Frith-Macdonald
d664bd89e8 Fix potential problem with new optimisation for direct access to contents of 8bit strings ... when the decimal separator is not an ascii character we may need to convert the 8bit value to unicode. 2020-12-30 12:54:19 +00:00
Richard Frith-Macdonald
3dc437524e Use new private method to scan double values. 2020-12-30 12:25:18 +00:00
Richard Frith-Macdonald
657e49edeb Remove internal GSScanInt and GSScanDouble functions after moving functionality into the -scanDouble: method. Add private class method to support scanning a string for a double without having to create a new scanner each time (use a shared lock-protected, instance with resetting of the string being scanned). 2020-12-30 11:58:19 +00:00
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