Commit graph

8640 commits

Author SHA1 Message Date
rfm
f375250f01 cleanup for next reelease
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32385 72102866-910b-0410-8b05-ffd578937521
2011-02-27 09:08:59 +00:00
rfm
ba31196455 fixup ugly coding stype to improve maintainability
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32384 72102866-910b-0410-8b05-ffd578937521
2011-02-26 21:42:20 +00:00
rfm
e0706bed39 fix missing target
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32383 72102866-910b-0410-8b05-ffd578937521
2011-02-26 21:37:16 +00:00
theraven
ec12649068 Actually fix C99isms.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32382 72102866-910b-0410-8b05-ffd578937521
2011-02-26 19:25:15 +00:00
theraven
9234b0af72 Fixed C99ism.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32381 72102866-910b-0410-8b05-ffd578937521
2011-02-26 19:23:26 +00:00
theraven
b718e8bdd4 Make blocks conform to NSCopying.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32377 72102866-910b-0410-8b05-ffd578937521
2011-02-26 13:40:06 +00:00
theraven
fc0c897900 Move method declarations on blocks from EtoileFoundation into GNUstep.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32376 72102866-910b-0410-8b05-ffd578937521
2011-02-26 13:10:49 +00:00
rfm
9a93ff4ceb double comparison fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32375 72102866-910b-0410-8b05-ffd578937521
2011-02-26 06:29:57 +00:00
rfm
2258d6c8b7 more numeric comparisn checks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32374 72102866-910b-0410-8b05-ffd578937521
2011-02-26 06:03:43 +00:00
rfm
2eab3a6acd a couple more tests
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32373 72102866-910b-0410-8b05-ffd578937521
2011-02-26 05:42:36 +00:00
stefanbidi
e25cf16b52 Fix a test.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32372 72102866-910b-0410-8b05-ffd578937521
2011-02-25 22:09:20 +00:00
stefanbidi
4f916fe251 Added a few more tests to test NSNumberFormatter behavior.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32371 72102866-910b-0410-8b05-ffd578937521
2011-02-25 21:41:03 +00:00
rfm
ff9501a9ca fix bad string constants
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32370 72102866-910b-0410-8b05-ffd578937521
2011-02-25 19:41:38 +00:00
rfm
4e26996946 run testsuite from top level makefile
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32366 72102866-910b-0410-8b05-ffd578937521
2011-02-25 10:31:34 +00:00
rfm
b89ac00fb7 make it easier to run testsuite
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32365 72102866-910b-0410-8b05-ffd578937521
2011-02-25 10:31:17 +00:00
rfm
7c21a3eb0a Added tests with more numeric types
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32362 72102866-910b-0410-8b05-ffd578937521
2011-02-25 00:41:34 +00:00
rfm
d207e1b7ae fix error in float comparison
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32361 72102866-910b-0410-8b05-ffd578937521
2011-02-25 00:25:43 +00:00
rfm
ec66860a07 fix NaN tests
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32360 72102866-910b-0410-8b05-ffd578937521
2011-02-25 00:16:19 +00:00
rfm
94be544785 corrected NSNumber tests
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32359 72102866-910b-0410-8b05-ffd578937521
2011-02-25 00:11:35 +00:00
rmottola
96c2fad307 some NaN and zero number checks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32358 72102866-910b-0410-8b05-ffd578937521
2011-02-24 21:51:37 +00:00
rmottola
a89b92b79e some NaN and zero number checks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32357 72102866-910b-0410-8b05-ffd578937521
2011-02-24 21:51:26 +00:00
rfm
bccd43c597 Fixup bad function calls.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32356 72102866-910b-0410-8b05-ffd578937521
2011-02-24 18:53:31 +00:00
rfm
3fba03ba55 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
theraven
a7d0854736 Add inline specifier to __objc_dynamic_get_symbol_path() to silence unused function warning.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32345 72102866-910b-0410-8b05-ffd578937521
2011-02-24 13:11:47 +00:00
thebeing
209cee49f5 Fix typos.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32344 72102866-910b-0410-8b05-ffd578937521
2011-02-24 12:34:21 +00:00
theraven
bb271d0efd Move the Testing.h include out of the #ifdef so the unsupported() call works.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32343 72102866-910b-0410-8b05-ffd578937521
2011-02-24 12:11:11 +00:00
theraven
e4ddd5a810 Skip GSXML test if GS_USE_LIBXML is not defined. Saves the test from crashing with a linker error
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32342 72102866-910b-0410-8b05-ffd578937521
2011-02-24 12:09:11 +00:00
theraven
b905a54e80 Silence some warnings in the test.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32341 72102866-910b-0410-8b05-ffd578937521
2011-02-23 23:49:08 +00:00
theraven
fb1c8c23b7 Added test for properties.
Richard: I've probably put this in a slightly silly place - feel free to move it.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32340 72102866-910b-0410-8b05-ffd578937521
2011-02-23 23:00:56 +00:00
theraven
e721305e57 Made the last test a hope - it definitely fails with old versions of the GCC runtime.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32338 72102866-910b-0410-8b05-ffd578937521
2011-02-23 18:42:15 +00:00
theraven
b9d8149ea2 Added test that the runtime allows us to throw instances of objects that have not been properly initialised.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32337 72102866-910b-0410-8b05-ffd578937521
2011-02-23 18:39:26 +00:00
rfm
bfc4cd5b35 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
theraven
c461a9914b Added tests for ensuring that blocks work as NSObject subclasses. I'm not sure if GNUstep Make is correctly adding -fblocks yet - if it isn't, you can run the test with:
CC=clang ADDITIONAL_OBJCFLAGS='-fblocks' gnustep-tests NSBlock

