Commit Graph

220 Commits (a69d404f743a0ef40e1d0c084fcefe0ec833223c)

Author SHA1 Message Date
Slava Pestov 706fb33e38 Table hooks now receive the table as an input parameter 2009-02-18 21:00:31 -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 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 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 d5d9c65859 Remove new-gadget since it was just an alias for new 2009-02-16 04:04:32 -06:00
Slava Pestov 4acf78353b ui.tools.listener: Better initial size for completion popup 2009-02-16 01:25:50 -06:00
Slava Pestov 33bb7b638b Make listener a little wider 2009-02-15 23:14:26 -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 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 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 6bbb4630f3 Rename labelled to labeled -- correct spelling 2009-02-14 19:48:32 -06:00
Slava Pestov 9c51eaa451 New look for labeled gadgets 2009-02-14 00:45:10 -06:00
Slava Pestov d66a31e88a Add status bar to debugger window 2009-02-13 01:00:02 -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 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