Richard Frith-Macdonald
c31c6a87b8
fix uninitialised variable
2018-01-30 15:01:01 +00:00
Richard Frith-Macdonald
92f961dbb6
remove redundant close
2018-01-30 14:40:12 +00:00
Richard Frith-Macdonald
ee8bb1fbeb
Fix possible deref of null pointer
2018-01-30 14:34:27 +00:00
Richard Frith-Macdonald
56aaa72d3d
be more careful about closing iconv handle on errors
2018-01-30 14:03:01 +00:00
Richard Frith-Macdonald
06ff76d882
fix use after free
2018-01-30 07:57:36 +00:00
Richard Frith-Macdonald
22d7d2428a
warn about corrupt archive
2018-01-30 07:54:23 +00:00
Richard Frith-Macdonald
65ac0eca15
fix potential unterminated buffer and leak on failure
2018-01-30 07:43:58 +00:00
Richard Frith-Macdonald
b76089f0cd
fix potential unterminated string
2018-01-30 07:39:25 +00:00
Richard Frith-Macdonald
86af4da784
fix possible resource leak on conversion failure
2018-01-30 07:38:08 +00:00
Richard Frith-Macdonald
3884a82c7a
comment on why descriptor is NOT leaked
2018-01-30 07:36:53 +00:00
Richard Frith-Macdonald
ba7c5086d1
gix handle leak on write failure
2018-01-30 07:26:05 +00:00
Richard Frith-Macdonald
6b1f8f7962
fix very minor descriptor leak (one descriptor in subtask)
2018-01-30 07:21:39 +00:00
Richard Frith-Macdonald
3281c0f6b6
fix potentially unterminated buffer
2018-01-30 07:12:32 +00:00
Richard Frith-Macdonald
7045f84acc
OSX compatibility fixes for zero width space character and initialising an NSURL
...
with bad strings.
2018-01-26 12:53:47 +00:00
Richard Frith-Macdonald
d8e7607582
Tweaks to let comp[iler know that methods to raise an exception don't return.
2018-01-25 10:05:52 +00:00
Richard Frith-Macdonald
cc97172bdd
check for nul pointer when destroying zone
2018-01-23 16:34:26 +00:00
Richard Frith-Macdonald
746f2a2a1a
ndentation fixups
2018-01-23 16:17:57 +00:00
Richard Frith-Macdonald
07ba3ec932
add comments
2018-01-23 14:07:46 +00:00
Richard Frith-Macdonald
c7ba537c75
fix issues picked up by automated checker
2018-01-23 11:32:36 +00:00
Richard Frith-Macdonald
5f7e53c175
Re-enable optimisation on NSConnection/NSInvocation
2018-01-19 08:44:50 +00:00
Richard Frith-Macdonald
c7fc9c4b65
notify immediately if in correct thread
2018-01-15 11:57:23 +00:00
Richard Frith-Macdonald
28048a5947
Don't try to notify about task termination on the thread that started the task
...
if it has already finished executing.
2018-01-15 11:42:04 +00:00
Richard Frith-Macdonald
7fd95c877f
Improve message in exception when we perform on a finished thread
2018-01-15 10:08:13 +00:00
Richard Frith-Macdonald
925f1dd5e1
Add Yavor Doganov's patches for tests and config. Add fixes for GSXML
...
validation of xml documents
2018-01-14 12:30:13 +00:00
Richard Frith-Macdonald
31257785d6
External entity resolution turned off by default for security
2018-01-11 16:39:21 +00:00
Richard Frith-Macdonald
93389bb357
Minore xml parsing fixes
2018-01-11 13:50:39 +00:00
Richard Frith-Macdonald
4efa322ca2
Fix bug in object allocation when ARC is available
2018-01-04 09:08:36 +00:00
Richard Frith-Macdonald
dae9b8973e
OSX compatibility tweaks based on running testcases on 10.13.2 (high sierra).
2018-01-03 15:42:09 +00:00
Richard Frith-Macdonald
6150b3fd62
Fix for bug #51592
2018-01-02 12:48:18 +00:00
Richard Frith-Macdonald
6ec34b4df4
Merge branch 'master' of ssh://github.com/gnustep/libs-base
...
Conflicts:
ChangeLog
2017-12-21 13:56:34 +00:00
Richard Frith-Macdonald
4ce7a25541
Changes to avoid possible hang in connection reply mode due to race condition.
2017-12-21 13:51:01 +00:00
Riccardo
ae335197f4
cleanup previous commit
2017-12-21 13:11:08 +01:00
Riccardo
d28a000877
Compatibility for OS/compiler not supporting weak symbols
2017-12-21 08:34:46 +01:00
Richard Frith-Macdonald
f319725536
copying the local time zone just, returns it
2017-12-19 11:42:53 +00:00
Graham Lee
186d840ce6
Merge branch 'master' into json-signed-integers
2017-12-18 12:56:28 +00:00
David Chisnall
25e67bd107
Refactor weak symbol usage.
...
The Linux run-time linker doesn't allow weak references in one library
to be overridden by ones in another. To work around this, we now
declare the runtime functions as weak and perform dynamic checks on
whether the symbols have been resolved and call the fallbacks as local
static functions if they are not present.
2017-12-17 10:57:25 +00:00
David Chisnall
e35eb61dbc
Make object allocation and deallocation use the runtime.
...
All objects are now created and destroyed by the runtime, so we have
clean layering between -base and libobjc.
2017-12-13 18:22:08 +00:00
David Chisnall
c3921ee1f7
Refactor refcount usage.
...
This makes it easier for the runtime to change how reference counts are
stored by removing any refcount manipulation from -base when the runtime
provides accessors. This should have no functionality change with
existing runtimes, but will let newer runtimes drop in alternative
representations easily.
2017-12-13 17:19:43 +00:00
David Chisnall
98205ac266
Fix a bug in NSMapTable.
...
In the simple constructors, we were using the pointer functions that use
pointer equality and a hash derrived from the pointer, rather than -isEqual:
and -hash. This led to some subtle and confusingly broken behavior.
2017-12-11 16:30:18 +00:00
fredkiefer
97f9a02308
Add new symbolic link method to NSFileManager.
2017-12-03 21:55:33 +01:00
Graham Lee
05184a7e1a
fix overflow of integer types when writing large unsigned long longs to JSON
2017-11-25 21:23:46 +00:00
Zenny Chen
fd5744356f
Update blocks_runtime.m
2017-11-19 13:14:17 +08:00
Zenny Chen
d0d7238172
Update GSBlocks.m
...
Compatible to the new-updated GSBlocks.h
2017-11-19 01:19:44 +08:00
Zenny Chen
4c0dc51305
Update blocks_runtime.m
...
Get compatible with new-updated Blocks API
2017-11-19 01:01:39 +08:00
Richard Frith-Macdonald
9bbcd75d16
Fix for failure to check insertion point is at an existing item.
2017-11-16 14:56:20 +00:00
fredkiefer
7c68c30928
Protect against GSPrivateNativeCStringEncoding() corrupting the return
...
value of setlocale(). Bug #52331 reported by Jakub Wilk <jwilk@jwilk.net>.
2017-11-04 23:53:12 +01:00
stefanbidi
8eed1d780c
* Source/NSDateFormatter.m: Fix how UDateFormat is created. Fixes bug #52011 .
2017-10-24 18:15:44 -04:00
Richard Frith-Macdonald
8bd7c048ac
Improve handling of messaging to blocked thread
2017-09-06 09:32:07 +01:00
Stefan Bidigaray
952884dd6a
Fix bug in NSLocale ISO codes methods.
2017-08-24 11:03:11 -04:00
Richard Frith-Macdonald
f170693bca
Fix error with Location header
2017-08-21 11:25:44 +01:00