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
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
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
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
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
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
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
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
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
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
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
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
731bd1c88a
fix ui unit tests for new accessors
2008-09-02 01:52:22 -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
Eduardo Cavazos
289b366d40
Update old accessors from 'ui.traverse'
2008-09-01 18:24:26 -05:00
Slava Pestov
41fa05a639
Fix recent visual regression
2008-09-01 02:52:25 -05:00
Slava Pestov
facc5edeec
Fix handler
2008-08-31 19:23:04 -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
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
04f8eaf220
ui.*: Use new accessors
2008-08-29 18:44:19 -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
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
Daniel Ehrenberg
1e1da73309
Merge branch 'master' of git://factorcode.org/git/factor
2008-08-19 21:06:26 +02: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