rfm
901b7b6975
Don't build synchronisation.m ... I don't think we need it any more.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29673 72102866-910b-0410-8b05-ffd578937521
2010-02-19 15:30:27 +00:00
rfm
2663321b83
Avoid failure with older complilers
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29672 72102866-910b-0410-8b05-ffd578937521
2010-02-19 15:15:24 +00:00
rfm
f30057c85f
More include tweaks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29671 72102866-910b-0410-8b05-ffd578937521
2010-02-19 14:21:02 +00:00
rfm
97e7df0ac3
Attempt to link in ObjC2 compatibility code if we have an older runtime.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29670 72102866-910b-0410-8b05-ffd578937521
2010-02-19 12:51:02 +00:00
rfm
d605c6f7b5
Simplify header inclusion
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29669 72102866-910b-0410-8b05-ffd578937521
2010-02-19 08:12:46 +00:00
rfm
4d95ad4f42
avoid obsolete include
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29667 72102866-910b-0410-8b05-ffd578937521
2010-02-18 16:27:32 +00:00
rfm
47810e15de
move a bit more stuff into additions
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29666 72102866-910b-0410-8b05-ffd578937521
2010-02-18 16:18:54 +00:00
rfm
3297d9f4c9
Thread safety for openssl
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29664 72102866-910b-0410-8b05-ffd578937521
2010-02-18 13:10:17 +00:00
rfm
5f3f4452c2
Backward compatibility fixups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29663 72102866-910b-0410-8b05-ffd578937521
2010-02-18 11:40:58 +00:00
rfm
e689e6a654
Fix errors spotted by Fred
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29662 72102866-910b-0410-8b05-ffd578937521
2010-02-18 08:45:00 +00:00
rfm
bbcf9bd03e
Update integer limits code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29661 72102866-910b-0410-8b05-ffd578937521
2010-02-18 07:06:42 +00:00
rfm
c45deb3cf8
fix typo
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29660 72102866-910b-0410-8b05-ffd578937521
2010-02-17 22:27:53 +00:00
rfm
0302d8ecbf
fix uninitialised variable
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29659 72102866-910b-0410-8b05-ffd578937521
2010-02-17 14:23:25 +00:00
rfm
31c03da34f
standardise on using c99 limits (define old values to the new ones)
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29658 72102866-910b-0410-8b05-ffd578937521
2010-02-17 12:07:48 +00:00
rfm
9edbe1a4fc
cosmetic tweaks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29657 72102866-910b-0410-8b05-ffd578937521
2010-02-17 11:47:06 +00:00
rfm
031865c190
Attempt to allow documentation to be generated for uninstalled base package.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29655 72102866-910b-0410-8b05-ffd578937521
2010-02-16 19:51:52 +00:00
rfm
303d202588
Patch by Niels Grewe
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29654 72102866-910b-0410-8b05-ffd578937521
2010-02-16 17:34:05 +00:00
rfm
6482477e24
tidy
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29653 72102866-910b-0410-8b05-ffd578937521
2010-02-16 17:17:54 +00:00
rfm
7293e19429
avoid unnecessary requests for signatures to remote process
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29652 72102866-910b-0410-8b05-ffd578937521
2010-02-16 17:08:47 +00:00
wlux
b6c0669529
Fix bug where GSToUnicode attempted to read from a null pointer.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29651 72102866-910b-0410-8b05-ffd578937521
2010-02-16 12:46:50 +00:00
rfm
cad5f56a44
Enable 64bit api changes matching OSX 10.5
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29650 72102866-910b-0410-8b05-ffd578937521
2010-02-15 17:51:07 +00:00
rfm
126b991b12
remove obsolete invocation stuff
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29649 72102866-910b-0410-8b05-ffd578937521
2010-02-15 17:14:12 +00:00
rfm
c31dd73a90
cleanup fast enumeration issues
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29647 72102866-910b-0410-8b05-ffd578937521
2010-02-15 16:56:31 +00:00
rfm
18a15f7c71
fixup headers
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29646 72102866-910b-0410-8b05-ffd578937521
2010-02-15 14:42:00 +00:00
fredkiefer
cc2aa7c169
* Source/NSAttributedString.m: Implement keyed decoding for
...
multiple attributes correctly.
Based on code by Nikolaus Schaller <hns@computer.org>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29645 72102866-910b-0410-8b05-ffd578937521
2010-02-15 13:58:03 +00:00
rfm
c4e1e08185
Rewrite NSNumber code to compile on most systems and to mostly conform to
...
style/coding standards.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29639 72102866-910b-0410-8b05-ffd578937521
2010-02-15 10:58:34 +00:00
rfm
eaacddee56
add missing include
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29637 72102866-910b-0410-8b05-ffd578937521
2010-02-15 09:51:36 +00:00
rfm
1c46da5995
Attempts to cope with new runtime's failure to link without base.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29636 72102866-910b-0410-8b05-ffd578937521
2010-02-15 09:35:20 +00:00
rfm
a958c06c8e
Fix erroneous configure change
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29631 72102866-910b-0410-8b05-ffd578937521
2010-02-14 17:22:47 +00:00
rfm
0f55cc88f3
fix broken includes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29630 72102866-910b-0410-8b05-ffd578937521
2010-02-14 17:14:34 +00:00
rfm
255df37b43
Restore working NSNumber pending fixes to new version to get it to compile
...
and conform to coding standards/style. Should get svn trunk working again.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29629 72102866-910b-0410-8b05-ffd578937521
2010-02-14 16:32:02 +00:00
rfm
92b486d0a5
fix typo
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29628 72102866-910b-0410-8b05-ffd578937521
2010-02-14 16:28:51 +00:00
rfm
138b06b1c0
fixup for old runtime
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29627 72102866-910b-0410-8b05-ffd578937521
2010-02-14 15:47:30 +00:00
rfm
4b92f6a57d
fix missing check for runtime.h
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29626 72102866-910b-0410-8b05-ffd578937521
2010-02-14 15:41:44 +00:00
theraven
e589fcc804
Imported ObjectiveC2 framework.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29625 72102866-910b-0410-8b05-ffd578937521
2010-02-14 15:29:20 +00:00
rfm
c3ccf3b958
more include tweaks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29624 72102866-910b-0410-8b05-ffd578937521
2010-02-14 14:34:25 +00:00
rfm
50a4ac24b7
fixup includes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29623 72102866-910b-0410-8b05-ffd578937521
2010-02-14 14:30:58 +00:00
rfm
6c98925dc2
fixup includes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29622 72102866-910b-0410-8b05-ffd578937521
2010-02-14 14:30:02 +00:00
rfm
92bce08c14
fix include error
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29621 72102866-910b-0410-8b05-ffd578937521
2010-02-14 13:58:13 +00:00
rfm
cc174e1b2e
Avoid accidental include of Foundation.h
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29620 72102866-910b-0410-8b05-ffd578937521
2010-02-14 13:52:29 +00:00
theraven
e486341176
Rewritten NSNumber implementation. This fixes several OS X-compatibility issues:
...
The -pointerValue method now returns the value cast to a pointer, not some random value, as the documentation says it should. This is a change from OpenStep, which said:
> It's an error to send this message to an NSValue that doesn't store a pointer.
The OS X docs now say:
> The receiver's value as a pointer to void. If the receiver was not created to hold a pointer-sized data item, the result is undefined.
This means that any NSNumber created with a word-sized integer should return the same value.
Fixed a number of corner-cases in the compare: implementation caused by incorrect type promotion. The OS X docs say:
> The compare: method follows the standard C rules for type conversion.
The OS X implementation does not do this. We now match Apple's conversion rules bug-for-bug: Every value is stored in the smallest signed type that will hold it, unless there is no unsigned type that can hold it, in which case it is stored in an `unsigned long long`, comparisons between integer and floating point values cast both to a double, comparisons between integer types perform a real comparison (so an unsigned long long is always greater than any negative number, at any precision). The Apple implementation is actually quite sane, it is just completely unrelated to the documentation in any way.
We now use the same range of reusable objects. Note that there is an error in Cocoa Design Patterns in the description of how Apple's implementation works. Do not use this as a reference.
We now return `nil` when an NSNumber is sent an -init message. This is consistent with Apple's implementation but breaks some things in the GNUstep test suite (which RFM said he will fix).
There is a small change in NSValue.h so that the locale parameter is now an `id` not an `NSString*`. This is because, under recent OS X, it may also be an `NSLocale` instance. I am not sure how much GNUstep supports `NSLocale`, but this change shouldn't affect anything.
The new (private) GSNumberTypes.h file lets you define macros that are instantiated with each of the names of primitive C types. These might be useful for simplifying other classes that have -intValue, -floatValue, and so on methods, such as the `NSCell` family.
The old NSConcreteNumberTemplate and NSConcreteNumber stuff has been removed. The code is now a bit more than 10% of the size of the old NSNumber code, and is hopefully maintainable now, so the next change won't require a complete rewrite.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29618 72102866-910b-0410-8b05-ffd578937521
2010-02-14 12:57:44 +00:00
rfm
efab71bc46
minor include fixups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29616 72102866-910b-0410-8b05-ffd578937521
2010-02-14 11:01:08 +00:00
rfm
f13d56d8ec
merge back reorganisation branch
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29615 72102866-910b-0410-8b05-ffd578937521
2010-02-14 10:48:10 +00:00
theraven
d0b66e510d
Made NSAllocateObject() and NSDeallocateObject() use / take id instead of NSObject*. This matches Apple's definition and gets rid of 'assignment / initialization from distinct Objective-C type' warnings when you use NSAllocateObject() to create an instance without an explicit cast.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29611 72102866-910b-0410-8b05-ffd578937521
2010-02-13 17:33:23 +00:00
nicola
62af07dc29
Removed obsolete manual dependency rules in gnustep-base Makefile.postamble
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29563 72102866-910b-0410-8b05-ffd578937521
2010-02-11 22:40:35 +00:00
nicola
f176423554
Do not try including GNUmakefile.local - completely obsolete
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29555 72102866-910b-0410-8b05-ffd578937521
2010-02-11 18:05:16 +00:00
nicola
5f32b1f53d
Preliminary fix for allowing to build libraries in parallel
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29553 72102866-910b-0410-8b05-ffd578937521
2010-02-11 17:50:01 +00:00
gcasa
42287ed4ef
* install.sh: Removed configure.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29545 72102866-910b-0410-8b05-ffd578937521
2010-02-11 12:34:27 +00:00
rmottola
bb50c0a9a2
Move declaration upwards to fix compile error
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29519 72102866-910b-0410-8b05-ffd578937521
2010-02-09 08:08:26 +00:00
rfm
3dce849c75
re-instate cleaned up version of string proxy code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29518 72102866-910b-0410-8b05-ffd578937521
2010-02-09 06:07:10 +00:00