Commit Graph

403 Commits (aca610813d6a8839b4afec6f5fc7fb77e54be7cc)

Author SHA1 Message Date
John Benediktsson f94853c8b7 ui.tools.browser: adding +/- font size commands. 2012-08-07 12:28:45 -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 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 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 e1c91575c0 ui.tools.listener: adding docs for emacs-style key bindings. 2012-06-21 20:18:43 -07:00
Doug Coleman efbdf222a7 issue #358: Finish renaming <apropos> to <apropos-search> 2012-06-21 08:35:44 -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 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 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 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 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
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
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 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
Joe Groff 13b17fb84a io: input-stream and output-stream mixins 2011-10-18 16:25:09 -07:00
Joe Groff b4d406cfa3 ui.tools.listener: set error stream 2011-10-18 15:13:33 -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
Joe Groff 0c74190a50 ui.tools.listener: remove redundant method 2011-10-17 21:23:37 -07:00
Joe Groff c3c382e45c 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 6f12322bda 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
Joe Groff a9ab3db167 ui.tools.listener: read-unsafe for interactor†
†there's a failing test with this patch that needs investigation:

===
resource:basis/ui/tools/listener/listener-tests.factor: 90

Unit Test: { [ t ] [ "promise" get 2 seconds ?promise-timeout text = ] }

wait-timeout
===
2011-10-17 21:23:04 -07:00
John Benediktsson 470e0be3e1 ui.tools.listener: call insert-newline directly. 2011-10-16 13:39:15 -07:00
John Benediktsson 6f1c44b46d Cleanup some lint warnings. 2011-10-15 19:19:44 -07:00
John Benediktsson 378786599d Cleanup lint warnings. 2011-10-14 11:47:24 -07:00
Slava Pestov c68e2308a8 Display a system-alert for callback errors in the UI; also for thread errors in deployed apps; fixes #92, fixes #95 2011-10-03 00:24:37 -07:00
John Benediktsson ffd54d4d20 ui.tools.listener.completion: when completing history, only show unique completions. 2011-09-17 09:53:59 -07:00
John Benediktsson 22cce1d4e2 ui.tools.listener.completion: delay history-list to allow live searching. 2011-09-17 09:06:10 -07:00
John Benediktsson 1c3c2e6b1a ui.tools.listener.completion: allow substring search in history. Fixes #133. 2011-09-17 09:04:36 -07:00
John Benediktsson 91824e5697 ui.tools.profiler: fix link to help. 2011-09-17 08:14:13 -07:00
Joe Groff 24264e94f4 ui.tools.deploy: change "Deploy as Windows console application" to read "Deploy as console application on Windows"; makes it a bit clearer that the switch only affects Windows deployment 2011-09-15 15:05:17 -07:00
John Benediktsson 27e0071105 ui.tools.listener.history: only add a history entry if it does not match the most recent entry. 2011-09-15 07:57:51 -07:00
Joe Groff 87653c20da ui.tools.deploy: adjust wording of deploy-help? option ui 2011-08-04 15:49:33 -07:00
Joe Groff 5522015885 tools.deploy: add deploy-help? option to include documentation in deployed image 2011-08-04 14:27:29 -07:00
John Benediktsson d58bc08aa0 Update code that did ">alist sort-" to just "sort-". 2011-04-07 09:01:21 -07:00
John Benediktsson 47996b3215 ui.tools: adding Ctrl-Shift-F for "toggle fullscreen". 2011-03-07 15:08:26 -08:00
Keita Haga 32e3e1cfef ui.tools.listener: highlighting F1 key in tips 2011-02-20 16:04:48 +09:00
Slava Pestov 350a6522c7 ui.tools.traceback: make it a tool window so that its size is saved, and workspace shortcuts work 2010-06-28 17:10:15 -04:00
Slava Pestov 1a94ce5927 ui.tools.error-list: fix breakage if image is saved and restored with an open error list 2010-06-18 22:03:37 -04:00
Slava Pestov b924c3623d ui.tools.listener: fix error bar display 2010-05-30 16:09:51 -04:00
Slava Pestov 212d308de1 ui: ditch window restore behavior since it was broken 2010-05-24 16:50:09 -04: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 f46a56024c ui.tools.error-list: re-use the same actual gadget, so that the current selection and set of displayed error types is preserved if the user closes and re-opens the error list 2010-05-04 02:53:53 -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 74075511c2 ui.tools.error-list: smaller default size 2010-04-13 06:16:45 -07:00
Slava Pestov c7142e4281 threads: use context-switching primitives 2010-03-29 20:40:17 -04:00
Joe Groff 91c353ef60 tools.deploy: make deploy-console? and deploy-ui? independent config variables, so windows apps can be deployed without a console or the ui 2010-03-22 16:55:35 -07:00
Daniel Ehrenberg 7074979745 Moving new-sets to sets 2010-02-26 16:01:01 -05:00
Philipp Brüschweiler a615700af1 ui.tools.listener docs: typo 2010-02-19 11:23:20 +01:00
Slava Pestov df55fed478 generic: rename method-body predicate class to method 2010-02-03 23:11:24 +13:00
Joe Groff a2539b784b "a block border" => "a black border" 2010-01-16 12:40:07 -08:00
Slava Pestov 0612bc6177 Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Doug Coleman bd13e018dd memq? -> member-eq?, sorted-memq? -> sorted-member-eq? 2009-10-28 15:02:00 -05:00
Joe Groff b4c621d902 Make browser windows larger by default 2009-10-24 16:21:38 -05:00
Joe Groff 6f006cd0c7 rearrange top-level help a little so that introductory articles are more discoverable 2009-10-24 16:14:19 -05:00
Joe Groff d08e10bff6 link to the glossary from the help browser toolbar 2009-10-24 15:47:23 -05:00
Joe Groff 7c6e67b5ec < Press Enter to see the Survival Guide > 2009-10-24 15:34:32 -05:00
Doug Coleman 474e02020c use 1&& in a few places, clean up some more ui code 2009-10-04 17:50:34 -05:00
Doug Coleman 41e6c8f3be cleaning up some ui code 2009-10-04 16:43:00 -05:00
Keith Lazuka 405e5d015b docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Slava Pestov 64a7fd0a4d ui.tools.listener: add 'Help' button, and print message when listener exits, to reduce confusion if user presses C+d 2009-09-28 02:38:06 -05:00
Slava Pestov e87e686869 ui.tools.listener.completion: fix tests 2009-09-24 03:00:40 -05:00
Slava Pestov d9bf27d242 ui.tools: Minor UI tweaks 2009-09-23 22:51:25 -05:00
Slava Pestov fe948f0b26 Move breakpoint word from tools.annotations to tools.walker to reduce amount of dependencies tools.annotations pulls into a minimal image 2009-09-22 03:16:31 -05:00
Slava Pestov 9159ce74ab ui.tools.browser: don't scroll up when reloading page 2009-09-08 16:23:12 -05:00
Slava Pestov 6d1e4947e8 Merge branch 'ui-tweaks' of git://github.com/klazuka/factor 2009-09-08 14:37:05 -05:00
Slava Pestov 2d46cfdf9e Improved line number handling for unit test failure errors 2009-09-08 13:13:30 -05:00
Keith Lazuka 3fb75247b2 Applied ui-tweaks patchset.
- prettyprinter now does syntax highlighting of Factor code
- added a prettyprinter.stylesheet vocab
- text shadow character style for formatted streams
- text shadow for labels
- toolbar buttons display keyboard shortcut in status bar rather than in the button title
- changed some colors in help.stylesheet to match the colors in Factor's scrollbars and border-buttons
- changed status bar color to match the dark blue in Factor's scrollbars
- added some internal padding to the browser gadget to give the article content some breathing room

