John Benediktsson
7577837621
cocoa: maybe this is cleaner...
2013-03-30 13:44:11 -07:00
John Benediktsson
c51b176964
cocoa: add ?-> to remember messages being used at runtime.
2013-03-30 13:14:51 -07:00
John Benediktsson
0e954554c8
ui.backend.cocoa.views: more robust respondsToSelector: (thanks @jckarter).
2013-03-29 20:34:24 -07:00
John Benediktsson
3394abc3b6
ui.backend.cocoa.views: spacing.
2013-03-29 14:47:53 -07:00
John Benediktsson
b06d1bd16b
ui.backend.cocoa.views: simplify and add os version check.
2013-03-29 14:29:41 -07:00
John Benediktsson
747fd7531c
ui.backend.cocoa.views: maybe this works on 10.6.
2013-03-29 14:18:57 -07:00
John Benediktsson
a99aaa79c7
ui.backend.cocoa.views: add platforms.txt.
2013-01-16 14:28:32 -08:00
John Benediktsson
3587ae7826
ui.backend.cocoa.views: fix build error on older OSX versions.
2013-01-16 10:46:39 -08:00
Jon Harper
999fba8ec4
X11, give same input as gtk when pressing shift, tab, alt..
2013-01-11 11:58:37 -08:00
Jon Harper
9c8d3d8c0d
X11 XK_ISO_Left_Tab is shift tab
2013-01-11 11:58:21 -08:00
John Benediktsson
30b779a700
Revert "ui.backend.cocoa.views: make compatible with 10.6."
...
This reverts commit 7f6f742fc3 .
2012-11-29 18:43:39 -08:00
John Benediktsson
7f6f742fc3
ui.backend.cocoa.views: make compatible with 10.6.
2012-11-26 14:48:42 -08:00
Jon Harper
fbdcc2eb42
winapi window resize
2012-11-26 14:39:55 -08:00
Jon Harper
d72f57eb8e
OSX window resize
2012-11-26 14:39:55 -08:00
Jon Harper
d48c0c849e
X11 window resize
2012-11-26 14:39:54 -08:00
Jon Harper
64373cee20
Add resize-window and relayout-window
2012-11-26 14:39:54 -08:00
John Benediktsson
890700df95
ui.backend.cocoa.views: only set gl-scale-factor if > 1.0.
2012-11-01 16:59:45 -07:00
John Benediktsson
3b1b118f38
core-text: retina displays should use "2x" fonts.
2012-11-01 16:28:33 -07:00
John Benediktsson
7bf38799e4
opengl: adding support for a gl-scale-factor.
2012-11-01 14:48:12 -07:00
John Benediktsson
03de9418a3
ui.backend.cocoa.views: [self setWantsBestResolutionOpenGLSurface:YES];
2012-11-01 14:29:03 -07:00
Doug Coleman
f955178bc4
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
43ea17c755
windows: Attempt to fix circularity.
2012-10-24 19:03:25 -07:00
Doug Coleman
1c4b2bfa31
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
Jon Harper
8ff5d1cdbc
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
63f8a3720e
ui: hand-loc and hand-click-loc should be global.
2012-09-21 18:32:43 -07:00
John Benediktsson
3e406e3101
ui: use "windows get-global".
2012-09-21 15:39:49 -07:00
John Benediktsson
b75a45aeb1
ui.backend.gtk.io.unix: switch to "mx get-global".
2012-08-01 16:22:23 -07:00
John Benediktsson
e654e4afd9
Using "same?" in more places.
2012-07-21 10:22:44 -07:00
Doug Coleman
5e6aa80c51
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
bbf5cfbc4d
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
Philipp Brüschweiler
7dded87bf1
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
eee483654a
use radix literals
2011-11-23 19:03:40 -08:00
Joe Groff
ec079dfacc
ui.backend.cocoa.views: clickthrough is bullshit
...
I don't care what Slava thinks
2011-11-23 11:29:03 -08:00
John Benediktsson
0e3d598e69
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
Joe Groff
571ef865e6
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
Joe Groff
219af3c664
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
Slava Pestov
dd49aa39ad
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
e80b7d758c
ui.backend.gtk: remove unused vocabs from USING: list
2011-09-01 22:31:45 -07:00
Slava Pestov
14fdc5f522
ui.backend.gtk: remove unneeded vocabs from USING:, add platforms.txt
2011-09-01 20:15:23 -07:00
Slava Pestov
b36f7442b4
Fixes #32 - double clicks were not handled properly in ui.backend.gtk
2011-08-27 17:06:53 -07:00
Joe Groff
3757210244
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
Erik Charlebois
c517071969
Convert side mouse buttons to backward/forward
2011-05-23 23:36:14 -04:00
Slava Pestov
577a82380c
ui.backend.cocoa: simplify system-alert implementation now that callbacks bug has been fixed
2011-04-16 19:12:08 -07:00
Slava Pestov
39d029e8a5
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
cc7b280046
Merge commit 'otoburb/master' into merge-otoburb
...
Conflicts:
basis/ui/backend/gtk/gtk.factor
2011-04-06 17:54:00 -04:00
otoburb
ef79f32ec9
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
40fa61ec89
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
Anton Gorenko
d86a056f90
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
f168803a54
ui.backend.gtk: split off unix io support into ui.backend.gtk.io.unix;
2011-01-26 21:00:35 +06:00
Anton Gorenko
af877bad30
ui.backend.gtk: update for alien.data changes ('<int>' -> 'int <ref>', etc.);
2011-01-16 14:50:18 +06:00