35 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
39a2ea361c CLI: Removed now unnecessary comment lines in generated static code 2016-12-27 23:53:24 +01:00
dcodeIO
442471363f New: Added a noparse build for completeness 2016-12-23 11:39:11 +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
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
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
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
d5812571f3 Docs: Initial changelog generator, see #574 2016-12-20 13:14:51 +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
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
7939a4bd8b Updated README and bundler according to dynamic require calls 2016-12-18 18:55:07 +01:00
dcodeIO
4531d75cdd Can't just inline longNeq but can be simplified 2016-12-16 14:15:22 +01:00
dcodeIO
fb74223b72 Simplified programmatic CLI api; Other minor optimizations 2016-12-15 17:51:24 +01:00
dcodeIO
19c269f1dc Generate lookupTYPE functions programmatically; Ensure working reflection class names with minified builds 2016-12-14 17:32:07 +01:00
dcodeIO
a54fbc918e Provide prebuilt browser versions of the static runtime 2016-12-13 17:31:31 +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
9ea3766ff1 Proper end of stream signaling to rpcImpl, see #529 2016-12-08 18:24:09 +01:00
dcodeIO
e4faf7fac9 Moved event emitter to util, also accepts listener context, see #529 2016-12-08 17:53:24 +01:00
dcodeIO
f1370ff5b0 More refactoring; Initial RPC service implementaion, see #529 2016-12-08 17:21:58 +01:00
dcodeIO
5606cb1bc4 Refactoring; Removed the need for triple-slash references in .d.ts by providing a minimal Long interface, see #527, see #530 2016-12-08 14:24:56 +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
7c3bf8d32c Refactored codegen, put frozen objects on the prototype, see #526; Trying out jsdoc variations, see #527 2016-12-07 20:29:00 +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
Endel Dreyer
79fbbf48b8 improve TypeScript support. add simple test script. 2016-12-02 16:01:47 +01:00
dcodeIO
96fa07adec Use long.js dependency in tests, reference types instead of paths in .d.ts see #503 2016-12-02 13:22:06 +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
9a762e4e58 Support for IE8 / non-ES5 2016-11-28 16:10:16 +01:00
dcodeIO
702630f0d2 Initial SauceLabs integration, some progress 2016-11-28 00:10:31 +01:00
dcodeIO
26ba0bb1ab Fresh master without docs 2016-11-26 11:53:06 +01:00