286 Commits

Author SHA1 Message Date
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
dcodeIO
3783af7ca9 Initial pbts CLI for generating TypeScript definitions, see #550 2016-12-13 13:43:22 +01:00
dcodeIO
ce41d0ef21 More micromodules; A lot of minor optimizations to performance and gzip ratio 2016-12-12 23:52:01 +01:00
dcodeIO
28a1d26f28 Make genVerifyKey actually generate conditions for 32bit values and bool, fixes #546 2016-12-12 01:30:06 +01:00
dcodeIO
01365ba911 Added Namespace#lookupType and Namespace#lookupService (throw instead of returning null), see #544 2016-12-12 00:23:58 +01:00
dcodeIO
b8bce03405 Added simple CommonJS and AMD wrappers, see #540; Refactored json/static-module targets to use common wrappers 2016-12-12 00:08:41 +01:00
dcodeIO
5f07302f8f Static target: emit $prototype only if there are any prototype properties, see #540; utf8 1.0.2 2016-12-11 23:54:15 +01:00
dcodeIO
aff21a71e6 static target: Basic support for oneof fields, see #542 2016-12-11 14:13:39 +01:00
dcodeIO
691231fbc4 Refactor cli to support multiple built-in wrappers, added named roots instead of always using global.root and added additionally necessary eslint comments, see #540 2016-12-11 13:39:45 +01:00
dcodeIO
14c207ed6e Restructured reusable micromodules 2016-12-11 00:01:14 +01:00
dcodeIO
4157a0ec2e Also validate map fields, see #526 (this really needs some tests) 2016-12-09 16:11:27 +01:00
dcodeIO
1d99442fe6 Integrated types fixes into our tsd-jsdoc fork, now using void as return type for undefined, see #527; updated internals and static target to use immutable objects on prototypes 2016-12-07 23:37:12 +01:00
dcodeIO
5dc851e35e Versioning, actually had a couple of minor but breaking API changes [ci skip] 2016-12-07 13:44:47 +01:00
dcodeIO
090d8eaf10 Refactored cli targets; added 'defaults' option to Prototype#asJSON, see #521 2016-12-07 13:17:11 +01:00
Daniel Wirtz
046fc9f268 Merge pull request #525 from joakimrapp/missing-syntax-declaration
Missing syntax declaration
2016-12-07 12:46:45 +01:00
dcodeIO
0ce099bf4f Added json-module target to pbjs, renamed static to static-module, see #522 2016-12-07 12:05:41 +01:00
joakimrapp
bb40594672 syntax was never declared
added line 21:
var syntax = 3;

by the way, why not include the json->proto functionality into "util"?
2016-12-07 11:53:25 +01:00
joakimrapp
f1008e6ee5 Update proto.js 2016-12-07 11:47:07 +01:00
dcodeIO
09865d0693 Unified proto/reflection/classes/static encoding API to always return a writer 2016-12-04 13:06:00 +01:00
dcodeIO
81e36a7c14 pbjs static target services support 2016-12-03 15:06:51 +01:00
dcodeIO
4885b8239e pbjs static target progress, uses customizable wrapper template [ci skip] 2016-12-03 01:00:34 +01:00
dcodeIO
926905bf91 Post-merge, accept custom targets in pbjs, see #512 2016-12-02 17:47:14 +01:00
dcodeIO
ad5abe7bac Static pbjs target progress, now generates usable CommonJS code, see #512 2016-12-02 00:36:24 +01:00
dcodeIO
00f3574ef4 Initial static codegen target for reference [ci skip] 2016-12-01 17:40:04 +01:00
dcodeIO
5785dee15d Restructured encoder / decoder to better support static code gen 2016-12-01 16:55:30 +01:00
dcodeIO
6a06e95222 pbjs descriptor.proto compatibility; always use Uint8Array in docs for tsd, see #503 2016-11-30 14:50:22 +01:00
dcodeIO
4affa1b7c0 pbjs proto target field options, language-level compliance with jspb test.proto 2016-11-29 13:20:10 +01:00
dcodeIO
26ba0bb1ab Fresh master without docs 2016-11-26 11:53:06 +01:00