Commit Graph

761 Commits (a9ebc772df8d90a36b772cdebf5d85e3670a54ab)

Author SHA1 Message Date
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 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 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
Doug Coleman c1b4bcb58e ui.gadgets.slider: Rename. 2013-03-23 16:47:04 -07:00
Doug Coleman 0b5c1b79c1 ui.gadgets: Rename grid-layout. 2013-03-23 16:41:02 -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 a46bcfe85c ui.gadgets.editors: fix stack effect of change-caret quotation. 2012-12-28 17:01:32 -08: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
John Benediktsson 225e87339b update some docs that should use $quotation. 2012-09-27 11:09:17 -07:00
John Benediktsson 5e57a8258d ui.gadgets.paragraphs: cache width in "line" object. 2012-09-24 18:29:51 -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 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 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
John Benediktsson 04dd210b37 ui.gadgets: fix docs for max-dims. 2012-08-01 07:37:44 -07:00
John Benediktsson c36adbd749 ui.gadgets: faster max-dims and sum-dims. 2012-07-31 20:23:32 -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 bfb6bdd891 ui.gadgets: rename max-dim and dim-sum. 2012-07-13 23:19:21 -07:00
John Benediktsson 27cfc7748e ui.gadgets: use curry in add-gadgets. 2012-07-13 15:39:18 -07:00
Doug Coleman 9f370ec639 issue #358: command-map -> get-command-at 2012-06-21 08:35:46 -07:00
Doug Coleman fbfa8543a1 issue #358: Rename button-pen -> lookup-button-pen. 2012-06-21 08:35:40 -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 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
Joe Groff d1786adfe4 new module images.viewer.prettyprint
Pretty-prints image objects as images.
2011-11-13 12:12:23 -08: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 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
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
John Benediktsson 8d15fb1021 ui.gadgets.editors: implement Ctrl-A/E/K to be more compatible. 2011-10-18 11:38:08 -07:00
John Benediktsson 81714b8dc3 More lint cleanups. 2011-10-16 19:33:16 -07:00
John Benediktsson 6f1c44b46d Cleanup some lint warnings. 2011-10-15 19:19:44 -07:00
John Benediktsson 98f7d2530d ui.gadgets.editors: simplify private word. 2011-09-25 11:43:53 -07:00
Joe Groff 2bd6de9a02 slots: pre-create the "at", "nth", and "global" slots to make deterministic the currently nondeterministic ambiguity between accessors:change-* and assocs:change-at, sequences:change-nth, and namespaces:change-global 2011-09-19 10:03:43 -07:00
Slava Pestov da6f65a3d3 ui.gadgets.tables: don't try to render multi-line strings, since all table rows must have the same height. Fixes #65 2011-09-01 22:41:12 -07:00
John Benediktsson cc68afddce Merge remote-tracking branch 'factorcode/master' 2011-08-27 17:26:11 -07:00
Hugo Schmitt f5e9ac71a4 Swapping call order of 'hook' and 'action' row actions 2011-08-27 17:25:45 -07:00
Slava Pestov fd08f9ad8f Fixes #33 - ui.gadgets.glass had a scoping issue, so text selection would stop working after opening a popup 2011-08-27 17:14:56 -07:00
Erik Charlebois 019224348b Only do mouse selections for button 1 2011-05-23 23:36:14 -04:00
Keita Haga 5cad80fdc9 ui.gadgets.status-bar: fix typo in docs 2011-01-16 21:46:01 +09:00
Slava Pestov 80d0ed0110 ui.gadgets.labels: fix stack effects for label-on-left and label-on-right 2010-07-18 17:38:51 -04:00
Slava Pestov 88ca7abd54 ui.gadgets.worlds: dispose of the handle after ungrabbing input 2010-07-17 16:08:36 -04:00
Doug Coleman 6a501d4aa3 Add a promise to world objects that gets fulfilled when the world is ungrafted 2010-06-16 16:23:30 -05:00
Doug Coleman a6f0abb9a2 Rename alarms -> timers 2010-06-10 16:39:13 -05:00
Doug Coleman 3a7f9c3947 Use restart-alarm for ui blink code 2010-05-24 22:59:25 -05:00
Slava Pestov 46fe340be3 ui.gadgets.worlds: don't enable depth buffer by default, since it just wastes memory and apps which need it can pass custom pixel-format-attributes to open-window to enable it explicitly 2010-05-24 19:23:02 -04:00
Doug Coleman 54ce8be408 Delay the cursor blink 2010-05-23 22:26:46 -05:00
Doug Coleman e75b85de30 Update code base for new alarms api 2010-05-21 20:42:12 -05: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 a8fdfc5860 ui.gadgets.tables: fix load error in docs 2010-05-03 22:42:19 -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 1672c34f9f ui: use scroll delta information for smoother mouse scrolling on Windows and Mac OS X 2010-04-29 02:52:32 -04:00
Daniel Ehrenberg aa6158b366 Changing require-when usages to the new syntax for require-when 2010-04-18 14:29:24 -05:00
Slava Pestov b330595c3b ui.gadgets.grids: clarify docs 2010-04-08 10:22:59 -07:00
Slava Pestov d130f24248 ui.gadgets.buttons: fix incorrect parameter order in <radio-controls> 2010-03-29 15:08:15 -04:00
Daniel Ehrenberg eb060443db Updating code to use require-when rather than vocab [ require ] when 2010-03-18 01:13:37 -04:00
Daniel Ehrenberg 7364608417 Merge branch 'master' of git://factorcode.org/git/factor into bags 2010-03-02 17:04:45 -05:00
Doug Coleman bad7e4b68e Add a slot for worlds to know if they are fullscreened, and another for restoring the window position after returning from fullscreen mode 2010-02-27 07:58:42 -06:00
Daniel Ehrenberg 7cd3360cdd Fixing ambiguity between sets and namespaces in many unit tests and furnace.auth 2010-02-26 17:17:40 -05:00
Slava Pestov 7826543d2e sequences: add cartesian-each, cartesian-map, cartesian-product words to eliminate some duplication throughout the codebase 2010-02-25 20:54:57 +13:00
Joe Groff b7727bc695 ui.gadgets.worlds: deactivate world before calling the ui-error-hook 2010-02-23 22:55:57 -08:00
Joe Groff 83d6f7fc6f if you're going to support shift-del, you should also support shift-ins and ctrl-ins 2010-02-20 09:45:42 -08:00
Slava Pestov daed64d8b4 ui.gadgets.worlds: support S+DELETE as an alternative shortcut for cut-action 2010-02-20 12:24:25 +13:00
Slava Pestov 220dd88a2c Update documentation for new help lint check 2010-02-19 12:31:52 +13:00
Joe Groff eb875e1e78 create a real "ui.gadgets.theme" vocab, move theme-image word into it, and add theme images to resources.txt 2010-02-14 12:42:03 -08:00
Slava Pestov aadf2873d1 ui.gadgets: make fast-children-on more flexible and take a quotation instead of always calling loc>> on elements of the children array. This enables a bug fix for M\ grid children-on, discovered from UI mis-rendering of '\ blend-mode help' 2010-01-25 21:05:42 +13:00
Joe Groff e5c44b95aa game.worlds overhaul: add optional support for integrating audio.engine and make game.input integration optional too. add "tick-game-world" generic for extending game-world's tick* method 2010-01-19 16:07:47 -08:00
Joe Groff 3cfe2afa44 make apply-world-attributes generic 2010-01-19 14:06:48 -08:00
Joe Groff f7e1ed18b0 Merge branch 'master' of git://factorcode.org/git/factor 2010-01-16 12:24:47 -08:00
Slava Pestov 8c8818b00b ui.gadgets.search-tables: fix breakage 2010-01-16 18:44:23 +13:00
Joe Groff 4beb8192c9 pry off some ui app boilerplate with a MAIN-WINDOW: syntax 2010-01-15 16:55:43 -08:00
Joe Groff 9dc5d18b1c allow window pref-dim to be provided in world-attributes 2010-01-15 15:33:37 -08:00
Slava Pestov df4fb4a3ee Removing integers-as-sequences 2010-01-15 07:15:33 +13:00
Slava Pestov 235ad395c2 ui.gadgets.buttons: improve docs 2009-12-02 09:11:40 -05:00
Slava Pestov 0612bc6177 Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Slava Pestov f121961fa4 ui.gadgets: use identity-hashcode instead of counter 2009-11-10 21:27:33 -06:00
Doug Coleman 0f104af192 forgot a sigma 2009-10-29 14:34:31 -05:00
Doug Coleman 1d12a6707d sigma -> map-sum 2009-10-29 14:34:04 -05:00
Doug Coleman bd13e018dd memq? -> member-eq?, sorted-memq? -> sorted-member-eq? 2009-10-28 15:02:00 -05:00
Slava Pestov 50f5c3d116 remq -> remove-eq, delq -> remove-eq! 2009-10-28 00:23:08 -05:00
Slava Pestov 951e3e9c83 delete-nth -> remove-nth! 2009-10-27 23:41:57 -05:00
Slava Pestov f5a0a8b6e1 delete -> remove! 2009-10-27 23:25:35 -05:00
Slava Pestov 08e7d25dc5 change-each -> map!, deep-change-each -> deep-map! 2009-10-27 22:32:56 -05:00
Doug Coleman 0d4b9132d7 fix a bunch of typos in docs 2009-10-21 17:40:43 -05:00
Slava Pestov 08b683de61 ui.gadgets.editors: fix com-join-lines if there are more than two lines in the editor 2009-10-19 22:46:46 -05:00
Doug Coleman 3460383cda fix indentation, revert [ ] [ ] bi -> [ ] keep when second quotation consumes more than one object 2009-10-05 18:33:24 -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 a273cbb68e fully clean up gadgets.editors 2009-10-04 17:23:23 -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
Joe Groff 9798564536 clean up textured window code 2009-09-25 09:42:09 -05:00
Joe Groff e0157c55d1 support textured windows on os x and windows 6.x 2009-09-24 13:05:27 -05:00
Slava Pestov d662acb299 ui.gadgets.buttons: don't show 'Shortcut' message if there is a gesture but its not a key gesture 2009-09-23 22:50:52 -05:00
Joe Groff 123a962596 fix button background (from Keith Lazuka <klazuka@gmail.com>) 2009-09-16 13:42:40 -05:00
Keith Lazuka 726ad992a3 Pull in new literals vocab to remove bootstrap circularity
Merge branch 'master' into ui
2009-09-11 22:19:46 -04:00
Slava Pestov ace0c3a15a Doc fixes 2009-09-11 17:59:04 -05:00
Keith Lazuka a96e828d7c io.styles: renamed the 'border-width' style to 'inset'. inset takes a pair of 2 numbers (horizontal and vertical insets) 2009-09-09 15:50:25 -04:00
Slava Pestov 74fa73aeaf Fix various test failures 2009-09-08 19:18:56 -05:00
Slava Pestov c4c6c6b986 ui.gadgets.buttons: don't show message if no shortcut assigned 2009-09-08 14:46:16 -05:00
Keith Lazuka ab7e2fc69b Factor theme colors are now referenced by name.
Added a text file, "factor-colors.txt", which is like "rgb.txt" except it lists the theme colors used in the Factor UI.

