Commit Graph

79 Commits (2cfa457258d93ea14a132a256fc96cf5c8d95c92)

Author SHA1 Message Date
Doug Coleman 7c7bb93c55 factor: Rename GENERIC# to GENERIC#:.
Fixes #1670.
2017-06-01 13:58:58 -05:00
Björn Lindqvist 00d4572e6c basis,extra: refactorings to use the ignore-error and ignore-error/f words 2016-11-18 23:41:36 +01:00
Alexander Iljin 417313cde4 listener-docs: fix wording 2016-11-02 08:01:26 -07:00
John Benediktsson 72b43a57a1 listener: minor formatting. 2016-11-01 19:21:36 -07:00
Alexander Iljin 1156ea3d8b listener-docs: document the Ctrl-Break handler support 2016-11-01 16:53:01 -07:00
Alexander Iljin 82c1a1e936 listener: don't activate the ctrl-break handler by default
To activate the ctrl-break handler, add the following code to your
.factor-rc:
USING: listener namespaces ; t handle-ctrl-break set-global
2016-11-01 16:53:01 -07:00
Alexander Iljin cf4f0ada11 listener: allow ctrl-break to interrupt user code parsing
This makes it possible to trap infinite loops in the vocab loading process.
2016-11-01 16:53:00 -07:00
Alexander Iljin d8f273f35b listener: enable ctrl-break interruption only while user code is running 2016-11-01 16:53:00 -07:00
John Benediktsson 63410f62c8 ui.theme: updates to color scheme.
Fixes circularity and adds theme switching to Mac menu.
Could use some simplification and reduction in color theme hooks.
2016-05-09 21:40:56 -07:00
nicolas-p 7a028977c4 Moved both themes into ui.theme 2016-05-09 21:40:56 -07:00
nicolas-p 94d9bf8c88 Added prompt style and tip style in switching 2016-05-09 21:40:56 -07:00
nicolas-p e5698281fb Replaced hard-coded colors with constants 2016-05-09 21:40:56 -07:00
Björn Lindqvist 2f4c8ee07a listener: only call parser-quiet? off when listener starts
it probably shouldn't be called on every input loop because then if you
set parser-quiet? to t, the setting will be undone
2015-10-05 17:04:36 +02:00
Doug Coleman 43d6f1d3e2 factor: Retrying on the unit tests. Also normalize some syntax with FUNCTION:. 2015-07-02 17:28:17 -07:00
Doug Coleman 59f3b1ea57 Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
Needs a bit more work.

This reverts commit 7e54cc2824.
2015-07-02 13:47:06 -07:00
Doug Coleman 7e54cc2824 factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool! 2015-07-02 11:36:08 -07:00
Doug Coleman 999aa7c897 factor: clean up spaces in -tests files 2015-07-02 10:34:01 -07:00
Doug Coleman 352e5de16a core, basis, extra: Remove DOS line endings from files.
Remove whitespace from end of lines.
Add a newline to the end of each file.
2015-06-29 17:25:40 -07:00
John Benediktsson d68175f48f Some more general fixes for recent refactors. 2015-06-08 19:15:29 -07:00
John Benediktsson 74eecb78f9 listener: print version-info in command-line. 2014-11-13 09:58:37 -08:00
John Benediktsson 6bf3470e62 listener: extract a loaded-vocab? word. 2014-06-04 09:52:51 -07:00
John Benediktsson 7842b31bd2 listener: choose dark foreground on light background. 2013-04-25 16:18:11 -07:00
John Benediktsson d9e1f20286 listener: move pprint error catching to stack. 2012-06-01 17:54:58 -07:00
John Benediktsson 31d30c5302 listener: don't crash if pprint fails. 2012-06-01 17:07:49 -07:00
Slava Pestov 9535d83438 listener: update docs 2012-01-02 21:38:56 -08:00
Slava Pestov d1b6106011 Set up listener's manifest so that words defined in "scratchpad" take precedence over other vocabularies and do not raise a restart. This matches the behavior of IN: and USE: in files, where the IN: takes precedence. Also remove unused clear-manifest word. Fixes #407 2012-01-02 23:18:52 -06: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 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 b43c069b81 Change prompt to something we can copy/paste back into the Factor repl. Add auto-use word. Fixes #301. 2011-10-29 01:05:38 -07:00
Doug Coleman 26872ffe4d Rename vocab to lookup-vocab 2011-10-24 06:42:54 -05:00
John Benediktsson 774d39a524 listener: don't crash if we forget the current vocab. Fixes #259. 2011-10-18 16:46:55 -07:00
Doug Coleman 5fce2d0f27 Make "quiet" true by default. Disable quiet mode for listener, bootstrap, and deploy tool.
Move "quiet" to parser-quiet? in parser.notes. Change a few places where quiet was handle wrong.
2011-09-06 17:58:12 -07:00
Erik Charlebois b504c9af47 Modify the listener vocabulary so that readline can hook in. Add the readline-listener listener that provides word completion and readline editing. 2011-05-23 23:36:14 -04:00
John Benediktsson 16c6d4304f listener: fixing typo in docs. 2010-09-10 13:22:53 -07:00
Slava Pestov 9da061de5e listener: fix help lint 2010-02-18 07:02:22 +13:00
Slava Pestov d2ae4ff4ba listener: fix docs 2010-02-18 03:36:43 +13:00
Slava Pestov 63928191e7 Minor documentation fixes 2010-02-18 01:19:39 +13:00
Erik Charlebois 68c5335d50 Fix stack effect decl in listener.factor and mismatched dynamic stack effect for error hook in remote.factor 2010-02-13 03:50:04 -08:00
Slava Pestov 31cf64eb84 listener: add tools.walker to default interactive vocab path 2010-02-03 23:11:26 +13:00
Slava Pestov 3237e48b2d vocabs.parser: The manifest is now a definition observer, and updates itself when compilation units complete. This helps keep listener's search path up to date if vocabularies and words are renamed, defined, and undefined
- This makes forget-vocab more reliable in the listener
- It also fixes the problem of listener sessions where QUALIFIED: was used referring to outdated words if the vocabulary in question was reloaded
2010-01-27 20:49:26 +13:00
Slava Pestov de3168ad71 Various documentation improvements 2010-01-26 01:01:12 +13:00
Slava Pestov 47df580081 tools.time: overhaul 2009-11-05 01:07:59 -06: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
Keith Lazuka 405e5d015b docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Slava Pestov c925724d7b Improve destructors docs, fix bug where debug-leaks? wasn't being switched off 2009-08-24 21:44:48 -05:00
Slava Pestov aba4fa7371 Recent vocabs.parser change had a regression: vocabs with no roots (scratchpad) were excluded from default use list. Also move with-interactive-vocabs to listener vocab 2009-06-07 21:59:13 -05:00
Slava Pestov 66a9416473 Update documentation for stricter vocabulary search path semantics 2009-05-16 00:29:21 -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