Commit Graph

1406 Commits

Author SHA1 Message Date
Panagiotis Georgiadis 2801ae5410
Add FAQ 2021-03-28 03:29:04 +02:00
Tim Sarbin 73bf269d48
Merge pull request #1100 from drpaneas/golangci
Update golangci
2021-03-26 18:22:24 -04:00
Tim Sarbin 26c6dde74d
Merge pull request #1102 from drpaneas/readme
Redesign the readme
2021-03-26 18:21:24 -04:00
gravestench 5b1debd3f0
Merge pull request #1105 from drpaneas/fix_ci
Fix golang-ci gocritic error
2021-03-26 11:03:14 -07:00
Panagiotis Georgiadis 4558da0136
Fix golang-ci gocritic error
It should fix this error:
`nilValReturn: returned expr is always nil; replace err with nil`
2021-03-26 18:52:53 +01:00
Panagiotis Georgiadis ded81770df
Link readme to individual docs 2021-03-26 18:28:52 +01:00
Panagiotis Georgiadis 578fa35446
Add user installation information 2021-03-26 18:25:35 +01:00
Panagiotis Georgiadis 6bcde98d6e
Reposition the order - emphasis 2021-03-25 12:17:48 +01:00
Panagiotis Georgiadis 07381b347c
Redesign the readme 2021-03-25 04:37:53 +01:00
Panagiotis Georgiadis 49ae2308f1
Add Go Report Card 2021-03-25 02:31:45 +01:00
Panagiotis Georgiadis db99c66d25
Comply with gofmt -s 2021-03-25 02:29:16 +01:00
Panagiotis Georgiadis e9031d97bd
Disable fieldalignment 2021-03-25 00:51:10 +01:00
Panagiotis Georgiadis f7d974f2a2
Update go modules 2021-03-24 16:02:10 +01:00
Panagiotis Georgiadis 4af41209e7
Enable fieldalignment 2021-03-24 16:01:54 +01:00
Panagiotis Georgiadis 841a3a34bc
Update golangci
* Replace 'maligned' with 'fieldalignment' [1]
* Remove 'interfacer' [2]
* Enable linting against go test files as well
* Disable 'funlen' linter for go table-driven tests

[1] https://github.com/golangci/golangci-lint/pull/1765
[2] https://github.com/golangci/golangci-lint/issues/541
2021-03-24 15:01:00 +01:00
Tim Sarbin ecab467a0f
Merge pull request #1099 from drpaneas/ci
Auto Author Assign
2021-03-24 09:58:47 -04:00
Panagiotis Georgiadis 00a55ad4d4
Auto Author Assign
In most cases, pull request author should be assigned as assignee
of the pull request. This action automatically assigns PR author
as an assignee.
2021-03-24 14:10:17 +01:00
Tim Sarbin 236a091997
Merge pull request #1098 from willroberts/windows-path-support
Use filepath instead of path for Windows support
2021-03-24 08:55:20 -04:00
Tim Sarbin 6c00b3241f
Merge pull request #1097 from drpaneas/fix_config
Fix config.json issues
2021-03-24 08:53:10 -04:00
Tim Sarbin 421d4252d9
Merge pull request #1094 from willroberts/bitmuncher-tests
Adds 100% test coverage for BitMuncher
2021-03-24 08:52:22 -04:00
Tim Sarbin d43ef2c04e
Merge pull request #1093 from anvil-of-fury/anvil-of-fury/cache-tests
Anvil of fury/cache tests
2021-03-24 08:51:44 -04:00
Will Roberts 804f4148d3 Satisfies golangci-lint 2021-03-23 23:40:24 -04:00
Will Roberts 34bc9cc697 Satisfies golangci-lint 2021-03-23 23:37:11 -04:00
Will Roberts d1c1e8bd26 No forward slashes in filepath.Join to satisfy golangci-lint 2021-03-23 23:30:00 -04:00
Will Roberts b18a70cef9 Updates more instances of path->filepath 2021-03-23 23:18:19 -04:00
Will Roberts 222b916002 Use filepath instead of path for Windows support 2021-03-23 23:08:32 -04:00
Panagiotis Georgiadis f8881ed832
Use the same MpqLoadOrder cross-platform
Fixes #1095
2021-03-24 04:02:47 +01:00
Panagiotis Georgiadis 268e65b309
Initialise config.path in case of MPQ error
Fixes #1096
2021-03-24 03:58:49 +01:00
Will Roberts 3b26d825d2 Replaces comparisons with assertions 2021-03-23 22:38:47 -04:00
Will Roberts bfa9c34ecc Adds 100% test coverage for BitMuncher 2021-03-23 22:30:57 -04:00
anvil-of-fury 4835cefef8 removing TODO comment since it broke linting during build 2021-03-21 02:44:37 +00:00
anvil-of-fury ddd72a3aed for now passing test when weight exceeds budget until someone confirms 2021-03-21 02:31:22 +00:00
anvil-of-fury 05c8b5b294 golang lint reformatting applied 2021-03-21 02:27:58 +00:00
evbo a900c6245d added Cache unit tests for non-trivial functions 2021-03-21 01:31:55 +00:00
gravestench 536233ffee
Merge pull request #1091 from gucio321/data-encoder-dat
d2pl2: added RGBA and SetRGBA methods
2021-03-11 22:24:29 -08:00
gravestench 98e13a706a
Merge pull request #1090 from gucio321/hotfix4
d2enum: String and full name methods
2021-03-11 22:23:58 -08:00
gravestench ed28ff1176
Merge pull request #1089 from gucio321/hotfix3
enum: added String method for d2enum.TileType
2021-03-11 22:23:00 -08:00
gravestench 54745a215b
Merge pull request #1088 from gucio321/hotfix2
d2dat: fixed encoder bug (make(..., nonzero) and append later)
2021-03-11 22:22:41 -08:00
gravestench 384db6e75e
Merge pull request #1087 from gucio321/anim-data-encoder
hotfix: string table encoder bug
2021-03-11 22:21:42 -08:00
gravestench 9cb5f2ef6b
Merge pull request #1085 from gucio321/readme-update
Readme update: status + formatting
2021-03-11 22:18:37 -08:00
gravestench 97516d5da9
Merge pull request #1082 from gucio321/hotfix
bugfix: d2util.Logger.Fatal()
2021-03-11 22:17:51 -08:00
M. Sz ce692eb829 pl2: lintfix 2021-03-11 20:24:08 +01:00
M. Sz a7b8f82204 pl2: RGBA and SetRGBA methods for PL2Color24Bits 2021-03-11 11:20:15 +01:00
M. Sz fd9c806928 d2pl2: lintfix 2021-03-11 10:19:19 +01:00
M. Sz 0f08c722f5 d2pl2: added RGBA and SetRGBA methods (to implement HellSpawner/hswidget/hspalettegridwidget.PaletteColor) 2021-03-11 10:07:52 +01:00
M. Sz 352e78ffba d2enum: lintfix 2021-03-11 09:29:08 +01:00
M. Sz a662bbaeb4 d2enum: move compositeType.Name method int composite_type.go; lintfix 2021-03-11 09:22:50 +01:00
M. Sz 00bd2c52a0 d2enum: weapon class: Name method 2021-03-11 09:11:54 +01:00
M. Sz 36f356d0c3 d2enum: draw effect string 2021-03-11 08:35:14 +01:00
M. Sz e7ea9cacce d2enum: composite_type: removed Int method 2021-03-11 08:23:50 +01:00