Граф коммитов

2863 Коммитов

Автор SHA1 Сообщение Дата
Mark Probst ef9e639df7 Don't copy test inputs
This will allow us to do tests with multiple inputs
without having to worry which tests need which
additional files.
2018-07-14 13:39:43 +02:00
Mark Probst 0678d67d95
Merge pull request #959 from quicktype/fix-build
Fix build
2018-07-13 13:43:35 +02:00
Mark Probst c4afb0a244 Fix quicktype-core 2018-07-13 13:27:17 +02:00
Mark Probst 39f6516807 Add period to CLI flag descriptions 2018-07-13 13:26:38 +02:00
Mark Probst 3c26da0fe9 Fail when publish fails (I hope) 2018-07-13 13:02:44 +02:00
Mark Probst 90a00d0eac
Merge pull request #957 from quicktype/inference-flags
Export inference option types properly
2018-07-13 12:44:06 +02:00
Mark Probst e809c4e55c Export inference option types properly 2018-07-13 12:25:38 +02:00
Mark Probst 88c704a9b9
Merge pull request #956 from quicktype/inference-flags
Inference flags
2018-07-13 12:18:18 +02:00
Mark Probst 0032aa996c Use CLI name for date-time inference option
Otherwise the CLI would be incompatible and we'd have
to bump its major version.  This way we'll introduce an
incompatibility in quicktype-core which we bumped
already anyway.
2018-07-13 11:57:50 +02:00
Mark Probst 939c6157dc Add flag for UUIDs 2018-07-13 11:51:07 +02:00
Mark Probst 49318a257d Add flag for stringified bools 2018-07-13 11:51:00 +02:00
Mark Probst 6eef55fb90 Use inference flags in string type mapping. Fixes #955 2018-07-13 11:39:27 +02:00
Mark Probst db734b3567 Remove unused infer options from Input 2018-07-13 11:07:13 +02:00
Mark Probst b4cfb158f7 Put inference flags into Run default options automatically 2018-07-13 11:06:44 +02:00
Mark Probst 7c76e252a2 Put inference flags into default Run options automatically 2018-07-13 11:06:01 +02:00
Mark Probst ae1e03a15d Use inference flags to generate CLI options 2018-07-13 10:15:50 +02:00
Mark Probst 2eb83f284f Put inference flags into their own type with descriptions 2018-07-13 08:39:10 +02:00
Mark Probst 75229d51c5
Merge pull request #952 from quicktype/uuid
UUIDs.  Fixes #917
2018-07-12 09:04:32 -07:00
Mark Probst 7f6a3d315d UUID in Python 2018-07-12 16:00:15 +02:00
Mark Probst 22f0f6186c UUID in C# 2018-07-12 16:00:01 +02:00
Mark Probst 61cc926758 Support UUIDs in JSON Schema 2018-07-12 15:59:38 +02:00
Mark Probst dd2dd2dfa3
Merge pull request #951 from quicktype/stringified-bool
Stringified bool
2018-07-12 03:15:32 -07:00
Mark Probst 5acd550355 Stringified bools for Python 2018-07-12 11:55:54 +02:00
Mark Probst 9493484bb9 Stringified bools for C# 2018-07-12 11:55:54 +02:00
Mark Probst 1ca8c52214 Test case for stringified bools 2018-07-12 11:55:54 +02:00
Mark Probst dcd2b2657a Support stringified booleans in JSON Schema 2018-07-12 11:55:46 +02:00
Mark Probst 1dc873545e Make tests a little nicer 2018-07-12 11:28:04 +02:00
Mark Probst 64c2595e0d
Merge pull request #950 from quicktype/simplify-transformers
Filter superfluous member matches in choices
2018-07-12 02:01:50 -07:00
Mark Probst da1fe6c2d1 Filter superfluous member matches in choices
We had dead code for encoders of unions of integers,
stringified integers, and something else, because we
superfluously checked the integer member twice.  Now
we do the same as other cases, which is just pick the
simplest one.
2018-07-12 10:35:02 +02:00
Mark Probst 56f8c0cf8c
Merge pull request #949 from quicktype/less-aggressive-map-inference
Make map inference less aggressive. Fixes #924
2018-07-11 11:41:54 -07:00
Mark Probst 6e5661954a Make map inference less aggressive. Fixes #924 2018-07-11 07:32:54 -07:00
Mark Probst 42825a532a Add a comment to force rebuild 2018-07-09 22:12:35 -07:00
Mark Probst a9466811f0 Add a comment to force updated package 2018-07-09 08:42:43 -07:00
Mark Probst 80277588c5 quicktype-core isn't experimental anymore 2018-07-09 08:26:10 -07:00
Mark Probst 881906eebe
Merge pull request #942 from quicktype/rust-is-called-rust
Rust's main name is "rust"
2018-07-08 12:07:43 -07:00
Mark Probst 248f9b08fc
Merge pull request #948 from quicktype/fix-leading-comments
Fix leading comments
2018-07-08 12:07:30 -07:00
Mark Probst ff55338801
Merge pull request #943 from quicktype/fix-windows-cli
Use straightforward hash-bang with /usr/bin/env to fix Windows CLI
2018-07-08 11:44:48 -07:00
Mark Probst 0066688d42 Emit leading comments for Rust. Fixes #945 2018-07-08 11:44:14 -07:00
Mark Probst 6747a86fb2 Print filename comments to stdout if more than one output file 2018-07-08 11:39:26 -07:00
Mark Probst 83b4c70483 Always emit leading comments for Java. Fixes #946 2018-07-08 11:38:32 -07:00
Mark Probst a6ff1a31b3 Rust's main name is "rust" 2018-07-08 11:12:37 -07:00
Mark Probst 33e47fc6f1 Use straightforward hash-bang with /usr/bin/env to fix Windows CLI
See https://github.com/quicktype/quicktype/pull/941
2018-07-08 11:12:12 -07:00
Mark Probst 8197c843e1
Merge pull request #944 from quicktype/update-docker-ubuntu
Update Ubuntu in Dockerfile
2018-07-08 11:09:14 -07:00
Mark Probst 3d1fb94354 Update Ubuntu in Dockerfile 2018-07-08 08:49:18 -07:00
Mark Probst 9baf699415
Merge pull request #941 from quicktype/fix-linux-cli
Fix the CLI on Linux.  Fixes #940
2018-07-04 14:07:20 -07:00
Mark Probst ed79f4f8ca Fix the CLI on Linux. Fixes #940
Problem:

https://stackoverflow.com/questions/4303128/how-to-use-multiple-arguments-for-awk-with-a-shebang-i-e

Solution:

http://sambal.org/2014/02/passing-options-node-shebang-line/
2018-07-04 13:26:59 -07:00
Mark Probst c951ce35cc
Merge pull request #939 from quicktype/dont-start-with-underscore
Don't start Python names with underscores
2018-07-03 21:59:33 -07:00
Mark Probst 37f1e316b0 Don't start Python names with underscores 2018-07-03 21:21:19 -07:00
Mark Probst d4e41b445d Rename the just-types option in Python 2018-07-02 07:12:20 -07:00
Mark Probst 6488b95612
Merge pull request #937 from quicktype/python-improvements
Python improvements
2018-07-01 23:59:05 -07:00