Commit Graph

377 Commits (7c1caacc353d015669de104ab1683e527afb0c5e)

Author SHA1 Message Date
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
Joe Groff 7c5ef08aab [ [ ... ] compare ] sort => [ ... ] sort-with 2009-08-02 20:09:23 -05:00
Slava Pestov a716e4cddb ui.tools.listener: selecting a word from a completion popup now behaves like a USE: followed by a FROM: 2009-07-18 06:55:15 -05:00
Slava Pestov 1a190ae97e Remove A+s shortcut for saving image in UI 2009-07-07 03:49:10 -05:00
Slava Pestov 8c3c007d8e ui.tools.listener.completion: if listener is not accepting input, pressing TAB would throw an error (reported by Doug Coleman) 2009-07-03 22:35:34 -05:00
Slava Pestov 28a8e83642 ui.tools.listener.history: Fix bug reported by Doug 2009-07-03 21:19:17 -05:00
Slava Pestov a0eb60906d Fix even more usings 2009-05-16 10:45:17 -05:00
Slava Pestov 90560d3959 Better presentation for ambiguous-use-error, fix ui.tools.listener now that 'search' can throw, make USE: and UNUSE: ignore dupes 2009-05-16 09:34:42 -05:00
Slava Pestov 66a9416473 Update documentation for stricter vocabulary search path semantics 2009-05-16 00:29:21 -05:00
Slava Pestov b62630b5ac Updating code in basis and extra for stricter vocab search path semantics 2009-05-14 23:23:06 -05:00
Slava Pestov b31fe9b8f2 Implement stricter vocab search path semantics, with a new API for vocabs.parser. Add map-find-last to sequences vocab 2009-05-14 22:31:29 -05:00
Slava Pestov fb6df472a2 Cleaning up USING: lists for new strict semantics 2009-05-14 16:54:16 -05:00
Slava Pestov 2ad45a24b3 ui.tools.debugger: don't throw an error if world has no children 2009-05-13 22:42:38 -05:00
Slava Pestov 0c1e519dcb Rename use+ to add-use, move search to vocabs.parser, EXCLUDE: bombs out if word doesn't exist 2009-05-13 22:15:48 -05:00
Slava Pestov f5af7977ec ui.debugger: new mini error dialog box for deployed apps 2009-05-11 16:18:47 -05:00
Slava Pestov 3fe5bb872b Deploy tool always uses optimizing compiler now 2009-05-11 00:32:22 -05:00
Slava Pestov b2c3183b21 Split up tools.vocabs. Note that load-everything is now named load-all 2009-05-04 06:44:17 -05:00
Doug Coleman ce7ad9a42d fix unit tests that call lines or contents 2009-05-01 16:38:04 -05:00
Slava Pestov eed7b20c7f ui.tools.browser: don't add current page to history if re-displaying it again 2009-05-01 07:36:47 -05:00
Slava Pestov a1d28c8243 Improve UI listener completion behavior 2009-05-01 07:29:03 -05:00
Slava Pestov 9bb70c2c4d Update usages of global ... change-at to use the new change-global combinator 2009-04-30 21:38:14 -05:00
Slava Pestov 7aa65b5b5f Fixing new method dispatch implementation 2009-04-25 19:41:27 -05:00
Slava Pestov 3dc9fdf9db Fleshed out new dispatch code 2009-04-24 20:43:01 -05:00
Slava Pestov cc5b1c1e2d Split off some code into tools.errors.model and update UI listener's error summary when errors change 2009-04-23 22:36:34 -05:00
Slava Pestov 5649cc7a0a Compiler warnings are no more 2009-04-23 22:17:25 -05:00
Slava Pestov cd91b2e755 tools.errors: fix printing of errors with no associated source file 2009-04-22 10:46:50 -05:00
Slava Pestov 48e70b65fa Move cross-referencing stuff to tools.crossref since compiler doesn't depend on it anymore, and compute cross-referencing index as needed; reduces image size by ~4Mb 2009-04-22 04:20:38 -05:00