]> gitweb.factorcode.org Git - factor.git/log
factor.git
6 years agoFUEL: refactoring to eliminate the eval-result variable
Björn Lindqvist [Wed, 7 Feb 2018 17:38:28 +0000 (18:38 +0100)]
FUEL: refactoring to eliminate the eval-result variable

This makes the FUEL <-> Elisp ipc much simpler. All code called from
Elisp should put one result item on the stack. The fuel-pprint word
serializes it.

6 years agocalendar.holidays: simplify M\ all holidays.
John Benediktsson [Wed, 7 Feb 2018 04:53:49 +0000 (20:53 -0800)]
calendar.holidays: simplify M\ all holidays.

6 years agoFUEL: a bunch of functions replaced with alist-get calls
Björn Lindqvist [Tue, 6 Feb 2018 04:31:02 +0000 (05:31 +0100)]
FUEL: a bunch of functions replaced with alist-get calls

6 years agoFUEL: alist-get instead of (cdr (assoc key alist))
Björn Lindqvist [Tue, 6 Feb 2018 04:19:35 +0000 (05:19 +0100)]
FUEL: alist-get instead of (cdr (assoc key alist))

alist-get is a new function in emacs 25. It makes working with assocs
a bit simpler.

6 years agogit: better use assert= than custom error + test
Björn Lindqvist [Tue, 6 Feb 2018 03:44:09 +0000 (04:44 +0100)]
git: better use assert= than custom error + test

6 years agohelp.lint.coverage: change to use a find-word that doesn't use search.
John Benediktsson [Mon, 5 Feb 2018 23:42:36 +0000 (15:42 -0800)]
help.lint.coverage: change to use a find-word that doesn't use search.

When run with the test runner, manifest is ``f``, so ``search`` breaks.

6 years agofuel.help: change find-word to use words-named.
John Benediktsson [Mon, 5 Feb 2018 23:40:46 +0000 (15:40 -0800)]
fuel.help: change find-word to use words-named.

It still returns the "first" word found (which might be dubious), but
now it supports qualified search like "math:+" find-word.

6 years agohelp.lint.coverage: fix tests using.
John Benediktsson [Mon, 5 Feb 2018 15:48:42 +0000 (07:48 -0800)]
help.lint.coverage: fix tests using.

6 years agoRevert "add $related-subsections"
John Benediktsson [Mon, 5 Feb 2018 15:46:42 +0000 (07:46 -0800)]
Revert "add $related-subsections"

This reverts commit 7c22e764f9c87120e1fdc5cdbab73717e95557c2.

6 years agoadd $related-subsections
Cat Stevens [Sun, 4 Feb 2018 17:20:57 +0000 (12:20 -0500)]
add $related-subsections

6 years agorefactor help.lint.coverage with complete docs and tests
Cat Stevens [Mon, 5 Feb 2018 01:56:11 +0000 (20:56 -0500)]
refactor help.lint.coverage with complete docs and tests

6 years agogame.input.gtk: throw in case no display is found
Björn Lindqvist [Sun, 4 Feb 2018 22:24:04 +0000 (23:24 +0100)]
game.input.gtk: throw in case no display is found

6 years agogoogle.gmail: vocab needs some docs
Björn Lindqvist [Sun, 4 Feb 2018 20:53:08 +0000 (21:53 +0100)]
google.gmail: vocab needs some docs

6 years agooauth2: vocab needs some docs
Björn Lindqvist [Sun, 4 Feb 2018 20:25:07 +0000 (21:25 +0100)]
oauth2: vocab needs some docs

6 years agov0.3 rename / rebrand pedantic lint to help coverage; rewrite again
Cat Stevens [Sat, 3 Feb 2018 18:16:53 +0000 (13:16 -0500)]
v0.3 rename / rebrand pedantic lint to help coverage; rewrite again

