Commit Graph

21 Commits (fix-linux)

Author SHA1 Message Date
Doug Coleman 4e9d383fe5 docs: Fix help-lint-all mistakes. 2018-07-07 01:13:19 -05:00
Doug Coleman 310a4a247c alien.libraries: load-library is misnamed, refactor library-dll.
load-library implies that dlopen() is called, which is totally not the
case. add-library calls dlopen() and load-library just looks the opened
library up in the ``libraries`` global. What load-library did is now
library-dll.

If we want to do it right, add-library should be a declarative top-level
form that tries to call a real load-library on demand instead of
memoizing the first try which would fix the case where the library is
not found, is moved into position by the user and Factor declines to
look it up again.
2018-02-19 10:38:21 -06:00
Björn Lindqvist a9ac763912 alien.libraries: word>dlsym was a stupid idea that didn't work
The def>> attribute is stripped when deploying. So return dlsym? and use
that.
2016-11-30 16:36:24 +01:00
Björn Lindqvist 2ba659dcb1 io.sockets.secure,alien.libraries: new word word>dlsym to replace the dlsym? word 2016-11-30 11:51:54 +01:00
Doug Coleman 857e60db5b alien.libraries: Cannot include alien.libraries.finder here for docs. 2015-02-13 11:31:56 -08:00
Benjamin Pollack e6fecadb04 Explicitly reference find-library in alien docs
Factor 0.98 added a great find-library library, but unless you already know it
exists, you're probably not going to discover it.  This attempts to help with
that by adding a few cross-references with the add-library word and the main
alien article.
2015-02-11 17:38:44 -08: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 5a943b32c4 Remove stack effects from HELP: declarations. 2011-10-20 19:36:11 -07:00
Joe Groff 2240520e2d update some more doc examples using old abi strings 2010-04-02 23:16:53 -07:00
Joe Groff 98d1e7d006 update alien.libraries docs to link cdecl/stdcall symbols 2010-03-31 19:57:04 -07:00
Joe Groff f3dd625de6 "stdcall" -> stdcall 2010-03-31 19:29:04 -07:00
Joe Groff 65c3259761 "cdecl" -> cdecl 2010-03-31 19:20:35 -07:00
Joe Groff 42089b6586 alien.libraries: add a "deploy-library" word that marks a library to have its dll deployed with applications that use it. add support to tools.deploy to find and copy deployed libraries into target bundle 2010-02-16 13:32:58 -08:00
Slava Pestov 0612bc6177 Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Slava Pestov 36d1cfd3e5 alien.libraries: fix dlsym docs 2009-10-15 22:08:16 -05:00
Slava Pestov b88fde04d9 alien.syntax: add C-GLOBAL: for defining words to access global variables, and remove the gimpy one from core-text.utilities 2009-10-09 04:46:29 -05:00
Keith Lazuka 405e5d015b docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Slava Pestov 15c7499ef5 alien.libraries: add dispose method for library tuple, and remove-library word; add-library first calls remove-library to properly close the library when reloading 2009-07-09 06:41:51 -05:00
Slava Pestov 9d1c4f39a8 Some gold plating 2009-05-01 02:03:22 -05:00
Slava Pestov b5b80cd0e9 Documentation updates 2009-04-14 20:36:10 -05:00
Doug Coleman 3c1b716bf9 move a lot of words to alien.libraries 2009-03-25 23:00:02 -05:00