Commit Graph

906 Commits (ae30307a2c607be24c1f0fe0ee760dc40f04649f)

Author SHA1 Message Date
Slava Pestov ba7618e943 Remove A+s shortcut for saving image in UI 2009-07-07 03:49:10 -05:00
Slava Pestov 85cc601cca ui.gadgets.tables: clicking in empty area no longer notifies selection model 2009-07-06 23:19:26 -05:00
Joe Groff e2c6f3fdb9 Merge branch 'master' of git://factorcode.org/git/factor 2009-07-04 19:20:18 -05:00
Joe Groff 5c69a6358e destroy window-resources in reverse order 2009-07-04 19:13:53 -05:00
Slava Pestov fb3c7b7902 ui.gadgets.panes: Shift-clicking to extend the selection in a pane should not focus the pane's input area 2009-07-03 22:41:32 -05:00
Slava Pestov 3aea2482e7 ui.tools.listener.completion: if listener is not accepting input, pressing TAB would throw an error (reported by Doug Coleman) 2009-07-03 22:35:34 -05:00
Slava Pestov 21d69577f6 ui.tools.listener.history: Fix bug reported by Doug 2009-07-03 21:19:17 -05:00
Joe Groff f933d4e27b pardon my dust 2009-07-01 17:57:21 -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
Sam Anklesaria a1b7553a37 Merge branch 'master' of git://factorcode.org/git/factor 2009-06-26 15:52:48 -05:00
Joe Groff 936a72db60 validate cocoa menu items with handles-gesture? 2009-06-22 20:16:52 -05:00
Joe Groff 57ee79386a some new UI words: handles-gesture? checks whether a gesture will be handled. topmost-window returns the topmost world object 2009-06-22 19:01:50 -05:00
Joe Groff fbafdea47e bind file management action gestures to standard cocoa menu items 2009-06-21 20:53:11 -05:00
Joe Groff 0142a5b947 more action gestures. btw "redo" is ^y (not ^Z) outside of OS X 2009-06-20 19:30:34 -05:00
Joe Groff d4ce348c50 stupid mutable state 2009-06-18 22:01:31 -05:00
Joe Groff e4ba9315a6 Merge branch 'master' of git://factorcode.org/git/factor 2009-06-18 21:20:49 -05:00
Joe Groff d39e2f0f3e make sliders work when range min isn't zero 2009-06-18 21:20:34 -05:00
Joe Groff c58a302d7e 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 28d7b8d5f5 Fix hang when loading ui.backend.windows 2009-06-18 19:30:17 -05:00
Joe Groff ff09c17fcd make windows without titlebars on win32 actually not have titlebars 2009-06-18 15:09:03 -05:00
Joe Groff 2701781e30 docs for window-controls 2009-06-18 12:20:50 -05:00
Joe Groff 62ed8d1404 win32 support for window-controls 2009-06-18 11:41:34 -05:00
Joe Groff 6e334026bc fix cocoa close-window to work on windows without close buttons 2009-06-17 23:00:30 -05:00
Joe Groff 7d1b67b098 interface for controlling window controls (close, minimize, resize, titlebar, etc.). cocoa backend 2009-06-17 22:47:51 -05:00
Slava Pestov 277808a8e0 ui.gadgets.sliders: forgot to update docs 2009-06-16 17:11:36 -05:00
Slava Pestov becaa7985d Remove unused words discovered by Samuel Tardieu 2009-06-16 16:38:39 -05:00
Slava Pestov c92ed59a4e interleave: allow the 'between' quot to access the stack 2009-06-15 16:07:39 -05:00
Sam Anklesaria 218d80eaf2 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 b006ecba23 Merge branch 'master' of git://factorcode.org/git/factor 2009-06-03 11:03:45 -05:00
Joe Groff d6f4c3ae44 null-world class for interactive OpenGL use 2009-06-03 11:03:34 -05:00
Daniel Ehrenberg a1ca9fd51d Redoing images.loader to work with jpeg 2009-06-02 20:39:51 -05:00
Sam Anklesaria a8536a42f2 illusion-models selectively activated 2009-05-31 11:40:03 -05:00
Sam Anklesaria e7c2f0687a ui.gadgets.tables uses arrays, not vectors 2009-05-27 10:26:26 -05:00
Sam Anklesaria 1416f9564e removed occurences of peek in new tables 2009-05-26 16:56:05 -05:00
Sam Anklesaria 02daceaa51 Merge branch 'master' of git://factorcode.org/git/factor 2009-05-26 16:32:34 -05:00
Sam Anklesaria 97888ee017 fixed hang bug in ui.gadgets.tables 2009-05-26 14:26:11 -05:00
Doug Coleman 8da9d0f203 rename peek -> last and update all usages 2009-05-25 16:38:33 -05:00
Sam Anklesaria 21d3d12ea1 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 3a8fb29d70 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 176093d059 ui.frp uses table constructor 2009-05-16 22:58:38 -05:00
Sam Anklesaria f656c8a5e4 pseudo-slots vocabulary 2009-05-16 19:49:27 -05:00
Slava Pestov 52ea03a311 Fix windows bootstrap 2009-05-16 11:20:08 -05:00
Sam Anklesaria 10ac25b650 tables selected-values type error fixed 2009-05-16 10:46:34 -05:00
Slava Pestov 80d6233913 Fix even more usings 2009-05-16 10:45:17 -05:00
Slava Pestov 03e6ab0372 Fix conflict 2009-05-16 09:48:42 -05:00
Slava Pestov 836c5e07e7 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 ba04d5af1e Update documentation for stricter vocabulary search path semantics 2009-05-16 00:29:21 -05:00
Sam Anklesaria d582fd4d8d table single storage works for f 2009-05-15 20:02:07 -05:00
Sam Anklesaria a8f46124fb illusion models: two way arrows 2009-05-15 16:58:17 -05:00
Slava Pestov daec154817 Updating code in basis and extra for stricter vocab search path semantics 2009-05-14 23:23:06 -05:00
Slava Pestov 3ebd4594e8 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 698eccd5ab 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 fc59ee2e4a 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 d7db5edadc Cleaning up USING: lists for new strict semantics 2009-05-14 16:54:16 -05:00
Joe Groff 681d5253c4 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 a229ec788a flip cursor warp point for cocoa mouse grab into y-goes-down space 2009-05-14 15:01:21 -05:00
Sam Anklesaria 1d34f8a56d tables shift-click hack for mac 2009-05-14 12:38:43 -05:00
Joe Groff 32ba32a874 Merge branch 'master' of git://factorcode.org/git/factor 2009-05-14 10:09:16 -05:00
Joe Groff accc1e018e don't assume world has children in debugger 2009-05-14 10:08:57 -05:00
Sam Anklesaria 2b80cf1777 multiple selection of same row fixed 2009-05-14 10:01:37 -05:00
Slava Pestov 73e3f576c9 ui.tools.debugger: don't throw an error if world has no children 2009-05-13 22:42:38 -05:00
Slava Pestov 140240f868 Merge branch 'master' of git://factorcode.org/git/factor 2009-05-13 22:42:13 -05:00
Slava Pestov 2f4215a499 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 73f4b0d781 fullscreen* -> (fullscreen?), set-fullscreen* -> (set-fullscreen), fix jamshred screen toggling 2009-05-13 22:28:33 -05:00
Slava Pestov b1bcc44dd5 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 e9a09db47c table gadget row-action bug fixed 2009-05-13 22:15:33 -05:00
Doug Coleman cc35bb1311 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 70700c1bd2 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 61ee3fbf26 table views: selected value is always a vector 2009-05-13 17:17:10 -05:00
Sam Anklesaria bedbc01ae0 multiple selection in table views 2009-05-13 16:10:04 -05:00
Slava Pestov 18af6bb16a ui.gadgets.worlds: Remove unneeded ui.commands dependency. This reduces deployed image size 2009-05-12 04:02:24 -05:00
Slava Pestov 1f9fa090a3 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 0011fb644d Fix stack underflow in Windows UI backend 2009-05-11 16:19:41 -05:00
Slava Pestov 4e04a78b2f ui.debugger: new mini error dialog box for deployed apps 2009-05-11 16:18:47 -05:00
Joe Groff 09d78877b1 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 30e8703772 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 33dc2fd715 improve error handling when begin-world fails 2009-05-11 12:35:41 -05:00
Slava Pestov 0f6b2f69fa Deploy tool always uses optimizing compiler now 2009-05-11 00:32:22 -05:00
Slava Pestov 00ef600da7 Merge branch 'master' of git://factorcode.org/git/factor 2009-05-10 21:36:38 -05:00
Slava Pestov 64a9585dd0 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 ca9a29ea85 use change-global in a couple of places, formatting 2009-05-10 14:24:13 -05:00
Slava Pestov b86a419b6e Eliminate prettyprinter dependency from UI 2009-05-09 20:24:17 -05:00
Joe Groff 977cd6c147 clip to window client area when grabbing on windows 2009-05-08 15:49:29 -05:00
Joe Groff 3a2a1a6a62 input grabbing support 2009-05-08 15:07:15 -05:00
Joe Groff cd7e2aecd2 typo in cocoa pixel format stuff 2009-05-07 19:47:26 -05:00
Slava Pestov 4950ca76c2 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 c68e05d3d8 Fix some test failures 2009-05-04 09:44:26 -05:00
Slava Pestov a776dffeb6 Split up tools.vocabs. Note that load-everything is now named load-all 2009-05-04 06:44:17 -05:00
Joe Groff 69fa47b250 docs for new world words 2009-05-03 23:01:26 -05:00
Joe Groff 5a68ac55ce nitpick ui.pixel-formats docs 2009-05-03 22:21:36 -05:00
Joe Groff 86ec61ff1a add a resize-world generic to handle window resizes 2009-05-03 22:01:35 -05:00
Joe Groff 087e0ca745 yield during mouse-moved events in cocoa so gadgets have a chance to redraw 2009-05-03 20:33:03 -05:00
Joe Groff f4a8e84259 don't pprint gadgets with RECT: syntax 2009-05-03 18:32:35 -05:00
Joe Groff f8504bc4d5 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 14504ace4b 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 c669a00e42 fix circular dependency for reals 2009-05-02 22:13:01 -05:00
Joe Groff 4a302d6a09 fix x11 backend bugs 2009-05-02 21:55:19 -05:00
Joe Groff bb48fd2e2b break code->code docs<-docs dependency 2009-05-02 21:54:25 -05:00
Joe Groff f87017121d "ui-backend" variable can't be used to choose text backend 2009-05-02 21:52:18 -05:00
U-FROGGER\erg 7d53445aad fix windows ui 2009-05-02 20:36:31 -05:00
U-FROGGER\erg 111f51f773 Merge branch 'master' of git://factorcode.org/git/factor 2009-05-02 20:12:06 -05:00
Joe Groff a6861ecc87 ui.backend.windows code cleanup 2009-05-02 19:44:08 -05:00
Joe Groff e794afdb6a docs for ui.pixel-formats 2009-05-02 18:22:45 -05:00
Joe Groff b4deae664f oops, forgot backing-store support on windows. also "robust" is useless 2009-05-02 17:54:45 -05:00
Joe Groff 3c54d3d7df 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 dc5cd04a41 X11 backend for pixel formats 2009-05-02 16:39:31 -05:00
Joe Groff 2f59f39376 windows pixel-format backend 2009-05-02 13:42:10 -05:00
Joe Groff ce9611a390 need to pass world as arg to pixel-format hooks 2009-05-02 12:31:33 -05:00
Joe Groff 9c043282dc adjust pixel format syntax. override offscreen-world pixel-format-attributes instead of special-casing 2009-05-01 20:07:14 -05:00
Doug Coleman ed5f913aab fix unit tests that call lines or contents 2009-05-01 16:38:04 -05:00
Joe Groff 7adf836542 shove cocoa pixel format attribute conversion into a functor so we can reuse it 2009-05-01 16:33:49 -05:00
Joe Groff ec415bb3ee don't really want that read-only! 2009-05-01 13:21:57 -05:00
Joe Groff 1a1ce09c22 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 97edfc9b7b ui.gadgets.sliders: fix usability issue 2009-05-01 07:43:50 -05:00
Slava Pestov def5c18a82 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 9f7c0a3ccb gesture>string: S+C+z not S+C+Z 2009-05-01 07:36:31 -05:00
Slava Pestov f6e13d7058 Improve UI listener completion behavior 2009-05-01 07:29:03 -05:00
Slava Pestov fb360498f3 Update usages of global ... change-at to use the new change-global combinator 2009-04-30 21:38:14 -05:00
Slava Pestov 9ed6a4f2e4 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 6380550d14 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