]> gitweb.factorcode.org Git - factor.git/log
factor.git
7 years agocore: selector-for and collector-for are the wrong naming convention--they should...
Doug Coleman [Thu, 26 May 2016 21:36:11 +0000 (14:36 -0700)]
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.

7 years agoio.files.unique: clean up the files that are created if not all files can be created.
Doug Coleman [Thu, 26 May 2016 21:03:12 +0000 (14:03 -0700)]
io.files.unique: clean up the files that are created if not all files can be created.

7 years agoio.files.unique: Make sure the files are the same except for the suffix. Add unit...
Doug Coleman [Thu, 26 May 2016 00:44:13 +0000 (17:44 -0700)]
io.files.unique: Make sure the files are the same except for the suffix. Add unit test. Fix paths typo.

7 years agounix.ffi: Add SHUT_* flags for shutdown() call.
Doug Coleman [Thu, 26 May 2016 00:25:35 +0000 (17:25 -0700)]
unix.ffi: Add SHUT_* flags for shutdown() call.

7 years agoBuild: drops debugging symbols, fixes #1634
Björn Lindqvist [Wed, 25 May 2016 22:28:10 +0000 (00:28 +0200)]
Build: drops debugging symbols, fixes #1634

7 years agoFUEL: set context to (factor-current-vocab), in case it's a word defined
Björn Lindqvist [Wed, 25 May 2016 21:00:45 +0000 (23:00 +0200)]
FUEL: set context to (factor-current-vocab), in case it's a word defined
in the current buffer

7 years agoFUEL: fix so that radixed numbers with commas get highlighted
Björn Lindqvist [Wed, 25 May 2016 20:03:05 +0000 (22:03 +0200)]
FUEL: fix so that radixed numbers with commas get highlighted

7 years agocpu.*: more docs
Björn Lindqvist [Wed, 25 May 2016 17:19:08 +0000 (19:19 +0200)]
cpu.*: more docs

7 years agocpu.x86.*: faster versions of the X-bit-version-of words
Björn Lindqvist [Wed, 25 May 2016 17:07:33 +0000 (19:07 +0200)]
cpu.x86.*: faster versions of the X-bit-version-of words

It should make the %load-immediate word a bit faster.

7 years agocpu.x86.sse: removing an unused word
Björn Lindqvist [Wed, 25 May 2016 14:10:33 +0000 (16:10 +0200)]
cpu.x86.sse: removing an unused word

7 years agotools.crossref-docs: fix wording 1633/head
Alexander Iljin [Wed, 25 May 2016 12:54:13 +0000 (15:54 +0300)]
tools.crossref-docs: fix wording

7 years agosyntax-docs: fix the code snippet in the ERROR: article
Alexander Iljin [Tue, 24 May 2016 15:40:01 +0000 (18:40 +0300)]
syntax-docs: fix the code snippet in the ERROR: article

7 years agowords-docs: fix wording
Alexander Iljin [Wed, 25 May 2016 10:23:28 +0000 (13:23 +0300)]
words-docs: fix wording

7 years agowords-docs: add "recursive" to the list of word properties
Alexander Iljin [Wed, 25 May 2016 10:23:01 +0000 (13:23 +0300)]
words-docs: add "recursive" to the list of word properties

Put "flushable" in quotes for consistency.

7 years agohelp.handbook: fix wording
Alexander Iljin [Wed, 25 May 2016 09:59:38 +0000 (12:59 +0300)]
help.handbook: fix wording

7 years agoio.streams-docs: fix some copy-paste errors
Alexander Iljin [Wed, 25 May 2016 08:38:28 +0000 (11:38 +0300)]
io.streams-docs: fix some copy-paste errors

7 years agocompiler.cfg.builder.*: docs and tests
Björn Lindqvist [Tue, 24 May 2016 15:22:38 +0000 (17:22 +0200)]
compiler.cfg.builder.*: docs and tests

7 years agocompiler.cfg.value-numbering.*: new docs
Björn Lindqvist [Tue, 24 May 2016 15:20:39 +0000 (17:20 +0200)]
compiler.cfg.value-numbering.*: new docs

7 years agocpu.x86.assembler: zero-extension can work on the TEST instruction too
Björn Lindqvist [Tue, 24 May 2016 12:37:20 +0000 (14:37 +0200)]
cpu.x86.assembler: zero-extension can work on the TEST instruction too

7 years agobootstrap.image.primitives: resize-byte-array can also use integer-array-capacity
Björn Lindqvist [Tue, 24 May 2016 12:20:46 +0000 (14:20 +0200)]
bootstrap.image.primitives: resize-byte-array can also use integer-array-capacity

