rfm
5ca5ff96ef
further cleanup ... always use -zone method to get an object's zone ...
...
so people can safely write subclasses using different allocation schemes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29847 72102866-910b-0410-8b05-ffd578937521
2010-03-05 09:30:18 +00:00
rfm
ded18f910d
fix behavior safety checks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29846 72102866-910b-0410-8b05-ffd578937521
2010-03-05 08:39:41 +00:00
rfm
0d5498e121
fix error looking up protcol
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29845 72102866-910b-0410-8b05-ffd578937521
2010-03-05 08:11:38 +00:00
rfm
d9373f6bce
tweak protocol stuff
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29842 72102866-910b-0410-8b05-ffd578937521
2010-03-05 05:52:17 +00:00
rfm
b4c1a94377
use objc_getProtocol
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29841 72102866-910b-0410-8b05-ffd578937521
2010-03-05 05:44:39 +00:00
rfm
42e39c0df8
remove obsolete code and update other stuff fro new runtime api
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29840 72102866-910b-0410-8b05-ffd578937521
2010-03-05 05:24:43 +00:00
rfm
f0105597d3
use new runtime api for setter methods
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29838 72102866-910b-0410-8b05-ffd578937521
2010-03-04 17:33:01 +00:00
rfm
63374c948b
zero self after dealloc if we are going to call another method.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29837 72102866-910b-0410-8b05-ffd578937521
2010-03-04 12:24:43 +00:00
rfm
8344b0e616
fix missing line
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29835 72102866-910b-0410-8b05-ffd578937521
2010-03-04 10:31:12 +00:00
rfm
b75949a336
fix errors in last commit
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29831 72102866-910b-0410-8b05-ffd578937521
2010-03-04 09:20:22 +00:00
rfm
781a3e876a
minor tweaks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29830 72102866-910b-0410-8b05-ffd578937521
2010-03-04 08:25:52 +00:00
rfm
cdc8b38bb9
more changes for new runtime
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29828 72102866-910b-0410-8b05-ffd578937521
2010-03-04 08:15:08 +00:00
dpsimons
cb8bfd40eb
fix natural language date parsing with AM/PM; fix to 12-hour time format; skip field widths in date formats
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29825 72102866-910b-0410-8b05-ffd578937521
2010-03-03 19:24:56 +00:00
rfm
9500a92a7e
add -Wdeclaration-after-statement
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29822 72102866-910b-0410-8b05-ffd578937521
2010-03-03 09:56:34 +00:00
rfm
4ef9ec8b86
Improve new runtime api support
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29820 72102866-910b-0410-8b05-ffd578937521
2010-03-03 09:34:06 +00:00
rfm
81804929a2
fix indentation errors
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29816 72102866-910b-0410-8b05-ffd578937521
2010-03-01 15:33:40 +00:00
rfm
df6384cc18
avoid objc_skip_offset()
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29814 72102866-910b-0410-8b05-ffd578937521
2010-03-01 10:34:35 +00:00
rfm
117316de2f
Remove obsolete code
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29813 72102866-910b-0410-8b05-ffd578937521
2010-03-01 08:46:21 +00:00
rfm
10c82d37ca
update argument types for latest api
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29811 72102866-910b-0410-8b05-ffd578937521
2010-03-01 05:43:08 +00:00
theraven
08c1acb850
Added a couple of convenience methods on NSString (OS X 10.5 compatibility).
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29810 72102866-910b-0410-8b05-ffd578937521
2010-02-28 23:37:22 +00:00
rfm
db7e1148aa
Use osx style ivar lookup correctly
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29808 72102866-910b-0410-8b05-ffd578937521
2010-02-28 17:28:42 +00:00
rfm
dc7c82dbee
fix ivar lookup function to look in superclass
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29804 72102866-910b-0410-8b05-ffd578937521
2010-02-28 17:16:21 +00:00
rfm
1c5067a45b
rewrite listing of variable names
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29800 72102866-910b-0410-8b05-ffd578937521
2010-02-28 13:11:02 +00:00
rfm
ef012bbbdf
rewrite GSObjCMethodNames
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29799 72102866-910b-0410-8b05-ffd578937521
2010-02-28 13:07:28 +00:00
rfm
0514ce88c2
Use NSGetSizeAndAlignment
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29798 72102866-910b-0410-8b05-ffd578937521
2010-02-28 11:51:59 +00:00
rfm
aaef3eb394
fix last mod
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29797 72102866-910b-0410-8b05-ffd578937521
2010-02-28 11:39:55 +00:00
rfm
312eb20503
Use objc_sizeOfType()
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29796 72102866-910b-0410-8b05-ffd578937521
2010-02-28 11:37:18 +00:00
rfm
95af1ab7ac
add objc_sizeOfType()
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29795 72102866-910b-0410-8b05-ffd578937521
2010-02-28 11:36:29 +00:00
rfm
9d86214934
update function to new api
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29794 72102866-910b-0410-8b05-ffd578937521
2010-02-28 11:17:49 +00:00
rfm
c01d7213e5
cleanup compatibility header installation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29793 72102866-910b-0410-8b05-ffd578937521
2010-02-28 09:10:16 +00:00
icicle
3375a91946
TG: Backports from libobjc2 regarding @synchronized(class)
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29792 72102866-910b-0410-8b05-ffd578937521
2010-02-28 09:07:43 +00:00
rfm
837d04cc56
backport fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29787 72102866-910b-0410-8b05-ffd578937521
2010-02-27 19:23:58 +00:00
rfm
1a6af09e33
remove a few obsolete, unused methods
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29785 72102866-910b-0410-8b05-ffd578937521
2010-02-27 06:53:43 +00:00
rfm
2801ce66e0
remove bogus consistency check
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29784 72102866-910b-0410-8b05-ffd578937521
2010-02-27 06:33:39 +00:00
rfm
76333c8c37
pply bugfix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29782 72102866-910b-0410-8b05-ffd578937521
2010-02-26 15:07:16 +00:00
rfm
f003fb1175
Fix for isEqual: and NaN comparison
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29781 72102866-910b-0410-8b05-ffd578937521
2010-02-26 11:20:21 +00:00
rfm
85191c6fc9
inon-fragile ivar update
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29780 72102866-910b-0410-8b05-ffd578937521
2010-02-26 11:04:14 +00:00
rfm
837c59689b
improve instance variable hiding
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29779 72102866-910b-0410-8b05-ffd578937521
2010-02-26 10:25:35 +00:00
rfm
3cb9f2549b
replace deprecated method
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29777 72102866-910b-0410-8b05-ffd578937521
2010-02-26 09:05:57 +00:00
rfm
dd27d2ede3
tweaks for osx
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29776 72102866-910b-0410-8b05-ffd578937521
2010-02-26 09:03:46 +00:00
rfm
50980012ec
more missing includes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29775 72102866-910b-0410-8b05-ffd578937521
2010-02-26 08:56:26 +00:00
rfm
d6ded208d4
Add missing import
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29774 72102866-910b-0410-8b05-ffd578937521
2010-02-26 08:46:28 +00:00
rfm
95b3c70a82
add missing include
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29773 72102866-910b-0410-8b05-ffd578937521
2010-02-26 08:45:17 +00:00
rfm
2d164d446a
add missing include
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29772 72102866-910b-0410-8b05-ffd578937521
2010-02-26 08:43:02 +00:00
rfm
9491c87559
build additions with NO_GNUSTEP=1
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29771 72102866-910b-0410-8b05-ffd578937521
2010-02-26 08:39:47 +00:00
rfm
2de66f9c28
fix retain/release errors
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29770 72102866-910b-0410-8b05-ffd578937521
2010-02-26 06:53:47 +00:00
rfm
4bd2606d7d
fix bad arg name
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29769 72102866-910b-0410-8b05-ffd578937521
2010-02-26 05:43:44 +00:00
rfm
14e8355922
revert last change
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29767 72102866-910b-0410-8b05-ffd578937521
2010-02-26 05:05:54 +00:00
rfm
e64a3fb27a
tidie
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29766 72102866-910b-0410-8b05-ffd578937521
2010-02-26 05:04:43 +00:00
rfm
e8d0a967bc
Cope with null selector/name
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29765 72102866-910b-0410-8b05-ffd578937521
2010-02-26 04:58:16 +00:00
rfm
8e54e9ebd7
GSSelectorFromName() should return 0 if not found
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29761 72102866-910b-0410-8b05-ffd578937521
2010-02-26 04:06:34 +00:00
rfm
2570ac3c91
include alloca.h
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29755 72102866-910b-0410-8b05-ffd578937521
2010-02-25 19:05:21 +00:00
rfm
7ff4d4c9c7
fixups for libobjc2
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29753 72102866-910b-0410-8b05-ffd578937521
2010-02-25 18:49:31 +00:00
rfm
f366d9d303
fix bounds error
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29749 72102866-910b-0410-8b05-ffd578937521
2010-02-25 18:34:49 +00:00
rfm
e6f53eb77e
fix sign of argument
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29739 72102866-910b-0410-8b05-ffd578937521
2010-02-25 11:00:32 +00:00
rfm
2cc3cb187c
support very recent glibc
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29738 72102866-910b-0410-8b05-ffd578937521
2010-02-25 10:51:10 +00:00
rfm
9fec2dc13d
compatibility and portability fixes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29736 72102866-910b-0410-8b05-ffd578937521
2010-02-25 10:00:48 +00:00
rfm
1373a38edf
Avoid warnings
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29735 72102866-910b-0410-8b05-ffd578937521
2010-02-25 09:24:40 +00:00
rfm
d01d78f64f
make GSMime build on OSX
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29732 72102866-910b-0410-8b05-ffd578937521
2010-02-25 09:05:58 +00:00
rfm
e263f96f16
more header reorganisation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29731 72102866-910b-0410-8b05-ffd578937521
2010-02-25 08:36:34 +00:00
rfm
c3a2504688
Cleanup some deprecated code
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29730 72102866-910b-0410-8b05-ffd578937521
2010-02-25 08:19:52 +00:00
rfm
55b04890c2
fix 64bit error
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29728 72102866-910b-0410-8b05-ffd578937521
2010-02-25 05:30:05 +00:00
rfm
d76c19d487
move GNUstep.h into common.h
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29727 72102866-910b-0410-8b05-ffd578937521
2010-02-25 05:26:57 +00:00
rfm
66cea1ef67
remove use of obsolete define
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29726 72102866-910b-0410-8b05-ffd578937521
2010-02-25 05:09:44 +00:00
rfm
7e1b7e3acd
move a few functions from header to source file
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29725 72102866-910b-0410-8b05-ffd578937521
2010-02-25 05:07:34 +00:00
rfm
48070cb1ca
Build with non-fragile ivars.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29715 72102866-910b-0410-8b05-ffd578937521
2010-02-24 10:23:47 +00:00
rmottola
d26e836e7b
removed c99-ism
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29711 72102866-910b-0410-8b05-ffd578937521
2010-02-23 22:33:05 +00:00
rmottola
14929e86e1
provide gcc-style var-arg macros
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29710 72102866-910b-0410-8b05-ffd578937521
2010-02-23 22:30:12 +00:00
rfm
fd28e5a468
revert last change ... need to modify runtime instead
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29708 72102866-910b-0410-8b05-ffd578937521
2010-02-23 08:45:49 +00:00
rfm
2e78e18be4
fix to build with old gnustep runtime
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29707 72102866-910b-0410-8b05-ffd578937521
2010-02-23 08:05:15 +00:00
fredkiefer
13f6f6a0c1
Small bug fix for NSNumber to prevent memory leaks.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29706 72102866-910b-0410-8b05-ffd578937521
2010-02-22 23:49:33 +00:00
rfm
ca6dc24a7c
remove unnecessary includeswq
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29705 72102866-910b-0410-8b05-ffd578937521
2010-02-22 21:43:45 +00:00
wlux
11282d6db4
When checking whether a word is in the user dictionary, make sure that
...
the word is checked against the current list of ignored words
regardless of whether the user (already) has a set of learned words in
the current language.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29702 72102866-910b-0410-8b05-ffd578937521
2010-02-22 20:09:51 +00:00
wlux
67321868e4
Fix my own recent bug fix to avoid potential null pointer dereferences
...
in GSToUnicode, as that fix could lead to attempts to free() memory on
the stack.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29701 72102866-910b-0410-8b05-ffd578937521
2010-02-22 19:54:24 +00:00
rfm
dd941257f8
Get gnustep runtime specific code to compile ... don't know if it works.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29700 72102866-910b-0410-8b05-ffd578937521
2010-02-22 10:56:07 +00:00
rfm
67c72b4031
fix error in printf format
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29699 72102866-910b-0410-8b05-ffd578937521
2010-02-22 10:48:10 +00:00
rfm
3c1d2307c6
remove unnused code
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29698 72102866-910b-0410-8b05-ffd578937521
2010-02-22 10:34:47 +00:00
rfm
53beb40301
deprecates some gnustep runtime wrappers
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29697 72102866-910b-0410-8b05-ffd578937521
2010-02-22 10:13:20 +00:00
rfm
9d46c5fd18
tidy
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29696 72102866-910b-0410-8b05-ffd578937521
2010-02-21 11:12:17 +00:00
rfm
c754ff1a84
fix bug #28939
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29694 72102866-910b-0410-8b05-ffd578937521
2010-02-21 06:33:24 +00:00
rfm
9189582040
Move includes to NSObjCRuntime.h to match OSX
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29692 72102866-910b-0410-8b05-ffd578937521
2010-02-20 18:32:07 +00:00
rfm
a04215bac4
tweaks to avoid compiler warnings
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29691 72102866-910b-0410-8b05-ffd578937521
2010-02-20 18:05:00 +00:00
rfm
8123799077
make runtime.h available to other code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29684 72102866-910b-0410-8b05-ffd578937521
2010-02-20 06:49:32 +00:00
rfm
47f8eff175
remove useless calls to zone of class
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29677 72102866-910b-0410-8b05-ffd578937521
2010-02-19 19:37:04 +00:00
rfm
0d67ea2cac
Make NSNumber more like OSX ... retain for copy, and return YES/NO as BOOL
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29676 72102866-910b-0410-8b05-ffd578937521
2010-02-19 19:23:03 +00:00
rfm
d6a9545848
make objc2 compatibility code compile on mingw
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29674 72102866-910b-0410-8b05-ffd578937521
2010-02-19 16:33:44 +00:00
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
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
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
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
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
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
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
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
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
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
rfm
4e026f6126
explicit initialise of handler
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29516 72102866-910b-0410-8b05-ffd578937521
2010-02-08 20:33:40 +00:00
rfm
b40f7131a7
remove redundant line and improve comments
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29515 72102866-910b-0410-8b05-ffd578937521
2010-02-08 20:24:12 +00:00
rfm
29b9911e0d
Farious fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29513 72102866-910b-0410-8b05-ffd578937521
2010-02-08 17:52:36 +00:00
jonathanosx
dfdd5d3483
Removed redundant call to _NSFoundationUncaughtExceptionHandler and added else blocks to allow a set uncaught exception handler to NOT exit if capable of recovering.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29511 72102866-910b-0410-8b05-ffd578937521
2010-02-08 17:15:57 +00:00
rfm
1412e70c06
Coimplete operation queue implementation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29508 72102866-910b-0410-8b05-ffd578937521
2010-02-08 10:34:27 +00:00
rfm
caa3898ca2
NSOperationQueue additions
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29495 72102866-910b-0410-8b05-ffd578937521
2010-02-06 17:10:16 +00:00
rfm
ad5c68529b
tweak for OSX compatibility
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29480 72102866-910b-0410-8b05-ffd578937521
2010-02-05 11:41:24 +00:00
rfm
845bfe3c4c
don't try to cleanup on main thread exit
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29478 72102866-910b-0410-8b05-ffd578937521
2010-02-04 18:04:13 +00:00
rfm
64cbdbcbe9
implement and document NSOperation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29476 72102866-910b-0410-8b05-ffd578937521
2010-02-04 16:47:45 +00:00
rfm
a2f2b240b1
Corrected last commit
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29475 72102866-910b-0410-8b05-ffd578937521
2010-02-04 08:15:09 +00:00
rfm
fe8f7460bf
Fixup bad indentation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29473 72102866-910b-0410-8b05-ffd578937521
2010-02-03 22:13:48 +00:00
jonathanosx
d42504f10a
Fix several problems with lockWhenCondition:beforeDate:
...
First -- it needs to use timeIntervalSince1970 to be using the same reference date required for pthread_cond_timedwait
Second -- lockWhenCondition needs to loop because pthread_cond_timedwait can return prior to delay expiring (but with the wrong condition).
Third -- Internally the lock was incorrectly being unlocked on a delayed acquire (and YES return). And was incorrectly being unlocked a second time when the timeout expired.
Also, fixed a problem with tryLockWhenCondition:
By calling lockWhenCondition: it would incorrectly report a deadlock (rather than just return no) when we already have the lock.
All these changes are in line with expected and documented behavior for NSLock.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29472 72102866-910b-0410-8b05-ffd578937521
2010-02-03 21:15:03 +00:00
rfm
b20bb71ccc
use usleep for small intervals
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29469 72102866-910b-0410-8b05-ffd578937521
2010-02-03 09:45:45 +00:00
rfm
612ed04160
windows tweaks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29468 72102866-910b-0410-8b05-ffd578937521
2010-02-03 09:31:59 +00:00
rfm
59114c78f1
exit when main thread exits
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29462 72102866-910b-0410-8b05-ffd578937521
2010-02-02 14:25:58 +00:00
rfm
56f4c389a0
thread termination fixups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29461 72102866-910b-0410-8b05-ffd578937521
2010-02-01 21:08:45 +00:00
fredkiefer
8ec647b44d
Get root index from the binary property list data and use this to return the root object.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29449 72102866-910b-0410-8b05-ffd578937521
2010-01-30 12:47:50 +00:00
theraven
4e837995f6
Made NSString +constantStringClass return the constant string class, rather than whatever configure guessed the constant string class was.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29405 72102866-910b-0410-8b05-ffd578937521
2010-01-25 16:01:10 +00:00
rfm
e0d9b95bba
windows tweak
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29397 72102866-910b-0410-8b05-ffd578937521
2010-01-25 09:58:52 +00:00
rfm
b3a79482e5
Quick hack to try to fix initialisation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29393 72102866-910b-0410-8b05-ffd578937521
2010-01-24 17:54:31 +00:00
rfm
1890339060
Reinstate working symbolic stack trace code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29392 72102866-910b-0410-8b05-ffd578937521
2010-01-24 17:13:03 +00:00
theraven
11b2394a08
Fixed realloc() call.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29391 72102866-910b-0410-8b05-ffd578937521
2010-01-24 16:27:16 +00:00
rfm
6b1daf89b5
the -init method should return nil
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29381 72102866-910b-0410-8b05-ffd578937521
2010-01-24 06:53:49 +00:00
rfm
3ae126279b
Apply patch to switch completely to using pthreads
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29367 72102866-910b-0410-8b05-ffd578937521
2010-01-23 17:00:13 +00:00
rfm
f0aa4a6bf3
reorganise a little avoiding redundant system calls (setpgrp and ioctl TIOCNOTTY
...
are not needed if setsid is used).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29334 72102866-910b-0410-8b05-ffd578937521
2010-01-20 17:17:12 +00:00
rfm
68e92f70ad
remove some duplicate code
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29329 72102866-910b-0410-8b05-ffd578937521
2010-01-20 12:03:37 +00:00
rfm
244258dabd
make sure we remove task from controlling terminal.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29327 72102866-910b-0410-8b05-ffd578937521
2010-01-20 10:27:08 +00:00
qmathe
4c33ef3076
Mac OS X compatibility tweaks for NSFormatter coding and copying.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29268 72102866-910b-0410-8b05-ffd578937521
2010-01-11 22:08:21 +00:00
rfm
acab61a463
Add assertions to trap runtime error
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29263 72102866-910b-0410-8b05-ffd578937521
2010-01-11 13:54:32 +00:00