Commit Graph

9413 Commits (a429f67b87e147411ede58b617ad7799bef84609)

Author SHA1 Message Date
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
Philip Searle e83cc32b14 Add palette and odd-sized PNG unit tests. Fix loading interlaced PNGs < 8x8 in size. 2010-11-13 23:52:13 +00:00
Philip Searle a22f5611de Fix support for interlaced 1/2/4/8/16-bit greyscale and interlaced 8-bit truecolour PNG files. 2010-11-13 21:45:11 +00:00
Philip Searle 0c70f74abe Correct greyscale PNG scaling factor. Non-interlaced greyscale PNG tests now pass. 2010-11-13 19:29:26 +00: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
Doug Coleman aa8c12a84b Squashed commit of the following:
commit 8a15381d30508b8f36a9e36dc3a0afc3c962c853
Author: Doug Coleman <doug.coleman@gmail.com>
Date:   Sat Sep 11 14:32:30 2010 -0500

    Squash threaded-server branch
2010-09-19 13:38:02 -05:00
Doug Coleman 4a018ebdfc Squashed commit of the following:
commit fbec7374aa3f99d8f76499183920e537dc7f38b1
Author: Doug Coleman <doug.coleman@gmail.com>
Date:   Sun Sep 19 13:28:47 2010 -0500

    Remove random.combinators vocab

commit 74f91aca4a961879ec57ef56114eadd5e9f6dcee
Author: Doug Coleman <doug.coleman@gmail.com>
Date:   Sun Sep 19 13:28:22 2010 -0500

    Rename random.combinators to combinators.random.  Add random.data vocabulary

commit f616c3f4ceac48ac6f48836040130ba4f090c47f
Author: Doug Coleman <doug.coleman@gmail.com>
Date:   Sun Sep 19 13:14:01 2010 -0500

    Add execute-random combinator, docs, and respace a few things..

commit 1ce17507e3767c78e14ecf5e27e542168a47b2a2
Merge: db359d6 b53fc83
Author: Doug Coleman <doug.coleman@gmail.com>
Date:   Sun Sep 19 12:55:53 2010 -0500

    Merge branch 'random-combinators' of git://github.com/jonenst/factor into random-combinators

commit b53fc830f3319e9bdfce02674ea480f69e1453db
Author: Jon Harper <jon.harper87@gmail.com>
Date:   Mon Aug 23 17:16:21 2010 +0200

    Random combinators vocabulary
