Commit graph

139 commits

Author SHA1 Message Date
rfm
cd46236028 Update to GPL3 and LGPL3
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25482 72102866-910b-0410-8b05-ffd578937521
2007-09-14 11:36:11 +00:00
rfm
d733696a80 Minor symbol visibility cleanups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23952 72102866-910b-0410-8b05-ffd578937521
2006-10-23 14:47:37 +00:00
rfm
9e7b96ab0e More code tidyups and NSError updates.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23921 72102866-910b-0410-8b05-ffd578937521
2006-10-20 10:56:27 +00:00
rfm
31342aef09 Updates to reduce global namespace pollution. Plenty more remaining.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23795 72102866-910b-0410-8b05-ffd578937521
2006-10-09 14:00:01 +00:00
rfm
6d7eae6095 Tidied up
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22977 72102866-910b-0410-8b05-ffd578937521
2006-05-24 08:27:39 +00:00
jbettis
8992bc1d0c NSFileManager.m: Don't screw with slashes in -[NSFileManager fileSystemRepresentationWithPath:](mingw)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22784 72102866-910b-0410-8b05-ffd578937521
2006-04-12 21:32:10 +00:00
jbettis
55c7cd74a5 NSBundle.m: objc_executable_location(): A cast was obsuring a misuse of fileSystemRepresentation
NSFileManager.m: isExecutableFileAtPath: Added a comment
NSPropertyList.m: propertyListFromData:mutabilityOption:format:errorDescription: Don't call memcmp if the data is smaller than 8 bytes.
objc-load.m: mingw unicode
win32-load.h: mingw unicode
NSUserDefaultsWin32.m: Write defaults to registry as unicode strings, read in either unicode(REG_SZ) or ascii(REG_BINARY).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22782 72102866-910b-0410-8b05-ffd578937521
2006-04-12 19:52:10 +00:00
rfm
b7533dd479 Fix error copying directories.
Fix bundle for base library.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22621 72102866-910b-0410-8b05-ffd578937521
2006-03-08 14:25:55 +00:00
rfm
e11c9a4dce Minor fix coipying directories recursively.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22620 72102866-910b-0410-8b05-ffd578937521
2006-03-08 13:49:06 +00:00
rfm
872941036c fix ownership detection for directories in mingw32
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22594 72102866-910b-0410-8b05-ffd578937521
2006-03-04 07:25:52 +00:00
rfm
a9524aee38 Ensure that NSBundle is initialised before changing current directory.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22522 72102866-910b-0410-8b05-ffd578937521
2006-02-21 07:51:17 +00:00
rfm
a531412909 Fix bug dereferencing null pointer under some conditions.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22515 72102866-910b-0410-8b05-ffd578937521
2006-02-18 20:53:01 +00:00
rfm
cd6b8238f3 implement group name l;ookup on windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22508 72102866-910b-0410-8b05-ffd578937521
2006-02-17 06:39:21 +00:00
rfm
187f32ab13 check file ownership before reading user specific config
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22507 72102866-910b-0410-8b05-ffd578937521
2006-02-17 06:31:04 +00:00
CaS
1bf4c4c303 Documentation tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22112 72102866-910b-0410-8b05-ffd578937521
2005-11-28 15:41:35 +00:00
CaS
5af2d9d0a2 Spelling fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21962 72102866-910b-0410-8b05-ffd578937521
2005-11-06 13:53:40 +00:00
CaS
4fbb0dcde7 Fix a few typo/spelling errors in comments
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21961 72102866-910b-0410-8b05-ffd578937521
2005-11-06 08:43:44 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
fedor
bd19ee1a68 Fix nil path handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18858 72102866-910b-0410-8b05-ffd578937521
2004-03-19 18:34:46 +00:00
CaS
f292a46b2a Fixed missing bracket
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17806 72102866-910b-0410-8b05-ffd578937521
2003-10-09 09:31:35 +00:00
CaS
c019ce0f9e Windows path handling fixups by Roland Schwingel
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17802 72102866-910b-0410-8b05-ffd578937521
2003-10-08 14:27:11 +00:00
ayers
73dc4cb9f6 Header reorganizsateion - Please refer to ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17407 72102866-910b-0410-8b05-ffd578937521
2003-07-31 23:49:32 +00:00
CaS
4c941c1ba5 Attempt to handle windows UNC file specifications.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17280 72102866-910b-0410-8b05-ffd578937521
2003-07-21 13:12:15 +00:00
fedor
0e59d4552d Change syntax of includes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16874 72102866-910b-0410-8b05-ffd578937521
2003-06-07 01:24:41 +00:00
CaS
c8c0570073 Implement linking
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16479 72102866-910b-0410-8b05-ffd578937521
2003-04-17 11:23:29 +00:00