Commit graph

48 commits

Author SHA1 Message Date
Marcus Müller
dd75f89d22 exposed NSUUID.h in Foundation.h, similar to OSX's Foundation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38290 72102866-910b-0410-8b05-ffd578937521
2015-01-13 20:46:32 +00:00
Richard Frith-MacDonald
3df1043cea Mimic OSX handling of what appears to be an ICU bug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37793 72102866-910b-0410-8b05-ffd578937521
2014-04-12 04:38:13 +00:00
Marcus Müller
79c0e271b3 added NSUserNotification.h to Foundation.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37655 72102866-910b-0410-8b05-ffd578937521
2014-01-31 14:29:04 +00:00
Richard Frith-MacDonald
498b8300c3 add new class from Graham Lee <iamleeg@gmail.com>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36860 72102866-910b-0410-8b05-ffd578937521
2013-07-09 18:59:38 +00:00
Richard Frith-MacDonald
8398b7e156 fixups to avoid future ABI breakage
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36538 72102866-910b-0410-8b05-ffd578937521
2013-04-15 09:07:19 +00:00
Gregory John Casamento
97589d82d2 Correct compilation error
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35805 72102866-910b-0410-8b05-ffd578937521
2012-11-19 03:15:09 +00:00
Gregory John Casamento
f6656b4051 * Headers/Foundation/Foundation.h: Add NSMetadataQuery.h to
include list.
	* Headers/Foundation/NSMetadataQuery.h: New header for class.
	* Source/GNUmakefile: Add NSMetadataQuery.[hm] to makefile.
	* Source/NSMetadataQuery.m: Abstract implementation for
	NSMetdataQuery.  The idea is much like NSFileStream and other
	classes which have operating system specific implementations.
	On linux this will, most likely, interface with locate/slocate.
	I'm not certain what it will talk to on Win32.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35803 72102866-910b-0410-8b05-ffd578937521
2012-11-18 16:37:57 +00:00
Gregory John Casamento
e26964a166 * Headers/Foundation/Foundation.h
* Headers/Foundation/NSScriptWhoseTests.h
	* Source/GNUmakefile
	* Source/NSObject+NSComparisonMethods.m: Move the
	comparison methods to the header for NSScriptWhoseTests.h,
	but don't define the abstract class since we don't support
	Apple script.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35570 72102866-910b-0410-8b05-ffd578937521
2012-09-17 16:05:06 +00:00
David Chisnall
c1cca9a336 Added NSJSONSerialization (10.7) implementation. The code path reading from an NSInputStream is not well tested - please try and break it!
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33631 72102866-910b-0410-8b05-ffd578937521
2011-07-25 15:50:51 +00:00
Stefan Bidigaray
5db47c44eb Add new, completely empty and useless NSCalendar class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31735 72102866-910b-0410-8b05-ffd578937521
2010-12-15 00:04:51 +00:00
David Chisnall
089a23235a Revert accidental commit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31638 72102866-910b-0410-8b05-ffd578937521
2010-11-20 17:04:41 +00:00
David Chisnall
a5335c34fb Added implementation of NSRegularExpression, from iOS 4 Foundation.
This class is a thin wrapper around libicu regular expressions, so if we don't
have libicu we simply don't compile it at all.  This will give people a linker
failure, rather than a nonfunctional class if they try to use GNUstep without
ICU with code that requires it.

The Apple documentation says that this class has a primitive method that takes
a block as an argument and that this method is called by others, so subclasses
can replace that block method without touching the convenience methods.  We
mimic this behaviour when compiling with block, but when compiling without them
it's a problem.  The current code contains some ugly hacks that will work in
normal usage but break with subclassing when not compiling with blocks.

This commit also includes a partial implementation of NSTextCheckingResult,
implementing the subset of its functionality required for NSRegularExpression
to work.

It also includes numerous fixes to GSICUString.  This is heavily used by
NSRegularExpression, to avoid copying strings when mapping between UText for
libicu and NSString for GNUstep.


