Commit Graph

1785 Commits (8edcf841f156febea4ca42869e70bd5bdc31f5a9)

Author SHA1 Message Date
Slava Pestov e65368a137 UI event handling refactoring
- A+ is now the command key, and M+ is the option key, on mac
- new send-gesture, propagate-gesture words clean up gesture sending
- always send user-input after key-down, without checking if a gadget handled the key-down first
2008-11-21 22:03:14 -06:00
Slava Pestov f2e8d4dda5 Add hide-all-vars word, document var watching wordS 2008-11-21 21:00:49 -06:00
Slava Pestov d504d6b8de slice-errors now report the parameters to the slicing operation 2008-11-21 21:00:30 -06:00
Slava Pestov 2cbc979460 Bail out on line-endings workarounds now that we have a better fix for that on Win64 2008-11-21 20:09:23 -06:00
Doug Coleman 841c8dddb5 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-21 18:55:37 -06:00
Slava Pestov 985aca75ba Highlight rollover buttons when clicked 2008-11-21 18:55:24 -06:00
Slava Pestov 4d7c6fe48b Make stack display configurable 2008-11-21 18:55:14 -06:00
Doug Coleman f67e583d27 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-21 11:25:30 -06:00
Eduardo Cavazos a87fb04098 combinators.short-circuit docs: Fix typo 2008-11-21 07:12:35 -06:00
Slava Pestov 4886f6184b Fix fry with > 3 holes 2008-11-21 05:47:47 -06:00
Slava Pestov 6324b4dd65 Fix some bugs in locals, throw a parse time error if usage of >r r> is detected 2008-11-21 05:18:41 -06:00
Slava Pestov 420ff0a447 Fry now throws a parse time error if it detects >r r> usage, tweak fry to better interact with locals 2008-11-21 05:17:51 -06:00
Slava Pestov 3e29a31493 Residual fixes for curry/compose change 2008-11-21 05:17:20 -06:00
Slava Pestov 883ad5389c Don't throw if macro expansion fails; this allows macros-in-locals to work in more cases 2008-11-21 04:36:52 -06:00
Slava Pestov 34b8bcf305 Clean up short-circuit combinators 2008-11-21 04:36:18 -06:00
Slava Pestov c678e6e362 Don't use combinators.short-circuit in compiler 2008-11-21 04:00:37 -06:00
Slava Pestov 23550ebe16 Clean up combinators.short-circuit 2008-11-21 04:00:28 -06:00
Slava Pestov 0b6916158d Fix [ ] nsequence 2008-11-21 03:36:37 -06:00
Slava Pestov 1421990561 Merge branch 'prunedtrees' of git://factorforge.org/git/prunedtree 2008-11-21 02:39:06 -06:00
Slava Pestov d5559d4132 Add fixnum/mod and fixnum/i subprimitives on PowerPC 2008-11-21 02:24:37 -06:00
prunedtree 0255f83be2 Committer: prunedtree
notepad2 integration
2008-11-21 17:16:16 +09:00
Doug Coleman 405a1591e3 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-21 02:15:31 -06:00
Slava Pestov ae4f9a2809 Add fixnum/mod-fast and fixnum/i-fast subprimitives 2008-11-21 02:11:36 -06:00
Doug Coleman bfcab2f000 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-21 02:05:19 -06:00
Slava Pestov 79bffecc2e Add type function for /mod 2008-11-21 01:54:56 -06:00
Slava Pestov 9d68d5882a Fix circularity 2008-11-20 23:54:27 -06:00
Slava Pestov 5911ad913f Make blink interval configurable 2008-11-20 23:29:16 -06:00
Slava Pestov 53646a076b Set blink-alarm to f after we stop it 2008-11-20 22:15:07 -06:00
Slava Pestov decdcbe120 Stop blinking in ungraft just in case 2008-11-20 22:14:35 -06:00
Slava Pestov 17b2566017 Blinking cursor 2008-11-20 22:13:32 -06:00
Slava Pestov f24036834e Usability fix 2008-11-20 22:13:24 -06:00
Slava Pestov 08f7e02a3b Remove stack display from listener tool, and tweak appearance 2008-11-20 21:59:22 -06:00
Slava Pestov f27ebdd1ef Use add-toolbar word in a few places 2008-11-20 21:58:30 -06:00
Slava Pestov 2eac58c271 Fix '0 track-add' 2008-11-20 21:57:56 -06:00
Slava Pestov 786ca76d02 Listener now displays stacks and watched variables 2008-11-20 21:54:28 -06:00
Slava Pestov 3b037c8947 Fix load error in tools.deploy.shaker 2008-11-20 21:54:07 -06:00
Slava Pestov 25ec44b0b3 Listener now displays stacks and can watch variables 2008-11-20 20:37:34 -06:00
Slava Pestov 00869b6ad4 Documentation update 2008-11-20 20:35:58 -06:00
Slava Pestov 2620a10107 Display help in browser tool 2008-11-20 20:34:49 -06:00
Slava Pestov 44c090d0a7 Strip out print-use-hook to reduce image size 2008-11-20 19:04:10 -06:00
Slava Pestov d74af138e1 Fix shift-drag selection in panes 2008-11-20 18:30:08 -06:00
Slava Pestov 1477a0f6f5 Code cleanups 2008-11-20 18:11:25 -06:00
Slava Pestov a671678357 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-20 17:33:30 -06:00
Doug Coleman 14c096dd82 fix mouse scrolling on windows 2008-11-20 15:23:02 -06:00
slava 248cb0df5e Add some error checking to the X11 UI: if an event handler throws an error, we open a debugger window, as on other platforms, instead of stopping the UI 2008-11-20 03:47:39 -06:00
Slava Pestov 375a9df29b Fix shift-click in editor nested inside a pane 2008-11-19 21:59:11 -06:00
Slava Pestov 4af2592369 Fix some scrollers problems 2008-11-19 21:58:45 -06:00
Slava Pestov bcd2ffc830 If rendering an error popup fails, don't open an endless stream 2008-11-19 21:57:59 -06:00
Doug Coleman f5b19f8c31 add the characters for ls -F to io.files.listing 2008-11-19 21:15:27 -06:00
Slava Pestov 8f0b335f4b Clean up 2008-11-19 21:13:50 -06:00
Doug Coleman 10d57d7edd move mime-types to mime.types 2008-11-19 20:48:30 -06:00
Slava Pestov d6264a32ce Better values docs 2008-11-19 19:43:11 -06:00
Slava Pestov 3d8f432856 Clarify math.bitwise -vs- bitwise-arithmetic docs 2008-11-19 19:23:11 -06:00
Slava Pestov ae2f5e5439 Clarify tail-call optimization documentation 2008-11-19 19:17:47 -06:00
Slava Pestov c75c4efefd Add unit test for pack pref-dim bug 2008-11-19 19:08:12 -06:00
Slava Pestov 044d3f0665 Add another piece of info 2008-11-19 19:06:41 -06:00
Slava Pestov e687d179e6 Re-word fry docs slightly 2008-11-19 18:59:53 -06:00
Slava Pestov af5e5611dc Better invalid callable check 2008-11-19 18:59:30 -06:00
Slava Pestov 503c0a0971 Add a new cookbook page 2008-11-19 18:23:19 -06:00
Slava Pestov b9e1f5bf8a M: track pref-dim did not take the gap into account 2008-11-19 17:47:25 -06:00
Slava Pestov 6e9b2a6c73 Make limited scrollers more versatile: they now have a min-dim and a max-dim 2008-11-19 17:47:12 -06:00
Slava Pestov 344657b93b Improve scroll>rect and scroll>caret so that the caret is always visible 2008-11-19 17:13:39 -06:00
Slava Pestov 6681d4bca3 Add an ABOUT: to math.geometry.rect 2008-11-19 17:13:10 -06:00
Slava Pestov 6aff81052e Doc update 2008-11-19 17:10:19 -06:00
Doug Coleman 4849636fd7 remove attribute if it's the same as the type 2008-11-19 16:45:13 -06:00
Doug Coleman 1ef21ba2d3 add type to directory-entry on windows 2008-11-19 16:40:50 -06:00
Doug Coleman 199bdfdbe6 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-19 16:24:23 -06:00
Doug Coleman 25d9fd68fc translate directory-type flags to our factor symbols 2008-11-19 16:22:42 -06:00
Slava Pestov 6085557116 Parser now prints an IN:/USING: form if restarts were invoked; add more restarts for certain errors 2008-11-19 16:03:05 -06:00
Slava Pestov 84d1a91966 limited-completions now gives you the most relevant completions if there are too many, instead of just giving back the empty list 2008-11-19 16:02:43 -06:00
Slava Pestov cdf7436667 Add parallel-cleave, parallel-spread, parallel-napply combinators 2008-11-19 16:01:48 -06:00
Slava Pestov f3911ea09a Merge branch 'master' of git://repo.or.cz/factor/jcg 2008-11-19 13:02:55 -06:00
Slava Pestov 12601b7eb0 Add failing unit test 2008-11-19 13:02:33 -06:00
Slava Pestov fb2523dc81 Revert "disable regexp failing tests for now"
This reverts commit 020a866e42.
2008-11-19 01:57:44 -06:00
Slava Pestov 8819f23312 Replace millis primitive with micros primitive
Add millis as a library word
sleep now takes either a duration or a microsecond count; code using durations doens't need to be updated, code using millisecond counts updated to use durations for the most part
2008-11-19 01:50:05 -06:00
Doug Coleman 020a866e42 disable regexp failing tests for now 2008-11-18 23:56:51 -06:00
Slava Pestov ebd9513020 Fix stray pixel on Linux 2008-11-18 21:57:50 -06:00
Slava Pestov 4ab91ee742 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-18 16:16:41 -06:00
Slava Pestov fc1754e4a0 Add two failing tests 2008-11-18 16:16:34 -06:00
Slava Pestov 5f76266a2b Simpler URL regexp 2008-11-18 16:16:24 -06:00
Doug Coleman f5adb971f6 re-enable literal syntax for regexps 2008-11-18 16:09:47 -06:00
Doug Coleman 239bfeafda fix "\\/" <regexp> 2008-11-18 16:06:56 -06:00
Doug Coleman 860bd1923b fix stack effect 2008-11-18 15:59:20 -06:00
Doug Coleman a3601f8ecc Merge branch 'master' of git://factorcode.org/git/factor 2008-11-18 15:58:04 -06:00
Doug Coleman 535a9223bd remove bogus dependency on vars 2008-11-18 15:57:48 -06:00
Doug Coleman 6397a2f789 move state-tables to basis 2008-11-18 15:57:32 -06:00
U-SLAVA-DFB8FF805\Slava 62f1e88253 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-18 15:44:56 -06:00
U-SLAVA-DFB8FF805\Slava 4350951f14 More rendering fixes 2008-11-18 15:44:26 -06:00
Doug Coleman 1f85c444b7 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-18 15:12:31 -06:00
Doug Coleman 49af5a1ac0 add support for [\\w] and [\\W] 2008-11-18 15:10:24 -06:00
Slava Pestov 5d2ee2f4a3 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-18 14:16:05 -06:00
Slava Pestov d0e53db5fc Rendering tweaks 2008-11-18 14:15:38 -06:00
Slava Pestov aee589190b Add signed-le> and signed-be> wordS 2008-11-18 14:10:21 -06:00
Doug Coleman 46e7978371 fix typo 2008-11-18 14:00:43 -06:00
Slava Pestov f8a6e3b0d8 Don't use the obscure CLEAR key 2008-11-18 11:50:02 -06:00
Slava Pestov b609ca7d01 Tweak gl-rect to generate the correct output on Windows with Intel graphics 2008-11-18 11:48:06 -06:00
Slava Pestov bec8cc4239 Add unit test to assert that directory. can infeR 2008-11-18 11:46:51 -06:00
Slava Pestov f44d8f4cf5 Fix combinators so that directory. can infer on Unix 2008-11-18 11:45:55 -06:00
Slava Pestov f0552accce Merge branch 'master' of git://projects.elasticdog.com/git/factor 2008-11-18 09:44:11 -06:00
Slava Pestov 1fa0fb6258 Add unit test for Ed's fix 2008-11-17 21:53:38 -06:00
Aaron Schaefer e17f519480 Minor documentation fixes 2008-11-17 22:51:57 -05:00
Slava Pestov 983a42bcde Merge branch 'master' of git://factorcode.org/git/factor 2008-11-17 21:46:54 -06:00
Slava Pestov 5c51d9fd2c Get regexp words to infer 2008-11-17 21:42:59 -06:00
Eduardo Cavazos ef76caed73 Merge commit 'factor/master' 2008-11-17 21:28:23 -06:00
Eduardo Cavazos 930f3d0edc locals: Allow 'local-reader' in literals 2008-11-17 21:26:16 -06:00
Slava Pestov a9a28a3231 Trying to blindly fix Win64 unit tests 2008-11-17 20:28:52 -06:00
unknown 53707a33ee Merge branch 'master' of git://factorcode.org/git/factor 2008-11-17 18:48:41 -06:00
unknown 93c8f5a2f4 Use our MD5 library instead of OpenSSL so that we can run builder without OpenSSL being installed 2008-11-17 18:43:59 -06:00
unknown 1c33e993da Tweak launcher test: it failed without cygwin 2008-11-17 18:43:10 -06:00
unknown d013967180 Make io.servers.connection work if SSL is not available 2008-11-17 18:42:44 -06:00
unknown efb2e49c50 Fix freetype for Win64 2008-11-17 18:42:21 -06:00
unknown ccd13ce975 Define intptr_t type 2008-11-17 18:42:10 -06:00
unknown eea93234d0 Fix some types for Win64 2008-11-17 18:41:53 -06:00
Slava Pestov ff7358beb3 Fix typo 2008-11-17 17:48:06 -06:00
Slava Pestov b50d4c9b36 Fix help search again 2008-11-17 17:30:47 -06:00
Slava Pestov 7815560f30 Fix index paths 2008-11-17 17:28:44 -06:00
Aaron Schaefer 000d84a871 Replace pick pick with 2over in math.functions 2008-11-17 18:20:34 -05:00
Aaron Schaefer 9c27e9d61b Replace >r r> usage with dip in math.vectors 2008-11-17 18:17:14 -05:00
Aaron Schaefer d2a67c78b2 Replace >r r> usage with dip in math.ranges 2008-11-17 18:14:29 -05:00
Aaron Schaefer fa88f8825b Replace >r r> usage with dip in math.ratios 2008-11-17 18:13:42 -05:00
Aaron Schaefer d328589b87 Cleanup partial-dispatch by removing >r r> usage 2008-11-17 17:59:15 -05:00
Aaron Schaefer 5d8b3c3fb1 Cleanup math.intervals and eliminate >r r> usage 2008-11-17 17:20:56 -05:00
Aaron Schaefer abf4700af8 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-17 16:21:16 -05:00
Slava Pestov 20f5541d35 Refactoring FFI for Win64 2008-11-17 13:34:37 -06:00
Slava Pestov 14246fde37 Better FFI unit tests expose a new problem 2008-11-17 12:23:44 -06:00
Slava Pestov a166db313a Inferring set-datastack is just a warning not an error 2008-11-17 12:23:12 -06:00
Slava Pestov 672f9e400e Better error message 2008-11-17 11:16:32 -06:00
Slava Pestov 543ef13a7d Shorter help filenames 2008-11-17 09:01:01 -06:00
Slava Pestov c0b56c4d3b 'see' now shows declarations on methods 2008-11-17 08:47:08 -06:00
Slava Pestov 553bc1fb7a Fix <button> elements for IE 7 2008-11-17 07:17:05 -06:00
U-SLAVA-DFB8FF805\Slava 0eee4f89d4 Mess around with tags 2008-11-17 06:59:17 -06:00
Slava Pestov b4ae47dfc8 More OpenGL tweaks 2008-11-17 05:56:53 -06:00
Slava Pestov 2e95f58ee1 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-17 05:16:46 -06:00
Slava Pestov 3f85a4e727 OpenGL rendering tweaks 2008-11-17 05:16:34 -06:00
Aaron Schaefer c7f5d53144 Cleanup math.functions and remove >r r> usages 2008-11-16 21:24:56 -05:00
Slava Pestov 9e82f1f8dd Better inference error messages 2008-11-16 19:42:53 -06:00
Slava Pestov e4dde55d72 On Windows, we now look for factor-rc and factor-boot-rc, instead of .factor-rc and .factor-boot-rc, since Explorer doesn't like filenames with leading periods 2008-11-16 19:15:51 -06:00
Slava Pestov 84ce5c3b91 Windows workaround 2008-11-16 19:15:09 -06:00
Slava Pestov bd2d78b6b1 Disable referrer checking by default since adblock doesn't send it for some lame reason 2008-11-16 16:19:18 -06:00
Slava Pestov 105831fabe Update for compiler.errors change 2008-11-16 13:46:30 -06:00
Slava Pestov cd3c71c113 Add exception handling to help.html 2008-11-16 11:54:26 -06:00
Slava Pestov 143f078dd8 Fix io.sockets docs for when io.sockets.secure isn't loaded 2008-11-16 11:33:38 -06:00
Slava Pestov e38bc79e06 mason now generates HTML documentation using help.html 2008-11-16 11:29:35 -06:00
Slava Pestov b917e1f051 Document furnace 2008-11-16 10:31:12 -06:00
Slava Pestov e9a42b9bde Fix help-lint 2008-11-16 10:31:04 -06:00
Slava Pestov acc1dc23fa More usages of $quotation 2008-11-16 09:08:38 -06:00
Slava Pestov 9bf63b1613 New $quotation markup element 2008-11-16 09:03:30 -06:00
Slava Pestov 2d561ade79 Document furnace.auth 2008-11-16 08:39:08 -06:00
Slava Pestov 4a40b03a10 Document furnace.auth.features 2008-11-16 07:41:27 -06:00
Slava Pestov c0a38be8cc Documentation for furnace.auth.login 2008-11-16 07:27:31 -06:00
Slava Pestov 1412778ff8 Documentation for furnace.auth.basic 2008-11-16 07:19:20 -06:00
Slava Pestov 7a26f30d85 Documentation for furnace.auth.providers 2008-11-16 07:19:05 -06:00
Slava Pestov 134dacdb6b Fix help lint 2008-11-16 07:04:51 -06:00
Slava Pestov 4f77607c13 Fix tests, and clear-deque on dlists 2008-11-16 06:57:53 -06:00
Slava Pestov 93e9e34175 Add $maybe markup element 2008-11-16 06:02:13 -06:00
Slava Pestov 9c84ad8944 Unrolled lists 2008-11-16 05:59:14 -06:00
Slava Pestov 7fc13ef03c dlists no longer have a length slot; tweak dlist code so that types infer better 2008-11-16 05:53:25 -06:00
Slava Pestov b44bc33d1b Fix serialize tsets 2008-11-15 04:13:03 -06:00
Slava Pestov dced1da5b5 More JSON tweaks 2008-11-15 03:09:57 -06:00
Slava Pestov e313988bf0 json.writer now converts ratios to floats 2008-11-15 03:07:55 -06:00
Slava Pestov ca1f3b5af0 (serialize) should not be private since concurrency.distributed defines a method 2008-11-15 02:35:53 -06:00
Slava Pestov 821fb8969c Fix validators docs 2008-11-14 23:01:12 -06:00
Slava Pestov c3c5b4f944 Document furnace.syndication 2008-11-14 23:01:04 -06:00
Slava Pestov b9afd25245 Document furnace.sessions 2008-11-14 22:51:53 -06:00
Slava Pestov 5c914ff054 Remove bogus dependency 2008-11-14 22:51:14 -06:00
Slava Pestov 3d83ed07fd Minor documentation updates: json, xml, serialize 2008-11-14 22:49:17 -06:00
Slava Pestov e6da3dc638 Document furnace.conversations 2008-11-14 21:59:15 -06:00
Slava Pestov df38532624 Document furnace.boilerplate 2008-11-14 21:21:10 -06:00
Slava Pestov fbf26ca0eb Merge branch 'json' of git://github.com/rictic/factor 2008-11-14 20:30:22 -06:00
Slava Pestov ff95802c46 Change tags a bit 2008-11-14 20:17:27 -06:00
Slava Pestov dd479ffad1 Help lint fixes 2008-11-14 07:22:19 -06:00
Slava Pestov e550d052ea Merge branch 'master' of git://factorcode.org/git/factor 2008-11-14 04:01:54 -06:00
Slava Pestov f6010d1672 Rename alias article 2008-11-14 04:01:43 -06:00
Slava Pestov 615c380015 Working on docs for furnace.json, furnace.redirection, and furnace.referrer 2008-11-14 04:01:26 -06:00
Doug Coleman 7bb5ab8752 fix load error, document directory. 2008-11-14 00:55:17 -06:00
Doug Coleman 7b5f7f95fb make more words private 2008-11-14 00:51:14 -06:00
Slava Pestov a6af48f812 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-14 00:45:25 -06:00
Doug Coleman 867669f208 fix listing on unix 2008-11-14 00:44:01 -06:00
Doug Coleman a6b894b8c5 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-14 00:38:21 -06:00
Doug Coleman 739f02d7c0 move ls to io.files.listing 2008-11-14 00:25:00 -06:00
Doug Coleman 5f6421af5d use win32-file-attributes word 2008-11-14 00:03:24 -06:00
Slava Pestov 29249e2a64 Document furnace.json 2008-11-13 23:59:30 -06:00
Slava Pestov f78c5b4d20 Write furnace.db docs 2008-11-13 23:35:00 -06:00
Slava Pestov faeacba224 furnace.alloy docs 2008-11-13 23:21:32 -06:00
Slava Pestov b17dbcd394 Document furnace.actions and clean up a few things 2008-11-13 21:49:37 -06:00
Doug Coleman 7a58500b01 fix docs for hexdump 2008-11-13 21:06:41 -06:00
Doug Coleman 47124b8aaa finish moving hexdump to tools.hexdump 2008-11-13 19:49:34 -06:00
Doug Coleman c613eca829 move hexdump to tools.hexdump 2008-11-13 19:48:11 -06:00
Doug Coleman 89a5957033 add file-type>ch and ch>file-type 2008-11-13 19:32:34 -06:00
Slava Pestov 4e0dee6280 validators can use new regexps now 2008-11-13 18:26:09 -06:00
Slava Pestov 174f24a1f3 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-13 17:45:53 -06:00
Doug Coleman eef79c3766 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-13 16:16:35 -06:00
Doug Coleman afc071eaf8 fix docs 2008-11-13 16:15:57 -06:00
Doug Coleman 8f2d1353c0 remove -a option... 2008-11-13 16:10:43 -06:00
Doug Coleman a5c47ac294 remove debug, add -a option 2008-11-13 16:09:03 -06:00
Doug Coleman 8a25012b55 fix line numbers with etexteditor 2008-11-13 16:07:01 -06:00
Doug Coleman 069d5b1795 add etexteditor 2008-11-13 15:47:39 -06:00
Doug Coleman 6d44e383b3 add rc files to scaffold since it's hard to create a file named .foo on windows 2008-11-13 14:27:28 -06:00
Joe Groff a9f8856b0d make shader code in spheres a little more readable 2008-11-13 09:49:18 -08:00
Slava Pestov 1498d94a53 Move suffix arrays to basis 2008-11-13 09:34:46 -06:00
Doug Coleman c64749ccac Merge branch 'master' of git://factorcode.org/git/factor 2008-11-13 06:48:48 -06:00
Slava Pestov eef45a1cc3 Tweak PowerPC %dispatch 2008-11-13 05:58:49 -06:00
Slava Pestov a14e1ebcb5 Fix PowerPC bootstrap 2008-11-13 05:55:34 -06:00
Doug Coleman e089abd37f Merge branch 'master' of git://factorcode.org/git/factor 2008-11-13 05:42:53 -06:00
Slava Pestov 5b4e8e9d09 Rename tests/templates.factor to tests/codegen.factor since that's really what its testing 2008-11-13 04:16:58 -06:00
Slava Pestov eb05dd3a12 Optimize a ##dispatch that is applied to the result of a ##sub-imm or ##add-imm; this eliminates an instruction from the common 1 fixnum-fast { ... } dispatch and 8 fixnum-fast { ... } dispatch code sequences appearing in generic word expansions 2008-11-13 04:16:08 -06:00
Slava Pestov 029ee67525 Fix ppc make-image 2008-11-13 04:12:09 -06:00
Slava Pestov 6590c894bc Forgot a constant 2008-11-13 04:10:21 -06:00
Slava Pestov b1aa3697cb Emit branches in the same order they're written in code 2008-11-13 03:52:01 -06:00
Slava Pestov cfa82cb474 New calling convention for VM primitives:
instead of the Factor side passing the stack pointer as the first parameter, and having the VM save it to stack_chain->top, we instead have the Factor side save it. Eliminates a lot of crud in the VM
2008-11-13 03:20:34 -06:00
Slava Pestov 3723b2e640 vlists: immutable sequences with mostly-O(1) push and pop, O(n) behavior when sharing: optimized for the unshared case. also contains valists, which are assocs built on vlists with O(n) search starting from the end, and mostly-O(1) insertion that shadows prior entries. Behaves similar to Lisp/Scheme alists 2008-11-13 00:12:14 -06:00
Slava Pestov 3f4eb5a09a Add changed-nth combinator: like change-nth but for persistent sequences 2008-11-13 00:10:55 -06:00
Slava Pestov a81e737e02 Add passociate word: like associate but for persistent hashtables 2008-11-13 00:10:37 -06:00
Slava Pestov 3bb778eab4 Remove unnecessary stack-checker.transforms dependency from macros 2008-11-13 00:09:47 -06:00
Slava Pestov 5bae69426d Stack checker cleanup and optimization
- stack-checker.state vocabulary split up into stack-checker.{state,values,recursive-state}
- code that modifies and searches recursive state factored out into stack-checker.recursive-state
- recursive state is now a set of three binary hash trees instead of an alist, and no longer contains unnecessary data
- binary hash trees are in stack-checker.recursive-state.tree: unbalanced, persistent
- ~8 second speedup on bootstrap, ~20 second speedup in "peg.javascript" require
2008-11-13 00:07:45 -06:00
Doug Coleman db2f744f90 redo random-bytes* with a better algorithm 2008-11-12 22:10:34 -06:00
Slava Pestov 4a1bcacfd4 Refactoring recursive-state alist; now its a mapping from words to local state triples, reduces searching by a bit 2008-11-12 19:08:40 -06:00
Slava Pestov 8f6f666a2a Neither here nor there 2008-11-12 14:40:01 -06:00
Doug Coleman a8f1680bcd slightly faster 2008-11-12 13:28:17 -06:00
Doug Coleman b45c03877b don't generate 4x the number of random bytes we actually need. map concat is slower than push-all 2008-11-12 12:40:09 -06:00
Eduardo Cavazos 6cc08f76dd help/handbook: Fix some headings 2008-11-12 03:58:41 -06:00
Doug Coleman 44b0cf94ab better fix for emacs 2008-11-12 01:14:19 -06:00
Doug Coleman 9656ce2e65 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-12 00:40:11 -06:00
Doug Coleman 0d3a5e372a allow setting of emacsclient 2008-11-12 00:39:56 -06:00
Slava Pestov 9f52ee50b0 Another speedup to >alist: create vector with right size up-front. 10 second bootstrap time reduction 2008-11-12 00:10:50 -06:00
Slava Pestov eed1dd3d2b Fix byte vector prettyprinting 2008-11-11 23:38:19 -06:00
Slava Pestov c581311e03 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-11 23:24:08 -06:00
Slava Pestov cdb94e4c62 Word constructor was not invoking relocation on the profiled block, so words constructed while profiling was on could not be executed. This prevented profiling of PEGs 2008-11-11 23:07:40 -06:00
Slava Pestov de02724135 Make a word inline for the win 2008-11-11 23:04:30 -06:00
Slava Pestov ed3a81a503 Faster M: hashtable >alist performs less dispatch and allocates less junk 2008-11-11 23:03:50 -06:00
James Cash c97e731d44 Fixing linked-assoc docs 2008-11-11 21:25:33 -05:00
Slava Pestov fab60f94a7 Minor performance improvements 2008-11-11 19:51:26 -06:00
Slava Pestov d970a632bb Fix nodes>quot 2008-11-11 19:51:12 -06:00
Slava Pestov 26f309d2ae Trying to make PEGs compile faster by reducing the number of low level IR nodes: merge functionality of #>r and #r> into #shuffle, and generate 1 node instead of 3 for calls to get-local 2008-11-11 18:46:31 -06:00
Slava Pestov 782671a50c Merge branch 'master' of git://factorcode.org/git/factor 2008-11-11 17:43:25 -06:00
Slava Pestov 5c6860fd0f Updating linked-assocs documentation, add <linked-assoc> word 2008-11-11 17:42:52 -06:00
Slava Pestov b4683bb00b Merge branch 'master' of git://factorcode.org/git/jamesnvc 2008-11-11 17:36:34 -06:00
Doug Coleman 5490b730b5 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-11 15:37:42 -06:00
Doug Coleman fa282c5053 remove duplicate using 2008-11-11 15:37:32 -06:00
Doug Coleman 1f85b7ec14 catch errors for windows file-systems word and return a tuple with just a mount point
this happens on empty floppy disk drives
2008-11-11 15:35:17 -06:00
Doug Coleman 146340690f implement file-systems on windows 2008-11-11 15:17:35 -06:00
Doug Coleman 17916ed7f2 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-11 14:04:25 -06:00
Doug Coleman 78ab09d8bb move file-systems word to core 2008-11-11 14:04:05 -06:00
Doug Coleman c860ab78b6 removed duplicate file-system-info definition. oops 2008-11-11 13:41:34 -06:00
Doug Coleman bbaa8b95bd mounted -> file-systems 2008-11-11 13:30:12 -06:00
Doug Coleman 482933f4d3 remove duplicated slot from linux statfs 2008-11-11 13:19:53 -06:00
Doug Coleman aff4c9bda3 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-11 13:07:26 -06:00
Doug Coleman f6c0c43dd4 fix user-cache and add tests for this 2008-11-11 13:05:04 -06:00
Doug Coleman e3533daf4d make jedit behave nicely with scaffolding docs 2008-11-11 13:04:20 -06:00
Doug Coleman 51ecc18cd8 changed a bitwise word, updating usage for mersenne twister 2008-11-11 13:03:42 -06:00
Doug Coleman 7aeeb2c9ce bitwise docs, fix some bugs in bitwise words 2008-11-11 13:03:08 -06:00
Slava Pestov 8a6ecec9f3 Fix broken link in ratios docs 2008-11-11 12:11:36 -06:00
Slava Pestov a32acdcff0 Tweak grouping code for better method inlining 2008-11-11 12:11:13 -06:00
Slava Pestov d7dd084b8d Usability tweak: focus on listener input area when input presentation is clicked 2008-11-11 11:46:35 -06:00
Slava Pestov fed799a32c Fix circularity 2008-11-11 11:39:38 -06:00
Slava Pestov 4c0f2cc3f5 Move factor-2s from miller-rabin to math.functions; use it to make ^ more efficient 2008-11-11 11:30:47 -06:00
Slava Pestov f1a1a4c1cb Cloning a dlist did not clone its nodes, and so was useless 2008-11-11 10:56:58 -06:00
Slava Pestov 1d630b6cf2 Minor documentation fixes 2008-11-11 10:51:15 -06:00
Slava Pestov f04b32ea02 Remove duplicated logic 2008-11-11 09:10:33 -06:00
Slava Pestov d50f4275d4 Fix help lint 2008-11-11 08:53:11 -06:00
Slava Pestov 792df37431 Update unit test 2008-11-11 08:50:30 -06:00
Slava Pestov 5f4b247072 Propagation pass now uses a stack of hashtables for predicated constraints instead of cloning a hashtable. New strategy for recursive propagation; now converges with fewer iterations. ~15 sec bootstrap time improvement 2008-11-11 08:49:00 -06:00
Slava Pestov 7f9fbdaa4e cleanup pass didn't properly handle conditionals where both branches were dead 2008-11-11 08:38:03 -06:00
Slava Pestov 43335d9c36 Intervals now use a special singleton for the full interval to eliminate FP math in the common case; fix a bug in value-info<= 2008-11-11 08:30:14 -06:00
Slava Pestov bb44effcb3 Forgot to include this in the last patch 2008-11-11 02:35:27 -06:00
Slava Pestov d579628d61 More OpenGL rendering tweaks 2008-11-11 02:31:56 -06:00
James Cash da3399f31d More tests for linked-assocs 2008-11-11 02:33:19 -05:00
James Cash a5576bbb1d Fixing extra space, replacing tuck ... swap with [ ... ] keep 2008-11-11 02:33:19 -05:00
James Cash d9076407fb Writing docs for linked-assocs 2008-11-11 02:33:19 -05:00
James Cash 143567c917 More tests for linked-assocs 2008-11-11 02:33:19 -05:00
James Cash 41b7853e08 Adding more assoc protocol methods to linked-assocs, bugfixes 2008-11-11 02:33:18 -05:00
James Cash b3acebc350 linked-assocs passes tests 2008-11-11 02:33:18 -05:00
James Cash b68d3c94a7 Adding linked-assocs 2008-11-11 02:33:18 -05:00
Slava Pestov f0c61b9499 Rewrite OpenGL rendering code
- Don't use glPolygonMode to draw outline rectangles
- Use vertex arrays instead of glBegin/glVertex/glEnd
- Remove dead code from opengl vocabulary
- draw-interior and draw-boundary are now called with origin get [ ... ] with-translation
2008-11-11 00:28:37 -06:00
Slava Pestov eabba96627 Merge branch 'master' of git://repo.or.cz/factor/jcg 2008-11-10 21:38:28 -06:00
Eduardo Cavazos 2489ac5205 bootstrap.stage2: Factor out 'print-time' 2008-11-10 21:27:48 -06:00
Eduardo Cavazos 78d9452b7e basis/bootstrap/stage2: Show core bootstrap time in report 2008-11-10 20:05:50 -06:00
Joe Groff 6189bfd1f0 bring cairo bindings back from the dead 2008-11-10 17:01:14 -08:00
Slava Pestov 161c917748 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-10 05:08:39 -06:00
Slava Pestov d8a3439bc2 Fix indentation 2008-11-10 05:08:30 -06:00
Slava Pestov eeb53283d4 Update code for builder removal 2008-11-10 05:07:25 -06:00
Eduardo Cavazos 0b33c52886 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-10 03:36:26 -06:00
Eduardo Cavazos 17be33fb01 ui.gadgets.labelled: Simplify '<title-bar>' 2008-11-10 03:35:21 -06:00
Slava Pestov 8da65ff55c Merge branch 'master' of git://factorcode.org/git/factor 2008-11-10 03:23:19 -06:00
sheeple ffe4bd6787 Various updates 2008-11-10 03:18:58 -06:00
sheeple 067e9934e1 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-10 03:02:17 -06:00
sheeple 5b7d40d9b4 We need to end the basic block after the ##prologue in the dispatch branch so that the GC check can go after the prologue 2008-11-10 02:58:05 -06:00
Eduardo Cavazos 6df7342b81 ui.gadgets.scrollers: Nicer version of 'find-scroller*' 2008-11-10 02:10:18 -06:00
Slava Pestov 4d317e2d46 Merge branch 'master' of git://github.com/glguy/factor 2008-11-10 00:30:27 -06:00
Slava Pestov b8eebd5c2b swap over == tuck; dupd swap == over 2008-11-10 00:16:11 -06:00
U-SLAVA-DFB8FF805\Slava 2bf9a55cea Fix Windows deployment 2008-11-09 17:27:51 -06:00
U-SLAVA-DFB8FF805\Slava 429fe85f46 Fix compile error 2008-11-09 17:27:39 -06:00
Slava Pestov 28e397420d Fix USING: 2008-11-08 21:43:55 -06:00
unknown 7a6a280b5c Fix conflict 2008-11-08 21:41:33 -06:00
unknown f7fe84e563 Working on Win64 FFI 2008-11-08 21:40:47 -06:00
Slava Pestov f53e9c654c Merge branch 'master' of git://factorcode.org/git/factor 2008-11-08 20:36:29 -06:00
Slava Pestov 65dea0aa26 PowerPC backend fixes 2008-11-08 20:36:14 -06:00
Slava Pestov 57242951b9 Better error reporting in FROM: and RENAME: words 2008-11-08 19:33:15 -06:00
Eduardo Cavazos 8262b50c87 ui.gadgets.scrollers: minor tweak in 'new-scroller' 2008-11-08 16:23:06 -06:00
Eduardo Cavazos 8e44e783cf ui.gadgets.lists: minor tweak to 'select-gadget' 2008-11-08 15:59:21 -06:00
Peter Burns a4cecaaf40 swap drop === nip 2008-11-08 13:45:45 -08:00
Peter Burns 64cdabf57a A bit more refactoring and testing of json.reader 2008-11-08 12:08:58 -08:00
Slava Pestov 9cc193ea5b Add unportable tags and fix my-arch word 2008-11-07 22:37:40 -06:00
Peter Burns bca998bba5 Merge branch 'master' of git://factorcode.org/git/factor into json 2008-11-07 20:00:42 -08:00
Peter Burns 706da24b8c Refactored json.reader, added a couple more unit tests, no more rationals 2008-11-07 20:00:19 -08:00
Slava Pestov eb83b542d6 Fix unix x86.64 bootstrap 2008-11-07 21:54:13 -06:00
Slava Pestov 000affca5a Merge branch 'master' of git://factorcode.org/git/factor 2008-11-07 21:09:45 -06:00
Slava Pestov 1b744ab14b Updating code for boot image renaming 2008-11-07 21:09:42 -06:00
unknown de0cc7f99a Merge branch 'master' of git://factorcode.org/git/factor 2008-11-07 20:49:42 -06:00
Slava Pestov 639da2d335 Refactor OS-specific parts of PowerPC backend 2008-11-07 20:45:25 -06:00
unknown cc7ab11881 Add more unit tests 2008-11-07 20:34:04 -06:00
unknown 7365959f01 Starting work on Win64 port 2008-11-07 20:33:32 -06:00
Peter Burns 6e22f39f46 Rewrote json.reader to use peg.ebnf 2008-11-06 21:45:24 -08:00
sheeple 070432d140 Merge branch 'master' of git://factorcode.org/git/factor 2008-11-06 19:15:13 -06:00
sheeple d1f248dac6 Fixing PowerPC backend: prolog register clobberage, spilling, and general stack frame usage. Add some lame tests for spilling 2008-11-06 19:00:56 -06:00
Doug Coleman a7595665fc Merge branch 'master' of git://factorcode.org/git/factor 2008-11-06 16:54:05 -06:00
Doug Coleman 46aa56730b better parsing for anchors 2008-11-06 16:53:00 -06:00
Slava Pestov b7dc7296db Implement stream-read on memory-streams. This allows alien>string to work with utf16 encoding 2008-11-06 13:42:53 -06:00
Doug Coleman dd1b28ba7a Merge branch 'master' of git://factorcode.org/git/factor 2008-11-06 13:17:54 -06:00
Doug Coleman 811026ce4d removing some uses of at* in favor of at, simplifying code 2008-11-06 13:16:33 -06:00
Slava Pestov 63a9975a0e Support inline, foldable, flushable on methods; add declarations in a couple of places for ricing purposes 2008-11-06 13:13:37 -06:00
Slava Pestov 751426f283 Remove dead code from math.intervals; we no longer need the operations to support f anymore 2008-11-06 11:57:31 -06:00
Slava Pestov 4e55cd973b If a #dispatch branch is a call to another word which is not an intrinsic, we avoid generating the dispatch branch and just jump to the word directly 2008-11-06 11:48:55 -06:00
Slava Pestov 9366ad650d Add unportable tag 2008-11-06 09:29:21 -06:00
Slava Pestov 64cbf619a9 Add more algebraic simplifications: comparison of a comparison, comparison where first is immediate 2008-11-06 09:27:52 -06:00
Slava Pestov 1c1333fbe9 Compile not and >boolean as branchless intrinsics by having the CFG builder detect certain code patterns 2008-11-06 09:09:21 -06:00
Peter Burns e631e1ca08 Normalized spacing to 4 space tabs in json modules 2008-11-06 04:41:53 -08:00
Peter Burns 986ea40835 Changed json-null to a SINGLETON for method dispatch 2008-11-06 04:38:12 -08:00
sheeple d2ec46e38f PowerPC backend almost functional; some new compiler unit tests added,
better compilation of 'f eq?'; f becomes an immediate operand
move aux-offset to compiler.constants
2008-11-06 06:27:27 -06:00
Peter Burns 260862603c Added some tests for json.writer, fixed a bug with t >json and json-null >json 2008-11-06 04:26:49 -08:00
Slava Pestov 7741096bff Tweak PPC register usage; gcc doesn't like it when you mess with r31 for some reason 2008-11-06 03:36:46 -06:00
Slava Pestov 6f432811f5 Fix mirrors 2008-11-06 02:52:54 -06:00
Slava Pestov 29279f305e Fix 32-bit bootstrap 2008-11-06 01:58:07 -06:00
Slava Pestov 5def7c5dea Don't load random number generator on bootstrap 2008-11-06 01:30:59 -06:00
Slava Pestov 53cd75b06c Add string-nth intrinsic 2008-11-06 01:11:28 -06:00
Slava Pestov bfd119e3b5 I/O ricing: various hints added so that UTF8 and ASCII fastpaths compile with less dispatch. 25% improvement on reverse-complement 2008-11-06 00:02:44 -06:00
Slava Pestov be798dd5e9 We need to internalize tuple layouts in bootstrap, but since they're arrays we have to use a predicate class to detect them 2008-11-06 00:01:50 -06:00
Slava Pestov cc879fa9b7 Tuple layouts are now arrays, instead of built-in types. The superclass
array is now part of the tuple layout object itself, and class hashcodes
are stored alongside class words there. This removes 2 indirections when
reading a superclass, and 3 when reading a superclass hashcode.
2008-11-05 22:20:29 -06:00
Slava Pestov fbb958da82 Fix lambda-method forget 2008-11-05 18:59:58 -06:00
Slava Pestov 4fd1767768 Old fix for classes-intersect? no-method bug was incorrect; we were
ignoring anonymous classes in compiled-generic-crossref. Also,
forget* now calls reset-word so that references to predicates of
forgotten classes don't break the compiler with a similar error.
2008-11-05 18:32:02 -06:00
Slava Pestov 7f59942219 Change title to be more consistent 2008-11-05 04:28:13 -06:00
Slava Pestov affb48a067 Fix docs 2008-11-05 04:27:12 -06:00
Slava Pestov 2239f4fb99 More work on PowerPC backend; change register usage, free up some more integer and float regs (untested) 2008-11-05 04:20:35 -06:00
Slava Pestov 7aa530c64e Fix ABOUT: docs 2008-11-05 04:16:15 -06:00
Slava Pestov dae41147fe %bignum>integer now takes a temporary register since this is useful on both x86 and ppc 2008-11-05 04:16:08 -06:00
Slava Pestov 8b7c47a68b Clean up x86 backend: move cpu.x86.architecture to cpu.x86, use branchless arithmetic in some intrinsics 2008-11-05 04:15:48 -06:00
Slava Pestov 10d3b4a55d New PPC backend (untested) 2008-11-05 00:31:08 -06:00
Slava Pestov c8521ad826 Add tool to dump live intervals 2008-11-04 17:23:20 -06:00
Slava Pestov 22f11f24c9 Move simple-table. to prettyprint since its generally useful and not specific to tools.time 2008-11-04 17:23:08 -06:00
Slava Pestov d8345b5eda Update PPC non-optimizing compiler backend: there are three new sub-primitives to support 2008-11-04 06:07:19 -06:00