Commit graph

5355 commits

Author SHA1 Message Date
theraven
0bd156fa4a Refactored last two commits so that all of the real code is in GSIMap.h and is just called from the relevant classes, rather than copied and pasted everywhere. Also added fast enumeration support to GSCountedSet.
I think that's all of the classes that use GSIMaps for their implementation now fully supporting fast enumeration.  If there are any that I've missed, then just copy the methods from GSSet to implement them.  You just need to set the mutations pointer to something sensible (i.e. something that will change if the collection mutates) and then call the new GSIMapCountByEnumeratingWithStateObjectsCount() function.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29181 72102866-910b-0410-8b05-ffd578937521
2009-12-29 16:49:07 +00:00
theraven
55e8317350 Added fast enumeration support to GS[Mutable]Dictionary. This follows exactly the same pattern (and uses the same code as) GSSet. It's probably worth factoring out this code, because it is now used in four methods with almost no variation between them.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29180 72102866-910b-0410-8b05-ffd578937521
2009-12-29 16:21:01 +00:00
theraven
cee58ca099 Added fast enumeration to NSSet. This changed the layout of GSMutableSet, adding a _version ivar, but this is a private class so it doesn't change the public ABI. All mutator methods in GSMutableSet must increment this variable, allowing thread-safe fast enumeration.
As with GSArray, GSSet uses its isa pointer for detecting mutations.  This may change as a result of adding KVO notifications, so it might not be the best solution, but I can't currently think of a way we could catch isa changing to [GSMutableSet class] and not changing to a hidden class...



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29179 72102866-910b-0410-8b05-ffd578937521
2009-12-29 15:59:14 +00:00
theraven
c5cf5e4535 Added implementations of some of the new (10.6) NSArray methods that take blocks as arguments. These all use the new GSBlocks.h macros, so compile cleanly with GCC, but can be used by code compiled by clang.
Some of these implementations are not as efficient as they could be (especially the ones that take an NSIndexSet as the first argument).  They also don't yet support concurrent enumeration.  Apple implements these using Grand Central.  We could possibly have a background thread that we send these things to (or use GCD if libdispatch is available).  It's not worth spawning a new thread for them, except in exceptional circumstances (and, unfortunately, we can't easily tell how expensive a single iteration of a block is.  Possibly we could time one block invocation, and if it's longer than some threshold make it concurrent, but it's probably not worth the effort).



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29176 72102866-910b-0410-8b05-ffd578937521
2009-12-27 16:49:52 +00:00
theraven
23b31db6b3 Added -enumerateObjectsUsingBlock: implementation to NSArray.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29174 72102866-910b-0410-8b05-ffd578937521
2009-12-27 15:25:12 +00:00
theraven
301520a1d7 Tidied up some compiler warnings in last commit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29172 72102866-910b-0410-8b05-ffd578937521
2009-12-27 14:41:15 +00:00
theraven
c62a66443c Fixed missing } in last commit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29171 72102866-910b-0410-8b05-ffd578937521
2009-12-27 14:37:41 +00:00
theraven
9d55a856cf Added private GSFastEnumeration header. This defines two macros that allow fast enumeration to be used inside GNUstep. Use, for example:
NSArray *a=  [NSArray arrayWithObjects: @"a", @"b", @"c", nil];
FOR_IN(NSString*, o, a)
	NSLog(@"%@", o);
END_FOR_IN(a)

This is equivalent to:

for (NSString *o in a)
{
	NSLog(@"%@", o);
}

On clang, it will be expanded to exactly that.  With GCC, it will be expanded to something equivalent to the code that Clang (or Apple GCC) would expand this to.

This is a private GNUstep header and is not intended for general use.  Outside of GNUstep, please use fast enumeration directly.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29170 72102866-910b-0410-8b05-ffd578937521
2009-12-27 14:34:10 +00:00
wlux
2aee2c5236 Add an auxiliary method to NSUndoManager to support coalescing undo
operations in NSTextView.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29163 72102866-910b-0410-8b05-ffd578937521
2009-12-22 23:43:38 +00:00
gcasa
e66625cfdf Conditionally compile weak attribute.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29159 72102866-910b-0410-8b05-ffd578937521
2009-12-22 22:12:56 +00:00
theraven
fffe50ffdc Added call to objc_create_block_classes_as_subclasses_of() in NSObject's +load method. This is called as soon as NSObject is loaded and creates the _NSBlock family of classes, which are statically allocated in the runtime but not statically initialised. If you create blocks without linking GNUstep-base, the isa pointer in the block will point to a class that has all of its fields set to 0.
Any blocks will have their isa pointer set to the two classes statically allocated in libobjc, but these classes can't be used for message lookup (or introspection) until after the call.  This means that you can't send messages to blocks until after NSObject's +load method has been called.  This shouldn't be a problem in most code, but if you use __attribute__((constructor)) instead of a +load method then be careful about sending messages to blocks (you can still call them as normal). 



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29144 72102866-910b-0410-8b05-ffd578937521
2009-12-20 16:59:41 +00:00
gcasa
b7894ad188 * Source/GNUmakefile: Add synchronization.m to GNU_MFILES
and correct some formatting.
	* Source/synchronization.m: Fix @synchronize support on
	Windows.   The __weak__ attribute doesn't work on Windows.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29140 72102866-910b-0410-8b05-ffd578937521
