Commit graph

137 commits

Author SHA1 Message Date
spookydonut
a8aedd733e Bump versions for minor release 2021-09-08 16:17:15 +08:00
Tad Hardesty
2b3ede3602 Run cargo update 2021-08-10 16:39:58 -07:00
Tad Hardesty
4149da7c13 Bump versions for suite 1.7 2021-05-18 19:27:39 -07:00
Tad Hardesty
4f8e6da845 Run cargo update 2021-05-18 18:17:20 -07:00
Tad Hardesty
e0095431da Disable editor 2021-03-24 20:34:58 -07:00
ZeWaka
7e3731ea92
Add 514 rgb() support (#254)
Allows for `rgb()` with arguments of form 
`[r,g,b|h,s,[v|l|y]],(a),(space)`

Also allows the full names of the arguments. Technically, BYOND 
supports just the first letter so `halifax` works for `hue` but fuck 
that.

Also now lints to see if the values are in the valid ranges.

Co-authored-by: Tad Hardesty <tad@platymuus.com>
2021-03-18 21:56:05 -07:00
Pieter-Jan Briers
e07801070e
Optimize map rendering (#242)
It is much faster now, way less terrible blitting code.

---
SpaceManiac's benchmarks indicate about 9% speedup when rendering MetaStation with `--release` on.
2021-02-16 18:00:18 -08:00
Tad Hardesty
58e6e7f6fd Fix broken use of syn private re-exports 2021-02-08 12:52:19 -08:00
Tad Hardesty
3e8021087a Run 'cargo update' 2021-02-08 12:50:35 -08:00
Tad Hardesty
2614c453f0 Expand parsing capabilities of entries! proc macro 2020-12-12 20:28:16 -08:00
William Wallace
2737e5d352
Add Auxtools debugging support (#230)
This adds support for a debug server written in auxtools (currently 
located at https://github.com/willox/auxtools).

The dependency is similar to extools, where SpacemanDMM's 
`auxtools_types.rs` has to be up-to-date with the `server_types.rs` 
file located in whichever version of debug server is used. In the 
future this could change to be some shared dependency, or maybe the 
debug server could just be moved into SpacemanDMM.

There's a bunch of repeated code in `mod.rs` where there's match 
statements where one branch is for the extools client and one branch is 
for auxtools client. It's a bit iffy, but they all have minor 
differences and wouldn't be super easy to merge.

I accidentally ran a `cargo fmt` on the files I was working with at 
some point, so there's a few formatting changes about. I don't think 
it's too much to read over.

I haven't edited any documentation yet, so here's how it works:
In your DM project:
```dm
// Currently needed for auxtools' error reporting. TG code already has this defined.
/proc/stack_trace(msg)
	CRASH(msg)

/proc/enable_debugging(mode, port)
	CRASH("auxtools not loaded")

/world/New()
	var/debug_server = world.GetConfig("env", "AUXTOOLS_DEBUG_DLL")
	if (debug_server)
		call(debug_server, "auxtools_init")()
		enable_debugging()
	. = ..()

/world/Del()
	var/debug_server = world.GetConfig("env", "AUXTOOLS_DEBUG_DLL")
	if (debug_server)
		call(debug_server, "auxtools_shutdown")()
	. = ..()
```

In your project's SpacemanDMM.toml
```toml
[debugger]
engine = "auxtools"
```

The extension doesn't have a way to override the DLL being used (and I 
don't think it should), so if you're testing stuff I suggest you set 
the env vars to something like below and use the attach mode:
```
AUXTOOLS_DEBUG_DLL=path_to_your_build
AUXTOOLS_DEBUG_MODE=BLOCK
```
2020-11-27 17:34:52 -08:00
Tad Hardesty
f2dc9a4567 Bump versions for suite 1.6 2020-10-08 19:03:17 -07:00
Tad Hardesty
4fa0aa1c99 Run cargo update 2020-10-08 18:45:46 -07:00
Tad Hardesty
3930cfcffe Update lsp-types dependency to v0.80.0 2020-09-16 20:18:58 -07:00
Tad Hardesty
3d76bc5ed2 Run cargo update 2020-09-16 20:09:54 -07:00
Tad Hardesty
159643e230 Use a proc macro to parse the builtins table DSL
Avoiding the loop/break construct saves about 46K of compiled code size.
2020-09-14 20:19:37 -07:00
Tad Hardesty
aef7fbbebf Work around lodepng making breaking changes in 3.1.0 2020-09-13 18:31:42 -07:00
Tad Hardesty
ac037752c9 Bump versions for suite 1.5 2020-07-11 14:06:42 -07:00
Tad Hardesty
2ee51dc0c3 Upgrade to lsp-types v0.75.0 2020-07-11 13:01:03 -07:00
Tad Hardesty
7f34f0c965 Upgrade to ordered-float v2.0.0 2020-07-11 12:51:17 -07:00
Tad Hardesty
ced3f42620 Upgrade to lodepng v3.0 2020-07-11 12:49:53 -07:00
Tad Hardesty
ccd6f9cae2 Run cargo update 2020-07-11 12:24:54 -07:00
Tad Hardesty
e18092c7fd Remove petgraph dependency 2020-05-09 22:38:55 -07:00
Tad Hardesty
62df607646 Hide petgraph inside ObjectTree 2020-05-08 16:47:35 -07:00
Tad Hardesty
c4e5161647 Bump versions for suite 1.4 2020-04-04 15:40:16 -07:00
Tad Hardesty
a8df352eb2 Update miscellaneous dependencies 2020-04-04 15:36:24 -07:00
Tad Hardesty
b3c77cfd83 Update lsp-types dependency 2020-04-04 15:34:29 -07:00
Tad Hardesty
abe7e760dd Update git2 dependency 2020-04-04 15:13:19 -07:00
Tad Hardesty
6ca656a549 Bump versions for suite 1.3 2020-02-18 21:58:54 -08:00
Tad Hardesty
c684952afe Add json output mode to dreamchecker 2020-02-12 19:35:00 -08:00
Tad Hardesty
9d0c265d5f Update dmdoc to tera 1.0 2020-01-24 21:50:07 -08:00
Tad Hardesty
714c85d436 Update lsp-types dependency 2020-01-24 21:36:50 -08:00
Tad Hardesty
6aaf1c79d3 Run cargo update 2020-01-24 21:33:07 -08:00
spookydonut
f3d4820c72 Warn about invalid filter() kwargs (#154)
Removes a TODO and leaves a new one.
2020-01-21 19:10:46 -08:00
Tad Hardesty
17ba8291f4 Bump versions for suite 1.2 2020-01-13 18:25:14 -08:00
Tad Hardesty
0d766201fd Update dependencies 2020-01-13 18:08:18 -08:00
spookydonut
472d26291c Add configurable warnings (#120)
See included configREADME.md for usage.

Closes #97.
2020-01-12 11:05:46 -08:00
Tad Hardesty
4b2c38a92a Remove time dependency 2019-12-21 20:36:43 -08:00
Tad Hardesty
b381a16501 Update bumpalo dependency 2019-12-20 23:34:56 -08:00
Tad Hardesty
b300d5177f Update lsp-types dependency 2019-12-20 22:04:16 -08:00
Tad Hardesty
4fab93a998 Update git2 and time dependencies 2019-12-20 22:04:16 -08:00
Tad Hardesty
19343ea7d2 Run cargo update 2019-12-20 22:04:16 -08:00
Tad Hardesty
4f45c94f4d Lift lifetime restrictions on get_proc and navigate_path 2019-12-16 22:13:13 -08:00
Tad Hardesty
fb9d3fc04f Run cargo update 2019-12-07 20:22:55 -08:00
Tad Hardesty
e9e8618e17 Implement DocumentColor and ColorPresentationRequest 2019-12-07 16:19:20 -08:00
spookydonut
2b8598bfeb Add "final" vars to dreamchecker (#115)
Adds final vars, `var/final/foo` similar to how `var/static/foo` etc work.

This also checks for duplicate definitions of the same var eg;
```
/a
  var/foo
/a/b
  var/foo
```
will now raise an error in dreamchecker.
2019-12-05 21:27:32 -08:00
Tad Hardesty
3e3132a257 Simplify some nested indentation with guard macro 2019-12-02 22:03:13 -08:00
Tad Hardesty
e6788fc9ca Integrate Category and Layer into RenderPop 2019-11-18 21:29:59 -08:00
Tad Hardesty
10b2d3f99c Replace Box::leak with a bump allocator 2019-11-16 20:45:31 -08:00
Tad Hardesty
1a5b44784d Re-enable editor crate 2019-11-16 11:37:20 -08:00