Commit Graph

525 Commits (af8f23a78c897c80beece1091bf6f9e70243ae19)

Author SHA1 Message Date
John Benediktsson 8c1165cac1 cleanup some lint warnings. 2012-04-18 17:46:01 -07: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
Joe Groff d1786adfe4 new module images.viewer.prettyprint
Pretty-prints image objects as images.
2011-11-13 12:12:23 -08: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 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
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
John Benediktsson 8d15fb1021 ui.gadgets.editors: implement Ctrl-A/E/K to be more compatible. 2011-10-18 11:38:08 -07:00
John Benediktsson 81714b8dc3 More lint cleanups. 2011-10-16 19:33:16 -07:00
John Benediktsson 6f1c44b46d Cleanup some lint warnings. 2011-10-15 19:19:44 -07:00
John Benediktsson 98f7d2530d ui.gadgets.editors: simplify private word. 2011-09-25 11:43:53 -07:00
Joe Groff 2bd6de9a02 slots: pre-create the "at", "nth", and "global" slots to make deterministic the currently nondeterministic ambiguity between accessors:change-* and assocs:change-at, sequences:change-nth, and namespaces:change-global 2011-09-19 10:03:43 -07:00
Slava Pestov da6f65a3d3 ui.gadgets.tables: don't try to render multi-line strings, since all table rows must have the same height. Fixes #65 2011-09-01 22:41:12 -07:00
John Benediktsson cc68afddce Merge remote-tracking branch 'factorcode/master' 2011-08-27 17:26:11 -07:00
Hugo Schmitt f5e9ac71a4 Swapping call order of 'hook' and 'action' row actions 2011-08-27 17:25:45 -07:00
Slava Pestov fd08f9ad8f Fixes #33 - ui.gadgets.glass had a scoping issue, so text selection would stop working after opening a popup 2011-08-27 17:14:56 -07:00
Erik Charlebois 019224348b Only do mouse selections for button 1 2011-05-23 23:36:14 -04:00
Keita Haga 5cad80fdc9 ui.gadgets.status-bar: fix typo in docs 2011-01-16 21:46:01 +09:00
Slava Pestov 80d0ed0110 ui.gadgets.labels: fix stack effects for label-on-left and label-on-right 2010-07-18 17:38:51 -04:00
Slava Pestov 88ca7abd54 ui.gadgets.worlds: dispose of the handle after ungrabbing input 2010-07-17 16:08:36 -04:00
Doug Coleman 6a501d4aa3 Add a promise to world objects that gets fulfilled when the world is ungrafted 2010-06-16 16:23:30 -05:00
Doug Coleman a6f0abb9a2 Rename alarms -> timers 2010-06-10 16:39:13 -05:00
Doug Coleman 3a7f9c3947 Use restart-alarm for ui blink code 2010-05-24 22:59:25 -05:00
Slava Pestov 46fe340be3 ui.gadgets.worlds: don't enable depth buffer by default, since it just wastes memory and apps which need it can pass custom pixel-format-attributes to open-window to enable it explicitly 2010-05-24 19:23:02 -04:00
Doug Coleman 54ce8be408 Delay the cursor blink 2010-05-23 22:26:46 -05:00
Doug Coleman e75b85de30 Update code base for new alarms api 2010-05-21 20:42:12 -05:00
Slava Pestov 627295f094 Language change: tuple slot setter words with stack effect ( value object -- ) are now named FOO<< instead of (>>FOO) 2010-05-06 17:21:02 -04:00
Slava Pestov a8fdfc5860 ui.gadgets.tables: fix load error in docs 2010-05-03 22:42:19 -04:00
Slava Pestov cf4abda115 ui.gadgets.tables: remove multiple selection support, and make the error list handle preservation of the current selection better when the underlying model changes 2010-05-03 22:09:00 -04:00
Slava Pestov 1672c34f9f ui: use scroll delta information for smoother mouse scrolling on Windows and Mac OS X 2010-04-29 02:52:32 -04:00
Daniel Ehrenberg aa6158b366 Changing require-when usages to the new syntax for require-when 2010-04-18 14:29:24 -05:00
Slava Pestov b330595c3b ui.gadgets.grids: clarify docs 2010-04-08 10:22:59 -07:00
Slava Pestov d130f24248 ui.gadgets.buttons: fix incorrect parameter order in <radio-controls> 2010-03-29 15:08:15 -04:00
Daniel Ehrenberg eb060443db Updating code to use require-when rather than vocab [ require ] when 2010-03-18 01:13:37 -04:00
Daniel Ehrenberg 7364608417 Merge branch 'master' of git://factorcode.org/git/factor into bags 2010-03-02 17:04:45 -05:00
Doug Coleman bad7e4b68e Add a slot for worlds to know if they are fullscreened, and another for restoring the window position after returning from fullscreen mode 2010-02-27 07:58:42 -06:00
Daniel Ehrenberg 7cd3360cdd Fixing ambiguity between sets and namespaces in many unit tests and furnace.auth 2010-02-26 17:17:40 -05:00
Slava Pestov 7826543d2e sequences: add cartesian-each, cartesian-map, cartesian-product words to eliminate some duplication throughout the codebase 2010-02-25 20:54:57 +13:00
Joe Groff b7727bc695 ui.gadgets.worlds: deactivate world before calling the ui-error-hook 2010-02-23 22:55:57 -08:00
Joe Groff 83d6f7fc6f if you're going to support shift-del, you should also support shift-ins and ctrl-ins 2010-02-20 09:45:42 -08:00
Slava Pestov daed64d8b4 ui.gadgets.worlds: support S+DELETE as an alternative shortcut for cut-action 2010-02-20 12:24:25 +13:00
Slava Pestov 220dd88a2c Update documentation for new help lint check 2010-02-19 12:31:52 +13:00
Joe Groff eb875e1e78 create a real "ui.gadgets.theme" vocab, move theme-image word into it, and add theme images to resources.txt 2010-02-14 12:42:03 -08:00