46 Commits

Author SHA1 Message Date
dcodeIO
fe917652f8 Other: Updated tests to use new simplified encoder logic 2017-03-20 20:30:25 +01:00
dcodeIO
5041fad9de Other: Additional restructuring for moving configuration files out of the root folder 2017-03-12 22:12:09 +01:00
dcodeIO
948a4caf50 Other: Updated dist and generated test files 2017-03-09 17:44:08 +01:00
dcodeIO
6e81fcb05f Other: Also lint cli utilities 2017-03-06 04:35:50 +01:00
dcodeIO
7502dd2dfd Docs: Documented that Type#encode respectively Message.encode do not implicitly .verify, see #696 [ci-skip] 2017-03-05 23:15:27 +01:00
dcodeIO
e7e123aa0b Other: Cache any regexp instance (perf); Docs: Documented throwing behavior of Reader.create and Message.decode 2017-03-05 23:08:53 +01:00
dcodeIO
963cb63870 Regenerated dist files for 6.6.4 2017-02-28 15:20:19 +01:00
dcodeIO
7c3506b3f0 Fixed: Post-merge, also tackles #683 2017-02-23 04:07:08 +01:00
dcodeIO
6a0920b2c3 Other: Added ES6 syntax flag to pbjs, see #667 2017-01-30 16:13:50 +01:00
dcodeIO
dd96dcdacb Other: Various other minor improvements / assertions refactored away, see #653 2017-01-24 05:05:26 +01:00
dcodeIO
3a056244d3 CLI: Reuse specified root name in pbjs to be able to split definitions over multiple files more easily, see #653 2017-01-24 02:07:46 +01:00
dcodeIO
27b16351f3 Breaking: Reflected and statically generated services use common utility, now work exactly the same 2017-01-21 19:41:55 +01:00
dcodeIO
dca26badfb Breaking: fromObject now throws for entirely bogus values (repeated, map and inner message fields), fixes #601 2017-01-20 17:42:07 +01:00
dcodeIO
4bff9c356e Breaking: Cleaned up library distributions, now is full / light / minimal with proper browserify support for each 2017-01-20 02:50:52 +01:00
dcodeIO
799d0303bf Other: In fromObject, check if object is already a runtime message, see #652 2017-01-19 23:24:19 +01:00
dcodeIO
3325e86930 Other: Properly removed builtins from bundle; Other: UMD wrapper detects more enviroments + loader test cases 2017-01-17 02:11:39 +01:00
dcodeIO
08cda241a3 Fixed: An enum's default value present as a string looks up using typeDefault, not defaultValue which is an array if repeated 2017-01-16 19:23:48 +01:00
dcodeIO
9b090bb167 New: Switched to own property-aware encoders for compatibility, see #639 2017-01-16 18:33:27 +01:00
dcodeIO
3cb8262815 CLI: Further improved generated static code style 2017-01-16 16:51:32 +01:00
dcodeIO
1cc8a2460c CLI: Made sure that static target's replacement regexes don't match fields 2017-01-15 00:36:47 +01:00
dcodeIO
cda5c5452f New: Removed scoping iifes from generated static code 2017-01-15 00:11:40 +01:00
dcodeIO
def7b45fb9 New: Removed even more clutter from generated static code 2017-01-14 23:52:30 +01:00
dcodeIO
dbd19fd9d3 New: Removed various clutter from generated static code 2017-01-14 22:51:03 +01:00
dcodeIO
340d6aa82a New: Now also parses comments, sets them on reflected objects and re-uses them when generating static code, see #640 2017-01-12 23:37:08 +01:00
dcodeIO
a08ee2305a Docs: Updated docs to reflect recent updates [ci skip] 2017-01-12 06:09:51 +01:00
dcodeIO
3946e0fefe Breaking: Initial upgrade of converters to real generated functions, see #620 2017-01-12 05:10:14 +01:00
dcodeIO
1e6a8d10f2 Other: Slightly restructured utility to better support static code default values 2017-01-07 15:42:37 +01:00
dcodeIO
f303049f92 Properly annotate map fields in pbjs, fixes #624 2017-01-07 01:01:05 +01:00
dcodeIO
9035d4872e Added more default value checks to converter, fixes #616 2017-01-04 13:03:12 +01:00
dcodeIO
62eef58aa3 Fixed: Respect long defaults in converters 2017-01-04 12:34:41 +01:00
dcodeIO
e3170a1600 Convert inner messages and undefined/null values more thoroughly, fixes #615 2017-01-04 01:37:09 +01:00
dcodeIO
ee20b81f94 CLI: pbjs/pbts no longer generate any volatile headers, see #614 2017-01-04 00:49:16 +01:00
dcodeIO
9681854526 CLI: Added customizable linter configuration to pbjs; CLI: Added stdin support to pbjs and pbts 2017-01-02 22:02:25 +01:00
dcodeIO
a017bf8a2d Breaking: Dropped IE8 support; New: Converters use code generation and support custom implementations; CLI: Generated static code now supports asJSON/from 2017-01-02 05:46:27 +01:00
dcodeIO
0cda72a55a CLI: Added a few helpful comments to static code 2016-12-31 14:23:44 +01:00
dcodeIO
24b293c297 CLI: Slightly beautify statically generated code 2016-12-31 03:53:46 +01:00
dcodeIO
a7d23240a2 New: Attempt to improve TypeScript support by using explicit exports 2016-12-30 16:33:11 +01:00
dcodeIO
8493dbd9a9 CLI: Reference dependency imports as a module to prevent name collisions, see #596 2016-12-30 13:24:43 +01:00
dcodeIO
39a2ea361c CLI: Removed now unnecessary comment lines in generated static code 2016-12-27 23:53:24 +01:00
dcodeIO
3d84ecdb47 CLI: pbjs now generates more convenient dot-notation property accessors 2016-12-27 17:57:26 +01:00
dcodeIO
24f2c03af9 Docs: Added notes on how to use pbjs and pbts programmatically 2016-12-20 17:44:55 +01:00
dcodeIO
3e7e4fc59e pbjs: Removed type/ns alias comment in static target to not confuse jsdoc unnecessarily 2016-12-20 00:09:44 +01:00
dcodeIO
99ad9cc087 Added .create to statically generated types and uppercase nested elements to reflection namespaces, see #576; Also added Namespace#getEnum for completeness, see #576; Made pbjs use loadSync for deterministic outputs, see #573 2016-12-19 23:51:45 +01:00
dcodeIO
7fac9d6a39 Properly check Buffer.prototype.set with node v4 2016-12-19 00:34:34 +01:00
dcodeIO
fed2000e7e Added legacy groups support to pbjs, see #568 2016-12-18 01:56:47 +01:00
dcodeIO
4531d75cdd Can't just inline longNeq but can be simplified 2016-12-16 14:15:22 +01:00