Commit Graph

584 Commits (3f3cc0eb8a36aa9991a63fec967cdfe341c18a9c)

Author SHA1 Message Date
Doug Coleman 5c8c76cc22 alien.syntax: We have to include alien.arrays somewhere before libc loads. 2014-11-17 09:44:21 -08:00
John Benediktsson 74058d3dff alien: cleanup using. 2014-11-16 20:31:32 -08:00
John Benediktsson d6b6f3893d basis/extra: switch to "vocab." os name>> append require. 2014-11-13 13:00:44 -08:00
Doug Coleman 964cbf894b core/basis: Trim or reorganize a few using lists. Playing around with auto-use restarts and private words. 2014-10-27 13:39:30 -07:00
Doug Coleman d578ca7959 alien.libraries.finder: How many patches does it take... I was dropping the wrong value from map-find. 2014-07-08 11:58:34 -07:00
Doug Coleman ee08a436fd alien.libraries.finder: map-find was what I wanted all along. 2014-07-08 13:13:41 -05:00
Doug Coleman 1e8655c5c0 alien.libraries.finder: More robust finder code that doesn't return f to a
string slot and error out. Use it in yaml.ffi.
2014-07-08 12:40:33 -05:00
Doug Coleman 77f806d6c5 alien.libraries.finder: Add find-library-from-list utility word. 2014-07-08 12:21:50 -05:00
Doug Coleman a8b78071ff alien.libraries.finder.windows: Better fix for finding the right library path. 2014-07-07 23:34:10 -07:00
Doug Coleman 9bbf0af6e8 Revert "alien.libraries: Normalize the path before opening a dll since"
This reverts commit 05aabb13f4.
2014-07-07 23:31:59 -07:00
Doug Coleman 05aabb13f4 alien.libraries: Normalize the path before opening a dll since
find-library can return paths that have "resource:" in them.
2014-07-08 01:12:44 -05:00
Doug Coleman bcd7c743a2 alien.c-types: Looks like ffi_test_59 found a bug after all. Add comments because it's confusing on small screens. 2014-07-07 20:47:40 -07:00
Doug Coleman 908bfa2db6 alien.c-types: Ugh. There are self-similar lines of code, got confused. 2014-07-07 20:28:27 -07:00
Doug Coleman 05ef13fff4 alien.c-types: Revert previous changes to 64 bit boxing/unboxing. Seems to work. See . 2014-07-07 17:25:28 -07:00
Doug Coleman 608c23ad8f alien.c-types: longlong was calling to_fixnum instead of to_signed_8. 2014-07-07 16:26:05 -07:00
Doug Coleman 5d44509720 alien.libraries.finder.linux: Trim blanks off the arch names. 2014-07-03 21:30:15 +00:00
John Benediktsson 055cacabd4 alien.enums: cleanup using. 2014-06-30 09:09:46 -07:00
Doug Coleman 96f2561b42 alien.libraries.finder.linux: Remove tags like "OS ABI: Linux 2.6.24" from the ``ldconfig -p`` output. 2014-06-17 14:13:06 -07:00
Doug Coleman 2f53a7c5de alien.libraries.finder.linux: On mint 32 bit, the gtk-x11-2.0 library arch is just (libc6). Hopefully this is correct. 2014-06-16 23:07:13 -07:00
John Benediktsson de12140505 alien.libraries.finder: fix docs. 2014-06-08 18:08:26 -07:00
John Benediktsson 17478e27cd alien.libraries.finder: fix tests for @erg's recent change. 2014-06-08 13:41:38 -07:00
John Benediktsson 8303d6aacf alien.libraries.finder.macosx: adding some tests. 2014-06-08 13:38:35 -07:00
John Benediktsson b7bd78d92d alien.libraries.finder.linux: add some tests. 2014-06-08 13:37:10 -07:00
John Benediktsson 96e337f937 alien.libraries.finder.linux: make "m" find-library work. 2014-06-08 13:30:54 -07:00
John Benediktsson 04a04dacca alien.libraries.finder.linux: sigh. 2014-06-08 13:25:51 -07:00
John Benediktsson 7bfd267d02 alien.libraries.finder: whoops. 2014-06-08 13:23:43 -07:00
John Benediktsson 490bb44a94 alien.libraries.finder.linux: some fixes to allow "LLVM-3.4" to find "LLVM-3.4.1". 2014-06-08 11:48:29 -07:00
Doug Coleman d10443186c alien.libraries.finder: Make find-library return the string passed in instead of f if the library is not found. We want vocabularies to load no matter what instead of throwing a missing library error. Also, print dlerror in the error message and take away the redundant line about possible missing libraries. Fixes . 2014-06-07 20:58:14 -07:00
Doug Coleman 40a79766af alien.libraries: Change <library> to be just a constructor. Replace with make-library and try-make-library so that we throw better errors. 2014-06-05 14:28:37 -07:00
John Benediktsson 285c0c64b9 alien.endian: use "c:" convention. 2014-06-02 17:07:32 -07:00
Doug Coleman 9b9bd182ca aline.libraries.finder.linux: Fix spacing. oops 2014-04-28 01:46:33 -07:00
Doug Coleman f1f76dead7 alien.libraries.finder: Linux32 ldconfig has (libc6) or (libc6,x32) as the platform strings. Refactor parsing to not use regular expressions and change the matching from exact to requiring the ldconfig line to be a subset of the supported platforms. 2014-04-28 08:43:34 +00:00
Doug Coleman 093a2bbae0 Revert "alien.libraries.finder: Add utiltity word find-first-library to find a shared library from a list of library stem names." Wrong fix.
This reverts commit 8cd883be5119683291c2ee6d7ce4fad228b78e26.
2014-04-28 01:25:27 -07:00
Doug Coleman ce9db9fb84 alien.libraries.finder: Add utiltity word find-first-library to find a shared library from a list of library stem names. 2014-04-28 00:38:39 -07:00
John Benediktsson b0b5e6733d Revert "Revert "alien.data: <ref> doesn't need to zero memory.""
This reverts commit 01142121511d4b9338c84286d4efdd3c8d5a4665.
2014-03-07 11:19:36 -08:00
John Benediktsson 985faa7ec7 Revert "alien.data: <ref> doesn't need to zero memory."
This reverts commit f9a714b48fc1700431b61f7f1968893d2b2b3ee7.
2014-03-07 09:46:13 -08:00
John Benediktsson ab5b128192 alien.data: <ref> doesn't need to zero memory. 2014-02-27 20:53:54 -08:00
John Benediktsson 351d68b1e1 Revert "alien.libraries: dlopen should handle resource:-paths"
This reverts commit cc663fff88fa7321af6deea424890128d3b0bc07.

