Commit Graph

59 Commits

Author SHA1 Message Date
Billy Donahue
a6e45f0e35 SERVER-32646 CommandHelpers 2018-01-16 13:52:44 -05:00
Mark Benvenuto
449905c81a SERVER-32386 IDL should allow custom types for command's first element 2017-12-29 12:15:35 -05:00
Mark Benvenuto
0720daad09 SERVER-32262 IDL produces "const <enum>" return types in generated code 2017-12-27 11:54:14 -05:00
Mark Benvenuto
86afc6ed82 SERVER-32431 IDL generated code seg faults on s390x 2017-12-27 11:54:14 -05:00
Mark Benvenuto
ff01435143 SERVER-32263 IDL Chained Structs should be inlined by default 2017-12-15 11:10:00 -05:00
Mark Benvenuto
143093d6a2 SERVER-31705 IDL Generate Equality and Less than comparison operators 2017-12-12 14:56:42 -05:00
Mark Benvenuto
d89154f2a0 SERVER-31278 IDL definition does not generate properly qualified namespace for imported types 2017-12-08 11:55:23 -05:00
Mark Benvenuto
671dd2c46f SERVER-31660 Bring BSONObj parsers back for IDL generated commands 2017-12-01 11:05:23 -05:00
Mark Benvenuto
015781fb73 SERVER-32005 IDL augment code with compiler likely macro 2017-11-20 13:57:09 -05:00
Mark Benvenuto
88b413760e SERVER-32005 IDL chained struct Inling 2017-11-20 13:57:09 -05:00
Mark Benvenuto
44688cf5f4 SERVER-31753 Add support for immutable IDL types 2017-11-03 16:47:21 -04:00
Mark Benvenuto
cc20ad4cf5 SERVER-30560 Support serialization to OpMsgRequest document sequences 2017-08-14 11:02:12 -04:00
Mark Benvenuto
b85936082d SERVER-29743 IDL generates a default constructor for primitive scalars 2017-08-07 11:15:21 -04:00
samantharitter
68051585b1 SERVER-29201 Implement SessionsCollectionStandalone 2017-08-02 19:21:34 -04:00
Kaloian Manassiev
e30faa0f9b SERVER-30441 Correctly set the _hasField value when deserializing from OpMsgRequest 2017-08-01 15:39:23 -04:00
Mathias Stearn
097323290a SERVER-30193 Remove OP_MSG default for $db 2017-07-26 15:13:34 -04:00
Mark Benvenuto
9b557b1ccc SERVER-29984 Non-strict command parsers do not detect required fields are used correctly in document sequences 2017-07-10 14:14:24 -04:00
Mark Benvenuto
2f30acc9db SERVER-29956 Chained structs inside a command produce non-compilable code 2017-07-05 15:59:25 -04:00
Mark Benvenuto
957ee43d37 SERVER-29779 Add OpMsgRequest parsing and serialization to IDL 2017-06-30 14:33:01 -04:00
Mark Benvenuto
0966ba7c98 SERVER-29634 Support overriding the C++ name for chained structs/types in IDL 2017-06-29 11:53:10 -04:00
Mark Benvenuto
68537d7033 SERVER-29849 IDL generated code should ensure fields are set on serialization 2017-06-27 15:39:30 -04:00
Mark Benvenuto
517cfce6ce SERVER-29778 Add a string constant for the command name to generated classes 2017-06-23 14:24:51 -04:00
Mark Benvenuto
a7f353bd83 SERVER-29777 IDL should disallow optional and default for the same field 2017-06-23 14:24:50 -04:00
Kaloian Manassiev
498c51d75a SERVER-29743 Initialize fields with defaults in IDL
Also adds more descriptive error codes to be returned by the parser for the common error cases.
2017-06-22 13:37:43 -04:00
Kaloian Manassiev
cecff01b54 SERVER-29758 IDL should support a static function serializer 2017-06-21 15:17:36 -04:00
Kaloian Manassiev
6b311efc17 SERVER-29715 IDL generator for commands with required namespace should generate a constructor 2017-06-19 17:17:49 -04:00
Kaloian Manassiev
7339021063 SERVER-29681 Make IDL commands support chained types and structs 2017-06-16 13:59:05 -04:00
Mark Benvenuto
df6004e7fc SERVER-29404 Return optional by const reference where possible 2017-06-14 15:46:18 -04:00
Mark Benvenuto
6d094425cd SERVER-29404 Use a std::bitset instead of std::set when possible 2017-06-14 15:46:18 -04:00
Mark Benvenuto
1a47978c23 SERVER-29404 Use string constants instead of strings in IDL generated code 2017-06-14 15:46:18 -04:00
Mark Benvenuto
684cfd1ecc SERVER-29328 Do not mark primitive types as const 2017-06-06 11:49:01 -04:00
Gabriel Russell
a0ddbc70bc SERVER-29246 idl compiler supports dots in pathnames 2017-06-01 15:41:30 -04:00
Gabriel Russell
d99b57425c SERVER-29046 IDL constants should use cpp_name instead of field name 2017-05-17 11:55:17 -04:00
Mark Benvenuto
b87cce99ff SERVER-28852 IDL support for commands 2017-05-15 10:43:28 -04:00
Mark Benvenuto
107b0bdf95 SERVER-29081 Add toBSON to IDL generated classes 2017-05-12 10:34:39 -04:00
Mark Benvenuto
5ab83cb6e3 SERVER-29089 Add UUID to IDL basic_types.idl 2017-05-12 09:58:02 -04:00
Mark Benvenuto
638339bd4d SERVER-29004 IDL support for enums 2017-05-12 09:45:03 -04:00
Mark Benvenuto
d897cf7429 SERVER-29004 IDL Parser Refactor 2017-05-12 09:45:03 -04:00
Mark Benvenuto
d9bfe530cd SERVER-29039 Hard coded serializer method name 2017-05-03 17:46:00 -04:00
Mark Benvenuto
606b3930d1 SERVER-28828 Parser Chaining support for IDL 2017-05-03 13:09:03 -04:00
Mark Benvenuto
49cf0ebd80 SERVER-28827 BinData for IDL 2017-05-02 09:16:56 -04:00
Mark Benvenuto
3d06c50d94 SERVER-28855 Generate string constants for field names in IDL 2017-05-02 09:16:56 -04:00
Mark Benvenuto
db53b03f5c SERVER-28985 Change IDL serialization contract for objects 2017-05-01 13:10:07 -04:00
Mark Benvenuto
0b4913007f SERVER-28827 Refactor IDL code generator type information 2017-04-26 13:04:44 -04:00
Mark Benvenuto
9782470f7c SERVER-28899 IDL compiler requires objects to have serializers 2017-04-26 13:04:41 -04:00
Mark Benvenuto
7ef8b55ec9 SERVER-28950 IDL compiler relies on platform dependent default file encoding 2017-04-25 15:14:39 -04:00
Mark Benvenuto
38d659ea76 SERVER-28936 Add support for alternate names for fields in generated code in IDL 2017-04-25 14:55:00 -04:00
Mark Benvenuto
abc19736e0 SERVER-28935 Support customization of IDL parsers through derivation 2017-04-25 14:55:00 -04:00
Mark Benvenuto
adcc93b59b SERVER-28900 IDL compiler does not support nested namespaces in generated code 2017-04-25 10:40:45 -04:00
Mark Benvenuto
89be6b3d89 SERVER-28827 Refactor IDL code generator 2017-04-21 12:03:38 -04:00