Commit graph

3770 commits

Author SHA1 Message Date
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