Richard Frith-MacDonald
27550994ee
use the _() macro for localisation within base
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32173 72102866-910b-0410-8b05-ffd578937521
2011-02-15 06:25:54 +00:00
Richard Frith-MacDonald
d81ac8a945
further tweaks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32058 72102866-910b-0410-8b05-ffd578937521
2011-02-11 11:45:07 +00:00
Richard Frith-MacDonald
76b2adf16f
cleanup foundation includes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31682 72102866-910b-0410-8b05-ffd578937521
2010-11-28 09:30:05 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Richard Frith-MacDonald
952af9c197
garbage collection fixups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27578 72102866-910b-0410-8b05-ffd578937521
2009-01-12 12:48:46 +00:00
Richard Frith-MacDonald
9aa22627bd
Fix for #25026 I hope
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27227 72102866-910b-0410-8b05-ffd578937521
2008-12-06 16:52:03 +00:00
Richard Frith-MacDonald
c4a2f62ad0
Applied patch #6677
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27080 72102866-910b-0410-8b05-ffd578937521
2008-11-17 13:45:32 +00:00
Richard Frith-MacDonald
b2b14398d2
allow developers more time to adapt to LGPLv3
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26606 72102866-910b-0410-8b05-ffd578937521
2008-06-08 10:38:33 +00:00
Richard Frith-MacDonald
2b48d85f2a
namespace bugfixes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26003 72102866-910b-0410-8b05-ffd578937521
2008-01-26 09:23:49 +00:00
Richard Frith-MacDonald
6425664347
Some xml namespace handling fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26002 72102866-910b-0410-8b05-ffd578937521
2008-01-26 08:34:58 +00:00
Richard Frith-MacDonald
a6bfd106e1
Namespace declarations are element attributes.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26001 72102866-910b-0410-8b05-ffd578937521
2008-01-25 16:27:34 +00:00
Richard Frith-MacDonald
c00fd9b00a
Iminor printf format fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25988 72102866-910b-0410-8b05-ffd578937521
2008-01-21 10:46:41 +00:00
Nicola Pero
5c6c74539f
Added method to register namespaces with XPath
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25874 72102866-910b-0410-8b05-ffd578937521
2008-01-05 21:01:40 +00:00
Nicola Pero
0727937d01
Fixed typo in comment
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25870 72102866-910b-0410-8b05-ffd578937521
2008-01-05 18:49:18 +00:00
Richard Frith-MacDonald
9b108fb88b
Make test for apple property lists more tolerant.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25612 72102866-910b-0410-8b05-ffd578937521
2007-11-26 09:14:52 +00:00
Richard Frith-MacDonald
3308dcf842
Avoid compiler warnings
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25516 72102866-910b-0410-8b05-ffd578937521
2007-10-03 08:54:07 +00:00
Richard Frith-MacDonald
62559023b9
Update to GPL3 and LGPL3
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25482 72102866-910b-0410-8b05-ffd578937521
2007-09-14 11:36:11 +00:00
Richard Frith-MacDonald
1d562005d1
tweaks for url loading
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25142 72102866-910b-0410-8b05-ffd578937521
2007-05-11 15:47:06 +00:00
Richard Frith-MacDonald
1d32ae5ec0
macos-x portability fixups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24980 72102866-910b-0410-8b05-ffd578937521
2007-04-11 04:45:49 +00:00
Richard Frith-MacDonald
97b76e81d1
Fix memory leak
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24868 72102866-910b-0410-8b05-ffd578937521
2007-03-14 08:57:20 +00:00
Richard Frith-MacDonald
642dd459bd
Fixup for handling cancelled URL loads.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24819 72102866-910b-0410-8b05-ffd578937521
2007-03-08 08:57:58 +00:00
Richard Frith-MacDonald
7b005182aa
Add missing newline
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24591 72102866-910b-0410-8b05-ffd578937521
2007-02-15 14:21:59 +00:00
Richard Frith-MacDonald
7a1453fd68
check argument to setRootNode: and avoid unnecessary read on http connection.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24125 72102866-910b-0410-8b05-ffd578937521
2006-11-18 08:03:05 +00:00
Richard Frith-MacDonald
4b5ef4865d
Fix bug escaping XML
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24051 72102866-910b-0410-8b05-ffd578937521
2006-11-08 08:22:04 +00:00
Richard Frith-MacDonald
df40863d54
Applied Davids SAX handler fixups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24050 72102866-910b-0410-8b05-ffd578937521
2006-11-07 18:37:36 +00:00
Richard Frith-MacDonald
eae859d1c7
Updates to reduce global namespace pollution. Plenty more remaining.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23795 72102866-910b-0410-8b05-ffd578937521
2006-10-09 14:00:01 +00:00
Richard Frith-MacDonald
d36967203e
try to cope with apple plists
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23489 72102866-910b-0410-8b05-ffd578937521
2006-09-13 15:53:58 +00:00
Richard Frith-MacDonald
ff79e8f42c
Some XMLRPC improvements.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23060 72102866-910b-0410-8b05-ffd578937521
2006-06-15 08:23:49 +00:00
Richard Frith-MacDonald
e40074f3db
Tidied up
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22977 72102866-910b-0410-8b05-ffd578937521
2006-05-24 08:27:39 +00:00
Richard Frith-MacDonald
e4915f06ce
Improve exception info if XMLRPC parse fails.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22836 72102866-910b-0410-8b05-ffd578937521
2006-04-28 11:06:16 +00:00