Alexander Iljin
b35294eade
io.sockets.secure-docs: update and add some documentation
2016-06-22 11:27:26 -07:00
Alexander Iljin
c855e5b4f8
delegate-docs: fix a copy-paste error
2016-06-22 11:27:26 -07:00
Alexander Iljin
18eb321ee5
delegate-docs: add missing spaces
2016-06-22 11:27:26 -07:00
Alexander Iljin
e1928eac8b
concurrency.mailboxes-docs: add some missing commas
2016-06-22 11:27:26 -07:00
Alexander Iljin
6f8e6c5b31
concurrency.messaging-docs: add a missing parenthesis
2016-06-22 11:27:26 -07:00
Alexander Iljin
d243e00f54
io.files.windows: use open-file to implement maybe-create-file
...
This fixes error throwing in case of CreateFile failure, and calls
add-completion for the file handle on success.
2016-06-22 11:27:26 -07:00
Alexander Iljin
f530692362
io.files.windows: replace open-existing with open-r/w
...
This fixes error throwing in case of CreateFile failure, and calls
add-completion for the file handle on success.
2016-06-22 11:27:26 -07:00
Alexander Iljin
ae1c7b7a54
io.files.windows: use CreateFileW in open-file for consistency
2016-06-22 11:27:26 -07:00
Alexander Iljin
7a94230899
VM: fix the sampler_thread handle leak
2016-06-22 11:27:26 -07:00
Alexander Iljin
0a8070e094
Nmakefile: remove duplicate code
2016-06-22 11:27:26 -07:00
Alexander Iljin
035567e4ca
alien.data: fix a typo
2016-06-22 11:27:26 -07:00
Alexander Iljin
b0c6f97bf5
tools.memory: move invariant code to cleanup-always quot of the cleanup
2016-06-22 11:27:26 -07:00
Jon Harper
e9454fc310
io.files.info docs, sync link-info and file-info docs
2016-06-22 11:22:43 -07:00
Björn Lindqvist
0a34002988
ui.gestures: fix the cocoa ui backend which i broke by moving the modifier word
2016-06-21 23:37:20 +02:00
Björn Lindqvist
75a3e191b2
compiler.*: a bunch of random doc additions
2016-06-21 23:15:20 +02:00
Björn Lindqvist
4b919b19ce
ui.backend.*: new vocab for keysym handling which is the same on x11 and gtk
2016-06-20 13:13:20 +02:00
Björn Lindqvist
d752a1947c
x11.keysymdef, ui.backend.x11: vocab for all of x11's keycodes
...
using them in u1.backend.x11 instead of hardcoding numbers
2016-06-20 02:18:18 +02:00
Björn Lindqvist
e48e4d2484
x11.*: cosmetic fixes, breaking long lines, indenting struct slots..
2016-06-20 02:02:23 +02:00
Björn Lindqvist
de8d2fa302
FUEL: factor-previous-non-blank unused and adding doc
2016-06-19 03:23:35 +02:00
Björn Lindqvist
f0836dd69d
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.
2016-06-19 01:33:59 +02:00
Björn Lindqvist
fbfc5fdae3
ui.backend.gtk: add handling of insert key ( #1656 )
2016-06-18 20:39:57 +02:00
Björn Lindqvist
ee80cb0752
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.
2016-06-17 16:39:11 +02:00
Björn Lindqvist
2c8b2d9bf5
ui.backend.gtk: hi-res icon awesomeness
2016-06-17 14:29:45 +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
6a76bf9084
io.directories.unix: normalize-path doesn't need to be called
...
It is already called by the words copy-file delegates to.
2016-06-15 01:25:53 +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
Björn Lindqvist
3eef76c686
VM: a little faster definition of contains_p()
2016-06-14 04:40:20 +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
Björn Lindqvist
6984bae7ca
VM: rename of JIT_PUSH_IMMEDIATE to JIT_PUSH_LITERAL
...
The code template pushes both immediates and references so the name was
wrong.
2016-06-07 14:54:23 +02:00
Björn Lindqvist
6b95813dbc
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.
2016-06-07 14:42:06 +02:00
Björn Lindqvist
33d5ecefd5
VM: refactor a struct into a c++11 lambda
2016-06-07 14:04:28 +02: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
c7041fe96e
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.
2016-06-02 11:07:19 -07:00
Doug Coleman
05083ba503
io.sockets.secure.windows: No need to call file>> because we have a
...
win32-socket on the stack already.
2016-06-02 10:56:50 -07:00
Doug Coleman
b63aaff1c5
io.sockets.secure: (server) needs a method on secure for Windows too. Move the method to a vocab that both platforms load.
2016-06-02 10:25:11 -07:00
Doug Coleman
0f217b9cf0
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.
2016-06-01 11:59:57 -07:00
Björn Lindqvist
9da7863917
tools.profiler.sampling.tests: attempt to fix the unit test that fails on x86.32 sometimes
2016-05-31 22:15:08 +02:00
Björn Lindqvist
a80aeea7f9
io.files.windows: make CreateFile-flags a normal word (fixes the recent test failures)
2016-05-31 17:04:34 +02:00
Björn Lindqvist
a58f8c76f4
VM: rename compile_inline_cache and refactor the loop body into emit_check_and_jump
2016-05-31 03:37:24 +02:00
Björn Lindqvist
dae2229957
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.
2016-05-31 03:37:24 +02:00
Björn Lindqvist
59443dca01
VM: new method quotation_jit:nth
...
It's less tedious than writing array_nth(elements.untagged(), i + N) everywhere
2016-05-31 03:37:24 +02:00
Björn Lindqvist
91f335b424
style thing: indenting tuple slots
2016-05-31 03:37:23 +02:00
Alexander Iljin
8e2a65e5a2
io.files.info.windows: add a comment to open-read-handle
2016-05-30 12:35:26 -07:00
Alexander Iljin
aa7a285390
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 ).
2016-05-30 12:35:25 -07:00