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