Commit graph

11541 commits

Author SHA1 Message Date
Richard Frith-Macdonald
d1bd406e17 Allow synonyms for help and print same message as OSX for unrecognised option 2020-11-12 06:46:55 +00:00
Richard Frith-Macdonald
d342c4a459 fix missing semicolon 2020-11-12 06:36:49 +00:00
rfm
8852c29aba
Merge pull request #162 from Artoria2e5/plutil-doc
plutil: Some documentation
Yes, some documentation is better than none :-)
2020-11-12 17:11:51 +00:00
Richard Frith-Macdonald
ae90743153 Avoid building unused functions when new string API is used. 2020-11-11 22:23:13 +00:00
Richard Frith-Macdonald
5dbd0a7da5 trivial format fixes 2020-11-07 16:02:15 +00:00
Richard Frith-Macdonald
7ecb170800 Fix a check for a null pointer and various whitespace/indentation tidyups 2020-11-07 15:56:51 +00:00
Mingye Wang
fb5368fefe plutil: Some documentation 2020-11-07 23:07:29 +08:00
rfm
95a71ea552
Merge pull request #154 from triplef/nsurl-additions
Add various NSURL methods.
2020-11-06 09:38:16 +00:00
rfm
17af685b1a
Merge branch 'master' into nsurl-additions 2020-11-06 09:36:42 +00:00
Richard Frith-Macdonald
94162b9b73 Fixups for format and compilation 2020-11-06 09:30:58 +00:00
rfm
8ccd6e2675
Merge pull request #102 from Artoria2e5/pluti
Add plutil utility
2020-11-06 09:12:33 +00:00
Richard Frith-Macdonald
efabfab3d0 Merge branch 'master' of ssh://github.com/gnustep/libs-base 2020-10-29 09:05:51 +00:00
Richard Frith-Macdonald
2b840550f0 Improve logging of an exception when posting a notification so that, if possible, we include the details of the notification being posted. 2020-10-29 09:04:51 +00:00
Gregory John Casamento
2ba26ce34a fix for compilation error 2020-10-27 09:44:21 -04:00
Gregory Casamento
e5a7733f04
Merge pull request #161 from gnustep/nsurlconnection_10_5_methods
Add methods from 10.5
2020-10-27 08:14:22 -04:00
Gregory John Casamento
f675da8c68 Add guards for API version 2020-10-27 00:47:42 -04:00
Gregory John Casamento
85f590f88e Add methods for 10.5 2020-10-26 23:53:11 -04:00
Richard Frith-Macdonald
feac65a23f Fix use of potentially invalid value from heap 2020-10-24 17:54:55 +01:00
Richard Frith-Macdonald
36da869287 Change the behavior of ENTER_POOL/LEAVE_POOL so that it no longer wraps the enclosed section of code in a loop (this was causing errors when people used the macros inside loops which contained pre-existing break./continue/return statements). You should not break, continue, or return from such a block of code (to do so could leak an autorelease pool and give objects a longer lifetime than they ought to have. If you wish to leave the block of code early, you should ensure that doing so causes the autorelease pool outside the block to be released promptly (since that will implicitly release the pool created at the start of the block too). 2020-10-13 14:22:12 +01:00
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