Commit Graph

1292 Commits (2c67a5cd78e5dcffd7146e6fd0eb95f810a497e1)

Author SHA1 Message Date
John Benediktsson c6a404b289 ui.gadgets.paragraphs: cache width in "line" object. 2012-09-24 18:29:51 -07:00
John Benediktsson a8e0ccfd5f ui.tools.listener: adding COLOR: completions. 2012-09-24 15:07:30 -07:00
John Benediktsson a4c1780c8e ui.tools.browser.popups: fix hand-loc get-global. 2012-09-21 18:42:00 -07:00
John Benediktsson c1f588d669 ui.text: more globals. 2012-09-21 18:40:38 -07:00
John Benediktsson 63f8a3720e ui: hand-loc and hand-click-loc should be global. 2012-09-21 18:32:43 -07:00
John Benediktsson 3e406e3101 ui: use "windows get-global". 2012-09-21 15:39:49 -07:00
Doug Coleman 91a0961696 windows.uniscribe: Render image lazily. Speeds up panes benchmark. 2012-09-21 09:54:40 -07:00
John Benediktsson 79473b5802 ui.text.pango: lazy render images like core-text backend. 2012-09-21 08:16:48 -07:00
John Benediktsson c8196954f7 ui.gadgets.tables: i think this is clearer. 2012-09-20 18:24:57 -07:00
John Benediktsson f165191c4d ui.gadgets.tables: fix stack effect names. 2012-09-20 18:24:57 -07:00
John Benediktsson bbc30aabdd ui.gadgets.tables: cache table rows only on model-changed. 2012-09-20 18:24:57 -07:00
John Benediktsson b6877ef707 ui.gadgets.tables: reduce generic dispatch. 2012-09-20 18:24:57 -07:00
John Benediktsson f12dd92c64 ui.gadgets.tables: some performance improvements. 2012-09-20 08:34:43 -07:00
John Benediktsson 2d736c1509 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 cb2e128e62 Revert "ui.gadgets.labels: use font-metrics directly."
This reverts commit d9fdd71d64.
2012-09-18 09:19:29 -07:00
John Benediktsson 52b44d75d7 ui.gadgets: add some inline. 2012-09-17 17:21:31 -07:00
John Benediktsson 0205c3fe40 ui.text.pango: don't create unnecessary font objects. 2012-09-17 14:17:57 -07:00
John Benediktsson d9fdd71d64 ui.gadgets.labels: use font-metrics directly. 2012-09-17 14:12:25 -07:00
John Benediktsson 300ee8428f ui.gadgets.paragraphs: cache the wrapped paragraph for performance. 2012-09-17 14:12:25 -07:00
John Benediktsson 5371a8d470 ui.gadgets: inline gadget-child and nth-gadget. 2012-09-17 14:12:25 -07:00
Doug Coleman ba51919e50 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 f7c0805628 ui.tools.browser: fix stack effect name. 2012-08-17 10:13:44 -07:00
John Benediktsson 96a3abdfae 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 6a6e354f5f ui.tools.listener.completion: make sure "IN:<Ctrl-h>" works. 2012-08-13 15:16:16 -07:00
Doug Coleman c44f0ab79d ui.tools.browser: Support resize on + and _. 2012-08-07 14:46:09 -07:00
John Benediktsson ea3dcde502 ui.tools.browser: adding +/- font size commands. 2012-08-07 12:28:45 -07:00
John Benediktsson a473d01762 core-text: use cached-lines get-global. 2012-08-02 21:35:28 -07:00
John Benediktsson b75a45aeb1 ui.backend.gtk.io.unix: switch to "mx get-global". 2012-08-01 16:22:23 -07:00
John Benediktsson 02a3b7c437 ui.gadgets: fix docs for max-dims. 2012-08-01 07:37:44 -07:00
John Benediktsson c3a4efdcf1 ui: short-circuit layout-queued if deque is empty. 2012-07-31 20:26:51 -07:00
John Benediktsson c31d4c262a ui.gadgets: faster max-dims and sum-dims. 2012-07-31 20:23:32 -07:00
John Benediktsson de77e604e6 ui.tools.operations: allow watch on non-annotated words, reset on annotated ones. 2012-07-27 14:06:52 -07:00
John Benediktsson fd65ad3ee8 ui.tools.listener.completion: make sure "USE: vocab <TAB>" works right. 2012-07-27 08:47:57 -07:00
John Benediktsson 7265114b6a ui.tools.listener.completion: fix complete-vocab? check (also its faster now). 2012-07-26 18:58:21 -07:00
John Benediktsson f68ad108c9 ui.tools.listener: adding tests for Ctrl-D. 2012-07-23 12:02:11 -07:00
John Benediktsson b28a3fd42e ui.tools.listener: adding some tests for interactor read-until. 2012-07-23 11:48:24 -07:00
John Benediktsson 3ce4bc010d ui.tools.listener: fix read-until with Ctrl-D. 2012-07-23 11:07:03 -07:00
John Benediktsson 8e24e39e6a ui.tools.listener: fix stream-read-until on interactor gadgets. 2012-07-22 15:16:39 -07:00
John Benediktsson 10ec6ec04d ui: change some places to call safe-summary. 2012-07-22 14:37:15 -07:00
John Benediktsson e654e4afd9 Using "same?" in more places. 2012-07-21 10:22:44 -07:00
John Benediktsson 09d972018d cleanup some use of with-scope. 2012-07-19 13:55:34 -07:00
John Benediktsson 7104c2d7b9 using the new H{ } make. 2012-07-19 09:50:09 -07:00
Doug Coleman 9a220ef78c 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 c345c5ba48 ui.gadgets: rename max-dim and dim-sum. 2012-07-13 23:19:21 -07:00
John Benediktsson d38a3fc44a "H{ } substitute" is faster than "{ } substitute". 2012-07-13 19:06:38 -07:00
John Benediktsson 4e50bd0e96 ui.tools.listener.completion: intersects? is overkill here. 2012-07-13 18:58:05 -07:00
John Benediktsson de035c064a ui.gadgets: use curry in add-gadgets. 2012-07-13 15:39:18 -07:00
John Benediktsson 1e4ff2b04c ui.text: cleanup string-width/height and make text-dim a bit faster. 2012-07-13 15:35:42 -07:00
John Benediktsson ad3d29e5d5 ui.tools.listener: adding docs for emacs-style key bindings. 2012-06-21 20:18:43 -07:00
Doug Coleman 5e6aa80c51 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 69b3422bf9 issue #358: delete unused word 2012-06-21 08:38:03 -07:00
Doug Coleman 264cf4002d issue #358: command-map -> get-command-at 2012-06-21 08:35:46 -07:00
Doug Coleman 19e7b1ea77 issue #358: Finish renaming <apropos> to <apropos-search> 2012-06-21 08:35:44 -07:00
Doug Coleman 72b4d53639 issue #358: Rename button-pen -> lookup-button-pen. 2012-06-21 08:35:40 -07:00
Doug Coleman bbf5cfbc4d 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 59276fce15 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 33f741ec2e cleanup some lint warnings. 2012-04-18 17:46:01 -07:00
Joe Groff 60650c8add ui.tools.listener: dumb hack to set listener font 2012-03-04 13:08:22 -08:00
Joe Groff 7803daf4a8 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 cb28523e6e 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 beaf3db868 Revert "ui.gadgets.books: needs help.markup.private."
This reverts commit dc9aa68961.
2011-12-29 21:38:05 -08:00
John Benediktsson dc9aa68961 ui.gadgets.books: needs help.markup.private. 2011-12-29 17:19:48 -08:00
John Benediktsson 2215ae0688 ui: fix error in docs (USE: ui.gadgets.books). 2011-12-29 16:33:16 -08:00
Philipp Brüschweiler 7dded87bf1 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 a6ba3981e7 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 e7064cf150 ui.tools.deploy: update deploy-console description
No longer windows specific
2011-11-27 12:37:57 -08:00
Joe Groff 7838538163 icon for user-init-errors 2011-11-27 12:06:48 -08:00
Joe Groff eee483654a use radix literals 2011-11-23 19:03:40 -08:00
Joe Groff ec079dfacc ui.backend.cocoa.views: clickthrough is bullshit
I don't care what Slava thinks
2011-11-23 11:29:03 -08:00
Joe Groff f27b22b6ba update USING:s 2011-11-15 18:37:30 -08:00
Joe Groff 51446e41b6 ui.tools.deploy: remove monkey traps from UI 2011-11-15 12:53:21 -08:00
Joe Groff 723b6a4ced 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 f8aa8038d3 ui.tools.listener: removing unnecessary spawn. 2011-11-14 10:16:15 -08:00
Joe Groff 7350fb09ab new module images.viewer.prettyprint
Pretty-prints image objects as images.
2011-11-13 12:12:23 -08:00
John Benediktsson 67dc3f9da5 ui.operations: fix stack names. 2011-11-12 18:48:18 -08:00
Joe Groff 8b20a70d96 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 75cba3106a remove BSD,solaris,etc. misc platform support code 2011-11-02 17:13:51 -07:00
Joe Groff ab73f527d3 tools.profiler.counting: rename help article 2011-11-02 13:23:14 -07:00
Joe Groff 9c02c17cb8 move counting profiler to tools.profiler.counting 2011-11-02 13:23:09 -07:00
Joe Groff 4ab6d18cbd tools.profiler: rename to tools.counting-profiler 2011-11-02 13:23:06 -07:00
Doug Coleman be12f2b27d 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 caa71f1c98 Rename images.gtk|gdiplus|cocoa to images.loader.*. Fixes #176. 2011-11-02 09:38:03 -07:00
Slava Pestov 3468ff385c ui.gadgets.editors: fix wonky word names. Fixes #277 2011-10-29 15:27:27 -07:00
Slava Pestov 826112c5a1 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 281ff6b7a3 Revert "ui.gadgets.editors: windows doesn't work like macosx."
This reverts commit cf1d12ce78.
2011-10-29 15:27:27 -07:00
Doug Coleman 20999c41b9 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 2bcb000873 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 313a8dbe88 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 f05e33fa37 Fix all failures in the linux64 build email 2011-10-24 19:33:09 -07:00
Doug Coleman 96da8df16e Rename class to class-of 2011-10-24 06:47:42 -05:00
Doug Coleman a7f6982354 Rename vocab to lookup-vocab 2011-10-24 06:42:54 -05:00
John Benediktsson e00d06cd09 Cleanup some uses of global [ ] bind. 2011-10-19 11:01:16 -07:00
John Benediktsson cf1d12ce78 ui.gadgets.editors: windows doesn't work like macosx. 2011-10-19 09:42:12 -07:00
Joe Groff b230b306f5 io: input-stream and output-stream mixins 2011-10-18 16:25:09 -07:00
Joe Groff ad10e87985 ui.tools.listener: set error stream 2011-10-18 15:13:33 -07:00
John Benediktsson f2741b34a4 Eliminate duplicate syntax for stack effects "(" no longer drops and is identical to the old "((", which is now removed. 2011-10-18 13:19:39 -07:00
John Benediktsson 6a096a1e71 ui.gadgets.editors: implement Ctrl-A/E/K to be more compatible. 2011-10-18 11:38:08 -07:00
Joe Groff 44b49d54a0 ui.tools.listener: remove redundant method 2011-10-17 21:23:37 -07:00
Joe Groff 0303d4d1de ui.tools.listener: fix stream-read-unsafe
It was returning the number of requested bytes even if eof was encountered.
2011-10-17 21:23:05 -07:00
Joe Groff 1e37b525a3 kill noncopying-reader mixin, stream-read generic
Now that all streams have been updated to implement the stream-read-unsafe protocol, take out the noncopying-reader shim. Turn stream-read and stream-read-partial into plain functions over the -unsafe generics.
2011-10-17 21:23:05 -07:00