Commit graph

179 commits

Author SHA1 Message Date
richard
5a65c79ae3 Minor tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@8120 72102866-910b-0410-8b05-ffd578937521
2000-11-15 11:40:00 +00:00
mirko
da59701bb9 * Source/NSBundle.m ([NSBundle +_addFrameworkFromClass:]): avoid crash
when called with Nil class.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@8074 72102866-910b-0410-8b05-ffd578937521
2000-11-10 10:57:36 +00:00
richard
ecb3217114 Some tidyups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@7965 72102866-910b-0410-8b05-ffd578937521
2000-11-01 12:31:21 +00:00
mirko
cf395d3ea6 * configure.in: added --with-libxml-include, --with-libxml-library
and --with-libiconv-library.
Added -I/usr/local/include and -L/usr/local/lib for FreeBSD.

* framework.make: new file.
* common.make: added common frameworks defines (library, header paths).
* bundle.make: added ALL_FRAMEWORKS_DIRS
* rules.make: added frameworks headers flags. Prebuild framework
header dir. Set framework name/dir/version.
* subproject.make: build framework headers and resource files.
* target.make: added SHARED_FRAMEWORK_LINK_CMD
* tool.make: added ALL_FRAMEWORKS_DIRS
* ld_lib_path.csh: added paths for frameworks.
* ld_lib_path.sh (lib_paths): added paths for frameworks.
* GNUmakefile.in (MAKE_FILES): added framework.make

* Headers/gnustep/base/NSBundle.h: added ivar.
* Source/NSBundle.m ([NSBundle +_addFrameworkFromClass:]): new private
method to parse NSFramework_* classes.
(_bundle_load_callback): added framework support. Wrap classes in a
NSValue to avoid implicit initialization.
([NSBundle +allBundles]): added framework support.
([NSBundle +allFrameworks]): implemented.
([NSBundle +bundleForClass:]): get classes from NSValue object.
([NSBundle -classNamed:]): likewise.

* Headers/gnustep/base/objc-load.h (LINKER_GETSYMBOL): new define.
* Source/objc-load.m (objc_get_symbol_path): get lib path of a Class
or Category.
* Source/simple-load.h (__objc_dynamic_get_symbol_path): indentifies
lib path of a symbol.
* Source/dld-load.h (__objc_dynamic_get_symbol_path): not supported.
* Source/hpux-load.h (__objc_dynamic_get_symbol_path): not implemented.

* Source/mframe/mframe.foot (mframe_get_arg): typ declaration fix.
(mframe_set_arg): idem

