Commit Graph

9325 Commits (1c359f8d7aac2a3924d37416c69173077c8c5286)

Author SHA1 Message Date
John Benediktsson d926a5e28a help.tutorial: updating to 2011. 2011-01-05 18:37:32 -08:00
John Benediktsson 5dcd6b36d4 Merge branches 'master' and 'cleanup' into cleanup 2011-01-05 18:35:13 -08:00
Keita Haga d5fe4fecc1 remove useless whitespace in several documentation 2011-01-05 15:55:34 +09:00
Keita Haga 3ba83001e4 http.client: fix typo in docs 2011-01-05 01:00:13 +09:00
Keita Haga d22517a585 biassocs: fix typo to '>biassoc' description and 'biassocs' article in docs 2011-01-04 22:34:46 +09:00
Keita Haga c542cf13e9 unix.users: minor fixes in 'passwd' description 2011-01-04 21:51:51 +09:00
Keita Haga 8f92ca2d47 classes.algebra, grouping, parser: replace 'seqence' with 'sequence' in docs 2011-01-04 21:02:11 +09:00
Keita Haga 48b1f444c8 debugger: fix typo in docs 2011-01-04 18:30:34 +09:00
Slava Pestov 3c73e53db3 sets, bit-sets: cleanups 2010-12-27 20:10:37 -08:00
John Benediktsson 47faf5f6ae sets: adding cardinality word. 2010-12-27 19:22:36 -08:00
John Benediktsson 160016dab9 Merge branch 'master' of git://github.com/slavapestov/factor 2010-12-26 15:46:51 -08:00
Slava Pestov 13d6c6a698 Update code for alien.data changes 2010-12-26 02:08:57 -06:00
Slava Pestov b0732bcb22 Fix unit test failures caused by alien.data change 2010-12-25 22:34:12 -08:00
Slava Pestov 75560699ea Move <ref>, deref and little-endian? from alien.c-types to alien.data, remove <c-object> 2010-12-25 16:55:36 -08:00
Keita Haga 7a9591674c io.directories.search: fix a couple of examples 2010-12-23 05:15:20 +09:00
Keita Haga 2dad72e4e7 multiline: fix typo in docs 2010-12-23 04:42:56 +09:00
Keita Haga 64d78c4f5c concurrency.combinators: fix typo in docs 2010-12-23 04:26:34 +09:00
Keita Haga c3189054d1 io.files.info.unix, sequences: few $examples and $unchecked-examples turn into $codes 2010-12-23 04:05:06 +09:00
Keita Haga 33c14b8bb0 ui.pixel-formats: fix using list in example 2010-12-23 03:10:54 +09:00
John Benediktsson de155315bd Merge branch 'master' of git://github.com/slavapestov/factor 2010-12-13 12:47:10 -08:00
Slava Pestov 70a2cfad37 Merge branch 'doc-fixes' of http://github.com/keitahaga/factor 2010-12-05 20:58:11 -08:00
Keita Haga 7bd8c3deba db.tuples: fix a couple of examples in tutorial article a little 2010-12-06 06:14:24 +09:00
Keita Haga f5c556a709 literals: fix formatting and example error in docs 2010-12-06 05:06:15 +09:00
Keita Haga 051a2a749b urls.encoding: fix missing vocab in docs 2010-12-05 22:17:21 +09:00
Keita Haga 7199339d89 concurrency.messaging: documentation typo fix and remove trailing whitespace 2010-12-05 06:03:15 +09:00
Keita Haga 08656749bf io.styles: add using to all examples plus fix formatting in some examples 2010-12-04 21:25:12 +09:00
Keita Haga 9f7c22be60 help, hints: remove syntax vocab in few examples 2010-12-04 01:25:14 +09:00
John Benediktsson 5b97fca7d4 Merge branch 'master' of git://github.com/slavapestov/factor 2010-12-01 08:38:05 -08:00
Slava Pestov 6f0375b3ba Merge branch 'doc-fixes' of git://github.com/keitahaga/factor 2010-12-01 03:02:38 -08:00
Slava Pestov dd0d9fbc10 alien.fortran: cleanup 2010-12-01 03:00:00 -08:00
Joe Groff 2dbfc7df33 alien.fortran: fix stack effect of SUBROUTINE: and FUNCTION: words to include out parameters 2010-12-01 07:05:32 +05:30
Keita Haga 3e7af33343 hints: fix two examples and formatting in docs 2010-11-30 04:53:11 +09:00
Keita Haga e7796b4118 tools.crossref: fix example 2010-11-29 18:41:57 +09:00
Keita Haga cca391861e help: add stack effect declaration and using to HELP: example in docs 2010-11-29 03:44:45 +09:00
Keita Haga 2dbee396fb db: fix some examples 2010-11-28 03:34:27 +09:00
John Benediktsson 48820aa57e Merge branch 'master' of git://github.com/slavapestov/factor 2010-11-26 01:33:40 -08:00
John Benediktsson 7a06cacd45 help.tutorial: minor cleanup. 2010-11-25 23:58:33 -08:00
Slava Pestov f27080498d Remove bignum>float VM primitive, and use bignum/f to implement >float on bignums instead, for a slight accuracy gain. Also, bignum/f now has a more efficient post-scaling algorithm to break the circular dependency on bignum>float 2010-11-24 22:41:15 -08:00
Keita Haga 7c963b9dbe eval: fix cad.objects path in example 2010-11-24 05:58:15 +09:00
Slava Pestov ac0233ce7b specialized-arrays: fix stack effect of malloc-T-array in docs 2010-11-19 19:53:43 -08:00
Keita Haga 04aeadbb15 io.files.info.unix: fix IN: in docs 2010-11-18 04:29:36 +09:00
Keita Haga 08cb8a4848 io.files.info.unix: fix a couple of set-file-permissions examples 2010-11-18 03:46:02 +09:00
Keita Haga 58bac61281 help.handbook: fix typo 2010-11-16 17:45:25 +09:00
John Benediktsson 7a233aa2e7 Merge branch 'master' of git://github.com/slavapestov/factor 2010-11-15 08:47:09 -08:00
Anton Gorenko aa82d106ce gobject-introspection: remove tests (because they don't work); 2010-11-15 21:51:49 +06:00
Anton Gorenko 8baa7d3578 ui.backend.gtk: fix bugs; 2010-11-15 21:48:58 +06:00
Anton Gorenko 0f954c9fa9 gdk.ffi: fix incorrect GdkEvent* structures' definitions; 2010-11-15 21:47:36 +06:00
Anton Gorenko ed46a3d472 pango.cairo: fix incorrect USING:; 2010-11-15 21:46:54 +06:00
Slava Pestov 97a8e889c3 models.arrow: fix formatting 2010-11-14 15:33:38 -08:00
Jon Harper b207482d38 Remove unecessary slot from arrow models 2010-11-14 15:33:37 -08:00
Keita Haga ae7b44e5eb io.directories: fix typo in example 2010-11-14 17:18:56 +09:00
Keita Haga 7a5132140f concurrency.locks: fix typo in docs 2010-11-14 17:11:17 +09:00
Slava Pestov c4a83d2d0b io.servers: don't try to open SSL sockets if they're not supported on the current platform (ie, Windows) 2010-11-13 18:32:10 -06:00
John Benediktsson b7f5d2f85b Merge branch 'master' of git://github.com/slavapestov/factor 2010-11-03 23:07:41 -07:00
Jon Harper f60f13c675 math.primes.erato doc fixes. 2010-11-02 17:34:28 +01:00
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
John Benediktsson afb23da7fe Merge branch 'master' of git://github.com/slavapestov/factor 2010-11-01 08:16:32 -07:00
Slava Pestov c24c399b77 concurrency.count-downs: remove unused dependency on debugger vocab 2010-10-31 22:49:50 -05:00
Slava Pestov 372d2dc363 concurrency.mailboxes: break dependency on debugger vocab by creating concurrency.mailboxes.debugger 2010-10-31 22:47:34 -05:00
Slava Pestov 8be8c7f213 Merge branch 'master' of git://factorcode.org/git/factor 2010-10-31 20:26:29 -05:00
John Benediktsson fdef71d2b7 colors.hex vocab. 2010-10-28 13:34:59 -07:00
Slava Pestov 675a420717 compiler.tests: update for <ref> deref 2010-10-25 22:23:03 -07:00
Slava Pestov 68712ed84c cache: add unit tests, make clear-assoc method dispose of all values 2010-10-25 23:52:45 -05:00
Slava Pestov b03a16ef4d alien.libraries: add-library won't close and re-open the library if nothing changed. This fixes a crash on Windows when reloading the windows vocab 2010-10-25 23:39:15 -05:00
Slava Pestov e139a7a02d Clean up alien.c-types changes a little 2010-10-25 21:09:08 -07:00
Doug Coleman c7d22fe439 Fix typo in game.input.dinput 2010-10-25 22:06:25 -05:00
Doug Coleman 69487d1fd3 Fix a few tests that got broken in the <uint> *uint patches 2010-10-25 19:14:21 -05:00
Doug Coleman 67c37591ca Remove <uint> *uint and friends. Hopefully remove the last usages of these words 2010-10-25 15:54:42 -05:00
Doug Coleman 4ca9bd0bba Remove usages of <void*> and *void* 2010-10-25 13:22:50 -05:00
Doug Coleman 1f57dc326e Remove many uses of <int> and *int etc 2010-10-25 12:49:12 -05:00
Slava Pestov b10897334c 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
Slava Pestov ee1520f683 math.primes.erato: fix typo in docs 2010-10-22 18:26:08 -07:00
Jon Harper ff1d7914e8 cleanup 2010-10-22 18:22:29 -07:00
Slava Pestov a400b39fa1 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
Slava Pestov 559b1ae876 alien.c-types: make behavior of int/uint/long/ulong/longlong/ulonglong struct field setters consistent across 32-bit and 64-bit when supplied with floats (reported by Anton Gorenko) 2010-10-14 22:29:48 -07:00
Doug Coleman 345447b961 Fix bootstrap on mac by adding back the PF_INET constant 2010-10-09 16:53:54 -07:00
Slava Pestov 5caae55e8d html.templates.chloe: minor doc improvements 2010-10-09 15:29:04 -07:00
Slava Pestov daae54a88a unix.ffi.bsd: fix load errors 2010-10-09 15:16:14 -07:00
Slava Pestov a84d7af2c5 unix.ffi.bsd: fix AF_INET6 constants on FreeBSD and OpenBSD 2010-10-09 15:04:49 -07:00
Slava Pestov 40e5ed8b87 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
Slava Pestov fbbaef70c4 Remove stream-peek and stream-peek1, re-implement dns vocab to not need this abstraction 2010-10-08 18:55:13 -07:00
Doug Coleman 7367ff19c4 Add a method on url-addr for local ports
Remove test for code that got reverted
2010-10-08 08:42:19 -07:00
Doug Coleman a4b25443f4 Move ch-upper? from unicode.case to ascii 2010-10-08 06:34:20 -07:00
Doug Coleman d462355035 Implement and document stream-peek 2010-10-08 06:34:19 -07:00
Doug Coleman 6dcb259b73 Move the host word from dns to tools.dns 2010-10-08 06:34:18 -07:00
Doug Coleman f7af445625 Add stream-peek1 and remove it from images.gif and dns. Add sequence-peek but not stream-peek (yet?) 2010-10-08 06:34:17 -07:00
Slava Pestov 4dd1ba4ab2 furnace.recaptcha: fix stack effect declaration 2010-10-06 23:01:09 -07:00
Slava Pestov 89ae9d9638 Various cleanups for Doug's recent socket addressing change
- urls: now have a host/port slots again, add a new set-url-addr word
- http.server: fix host header parsing for IPv6 addresses
2010-10-06 23:00:38 -07:00
Doug Coleman 78cb1140f4 Add ch-upper? and ch-lower? words 2010-10-05 09:56:30 -05:00
Doug Coleman 32f447d796 Since ip4/ip6 services can run on different ports, we must include which version of ip we're using instead of just a port. Make URL objects store an inet4/i nt6/inet object with host/port slots instead of storing host/port slots separately. Stricter error checking on inet4/inet6 tuple creation. Update lots of code related to the URL change. 2010-10-05 09:56:29 -05:00
Slava Pestov 67db4d73ac logging.insomniac: fix docs 2010-10-02 19:06:45 -07:00
Slava Pestov 7fc552dd6c logging.insomniac: clean up more 2010-10-02 18:18:54 -07:00
Slava Pestov b79c801b3c logging.analysis: fix it up and make it work 2010-10-02 18:11:57 -07:00
Doug Coleman 468d1d40c9 Fix compile error in images.jpeg 2010-10-01 01:41:26 -05:00
Doug Coleman ae60761d42 Fix furnace.actions help lint 2010-10-01 01:41:25 -05:00
Doug Coleman 046efe7798 Update alien.enums docs 2010-10-01 01:41:24 -05:00
Anton Gorenko 0ad5f6bd44 Merge branch 'master' of git://factorcode.org/git/factor 2010-10-01 10:13:19 +06:00
Slava Pestov b052aa61cb compiler.cfg.linear-scan: extend lifetime intervals of base pointers correctly (reported by Anton Gorenko) 2010-09-30 20:49:03 -07:00
Doug Coleman 3ac8847a15 Fix typo ohno 2010-09-29 17:29:28 -05:00
Doug Coleman 3cdc9ba650 Use create-class-in to get redefinition errors with enums 2010-09-29 16:24:25 -05:00
Doug Coleman f981b6db3c Make a way to get DNS server ips on Windows 2010-09-29 15:36:56 -05:00
Doug Coleman 67fa5080f4 Add a basic windows registry vocabulary 2010-09-29 11:19:30 -05:00
Anton Gorenko 913362a3a2 gobject-introspection: rewrite gir files loading and code generation totally
generate girs from fresh sources
ui.backend.gtk, ui.text.pango: update a little bit
(this commit is unstable, because new GObject-introspection release (> 0.9) is much different from 0.6 and it needs more detailed annotations
(e.g. to parse out/inout parameters), which are mostly missing now)
2010-09-29 15:08:31 +06:00
Anton Gorenko f7573bf329 Merge branch 'master' of git://factorcode.org/git/factor 2010-09-29 12:22:09 +06:00
Slava Pestov 3e43dafb76 html.templates.fhtml: code cleanup 2010-09-28 21:34:16 -07:00
Slava Pestov 875e7c17ec http.server.static: look for index.fhtml when fhtml is enabled 2010-09-28 21:34:15 -07:00
Chris Double 5617546b7e Fix chloe-content docs 2010-09-29 10:41:15 +13:00
Chris Double 86b00a0e6f Add webm, ogv and oga to mime types 2010-09-29 10:41:00 +13:00
Doug Coleman 56c8d47d58 Make alien.enums create singletons so I can dispatch on them. Clean up the code a bit. 2010-09-28 15:15:55 -05:00
Anton Gorenko 4e6fc292b9 Merge branch 'master' of git://factorcode.org/git/factor 2010-09-28 18:23:36 +06:00
Slava Pestov 18d4d01e48 furnace.utilities: clean up 2010-09-27 21:45:31 -07:00
Slava Pestov 7d6475df0b New boot image location: http://downloads.factorcode.org/images/ 2010-09-27 20:29:09 -07:00
Slava Pestov 6b5fffc026 compiler: preliminary implementation of tracking derived pointers in GC maps 2010-09-27 20:12:44 -07:00
Slava Pestov 53aed0805a compiler.cfg.alias-analysis: fix bug in lazy alias class instantiation 2010-09-27 20:12:43 -07:00
Doug Coleman e48c28359e Fix io.streams.throwing word and write docs for it. Fix typo in io.streams.limited docs 2010-09-27 20:20:48 -05:00
Doug Coleman 0bbfa64b24 Squashed commit of the following:
commit 54b3e19c7407707fabddd53872559c58cd5143d2
Author: Doug Coleman <doug.coleman@gmail.com>
Date:   Mon Sep 27 19:10:15 2010 -0500

    Fix typo

commit 3207516dc93e0e1edc9f119efcc79f4484eab244
Author: Doug Coleman <doug.coleman@gmail.com>
Date:   Mon Sep 27 19:08:30 2010 -0500

    Rename io.servers.connection to io.servers
2010-09-27 19:12:33 -05:00
Doug Coleman 4ade3b6a5c Clean up io.servers.connection >insecure word 2010-09-27 19:00:54 -05:00
Doug Coleman b03268f047 Make secure-context persist longer than a millisecond when a server gets started. 2010-09-27 18:57:14 -05:00
Anton Gorenko 0406bd9a31 Merge branch 'master' of git://factorcode.org/git/factor 2010-09-27 15:25:02 +06:00
Anton Gorenko d5a7f99bea Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	basis/cairo/ffi/ffi.factor
	basis/pango/cairo/cairo.factor
	basis/pango/layouts/layouts.factor
2010-09-26 23:24:30 +06:00
Slava Pestov 546b81b697 compiler.cfg.scheduling: always run scheduling because heuristic was broken 2010-09-25 16:31:42 -07:00
Slava Pestov 80d7aab40b compiler.cfg.alias-analysis: don't need to do a local live-in calculation anymore 2010-09-25 16:13:17 -07:00
Slava Pestov ec2f42fd40 compiler.cfg.liveness: merge in compiler.cfg.liveness.ssa and simplify the code, since we don't compute live sets before SSA construction anymore 2010-09-25 14:36:58 -07:00
Slava Pestov 2d3c9fd7c8 Merge branch 'doc-fixes' of http://github.com/brennancheung/factor 2010-09-24 01:17:44 -07:00
Slava Pestov 2fb36ea1c5 io.sockets: minor cleanup 2010-09-24 01:17:33 -07:00
Brennan Cheung 4c34420690 doc fix, chloe link forms - t:button 2010-09-23 13:51:15 -07:00
Doug Coleman a2a598546f Only return ipv4 addresses for binding to on linux. 2010-09-23 13:20:18 -05:00
Doug Coleman 8d3cb0d596 Remove test for icmp sockets since extra/ping implicitly tests this 2010-09-22 00:55:18 -05:00
Doug Coleman 2c42e616b4 Implement a raw port. Make ping only run on Windows and Mac because the other platforms require root privs. 2010-09-21 22:00:18 -05:00
Doug Coleman a60afaf0ec Use SOCK_RAW for ICMP sockets on windows 2010-09-21 20:03:48 -05:00
Doug Coleman db7d81b008 Fix error checking in windows.sockets again 2010-09-21 14:33:10 -05:00
Doug Coleman 7d1fa695c2 Fix sorting.human docs 2010-09-21 11:17:39 -05:00
Doug Coleman 7b0a50e7d2 Squashed commit of the following:
commit 90deaafa9db083ecdb9e0e30ad3694317e616399
Merge: f392dfd 32cf7bb
Author: Doug Coleman <doug.coleman@gmail.com>
Date:   Tue Sep 21 00:33:37 2010 -0500

    Merge branch 'icmp-ping' of git://github.com/mrjbq7/factor into icmp-ping2

commit 32cf7bb0e0b876309bce248944dfeca243f02594
Author: John Benediktsson <mrjbq7@gmail.com>
Date:   Fri Sep 10 14:01:47 2010 -0700

    ping: Adding a simple IPv4 ping implementation.

commit da0c5ce7acf1407256c3ac2b98ac5b68858878c1
Author: John Benediktsson <mrjbq7@gmail.com>
Date:   Fri Sep 10 14:01:15 2010 -0700

    io.sockets.icmp: Adding ICMP support.

commit 60fdf7e7d995d63c11be87e8e1398f7bdd593833
Author: John Benediktsson <mrjbq7@gmail.com>
Date:   Fri Sep 10 14:00:48 2010 -0700

    io.sockets: Adding protocol support for sockets.

commit 2f130f1f9e0e2ea44d798beaad244a9c33b0d86a
Author: John Benediktsson <mrjbq7@gmail.com>
Date:   Fri Sep 10 14:00:28 2010 -0700

    Adding getprotobyname().
2010-09-21 11:15:33 -05:00
Doug Coleman b98f4c13ce Let the server start before trying to clean it up 2010-09-21 00:20:44 -05:00
Doug Coleman 7c161e274c Use proper unicode collation for sorting strings, and make the w/collation-key public 2010-09-21 00:03:03 -05:00
Doug Coleman 140aa80379 Don't try to use ipv6 addresses if an OS can't bind to them 2010-09-20 23:53:18 -05:00
Doug Coleman 8bc3c09050 Human sort is unusable with pegs (too slow). Make a case-insensitive version humani<=> 2010-09-20 23:44:12 -05:00
Slava Pestov 3bd23f2414 io.directories.hierarchy: add some tests 2010-09-20 21:36:22 -07:00
Slava Pestov 8bc2ea7a5c compiler.cfg.ssa.construction: use the baller method for pruned SSA 2010-09-20 21:36:22 -07:00
Slava Pestov f9c9814e57 alien.data: remove deprecated malloc-object word 2010-09-20 21:36:20 -07:00
Slava Pestov 8912253b5c help.html: put exact matches first in search results 2010-09-20 21:36:20 -07:00
Slava Pestov dd3cfb1268 calendar: minor doc fixes 2010-09-20 21:36:19 -07:00
Doug Coleman 47a9359fc4 Fix docs errors for threaded-server changes 2010-09-20 14:17:27 -05:00
Doug Coleman d97bf9f890 Move <rgb-image> to images.testing, add randomize-image word 2010-09-19 21:54:04 -05:00
Doug Coleman 84942b5409 Make a couple utility words in images vocabulary 2010-09-19 21:43:36 -05:00
Doug Coleman f20ee7a53b Use new threaded-server features in concurrency.distributed 2010-09-19 21:39:14 -05:00
Doug Coleman 8aa22487da Fix io.servers -- if it doesn't start up, don't throw an error when it's stopped. IPV6 must be enabled on windows with the command: ipv6 install (the build machines need this before we get clean windows builds). Fix up winsock error handling. 2010-09-19 21:35:52 -05:00
Doug Coleman fd502e2c85 Fix using list 2010-09-19 19:14:56 -05:00
Doug Coleman f791c8c5d2 Squashed commit of the following:
commit 197dbe9a6733775ac0ea19b3da4bd4dc3c85418c
Author: Doug Coleman <doug.coleman@gmail.com>
Date:   Sat Sep 18 19:01:38 2010 -0500

    Fix bootstrap, move privileges to windows.privileges

commit 521c622f8afb15bf42d263c738cb990560dc29cb
Author: Doug Coleman <doug.coleman@gmail.com>
Date:   Sat Sep 18 18:26:30 2010 -0500

    Hopefully fix bootstrap

commit eb3f22928b59758b9505430034044b5b94705da2
Author: Doug Coleman <doug.coleman@gmail.com>
Date:   Sat Sep 18 18:19:05 2010 -0500

    Remove wince from factor codebase

commit 619d6c99415f46208a7ede6a04b0ccda46b15360
Author: Doug Coleman <doug.coleman@gmail.com>
Date:   Sat Sep 18 16:07:46 2010 -0500

    Remove Windows CE from vm/
2010-09-19 19:13:25 -05:00
Doug Coleman 87ec88ff6c Fix http tests and io.server.connection docs 2010-09-19 15:47:25 -05:00