rfm
0138c51065
Memory management nad documentation fixes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35584 72102866-910b-0410-8b05-ffd578937521
2012-09-21 10:27:05 +00:00
thebeing
6891e5699d
More timsort bugfixes (seems to work much better now)
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35583 72102866-910b-0410-8b05-ffd578937521
2012-09-20 18:54:15 +00:00
thebeing
1cc86b3e67
Fix bugs in the timsort implementation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35582 72102866-910b-0410-8b05-ffd578937521
2012-09-20 14:29:16 +00:00
rfm
d3dfb39dc9
fix quicksort implementation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35580 72102866-910b-0410-8b05-ffd578937521
2012-09-20 10:19:18 +00:00
rfm
31634bffde
Changes to restore sorting functiionality
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35579 72102866-910b-0410-8b05-ffd578937521
2012-09-20 09:32:00 +00:00
rfm
7c94635f24
fix goto's breaking exception handler
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35575 72102866-910b-0410-8b05-ffd578937521
2012-09-19 16:40:22 +00:00
rfm
8ec0deff44
formatting/coding style fixups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35574 72102866-910b-0410-8b05-ffd578937521
2012-09-19 14:20:01 +00:00
thebeing
b9b63476ef
Completely overhaul how we do sorting in -base. GSSorting.h now defines an
...
interface that can be used for all sorting tasks in the library. The actual sort
algorithms to use are now plugable. Timsort is the new default sorting
algorithm, the existing algorithms, shellsort and quicksort, can still be
selected using a configure switch.
Also implement the new NSComparator (blocks) based sorting and insertion index
searching methods for NSMutableArray and NSArray.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35573 72102866-910b-0410-8b05-ffd578937521
2012-09-19 13:31:09 +00:00
gcasa
9407f87dea
* Headers/Foundation/Foundation.h
...
* Headers/Foundation/NSScriptWhoseTests.h
* Source/GNUmakefile
* Source/NSObject+NSComparisonMethods.m: Move the
comparison methods to the header for NSScriptWhoseTests.h,
but don't define the abstract class since we don't support
Apple script.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35570 72102866-910b-0410-8b05-ffd578937521
2012-09-17 16:05:06 +00:00
rfm
adc4c8d5e6
add support for data:,xxx style URL
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35568 72102866-910b-0410-8b05-ffd578937521
2012-09-16 07:39:18 +00:00
rfm
7302652db0
fix json quoting by copying from webservices library
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35559 72102866-910b-0410-8b05-ffd578937521
2012-09-10 13:18:29 +00:00
rfm
2a32245d60
improve serialisation of booleans
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35557 72102866-910b-0410-8b05-ffd578937521
2012-09-10 10:27:59 +00:00
rfm
ab65e628d3
OSX compatibility tweaks inspiered by testplant
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35555 72102866-910b-0410-8b05-ffd578937521
2012-09-10 05:18:09 +00:00
stoyan
5c55a3f1bd
Fox conflict again
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35550 72102866-910b-0410-8b05-ffd578937521
2012-09-09 21:37:08 +00:00
stoyan
9124f98bec
Fix conflict
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35549 72102866-910b-0410-8b05-ffd578937521
2012-09-09 21:33:27 +00:00
stoyan
064c5554f2
Create directories only if it doesn't exist.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35548 72102866-910b-0410-8b05-ffd578937521
2012-09-09 21:29:38 +00:00
wlux
546d35a421
Add missing variable declaration on big-endian systems.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35543 72102866-910b-0410-8b05-ffd578937521
2012-09-09 10:04:22 +00:00
rfm
653076acd4
quadword number fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35538 72102866-910b-0410-8b05-ffd578937521
2012-09-07 08:21:23 +00:00
rfm
36312c2475
forgot about turning off whitespace in plist element
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35534 72102866-910b-0410-8b05-ffd578937521
2012-09-06 15:06:12 +00:00
rfm
c9a3cb53bf
tweak xml parsing to not ignore white space
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35533 72102866-910b-0410-8b05-ffd578937521
2012-09-06 12:58:25 +00:00
rfm
b9bcf33a8d
OSX compatibility fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35532 72102866-910b-0410-8b05-ffd578937521
2012-09-05 08:42:21 +00:00
fredkiefer
0fea583bc5
Add new CDATA XML test case based on code by John Duff <nico.bin@hotmail.fr>
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35528 72102866-910b-0410-8b05-ffd578937521
2012-09-04 21:29:11 +00:00
rfm
0623c0c0c2
simplification, including use of strtoull() everywhere
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35503 72102866-910b-0410-8b05-ffd578937521
2012-09-03 13:36:45 +00:00
thebeing
a553252cc9
Tweak ICU detection a little.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35500 72102866-910b-0410-8b05-ffd578937521
2012-09-03 12:58:48 +00:00
thebeing
9de880e86c
Let us run configure successfully on platforms that ship ICU, but not the
...
icu-config script.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35487 72102866-910b-0410-8b05-ffd578937521
2012-09-01 19:24:54 +00:00
rfm
4bea97360f
fixes to conform to coding style
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35477 72102866-910b-0410-8b05-ffd578937521
2012-08-29 08:54:46 +00:00
rfm
bdec3a0c48
fix bug appending path to empty string on windows
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35462 72102866-910b-0410-8b05-ffd578937521
2012-08-27 10:26:31 +00:00
rfm
d4e6a1d1fd
fix typecast
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35458 72102866-910b-0410-8b05-ffd578937521
2012-08-27 09:26:00 +00:00
thebeing
a99a5163fd
Compatibility improvements for QNX.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35451 72102866-910b-0410-8b05-ffd578937521
2012-08-26 08:55:49 +00:00
thebeing
1e852b259e
Add support for logging to the QNX slog via NSLog().
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35450 72102866-910b-0410-8b05-ffd578937521
2012-08-25 23:55:51 +00:00
thebeing
d86ea96c56
Make the configure script behave more friendly when cross-compiling.
...
It now no longer unhelpfully fails because it cannot run foreign
binaries during the configuration phase. Instead, the configuration
values necessary are read from cross.config in this case. (This just
codifies present defaults and adds sensible ones where they were still
missing). Alternative files can be specified using the
`--with-cross-compilation-info=' switch.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35449 72102866-910b-0410-8b05-ffd578937521
2012-08-25 21:44:02 +00:00
theraven
785044ffb2
Conditionally compile profiling / debugging code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35448 72102866-910b-0410-8b05-ffd578937521
2012-08-25 14:01:56 +00:00
theraven
dceedfb915
Fix the build on platforms without tiny string support.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35447 72102866-910b-0410-8b05-ffd578937521
2012-08-25 12:31:41 +00:00
theraven
ccaefa05e8
Use tiny strings in a few more places.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35446 72102866-910b-0410-8b05-ffd578937521
2012-08-25 12:15:11 +00:00
theraven
f2c68c13e4
Define macros to expose things in C headers that we need (e.g. INTPTR_MAX) that aren't exposed by default when compiling Objective-C++.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35433 72102866-910b-0410-8b05-ffd578937521
2012-08-20 15:51:30 +00:00
thebeing
d10498bd01
Changes to support clang's __attribute__((objc_root_class)).
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35412 72102866-910b-0410-8b05-ffd578937521
2012-08-16 12:31:16 +00:00
rfm
218132903e
simplify directory creation code
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35400 72102866-910b-0410-8b05-ffd578937521
2012-08-13 11:07:02 +00:00
rfm
78206d0b38
property list deserialisation tweaks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35395 72102866-910b-0410-8b05-ffd578937521
2012-08-10 19:09:44 +00:00
rfm
96a43795ee
check for failure to create temporary directory
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35394 72102866-910b-0410-8b05-ffd578937521
2012-08-10 15:56:45 +00:00
rfm
982982f631
temporary directory improvement
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35393 72102866-910b-0410-8b05-ffd578937521
2012-08-10 14:31:28 +00:00
rfm
dc55974ec8
fix for bug #35672
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35392 72102866-910b-0410-8b05-ffd578937521
2012-08-10 09:25:38 +00:00
rfm
447db36958
preparation for osx compatibility fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35390 72102866-910b-0410-8b05-ffd578937521
2012-08-10 08:36:09 +00:00
rfm
133bdaea80
Another use of tolower() found and removed ... retain tolower() when the
...
internal 8bit encoding in not latin1 and uni_tolower() is therefore not
usable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35386 72102866-910b-0410-8b05-ffd578937521
2012-08-09 18:57:20 +00:00
rfm
c280ce26b5
fix bogus NSError generation when deserialising some property lists
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35382 72102866-910b-0410-8b05-ffd578937521
2012-08-09 12:58:01 +00:00
rfm
a27fc66267
Rewrite version/availaibility constant code
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35380 72102866-910b-0410-8b05-ffd578937521
2012-08-09 08:48:54 +00:00
rmottola
79bc10d5ea
Add macro detection for MacOS version 10.1 to 10.6 and make GS_API_LATEST the last in priority.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35365 72102866-910b-0410-8b05-ffd578937521
2012-08-08 21:58:29 +00:00
rfm
e0c4edf62b
simplify case conversion options
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35364 72102866-910b-0410-8b05-ffd578937521
2012-08-08 16:54:08 +00:00
rfm
cbc74f3800
fix bad return inside exception block.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35363 72102866-910b-0410-8b05-ffd578937521
2012-08-08 15:10:13 +00:00
rfm
c767e8a8d3
literal string handling improvments.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35359 72102866-910b-0410-8b05-ffd578937521
2012-08-08 09:46:08 +00:00
rfm
23f70314d9
selector comparison fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35336 72102866-910b-0410-8b05-ffd578937521
2012-08-02 09:27:59 +00:00