Changed url-style color to DodgerBlue4 to match link-style.
2009-09-08 15:25:27 -04:00
Keith Lazuka 9c7d45e08a Removed text shadow support 2009-09-08 14:22:27 -04: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
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
Slava Pestov 2e73038043 Revert basis UI gadget changes 2009-08-06 16:46:48 -05:00
Sam Anklesaria 6f607ed5a9 fixed ui.gadgets.tables multi-selection bug 2009-08-06 16:31:35 -05:00
Sam Anklesaria 827d30a95b Merge branch 'master' of git://factorcode.org/git/factor 2009-08-06 15:40:57 -05:00
Sam Anklesaria a621e381e3 merged control extras into basis 2009-08-06 15:19:28 -05:00
Slava Pestov ef97fdf0c5 ui.gadgets.tables: some band-aid fixes 2009-08-06 01:28:30 -05:00
Slava Pestov 926797d485 ui.gadgets.tables: more fixes 2009-08-05 22:56:08 -05:00
Slava Pestov dba67b1815 ui.gadgets.tables: little cleanup 2009-08-05 22:45:56 -05:00
Sam Anklesaria a352e7411e reindented ui.gadgets.tables 2009-08-05 21:29:48 -05:00
Sam Anklesaria 0c4b9a0d58 simplified ui.gadgets.tables 2009-08-05 16:24:56 -05:00
Sam Anklesaria 07b34c6d0a Merge branch 'master' of git://factorcode.org/git/factor 2009-08-03 10:13:27 -05:00
Joe Groff 7c5ef08aab [ [ ... ] compare ] sort => [ ... ] sort-with 2009-08-02 20:09:23 -05:00
Sam Anklesaria cc38d1ada6 Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	basis/functors/functors.factor
	basis/io/launcher/launcher.factor
	basis/ui/gadgets/tables/tables.factor
