John Benediktsson
4efa984637
ui.backend.cocoa.views: [self setWantsBestResolutionOpenGLSurface:YES];
2012-11-01 14:29:03 -07:00
Doug Coleman
1a5f2ad961
ui.backend.gtk: Save the clipboard to the global clipboard so that it doesn't get deleted when Factor exits. Fixes #548 . Add paste-selection, but commented out for now.
2012-10-29 10:56:34 -07:00
Doug Coleman
2921829b79
windows: Attempt to fix circularity.
2012-10-24 19:03:25 -07:00
Doug Coleman
0ae18456fd
windows.shell32: Add a way to find out the kind of executable of a file on
...
windows. Inline a word.
2012-10-24 16:16:35 -07:00
John Benediktsson
013160df9a
change some "2drop 2drop" to "4drop".
2012-10-23 12:21:30 -07:00
John Benediktsson
ca9137767b
ui.tools.listener: adding path completion to listener.
2012-10-22 18:51:52 -07:00
Jon Harper
b3ff75cec2
ui.backend.gtk: better gesture for shift tab
...
gdk emits ISO_Left_Tab for shift + tab. Not sure if factor should silently
transform that in tab..
With this patch, shift tabs emits the following gesture:
T{ key-down { mods { S+ } } { sym "TAB" } }
2012-09-29 15:54:15 +02:00
John Benediktsson
225e87339b
update some docs that should use $quotation.
2012-09-27 11:09:17 -07:00
John Benediktsson
80e2309e17
ui.tools.listener.completion: color private vocabs red in completion-mode.
2012-09-25 14:49:49 -07:00
John Benediktsson
61fa05942b
ui.tools.listener.completion: fix row color for words in our search list.
2012-09-25 11:45:38 -07:00
John Benediktsson
a5b91e181a
tools.completion: moving "complete-?" words.
2012-09-25 09:10:44 -07:00
John Benediktsson
5e57a8258d
ui.gadgets.paragraphs: cache width in "line" object.
2012-09-24 18:29:51 -07:00
John Benediktsson
2f99a33e36
ui.tools.listener: adding COLOR: completions.
2012-09-24 15:07:30 -07:00
John Benediktsson
ea276574c5
ui.tools.browser.popups: fix hand-loc get-global.
2012-09-21 18:42:00 -07:00
John Benediktsson
a32ac00389
ui.text: more globals.
2012-09-21 18:40:38 -07:00
John Benediktsson
be85b3bee3
ui: hand-loc and hand-click-loc should be global.
2012-09-21 18:32:43 -07:00
John Benediktsson
f1c62deb03
ui: use "windows get-global".
2012-09-21 15:39:49 -07:00
Doug Coleman
84c1137eb4
windows.uniscribe: Render image lazily. Speeds up panes benchmark.
2012-09-21 09:54:40 -07:00
John Benediktsson
07194b4741
ui.text.pango: lazy render images like core-text backend.
2012-09-21 08:16:48 -07:00
John Benediktsson
7e3391ffb0
ui.gadgets.tables: i think this is clearer.
2012-09-20 18:24:57 -07:00
John Benediktsson
98a8230d1c
ui.gadgets.tables: fix stack effect names.
2012-09-20 18:24:57 -07:00
John Benediktsson
6d447cb939
ui.gadgets.tables: cache table rows only on model-changed.
2012-09-20 18:24:57 -07:00
John Benediktsson
37b27b7fbe
ui.gadgets.tables: reduce generic dispatch.
2012-09-20 18:24:57 -07:00
John Benediktsson
88b196dc8c
ui.gadgets.tables: some performance improvements.
2012-09-20 08:34:43 -07:00
John Benediktsson
cfa87365e3
ui.baseline-alignment: add concept of "aligned-gadget".
...
This type of gadget caches baseline and cap-height for performance.
2012-09-18 15:48:49 -07:00
John Benediktsson
b80992b27a
Revert "ui.gadgets.labels: use font-metrics directly."
...
This reverts commit d9fdd71d64
.
2012-09-18 09:19:29 -07:00
John Benediktsson
45f0db5f78
ui.gadgets: add some inline.
2012-09-17 17:21:31 -07:00
John Benediktsson
25aadd2dc2
ui.text.pango: don't create unnecessary font objects.
2012-09-17 14:17:57 -07:00
John Benediktsson
eb1a4db801
ui.gadgets.labels: use font-metrics directly.
2012-09-17 14:12:25 -07:00
John Benediktsson
8e3c79b841
ui.gadgets.paragraphs: cache the wrapped paragraph for performance.
2012-09-17 14:12:25 -07:00
John Benediktsson
d5900ba7ee
ui.gadgets: inline gadget-child and nth-gadget.
2012-09-17 14:12:25 -07:00
Doug Coleman
27f445d505
assocs: Add sift-keys and sift-values. Remove three other implementations
...
of sift-values and use the new one.
2012-08-23 22:36:10 -07:00
John Benediktsson
1ee1a793de
ui.tools.browser: fix stack effect name.
2012-08-17 10:13:44 -07:00
John Benediktsson
93a2775248
ui.tools.operations: fix crash clicking on a model that hasn't been initialized properly.
2012-08-13 17:02:39 -07:00
John Benediktsson
7b2b3f5e9f
ui.tools.listener.completion: make sure "IN:<Ctrl-h>" works.
2012-08-13 15:16:16 -07:00
Doug Coleman
bf86504c1a
ui.tools.browser: Support resize on + and _.
2012-08-07 14:46:09 -07:00
John Benediktsson
f94853c8b7
ui.tools.browser: adding +/- font size commands.
2012-08-07 12:28:45 -07:00
John Benediktsson
f05954c5a9
core-text: use cached-lines get-global.
2012-08-02 21:35:28 -07:00
John Benediktsson
a056a81307
ui.backend.gtk.io.unix: switch to "mx get-global".
2012-08-01 16:22:23 -07:00
John Benediktsson
04dd210b37
ui.gadgets: fix docs for max-dims.
2012-08-01 07:37:44 -07:00
John Benediktsson
17edc5e63a
ui: short-circuit layout-queued if deque is empty.
2012-07-31 20:26:51 -07:00
John Benediktsson
c36adbd749
ui.gadgets: faster max-dims and sum-dims.
2012-07-31 20:23:32 -07:00
John Benediktsson
9ffef3f881
ui.tools.operations: allow watch on non-annotated words, reset on annotated ones.
2012-07-27 14:06:52 -07:00
John Benediktsson
2f93d9dedd
ui.tools.listener.completion: make sure "USE: vocab <TAB>" works right.
2012-07-27 08:47:57 -07:00
John Benediktsson
4b7d7aed1c
ui.tools.listener.completion: fix complete-vocab? check (also its faster now).
2012-07-26 18:58:21 -07:00
John Benediktsson
9cfbf99c15
ui.tools.listener: adding tests for Ctrl-D.
2012-07-23 12:02:11 -07:00
John Benediktsson
e6dc084aa7
ui.tools.listener: adding some tests for interactor read-until.
2012-07-23 11:48:24 -07:00
John Benediktsson
3b5094a73c
ui.tools.listener: fix read-until with Ctrl-D.
2012-07-23 11:07:03 -07:00
John Benediktsson
5589b2bbd2
ui.tools.listener: fix stream-read-until on interactor gadgets.
2012-07-22 15:16:39 -07:00
John Benediktsson
efe2926d8e
ui: change some places to call safe-summary.
2012-07-22 14:37:15 -07:00
John Benediktsson
4e72d80256
Using "same?" in more places.
2012-07-21 10:22:44 -07:00
John Benediktsson
1a73e79ef7
cleanup some use of with-scope.
2012-07-19 13:55:34 -07:00
John Benediktsson
559b5bfa5b
using the new H{ } make.
2012-07-19 09:50:09 -07:00
Doug Coleman
42f4dc36b2
namespaces: Rename ``bind`` to ``with-variables``. Update a few places that called ``global [ ] with-variables`` to use ``with-global``.
2012-07-19 00:02:47 -07:00
John Benediktsson
bfb6bdd891
ui.gadgets: rename max-dim and dim-sum.
2012-07-13 23:19:21 -07:00
John Benediktsson
4f260ab9bd
"H{ } substitute" is faster than "{ } substitute".
2012-07-13 19:06:38 -07:00
John Benediktsson
57b681dd71
ui.tools.listener.completion: intersects? is overkill here.
2012-07-13 18:58:05 -07:00
John Benediktsson
27cfc7748e
ui.gadgets: use curry in add-gadgets.
2012-07-13 15:39:18 -07:00
John Benediktsson
c1e9f4c362
ui.text: cleanup string-width/height and make text-dim a bit faster.
2012-07-13 15:35:42 -07:00
John Benediktsson
e1c91575c0
ui.tools.listener: adding docs for emacs-style key bindings.
2012-06-21 20:18:43 -07:00
Doug Coleman
755e702536
pixel-format-attribute was just (pixel-format-attribute)
...
Rename the GENERIC: (pixel-format-attribute) to pixel-format-attribute ?
2012-06-21 12:12:57 -07:00
Doug Coleman
f1f985edf3
issue #358 : delete unused word
2012-06-21 08:38:03 -07:00
Doug Coleman
9f370ec639
issue #358 : command-map -> get-command-at
2012-06-21 08:35:46 -07:00
Doug Coleman
efbdf222a7
issue #358 : Finish renaming <apropos> to <apropos-search>
2012-06-21 08:35:44 -07:00
Doug Coleman
fbfa8543a1
issue #358 : Rename button-pen -> lookup-button-pen.
2012-06-21 08:35:40 -07:00
Doug Coleman
eccf5a82ae
io.files.info.windows: Fix file-systems word in two ways. First, don't
...
allocate 32k on the local alloc stack (which causes a 'double fault.')
Second, if the volume doesnt look up to a real path, don't make a dummy
object for that. volume
Use alien>native-string and native-string>alien wherever possible instead of
utf16n for Windows.
2012-06-21 08:32:53 -07:00
John Benediktsson
d616f4779e
ui.gadgets.editors: adding delete-to-start-of-document and delete-to-end-of-document.
2012-05-04 18:38:12 -07:00
John Benediktsson
8c1165cac1
cleanup some lint warnings.
2012-04-18 17:46:01 -07:00
Joe Groff
24ca1b02b7
ui.tools.listener: dumb hack to set listener font
2012-03-04 13:08:22 -08:00
Joe Groff
273b5115bf
add content-gadget hook for inspector
...
Allow objects such as images, strings, and audio clips to display rich representations of themselves in the inspector by providing methods for a content-gadget generic.
2012-02-21 15:06:27 -08:00
Joe Groff
4db4b3e171
ui.gadgets.panes: add gadget-alt-text
...
Provide a default implementation of write-gadget that writes plain text to a stream that doesn't support gadgets.
2012-02-18 21:59:30 -08:00
John Benediktsson
3a4afb1650
Revert "ui.gadgets.books: needs help.markup.private."
...
This reverts commit dc9aa68961
.
2011-12-29 21:38:05 -08:00
John Benediktsson
f6c0bfdb89
ui.gadgets.books: needs help.markup.private.
2011-12-29 17:19:48 -08:00
John Benediktsson
2dcb104216
ui: fix error in docs (USE: ui.gadgets.books).
2011-12-29 16:33:16 -08:00
Philipp Brüschweiler
b667e4ff7e
ui.backend.gtk: don't die if the icon doesn't exist, partially fixes #369
2011-12-06 09:05:05 +01:00
Joe Groff
b12cdae993
ui.tools.deploy: add doc link to deploy-flags
...
That's where all the settings are actually described.
2011-11-27 12:37:58 -08:00
Joe Groff
f5d7ec72c7
ui.tools.deploy: update deploy-console description
...
No longer windows specific
2011-11-27 12:37:57 -08:00
Joe Groff
14031d8794
icon for user-init-errors
2011-11-27 12:06:48 -08:00
Joe Groff
943596575a
use radix literals
2011-11-23 19:03:40 -08:00
Joe Groff
29bf4d7214
ui.backend.cocoa.views: clickthrough is bullshit
...
I don't care what Slava thinks
2011-11-23 11:29:03 -08:00
Joe Groff
36dac58380
update USING:s
2011-11-15 18:37:30 -08:00
Joe Groff
1db3d6f051
ui.tools.deploy: remove monkey traps from UI
2011-11-15 12:53:21 -08:00
Joe Groff
a1bb1fbd7a
Revert "ui.tools.listener: removing unnecessary spawn."
...
This reverts commit f8aa8038d3
.
Breaks error handling: http://paste.factorcode.org/paste?id=2407
2011-11-15 12:35:25 -08:00
John Benediktsson
4d0d1748f0
ui.tools.listener: removing unnecessary spawn.
2011-11-14 10:16:15 -08:00
Joe Groff
d1786adfe4
new module images.viewer.prettyprint
...
Pretty-prints image objects as images.
2011-11-13 12:12:23 -08:00
John Benediktsson
96d5c2fac8
ui.operations: fix stack names.
2011-11-12 18:48:18 -08:00
Joe Groff
c8fd36bbdb
kill tools.profiler.counting and ui.tools.profiler
...
Load tools.profiler.sampling from bootstrap/tools instead.
2011-11-10 12:33:10 -08:00
Joe Groff
8cf18d1a82
remove BSD,solaris,etc. misc platform support code
2011-11-02 17:13:51 -07:00
Joe Groff
6d3d8392d1
tools.profiler.counting: rename help article
2011-11-02 13:23:14 -07:00
Joe Groff
eac90675c0
move counting profiler to tools.profiler.counting
2011-11-02 13:23:09 -07:00
Joe Groff
33919b2919
tools.profiler: rename to tools.counting-profiler
2011-11-02 13:23:06 -07:00
Doug Coleman
94db86a6db
Make "foo.private" require load foo instead.
...
Move require from vocabs.loader to vocabs. Update everything.
Fixes #201 .
2011-11-02 11:50:03 -07:00
Doug Coleman
359c931d35
Rename images.gtk|gdiplus|cocoa to images.loader.*. Fixes #176 .
2011-11-02 09:38:03 -07:00
Slava Pestov
4c3c4f177b
ui.gadgets.editors: fix wonky word names. Fixes #277
2011-10-29 15:27:27 -07:00
Slava Pestov
0285de7e7d
Revert "ui.gadgets.editors: implement Ctrl-A/E/K to be more compatible."
...
This reverts commit 6a096a1e71
.
2011-10-29 15:27:27 -07:00
Slava Pestov
d212b18be3
Revert "ui.gadgets.editors: windows doesn't work like macosx."
...
This reverts commit cf1d12ce78
.
2011-10-29 15:27:27 -07:00
Doug Coleman
8205caa5ca
Add edit-file and edit-vocab words and make edit on strings call
...
edit-vocab.
2011-10-29 13:35:13 -07:00
Doug Coleman
53c6d08b54
Add a toggle word to namespaces and update docs, tests, and usages. Document with-global too.
2011-10-29 01:05:38 -07:00
Doug Coleman
7b6f27eda6
Add a lint check for swap .. swap that can be replaced by dip. Clean up the cases it finds.
2011-10-26 13:01:04 -07:00
Doug Coleman
51c033a1f6
Fix all failures in the linux64 build email
2011-10-24 19:33:09 -07:00
Doug Coleman
f9257959fd
Rename class to class-of
2011-10-24 06:47:42 -05:00
Doug Coleman
26872ffe4d
Rename vocab to lookup-vocab
2011-10-24 06:42:54 -05:00
John Benediktsson
d1f5fefab0
Cleanup some uses of global [ ] bind.
2011-10-19 11:01:16 -07:00
John Benediktsson
a625197ba5
ui.gadgets.editors: windows doesn't work like macosx.
2011-10-19 09:42:12 -07:00
Joe Groff
13b17fb84a
io: input-stream and output-stream mixins
2011-10-18 16:25:09 -07:00
Joe Groff
b4d406cfa3
ui.tools.listener: set error stream
2011-10-18 15:13:33 -07:00
John Benediktsson
80e1c8e3f2
Eliminate duplicate syntax for stack effects "(" no longer drops and is identical to the old "((", which is now removed.
2011-10-18 13:19:39 -07:00
John Benediktsson
8d15fb1021
ui.gadgets.editors: implement Ctrl-A/E/K to be more compatible.
2011-10-18 11:38:08 -07:00
Joe Groff
0c74190a50
ui.tools.listener: remove redundant method
2011-10-17 21:23:37 -07:00
Joe Groff
c3c382e45c
ui.tools.listener: fix stream-read-unsafe
...
It was returning the number of requested bytes even if eof was encountered.
2011-10-17 21:23:05 -07:00
Joe Groff
6f12322bda
kill noncopying-reader mixin, stream-read generic
...
Now that all streams have been updated to implement the stream-read-unsafe protocol, take out the noncopying-reader shim. Turn stream-read and stream-read-partial into plain functions over the -unsafe generics.
2011-10-17 21:23:05 -07:00
Joe Groff
a9ab3db167
ui.tools.listener: read-unsafe for interactorâ€
...
†there's a failing test with this patch that needs investigation:
===
resource:basis/ui/tools/listener/listener-tests.factor: 90
Unit Test: { [ t ] [ "promise" get 2 seconds ?promise-timeout text = ] }
wait-timeout
===
2011-10-17 21:23:04 -07:00
John Benediktsson
81714b8dc3
More lint cleanups.
2011-10-16 19:33:16 -07:00
John Benediktsson
470e0be3e1
ui.tools.listener: call insert-newline directly.
2011-10-16 13:39:15 -07:00
John Benediktsson
6f1c44b46d
Cleanup some lint warnings.
2011-10-15 19:19:44 -07:00
John Benediktsson
378786599d
Cleanup lint warnings.
2011-10-14 11:47:24 -07:00
John Benediktsson
6417f36397
namespaces: adding a "with-global" word to replace "global [ ] bind".
2011-10-13 17:21:59 -07:00
Slava Pestov
c68e2308a8
Display a system-alert for callback errors in the UI; also for thread errors in deployed apps; fixes #92 , fixes #95
2011-10-03 00:24:37 -07:00
John Benediktsson
002972c3b4
Revert "ui.clipboards: adding a gadget-copy-all."
...
This reverts commit bee1c0c61e
.
2011-09-29 13:10:21 -07:00
John Benediktsson
73bc2bbbd1
ui.clipboards: adding a gadget-copy-all.
2011-09-29 13:02:23 -07:00
Doug Coleman
76580da5d5
Refactor the lexer/parser to expose friendlier words for scanning tokens. The preferred top-level words now throw an exception on EOF.
...
CREATE -> scan-new
CREATE-CLASS -> scan-new-class
CREATE-WORD -> scan-new-word
CREATE-GENERIC -> scan-new-generic
scan -> (scan-token)
scan-token now throws on eof
(scan-word) returns word/number/f
scan-word now throws on eof
scan-word-name expects a non-number
Fixes #183 .
Fixes #209 .
2011-09-29 11:28:28 -07:00
John Benediktsson
4f42c72012
specialized-arrays: performed some cleanup.
...
Specifically,
• Created >c-array to be replacement for >T-array.
• Created cast-array to be generic replacement for all T-array-cast words.
• Created c-array@ to be generic replacement for T-array@ words.
• Replaced usages of <T-array> with T <c-array>
• Replaced usages of <direct-T-array> with T <c-direct-array>
• Replaced usages of >T-array with T >c-array
• Replaced usages of T-array-cast with T cast-array
• Replaced usages of malloc-T-array with T malloc-array.
• Removed malloc-T-array.
• Removed T-array-cast.
• Removed T-array@.
• Removed >T-array.
I also added (but didn't change any code to use):
• T c-array-type, returns T-array
• T c-array?, returns T-array?
• c-array{ T ... }, returns T-array{ ... }
Bootstraps just find on Mac OS X. Also `load-all test-all` works for me.
2011-09-26 11:37:51 -07:00
John Benediktsson
98f7d2530d
ui.gadgets.editors: simplify private word.
2011-09-25 11:43:53 -07:00
John Benediktsson
3c1356bf69
Adding stack effects.
2011-09-23 17:46:40 -07:00
Joe Groff
2bd6de9a02
slots: pre-create the "at", "nth", and "global" slots to make deterministic the currently nondeterministic ambiguity between accessors:change-* and assocs:change-at, sequences:change-nth, and namespaces:change-global
2011-09-19 10:03:43 -07:00
Doug Coleman
bf2a96e9e0
Remove Windows CE from core/ basis/ and build-support/
...
Rename the winnt singleton to windows in core/ basis/ extra/
Rename boot images winnt -> windows
Fixes #84 .
2011-09-18 23:19:06 -05:00
John Benediktsson
ffd54d4d20
ui.tools.listener.completion: when completing history, only show unique completions.
2011-09-17 09:53:59 -07:00
John Benediktsson
22cce1d4e2
ui.tools.listener.completion: delay history-list to allow live searching.
2011-09-17 09:06:10 -07:00
John Benediktsson
1c3c2e6b1a
ui.tools.listener.completion: allow substring search in history. Fixes #133 .
2011-09-17 09:04:36 -07:00
John Benediktsson
91824e5697
ui.tools.profiler: fix link to help.
2011-09-17 08:14:13 -07:00
Joe Groff
24264e94f4
ui.tools.deploy: change "Deploy as Windows console application" to read "Deploy as console application on Windows"; makes it a bit clearer that the switch only affects Windows deployment
2011-09-15 15:05:17 -07:00
Joe Groff
9bd84e73f4
ui.backend: refactor the UI `main-vocab-hook` to use a backend-specific `ui-backend-available?` word, so that loading other backends doesn't change the `main-vocab-hook` out of sync with the backend; fixes #131
2011-09-15 13:14:01 -07:00
John Benediktsson
27e0071105
ui.tools.listener.history: only add a history entry if it does not match the most recent entry.
2011-09-15 07:57:51 -07:00
Slava Pestov
b3a051d385
ui.backend.gtk: don't enable gtk UI backend by default on Mac OS X. Fixes #40
2011-09-11 23:41:43 -07:00
Slava Pestov
da6f65a3d3
ui.gadgets.tables: don't try to render multi-line strings, since all table rows must have the same height. Fixes #65
2011-09-01 22:41:12 -07:00
Slava Pestov
7c14b6d839
ui.backend.gtk: remove unused vocabs from USING: list
2011-09-01 22:31:45 -07:00
Slava Pestov
101adf453f
ui.backend.gtk: remove unneeded vocabs from USING:, add platforms.txt
2011-09-01 20:15:23 -07:00
John Benediktsson
dba4b65aac
core-text: lazy text render (inspired by klazuka).
2011-08-27 17:33:21 -07:00
John Benediktsson
cc68afddce
Merge remote-tracking branch 'factorcode/master'
2011-08-27 17:26:11 -07:00
Hugo Schmitt
f5e9ac71a4
Swapping call order of 'hook' and 'action' row actions
2011-08-27 17:25:45 -07:00
Slava Pestov
fd08f9ad8f
Fixes #33 - ui.gadgets.glass had a scoping issue, so text selection would stop working after opening a popup
2011-08-27 17:14:56 -07:00
Slava Pestov
1f4da36b4b
Fixes #32 - double clicks were not handled properly in ui.backend.gtk
2011-08-27 17:06:53 -07:00
Joe Groff
9040ee37e0
Merge remote-tracking branch 'Blei/gtk-image-loader'
...
Conflicts:
basis/alien/enums/enums-tests.factor
basis/alien/enums/enums.factor
basis/alien/parser/parser.factor
basis/gdk/pixbuf/ffi/ffi.factor
basis/glib/ffi/ffi.factor
basis/tools/deploy/shaker/shaker.factor
basis/ui/backend/gtk/gtk.factor
basis/windows/nt/nt.factor
2011-08-27 14:07:18 -07:00
Joe Groff
87653c20da
ui.tools.deploy: adjust wording of deploy-help? option ui
2011-08-04 15:49:33 -07:00
Joe Groff
5522015885
tools.deploy: add deploy-help? option to include documentation in deployed image
2011-08-04 14:27:29 -07:00
Erik Charlebois
b9e18184c6
Convert side mouse buttons to backward/forward
2011-05-23 23:36:14 -04:00
Erik Charlebois
019224348b
Only do mouse selections for button 1
2011-05-23 23:36:14 -04:00
John Benediktsson
ef98730827
Merge branch 'master' into sorting
2011-05-03 20:51:53 -07:00
Slava Pestov
d1666854e8
ui.backend.cocoa: simplify system-alert implementation now that callbacks bug has been fixed
2011-04-16 19:12:08 -07:00
John Benediktsson
d58bc08aa0
Update code that did ">alist sort-" to just "sort-".
2011-04-07 09:01:21 -07:00
Slava Pestov
7e1b7f70a5
ui.backend.gtk.io.unix: add platforms.txt so that we don't load it on Windows
2011-04-06 17:54:22 -04:00
Slava Pestov
2cbd31d34d
Merge commit 'otoburb/master' into merge-otoburb
...
Conflicts:
basis/ui/backend/gtk/gtk.factor
2011-04-06 17:54:00 -04:00
Slava Pestov
ee99a64b54
Merge branch 'master' of git://github.com/ex-rzr/factor
2011-04-06 17:26:41 -04:00
otoburb
5744764f07
gtk.factor: Changed init behaviour so if $DISPLAY is not set, runs tty listener, otherwise UI listener.
2011-04-06 00:02:15 +00:00
Anton Gorenko
090254d671
ui.backend.gtk: fix a bug with endless error messages in a console after closing of UI;
...
io.thread: start-io-thread always starts io-thread even if it was stopped, fix line endings;
2011-04-01 22:06:07 +06:00
John Benediktsson
47996b3215
ui.tools: adding Ctrl-Shift-F for "toggle fullscreen".
2011-03-07 15:08:26 -08:00
Slava Pestov
ebce40a4c0
Fix conflict
2011-02-27 20:01:45 -06:00
Keita Haga
32e3e1cfef
ui.tools.listener: highlighting F1 key in tips
2011-02-20 16:04:48 +09:00
Anton Gorenko
640b05d457
ui.backend.gtk: split off input methods support for ui.editors into .input-methods.editors (no more ui.editors with its dependencies in a deployed
...
image for hello-ui);
2011-01-26 21:37:26 +06:00
Anton Gorenko
e9515c1a9c
ui.backend.gtk: split off unix io support into ui.backend.gtk.io.unix;
2011-01-26 21:00:35 +06:00
Keita Haga
5cad80fdc9
ui.gadgets.status-bar: fix typo in docs
2011-01-16 21:46:01 +09:00
Anton Gorenko
005f48986e
ui.backend.gtk: update for alien.data changes ('<int>' -> 'int <ref>', etc.);
2011-01-16 14:50:18 +06:00
Anton Gorenko
8f297055d6
Merge branch 'master' of git://github.com/slavapestov/factor
2011-01-16 13:38:04 +06:00
Keita Haga
f05448af85
ui.operations: fix typo in docs
2011-01-14 19:39:39 +09:00
Keita Haga
ca3ea7b199
ui: add missing right parenthesis in with-ui word notes
2011-01-08 22:57:06 +09:00
Slava Pestov
13d6c6a698
Update code for alien.data changes
2010-12-26 02:08:57 -06:00
Slava Pestov
75560699ea
Move <ref>, deref and little-endian? from alien.c-types to alien.data, remove <c-object>
2010-12-25 16:55:36 -08:00
Keita Haga
33c14b8bb0
ui.pixel-formats: fix using list in example
2010-12-23 03:10:54 +09:00
Anton Gorenko
8baa7d3578
ui.backend.gtk: fix bugs;
2010-11-15 21:48:58 +06:00
Doug Coleman
69487d1fd3
Fix a few tests that got broken in the <uint> *uint patches
2010-10-25 19:14:21 -05:00
Doug Coleman
1f57dc326e
Remove many uses of <int> and *int etc
2010-10-25 12:49:12 -05:00
Anton Gorenko
913362a3a2
gobject-introspection: rewrite gir files loading and code generation totally
...
generate girs from fresh sources
ui.backend.gtk, ui.text.pango: update a little bit
(this commit is unstable, because new GObject-introspection release (> 0.9) is much different from 0.6 and it needs more detailed annotations
(e.g. to parse out/inout parameters), which are mostly missing now)
2010-09-29 15:08:31 +06:00
Anton Gorenko
d5a7f99bea
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
basis/cairo/ffi/ffi.factor
basis/pango/cairo/cairo.factor
basis/pango/layouts/layouts.factor
2010-09-26 23:24:30 +06:00
Doug Coleman
f791c8c5d2
Squashed commit of the following:
...
commit 197dbe9a6733775ac0ea19b3da4bd4dc3c85418c
Author: Doug Coleman <doug.coleman@gmail.com>
Date: Sat Sep 18 19:01:38 2010 -0500
Fix bootstrap, move privileges to windows.privileges
commit 521c622f8afb15bf42d263c738cb990560dc29cb
Author: Doug Coleman <doug.coleman@gmail.com>
Date: Sat Sep 18 18:26:30 2010 -0500
Hopefully fix bootstrap
commit eb3f22928b59758b9505430034044b5b94705da2
Author: Doug Coleman <doug.coleman@gmail.com>
Date: Sat Sep 18 18:19:05 2010 -0500
Remove wince from factor codebase
commit 619d6c99415f46208a7ede6a04b0ccda46b15360
Author: Doug Coleman <doug.coleman@gmail.com>
Date: Sat Sep 18 16:07:46 2010 -0500
Remove Windows CE from vm/
2010-09-19 19:13:25 -05:00
Anton Gorenko
534402469c
ui.backend.gtk: clean up and rearrange the code
2010-09-12 17:28:24 +06:00
Anton Gorenko
8812052ba9
ui.backend.gtk: set 'wmclass' hint to 'Factor' for new windows
2010-09-12 13:43:20 +06:00
Anton Gorenko
6ef16684e5
ui.backend.gtk: remove "Input method" menu, because it's for testing only
2010-09-04 23:15:00 +06:00
Slava Pestov
a2927eb255
ui.backend.windows: fix compile error in ui-wndproc
2010-07-29 17:22:34 -04:00
Philipp Brüschweiler
8c61b874b7
ui.backend.gtk: load icon data directly into factor.image when deploying, no io is needed
2010-07-26 21:11:53 +02:00
Philipp Brüschweiler
ab29ed3892
Merge branch 'gtk' into gtk-image-loader
2010-07-26 19:29:17 +02:00
Philipp Brüschweiler
fde0321f44
ui.backend.gtk: don't initialize io event source when deploying with io level 1 and 2
2010-07-26 19:27:27 +02:00
Philipp Brüschweiler
f3f8b3b35b
Merge remote branch 'ex-rzr/master' into gtk
2010-07-26 18:54:46 +02:00
Anton Gorenko
3989f0b406
Merge branch 'master' of git://factorcode.org/git/factor
2010-07-25 17:58:56 +06:00
Philipp Brüschweiler
926d1540c5
Merge branch 'gtk' into gtk-image-loader
...
Conflicts:
basis/glib/ffi/ffi.factor
basis/ui/backend/gtk/gtk.factor
2010-07-22 23:51:17 +02:00
Philipp Brüschweiler
832b55fe89
ui.backend.gtk: only set up event sources when we are deploying with io level 3
2010-07-22 23:45:08 +02:00
Philipp Brüschweiler
39d475e996
ui.backend.gtk: use png instead of ico to represent icons
2010-07-22 22:48:18 +02:00
Philipp Brüschweiler
035ba3bc93
ui.backend.gtk, tools.deploy.unix: support for icons
2010-07-22 12:39:16 +02:00
Slava Pestov
80d0ed0110
ui.gadgets.labels: fix stack effects for label-on-left and label-on-right
2010-07-18 17:38:51 -04:00
Philipp Brüschweiler
80cefc75fb
Merge remote branch 'origin/master' into gtk-image-loader
2010-07-18 18:22:41 +02:00
Slava Pestov
35e5c572ce
ui: cleanup
2010-07-17 16:09:25 -04:00
Slava Pestov
88ca7abd54
ui.gadgets.worlds: dispose of the handle after ungrabbing input
2010-07-17 16:08:36 -04:00
Anton Gorenko
c9613cc7ce
add summary.txt and tags.txt for various vocabularies
2010-07-17 15:31:53 +06:00
Philipp Brüschweiler
9f7847d8ec
images.gtk: use GdkPixbuf to load images
2010-07-17 11:28:24 +02:00
Philipp Brüschweiler
d2530a4365
Merge remote branch 'origin/native-image-loader' into gtk-image-loader
2010-07-17 11:26:45 +02:00
Anton Gorenko
32952a6071
ui.backend.gtk: update to new with-out-parameters combinator
2010-07-17 14:25:59 +06:00
Anton Gorenko
65362a67e8
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
basis/pango/cairo/cairo.factor
2010-07-17 14:11:06 +06:00
Slava Pestov
446ee6896d
alien.data: remove second quotation parameter from with-out-parameters, now all values are copied properly and calling 'clone' on structs in this quotation is not necessary
2010-07-16 17:32:05 -04:00
Joe Groff
74dc8db962
Revert "ui.images, images.loader: move platform-specific image loader setup into images.loader"
...
This reverts commit 2bbf752cbe
.
2010-07-16 11:36:20 -07:00
Joe Groff
67a1a0bdea
ui.images, images.loader: move platform-specific image loader setup into images.loader
2010-07-11 08:44:27 -07:00
Joe Groff
e2237afd61
Merge branch 'master' of http://factorcode.org/git/factor into native-image-loader
2010-07-07 13:09:41 -07:00
Joe Groff
8a7979da13
Merge branch 'master' into native-image-loader
2010-07-07 13:06:37 -07:00
Joe Groff
8816b1e215
ui.images: load images.gdiplus as default image handler on windows
2010-07-07 09:07:26 -07:00
Slava Pestov
425c572fa8
cocoa.subclassing: cleaner CLASS: syntax; ui.backend.cocoa: ignore events delivered after window closed to fix FEP (reported by Doug Coleman)
2010-07-06 19:02:52 -04:00
Slava Pestov
bb4dae64f3
cocoa.subclassing: new METHOD: syntax cleans up class definitions
2010-07-06 17:59:35 -04:00
Slava Pestov
350a6522c7
ui.tools.traceback: make it a tool window so that its size is saved, and workspace shortcuts work
2010-06-28 17:10:15 -04:00
Joe Groff
5c95d90da3
ui.images: load images.cocoa backend by default instead of images.png/images.tiff on macosx
2010-06-27 13:55:45 -07:00
Slava Pestov
75d2635c05
Merge branch 'master' of git://github.com/erg/factor
2010-06-22 04:13:39 -04:00
Doug Coleman
4b9760dd67
More system-micros elimination
2010-06-22 02:00:19 -05:00
Slava Pestov
0fa1a46d35
Merge branch 'master' of git://github.com/erg/factor into erg
2010-06-22 01:05:13 -04:00
Slava Pestov
a74de80bb0
ui.backend.cocoa.views: unregister window from notification instead of in -dealloc, fixing flakiness of show-listener/show-browser words
2010-06-19 18:12:56 -04:00
Slava Pestov
1a94ce5927
ui.tools.error-list: fix breakage if image is saved and restored with an open error list
2010-06-18 22:03:37 -04:00
Anton Gorenko
f39f1b22a0
gir.ffi, ui.backend.gtk, gir.samples: change enum and bitfield generation from ENUM: to TYPEDEF: + CONSTANT:s
2010-06-18 23:33:06 +06:00
Doug Coleman
6a501d4aa3
Add a promise to world objects that gets fulfilled when the world is ungrafted
2010-06-16 16:23:30 -05:00
Anton Gorenko
0073f184fa
ui.backend.gtk: working on input methods...
2010-06-16 19:25:32 +06:00
Doug Coleman
c5ff05f9fe
Merge branch 'master' of github.com:erg/factor
2010-06-13 20:35:26 -05:00
Anton Gorenko
375ebd40ef
ui.backend.gtk: change authors list
2010-06-13 16:53:24 +06:00
Anton Gorenko
c8143dca73
Merge branch 'gtk' of git://github.com/Blei/factor
2010-06-13 16:20:32 +06:00
Anton Gorenko
a11d2b06c6
ui.backend.gtk: add destructor in clipboard-contents
2010-06-13 16:18:51 +06:00
Anton Gorenko
5c6d4d4017
Merge branch 'master' of git://factorcode.org/git/factor
2010-06-13 07:54:23 +06:00
Philipp Brüschweiler
5b8543b352
Merge remote branch 'ex-rzr/master' into gtk
...
Conflicts:
basis/ui/backend/gtk/gtk.factor
2010-06-12 16:02:22 +02:00
Philipp Brüschweiler
4ce4b2c257
ui.backend.gtk: add surrounding signal handler for input methods
...
untested, as i don't think my IM is using this feature
2010-06-11 19:33:28 +02:00
Anton Gorenko
b9a5b0c16e
ui.backend.gtk: add simple input method support (GtkIMContextSimple)
2010-06-11 19:43:11 +06:00
Doug Coleman
a6f0abb9a2
Rename alarms -> timers
2010-06-10 16:39:13 -05:00
Doug Coleman
2e867e49a5
Add a remove-wm-handler word to windows ui backend
2010-06-10 16:06:38 -05:00
Philipp Brüschweiler
5f9929c97f
ui.backend.gtk: notify input methods of cursor locations
2010-06-10 22:35:08 +02:00
Philipp Brüschweiler
17d0874360
ui.backend.gtk: preliminary input methods support
2010-06-10 00:16:31 +02:00
Joe Groff
c8bb9b3381
ui: document non-polymorphic effect of with-ui, and that it doesn't return
2010-06-08 13:54:10 -07:00
Anton Gorenko
59857ad2c1
ui.backend.gtk: add auto-position for worlds with { 0 0 } in window-loc
2010-06-08 17:41:10 +06:00
Anton Gorenko
66f5c2695f
ui.backend.gtk: fix (grab-input) and (ungrab-input)
2010-06-08 13:21:45 +06:00
Anton Gorenko
e174b7a070
Merge branch 'master' of git://factorcode.org/git/factor
2010-06-07 23:12:23 +06:00
Anton Gorenko
33996ca1d6
ui.backend.gtk: fix incorrect resizing of windows
2010-06-07 22:46:10 +06:00
Anton Gorenko
e5b07f5f29
ui.backend.gtk: add more advanced timer for event loop
2010-06-06 14:19:46 +06:00
Slava Pestov
597f7cb578
Merge branch 'master' of http://github.com/Blei/factor
2010-06-05 16:58:00 -04:00
Joe Groff
8644e12bb6
ui.backend.windows: make small-title-bar windows WS_EX_TOPMOST so they behave like os x small-title-bar windows
2010-06-03 23:03:53 -07:00
Anton Gorenko
400289699d
ui.backend.gtk: add pixel-format support
2010-06-02 13:30:05 +06:00
Slava Pestov
063c9783fb
ui.backend.x11: fix typo
2010-06-02 03:13:57 -04:00
Slava Pestov
83e78c353e
ui.backend.windows: remove a usage of rot
2010-06-02 02:59:58 -04:00
Slava Pestov
9f49bfc3b3
ui.backend.x11: fixing raise-window*
2010-06-02 02:59:57 -04:00
Philipp Brüschweiler
14f8742aae
ui.render: set pack alignment to 1, so padding images isn't needed anymore
2010-06-01 13:52:00 +02:00
Slava Pestov
b924c3623d
ui.tools.listener: fix error bar display
2010-05-30 16:09:51 -04:00
Anton Gorenko
0b7be5142b
ui.backend.gtk: add rough implementation of non-blocking IO
2010-05-31 00:18:08 +06:00
Slava Pestov
8fd6a24edb
ui.backend.cocoa: factor out stop-io-thread word for use by upcoming Gtk UI backend
2010-05-29 04:27:54 -04:00
Anton Gorenko
17192dee7c
change directories structure (add */ffi/ffi.factor files)
2010-05-27 00:17:14 +06:00
Doug Coleman
3a7f9c3947
Use restart-alarm for ui blink code
2010-05-24 22:59:25 -05:00
Slava Pestov
07e92b50ce
ui.backend.x11: don't pass GLX_USE_GL since its a no-op and Mesa doesn't like it
2010-05-24 19:23:55 -04:00
Slava Pestov
46fe340be3
ui.gadgets.worlds: don't enable depth buffer by default, since it just wastes memory and apps which need it can pass custom pixel-format-attributes to open-window to enable it explicitly
2010-05-24 19:23:02 -04:00
Slava Pestov
212d308de1
ui: ditch window restore behavior since it was broken
2010-05-24 16:50:09 -04:00
Anton Gorenko
ab9e851bed
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
basis/opengl/gl/extensions/extensions.factor
basis/pango/cairo/cairo.factor
2010-05-24 19:43:05 +06:00
Anton Gorenko
67df0a783f
add window-controls implementation (without 'textured-background')
2010-05-24 16:08:26 +06:00
Doug Coleman
54ce8be408
Delay the cursor blink
2010-05-23 22:26:46 -05:00
Slava Pestov
cd5c1ab499
ui.backend.x11: fix load error
2010-05-23 22:08:24 -04:00
Anton Gorenko
79e4297245
fix Alt-combos bug
2010-05-23 21:26:11 +06:00
Anton Gorenko
19634c8757
fix a bug with incorrect cursor position
2010-05-23 20:28:44 +06:00
Anton Gorenko
be272a0bde
change Pango-based ui.text backend (move all util words from pango and pango.cairo vocabularies to ui.text.pango)
2010-05-23 16:10:41 +06:00
Anton Gorenko
d94cb7543d
Gtk-based ui backend
2010-05-23 16:09:26 +06:00
Slava Pestov
66fcab3721
Fixes for out parameter changes
2010-05-23 03:27:40 -05:00
Slava Pestov
70a99e1cdb
Updating code to use with-out-parameters
2010-05-23 03:07:47 -04:00
Anton Gorenko
f44bc6f056
Merge branch 'master' of git://github.com/slavapestov/factor
2010-05-23 09:58:35 +06:00
Doug Coleman
e75b85de30
Update code base for new alarms api
2010-05-21 20:42:12 -05:00
Slava Pestov
a8098e3182
specialized-arrays: rename byte-array>T-array to T-array-cast, and make it work with anything that responds to >c-ptr / byte-length
2010-05-18 23:09:34 -04:00
Anton Gorenko
b2b5365ebd
Merge branch 'master' of git://factorcode.org/git/factor
2010-05-10 23:42:41 +06:00
Anton Gorenko
56280003c5
pango is gir-based now (very draft version)
2010-05-09 23:25:47 +06:00
Slava Pestov
fa99cc8f0e
ui.backend.windows: faster wheel mouse scroll rate
2010-05-07 18:26:16 -04:00
Slava Pestov
627295f094
Language change: tuple slot setter words with stack effect ( value object -- ) are now named FOO<< instead of (>>FOO)
2010-05-06 17:21:02 -04:00
Slava Pestov
f46a56024c
ui.tools.error-list: re-use the same actual gadget, so that the current selection and set of displayed error types is preserved if the user closes and re-opens the error list
2010-05-04 02:53:53 -04:00
Slava Pestov
a8fdfc5860
ui.gadgets.tables: fix load error in docs
2010-05-03 22:42:19 -04:00
Slava Pestov
cf4abda115
ui.gadgets.tables: remove multiple selection support, and make the error list handle preservation of the current selection better when the underlying model changes
2010-05-03 22:09:00 -04:00
unknown
c02bb4bd17
Fix enter-fullscreen on windows
2010-04-30 08:06:06 -05:00
Slava Pestov
aec2570cd3
ui.backend.x11: fix load error
2010-04-29 03:59:31 -04:00
Slava Pestov
e82bbc5412
ui.backend.windows: fix compile error
2010-04-29 02:20:17 -05:00
Slava Pestov
1672c34f9f
ui: use scroll delta information for smoother mouse scrolling on Windows and Mac OS X
2010-04-29 02:52:32 -04:00
Joe Groff
859ec88bcd
ui.backend.x11: search path for xmessage rather than hardcoding path
2010-04-25 12:18:45 -07:00
Daniel Ehrenberg
aa6158b366
Changing require-when usages to the new syntax for require-when
2010-04-18 14:29:24 -05:00
Slava Pestov
da6bcbedfc
Replace 'untested' tag with 'not loaded' and 'not tested' tags
2010-04-13 18:43:01 -07:00
Slava Pestov
74075511c2
ui.tools.error-list: smaller default size
2010-04-13 06:16:45 -07:00
Slava Pestov
1881476892
ui.backend.windows: fix icon name
2010-04-11 15:03:38 -05:00
Slava Pestov
46a1fb2646
Merge remote branch 'origin/abi-symbols' into fastcall-madness
2010-04-10 00:10:33 -07:00
Slava Pestov
b330595c3b
ui.gadgets.grids: clarify docs
2010-04-08 10:22:59 -07:00
Joe Groff
ef884ef7f2
Merge branch 'master' into abi-symbols
2010-04-01 15:28:36 -07:00
Doug Coleman
026499e64f
Use flags{ instead of flags all over the place
2010-04-01 14:44:03 -05:00
Joe Groff
f3dd625de6
"stdcall" -> stdcall
2010-03-31 19:29:04 -07:00
Slava Pestov
c7142e4281
threads: use context-switching primitives
2010-03-29 20:40:17 -04:00
Slava Pestov
d130f24248
ui.gadgets.buttons: fix incorrect parameter order in <radio-controls>
2010-03-29 15:08:15 -04:00
Daniel Ehrenberg
240c6819a9
Merge branch 'master' into conditional
2010-03-28 19:49:32 -04:00
Joe Groff
91c353ef60
tools.deploy: make deploy-console? and deploy-ui? independent config variables, so windows apps can be deployed without a console or the ui
2010-03-22 16:55:35 -07:00
Daniel Ehrenberg
eb060443db
Updating code to use require-when rather than vocab [ require ] when
2010-03-18 01:13:37 -04:00
Daniel Ehrenberg
39df2c373f
Fixing vocab ambiguities in linux and windows-specific vocabs
2010-03-17 00:22:48 -04:00
Daniel Ehrenberg
512fe14e4e
Merge branch 'bags' of git://github.com/littledan/Factor
...
Conflicts:
basis/compiler/cfg/ssa/construction/tdmsc/tdmsc.factor
basis/furnace/auth/auth.factor
basis/stack-checker/backend/backend.factor
2010-03-16 13:28:00 -04:00
Joe Groff
08f29d9fcd
ui.backend.cocoa.views: change drawRect: method so it does "draw-world" directly instead of relayout-1 yield
2010-03-15 12:57:09 -07:00
Daniel Ehrenberg
7364608417
Merge branch 'master' of git://factorcode.org/git/factor into bags
2010-03-02 17:04:45 -05:00
Daniel Ehrenberg
da57436180
Finishing eliminating prune as a synonym of members
2010-02-27 14:52:24 -05:00
Doug Coleman
bad7e4b68e
Add a slot for worlds to know if they are fullscreened, and another for restoring the window position after returning from fullscreen mode
2010-02-27 07:58:42 -06:00
Daniel Ehrenberg
7cd3360cdd
Fixing ambiguity between sets and namespaces in many unit tests and furnace.auth
2010-02-26 17:17:40 -05:00
Daniel Ehrenberg
7074979745
Moving new-sets to sets
2010-02-26 16:01:01 -05:00
Slava Pestov
7826543d2e
sequences: add cartesian-each, cartesian-map, cartesian-product words to eliminate some duplication throughout the codebase
2010-02-25 20:54:57 +13:00
Slava Pestov
17b095a524
Slices over specialized arrays can now be passed to C functions, written to binary output streams, and given to malloc-byte-array
2010-02-25 04:50:31 +13:00
Joe Groff
3bf5eeddf9
tidy up load errors in ui.backend.x11
2010-02-24 00:51:02 -08:00
Joe Groff
2aa1a3dbd7
ui.backend.cocoa: invalidate run loop timers before raising an NSAlert and add them back when runModal returns to avoid run loop callbacks reentering Factor
2010-02-23 23:52:03 -08:00
Joe Groff
b7727bc695
ui.gadgets.worlds: deactivate world before calling the ui-error-hook
2010-02-23 22:55:57 -08:00
Joe Groff
0eb6355827
document system-alert
2010-02-23 20:29:51 -08:00
Joe Groff
f6183703b2
ui: add a "system-alert" hook that can raise a system modal dialog without involving any potentially stripped gadget, io, or debugger code
2010-02-23 19:28:57 -08:00
Joe Groff
6d4724a095
scrub memory>struct calls made redundant
2010-02-22 12:22:29 -08:00
Slava Pestov
f78e5c7430
ui.text.pango: add a platforms.txt
2010-02-21 17:48:03 +13:00
Joe Groff
83d6f7fc6f
if you're going to support shift-del, you should also support shift-ins and ctrl-ins
2010-02-20 09:45:42 -08:00
Slava Pestov
95bfc8a240
vocabs.metadata: replace unportable tag with a platforms.txt file for more fine-grained control. Rename unportable tag to untested for remaining cases
2010-02-20 13:30:49 +13:00
Slava Pestov
daed64d8b4
ui.gadgets.worlds: support S+DELETE as an alternative shortcut for cut-action
2010-02-20 12:24:25 +13:00
Philipp Brüschweiler
a615700af1
ui.tools.listener docs: typo
2010-02-19 11:23:20 +01:00
Slava Pestov
b59da05347
Merge branch 'master' of git://github.com/erikcharlebois/factor
2010-02-19 12:35:21 +13:00
Slava Pestov
220dd88a2c
Update documentation for new help lint check
2010-02-19 12:31:52 +13:00
Erik Charlebois
d3d7392fa9
Implement input grabbing for x11; add do-nothing game.input backend for linux. The game and gpu demos now run correctly.
2010-02-18 12:52:33 -08: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
646a88fbf2
ui.backend.cocoa.tools: use interactive-vocabs for 'evaluate selection' service
2010-02-10 11:47:06 +13:00
Slava Pestov
07ce30e1fe
ui.text: fix USING: line
2010-02-08 19:18:51 +13:00
Slava Pestov
0b4edcf8ad
ui.text: add a string>image hook and clean up a bit of code duplication
2010-02-08 18:40:26 +13:00
Slava Pestov
83674821a1
ui.text: fix outdated material
2010-02-07 18:20:54 +13:00
erikc
1af9b68495
Don't FEP on unhandled case for WM_APPCOMMAND
2010-02-05 23:50:58 -08:00
Slava Pestov
11be5a4bd5
Rename update to assoc-union!, add assoc-filter! assoc-diff! words
2010-02-04 02:55:00 +13:00
Slava Pestov
df55fed478
generic: rename method-body predicate class to method
2010-02-03 23:11:24 +13: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
erikc
20d27198b0
Merge branch 'master' of git://github.com/slavapestov/factor
2010-01-19 19:31:44 -08:00
erikc
57111b09c3
Map WM_APPCOMMAND browser backward and forward messages to action-left and action-right.
2010-01-19 18:28:53 -08: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
a2539b784b
"a block border" => "a black border"
2010-01-16 12:40:07 -08:00
Joe Groff
f7e1ed18b0
Merge branch 'master' of git://factorcode.org/git/factor
2010-01-16 12:24:47 -08:00
Joe Groff
6bbfa0b6d8
GAME: syntax for defining game entry point with game-loop attributes
2010-01-16 12:18:50 -08:00
Joe Groff
3d70efd51e
hurr semicolon
2010-01-16 11:45:20 -08:00
Joe Groff
26cbbf1ec1
link MAIN-WINDOW: docs into UI docs
2010-01-16 11:04:57 -08:00
Slava Pestov
8c8818b00b
ui.gadgets.search-tables: fix breakage
2010-01-16 18:44:23 +13:00
Joe Groff
5c52732c0a
document MAIN-WINDOW:
2010-01-15 17:06:50 -08: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
816b47561a
ui.pens.gradient: update for iota
2010-01-15 07:15:34 +13: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
Doug Coleman
09e9293866
use nanoseconds in the core-foundation run-loop
2009-11-19 19:22:36 -06:00
Doug Coleman
d9d2fe6c92
use nano-count instead of timestamps for mouse clicks
2009-11-19 18:23:29 -06:00
Doug Coleman
6f7ec206a1
rename millis to system-millis, micros to system-micros, add nano-count
2009-11-18 15:58:48 -06:00
Doug Coleman
54de3addd9
make alarms use monotonic-clock
2009-11-30 16:31:47 -06:00
Doug Coleman
cc194416f9
Merge branch 'master' into startup
...
Conflicts:
core/bootstrap/primitives.factor
vm/run.hpp
2009-11-15 02:52:50 -06:00
Slava Pestov
f121961fa4
ui.gadgets: use identity-hashcode instead of counter
2009-11-10 21:27:33 -06:00
Joe Groff
61d579360d
remove non-primitive-related uses of tuck from basis
2009-11-05 17:03:24 -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
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