]> gitweb.factorcode.org Git - factor.git/log
factor.git
7 years agoupdate Nmakefile to properly delete vm\factor.res.
John Benediktsson [Thu, 10 Nov 2016 04:24:49 +0000 (20:24 -0800)]
update Nmakefile to properly delete vm\factor.res.

7 years agovocabs.cache: reset-cache only when vocabs forgotten, not created.
John Benediktsson [Thu, 10 Nov 2016 00:50:14 +0000 (16:50 -0800)]
vocabs.cache: reset-cache only when vocabs forgotten, not created.

7 years agovocabs: in create-vocab, notify-vocab-observers after updating dictionary.
John Benediktsson [Thu, 10 Nov 2016 00:38:27 +0000 (16:38 -0800)]
vocabs: in create-vocab, notify-vocab-observers after updating dictionary.

7 years agoio.files.temp.unix: fix cache to be ~/.cache/factor.
John Benediktsson [Thu, 10 Nov 2016 00:28:49 +0000 (16:28 -0800)]
io.files.temp.unix: fix cache to be ~/.cache/factor.

7 years agoRevert "alien.parser: throw error if enum values don't fit c-type."
John Benediktsson [Wed, 9 Nov 2016 23:41:54 +0000 (15:41 -0800)]
Revert "alien.parser: throw error if enum values don't fit c-type."

This reverts commit 2e326498a4ceca3eb6290dd969bc99d56777a526.

7 years agoui.tools.operations: making "See" an operation on words.
John Benediktsson [Wed, 9 Nov 2016 23:39:59 +0000 (15:39 -0800)]
ui.tools.operations: making "See" an operation on words.

7 years agoio.buffers: refactor buffer-read-until to use buffer-find.
John Benediktsson [Wed, 9 Nov 2016 18:43:47 +0000 (10:43 -0800)]
io.buffers: refactor buffer-read-until to use buffer-find.

7 years agoio.buffers: adding another test of buffer-read-until.
John Benediktsson [Wed, 9 Nov 2016 18:11:51 +0000 (10:11 -0800)]
io.buffers: adding another test of buffer-read-until.

7 years agoio.pipes: allow "|" separated strings in run-pipeline.
John Benediktsson [Wed, 9 Nov 2016 17:56:34 +0000 (09:56 -0800)]
io.pipes: allow "|" separated strings in run-pipeline.

7 years agoalien.parser: throw error if enum values don't fit c-type.
John Benediktsson [Wed, 9 Nov 2016 05:45:54 +0000 (21:45 -0800)]
alien.parser: throw error if enum values don't fit c-type.

7 years agoio.files.temp.unix: allowing TMPDIR to override /tmp.
John Benediktsson [Wed, 9 Nov 2016 05:37:51 +0000 (21:37 -0800)]
io.files.temp.unix: allowing TMPDIR to override /tmp.

7 years agoio.files.temp.unix: changing cache directory to use XDG spec.
John Benediktsson [Wed, 9 Nov 2016 05:24:34 +0000 (21:24 -0800)]
io.files.temp.unix: changing cache directory to use XDG spec.

Typically this means ~/.cache/factor.

7 years agoxdg: moving from extra/ to basis/.
John Benediktsson [Wed, 9 Nov 2016 05:23:22 +0000 (21:23 -0800)]
xdg: moving from extra/ to basis/.

7 years agobyte-arrays.hex: removing HEX{ ab cd ef } in favor of B{ 0xab 0xcd 0xef }.
John Benediktsson [Wed, 9 Nov 2016 05:10:58 +0000 (21:10 -0800)]
byte-arrays.hex: removing HEX{ ab cd ef } in favor of B{ 0xab 0xcd 0xef }.

7 years agoio.launcher: fix timeouts for process streams.
John Benediktsson [Wed, 9 Nov 2016 04:57:26 +0000 (20:57 -0800)]
io.launcher: fix timeouts for process streams.