6 years agov0.2 help.lint.pedantic: move to extra
Cat Stevens [Fri, 2 Feb 2018 19:11:47 +0000 (14:11 -0500)]
v0.2 help.lint.pedantic: move to extra

6 years agov0.1 help.lint.pedantic
Cat Stevens [Thu, 1 Feb 2018 23:53:56 +0000 (18:53 -0500)]
v0.1 help.lint.pedantic

6 years agofix syntax typo in shaders docs
Cat Stevens [Thu, 1 Feb 2018 16:11:58 +0000 (11:11 -0500)]
fix syntax typo in shaders docs

6 years agoFUEL: fix rendering of $synopsis markup.
Björn Lindqvist [Thu, 1 Feb 2018 14:43:27 +0000 (15:43 +0100)]
FUEL: fix rendering of $synopsis markup.

It is rendered exactly the same as $see markup. It works well and was
the easiest fix to the problem.

6 years agotravis: DEBUG build, makes factor slower but catches more errors (hopefully)
Björn Lindqvist [Wed, 31 Jan 2018 17:26:46 +0000 (18:26 +0100)]
travis: DEBUG build, makes factor slower but catches more errors (hopefully)

6 years agocast fixes undefined behaviour; closes #1919 in upstream
Cat Stevens [Sat, 27 Jan 2018 18:05:07 +0000 (13:05 -0500)]
cast fixes undefined behaviour; closes #1919 in upstream

6 years agoopengl.shaders: probably better to call the gl functions directly
Björn Lindqvist [Wed, 31 Jan 2018 00:42:04 +0000 (01:42 +0100)]
opengl.shaders: probably better to call the gl functions directly

6 years agoopengl.shaders: docs + removing an unused word
Björn Lindqvist [Wed, 31 Jan 2018 00:23:11 +0000 (01:23 +0100)]
opengl.shaders: docs + removing an unused word

6 years agoFUEL: improved fuel-get-uses
Björn Lindqvist [Sun, 28 Jan 2018 02:48:09 +0000 (03:48 +0100)]
FUEL: improved fuel-get-uses

The path to the source file needs to be set when parsing, in case a
syntax word uses 'where' or some similar word.

6 years agogpu.shaders: simplified in-word's-path
Björn Lindqvist [Sun, 28 Jan 2018 02:43:01 +0000 (03:43 +0100)]
gpu.shaders: simplified in-word's-path

6 years agoui.backend.gtk: gtk_init terminates, better throw exception
Björn Lindqvist [Mon, 29 Jan 2018 10:44:27 +0000 (11:44 +0100)]
ui.backend.gtk: gtk_init terminates, better throw exception

6 years agoui.tests: remove badly baked unit test
Björn Lindqvist [Mon, 29 Jan 2018 10:42:49 +0000 (11:42 +0100)]
ui.tests: remove badly baked unit test

6 years agoui: try and ensure that the ui thread finishes #1905
Björn Lindqvist [Mon, 29 Jan 2018 06:55:36 +0000 (07:55 +0100)]
ui: try and ensure that the ui thread finishes #1905

6 years agoui: the with-ui-running combinator can be removed
Björn Lindqvist [Mon, 29 Jan 2018 06:18:39 +0000 (07:18 +0100)]
ui: the with-ui-running combinator can be removed

It was only used within the (with-ui) words which in turn were only
called by with-ui.

6 years agoRevert "cocoa.touchbar: try this."
John Benediktsson [Sun, 28 Jan 2018 19:21:23 +0000 (11:21 -0800)]
Revert "cocoa.touchbar: try this."

This reverts commit f976d97983812f073515e5f5466c8dd23f8c0557.

6 years agogpu.*: docs
Björn Lindqvist [Sat, 27 Jan 2018 21:43:36 +0000 (22:43 +0100)]
gpu.*: docs

6 years agoextra/: more uses of the do-state combinator
Björn Lindqvist [Sat, 27 Jan 2018 19:07:00 +0000 (20:07 +0100)]
extra/: more uses of the do-state combinator

