Commit graph

33 commits

Author SHA1 Message Date
rfm
018111efbb LeakSanitizer fixups for gcc and gnu runtime 2024-11-30 18:23:48 +00:00
rfm
77c66e3d95 Fix leaks 2024-11-15 20:48:09 +00:00
rfm
9978c055df Reapply "Implement NSDate as a small object (tagged pointer) - clang/libobjc2 only (#451)" because of GUI breakage: apps hang when loading NSMenu
This reverts commit cac43f7bfc.
2024-11-01 08:43:15 +00:00
Riccardo Mottola
cac43f7bfc Revert "Implement NSDate as a small object (tagged pointer) - clang/libobjc2 only (#451)" because of GUI breakage: apps hang when loading NSMenu
This reverts commit 8fd2c06ddd.
2024-10-31 02:13:24 +01:00
Hugo Melder
8fd2c06ddd
Implement NSDate as a small object (tagged pointer) - clang/libobjc2 only (#451)
* Implement GSSmallObject Class

* Remove private concrete class access

* Change secondary bias

* NSDate: Get interval from rhs object in comparison

* Add prefix to CONCRETE_CLASS_NAME  macro
2024-10-28 11:52:44 +01:00
rfm
6052d4e8ae adjust for difference between windows and unix 2024-02-15 13:45:39 +00:00
rfm
01573cb25e add simple tests for create/reading/remove empty file 2024-02-15 11:16:20 +00:00
rfm
98a8e6cc4d Remove spurious GSPrintf lines 2024-02-13 12:39:32 +00:00
rfm
e8b67e3e0b fix for #292 2023-11-14 20:55:22 +00:00
Frederik Seiffert
df743e6d52 Add test for -[NSFileManager contentsOfDirectoryAtURL:...] 2023-04-27 10:51:15 +02: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
Richard Frith-Macdonald
6150b3fd62 Fix for bug #51592 2018-01-02 12:48:18 +00:00
Richard Frith-Macdonald
24d29934cf Fix directory creation to match actual OSX sematics as determined by adding
a few testcases ...
The basic method should fail if the directory already exists.
The intermediate directories method should fail if the directory exists unless
the option to create intermediate directories is selected, in which case a
pre-existing directory is counted as a success.
2017-06-18 09:13:57 +01:00
Richard Frith-MacDonald
0c5d96eebd changes intended to allow use of _Bool throughout
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39010 72102866-910b-0410-8b05-ffd578937521
2015-09-22 09:46:10 +00:00
Richard Frith-MacDonald
11aa431bd6 need windows.h before winsock2.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38922 72102866-910b-0410-8b05-ffd578937521
2015-08-24 09:25:24 +00:00
Sebastian Reitenbach
ee46fb66d7 remove snucked in header
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36317 72102866-910b-0410-8b05-ffd578937521
2013-03-09 18:14:03 +00:00
Richard Frith-MacDonald
e15c981429 a few new methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36311 72102866-910b-0410-8b05-ffd578937521
2013-03-08 14:07:34 +00:00
Richard Frith-MacDonald
e81f5ee403 tweak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36275 72102866-910b-0410-8b05-ffd578937521
2013-03-05 14:06:25 +00:00
Richard Frith-MacDonald
1a571ad37c a few comparison tests
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36274 72102866-910b-0410-8b05-ffd578937521
2013-03-05 13:42:37 +00:00
Richard Frith-MacDonald
825ae282a4 corrected tests to pass on OSX
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36271 72102866-910b-0410-8b05-ffd578937521
2013-03-05 12:14:36 +00:00
Richard Frith-MacDonald
5c8261644a new test by Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36270 72102866-910b-0410-8b05-ffd578937521
2013-03-05 11:51:14 +00:00
Richard Frith-MacDonald
d8922655c1 Error handling tweaks based on code/ideas by Sergey Golovin
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35266 72102866-910b-0410-8b05-ffd578937521
2012-07-08 15:50:58 +00:00
Richard Frith-MacDonald
4296dba91e redo commit for minor bugfix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34872 72102866-910b-0410-8b05-ffd578937521
2012-03-03 09:19:41 +00:00
Richard Frith-MacDonald
cbf54ac301 Add a few OSX compatibility methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33929 72102866-910b-0410-8b05-ffd578937521
2011-10-02 11:17:49 +00:00
Fred Kiefer
6dfb591252 Remove warnings generated by tests.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33686 72102866-910b-0410-8b05-ffd578937521
2011-08-03 08:41:26 +00:00
Richard Frith-MacDonald
d3c38af54b Apply patch for bug #32899
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32794 72102866-910b-0410-8b05-ffd578937521
2011-04-07 05:09:08 +00:00
Richard Frith-MacDonald
e6dc5a58b6 Important change to the START_SET and END_SET macros to stop their use
being confusing.  They now both take a simple C-string argument which
names the set, and the macros check that each end matches a start of
the same name.  Since tis means that a START_SET no longer takes an
argument sayng whether or notthe set is to be skipped, we now have a
SKIP macro to be used inside a set to skip to the end of it.  This
is actually more versatile as we can have multiple SKIP macros in the
same set, each providing a different reason for the set being skipped.
Also removed a few obsolete/unused functions and macros.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32355 72102866-910b-0410-8b05-ffd578937521
2011-02-24 16:26:01 +00:00
Richard Frith-MacDonald
9f593f6b8e Add TestInfo markers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32335 72102866-910b-0410-8b05-ffd578937521
2011-02-23 18:34:39 +00:00
Richard Frith-MacDonald
0e02133729 import testsuite
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32187 72102866-910b-0410-8b05-ffd578937521
2011-02-16 08:21:17 +00:00