Commit Graph

11343 Commits (dadff2f062dbb72e66eab24cc6e155b6f56fdff2)

Author SHA1 Message Date
John Benediktsson 77d8475228 gopher: fix gopher urls to include the type character properly. 2016-10-26 16:49:22 -07:00
Björn Lindqvist 4dbc377383 webapps.wee-url: random-url can use random-string 2016-10-26 09:06:19 +02:00
Björn Lindqvist e187d63d3c oauth2: support for renewing the access token using refresh 2016-10-18 11:09:59 +02:00
Björn Lindqvist 1715f84d52 google.gmail: no need for symbol wrapping here 2016-10-18 08:10:00 +02:00
Björn Lindqvist 0fe633848b google.gmail: GMail API support 2016-10-17 13:09:43 +02:00
Björn Lindqvist 08d2c6867d oauth2: vocab for oauth2 protocol 2016-10-17 13:05:18 +02:00
Björn Lindqvist 917d611df5 oauth: let's rename vocab to oauth1
Because there is a competing OAuth 2.0 protocol which is different. So
this rename should reduce confusion.
2016-10-17 08:03:48 +02:00
John Benediktsson d8554ad24e redis.command-writer: adding SWAPDB command.
See: c7a4e694ad
2016-10-14 16:54:32 -07:00
Björn Lindqvist 716bc89c53 webapps.*: make it so the webapps aren't initialized when compiling the vocabs
Because if they are then load-all will error out if you don't have the
needed dlls installed.
2016-10-09 10:24:31 +02:00
Björn Lindqvist 560900275a tools.image-analyzer.gc-info.tests: trying again to fix the test 2016-10-08 16:42:32 +02:00
Björn Lindqvist 402a416ace tools.image-analyzer.gc-info.tests: fix tc so it works on windows 2016-10-08 13:55:44 +02:00
Björn Lindqvist 2b366028bb tools.image-analyzer.gc-info: updating vocab to work with new gc system 2016-10-08 09:52:35 +02:00
John Benediktsson 2628dbc5c9 io.directories.search.windows: merging with io.standard-paths.windows. 2016-10-06 14:57:40 -07:00
Björn Lindqvist d18fbb1678 benchmark: fix benchmark selection so it works like tools.test 2016-09-26 10:35:42 +02:00
Björn Lindqvist e32e45e590 benchmark: make it so you can select benchmarks to run
e.g: ./factor -benchmarks="benchmark.gc1 benchmark.gc2" extra/benchmark/benchmark.factor
2016-09-25 20:47:09 +02:00
John Benediktsson da6ee64786 checksums.process: change docs to use $unchecked-example. 2016-09-20 07:04:59 -07:00
John Benediktsson 73c153fa21 checksums.process: super minor cleanup, simplify trim-head. 2016-09-19 20:20:59 -07:00
Alexander Iljin 082e59d187 checksums.process: in the process-state tuple rename proc slot to process 2016-09-19 20:18:06 -07:00
Alexander Iljin 817338360c checksums.process: reimplement trim-hash and add tests
Use blank? to detect end of hash string.
2016-09-19 20:18:06 -07:00
Alexander Iljin 7bab7c3c67 checksums.process: initial commit 2016-09-19 20:18:06 -07:00
John Benediktsson d0c083c068 jamshred.sound: re-adding bang.wav that went missing awhile back. 2016-09-19 08:16:37 -07:00
Björn Lindqvist f233e2a567 openal.alut: fixing alut so it should throw better error messages 2016-09-14 15:53:29 +02:00
Björn Lindqvist 349f99661d compiler.*: Remove the scrubbing part of the GC maps
Instead of generating GC maps which describe which stack locations that
are uninitialized, we emit ##clear instructions for those locations in
front of ##call-gc instructions. This makes the context root scanning
much simpler because the GC can assume that all stack slots are
initialized. It also removes the compiler.cfg.stacks.vacant pass and
seem to reduce the image size slightly because many fewer GC maps needs
to be emitted.
2016-09-11 20:34:44 +02:00
John Benediktsson 11ec120c2d metar: some fixes for TAF parsing. 2016-09-07 16:04:59 -07:00
John Benediktsson 98be09e8ea metar: whoops, fix taf url. 2016-09-06 18:13:59 -07:00
John Benediktsson 4ab9ef90c3 metar: switching urls from weather.noaa.gov to tgftp.nws.noaa.gov. 2016-09-06 18:11:28 -07:00
Björn Lindqvist 20711a0fd3 Adding escaping to CHAR: " -> CHAR: \"
It is not necessary to escape the " character, but it doesn't hurt and
is necessary for syntax-highlighting (FUEL) to work correctly.
2016-09-04 06:40:43 +02:00
Björn Lindqvist 61bbb9be06 tools.image-analyzer.*: new word for removing the tag bits 2016-09-02 07:51:42 +02:00
Björn Lindqvist cb39da4b31 math.vectors: new word vclamp for clamping vectors 2016-08-22 14:22:26 +02:00
Björn Lindqvist 3d3a930e17 pcre: fix so that version parses "8.36-RC1 2014-04-21" to a number too 2016-08-21 02:20:50 +02:00
Björn Lindqvist 26304112d6 curses.tests: only run the color test if term is color capable 2016-08-20 06:33:15 +02:00
Björn Lindqvist 485a45a719 extra/: ensuring tests have an IN:-line ending with .tests 2016-08-20 06:01:16 +02:00
Björn Lindqvist eb8ce16277 pcre: only include PCRE_UCP on versions >= 8.10 of PCRE
Very old versions of the library doesn't seem to have that option.
2016-08-19 21:09:00 +02:00
Björn Lindqvist 3ea34c667d pcre: new word 'version' for getting the version of the library 2016-08-19 20:50:58 +02:00
Björn Lindqvist 5603e3ff67 pcre.tests: fix tcs that breaks on pcre 8.39 2016-08-19 18:44:32 +02:00
xzenf 4738824fb2 twitter: Changed twitter-url to use >url 2016-08-17 17:54:58 -07:00
John Benediktsson ad989bf48b checksums.crc16: moving to basis from extra. 2016-08-16 16:21:08 -07:00
Alexander Iljin d3051ab8b1 checksums.crc16: new vocabulary 2016-08-16 16:17:11 -07:00
John Benediktsson e3f6999519 etc-hosts: new vocab. 2016-08-14 11:43:20 -07:00
Björn Lindqvist a36c0cb5ac compiler.*: moving all words only relevant for testing to compiler.test 2016-08-12 15:13:51 +02:00
Björn Lindqvist ae85746787 compiler.cfg.gvn.tests: this vocab in extra appears redundant
It is almost identical to the one in compiler.cfg.value-numbering.tests
so I think it can be removed.
2016-08-12 14:14:13 +02:00
Björn Lindqvist ddc5ece757 alien.*: frontend varargs support! #1677
alien-invoke gets an extra parameter indicating if the call uses varargs
or not. In 99.9% of the cases, the parameter should be f, but is t if
varargs are indicated. E.g