* Headers/gnustep/base/config.h.in: added HAVE_DLADDR
* aclocal.m4 (OBJC_SYS_DYNAMIC_LINKER): test for dladdr()
* configure.in: added --with-libxml-include and --with-libxml-library,
added -I/usr/local/include and -L/usr/local/lib for FreeBSD.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@7918 72102866-910b-0410-8b05-ffd578937521
2000-10-28 21:58:48 +00:00
fedor
22c302d04f Bundle match fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6761 72102866-910b-0410-8b05-ffd578937521
2000-06-21 15:25:30 +00:00
fedor
ab5ab29c0a Better DLL handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6679 72102866-910b-0410-8b05-ffd578937521
2000-06-14 04:03:56 +00:00
fedor
0704032dc4 Remove non-Openstep classes. More WIN32 changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6669 72102866-910b-0410-8b05-ffd578937521
2000-06-13 14:50:40 +00:00
fedor
93f1bc859a Mingw update
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6666 72102866-910b-0410-8b05-ffd578937521
2000-06-12 05:17:41 +00:00
fedor
d66abe4b01 Fix name search so full path is returned
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6643 72102866-910b-0410-8b05-ffd578937521
2000-06-06 22:12:39 +00:00
fedor
9360b6e9cc Fixes for Windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6641 72102866-910b-0410-8b05-ffd578937521
2000-06-06 16:50:52 +00:00
richard
1ea145548c Thread safety fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6623 72102866-910b-0410-8b05-ffd578937521
2000-05-27 05:05:10 +00:00
fedor
54d8f446f6 Update pathc check
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6609 72102866-910b-0410-8b05-ffd578937521
2000-05-23 16:26:40 +00:00
fedor
379686e212 gnustep_bundle fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6591 72102866-910b-0410-8b05-ffd578937521
2000-05-11 04:03:51 +00:00
fedor
09803b00e1 bundle fix. Update
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6517 72102866-910b-0410-8b05-ffd578937521
2000-04-26 03:43:08 +00:00
fedor
cd56717be2 mainBundle patch fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6482 72102866-910b-0410-8b05-ffd578937521
2000-04-18 21:34:59 +00:00
richard
0de19eab35 Fixes for nsbundle
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6100 72102866-910b-0410-8b05-ffd578937521
2000-02-24 22:16:53 +00:00
richard
981ddc03cc Improve error message if localization table isn't found.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@5185 72102866-910b-0410-8b05-ffd578937521
1999-11-15 07:17:05 +00:00
fedor
302c691e79 Merge from dawn
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4853 72102866-910b-0410-8b05-ffd578937521
1999-09-09 02:56:20 +00:00
richard
aa2e0cc17a Fixed [NSProcessInfo -processName] and updated places that used it.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4809 72102866-910b-0410-8b05-ffd578937521
1999-09-03 08:59:07 +00:00
richard
cc443bc8a2 Fixed test of default NSShowNonLocalizedStrings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4681 72102866-910b-0410-8b05-ffd578937521
1999-08-01 06:21:15 +00:00
richard
c54d34a692 Fixed error in release of bundles that shouldn't be deallocated.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4239 72102866-910b-0410-8b05-ffd578937521
1999-05-11 10:11:48 +00:00
richard
4dbc3bd335 Tidyup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4225 72102866-910b-0410-8b05-ffd578937521
1999-05-07 13:51:37 +00:00
richard
d07c13ac49 optimisation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4223 72102866-910b-0410-8b05-ffd578937521
1999-05-07 12:20:35 +00:00
richard
6c099be2a9 Improve performance of [-release]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4220 72102866-910b-0410-8b05-ffd578937521
1999-05-07 09:02:43 +00:00
richard
d54ee72b01 Performance improvements.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4215 72102866-910b-0410-8b05-ffd578937521
1999-05-06 19:37:45 +00:00
richard
14cd4d7b21 Prevent recursion when fetching localised strings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4122 72102866-910b-0410-8b05-ffd578937521
1999-04-23 13:56:22 +00:00
fedor
4595d34ead Localization fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4119 72102866-910b-0410-8b05-ffd578937521
1999-04-23 02:54:45 +00:00
richard
e3e9148be1 Improvements for localisation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4116 72102866-910b-0410-8b05-ffd578937521
1999-04-22 21:26:10 +00:00
richard
e846ffba24 Updated localisation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4115 72102866-910b-0410-8b05-ffd578937521
1999-04-22 21:01:38 +00:00
richard
d66ffcf162 Generally improved launching of programs.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4076 72102866-910b-0410-8b05-ffd578937521
1999-04-14 10:34:56 +00:00
richard
b81439976b Implemented allBundles
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4075 72102866-910b-0410-8b05-ffd578937521
1999-04-14 08:48:32 +00:00
richard
ca7c50b951 Support for flattened directory structure
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4073 72102866-910b-0410-8b05-ffd578937521
1999-04-13 21:56:03 +00:00
richard
6d55a1db69 Added new debugging macros.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3897 72102866-910b-0410-8b05-ffd578937521
1999-03-11 11:07:21 +00:00
fedor
3d949ca12d Makefile changes to compile thinkg in place.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3496 72102866-910b-0410-8b05-ffd578937521
1998-12-20 21:27:47 +00:00
richard
1a670cbd80 Minor feature fix - Info.plist -> Info-gnustep.plist
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3315 72102866-910b-0410-8b05-ffd578937521
1998-11-24 03:46:21 +00:00
richard
a3751eb7bf Replace assert with NSAssert
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3248 72102866-910b-0410-8b05-ffd578937521
1998-11-19 21:26:27 +00:00
fedor
ee1b63a7ad Add methods from Rhapsody.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3220 72102866-910b-0410-8b05-ffd578937521
1998-11-16 19:36:51 +00:00
fedor
b8fca3dc09 Better configuration, gui will compile without DPS
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2954 72102866-910b-0410-8b05-ffd578937521
1998-09-03 14:35:49 +00:00
richard
bb66bd1482 Update reading of environment
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2919 72102866-910b-0410-8b05-ffd578937521
1998-08-12 15:07:03 +00:00
richard
f1377a1375 * src/NSBundle: ([+initialize]) modified to take account of the
environment variables GNUSTEP_TARGET_DIR, GNUSTEP_TARGET_CPU,
        GNUSTEP_TARGET_OS, and LIBRARY_COMBO to override the defaults.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2918 72102866-910b-0410-8b05-ffd578937521
