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
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
Slava Pestov
dd5452053a
math.floats.env: don't load cpu.x86.64 on x86.32
2010-01-07 20:13:42 +13:00
Slava Pestov
1f88a925b4
Fix set-callstack primitive on Windows
2010-01-07 19:31:15 +13:00
Slava Pestov
a04b85a45e
cpu.x86: sse_version was renamed to (sse-version)
2010-01-07 18:30:01 +13:00
Slava Pestov
0f29fed1f1
cpu.x86: add some alien-assembly unit tests
2010-01-07 17:59:17 +13:00
Slava Pestov
e8892d9cde
stack-checker: fix unit test
2010-01-07 17:40:23 +13:00
Slava Pestov
235f3238f5
Add alien-assembly form for inline assembler, works like alien-invoke except calls a user-supplied quotation instead of generating a subroutine call. Replaces FPU status control, SSE detection and read timestamp routines in vm/cpu-x86.*S
2010-01-07 17:39:22 +13:00
Slava Pestov
44a604fdbe
compiler.tree: remove some code duplication concerning #alien nodes
2010-01-07 16:06:07 +13:00
Slava Pestov
587d074c0a
calendar: make code like '0.1 seconds sleep' work (bug discovered by Joe Groff)
2010-01-07 00:02:16 +13:00
Slava Pestov
9508a5a083
cpu.x86: don't have to pass VM pointer to quotations anymore
2010-01-06 23:42:00 +13:00
Slava Pestov
47c6197799
Update x86-32 for assembly entry point changes
2010-01-06 17:55:20 +13:00
Slava Pestov
36d2ac8921
vm: move c_to_factor, lazy_jit_compile_impl, throw_impl, set_callstack assembly routines into non-optimizing compiler for x86-64
2010-01-06 15:47:36 +13:00
Slava Pestov
18929373b9
Merge branch 'master' of git://factorcode.org/git/factor
2010-01-03 23:21:31 +13:00
Slava Pestov
ba5b90e063
Change how non-volatile register preservation is done in alien callbacks, with the aim of fixing callbacks on PowerPC, and to eventually eliminate assembly code from VM
...
- Simplify calculation of offset in relocation table
- Open-code %alien-callback
- Remove magic_frame hack from context objects
- Move magical return instruction from optimizing compiler backend into callback entry stub
2010-01-03 01:11:51 +13:00
Doug Coleman
2ca0375dee
fix png loading
2009-12-30 14:58:50 -06:00
Slava Pestov
81430947d5
PowerPC: fix set-callstack primitive and start updating optimizing compiler backend for recent changes
2009-12-28 08:08:15 -06:00
Slava Pestov
94fbd8a224
cpu.ppc: fix non-optimizing compiler backend
2009-12-29 02:42:34 +13:00
Slava Pestov
285caff08e
Updating non-optimizing PowerPC backend for register variable removal (untested)
2009-12-28 12:40:45 +13:00
Slava Pestov
4d70649914
Merge branch 'eliminating_register_variables'
2009-12-27 01:29:53 +13:00
Alec Berryman
1a1487d11c
json reader: correctly handle empty objects in objects
...
Attempting to parse { "foo" : {} } previously resulted in an error.
(close-hash) expected to consolidate an object into the values of the
containing object (in the first line of code). While there is none in
the case of the empty hash, the structure of the accumulator looked like
it contained an unconsolidated object, so it folded the values into the
keys and got very confused.
2009-12-27 01:29:12 +13:00
Slava Pestov
a77f48fe6b
Updating x86-64 port for global register variable removal
2009-12-27 01:17:42 +13:00
Slava Pestov
67153bf4bb
Fix bug in c_to_factor
2009-12-26 15:24:46 +13:00
Doug Coleman
7fa3b71c07
Add 0xe06d7363 to debugger.windows. Remove case 0xe06d7363 from SEH.
2009-12-23 14:04:52 -06:00
Slava Pestov
15eb8d1a0a
vm: remove VM_ASM_API
2009-12-24 01:37:24 +13:00
Slava Pestov
e96404327e
Get optimizing compiler working without global register variables in VM
2009-12-22 15:42:49 +13:00
Slava Pestov
63edd20a55
vm: eliminating register variables work in progress. Works on x86-32 with non-optimizing compiler
2009-12-19 10:59:56 +13:00
otoburb
dbbcf74cda
Updated post-data slot names in http-docs.factor
2009-12-15 18:12:48 -05:00
Slava Pestov
c4719b7f5f
Fix PowerPC compiler backend for recent changes
2009-12-15 09:51:20 -05:00
Slava Pestov
eb0a28aa54
Merge branch 'master' of git://factorcode.org/git/factor
2009-12-15 07:21:17 -05:00
Slava Pestov
f6c0c64518
threads, io.streams.c: cleanups
2009-12-15 07:20:41 -05:00
Slava Pestov
0068bce934
vm: big overhaul of non-optimizing compiler
...
- change some primitives into sub-primitives: fixnum+ fixnum- fixnum* inline-cache-miss inline-cache-miss-tail
- rename some relocation types for clarity
- some other minor re-organizations and cleanups
2009-12-15 07:20:09 -05:00
Doug Coleman
19c5200b94
Merge branch 'master' of git://factorcode.org/git/factor
2009-12-13 21:39:14 -06:00
Slava Pestov
7c583dd66f
windows.dinput.constants: use C type symbols rather than strings
2009-12-13 16:52:36 -06:00
Doug Coleman
9fea67f3ff
triyng to rice crc32 a bit
2009-12-13 02:03:06 -06:00
Doug Coleman
ae9bca2b1e
add MAIN: run-unix-factor to math.primes.factors
2009-12-12 23:39:59 -06:00
Doug Coleman
8b24bc78b3
fix unit test in circular
2009-12-08 17:05:17 -06:00
Doug Coleman
82f57e57f9
change behavior of circular-while
2009-12-07 19:27:36 -06:00
Doug Coleman
8b38997e55
better minmax
2009-12-07 17:26:33 -06:00
Doug Coleman
7369522b69
add utility words for changing file permissions
2009-12-06 17:53:35 -06:00
Doug Coleman
e62474e3c2
fix typo
2009-12-06 17:22:02 -06:00
Doug Coleman
a94774f8e8
add circular-while, optimize circular a bit
2009-12-06 17:20:46 -06:00
Doug Coleman
313f70dbd6
Merge branch 'master' of git://factorcode.org/git/factor
2009-12-06 02:28:46 -06:00
Joe Groff
6b9c4254ad
move simd operation methods onto simd-128 instead of concrete classes to save image space
2009-12-05 21:19:17 -08:00
Joe Groff
2b2be5f121
Merge branch 'master' of git://factorcode.org/git/factor
2009-12-05 17:18:49 -08:00
Joe Groff
3e40a36c50
fix simd tests
2009-12-05 17:17:16 -08:00
Joe Groff
d412845b41
add v*high, v*hs+, vsad, and vavg to simd fuzz tests
2009-12-05 15:42:41 -08:00
Joe Groff
af39e5d52c
missing USING:s
2009-12-05 15:38:57 -08:00
Joe Groff
1c40e4faa4
implement %scalar>integer for longlong reps on x86.64
2009-12-05 15:38:43 -08:00
Slava Pestov
9e1c5adca7
tools.deploy.shaker: "specializations" word-prop no longer used
2009-12-05 18:21:46 -05:00
Slava Pestov
0a5826c123
math.combinatorics: remove 'mirrors' from using list since its not needed
2009-12-05 18:21:32 -05:00
Slava Pestov
abe72ae7ae
math.vectors.simd: ensure that set-alien-vector is open-coded in the actual set-nth-unsafe method on SIMD specialized arrays, not just inlined instances
2009-12-05 18:20:57 -05:00
Joe Groff
104c29aabc
simd intrinsic implementation for v*high, v*hs+, vavg, and vsad
2009-12-05 14:52:18 -08:00
Joe Groff
1845915dc6
add v*high, v*hs+, vavg, and vsad operations to math.vectors
2009-12-05 11:32:31 -08:00
Joe Groff
412b9d0c7a
change compiler.cfg.intrinsics.simd tests to not use types and operations that depend on host cell size
2009-12-04 13:23:31 -08:00
Joe Groff
36b0b65320
move sequence instance to individual SIMD types rather than simd-128 parent type so that "hashcode*" doesn't attempt to use the sequence implementation of hashcode on abstract simd-128 objects
2009-12-04 13:22:59 -08:00
Joe Groff
3aaa90052b
fix specialized-array vs methods to work when c-type is also a : word
2009-12-04 13:22:01 -08:00
Joe Groff
53ca7f208b
update math.vectors docs for simd changes
2009-12-04 13:21:18 -08:00
Joe Groff
270fe50ba3
add methods to vs+/vs-/vs* on specialized-arrays so that they saturate as well
2009-12-04 12:43:50 -08:00
Doug Coleman
50afb06993
Merge branch 'master' of git://factorcode.org/git/factor
2009-12-04 10:56:36 -06:00
Joe Groff
63b89c65f9
don't use intrinsics for simd vector element operations when the component size doesn't fit in a fixnum
2009-12-03 12:46:56 -08:00
Doug Coleman
0a48b946b6
Merge branch 'master' of git://factorcode.org/git/factor
2009-12-02 20:11:08 -06:00
Slava Pestov
7c8d755c45
Fix bootstrap
2009-12-02 19:24:46 -05:00
Slava Pestov
73eb4c4531
Merge branch 'simd-cleanup' of git://factorcode.org/git/factor into simd-cleanup
2009-12-02 19:09:56 -05:00
Slava Pestov
2f024f8b5c
tools.deploy.test.5: revert accidental screwup
2009-12-02 17:56:49 -05:00
Doug Coleman
95e8e6ee14
Merge branch 'master' of git://factorcode.org/git/factor
2009-12-02 09:57:51 -06:00
Slava Pestov
235ad395c2
ui.gadgets.buttons: improve docs
2009-12-02 09:11:40 -05:00
Slava Pestov
cf8e03ad39
tools.deploy: hello-ui had reflection level of 2, not 1 unnecessarily; tools.deploy.backend now passes -pic=0 to avoid saving PICs in the deployed image
2009-12-02 05:33:22 -06:00
Slava Pestov
eb840dcf41
RT_HERE now takes its argument from the literal table rather than the parameter table, reducing image size further
2009-12-02 04:55:48 -06:00
Slava Pestov
68c09f0e93
Split literal table into literal and parameter tables, literal table is discarded after code block initialization
2009-12-02 04:28:15 -06:00
Doug Coleman
3e756f5c08
add product-map>assoc and docs
2009-11-27 22:58:17 -06:00
Doug Coleman
a1bb120498
clean up math.combinatorics and add another combinator
2009-11-27 22:50:06 -06:00
Joe Groff
67cc1c01be
Merge branch 'master' into simd-cleanup
2009-11-26 16:14:46 -08:00
Joe Groff
66d0cafa94
fix buggy simd intrinsics
2009-11-26 13:28:40 -08:00
Joe Groff
ac5d3d5652
remove SIMDS:
2009-11-26 11:15:46 -08:00
Joe Groff
0795c60b83
"norm" doesn't need to be generic, "norm-sq sqrt" always works
2009-11-26 11:15:35 -08:00
Doug Coleman
cdc1f1e041
add product-map-as and use it in poker vocab
2009-11-25 23:18:18 -06:00
Joe Groff
7da80f65e7
trick math.vectors.simd into making nicer quotations
2009-11-25 20:24:09 -08:00
Joe Groff
4027002db7
remove SIMD:s
2009-11-25 20:21:54 -08:00
Joe Groff
c916c7c856
don't try to rewrite redundant test-vector-exprs
2009-11-25 20:06:11 -08:00
Joe Groff
578a0e3fd5
math.vectors.simd.cords vocab that defines vector cords
2009-11-25 18:01:58 -08:00
Slava Pestov
bd02eef38e
Fix non-tail recursive inline recursive compilation
2009-11-25 19:12:09 -06:00
Joe Groff
5f32a6d726
vector op specializations on cords
2009-11-25 15:44:57 -08:00
Joe Groff
d95c6eb4c8
streamline cords, add a functor for making specialized cords
2009-11-24 23:18:01 -08:00
Joe Groff
46f0aa6421
move cords to sequences.cords
2009-11-24 22:56:42 -08:00
Joe Groff
50f7dff422
change name of 'unsign-rep' to more sensible 'signed-rep'
2009-11-24 22:44:12 -08:00
Joe Groff
9128f1f160
remove mentions of 256-bit vectors from math.vectors.simd
2009-11-24 22:26:16 -08:00
Joe Groff
3f5b3c2c1b
fix math.vectors.conversion help-lint
2009-11-24 22:20:43 -08:00
Joe Groff
d344023b1c
update math.vectors.conversion
2009-11-24 20:53:40 -08:00
Doug Coleman
7a00f24d6b
revert math.matrices.elimintion until someone fixes it properly
2009-11-24 20:41:59 -06:00
Joe Groff
c98eb84943
make math.vectors.simd tests pass again
2009-11-24 18:30:12 -08:00
Joe Groff
9c388bf781
update compiler.cfg.intrinsics.simd tests
2009-11-24 12:50:27 -08:00
Joe Groff
65d8060075
fix simd intrinsic compilation
2009-11-24 11:37:28 -08:00
Joe Groff
d94ffe6d78
scalar fallbacks for simd intrinsics
2009-11-23 21:24:55 -08:00
Doug Coleman
5793d2e2eb
update docs for new alarms changes
2009-11-23 19:49:47 -06:00
Doug Coleman
a37908e00e
store the current alarm in current-alarm
2009-11-23 19:19:34 -06:00
Doug Coleman
a0b13cdb2c
alarms: Stop repeated alarms after an error is thrown
2009-11-23 16:37:14 -06:00
Doug Coleman
6af0482e4f
Merge branch 'master' of git://factorcode.org/git/factor
2009-11-22 18:23:12 -06:00
Slava Pestov
79d0211c02
Merge branch 'master' of git://factorcode.org/git/factor
2009-11-22 13:49:26 -06:00
Slava Pestov
c222e5b6b1
io.launcher.unix: tests don't hang on failure
2009-11-22 13:49:10 -06:00
Doug Coleman
1566d4d184
Merge branch 'master' of git://factorcode.org/git/factor
2009-11-21 20:57:27 -06:00
Doug Coleman
3a90db03c6
use CONSTANT: in epoll
2009-11-21 20:56:39 -06:00
Doug Coleman
c794c347a3
Merge branch 'master' of git://factorcode.org/git/factor
2009-11-21 18:16:23 -06:00
Doug Coleman
97288b8a04
remove >duration word and instead make a private >nanoseconds word in alarms
2009-11-21 18:01:25 -06:00
Slava Pestov
0612bc6177
Factor source files should not be executable
2009-11-21 17:50:43 -06:00
Doug Coleman
f6ff09cc72
Merge branch 'master' of git://factorcode.org/git/factor
2009-11-21 17:47:54 -06:00
Slava Pestov
39a2d4303e
tools.time: update docs
2009-11-21 17:46:27 -06:00
Slava Pestov
d001e0176a
alarms: pass correct parameter to sleep-until, fixes 100% CPU usage in UI
2009-11-21 17:46:10 -06:00
Slava Pestov
bbb95db5e6
tools.threads: report correct sleep time
2009-11-21 17:45:47 -06:00
Slava Pestov
5ccce283fa
Various Windows load fixes
2009-11-21 17:24:37 -06:00
Slava Pestov
50b3f076e8
edit-error now works if the error has a file name but not a line number
2009-11-21 17:23:59 -06:00
Doug Coleman
57ed581f22
Merge branch 'master' of git://factorcode.org/git/factor
2009-11-20 22:16:46 -06:00
Slava Pestov
c2e9cc8ee7
tools.deploy.test.17: fix typo
2009-11-20 15:35:12 -06:00
Doug Coleman
d1117a66cb
clean up the end of the easter word
2009-11-20 04:27:00 -06:00
Slava Pestov
10800a009a
tools.deploy.test.17: database deployment test
2009-11-20 03:23:24 -06:00
Slava Pestov
ffd7de02d6
Update a few places that used string C type names to use words; fixes some deploy tests
2009-11-20 03:21:48 -06:00
Slava Pestov
24c3ddbbde
Clean up startup/shutdown hook code
2009-11-20 00:57:49 -06:00
Slava Pestov
3d585fa858
Move nano-count>timestamp word to core-foundation.run-loop since its pretty specialized
2009-11-20 00:12:16 -06:00
Slava Pestov
6a2cf3516d
Bootstrap and mason now record times in nanoseconds
2009-11-19 23:50:30 -06:00
Slava Pestov
c55bdc0d34
alien.c-types: fix help lint
2009-11-19 23:22:08 -06:00
Doug Coleman
9c943e5ad0
Merge branch 'master' of git://factorcode.org/git/factor
2009-11-19 19:49:33 -06:00
Slava Pestov
1d16152057
stack-checker: fix error message printed when do-primitive is inferred
2009-11-19 19:43:41 -06:00
Doug Coleman
52697db357
Merge branch 'master' of git://factorcode.org/git/factor
2009-11-19 19:37:25 -06:00
Slava Pestov
2c553bcc86
alien.c-types: make sure generated words reference C type words not strings
2009-11-19 19:34:58 -06:00
Slava Pestov
c0588221cf
classes.struct: compute slot offsets before alignment to fix struct size problem on PPC
2009-11-19 19:34:46 -06:00
Doug Coleman
09e9293866
use nanoseconds in the core-foundation run-loop
2009-11-19 19:22:36 -06:00
Doug Coleman
9ce3e9f84f
update calendar tests
2009-11-19 18:27:22 -06:00
Doug Coleman
2711456935
use nano-count for timing bootstrap
2009-11-19 18:24:34 -06:00
Doug Coleman
d9d2fe6c92
use nano-count instead of timestamps for mouse clicks
2009-11-19 18:23:29 -06:00
Doug Coleman
dc1eefbcc9
update run-loop multiplexer
2009-11-19 14:18:27 -06:00
Joe Groff
6794d14652
typo
2009-11-19 12:17:14 -08:00
Joe Groff
7f546daead
fill in longlong cases for %scalar>integer (won't work on 32bit yet!)
2009-11-19 12:15:24 -08:00
Joe Groff
152b0d2df5
break simd intrinsics into a separate vocab so they can be intrinsified before the simd methods compile
2009-11-19 11:53:46 -08:00
Joe Groff
736be27162
move methods back into simd functor so the intrinsics can compile
2009-11-19 11:29:15 -08:00
Doug Coleman
adcb0df0c4
fix stack effects for nanosseconds, update io backends for nanos
2009-11-19 04:51:47 -06:00
Doug Coleman
b388d2a34b
report times in ms again
2009-11-19 04:05:57 -06:00
Doug Coleman
35695b6ff8
print correct time on bootstrap
2009-11-19 03:22:43 -06:00
Slava Pestov
a3cb03548c
bootstrap.stage2: fix bootstrap time reporting
2009-11-19 02:08:28 -06:00
Slava Pestov
f47b72d98b
Fix potential assertion failure if GC was invoked while enabling profiling
2009-11-19 01:49:26 -06:00
Joe Groff
c07f3212f9
fix effect of set-alien-vector
2009-11-18 22:18:42 -08:00
Joe Groff
59d85f7ad6
fix primitive emit fallback for simd intrinsics
2009-11-18 21:29:51 -08:00
Joe Groff
a3e4ecfc7d
enable simd intrinsics and fix first-pass compiler errors
2009-11-18 20:32:05 -08:00
Doug Coleman
f4450653a9
remove system-millis and update vocabs to use system-micros or nano-count
2009-11-18 20:56:09 -06:00
Joe Groff
6583875055
tests for all simd intrinsics
2009-11-18 18:20:58 -08:00
Doug Coleman
8d43f4e911
better pipe name on windows
2009-11-18 20:04:37 -06:00
Doug Coleman
94a287a6ac
fix load errors
2009-11-18 18:53:03 -06:00
Doug Coleman
23a1c92262
Merge branch 'nanos' of git://factorcode.org/git/factor into nanos
2009-11-18 18:36:03 -06:00
Doug Coleman
fc3b126d8f
use system-micros
2009-11-18 18:27:35 -06:00
Doug Coleman
097111e7c2
use system-micros
2009-11-18 18:26:27 -06:00
Doug Coleman
daf3094b8c
use $subsections instead of $subsection
2009-11-18 16:40:18 -06:00
Doug Coleman
11c9c6004f
document nano-count, move monotonic-clock to hell
2009-11-18 16:33:10 -06:00
Doug Coleman
070393df70
use nano-count instead of monotonic counters, dont allow sleeping for
...
timestamps
2009-11-18 16:20:29 -06:00
Doug Coleman
6f7ec206a1
rename millis to system-millis, micros to system-micros, add nano-count
2009-11-18 15:58:48 -06:00
Joe Groff
f545c5d3e5
properly handle -vector-op and case words in simd.backend
2009-11-18 12:36:41 -08:00
Doug Coleman
f9451f4996
Merge branch 'master' into nanos
2009-11-18 10:54:06 -06:00