Commit Graph

508 Commits (fix-linux)

Author SHA1 Message Date
nicolas-p 7a028977c4 Moved both themes into ui.theme 2016-05-09 21:40:56 -07:00
nicolas-p f650f7d869 Added listener styles in theme switching 2016-05-09 21:40:56 -07:00
nicolas-p 072f8e2625 Set text color almost everywhere 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
John Benediktsson f7d92e4712 ui.tools.listener: fix introduction font sizes.
(should be smaller than default-style)
2016-04-29 18:30:59 -07:00
Björn Lindqvist 686975ec29 ui.tools.listener: only wait up to 5 seconds for the listener to start
otherwise unit tests can wait forever if there is an error in listener-thread
2015-11-27 13:15:17 +01:00
Björn Lindqvist c773ce6463 ui.tools.listener: revert the commit that added UP/DOWN keybindings to
cycle history
2015-10-30 02:18:08 +01:00
Björn Lindqvist 705e2b8d4b ui.tools.listener: only recall if the lexer-error is aborted (#375) 2015-10-28 16:31:13 +01:00
Björn Lindqvist f2f7fd0b94 ui.tools.listener: recall the last command on parse errors 2015-10-23 17:59:04 +02:00
Björn Lindqvist 5f6ec2ba8b ui.tools.listener.tests: fix tests, manifest needs to be set and vocab used 2015-10-22 23:33:46 +02:00
Björn Lindqvist ff118771ae ui.tools.listener: call interactor-finish before try-parse #375
Also changes the parse error handling in try-parse. If a parse error
occurs it is wrapped in a small quotation to defer handling it until the
quotation is ran.
2015-10-22 18:02:35 +02:00
Björn Lindqvist d15c5bced4 ui.tools.listener: tried to simplify stream-read-quot and handle-interactive 2015-10-22 18:02:35 +02:00
Björn Lindqvist c0d1d2f331 ui.*: a little more ui docs 2015-10-15 16:27:15 +02:00
Björn Lindqvist 420ca29795 ui.tools.listener: make it so up/down arrows can be used for history
cycling

It's how it works in most CLIs so it's nice if it works in Factor too.
2015-10-14 03:05:16 +02:00
John Benediktsson e477f6996f Fix comments to be ! not #!. 2015-09-08 16:15:10 -07:00
John Benediktsson ff880262cb ui.gadgets.editors: make it easier to set and get default-text. 2015-08-16 14:29:21 -07:00
John Benediktsson 6de244da44 ui.tools.browser: use default-text to make search box prettier. 2015-08-16 13:45:29 -07:00
John Benediktsson f3608deb63 ui.tools.browser: better to remove page-color than change it. 2015-08-16 12:58:38 -07:00
John Benediktsson 7dd0acbf0f help.stylesheet: add back page-color and override in ui.tools.browser. 2015-08-16 12:54:56 -07:00
John Benediktsson 81cbf71d27 help: make the default print prev/next links but then modify ui.tools.browser to do what it used to do. 2015-08-16 11:33:24 -07:00
John Benediktsson bfbab98d57 ui.tools.browser: remove spacer for right now...
...until we have the text-within-empty-label thing fixed it gives
us a little more space to type into.
2015-08-16 10:22:11 -07:00
nicolas-p 2a7cc29693 ui.tools.walker: improved status text 2015-08-16 07:54:45 -07:00
nicolas-p bfb81f67cf ui.tools.browser: navigation fix 2015-08-16 07:54:16 -07:00
nicolas-p 1817a4b8cb Refactored prev/next buttons code 2015-08-16 07:54:16 -07:00
nicolas-p bf2b829846 ui.gadgets.colors moved to ui.gadgets.theme 2015-08-16 07:53:33 -07:00
nicolas-p 23a1174e81 Fixed USING in slots and deploy 2015-08-16 07:53:33 -07:00
nicolas-p 40c6e04128 Fixed USING: 2015-08-16 07:53:32 -07:00
nicolas-p 279795dbfd Red/orange/green thread status in Walker
John did most of the work
2015-08-16 07:53:32 -07:00
nicolas-p 61552d2901 Simplified toolbar code 2015-08-16 07:53:32 -07:00
nicolas-p 883d7e09d9 Other small adjustment in browser toolbar 2015-08-16 07:53:32 -07:00
nicolas-p 32ae5da655 Small adjustments in browser toolbar 2015-08-16 07:53:32 -07:00
nicolas-p f240f189e1 Improved contents table in Inspector 2015-08-16 07:53:31 -07:00
nicolas-p f4e8511c0a Fixed compatibility issue with labeled gadget 2015-08-16 07:53:31 -07:00
nicolas-p e66910c3bd Centring prev/next links in Browser 2015-08-16 07:53:30 -07:00
nicolas-p 0bdeb0c60f Prev/next buttons in Browser 2015-08-16 07:53:30 -07:00
nicolas-p c8b63fa4b0 Fixed USING: 2015-08-16 07:53:30 -07:00
nicolas-p 844da3fdfd ui.tools.browser: using format-toolbar 2015-08-16 07:53:29 -07:00
nicolas-p 359b42ab15 Removed ui.gadgets.lines
with-lines moves to ui.tools.common, white-interior moves to
ui.gadgets.colors
2015-08-16 07:53:29 -07:00
nicolas-p ea40508cd9 New error-list 2015-08-16 07:53:29 -07:00
nicolas-p d0b4f7d9a3 Using ui.gadgets.colors everywhere 2015-08-16 07:53:29 -07:00
nicolas-p d3b27e44b4 Actual colours for labeled gadgets 2015-08-16 07:53:28 -07:00
nicolas-p 5ebf88bc0c Fixed USING: in debugger 2015-08-16 07:53:28 -07:00
nicolas-p c195efbdff New inspector 2015-08-16 07:53:28 -07:00
nicolas-p 30091bee91 White interior and margins in Traceback 2015-08-16 07:53:28 -07:00
nicolas-p 6a528d3978 New debugger 2015-08-16 07:53:28 -07:00
nicolas-p a35924d1a8 Move vivid colour in Browser header
To go with the green header in the Walker.
2015-08-16 07:53:27 -07:00
nicolas-p 67afaa5bce Fixed USING: (again) 2015-08-16 07:53:27 -07:00
nicolas-p 09f68f7a98 Traceback and Walker now use the new labeled gadget 2015-08-16 07:53:27 -07:00
nicolas-p 06fa803cca Fixed USING: 2015-08-16 07:53:27 -07:00
nicolas-p 38447c276a Restoring the "add-" prefix 2015-08-16 07:53:27 -07:00
nicolas-p 249bd99400 Toolbar, lines and margins used in listener and browser 2015-08-16 07:53:27 -07:00
nicolas-p 265a855217 Common margins for all panes
(Is this the right place to put it?)
2015-08-16 07:53:26 -07:00
nicolas-p ae9b9b59eb Use colour constants 2015-08-16 07:53:25 -07:00
nicolas-p 376eb20f8b Browser improvements
Browser with a unified toolbar and a header that is always visible. The
prev/next buttons are moved to the bottom of the page.
2015-08-16 07:53:25 -07:00
nicolas-p 1371cb4090 Margins
Margins increased in the listener and status bar.
2015-08-16 07:53:25 -07:00
Doug Coleman 1fcf96cada factor: remove """ string syntax for now. there are HEREDOC:, STRING:, escaping \", and something else soon. 2015-07-25 22:59:56 -07:00
Doug Coleman 117727d444 parser, source-files: you need to bootstrap after this patch.
cleans up some file vs path naming.

file -> current-source-file
file -> current-test-file somewhere else
source-file -> path>source-file
source-file-tuple -> source-file
2015-07-23 22:03:43 -07:00
John Benediktsson 5eec781b40 use ``if*`` instead of ``dup [ ] [ drop ] if``. 2015-07-20 22:24:30 -07:00
Doug Coleman 892c62e1dc factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test 2015-07-03 09:39:59 -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 e3cb325040 factor: clean up whitespace in -docs files 2015-07-02 10:31:22 -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 296968580a use assoc-reject instead of [ ... not ] assoc-filter. 2015-05-12 19:08:42 -07:00
John Benediktsson 1a3522f20d Revert "ui.tools.browser: one browser to rule them all."
This reverts commit 178c8c27e8.
2014-12-17 17:38:14 -08:00
John Benediktsson 178c8c27e8 ui.tools.browser: one browser to rule them all. 2014-12-17 17:32:20 -08:00
John Benediktsson f6af1da32f ui: use control-value/set-control-value in a few places. 2014-12-17 13:05:00 -08:00
John Benediktsson d0357cc349 Revert "ui.tools.listener: update docs for Emacs-style text entry."
This reverts commit 913e69500f.
2014-11-30 07:13:10 -08:00
John Benediktsson 913e69500f ui.tools.listener: update docs for Emacs-style text entry. 2014-11-29 21:18:52 -08:00
John Benediktsson c3dd749f3d ui.tools.deploy: change article title. 2014-11-14 17:31:46 -08:00
Björn Lindqvist 090f4fddd5 VM: Three new special objects added to keep track of the builds version number, git label and compilation time respectively. The info is exposed in the system:version-info word and also shown in the banner during startup.
Conflicts:
	Nmakefile
	basis/ui/tools/listener/listener.factor
	core/alien/strings/strings.factor
2014-11-10 23:01:52 -08:00
Benjamin Pollack 2c3dd8c3c8 Remove executable bit from tons of files that aren't 2014-11-05 20:40:42 -08:00
John Benediktsson 8033741135 io/ui: slim down the USE: list 2014-10-24 17:33:27 -07:00
Doug Coleman 6e037ee256 ui.tools.browser: Remove dialog-window attribute from help browser. The window has enough content to merit a panel in a tiling window manager, and this attribute forces the window to always be in front on GTK, which is annoying. 2014-08-05 11:35:49 -07:00
Doug Coleman 68446b047b ui: Rename floating-window to dialog-window as per @bjourne's suggestion. Related to #1026. 2014-08-05 10:03:17 -07:00
Doug Coleman fdcc33acee ui: Fix floating-window implementation for Windows/Mac. We need floating-window defined in the hashtables, as well as adding it /in addition to/ the existing flags. 2014-07-16 14:38:50 -05:00
Doug Coleman 57cdc841c3 ui: Add a floating-window window-contol for opening floating windows in a tiling window manager on gtk. Use this style on the help browser, inspector, and deploy windows. Please report any other windows that need this flag since I don't regularly use a tiling window manager. Tested on Ubuntu 14.04 64bit with i3 window manager. Fixes #1026. 2014-07-16 02:26:52 -07:00
John Benediktsson 98935b7f15 docs: change ``{ $quotation "( x -- y )" }`` to ``{ $quotation ( x -- y ) }``. 2014-05-18 20:09:10 -07:00
John Benediktsson 0f52c3e486 ui.tools.listener.history: cleanup and minor bugfix. 2014-04-30 19:06:36 -07:00
John Benediktsson c6f8a84ee4 ui.tools.common: reuse code. 2014-04-28 13:01:18 -07:00
John Benediktsson 24b116be1c prettyprint: rename so it doesn't look so much like print-error. 2013-04-10 19:18:15 -07:00
John Benediktsson e42144e9ea prettyprint: cleanup duplicate code. 2013-04-10 18:50:11 -07:00
John Benediktsson d6828d38ff ui.tools.traceback: fix pprint error in walker issue. 2013-04-10 18:30:11 -07:00
Doug Coleman 60cb462826 ui.tools: Fix restart. 2013-03-23 17:39:48 -07:00
Doug Coleman daca323523 ui.tools.error-list: Fix reset-memoized. 2013-03-23 17:35:18 -07:00
Doug Coleman fb4eb84f7c ui.tools.error-list: Rename error-list-gadget. 2013-03-23 17:14:04 -07:00
Doug Coleman 16964064b6 ui.tools: Fix definition? usage. 2013-03-23 16:46:51 -07:00
John Benediktsson a440b2a909 tools.completion: matching names. 2013-03-20 16:51:09 -07:00
Doug Coleman ef98b7af53 tools, ui.tools: Rename complete-P"? to complete-pathname? 2013-03-20 16:18:30 -07:00
John Benediktsson e35c142195 ui.tools.browser.popups: fix in/out links popups. 2013-03-12 09:10:16 -07:00
John Benediktsson c0c769a7d8 compiler.units: changing definitions-changed to use a set. 2013-03-10 09:11:18 -07:00
John Benediktsson 5f165095dc ui.tools.listener.completion: fix use of search-vocab-names. 2013-03-08 17:53:02 -08:00
John Benediktsson 013160df9a change some "2drop 2drop" to "4drop". 2012-10-23 12:21:30 -07:00
John Benediktsson ca9137767b ui.tools.listener: adding path completion to listener. 2012-10-22 18:51:52 -07:00
John Benediktsson 80e2309e17 ui.tools.listener.completion: color private vocabs red in completion-mode. 2012-09-25 14:49:49 -07:00
John Benediktsson 61fa05942b ui.tools.listener.completion: fix row color for words in our search list. 2012-09-25 11:45:38 -07:00
John Benediktsson a5b91e181a tools.completion: moving "complete-?" words. 2012-09-25 09:10:44 -07:00
John Benediktsson 2f99a33e36 ui.tools.listener: adding COLOR: completions. 2012-09-24 15:07:30 -07:00
John Benediktsson ea276574c5 ui.tools.browser.popups: fix hand-loc get-global. 2012-09-21 18:42:00 -07:00