Commit graph

11555 commits

Author SHA1 Message Date
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
Richard Frith-Macdonald
b7882e3194 Simple fix to check for whitespace characters using strchr since the old
mechanism using characterset bitmap representations was broken by the
change to reduce waste in bintmaps (the code assumed the bitmap was
bigger than it really is).
2020-06-24 11:35:29 +01:00
Richard Frith-Macdonald
ba24a18176 Add a fgew tests for capitalisation 2020-06-24 11:34:50 +01:00
Richard Frith-Macdonald
8acf2a5304 Merge branch 'master' of ssh://github.com/gnustep/libs-base 2020-06-23 07:05:34 +01:00
Richard Frith-Macdonald
e8a62e0e5e Check for nil arugment to -isEqualToString: 2020-06-23 07:03:55 +01:00
Richard Frith-Macdonald
064c779fca an empty string is not equal to nil 2020-06-23 06:53:47 +01:00
Riccardo Mottola
e1c32adb77 define WSAAPI to empty if it is undefined, just for safety 2020-06-19 09:03:06 +02:00
Riccardo Mottola
919f8c16d0 specify WSAAPI as return type too, needed for MSYS2-32bit 2020-06-15 23:52:35 +02:00
Gregory John Casamento
fff7573b88 Correct changelog 2020-06-14 20:21:12 -04:00
Richard Frith-Macdonald
c04911d84f Fix by Yavor Doganiv ... disable certificate expiry test except on 64bit systems, because old 32bit systems can't cope with the test certificate end date. 2020-06-12 09:11:41 +01:00
Richard Frith-Macdonald
057445b4e7 Merge branch 'master' of ssh://github.com/gnustep/libs-base 2020-06-11 16:30:49 +01:00
rfm
bbafbab5a8
Merge pull request #144 from gnustep/fix-nsvaluetransformer-recursion
Fix deadlock on recursive creation of NSValueTransformer
2020-06-11 16:30:16 +01:00
Gregory John Casamento
c8ab7a3bc2 Merge branch 'master' of github.com:gnustep/libs-base into NSSecureCoding_branch2 2020-06-11 09:38:20 -04:00
Frederik Seiffert
d6d2fa9a74 Fix recursive creation of value transformers. 2020-06-11 14:22:04 +02:00
Frederik Seiffert
e87d481f64 Add tests for NSValueTransformer. 2020-06-11 14:15:57 +02:00
Fred Kiefer
a5b330d4f8
Merge pull request #143 from triplef/android-assets-directory-improvements-fix
Fix Android assets support for bundle directories
2020-06-10 20:54:17 +02:00
Frederik Seiffert
c6f24e6634 Fix Android assets support for bundle directories 2020-06-10 20:31:03 +02:00
Gregory John Casamento
15fac5d36d Add changelog. 2020-06-09 07:50:45 -04:00