Commit Graph

35 Commits

Author SHA1 Message Date
Gandalf2k15
a998098d8d hardfix 2021-01-18 19:11:17 +00:00
SkyratBot
afaa156963 [MIRROR] 513.1536 is the stable BYOND version (#2729)
* 513.1536 is the stable BYOND version

* Update dependencies.sh

Co-authored-by: Jordan Brown <Cyberboss@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-01-18 19:02:35 +00:00
SkyratBot
651a7b5507 [MIRROR] Update Dockerfile for CBT (#2713)
* Update Dockerfile for CBT (#56175)

Follow-up to fix the failing Docker CI on master.

- Reorganize the entire Dockerfile to be more readable
- Inline the tgstation/byond Dockerfile into our own, so we can change the base distro at will
- Also allows us to trash the dependencies.sh<->Dockerfile hack
- Use 32-bit libs on a 64-bit distro so that we can download and run recent 64-bit Node binaries
- Call tools/build/build rather than DreamMaker directly

* Update Dockerfile for CBT

Co-authored-by: Tad Hardesty <tad@platymuus.com>
2021-01-18 18:22:09 +00:00
Useroth
ef6481e253 Missed PR mirrors from tgstation (https://github.com/tgstation/tgstation/pull/55373 and https://github.com/tgstation/tgstation/pull/56080) (#2759)
* Mirror of tgstation's Common Build Tooling (#55373)

* tgui 4.3 (#56080)

Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
2021-01-18 07:42:54 +01:00
Alex 'Avunia' Takiya
bea83b2999 [MANUAL MIRROR] Use portable Python for map merge hooks, other tools / Add .dmm merge driver (#2681)
* Use portable Python for map merge hooks, other tools (#55658)

* Add .dmm merge driver (#55699)

This is kind of a prototype. It only fully handles a few situations, 
and doesn't produce particularly easy-to-read conflict markers when it 
fails. I hope that it can be useful at least some of the time, can be 
improved over time, and that the lessons learned can influence a future 
interactive GUI conflict resolver (integrated into StrongDMM?). In the 
worst case, one can fall back to the tried and true "manually re-do one 
side's changes" strategy. 

**Automatic use**: In `tools/hooks/`, run `Install.bat`

**Manual use**, for Git GUIs that don't run merge drivers: while a 
merge is in progress, in `tools/mapmerge2/`, double-click `Resolve Map 
Conflicts.bat`

This PR also removes the error-prone "Prepare Maps.bat" / 
"mapmerge.bat" workflow. Those who aren't using the hooks should 
instead use `Run Before Committing.bat` before committing. First-time 
contributors who opened a PR without map merging can be advised to run 
`I Forgot To Map Merge.bat`.

* Fix loose double-quot in tradership_faction.dmm

Co-authored-by: Tad Hardesty <tad@platymuus.com>
2021-01-14 16:52:24 +01:00
SkyratBot
811e5ba0c0 [MIRROR] Upgrade extools version (#2664)
* Upgrade extools version

* Fix merge conflict due to unmirrored PR

Co-authored-by: Tad Hardesty <tad@platymuus.com>
Co-authored-by: Avunia Takiya <git@takiya.cloud>
2021-01-13 13:55:22 +01:00
SkyratBot
0c53462374 [MIRROR] Refactors the procedural generation of lavaland and turf/closed/mineral (#2131)
* Refactor the procedural generation of lavaland and turf/closed/mineral (#54915)

This replaces lavaland's old diagonal tunnel gen which was really
horrendously jammed into asteroid floor code (?????) with Cellular
Automata which runs in rust (PR for that here:
https://github.com/tgstation/rust-g/pull/57 ). The new code is a bit
cleaner, but also looks better.

VID: https://streamable.com/a45ke2

Things to do:
- Make an icemoon version
- Fix the roundstart atmos adjacency issues

I asked AnturK if this was an acceptable PR for this month; he said it
was okay as long as I didn't add new areas, which I don't plan to do.
But if anyone thinks this PR breaks the spirit of the month I'll open
it again in december.

* Refactors the procedural generation of lavaland and turf/closed/mineral

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
2020-12-11 06:10:38 +01:00
SkyratBot
f725fc5ea8 [MIRROR] Remove PHP_VERSION from dependencies.sh (#1627)
* Remove PHP_VERSION from dependencies.sh (#54833)

Remove PHP_VERSION from dependencies.sh

* Remove PHP_VERSION from dependencies.sh

Co-authored-by: Jordan Brown <Cyberboss@users.noreply.github.com>
2020-11-08 05:03:08 +00:00
SkyratBot
31e9003cbd [MIRROR] Update SpacemanDMM to suite-1.6 (#1237)
* Update SpacemanDMM to suite-1.6 (#54261)

Changelog is here: https://github.com/SpaceManiac/SpacemanDMM/releases/tag/suite-1.6

Relevant improvements to DreamChecker and dmdoc.

* Update SpacemanDMM to suite-1.6

Co-authored-by: Tad Hardesty <tad@platymuus.com>
2020-10-13 04:21:27 +01:00
Tad Hardesty
829e95896e Replace BSQL with rust-g, paramaterize all queries (#51255)
cl
refactor: BSQL has been replaced with rust-g, improving SQL reliability and safety.
/cl

Queries were parameterized as much as possible. Careful code read by someone else also versed in SQL would be a good idea. Things seemed fine spot-testing roundstart, library, bans, and polls, but more stress-testing may be useful.

Also updates rust-g to v0.4.5:

    Improved Linux .so detection
    Perlin noise functions

Also updates Travis script to bionic.
2020-06-08 16:00:07 +12:00
Jordan Brown
c1a7a3e1a1 Add extools to dependencies.sh (#51183)
- Update to tag v0.0.6
2020-05-23 13:00:21 -07:00
spookydonut
e13539a4c5 Update to spacemandmm 1.4 (#50405)
* Update to spacemandmm 1.4

* Now at 513.1514
2020-04-05 19:37:18 +12:00
Emmett Gaines
718074ce55 Build SpacemanDMM from source (#49712)
* Build SpacemanDMM from source

* oops

* Fix new unreachables/dumb code

* ooops cache conflict

* bugfix

* oops

* lint

* ninjanomnom held me down and forced me to delete this
2020-03-05 11:54:04 -05:00
AnturK
745fec6cc5 Paintings icons and persistence. (#49233)
Restores canvases showing up their content on the map.
This only gets updated on finalizing/naming the painting.
Adds persistent paintings, set persistence_id on sign/painting on your map to use it.

Bumps rustg up to 4.3
2020-02-23 00:22:53 +13:00
Tad Hardesty
dbde8d4190 Update Travis to SpacemanDMM suite v1.3 2020-02-18 22:22:43 -08:00
spookydonut
3195ceaa22 Update SpacemanDMM suite to 1.2 (#48785)
* Update SpacemanDMM suite to 1.2

* Fix new lint errors
2020-01-16 11:49:39 -05:00
Tad Hardesty
4273ecfc26 Update Travis to SpacemanDMM suite v1.1 2019-11-09 10:07:35 -08:00
Aleksej Komarov
2e725d93d5 tgui-next: Low level stuff (#47122)
* tgui-next: Low level stuff

- More robust cache reloader, support WSL pathing
- Add a way to only reload the cache once without launching a full dev server

Throw a warning when using lowecase onclick on Button

Improve logging, add loader to inline svgs

- Logger can now handle circular references;
- Logger will not truncate long objects.

Typo, rebase, rebuild

Support --debug flag on dev server, improve logging

Lots of cosmetic and other changes

- Add support for Babel macros
- Implement a "multiline" macro for creating long multiline strings
- Rename interfaces to better match the component naming convention
- LabeledList.Divider size is 2 by default
- Sort routes by name
- Remove package-lock.json files on --clean
- Catch weird JSON parsing errors for better debuggability

Ignore sourcemaps

Clarify what that multiline function is

Try this travis fix

Bump NodeJS version to 12.x

Add a stub to make multiline usable as a template tag

- Just in case we will need to remove macros and have it still working.

Document debug flag in README

Fix LabeledList.Divider, reduce expensive SCSS calls

Separate dev and production builds so that they never overwrite each other

Run linter as a part of the production build

Rebuild tgui

Add react eslint plugin, massive jsx cleanup

* Mint janitor

* Optimization of tgui initialization path

- Call browse with titlebar and resize flags disabled

* Fix backend reducer

* Rebuild, fix linter errors
2019-10-20 16:49:13 +02:00
Tad Hardesty
8a6d13a861 Add dreamchecker 2019-07-03 14:04:16 -07:00
Tad Hardesty
e5ccafd0b0 Split Travis shell scripts by job (#44845)
Part one of some needful Travis cleanup.

    Split the different tasks into their own .sh files rather than doing many things per .sh file
    Use .travis.yml jobs list to select which tasks are run rather than setting environment variables which the shell scripts then check
    Moves the grep lints from running in both "Maps" and "Tests" jobs, and runs them in "Lints" job (formerly "Tools") instead
    Makes the check_filedirs.sh lint only run in the "Lints" job rather than in all three jobs.
    Removes the check that dependencies.sh matches Dockerfile since the former now pulls from the latter
    Uncache node_modules - npm ci is expected to trash this every time and warns when it already exists
    Uncache and remove the unnecessary fake MariaDB folder used when building BSQL, give it the real path instead
    Attempt to cache the BYOND-provided libmariadb (not sure if this works, will re-examine it in part two)

For part two I hope to switch to using rust_g and BSQL binaries from GitHub releases, and add SpacemanDMM's dreamchecker to the Lints job.
2019-07-03 19:37:06 +12:00
HiddenKnowledge
7acd3a4f47 Change dependencies.sh shebang to use bash (#42694)
I changed the dependencies.sh shebang to #!/bin/bash because sh doesn't
understand the ().
2019-02-07 23:57:17 -08:00
Tad Hardesty
e12d6e63e0 Update rust-g to v0.4.2 2018-12-31 12:16:43 -08:00
Tad Hardesty
32a41597f8 Allow updating BYOND version in only one location 2018-10-09 11:20:39 -07:00
Kyle Spier-Swenson
34b1d1d878 Make travis go fast (update BYOND to 512.1452) (#40796)
Gotta go fast.
2018-10-09 11:06:33 -07:00
Jordan Brown
c0561362ce Merge pull request #40167 from AutomaticFrenzy/patch/rustg-git
Use rust-g for revision info instead of parsing .git
2018-09-16 09:09:47 -04:00
Tad Hardesty
be834f317b Bump Node version to 8, tidy tgui build scripts 2018-09-15 11:26:18 -07:00
Tad Hardesty
5c4ef0885f Bump RUST_G_VERSION to 0.4.1 2018-09-13 21:54:09 -07:00
Jordan Brown
eac43e66aa Bump BYOND version to 1448 (#40255) 2018-09-13 22:59:53 -04:00
Tad Hardesty
134446c66d Bump RUST_G_VERSION for Travis 2018-09-08 00:02:13 -07:00
oranges
0f48a6f71f Merge pull request #39277 from AutomaticFrenzy/patch/rustg-api-file
Check that rust-g's API file matches the in-tree copy
2018-07-29 13:37:51 +12:00
oranges
5d4b05eaee Merge pull request #39336 from Cyberboss/BSQLUpdate
Updates BSQL. Adds thread limiter config
2018-07-29 13:35:54 +12:00
Tad Hardesty
f71a1f1ed5 Check that rust_g's API file matches the in-tree copy 2018-07-28 17:15:59 -07:00
Jordan Brown
fd99ee440d Update CI byond version to 512.1441 (#39308) 2018-07-27 13:24:06 -07:00
Jordan Brown
9671bf02b2 Update BSQL_VERSION in dependencies.sh 2018-07-24 16:38:31 -04:00
Jordan Brown
c20be496a8 Adds deploy script. CI artifacts. Dependencies file (#39040)
Adds a simple file to create a work tree with only what's needed to RUN the
game.

.dmb/.rsc, _maps, strings, and some icons and sounds.

Makes the Dockerfile use it.

Also adds dependencies.sh which can serve as a single version source used by
all CI and utils.

Enables appveyor and artifacts, you can now download a .dmb deployment straight
from a PR or master commit.
2018-07-17 20:49:39 -07:00