Commit Graph

28314 Commits (05a8ac242330255eeb9b0e4d424847e9cae86d83)

Author SHA1 Message Date
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 7646ae71dd color-picker: small refactoring 2015-11-04 10:03:52 +01:00
Björn Lindqvist b035e8ec13 math.hashcodes,python.syntax: bi@ and -> both? 2015-11-04 09:25:32 +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
John Benediktsson 48a0fa5428 hacker-news: no longer need to load urls.secure! 2015-10-29 21:29:33 -07: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
John Benediktsson 2fc178e518 arrays: don't need to use slots.private. 2015-10-29 09:05:12 -07:00
Björn Lindqvist 05b6d2d19b arrays: can use the length>> accessor instead 2015-10-29 06:36:38 +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 1ee0823e52 arrays: make it so pair? doesn't call length, fixes #1496 2015-10-29 00:48:18 +01:00
Björn Lindqvist 4b4a5d24e9 FUEL: better font-locking of a bunch of syntax
Like for PREDICATE:, GAME: and SINGLETONS:
2015-10-29 00:44:08 +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
Björn Lindqvist 00c051cc8a slides: some useful keybindings added 2015-10-25 21:57:40 +01:00
Björn Lindqvist cdd0f28a6f talks: let's move all the talks vocabs to its own hierarchy 2015-10-25 21:57:38 +01:00
Björn Lindqvist ea5ceabca7 slides: add a title to the slides windows, looks a little more polished that way 2015-10-25 21:57:37 +01:00
John Benediktsson 8a2cf5d67b fonts: fix name of sans-serif font. 2015-10-25 13:32:02 -07:00
John Benediktsson a1a9326307 hacker-news: require urls.secure for https urls. 2015-10-25 13:31:35 -07:00
Björn Lindqvist 753ebb1582 slides: fix the vocab to use relative sizes 2015-10-24 14:57:54 +02: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
Arkady Rost 6809bbe29a Fix clang version pattern
'Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)' was parsed incorrectly.
2015-10-22 17:07:02 -07: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
John Benediktsson 4851a5e14d file-picker.linux: more correct to use gint instead of int. 2015-10-21 16:57:45 -07: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