]> gitweb.factorcode.org Git - factor.git/log
factor.git
7 years agoAdd EOL at EOF for all authors.txt files for consistency
Alexander Iljin [Tue, 28 Jun 2016 23:32:32 +0000 (02:32 +0300)]
Add EOL at EOF for all authors.txt files for consistency

In some instances replaced CR/LF with LF.

7 years agomath-docs: fix a copy-paste error
Alexander Iljin [Tue, 28 Jun 2016 21:11:51 +0000 (00:11 +0300)]
math-docs: fix a copy-paste error

7 years agoeditors.emacs: pass alternative-editor param in case emacs isn't running
Björn Lindqvist [Wed, 27 Jul 2016 12:19:05 +0000 (14:19 +0200)]
editors.emacs: pass alternative-editor param in case emacs isn't running

7 years agocpu.x86.*: fix %prepare-var-args
Björn Lindqvist [Mon, 25 Jul 2016 12:15:00 +0000 (14:15 +0200)]
cpu.x86.*: fix %prepare-var-args

EAX EAX XOR over RAX shaves off one byte

7 years agowindows.fonts: call reset-memoized for windows-fonts on startup
Alexander Iljin [Mon, 25 Jul 2016 16:29:25 +0000 (19:29 +0300)]
windows.fonts: call reset-memoized for windows-fonts on startup

7 years agodb.sqlite: Fix NULL returns for INTEGER columns in sqlite
Doug Coleman [Fri, 22 Jul 2016 15:19:54 +0000 (08:19 -0700)]
db.sqlite: Fix NULL returns for INTEGER columns in sqlite

The api for getting integer/double columns from sqlite3 returns a zero, but the value could still be NULL, so an extra api check for the sqlite type is required.

Fixes #1674.

7 years agoregexp.minimize: a little bit simpler, a little bit faster.
John Benediktsson [Mon, 18 Jul 2016 17:05:38 +0000 (10:05 -0700)]
regexp.minimize: a little bit simpler, a little bit faster.

7 years agohelp.lint.checks: adding linux and windows ui disposables.
John Benediktsson [Sat, 16 Jul 2016 23:51:17 +0000 (16:51 -0700)]
help.lint.checks: adding linux and windows ui disposables.

7 years agohelp.lint.checks: factored out to no-ui-disposables word.
John Benediktsson [Sat, 16 Jul 2016 23:28:04 +0000 (16:28 -0700)]
help.lint.checks: factored out to no-ui-disposables word.

7 years agohelp.lint: use vocab-exists? and eliminate UI disposables from check.
John Benediktsson [Sat, 16 Jul 2016 23:22:06 +0000 (16:22 -0700)]
help.lint: use vocab-exists? and eliminate UI disposables from check.

7 years agovocabs.loader: one vocab-exists? word.
John Benediktsson [Sat, 16 Jul 2016 23:21:45 +0000 (16:21 -0700)]
vocabs.loader: one vocab-exists? word.

7 years agousing ``H{ } zip-index-as``.
John Benediktsson [Sat, 16 Jul 2016 17:53:36 +0000 (10:53 -0700)]
using ``H{ } zip-index-as``.

instead of ``<enum> [ swap ] H{ } assoc-map-as``.

7 years agoui: some more dark theme polish.
John Benediktsson [Sat, 16 Jul 2016 17:16:29 +0000 (10:16 -0700)]
ui: some more dark theme polish.

7 years agoui.gadgets.panes: fix #1661.
John Benediktsson [Sat, 16 Jul 2016 14:37:15 +0000 (07:37 -0700)]
ui.gadgets.panes: fix #1661.

Using old "split-lines" behavior that was needed by documents vocabulary,
rather than the new "string-lines" behavior that doesn't indicate if the
string is newline terminated.

7 years agoFUEL: fix name of customization variable
Björn Lindqvist [Wed, 13 Jul 2016 15:34:40 +0000 (17:34 +0200)]
FUEL: fix name of customization variable

