]>
gitweb.factorcode.org Git - factor.git/log
John Benediktsson [Wed, 4 Nov 2015 18:27:13 +0000 (10:27 -0800)]
Factor.app: new icons.
John Benediktsson [Wed, 4 Nov 2015 18:24:27 +0000 (10:24 -0800)]
xdg: adding a XDG Base Directory Specification.
John Benediktsson [Wed, 4 Nov 2015 18:18:21 +0000 (10:18 -0800)]
New icons.
John Benediktsson [Wed, 4 Nov 2015 17:16:02 +0000 (09:16 -0800)]
linked-assocs: move prettyprint stuff to its own vocab.
John Benediktsson [Wed, 4 Nov 2015 16:43:08 +0000 (08:43 -0800)]
urls.encoding: fix tests for linked-hash changes.
John Benediktsson [Wed, 4 Nov 2015 16:36:56 +0000 (08:36 -0800)]
urls.encoding: preserve order of URL query parameters.
John Benediktsson [Wed, 4 Nov 2015 16:36:24 +0000 (08:36 -0800)]
linked-assocs: give linked-hash "LH{ }" literal pprint.
Sankaranarayanan Viswanathan [Tue, 3 Nov 2015 03:24:36 +0000 (22:24 -0500)]
Show persistent border on right clicking presentation gadgets
Alexander Iljin [Tue, 29 Sep 2015 14:48:10 +0000 (17:48 +0300)]
Rename variables in some stack declarations for consistency.
It doesn't look great when a word is called "v/n", but the declared
parameters are "u" and "n". Better to have the parameters "v" and "n".
Also for consistency all input parameters are named "v" for "vector" (or
"u" and "v" in the alphabetical order), and the result vector is always
"w".
John Benediktsson [Wed, 4 Nov 2015 15:45:49 +0000 (07:45 -0800)]
Revert "hacker-news: no longer need to load urls.secure!"
This reverts commit
48a0fa5428655992201964f0d3d0e37fab57252b .
John Benediktsson [Wed, 4 Nov 2015 15:45:46 +0000 (07:45 -0800)]
Revert "Auto load urls.secure when needed"
This reverts commit
bb7740091eac7e88c240f19a92d6e9111aa78533 .
Björn Lindqvist [Wed, 4 Nov 2015 12:54:14 +0000 (13:54 +0100)]
compiler.cfg.linear-scan.allocation.state: fixes the the 64-bit-o-centric testcases
Björn Lindqvist [Wed, 4 Nov 2015 12:38:59 +0000 (13:38 +0100)]
compiler.cfg.linear-scan.allocation.state: help-lint fixes
Björn Lindqvist [Wed, 4 Nov 2015 10:35:40 +0000 (11:35 +0100)]
webbrowser.*: let's open the file in a detached process
Seems more useful overall and matches how it already works on Windows.
Björn Lindqvist [Wed, 4 Nov 2015 09:03:52 +0000 (10:03 +0100)]
color-picker: small refactoring
Björn Lindqvist [Wed, 4 Nov 2015 08:25:32 +0000 (09:25 +0100)]
math.hashcodes,python.syntax: bi@ and -> both?
Björn Lindqvist [Mon, 2 Nov 2015 17:40:13 +0000 (18:40 +0100)]
compiler.cfg.*: refactoring which removes spill-area-size and
spill-area-align from cfg
This makes the code for building the stack frame simpler.
Björn Lindqvist [Sun, 1 Nov 2015 08:57:07 +0000 (09:57 +0100)]
compiler.cfg.linear-scan.*: make it so cfg is given as an argument to next-spill-slot
Doug Coleman [Tue, 3 Nov 2015 23:55:14 +0000 (15:55 -0800)]
io.files.info.unix.linux: Special characters in mount points are encoded as octal escape sequences.
Doug Coleman [Tue, 3 Nov 2015 05:36:10 +0000 (21:36 -0800)]
vocabs.refresh.monitor: Add exception handling in monitor-loop so that if
a path isn't a valid vocabulary name then we print an error. Should spam
the console on windows downloads but 1) only for .com not the .exe, 2) we
prefer people to build from source in which case the :Zone.Identifier ADS
will not be present, and 3) it will educate people about ADS hopefully.
If it's annoying we can turn it off.
Doug Coleman [Tue, 3 Nov 2015 05:19:12 +0000 (21:19 -0800)]
io.monitors.windows: ADS pathnames crashing the monitors threads is the
real culprit. Back out change and print out the crash and error message instead of ignoring
errors!
Doug Coleman [Tue, 3 Nov 2015 05:18:49 +0000 (21:18 -0800)]
io.files.windows: ALIEN: -1 puts an expired alien in the image. -1 <alien>
it is then.
Doug Coleman [Mon, 2 Nov 2015 03:58:05 +0000 (19:58 -0800)]
io.monitors.windows: Strip the :Zone.Identifier from pathnames reported
by the file change api.
Doug Coleman [Mon, 2 Nov 2015 02:17:51 +0000 (18:17 -0800)]
windows.kernel32, io.files.windows: Add support for listing alternate data
streams, e.g. file paths like foo.txt:Zone.Identifier.
John Benediktsson [Fri, 30 Oct 2015 04:29:33 +0000 (21:29 -0700)]
hacker-news: no longer need to load urls.secure!
Sankaranarayanan Viswanathan [Thu, 29 Oct 2015 01:13:51 +0000 (21:13 -0400)]
Auto load urls.secure when needed
Björn Lindqvist [Fri, 30 Oct 2015 01:16:37 +0000 (02:16 +0100)]
ui.tools.listener: revert the commit that added UP/DOWN keybindings to
cycle history
John Benediktsson [Thu, 29 Oct 2015 16:05:12 +0000 (09:05 -0700)]
arrays: don't need to use slots.private.
Björn Lindqvist [Thu, 29 Oct 2015 05:36:38 +0000 (06:36 +0100)]
arrays: can use the length>> accessor instead
Björn Lindqvist [Thu, 29 Oct 2015 03:41:36 +0000 (04:41 +0100)]
ui.backend.cocoa: fix for the silly error I made in
7bc1009973d26579dba598ceee2f10444ecb6749
Björn Lindqvist [Wed, 28 Oct 2015 23:48:18 +0000 (00:48 +0100)]
arrays: make it so pair? doesn't call length, fixes #1496
Björn Lindqvist [Wed, 28 Oct 2015 23:44:08 +0000 (00:44 +0100)]
FUEL: better font-locking of a bunch of syntax
Like for PREDICATE:, GAME: and SINGLETONS:
Björn Lindqvist [Wed, 28 Oct 2015 15:31:13 +0000 (16:31 +0100)]
ui.tools.listener: only recall if the lexer-error is aborted (#375)
Björn Lindqvist [Tue, 27 Oct 2015 18:00:28 +0000 (19:00 +0100)]
ui.*: make active? an integer 0-100
A UI backend can delay setting active? to 100 until the windows actually
is visible. That way, some redundant redraws that happen when the window
isn't visible is supressed. It makes the Windows and GTK UI startup a
little faster.
Björn Lindqvist [Mon, 26 Oct 2015 02:47:49 +0000 (03:47 +0100)]
ui.backend.*: the offscreen buffer hooks appear unused - let's delete!
John Benediktsson [Tue, 27 Oct 2015 01:25:35 +0000 (18:25 -0700)]
unicode.normalize: cleanup usings.
Björn Lindqvist [Sun, 25 Oct 2015 20:53:30 +0000 (21:53 +0100)]
images.loader.gdiplus: both BGRA and BGRX formats are supported
Björn Lindqvist [Sun, 25 Oct 2015 15:33:53 +0000 (16:33 +0100)]
slides: some useful keybindings added
Björn Lindqvist [Sat, 24 Oct 2015 22:59:59 +0000 (00:59 +0200)]
talks: let's move all the talks vocabs to its own hierarchy
Björn Lindqvist [Sat, 24 Oct 2015 21:05:13 +0000 (23:05 +0200)]
slides: add a title to the slides windows, looks a little more polished that way
John Benediktsson [Sun, 25 Oct 2015 20:32:02 +0000 (13:32 -0700)]
fonts: fix name of sans-serif font.
John Benediktsson [Sun, 25 Oct 2015 20:31:16 +0000 (13:31 -0700)]
hacker-news: require urls.secure for https urls.
Björn Lindqvist [Sat, 24 Oct 2015 12:57:54 +0000 (14:57 +0200)]
slides: fix the vocab to use relative sizes
Björn Lindqvist [Sat, 24 Oct 2015 12:44:30 +0000 (14:44 +0200)]
help.stylesheet: make sizes calculated relative to the default-font-size
This makes Factors ui much easier to adapt to hidpi screens. You change
the default-font-size and elements should grow or shrink in proportion.
Björn Lindqvist [Sat, 24 Oct 2015 12:29:12 +0000 (14:29 +0200)]
fonts: turn hardcoded font names and sizes into constants
Björn Lindqvist [Fri, 23 Oct 2015 15:59:04 +0000 (17:59 +0200)]
ui.tools.listener: recall the last command on parse errors
Arkady Rost [Thu, 22 Oct 2015 08:06:00 +0000 (11:06 +0300)]
Fix clang version pattern
'Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)' was parsed incorrectly.
Björn Lindqvist [Thu, 22 Oct 2015 21:33:46 +0000 (23:33 +0200)]
ui.tools.listener.tests: fix tests, manifest needs to be set and vocab used
Björn Lindqvist [Thu, 22 Oct 2015 21:14:55 +0000 (23:14 +0200)]
windows.uniscribe: add SSA_FALLBACK and SSA_TAB to the flags, should fix #860
Björn Lindqvist [Thu, 22 Oct 2015 08:42:10 +0000 (10:42 +0200)]
ui.tools.listener: call interactor-finish before try-parse #375
Also changes the parse error handling in try-parse. If a parse error
occurs it is wrapped in a small quotation to defer handling it until the
quotation is ran.
Björn Lindqvist [Thu, 22 Oct 2015 04:57:27 +0000 (06:57 +0200)]
ui.tools.listener: tried to simplify stream-read-quot and handle-interactive
Björn Lindqvist [Tue, 20 Oct 2015 15:13:40 +0000 (17:13 +0200)]
ui.backend.gtk: on-key-press and on-key-release can be merged into one
on-key-press/release handler
John Benediktsson [Wed, 21 Oct 2015 23:57:45 +0000 (16:57 -0700)]
file-picker.linux: more correct to use gint instead of int.
Björn Lindqvist [Tue, 20 Oct 2015 14:55:48 +0000 (16:55 +0200)]
tools.ps.linux: recover from missing file in ps-cmdline, fixes #1120
Björn Lindqvist [Sun, 18 Oct 2015 15:35:26 +0000 (17:35 +0200)]
ui.gadgets.incremental: fix so that the scrolled of gadgets are ungrafted
Björn Lindqvist [Sat, 17 Oct 2015 13:58:59 +0000 (15:58 +0200)]
ui.gadgets.tests: clear the layout queue, so test dont interfere with
other tests
Björn Lindqvist [Fri, 16 Oct 2015 20:28:31 +0000 (22:28 +0200)]
ui.gadgets.tests: fix the test (layout-queue is a vector now)
Björn Lindqvist [Fri, 16 Oct 2015 08:55:48 +0000 (10:55 +0200)]
ui.gadgets.incremental: trivial scrolling, maybe solves #1488?
Björn Lindqvist [Fri, 16 Oct 2015 07:20:29 +0000 (09:20 +0200)]
ui.gadgets.buttons: memoize the roll button themes pens
It reduces memory usage by about 10% for the #1488 test on my machine
and doesnt seem to have any bad side-effects.
Björn Lindqvist [Thu, 15 Oct 2015 16:34:49 +0000 (18:34 +0200)]
ui: the layout-queue is more efficient as a vector than a dlist
Improves memory usage in the #1488 example from about 20,4% to 17,4% on
my machine.
Björn Lindqvist [Thu, 15 Oct 2015 14:29:49 +0000 (16:29 +0200)]
ui.gadgets: ensure that layout-later yields if the queue gets to large
This improves memory utilization a lot for #1488. Otherwise the queue
grows to two million entries before being processed.
Björn Lindqvist [Thu, 15 Oct 2015 13:16:57 +0000 (15:16 +0200)]
dlists: new word dlist-length for getting the length
Björn Lindqvist [Thu, 15 Oct 2015 12:44:18 +0000 (14:44 +0200)]
ui.*: a little more ui docs
Björn Lindqvist [Thu, 15 Oct 2015 00:41:40 +0000 (02:41 +0200)]
FUEL: better highlighting for some uncommon syntax words
Björn Lindqvist [Wed, 14 Oct 2015 22:13:54 +0000 (00:13 +0200)]
contributors: to read from a git process I think utf8 should always be used
Björn Lindqvist [Wed, 14 Oct 2015 01:05:16 +0000 (03:05 +0200)]
ui.tools.listener: make it so up/down arrows can be used for history
cycling
It's how it works in most CLIs so it's nice if it works in Factor too.
Björn Lindqvist [Tue, 13 Oct 2015 22:22:26 +0000 (00:22 +0200)]
ui.backend.gtk: tune the order of the setup tasks in (open-window)
The fix for #1307 made bug #776 come back. Apparently gtk is kind of
britle so the widget setup must be done in a very specific order.
Björn Lindqvist [Mon, 12 Oct 2015 10:19:21 +0000 (12:19 +0200)]
VM: fix so that errno is set if MoveFileEx fails, should fix #1490
Björn Lindqvist [Sun, 11 Oct 2015 02:21:43 +0000 (04:21 +0200)]
io.files.windows.tests: windows test for the save-image not failing failure #1489
this one really should always throw permission denied or else something
is very spooky
Björn Lindqvist [Sun, 11 Oct 2015 02:11:30 +0000 (04:11 +0200)]
io.files.windows: fix incorrect parsing of file attribute bitfield in win32-file-attributes
Björn Lindqvist [Sat, 10 Oct 2015 21:53:38 +0000 (23:53 +0200)]
classes.struct: fix for struct equality and hashcode #1194
Instead of comparing the structs underlying byte arrays, get their slots
and compare that.
Björn Lindqvist [Sat, 10 Oct 2015 20:12:51 +0000 (22:12 +0200)]
tuple-arrays: initial-values can be reused here to create the tuple
array sequence
John Benediktsson [Sat, 10 Oct 2015 16:55:40 +0000 (09:55 -0700)]
memory: disable a test to get a clean win32 build.
Doug Coleman [Sat, 10 Oct 2015 03:38:30 +0000 (20:38 -0700)]
kernel32: Fix a typo, fix a constant value, another typo, add three more
flags to the monitors api.
Doug Coleman [Sat, 10 Oct 2015 02:50:06 +0000 (19:50 -0700)]
io.files.windows: SetFilePointer takes a PLONG not a uint pointer.
Doug Coleman [Sat, 10 Oct 2015 02:21:24 +0000 (19:21 -0700)]
io.monitors.windows: make a DWORD ref instead of a uint. probably
irrelevant but it's what the win32 api header uses.
Björn Lindqvist [Thu, 8 Oct 2015 18:41:59 +0000 (20:41 +0200)]
VM: replaced calls to out_of_memory() with fatal_error()
No need for a special out of memory function -- it's just a kind of
fatal error. Also make fatal_error() call dump_memory_layout() for
easier debugging.
Björn Lindqvist [Thu, 8 Oct 2015 14:25:35 +0000 (16:25 +0200)]
VM: prettier and more detailed output when dumping generations
Björn Lindqvist [Thu, 8 Oct 2015 13:29:14 +0000 (15:29 +0200)]
unix.ffi,windows.winsock: add the rest of the AI_* flags
Currently unused, but they are useful if you are calling the getaddrinfo
function directly
Björn Lindqvist [Thu, 8 Oct 2015 13:05:13 +0000 (15:05 +0200)]
io.servers: filter the list of addrspecs in listen-on so that only
usable ones remains
"localhost" resolve-host can return unusable ipv6 addresses on hosts not
supporting ipv6. So a filtering step is needed in listen-on.
Doug Coleman [Wed, 7 Oct 2015 06:41:35 +0000 (06:41 +0000)]
factor.sh: fix parsing of version on linux. add another regexp to find where ``version`` ends, and this is the start of the real version number.
arch linux: clang version 3.7.0 (tags/RELEASE_370/final)
mac: Apple LLVM version 7.0.0 (clang-700.0.72)
Björn Lindqvist [Tue, 6 Oct 2015 12:02:26 +0000 (14:02 +0200)]
fuel.listener: new vocab with a listener better for FUEL (#1486)
Björn Lindqvist [Tue, 6 Oct 2015 12:00:19 +0000 (14:00 +0200)]
io.serial.linux: some useful extra termios constants
Björn Lindqvist [Tue, 6 Oct 2015 11:54:33 +0000 (13:54 +0200)]
fuel: move the server-starting main to the fuel.remote vocab
Björn Lindqvist [Tue, 6 Oct 2015 11:28:38 +0000 (13:28 +0200)]
readline-listener: readline-listener can call listener-main which prints version-info
Björn Lindqvist [Mon, 5 Oct 2015 15:04:36 +0000 (17:04 +0200)]
listener: only call parser-quiet? off when listener starts
it probably shouldn't be called on every input loop because then if you
set parser-quiet? to t, the setting will be undone
Björn Lindqvist [Sun, 4 Oct 2015 01:41:32 +0000 (03:41 +0200)]
webapps.utils: new vocab with common code used in most webapps
Björn Lindqvist [Sun, 4 Oct 2015 01:07:29 +0000 (03:07 +0200)]
webapps.wiki.example: new vocab to show how the wiki webapp should be
run
it's a little tricky to figure out so a vocab demonstrating it is useful
Björn Lindqvist [Sun, 4 Oct 2015 00:26:02 +0000 (02:26 +0200)]
furnace.recaptcha: logic in recaptcha-url was wrong, fix and test case
Björn Lindqvist [Sat, 3 Oct 2015 23:25:11 +0000 (01:25 +0200)]
io.sockets.secure.debug: use <test-secure-config> in some places
the word can be reused in a few places when setting up ssl. it removes
some duplicated code
John Benediktsson [Fri, 2 Oct 2015 18:32:20 +0000 (11:32 -0700)]
http.server.static: better fix for cgi-docs issue.
John Benediktsson [Fri, 2 Oct 2015 18:25:36 +0000 (11:25 -0700)]
http.server.cgi: different fix maybe.
John Benediktsson [Fri, 2 Oct 2015 18:12:56 +0000 (11:12 -0700)]
Revert "http.server.cgi: fix for the dependency cycle http.server.cgi <=>"
This reverts commit
51c5484e24bb8aaebccc22a661e205b2bfd10621 .
Björn Lindqvist [Fri, 2 Oct 2015 12:19:47 +0000 (14:19 +0200)]
http.server.cgi: fix for the dependency cycle http.server.cgi <=>
http.server.static (#1311)
Björn Lindqvist [Fri, 2 Oct 2015 11:14:26 +0000 (13:14 +0200)]
furnace.auth.login: name of the realm is already set in the <login-realm> constructor
Doug Coleman [Thu, 1 Oct 2015 17:04:13 +0000 (17:04 +0000)]
vm: MoveFileEx returns BOOL which needs help converting to C++ bool.
John Benediktsson [Thu, 1 Oct 2015 15:15:14 +0000 (08:15 -0700)]
debugger: adding strerror of the errno to io-error.
Björn Lindqvist [Thu, 1 Oct 2015 13:52:51 +0000 (15:52 +0200)]
io.directories.unix,environment.unix: better to use
native-string-encoding over hardcoding utf8
John Benediktsson [Thu, 1 Oct 2015 02:03:39 +0000 (19:03 -0700)]
vm: fix signature for safe_fopen.
John Benediktsson [Wed, 30 Sep 2015 04:25:11 +0000 (21:25 -0700)]
math: use "i/f" for stack effect.