Commit Graph

8986 Commits (a19428fa729620b98f7f8ecb9f02f2083b0b8e53)

Author SHA1 Message Date
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
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
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