7 years agoio.servers: Fix a regression where we couldn't listen on several ports at once.
Doug Coleman [Mon, 23 May 2016 22:28:51 +0000 (15:28 -0700)]
io.servers: Fix a regression where we couldn't listen on several ports at once.

7 years agoforestdb.lib: testing in auto-compact mode needs a pair of unique files.
Doug Coleman [Mon, 23 May 2016 20:47:25 +0000 (13:47 -0700)]
forestdb.lib: testing in auto-compact mode needs a pair of unique files.

7 years agoio.files.unique: Add a way to create multiple unique files at the same time. If any...
Doug Coleman [Mon, 23 May 2016 20:17:29 +0000 (13:17 -0700)]
io.files.unique: Add a way to create multiple unique files at the same time. If any of them fail, then the whole operation fails.

7 years agohttp.client: disable sni test that hits the velox.ch site as per requested by the...
Doug Coleman [Mon, 23 May 2016 05:53:28 +0000 (22:53 -0700)]
http.client: disable sni test that hits the velox.ch site as per requested by the site owner.

7 years agocpu.x86.assembler: fix help-lint problem
Björn Lindqvist [Mon, 23 May 2016 00:26:28 +0000 (02:26 +0200)]
cpu.x86.assembler: fix help-lint problem

7 years agoFUEL: highlight of SLOT: syntax and backslashes in names
Björn Lindqvist [Mon, 23 May 2016 00:23:21 +0000 (02:23 +0200)]
FUEL: highlight of SLOT: syntax and backslashes in names

7 years agoFUEL: syntax debugging file
Björn Lindqvist [Mon, 23 May 2016 00:17:27 +0000 (02:17 +0200)]
FUEL: syntax debugging file

This file is intended to contain lots of weird syntax. So if you change
something in FUEL, you can open the file to verify it still syntax
highlights correctly.

7 years agobrowser: trim whitespace from query before search.
Alexander Iljin [Sat, 21 May 2016 18:54:30 +0000 (21:54 +0300)]
browser: trim whitespace from query before search.

This behavior is consistent with the apropos word.
Should have been done in e4bf5f10.

7 years agodocs: minor fixes and amendments.
Alexander Iljin [Wed, 4 May 2016 23:04:40 +0000 (02:04 +0300)]
docs: minor fixes and amendments.

7 years agoui.gadgets.theme: rename to ui.theme.images.
John Benediktsson [Sun, 15 May 2016 17:50:30 +0000 (10:50 -0700)]
ui.gadgets.theme: rename to ui.theme.images.

7 years agoui.theme.switching: default font colors.
John Benediktsson [Sun, 15 May 2016 17:44:29 +0000 (10:44 -0700)]
ui.theme.switching: default font colors.

7 years agoforestdb: open normal commit.
Doug Coleman [Sat, 21 May 2016 08:30:11 +0000 (01:30 -0700)]
forestdb: open normal commit.

7 years agoforestdb: fix using. uncomment some code.
Doug Coleman [Sat, 21 May 2016 03:01:15 +0000 (20:01 -0700)]
forestdb: fix using. uncomment some code.

7 years agomanaged-server: add another constructor.
Doug Coleman [Sat, 21 May 2016 02:42:03 +0000 (19:42 -0700)]
managed-server: add another constructor.

7 years agoforestdb: update to latest. fix tests to be better. if there's a .meta file (auto...
Doug Coleman [Sat, 21 May 2016 02:41:37 +0000 (19:41 -0700)]
forestdb: update to latest. fix tests to be better. if there's a .meta file (auto-compaction) then the old tests would fail.

7 years agocpu.x86: xor rax, rax -> xor eax, eax
Björn Lindqvist [Fri, 20 May 2016 11:38:42 +0000 (13:38 +0200)]
cpu.x86: xor rax, rax -> xor eax, eax

The latter should be equivalent in all ways, but its encoding is one
byte shorter.

7 years agoDocs: fixing help-lint failures
Björn Lindqvist [Fri, 20 May 2016 11:35:08 +0000 (13:35 +0200)]
Docs: fixing help-lint failures

7 years agocpu.x86.assembler: enable zero extension for AND with small immediates
Björn Lindqvist [Fri, 20 May 2016 10:41:27 +0000 (12:41 +0200)]
cpu.x86.assembler: enable zero extension for AND with small immediates

