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
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
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