John Benediktsson
f7b7b5afbf
urls.encoding: preserve order of URL query parameters.
2015-11-04 08:36:56 -08:00
John Benediktsson
40d454758e
linked-assocs: give linked-hash "LH{ }" literal pprint.
2015-11-04 08:36:24 -08:00
Sankaranarayanan Viswanathan
4ce72ddbfb
Show persistent border on right clicking presentation gadgets
2015-11-04 07:55:13 -08:00
Alexander Iljin
fc7b70a17e
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".
2015-11-04 07:47:57 -08:00
John Benediktsson
986bf1b2f9
Revert "Auto load urls.secure when needed"
...
This reverts commit bb7740091e
.
2015-11-04 07:45:46 -08:00
Björn Lindqvist
7b18618b3e
compiler.cfg.linear-scan.allocation.state: fixes the the 64-bit-o-centric testcases
2015-11-04 13:54:14 +01:00
Björn Lindqvist
bb6fa7267c
compiler.cfg.linear-scan.allocation.state: help-lint fixes
2015-11-04 13:38:59 +01:00
Björn Lindqvist
3718137969
webbrowser.*: let's open the file in a detached process
...
Seems more useful overall and matches how it already works on Windows.
2015-11-04 11:35:40 +01:00
Björn Lindqvist
f692200547
compiler.cfg.*: refactoring which removes spill-area-size and
...
spill-area-align from cfg
This makes the code for building the stack frame simpler.
2015-11-04 07:53:19 +01:00
Björn Lindqvist
cfe4fec574
compiler.cfg.linear-scan.*: make it so cfg is given as an argument to next-spill-slot
2015-11-04 07:53:19 +01:00
Doug Coleman
67e7874e91
io.files.info.unix.linux: Special characters in mount points are encoded as octal escape sequences.
2015-11-03 15:55:14 -08:00
Doug Coleman
d23aa7e1f1
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.
2015-11-02 21:36:10 -08:00
Doug Coleman
acdd529983
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!
2015-11-02 21:19:12 -08:00
Doug Coleman
51ecaa5ab4
io.files.windows: ALIEN: -1 puts an expired alien in the image. -1 <alien>
...
it is then.
2015-11-02 21:18:49 -08:00
Doug Coleman
d645b2e17c
io.monitors.windows: Strip the :Zone.Identifier from pathnames reported
...
by the file change api.
2015-11-01 19:58:05 -08:00
Doug Coleman
26e5c1aecf
windows.kernel32, io.files.windows: Add support for listing alternate data
...
streams, e.g. file paths like foo.txt:Zone.Identifier.
2015-11-01 18:17:51 -08:00
Sankaranarayanan Viswanathan
bb7740091e
Auto load urls.secure when needed
2015-10-29 21:28:22 -07:00
Björn Lindqvist
c773ce6463
ui.tools.listener: revert the commit that added UP/DOWN keybindings to
...
cycle history
2015-10-30 02:18:08 +01:00
Björn Lindqvist
d4a127211d
ui.backend.cocoa: fix for the silly error I made in 7bc1009973
2015-10-29 04:41:36 +01:00
Björn Lindqvist
705e2b8d4b
ui.tools.listener: only recall if the lexer-error is aborted ( #375 )
2015-10-28 16:31:13 +01:00
Björn Lindqvist
7bc1009973
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.
2015-10-27 19:00:28 +01:00
Björn Lindqvist
73893693d3
ui.backend.*: the offscreen buffer hooks appear unused - let's delete!
2015-10-27 16:58:01 +01:00
John Benediktsson
dac179bc33
unicode.normalize: cleanup usings.
2015-10-26 18:25:52 -07:00
Björn Lindqvist
8cd471eda6
images.loader.gdiplus: both BGRA and BGRX formats are supported
2015-10-25 21:57:41 +01:00
John Benediktsson
8a2cf5d67b
fonts: fix name of sans-serif font.
2015-10-25 13:32:02 -07:00
Björn Lindqvist
9ca00a3c75
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.
2015-10-24 14:44:30 +02:00
Björn Lindqvist
594eb3774d
fonts: turn hardcoded font names and sizes into constants
2015-10-24 14:29:12 +02:00
Björn Lindqvist
f2f7fd0b94
ui.tools.listener: recall the last command on parse errors
2015-10-23 17:59:04 +02:00
Björn Lindqvist
5f6ec2ba8b
ui.tools.listener.tests: fix tests, manifest needs to be set and vocab used
2015-10-22 23:33:46 +02:00
Björn Lindqvist
436cb76dd3
windows.uniscribe: add SSA_FALLBACK and SSA_TAB to the flags, should fix #860
2015-10-22 23:14:55 +02:00
Björn Lindqvist
ff118771ae
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.
2015-10-22 18:02:35 +02:00
Björn Lindqvist
d15c5bced4
ui.tools.listener: tried to simplify stream-read-quot and handle-interactive
2015-10-22 18:02:35 +02:00
Björn Lindqvist
0795d21e46
ui.backend.gtk: on-key-press and on-key-release can be merged into one
...
on-key-press/release handler
2015-10-22 18:02:35 +02:00
Björn Lindqvist
9b5cb445ee
tools.ps.linux: recover from missing file in ps-cmdline, fixes #1120
2015-10-20 16:55:48 +02:00
Björn Lindqvist
8bb96cbfd1
ui.gadgets.incremental: fix so that the scrolled of gadgets are ungrafted
2015-10-18 17:35:26 +02:00
Björn Lindqvist
0f803aa84b
ui.gadgets.tests: clear the layout queue, so test dont interfere with
...
other tests
2015-10-17 15:58:59 +02:00
Björn Lindqvist
27f54fc123
ui.gadgets.tests: fix the test (layout-queue is a vector now)
2015-10-16 22:28:31 +02:00
Björn Lindqvist
d2181a9e71
ui.gadgets.incremental: trivial scrolling, maybe solves #1488 ?
2015-10-16 10:55:48 +02:00
Björn Lindqvist
4812cec634
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.
2015-10-16 09:20:29 +02:00
Björn Lindqvist
9af7be2ef9
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.
2015-10-15 18:34:49 +02:00
Björn Lindqvist
1873eda1d2
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.
2015-10-15 16:29:49 +02:00
Björn Lindqvist
302220c535
dlists: new word dlist-length for getting the length
2015-10-15 16:27:23 +02:00
Björn Lindqvist
c0d1d2f331
ui.*: a little more ui docs
2015-10-15 16:27:15 +02:00
Björn Lindqvist
420ca29795
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.
2015-10-14 03:05:16 +02:00
Björn Lindqvist
f9e5d4f22c
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.
2015-10-14 00:22:26 +02:00
Björn Lindqvist
575da3e478
VM: fix so that errno is set if MoveFileEx fails, should fix #1490
2015-10-12 12:19:21 +02:00
Björn Lindqvist
37cd54cfbb
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
2015-10-11 04:21:43 +02:00
Björn Lindqvist
e35087fb22
io.files.windows: fix incorrect parsing of file attribute bitfield in win32-file-attributes
2015-10-11 04:11:30 +02:00
Björn Lindqvist
e8841a4967
classes.struct: fix for struct equality and hashcode #1194
...
Instead of comparing the structs underlying byte arrays, get their slots
and compare that.
2015-10-10 23:58:04 +02:00
Björn Lindqvist
81ad3e21cb
tuple-arrays: initial-values can be reused here to create the tuple
...
array sequence
2015-10-10 23:58:04 +02:00