Commit Graph

683 Commits

Author SHA1 Message Date
Sendil Kumar
4e05bc470f Add date to locale string 2018-06-26 16:55:40 +02:00
Sendil Kumar
c0aba821d5 Add date to locale time string 2018-06-26 16:55:40 +02:00
Sendil Kumar
ca17ef8d7c Add date to string 2018-06-26 16:55:40 +02:00
Sendil Kumar
f30de17c2b Add date to time string 2018-06-26 16:55:39 +02:00
Sendil Kumar
033ba3f3a7 Add date to utc string 2018-06-26 16:55:39 +02:00
Sendil Kumar
cd189d53c4 Add date value of 2018-06-26 16:55:36 +02:00
Satoshi Amemiya
22fdcf02b2 Support String.prototype.charCodeAt 2018-06-26 22:09:43 +09:00
Satoshi Amemiya
efeefbd4c1 Support String.prototype.codePointAt 2018-06-26 22:07:34 +09:00
Satoshi Amemiya
ae847861e7 String - includes() support 2018-06-26 21:10:19 +09:00
belfz
a30509d142 implements Object.seal binding 2018-06-26 14:02:42 +02:00
xeqlol
2028efa76f Fix typo in backend crate 2018-06-26 13:17:40 +05:00
xeqlol
a369f7a246 WeakMap bindings 2018-06-26 13:12:32 +05:00
Tim Ryan
5925871a05 Adds support for the UInt8Array constructor and its fill method. 2018-06-26 00:34:17 -04:00
R. Andrew Ohana
cc1db03e5a use both npm and yarn in ci 2018-06-25 17:22:51 -07:00
R. Andrew Ohana
947dfbeae0
Merge pull request #314 from fitzgen/Array.prototype.filter
Array.prototype.filter
2018-06-25 16:50:32 -07:00
Nick Fitzgerald
0851025ca5 js: Implement bindings for Array.prototype.filter 2018-06-25 16:19:07 -07:00
Nick Fitzgerald
031ded116b js: Fix missing space at start of doc comment 2018-06-25 16:17:53 -07:00
Nick Fitzgerald
5adda0d591
Merge pull request #313 from jamen/support-rollup
Make JS use a '.wasm' extension when importing the binary
2018-06-25 15:34:58 -07:00
Nick Fitzgerald
3212b0a019
Merge pull request #312 from jonathan-s/moar-methods
Lots of methods for Math
2018-06-25 14:44:36 -07:00
Nick Fitzgerald
02328cf9f6
Merge pull request #310 from elpiel/string-support
`String.prototype.startsWith`, `String.prototype.substring` and `String.prototype.indexOf`
2018-06-25 14:37:17 -07:00
Jamen Marz
a596dc4129
Make JS use a '.wasm' extension when importing the binary 2018-06-25 15:26:30 -06:00
Jonathan Sundqvist
e05b1ae6ba Add clz32 to Math 2018-06-25 22:52:04 +02:00
Jonathan Sundqvist
9b70f14a1c Add ceil to Math 2018-06-25 22:52:04 +02:00
Jonathan Sundqvist
2de2a815d5 Add cube root (cbrt) to Math 2018-06-25 22:52:04 +02:00
Jonathan Sundqvist
5eb744c7d6 Add atanh to Math 2018-06-25 22:52:04 +02:00
Jonathan Sundqvist
3223a9af75 Add atan2 to Math 2018-06-25 22:52:04 +02:00
Jonathan Sundqvist
7e514b939f Add atan to Math 2018-06-25 22:52:04 +02:00
Jonathan Sundqvist
4b812ee47d Add asinh to Math 2018-06-25 22:52:04 +02:00
Jonathan Sundqvist
94255c1ba9 Add asin to Math 2018-06-25 22:52:04 +02:00
Jonathan Sundqvist
d40a314a91 Add acosh to Math 2018-06-25 22:52:04 +02:00
Jonathan Sundqvist
230650055c Add acos to Math 2018-06-25 22:52:04 +02:00
Jonathan Sundqvist
9633642e6e Add abs to Math 2018-06-25 22:52:04 +02:00
Jonathan Sundqvist
ee31080b09 Format comments so they become more readable in editor 2018-06-25 22:52:04 +02:00
Lachezar Lechev
44444920a4 Merge branch 'master' into string-support 2018-06-25 22:20:38 +02:00
Nick Fitzgerald
76fcbf3c44
Merge pull request #307 from elpiel/string-substr
`String.prototype.substr()` support
2018-06-25 12:52:49 -07:00
Lachezar Lechev
8e8a02bf73 js.rs - remove todo 2018-06-25 21:32:48 +02:00
Lachezar Lechev
36e79d23c4 String - startsWith/substring/indexOf 2018-06-25 21:30:04 +02:00
R. Andrew Ohana
09cf02d41a
Merge pull request #311 from fitzgen/faster-mdbook-ci
ci: Cache mdbook installs to reduce CI build time
2018-06-25 12:01:26 -07:00
Nick Fitzgerald
7a688d6967
Merge branch 'master' into string-substr 2018-06-25 11:31:42 -07:00
Lachezar Lechev
d28d81f38d Add basic support for String.prototype.charAt() (#306)
* String - charAt() implementation

* String - charAt() - add js_class
2018-06-25 11:24:44 -07:00
Nick Fitzgerald
245f0f0eea
Merge pull request #296 from fitzgen/attribute-for-static-methods
Attribute for static methods
2018-06-25 11:14:48 -07:00
Nick Fitzgerald
5b86ee0c18 ci: Cache mdbook installs to reduce CI build time
We spend a lot of time installing and compiling `mdbook` from source. This
caches `mdbook` across builds.
2018-06-25 10:59:42 -07:00
Nick Fitzgerald
8fbf478058 Move some utility functions from the webidl crate into the backend crate 2018-06-25 10:45:53 -07:00
Nick Fitzgerald
eb04d15a65 js: Add bindings to Object.keys 2018-06-25 10:45:53 -07:00
Nick Fitzgerald
21fa3beabd backend: Add some trailing commas that rustfmt prefers 2018-06-25 10:45:53 -07:00
Nick Fitzgerald
911a32c0d5 Add the #[wasm_bindgen(static_method_of = Class)] attribute
This is similar to `js_namespace` but translates into a static method on `Class`
rather than a free function. This allows us to have bindings to things like
`Object.keys` as `Object::keys`.
2018-06-25 10:45:53 -07:00
Nick Fitzgerald
56fa901442 js::Object: Sort methods alphabetically 2018-06-25 10:45:53 -07:00
Lachezar Lechev
b81dc46220 String - substr() support 2018-06-24 23:03:39 +02:00
R. Andrew Ohana
7936e1eb27
Merge pull request #305 from sendilkumarn/number-fixed-exponential
Adds Number to_fixed and to_exponential function
2018-06-24 12:16:06 -07:00
Sendil Kumar
32bc9f271c rebase to handle JsString 2018-06-24 20:48:37 +02:00