2009-07-22 10:02:09 -05:00
Joe Groff 8e58f5e5aa in kazakhstan, they say that a world is like a context-world 2009-07-15 22:39:23 -05:00
Joe Groff a06948298b ensure resize-world never happens before begin-world 2009-07-13 22:35:36 -05:00
Slava Pestov 328c6d02f5 ui.gadgets.tables: clicking in empty area no longer notifies selection model 2009-07-06 23:19:26 -05:00
Slava Pestov d108324f19 ui.gadgets.panes: Shift-clicking to extend the selection in a pane should not focus the pane's input area 2009-07-03 22:41:32 -05:00
Joe Groff 97adae24f0 pardon my dust 2009-07-01 17:57:21 -05:00
Joe Groff 77104b7256 put a slot on worlds for window-resources which get disposed when window is closed 2009-07-01 13:54:42 -05:00
Sam Anklesaria a6f65a483b Merge branch 'master' of git://factorcode.org/git/factor 2009-06-26 15:52:48 -05:00
Joe Groff 3514e5fb47 make sliders work when range min isn't zero 2009-06-18 21:20:34 -05:00
Joe Groff 037ed45339 give range models a step parameter; use it on sliders so the thumb can step by any interval 2009-06-18 20:57:02 -05:00
Joe Groff 5f2bced2e3 docs for window-controls 2009-06-18 12:20:50 -05:00
Joe Groff 3231fcd052 interface for controlling window controls (close, minimize, resize, titlebar, etc.). cocoa backend 2009-06-17 22:47:51 -05:00
Slava Pestov 82825caf80 ui.gadgets.sliders: forgot to update docs 2009-06-16 17:11:36 -05:00
Slava Pestov 37b01357ec Remove unused words discovered by Samuel Tardieu 2009-06-16 16:38:39 -05:00
Slava Pestov 92b436d7fb interleave: allow the 'between' quot to access the stack 2009-06-15 16:07:39 -05:00
Sam Anklesaria 63204e677a Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	unmaintained/modules/rpc-server/rpc-server.factor
2009-06-14 11:56:45 -05:00
Joe Groff 0169934f6d null-world class for interactive OpenGL use 2009-06-03 11:03:34 -05:00
Sam Anklesaria 3a8267f30f illusion-models selectively activated 2009-05-31 11:40:03 -05:00
Sam Anklesaria ef52d1b94d ui.gadgets.tables uses arrays, not vectors 2009-05-27 10:26:26 -05:00
Sam Anklesaria 9755132d01 removed occurences of peek in new tables 2009-05-26 16:56:05 -05:00
Sam Anklesaria e0216e2fe8 fixed hang bug in ui.gadgets.tables 2009-05-26 14:26:11 -05:00
Sam Anklesaria 3b10d4d86e Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	basis/ui/gadgets/tables/tables.factor
	core/vocabs/parser/parser.factor