2009-12-19 18:52:05 +00:00
rfm
d56ff38a2a Readability tweak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29115 72102866-910b-0410-8b05-ffd578937521
2009-12-11 15:13:16 +00:00
gcasa
da7701eb6f * Source/synchronization.m: Corrected header text.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29114 72102866-910b-0410-8b05-ffd578937521
2009-12-11 06:42:12 +00:00
rfm
c84063c3a8 GSMutableString inherits hash implementation from GSString
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29105 72102866-910b-0410-8b05-ffd578937521
2009-12-07 05:10:50 +00:00
rfm
f8c0ecf186 improve string comparison.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29104 72102866-910b-0410-8b05-ffd578937521
2009-12-07 05:02:55 +00:00
rfm
7abb743f91 Move hash implementation to GSString
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29096 72102866-910b-0410-8b05-ffd578937521
2009-12-04 09:52:14 +00:00
rfm
ed0d9c8014 Perform port/name cleanup on startup.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29095 72102866-910b-0410-8b05-ffd578937521
2009-12-03 09:07:10 +00:00
rfm
b025de4a73 fixup missing notification changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29087 72102866-910b-0410-8b05-ffd578937521
2009-12-01 08:30:41 +00:00
rfm
a4d6e16f4c clarify
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29086 72102866-910b-0410-8b05-ffd578937521
2009-12-01 07:49:38 +00:00
rfm
119de7ab88 clarify doccumentation a little
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29085 72102866-910b-0410-8b05-ffd578937521
2009-12-01 07:47:29 +00:00
rfm
845201b6f5 avoid warning log about unexpected response
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29075 72102866-910b-0410-8b05-ffd578937521
2009-11-27 13:05:26 +00:00
rfm
9a772dd309 improve error message
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29074 72102866-910b-0410-8b05-ffd578937521
2009-11-27 10:55:42 +00:00
rfm
1f22968eb4 Attempt notification queue fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29073 72102866-910b-0410-8b05-ffd578937521
2009-11-27 10:42:33 +00:00
rfm
ee898e98e1 stricter check of plist keys
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29071 72102866-910b-0410-8b05-ffd578937521
2009-11-27 09:19:02 +00:00
rfm
39108cd5d9 encoding fixup for xml with bad dictionary key
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29070 72102866-910b-0410-8b05-ffd578937521
2009-11-27 09:10:15 +00:00
rfm
b244c84d70 Tweak for serializing 'xml' property lists
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29069 72102866-910b-0410-8b05-ffd578937521
2009-11-27 08:44:43 +00:00
rfm
fb3ff1f085 pass more info to notification functions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29068 72102866-910b-0410-8b05-ffd578937521
2009-11-27 07:53:38 +00:00
rfm
703dad767d Add osx compatibility option
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29067 72102866-910b-0410-8b05-ffd578937521
2009-11-26 22:15:39 +00:00
rfm
3c8d8797a6 Fix for XML plist parsing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29066 72102866-910b-0410-8b05-ffd578937521
2009-11-26 21:57:26 +00:00
wlux
d7259afa3c Write out proper XML encoding for control characters. Fixes a bug
where menu positions in GUI programs would appear not persistent.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29064 72102866-910b-0410-8b05-ffd578937521
2009-11-26 17:34:16 +00:00
rfm
3a390b4d65 better attempt at workaround for broken libobjc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29057 72102866-910b-0410-8b05-ffd578937521
2009-11-24 20:39:31 +00:00
rfm
43cda8ed2c tidy
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29049 72102866-910b-0410-8b05-ffd578937521
2009-11-23 18:07:25 +00:00
theraven
5e3de82c70 Added fall-back line for forwarding. Now -forwardingProxyForSelector: should work on all runtimes, with all ABIs, it will just be painfully slow on the GCC runtime and the legacy ABI.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29048 72102866-910b-0410-8b05-ffd578937521
2009-11-23 16:43:08 +00:00
rfm
d9749d603d Documentation generation improvments
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29047 72102866-910b-0410-8b05-ffd578937521
2009-11-23 09:42:18 +00:00
rfm
f3eaac4188 minor debug improvement
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28988 72102866-910b-0410-8b05-ffd578937521
2009-11-10 09:14:57 +00:00
rfm
ab08a4642b Have -drain call -release
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28950 72102866-910b-0410-8b05-ffd578937521
2009-11-04 05:51:34 +00:00
rfm
43e2bd29f4 Avoid memory leak and improve performance for common structures.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28939 72102866-910b-0410-8b05-ffd578937521
2009-11-02 18:32:35 +00:00
fedor
c3f8da55d7 * Source/Makefile.postamble: Add flag filter for libgnustep-base-entry.m (for GCC 4.4 on MinGW).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28889 72102866-910b-0410-8b05-ffd578937521
2009-10-26 18:01:08 +00:00
wlux
56ba86ce4c Prevent potential deadlock in multithreaded programs due to an
allocation lock that was never unlocked.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28859 72102866-910b-0410-8b05-ffd578937521
2009-10-20 05:25:04 +00:00
rfm
8755ceb15b simplify for older compilers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28821 72102866-910b-0410-8b05-ffd578937521
2009-10-13 09:59:34 +00:00
rfm
e054b0321e fix missing macro
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28817 72102866-910b-0410-8b05-ffd578937521
2009-10-12 19:04:21 +00:00
rfm
d8a2ff7287 new initialisation function.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28806 72102866-910b-0410-8b05-ffd578937521
2009-10-12 14:38:49 +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
6bf3a906e9 cleanups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28787 72102866-910b-0410-8b05-ffd578937521
2009-10-10 08:16:17 +00:00
rfm
4c004d6da5 Fix files missed from last ocmmit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28780 72102866-910b-0410-8b05-ffd578937521
2009-10-07 14:54:37 +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
2fc494c446 a bit step towards removing obsolete mframe code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28774 72102866-910b-0410-8b05-ffd578937521
2009-10-04 15:26:07 +00:00
rfm
de17e037eb fix leak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28771 72102866-910b-0410-8b05-ffd578937521
2009-10-04 10:05:14 +00:00
rfm
a1e0763383 Code cleanups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28770 72102866-910b-0410-8b05-ffd578937521
2009-10-04 09:53:19 +00:00
rfm
503d05b4d4 more tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28769 72102866-910b-0410-8b05-ffd578937521
2009-10-04 08:43:56 +00:00
rfm
e6b4aa2563 cleanup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28768 72102866-910b-0410-8b05-ffd578937521
2009-10-04 07:46:01 +00:00
rfm
182a297143 bugfix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28767 72102866-910b-0410-8b05-ffd578937521
2009-10-03 18:34:44 +00:00
rfm
04d6ed096e connection root object fixup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28766 72102866-910b-0410-8b05-ffd578937521
2009-10-03 15:35:40 +00:00
rfm
d5df438a7d explicitly specify types in union
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28762 72102866-910b-0410-8b05-ffd578937521
2009-10-02 15:14:42 +00:00
rfm
d97f916035 Default to an empty array type
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28761 72102866-910b-0410-8b05-ffd578937521
2009-10-02 14:41:25 +00:00
rfm
1cd909d1e6 Fix types in array so alignment should be ok
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28760 72102866-910b-0410-8b05-ffd578937521
2009-10-02 14:01:04 +00:00
rfm
1460f239ce locale fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28756 72102866-910b-0410-8b05-ffd578937521
2009-09-30 20:44:41 +00:00
rfm
20f499656f mingw32 improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28755 72102866-910b-0410-8b05-ffd578937521
2009-09-30 20:28:42 +00:00
rfm
887039424c BOOL must be YES or NO
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28754 72102866-910b-0410-8b05-ffd578937521
2009-09-30 20:12:14 +00:00
theraven
f4ab1c1264 Fixed bug in -lockWhenCondition:beforeDate: (was not releasing mutex correctly).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28752 72102866-910b-0410-8b05-ffd578937521
2009-09-30 12:40:00 +00:00
rfm
b6159c95bc fixup to work with old compilers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28750 72102866-910b-0410-8b05-ffd578937521
2009-09-27 19:31:31 +00:00
rfm
13da6efeaf fixups for old openbsd system
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28749 72102866-910b-0410-8b05-ffd578937521
2009-09-27 18:48:03 +00:00
rfm
30f0a67889 fixups for win32 pipe management
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28747 72102866-910b-0410-8b05-ffd578937521
2009-09-27 16:07:50 +00:00
rfm
739422c5aa fixup header for index sets to contain array of ranges.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28746 72102866-910b-0410-8b05-ffd578937521
2009-09-27 11:32:35 +00:00
rfm
5434bd0735 osx compat tweak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28734 72102866-910b-0410-8b05-ffd578937521
2009-09-24 18:34:46 +00:00
rfm
698c421923 fix error in last mod ... support paths containing only a slash
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28733 72102866-910b-0410-8b05-ffd578937521
2009-09-24 15:24:24 +00:00
theraven
1c08b79f6a Added configure thingy to detect presence of runtime.h. Autoconf stuff by Wonfgang Lux.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28730 72102866-910b-0410-8b05-ffd578937521
2009-09-23 11:52:32 +00:00
rfm
d30b738105 OSX compatibility tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28727 72102866-910b-0410-8b05-ffd578937521
2009-09-23 10:07:13 +00:00
rfm
7a35ac6ccb fix caching if external entity
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28704 72102866-910b-0410-8b05-ffd578937521
2009-09-18 11:47:37 +00:00
rfm
d8839e23ce Remove spurous NSLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28703 72102866-910b-0410-8b05-ffd578937521
2009-09-18 10:29:41 +00:00
rfm
7b0573fc9f Fix bug shifting indexes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28701 72102866-910b-0410-8b05-ffd578937521
2009-09-17 14:18:13 +00:00
rfm
1c97fb7e67 fix typos
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28694 72102866-910b-0410-8b05-ffd578937521
2009-09-17 08:52:03 +00:00
rfm
5a8fbf7417 tweak header parsing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28687 72102866-910b-0410-8b05-ffd578937521
2009-09-15 15:28:35 +00:00
rfm
a74def5b73 Log excess data.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28686 72102866-910b-0410-8b05-ffd578937521
2009-09-15 11:51:08 +00:00
rfm
078e2b2442 Add fix for bug #27446
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28673 72102866-910b-0410-8b05-ffd578937521
2009-09-14 20:33:12 +00:00
rfm
46b846fefe tweak workaround for kernel bug.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28669 72102866-910b-0410-8b05-ffd578937521
2009-09-14 14:37:13 +00:00
rfm
72961a231a workaround for kernel bug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28668 72102866-910b-0410-8b05-ffd578937521
2009-09-14 12:44:52 +00:00
rfm
1a11998ecf Cleanups and minor bugfixes for new code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28665 72102866-910b-0410-8b05-ffd578937521
2009-09-12 07:37:00 +00:00
rfm
88fd37ca57 fix mingw keepalive lost in reorganisation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28663 72102866-910b-0410-8b05-ffd578937521
2009-09-11 19:19:05 +00:00
theraven
6ce4c9788c Rewrote exception callstack generation to use the backtrace() and
backtrace_symbols() code.  Implemented the -callStackSymbols method from
	10.5 using this.  For this to be enabled, the configure script will
	require a small modification, which Gregory will add later.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28662 72102866-910b-0410-8b05-ffd578937521
