Slava Pestov
e1efb189a4
math and math.vectors: improved documentation
2009-09-23 03:08:45 -05:00
Slava Pestov
9f59f6b9c6
Merge branch 'master' into integer-simd
2009-09-23 02:48:38 -05:00
Slava Pestov
3d4ce094d2
prettyprint.backend: don't bomb if printing length-limited sequence which doesn't like being resized itself. Instead convert to array of elements first
2009-09-23 02:48:23 -05:00
Slava Pestov
7d39499d86
compiler.cfg.ssa.cssa: correctly handle overflowing fixnum instructions
2009-09-23 02:47:56 -05:00
Slava Pestov
43fa252af5
math.vectors.simd: new operations: vabs vsqrt vbitand vbitor vbitxor
2009-09-23 02:47:14 -05:00
Slava Pestov
15ba7e299b
math.vectors.simd: fix all tests
2009-09-23 01:05:19 -05:00
Slava Pestov
74a72ce17c
checksums.openssl: use correct API for creating EVP_MD_CTX, fixes crash on NetBSD
2009-09-22 23:54:42 -05:00
Slava Pestov
d23826906f
Merge branch 'master' into integer-simd
2009-09-22 20:21:40 -05:00
Doug Coleman
e475817764
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-22 18:00:47 -05:00
Slava Pestov
7cfc63af51
compiler.tree.propagation.branches: M: #phi propagate-around was unnecessary
2009-09-22 17:56:50 -05:00
Daniel Ehrenberg
45ba559ce4
Merge branch 'master' of git://factorcode.org/git/factor into constraints
2009-09-22 16:09:33 -05:00
Daniel Ehrenberg
6e936bdb05
Fixing failing unit tests in compiler.tree.propagation due to constraints
2009-09-22 16:01:14 -05:00
Keith Lazuka
bea4aa7662
docs: updated some docs to use new markup
2009-09-22 15:22:34 -04:00
Doug Coleman
51ddc963b8
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
core/generic/generic-tests.factor
2009-09-22 10:25:42 -05:00
Keith Lazuka
d552ce8ef6
html.streams: the 'image' character stream style now generates an <img> HTML element
...
NOTE: You must manually copy your image resources to your web server
such that the images are available from the "/images" root URL.
For example, if your resource is "vocab:definitions/icons/normal-word.tiff"
then it should be copied such that it is available via the following URL:
"http://myserver.org/images/basis/definitions/icon/normal-word.tiff "
(the original path is first normalized and then the Factor root prefix
is stripped away).
NOTE: Factor's definition-icons are in TIFF format, which appears to be
supported out-of-the-box by very few web browsers (namely Safari).
Perhaps we should switch from TIFF to GIF or PNG? Are these vocabs
ready to be used?
2009-09-22 09:06:56 -04:00
Slava Pestov
b0f87fd6a0
cpu.ppc: fix load errors
2009-09-22 05:24:34 -05:00
Slava Pestov
0e3a261637
Fix test failures in compiler.cfg.linearization.order, compiler.tests.low-level-ir and compiler.graphviz
2009-09-22 05:07:52 -05:00
Slava Pestov
629fd1fc82
Merge branch 'master' into integer-simd
2009-09-22 03:24:52 -05:00
Slava Pestov
fe0701deb1
math.functions: fix ~ with negative (relative) tolerance
2009-09-22 03:19:47 -05:00
Slava Pestov
513ba1f176
compiler.cfg.linearization.order: basic blocks were being inserted twice if some blocks had repeated successors, causing problems for register allocation
2009-09-22 03:19:23 -05:00
Slava Pestov
fe948f0b26
Move breakpoint word from tools.annotations to tools.walker to reduce amount of dependencies tools.annotations pulls into a minimal image
2009-09-22 03:16:31 -05:00
Doug Coleman
097b7d338c
remove usage of <" in multiline
2009-09-21 23:01:28 -05:00
Doug Coleman
b86314ec39
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-21 17:59:48 -05:00
Doug Coleman
77dd5f6677
remove <" and friends
2009-09-21 17:59:37 -05:00
Slava Pestov
0f0bf667b5
Merge branch 'master' of git://factorcode.org/git/factor into integer-simd
2009-09-21 17:58:24 -05:00
Slava Pestov
962d039852
Rename specific-method to method-for-class, rename (effective-method) to method-for-object, and make both much faster
2009-09-21 17:42:20 -05:00
Joe Groff
08b29b0b84
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-21 16:05:34 -05:00
Joe Groff
b5bd0532c2
oops--Segoe is the windows 6.x system font, not Calibri
2009-09-21 16:05:13 -05:00
Keith Lazuka
c4ed7f38b7
help: added documentation for $subsections
2009-09-21 15:46:34 -04:00
Keith Lazuka
9982ce4e95
urls.encoding: fix for error found by help-lint
2009-09-21 15:42:58 -04:00
Keith Lazuka
c4419ba4a3
help.markup: made $nl less promiscuous with its newlines
2009-09-21 15:41:04 -04:00
Keith Lazuka
f9bb7edf3d
prettyprint.stylesheet: stack effect highlighting is now a darker green
2009-09-21 15:38:55 -04:00
Keith Lazuka
66a6108d42
help.markup: added $subsections markup and consolidated $link implementations
...
- Created a new markup element, $subsections, which is a plural variant
of $subsection. The advantage is that it automatically inserts a
blank line after the final subsection which makes help articles
considerably easier to read.
- Consolidated the implementation of $link, $long-link and $pretty-link
- Moved $definition-icons from definition.icons to help.markup
- Moved $pretty-link from help.vocabs to help.markup
2009-09-21 15:35:16 -04:00
Keith Lazuka
992a49839f
help: inserted a blank line between the title and the article content.
2009-09-21 15:33:21 -04:00
Doug Coleman
4dbceb60e8
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-21 14:22:14 -05:00
Joe Groff
6ce8eba961
prettyprint CALLBACK: defs
2009-09-21 14:14:12 -05:00
Joe Groff
0ff319c409
docs for C type words
2009-09-21 13:39:55 -05:00
Joe Groff
55988828bf
update alien docs to talk about C types as words
2009-09-21 13:20:01 -05:00
Joe Groff
00fa7f73fb
add CALLBACK: syntax that defines a typedef and an alien-callback constructor word for function pointer types. update some code in iokit.hid and windows.dinput to use CALLBACK: instead of TYPEDEF:/word pairs
2009-09-21 11:59:41 -05:00
Joe Groff
6b9954ffad
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-20 23:59:57 -05:00
Joe Groff
b09006bba9
include LIBRARY: in FUNCTION: synopsis
2009-09-20 23:59:43 -05:00
Doug Coleman
57c2caa236
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-20 23:39:33 -05:00
Joe Groff
9d3d7f549a
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-20 23:35:18 -05:00
Joe Groff
6645b41fac
use hott vista fonts on windows 6.x
2009-09-20 23:34:53 -05:00
Slava Pestov
603a560eaf
cpu.x86: fix using list
2009-09-20 23:24:30 -05:00
Joe Groff
3eeaca8631
move system-info to basis
2009-09-20 23:24:24 -05:00
Slava Pestov
9d90bdd439
Fix conflict
2009-09-20 23:18:07 -05:00
Slava Pestov
ea44ea3522
math.vectors.simd: add saturated arithmetic operations
2009-09-20 23:16:02 -05:00
Joe Groff
08d9d0ad28
fix synopsis for C-TYPE:, TYPEDEF:, and FUNCTION: so they properly show IN: clause
2009-09-20 23:12:31 -05:00
Doug Coleman
5cb34724b7
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
basis/classes/struct/struct-tests.factor
basis/functors/functors-tests.factor
basis/specialized-arrays/specialized-arrays-tests.factor
2009-09-20 23:02:49 -05:00
Doug Coleman
eceed177d6
replace usages of <" with """
2009-09-20 22:42:40 -05:00
Slava Pestov
acea55c692
math.vectors: add v+- word which is accelerated by SSE3
2009-09-20 17:43:16 -05:00
Slava Pestov
47d8763340
More integer SIMD work
...
- move generated vocab support from specialized-arrays to vocabs.generated
- add fuzz testing to math.vectors.simd
- add alien type support for integer SIMD vectors
- SIMD: parsing word generates a SIMD type, instead of pre-generating them all in math.vectors.simd
2009-09-20 16:48:17 -05:00
Slava Pestov
29c4512066
cpu.x86: cleanup
2009-09-20 04:17:34 -05:00
Slava Pestov
f8a91438cd
Merge Phil Dawes' VM work
2009-09-20 03:48:08 -05:00
Slava Pestov
e77341b90c
math.vectors.simd: redesign to be more flexible, integer SIMD work in progress
2009-09-20 02:08:32 -05:00
Joe Groff
2313b077d2
fix windows bootstrap
2009-09-19 11:30:23 -05:00
Joe Groff
b7eff85fe0
fix windows test failures
2009-09-19 10:01:12 -05:00
Joe Groff
f738a4dc4e
more windows loading fixes
2009-09-19 02:44:40 -05:00
Joe Groff
014163e27b
windows loading fixes
2009-09-19 02:31:06 -05:00
Joe Groff
5e15da2b42
update windows.winsock structs
2009-09-18 19:25:00 -05:00
Joe Groff
72049b95ce
update windows.usp10 structs
2009-09-18 19:14:59 -05:00
Joe Groff
c86bef70c9
update windows.types structs
2009-09-18 19:12:31 -05:00
Joe Groff
40a17176e9
update windows.ole32 structs (*)
2009-09-18 18:57:36 -05:00
Joe Groff
81db20f59e
update windows.kernel32 structs (*)
2009-09-18 18:54:08 -05:00
Joe Groff
c093f52271
update structs in windows.advapi32
2009-09-18 18:44:36 -05:00
Joe Groff
91902825ac
update structs in unix.utmpx
2009-09-18 18:30:48 -05:00
Joe Groff
36fc70160d
update tools.disassembler.udis structs
2009-09-18 17:57:50 -05:00
Joe Groff
e6bc708882
update openssl.libcrypto structs
2009-09-18 17:50:20 -05:00
Joe Groff
47359279a5
update structs in cairo.ffi
2009-09-18 17:42:25 -05:00
Joe Groff
238f600da2
document number-base prettyprinter variable. add more docs about hex float syntax
2009-09-18 15:11:01 -05:00
Joe Groff
b48beb48f4
fix loading problems on windows
2009-09-18 10:01:38 -05:00
Joe Groff
076ab42dc3
move some allocation words that don't really have much to do with c types out of alien.c-types into a new alien.data vocab
2009-09-17 22:36:05 -05:00
Joe Groff
aa1edad078
disambiguate math:float in cpu.ppc
2009-09-17 19:10:40 -05:00
Joe Groff
0354ab60ba
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-17 15:31:43 -05:00
Slava Pestov
7f1c33f363
stack-checker.errors: improve documentation a bit
2009-09-17 13:27:15 -07:00
Joe Groff
fc3e3de48d
Merge branches 'master' and 'master' of joe@factorcode.org:/git/factor into c-type-words
2009-09-17 15:26:34 -05:00
Doug Coleman
086d4a87b4
fix recaptcha docs
2009-09-17 13:09:45 -07:00
Joe Groff
4758cca223
fix dinput device hotplug support
2009-09-17 14:22:49 -05:00
Joe Groff
eeebf6c751
fix loading issues in windows vocabs
2009-09-17 14:01:41 -05:00
Joe Groff
cbebaada2f
Merge branch 'master' of git://factorcode.org/git/factor into c-type-words
2009-09-17 11:50:03 -05:00
Doug Coleman
ce97e7328b
move recaptcha example to a vocabulary on disk
2009-09-17 09:48:49 -07:00
Doug Coleman
e6caf0ab19
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-17 09:23:42 -07:00
Doug Coleman
17008bd275
fix recaptcha, move to furnace.recaptcha
2009-09-17 09:13:33 -07:00
Joe Groff
1f04ed01fe
fix more ambiguities
2009-09-17 09:29:23 -05:00
Joe Groff
fa60d96ae4
fix "float" ambiguities in math.blas, opengl vocabs
2009-09-16 21:25:46 -05:00
Joe Groff
8f336b4ec0
alien.fortran can't piggyback the alien.parser arg parser anymore
2009-09-16 21:24:10 -05:00
Joe Groff
263ce45932
fix resolve-pointer-type
2009-09-16 20:54:57 -05:00
Joe Groff
9479fb4099
have SPECIALIZED-ARRAY: scan in a c-type rather than a string
2009-09-16 20:54:22 -05:00
Joe Groff
2e4d6389e2
Merge branch 'master' into c-type-words
...
Conflicts:
basis/functors/functors-tests.factor
2009-09-16 18:11:07 -05:00
Slava Pestov
d79b6d590e
html.templates.chloe: minor doc fix
2009-09-16 16:11:05 -07:00
Joe Groff
18608cb4bb
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-16 18:07:55 -05:00
Joe Groff
748ba4b833
give a better error message when an invalid slot name is used in a tuple/struct literal
2009-09-16 18:07:39 -05:00
Joe Groff
d1c69efc0f
fix functors tests
2009-09-16 17:38:01 -05:00
Joe Groff
58756c27c5
have typedefs take on the old type's pointer type even when the new type is a word and the old a string
2009-09-16 17:36:50 -05:00
Joe Groff
40620d470f
allow word c-types and definitions to coexist
2009-09-16 17:18:19 -05:00
Joe Groff
c880d3fff3
update functors tests
2009-09-16 15:41:38 -05:00
Doug Coleman
08989815d8
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-16 13:17:30 -07:00
Doug Coleman
53abf7e15d
add recaptcha vocabulary
2009-09-16 13:17:15 -07:00
Joe Groff
34343bf97c
Merge branch 'master' into c-type-words
2009-09-16 14:47:35 -05:00
Joe Groff
e70c063e61
fix alien-function-word predicate
2009-09-16 14:17:13 -05:00
Joe Groff
123a962596
fix button background (from Keith Lazuka <klazuka@gmail.com>)
2009-09-16 13:42:40 -05:00
Joe Groff
fc5500a0dc
oops... word c-types can be structs too
2009-09-16 13:11:53 -05:00
Joe Groff
b403ba5c17
fix FUNCTION: prettyprint when function has no arguments
2009-09-16 10:24:03 -05:00
Joe Groff
21c09ab97a
fix struct class see
2009-09-16 09:56:07 -05:00
Joe Groff
01d2ef415a
get compiler tests loading
2009-09-16 09:20:47 -05:00
Phil Dawes
c7b7517f36
small x86 asm cleanup
2009-09-16 08:22:17 +01:00
Phil Dawes
8a65f35c31
vm passed in primitives as arg0 for x86.64
2009-09-16 08:22:17 +01:00
Phil Dawes
b07550620f
Dev checkpoint
2009-09-16 08:20:51 +01:00
Phil Dawes
4af25578d8
fixed up some alien boxing (x86 32 & 64)
2009-09-16 08:20:50 +01:00
Phil Dawes
0470b7d2c5
fixed vm ptr passing to to_value_struct
2009-09-16 08:20:50 +01:00
Phil Dawes
1b92721660
fixed vm ptr passing to box_small_struct
2009-09-16 08:20:50 +01:00
Phil Dawes
888eae9554
fixed vm ptr passing to box_value_struct
2009-09-16 08:20:50 +01:00
Phil Dawes
3345922330
quick test vocab for mt stuff
2009-09-16 08:20:50 +01:00
Phil Dawes
b02c602a89
added vm passing to some alien/boxing functions and added some vm asserts
2009-09-16 08:20:10 +01:00
Phil Dawes
5cd2fbb564
vm ptr passed to lazy_jit_compile on x86.64
2009-09-16 08:20:10 +01:00
Phil Dawes
be1b079eb5
Primitives now pass vm ptr on 64bit x86
2009-09-16 08:20:09 +01:00
Phil Dawes
0bc7c0c1d0
separated vm-1st-arg and vm-3rd-arg asm invoke words (needed for ppc & x86.64)
2009-09-16 08:20:09 +01:00
Phil Dawes
005549ba43
vm pointer passed to nest_stacks and unnest_stacks (win32)
2009-09-16 08:17:26 +01:00
Phil Dawes
cdb6304fef
Dev checkpoint
2009-09-16 08:17:26 +01:00
Phil Dawes
3b52df9e02
added vm ptr to x86.32 boxing asm
2009-09-16 08:16:33 +01:00
Phil Dawes
ff54a57eb3
added code to pass vm ptr to some unboxers
2009-09-16 08:16:32 +01:00
Phil Dawes
ff8f2b10ec
fixed up getenv compiler intrinsic to use vm struct userenv
2009-09-16 08:16:32 +01:00
Phil Dawes
5bb04857bf
moved cards_offset and decks_offset into vm struct (for x86)
2009-09-16 08:16:31 +01:00
Phil Dawes
c010afc345
nursery global variable moved into vm
2009-09-16 08:16:31 +01:00
Phil Dawes
0be499de8a
renamed to vm-field-offset. Slava's better at naming than me
2009-09-16 08:16:31 +01:00
sheeple
0b0937cf0e
ppc asm to get stack_chain using vm ptr
2009-09-16 08:16:31 +01:00
Phil Dawes
88d3179358
Added a vm C-STRUCT, using it for struct offsets in x86 asm
2009-09-16 08:16:31 +01:00
Phil Dawes
9a37b6abb6
moved stack_chain into vm struct
2009-09-16 08:16:31 +01:00
Phil Dawes
465f06ebc2
throw_impl now forwards the vm ptr
2009-09-16 08:16:30 +01:00
Phil Dawes
4afc16e95b
passing vm ptr to lazy_jit_compile mostly working
2009-09-16 08:16:30 +01:00
Phil Dawes
6a193bb0d5
Added %vm-invoke to pass vm ptr to vm functions (x86.32 only, otherwise uses singleton vm)
2009-09-16 08:16:30 +01:00
Phil Dawes
57011aed51
vm ptr passed to primitives on X86.32 (other cpus still use singleton vm ptr)
2009-09-16 08:16:30 +01:00
Phil Dawes
a5f24c8fb9
added VM relocation type
2009-09-16 08:16:30 +01:00
Joe Groff
6dc6886bd9
typedefs share their original type's pointer definition
2009-09-15 22:58:07 -05:00
Joe Groff
93b12d3ef4
update classes.struct tests to use word c-types
2009-09-15 22:43:11 -05:00
Joe Groff
2bbd29a561
prettyprinting for FUNCTION: definitions
2009-09-15 22:39:25 -05:00
Joe Groff
b629391477
fix typedef prettyprinting
2009-09-15 22:10:41 -05:00
Joe Groff
26026ff6de
fix bug in pointer type parsing
2009-09-15 22:10:16 -05:00
Joe Groff
3b4330fcf6
get things to a point where they bootstrap again
2009-09-15 21:43:18 -05:00
Joe Groff
ab8abeaee4
Merge branch 'master' into c-type-words
2009-09-15 19:14:41 -05:00
Joe Groff
3c541f736f
fix failing classes.struct tests
2009-09-15 19:10:05 -05:00
Joe Groff
cc680ae698
Revert "make struct classes print properly in the status bar"
...
This reverts commit 4ee1a4f9e8
.
2009-09-15 18:56:17 -05:00
Joe Groff
2462b694f7
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-15 17:45:56 -05:00
Slava Pestov
765aa5bc1d
db: fix some typos in docs
2009-09-15 15:45:03 -07:00
Joe Groff
d3ed042c99
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-15 17:39:05 -05:00
Joe Groff
4d16c569f0
struct classes now make their own C type without help from alien.structs. remove alien.structs dependencies from everywhere outside of alien and compiler, and have the FFI handle both alien.structs and classes.struct c-types
2009-09-15 17:38:49 -05:00
Slava Pestov
096c7e7a47
help.html: don't strip out vocabs without roots since that gets rid of private vocabs
2009-09-15 14:48:56 -07:00
Joe Groff
c139077b52
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-15 16:30:34 -05:00
Slava Pestov
172219e931
compiler.tree.propagation: fix unary-op type functions with complex number inputs
2009-09-15 14:30:20 -07:00
Slava Pestov
9382c67437
alien.syntax: improve C-ENUM: docs
2009-09-15 16:24:58 -05:00
Joe Groff
3d351bf95d
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-15 16:08:57 -05:00
Joe Groff
35b76b83af
convert compiler cpu backends to use c-type words
2009-09-15 16:08:42 -05:00
Slava Pestov
b03eaf3c32
math: minor doc fixes
2009-09-15 15:42:46 -05:00
Joe Groff
95ba6a4c05
Merge branch 'master' of git://factorcode.org/git/factor into c-type-words
2009-09-15 15:19:22 -05:00
Joe Groff
ac41416953
create words for c-types
2009-09-15 15:18:54 -05:00
Joe Groff
3c98ec95e2
make struct classes print properly in the status bar
2009-09-15 15:16:53 -05:00
Slava Pestov
05fe9c7ead
colors.constants: clean up naming
2009-09-14 21:03:33 -05:00
Slava Pestov
ded68c67c0
Fix bootstrap
2009-09-14 20:26:59 -05:00
Slava Pestov
4f702de449
math.functions: more accurate log10 (fixes problem reported by OneEyed)
2009-09-14 16:19:58 -05:00
Slava Pestov
d772bff8b9
help.vocabs: tweak 'not loaded' message some more
2009-09-14 16:19:36 -05:00
Slava Pestov
a1dfea7887
Merge branch 'master' of git://github.com/Blei/factor
2009-09-14 16:19:21 -05:00
Slava Pestov
5246c0c09b
Merge branch 'ui' of git://github.com/klazuka/factor
2009-09-14 16:14:41 -05:00
Joe Groff
77f0fbf497
missed a few PPC status bits that needed clearing
2009-09-14 15:17:36 -05:00
Joe Groff
8c14af3f6c
add a number-base configuration variable to prettyprint.config. set to 2 to print BIN:, 8 to print OCT:, 10 to print decimal, 16 to print HEX:
2009-09-14 15:03:05 -05:00
Joe Groff
2fdb16060b
vm-error>exception-flags word to extract exception flag information from a trap exception
2009-09-14 14:10:51 -05:00
Keith Lazuka
b6d57a4d19
help.vocabs: tweaked the vocab-not-loaded msg
2009-09-14 14:27:30 -04:00
Keith Lazuka
fad3d47a8b
help.vocabs: inform the user when browsing a vocab that is not loaded.
2009-09-14 11:13:45 -04:00
Keith Lazuka
91c7eb9eea
Renamed a Factor theme color to something more sensible.
2009-09-14 09:01:03 -04:00
Keith Lazuka
d0652d9d0b
help.stylesheet: fixed black border bug around nav links in HTML documentation
2009-09-14 08:50:58 -04:00
Slava Pestov
0cadfcd7eb
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-14 02:39:24 -05:00
Slava Pestov
c4f3a42269
math.floats.env: Fix linux x86.64 some more
2009-09-14 02:39:12 -05:00
Joe Groff
8fe9bf5429
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-13 23:40:58 -05:00
Joe Groff
fb43ae2daf
save the FP status out of the signal context and use it as part of the fp trap factor exception. clear the FP status before continuing after an exception
2009-09-13 23:39:12 -05:00
Slava Pestov
05b51d2739
math.floats.env: modify tests to take buggy Linux/x86-64 pow() into account
2009-09-13 23:26:09 -05:00
Slava Pestov
a2de9d9e54
compiler.cfg.builder: don't run certain tests if float intrinsics are not available
2009-09-13 23:12:47 -05:00
Slava Pestov
abedea0ccb
math.functions: loosen tests up a bit since exp(1) on FreeBSD x86/64 differs from e in the last bit
2009-09-13 22:33:12 -05:00
Slava Pestov
3ab6dbac22
math.floats.env: fix compiled trap unit tests
2009-09-13 18:22:49 -05:00
Philipp Brüschweiler
a8d1cd3135
xml-rpc: fix post-rpc
2009-09-13 21:40:58 +02:00
Slava Pestov
520ff4a26c
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-13 00:24:46 -05:00
Slava Pestov
16209bf68d
specialized-arrays: fix unit tests now that ALIEN: expects a hex literal
2009-09-13 00:24:31 -05:00
Doug Coleman
51a3ca5b90
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-13 00:22:06 -05:00
Doug Coleman
4f094a7ce5
fix bootstrap on openbsd
2009-09-13 00:21:57 -05:00
Slava Pestov
7b36689416
core-foundation.strings: fix load error
2009-09-13 00:17:24 -05:00
Slava Pestov
d14f227905
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-13 00:09:09 -05:00
Slava Pestov
3a61107f1d
typos in altivec env
2009-09-12 22:30:11 -05:00
Slava Pestov
32b95c2cdf
math: add unordered comparison operators u< u<= u> u>= which behave exactly like < <= > >= except no floating point exceptions are set if one or both inputs are NaNs; also add efficient intrinsic for unordered? predicate, and fix propagation type functions for abs, absq, and bitnot
2009-09-12 22:20:13 -05:00
Slava Pestov
5dfd1c70f0
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-12 21:45:22 -05:00
Slava Pestov
6eaadb7ea9
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-12 21:19:20 -05:00
Slava Pestov
a2b864e4f5
ALIEN: now reads a hexadecimal integer instead of a decimal one, since in general hex is more useful for addresses
2009-09-12 21:17:53 -05:00
Doug Coleman
00e8e11d18
list file-systems with statfs instead of statvfs on openbsd
2009-09-12 21:05:26 -05:00
Joe Groff
53e23de104
set altivec denormal flag when with-denormal-mode is used
2009-09-12 20:39:41 -05:00
Joe Groff
54162af3fe
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-12 19:45:47 -05:00
Joe Groff
e70fa134b2
add full complement of [SU]Int[0-9]+ typedefs to core-foundation
2009-09-12 19:43:57 -05:00
Joe Groff
6ce3c1d62c
CFSTRING: syntax for defining CF/Cocoa string constants. update core-foundation.run-loop to use CFSTRING:
2009-09-12 19:43:23 -05:00
Joe Groff
6d328be69b
all-fp-exceptions constant
2009-09-12 18:13:25 -05:00
Slava Pestov
1337f82ce6
math.order: better docs
2009-09-12 16:33:42 -05:00
Slava Pestov
87c7f882ca
db: fix with-book-db combinator in db tutorial
2009-09-12 16:05:05 -05:00
Slava Pestov
3c55e7fe0c
Add NAN: literal syntax for NANs with a payload
2009-09-12 15:06:15 -05:00
Slava Pestov
699695ba14
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-12 14:05:18 -05:00
Slava Pestov
54de7f09f6
Merge branch 'ui' of git://github.com/klazuka/factor
2009-09-12 14:05:05 -05:00
Slava Pestov
74cebff371
windows.dinput.constants: fix load error
2009-09-12 13:25:31 -05:00
Slava Pestov
7ae147c3bf
tools.deploy.test: cut Windows some slack
2009-09-12 13:24:45 -05:00
Slava Pestov
51dd22b119
math.floats.env.ppc: fix ppc-fp-traps>bit
2009-09-12 12:57:15 -05:00
Slava Pestov
d5206b26ec
math.floats.env.ppc: fix ppc-fp-traps-bits
2009-09-12 12:49:51 -05:00
Joe Groff
d4ee121750
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-12 09:04:53 -05:00
Joe Groff
df4d1f8dd2
typos in math.floats.env.ppc
2009-09-12 09:03:27 -05:00
Slava Pestov
b61ff44b66
math.vectors.simd: don't run x86-specific tests on PPC
2009-09-11 21:38:40 -05:00
Keith Lazuka
726ad992a3
Pull in new literals vocab to remove bootstrap circularity
...
Merge branch 'master' into ui
2009-09-11 22:19:46 -04:00
Slava Pestov
a86a9c99f7
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-11 21:03:46 -05:00
Slava Pestov
f1ae72413b
literals: remove $$ and combinators.smart dependency
2009-09-11 21:03:24 -05:00
Slava Pestov
dd661edf46
compiler.tree.propagation: convert /i of a positive integer by a power of two into a shift
2009-09-11 21:03:11 -05:00
Slava Pestov
86a848bae6
compiler.cfg.intrinsics: compile float-mod as a ##binary-float-function instead of a primitive call
2009-09-11 21:00:17 -05:00
Keith Lazuka
12446adfc2
vocabs.prettyprint: fixed indentation
2009-09-11 21:46:16 -04:00
Keith Lazuka
0e176d8de7
prettyprint.stylesheet: more idiomatic Factor style (thanks Slava)
2009-09-11 21:45:44 -04:00
Slava Pestov
a25ef8b5d9
definitions.icons: fix circularity
2009-09-11 20:33:11 -05:00
Joe Groff
1be4c3a6a7
typo
2009-09-11 20:31:06 -05:00
Joe Groff
67893e5af9
json.reader doesn't need to USE: math.parser.private anymore since I made float>string public
2009-09-11 20:29:02 -05:00
Joe Groff
ffcc630601
log1+ word (maps to C99 log1p function)
2009-09-11 20:28:15 -05:00
Keith Lazuka
65e9c29a7b
io.styles: bailed out on the with-nested-styles combinator
2009-09-11 20:35:56 -04:00
Slava Pestov
3026d5b00b
definitions.icons: add icons for authors and tags, fixing bug reported by tsculpt
2009-09-11 18:16:28 -05:00
Slava Pestov
ace0c3a15a
Doc fixes
2009-09-11 17:59:04 -05:00
Slava Pestov
16144a5eda
Load fixes
2009-09-10 21:41:12 -05:00
Slava Pestov
d5bc1ceca2
classes.struct: fix some bugs
...
- STRUCT: foo<ENTER> in listener threw an error
- S{ did not throw an error when used with non-struct types
- attempting to subclass a struct class now fails
- forgetting a struct class now removes the corresponding C type
- 'see'ing a struct class now indents correctly
2009-09-10 15:59:27 -05:00
Slava Pestov
5cdb67d571
specialized-arrays, specialized-vectors: fix some code duplication and prettyprinting
2009-09-10 14:46:26 -05:00
Slava Pestov
dfb07601fa
Merge branch 'for-slava' of git://git.rfc1149.net/factor
2009-09-10 13:15:18 -05:00
Slava Pestov
64cddef3e1
cpu.ppc: fix %single>double-float and %double>single-float
2009-09-10 13:04:58 -05:00
Keith Lazuka
e1979f5ad5
help browser: tweaked the colors based on user feedback.
...
The USING: line should be easier to read now.
I also decided to stop highlighting symbols.
2009-09-10 13:27:49 -04:00
Slava Pestov
658017999d
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-10 00:50:44 -05:00
Slava Pestov
91e7e1eeea
Fix the build
2009-09-10 00:47:01 -05:00
Joe Groff
bda5963c62
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-09 23:38:01 -05:00
Joe Groff
61851fcd7a
take the union of the x87 and sse exception flags when reporting fp-exception-flags. add back the unit tests i took out since this should fix the problem
2009-09-09 23:37:48 -05:00
Slava Pestov
7f2e2b1777
Specialized array overhaul
...
- Replace hand-written specialized-arrays.* subvocabularies with new system; instead of USE:ing specialized-arrays.T, do SPECIALIZED-ARRAY: T
- Ditto for specialized-vectors; use SPECIALIZED-VECTOR:
- io.mmap.functor: removed entirely, use <mapped-array> instead
- struct-arrays and struct-vectors have been removed because specialized arrays and vectors subsume them entirely
2009-09-09 22:33:34 -05:00
Joe Groff
3d49cc5a0d
change math.floats.env tests not to use any libm functions, which don't reliably set the right hardware exceptions on linux glibc
2009-09-09 18:00:38 -05:00
Joe Groff
01b5430fbf
make math.floats.env backends unportable
2009-09-09 17:32:26 -05:00
Joe Groff
4d1e832f79
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-09 17:14:48 -05:00
Joe Groff
c50a35c062
altivec instructions for powerpc assembler
2009-09-09 17:14:36 -05:00
Keith Lazuka
6fdd005b5c
prettyprint.stylesheet: fixed an error found by help-lint
2009-09-09 16:46:05 -04:00
Keith Lazuka
51f40e2727
vocabs.prettyprint: made the auto-use vocab box a little easier to read
2009-09-09 16:39:26 -04:00
Keith Lazuka
a96e828d7c
io.styles: renamed the 'border-width' style to 'inset'. inset takes a pair of 2 numbers (horizontal and vertical insets)
2009-09-09 15:50:25 -04:00
Samuel Tardieu
d23286a9ef
Do not repeat sanity tests at each iteration
2009-09-09 21:35:24 +02:00
Keith Lazuka
5421f4fcb4
prettyprint.stylesheet: USING/USE/IN are now dimmed out. Added documentation.
2009-09-09 15:27:49 -04:00
Slava Pestov
ed09dfe3ae
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-09 13:56:20 -05:00
Slava Pestov
daff63071f
Fix the build
2009-09-09 13:44:54 -05:00
Keith Lazuka
28b8703b5b
help.html: link color now matches help.stylesheet link color
2009-09-09 13:33:40 -04:00
Keith Lazuka
1bb48ec9ea
Changed Browser's "Up:" links to a traditional breadcrumbs list.
...
Tweaked a few colors in the Factor UI.
2009-09-09 10:44:41 -04:00
Slava Pestov
db4f8f47ea
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-08 23:54:05 -05:00
Slava Pestov
a01f693335
cpu.ppc: fix bootstrap
2009-09-08 23:53:51 -05:00
Joe Groff
1c62a978d0
add some tests to help track down leaks in FP state changes
2009-09-08 23:07:33 -05:00
Slava Pestov
0e2a3e4292
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-08 22:34:17 -05:00
Slava Pestov
cd5133b233
cpu.x86: tweak SIMD intrinsics
2009-09-08 22:34:01 -05:00
Joe Groff
f166797dd4
no really, update ppc for argument order changes
2009-09-08 22:21:00 -05:00
Joe Groff
3003b9e5d0
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-08 21:58:25 -05:00
Joe Groff
c95a7febb0
update cpu.ppc for argument order changes
2009-09-08 21:58:11 -05:00
Slava Pestov
15d85c1c4f
compiler.cfg.save-contexts: add new pass
2009-09-08 21:56:28 -05:00
Slava Pestov
8916fb7a3c
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-08 21:51:21 -05:00
Slava Pestov
7e2f0e5dbf
compiler: separate ##save-context instruction from ##alien-invoke, generate a ##save-context for libm calls, and add a pass to combine multiple context saves within a basic block. Fixes crashes with FP traps thrown by libm functions on x86-32
2009-09-08 21:50:55 -05:00
Joe Groff
9be1f42fe9
typos in cpu.ppc
2009-09-08 21:44:11 -05:00
Slava Pestov
7473983383
tools.annotations: document the fact that certain words should not be annotated
2009-09-08 20:49:12 -05:00
Slava Pestov
410d2bf0d0
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-08 19:35:14 -05:00
Slava Pestov
74fa73aeaf
Fix various test failures
2009-09-08 19:18:56 -05:00
Doug Coleman
1fc0940b2a
make something private
2009-09-08 17:10:19 -05:00
Doug Coleman
d02d95ea34
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-08 17:05:58 -05:00
Doug Coleman
5a7ac3965d
use raw pathnames for file-systems word
2009-09-08 17:05:05 -05:00
Joe Groff
7be557d100
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-08 17:04:44 -05:00
Joe Groff
0ea9949e51
split unordered and ordered float comparison intrinsics in compiler; generate only unordered comparisons for now
2009-09-08 17:04:26 -05:00
Doug Coleman
740a175e56
duplicate using
2009-09-08 17:02:31 -05:00
Slava Pestov
fe25bb097f
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-08 16:23:37 -05:00
Slava Pestov
9159ce74ab
ui.tools.browser: don't scroll up when reloading page
2009-09-08 16:23:12 -05:00
Slava Pestov
c52ffebffe
math.rectangles.positioning: don't position popups off-screen
2009-09-08 16:23:02 -05:00
Joe Groff
f2212acd46
Merge branch 'master' into strong-typing
2009-09-08 15:53:20 -05:00
Joe Groff
7a2aecea1c
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-08 15:48:18 -05:00
Joe Groff
1fcc0875ba
update math.floats.env.x86 for sse detection change
2009-09-08 15:47:03 -05:00
Slava Pestov
5786ea76d9
debugger: doc fixes
2009-09-08 15:43:00 -05:00
Joe Groff
2ad9459b85
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-08 15:37:32 -05:00
Joe Groff
0ec342a1c5
factor out x86 and ppc backends for math.floats.env; update both x87 and SSE state on x86
2009-09-08 15:36:53 -05:00
Slava Pestov
e2fa28a727
tools.deploy.shaker: strip out math.vectors specializations
2009-09-08 15:20:46 -05:00
Slava Pestov
33bfb95614
Fix some annoying circularity; prettyprinter cannot depend on any vocab that depends on locals or stack-checker
2009-09-08 15:15:36 -05:00
Slava Pestov
d596e3abe7
math.vectors.simd: fix help rendering
2009-09-08 14:49:27 -05:00
Slava Pestov
12102e488f
see: don't show accessor methods in see-methods
2009-09-08 14:46:36 -05:00
Slava Pestov
c4c6c6b986
ui.gadgets.buttons: don't show message if no shortcut assigned
2009-09-08 14:46:16 -05:00
Slava Pestov
6d1e4947e8
Merge branch 'ui-tweaks' of git://github.com/klazuka/factor
2009-09-08 14:37:05 -05:00
Keith Lazuka
ab7e2fc69b
Factor theme colors are now referenced by name.
...
Added a text file, "factor-colors.txt", which is like "rgb.txt" except it lists the theme colors used in the Factor UI.
Changed url-style color to DodgerBlue4 to match link-style.
2009-09-08 15:25:27 -04:00
Slava Pestov
a0e1af5891
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-08 14:22:52 -05:00
Slava Pestov
8b6ec8e030
cpu.x86.features: better wording
2009-09-08 14:17:05 -05:00
Doug Coleman
759159f86b
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-08 14:15:53 -05:00
Doug Coleman
eb558fcc9c
remove deprecated inotify-event struct
2009-09-08 14:15:25 -05:00
Slava Pestov
e5e7c1f725
cpu.x86.features: add -sse-version command-line switch to override SSE detection
2009-09-08 13:56:37 -05:00
Slava Pestov
1e5bc3b376
inline alien-vector and set-alien-vector if SIMD is not available for a small speedup
2009-09-08 13:56:17 -05:00
Slava Pestov
82a8ef7beb
math.vectors.simd: remove useless dependency
2009-09-08 13:55:56 -05:00
Slava Pestov
aa4307765b
Merge branch 'master' into simd
2009-09-08 13:38:14 -05:00
Slava Pestov
f5536bdde0
math.vectors.specialization: specialized vector words are now subwords of the generic vector word. This ensures that specializations get compiled correctly in all cases
2009-09-08 13:37:25 -05:00
Doug Coleman
942fb7b048
Merge branch 'master' of git://factorcode.org/git/factor
2009-09-08 13:22:52 -05:00
Keith Lazuka
9c7d45e08a
Removed text shadow support
2009-09-08 14:22:27 -04:00
Slava Pestov
2d46cfdf9e
Improved line number handling for unit test failure errors
2009-09-08 13:13:30 -05:00
Slava Pestov
c707ba5d61
Merge branch 'for-slava' of git://git.rfc1149.net/factor
2009-09-08 13:09:27 -05:00
Slava Pestov
0c936c14ca
Merge branch 'for-slava' of git://git.rfc1149.net/factor into simd
2009-09-08 13:02:00 -05:00
Keith Lazuka
3fb75247b2
Applied ui-tweaks patchset.
...
- prettyprinter now does syntax highlighting of Factor code
- added a prettyprinter.stylesheet vocab
- text shadow character style for formatted streams
- text shadow for labels
- toolbar buttons display keyboard shortcut in status bar rather than in the button title
- changed some colors in help.stylesheet to match the colors in Factor's scrollbars and border-buttons
- changed status bar color to match the dark blue in Factor's scrollbars
- added some internal padding to the browser gadget to give the article content some breathing room
NOTE: I removed the "pane" slot from browser-gadget. The slot was never used (at least in my image), and now that the browser-gadget's help-pane is wrapped by a "border" gadget, the slot name would be misleading.
2009-09-08 13:30:30 -04:00
Slava Pestov
38c961cf6f
Fixes
2009-09-08 00:13:18 -05:00
Slava Pestov
bbca00e2ae
Fix conflicts
2009-09-07 23:51:25 -05:00