218 Commits

Author SHA1 Message Date
dcodeIO
ef7be352ba Fixed: Properly parse nested textformat options, also tackles #655 2017-01-21 23:48:48 +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
7299929b37 Other: Statically generated services actually inherit from rpc.Service 2017-01-21 00:54:58 +01:00
dcodeIO
6ba8c726a5 New: Statically generated services act mostly the same as runtime services 2017-01-21 00:39:29 +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
b4f4f48f19 New: Relieved the requirement to call .resolveAll() on roots in order to populate static code-compatible properties, see #653 2017-01-20 16:15:21 +01:00
dcodeIO
33da148e2b Other: Added utility to enable/disable debugging extensions to experimental debug build 2017-01-20 05:22:45 +01:00
dcodeIO
fdb1a729ae Other: Fixed node 0.12 tests 2017-01-20 05:05:00 +01:00
dcodeIO
56c8ec4196 New: Added a (highly experimental) debug build as a starting point for #653 2017-01-20 04:56:48 +01:00
dcodeIO
6bc5bb4a76 Other: Fixed coverage 2017-01-20 04:04:26 +01:00
dcodeIO
c5d291f9ba New: Full build depends on light build depends on minimal build, shares all relevant code 2017-01-20 03:46:28 +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
ea3f3b4214 Other: Updated changelog and dist files for 6.5.2 2017-01-19 17:31:30 +01:00
dcodeIO
6877b3399f Other: Coverage progress, 100% 2017-01-19 17:21:42 +01:00
dcodeIO
711a9eb55c Other: Coverage progress 2017-01-19 02:19:47 +01:00
dcodeIO
5aa296c901 Other: Coverage progress 2017-01-18 17:47:43 +01:00
dcodeIO
49053ffa0e Other: Coverage progress 2017-01-18 01:06:30 +01:00
dcodeIO
168e448dba Other: Bundler provides useful stuff to uglify and a global var without extra bloat 2017-01-17 05:51:19 +01:00
dcodeIO
32e0529387 Other: Cleaned and categorized tests, coverage progress 2017-01-17 05:08:15 +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
2c94b641fc Other: Call hasOwnProperty builtin as late as possible decreasing the probability of having to call it at all (perf) 2017-01-16 23:44:53 +01:00
dcodeIO
818bcacde2 Other: Slightly hardened codegen sprintf; Other: Significantly improved uint32 write performance 2017-01-16 23:29:24 +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
f46ee79b0a Other: Updated dist files and types to reflect recent changes 2017-01-16 18:39:12 +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
dbd19fd9d3 New: Removed various clutter from generated static code 2017-01-14 22:51:03 +01:00
dcodeIO
c7e14b1d68 Fixed: Use common utility for virtual oneof getters and setters in both reflection and static code, see #644 2017-01-14 05:21:28 +01:00
dcodeIO
d4272dbf5d CLI: Also accept (trailing) triple-slash comments for compatibility with protoc-gen-doc, see #640 2017-01-13 01:49:47 +01:00
dcodeIO
c280a4a18c Other: Removed now useless trailing comment checks, see #640 2017-01-13 00:33:40 +01:00
dcodeIO
3f6ffd01c3 Other: Restrict comment parsing for static code to explicit /**-blocks because old protos may generate a lot of nonsense otherwise, see #640 2017-01-13 00:31:08 +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
508984b7ff CLI: Replace all occurencies of types[%d].values in static code, see #641; Fixed: Use Type.toObject/Message.toObject within converters, see #641 2017-01-12 21:23:34 +01:00
dcodeIO
d2a97bb818 Docs: Documented internally used codegen partials for what it's worth 2017-01-12 18:05:23 +01:00
dcodeIO
5bca18f2d3 Fixed: Generate null/undefined assertion in fromObject if actually NOT an enum, see #620 2017-01-12 06:00:49 +01:00
dcodeIO
079388ca65 Docs: Updated converter documentation 2017-01-12 05:46:55 +01:00
dcodeIO
44167db494 Other: Ensured that pbjs' beautify does not break regular expressions in generated verify functions 2017-01-12 05:23:41 +01:00
dcodeIO
3946e0fefe Breaking: Initial upgrade of converters to real generated functions, see #620 2017-01-12 05:10:14 +01:00
dcodeIO
57990f7ed8 Other: Also refactored Service and Type to inherit from NamespaceBase, see #635 2017-01-11 02:15:57 +01:00
dcodeIO
e11012ce04 Case-sensitively test for legacy group definitions, fixes #638 2017-01-11 02:11:40 +01:00
dcodeIO
7e57f4cdd2 Properly parse text format options + simple test case, fixes #636 2017-01-10 16:57:27 +01:00
dcodeIO
fe4d97bbc4 Moved TS-compatible Namespace features to a virtual NamespaceBase class, compiles with strictNullChecks by default now, see #635; Docs: Added SVG logo, see #629; Other: Minor codegen enhancements 2017-01-10 16:48:27 +01:00
dcodeIO
1e6a8d10f2 Other: Slightly restructured utility to better support static code default values 2017-01-07 15:42:37 +01:00
dcodeIO
1154ce0867 Properly handle empty/noop Writer#ldelim, fixes #625 2017-01-07 15:30:01 +01:00
dcodeIO
4b786282a9 New: Made sure that Writer#bytes is always able to handle plain arrays 2017-01-07 00:56:55 +01:00
dcodeIO
c2c39fc7ce Fixed: Fixed invalid definition of Field#packed property, also introduced decoder.compat mode (packed fields, on by default) 2017-01-06 01:11:56 +01:00
dcodeIO
11fb1a66ae Fixed: Always decode packed/non-packed based on wire format only, see #602 2017-01-06 00:56:07 +01:00
dcodeIO
8ba3c5efd1 Other: Removed some unused utility, slightly more efficient codegen, additional comments 2017-01-05 15:51:49 +01:00
dcodeIO
f22a34a071 Other: Updated tests for new package.json layout; Other: Added break/continue label support to codegen 2017-01-05 01:44:29 +01:00