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
Slava Pestov
a2927eb255
ui.backend.windows: fix compile error in ui-wndproc
2010-07-29 17:22:34 -04:00
Slava Pestov
6142bd7335
alien.syntax: FUNCTION: and FUNCTION-ALIAS: now define inline words
2010-07-28 03:05:14 -04:00
Slava Pestov
168dd1f825
FFI rewrite part 7: compile callback bodies with the optimizing compiler
2010-07-28 00:49:26 -04:00
Slava Pestov
5fc9aa05b0
Revert "compiler.cfg: change linear ordering to place GC call blocks at the end"
...
This reverts commit 544a288192
.
2010-07-27 23:58:41 -04:00
Slava Pestov
8adde5360a
compiler.cfg: change linear ordering to place GC call blocks at the end
2010-07-27 13:00:28 -04:00
Slava Pestov
355d89e8e8
compiler.cfg: now that kill-blocks cannot contain instructions that define vregs we can skip them all
2010-07-27 12:40:31 -04:00
Slava Pestov
7f4b7d66a3
help.html: escape % in word names (reported by Anton Gorenko)
2010-07-26 17:43:50 -04:00
Slava Pestov
68da8c48d5
Merge branch 'master' of http://github.com/mrjbq7/factor
2010-07-26 15:10:50 -04:00
Philipp Brüschweiler
fde0321f44
ui.backend.gtk: don't initialize io event source when deploying with io level 1 and 2
2010-07-26 19:27:27 +02:00
Philipp Brüschweiler
f3f8b3b35b
Merge remote branch 'ex-rzr/master' into gtk
2010-07-26 18:54:46 +02:00
Slava Pestov
c34639293a
peg.ebnf: minor fix
2010-07-26 12:40:32 -04:00
John Benediktsson
f1eb6a9d6e
math.combinatorics: improve all-subsets and selections words.
2010-07-26 08:12:36 -07:00
John Benediktsson
0b7ed3bdb9
db: fix typo in docs.
2010-07-26 08:11:51 -07:00
Anton Gorenko
d82a78f89b
gobject-introspection: add REPLACE-C-TYPE: parsing word
2010-07-25 22:18:32 +06:00
Anton Gorenko
3989f0b406
Merge branch 'master' of git://factorcode.org/git/factor
2010-07-25 17:58:56 +06:00
Anton Gorenko
66da664a99
move gstreamer from basis to extra
2010-07-24 12:51:57 +06:00
Slava Pestov
3dbb8e6153
math.matrices: move normal word from gpu.demos.bunny and reverse sign
2010-07-23 20:41:08 -07:00
Slava Pestov
cdb52119a0
regexp: fix test
2010-07-23 20:40:44 -07:00
Slava Pestov
44dc1aadc0
regexp: fix match iteration with empty matches, and fix reverse regexes since they were totally broken (bugs reported by Joe Groff and various others)
2010-07-23 19:44:39 -07:00
Slava Pestov
c04de94b96
compiler.tree.finalization: record dependencies on inlined predicates
2010-07-23 16:31:15 -07:00
Anton Gorenko
a8fb2494ee
gstreamer: add gstreamer.* vocabs
2010-07-23 23:17:07 +06:00
Philipp Brüschweiler
832b55fe89
ui.backend.gtk: only set up event sources when we are deploying with io level 3
2010-07-22 23:45:08 +02:00
Slava Pestov
f7bd876cae
io.files.unix: fix tests for recent calendar.unix vocab changes
2010-07-21 00:23:35 -04:00
Slava Pestov
b6fe62299e
compiler.cfg.alias-analysis: factor-call-insns which defined values were not handled properly
2010-07-19 19:56:00 -04:00
Slava Pestov
0fbe78be00
cpu.x86.64: fix calling varargs functions
2010-07-19 16:03:39 -04:00
Slava Pestov
b23aac1beb
compiler.cfg: open-code parameter boxing and unboxing for certain C types
2010-07-19 10:25:13 -04:00
Slava Pestov
8e46305288
compiler.cfg.save-contexts: don't insert ##save-context in front of ##phi
2010-07-19 09:27:10 -04:00
Slava Pestov
adc9db3ea8
compiler.cfg.linear-scan.allocation: fix wrong order
2010-07-19 06:46:50 -04:00
Slava Pestov
b776a92546
compiler.cfg.linear-scan: fix bad interaction between split position calculation and register-clobbering instructions
2010-07-18 17:38:52 -04:00
Slava Pestov
80d0ed0110
ui.gadgets.labels: fix stack effects for label-on-left and label-on-right
2010-07-18 17:38:51 -04:00
Joe Groff
fd053eb028
calendar: unit test for gmt
2010-07-18 13:45:00 -07:00
Joe Groff
57081d5b5e
calendar: since-1970 shouldn't >local-time; this causes words that want to return GMT to return local time too
2010-07-18 13:43:01 -07:00
Slava Pestov
6914e69d69
calendar.unix: rename timespec>seconds to timespec>duration to be consistent with timeval>duration
2010-07-18 16:31:24 -04:00
Anton Gorenko
e70e2ca073
rename gst -> gstreamer
2010-07-18 11:44:49 +06:00
Slava Pestov
35e5c572ce
ui: cleanup
2010-07-17 16:09:25 -04:00
Slava Pestov
88ca7abd54
ui.gadgets.worlds: dispose of the handle after ungrabbing input
2010-07-17 16:08:36 -04:00
Slava Pestov
e2ceb11337
stack-checker: calling 'boa' on a non-tuple would compile as a no-op rather than an error (reported by Joe Groff); clean up some other error reporting code too
2010-07-17 15:57:44 -04:00
Anton Gorenko
659c435686
rename gir to gobject-introspection
2010-07-17 17:17:03 +06:00
Anton Gorenko
c9613cc7ce
add summary.txt and tags.txt for various vocabularies
2010-07-17 15:31:53 +06:00
Anton Gorenko
32952a6071
ui.backend.gtk: update to new with-out-parameters combinator
2010-07-17 14:25:59 +06:00
Anton Gorenko
9c4e1ceb97
Merge branch 'gtk' of git://github.com/Blei/factor
2010-07-17 14:17:47 +06:00
Anton Gorenko
65362a67e8
Merge branch 'master' of git://factorcode.org/git/factor
...
Conflicts:
basis/pango/cairo/cairo.factor
2010-07-17 14:11:06 +06:00
Slava Pestov
e3edb2653d
compiler.cfg.intrinsics.allot: clean up
2010-07-16 20:04:03 -04:00
Slava Pestov
e5dd21b0b9
compiler.cfg: nuke ##allot-byte-array instruction
2010-07-16 19:57:45 -04:00
Slava Pestov
446ee6896d
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
Slava Pestov
5803419b9d
libc: add memset just because
2010-07-16 17:13:44 -04:00
Slava Pestov
5b31cbcb3c
alien.data: document with-scoped-allocation and with-out-parameters, and add initial: syntax
2010-07-16 17:13:38 -04:00
Philipp Brüschweiler
183a8ad6d4
gir.loader: add GError** error parameter to functions if they declare throws="1"
2010-07-16 15:13:45 +02:00
Slava Pestov
60ddbd9d9b
compiler.cfg.scheduling: ##dispatch must go at the end since its a control flow transfer
2010-07-15 20:55:31 -04:00
Slava Pestov
0fd636b4b9
compiler.cfg: ##unbox-long-long can have multiple outputs now, clean up long long parameter passing code using this
2010-07-15 19:49:29 -04:00
Slava Pestov
48e96ef032
compiler.cfg.scheduling: update to support multiple-output instructions
2010-07-15 17:38:34 -04:00
Slava Pestov
5e13318988
cpu.x86.32: fix %binary-float-function
2010-07-15 03:09:06 -04:00
Slava Pestov
e7191998f8
cpu.x86.64: fix typos
2010-07-14 17:59:51 -04:00
Slava Pestov
867530223c
cpu.x86: fix %load/store-stack-param for 32-bit
2010-07-14 17:50:40 -04:00
Joe Groff
37bddfba54
math.combinatorics: all-subsets and selections words (contributed by John Benediktsson)
2010-07-14 09:10:51 -07:00
Slava Pestov
e27adb2830
compiler: re-architect low-level optimizer to allow more than one output value per instruction
2010-07-13 07:40:14 -04:00
Joe Groff
1625768a9e
tools.test: change unit-test docs so it's clear "output" is a sequence and not an executable quotation (reported by mncharity)
2010-07-12 09:36:36 -07:00
Joe Groff
b04bc8640f
io.streams.throwing: add test file
2010-07-09 23:36:40 -07:00
Joe Groff
b1c557a825
io.streams.throwing: rename throws-on-eof -> stream-throw-on-eof and input-throws-on-eof -> throw-on-eof and change stream-throw-on-eof to leave the rigged stream on the stack, to better follow convention of other io words
2010-07-09 18:10:51 -07:00
Joe Groff
fb4cbd87d4
io.streams.limited: scrape out last vestiges of unlimiting
2010-07-09 14:56:54 -07:00
Joe Groff
f7960c7f6a
http.server: reintroduce some code cleanups now that it's back in a working state
2010-07-09 14:52:42 -07:00
Joe Groff
67a241eba3
http.server: revert d00ea changes so that server works again
2010-07-09 14:47:34 -07:00
Joe Groff
7f0ba86421
images.jpeg: fix loading error
2010-07-09 14:30:26 -07:00
Joe Groff
8b7cb0bc21
images.p[bgp]m: use throws-on-eof
2010-07-09 14:26:17 -07:00
Joe Groff
90b962bbd3
io.streams.throwing: implement read-until
2010-07-09 14:26:01 -07:00
Joe Groff
9a2dd6a96c
images.loader and friends: push throws-on-eof down to the loaders that want it
2010-07-09 14:20:32 -07:00
Joe Groff
99db070c9e
io.streams.throwing: implement tell and seek
2010-07-09 14:08:54 -07:00
Joe Groff
0bdc1514fd
io.streams.limited: remove unlimit*
2010-07-09 13:52:15 -07:00
Doug Coleman
2ca509a8fe
Split off io.streams.throwing from io.streams.limited and update usages of limited streams
2010-07-09 13:32:09 -05:00
Doug Coleman
59ea478b0a
Fix typo in timers
2010-07-09 13:32:07 -05:00
Joe Groff
732befe272
cpu.x86.assembler: add MOVQ xmm, xmm/m64 and MOVQ xmm/m64, xmm instructions
2010-07-08 10:19:11 -07:00
Slava Pestov
01d67104f6
io.ports: fix stream-seek with seek-relative seek type (reported by Joe Groff)
2010-07-07 17:32:30 -04:00
Slava Pestov
1f4bd3e293
compiler.tree.propagation.known-words: don't want a type function on clone, all the methods are inline and it was wrong (reported by Joe Groff)
2010-07-07 17:25:32 -04:00
Slava Pestov
a7384d5de6
io.ports: fix stream-tell implementation
2010-07-07 02:27:34 -04:00
Slava Pestov
425c572fa8
cocoa.subclassing: cleaner CLASS: syntax; ui.backend.cocoa: ignore events delivered after window closed to fix FEP (reported by Doug Coleman)
2010-07-06 19:02:52 -04:00
Slava Pestov
bb4dae64f3
cocoa.subclassing: new METHOD: syntax cleans up class definitions
2010-07-06 17:59:35 -04:00
Slava Pestov
bc87b269c5
Remove Cocoa exception handling support since it no longer works
2010-07-06 17:48:37 -04:00
Slava Pestov
1106c03318
Remove cocoa.callbacks since nothing uses it
2010-07-06 17:45:50 -04:00
Slava Pestov
8a0525e5ce
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
Slava Pestov
cbe46baae2
urls.encoding: tweak assoc>query to fix problem with OAuth
2010-07-06 00:57:41 -04:00
Joe Groff
8323d7c3ac
math.polynomials: unclip drop => rest
2010-07-05 20:53:24 -07:00
Slava Pestov
d0822992c7
tools.deploy: fix deployment of apps that use vocab: paths -- regression from recent patch that adds add-vocab-root word
2010-07-05 23:41:27 -04:00
Slava Pestov
a7dec01453
http: host header should not include the port number
2010-07-05 22:55:20 -04:00
Joe Groff
c6fd20b107
math.polynomials: update pdiff for no-integers-as-sequences (reported by rswarbrick)
2010-07-04 09:23:43 -07:00
Slava Pestov
a55c8ee671
FFI rewrite part 6: deconcatenatize
2010-07-02 15:44:12 -04:00
Joe Groff
3f13fc7099
unix.ffi: third argument of ioctl should be void*, not c-string (reported by ceninan)
2010-06-30 09:09:16 -07:00
Slava Pestov
01c0db90a4
http.server: more doc fixes
2010-06-28 17:42:48 -04:00
Slava Pestov
0bea14dcd5
http.server: tweak docs
2010-06-28 17:31:45 -04:00
Slava Pestov
350a6522c7
ui.tools.traceback: make it a tool window so that its size is saved, and workspace shortcuts work
2010-06-28 17:10:15 -04:00
Joe Groff
8c9c0f05d2
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
Slava Pestov
ae2c2909af
Revert guarded method inlining
...
This reverts commit 44a835e3fc
, reversing
changes made to d45926bda0
.
2010-06-24 12:35:21 -04:00
Slava Pestov
e07ce4d220
stack-checker.dependencies: Oops
2010-06-24 05:27:01 -04:00
Slava Pestov
97eb276c48
stack-checker.dependencies: fix error thrown if depends-on-single-method parameters are no longer valid
2010-06-24 04:28:40 -04:00
Joe Groff
5956e3b3d4
models: add push-model and pop-model words
2010-06-23 20:07:19 -07:00
Slava Pestov
50323dda6d
combinators.smart: remove boa-preserving
2010-06-23 21:10:46 -04:00
Doug Coleman
3560b93329
make unlinked-words take a vocabulary name instead of a list of words
2010-06-23 14:58:07 -05:00
Doug Coleman
1806a0ce77
Add a new smart combinator boa-preserving and document the rest of the smart combinators. Simpler implementation of nullary.
2010-06-23 14:58:07 -05:00
Daniel Ehrenberg
7599841221
Merge branch 'master' of git://factorcode.org/git/factor into propagation
2010-06-23 12:17:24 -04:00
Doug Coleman
580c9190d5
Fix using list
2010-06-23 10:27:17 -05:00
Doug Coleman
317e793ef4
Fix all-users word by calling setpwent to rewind file
2010-06-23 10:25:08 -05:00
Slava Pestov
7e24994db5
Whitespace fix
2010-06-23 03:56:17 -04:00
Slava Pestov
68cd067f31
compiler.cfg.builder: if there is a conditional where every branch is known to throw an error, don't process any of the (unreachable) code after the conditional, since this can confuse analysis (reported by Daniel Ehrenberg)
2010-06-23 03:33:15 -04:00
Slava Pestov
1014b62ee7
stack-checker.row-polymorphism: minor cleanup
2010-06-22 22:35:55 -04:00
Daniel Ehrenberg
83327635f3
Fixing one of the bad bugs, in row-polymorphism
2010-06-22 17:31:21 -04:00
Daniel Ehrenberg
12b0e16232
Unit tests for a couple of serious compiler bugs
2010-06-22 16:41:14 -04:00
Slava Pestov
5ae75af6a8
Clarify documentation for resize-array, resize-byte-array, resize-string words, and remove flushable declaration since technically they don't satisfy the flushable contract (reported by Daniel Ehrenberg)
2010-06-22 15:48:48 -04:00
Slava Pestov
db3c4fe43c
Fix unix.time to actually load
2010-06-22 15:13:07 -04:00
Daniel Ehrenberg
2c8897c56b
Merge branch 'master' of git://factorcode.org/git/factor into propagation
2010-06-22 14:47:57 -04:00
Slava Pestov
7d64fe50a1
classes.struct: remove conflict marker from unit tests
2010-06-22 14:35:49 -04:00
Slava Pestov
167aff1b57
compiler.cfg.height: clean it up a bit
2010-06-22 04:14:03 -04:00
Slava Pestov
75d2635c05
Merge branch 'master' of git://github.com/erg/factor
2010-06-22 04:13:39 -04:00
Doug Coleman
796aca7a4e
Remove more system-micros stuff
2010-06-22 02:04:31 -05:00
Doug Coleman
4b9760dd67
More system-micros elimination
2010-06-22 02:00:19 -05:00
Doug Coleman
0edadff45f
remove system-micros word from factor src tree
2010-06-22 01:49:11 -05:00
Slava Pestov
0fa1a46d35
Merge branch 'master' of git://github.com/erg/factor into erg
2010-06-22 01:05:13 -04:00
Slava Pestov
1972351d7f
Move hashtables.identity to basis and update serialize vocab to use them
2010-06-21 22:26:01 -04:00
Doug Coleman
3b11e2d6aa
Normalize vocabulary roots by removing the last path separator so that scaffold tool works with trailing separators
2010-06-21 13:06:09 -05:00
Doug Coleman
82ac7e4e32
Better docs for users/groups
2010-06-21 12:10:45 -05:00
Doug Coleman
58de929a42
Fix a bug when calling all-groups twice. Add some users/groups utility words, unit tests, and docs.
2010-06-21 12:07:56 -05:00
Slava Pestov
a74de80bb0
ui.backend.cocoa.views: unregister window from notification instead of in -dealloc, fixing flakiness of show-listener/show-browser words
2010-06-19 18:12:56 -04:00
Slava Pestov
1a94ce5927
ui.tools.error-list: fix breakage if image is saved and restored with an open error list
2010-06-18 22:03:37 -04:00
Joe Groff
bcf6d83a8f
stack-checker.errors.prettyprint: refer to unbalanced-branches quotation in singular when there's only one
2010-06-18 15:36:03 -07:00
Anton Gorenko
f39f1b22a0
gir.ffi, ui.backend.gtk, gir.samples: change enum and bitfield generation from ENUM: to TYPEDEF: + CONSTANT:s
2010-06-18 23:33:06 +06:00
Anton Gorenko
dc98054775
Merge branch 'master' of git://factorcode.org/git/factor
2010-06-18 20:53:55 +06:00
Joe Groff
28a56df0da
math.quaternions: typo in n*q
2010-06-17 19:23:52 -07:00
Doug Coleman
c53a11bef9
Merge branch 'master' of github.com:erg/factor
2010-06-17 13:27:44 -05:00
Doug Coleman
82f38ce9a1
Allow with-*-group/user to be a no-op if first parameter is f
2010-06-17 13:20:51 -05:00
Doug Coleman
27af7ffe50
Throw an error on certain combinators if a user/group does not exist
2010-06-17 12:59:19 -05:00
Doug Coleman
30b81d3a87
Merge branch 'master' of github.com:erg/factor
2010-06-17 11:12:25 -05:00
Doug Coleman
e18bde069e
Clearer <pipes> word
2010-06-17 11:02:47 -05:00
Slava Pestov
e34a736b63
tools.disassembler.udis: fix tests on 32-bit Windows
2010-06-17 02:04:59 -04:00
Anton Gorenko
507583c8d3
Merge branch 'master' of git://factorcode.org/git/factor
2010-06-17 11:33:21 +06:00
Doug Coleman
eb3775c70f
Implement gmt hook on unix
2010-06-17 00:04:53 -05:00
Doug Coleman
e8d528ad93
Remove system_micros from vm, implement gmt hook on windows
2010-06-16 23:39:16 -05:00
Doug Coleman
11d20228f1
Implement set-time on Windows
2010-06-16 17:42:15 -05:00
Doug Coleman
d487a4b045
Merge branch 'master' of http://factorcode.org/git/factor
2010-06-16 16:48:04 -05:00
Doug Coleman
6a501d4aa3
Add a promise to world objects that gets fulfilled when the world is ungrafted
2010-06-16 16:23:30 -05:00
Doug Coleman
d41feef57c
Add utility word
2010-06-16 16:23:29 -05:00
Joe Groff
8a770e0534
math.vectors.simd.cords: add regression test for >A
2010-06-16 16:23:29 -05:00
Joe Groff
6dc9e9f108
math.vectors.simd.cords: use head-slice/tail-slice to slice up input sequences for >A op so that e.g. float-4{ ... } >double-4 works
2010-06-16 16:23:29 -05:00
Doug Coleman
ec2b8da7c7
conflicts
2010-06-16 16:23:29 -05:00
Joe Groff
6e9235b54b
classes.struct: fix some bugs in binary-zero?, add unit tests
2010-06-16 16:23:29 -05:00
Slava Pestov
71042ccd87
compiler.cfg.ssa: fixing test failures
2010-06-16 16:23:29 -05:00
Slava Pestov
b4fcaab607
Add GC maps to ##box, ##box-long-long, ##alien-invoke, ##alien-indirect and ##call-gc; remove ##gc-map instruction
2010-06-16 16:23:28 -05:00
Joe Groff
cdea2fa081
prettyprint.backend: add 1 to nesting-limit while pprinting hashtables 'cause H{ ~array~ ~array~ } is kind of useless
2010-06-16 16:23:28 -05:00
Joe Groff
879e9b268d
typed: include value that raised the error in type-mismatch-errors
2010-06-16 16:23:27 -05:00
Joe Groff
62d39d7542
sequences.cords: fall back to generic sequence methods when both arguments to binary cord ops aren't cords
2010-06-16 16:23:27 -05:00
Slava Pestov
0ce4298757
Merge branch 'client-bind' of git://github.com/x6j8x/factor
2010-06-16 17:00:35 -04:00
Sascha Matzke
c746b68c28
added doc for with-local-address
2010-06-16 22:54:53 +02:00
Slava Pestov
05dff4425c
tools.disassembler.udis: update struct layout for latest udis from git
2010-06-16 16:48:58 -04:00
Anton Gorenko
0073f184fa
ui.backend.gtk: working on input methods...
2010-06-16 19:25:32 +06:00
Anton Gorenko
e85bdba0c2
gtk.ffi: add gtk_widget_destroy destructor; gobject.ffi: add g_signal_connect... macros-like words
2010-06-16 12:48:46 +06:00
Joe Groff
15c63aacb9
math.vectors.simd.cords: add regression test for >A
2010-06-15 22:44:15 -07:00
Joe Groff
e10d4f39ee
math.vectors.simd.cords: use head-slice/tail-slice to slice up input sequences for >A op so that e.g. float-4{ ... } >double-4 works
2010-06-15 21:55:26 -07:00
Slava Pestov
5d6816d364
compiler.cfg.ssa: fixing test failures
2010-06-15 17:18:51 -04:00
Daniel Ehrenberg
970f96c8b8
Fixing typo in modular arithmetic unit test (should use iota, not integer sequences, and just happened to work still)
2010-06-15 16:15:49 -04:00
Daniel Ehrenberg
b362fe25b1
Fixing infinite loop in loading benchmark.fib4
2010-06-15 13:53:40 -04:00
Daniel Ehrenberg
30cfbc8512
Merge branch 'master' into propagation
2010-06-15 13:26:01 -04:00
Slava Pestov
e86f434f26
Add GC maps to ##box, ##box-long-long, ##alien-invoke, ##alien-indirect and ##call-gc; remove ##gc-map instruction
2010-06-14 19:39:46 -04:00
Joe Groff
f9bd9efd7c
prettyprint.backend: add 1 to nesting-limit while pprinting hashtables 'cause H{ ~array~ ~array~ } is kind of useless
2010-06-14 16:13:30 -07:00