Commit graph

4374 commits

Author SHA1 Message Date
CaS
38e23cc6cb avoid some compiler warnings
fix oen inforrect use of ansi mingw function


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21956 72102866-910b-0410-8b05-ffd578937521
2005-11-05 17:41:01 +00:00
CaS
e6fd4ca0d1 mingw32 unicode fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21955 72102866-910b-0410-8b05-ffd578937521
2005-11-05 16:20:19 +00:00
CaS
44a6542243 Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21954 72102866-910b-0410-8b05-ffd578937521
2005-11-05 07:12:00 +00:00
CaS
fee3e814a4 mingw tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21952 72102866-910b-0410-8b05-ffd578937521
2005-11-05 06:22:15 +00:00
CaS
9d64352859 more mingw32 updates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21951 72102866-910b-0410-8b05-ffd578937521
2005-11-05 05:58:43 +00:00
CaS
8f93eac56a Some updates for mingw
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21950 72102866-910b-0410-8b05-ffd578937521
2005-11-04 17:58:27 +00:00
CaS
96cbb52e59 NSPort cleanup and bugfixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21936 72102866-910b-0410-8b05-ffd578937521
2005-11-01 20:37:34 +00:00
CaS
58f48e81e3 Fix documentation error.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21935 72102866-910b-0410-8b05-ffd578937521
2005-11-01 15:14:59 +00:00
CaS
1278387465 Fix error encoding termination markup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21934 72102866-910b-0410-8b05-ffd578937521
2005-11-01 13:51:24 +00:00
CaS
0186677440 try to cope with left-over socket files.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21933 72102866-910b-0410-8b05-ffd578937521
2005-11-01 07:21:08 +00:00
CaS
fe50fce2c0 Tidyups and a performance fix for networking.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21932 72102866-910b-0410-8b05-ffd578937521
2005-10-31 20:50:25 +00:00
CaS
05a94eb676 Make URL clients a bit safer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21929 72102866-910b-0410-8b05-ffd578937521
2005-10-31 14:01:18 +00:00
CaS
abc019bbfe Deprecate old message access method ... we can be a lot more efficient if
we don't have to support it.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21922 72102866-910b-0410-8b05-ffd578937521
2005-10-30 12:46:26 +00:00
CaS
7cf5a73522 Debug/fix new window specific handling code ... allow generic (null)
window handle only if window specific code is not called.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21921 72102866-910b-0410-8b05-ffd578937521
2005-10-30 12:08:54 +00:00
CaS
a2e1c719cc Fix header paths
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21917 72102866-910b-0410-8b05-ffd578937521
2005-10-30 10:51:05 +00:00
CaS
02c7ccf532 Fix accidentally exposed private headers.
Implement code to handle windows messages on a per-window basis.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21916 72102866-910b-0410-8b05-ffd578937521
2005-10-30 10:42:42 +00:00
CaS
0257194cdc Apply patch #5388 with some fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21915 72102866-910b-0410-8b05-ffd578937521
2005-10-30 09:15:21 +00:00
CaS
358d5b0799 More configuration updates to lock down the system.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21899 72102866-910b-0410-8b05-ffd578937521
2005-10-28 22:21:36 +00:00
CaS
593f86be62 Various patches/fixes (mingw)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21898 72102866-910b-0410-8b05-ffd578937521
2005-10-28 20:39:17 +00:00
CaS
38382e37dd Move to using GNUstep.conf to specify built-in default paths at configure time.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21887 72102866-910b-0410-8b05-ffd578937521
2005-10-27 12:00:38 +00:00
CaS
b5f9e2b593 Simplify and make behavior more consistent on ms-windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21886 72102866-910b-0410-8b05-ffd578937521
2005-10-27 08:39:53 +00:00
CaS
3fc1dbf3e3 Fix bad memory management issue spotted by David
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21884 72102866-910b-0410-8b05-ffd578937521
2005-10-26 21:22:35 +00:00
CaS
b95e4d83ac Fix millisecond output bug (#14863).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21882 72102866-910b-0410-8b05-ffd578937521
2005-10-26 14:36:24 +00:00
CaS
4f025234ab Settle on shell style config file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21876 72102866-910b-0410-8b05-ffd578937521
2005-10-26 13:13:29 +00:00
CaS
97ce2e5e03 Try to ensure basic directories exist
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21873 72102866-910b-0410-8b05-ffd578937521
2005-10-25 16:15:35 +00:00
CaS
bf7f08056d Add missing newlines in fprintfs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21869 72102866-910b-0410-8b05-ffd578937521
2005-10-23 21:30:24 +00:00
CaS
1772b06d57 Use fprintf rather than NSLog to avoid any recursive exception problems
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21864 72102866-910b-0410-8b05-ffd578937521
2005-10-23 15:14:35 +00:00
CaS
97eb32b7f1 Added nice debugging patch from Jeremy
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21863 72102866-910b-0410-8b05-ffd578937521
2005-10-23 15:11:19 +00:00
CaS
bffdc3c8e7 More tidyups ... rem ove some previously deprecated methods and improve docs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21861 72102866-910b-0410-8b05-ffd578937521
2005-10-23 14:53:03 +00:00
CaS
8ba0f9a906 More path handling tweaks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21860 72102866-910b-0410-8b05-ffd578937521
2005-10-23 11:27:32 +00:00
CaS
6ebfe03cf3 Optionally store defaults in windows registry.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21854 72102866-910b-0410-8b05-ffd578937521
2005-10-23 06:35:33 +00:00
fedor
66e7354c1a * Source/NSBundle.m (+pathsForResourcesOfType:inDirectory:,
-pathsForResourcesOfType:inDirectory:forLocalization:):
Implement.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21850 72102866-910b-0410-8b05-ffd578937521
2005-10-21 02:20:41 +00:00
CaS
ec9a5e0dc9 Fix default defaults directory for users other than the current one.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21844 72102866-910b-0410-8b05-ffd578937521
2005-10-19 05:52:48 +00:00
CaS
7b4766b748 More moves towards making registry usable on win32
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21842 72102866-910b-0410-8b05-ffd578937521
2005-10-18 16:19:08 +00:00
CaS
7a43bb1ba9 Start work to apply patch to hold user defaults in registry.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21840 72102866-910b-0410-8b05-ffd578937521
2005-10-18 05:28:44 +00:00
FredKiefer
f452288f0a Small improvements on NSNumberFormatter to get it workable with different
decimal separators.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21836 72102866-910b-0410-8b05-ffd578937521
2005-10-17 10:47:54 +00:00
CaS
a8d81baa70 Fix error in fallback setup for local root.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21835 72102866-910b-0410-8b05-ffd578937521
2005-10-17 05:53:49 +00:00
CaS
c1b01b94ef Tighter check on variable names
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21834 72102866-910b-0410-8b05-ffd578937521
2005-10-17 05:47:46 +00:00
CaS
580adc06e1 More changes to keep make/base in sync.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21833 72102866-910b-0410-8b05-ffd578937521
2005-10-17 05:44:18 +00:00
CaS
2e15e7e8e6 Fix bug determining path of config file relative to base library
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21832 72102866-910b-0410-8b05-ffd578937521
2005-10-16 15:24:51 +00:00
CaS
9a36fdd337 Fix error selecting config file whern relative to library.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21831 72102866-910b-0410-8b05-ffd578937521
2005-10-16 15:07:10 +00:00
CaS
f3f1f15664 More relocation updates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21830 72102866-910b-0410-8b05-ffd578937521
2005-10-16 14:20:14 +00:00
CaS
4269a0178a Handle './' at start of path as meaning that the path is relative to the
location of the system GNUstep.conf file.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21829 72102866-910b-0410-8b05-ffd578937521
2005-10-16 11:48:54 +00:00
CaS
2afd4d453a Small bugfix to last set of changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21828 72102866-910b-0410-8b05-ffd578937521
2005-10-16 04:08:12 +00:00
CaS
ccd9fa4f7d More configuration tweaks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21827 72102866-910b-0410-8b05-ffd578937521
2005-10-15 09:18:02 +00:00
CaS
2368855f8b More work on configuration system ... keeping more or less in sync with
make package changes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21826 72102866-910b-0410-8b05-ffd578937521
2005-10-15 07:19:11 +00:00
CaS
679d8e46f0 Fix retain/release error
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21825 72102866-910b-0410-8b05-ffd578937521
2005-10-15 04:34:30 +00:00
CaS
737fe24fb7 Make parsing more strict
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21824 72102866-910b-0410-8b05-ffd578937521
2005-10-14 14:03:13 +00:00
CaS
b8c539c9bc Rewrite config file parsing to match conventions of shell
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21821 72102866-910b-0410-8b05-ffd578937521
2005-10-14 10:51:50 +00:00
CaS
6ffb338fcf iVarious rewriting for clarity and robustness
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21819 72102866-910b-0410-8b05-ffd578937521
2005-10-13 10:11:56 +00:00
CaS
ab857bbc68 emove deprecated functions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21803 72102866-910b-0410-8b05-ffd578937521
2005-10-12 17:40:40 +00:00
CaS
0d8d221bd0 Insignificant tidyups ... avoid unneccessarily deep indentation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21798 72102866-910b-0410-8b05-ffd578937521
2005-10-12 08:40:48 +00:00
CaS
66d239f2de Guard against InitialisePathUtilities() when already initialised.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21797 72102866-910b-0410-8b05-ffd578937521
2005-10-12 07:03:18 +00:00
CaS
327e8d3dcb Hopefully clarify/simplify configuration file stuff.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21796 72102866-910b-0410-8b05-ffd578937521
2005-10-12 06:15:15 +00:00
CaS
620e39b898 Use __MINGW32__ rather than __MINGW__ because gcc does that too.
NB. It seems some recent patches put ___MINGW32__ in the public headers ...
that needs to be fixed as the headers should be system independent!


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21795 72102866-910b-0410-8b05-ffd578937521
2005-10-11 19:09:26 +00:00
CaS
9ce257fccf Notive when files have changed
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21794 72102866-910b-0410-8b05-ffd578937521
2005-10-10 17:42:29 +00:00
CaS
fa8206692b Fix missing underscore in _wfopen
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21793 72102866-910b-0410-8b05-ffd578937521
2005-10-09 12:38:42 +00:00
CaS
5e151f100f Make usage of defines more consistent
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21792 72102866-910b-0410-8b05-ffd578937521
2005-10-09 11:32:10 +00:00
CaS
e57988b685 Fix a few windows bugs with unicode strings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21791 72102866-910b-0410-8b05-ffd578937521
2005-10-09 10:41:53 +00:00
CaS
8fcfa3b241 Use windows event log only if GSLogSyslog is YES
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21790 72102866-910b-0410-8b05-ffd578937521
2005-10-09 09:32:54 +00:00
CaS
1ceb50725f Hacks by Greg to placate 4.1 compiler. Just in case we can't persuade them
to 'fix' cast to union with an 'id' member.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21783 72102866-910b-0410-8b05-ffd578937521
2005-10-07 09:57:51 +00:00
CaS
9c4017648e Remove bogus newline generated for bool
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21782 72102866-910b-0410-8b05-ffd578937521
2005-10-07 09:21:51 +00:00
fedor
bf397ea7cc * Source/NSPage.m: Add include for Cygwin (patch from
Tom MacSween).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21780 72102866-910b-0410-8b05-ffd578937521
2005-10-07 02:06:48 +00:00
CaS
e72d18365b Attempted fix for systems where sizeof(int) < sizeof(void*)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21770 72102866-910b-0410-8b05-ffd578937521
2005-10-04 11:54:03 +00:00
ayers
852f0519af * Source/NSString: (dataUsingEncoding:allowLossyConversion:):
Use buffer returned by NSZoneRealloc to create the data object.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21763 72102866-910b-0410-8b05-ffd578937521
2005-10-01 07:48:36 +00:00
CaS
d74a6d29a3 Added convenience methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21754 72102866-910b-0410-8b05-ffd578937521
2005-09-28 09:47:31 +00:00
CaS
34b457b881 Fix documentation error (use of ampersand)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21742 72102866-910b-0410-8b05-ffd578937521
2005-09-23 14:18:32 +00:00
CaS
b6adfd8cf9 Make mime generation slightly more tolerant.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21738 72102866-910b-0410-8b05-ffd578937521
2005-09-23 11:43:23 +00:00
qmathe
1c3d59ee22 Fixed NSUndoManager bug #14448 by extending NSInvocation with the possibility to retain or not the target
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21721 72102866-910b-0410-8b05-ffd578937521
2005-09-17 21:41:12 +00:00
fedor
a27efb2586 Use makeImmutableCopyOnFail:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21693 72102866-910b-0410-8b05-ffd578937521
2005-09-01 21:48:41 +00:00
fedor
b41db110dd Install NSSortDescriptor.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21692 72102866-910b-0410-8b05-ffd578937521
2005-08-31 15:32:10 +00:00
CaS
4c7e6af282 Improve performance of hash (for use as dictionary keys)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21691 72102866-910b-0410-8b05-ffd578937521
2005-08-31 09:34:33 +00:00
fedor
198dde82bd New implementation of NSSortDescriptor.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21690 72102866-910b-0410-8b05-ffd578937521
2005-08-30 14:54:43 +00:00
CaS
8bb5a81e4a Fix bug subtracting minutes from date.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21677 72102866-910b-0410-8b05-ffd578937521
2005-08-25 08:05:31 +00:00
fedor
532b855870 Source/NSGeometry.m (NSStringFromPoint, NSStringFromRect,
NSStringFromSize): Add spaces around '='. (Based on suggestion
from Matthias Hengartner).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21667 72102866-910b-0410-8b05-ffd578937521
2005-08-22 22:51:02 +00:00
fedor
be9ea12573 Tweak to compile correctly
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21636 72102866-910b-0410-8b05-ffd578937521
2005-08-15 04:00:22 +00:00
fedor
86c924bc0c * configure.ac: Check if we can read the psinfo struct from
/proc (Solaris).
* config/procfs.m4: Add psinfo check
* config/config.psinfo.c: New file.
* Source/NSProcessInfo.m (+load): Read from psinfo if we can.
(Based on patch #4234 from Jeremy Bettis, with some modifications).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21634 72102866-910b-0410-8b05-ffd578937521
2005-08-12 17:34:19 +00:00
CaS
6979f0d2fe Bugfix for returning paths on a non-flattened system.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21577 72102866-910b-0410-8b05-ffd578937521
2005-07-31 08:18:19 +00:00
CaS
6b4e75d80e Add a bit of support for obsolete windows systems.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21575 72102866-910b-0410-8b05-ffd578937521
2005-07-30 15:44:45 +00:00
fedor
f6326db24a Source/Makefile.postamble (Info-gnustep.plist): Depend on ../Version
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21553 72102866-910b-0410-8b05-ffd578937521
2005-07-27 16:45:53 +00:00
CaS
a1d2243547 Improve mingw logging.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21538 72102866-910b-0410-8b05-ffd578937521
2005-07-25 16:23:35 +00:00
CaS
790fb7aeb3 Implement objc_get_symbol_path() for mingw
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21537 72102866-910b-0410-8b05-ffd578937521
2005-07-25 16:15:37 +00:00
CaS
6299b1f9b4 Handle empty path nicely and be more tolerant of lack of resources.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21536 72102866-910b-0410-8b05-ffd578937521
2005-07-25 16:11:44 +00:00
CaS
bec8a74a6e Fixes from Jeremy Bettis
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21535 72102866-910b-0410-8b05-ffd578937521
2005-07-25 16:00:52 +00:00
CaS
cee3dbee17 Bugfixes in returning paths
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21533 72102866-910b-0410-8b05-ffd578937521
2005-07-25 05:18:19 +00:00
CaS
eeadfbc615 iTweak for stanadalone additions library.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21519 72102866-910b-0410-8b05-ffd578937521
2005-07-23 13:30:27 +00:00
CaS
7dea229787 Fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21518 72102866-910b-0410-8b05-ffd578937521
2005-07-23 12:30:21 +00:00
CaS
4035664dc8 Small NSDate fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21517 72102866-910b-0410-8b05-ffd578937521
2005-07-22 19:36:33 +00:00
CaS
dcb3070d9c Attempt to resolve decoding issues on 64bit systems.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21501 72102866-910b-0410-8b05-ffd578937521
2005-07-18 10:12:49 +00:00
fedor
2dc1962a6b Further copyright/license updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21481 72102866-910b-0410-8b05-ffd578937521
2005-07-15 22:51:23 +00:00
CaS
780f7e39e0 Tweak initialization order.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21479 72102866-910b-0410-8b05-ffd578937521
2005-07-15 04:46:17 +00:00
CaS
9b19828e9d Fix bug in escaping entities in fault message.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21475 72102866-910b-0410-8b05-ffd578937521
2005-07-14 20:20:31 +00:00
nico
8ec2358a96 Disabled versioning support for framework on Mingw (win32)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21465 72102866-910b-0410-8b05-ffd578937521
2005-07-13 14:51:57 +00:00
nico
5abd5a81b4 Mangle/demangle framework names in NSFramework_xxx class names to support
'-' and '+' in framework names


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21455 72102866-910b-0410-8b05-ffd578937521
2005-07-12 14:11:03 +00:00
CaS
f19056c331 Print unicode filenames under mingw
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21432 72102866-910b-0410-8b05-ffd578937521
2005-07-08 11:59:41 +00:00
CaS
f843cb8155 Recommit gcc-4 tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21431 72102866-910b-0410-8b05-ffd578937521
2005-07-08 11:48:37 +00:00
CaS
ed1f525f36 Trivial MacOS-X compatibility fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21424 72102866-910b-0410-8b05-ffd578937521
2005-07-08 05:59:26 +00:00
CaS
6ae0ba5ca5 Added partial implementation os KVO to match the accidentally comitted makefile changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21395 72102866-910b-0410-8b05-ffd578937521
2005-07-01 21:26:46 +00:00
fedor
efb94a8834 Add/fix copyright/licenses.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21394 72102866-910b-0410-8b05-ffd578937521
2005-07-01 21:00:04 +00:00
CaS
6d0751af3e Revert subtly broken change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21391 72102866-910b-0410-8b05-ffd578937521
2005-07-01 17:31:07 +00:00
CaS
9ac16024f5 Tweaks to avoid compiler warnings with gcc-4
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21390 72102866-910b-0410-8b05-ffd578937521
2005-07-01 12:29:50 +00:00
CaS
59fed7cd35 Fix buggy behavior where if the uncaught exception handler was set to a
function which returned, the -raise method could return.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21389 72102866-910b-0410-8b05-ffd578937521
2005-07-01 08:53:32 +00:00
CaS
f60e075ac5 Fix for case where cross ref array is not initialised at all.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21380 72102866-910b-0410-8b05-ffd578937521
2005-06-30 08:32:07 +00:00
CaS
233d279560 Fix to prevent crash (raise exception instead) when deserializing a corrupt file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21379 72102866-910b-0410-8b05-ffd578937521
2005-06-30 07:44:45 +00:00
fedor
2eab253156 * Source/NSInvocation.m (-getReturnValue:, -setReturnValue:): Only
muck with size of buffer if we're using (deprecated) mframe.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21377 72102866-910b-0410-8b05-ffd578937521
2005-06-29 14:40:11 +00:00
CaS
f5caa76945 Fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21369 72102866-910b-0410-8b05-ffd578937521
2005-06-27 08:46:08 +00:00
CaS
b9bc4951a3 Updates for compatibility with buggy http servers/apps
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21359 72102866-910b-0410-8b05-ffd578937521
2005-06-25 14:03:27 +00:00
fedor
50cc142ab4 * Source/mframe.m (mframe_decode_return): Change return struct
to fixed size to avoid gcc bug.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21351 72102866-910b-0410-8b05-ffd578937521
2005-06-24 16:56:45 +00:00
CaS
ded3b6042e Fix for bug #13482
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21341 72102866-910b-0410-8b05-ffd578937521
2005-06-22 09:09:40 +00:00
CaS
e7c655ac4b Add a comment explaining last change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21337 72102866-910b-0410-8b05-ffd578937521
2005-06-21 12:57:20 +00:00
CaS
b71746b96d Expand tilde in bundle path.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21336 72102866-910b-0410-8b05-ffd578937521
2005-06-21 12:55:30 +00:00
CaS
b5ae635b68 Fix for last update
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21329 72102866-910b-0410-8b05-ffd578937521
2005-06-18 15:45:54 +00:00
fedor
1cb435da9a * Remove objc/Protocol.h include from NSObject to avoid warnings
with conflicting method signatures.
* Headers/Foundation/NSConnection.h: Change Object categories
to NSObject.
* Source/NSConnection.m: Idem.
* Headers/Foundation/NSObject.h: Don't include objc/Protocol.h
add a few missing things.
* Source/NSDate.m ([NSDate -isEqual:]): Use isKindOfClass.
* Source/NSDistantObject.m, Source/NSProtocolChecker.m:
Include objc/Protocol.h
* Source/NSSerializer.m: Add method sig for performv::


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21322 72102866-910b-0410-8b05-ffd578937521
2005-06-17 14:51:57 +00:00
CaS
6dc002c448 Enable keepalive on socket connections
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21310 72102866-910b-0410-8b05-ffd578937521
2005-06-15 03:56:13 +00:00
CaS
e4e909b06d Fix minor crash with nil pointer argument.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21294 72102866-910b-0410-8b05-ffd578937521
2005-06-08 05:19:29 +00:00
fedor
04c6259fee * Source/Makefile.preamble: Add objc lib on all platforms. Fixes bug #9920.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21291 72102866-910b-0410-8b05-ffd578937521
2005-06-07 04:23:20 +00:00
CaS
d4c8121cbc Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21284 72102866-910b-0410-8b05-ffd578937521
2005-06-04 19:04:56 +00:00
CaS
d8d03c33f0 Various tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21283 72102866-910b-0410-8b05-ffd578937521
2005-06-04 18:58:05 +00:00
CaS
2676653a26 Avoid compiler warning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21278 72102866-910b-0410-8b05-ffd578937521
2005-06-04 07:54:04 +00:00
CaS
ef2f59a290 Fix file missed from commit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21277 72102866-910b-0410-8b05-ffd578937521
2005-06-04 07:35:01 +00:00
CaS
3fc6c34dd5 win32 path handling simplifications (and some bug fixes).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21276 72102866-910b-0410-8b05-ffd578937521
2005-06-04 07:22:51 +00:00
CaS
987497d4b1 Fix bug in cStringUsingEncoding:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21275 72102866-910b-0410-8b05-ffd578937521
2005-06-04 05:48:40 +00:00
CaS
6e3bf6d8a1 Attempt to hanlde pipes properly under windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21274 72102866-910b-0410-8b05-ffd578937521
2005-06-04 05:12:40 +00:00
CaS
655edeb705 Added large file handling support.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21273 72102866-910b-0410-8b05-ffd578937521
2005-06-04 05:01:01 +00:00
fedor
376e495dad * Update FSF Address.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21245 72102866-910b-0410-8b05-ffd578937521
2005-05-22 03:32:16 +00:00
ratmice
ac8271af60 * Source/NSArray.m (NSArray -removeObject:): Fix macro conditional
so we release the object.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21241 72102866-910b-0410-8b05-ffd578937521
2005-05-21 05:16:19 +00:00
gcasa
d4dd6d328c Added "limits.h".
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21230 72102866-910b-0410-8b05-ffd578937521
2005-05-17 04:33:50 +00:00
CaS
db2770c382 Tweak error reporting
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21225 72102866-910b-0410-8b05-ffd578937521
2005-05-13 10:48:17 +00:00
CaS
915a739931 Minor performance tweak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21214 72102866-910b-0410-8b05-ffd578937521
2005-05-11 08:14:32 +00:00
ayers
8fab4480c1 * Source/NSPropertyList.m (OAppend): Revert patch from
2005-02-28.  It seems to fix the issue in the wrong place.
        Further investigation is necessary.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21208 72102866-910b-0410-8b05-ffd578937521
2005-05-09 16:36:54 +00:00
gcasa
1c1bead0fd Improvement on previous commit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21201 72102866-910b-0410-8b05-ffd578937521
2005-05-08 18:19:39 +00:00
gcasa
fe82bf08d5 Corrected compilation problem on Solaris 9.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21200 72102866-910b-0410-8b05-ffd578937521
2005-05-08 18:11:00 +00:00
CaS
04bfaf2fb5 Fix for unicode data returned as cstring.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21199 72102866-910b-0410-8b05-ffd578937521
2005-05-08 15:07:59 +00:00
FredKiefer
d5e0804ab0 Addex Apple binary property list format writing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21198 72102866-910b-0410-8b05-ffd578937521
2005-05-08 11:13:19 +00:00
CaS
f5f0e8c1fd Add a few methods from tiger.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21197 72102866-910b-0410-8b05-ffd578937521
2005-05-08 07:08:28 +00:00
CaS
d6d5ace3a4 Improve determination of charset for xml data.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21191 72102866-910b-0410-8b05-ffd578937521
2005-05-07 08:54:57 +00:00
CaS
ad198bec78 Try to be more tolerant handling text/xml
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21189 72102866-910b-0410-8b05-ffd578937521
2005-05-04 17:19:11 +00:00
CaS
90c5c054cd Tweak last change to avoid possible crashes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21169 72102866-910b-0410-8b05-ffd578937521
2005-04-29 19:10:46 +00:00
CaS
a03f16128d Fix for problems when remote host drops persistent http/https connections.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21166 72102866-910b-0410-8b05-ffd578937521
2005-04-28 16:34:18 +00:00
CaS
2a5a2dca5a Sync up to get retries working
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21161 72102866-910b-0410-8b05-ffd578937521
2005-04-26 16:15:55 +00:00
CaS
43bb7fe17f Memory management fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21147 72102866-910b-0410-8b05-ffd578937521
2005-04-23 07:56:26 +00:00
CaS
979de3e8ba mingw tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21130 72102866-910b-0410-8b05-ffd578937521
2005-04-20 07:37:01 +00:00
CaS
d37e439f79 iAdd workaround for a mail client bug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21107 72102866-910b-0410-8b05-ffd578937521
2005-04-14 04:30:38 +00:00
CaS
5b34db2984 tidied deregistration
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21101 72102866-910b-0410-8b05-ffd578937521
2005-04-12 18:30:51 +00:00
CaS
2e6a507ad5 Slight fix so that temporary directories are specific to the account which
owns them.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21097 72102866-910b-0410-8b05-ffd578937521
2005-04-12 17:01:30 +00:00
CaS
96bffbd7e9 MacOS-X compatibility and security updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21096 72102866-910b-0410-8b05-ffd578937521
2005-04-12 09:48:04 +00:00
CaS
28d14ff10d remove unused variable
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21049 72102866-910b-0410-8b05-ffd578937521
2005-04-05 09:38:29 +00:00
CaS
0be2bbc325 Improve last fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21048 72102866-910b-0410-8b05-ffd578937521
2005-04-05 09:36:52 +00:00
CaS
e605d2704e GFix bug in new path handling code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21047 72102866-910b-0410-8b05-ffd578937521
2005-04-05 09:20:38 +00:00
CaS
55214b7bb7 Fix missing nul terminator causing occasional launch failures under win32
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21036 72102866-910b-0410-8b05-ffd578937521
2005-04-02 08:23:05 +00:00
CaS
304fce01db Documentation tweaks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21027 72102866-910b-0410-8b05-ffd578937521
2005-04-01 10:57:35 +00:00
fedor
8931774d38 * Source/NSBundle.m (_find_framework): New function.
[NSBundle +_addFrameworkFromClass:]): Use it. Based on patch
from Sheldon Gill.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21024 72102866-910b-0410-8b05-ffd578937521
2005-03-31 23:22:44 +00:00
CaS
e698f247ee More tweaks to isAbsolute
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21023 72102866-910b-0410-8b05-ffd578937521
2005-03-31 19:47:41 +00:00
CaS
866ca7ae39 Treat relative UNC path as absolute on unix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21021 72102866-910b-0410-8b05-ffd578937521
2005-03-31 08:10:24 +00:00
CaS
1e9f91f2a6 Add comments suggested by David
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20964 72102866-910b-0410-8b05-ffd578937521
2005-03-22 10:40:37 +00:00
CaS
e7d9523a85 Add a load of charset aliases to make parsing more tolerant.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20963 72102866-910b-0410-8b05-ffd578937521
2005-03-22 10:00:55 +00:00
CaS
3b50ab340e Removed iso-10646 ... after chacking with IANA I find it's a latin1 variant,
but it's not an alias for iso8859-1, so I assume it's a charset which doesn't
map to any encoding we support.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20962 72102866-910b-0410-8b05-ffd578937521
2005-03-22 09:45:58 +00:00
CaS
3dd6095acd More charset/encoding fixes and improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20961 72102866-910b-0410-8b05-ffd578937521
2005-03-22 09:16:22 +00:00
CaS
f623ee61ba Tweak encoding mappings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20959 72102866-910b-0410-8b05-ffd578937521
2005-03-22 06:14:55 +00:00
CaS
d8337a42c7 Simplify automatic charset selection for performance.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20942 72102866-910b-0410-8b05-ffd578937521
2005-03-21 19:59:49 +00:00
CaS
bc1aa70ed4 Replace lost lines
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20941 72102866-910b-0410-8b05-ffd578937521
2005-03-21 19:51:52 +00:00
CaS
837f4a1ba5 Tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20939 72102866-910b-0410-8b05-ffd578937521
2005-03-21 19:16:15 +00:00
CaS
b06580bbde Path handling updates ... basically tolerate windows paths.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20935 72102866-910b-0410-8b05-ffd578937521
2005-03-21 12:29:02 +00:00
CaS
fc826fc390 Fix indentation errors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20925 72102866-910b-0410-8b05-ffd578937521
2005-03-18 15:26:18 +00:00
CaS
55c351cfdf Avoid recursion in NSLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20923 72102866-910b-0410-8b05-ffd578937521
2005-03-18 09:42:54 +00:00
CaS
51376a9b9e Tweak comments and indentation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20919 72102866-910b-0410-8b05-ffd578937521
2005-03-17 15:27:52 +00:00
CaS
669383fbc7 Don't log config problems repeatedly .. once is enough.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20918 72102866-910b-0410-8b05-ffd578937521
2005-03-17 15:07:57 +00:00
CaS
db9098d923 Lots of naming convention tidyups, plust a few minor fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20916 72102866-910b-0410-8b05-ffd578937521
2005-03-17 14:48:32 +00:00
CaS
ed0d53c973 Tweak for buggy/intolerant base64 decoders ... ensure that bas64 encoded
sections are terminated with crlf even though the RFC does not require it.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20914 72102866-910b-0410-8b05-ffd578937521
2005-03-16 14:38:04 +00:00
CaS
b436ef6553 MacOS-X compatibility tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20913 72102866-910b-0410-8b05-ffd578937521
2005-03-15 16:40:07 +00:00
CaS
cad70d0991 Tidied GSFindNamedFile a bit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20912 72102866-910b-0410-8b05-ffd578937521
2005-03-15 09:43:25 +00:00
CaS
62bd7f6782 Tidyups and fix in mingw drive handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20911 72102866-910b-0410-8b05-ffd578937521
2005-03-15 09:30:56 +00:00
CaS
81aaeead0c Add new files to separate extension functions from main base library.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20910 72102866-910b-0410-8b05-ffd578937521
2005-03-15 08:11:04 +00:00
CaS
edb678d5fe Tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20909 72102866-910b-0410-8b05-ffd578937521
2005-03-15 06:36:21 +00:00
fedor
61aee49c82 * Continuation of NSPathUtilities patches
* configure.ac: Add config-file option
* Headers/Foundation/NSPathUtilities.h: Add GSFindNamedFile, more
NSSearchPathDirectory enums.
* Source/GNUmakefile: Don't install Win32 headers.
* Source/NSPathUtilities.m (InitializePathUtilities, ...): Add
support for reading standard path locations from a configuration
file. Various support functions added/removed to fit.
(GSFindNamedFile): New function.
(GSSetUserName): Do nothing if the user is the same.
(NSHomeDirectoryForUser): Use Windows utilities to get user name
(on Windows, of course).
(NSFullUserName): Default to NSUserName on Windows.
(GSSystemRootDirectory): Mark as deprecated.
(GSDefaultsRootForUser): Correctly return the actual defaults
directory, not the user directory.
(GSStandardPathPrefixes): Mark as deprecated.
(NSSearchPathForDirectoriesInDomains): Add platform paths and
additional search directories.
* Source/NSUserDefaults (pathForUser): Correct use of
GSDefaultsRootForUser. Remove obsolete path checking and
defaults location checking. (Patches from Sheldon Gill
with some modifications).

* Documentation/Base.gsdoc: Update documentation.
* Headers/Additions/GNUstepBase/Win32_Utilities.h,
Source/win32/Win32_Utilities.m: Fix function arguments.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20908 72102866-910b-0410-8b05-ffd578937521
2005-03-15 04:24:26 +00:00
CaS
8f2b0c8bd2 Patch to port GSXMLRPC to MacOSX
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20902 72102866-910b-0410-8b05-ffd578937521
2005-03-12 17:38:18 +00:00
CaS
3e4ebaab23 Some optimisation and argument validation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20897 72102866-910b-0410-8b05-ffd578937521
2005-03-11 12:58:54 +00:00
CaS
15a0ad2875 Handle nil objects in property list ... treat as strings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20896 72102866-910b-0410-8b05-ffd578937521
2005-03-11 11:53:00 +00:00
dwetzel
fb8158c3c5 Added setDefaultEncoding:
This is needed in GSWeb if you use utf-8 and faster than using a
String as encoding name.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20893 72102866-910b-0410-8b05-ffd578937521
2005-03-11 09:12:53 +00:00
CaS
c0a5d9657d Fix crash when forming union
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20879 72102866-910b-0410-8b05-ffd578937521
2005-03-09 17:05:36 +00:00
CaS
9547275380 Simplify ISSET macro
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20877 72102866-910b-0410-8b05-ffd578937521
2005-03-09 06:16:32 +00:00
CaS
ac3258f493 Add support for long unicode characters (outside the base plane)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20874 72102866-910b-0410-8b05-ffd578937521
2005-03-08 11:32:24 +00:00
CaS
f92b8f24ef Tidyups to avoid compiler warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20863 72102866-910b-0410-8b05-ffd578937521
2005-03-07 11:19:34 +00:00
CaS
13ae894cb9 More characterset tweaks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20862 72102866-910b-0410-8b05-ffd578937521
2005-03-07 10:47:10 +00:00
CaS
e2deb5cf61 Try to handle destruction of an autorelease pool more robustly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20860 72102866-910b-0410-8b05-ffd578937521
2005-03-06 15:08:12 +00:00
CaS
71c32633c1 More characterset tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20858 72102866-910b-0410-8b05-ffd578937521
2005-03-06 10:39:10 +00:00
CaS
563b6a4282 More changes to build in standard bitmaps,
update the charset data from the latest usincode,
add 0x85 to the whitespace and newline set
add the capitalizedLetterCharacterSet


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20856 72102866-910b-0410-8b05-ffd578937521
2005-03-06 09:15:08 +00:00
CaS
41c07070c3 Tidied for win32
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20846 72102866-910b-0410-8b05-ffd578937521
2005-03-05 06:03:03 +00:00
CaS
2a24fbacfc Correct position of an ifdef
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20845 72102866-910b-0410-8b05-ffd578937521
2005-03-04 16:04:25 +00:00
CaS
6904951cba Only build xmlrpc if we have libxml
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20844 72102866-910b-0410-8b05-ffd578937521
2005-03-04 16:01:49 +00:00
CaS
2dcfcebcda Integrated XMLRPC support.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20843 72102866-910b-0410-8b05-ffd578937521
2005-03-04 15:50:06 +00:00
fedor
a504a2adde Fix some syntax errors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20839 72102866-910b-0410-8b05-ffd578937521
2005-03-03 17:20:19 +00:00
fedor
a36136aa98 * Source/NSFileManager.m (-createFileAtPath:...): Define var at
beginning to work on gcc 2.x compilers.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20838 72102866-910b-0410-8b05-ffd578937521
2005-03-03 17:01:11 +00:00
fedor
5c7a02d672 * Start on integrating Sheldon Gills NSPathUtilities patches.
* Headers/Foundation/NSPathUtilities.h: Depreciate
GSSystemRootDirectory, GSStandardPathPrefixes. Add
GSPreferencesDirectory to NSSearchPathDirectory enum. Enumerate
NSSearchPathDomainMask values.
* Headers/Additions/GNUStepBase/Win32Support.h,
Headers/Additions/GNUStepBase/Win32_Utilites.h: New files.
* Source/GNUmakefile: Add NSPathUtilities.m
* Source/NSUser.m: Move everything in here...
* Source/NSPathUtilities.m: to here.
* Source/win32/GNUmakefile: Add Win32Support.m, Win32_Utilities.m
* Source/win32Win32Support.m, Win32_Utilities.m: New files
* Testing/nspathutilites.m: New file.
(Files and patches from Sheldon Gill with minor modifications).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20837 72102866-910b-0410-8b05-ffd578937521
2005-03-03 16:04:22 +00:00
CaS
a57d77a801 Make fixes suggested by David Ayers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20829 72102866-910b-0410-8b05-ffd578937521
2005-03-02 13:39:33 +00:00
CaS
a4219a7c74 KVC updates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20828 72102866-910b-0410-8b05-ffd578937521
2005-03-02 11:46:21 +00:00
fedor
0528b31e80 * Source/NSBundle.m (+gnustepBundle,
+pathForGNUstepResource:ofType:inDirectory:]): Add depreciated
log message.
* Source/NSNotificationQueue.m, Source/null-load.h:
Fix copyright message.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20823 72102866-910b-0410-8b05-ffd578937521
2005-03-01 15:50:26 +00:00
nico
2782bd24fc Linking updates for MinGW
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20819 72102866-910b-0410-8b05-ffd578937521
2005-03-01 05:00:35 +00:00
CaS
d05bb0584e Fix fosdem changes and a few bugs exposed by them.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20811 72102866-910b-0410-8b05-ffd578937521
2005-02-28 17:18:54 +00:00
ayers
b2d1a0346a Acually commit the file.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20810 72102866-910b-0410-8b05-ffd578937521
2005-02-28 15:46:11 +00:00
CaS
3bf7ab2863 MacOS-X compatibility update
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20806 72102866-910b-0410-8b05-ffd578937521
2005-02-27 12:25:10 +00:00
CaS
d650d89cb9 Fosdem updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20805 72102866-910b-0410-8b05-ffd578937521
2005-02-27 10:46:19 +00:00
fedor
cdbd239478 * configure.ac: Add test to check for poll emulation
* Source/NSRunLoop.h: Don't use poll if we're just emulating.
* Source/unix/GSRunLoopCtxt.m: Idem.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20788 72102866-910b-0410-8b05-ffd578937521
2005-02-23 22:17:54 +00:00
CaS
813f640a49 Apply modified patch to support windows native event handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20785 72102866-910b-0410-8b05-ffd578937521
2005-02-23 16:05:09 +00:00
CaS
657e38c038 Fix typo in mingw code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20777 72102866-910b-0410-8b05-ffd578937521
2005-02-22 14:40:10 +00:00
CaS
d5f073ab12 Simplify some debug logging statements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20776 72102866-910b-0410-8b05-ffd578937521
2005-02-22 14:17:22 +00:00
CaS
89dd47ec16 Minor enhancement to improve debugging
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20775 72102866-910b-0410-8b05-ffd578937521
2005-02-22 14:06:28 +00:00
CaS
0708409c1b Tidy up use of white space so we have it after if/for/while and not after (
or before ) or padding at end of line.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20773 72102866-910b-0410-8b05-ffd578937521
2005-02-22 11:22:44 +00:00
CaS
c5f49ccbcb Attempt to fix local bug and improve performance a little.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20772 72102866-910b-0410-8b05-ffd578937521
2005-02-21 20:27:42 +00:00
CaS
92b3407144 Include malloc.h ... needed on some systems for declaration of alloca()
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20770 72102866-910b-0410-8b05-ffd578937521
2005-02-21 14:33:43 +00:00
CaS
f82f6d1ab9 Fix infinite loop
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20769 72102866-910b-0410-8b05-ffd578937521
2005-02-21 14:11:22 +00:00
CaS
4d3b95dc24 Fix environment setting on NSTask
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20743 72102866-910b-0410-8b05-ffd578937521
2005-02-18 08:15:34 +00:00
CaS
6f0bc40f4b Fax varname clashn in last modification
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20741 72102866-910b-0410-8b05-ffd578937521
2005-02-18 06:17:37 +00:00
CaS
dc12f6bef9 Mingw fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20740 72102866-910b-0410-8b05-ffd578937521
2005-02-18 06:13:20 +00:00
CaS
c66073233b Fix for xml on mingw32
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20736 72102866-910b-0410-8b05-ffd578937521
2005-02-16 17:40:48 +00:00
CaS
61dac0f08f Fix incorrect version comitted
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20722 72102866-910b-0410-8b05-ffd578937521
2005-02-15 10:05:41 +00:00
CaS
6f8edb3f3a Fix correct version of NSTask I hope
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20721 72102866-910b-0410-8b05-ffd578937521
2005-02-15 09:36:13 +00:00
CaS
d31995aa0f Remove unused function
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20707 72102866-910b-0410-8b05-ffd578937521
2005-02-14 11:48:36 +00:00
CaS
768f84e14a Fix bug #11378
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20706 72102866-910b-0410-8b05-ffd578937521
2005-02-14 11:22:02 +00:00
CaS
0688e628c4 Fix for bug #11360
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20705 72102866-910b-0410-8b05-ffd578937521
2005-02-14 11:03:53 +00:00
CaS
4b20910745 Rewrite -unicodeString method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20671 72102866-910b-0410-8b05-ffd578937521
2005-02-08 11:20:42 +00:00
CaS
3698291b1e Try to fix windows bug by using NSTask to create daemon.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20670 72102866-910b-0410-8b05-ffd578937521
2005-02-08 10:11:18 +00:00
CaS
fca13ece15 Fix typo in windows code
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20647 72102866-910b-0410-8b05-ffd578937521
2005-02-02 13:06:41 +00:00
CaS
e22f1c0d4f Expand '~' abbreviations in localFromOpenStepPath: and change lines modified
by last windows patch to conform to coding standards.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20646 72102866-910b-0410-8b05-ffd578937521
2005-02-02 09:43:29 +00:00
ratmice
eadacf7ce5 * Source/NSUndoManager.m (-registerUndoWithTarget:selector:object:):
Have the invocation to retain it's arguments. (Fixes bug #4692.)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20635 72102866-910b-0410-8b05-ffd578937521
2005-01-30 11:54:07 +00:00
gcasa
566ede417f Futher improvements to NSUndoManager.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20593 72102866-910b-0410-8b05-ffd578937521
2005-01-22 03:07:29 +00:00
gcasa
c4a389549a Another fix for undo/redo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20563 72102866-910b-0410-8b05-ffd578937521
2005-01-16 12:58:20 +00:00
gcasa
5562ad7bf2 Make the code in undo manager slightly more efficient.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20561 72102866-910b-0410-8b05-ffd578937521
2005-01-16 11:36:30 +00:00
gcasa
c6bd63d9c7 Corrected issue with previous change.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20560 72102866-910b-0410-8b05-ffd578937521
2005-01-15 11:16:00 +00:00
gcasa
0569bc7afb Undo improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20559 72102866-910b-0410-8b05-ffd578937521
2005-01-15 11:11:49 +00:00
gcasa
d8e7174773 Redo fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20552 72102866-910b-0410-8b05-ffd578937521
2005-01-14 11:49:46 +00:00
gcasa
b0e6b71be7 Corrected problem with undo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20550 72102866-910b-0410-8b05-ffd578937521
2005-01-14 10:45:09 +00:00
mguesdon
e7ab49ec59 Fix 2 digits timezone in NSCalendarFormat:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20528 72102866-910b-0410-8b05-ffd578937521
2005-01-08 20:40:29 +00:00
fedor
a1ee0c6aed * Source/NSTimeZone.m (+abbreviationDictionary): Retain dictionary
(Fixes bug #11516).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20526 72102866-910b-0410-8b05-ffd578937521
2005-01-07 15:33:16 +00:00
fedor
142f0b1784 * Add support for systems that support unichar file paths (e.g.
Windows).
* Headers/Foundation/NSFileManager.h (-localFromOpenStepPath:,
_openStepPathFromLocal:): New methods.
(NSDirectoryEnumerator): Updated ivars.
* Source/NSFileManager.m: Idem.
(-changeCurrentDirectoryPath, changeFileAttributes:,
currentDirectoryPath, etc): Update for Windows unichar paths.
* Headers/Foundation/NSString.h: (-unicharString,
-localFromOpenStepPath:, _openStepPathFromLocal:): New methods.
* Source/NSString.m: Idem.
* Source/GSFileHandle.m (-initForReadingAtPath:,
-initForWritingAtPath, -initForUpdatingAtPath:): Update for Windows
unichar paths.
* Source/NSData.m (readContentsOfFile, -writeToFile:,
initWithContentsOfMappedFile:): Idem.
* Source/NSTask.m (NSConcreteWindowsTask): Update for Windows
unichar paths.
(Patch from Roland Schwingle <roland.schwingel@onevision.de>)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20502 72102866-910b-0410-8b05-ffd578937521
2004-12-29 04:21:37 +00:00
fedor
db8fe0f10f * Source/NSTimeZone (NSInternalAbbrevDict): Remove class
(+abbreviationDictionary): Implement from new one-to-one plist.
* NStimeZones/NSTimeZone.tar: Added abbreviations.plist. Regenerated.
* Testing/nstimezone.m: New tests.

* Source/Additions/GNUmakefile: Remove duplicate Unicode.m.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20476 72102866-910b-0410-8b05-ffd578937521
2004-12-21 23:20:32 +00:00
dwetzel
efda8d7aa0 added Additions_OBJC_FILES += Unicode.m on apple
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20473 72102866-910b-0410-8b05-ffd578937521
2004-12-21 19:43:59 +00:00
CaS
b7474e3363 Fix some indentation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20467 72102866-910b-0410-8b05-ffd578937521
2004-12-19 05:59:47 +00:00
dwetzel
6283d20653 * Source/Additions/GSCategories.m ([NSMutableString
-replaceString:withString:]): Rewrite to work again.
        [tmp replaceString:@"&" withString:@"&amp;"]; Did NOT work.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20466 72102866-910b-0410-8b05-ffd578937521
2004-12-18 21:31:26 +00:00
fedor
531dd954e2 * Changes so additions compiles on older Mac OS X 10.1.5
* Source/Additions/GCArray.m (-copyWithZone:): Use more standard
array initialization method.
(mutableCopyWithZone:,	[GCMutableArray -copyWithZone:],
[GCMutableArray -mutableCopyWithZone:]): Idem.

* Source/Additions/GSCategories.m ([NSData -hexadecimalRepresentation]):
Use identically functioning, but older, standard data initialization.
* Source/Additions/GSCategories.m ([NSMutableString
-replaceString:withString:]): Rewrite to use older, standard
methods.

* Tools/AGSHtml.m ([AGSHtml -outputNode:to:]): Use GNUstep addition
method to replace string.
* Tools/autogsdoc.m (main): Idem.
(Patch from Markus Hitter).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20448 72102866-910b-0410-8b05-ffd578937521
2004-12-13 04:53:01 +00:00
ratmice
3ae6ffea81 2004-12-09 Matt Rice <ratmice@yahoo.com>
* Source/NSUndoManager.m
        ([-forwardInvocation,-registerUndoWithTarget:selector:object:): Don't
        clear the redo stack if redoing.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20432 72102866-910b-0410-8b05-ffd578937521
2004-12-09 09:36:00 +00:00
fedor
5a08f449a7 * configure.ac: Test for objc forwarding by compiling a program.
* config/config.forward.m: New file.
(Fixes bug #11188).

* Source/GSFormat.m (GSFormat): Assign wchar via var args from an
int (Fixes bug #10950).

* Testing/string.m: Tests for standardizing path.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20427 72102866-910b-0410-8b05-ffd578937521
2004-12-08 16:22:51 +00:00
CaS
775cd4d09c Fix %b format error
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20409 72102866-910b-0410-8b05-ffd578937521
2004-12-01 15:43:34 +00:00
fedor
47e1212724 * Source/GSFileHandle.m (-setNonBlocking:): Set the isNonBlocking
ivar on MingW. Fixes bug #10742.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20402 72102866-910b-0410-8b05-ffd578937521
2004-12-01 05:01:05 +00:00
ratmice
652609e55d 2004-11-30 Matt Rice <ratmice@yahoo.com>
* Source/NSBundle.m (-principalClass): If the class specified in
        NSPrincipalClass key is not found return the first class found.
        * Headers/Foundation/NSBundle.h (-principalClass): Document the above.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20401 72102866-910b-0410-8b05-ffd578937521
2004-11-30 22:16:32 +00:00
CaS
d3bbcd8394 Restructure handling of thread exit to avoid setting up separate
notification handlers for each connection.  Optimise a little.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20380 72102866-910b-0410-8b05-ffd578937521
2004-11-25 17:00:45 +00:00
CaS
24f61c4a16 Minor documentation tweak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20370 72102866-910b-0410-8b05-ffd578937521
2004-11-23 09:56:53 +00:00
CaS
8ab351aa1e Minor twekas to fix three bug reports.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20368 72102866-910b-0410-8b05-ffd578937521
2004-11-22 11:48:50 +00:00
CaS
ddc3ee78c2 A few NSBundle bugfixes and workaround for problem with using the pth
library in gdnc.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20367 72102866-910b-0410-8b05-ffd578937521
2004-11-20 20:14:24 +00:00
CaS
9111363eb3 Fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20361 72102866-910b-0410-8b05-ffd578937521
2004-11-19 14:34:25 +00:00
CaS
5e95fdf285 Memory leak fix and tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20360 72102866-910b-0410-8b05-ffd578937521
2004-11-19 09:41:34 +00:00
fedor
ee92fa6367 * Headers/Foundation/NSBundle.h (builtInPlugInsPath): New method.
* Source/NSBundle (builtInPlugInsPath): Imeplement (based on patch
#3483).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20341 72102866-910b-0410-8b05-ffd578937521
2004-11-11 18:51:37 +00:00
CaS
8879270729 Minor reliability tweaks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20335 72102866-910b-0410-8b05-ffd578937521
2004-11-10 11:45:08 +00:00
arobert
7b13142643 patch by Alexander Malmberg allowing event polling to time out more quickly
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20296 72102866-910b-0410-8b05-ffd578937521
2004-11-05 03:52:22 +00:00
fedor
65997ec654 * Headers/Foundation/NSTimeZone.h, Source/NSTimeZone.m
(+knownTimeZoneNames:): New method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20295 72102866-910b-0410-8b05-ffd578937521
2004-11-05 03:47:03 +00:00
CaS
d2161f1c01 Revert an nsthread change and try to avoid memory leaks when autorelease
pools are created during the thread exit process.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20287 72102866-910b-0410-8b05-ffd578937521
2004-11-03 13:20:39 +00:00
CaS
e7fd84dbae Attempted fix for long long int support in GSFormat
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20276 72102866-910b-0410-8b05-ffd578937521
2004-11-01 08:25:04 +00:00
CaS
3294ed0aab Slight performance improvement (better hash), plus tweaks for 64bit processors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20275 72102866-910b-0410-8b05-ffd578937521
2004-10-31 13:02:58 +00:00
CaS
c8aae944a4 MacOS-X compatibility fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20274 72102866-910b-0410-8b05-ffd578937521
2004-10-31 10:08:20 +00:00
ratmice
b65f2e35c7 2004-10-29 Matt Rice <ratmice@yahoo.com>
* Source/Additions/GSObjCRuntime.m (GSObjCAllSubclassesOfClass,
        GSObjCDirectSubclassesOfClass): skip meta classes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20268 72102866-910b-0410-8b05-ffd578937521
2004-10-29 19:31:06 +00:00
fedor
eea8598fbf Version 1.10.1
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20266 72102866-910b-0410-8b05-ffd578937521
2004-10-29 03:31:04 +00:00
fedor
a2f7e30285 * configure.ac: Standardize order of flags and libs
Check for proper defs in tzfile.h. Add sub-configure options
so they are listed in help. Add generic include/lib flags option.
* config.mak.in: Add load flags variable
* base.make.in: Idem.
* SSL/configure.ac: Add generic include/lib flags option.

* Version: Add numeric value for runtime versioning.
* Souce/GNUmakeifle: Add resource set install
* Source/Makefile.postamble (Info-gnustep.plist): New target.
* Testing/nsbundle.m: Additional tests.

* Source/NSTimeZone.m: Check for proper tzfile defs (Fixes #10724).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20261 72102866-910b-0410-8b05-ffd578937521
2004-10-26 19:08:17 +00:00
CaS
4d59f2e002 Implement abort of parsing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20255 72102866-910b-0410-8b05-ffd578937521
2004-10-24 12:29:31 +00:00
CaS
612ef8a1d5 Fix for when default nameserver is host-local.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20254 72102866-910b-0410-8b05-ffd578937521
2004-10-24 06:13:24 +00:00
FredKiefer
e81b213d74 Handle bigger numbers in binary property lists.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20241 72102866-910b-0410-8b05-ffd578937521
2004-10-21 20:45:55 +00:00
CaS
524a852ed9 Added pre-alpha NSXMLPzarser compatibility layer.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20238 72102866-910b-0410-8b05-ffd578937521
2004-10-20 10:48:04 +00:00
ratmice
be09199907 2004-10-17 Matt Rice <ratmice@yahoo.com
* Source/objc-load.m (objc_load_module): resolve class links under GNU
        runtime
        * Headers/Additions/GNUstepBase/GSObjCRuntime.h
        * Source/Additions/GSObjCRuntime.m
        (GSObjCAllSubclassesOfClass,GSObjCDirectSubclassesOfClass):
        New functions.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20234 72102866-910b-0410-8b05-ffd578937521
2004-10-17 23:22:41 +00:00
fedor
67ef77deea * Source/NSCalendarDate.m [-initWithString:] Revert to previous
code, and try to load time zone abbreviation from name first.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20227 72102866-910b-0410-8b05-ffd578937521
2004-10-16 03:05:58 +00:00
CaS
64ff173e3a Don't expect body where status is 204 or 304
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20224 72102866-910b-0410-8b05-ffd578937521
2004-10-15 13:34:11 +00:00
fedor
f67c563d8e * Source/NSBundle.m (_bundle_name_first_match): Remove path
extension when comparing name (fixes #10611)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20222 72102866-910b-0410-8b05-ffd578937521
2004-10-14 04:08:24 +00:00
CaS
95daaf5f4c XML parsing bughfix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20221 72102866-910b-0410-8b05-ffd578937521
2004-10-13 16:46:09 +00:00
fedor
3718cbfdcd * configure.ac: Check for tzfile.h
* Source/NSTimeZone.m: Include system tzfile.h if found.
(abbreviationMap): Add abbreviation from systemTimeZone if not
already there.
(systemTimeZone): Update the search list to look for time zone in TZ,
then system location, then tznam.
(getTimeZoneFile:): Look for file in system directory first.
* Source/nstzfile.h: Renamed from tzfile.h


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20217 72102866-910b-0410-8b05-ffd578937521
2004-10-11 03:08:54 +00:00
FredKiefer
e17a91003f Improved keydecoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20214 72102866-910b-0410-8b05-ffd578937521
2004-10-09 15:40:23 +00:00
fedor
0f373a108e * Source/Makefile.postamble (libgnustep-base.def): Search for both
T and R symbols to work with multiple mingw/cygwin flavors.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20197 72102866-910b-0410-8b05-ffd578937521
2004-10-06 03:33:09 +00:00
CaS
f349c02156 Fix crsh when trimming space containing unicode character with high byte non zero.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20196 72102866-910b-0410-8b05-ffd578937521
2004-10-05 08:32:18 +00:00
CaS
560e7abd15 Fix premature end of reading a post.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20195 72102866-910b-0410-8b05-ffd578937521
2004-10-04 09:53:47 +00:00
CaS
4cb14033bd Add a couple of methods for dealing with xml escape sequences
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20189 72102866-910b-0410-8b05-ffd578937521
2004-10-03 09:11:15 +00:00
fedor
77b00150c7 * Documentation/HtmlNav/docs-web.html,
Documentation/HtmlNav/index.html: Update pointers.
* Source/DocMakefile (before-clean, after-clean): Move obj out of the
way so it isn't removed when cleaning docs.
* Tools/DocMakefile: Idem.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20183 72102866-910b-0410-8b05-ffd578937521
2004-10-01 16:05:08 +00:00
CaS
78ab0dc2b2 Thread safety fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20179 72102866-910b-0410-8b05-ffd578937521
2004-09-29 08:47:25 +00:00
alexm
cf50088545 * Source/NSDistantObject.m: Make proxyLocation an enum tag, not a
variable.
	* Source/NSFileManager.m (custom_strdup, append_file_to_path): Make
	static.
	* Source/NSString.m (-isEqual:): Clarify documentation.
	* Source/NSUnarchiver.m (mapClassObject, mapClassName): Make static.
	* Source/Additions/Unicode.m (GetDefEncoding): Add missing void in
	the prototype.
	* Tools/make_strings/make_strings.m (ParseFile): Remove spurious
	static on the nested function add_arg_ch.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20163 72102866-910b-0410-8b05-ffd578937521
2004-09-27 21:32:45 +00:00
CaS
c8cb740907 Mnor documentation tweak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20156 72102866-910b-0410-8b05-ffd578937521
2004-09-27 10:24:02 +00:00
CaS
61fade5ef4 Minor thread tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20155 72102866-910b-0410-8b05-ffd578937521
2004-09-27 08:59:04 +00:00
CaS
485e7f8ece Tidied a little, removing redundant code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20154 72102866-910b-0410-8b05-ffd578937521
2004-09-27 06:58:23 +00:00
CaS
1975e6a285 try to re-establish a dropped connection if using keepalive
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20128 72102866-910b-0410-8b05-ffd578937521
2004-09-24 19:21:57 +00:00
CaS
65b5090ee6 Fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20127 72102866-910b-0410-8b05-ffd578937521
2004-09-24 19:16:22 +00:00
CaS
318ef1cd5d Fix memory leak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20126 72102866-910b-0410-8b05-ffd578937521
2004-09-24 19:14:26 +00:00
CaS
9e4dc1c321 Fix array enumeration direction.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20124 72102866-910b-0410-8b05-ffd578937521
2004-09-24 15:57:54 +00:00
CaS
7fc70e35ff Minor fixes to use of local hostname.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20112 72102866-910b-0410-8b05-ffd578937521
2004-09-23 08:19:29 +00:00
CaS
00ec0cdb02 Oops comitted wrong version
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20099 72102866-910b-0410-8b05-ffd578937521
2004-09-21 14:20:34 +00:00
CaS
24f1083d2e Make timeouts work more reliably
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20098 72102866-910b-0410-8b05-ffd578937521
2004-09-21 13:43:10 +00:00
CaS
735749c30c minor optimisation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20097 72102866-910b-0410-8b05-ffd578937521
2004-09-20 10:10:10 +00:00
arobert
9d1be23476 comment cleanups to improve documentation output
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20094 72102866-910b-0410-8b05-ffd578937521
2004-09-19 23:24:36 +00:00
arobert
24c11fe90e declare constant strings as constant, and move values from source files into externs.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20092 72102866-910b-0410-8b05-ffd578937521
2004-09-19 23:19:53 +00:00
ayers
fa4594e1f0 Fix comments wrt runtime qualifier.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20075 72102866-910b-0410-8b05-ffd578937521
2004-09-16 16:13:16 +00:00
ayers
61bc272015 * Source/Additions/GSObjCRuntime.m
(GSAppendMethodToList): Copy type information for the NeXT runtime.
        (GSRemoveMethodFromList): Add comment about potential minor leak.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20074 72102866-910b-0410-8b05-ffd578937521
2004-09-16 15:43:40 +00:00
CaS
52ef6a0c5b MacOS0X compatibility tweak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20073 72102866-910b-0410-8b05-ffd578937521
2004-09-16 14:33:54 +00:00
CaS
e594a48208 Fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20065 72102866-910b-0410-8b05-ffd578937521
2004-09-14 15:55:18 +00:00
CaS
737f6b7e57 Tolerate null pointer arguments for returning information.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20063 72102866-910b-0410-8b05-ffd578937521
2004-09-14 03:34:37 +00:00
ayers
42d4e11439 * Source/NSArray.m: Consistently terminate macros with semicolons.
(arrayByAddingObjectsFromArray)
        (removeObjectsFromIndices:numIndices:): Insure all
	declarations precede statements.
        * Source/NSDictionary.m: Consistently terminate macros with
        semicolons.
        * Source/NSSet.m (initWithCoder:): Insure all declarations
	precede statements.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20043 72102866-910b-0410-8b05-ffd578937521
2004-09-10 15:10:54 +00:00
CaS
d6ca992407 Implement missing init method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20041 72102866-910b-0410-8b05-ffd578937521
2004-09-09 10:39:01 +00:00
CaS
8b9685f81f Improve error logging a little
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20030 72102866-910b-0410-8b05-ffd578937521
2004-09-08 09:13:50 +00:00
CaS
c9eaf52038 Log exceptions when timer fires
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20025 72102866-910b-0410-8b05-ffd578937521
2004-09-07 16:54:16 +00:00
CaS
ddd167a6b1 Fix variuus minor bugs reported by Andre Levy
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20020 72102866-910b-0410-8b05-ffd578937521
2004-09-07 14:27:14 +00:00
CaS
1b371d7744 Fix stack overflow problem
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20016 72102866-910b-0410-8b05-ffd578937521
2004-09-07 11:08:46 +00:00
CaS
420c49dd17 Override -init to use our own initialiser
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20013 72102866-910b-0410-8b05-ffd578937521
2004-09-07 09:22:10 +00:00
CaS
e398188c18 MacOS-X compatibility fixes and improved documentation about class cluster
initialisers.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20012 72102866-910b-0410-8b05-ffd578937521
2004-09-07 05:43:20 +00:00
fedor
6dd158e39c * Version 1.10.0
* Source/GNUmakefile: Define INTERFACE_VERSON explicitly.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19993 72102866-910b-0410-8b05-ffd578937521
2004-09-05 02:31:35 +00:00
ayers
3a3f23c0e7 * Source/GSFFCallInvocation.m
* Source/GSFFIInvocation.m (gs_protocol_selector): Skip '-'
        for negative offsets to avoid issues with pre gcc 3.4 generated
        signatures.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19975 72102866-910b-0410-8b05-ffd578937521
2004-09-02 16:35:44 +00:00
fedor
e369541804 * Source/NSProcessInfo.m ([NSProcessInfo +load]): Get environment
variables via environ even #ifdef HAVE_KVM (fix/based on #10113).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19928 72102866-910b-0410-8b05-ffd578937521
2004-08-26 15:04:26 +00:00
CaS
06c824b4f9 NSString mutability fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19927 72102866-910b-0410-8b05-ffd578937521
2004-08-26 13:43:34 +00:00
CaS
150d8f0a97 Fix mistake in property key names for certificate support
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19926 72102866-910b-0410-8b05-ffd578937521
2004-08-26 10:41:04 +00:00
CaS
18a4d7e1aa Improve charset mappings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19921 72102866-910b-0410-8b05-ffd578937521
2004-08-25 13:28:27 +00:00
CaS
8c85a94561 Add a missing charset
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19920 72102866-910b-0410-8b05-ffd578937521
2004-08-25 13:23:15 +00:00
ayers
9316236aaf * Source/NSScanner.m: Define _GNU_SOURCE before including
other headers.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19915 72102866-910b-0410-8b05-ffd578937521
2004-08-24 16:18:48 +00:00
CaS
3bac74a85c Support persistent connections by reusing the underlying file handle
if the remote server is http1.1 or greater and has not explicitly
closed the connection.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19912 72102866-910b-0410-8b05-ffd578937521
2004-08-24 11:49:44 +00:00
CaS
b480d424c4 Certificate usage support for https
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19911 72102866-910b-0410-8b05-ffd578937521
2004-08-24 09:16:58 +00:00
CaS
71a8c69719 Fix leak of handled when using DO between threads.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19910 72102866-910b-0410-8b05-ffd578937521
2004-08-24 08:08:14 +00:00
CaS
0d8ec1ee0f Implement (and document) a MacOS-X compatibility behavior
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19909 72102866-910b-0410-8b05-ffd578937521
2004-08-24 05:20:40 +00:00
CaS
2ef86a582f Improve date handling in text representation of property list.
Make XML format consistent with MacOS-X


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19908 72102866-910b-0410-8b05-ffd578937521
2004-08-24 05:02:58 +00:00
CaS
d3f69e8740 Add content location methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19903 72102866-910b-0410-8b05-ffd578937521
2004-08-23 14:29:50 +00:00
CaS
91cbfcec05 Modest string handling optimisations.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19901 72102866-910b-0410-8b05-ffd578937521
2004-08-22 10:18:52 +00:00
ayers
b803fe27a6 * Headers/Foundation/NSMethodSignature.h:
(NSArgumentInfo): Document limitations of NSArgumentInfo's
        offset and registier information.  Match size for NO_GNUSTEP.
        (NSMethodSignature): Match ivar name with runtime information.

        * Source/GSFFCallInvocation.m
        * Source/GSFFIInvocation.m
        * Source/NSInvocation.m
        (gs_method_for_receiver_and_selector)
        ([-invokeWithTarget:]): Use GSGetMethod instead of deprecated
        GSGetInstanceMethod and GSGetClassMethod.
        * Source/NSConnection.m ([-_service_typeForSelector]): Ditto.
        * Source/NSDistantObject.m ([+respondsToSelector]): Ditto.
        * Source/NSObject.m ([+instanceMethodSignatureForSelector:])
        ([-methodSignatureForSelector:])
        ([+descriptionForInstanceMethod], [-descriptionForMethod]): Ditto.
        * Source/NSProtocolChecker.m ([-methodSignatureForSelector]): Ditto.
        * Source/NSProxy.m ([+methodSignatureForSelector])
        ([-methodSignatureForSelector]): Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19896 72102866-910b-0410-8b05-ffd578937521
2004-08-20 17:53:16 +00:00
ayers
0e784f41d8 * Source/Additions/GSObjCRuntime.m (GSSelectorTypesMatch):
Ignore structure names.
        * Testing/nsmethodsignature.m: Added test for nested
        structures.  Reactivated test for signatures from older gcc
        versions.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19891 72102866-910b-0410-8b05-ffd578937521
2004-08-20 12:58:04 +00:00
ayers
eb84dff7b8 * Headers/Additions/GNUstepBase/GSObjCRuntime.h
* Source/Additions/GSObjCRuntime.m (GSSelectorTypesMatch):
        New Function.
        (gs_skip_type_qualifier_and_layout_info): Ditto.

        * Source/callframe.m (callframe_do_call): Use
	GSSelectorTypesMatch instead of sel_types_match.
        * Source/cifframe.m (cifframe_do_call): Ditto.
        * Source/mframe.m (mframe_do_call): Ditto.

        * Source/GSFFCallInvocation.m (GSInvocationCallback): Use
        NSDebugFLog to NSWarnFLog.
        * Source/GSFFIInvocation.m (GSFFIInvocationCallback): Ditto.

        * Testing/nsmethodsignature.m: Use GSSelectorTypesMatch
	instead of sel_types_match.  Test it.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19886 72102866-910b-0410-8b05-ffd578937521
2004-08-19 16:19:48 +00:00
CaS
710c84baf9 Fix minor memory leak.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19885 72102866-910b-0410-8b05-ffd578937521
2004-08-19 14:50:44 +00:00
CaS
4e65c1501f A couple of methods added for consistency.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19880 72102866-910b-0410-8b05-ffd578937521
2004-08-18 10:12:13 +00:00
CaS
c298ba7ef2 Fix to compile under windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19876 72102866-910b-0410-8b05-ffd578937521
2004-08-17 06:33:07 +00:00
CaS
a3499f8b23 Minor optimisation of hahs and improved output for old style plists.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19863 72102866-910b-0410-8b05-ffd578937521
2004-08-11 05:24:55 +00:00
CaS
0f2fc0845c Use message ports if the runtime setting is for MacOS-X compatibility.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19842 72102866-910b-0410-8b05-ffd578937521
2004-08-08 14:50:43 +00:00
alexm
0fe7535f25 Add default for switching between NSSocketPort and NSMessagePort as the default NSPort class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19832 72102866-910b-0410-8b05-ffd578937521
2004-08-07 00:44:15 +00:00
CaS
3a56cda1ce When parsing documents with non-standard charset, set the charset actually
used in the content type so that we can unparse the data properly too.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19831 72102866-910b-0410-8b05-ffd578937521
2004-08-06 13:26:25 +00:00
alexm
a9cde13d8e Fix forwarding of methods not in the proxies protocl if a protocol is set.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19826 72102866-910b-0410-8b05-ffd578937521
2004-08-05 00:03:30 +00:00
alexm
a943a78640 Fix handling of plists and strings files in non-ascii encodings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19805 72102866-910b-0410-8b05-ffd578937521
2004-07-30 21:36:36 +00:00
arobert
eca63cb414 documented functions, types, constants, and variables
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19797 72102866-910b-0410-8b05-ffd578937521
2004-07-29 15:30:47 +00:00
ayers
cdbaa778fc * Headers/Additions/GNUstepBase/GSObjCRuntime.h
* Source/Additions/GSObjCRuntime.m: Make ObjC++ safe.
        (GSObjCSuper, GSObjCIsKindOf, GSNameFromClass)
        (GSTypesFromSelector, GSGetMethod, GSFlushMethodCacheForClass)
        (GSCGetInstanceVariableDefinition)
        (GSObjCGetInstanceVariableDefinition)
        (GSMethodListForSelector, GSAddMethodList, GSRemoveMethodList)
        (GSObjCVersion, GSObjCName, GSObjCSelectorName)
        (GSObjCSelectorTypes, GSGetInstanceMethod, GSGetClassMethod)
        (GSGetInstanceMethodNotInherited, GSGetClassMethodNotInherited)
        (search_for_method_in_class, GSObjCAddMethods): Replace class
        and this with cls or sel.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19790 72102866-910b-0410-8b05-ffd578937521
2004-07-29 12:55:05 +00:00
CaS
2c9279b422 Fix for inefficiency/leak in emptyPool
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19789 72102866-910b-0410-8b05-ffd578937521
2004-07-29 10:54:55 +00:00
wim
206cc783e7 ([GSFileHandle -gcFinalize]): if __MINGW__ also
close ordinary file descriptor, not only the socket.
([GSFileHandle -closeFile]): in __MINGW__ defined block:
changed test of !isStandardFile to isSocket, and make sure that the
ordinary file descriptor is also closed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19784 72102866-910b-0410-8b05-ffd578937521
2004-07-28 11:36:09 +00:00
CaS
d5f75609d4 Tweak old style property list output format. tab, cr, nl characters in a
quoteed string should not need escaping, thoiugh escaped versions need to
be understood on input.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19768 72102866-910b-0410-8b05-ffd578937521
2004-07-22 14:27:39 +00:00
ayers
823657d231 * Source/Additions/GSObjCRuntime.m
(gs_revert_selector_names_in_list): New function.
	(GSRemoveMethodList): Also revert selectors for first list.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19759 72102866-910b-0410-8b05-ffd578937521
2004-07-21 18:58:21 +00:00
CaS
c7b5b71690 Minor locale patch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19746 72102866-910b-0410-8b05-ffd578937521
2004-07-18 10:48:19 +00:00
alexm
c79f943077 Use memmove instead of memcpy for potentially overlapping moves.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19730 72102866-910b-0410-8b05-ffd578937521
2004-07-13 14:11:27 +00:00
fedor
208e2a0082 Remove solaris warning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19703 72102866-910b-0410-8b05-ffd578937521
2004-07-10 03:19:56 +00:00
CaS
b596a8fc61 Use latin1 as default encoding.
Be strict about converting ascii to unicode ... check that it really is ascii.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19685 72102866-910b-0410-8b05-ffd578937521
2004-07-05 15:42:32 +00:00
CaS
1f04bbffc4 Add a couple of MacOS-X methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19678 72102866-910b-0410-8b05-ffd578937521
2004-07-04 09:25:50 +00:00
CaS
9a1ac2cb24 Bugfix generating unicode escapes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19677 72102866-910b-0410-8b05-ffd578937521
2004-07-03 17:48:35 +00:00
CaS
b4e64c1e10 Document the fact that -propertyList returns mutable containers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19674 72102866-910b-0410-8b05-ffd578937521
2004-07-03 09:08:24 +00:00
CaS
56cc72bec9 Make decoded property list containers mutable.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19672 72102866-910b-0410-8b05-ffd578937521
2004-07-03 09:02:49 +00:00
CaS
32418a87f9 A lot of property list tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19669 72102866-910b-0410-8b05-ffd578937521
2004-07-02 10:37:54 +00:00
ayers
0fe2082695 * Headers/Foundation/NSMethodSignature.h
* Source/NSMethodSignature.m
        * Source/GSFFCallInvocation.m
        * Source/GSFFIInvocation.m: Revert last mframe patch.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19667 72102866-910b-0410-8b05-ffd578937521
2004-07-02 08:04:54 +00:00
FredKiefer
0afa445d12 Applied NSTimeZone stucture packing patch.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19666 72102866-910b-0410-8b05-ffd578937521
2004-07-01 23:24:35 +00:00
ayers
dbe1800bbd * Headers/Foundation/NSMethodSignature.h
(_internalMethodTypes): New instance variable.
        * Source/NSMethodSignature.m: ([+signatureWithObjCTypes]): Store
        the runtime signature separately from the mframe signature.
        Document.
        ([-dealloc]): Free new instance variable.
        ([-methodInfo]): Use _internalMethodTypes to build argument
        information.

        * Source/GSFFCallInvocation.m (GSInvocationCallback)
        * Source/GSFFIInvocation.m (GSInvocationCallback): Use the
        selector registered in the runtime for the receiver instead of
        the constructed selector from the stack to avoid mismatches in the
        runtime.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19662 72102866-910b-0410-8b05-ffd578937521
2004-07-01 11:38:19 +00:00
CaS
a843b058ca Added a couple of MacOS-X compatibility methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19651 72102866-910b-0410-8b05-ffd578937521
2004-06-29 10:31:05 +00:00
alexm
7f24762a29 (read_only): Remove.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19625 72102866-910b-0410-8b05-ffd578937521
2004-06-26 15:17:16 +00:00
CaS
9a686ff388 Add some optional sanity check code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19616 72102866-910b-0410-8b05-ffd578937521
2004-06-25 09:06:02 +00:00
CaS
8cdcd4c253 Fix bug removing from index set.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19615 72102866-910b-0410-8b05-ffd578937521
2004-06-25 06:53:15 +00:00
CaS
96c30f4709 Remove debug statement accidentally left in
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19610 72102866-910b-0410-8b05-ffd578937521
2004-06-24 09:27:10 +00:00
CaS
082f9a65f2 SAX2 fixes and a minor path fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19609 72102866-910b-0410-8b05-ffd578937521
2004-06-24 09:26:01 +00:00
CaS
7a6934a0db Remove some redundant code for clarity, Implement missing method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19607 72102866-910b-0410-8b05-ffd578937521
2004-06-24 04:17:56 +00:00
arobert
dbdfcfab37 added GSdoc comments to class, method, and function declarations; for some classes some comments were already in the source file (not the header), in which case further comments were added here; otherwise comments were put in the headers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19588 72102866-910b-0410-8b05-ffd578937521
2004-06-22 22:40:40 +00:00
arobert
febc42573a added NSIndexSet.h to list of files to generate gsdoc for
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19587 72102866-910b-0410-8b05-ffd578937521
2004-06-22 22:35:33 +00:00
CaS
b61c70ea6c Rewrite description code to support unicode and some additional formats
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19570 72102866-910b-0410-8b05-ffd578937521
2004-06-21 10:56:32 +00:00
FredKiefer
75793d3412 Corrected NSIndexSet index iteration.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19569 72102866-910b-0410-8b05-ffd578937521
2004-06-21 09:45:13 +00:00
CaS
858255dd23 Tolerate users without home directories etc.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19567 72102866-910b-0410-8b05-ffd578937521
2004-06-20 19:37:19 +00:00
fedor
43ba34ba4c Fix typos
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19548 72102866-910b-0410-8b05-ffd578937521
2004-06-19 03:22:11 +00:00
mguesdon
858a5d5a90 * Source/NSKeyValueCoding.m: fix exception userInfo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19544 72102866-910b-0410-8b05-ffd578937521
2004-06-18 18:09:19 +00:00
fedor
4606abb715 Fix kvm test. Uninstall
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19518 72102866-910b-0410-8b05-ffd578937521
2004-06-14 22:27:22 +00:00
CaS
6b1d2c2047 compatibility fix for macos-x
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19514 72102866-910b-0410-8b05-ffd578937521
2004-06-14 05:27:54 +00:00
fedor
59fb483aec Version 1.9.2
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19493 72102866-910b-0410-8b05-ffd578937521
2004-06-10 19:39:32 +00:00
ayers
042f318374 * Headers/Additions/GNUstepBase/GSObjCRuntime.h
* Source/Additions/GSObjCRuntime.m
        (GSGetInstanceMethod, GSGetClassMethod)
        (GSGetInstanceMethodNotInherited, GSGetClassMethodNotInherited):
        Deprecate.
        (GSGetMethod): New function.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19486 72102866-910b-0410-8b05-ffd578937521
2004-06-08 16:52:34 +00:00
ayers
8ddab500c2 (BDBGPrintf): Add space before last comma in macro older
compilers.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19474 72102866-910b-0410-8b05-ffd578937521
2004-06-06 20:28:57 +00:00
ayers
5c3b9d8740 (GSObjCAddClassBehavior): Add call to
GSFlushMethodCacheForClass after adding behavior.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19472 72102866-910b-0410-8b05-ffd578937521
2004-06-06 13:49:02 +00:00
ayers
3f3e4fa1da (GSGetClassMethodNotInherited): Fix typo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19470 72102866-910b-0410-8b05-ffd578937521
2004-06-06 12:14:00 +00:00
ayers
113c981b63 * Source/Additions/GSObjCRuntime.m
(GSObjCMethodNames): Unify implementation for both runtimes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19467 72102866-910b-0410-8b05-ffd578937521
2004-06-05 22:48:40 +00:00
ayers
70e3d2d11c (GSObjCMethodNames, search_for_method_in_class, GSObjCAddMethods)
(search_for_method_in_class, GSObjCAddClassBehavior): Use
	GSMethod and GSMethodList types instead of pointers to runtime
	structures.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19466 72102866-910b-0410-8b05-ffd578937521
2004-06-05 21:11:00 +00:00
ayers
a53541a76b * Headers/Additions/GNUstepBase/GSObjCRuntime.h
* Source/Additions/GSObjCRuntime.m
	(GSMethodList): Define new type.
	(GSAllocMethodList, GSAppendMethodToList,
	* GSRemoveMethodFromList)
	(GSMethodListForSelector, GSMethodFromList)
	(GSAddMethodList, GSRemoveMethodList): New functions.
	* Testing/GNUmakefile
	* Testing/gsbehavior.m: New tests.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19464 72102866-910b-0410-8b05-ffd578937521
2004-06-05 13:54:26 +00:00
CaS
ba29d9e2f3 Minor performance optimisations.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19462 72102866-910b-0410-8b05-ffd578937521
2004-06-05 10:06:56 +00:00
CaS
a1cc99cb2d Fix for where default encoding is not internal encoding.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19461 72102866-910b-0410-8b05-ffd578937521
2004-06-05 09:34:41 +00:00
CaS
52a082959c Make exceptions a bit more informative.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19460 72102866-910b-0410-8b05-ffd578937521
2004-06-05 06:17:10 +00:00
ayers
adcb9c12d5 (OBJC_VERSION): Move define to where it is needed.
(Runtime documenation references): Update links.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19458 72102866-910b-0410-8b05-ffd578937521
2004-06-04 13:58:36 +00:00
ayers
cf3354b37f * Source/Additions/GSObjCRuntime.m (BDBGPrintf) New macro.
(GSObjCAddClassBehavior, GSObjCAddMethods): Use new macro.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19457 72102866-910b-0410-8b05-ffd578937521
2004-06-04 13:42:13 +00:00
ayers
a601bb2853 * Source/GSSet.m (-[GSMutableSet unionSet:]): Remove redundant
test.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19456 72102866-910b-0410-8b05-ffd578937521
2004-06-04 13:19:42 +00:00
fedor
14c6a5e4d2 Move include file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19453 72102866-910b-0410-8b05-ffd578937521
2004-06-04 03:37:12 +00:00
CaS
84b18cb39f Fix for malloc of non-freeable zones
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19449 72102866-910b-0410-8b05-ffd578937521
2004-06-03 14:46:41 +00:00
CaS
b7f9e966f3 Improve debug and support of apple property keys (set them in request data
rather than as headers).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19442 72102866-910b-0410-8b05-ffd578937521
2004-06-02 11:01:57 +00:00
CaS
9b8d4597e4 Fix decoding of different classes from those encoded by suing name translation.
Was previously only working where both classes existed in the executable.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19440 72102866-910b-0410-8b05-ffd578937521
2004-06-02 05:03:28 +00:00
CaS
459c2d3c89 Removed debug lines accidentally left in last modification
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19433 72102866-910b-0410-8b05-ffd578937521
2004-06-01 12:19:04 +00:00
CaS
e0b14a9d4d Improve handling of character sets in multipart/form-data
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19428 72102866-910b-0410-8b05-ffd578937521
2004-05-30 09:05:10 +00:00
fedor
1fa2e815b7 Add kvm config. Update docs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19410 72102866-910b-0410-8b05-ffd578937521
2004-05-28 19:44:29 +00:00
CaS
2250683c03 Oops fix swapped arguments creating excess data log.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19402 72102866-910b-0410-8b05-ffd578937521
2004-05-26 16:55:10 +00:00
CaS
6dca288a19 Fix problems defineing types on ssystems where they already exist as
typedefs.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19401 72102866-910b-0410-8b05-ffd578937521
2004-05-26 13:45:37 +00:00
CaS
91f76b73a5 Index addition bugfix and avoid crash calling description on uninitialised
instance.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19397 72102866-910b-0410-8b05-ffd578937521
2004-05-25 04:29:08 +00:00
CaS
110a61f7d9 Implement hash for NSDate and subclasses to return time interval since reference date (coerced to unsigned int).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19394 72102866-910b-0410-8b05-ffd578937521
2004-05-24 15:30:11 +00:00
CaS
c4efba1714 Added patch by Roland for windows timezone problems ...
Windows operation vouched for by S.J. Chun, and doesn't break unix.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19382 72102866-910b-0410-8b05-ffd578937521
2004-05-21 15:39:02 +00:00
CaS
fa9ddd22c8 Fixed corruption in comment pointed out by David Ayers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19371 72102866-910b-0410-8b05-ffd578937521
2004-05-18 11:18:37 +00:00
CaS
02683f9999 Updates for recent versions of libxml2 and to add SAX2 functionality.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19369 72102866-910b-0410-8b05-ffd578937521
2004-05-18 09:55:33 +00:00
CaS
906c6bbfad Thread fix for message ports
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19364 72102866-910b-0410-8b05-ffd578937521
2004-05-17 13:22:52 +00:00
CaS
cc7fc40092 Added NSError
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19360 72102866-910b-0410-8b05-ffd578937521
2004-05-17 09:24:29 +00:00
CaS
bc0414e6ab Correct error in parameter type for cdata
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19350 72102866-910b-0410-8b05-ffd578937521
2004-05-16 13:26:32 +00:00
CaS
ec4bfb2956 Documentation improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19326 72102866-910b-0410-8b05-ffd578937521
2004-05-14 16:22:49 +00:00
CaS
35b7fbf96e Restructuring and various optimisations to drastically improve appendFormat:
performance.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19307 72102866-910b-0410-8b05-ffd578937521
2004-05-14 10:52:30 +00:00
CaS
80741506f0 Fixup a few logic errors testing set flag bits. Moved a few bits of code
which only occasionally need to be executed ... minor performance tweak.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19299 72102866-910b-0410-8b05-ffd578937521
2004-05-13 09:38:03 +00:00
CaS
306c074d6c MacOS-X compatibility tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19298 72102866-910b-0410-8b05-ffd578937521
2004-05-13 09:28:52 +00:00
CaS
402ceca220 Some fixes for initialising a data from a string.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19297 72102866-910b-0410-8b05-ffd578937521
2004-05-13 09:10:35 +00:00
CaS
20c509536e Improve cache ahndling.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19293 72102866-910b-0410-8b05-ffd578937521
2004-05-12 17:17:53 +00:00
ayers
bd51b8caea * Headers/Additions/GNUstepBase/GSObjCRuntime.h
* Source/Additions//GSObjCRuntime.m
	(GSProtocolFromName): New function.
	(GSRegisterProtocol): Ditto.
	(gs_string_hash): New internal function.
	(gs_find_protocol_named_in_protocol_list): Ditto.
	(gs_find_protocol_named): Ditto.
	(gs_init_protocol_lock): Ditto.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19274 72102866-910b-0410-8b05-ffd578937521
2004-05-09 19:29:16 +00:00
ayers
c415f0628a * Headers/Additions/GNUstepBase/GSObjCRuntime.h/m:
(GSClassList): New function.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19264 72102866-910b-0410-8b05-ffd578937521
2004-05-07 16:26:50 +00:00
ayers
30b5b57280 * Headers/Additions/GNUstepBase/GSObjCRuntime.h/m
(GSAllocateMutexAt): New function.
        (_GSObjCRuntimeInitializer): Define local support class.

        * Headers/Additions/GNUstepBase/objc-gnu2next.h: Fixed minor
        whitespace issues.
        (objc_mutex_t, objc_mutex_allocate, objc_mutex_deallocate)
        (objc_mutex_lock, objc_mutex_unlock, objc_mutex_trylock):
        Declare
        for the NeXT runtime.
        * Source/Additions/GSNextRuntime.m
        (objc_mutex_allocate, objc_mutex_deallocate)
        (objc_mutex_lock, objc_mutex_unlock, objc_mutex_trylock):
        Implement for NeXT runtime.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19249 72102866-910b-0410-8b05-ffd578937521
2004-05-06 15:25:01 +00:00
CaS
0407dc9e41 Applied mingw fixes by Mateu Batle
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19242 72102866-910b-0410-8b05-ffd578937521
2004-05-06 12:10:03 +00:00
alexm
46e30f1fd0 Fix guard against returning a zero hash.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19232 72102866-910b-0410-8b05-ffd578937521
2004-05-03 20:16:37 +00:00
alexm
4ef8c6aeb4 Fix comment typo.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19216 72102866-910b-0410-8b05-ffd578937521
2004-04-29 21:08:29 +00:00
fedor
46864153f0 Check time zone abbreviations
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19203 72102866-910b-0410-8b05-ffd578937521
2004-04-28 00:59:03 +00:00
fedor
4e56c1c46a Use NSTemporaryDirectory.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19201 72102866-910b-0410-8b05-ffd578937521
2004-04-28 00:24:47 +00:00
CaS
3ef2287830 Minor documentation and readability tweaks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19199 72102866-910b-0410-8b05-ffd578937521
2004-04-27 11:55:34 +00:00
CaS
06e9785436 Restore missing trailing characters somehow lost from lines.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19198 72102866-910b-0410-8b05-ffd578937521
2004-04-27 09:39:51 +00:00
CaS
5d4a4d8fbb End hashtable enumerations cleanly
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19193 72102866-910b-0410-8b05-ffd578937521
2004-04-26 14:47:54 +00:00
wim
70495f94f3 (gnustep_base_socket_init): Added braces for
if statement
(DllMain): Removed old initialization code
(gnustep_base_socket_handler): Removd this method plus declaration.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19192 72102866-910b-0410-8b05-ffd578937521
2004-04-26 08:50:41 +00:00
wim
b08f66b87a (GSInvocationCallback): Try to find type information
if not available, also changes wording of exception when no type information is found.
(Fixes #8654)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19190 72102866-910b-0410-8b05-ffd578937521
2004-04-26 07:51:35 +00:00
CaS
3828461015 Minor tidy up for methodForSelector:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19183 72102866-910b-0410-8b05-ffd578937521
2004-04-25 11:08:52 +00:00
CaS
4d0f20077e Improved implementation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19182 72102866-910b-0410-8b05-ffd578937521
2004-04-25 09:48:07 +00:00
CaS
0b2f72a36f Completed rewrite with some testing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19181 72102866-910b-0410-8b05-ffd578937521
2004-04-25 07:40:19 +00:00
CaS
96c253eee4 Rewrite NSProtocolChecker stuff ... seemed largely broken
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19180 72102866-910b-0410-8b05-ffd578937521
2004-04-25 07:06:41 +00:00
ayers
d8012f989f * Source/Additions/GSLock.m ([GSLazyLock -init])
([GSLazyRecursiveLock -init]): Always invoke supers init
        so dealloc does not fail on Cocoa.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19175 72102866-910b-0410-8b05-ffd578937521
2004-04-23 13:14:32 +00:00
CaS
24c74732b4 Attempt to make conformsToProtocol work for DO
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19155 72102866-910b-0410-8b05-ffd578937521
2004-04-19 19:29:15 +00:00
alexm
02964e7f8c Rename 'GNU' categories to 'GNUstep'.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19131 72102866-910b-0410-8b05-ffd578937521
2004-04-16 23:21:26 +00:00
CaS
367bb36d02 Restore use of flag to prevent infinite recursion.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19115 72102866-910b-0410-8b05-ffd578937521
2004-04-15 14:11:12 +00:00
alexm
3f856d123d Add missing argument.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19114 72102866-910b-0410-8b05-ffd578937521
2004-04-15 13:26:06 +00:00
alexm
ad14f40c97 Document -getCString*. Use file system representation methods instead of cstring methods in -stringByResolvingSymlinksInPath.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19112 72102866-910b-0410-8b05-ffd578937521
2004-04-15 12:43:28 +00:00
alexm
505a890ec2 (GSToUnicode): In an utf8 sequence, check that the continuation bytes are valid continuation bytes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19105 72102866-910b-0410-8b05-ffd578937521
2004-04-14 16:23:58 +00:00
CaS
a9fd37a6b6 User language tidyups and performance enhancements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19079 72102866-910b-0410-8b05-ffd578937521
2004-04-12 04:55:43 +00:00
CaS
01b40beefb Retain/release fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19074 72102866-910b-0410-8b05-ffd578937521
2004-04-11 05:22:33 +00:00
gcasa
52548106c3 Temporary rollback of fix to NSUnarchiver.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19073 72102866-910b-0410-8b05-ffd578937521
2004-04-11 05:02:45 +00:00
CaS
03a934e274 Minor initialisation fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19071 72102866-910b-0410-8b05-ffd578937521
2004-04-10 07:31:57 +00:00
CaS
ac23e1ba3c Fixed a retain/release problem.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19070 72102866-910b-0410-8b05-ffd578937521
2004-04-10 05:59:40 +00:00
wim
4aba1cd33e ([NSConcreteWindowsTask -launch]): Set stdin/stdout/stderr
file to values provided by the user (Fix #8417)


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19064 72102866-910b-0410-8b05-ffd578937521
2004-04-09 07:58:33 +00:00
CaS
23a8363ab1 Improve warning logging.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19056 72102866-910b-0410-8b05-ffd578937521
2004-04-06 19:17:52 +00:00
CaS
d0520e36a2 Improve error logging.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19055 72102866-910b-0410-8b05-ffd578937521
2004-04-06 19:14:33 +00:00
CaS
ca3b33d085 Trivial header inclusion fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19037 72102866-910b-0410-8b05-ffd578937521
2004-04-06 10:45:22 +00:00
CaS
3c3f04a5a1 Trivial keyed archiving fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19036 72102866-910b-0410-8b05-ffd578937521
2004-04-06 10:39:26 +00:00
CaS
2218c46426 Check for unreadable defaults database.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19035 72102866-910b-0410-8b05-ffd578937521
2004-04-06 06:47:35 +00:00
CaS
61acb585bb NSUserDefaults fix for read-only filesystem. Comment type fixes in GSXML.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19034 72102866-910b-0410-8b05-ffd578937521
2004-04-06 06:27:32 +00:00
CaS
95dde97de2 Fix error in original commit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18994 72102866-910b-0410-8b05-ffd578937521
2004-03-31 21:41:28 +00:00
CaS
c85351824b Fix bug #7525
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18991 72102866-910b-0410-8b05-ffd578937521
2004-03-31 14:16:31 +00:00
CaS
a8eb2c26d8 Fix return of flag in fileExistsAtPath:isDirectory:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18990 72102866-910b-0410-8b05-ffd578937521
2004-03-31 13:56:49 +00:00
CaS
7de6d68bbe Fix for possible deadlock in notification system
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18988 72102866-910b-0410-8b05-ffd578937521
2004-03-31 13:23:38 +00:00
CaS
8063faa4c4 Encode archive version as number
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18983 72102866-910b-0410-8b05-ffd578937521
2004-03-31 10:54:14 +00:00
wim
ced2196a57 ([-removeObserver:]): Do not raise an exception
when removing nil observer, jusr return.  This is WO4.5 and MacOSX behaviour.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18971 72102866-910b-0410-8b05-ffd578937521
2004-03-30 14:09:03 +00:00
CaS
1a0cf15c79 Support outgoing connections bound to a specific local address.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18953 72102866-910b-0410-8b05-ffd578937521
2004-03-29 14:53:37 +00:00
CaS
e845237c55 Minor documentation tweaks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18938 72102866-910b-0410-8b05-ffd578937521
2004-03-28 11:13:36 +00:00
CaS
1df7325dc3 Apply security fix and minor portability tweaks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18936 72102866-910b-0410-8b05-ffd578937521
2004-03-28 05:31:16 +00:00
CaS
ca3d4a1a01 Added xslt support.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18935 72102866-910b-0410-8b05-ffd578937521
2004-03-28 04:42:11 +00:00