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
dcodeIO
1f18453c7b
New: Emit an error on resolveAll() if any extension fields cannot be resolved, see #595 + test case
2016-12-30 02:00:27 +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
3d84ecdb47
CLI: pbjs now generates more convenient dot-notation property accessors
2016-12-27 17:57:26 +01:00
dcodeIO
c60cd397e9
CLI: Annotated callback types in pbjs-generated services, see #582
2016-12-22 19:51:41 +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
c59647a754
Docs: Fixed an issue with the changelog generator skipping some commits; Other: Updated / added additional LICENSE files where appropriate
2016-12-20 23:06:23 +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
19e906c2a1
Added filter type to Namespace#lookup, fixes #569 ; Reverted aliases frequently used in codegen for better gzip ratio
2016-12-18 13:29:12 +01:00
dcodeIO
fed2000e7e
Added legacy groups support to pbjs, see #568
2016-12-18 01:56:47 +01:00
dcodeIO
974a1321da
Initial support for legacy groups + test case, see #568
2016-12-18 01:21:27 +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
8f25377cf9
Inlined longNeq; Additional cyclic checks, see 563; More profiling data; Array abuse and varint optimization
2016-12-16 12:38:14 +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
fb74223b72
Simplified programmatic CLI api; Other minor optimizations
2016-12-15 17:51:24 +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
Conor Branagan
5f9bede280
Fix asJSON defaults option, make it work for repeated fields.
...
Fixing two issues in here:
1. When the `defaults` option was enabled, we were using `Object.keys(this)`
which ends up returning an array that includes things like `$root` and
asJSON. Instead we can use the `fields` we already have available.
2. For repeated values we were not setting the empty list default because the
length check would break earlier. We're now passing through when the
defaults option is set as well.
Added a test on this stuff as well.
2016-12-14 17:11:50 -05: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
78952a50ce
Test case for #531
2016-12-09 16:43:23 +01:00
dcodeIO
38d867fc50
Do not skip optional delimiter after aggregate options, fixes #520
2016-12-07 10:55:16 +01:00
dcodeIO
a46cc4934b
Removed as-function overload for Reader/Writer, profiler stub, optimized version of Reader#int32
2016-12-06 15:04:29 +01:00
dcodeIO
54283d39c4
Handle oneofs in prototype ctor, add non-ES5 fallbacks, test case
2016-12-04 14:15:06 +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
ad5abe7bac
Static pbjs target progress, now generates usable CommonJS code, see #512
2016-12-02 00:36:24 +01:00
dcodeIO
d3ae961765
Initial take on runtime services, see #507
2016-11-30 23:05:57 +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
943be1749c
Browser field in package.json isn't required [ci skip]
2016-11-29 22:31:58 +01:00
dcodeIO
3c16e462a2
Remember loaded files earlier to prevent race conditions, fixes #501
2016-11-29 17:16:13 +01:00
dcodeIO
26ba0bb1ab
Fresh master without docs
2016-11-26 11:53:06 +01:00