Commit graph

183 commits

Author SHA1 Message Date
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
pyoor
97bc2ab4ad Multi-window fix for Objects.isObject 2017-06-08 18:15:31 -04:00
pyoor
d7cb85131d Add Object.isObject shim 2017-06-08 17:56:46 -04:00
pyoor
2cf47dba1d Add unicode safe, base64 encode/decode 2017-06-08 12:05:06 -04:00
Christoph Diehl
3ad70863f1 Let platform be a self-invoked function 2017-06-08 15:49:58 +02:00
Christoph Diehl
d7db764361 Let platform be a self-invoked function 2017-06-08 15:46:46 +02:00
Christoph Diehl
07983e5999 Let platform be a self-invoked function 2017-06-08 15:41:04 +02:00
pyoor
ccb0996187 Remove duplicate shuffle function 2017-06-08 09:32:40 -04:00
pyoor
8401a10127 Replace instanceof Array checks with Array.isArray 2017-06-08 09:31:41 -04:00
pyoor
060345e96a WIP Add utils.mutate.random to any() 2017-06-08 00:18:33 -04:00
pyoor
16402ea39c WIP Initial commit of mutators 2017-06-08 00:15:20 -04:00
Christoph Diehl
cecc7b0f5e Remove references of removed random.some in favour of random.subset 2017-06-08 04:27:26 +02:00
Christoph Diehl
891fb2bb60 Rename make.number.anyNumber to make.number.any 2017-06-08 04:26:28 +02:00
Christoph Diehl
23efa3df7f Let random seed be a property 2017-06-08 04:12:49 +02:00
Jesse Schwartzentruber
9f9b83dc96 Simplify random.hex 2017-06-07 10:27:51 -04:00
Christoph Diehl
fd6debad01 Use any() rather than file() inside make.files 2017-06-06 07:17:14 +02:00
Christoph Diehl
6110524f78 Fix o.get by calling random.pick instead of the removed random.index 2017-06-06 07:12:31 +02:00
Christoph Diehl
3e8c5c82f7 Fix namespace of quote() 2017-06-06 07:07:08 +02:00
Christoph Diehl
83f241e7b4 Fix namespace of getKeysFromHash 2017-06-06 07:04:43 +02:00
pyoor
ade22d6dc4 Fix standard style issues 2017-06-01 13:30:04 -04:00
pyoor
be4fef5d86 Reduce dependencies in make.network.randomIPv6 2017-05-31 15:58:01 -04:00
pyoor
7f68b11902 Merge make.strings into make.text 2017-05-31 15:57:05 -04:00
pyoor
96d2ffa450 Fix minor style issue 2017-05-31 15:41:02 -04:00
pyoor
5726fc4e2c Simplify make.text.any 2017-05-31 15:40:25 -04:00
pyoor
e7773ee307 Add make.text.any 2017-05-31 15:28:33 -04:00
pyoor
6c009be41d Add make.text.chars 2017-05-31 15:28:20 -04:00
pyoor
52257b6d95 Add make.text.bidiCharCodes 2017-05-31 15:25:48 -04:00
pyoor
9b19775bb8 Move registeredFontFeatures to make.fonts 2017-05-31 15:24:43 -04:00
pyoor
3de3feef21 Modified make.array.filledArray to accept an array of callbacks 2017-05-14 21:22:59 -04:00
Christoph Diehl
7b4bfe7f94 [files.js] Fix namespace 2017-05-02 23:37:06 +03:00
Christoph Diehl
92cac4b901 [numbers.js] Fix typo 2017-05-02 22:32:36 +03:00
Christoph Diehl
39d0f506a5 Use eslint-disable-line no-undef for print() 2017-05-02 22:32:03 +03:00
Christoph Diehl
9a22935f0e [console.js] Use const instead of let 2017-05-02 17:26:49 +03:00
Christoph Diehl
b7fc059dbe [console.js] Use const instead of let 2017-05-02 17:17:36 +03:00
Christoph Diehl
de4dc71820 Use let instead of var in objects.js 2017-05-02 17:12:49 +03:00
Christoph Diehl
37912b3a3f Use let instead of var in objects.js 2017-05-02 17:09:14 +03:00
Christoph Diehl
b55264b24f Use let instead of var in script.js 2017-05-02 17:01:32 +03:00
Christoph Diehl
2ed3e76ab2 Use const and let for platform object 2017-05-02 16:44:59 +03:00
Christoph Diehl
85dc6b9bd8 Update prototypes to use defineProperty 2017-04-27 01:30:33 +03:00
Jesse Schwartzentruber
0302a84fa6 Linter changes
* Override remaining eslint errors from standard
* Run standard with grunt instead of separately
2017-04-26 18:01:48 -04:00
pyoor
f7e3a0c9a4 Fixed bad reference to platform 2017-04-26 10:14:19 -04:00
Christoph Diehl
68c04f6224 Fix logger 2017-04-26 01:28:31 +03:00
Christoph Diehl
6cbda76fea Use Standard as JavaScript standard style 2017-04-26 01:21:31 +03:00
pyoor
973df12a25 Fix path to utils.platform 2017-04-25 13:59:34 -04:00
pyoor
4c7733f1cf Merge branch 'master' of ssh://github.com/MozillaSecurity/octo 2017-04-25 13:05:20 -04:00
pyoor
645434ce7e Added random.hex 2017-04-25 13:04:58 -04:00
Christoph Diehl
ebd4d161f4 [utils] Add init.js 2017-04-25 18:47:19 +03:00
pyoor
ac7ac78d92 Refactor make.unit.unit 2017-04-25 11:24:56 -04:00
pyoor
2e65a4bea3 Fix all type coercion issues 2017-04-25 11:22:15 -04:00
pyoor
aa6e9f567a Rename make.numbers to make.number 2017-04-25 11:19:25 -04:00
pyoor
9869c32457 Rename make.numbers.number to make.numbers.any 2017-04-25 11:18:29 -04:00
pyoor
6adf8b4026 Rename types to any 2017-04-25 11:15:23 -04:00
pyoor
3b64a2af03 Multiple function refactor 2017-04-25 11:15:07 -04:00
pyoor
5ee30f8b21 Rename make.units to make.unit 2017-04-25 11:08:16 -04:00
pyoor
c5791d6250 Remove make.font.globalValue from wrappers 2017-04-25 11:07:35 -04:00
pyoor
549c529210 Refactor make.unit.units 2017-04-25 11:03:55 -04:00
pyoor
6dfe1ffca9 Expand some functions and wrap everything in random.pick 2017-04-25 11:00:01 -04:00
pyoor
21ddc920c9 Initialize make 2017-04-25 10:58:15 -04:00
pyoor
71a2590641 Refactored font class names 2017-04-25 10:12:48 -04:00
pyoor
31c96b4609 Return via random.pick 2017-04-24 17:01:44 -04:00
pyoor
95a95f7317 Corrected jshint warnings 2017-04-24 11:16:10 -04:00
pyoor
18631eab1f Fixed casing on Make 2017-04-24 11:14:58 -04:00
pyoor
8302bac2e1 Fixed bad reference to make.strings.stringFromBlocks 2017-04-24 11:12:08 -04:00
pyoor
b4d8415fb3 Corrected jshint warnings 2017-04-24 11:10:52 -04:00
pyoor
93bcec2976 Corrected jshint warnings 2017-04-24 11:08:38 -04:00
pyoor
ddbbe9f22b Corrected jshint warnings 2017-04-24 11:06:58 -04:00
pyoor
96d746c033 Expanded make.mime with values from DOMFuzz 2017-04-24 11:04:27 -04:00
Christoph Diehl
dfa6ecc685 Move library folders into lib 2017-04-23 01:49:49 +03:00