Commit graph

44 commits

Author SHA1 Message Date
ivucica
6530060b65 Cygwin-related changes.
- Disabled check for secure temporary directories under Cygwin
- objc-load.m codepaths used for MinGW are now also used for Cygwin. Even in
  case of some functionality that should be standard under UNIX systems, it
  turns out that this functionality is, sadly, not present under Cygwin (e.g.
  dladdr()).



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36962 72102866-910b-0410-8b05-ffd578937521
2013-08-10 21:31:37 +00:00
rfm
ca854a4b3c 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
nicola
b84001b073 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
ericwa
ea6f05bb38 * Source/objc-load.m: Don't include objc-list.h with libobjc2
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31438 72102866-910b-0410-8b05-ffd578937521
2010-09-29 06:47:16 +00:00
ericwa
5af34bc87f disable unneeded code on libobjc2
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31353 72102866-910b-0410-8b05-ffd578937521
2010-09-16 00:07:39 +00:00
theraven
9c0b83c8a9 Resolve symbols using dladdr() if it exists.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31263 72102866-910b-0410-8b05-ffd578937521
2010-09-09 14:22:45 +00:00
theraven
952ea61cc7 Don't call __objc_resolve_class_links() if using the GNUstep runtime.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31229 72102866-910b-0410-8b05-ffd578937521
2010-09-01 16:13:44 +00:00
rfm
b300053863 Simplify source by usuing autoconf
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30692 72102866-910b-0410-8b05-ffd578937521
2010-06-12 07:19:26 +00:00
rfm
1a5d643771 generalize define from __MINGW32__ to __MINGW__
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30001 72102866-910b-0410-8b05-ffd578937521
2010-03-19 12:10:11 +00:00
rfm
e263f96f16 more header reorganisation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29731 72102866-910b-0410-8b05-ffd578937521
2010-02-25 08:36:34 +00:00
rfm
d605c6f7b5 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
rfm
9edbe1a4fc cosmetic tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29657 72102866-910b-0410-8b05-ffd578937521
2010-02-17 11:47:06 +00:00
rfm
e0711a3b8d 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
rfm
3a5cd03132 fix missing include
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25856 72102866-910b-0410-8b05-ffd578937521
2008-01-04 10:32:07 +00:00
rfm
cd46236028 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
rfm
d733696a80 Minor symbol visibility cleanups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23952 72102866-910b-0410-8b05-ffd578937521
2006-10-23 14:47:37 +00:00
rfm
31342aef09 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
rfm
6d7eae6095 Tidied up
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22977 72102866-910b-0410-8b05-ffd578937521
2006-05-24 08:27:39 +00:00
jbettis
55c7cd74a5 NSBundle.m: objc_executable_location(): A cast was obsuring a misuse of fileSystemRepresentation
NSFileManager.m: isExecutableFileAtPath: Added a comment
NSPropertyList.m: propertyListFromData:mutabilityOption:format:errorDescription: Don't call memcmp if the data is smaller than 8 bytes.
objc-load.m: mingw unicode
win32-load.h: mingw unicode
NSUserDefaultsWin32.m: Write defaults to registry as unicode strings, read in either unicode(REG_SZ) or ascii(REG_BINARY).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22782 72102866-910b-0410-8b05-ffd578937521
2006-04-12 19:52:10 +00:00
CaS
38e23cc6cb avoid some compiler warnings
fix oen inforrect use of ansi mingw function


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21956 72102866-910b-0410-8b05-ffd578937521
2005-11-05 17:41:01 +00:00
CaS
e6fd4ca0d1 mingw32 unicode fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21955 72102866-910b-0410-8b05-ffd578937521
2005-11-05 16:20:19 +00:00
CaS
620e39b898 Use __MINGW32__ rather than __MINGW__ because gcc does that too.
NB. It seems some recent patches put ___MINGW32__ in the public headers ...
that needs to be fixed as the headers should be system independent!


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21795 72102866-910b-0410-8b05-ffd578937521
2005-10-11 19:09:26 +00:00
CaS
790fb7aeb3 Implement objc_get_symbol_path() for mingw
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21537 72102866-910b-0410-8b05-ffd578937521
2005-07-25 16:15:37 +00:00
CaS
f19056c331 Print unicode filenames under mingw
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21432 72102866-910b-0410-8b05-ffd578937521
2005-07-08 11:59:41 +00:00
fedor
376e495dad * 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
CaS
0708409c1b Tidy up use of white space so we have it after if/for/while and not after (
or before ) or padding at end of line.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20773 72102866-910b-0410-8b05-ffd578937521
2005-02-22 11:22:44 +00:00
ratmice
be09199907 2004-10-17 Matt Rice <ratmice@yahoo.com
* Source/objc-load.m (objc_load_module): resolve class links under GNU
        runtime
        * Headers/Additions/GNUstepBase/GSObjCRuntime.h
        * Source/Additions/GSObjCRuntime.m
        (GSObjCAllSubclassesOfClass,GSObjCDirectSubclassesOfClass):
        New functions.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20234 72102866-910b-0410-8b05-ffd578937521
