Commit Graph

222 Commits (d4af92f93307338ccde5fe91b7c35a324d814ea5)

Author SHA1 Message Date
Slava Pestov 1b9780fba9 Merge branch 'master' of git://github.com/erg/factor into erg 2010-06-22 01:05:13 -04:00
Slava Pestov 98ebd4d0e1 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
Anton Gorenko a510dd579b 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
Anton Gorenko 4798805c2f ui.backend.gtk: working on input methods... 2010-06-16 19:25:32 +06:00
Anton Gorenko 7050faa96d ui.backend.gtk: change authors list 2010-06-13 16:53:24 +06:00
Anton Gorenko 7cc5892993 Merge branch 'gtk' of git://github.com/Blei/factor 2010-06-13 16:20:32 +06:00
Anton Gorenko 95d9002e73 ui.backend.gtk: add destructor in clipboard-contents 2010-06-13 16:18:51 +06:00
Philipp Brüschweiler 728cba1584 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 7efbe9d59e 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 a2acf3b215 ui.backend.gtk: add simple input method support (GtkIMContextSimple) 2010-06-11 19:43:11 +06:00
Doug Coleman f6e3f90142 Add a remove-wm-handler word to windows ui backend 2010-06-10 16:06:38 -05:00
Philipp Brüschweiler 073aa02546 ui.backend.gtk: notify input methods of cursor locations 2010-06-10 22:35:08 +02:00
Philipp Brüschweiler 3636344e0a ui.backend.gtk: preliminary input methods support 2010-06-10 00:16:31 +02:00
Anton Gorenko 168a5688af ui.backend.gtk: add auto-position for worlds with { 0 0 } in window-loc 2010-06-08 17:41:10 +06:00
Anton Gorenko 5b68880aa4 ui.backend.gtk: fix (grab-input) and (ungrab-input) 2010-06-08 13:21:45 +06:00
Anton Gorenko 8e8fd25765 Merge branch 'master' of git://factorcode.org/git/factor 2010-06-07 23:12:23 +06:00
Anton Gorenko 3ab42f92b7 ui.backend.gtk: fix incorrect resizing of windows 2010-06-07 22:46:10 +06:00
Anton Gorenko fa2d0d3c7f ui.backend.gtk: add more advanced timer for event loop 2010-06-06 14:19:46 +06:00
Joe Groff eab513cce5 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 8c35d03645 ui.backend.gtk: add pixel-format support 2010-06-02 13:30:05 +06:00
Slava Pestov b1a601b2cb ui.backend.x11: fix typo 2010-06-02 03:13:57 -04:00
Slava Pestov 5f7949197b ui.backend.windows: remove a usage of rot 2010-06-02 02:59:58 -04:00
Slava Pestov af7df6ec67 ui.backend.x11: fixing raise-window* 2010-06-02 02:59:57 -04:00
Anton Gorenko 89c6f98791 ui.backend.gtk: add rough implementation of non-blocking IO 2010-05-31 00:18:08 +06:00
Slava Pestov b9b72a6efa 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 553f6d516a change directories structure (add */ffi/ffi.factor files) 2010-05-27 00:17:14 +06:00
Slava Pestov ceba2e1c6f 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
Anton Gorenko c3acab8215 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 7cd0637d0d add window-controls implementation (without 'textured-background') 2010-05-24 16:08:26 +06:00
Slava Pestov a3e5e64eab ui.backend.x11: fix load error 2010-05-23 22:08:24 -04:00
Anton Gorenko ad8cda97a5 fix Alt-combos bug 2010-05-23 21:26:11 +06:00
Anton Gorenko a7bd678c1b Gtk-based ui backend 2010-05-23 16:09:26 +06:00
Slava Pestov f04ae609c8 Fixes for out parameter changes 2010-05-23 03:27:40 -05:00
Slava Pestov 5d9993d46f Updating code to use with-out-parameters 2010-05-23 03:07:47 -04:00
Slava Pestov 40f58f27d6 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
Slava Pestov bf03b42745 ui.backend.windows: faster wheel mouse scroll rate 2010-05-07 18:26:16 -04:00
Slava Pestov d2d466de29 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
unknown be69c02803 Fix enter-fullscreen on windows 2010-04-30 08:06:06 -05:00
Slava Pestov c5fef60396 ui.backend.x11: fix load error 2010-04-29 03:59:31 -04:00
Slava Pestov fb8d418f13 ui.backend.windows: fix compile error 2010-04-29 02:20:17 -05:00
Slava Pestov 54260643c3 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 c434fbf47c ui.backend.x11: search path for xmessage rather than hardcoding path 2010-04-25 12:18:45 -07:00
Slava Pestov 3b92172115 Replace 'untested' tag with 'not loaded' and 'not tested' tags 2010-04-13 18:43:01 -07:00
Slava Pestov 6fd9c27971 ui.backend.windows: fix icon name 2010-04-11 15:03:38 -05:00
Joe Groff ca9614e746 Merge branch 'master' into abi-symbols 2010-04-01 15:28:36 -07:00
Doug Coleman 636f2ed2e5 Use flags{ instead of flags all over the place 2010-04-01 14:44:03 -05:00
Joe Groff 1d06be5021 "stdcall" -> stdcall 2010-03-31 19:29:04 -07:00
Daniel Ehrenberg 85d698ab9c Fixing vocab ambiguities in linux and windows-specific vocabs 2010-03-17 00:22:48 -04:00
Joe Groff e1a15af319 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
Slava Pestov 2dde82ffff 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 b613dffa1f tidy up load errors in ui.backend.x11 2010-02-24 00:51:02 -08:00
Joe Groff eb93f68302 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 9186c3c682 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 47b4b10d03 scrub memory>struct calls made redundant 2010-02-22 12:22:29 -08:00
Slava Pestov 0aad3e6e12 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
Erik Charlebois 1c7060c313 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
Slava Pestov dca4463240 ui.backend.cocoa.tools: use interactive-vocabs for 'evaluate selection' service 2010-02-10 11:47:06 +13:00
erikc 3c396c3533 Don't FEP on unhandled case for WM_APPCOMMAND 2010-02-05 23:50:58 -08:00
erikc 6933dd6a1d Map WM_APPCOMMAND browser backward and forward messages to action-left and action-right. 2010-01-19 18:28:53 -08:00
Slava Pestov 08b6ebc7fa Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Doug Coleman 3323072613 Merge branch 'master' into startup
Conflicts:
	core/bootstrap/primitives.factor
	vm/run.hpp
2009-11-15 02:52:50 -06:00
Doug Coleman b5fd809209 memq? -> member-eq?, sorted-memq? -> sorted-member-eq? 2009-10-28 15:02:00 -05:00
Slava Pestov 45bc6e3c3e delete -> remove! 2009-10-27 23:25:35 -05:00
Joe Groff cee5862b69 update a bunch of alien-callbacks and alien-indirects to use c-type words 2009-10-21 21:10:11 -05:00
Joe Groff dbd2f1b7f2 update cocoa bridge to use c-type words 2009-10-21 18:17:29 -05:00
Doug Coleman 6fa23d7ea4 change add-init-hook to add-startup-hook, new add-shutdown-hook word 2009-10-19 22:17:02 -04:00
Doug Coleman bd31538cd4 fix using 2009-10-05 13:18:45 -05:00
Doug Coleman 1f0f72b4c0 use 1&& in a few places, clean up some more ui code 2009-10-04 17:50:34 -05:00
Joe Groff 74d60f94be fix windows 2009-09-25 10:00:23 -05:00
Joe Groff 6d47f2abe7 clean up textured window code 2009-09-25 09:42:09 -05:00
Joe Groff 484b9131eb fix cocoa bootstrap 2009-09-24 20:25:41 -05:00
Joe Groff 61e683643d 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 6bbb22725c tweak textured windows on windows 2009-09-24 13:26:15 -05:00
Joe Groff 6ebb13dd2e support textured windows on os x and windows 6.x 2009-09-24 13:05:27 -05:00
Joe Groff 72978b63e9 update windows.types structs 2009-09-18 19:12:31 -05:00
Joe Groff 4a1422e7fe 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
Slava Pestov 527db8995a 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
Slava Pestov 5bec850410 ui.backend.x11: fix set-fullscreen 2009-09-04 12:35:45 -04:00
Joe Groff b06626ee46 fix some things that broke in the windows UI/game-input backends 2009-08-31 12:45:39 -05:00
Slava Pestov 87e1703821 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-31 00:24:46 -04:00
Slava Pestov d4b78a83e2 x11.events, ui.backend.x11: actually make it work 2009-08-31 00:24:25 -04:00
Slava Pestov adcd269a99 x11 and ui.backend.x11: update to use new structs 2009-08-30 22:55:19 -05:00
Doug Coleman 5fd8f1f762 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-29 23:39:20 -05:00
Doug Coleman b70b6ae7da more struct changes 2009-08-27 21:43:29 -05:00
Doug Coleman 76ee24f482 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-27 21:40:11 -05:00
Joe Groff 3859579c72 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-27 21:17:17 -05:00
Joe Groff a74a0151c3 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 482c632fe5 update RECT for new structs 2009-08-27 21:16:28 -05:00
Doug Coleman a51c8d27f4 update WNDCLASSEX 2009-08-27 20:43:42 -05:00
Doug Coleman abb34b5ea4 TRACKMOUSEVENT uses <struct> now 2009-08-27 20:39:37 -05:00
Doug Coleman 850475c2ab newstructify PIXELFORMAT 2009-08-27 20:35:37 -05:00
Joe Groff 8e85b5ef96 Merge branch 'master' of git://factorcode.org/git/factor 2009-08-27 19:23:20 -05:00
Joe Groff ee8c48bbb8 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 49af91cfd0 spacing 2009-08-27 11:43:19 -05:00
Slava Pestov 6380e5be4d 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
Doug Coleman d1ce837569 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
Joe Groff 823616ddc6 put a slot on worlds for window-resources which get disposed when window is closed 2009-07-01 13:54:42 -05:00
Joe Groff 936a72db60 validate cocoa menu items with handles-gesture? 2009-06-22 20:16:52 -05:00
Joe Groff fbafdea47e bind file management action gestures to standard cocoa menu items 2009-06-21 20:53:11 -05:00
Slava Pestov 28d7b8d5f5 Fix hang when loading ui.backend.windows 2009-06-18 19:30:17 -05:00