7 years agocpu.x86.assembler: MOV zero extension for small immediates (#1593)
Björn Lindqvist [Thu, 19 May 2016 21:02:48 +0000 (23:02 +0200)]
cpu.x86.assembler: MOV zero extension for small immediates (#1593)

Instructions eg: mov rax, 123 can be equivalent mov eax, 123 which are
shorter.

7 years agocpu.x86,bootstrap.assembler.*: making sure 0 is the relocation dummy value everywhere
Björn Lindqvist [Thu, 19 May 2016 20:43:52 +0000 (22:43 +0200)]
cpu.x86,bootstrap.assembler.*: making sure 0 is the relocation dummy value everywhere

In some places it was 0xffffffff, but it should always be 0 MOV for
consistency.

7 years agocompiler.constants: docs
Björn Lindqvist [Thu, 19 May 2016 19:49:51 +0000 (21:49 +0200)]
compiler.constants: docs

7 years agocompiler.cfg.value-numbering.comparisons: some duplicated words that can
Björn Lindqvist [Thu, 19 May 2016 14:15:36 +0000 (16:15 +0200)]
compiler.cfg.value-numbering.comparisons: some duplicated words that can
be removed

7 years agocompiler.cfg.value-numbering.graph: docs and test
Björn Lindqvist [Thu, 19 May 2016 14:10:06 +0000 (16:10 +0200)]
compiler.cfg.value-numbering.graph: docs and test

7 years agocompiler.cfg.value-numbering.comparisons: docs and tests
Björn Lindqvist [Thu, 19 May 2016 12:04:23 +0000 (14:04 +0200)]
compiler.cfg.value-numbering.comparisons: docs and tests

7 years agotools.profiler.sampling.tests: call gc beforehand to ensure no random samples are...
Björn Lindqvist [Wed, 18 May 2016 23:54:24 +0000 (01:54 +0200)]
tools.profiler.sampling.tests: call gc beforehand to ensure no random samples are collected

7 years agoVM: better logic in factor_vm::set_sampling_profiler
Björn Lindqvist [Wed, 18 May 2016 23:25:53 +0000 (01:25 +0200)]
VM: better logic in factor_vm::set_sampling_profiler

It avoids the double-negation.

7 years agocompiler.cfg.utilities: rewrite apply-passes as a macro
Björn Lindqvist [Wed, 18 May 2016 21:46:31 +0000 (23:46 +0200)]
compiler.cfg.utilities: rewrite apply-passes as a macro

It makes for more detailed callstacks when profiling.

7 years agoeffects: make :type print as :type instead of ``_: type``
Doug Coleman [Sat, 14 May 2016 23:57:59 +0000 (16:57 -0700)]
effects: make :type print as :type instead of ``_: type``

7 years agoVM: safe_strdup needs to be called in vm_executable_path
Björn Lindqvist [Sat, 14 May 2016 17:00:20 +0000 (19:00 +0200)]
VM: safe_strdup needs to be called in vm_executable_path

7 years agoVM: more destruction needed in the destructor
Björn Lindqvist [Fri, 13 May 2016 23:30:36 +0000 (01:30 +0200)]
VM: more destruction needed in the destructor

Console needs to be closed, special objects free'd and code heap
deleted.

7 years agoVM: add destructor to vm_parameters so that executable and image_path is
Björn Lindqvist [Fri, 13 May 2016 21:12:16 +0000 (23:12 +0200)]
VM: add destructor to vm_parameters so that executable and image_path is
free'd

Valgrind complained that those were leaking

7 years agoVM: more stuff to deallocate in the destructor
Björn Lindqvist [Fri, 13 May 2016 21:07:32 +0000 (23:07 +0200)]
VM: more stuff to deallocate in the destructor

7 years agoVM: return value of vm_executable_path() should be free'd
Björn Lindqvist [Fri, 13 May 2016 03:15:28 +0000 (05:15 +0200)]
VM: return value of vm_executable_path() should be free'd

7 years agoVM: move some logic from factor_vm to the vm_parameters class
Björn Lindqvist [Fri, 13 May 2016 02:12:57 +0000 (04:12 +0200)]
VM: move some logic from factor_vm to the vm_parameters class

It's good because the factor_vm class is to fat.

7 years agoVM: initialize the ctx member in the construction
Björn Lindqvist [Fri, 13 May 2016 01:22:31 +0000 (03:22 +0200)]
VM: initialize the ctx member in the construction

To make valgrind happy because it complains that it is uninitialized.

7 years agoVM: removes the delete_contexts method
Björn Lindqvist [Fri, 13 May 2016 01:22:13 +0000 (03:22 +0200)]
VM: removes the delete_contexts method

7 years agobootstrap.compiler.timing: "profile-compiler" is never set so this vocab
Björn Lindqvist [Fri, 13 May 2016 00:24:22 +0000 (02:24 +0200)]
bootstrap.compiler.timing: "profile-compiler" is never set so this vocab
is unused

7 years agotyped: factor typed-def? out of typed-def.
Doug Coleman [Thu, 12 May 2016 23:33:19 +0000 (16:33 -0700)]
typed: factor typed-def? out of typed-def.

7 years agoeffects: Add support for :type as standalone, unnamed types. ( :float -- ) pprints...
Doug Coleman [Thu, 12 May 2016 23:24:04 +0000 (16:24 -0700)]
effects: Add support for :type as standalone, unnamed types. ( :float -- ) pprints as ( _: float -- ), and ( :( a -- b ) -- ) works, etc. :union{ foo bar } pprints as object but could be improved if the effects parser uses the prettyprinter somehow.
Move ?execute-parsing to parser to avoid circularity.

7 years agoui.gadgets.table: mouse-color uses theme.
John Benediktsson [Thu, 12 May 2016 01:39:44 +0000 (18:39 -0700)]
ui.gadgets.table: mouse-color uses theme.

7 years agoui.tools.debugger: set theme fonts on table...
John Benediktsson [Thu, 12 May 2016 01:37:07 +0000 (18:37 -0700)]
ui.tools.debugger: set theme fonts on table...

Probably this should be in the table gadget itself and not scattered everywhere.

7 years agoui.theme.switching: adding back light-mode and dark-mode.
John Benediktsson [Thu, 12 May 2016 01:32:33 +0000 (18:32 -0700)]
ui.theme.switching: adding back light-mode and dark-mode.

7 years agoui.theme.switching: adding some docs.
John Benediktsson [Thu, 12 May 2016 01:06:47 +0000 (18:06 -0700)]
ui.theme.switching: adding some docs.

7 years agoui.theme.switching: add a switch-theme word.
John Benediktsson [Thu, 12 May 2016 00:41:54 +0000 (17:41 -0700)]
ui.theme.switching: add a switch-theme word.

7 years agocombinators.extras: fix unit tests.
Doug Coleman [Wed, 11 May 2016 21:18:48 +0000 (14:18 -0700)]
combinators.extras: fix unit tests.

7 years agoeditors.visual-studio-code: try to find "code" then "Code" then... on linux.
Doug Coleman [Wed, 11 May 2016 18:52:40 +0000 (11:52 -0700)]
editors.visual-studio-code: try to find "code" then "Code" then... on linux.

7 years agocombinators.extras, generalizations:: Add experimental combinators for 1res, 1arg.
Doug Coleman [Fri, 22 Apr 2016 22:46:15 +0000 (15:46 -0700)]
combinators.extras, generalizations:: Add experimental combinators for 1res, 1arg.

7 years agotools.deploy: bump the other bunny deploy size.
Doug Coleman [Tue, 10 May 2016 22:20:48 +0000 (15:20 -0700)]
tools.deploy: bump the other bunny deploy size.

7 years agoui.theme: remove unused url-color hook.
John Benediktsson [Tue, 10 May 2016 22:20:12 +0000 (15:20 -0700)]
ui.theme: remove unused url-color hook.

8 years agotools.deploy: bump the bunny size.
Doug Coleman [Tue, 10 May 2016 09:35:35 +0000 (02:35 -0700)]
tools.deploy: bump the bunny size.

8 years agoui.gadgets.lists: Fix using for themes.
Doug Coleman [Tue, 10 May 2016 09:35:26 +0000 (02:35 -0700)]
ui.gadgets.lists: Fix using for themes.

8 years agoui.gadgets.theme: fix windows bootstrap.
John Benediktsson [Tue, 10 May 2016 06:27:41 +0000 (23:27 -0700)]
ui.gadgets.theme: fix windows bootstrap.

not sure yet why this is necessary.

8 years agoui.theme: updates to color scheme.
John Benediktsson [Tue, 10 May 2016 04:34:31 +0000 (21:34 -0700)]
ui.theme: updates to color scheme.

Fixes circularity and adds theme switching to Mac menu.
Could use some simplification and reduction in color theme hooks.

8 years agoMoved both themes into ui.theme
nicolas-p [Sun, 8 May 2016 08:09:44 +0000 (10:09 +0200)]
Moved both themes into ui.theme

8 years agoUpdated scrollbar buttons
nicolas-p [Sat, 7 May 2016 19:07:05 +0000 (21:07 +0200)]
Updated scrollbar buttons

8 years agoFixed USING
nicolas-p [Sat, 7 May 2016 17:48:42 +0000 (19:48 +0200)]
Fixed USING

8 years agoAdded listener styles in theme switching
nicolas-p [Fri, 6 May 2016 09:31:29 +0000 (11:31 +0200)]
Added listener styles in theme switching

8 years agoSome color changes in both themes
nicolas-p [Fri, 6 May 2016 09:18:03 +0000 (11:18 +0200)]
Some color changes in both themes

8 years agoChanged warning background in light theme
nicolas-p [Fri, 6 May 2016 07:27:09 +0000 (09:27 +0200)]
Changed warning background in light theme

8 years agoSmall change in themes
nicolas-p [Fri, 6 May 2016 06:42:05 +0000 (08:42 +0200)]
Small change in themes

8 years agoAdded "require" for theme.light and theme.dark
nicolas-p [Fri, 6 May 2016 05:49:21 +0000 (07:49 +0200)]
Added "require" for theme.light and theme.dark

8 years agoAdded prompt style and tip style in switching
nicolas-p [Fri, 6 May 2016 05:45:44 +0000 (07:45 +0200)]
Added prompt style and tip style in switching

8 years agoScrollbar buttons with transparent background
nicolas-p [Thu, 5 May 2016 21:27:08 +0000 (23:27 +0200)]
Scrollbar buttons with transparent background

8 years agoAuthor and summary for ui.gadgets.theme.switching
nicolas-p [Thu, 5 May 2016 21:06:36 +0000 (23:06 +0200)]
Author and summary for ui.gadgets.theme.switching

8 years agoAdded tooltip for themes
nicolas-p [Thu, 5 May 2016 20:13:50 +0000 (22:13 +0200)]
Added tooltip for themes

8 years agoRenaming themes
nicolas-p [Thu, 5 May 2016 20:07:22 +0000 (22:07 +0200)]
Renaming themes

8 years agoImplemented theme switching
nicolas-p [Thu, 5 May 2016 19:18:51 +0000 (21:18 +0200)]
Implemented theme switching

8 years agoAdded colors in light and dark themes
nicolas-p [Wed, 4 May 2016 21:24:37 +0000 (23:24 +0200)]
Added colors in light and dark themes

8 years agoSet text color almost everywhere
nicolas-p [Wed, 4 May 2016 19:57:04 +0000 (21:57 +0200)]
Set text color almost everywhere

8 years agoAuthor and summary for dark theme
nicolas-p [Wed, 4 May 2016 10:44:19 +0000 (12:44 +0200)]
Author and summary for dark theme

8 years agoReplaced hard-coded colors with constants
nicolas-p [Tue, 3 May 2016 17:27:03 +0000 (19:27 +0200)]
Replaced hard-coded colors with constants

8 years agoBetter copyright format
nicolas-p [Tue, 3 May 2016 16:23:09 +0000 (18:23 +0200)]
Better copyright format

8 years agoAdded Solarized colors
nicolas-p [Mon, 2 May 2016 22:54:50 +0000 (00:54 +0200)]
Added Solarized colors

8 years agoinverse: minor cleanup.
John Benediktsson [Tue, 10 May 2016 04:36:45 +0000 (21:36 -0700)]
inverse: minor cleanup.

8 years agobencode: adding bencoding vocabulary.
John Benediktsson [Tue, 10 May 2016 04:36:19 +0000 (21:36 -0700)]
bencode: adding bencoding vocabulary.

8 years agostream.extras: add print-flush, write-flush, etc.
Doug Coleman [Tue, 10 May 2016 00:18:08 +0000 (17:18 -0700)]
stream.extras: add print-flush, write-flush, etc.

8 years agosequences.extras: add map-keys, map-values.
Doug Coleman [Mon, 9 May 2016 23:28:04 +0000 (16:28 -0700)]
sequences.extras: add map-keys, map-values.

8 years agoirc.gitbot: fix command.
Doug Coleman [Mon, 9 May 2016 23:07:15 +0000 (16:07 -0700)]
irc.gitbot: fix command.

8 years agoirc.logbot.log-line: print the user prefix.
Doug Coleman [Mon, 9 May 2016 22:43:20 +0000 (15:43 -0700)]
irc.logbot.log-line: print the user prefix.

8 years agoirc.gitbot: update to be configurable.
Doug Coleman [Mon, 9 May 2016 22:09:54 +0000 (15:09 -0700)]
irc.gitbot: update to be configurable.