Commit graph

2456 commits

Author SHA1 Message Date
Adam Fedor
3fce819377 * Version 1.10.3
* Source/NSString.m: ([sttringByAppendingPathComponent:]) Fix bug
eliding multiple slashes in path.
* Source/NSTask.m: Fix missing nul terminator to arguments under win32


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/freeze-1_10_2@21099 72102866-910b-0410-8b05-ffd578937521
2005-04-12 18:12:43 +00:00
Adam Fedor
d7e4dd0843 Version 1.10.2
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/branches/freeze-1_10_2@20920 72102866-910b-0410-8b05-ffd578937521
2005-03-18 04:17:39 +00:00
Richard Frith-Macdonald
b0ffe1492d 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
Richard Frith-Macdonald
2defc1af93 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
Richard Frith-Macdonald
db7b22a4fb 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
Richard Frith-Macdonald
99ef2bbdf7 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
Richard Frith-Macdonald
7722eb3853 Clean up a bit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20771 72102866-910b-0410-8b05-ffd578937521
2005-02-21 14:44:18 +00:00
Richard Frith-Macdonald
b6296dd27e 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
Richard Frith-Macdonald
3811228dc0 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
Richard Frith-Macdonald
bf1209d931 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
Richard Frith-Macdonald
886163406a Fixes for unicode filesystem on windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20742 72102866-910b-0410-8b05-ffd578937521
2005-02-18 06:25:19 +00:00
Richard Frith-Macdonald
bfe4ac4b9c 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
Richard Frith-Macdonald
7308c55778 Attempt to improve detection of libxml2
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20734 72102866-910b-0410-8b05-ffd578937521
2005-02-16 14:45:07 +00:00
Richard Frith-Macdonald
fadb35ae9e 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
Richard Frith-Macdonald
6d5bed399c Patch by pupeno to fix minor doc errors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20717 72102866-910b-0410-8b05-ffd578937521
2005-02-14 15:20:15 +00:00
Richard Frith-Macdonald
daff3d6b76 Fix mingw argument quoting issue (bug #11854)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20714 72102866-910b-0410-8b05-ffd578937521
2005-02-14 14:59:11 +00:00
Richard Frith-Macdonald
e4a92dad34 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
Richard Frith-Macdonald
04e4baccf7 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
Alexander Malmberg
bd52d362a2 2005-02-10 01:05 Alexander Malmberg <alexander@malmberg.org>
* Tools/gdnc.m (main): Remove the program name from the arguments
	given to the new task.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20681 72102866-910b-0410-8b05-ffd578937521
2005-02-10 00:04:32 +00:00
Richard Frith-Macdonald
98e22aaf4b Fix bad '--help' line
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20673 72102866-910b-0410-8b05-ffd578937521
2005-02-08 11:57:39 +00:00
Richard Frith-Macdonald
80a27b24c5 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
Richard Frith-Macdonald
3d5fdd69f4 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
Richard Frith-Macdonald
436d6e6ee4 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
Adam Fedor
24d9c9eda0 * Documentation/coding-standards.texi: Add section of documentation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20640 72102866-910b-0410-8b05-ffd578937521
2005-01-31 18:35:32 +00:00
Matt Rice
cedd653710 * 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
Gregory John Casamento
5cc2211a8e 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
Gregory John Casamento
142eee89f4 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
Gregory John Casamento
3931c99308 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
Gregory John Casamento
9b9802a2f7 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
Gregory John Casamento
1e70a67c30 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
Gregory John Casamento
aef3b74a59 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
Gregory John Casamento
38bd9809e8 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
Manuel Guesdon
00e4fbc778 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
Adam Fedor
c79954e5c4 * 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
Adam Fedor
f849ee548a Rotate logs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20525 72102866-910b-0410-8b05-ffd578937521
2005-01-06 03:41:51 +00:00
Adam Fedor
8ea47859cd * Headers/Foundation/NSGeometry.h (NSContainsRect): Change behavior
to match Cocoa (sides of rects CAN touch).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20524 72102866-910b-0410-8b05-ffd578937521
2005-01-06 03:36:43 +00:00
Adam Fedor
a861c353bd * 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
Richard Frith-Macdonald
0de118ae76 Added trivbial test
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20496 72102866-910b-0410-8b05-ffd578937521
2004-12-28 10:54:33 +00:00
Richard Frith-Macdonald
3e866ab068 Hack to work around darwin compiler feature.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20495 72102866-910b-0410-8b05-ffd578937521
2004-12-28 08:35:36 +00:00
Adam Fedor
4ea16407af * 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
Dave Wetzel
df88dff290 * Source/Additions/GNUmakefile
added Additions_OBJC_FILES += Unicode.m on apple


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20474 72102866-910b-0410-8b05-ffd578937521
2004-12-21 19:49:15 +00:00
Dave Wetzel
993acedc65 * 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
Adam Fedor
cf410d2149 * 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
Adam Fedor
066c26ca24 * configure.ac: Avoid improper use of -fXXX-runtime. Add -x objective-c
when testing Objective-C programs (Followup for bug #11188).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20447 72102866-910b-0410-8b05-ffd578937521
2004-12-13 04:39:55 +00:00
Matt Rice
b83d4ae778 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
Adam Fedor
830807a27f * 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
Richard Frith-Macdonald
10815039a2 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
Adam Fedor
aeeb74e616 * 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
Matt Rice
e91474be65 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
Adam Fedor
5a92bdd749 * configure.ac: Check for libffi or callback/avcall libs
(Patch from Matt Rice). Fixes bug #11134.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20396 72102866-910b-0410-8b05-ffd578937521
2004-11-30 04:25:38 +00:00