1998-08-12 14:41:20 +00:00
richard
34bd8a65e8 Have NSDebugLog() and NSDebugLLog()
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2901 72102866-910b-0410-8b05-ffd578937521
1998-08-04 12:27:57 +00:00
richard
7e5d16ae78 Revised NSDebugLog() stuff
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2899 72102866-910b-0410-8b05-ffd578937521
1998-08-04 10:45:43 +00:00
fedor
86dbd2aa63 New split view, other fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2869 72102866-910b-0410-8b05-ffd578937521
1998-07-28 17:51:55 +00:00
fedor
94fddfef4d NSSet additions, better NSDebugLog, added defs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2854 72102866-910b-0410-8b05-ffd578937521
1998-07-15 16:33:33 +00:00
fedor
09326f7e16 Minor change name variable
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2799 72102866-910b-0410-8b05-ffd578937521
1998-05-15 21:01:11 +00:00
fedor
6176ccb7c4 Various fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2796 72102866-910b-0410-8b05-ffd578937521
1998-05-13 19:25:38 +00:00
fedor
762daf9441 Simplify configure, quiet warnings (from Wacko).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2674 72102866-910b-0410-8b05-ffd578937521
1997-12-11 19:09:56 +00:00
fedor
514b1ee838 Minor fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2620 72102866-910b-0410-8b05-ffd578937521
1997-11-06 18:26:51 +00:00
netc
5f7871270a Remove dependency upon config.h by headers files and include
directly in source files because the config.h file is system
dependent, used just for compiling the source, and should
not be installed.
Some minor bug fixes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2619 72102866-910b-0410-8b05-ffd578937521
1997-11-06 00:51:23 +00:00
netc
d168026dab Make the system root be the default installation root.
Use test.make for test programs so that they do not get installed.
Fix NSBundle so that it removes the library combo, target os, and
target cpu when determining the bundle's dir path.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2592 72102866-910b-0410-8b05-ffd578937521
1997-10-30 22:23:50 +00:00
fedor
d88b91f6bb Retain/Release and DO patches from Richard Frith-MacDonald
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2571 72102866-910b-0410-8b05-ffd578937521
1997-10-28 14:34:49 +00:00
netc
86a7ea4aeb Get NSTimeZone to work in GNUstep directory structure.
Add GNUstep specific method to NSBundle which will search the GNUstep
directory structure for resource files.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2528 72102866-910b-0410-8b05-ffd578937521
1997-10-18 19:49:50 +00:00
netc
a02a4e9e88 Fix NSDictionary and NSMutableDictionary implementation.
NSCharacterSet searches in appropriate places for resources.
NSBundle no longer supports GNUSTEP_LIBRARY_PATH variable.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2519 72102866-910b-0410-8b05-ffd578937521
1997-10-16 23:56:27 +00:00
netc
2b06ef4c58 Merge in changes from NET-Community.
Add DLL support on Windows platforms.
Numerous minor bug fixes related to Windows platforms.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2420 72102866-910b-0410-8b05-ffd578937521
1997-09-13 17:52:31 +00:00
fedor
a57d791f91 Patches submitted from May 20 to Aug 28 1997
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2406 72102866-910b-0410-8b05-ffd578937521
1997-09-01 21:59:51 +00:00
mccallum
6b264197fd Temporarily comment out some code with #if 0/1 so it will compile.
Get Adam Fedor or someone to fix it.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2331 72102866-910b-0410-8b05-ffd578937521
1997-05-03 21:04:39 +00:00
mccallum
9e5219ee32 Changes from Richard Frith-Macdonald. See ChangeLog Apr 25 01:30:00
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2313 72102866-910b-0410-8b05-ffd578937521
1997-05-03 19:22:17 +00:00
mccallum
ec967cff6b Changes from Scott Christley. See ChangeLog Mar 4 10:47:18
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2295 72102866-910b-0410-8b05-ffd578937521
1997-05-03 17:25:25 +00:00
mccallum
47f8cb6098 Changes from Scott Christley. See ChangeLog Feb 27 13:46:10
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2294 72102866-910b-0410-8b05-ffd578937521
1997-05-03 17:24:31 +00:00
mccallum
84011b8649 ([NSBundle +pathForResource:ofType:inDirectory:]): Change it from an
instance method to a class method, in order to conform to spec.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2292 72102866-910b-0410-8b05-ffd578937521
1997-05-03 17:17:08 +00:00
mccallum
460aa41820 Rearrange #include's a little.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2033 72102866-910b-0410-8b05-ffd578937521
1997-01-09 17:01:14 +00:00
mccallum
5b8ea53689 Changes by Adam Fedor. See Nov 13 ChangeLog entry
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2018 72102866-910b-0410-8b05-ffd578937521
1997-01-06 22:30:33 +00:00
mccallum
fe624212e5 Changes made in Rochester. See ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1650 72102866-910b-0410-8b05-ffd578937521
1996-07-15 18:41:44 +00:00
mccallum
49d43a44aa Change "Gnustep" to "GNUstep"
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1521 72102866-910b-0410-8b05-ffd578937521
1996-05-12 00:56:10 +00:00
mccallum
dbe4613ced Rename in comments from GNU Objective C Class Library to Gnustep Base Library.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1451 72102866-910b-0410-8b05-ffd578937521
1996-04-17 19:55:26 +00:00
mccallum
89d67bb808 Fix typo; it is preface.h, not prefix.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1420 72102866-910b-0410-8b05-ffd578937521
1996-04-17 15:34:35 +00:00
mccallum
d4b12b4053 Change all include objects/*.h to include gnustep/base/*.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1419 72102866-910b-0410-8b05-ffd578937521
1996-04-17 15:23:00 +00:00
mccallum
a62d5060b4 ([NSBundle +setSystemLanguages:]): Comment out unused variables.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1270 72102866-910b-0410-8b05-ffd578937521
1996-03-26 00:28:39 +00:00
mccallum
3534bcc0de Minor comment format fix.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1165 72102866-910b-0410-8b05-ffd578937521
1996-03-18 13:54:56 +00:00
mccallum
c30185d83d WinNT and thread-related odifications from Scott Christley
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@915 72102866-910b-0410-8b05-ffd578937521
1996-02-13 15:43:30 +00:00
mccallum
83a875da07 Patched from mail. See ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@743 72102866-910b-0410-8b05-ffd578937521
1996-01-21 01:36:47 +00:00
mccallum
43da69d1ae Patched from mail. See ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@612 72102866-910b-0410-8b05-ffd578937521
1995-09-21 17:42:46 +00:00
mccallum
ecfdf5feb3 Patched from mail. See ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@608 72102866-910b-0410-8b05-ffd578937521
1995-09-12 22:30:13 +00:00
mccallum
8616b88990 * src/NSBundle.m (bundle_object_name, bundle_resource_path,
[NSBundle +mainBundle], [NSBundle +setSystemLanguages:]): Remove
dependency on NSString for calculating paths.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@520 72102866-910b-0410-8b05-ffd578937521
1995-08-02 16:58:51 +00:00
mccallum
883fa9fab5 Include from <Foundation/...>, not <foundation/...>.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@391 72102866-910b-0410-8b05-ffd578937521
1995-04-17 21:13:20 +00:00
mccallum
569fd55182 Second patch of Apr 3 from Adam Fedor
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@252 72102866-910b-0410-8b05-ffd578937521
1995-04-03 21:20:29 +00:00
mccallum
aea49bd3e2 Apr 3 patch from Adam Fedor. See ChangeLog for details.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@249 72102866-910b-0410-8b05-ffd578937521
1995-04-03 20:07:18 +00:00
mccallum
2582750c39 Don't include NSObjectPrivate.h.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@180 72102866-910b-0410-8b05-ffd578937521
1995-03-23 03:43:19 +00:00
mccallum
d2dafa936f Initial revision
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@161 72102866-910b-0410-8b05-ffd578937521
1995-03-18 17:15:15 +00:00