wlux
42ffcb55bf
Introduce NSRegularExpression support for libicu versions prior to 4.4,
...
which don't provide the UText interface to regular expressions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34345 72102866-910b-0410-8b05-ffd578937521
2011-12-22 12:52:56 +00:00
wlux
4c75f12273
Fix an uninitialized variable bug, which was introduced by a careless
...
change while adding IPv6 support and would have the +port method of
NSSocketPort randomly return invalid ports.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34343 72102866-910b-0410-8b05-ffd578937521
2011-12-22 08:30:39 +00:00
rmottola
dddfc5fa7b
Fix blocking compiler warning (ggc 4.5.3)
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34327 72102866-910b-0410-8b05-ffd578937521
2011-12-19 23:04:04 +00:00
fredkiefer
233003cff2
* Source/NSPortCoder.m (-versionForClassName:): Use NSInteger for
...
version to avoid compiler warning on 64-bit system.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34308 72102866-910b-0410-8b05-ffd578937521
2011-12-17 14:05:25 +00:00
rfm
13e98151ab
Try to ensure new defaults files are created as needed.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34307 72102866-910b-0410-8b05-ffd578937521
2011-12-17 06:32:42 +00:00
rfm
c471992651
fix formatting errors
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34301 72102866-910b-0410-8b05-ffd578937521
2011-12-16 07:28:05 +00:00
rfm
ee3f0b14a0
changes to support alternative header locations
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34290 72102866-910b-0410-8b05-ffd578937521
2011-12-15 09:42:39 +00:00
ericwa
402a06fb2e
* Source/NSFileManager.m:
...
* Headers/Foundation/NSFileManager.h: Add removeItemAtPath:error:
method, as a simple wrapper around removeFileAtPath:handler: with
no handler.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34251 72102866-910b-0410-8b05-ffd578937521
2011-12-06 06:21:33 +00:00
theraven
d24a7d619c
Fix small int -> string conversion on 64-bit.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34229 72102866-910b-0410-8b05-ffd578937521
2011-11-29 18:19:37 +00:00
rfm
e621db5aac
tweak an error message
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34213 72102866-910b-0410-8b05-ffd578937521
2011-11-24 14:46:06 +00:00
rfm
76a74fd7ae
Rewrite to store defaults in multiple files (one per persistent domain).
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34201 72102866-910b-0410-8b05-ffd578937521
2011-11-21 11:24:26 +00:00
rfm
3415a59abe
fix errors in BOM handling
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34187 72102866-910b-0410-8b05-ffd578937521
2011-11-18 05:19:50 +00:00
rfm
fc8d1c8260
get base to compile again, and improve readability/consistency
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34184 72102866-910b-0410-8b05-ffd578937521
2011-11-17 06:11:36 +00:00
theraven
6a299cb671
Store tiny strings (up to 8 ASCII characters) inside the pointer. Strings of
...
this length are fairly common, and this makes them very cheap to store / copy /
compare (pointer comparisons test for equality). 8 characters seems to be
enough for quite a lot of common uses, such as path components and tokens.
There are possibly still some things constructing tiny strings and not using
these.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34181 72102866-910b-0410-8b05-ffd578937521
2011-11-16 20:48:50 +00:00
theraven
8d00177934
Implement the double boxing techniques used by Smalltalk/X and Cincom Smalltalk. Now we can conceal most doubles inside a pointer. This is most useful for LanguageKit, but should save some memory / malloc overhead / heap fragmentation in any code that uses a lot of NSNumbers (e.g. anything that deals with big plists). OS X 10.7 employs a similar trick.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34179 72102866-910b-0410-8b05-ffd578937521
2011-11-16 17:29:15 +00:00
fedor
1178aa0db0
Fix include location
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34173 72102866-910b-0410-8b05-ffd578937521
2011-11-15 16:17:47 +00:00
rfm
059d6435c3
deal with old FIXME about creating library path
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34169 72102866-910b-0410-8b05-ffd578937521
2011-11-14 10:01:24 +00:00
rfm
b2b57f1610
fix missing return
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34137 72102866-910b-0410-8b05-ffd578937521
2011-11-09 13:46:45 +00:00
fredkiefer
4856432f9b
* Source/NSValueTransformer.m
...
([NSUnarchiveFromDataTransformer-reverseTransformedValue],
[NSUnarchiveFromDataTransformer-transformedValue]): Use
archiver instead of keyed archiver.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34131 72102866-910b-0410-8b05-ffd578937521
2011-11-07 15:28:30 +00:00
rfm
cf33bdf2e6
tweak length check in last change to ignore line breaks and bad characters
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34129 72102866-910b-0410-8b05-ffd578937521
2011-11-07 09:01:26 +00:00
rfm
c28138f3fa
make base64 decoding more tolerant.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34128 72102866-910b-0410-8b05-ffd578937521
2011-11-07 08:15:00 +00:00
rfm
26f7e4b33d
SX compatibility tweak ... allow nil arg for -timeIntervalSinceDate:
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34117 72102866-910b-0410-8b05-ffd578937521
2011-11-04 10:38:16 +00:00
rfm
19d0014c7c
retry after interrupts
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34111 72102866-910b-0410-8b05-ffd578937521
2011-11-02 17:19:37 +00:00
rfm
40eb0f82fa
fix typo
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34110 72102866-910b-0410-8b05-ffd578937521
2011-11-02 16:40:44 +00:00
rfm
c46da8eb3f
tweaks for 64bit sparc
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34109 72102866-910b-0410-8b05-ffd578937521
2011-11-02 16:39:39 +00:00
rfm
5d7701c466
fix alignment error
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34108 72102866-910b-0410-8b05-ffd578937521
2011-11-02 15:46:02 +00:00
rfm
0575536e78
Literal string equality tests ... implement another optimisation, plus one
...
spotted by Fred, plus a fix for another bug spotted by Fred!
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34102 72102866-910b-0410-8b05-ffd578937521
2011-11-01 11:43:40 +00:00
rfm
27807e706c
improve literal string optimisation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34101 72102866-910b-0410-8b05-ffd578937521
2011-11-01 09:43:25 +00:00
rfm
84d3190d31
fix bug spotted by fred
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34094 72102866-910b-0410-8b05-ffd578937521
2011-10-31 10:00:29 +00:00
rfm
84a297282f
Implement optimisations suggested by Fred's vcachegrind profiling.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34093 72102866-910b-0410-8b05-ffd578937521
2011-10-31 08:12:26 +00:00
fredkiefer
e3594c5773
* Source/GSeq.h: Replace unsigned with NSUInteger.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34088 72102866-910b-0410-8b05-ffd578937521
2011-10-29 16:48:55 +00:00
rfm
a86fa6f9b9
fix failure to terminate loop properly
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34085 72102866-910b-0410-8b05-ffd578937521
2011-10-28 18:17:36 +00:00
rfm
22289342b4
tweak for more efficient string handling
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34084 72102866-910b-0410-8b05-ffd578937521
2011-10-28 15:02:46 +00:00
rfm
a220e9bdf0
clean up comments a little
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34083 72102866-910b-0410-8b05-ffd578937521
2011-10-28 14:31:46 +00:00
rfm
b374bdb3c9
tweak last optimisation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34082 72102866-910b-0410-8b05-ffd578937521
2011-10-28 14:30:47 +00:00
rfm
a4c7e88a11
fix error replacing strings in a string, and optimise literal strings a bit
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34081 72102866-910b-0410-8b05-ffd578937521
2011-10-28 14:25:17 +00:00
rfm
1c0ad8aa26
Tweaks to avoid compiler warnings
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34054 72102866-910b-0410-8b05-ffd578937521
2011-10-25 08:02:38 +00:00
fredkiefer
32cd99926f
Imporve keyed decoding.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34049 72102866-910b-0410-8b05-ffd578937521
2011-10-24 14:33:30 +00:00
fredkiefer
6a54c84a72
* Source/NSProcessInfo.m: Add includes needed for the HAVE_PROCFS
...
case.
* Source/common.h: Correct last commit, the #endif was placed
incorrectly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34041 72102866-910b-0410-8b05-ffd578937521
2011-10-22 13:59:05 +00:00
rfm
51d3096c8b
another attempted workaround for __block issue
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34036 72102866-910b-0410-8b05-ffd578937521
2011-10-20 09:52:01 +00:00
rfm
ba1232afff
clean up and comment last fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34033 72102866-910b-0410-8b05-ffd578937521
2011-10-20 07:09:57 +00:00
rfm
142034664f
quick hack for bug 34603
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34032 72102866-910b-0410-8b05-ffd578937521
2011-10-19 21:38:52 +00:00
rfm
2934175c27
fixes for gnutls detection and objc library detection
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34030 72102866-910b-0410-8b05-ffd578937521
2011-10-19 16:53:39 +00:00
rfm
a8ce28dd9f
tidyup private api
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34029 72102866-910b-0410-8b05-ffd578937521
2011-10-19 15:25:38 +00:00
rfm
d074288f00
fix for failure to load global defaults
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34026 72102866-910b-0410-8b05-ffd578937521
2011-10-19 13:32:50 +00:00
rfm
62e4aa75b9
Hide user resources in .GNUstep for standalone packages
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34019 72102866-910b-0410-8b05-ffd578937521
2011-10-18 05:56:03 +00:00
rfm
eca1f5a0f2
documentation cleanups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34015 72102866-910b-0410-8b05-ffd578937521
2011-10-17 10:59:02 +00:00
qmathe
c7693fb2ba
Fixed NSXMLNode compilation when using the "pure" non-fragile ABI
...
(--disable-mixedabi was passed to Base configure).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34013 72102866-910b-0410-8b05-ffd578937521
2011-10-17 10:24:07 +00:00
rfm
c7392120d2
Allow bare "." as path name, but fix template to use "./"
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34012 72102866-910b-0410-8b05-ffd578937521
2011-10-17 09:10:18 +00:00
fredkiefer
eb3657cd58
* Source/NSString.m (-initWithCoder:): In keyed coding the key
...
"NS.bytes" may contain either an NSData or an NSString object.
Not sure about the encoding, I am using UTF8.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34010 72102866-910b-0410-8b05-ffd578937521
2011-10-17 08:28:38 +00:00