: do-printf ( fmt d -- st ) int f "printf" { c-string double } t alien-invoke ;
2016-08-10 21:34:37 +02:00
John Benediktsson ed29fbd93f cuckoo-filters: less duplication in cuckoo-insert. 2016-08-08 19:39:24 -07:00
John Benediktsson c09cfd586c cuckoo-filters: change language to refer to fingerprints. 2016-08-08 17:01:53 -07:00
John Benediktsson eebdf93e45 cuckoo-filters: minor cleanup. 2016-08-08 15:54:58 -07:00
John Benediktsson 0f1f465f42 cuckoo-filters: using alien deref in tag-index. 2016-08-08 15:18:36 -07:00
John Benediktsson ca05d4cefb cuckoo-filters: adding some documentation. 2016-08-08 15:15:08 -07:00
John Benediktsson eba31d687f cuckoo-filters: add tests for lookup each value also. 2016-08-08 14:31:36 -07:00
John Benediktsson 51dcceed34 cuckoo-filters: new vocabulary. 2016-08-08 10:17:00 -07:00
John Benediktsson e5ca25254e bloom-filters: adding summary.txt. 2016-08-08 10:17:00 -07:00
Doug Coleman 40894853b2 forestdb.ffi: update to latest .h files 2016-08-04 18:19:06 -07:00
Björn Lindqvist c1c1a92c8f terminfo: new platforms.txt 2016-08-05 01:07:31 +02:00
John Benediktsson 4387da41d5 tools.cal: adding the "cal" utility.
Example usage:
$ ./factor -run=tools.cal
    August 2016