Conflicts:
	basis/alien/libraries/libraries-tests.factor
2013-12-20 21:07:31 -08:00
Björn Lindqvist 4db103b91e alien.libraries.tests: compressed USING line.. at least its in alphabetical order 2013-12-12 18:00:25 -08:00
Björn Lindqvist ab7494eef9 alien.libraries: dlopen should handle resource:-paths 2013-12-12 18:00:25 -08:00
John Benediktsson 28051e69a9 alien.libraries.finder: adding platforms.txt. 2013-11-17 08:35:16 -08:00
John Benediktsson 9de7b67472 alien.libraries.finder.linux: use third element which is file name. 2013-11-16 16:48:22 -08:00
John Benediktsson 1e2a4df88c alien.libraries.finder.linux: fix using. 2013-11-16 16:33:17 -08:00
John Benediktsson c0656c81ed alien.libraries.finder.macosx: fix tests. 2013-11-16 16:26:17 -08:00
John Benediktsson 302df73686 alien.libraries.finder.windows: more like MSDN search order. 2013-11-16 16:10:31 -08:00
John Benediktsson 45af0bc563 alien.libraries.finder.linux: dont use dlopen. 2013-11-16 16:10:31 -08:00
John Benediktsson 935612035c alien.libraries.finder: split into sub-vocabularies and implement macosx better. 2013-11-16 11:58:37 -08:00
Björn Lindqvist 80b180b96b alien.libraries.finder: remove unused import 2013-11-10 15:10:14 +01:00
Björn Lindqvist 29ad75a85d alien.libraries.finder: better library resolving 2013-11-10 02:27:56 +01:00
Björn Lindqvist 0236212987 alien.libraries.finder: linux code path for find-library
/sbin/ldconfig -p is used to figure out what the correct lib name
is. It is the same method as used in python ctypes.
2013-11-10 02:27:56 +01:00