Commit Graph

7833 Commits (0b4edcf8ad735fea6111de1bdfed14d6f1a103d0)

Author SHA1 Message Date
Erik Charlebois e28c23c860 Refactored collada loader significantly 2010-01-30 19:48:10 -08:00
Slava Pestov 5ed0bc72aa Merge git://github.com/littledan/Factor into littledan 2010-01-31 02:54:58 +13:00
Slava Pestov 03d2b77faa tools.deploy.shaker: update for new crossref word props 2010-01-31 02:50:55 +13:00
Slava Pestov 2c63161c84 stack-checker.dependencies: make conditional dependencies more robust 2010-01-31 01:55:35 +13:00
Slava Pestov 9bc4e662c6 compiler.crossref: word props were stored the wrong way round 2010-01-30 22:33:27 +13:00
Slava Pestov 22e3b71ae2 grouping: tweak inheritance to make method precedence explicit 2010-01-30 21:14:41 +13:00
Slava Pestov 6eceff6acb compiler.crossref: cleanup 2010-01-30 21:14:40 +13:00
Joe Groff 54e0221de5 images: extend pixel-at/set-pixel-at with versions that select/replace rows of pixels 2010-01-29 16:30:34 -08:00
Erik Charlebois 1c8b4f08a4 Merge branch 'master' of git://github.com/slavapestov/factor 2010-01-29 15:57:31 -08:00
erikc e44973e2c7 Working collada viewer, temporary vocab 2010-01-29 15:48:50 -08:00
Slava Pestov 36618bc46e typed: update for dependency changes 2010-01-30 10:53:42 +13:00
Slava Pestov ea9dbf2ea1 compiler.crossref: more space-efficient storage of dependency information 2010-01-30 09:29:02 +13:00
Slava Pestov fa4f7d8ccf Clean up some code in preparation for a refactoring 2010-01-30 09:29:02 +13:00
Slava Pestov 015a9d365d compiler.crossref: memoize dependency evaluation 2010-01-30 09:29:01 +13:00
Slava Pestov c438e84bd0 compiler.crossref: add next-method dependency 2010-01-30 09:29:01 +13:00
Slava Pestov a13c2fb856 compiler.crosssref: rename word property 2010-01-30 09:29:00 +13:00
Slava Pestov 6cc68e889e stack-checker.dependencies: add tuple layout dependencies for use by 'new' and 'boa' 2010-01-30 09:29:00 +13:00
Slava Pestov 09ead56652 Re-work flushed dependencies into new compiler cross-referencing framework 2010-01-30 09:29:00 +13:00
Slava Pestov c058343167 Add some utility words to stack-checker.dependencies in preparation for a refactoring 2010-01-30 09:28:59 +13:00
Slava Pestov 26f311279c Re-defining a tuple class now invalidates cached quotation stack effects 2010-01-30 09:28:59 +13:00
Slava Pestov c027046857 New 'conditional dependency' mechanism for more accurate recording of recompilation information 2010-01-30 09:28:57 +13:00
Slava Pestov 817bc02392 compiler.tree.propagation.call-effect: clear out dependency tracking variables to ensure that infer calls made by call( as part of the compile process doesn't pollute the dependencies of the word being compiled 2010-01-30 09:28:57 +13:00
Slava Pestov ab428fc259 Code cleanups 2010-01-30 09:28:56 +13:00
Slava Pestov f031a97084 Work in progress: record constant-folds of predicate words, and call-next-method invocations, in the same way that method inlining are recorded, for greater recompilation accuracy 2010-01-30 09:28:56 +13:00
Slava Pestov bd479db2f8 Fix regression when forgetting classes 2010-01-30 09:28:55 +13:00
Slava Pestov 238ec94e06 tools.deploy.shaker: don't strip "mixin" word prop 2010-01-30 09:28:54 +13:00
Slava Pestov 830e25c70b More changes so that mixins trigger even less recompilation 2010-01-30 09:28:53 +13:00
Slava Pestov d58f73453f Add test case for mixin bug Doug found, seems to be fixed now 2010-01-30 09:28:52 +13:00
Slava Pestov af41dc6169 Trying to fix mixin semantics 2010-01-30 09:28:51 +13:00
Doug Coleman d3db7e0225 Add mnapply, smart-apply. Docs incoming soon 2010-01-29 13:47:06 -06:00
Doug Coleman 1f76ab2d45 try-find is just attempt-all. oops 2010-01-28 23:28:11 -06:00
Doug Coleman 9a8bd26786 Remove an iota from images.jpeg 2010-01-28 23:13:28 -06:00
Doug Coleman 4edc37b70c clean up random.windows init hook, and add another crypto provider 2010-01-28 22:45:19 -06:00
erikc ef20b40093 Merge branch 'master' of git://github.com/slavapestov/factor 2010-01-28 14:14:33 -08:00
Slava Pestov 6cdf4de4eb Fix and clean up stage1 bootstrap 2010-01-28 17:30:35 +13:00
Slava Pestov ce60f3c6b6 vocabs.prettyprint: fix error when printing auto-use 2010-01-28 16:46:24 +13:00
erikc a0e3f01a88 Merge branch 'master' of git://github.com/slavapestov/factor 2010-01-27 15:31:23 -08:00
Slava Pestov 0fa425b03a combinators.smart: smart-if was declared inline, and had no unit tests, and so was broken. This was not caught until inline macros became a parse error. Add unit tests for it 2010-01-27 22:23:04 +13:00
Slava Pestov ca19d44350 Throw a nice error at parse time if an attempt is made to declare a GENERIC: or MACRO: word inline. Such words cannot be inlined, and doing this before previously result in confusing error messages 2010-01-27 21:00:10 +13:00
Slava Pestov 3237e48b2d vocabs.parser: The manifest is now a definition observer, and updates itself when compilation units complete. This helps keep listener's search path up to date if vocabularies and words are renamed, defined, and undefined
- This makes forget-vocab more reliable in the listener
- It also fixes the problem of listener sessions where QUALIFIED: was used referring to outdated words if the vocabulary in question was reloaded
2010-01-27 20:49:26 +13:00
Slava Pestov 7fe96f3eff math.ranges: doesn't need an equal? method, since sequence doesn't define one, and default tuple equal? is fine for ranges 2010-01-27 19:28:45 +13:00
Daniel Ehrenberg 19d551a544 Merge branch 'master' of git://factorcode.org/git/factor 2010-01-26 14:14:05 -06:00
Daniel Ehrenberg 52f2ac2bb9 Tests for propagation additions; making fixnum-bit? inline 2010-01-25 20:15:17 -06:00
erikc 66aaebe08d Targa image file loading and saving for RGB and ARGB uncompressed images 2010-01-25 16:38:04 -08:00
Slava Pestov 6306d58f77 help.crossref, tools.crossref: improved help cross-referencing 2010-01-26 01:18:10 +13:00
Slava Pestov 13e2de5cae help.lint: flush 2010-01-26 01:01:27 +13:00
Slava Pestov cb9261d975 grouping: add a unit test 2010-01-26 01:01:22 +13:00
Slava Pestov de3168ad71 Various documentation improvements 2010-01-26 01:01:12 +13:00
Slava Pestov d4435ed32a command-line: if -e= is passed, don't run main vocab after evaluation ends 2010-01-25 21:05:42 +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
Joe Groff 14de77d435 inline specialized-vector byte-length 2010-01-24 20:16:10 -08:00
Slava Pestov 942f6e0943 Update Win64 support 2010-01-25 15:39:34 +13:00
Doug Coleman af96673458 Better fix for ipv6 2010-01-24 15:57:06 -06:00
Doug Coleman ef5baa5b67 Handle IPv6 addresses of the form ::127.0.0.1 2010-01-24 15:40:34 -06:00
Joe Groff 230630c78a Merge branch 'master' of git://factorcode.org/git/factor 2010-01-24 12:48:17 -08:00
Joe Groff 6ec4f4ef8b more fussing over locals docs grammar 2010-01-24 10:05:56 -08:00
Doug Coleman c50682c6f0 make unix.utilities unportable 2010-01-23 10:12:25 -06:00
Doug Coleman 1a5768030b Make unix.debugger unportable 2010-01-23 10:03:02 -06:00
Doug Coleman 7c40fc1a36 unix-system-call io-error -> unix-system-call drop
make unix.ffi, unix.ffi.linux unportable
fix spacing in io.cpp before refactoring
2010-01-23 09:07:35 -06:00
Joe Groff 7d0c67adf0 remove redundant text from docs for locals docs 2010-01-22 18:40:00 -08:00
Doug Coleman 2bf53dde61 Fix netbsd load error 2010-01-22 17:10:32 -06:00
Joe Groff f0f3252113 unicode.case: rename title-word to capitalize and make it public 2010-01-22 15:06:04 -08:00
Doug Coleman 4857c737d3 Fix getgrent call in unix.groups 2010-01-22 16:55:05 -06:00
Doug Coleman afdb7f6329 remove a stray character 2010-01-22 15:07:01 -06:00
Doug Coleman 760746e2ff Fix using 2010-01-22 15:01:38 -06:00
Doug Coleman 8c1d202b4c Rename accumulator to collector, pusher to selector 2010-01-22 15:00:53 -06:00
Doug Coleman f144a36ad0 Move netbsd.structs into netbsd 2010-01-22 14:49:32 -06:00
Doug Coleman bbff91e0ed Fix load error 2010-01-22 14:45:15 -06:00
Doug Coleman f7ee9223ae Fix using 2010-01-22 13:24:50 -06:00
Doug Coleman 3c09c7052c Fix using 2010-01-22 12:59:33 -06:00
Doug Coleman b7b84fc5b7 fix using 2010-01-22 12:59:27 -06:00
Doug Coleman 8d952277a2 Handle EINTR in a lot of cases where it wasn't handled before. Split off unix into unix.ffi and unix. 2010-01-22 12:59:24 -06:00
Doug Coleman bb2f455747 Save images to a temporary file first, then call MOVE_FILE to avoid writing incomplete and truncated images. 2010-01-22 12:59:20 -06:00
Doug Coleman 07fcb43a06 Make unix-system-call retry the call immediately upon hitting EINTR. Use unix-system-call wherever EAGAIN or EINPROGRESS are not handled. Handle EINTR if connect returns it. 2010-01-22 12:59:17 -06:00
Slava Pestov 790c7afeaf io.launcher: since process timeouts only kick in when wait-for-process is called, try-output-process would hang indefinitely. Fix this by splitting up wait-for-process and wrapping stream-contents in a with-timeout 2010-01-22 12:20:37 -06:00
Slava Pestov 098ef42202 compiler: fix docs 2010-01-23 00:46:04 +13:00
Slava Pestov ea5e168d77 compiler.test: fix 2010-01-23 00:40:56 +13:00
Slava Pestov f804c9c422 Move compile-call and related words only meant to be used for debugging to compiler.test 2010-01-23 00:39:56 +13:00
Slava Pestov 892522f8bd alien.c-types: ensure that long and ulong types are defined with define-primitive-type and not typedef 2010-01-23 00:15:08 +13:00
Slava Pestov 638fbb13b0 alien.c-types: clean up and fix for win64 2010-01-22 23:14:20 +13:00
erikc d63c2fefc9 Fix missing vocab USINGs and mispelled d2dbasetypes 2010-01-21 23:33:37 -08:00
erikc 407399b86a Add iota call in game.input.dinput fill-mouse-state. 2010-01-21 18:39:23 -08:00
Doug Coleman 97668156d9 NetBSD 64 blas abi changed 2010-01-21 05:02:39 -06:00
Slava Pestov e68996c511 game.input.dinput: fix load error 2010-01-20 07:02:48 -06:00
Slava Pestov 5279845ee0 tools.deploy.shaker: also include tools.errors if user requests debugger to be part of image. This ensures useful printouts of parse errors 2010-01-20 07:01:29 -06:00
Daniel Ehrenberg d3590ea210 Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:

	basis/compiler/tree/propagation/transforms/transforms.factor
2010-01-20 00:15:55 -06:00
Daniel Ehrenberg aa1651032d Adding compiler transforms in propagation 2010-01-20 00:10:49 -06:00
Slava Pestov 21c07397d2 Merge branch 'master' of git://github.com/erikcharlebois/factor 2010-01-20 18:10:25 +13:00
erikc 281103ec7e Move windows.dinput to windows.directx.dinput. 2010-01-19 21:08:28 -08:00
Slava Pestov 9d41492aa0 windows.psapi: add unportable tag 2010-01-20 18:02:10 +13:00
Slava Pestov 8b366c108f Merge branch 'master' of git://github.com/erikcharlebois/factor 2010-01-20 17:51:40 +13:00
Slava Pestov 00328c85e0 vm: remove vm-ptr primitive 2010-01-20 17:06:49 +13:00
Slava Pestov 580cbe75c6 Make stack-checker throw proper errors for primitives that do not have static stack effects 2010-01-20 16:37:58 +13:00
erikc 20d27198b0 Merge branch 'master' of git://github.com/slavapestov/factor 2010-01-19 19:31:44 -08:00
erikc 10566ccf5d DirectSDK bindings, excluding dinput which already exists. 2010-01-19 19:31:14 -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
Slava Pestov cc69719147 vm: don't recompile lazy-jit-compile more than once 2010-01-20 02:48:31 +13:00
Slava Pestov 9a222a4163 compiler.tree.propagation.call-effect: eliminate some dispatch from call( expansion 2010-01-19 21:08:45 +13:00
Slava Pestov 5606825e8b vm: remove primitive table, non-optimizing compiler now looks up primitives with dlsym() 2010-01-19 20:00:33 +13:00
Slava Pestov 8836ce2581 Fix performance regression in vector ops on specialized arrays, tweak definition of <slice> and 2map-reduce to generate fewer conditionals 2010-01-19 17:48:10 +13:00
Slava Pestov ac800e2396 compiler.tree.escape-analysis: make tests a bit more robust; a change to boa constructors recently meant dead curries were showing up on certain expansions, this was throwing off the escape-analysis test's unboxed allocation counting. Fix this by having the test run DCE first, and remove a few tests that no longer make sense now 2010-01-18 23:32:34 +13:00
Slava Pestov c4f19bc117 io.servers.connection: accept-loop doesn't need to be 'inline recursive' 2010-01-18 22:23:57 +13:00
Slava Pestov 637a77c018 Stop wearing monocle and use the term "entry point" instead of "XT" throughout VM and compiler; also remove two unused relocation types 2010-01-18 20:54:00 +13:00
Doug Coleman 41082b5b12 Fix minor typo in <server> docs 2010-01-17 23:13:20 -06: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 eaff1841fa specialized-arrays: don't define useless empty T-sequence mixin 2010-01-16 20:19:35 +13:00
Slava Pestov 3b5f7a9ecf compiler.tree.propagation: ensure that we don't call 'equal?' or 'hashcode' on literals in words being compiled 2010-01-16 20:00:48 +13:00
Slava Pestov dd0571e69a io.buffers: fix buffer-until for iota (reported by Sascha Matzke) 2010-01-16 18:44:24 +13:00
Slava Pestov 8c8818b00b ui.gadgets.search-tables: fix breakage 2010-01-16 18:44:23 +13:00
Doug Coleman 00f58f81e1 Fix iota bug in io.files.info.windows 2010-01-15 21:17:47 -06: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 7f7e1e4e1d Help lint fixes for iota 2010-01-15 17:04:14 +13:00
Doug Coleman 4e6a5a772f Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	core/sequences/sequences-docs.factor
2010-01-14 17:22:02 -06:00
Doug Coleman 9356da6fb3 Fix a few integers-as-sequences in docs 2010-01-14 17:20:43 -06:00
Doug Coleman 350f69b645 Clean up a windows.time word 2010-01-14 17:20:30 -06:00
Slava Pestov df40d92216 math.functions: fix memory protection error if exp called on a complex number with a rational real part (reported by prunedtree) 2010-01-15 08:23:48 +13:00
Slava Pestov ad6d8556e0 Change [0,b) usages to iota 2010-01-15 08:05:50 +13:00
Slava Pestov 7155447aed stack-checker: add inputs and outputs words, since 'infer (in>>|out>>) length' was coming up a lot 2010-01-15 08:04:14 +13:00
Doug Coleman a483261bed Merge branch 'master' of git://factorcode.org/git/factor 2010-01-14 12:55:56 -06:00
Slava Pestov e4c53f67b0 stack-checker.errors.prettyprint: fix prettyprinting of unbalanced-branches-error 2010-01-15 07:51:36 +13:00
Doug Coleman 4c71d71907 random is generic now -- iota random -> random 2010-01-14 12:48:57 -06:00
Doug Coleman 7dc60e3625 Update docs for random 2010-01-14 12:45:30 -06:00
Doug Coleman 2cd10e7166 Don't rely on integers as sequences for unit tests 2010-01-15 07:15:36 +13:00
Doug Coleman 52f4a05fad Make random a generic so it can still be called on integers 2010-01-15 07:15:35 +13: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
Doug Coleman 4ce5c3a155 Merge branch 'master' of git://factorcode.org/git/factor 2010-01-14 11:18:34 -06:00
Doug Coleman f7f67c57a3 use clamp 2010-01-14 11:18:10 -06:00
Slava Pestov 50d68c1b10 Fix input-classes of /i and mod, and add some regression tests with various reductions of the original test-case from the terrain demo 2010-01-14 18:15:51 +13:00
Slava Pestov ce2487e6c0 compiler.codegen.fixup: cache symbol names, reducing image size by ~200Kb 2010-01-13 23:18:43 +13:00
Slava Pestov 47a5e96547 Rework min and max so that behavior with floats and NaNs is consistent between generic arithmetic and open-coded float intrinsics 2010-01-13 22:20:16 +13:00
Slava Pestov 1c10196c43 Rename kernel.private:getenv/setenv to special-object/set-special-object to mirror recent renaming on the VM side 2010-01-13 18:08:18 +13:00
Slava Pestov 7bf76b9f13 PowerPC optimizing compiler backend fixes 2010-01-12 08:02:10 -06:00
Slava Pestov 988c8d0601 More PowerPC non-optimizing compiler backend fixes 2010-01-13 03:09:43 +13:00
Slava Pestov 85a45d63d9 unwind-stack-frames didn't load VM pointer into the VM register on PowerPC and x86-64, and so if C code had clobbered this register it would crash 2010-01-12 16:31:10 +13:00
Slava Pestov 87f6efc8ec cpu.ppc: fix some typos in non-optimizing backend 2010-01-11 14:15:41 +13:00
Slava Pestov 8d34a0f3c1 Store VM object in a register on x86-64 2010-01-11 01:20:32 +13:00
Slava Pestov 5b58117be1 cpu.x86: c-to-factor needs to deal with the fact that vm-reg might have been clobbered 2010-01-09 19:09:48 +13:00
Slava Pestov 39015030a0 compression.zlib: -1 * is neg 2010-01-08 19:51:38 +13:00
Alec Berryman b85d26759a Fix zlib-error-message to include human-readable version
The error string is looked up in an array, but because zlib
error codes are negative, the error's string was always "f".
2010-01-08 19:51:03 +13:00
Slava Pestov 6266b41325 Starting to update PowerPC backend for recent VM changes (untested) 2010-01-08 19:46:27 +13:00
Slava Pestov d84f132589 math.floats.env.x86: split off 32 and 64-bit code into sub-vocabularies 2010-01-07 20:44:28 +13:00