7 years agoRevert "VM: undoing 0274e889b94323fdde6919a77c494ffcfbcb2166 (#1513)"
Björn Lindqvist [Wed, 9 Nov 2016 01:07:56 +0000 (02:07 +0100)]
Revert "VM: undoing 0274e889b94323fdde6919a77c494ffcfbcb2166 (#1513)"

This reverts commit a4802aba68d42186e55985e14bf41caeef6e0008.

7 years agoui.theme: change deprecated background color also.
John Benediktsson [Wed, 9 Nov 2016 00:05:26 +0000 (16:05 -0800)]
ui.theme: change deprecated background color also.

7 years agoui.theme: make warning background color a light shade of red.
John Benediktsson [Tue, 8 Nov 2016 23:48:40 +0000 (15:48 -0800)]
ui.theme: make warning background color a light shade of red.

7 years agoprogress-bars.models: rename <file-progress-display> to <progress-display>.
John Benediktsson [Tue, 8 Nov 2016 22:14:15 +0000 (14:14 -0800)]
progress-bars.models: rename <file-progress-display> to <progress-display>.

7 years agoprogress-bars.models: fix typo in docs.
John Benediktsson [Tue, 8 Nov 2016 22:11:53 +0000 (14:11 -0800)]
progress-bars.models: fix typo in docs.

7 years agodb.sqlite: use temporary test.db for tests.
John Benediktsson [Tue, 8 Nov 2016 17:32:45 +0000 (09:32 -0800)]
db.sqlite: use temporary test.db for tests.