2009-09-11 16:14:45 +00:00
theraven
023f3b5e17 Added implementations of the hooks provided by the new runtime. This brings
NSObject up to feature-parity with the OS X 10.5 implementation when using the
new runtime and up to feature-parity with the 10.6 implementation if you are
using the new runtime and compiling with clang.

Also removes the objc_mutex_wibble stuff from NSObject in favour of just using
NSLocks (which, with the new implementation, are now faster than using
objc_mutex_stuff).



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28657 72102866-910b-0410-8b05-ffd578937521
2009-09-10 20:14:42 +00:00
rfm
4f13b89771 make timers more robust
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28656 72102866-910b-0410-8b05-ffd578937521
2009-09-10 16:41:06 +00:00
rfm
b510b0d659 further simplify and add comments
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28655 72102866-910b-0410-8b05-ffd578937521
2009-09-10 15:30:55 +00:00
rfm
99a9887e35 simplified
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28654 72102866-910b-0410-8b05-ffd578937521
2009-09-10 14:48:37 +00:00
rfm
7c8e06d58e OSX compatibility tweak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28653 72102866-910b-0410-8b05-ffd578937521
2009-09-10 14:22:14 +00:00
rfm
82bde6a773 add debug warning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28647 72102866-910b-0410-8b05-ffd578937521
2009-09-09 10:02:26 +00:00
rfm
1ed217861f minor simplification
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28645 72102866-910b-0410-8b05-ffd578937521
2009-09-09 08:21:51 +00:00
rfm
47003a36d3 avoid duplicate calls to finalize
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28639 72102866-910b-0410-8b05-ffd578937521
2009-09-08 20:51:18 +00:00
rfm
4cc5cae469 thread exit improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28638 72102866-910b-0410-8b05-ffd578937521
2009-09-08 20:32:52 +00:00
rfm
3263c76ab3 Yield if asked to sleep
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28636 72102866-910b-0410-8b05-ffd578937521
2009-09-08 17:56:58 +00:00
rfm
0276710916 assum presence of pthreads
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28633 72102866-910b-0410-8b05-ffd578937521
2009-09-08 16:32:56 +00:00
rfm
963ffae92d remove publicly visible ivars for future abi stability.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28626 72102866-910b-0410-8b05-ffd578937521
2009-09-07 16:25:04 +00:00
rfm
f3cf3c294e simplify -description methods and improve warning logs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28622 72102866-910b-0410-8b05-ffd578937521
2009-09-07 13:49:48 +00:00
rfm
47f75d034c Add warning message if stuck waiting for a response for over 5 min
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28621 72102866-910b-0410-8b05-ffd578937521
2009-09-07 11:29:50 +00:00
rfm
c666d14923 Add warning logs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28620 72102866-910b-0410-8b05-ffd578937521
2009-09-07 09:53:27 +00:00
rfm
b58c9eb9c8 Small bugfixes and OSX compatibility tweak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28616 72102866-910b-0410-8b05-ffd578937521
2009-09-06 14:37:07 +00:00
rfm
0b2ee605cb Fix wrong version commit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28613 72102866-910b-0410-8b05-ffd578937521
2009-09-06 11:02:57 +00:00
rfm
b367e467d6 Avoid exposing pthread details in NSLock.h (as much as possible without
impacting performance).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28612 72102866-910b-0410-8b05-ffd578937521
2009-09-06 10:56:04 +00:00
theraven
e772c54dfa Added weak attribute to the synchronization functions so that they won't replace equivalent functions provided by the runtime, if available.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28611 72102866-910b-0410-8b05-ffd578937521
2009-09-05 18:49:48 +00:00
theraven
b29e4570e7 Added enumeration mutation function, called by code automatically inserted by the compiler when a collection mutates during fast enumeration.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28610 72102866-910b-0410-8b05-ffd578937521
2009-09-05 17:43:13 +00:00
theraven
271a54ece9 Moved registration of runtime multithreaded handler to after the creation of the main thread's NSThread object. This fixes a potential issue where the runtime is already in multithreaded mode, calls the handler, and NSException crashes dereferencing the thread object.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28609 72102866-910b-0410-8b05-ffd578937521
2009-09-05 17:28:01 +00:00
theraven
1b2795fd70 Removed files copied from the GNU runtime and no longer needed. GNUstep on a Apple runtime should now no longer by GPL.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28606 72102866-910b-0410-8b05-ffd578937521
2009-09-03 15:52:59 +00:00
rfm
80afb705cf Minor fixes/tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28605 72102866-910b-0410-8b05-ffd578937521
2009-09-03 09:45:23 +00:00
theraven
e833003ca5 Removed bonus semicolon added in earlier commit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28603 72102866-910b-0410-8b05-ffd578937521
2009-09-02 22:15:05 +00:00
theraven
c9346f7072 Fixed bug noticed by Fred.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28602 72102866-910b-0410-8b05-ffd578937521
2009-09-02 22:13:48 +00:00
theraven
caf92d88c2 Fixed typo pointed out by Philippe Roussel.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28600 72102866-910b-0410-8b05-ffd578937521
2009-09-02 16:07:00 +00:00
theraven
da0ba10792 Added fix for error reported by Philippe Roussel on GNU/Linux.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28599 72102866-910b-0410-8b05-ffd578937521
2009-09-02 14:47:16 +00:00
theraven
9dfadd809e * Source/NSLock.m
* Headers/Foundation/NSLock.h
	Completely rewritten implementations of NSLock.h classes.  These are now
	faster, more complete, OS X-compatible, and most importantly actually
	work.  The old ones, for example, called functions that were not
	implemented on Windows.  
	* Source/NSThread.m
	Call pthread functions directly in NSThread instead of via the libobjc
	abstraction layer.  Also fixed a few issues, such as GC not being
	initialized properly for NSThread subclasses that override -main (Javaism
	supported by OS X) and tidies up the code in several places, removing
	premature optimizations, especially those that introduce a test for an
	unlikely case at the start of a method and thus slow everything down.

	As a result of this change, GNUstep now depends on an implementation of
	POSIX threads.  This is included as standard on all modern UNIX systems,
	and as an option on less-modern UNIX systems and non-UNIX systems,
	including Windows.  If you are building GNUstep on Windows, please install
	the pthreads-win32 package, available from:

	http://sourceware.org/pthreads-win32/

	PLEASE TEST THIS!  There may be some code that depended on the old
	behaviour.  I have been running the new NSLock implementation on FreeBSD
	for a few weeks without issue; please report to me any problems that you
	have on your platform.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28598 72102866-910b-0410-8b05-ffd578937521
