Commit Graph

1730 Commits (c228aaf836e01831e23a35577cfe6c2d8b013f5c)

Author SHA1 Message Date
John Benediktsson 6a5f3f192e ui.gadgets.sliders: restoring the arrows (temporarily?). 2016-04-23 10:04:46 -07:00
John Benediktsson b31415f8a3 ui.gadgets.scrollers: 4 space indentation. 2016-04-23 09:51:15 -07:00
nicolas-p e8c60ca890 Made scrollers disappear when disabled 2016-04-23 09:51:15 -07:00
nicolas-p 365c8d08d2 ui.gadgets.sliders: removed buttons 2016-04-23 09:51:15 -07:00
Björn Lindqvist d5cb972a71 Docs: ui and compiler 2016-04-22 18:23:02 +02:00
John Benediktsson 8a3dd3709e ui: adding a WINDOW: that is like MAIN-WINDOW: but without making the word a main word. 2016-04-21 10:13:57 -07:00
Doug Coleman da65402ee8 ui.debugger: don't rethrow at all. it just makes an infinite loop. 2016-04-18 09:27:32 -07:00
Doug Coleman 9427c78506 ui.debugger: quotation stack effect wants ( .. -- * ), throw causes infinite loop, but rethrow works. change previous patch to rethrow everywhere. 2016-04-06 17:35:13 -07:00
Doug Coleman 363e08b6a8 factor: fix whitespace at end of files. 2016-04-06 16:53:25 -07:00
John Benediktsson 1f063155a9 ui.backend.gtk: simplify calls to gtk_init. 2016-04-04 15:00:04 -07:00
Doug Coleman 58e18ad668 ui.gadgets.corners: move to unmaintained. trim using lists. 2016-04-04 14:11:54 -07:00
John Benediktsson 2ea3e304cf ui.backend.gtk: simplify <window-handle>. 2016-04-04 10:33:03 -07:00
John Benediktsson 2f42e588da ui.debugger: copyrighter. 2016-04-02 09:30:41 -07:00
Doug Coleman e944ff7fe7 ui.debugger: If Linux has a ui error on startup you get popups continuously until you quit. The stack effect doesnt' throw, but I guess it's better to not have tons of popups. 2016-04-02 01:56:48 -07:00
John Benediktsson 37fc051506 Revert "ui.backend.gtk: try yield in idle callback."
This reverts commit 2929cc21f5.
2016-03-31 16:53:52 -07:00
John Benediktsson 281ccddda8 Revert "ui.backend.gtk: only use the timer when not io.backend.unix."
This reverts commit 7d5df2c8a2.
2016-03-31 16:53:47 -07:00
John Benediktsson 498285d7dd unicode: make this the API for all unicode things. 2016-03-30 23:29:48 -07:00
John Benediktsson e0a40e4f96 opengl: log all mac os errors where framebuffer is undefined. 2016-03-30 15:28:39 -07:00
John Benediktsson 1b71efb748 ui: change active? back to a boolean. 2016-03-30 07:31:13 -07:00
John Benediktsson 7d5df2c8a2 ui.backend.gtk: only use the timer when not io.backend.unix. 2016-03-29 22:36:02 -07:00
John Benediktsson 2929cc21f5 ui.backend.gtk: try yield in idle callback. 2016-03-29 22:15:57 -07:00
John Benediktsson d3990d1eeb ui.backend.gtk: simplify. 2016-03-29 20:52:49 -07:00
John Benediktsson 90b53e3054 ui.gadgets: fix tests for namespaces:set. 2016-03-29 18:57:38 -07:00
Doug Coleman dbf781b29a ui.backend.windows: fix set. 2016-03-29 18:05:23 -07:00
John Benediktsson 71ef8a22c2 disambiguate namespaces:set and sets:set. 2016-03-29 17:14:42 -07:00
John Benediktsson 7d0c596c92 Hopefully fix stack effects of error hooks to throw when required. 2016-03-28 22:27:35 -07:00
John Benediktsson 864912f446 ui.backend.cocoa.views: call super.prepareOpenGL(). 2016-03-28 21:51:16 -07:00
Björn Lindqvist b21457411e mirrors: makes string an inspectable sequence, fixes #1238 2016-03-25 21:10:26 +01:00
Doug Coleman d3bc2035a2 factor: remove rest of double paren words. 2016-03-25 03:13:27 -07:00
John Benediktsson c04ce00b45 ui.gadgets.panes: fix use of string-lines that prevented icons from showing in help browser. 2016-03-20 15:56:02 -07:00
John Benediktsson 20883fb21a ui.backend.cocoa.views: add constants for modifier flags. 2016-03-19 12:48:42 -07:00
Björn Lindqvist d6a9122967 ui.backend.gtk: only run the tests on linux 2015-12-08 09:46:30 +01:00
Björn Lindqvist bf8fe25271 bootstrap.*: fix for #1512, load docs after everything else
By making it so the help component is loaded almost last, all vocabs are loaded without docs and only then are they loaded. It should make it so you don't get cyclic dependency problems in doc files during bootstrapping.
2015-12-04 13:29:29 +01:00
Björn Lindqvist 5deea76d55 ui.backend.gtk: set the active? to 100 in on-map, should fix #1506
what now happens is that configure events are skipped until the first
on-map signal is fired. seem to work fine in a variety of wm:s. if this
works well we can return active? to be plain boolean.
2015-12-04 00:57:19 +01:00
Björn Lindqvist 43f2592d1b ui.gestures: fix gesture docs, #1509 2015-12-01 11:01:34 +01:00
Björn Lindqvist 763b892a1d ui.*: move some of the gl initing to set-up-window, should fix #1510
it's also more efficent to run the check-extensions "1.0"
require-gl-version code only once when the window is created, rather
than once for each draw
2015-12-01 04:49:36 +01: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
Sankaranarayanan Viswanathan 4ce72ddbfb Show persistent border on right clicking presentation gadgets 2015-11-04 07:55:13 -08: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 d4a127211d ui.backend.cocoa: fix for the silly error I made in 7bc1009973 2015-10-29 04:41:36 +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 7bc1009973 ui.*: make active? an integer 0-100
A UI backend can delay setting active? to 100 until the windows actually
is visible. That way, some redundant redraws that happen when the window
isn't visible is supressed. It makes the Windows and GTK UI startup a
little faster.
2015-10-27 19:00:28 +01:00
Björn Lindqvist 73893693d3 ui.backend.*: the offscreen buffer hooks appear unused - let's delete! 2015-10-27 16:58:01 +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 0795d21e46 ui.backend.gtk: on-key-press and on-key-release can be merged into one
on-key-press/release handler
2015-10-22 18:02:35 +02:00
Björn Lindqvist 8bb96cbfd1 ui.gadgets.incremental: fix so that the scrolled of gadgets are ungrafted 2015-10-18 17:35:26 +02:00
Björn Lindqvist 0f803aa84b ui.gadgets.tests: clear the layout queue, so test dont interfere with
other tests
2015-10-17 15:58:59 +02:00
Björn Lindqvist 27f54fc123 ui.gadgets.tests: fix the test (layout-queue is a vector now) 2015-10-16 22:28:31 +02:00
Björn Lindqvist d2181a9e71 ui.gadgets.incremental: trivial scrolling, maybe solves #1488? 2015-10-16 10:55:48 +02:00
Björn Lindqvist 4812cec634 ui.gadgets.buttons: memoize the roll button themes pens
It reduces memory usage by about 10% for the #1488 test on my machine
and doesnt seem to have any bad side-effects.
2015-10-16 09:20:29 +02:00
Björn Lindqvist 9af7be2ef9 ui: the layout-queue is more efficient as a vector than a dlist
Improves memory usage in the #1488 example from about 20,4% to 17,4% on
my machine.
2015-10-15 18:34:49 +02:00
Björn Lindqvist 1873eda1d2 ui.gadgets: ensure that layout-later yields if the queue gets to large
This improves memory utilization a lot for #1488. Otherwise the queue
grows to two million entries before being processed.
2015-10-15 16:29:49 +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
Björn Lindqvist f9e5d4f22c ui.backend.gtk: tune the order of the setup tasks in (open-window)
The fix for #1307 made bug #776 come back. Apparently gtk is kind of
britle so the widget setup must be done in a very specific order.
2015-10-14 00:22:26 +02:00
John Benediktsson 2dea9bab74 ui.backend.gtk: small typo fix. 2015-09-28 14:48:20 -07:00
Björn Lindqvist 94f863f33e ui.backend.gtk: make it so configure-im is called after realize (#1307)
gtk_im_context_set_client_window must be called with a realized window
otherwise IM won't work,
http://lists.maemo.org/pipermail//maemo-developers/2006-January/002337.html
2015-09-28 15:33:36 +02:00
John Benediktsson d5c5a1389d ui.gadgets.paragraphs: pref-dim of { 0 0 } if no children. 2015-09-20 09:45:05 -07:00
John Benediktsson e477f6996f Fix comments to be ! not #!. 2015-09-08 16:15:10 -07:00
John Benediktsson 8db66d9dd3 ui.gestures: update action gesture docs, thanks @jonenst! 2015-08-24 10:27:00 -07:00
Doug Coleman f6c1d00c37 ui.baseline-alignment: Don't divide f by 2. Also, can't put ``0 or`` after
``max-cap-height`` because it breaks something else.
2015-08-19 17:20:45 -05:00
Doug Coleman 3649dd2764 ui.backend.cocoa.views: Don't throw an error on weird mouse buttons. Fixes #1453. 2015-08-18 23:22:55 -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 f24444e990 ui.gadgets.editors: allow action-fields to have a default text. 2015-08-16 13:45:16 -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 6b440e5e81 ui.gadgets: fix help-lint warnings. 2015-08-16 10:46:28 -07:00
John Benediktsson 15b0753457 ui.gadgets: fix some tests. 2015-08-16 10:41:16 -07:00
John Benediktsson 29d4908ff5 ui.gadgets: move some buttons-tests to toolbar-tests. 2015-08-16 10:33:52 -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
John Benediktsson cb575c1ba8 ui.gadgets.labeled: separate title-bar-interior with a comment why. 2015-08-16 08:04:58 -07:00
nicolas-p 87a31f1f35 ui.gadgets.labeled: fixed USING 2015-08-16 07:54:45 -07:00
nicolas-p 61f8db4c81 ui.gadgets.theme.light: colour changes 2015-08-16 07:54:45 -07:00
nicolas-p b81a5f9c7a ui.gadgets.labeled: flat colour on windows because of the gradient bug 2015-08-16 07:54:45 -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 fff4ea78ec ui.gadgets.color: changed error colour
Reverted a previous unintentional change
2015-08-16 07:54:16 -07:00
nicolas-p bab79fe04c ui.theme.light: using HEXCOLOR 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 55c994f1c1 ui.gadgets.scrollers: removed 1-px gap 2015-08-16 07:53:34 -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 9f8736c13c Moved toolbar docs 2015-08-16 07:53:33 -07:00
nicolas-p 355e14cb5b New buttons 2015-08-16 07:53:33 -07:00
nicolas-p 9d5336777d Toolbar button pressed background 2015-08-16 07:53:33 -07:00
nicolas-p 4335698ceb ui.gadgets.colors: Several colour changes 2015-08-16 07:53:33 -07:00
nicolas-p a0eaf7a66b Fixed alignment issue in toolbars 2015-08-16 07:53:32 -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 2e067a3705 Small change in roll button colour 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 c0e253a4a5 Revert previous colour change
Changed my mind
2015-08-16 07:53:31 -07:00
nicolas-p f240f189e1 Improved contents table in Inspector 2015-08-16 07:53:31 -07:00
nicolas-p 80307926f6 Colour changes 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 18a4171572 Toolbar no longer uses images 2015-08-16 07:53:31 -07:00
nicolas-p 008614e6cb Authors and summary for ui.gadgets.toolbar 2015-08-16 07:53:31 -07:00
nicolas-p 79e273a250 Authors and summary for ui.gadgets.colors 2015-08-16 07:53:30 -07:00
nicolas-p 44a6228931 Removing menu item images
I’m under the impression that they’ve never been used.
2015-08-16 07:53:30 -07:00
nicolas-p 9d464fea9a Removing menu images 2015-08-16 07:53:30 -07:00
nicolas-p 086c90822d Removing labeled block images 2015-08-16 07:53:30 -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 ba4a6b780a Added ui.gadgets.colors
All colour constants in the same place
2015-08-16 07:53:29 -07:00
nicolas-p dbe9aebe5d New menu 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 48376ff10c Using filled-border in status bar 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 52135e2df7 Removed white interior
It was in the wrong place
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 b8b3362fa0 Labeled: added colour lines, framed labeled and fixed keyboard focus
Colours lines are all yellow at the moment. This will  change later.
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 f99f32a990 New labeled gadget
The new labeled gadget is not a frame anymore.
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 8c0fbca360 New lines dictionary
To draw 1-px grey lines between panes
2015-08-16 07:53:26 -07:00
nicolas-p c75f6155cf New toolbar dictionary 2015-08-16 07:53:26 -07:00
nicolas-p eb21e05fef Revert "solid-underlined"
This reverts commit 7e4450776d935a94e1cc013f18b9818ac9af91cd.
2015-08-16 07:53:26 -07:00
nicolas-p 9991aa2f3b New labeled block images
Using grey85 (217 217 217)
2015-08-16 07:53:26 -07:00
nicolas-p 656afe2ebd New menu border images 2015-08-16 07:53:26 -07:00
nicolas-p a0bc138465 Menu border
Added 3 px to menu borders.
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
nicolas-p bf74e394ba Unified toolbar
New toolbar with a grey background.
2015-08-16 07:53:25 -07:00
nicolas-p 8a1c75fbed solid-underlined
New pen that acts like solid but only draws the bottom border
2015-08-16 07:53:25 -07:00
nicolas-p d1594a60db Transparent buttons
Transparent button backgrounds (for the unified toolbar)
2015-08-16 07:53:25 -07:00
nicolas-p 8d9c14ae04 New scrollbars 2015-08-16 07:53:25 -07:00
nicolas-p a246a33c3e New scrollbars
The scrollbar background is now transparent and the scrollbars are
thinner.
2015-08-16 07:53:25 -07:00
John Benediktsson ceb75057da change ERROR: words from throw-foo back to foo. 2015-08-13 16:13:05 -07:00
Doug Coleman b6be8685c3 basis: ERROR: changes. 2015-08-13 03:20:39 -07:00
Doug Coleman 9f0a1ed730 cocoa: Syntax is funky, so regularize it by parsing CLASS: ; and METHOD: ; and COCOA-PROTOCOL: token. 2015-08-12 19:44:07 -05:00
Doug Coleman e0d1b14e5c factor: don't need FROM: namespaces => set or namespaces:set anymore 2015-08-12 11:25:57 -05:00
Doug Coleman 330c7ba156 factor: Removing SLOT: nth/at/global in favor of using change: at for tuple slots named ``at`` and change-at for hashtables.
Redo many FROM: and QUALIFIED: and using lists.
2015-08-12 08:49:02 -05:00
Doug Coleman 00338f62f3 factor: put inline on same line as ; for experimentation 2015-08-10 12:55:27 -05:00
Doug Coleman 9d021bb081 opengl: Temporary (?) fix for the ui. Issue #1379.
Throwing gl errors is not helpful because the ui gets messed up anyway. Print the error and continue. Maybe we should add a section in the F3 error window for opengl errors instead of printing them in the global stdout.
- We could also use gl-error on every platform except for MacOSX 10.11
- We could fix the underlying gl drawing commands that cause this error.
2015-08-04 12:28:59 -07:00
John Benediktsson 3649d21541 ui: cleanup some usings. 2015-07-28 19:14:14 -07:00
John Benediktsson acded37575 ui.images: don't need to << >>. 2015-07-28 19:14:01 -07:00
John Benediktsson 60d7d84b56 ui.commands: don't need to \ . 2015-07-28 19:13:43 -07:00
John Benediktsson 57b0ce8d9e ui.gadgets.panes: don't use extract-keys, don't clone twice in specified-font. 2015-07-27 08:42:42 -07:00
John Benediktsson 4f09d852f3 ui.gadgets.sliders: rename slider-pen-tuple to slider-pen. 2015-07-27 08:41:01 -07:00
John Benediktsson 332e3ad52f ui.gadgets.grids: rename grid-layout-tuple to grid-layout. 2015-07-27 08:40:30 -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
John Benediktsson 5fbe6aa9e6 ui.gadgets.labels: respect the labels background and foreground. 2015-07-25 22:38:34 -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 dfc5be9e43 ui.gadgetes.grids: cell -> grid-cell. it's private and hardly used and loaded by default, let's not confuse the tools with the layouts:cell. 2015-07-20 01:23:00 -07:00
Doug Coleman af90d77fc2 wrap.words: rename wrap.words:word to wrapping-word. this ``wrapping-word`` is loaded by default and now this trivial vocabulary won't cause a naming conflict with the builtin ``word`` and one of the most used symbols and concepts in the entire language. 2015-07-20 01:15:48 -07:00
Doug Coleman e4c39bcf3c factor: superclass -> superclass-of, superclasses -> superclasses-of 2015-07-20 00:46:33 -07:00
Doug Coleman 2adeed9cb3 factor: rename classes:members to class-members so it doesn't conflict with sets:members. ugh. 2015-07-20 00:32:42 -07:00
Doug Coleman fbbd09f3c5 factor: system:image -> image-path, like vm-path. image is all over the place png, jpg etc 2015-07-20 00:17:09 -07:00
Doug Coleman 0176591527 factor: actual patch to remove ; from all c/fortran functions 2015-07-19 16:25:30 -07:00
John Benediktsson 2c4ed220b5 ui.gadgets.tabbed: use named color constant. 2015-07-19 12:49:34 -07:00
John Benediktsson 035ccf7984 ui.gadgets.grid-lines: fix using. 2015-07-18 18:30:16 -07:00
John Benediktsson 72e19fe79a ui.gadgets.grid-lines: fix tests. 2015-07-18 18:28:00 -07:00
John Benediktsson f9cb9765ee ui.gadgets.grid-lines: fix rough edges on right and bottom. 2015-07-18 14:56:57 -07:00
John Benediktsson 66f6416d34 ui: add some $quotation help. 2015-07-18 10:57:37 -07:00
John Benediktsson ed98332263 ui.gadgets.buttons: simplify. 2015-07-14 15:43:58 -07:00
John Benediktsson 1431c33f1f ui.gadgets.status-bar: use color constants. 2015-07-14 15:29:25 -07:00
John Benediktsson 098a07ed59 ui.gadgets.buttons: add button quot effect. 2015-07-14 15:29:06 -07:00
John Benediktsson dce364faa2 ui.gadgets.labels: trigger relayout when string changes. 2015-07-10 14:06:53 -07:00
Doug Coleman 892c62e1dc factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test 2015-07-03 09:39:59 -07: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 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
Doug Coleman fb8d601c20 cocoa: windows -> ui-windows 2015-06-10 16:05:11 -07:00
Doug Coleman 958d5e61b2 ui: rename windows to ui-windows 2015-06-10 15:36:35 -07:00
Doug Coleman 6e60c811ac core: Rename create to create-word, create-in to create-word-in. 2015-06-08 12:47:35 -07:00
Doug Coleman a4c5a748ad core/basis: Rename words dealing with vocabs to loaded-vocabs or disk-vocabs because it's too confusing otherwise. 2015-06-08 12:47:35 -07:00
John Benediktsson 2c3492a916 minor cleanup to some docs. 2015-05-13 16:09:14 -07:00
John Benediktsson 296968580a use assoc-reject instead of [ ... not ] assoc-filter. 2015-05-12 19:08:42 -07:00
John Benediktsson b366a06c41 use reject instead of [ ... not ] filter. 2015-05-12 18:50:34 -07:00
Björn Lindqvist ba8caa72fb io.crlf: the lf>crlf and crlf>lf words looks generally useful, lets put them in io.crlf to reduce some code duplication 2015-05-12 09:32:05 -07:00
Mark Green fe2c2d23de Adding help for <model-field> and <action-field>. 2015-02-21 18:39:04 -08:00
John Benediktsson 14b3261bef ui: cleanup some using lists. 2015-01-29 11:41:18 -08:00
John Benediktsson 3f3c11c446 ui.backend.cocoa: fix reset of thread-timer. 2015-01-17 15:58:57 -08: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 52e7538869 ui: specify two places where image-name tuples are expected. 2014-12-15 09:56:03 -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 49bcbaee7a removing small and unnecessary files. 2014-11-29 17:24:42 -08:00
Björn Lindqvist 001acde590 math.vectors: new word v>integer = [ >integer ] map 2014-11-17 19:02:12 -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
Doug Coleman c39f33ee67 ui.event-loop: No need to special-case ui.private now that the auto-use
tool suggests private words.
2014-11-01 11:35:55 -07:00
John Benediktsson 7d0039babe cocoa: fix requirement that mac deploys have high reflection. 2014-10-31 11:34:08 -07:00
Doug Coleman 6f5ff6579e ui.event-loop: Fix using list. 2014-10-26 16:27:33 -07:00
John Benediktsson 8033741135 io/ui: slim down the USE: list 2014-10-24 17:33:27 -07:00
John Benediktsson c96bf37b3a ui.gadgets.tables: show summary for mouse row or selected row. 2014-10-24 16:32:21 -07:00
John Benediktsson 6767928091 ui.gadgets.buttons: use hide-status on button-leave. 2014-10-24 16:30:29 -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
John Benediktsson e5ac9c9c0f ui.backend.gtk: fix yield delay on gtk backend. 2014-08-05 11:24:23 -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
Björn Lindqvist 60ffe0680e kernel: new combinator 2with = with with 2014-07-22 07:40:13 -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 b460563da3 ui: Missed an entry in the top list that is in the bottom list. 2014-07-16 02:32:14 -07: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
Doug Coleman d614084550 opengl.capabilities: Apply @jonenst's suggestions for gl-version failures with mesa opengl. 2014-06-07 21:48:20 -07:00
John Benediktsson 57f9d78892 improve help by linking to types directly. 2014-05-23 20:20:15 -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 1fdc965b34 ui.backend.cocoa.views: clear cache to remove possibly non-retina stuff. 2014-04-28 13:00:20 -07:00
Björn Lindqvist 3bbdd067be ui.backend.gtk: connect ui signals before realizing the widget
gtk_widget_add_events() needs to be called before gtk_widget_realize()
otherwise oxygen-gtk will steal all lmb clicks
2014-03-02 19:11:55 -08:00
Björn Lindqvist 1456e14a09 ui.backend.windows: correct wndproc signature so that factor works with vs2012 2014-02-21 17:40:43 -08:00
Jon Harper ba57d1adcd with-ui docs, clearly state that the quot must return 2013-10-17 13:35:06 -07:00
John Benediktsson d44cc17161 update docs for help.lint checks. 2013-08-24 11:39:31 -07:00
John Benediktsson 63ee0de2f1 ui.gadgets.worlds: remove fonts slot from docs. 2013-08-13 08:49:43 -07:00
John Benediktsson c75fc48f23 switch some vocabs to 4 spaces. 2013-07-24 14:52:09 -07:00
John Benediktsson fb7f53485a ui.backend.cocoa.views: set gl-scale-factor to f if 1.0. 2013-04-21 19:43:12 -07:00
John Benediktsson 5512294075 ui.backend.cocoa.views: handle windowDidChangeBackingProperties event. 2013-04-21 19:40:57 -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
John Benediktsson 987ecea441 Minor fix to make sure strings are produced. 2013-04-06 18:50:26 -07:00
John Benediktsson c900590f8b use concat instead of join. 2013-04-06 17:02:22 -07:00
John Benediktsson bf83eaccfc cocoa: maybe this is cleaner... 2013-03-30 13:44:11 -07:00
John Benediktsson a99f66f505 cocoa: add ?-> to remember messages being used at runtime. 2013-03-30 13:14:51 -07:00
John Benediktsson d1ae334046 ui.backend.cocoa.views: more robust respondsToSelector: (thanks @jckarter). 2013-03-29 20:34:24 -07:00
John Benediktsson 39dc58a5a8 ui.backend.cocoa.views: spacing. 2013-03-29 14:47:53 -07:00
John Benediktsson fe1bfe173b ui.backend.cocoa.views: simplify and add os version check. 2013-03-29 14:29:41 -07:00
John Benediktsson 1209d5287d ui.backend.cocoa.views: maybe this works on 10.6. 2013-03-29 14:18:57 -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 c1b4bcb58e ui.gadgets.slider: Rename. 2013-03-23 16:47:04 -07:00