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