Commit Graph

553 Commits (155cc440202fbdab9fb087029d60af7df54e74e7)

Author SHA1 Message Date
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