Commit Graph

892 Commits (7f3efb3b5d8d6ddc18fb25dcd073072eee55977c)

Author SHA1 Message Date
Joe Groff 54ad8f9dd9 stupid mutable state 2009-06-18 22:01:31 -05:00
Joe Groff ff742a7d81 Merge branch 'master' of git://factorcode.org/git/factor 2009-06-18 21:20:49 -05:00
Joe Groff 3514e5fb47 make sliders work when range min isn't zero 2009-06-18 21:20:34 -05:00
Joe Groff 037ed45339 give range models a step parameter; use it on sliders so the thumb can step by any interval 2009-06-18 20:57:02 -05:00
Slava Pestov a99f8f5741 Fix hang when loading ui.backend.windows 2009-06-18 19:30:17 -05:00
Joe Groff 10ab07224f make windows without titlebars on win32 actually not have titlebars 2009-06-18 15:09:03 -05:00
Joe Groff 5f2bced2e3 docs for window-controls 2009-06-18 12:20:50 -05:00
Joe Groff 76b3e5fea2 win32 support for window-controls 2009-06-18 11:41:34 -05:00
Joe Groff b75999aac6 fix cocoa close-window to work on windows without close buttons 2009-06-17 23:00:30 -05:00
Joe Groff 3231fcd052 interface for controlling window controls (close, minimize, resize, titlebar, etc.). cocoa backend 2009-06-17 22:47:51 -05:00
Slava Pestov 82825caf80 ui.gadgets.sliders: forgot to update docs 2009-06-16 17:11:36 -05:00
Slava Pestov 37b01357ec Remove unused words discovered by Samuel Tardieu 2009-06-16 16:38:39 -05:00
Slava Pestov 92b436d7fb interleave: allow the 'between' quot to access the stack 2009-06-15 16:07:39 -05:00
Sam Anklesaria 63204e677a Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	unmaintained/modules/rpc-server/rpc-server.factor
2009-06-14 11:56:45 -05:00
Joe Groff d951052ab1 Merge branch 'master' of git://factorcode.org/git/factor 2009-06-03 11:03:45 -05:00
Joe Groff 0169934f6d null-world class for interactive OpenGL use 2009-06-03 11:03:34 -05:00
Daniel Ehrenberg ba5b582e01 Redoing images.loader to work with jpeg 2009-06-02 20:39:51 -05:00
Sam Anklesaria 3a8267f30f illusion-models selectively activated 2009-05-31 11:40:03 -05:00
Sam Anklesaria ef52d1b94d ui.gadgets.tables uses arrays, not vectors 2009-05-27 10:26:26 -05:00
Sam Anklesaria 9755132d01 removed occurences of peek in new tables 2009-05-26 16:56:05 -05:00
Sam Anklesaria e2c99be00b Merge branch 'master' of git://factorcode.org/git/factor 2009-05-26 16:32:34 -05:00
Sam Anklesaria e0216e2fe8 fixed hang bug in ui.gadgets.tables 2009-05-26 14:26:11 -05:00
Doug Coleman 407377fc98 rename peek -> last and update all usages 2009-05-25 16:38:33 -05:00
Sam Anklesaria 3b10d4d86e Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	basis/ui/gadgets/tables/tables.factor
	core/vocabs/parser/parser.factor
