Commit Graph

594 Commits (2ff6c7ed072bd090ea7b51a0d6af9cf80f90c80f)

Author SHA1 Message Date
Sam Anklesaria 5a14faecd6 added rendering functions 2009-03-09 20:13:17 -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 43dd93d1fa Fix ui.commands unit test on non-Mac platfrms 2009-03-08 01:52:05 -06:00
Slava Pestov dfb55736c5 show-browser command now just switches to an existing browser instead of pointing it at the documentation front page 2009-03-07 21:35:44 -06:00
Slava Pestov 52fef83061 Fix various unit tests 2009-03-07 15:58:14 -06:00
Slava Pestov 20db7ea3c1 Add meta-data 2009-03-07 01:48:36 -06:00
Slava Pestov 375c5e69b5 Various load-everything fixes 2009-03-07 01:22:21 -06:00
Slava Pestov 180c720747 Change link 2009-03-06 19:48:21 -06:00
Slava Pestov 81c96ca410 Add a unit test as a sanity check for a broken Win64 Pango 2009-03-06 16:21:06 -06:00
Slava Pestov 5c88b18a9a Oops, forgot to call prepare-last-line 2009-03-06 13:32:41 -06:00
Slava Pestov a2befabfe1 Fix string>gesture for gestures involving SPACE 2009-03-05 16:33:20 -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 ebb5adfdb7 Clicking on dock icon with no windows visible opens new listener 2009-03-05 16:32:43 -06:00
Slava Pestov 613a0b4f82 ui.tools.listener: try to handle errors better if find-vocab-root throws 2009-03-05 13:37:43 -06:00
Slava Pestov ee87ca7db6 Fix keysym SPACE 2009-03-05 13:35:00 -06:00
Slava Pestov d577a846d5 Fix offset conversion in ango backend 2009-03-04 21:09:38 -06:00
Slava Pestov 2fee574b4f Working on X11 backend 2009-03-02 02:55:54 -06:00
U-SLAVA-DFB8FF805\Slava 2ec3f1c700 Delete ui.text.freetype, opengl.sprites, and Bitstream Vera fonts; move freetype FFI binding from basis to extra since its no longer used by the UI 2009-03-02 01:17:33 -06:00
U-SLAVA-DFB8FF805\Slava 95de45725e Fix Pango and ui.event-loop for Windows 2009-03-02 01:12:06 -06:00
Slava Pestov a7df2ffafc Fix pango font-metrics implementation 2009-03-01 22:10:20 -06:00
Slava Pestov 1cc4a013da pango: compute x-height and cap-height metrics 2009-03-01 20:10:19 -06:00
Slava Pestov 77ca304897 Fix text positioning with pango backend
Implement selection rendering
Make resolution configurable
Clean up float <-> fixed point conversion
2009-02-28 20:33:53 -06:00
Slava Pestov fe1d6a0e13 Add baseline debugging gadget 2009-02-28 20:32:51 -06:00
Slava Pestov 25a877e50b Merge OneEyed's patch 2009-02-28 17:06:55 -06:00
Slava Pestov cd53c2bd37 produce and produce-as: don't need third quotation either 2009-02-28 15:31:34 -06:00
Slava Pestov 78ce670101 Merge branch 'for-slava' of git://git.rfc1149.net/factor 2009-02-28 14:42:56 -06:00
Slava Pestov 385c4661d6 First attempt at ui.text.pango 2009-02-28 01:31: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 e8361b9980 Updating X11 UI backend for stricter stack effect checking 2009-02-24 01:06:50 -06:00
Slava Pestov dcbb5bc692 Implement gesture>string for actions 2009-02-21 16:42:57 -06:00
Slava Pestov 221222cb8f Use Unicode character names 2009-02-21 00:55:50 -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 1bf9b3b49e Set default size for browser popup 2009-02-20 20:53:08 -06:00
Slava Pestov ee7bbf8654 Reset mouse selection after table model changes 2009-02-20 20:52:33 -06:00
Slava Pestov be40bd33ee New initialize-alien word 2009-02-20 20:51:13 -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 676806ce39 opengl.textures: clean up code, only create power-of-2 textures, make API nicer 2009-02-19 04:06:57 -06:00
Slava Pestov 277a827039 Add unit tests for ui.gadgets.glass 2009-02-18 21:01:27 -06:00
Slava Pestov 742aa5ced7 Rename com-follow to com-browse 2009-02-18 21:01:19 -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
Samuel Tardieu 087d931c36 Remove the tail argument from do/until/while 2009-02-18 02:41:14 +01:00
Slava Pestov 4c7405f353 Don't center all windows on Cocoa 2009-02-17 19:26:32 -06:00
Slava Pestov 4641bfff2d Smart quotes 2009-02-17 18:17:55 -06:00
Slava Pestov 92158ef055 Fix profiler 2009-02-17 14:26:17 -06:00
Slava Pestov 940782cf93 Add article and word help icons 2009-02-17 14:26:01 -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 51c89053c0 Browser: keyboard navigation popups for A+k and A+K 2009-02-17 08:29:57 -06:00
Slava Pestov f12b163a7b ui.tools.inspector: clean up 2009-02-17 08:26:33 -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 d14fba5b98 Icons in profiler tool, update for search models change 2009-02-17 08:23:46 -06:00
Slava Pestov 9990663a85 Implicit instead of explicit size for traceback tool 2009-02-17 08:23:23 -06:00
Slava Pestov e093057e80 Add multi-touch commands to walker tool 2009-02-17 08:23:04 -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 73dfa2ae65 Fix conflict 2009-02-16 21:47:35 -06:00
Slava Pestov be46168a24 define-operation doesn't add duplicate operations anymore; ui.operations initializes operations global variable automatically 2009-02-16 21:42:47 -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 1a434416ac Tweak inspector and profiler tools so that the preferred size is computed from layout rather than hard-coded 2009-02-16 04:34:22 -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 4acf78353b ui.tools.listener: Better initial size for completion popup 2009-02-16 01:25:50 -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 33bb7b638b Make listener a little wider 2009-02-15 23:14:26 -06:00
Slava Pestov 86f7a4c282 Fix load errors; ui.gadgets.theme removed 2009-02-15 23:14:18 -06:00
Slava Pestov 7a32d8ddb2 Use vocab: 2009-02-15 21:09:09 -06:00
Slava Pestov 758ba5bcea Remove unused circle rendering code 2009-02-15 06:09:04 -06:00
Slava Pestov 8fec1f5d40 Fix load errors 2009-02-15 06:01:53 -06:00
Slava Pestov 0bbc63f865 ui.images: use MEMO: instead of explicit cache 2009-02-15 06:01:46 -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 f344cd50ca Single click is sufficient to insert completion in listener 2009-02-15 02:15:59 -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