Commit Graph

26193 Commits (075a86f5d92e8d1936395537f4e40ec4fafe0865)

Author SHA1 Message Date
Doug Coleman 075a86f5d9 io.sockets.secure: Move some code from secure.unix to secure.openssl. Add a hook for finding sockets to upgrade. 2014-07-07 18:34:41 -07:00
Doug Coleman 05ef13fff4 alien.c-types: Revert previous changes to 64 bit boxing/unboxing. Seems to work. See #1062. 2014-07-07 17:25:28 -07:00
Doug Coleman beb2d1df3a ffi: Add some tests to ensure that 64bit integers are handled properly. 2014-07-07 17:02:36 -07:00
Doug Coleman 608c23ad8f alien.c-types: longlong was calling to_fixnum instead of to_signed_8. 2014-07-07 16:26:05 -07:00
Doug Coleman 254e7a5e62 core-foundation.fsevents: FSEventStreamEventId should be a ulonglong instead of longlong. 2014-07-07 15:18:57 -07:00
Doug Coleman 0fbe0e5167 unix: Ignore failures if errno is EINTR on close(2). Fixes #908. 2014-07-07 14:55:13 -07:00
Doug Coleman 31b8a0e051 libc.windows: We have to use utf8 since this is a libc call and the native
encoding on windows is utf16n.
2014-07-07 00:50:47 -05:00
John Benediktsson e5db4c2ccc tools.deploy: bump sizes to get clean 32-bit builds (for now). 2014-07-06 11:11:22 -07:00
John Benediktsson cf3fdfc23e libc: fix usings. 2014-07-06 10:46:02 -07:00
John Benediktsson fd19fadcc6 libc: fix for linux using GNU strerror_r (for now). 2014-07-06 10:41:51 -07:00
John Benediktsson ccfd9101f0 python: change to py-initialize in startup-hook and py-finalize in shutdown hook. 2014-07-06 10:18:27 -07:00
Doug Coleman 6244b925c7 vm: Simplify strerror code. 2014-07-05 18:58:24 -07:00
Doug Coleman 451a621dad libc: Add default strerror that is not threadsafe. Move threadsafe unix load to the end of the file so that malloc is defined. 2014-07-04 03:31:11 -07:00
Doug Coleman dbba9f931b libc: Fix strerror for unix. 2014-07-04 03:25:57 -07:00
Doug Coleman df452dfb91 libc: Fix load error on windows. 2014-07-04 05:19:29 -05:00
Doug Coleman ecbf48d1ef vm: Fix namespace brace. 2014-07-04 03:14:17 -07:00
Doug Coleman d7595bbb7c libc: First stab at using strerror_r and (strerror_s on Windows) instead of thread-unsafe strerror. 2014-07-04 03:11:45 -07:00
Doug Coleman 69262be4d8 vm: Add threadsafe_sterror to the vm. 2014-07-04 03:00:08 -07:00
Doug Coleman 91b16d7ed1 python: Call py-initialize in example, just in case it hasn't been called. Otherwise, python segfaults.. 2014-07-04 01:56:03 -07:00
Doug Coleman 79b0948377 io.backend.unix.multiplexers.run-loop: Really fix bug #775! 2014-07-04 01:50:45 -07:00
Doug Coleman 525fe70306 core-foundation.run-loop: Fix botched rename. Ugh. Fixes #775 on mac at least. 2014-07-04 00:53:46 -07:00
Doug Coleman 138ec84642 io.files.temp.macosx: Create the cache and temp directories every time. Fixes #1089. 2014-07-03 23:41:20 -07:00
Doug Coleman bc54927859 vm/image.cpp: Better error for opening a file for writing. 2014-07-03 22:32:45 -07:00
Doug Coleman c0b7fb6a23 python.ffi: Disable python3 2014-07-04 01:25:22 +00:00
Doug Coleman 5c8bb0f69e python.ffi: On Arch Linux, the library is called libpython3.so 2014-07-04 01:17:22 +00:00
Björn Lindqvist 508b85851d tools.deploy.backend: ui depends on (full) io so it needs to be loaded first
find-library on linux needs to call /sbin/ldconfig which requires a
full io-backend. Using gtk requires loading alien libraries which
requires find-library. So the ui should always load the whole io.
2014-07-03 21:57:07 +00:00
Doug Coleman 5d44509720 alien.libraries.finder.linux: Trim blanks off the arch names. 2014-07-03 21:30:15 +00:00
Doug Coleman 01ed046b4a typed: .97 basically breaks typed. Check that the new behavior is enforced. 2014-07-03 12:29:40 -07:00
Doug Coleman 712aa303db compiler, stack-checker docs: Fix for 32-bit builds. 2014-07-03 12:21:17 -07:00
Doug Coleman a6ce3e9113 compiler.tree.modular-arithmetic: Don't require that fixnum+ works on tuple slots marked fixnum. This is probably a speed regression. XXX revisit 2014-07-03 12:12:46 -07:00
Doug Coleman 3ca95f58f9 tools.coverage.testvocab: Fix help lint errors. 2014-07-03 11:48:08 -07:00
Doug Coleman e558bd7d86 vm: Fix compilation on Windows. Fixes #1086. 2014-07-03 13:20:08 -05:00
John Benediktsson 055cacabd4 alien.enums: cleanup using. 2014-06-30 09:09:46 -07:00
John Benediktsson 85fdc4f6d2 math.transforms.bwt: cleaner to check last. 2014-06-30 09:04:08 -07:00
John Benediktsson 14c5f30ee5 curl: bindings to libcurl. 2014-06-28 15:44:17 -07:00
John Benediktsson b8ac661ce8 core-foundation.file-descriptors: some cleanup. 2014-06-26 13:49:57 -07:00
John Benediktsson 0c7a5b7c84 io.backend.unix.multiplexors.select: some cleanup. 2014-06-26 13:49:48 -07:00
John Benediktsson 3a9f4edcff colors.lch: implement CIELCH colors. 2014-06-24 06:58:02 -07:00
John Benediktsson 08dcbdc949 io.binary.fast: le> and be> should be unsigned. 2014-06-23 21:12:26 -07:00
John Benediktsson 607d0becb2 colors: more doc fixes. 2014-06-22 07:12:10 -07:00
John Benediktsson 7431910b16 colors: adding some wikipedia links. 2014-06-22 07:10:23 -07:00
John Benediktsson 98c731b852 colors.lab: implement CIELAB colors. 2014-06-22 07:06:27 -07:00
John Benediktsson 0f74b77b27 colors.xyz: some refactoring. 2014-06-22 07:04:09 -07:00
John Benediktsson 858c5db19d colors: fix summary.txt. 2014-06-21 09:22:01 -07:00
John Benediktsson 93fb63a8c3 colors.luv: fix for rgba. 2014-06-21 09:21:42 -07:00
John Benediktsson f48c2b2d84 colors.luv: implement CIELUV colors. 2014-06-21 09:19:08 -07:00
John Benediktsson 725129e80b colors: change article titles. 2014-06-20 20:23:47 -07:00
John Benediktsson a4d624b7b0 colors.xyy: implement CIE xyY colors. 2014-06-20 20:22:11 -07:00
John Benediktsson 0fb4bbb6f3 colors.xyz: implement CIE XYZ colors. 2014-06-20 20:21:59 -07:00
Steven Stewart-Gallus e6dade3f94 Lower the stack usage of a few functions
In vm/compaction.cpp I rescoped some variables to lower the stack usage
from 592 to 560 bytes. I wasn't very successful with this. The stack
usage is larger than it looks because methods on the structures used
take an implicit this pointer and a reference to the data (so the data
has to live out it's full scope and can't be put in a register).

In vm/debug.cpp I made a large (1024 bytes) stack allocated buffer
simply dynamically allocated.

In vm/os-unix.cpp I rescoped signal handling structures to not coincide
with each other and reduced a very large (1024 bytes) amount of stack
usage to less than 500 bytes.
2014-06-19 14:55:57 -07:00