NOTE: I removed the "pane" slot from browser-gadget. The slot was never used (at least in my image), and now that the browser-gadget's help-pane is wrapped by a "border" gadget, the slot name would be misleading.
2009-09-08 13:30:30 -04:00
Slava Pestov 623ddfca6f ui.tools.operations: disposables now have a 'dispose' operation, and disposables created within a 'leaks' now have an operation which shows the continuation that created them 2009-08-24 20:22:00 -05:00
Slava Pestov d85b66536f Add docs for break and B words 2009-08-22 17:45:18 -05:00
Joe Groff 90f8cdc0d1 link tools.deprecation docs into handbook and error-list docs 2009-08-20 16:18:47 -05:00
Joe Groff 400c89daf0 "deprecated" declaration, "deprecation" vocab to track deprecations in the error log 2009-08-20 15:10:42 -05:00
Doug Coleman 2ed4425b7a Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	basis/calendar/calendar.factor
2009-08-13 19:40:02 -05:00
Doug Coleman 3f3d57032b Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring 2009-08-13 19:21:44 -05:00
Daniel Ehrenberg 1a7ab59f56 Making write barrier elimination global 2009-08-11 21:21:21 -05:00
Philipp Brüschweiler 26859a45eb various doc fixes 2009-08-11 16:58:47 +02:00
Slava Pestov ef97fdf0c5 ui.gadgets.tables: some band-aid fixes 2009-08-06 01:28:30 -05:00
Slava Pestov 805b0b2430 Merge branch 'master' of git://github.com/bogiebro/factor into bogie 2009-08-05 22:20:40 -05:00
Sam Anklesaria 0c4b9a0d58 simplified ui.gadgets.tables 2009-08-05 16:24:56 -05:00
Slava Pestov eb0ecb68cd ui.tools.debugger: (:edit) got renamed to edit-error 2009-08-04 21:14:43 -05:00