2004-10-17 23:22:41 +00:00
ayers
73dc4cb9f6 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
fedor
0e59d4552d Change syntax of includes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16874 72102866-910b-0410-8b05-ffd578937521
2003-06-07 01:24:41 +00:00
fedor
a82cf5c84b * configure.ac: Pass on original CPPFLAGS to config.mak.
* config/objc-con-autoload.m4: Test for constructors directly.
* config/objc-sys-dynamic.m4: Check for dl lib if we are using dladdr.

* Source/objc-load.m (objc_get_uninstalled_dtable): Remove unused.

* Source/Additions/GSXML.m (unparsedEntityDeclFunction): Add block
around START so it will compile on GCC 2.

* Testing/nsbundle.m: Errors to stdout.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16836 72102866-910b-0410-8b05-ffd578937521
2003-05-30 02:50:28 +00:00
fedor
9a0532fde6 Version 1.7.0
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16751 72102866-910b-0410-8b05-ffd578937521
2003-05-20 03:32:20 +00:00
nico
ea1ac7c7c1 Updates, bug fixes for using the dynamic linker to look up paths of
object files from which classes have been loaded


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14872 72102866-910b-0410-8b05-ffd578937521
2002-10-30 02:27:45 +00:00
nico
9ca567c8f6 Reset the load callbacks when we abort loading a module because of an error
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@10815 72102866-910b-0410-8b05-ffd578937521
2001-08-30 19:24:49 +00:00
nico
1a1d740855 Reindented the whole file. *NO* actual changes to the code, unless I made
a mistake reindenting of course.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@10814 72102866-910b-0410-8b05-ffd578937521
2001-08-30 19:18:26 +00:00
fedor
9695d34e69 NeXT compatibility, Typos
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@10502 72102866-910b-0410-8b05-ffd578937521
2001-07-17 02:56:43 +00:00
fedor
9bdf5a700e Add include for NeXT systems
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@10437 72102866-910b-0410-8b05-ffd578937521
2001-07-11 19:24:25 +00:00
CaS
61a6f5bd90 Minor fix to recompile again.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@10377 72102866-910b-0410-8b05-ffd578937521
2001-07-10 05:16:04 +00:00
fedor
0c85f53a78 Add pthread and objc-load for Darwin
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@10376 72102866-910b-0410-8b05-ffd578937521
2001-07-10 03:23:39 +00:00
fedor
b786b93998 New strerror-like function
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@10043 72102866-910b-0410-8b05-ffd578937521
2001-05-31 22:39:16 +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
656fde90c0 Final fixes for DLLs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6848 72102866-910b-0410-8b05-ffd578937521
2000-06-30 22:42:48 +00:00
fedor
6238bbb2c5 New switch to force user to call NSProcessInfo initialization
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6841 72102866-910b-0410-8b05-ffd578937521
2000-06-29 03:51:06 +00:00
fedor
8156ae951c Shared library on Windows fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6768 72102866-910b-0410-8b05-ffd578937521
2000-06-22 03:15:27 +00:00
richard
78616c9359 Improved logging
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@5793 72102866-910b-0410-8b05-ffd578937521
2000-01-16 09:56:12 +00:00
Renamed from Source/objc-load.c (Browse further)