2009-05-24 18:57:22 -05:00
Joe Groff 3061cea61f disable WGL_ARB_pixel_format code path in windows UI backend 'cause ATI drivers are shit 2009-05-23 08:39:01 -05:00
Sam Anklesaria 9ffa0c32c8 ui.frp uses table constructor 2009-05-16 22:58:38 -05:00
Sam Anklesaria 8a50d2f8fd pseudo-slots vocabulary 2009-05-16 19:49:27 -05:00
Slava Pestov a9c339e583 Fix windows bootstrap 2009-05-16 11:20:08 -05:00
Sam Anklesaria 54ccd1039b tables selected-values type error fixed 2009-05-16 10:46:34 -05:00
Slava Pestov a0eb60906d Fix even more usings 2009-05-16 10:45:17 -05:00
Slava Pestov 132249660d Fix conflict 2009-05-16 09:48:42 -05:00
Slava Pestov 90560d3959 Better presentation for ambiguous-use-error, fix ui.tools.listener now that 'search' can throw, make USE: and UNUSE: ignore dupes 2009-05-16 09:34:42 -05:00
Slava Pestov 66a9416473 Update documentation for stricter vocabulary search path semantics 2009-05-16 00:29:21 -05:00
Sam Anklesaria b7c719c844 table single storage works for f 2009-05-15 20:02:07 -05:00
Sam Anklesaria 38e8565555 illusion models: two way arrows 2009-05-15 16:58:17 -05:00
Slava Pestov b62630b5ac Updating code in basis and extra for stricter vocab search path semantics 2009-05-14 23:23:06 -05:00
Slava Pestov b31fe9b8f2 Implement stricter vocab search path semantics, with a new API for vocabs.parser. Add map-find-last to sequences vocab 2009-05-14 22:31:29 -05:00
Joe Groff b3039786c2 don't unfocus the world if cocoa view has gone fullscreen; the original window isn't really associated with the view while fullscreen 2009-05-14 17:37:14 -05:00
Joe Groff 7fdd018aec set first responder on cocoa view back when returning from fullscreen mode. un-fullscreen the view if window is closed while view is fullscreen 2009-05-14 17:29:25 -05:00
Slava Pestov fb6df472a2 Cleaning up USING: lists for new strict semantics 2009-05-14 16:54:16 -05:00
Joe Groff 606ed8aaa1 spin on GetCurrentButtonState before warping cursor when grabbing cocoa input. this keeps the window from jumping if you click on its titlebar to focus 2009-05-14 15:36:18 -05:00
Joe Groff 92e508356e flip cursor warp point for cocoa mouse grab into y-goes-down space 2009-05-14 15:01:21 -05:00
Sam Anklesaria 33148a8964 tables shift-click hack for mac 2009-05-14 12:38:43 -05:00
Joe Groff 7c10b6d4d5 Merge branch 'master' of git://factorcode.org/git/factor 2009-05-14 10:09:16 -05:00
Joe Groff ba9ba118a6 don't assume world has children in debugger 2009-05-14 10:08:57 -05:00
Sam Anklesaria 44ddc7238b multiple selection of same row fixed 2009-05-14 10:01:37 -05:00
Slava Pestov 2ad45a24b3 ui.tools.debugger: don't throw an error if world has no children 2009-05-13 22:42:38 -05:00
Slava Pestov be17ed9132 Merge branch 'master' of git://factorcode.org/git/factor 2009-05-13 22:42:13 -05:00
Slava Pestov 06efcd1502 ui.backend.windows: create-window can now be called even when the UI is not running. Fixes game-input deploy test 2009-05-13 22:41:42 -05:00
Doug Coleman 0d8115a940 fullscreen* -> (fullscreen?), set-fullscreen* -> (set-fullscreen), fix jamshred screen toggling 2009-05-13 22:28:33 -05:00
Slava Pestov 0c1e519dcb Rename use+ to add-use, move search to vocabs.parser, EXCLUDE: bombs out if word doesn't exist 2009-05-13 22:15:48 -05:00
Sam Anklesaria 20d9b1fde3 table gadget row-action bug fixed 2009-05-13 22:15:33 -05:00
Doug Coleman 31e3fe5a2f rename set-fullscreen? to set-fullscreen, add a toggle-fullscreen word, fix windows backend for fullscreen* 2009-05-13 20:05:22 -05:00
Sam Anklesaria db76a7b98d Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	basis/io/launcher/launcher.factor
2009-05-13 20:03:22 -05:00
Sam Anklesaria 1a8fcee712 table views: selected value is always a vector 2009-05-13 17:17:10 -05:00
Sam Anklesaria 89efe27ab5 multiple selection in table views 2009-05-13 16:10:04 -05:00
Slava Pestov 560ad8b2e5 ui.gadgets.worlds: Remove unneeded ui.commands dependency. This reduces deployed image size 2009-05-12 04:02:24 -05:00
Slava Pestov 5b315efc81 Make focusable-child* work even if world has no children, to clean up a code duplication 2009-05-11 17:04:32 -05:00
Slava Pestov 0a6c9e08a9 Fix stack underflow in Windows UI backend 2009-05-11 16:19:41 -05:00
Slava Pestov f5af7977ec ui.debugger: new mini error dialog box for deployed apps 2009-05-11 16:18:47 -05:00
Joe Groff 87717fa78c Add user-visible grab-input and ungrab-input words to cleanly toggle grabbing on worlds 2009-05-11 13:18:38 -05:00
Joe Groff b070edc751 Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	basis/ui/gadgets/worlds/worlds.factor
2009-05-11 12:37:50 -05:00
Joe Groff 30bfce2ce0 improve error handling when begin-world fails 2009-05-11 12:35:41 -05:00
Slava Pestov 3fe5bb872b Deploy tool always uses optimizing compiler now 2009-05-11 00:32:22 -05:00
Slava Pestov dec89ac4fd Merge branch 'master' of git://factorcode.org/git/factor 2009-05-10 21:36:38 -05:00
Slava Pestov 9de34ab3cd Fix deployment of UI apps and implement various tricks to make deployed images smaller 2009-05-10 21:33:13 -05:00
U-C4\Administrator 5e07dc04a5 use change-global in a couple of places, formatting 2009-05-10 14:24:13 -05:00
Slava Pestov cda3685c4d Eliminate prettyprinter dependency from UI 2009-05-09 20:24:17 -05:00
Joe Groff 2295c967fa clip to window client area when grabbing on windows 2009-05-08 15:49:29 -05:00
Joe Groff 9992817c65 input grabbing support 2009-05-08 15:07:15 -05:00
Joe Groff 01546acb1c typo in cocoa pixel format stuff 2009-05-07 19:47:26 -05:00
Slava Pestov 51fff49708 find-window: don't bomb if a world has no child. Reported by Joe Groff 2009-05-06 23:40:27 -05:00
Slava Pestov fb5b48c71a Fix some test failures 2009-05-04 09:44:26 -05:00
Slava Pestov b2c3183b21 Split up tools.vocabs. Note that load-everything is now named load-all 2009-05-04 06:44:17 -05:00
Joe Groff 804d4aae81 docs for new world words 2009-05-03 23:01:26 -05:00
Joe Groff d546e8c89a nitpick ui.pixel-formats docs 2009-05-03 22:21:36 -05:00
Joe Groff 4504907736 add a resize-world generic to handle window resizes 2009-05-03 22:01:35 -05:00
Joe Groff 045635cdf2 yield during mouse-moved events in cocoa so gadgets have a chance to redraw 2009-05-03 20:33:03 -05:00
Joe Groff 585ea8da54 don't pprint gadgets with RECT: syntax 2009-05-03 18:32:35 -05:00
Joe Groff 474735a60c update status-bar for api changes. set the gl-context outside of draw-world* generic 2009-05-03 17:11:01 -05:00
Joe Groff 6ccd82faba world API changes: open-window can take a world-attributes tuple with additional parameters besides title. new begin-world, end-world, and draw-world* generics 2009-05-03 15:52:26 -05:00
Joe Groff fa524ce213 fix circular dependency for reals 2009-05-02 22:13:01 -05:00
Joe Groff a0c8d0ae9e fix x11 backend bugs 2009-05-02 21:55:19 -05:00
Joe Groff cc244cb672 break code->code docs<-docs dependency 2009-05-02 21:54:25 -05:00
Joe Groff 644c42d4e3 "ui-backend" variable can't be used to choose text backend 2009-05-02 21:52:18 -05:00
U-FROGGER\erg aa142a1b52 fix windows ui 2009-05-02 20:36:31 -05:00
U-FROGGER\erg 0668b1252e Merge branch 'master' of git://factorcode.org/git/factor 2009-05-02 20:12:06 -05:00
Joe Groff 886d087332 ui.backend.windows code cleanup 2009-05-02 19:44:08 -05:00
Joe Groff af6bf6603e docs for ui.pixel-formats 2009-05-02 18:22:45 -05:00
Joe Groff d96f6d3197 oops, forgot backing-store support on windows. also "robust" is useless 2009-05-02 17:54:45 -05:00
Joe Groff a7e2632faf check-world-pixel-format word that world subclasses can override to verify that the chosen pixel format meets their needs 2009-05-02 16:46:58 -05:00
Joe Groff 623b16d048 X11 backend for pixel formats 2009-05-02 16:39:31 -05:00
Joe Groff 95f1ca3d9f windows pixel-format backend 2009-05-02 13:42:10 -05:00
Joe Groff 621fed2dd5 need to pass world as arg to pixel-format hooks 2009-05-02 12:31:33 -05:00
Joe Groff 54e9447ec4 adjust pixel format syntax. override offscreen-world pixel-format-attributes instead of special-casing 2009-05-01 20:07:14 -05:00
Doug Coleman ce7ad9a42d fix unit tests that call lines or contents 2009-05-01 16:38:04 -05:00
Joe Groff 2a7c26c20a shove cocoa pixel format attribute conversion into a functor so we can reuse it 2009-05-01 16:33:49 -05:00
Joe Groff cf6e78303b don't really want that read-only! 2009-05-01 13:21:57 -05:00
Joe Groff c8739f5430 Merge branch 'master' of http://factorcode.org/git/factor 2009-05-01 13:01:04 -05:00
Joe Groff b45ea14d39 compilation fixes 2009-05-01 12:56:52 -05:00
Joe Groff ba8abd6cad cocoa backend support for ui.pixel-formats; world-pixel-format-attributes generic 2009-05-01 09:09:38 -05:00
Slava Pestov 31c2ede034 ui.gadgets.sliders: fix usability issue 2009-05-01 07:43:50 -05:00
Slava Pestov eed7b20c7f ui.tools.browser: don't add current page to history if re-displaying it again 2009-05-01 07:36:47 -05:00
Slava Pestov cc5655a557 gesture>string: S+C+z not S+C+Z 2009-05-01 07:36:31 -05:00
Slava Pestov a1d28c8243 Improve UI listener completion behavior 2009-05-01 07:29:03 -05:00
Slava Pestov 9bb70c2c4d Update usages of global ... change-at to use the new change-global combinator 2009-04-30 21:38:14 -05:00
Slava Pestov 59bec433f4 Add unportable tag to merger and fix indentation in ui.gadgets.tables 2009-04-30 21:37:53 -05:00
Joe Groff 49674dc8ad Merge branch 'master' of git://factorcode.org/git/factor 2009-04-30 21:36:54 -05:00
Slava Pestov f423a0d117 Merge git://github.com/bogiebro/factor into bogiebro2 2009-04-30 21:22:38 -05:00
Slava Pestov d93514d47d Merge branch 'master' of git://factorcode.org/git/factor 2009-04-30 21:13:36 -05:00
Joe Groff 76d375b56b OS-independent pixel formats abstraction 2009-04-30 20:31:33 -05:00
Doug Coleman 4a5009048f support fullscreen mode in windows ui 2009-04-30 15:22:32 -05:00
Doug Coleman 8ab4d39036 move windows error handling to windows.errors and update usages. 2009-04-30 09:36:25 -05:00
Sam Anklesaria 3cf4f45416 comboboxes vocab + ui authors, summaries 2009-04-29 14:19:30 -05:00
Slava Pestov 7aa65b5b5f Fixing new method dispatch implementation 2009-04-25 19:41:27 -05:00
Slava Pestov 3dc9fdf9db Fleshed out new dispatch code 2009-04-24 20:43:01 -05:00
Slava Pestov eb4981fb00 ui.gadgets.tables: if model changes, try to preserve selection 2009-04-24 01:14:02 -05:00
Slava Pestov cc5b1c1e2d Split off some code into tools.errors.model and update UI listener's error summary when errors change 2009-04-23 22:36:34 -05:00
Slava Pestov 5649cc7a0a Compiler warnings are no more 2009-04-23 22:17:25 -05:00
Slava Pestov cd91b2e755 tools.errors: fix printing of errors with no associated source file 2009-04-22 10:46:50 -05:00
Slava Pestov 48e70b65fa Move cross-referencing stuff to tools.crossref since compiler doesn't depend on it anymore, and compute cross-referencing index as needed; reduces image size by ~4Mb 2009-04-22 04:20:38 -05:00
Slava Pestov b1d0066baa ui.tools.listener: better error summary display 2009-04-21 00:27:21 -05:00
Slava Pestov 782a2beff3 tweak error list sorting, listener now shows error list summary in a separate pane 2009-04-21 00:14:30 -05:00
Slava Pestov 05f3f9dcb9 Fixing unit tests for stack effect inference changes 2009-04-20 21:15:19 -05:00
Slava Pestov ec72f33fcb Documentation updates 2009-04-20 02:23:52 -05:00
Slava Pestov 97b19ff025 Fix typo in ui.text docs 2009-04-19 03:04:41 -05:00
Slava Pestov 1c123e7e22 Remove some usages of -rot and tuck 2009-04-18 21:53:22 -05:00
Slava Pestov 5579842d7a Fix USING: 2009-04-18 02:52:29 -05:00
Slava Pestov 4f74810c15 Split off x11 vocab from x11.xlib, and add x11.unix for event loop integration 2009-04-18 01:56:29 -05:00
Slava Pestov f80c89f128 Add fatal? flag to error types; non-fatal errors are hidden by default in error list, not shown in summary 2009-04-17 16:16:12 -05:00
Slava Pestov ce76331fd6 Fixing more unit tests 2009-04-17 15:50:03 -05:00
Doug Coleman 5c345360d0 unbreak my heart, say you'll love me again, factor bootstrap 2009-04-16 17:03:03 -05:00
Slava Pestov df18c0b6e7 Making more code infer 2009-04-15 19:03:44 -05:00
Slava Pestov c0874e64cc Documentation updates 2009-04-15 18:19:35 -05:00
Slava Pestov bab6e8fe08 Fix rounding error 2009-04-15 17:14:10 -05:00
Slava Pestov b5b80cd0e9 Documentation updates 2009-04-14 20:36:10 -05:00
Slava Pestov 2a5a5ee376 Fix rounding error 2009-04-14 15:14:57 -05:00
Slava Pestov c01266300a Merge branch 'master' into smarter_error_list 2009-04-13 20:08:48 -05:00
Slava Pestov 6aa3b7cd3d Merge branch 'emacs' of http://git.hacks-galore.org/jao/factor 2009-04-13 19:50:23 -05:00
Slava Pestov ca1e8e0517 ui.tools.error-list: better sorting and output 2009-04-13 19:42:53 -05:00
Slava Pestov fd5ab25a09 Better handling of errors without file/line info 2009-04-13 17:19:32 -05:00
Slava Pestov bfe0787454 Merge branch 'master' into smarter_error_list 2009-04-13 15:23:27 -05:00
Slava Pestov 6efbe50543 Merge branch 'master' of git://factorcode.org/git/factor 2009-04-13 15:21:20 -05:00
Slava Pestov c9272501f5 ui.gadgets.packs: add failing unit test 2009-04-13 14:41:08 -05:00
Slava Pestov 2abdf4c138 UI error summary now shows icons for all error types 2009-04-13 14:40:26 -05:00
Slava Pestov 3b1f3c08a4 Fix window positioning on OS X 2009-04-13 03:16:57 -05:00
Slava Pestov cdd372314b Working on error list change notification 2009-04-12 23:01:08 -05:00
Jose A. Ortega Ruiz b6a8e023a5 Fix: setting WM_CLASS in X11 backend using UTF8 string 2009-04-13 01:17:04 +02:00
Slava Pestov 5aab0078a0 Make more code infer 2009-04-12 16:08:54 -05:00
Slava Pestov c4be8bd65a Refactor error code so that error types are registered; listener prints a summary of errors 2009-04-12 16:08:46 -05:00