(I have -make configured to use GCC, and just override this explicitly when building, because doing it the other way around breaks building with GCC)



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32333 72102866-910b-0410-8b05-ffd578937521
2011-02-23 18:27:49 +00:00
rfm
40a8c57b42 Locale fix provided by Philippe Roussel
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32330 72102866-910b-0410-8b05-ffd578937521
2011-02-23 16:03:52 +00:00
rfm
f4a4b31710 Path standardisation tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32328 72102866-910b-0410-8b05-ffd578937521
2011-02-23 14:59:06 +00:00
rfm
9b052fef23 Fix tests tobe hopes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32326 72102866-910b-0410-8b05-ffd578937521
2011-02-23 12:32:20 +00:00
theraven
5e909e6d5f Added some tests that check that the runtime is doing the right thing with root
classes and metaclasses (or, at least, the same thing that the NeXT runtime does).



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32325 72102866-910b-0410-8b05-ffd578937521
2011-02-23 12:23:00 +00:00
rfm
c0674078c9 OSX compat tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32323 72102866-910b-0410-8b05-ffd578937521
2011-02-23 11:52:17 +00:00
rfm
e3a0b4cab8 morge tests into single file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32322 72102866-910b-0410-8b05-ffd578937521
2011-02-23 09:51:32 +00:00
rfm
b30421e987 osx compat tweak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32321 72102866-910b-0410-8b05-ffd578937521
2011-02-23 09:40:57 +00:00
rfm
a8fccb8c21 tweak tio pass in osx
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32320 72102866-910b-0410-8b05-ffd578937521
2011-02-23 09:38:56 +00:00
rfm
868e64175f tweak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32319 72102866-910b-0410-8b05-ffd578937521
2011-02-23 09:32:38 +00:00
rfm
6f27c3f23d fix include file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32318 72102866-910b-0410-8b05-ffd578937521
2011-02-23 09:26:56 +00:00
rfm
0bd579f239 Improve reliability
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32316 72102866-910b-0410-8b05-ffd578937521
2011-02-23 08:56:25 +00:00
rfm
8c682f533a add missing headers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32315 72102866-910b-0410-8b05-ffd578937521
2011-02-23 08:18:42 +00:00
rfm
f406e096dc Make locking checks more robust
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32314 72102866-910b-0410-8b05-ffd578937521
2011-02-23 08:08:22 +00:00
rfm
426b7a09a1 break for deadlock
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32312 72102866-910b-0410-8b05-ffd578937521
2011-02-23 07:53:20 +00:00
rfm
5f3b9ae92c fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32310 72102866-910b-0410-8b05-ffd578937521
2011-02-23 07:44:11 +00:00
rfm
96b3bdf4b2 fix for constant string case changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32309 72102866-910b-0410-8b05-ffd578937521
2011-02-23 07:25:12 +00:00
rfm
9c9bb06fb4 Move NSAffineTransform tests to base
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32308 72102866-910b-0410-8b05-ffd578937521
2011-02-22 23:08:59 +00:00