Commit Graph

1129 Commits (216f2332bee9005a3a16b3d457918660f93c5cf4)

Author SHA1 Message Date
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