Commit Graph

863 Commits (6a193bb0d54d8728576aa0ca670ff7d02920fec3)

Author SHA1 Message Date
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
Slava Pestov 0420b39f4f Make source file error types a bit more extensible 2009-04-11 22:26:24 -05:00
Slava Pestov 26356ffc63 Working on error-list tool 2009-04-11 21:26:36 -05:00
Slava Pestov e5df0559eb Working on adding help-lint errors to error list 2009-04-11 20:30:09 -05:00
Slava Pestov fe8e6b328f Merge branch 'master' into smarter_error_list 2009-04-11 15:28:35 -05:00
Slava Pestov db3818814d Refactor GLU usages in basis, and move opengl.glu to extra, and don't like VM with GLU 2009-04-11 15:17:08 -05:00
Slava Pestov 39685724cc Generalize operation 2009-04-11 15:11:40 -05:00
Slava Pestov e5606b2917 Merge branch 'smarter_error_list' of git://factorcode.org/git/factor into smarter_error_list 2009-04-11 14:33:04 -05:00
Slava Pestov c7b3b2f4e0 Load ui.tools.error-list by default 2009-04-11 14:24:17 -05:00
Slava Pestov a254e07fda Error list: add toggles for different error types, source file icon 2009-04-11 14:18:23 -05:00
Slava Pestov c626004735 ui.gadgets.tables: center cells vertically, add padding around images 2009-04-11 14:14:32 -05:00
Slava Pestov ad2b7b74f4 Fix baseline alignment to work like align=1/2 if there is no text in the layout, also fix nested baseline alignment in the no-text case 2009-04-10 14:11:05 -05:00
slava 509869ca70 X11 UI: Fix resize flicker, exception when closing window, unsuccessful attempt at fixing raise-window 2009-04-10 13:29:07 -04:00
Slava Pestov 8480034d6e image-name instances can now be passed to <button> etc 2009-04-10 08:13:20 -05:00
Slava Pestov 78503a1b9c Merge branch 'master' into smarter_error_list 2009-04-10 06:23:17 -05:00
Slava Pestov e2c858da34 Add better error check for 'window' word 2009-04-10 06:20:23 -05:00
Slava Pestov 370e90f57b Fix odd race condition in ui.backend.cocoa 2009-04-10 06:19:46 -05:00
Slava Pestov 713ab02337 Don't use GL_ARB_texture_non_power_of_two on ATI hardware to fix bug reported by Andy Turner and Caesar Hu 2009-04-10 06:18:29 -05:00
Slava Pestov 4f41e07147 ui.tools.compiler-errors => ui.tools.error-list 2009-04-10 04:41:12 -05:00
Slava Pestov 0a7485190b compile-error-type => source-error-type; make test failures global 2009-04-10 03:52:12 -05:00
Slava Pestov e467f4eea3 More work on unit test tool 2009-04-09 08:17:41 -05:00
Slava Pestov af8f98495d Latest icons from Joe 2009-04-09 08:11:38 -05:00
Slava Pestov 2b384a7742 Re-organize some error-related code, three-pane look for compiler errors tool, add Joe's icons 2009-04-08 23:05:45 -05:00
Slava Pestov 61918ac0c5 Merge branch 'master' into smarter_error_list 2009-04-08 06:45:49 -05:00
Slava Pestov 6082a98c7c If (open-window) or similar fails, don't enter an infinite loop of opening error windows, just try to open one and then give up 2009-04-07 22:30:13 -05:00
Slava Pestov 87e4598581 opengl.textures: use GL_ARB_texture_non_power_of_two if available 2009-04-07 21:32:45 -05:00
Aaron Schaefer 0c33ba55c8 Merge branch 'master' of git://factorcode.org/git/factor
* 'master' of git://factorcode.org/git/factor: (36 commits)
  Fix typo
  Fix alien.fortran for NetBSD x86.64
  fix unit test in robots
  http.client: fix 307 redirect behavior (reported by Chris Double)
  Treat a limit of f as unlimited instead of throwing an error
  Static responder now works when the root is a file rather than a directory
  Fix site-watcher tests
  Fix bootstrap
  furnace.actions: load chloe tags
  furnace.redirection: load urls.secure
  db.errors.sqlite: don't give up on bad inputs
  Makefile: clean target should delete libfactor.dylib too
  Working on site-watcher
  unbreak regexp
  refactor spider
  clean up a combinator in id3 parser
  Minor doc updates
  Use [ ] [ ] map-reduce instead of unclip [ ] reduce
  Factor out site-watcher.email, start work on site-watcher.spider
  construct a glob-matching quote for robots.txt files
  ...
2009-04-07 21:38:13 -04:00
Slava Pestov 07f585a81d Error list tool work in progress 2009-04-06 15:24:21 -05:00
Aaron Schaefer cbd6b0ed3b fix documentation typo 2009-04-06 15:18:35 -04:00
Slava Pestov 2adee07a29 Merge branch 'master' into smarter_error_list 2009-04-06 13:41:33 -05:00