Björn Lindqvist
3bbdd067be
ui.backend.gtk: connect ui signals before realizing the widget
...
gtk_widget_add_events() needs to be called before gtk_widget_realize()
otherwise oxygen-gtk will steal all lmb clicks
2014-03-02 19:11:55 -08:00
Björn Lindqvist
1456e14a09
ui.backend.windows: correct wndproc signature so that factor works with vs2012
2014-02-21 17:40:43 -08:00
Jon Harper
ba57d1adcd
with-ui docs, clearly state that the quot must return
2013-10-17 13:35:06 -07:00
John Benediktsson
d44cc17161
update docs for help.lint checks.
2013-08-24 11:39:31 -07:00
John Benediktsson
63ee0de2f1
ui.gadgets.worlds: remove fonts slot from docs.
2013-08-13 08:49:43 -07:00
John Benediktsson
c75fc48f23
switch some vocabs to 4 spaces.
2013-07-24 14:52:09 -07:00
John Benediktsson
fb7f53485a
ui.backend.cocoa.views: set gl-scale-factor to f if 1.0.
2013-04-21 19:43:12 -07:00
John Benediktsson
5512294075
ui.backend.cocoa.views: handle windowDidChangeBackingProperties event.
2013-04-21 19:40:57 -07:00
John Benediktsson
24b116be1c
prettyprint: rename so it doesn't look so much like print-error.
2013-04-10 19:18:15 -07:00
John Benediktsson
e42144e9ea
prettyprint: cleanup duplicate code.
2013-04-10 18:50:11 -07:00
John Benediktsson
d6828d38ff
ui.tools.traceback: fix pprint error in walker issue.
2013-04-10 18:30:11 -07:00
John Benediktsson
987ecea441
Minor fix to make sure strings are produced.
2013-04-06 18:50:26 -07:00
John Benediktsson
c900590f8b
use concat instead of join.
2013-04-06 17:02:22 -07:00
John Benediktsson
bf83eaccfc
cocoa: maybe this is cleaner...
2013-03-30 13:44:11 -07:00
John Benediktsson
a99f66f505
cocoa: add ?-> to remember messages being used at runtime.
2013-03-30 13:14:51 -07:00
John Benediktsson
d1ae334046
ui.backend.cocoa.views: more robust respondsToSelector: (thanks @jckarter).
2013-03-29 20:34:24 -07:00
John Benediktsson
39dc58a5a8
ui.backend.cocoa.views: spacing.
2013-03-29 14:47:53 -07:00
John Benediktsson
fe1bfe173b
ui.backend.cocoa.views: simplify and add os version check.
2013-03-29 14:29:41 -07:00
John Benediktsson
1209d5287d
ui.backend.cocoa.views: maybe this works on 10.6.
2013-03-29 14:18:57 -07:00
Doug Coleman
60cb462826
ui.tools: Fix restart.
2013-03-23 17:39:48 -07:00
Doug Coleman
daca323523
ui.tools.error-list: Fix reset-memoized.
2013-03-23 17:35:18 -07:00
Doug Coleman
fb4eb84f7c
ui.tools.error-list: Rename error-list-gadget.
2013-03-23 17:14:04 -07:00
Doug Coleman
c1b4bcb58e
ui.gadgets.slider: Rename.
2013-03-23 16:47:04 -07:00
Doug Coleman
16964064b6
ui.tools: Fix definition? usage.
2013-03-23 16:46:51 -07:00
Doug Coleman
0b5c1b79c1
ui.gadgets: Rename grid-layout.
2013-03-23 16:41:02 -07:00
Doug Coleman
51e695857c
ui.gestures: Class vs word name duplication. Sorry for the lame names, this can get cleaned up with a tool once there are no more conflicts.
2013-03-23 16:12:03 -07:00
Doug Coleman
8c19602ae9
assocs: Add of and ?of. Change all the things at once! Fixes #701 .
2013-03-23 14:59:07 -07:00
John Benediktsson
a440b2a909
tools.completion: matching names.
2013-03-20 16:51:09 -07:00
Doug Coleman
ef98b7af53
tools, ui.tools: Rename complete-P"? to complete-pathname?
2013-03-20 16:18:30 -07:00
John Benediktsson
e35c142195
ui.tools.browser.popups: fix in/out links popups.
2013-03-12 09:10:16 -07:00
John Benediktsson
8c88e0448a
ui: change selected gadgets to a hash-set.
2013-03-10 16:13:30 -07:00
John Benediktsson
c0c769a7d8
compiler.units: changing definitions-changed to use a set.
2013-03-10 09:11:18 -07:00
John Benediktsson
5f165095dc
ui.tools.listener.completion: fix use of search-vocab-names.
2013-03-08 17:53:02 -08:00
John Benediktsson
295c87b8b1
ui.backend.cocoa.views: add platforms.txt.
2013-01-16 14:28:32 -08:00
John Benediktsson
3f987b2ffb
ui.backend.cocoa.views: fix build error on older OSX versions.
2013-01-16 10:46:39 -08:00
Jon Harper
8587b90930
X11, give same input as gtk when pressing shift, tab, alt..
2013-01-11 11:58:37 -08:00
Jon Harper
6afe04bfc1
X11 XK_ISO_Left_Tab is shift tab
2013-01-11 11:58:21 -08:00
John Benediktsson
a46bcfe85c
ui.gadgets.editors: fix stack effect of change-caret quotation.
2012-12-28 17:01:32 -08:00
John Benediktsson
43b541d11b
ui.baseline-alignment: fix float shift on retina.
2012-12-17 11:43:05 -08:00
John Benediktsson
e01ff14fa0
ui.text.core-text: fix jumping "def".
2012-12-11 08:06:02 -08:00
John Benediktsson
5fd5ab6711
Revert "ui.backend.cocoa.views: make compatible with 10.6."
...
This reverts commit 7f6f742fc3
.
2012-11-29 18:43:39 -08:00
John Benediktsson
5b5ee71a6a
ui.backend.cocoa.views: make compatible with 10.6.
2012-11-26 14:48:42 -08:00
Jon Harper
f5f767e0dc
winapi window resize
2012-11-26 14:39:55 -08:00
Jon Harper
26beb27680
OSX window resize
2012-11-26 14:39:55 -08:00
Jon Harper
8948e8a455
X11 window resize
2012-11-26 14:39:54 -08:00
Jon Harper
b023ebf7a5
Add resize-window and relayout-window
2012-11-26 14:39:54 -08:00
John Benediktsson
ab3d6b1d13
opengl: properly scale viewports.
2012-11-01 17:12:13 -07:00
John Benediktsson
43d91bcf08
ui.backend.cocoa.views: only set gl-scale-factor if > 1.0.
2012-11-01 16:59:45 -07:00
John Benediktsson
fcce5a2af9
core-text: retina displays should use "2x" fonts.
2012-11-01 16:28:33 -07:00
John Benediktsson
44b7bbc76d
opengl: adding support for a gl-scale-factor.
2012-11-01 14:48:12 -07:00
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