Commit Graph

384 Commits (fb5b48c71aa0be7eea14a25ced25c7e4d32aed9d)

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