Sendil Kumar N
1662668b42
Merge pull request #389 from alexcrichton/fix-unused
...
Fix some eslint warnings about unused variables
2018-07-04 22:24:03 +02:00
Ivan Enderlin
43de00b347
feat(js) Add ArrayBuffer::new
, ::is_view
& ::slice
bindings. ( #388 )
...
* feat(js) Add `ArrayBuffer::new`, `::is_view` & `::slice` bindings.
* fix(js) Fix number units, comments, add `slice_with_end`.
* test(js) Fix a function name.
2018-07-04 13:53:49 -05:00
Corey Farwell
ad72ea54a9
Fix typo in rust-type-conversions.md. ( #390 )
2018-07-04 13:53:20 -05:00
Alex Crichton
247ea628fb
Don't import wasm in generated JS if it's not used
...
Mostly just an edge case
2018-07-04 08:50:48 -07:00
Alex Crichton
0603faa57a
Flag BigInt* arrays defined in eslintrc
2018-07-04 08:36:56 -07:00
Alex Crichton
26ad8c627e
Deny unused variables in eslintrc
2018-07-04 08:35:39 -07:00
Alex Crichton
62a6486d5b
Reformat eslintrc file
2018-07-04 08:35:26 -07:00
Alex Crichton
000970ee2c
Remove extraneous exposure of uint64 memory
...
No longer needed!
2018-07-04 08:34:19 -07:00
Alex Crichton
67b9ce58aa
Fix getArrayJsValueFromWasm
exposing wrong function
...
This needs `getUint32Memory`, not `getArrayU32FromWasm`.
2018-07-04 08:30:18 -07:00
Alex Crichton
3510b20595
Fix a stray unused variable
...
Travis tests show hundreds of warning for `'y' is defined but never used` and
when investigating it looks like a mistake was introduced in 0938858aa
during #272 , so hopefully this'll be an easy fix!
2018-07-04 08:16:09 -07:00
Marcin Baraniecki
2694dd4dee
Merge pull request #385 from toVersus/js_date
...
bindings for date.getDay/getFullYear
2018-07-04 14:56:22 +02:00
toversus
e95994fd19
bindings for Date.prototype.getFullYear()
2018-07-04 19:52:12 +09:00
toversus
3007e813ea
bindings for Date.prototype.getDay()
2018-07-04 19:41:06 +09:00
Nick Fitzgerald
fbbd97bbe0
Merge pull request #380 from akryvomaz/master
...
bindings for Generator.next(), Generator.return() and Generator.throw()
2018-07-03 16:30:46 -07:00
Alexander Kryvomaz
eac2b05b1b
added catch attribute to the Generator methods, consistent rust keyword name
2018-07-04 01:22:56 +03:00
Marcin Baraniecki
3092beb4e4
fixes team members table layout ( #379 )
2018-07-03 16:55:22 -05:00
Nick Fitzgerald
e644ee6dad
Merge pull request #375 from sendilkumarn/fix-node-webpack
...
fix webpack to handle node global functions
2018-07-03 13:50:39 -07:00
Alexander Kryvomaz
b797bbc39c
bindings for Generator.throw()
2018-07-03 23:48:54 +03:00
Alexander Kryvomaz
39d79eb037
bindings for Generator.return()
2018-07-03 23:47:10 +03:00
Alexander Kryvomaz
6e95ba20f1
bindings for Generator.next()
2018-07-03 23:42:49 +03:00
Jonathan Sundqvist
17fde01243
Merge pull request #378 from jhenninger/math-bindings
...
Bindings for Math.pow, round, sign, sin, sinh, sqrt, tan, tanh and trunc
2018-07-03 21:08:28 +02:00
Sendil Kumar
f5075eb3be
use simplified logic
2018-07-03 20:48:31 +02:00
Sendil Kumar
99ca230bdb
add some comments
2018-07-03 20:44:34 +02:00
Johannes Henninger
b689a78351
Bindings for Math.pow, round, sign, sin, sinh, sqrt, tan, tanh and trunc
2018-07-03 20:00:56 +02:00
Nick Fitzgerald
3e77003176
Add @belfz to the team! \o/ ( #377 )
2018-07-03 12:14:49 -05:00
Nick Fitzgerald
df387729a7
Merge pull request #334 from Hywan/js_date
...
feat(js) Implement `Number.new`, `Date.now` and `Date.UTC` bindings
2018-07-03 10:04:15 -07:00
Nick Fitzgerald
d27f5e75c8
Merge pull request #370 from rustwasm/mdbook-design
...
Add `design.md` to the online mdbook
2018-07-03 09:50:18 -07:00
Sendil Kumar
8f034bc078
fix webpack to handle node global functions
2018-07-03 18:14:30 +02:00
konstin
66096804ce
Fix the constructor explanation in the guide ( #372 )
2018-07-03 09:24:43 -05:00
Ivan Enderlin
df5fec22d9
fix(js) Use f64
instead of Number
.
2018-07-03 14:26:00 +02:00
Ivan Enderlin
fe4c150431
Merge branch 'master' into js_date
2018-07-03 14:12:05 +02:00
R. Andrew Ohana
9339a55f3e
Merge pull request #303 from teovoinea/master
...
Added is_chrome_only (#244 )
2018-07-02 23:50:04 -07:00
Johannes Henninger
6dede6f20f
Use f64 for most Math.* bindings ( #369 )
2018-07-02 23:41:57 -05:00
teovoinea
7cd3ca02a2
Update with masters and fix PR changes
2018-07-02 20:35:05 -07:00
Alex Crichton
b171629ed1
Add design.md
to the online mdbook
...
At the same time split it up into some more digestable sections
2018-07-02 18:49:47 -07:00
Alex Crichton
4ceaf3e0f4
Some small cleanups ( #366 )
...
* No need for version deps in dev-deps
These are all internal so we can drop the version
* Remove wasm-bindgen-cli's parity-wasm dep
No longer needed
* Tweak file hierarchy in webidl tests
Use Cargo's conventions to avoid the need to define `[[test]]` sections
* Remove unused imports
2018-07-02 11:57:39 -05:00
Marcin Baraniecki
dcb3415da8
Expose bindings/object is* methods ( #363 )
...
* implements Object.isExtensible() binding
* implements Object.isFrozen() binding
* implements Object.isSealed() binding
2018-07-02 10:32:16 -05:00
Marcin Baraniecki
37fc159061
implements Object.preventExtensions() binding ( #364 )
2018-07-02 10:31:40 -05:00
Sendil Kumar N
10ffe8b3be
Merge pull request #361 from brisad/string-lower-and-upper-case
...
Bindings for string lower and upper case
2018-07-02 09:26:47 +02:00
Sendil Kumar N
c0333cdcc9
Merge pull request #362 from belfz/expose-bindings/object-values
...
implements Object.values() binding
2018-07-02 09:24:22 +02:00
belfz
1d04203e89
implements Object.values() binding
2018-07-01 23:50:10 +02:00
Michael Hoffmann
d5d451b94b
Add binding for String.prototype.toUpperCase
2018-07-01 23:12:42 +02:00
Michael Hoffmann
58560f1408
Add binding for String.prototype.toLowerCase
2018-07-01 23:11:13 +02:00
Jonathan Sundqvist
bfffd58683
Merge pull request #359 from akryvomaz/master
...
bindings for Function.prototype.bind, decodeURIComponent, encodeURIComponent
2018-07-01 16:55:18 +02:00
Jonathan Sundqvist
489562ae1b
Merge pull request #358 from belfz/expose-bindings/object-set-prototype-of
...
implements Object.setPrototypeOf() binding
2018-07-01 16:47:34 +02:00
Alexander Kryvomaz
609bf34d60
bindings for encodeURIComponent
2018-07-01 15:59:12 +03:00
Alexander Kryvomaz
0f07dd9048
bindings for decodeURIComponent
2018-07-01 15:53:44 +03:00
Alexander Kryvomaz
f850a6fafc
bindings for Function.prototype.bind()
2018-07-01 15:44:36 +03:00
belfz
ce9b95635d
implements Object.setPrototypeOf() binding
2018-07-01 11:52:22 +02:00
Alex Crichton
cf08aee341
Tidy up a test
2018-06-30 11:19:27 -07:00