fredkiefer
0be9584834
Fix last commit as suggested by Frederik <ego@frederikseiffert.de>.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37637 72102866-910b-0410-8b05-ffd578937521
2014-01-26 13:50:26 +00:00
fredkiefer
de456756c0
* Headers/Foundation/NSKeyValueObserving.h,
...
* Source/NSKeyValueObserving.m: Add method
-keyPathsForValuesAffectingValueForKey:.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37636 72102866-910b-0410-8b05-ffd578937521
2014-01-26 13:22:38 +00:00
rfm
eaf6451ed6
patch for bug #41324 by Frederik <ego@frederikseiffert.de>
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37634 72102866-910b-0410-8b05-ffd578937521
2014-01-25 06:58:30 +00:00
rfm
5470bb0efa
fix for issue reported by Mathias Bauer <mathias_bauer@gmx.net>
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37611 72102866-910b-0410-8b05-ffd578937521
2014-01-16 15:15:52 +00:00
rfm
1483924463
leak detection improvements
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37003 72102866-910b-0410-8b05-ffd578937521
2013-08-22 15:44:54 +00:00
rfm
d26640c7ab
tweaks to keep static analyzer happy
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36527 72102866-910b-0410-8b05-ffd578937521
2013-04-14 16:25:27 +00:00
buzzdee
7535869550
* Source/NSKeyValueObserving.m
...
* Source/NSXMLParser.m
char is unsigned on macppc, so don't compare it
against negative values
OK Richard
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36251 72102866-910b-0410-8b05-ffd578937521
2013-03-03 16:11:08 +00:00
rfm
407f20c518
fix for bug #36967
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35326 72102866-910b-0410-8b05-ffd578937521
2012-07-27 19:00:17 +00:00
rfm
e357aab701
crude KVO setter for structs
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35324 72102866-910b-0410-8b05-ffd578937521
2012-07-27 16:48:49 +00:00
rfm
1c8f36b122
Use GSSelectorTypesMatch() for types comparison where we are interested in types
...
but not qualifiers and stack layout information.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35304 72102866-910b-0410-8b05-ffd578937521
2012-07-20 04:43:58 +00:00
theraven
85bb57fd18
Fix a few compiler warnings caused by type mismatches in NSLog statements.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35037 72102866-910b-0410-8b05-ffd578937521
2012-04-06 12:37:11 +00:00
theraven
ceba92a265
Lots of little fixes to make -base compile with -Werror (now builds without warnings).
...
Richard: I'm unsure about three of these, which were fixes in memset() calls in:
- NSConcreteMapTable.m
- NSConcreteHashTable.m
- Additions/NSData+GNUstepBase.m
Please can you check them? I think they are intended to zero the entire object
(rather than the first word), but the lack of comments makes me unsure.
Most changes were just tweaks to variable types. I've also removed some dead code from NSInvocation. This was small group of things that were marked for internal use only, but not actually referenced in the code anywhere.
Other improvements:
- NSArray / NSDictionary fixed up to use the 10.7 (ARC-friendly) prototypes.
- getObjects:andKeys: implemented for NSDictionary (10.5 method)
- NSPointerArray and NSHashTable now properly support weak objects.
- Tests for weak objects in collections.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33621 72102866-910b-0410-8b05-ffd578937521
2011-07-24 13:09:22 +00:00
theraven
2949efeb19
Revert accidentally committed changes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33140 72102866-910b-0410-8b05-ffd578937521
2011-05-27 09:18:57 +00:00
theraven
9c75389ee7
Initial pass at implementing fully Apple-compatible GC. This requires the code to be built with -fobjc-gc or -fobjc-gc-only, and requires a runtime that implements all of the support functions (GNUstep runtime trunk or 1.5 when it's release).
...
Currently, there are a few places where we should be calling NSAllocateCollectable() without NSScannedOption, but are actually calling NSZoneMalloc() unless we're in GC mode. We should not need separate code paths for this anywhere outside NSZone, since NSAllocateCollectable() will work in non-GC mode as well.
A few of the changes should be tweaked slightly so that they do run-time tests. For example, when compiling with -fobjc-gc, we may be linked against non-GC code, which will use -retain and -release but won't use the memory barriers. Supporting this nicely is a lot of effort, and I'm not fully convinced it's a good idea.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33104 72102866-910b-0410-8b05-ffd578937521
2011-05-24 14:43:27 +00:00
rfm
cc2de01684
simplify
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32512 72102866-910b-0410-8b05-ffd578937521
2011-03-09 10:42:16 +00:00
rfm
a949b90b75
KVO tweaks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32443 72102866-910b-0410-8b05-ffd578937521
2011-03-03 17:33:57 +00:00
rfm
ae9543d528
make notification more robust
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32430 72102866-910b-0410-8b05-ffd578937521
2011-03-01 20:39:14 +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
rfm
313cf13c67
Cleanup ... avoid accessing the 'isa' variable directly.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32247 72102866-910b-0410-8b05-ffd578937521
2011-02-20 16:21:43 +00:00
rfm
e11e340ae8
Recommit
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32082 72102866-910b-0410-8b05-ffd578937521
2011-02-11 15:49:41 +00:00
rfm
e679d4e99e
Revert back to working code!
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32072 72102866-910b-0410-8b05-ffd578937521
2011-02-11 13:53:54 +00:00
theraven
b839f8fe27
Added assert in NSKeyValueObserving to suppress analyser warning.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32061 72102866-910b-0410-8b05-ffd578937521
2011-02-11 12:16:39 +00:00
rfm
f3a58fb845
leak fixing
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32035 72102866-910b-0410-8b05-ffd578937521
2011-02-10 12:11:03 +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
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
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
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
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
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
rfm
3e76492092
patch for kvo struct setters by Eric Wasylishen
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28793 72102866-910b-0410-8b05-ffd578937521
2009-10-11 04:57:34 +00:00
rfm
16ce1cd7b3
lrge changes to remove mframe
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28778 72102866-910b-0410-8b05-ffd578937521
2009-10-05 16:00:28 +00:00
rfm
1bf97bc92e
Permit setters to return values.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28295 72102866-910b-0410-8b05-ffd578937521
2009-05-23 06:00:45 +00:00
rfm
a4baaba7c5
more GC updates
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28223 72102866-910b-0410-8b05-ffd578937521
2009-04-16 09:07:13 +00:00
rfm
1549f5b5e7
Implement OSX10.5 NSMapTable API
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28086 72102866-910b-0410-8b05-ffd578937521
2009-03-16 10:54:59 +00:00
rfm
03c8a8fd7d
finalize KV observations
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27639 72102866-910b-0410-8b05-ffd578937521
2009-01-20 11:41:41 +00:00
rfm
9c5d4cd19e
garbage collecting fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27638 72102866-910b-0410-8b05-ffd578937521
2009-01-20 10:15:52 +00:00
rfm
d304d9ee34
garbage collection fixups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27578 72102866-910b-0410-8b05-ffd578937521
2009-01-12 12:48:46 +00:00
fredkiefer
d8f4ad6610
Only output a NSDebugLLog() not an NSLog() when the class has no
...
setter for the key.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27525 72102866-910b-0410-8b05-ffd578937521
2009-01-05 19:21:34 +00:00
rfm
e0711a3b8d
allow developers more time to adapt to LGPLv3
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26606 72102866-910b-0410-8b05-ffd578937521
2008-06-08 10:38:33 +00:00
rfm
cadb5df03b
Rewrite for MacOS-X compatibility fixes and enhancements plus some bugfixes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26181 72102866-910b-0410-8b05-ffd578937521
2008-03-03 12:04:37 +00:00
rfm
04784aa57f
Fix error in warning logs
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26171 72102866-910b-0410-8b05-ffd578937521
2008-03-02 09:22:25 +00:00
rfm
04d03bff35
Avoid calling depreceted methods just because KVO has overridden them.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26170 72102866-910b-0410-8b05-ffd578937521
2008-03-02 08:23:51 +00:00
rfm
d429949533
Fix bad declaration
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26148 72102866-910b-0410-8b05-ffd578937521
2008-02-26 17:13:52 +00:00
rfm
e78c063788
Avoid some unnecessary work.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26122 72102866-910b-0410-8b05-ffd578937521
2008-02-23 17:46:29 +00:00
rmottola
2c22400865
fixed c99ism
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25859 72102866-910b-0410-8b05-ffd578937521
2008-01-04 15:27:10 +00:00
fredkiefer
5d3735746b
Correct the key strategy of the map.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25756 72102866-910b-0410-8b05-ffd578937521
2007-12-17 21:52:21 +00:00
fredkiefer
73d0fc3a58
Correct forwarding of changes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25749 72102866-910b-0410-8b05-ffd578937521
2007-12-15 17:40:54 +00:00
fredkiefer
0e2a099bf4
Fixed mistype in last change
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25745 72102866-910b-0410-8b05-ffd578937521
2007-12-15 12:06:50 +00:00
fredkiefer
5310fd7ce8
Don't raise exception when there is no setter for key.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25744 72102866-910b-0410-8b05-ffd578937521
2007-12-15 11:36:05 +00:00
fredkiefer
8dc576bf03
replace NSString capitalizedString with manual handling.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25743 72102866-910b-0410-8b05-ffd578937521
2007-12-15 10:48:03 +00:00