Slava Pestov
5700d94e2b
unix.utilities: remove platforms.txt since its portable
2010-02-21 17:48:04 +13:00
Slava Pestov
eab105590b
Rename io.launcher.unix.parser to simple-tokenizer since ftp.server uses it
2010-02-21 17:48:04 +13:00
Slava Pestov
f78e5c7430
ui.text.pango: add a platforms.txt
2010-02-21 17:48:03 +13:00
Slava Pestov
e26393394d
tools.crossref: fix method cross-referencing
2010-02-21 17:48:03 +13:00
Joe Groff
d673108518
game.input: add a convenient "buttons-delta" word to convert two key/button state samples into pressed/released values
2010-02-20 10:10:02 -08:00
Joe Groff
83d6f7fc6f
if you're going to support shift-del, you should also support shift-ins and ctrl-ins
2010-02-20 09:45:42 -08:00
William Schlieper
f71e22eda5
Fixed ridiculously stupid error in Linux game.input library
2010-02-20 09:36:58 -05:00
William Schlieper
47666f0049
Fixed a bug in the linux version of game.input
2010-02-20 08:35:02 -05:00
William Schlieper
e342e92f86
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
basis/game/input/input.factor
2010-02-20 08:18:33 -05:00
William Schlieper
ea4d261a45
Added rudimentary x11 support in game.input
2010-02-20 08:09:49 -05:00
Erik Charlebois
b25e945c74
The return values in the stack effects of FUNCTION: words were c-types rather than strings. This was causing scaffold-help to fail on vocabularies with FUNCTION:.
2010-02-20 03:02:56 -08:00
Erik Charlebois
30b586ef5f
Merge up
2010-02-20 00:24:37 -08:00
Slava Pestov
6e516789d5
continuations: add a throw-continue word for resumable errors, and change vocabs.metadata to throw a resumable error if the current platform is not supported
2010-02-20 13:41:33 +13:00
Slava Pestov
c3f4bcb616
Fix load errors exposed by platforms.txt change
2010-02-20 13:31:09 +13:00
Slava Pestov
95bfc8a240
vocabs.metadata: replace unportable tag with a platforms.txt file for more fine-grained control. Rename unportable tag to untested for remaining cases
2010-02-20 13:30:49 +13:00
Slava Pestov
daed64d8b4
ui.gadgets.worlds: support S+DELETE as an alternative shortcut for cut-action
2010-02-20 12:24:25 +13:00
Slava Pestov
66bb912641
prettyprint.config: set some output limits by default. Use the new without-limits combinator to get the old behavior
2010-02-20 12:18:16 +13:00
Slava Pestov
c5a62b14e7
stack-checker.dependencies: fix load error
2010-02-20 12:08:14 +13:00
Slava Pestov
9cd164f3ac
tools.crossref: don't include generic words in usage lists, since the results are useless and arbitrary -- they depend on the contents of megamorphic caches
2010-02-20 12:05:52 +13:00
Slava Pestov
08a80e5ba2
specialized-arrays: generate slightly more efficient byte-array>T-array words
2010-02-20 12:05:12 +13:00
Slava Pestov
6501480a0e
Fix two problems with recompilation: predicate constant folding was recording unsatisfied dependencies in some cases, and literal tuple instances of forgotten classes would cause problems for method inlining
2010-02-20 12:01:47 +13:00
Slava Pestov
5336d6f287
io.monitors.recursive: fix hang introduced by recent io.monitors change
2010-02-19 07:36:12 -05:00
Slava Pestov
cc5394f4e9
Merge branch 'fixes' of git://github.com/Blei/factor
2010-02-20 00:27:11 +13:00
Slava Pestov
a343f8a31c
io.monitors: if a monitor is disposed while other threads are waiting on it, an error will be thrown from next-change, instead of those threads hanging forever. This makes monitors consistent with streams and other native resources that behave in a similar manner
2010-02-20 00:23:24 +13:00
Philipp Brüschweiler
a615700af1
ui.tools.listener docs: typo
2010-02-19 11:23:20 +01:00
Slava Pestov
be8a0f7779
concurrency.promises: fix formatting
2010-02-19 21:45:50 +13:00
Slava Pestov
7692bd1715
concurrency.mailboxes: mailboxes should not be disposable, since futures and promises use them in a transient fashion, causing leaks
2010-02-19 21:45:43 +13:00
Slava Pestov
170f2b5eca
game.input: fix load error on *BSD, remove dependency on windows.com from game.input.linux
2010-02-19 18:24:23 +13:00
Slava Pestov
b59da05347
Merge branch 'master' of git://github.com/erikcharlebois/factor
2010-02-19 12:35:21 +13:00
Slava Pestov
c3de89c808
help.lint.checks: you can't have duplicate names in $values anymore
2010-02-19 12:32:03 +13:00
Slava Pestov
220dd88a2c
Update documentation for new help lint check
2010-02-19 12:31:52 +13:00
Erik Charlebois
44e61dbc85
Merge branch 'master' of git://github.com/slavapestov/factor
2010-02-18 12:54:26 -08:00
Erik Charlebois
d3d7392fa9
Implement input grabbing for x11; add do-nothing game.input backend for linux. The game and gpu demos now run correctly.
2010-02-18 12:52:33 -08:00
Slava Pestov
2a517d31df
help.stylesheet: tweak color
2010-02-19 04:11:57 +13:00
Slava Pestov
488e5ead26
tools.deploy.libraries.windows: add unportable tag to avoid loading windows.kernel32 on non-windows platforms
2010-02-19 04:11:48 +13:00
Erik Charlebois
f2e8128f5d
Merge up
2010-02-17 18:16:16 -08:00
Slava Pestov
9da061de5e
listener: fix help lint
2010-02-18 07:02:22 +13:00
Slava Pestov
9debed1c75
typed: update documentation
2010-02-18 04:13:21 +13:00
Slava Pestov
bf72c89060
tools.deploy.backend: clean up
2010-02-18 03:57:10 +13:00
Slava Pestov
049b87bda9
tuple-arrays: require that base type be final
2010-02-18 03:57:02 +13:00
Slava Pestov
4b76e2a61d
functors: make 'final' declarations work in functors
2010-02-18 03:56:41 +13:00
Slava Pestov
d2ae4ff4ba
listener: fix docs
2010-02-18 03:36:43 +13:00
Slava Pestov
9df8a3adbd
see: show final declaration on tuples
2010-02-18 03:01:26 +13:00
Slava Pestov
ff172f4132
Make specialized arrays and SIMD types final so that typed can unbox them
2010-02-18 02:39:40 +13:00
Slava Pestov
60296be964
typed: only unbox final classes. Fixes bug reported by littledan
2010-02-18 02:39:12 +13:00
Slava Pestov
01824d41be
Add support for final tuple classes which cannot be subclassed: TUPLE: foo ... ; final
2010-02-18 02:19:57 +13:00
Slava Pestov
63928191e7
Minor documentation fixes
2010-02-18 01:19:39 +13:00
Slava Pestov
da7cd4186a
help.markup: make $example render slightly nicer
2010-02-18 01:18:48 +13:00
Erik Charlebois
08f65189d3
Merge branch 'master' of git://github.com/slavapestov/factor
2010-02-17 00:06:27 -08:00
Joe Groff
a9c13e0301
fix last globs test on windows
2010-02-16 22:19:56 -08:00
Joe Groff
10bc247ed4
typo in tools.deploy.backend
2010-02-16 14:33:57 -08:00
Joe Groff
38f98afe6f
search resource: for unix libraries too
2010-02-16 14:24:29 -08:00
Joe Groff
b64f694e7e
tools.deploy.shaker typos
2010-02-16 14:23:51 -08:00
Joe Groff
b208c30fd3
tools.deploy.shaker: prune library manifest
2010-02-16 13:41:35 -08:00
Joe Groff
08a20f9478
math.blas.config: add deploy-blas? variable
2010-02-16 13:38:29 -08:00
Joe Groff
42089b6586
alien.libraries: add a "deploy-library" word that marks a library to have its dll deployed with applications that use it. add support to tools.deploy to find and copy deployed libraries into target bundle
2010-02-16 13:32:58 -08:00
Joe Groff
31029de959
Merge branch 'master' of git://factorcode.org/git/factor
2010-02-16 10:41:15 -08:00
Joe Groff
9af0f8d426
fix globs tests
2010-02-16 10:40:23 -08:00
Erik Charlebois
fd1416617e
Merge to upstream
2010-02-16 10:35:15 -08:00
Erik Charlebois
fcbeb3467d
Line endings
2010-02-16 10:33:19 -08:00
Joe Groff
25b93af7df
git doesn't track empty directories. remove that from the vocab.metadata.resources tests
2010-02-16 10:29:18 -08:00
Slava Pestov
4b41d8e83e
vocabs.metadata.resources: fix help lint
2010-02-17 01:52:16 +13:00
Slava Pestov
5557353f97
tools.deploy.windows.ico: add unportable tag so that load-all doesn't load Win32 bindings on non-Windows platforms
2010-02-17 01:52:09 +13:00
Slava Pestov
177e741ea0
tools.deploy: add deploy tests for gpu.demos.raytrace and gpu.demos.bunny
2010-02-17 00:33:08 +13:00
Slava Pestov
55cf38163f
inverse: remove unnecessary dependency on debugger
2010-02-17 00:32:53 +13:00
Erik Charlebois
550cd430f1
Merge branch 'master' of git://github.com/slavapestov/factor
2010-02-16 03:27:33 -08:00
Erik Charlebois
c8192adf71
Fix some doc typos, metadata
2010-02-16 03:25:03 -08:00
Slava Pestov
6620a12cde
Merge branch 'deploy-resources' of git://factorcode.org/git/factor into deploy-resources
2010-02-17 00:17:09 +13:00
Erik Charlebois
d8c4522705
Fix docs typo
2010-02-16 03:14:30 -08:00
Slava Pestov
bd0ca0e2aa
Clean up some tags
2010-02-17 00:12:55 +13:00
Slava Pestov
f01487eb83
A few documentation fixes
2010-02-17 00:05:36 +13:00
Slava Pestov
361de6c470
math.points: move to extra
2010-02-16 15:29:02 +13:00
Slava Pestov
b963d56aac
compiler.tree.escape-analysis: fix bug that comes up when inheritance is used
2010-02-16 14:44:13 +13:00
Slava Pestov
c7454d8bba
tools.annotations: fix for nanoseconds
2010-02-16 13:56:11 +13:00
Joe Groff
bd2b72ad08
update vocabs and tools.deploy docs to mention icon files
2010-02-15 14:18:26 -08:00
Joe Groff
4ebfd1ef3a
you have to parse the .ico file yourself and update individual RT_ICON and RT_GROUP_ICON resources. lame
2010-02-15 14:04:11 -08:00
Joe Groff
f06e278e17
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
basis/tools/deploy/shaker/shaker.factor
2010-02-15 11:50:43 -08:00
Joe Groff
b1160f6b36
tools.deploy.windows: embed icon.ico from deployed vocab dir into deployed exe
2010-02-15 11:49:03 -08:00
Joe Groff
f1d6082738
windows.kernel32: add MAKEINTRESOURCE, standard resource types
2010-02-15 11:48:28 -08:00
Joe Groff
4a5e9ecdf4
windows.kernel32: bindings for BeginUpdateResource, UpdateResource, EndUpdateResource
2010-02-15 11:26:26 -08:00
Joe Groff
f9d6ba0339
tools.deploy.macosx: copy "icon.icns" from deployed vocab to app bundle as app icon
2010-02-15 10:56:23 -08:00
Joe Groff
45c85d1851
update vocabs and deploy docs to mention resources.txt
2010-02-15 10:14:30 -08:00
Slava Pestov
4893ebf183
Small cleanups
2010-02-16 04:04:09 +13:00
Slava Pestov
64a37d2db6
compiler.tree.propagation.transforms: tweak 2^ transform to fix performance regression in benchmark.beust2; introduced by 47d6507548
2010-02-16 01:03:09 +13:00
Erik Charlebois
3bdc84a07a
Fix D3D9 constants that I punted on calculating initially.
2010-02-14 23:41:44 -08:00
Joe Groff
a6bbb6dca6
update unix, windows, and test deploy backends
2010-02-14 23:10:05 -08:00
Joe Groff
1b5ba15707
Merge branch 'master' of git://factorcode.org/git/factor
2010-02-14 21:07:04 -08:00
Slava Pestov
4266023639
tools.deploy.shaker: strip out vm, image, current-directory to avoid leaking information from build environment
2010-02-15 17:54:19 +13:00
Slava Pestov
62f5a2af1c
tools.deploy.shaker: don't strip out io.files hook, since then we lose resource-path and such
2010-02-15 17:37:07 +13:00
Slava Pestov
e19461d410
io.files.info: load io.files.info.unix if we're on Unix. Fixes long-standing no-method error on file-info
2010-02-15 17:15:26 +13:00
Aaron Schaefer
6e3812b563
Merge branch 'master' of git://factorcode.org/git/factor
2010-02-14 16:01:45 -06:00
Aaron Schaefer
e772aae510
Typo in command-line docs
2010-02-14 16:00:08 -06:00
Joe Groff
8d9268bcc2
Merge branch 'master' of git://factorcode.org/git/factor
2010-02-14 12:42:37 -08:00
Joe Groff
eb875e1e78
create a real "ui.gadgets.theme" vocab, move theme-image word into it, and add theme images to resources.txt
2010-02-14 12:42:03 -08:00
Joe Groff
281ddf5b27
remove debug output from vocab.metadata.resources
2010-02-14 12:08:13 -08:00
Joe Groff
5f0855c5c2
globs: add "glob-parent-directory" word that returns the deepest level of a path without glob symbols
2010-02-14 11:49:33 -08:00
Joe Groff
9c77d7bde8
have tools.deploy.shaker write a manifest of loaded vocabs to a file. have tools.deploy.backend read in this manifest. have tools.deploy.macosx copy resources for the manifest vocabs to the deployed bundle
2010-02-14 11:29:37 -08:00
Joe Groff
072dd3b0d0
vocabs.metadata.resources: don't try to expand resource patterns for vocabs without a resources.txt
2010-02-14 09:59:36 -08:00
Slava Pestov
e1f80b4930
Merge branch 'master' of git://github.com/erikcharlebois/factor
2010-02-15 01:26:10 +13:00
Slava Pestov
51c833e12f
core-foundation.arrays: forgot to check in unit tests
2010-02-15 01:03:40 +13:00
Slava Pestov
a1cb7b4be1
More preparations for a release
2010-02-15 01:03:26 +13:00
Erik Charlebois
8f86cc6e51
Made p^ more efficient by repeated squaring instead of repeated multiplication
2010-02-13 19:47:44 -08:00
Joe Groff
c0aee19082
vocabs.metadata: add "vocab-resources" word to read list of deployable resource files from a "resources.txt" file in the vocab directory. add "vocabs.metadata.resources" subvocab that expands globs and directory names in resources.txt entries
2010-02-13 14:31:10 -08:00
Joe Groff
1632fa6448
io.directories: directory-tree-files should include the directories too, not just their contents
2010-02-13 13:57:58 -08:00
Joe Groff
72de727d0e
globs: * and ? should not match path-separator
2010-02-13 13:35:04 -08:00
Joe Groff
2b05f90c7b
io.directories: add "directory-tree-files" and "with-directory-tree-files" words
2010-02-13 12:52:32 -08:00
Erik Charlebois
68c5335d50
Fix stack effect decl in listener.factor and mismatched dynamic stack effect for error hook in remote.factor
2010-02-13 03:50:04 -08:00
Erik Charlebois
8861dfb834
Merge up with Joe's earlier change that added s3tc
2010-02-13 02:43:42 -08:00
Erik Charlebois
6a039cdc76
Merge up with Joe's earlier change that added s3tc
2010-02-13 02:41:03 -08:00
Erik Charlebois
52230d6c4d
Add p^ to polynomial vocab for exponentiation of polynomials
2010-02-13 02:35:09 -08:00
Erik Charlebois
ba493063fb
Constants for GL_EXT_texture_compression_s3tc and GL_EXT_texture_compression_latc
2010-02-13 02:34:26 -08:00
Joe Groff
83d10d8135
gpu.textures: add compressed texture support
2010-02-11 14:22:54 -08:00
Slava Pestov
a118f208dc
compiler.tree.propagation, compiler.tree.escape-analysis: make these passes handle constants in a more robust way in compilation units involving tuple reshaping
2010-02-12 02:50:59 +13:00
Slava Pestov
a3b74d88c9
cpu.architecture: rep-length now works in deployed images
2010-02-11 18:11:47 +13:00
Slava Pestov
57ba1aff60
compiler.tree.propagation.inlining: remove some unused words
2010-02-11 16:29:48 +13:00
Slava Pestov
ab04605230
furnace.asides: end-aside-post didn't set the params variable. Fixes a bug introduced by commit fa4a10b328
way back in August 2009
2010-02-10 19:32:38 +13:00
Slava Pestov
6e34de5588
math.functions: clean up
2010-02-10 15:04:58 +13:00
Slava Pestov
646a88fbf2
ui.backend.cocoa.tools: use interactive-vocabs for 'evaluate selection' service
2010-02-10 11:47:06 +13:00
Slava Pestov
301b407f45
core-foundation.arrays: CF>array word was broken ever since integer sequences were removed
2010-02-10 11:46:44 +13:00
Slava Pestov
bd7be6f7b8
help.home: don't flip out if an article in the recent list does not exist. Fixes problem where forgetting a vocab screws up help browser
2010-02-09 22:21:05 +13:00
Slava Pestov
5810987f13
Merge branch 'master' of git://github.com/littledan/Factor
2010-02-09 14:35:30 +13:00
Daniel Ehrenberg
627b508bcf
Giving combinators.short-circuit proper row-polymorphic behavior
2010-02-08 19:32:53 -06:00
Slava Pestov
97e6315c47
debugger: fix formatting of restart list
2010-02-08 20:03:18 +13:00
Slava Pestov
07ce30e1fe
ui.text: fix USING: line
2010-02-08 19:18:51 +13:00
Slava Pestov
0b4edcf8ad
ui.text: add a string>image hook and clean up a bit of code duplication
2010-02-08 18:40:26 +13:00
Slava Pestov
48373a6c4c
Remove math.floats.parser now that its no longer needed
2010-02-08 16:52:29 +13:00
Joe Groff
243a97e8dd
specialized-vectors: fix byte-length to return byte-length of the vector rather than of its underlying capacity
2010-02-07 15:24:39 -08:00
Slava Pestov
38ca12e9d8
math.floats.parser: new vocabulary with old string>float word
2010-02-08 08:32:13 +13:00
Slava Pestov
db4a1f7536
Fix unit test for math.parser change
2010-02-08 08:31:17 +13:00
Slava Pestov
747974f4ae
vm: nuke unused (string>float) primitive
2010-02-08 08:16:56 +13:00
Slava Pestov
afee6ccfcd
Merge branch 'new-math-parser' of git://factorcode.org/git/factor into new-math-parser
2010-02-07 23:28:18 +13:00
Joe Groff
72f7f472b9
Merge branch 'master' of git://factorcode.org/git/factor
2010-02-07 00:13:44 -08:00
Slava Pestov
83674821a1
ui.text: fix outdated material
2010-02-07 18:20:54 +13:00
Slava Pestov
e2500c14d2
io.launcher.unix: sometimes both WIFEXITED and WIFSIGNALED would return true, and the wrong status would be reported
2010-02-07 18:17:53 +13:00
Slava Pestov
583262ca7b
Merge branch 'master' of git://github.com/erikcharlebois/factor
2010-02-07 18:09:04 +13:00
erikc
1af9b68495
Don't FEP on unhandled case for WM_APPCOMMAND
2010-02-05 23:50:58 -08:00
Slava Pestov
d5a25f99bf
cpu.x86.64: inline cache miss blocks have a prolog generated in the middle of a procedure; undo a recent change to non-optimizing backend to fix random crashes
2010-02-06 18:45:27 +13:00
Slava Pestov
daefa86b6d
cpu.ppc: needs same fix for jit-profiling as on x86-64
2010-02-06 18:45:26 +13:00
Joe Groff
74d0ef4413
Merge branch 'master' of git://factorcode.org/git/factor
2010-02-05 20:13:45 -08:00
erikc
09cfec1d15
Merge branch 'master' of git://github.com/slavapestov/factor
2010-02-05 15:53:18 -08:00
erikc
6a18dec566
Had the color order for TGA backwards
2010-02-05 15:32:38 -08:00
Joe Groff
6199d3fccc
json: if-json-null combinator, in the same vein as if-zero, if-empty, etc.
2010-02-05 14:10:06 -08:00
Doug Coleman
4946beef3c
Fix typo in dinput binding
2010-02-05 14:09:17 -06:00
Slava Pestov
b6b780fb72
windows.types: remove duplicate typedefs flagged by recent alien.syntax change
2010-02-05 06:04:12 -06:00
Slava Pestov
59193af701
alien.syntax: save source location for TYPEDEF:, raise error on redefinition
2010-02-05 20:52:20 +13:00
Slava Pestov
aa3d65272a
cpu.x86: fix crashes when using certain features (threads, errors, etc) with profiling enabled on x86-64. The profiling stub was clobbering an argument for the unwind_native_frames() entry point
2010-02-05 20:52:19 +13:00
Slava Pestov
5fb4c30eb3
windows.types: another Win64 fix
2010-02-05 01:47:21 -06:00
Doug Coleman
7d73d85856
Fix help lint for user-id
2010-02-05 01:20:40 -06:00
unknown
5a55f3db28
windows.types: fix LONG_PTR type on win64
2010-02-04 22:44:41 -06:00
Doug Coleman
c32fcf918b
Fix user-name in unix.users, add unit test
2010-02-04 22:14:53 -06:00
Joe Groff
60561dd490
math.quaternions: slerp function
2010-02-04 20:08:37 -08:00
Doug Coleman
577db11c45
Merge branch 'master' of git://factorcode.org/git/factor
2010-02-04 16:03:16 -06:00
Joe Groff
2381e9bf24
quaterion to matrix4 conversion
2010-02-04 11:25:45 -08:00
Joe Groff
4ba8c6e0b5
Merge branch 'master' of git://factorcode.org/git/factor
2010-02-03 21:50:36 -08:00
Slava Pestov
f20b4e5607
tools.deploy.shaker: don't try to intern all word props anymore
2010-02-04 17:40:53 +13:00
Doug Coleman
a2ce57d856
Allow setting errno instead of just clearing it
2010-02-03 17:20:24 -06:00
Doug Coleman
b0840bc355
Don't allow access through symlinks leading out of the ftp.server serving directory
2010-02-03 15:26:37 -06:00
Slava Pestov
034cf391b1
cpu.ppc: final fix
2010-02-03 13:37:12 -06:00
Slava Pestov
5fbb8c8bc7
cpu.ppc: another fix
2010-02-04 08:19:59 +13:00
Slava Pestov
50c2a5ae84
cpu.ppc: load fixes
2010-02-04 08:08:31 +13:00
Slava Pestov
10fe9a811b
Fix classes.tuple tests and assocs help lint
2010-02-04 08:04:47 +13:00
Doug Coleman
3d8f77ca56
ERROR:s is immutable now, so don't use it in db
2010-02-03 12:25:55 -06:00
Slava Pestov
229a956593
help.handbook: mention foo! naming convention
2010-02-04 03:55:08 +13:00
Slava Pestov
cdcdb708d7
Update some more 'update' usages to call 'assoc-union!'
2010-02-04 03:44:24 +13:00
Slava Pestov
35acd71551
compiler.units: fix bug that came up recently with nested compilation units
2010-02-04 03:20:48 +13:00
Slava Pestov
11be5a4bd5
Rename update to assoc-union!, add assoc-filter! assoc-diff! words
2010-02-04 02:55:00 +13:00
Slava Pestov
8d3c11c176
compiler: remove some unnecessary complexity
2010-02-04 01:36:52 +13:00
Slava Pestov
c011380a19
compiler: tweak recompilation logic. speeds up '"terrain" require' by 8 seconds
2010-02-04 01:09:57 +13:00
Slava Pestov
22fbe01c17
Compiled code size optimizations for x86-64 resulting in development image size reduction of about 350kb
...
- RIP-relative LEA is now used to load program counter in prolog and tail calls; saves 3 bytes of code and 4 bytes of relocation information over an immediate MOV
- VM field accesses no longer involve a redundant addition
2010-02-03 23:11:35 +13:00
Slava Pestov
eed0b27d5d
tools.memory: display some more code heap stats
2010-02-03 23:11:34 +13:00
Slava Pestov
87665c8f40
math.statistics: rename histogram* to histogram! and rename sequence>assoc* to sequence>assoc!
2010-02-03 23:11:33 +13:00
Slava Pestov
662eba7a67
compiler.tree.propagation.call-effect: hack so that call( doesn't clear the last error
2010-02-03 23:11:33 +13:00
Slava Pestov
26cae00eeb
Add code heap introspection primitive to VM, and make a code-blocks word in tools.memory that wraps a useful interface around this. Add a lookup-return-address word and use this in tools.disassembler.utils
2010-02-03 23:11:32 +13:00
Slava Pestov
03c5293e68
binary-search: improve docs
2010-02-03 23:11:32 +13:00
Slava Pestov
f8828aef8d
strings.tables: fix a logic error
2010-02-03 23:11:31 +13:00
Slava Pestov
0b278adb5a
Test fixes
2010-02-03 23:11:31 +13:00
Slava Pestov
7846074b3b
db: update for ERROR: change
2010-02-03 23:11:31 +13:00
Slava Pestov
0438e4983b
macros: handle compile-time stack effect check of macro body more elegantly than previous attempt
2010-02-03 23:11:31 +13:00
Slava Pestov
7e64810a00
tuple-arrays: cleanup
2010-02-03 23:11:30 +13:00
Slava Pestov
7de81976a5
Revert "macros: macro body is now defined in its own subword, for compile-time stack effect checking"
...
This reverts commit 24de7c52f0c3f21cfcdb80235cac7296b0401c85.
2010-02-03 23:11:29 +13:00
Slava Pestov
3259ef4bec
vm: modify-code-heap primitive now takes a pair of parameters, update-existing? and reset-pics?. If no generic words were changed, PICs do not need to be reset. If no existing words were redefined, the code heap doesn't have to be traced at all. Speeds up compilation of PEGs since those create lots of compilation units
2010-02-03 23:11:28 +13:00
Slava Pestov
3e8d21b493
Clarify documentation for compilation units and 'undefined' error
2010-02-03 23:11:28 +13:00
Slava Pestov
cde6a2c5f7
prettyprint: make callstack output needlessly fancier
2010-02-03 23:11:26 +13:00
Slava Pestov
31cf64eb84
listener: add tools.walker to default interactive vocab path
2010-02-03 23:11:26 +13:00
Slava Pestov
55a89ec9c2
Better error message for call( when quotation has the wrong effect
2010-02-03 23:11:25 +13:00
Slava Pestov
df55fed478
generic: rename method-body predicate class to method
2010-02-03 23:11:24 +13:00
Slava Pestov
fbf078d4b3
words: undefined error now contains the word in question
2010-02-03 23:11:23 +13:00
Slava Pestov
b7fde7af27
macros: macro body is now defined in its own subword, for compile-time stack effect checking
2010-02-03 23:11:22 +13:00
Slava Pestov
e32d5fd0ac
Minor updates to string documentation
2010-02-03 23:07:53 +13:00
Slava Pestov
ed9251c56c
Merge branch 'master' of git://github.com/littledan/Factor
2010-02-03 22:58:25 +13:00
Slava Pestov
080609c281
Minor doc fixes
2010-02-03 22:56:32 +13:00
Brad Christensen
7381d47103
More documentation cleanup.
2010-02-03 00:05:04 -07:00
Brad Christensen
9b9322ea1e
A number of documentation fixes and cleanup.
2010-02-03 00:05:03 -07:00
Slava Pestov
c6bc1d702e
Merge branch 'master' of git://github.com/erikcharlebois/factor
2010-02-02 04:04:29 -06:00
Slava Pestov
bf05a901c4
Fix ffi-test library to work with Windows SDK. Turns out MINGW has a different ABI for struct returns than MS's compiler; make the MS ABI the default for cdecl on Windows, and add mingw ABI for libraries that use the MINGW ABI
2010-02-02 04:01:12 -06:00
Joe Groff
8cf05e9909
vector-friendlier math.quaternions
2010-02-02 00:30:21 -08:00
Joe Groff
1ee05e38fb
missed an alien.fortran test
2010-02-02 00:13:13 -08:00
Daniel Ehrenberg
8d0705805b
Updating docs to say Unicode 5.2
2010-02-02 01:49:24 -06:00
Daniel Ehrenberg
6cc2d0f1d7
Updating Unicode to version 5.2
2010-02-02 01:38:17 -06:00
erikc
e82aca026c
Merge branch 'master' of git://github.com/slavapestov/factor
2010-02-01 22:13:05 -08:00
erikc
03966e4fb2
Move collada viewer to extra/model-viewer
2010-02-01 22:12:22 -08:00
Joe Groff
f1bbeec198
wrap alien.fortran c-type conversion tests in with-manifest
2010-02-01 22:03:51 -08:00
erikc
e1223e056f
Unify obj and collada loading under a common models umbrella loader
2010-02-01 18:44:09 -08:00
Joe Groff
9adfda095f
alien.fortran: convert fortran types to word c-types
2010-02-01 12:06:10 -08:00
Slava Pestov
2022c2a83e
io.launcher.windows: include launch descriptor in error thrown when launching a process fails
2010-02-01 12:39:29 -06:00
Slava Pestov
e7de95e72b
compiler.crossref: clean up and fix bug with forgotten classes
2010-02-01 17:20:08 +13:00
Slava Pestov
823e2fd3e9
tools.test: run-test-file is public now, fix no-method error if unit test forgets a vocab
2010-02-01 17:09:57 +13:00
erikc
98a71d3521
Merge branch 'master' of git://github.com/slavapestov/factor
2010-01-31 16:57:12 -08:00
erikc
676673fc7e
Factored collada implementation a bit more and fixed some bugs
2010-01-31 16:56:26 -08:00
Doug Coleman
fa042f6578
Make sure we're not reading 0 bits in the lzw decompression loop -- this causes a hang
2010-01-31 16:29:20 -06:00
Doug Coleman
c6b37f4da4
Rewrite mnapply to be a combinator instead of a macro. Write nspread* to implement mnapply
2010-01-31 14:48:01 -06:00
Doug Coleman
4a7845e52c
Add [1,b) to math.ranges. Use [1,b] in random.sfmt
2010-01-31 14:48:01 -06:00
Doug Coleman
28adde8542
Fix using
2010-01-31 14:48:01 -06:00
Doug Coleman
f15ec31559
Better implementation of sample, fix docs formatting
2010-01-31 14:48:01 -06:00
Slava Pestov
0d939f731a
tools.deploy.shaker: fix load error
2010-02-01 06:02:09 +13:00
Slava Pestov
e929d906ce
classes: If a tuple class with subclasses is redefined into something that's not a tuple class, subclasses are changed to inherit from 'tuple' instead of being forgotten. Also, changing the metaclass of a union or intersection member no longer removes it from the union or intersection. Finally, make some internal words private
2010-02-01 02:48:39 +13:00
Slava Pestov
3addfcc2ad
classes: more robust code for detecting circular inheritance, move it out of classes.tuple since predicate classes need the same check too
2010-02-01 00:08:18 +13:00
Slava Pestov
8432f4c459
Fix a couple of unit tests that were relying on the old compiler crossref structures
2010-01-31 23:26:55 +13:00
Slava Pestov
d762c8bfb3
Merge branch 'master' of git://github.com/erikcharlebois/factor
2010-01-31 18:29:15 +13:00
Slava Pestov
c5c94ef1f9
compiler.cfg.intrinsics.simd: ignore dummy assert-positive word
2010-01-31 18:19:14 +13:00
erikc
0770b940b0
Merge up
2010-01-30 20:48:06 -08:00
erikc
f4865e0f9a
FFI bindings for Win32 RawInput
2010-01-30 20:40:41 -08:00
erikc
cfcd983bb4
Temporary xinput backend for game.input
2010-01-30 20:40:16 -08:00
erikc
f33c73bf94
Merge up
2010-01-30 20:39:43 -08:00
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