Commit graph

217 commits

Author SHA1 Message Date
Christoph Diehl
a869409853
Fix prototypes and explicitly enable them 2018-03-22 00:08:55 +01:00
Christoph Diehl
9e97d0d59f
Fix calling logger 2018-03-21 22:36:13 +01:00
Christoph Diehl
0ec0980e8d
Ensure proper quoting of jsesc 2018-03-21 22:26:35 +01:00
Christoph Diehl
53d9167682
Prefer jsesc for quoting 2018-03-21 22:04:57 +01:00
Christoph Diehl
3c297bdea2
Stick with require for overwriting String|Array prototypes 2018-03-20 00:55:16 +01:00
Christoph Diehl
94f85030e4
Use global namespace for overwriting String|Array prototypes 2018-03-20 00:03:55 +01:00
Christoph Diehl
7c2273e26c
Fix static method for objects 2018-03-19 06:34:18 +01:00
Christoph Diehl
43b69880b1
Add linter fixes 2018-03-19 05:54:40 +01:00
Christoph Diehl
142576ed49
Add module based architecture
* Build with Webpack
* Let Octo.js run in Node
2018-03-19 04:23:05 +01:00
Christoph Diehl
a85e0219ae
Exports for random module 2018-03-17 23:02:23 +01:00
pyoor
0367d34592 Join using a space instead of newline 2018-03-12 13:47:26 -04:00
Christoph Diehl
a05cb5e6ff
Add getFrag parser for WebGL fragment shader 2018-02-23 06:44:11 +01:00
Christoph Diehl
f280f25cd7
Fixes 2018-02-22 06:59:27 +01:00
Christoph Diehl
c85d69abe2
Add constants for WebGL 2018-02-21 10:21:03 +01:00
Christoph Diehl
08a4fb1b60
Add constants for WebGL 2018-02-21 10:19:32 +01:00
Christoph Diehl
15c9503e40
Add parseUniforms and parseAttributes for WebGL shaders 2018-02-20 03:06:17 +01:00
Christoph Diehl
f0befe57fc
Add parseUniforms and parseAttributes for WebGL shaders 2018-02-20 03:05:42 +01:00
Christoph Diehl
3ddc37a7e9
Add texture sources for WebGL 2018-02-20 02:45:45 +01:00
Christoph Diehl
29fd8b2d53
Add targets for WebGL 2018-02-20 02:16:37 +01:00
Christoph Diehl
1057bf42da
Merge branch 'master' of http://github.com/mozillasecurity/octo 2018-02-20 02:05:51 +01:00
Christoph Diehl
e5853b01c4
Add texture formats for WebGL 2018-02-20 02:04:37 +01:00
pyoor
20e95e7a1d Add make.number.interesting 2018-02-12 13:33:54 -05:00
Christoph Diehl
087ea48bfe
Update RSA-PSS publicExponent 2018-02-04 16:40:51 +01:00
Christoph Diehl
3fc92abc8c
Update crypto.js with template strings 2018-02-03 10:16:37 +01:00
Christoph Diehl
c8403064f3
Add mackup() to beautify template strings 2018-02-03 10:16:08 +01:00
Christoph Diehl
51ff738c34
Return an object instead of null for empty JWK presets 2018-01-31 12:21:29 +01:00
Christoph Diehl
6c0c0c0fff
Add two missing importKey methods 2018-01-31 12:08:56 +01:00
Christoph Diehl
96e9210407
Add getRandomCandidate() and defaults for keyFormat 2018-01-30 17:49:59 +01:00
Christoph Diehl
7af5e072fd
Add algorithms and presets for WebCrypto 2018-01-30 17:06:51 +01:00
Christoph Diehl
ab97313acb Add range generator for floating points 2018-01-16 18:39:48 +01:00
Christoph Diehl
bbca3019aa Update default STUN server 2017-12-01 09:33:51 +03:00
Christoph Diehl
2f3f62a062 Fix standard. 2017-11-28 21:45:18 +03:00
Christoph Diehl
6df44b5f63 Add IceCandidate, SdpMid, Turn BNF structures from Framboise 2017-11-28 21:40:13 +03:00
pyoor
88d3051fc3 Add unix timestamp support 2017-11-27 11:53:48 -05:00
Christoph Diehl
bc19d0869c Fix standard. 2017-11-22 02:02:06 +03:00
Christoph Diehl
0d6a9af9c1 Add a simple generator for DTMF 2017-11-22 01:59:09 +03:00
Christoph Diehl
f784bd8da3 Add crypto.js for all things crypto. 2017-11-21 06:51:14 +03:00
pyoor
d978a5d466 Don't wrap generated font in quotes 2017-09-19 16:02:37 -04:00
pyoor
4ab0af5feb Expand assignment operators 2017-09-19 13:14:37 -04:00
pyoor
d99799e430 Simplify make.typed.bufferSource 2017-09-13 16:44:14 -04:00
pyoor
1020793e96 Further cleanup in make.typed.any() 2017-09-13 16:31:04 -04:00
pyoor
91554d32a4 Cleanup make.typed.any() 2017-09-13 16:23:48 -04:00
Christoph Diehl
6303c66f51 Add types of BufferSource 2017-09-13 21:04:58 +02:00
Christoph Diehl
81ec8a9891 Merge branch 'master' of https://github.com/MozillaSecurity/octo 2017-09-13 21:01:13 +02:00
Christoph Diehl
f098ea3b00 Add types of BufferSource 2017-09-13 20:57:21 +02:00
pyoor
1c51339e4e Fix bad reference in make.datetime 2017-09-12 22:13:50 -04:00
pyoor
9d08efb4c7 Remove fix standard style error 2017-08-30 13:36:18 -04:00
pyoor
e944933850 The consumer should call utils.common.quote 2017-08-30 13:02:51 -04:00
pyoor
2bf0e0ddbe Add base64 audio data 2017-08-30 12:52:37 -04:00
pyoor
88cf5c4bfb Fix unit matching regex 2017-08-16 16:16:29 -04:00
pyoor
ddc48c2045 Use random.chance instead of random.number === n 2017-08-16 15:59:14 -04:00
pyoor
e891f28fa6 Only mutate units when preceeded by a number 2017-08-16 15:57:57 -04:00
Christoph Diehl
69d537325b Add missing MPL to alignment.js 2017-08-08 12:48:47 +02:00
pyoor
bbb579b2b9 Check for undefined values when making filled arrays 2017-07-21 14:05:40 -04:00
pyoor
2d36bb0739 Fix random.item to accomodate DOMStringList 2017-07-20 15:37:20 -04:00
pyoor
a1aab62256 Favor lower numbers in make.number.any() 2017-07-20 15:30:11 -04:00
pyoor
fa4546d8b6 Initial commit of make.style 2017-07-20 15:29:52 -04:00
pyoor
28254a80de Modify random.item to work with array-like objects and update tests 2017-07-20 15:29:37 -04:00
pyoor
44d74b09bf Minor bug fix in creating filled arrays without a limit 2017-07-20 10:24:57 -04:00
pyoor
d167b49fba Use single line comment 2017-07-07 11:24:09 -04:00
pyoor
5c6593b973 Fix eslint issue 2017-07-06 10:18:45 -04:00
pyoor
c9a8cbf7e7 Initial commit 2017-07-06 10:18:22 -04:00
pyoor
9cc22a99de Multiple bugfixes 2017-07-06 10:18:04 -04:00
pyoor
3a44c6065b Don't quote object properties 2017-06-30 13:21:23 -07:00
pyoor
236ccfeddb Reduce generated string size 2017-06-30 13:19:31 -07:00
pyoor
272a6b614c Add URL object generators to make.network 2017-06-30 13:19:03 -07:00
pyoor
b9c6fa0e42 Prefix logger.comment with /*L*/ 2017-06-30 13:17:22 -07:00
pyoor
8d4093a7d4 Remove unicode hyphens 2017-06-28 14:20:45 -07:00
pyoor
0e8c0df425 Initial commit of make.command 2017-06-28 13:14:01 -07:00
pyoor
ac88f930c5 Initial commit of make.uri 2017-06-28 13:13:52 -07:00
pyoor
f884643863 Initial commit of make.alignment 2017-06-28 12:01:48 -07:00
pyoor
33c3d3ab6d Add relativeSize 2017-06-28 12:01:34 -07:00
pyoor
b1e9ec82c5 Allow negative values for float and double 2017-06-28 12:01:19 -07:00
pyoor
0a21e8ecb1 Initial commit of make.typed 2017-06-27 21:36:26 -07:00
pyoor
93f31512ad Initial commit of make.html 2017-06-27 21:36:26 -07:00
Christoph Diehl
f8c61ab67a Modify logging routines 2017-06-27 17:16:34 -07:00
pyoor
83ade20f6a Add ISO date/time formatting 2017-06-26 14:57:46 -04:00
pyoor
02b8070dfa Initial commit of datetime generator 2017-06-26 14:43:25 -04:00
pyoor
3cda93c824 Fix bug in make.number.float 2017-06-23 11:36:33 -04:00
pyoor
72322bbb2d Expand make.text.language 2017-06-23 11:35:05 -04:00
pyoor
0bb9953ddb Temporarily replace quote with jruderman's simpleSource 2017-06-15 17:24:32 -04:00
pyoor
0f8f02a654 Replace logging.testcase in favor of logging.log 2017-06-15 12:52:24 -04:00
pyoor
ddc42d0fa6 Fix bad reference to random.index 2017-06-15 12:49:29 -04:00
pyoor
a8fcf0d7bb Modify logging.comment to dump, and remove comment from JSError 2017-06-15 12:41:03 -04:00
pyoor
6a65f5a4e6 Fixed bug in make.chars 2017-06-15 12:16:11 -04:00
pyoor
fba49412c7 Update utils.common.quote to escape unicode characters and inner escape sequences 2017-06-14 14:04:53 -04:00
pyoor
0bfe796364 Add logging.log to wrap strings in utils.scripts.safely before dumping 2017-06-13 14:25:22 -04:00
pyoor
194e8d948a Remove unecessary attributes for Object.isObject 2017-06-13 13:19:33 -04:00
pyoor
c27266c234 Add Array.extend prototype 2017-06-13 13:19:09 -04:00
Christoph Diehl
a10136d2dc Add 'no-unused-vars' to logging.ok for now 2017-06-10 13:04:47 +02:00
Christoph Diehl
f69927f348 Add logger.ok 2017-06-10 08:35:35 +02:00
Christoph Diehl
bc7295ba29 Fix two more left-overs of make.number.*Number reference 2017-06-10 07:40:29 +02:00
Christoph Diehl
fe702f19ed Fix left-over make.number.rangeNumber reference 2017-06-10 07:23:38 +02:00
Christoph Diehl
7801a05769 Hex is the correct escape in strict mode 2017-06-10 07:06:31 +02:00
Christoph Diehl
5226f2549b Fix ESLint issues 2017-06-10 06:41:53 +02:00
Christoph Diehl
267d30720a Tiny cosmetics in error message of pick() 2017-06-10 06:10:40 +02:00
Christoph Diehl
f03f658691 Fix color escape sequences 2017-06-10 06:09:20 +02:00
Christoph Diehl
56d3cb3851 Let shaders be returned as arrays 2017-06-10 05:54:06 +02:00
Christoph Diehl
562ba9ebb7 Add platform.SpeechGrammar to platform object 2017-06-10 05:52:22 +02:00
Christoph Diehl
bf19096239 Remove Number suffix from make.number.* methods 2017-06-10 05:51:41 +02:00