Richard Frith-MacDonald
9a93be8534
add format checking to NSLog/NSException
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36800 72102866-910b-0410-8b05-ffd578937521
2013-07-02 15:53:46 +00:00
Richard Frith-MacDonald
19bec3c0c9
A few string methods and OSX version compatibility tweaks.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36781 72102866-910b-0410-8b05-ffd578937521
2013-07-01 07:08:55 +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
David Chisnall
e447a91b60
If the user is compiling with a compiler in native exceptions mode, and they are not specifying the exception model, assume that they want the ones that their compiler will use.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35307 72102866-910b-0410-8b05-ffd578937521
2012-07-20 12:39:13 +00:00
Richard Frith-MacDonald
548e2ae5da
Fred says that his compiler treats #error differently ... tyr using double quotes to prevent problems.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34962 72102866-910b-0410-8b05-ffd578937521
2012-03-20 17:35:04 +00:00
Richard Frith-MacDonald
4f81bfd607
Attempt at more helpful error message.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34959 72102866-910b-0410-8b05-ffd578937521
2012-03-20 15:09:42 +00:00
David Chisnall
874875cc71
Tweak the exception mismatch handling so that if base is using native
...
exceptions and the user doesn't specify an exception mode then we just don't
define the NS_ macros, so code that uses @try etc. compiles without requiring
every cc line to specify a long -D flag just to be allowed to #import
Foundation.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34501 72102866-910b-0410-8b05-ffd578937521
2012-01-12 10:10:33 +00:00
David Chisnall
b85364de7e
Cleanup:
...
- (void)release;
to
- (oneway void)release;
so everything implementing -release actually implements the one declared in the NSObject protocol.
Start marking things that are unavailable in ARC mode as unavailable in ARC mode.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33660 72102866-910b-0410-8b05-ffd578937521
2011-07-31 15:31:39 +00:00
David Chisnall
3f4dc9a72b
ARC-compatibility tweaks in the headers. ARC will not track objects inside structures and rejects code that uses object types that are not __unsafe_unretained qualified inside structures.
...
This quick fix just added this type qualifier on all such structures. Several of these should probably not be in headers at all.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33403 72102866-910b-0410-8b05-ffd578937521
2011-06-29 11:50:26 +00:00
David Chisnall
068624b659
Added some macros for use with the static analyser. Turned _reserved ivar in GSSpellServer into GS_PADDING_IVAR (no change to class layout).
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32036 72102866-910b-0410-8b05-ffd578937521
2011-02-10 12:15:09 +00:00
David Chisnall
a3d6bd2eab
Expose 10.6-compatible interface for per-thread assertion handlers.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31593 72102866-910b-0410-8b05-ffd578937521
2010-11-07 15:37:19 +00:00
Richard Frith-MacDonald
561bd93398
fix typos
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30049 72102866-910b-0410-8b05-ffd578937521
2010-03-27 05:31:54 +00:00
Richard Frith-MacDonald
ee25a8f059
improve exception support
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29898 72102866-910b-0410-8b05-ffd578937521
2010-03-11 07:22:10 +00:00
Richard Frith-MacDonald
b9070bdab8
check for loss of data on decoding
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29887 72102866-910b-0410-8b05-ffd578937521
2010-03-09 10:09:01 +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
Richard Frith-MacDonald
640ae938c6
Cleanups and minor bugfixes for new code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28665 72102866-910b-0410-8b05-ffd578937521
2009-09-12 07:37:00 +00:00
David Chisnall
95c9e08026
Rewrote exception callstack generation to use the backtrace() and
...
backtrace_symbols() code. Implemented the -callStackSymbols method from
10.5 using this. For this to be enabled, the configure script will
require a small modification, which Gregory will add later.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28662 72102866-910b-0410-8b05-ffd578937521
2009-09-11 16:14:45 +00:00
Richard Frith-MacDonald
24d43481a8
Updates for 10.5 API changes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27962 72102866-910b-0410-8b05-ffd578937521
2009-02-23 20:42:32 +00:00
Richard Frith-MacDonald
924fcadb91
Updates for MacOS-X compatibility
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26690 72102866-910b-0410-8b05-ffd578937521
2008-06-23 07:15:10 +00:00
Richard Frith-MacDonald
3bbf4ce6d8
fix typo in comment
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26689 72102866-910b-0410-8b05-ffd578937521
2008-06-23 06:35:54 +00:00
Richard Frith-MacDonald
5d582fe696
Minor improvement to documentation for settign an exception handler
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26688 72102866-910b-0410-8b05-ffd578937521
2008-06-23 06:34:54 +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
a1063bfa3e
Add exceptions for MacOS-X compatibility.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26325 72102866-910b-0410-8b05-ffd578937521
2008-03-17 05:45:55 +00:00
Matt Rice
3c69a9c73b
* Source/NSException.m: Add NSObjectNotAvailableException.
...
* Headers/Foundation/NSException.h: Ditto.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26322 72102866-910b-0410-8b05-ffd578937521
2008-03-16 22:43:43 +00:00
Richard Frith-MacDonald
c1ea7d2628
Remove experimental GSStackTraceKey
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25690 72102866-910b-0410-8b05-ffd578937521
2007-12-06 13:43:00 +00:00
Richard Frith-MacDonald
018a948926
Improve stack trace code.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25681 72102866-910b-0410-8b05-ffd578937521
2007-12-05 16:13:24 +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
3e17a107ae
Fixup for usage with flag to turn off typeof()
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25363 72102866-910b-0410-8b05-ffd578937521
2007-07-31 12:09:42 +00:00
Richard Frith-MacDonald
109c415048
stack trace fixups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24482 72102866-910b-0410-8b05-ffd578937521
2007-02-06 09:29:30 +00:00
Matt Rice
92f3abe02e
* Source/NSObject.m: Fix typo.
...
* Headers/Foundation/NSException.h: Export
NSObjectInaccessibleException.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24165 72102866-910b-0410-8b05-ffd578937521
2006-11-28 01:20:46 +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
eae859d1c7
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
Richard Frith-MacDonald
f645b84196
Resolve bug 17464
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23488 72102866-910b-0410-8b05-ffd578937521
2006-09-13 10:20:49 +00:00
Richard Frith-MacDonald
98f6da8323
Apply patch from bug #16437
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22827 72102866-910b-0410-8b05-ffd578937521
2006-04-26 14:15:03 +00:00
Richard Frith-MacDonald
c2e8c881e7
Some cleanup in preparation for next release.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22618 72102866-910b-0410-8b05-ffd578937521
2006-03-08 11:28:59 +00:00
Richard Frith-Macdonald
6a7de776c0
Improve NSException documentation a little
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22128 72102866-910b-0410-8b05-ffd578937521
2005-12-01 19:51:45 +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
Adrian Robert
966b2cb0c9
some cleanups and clarifications to documentation just added, suggested by Alexander Malmberg
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19817 72102866-910b-0410-8b05-ffd578937521
2004-08-02 18:10:58 +00:00
Adrian Robert
0d31eca394
documented functions, types, constants, and variables
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19797 72102866-910b-0410-8b05-ffd578937521
2004-07-29 15:30:47 +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