Commit graph

40 commits

Author SHA1 Message Date
Tad Hardesty
34cd05e6e3 Make libpng an optional dependency of dmm-tools 2018-08-25 21:37:41 -07:00
Tad Hardesty
c5758eee05 Move detect_environment to dreammaker crate 2018-08-10 03:46:03 -07:00
Tad Hardesty
fc23a54b36 Skip parsing proc bodies except when required 2018-07-31 19:49:23 -07:00
Tad Hardesty
26cd5389c5 Add lints against unsafe code outside FFI zones 2018-07-17 17:30:44 -07:00
Tad Hardesty
095346ce1e Drop unmaintained flame graph generation 2018-07-17 17:22:31 -07:00
Tad Hardesty
5727263ca7 Drop unmaintained xml export 2018-07-17 17:18:16 -07:00
Tad Hardesty
34c70dbf67 Improve ergonomics of cli check command
- Don't print the "render may be inaccurate" message.
- Set the exit status to the number of diagnostics printed.
2018-07-02 00:39:08 -07:00
Tad Hardesty
1b5b85b207 Emit hints for parse errors in proc bodies
Instead of appearing in the problems pane, these errors will subtly
grey-underline the erroring location, making them visible but
non-obtrusive in the editor.
2018-07-02 00:16:27 -07:00
Tad Hardesty
1a45596025 Add check subcommand to CLI for printing warnings 2018-07-01 13:05:07 -07:00
Tad Hardesty
62bc204bd4 Print parsing errors as they happen instead of only at the end 2018-07-01 12:46:27 -07:00
Tad Hardesty
d21cec68d1 Limit the output of CLI parsing to errors only 2018-06-27 20:35:24 -07:00
Tad Hardesty
4e7dac6d19 Bump cli to v0.1.1 2018-05-26 18:51:11 -07:00
Tad Hardesty
f3d2710503 Autodetect the environment file in the CLI when possible 2018-05-17 16:32:40 -07:00
Tad Hardesty
c90b1ae320 Update dependencies 2018-04-16 19:53:50 -07:00
Tad Hardesty
5fd7c2081b Add detailed version information to cli 2018-04-12 01:06:30 -07:00
Tad Hardesty
3cf211d9ee Add a proper description and name to cli 2018-04-12 00:42:01 -07:00
Tad Hardesty
8226dbcfa0 Move --jobs up for easier init, prefix threaded output 2018-03-13 01:50:19 -07:00
Tad Hardesty
a33dedbdfc Add ability to run map rendering jobs in parallel 2018-03-13 01:27:50 -07:00
Tad Hardesty
3896c2c74c Add a json output mode to list-passes 2018-03-11 16:17:51 -07:00
Tad Hardesty
85f59dd111 Improve output of list-passes 2018-03-11 13:16:10 -07:00
Tad Hardesty
8bf935eaa8 Add a cli subcommand for xml objtree output 2018-03-11 01:16:22 -08:00
Tad Hardesty
4c4a7aef4a Return best-effort object trees in case of parse error 2018-03-11 00:04:35 -08:00
Tad Hardesty
d6597f7101 Fix resource literals not terminating correctly 2018-03-10 20:38:30 -08:00
Tad Hardesty
485afc6806 Update Cargo dependencies 2018-03-07 01:18:14 -08:00
Tad Hardesty
d261bb863d Move the file list from Preprocessor to its own struct 2018-03-01 19:42:38 -08:00
Tad Hardesty
c57d9f078e Print a message rather than panic on parse failure in CLI 2018-02-27 13:52:22 -08:00
Tad Hardesty
29ed27b1ad Add a flag to run optipng on the output automatically 2018-02-27 12:56:15 -08:00
Tad Hardesty
dac40b6156 Give more helpful errors on file-not-found 2018-02-21 23:31:53 -08:00
Tad Hardesty
82ffcc032a Port window spawners to a render pass 2018-02-08 20:43:02 -08:00
Tad Hardesty
135af44947 Comma-separate arguments to --enable and --disable
Ideally these would only take single arguments and remain repeatable in
addition to being comma-separated but this is kind of annoying to do in
the current setup so this is what we get.

Fixes #2.
2018-01-25 19:45:22 -08:00
Tad Hardesty
35e6bed3e0 Add map-info subcommand
Only JSON output is currently available. Will be expanded with flags for
more information and non-JSON output in the future.

Closes #4.
2018-01-25 19:10:06 -08:00
Tad Hardesty
a3cb0653fc Add a flag to run pngcrush on the output automatically 2018-01-23 22:22:46 -08:00
Tad Hardesty
6e742e6fb1 Add diff-maps subcommand to print coordinates that have been edited 2018-01-17 00:39:39 -08:00
Tad Hardesty
2cadb5478f Change CLI to be subcommand- rather than strictly flag-based 2018-01-17 00:18:12 -08:00
Tad Hardesty
28d5cd4950 Add ability to enable/disable specific render passes 2018-01-16 19:17:56 -08:00
Tad Hardesty
ab67f4eab9 Add support for cropping map renders 2018-01-16 04:48:54 -08:00
Tad Hardesty
8ced30b0c6 Add some simple lints and attendant CLI support 2017-11-12 01:21:04 -08:00
Tad Hardesty
e5df441414 Separate CLI crate and add argument parsing 2017-11-07 03:05:40 -08:00
Tad Hardesty
7957f32657 Split the editor and tools into separate crates 2017-11-04 02:23:14 -07:00
Tad Hardesty
f9371013c5 Split the crate into two binaries and add initial GUI work 2017-11-03 14:58:26 -07:00