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