6 years agogdbm: patch over an ABI change in version 1.14
Björn Lindqvist [Thu, 25 Jan 2018 20:53:32 +0000 (21:53 +0100)]
gdbm: patch over an ABI change in version 1.14

6 years agococoa.touchbar: try this.
John Benediktsson [Sat, 27 Jan 2018 00:48:12 +0000 (16:48 -0800)]
cocoa.touchbar: try this.

6 years agotools.deploy: bump up deploy size for gpu.bunny.
John Benediktsson [Fri, 26 Jan 2018 18:20:45 +0000 (10:20 -0800)]
tools.deploy: bump up deploy size for gpu.bunny.

6 years agoVM: init object_counter, silences valgrind #1886
Björn Lindqvist [Fri, 26 Jan 2018 16:17:29 +0000 (17:17 +0100)]
VM: init object_counter, silences valgrind #1886

6 years agoreadline-listener: implement vocab-word-completions.
John Benediktsson [Thu, 25 Jan 2018 01:11:44 +0000 (17:11 -0800)]
readline-listener: implement vocab-word-completions.

6 years agoui.tools.listener: implement vocab-word-completions.
John Benediktsson [Thu, 25 Jan 2018 01:11:26 +0000 (17:11 -0800)]
ui.tools.listener: implement vocab-word-completions.

6 years agotools.completion: adding complete-vocab-words?.
John Benediktsson [Thu, 25 Jan 2018 01:11:08 +0000 (17:11 -0800)]
tools.completion: adding complete-vocab-words?.

6 years agoFix the existing IN: suffixes for the test vocabs
Alexander Iljin [Wed, 24 Jan 2018 13:30:21 +0000 (14:30 +0100)]
Fix the existing IN: suffixes for the test vocabs

Change some existing vocab name suffixes from "-tests" or ".test" to
".tests". Add no new suffixes.

6 years agoopenssl.libcrypto.tests: should not forget to free the BIO
Björn Lindqvist [Wed, 24 Jan 2018 19:20:38 +0000 (20:20 +0100)]
openssl.libcrypto.tests: should not forget to free the BIO

6 years agopdf.layout: change-last needs prefix due to name clash from accessors
Björn Lindqvist [Wed, 24 Jan 2018 17:20:30 +0000 (18:20 +0100)]
pdf.layout: change-last needs prefix due to name clash from accessors

6 years agogtk.*,gdk.*: not using find-library again
Björn Lindqvist [Wed, 24 Jan 2018 14:37:47 +0000 (15:37 +0100)]
gtk.*,gdk.*: not using find-library again

6 years agoFUEL: better font-locking of gl-related words
Björn Lindqvist [Wed, 24 Jan 2018 13:27:31 +0000 (14:27 +0100)]
FUEL: better font-locking of gl-related words

6 years agoalien.libraries.finder: find-library for gtk libs
Björn Lindqvist [Wed, 24 Jan 2018 12:17:54 +0000 (13:17 +0100)]
alien.libraries.finder: find-library for gtk libs

This should make the code find the correct .so's when compiling Factor
yourself.

6 years agoalien.libraries.finder.linux.tests: correcting in
Björn Lindqvist [Wed, 24 Jan 2018 12:13:20 +0000 (13:13 +0100)]
alien.libraries.finder.linux.tests: correcting in

6 years agoops, trying to fix travis
Björn Lindqvist [Wed, 24 Jan 2018 02:17:49 +0000 (03:17 +0100)]
ops, trying to fix travis

6 years agomath.bitwise: add >signed to docs next to >even, >odd.
John Benediktsson [Tue, 23 Jan 2018 23:37:05 +0000 (15:37 -0800)]
math.bitwise: add >signed to docs next to >even, >odd.

6 years agotravis: only compile for now
Björn Lindqvist [Tue, 23 Jan 2018 21:56:33 +0000 (22:56 +0100)]
travis: only compile for now

