Eric Wasylishen
a0f083736c
NSPredicate MATCHES and LIKE implementation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31616 72102866-910b-0410-8b05-ffd578937521
2010-11-17 21:46:31 +00:00
Riccardo Mottola
7e15bd86df
Make NSDownloadDirectory and NSDocumentDIrectory relative to the user home and for the user domain only. Behaviour checked on the Mac.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31608 72102866-910b-0410-8b05-ffd578937521
2010-11-13 09:46:01 +00:00
David Chisnall
e523978a5d
Make NSNetServices use formal protocol, as in 10.6. When compiling with clang, use @optional, otherwise fall back to defining an empty protocol and defining an informal protocol with the methods.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31594 72102866-910b-0410-8b05-ffd578937521
2010-11-07 15:43:46 +00:00
David Chisnall
a3d6bd2eab
Expose 10.6-compatible interface for per-thread assertion handlers.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31593 72102866-910b-0410-8b05-ffd578937521
2010-11-07 15:37:19 +00:00
Richard Frith-MacDonald
e4ef659b97
serialisation bugfix and correction to nil handling when making localisation.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31581 72102866-910b-0410-8b05-ffd578937521
2010-11-02 11:01:50 +00:00
Richard Frith-MacDonald
895a0f38ff
add delivery notification requests and fix memory leak.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31571 72102866-910b-0410-8b05-ffd578937521
2010-10-28 22:50:38 +00:00
Richard Frith-MacDonald
79eac15152
fix crash due to dereferencin a null pointer.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31570 72102866-910b-0410-8b05-ffd578937521
2010-10-27 22:19:18 +00:00
Richard Frith-MacDonald
b7f4faa90b
Fix setup of HAVE_ICU
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31567 72102866-910b-0410-8b05-ffd578937521
2010-10-27 11:24:44 +00:00
Niels Grewe
057dd3f2f1
Fix -displayNameForKey:value: to interact properly with libicu for some
...
common cases. More arcane locale components still need proper treatment.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31566 72102866-910b-0410-8b05-ffd578937521
2010-10-26 19:31:37 +00:00
David Chisnall
704532b50c
Don't access isa directly.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31560 72102866-910b-0410-8b05-ffd578937521
2010-10-25 14:40:09 +00:00
Richard Frith-MacDonald
ef81066edc
Fix to get compile working again on slightly older systems.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31548 72102866-910b-0410-8b05-ffd578937521
2010-10-22 07:25:57 +00:00
Jonathan Gillaspie
9ef94a8e95
Prevent SegFault when FormatMessageW doesn't return a string on Windows.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31537 72102866-910b-0410-8b05-ffd578937521
2010-10-19 21:21:32 +00:00
Wolfgang Lux
b01361f433
Fix test for an absolute URL in NSURL -absoluteURL, which got things
...
backward.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31532 72102866-910b-0410-8b05-ffd578937521
2010-10-19 12:56:30 +00:00
Richard Frith-MacDonald
6a946ccbb2
tiny osx compatibility tweak
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31531 72102866-910b-0410-8b05-ffd578937521
2010-10-19 09:29:23 +00:00
Gregory John Casamento
7795322965
Correct license text in sync.m and also correct the test to see if the ObjC compiler is working.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31519 72102866-910b-0410-8b05-ffd578937521
2010-10-16 20:43:33 +00:00
Richard Frith-MacDonald
ad94f052f8
file URL compatibility
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31508 72102866-910b-0410-8b05-ffd578937521
2010-10-13 17:41:22 +00:00
Richard Frith-MacDonald
51287760d4
attempted fix for bug #31266
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31505 72102866-910b-0410-8b05-ffd578937521
2010-10-12 19:19:02 +00:00
Richard Frith-MacDonald
9c8d4406d5
add arbitrary struct set/get
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31504 72102866-910b-0410-8b05-ffd578937521
2010-10-12 13:34:01 +00:00
Richard Frith-MacDonald
7960aa3ec6
Re-instate change from svn revision 31412 (just trusting it's OK).
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31502 72102866-910b-0410-8b05-ffd578937521
2010-10-12 11:55:04 +00:00
Richard Frith-MacDonald
69322fcaca
Exactly match the percent escapes used by OSX
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31501 72102866-910b-0410-8b05-ffd578937521
2010-10-12 10:59:05 +00:00
Eric Wasylishen
bdaf339b92
Avahi bugfixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31492 72102866-910b-0410-8b05-ffd578937521
2010-10-08 22:24:21 +00:00
Richard Frith-MacDonald
092e9227b5
tweka fix for evaluated object
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31469 72102866-910b-0410-8b05-ffd578937521
2010-10-04 14:44:54 +00:00
Richard Frith-MacDonald
1b0e3dbcda
Add simple implementation of evaluatedObjectExpression
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31468 72102866-910b-0410-8b05-ffd578937521
2010-10-04 08:21:34 +00:00
Richard Frith-MacDonald
0222fe1e6d
Fix broken KVC
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31460 72102866-910b-0410-8b05-ffd578937521
2010-10-01 12:01:02 +00:00
Richard Frith-MacDonald
a30baac0de
avoid a couple of makefile warnings
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31459 72102866-910b-0410-8b05-ffd578937521
2010-10-01 11:39:06 +00:00
Richard Frith-MacDonald
be39561811
fix type cast
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31458 72102866-910b-0410-8b05-ffd578937521
2010-10-01 11:24:19 +00:00
Richard Frith-MacDonald
8c7b1d496a
standardise listen backlog
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31455 72102866-910b-0410-8b05-ffd578937521
2010-10-01 09:22:52 +00:00
Richard Frith-MacDonald
8af7e6bf3a
fix #31153
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31454 72102866-910b-0410-8b05-ffd578937521
2010-10-01 07:13:31 +00:00
Richard Frith-MacDonald
40a72c52a9
networking scalability tweak
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31449 72102866-910b-0410-8b05-ffd578937521
2010-09-30 14:16:11 +00:00
Richard Frith-MacDonald
566d84d19f
fix for bug 31168
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31446 72102866-910b-0410-8b05-ffd578937521
2010-09-30 08:34:25 +00:00
Richard Frith-MacDonald
cc451397a4
bugfix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31445 72102866-910b-0410-8b05-ffd578937521
2010-09-30 06:51:34 +00:00
Eric Wasylishen
d431109112
* Source/objc-load.m: Don't include objc-list.h with libobjc2
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31438 72102866-910b-0410-8b05-ffd578937521
2010-09-29 06:47:16 +00:00
Eric Wasylishen
4eba67f87b
Remove dead code
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31434 72102866-910b-0410-8b05-ffd578937521
2010-09-28 23:27:46 +00:00
Richard Frith-MacDonald
42828af0cc
minor optimisations
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31433 72102866-910b-0410-8b05-ffd578937521
2010-09-28 13:23:53 +00:00
Richard Frith-MacDonald
52d7256b41
Make firing of timers more robust
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31420 72102866-910b-0410-8b05-ffd578937521
2010-09-25 21:28:07 +00:00
David Chisnall
7563e320b5
Add special case to KVC accessors for libobjc2: If there is a method with the
...
wrong types, try calling the method with the correct types. This enables the
TDD-fixup code to run and generate a KVC-compliant version of an existing
method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31412 72102866-910b-0410-8b05-ffd578937521
2010-09-24 19:31:46 +00:00
David Chisnall
ec239ebfaf
Simplify the KVC getter code and make it return structs boxed in NSValues
...
(Apple-compatible). This is currently slow, because we go via NSInvocation.
We could probably make it faster, but I am not inclined to optimise for
something that I sincerely hope is a very unusual use case.
Richard: Please check I haven't done something silly here...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31411 72102866-910b-0410-8b05-ffd578937521
2010-09-24 19:20:16 +00:00
Richard Frith-MacDonald
0364f2e365
performance tweak
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31404 72102866-910b-0410-8b05-ffd578937521
2010-09-24 11:05:11 +00:00
Wolfgang Lux
2a5d060cfa
Fix two unchecked pointer dereferences in the libobjc2 compatibility
...
code, which could cause crashes when attempting to invoke a selector
which is not implemented by the target.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31384 72102866-910b-0410-8b05-ffd578937521
2010-09-20 18:13:48 +00:00
David Chisnall
e9b0540890
Fix -methodSignatureForSelector: fast path with libobjc2.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31371 72102866-910b-0410-8b05-ffd578937521
2010-09-18 15:09:58 +00:00
Wolfgang Lux
4fad29abb5
Tweaks for running on Darwin aka OS X.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31366 72102866-910b-0410-8b05-ffd578937521
2010-09-17 20:23:48 +00:00
Wolfgang Lux
fb76b96247
Fix bug were NSObject -methodSignatureForSelector: would return an
...
incorrect result or even crash when asking a class object for the
signature of one of its class methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31365 72102866-910b-0410-8b05-ffd578937521
2010-09-17 20:07:50 +00:00
Eric Wasylishen
8f88383e61
Fix more unsigned int / int cases that should be NS[U]Integer
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31355 72102866-910b-0410-8b05-ffd578937521
2010-09-16 02:55:24 +00:00
Eric Wasylishen
0b8e723ec3
disable unneeded code on libobjc2
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31353 72102866-910b-0410-8b05-ffd578937521
2010-09-16 00:07:39 +00:00
Eric Wasylishen
d713579ade
* Source/NSMessagePort.m:
...
* Source/NSFileManager.m:
* Source/NSCharacterSet.m: Fix some method type mismatches. Generally when
a private subclass overrides a public method taking a NSUInteger with
a method taking an "unsigned" parameter.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31351 72102866-910b-0410-8b05-ffd578937521
2010-09-15 22:16:18 +00:00
Riccardo Mottola
6ce1c05965
removed useless len recalculation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31341 72102866-910b-0410-8b05-ffd578937521
2010-09-12 23:30:37 +00:00
Riccardo Mottola
97402e3ddb
Removed dead assignments and unused variable attrs.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31340 72102866-910b-0410-8b05-ffd578937521
2010-09-12 23:25:59 +00:00
Richard Frith-MacDonald
a4f869f7e5
fix some return type errors
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31338 72102866-910b-0410-8b05-ffd578937521
2010-09-12 17:05:30 +00:00
Richard Frith-MacDonald
faa2feed90
avoid documentation warning
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31296 72102866-910b-0410-8b05-ffd578937521
2010-09-10 13:20:06 +00:00
Richard Frith-MacDonald
8177a34a8f
tweaks to avoid clang warnings
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31293 72102866-910b-0410-8b05-ffd578937521
2010-09-10 12:47:04 +00:00
Richard Frith-MacDonald
d317aab108
fix occasional crash with proxies
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31291 72102866-910b-0410-8b05-ffd578937521
2010-09-10 10:40:07 +00:00
Richard Frith-MacDonald
8ee8fb58b3
cleanup getting descriptors/handles for ports.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31288 72102866-910b-0410-8b05-ffd578937521
2010-09-10 08:56:55 +00:00
Richard Frith-MacDonald
8f19d8df47
tidied
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31286 72102866-910b-0410-8b05-ffd578937521
2010-09-10 07:11:49 +00:00
Eric Wasylishen
af8fc16268
Replace a call to -[Protocol name] with protocol_getName
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31282 72102866-910b-0410-8b05-ffd578937521
2010-09-09 22:42:47 +00:00
Eric Wasylishen
7282e58e08
* Source/NSDistantObject.m: #ifdef to disable category
...
on Object was forgotten around the interface
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31280 72102866-910b-0410-8b05-ffd578937521
2010-09-09 22:18:01 +00:00
Riccardo Mottola
1bbef96f6a
use init return value
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31278 72102866-910b-0410-8b05-ffd578937521
2010-09-09 21:41:40 +00:00
Riccardo Mottola
1d57899ad8
use init return value
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31277 72102866-910b-0410-8b05-ffd578937521
2010-09-09 21:33:59 +00:00
Riccardo Mottola
703219c464
only access array if port responds to selector, or it is not initialized
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31276 72102866-910b-0410-8b05-ffd578937521
2010-09-09 21:22:31 +00:00
Richard Frith-MacDonald
46076fe15b
fixup to get proxies working again
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31275 72102866-910b-0410-8b05-ffd578937521
2010-09-09 21:10:47 +00:00
Richard Frith-MacDonald
c342978801
memorymanagement fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31273 72102866-910b-0410-8b05-ffd578937521
2010-09-09 19:58:21 +00:00
Eric Wasylishen
d7a7393a0b
Minor build fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31271 72102866-910b-0410-8b05-ffd578937521
2010-09-09 17:02:19 +00:00
Eric Wasylishen
59ba8facf0
Change sel_getUid to call sel_registerName, in line with OS X behaviour since 10.0
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31270 72102866-910b-0410-8b05-ffd578937521
2010-09-09 16:43:29 +00:00
David Chisnall
4488708e84
Fix a load of warnings from implicit function declarations. A lot were caused by ctype.h and string.h stuff being used everywhere in GNUstep but not included anywhere - they're now included in common.h (at least string.h should also be in Foundation.h - on OS X it is implicitly included via some chain of things from Foundation.h).
...
All of the sel_* stuff is now replaced with the newer APIs. As a side-effect, a blob of code that was copied-and-pasted all over GNUstep has now been moved into ObjectiveC2 and just called.
Class posing with libobjc2 will now throw an exception, rather than just aborting.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31268 72102866-910b-0410-8b05-ffd578937521
2010-09-09 16:30:10 +00:00
David Chisnall
db04df357a
Add implementation of sel_registerTypedName_np() to ObjectiveC2 (libobjc2 nonportable function for registering / getting typed selectors).
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31266 72102866-910b-0410-8b05-ffd578937521
2010-09-09 15:17:40 +00:00
David Chisnall
7a80adeb9b
A huge blob of changes to make -base build with libobjc2, without using the old libobjc2 headers.
...
Most of these changes involve simply removing direct manipulation of any runtime structures and replacing them with runtime function calls. For example class->name becomes class_getName(class) and so on.
libobjc2, like the Apple runtime, the NeXT runtime, and every version of the Objective-C spec, calls the class pointer in id isa. A few files now have #define class_pointer isa at the top. This line replaces class_pointer in the old GNU libobjc headers with isa so either class_pointer or isa can be used for accessing the class of an object. Note: object_getClass() should be used in most cases because, in some future version of the runtime, this will skip things like lock classes and other hidden classes (e.g. KVO classes).
All of the old forwarding stuff has been removed. Most of this stuff followed convoluted code paths that ended with an exception. A few simply broke in exciting ways. Hopefully no one has used them for the last ten years or so, but we can bring them back with some #ifndef stuff if they're really needed by anyone.
There is currently a bug in configure, which prevents dladdr() from being detected, so you need to manually tweak config.h to build - I have not fixed the fall-back code in objc-load.m to work with libobjc2, I just added a new version that uses the loader's functionality directly.
Although -base now builds, it builds with a lot of warnings. <string.h> is missing from a lot of files, so memcpy() and strlen() generate implicit function declaration warnings.
Additionally, libobjc2 does still provide the sel_{get,register}_*() functions, but they're wrappers around the newer API ones. These are deprecated and are not exposed in the headers. Although they work, we should be replacing them with the libobjc2 versions as soon as possible.
This incorporates a patch by Eric.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31265 72102866-910b-0410-8b05-ffd578937521
2010-09-09 15:06:09 +00:00
David Chisnall
0ed572ef2d
Resolve symbols using dladdr() if it exists.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31263 72102866-910b-0410-8b05-ffd578937521
2010-09-09 14:22:45 +00:00
Eric Wasylishen
345563c947
* Source/ObjectiveC2/runtime.h:
...
* Source/ObjectiveC2/runtime.m:
Implement protocol_copyMethodDescriptionList, protocol_copyProtocolList,
protocol_getMethodDescription, as well as a dummy version of
objc_copyProtocolList.
* Headers/Additions/GNUstepBase/GSObjCRuntime.h:
* Source/Additions/GSObjCRuntime.m:
Implement a convenience method, GSProtocolGetMethodDescriptionRecursive
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31254 72102866-910b-0410-8b05-ffd578937521
2010-09-08 20:30:19 +00:00
David Chisnall
daecca9270
Import feature test function from libobjc2 into ObjectiveC2 framework. Returns 0 for all of the new features. May return the wrong value for exception support, if the runtime is really ancient and does not support exceptions. Returns 1 for features that the framework adds.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31252 72102866-910b-0410-8b05-ffd578937521
2010-09-08 14:10:01 +00:00
Richard Frith-MacDonald
3564932935
remove obsolete typed stream inclusion
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31248 72102866-910b-0410-8b05-ffd578937521
2010-09-08 09:00:15 +00:00
David Chisnall
e58ea125de
Improve the efficiency of NSObject's methodSignatureForSelector by:
...
- Moving the linear search over all of the method lists in the class hierarchy to the end. If we found the type info in the protocol list, we were throwing this info away. Doing something expensive and then discarding the result is generally not a good idea.
- Replacing the linear search of the method lists with a dtable lookup on libobjc2. The type info for methods is part of the slot, so we only need to do the expensive search at all on the old runtime. With libobjc2, type info lookup costs as little as IMP lookup, so doing things the slow way is not required.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31231 72102866-910b-0410-8b05-ffd578937521
2010-09-02 15:17:46 +00:00
David Chisnall
1b43c3a615
Don't call __objc_resolve_class_links() if using the GNUstep runtime.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31229 72102866-910b-0410-8b05-ffd578937521
2010-09-01 16:13:44 +00:00
David Chisnall
0898a4c4b2
Fix the return type of NSDistantObject +autorelease to return id, not void. Type-dependent dispatch in libobjc2 discovered that some things are picking up this method signature by accident and calling NSObject's -autorelease with the wrong types.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31224 72102866-910b-0410-8b05-ffd578937521
2010-08-31 22:02:38 +00:00
Richard Frith-MacDonald
ea423f1f64
fix to allow reading from stdin
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31221 72102866-910b-0410-8b05-ffd578937521
2010-08-31 14:32:40 +00:00
Richard Frith-MacDonald
c5e77a9367
fix typo
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31216 72102866-910b-0410-8b05-ffd578937521
2010-08-31 10:34:23 +00:00
Richard Frith-MacDonald
6b4cc03ada
avid using windows threading api directly
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31215 72102866-910b-0410-8b05-ffd578937521
2010-08-31 10:32:14 +00:00
Richard Frith-MacDonald
9adf826758
fixup missing include
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31211 72102866-910b-0410-8b05-ffd578937521
2010-08-30 19:25:38 +00:00
Richard Frith-MacDonald
e8ed721622
locking tweak
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31210 72102866-910b-0410-8b05-ffd578937521
2010-08-30 19:16:30 +00:00
Richard Frith-MacDonald
3b4e148c19
thread fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31209 72102866-910b-0410-8b05-ffd578937521
2010-08-30 17:27:11 +00:00
Jonathan Gillaspie
300d429113
* ObjectiveC2/sync.m -- Removed WEAK declaration
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31201 72102866-910b-0410-8b05-ffd578937521
2010-08-25 17:38:13 +00:00
Wolfgang Lux
4e53fdb192
Restore lost assignments which ensure that only one NSFileHandle
...
exists for each of the standard channels. This fixes a bug where a run
loop might unexpectedly stop watching the standard channels.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31196 72102866-910b-0410-8b05-ffd578937521
2010-08-24 11:59:30 +00:00
Richard Frith-MacDonald
20220c48f5
fixes for bug #29338
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31188 72102866-910b-0410-8b05-ffd578937521
2010-08-20 11:07:33 +00:00
Richard Frith-MacDonald
683414ae8b
Fix for NOB generation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31183 72102866-910b-0410-8b05-ffd578937521
2010-08-18 12:34:56 +00:00
Richard Frith-MacDonald
802800537a
use new runtime api directly to lookup selectors
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31182 72102866-910b-0410-8b05-ffd578937521
2010-08-18 10:45:27 +00:00
Richard Frith-MacDonald
e7310bea03
register new selector as needed.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31179 72102866-910b-0410-8b05-ffd578937521
2010-08-17 18:38:00 +00:00
Richard Frith-MacDonald
821a21b54d
better cope with null selectors.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31178 72102866-910b-0410-8b05-ffd578937521
2010-08-17 18:36:46 +00:00
Richard Frith-MacDonald
0b6e29fe21
improve comments
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31173 72102866-910b-0410-8b05-ffd578937521
2010-08-17 07:35:20 +00:00
Richard Frith-MacDonald
cba4f3d4a5
Simplify buffering and re-use single buffer for registrations and notifications
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31172 72102866-910b-0410-8b05-ffd578937521
2010-08-17 07:28:44 +00:00
Richard Frith-MacDonald
fd9e60c1af
Fixes for bug #28104 by Wolfgang Lux and Richard Frith-Macdonald
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31171 72102866-910b-0410-8b05-ffd578937521
2010-08-17 07:13:05 +00:00
Richard Frith-MacDonald
2e49dafc75
improve comment
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31118 72102866-910b-0410-8b05-ffd578937521
2010-08-11 11:20:52 +00:00
Richard Frith-MacDonald
a11aedbca8
obscure thread-safety fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31108 72102866-910b-0410-8b05-ffd578937521
2010-08-10 18:51:53 +00:00
Richard Frith-MacDonald
50662ad093
avoid some compiler warnings
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31107 72102866-910b-0410-8b05-ffd578937521
2010-08-10 10:38:50 +00:00
Richard Frith-MacDonald
916036fa6d
tweak twelve hour clock support.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31087 72102866-910b-0410-8b05-ffd578937521
2010-08-07 05:02:28 +00:00
Doug Simons
00b4589f91
Fix AM/PM parsing to recognize 12 AM as midnight not noon; require time zone if specified in format
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31084 72102866-910b-0410-8b05-ffd578937521
2010-08-06 16:20:19 +00:00
Nicola Pero
ca9c384b3d
Added hack that should allow to load class lists of frameworks with a relative path (eg, if you have ../../MyFrameworks/ in your LD_LIBRARY_PATH you may be to load a framework with a relative path)
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31037 72102866-910b-0410-8b05-ffd578937521
2010-07-26 14:08:22 +00:00
Richard Frith-MacDonald
37ae0eb8f1
Revert/fix handling of -isEqualToString: for proxies and subclasses.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31018 72102866-910b-0410-8b05-ffd578937521
2010-07-22 06:06:39 +00:00
Richard Frith-MacDonald
6f7bc142f2
fixups for windows api bugs
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31010 72102866-910b-0410-8b05-ffd578937521
2010-07-21 08:24:32 +00:00
David Chisnall
495aa33a99
Added a hack to allow the stuff GSString caches to be re-cached. Ideally we wouldn't be caching any of this stuff (or, with libobjc2, we'd be using the slot mechanism to invalidate the cache when required).
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31005 72102866-910b-0410-8b05-ffd578937521
2010-07-19 17:10:46 +00:00
David Chisnall
3f1a92959d
Do the same stupid thing Apple does (return NO), rather than the stupid thing we were doing (segfault), when passing a proxy as the argument to [NSString isEqualToString:] (which is called by [NSConstantString isEqualToString:] when the argument is a proxy).
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31003 72102866-910b-0410-8b05-ffd578937521
2010-07-19 14:59:15 +00:00
Niels Grewe
c86696f8f7
Add sel_getType_np() function to the ObjectiveC2 compatibility framework.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31001 72102866-910b-0410-8b05-ffd578937521
2010-07-19 09:11:07 +00:00
Richard Frith-MacDonald
2789b9eb70
mingw fixups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30999 72102866-910b-0410-8b05-ffd578937521
2010-07-19 08:54:38 +00:00
Richard Frith-MacDonald
02677e687b
improve handling of user domain paths
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30998 72102866-910b-0410-8b05-ffd578937521
2010-07-19 08:34:29 +00:00
Niels Grewe
4848c265e9
Make NSLocale use information about libicu availablity (perviously, it would
...
never build the ICU stuff because the corresponding macro wasn't defined).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30995 72102866-910b-0410-8b05-ffd578937521
2010-07-19 07:54:52 +00:00
Eric Wasylishen
ed30e20c20
Fix base build with libobjc2
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30988 72102866-910b-0410-8b05-ffd578937521
2010-07-16 18:00:45 +00:00
Richard Frith-MacDonald
feb6ee5d2b
remove excess error log
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30980 72102866-910b-0410-8b05-ffd578937521
2010-07-16 13:19:33 +00:00
David Chisnall
e8e94cfcfb
Fix build with libobjc2.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30967 72102866-910b-0410-8b05-ffd578937521
2010-07-15 09:59:01 +00:00
Richard Frith-MacDonald
2d4d2d6dc4
attempt to get avahi code working without breaking abi.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30957 72102866-910b-0410-8b05-ffd578937521
2010-07-13 12:13:31 +00:00
Niels Grewe
4db2b9cf28
Finnaly working NSNetServices via avahi-client.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30956 72102866-910b-0410-8b05-ffd578937521
2010-07-13 11:41:54 +00:00
Richard Frith-MacDonald
be36bca2ca
fix ivar errors and missing import
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30955 72102866-910b-0410-8b05-ffd578937521
2010-07-13 11:21:46 +00:00
Richard Frith-MacDonald
e5132ff1ad
fixup for abi consistency
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30954 72102866-910b-0410-8b05-ffd578937521
2010-07-13 11:08:11 +00:00
Niels Grewe
96beed18a1
Make base build again after the previous avahi-patch.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30953 72102866-910b-0410-8b05-ffd578937521
2010-07-13 10:59:41 +00:00
Richard Frith-MacDonald
1452902204
Attempt to integrate Niels Grewe's avahi code
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30952 72102866-910b-0410-8b05-ffd578937521
2010-07-13 10:35:13 +00:00
Richard Frith-MacDonald
6534f59613
fixup for error logging
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30913 72102866-910b-0410-8b05-ffd578937521
2010-07-03 05:54:56 +00:00
Niels Grewe
7a35233e0c
Fix makefile to copy common.h into $GNUSTEP_TARGET_DIR so that it is found when
...
building with a non-flattened namespace.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30908 72102866-910b-0410-8b05-ffd578937521
2010-07-01 10:15:37 +00:00
Richard Frith-MacDonald
2edf4d1b0c
emergency fixup for broken build
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30907 72102866-910b-0410-8b05-ffd578937521
2010-07-01 07:17:53 +00:00
David Chisnall
edcd8d0c5d
Added class for catching C++ exceptions. When using libobjc2, you can catch C++ exceptions by writing @catch(CXXException *e). This will wrap the C++ exception in an Objective-C object and allow you to access it by sending a -thrownValue message to the object. This returns a pointer to the exception. For example, if the exception is an integer, you would retrieve it like this from Objective-C:
...
@catch(CXXException *e)
{
int i = *(int*)[e thrownValue];
}
In ObjC++, you can also make sure that it really is an int, by doing:
assert(typeid(int) == *(std::type_info*)[e cxx_type_info]);
These interfaces are experimental and subject to change without notice.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30904 72102866-910b-0410-8b05-ffd578937521
2010-06-30 13:08:22 +00:00
Niels Grewe
c7ef614806
Protect runtime.h from multiple inclusion.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30898 72102866-910b-0410-8b05-ffd578937521
2010-06-30 04:44:03 +00:00
Richard Frith-MacDonald
f3fce06388
Use inttypes.h rather than stdint.h ... supported on more platforms
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30888 72102866-910b-0410-8b05-ffd578937521
2010-06-29 08:23:52 +00:00
Richard Frith-MacDonald
4343741323
add workaround for buggy solaris systems
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30887 72102866-910b-0410-8b05-ffd578937521
2010-06-29 07:02:27 +00:00
Richard Frith-MacDonald
409e5df259
fix bad return value for NSMutableSet-classForCoder
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30878 72102866-910b-0410-8b05-ffd578937521
2010-06-28 14:35:44 +00:00
Richard Frith-MacDonald
3a856711c1
Remove backward compatibility code
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30866 72102866-910b-0410-8b05-ffd578937521
2010-06-26 14:23:07 +00:00
Richard Frith-MacDonald
b417e6bf8c
Workaround for runitme bug.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30864 72102866-910b-0410-8b05-ffd578937521
2010-06-26 14:04:09 +00:00
Richard Frith-MacDonald
f531e36f64
add coding
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30857 72102866-910b-0410-8b05-ffd578937521
2010-06-25 17:57:03 +00:00
Richard Frith-MacDonald
0bc859e03e
Rewrite providing stubs for class without ICU
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30856 72102866-910b-0410-8b05-ffd578937521
2010-06-25 16:42:09 +00:00
Richard Frith-MacDonald
48a9a7cfab
Implement keyed coding for NSURL.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30853 72102866-910b-0410-8b05-ffd578937521
2010-06-25 13:38:06 +00:00
Richard Frith-MacDonald
9b72ce7cd0
Add change checking and NSInteger methods
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30852 72102866-910b-0410-8b05-ffd578937521
2010-06-25 11:53:21 +00:00
Richard Frith-MacDonald
1e0ab98f12
dd autoconf stuff for ICU
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30850 72102866-910b-0410-8b05-ffd578937521
2010-06-25 10:33:55 +00:00
Richard Frith-MacDonald
1de22f472c
initial addition of NSLocale
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30849 72102866-910b-0410-8b05-ffd578937521
2010-06-25 07:18:20 +00:00
Richard Frith-MacDonald
4b6a428200
Fix error in last change (remove unnecessary check).
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30834 72102866-910b-0410-8b05-ffd578937521
2010-06-23 09:00:19 +00:00
Richard Frith-MacDonald
58cf61920a
Tweak path extension handling
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30833 72102866-910b-0410-8b05-ffd578937521
2010-06-23 07:21:01 +00:00
Richard Frith-MacDonald
fd58513127
coding standard tweaks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30824 72102866-910b-0410-8b05-ffd578937521
2010-06-22 17:44:51 +00:00
Dave Wetzel
af2be47796
* Headers/Foundation/NSFileManager.h
...
* Source/NSFileManager.m
add attributesOfItemAtPath:error:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30822 72102866-910b-0410-8b05-ffd578937521
2010-06-22 16:49:34 +00:00
David Chisnall
16c3a7e11d
Fixed #includes in NSBlocks.m
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30803 72102866-910b-0410-8b05-ffd578937521
2010-06-21 17:32:45 +00:00
David Chisnall
1a37e4936f
Added missing source file - I guess that explains why it wasn't included in the make file...
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30802 72102866-910b-0410-8b05-ffd578937521
2010-06-21 17:27:40 +00:00
David Chisnall
4c218bd770
Actually build blocks support...
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30801 72102866-910b-0410-8b05-ffd578937521
2010-06-21 17:16:16 +00:00
Richard Frith-MacDonald
505d3e4a8b
tweak warning
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30784 72102866-910b-0410-8b05-ffd578937521
2010-06-19 10:48:21 +00:00
Richard Frith-MacDonald
5a58a65949
update NSPage functions for windows
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30772 72102866-910b-0410-8b05-ffd578937521
2010-06-17 19:08:08 +00:00
Richard Frith-MacDonald
069f03975c
Improve detection of timezone on some systems.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30765 72102866-910b-0410-8b05-ffd578937521
2010-06-16 10:45:58 +00:00
Richard Frith-MacDonald
fcdd57d05f
minor memory management updates/cleanups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30760 72102866-910b-0410-8b05-ffd578937521
2010-06-16 08:45:49 +00:00
Richard Frith-MacDonald
e92abc1edc
64bit cleanup
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30755 72102866-910b-0410-8b05-ffd578937521
2010-06-16 06:59:19 +00:00
Richard Frith-MacDonald
27b7d3d067
casts for 64bit
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30738 72102866-910b-0410-8b05-ffd578937521
2010-06-15 13:04:15 +00:00
Richard Frith-MacDonald
8da4b69f43
fix last change
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30737 72102866-910b-0410-8b05-ffd578937521
2010-06-15 13:02:36 +00:00
Richard Frith-MacDonald
21cc7900a3
fix potential problem deleting header
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30735 72102866-910b-0410-8b05-ffd578937521
2010-06-15 12:06:12 +00:00
Richard Frith-MacDonald
15f4308a20
various bugfixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30732 72102866-910b-0410-8b05-ffd578937521
2010-06-15 11:26:00 +00:00
Richard Frith-MacDonald
67334b918f
minor portability improvement
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30726 72102866-910b-0410-8b05-ffd578937521
2010-06-15 05:43:38 +00:00
Richard Frith-MacDonald
4ccce03998
trivial indentation fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30725 72102866-910b-0410-8b05-ffd578937521
2010-06-15 05:31:37 +00:00
Riccardo Mottola
37078c8e66
Protect page-aligned and unprotect before freeing.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30719 72102866-910b-0410-8b05-ffd578937521
2010-06-15 00:03:09 +00:00
Riccardo Mottola
f98d543fc1
Protect page-aligned and unprotect before freeing.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30718 72102866-910b-0410-8b05-ffd578937521
2010-06-14 23:52:44 +00:00
Richard Frith-MacDonald
a3b778ce05
fix bad indirection
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30700 72102866-910b-0410-8b05-ffd578937521
2010-06-14 07:09:05 +00:00
Richard Frith-MacDonald
cdd3ef3c76
Number rewrite broke subclasses ... fix to check for that.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30693 72102866-910b-0410-8b05-ffd578937521
2010-06-12 19:13:23 +00:00
Richard Frith-MacDonald
23b7ff95cd
Simplify source by usuing autoconf
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30692 72102866-910b-0410-8b05-ffd578937521
2010-06-12 07:19:26 +00:00
Riccardo Mottola
e574fe480c
fix for defines of _XOPEN_SOURCE
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30680 72102866-910b-0410-8b05-ffd578937521
2010-06-11 19:07:26 +00:00
Richard Frith-MacDonald
dcf5647de3
tweak for performance
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30673 72102866-910b-0410-8b05-ffd578937521
2010-06-11 12:00:02 +00:00
Richard Frith-MacDonald
aa3592307c
minor optimisation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30671 72102866-910b-0410-8b05-ffd578937521
2010-06-11 10:49:21 +00:00
Riccardo Mottola
c646d76a81
attempt of fixing test again
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30659 72102866-910b-0410-8b05-ffd578937521
2010-06-10 23:33:56 +00:00
Richard Frith-MacDonald
fe4fcbe5a1
remove old GC code
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30653 72102866-910b-0410-8b05-ffd578937521
2010-06-10 15:42:54 +00:00
Richard Frith-MacDonald
5289d04e3f
fixup option to control installation of gdomap
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30648 72102866-910b-0410-8b05-ffd578937521
2010-06-10 09:51:40 +00:00
Richard Frith-MacDonald
fc6036c78d
Fix equality check for mime documents.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30645 72102866-910b-0410-8b05-ffd578937521
2010-06-10 09:28:15 +00:00
Richard Frith-MacDonald
00e6f2a9c1
compatibility tweak
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30644 72102866-910b-0410-8b05-ffd578937521
2010-06-10 05:04:55 +00:00
Dave Wetzel
e3a7134ee5
* Source/Additions/GSXML.m:
...
check for NULL string
stringWithUTF8String: raises on OSX if you feed it with a NULL string.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30641 72102866-910b-0410-8b05-ffd578937521
2010-06-09 20:40:41 +00:00
Richard Frith-MacDonald
8442e27d12
reduce copying while decoding multipart mime
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30639 72102866-910b-0410-8b05-ffd578937521
2010-06-09 17:34:19 +00:00
Richard Frith-MacDonald
2436a98ae9
improve comments
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30636 72102866-910b-0410-8b05-ffd578937521
2010-06-09 15:19:01 +00:00
Richard Frith-MacDonald
d2a49f16a8
Fixes for bug #29845 and mime parsing improvements.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30635 72102866-910b-0410-8b05-ffd578937521
2010-06-09 15:03:37 +00:00
Richard Frith-MacDonald
dd5d5ebb4a
Apply Yavor's fix for bug #30094
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30634 72102866-910b-0410-8b05-ffd578937521
2010-06-09 13:26:22 +00:00
Richard Frith-MacDonald
a1d26aa790
attempt fix for bug #30040
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30625 72102866-910b-0410-8b05-ffd578937521
2010-06-08 19:05:04 +00:00
Richard Frith-MacDonald
77aefa83e5
OSX compat tweak
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30622 72102866-910b-0410-8b05-ffd578937521
2010-06-08 16:53:30 +00:00
Richard Frith-MacDonald
2b8d035def
add comment
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30618 72102866-910b-0410-8b05-ffd578937521
2010-06-08 16:17:56 +00:00
Richard Frith-MacDonald
bf8c2e4784
improve fix for broken forwarding
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30617 72102866-910b-0410-8b05-ffd578937521
2010-06-08 15:46:20 +00:00
Richard Frith-MacDonald
94fdf2eb27
simplify last change
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30616 72102866-910b-0410-8b05-ffd578937521
2010-06-08 05:03:14 +00:00
Richard Frith-MacDonald
4e0ef853d3
rework memory management for ffi
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30611 72102866-910b-0410-8b05-ffd578937521
2010-06-07 20:38:19 +00:00
Richard Frith-MacDonald
23fb22bf40
Fix invocation breakage.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30606 72102866-910b-0410-8b05-ffd578937521
2010-06-07 14:43:08 +00:00
Richard Frith-MacDonald
d6a61ddd83
Revert bogus change ... avoid code duplication.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30598 72102866-910b-0410-8b05-ffd578937521
2010-06-07 06:47:24 +00:00
David Chisnall
0409dd3080
Some cleanup of NSObject. Call runtime functions, rather than duplicate their implementation, and only conditionally call some non-portable functions.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30597 72102866-910b-0410-8b05-ffd578937521
2010-06-07 02:50:40 +00:00
David Chisnall
56d015fcd1
Work around some GNU runtime headers spelling isa incorrectly as 'class_pointer'.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30596 72102866-910b-0410-8b05-ffd578937521
2010-06-07 02:47:53 +00:00
David Chisnall
c4bc2cdcf2
Fixed [NSString isEqualToString:] so that it does not depend on the layout of either string. This fixes the case when the parameter is a proxy, and the case when self is a subclass that does not use the GSString layout.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30595 72102866-910b-0410-8b05-ffd578937521
2010-06-07 02:35:27 +00:00
David Chisnall
5f3c8920bd
...and also don't break when sending messages to proxies.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30594 72102866-910b-0410-8b05-ffd578937521
2010-06-07 00:35:28 +00:00
David Chisnall
5e9e5f7de8
Don't infinite loop when trying to send an unimplemented message to an object that doesn't implement -methodSignatureForSelector:
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30593 72102866-910b-0410-8b05-ffd578937521
2010-06-07 00:28:52 +00:00
David Chisnall
885d703079
Correct conditional macro.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30592 72102866-910b-0410-8b05-ffd578937521
2010-06-07 00:27:21 +00:00
David Chisnall
e7f3e84b89
... and check superclasses when checking protocol conformance.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30589 72102866-910b-0410-8b05-ffd578937521
2010-06-06 21:08:14 +00:00
David Chisnall
521538ed20
Imported (working) versions of {class,protocol}_conformsToProtocol() from libobjc2.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30587 72102866-910b-0410-8b05-ffd578937521
2010-06-06 14:07:11 +00:00
David Chisnall
2403f62b07
Don't bother trying to register a thread creation callback with libobjc2 - it's never used.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30561 72102866-910b-0410-8b05-ffd578937521
2010-06-03 17:35:45 +00:00
Richard Frith-MacDonald
6d780ae005
Warn about use of an abbreviation as if it was a name.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30557 72102866-910b-0410-8b05-ffd578937521
2010-06-03 09:07:58 +00:00
Richard Frith-MacDonald
5f757ab480
improve help
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30553 72102866-910b-0410-8b05-ffd578937521
2010-06-03 06:34:32 +00:00
Richard Frith-MacDonald
724f63bde0
Improve debug/warning log
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30552 72102866-910b-0410-8b05-ffd578937521
2010-06-03 06:09:27 +00:00
Richard Frith-MacDonald
c018c05806
remouve unnecessary log
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30544 72102866-910b-0410-8b05-ffd578937521
2010-06-02 15:54:25 +00:00
Richard Frith-MacDonald
87286c7f51
Redo failed commit
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30543 72102866-910b-0410-8b05-ffd578937521
2010-06-02 15:48:43 +00:00
Richard Frith-MacDonald
73b70727b9
improve check for valid zone file
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30540 72102866-910b-0410-8b05-ffd578937521
2010-06-02 10:27:28 +00:00
Richard Frith-MacDonald
c7459ea5fe
improve help/diagnostics
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30537 72102866-910b-0410-8b05-ffd578937521
2010-06-02 09:35:26 +00:00
David Chisnall
775dd86b02
Simplification of some invocation code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30531 72102866-910b-0410-8b05-ffd578937521
2010-06-01 19:35:26 +00:00
Richard Frith-MacDonald
b326d69195
Try to avoid problems on evil systems where the timezone file has wrong name.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30530 72102866-910b-0410-8b05-ffd578937521
2010-06-01 19:30:28 +00:00
Richard Frith-MacDonald
2edf2f4bfb
report source of timezone info.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30529 72102866-910b-0410-8b05-ffd578937521
2010-06-01 19:24:07 +00:00
Richard Frith-MacDonald
fb4c91aeb4
Attempt to support OpenStep style property lists on OSX
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30520 72102866-910b-0410-8b05-ffd578937521
2010-06-01 09:43:28 +00:00
Richard Frith-MacDonald
aa0e8d0de1
support OSX encoding names in addition to IANA registered names.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30510 72102866-910b-0410-8b05-ffd578937521
2010-05-31 09:01:46 +00:00
Richard Frith-MacDonald
3c6801eae6
Revert code which belongs in gdl2 rather than base
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30508 72102866-910b-0410-8b05-ffd578937521
2010-05-31 07:18:54 +00:00
Dave Wetzel
64f6e96d0a
added encodingNamed:
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30507 72102866-910b-0410-8b05-ffd578937521
2010-05-31 06:34:28 +00:00
Richard Frith-MacDonald
2edc03af19
OpenBSD fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30489 72102866-910b-0410-8b05-ffd578937521
2010-05-30 16:06:04 +00:00
Wolfgang Lux
5aa6838ebe
Fix keyed archiving and unarchiving of (mutable) attributed strings
...
with multiple attribute ranges.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30488 72102866-910b-0410-8b05-ffd578937521
2010-05-30 15:16:36 +00:00
Richard Frith-MacDonald
44259dbf9e
attempt fix for bug 29920
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30471 72102866-910b-0410-8b05-ffd578937521
2010-05-29 08:05:03 +00:00
Richard Frith-MacDonald
6388ec9d4f
various minor bugfixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30470 72102866-910b-0410-8b05-ffd578937521
2010-05-29 06:42:38 +00:00
Quentin Mathe
8633b7d611
Added missing support to ValueForKey() as described in Apple Key-Value-Coding guide.
...
-isKey is now treated as a KVC-compliant getter, and _isKey and isKey as
KVC-compliant ivars.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30464 72102866-910b-0410-8b05-ffd578937521
2010-05-28 12:05:07 +00:00
Richard Frith-MacDonald
5d036eee5e
Tweak to allow leading and trailing whitespace in an xml property list.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30454 72102866-910b-0410-8b05-ffd578937521
2010-05-25 11:46:38 +00:00
Richard Frith-MacDonald
fbfc255123
Fix ignorable whitespace in sloppy parser
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30452 72102866-910b-0410-8b05-ffd578937521
2010-05-25 08:25:19 +00:00
Richard Frith-MacDonald
20e7daac62
quick fix t get trunk compiling again.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30444 72102866-910b-0410-8b05-ffd578937521
2010-05-22 04:41:32 +00:00
Riccardo Mottola
2a3ef7b2d9
correctly import config.h
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30443 72102866-910b-0410-8b05-ffd578937521
2010-05-21 21:34:32 +00:00
Richard Frith-MacDonald
27dde9d07b
Attempt to get correct charset for xml parsing.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30441 72102866-910b-0410-8b05-ffd578937521
2010-05-21 17:40:43 +00:00
Riccardo Mottola
67dcff87fa
Guarded stdint.h inclusion
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30438 72102866-910b-0410-8b05-ffd578937521
2010-05-21 11:05:33 +00:00
Richard Frith-MacDonald
b4c85fde93
attempt fix for bug #29910
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30425 72102866-910b-0410-8b05-ffd578937521
2010-05-19 07:01:23 +00:00
David Chisnall
f10a31e6f3
Back-ported fix in Method lookup from libobjc2 to ObjectiveC2. Should fix the DO-related issues (failure to connect to gdnc and so on).
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30409 72102866-910b-0410-8b05-ffd578937521
2010-05-17 13:36:00 +00:00
Richard Frith-MacDonald
9fa57f0eed
don't put frgement in URI in request
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30298 72102866-910b-0410-8b05-ffd578937521
2010-05-05 15:29:55 +00:00
Richard Frith-MacDonald
6c9a892c54
Fix for #29764
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30296 72102866-910b-0410-8b05-ffd578937521
2010-05-05 13:43:42 +00:00
Richard Frith-MacDonald
df6100b46d
Make error code match osx ... still need to populate userInfo dictionaries.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30284 72102866-910b-0410-8b05-ffd578937521
2010-05-03 09:01:26 +00:00
Richard Frith-MacDonald
886aa2d93c
add missing methods
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30283 72102866-910b-0410-8b05-ffd578937521
2010-05-03 06:00:45 +00:00
Fred Kiefer
4ad4022924
Add a few missing 10.4 initWithContentsOfXXX: methods. Fixes part of bug report #29736 .
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30279 72102866-910b-0410-8b05-ffd578937521
2010-05-02 11:02:26 +00:00
Wolfgang Lux
b32ebbe2d7
Fix bug in GSObjCAllSubclassesOfClass that made it return all
...
superclasses instead of all subclasses.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30267 72102866-910b-0410-8b05-ffd578937521
2010-05-01 09:42:52 +00:00
Richard Frith-MacDonald
87a9c8eb99
Fix error spotted by Fred.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30264 72102866-910b-0410-8b05-ffd578937521
2010-04-30 08:29:17 +00:00
Richard Frith-MacDonald
25b1c8549e
fix for #29720
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30263 72102866-910b-0410-8b05-ffd578937521
2010-04-30 07:30:27 +00:00
Wolfgang Lux
2057a4b58f
Use local labels in PowerPC assembler code of GSAtomic{In,De}crement
...
to avoid a compile error when this code is inlined more than once. In
addition, use the optimized assembler definitions also on PowerPC
machines running Darwin/Mac OS X.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30239 72102866-910b-0410-8b05-ffd578937521
2010-04-26 21:32:22 +00:00
Richard Frith-MacDonald
e57aa98a34
revert accidental commit
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30224 72102866-910b-0410-8b05-ffd578937521
2010-04-23 16:05:55 +00:00
Richard Frith-MacDonald
6aa7aea38c
fix OSX specific file to not build elsewhere
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30223 72102866-910b-0410-8b05-ffd578937521
2010-04-23 15:59:50 +00:00
Dave Wetzel
9e723901b6
* Source/Additions/Unicode.m: replace objc_malloc with NSZoneMalloc
...
and objc_free with NSZoneFree
* Source/Additions/NSFileHandle+GNUstepBase.m: should work with ipv6
(The old code does fail on Snow Leopard, even with ipv4 addresses.)
* Source/Additions/GSXML.m: added GSObjCRuntime.h
* Headers/Additions/GNUstepBase/GSObjCRuntime.h:
replace objc_malloc with NSZoneMalloc and objc_free with NSZoneFree
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30221 72102866-910b-0410-8b05-ffd578937521
2010-04-23 04:06:17 +00:00
Richard Frith-MacDonald
4707e0b7e4
fix broken tool resource lookup
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30212 72102866-910b-0410-8b05-ffd578937521
2010-04-21 21:49:12 +00:00
Richard Frith-MacDonald
7ca7f7318a
Fix for NSRange forwarding on 64bit systems
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30195 72102866-910b-0410-8b05-ffd578937521
2010-04-19 08:16:13 +00:00
Nicola Pero
40d25d9fea
Fixed installation-domains.conf on Windows - merged back the path configuration into the main configure script to do it. Minor other fixes to configuration.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30180 72102866-910b-0410-8b05-ffd578937521
2010-04-18 18:18:45 +00:00
Richard Frith-MacDonald
208754bb01
thread unregistering fixup
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30174 72102866-910b-0410-8b05-ffd578937521
2010-04-16 18:18:43 +00:00
Richard Frith-MacDonald
4e146f7ab9
Attempt leak fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30168 72102866-910b-0410-8b05-ffd578937521
2010-04-15 16:27:23 +00:00
David Chisnall
adb40eaad6
Fixed some warnings.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30156 72102866-910b-0410-8b05-ffd578937521
2010-04-14 12:37:23 +00:00
Richard Frith-MacDonald
00164a28ed
Workaround for buggy runtime functions.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30154 72102866-910b-0410-8b05-ffd578937521
2010-04-14 11:52:21 +00:00
Richard Frith-MacDonald
4da5c940ab
revert reversion ... i was wrong about jigs
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30150 72102866-910b-0410-8b05-ffd578937521
2010-04-14 10:39:05 +00:00
Richard Frith-MacDonald
0017de868c
revert change which broke jigs
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30147 72102866-910b-0410-8b05-ffd578937521
2010-04-14 09:18:12 +00:00
Richard Frith-MacDonald
cfa8831721
osx compatibility tweak.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30140 72102866-910b-0410-8b05-ffd578937521
2010-04-13 18:37:09 +00:00
Richard Frith-MacDonald
73453c90f0
tweak
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30136 72102866-910b-0410-8b05-ffd578937521
2010-04-13 10:58:40 +00:00
Richard Frith-MacDonald
ef3cefc545
Fix linked list traversal error
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30135 72102866-910b-0410-8b05-ffd578937521
2010-04-13 10:44:58 +00:00
Richard Frith-MacDonald
d365d287cf
improve documentation ... really runtime features but we don't have dos for that
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30125 72102866-910b-0410-8b05-ffd578937521
2010-04-12 11:19:08 +00:00
Richard Frith-MacDonald
8c2c54e7c8
remove obsolete header
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30123 72102866-910b-0410-8b05-ffd578937521
2010-04-11 17:20:10 +00:00
Doug Simons
a3a7e0f167
fix NSHomeDirectory() to return more useful value on Windows
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30102 72102866-910b-0410-8b05-ffd578937521
2010-04-07 20:45:17 +00:00
David Chisnall
9e9b30672a
Make NSTask use vfork() instead of fork(). Not sure why this wasn't done already - you should only use fork() when you're creating a child process that isn't calling execv() immediately afterwards. This should make creating an NSTask a lot faster (especially on Windows where fork() is implemented with some horribly complex hacks but vfork just sets a few flags and calls setjmp()).
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30101 72102866-910b-0410-8b05-ffd578937521
2010-04-07 18:37:54 +00:00
Richard Frith-MacDonald
0d1923708f
fix possible descriptor leak
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30100 72102866-910b-0410-8b05-ffd578937521
2010-04-07 14:56:51 +00:00
Richard Frith-MacDonald
f1b8b4171e
simplify a little
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30094 72102866-910b-0410-8b05-ffd578937521
2010-04-07 06:46:01 +00:00
Wolfgang Lux
21dd778c1f
Fix the defunct test for the standard structure types in cifframe_type.
...
The failure to detect those types was causing a substantial space leak
in some gui applications.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30093 72102866-910b-0410-8b05-ffd578937521
2010-04-06 16:49:44 +00:00
Richard Frith-MacDonald
594bb610a2
fixup bool
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30061 72102866-910b-0410-8b05-ffd578937521
2010-03-28 08:04:56 +00:00
Richard Frith-MacDonald
7f0fa52133
override unimplemented getter methods of superclass.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30060 72102866-910b-0410-8b05-ffd578937521
2010-03-28 07:58:15 +00:00
Doug Simons
929cc7b2d9
Avoid crash on Windows
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30040 72102866-910b-0410-8b05-ffd578937521
2010-03-25 23:28:52 +00:00
Riccardo Mottola
462f5721ab
change defines for GNU/HURD
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30039 72102866-910b-0410-8b05-ffd578937521
2010-03-25 22:53:21 +00:00
Riccardo Mottola
cb4c554422
Atomic increment and decrement functions for mips
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30020 72102866-910b-0410-8b05-ffd578937521
2010-03-23 00:03:21 +00:00
Richard Frith-MacDonald
176a96d55f
tweaks for mingw defines
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30003 72102866-910b-0410-8b05-ffd578937521
2010-03-19 12:26:42 +00:00
Richard Frith-MacDonald
f784646663
generalize define from __MINGW32__ to __MINGW__
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30001 72102866-910b-0410-8b05-ffd578937521
2010-03-19 12:10:11 +00:00
Richard Frith-MacDonald
97653c21a2
Made experimental API for sending emails available.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29999 72102866-910b-0410-8b05-ffd578937521
2010-03-18 09:56:51 +00:00
Richard Frith-MacDonald
fd040a69b3
fix for bug #29203
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29996 72102866-910b-0410-8b05-ffd578937521
2010-03-18 05:04:44 +00:00
Richard Frith-MacDonald
2862bb966e
commit to make backup of work-in-progress
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29995 72102866-910b-0410-8b05-ffd578937521
2010-03-17 15:46:20 +00:00
Richard Frith-MacDonald
20864d7e59
attempt memory leak fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29993 72102866-910b-0410-8b05-ffd578937521
2010-03-17 11:28:04 +00:00
Richard Frith-MacDonald
66749afa77
fixup comment
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29990 72102866-910b-0410-8b05-ffd578937521
2010-03-17 06:00:14 +00:00
Richard Frith-MacDonald
dbac8196e3
apply bularian locale patch by Yavor Doganov
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29987 72102866-910b-0410-8b05-ffd578937521
2010-03-17 05:45:15 +00:00
Richard Frith-MacDonald
b47fbf5094
added mingw64 tweaks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29983 72102866-910b-0410-8b05-ffd578937521
2010-03-16 15:08:20 +00:00
Richard Frith-MacDonald
adb3c1b275
optimisation for adding large ranges of characters.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29982 72102866-910b-0410-8b05-ffd578937521
2010-03-16 15:03:41 +00:00
Richard Frith-MacDonald
cef862d077
add new coding version for 64bit
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29980 72102866-910b-0410-8b05-ffd578937521
2010-03-16 13:03:36 +00:00
Richard Frith-MacDonald
73a7d8c52f
mingw tweaks suggested by Vincent Richomme
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29972 72102866-910b-0410-8b05-ffd578937521
2010-03-16 06:19:02 +00:00
Richard Frith-MacDonald
ddffb6eec3
include malloc.h for alloc() on platforms where it isn't in alloca.h
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29971 72102866-910b-0410-8b05-ffd578937521
2010-03-16 06:11:00 +00:00
Adam Fedor
158495848a
Define INADDR_NONE for Solaris.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29968 72102866-910b-0410-8b05-ffd578937521
2010-03-15 18:53:26 +00:00
Fred Kiefer
b6456d570d
* Source/NSString.m (-initWithCoder:): Handle format used for XIB
...
encoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29962 72102866-910b-0410-8b05-ffd578937521
2010-03-15 12:43:49 +00:00
Adam Fedor
c2b8427723
Correct format syntax
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29954 72102866-910b-0410-8b05-ffd578937521
2010-03-14 19:05:57 +00:00
Richard Frith-MacDonald
9dfc6b7a26
check for use of uninitialized exception
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29936 72102866-910b-0410-8b05-ffd578937521
2010-03-14 05:37:49 +00:00
Richard Frith-MacDonald
a7653da42c
osx fixups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29909 72102866-910b-0410-8b05-ffd578937521
2010-03-12 14:01:36 +00:00
Richard Frith-MacDonald
1cf58483e2
tweak for OSX build
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29908 72102866-910b-0410-8b05-ffd578937521
2010-03-12 13:55:11 +00:00
Richard Frith-MacDonald
3d40713794
make subclassing easier
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29907 72102866-910b-0410-8b05-ffd578937521
2010-03-12 09:14:39 +00:00
Gregory John Casamento
b5dbc1afc5
* Source/GNUmakefile: Remove reference to synchonization.m.
...
* Source/synchronization.m: Remove, since ObjectiveC2 has been
merged.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29903 72102866-910b-0410-8b05-ffd578937521
2010-03-11 17:11:25 +00:00
Richard Frith-MacDonald
8632d7f34a
improve setting of warning flags
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29899 72102866-910b-0410-8b05-ffd578937521
2010-03-11 08:08:08 +00:00
Richard Frith-MacDonald
ee25a8f059
improve exception support
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29898 72102866-910b-0410-8b05-ffd578937521
2010-03-11 07:22:10 +00:00
Riccardo Mottola
19e49c3314
use proper _XOPEN_SOURCE instead of __USE_UNIX98 to enable needed thread features on glibc
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29897 72102866-910b-0410-8b05-ffd578937521
2010-03-10 17:37:00 +00:00
Richard Frith-MacDonald
5e196f549a
minor safety tweak
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29896 72102866-910b-0410-8b05-ffd578937521
2010-03-10 16:10:13 +00:00
Adam Fedor
2ab694c838
Add default Content-Type to POST methods if none is present.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29895 72102866-910b-0410-8b05-ffd578937521
2010-03-10 14:55:00 +00:00
Richard Frith-MacDonald
e21f059bf0
fix includes to iumports
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29894 72102866-910b-0410-8b05-ffd578937521
2010-03-10 14:53:51 +00:00
Adam Fedor
3eefcc5e1b
Finish implementation
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29893 72102866-910b-0410-8b05-ffd578937521
2010-03-10 03:50:21 +00:00
Riccardo Mottola
d3f8674ce0
use proper _XOPEN_SOURCE instead of __USE_UNIX98 to enable needed thread features on glibc
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29892 72102866-910b-0410-8b05-ffd578937521
2010-03-09 23:57:24 +00:00
Richard Frith-MacDonald
b9070bdab8
check for loss of data on decoding
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29887 72102866-910b-0410-8b05-ffd578937521
2010-03-09 10:09:01 +00:00
Richard Frith-MacDonald
15d72232b5
fix 64bit unarchiving error
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29886 72102866-910b-0410-8b05-ffd578937521
2010-03-09 06:56:49 +00:00
Richard Frith-MacDonald
811f447efe
rather useless changes to keep testsuite happy on osx compatibility
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29885 72102866-910b-0410-8b05-ffd578937521
2010-03-08 21:44:38 +00:00
Richard Frith-MacDonald
82a47f512d
OSX compatibility tweaks for class_getName()
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29881 72102866-910b-0410-8b05-ffd578937521
2010-03-08 17:25:47 +00:00
Richard Frith-MacDonald
243ff737df
Apply Roland Schwingel's filesystem number fix for windows.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29880 72102866-910b-0410-8b05-ffd578937521
2010-03-08 12:49:43 +00:00
Richard Frith-MacDonald
e55e203dda
apply fix by Roland Schwingel
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29879 72102866-910b-0410-8b05-ffd578937521
2010-03-08 12:36:37 +00:00
Richard Frith-MacDonald
f74a059bb4
fix position of assert
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29878 72102866-910b-0410-8b05-ffd578937521
2010-03-08 12:11:03 +00:00
Richard Frith-MacDonald
9364b39deb
revrt archiving changes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29877 72102866-910b-0410-8b05-ffd578937521
2010-03-08 12:07:11 +00:00
Richard Frith-MacDonald
42db2fdf50
Improve debug
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29874 72102866-910b-0410-8b05-ffd578937521
2010-03-08 09:27:48 +00:00
Richard Frith-MacDonald
ef0c9453f8
improve debug
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29873 72102866-910b-0410-8b05-ffd578937521
2010-03-08 08:09:49 +00:00
Richard Frith-MacDonald
3132d54a5d
64bit fixups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29872 72102866-910b-0410-8b05-ffd578937521
2010-03-08 07:06:47 +00:00
Richard Frith-MacDonald
22f8bdb8c4
64 bit fixups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29871 72102866-910b-0410-8b05-ffd578937521
2010-03-08 06:43:14 +00:00
Fred Kiefer
bd80e23aa8
* Source/GSArray.m: Re-add [GSMutableArray count]. Change all
...
method parameters from int or unsigned to NSUInteger to match
super classes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29867 72102866-910b-0410-8b05-ffd578937521
2010-03-07 21:33:38 +00:00
Richard Frith-MacDonald
026d6fc751
Add mechanism for gdl2.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29866 72102866-910b-0410-8b05-ffd578937521
2010-03-07 13:35:07 +00:00
Richard Frith-MacDonald
f59ba481f0
Move NSStream addition declarations to separate file.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29853 72102866-910b-0410-8b05-ffd578937521
2010-03-05 12:41:40 +00:00
Richard Frith-MacDonald
1a4662001d
Remove obsolete headers
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29850 72102866-910b-0410-8b05-ffd578937521
2010-03-05 10:32:15 +00:00
Richard Frith-MacDonald
51873b4873
remove obsolete files
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29848 72102866-910b-0410-8b05-ffd578937521
2010-03-05 09:41:24 +00:00
Richard Frith-MacDonald
39fc4419b0
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
Richard Frith-MacDonald
4451967349
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
Richard Frith-MacDonald
45568ac01f
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
Richard Frith-MacDonald
626bf5b2bd
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
Richard Frith-MacDonald
acf69942e9
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
Richard Frith-MacDonald
ef908fbb5b
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
Richard Frith-MacDonald
e08da453bc
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
Richard Frith-MacDonald
b730fa45c0
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
Richard Frith-MacDonald
946ea79113
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
Richard Frith-MacDonald
a0cb694b69
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
Richard Frith-MacDonald
efa7b5a141
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
Richard Frith-MacDonald
102df587f7
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
Doug Simons
cb757f4794
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
Richard Frith-MacDonald
09666b5d16
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
Richard Frith-MacDonald
542a7c3d80
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
Richard Frith-MacDonald
d3d912d5ef
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
Richard Frith-MacDonald
7b12d4cc8e
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
Richard Frith-MacDonald
f710cb72e9
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
Richard Frith-MacDonald
e98d8f6da5
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
David Chisnall
1fed8159bb
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
Richard Frith-MacDonald
470d0b18f2
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
Richard Frith-MacDonald
05b7bfa194
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
Richard Frith-MacDonald
28cfc13ea0
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
Richard Frith-MacDonald
7cd08f07f5
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
Richard Frith-MacDonald
bbc0ddd60f
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
Richard Frith-MacDonald
c0c7403c0f
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
Richard Frith-MacDonald
45f7a62f6d
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
Richard Frith-MacDonald
b1b69523be
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
Richard Frith-MacDonald
8f0addafa2
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
Richard Frith-MacDonald
299c3aefeb
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
Thomas Gamper
dbf747d3e5
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
Richard Frith-MacDonald
d02d2c70f9
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
Richard Frith-MacDonald
8aadd12c71
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
Richard Frith-MacDonald
a0a018b4c5
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
Richard Frith-MacDonald
fab825f3bb
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
Richard Frith-MacDonald
74736d8ef4
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
Richard Frith-MacDonald
6b3e53917e
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
Richard Frith-MacDonald
e43d625338
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
Richard Frith-MacDonald
f088bceae8
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
Richard Frith-MacDonald
f4934c2b55
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
Richard Frith-MacDonald
0ff124d738
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
Richard Frith-MacDonald
b9989af6c5
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
Richard Frith-MacDonald
c2536c80a4
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
Richard Frith-MacDonald
3ab6efc8dd
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
Richard Frith-MacDonald
166f1afb4b
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
Richard Frith-MacDonald
7e78433a35
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
Richard Frith-MacDonald
648c9eb30d
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
Richard Frith-MacDonald
3d42c698b8
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
Richard Frith-MacDonald
1e84a84c04
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
Richard Frith-MacDonald
ed61c48af2
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
Richard Frith-MacDonald
16e2cea32d
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
Richard Frith-MacDonald
233f362171
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
Richard Frith-MacDonald
14b91c9052
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
Richard Frith-MacDonald
145a5670bf
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
Richard Frith-MacDonald
6e0a10b494
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
Richard Frith-MacDonald
0d8647856e
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
Richard Frith-MacDonald
62939c969a
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
Richard Frith-MacDonald
f6f61cb578
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
Richard Frith-MacDonald
9765991e86
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
Richard Frith-MacDonald
c07dc48eb3
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
Richard Frith-MacDonald
3968c44cec
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
Richard Frith-MacDonald
a96a292c63
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
Richard Frith-MacDonald
b1e904b3ae
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
Richard Frith-MacDonald
6a0663533a
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
Richard Frith-MacDonald
8da37b5bf9
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
Richard Frith-MacDonald
4497ba7bdd
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
Riccardo Mottola
8c193f64c3
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
Riccardo Mottola
6c01a9f968
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
Richard Frith-MacDonald
01e196ea33
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
Richard Frith-MacDonald
8b13638be9
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
Fred Kiefer
36da53fca3
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
Richard Frith-MacDonald
4b0d69d837
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
Wolfgang Lux
69c7b2d054
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
Wolfgang Lux
9f114f8cee
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
Richard Frith-MacDonald
fe0c983a05
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
Richard Frith-MacDonald
225e580a9f
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
Richard Frith-MacDonald
481dce9c15
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
Richard Frith-MacDonald
8769dd8b6f
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
Richard Frith-MacDonald
80be6b9067
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
Richard Frith-MacDonald
76debb89f3
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
Richard Frith-MacDonald
dd42cc24ba
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
Richard Frith-MacDonald
ec2ebc1c47
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
Richard Frith-MacDonald
c7fc73ec19
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
Richard Frith-MacDonald
d819b3a645
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
Richard Frith-MacDonald
012fa8e513
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
Richard Frith-MacDonald
42143bb921
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
Richard Frith-MacDonald
8d72e6f951
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
Richard Frith-MacDonald
08e1c8703c
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
Richard Frith-MacDonald
073595b9e9
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
Richard Frith-MacDonald
7cc69dfaae
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
Richard Frith-MacDonald
14a557fcd7
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
Richard Frith-MacDonald
85760d2563
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
Richard Frith-MacDonald
6a1ff80510
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
Richard Frith-MacDonald
cccddb4573
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
Richard Frith-MacDonald
746afbcb53
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
Richard Frith-MacDonald
7cd2a7551b
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
Richard Frith-MacDonald
b0e48ab456
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
Richard Frith-MacDonald
92bceae15f
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
Richard Frith-MacDonald
c8a6832349
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
Richard Frith-MacDonald
43bcaac3ad
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
Richard Frith-MacDonald
563261266c
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
Richard Frith-MacDonald
7c835b66a7
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
Richard Frith-MacDonald
7e8e79ae94
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
Wolfgang Lux
c815ae549b
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
Richard Frith-MacDonald
2d237c91ae
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
Richard Frith-MacDonald
d763014aa5
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
Fred Kiefer
942806e3ee
* 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
Richard Frith-MacDonald
5297a2e32b
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
Richard Frith-MacDonald
e13fce3def
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
Richard Frith-MacDonald
d2f84d8995
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
Richard Frith-MacDonald
90d79190f3
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
David Chisnall
15aa0e6fbb
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
Richard Frith-MacDonald
eda0f191e7
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
David Chisnall
99cb20ae16
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
Richard Frith-MacDonald
79ce6ac700
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
Richard Frith-MacDonald
21d597e740
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
David Chisnall
6bf6ec959b
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 Pero
071e91adab
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 Pero
08d4ae4d8d
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
Riccardo Mottola
adecb6d9fe
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
Richard Frith-MacDonald
55d4f390aa
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
Richard Frith-MacDonald
d280d6ba60
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
Richard Frith-MacDonald
166ad33aa4
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
Richard Frith-MacDonald
baf489409c
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
Jonathan Gillaspie
afbeacef8b
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
Richard Frith-MacDonald
6c84f23ae1
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
Richard Frith-MacDonald
0dec7f1b97
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
Richard Frith-MacDonald
9f98d4c443
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
Richard Frith-MacDonald
1a353d2514
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
Richard Frith-MacDonald
1c11dee837
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
Richard Frith-MacDonald
21e9e1231f
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
Richard Frith-MacDonald
7f2d7d10eb
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
Jonathan Gillaspie
d85c001251
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
Richard Frith-MacDonald
367d552a3b
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
Richard Frith-MacDonald
e9cdf2ec94
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
Richard Frith-MacDonald
a14a8a49b6
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
Richard Frith-MacDonald
b8ccc9459d
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
Fred Kiefer
3f8bdadc33
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
David Chisnall
e06564cf1b
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
Richard Frith-MacDonald
7f21dcbbea
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
Richard Frith-MacDonald
a15a02db18
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
Richard Frith-MacDonald
49a063af84
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
David Chisnall
c1ed4743d1
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
Richard Frith-MacDonald
ec6e3d6f54
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
Richard Frith-MacDonald
b662140e16
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
Richard Frith-MacDonald
39d2ab833a
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
Richard Frith-MacDonald
a4ad8f1b90
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
Richard Frith-MacDonald
62ca624e12
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
Quentin Mathe
4147368f90
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
Richard Frith-MacDonald
0cbf8db121
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
Richard Frith-MacDonald
e13a513f78
Tidied for consistency
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29262 72102866-910b-0410-8b05-ffd578937521
2010-01-11 12:49:18 +00:00
Richard Frith-MacDonald
b43991f8f6
fixups in changes made to avoid compiler warnings.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29261 72102866-910b-0410-8b05-ffd578937521
2010-01-11 12:38:37 +00:00
Richard Frith-MacDonald
93b94d87b2
Fix error in class for zombie
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29259 72102866-910b-0410-8b05-ffd578937521
2010-01-11 11:29:44 +00:00
Richard Frith-MacDonald
b1976d23bb
avoid compiler warnings
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29258 72102866-910b-0410-8b05-ffd578937521
2010-01-11 11:23:03 +00:00
Fred Kiefer
07b2bd4491
Set the concrete class, when this isn't already set. This was causing
...
compilation problems on gui with gcc 4.4
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29257 72102866-910b-0410-8b05-ffd578937521
2010-01-11 11:12:02 +00:00
Richard Frith-MacDonald
87b9234f30
fix typo
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29255 72102866-910b-0410-8b05-ffd578937521
2010-01-10 15:43:05 +00:00
Richard Frith-MacDonald
87c6d320c5
Tweaks for building with clang
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29254 72102866-910b-0410-8b05-ffd578937521
2010-01-10 14:38:16 +00:00
Richard Frith-MacDonald
83b5863735
tweak to avoid clang compilation failure
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29251 72102866-910b-0410-8b05-ffd578937521
2010-01-09 19:26:59 +00:00
Richard Frith-MacDonald
445ea4b5cb
OSX compatibility update for newline character set.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29249 72102866-910b-0410-8b05-ffd578937521
2010-01-09 07:45:18 +00:00
Richard Frith-MacDonald
1c4d02d09d
Fix for exception handling with libobjc2
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29247 72102866-910b-0410-8b05-ffd578937521
2010-01-09 07:24:05 +00:00
Eric Wasylishen
d4cee6fc57
Implement +[NSCharacterSet newlineCharacterSet]
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29219 72102866-910b-0410-8b05-ffd578937521
2010-01-05 22:28:12 +00:00
David Chisnall
c5103403f6
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
David Chisnall
9e003700b4
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
David Chisnall
41eb58f807
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
David Chisnall
34c77138fc
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
David Chisnall
05f18160df
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
David Chisnall
de2a3ce038
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
David Chisnall
a19f62698a
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
David Chisnall
ea5f15deb0
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
Wolfgang Lux
37b81067e9
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
Gregory John Casamento
6797a06652
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
David Chisnall
c19a717b67
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
Gregory John Casamento
e96f74362f
* 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
Richard Frith-MacDonald
c7a2108c66
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
Gregory John Casamento
1292e4a62d
* 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
Richard Frith-MacDonald
74b7774beb
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
Richard Frith-MacDonald
cc2898292c
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
Richard Frith-MacDonald
cac753d5df
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
Richard Frith-MacDonald
ae04fdffe6
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
Richard Frith-MacDonald
a961de6c5d
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
Richard Frith-MacDonald
925df9eb91
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
Richard Frith-MacDonald
405dbae6f0
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
Richard Frith-MacDonald
0c3268b9d9
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
Richard Frith-MacDonald
99b0669aff
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
Richard Frith-MacDonald
20a22bee1b
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
Richard Frith-MacDonald
7b2b18f8ef
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
Richard Frith-MacDonald
449c94d4f6
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
Richard Frith-MacDonald
b92879f11d
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
Richard Frith-MacDonald
e0c9ae4e2d
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
Richard Frith-MacDonald
48499df0dd
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
Richard Frith-MacDonald
3992cde903
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
Wolfgang Lux
26ec2df638
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
Richard Frith-MacDonald
39bb68003d
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
Richard Frith-MacDonald
5a6ce46276
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
David Chisnall
9eb8d1d49b
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
Richard Frith-MacDonald
19796a1465
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
Richard Frith-MacDonald
a3d9656e82
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
Richard Frith-MacDonald
02a93a74af
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
Richard Frith-MacDonald
3d9e3eee57
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
Adam Fedor
b3a520b2fe
* 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
Wolfgang Lux
acb28bb1c2
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
Richard Frith-MacDonald
9d215e7e76
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
Richard Frith-MacDonald
20d59a0d7a
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
Richard Frith-MacDonald
febe972488
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
Richard Frith-MacDonald
70af2643ac
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
Richard Frith-MacDonald
e4a6d046be
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
Richard Frith-MacDonald
d0bd5c8983
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
Richard Frith-MacDonald
a6c9c8749a
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
Richard Frith-MacDonald
715bdcaa0a
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
Richard Frith-MacDonald
e93dcbf681
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
Richard Frith-MacDonald
3f7f5e5410
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
Richard Frith-MacDonald
2f0e07d89a
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
Richard Frith-MacDonald
0f5dd1c798
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
Richard Frith-MacDonald
a8eba2055d
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
Richard Frith-MacDonald
e06f2305f0
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
Richard Frith-MacDonald
fcc33c1b71
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
Richard Frith-MacDonald
7b1dbbff0b
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
Richard Frith-MacDonald
d33b6b24b8
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
Richard Frith-MacDonald
49dd10cc29
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
Richard Frith-MacDonald
8e2d2ce1e1
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
Richard Frith-MacDonald
c0f76095d1
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
David Chisnall
1874665069
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
Richard Frith-MacDonald
77a7398d4a
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
Richard Frith-MacDonald
40ee16100f
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
Richard Frith-MacDonald
3a5b932776
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
Richard Frith-MacDonald
09e3aa92a4
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
Richard Frith-MacDonald
bc608fda5a
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
Richard Frith-MacDonald
f897f31dff
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
David Chisnall
7f8c48ddfc
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
Richard Frith-MacDonald
c81da3592a
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
Richard Frith-MacDonald
04e3fff827
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
Richard Frith-MacDonald
6f8f291819
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
Richard Frith-MacDonald
fd54363e2c
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
Richard Frith-MacDonald
447a3d1c69
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
Richard Frith-MacDonald
6455c3e533
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
Richard Frith-MacDonald
75638580ff
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
Richard Frith-MacDonald
9f774be2d7
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
Richard Frith-MacDonald
8e731e7976
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
Richard Frith-MacDonald
e1eae65cf7
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
Richard Frith-MacDonald
640ae938c6
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
Richard Frith-MacDonald
bed83a2f29
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
David Chisnall
95c9e08026
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
David Chisnall
47eab60ed8
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
Richard Frith-MacDonald
0836fd9bd7
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
Richard Frith-MacDonald
55a63e4299
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
Richard Frith-MacDonald
f33f3bd78d
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
Richard Frith-MacDonald
53578362aa
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
Richard Frith-MacDonald
e87323edef
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
Richard Frith-MacDonald
65fb6dd5ac
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
Richard Frith-MacDonald
d4dafeef76
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
Richard Frith-MacDonald
b3bb5d96da
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
Richard Frith-MacDonald
a456517b42
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
Richard Frith-MacDonald
f494169e94
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
Richard Frith-MacDonald
36e7376518
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
Richard Frith-MacDonald
14a28f5b7c
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
Richard Frith-MacDonald
826cd93801
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
Richard Frith-MacDonald
1cf4c0937c
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
Richard Frith-MacDonald
6b1b12123a
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
Richard Frith-MacDonald
d626a852e5
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
Richard Frith-MacDonald
418330b29d
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
David Chisnall
f78dd03c31
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
David Chisnall
852e924f52
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
David Chisnall
29faf077e7
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
David Chisnall
0aa15f423c
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
Richard Frith-MacDonald
b4ddaee78f
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
David Chisnall
0e49e6e9fb
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
David Chisnall
28618978db
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
David Chisnall
39c9ec5afd
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
David Chisnall
a9639aa3fa
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
David Chisnall
d7a877b871
* 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
Richard Frith-MacDonald
9f5f6bc382
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
Richard Frith-MacDonald
cf4727020b
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
Richard Frith-MacDonald
6bbe31c18d
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
David Chisnall
c00f54bafb
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
Richard Frith-MacDonald
9c2b204c13
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
Richard Frith-MacDonald
8f97c8ffc9
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
Richard Frith-MacDonald
170735a3cd
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
Richard Frith-MacDonald
8b6eceecb0
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
Richard Frith-MacDonald
4effabf601
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
Richard Frith-MacDonald
5975ccf95f
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
Richard Frith-MacDonald
ae54787ec6
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
Richard Frith-MacDonald
e7db98165f
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
Richard Frith-MacDonald
4e94a49ba8
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
Gregory John Casamento
7ef7e59996
* 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
Riccardo Mottola
f85c3f0696
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
Gregory John Casamento
0165b34372
* 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
Richard Frith-MacDonald
69c24bb774
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
Richard Frith-MacDonald
e7ce602ad2
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
David Chisnall
0fc392ad98
* 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
Richard Frith-MacDonald
be2e15241e
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
Richard Frith-MacDonald
8bb52dbcb0
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
Fred Kiefer
a0a8b12b75
* 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
Richard Frith-MacDonald
2b955930b1
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
Richard Frith-MacDonald
bca4c6dd98
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
Richard Frith-MacDonald
883af7762c
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
Richard Frith-MacDonald
10d2d0016c
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
Richard Frith-MacDonald
fbb35d1684
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
Richard Frith-MacDonald
1d27f3f372
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
Richard Frith-MacDonald
ec72fa58ba
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
Richard Frith-MacDonald
9d4d268acd
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
Richard Frith-MacDonald
7130a0a8c3
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
Richard Frith-MacDonald
4720907528
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
Richard Frith-MacDonald
3de3d7bd49
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
David Ayers
f07bf5fa53
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
Richard Frith-MacDonald
3bf7a26b78
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
Richard Frith-MacDonald
abc61b49c3
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
Richard Frith-MacDonald
4567f1790d
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
Richard Frith-MacDonald
2fd57dd537
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
Gregory John Casamento
575500fdf2
* 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
Gregory John Casamento
8ee18b36c7
* 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
Richard Frith-MacDonald
2e2d640c4d
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
Richard Frith-MacDonald
f9e8e9c0b8
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
Richard Frith-MacDonald
9f85884bfd
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
Richard Frith-MacDonald
30ed7e0612
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
Richard Frith-MacDonald
bba0d6cfc7
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
Richard Frith-MacDonald
6215b5cae8
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
Richard Frith-MacDonald
940c602e67
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
Richard Frith-MacDonald
0007b42900
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
Richard Frith-MacDonald
80fe7ffde0
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
Richard Frith-MacDonald
8de03b5ceb
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
Richard Frith-MacDonald
290b9c6a29
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
Richard Frith-MacDonald
f0712303f8
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
Richard Frith-MacDonald
01d0fe9852
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
Richard Frith-MacDonald
69689235ad
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
Richard Frith-MacDonald
025788b20a
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
Richard Frith-MacDonald
39839cb227
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
Wolfgang Lux
9c86cf78f2
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
Richard Frith-MacDonald
9a886d9d6f
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
Richard Frith-MacDonald
29e53516ff
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
Gregory John Casamento
a4996f8d05
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
Richard Frith-MacDonald
f6aa65817a
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
Wolfgang Lux
390aad3427
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
Riccardo Mottola
f3723a5426
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 Pero
24bd346ee5
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
Richard Frith-MacDonald
bfc3312586
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
Richard Frith-MacDonald
c84840d917
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
Richard Frith-MacDonald
8904aada4f
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
Richard Frith-MacDonald
1d8d31ddcd
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
Richard Frith-MacDonald
a2348e55ae
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
Richard Frith-MacDonald
59851c2ad3
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
Richard Frith-MacDonald
e672584425
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
Richard Frith-MacDonald
81da5c447a
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
Adam Fedor
ce8971870d
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
Fred Kiefer
d2b68390e5
* 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
Richard Frith-MacDonald
9d4757988c
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
Riccardo Mottola
c93e4be8fb
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
Richard Frith-MacDonald
14d0adbb8b
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
Richard Frith-MacDonald
d28ec5d0c3
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
Richard Frith-MacDonald
9faaf05aff
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
Richard Frith-MacDonald
487090a426
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
Richard Frith-MacDonald
e8db6ca052
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
Richard Frith-MacDonald
a17d3c29b0
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
Richard Frith-MacDonald
03fd0648a2
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
Richard Frith-MacDonald
292d546cd9
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
Richard Frith-MacDonald
9cc306b2e1
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
Richard Frith-MacDonald
d79eb3cab4
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
Richard Frith-MacDonald
d8ec9172f6
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
Richard Frith-MacDonald
f37c9ca702
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
Gregory John Casamento
0ef9ca5cc7
* 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
Richard Frith-MacDonald
bd5437b24a
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
Richard Frith-MacDonald
4f5344d2c2
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
Richard Frith-MacDonald
067a687974
zeroing weak key fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28236 72102866-910b-0410-8b05-ffd578937521
2009-04-19 13:56:29 +00:00
Richard Frith-MacDonald
cfac8c352c
tidied enumeration code
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28235 72102866-910b-0410-8b05-ffd578937521
2009-04-19 13:47:47 +00:00
Richard Frith-MacDonald
807d1b8a65
gc improvements
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28234 72102866-910b-0410-8b05-ffd578937521
2009-04-19 10:03:18 +00:00
Gregory John Casamento
1be02d0252
* Source/GSURLPrivate.h: Addition of private method to NSURLProtocol
...
category.
* Source/NSURLConnection.m: Changes to use the new method and to correct
bug #26107 . Patch by: doug@riverrock.org
* Source/NSURLProtocol.m: Addition of static method to look up class
which can handle the given connection protocol.
Patch by: doug@riverrock.org
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28229 72102866-910b-0410-8b05-ffd578937521
2009-04-18 14:22:54 +00:00
Richard Frith-MacDonald
e537692852
more gc fixups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28228 72102866-910b-0410-8b05-ffd578937521
2009-04-17 08:12:52 +00:00
Richard Frith-MacDonald
92c3166df3
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
Richard Frith-MacDonald
d3398a8044
Fix swizzle
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28222 72102866-910b-0410-8b05-ffd578937521
2009-04-15 08:31:14 +00:00
Richard Frith-MacDonald
edac807d27
Fixup for non-gc
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28221 72102866-910b-0410-8b05-ffd578937521
2009-04-15 08:25:52 +00:00
Richard Frith-MacDonald
79b93a4901
more GC improvements
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28220 72102866-910b-0410-8b05-ffd578937521
2009-04-15 08:03:19 +00:00
Gregory John Casamento
d2015542c0
Move NSLog to NSDebugLog for the WARNING.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28203 72102866-910b-0410-8b05-ffd578937521
2009-04-11 05:13:33 +00:00
Richard Frith-MacDonald
4243d08bfe
move code around a bit to work without gc
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28193 72102866-910b-0410-8b05-ffd578937521
2009-04-10 08:28:21 +00:00
Richard Frith-MacDonald
5921606e39
gc improvements
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28192 72102866-910b-0410-8b05-ffd578937521
2009-04-10 08:25:03 +00:00
Adam Fedor
fd2132310b
Revert previous patch (David to fix up later).
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28174 72102866-910b-0410-8b05-ffd578937521
2009-04-03 14:56:41 +00:00
Richard Frith-MacDonald
9db45a6d7e
Remove unused private method pointed out by David Chisnall
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28161 72102866-910b-0410-8b05-ffd578937521
2009-03-31 16:04:29 +00:00
Richard Frith-MacDonald
c6937301b8
Cleanups suggested/provided by David Chisnall
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28160 72102866-910b-0410-8b05-ffd578937521
2009-03-31 15:49:42 +00:00
Richard Frith-MacDonald
3452a47317
Fix error handling UNC path
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28145 72102866-910b-0410-8b05-ffd578937521
2009-03-29 07:32:11 +00:00
Richard Frith-MacDonald
949e492513
Remove bad log line
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28144 72102866-910b-0410-8b05-ffd578937521
2009-03-28 17:20:08 +00:00
Fred Kiefer
f70b7aed9d
Get base to compile again on Windows.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28143 72102866-910b-0410-8b05-ffd578937521
2009-03-28 16:43:54 +00:00
Richard Frith-MacDonald
3e5de3081a
tweak GC for improved performance and debugging
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28129 72102866-910b-0410-8b05-ffd578937521
2009-03-24 11:12:25 +00:00
Richard Frith-MacDonald
057818ab06
use weak pointers for siblings
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28128 72102866-910b-0410-8b05-ffd578937521
2009-03-24 10:53:38 +00:00
Richard Frith-MacDonald
346052f64d
simplify memory usage
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28127 72102866-910b-0410-8b05-ffd578937521
2009-03-24 10:46:53 +00:00
Richard Frith-MacDonald
3cfdb02718
try using sigsetjmp
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28111 72102866-910b-0410-8b05-ffd578937521
2009-03-21 15:31:52 +00:00
Richard Frith-MacDonald
3db89e14dd
Don't watch for OOB data ... unix domain sockets don't support it anyway.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28109 72102866-910b-0410-8b05-ffd578937521
2009-03-21 09:21:05 +00:00
Richard Frith-MacDonald
23f68cd57f
fix for possible error when receiving out of bad data
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28108 72102866-910b-0410-8b05-ffd578937521
2009-03-21 09:04:02 +00:00
Richard Frith-MacDonald
b4e0b8fcf9
Fix some errors in header comments.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28107 72102866-910b-0410-8b05-ffd578937521
2009-03-20 18:52:59 +00:00
Richard Frith-MacDonald
6c75808696
fix deallocation error
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28093 72102866-910b-0410-8b05-ffd578937521
2009-03-18 15:08:13 +00:00
Richard Frith-MacDonald
f3788b611e
OSX 10.5 API fixups for mingw
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28092 72102866-910b-0410-8b05-ffd578937521
2009-03-18 10:02:49 +00:00
Richard Frith-MacDonald
a4618dc473
port latest gc canges to windows
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28090 72102866-910b-0410-8b05-ffd578937521
2009-03-18 08:50:32 +00:00
Richard Frith-MacDonald
971de91d62
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
Richard Frith-MacDonald
d2e2eda24c
GC tweaks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28063 72102866-910b-0410-8b05-ffd578937521
2009-03-10 17:12:47 +00:00
Richard Frith-MacDonald
8afbc2fcb7
GC bugfixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28062 72102866-910b-0410-8b05-ffd578937521
2009-03-10 11:30:16 +00:00
Richard Frith-MacDonald
61b93f7a45
fix weak pointer error
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28061 72102866-910b-0410-8b05-ffd578937521
2009-03-10 11:10:27 +00:00
Richard Frith-MacDonald
5297d5f557
Avoid use of old atomic zone function
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28060 72102866-910b-0410-8b05-ffd578937521
2009-03-10 09:35:14 +00:00
Richard Frith-MacDonald
bc9468c45f
More moves towards OSX 10.5 GC compatibility.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28054 72102866-910b-0410-8b05-ffd578937521
2009-03-09 15:11:51 +00:00
Richard Frith-MacDonald
00e2bbb843
tweaks to use new GC API
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28051 72102866-910b-0410-8b05-ffd578937521
2009-03-08 14:34:16 +00:00
Richard Frith-MacDonald
8687a2ed40
gc tweak
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28050 72102866-910b-0410-8b05-ffd578937521
2009-03-08 14:29:06 +00:00
Richard Frith-MacDonald
18511be325
Remved some unused code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28047 72102866-910b-0410-8b05-ffd578937521
2009-03-06 11:01:42 +00:00
Richard Frith-MacDonald
b3a06f27f0
Add some comments on handling faulty mime documents.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28045 72102866-910b-0410-8b05-ffd578937521
2009-03-06 09:01:17 +00:00
Richard Frith-MacDonald
a74694ef57
add new semi-private method
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28030 72102866-910b-0410-8b05-ffd578937521
2009-03-03 20:04:11 +00:00
Richard Frith-MacDonald
0d9c36063c
revert
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28029 72102866-910b-0410-8b05-ffd578937521
2009-03-03 19:59:58 +00:00
Richard Frith-MacDonald
22d4b3470d
Extension to support SOAP by allowing us to get status 500 responses
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28028 72102866-910b-0410-8b05-ffd578937521
2009-03-03 19:45:40 +00:00
Fred Kiefer
b85f364024
* Source/NSBundle.m (-localizedStringForKey:value:table): Correct
...
output when NSShowNonLocalizedStrings is YES.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28013 72102866-910b-0410-8b05-ffd578937521
2009-03-01 17:39:09 +00:00
Richard Frith-MacDonald
03502b8174
typo
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28005 72102866-910b-0410-8b05-ffd578937521
2009-02-28 05:46:41 +00:00
Richard Frith-MacDonald
83a578d527
Fix for retry with authentication based on patch by Philippe Roussel
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28003 72102866-910b-0410-8b05-ffd578937521
2009-02-28 05:41:20 +00:00
Richard Frith-MacDonald
f2a516bf74
fix for bug #25720 as suggested by Michael Johnston
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27995 72102866-910b-0410-8b05-ffd578937521
2009-02-27 12:54:15 +00:00
Richard Frith-MacDonald
75d23375ce
Add some missing comments
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27988 72102866-910b-0410-8b05-ffd578937521
2009-02-26 11:09:05 +00:00
Richard Frith-MacDonald
68d0bb48f1
Make behavior closer to MacOS-X ... no checkpoint notification for an implicit
...
begin grouping at the top level.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27980 72102866-910b-0410-8b05-ffd578937521
2009-02-25 15:56:51 +00:00
Richard Frith-MacDonald
8ebcef5198
OSX compatibility fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27974 72102866-910b-0410-8b05-ffd578937521
2009-02-25 09:58:27 +00:00
Richard Frith-MacDonald
922c7a2fe7
Fox error in last commit. Add parser improvements.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27963 72102866-910b-0410-8b05-ffd578937521
2009-02-23 20:51:20 +00:00
Richard Frith-MacDonald
24d43481a8
Updates for 10.5 API changes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27962 72102866-910b-0410-8b05-ffd578937521
2009-02-23 20:42:32 +00:00