54 Commits

Author SHA1 Message Date
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
31da56c177 Other: Various jsdoc improvements and a workaround for d.ts generation, see #592 2016-12-29 17:26:39 +01:00
dcodeIO
3d84ecdb47 CLI: pbjs now generates more convenient dot-notation property accessors 2016-12-27 17:57:26 +01:00
dcodeIO
95ed6e9e82 Fixed: Empty inner messages are always present on the wire + test case + removed now unused Writer#ldelim parameter, see #585 2016-12-27 13:25:16 +01:00
dcodeIO
61fd385674 Other: Various minor improvements and coverage progress 2016-12-26 18:58:17 +01:00
dcodeIO
5b9ade428d Breaking: Moved JSON/Message conversion to its own source file and added Message/Type.from + test case, see #575 2016-12-22 14:21:37 +01:00
dcodeIO
bfee1cc362 New: Now compresses .gz files using zopfli to make them useful beyond being just a reference 2016-12-21 12:52:42 +01:00
dcodeIO
0b0de2458a Breaking: Relicensed the library and its components to BSD-3-Clause to match the official implementation (again); New: Replaced the ieee754 implementation for old browsers with a faster, use-case specific one + simple test case 2016-12-20 22:40:47 +01:00
dcodeIO
24f2c03af9 Docs: Added notes on how to use pbjs and pbts programmatically 2016-12-20 17:44:55 +01:00
dcodeIO
333f022181 Integrated changelog into build process, now also has 'npm run make' for everything, see #574 2016-12-20 14:20:06 +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
964f65a9dd Refactored BufferReader/Writer to their own files and removed unnecessary operations (node always has FloatXXArray and browser buffer uses ieee anyway) 2016-12-18 20:26:02 +01:00
dcodeIO
8ef6975b0b Use custom require (now a micromodule) for all optional modules, see #571 2016-12-18 18:35:31 +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
4bd9bd7254 Post-merge 2016-12-18 15:45:33 +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
7003c56b1a 6.2.1 2016-12-16 17:10:38 +01:00
dcodeIO
4531d75cdd Can't just inline longNeq but can be simplified 2016-12-16 14:15:22 +01:00
dcodeIO
90b201209a Updated dependencies 2016-12-15 19:22:00 +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
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
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
6f9ffb6307 Path micromodule, dependencies 2016-12-14 15:48:00 +01:00
dcodeIO
0b9b1d8505 Test case for #556 2016-12-14 14:00:51 +01:00
dcodeIO
b0aef62191 Inlined any Reader/Writer#tag calls, also fixes #556 2016-12-14 13:25:05 +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
ed86f3acbe README on minimal runtime / available downloads [ci skip] 2016-12-13 18:03:41 +01:00
dcodeIO
3783af7ca9 Initial pbts CLI for generating TypeScript definitions, see #550 2016-12-13 13:43:22 +01:00
dcodeIO
52cd8b5a89 Added Message#asJSON option for bytes conversion 2016-12-13 00:20:50 +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
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
ecbb4a52fb Minimized base64 tables 2016-12-11 17:08:12 +01:00
dcodeIO
163ff71951 6.1.0 [ci skip] 2016-12-11 02:15:29 +01:00
dcodeIO
adf3cc3d34 Transition to micromodules 2016-12-11 02:05:58 +01:00
dcodeIO
11d844c010 Minimal documentation for micromodules 2016-12-11 01:46:20 +01:00
dcodeIO
f1370ff5b0 More refactoring; Initial RPC service implementaion, see #529 2016-12-08 17:21:58 +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
fc9014822d Automatic profile generation and processing [ci skip] 2016-12-06 23:18:30 +01:00
dcodeIO
060a7916a2 Trying SauceLabs with higher concurrency 2016-12-05 21:14:50 +01:00
dcodeIO
0754825339 6.0.2 2016-12-05 20:05:20 +01:00
dcodeIO
f91c432a49 Also optimize reader with what we have learned 2016-12-05 17:26:08 +01:00
dcodeIO
926905bf91 Post-merge, accept custom targets in pbjs, see #512 2016-12-02 17:47:14 +01:00
Endel Dreyer
79fbbf48b8 improve TypeScript support. add simple test script. 2016-12-02 16:01:47 +01:00
dcodeIO
6e5fdb67cb prepublish script for bin files, fixes #511; swallow enum value options (no wrapper), fixes #510; expose zero on LongBits, fixes #508 2016-12-01 11:07:01 +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
aa922c0749 Fixed issues with Root.fromJSON/#addJSON, search global for Long 2016-11-30 01:10:19 +01:00
dcodeIO
943be1749c Browser field in package.json isn't required [ci skip] 2016-11-29 22:31:58 +01:00
dcodeIO
8fdebf8fb5 Post-merge, properly encode negative int32's as 10 bytes [ci skip] 2016-11-28 23:59:48 +01:00
dcodeIO
66ac3f1277 protobuf.js 6.0.0 [ci skip] 2016-11-28 17:58:55 +01:00