2009-09-02 13:03:13 +00:00
rfm
d073a33adb revert accidental commit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28592 72102866-910b-0410-8b05-ffd578937521
2009-09-01 12:11:43 +00:00
rfm
8b41f65369 Updates for 1.19.3
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28586 72102866-910b-0410-8b05-ffd578937521
2009-09-01 09:03:28 +00:00
rfm
377d3fd4c4 tweak NSCache changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28582 72102866-910b-0410-8b05-ffd578937521
2009-09-01 04:40:07 +00:00
theraven
a0ab47ec7e Added NSCache (OS X 10.6) implementation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28581 72102866-910b-0410-8b05-ffd578937521
2009-08-31 21:45:53 +00:00
rfm
31045e40c9 further tweak description details
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28579 72102866-910b-0410-8b05-ffd578937521
2009-08-31 07:47:44 +00:00
rfm
486c0d9600 make -description more informative
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28578 72102866-910b-0410-8b05-ffd578937521
2009-08-31 07:08:39 +00:00
rfm
939862240d remove useless log
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28561 72102866-910b-0410-8b05-ffd578937521
2009-08-28 07:35:18 +00:00
rfm
de0a87bab5 fixup location of compatibility method
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28559 72102866-910b-0410-8b05-ffd578937521
2009-08-27 17:32:15 +00:00
rfm
0b6df761b7 fix bad return value
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28555 72102866-910b-0410-8b05-ffd578937521
2009-08-27 14:54:58 +00:00
rfm
6aecebbc9d Fix for bug introduced by adding OSX compatibility for the -path method of
NSURL.  This was causing loading of URLs where the path ends in a slash to
fail (load the wrong URL).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28548 72102866-910b-0410-8b05-ffd578937521
2009-08-26 16:48:15 +00:00
rfm
bbd7e70d76 Updates for 1.19.2 release
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28540 72102866-910b-0410-8b05-ffd578937521
2009-08-25 11:13:00 +00:00
rfm
608d011083 OSX compatibility iprovement.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28528 72102866-910b-0410-8b05-ffd578937521
2009-08-24 07:07:36 +00:00
rfm
0f39425f46 fixes for file handles working with sockets on windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28515 72102866-910b-0410-8b05-ffd578937521
2009-08-23 12:34:04 +00:00
gcasa
54fdb742c3 * Source/NSUserDefaults.m: Remove one of the locks in +userLanguages
to avoid a deadlock.
	Patch applied by: Gregory Casamento <greg.casamento@gmail.com>


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28504 72102866-910b-0410-8b05-ffd578937521
2009-08-21 17:44:39 +00:00
rmottola
b753c64597 Joined split-line string constant
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28502 72102866-910b-0410-8b05-ffd578937521
2009-08-21 15:53:05 +00:00
gcasa
04bd61ab32 * Source/NSUserDefaults.m: Changes to bulletproof NSUserDefaults from
deadlocks when it is accessed by more than one thread.
	Patch applied by: Gregory Casamento <greg.casamento@gmail.com>


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28500 72102866-910b-0410-8b05-ffd578937521
2009-08-21 10:30:15 +00:00
rfm
da568f9a9b avoid compiler warning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28472 72102866-910b-0410-8b05-ffd578937521
2009-08-19 08:24:04 +00:00
rfm
25dd1c7962 Apply patch by Eric Wasylishen for OSX compatibility
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28471 72102866-910b-0410-8b05-ffd578937521
2009-08-19 07:04:21 +00:00
theraven
0e2e4aa752 * Source/NSObject:
- Tweaked NSObject to use atomic ops with LLVM as well as gcc (this
		  probably isn't actually needed)
		- Fixed SIGFPE problem on FreeBSD using proper interfaces instead of 
		an asm hack.
	* Removes various mframe things from being compiled when ffcall/libffi is
	used (mframe.m, NSConnection.m, NSInvocation.m)
	* Turned a nested function in make_strings.m into a macro.  

Tested by Gregory - blame him for any breakage...



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28462 72102866-910b-0410-8b05-ffd578937521
2009-08-15 21:44:21 +00:00
rfm
49fdff0f07 use index set for character sets.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28455 72102866-910b-0410-8b05-ffd578937521
2009-08-12 08:39:07 +00:00
rfm
2313de9e53 Add some argument checking
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28454 72102866-910b-0410-8b05-ffd578937521
2009-08-12 07:49:42 +00:00
fredkiefer
523ae77842 * Source/NSAttributedString.m: Fix keyeded encodgin decoding for
both NSAttributedString and NSMutableAttributedString.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28453 72102866-910b-0410-8b05-ffd578937521
2009-08-11 17:01:50 +00:00
rfm
f1d2144948 fix bug 27224
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28452 72102866-910b-0410-8b05-ffd578937521
2009-08-11 16:40:40 +00:00
rfm
3cc2adbd35 Set zone when reading from file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28451 72102866-910b-0410-8b05-ffd578937521
2009-08-11 14:03:47 +00:00
rfm
033abe232d Fix leak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28450 72102866-910b-0410-8b05-ffd578937521
2009-08-11 13:36:39 +00:00
rfm
792fce302f fix memory leak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28448 72102866-910b-0410-8b05-ffd578937521
2009-08-10 14:13:09 +00:00
rfm
97be67439f Note that directory enumeration order is undefined.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28439 72102866-910b-0410-8b05-ffd578937521
2009-08-05 08:03:37 +00:00
rfm
c46743bad8 Make handling of accumulated text in 'value' clearer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28436 72102866-910b-0410-8b05-ffd578937521
2009-08-04 08:08:52 +00:00
rfm
7e70d293f7 fix to handle empty key in XML property list.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28435 72102866-910b-0410-8b05-ffd578937521
2009-08-04 07:47:58 +00:00
rfm
6e50741e9a Fix failed commit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28434 72102866-910b-0410-8b05-ffd578937521
2009-08-04 06:13:37 +00:00
rfm
0a9865e430 improve logging
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28422 72102866-910b-0410-8b05-ffd578937521
2009-07-31 04:32:46 +00:00
rfm
cf3295a004 Fix text in exception
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28417 72102866-910b-0410-8b05-ffd578937521
2009-07-28 19:04:40 +00:00
rfm
ccea0283a0 ifixup getting charset
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28416 72102866-910b-0410-8b05-ffd578937521
2009-07-28 18:48:37 +00:00
ayers
9b072f06d4 2009-07-27 David Ayers <ayers@fsfe.org>
* Source/Additions/GSCompatibility.m ([-boolValue]): Only compile
	for OS X Versions below 10.5 and sync implementation with -base.
	Reported by: Georg Fleischmann
	


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28413 72102866-910b-0410-8b05-ffd578937521
2009-07-27 07:24:30 +00:00
rfm
52de73a626 Fix minor error setting host header in request.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28404 72102866-910b-0410-8b05-ffd578937521
2009-07-23 08:31:35 +00:00
rfm
25ed260644 New macros for CLANG compatibility
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28402 72102866-910b-0410-8b05-ffd578937521
2009-07-21 09:40:48 +00:00
rfm
784da19ea0 Fix includes and comments
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28398 72102866-910b-0410-8b05-ffd578937521
2009-07-17 05:13:52 +00:00
rfm
f737606d59 make very easy to update if/when we hae non-fragile ivars.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28397 72102866-910b-0410-8b05-ffd578937521
2009-07-16 15:56:31 +00:00
gcasa
60bc083760 * Headers/Foundation/NSOperation.h
* Source/NSOperation.m: Added initial implementation of
	NSOperationQueue.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28395 72102866-910b-0410-8b05-ffd578937521
2009-07-15 00:02:34 +00:00
gcasa
ee3edf222b * Headers/Foundation/Foundation.h
* Headers/Foundation/NSOperation.h
	* Source/GNUmakefile
	* Source/NSOperation.m: Initial implementation of NSOperation
	class.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28393 72102866-910b-0410-8b05-ffd578937521
2009-07-13 18:14:42 +00:00
rfm
974a65cb15 Add comments to avoid confusion.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28390 72102866-910b-0410-8b05-ffd578937521
2009-07-11 14:02:00 +00:00
rfm
bcf438e21a minor tweak for colaris compile
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28378 72102866-910b-0410-8b05-ffd578937521
2009-07-04 11:28:34 +00:00
rfm
1a80eb6657 whitespace collection fix suggested by Georg Fleischmann
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28371 72102866-910b-0410-8b05-ffd578937521
2009-06-24 05:25:26 +00:00
rfm
6933ec09ad fix for tcp/ip ports
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28363 72102866-910b-0410-8b05-ffd578937521
2009-06-19 20:19:55 +00:00
rfm
366f2eeca1 avoid unused variable warning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28362 72102866-910b-0410-8b05-ffd578937521
2009-06-19 16:03:44 +00:00
rfm
c02ac14584 attempt fix for bug #26843
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28360 72102866-910b-0410-8b05-ffd578937521
2009-06-19 09:01:48 +00:00
rfm
67c55443ed Windows tweak suggested by Riccardo Mottola
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28357 72102866-910b-0410-8b05-ffd578937521
2009-06-17 10:35:49 +00:00
rfm
0459f95c95 Remove bogus error log pointed out by Riccardo Mottola
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28356 72102866-910b-0410-8b05-ffd578937521
2009-06-17 08:45:54 +00:00
rfm
14db1fcb9f fixup indentaton.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28352 72102866-910b-0410-8b05-ffd578937521
2009-06-15 07:13:11 +00:00
rfm
9d2d7c5bbf Minor defaults/property list improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28345 72102866-910b-0410-8b05-ffd578937521
2009-06-12 09:14:28 +00:00
rfm
6addb6b049 avoid compiler warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28342 72102866-910b-0410-8b05-ffd578937521
2009-06-12 01:44:12 +00:00
rfm
e069bb1b23 Disable SSLv2 by default as it is insecure.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28336 72102866-910b-0410-8b05-ffd578937521
2009-06-09 08:32:16 +00:00
rfm
ed902f9bcf Minor optimisation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28335 72102866-910b-0410-8b05-ffd578937521
2009-06-08 16:03:54 +00:00
rfm
f074015e89 Add some optimisation for converting to UTF-8
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28334 72102866-910b-0410-8b05-ffd578937521
2009-06-08 15:18:49 +00:00
rfm
08c9289397 More optimisation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28333 72102866-910b-0410-8b05-ffd578937521
2009-06-06 16:04:32 +00:00
rfm
d125441985 Add some optimisation for converting from unicode to latin1 or ascii ... move
as much as possible outside the loop iterating over the characters.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28332 72102866-910b-0410-8b05-ffd578937521
2009-06-06 15:52:11 +00:00
wlux
d3b487436a Fix bug #26419 by removing bogus code which was used on targets where
MFRAME_STRUCT_BYREF is defined.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28331 72102866-910b-0410-8b05-ffd578937521
2009-06-06 14:44:26 +00:00
rfm
7887e50b9c Minor fix to ensure string termination when needed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28329 72102866-910b-0410-8b05-ffd578937521
2009-06-06 07:47:58 +00:00
rfm
fa1051005f optimise conversion to unicode a bit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28328 72102866-910b-0410-8b05-ffd578937521
2009-06-06 07:36:48 +00:00
gcasa
c4c9fe6097 Incorporated patch by David Chisnall.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28326 72102866-910b-0410-8b05-ffd578937521
2009-06-05 22:16:07 +00:00
rfm
88649d248a Apply nextstep encoding fix by Georg Fleischmann
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28323 72102866-910b-0410-8b05-ffd578937521
2009-06-04 07:48:34 +00:00
wlux
93131db09d Fix a few issues with NSUndoManager, the most serious of which was
that NSUndoManager did no longer record redo actions properly since
the recent Mac OS X compatibililty changes to it.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28320 72102866-910b-0410-8b05-ffd578937521
2009-06-02 21:36:17 +00:00
rmottola
de58729919 Atomic increment and decrement functions for m68k
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28310 72102866-910b-0410-8b05-ffd578937521
2009-05-29 23:10:15 +00:00
nicola
0161f1793f Very minor portability tweak for GNUmakefiles
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28309 72102866-910b-0410-8b05-ffd578937521
2009-05-29 10:17:21 +00:00
rfm
f303b107fc Documentation tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28308 72102866-910b-0410-8b05-ffd578937521
2009-05-27 11:03:42 +00:00
rfm
c71db3f704 MacOS-X compatibility updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28307 72102866-910b-0410-8b05-ffd578937521
2009-05-27 10:53:45 +00:00
rfm
cc3838db4d Fix race condition
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28298 72102866-910b-0410-8b05-ffd578937521
2009-05-24 04:22:09 +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
26cfabd41c fix for bundle loading on wndows when we don't have the dll path extension
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28292 72102866-910b-0410-8b05-ffd578937521
2009-05-22 17:16:24 +00:00
rfm
fbbb625832 path for cocoa compatibility of date formatting.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28287 72102866-910b-0410-8b05-ffd578937521
2009-05-16 19:35:20 +00:00
rfm
e8145da819 makefile include fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28286 72102866-910b-0410-8b05-ffd578937521
2009-05-16 19:25:07 +00:00
rfm
19743b8c0b Windows fixup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28285 72102866-910b-0410-8b05-ffd578937521
2009-05-16 10:34:22 +00:00
fedor
1b0355833f Fix include location
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28282 72102866-910b-0410-8b05-ffd578937521
2009-05-11 21:52:02 +00:00
fredkiefer
912f62759a * Source/NSObject.m: Correct asm for PPC.
Patch by Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSObject.m: Add support for new gcc atomic build
ins. Currently still disabled.
Patch by David Chisnall <theraven@sucs.org>

M    Source/NSObject.m
M    ChangeLog


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28268 72102866-910b-0410-8b05-ffd578937521
2009-05-04 20:07:56 +00:00
rfm
a12d7ae190 Add some info output
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28267 72102866-910b-0410-8b05-ffd578937521
2009-05-04 07:23:46 +00:00
rmottola
7b9779240f removed c99-ism
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28266 72102866-910b-0410-8b05-ffd578937521
2009-05-03 16:50:28 +00:00
rfm
a6312877c8 fix #26427
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28265 72102866-910b-0410-8b05-ffd578937521
2009-05-03 05:19:17 +00:00
rfm
e5394a531c reduce dependecy on libxml2
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28263 72102866-910b-0410-8b05-ffd578937521
2009-04-29 09:26:52 +00:00
rfm
d9e6e84591 Remove obsolete ifdefs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28262 72102866-910b-0410-8b05-ffd578937521
2009-04-28 20:00:59 +00:00
rfm
8d7c939ebf Send URLs over DO bycopy.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28259 72102866-910b-0410-8b05-ffd578937521
2009-04-27 20:58:17 +00:00
rfm
a464ad628b fix %e format ... problem spotted by Doug Simons
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28257 72102866-910b-0410-8b05-ffd578937521
2009-04-27 18:56:42 +00:00
rfm
8867ae0f1c update documentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28256 72102866-910b-0410-8b05-ffd578937521
2009-04-27 18:48:32 +00:00
rfm
b29b9a4f76 fix #26360
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28255 72102866-910b-0410-8b05-ffd578937521
2009-04-27 18:04:56 +00:00
rfm
9f65255a15 Optimisation accidentally omitted when changelog was updated.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28253 72102866-910b-0410-8b05-ffd578937521
2009-04-27 11:52:44 +00:00
rfm
fd2861f3ae Add two previously unimplemented methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28252 72102866-910b-0410-8b05-ffd578937521
2009-04-27 08:16:06 +00:00
rfm
0acc1506cd implement support for multiline responses
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28251 72102866-910b-0410-8b05-ffd578937521
2009-04-26 13:45:47 +00:00
rfm
f8a3d4fe5d fix some errors in comments causing documentation generation problems
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28250 72102866-910b-0410-8b05-ffd578937521
2009-04-26 05:37:21 +00:00
rfm
239604ecce Revert last reversion and fixup.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28248 72102866-910b-0410-8b05-ffd578937521
2009-04-25 12:57:08 +00:00
gcasa
cea687283d * Source/NSFileManager.m: Partial reversion of previous patch.
The calls in the method changeAttribues:atPath: to the GSAttrDictionary
	which is used there were erroneously changed to assume an NSNumber.
	This was causing a crash in various applications.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28246 72102866-910b-0410-8b05-ffd578937521
2009-04-25 12:36:31 +00:00
rfm
dd82da2879 Apply fix for bug #26244 by Fred Morcos
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28245 72102866-910b-0410-8b05-ffd578937521
2009-04-24 08:13:52 +00:00
rfm
5512e86a20 minor performance tweak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28237 72102866-910b-0410-8b05-ffd578937521
2009-04-20 08:18:11 +00:00