Commit Graph

1592 Commits (81c6196dc488d73c9c47e5ccf94e6e8c94e75ad4)

Author SHA1 Message Date
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
Doug Coleman 16964064b6 ui.tools: Fix definition? usage. 2013-03-23 16:46:51 -07:00
Doug Coleman 0b5c1b79c1 ui.gadgets: Rename grid-layout. 2013-03-23 16:41:02 -07:00
Doug Coleman 51e695857c ui.gestures: Class vs word name duplication. Sorry for the lame names, this can get cleaned up with a tool once there are no more conflicts. 2013-03-23 16:12:03 -07:00
Doug Coleman 8c19602ae9 assocs: Add of and ?of. Change all the things at once! Fixes #701. 2013-03-23 14:59:07 -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 8c88e0448a ui: change selected gadgets to a hash-set. 2013-03-10 16:13:30 -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 295c87b8b1 ui.backend.cocoa.views: add platforms.txt. 2013-01-16 14:28:32 -08:00
John Benediktsson 3f987b2ffb ui.backend.cocoa.views: fix build error on older OSX versions. 2013-01-16 10:46:39 -08:00
Jon Harper 8587b90930 X11, give same input as gtk when pressing shift, tab, alt.. 2013-01-11 11:58:37 -08:00
Jon Harper 6afe04bfc1 X11 XK_ISO_Left_Tab is shift tab 2013-01-11 11:58:21 -08:00
John Benediktsson a46bcfe85c ui.gadgets.editors: fix stack effect of change-caret quotation. 2012-12-28 17:01:32 -08:00
John Benediktsson 43b541d11b ui.baseline-alignment: fix float shift on retina. 2012-12-17 11:43:05 -08:00
John Benediktsson e01ff14fa0 ui.text.core-text: fix jumping "def". 2012-12-11 08:06:02 -08:00
John Benediktsson 5fd5ab6711 Revert "ui.backend.cocoa.views: make compatible with 10.6."
This reverts commit 7f6f742fc3.
2012-11-29 18:43:39 -08:00
John Benediktsson 5b5ee71a6a ui.backend.cocoa.views: make compatible with 10.6. 2012-11-26 14:48:42 -08:00
Jon Harper f5f767e0dc winapi window resize 2012-11-26 14:39:55 -08:00
Jon Harper 26beb27680 OSX window resize 2012-11-26 14:39:55 -08:00
Jon Harper 8948e8a455 X11 window resize 2012-11-26 14:39:54 -08:00
Jon Harper b023ebf7a5 Add resize-window and relayout-window 2012-11-26 14:39:54 -08:00
John Benediktsson ab3d6b1d13 opengl: properly scale viewports. 2012-11-01 17:12:13 -07:00
John Benediktsson 43d91bcf08 ui.backend.cocoa.views: only set gl-scale-factor if > 1.0. 2012-11-01 16:59:45 -07:00
John Benediktsson fcce5a2af9 core-text: retina displays should use "2x" fonts. 2012-11-01 16:28:33 -07:00
John Benediktsson 44b7bbc76d opengl: adding support for a gl-scale-factor. 2012-11-01 14:48:12 -07:00
John Benediktsson 4efa984637 ui.backend.cocoa.views: [self setWantsBestResolutionOpenGLSurface:YES]; 2012-11-01 14:29:03 -07:00
Doug Coleman 1a5f2ad961 ui.backend.gtk: Save the clipboard to the global clipboard so that it doesn't get deleted when Factor exits. Fixes #548. Add paste-selection, but commented out for now. 2012-10-29 10:56:34 -07:00
Doug Coleman 2921829b79 windows: Attempt to fix circularity. 2012-10-24 19:03:25 -07:00
Doug Coleman 0ae18456fd windows.shell32: Add a way to find out the kind of executable of a file on
windows. Inline a word.
2012-10-24 16:16:35 -07: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
Jon Harper b3ff75cec2 ui.backend.gtk: better gesture for shift tab
gdk emits ISO_Left_Tab for shift + tab. Not sure if factor should silently
transform that in tab..
With this patch, shift tabs emits the following gesture:
T{ key-down { mods { S+ } } { sym "TAB" } }
2012-09-29 15:54:15 +02:00
John Benediktsson 225e87339b update some docs that should use $quotation. 2012-09-27 11:09:17 -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 5e57a8258d ui.gadgets.paragraphs: cache width in "line" object. 2012-09-24 18:29:51 -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
John Benediktsson a32ac00389 ui.text: more globals. 2012-09-21 18:40:38 -07:00
John Benediktsson be85b3bee3 ui: hand-loc and hand-click-loc should be global. 2012-09-21 18:32:43 -07:00
John Benediktsson f1c62deb03 ui: use "windows get-global". 2012-09-21 15:39:49 -07:00
Doug Coleman 84c1137eb4 windows.uniscribe: Render image lazily. Speeds up panes benchmark. 2012-09-21 09:54:40 -07:00
John Benediktsson 07194b4741 ui.text.pango: lazy render images like core-text backend. 2012-09-21 08:16:48 -07:00
John Benediktsson 7e3391ffb0 ui.gadgets.tables: i think this is clearer. 2012-09-20 18:24:57 -07:00
John Benediktsson 98a8230d1c ui.gadgets.tables: fix stack effect names. 2012-09-20 18:24:57 -07:00
John Benediktsson 6d447cb939 ui.gadgets.tables: cache table rows only on model-changed. 2012-09-20 18:24:57 -07:00
John Benediktsson 37b27b7fbe ui.gadgets.tables: reduce generic dispatch. 2012-09-20 18:24:57 -07:00
John Benediktsson 88b196dc8c ui.gadgets.tables: some performance improvements. 2012-09-20 08:34:43 -07:00
John Benediktsson cfa87365e3 ui.baseline-alignment: add concept of "aligned-gadget".
This type of gadget caches baseline and cap-height for performance.
2012-09-18 15:48:49 -07:00
John Benediktsson b80992b27a Revert "ui.gadgets.labels: use font-metrics directly."
This reverts commit d9fdd71d64.
2012-09-18 09:19:29 -07:00
John Benediktsson 45f0db5f78 ui.gadgets: add some inline. 2012-09-17 17:21:31 -07:00
John Benediktsson 25aadd2dc2 ui.text.pango: don't create unnecessary font objects. 2012-09-17 14:17:57 -07:00
John Benediktsson eb1a4db801 ui.gadgets.labels: use font-metrics directly. 2012-09-17 14:12:25 -07:00
John Benediktsson 8e3c79b841 ui.gadgets.paragraphs: cache the wrapped paragraph for performance. 2012-09-17 14:12:25 -07:00
John Benediktsson d5900ba7ee ui.gadgets: inline gadget-child and nth-gadget. 2012-09-17 14:12:25 -07:00
Doug Coleman 27f445d505 assocs: Add sift-keys and sift-values. Remove three other implementations
of sift-values and use the new one.
2012-08-23 22:36:10 -07:00
John Benediktsson 1ee1a793de ui.tools.browser: fix stack effect name. 2012-08-17 10:13:44 -07:00
John Benediktsson 93a2775248 ui.tools.operations: fix crash clicking on a model that hasn't been initialized properly. 2012-08-13 17:02:39 -07:00
John Benediktsson 7b2b3f5e9f ui.tools.listener.completion: make sure "IN:<Ctrl-h>" works. 2012-08-13 15:16:16 -07:00
Doug Coleman bf86504c1a ui.tools.browser: Support resize on + and _. 2012-08-07 14:46:09 -07:00
John Benediktsson f94853c8b7 ui.tools.browser: adding +/- font size commands. 2012-08-07 12:28:45 -07:00
John Benediktsson f05954c5a9 core-text: use cached-lines get-global. 2012-08-02 21:35:28 -07:00
John Benediktsson a056a81307 ui.backend.gtk.io.unix: switch to "mx get-global". 2012-08-01 16:22:23 -07:00
John Benediktsson 04dd210b37 ui.gadgets: fix docs for max-dims. 2012-08-01 07:37:44 -07:00
John Benediktsson 17edc5e63a ui: short-circuit layout-queued if deque is empty. 2012-07-31 20:26:51 -07:00
John Benediktsson c36adbd749 ui.gadgets: faster max-dims and sum-dims. 2012-07-31 20:23:32 -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 4e72d80256 Using "same?" in more places. 2012-07-21 10:22:44 -07:00
John Benediktsson 1a73e79ef7 cleanup some use of with-scope. 2012-07-19 13:55:34 -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 bfb6bdd891 ui.gadgets: rename max-dim and dim-sum. 2012-07-13 23:19:21 -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 27cfc7748e ui.gadgets: use curry in add-gadgets. 2012-07-13 15:39:18 -07:00
John Benediktsson c1e9f4c362 ui.text: cleanup string-width/height and make text-dim a bit faster. 2012-07-13 15:35:42 -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 755e702536 pixel-format-attribute was just (pixel-format-attribute)
Rename the GENERIC: (pixel-format-attribute) to pixel-format-attribute ?
2012-06-21 12:12:57 -07:00
Doug Coleman f1f985edf3 issue #358: delete unused word 2012-06-21 08:38:03 -07:00
Doug Coleman 9f370ec639 issue #358: command-map -> get-command-at 2012-06-21 08:35:46 -07:00
Doug Coleman efbdf222a7 issue #358: Finish renaming <apropos> to <apropos-search> 2012-06-21 08:35:44 -07:00
Doug Coleman fbfa8543a1 issue #358: Rename button-pen -> lookup-button-pen. 2012-06-21 08:35:40 -07:00
Doug Coleman eccf5a82ae io.files.info.windows: Fix file-systems word in two ways. First, don't
allocate 32k on the local alloc stack (which causes a 'double fault.')
Second, if the volume doesnt look up to a real path, don't make a dummy
object for that. volume
Use alien>native-string and native-string>alien wherever possible instead of
utf16n for Windows.
2012-06-21 08:32:53 -07:00
John Benediktsson d616f4779e ui.gadgets.editors: adding delete-to-start-of-document and delete-to-end-of-document. 2012-05-04 18:38:12 -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 4db4b3e171 ui.gadgets.panes: add gadget-alt-text
Provide a default implementation of write-gadget that writes plain text to a stream that doesn't support gadgets.
2012-02-18 21:59:30 -08:00
John Benediktsson 3a4afb1650 Revert "ui.gadgets.books: needs help.markup.private."
This reverts commit dc9aa68961.
2011-12-29 21:38:05 -08:00
John Benediktsson f6c0bfdb89 ui.gadgets.books: needs help.markup.private. 2011-12-29 17:19:48 -08:00
John Benediktsson 2dcb104216 ui: fix error in docs (USE: ui.gadgets.books). 2011-12-29 16:33:16 -08:00
Philipp Brüschweiler b667e4ff7e ui.backend.gtk: don't die if the icon doesn't exist, partially fixes #369 2011-12-06 09:05:05 +01: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 943596575a use radix literals 2011-11-23 19:03:40 -08:00
Joe Groff 29bf4d7214 ui.backend.cocoa.views: clickthrough is bullshit
I don't care what Slava thinks
2011-11-23 11:29:03 -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 d1786adfe4 new module images.viewer.prettyprint
Pretty-prints image objects as images.
2011-11-13 12:12:23 -08:00
John Benediktsson 96d5c2fac8 ui.operations: fix stack names. 2011-11-12 18:48:18 -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 8cf18d1a82 remove BSD,solaris,etc. misc platform support code 2011-11-02 17:13:51 -07: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
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 359c931d35 Rename images.gtk|gdiplus|cocoa to images.loader.*. Fixes #176. 2011-11-02 09:38:03 -07:00
Slava Pestov 4c3c4f177b ui.gadgets.editors: fix wonky word names. Fixes #277 2011-10-29 15:27:27 -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
Slava Pestov d212b18be3 Revert "ui.gadgets.editors: windows doesn't work like macosx."
This reverts commit cf1d12ce78.
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 7b6f27eda6 Add a lint check for swap .. swap that can be replaced by dip. Clean up the cases it finds. 2011-10-26 13:01:04 -07:00
Doug Coleman 51c033a1f6 Fix all failures in the linux64 build email 2011-10-24 19:33:09 -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
John Benediktsson a625197ba5 ui.gadgets.editors: windows doesn't work like macosx. 2011-10-19 09:42:12 -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 80e1c8e3f2 Eliminate duplicate syntax for stack effects "(" no longer drops and is identical to the old "((", which is now removed. 2011-10-18 13:19:39 -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