about summary refs log tree commit diff
path: root/src/libuv
AgeCommit message (Collapse)AuthorLines
2014-10-01Remove libuv, gypAaron Turon-0/+0
This commit removes the libuv and gyp submodules, as well as all build infrastructure related to them. For more context, see the [runtime removal RFC](https://github.com/rust-lang/rfcs/pull/230) [breaking-change]
2014-08-05native, rustuv: Fix spawning with empty argsAlex Crichton-0/+0
There was a bug in both libnative and libuv which prevented child processes from being spawned correctly on windows when one of the arguments was an empty string. The libuv bug has since been fixed upstream, and the libnative bug was fixed as part of this commit. When updating libuv, this also includes a fix for #15149. Closes #15149 Closes #16272
2014-04-24Update libuvAlex Crichton-0/+0
This update brings a few months of changes, but primarily a fix for the following situation. When creating a handle to stdin, libuv used to set the stdin handle to nonblocking mode. This would end up affect this stdin handle across all processes that shared it, which mean that stdin become nonblocking for everyone using the same stdin. On linux, this also affected *stdout* because stdin/stdout roughly point at the same thing. This problem became apparent when running the test suite manually on a local computer. The stdtest suite (running with libgreen) would set stdout to nonblocking mode (as described above), and then the next test suite would always fail for a printing failure (because stdout was returning EAGAIN). This has been fixed upstream, joyent/libuv@342e8c, and this update pulls in this fix. This also brings us in line with a recently upstreamed libuv patch. Closes #13336 Closes #13355
2014-02-16Upgrade libuvAlex Crichton-0/+0
This notably includes joyent/libuv@6f62d62c in order to fix when processes fail to spawn on windows
2013-12-21Attempt to fix the segfaulting osx botsAlex Crichton-0/+0
Upon inspecting the core dumps, they're all segfaulting at the same instruction with the same value in a register that looks fishy. It appears to be indexing into an array with a -1 index and then getting some weird overflow and dying. I have attempted to fix this as part of alexcrichton/libuv@fd5308383c575472edb2163d823dc6670bf59609, but I am unsure of whether this is the actual cause of the problem, so I am not going to upstream it just yet. I have a fairly high confidence that this is indeed the problem, but I want to make sure that the bots to segfault all over the place before upstreaming.
2013-12-18Upgrade libuv to fix a leak on OSXAlex Crichton-0/+0
I haven't landed this fix upstream just yet, but it's opened as joyent/libuv#1048. For now, I've locally merged it into my fork, and I've upgraded our repo to point to the new revision. Closes #11027
2013-12-11Upgrade libuv with an OSX build system fixAlex Crichton-0/+0
This allows building of libuv for android with a host OS of OSX.
2013-11-10Fix usage of libuv for windowsAlex Crichton-0/+0
2013-11-10Update to the latest libuvAlex Crichton-0/+0
At this time, also point the libuv submodule to the official repo instead of my own off to the side. cc #10246 Closes #10329
2013-09-06Upgrade libuv to the current master (again)Alex Crichton-0/+0
This is a reopening of the libuv-upgrade part of #8645. Hopefully this won't cause random segfaults all over the place. The windows regression in testing should also be fixed (it shouldn't build the whole compiler twice). A notable difference from before is that gyp is now a git submodule instead of always git-cloned at make time. This allows bundling for releases more easily. Closes #8850
2013-08-29Revert "auto merge of #8645 : alexcrichton/rust/issue-6436-run-non-blocking, ↵Brian Anderson-0/+0
r=brson" This reverts commit b8d1fa399402c71331aefd634d710004e00b73a6, reversing changes made to f22b4b169854c8a4ba86c16ee43327d6bcf94562. Conflicts: mk/rt.mk src/libuv
2013-08-28Update libuv to rebase on top of joyent/masterAlex Crichton-0/+0
Closes #8829
2013-08-27Fix various issues associated with building on windowsAlex Crichton-0/+0
2013-08-27Upgrade libuv to the current master + our patchesAlex Crichton-0/+0
There were two main differences with the old libuv and the master version: 1. The uv_last_error function is now gone. The error code returned by each function is the "last error" so now a UvError is just a wrapper around a c_int. 2. The repo no longer includes a makefile, and the build system has change. According to the build directions on joyent/libuv, this now downloads a `gyp` program into the `libuv/build` directory and builds using that. This shouldn't add any dependences on autotools or anything like that. Closes #8407 Closes #6567 Closes #6315
2013-05-22libsyntax: Fix more merge fallout.Patrick Walton-0/+0
2013-05-22libstd: Rename libcore to libstd and libstd to libextra; update makefiles.Patrick Walton-0/+0
This only changes the directory names; it does not change the "real" metadata names.
2013-05-17Upgrade libuv to fix mac deadlock. #6526Brian Anderson-0/+0
2013-05-14rustpkg: Implement URL-like package IDsTim Chevalier-0/+0
This patch implements package IDs like github.com/catamorphism/test-pkg. To support such package IDs, I changed the PkgId struct to contain a LocalPath and a RemotePath field, where the RemotePath reflects the actual URL and the LocalPath reflects the file name of the cached copy. Right now, the only difference is that the local path doesn't contain dashes, but this will change when we implement #6407. Also, PkgIds now have a short_name field -- though the short name can be derived from the LocalPath, I thought it was cleaner not to call option::get() wantonly.
2013-05-13Upgrade libuvBrian Anderson-0/+0
2013-03-12regression patch libuv submoduleYoung-il Choi-0/+0
2013-03-11core: Add rt mod and add the new scheduler codeBrian Anderson-0/+0
2013-03-08Update uv submoduleILyoan-0/+0
2013-03-06Update uv submoduleBrian Anderson-0/+0
2013-02-25submodule: libuv for androidYoung-il Choi-0/+0
2013-02-10build: change libuv to point at joyent's repo and make unpatched build libuv ↵Jeff Olson-0/+0
work on mingw
2013-02-10build: point libuv at olsonjeffery/libuv, temporarilyJeff Olson-0/+0
2013-01-23Revert back to the correct libuv revisionBrian Anderson-0/+0
2013-01-22Revert "Clean up previous commit to not require an Option"Tim Chevalier-0/+0
I made a mistake and included some submodule weirdness. About to re-push the patch without that. This reverts commit 17ea548275364fac7cb5adbdc442010d1ba0d38d.
2013-01-22Clean up previous commit to not require an OptionTim Chevalier-0/+0
2013-01-17librustc: Implement write guards for borrowing `@mut` to `&` or `&mut`. ↵Patrick Walton-0/+0
r=nmatsakis
2013-01-13Update libuv for AndroidBrian Anderson-0/+0
2012-03-29rustc: Don't generate landing pad cleanups for boxy thingsBrian Anderson-0/+0
2012-03-26Disable some advanced (post glibc-2.3) libuv features when building snaps.Graydon Hoare-0/+0
2012-02-02Update libuv.Graydon Hoare-0/+0
2011-11-08Re-add libuv as a submodule.Erick Tryzelaar-0/+0