4b3880c88b
add details when calling unimplemented!
2019-10-03 11:26:54 +02:00
882a77ccf9
Remove null pointer checks generally, re-add them in Emscripten
2019-09-20 12:02:12 -07:00
3f0dae3329
Fix compilation on AArch64 Linux.
2019-08-20 16:37:32 -07:00
0ab8a0de09
Remove all uses of mem::uninitialized for Rust 1.38
2019-07-31 13:21:20 +09:00
b67b051a4a
Updated emscripten with comment
2019-07-08 09:39:19 -07:00
680b833e94
Move emscripten ___syscall221 to the unix implementation
2019-07-07 23:36:50 -07:00
72a80a6122
FIxed emscripten windows issues
2019-07-07 22:50:50 -07:00
798ad03182
Improved formatting in unix syscalls
2019-07-07 19:35:46 -07:00
f4e60c09c1
Squashed commit of the following:
...
commit 62d9da4e3e02251a0f61c904e826bc06cf964ff7
Author: Syrus <me@syrusakbary.com >
Date: Sun Jul 7 18:16:34 2019 -0700
Fixed syscall221
commit a8fde9148d50d89616d8a85a68110b89e3273229
Author: Syrus <me@syrusakbary.com >
Date: Sun Jul 7 18:16:04 2019 -0700
Improved ioctl use case
commit 5ad109d39838624ad84232a4c17714b885835893
Merge: 61526e2c
5cab8161
Author: Syrus <me@syrusakbary.com >
Date: Sun Jul 7 17:44:25 2019 -0700
Merge branch 'command/dash' into feature/emscripten-update
commit 5cab816193
Author: Jesús Leganés-Combarro 'piranna <piranna@gmail.com >
Date: Sat Jul 6 20:11:49 2019 +0200
Generic IOCTLs mapping
commit 5a0dc0374c
Merge: 61cfed79
9d120ed3
Author: Jesús Leganés-Combarro 'piranna <piranna@gmail.com >
Date: Sat Jul 6 17:15:02 2019 +0200
Merge remote-tracking branch 'origin/master' into command/dash
commit 61cfed7916
Author: Jesús Leganés-Combarro 'piranna <piranna@gmail.com >
Date: Sat Jul 6 13:04:04 2019 +0200
Fixed implementation for syscalls 200, 201 and 202
commit 91e26d1a0e
Author: Jesús Leganés-Combarro 'piranna <piranna@gmail.com >
Date: Sat Jul 6 13:03:26 2019 +0200
Improved debug messages
commit 53a8fbeb2a
Author: Jesús Leganés-Combarro 'piranna <piranna@gmail.com >
Date: Sat Jul 6 13:03:04 2019 +0200
[___syscall146] Move loop out of `unsafe` zone
commit d6dd3696f1
Author: Jesús Leganés-Combarro 'piranna <piranna@gmail.com >
Date: Sat Jul 6 13:01:31 2019 +0200
[___syscall140] Fixed types
commit c827a6a993
Merge: 2bc16826
5e18d04d
Author: Jesús Leganés-Combarro 'piranna <piranna@gmail.com >
Date: Sat Jul 6 12:21:33 2019 +0200
Merge remote-tracking branch 'origin/master' into command/dash
commit 2bc16826b5
Author: Jesús Leganés-Combarro 'piranna <piranna@gmail.com >
Date: Thu Jul 4 07:05:00 2019 +0200
Implement `getpgid` syscall
commit d464954f58
Author: Jesús Leganés-Combarro 'piranna <piranna@gmail.com >
Date: Thu Jul 4 07:04:36 2019 +0200
[fcntl64] Replace mock for real implementation
commit 3fe0183d85
Author: Jesús Leganés-Combarro 'piranna <piranna@gmail.com >
Date: Thu Jul 4 07:03:39 2019 +0200
[ioctl] No-of for `TIOCSPGRP` command & code clean-up
commit cc83ec9ac1
Author: Jesús Leganés-Combarro 'piranna <piranna@gmail.com >
Date: Thu Jul 4 07:02:47 2019 +0200
[___syscall5] debug messages
commit 91587c8bde
Author: Jesús Leganés-Combarro 'piranna <piranna@gmail.com >
Date: Thu Jul 4 07:02:20 2019 +0200
[___syscall57] debug messages
2019-07-07 19:35:09 -07:00
d407606db4
fix issue with linux
2019-07-01 16:59:25 -07:00
a4171892ea
move unix code to unix only location
2019-07-01 16:50:55 -07:00
623bec001f
improve networking in emscripten
2019-07-01 16:36:30 -07:00
6afc2e4fd9
fix warnings; rm dbg statements
2019-07-01 12:57:33 -07:00
4fcb3c4c83
improve emscripten sockets and networking
2019-06-28 17:14:00 -07:00
675caf042c
Various lint fixes
2019-06-13 21:01:37 +02:00
1560849e40
Fix lint errors and windows build
2019-06-13 20:46:05 +02:00
58d75868f4
Fixed syscall220 alignment
2019-06-13 12:17:17 +02:00
109acd2fa3
Trying to fix ___syscall220
2019-06-12 01:01:47 +02:00
6ce4f5dca4
Minor fixes
2019-06-12 00:13:06 +02:00
0b416e14c3
Improved syscall220 debug
2019-06-11 17:38:16 +02:00
8df63b1b6e
fix bugs in emscripten socket syscalls
2019-06-06 11:55:05 -07:00
281c5ff45d
fix bugs in em mapdir, improve it for relative paths, use it more
2019-05-29 14:20:52 -07:00
6606a7c7b0
silence clippy on pointer alignment
2019-05-28 14:06:24 -07:00
f8b94b7469
Merge remote-tracking branch 'origin/master' into feature/add-mapdir-for-emscripten
2019-05-28 13:48:12 -07:00
3a4517d5d6
clean up code, verify it behaves the same as emscripten with js
2019-05-28 10:06:22 -07:00
fc15bc58f6
add mapdir for emscripten; implement getdents, etc.
2019-05-24 18:00:07 -07:00
8f345dc284
Updated imports required for jq. Added get_str method in VarArgs
2019-05-18 12:38:22 -07:00
85158ac22a
Add some initial deny for unused_imports and unused_variables
...
Additional unused variable fix on unix
Remove unused import on unix
Remove unused windows import
2019-05-11 09:23:25 -05:00
8f345e9e8c
Fixed ioctl in Unix. Fixed provied main arguments
2019-05-05 13:55:40 -07:00
789af39f9e
Improved ioctl calls
2019-05-05 12:31:31 -07:00
2ba680ad2f
Improved rename function
2019-05-05 12:09:27 -07:00
03f0bf0c49
change void* to stat* for lstat on linux
2019-04-08 11:53:15 -07:00
b2a51b8fbd
try normal lstat on linux
2019-04-08 11:48:04 -07:00
7cb2766292
fix type errors on Linux/OSX
2019-04-08 11:36:54 -07:00
134ee3c511
revert location of lstat64
2019-04-08 11:29:55 -07:00
b3a765446a
fix bug in stat, move lstat64 back to unix
2019-04-08 11:26:25 -07:00
40deb3e6ed
fix lstat64; increase num returned by heap size
2019-04-05 16:50:50 -07:00
93432bdb12
Make reading database files work too!
2019-03-25 16:13:41 -07:00
3500d5a7c7
add more functions for sqlite compiled from config src
2019-03-25 13:09:23 -07:00
f66b024390
Merge branch 'master' into feature/add-syscalls-for-sqlite3
2019-03-25 11:14:01 -07:00
1ce29e788f
add syscalls for sqlite3
2019-03-25 11:12:34 -07:00
de0dedc78d
relocate io stubs and add windows syscall stubs
2019-03-25 10:45:02 -07:00
e56dfe70c7
rm REVIEW comments
2019-03-25 10:16:43 -07:00
c522c6d1e3
fix bugs; add checks and lint exceptions for alignment casting
2019-03-22 10:30:35 -07:00
d13e4aa71f
clean up a bit
2019-03-20 15:24:05 -07:00
42b122d639
add many emscripten functions for PHP
2019-03-20 15:13:00 -07:00
76b4cc79e8
fix make debug-release
2019-03-20 10:27:07 -07:00
20d1023abe
fix(emscripten) Various warning fixes and cleanups ( #266 )
...
* fix(emscripten) Remove unused imports.
This patch removes unused imports reported by `rustc` as warnings.
* fix(emscripten) Allow unreachable patterns in `_clock_gettime`.
The compiler thinks `CLOCK_MONOTONIC_COARSE` is unreachable, which is
not always the case. Add an attribute to allow unreachable patterns to
remove the warning.
* fix(emscripten) Rename unused variables.
This patch renames various unused variables by appending an underscore
to them.
* fix(emscripten) Declare `table` as immutable.
The `table` variable in `EmscriptenGlobals::new` was declared as
mutable, but it's never mutated.
* fix(emscripten) Remove an unnecessary `unsafe` block.
* fix(emscripten) Remove duplicate definition of `SO_NOSIGPIPE`.
The `SO_NOSIGPIPE` constant is defined in `syscalls/mod.rs` and
`syscalls/unix.rs`. It's never used in the first case. We can safely
remove it in this file, and keep it in `unix.rs`.
* fix(emscripten) `read_string_from_wasm` is used only on Windows.
Mark `read_string_from_wasm` as possible deadcode, since it's used
only on Windows.
* fix(emscripten) Remove `DYNAMICTOP_PTR_DIFF`, `stacktop`, `stack_max`,
`dynamic_base` and `dynamic_ptr`.
Four functions and one constant are used together but never used
inside or outside this file. They are deadcode.
* fix(emscripten) Remove `infinity` and `nan` fields of `EmscriptenGlobalsData`.
Those fields are never used.
* fix(emscripten) Allow non snake case in `emscripten_target.rs`.
Many functions in this file don't follow the snake case style for Rust
function names. The reason is that we want the names to match the
emscripten symbol names; even if a mapping is done in `lib.rs`, it's
easier to get the same names.
* fix(emscripten) Rename `STATIC_TOP` to `static_top`.
This variable is not a constant.
2019-03-12 14:00:33 -07:00
a6d72bdec9
more emscripten stubs and urandom hack ( #199 )
2019-02-22 10:42:38 -08:00
f52c4ce5cc
Merge branch 'master' into feature/ctx-first-arg
2019-02-12 10:28:25 -08:00