Commit Graph

238 Commits (bf5ff117207f0f8570b1cf12e0f943a5a34cf304)

Author SHA1 Message Date
Joe Groff 50887f0cfe Merge branch 'master' of git://factorcode.org/git/factor 2008-12-08 19:32:49 -08:00
Joe Groff 0b42f11683 cocoa backend for offscreen world rendering 2008-12-08 19:30:10 -08:00
Slava Pestov 7940020491 Untangling more dependencies 2008-12-08 16:02:31 -06:00
Slava Pestov f8bce98850 Remove unnecessary prettyprinter and debugger dependencies from UI 2008-12-08 13:58:57 -06:00
Doug Coleman 14fb58f448 swap ... 3append -> surround in basis 2008-12-06 18:58:45 -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 0e0e79eb7e Redo how Cocoa event loop is done; fixes problem with expose, focus issue when closing windows 2008-12-05 01:49:46 -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 ef0410ef50 Use bi instead of dup/swap in a couple of places 2008-12-01 18:20:32 -06:00
U-SLAVA-DFB8FF805\Slava 6d8d4b3098 Fix odd Windows mouse wheel behavior 2008-12-01 18:20:19 -06:00
U-SLAVA-DFB8FF805\Slava 8b106b6a77 Clean up a bit 2008-12-01 17:54:35 -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 b1f855a55f Replace one kludge with another 2008-11-30 14:23:15 -06:00
Slava Pestov f0fc3190f3 Stop blinking before starting again 2008-11-30 13:50:09 -06:00
Slava Pestov cbf392c889 Use new distance word 2008-11-29 10:38:27 -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
Doug Coleman 14c096dd82 fix mouse scrolling on windows 2008-11-20 15:23:02 -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 4e9495a7e7 Tweak listener GUI layout 2008-11-25 23:05:19 -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
U-SLAVA-DFB8FF805\Slava bb99523d39 Fix Windows UI 2008-11-24 18:55:45 -06:00
Slava Pestov 915bd51b20 Tweak debugger and traceback a bit 2008-11-24 12:29:24 -06:00
Slava Pestov 9b9d45b8f8 Fix type error 2008-11-23 03:22:56 -06:00
Slava Pestov 7788b3e0db Merge branch 'master' into microseconds 2008-11-23 03:06:32 -06:00
U-SLAVA-DFB8FF805\Slava ca200b72d0 Fixing some problems with Windows keyboard handling 2008-11-22 02:15:25 -06:00
Slava Pestov 1162ee6b0f Add <> word 2008-11-22 03:22:19 -06:00
Slava Pestov 42926ebfcf Fix ui.gestures help-lint 2008-11-22 02:24:24 -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 8ec486f9a8 Add unit test now that open-window infers 2008-11-22 01:20:47 -06:00
slava a1920add92 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-22 00:24:34 -06:00
slava ae8e3ecb78 Fix X11 input problems 2008-11-22 00:23:56 -06:00
Slava Pestov 5236f49800 Add unit test now that event-loop infers 2008-11-21 23:56:45 -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 985aca75ba Highlight rollover buttons when clicked 2008-11-21 18:55:24 -06:00
Slava Pestov 9d68d5882a Fix circularity 2008-11-20 23:54:27 -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 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 2eac58c271 Fix '0 track-add' 2008-11-20 21:57:56 -06:00
Slava Pestov 2620a10107 Display help in browser tool 2008-11-20 20:34:49 -06:00
Slava Pestov d74af138e1 Fix shift-drag selection in panes 2008-11-20 18:30:08 -06:00
Slava Pestov 1477a0f6f5 Code cleanups 2008-11-20 18:11:25 -06:00
Slava Pestov a671678357 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-20 17:33:30 -06:00
slava 248cb0df5e Add some error checking to the X11 UI: if an event handler throws an error, we open a debugger window, as on other platforms, instead of stopping the UI 2008-11-20 03:47:39 -06:00
Slava Pestov 375a9df29b Fix shift-click in editor nested inside a pane 2008-11-19 21:59:11 -06:00
Slava Pestov 4af2592369 Fix some scrollers problems 2008-11-19 21:58:45 -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 8f0b335f4b Clean up 2008-11-19 21:13:50 -06:00
Slava Pestov c75c4efefd Add unit test for pack pref-dim bug 2008-11-19 19:08:12 -06:00
Slava Pestov b9e1f5bf8a M: track pref-dim did not take the gap into account 2008-11-19 17:47:25 -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 344657b93b Improve scroll>rect and scroll>caret so that the caret is always visible 2008-11-19 17:13:39 -06:00
Slava Pestov 6aff81052e Doc update 2008-11-19 17:10:19 -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 1b47e80994 Clean up some specialized array usage 2008-11-18 22:18:35 -06:00
Slava Pestov 281657dd82 Fix conflict 2008-11-18 22:18:14 -06:00
Slava Pestov ebd9513020 Fix stray pixel on Linux 2008-11-18 21:57:50 -06:00
U-SLAVA-DFB8FF805\Slava 4350951f14 More rendering fixes 2008-11-18 15:44:26 -06:00
Slava Pestov d0e53db5fc Rendering tweaks 2008-11-18 14:15:38 -06:00
Slava Pestov f8a6e3b0d8 Don't use the obscure CLEAR key 2008-11-18 11:50:02 -06:00
Slava Pestov b4ae47dfc8 More OpenGL tweaks 2008-11-17 05:56:53 -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
Slava Pestov 4f77607c13 Fix tests, and clear-deque on dlists 2008-11-16 06:57:53 -06:00
Slava Pestov 93e9e34175 Add $maybe markup element 2008-11-16 06:02:13 -06:00
Slava Pestov 2fe364a7bb Specialized arrays work in progress 2008-11-14 20:18:16 -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 d50f4275d4 Fix help lint 2008-11-11 08:53:11 -06:00
Slava Pestov bb44effcb3 Forgot to include this in the last patch 2008-11-11 02:35:27 -06:00
Slava Pestov d579628d61 More OpenGL rendering tweaks 2008-11-11 02:31:56 -06:00
Slava Pestov f0c61b9499 Rewrite OpenGL rendering code
- Don't use glPolygonMode to draw outline rectangles
- Use vertex arrays instead of glBegin/glVertex/glEnd
- Remove dead code from opengl vocabulary
- draw-interior and draw-boundary are now called with origin get [ ... ] with-translation
2008-11-11 00:28:37 -06:00
Slava Pestov 161c917748 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-10 05:08:39 -06:00
Slava Pestov d8a3439bc2 Fix indentation 2008-11-10 05:08:30 -06:00
Eduardo Cavazos 17be33fb01 ui.gadgets.labelled: Simplify '<title-bar>' 2008-11-10 03:35:21 -06:00
Eduardo Cavazos 6df7342b81 ui.gadgets.scrollers: Nicer version of 'find-scroller*' 2008-11-10 02:10:18 -06:00
Eduardo Cavazos 8262b50c87 ui.gadgets.scrollers: minor tweak in 'new-scroller' 2008-11-08 16:23:06 -06:00
Eduardo Cavazos 8e44e783cf ui.gadgets.lists: minor tweak to 'select-gadget' 2008-11-08 15:59:21 -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