Commit graph

5993 commits

Author SHA1 Message Date
CaS
e954fdf3cc Hack to quote arguments for windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20712 72102866-910b-0410-8b05-ffd578937521
2005-02-14 14:39:22 +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
alexm
ba7c63bfb1 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
CaS
80d00538c7 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
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
fedor
e1b944688b * 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
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
dab0bcc0dc 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
fedor
8c2e021993 * 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
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
CaS
257787f99e 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
CaS
ab551e586f 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
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
772e1c92e3 * 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
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
fedor
bedca778cd * 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
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
fedor
753df57a03 * 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
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
aa686b1411 Add --help
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20378 72102866-910b-0410-8b05-ffd578937521
2004-11-25 09:00:07 +00:00
CaS
d471e6ea18 Fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20377 72102866-910b-0410-8b05-ffd578937521
2004-11-25 08:48:49 +00:00
alexm
f2ff49d5dd 2004-11-24 15:08 Patrick McFarland <unknown@panax.com>
* configure.ac: Change "doesn't" to "does not" in an error message to
	avoid autoconf/m4 quoting issues.
	* configure: Regenerate.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20376 72102866-910b-0410-8b05-ffd578937521
2004-11-24 14:10:33 +00:00
dwetzel
07748e526a * Headers/Additions/GNUstepBase/Unicode.h: added missing
#include "GSObjCRuntime.h"


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20372 72102866-910b-0410-8b05-ffd578937521
2004-11-23 10:41:21 +00:00
dwetzel
d9f49fee89 added missing #include "GSObjCRuntime.h"
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20371 72102866-910b-0410-8b05-ffd578937521
2004-11-23 10:32:34 +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
gcasa
92d9bd4651 Updated to contain a description of pl.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20364 72102866-910b-0410-8b05-ffd578937521
2004-11-20 17:35:55 +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