Commit graph

57 commits

Author SHA1 Message Date
Tad Hardesty
a521fbac39 Export IconCache at the root of dmm_tools 2019-11-16 15:59:15 -08:00
Tad Hardesty
e6c132d12b Bump versions for suite 1.1 2019-11-08 20:37:06 -08:00
Tad Hardesty
424731084e Update dependency versions 2019-11-06 18:48:34 -08:00
Tad Hardesty
ff0a740d5b Remove some unused mut annotations 2019-07-04 11:12:38 -07:00
Tad Hardesty
fb133cb7c5 Bump command-line tools to 1.0.0 2019-07-03 13:45:34 -07:00
Tad Hardesty
f9f830ea92 Update dependency versions
Updates git2, rand, jsonrpc-core, lsp-types, pulldown-cmark.
2019-07-02 00:26:02 -07:00
Tad Hardesty
fc40d8092c Update copyright years in dmm-tools and dm-langserver 2019-06-30 14:57:20 -07:00
Tad Hardesty
5d4c54aa14 Remove unneeded macro_use attributes 2019-02-15 17:18:55 -08:00
Tad Hardesty
c749de484e Update various dependencies
Skips most of the editor and langserver for now.
2019-02-01 20:27:34 -08:00
Tad Hardesty
104501a7ae Show missing icon warnings, but only once 2019-01-29 19:36:00 -08:00
Tad Hardesty
272819e4f3 Tidy use of deprecated trim_ variants 2019-01-19 22:22:36 -08:00
Pieter-Jan Briers
e217aee3ce Make icon loading working-dir independent (#49)
The CLI minimap renderer now loads icons relative to the directory of the .dme
file, so icon loading works if the dme isn't in the current working directory.
2018-10-21 14:21:54 -07:00
Pieter-Jan Briers
03d74383f2 Make z-level rendering also parallel (#50) 2018-10-21 14:17:09 -07:00
Tad Hardesty
63fa595bfc Apply a variety of rustfmt suggestions 2018-10-21 14:15:09 -07:00
Tad Hardesty
fb49fdda0a Add detect_environment_default convenience function 2018-10-20 21:39:48 -07:00
Tad Hardesty
34e00fcf4c Specify the tgstation.dme default in one place 2018-09-11 16:50:22 -07:00
Tad Hardesty
4979c003dc Allow specifying a root to detect_environment() 2018-09-11 16:47:41 -07:00
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