Commit Graph

112 Commits

Author SHA1 Message Date
Mathias Stearn
d2d1211d03 SERVER-40634 Remove usage of requires which will soon become a keyword
This also permits testing builds with concepts enabled.
2019-05-01 19:14:20 -04:00
Mark Benvenuto
063d5ff458 SERVER-40426 Extend IDL Validators for more types and structs 2019-04-18 16:19:25 -04:00
Mark Benvenuto
286c031264 SERVER-40559 Python linters do not run after upgrade to Python 3 2019-04-16 14:33:43 -04:00
Mathew Robinson
f4feba485b SERVER-40542 Remove references to pip2 2019-04-10 11:42:47 -04:00
Mathew Robinson
8dd6d47557 SERVER-32295 Support Python 3 2019-04-08 14:08:49 -04:00
Jonathan Reams
83383eb160 SERVER-40356 Make ConstDataRange constructable from any byte-like type 2019-04-06 12:40:33 -04:00
Mark Benvenuto
98e970f09d SERVER-40109 Add method for specifying that a command takes a collection name or UUID 2019-03-20 16:08:06 -04:00
Mark Benvenuto
d9952e5bac SERVER-40115 Generated serialization methods for commands which 'concatenate_with_db' do not append the $db field 2019-03-18 18:15:56 -04:00
Mark Benvenuto
115285a443 SERVER-40002 IDL inline dependencies 2019-03-07 19:38:22 -05:00
Sara Golemon
857d20826c SERVER-39907 Migrate enable test commands to IDL 2019-03-02 22:30:30 +00:00
Sara Golemon
8b4f0a7893 SERVER-37095 Reorganize OptionsParser API to be IDL only. 2019-02-28 04:08:48 +00:00
Sara Golemon
a12295d7b1 SERVER-39500 Migrate general server options to IDL 2019-02-16 20:29:59 +00:00
Sara Golemon
406d3c7586 SERVER-39499 Migrate base server options to IDL 2019-02-16 20:29:38 +00:00
Sara Golemon
68f0de6d12 SERVER-38574 Allow declaring IDL based configs without auto-registering 2019-02-14 19:29:22 +00:00
Andrew Morrow
d34aa0fd73 SERVER-39522 Make generated parameter files deterministic 2019-02-12 13:29:30 -05:00
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