Slava Pestov
220dd88a2c
Update documentation for new help lint check
2010-02-19 12:31:52 +13:00
Joe Groff
eb875e1e78
create a real "ui.gadgets.theme" vocab, move theme-image word into it, and add theme images to resources.txt
2010-02-14 12:42:03 -08:00
Slava Pestov
aadf2873d1
ui.gadgets: make fast-children-on more flexible and take a quotation instead of always calling loc>> on elements of the children array. This enables a bug fix for M\ grid children-on, discovered from UI mis-rendering of '\ blend-mode help'
2010-01-25 21:05:42 +13:00
Joe Groff
e5c44b95aa
game.worlds overhaul: add optional support for integrating audio.engine and make game.input integration optional too. add "tick-game-world" generic for extending game-world's tick* method
2010-01-19 16:07:47 -08:00
Joe Groff
3cfe2afa44
make apply-world-attributes generic
2010-01-19 14:06:48 -08:00
Joe Groff
f7e1ed18b0
Merge branch 'master' of git://factorcode.org/git/factor
2010-01-16 12:24:47 -08:00
Slava Pestov
8c8818b00b
ui.gadgets.search-tables: fix breakage
2010-01-16 18:44:23 +13:00
Joe Groff
4beb8192c9
pry off some ui app boilerplate with a MAIN-WINDOW: syntax
2010-01-15 16:55:43 -08:00
Joe Groff
9dc5d18b1c
allow window pref-dim to be provided in world-attributes
2010-01-15 15:33:37 -08:00
Slava Pestov
df4fb4a3ee
Removing integers-as-sequences
2010-01-15 07:15:33 +13:00
Slava Pestov
235ad395c2
ui.gadgets.buttons: improve docs
2009-12-02 09:11:40 -05:00
Slava Pestov
0612bc6177
Factor source files should not be executable
2009-11-21 17:50:43 -06:00
Slava Pestov
f121961fa4
ui.gadgets: use identity-hashcode instead of counter
2009-11-10 21:27:33 -06:00
Doug Coleman
0f104af192
forgot a sigma
2009-10-29 14:34:31 -05:00
Doug Coleman
1d12a6707d
sigma -> map-sum
2009-10-29 14:34:04 -05:00
Doug Coleman
bd13e018dd
memq? -> member-eq?, sorted-memq? -> sorted-member-eq?
2009-10-28 15:02:00 -05:00
Slava Pestov
50f5c3d116
remq -> remove-eq, delq -> remove-eq!
2009-10-28 00:23:08 -05:00
Slava Pestov
951e3e9c83
delete-nth -> remove-nth!
2009-10-27 23:41:57 -05:00
Slava Pestov
f5a0a8b6e1
delete -> remove!
2009-10-27 23:25:35 -05:00
Slava Pestov
08e7d25dc5
change-each -> map!, deep-change-each -> deep-map!
2009-10-27 22:32:56 -05:00
Doug Coleman
0d4b9132d7
fix a bunch of typos in docs
2009-10-21 17:40:43 -05: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
3460383cda
fix indentation, revert [ ] [ ] bi -> [ ] keep when second quotation consumes more than one object
2009-10-05 18:33:24 -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
Joe Groff
9798564536
clean up textured window code
2009-09-25 09:42:09 -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
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
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
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
c4c6c6b986
ui.gadgets.buttons: don't show message if no shortcut assigned
2009-09-08 14:46:16 -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
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
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
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
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
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
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
328c6d02f5
ui.gadgets.tables: clicking in empty area no longer notifies selection model
2009-07-06 23:19:26 -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
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
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
Joe Groff
5f2bced2e3
docs for window-controls
2009-06-18 12:20:50 -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
0169934f6d
null-world class for interactive OpenGL use
2009-06-03 11:03:34 -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
e0216e2fe8
fixed hang bug in ui.gadgets.tables
2009-05-26 14:26:11 -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
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
Sam Anklesaria
54ccd1039b
tables selected-values type error fixed
2009-05-16 10:46:34 -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
fb6df472a2
Cleaning up USING: lists for new strict semantics
2009-05-14 16:54:16 -05:00
Sam Anklesaria
33148a8964
tables shift-click hack for mac
2009-05-14 12:38:43 -05:00
Sam Anklesaria
44ddc7238b
multiple selection of same row fixed
2009-05-14 10:01:37 -05:00
Sam Anklesaria
20d9b1fde3
table gadget row-action bug fixed
2009-05-13 22:15:33 -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
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
30bfce2ce0
improve error handling when begin-world fails
2009-05-11 12:35:41 -05:00
Slava Pestov
cda3685c4d
Eliminate prettyprinter dependency from UI
2009-05-09 20:24:17 -05:00
Joe Groff
9992817c65
input grabbing support
2009-05-08 15:07:15 -05:00
Slava Pestov
fb5b48c71a
Fix some test failures
2009-05-04 09:44:26 -05:00
Joe Groff
804d4aae81
docs for new world words
2009-05-03 23:01:26 -05:00
Joe Groff
4504907736
add a resize-world generic to handle window resizes
2009-05-03 22:01:35 -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
cc244cb672
break code->code docs<-docs dependency
2009-05-02 21:54:25 -05:00
U-FROGGER\erg
aa142a1b52
fix windows ui
2009-05-02 20:36:31 -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
621fed2dd5
need to pass world as arg to pixel-format hooks
2009-05-02 12:31:33 -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
59bec433f4
Add unportable tag to merger and fix indentation in ui.gadgets.tables
2009-04-30 21:37:53 -05:00
Sam Anklesaria
3cf4f45416
comboboxes vocab + ui authors, summaries
2009-04-29 14:19:30 -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
05f3f9dcb9
Fixing unit tests for stack effect inference changes
2009-04-20 21:15:19 -05:00
Slava Pestov
1c123e7e22
Remove some usages of -rot and tuck
2009-04-18 21:53:22 -05:00
Slava Pestov
ce76331fd6
Fixing more unit tests
2009-04-17 15:50:03 -05:00
Slava Pestov
df18c0b6e7
Making more code infer
2009-04-15 19:03:44 -05:00
Slava Pestov
c9272501f5
ui.gadgets.packs: add failing unit test
2009-04-13 14:41:08 -05:00
Slava Pestov
5aab0078a0
Make more code infer
2009-04-12 16:08:54 -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 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
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
61918ac0c5
Merge branch 'master' into smarter_error_list
2009-04-08 06:45:49 -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
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
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
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
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
Slava Pestov
4f19f9b2c1
Fix UI pane selection
2009-04-02 09:09:09 -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
9be60e36af
Add models.arrow.smart: abstracts out common <product>/<arrow> pattern
2009-03-28 04:19:33 -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
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
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
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
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
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
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
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
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
375c5e69b5
Various load-everything fixes
2009-03-07 01:22:21 -06:00
Slava Pestov
5c88b18a9a
Oops, forgot to call prepare-last-line
2009-03-06 13:32:41 -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
fe1d6a0e13
Add baseline debugging gadget
2009-02-28 20:32: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 Pestov
dcbb5bc692
Implement gesture>string for actions
2009-02-21 16:42:57 -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
ee7bbf8654
Reset mouse selection after table model changes
2009-02-20 20:52:33 -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
277a827039
Add unit tests for ui.gadgets.glass
2009-02-18 21:01:27 -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
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
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
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
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
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
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
86f7a4c282
Fix load errors; ui.gadgets.theme removed
2009-02-15 23:14:18 -06:00
Slava Pestov
8fec1f5d40
Fix load errors
2009-02-15 06:01:53 -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
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
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
54a58cc196
Split off ui.pens from ui.render
2009-02-12 03:58:42 -06:00
Slava Pestov
4339bda8cc
Fix scrollbar thumb rendering
2009-02-12 02:09:35 -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
3dfae1781f
Add min-dim slot to border gadgets
2009-02-11 04:56:01 -06:00
Slava Pestov
66392108e7
ui.gadgets.tables: support icons
2009-02-11 04:55:33 -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
a465da365f
ui.tools.listener: position the input field next to the prompt
2009-02-09 22:40:11 -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
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
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
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
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
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
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
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
990c99a97e
Add foreground and background color slots to font tuple
2009-01-30 03:36:39 -06:00
Slava Pestov
fc360f5ced
Fix scroll>rect for recent scroller layout change
2009-01-29 16:44:18 -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
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
b7c4f548f9
Add texture aging
2009-01-26 23:11:45 -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
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
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
ef223f26d5
Fix conflict
2009-01-24 23:56:33 -06:00
Slava Pestov
622015adab
Fix regression in ui.gadgets:screen-rect
2009-01-24 20:17:21 -06:00
Slava Pestov
f34c14a0f5
Remove some usages of tuck
2009-01-23 18:20:47 -06:00
Slava Pestov
7114fd294f
Fix error if up/down arrows pressed when table has no rows
2009-01-22 01:19:15 -06:00
Slava Pestov
2a7d353251
Debugging Core Text, get colored text working and fix memory management issue
2009-01-21 19:34:42 -06:00
Slava Pestov
25b0512fd6
Move fonts to basis/bitstream-vera
...
Use ui.cocoa.text instead of ui.freetype on Mac OS X
Update deploy tool to not copy fonts/ directory on Mac OS X
2009-01-20 14:31:09 -06:00
Slava Pestov
fd7a47613e
Move core-graphics types from cocoa.types to core-graphics.types, clean up some code
2009-01-19 16:29:52 -06:00
Slava Pestov
0e1e92ba92
Clean up menu code
2009-01-16 16:39:32 -06:00
Slava Pestov
ac898f94c5
Minor tweak to selection rendering
2009-01-16 14:58:59 -06:00
Slava Pestov
d82a68a14c
Clean up font API a little bit; users no longer have to call open-font arbitrarily
2009-01-16 00:43:51 -06:00
Slava Pestov
c89b68d295
Overhaul UI listener history code; C-p, C-n cycles through history, C-r displays list
2009-01-15 21:34:41 -06:00
Slava Pestov
2bb6d7f6b1
Rename editor-caret* and editor-mark* without the * since we don't have the old accessors anymore
2009-01-15 15:50:48 -06:00
Slava Pestov
0bcc9b4123
Get rid of a spin usage
2009-01-15 15:48:44 -06:00
Slava Pestov
d1c84783f1
Word operations now DTRT if the completion popup is visible
2009-01-15 01:33:35 -06:00
Slava Pestov
ecd2f75808
Display completion popups in the right place
2009-01-15 00:52:05 -06:00
Slava Pestov
92b9686b6c
Merge branch 'master' into new_ui
2009-01-14 21:04:19 -06:00
Slava Pestov
db07cd3f78
Fix ui.gadgets.scrollers unit tests
2009-01-14 00:37:35 -06:00
Slava Pestov
9a5b7d44fd
Add selection-required? slot to table gadget, which if set ensures that some item is always selected if the model is not empty
2009-01-13 20:47:08 -06:00
Slava Pestov
a60bf8065a
Add hide-glass-hook
2009-01-13 20:44:36 -06:00
Slava Pestov
5e7b6e8a0d
Merge branch 'master' into new_ui
2009-01-13 19:26:46 -06:00
Slava Pestov
c47f8feaab
Clean up scroller code, and fix a cosmetic issue
2009-01-13 19:09:47 -06:00
Slava Pestov
fd069442dc
History completion work in progress
2009-01-13 19:08:49 -06:00
Slava Pestov
21433c47ef
Fix conflict
2009-01-13 17:54:27 -06:00
Slava Pestov
4204fd495f
Move formatted stream output words to io.styles; they didn't belong in core, and this reduces deployed image size
2009-01-13 17:12:43 -06:00
Slava Pestov
a31b59748d
Working on history popup
2009-01-13 16:22:07 -06:00
Slava Pestov
79548f5963
Table gadget rendered differently when no focus
2009-01-12 22:16:57 -06:00
Slava Pestov
0829d8ae93
Fix rendering of lines between columns
2009-01-12 19:32:10 -06:00
Slava Pestov
2b2f95e711
Merge branch 'master' into new_ui
2009-01-11 22:56:27 -06:00
Slava Pestov
1c1e36621a
Small cleanup for ui.gadgets.labels
2009-01-11 19:40:17 -06:00
Slava Pestov
46fdfd2d84
Listener completion work in progress
2009-01-09 17:58:22 -06:00
Slava Pestov
63c0e5470b
Cleaner display of stack effect of word at caret, using models
2009-01-09 14:14:19 -06:00
Slava Pestov
a1c3b9b26b
Split off ui.gadgets.glass from ui.gadgets.menus
2009-01-08 23:50:56 -06:00
Slava Pestov
730c636172
Merge branch 'master' of git://factorcode.org/git/factor into new_ui
2009-01-08 22:44:57 -06:00
Doug Coleman
8cb0be6a0a
use combinators.smart
2009-01-08 18:57:33 -06:00
Slava Pestov
632b21159d
Mention multiline editor commands in editor docs
2009-01-08 18:56:20 -06:00
Slava Pestov
723626a9d2
Add slot editing to UI inspector, remove slot editing from TTY inspector
2009-01-08 17:02:54 -06:00
Slava Pestov
1914a57b40
Render table column separator lines
2009-01-08 00:04:44 -06:00
Slava Pestov
53f4bd4311
Move ui.gadgets.lists to extra
2009-01-07 16:32:02 -06:00
Slava Pestov
c09f91da69
Add right-click menu to tables, row-value word
2009-01-07 12:18:42 -06:00
Slava Pestov
bdaa5eac31
Minor UI documentation updates
2009-01-06 23:30:08 -06:00
Slava Pestov
76e89f72ba
Fix action gesture
2009-01-06 16:53:01 -06:00
Slava Pestov
29f9d61c90
Add support for double-click actions to table gadget
2009-01-06 16:52:12 -06:00
Slava Pestov
5c7af1cf2d
Clean up ui.gadgets.lists a tiny bit
2009-01-06 15:54:17 -06:00
Slava Pestov
d2fd2d0a8c
Only multiline editors need UP/DOWN arrow commandS
2009-01-06 13:45:57 -06:00
Slava Pestov
872d12d29b
Add support for column filling and alignment to table gadgets
...
Finish profiler tool's methods tab
2009-01-05 17:31:21 -06:00
Slava Pestov
1f11b0d78b
Use singleton classes instead of tuples for document elements
2008-12-24 22:38:02 -06:00
Slava Pestov
a39a644362
New ui.gadgets.tabbed vocab, working on 'Methods' tab in profiler tool
2008-12-22 05:40:38 -06:00
Slava Pestov
f9851b195a
Working on new profiler tool
2008-12-22 00:54:08 -06:00
Slava Pestov
37118a4cde
Mouse highlight now follows selection
2008-12-21 14:10:09 -06:00
Slava Pestov
d001237921
Table gadgets work in progress
2008-12-19 02:37:40 -06:00
Slava Pestov
d330ff31b5
Merge branch 'master' into new_ui
2008-12-19 02:26:01 -06:00
Slava Pestov
061b83b5dd
Add <filled-border>
2008-12-19 02:25:40 -06:00
Slava Pestov
735dbfb79f
Fix track pref-dim, and layout with gaps
2008-12-19 02:25:21 -06:00
Slava Pestov
e830a2efc7
Merge branch 'master' into new_ui
2008-12-19 00:13:22 -06:00
Slava Pestov
84cafde43a
Fix load error
2008-12-19 00:13:12 -06:00
Slava Pestov
cc4913958f
Merge branch 'master' into new_ui
2008-12-18 23:57:01 -06:00
Slava Pestov
69c64ba803
Refactor operations-menu code to make it independent of presentations
2008-12-18 23:56:41 -06:00
Slava Pestov
bb22877ced
Merge branch 'master' into new_ui
2008-12-18 21:28:05 -06:00
Slava Pestov
7836b2c6f4
/ >fixnum should be /i
2008-12-18 21:02:46 -06:00
Slava Pestov
6ad369ba2f
Merge branch 'master' into new_ui
2008-12-18 01:38:22 -06:00