Commit Graph

238 Commits (764ee52cde88c6feefcc55a09e5ea689e65356a9)

Author SHA1 Message Date
Slava Pestov 39a4969faa Listener doesn't print a garbage quotation when commands are invoked 2009-02-12 09:48:05 -06:00
Slava Pestov 54a58cc196 Split off ui.pens from ui.render 2009-02-12 03:58:42 -06:00
Slava Pestov 47e076ec7c Monospace font in traceback 2009-02-12 02:09:22 -06:00
Slava Pestov 6e10a4a0c4 ui.tools.operations: fix shortcut for profiler 2009-02-11 04:56:15 -06:00
Slava Pestov bd5fb06cdf Use icons in completion popups and vocab browser 2009-02-11 04:55:49 -06:00
Slava Pestov 5be7a6777b Clean up Core Text rendering code, and factor our basis/cache and basis/opengl/texture-cache 2009-02-10 02:45:43 -06:00
Slava Pestov a465da365f ui.tools.listener: position the input field next to the prompt 2009-02-09 22:40:11 -06:00
Slava Pestov 954596c947 ui.tools.listener: fix tests 2009-02-09 18:04:18 -06:00
Slava Pestov cf4e0d78c3 Rework listener's debugger-popup code 2009-02-09 00:25:05 -06:00
Daniel Ehrenberg b65b88364c Updating lots of things to use call( -- ) 2009-02-08 22:12:11 -06:00
Slava Pestov 703ea67ac4 Fix listener tests 2009-02-06 01:42:22 -06:00
Slava Pestov e3d4b88e8f UI listener: make history completion popup wider, use correct element type when inserting completions 2009-02-06 01:25:43 -06:00
Slava Pestov 68d5e3ebaf Clean up listener completion; color code words by search path and private status, color code vocabs by load status 2009-02-05 22:15:17 -06:00
Slava Pestov ef8d622b54 UI documentation and test fixes 2009-02-05 05:16:22 -06:00
Slava Pestov 64bb5b45c4 ui.gadgets.traceback: Cleanup 2009-02-05 04:12:57 -06:00
Slava Pestov 24b7437ff7 Add 'Inspect model' operation
ui.tools.traceback: use new UI inspector
2009-02-05 04:00:27 -06:00
Slava Pestov 3eb5222186 Add CHAR: completion to UI listener 2009-02-02 15:58:09 -06:00
Slava Pestov 193be29964 Working on baseline alignment 2009-02-02 13:45:06 -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 7b2a705352 <border> now takes a pair instead of an integer 2009-02-02 00:00:45 -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 4513417657 Clean up some messy stack shuffling 2009-02-01 19:14:43 -06:00
Slava Pestov 92708c7231 Fix com-stack-effect 2009-02-01 03:27:10 -06:00
Slava Pestov 3d533c94ca Working on listener completion 2009-01-31 02:40:03 -06:00
Slava Pestov 36ebb97dc5 Fix usage. operation to run in listener 2009-01-30 23:52:17 -06:00
Slava Pestov 990c99a97e Add foreground and background color slots to font tuple 2009-01-30 03:36:39 -06:00
Slava Pestov 478ef76801 Documents no longer mutatte their model's value 2009-01-29 03:04:23 -06:00
Slava Pestov a98d59d93c Update ui.tools.listener docs 2009-01-28 17:27:42 -06:00
Slava Pestov d651bdc4d7 Clear undos when starting a new interaction in the listener 2009-01-28 12:12:03 -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 5cd4f65e59 Fix conflict 2009-01-27 15:49:49 -06:00
Slava Pestov 298fdecf32 Fixing eval unit test, and help lint failures from stricter help lint 2009-01-27 15:38:01 -06:00
Slava Pestov 72f63d3e4c Add operation to show thread traceback 2009-01-26 18:09:04 -06:00
Slava Pestov 231ba5234e Inspector can now invoke the primary operation 2009-01-26 18:08:54 -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 fe7c2fecbe Eliminate some more usages of tuck 2009-01-25 17:55:27 -06:00
Slava Pestov fd7a47613e Move core-graphics types from cocoa.types to core-graphics.types, clean up some code 2009-01-19 16:29:52 -06:00
Slava Pestov 8509027428 UI listener: Status bar now shows summary for vocabs that are not loaded 2009-01-18 23:41:21 -06:00
Slava Pestov 3697fa1aa3 Word completion now adds the word's vocab to the USE: list 2009-01-16 15:54:40 -06:00
Slava Pestov cc8e049c02 Another clean up 2009-01-16 15:37:31 -06:00
Slava Pestov 5f2fd87ce1 Clean up history code 2009-01-16 15:22:13 -06:00
Slava Pestov 37407cde96 C-m expands macros in listener 2009-01-16 14:57:23 -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 d871691342 Simplify define-operation-map; it doesn't need the hook quotation at all 2009-01-15 15:22:25 -06:00
Slava Pestov ca9e04c086 Fix word operations 2009-01-15 13:02:31 -06:00
Slava Pestov 7e8f69081c Fix listener docs 2009-01-15 01:43:50 -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 94e0522efc More work on history completion 2009-01-13 20:47:17 -06:00
Slava Pestov fd069442dc History completion work in progress 2009-01-13 19:08:49 -06:00
Slava Pestov a31b59748d Working on history popup 2009-01-13 16:22:07 -06:00
Slava Pestov d0a3442b30 Fix vocab filtering in profiler 2009-01-12 22:17:39 -06:00
Slava Pestov 27fd669021 Context-sensitive completion for word and vocab names 2009-01-12 19:25:18 -06:00
Slava Pestov d4c82f8743 Working on context-sensitive completion 2009-01-12 14:31:59 -06:00
Slava Pestov af970da470 Listener completion work in progress 2009-01-12 01:43:46 -06:00
Slava Pestov 46fdfd2d84 Listener completion work in progress 2009-01-09 17:58:22 -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 f4418410e9 Fix error when mouse over in 'All' in profiler 2009-01-08 23:50:43 -06:00
Slava Pestov 6ddf6af2e7 Add A+n, A+p, A+u to navigate hierarchy in browser tool; add common shortcuts to all tools, like F2, A+s, A+q, ... 2009-01-08 19:30:58 -06:00
Slava Pestov 2fd234ac62 Add common tool commands: F2, A+l, A+L, A+b, A+B 2009-01-08 18:56:39 -06:00
Slava Pestov 35ebc60a4b UI tools now remember their size 2009-01-08 18:35:34 -06:00
Slava Pestov 9ea76e3808 Browser tool: don't search for empty string 2009-01-08 17:50:38 -06:00
Slava Pestov 723626a9d2 Add slot editing to UI inspector, remove slot editing from TTY inspector 2009-01-08 17:02:54 -06:00
Slava Pestov 268b995116 Remove the ui word, and ui-hook kludge; with-ui is now the only way to start the UI. ui.tools vocabulary is now runnable 2009-01-07 20:56:09 -06:00
Slava Pestov 3c624f670b Fixing ui.tools unit tests 2009-01-07 16:37:27 -06:00
Slava Pestov 9a33f1cf1c Fixing bootstrap errors 2009-01-07 15:21:51 -06:00
Slava Pestov d7358b5ef3 Removing last remnants of 'workspace' tool 2009-01-07 15:06:43 -06:00
Slava Pestov c09f91da69 Add right-click menu to tables, row-value word 2009-01-07 12:18:42 -06:00
Slava Pestov bdaa5eac31 Minor UI documentation updates 2009-01-06 23:30:08 -06:00
Slava Pestov 70a60ef237 Clean up listener tool 2009-01-06 21:09:40 -06:00
Slava Pestov 00fad429b5 Add shortcuts for scrolling up/down to listener 2009-01-06 20:55:23 -06:00
Slava Pestov e6ed70c791 Working on new UI inspector 2009-01-06 16:53:08 -06:00
Slava Pestov 35dd01de39 Clean up the browser tool 2009-01-06 14:21:37 -06:00
Slava Pestov 24d55cc6a6 Browser tool is now its own window; update help-window usages to open browser instead 2009-01-06 13:56:14 -06:00
Slava Pestov 872d12d29b Add support for column filling and alignment to table gadgets
Finish profiler tool's methods tab
2009-01-05 17:31:21 -06:00
Slava Pestov cb4f3eec46 Flesh out 'Methods' tab in new profiler tool 2009-01-03 18:58:43 -06:00
Slava Pestov 1f11b0d78b Use singleton classes instead of tuples for document elements 2008-12-24 22:38:02 -06:00
Slava Pestov a39a644362 New ui.gadgets.tabbed vocab, working on 'Methods' tab in profiler tool 2008-12-22 05:40:38 -06:00
Slava Pestov f9851b195a Working on new profiler tool 2008-12-22 00:54:08 -06:00
Slava Pestov c7f02e3f12 UI listener fix 2008-12-19 02:36:02 -06:00
Slava Pestov d330ff31b5 Merge branch 'master' into new_ui 2008-12-19 02:26:01 -06:00
Slava Pestov 7a48b194a0 Fix ui.tools tests 2008-12-19 02:24:44 -06:00
Slava Pestov 0643cf3a44 Merge branch 'master' into new_ui 2008-12-17 18:15:01 -06:00
Slava Pestov c5160d76e9 Merge qualified, alias, symbols, constants into core 2008-12-17 18:10:01 -06:00
Slava Pestov 9f2431996d Merge branch 'master' into new_ui 2008-12-13 05:00:55 -06:00
Slava Pestov 023ae576b5 Updating unit tests for io.files split 2008-12-15 01:40:50 -06:00
Slava Pestov 59a5e554d4 Split up io.directories further, move file types to io.files.types. Bunny demo no longer pulls in file-info and file-system-info code, reducing image size by 35kb 2008-12-15 00:01:06 -06:00
slava 7bf857650c Remove stop-after-last-window? option, it's obsolete, get ui.event-loop (only used on X11 and Windows) to load 2008-12-13 03:49:22 -06:00
Slava Pestov da94d8afae Working on new UI 2008-12-11 16:47:38 -06:00
Slava Pestov 7940020491 Untangling more dependencies 2008-12-08 16:02:31 -06:00
Doug Coleman 14fb58f448 swap ... 3append -> surround in basis 2008-12-06 18:58:45 -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 b1f855a55f Replace one kludge with another 2008-11-30 14:23:15 -06:00
Slava Pestov cafc450a84 Documentation improvements 2008-11-29 00:20:39 -06:00
Slava Pestov cdf3b48986 Refactoring usages of >r/r> to dip in UI 2008-11-28 00:02:02 -06:00
Slava Pestov 4e9495a7e7 Tweak listener GUI layout 2008-11-25 23:05:19 -06:00
Slava Pestov 915bd51b20 Tweak debugger and traceback a bit 2008-11-24 12:29:24 -06:00
Slava Pestov 7788b3e0db Merge branch 'master' into microseconds 2008-11-23 03:06:32 -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 e65368a137 UI event handling refactoring
- A+ is now the command key, and M+ is the option key, on mac
- new send-gesture, propagate-gesture words clean up gesture sending
- always send user-input after key-down, without checking if a gadget handled the key-down first
2008-11-21 22:03:14 -06:00
Slava Pestov f24036834e Usability fix 2008-11-20 22:13:24 -06:00
Slava Pestov 08f7e02a3b Remove stack display from listener tool, and tweak appearance 2008-11-20 21:59:22 -06:00
Slava Pestov f27ebdd1ef Use add-toolbar word in a few places 2008-11-20 21:58:30 -06:00
Slava Pestov 2620a10107 Display help in browser tool 2008-11-20 20:34:49 -06:00
Slava Pestov 1477a0f6f5 Code cleanups 2008-11-20 18:11:25 -06:00
Slava Pestov bcd2ffc830 If rendering an error popup fails, don't open an endless stream 2008-11-19 21:57:59 -06:00
Slava Pestov 6e9b2a6c73 Make limited scrollers more versatile: they now have a min-dim and a max-dim 2008-11-19 17:47:12 -06:00
Slava Pestov 8819f23312 Replace millis primitive with micros primitive
Add millis as a library word
sleep now takes either a duration or a microsecond count; code using durations doens't need to be updated, code using millisecond counts updated to use durations for the most part
2008-11-19 01:50:05 -06:00
Slava Pestov f8a6e3b0d8 Don't use the obscure CLEAR key 2008-11-18 11:50:02 -06:00
Slava Pestov 9bf63b1613 New $quotation markup element 2008-11-16 09:03:30 -06:00
Slava Pestov d7dd084b8d Usability tweak: focus on listener input area when input presentation is clicked 2008-11-11 11:46:35 -06:00
Slava Pestov 5def7c5dea Don't load random number generator on bootstrap 2008-11-06 01:30:59 -06:00
Slava Pestov 7f59942219 Change title to be more consistent 2008-11-05 04:28:13 -06:00
Slava Pestov a8d1ec34f8 Fix an UI bug and remove some pick usages 2008-10-20 23:28:02 -05:00
Slava Pestov c19f2257f4 Fix permission bits 2008-10-02 08:34:49 -05:00
Slava Pestov b1d82c6c74 More indentation fixes 2008-09-27 18:44:51 -05:00
Slava Pestov f28dde2c65 More cleanups 2008-09-27 16:45:20 -05:00
Slava Pestov b7610e0bf7 Fix ridiculous indentation, over (>>foo), and other crap in UI 2008-09-27 14:36:04 -05:00
Slava Pestov 44f53de164 Move make to its own vocabulary, remove fry _ feature 2008-09-10 20:07:00 -05:00
Doug Coleman 8a921c791c if-empty changes 2008-09-06 19:13:59 -05:00
Doug Coleman 731bd1c88a fix ui unit tests for new accessors 2008-09-02 01:52:22 -05:00
Doug Coleman 46e9481cb6 new accessors 2008-09-01 22:46:00 -05:00
Eduardo Cavazos c570085151 Update old accessors from ui.tools.* 2008-09-01 03:40:31 -05:00
Eduardo Cavazos 61e5729cdb Update old accessors from 'ui.operations' 2008-08-31 23:53:07 -05:00
Doug Coleman d2861cae6e fix accessor. oops 2008-08-31 16:24:40 -05:00
Doug Coleman 31c5e57ab2 new accessors 2008-08-31 16:17:46 -05:00
Eduardo Cavazos 7535c1d256 Another big accessors batch update 2008-08-31 01:42:30 -05:00
Eduardo Cavazos 7a75d2e070 Update old accessors from 'ui.gadgets.editors' 2008-08-30 20:06:45 -05:00
Eduardo Cavazos b33be738f9 Use new accessors in place of old accessors from 'ui.gadgets' 2008-08-30 16:31:42 -05:00
Slava Pestov d8ede92dfb Removing delegation support from UI 2008-08-22 23:27:25 -05:00
Slava Pestov a4ac751605 Starting to remove delegation 2008-08-22 23:20:49 -05:00
Slava Pestov 48fa2e2d0e Updating some code 2008-08-12 03:31:48 -05:00
Eduardo Cavazos 7402cd2ab7 Move 'ui' to basis 2008-08-07 21:12:50 -05:00