Commit Graph

11249 Commits (900c6708944303aa59b83f0e7e416d4c3d0a5903)

Author SHA1 Message Date
Doug Coleman 30f2f8738b unix.users: Add utility word to find a user's home directory. 2013-11-19 09:32:45 -08:00
John Benediktsson c85f3790e1 help.search: fix summary file name. 2013-11-17 20:21:35 -08:00
John Benediktsson 6bfe92c52e webbrowser: adding open-file support for pathnames. 2013-11-17 12:57:11 -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 53592b9c7d io.sockets.secure.windows: add platforms.txt. 2013-11-16 16:20:34 -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
Doug Coleman 4bcb356ba8 io.sockets.secure.openssl: libssl error is opaque, check that cert files
exist in Factor beforehand so we can get a nicer error message.
Add missing USE: and neaten up the list.
2013-11-16 15:59: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
Björn Lindqvist 21bd4cc6ea alien.libraries.finder: automatically find library files based on library names
To make it easier to support cross-platform library bindings use the
find-library word. Factor is then supposed to automatically locate the
correct library file depending on the users' platform. Then you dont
have to specify the full so-name on unixes which breaks if the user
has a newer library version. The same library lookups that
ctypes.find_library uses will be implemented in future commits.
2013-11-10 02:27:56 +01:00
Jon Harper a3fcaf4a11 Fix furnace basic auth; add test 2013-11-09 22:22:12 +01:00
Roc King 7d8f05012a help.cookbook: the space between "#!" and *interpreter* could be remove, since "#!" at the front of line will be handled specially. 2013-11-03 20:12:28 -08:00
Jon Harper 5341466a32 linux/proc: do something with 'TLB size' 2013-11-03 20:11:24 -08:00
Jon Harper 586bd22743 Fix doc link for furnace user-admin webapp 2013-11-03 15:19:20 +01:00
John Benediktsson 5486473b52 math.bitwise: adding bit-length. 2013-10-20 18:55:58 -07:00
Jon Harper ba57d1adcd with-ui docs, clearly state that the quot must return 2013-10-17 13:35:06 -07:00
John Benediktsson e9c6bf6b9a math.combinatorics: faster combinations by inlining next-combination. 2013-10-14 15:44:19 -07:00
John Benediktsson 327a40d4bf sorting.insertion: faster with unsafe words. 2013-10-14 15:28:05 -07:00
John Benediktsson a5f59da7e1 math.bitwise: fix mask? to do what the docs say. 2013-10-13 20:20:05 -07:00
John Benediktsson 8321aa1e6a sequences.windowed: fixup stack effect for rolling-map. 2013-10-12 11:46:05 -07:00
John Benediktsson a82e916bcf sequences.windowed: faster rolling-map. 2013-10-12 11:43:46 -07:00
John Benediktsson de62db7775 sequences.product: use some unsafe to make it faster. 2013-10-12 11:35:17 -07:00
John Benediktsson 3d2cd564bf concurrency.combinators: adding parallel words for cartesian-{map,each}. 2013-10-12 11:03:46 -07:00
John Benediktsson adc3ee4c81 http.client: using http-request*. 2013-10-12 10:57:08 -07:00
John Benediktsson 6a2d6971c6 http.client: adding http-request*. 2013-10-12 10:57:00 -07:00
John Benediktsson eb801f1072 concurrency.combinators: adding parallel-product-map, docs for stack effects. 2013-10-12 10:45:15 -07:00
John Benediktsson 278d210064 http.client: add variants to the docs. 2013-10-12 10:39:05 -07:00
John Benediktsson 39fd41b69a http.client: use new http-post* word. 2013-10-12 10:29:34 -07:00
John Benediktsson 435f54cf59 http.client: use new http-get* word. 2013-10-12 10:25:42 -07:00
John Benediktsson 18088e1aa3 http.client: adding variants of http-methods that check the response code. 2013-10-12 10:25:08 -07:00
Björn Lindqvist 5f2238f7d4 io.sockets.secure.windows: secure socket implementation for windows, it works reasonably but certificate validation is not working correctly yet 2013-10-11 10:23:40 -07:00
Björn Lindqvist 729bd8a362 io.sockets.secure.openssl.tests: remove windows.winsock import and another test for subject-name 2013-10-11 10:23:40 -07:00
Björn Lindqvist 0b15b47743 openssl.libssl: better way to change library dll for windows 2013-10-11 10:23:40 -07:00
Björn Lindqvist ad627a1395 openssl.libssl: on windows the X509_* family of functions is in a
different dll than the other functions in libssl
2013-10-11 10:23:40 -07:00
Björn Lindqvist eaf0b40a9f windows.winsock: wrap socket function 2013-10-11 10:23:40 -07:00
Björn Lindqvist 968e3e6cf4 openssl.libssl: unit tests and wrappings for more parts of libssl 2013-10-11 10:23:40 -07:00
John Benediktsson ec0741da35 cocoa.apple-script: adding some docs. 2013-10-11 08:25:11 -07:00
John Benediktsson 6069aef790 cocoa.apple-script: add APPLESCRIPT: syntax for defining words. 2013-10-11 08:17:25 -07:00
John Benediktsson 55f72a8568 cocoa.apple-script: adding a simple applescript runner. 2013-10-10 15:52:05 -07:00
John Benediktsson 6a4a6b9a0d colors: more generic methods, simpler api. 2013-10-02 21:24:36 -07:00
John Benediktsson d76f8d151d math.combinatorics: adding all-combinations? and all-permutations?. 2013-10-01 20:44:57 -07:00
John Benediktsson ff96ad9475 windows.winsock: port should be short, not sure if it should be PACKED-STRUCT or not. 2013-09-26 14:02:08 -07:00
John Benediktsson db3d5f48cc windows.winsock: the servent structure is different between 32-bit and 64-bit. 2013-09-25 11:39:27 -07:00
Doug Coleman e407981e12 io.directories: Add with-resource-directory word and use it. 2013-09-24 13:13:39 -07:00
John Benediktsson 9cc27f22f7 http.client: add quotation stack effects. 2013-09-23 15:47:31 -07:00
John Benediktsson 140252f6f4 images.loader.cocoa: adding ability to save cocoa images to files. 2013-09-20 11:58:39 -07:00
John Benediktsson cf1b282ced core-graphics: adding some more functions. 2013-09-20 11:58:01 -07:00
John Benediktsson 36a5cba0eb core-graphics.types: adding CGImageDestinationRef. 2013-09-20 11:57:43 -07:00
John Benediktsson 691a520ca0 core-foundation.launch-services: adding UTCoreTypes.h. 2013-09-20 11:53:58 -07:00
John Benediktsson 602e0aab94 io.ports: speed up stream-flush. 2013-09-18 19:27:40 -07:00
John Benediktsson fb63772e9d dlists: make push-sorted inline 2013-09-18 18:22:58 -07:00
John Benediktsson d8f258d47e dlists: adding push-before and push-sorted. 2013-09-18 18:17:45 -07:00
John Benediktsson 04c36279bb windows.winsock: fix getservbyport and servent struct. 2013-09-16 17:35:06 -07:00
Björn Lindqvist bc56b5099f io.sockets, urls: move documentation for protocol-port 2013-09-16 17:31:37 -07:00
Björn Lindqvist 7c179f876c unix.ffi, windows.winsock: wraps for servent functions 2013-09-16 17:31:37 -07:00
John Benediktsson 32b07016b0 io.sockets.secure.openssl: some style improvements. 2013-09-16 17:24:31 -07:00
Björn Lindqvist 44a1d61bd4 io.sockets.secure: common-name -> subject-name 2013-09-16 17:17:48 -07:00
Björn Lindqvist c2fd5031e0 io.sockets.secure, io.sockets.secure.openssl: improved host name verification that takes into account a certificates subject alternative names. 2013-09-16 17:17:48 -07:00
Björn Lindqvist 98355daba1 openssl.libssl: functions and structs related to general names 2013-09-16 17:17:48 -07:00
Björn Lindqvist 5492b8e46b libcrypto: wrap more parts of the BIO_ api and add unit tests 2013-09-16 17:17:48 -07:00
Björn Lindqvist ed34163e54 openssl.libssl: define the ssl_method_st struct 2013-09-16 17:17:48 -07:00
Björn Lindqvist c850fe90fc openssl.libcrypto: defining structs for some opaque aliens 2013-09-16 17:17:47 -07:00
Björn Lindqvist a3f685bcb0 openssl.libssl: wrapped several more objects from libssl which are needed to lookup the subject alt names 2013-09-16 17:17:47 -07:00
Björn Lindqvist f4f60b8ba3 io.sockets.secure.openssl: support for getting issuer name 2013-09-16 17:17:47 -07:00
John Benediktsson 410a71f677 circular: rename circular-while* to circular-loop, add some docs. 2013-09-06 10:16:20 -07:00
Jon Harper 3a48ab4688 circular-while, fix of by 1 error; add tests 2013-09-06 09:57:43 -07:00
Jon Harper b5700cd3f5 circular-while*, add corner case test 2013-09-06 09:57:43 -07:00
Jon Harper 2dba2504fa circular-tests, typos 2013-09-06 09:57:43 -07:00
Jon Harper 316747e471 Add circular-while* 2013-09-06 09:57:43 -07:00
John Benediktsson 5726da1285 help.lint: remove old word. 2013-08-24 12:21:16 -07:00
John Benediktsson d44cc17161 update docs for help.lint checks. 2013-08-24 11:39:31 -07:00
John Benediktsson b88755769b help.lint: add slot checking, don't check constants for $values. 2013-08-24 11:39:16 -07:00
John Benediktsson 63ee0de2f1 ui.gadgets.worlds: remove fonts slot from docs. 2013-08-13 08:49:43 -07:00
John Benediktsson 109b35572f wrap.strings: empty strings should wrap as the indent. 2013-08-05 11:25:01 -07:00
John Benediktsson 155cc44020 wrap.strings: fix using in tests. 2013-07-28 10:57:02 -07:00
John Benediktsson 8198a6f547 wrap.strings: allow wrap-indented-string to have a numbered indent provided. 2013-07-27 21:18:10 -07:00
Doug Coleman 2f2e04ca45 random.windows: Saw in the pastebin that some Windows installs still don't
start with this code. Just set the system and secure RNGs to f, and
calling them will throw an error. The Mersenne Twister is still the
default anyway.
2013-07-27 13:28:20 -07:00
John Benediktsson 83ff3b5601 match: fix test syntax. 2013-07-25 07:02:47 -07:00
John Benediktsson 519652d862 math.functions: whoops, back out mistaken commit. 2013-07-24 14:55:13 -07:00
John Benediktsson c75fc48f23 switch some vocabs to 4 spaces. 2013-07-24 14:52:09 -07:00
John Benediktsson 6ca2fec6cd interpolate: adding generalized numbered string interpolate. 2013-07-24 08:44:31 -07:00
Doug Coleman 7ed9365c00 io.monitors.recursive: Fry quotations - do not apply liberally. 2013-07-16 14:43:29 -07:00
Doug Coleman 36a4eb7ee1 io.monitors.recursive: Bug - <recursive-monitor> could fail and leak a file monitor.
Fix - Monitors tests were "leaking" dummy-monitors objects.
2013-07-16 14:30:38 -07:00
Doug Coleman 662e215c7e tools.deploy.test: Bump windows binaries size up a bit. 2013-07-16 11:26:32 -07:00
John Benediktsson 787cc89370 tools.ps.windows: use offset-of instead. 2013-07-15 15:31:59 -07:00
Doug Coleman 18a463bc2f tools.ps.windows: Fix offsets for win64. 2013-07-15 15:19:07 -07:00
John Benediktsson b5484d33ba http.client: support urls without protocols (in addition to strings). 2013-07-15 10:28:28 -07:00
John Benediktsson 0555425861 http.client: default to http:// if not specified. 2013-07-15 09:30:22 -07:00
Doug Coleman ec1ecbe549 io.directories.unix: If you mount a .iso, all the file types are +unknown+ according to directory-files.
Fall back to file-info on +unknown+ file types and use with-directory in with-unix-directory so the paths are correct for file-info.
Fixes #911.
2013-07-11 09:46:26 -07:00
John Benediktsson aa779eaba8 math.statistics: use >array instead of { } clone-like. 2013-06-25 15:40:33 -07:00
Doug Coleman 4df945e3db math.statistics: Handle some edge cases.
Remove two unused parameters.
2013-06-17 10:16:28 -07:00
Doug Coleman 49c0b12b33 math.statistics: Add trimean. 2013-06-17 10:16:28 -07:00
Doug Coleman d3df35102a math.statistics: [-] Golfed. 2013-06-17 07:36:55 -07:00
Doug Coleman 77abc31e3b math.statistics: Fix out of bounds on quantiles that should return the first element. 2013-06-17 07:21:45 -07:00