Commit Graph

761 Commits (a9ebc772df8d90a36b772cdebf5d85e3670a54ab)

Author SHA1 Message Date
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
Slava Pestov 375c5e69b5 Various load-everything fixes 2009-03-07 01:22:21 -06:00
Slava Pestov 5c88b18a9a Oops, forgot to call prepare-last-line 2009-03-06 13:32:41 -06:00
Slava Pestov 4e8280be63 Fix problem where listener would scroll to the top sometimes 2009-03-05 16:33:09 -06:00
Slava Pestov fe1d6a0e13 Add baseline debugging gadget 2009-02-28 20:32:51 -06:00
Slava Pestov 571db75e40 Update code for model class renamings 2009-02-26 16:15:28 -06:00
Slava Pestov c8d5e98898 Fix conflicts 2009-02-26 03:12:19 -06:00
Slava Pestov 4426526252 Fixing some things I broke 2009-02-25 23:30:30 -06:00
Slava Pestov 91fff87c0f Fixing bootstrap after merge 2009-02-24 01:32:46 -06:00
Slava Pestov ce1bc1d6ed Fixing conflicts from stack checker changes 2009-02-24 01:21:10 -06:00
Slava Pestov dcbb5bc692 Implement gesture>string for actions 2009-02-21 16:42:57 -06:00
Slava Pestov 7fddef29da Fix unit tests 2009-02-20 23:30:46 -06:00
Slava Pestov fa79803856 Fix text rendering for fonts where the image bounds exceed the metric bounds, such as Zapfino and Arabic fonts 2009-02-20 20:53:51 -06:00
Slava Pestov af0b6ef4c8 Fix scroll>rect flaw 2009-02-20 20:53:25 -06:00
Slava Pestov ee7bbf8654 Reset mouse selection after table model changes 2009-02-20 20:52:33 -06:00
Slava Pestov 556c218afa Document ui.gadgets.line-support 2009-02-19 18:21:05 -06:00
Slava Pestov a0253106b1 ui.gadgets.status-bar: write some docs and add notion of status message ownership to avoid some subtle race issues with completion popup and listener's keyboard help 2009-02-19 18:01:26 -06:00
Slava Pestov 58e55d4f45 Working on documentation 2009-02-19 16:54:27 -06:00
Slava Pestov 277a827039 Add unit tests for ui.gadgets.glass 2009-02-18 21:01:27 -06:00
Slava Pestov 204777ec3f ui.gadgets.menus now supports separators 2009-02-18 21:00:53 -06:00
Slava Pestov 706fb33e38 Table hooks now receive the table as an input parameter 2009-02-18 21:00:31 -06:00
Slava Pestov d6a2f9b84b Glass panes can now be stacked 2009-02-18 20:59:51 -06:00
Slava Pestov f6f9b0874e change remove-gadget semantics so that removing glass from world doesn't break 2009-02-18 19:25:34 -06:00
Slava Pestov 773d292688 Panes fill up available space with the last line 2009-02-18 17:33:00 -06:00
Slava Pestov 038b4c597c Remove track-remove, and make ui.gadgets:unparent extensible; add a test 2009-02-18 17:32:46 -06:00
Slava Pestov eb54b95b37 Fix grid-lines rendering 2009-02-17 22:42:48 -06:00
Slava Pestov d67f08549c New baseline alignment algorithm uses cap-height/2 as graphics baseline instead of ascent/2 2009-02-17 13:41:19 -06:00
Slava Pestov cf829ad3cf Split off large chunk of ui.tools.listener.popups and make it generic; put it in ui.gadgets.glass 2009-02-17 08:26:23 -06:00
Slava Pestov e37c89a434 Tweak tables a bit 2009-02-17 08:24:55 -06:00
Slava Pestov 0bbe79d386 Search tables: do case folding automatically, better keyboard behavior 2009-02-17 08:24:11 -06:00
Slava Pestov c7dc4f1080 Split off baseline alignment code into ui.baseline-alignment, and add cap-height generic word 2009-02-17 06:10:02 -06:00
Slava Pestov 421ee726b8 Merge branch 'master' into new_ui 2009-02-16 21:22:12 -06:00
Slava Pestov 6b25e99470 Add summary for heaps more vocabs 2009-02-16 21:05:13 -06:00
Slava Pestov 6b672a11fa ui.gadgets.editors: rename min-width and max-width slots of field to min-cols and max-cols, re-use line-support code, more accurate dimension calculation that takes field border size into account 2009-02-16 04:25:58 -06:00
Slava Pestov d2be75b083 ui.gadgets.tables: add support for column headers
ui.gadgets.search-tables: use Joe's X icon
2009-02-16 04:25:15 -06:00
Slava Pestov e80ab7d28b ui.gadgets.scrollers: add support for column headers 2009-02-16 04:24:14 -06:00
Slava Pestov d5d9c65859 Remove new-gadget since it was just an alias for new 2009-02-16 04:04:32 -06:00
Slava Pestov 20aca672ca New icons (Joe Groff) 2009-02-16 01:26:21 -06:00
Slava Pestov 76c35ad90c ui.gadgets.tables: Add page up/down 2009-02-16 01:10:21 -06:00
Slava Pestov 298ea392f7 ui.gadgets.editors: Add page up/down 2009-02-16 01:03:50 -06:00
Slava Pestov d26ae3d141 new set-rect-bounds word for when you're setting loc and dim at the same time 2009-02-15 23:39:27 -06:00
Slava Pestov 86f7a4c282 Fix load errors; ui.gadgets.theme removed 2009-02-15 23:14:18 -06:00
Slava Pestov 8fec1f5d40 Fix load errors 2009-02-15 06:01:53 -06:00
Slava Pestov 628c219495 opengl.texture-cache is not necessary; simplify code 2009-02-15 04:33:43 -06:00
Slava Pestov 9a1d324342 Remove redundant t >>fill? calls 2009-02-15 04:24:25 -06:00
Slava Pestov f8ab4be9da Line gadgets now support min/max rows/cols; this obsoletes limited-scroller 2009-02-15 04:01:57 -06:00
Slava Pestov 074e3238f3 Scrollers: add pref-viewport-dim word that child gadgets can implement; clean up layout 2009-02-15 03:59:50 -06:00
Slava Pestov 1b41f85395 ui.gadgets.frames: any size frame now supported, arbitrary cell can be fill cell, gap supported 2009-02-15 03:59:02 -06:00
Slava Pestov 78353dd1b6 New look for tabbed gadgets 2009-02-15 02:15:51 -06:00
Slava Pestov 09630e5bf4 Fancy new buttons 2009-02-14 21:53:39 -06:00
Slava Pestov 4c86bd0951 Various UI cosmetic fixes 2009-02-14 20:46:35 -06:00
Slava Pestov dd3a21f4f0 New look for buttons 2009-02-14 20:46:13 -06:00
Slava Pestov 9ebc487f44 Kill ui.gadgets.theme 2009-02-14 19:50:22 -06:00
Slava Pestov 6bbb4630f3 Rename labelled to labeled -- correct spelling 2009-02-14 19:48:32 -06:00
Slava Pestov bb46c64f71 LZW-compress images; thanks Doug for implementing this! 2009-02-14 00:58:35 -06:00
Slava Pestov 9c51eaa451 New look for labeled gadgets 2009-02-14 00:45:10 -06:00
Slava Pestov 6988baf0a1 Disable font leading in line-support for now 2009-02-14 00:44:32 -06:00
Slava Pestov faf0c94c6f ui.gadgets.editors: render empty selections visibly 2009-02-14 00:44:10 -06:00
Slava Pestov 36f9793c92 Add font-metrics hook 2009-02-13 20:19:57 -06:00
Slava Pestov b89bbb2ffd Update buttons docs 2009-02-13 19:16:44 -06:00
Slava Pestov 43623d8fa5 Different apperance for sliders with no thumb 2009-02-13 01:44:19 -06:00
Slava Pestov 9509c468e9 Different apperance for sliders with no thumb 2009-02-13 01:43:55 -06:00
Slava Pestov 36b3356b42 ui.gadgets.buttons: New look for checkboxes and radio buttons 2009-02-13 01:43:03 -06:00
Slava Pestov 9a351fce22 Refactor ui.gadgets.glass to correctly position debugger popup 2009-02-13 00:59:28 -06:00
Slava Pestov 52df401f8a Factor out menu and popup positioning into math.rectangles.positioning, and write tests for it 2009-02-12 21:46:49 -06:00
Slava Pestov 4d69475cac Add support for Joe's "graphics baseline" idea 2009-02-12 16:52:24 -06:00
Slava Pestov 54a58cc196 Split off ui.pens from ui.render 2009-02-12 03:58:42 -06:00
Slava Pestov 4339bda8cc Fix scrollbar thumb rendering 2009-02-12 02:09:35 -06:00
Slava Pestov 64f716b8d2 ui.gadgets.sliders: new appearance 2009-02-12 01:40:18 -06:00
Slava Pestov a41e502bad ui.gadgets.packs: cleanup 2009-02-12 01:40:02 -06:00
Slava Pestov a0aabffb31 Remove unused closable gadgets support 2009-02-12 01:39:38 -06:00
Slava Pestov db0c51a3bf repeat buttons: start firing on mouse down 2009-02-12 01:39:18 -06:00
Slava Pestov 1e26d4256a Add draw-scaled-image word, add some pens for rendering pixmaps 2009-02-12 01:39:03 -06:00
Slava Pestov 21d823757f ui.gadgets.tracks: fix incorrect behavior if fill was not set to 1 2009-02-12 00:59:10 -06:00
Slava Pestov e570ab2649 ui.gadgets.theme: New gadget theme from Joe Groff 2009-02-11 04:57:23 -06:00
Slava Pestov 45ce51260f Add ui.gadgets.icons 2009-02-11 04:56:38 -06:00
Slava Pestov 3dfae1781f Add min-dim slot to border gadgets 2009-02-11 04:56:01 -06:00
Slava Pestov 66392108e7 ui.gadgets.tables: support icons 2009-02-11 04:55:33 -06:00
Slava Pestov da825003ae io.styles: support image style 2009-02-11 04:53:33 -06:00
Slava Pestov d1a5bf2073 Working on ui.images; change draw-gadget to translate to origin for you 2009-02-10 18:47:34 -06:00
Slava Pestov ab386d01aa Merge branch 'master' into new_ui 2009-02-10 16:23:14 -06:00
Slava Pestov 07caee3405 Update some existing code to use initialize 2009-02-10 16:16:12 -06:00
Slava Pestov 5be7a6777b Clean up Core Text rendering code, and factor our basis/cache and basis/opengl/texture-cache 2009-02-10 02:45:43 -06:00
Slava Pestov a465da365f ui.tools.listener: position the input field next to the prompt 2009-02-09 22:40:11 -06:00
Slava Pestov 699ac62bc9 ui.gadgets.paragraphs: update for wrap.words API 2009-02-09 01:47:41 -06:00
Slava Pestov 7b8e7f8092 Use call( in a bunch of places in the UI; update-ui infers now 2009-02-09 00:49:48 -06:00
Slava Pestov 3ac409e432 ui.gadgets.tables: clean up selected row rendering, add single-click mode 2009-02-09 00:23:47 -06:00
Slava Pestov 3391dc5935 wrappers: make new-wrapper inline 2009-02-09 00:23:26 -06:00
Slava Pestov 828ecde1ca ui.gadgets.theme: better selection color 2009-02-09 00:23:08 -06:00
Slava Pestov df62cb8edb Better error checking for labels and text rendering 2009-02-09 00:22:41 -06:00
Slava Pestov 11347713f7 ui.gadgets.search-tables: update for ui.gadgets.tables protocol change 2009-02-08 04:27:24 -06:00
Slava Pestov f4ae56a85b ui.gadgets.line-support: common code for gadgets that display a vertical list of lines 2009-02-07 18:14:18 -06:00
Slava Pestov 06eb14573b ui.gadgets.panes: set background color of labels to page-color 2009-02-07 18:13:33 -06:00
Slava Pestov 9f49139057 ui.gadgets.editors and ui.gadgets.tables: factor out common code into ui.gadgets.line-support, fix selection rendering
documents: don't use dynamic variables inappropriately, clean up stack shuffling
2009-02-07 18:09:50 -06:00
Slava Pestov 148317846b Update various vocabularies for colors.constants 2009-02-05 22:17:15 -06:00
Slava Pestov e0f8a3a7b1 derive-font: output base font if font given is f 2009-02-05 22:16:07 -06:00
Slava Pestov 17e5997c0d ui.gadgets.tables: add row-color generic for row renderer protocol 2009-02-05 22:14:35 -06:00
Slava Pestov ef8d622b54 UI documentation and test fixes 2009-02-05 05:16:22 -06:00
Slava Pestov 38ed0f477a ui.gadgets.grid-lines: make it work with non-zero grid gap 2009-02-05 04:52:38 -06:00
Slava Pestov e74f891662 ui.gadgets.frames, ui.gadgets.grid-lines: update for grid refactoring 2009-02-05 03:31:18 -06:00
Slava Pestov 88b401b383 Rename math.geometry.rect to math.rectangles
Remove math.geometry.points
Remove rect-loc and rect-dim words
2009-02-05 03:28:41 -06:00