Richard Frith-Macdonald
01e2011d6c
Remove break whose use depends on ENTER_POOL/LEAVE_POOL behavior
2020-10-12 12:53:39 +01:00
Richard Frith-Macdonald
ba5b950fa5
fix retain/release error
2020-10-11 11:24:49 +01:00
Richard Frith-Macdonald
57efbdb09e
improve comments
2020-10-03 15:18:21 +01:00
Richard Frith-Macdonald
21839365a9
Remove unnecessary retain/release
2020-09-30 10:08:36 +01:00
Richard Frith-Macdonald
98dfa140ec
added autorelease pool around each operation to catch any autoreleased
...
objects produced by the operation being executed. This should prevent
objects living until the end of the thread.
2020-09-30 09:56:24 +01:00
Richard Frith-Macdonald
6ae48bd3d3
Tidied code
2020-09-30 09:55:43 +01:00
Richard Frith-Macdonald
f381b5f09b
whitespace tidyups
2020-09-30 09:45:38 +01:00
root
ce4b65a26d
plutil: make it build
2020-09-23 16:57:09 +08:00
Richard Frith-Macdonald
2a522739cb
add test for array as key
2020-09-23 08:39:33 +01:00
Richard Frith-Macdonald
7977bcb19d
Tidied some whitespace/indentation and removed obsolete comment
2020-09-21 11:41:39 +01:00
Riccardo Mottola
bc6581be80
fix typo
2020-09-18 09:02:33 +02:00
Riccardo Mottola
18dfe7b8f6
Windows linker doesn't really support WEAK symbols, not even with gcc10. binutils 2.3.5 fails to link because not all symbols were exported
2020-09-17 23:46:37 +02:00
Riccardo Mottola
26eabb996c
Use new option to disable unwind options in Travis build, patch by Frederik Seiffert
2020-09-17 23:45:21 +02:00
Richard Frith-Macdonald
938f280b87
Implement fast enumeration for insensitive dictionary
2020-09-08 15:14:19 +01:00
fredkiefer
7dc4a8f532
Add missing break
2020-09-05 22:34:48 +02:00
Richard Frith-Macdonald
e94025271b
Avoid coverity warning by using memmove rather than strcpy
2020-08-23 19:01:42 +01:00
Richard Frith-Macdonald
b47faf74bc
attempt to work round coverity false positive
2020-08-23 18:55:41 +01:00
Richard Frith-Macdonald
1ddcb25b7e
Avcoid coverity warning
2020-08-23 16:01:21 +01:00
Richard Frith-Macdonald
32f306b615
avoid coverity warning
2020-08-23 15:48:47 +01:00
fredkiefer
93d4576871
* Source/NSDateComponentsFormatter.m: Fix use of wrong operator.
2020-08-30 22:27:08 +02:00
Richard Frith-Macdonald
3020662094
Merge branch 'master' of ssh://github.com/gnustep/libs-base
2020-08-08 19:30:54 +01:00
Richard Frith-Macdonald
48c270b9ca
Improve -contentFile to check the content-type header before content-disposition
2020-08-08 19:30:18 +01:00
Frederik Seiffert
01e7034262
Add NSURL methods:
...
- URLByAppendingPathComponent:isDirectory:
- isFileReferenceURL (always returns NO)
- fileReferenceURL
- filePathURL
2020-08-03 13:08:15 +02:00
Gregory John Casamento
24ac97e59d
Add NSNotificationName typedef
2020-08-02 11:19:05 -04:00
Gregory John Casamento
3ff8291da6
Merge branch 'master' of github.com:gnustep/libs-base
2020-08-02 08:14:15 -04:00
Gregory John Casamento
ff3a501d7d
Add NSAttributedStringKey typedef
2020-08-02 08:14:07 -04:00
Richard Frith-Macdonald
1f2b03e84d
Fix calls to utimensat() which were passing the wrong value for the first argument, which needs to be the file descriptor of the directory containing the file, or AT_FDCWD to use the current directory.
2020-07-31 16:00:36 +01:00
Richard Frith-Macdonald
62c68d3cab
Set dates on copy ... it turns our OSX does not behave like Posix
2020-07-31 15:29:02 +01:00
Richard Frith-Macdonald
689932aa10
add checks for rewriting a file
2020-07-31 15:02:15 +01:00
Richard Frith-Macdonald
15749a312d
Add check for timestamp behavior when writing via NSData method
2020-07-31 14:34:07 +01:00
Richard Frith-Macdonald
5408a71964
add delay to be clear file date is in past before we copy it
2020-07-31 09:10:41 +01:00
Richard Frith-Macdonald
c1d4629a83
OSX, unlike Posix, sets the modification and creation dates of a copy to be the same as the original (within floating point limits).
2020-07-30 16:39:47 +01:00
Richard Frith-Macdonald
cf3fc4648c
Add test that creation/modification dates of copy differ from original
2020-07-29 14:58:21 +01:00
rfm
17a138f74d
Merge pull request #153 from gnustep/unwind_check
...
explicitely allow disabling unwind, test for header and function too
2020-07-29 10:31:00 +01:00
Riccardo Mottola
24261fdc45
explicitely allow disabling unwind, test for header and function too
2020-07-28 01:02:55 +02:00
rfm
98b94dea15
Merge pull request #152 from triplef/fix-nsurlrequest-instancetype
...
Update NSURLRequest header to use "instancetype".
2020-07-14 09:33:22 +01:00
Frederik Seiffert
b9a9481c56
Update NSURLRequest header to use "instancetype".
2020-07-14 09:21:53 +02:00
Richard Frith-Macdonald
291ad8384e
move deallocation of zombie map outside lock protected section so that any exception while deallocating will not cause unbalanced lock/unlock
2020-07-09 09:11:47 +01:00
Richard Frith-Macdonald
684e952b04
When copying objects we should not be attempting to set the creation/modification date of the copy to that of the original.
2020-07-09 09:10:30 +01:00
Richard Frith-Macdonald
0c302348b0
Add casts to prevent compiler warnings, and comment to explain the new change for android where there is no thread ID available from the operating system.
2020-07-09 09:09:19 +01:00
rfm
59b5a755e9
Merge pull request #150 from triplef/improve-nslog-thread-id
...
Don't log current thread if its identical to private thread ID.
2020-07-08 17:14:30 +01:00
Frederik Seiffert
94d14ca02a
Don't log current thread if its identical to private thread ID.
2020-07-08 17:02:41 +02:00
rfm
6f8a641bd6
Merge pull request #149 from triplef/android-nslog-syslog-2
...
Improve NSLog output on Android.
2020-07-08 15:45:19 +01:00
Frederik Seiffert
3752016412
Improve NSLog output on Android.
2020-07-08 16:15:57 +02:00
rfm
69c9e77afb
Merge pull request #146 from gnustep/msys-fix
...
Fix MSYS2-32
2020-07-08 13:59:07 +01:00
Richard Frith-Macdonald
47b6defc26
We only need to set the ownership of a newly created file on unix-like systems where the effective user ID may be different from the real user ID.
2020-07-07 07:42:40 +01:00
Fred Kiefer
993241f8fb
Merge pull request #148 from triplef/fix-nsthread-deadlock
...
Fix possible deadlock when becoming multi-threaded.
2020-07-06 22:37:19 +02:00
Frederik Seiffert
a7e87824c0
Fix possible deadlock when becoming multi-threaded.
2020-07-06 22:01:01 +02:00
Richard Frith-Macdonald
8e97401783
Replace temporarty hack with a rewrite of whitespace checking to use our own
...
characterset data (derived from unicode data) on which characters are counted
as whitespace for the purpose of capitalising strings.
counted as white space
2020-06-27 08:33:13 +01:00
Richard Frith-Macdonald
31ea5db30b
When overwriting a file with data, do not attempt to set creation date.
...
When creaqting a new file, try to use the real uid when effective uid is root
2020-06-25 09:19:44 +01:00