77 Commits

Author SHA1 Message Date
dcodeIO
079388ca65 Docs: Updated converter documentation 2017-01-12 05:46:55 +01:00
dcodeIO
3946e0fefe Breaking: Initial upgrade of converters to real generated functions, see #620 2017-01-12 05:10:14 +01:00
dcodeIO
f230d985ab Docs: Updated changelog for 6.4.6 2017-01-11 02:30:58 +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
26d68e36e4 Dynamically resolve jsdoc when running pbts, fixes #622 2017-01-06 03:01:07 +01:00
dcodeIO
c9a61e574f Use full library for JSON modules and runtime dependency for static modules, fixes #621 2017-01-05 21:56:06 +01:00
dcodeIO
e88d13ca7e CLI: Additional workarounds for on demand CLI dependencies, see #618 2017-01-05 01:16:37 +01:00
dcodeIO
44f6357557 CLI: Revised automatic setup of cli dependencies, see #618 2017-01-04 22:24:49 +01:00
dcodeIO
ee20b81f94 CLI: pbjs/pbts no longer generate any volatile headers, see #614 2017-01-04 00:49:16 +01:00
Daniel Wirtz
196fdc0edd Merge pull request #610 from halex2005/master
use Long type from $protobuf
2017-01-03 21:28:00 +01:00
dcodeIO
64f95f9fa1 Install correct 'tmp' dependency when running pbts without dev dependencies installed, fixes #612 2017-01-03 21:26:18 +01:00
halex2005
169638382d use $protobuf.Long 2017-01-04 00:58:21 +05:00
dcodeIO
804739dbb7 CLI: Removed 'not recommend' label for --keep-case, see #608 [ci skip] 2017-01-03 14:55:33 +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
fde56c0de6 Improved bytes field support, also fixes #606; Other: Refactored some internal utility away 2017-01-02 16:36:34 +01:00
dcodeIO
407223b5ce CLI: Static code no longer uses IE8 support utility 2017-01-02 14:13:48 +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
65637ffce2 CLI: Do not wrap main definition as a module and export directly instead; CLI: Generate prettier definitions with --no-comments 2016-12-31 01:08:14 +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
kaka
46ec8209b2 Reference dependencies as imports in generated typescript definitions, see #596 2016-12-30 17:31:56 +08:00
dcodeIO
c0ab94c2e4 Other: Reference dependencies as imports in generated typescript definitions, see #596 2016-12-30 01:52:19 +01:00
dcodeIO
31da56c177 Other: Various jsdoc improvements and a workaround for d.ts generation, see #592 2016-12-29 17:26:39 +01:00
dcodeIO
39a2ea361c CLI: Removed now unnecessary comment lines in generated static code 2016-12-27 23:53:24 +01:00
dcodeIO
e8a4d5373b CLI: Expose tsd-jsdoc's comments option to pbts as --no-comments, see #587 2016-12-27 23:17:35 +01:00
dcodeIO
6fe099259b CLI: Increase child process max buffer when running jsdoc from pbts, see #587 2016-12-27 23:07:49 +01:00
dcodeIO
3d84ecdb47 CLI: pbjs now generates more convenient dot-notation property accessors 2016-12-27 17:57:26 +01:00
dcodeIO
a97956b132 Breaking: Moved camelCase/underScore away from util to where actually used 2016-12-23 12:06:54 +01:00
dcodeIO
c60cd397e9 CLI: Annotated callback types in pbjs-generated services, see #582 2016-12-22 19:51:41 +01:00
dcodeIO
ab3e236a96 Docs: Added static/JSON module interchangeability to README; Minor optimizations through providing type-hints; Performance: Reverted shortened switch statements in verifier; Compatibility: Enums can't be map key types 2016-12-20 01:38:22 +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
3ad8108eab Prevent NRE and properly annotate verify signature in tsd-jsdoc, fixed #572 2016-12-18 16:33:25 +01:00
dcodeIO
bfac0ea9af Stripped out fallback encoder/decoder/verifier completely (even IE8 supports codegen), significantly reduces bundle size, can use static codegen elsewhere 2016-12-18 13:59:52 +01:00
dcodeIO
fed2000e7e Added legacy groups support to pbjs, see #568 2016-12-18 01:56:47 +01:00
dcodeIO
1a6fdc9a11 Added ParseOptions to protobuf.parse and --keep-case for .proto sources to pbjs, see #564 2016-12-16 15:18:38 +01:00
dcodeIO
f1110b0993 Allow null for optional messages, see #562; Other minor improvements to short ifs 2016-12-15 19:18:43 +01:00
dcodeIO
b40c86a66e 6.2.0 [ci skip] 2016-12-15 18:00:06 +01:00
dcodeIO
fb74223b72 Simplified programmatic CLI api; Other minor optimizations 2016-12-15 17:51:24 +01:00
dcodeIO
9b7b92a4c7 Fixed reserved names re, also ensure valid service method names, see #559 2016-12-15 14:49:41 +01:00
dcodeIO
be3e0d92e1 Use extend module; Attempt to alias reserved js names in static codegen, see #559; Some README 2016-12-15 14:44:01 +01:00
dcodeIO
75f4b6cb63 Moved extend implementation to its own micromodule, might help with #560; tsd-jsdoc progress 2016-12-15 12:57:11 +01:00
dcodeIO
8f407a1860 Post-merge; Repo now includes a restructured version of tsd-jsdoc with our changes incorporated for issues/prs, see #550 2016-12-15 02:30:55 +01:00
dcodeIO
4750e3111b pbts: Pipe tsd-jsdoc output (requires dcodeIO/tsd-jsdoc/master) and respect cwd, see #550 2016-12-14 18:30:03 +01:00
dcodeIO
74b2c5c5d3 Process huge strings in chunks, see #555; Run bench in tests for a while; Raw alloc benchmark 2016-12-13 23:24:40 +01:00
dcodeIO
e3e77d0c7d Annotate namespaces generated by static target, see #550 2016-12-13 16:58:15 +01:00
dcodeIO
d31590b82d Notes on descriptors vs static modules [ci skip] 2016-12-13 15:05:25 +01:00