Commit Graph

97 Commits

Author SHA1 Message Date
Kim Tao
6dc4072453 SERVER-38324: add validation to TransactionCoordinatorDocument decision 2019-01-30 13:23:30 -05:00
Sara Golemon
4f06ba60e0 SERVER-39181 Loosen IDL setParameter restrictions 2019-01-25 17:55:00 +00:00
Sara Golemon
90c1759dab SERVER-38934 Remove IDLServerParameter (without storage) 2019-01-12 03:12:23 +00:00
Mark Benvenuto
73bce03305 SERVER-38880 IDL relational comparison operators without std::tie() 2019-01-11 16:06:20 -05:00
Sara Golemon
9fd676fd83 SERVER-38694 Allow specializing ServerParameter class in IDL 2019-01-10 15:50:05 +00:00
Sara Golemon
3b1c553162 SERVER-38899 Pre-initialize declared variables from defaults 2019-01-08 22:27:07 +00:00
Sara Golemon
28e7a275a1 SERVER-38826 Export yaml constant values as C++ constexprs 2019-01-04 22:08:15 +00:00
Sara Golemon
892b8e5619 SERVER-38584 Move IDL SCPs to Initializers 2018-12-19 00:05:34 +00:00
Mark Benvenuto
9af799a2ea SERVER-38446 idlc.py fails to report errors correct during dependency analysis 2018-12-18 12:19:09 -05:00
Sara Golemon
db3a8c4dad SERVER-25323 Allow marking ServerParameters as 'test only' 2018-12-17 16:15:06 +00:00
Sara Golemon
177c1d3d5f SERVER-38572 Allow arbitrary C++ expressions in literal values 2018-12-14 17:07:05 +00:00
Sara Golemon
5a198957f6 SERVER-38567 Allow IDL params local to be unused 2018-12-13 18:44:26 +00:00
Sara Golemon
c6b193afb1 SERVER-38566 Use static_assert() for runtime thread safety violations 2018-12-13 17:55:52 +00:00
Mark Benvenuto
7f5dd2e615 SERVER-38327 IDL does not support optional types with validators 2018-12-07 11:23:58 -05:00
Sara Golemon
55ade18c48 SERVER-38374 Add redact attribute to IDL based configs/params 2018-12-06 09:20:37 +00:00
Sara Golemon
3560708835 SERVER-38279 Add condition clause to set parameter and config option definitions 2018-11-29 19:51:25 +00:00
Mark Benvenuto
8e6bb7daa4 SERVER-37978 Replace boost::synchronize_value with custom version 2018-11-27 14:45:29 -05:00
Sara Golemon
da22c83c0e SERVER-37093 Implement code-gen for IDL config options 2018-11-24 18:36:50 +00:00
Andrew Morrow
c461f1ecce SERVER-32467 Remove workaround for s390x IDL generation
This partially reverts commit 86afc6ed82.
2018-11-17 11:32:12 -05:00
Sara Golemon
4bbffceb94 SERVER-37920 Convert SSL set parameters to IDL 2018-11-07 00:36:48 +00:00
Sara Golemon
1559bd33d1 SERVER-37089 Implement code-gen for IDLServerParameters 2018-11-02 03:05:54 +00:00
Ramon Fernandez
7ea163c1b4 SERVER-37651 Update license files in idl scripts 2018-10-24 17:03:16 -04:00
Sara Golemon
f960074945 SERVER-37168 Add validators for IDL fields 2018-10-05 23:33:33 +00:00
Mark Benvenuto
6f0a463dea Revert "SERVER-36637 IDL objects should hold owned BSONObjs"
This reverts commit 846a6c1983.
2018-09-14 15:08:41 -04:00
Mark Benvenuto
846a6c1983 SERVER-36637 IDL objects should hold owned BSONObjs 2018-09-14 13:29:37 -04:00
Mark Benvenuto
5603a0812e SERVER-34882 Support creating instances with all required fields in IDL 2018-09-14 13:24:39 -04:00
Mark Benvenuto
1e83ae5db6 SERVER-35247 Undefined is allowed for required fields in IDL 2018-08-29 17:17:45 -04:00
Andrew Morrow
51dce76324 SERVER-34805 Refactor the network libraries and move messages types to rpc/protocol 2018-05-05 12:29:55 -04:00
Mark Benvenuto
930e6de854 SERVER-34228 Add default value support for fields of type enum 2018-05-01 13:37:31 -04:00
Billy Donahue
170a620d29 SERVER-31705 idl refactor relops, generate all 6.
- Add definitions for >, <=, >= to round out the relational algebra.

 - Change relational ops to in-class friend definitions, which means
 they won't be visible or interfere with the overload set on every
 relational op associated with namespace 'mongo::'.

 - Have them all reuse a new 'tieRelational' member,
 so the std::tie is in one place, they are correct by inspection,
 and they can be generated without template interpolation.
2018-04-05 16:13:27 -04:00
Jonathan Abrahams
c50c68fef1 SERVER-23312 Python linting - Lint using pylint, pydocstyle & mypy 2018-04-05 14:41:58 -04:00
Robert Guo
8d4c740471 SERVER-29644 fix python linting 2018-04-05 02:24:22 -04:00
Robert Guo
275c07392a SERVER-29644 Add test suite for Python unit tests 2018-04-05 01:39:23 -04:00
Mark Benvenuto
09253ad8f4 SERVER-33323 Add basic.h to CPP files generated by IDL
Signed-off-by: Charlie Swanson <charlie.swanson@mongodb.com>
2018-04-04 17:23:50 -04:00
Billy Donahue
a16f90edd5 SERVER-34179 refactor isGenericArgument
Remove the static tables floating around at namespace scope.

    break CommandHelpers::isGenericArgument into
    command_generic_argument library so it doesn't have to be inline.
    Some callers depend on it but would have a circularity if they
    actually added db/commands to their LIBDEPS.
2018-04-02 20:04:36 -04:00
Jonathan Abrahams
36148ad8bb SERVER-23312 Format Python files with yapf 2018-03-26 13:04:25 -04:00
Bernard Gorman
40d59f4bc8 SERVER-14900 Log operations that exceed slowMs on mongoS 2018-03-22 03:36:43 +00:00
Siyuan Zhou
a03293b4bd SERVER-32918 IDL chained structs expose their getters and setteres.
Author: Mark Benvenuto
2018-02-06 16:59:08 -05:00
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