This is to make Travis green. When we have solved the timeout issues, we can add more tests.

6 years agoboxes: add stack-effect info to if-box?.
John Benediktsson [Tue, 23 Jan 2018 04:19:57 +0000 (20:19 -0800)]
boxes: add stack-effect info to if-box?.

6 years agobson.writer: make more words private.
John Benediktsson [Tue, 23 Jan 2018 00:30:03 +0000 (16:30 -0800)]
bson.writer: make more words private.

6 years agowindows.dropfiles: need to use windows.errors.
John Benediktsson [Tue, 23 Jan 2018 00:06:04 +0000 (16:06 -0800)]
windows.dropfiles: need to use windows.errors.

6 years agofuel: forgot to push tests change for ? rename.
John Benediktsson [Mon, 22 Jan 2018 21:59:43 +0000 (13:59 -0800)]
fuel: forgot to push tests change for ? rename.

6 years agoframe-buffer: move to ui.gadgets.frame-buffer.
John Benediktsson [Mon, 22 Jan 2018 21:51:32 +0000 (13:51 -0800)]
frame-buffer: move to ui.gadgets.frame-buffer.

6 years agobiassocs: fix docs for set-at-once.
John Benediktsson [Mon, 22 Jan 2018 21:23:23 +0000 (13:23 -0800)]
biassocs: fix docs for set-at-once.

6 years agoui: rename ui-windows to worlds.
John Benediktsson [Mon, 22 Jan 2018 21:17:23 +0000 (13:17 -0800)]
ui: rename ui-windows to worlds.

6 years agowindows.dropfiles: add startup hook to reset initialization status
Alexander Iljin [Thu, 24 Aug 2017 01:14:56 +0000 (04:14 +0300)]
windows.dropfiles: add startup hook to reset initialization status

6 years agowindows.dragdrop-listener: update copyright year to 2018
Alexander Iljin [Sat, 20 Jan 2018 21:40:45 +0000 (22:40 +0100)]
windows.dragdrop-listener: update copyright year to 2018

6 years agowindows.dragdrop-listener: make it produce file-drop gestures
Alexander Iljin [Sat, 20 Jan 2018 21:40:15 +0000 (22:40 +0100)]
windows.dragdrop-listener: make it produce file-drop gestures

6 years agowindows.dropfiles: fix hwnd-reject-files and world-reject-files
Alexander Iljin [Sat, 20 Jan 2018 21:18:45 +0000 (22:18 +0100)]
windows.dropfiles: fix hwnd-reject-files and world-reject-files

6 years agowindows.dropfiles[-docs]: update copyright year to 2018
Alexander Iljin [Sat, 20 Jan 2018 21:13:08 +0000 (22:13 +0100)]
windows.dropfiles[-docs]: update copyright year to 2018

6 years agowindows.dropfiles: remove an exception suppression
Alexander Iljin [Sat, 20 Jan 2018 21:12:07 +0000 (22:12 +0100)]
windows.dropfiles: remove an exception suppression

Instead of suppressing all exceptions make a specific check for the
function avalability.

6 years agowindows.dropfiles[-docs]: remove unnecessary symbol
Alexander Iljin [Sat, 20 Jan 2018 21:10:02 +0000 (22:10 +0100)]
windows.dropfiles[-docs]: remove unnecessary symbol

6 years agoui.tools-docs: add a pointer to the file-drop gesture docs
Alexander Iljin [Mon, 26 Dec 2016 22:18:01 +0000 (01:18 +0300)]
ui.tools-docs: add a pointer to the file-drop gesture docs

6 years agoui.tools.listener: support file-drop gesture
Alexander Iljin [Thu, 24 Aug 2017 01:26:47 +0000 (04:26 +0300)]
ui.tools.listener: support file-drop gesture

The array of dropped file names is pushed onto the listener's stack.

6 years agowindows.dropfiles: add summary file
Alexander Iljin [Thu, 24 Aug 2017 01:15:11 +0000 (04:15 +0300)]
windows.dropfiles: add summary file

