Commit Graph

244 Commits (d0d615fb2bd301b3dc30e4e0f74aff877c94d7f0)

Author SHA1 Message Date
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
Doug Coleman 5dc3bf2b27 os-env change 2008-10-18 21:18:04 -05:00
Doug Coleman 171c235c96 Merge branch 'master' of git://repo.or.cz/factor/jcg
Conflicts:

	basis/cocoa/messages/messages.factor
2008-10-15 23:56:42 -05:00
Joe Groff 52a12c2387 Merge branch 'master' of git://factorcode.org/git/factor 2008-09-30 18:22:41 -07:00
Slava Pestov b1d82c6c74 More indentation fixes 2008-09-27 18:44:51 -05:00
Slava Pestov 91036cf323 Fix performance regression 2008-09-27 17:54: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
Doug Coleman 2c1f6ee3dd apply p1dzkl's patch to let the windows ui cascade new windows instead of putting them all on top of each other. thanks! 2008-09-19 22:06:28 -05:00
Slava Pestov c19f2257f4 Fix permission bits 2008-10-02 08:34:49 -05:00
Slava Pestov b45ee5b8be Fix bootstrap 2008-10-02 06:47:48 -05:00
John Benediktsson 17a6a247fe Merge branch 'master' of git://factorcode.org/git/factor 2008-10-01 08:08:46 -07:00
Slava Pestov ec95a0db63 Fix erg's mouse drag bug 2008-09-30 23:38:11 -05:00
John Benediktsson 372d7d49f9 Fix typos in basis/ui/grids/grids-docs. 2008-09-29 11:41:01 -07:00
Joe Groff f6ac828f46 yup, more type bugs 2008-09-12 20:01:07 -07:00
Joe Groff eb77923e09 Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:

	basis/cocoa/types/types.factor
