Commit Graph

11289 Commits (bd8d0b5d845b7ea5af9aee1390f60a7eb93314ae)

Author SHA1 Message Date
Doug Coleman 288ebd6c88 urls: Allow URLs of the form //foo.com, which take on the protocol of the URL they derive from. 2013-12-07 11:43:32 -08:00
John Benediktsson 1acf307e15 io.streams: make stream-element-type inline on string-reader and byte-reader. 2013-12-02 17:44:03 -08:00
Doug Coleman a71e2d8060 io.sockets.secure.openssl: Fix docs. 2013-11-28 12:59:36 -06:00
John Benediktsson 47a0ebcc99 compiler.tree.propagation.transforms: faster H{ } and HS{ } clone. 2013-11-25 16:42:59 -08:00
John Benediktsson 1cfcf39bda Revert "math.functions: make float sqrt a little faster."
This reverts commit 7ae5e9c0c11bbc82ac7854bfa5964723e1cb42d9.
2013-11-25 16:42:52 -08:00
John Benediktsson 76e32e8a5f summary: adding summary of sets. 2013-11-25 16:25:02 -08:00
John Benediktsson 97530d86d4 compiler.tree.propagation.transforms: rename to non-negative-fixnum?. 2013-11-25 12:58:21 -08:00
John Benediktsson 9bb5e34762 compiler.tree.propgation.transforms: make bit? use integer>fixnum. 2013-11-25 12:48:48 -08:00
John Benediktsson fafeecb5fb math.functions: make float sqrt a little faster. 2013-11-25 11:14:51 -08:00
John Benediktsson e4e349741b fix some uses of "1 head*" to be "but-last". 2013-11-24 20:42:30 -08:00
John Benediktsson 473fdc0d84 io.encodings.string: faster decode by using sbufs. 2013-11-24 16:22:29 -08:00
John Benediktsson 13ec450ac8 io.encodings.string: faster for ascii and utf8. 2013-11-24 16:08:26 -08:00
John Benediktsson 0806a8ce15 io.encodings: string>byte-array-fast for when aux>> is f. 2013-11-24 13:43:00 -08:00
John Benediktsson 069d09807e math.bitwise: removing bit-clear? since it is just "bit? not". 2013-11-24 12:05:52 -08:00
John Benediktsson 17941b8ad7 math.bitwise: speed up >signed. 2013-11-24 12:01:08 -08:00
John Benediktsson 29ca470b79 checksums.superfast: use bits word. 2013-11-24 10:45:55 -08:00
John Benediktsson ee294292f6 checksums.murmur: use bits word. 2013-11-24 10:45:46 -08:00
John Benediktsson 627993fc1a checksums.superfast: reuse more code, slightly faster for non-byte-arrays. 2013-11-24 09:58:02 -08:00
John Benediktsson 405e543f92 checksums.superfast: reuse code and make a bit faster. 2013-11-23 18:49:59 -08:00
John Benediktsson 34853bf550 checksums.superfast: make checksum on byte-arrays much faster. 2013-11-22 18:50:59 -08:00
John Benediktsson 055895da3b checksums.murmur: make checksum on byte-arrays much faster. 2013-11-22 18:50:38 -08:00
John Benediktsson 670439ce81 checksums.superfast: implementation of SuperFastHash. 2013-11-22 17:45:41 -08:00
John Benediktsson 3207dac8a0 checksums.murmur: should be unsigned int32. 2013-11-22 17:06:18 -08:00
John Benediktsson 1367ced138 checksums.murmur: implementation of MurmurHash. 2013-11-22 10:34:19 -08:00
John Benediktsson 52498a9f67 checksums.fletcher: adding Fletcher's checksum in 16/32/64-bits. 2013-11-22 09:03:17 -08:00
John Benediktsson 7c9e0f3017 concurrency.combinators: adding parallel-assoc-map. 2013-11-21 14:52:38 -08:00
John Benediktsson 6d9f5c7f00 colors: implement no-op color conversions. 2013-11-20 20:40:08 -08:00
John Benediktsson a634f8c0ff hints: add string specializer to member-eq?. 2013-11-20 16:38:57 -08:00
Björn Lindqvist 27e40ec005 pcre: moved from basis/ to extra/ 2013-11-19 18:13:39 -08:00
Björn Lindqvist 6748bc4bc7 pcre: support for the regexp literal syntax from the regexp vocab 2013-11-19 18:13:39 -08:00
Björn Lindqvist 0c08896981 pcre: fix tc that failed on Windows 2013-11-19 18:13:39 -08:00
Björn Lindqvist a7648bb5a8 pcre: encoding needs to be set to utf8 2013-11-19 18:13:38 -08:00
Björn Lindqvist 8193dc2891 pcre: load dll on windows 2013-11-19 18:13:38 -08:00
Björn Lindqvist 5a67c54486 pcre: correct directory structure to factors expected format 2013-11-19 18:13:38 -08:00
Björn Lindqvist ba8810dac3 pcre: new module pcre.utils for the utility functions which aren't really regexp-related 2013-11-19 18:13:38 -08:00
Björn Lindqvist 80c32e2bc6 pcre: findnext algorithm improved 2013-11-19 18:13:38 -08:00
Björn Lindqvist e40a6cb927 pcre: add matches? and split verbs, now also handles tricky corner cases like zero-length matches 2013-11-19 18:13:38 -08:00
Björn Lindqvist 2dd398b701 pcre: lots of unit tests and a nice interface to the vocab in the findall and matches? words 2013-11-19 18:13:38 -08:00
Björn Lindqvist 152ccf4b27 pcre: split the module into a ffi part and a main part for easier maintanability 2013-11-19 18:13:38 -08:00
Björn Lindqvist ad1e1d8455 pcre: incomplete wrapper for libpcre 2013-11-19 18:13:37 -08:00
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