Commit Graph

1298 Commits (155cc440202fbdab9fb087029d60af7df54e74e7)

Author SHA1 Message Date
John Benediktsson ca9137767b ui.tools.listener: adding path completion to listener. 2012-10-22 18:51:52 -07:00
Jon Harper b3ff75cec2 ui.backend.gtk: better gesture for shift tab
gdk emits ISO_Left_Tab for shift + tab. Not sure if factor should silently
transform that in tab..
With this patch, shift tabs emits the following gesture:
T{ key-down { mods { S+ } } { sym "TAB" } }
2012-09-29 15:54:15 +02:00
John Benediktsson 225e87339b update some docs that should use $quotation. 2012-09-27 11:09:17 -07:00
John Benediktsson 80e2309e17 ui.tools.listener.completion: color private vocabs red in completion-mode. 2012-09-25 14:49:49 -07:00
John Benediktsson 61fa05942b ui.tools.listener.completion: fix row color for words in our search list. 2012-09-25 11:45:38 -07:00
John Benediktsson a5b91e181a tools.completion: moving "complete-?" words. 2012-09-25 09:10:44 -07:00
John Benediktsson 5e57a8258d ui.gadgets.paragraphs: cache width in "line" object. 2012-09-24 18:29:51 -07:00
John Benediktsson 2f99a33e36 ui.tools.listener: adding COLOR: completions. 2012-09-24 15:07:30 -07:00
John Benediktsson ea276574c5 ui.tools.browser.popups: fix hand-loc get-global. 2012-09-21 18:42:00 -07:00
John Benediktsson a32ac00389 ui.text: more globals. 2012-09-21 18:40:38 -07:00
John Benediktsson be85b3bee3 ui: hand-loc and hand-click-loc should be global. 2012-09-21 18:32:43 -07:00
John Benediktsson f1c62deb03 ui: use "windows get-global". 2012-09-21 15:39:49 -07:00
Doug Coleman 84c1137eb4 windows.uniscribe: Render image lazily. Speeds up panes benchmark. 2012-09-21 09:54:40 -07:00
John Benediktsson 07194b4741 ui.text.pango: lazy render images like core-text backend. 2012-09-21 08:16:48 -07:00
John Benediktsson 7e3391ffb0 ui.gadgets.tables: i think this is clearer. 2012-09-20 18:24:57 -07:00
John Benediktsson 98a8230d1c ui.gadgets.tables: fix stack effect names. 2012-09-20 18:24:57 -07:00
John Benediktsson 6d447cb939 ui.gadgets.tables: cache table rows only on model-changed. 2012-09-20 18:24:57 -07:00
John Benediktsson 37b27b7fbe ui.gadgets.tables: reduce generic dispatch. 2012-09-20 18:24:57 -07:00
John Benediktsson 88b196dc8c ui.gadgets.tables: some performance improvements. 2012-09-20 08:34:43 -07:00
John Benediktsson cfa87365e3 ui.baseline-alignment: add concept of "aligned-gadget".
This type of gadget caches baseline and cap-height for performance.
2012-09-18 15:48:49 -07:00
John Benediktsson b80992b27a Revert "ui.gadgets.labels: use font-metrics directly."
This reverts commit d9fdd71d64.
2012-09-18 09:19:29 -07:00
John Benediktsson 45f0db5f78 ui.gadgets: add some inline. 2012-09-17 17:21:31 -07:00
John Benediktsson 25aadd2dc2 ui.text.pango: don't create unnecessary font objects. 2012-09-17 14:17:57 -07:00
John Benediktsson eb1a4db801 ui.gadgets.labels: use font-metrics directly. 2012-09-17 14:12:25 -07:00
John Benediktsson 8e3c79b841 ui.gadgets.paragraphs: cache the wrapped paragraph for performance. 2012-09-17 14:12:25 -07:00
John Benediktsson d5900ba7ee ui.gadgets: inline gadget-child and nth-gadget. 2012-09-17 14:12:25 -07:00
Doug Coleman 27f445d505 assocs: Add sift-keys and sift-values. Remove three other implementations
of sift-values and use the new one.
2012-08-23 22:36:10 -07:00
John Benediktsson 1ee1a793de ui.tools.browser: fix stack effect name. 2012-08-17 10:13:44 -07:00
John Benediktsson 93a2775248 ui.tools.operations: fix crash clicking on a model that hasn't been initialized properly. 2012-08-13 17:02:39 -07:00
John Benediktsson 7b2b3f5e9f ui.tools.listener.completion: make sure "IN:<Ctrl-h>" works. 2012-08-13 15:16:16 -07:00
Doug Coleman bf86504c1a ui.tools.browser: Support resize on + and _. 2012-08-07 14:46:09 -07:00
John Benediktsson f94853c8b7 ui.tools.browser: adding +/- font size commands. 2012-08-07 12:28:45 -07:00
John Benediktsson f05954c5a9 core-text: use cached-lines get-global. 2012-08-02 21:35:28 -07:00
John Benediktsson a056a81307 ui.backend.gtk.io.unix: switch to "mx get-global". 2012-08-01 16:22:23 -07:00
John Benediktsson 04dd210b37 ui.gadgets: fix docs for max-dims. 2012-08-01 07:37:44 -07:00
John Benediktsson 17edc5e63a ui: short-circuit layout-queued if deque is empty. 2012-07-31 20:26:51 -07:00
John Benediktsson c36adbd749 ui.gadgets: faster max-dims and sum-dims. 2012-07-31 20:23:32 -07:00
John Benediktsson 9ffef3f881 ui.tools.operations: allow watch on non-annotated words, reset on annotated ones. 2012-07-27 14:06:52 -07:00
John Benediktsson 2f93d9dedd ui.tools.listener.completion: make sure "USE: vocab <TAB>" works right. 2012-07-27 08:47:57 -07:00
John Benediktsson 4b7d7aed1c ui.tools.listener.completion: fix complete-vocab? check (also its faster now). 2012-07-26 18:58:21 -07:00
John Benediktsson 9cfbf99c15 ui.tools.listener: adding tests for Ctrl-D. 2012-07-23 12:02:11 -07:00
John Benediktsson e6dc084aa7 ui.tools.listener: adding some tests for interactor read-until. 2012-07-23 11:48:24 -07:00
John Benediktsson 3b5094a73c ui.tools.listener: fix read-until with Ctrl-D. 2012-07-23 11:07:03 -07:00
John Benediktsson 5589b2bbd2 ui.tools.listener: fix stream-read-until on interactor gadgets. 2012-07-22 15:16:39 -07:00
John Benediktsson efe2926d8e ui: change some places to call safe-summary. 2012-07-22 14:37:15 -07:00
John Benediktsson 4e72d80256 Using "same?" in more places. 2012-07-21 10:22:44 -07:00
John Benediktsson 1a73e79ef7 cleanup some use of with-scope. 2012-07-19 13:55:34 -07:00
John Benediktsson 559b5bfa5b using the new H{ } make. 2012-07-19 09:50:09 -07:00
Doug Coleman 42f4dc36b2 namespaces: Rename ``bind`` to ``with-variables``. Update a few places that called ``global [ ] with-variables`` to use ``with-global``. 2012-07-19 00:02:47 -07:00
John Benediktsson bfb6bdd891 ui.gadgets: rename max-dim and dim-sum. 2012-07-13 23:19:21 -07:00
John Benediktsson 4f260ab9bd "H{ } substitute" is faster than "{ } substitute". 2012-07-13 19:06:38 -07:00
John Benediktsson 57b681dd71 ui.tools.listener.completion: intersects? is overkill here. 2012-07-13 18:58:05 -07:00
John Benediktsson 27cfc7748e ui.gadgets: use curry in add-gadgets. 2012-07-13 15:39:18 -07:00
John Benediktsson c1e9f4c362 ui.text: cleanup string-width/height and make text-dim a bit faster. 2012-07-13 15:35:42 -07:00
John Benediktsson e1c91575c0 ui.tools.listener: adding docs for emacs-style key bindings. 2012-06-21 20:18:43 -07:00
Doug Coleman 755e702536 pixel-format-attribute was just (pixel-format-attribute)
Rename the GENERIC: (pixel-format-attribute) to pixel-format-attribute ?
2012-06-21 12:12:57 -07:00
Doug Coleman f1f985edf3 issue #358: delete unused word 2012-06-21 08:38:03 -07:00
Doug Coleman 9f370ec639 issue #358: command-map -> get-command-at 2012-06-21 08:35:46 -07:00
Doug Coleman efbdf222a7 issue #358: Finish renaming <apropos> to <apropos-search> 2012-06-21 08:35:44 -07:00
Doug Coleman fbfa8543a1 issue #358: Rename button-pen -> lookup-button-pen. 2012-06-21 08:35:40 -07:00
Doug Coleman eccf5a82ae io.files.info.windows: Fix file-systems word in two ways. First, don't
allocate 32k on the local alloc stack (which causes a 'double fault.')
Second, if the volume doesnt look up to a real path, don't make a dummy
object for that. volume
Use alien>native-string and native-string>alien wherever possible instead of
utf16n for Windows.
2012-06-21 08:32:53 -07:00
John Benediktsson d616f4779e ui.gadgets.editors: adding delete-to-start-of-document and delete-to-end-of-document. 2012-05-04 18:38:12 -07:00
John Benediktsson 8c1165cac1 cleanup some lint warnings. 2012-04-18 17:46:01 -07:00
Joe Groff 24ca1b02b7 ui.tools.listener: dumb hack to set listener font 2012-03-04 13:08:22 -08:00
Joe Groff 273b5115bf add content-gadget hook for inspector
Allow objects such as images, strings, and audio clips to display rich representations of themselves in the inspector by providing methods for a content-gadget generic.
2012-02-21 15:06:27 -08:00
Joe Groff 4db4b3e171 ui.gadgets.panes: add gadget-alt-text
Provide a default implementation of write-gadget that writes plain text to a stream that doesn't support gadgets.
2012-02-18 21:59:30 -08:00
John Benediktsson 3a4afb1650 Revert "ui.gadgets.books: needs help.markup.private."
This reverts commit dc9aa68961.
2011-12-29 21:38:05 -08:00
John Benediktsson f6c0bfdb89 ui.gadgets.books: needs help.markup.private. 2011-12-29 17:19:48 -08:00
John Benediktsson 2dcb104216 ui: fix error in docs (USE: ui.gadgets.books). 2011-12-29 16:33:16 -08:00
Philipp Brüschweiler b667e4ff7e ui.backend.gtk: don't die if the icon doesn't exist, partially fixes #369 2011-12-06 09:05:05 +01:00
Joe Groff b12cdae993 ui.tools.deploy: add doc link to deploy-flags
That's where all the settings are actually described.
2011-11-27 12:37:58 -08:00
Joe Groff f5d7ec72c7 ui.tools.deploy: update deploy-console description
No longer windows specific
2011-11-27 12:37:57 -08:00
Joe Groff 14031d8794 icon for user-init-errors 2011-11-27 12:06:48 -08:00
Joe Groff 943596575a use radix literals 2011-11-23 19:03:40 -08:00
Joe Groff 29bf4d7214 ui.backend.cocoa.views: clickthrough is bullshit
I don't care what Slava thinks
2011-11-23 11:29:03 -08:00
Joe Groff 36dac58380 update USING:s 2011-11-15 18:37:30 -08:00
Joe Groff 1db3d6f051 ui.tools.deploy: remove monkey traps from UI 2011-11-15 12:53:21 -08:00
Joe Groff a1bb1fbd7a Revert "ui.tools.listener: removing unnecessary spawn."
This reverts commit f8aa8038d3.
Breaks error handling: http://paste.factorcode.org/paste?id=2407
2011-11-15 12:35:25 -08:00
John Benediktsson 4d0d1748f0 ui.tools.listener: removing unnecessary spawn. 2011-11-14 10:16:15 -08:00
Joe Groff d1786adfe4 new module images.viewer.prettyprint
Pretty-prints image objects as images.
2011-11-13 12:12:23 -08:00
John Benediktsson 96d5c2fac8 ui.operations: fix stack names. 2011-11-12 18:48:18 -08:00
Joe Groff c8fd36bbdb kill tools.profiler.counting and ui.tools.profiler
Load tools.profiler.sampling from bootstrap/tools instead.
2011-11-10 12:33:10 -08:00
Joe Groff 8cf18d1a82 remove BSD,solaris,etc. misc platform support code 2011-11-02 17:13:51 -07:00
Joe Groff 6d3d8392d1 tools.profiler.counting: rename help article 2011-11-02 13:23:14 -07:00
Joe Groff eac90675c0 move counting profiler to tools.profiler.counting 2011-11-02 13:23:09 -07:00
Joe Groff 33919b2919 tools.profiler: rename to tools.counting-profiler 2011-11-02 13:23:06 -07:00
Doug Coleman 94db86a6db Make "foo.private" require load foo instead.
Move require from vocabs.loader to vocabs. Update everything.
Fixes #201.
2011-11-02 11:50:03 -07:00
Doug Coleman 359c931d35 Rename images.gtk|gdiplus|cocoa to images.loader.*. Fixes #176. 2011-11-02 09:38:03 -07:00
Slava Pestov 4c3c4f177b ui.gadgets.editors: fix wonky word names. Fixes #277 2011-10-29 15:27:27 -07:00
Slava Pestov 0285de7e7d Revert "ui.gadgets.editors: implement Ctrl-A/E/K to be more compatible."
This reverts commit 6a096a1e71.
2011-10-29 15:27:27 -07:00
Slava Pestov d212b18be3 Revert "ui.gadgets.editors: windows doesn't work like macosx."
This reverts commit cf1d12ce78.
2011-10-29 15:27:27 -07:00
Doug Coleman 8205caa5ca Add edit-file and edit-vocab words and make edit on strings call
edit-vocab.
2011-10-29 13:35:13 -07:00
Doug Coleman 53c6d08b54 Add a toggle word to namespaces and update docs, tests, and usages. Document with-global too. 2011-10-29 01:05:38 -07:00
Doug Coleman 7b6f27eda6 Add a lint check for swap .. swap that can be replaced by dip. Clean up the cases it finds. 2011-10-26 13:01:04 -07:00
Doug Coleman 51c033a1f6 Fix all failures in the linux64 build email 2011-10-24 19:33:09 -07:00
Doug Coleman f9257959fd Rename class to class-of 2011-10-24 06:47:42 -05:00
Doug Coleman 26872ffe4d Rename vocab to lookup-vocab 2011-10-24 06:42:54 -05:00
John Benediktsson d1f5fefab0 Cleanup some uses of global [ ] bind. 2011-10-19 11:01:16 -07:00
John Benediktsson a625197ba5 ui.gadgets.editors: windows doesn't work like macosx. 2011-10-19 09:42:12 -07:00
Joe Groff 13b17fb84a io: input-stream and output-stream mixins 2011-10-18 16:25:09 -07:00