slava
7bf857650c
Remove stop-after-last-window? option, it's obsolete, get ui.event-loop (only used on X11 and Windows) to load
2008-12-13 03:49:22 -06:00
Doug Coleman
919a4393f5
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-13 00:23:31 -06:00
Slava Pestov
a4ba0453b3
Fix UI docs
2008-12-13 00:00:39 -06:00
Slava Pestov
053c15e476
This is where all the recent I/O and core foundation work comes together: use core-foundation.run-loop to receive events on Mac OS X instead of weak-ass Squeak-style polling every 10ms
2008-12-12 23:58:28 -06:00
Doug Coleman
9d2d225c9d
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-12 09:37:03 -06:00
Slava Pestov
36c36a7f83
Update code for core-foundation split, add core-foundation.timers
2008-12-12 01:11:37 -06:00
Doug Coleman
0411d89038
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-11 23:39:49 -06:00
Doug Coleman
05d6cf873f
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-11 23:08:00 -06:00
Joe Groff
ed45192b6d
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-11 17:16:12 -08:00
Doug Coleman
3dc417ae64
bool -> ?
2008-12-11 18:52:22 -06: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
Slava Pestov
f020fd39ec
Fix ui.gestures help lint
2008-12-10 19:45:42 -06:00
Slava Pestov
f86caab386
Fix compile error
2008-12-10 17:33:29 -06:00
Slava Pestov
6346999f66
Fix race condition with gesture handling and grafting
2008-12-10 16:40:05 -06:00
Slava Pestov
24a8cb0a95
Remove >r/r> usage from ui.cocoa
2008-12-10 16:25:57 -06:00
Joe Groff
dc5727a212
oops
2008-12-10 07:28:33 -08:00
Doug Coleman
3629b9e5bd
win32 offscreen refinements
2008-12-10 08:49:50 -06:00
Doug Coleman
cd0f46c668
GdiFlush when selecting gl context to make offscreen rendering work
2008-12-10 01:05:03 -06:00
Doug Coleman
6fd87b747c
windows offscreen tweaks
2008-12-10 00:55:33 -06:00
Doug Coleman
3e587c2f89
gitter compilin'
2008-12-10 00:31:57 -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
347eb5647b
windows backend for ui.offscreen
2008-12-09 18:55:54 -08:00
Joe Groff
4f6ed727d0
Tweak windows and x11 backends to work with changes made for offscreen rendering
2008-12-09 10:19:14 -08:00
Joe Groff
98c0daae2a
Move offscreen-world widget and support words into ui.offscreen vocab
2008-12-09 10:07:57 -08:00
Joe Groff
ec98a6c83d
offscreen-world widgets and offscreen pixel format fixes
2008-12-09 09:22:23 -08:00
Slava Pestov
1e1640abb3
Load fixes
2008-12-09 03:22:38 -06:00
Joe Groff
02e961ac77
cocoa ui compile fixes
2008-12-08 21:00:47 -08:00
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
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