Commit graph

31 commits

Author SHA1 Message Date
Riccardo Mottola
42c5213da1 Include and do not import pure-C header, guard against re-inclusion
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37949 72102866-910b-0410-8b05-ffd578937521
2014-06-18 22:49:39 +00:00
Richard Frith-MacDonald
ed09c55959 leak detection improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37003 72102866-910b-0410-8b05-ffd578937521
2013-08-22 15:44:54 +00:00
Richard Frith-MacDonald
54ff9b7de5 static analyzer tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36523 72102866-910b-0410-8b05-ffd578937521
2013-04-14 09:04:40 +00:00
Wolfgang Lux
c67e228f86 Use dedicated code for glibc specific variant of strerror_r based on
an autoconf test instead of trying to tweak feature test macros to use
the POSIX version.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35774 72102866-910b-0410-8b05-ffd578937521
2012-11-02 13:44:30 +00:00
Richard Frith-MacDonald
3f773a24fc improve system error messages
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35764 72102866-910b-0410-8b05-ffd578937521
2012-10-30 13:35:00 +00:00
Richard Frith-MacDonald
0be505308d simplification, including use of strtoull() everywhere
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35503 72102866-910b-0410-8b05-ffd578937521
2012-09-03 13:36:45 +00:00
Niels Grewe
ee4052bf6d Compatibility improvements for QNX.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35451 72102866-910b-0410-8b05-ffd578937521
2012-08-26 08:55:49 +00:00
Riccardo Mottola
956e6c7958 Extend David's hack to all known non-glibc platforms
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35123 72102866-910b-0410-8b05-ffd578937521
2012-04-29 17:15:51 +00:00
David Chisnall
6414d0ebeb Fix the build on FreeBSD.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35122 72102866-910b-0410-8b05-ffd578937521
2012-04-29 16:47:01 +00:00
Richard Frith-MacDonald
f224e6286b Attempt to sort out versioning of archives/DO to be more tolerant/flexible.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35118 72102866-910b-0410-8b05-ffd578937521
2012-04-27 11:58:56 +00:00
Richard Frith-MacDonald
ae0494955e fix missing errno.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35071 72102866-910b-0410-8b05-ffd578937521
2012-04-16 15:31:46 +00:00
Richard Frith-MacDonald
466d55bd8d experimental change to try to avoid non-standard extensions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34852 72102866-910b-0410-8b05-ffd578937521
2012-03-01 09:14:08 +00:00
Fred Kiefer
eee46e56de * Source/NSProcessInfo.m: Add includes needed for the HAVE_PROCFS
case.
* Source/common.h: Correct last commit, the #endif was placed
incorrectly.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34041 72102866-910b-0410-8b05-ffd578937521
2011-10-22 13:59:05 +00:00
Richard Frith-MacDonald
ad461bf00b another attempted workaround for __block issue
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34036 72102866-910b-0410-8b05-ffd578937521
2011-10-20 09:52:01 +00:00
Richard Frith-MacDonald
0d966d357a fix misssing line in last mod
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34007 72102866-910b-0410-8b05-ffd578937521
2011-10-15 18:42:16 +00:00
Richard Frith-MacDonald
ecaeb486d5 added Quentin's fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34006 72102866-910b-0410-8b05-ffd578937521
2011-10-15 18:41:24 +00:00
Richard Frith-MacDonald
9bfdc923c7 add comment about clang __block workaround
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33996 72102866-910b-0410-8b05-ffd578937521
2011-10-14 16:54:33 +00:00
Richard Frith-MacDonald
eb8b275c1f internal workaround for clang namespace pollution.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33993 72102866-910b-0410-8b05-ffd578937521
2011-10-14 15:46:13 +00:00
Richard Frith-MacDonald
4a5cb96bef For the avoidance of confusion, remove references to obsolete header.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33562 72102866-910b-0410-8b05-ffd578937521
2011-07-15 13:53:45 +00:00
Richard Frith-MacDonald
0cb48d516b Update for new runtime api
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32241 72102866-910b-0410-8b05-ffd578937521
2011-02-20 08:32:54 +00:00
Richard Frith-MacDonald
c7eeb1bb08 Use GSObjCRuntime functions for selector types until/unless we can get
a standard runtime API that handles them.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32240 72102866-910b-0410-8b05-ffd578937521
2011-02-20 07:58:11 +00:00
Richard Frith-MacDonald
b9b50a9fef simplify a little
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32229 72102866-910b-0410-8b05-ffd578937521
2011-02-19 17:46:45 +00:00
David Chisnall
71905252e5 Simplify the macros from the last commit. We don't actually need them with the old GCC runtime, because we already implement wrappers in the ObjectiveC2 framework, which let us easily migrate from GCC 4.5 libobjc + Objective2 to libobjc2 without a recompile (although not to GCC 4.6 libobjc, due to the function renaming).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32222 72102866-910b-0410-8b05-ffd578937521
2011-02-19 16:07:07 +00:00
David Chisnall
495f92e10a Add some macros that map some libobjc functions to their runtime-specific variants.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32220 72102866-910b-0410-8b05-ffd578937521
2011-02-19 16:02:55 +00:00
Richard Frith-MacDonald
b96b154e5e Add David's generalisation of _()
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32184 72102866-910b-0410-8b05-ffd578937521
2011-02-16 06:26:14 +00:00
Richard Frith-MacDonald
27550994ee use the _() macro for localisation within base
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32173 72102866-910b-0410-8b05-ffd578937521
2011-02-15 06:25:54 +00:00
David Chisnall
4488708e84 Fix a load of warnings from implicit function declarations. A lot were caused by ctype.h and string.h stuff being used everywhere in GNUstep but not included anywhere - they're now included in common.h (at least string.h should also be in Foundation.h - on OS X it is implicitly included via some chain of things from Foundation.h).
All of the sel_* stuff is now replaced with the newer APIs.  As a side-effect, a blob of code that was copied-and-pasted all over GNUstep has now been moved into ObjectiveC2 and just called.

Class posing with libobjc2 will now throw an exception, rather than just aborting.  



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31268 72102866-910b-0410-8b05-ffd578937521
2010-09-09 16:30:10 +00:00
Richard Frith-MacDonald
1cf58483e2 tweak for OSX build
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29908 72102866-910b-0410-8b05-ffd578937521
2010-03-12 13:55:11 +00:00
Richard Frith-MacDonald
b1e904b3ae move GNUstep.h into common.h
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29727 72102866-910b-0410-8b05-ffd578937521
2010-02-25 05:26:57 +00:00
Richard Frith-MacDonald
ec2ebc1c47 tweaks to avoid compiler warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29691 72102866-910b-0410-8b05-ffd578937521
2010-02-20 18:05:00 +00:00
Richard Frith-MacDonald
7cc69dfaae Simplify header inclusion
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29669 72102866-910b-0410-8b05-ffd578937521
2010-02-19 08:12:46 +00:00