Commit Graph

340 Commits (2ff6c7ed072bd090ea7b51a0d6af9cf80f90c80f)

Author SHA1 Message Date
Slava Pestov 1e26d4256a Add draw-scaled-image word, add some pens for rendering pixmaps 2009-02-12 01:39:03 -06:00
Slava Pestov 21d823757f ui.gadgets.tracks: fix incorrect behavior if fill was not set to 1 2009-02-12 00:59:10 -06:00
Slava Pestov e570ab2649 ui.gadgets.theme: New gadget theme from Joe Groff 2009-02-11 04:57:23 -06:00
Slava Pestov 45ce51260f Add ui.gadgets.icons 2009-02-11 04:56:38 -06:00
Slava Pestov 3dfae1781f Add min-dim slot to border gadgets 2009-02-11 04:56:01 -06:00
Slava Pestov 66392108e7 ui.gadgets.tables: support icons 2009-02-11 04:55:33 -06:00
Slava Pestov da825003ae io.styles: support image style 2009-02-11 04:53:33 -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 ab386d01aa Merge branch 'master' into new_ui 2009-02-10 16:23:14 -06:00
Slava Pestov 07caee3405 Update some existing code to use initialize 2009-02-10 16:16:12 -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 699ac62bc9 ui.gadgets.paragraphs: update for wrap.words API 2009-02-09 01:47:41 -06:00
Slava Pestov 7b8e7f8092 Use call( in a bunch of places in the UI; update-ui infers now 2009-02-09 00:49:48 -06:00
Slava Pestov 3ac409e432 ui.gadgets.tables: clean up selected row rendering, add single-click mode 2009-02-09 00:23:47 -06:00
Slava Pestov 3391dc5935 wrappers: make new-wrapper inline 2009-02-09 00:23:26 -06:00
Slava Pestov 828ecde1ca ui.gadgets.theme: better selection color 2009-02-09 00:23:08 -06:00
Slava Pestov df62cb8edb Better error checking for labels and text rendering 2009-02-09 00:22:41 -06:00
Slava Pestov 11347713f7 ui.gadgets.search-tables: update for ui.gadgets.tables protocol change 2009-02-08 04:27:24 -06:00
Slava Pestov f4ae56a85b ui.gadgets.line-support: common code for gadgets that display a vertical list of lines 2009-02-07 18:14:18 -06:00
Slava Pestov 06eb14573b ui.gadgets.panes: set background color of labels to page-color 2009-02-07 18:13:33 -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 e0f8a3a7b1 derive-font: output base font if font given is f 2009-02-05 22:16:07 -06:00
Slava Pestov 17e5997c0d ui.gadgets.tables: add row-color generic for row renderer protocol 2009-02-05 22:14:35 -06:00
Slava Pestov ef8d622b54 UI documentation and test fixes 2009-02-05 05:16:22 -06:00
Slava Pestov 38ed0f477a ui.gadgets.grid-lines: make it work with non-zero grid gap 2009-02-05 04:52:38 -06:00
Slava Pestov e74f891662 ui.gadgets.frames, ui.gadgets.grid-lines: update for grid refactoring 2009-02-05 03:31:18 -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 4c5b79ea57 ui.gadgets.debug: some gadgets for testing purposes 2009-02-04 05:26:01 -06:00
Slava Pestov e1260031b6 Grid layout now respects baselines when fill attribute is off
Paragraph gadgets now compute a baseline
2009-02-04 00:50:04 -06:00
Slava Pestov 69974440c4 Clean up ui.gadgets.grids 2009-02-02 15:58:28 -06:00
Slava Pestov 3ed8d9ccce Correctly compute pref-dim of gadgets with baseline alignment 2009-02-02 15:14:46 -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 abb6c01a62 Refactor ui.gadgets.paragraphs to use wrap 2009-02-02 03:32:13 -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 990c99a97e Add foreground and background color slots to font tuple 2009-01-30 03:36:39 -06:00
Slava Pestov fc360f5ced Fix scroll>rect for recent scroller layout change 2009-01-29 16:44:18 -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 1951d739a0 Stack effect declarations are mandatory on all words now
define-temp now takes an effect parameter
Fix compiler bug that Dan found
Stricter enforcement of * effects
Move compile-call from compiler.units to compiler
2009-02-23 20:27:05 -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 b7c4f548f9 Add texture aging 2009-01-26 23:11:45 -06:00
Slava Pestov b12d53938d Remove a spin usage 2009-01-26 17:58:43 -06:00
Slava Pestov f5d850f39e Display gesture modifiers using Mac OS X Unicode characters 2009-01-26 17:58:23 -06:00
Slava Pestov 5aec661b92 Rename font key in io.styles to font-name for clarity; clean up some nefarious stack shuffling in ui.gadgets.panes 2009-01-26 16:25: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 fe7c2fecbe Eliminate some more usages of tuck 2009-01-25 17:55:27 -06:00
Slava Pestov ef223f26d5 Fix conflict 2009-01-24 23:56:33 -06:00
Slava Pestov 622015adab Fix regression in ui.gadgets:screen-rect 2009-01-24 20:17:21 -06:00
Slava Pestov f34c14a0f5 Remove some usages of tuck 2009-01-23 18:20:47 -06:00
Slava Pestov 7114fd294f Fix error if up/down arrows pressed when table has no rows 2009-01-22 01:19:15 -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 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 0e1e92ba92 Clean up menu code 2009-01-16 16:39:32 -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 0bcc9b4123 Get rid of a spin usage 2009-01-15 15:48:44 -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 92b9686b6c Merge branch 'master' into new_ui 2009-01-14 21:04:19 -06:00
Slava Pestov db07cd3f78 Fix ui.gadgets.scrollers unit tests 2009-01-14 00:37:35 -06:00
Slava Pestov 9a5b7d44fd Add selection-required? slot to table gadget, which if set ensures that some item is always selected if the model is not empty 2009-01-13 20:47:08 -06:00
Slava Pestov a60bf8065a Add hide-glass-hook 2009-01-13 20:44:36 -06:00
Slava Pestov 5e7b6e8a0d Merge branch 'master' into new_ui 2009-01-13 19:26:46 -06:00
Slava Pestov c47f8feaab Clean up scroller code, and fix a cosmetic issue 2009-01-13 19:09:47 -06:00
Slava Pestov fd069442dc History completion work in progress 2009-01-13 19:08:49 -06:00
Slava Pestov 21433c47ef Fix conflict 2009-01-13 17:54:27 -06:00
Slava Pestov 4204fd495f Move formatted stream output words to io.styles; they didn't belong in core, and this reduces deployed image size 2009-01-13 17:12:43 -06:00
Slava Pestov a31b59748d Working on history popup 2009-01-13 16:22:07 -06:00
Slava Pestov 79548f5963 Table gadget rendered differently when no focus 2009-01-12 22:16:57 -06:00
Slava Pestov 0829d8ae93 Fix rendering of lines between columns 2009-01-12 19:32:10 -06:00
Slava Pestov 2b2f95e711 Merge branch 'master' into new_ui 2009-01-11 22:56:27 -06:00
Slava Pestov 1c1e36621a Small cleanup for ui.gadgets.labels 2009-01-11 19:40:17 -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 a1c3b9b26b Split off ui.gadgets.glass from ui.gadgets.menus 2009-01-08 23:50:56 -06:00
Slava Pestov 730c636172 Merge branch 'master' of git://factorcode.org/git/factor into new_ui 2009-01-08 22:44:57 -06:00
Doug Coleman 8cb0be6a0a use combinators.smart 2009-01-08 18:57:33 -06:00
Slava Pestov 632b21159d Mention multiline editor commands in editor docs 2009-01-08 18:56:20 -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 1914a57b40 Render table column separator lines 2009-01-08 00:04:44 -06:00
Slava Pestov 53f4bd4311 Move ui.gadgets.lists to extra 2009-01-07 16:32:02 -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 76e89f72ba Fix action gesture 2009-01-06 16:53:01 -06:00
Slava Pestov 29f9d61c90 Add support for double-click actions to table gadget 2009-01-06 16:52:12 -06:00
Slava Pestov 5c7af1cf2d Clean up ui.gadgets.lists a tiny bit 2009-01-06 15:54:17 -06:00
Slava Pestov d2fd2d0a8c Only multiline editors need UP/DOWN arrow commandS 2009-01-06 13:45:57 -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 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 37118a4cde Mouse highlight now follows selection 2008-12-21 14:10:09 -06:00
Slava Pestov d001237921 Table gadgets work in progress 2008-12-19 02:37:40 -06:00
Slava Pestov d330ff31b5 Merge branch 'master' into new_ui 2008-12-19 02:26:01 -06:00
Slava Pestov 061b83b5dd Add <filled-border> 2008-12-19 02:25:40 -06:00
Slava Pestov 735dbfb79f Fix track pref-dim, and layout with gaps 2008-12-19 02:25:21 -06:00
Slava Pestov e830a2efc7 Merge branch 'master' into new_ui 2008-12-19 00:13:22 -06:00
Slava Pestov 84cafde43a Fix load error 2008-12-19 00:13:12 -06:00
Slava Pestov cc4913958f Merge branch 'master' into new_ui 2008-12-18 23:57:01 -06:00
Slava Pestov 69c64ba803 Refactor operations-menu code to make it independent of presentations 2008-12-18 23:56:41 -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 6ad369ba2f Merge branch 'master' into new_ui 2008-12-18 01:38:22 -06:00
Slava Pestov 2d5bc00029 Fix pane selection to begin at hand-click-loc not hand-loc 2008-12-18 01:11:00 -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 63fda570bf Fixing assorted compile errors and help lint warnings 2008-12-16 01:12:36 -06:00
U-SLAVA-DFB8FF805\Slava 53db40ba13 Add more stack declarations 2008-12-13 05:06:28 -06:00
Slava Pestov daf2857d7b define-inline now takes an effect parameter
C: now sets the stack effect of the new word to slot names
add new basis/constants vocab; CONSTANT: foo bar is equivalent to : foo bar ; inline
(going to fold CONSTANT:, ALIAS: and qualified into core soon perhaps)
tighten the screws: inline words now need a stack declaration too
update some usages of inline words
2008-12-15 19:44:56 -06:00
Slava Pestov 9f2431996d Merge branch 'master' into new_ui 2008-12-13 05:00:55 -06:00
Joe Groff ed45192b6d Merge branch 'master' of git://factorcode.org/git/factor 2008-12-11 17:16:12 -08:00
Joe Groff e795571639 seed of X11 offscreen backend 2008-12-11 16:50:37 -08:00
Slava Pestov da94d8afae Working on new UI 2008-12-11 16:47:38 -06:00
Slava Pestov 537af9ed9b Fix docs again 2008-12-10 20:23:37 -06:00
Doug Coleman 4f20c0813f Merge branch 'master' of git://repo.or.cz/factor/jcg
Conflicts:

	basis/ui/cocoa/cocoa.factor
2008-12-09 21:16:37 -06:00
Joe Groff ec98a6c83d offscreen-world widgets and offscreen pixel format fixes 2008-12-09 09:22:23 -08:00
Slava Pestov f8bce98850 Remove unnecessary prettyprinter and debugger dependencies from UI 2008-12-08 13:58:57 -06:00
Eduardo Cavazos b256539500 ui.gadgets.sliders: Rewrite 'slider-scale' to not use shuffle words 2008-12-06 15:03:02 -06:00
Slava Pestov 4eacebe3a3 Merge branch 'specialized-arrays' 2008-12-03 00:08:38 -06:00
Slava Pestov 9de02d01c5 Fix selection rendering 2008-12-02 20:46:21 -06:00
Slava Pestov 402da00390 Fixing bootstrap with specialized arrays 2008-12-02 02:44:19 -06:00
Slava Pestov f51708386d Fix conflicts 2008-12-01 20:39:43 -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 2be4a11d61 Fix help lint 2008-11-30 17:56:33 -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 e8a69a3aea Fix conflict 2008-11-29 05:14:49 -06:00
Slava Pestov cafc450a84 Documentation improvements 2008-11-29 00:20:39 -06:00
Slava Pestov 1c3e4f070a I accidentally the UI 2008-11-28 02:31:21 -06:00
Slava Pestov cdf3b48986 Refactoring usages of >r/r> to dip in UI 2008-11-28 00:02:02 -06:00
Slava Pestov 69d5628944 Workaround bug in Apple X3100 driver 2008-11-26 01:41:13 -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 f8d4935e0d Remove two remaining usage s of -roll from UI 2008-11-25 23:04:34 -06:00
Slava Pestov 2f025f58ae Frames had problems with resizing 2008-11-25 19:20:25 -06:00
Slava Pestov b16b8dae32 Clean up 2008-11-25 16:26:17 -06:00
Slava Pestov 7e71fe081c Fix shift-drag again 2008-11-22 02:24:17 -06:00
Slava Pestov fa56d2849b Fix alt-click and control-click to simulate middle and right mouse button clicks 2008-11-22 02:23:43 -06:00
Slava Pestov 0b8cbc7d67 Fix drag gestures 2008-11-22 01:42:16 -06:00
Slava Pestov c0c9855c26 Fix stack effects 2008-11-21 23:25:19 -06:00