2010-09-19 13:29:43 -05:00
Doug Coleman d29625850f Remove the word 'alarm' from timers docs.. 2010-09-18 11:37:47 -05:00
Doug Coleman 7122f9fccb Make sure io.backend.windows loads the implementations for the generics it defines. Make windows.handles not depend on io.timeouts. Fix typo in win32-file-attributes. Fix bug in null-output word. Clean up error checking code. 2010-09-17 14:19:10 -05:00
Slava Pestov 04be762fac math.rectangles: add infinite recursion check in case somebody does something stupid 2010-09-16 21:27:18 -07:00
Doug Coleman 06e3fc84a6 Trim using lists for io.files.windows 2010-09-16 16:10:38 -05:00
Doug Coleman aefbed1f29 Add platforms.txt for windows.handles 2010-09-16 15:52:14 -05:00
Doug Coleman 5c8316be07 Move win32-handle to windows.handles and update using lists to avoid pulling in the io backend where not necessary 2010-09-16 15:40:36 -05:00
Slava Pestov c447ca5427 io.backend.unix: remove dead code from bsd backend, fix select code 2010-09-15 21:56:42 -07:00
Doug Coleman f0a9741a96 Make windows random objects inherit from win32-handle, remove redundant error handling, use new-disposable instead of new 2010-09-15 19:10:21 -05:00
Doug Coleman c37d967da2 Don't use 2|| for control flow, use nested recover instead. Fix bug where creating a crypto context would dereference the handle, causing a type error. 2010-09-15 18:11:51 -05:00
Doug Coleman 3419708ead Remove dead code 2010-09-15 17:39:46 -05:00
unknown 0b62642ba1 random.windows logic was horribly messed up 2010-09-15 17:16:20 -05:00
Slava Pestov 1aaa756056 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
Jeremy Hughes 3806f02111 xml.traversal: tags-with-attr fix 2010-09-14 18:09:17 +12:00
Slava Pestov e68602287c Merge branch 'docs-ui-main' of http://github.com/mncharity/factor 2010-09-13 20:57:04 -07:00
Mitchell N Charity c989ba84a9 command-line-docs: fix -run description 2010-09-13 17:22:23 -04:00
Anton Gorenko 58ab818708 gobject-introspection: add new tests 2010-09-12 23:08:52 +06:00
Anton Gorenko 534402469c ui.backend.gtk: clean up and rearrange the code 2010-09-12 17:28:24 +06:00
Anton Gorenko 8812052ba9 ui.backend.gtk: set 'wmclass' hint to 'Factor' for new windows 2010-09-12 13:43:20 +06:00
Slava Pestov e5b30b7518 io: minor doc fixes throughout 2010-09-11 18:43:47 -07:00
Slava Pestov f3b264522c 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
John Benediktsson 16c6d4304f listener: fixing typo in docs. 2010-09-10 13:22:53 -07:00
John Benediktsson 9edab21aeb html.streams: fix typo in stack effect for emit-html. 2010-09-10 13:22:42 -07:00
Slava Pestov 65de87ff52 Merge branch 'docs-optimization' of http://github.com/mncharity/factor 2010-09-09 20:33:04 -07:00
Doug Coleman dc4970e234 Fix file uploads by using unlimit-stream for now. Will compare solution to with-combinators tomorrow. 2010-09-08 02:50:25 -05:00
Doug Coleman 750e61117e Use append-as in mime.multipart 2010-09-08 02:50:24 -05:00
Slava Pestov a67c7c5739 compiler.cfg.write-barrier: fix soundness issue with ##copy that never came up but probably should've been fixed anyway 2010-09-06 17:01:44 -07:00
Slava Pestov a605d5c9c9 compiler.cfg.alias-analysis: dead store elimination was too aggressive, can't eliminate dead stores across a GC call even for fresh allocations because GC will see uninitialized data 2010-09-06 16:57:56 -07:00
Chris Double bea51b1d18 Fix MATCH-VARS: and match-cond docs error 2010-09-06 18:32:05 +12:00
Slava Pestov add75411a0 compiler.cfg.write-barrier: handle ##copy instructions 2010-09-05 23:07:30 -07:00
Slava Pestov 54f97557e6 compiler.cfg.dependence: compute dependency graph for write barrier instructions 2010-09-05 22:51:17 -07:00
Slava Pestov c677c35de4 compiler.cfg: fix major facepalm with write barrier elimination 2010-09-05 21:39:45 -07:00
Slava Pestov 3323284db4 stack-checker.alien: get a bit more inlining going with callbacks, to expose another bug 2010-09-05 21:27:39 -07:00
Doug Coleman 4b6946da45 Rename append-path-naive to append-relative-path, fix bugs to support Firefox FTP again 2010-09-05 00:40:47 -05:00
Doug Coleman 0ec1a89f54 If ftp clients send a path starting with /, treat it as a path relative to the serving directory. Expose absolute-path? and append-path-naive in io.pathnames to implement this change. 2010-09-04 22:16:57 -05:00
Slava Pestov cf347038bd ftp.server: don't mutate addrspecs anymore 2010-09-04 18:54:39 -07:00
Slava Pestov afbf4e9cb2 io.sockets: make addrspecs immutable 2010-09-04 18:49:27 -07:00
Slava Pestov 4995d9153e delegate: fix delegation to tuples with read only slots 2010-09-04 18:48:54 -07:00
Slava Pestov 5df4edc14f mason: when checking if we need to build, compare source for last finished (clean/dirty/error) build with the latest source hashes, instead of the last *downloaded* source hashes. This ensures that if a build is terminated due to machine failure, we start building again next time 2010-09-04 16:58:10 -07:00
Slava Pestov aa2f5ae13f io.sockets: f 0 <inet4> should work 2010-09-04 15:41:12 -07:00
Slava Pestov 4fc792629e io.sockets: clean up resolve-host 2010-09-04 14:42:05 -07:00
Slava Pestov 3d461046f0 io.sockets: factor out ipv4 and ipv6 classes for John Benediktsson's upcoming ICMP work) 2010-09-04 14:19:20 -07:00
Slava Pestov d2cf2d8f92 Rename get-fpu-state entry point to fpu-state, and fix stack-checker unit tests 2010-09-04 12:58:59 -07:00
Slava Pestov 29028d8aea io.launcher.unix: clumsy fix for a race condition 2010-09-04 12:00:23 -07:00
Anton Gorenko 6ef16684e5 ui.backend.gtk: remove "Input method" menu, because it's for testing only 2010-09-04 23:15:00 +06:00
Mitchell N Charity 1f2488086d disassembler-docs: link to other vocabs for examining compiler results 2010-09-03 15:09:46 -04:00
Joe Groff 1aec1ce9b9 Merge branch 'master' of factorcode.org:/git/factor 2010-09-03 09:01:51 -07:00
Slava Pestov 7374d868e7 Change how SIGPIPE is ignored, and add a unit test to io.launcher.unix to ensure that this ignoredness is not inherited by child processes 2010-09-02 22:11:45 -07:00
Slava Pestov cdc9538540 cpu.x86.64: fix bootstrap 2010-09-02 21:17:14 -07:00
Slava Pestov 1818bcb780 Fix three problems discovered by running math.floats.env tests in a loop:
- Crash if allocating error triggers a GC from a signal/SEH handler
- Crash if GC runs with floating point traps enabled on Windows
- Floating point traps didn't prettyprint properly
2010-09-02 22:57:14 -05:00
Mitchell N Charity 913cdd6f1a time-docs: add see-also "Word annotations" 2010-09-02 12:34:57 -04:00
Anton Gorenko 2cb680539d cairo.ffi: update to 1.8.10 2010-08-31 23:53:05 +06:00
Anton Gorenko 9dfa0adbfb start to write tests for 'gobject-introspection'; small fixes 2010-08-31 23:01:39 +06:00
Slava Pestov 720d634388 math.floats.env.x86: make sure the x87 stack is cleared after the overflow test, otherwise random things screw up later 2010-08-28 12:01:09 -05:00
Slava Pestov 261e55a918 serialize, io.streams.byte-array: fix unit tests for utf8 encoding strictness 2010-08-25 17:51:44 -07:00
Slava Pestov b88b2c9b81 io.monitors.linux: fix typo 2010-08-24 23:01:37 -04:00
Slava Pestov b7182432f3 io.monitors.recursive: fix typo 2010-08-23 21:54:59 -07:00
Slava Pestov 76d2b83685 Add unless-disposed combinator to clean up some repetition, and fix bogus error reported from timer thread if an I/O operation with a set timeout fails on Windows 2010-08-23 21:12:24 -05:00
Slava Pestov ad939e01f1 furnace.chloe-tags: fix t:a, t:atom, t:form tags after recent Chloe change 2010-08-22 21:55:34 -07:00
Slava Pestov 2abda04743 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
Slava Pestov 8227fff723 html.templates.chloe.test: forgot to check in test14.xml and test15.xml 2010-08-20 19:28:38 -07:00
Slava Pestov 6ddb60b914 concurrency.semaphores: add more compelling example to docs" 2010-08-20 19:28:20 -07:00
Slava Pestov c464206605 html.templates.chloe: add notion of "string context" where tags are not allowed and <>& are not escaped; fixes <t:title> double escaping bug reported by John Benediktsson 2010-08-20 19:15:58 -07:00
Slava Pestov 25ed4dd298 compiler.tests: forgot to check in x87-regression test way back 2010-08-20 18:36:26 -07:00
Slava Pestov 97e6ac1c50 http: turns out we do need to handle port number in host header, and client needs to send it but only for non-default ports, since sending it for the default port breaks Twitter's HTTP server (reported by John Benediktsson) 2010-08-20 18:28:50 -07:00
Slava Pestov 6e0cb74b13 math.vectors.simd: docs mention obsolete 'test-mr mr.' words 2010-08-20 18:00:03 -07:00
Doug Coleman 9c308ac4c5 Make suffix arrays prune repeated members before construction 2010-08-18 11:35:08 -05:00
Slava Pestov 902c39f6aa macros: clarify docs 2010-08-17 19:25:24 -07:00
Slava Pestov d2dd184d58 Officially drop PowerPC port 2010-08-15 20:10:11 -07:00
Slava Pestov fe96ce3d61 windows.directx: update for void being parsed like a word 2010-08-15 15:15:23 -05:00
Slava Pestov 3384fcd96d compiler: update tests for void being parsed like a real word 2010-08-15 13:01:42 -07:00
Slava Pestov d450d12b2b 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
Slava Pestov 25ea734a8e alien.parser: make int[3]* parse, make int[3][4 not parse 2010-08-15 02:37:17 -07:00
Slava Pestov 74af9abf20 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
Slava Pestov e8152e9098 alien.parser: array types where the base type was a pointer didn't parse (reported by Dmitry Shubin) 2010-08-15 02:32:12 -07:00
Slava Pestov cbb9ff61fb io.sockets.windows: win32-socket instances were not being unregistered from global disposables hash; also check return value of closesocket 2010-08-15 00:05:27 -05:00
Joe Groff 9472c866da cpu.x86.64: rescue from the perils of cut and paste code (fix bug reported by x6j8x) 2010-08-14 09:14:22 -07:00
Slava Pestov 1985705413 compiler: now that FFI has been deconcatenatized, we no longer need the special ##unary-float-function and ##binary-float-function fastpaths 2010-08-13 23:59:19 -07:00
Slava Pestov b5fc39c198 compiler.cfg: Reading the return value of a float-returning function on x86-32 had a side effect of popping the x87 stack, so it was not correct for DCE to just eliminate this if the return value was not used. Fix this by adding a new dead-outputs slot to alien-call-insns and having DCE move dead returns there 2010-08-13 23:19:56 -07:00
Joe Groff 7384793287 math.floats.env.x86: more direct test for stack fault detection 2010-08-13 22:20:16 -07:00
John Benediktsson 0701a68760 help.apropos: some cleanup and performance improvement. 2010-08-13 19:32:49 -07:00
John Benediktsson a8e9b57685 tools.completion: making completions a lot faster using make. 2010-08-13 19:28:44 -07:00
John Benediktsson ae17190909 math.combinatorics: Fixing selections bug with nested sequences. 2010-08-13 14:34:14 -07:00
John Benediktsson c3045005ef Adding the "internet checksum" (RFC 1071). 2010-08-13 14:32:26 -07:00
John Benediktsson 6c4ba923ae db.sqlite.lib: fixing sqlite-row word. 2010-08-13 14:23:05 -07:00
Joe Groff 50c3f2e03e opengl.gl: typo in the FFI bindings for some obscure gl functions 2010-08-13 10:16:47 -07:00
Joe Groff 8347a9ead8 math.floats.env: detect +fp-x87-stack-fault+ during collect-fp-exceptions block 2010-08-12 23:23:00 -07:00
Slava Pestov 42b858b3f0 math.libm: fix regression: fsqrt intrinsic was not working ever since change was made to inline FUNCTION: bodies 2010-08-12 21:41:57 -07:00
Slava Pestov cc71799833 alien.prettyprint: fix unit test snafu 2010-08-11 21:52:37 -07:00
Slava Pestov 79bcda6d1e tools.time: fix documentation error (reported by Mitchell N Charity) 2010-08-11 19:20:37 -07:00
Joe Groff c2c5a87b0f opengl.gl: some opengl 4 functions were accidentally still presented as -EXT 2010-08-11 10:05:03 -07:00
Joe Groff 04075be646 alien.c-types: classify typedefs of array/string types as typedef-words so they prettyprint correctly 2010-08-11 10:03:19 -07:00
Jon Harper 4fcdb2fbd5 divisors returns empty list for 0
This is mainly for consistency with other words
(factors, group-factors, unique-factors)
2010-08-09 22:54:35 -07:00
Slava Pestov 653d433798 libc: make memory= inline just for fun 2010-08-06 00:16:25 -07:00
Slava Pestov c34f88e5e5 pango: minor cleanups 2010-08-06 00:16:18 -07:00
Slava Pestov 72dfb3339f 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
Slava Pestov b346cbd6b0 cpu.x86.32: fix 32-bit bootstrap 2010-08-02 20:51:29 -04:00
Slava Pestov 0e0efbd24a tools.scaffold: clean up 2010-08-02 20:50:59 -04:00
Slava Pestov 5a3ece19b3 Merge branch 'tools.scaffold' of http://github.com/jonenst/factor 2010-08-02 20:47:13 -04:00
Slava Pestov 451237a028 Fix start-context-and-delete sub-primitive (reported by Sascha Matzke) 2010-08-02 20:28:23 -04:00
Jon Harper cfc902ed0a Remove redundant newline 2010-08-02 17:20:31 +02:00
Jon Harper 0aa00044ba remove duplicates to conform with lint-tool 2010-08-02 17:20:19 +02:00
Philipp Brüschweiler 352e263de6 io.files.info.unix.linux: sometimes /etc/mtab isn't properly formatted (found on arch linux) 2010-08-01 14:00:03 +02:00
Slava Pestov 1a137e9b5d ftp.server: remove MAIN: word, since it expected a parameter from the stack and main words must have effect ( -- ) (reported by Alec Barryman) 2010-07-31 18:33:26 -04:00
Slava Pestov 6e3dee43d4 io.ports: calling '0 read' now returns an empty sequence without blocking (reported by Brennan Cheung) 2010-07-30 15:58:33 -04:00
Slava Pestov 723d780703 stack-checker.alien: generate a declaration for input parameter types 2010-07-30 15:50:05 -04:00
Slava Pestov fd1aad71bd combinators: make the behavior of 'case' consistent between the optimized and unoptimized forms 2010-07-30 14:21:30 -04:00
Slava Pestov f2646fc92c cpu.x86: save context before calling new_context() since it can trigger GC (bug reported by Sascha Matzke) 2010-07-30 01:07:53 -04:00
Slava Pestov a5f59e9cd6 alien.prettyprint: fix test failure 2010-07-29 21:09:05 -04:00
Slava Pestov 94f6ac98de compiler.cfg.linear-scan: fix bad interaction between inactive intervals and sync points 2010-07-29 21:06:48 -04:00
Slava Pestov 0f4c5d2bff classes.algebra: make it work better to fix bug reported by Sascha Matzke 2010-07-29 19:57:23 -04:00