Note: I don't have a copy of iOS anywhere to test this against, so it's
entirely possible that there are significant discrepancies between this
implementation of NSRegularExpression and the iOS version.  This version should
function exactly as the iOS one is described as functioning, but I think we've
all seen that Apple documentation refers more to hopes than facts.  Any testing
that someone who does have an ip{hone,od,ad} can do is very welcome.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31635 72102866-910b-0410-8b05-ffd578937521
2010-11-19 22:06:18 +00:00
David Chisnall
59ee016e3e Add NSLocale.h to Foundation.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31592 72102866-910b-0410-8b05-ffd578937521
2010-11-07 15:36:23 +00:00
Richard Frith-MacDonald
faa2feed90 avoid documentation warning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31296 72102866-910b-0410-8b05-ffd578937521
2010-09-10 13:20:06 +00:00
Niels Grewe
4848c265e9 Make NSLocale use information about libicu availablity (perviously, it would
never build the ICU stuff because the corresponding macro wasn't defined).



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30995 72102866-910b-0410-8b05-ffd578937521
2010-07-19 07:54:52 +00:00
Richard Frith-MacDonald
b417e6bf8c Workaround for runitme bug.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30864 72102866-910b-0410-8b05-ffd578937521
2010-06-26 14:04:09 +00:00
Richard Frith-MacDonald
1de22f472c initial addition of NSLocale
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30849 72102866-910b-0410-8b05-ffd578937521
2010-06-25 07:18:20 +00:00
Richard Frith-MacDonald
85760d2563 move a bit more stuff into additions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29666 72102866-910b-0410-8b05-ffd578937521
2010-02-18 16:18:54 +00:00
Richard Frith-MacDonald
eda0f191e7 Avoid accidental include of Foundation.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29620 72102866-910b-0410-8b05-ffd578937521
2010-02-14 13:52:29 +00:00
Richard Frith-MacDonald
79ce6ac700 minor include fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29616 72102866-910b-0410-8b05-ffd578937521
2010-02-14 11:01:08 +00:00
Richard Frith-MacDonald
21d597e740 merge back reorganisation branch
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29615 72102866-910b-0410-8b05-ffd578937521
2010-02-14 10:48:10 +00:00
David Chisnall
c00f54bafb Added NSCache (OS X 10.6) implementation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28581 72102866-910b-0410-8b05-ffd578937521
2009-08-31 21:45:53 +00:00
Quentin Mathe
5b9f61f496 Included NSKeyValueObserving.h in Foundation.h as Cocoa does
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28420 72102866-910b-0410-8b05-ffd578937521
2009-07-30 17:47:13 +00:00
Gregory John Casamento
8ee18b36c7 * Headers/Foundation/Foundation.h
* Headers/Foundation/NSOperation.h
	* Source/GNUmakefile
	* Source/NSOperation.m: Initial implementation of NSOperation
	class.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28393 72102866-910b-0410-8b05-ffd578937521
2009-07-13 18:14:42 +00:00
Richard Frith-MacDonald
910deff1a6 Add skeletal NSXML work as requested.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27824 72102866-910b-0410-8b05-ffd578937521
2009-02-09 16:16:11 +00:00
Richard Frith-MacDonald
b502a17d9a add NSPointerArray
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27660 72102866-910b-0410-8b05-ffd578937521
2009-01-23 17:49:37 +00:00
Richard Frith-MacDonald
8ed48908cd NSPointerFunctions added
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27655 72102866-910b-0410-8b05-ffd578937521
2009-01-22 18:43:47 +00:00
Richard Frith-MacDonald
67c379bc7a Add new class from macos-x
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27585 72102866-910b-0410-8b05-ffd578937521
2009-01-12 21:35:51 +00:00
Richard Frith-MacDonald
b2b14398d2 allow developers more time to adapt to LGPLv3
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26606 72102866-910b-0410-8b05-ffd578937521
2008-06-08 10:38:33 +00:00
Richard Frith-MacDonald
50a244c4c2 MacOS-X compatibility tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26345 72102866-910b-0410-8b05-ffd578937521
2008-03-18 13:55:46 +00:00
Richard Frith-MacDonald
62559023b9 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
Richard Frith-MacDonald
48a1d1760b Moved fiels for macos compatibility
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24759 72102866-910b-0410-8b05-ffd578937521
2007-03-04 15:26:35 +00:00
Richard Frith-MacDonald
cbbc43a97e FHS suppoort update
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24599 72102866-910b-0410-8b05-ffd578937521
2007-02-16 08:09:55 +00:00
Richard Frith-MacDonald
05a4bb2829 Initial attempt at integration of NSNetServices support.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24272 72102866-910b-0410-8b05-ffd578937521
2006-12-27 14:11:14 +00:00
Richard Frith-MacDonald
fec0bdb0ec initial implementation of NSValueTransformer
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24238 72102866-910b-0410-8b05-ffd578937521
2006-12-25 18:50:15 +00:00
Richard Frith-MacDonald
a529cf58c1 Add NSAffineTransform
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24132 72102866-910b-0410-8b05-ffd578937521
2006-11-19 11:29:13 +00:00
Richard Frith-MacDonald
57a828c7c7 Header tidyups, particularly updating of version compatibility macros.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24000 72102866-910b-0410-8b05-ffd578937521
2006-10-31 07:05:46 +00:00
Richard Frith-MacDonald
44ba76ce4f Skeletal implementation of new URL laoding scheme
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23065 72102866-910b-0410-8b05-ffd578937521
2006-06-16 15:21:39 +00:00
Richard Frith-MacDonald
43e400e2b2 Basic implementation of NSPredicate and related classes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22880 72102866-910b-0410-8b05-ffd578937521
2006-05-09 14:21:26 +00:00
Richard Frith-MacDonald
5f074036fb NSStream additions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22496 72102866-910b-0410-8b05-ffd578937521
2006-02-15 17:34:47 +00:00
Richard Frith-MacDonald
92eb512dc6 Add NSIndexSet
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22474 72102866-910b-0410-8b05-ffd578937521
2006-02-12 19:02:58 +00:00
Adam Fedor
643c232713 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
Adam Fedor
fcc13ccd0f * 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
Richard Frith-Macdonald
8e9075305e 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
Richard Frith-Macdonald
6b8f60d133 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
Richard Frith-Macdonald
cf2564d36e Put NSKeyedArchiver.h in Foundation.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18989 72102866-910b-0410-8b05-ffd578937521
2004-03-31 13:33:37 +00:00
Richard Frith-Macdonald
3c513f8a67 NSIndexSet updates finally comitted
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18853 72102866-910b-0410-8b05-ffd578937521
2004-03-18 06:56:12 +00:00
David Ayers
ac30183cd6 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
Renamed from Headers/gnustep/base/Foundation.h (Browse further)