2009-05-24 18:57:22 -05:00
Sam Anklesaria 9ffa0c32c8 ui.frp uses table constructor 2009-05-16 22:58:38 -05:00
Sam Anklesaria 8a50d2f8fd pseudo-slots vocabulary 2009-05-16 19:49:27 -05:00
Sam Anklesaria 54ccd1039b tables selected-values type error fixed 2009-05-16 10:46:34 -05:00
Slava Pestov 66a9416473 Update documentation for stricter vocabulary search path semantics 2009-05-16 00:29:21 -05:00
Sam Anklesaria b7c719c844 table single storage works for f 2009-05-15 20:02:07 -05:00
Sam Anklesaria 38e8565555 illusion models: two way arrows 2009-05-15 16:58:17 -05:00
Slava Pestov fb6df472a2 Cleaning up USING: lists for new strict semantics 2009-05-14 16:54:16 -05:00
Sam Anklesaria 33148a8964 tables shift-click hack for mac 2009-05-14 12:38:43 -05:00
Sam Anklesaria 44ddc7238b multiple selection of same row fixed 2009-05-14 10:01:37 -05:00
Sam Anklesaria 20d9b1fde3 table gadget row-action bug fixed 2009-05-13 22:15:33 -05:00
Sam Anklesaria db76a7b98d Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	basis/io/launcher/launcher.factor
2009-05-13 20:03:22 -05:00
Sam Anklesaria 1a8fcee712 table views: selected value is always a vector 2009-05-13 17:17:10 -05:00
Sam Anklesaria 89efe27ab5 multiple selection in table views 2009-05-13 16:10:04 -05:00
Slava Pestov 560ad8b2e5 ui.gadgets.worlds: Remove unneeded ui.commands dependency. This reduces deployed image size 2009-05-12 04:02:24 -05:00
Slava Pestov 5b315efc81 Make focusable-child* work even if world has no children, to clean up a code duplication 2009-05-11 17:04:32 -05:00
Slava Pestov f5af7977ec ui.debugger: new mini error dialog box for deployed apps 2009-05-11 16:18:47 -05:00
Joe Groff 87717fa78c Add user-visible grab-input and ungrab-input words to cleanly toggle grabbing on worlds 2009-05-11 13:18:38 -05:00
Joe Groff 30bfce2ce0 improve error handling when begin-world fails 2009-05-11 12:35:41 -05:00
Slava Pestov cda3685c4d Eliminate prettyprinter dependency from UI 2009-05-09 20:24:17 -05:00
Joe Groff 9992817c65 input grabbing support 2009-05-08 15:07:15 -05:00
Slava Pestov fb5b48c71a Fix some test failures 2009-05-04 09:44:26 -05:00
Joe Groff 804d4aae81 docs for new world words 2009-05-03 23:01:26 -05:00
Joe Groff 4504907736 add a resize-world generic to handle window resizes 2009-05-03 22:01:35 -05:00
Joe Groff 585ea8da54 don't pprint gadgets with RECT: syntax 2009-05-03 18:32:35 -05:00
Joe Groff 474735a60c update status-bar for api changes. set the gl-context outside of draw-world* generic 2009-05-03 17:11:01 -05:00
Joe Groff 6ccd82faba world API changes: open-window can take a world-attributes tuple with additional parameters besides title. new begin-world, end-world, and draw-world* generics 2009-05-03 15:52:26 -05:00
Joe Groff cc244cb672 break code->code docs<-docs dependency 2009-05-02 21:54:25 -05:00
U-FROGGER\erg aa142a1b52 fix windows ui 2009-05-02 20:36:31 -05:00
Joe Groff d96f6d3197 oops, forgot backing-store support on windows. also "robust" is useless 2009-05-02 17:54:45 -05:00
Joe Groff a7e2632faf check-world-pixel-format word that world subclasses can override to verify that the chosen pixel format meets their needs 2009-05-02 16:46:58 -05:00
Joe Groff 621fed2dd5 need to pass world as arg to pixel-format hooks 2009-05-02 12:31:33 -05:00
Joe Groff c8739f5430 Merge branch 'master' of http://factorcode.org/git/factor 2009-05-01 13:01:04 -05:00
Joe Groff b45ea14d39 compilation fixes 2009-05-01 12:56:52 -05:00
Joe Groff ba8abd6cad cocoa backend support for ui.pixel-formats; world-pixel-format-attributes generic 2009-05-01 09:09:38 -05:00
Slava Pestov 31c2ede034 ui.gadgets.sliders: fix usability issue 2009-05-01 07:43:50 -05:00
Slava Pestov 59bec433f4 Add unportable tag to merger and fix indentation in ui.gadgets.tables 2009-04-30 21:37:53 -05:00
Sam Anklesaria 3cf4f45416 comboboxes vocab + ui authors, summaries 2009-04-29 14:19:30 -05:00
Slava Pestov eb4981fb00 ui.gadgets.tables: if model changes, try to preserve selection 2009-04-24 01:14:02 -05:00
Slava Pestov 05f3f9dcb9 Fixing unit tests for stack effect inference changes 2009-04-20 21:15:19 -05:00
Slava Pestov 1c123e7e22 Remove some usages of -rot and tuck 2009-04-18 21:53:22 -05:00
Slava Pestov ce76331fd6 Fixing more unit tests 2009-04-17 15:50:03 -05:00
Slava Pestov df18c0b6e7 Making more code infer 2009-04-15 19:03:44 -05:00
Slava Pestov c9272501f5 ui.gadgets.packs: add failing unit test 2009-04-13 14:41:08 -05:00
Slava Pestov 5aab0078a0 Make more code infer 2009-04-12 16:08:54 -05:00
Slava Pestov c626004735 ui.gadgets.tables: center cells vertically, add padding around images 2009-04-11 14:14:32 -05:00
Slava Pestov ad2b7b74f4 Fix baseline alignment to work like align=1/2 if there is no text in the layout, also fix nested baseline alignment in the no-text case 2009-04-10 14:11:05 -05:00
Slava Pestov 8480034d6e image-name instances can now be passed to <button> etc 2009-04-10 08:13:20 -05:00
Slava Pestov 78503a1b9c Merge branch 'master' into smarter_error_list 2009-04-10 06:23:17 -05:00
Slava Pestov 713ab02337 Don't use GL_ARB_texture_non_power_of_two on ATI hardware to fix bug reported by Andy Turner and Caesar Hu 2009-04-10 06:18:29 -05:00
Slava Pestov 61918ac0c5 Merge branch 'master' into smarter_error_list 2009-04-08 06:45:49 -05:00
Slava Pestov 87e4598581 opengl.textures: use GL_ARB_texture_non_power_of_two if available 2009-04-07 21:32:45 -05:00
Aaron Schaefer 0c33ba55c8 Merge branch 'master' of git://factorcode.org/git/factor
* 'master' of git://factorcode.org/git/factor: (36 commits)
  Fix typo
  Fix alien.fortran for NetBSD x86.64
  fix unit test in robots
  http.client: fix 307 redirect behavior (reported by Chris Double)
  Treat a limit of f as unlimited instead of throwing an error
  Static responder now works when the root is a file rather than a directory
  Fix site-watcher tests
  Fix bootstrap
  furnace.actions: load chloe tags
  furnace.redirection: load urls.secure
  db.errors.sqlite: don't give up on bad inputs
  Makefile: clean target should delete libfactor.dylib too
  Working on site-watcher
  unbreak regexp
  refactor spider
  clean up a combinator in id3 parser
  Minor doc updates
  Use [ ] [ ] map-reduce instead of unclip [ ] reduce
  Factor out site-watcher.email, start work on site-watcher.spider
  construct a glob-matching quote for robots.txt files
  ...
