Commit Graph

161 Commits

Author SHA1 Message Date
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
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