]>
gitweb.factorcode.org Git - factor.git/log
Alexander Iljin [Sat, 28 May 2016 14:06:24 +0000 (17:06 +0300)]
Nmakefile: remove duplicate code
Alexander Iljin [Tue, 31 May 2016 10:08:31 +0000 (13:08 +0300)]
alien.data: fix a typo
Alexander Iljin [Tue, 31 May 2016 10:07:20 +0000 (13:07 +0300)]
tools.memory: move invariant code to cleanup-always quot of the cleanup
Jon Harper [Wed, 22 Jun 2016 18:11:29 +0000 (20:11 +0200)]
io.files.info docs, sync link-info and file-info docs
Björn Lindqvist [Tue, 21 Jun 2016 21:37:20 +0000 (23:37 +0200)]
ui.gestures: fix the cocoa ui backend which i broke by moving the modifier word
Björn Lindqvist [Tue, 21 Jun 2016 21:15:20 +0000 (23:15 +0200)]
compiler.*: a bunch of random doc additions
Björn Lindqvist [Mon, 20 Jun 2016 11:13:20 +0000 (13:13 +0200)]
ui.backend.*: new vocab for keysym handling which is the same on x11 and gtk
Björn Lindqvist [Mon, 20 Jun 2016 00:18:18 +0000 (02:18 +0200)]
x11.keysymdef, ui.backend.x11: vocab for all of x11's keycodes
using them in u1.backend.x11 instead of hardcoding numbers
Björn Lindqvist [Mon, 20 Jun 2016 00:02:23 +0000 (02:02 +0200)]
x11.*: cosmetic fixes, breaking long lines, indenting struct slots..
Björn Lindqvist [Sun, 19 Jun 2016 01:23:35 +0000 (03:23 +0200)]
FUEL: factor-previous-non-blank unused and adding doc
Björn Lindqvist [Sat, 18 Jun 2016 23:33:59 +0000 (01:33 +0200)]
ui.backend.gtk.io: refactoring which removes ui.backend.gtk.io.unix
ui.backend.gtk is unix-specific so there is no need to have different
implementations for different os:es.
Björn Lindqvist [Sat, 18 Jun 2016 18:39:57 +0000 (20:39 +0200)]
ui.backend.gtk: add handling of insert key (#1656)
Björn Lindqvist [Fri, 17 Jun 2016 14:35:15 +0000 (16:35 +0200)]
ui.backend.gtk: use a global variable to store the icon data
It's easier than the previous code that replaced the get-icon-data word
during deployment. Also GTK support for icon.ico icons.
Björn Lindqvist [Thu, 16 Jun 2016 23:10:21 +0000 (01:10 +0200)]
ui.backend.gtk: hi-res icon awesomeness
Björn Lindqvist [Thu, 16 Jun 2016 22:31:47 +0000 (00:31 +0200)]
space-invaders: calling exit-openal otherwise sound can get stuck when quitting the game
Björn Lindqvist [Thu, 16 Jun 2016 21:41:17 +0000 (23:41 +0200)]
24-game: fixing invalid operator input handling in get-operator
Björn Lindqvist [Thu, 16 Jun 2016 21:28:02 +0000 (23:28 +0200)]
24-game: fixing game to use formatting vocab
Björn Lindqvist [Tue, 14 Jun 2016 23:25:53 +0000 (01:25 +0200)]
io.directories.unix: normalize-path doesn't need to be called
It is already called by the words copy-file delegates to.
Björn Lindqvist [Tue, 14 Jun 2016 22:33:44 +0000 (00:33 +0200)]
io.directories: new utility word make-parent-directories, for making sure directories exists
Björn Lindqvist [Tue, 7 Jun 2016 19:44:56 +0000 (21:44 +0200)]
VM: a little faster definition of contains_p()
John Benediktsson [Sun, 12 Jun 2016 13:52:23 +0000 (06:52 -0700)]
peg.javascript.tokenizer: rename escape rules slightly.
John Benediktsson [Sun, 12 Jun 2016 13:41:59 +0000 (06:41 -0700)]
peg.javascript.tokenizer: support hex and unicode escapes.
John Benediktsson [Sat, 11 Jun 2016 22:22:20 +0000 (15:22 -0700)]
peg.javascript: add some other escapes since we're doing this. :-)
catb0t [Sat, 11 Jun 2016 21:36:14 +0000 (17:36 -0400)]
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.
Björn Lindqvist [Tue, 7 Jun 2016 12:54:23 +0000 (14:54 +0200)]
VM: rename of JIT_PUSH_IMMEDIATE to JIT_PUSH_LITERAL
The code template pushes both immediates and references so the name was
wrong.
Björn Lindqvist [Tue, 7 Jun 2016 12:42:06 +0000 (14:42 +0200)]
VM: refactor the immediate_p check out of visit_pointer()
This avoids reassigning to slots that are never changed. It makes the minor-gc pass 2% faster.
Björn Lindqvist [Tue, 7 Jun 2016 12:04:28 +0000 (14:04 +0200)]
VM: refactor a struct into a c++11 lambda
Jon Harper [Sat, 4 Jun 2016 14:12:34 +0000 (16:12 +0200)]
rosetta-code.image-noise, use status bar for FPS
Jon Harper [Sat, 4 Jun 2016 13:43:32 +0000 (15:43 +0200)]
rosetta-code.image-noise, bring back fps after
c7ca226
Doug Coleman [Thu, 2 Jun 2016 18:07:19 +0000 (11:07 -0700)]
io.sockets.secure.windows: Windows sockets are a bit confused. Make a word
to get the handle out of two different paths. Probably needs more
refactoring but this makes it work.
Doug Coleman [Thu, 2 Jun 2016 17:56:50 +0000 (10:56 -0700)]
io.sockets.secure.windows: No need to call file>> because we have a
win32-socket on the stack already.
Doug Coleman [Thu, 2 Jun 2016 17:25:11 +0000 (10:25 -0700)]
io.sockets.secure: (server) needs a method on secure for Windows too. Move the method to a vocab that both platforms load.
Doug Coleman [Wed, 1 Jun 2016 18:59:57 +0000 (11:59 -0700)]
http.server.static: sort files for static html directory listing. seems to be sorted on mac already, but not on linux. consider allowing a sort order parameter in the future.
Björn Lindqvist [Tue, 31 May 2016 20:14:18 +0000 (22:14 +0200)]
tools.profiler.sampling.tests: attempt to fix the unit test that fails on x86.32 sometimes
Björn Lindqvist [Tue, 31 May 2016 15:04:34 +0000 (17:04 +0200)]
io.files.windows: make CreateFile-flags a normal word (fixes the recent test failures)
Björn Lindqvist [Mon, 30 May 2016 23:55:35 +0000 (01:55 +0200)]
VM: rename compile_inline_cache and refactor the loop body into emit_check_and_jump
Björn Lindqvist [Mon, 30 May 2016 21:54:26 +0000 (23:54 +0200)]
VM: omit the type check if checking for fixnum and it's the first check
Previously: and ecx, 0xf ; cmp ecx, 0 ; jz <address> was generated. Now
instead: and ecx, 0xf ; jz <address> because the cmp, ecx, 0 instruction
is redundant.
Björn Lindqvist [Mon, 30 May 2016 17:32:03 +0000 (19:32 +0200)]
VM: new method quotation_jit:nth
It's less tedious than writing array_nth(elements.untagged(), i + N) everywhere
Björn Lindqvist [Mon, 30 May 2016 16:40:09 +0000 (18:40 +0200)]
style thing: indenting tuple slots
Alexander Iljin [Thu, 26 May 2016 07:31:51 +0000 (10:31 +0300)]
io.files.info.windows: add a comment to open-read-handle
Alexander Iljin [Wed, 25 May 2016 14:51:47 +0000 (17:51 +0300)]
io.files.info.windows: fix flags in open-read-handle
Add FILE_SHARE_WRITE and FILE_SHARE_DELETE flags and calls CreateFile-flags
hook. This fixes file-readable? so that it uses the same flags as open-read
(issue #1470).
Alexander Iljin [Wed, 25 May 2016 07:22:55 +0000 (10:22 +0300)]
io.files.windows: add FILE_FLAG_BACKUP_SEMANTICS to CreateFile-flags
This provides additional access rights if the process has SE_BACKUP_NAME
or SE_RESTORE_NAME privileges. Does nothing otherwise.
Alexander Iljin [Tue, 24 May 2016 14:06:31 +0000 (17:06 +0300)]
io.files.info.windows: fix file-readable?
This fixes issue #1470. Now the method tries to open the file handle for
reading and returns t on success. This approach makes Windows check the
current user's permissions.
Alexander Iljin [Tue, 24 May 2016 14:03:17 +0000 (17:03 +0300)]
io.files.info.windows: add open-read-handle to reuse later
Alexander Iljin [Tue, 24 May 2016 13:52:56 +0000 (16:52 +0300)]
io.files.info.windows: fix parameter name for get-file-information-stat
Doug Coleman [Mon, 30 May 2016 19:24:17 +0000 (12:24 -0700)]
io.files.windows: Add a unit test to make sure shared flags stay on.
Alexander Iljin [Sat, 28 May 2016 13:09:49 +0000 (16:09 +0300)]
vm: fix a typo in a comment
Alexander Iljin [Fri, 27 May 2016 19:37:44 +0000 (22:37 +0300)]
vm: fix warning C4800: forcing value to bool
The warning is issued by the Visual Studio 2015, treated as error.
Alexander Iljin [Thu, 26 May 2016 19:55:02 +0000 (22:55 +0300)]
vm: give windows_stat fewer reasons to fail
More sharing flags mean that the file opening attempts will succeed even
if the file is already open by another process for writing or deleting.
Björn Lindqvist [Mon, 30 May 2016 06:23:18 +0000 (08:23 +0200)]
VM: make it so compiling mega cache lookups doesn't generate stack frames (#651)
Björn Lindqvist [Mon, 30 May 2016 03:19:32 +0000 (05:19 +0200)]
VM: a bunch of more methods on the factor_vm class that can be made into funtions
Björn Lindqvist [Mon, 30 May 2016 02:57:14 +0000 (04:57 +0200)]
VM: name change no_non_safepoint_words_p -> stack_frame_p
It returns true if the quotation should be wrapped in a stack frame.
Björn Lindqvist [Mon, 30 May 2016 01:03:10 +0000 (03:03 +0200)]
VM: moving a few methods arounds
word_call, word_jump and emit_mega_cache_lookup are only used in quotations.cpp so they should be defined there too.
Björn Lindqvist [Mon, 30 May 2016 00:39:06 +0000 (02:39 +0200)]
bootstrap.x86: using 32 bit regs as operands when it's safe to do so
It shaves off a few bytes as e.g and eax, 0xf is one byte shorter than and rax, 0xf
Björn Lindqvist [Sun, 29 May 2016 02:55:11 +0000 (04:55 +0200)]
VM: shorter definition of emit_check
Björn Lindqvist [Sun, 29 May 2016 01:03:07 +0000 (03:03 +0200)]
VM: makes some factor_vm methods to free functions
Björn Lindqvist [Sat, 28 May 2016 17:01:54 +0000 (19:01 +0200)]
alien.parser,gobject-introspection.ffi: fixing the manifest test errors (see #1463)
Björn Lindqvist [Sat, 28 May 2016 15:22:45 +0000 (17:22 +0200)]
alien.parser: better fix for #1535
These changes ensure that reset-generic is called when parsing alien
words. Otherwise problems occur when you redefine generics as callbacks
or typedefs.
Björn Lindqvist [Sat, 28 May 2016 14:49:14 +0000 (16:49 +0200)]
alien.parser: make make-callback-type have the same signature as make-function
Björn Lindqvist [Sat, 28 May 2016 14:46:24 +0000 (16:46 +0200)]
gobject-introspection.ffi: new tests
Björn Lindqvist [Fri, 27 May 2016 18:54:52 +0000 (20:54 +0200)]
alien.parser: fix for #1535
(CREATE-C-TYPE) needs to be called on the word naming the
callback. Otherwise the old definition remains in old-definition and you
can get a no word found error.
John Benediktsson [Fri, 27 May 2016 00:43:29 +0000 (17:43 -0700)]
help: sigh sigh $predicate is used by help.lint.checks.
John Benediktsson [Fri, 27 May 2016 00:40:34 +0000 (17:40 -0700)]
help: sigh, let's just use the old word-help* name.
John Benediktsson [Fri, 27 May 2016 00:35:37 +0000 (17:35 -0700)]
help: move predicate default word help.
John Benediktsson [Thu, 26 May 2016 23:54:33 +0000 (16:54 -0700)]
help: minor change to use a default-word-help generic.
John Benediktsson [Thu, 26 May 2016 23:51:16 +0000 (16:51 -0700)]
help: change how default word help is done.
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.
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.
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.
Doug Coleman [Thu, 26 May 2016 00:25:35 +0000 (17:25 -0700)]
unix.ffi: Add SHUT_* flags for shutdown() call.
Björn Lindqvist [Wed, 25 May 2016 22:28:10 +0000 (00:28 +0200)]
Build: drops debugging symbols, fixes #1634
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
Björn Lindqvist [Wed, 25 May 2016 20:03:05 +0000 (22:03 +0200)]
FUEL: fix so that radixed numbers with commas get highlighted
Björn Lindqvist [Wed, 25 May 2016 17:19:08 +0000 (19:19 +0200)]
cpu.*: more docs
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.
Björn Lindqvist [Wed, 25 May 2016 14:10:33 +0000 (16:10 +0200)]
cpu.x86.sse: removing an unused word
Alexander Iljin [Wed, 25 May 2016 12:54:13 +0000 (15:54 +0300)]
tools.crossref-docs: fix wording
Alexander Iljin [Tue, 24 May 2016 15:40:01 +0000 (18:40 +0300)]
syntax-docs: fix the code snippet in the ERROR: article
Alexander Iljin [Wed, 25 May 2016 10:23:28 +0000 (13:23 +0300)]
words-docs: fix wording
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.
Alexander Iljin [Wed, 25 May 2016 09:59:38 +0000 (12:59 +0300)]
help.handbook: fix wording
Alexander Iljin [Wed, 25 May 2016 08:38:28 +0000 (11:38 +0300)]
io.streams-docs: fix some copy-paste errors
Björn Lindqvist [Tue, 24 May 2016 15:22:38 +0000 (17:22 +0200)]
compiler.cfg.builder.*: docs and tests
Björn Lindqvist [Tue, 24 May 2016 15:20:39 +0000 (17:20 +0200)]
compiler.cfg.value-numbering.*: new docs
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
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
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.
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.
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.
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.
Björn Lindqvist [Mon, 23 May 2016 00:26:28 +0000 (02:26 +0200)]
cpu.x86.assembler: fix help-lint problem
Björn Lindqvist [Mon, 23 May 2016 00:23:21 +0000 (02:23 +0200)]
FUEL: highlight of SLOT: syntax and backslashes in names
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.
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 .
Alexander Iljin [Wed, 4 May 2016 23:04:40 +0000 (02:04 +0300)]
docs: minor fixes and amendments.
John Benediktsson [Sun, 15 May 2016 17:50:30 +0000 (10:50 -0700)]
ui.gadgets.theme: rename to ui.theme.images.
John Benediktsson [Sun, 15 May 2016 17:44:29 +0000 (10:44 -0700)]
ui.theme.switching: default font colors.
Doug Coleman [Sat, 21 May 2016 08:30:11 +0000 (01:30 -0700)]
forestdb: open normal commit.
Doug Coleman [Sat, 21 May 2016 03:01:15 +0000 (20:01 -0700)]
forestdb: fix using. uncomment some code.
Doug Coleman [Sat, 21 May 2016 02:42:03 +0000 (19:42 -0700)]
managed-server: add another constructor.