Richard Frith-MacDonald
9592363863
msys 64bit tweaks
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39933 72102866-910b-0410-8b05-ffd578937521
2016-06-27 19:06:12 +00:00
Richard Frith-MacDonald
ecfbd24d8e
Changed to restructure subdirectory layout for binaries and system dependent
...
resources in a non-flattened installation. First step towards seamless
Debian multiarch support.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39918 72102866-910b-0410-8b05-ffd578937521
2016-06-25 07:12:41 +00:00
Richard Frith-MacDonald
a0c97c1ddd
deprecate confusing extension in favour of simpler ARC-complient method
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39520 72102866-910b-0410-8b05-ffd578937521
2016-03-10 16:50:41 +00:00
Richard Frith-MacDonald
62d2bcbabc
changes for use of _WIN32 define on windows
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39492 72102866-910b-0410-8b05-ffd578937521
2016-03-09 13:16:16 +00:00
Richard Frith-MacDonald
4f9d5c0982
use compiler conventions to tell if we are on mswindows
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39453 72102866-910b-0410-8b05-ffd578937521
2016-03-04 15:02:07 +00:00
Richard Frith-MacDonald
3fc29289f2
remove declaration of unused methods
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39084 72102866-910b-0410-8b05-ffd578937521
2015-10-21 07:10:25 +00:00
Luboš Doležel
80f925978a
* Source/NSBundle.m:
...
* Headers/Foundation/NSBundle.h: add -resourceURL
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37602 72102866-910b-0410-8b05-ffd578937521
2014-01-14 14:13:31 +00:00
Richard Frith-MacDonald
2f72f4b86e
try to locate msys via PATH as last resort
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37598 72102866-910b-0410-8b05-ffd578937521
2014-01-13 17:32:31 +00:00
Richard Frith-MacDonald
5960e99013
move executable extensions code out to NSTask+GNUstepBase.m to avoid duplication
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37590 72102866-910b-0410-8b05-ffd578937521
2014-01-13 12:08:04 +00:00
Richard Frith-MacDonald
41a59dc49e
when looking for executables in windows path, try all executable file extensions
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37571 72102866-910b-0410-8b05-ffd578937521
2014-01-10 21:03:25 +00:00
Richard Frith-MacDonald
4381b10267
Tweaks for leack checking at exit
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37008 72102866-910b-0410-8b05-ffd578937521
2013-08-22 19:55:03 +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
Luboš Doležel
cac2ee2d7e
* Source/NSBundle.m: add NSBundle pathForAuxiliaryExecutable: and -privateFrameworksPath and their URL counterparts
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36973 72102866-910b-0410-8b05-ffd578937521
2013-08-14 21:10:35 +00:00
Luboš Doležel
351c6d8b54
Added NSBundle executableURL and builtInPlugInsURL
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36959 72102866-910b-0410-8b05-ffd578937521
2013-08-10 13:31:46 +00:00
Luboš Doležel
c08c16568d
Added -[NSBundle bundleURL]
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36958 72102866-910b-0410-8b05-ffd578937521
2013-08-10 13:15:29 +00:00
Richard Frith-MacDonald
97cecc058e
tweaks to keep static analyzer happy
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36527 72102866-910b-0410-8b05-ffd578937521
2013-04-14 16:25:27 +00:00
Richard Frith-MacDonald
e02ff90f23
make code more robust when there's no autorelease pool.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35706 72102866-910b-0410-8b05-ffd578937521
2012-10-17 13:47:11 +00:00
Richard Frith-MacDonald
5ae3033e20
variable initialisation fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35597 72102866-910b-0410-8b05-ffd578937521
2012-09-23 16:25:20 +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
Richard Frith-MacDonald
327b1beb91
add a few languages to the bootstrap maps
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35277 72102866-910b-0410-8b05-ffd578937521
2012-07-09 11:28:58 +00:00
Richard Frith-MacDonald
6b5a2c4c03
Language lookup improvements
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35275 72102866-910b-0410-8b05-ffd578937521
2012-07-09 10:47:48 +00:00
Richard Frith-MacDonald
bf185d82d8
Add region support
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35273 72102866-910b-0410-8b05-ffd578937521
2012-07-09 07:07:25 +00:00
Richard Frith-MacDonald
2b30f01d2d
fix for bug #34815
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35272 72102866-910b-0410-8b05-ffd578937521
2012-07-09 05:22:03 +00:00
Richard Frith-MacDonald
445b29faa4
Tweak to avoid possible re-entrancy errors
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35256 72102866-910b-0410-8b05-ffd578937521
2012-07-05 10:46:39 +00:00
Richard Frith-MacDonald
1744a7c18b
Attempt fix for bug #34191 by maintaining class->bundle maps for lookup and
...
re-checking for newly loaded frameworks if the lookup fails.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35253 72102866-910b-0410-8b05-ffd578937521
2012-07-02 09:08:14 +00:00
Eric Wasylishen
43ee7044e6
* Source/NSBundle.m (addBundlePath): Handle nested subdirectories
...
(e.g.
[NSBundle pathForLibraryResource: @"Generic-PostScript_Printer-Postscript"
ofType: @"ppd"
inDirectory: @"PostScript/PPD"] was previously failing.)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34555 72102866-910b-0410-8b05-ffd578937521
2012-01-16 08:15:07 +00:00
Richard Frith-MacDonald
bf2386269b
small efficiency fixes from last caching change.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34478 72102866-910b-0410-8b05-ffd578937521
2012-01-10 09:56:57 +00:00
Richard Frith-MacDonald
fb47a4fcb7
improve caching of bundle content paths
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34477 72102866-910b-0410-8b05-ffd578937521
2012-01-10 09:38:23 +00:00
Richard Frith-MacDonald
aa3b6f76c5
crude caching of directory contents
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34471 72102866-910b-0410-8b05-ffd578937521
2012-01-09 20:49:01 +00:00
Richard Frith-MacDonald
5e74b70bff
Try to tidy/simplify objc2 header support.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34459 72102866-910b-0410-8b05-ffd578937521
2012-01-08 14:25:56 +00:00
Richard Frith-MacDonald
f7b8b22bae
trivial formating tweaks ... add missing white space
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34374 72102866-910b-0410-8b05-ffd578937521
2012-01-01 07:38:53 +00:00
Richard Frith-MacDonald
3569303331
documentation cleanups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34015 72102866-910b-0410-8b05-ffd578937521
2011-10-17 10:59:02 +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
aae4782eb3
Make the use of nil for a file URL path raise an invalid argument exception
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33939 72102866-910b-0410-8b05-ffd578937521
2011-10-04 05:40:29 +00:00
Richard Frith-MacDonald
d8432fad48
Minor fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33916 72102866-910b-0410-8b05-ffd578937521
2011-09-30 20:31:15 +00:00
David Chisnall
433554830d
Fix the build with the pure non-fragile ABI by declaring macros before using them.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33724 72102866-910b-0410-8b05-ffd578937521
2011-08-13 15:28:22 +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
Fred Kiefer
dbd9d19e8f
Add a few 10.6 NSURL methods to NSBundle.
...
Based on patch by julian.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33367 72102866-910b-0410-8b05-ffd578937521
2011-06-22 23:01:01 +00:00
David Chisnall
7764740bdc
Make -drain and -release in NSAutoreleasePool do the same thing (rather than one calling the other) in non-GC mode.
...
Replace all -release messages sent to autorelease pools with -drain. In non-GC mode, these are equivalent. In GC mode, these trigger a collection.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33143 72102866-910b-0410-8b05-ffd578937521
2011-05-27 11:48:44 +00:00
David Chisnall
6068e9484c
Initial pass at implementing fully Apple-compatible GC. This requires the code to be built with -fobjc-gc or -fobjc-gc-only, and requires a runtime that implements all of the support functions (GNUstep runtime trunk or 1.5 when it's release).
...
Currently, there are a few places where we should be calling NSAllocateCollectable() without NSScannedOption, but are actually calling NSZoneMalloc() unless we're in GC mode. We should not need separate code paths for this anywhere outside NSZone, since NSAllocateCollectable() will work in non-GC mode as well.
A few of the changes should be tweaked slightly so that they do run-time tests. For example, when compiling with -fobjc-gc, we may be linked against non-GC code, which will use -retain and -release but won't use the memory barriers. Supporting this nicely is a lot of effort, and I'm not fully convinced it's a good idea.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33104 72102866-910b-0410-8b05-ffd578937521
2011-05-24 14:43:27 +00:00
Richard Frith-MacDonald
afc2ef7de8
fix main bundle path
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33088 72102866-910b-0410-8b05-ffd578937521
2011-05-23 10:51:58 +00:00
Richard Frith-MacDonald
d9d0d1b6fd
portability bugfixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32769 72102866-910b-0410-8b05-ffd578937521
2011-04-04 10:57:49 +00:00
Richard Frith-MacDonald
74eac99280
add last night's changes based on static analyser results.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32507 72102866-910b-0410-8b05-ffd578937521
2011-03-09 10:24:18 +00:00
Richard Frith-MacDonald
62a00dd0a8
fix for bug #32564 ?
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32462 72102866-910b-0410-8b05-ffd578937521
2011-03-05 16:33:24 +00:00
Richard Frith-MacDonald
360e28f269
User defaults language/setup restructuring
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32454 72102866-910b-0410-8b05-ffd578937521
2011-03-05 07:54:05 +00:00
Richard Frith-MacDonald
d18e29dde8
avoid compiler warnings
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32417 72102866-910b-0410-8b05-ffd578937521
2011-02-28 19:49:57 +00:00
Richard Frith-MacDonald
c7c3b61563
Try to make sure we have an absolute path for executables
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32291 72102866-910b-0410-8b05-ffd578937521
2011-02-22 12:22:49 +00:00
Richard Frith-MacDonald
474a12b708
minor cleanups
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32234 72102866-910b-0410-8b05-ffd578937521
2011-02-19 19:42:42 +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
Nicola Pero
30f098f9f8
Updated code to compile with GCC 4.6 and the new GNU Objective-C runtime
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31765 72102866-910b-0410-8b05-ffd578937521
2010-12-23 02:23:05 +00:00