Commit Graph

70 Commits (695b97e6e6a593839b5f5f4f7b723de6ca815867)

Author SHA1 Message Date
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
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 571db75e40 Update code for model class renamings 2009-02-26 16:15:28 -06:00
Slava Pestov dcbb5bc692 Implement gesture>string for actions 2009-02-21 16:42:57 -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 204777ec3f ui.gadgets.menus now supports separators 2009-02-18 21:00:53 -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 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 298ea392f7 ui.gadgets.editors: Add page up/down 2009-02-16 01:03:50 -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 4c86bd0951 Various UI cosmetic fixes 2009-02-14 20:46:35 -06:00
Slava Pestov 9ebc487f44 Kill ui.gadgets.theme 2009-02-14 19:50:22 -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 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 af744e4511 Use singletons instead of empty tuples, add undo/redo to editor gadgets 2009-01-28 00:30:57 -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 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 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