factor/basis
Rupert Swarbrick cd28c7a219 math.primes.erato: Fix off-by-one error
The sieve bit vector deals with numbers in chunks of 30. Therefore,
the number 90 (say) is the 91st 'element' of the vector. Each byte
deals with some range {0,1,...,29}+30n so to have the number 90, you
need four bytes.

Rather pleasingly, I bumped into this bug and it reduced to the
incantation:
  2010 2010 sieve marked-prime?
2010-11-02 17:34:24 +01:00
..
alarms Rename alarms -> timers 2010-06-10 16:39:13 -05:00
alien Merge branch 'master' of git://factorcode.org/git/factor 2010-10-31 20:26:29 -05:00
ascii ascii: remove ch-lower? and ch-upper? words, since they're the same as letter? and LETTER? 2010-10-08 18:55:37 -07:00
base64 Slices over specialized arrays can now be passed to C functions, written to binary output streams, and given to malloc-byte-array 2010-02-25 04:50:31 +13:00
biassocs io.encodings: add a fast-path for ascii, utf8 and 8-bit encodings when string only contains ASCII characters 2010-04-19 01:14:00 -05:00
binary-search binary-search: use nth-unsafe for a further performance gain 2010-04-18 21:42:44 -05:00
bit-arrays bit-arrays: re-use utility words from math.bitwise and io.binary to make implementation a bit more elegant 2010-05-03 22:38:50 -04:00
bit-sets Adding null? word to test if a set is empty 2010-04-17 16:25:51 -05:00
bit-vectors
bitstreams Language change: tuple slot setter words with stack effect ( value object -- ) are now named FOO<< instead of (>>FOO) 2010-05-06 17:21:02 -04:00
bootstrap New boot image location: http://downloads.factorcode.org/images/ 2010-09-27 20:29:09 -07:00
boxes Language change: tuple slot setter words with stack effect ( value object -- ) are now named FOO<< instead of (>>FOO) 2010-05-06 17:21:02 -04:00
byte-arrays/hex
cache cache: add unit tests, make clear-assoc method dispose of all values 2010-10-25 23:52:45 -05:00
cairo cairo.ffi: update to 1.8.10 2010-08-31 23:53:05 +06:00
calendar Clean up alien.c-types changes a little 2010-10-25 21:09:08 -07:00
channels Squashed commit of the following: 2010-09-27 19:12:33 -05:00
checksums Adding the "internet checksum" (RFC 1071). 2010-08-13 14:32:26 -07:00
circular Language change: tuple slot setter words with stack effect ( value object -- ) are now named FOO<< instead of (>>FOO) 2010-05-06 17:21:02 -04:00
classes/struct classes.struct: fields with a type that's an array of pointers (eg int*[3]) now work 2010-08-15 02:44:21 -07:00
cocoa Update code for brave new world where alien.parser doesn't special-case void, and instead looks it up like any other word 2010-08-15 02:32:13 -07:00
colors
columns
combinators Squashed commit of the following: 2010-09-19 13:29:43 -05:00
command-line command-line-docs: fix -run description 2010-09-13 17:22:23 -04:00
compiler compiler.tests: update for <ref> deref 2010-10-25 22:23:03 -07:00
compression Remove <uint> *uint and friends. Hopefully remove the last usages of these words 2010-10-25 15:54:42 -05:00
concurrency concurrency.count-downs: remove unused dependency on debugger vocab 2010-10-31 22:49:50 -05:00
core-foundation Remove many uses of <int> and *int etc 2010-10-25 12:49:12 -05:00
core-graphics Updating code to use with-out-parameters 2010-05-23 03:07:47 -04:00
core-text alien.data: remove second quotation parameter from with-out-parameters, now all values are copied properly and calling 'clone' on structs in this quotation is not necessary 2010-07-16 17:32:05 -04:00
cpu Remove <uint> *uint and friends. Hopefully remove the last usages of these words 2010-10-25 15:54:42 -05:00
csv fix docs for csv 2010-02-27 13:04:42 -06:00
db db.sqlite.lib: fixing sqlite-row word. 2010-08-13 14:23:05 -07:00
debugger Fix three problems discovered by running math.floats.env tests in a loop: 2010-09-02 22:57:14 -05:00
definitions/icons
delegate Remove stream-peek and stream-peek1, re-implement dns vocab to not need this abstraction 2010-10-08 18:55:13 -07:00
deques threads: simplify 'suspend' combinator 2010-03-28 08:29:53 -04:00
disjoint-sets compiler.cfg.representations: fix various bugs 2010-05-03 17:34:11 -04:00
dlists Language change: tuple slot setter words with stack effect ( value object -- ) are now named FOO<< instead of (>>FOO) 2010-05-06 17:21:02 -04:00
documents more help-lint 2010-03-09 21:02:43 -08:00
editors editors.jedit: update for jEdit 4.3.2, which places jEdit settings directory in $HOME/Library/jEdit instead of $HOME/.jedit on Mac OS X 2010-09-14 21:20:02 -07:00
endian Remove many uses of <int> and *int etc 2010-10-25 12:49:12 -05:00
environment Remove usages of <void*> and *void* 2010-10-25 13:22:50 -05:00
eval A number of documentation fixes and cleanup. 2010-02-03 00:05:03 -07:00
farkup Merge branch 'bags' of git://github.com/littledan/Factor 2010-03-16 13:28:00 -04:00
fonts
formatting formatting: remove platform-specific example 2010-04-15 16:14:29 -05:00
fry
ftp Various cleanups for Doug's recent socket addressing change 2010-10-06 23:00:38 -07:00
functors Add a scan-token word which is like scan, except throws an error on EOF; document scan-object word; mention that scan-token/scan-object are preferred over scan/scan-word 2010-07-06 16:20:08 -04:00
furnace io.sockets.secure: add ssl-supported? hook, and make furnace.auth and twitter vocabs use it. This makes furnace work on Windows 2010-10-24 15:54:19 -07:00
game/input Fix typo in game.input.dinput 2010-10-25 22:06:25 -05:00
generalizations Fixing fallout from sequences.generalizations change 2010-05-18 22:59:07 -04:00
glib "cdecl" -> cdecl 2010-03-31 19:20:35 -07:00
globs fix last globs test on windows 2010-02-16 22:19:56 -08:00
grouping Use keys/values where appropriate 2010-05-21 12:48:04 -05:00
hash2
hashtables/identity Move hashtables.identity to basis and update serialize vocab to use them 2010-06-21 22:26:01 -04:00
heaps Some minor pointless optimizations 2010-04-01 20:09:14 -04:00
help help.html: put exact matches first in search results 2010-09-20 21:36:20 -07:00
hints Language change: tuple slot setter words with stack effect ( value object -- ) are now named FOO<< instead of (>>FOO) 2010-05-06 17:21:02 -04:00
html html.templates.chloe: minor doc improvements 2010-10-09 15:29:04 -07:00
http io.sockets.secure: add ssl-supported? hook, and make furnace.auth and twitter vocabs use it. This makes furnace work on Windows 2010-10-24 15:54:19 -07:00
images Fix compile error in images.jpeg 2010-10-01 01:41:26 -05:00
inspector Moving new-sets to sets 2010-02-26 16:01:01 -05:00
interpolate
interval-maps
inverse Move remaining sequence operations from generalizations to sequences.generalizations where they belong 2010-05-18 18:36:47 -04:00
io Remove usages of <void*> and *void* 2010-10-25 13:22:50 -05:00
iokit Remove usages of <void*> and *void* 2010-10-25 13:22:50 -05:00
json json.reader: factor read-jsons from json> 2010-06-03 13:11:47 -07:00
lcs
libc libc: make memory= inline just for fun 2010-08-06 00:16:25 -07:00
linked-assocs
listener listener: fixing typo in docs. 2010-09-10 13:22:53 -07:00
lists more help-lint 2010-03-09 21:02:43 -08:00
literals Use flags{ instead of flags all over the place 2010-04-01 14:44:03 -05:00
locals Add a scan-token word which is like scan, except throws an error on EOF; document scan-object word; mention that scan-token/scan-object are preferred over scan/scan-word 2010-07-06 16:20:08 -04:00
logging logging.insomniac: fix docs 2010-10-02 19:06:45 -07:00
macros macros: clarify docs 2010-08-17 19:25:24 -07:00
match Fix MATCH-VARS: and match-cond docs error 2010-09-06 18:32:05 +12:00
math math.primes.erato: Fix off-by-one error 2010-11-02 17:34:24 +01:00
memoize effects.parser: throw a proper no-word error if effect references an unknown class word 2010-02-23 23:57:13 +13:00
mime Add webm, ogv and oga to mime types 2010-09-29 10:41:00 +13:00
mirrors mirrors: rename enumerated-sequence to inspected-sequence 2010-06-11 17:14:15 -04:00
models models: add push-model and pop-model words 2010-06-23 20:07:19 -07:00
multiline
nibble-arrays nibble-arrays: replace a -rot usage with locals 2010-05-29 05:22:10 -04:00
nmake Move remaining sequence operations from generalizations to sequences.generalizations where they belong 2010-05-18 18:36:47 -04:00
none
opengl Remove <uint> *uint and friends. Hopefully remove the last usages of these words 2010-10-25 15:54:42 -05:00
openssl Merge branch 'master' into abi-symbols 2010-04-01 15:28:36 -07:00
pack
pango pango: minor cleanups 2010-08-06 00:16:18 -07:00
peg peg.ebnf: minor fix 2010-07-26 12:40:32 -04:00
persistent
porter-stemmer
present
prettyprint prettyprint.backend: leave nesting-limit unset when prettyprinting hashtables without a nesting limit, fixing the bug where it would get set to 1 and print nothing (reported by Blei) 2010-06-28 09:10:16 -07:00
promises effects.parser: throw a proper no-word error if effect references an unknown class word 2010-02-23 23:57:13 +13:00
quoted-printable
quoting
random Remove many uses of <int> and *int etc 2010-10-25 12:49:12 -05:00
refs Language change: tuple slot setter words with stack effect ( value object -- ) are now named FOO<< instead of (>>FOO) 2010-05-06 17:21:02 -04:00
regexp regexp: fix test 2010-07-23 20:40:44 -07:00
roman Update documentation for new help lint check 2010-02-19 12:31:52 +13:00
search-deques
see Fixing bug in see caused by incorrect import 2010-03-02 19:11:35 -05:00
sequences cleanup 2010-10-22 18:22:29 -07:00
serialize serialize, io.streams.byte-array: fix unit tests for utf8 encoding strictness 2010-08-25 17:51:44 -07:00
shuffle Move remaining sequence operations from generalizations to sequences.generalizations where they belong 2010-05-18 18:36:47 -04:00
simple-flat-file Finishing eliminating prune as a synonym of members 2010-02-27 14:52:24 -05:00
simple-tokenizer Rename io.launcher.unix.parser to simple-tokenizer since ftp.server uses it 2010-02-21 17:48:04 +13:00
smtp Remove more system-micros stuff 2010-06-22 02:04:31 -05:00
sorting Fix sorting.human docs 2010-09-21 11:17:39 -05:00
soundex
specialized-arrays Remove many uses of <int> and *int etc 2010-10-25 12:49:12 -05:00
specialized-vectors specialized-vectors: redefine "like" for the corresponding specialized-array of a specialized-vector to share storage when a vector is liked 2010-06-12 16:07:21 -07:00
splitting/monotonic
stack-checker stack-checker.alien: get a bit more inlining going with callbacks, to expose another bug 2010-09-05 21:27:39 -07:00
strings/tables strings.tables: fix a logic error 2010-02-03 23:11:31 +13:00
suffix-arrays Make suffix arrays prune repeated members before construction 2010-08-18 11:35:08 -05:00
summary
syndication Remove the http-data word 2010-03-01 22:32:15 -06:00
system-info Remove many uses of <int> and *int etc 2010-10-25 12:49:12 -05:00
threads cpu.x86.32: commit 05ba77262a only fixed the start-context-and-delete callframe leak on x86-64. Fix it on x86-32 and add a regression test 2010-08-22 19:30:54 -07:00
timers Remove the word 'alarm' from timers docs.. 2010-09-18 11:37:47 -05:00
tools alien.enums: enum>number didn't work in deployed images, add a test which deploys and runs benchmark.ui-panes to catch this in the future 2010-10-17 21:02:42 -04:00
tr
tuple-arrays classes.struct: make hashcode and equal? work on structs wrapping null pointers, to fix another obscure issues arising with tuple arrays 2010-08-06 00:15:22 -07:00
typed typed: include value that raised the error in type-mismatch-errors 2010-06-16 16:23:27 -05:00
ui Fix a few tests that got broken in the <uint> *uint patches 2010-10-25 19:14:21 -05:00
unicode Move ch-upper? from unicode.case to ascii 2010-10-08 06:34:20 -07:00
unix Clean up alien.c-types changes a little 2010-10-25 21:09:08 -07:00
unrolled-lists Language change: tuple slot setter words with stack effect ( value object -- ) are now named FOO<< instead of (>>FOO) 2010-05-06 17:21:02 -04:00
urls io.sockets.secure: add ssl-supported? hook, and make furnace.auth and twitter vocabs use it. This makes furnace work on Windows 2010-10-24 15:54:19 -07:00
uuid More system-micros elimination 2010-06-22 02:00:19 -05:00
validators validators: fix v-default (reported by Niklas Waern) 2010-03-30 15:35:36 -04:00
values Language change: tuple slot setter words with stack effect ( value object -- ) are now named FOO<< instead of (>>FOO) 2010-05-06 17:21:02 -04:00
vectors/functor
vlists
vm vm: fix field order in zone struct 2010-05-04 17:57:53 -04:00
vocabs io.directories: move directory-tree-files words to io.directories.hierarchy, where all the other *-tree stuff is 2010-09-11 18:43:47 -07:00
windows Remove <uint> *uint and friends. Hopefully remove the last usages of these words 2010-10-25 15:54:42 -05:00
wrap
x11 Clean up alien.c-types changes a little 2010-10-25 21:09:08 -07:00
xml xml.traversal: tags-with-attr fix 2010-09-14 18:09:17 +12:00
xml-rpc Update documentation for new help lint check 2010-02-19 12:31:52 +13:00
xmode xmode.modes: add cuda xmode 2010-06-08 17:08:51 -07:00