7 years agoFUEL: add (require 'smie), fixes #1672
Björn Lindqvist [Wed, 13 Jul 2016 15:34:08 +0000 (17:34 +0200)]
FUEL: add (require 'smie), fixes #1672

7 years agoproject-euler.265: fix bad refactor.
John Benediktsson [Tue, 12 Jul 2016 16:07:10 +0000 (09:07 -0700)]
project-euler.265: fix bad refactor.

7 years agomath.approx: fix typo in docs.
John Benediktsson [Tue, 12 Jul 2016 04:09:11 +0000 (21:09 -0700)]
math.approx: fix typo in docs.

7 years agousing [ ... ] [ drop ] if* instead of dup [ ... ] [ 2drop ] if.
John Benediktsson [Tue, 12 Jul 2016 04:01:03 +0000 (21:01 -0700)]
using [ ... ] [ drop ] if* instead of dup [ ... ] [ 2drop ] if.

7 years agochecksums.sha: speedup, still more to do.
John Benediktsson [Tue, 12 Jul 2016 02:51:28 +0000 (19:51 -0700)]
checksums.sha: speedup, still more to do.

7 years agousing [ ] [ ... ] ?if instead of [ nip ] [ ... ] if*.
John Benediktsson [Tue, 12 Jul 2016 02:50:37 +0000 (19:50 -0700)]
using [ ] [ ... ] ?if instead of [ nip ] [ ... ] if*.

7 years agochecksums.md5: minor thing.
John Benediktsson [Mon, 11 Jul 2016 21:02:33 +0000 (14:02 -0700)]
checksums.md5: minor thing.

7 years agorandom: no need to zero bytes in M\ object random-bytes*.
John Benediktsson [Mon, 11 Jul 2016 21:00:53 +0000 (14:00 -0700)]
random: no need to zero bytes in M\ object random-bytes*.

7 years agorandom.mersenne-twister: simplify seed-random.
John Benediktsson [Mon, 11 Jul 2016 21:00:15 +0000 (14:00 -0700)]
random.mersenne-twister: simplify seed-random.

7 years agouse ?delete-file instead of [ delete-file ] ignore-errors.
John Benediktsson [Mon, 11 Jul 2016 03:28:46 +0000 (20:28 -0700)]
use ?delete-file instead of [ delete-file ] ignore-errors.

7 years agomath.integers: use must-fail instead of ignore-errors.
John Benediktsson [Mon, 11 Jul 2016 03:28:28 +0000 (20:28 -0700)]
math.integers: use must-fail instead of ignore-errors.

7 years agounicode: add the number of tests...
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.

7 years agounicode.normalize: better tests that don't spam the console.
John Benediktsson [Sun, 10 Jul 2016 23:54:02 +0000 (16:54 -0700)]
unicode.normalize: better tests that don't spam the console.

7 years agounicode.collation: 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.

7 years agohttp.server.responses: less dynamic but equal.
John Benediktsson [Sun, 10 Jul 2016 22:44:54 +0000 (15:44 -0700)]
http.server.responses: less dynamic but equal.

7 years agohttp.server.responses: load trivial responses from a text file.
John Benediktsson [Sun, 10 Jul 2016 22:26:58 +0000 (15:26 -0700)]
http.server.responses: load trivial responses from a text file.

7 years agochecksums.common: don't need next-level anymore thanks to cleanup.
Doug Coleman [Sun, 10 Jul 2016 16:40:16 +0000 (11:40 -0500)]
checksums.common: don't need next-level anymore thanks to cleanup.

7 years agochecksums.common: simplify add-checksum-bytes.
John Benediktsson [Sun, 10 Jul 2016 03:58:14 +0000 (20:58 -0700)]
checksums.common: simplify add-checksum-bytes.

7 years agochecksums: Ugly fix for incremental checksums. Add randomized unit tests to ensure...
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.

7 years agochecksums: Really fix... only add the number of extra bytes in the last unchecksummed...
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.

7 years agochecksums.common: Checksums was calculating the new length based on the entire array...
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.

7 years agohttp.server.static: add sorts on columns 1671/head
Jon Harper [Sun, 26 Jun 2016 18:35:25 +0000 (20:35 +0200)]
http.server.static: add sorts on columns

7 years agohttp.server.static, html table listings
Jon Harper [Wed, 22 Jun 2016 21:20:48 +0000 (23:20 +0200)]
http.server.static, html table listings

7 years agoFUEL: readding factor-method-definition-regex
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.

7 years agoFUEL: unused function removed
Björn Lindqvist [Sat, 2 Jul 2016 13:26:41 +0000 (15:26 +0200)]
FUEL: unused function removed

7 years agoFUEL: better symbol-capturing regexp and support for X-FUNCTION
Björn Lindqvist [Sat, 2 Jul 2016 01:28:19 +0000 (03:28 +0200)]
FUEL: better symbol-capturing regexp and support for X-FUNCTION

7 years agoFUEL: new indentation system based on smie
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

7 years agoVM: fixing small style issues
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 /* */

7 years agowindows.ole32: use sets in tests.
John Benediktsson [Fri, 1 Jul 2016 14:55:50 +0000 (07:55 -0700)]
windows.ole32: use sets in tests.

7 years agohashcash: quick fix for string argument to checksum-bytes.
John Benediktsson [Thu, 30 Jun 2016 21:50:47 +0000 (14:50 -0700)]
hashcash: quick fix for string argument to checksum-bytes.

7 years agochecksums: fix test using.
John Benediktsson [Thu, 30 Jun 2016 21:47:18 +0000 (14:47 -0700)]
checksums: fix test using.

7 years agoio.backend: remove unused normalize-directory word.
John Benediktsson [Thu, 30 Jun 2016 21:11:24 +0000 (14:11 -0700)]
io.backend: remove unused normalize-directory word.

7 years agochecksums: remove doc for stream-checksum.
John Benediktsson [Thu, 30 Jun 2016 19:34:36 +0000 (12:34 -0700)]
checksums: remove doc for stream-checksum.

7 years agochecksums: some cleanup.
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

7 years agoio.encodings.binary: move to core.
John Benediktsson [Thu, 30 Jun 2016 18:36:08 +0000 (11:36 -0700)]
io.encodings.binary: move to core.

7 years agochecksums.common: some cleanup, remove unused stuff.
John Benediktsson [Thu, 30 Jun 2016 18:13:51 +0000 (11:13 -0700)]
checksums.common: some cleanup, remove unused stuff.

7 years agoFUEL: makes accessors and tuple slots with backslashes highlight correctly
Björn Lindqvist [Thu, 30 Jun 2016 00:42:23 +0000 (02:42 +0200)]
FUEL: makes accessors and tuple slots with backslashes highlight correctly

7 years agoFUEL: fix highlighting of strings escaping quote characters
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.

7 years agochecksums.openssl: make evp-md-context private.
John Benediktsson [Wed, 29 Jun 2016 21:31:32 +0000 (14:31 -0700)]
checksums.openssl: make evp-md-context private.

7 years agochecksums.stream: article title must begin with a capital letter.
John Benediktsson [Wed, 29 Jun 2016 21:30:24 +0000 (14:30 -0700)]
checksums.stream: article title must begin with a capital letter.

7 years agodb.errors: update ignore-error parameter list to be more self-documented
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

7 years agochecksums.openssl: refactor checksum-stream and checksum-bytes
Alexander Iljin [Tue, 28 Jun 2016 06:11:56 +0000 (09:11 +0300)]
checksums.openssl: refactor checksum-stream and checksum-bytes

7 years agochecksums.openssl: implement common checksum interface
Alexander Iljin [Thu, 23 Jun 2016 07:10:57 +0000 (10:10 +0300)]
checksums.openssl: implement common checksum interface

7 years agochecksums: make add-checksum-bytes a generic word
Alexander Iljin [Tue, 21 Jun 2016 12:21:17 +0000 (15:21 +0300)]
checksums: make add-checksum-bytes a generic word

7 years agodb.queries: add ensure-index
Alexander Iljin [Sat, 20 Feb 2016 18:14:02 +0000 (22:14 +0400)]
db.queries: add ensure-index

7 years agodb.(sqlite.)errors: add sql-index-exists error
Alexander Iljin [Sat, 20 Feb 2016 18:00:50 +0000 (22:00 +0400)]
db.(sqlite.)errors: add sql-index-exists error

7 years agodb.sqlite.errors: simplify implementation
Alexander Iljin [Sat, 20 Feb 2016 17:07:42 +0000 (21:07 +0400)]
db.sqlite.errors: simplify implementation

7 years agowindows.ole32: add create-guid
Alexander Iljin [Mon, 27 Jun 2016 16:07:40 +0000 (19:07 +0300)]
windows.ole32: add create-guid

7 years agochecksums-docs: add note on using checksums.stream
Alexander Iljin [Sun, 26 Jun 2016 12:08:48 +0000 (15:08 +0300)]
checksums-docs: add note on using checksums.stream

7 years agochecksums-docs: fix heading in checksum-file
Alexander Iljin [Sun, 26 Jun 2016 12:07:32 +0000 (15:07 +0300)]
checksums-docs: fix heading in checksum-file

7 years agochecksums.stream-docs: initial commit
Alexander Iljin [Sun, 26 Jun 2016 12:04:22 +0000 (15:04 +0300)]
checksums.stream-docs: initial commit

7 years agotools.scaffold: fix scaffold-docs generating $var-decsription for classes
Alexander Iljin [Sat, 25 Jun 2016 20:13:36 +0000 (23:13 +0300)]
tools.scaffold: fix scaffold-docs generating $var-decsription for classes

7 years agoio.directories.windows: remove synchronous copy-file implementation
Alexander Iljin [Sun, 19 Jun 2016 09:12:20 +0000 (12:12 +0300)]
io.directories.windows: remove synchronous copy-file implementation

7 years agoVM: removes the signal_handler_impl methods from factor_vm
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.

7 years agococoa.views: more constants.
John Benediktsson [Wed, 29 Jun 2016 16:08:20 +0000 (09:08 -0700)]
cocoa.views: more constants.

7 years agococoa.views: add some constants for opengl.
Doug Coleman [Wed, 29 Jun 2016 05:47:11 +0000 (22:47 -0700)]
cocoa.views: add some constants for opengl.

7 years agoVM: set_border_locked is the same on windows and unix
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

7 years agoVM: factor_vm::set_callstack and set_retainstack is not needed
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

7 years agoFUEL: simplifying
Björn Lindqvist [Sun, 26 Jun 2016 11:36:03 +0000 (13:36 +0200)]
FUEL: simplifying

7 years agoyoutube: throw an error if the given youtube video isn't downloadable
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

7 years agosystem-info.macosx: macOS Sierra.
John Benediktsson [Wed, 22 Jun 2016 23:20:11 +0000 (16:20 -0700)]
system-info.macosx: macOS Sierra.

7 years ago*-docs: remove extra spaces from the end of various topics
Alexander Iljin [Fri, 17 Jun 2016 11:43:07 +0000 (14:43 +0300)]
*-docs: remove extra spaces from the end of various topics

7 years agohelp.tips: use $code snippet in a TIP: for user to run
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

7 years agoio.files.info.windows: suppress ERROR_FILE_NOT_FOUND in volume>paths
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

7 years agowindows.shell32: remove extra declaration of ERROR_FILE_NOT_FOUND
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.

7 years agoio.sockets.secure-docs: update and add some documentation
Alexander Iljin [Thu, 16 Jun 2016 22:50:54 +0000 (01:50 +0300)]
io.sockets.secure-docs: update and add some documentation

7 years agodelegate-docs: fix a copy-paste error
Alexander Iljin [Wed, 15 Jun 2016 20:35:32 +0000 (23:35 +0300)]
delegate-docs: fix a copy-paste error

7 years agodelegate-docs: add missing spaces
Alexander Iljin [Tue, 14 Jun 2016 07:47:42 +0000 (10:47 +0300)]
delegate-docs: add missing spaces

7 years agoconcurrency.mailboxes-docs: add some missing commas
Alexander Iljin [Sat, 11 Jun 2016 16:19:20 +0000 (19:19 +0300)]
concurrency.mailboxes-docs: add some missing commas

7 years agoconcurrency.messaging-docs: add a missing parenthesis
Alexander Iljin [Sat, 11 Jun 2016 16:13:15 +0000 (19:13 +0300)]
concurrency.messaging-docs: add a missing parenthesis

7 years agoio.files.windows: use open-file to implement maybe-create-file
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.

7 years agoio.files.windows: replace open-existing with open-r/w
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.

7 years agoio.files.windows: use CreateFileW in open-file for consistency
Alexander Iljin [Wed, 25 May 2016 07:18:28 +0000 (10:18 +0300)]
io.files.windows: use CreateFileW in open-file for consistency

7 years agoVM: fix the sampler_thread handle leak
Alexander Iljin [Thu, 2 Jun 2016 20:38:08 +0000 (23:38 +0300)]
VM: fix the sampler_thread handle leak

7 years agoNmakefile: remove duplicate code
Alexander Iljin [Sat, 28 May 2016 14:06:24 +0000 (17:06 +0300)]
Nmakefile: remove duplicate code

7 years agoalien.data: fix a typo
Alexander Iljin [Tue, 31 May 2016 10:08:31 +0000 (13:08 +0300)]
alien.data: fix a typo

7 years agotools.memory: move invariant code to cleanup-always quot of the cleanup
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

7 years agoio.files.info docs, sync link-info and file-info docs
Jon Harper [Wed, 22 Jun 2016 18:11:29 +0000 (20:11 +0200)]
io.files.info docs, sync link-info and file-info docs

7 years agoui.gestures: fix the cocoa ui backend which i broke by moving the modifier word
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

7 years agocompiler.*: a bunch of random doc additions
Björn Lindqvist [Tue, 21 Jun 2016 21:15:20 +0000 (23:15 +0200)]
compiler.*: a bunch of random doc additions

7 years agoui.backend.*: new vocab for keysym handling which is the same on x11 and gtk
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

7 years agox11.keysymdef, ui.backend.x11: vocab for all of x11's keycodes
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

7 years agox11.*: cosmetic fixes, breaking long lines, indenting struct slots..
Björn Lindqvist [Mon, 20 Jun 2016 00:02:23 +0000 (02:02 +0200)]
x11.*: cosmetic fixes, breaking long lines, indenting struct slots..

7 years agoFUEL: factor-previous-non-blank unused and adding doc
Björn Lindqvist [Sun, 19 Jun 2016 01:23:35 +0000 (03:23 +0200)]
FUEL: factor-previous-non-blank unused and adding doc

7 years agoui.backend.gtk.io: refactoring which removes ui.backend.gtk.io.unix
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.