6 years agowindows.dropfiles[-docs]: implement the file-drop gesture
Alexander Iljin [Thu, 24 Aug 2017 01:14:56 +0000 (04:14 +0300)]
windows.dropfiles[-docs]: implement the file-drop gesture

6 years agowindows.dropfiles: move two words from windows.dragdrop-listener
Alexander Iljin [Mon, 21 Aug 2017 23:27:03 +0000 (02:27 +0300)]
windows.dropfiles: move two words from windows.dragdrop-listener

6 years agowindows.dropfiles: new vocab
Alexander Iljin [Mon, 21 Aug 2017 23:20:07 +0000 (02:20 +0300)]
windows.dropfiles: new vocab

6 years agoui.gestures[-docs]: add the file-drop gesture and the dropped-files symbol
Alexander Iljin [Thu, 24 Aug 2017 00:59:40 +0000 (03:59 +0300)]
ui.gestures[-docs]: add the file-drop gesture and the dropped-files symbol

6 years agowindows.user32: add a couple of functions and related constants
Alexander Iljin [Wed, 23 Aug 2017 21:45:06 +0000 (00:45 +0300)]
windows.user32: add a couple of functions and related constants

ChangeWindowMessageFilter is available since Vista.
ChangeWindowMessageFilterEx is available since Win7.

6 years agowindows.shell32: remove duplicate HDROP type definition
Alexander Iljin [Thu, 24 Aug 2017 01:00:18 +0000 (04:00 +0300)]
windows.shell32: remove duplicate HDROP type definition

6 years agowindows.shell32: add some file drag-drop functions
Alexander Iljin [Mon, 21 Aug 2017 22:56:46 +0000 (01:56 +0300)]
windows.shell32: add some file drag-drop functions

6 years agowindows.messages: add WM_COPYGLOBALDATA constant
Alexander Iljin [Sun, 20 Aug 2017 23:07:38 +0000 (02:07 +0300)]
windows.messages: add WM_COPYGLOBALDATA constant

6 years agowindows.dragdrop-listener: call ole-initialize when necessary
Alexander Iljin [Mon, 21 Aug 2017 00:08:55 +0000 (03:08 +0300)]
windows.dragdrop-listener: call ole-initialize when necessary

This makes the code more robust and self-reliant.

6 years agobubble-chamber: remove unused paused.
John Benediktsson [Mon, 22 Jan 2018 20:27:52 +0000 (12:27 -0800)]
bubble-chamber: remove unused paused.

6 years agotrails: remove unused paused.
John Benediktsson [Mon, 22 Jan 2018 20:27:46 +0000 (12:27 -0800)]
trails: remove unused paused.

6 years agobubble-chamber: use timers instead of threads.
John Benediktsson [Mon, 22 Jan 2018 20:23:09 +0000 (12:23 -0800)]
bubble-chamber: use timers instead of threads.

6 years agotrails: use timers instead of threads.
John Benediktsson [Mon, 22 Jan 2018 20:22:46 +0000 (12:22 -0800)]
trails: use timers instead of threads.

6 years agobiassocs: rename once-at to set-at-once.
John Benediktsson [Mon, 22 Jan 2018 20:02:04 +0000 (12:02 -0800)]
biassocs: rename once-at to set-at-once.

6 years agoREADME.md: remove extra space.
John Benediktsson [Mon, 22 Jan 2018 19:50:09 +0000 (11:50 -0800)]
README.md: remove extra space.

6 years agosorting: simplify l-next, r-next.
John Benediktsson [Mon, 22 Jan 2018 19:45:54 +0000 (11:45 -0800)]
sorting: simplify l-next, r-next.

6 years agotools.scaffold: remove unused contains-dot?, contains-separator?.
John Benediktsson [Mon, 22 Jan 2018 19:37:24 +0000 (11:37 -0800)]
tools.scaffold: remove unused contains-dot?, contains-separator?.