2008-09-12 06:37:24 -07:00
U-SLAVA-DFB8FF805\Slava b36f610170 Fix Windows bootstrap 2008-09-11 01:27:23 -05:00
Slava Pestov 0c8e2584b4 Fixing unit tests for make, fry changes 2008-09-11 00:20:06 -05:00
Joe Groff 8c8dd51136 one more cocoa type bug 2008-09-10 21:40:41 -07:00
Joe Groff 32dfcd36ac more cocoa 64-bit type fixes 2008-09-10 20:19:57 -07:00
Slava Pestov cf80dd122a Updating code for make and fry changes 2008-09-10 22:11:40 -05:00
Slava Pestov 44f53de164 Move make to its own vocabulary, remove fry _ feature 2008-09-10 20:07:00 -05:00
Joe Groff 3c42ef1da6 first crack at objc2 runtime. need to update type encoding parsing and fix bug in CLASS: compilation 2008-09-08 07:28:02 -07:00
Doug Coleman 8a921c791c if-empty changes 2008-09-06 19:13:59 -05:00
Slava Pestov aea0fed14c Fixing basis -> extra dependencies 2008-09-05 19:29:14 -05:00
Slava Pestov 5cd014f8ca New UI panes benchmark to highlight recent perforammance regression there 2008-09-03 06:34:40 -05:00
Slava Pestov 1756e94824 Fix gesture logger bug which was breaking UI 2008-09-03 04:02:18 -05:00
U-SLAVA-DFB8FF805\Slava e5dbb99f6e Fix canvas gadget 2008-09-02 21:21:37 -05:00
Doug Coleman eb48b92711 fix docs 2008-09-02 15:19:23 -05:00
Doug Coleman 4c2cd48d9a new accessors, slight refactoring 2008-09-02 13:02:38 -05:00
Doug Coleman d45b7afc3c find-world can return f, handle this case, new accessors 2008-09-02 12:35:50 -05:00
Doug Coleman 1df3257a6b fix accessor 2008-09-02 09:00:37 -05:00
Doug Coleman c2c23fd6ea fix accessors 2008-09-02 03:00:25 -05:00
Doug Coleman 731bd1c88a fix ui unit tests for new accessors 2008-09-02 01:52:22 -05:00
Doug Coleman f9c4cd963e new accessors 2008-09-01 22:46:18 -05:00
Doug Coleman 46e9481cb6 new accessors 2008-09-01 22:46:00 -05:00
Doug Coleman e193548489 new accessors 2008-09-01 22:45:40 -05:00
Doug Coleman 60a3cf862b new accessors 2008-09-01 22:45:23 -05:00
Doug Coleman fc848a4e6d new accessors 2008-09-01 22:45:13 -05:00
Doug Coleman 5798940ee9 new accessors 2008-09-01 22:45:04 -05:00
Doug Coleman 065c9eb93e new accessors 2008-09-01 22:44:54 -05:00
Doug Coleman fbe6dd9b63 new accessors 2008-09-01 22:44:43 -05:00
Doug Coleman c99ac86a3f new accessors 2008-09-01 22:44:29 -05:00
Doug Coleman e060a103b2 new accessors 2008-09-01 22:44:10 -05:00
Doug Coleman 04d2f95536 new accessors 2008-09-01 22:43:56 -05:00
Doug Coleman 5d1da809b6 new accessors 2008-09-01 22:43:40 -05:00
Doug Coleman 191a8b3206 new accessors 2008-09-01 22:43:23 -05:00
Doug Coleman 99a0f0f135 new accessors 2008-09-01 22:43:02 -05:00
U-CUTLER\dharmatech c4f85155a7 Merge branch 'master' of git://factorcode.org/git/factor 2008-09-01 19:56:38 -05:00
U-CUTLER\dharmatech c0098e6a52 Update old accessors from 'ui.windows' 2008-09-01 19:55:21 -05:00
dharmatech 36151938b3 Update old accessors from 'ui.cocoa' 2008-09-01 19:02:44 -05:00
dharmatech 03ab685d93 Merge branch 'master' of git://factorcode.org/git/factor 2008-09-01 18:58:38 -05:00
dharmatech f958bf4ebc Update old accessors from 'ui.cocoa' 2008-09-01 18:57:12 -05:00
Eduardo Cavazos fff7680896 Update old accessors from 'ui.x11' 2008-09-01 18:29:04 -05:00
Eduardo Cavazos 289b366d40 Update old accessors from 'ui.traverse' 2008-09-01 18:24:26 -05:00
Eduardo Cavazos c2d58d0d1c ui.traverse.tests: Minor fix 2008-09-01 07:14:43 -05:00
Eduardo Cavazos c570085151 Update old accessors from ui.tools.* 2008-09-01 03:40:31 -05:00
Eduardo Cavazos e8f961f42d Merge branch 'master' of git://factorcode.org/git/factor 2008-09-01 03:27:54 -05:00
Eduardo Cavazos f47eb29b51 Update old accessors from 'ui.render' 2008-09-01 03:27:31 -05:00
Slava Pestov 41fa05a639 Fix recent visual regression 2008-09-01 02:52:25 -05:00
Eduardo Cavazos 61e5729cdb Update old accessors from 'ui.operations' 2008-08-31 23:53:07 -05:00
Eduardo Cavazos 401597a387 Update old accessors from 'ui.gestures' 2008-08-31 23:35:32 -05:00
Slava Pestov facc5edeec Fix handler 2008-08-31 19:23:04 -05:00
Doug Coleman 6474ed69a7 new accessor 2008-08-31 16:24:53 -05:00
Doug Coleman d2861cae6e fix accessor. oops 2008-08-31 16:24:40 -05:00
Doug Coleman f7c27f4127 new accessors 2008-08-31 16:22:25 -05:00
Doug Coleman 24bf9e3f9c new accessors 2008-08-31 16:21:18 -05:00
Doug Coleman ab83333b51 new accessors 2008-08-31 16:19:24 -05:00
Doug Coleman 39c5b13b50 new accessors 2008-08-31 16:18:02 -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 daee534587 Update accessors from
ui.gadgets.{grid-lines,grids,incremental,labelled,labels,lists,panes}
2008-08-30 21:58:13 -05:00
Eduardo Cavazos 7a75d2e070 Update old accessors from 'ui.gadgets.editors' 2008-08-30 20:06:45 -05:00
Eduardo Cavazos 4bebffd170 Update usages of old accessors from 'ui.gadgets.buttons' 2008-08-30 19:52:40 -05:00
Eduardo Cavazos b33be738f9 Use new accessors in place of old accessors from 'ui.gadgets' 2008-08-30 16:31:42 -05:00
Eduardo Cavazos 2d7bbbd95d ui.clipboards: Stick with names based on old accessors 2008-08-29 19:10:18 -05:00
Eduardo Cavazos 04f8eaf220 ui.*: Use new accessors 2008-08-29 18:44:19 -05:00
Eduardo Cavazos e9f8379564 ui.clipboards: use new accessors 2008-08-29 15:47:36 -05:00
Slava Pestov 8346554b07 Minor updates 2008-08-27 16:24:04 -05:00
Slava Pestov 799cefc39a Fix conflict 2008-08-27 05:52:38 -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 8b855b2445 Help lint fixes 2008-08-22 23:00:35 -05:00
Slava Pestov 2440fc1ceb Fixing remaining issues 2008-08-22 17:38:23 -05:00
Daniel Ehrenberg 1e1da73309 Merge branch 'master' of git://factorcode.org/git/factor 2008-08-19 21:06:26 +02:00
Slava Pestov 48fa2e2d0e Updating some code 2008-08-12 03:31:48 -05:00
Slava Pestov 58a40025f4 Merge branch 'master' of git://factorforge.org/git/william42 2008-08-11 01:40:35 -05:00
Eduardo Cavazos 10d91d712c ui.gadgets.plot: method on callable 2008-08-08 12:06:10 -05:00
Eduardo Cavazos 7402cd2ab7 Move 'ui' to basis 2008-08-07 21:12:50 -05:00