]>
gitweb.factorcode.org Git - factor.git/log
John Benediktsson [Tue, 22 Apr 2014 02:03:48 +0000 (19:03 -0700)]
html.parser.util: removing incomplete html escaping.
John Benediktsson [Mon, 21 Apr 2014 23:59:38 +0000 (16:59 -0700)]
html.parser.utils: adding a simple html escape/unescape.
John Benediktsson [Mon, 21 Apr 2014 15:36:52 +0000 (08:36 -0700)]
removing readme.html.
(github makes the markdown version more awesome^H^H^H^H^H^H^Hlikely
to be used.)
Björn Lindqvist [Tue, 6 Aug 2013 11:43:39 +0000 (13:43 +0200)]
FUEL: Customization variable that controls whether fuel-mode is loaded automatically.
Björn Lindqvist [Sat, 20 Jul 2013 09:56:33 +0000 (11:56 +0200)]
FUEL: Load fuel-mode when factor-mode loads.
John Benediktsson [Mon, 21 Apr 2014 15:17:43 +0000 (08:17 -0700)]
calendar: clone timestamps in >gmt and >local-time.
John Benediktsson [Mon, 21 Apr 2014 02:34:22 +0000 (19:34 -0700)]
calendar: M\ timestamp clone should clone gmt-offset.
John Benediktsson [Mon, 21 Apr 2014 02:32:08 +0000 (19:32 -0700)]
calendar.threads: implement M\ timestamp sleep-until.
John Benediktsson [Mon, 21 Apr 2014 02:22:56 +0000 (19:22 -0700)]
calendar.threads: simplify.
John Benediktsson [Sun, 20 Apr 2014 17:02:04 +0000 (10:02 -0700)]
io.sockets: use must-fail-with for resolve-host errors.
John Benediktsson [Sun, 20 Apr 2014 16:30:03 +0000 (09:30 -0700)]
io.sockets: don't need "0 or" for addrinfo.
Björn Lindqvist [Sun, 16 Mar 2014 11:56:48 +0000 (12:56 +0100)]
io.sockets: add word addrinfo-error to signal host lookup failures
If the getaddrinfo call fails, and you want to handle that failure in
a structured way, then you need a designated error type to know what
went wrong.
Björn Lindqvist [Fri, 18 Apr 2014 16:46:12 +0000 (18:46 +0200)]
io.sockets.secure.openssl.tests: more and better SSL_connect tests
Better error handling so it should be easier to see why the tests fail
on the build server (#1036).
Björn Lindqvist [Fri, 18 Apr 2014 16:42:00 +0000 (18:42 +0200)]
io.sockets.secure.openssl: more docs
Björn Lindqvist [Fri, 18 Apr 2014 16:32:59 +0000 (18:32 +0200)]
io.sockets.secure.openssl: big refactoring, all error handling merged into one check-ssl-error word
Björn Lindqvist [Fri, 18 Apr 2014 01:53:42 +0000 (03:53 +0200)]
FUEL: some more chars that often are used in word names
Björn Lindqvist [Fri, 18 Apr 2014 01:32:56 +0000 (03:32 +0200)]
fuel.pprint: . needs to be escpaed to load prettyprint's help page
Björn Lindqvist [Fri, 18 Apr 2014 01:06:34 +0000 (03:06 +0200)]
FUEL: factor-find-in returns correct vocab when point is on the IN:-line
Björn Lindqvist [Fri, 18 Apr 2014 00:47:28 +0000 (02:47 +0200)]
FUEL: improve highlighting of LIBRARY:, HELP: and deprecated
Björn Lindqvist [Fri, 18 Apr 2014 00:37:56 +0000 (02:37 +0200)]
FUEL: fallback to the all-words algorithm when search doesnt work
It's to hard to figure out the correct "in" and "usings" values for
fuel-eval-in-context when *fuel help* is looking at articles. Instead
of trying, fallback on the less precise word lookup algorith and
accept that it sometimes will lead you wrong.
Björn Lindqvist [Thu, 17 Apr 2014 22:12:19 +0000 (00:12 +0200)]
FUEL: Improved handling of documentation markup errors
The fuel-eval--retort-result-safe function can be used to get the
retort result and throw an error if the retort error is
set. E.g. (fuel-help "prettyprint") will now throw an error because
the markup is invalid instead of showing "No help available.."
Björn Lindqvist [Thu, 17 Apr 2014 16:39:10 +0000 (18:39 +0200)]
FUEL: Use font-locks data to figure out if the token point is on is a vocab
If point is on "myvocab" in IN: myvocab fuel-help will now understand
that it is on a vocabulary token.
Björn Lindqvist [Wed, 16 Apr 2014 23:20:11 +0000 (01:20 +0200)]
FUEL: remove fuel-help-short and supporting code
The feature is not used anywhere (not bound to any key) and the normal
fuel-help display works better than fuel-help-short anyway
John Benediktsson [Wed, 16 Apr 2014 14:55:06 +0000 (07:55 -0700)]
add some libc usings for macosx.
Doug Coleman [Wed, 16 Apr 2014 04:59:14 +0000 (21:59 -0700)]
smtp: Use a config object. Fix docs. Fix unit tests.
Doug Coleman [Wed, 16 Apr 2014 02:02:26 +0000 (19:02 -0700)]
mason.test: Allow for a .factor-mason-rc which is loaded by maason.test.
Doug Coleman [Wed, 16 Apr 2014 02:01:43 +0000 (19:01 -0700)]
tools.scaffold: Add word to scaffold a mason rc file.
Doug Coleman [Wed, 16 Apr 2014 01:59:19 +0000 (18:59 -0700)]
imap: Fix docs referring to wrong boot rc file.
John Benediktsson [Tue, 15 Apr 2014 20:35:59 +0000 (13:35 -0700)]
vocabs.files: change vocab-tests example to sort output.
John Benediktsson [Tue, 15 Apr 2014 20:35:35 +0000 (13:35 -0700)]
io: change with-output-stream* example to unchecked.
John Benediktsson [Tue, 15 Apr 2014 17:48:49 +0000 (10:48 -0700)]
help.lint.checks: remove leaks check for now due to bootstrap issues.
Björn Lindqvist [Sun, 13 Apr 2014 23:26:43 +0000 (01:26 +0200)]
Docs: fixed doc example errors triggered by help-lint and added with-disposal where applicable
Björn Lindqvist [Thu, 10 Apr 2014 16:45:34 +0000 (18:45 +0200)]
Docs: more matrix-related documentation
Björn Lindqvist [Wed, 9 Apr 2014 19:21:32 +0000 (21:21 +0200)]
Docs: source-files.errors
Björn Lindqvist [Wed, 9 Apr 2014 15:36:51 +0000 (17:36 +0200)]
Docs: doc and examples for math.matrices
Björn Lindqvist [Sat, 29 Mar 2014 10:10:01 +0000 (11:10 +0100)]
Docs: examples for io.launcher words
Björn Lindqvist [Mon, 6 Jan 2014 07:33:50 +0000 (08:33 +0100)]
Docs: examples for vocab-files and vocab-tests
Björn Lindqvist [Mon, 18 Nov 2013 16:13:51 +0000 (17:13 +0100)]
Docs: example for head? and subwords
Björn Lindqvist [Tue, 15 Oct 2013 11:27:49 +0000 (13:27 +0200)]
Docs: a few more examples for words that were missing them
Björn Lindqvist [Thu, 12 Sep 2013 13:46:01 +0000 (15:46 +0200)]
io.sockets: example for the with-socket function
Björn Lindqvist [Tue, 10 Sep 2013 11:51:54 +0000 (13:51 +0200)]
io.sockets: example for resolve-host
Björn Lindqvist [Mon, 9 Sep 2013 14:05:17 +0000 (16:05 +0200)]
urls.tests: unit tests for url-addr
Björn Lindqvist [Mon, 9 Sep 2013 13:41:26 +0000 (15:41 +0200)]
urls: example for secure url-addr
Björn Lindqvist [Sun, 11 Aug 2013 22:26:06 +0000 (00:26 +0200)]
io: with-output-stream* example
Björn Lindqvist [Mon, 14 Apr 2014 12:49:34 +0000 (14:49 +0200)]
FUEL: fix factor-find-usings and use it in fuel-help--word-help so that fuel can eval code with the right vocabs imported
Björn Lindqvist [Sun, 13 Apr 2014 14:34:47 +0000 (16:34 +0200)]
FUEL: correct fuel-helps word lookup algorithm
e.g if you lookup help for pop you should see the help page for
sequences:pop not persistent.deques.private:pop
Björn Lindqvist [Mon, 14 Apr 2014 00:02:26 +0000 (02:02 +0200)]
help.lint.checks: check for disposable leaks and print more details when $values are wrong
Doug Coleman [Tue, 8 Apr 2014 19:08:58 +0000 (12:08 -0700)]
io.sockets.secure.openssl: Check error code in unit test.
Doug Coleman [Sat, 5 Apr 2014 22:51:41 +0000 (15:51 -0700)]
imap: Add some combinators, fix up some docs, add docs, fix up unit tests.
John Benediktsson [Fri, 4 Apr 2014 16:29:42 +0000 (09:29 -0700)]
libc: fix tests using.
John Benediktsson [Fri, 4 Apr 2014 16:28:39 +0000 (09:28 -0700)]
libc: test "1 strerror" since zero gives different output on different platforms.
John Benediktsson [Fri, 4 Apr 2014 15:03:46 +0000 (08:03 -0700)]
more libc fixes.
John Benediktsson [Fri, 4 Apr 2014 04:43:37 +0000 (21:43 -0700)]
io: need to use libc for OS X?
Doug Coleman [Thu, 3 Apr 2014 04:11:52 +0000 (23:11 -0500)]
io.sockets.secure.openssl: Fix using list.
Björn Lindqvist [Thu, 27 Mar 2014 18:38:08 +0000 (19:38 +0100)]
io.sockets.windows: wrap ioctlsocket and related constants to enable
setting sockets in non-blocking mode
Björn Lindqvist [Thu, 27 Mar 2014 17:47:18 +0000 (18:47 +0100)]
windows.winsock: fix the definition of SOCKET_ERROR and unit tests that
verifies its correctness
Björn Lindqvist [Thu, 27 Mar 2014 17:31:20 +0000 (18:31 +0100)]
windows.winsock: use the windows api types instead of int and void*
where applicable
Björn Lindqvist [Wed, 2 Apr 2014 15:44:19 +0000 (17:44 +0200)]
Merge:
io.sockets.secure.windows: use non-blocking sockets to prevent
SSL_connect from blocking
On Windows, SSL_connect may hang forever if the server doesn't send any
data. To counteract that we temporarily set the socket non-blocking and
then call select in the wait-for-fd method.
Conflicts:
basis/io/sockets/secure/openssl/openssl-tests.factor
Björn Lindqvist [Sat, 29 Mar 2014 19:11:53 +0000 (20:11 +0100)]
io.sockets.secure.openssl: do-ssl-connect needs to call wait-for-fd
Björn Lindqvist [Wed, 23 Oct 2013 13:45:45 +0000 (15:45 +0200)]
libc: fix vocab definition of platform dependent parts of libc
Björn Lindqvist [Tue, 22 Oct 2013 17:03:40 +0000 (19:03 +0200)]
libc.*: add platform files
Björn Lindqvist [Mon, 21 Oct 2013 20:58:33 +0000 (22:58 +0200)]
libc: several vocabs now need to depend on libc
Björn Lindqvist [Mon, 21 Oct 2013 16:27:29 +0000 (18:27 +0200)]
io.files: make wait-for-fd generic and dispatch depending on backend
do-ssl-accept need to call wait-for-fd so it needs to be generic. On
windows it's a noop but on unix it will wait for the fd.
Björn Lindqvist [Thu, 17 Oct 2013 16:14:50 +0000 (18:14 +0200)]
io.sockets.secure.*: unification of lots of platform-independent code
Code that is duplicated in the backends moved to
io.sockets.secure.openssl. The wait-for-fd verb used by do-ssl-accept
doesn't have any equivalent on Windows so that needs to be
implemented.
Björn Lindqvist [Thu, 17 Oct 2013 15:05:26 +0000 (17:05 +0200)]
libc.*, unix.*: move constants and functions from the unix namespace to libc
The E* errno and SIG* constants are defined on Windows too, so they
should be in the libc vocab which is available there. They will be
used for SSL error handling.
Björn Lindqvist [Wed, 16 Oct 2013 15:34:31 +0000 (17:34 +0200)]
io.sockets.secure.windows: reading and writing from ssl sockets
Unified the drain and refill generics and put their definition in
io.files. They are now used by both the windows and unix ssl backend
for io. Windows ssl kind of works now, but the error cases are not
implemented correctly.
Björn Lindqvist [Wed, 16 Oct 2013 12:11:31 +0000 (14:11 +0200)]
io.files.windows: new generic words drain and refill, like in io.backend.unix
The purpose of these words is to abstract out the pushing of the bytes
to the ports so that you can insert the ssl layer in between. Exactly
like how drain and refill are specialized on ssl-handle in
io.sockets.secure.unix.
Björn Lindqvist [Mon, 14 Oct 2013 12:45:33 +0000 (14:45 +0200)]
io.sockets.secure: new hook variable ssl-certificate-verification-supported?
t if the backend is able to verify certificates, f
otherwise. Currently certificate validation isn't implemented on Windows
John Benediktsson [Fri, 14 Mar 2014 22:10:19 +0000 (15:10 -0700)]
images.testing: fix help-lint warnings.
John Benediktsson [Fri, 14 Mar 2014 16:17:13 +0000 (09:17 -0700)]
images.loader: simplify registrations.
John Benediktsson [Fri, 14 Mar 2014 15:26:05 +0000 (08:26 -0700)]
images: minor cleanup.
John Benediktsson [Fri, 14 Mar 2014 15:00:42 +0000 (08:00 -0700)]
images.testing: change tests to require and use image-class.
This handles the case where you are testing image-classes that are not
registered with the images.loader.
John Benediktsson [Fri, 14 Mar 2014 14:31:27 +0000 (07:31 -0700)]
images.loader: optionally register "non-system" image classes.
John Benediktsson [Fri, 14 Mar 2014 14:30:35 +0000 (07:30 -0700)]
Revert "extra.images: call register-image-class before testing, otherwise the wrong backend might be ran"
This reverts commit
775ca10e1e7330a2a56a10b972a2605a39d1f6e1 .
Björn Lindqvist [Sun, 9 Mar 2014 12:09:17 +0000 (13:09 +0100)]
extra.images: call register-image-class before testing, otherwise the wrong backend might be ran
Björn Lindqvist [Sun, 9 Mar 2014 12:08:23 +0000 (13:08 +0100)]
images.*: fix all image>stream words in extra so that they work with the added parameter
Björn Lindqvist [Sat, 8 Mar 2014 12:41:07 +0000 (13:41 +0100)]
images.loader: docs for save-graphic-image
Björn Lindqvist [Fri, 7 Mar 2014 22:42:51 +0000 (23:42 +0100)]
images.loader: support for saving images on the gtk-image backend
John Benediktsson [Thu, 13 Mar 2014 19:26:35 +0000 (12:26 -0700)]
http.client: add starred versions that do not check response code for success.
Doug Coleman [Thu, 13 Mar 2014 08:24:28 +0000 (03:24 -0500)]
imap: Better errors when not configured.
Doug Coleman [Thu, 13 Mar 2014 08:23:27 +0000 (03:23 -0500)]
oauth: Fix tests. Twitter API tolerates the extra ``/`` at the end of ``twitter.com``, so leave it in.
John Benediktsson [Thu, 13 Mar 2014 03:08:15 +0000 (20:08 -0700)]
fix some help-lint errors.
John Benediktsson [Thu, 13 Mar 2014 03:01:11 +0000 (20:01 -0700)]
python.syntax: fix tests when run first.
John Benediktsson [Thu, 13 Mar 2014 02:51:50 +0000 (19:51 -0700)]
http.client: fix duplicate using.
John Benediktsson [Thu, 13 Mar 2014 02:49:58 +0000 (19:49 -0700)]
http.client: few more fixes.
John Benediktsson [Thu, 13 Mar 2014 02:38:58 +0000 (19:38 -0700)]
http.client: remove unused word.
John Benediktsson [Thu, 13 Mar 2014 02:29:35 +0000 (19:29 -0700)]
http.client: remove http-get* and its friends, change http-request* and with-http-request* to not check response codes.
Doug Coleman [Wed, 12 Mar 2014 20:28:32 +0000 (20:28 +0000)]
gdbm.ffi: Use alien library finder except on Windows until we can test if it works there.
John Benediktsson [Wed, 12 Mar 2014 19:51:32 +0000 (12:51 -0700)]
sequences: faster interleave.
John Benediktsson [Wed, 12 Mar 2014 19:41:57 +0000 (12:41 -0700)]
logging.server: add support for changing the logging root temporarily.
John Benediktsson [Wed, 12 Mar 2014 14:43:40 +0000 (07:43 -0700)]
oauth needs this, and this needed protocol-port fixes.
Revert "Revert "urls: Allow URLs of the form //foo.com, which take on the protocol of the URL they derive from.""
This reverts commit
76fa8b7a29f3738f44230c473b7edf841f1de7c3 .
John Benediktsson [Wed, 12 Mar 2014 14:24:40 +0000 (07:24 -0700)]
io.sockets: change protocol-port to handle ``f`` on all platforms.
John Benediktsson [Wed, 12 Mar 2014 14:18:12 +0000 (07:18 -0700)]
Revert "sequences: require integers for slice and repetition."
This reverts commit
5e87cdb3a9b5885c6648ffaf6e5e9a2edc5fd200 .
John Benediktsson [Wed, 12 Mar 2014 14:16:05 +0000 (07:16 -0700)]
python.syntax: fix py-import.
Doug Coleman [Wed, 12 Mar 2014 05:58:04 +0000 (00:58 -0500)]
Leave oauth alone. Leave her alone!!!
Revert "Revert "oauth: Generate the oauth signature base string the way twitter does it.""
This reverts commit
288156beb6bd09e4d00de03d0be6d41acbd30419 .
John Benediktsson [Wed, 12 Mar 2014 03:47:08 +0000 (20:47 -0700)]
Revert "oauth: Generate the oauth signature base string the way twitter does it."
This reverts commit
e633caac716d58e7f94bf29b171e096df1c7b395 .
John Benediktsson [Wed, 12 Mar 2014 03:20:23 +0000 (20:20 -0700)]
Revert "urls: Allow URLs of the form //foo.com, which take on the protocol of the URL they derive from."
This reverts commit
e6598fc22fd91309288fbe9840f7872d8fd84438 .
Doug Coleman [Wed, 12 Mar 2014 02:20:34 +0000 (21:20 -0500)]
tools.coverage: Add a ``test-coverage-recursively`` word. Not all vocabs can be tested for unit test coverage, so don't make this the default. Fixes #1013.
John Benediktsson [Tue, 11 Mar 2014 18:37:00 +0000 (11:37 -0700)]
io.standard-paths.unix: fix tests on arch linux.
John Benediktsson [Tue, 11 Mar 2014 18:27:50 +0000 (11:27 -0700)]
io.streams.byte-array: some cleanup.