7 years agoVM: undoing 0274e889b94323fdde6919a77c494ffcfbcb2166 (#1513)
Björn Lindqvist [Tue, 8 Nov 2016 12:37:52 +0000 (13:37 +0100)]
VM: undoing 0274e889b94323fdde6919a77c494ffcfbcb2166 (#1513)

7 years agoRevert "VM: undoing 22bb0cfecfc5c09953b613e3ad01d2a713585ea7 (#1513)"
Björn Lindqvist [Mon, 7 Nov 2016 22:43:50 +0000 (23:43 +0100)]
Revert "VM: undoing 22bb0cfecfc5c09953b613e3ad01d2a713585ea7 (#1513)"

This reverts commit e9c72baf2ec08cf510a53c25ce65602fcda82222.

7 years agoVM: undoing 22bb0cfecfc5c09953b613e3ad01d2a713585ea7 (#1513)
Björn Lindqvist [Mon, 7 Nov 2016 13:18:10 +0000 (14:18 +0100)]
VM: undoing 22bb0cfecfc5c09953b613e3ad01d2a713585ea7 (#1513)

7 years agowebsites.factorcode: fix image-path example.
John Benediktsson [Sun, 6 Nov 2016 20:08:58 +0000 (12:08 -0800)]
websites.factorcode: fix image-path example.

7 years agocompiler.tree.propagation.recursive: redoing
Björn Lindqvist [Sun, 6 Nov 2016 18:08:35 +0000 (19:08 +0100)]
compiler.tree.propagation.recursive: redoing
097b40ce4107e824acd83fdf1c024596e692f7d0 (#1513)

7 years agogopher: use url encoding and decoding to work with weird filenames.
John Benediktsson [Wed, 2 Nov 2016 18:11:53 +0000 (11:11 -0700)]
gopher: use url encoding and decoding to work with weird filenames.

7 years agoui.tools.listener: make all call-listener use with-ctrl-break.
John Benediktsson [Wed, 2 Nov 2016 18:04:52 +0000 (11:04 -0700)]
ui.tools.listener: make all call-listener use with-ctrl-break.

7 years agoui.gadgets.scrollers: minor cleanup using if*.
John Benediktsson [Wed, 2 Nov 2016 18:00:23 +0000 (11:00 -0700)]
ui.gadgets.scrollers: minor cleanup using if*.

7 years agocombinators.tuple-docs: add example code for make-tuple
Alexander Iljin [Tue, 1 Nov 2016 22:56:18 +0000 (01:56 +0300)]
combinators.tuple-docs: add example code for make-tuple

7 years agoTag the spotlight vocab with the "macosx" platform
Alexander Iljin [Tue, 1 Nov 2016 22:32:59 +0000 (01:32 +0300)]
Tag the spotlight vocab with the "macosx" platform

7 years agocombinators.tuple-docs: fix wording
Alexander Iljin [Tue, 1 Nov 2016 21:54:10 +0000 (00:54 +0300)]
combinators.tuple-docs: fix wording

7 years agothreads-docs: add a comment to the spawn article
Alexander Iljin [Tue, 1 Nov 2016 18:51:37 +0000 (21:51 +0300)]
threads-docs: add a comment to the spawn article

7 years agothreads-docs: drop the spawned thread in the example code
Alexander Iljin [Tue, 1 Nov 2016 18:45:50 +0000 (21:45 +0300)]
threads-docs: drop the spawned thread in the example code

7 years agoimages.testing-docs: decapitalize "listener" for consistency
Alexander Iljin [Tue, 1 Nov 2016 17:34:34 +0000 (20:34 +0300)]
images.testing-docs: decapitalize "listener" for consistency

This was the only document that had "Listener" starting with capital "L".

7 years agolistener-docs: fix wording
Alexander Iljin [Tue, 1 Nov 2016 17:35:10 +0000 (20:35 +0300)]
listener-docs: fix wording

7 years agoRevert "alien.strings: change how string>{cpu,os} works."
John Benediktsson [Wed, 2 Nov 2016 14:34:38 +0000 (07:34 -0700)]
Revert "alien.strings: change how string>{cpu,os} works."

This reverts commit 84fe3deff8e2b454c3dc936515597c1335590ea4.

Probably doesn't work with deployed images that have stripped
word names, where name>> would return f.

7 years agoalien.strings: change how string>{cpu,os} works.
John Benediktsson [Wed, 2 Nov 2016 03:21:12 +0000 (20:21 -0700)]
alien.strings: change how string>{cpu,os} works.

7 years agovm: change where we set safepoints_fep to false to allow old Ctrl-C behavior.
John Benediktsson [Wed, 2 Nov 2016 02:21:47 +0000 (19:21 -0700)]
vm: change where we set safepoints_fep to false to allow old Ctrl-C behavior.

7 years agolistener: minor formatting.
John Benediktsson [Wed, 2 Nov 2016 02:21:36 +0000 (19:21 -0700)]
listener: minor formatting.

7 years agosystem: adding new primitives.
John Benediktsson [Wed, 2 Nov 2016 00:16:11 +0000 (17:16 -0700)]
system: adding new primitives.

7 years agolistener-docs: document the Ctrl-Break handler support
Alexander Iljin [Tue, 1 Nov 2016 21:12:10 +0000 (00:12 +0300)]
listener-docs: document the Ctrl-Break handler support

7 years agosystem-docs: add article on Ctrl-Break handler
Alexander Iljin [Tue, 1 Nov 2016 20:12:35 +0000 (23:12 +0300)]
system-docs: add article on Ctrl-Break handler

7 years agolistener: don't activate the ctrl-break handler by default
Alexander Iljin [Wed, 24 Aug 2016 00:27:07 +0000 (03:27 +0300)]
listener: don't activate the ctrl-break handler by default

To activate the ctrl-break handler, add the following code to your
.factor-rc:
USING: listener namespaces ; t handle-ctrl-break set-global

7 years agoui.tools.listener-docs: add TIP: about the Ctrl-Break feature
Alexander Iljin [Mon, 20 Jun 2016 23:23:34 +0000 (02:23 +0300)]
ui.tools.listener-docs: add TIP: about the Ctrl-Break feature

7 years agoui.tools: make refresh-all command interruptible with Ctrl-Break
Alexander Iljin [Thu, 16 Jun 2016 09:33:49 +0000 (12:33 +0300)]
ui.tools: make refresh-all command interruptible with Ctrl-Break

7 years agolistener: allow ctrl-break to interrupt user code parsing
Alexander Iljin [Mon, 30 May 2016 22:26:48 +0000 (01:26 +0300)]
listener: allow ctrl-break to interrupt user code parsing

This makes it possible to trap infinite loops in the vocab loading process.

7 years agolistener: enable ctrl-break interruption only while user code is running
Alexander Iljin [Mon, 30 May 2016 21:58:13 +0000 (00:58 +0300)]
listener: enable ctrl-break interruption only while user code is running

7 years agoVM: add enable-ctrl-break and disable-ctrl-break primitives
Alexander Iljin [Wed, 15 Jun 2016 14:12:13 +0000 (17:12 +0300)]
VM: add enable-ctrl-break and disable-ctrl-break primitives

These are for the Listener to wrap around user-supplied quotations. Nesting
is not supported at the moment.

7 years agoVM: implement a ctrl-break handler thread (#1573)
Alexander Iljin [Wed, 15 Jun 2016 13:19:52 +0000 (16:19 +0300)]
VM: implement a ctrl-break handler thread (#1573)

7 years agotools.deploy.backend: removing empty description.
John Benediktsson [Tue, 1 Nov 2016 15:25:43 +0000 (08:25 -0700)]
tools.deploy.backend: removing empty description.

7 years agoVM: factor_vm::compile_inline_cache() can be removed
Björn Lindqvist [Mon, 31 Oct 2016 15:16:42 +0000 (16:16 +0100)]
VM: factor_vm::compile_inline_cache() can be removed

7 years agoVM: code_block::optimized_p() method isn't needed
Björn Lindqvist [Mon, 31 Oct 2016 13:18:15 +0000 (14:18 +0100)]
VM: code_block::optimized_p() method isn't needed

7 years agoDocs: bunch of random doc updates
Björn Lindqvist [Mon, 31 Oct 2016 10:46:39 +0000 (11:46 +0100)]
Docs: bunch of random doc updates

7 years agocompiler.tree.propagation.recursive: undoing 097b40ce4107e824acd83fdf1c024596e692f7d0...
Björn Lindqvist [Mon, 31 Oct 2016 10:27:05 +0000 (11:27 +0100)]
compiler.tree.propagation.recursive: undoing 097b40ce4107e824acd83fdf1c024596e692f7d0 (#1513)

7 years agocompiler.tree.propagation.info: redoing a3be724f5a149cde60d8d6fd8e89723b35569a5f...
Björn Lindqvist [Mon, 31 Oct 2016 06:29:00 +0000 (07:29 +0100)]
compiler.tree.propagation.info: redoing a3be724f5a149cde60d8d6fd8e89723b35569a5f (#1513)

7 years agoio.launcher.unix: better to use current-directory variable
Björn Lindqvist [Sun, 30 Oct 2016 20:23:23 +0000 (21:23 +0100)]
io.launcher.unix: better to use current-directory variable

7 years agoodbc: add self to copyright and authors file
Alexander Iljin [Sun, 30 Oct 2016 21:23:32 +0000 (00:23 +0300)]
odbc: add self to copyright and authors file

7 years agoodbc: use cleanup in odbc-query to prevent resource leaks on errors
Alexander Iljin [Sun, 30 Oct 2016 21:16:18 +0000 (00:16 +0300)]
odbc: use cleanup in odbc-query to prevent resource leaks on errors

7 years agoodbc: align parameters in odbc-describe-column
Alexander Iljin [Sun, 30 Oct 2016 20:52:43 +0000 (23:52 +0300)]
odbc: align parameters in odbc-describe-column

7 years agoodbc: fix odbc-get-row-fields by using iota on the number of columns
Alexander Iljin [Sun, 30 Oct 2016 20:51:49 +0000 (23:51 +0300)]
odbc: fix odbc-get-row-fields by using iota on the number of columns

7 years agoodbc: convert string to alien in odbc-prepare
Alexander Iljin [Sun, 30 Oct 2016 20:49:46 +0000 (23:49 +0300)]
odbc: convert string to alien in odbc-prepare

7 years agoodbc: align cases in convert-sql-type
Alexander Iljin [Sun, 30 Oct 2016 10:14:22 +0000 (13:14 +0300)]
odbc: align cases in convert-sql-type

7 years agoodbc: compact the declaration of symbols
Alexander Iljin [Sun, 30 Oct 2016 10:12:08 +0000 (13:12 +0300)]
odbc: compact the declaration of symbols

7 years agoodbc: use CONSTANT: to define constants
Alexander Iljin [Sun, 30 Oct 2016 10:11:21 +0000 (13:11 +0300)]
odbc: use CONSTANT: to define constants

7 years agoodbc: move from unmaintained to extra
Alexander Iljin [Sat, 29 Oct 2016 23:03:15 +0000 (02:03 +0300)]
odbc: move from unmaintained to extra

7 years agoodbc: convert DSN string to alien before use in odbc-connect
Alexander Iljin [Sat, 29 Oct 2016 22:52:29 +0000 (01:52 +0300)]
odbc: convert DSN string to alien before use in odbc-connect

7 years agoodbc, odbc-docs: fix indentation, remove trailing whitespace
Alexander Iljin [Sat, 29 Oct 2016 21:43:22 +0000 (00:43 +0300)]
odbc, odbc-docs: fix indentation, remove trailing whitespace

7 years agoodbc: factor some common code into a private word
Alexander Iljin [Sat, 29 Oct 2016 22:08:21 +0000 (01:08 +0300)]
odbc: factor some common code into a private word

7 years agoodbc: cleanup USING:, resolve ambiguity with "float" and "short"
Alexander Iljin [Sat, 29 Oct 2016 21:19:47 +0000 (00:19 +0300)]
odbc: cleanup USING:, resolve ambiguity with "float" and "short"

7 years agoodbc: replace "1+" with "1 +"
Alexander Iljin [Sat, 29 Oct 2016 21:05:16 +0000 (00:05 +0300)]
odbc: replace "1+" with "1 +"

7 years agoodbc: replace >r/>r with dip and locals
Alexander Iljin [Sat, 29 Oct 2016 21:02:29 +0000 (00:02 +0300)]
odbc: replace >r/>r with dip and locals

7 years agoodbc: fix referencing and dereferencing the aliens
Alexander Iljin [Sat, 29 Oct 2016 18:42:41 +0000 (21:42 +0300)]
odbc: fix referencing and dereferencing the aliens

7 years agoodbc: fix CHAR: usage
Alexander Iljin [Sat, 29 Oct 2016 18:36:33 +0000 (21:36 +0300)]
odbc: fix CHAR: usage

7 years agoodbc: remove semicolons from the end of FUNCTION: declarations
Alexander Iljin [Sat, 29 Oct 2016 18:33:17 +0000 (21:33 +0300)]
odbc: remove semicolons from the end of FUNCTION: declarations

7 years agoodbc: fix TYPEDEF:s
Alexander Iljin [Sat, 29 Oct 2016 21:04:08 +0000 (00:04 +0300)]
odbc: fix TYPEDEF:s

7 years agosnake-game.*: fix name in the copyright
Alexander Iljin [Sun, 30 Oct 2016 22:16:13 +0000 (01:16 +0300)]
snake-game.*: fix name in the copyright

7 years agoodbc-docs: fix a typo
Alexander Iljin [Sat, 29 Oct 2016 18:32:27 +0000 (21:32 +0300)]
odbc-docs: fix a typo

7 years agocompiler.cfg.stacks-docs: fix a typo
Alexander Iljin [Sat, 29 Oct 2016 19:19:42 +0000 (22:19 +0300)]
compiler.cfg.stacks-docs: fix a typo

7 years agocompiler.tree.debugger-docs: fix a typo
Alexander Iljin [Sat, 29 Oct 2016 18:09:31 +0000 (21:09 +0300)]
compiler.tree.debugger-docs: fix a typo

7 years agoio.directories.search-docs: fix indentation
Alexander Iljin [Sat, 29 Oct 2016 17:25:12 +0000 (20:25 +0300)]
io.directories.search-docs: fix indentation

7 years agocompiler.tree.propagation.info: undid a3be724f5a149cde60d8d6fd8e89723b35569a5f to...
Björn Lindqvist [Sun, 30 Oct 2016 18:00:38 +0000 (19:00 +0100)]
compiler.tree.propagation.info: undid a3be724f5a149cde60d8d6fd8e89723b35569a5f to see if it solves #1513

7 years agogopher.server: sillyness.
John Benediktsson [Fri, 28 Oct 2016 22:18:06 +0000 (15:18 -0700)]
gopher.server: sillyness.

7 years agosequences-docs: fix wording
Alexander Iljin [Mon, 24 Oct 2016 21:53:12 +0000 (00:53 +0300)]
sequences-docs: fix wording

7 years agopeg.ebnf-docs: add note on including "-" in the character classes
Alexander Iljin [Fri, 30 Sep 2016 15:54:17 +0000 (18:54 +0300)]
peg.ebnf-docs: add note on including "-" in the character classes

7 years agodocs: typos: occurence -> occurrence
Jon Harper [Fri, 28 Oct 2016 10:11:43 +0000 (12:11 +0200)]
docs: typos: occurence -> occurrence

Didn't fix the one at extra/webapps/fjsc/www/termlib/readme.txt
because it's from upstream

7 years agogopher-ui: move to gopher.ui.
John Benediktsson [Thu, 27 Oct 2016 16:52:17 +0000 (09:52 -0700)]
gopher-ui: move to gopher.ui.

7 years agogopher.server: fix length of ".." link.
John Benediktsson [Thu, 27 Oct 2016 16:32:16 +0000 (09:32 -0700)]
gopher.server: fix length of ".." link.

7 years agoAdd cp437 8-bit encoding, AKA IBM437
Alexander Iljin [Thu, 27 Oct 2016 09:48:23 +0000 (12:48 +0300)]
Add cp437 8-bit encoding, AKA IBM437

7 years agovm: fix missing CAPS enum.
John Benediktsson [Thu, 27 Oct 2016 02:52:18 +0000 (19:52 -0700)]
vm: fix missing CAPS enum.

7 years agogopher: some aesthetics.
John Benediktsson [Thu, 27 Oct 2016 02:50:00 +0000 (19:50 -0700)]
gopher: some aesthetics.

7 years agogopher.server: adding a Gopher server.
John Benediktsson [Wed, 26 Oct 2016 23:47:00 +0000 (16:47 -0700)]
gopher.server: adding a Gopher server.

7 years agogopher: adding generic image support.
John Benediktsson [Wed, 26 Oct 2016 23:37:27 +0000 (16:37 -0700)]
gopher: adding generic image support.

7 years agogopher-ui: better looking toolbars.
John Benediktsson [Wed, 26 Oct 2016 22:42:44 +0000 (15:42 -0700)]
gopher-ui: better looking toolbars.

7 years agogopher: fix gopher urls to include the type character properly.
John Benediktsson [Wed, 26 Oct 2016 22:41:54 +0000 (15:41 -0700)]
gopher: fix gopher urls to include the type character properly.

7 years agowebapps.wee-url: random-url can use random-string
Björn Lindqvist [Wed, 26 Oct 2016 07:06:19 +0000 (09:06 +0200)]
webapps.wee-url: random-url can use random-string

7 years agohelp.stylesheet: use table-border-color instead of line-color.
John Benediktsson [Sat, 22 Oct 2016 16:24:15 +0000 (09:24 -0700)]
help.stylesheet: use table-border-color instead of line-color.

7 years agomenus: allow keyboard control
Sankaranarayanan Viswanathan [Fri, 21 Oct 2016 22:44:22 +0000 (18:44 -0400)]
menus: allow keyboard control

7 years agoVM: add marking as a timed gc phase
Björn Lindqvist [Thu, 20 Oct 2016 05:46:21 +0000 (07:46 +0200)]
VM: add marking as a timed gc phase

I think that makes sense because most time when doing a full gc is spent
marking.

7 years agoVM: refactor gc_event so that the phase times are stored in an array
Björn Lindqvist [Wed, 19 Oct 2016 08:31:53 +0000 (10:31 +0200)]
VM: refactor gc_event so that the phase times are stored in an array

So that you don't need a new method for each gc phase to time.