2009-04-07 21:38:13 -04:00
Aaron Schaefer cbd6b0ed3b fix documentation typo 2009-04-06 15:18:35 -04:00
Slava Pestov 2adee07a29 Merge branch 'master' into smarter_error_list 2009-04-06 13:41:33 -05:00
Slava Pestov 37e5d502f1 Fix shift-drag losing focus in listener 2009-04-06 13:39:55 -05:00
Slava Pestov 476d1910c2 Merge branch 'master' into smarter_error_list 2009-04-05 23:54:01 -05:00
Slava Pestov cb6030778f Fix ui.gadgets.scrollers unit tests 2009-04-05 23:38:47 -05:00
Slava Pestov 78013c2bdf Rename scroll word to set-scroll-position and make it public 2009-04-05 23:19:18 -05:00
Slava Pestov 8bf5fde791 Rename scroll word to set-scroll-position and make it public 2009-04-05 23:18:25 -05:00
Slava Pestov 880f4097ad Clear button in search field is now positioned correctly 2009-04-05 20:50:45 -05:00
Slava Pestov bae7923594 Fix more cosmetic issues 2009-04-03 19:50:46 -05:00
Slava Pestov 695b97e6e6 Remove debug stuff 2009-04-03 19:35:22 -05:00
Slava Pestov 3137d12f12 Fix some minor UI bugs 2009-04-03 19:30:07 -05:00
Slava Pestov 4f19f9b2c1 Fix UI pane selection 2009-04-02 09:09:09 -05:00
Slava Pestov 4dbb2aa491 Partial fix for pane selection 2009-04-01 22:24:49 -05:00
Slava Pestov 474e74a232 Re-organize things so that bootstrap.ui doesn't load ui.text 2009-03-31 23:44:38 -05:00
Slava Pestov 9be60e36af Add models.arrow.smart: abstracts out common <product>/<arrow> pattern 2009-03-28 04:19:33 -05:00
Slava Pestov 3bf5d2bfd4 Implement image tesselation in image.tesselation. This is used by opengl.textures to break up large bitmaps into multiple smaller textures. The gl-rect and gl-fill-rect words have different stack effects now, so usages were updated. 2009-03-27 18:31:25 -05:00
Slava Pestov 6984c143e9 Fix hang when running ui tests 2009-03-25 22:54:31 -05:00
Slava Pestov f4948ec970 Merge tools.test.ui into ui.gadgets.debug 2009-03-25 22:52:52 -05:00
Slava Pestov c36ae80c28 Better error message if user forgets with-ui 2009-03-25 11:12:10 -05:00
Slava Pestov 637d06a4f8 Add silly 'tip of the day' feature, and 'recently visited' list to UI browser home page 2009-03-24 04:11:08 -05:00
Slava Pestov 723bfab030 Fixing unit tests for syntax change 2009-03-23 00:34:02 -05:00
Doug Coleman ebaf05f26b Fix clipboard bugs 2009-03-19 17:36:38 -05:00
Slava Pestov be4fb1e7d9 Move call( and execute( to core 2009-03-16 20:11:36 -05:00
Slava Pestov 3a611f41c7 ui.gadgets.editors: remove unnecessary workaround, make another word infer 2009-03-16 06:27:19 -05:00
Slava Pestov 4589aab8a4 Move ui.gadgets.alerts, ui.gadgets.book-extras and ui.utils to extra 2009-03-16 03:00:37 -05:00
Daniel Ehrenberg f62847a430 Merge branch 'master' of git://factorcode.org/git/factor 2009-03-15 17:39:29 -05:00
Slava Pestov 07a5a46009 Add stream-element-type generic word 2009-03-15 17:11:18 -05:00
Slava Pestov 34d9d12ddb Fix a bug in ui.gadgets.labeled and add a unit test 2009-03-14 00:01:18 -05:00
Slava Pestov c46b400d40 New look for menus 2009-03-13 23:49:16 -05:00
Daniel Ehrenberg a36af22f11 Merge branch 'master' of git://factorcode.org/git/factor 2009-03-13 15:35:15 -05:00
Slava Pestov da254e4621 Opening a second popup if one is already visible hides the first 2009-03-13 04:47:56 -05:00
Slava Pestov 7cefd48884 Tweak pane layout for better baseline alignment 2009-03-12 17:48:46 -05:00
Daniel Ehrenberg 05d718a7e9 Merge branch 'master' of git://github.com/bogiebro/factor 2009-03-12 03:58:40 -05:00
Slava Pestov 667eca9410 Fix unit tests and help lint for 'see' move 2009-03-11 17:33:54 -05:00
Slava Pestov 5f196ba2ef Fix bootstrap 2009-03-11 07:17:57 -05:00
Slava Pestov 692b648feb Change tabular-output and smash-pane behavior to fix panes unit tests; re-organize panes code to make more words private 2009-03-11 03:17:30 -05:00
Slava Pestov 16ddc461b4 Document ui.gadgets.glass and fix help lint failures in UI docs 2009-03-10 17:28:34 -05:00
Sam Anklesaria 895b1339f8 added buttons for book navigation 2009-03-09 20:35:49 -05:00
Sam Anklesaria 4d453923ae added simple dialogs for the ui 2009-03-09 20:34:56 -05:00
Slava Pestov a3c23c53ca Half-fix pane selection 2009-03-09 18:35:12 -05:00
Slava Pestov 7ec4f574a5 Clicking in the pane focuses the input area 2009-03-08 17:33:40 -05:00