Michael Hoffmann
bae324c951
Add Array.prototype.values binding ( #395 )
2018-07-09 12:42:30 -05:00
Nick Fitzgerald
21cb50ef05
Merge pull request #412 from matiasinsaurralde/intl
...
Add bindings for `Intl`
2018-07-09 10:31:22 -07:00
Liigo Zhuang
bfec9e6401
bindings for parseInt/parseFloat ( #384 )
...
* parseInt, parseFloat, JsValue::is_nan
* Number.parseInt, Number.parseFloat
* remove `JsValue::is_nan`
* parse_int/float returns f64
2018-07-09 08:59:54 -05:00
toversus
5bfde7778d
binding for Date.prototype.getUTCSeconds()
2018-07-09 18:20:04 +09:00
toversus
15d9f743ec
binding for Date.prototype.getUTCMonth()
2018-07-09 18:08:38 +09:00
toversus
2e85bbd9e0
binding for Date.prototype.getUTCMinutes()
2018-07-09 18:04:20 +09:00
toversus
c260ac7c3e
binding for Date.prototype.getUTCMilliseconds()
2018-07-09 17:59:15 +09:00
toversus
6aa3661e11
binding for Date.prototype.getUTCHours()
2018-07-09 17:54:19 +09:00
toversus
975818a1f6
binding for Date.prototype.getUTCFullYear()
2018-07-09 17:50:13 +09:00
toversus
ea19848691
binding for Date.prototype.getUTCDay()
2018-07-09 17:46:21 +09:00
toversus
792baefc22
binding for Date.prototype.getUTCDate()
2018-07-09 17:42:30 +09:00
toversus
d3a17d4014
binding for Date.prototype.getTimezoneOffset()
2018-07-09 17:38:38 +09:00
Alexander Kryvomaz
6758525980
bindings for isFinite(), Number.isFinite() and Number.isSafeInteger() ( #420 )
...
* bindings for isFinite()
* bindings for Number.isFiniter(), refactoring of Number.isInteger()
* bindings for Number.isSafeInteger()
2018-07-08 10:03:10 -05:00
T. Nagasawa
056b45aeed
bindings for Date.parse and Date.getXXX ( #414 )
...
* binding for Date.prototype.getHours()
* binding for Date.prototype.getMilliseconds()
* binding for Date.prototype.getMinutes()
* binding for Date.prototype.getMonth()
* binding for Date.prototype.getSeconds()
* binding for Date.prototype.getTime()
* binding for Date.parse()
2018-07-07 12:09:46 -05:00
Matias Insaurralde
8352b4610f
Add bindings for Intl.getCanonicalLocales
2018-07-07 08:00:22 -04:00
Alex Crichton
0e2e826182
Hide the __wbindgen_if_not_std
macro from docs
2018-07-06 20:04:49 -07:00
Alex Crichton
ef807a8068
Tweak some docs and fixup some symbol tests
2018-07-06 20:00:53 -07:00
Nick Fitzgerald
a526be9baf
Merge pull request #401 from rail44/support-symbol
...
Add support for static props of Symbol
2018-07-06 09:15:36 -07:00
Marcin Baraniecki
83a7d5bfdc
Merge pull request #399 from alexcrichton/jsvalue-debug
...
Implement `Debug for JsValue`
2018-07-06 13:36:17 +02:00
Marcin Baraniecki
c9f4a266b0
Merge pull request #386 from jannikkeye/bindings-reflect
...
Reflect.xx bindings
2018-07-06 13:34:59 +02:00
Marcin Baraniecki
f7dc819289
Merge pull request #387 from Hywan/webassembly
...
feat(js) Implement the `WebAssembly.validate` binding.
2018-07-06 13:33:37 +02:00
Satoshi Amemiya
6e4948d983
Add support for static props of Symbol
2018-07-06 17:07:43 +09:00
Jannik Keye
99d66ad6ed
merge master
2018-07-06 09:31:58 +02:00
Sendil Kumar N
a65b6c7003
Merge pull request #397 from ZerothLaw/Issue275/ArrayFind
...
Issue #275 : Added Array.prototype.find binding
2018-07-06 09:22:46 +02:00
Satoshi Amemiya
2518048f25
Add support Symbol.hasInstance as sample of static prop getter
2018-07-06 14:57:17 +09:00
Alex Crichton
d930a5a97a
Implement Debug for JsValue
2018-07-05 20:24:28 -07:00
Tyler Laing
baf76431bc
Issue #275 : Adding Array.prototype.find. Fixing newline.
2018-07-05 16:02:51 -07:00
Tyler Laing
d29b17f158
Issue #275 : Added Array.prototype.find binding
2018-07-05 15:05:23 -07:00
Nick Fitzgerald
7ff90f1490
js: Return scalar types instead of Number
objects
...
99% of the time we don't want to deal with opaque handles to `Number`
objects.
2018-07-05 13:02:40 -07:00
Michael Hoffmann
260183a522
Add binding for Number.isInteger
2018-07-05 17:09:59 +02:00
Michael Hoffmann
9d3b26341e
Add binding for Date.prototype.getDate
2018-07-05 17:09:59 +02:00
Jannik Keye
8dd8475000
fix: Reflec.defineProperty no longer returns Result
2018-07-05 08:33:22 +02:00
Stephan Renatus
b704ceeb3a
Bindings for Proxy.revocable()
...
Signed-off-by: Stephan Renatus <srenatus@chef.io>
2018-07-05 08:04:41 +02:00
Stephan Renatus
2b8e789c9c
Bindings for Proxy.new()
...
Signed-off-by: Stephan Renatus <srenatus@chef.io>
2018-07-05 08:04:41 +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
Jannik Keye
7790b34c07
fix: simplify signatures to avoid Result usage
2018-07-04 16:10:17 +02:00
Ivan Enderlin
c450fbf237
feat(js) Support exception on WebAssembly::validate
.
2018-07-04 15:51:55 +02:00
Jannik Keye
008f17143b
fix: Reflect.has target should be &Object
2018-07-04 15:32:34 +02:00
Ivan Enderlin
fe25a9a268
feat(js) Implement the WebAssembly.validate
binding.
2018-07-04 15:27:01 +02: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
Jannik Keye
3442f9d9d7
fix: Reflect.has
2018-07-04 13:18:06 +02:00
Jannik Keye
1397f9b05a
feat: add Reflect.setPrototypeOf
2018-07-04 13:13:35 +02:00
Jannik Keye
eb3f67a36f
feat: add Reflect.set
2018-07-04 13:08:43 +02:00
Jannik Keye
fc82ba4ec3
feat: add Reflect.preventExtensions
2018-07-04 12:56:37 +02:00
Jannik Keye
e36f982391
feat: add Reflect.ownKeys
2018-07-04 12:53:38 +02:00
toversus
e95994fd19
bindings for Date.prototype.getFullYear()
2018-07-04 19:52:12 +09:00
Jannik Keye
eb245d5503
feat: add Reflect.isExtensible
2018-07-04 12:49:07 +02:00
Jannik Keye
7c297ccfb4
feat: add Reflect.has
2018-07-04 12:44:49 +02:00
toversus
3007e813ea
bindings for Date.prototype.getDay()
2018-07-04 19:41:06 +09:00
Jannik Keye
edddd4b08e
feat: add Reflect.getPrototypeOf
2018-07-04 12:39:56 +02:00
Jannik Keye
2422c5e945
feat: add Reflect.getOwnPropertyDescriptor
2018-07-04 12:35:40 +02:00
Jannik Keye
3ba00bc13c
feat: add Reflect.get
2018-07-04 12:31:24 +02:00
Jannik Keye
5fa18f8f40
feat: add Reflect.deleteProperty
2018-07-04 12:24:52 +02:00
Jannik Keye
07a726b9dc
feat: add Reflect.defineProperty
2018-07-04 12:17:01 +02:00
Jannik Keye
13b3b0d87a
feat: add Reflect.construct
2018-07-04 12:07:02 +02:00
Jannik Keye
592d426e4f
feat: add Reflect.apply
2018-07-04 11:43:34 +02:00
Alexander Kryvomaz
eac2b05b1b
added catch attribute to the Generator methods, consistent rust keyword name
2018-07-04 01:22:56 +03: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
Johannes Henninger
b689a78351
Bindings for Math.pow, round, sign, sin, sinh, sqrt, tan, tanh and trunc
2018-07-03 20:00:56 +02: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
Johannes Henninger
6dede6f20f
Use f64 for most Math.* bindings ( #369 )
2018-07-02 23:41:57 -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
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
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
Satoshi Amemiya
f9c804db20
Add support for js::Error
2018-06-29 23:24:46 +09:00
Nick Fitzgerald
37293ee42a
Merge pull request #344 from autodidaddict/math-externs
...
Binding for Math.cos,cosh,exp,expml,fround,imul,log,log10,log1p,log2
2018-06-28 15:52:45 -07:00
Nick Fitzgerald
5ff6329d29
Merge pull request #349 from jannikkeye/bindings-map
...
Add bindings for Map.xx
2018-06-28 15:46:07 -07:00
Nick Fitzgerald
e31da84bce
Merge pull request #340 from ohanar/rustfmt
...
Use rustfmt for standarized formatting
2018-06-28 15:17:23 -07:00
Jannik Keye
d868ff26ef
Add bindings for Set.xx ( #347 )
...
* feat(Set): add Set.add
* feat(Set): add Set.clear
* feat(Set): add Set.delete
* feat(Set): add Set.has
* feat(Set): add Set.new
* feat(Set): add Set.size
* feat(Set/SetIterator): add Set.entries
* feat(Set/SetIterator): add Set.keys
* feat(Set/SetIterator): add Set.values
2018-06-28 15:57:49 -05:00
Chris Kolodin
9193218648
add bindings for array.prototype.some() ( #341 )
...
following the example set in https://github.com/rustwasm/wasm-bindgen/pull/314
2018-06-28 15:57:01 -05:00
Jannik Keye
e0a70417ce
feat(Map/MapIterator): add Map.values
2018-06-28 22:00:02 +02:00
Jannik Keye
fc131ee97e
feat(Map/MapIterator): add Map.keys
2018-06-28 21:59:11 +02:00
Jannik Keye
228abaa4ae
feat(Map/MapIterator): add Map.entries
2018-06-28 21:58:34 +02:00
Jannik Keye
ea19775639
feat(Map): add Map.size
2018-06-28 21:56:49 +02:00
Jannik Keye
6f90bd677b
feat(Map): add Map.set
2018-06-28 21:55:55 +02:00
Jannik Keye
27ee57175a
feat(Map): add Map.new
2018-06-28 21:55:10 +02:00
Jannik Keye
07e61e1175
feat(Map): add Map.has
2018-06-28 21:54:10 +02:00
Jannik Keye
e0b399643a
feat(Map): add Map.get
2018-06-28 21:53:20 +02:00
Jannik Keye
f7e4019e72
feat(Map): add Map.delete
2018-06-28 21:52:27 +02:00
Jannik Keye
ab0546963b
feat(Map): add Map.clear
2018-06-28 21:51:39 +02:00
Kevin Hoffman
81e68517f2
Adding line separator in code docs above MDN URLs.
2018-06-28 15:05:10 -04:00
Kevin Hoffman
3e84b97de2
Binding for Math.cos,cosh,exp,expml,fround,imul,log,log10,log1p,log2
2018-06-28 12:46:53 -04:00
R. Andrew Ohana
9127a0419f
rustfmt all the things
2018-06-27 22:42:34 -07:00
Nick Fitzgerald
40722b7ae3
Merge pull request #333 from Hywan/js_boolean
...
feat(js) Implement `Boolean` bindings.
2018-06-27 14:36:00 -07:00
Nick Fitzgerald
5aa648a2e8
Merge pull request #335 from xeqlol/weakset-bindings
...
Implement Weakset bindings
2018-06-27 14:27:48 -07:00
Nick Fitzgerald
e40a359278
Merge pull request #336 from belfz/expose-bindings/array-prototype-every
...
implements Array.prototype.every()
2018-06-27 09:11:21 -07:00
Nick Fitzgerald
4ba61c1c20
Merge pull request #332 from Hywan/js_test
...
test(js) Fix file permissions, and update a comment
2018-06-27 09:08:26 -07:00
belfz
dacf406dbd
implements Array.prototype.every()
2018-06-27 13:45:47 +02:00