Su Mo Tu We Th Fr Sa
    1  2  3  4  5  6
 7  8  9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
2016-08-03 11:28:28 -07:00
John Benediktsson d015f028db sequences.extras: adding pad-center. 2016-08-03 11:25:06 -07:00
Björn Lindqvist 48bd0d2b66 ui.tools.*: fix swapped argument order for set-tool-dim 2016-07-30 19:03:23 +02:00
Björn Lindqvist 9a62e1188b terminfo.tests: two sanity tests 2016-07-30 19:03:22 +02:00
Björn Lindqvist e8f03d9e3a terminfo: makes it so terminfo files are looked up from a set of dirs
On Ubuntu, terminfo files are stored in /lib/terminfo, but they can also
be found in any of the other dirs listed in TERMINFO-DIRS.
2016-07-30 19:03:22 +02:00
Alexander Iljin b5b991f9e2 progress-bars.models-docs: fix example code for with-file-reader-progress 2016-07-30 09:25:30 -07:00
Alexander Iljin 2fd5654473 Add EOL at EOF for all authors.txt files for consistency
In some instances replaced CR/LF with LF.
2016-07-30 09:25:30 -07:00
John Benediktsson cca231cef1 project-euler.265: fix bad refactor. 2016-07-12 09:07:10 -07:00
John Benediktsson 46aa1f2088 math.approx: fix typo in docs. 2016-07-11 21:09:11 -07:00
John Benediktsson 8d077a96ad using [ ... ] [ drop ] if* instead of dup [ ... ] [ 2drop ] if. 2016-07-11 21:01:03 -07:00
John Benediktsson 55cf5472a5 using [ ] [ ... ] ?if instead of [ nip ] [ ... ] if*. 2016-07-11 19:50:37 -07:00
John Benediktsson 6b12e2e3bc use ?delete-file instead of [ delete-file ] ignore-errors. 2016-07-10 20:28:46 -07:00
John Benediktsson 58dd52e82e hashcash: quick fix for string argument to checksum-bytes. 2016-06-30 14:50:47 -07:00
Björn Lindqvist fae21b7229 youtube: throw an error if the given youtube video isn't downloadable
well it is, but you have to go through lots of hops to download "secure"
videos
2016-06-23 02:20:25 +02:00
Björn Lindqvist d16e4272b2 space-invaders: calling exit-openal otherwise sound can get stuck when quitting the game 2016-06-17 00:31:47 +02:00
Björn Lindqvist 1df34203e6 24-game: fixing invalid operator input handling in get-operator 2016-06-16 23:41:17 +02:00
Björn Lindqvist eeaffb14b8 24-game: fixing game to use formatting vocab 2016-06-16 23:28:02 +02:00
Björn Lindqvist ea4333e490 io.directories: new utility word make-parent-directories, for making sure directories exists 2016-06-15 00:33:44 +02:00
John Benediktsson 8aadd38071 peg.javascript.tokenizer: rename escape rules slightly. 2016-06-12 06:52:23 -07:00
John Benediktsson e7fa92baac peg.javascript.tokenizer: support hex and unicode escapes. 2016-06-12 06:41:59 -07:00
John Benediktsson 29a2a25954 peg.javascript: add some other escapes since we're doing this. :-) 2016-06-11 15:22:20 -07:00
catb0t 385cf35e7f peg.javascript.tokenizer: allow escaped quotes in strings
Previously, the tokenizer didn't understand
escaped quotes in string literals. Also added was
a test to ensure the escaping works.
2016-06-11 15:17:50 -07:00
Jon Harper 8a34de9626 rosetta-code.image-noise, use status bar for FPS 2016-06-04 07:23:43 -07:00
Jon Harper b3155d980e rosetta-code.image-noise, bring back fps after c7ca226 2016-06-04 15:43:32 +02:00
Doug Coleman 21461a1b75 core: selector-for and collector-for are the wrong naming convention--they should be selector-as and collector-as because they take exemplars.
The exemplar is the starting length of the output sequence in collector-as, so add another collector-for-as that takes a seq that we are making a collector for.
2016-05-26 14:36:11 -07:00
Doug Coleman 88fa8b6bba forestdb.lib: testing in auto-compact mode needs a pair of unique files. 2016-05-23 13:47:25 -07:00
John Benediktsson ff2f58ac4b ui.theme.switching: default font colors. 2016-05-22 07:53:21 -07:00
Doug Coleman 7bd0d51359 forestdb: open normal commit. 2016-05-21 01:30:11 -07:00
Doug Coleman a1914959d3 forestdb: fix using. uncomment some code. 2016-05-20 20:01:15 -07:00
Doug Coleman 936333f1b7 managed-server: add another constructor. 2016-05-20 19:42:16 -07:00
Doug Coleman b66cebfb86 forestdb: update to latest. fix tests to be better. if there's a .meta file (auto-compaction) then the old tests would fail. 2016-05-20 19:42:16 -07:00
Doug Coleman d00e986b3d combinators.extras: fix unit tests. 2016-05-11 14:18:48 -07:00
Doug Coleman 8330256b1d combinators.extras, generalizations:: Add experimental combinators for 1res, 1arg. 2016-05-11 11:53:29 -07:00
Doug Coleman eb84850315 ui.gadgets.lists: Fix using for themes. 2016-05-10 02:35:26 -07:00
John Benediktsson a07b411834 bencode: adding bencoding vocabulary. 2016-05-09 21:38:05 -07:00
Doug Coleman c1d78e87ff stream.extras: add print-flush, write-flush, etc. 2016-05-09 17:18:08 -07:00
Doug Coleman 7f3adf3fb1 sequences.extras: add map-keys, map-values. 2016-05-09 16:28:04 -07:00
Doug Coleman 7ced47a6b1 irc.gitbot: fix command. 2016-05-09 16:07:15 -07:00
Doug Coleman 3f27df6d0a irc.logbot.log-line: print the user prefix. 2016-05-09 15:43:20 -07:00
Doug Coleman d3570f2b22 irc.gitbot: update to be configurable. 2016-05-09 15:09:54 -07:00
Doug Coleman e28328af70 forestdb.ffi: fix struct layout. 2016-05-09 14:58:02 -07:00
Doug Coleman cd89da032d irc: use utf8 instead of latin1. not sure if this is the best idea. 2016-05-09 12:11:44 -07:00
Doug Coleman 449c740b23 client.base: paremeters was getting the channel name instead of the channel>> slot. try to fix it in chat-message. 2016-05-09 11:59:42 -07:00
Doug Coleman 2d5368f4af irc.messages.parser: simplify parser 2016-05-09 11:49:19 -07:00
Doug Coleman 334477d94a websites.concatenative: allow listings for irclogs 2016-05-09 17:45:44 +00:00
Doug Coleman ba83f01ee0 websites.concatenative: add irc logs. 2016-05-08 12:20:59 -07:00
Doug Coleman 652a98e50e irc.logbot: fix up logbot to allow more custom configuration. 2016-05-08 12:20:05 -07:00
Björn Lindqvist 156fcbb48b images.testing.png: adding the image i forgot 2016-05-08 03:19:54 +02:00