]>
gitweb.factorcode.org Git - factor.git/log
John Benediktsson [Mon, 11 Jul 2016 03:28:46 +0000 (20:28 -0700)]
use ?delete-file instead of [ delete-file ] ignore-errors.
John Benediktsson [Mon, 11 Jul 2016 03:28:28 +0000 (20:28 -0700)]
math.integers: use must-fail instead of ignore-errors.
John Benediktsson [Mon, 11 Jul 2016 01:18:41 +0000 (18:18 -0700)]
unicode: add the number of tests...
...so we don't accidentally stop testing things that should be tested.
John Benediktsson [Sun, 10 Jul 2016 23:54:02 +0000 (16:54 -0700)]
unicode.normalize: better tests that don't spam the console.
John Benediktsson [Sun, 10 Jul 2016 23:36:14 +0000 (16:36 -0700)]
unicode.collation: better tests that don't spam the console.
John Benediktsson [Sun, 10 Jul 2016 22:44:54 +0000 (15:44 -0700)]
http.server.responses: less dynamic but equal.
John Benediktsson [Sun, 10 Jul 2016 22:26:58 +0000 (15:26 -0700)]
http.server.responses: load trivial responses from a text file.
Doug Coleman [Sun, 10 Jul 2016 16:40:16 +0000 (11:40 -0500)]
checksums.common: don't need next-level anymore thanks to cleanup.
John Benediktsson [Sun, 10 Jul 2016 03:58:14 +0000 (20:58 -0700)]
checksums.common: simplify add-checksum-bytes.
Doug Coleman [Sat, 9 Jul 2016 21:59:15 +0000 (16:59 -0500)]
checksums: Ugly fix for incremental checksums. Add randomized unit tests to ensure that varying length payloads are the same incrementally or all at once.
Doug Coleman [Sat, 9 Jul 2016 19:17:59 +0000 (14:17 -0500)]
checksums: Really fix... only add the number of extra bytes in the last unchecksummed block.
Doug Coleman [Sat, 9 Jul 2016 18:53:30 +0000 (13:53 -0500)]
checksums.common: Checksums was calculating the new length based on the entire array, not on the number of recently added bytes.
Reported by Александр Ilin.
Jon Harper [Sun, 26 Jun 2016 18:35:25 +0000 (20:35 +0200)]
http.server.static: add sorts on columns
Jon Harper [Wed, 22 Jun 2016 21:20:48 +0000 (23:20 +0200)]
http.server.static, html table listings
Björn Lindqvist [Sat, 2 Jul 2016 13:27:33 +0000 (15:27 +0200)]
FUEL: readding factor-method-definition-regex
It is needed by the fuel-refactor--def-word function.
Björn Lindqvist [Sat, 2 Jul 2016 13:26:41 +0000 (15:26 +0200)]
FUEL: unused function removed
Björn Lindqvist [Sat, 2 Jul 2016 01:28:19 +0000 (03:28 +0200)]
FUEL: better symbol-capturing regexp and support for X-FUNCTION
Björn Lindqvist [Sat, 2 Jul 2016 01:24:46 +0000 (03:24 +0200)]
FUEL: new indentation system based on smie
smie makes writing the indentation code much simpler. It also takes care
of some corner cases that led to bad indentation before like stack
effects split over multiple lines.
See: http://emacs.
1067599 .n5.nabble.com/SMIE-examples-or-guides-td400784.html
Björn Lindqvist [Thu, 30 Jun 2016 11:44:18 +0000 (13:44 +0200)]
VM: fixing small style issues
Like aligning comments and changing //-comments to /* */
John Benediktsson [Fri, 1 Jul 2016 14:55:50 +0000 (07:55 -0700)]
windows.ole32: use sets in tests.
John Benediktsson [Thu, 30 Jun 2016 21:50:47 +0000 (14:50 -0700)]
hashcash: quick fix for string argument to checksum-bytes.
John Benediktsson [Thu, 30 Jun 2016 21:47:18 +0000 (14:47 -0700)]
checksums: fix test using.
John Benediktsson [Thu, 30 Jun 2016 21:11:24 +0000 (14:11 -0700)]
io.backend: remove unused normalize-directory word.
John Benediktsson [Thu, 30 Jun 2016 19:34:36 +0000 (12:34 -0700)]
checksums: remove doc for stream-checksum.
John Benediktsson [Thu, 30 Jun 2016 18:41:27 +0000 (11:41 -0700)]
checksums: some cleanup.
- define checksum-bytes and checksum-stream in terms of each other
- delete stream-checksum now that it's no longer needed
- move checksum-state stuff into checksums.common
- add a block-checksum that uses the checksum-state stuff
- change checksums.openssl to not use the checksum-state
John Benediktsson [Thu, 30 Jun 2016 18:36:08 +0000 (11:36 -0700)]
io.encodings.binary: move to core.
John Benediktsson [Thu, 30 Jun 2016 18:13:51 +0000 (11:13 -0700)]
checksums.common: some cleanup, remove unused stuff.
Björn Lindqvist [Thu, 30 Jun 2016 00:42:23 +0000 (02:42 +0200)]
FUEL: makes accessors and tuple slots with backslashes highlight correctly
Björn Lindqvist [Wed, 29 Jun 2016 23:00:42 +0000 (01:00 +0200)]
FUEL: fix highlighting of strings escaping quote characters
(modify-syntax-entry ?\\ "_" table) was wrong, instead a bigger regexp
is needed.
John Benediktsson [Wed, 29 Jun 2016 21:31:32 +0000 (14:31 -0700)]
checksums.openssl: make evp-md-context private.
John Benediktsson [Wed, 29 Jun 2016 21:30:24 +0000 (14:30 -0700)]
checksums.stream: article title must begin with a capital letter.
Alexander Iljin [Tue, 28 Jun 2016 06:13:16 +0000 (09:13 +0300)]
db.errors: update ignore-error parameter list to be more self-documented
Alexander Iljin [Tue, 28 Jun 2016 06:11:56 +0000 (09:11 +0300)]
checksums.openssl: refactor checksum-stream and checksum-bytes
Alexander Iljin [Thu, 23 Jun 2016 07:10:57 +0000 (10:10 +0300)]
checksums.openssl: implement common checksum interface
Alexander Iljin [Tue, 21 Jun 2016 12:21:17 +0000 (15:21 +0300)]
checksums: make add-checksum-bytes a generic word
Alexander Iljin [Sat, 20 Feb 2016 18:14:02 +0000 (22:14 +0400)]
db.queries: add ensure-index
Alexander Iljin [Sat, 20 Feb 2016 18:00:50 +0000 (22:00 +0400)]
db.(sqlite.)errors: add sql-index-exists error
Alexander Iljin [Sat, 20 Feb 2016 17:07:42 +0000 (21:07 +0400)]
db.sqlite.errors: simplify implementation
Alexander Iljin [Mon, 27 Jun 2016 16:07:40 +0000 (19:07 +0300)]
windows.ole32: add create-guid
Alexander Iljin [Sun, 26 Jun 2016 12:08:48 +0000 (15:08 +0300)]
checksums-docs: add note on using checksums.stream
Alexander Iljin [Sun, 26 Jun 2016 12:07:32 +0000 (15:07 +0300)]
checksums-docs: fix heading in checksum-file
Alexander Iljin [Sun, 26 Jun 2016 12:04:22 +0000 (15:04 +0300)]
checksums.stream-docs: initial commit
Alexander Iljin [Sat, 25 Jun 2016 20:13:36 +0000 (23:13 +0300)]
tools.scaffold: fix scaffold-docs generating $var-decsription for classes
Alexander Iljin [Sun, 19 Jun 2016 09:12:20 +0000 (12:12 +0300)]
io.directories.windows: remove synchronous copy-file implementation
Björn Lindqvist [Wed, 29 Jun 2016 00:31:52 +0000 (02:31 +0200)]
VM: removes the signal_handler_impl methods from factor_vm
Instead the code is in the functions with the same name. That way, they
don't need to exist both as functions and methods.
John Benediktsson [Wed, 29 Jun 2016 16:08:20 +0000 (09:08 -0700)]
cocoa.views: more constants.
Doug Coleman [Wed, 29 Jun 2016 05:47:11 +0000 (22:47 -0700)]
cocoa.views: add some constants for opengl.
Björn Lindqvist [Mon, 27 Jun 2016 14:27:56 +0000 (16:27 +0200)]
VM: set_border_locked is the same on windows and unix
Björn Lindqvist [Mon, 27 Jun 2016 14:08:58 +0000 (16:08 +0200)]
VM: factor_vm::set_callstack and set_retainstack is not needed
Björn Lindqvist [Sun, 26 Jun 2016 11:36:03 +0000 (13:36 +0200)]
FUEL: simplifying
Björn Lindqvist [Thu, 23 Jun 2016 00:14:37 +0000 (02:14 +0200)]
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
John Benediktsson [Wed, 22 Jun 2016 23:20:11 +0000 (16:20 -0700)]
system-info.macosx: macOS Sierra.
Alexander Iljin [Fri, 17 Jun 2016 11:43:07 +0000 (14:43 +0300)]
*-docs: remove extra spaces from the end of various topics
Alexander Iljin [Fri, 17 Jun 2016 11:10:04 +0000 (14:10 +0300)]
help.tips: use $code snippet in a TIP: for user to run
Alexander Iljin [Thu, 16 Jun 2016 23:35:25 +0000 (02:35 +0300)]
io.files.info.windows: suppress ERROR_FILE_NOT_FOUND in volume>paths
Alexander Iljin [Thu, 16 Jun 2016 22:53:49 +0000 (01:53 +0300)]
windows.shell32: remove extra declaration of ERROR_FILE_NOT_FOUND
We already have one in windows.errors.
Alexander Iljin [Thu, 16 Jun 2016 22:50:54 +0000 (01:50 +0300)]
io.sockets.secure-docs: update and add some documentation
Alexander Iljin [Wed, 15 Jun 2016 20:35:32 +0000 (23:35 +0300)]
delegate-docs: fix a copy-paste error
Alexander Iljin [Tue, 14 Jun 2016 07:47:42 +0000 (10:47 +0300)]
delegate-docs: add missing spaces
Alexander Iljin [Sat, 11 Jun 2016 16:19:20 +0000 (19:19 +0300)]
concurrency.mailboxes-docs: add some missing commas
Alexander Iljin [Sat, 11 Jun 2016 16:13:15 +0000 (19:13 +0300)]
concurrency.messaging-docs: add a missing parenthesis
Alexander Iljin [Wed, 25 May 2016 07:46:30 +0000 (10:46 +0300)]
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.
Alexander Iljin [Wed, 25 May 2016 07:25:53 +0000 (10:25 +0300)]
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.
Alexander Iljin [Wed, 25 May 2016 07:18:28 +0000 (10:18 +0300)]
io.files.windows: use CreateFileW in open-file for consistency
Alexander Iljin [Thu, 2 Jun 2016 20:38:08 +0000 (23:38 +0300)]
VM: fix the sampler_thread handle leak
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)