Commit Graph

61 Commits (d66a31e88a35ac413dd2e9c89dbd72ef6db652a5)

Author SHA1 Message Date
Slava Pestov 54a58cc196 Split off ui.pens from ui.render 2009-02-12 03:58:42 -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 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 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
Slava Pestov 669548e62e Clean up some usages of tuck, and add Joe's curried cleave/spread/apply combinators to kernel vocabulary 2009-02-02 13:43:54 -06:00
Slava Pestov d31b902f96 Add horizontal and vertical orientation constants, working on baseline alignment 2009-02-02 00:02:55 -06:00
Slava Pestov 0835eb374b UI cleanup: make some ui.gadgets words private, give labels a virtual slot instead of label-string/set-label-string words 2009-02-01 20:31:42 -06:00
Slava Pestov 990c99a97e Add foreground and background color slots to font tuple 2009-01-30 03:36:39 -06:00
Slava Pestov 50ba37bdbe Update more documentation 2009-01-28 14:54:13 -06:00
Slava Pestov 0c22751674 Update editor docs 2009-01-28 14:50:15 -06:00
Slava Pestov af744e4511 Use singletons instead of empty tuples, add undo/redo to editor gadgets 2009-01-28 00:30:57 -06:00
Slava Pestov bb27511753 Fixing code for first-class fonts 2009-01-26 02:21:28 -06:00
Slava Pestov 4f5a927afb Move UI text backends to ui.text.*, move UI backends to ui.backend.*, add font datatype 2009-01-26 00:36:37 -06:00
Slava Pestov b95a587ce1 Add join lines command, C+j 2009-01-25 22:56:35 -06:00
Slava Pestov ef223f26d5 Fix conflict 2009-01-24 23:56:33 -06:00
Slava Pestov f34c14a0f5 Remove some usages of tuck 2009-01-23 18:20:47 -06:00
Slava Pestov 2a7d353251 Debugging Core Text, get colored text working and fix memory management issue 2009-01-21 19:34:42 -06:00
Slava Pestov 25b0512fd6 Move fonts to basis/bitstream-vera
Use ui.cocoa.text instead of ui.freetype on Mac OS X
Update deploy tool to not copy fonts/ directory on Mac OS X
2009-01-20 14:31:09 -06:00
Slava Pestov ac898f94c5 Minor tweak to selection rendering 2009-01-16 14:58:59 -06:00
Slava Pestov d82a68a14c Clean up font API a little bit; users no longer have to call open-font arbitrarily 2009-01-16 00:43:51 -06:00
Slava Pestov c89b68d295 Overhaul UI listener history code; C-p, C-n cycles through history, C-r displays list 2009-01-15 21:34:41 -06:00
Slava Pestov 2bb6d7f6b1 Rename editor-caret* and editor-mark* without the * since we don't have the old accessors anymore 2009-01-15 15:50:48 -06:00
Slava Pestov d1c84783f1 Word operations now DTRT if the completion popup is visible 2009-01-15 01:33:35 -06:00
Slava Pestov ecd2f75808 Display completion popups in the right place 2009-01-15 00:52:05 -06:00
Slava Pestov 63c0e5470b Cleaner display of stack effect of word at caret, using models 2009-01-09 14:14:19 -06:00
Slava Pestov 632b21159d Mention multiline editor commands in editor docs 2009-01-08 18:56:20 -06:00
Slava Pestov bdaa5eac31 Minor UI documentation updates 2009-01-06 23:30:08 -06:00
Slava Pestov d2fd2d0a8c Only multiline editors need UP/DOWN arrow commandS 2009-01-06 13:45:57 -06:00
Slava Pestov 1f11b0d78b Use singleton classes instead of tuples for document elements 2008-12-24 22:38:02 -06:00
Slava Pestov bb22877ced Merge branch 'master' into new_ui 2008-12-18 21:28:05 -06:00
Slava Pestov 7836b2c6f4 / >fixnum should be /i 2008-12-18 21:02:46 -06:00
Slava Pestov da94d8afae Working on new UI 2008-12-11 16:47:38 -06:00
Slava Pestov 9de02d01c5 Fix selection rendering 2008-12-02 20:46:21 -06:00
U-SLAVA-DFB8FF805\Slava 77def0bc96 was using each-line from io by accident, dont' even need io in USING: list here 2008-12-01 17:53:17 -06:00
Slava Pestov 3e25d14e54 Code cleanup: refactoring usages of rot and -rot to use newer idioms instead 2008-11-30 17:47:29 -06:00
Slava Pestov 5fff1bdf05 Clean up ui.gadgets.menus, improve docs, ad add right-click menus to panes and editors with clipboard commands 2008-11-30 15:03:05 -06:00
Slava Pestov f0fc3190f3 Stop blinking before starting again 2008-11-30 13:50:09 -06:00
Slava Pestov f3cdd650e7 Clicking past the end of a document moves caret to the end 2008-11-25 23:04:57 -06:00
Slava Pestov c0c9855c26 Fix stack effects 2008-11-21 23:25:19 -06:00
Slava Pestov fb918ab756 The event loop thread now adds events to a queue slurped by the UI update thread instead of handling them directly. This fixes a race condition where a gadget could end up handling an event before it was grafted or laid out 2008-11-21 23:01:20 -06:00
Slava Pestov 5911ad913f Make blink interval configurable 2008-11-20 23:29:16 -06:00
Slava Pestov 53646a076b Set blink-alarm to f after we stop it 2008-11-20 22:15:07 -06:00
Slava Pestov decdcbe120 Stop blinking in ungraft just in case 2008-11-20 22:14:35 -06:00
Slava Pestov 17b2566017 Blinking cursor 2008-11-20 22:13:32 -06:00
Slava Pestov 375a9df29b Fix shift-click in editor nested inside a pane 2008-11-19 21:59:11 -06:00
Slava Pestov 344657b93b Improve scroll>rect and scroll>caret so that the caret is always visible 2008-11-19 17:13:39 -06:00
Slava Pestov d0e53db5fc Rendering tweaks 2008-11-18 14:15:38 -06:00
Slava Pestov 3f85a4e727 OpenGL rendering tweaks 2008-11-17 05:16:34 -06:00
Slava Pestov 9bf63b1613 New $quotation markup element 2008-11-16 09:03:30 -06:00