6 years agofuel: add ? to a couple words.
John Benediktsson [Mon, 22 Jan 2018 19:33:27 +0000 (11:33 -0800)]
fuel: add ? to a couple words.

6 years agosodium: add not loaded tag for now.
John Benediktsson [Mon, 22 Jan 2018 19:25:06 +0000 (11:25 -0800)]
sodium: add not loaded tag for now.

6 years agoui.operations: add docs for +secondary+.
John Benediktsson [Mon, 22 Jan 2018 18:59:31 +0000 (10:59 -0800)]
ui.operations: add docs for +secondary+.

6 years agoui.tools.browser: adding back/forward to touchbar.
John Benediktsson [Mon, 22 Jan 2018 18:46:50 +0000 (10:46 -0800)]
ui.tools.browser: adding back/forward to touchbar.

6 years agocpu.x86.assembler: fix article title to match other cpu.x86.
John Benediktsson [Mon, 22 Jan 2018 18:46:39 +0000 (10:46 -0800)]
cpu.x86.assembler: fix article title to match other cpu.x86.

6 years agocpu.x86.features: fix article title to start with uppercase.
John Benediktsson [Mon, 22 Jan 2018 18:18:20 +0000 (10:18 -0800)]
cpu.x86.features: fix article title to start with uppercase.

6 years agochecksums.sodium: use checksums in tests.
John Benediktsson [Mon, 22 Jan 2018 17:28:01 +0000 (09:28 -0800)]
checksums.sodium: use checksums in tests.

6 years agochecksums.sodium: add a couple of tests and the "not tested" tag
Alexander Iljin [Mon, 22 Jan 2018 17:09:39 +0000 (18:09 +0100)]
checksums.sodium: add a couple of tests and the "not tested" tag

The result for the first test (with no key) was produced using the b2sum
utility (part of Git for Windows) with the "-a blake2b" option, because
that's the hash that is currently being used by libsodium for its Generic
Hashing API.

The "not tested" tag was added to avoid adding the libsodium dependency to
the automated build evnironment.

6 years agosodium: add authenticated encryption and decryption (secretbox) functions
Alexander Iljin [Thu, 2 Mar 2017 00:37:45 +0000 (03:37 +0300)]
sodium: add authenticated encryption and decryption (secretbox) functions

6 years agochecksums.sodium: implement optional keying
Alexander Iljin [Wed, 1 Mar 2017 23:17:14 +0000 (02:17 +0300)]
checksums.sodium: implement optional keying

6 years agochecksums.sodium: support Sodium generic hash in checksums vocab
Alexander Iljin [Wed, 1 Mar 2017 22:41:49 +0000 (01:41 +0300)]
checksums.sodium: support Sodium generic hash in checksums vocab

6 years agosodium: add generic hash functions
Alexander Iljin [Wed, 1 Mar 2017 22:04:19 +0000 (01:04 +0300)]
sodium: add generic hash functions

6 years agosodium.ffi: add memory allocation and protection functions
Alexander Iljin [Wed, 1 Mar 2017 22:02:25 +0000 (01:02 +0300)]
sodium.ffi: add memory allocation and protection functions

6 years agosodium: add password hashing functions
Alexander Iljin [Wed, 1 Mar 2017 20:45:17 +0000 (23:45 +0300)]
sodium: add password hashing functions

6 years agosodium: add random data generation functions
Alexander Iljin [Wed, 1 Mar 2017 18:29:32 +0000 (21:29 +0300)]
sodium: add random data generation functions

6 years agosodium: add startup initialization hook
Alexander Iljin [Wed, 1 Mar 2017 18:04:27 +0000 (21:04 +0300)]
sodium: add startup initialization hook

6 years agosodium: import FFI stub
Alexander Iljin [Wed, 1 Mar 2017 16:54:05 +0000 (19:54 +0300)]
sodium: import FFI stub