Joe Groff
b4c621d902
Make browser windows larger by default
2009-10-24 16:21:38 -05:00
Joe Groff
6f006cd0c7
rearrange top-level help a little so that introductory articles are more discoverable
2009-10-24 16:14:19 -05:00
Joe Groff
d08e10bff6
link to the glossary from the help browser toolbar
2009-10-24 15:47:23 -05:00
Joe Groff
7c6e67b5ec
< Press Enter to see the Survival Guide >
2009-10-24 15:34:32 -05:00
Doug Coleman
649323ebe0
Merge branch 'master' of git://factorcode.org/git/factor
2009-10-22 13:20:17 -05:00
Joe Groff
c3b8847936
update a bunch of alien-callbacks and alien-indirects to use c-type words
2009-10-21 21:10:11 -05:00
Joe Groff
cc5f9ff98a
update cocoa bridge to use c-type words
2009-10-21 18:17:29 -05:00
Doug Coleman
0d4b9132d7
fix a bunch of typos in docs
2009-10-21 17:40:43 -05:00
Doug Coleman
278a6955c5
Merge branch 'master' into startup
2009-10-20 00:31:45 -04:00
Slava Pestov
08b683de61
ui.gadgets.editors: fix com-join-lines if there are more than two lines in the editor
2009-10-19 22:46:46 -05:00
Doug Coleman
6b6e56a179
change add-init-hook to add-startup-hook, new add-shutdown-hook word
2009-10-19 22:17:02 -04:00
Doug Coleman
3460383cda
fix indentation, revert [ ] [ ] bi -> [ ] keep when second quotation consumes more than one object
2009-10-05 18:33:24 -05:00
Doug Coleman
317c3f82d5
fix using
2009-10-05 13:18:45 -05:00
Doug Coleman
474e02020c
use 1&& in a few places, clean up some more ui code
2009-10-04 17:50:34 -05:00
Doug Coleman
a273cbb68e
fully clean up gadgets.editors
2009-10-04 17:23:23 -05:00
Doug Coleman
41e6c8f3be
cleaning up some ui code
2009-10-04 16:43:00 -05:00
Keith Lazuka
405e5d015b
docs: change $subsection to $subsections
2009-10-02 12:15:48 -04:00
Doug Coleman
5b8460ad16
fix ui startup
2009-09-28 17:16:16 -05:00
Doug Coleman
2dd89b4c5d
dont load tiff by default
2009-09-28 15:15:42 -05:00
Keith Lazuka
53789bef1b
definitions.icons: converted TIFF icons to PNG
...
Slava, don't forget to copy these PNGs into the "/icons" root on docs.factorcode.org
2009-09-28 15:53:39 -04:00
Slava Pestov
64a7fd0a4d
ui.tools.listener: add 'Help' button, and print message when listener exits, to reduce confusion if user presses C+d
2009-09-28 02:38:06 -05:00
Joe Groff
630e5ecc3b
update vocabs so a load-all on macosx works without parsing c-type strings
2009-09-27 15:11:21 -05:00
Joe Groff
5054c954be
add USING:s and rearrange definitions so macosx can compile without parsing c-type strings
2009-09-26 23:14:57 -05:00
Joe Groff
bcd5e72989
fix windows
2009-09-25 10:00:23 -05:00
Joe Groff
9798564536
clean up textured window code
2009-09-25 09:42:09 -05:00
Joe Groff
28d78c9954
fix cocoa bootstrap
2009-09-24 20:25:41 -05:00
Joe Groff
2af6104d99
reset frame inset when windows dwm is toggled off and on, and use the system dialog background for textured windows when dwm is disabled
2009-09-24 16:08:58 -05:00
Joe Groff
c4d4f1b337
tweak textured windows on windows
2009-09-24 13:26:15 -05:00
Joe Groff
e0157c55d1
support textured windows on os x and windows 6.x
2009-09-24 13:05:27 -05:00
Slava Pestov
e87e686869
ui.tools.listener.completion: fix tests
2009-09-24 03:00:40 -05:00
Slava Pestov
d9bf27d242
ui.tools: Minor UI tweaks
2009-09-23 22:51:25 -05:00
Slava Pestov
d662acb299
ui.gadgets.buttons: don't show 'Shortcut' message if there is a gesture but its not a key gesture
2009-09-23 22:50:52 -05:00
Slava Pestov
cceae875ad
ui.commands: remove unused word
2009-09-23 22:50:36 -05:00
Doug Coleman
51ddc963b8
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
core/generic/generic-tests.factor
2009-09-22 10:25:42 -05:00
Slava Pestov
fe948f0b26
Move breakpoint word from tools.annotations to tools.walker to reduce amount of dependencies tools.annotations pulls into a minimal image
2009-09-22 03:16:31 -05:00
Doug Coleman
5cb34724b7
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
basis/classes/struct/struct-tests.factor
basis/functors/functors-tests.factor
basis/specialized-arrays/specialized-arrays-tests.factor
2009-09-20 23:02:49 -05:00
Doug Coleman
eceed177d6
replace usages of <" with """
2009-09-20 22:42:40 -05:00
Joe Groff
c86bef70c9
update windows.types structs
2009-09-18 19:12:31 -05:00
Joe Groff
076ab42dc3
move some allocation words that don't really have much to do with c types out of alien.c-types into a new alien.data vocab
2009-09-17 22:36:05 -05:00
Joe Groff
123a962596
fix button background (from Keith Lazuka <klazuka@gmail.com>)
2009-09-16 13:42:40 -05:00
Keith Lazuka
726ad992a3
Pull in new literals vocab to remove bootstrap circularity
...
Merge branch 'master' into ui
2009-09-11 22:19:46 -04:00
Slava Pestov
ace0c3a15a
Doc fixes
2009-09-11 17:59:04 -05:00
Slava Pestov
7f2e2b1777
Specialized array overhaul
...
- Replace hand-written specialized-arrays.* subvocabularies with new system; instead of USE:ing specialized-arrays.T, do SPECIALIZED-ARRAY: T
- Ditto for specialized-vectors; use SPECIALIZED-VECTOR:
- io.mmap.functor: removed entirely, use <mapped-array> instead
- struct-arrays and struct-vectors have been removed because specialized arrays and vectors subsume them entirely
2009-09-09 22:33:34 -05:00
Keith Lazuka
a96e828d7c
io.styles: renamed the 'border-width' style to 'inset'. inset takes a pair of 2 numbers (horizontal and vertical insets)
2009-09-09 15:50:25 -04:00
Slava Pestov
74fa73aeaf
Fix various test failures
2009-09-08 19:18:56 -05:00
Slava Pestov
9159ce74ab
ui.tools.browser: don't scroll up when reloading page
2009-09-08 16:23:12 -05:00
Slava Pestov
c4c6c6b986
ui.gadgets.buttons: don't show message if no shortcut assigned
2009-09-08 14:46:16 -05:00
Slava Pestov
6d1e4947e8
Merge branch 'ui-tweaks' of git://github.com/klazuka/factor
2009-09-08 14:37:05 -05:00
Keith Lazuka
ab7e2fc69b
Factor theme colors are now referenced by name.
...
Added a text file, "factor-colors.txt", which is like "rgb.txt" except it lists the theme colors used in the Factor UI.
Changed url-style color to DodgerBlue4 to match link-style.
2009-09-08 15:25:27 -04:00
Keith Lazuka
9c7d45e08a
Removed text shadow support
2009-09-08 14:22:27 -04:00
Slava Pestov
2d46cfdf9e
Improved line number handling for unit test failure errors
2009-09-08 13:13:30 -05:00
Keith Lazuka
3fb75247b2
Applied ui-tweaks patchset.
...
- prettyprinter now does syntax highlighting of Factor code
- added a prettyprinter.stylesheet vocab
- text shadow character style for formatted streams
- text shadow for labels
- toolbar buttons display keyboard shortcut in status bar rather than in the button title
- changed some colors in help.stylesheet to match the colors in Factor's scrollbars and border-buttons
- changed status bar color to match the dark blue in Factor's scrollbars
- added some internal padding to the browser gadget to give the article content some breathing room
NOTE: I removed the "pane" slot from browser-gadget. The slot was never used (at least in my image), and now that the browser-gadget's help-pane is wrapped by a "border" gadget, the slot name would be misleading.
2009-09-08 13:30:30 -04:00
Slava Pestov
0238fce941
ui.backend.x11: fix set-fullscreen
2009-09-04 12:35:45 -04:00
Joe Groff
9bd7471696
fix some things that broke in the windows UI/game-input backends
2009-08-31 12:45:39 -05:00
Slava Pestov
6ed46177e9
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-31 00:24:46 -04:00
Slava Pestov
861a3f563b
x11.events, ui.backend.x11: actually make it work
2009-08-31 00:24:25 -04:00
Slava Pestov
e36029b376
x11 and ui.backend.x11: update to use new structs
2009-08-30 22:55:19 -05:00
Doug Coleman
d88cdffa47
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-29 23:39:20 -05:00
Doug Coleman
111c0f6b89
more struct changes
2009-08-27 21:43:29 -05:00
Doug Coleman
ae001ce75c
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-27 21:40:11 -05:00
Joe Groff
c3002ed0f0
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-27 21:17:17 -05:00
Joe Groff
eb4081c696
return YES from cocoa app delegate's applicationShouldHandleReopen: method. this allows app-icon-minimized windows on snow leopard to automatically restore when the dock icon is clicked
2009-08-27 21:16:41 -05:00
Doug Coleman
c926854790
update RECT for new structs
2009-08-27 21:16:28 -05:00
Doug Coleman
7df875c7fe
update WNDCLASSEX
2009-08-27 20:43:42 -05:00
Doug Coleman
065db08680
TRACKMOUSEVENT uses <struct> now
2009-08-27 20:39:37 -05:00
Doug Coleman
469e7e8d67
newstructify PIXELFORMAT
2009-08-27 20:35:37 -05:00
Joe Groff
367f024a1b
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-27 19:23:20 -05:00
Joe Groff
7771c55cb5
ui.backend.cocoa.views: yield in drawRect: impl so that windows will redraw while being resized on snow leopard
2009-08-27 19:21:38 -05:00
Doug Coleman
d4497c81ef
spacing
2009-08-27 11:43:19 -05:00
Slava Pestov
8b68a07649
ui.pixel-formats: fix screwup
2009-08-24 20:45:19 -05:00
Slava Pestov
b2a1858f8f
Move a few more things over to new disposable protocol
2009-08-24 20:33:27 -05:00
Slava Pestov
623ddfca6f
ui.tools.operations: disposables now have a 'dispose' operation, and disposables created within a 'leaks' now have an operation which shows the continuation that created them
2009-08-24 20:22:00 -05:00
Slava Pestov
449be040f8
Use utf8 instead of ascii encoding in a couple of places to avoid pulling in ascii into deployed apps
2009-08-23 19:07:21 -05:00
Slava Pestov
d85b66536f
Add docs for break and B words
2009-08-22 17:45:18 -05:00
Joe Groff
90f8cdc0d1
link tools.deprecation docs into handbook and error-list docs
2009-08-20 16:18:47 -05:00
Joe Groff
400c89daf0
"deprecated" declaration, "deprecation" vocab to track deprecations in the error log
2009-08-20 15:10:42 -05:00
Doug Coleman
2ed4425b7a
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
basis/calendar/calendar.factor
2009-08-13 19:40:02 -05:00
Doug Coleman
3f3d57032b
Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring
2009-08-13 19:21:44 -05:00
Daniel Ehrenberg
1a7ab59f56
Making write barrier elimination global
2009-08-11 21:21:21 -05:00
Philipp Brüschweiler
26859a45eb
various doc fixes
2009-08-11 16:58:47 +02:00
Slava Pestov
2e73038043
Revert basis UI gadget changes
2009-08-06 16:46:48 -05:00
Sam Anklesaria
6f607ed5a9
fixed ui.gadgets.tables multi-selection bug
2009-08-06 16:31:35 -05:00
Sam Anklesaria
827d30a95b
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-06 15:40:57 -05:00
Sam Anklesaria
a621e381e3
merged control extras into basis
2009-08-06 15:19:28 -05:00
Slava Pestov
ef97fdf0c5
ui.gadgets.tables: some band-aid fixes
2009-08-06 01:28:30 -05:00
Slava Pestov
926797d485
ui.gadgets.tables: more fixes
2009-08-05 22:56:08 -05:00
Slava Pestov
dba67b1815
ui.gadgets.tables: little cleanup
2009-08-05 22:45:56 -05:00
Slava Pestov
805b0b2430
Merge branch 'master' of git://github.com/bogiebro/factor into bogie
2009-08-05 22:20:40 -05:00
Sam Anklesaria
a352e7411e
reindented ui.gadgets.tables
2009-08-05 21:29:48 -05:00
Sam Anklesaria
0c4b9a0d58
simplified ui.gadgets.tables
2009-08-05 16:24:56 -05:00
Slava Pestov
eb0ecb68cd
ui.tools.debugger: (:edit) got renamed to edit-error
2009-08-04 21:14:43 -05:00
Sam Anklesaria
07b34c6d0a
Merge branch 'master' of git://factorcode.org/git/factor
2009-08-03 10:13:27 -05:00
Joe Groff
7c5ef08aab
[ [ ... ] compare ] sort => [ ... ] sort-with
2009-08-02 20:09:23 -05:00
Sam Anklesaria
cc38d1ada6
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
basis/functors/functors.factor
basis/io/launcher/launcher.factor
basis/ui/gadgets/tables/tables.factor
2009-07-22 10:02:09 -05:00
Slava Pestov
a716e4cddb
ui.tools.listener: selecting a word from a completion popup now behaves like a USE: followed by a FROM:
2009-07-18 06:55:15 -05:00
Joe Groff
8e58f5e5aa
in kazakhstan, they say that a world is like a context-world
2009-07-15 22:39:23 -05:00
Joe Groff
a06948298b
ensure resize-world never happens before begin-world
2009-07-13 22:35:36 -05:00
Slava Pestov
1a190ae97e
Remove A+s shortcut for saving image in UI
2009-07-07 03:49:10 -05:00
Slava Pestov
328c6d02f5
ui.gadgets.tables: clicking in empty area no longer notifies selection model
2009-07-06 23:19:26 -05:00
Joe Groff
865e37f590
Merge branch 'master' of git://factorcode.org/git/factor
2009-07-04 19:20:18 -05:00
Joe Groff
3a6a588532
destroy window-resources in reverse order
2009-07-04 19:13:53 -05:00
Slava Pestov
d108324f19
ui.gadgets.panes: Shift-clicking to extend the selection in a pane should not focus the pane's input area
2009-07-03 22:41:32 -05:00
Slava Pestov
8c3c007d8e
ui.tools.listener.completion: if listener is not accepting input, pressing TAB would throw an error (reported by Doug Coleman)
2009-07-03 22:35:34 -05:00
Slava Pestov
28a8e83642
ui.tools.listener.history: Fix bug reported by Doug
2009-07-03 21:19:17 -05:00
Joe Groff
97adae24f0
pardon my dust
2009-07-01 17:57:21 -05:00
Joe Groff
77104b7256
put a slot on worlds for window-resources which get disposed when window is closed
2009-07-01 13:54:42 -05:00
Sam Anklesaria
a6f65a483b
Merge branch 'master' of git://factorcode.org/git/factor
2009-06-26 15:52:48 -05:00
Joe Groff
85acbf4abc
validate cocoa menu items with handles-gesture?
2009-06-22 20:16:52 -05:00
Joe Groff
76b1f9ce03
some new UI words: handles-gesture? checks whether a gesture will be handled. topmost-window returns the topmost world object
2009-06-22 19:01:50 -05:00
Joe Groff
16c977491b
bind file management action gestures to standard cocoa menu items
2009-06-21 20:53:11 -05:00
Joe Groff
7d8c59edeb
more action gestures. btw "redo" is ^y (not ^Z) outside of OS X
2009-06-20 19:30:34 -05:00
Joe Groff
54ad8f9dd9
stupid mutable state
2009-06-18 22:01:31 -05:00
Joe Groff
ff742a7d81
Merge branch 'master' of git://factorcode.org/git/factor
2009-06-18 21:20:49 -05:00
Joe Groff
3514e5fb47
make sliders work when range min isn't zero
2009-06-18 21:20:34 -05:00
Joe Groff
037ed45339
give range models a step parameter; use it on sliders so the thumb can step by any interval
2009-06-18 20:57:02 -05:00
Slava Pestov
a99f8f5741
Fix hang when loading ui.backend.windows
2009-06-18 19:30:17 -05:00
Joe Groff
10ab07224f
make windows without titlebars on win32 actually not have titlebars
2009-06-18 15:09:03 -05:00
Joe Groff
5f2bced2e3
docs for window-controls
2009-06-18 12:20:50 -05:00
Joe Groff
76b3e5fea2
win32 support for window-controls
2009-06-18 11:41:34 -05:00
Joe Groff
b75999aac6
fix cocoa close-window to work on windows without close buttons
2009-06-17 23:00:30 -05:00
Joe Groff
3231fcd052
interface for controlling window controls (close, minimize, resize, titlebar, etc.). cocoa backend
2009-06-17 22:47:51 -05:00
Slava Pestov
82825caf80
ui.gadgets.sliders: forgot to update docs
2009-06-16 17:11:36 -05:00
Slava Pestov
37b01357ec
Remove unused words discovered by Samuel Tardieu
2009-06-16 16:38:39 -05:00
Slava Pestov
92b436d7fb
interleave: allow the 'between' quot to access the stack
2009-06-15 16:07:39 -05:00
Sam Anklesaria
63204e677a
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
unmaintained/modules/rpc-server/rpc-server.factor
2009-06-14 11:56:45 -05:00
Joe Groff
d951052ab1
Merge branch 'master' of git://factorcode.org/git/factor
2009-06-03 11:03:45 -05:00
Joe Groff
0169934f6d
null-world class for interactive OpenGL use
2009-06-03 11:03:34 -05:00
Daniel Ehrenberg
ba5b582e01
Redoing images.loader to work with jpeg
2009-06-02 20:39:51 -05:00
Sam Anklesaria
3a8267f30f
illusion-models selectively activated
2009-05-31 11:40:03 -05:00
Sam Anklesaria
ef52d1b94d
ui.gadgets.tables uses arrays, not vectors
2009-05-27 10:26:26 -05:00
Sam Anklesaria
9755132d01
removed occurences of peek in new tables
2009-05-26 16:56:05 -05:00
Sam Anklesaria
e2c99be00b
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-26 16:32:34 -05:00
Sam Anklesaria
e0216e2fe8
fixed hang bug in ui.gadgets.tables
2009-05-26 14:26:11 -05:00
Doug Coleman
407377fc98
rename peek -> last and update all usages
2009-05-25 16:38:33 -05:00
Sam Anklesaria
3b10d4d86e
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
basis/ui/gadgets/tables/tables.factor
core/vocabs/parser/parser.factor
2009-05-24 18:57:22 -05:00
Joe Groff
3061cea61f
disable WGL_ARB_pixel_format code path in windows UI backend 'cause ATI drivers are shit
2009-05-23 08:39:01 -05:00
Sam Anklesaria
9ffa0c32c8
ui.frp uses table constructor
2009-05-16 22:58:38 -05:00
Sam Anklesaria
8a50d2f8fd
pseudo-slots vocabulary
2009-05-16 19:49:27 -05:00
Slava Pestov
a9c339e583
Fix windows bootstrap
2009-05-16 11:20:08 -05:00
Sam Anklesaria
54ccd1039b
tables selected-values type error fixed
2009-05-16 10:46:34 -05:00
Slava Pestov
a0eb60906d
Fix even more usings
2009-05-16 10:45:17 -05:00
Slava Pestov
132249660d
Fix conflict
2009-05-16 09:48:42 -05:00
Slava Pestov
90560d3959
Better presentation for ambiguous-use-error, fix ui.tools.listener now that 'search' can throw, make USE: and UNUSE: ignore dupes
2009-05-16 09:34:42 -05:00
Slava Pestov
66a9416473
Update documentation for stricter vocabulary search path semantics
2009-05-16 00:29:21 -05:00
Sam Anklesaria
b7c719c844
table single storage works for f
2009-05-15 20:02:07 -05:00
Sam Anklesaria
38e8565555
illusion models: two way arrows
2009-05-15 16:58:17 -05:00
Slava Pestov
b62630b5ac
Updating code in basis and extra for stricter vocab search path semantics
2009-05-14 23:23:06 -05:00
Slava Pestov
b31fe9b8f2
Implement stricter vocab search path semantics, with a new API for vocabs.parser. Add map-find-last to sequences vocab
2009-05-14 22:31:29 -05:00
Joe Groff
b3039786c2
don't unfocus the world if cocoa view has gone fullscreen; the original window isn't really associated with the view while fullscreen
2009-05-14 17:37:14 -05:00
Joe Groff
7fdd018aec
set first responder on cocoa view back when returning from fullscreen mode. un-fullscreen the view if window is closed while view is fullscreen
2009-05-14 17:29:25 -05:00
Slava Pestov
fb6df472a2
Cleaning up USING: lists for new strict semantics
2009-05-14 16:54:16 -05:00
Joe Groff
606ed8aaa1
spin on GetCurrentButtonState before warping cursor when grabbing cocoa input. this keeps the window from jumping if you click on its titlebar to focus
2009-05-14 15:36:18 -05:00
Joe Groff
92e508356e
flip cursor warp point for cocoa mouse grab into y-goes-down space
2009-05-14 15:01:21 -05:00
Sam Anklesaria
33148a8964
tables shift-click hack for mac
2009-05-14 12:38:43 -05:00
Joe Groff
7c10b6d4d5
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-14 10:09:16 -05:00
Joe Groff
ba9ba118a6
don't assume world has children in debugger
2009-05-14 10:08:57 -05:00
Sam Anklesaria
44ddc7238b
multiple selection of same row fixed
2009-05-14 10:01:37 -05:00
Slava Pestov
2ad45a24b3
ui.tools.debugger: don't throw an error if world has no children
2009-05-13 22:42:38 -05:00
Slava Pestov
be17ed9132
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-13 22:42:13 -05:00
Slava Pestov
06efcd1502
ui.backend.windows: create-window can now be called even when the UI is not running. Fixes game-input deploy test
2009-05-13 22:41:42 -05:00
Doug Coleman
0d8115a940
fullscreen* -> (fullscreen?), set-fullscreen* -> (set-fullscreen), fix jamshred screen toggling
2009-05-13 22:28:33 -05:00
Slava Pestov
0c1e519dcb
Rename use+ to add-use, move search to vocabs.parser, EXCLUDE: bombs out if word doesn't exist
2009-05-13 22:15:48 -05:00
Sam Anklesaria
20d9b1fde3
table gadget row-action bug fixed
2009-05-13 22:15:33 -05:00
Doug Coleman
31e3fe5a2f
rename set-fullscreen? to set-fullscreen, add a toggle-fullscreen word, fix windows backend for fullscreen*
2009-05-13 20:05:22 -05:00
Sam Anklesaria
db76a7b98d
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
basis/io/launcher/launcher.factor
2009-05-13 20:03:22 -05:00
Sam Anklesaria
1a8fcee712
table views: selected value is always a vector
2009-05-13 17:17:10 -05:00
Sam Anklesaria
89efe27ab5
multiple selection in table views
2009-05-13 16:10:04 -05:00
Slava Pestov
560ad8b2e5
ui.gadgets.worlds: Remove unneeded ui.commands dependency. This reduces deployed image size
2009-05-12 04:02:24 -05:00
Slava Pestov
5b315efc81
Make focusable-child* work even if world has no children, to clean up a code duplication
2009-05-11 17:04:32 -05:00
Slava Pestov
0a6c9e08a9
Fix stack underflow in Windows UI backend
2009-05-11 16:19:41 -05:00
Slava Pestov
f5af7977ec
ui.debugger: new mini error dialog box for deployed apps
2009-05-11 16:18:47 -05:00
Joe Groff
87717fa78c
Add user-visible grab-input and ungrab-input words to cleanly toggle grabbing on worlds
2009-05-11 13:18:38 -05:00
Joe Groff
b070edc751
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
basis/ui/gadgets/worlds/worlds.factor
2009-05-11 12:37:50 -05:00
Joe Groff
30bfce2ce0
improve error handling when begin-world fails
2009-05-11 12:35:41 -05:00
Slava Pestov
3fe5bb872b
Deploy tool always uses optimizing compiler now
2009-05-11 00:32:22 -05:00
Slava Pestov
dec89ac4fd
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-10 21:36:38 -05:00
Slava Pestov
9de34ab3cd
Fix deployment of UI apps and implement various tricks to make deployed images smaller
2009-05-10 21:33:13 -05:00
U-C4\Administrator
5e07dc04a5
use change-global in a couple of places, formatting
2009-05-10 14:24:13 -05:00
Slava Pestov
cda3685c4d
Eliminate prettyprinter dependency from UI
2009-05-09 20:24:17 -05:00
Joe Groff
2295c967fa
clip to window client area when grabbing on windows
2009-05-08 15:49:29 -05:00
Joe Groff
9992817c65
input grabbing support
2009-05-08 15:07:15 -05:00
Joe Groff
01546acb1c
typo in cocoa pixel format stuff
2009-05-07 19:47:26 -05:00
Slava Pestov
51fff49708
find-window: don't bomb if a world has no child. Reported by Joe Groff
2009-05-06 23:40:27 -05:00
Slava Pestov
fb5b48c71a
Fix some test failures
2009-05-04 09:44:26 -05:00
Slava Pestov
b2c3183b21
Split up tools.vocabs. Note that load-everything is now named load-all
2009-05-04 06:44:17 -05:00
Joe Groff
804d4aae81
docs for new world words
2009-05-03 23:01:26 -05:00
Joe Groff
d546e8c89a
nitpick ui.pixel-formats docs
2009-05-03 22:21:36 -05:00
Joe Groff
4504907736
add a resize-world generic to handle window resizes
2009-05-03 22:01:35 -05:00
Joe Groff
045635cdf2
yield during mouse-moved events in cocoa so gadgets have a chance to redraw
2009-05-03 20:33:03 -05:00
Joe Groff
585ea8da54
don't pprint gadgets with RECT: syntax
2009-05-03 18:32:35 -05:00
Joe Groff
474735a60c
update status-bar for api changes. set the gl-context outside of draw-world* generic
2009-05-03 17:11:01 -05:00
Joe Groff
6ccd82faba
world API changes: open-window can take a world-attributes tuple with additional parameters besides title. new begin-world, end-world, and draw-world* generics
2009-05-03 15:52:26 -05:00
Joe Groff
fa524ce213
fix circular dependency for reals
2009-05-02 22:13:01 -05:00
Joe Groff
a0c8d0ae9e
fix x11 backend bugs
2009-05-02 21:55:19 -05:00
Joe Groff
cc244cb672
break code->code docs<-docs dependency
2009-05-02 21:54:25 -05:00
Joe Groff
644c42d4e3
"ui-backend" variable can't be used to choose text backend
2009-05-02 21:52:18 -05:00
U-FROGGER\erg
aa142a1b52
fix windows ui
2009-05-02 20:36:31 -05:00
U-FROGGER\erg
0668b1252e
Merge branch 'master' of git://factorcode.org/git/factor
2009-05-02 20:12:06 -05:00
Joe Groff
886d087332
ui.backend.windows code cleanup
2009-05-02 19:44:08 -05:00
Joe Groff
af6bf6603e
docs for ui.pixel-formats
2009-05-02 18:22:45 -05:00
Joe Groff
d96f6d3197
oops, forgot backing-store support on windows. also "robust" is useless
2009-05-02 17:54:45 -05:00
Joe Groff
a7e2632faf
check-world-pixel-format word that world subclasses can override to verify that the chosen pixel format meets their needs
2009-05-02 16:46:58 -05:00
Joe Groff
623b16d048
X11 backend for pixel formats
2009-05-02 16:39:31 -05:00
Joe Groff
95f1ca3d9f
windows pixel-format backend
2009-05-02 13:42:10 -05:00
Joe Groff
621fed2dd5
need to pass world as arg to pixel-format hooks
2009-05-02 12:31:33 -05:00
Joe Groff
54e9447ec4
adjust pixel format syntax. override offscreen-world pixel-format-attributes instead of special-casing
2009-05-01 20:07:14 -05:00
Doug Coleman
ce7ad9a42d
fix unit tests that call lines or contents
2009-05-01 16:38:04 -05:00
Joe Groff
2a7c26c20a
shove cocoa pixel format attribute conversion into a functor so we can reuse it
2009-05-01 16:33:49 -05:00
Joe Groff
cf6e78303b
don't really want that read-only!
2009-05-01 13:21:57 -05:00
Joe Groff
c8739f5430
Merge branch 'master' of http://factorcode.org/git/factor
2009-05-01 13:01:04 -05:00
Joe Groff
b45ea14d39
compilation fixes
2009-05-01 12:56:52 -05:00
Joe Groff
ba8abd6cad
cocoa backend support for ui.pixel-formats; world-pixel-format-attributes generic
2009-05-01 09:09:38 -05:00
Slava Pestov
31c2ede034
ui.gadgets.sliders: fix usability issue
2009-05-01 07:43:50 -05:00
Slava Pestov
eed7b20c7f
ui.tools.browser: don't add current page to history if re-displaying it again
2009-05-01 07:36:47 -05:00
Slava Pestov
cc5655a557
gesture>string: S+C+z not S+C+Z
2009-05-01 07:36:31 -05:00
Slava Pestov
a1d28c8243
Improve UI listener completion behavior
2009-05-01 07:29:03 -05:00
Slava Pestov
9bb70c2c4d
Update usages of global ... change-at to use the new change-global combinator
2009-04-30 21:38:14 -05:00
Slava Pestov
59bec433f4
Add unportable tag to merger and fix indentation in ui.gadgets.tables
2009-04-30 21:37:53 -05:00
Joe Groff
49674dc8ad
Merge branch 'master' of git://factorcode.org/git/factor
2009-04-30 21:36:54 -05:00
Slava Pestov
f423a0d117
Merge git://github.com/bogiebro/factor into bogiebro2
2009-04-30 21:22:38 -05:00
Slava Pestov
d93514d47d
Merge branch 'master' of git://factorcode.org/git/factor
2009-04-30 21:13:36 -05:00
Joe Groff
76d375b56b
OS-independent pixel formats abstraction
2009-04-30 20:31:33 -05:00
Doug Coleman
4a5009048f
support fullscreen mode in windows ui
2009-04-30 15:22:32 -05:00
Doug Coleman
8ab4d39036
move windows error handling to windows.errors and update usages.
2009-04-30 09:36:25 -05:00
Sam Anklesaria
3cf4f45416
comboboxes vocab + ui authors, summaries
2009-04-29 14:19:30 -05:00
Slava Pestov
7aa65b5b5f
Fixing new method dispatch implementation
2009-04-25 19:41:27 -05:00
Slava Pestov
3dc9fdf9db
Fleshed out new dispatch code
2009-04-24 20:43:01 -05:00
Slava Pestov
eb4981fb00
ui.gadgets.tables: if model changes, try to preserve selection
2009-04-24 01:14:02 -05:00
Slava Pestov
cc5b1c1e2d
Split off some code into tools.errors.model and update UI listener's error summary when errors change
2009-04-23 22:36:34 -05:00
Slava Pestov
5649cc7a0a
Compiler warnings are no more
2009-04-23 22:17:25 -05:00
Slava Pestov
cd91b2e755
tools.errors: fix printing of errors with no associated source file
2009-04-22 10:46:50 -05:00
Slava Pestov
48e70b65fa
Move cross-referencing stuff to tools.crossref since compiler doesn't depend on it anymore, and compute cross-referencing index as needed; reduces image size by ~4Mb
2009-04-22 04:20:38 -05:00
Slava Pestov
b1d0066baa
ui.tools.listener: better error summary display
2009-04-21 00:27:21 -05:00
Slava Pestov
782a2beff3
tweak error list sorting, listener now shows error list summary in a separate pane
2009-04-21 00:14:30 -05:00
Slava Pestov
05f3f9dcb9
Fixing unit tests for stack effect inference changes
2009-04-20 21:15:19 -05:00
Slava Pestov
ec72f33fcb
Documentation updates
2009-04-20 02:23:52 -05:00
Slava Pestov
97b19ff025
Fix typo in ui.text docs
2009-04-19 03:04:41 -05:00
Slava Pestov
1c123e7e22
Remove some usages of -rot and tuck
2009-04-18 21:53:22 -05:00
Slava Pestov
5579842d7a
Fix USING:
2009-04-18 02:52:29 -05:00
Slava Pestov
4f74810c15
Split off x11 vocab from x11.xlib, and add x11.unix for event loop integration
2009-04-18 01:56:29 -05:00
Slava Pestov
f80c89f128
Add fatal? flag to error types; non-fatal errors are hidden by default in error list, not shown in summary
2009-04-17 16:16:12 -05:00
Slava Pestov
ce76331fd6
Fixing more unit tests
2009-04-17 15:50:03 -05:00
Doug Coleman
5c345360d0
unbreak my heart, say you'll love me again, factor bootstrap
2009-04-16 17:03:03 -05:00
Slava Pestov
df18c0b6e7
Making more code infer
2009-04-15 19:03:44 -05:00
Slava Pestov
c0874e64cc
Documentation updates
2009-04-15 18:19:35 -05:00
Slava Pestov
bab6e8fe08
Fix rounding error
2009-04-15 17:14:10 -05:00
Slava Pestov
b5b80cd0e9
Documentation updates
2009-04-14 20:36:10 -05:00
Slava Pestov
2a5a5ee376
Fix rounding error
2009-04-14 15:14:57 -05:00
Slava Pestov
c01266300a
Merge branch 'master' into smarter_error_list
2009-04-13 20:08:48 -05:00
Slava Pestov
6aa3b7cd3d
Merge branch 'emacs' of http://git.hacks-galore.org/jao/factor
2009-04-13 19:50:23 -05:00
Slava Pestov
ca1e8e0517
ui.tools.error-list: better sorting and output
2009-04-13 19:42:53 -05:00
Slava Pestov
fd5ab25a09
Better handling of errors without file/line info
2009-04-13 17:19:32 -05:00
Slava Pestov
bfe0787454
Merge branch 'master' into smarter_error_list
2009-04-13 15:23:27 -05:00
Slava Pestov
6efbe50543
Merge branch 'master' of git://factorcode.org/git/factor
2009-04-13 15:21:20 -05:00
Slava Pestov
c9272501f5
ui.gadgets.packs: add failing unit test
2009-04-13 14:41:08 -05:00
Slava Pestov
2abdf4c138
UI error summary now shows icons for all error types
2009-04-13 14:40:26 -05:00
Slava Pestov
3b1f3c08a4
Fix window positioning on OS X
2009-04-13 03:16:57 -05:00
Slava Pestov
cdd372314b
Working on error list change notification
2009-04-12 23:01:08 -05:00
Jose A. Ortega Ruiz
b6a8e023a5
Fix: setting WM_CLASS in X11 backend using UTF8 string
2009-04-13 01:17:04 +02:00
Slava Pestov
5aab0078a0
Make more code infer
2009-04-12 16:08:54 -05:00
Slava Pestov
c4be8bd65a
Refactor error code so that error types are registered; listener prints a summary of errors
2009-04-12 16:08:46 -05:00
Slava Pestov
0420b39f4f
Make source file error types a bit more extensible
2009-04-11 22:26:24 -05:00
Slava Pestov
26356ffc63
Working on error-list tool
2009-04-11 21:26:36 -05:00
Slava Pestov
e5df0559eb
Working on adding help-lint errors to error list
2009-04-11 20:30:09 -05:00
Slava Pestov
fe8e6b328f
Merge branch 'master' into smarter_error_list
2009-04-11 15:28:35 -05:00
Slava Pestov
db3818814d
Refactor GLU usages in basis, and move opengl.glu to extra, and don't like VM with GLU
2009-04-11 15:17:08 -05:00
Slava Pestov
39685724cc
Generalize operation
2009-04-11 15:11:40 -05:00
Slava Pestov
e5606b2917
Merge branch 'smarter_error_list' of git://factorcode.org/git/factor into smarter_error_list
2009-04-11 14:33:04 -05:00
Slava Pestov
c7b3b2f4e0
Load ui.tools.error-list by default
2009-04-11 14:24:17 -05:00
Slava Pestov
a254e07fda
Error list: add toggles for different error types, source file icon
2009-04-11 14:18:23 -05:00
Slava Pestov
c626004735
ui.gadgets.tables: center cells vertically, add padding around images
2009-04-11 14:14:32 -05:00
Slava Pestov
ad2b7b74f4
Fix baseline alignment to work like align=1/2 if there is no text in the layout, also fix nested baseline alignment in the no-text case
2009-04-10 14:11:05 -05:00
slava
509869ca70
X11 UI: Fix resize flicker, exception when closing window, unsuccessful attempt at fixing raise-window
2009-04-10 13:29:07 -04:00
Slava Pestov
8480034d6e
image-name instances can now be passed to <button> etc
2009-04-10 08:13:20 -05:00
Slava Pestov
78503a1b9c
Merge branch 'master' into smarter_error_list
2009-04-10 06:23:17 -05:00
Slava Pestov
e2c858da34
Add better error check for 'window' word
2009-04-10 06:20:23 -05:00
Slava Pestov
370e90f57b
Fix odd race condition in ui.backend.cocoa
2009-04-10 06:19:46 -05:00
Slava Pestov
713ab02337
Don't use GL_ARB_texture_non_power_of_two on ATI hardware to fix bug reported by Andy Turner and Caesar Hu
2009-04-10 06:18:29 -05:00
Slava Pestov
4f41e07147
ui.tools.compiler-errors => ui.tools.error-list
2009-04-10 04:41:12 -05:00
Slava Pestov
0a7485190b
compile-error-type => source-error-type; make test failures global
2009-04-10 03:52:12 -05:00
Slava Pestov
e467f4eea3
More work on unit test tool
2009-04-09 08:17:41 -05:00
Slava Pestov
af8f98495d
Latest icons from Joe
2009-04-09 08:11:38 -05:00
Slava Pestov
2b384a7742
Re-organize some error-related code, three-pane look for compiler errors tool, add Joe's icons
2009-04-08 23:05:45 -05:00
Slava Pestov
61918ac0c5
Merge branch 'master' into smarter_error_list
2009-04-08 06:45:49 -05:00
Slava Pestov
6082a98c7c
If (open-window) or similar fails, don't enter an infinite loop of opening error windows, just try to open one and then give up
2009-04-07 22:30:13 -05:00
Slava Pestov
87e4598581
opengl.textures: use GL_ARB_texture_non_power_of_two if available
2009-04-07 21:32:45 -05:00
Aaron Schaefer
0c33ba55c8
Merge branch 'master' of git://factorcode.org/git/factor
...
* 'master' of git://factorcode.org/git/factor: (36 commits)
Fix typo
Fix alien.fortran for NetBSD x86.64
fix unit test in robots
http.client: fix 307 redirect behavior (reported by Chris Double)
Treat a limit of f as unlimited instead of throwing an error
Static responder now works when the root is a file rather than a directory
Fix site-watcher tests
Fix bootstrap
furnace.actions: load chloe tags
furnace.redirection: load urls.secure
db.errors.sqlite: don't give up on bad inputs
Makefile: clean target should delete libfactor.dylib too
Working on site-watcher
unbreak regexp
refactor spider
clean up a combinator in id3 parser
Minor doc updates
Use [ ] [ ] map-reduce instead of unclip [ ] reduce
Factor out site-watcher.email, start work on site-watcher.spider
construct a glob-matching quote for robots.txt files
...
2009-04-07 21:38:13 -04:00
Slava Pestov
07f585a81d
Error list tool work in progress
2009-04-06 15:24:21 -05:00
Aaron Schaefer
cbd6b0ed3b
fix documentation typo
2009-04-06 15:18:35 -04:00
Slava Pestov
2adee07a29
Merge branch 'master' into smarter_error_list
2009-04-06 13:41:33 -05:00
Slava Pestov
37e5d502f1
Fix shift-drag losing focus in listener
2009-04-06 13:39:55 -05:00
Slava Pestov
75985a6c7c
Merge branch 'master' into smarter_error_list
2009-04-06 13:27:06 -05:00
Slava Pestov
890553b776
Fixing tests for method-sec removal
2009-04-06 05:22:28 -05:00
Slava Pestov
1071a3c564
Fix ui.tools.browser.history tests
2009-04-06 03:03:46 -05:00
Slava Pestov
99b8400e56
Documentation updates
2009-04-06 03:00:46 -05:00
Slava Pestov
476d1910c2
Merge branch 'master' into smarter_error_list
2009-04-05 23:54:01 -05:00
Slava Pestov
cb6030778f
Fix ui.gadgets.scrollers unit tests
2009-04-05 23:38:47 -05:00
Slava Pestov
88bbb47bfa
Browser tool now saves scroll bar position in history
2009-04-05 23:19:35 -05:00
Slava Pestov
78013c2bdf
Rename scroll word to set-scroll-position and make it public
2009-04-05 23:19:18 -05:00
Slava Pestov
8bf5fde791
Rename scroll word to set-scroll-position and make it public
2009-04-05 23:18:25 -05:00
Slava Pestov
880f4097ad
Clear button in search field is now positioned correctly
2009-04-05 20:50:45 -05:00
Slava Pestov
0affe96d95
opengl.textures: pad image up to a power of 2 using glTexSubImage2D instead of doing it in Factor code
2009-04-04 20:04:35 -05:00
Slava Pestov
1a4f2724e4
Don't call glFlush, it's useless
2009-04-04 20:03:44 -05:00
Slava Pestov
e84cc5f82d
Simplify do-matrix
2009-04-04 20:03:30 -05:00
Slava Pestov
bae7923594
Fix more cosmetic issues
2009-04-03 19:50:46 -05:00
Slava Pestov
695b97e6e6
Remove debug stuff
2009-04-03 19:35:22 -05:00
Slava Pestov
3137d12f12
Fix some minor UI bugs
2009-04-03 19:30:07 -05:00
U-SLAVA-DFB8FF805\Slava
1731b57249
Add textures without alpha channels, cropping; update usages of <texture>; don't ignore trailing in x>offset
2009-04-03 07:01:22 -05:00
U-SLAVA-DFB8FF805\Slava
dfa27e0c17
Add vocab meta-data for some of the new vocabs
2009-04-02 13:50:15 -05:00
U-SLAVA-DFB8FF805\Slava
745a435475
Merge branch 'master' into uniscribe
2009-04-02 13:19:30 -05:00
U-SLAVA-DFB8FF805\Slava
9c3054c84a
More progress on Uniscribe
2009-04-02 13:05:26 -05:00
Slava Pestov
4f19f9b2c1
Fix UI pane selection
2009-04-02 09:09:09 -05:00
U-SLAVA-DFB8FF805\Slava
0cfa22c276
Merge branch 'master' of git://69.93.127.154/git/factor into uniscribe
2009-04-01 22:46:04 -05:00
Slava Pestov
4dbb2aa491
Partial fix for pane selection
2009-04-01 22:24:49 -05:00
Slava Pestov
474e74a232
Re-organize things so that bootstrap.ui doesn't load ui.text
2009-03-31 23:44:38 -05:00
Slava Pestov
633669302b
Merge branch 'master' into uniscribe
2009-03-29 19:10:26 -05:00
Slava Pestov
a40b4f6dfa
Fix docs typo
2009-03-29 19:07:01 -05:00
Slava Pestov
d586d49cb6
Fix listener-run-files
2009-03-29 16:28:04 -05:00
Slava Pestov
a58ce33bb3
Split off some code from ui.backend.windows into windows.offscreen
2009-03-28 22:27:18 -05:00
Slava Pestov
9be60e36af
Add models.arrow.smart: abstracts out common <product>/<arrow> pattern
2009-03-28 04:19:33 -05:00
Slava Pestov
b5c5991747
Working on UI compile error viewer tool
2009-03-28 04:19:02 -05:00
Slava Pestov
3bf5d2bfd4
Implement image tesselation in image.tesselation. This is used by opengl.textures to break up large bitmaps into multiple smaller textures. The gl-rect and gl-fill-rect words have different stack effects now, so usages were updated.
2009-03-27 18:31:25 -05:00
Slava Pestov
6c0986f8b2
Add definition mixin in definitions vocab to replace hard-coded union in ui.tools.operations; add ?execute to kernel to replace dup word? [ execute ] when calls in unicode.breaks and opengl
2009-03-26 21:27:45 -05:00
Doug Coleman
6ca02e9b37
Merge branch 'master' of http://factorcode.org/git/factor into db
2009-03-25 23:01:05 -05:00
Doug Coleman
8b7fcce399
update code for usages of add-library
2009-03-25 23:00:19 -05:00
Slava Pestov
6984c143e9
Fix hang when running ui tests
2009-03-25 22:54:31 -05:00
Slava Pestov
f4948ec970
Merge tools.test.ui into ui.gadgets.debug
2009-03-25 22:52:52 -05:00
Slava Pestov
c36ae80c28
Better error message if user forgets with-ui
2009-03-25 11:12:10 -05:00
Slava Pestov
be9d8ffd02
A+b now focuses the search field
2009-03-25 10:12:10 -05:00
Slava Pestov
7741d2ca23
- definitions.icons now has a reference article
...
- move about to help.vocabs; it now opens the vocab browser instead
- help.vocabs is in default use list
- add runnable-vocab predicate class
2009-03-24 09:11:45 -05:00
Slava Pestov
577522fe0f
Fix ui.tools.profiler help lint
2009-03-24 08:56:59 -05:00
Slava Pestov
6c5e10e5fd
Merge branch 'master' of git://factorcode.org/git/factor
2009-03-24 04:11:20 -05:00
Slava Pestov
637d06a4f8
Add silly 'tip of the day' feature, and 'recently visited' list to UI browser home page
2009-03-24 04:11:08 -05:00
U-SLAVA-DFB8FF805\Slava
5d3c2c874a
Get game-input to load on Windows
2009-03-24 03:58:11 -05:00
Slava Pestov
8385e9d9f5
Fixing compile errors, test failures and help lint failures
2009-03-23 17:12:41 -05:00
Slava Pestov
723bfab030
Fixing unit tests for syntax change
2009-03-23 00:34:02 -05:00
Doug Coleman
ebaf05f26b
Fix clipboard bugs
2009-03-19 17:36:38 -05:00
Slava Pestov
ead3452957
Fix walker
2009-03-16 20:49:09 -05:00
Slava Pestov
be4fb1e7d9
Move call( and execute( to core
2009-03-16 20:11:36 -05:00
Slava Pestov
3a611f41c7
ui.gadgets.editors: remove unnecessary workaround, make another word infer
2009-03-16 06:27:19 -05:00
Slava Pestov
36d03dfa08
Use call( so that with-ui infers
2009-03-16 03:01:47 -05:00
Slava Pestov
4589aab8a4
Move ui.gadgets.alerts, ui.gadgets.book-extras and ui.utils to extra
2009-03-16 03:00:37 -05:00
Daniel Ehrenberg
f62847a430
Merge branch 'master' of git://factorcode.org/git/factor
2009-03-15 17:39:29 -05:00
Slava Pestov
07a5a46009
Add stream-element-type generic word
2009-03-15 17:11:18 -05:00
Slava Pestov
34d9d12ddb
Fix a bug in ui.gadgets.labeled and add a unit test
2009-03-14 00:01:18 -05:00
Slava Pestov
c46b400d40
New look for menus
2009-03-13 23:49:16 -05:00
Daniel Ehrenberg
a36af22f11
Merge branch 'master' of git://factorcode.org/git/factor
2009-03-13 15:35:15 -05:00
Slava Pestov
da254e4621
Opening a second popup if one is already visible hides the first
2009-03-13 04:47:56 -05:00
Slava Pestov
7cefd48884
Tweak pane layout for better baseline alignment
2009-03-12 17:48:46 -05:00
Daniel Ehrenberg
05d718a7e9
Merge branch 'master' of git://github.com/bogiebro/factor
2009-03-12 03:58:40 -05:00
Slava Pestov
667eca9410
Fix unit tests and help lint for 'see' move
2009-03-11 17:33:54 -05:00
Slava Pestov
abab72f80c
Move 'see' to its own vocabulary, and fix excess newlines after panes change
2009-03-11 07:18:24 -05:00
Slava Pestov
5f196ba2ef
Fix bootstrap
2009-03-11 07:17:57 -05:00
Slava Pestov
692b648feb
Change tabular-output and smash-pane behavior to fix panes unit tests; re-organize panes code to make more words private
2009-03-11 03:17:30 -05:00
Slava Pestov
16ddc461b4
Document ui.gadgets.glass and fix help lint failures in UI docs
2009-03-10 17:28:34 -05:00
Slava Pestov
ceafe8c69e
Fix text rendering on top of transparent background
2009-03-10 16:59:15 -05:00
Sam Anklesaria
895b1339f8
added buttons for book navigation
2009-03-09 20:35:49 -05:00
Sam Anklesaria
4d453923ae
added simple dialogs for the ui
2009-03-09 20:34:56 -05:00
Slava Pestov
073333f245
Re-implement <polygon-gadget> since joystick-demo still uses it
2009-03-09 20:23:34 -05:00
Sam Anklesaria
5a14faecd6
added rendering functions
2009-03-09 20:13:17 -05:00
Slava Pestov
a3c23c53ca
Half-fix pane selection
2009-03-09 18:35:12 -05:00
Slava Pestov
7ec4f574a5
Clicking in the pane focuses the input area
2009-03-08 17:33:40 -05:00
Slava Pestov
43dd93d1fa
Fix ui.commands unit test on non-Mac platfrms
2009-03-08 01:52:05 -06:00
Slava Pestov
dfb55736c5
show-browser command now just switches to an existing browser instead of pointing it at the documentation front page
2009-03-07 21:35:44 -06:00
Slava Pestov
52fef83061
Fix various unit tests
2009-03-07 15:58:14 -06:00
Slava Pestov
20db7ea3c1
Add meta-data
2009-03-07 01:48:36 -06:00
Slava Pestov
375c5e69b5
Various load-everything fixes
2009-03-07 01:22:21 -06:00
Slava Pestov
180c720747
Change link
2009-03-06 19:48:21 -06:00
Slava Pestov
81c96ca410
Add a unit test as a sanity check for a broken Win64 Pango
2009-03-06 16:21:06 -06:00
Slava Pestov
5c88b18a9a
Oops, forgot to call prepare-last-line
2009-03-06 13:32:41 -06:00
Slava Pestov
a2befabfe1
Fix string>gesture for gestures involving SPACE
2009-03-05 16:33:20 -06:00
Slava Pestov
4e8280be63
Fix problem where listener would scroll to the top sometimes
2009-03-05 16:33:09 -06:00
Slava Pestov
ebb5adfdb7
Clicking on dock icon with no windows visible opens new listener
2009-03-05 16:32:43 -06:00
Slava Pestov
613a0b4f82
ui.tools.listener: try to handle errors better if find-vocab-root throws
2009-03-05 13:37:43 -06:00
Slava Pestov
ee87ca7db6
Fix keysym SPACE
2009-03-05 13:35:00 -06:00
Slava Pestov
d577a846d5
Fix offset conversion in ango backend
2009-03-04 21:09:38 -06:00
Slava Pestov
2fee574b4f
Working on X11 backend
2009-03-02 02:55:54 -06:00
U-SLAVA-DFB8FF805\Slava
2ec3f1c700
Delete ui.text.freetype, opengl.sprites, and Bitstream Vera fonts; move freetype FFI binding from basis to extra since its no longer used by the UI
2009-03-02 01:17:33 -06:00
U-SLAVA-DFB8FF805\Slava
95de45725e
Fix Pango and ui.event-loop for Windows
2009-03-02 01:12:06 -06:00
Slava Pestov
a7df2ffafc
Fix pango font-metrics implementation
2009-03-01 22:10:20 -06:00
Slava Pestov
1cc4a013da
pango: compute x-height and cap-height metrics
2009-03-01 20:10:19 -06:00
Slava Pestov
77ca304897
Fix text positioning with pango backend
...
Implement selection rendering
Make resolution configurable
Clean up float <-> fixed point conversion
2009-02-28 20:33:53 -06:00
Slava Pestov
fe1d6a0e13
Add baseline debugging gadget
2009-02-28 20:32:51 -06:00
Slava Pestov
25a877e50b
Merge OneEyed's patch
2009-02-28 17:06:55 -06:00
Slava Pestov
cd53c2bd37
produce and produce-as: don't need third quotation either
2009-02-28 15:31:34 -06:00
Slava Pestov
78ce670101
Merge branch 'for-slava' of git://git.rfc1149.net/factor
2009-02-28 14:42:56 -06:00
Slava Pestov
385c4661d6
First attempt at ui.text.pango
2009-02-28 01:31:51 -06:00
Slava Pestov
571db75e40
Update code for model class renamings
2009-02-26 16:15:28 -06:00
Slava Pestov
c8d5e98898
Fix conflicts
2009-02-26 03:12:19 -06:00
Slava Pestov
4426526252
Fixing some things I broke
2009-02-25 23:30:30 -06:00
Slava Pestov
91fff87c0f
Fixing bootstrap after merge
2009-02-24 01:32:46 -06:00
Slava Pestov
ce1bc1d6ed
Fixing conflicts from stack checker changes
2009-02-24 01:21:10 -06:00
slava
e8361b9980
Updating X11 UI backend for stricter stack effect checking
2009-02-24 01:06:50 -06:00
Slava Pestov
dcbb5bc692
Implement gesture>string for actions
2009-02-21 16:42:57 -06:00
Slava Pestov
221222cb8f
Use Unicode character names
2009-02-21 00:55:50 -06:00
Slava Pestov
7fddef29da
Fix unit tests
2009-02-20 23:30:46 -06:00
Slava Pestov
fa79803856
Fix text rendering for fonts where the image bounds exceed the metric bounds, such as Zapfino and Arabic fonts
2009-02-20 20:53:51 -06:00
Slava Pestov
af0b6ef4c8
Fix scroll>rect flaw
2009-02-20 20:53:25 -06:00
Slava Pestov
1bf9b3b49e
Set default size for browser popup
2009-02-20 20:53:08 -06:00
Slava Pestov
ee7bbf8654
Reset mouse selection after table model changes
2009-02-20 20:52:33 -06:00
Slava Pestov
be40bd33ee
New initialize-alien word
2009-02-20 20:51:13 -06:00
Slava Pestov
556c218afa
Document ui.gadgets.line-support
2009-02-19 18:21:05 -06:00
Slava Pestov
a0253106b1
ui.gadgets.status-bar: write some docs and add notion of status message ownership to avoid some subtle race issues with completion popup and listener's keyboard help
2009-02-19 18:01:26 -06:00
Slava Pestov
58e55d4f45
Working on documentation
2009-02-19 16:54:27 -06:00
Slava Pestov
676806ce39
opengl.textures: clean up code, only create power-of-2 textures, make API nicer
2009-02-19 04:06:57 -06:00
Slava Pestov
277a827039
Add unit tests for ui.gadgets.glass
2009-02-18 21:01:27 -06:00
Slava Pestov
742aa5ced7
Rename com-follow to com-browse
2009-02-18 21:01:19 -06:00
Slava Pestov
204777ec3f
ui.gadgets.menus now supports separators
2009-02-18 21:00:53 -06:00
Slava Pestov
706fb33e38
Table hooks now receive the table as an input parameter
2009-02-18 21:00:31 -06:00
Slava Pestov
d6a2f9b84b
Glass panes can now be stacked
2009-02-18 20:59:51 -06:00
Slava Pestov
f6f9b0874e
change remove-gadget semantics so that removing glass from world doesn't break
2009-02-18 19:25:34 -06:00
Slava Pestov
773d292688
Panes fill up available space with the last line
2009-02-18 17:33:00 -06:00
Slava Pestov
038b4c597c
Remove track-remove, and make ui.gadgets:unparent extensible; add a test
2009-02-18 17:32:46 -06:00
Slava Pestov
eb54b95b37
Fix grid-lines rendering
2009-02-17 22:42:48 -06:00
Samuel Tardieu
087d931c36
Remove the tail argument from do/until/while
2009-02-18 02:41:14 +01:00
Slava Pestov
4c7405f353
Don't center all windows on Cocoa
2009-02-17 19:26:32 -06:00
Slava Pestov
4641bfff2d
Smart quotes
2009-02-17 18:17:55 -06:00
Slava Pestov
92158ef055
Fix profiler
2009-02-17 14:26:17 -06:00
Slava Pestov
940782cf93
Add article and word help icons
2009-02-17 14:26:01 -06:00
Slava Pestov
d67f08549c
New baseline alignment algorithm uses cap-height/2 as graphics baseline instead of ascent/2
2009-02-17 13:41:19 -06:00
Slava Pestov
51c89053c0
Browser: keyboard navigation popups for A+k and A+K
2009-02-17 08:29:57 -06:00
Slava Pestov
f12b163a7b
ui.tools.inspector: clean up
2009-02-17 08:26:33 -06:00
Slava Pestov
cf829ad3cf
Split off large chunk of ui.tools.listener.popups and make it generic; put it in ui.gadgets.glass
2009-02-17 08:26:23 -06:00
Slava Pestov
e37c89a434
Tweak tables a bit
2009-02-17 08:24:55 -06:00
Slava Pestov
0bbe79d386
Search tables: do case folding automatically, better keyboard behavior
2009-02-17 08:24:11 -06:00
Slava Pestov
d14fba5b98
Icons in profiler tool, update for search models change
2009-02-17 08:23:46 -06:00
Slava Pestov
9990663a85
Implicit instead of explicit size for traceback tool
2009-02-17 08:23:23 -06:00
Slava Pestov
e093057e80
Add multi-touch commands to walker tool
2009-02-17 08:23:04 -06:00
Slava Pestov
c7dc4f1080
Split off baseline alignment code into ui.baseline-alignment, and add cap-height generic word
2009-02-17 06:10:02 -06:00
Slava Pestov
73dfa2ae65
Fix conflict
2009-02-16 21:47:35 -06:00
Slava Pestov
be46168a24
define-operation doesn't add duplicate operations anymore; ui.operations initializes operations global variable automatically
2009-02-16 21:42:47 -06:00
Slava Pestov
421ee726b8
Merge branch 'master' into new_ui
2009-02-16 21:22:12 -06:00
Slava Pestov
6b25e99470
Add summary for heaps more vocabs
2009-02-16 21:05:13 -06:00
Slava Pestov
1a434416ac
Tweak inspector and profiler tools so that the preferred size is computed from layout rather than hard-coded
2009-02-16 04:34:22 -06:00
Slava Pestov
6b672a11fa
ui.gadgets.editors: rename min-width and max-width slots of field to min-cols and max-cols, re-use line-support code, more accurate dimension calculation that takes field border size into account
2009-02-16 04:25:58 -06:00
Slava Pestov
d2be75b083
ui.gadgets.tables: add support for column headers
...
ui.gadgets.search-tables: use Joe's X icon
2009-02-16 04:25:15 -06:00
Slava Pestov
e80ab7d28b
ui.gadgets.scrollers: add support for column headers
2009-02-16 04:24:14 -06:00
Slava Pestov
d5d9c65859
Remove new-gadget since it was just an alias for new
2009-02-16 04:04:32 -06:00
Slava Pestov
20aca672ca
New icons (Joe Groff)
2009-02-16 01:26:21 -06:00
Slava Pestov
4acf78353b
ui.tools.listener: Better initial size for completion popup
2009-02-16 01:25:50 -06:00
Slava Pestov
76c35ad90c
ui.gadgets.tables: Add page up/down
2009-02-16 01:10:21 -06:00
Slava Pestov
298ea392f7
ui.gadgets.editors: Add page up/down
2009-02-16 01:03:50 -06:00
Slava Pestov
d26ae3d141
new set-rect-bounds word for when you're setting loc and dim at the same time
2009-02-15 23:39:27 -06:00
Slava Pestov
33bb7b638b
Make listener a little wider
2009-02-15 23:14:26 -06:00
Slava Pestov
86f7a4c282
Fix load errors; ui.gadgets.theme removed
2009-02-15 23:14:18 -06:00
Slava Pestov
7a32d8ddb2
Use vocab:
2009-02-15 21:09:09 -06:00
Slava Pestov
758ba5bcea
Remove unused circle rendering code
2009-02-15 06:09:04 -06:00
Slava Pestov
8fec1f5d40
Fix load errors
2009-02-15 06:01:53 -06:00
Slava Pestov
0bbc63f865
ui.images: use MEMO: instead of explicit cache
2009-02-15 06:01:46 -06:00
Slava Pestov
628c219495
opengl.texture-cache is not necessary; simplify code
2009-02-15 04:33:43 -06:00
Slava Pestov
9a1d324342
Remove redundant t >>fill? calls
2009-02-15 04:24:25 -06:00
Slava Pestov
f8ab4be9da
Line gadgets now support min/max rows/cols; this obsoletes limited-scroller
2009-02-15 04:01:57 -06:00
Slava Pestov
074e3238f3
Scrollers: add pref-viewport-dim word that child gadgets can implement; clean up layout
2009-02-15 03:59:50 -06:00
Slava Pestov
1b41f85395
ui.gadgets.frames: any size frame now supported, arbitrary cell can be fill cell, gap supported
2009-02-15 03:59:02 -06:00
Slava Pestov
f344cd50ca
Single click is sufficient to insert completion in listener
2009-02-15 02:15:59 -06:00
Slava Pestov
78353dd1b6
New look for tabbed gadgets
2009-02-15 02:15:51 -06:00
Slava Pestov
09630e5bf4
Fancy new buttons
2009-02-14 21:53:39 -06:00
Slava Pestov
4c86bd0951
Various UI cosmetic fixes
2009-02-14 20:46:35 -06:00
Slava Pestov
dd3a21f4f0
New look for buttons
2009-02-14 20:46:13 -06:00
Slava Pestov
9ebc487f44
Kill ui.gadgets.theme
2009-02-14 19:50:22 -06:00
Slava Pestov
6bbb4630f3
Rename labelled to labeled -- correct spelling
2009-02-14 19:48:32 -06:00
Slava Pestov
bb46c64f71
LZW-compress images; thanks Doug for implementing this!
2009-02-14 00:58:35 -06:00
Slava Pestov
9c51eaa451
New look for labeled gadgets
2009-02-14 00:45:10 -06:00
Slava Pestov
6988baf0a1
Disable font leading in line-support for now
2009-02-14 00:44:32 -06:00
Slava Pestov
faf0c94c6f
ui.gadgets.editors: render empty selections visibly
2009-02-14 00:44:10 -06:00
Slava Pestov
36f9793c92
Add font-metrics hook
2009-02-13 20:19:57 -06:00
Slava Pestov
b89bbb2ffd
Update buttons docs
2009-02-13 19:16:44 -06:00
Slava Pestov
43623d8fa5
Different apperance for sliders with no thumb
2009-02-13 01:44:19 -06:00
Slava Pestov
9509c468e9
Different apperance for sliders with no thumb
2009-02-13 01:43:55 -06:00
Slava Pestov
36b3356b42
ui.gadgets.buttons: New look for checkboxes and radio buttons
2009-02-13 01:43:03 -06:00
Slava Pestov
d66a31e88a
Add status bar to debugger window
2009-02-13 01:00:02 -06:00
Slava Pestov
9a351fce22
Refactor ui.gadgets.glass to correctly position debugger popup
2009-02-13 00:59:28 -06:00
Slava Pestov
52df401f8a
Factor out menu and popup positioning into math.rectangles.positioning, and write tests for it
2009-02-12 21:46:49 -06:00
Slava Pestov
4d69475cac
Add support for Joe's "graphics baseline" idea
2009-02-12 16:52:24 -06:00
Slava Pestov
39a4969faa
Listener doesn't print a garbage quotation when commands are invoked
2009-02-12 09:48:05 -06:00
Slava Pestov
54a58cc196
Split off ui.pens from ui.render
2009-02-12 03:58:42 -06:00
Slava Pestov
ea2a3d6758
Split off opengl.textures from opengl.texture-cache; use image tuples instead of texture-info
2009-02-12 03:58:05 -06:00
Slava Pestov
4339bda8cc
Fix scrollbar thumb rendering
2009-02-12 02:09:35 -06:00
Slava Pestov
47e076ec7c
Monospace font in traceback
2009-02-12 02:09:22 -06:00
Slava Pestov
64f716b8d2
ui.gadgets.sliders: new appearance
2009-02-12 01:40:18 -06:00
Slava Pestov
a41e502bad
ui.gadgets.packs: cleanup
2009-02-12 01:40:02 -06:00
Slava Pestov
a0aabffb31
Remove unused closable gadgets support
2009-02-12 01:39:38 -06:00
Slava Pestov
db0c51a3bf
repeat buttons: start firing on mouse down
2009-02-12 01:39:18 -06:00
Slava Pestov
1e26d4256a
Add draw-scaled-image word, add some pens for rendering pixmaps
2009-02-12 01:39:03 -06:00
Slava Pestov
21d823757f
ui.gadgets.tracks: fix incorrect behavior if fill was not set to 1
2009-02-12 00:59:10 -06:00
Slava Pestov
e570ab2649
ui.gadgets.theme: New gadget theme from Joe Groff
2009-02-11 04:57:23 -06:00
Slava Pestov
45ce51260f
Add ui.gadgets.icons
2009-02-11 04:56:38 -06:00
Slava Pestov
6e10a4a0c4
ui.tools.operations: fix shortcut for profiler
2009-02-11 04:56:15 -06:00
Slava Pestov
3dfae1781f
Add min-dim slot to border gadgets
2009-02-11 04:56:01 -06:00
Slava Pestov
bd5fb06cdf
Use icons in completion popups and vocab browser
2009-02-11 04:55:49 -06:00
Slava Pestov
66392108e7
ui.gadgets.tables: support icons
2009-02-11 04:55:33 -06:00
Slava Pestov
cfa285a646
Refactor texture cache
2009-02-11 04:54:06 -06:00
Slava Pestov
da825003ae
io.styles: support image style
2009-02-11 04:53:33 -06:00
Slava Pestov
d1a5bf2073
Working on ui.images; change draw-gadget to translate to origin for you
2009-02-10 18:47:34 -06:00
Slava Pestov
ab386d01aa
Merge branch 'master' into new_ui
2009-02-10 16:23:14 -06:00
Slava Pestov
07caee3405
Update some existing code to use initialize
2009-02-10 16:16:12 -06:00
Slava Pestov
5be7a6777b
Clean up Core Text rendering code, and factor our basis/cache and basis/opengl/texture-cache
2009-02-10 02:45:43 -06:00
Slava Pestov
08c0960cbf
Fix ui.text.freetype to work across image save/reload
2009-02-09 22:51:53 -06:00
Slava Pestov
a465da365f
ui.tools.listener: position the input field next to the prompt
2009-02-09 22:40:11 -06:00
Slava Pestov
6667aa1238
ui.text.freetype: update for ui.text API changes
2009-02-09 18:07:33 -06:00
Slava Pestov
954596c947
ui.tools.listener: fix tests
2009-02-09 18:04:18 -06:00
Slava Pestov
699ac62bc9
ui.gadgets.paragraphs: update for wrap.words API
2009-02-09 01:47:41 -06:00
Slava Pestov
7b8e7f8092
Use call( in a bunch of places in the UI; update-ui infers now
2009-02-09 00:49:48 -06:00
Slava Pestov
3045777f02
Fix conflict
2009-02-09 00:34:00 -06:00
Slava Pestov
cf4e0d78c3
Rework listener's debugger-popup code
2009-02-09 00:25:05 -06:00
Slava Pestov
3ac409e432
ui.gadgets.tables: clean up selected row rendering, add single-click mode
2009-02-09 00:23:47 -06:00
Slava Pestov
3391dc5935
wrappers: make new-wrapper inline
2009-02-09 00:23:26 -06:00
Slava Pestov
828ecde1ca
ui.gadgets.theme: better selection color
2009-02-09 00:23:08 -06:00
Slava Pestov
df62cb8edb
Better error checking for labels and text rendering
2009-02-09 00:22:41 -06:00
Daniel Ehrenberg
b65b88364c
Updating lots of things to use call( -- )
2009-02-08 22:12:11 -06:00
Slava Pestov
11347713f7
ui.gadgets.search-tables: update for ui.gadgets.tables protocol change
2009-02-08 04:27:24 -06:00
Slava Pestov
f4ae56a85b
ui.gadgets.line-support: common code for gadgets that display a vertical list of lines
2009-02-07 18:14:18 -06:00
Slava Pestov
06eb14573b
ui.gadgets.panes: set background color of labels to page-color
2009-02-07 18:13:33 -06:00
Slava Pestov
9f49139057
ui.gadgets.editors and ui.gadgets.tables: factor out common code into ui.gadgets.line-support, fix selection rendering
...
documents: don't use dynamic variables inappropriately, clean up stack shuffling
2009-02-07 18:09:50 -06:00
Slava Pestov
176629055e
Add support for rendering selected text to ui.text
2009-02-07 18:05:11 -06:00
Slava Pestov
703ea67ac4
Fix listener tests
2009-02-06 01:42:22 -06:00
Slava Pestov
e3d4b88e8f
UI listener: make history completion popup wider, use correct element type when inserting completions
2009-02-06 01:25:43 -06:00
Slava Pestov
148317846b
Update various vocabularies for colors.constants
2009-02-05 22:17:15 -06:00
Slava Pestov
e0f8a3a7b1
derive-font: output base font if font given is f
2009-02-05 22:16:07 -06:00
Slava Pestov
68d5e3ebaf
Clean up listener completion; color code words by search path and private status, color code vocabs by load status
2009-02-05 22:15:17 -06:00
Slava Pestov
17e5997c0d
ui.gadgets.tables: add row-color generic for row renderer protocol
2009-02-05 22:14:35 -06:00
Slava Pestov
ef8d622b54
UI documentation and test fixes
2009-02-05 05:16:22 -06:00
Slava Pestov
38ed0f477a
ui.gadgets.grid-lines: make it work with non-zero grid gap
2009-02-05 04:52:38 -06:00
Slava Pestov
64bb5b45c4
ui.gadgets.traceback: Cleanup
2009-02-05 04:12:57 -06:00
Slava Pestov
24b7437ff7
Add 'Inspect model' operation
...
ui.tools.traceback: use new UI inspector
2009-02-05 04:00:27 -06:00
Slava Pestov
e74f891662
ui.gadgets.frames, ui.gadgets.grid-lines: update for grid refactoring
2009-02-05 03:31:18 -06:00
Slava Pestov
88b401b383
Rename math.geometry.rect to math.rectangles
...
Remove math.geometry.points
Remove rect-loc and rect-dim words
2009-02-05 03:28:41 -06:00
Slava Pestov
4c5b79ea57
ui.gadgets.debug: some gadgets for testing purposes
2009-02-04 05:26:01 -06:00
Slava Pestov
e1260031b6
Grid layout now respects baselines when fill attribute is off
...
Paragraph gadgets now compute a baseline
2009-02-04 00:50:04 -06:00
Slava Pestov
69974440c4
Clean up ui.gadgets.grids
2009-02-02 15:58:28 -06:00
Slava Pestov
3eb5222186
Add CHAR: completion to UI listener
2009-02-02 15:58:09 -06:00
Slava Pestov
3ed8d9ccce
Correctly compute pref-dim of gadgets with baseline alignment
2009-02-02 15:14:46 -06:00
Slava Pestov
193be29964
Working on baseline alignment
2009-02-02 13:45:06 -06:00
Slava Pestov
669548e62e
Clean up some usages of tuck, and add Joe's curried cleave/spread/apply combinators to kernel vocabulary
2009-02-02 13:43:54 -06:00
Slava Pestov
abb6c01a62
Refactor ui.gadgets.paragraphs to use wrap
2009-02-02 03:32:13 -06:00
Slava Pestov
d31b902f96
Add horizontal and vertical orientation constants, working on baseline alignment
2009-02-02 00:02:55 -06:00
Slava Pestov
7b2a705352
<border> now takes a pair instead of an integer
2009-02-02 00:00:45 -06:00
Slava Pestov
f93b2f1c29
Clean up line-metrics code
2009-02-01 23:58:05 -06:00
Slava Pestov
ecf3d4f447
Add ui.text:line-metrics word, and core-text implementation
2009-02-01 20:32:49 -06:00
Slava Pestov
0835eb374b
UI cleanup: make some ui.gadgets words private, give labels a virtual slot instead of label-string/set-label-string words
2009-02-01 20:31:42 -06:00
Slava Pestov
4513417657
Clean up some messy stack shuffling
2009-02-01 19:14:43 -06:00
Slava Pestov
92708c7231
Fix com-stack-effect
2009-02-01 03:27:10 -06:00
Slava Pestov
3d533c94ca
Working on listener completion
2009-01-31 02:40:03 -06:00
Slava Pestov
c253a81c99
Add gesture>operation word
2009-01-31 02:39:38 -06:00
Slava Pestov
7d632980d8
Add key-gesture superclass for key-down and key-up
2009-01-31 02:39:27 -06:00
Slava Pestov
36ebb97dc5
Fix usage. operation to run in listener
2009-01-30 23:52:17 -06:00
Slava Pestov
8e5c085b57
Fix commands tests, and chop off trailing dot
2009-01-30 23:52:02 -06:00
Slava Pestov
990c99a97e
Add foreground and background color slots to font tuple
2009-01-30 03:36:39 -06:00
Slava Pestov
0a0431e6ab
Fix conflict
2009-01-30 02:24:34 -06:00
Doug Coleman
3c408342ef
renaming: contain? -> any?, deep-contains? -> deep-any?, pad-left -> pad-head, pad-right -> pad-tail, trim-left -> trim-head, trim-right -> trim-tail
2009-01-29 22:19:07 -06:00
Slava Pestov
cadaf71372
Sub-pixel font smoothing works with Core Text now
2009-01-29 22:07:51 -06:00
Slava Pestov
fc360f5ced
Fix scroll>rect for recent scroller layout change
2009-01-29 16:44:18 -06:00
Slava Pestov
f84ed37648
Fix FreeType text backend
2009-01-29 16:44:08 -06:00
Slava Pestov
478ef76801
Documents no longer mutatte their model's value
2009-01-29 03:04:23 -06:00
Slava Pestov
081ec95043
Make actions into singletons
2009-01-28 19:18:35 -06:00
Slava Pestov
a98d59d93c
Update ui.tools.listener docs
2009-01-28 17:27:42 -06:00
Slava Pestov
50ba37bdbe
Update more documentation
2009-01-28 14:54:13 -06:00
Slava Pestov
0c22751674
Update editor docs
2009-01-28 14:50:15 -06:00
Slava Pestov
d651bdc4d7
Clear undos when starting a new interaction in the listener
2009-01-28 12:12:03 -06:00
U-SLAVA-DFB8FF805\Slava
b8ed7d20de
Update Windows-specific code for stricter stack checking
2009-01-28 02:46:29 -06:00
Slava Pestov
1951d739a0
Stack effect declarations are mandatory on all words now
...
define-temp now takes an effect parameter
Fix compiler bug that Dan found
Stricter enforcement of * effects
Move compile-call from compiler.units to compiler
2009-02-23 20:27:05 -06:00
Slava Pestov
af744e4511
Use singletons instead of empty tuples, add undo/redo to editor gadgets
2009-01-28 00:30:57 -06:00
Slava Pestov
5cd4f65e59
Fix conflict
2009-01-27 15:49:49 -06:00
Slava Pestov
298fdecf32
Fixing eval unit test, and help lint failures from stricter help lint
2009-01-27 15:38:01 -06:00
Slava Pestov
b7c4f548f9
Add texture aging
2009-01-26 23:11:45 -06:00
Slava Pestov
72f63d3e4c
Add operation to show thread traceback
2009-01-26 18:09:04 -06:00
Slava Pestov
231ba5234e
Inspector can now invoke the primary operation
2009-01-26 18:08:54 -06:00
Slava Pestov
b12d53938d
Remove a spin usage
2009-01-26 17:58:43 -06:00
Slava Pestov
f5d850f39e
Display gesture modifiers using Mac OS X Unicode characters
2009-01-26 17:58:23 -06:00
Slava Pestov
9bf2675fa3
Remove two rot usages from UI
2009-01-26 16:30:17 -06:00
Slava Pestov
5aec661b92
Rename font key in io.styles to font-name for clarity; clean up some nefarious stack shuffling in ui.gadgets.panes
2009-01-26 16:25:57 -06:00
Slava Pestov
e95cd5e19e
Clear font cache on startup
2009-01-26 02:36:49 -06:00
Slava Pestov
bb27511753
Fixing code for first-class fonts
2009-01-26 02:21:28 -06:00
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
2aa84a9b4f
Fix a couple of bootstrap errors
2009-01-25 00:11:06 -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
7c1fcb3b98
Get text styles working with core-text binding
2009-01-21 00:39:32 -06:00
Slava Pestov
9f76476d26
Refactor Core Foundation binding a bit, add new >cf word to convert Factor objects to CF values
2009-01-20 23:06:23 -06:00
Slava Pestov
99012e2cd2
Move fonts back to fonts
2009-01-20 14:34:10 -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
8509027428
UI listener: Status bar now shows summary for vocabs that are not loaded
2009-01-18 23:41:21 -06:00
Slava Pestov
7fdf7cc906
Clean up OpenGL code a bit
2009-01-18 20:10:08 -06:00
Slava Pestov
0e1e92ba92
Clean up menu code
2009-01-16 16:39:32 -06:00
Slava Pestov
3697fa1aa3
Word completion now adds the word's vocab to the USE: list
2009-01-16 15:54:40 -06:00
Slava Pestov
cc8e049c02
Another clean up
2009-01-16 15:37:31 -06:00
Slava Pestov
5f2fd87ce1
Clean up history code
2009-01-16 15:22:13 -06:00
Slava Pestov
ac898f94c5
Minor tweak to selection rendering
2009-01-16 14:58:59 -06:00
Slava Pestov
37407cde96
C-m expands macros in listener
2009-01-16 14:57:23 -06:00
Slava Pestov
64899f8187
Help lint fixes
2009-01-16 14:54:31 -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
d871691342
Simplify define-operation-map; it doesn't need the hook quotation at all
2009-01-15 15:22:25 -06:00
Slava Pestov
ca9e04c086
Fix word operations
2009-01-15 13:02:31 -06:00
Slava Pestov
7e8f69081c
Fix listener docs
2009-01-15 01:43:50 -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
94e0522efc
More work on history completion
2009-01-13 20:47:17 -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
d0a3442b30
Fix vocab filtering in profiler
2009-01-12 22:17:39 -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
27fd669021
Context-sensitive completion for word and vocab names
2009-01-12 19:25:18 -06:00
Slava Pestov
d4c82f8743
Working on context-sensitive completion
2009-01-12 14:31:59 -06:00
Slava Pestov
af970da470
Listener completion work in progress
2009-01-12 01:43:46 -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
f4418410e9
Fix error when mouse over in 'All' in profiler
2009-01-08 23:50:43 -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
Slava Pestov
6ddf6af2e7
Add A+n, A+p, A+u to navigate hierarchy in browser tool; add common shortcuts to all tools, like F2, A+s, A+q, ...
2009-01-08 19:30:58 -06:00
Slava Pestov
996b2ef939
Re-organize menu bar on Mac OS X
2009-01-08 19:30:35 -06:00
Doug Coleman
8cb0be6a0a
use combinators.smart
2009-01-08 18:57:33 -06:00
Slava Pestov
2fd234ac62
Add common tool commands: F2, A+l, A+L, A+b, A+B
2009-01-08 18:56:39 -06:00
Slava Pestov
632b21159d
Mention multiline editor commands in editor docs
2009-01-08 18:56:20 -06:00
Slava Pestov
35ebc60a4b
UI tools now remember their size
2009-01-08 18:35:34 -06:00
Slava Pestov
9ea76e3808
Browser tool: don't search for empty string
2009-01-08 17:50:38 -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
268b995116
Remove the ui word, and ui-hook kludge; with-ui is now the only way to start the UI. ui.tools vocabulary is now runnable
2009-01-07 20:56:09 -06:00
Slava Pestov
3c624f670b
Fixing ui.tools unit tests
2009-01-07 16:37:27 -06:00
Slava Pestov
53f4bd4311
Move ui.gadgets.lists to extra
2009-01-07 16:32:02 -06:00
Slava Pestov
9a33f1cf1c
Fixing bootstrap errors
2009-01-07 15:21:51 -06:00
Slava Pestov
d7358b5ef3
Removing last remnants of 'workspace' tool
2009-01-07 15:06:43 -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
70a60ef237
Clean up listener tool
2009-01-06 21:09:40 -06:00
Slava Pestov
00fad429b5
Add shortcuts for scrolling up/down to listener
2009-01-06 20:55:23 -06:00
Slava Pestov
e6ed70c791
Working on new UI inspector
2009-01-06 16:53: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
35dd01de39
Clean up the browser tool
2009-01-06 14:21:37 -06:00
Slava Pestov
24d55cc6a6
Browser tool is now its own window; update help-window usages to open browser instead
2009-01-06 13:56:14 -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
cb4f3eec46
Flesh out 'Methods' tab in new profiler tool
2009-01-03 18:58:43 -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
c7f02e3f12
UI listener fix
2008-12-19 02:36:02 -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
7a48b194a0
Fix ui.tools tests
2008-12-19 02:24:44 -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
Slava Pestov
023ae576b5
Updating unit tests for io.files split
2008-12-15 01:40:50 -06:00
Slava Pestov
951d46ccdc
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-15 01:37:20 -06:00
Slava Pestov
59a5e554d4
Split up io.directories further, move file types to io.files.types. Bunny demo no longer pulls in file-info and file-system-info code, reducing image size by 35kb
2008-12-15 00:01:06 -06:00
Doug Coleman
bb61580171
Merge branch 'master' of git://factorcode.org/git/factor
2008-12-13 10:46:32 -06:00
Slava Pestov
e7fc788d40
Update UI unit tests for ui.event-loop split
2008-12-13 06:53:53 -06:00
Slava Pestov
c8ba693da7
Remove stop-after-last-window? usage in ui.x11
2008-12-13 04:20:46 -06:00
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
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