Commit Graph

553 Commits (2c67a5cd78e5dcffd7146e6fd0eb95f810a497e1)

Author SHA1 Message Date
Slava Pestov 6bbf5c67af 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 fe4805e955 Only do mouse selections for button 1 2011-05-23 23:36:14 -04:00
Keita Haga 6335e3dd3c ui.gadgets.status-bar: fix typo in docs 2011-01-16 21:46:01 +09:00
Slava Pestov 8baa24df3b ui.gadgets.labels: fix stack effects for label-on-left and label-on-right 2010-07-18 17:38:51 -04:00
Slava Pestov b05818c8a4 ui.gadgets.worlds: dispose of the handle after ungrabbing input 2010-07-17 16:08:36 -04:00
Doug Coleman 05b41789e2 Add a promise to world objects that gets fulfilled when the world is ungrafted 2010-06-16 16:23:30 -05:00
Doug Coleman e03a5b038e Rename alarms -> timers 2010-06-10 16:39:13 -05:00
Doug Coleman 3c853f0e60 Use restart-alarm for ui blink code 2010-05-24 22:59:25 -05:00
Slava Pestov 36aa9995f9 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 fc9a5fee58 Delay the cursor blink 2010-05-23 22:26:46 -05:00
Doug Coleman 179acf5ea6 Update code base for new alarms api 2010-05-21 20:42:12 -05:00
Slava Pestov d2d466de29 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 e599462bf0 ui.gadgets.tables: fix load error in docs 2010-05-03 22:42:19 -04:00
Slava Pestov 512e4d8181 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 54260643c3 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 d9878f81d7 Changing require-when usages to the new syntax for require-when 2010-04-18 14:29:24 -05:00
Slava Pestov 7349447295 ui.gadgets.grids: clarify docs 2010-04-08 10:22:59 -07:00
Slava Pestov a78f549918 ui.gadgets.buttons: fix incorrect parameter order in <radio-controls> 2010-03-29 15:08:15 -04:00
Daniel Ehrenberg f2f80dadc7 Updating code to use require-when rather than vocab [ require ] when 2010-03-18 01:13:37 -04:00
Daniel Ehrenberg 4f1819f632 Merge branch 'master' of git://factorcode.org/git/factor into bags 2010-03-02 17:04:45 -05:00
Doug Coleman 045f5f6cd3 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 2b5af07494 Fixing ambiguity between sets and namespaces in many unit tests and furnace.auth 2010-02-26 17:17:40 -05:00
Slava Pestov e5fc398dae 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 bc39a54070 ui.gadgets.worlds: deactivate world before calling the ui-error-hook 2010-02-23 22:55:57 -08:00
Joe Groff 3d8251b0d4 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 9f3127c712 ui.gadgets.worlds: support S+DELETE as an alternative shortcut for cut-action 2010-02-20 12:24:25 +13:00
Slava Pestov 74891bc02a Update documentation for new help lint check 2010-02-19 12:31:52 +13:00
Joe Groff eb3c34e4e5 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 ee689fcffd 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 1ab753c552 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 6cabab4100 make apply-world-attributes generic 2010-01-19 14:06:48 -08:00
Joe Groff b421c1aa8b Merge branch 'master' of git://factorcode.org/git/factor 2010-01-16 12:24:47 -08:00
Slava Pestov 6b8b880791 ui.gadgets.search-tables: fix breakage 2010-01-16 18:44:23 +13:00
Joe Groff 1510b1a359 pry off some ui app boilerplate with a MAIN-WINDOW: syntax 2010-01-15 16:55:43 -08:00
Joe Groff 6e01c20938 allow window pref-dim to be provided in world-attributes 2010-01-15 15:33:37 -08:00
Slava Pestov 880fb747fc Removing integers-as-sequences 2010-01-15 07:15:33 +13:00
Slava Pestov 70b5246e31 ui.gadgets.buttons: improve docs 2009-12-02 09:11:40 -05:00
Slava Pestov 08b6ebc7fa Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Slava Pestov a6fdce75e3 ui.gadgets: use identity-hashcode instead of counter 2009-11-10 21:27:33 -06:00
Doug Coleman db892840bf forgot a sigma 2009-10-29 14:34:31 -05:00
Doug Coleman 1ee8c8f5eb sigma -> map-sum 2009-10-29 14:34:04 -05:00
Doug Coleman b5fd809209 memq? -> member-eq?, sorted-memq? -> sorted-member-eq? 2009-10-28 15:02:00 -05:00
Slava Pestov 03e70d1aa9 remq -> remove-eq, delq -> remove-eq! 2009-10-28 00:23:08 -05:00
Slava Pestov b8a51c7eb0 delete-nth -> remove-nth! 2009-10-27 23:41:57 -05:00
Slava Pestov 45bc6e3c3e delete -> remove! 2009-10-27 23:25:35 -05:00
Slava Pestov 34d3d4962a change-each -> map!, deep-change-each -> deep-map! 2009-10-27 22:32:56 -05:00
Doug Coleman aabaccff5e fix a bunch of typos in docs 2009-10-21 17:40:43 -05:00
Slava Pestov b5fb48b8f2 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 05dce6c755 fix indentation, revert [ ] [ ] bi -> [ ] keep when second quotation consumes more than one object 2009-10-05 18:33:24 -05:00
Doug Coleman 1f0f72b4c0 use 1&& in a few places, clean up some more ui code 2009-10-04 17:50:34 -05:00
Doug Coleman 02687d92a6 fully clean up gadgets.editors 2009-10-04 17:23:23 -05:00
Doug Coleman 4542a86ed2 cleaning up some ui code 2009-10-04 16:43:00 -05:00
Keith Lazuka 8f79ea91ba docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Joe Groff 6d47f2abe7 clean up textured window code 2009-09-25 09:42:09 -05:00
Joe Groff 6ebb13dd2e support textured windows on os x and windows 6.x 2009-09-24 13:05:27 -05:00
Slava Pestov 6944672aa8 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 eba4ba6b56 fix button background (from Keith Lazuka <klazuka@gmail.com>) 2009-09-16 13:42:40 -05:00
Keith Lazuka 272214c174 Pull in new literals vocab to remove bootstrap circularity
Merge branch 'master' into ui
2009-09-11 22:19:46 -04:00
Slava Pestov a82c840e86 Doc fixes 2009-09-11 17:59:04 -05:00
Keith Lazuka 964e964b9d 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 3e90786bc1 Fix various test failures 2009-09-08 19:18:56 -05:00
Slava Pestov 358bc06998 ui.gadgets.buttons: don't show message if no shortcut assigned 2009-09-08 14:46:16 -05:00
Keith Lazuka 78a34b9b3b 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 6df63c62a7 Removed text shadow support 2009-09-08 14:22:27 -04:00
Keith Lazuka 48aba9399b 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 d1ce837569 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 2e920d6243 Revert basis UI gadget changes 2009-08-06 16:46:48 -05:00
Sam Anklesaria 186062493c fixed ui.gadgets.tables multi-selection bug 2009-08-06 16:31:35 -05:00
Sam Anklesaria b3bea8c16f Merge branch 'master' of git://factorcode.org/git/factor 2009-08-06 15:40:57 -05:00
Sam Anklesaria c713721fb7 merged control extras into basis 2009-08-06 15:19:28 -05:00
Slava Pestov 998aec1a51 ui.gadgets.tables: some band-aid fixes 2009-08-06 01:28:30 -05:00
Slava Pestov 9a610a0790 ui.gadgets.tables: more fixes 2009-08-05 22:56:08 -05:00
Slava Pestov 8a452d0b49 ui.gadgets.tables: little cleanup 2009-08-05 22:45:56 -05:00
Sam Anklesaria 27de562ddb reindented ui.gadgets.tables 2009-08-05 21:29:48 -05:00
Sam Anklesaria a7da837c66 simplified ui.gadgets.tables 2009-08-05 16:24:56 -05:00
Sam Anklesaria 3838c3df6e Merge branch 'master' of git://factorcode.org/git/factor 2009-08-03 10:13:27 -05:00
Joe Groff b4befe3f69 [ [ ... ] compare ] sort => [ ... ] sort-with 2009-08-02 20:09:23 -05:00
Sam Anklesaria b310e6fc11 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 2a58c40341 in kazakhstan, they say that a world is like a context-world 2009-07-15 22:39:23 -05:00
Joe Groff f86664e8ef ensure resize-world never happens before begin-world 2009-07-13 22:35:36 -05:00
Slava Pestov 85cc601cca ui.gadgets.tables: clicking in empty area no longer notifies selection model 2009-07-06 23:19:26 -05:00
Slava Pestov fb3c7b7902 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 f933d4e27b pardon my dust 2009-07-01 17:57:21 -05:00
Joe Groff 823616ddc6 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 a1b7553a37 Merge branch 'master' of git://factorcode.org/git/factor 2009-06-26 15:52:48 -05:00
Joe Groff d39e2f0f3e make sliders work when range min isn't zero 2009-06-18 21:20:34 -05:00
Joe Groff c58a302d7e 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 2701781e30 docs for window-controls 2009-06-18 12:20:50 -05:00
Joe Groff 7d1b67b098 interface for controlling window controls (close, minimize, resize, titlebar, etc.). cocoa backend 2009-06-17 22:47:51 -05:00
Slava Pestov 277808a8e0 ui.gadgets.sliders: forgot to update docs 2009-06-16 17:11:36 -05:00
Slava Pestov becaa7985d Remove unused words discovered by Samuel Tardieu 2009-06-16 16:38:39 -05:00
Slava Pestov c92ed59a4e interleave: allow the 'between' quot to access the stack 2009-06-15 16:07:39 -05:00
Sam Anklesaria 218d80eaf2 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 d6f4c3ae44 null-world class for interactive OpenGL use 2009-06-03 11:03:34 -05:00
Sam Anklesaria a8536a42f2 illusion-models selectively activated 2009-05-31 11:40:03 -05:00
Sam Anklesaria e7c2f0687a ui.gadgets.tables uses arrays, not vectors 2009-05-27 10:26:26 -05:00
Sam Anklesaria 1416f9564e removed occurences of peek in new tables 2009-05-26 16:56:05 -05:00
Sam Anklesaria 97888ee017 fixed hang bug in ui.gadgets.tables 2009-05-26 14:26:11 -05:00
Sam Anklesaria 21d3d12ea1 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 176093d059 ui.frp uses table constructor 2009-05-16 22:58:38 -05:00