Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More conflicts #11

Merged
merged 256 commits into from
Apr 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
256 commits
Select commit Hold shift + click to select a range
e53d247
Show IME preivew
Qrox Mar 22, 2022
5539c7c
Show new text when querying whether to save
Qrox Mar 23, 2022
b8345ab
Implement page up/down and fix home/end
Qrox Mar 25, 2022
0086446
Break after CJK characters
Qrox Mar 26, 2022
13ef2c2
Add confirmation hotkey to string editor window
Qrox Mar 26, 2022
22cdc5f
Keep cursor x coordinate when moving up and down multiple times
Qrox Mar 26, 2022
3b41121
Put cursor between lines at the end of the first line unless the firs…
Qrox Mar 26, 2022
b44d325
Initial Scavenger updates
haveric Mar 27, 2022
8104881
slimespring → slime microbian
Faalagorn Mar 27, 2022
6ee80df
Update dictionary.txt
Faalagorn Mar 27, 2022
904c333
Add dirt floor overhead light variant.
haveric Mar 27, 2022
3d0899f
Adjust item spawns. Cleanup junk shop mapgens
haveric Mar 27, 2022
8837c72
Merge branch 'master' into tacoma-scavenger
haveric Mar 27, 2022
4d717be
Attempt to appease the warnings. Remove extra player_character
haveric Mar 27, 2022
db558e1
Sub-holsters: use best_pocket codepath when storing in holsters
dseguin Mar 27, 2022
eed9ff9
Sub-holsters: unit tests for multi-pocket holsters
dseguin Mar 27, 2022
4656ae9
Sub-holsters: include added pockets in "store item" list
dseguin Mar 27, 2022
72e8d03
Sub-holsters: unit tests for item stack overflow
dseguin Mar 28, 2022
fe0df0c
Remove unused member
Qrox Mar 29, 2022
ea0735e
Highlight entire line
Qrox Mar 29, 2022
25baa1b
Ensure each folded line has at least one character
Qrox Mar 29, 2022
11beed5
Misc cleanup
Qrox Mar 29, 2022
22f410b
Remove unnecessary const
Qrox Mar 29, 2022
ef07da9
Move clang-tidy script to a separate file
BrettDong Mar 29, 2022
7a5f8db
Use GitHub REST API to determine files changed in clang-tidy workflow
BrettDong Mar 29, 2022
2af8b78
Fix area outside active borderless window contains glitched graphics …
Qrox Mar 16, 2022
03ad172
Restart redrawing after exiting from debug message popup called insid…
Qrox Mar 30, 2022
5694b43
Restore clip rect when returning from debug message popup
Qrox Mar 30, 2022
94baffd
Call wnoutrefresh instead of catacurses::refresh
Qrox Mar 30, 2022
02f232e
Invalidate frame buffer before showing debug message
Qrox Mar 30, 2022
8dd1c96
Default itemgroups to overwrite if not extending
anothersimulacrum Mar 29, 2022
e2a31f0
Add script to convert all itemgroups to extend
anothersimulacrum Mar 30, 2022
9667920
Aftershock: Convert itemgroups to extend
anothersimulacrum Mar 30, 2022
098f7a5
CRT: Convert itemgroups to extend
anothersimulacrum Mar 30, 2022
ec3cfe6
Crazy Cata: Convert itemgroups to extend
anothersimulacrum Mar 30, 2022
58d8311
DinoMod: Convert itemgroups to extend
anothersimulacrum Mar 30, 2022
6836db0
Magiclysm: Convert itemgroups to extend
anothersimulacrum Mar 30, 2022
61efd55
My Sweet Cata: Convert itemgroups to extend
anothersimulacrum Mar 30, 2022
7f9a100
Tropicata: Convert itemgroups to extend
anothersimulacrum Mar 30, 2022
6c34c44
Deadly Bites: Convert itemgroups to extend
anothersimulacrum Mar 30, 2022
7fa9a3e
Innawoods: Convert itemgroups to extend
anothersimulacrum Mar 30, 2022
2685c79
MMA: Convert itemgroups to extend
anothersimulacrum Mar 30, 2022
4c75b84
Update gloves.json
Jarewill Mar 31, 2022
6fde5e7
Update custom_gloves.json
Jarewill Mar 31, 2022
39f9054
Fix broken local markdown links
xuvatilavv Mar 31, 2022
9a60dc7
Fix color image links
xuvatilavv Apr 1, 2022
be3cb59
Update Fedora compiler link
xuvatilavv Apr 1, 2022
d80bbc7
Update other.json
Maleclypse Apr 1, 2022
1ce0619
Merge pull request #56495 from Jarewill/fingerless
Rivet-the-Zombie Apr 1, 2022
f4be934
Rename `cata-no-static-gettext` to `cata-no-static-translation`
Qrox Apr 1, 2022
e8641ab
Change `cata-no-static-translation` message and check more translatio…
Qrox Apr 1, 2022
baea7e2
[DDotD] Remove post-2000 guns, rename military guns (#55864)
TheShadowFerret Apr 1, 2022
a678f4d
Use archive for turnout gear source
xuvatilavv Apr 1, 2022
f0715f7
tjking293-add-karambit (#56515)
TJKing293 Apr 1, 2022
cb3992b
Routine i18n updates on 02 April 2022
BrettDong Apr 2, 2022
e5f7ce7
Merge pull request #56522 from CleverRaven/i18n
Rivet-the-Zombie Apr 2, 2022
18b9797
Define remaining comparison operators of `translation`
Qrox Apr 2, 2022
5c39685
JSON formatter: show filename on empty input (#56524)
dseguin Apr 2, 2022
c86257c
Update Altica 2022-04-02
Apr 2, 2022
def9291
Update Ultica 2022-04-02
Apr 2, 2022
0e0aae4
Update ChibiUltica 2022-04-02
Apr 2, 2022
624c811
Update MshockXotto 2022-04-02
Apr 2, 2022
3526fba
Update Larwick_Overmap 2022-04-02
Apr 2, 2022
4164ac9
River cave for cephalopod samples (#54982)
Maleclypse Apr 2, 2022
8762969
Merge pull request #56531 from Fris0uman/tielsetufdpe
kevingranade Apr 2, 2022
286925b
Expanding bronze: Armor (#55969)
Jarewill Apr 2, 2022
eb5c8be
added matchbox (#56086)
UnknownRori Apr 2, 2022
0c91f3c
Added holster use action to load bearing vests (#56091)
ProjectileWaterfowl Apr 2, 2022
86f487f
Merge pull request #56215 from Qrox/background
kevingranade Apr 2, 2022
76015ef
Merge pull request #56253 from Qrox/editor
kevingranade Apr 2, 2022
f975b71
feat: label prs based on summary line (#56265)
casswedson Apr 2, 2022
1fd8d33
Allow planting from manual plowing as soon as you have a farm (#56292)
haveric Apr 2, 2022
2e7d272
Hub 01 intercom dialogue revamp (#56308)
Ilysen Apr 2, 2022
afbee83
Add double space
Faalagorn Apr 2, 2022
15c73c7
[CR] Scrap metal rework (#56339)
Drew4484 Apr 2, 2022
e99b733
Update isolated_road_npcs.json (#56365)
bombasticSlacks Apr 2, 2022
24f75f2
Merge pull request #56367 from dseguin/pockets_and_subholsters
kevingranade Apr 2, 2022
f80e529
Update piercing.json (#56369)
ZombieZilla Apr 2, 2022
e82e197
Update materials.json (#56370)
KittyTac Apr 2, 2022
d0221e2
[DinoMod] appalachiosaurus (#56371)
LyleSY Apr 2, 2022
db20eb3
Strider typo
TheShadowFerret Apr 3, 2022
add752e
Fix Rubik's anesthetic quest (#56546)
haveric Apr 3, 2022
96d10a5
Merge pull request #56551 from TheShadowFerret/StriderTypo
Rivet-the-Zombie Apr 3, 2022
10aed29
Fixes for eyewear and other rigid issues (#56398)
bombasticSlacks Apr 3, 2022
fafc8ab
Proficiencies window: add calls and shortcuts to @-menu
dseguin Mar 31, 2022
94e08a8
Proficiencies window: create and assign proficiency categories
dseguin Mar 31, 2022
5895f41
Proficiencies window: _prof_window class and draw calls
dseguin Apr 2, 2022
b89682c
Proficiencies window: extract JSON fields for translation
dseguin Apr 3, 2022
1d61c1b
Proficiencies window: update documentation
dseguin Apr 3, 2022
2bd39cd
Proficiencies window: add proficiency filtering
dseguin Apr 3, 2022
d91bee1
Apply suggestions from code review
dseguin Apr 3, 2022
7e76a30
Proficiencies window: display additional proficiency details
dseguin Apr 3, 2022
ba5e863
Add directions signpost to exodii safehouses and some pods (#56540)
I-am-Erk Apr 3, 2022
88799b2
Move belts from WAIST layer to waist sublimb (#56376)
Jarewill Apr 4, 2022
fc01add
Merge pull request #56380 from Faalagorn/slime-microbian
kevingranade Apr 4, 2022
422846d
Expanding bronze: Weapons (#56381)
Jarewill Apr 4, 2022
773695f
XL holster spelling (#56394)
TheShadowFerret Apr 4, 2022
f857179
Merge pull request #56403 from haveric/tacoma-scavenger
kevingranade Apr 4, 2022
174d31e
Rename label (#56410)
NetSysFire Apr 4, 2022
0de18b7
Add a more complex sub station to Hub 01 (#56411)
John-Candlebury Apr 4, 2022
d1cc9f4
TropiCataclysm: tropical fishes (#56413)
Xaritscin Apr 4, 2022
b66a9b5
More aggressive NEW! recipe flag toggle (#56416)
RoyBerube Apr 4, 2022
3a2a5bc
Adds lamp oil powered oil press (#56417)
Light-Wave Apr 4, 2022
0d17de3
Make junk chainmail be made of chain instead of solid metal (#56420)
actually-a-cat Apr 4, 2022
df6d5f0
Merge pull request #56548 from Faalagorn/patch-13
Rivet-the-Zombie Apr 4, 2022
f373d83
fix test_tool_belt_pocket_mix (#56578)
mqrause Apr 4, 2022
b0b5bcf
Mutation infrastructure and a Threshold calculation revamp (#56421)
MylieDaniels Apr 4, 2022
cbd626a
inventory_selector: delete some deprecated code (#56427)
andrei8l Apr 4, 2022
badea40
Expand armor definition for cestus (#56429)
Jarewill Apr 4, 2022
1c66fc2
Clarify smartphone cases (#56434)
Faalagorn Apr 4, 2022
77cec43
Minor t-shirt variants fixes (#56435)
Faalagorn Apr 4, 2022
09b95d5
[Innawoods] Pickling and cheese (#56443)
Sathra225 Apr 4, 2022
038bc15
mercenary attire (#56448)
bombasticSlacks Apr 4, 2022
568b478
[Innawood] Minor caves update (#56449)
Light-Wave Apr 4, 2022
c669f81
Update holster.json (#56452)
Maleclypse Apr 4, 2022
d97942c
Merge pull request #56454 from BrettDong/clang-tidy
kevingranade Apr 4, 2022
af04487
Adds more rocks to mining results (#56455)
Sathra225 Apr 4, 2022
76ba3ef
easy text fix
bombasticSlacks Apr 4, 2022
f430da6
Update effects.json (#56459)
Faalagorn Apr 4, 2022
a1320d9
Update npctalk.cpp (#56464)
Faalagorn Apr 5, 2022
f9fe8e9
Add missing serial commas to WETCODEs definitions (#56466)
Faalagorn Apr 5, 2022
0073387
Fix extension_cable name (#56467)
Faalagorn Apr 5, 2022
ab0f660
Fix Aftershock typos and texts (#56470)
Faalagorn Apr 5, 2022
790d3f4
Added non-zero price_postapoc to fasteners.json (#56475)
Inglonias Apr 5, 2022
4cbd44f
UI fixes for rigid armor (#56476)
bombasticSlacks Apr 5, 2022
d8e2a0b
Extend monfaction: tool to convert attitude tags to arrays
dseguin Apr 4, 2022
b905fb4
Extend monfaction: convert attitudes to arrays
dseguin Apr 4, 2022
2b7edc4
Extend monfaction: use generic_factory when reading attitudes
dseguin Apr 4, 2022
e81f21a
Extend monfaction: unit test
dseguin Apr 4, 2022
aba61a8
Merge pull request #56594 from bombasticSlacks/vest-remove
Rivet-the-Zombie Apr 5, 2022
77d4a83
Isolated artisans writing touchup (#56438)
Ilysen Apr 5, 2022
c1f4cf8
Don't treat movement noises as provocative (#56616)
kevingranade Apr 5, 2022
4055153
restaurant.json: add missing gutters
NetSysFire Apr 5, 2022
3830327
Also add missing gutters to foodplace roof
NetSysFire Apr 5, 2022
e155f46
Add horse breeding (#55907)
AtomicFox556 Apr 5, 2022
29a2c2b
Allow cataphract armor repairs (#56372)
Ilysen Apr 5, 2022
db52ab2
Allow using lactose-free milk in recipes (#56393)
AtomicFox556 Apr 5, 2022
9f22143
Dumpsite and homeless camp mutables (#56482)
LovamKicsiGazsii Apr 5, 2022
a006d14
Zone sort: perform unload if player is adjacent to zone (#56483)
dseguin Apr 6, 2022
3f66daf
Add conversion to freezer for itemized fridge (#56486)
Stretop Apr 6, 2022
5697454
Subsonic 57 ammo (#56488)
Maleclypse Apr 6, 2022
6e69efe
Balance "cut_grass"/"remove_grass" constructions and grass cutting to…
merrygin Apr 6, 2022
4c8ff78
[Innawood] Add bronze sickle (#56492)
merrygin Apr 6, 2022
c6264a1
Fix exclude functionality of compose.py (#56493)
Fris0uman Apr 6, 2022
26872ca
Remove welding tool from clothing recipes (#56496)
AtomicFox556 Apr 6, 2022
7aa1d50
Mark missing basecamp strings for translation (#56497)
Faalagorn Apr 6, 2022
c5e8083
Merge pull request #56502 from xuvatilavv/fix-md-links
kevingranade Apr 6, 2022
bf3e749
Merge pull request #56504 from Maleclypse/fur-sleeping-roll-recipe
kevingranade Apr 6, 2022
0ac1fb6
More triagebot labels (#56505)
Maleclypse Apr 6, 2022
ed36f6b
Add support to build clang-tidy checks as an executable to the CMake …
Qrox Apr 6, 2022
5c8e6e3
Meese (#56508)
Qrox Apr 6, 2022
9c34046
Merge pull request #56509 from Qrox/static-translation
kevingranade Apr 6, 2022
5188e38
Skylight simplify (#56514)
RoyBerube Apr 6, 2022
daeca0e
tjking293-add-karambit-recipe-and-spawn-locations (#56518)
TJKing293 Apr 6, 2022
abd5583
More repairs_like (#56519)
TheShadowFerret Apr 6, 2022
cc4cd99
[CrazyCata] Flu shot fix, armory quest realism, labels the penultimat…
MylieDaniels Apr 6, 2022
d02e825
Fixes for clang issue that just got merged (#56599)
bombasticSlacks Apr 6, 2022
6183c4d
Add SHEATH_SPEAR to spear_rebar (#56534)
Faalagorn Apr 6, 2022
d77cfeb
docs: TODOs report in readme (#56535)
casswedson Apr 6, 2022
ef0602b
ci: don't apply test labels if workflow was skipped (#56536)
casswedson Apr 6, 2022
fa88d12
Fix lapin becoming smokes (#56538)
haveric Apr 6, 2022
1806050
Add a comma after supermarket (#56539)
haveric Apr 6, 2022
8668234
Add keybind for debug_hour_timer (#56547)
haveric Apr 6, 2022
1d3dbea
Merge pull request #56549 from dseguin/proficiencies_window
kevingranade Apr 6, 2022
a73be4c
Merge pull request #56618 from NetSysFire/restaurant-gutters
Rivet-the-Zombie Apr 6, 2022
1f4476f
Create cs_city_dump_small.json (#56556)
mx-moonling Apr 6, 2022
cdeabce
Improve bionic removal chance from doctors (#56558)
haveric Apr 6, 2022
64c0af7
Use name of subject when completing teaching (#56559)
dseguin Apr 6, 2022
5dd05a9
fix: incorrect labeler regex (#56560)
casswedson Apr 6, 2022
1794537
Add Light-Wave to CODEOWNERS (#56561)
TheShadowFerret Apr 6, 2022
b57a095
actually keep scenario when randomizing all but scenario with cities …
mqrause Apr 6, 2022
732d4df
Retry when GitHub gives 502 error on generate_changelog script (#56563)
KurzedMetal Apr 6, 2022
7ff6fd5
Rephrase matches/lighter descriptions to read better (#56570)
haveric Apr 6, 2022
28d21fc
[DinoMod] struthiomimus and ornithomimus (#56579)
LyleSY Apr 6, 2022
f9bc1cb
More rigid fixes (#56581)
bombasticSlacks Apr 6, 2022
425a022
Update enchanted_belts.json (#56587)
Jarewill Apr 6, 2022
a2321bf
MOLLE rigging → webbing (#56588)
Faalagorn Apr 6, 2022
fdbe06d
Only use empty worlds when selecting "Play Now" (#56591)
dseguin Apr 6, 2022
d2e9b7f
Add phones with cases to zombie death drops (#56592)
Termineitor244 Apr 6, 2022
b0f6f6d
Merge pull request #56596 from dseguin/extend_monfaction
kevingranade Apr 6, 2022
0837e57
adjust nested chunk coordinates (#56612)
mqrause Apr 6, 2022
810586e
heavy duty → heavy-duty (#56619)
Faalagorn Apr 6, 2022
fb072e7
Fix octopus monster names case (#56545)
Faalagorn Apr 6, 2022
ba9af2e
Add leather cordage (#56543)
AtomicFox556 Apr 6, 2022
8c92c6d
This debugmsg call was missing one parameter (#56625)
jbytheway Apr 6, 2022
6c500c8
Fix error for non-default color settings (#56610)
haveric Apr 6, 2022
610fb34
Update Innawood scenario names (#56589)
Faalagorn Apr 6, 2022
8682c31
Fix one missing Kevlar instance
Faalagorn Apr 6, 2022
69830f8
Merge pull request #56634 from Faalagorn/patch-1
Rivet-the-Zombie Apr 7, 2022
0a1e570
Fix double space in item name
Faalagorn Apr 7, 2022
2dda6db
Convert woodworking machines to appliances (#56628)
ZombieZilla Apr 7, 2022
6a9351f
Weakpoint proficiencies: (some) zombies and insects
dseguin Mar 31, 2022
39bdb68
Weakpoint proficiencies: fix focus-setting flaw in npc talk test
dseguin Mar 31, 2022
9dce6c0
Apply suggestions from code review
dseguin Apr 7, 2022
ce174da
Weakpoint proficiencies: use prof_intro_biology as a common requirement
dseguin Apr 7, 2022
e48cccf
Density sanity check (#54747)
drhead Apr 8, 2022
6a8bdff
Monster lore: keep a list of known monsters per character
dseguin Apr 8, 2022
fb9425b
Monster lore: show list of recorded monsters in faction ui
dseguin Apr 8, 2022
f3532d5
Monster lore: record monster type when snapping a photo
dseguin Apr 8, 2022
a8f0168
Merge pull request #56654 from Faalagorn/patch-1
Rivet-the-Zombie Apr 8, 2022
60a14f6
Monster lore: display additional monster details
dseguin Apr 8, 2022
77a5a14
Routine i18n updates on 09 April 2022
BrettDong Apr 9, 2022
e31f874
[Magiclysm] Added crowbar use_actions to toolbars (#55513)
catdach Apr 9, 2022
9442cdb
[Magiclysm] Small alchemist improvement (#55568)
GuardianDll Apr 9, 2022
d5c61d0
Migrate ACT_CLEAR_RUBBLE to the new activity actor system. (#55720)
ahmedcharles Apr 9, 2022
27515a8
Bugout Bags (#56243)
bombasticSlacks Apr 9, 2022
0478a6c
Civilian+ Ballistic Armor Additions (#56302)
bombasticSlacks Apr 9, 2022
804ed67
dinozoo → DinoZoo (#56463)
Faalagorn Apr 9, 2022
becc06a
Merge pull request #56469 from anothersimulacrum/good-item-groups
kevingranade Apr 9, 2022
48b910c
Merge pull request #56685 from CleverRaven/i18n
Rivet-the-Zombie Apr 9, 2022
6d29085
Change order of charge usage from map (#56479)
RoyBerube Apr 9, 2022
e037a97
Merge pull request #56487 from dseguin/weakpoint_prof_zed
kevingranade Apr 9, 2022
3dd42f4
Tacoma - Convert crop overseer field planting to json (#56510)
haveric Apr 9, 2022
18d59aa
Fix flaming arrow duplication and infinite flames (#56595)
haveric Apr 9, 2022
7367700
Mouthguard and helmets rigid fixes (#56626)
bombasticSlacks Apr 9, 2022
998cd34
vehicle parts can looks_like more stuff (#56627)
MylieDaniels Apr 9, 2022
eb4654b
Merch → merch (#56631)
Faalagorn Apr 9, 2022
3aeefb8
Add plural forms to missing armors (#56635)
Faalagorn Apr 9, 2022
449a573
Fix a short woth typo (#56636)
Faalagorn Apr 9, 2022
49d56c7
Additional Labels (#56638)
Maleclypse Apr 9, 2022
26eaf88
More shirt variants (#56644)
Maleclypse Apr 9, 2022
c606a36
Do not unmark recipe right after marking it as unread. (#56650)
Qrox Apr 9, 2022
8119612
Check for attachable subpockets first in disposal menu (#56655)
dseguin Apr 9, 2022
db33cb4
SetSun_add_ConSwords_remove_kris (#56656)
catdach Apr 9, 2022
6818e4b
Merge pull request #56665 from dseguin/monster_lore
kevingranade Apr 9, 2022
b54ab40
Baseball Stadium (#56681)
LovamKicsiGazsii Apr 9, 2022
2a305d3
former cop → Former Cop
Faalagorn Apr 9, 2022
acfe950
Update NPC_Brigitte_LaCroix.json
Faalagorn Apr 9, 2022
d0a1811
Update NPC_Darren_Cooper.json
Faalagorn Apr 9, 2022
9fc5b4a
Update NPC_Carlos_Isherwood.json
Faalagorn Apr 9, 2022
6c63866
discontinuity → Discontinuity
Faalagorn Apr 9, 2022
5f4e2bc
Update makeshift_gun_groups.json
Faalagorn Apr 9, 2022
fe9b599
Add damage and randomization to reenactor loot
TheShadowFerret Apr 10, 2022
9f9b09d
Merge pull request #56715 from Faalagorn/patch-15
Rivet-the-Zombie Apr 10, 2022
cf0925a
Replace mod_stored_nutr with mod_stored_kcal
Apr 10, 2022
93617c4
Convert nutrition to kcal in vanilla
Apr 10, 2022
5f8f1b8
Update doc
Apr 10, 2022
e10e52b
rename "hunger" to "kcal"
Apr 10, 2022
af75c36
update doc
Apr 10, 2022
2cb06a4
fix: bugout bags error (#56743)
casswedson Apr 11, 2022
7fbbba3
dummys → dummies (#56733)
Faalagorn Apr 11, 2022
daadb7a
Fix minor proficiency typos (#56709)
Faalagorn Apr 11, 2022
5c23311
Fix large amount of toilet water spawning in washrooms (#56736)
haveric Apr 11, 2022
e91b253
Rename "You adopts" to "%s adopts" (#56734)
Faalagorn Apr 11, 2022
666fb27
Merge pull request #56728 from Fris0uman/nutrition
kevingranade Apr 11, 2022
55a4450
CBM Spawn Cleanup (#56552)
Drew4484 Apr 11, 2022
7b4f9b0
[DinoMod] dryptosaurus (#56649)
LyleSY Apr 11, 2022
96935e9
bronze horse armor (#56660)
LyleSY Apr 11, 2022
5fe200b
Merge pull request #56717 from TheShadowFerret/ClothingDamage
Rivet-the-Zombie Apr 11, 2022
2b38de5
Merge pull request #56708 from Faalagorn/patch-11
Rivet-the-Zombie Apr 12, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
/data/mods/stats_through_kills/ @KorGgenT
/data/mods/Dark-Skies-Above/ @ephemeralstoryteller
/data/mods/No_Hope/ @Night-Pryanik
/data/mods/innawood/ @Light-Wave

magic*.cpp @KorGgenT
magic*.h @KorGgenT
Expand Down
59 changes: 49 additions & 10 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,34 +28,67 @@
- "**/CMakeLists.txt"
- "**/*.cmake"

"Crafting / Construction / Recipes":
- "**/recipes/**/*"
- data/json/construction.json
- data/json/construction_category.json
- data/json/construction_group.json
- data/json/deconstruction.json

"NPC / Factions":
- data/json/npcs/**/*
- "**/npcs/**/*"

"Info / User Interface":
- "**/ui/**/*"
- "**/widget/**/*"
- "src/list_view.*"
- "src/surroundings_menu.*"

"Appliance/Power Grid":
- "**/appliance**"

"Monsters":
- data/json/monsters/**/*
- "**/monsters/**/*"

"Lore":
- data/json/npcs/BG_trait_groups.json
- data/json/npcs/Personality_trait_groups.json
- data/json/npcs/personality_traits.json
- "**/Backgrounds/**/*"
- "**/snippets/**/*"

"Limbs":
- "src/bodypart.*"
- "data/json/limb_scores.json"

"Spawn":
- data/json/itemgroups/**/*
- data/json/monstergroups/**/*
- "**/itemgroups/**/*"
- "**/monstergroups/**/*"

"Bionics":
- "data/json/bionics.json"
- "**/bionics.*"

"Map / Mapgen":
- "**/mapgen/**/*"
- "**/mapgen_palettes/**/*"
- "**/overmap/**/*"

"Player Faction Base / Camp":
- "src/basecamp.(cpp|h)"
- "src/faction_camp.(cpp|h)"
- "src/basecamp.*"
- "src/faction_camp.*"
- data/json/mapgen/basecamps/**/*

"Items: Ammo / Guns":
- data/json/items/gun/**/*
- data/json/items/ammo/**/*
- "**/gun/**/*"
- "**/ammo/**/*"

"SDL: Tiles / Sound":
- gfx/**/*
- sound/**/*

"Translation":
- lang/**/*
- "src/translation.*"

"Mods: Aftershock":
- data/mods/Aftershock/**/*
Expand All @@ -67,7 +100,7 @@
"Mods: Dark Skies":
- data/mods/Dark-Skies-Above/**/*

"Mods: Dinoclysm":
"Mods: DinoMod":
- data/mods/DinoMod/**/*

"Mods: Generic Guns":
Expand All @@ -79,5 +112,11 @@
"Mods: Magiclysm":
- data/mods/Magiclysm/**/*

"Mods: Innawood 🌲":
- data/mods/innawood/**/*

"Mods: No Hope":
- data/mods/No_Hope/**/*

"Mods":
- data/mods/**/*
38 changes: 38 additions & 0 deletions .github/summary-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
version: v1

labels:
- label: "<Enhancement / Feature>"
matcher:
body: "(\\s|^)#### Summary\\s*Features +\".+\"\\s*(\n|$)"

- label: "Info / User Interface"
matcher:
body: "(\\s|^)#### Summary\\s*Interface +\".+\"\\s*(\n|$)"

- label: "Mods"
matcher:
body: "(\\s|^)#### Summary\\s*Mods +\".+\"\\s*(\n|$)"

- label: "Game: Balance"
matcher:
body: "(\\s|^)#### Summary\\s*Balance +\".+\"\\s*(\n|$)"

- label: "<Bugfix>"
matcher:
body: "(\\s|^)#### Summary\\s*Bugfixes +\".+\"\\s*(\n|$)"

- label: "Code: Performance"
matcher:
body: "(\\s|^)#### Summary\\s*Performance +\".+\"\\s*(\n|$)"

- label: "Code: Infrastructure / Style / Static Analysis"
matcher:
body: "(\\s|^)#### Summary\\s*Infrastructure +\".+\"\\s*(\n|$)"

- label: "Code: Build"
matcher:
body: "(\\s|^)#### Summary\\s*Build +\".+\"\\s*(\n|$)"

- label: "Translation"
matcher:
body: "(\\s|^)#### Summary\\s*I18N +\".+\"\\s*(\n|$)"
22 changes: 20 additions & 2 deletions .github/workflows/clang-tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
uses: fkirc/skip-duplicate-actions@master
with:
cancel_others: 'true'
paths: '[ "**.cpp", "**.h", "**.c", "**/CMakeLists.txt", "**/Makefile", "**.hpp", "**.cmake" ]'
paths: '[ "**.cpp", "**.h", "**.c", "**/CMakeLists.txt", "**/Makefile", "**.hpp", "**.cmake", ".github/workflows/clang-tidy.yml" ]'
build:
needs: skip-duplicates
if: ${{ needs.skip-duplicates.outputs.should_skip != 'true' }}
Expand Down Expand Up @@ -54,6 +54,24 @@ jobs:
gettext
- name: prepare
run: bash ./build-scripts/requirements.sh
- name: determine changed files
if: ${{ github.event_name == 'pull_request' }}
uses: actions/github-script@v5
with:
script: |
var fs = require('fs');
const response = await github.paginate(github.rest.pulls.listFiles,
{
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.issue.number,
}
);
const files = response.map(x => x.filename);
for (const path of files) {
console.log(path);
}
fs.writeFileSync("files_changed", files.join('\n'));
- uses: ammaraskar/gcc-problem-matcher@master
- name: run clang-tidy
run: bash ./build-scripts/build.sh
run: bash ./build-scripts/clang-tidy.sh
15 changes: 15 additions & 0 deletions .github/workflows/summary-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Summary Labeler

on:
- pull_request_target

jobs:
uses:
name: labeler
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: fuxingloh/multi-labeler@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
config-path: '.github/summary-labels.yml'
2 changes: 1 addition & 1 deletion .github/workflows/test_labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
id: set-pr-id
run: echo "::set-output name=pr-id::$( cat pull_request_id )"
- name: set-label
if: ${{ github.event.workflow_run.conclusion == 'success' || steps.set-basic-build-success.outputs.basic-build-success == 'true' }}
if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.conclusion != 'skipped' || steps.set-basic-build-success.outputs.basic-build-success == 'true' }}
uses: actions/github-script@v5
with:
script: |
Expand Down
5 changes: 3 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ option(DYNAMIC_LINKING
"Use dynamic linking. Or use static to remove MinGW dependency instead." "ON")
option(JSON_FORMAT "Build JSON formatter" "OFF")
option(CATA_CCACHE "Try to find and build with ccache" "ON")
option(CATA_CLANG_TIDY_PLUGIN "Build Cata's custom clang-tidy plugin" "OFF")
option(CATA_CLANG_TIDY_PLUGIN "Build Cata's custom clang-tidy checks as a plugin" "OFF")
option(CATA_CLANG_TIDY_EXECUTABLE "Build Cata's custom clang-tidy checks as an executable" "OFF")
set(CATA_CLANG_TIDY_INCLUDE_DIR "" CACHE STRING
"Path to internal clang-tidy headers required for plugin (e.g. ClangTidy.h)")
set(CATA_CHECK_CLANG_TIDY "" CACHE STRING "Path to check_clang_tidy.py for plugin tests")
Expand Down Expand Up @@ -354,7 +355,7 @@ add_subdirectory(tests)
if (JSON_FORMAT)
add_subdirectory(tools/format)
endif()
if (CATA_CLANG_TIDY_PLUGIN)
if (CATA_CLANG_TIDY_PLUGIN OR CATA_CLANG_TIDY_EXECUTABLE)
add_subdirectory(tools/clang-tidy-plugin)
endif()

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Cataclysm: Dark Days Ahead is a turn-based survival game set in a post-apocalypt
[![Open Source Helpers](https://www.codetriage.com/cleverraven/cataclysm-dda/badges/users.svg)](https://www.codetriage.com/cleverraven/cataclysm-dda)
[![Commit Activity](https://img.shields.io/github/commit-activity/m/CleverRaven/Cataclysm-DDA)](https://github.com/CleverRaven/Cataclysm-DDA/graphs/contributors)
[![Lines of Code](https://tokei.rs/b1/github/CleverRaven/Cataclysm-DDA?category=code)](https://github.com/XAMPPRocky/tokei)
[![TODOs](https://badgen.net/https/api.tickgit.com/badgen/github.com/CleverRaven/Cataclysm-DDA)](https://www.tickgit.com/browse?repo=github.com/CleverRaven/Cataclysm-DDA)

## Downloads

Expand Down
123 changes: 123 additions & 0 deletions build-scripts/clang-tidy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
#!/bin/bash

# Shell script intended for clang-tidy check

echo "Using bash version $BASH_VERSION"
set -exo pipefail

num_jobs=3

# We might need binaries installed via pip, so ensure that our personal bin dir is on the PATH
export PATH=$HOME/.local/bin:$PATH

if [ "$RELEASE" = "1" ]
then
build_type=MinSizeRel
else
build_type=Debug
fi

cmake_extra_opts=()

if [ "$CATA_CLANG_TIDY" = "plugin" ]
then
cmake_extra_opts+=("-DCATA_CLANG_TIDY_PLUGIN=ON")
# Need to specify the particular LLVM / Clang versions to use, lest it
# use the llvm-7 that comes by default on the Travis Xenial image.
cmake_extra_opts+=("-DLLVM_DIR=/usr/lib/llvm-12/lib/cmake/llvm")
cmake_extra_opts+=("-DClang_DIR=/usr/lib/llvm-12/lib/cmake/clang")
fi

if [ "$COMPILER" = "clang++-12" -a -n "$GITHUB_WORKFLOW" -a -n "$CATA_CLANG_TIDY" ]
then
# This is a hacky workaround for the fact that the custom clang-tidy we are
# using is built for Travis CI, so it's not using the correct include directories
# for GitHub workflows.
cmake_extra_opts+=("-DCMAKE_CXX_FLAGS=-isystem /usr/include/clang/12.0.0/include")
fi

mkdir -p build
cd build
cmake \
-DBACKTRACE=ON \
${COMPILER:+-DCMAKE_CXX_COMPILER=$COMPILER} \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DCMAKE_BUILD_TYPE="$build_type" \
-DTILES=${TILES:-0} \
-DSOUND=${SOUND:-0} \
"${cmake_extra_opts[@]}" \
..

if [ "$CATA_CLANG_TIDY" = "plugin" ]
then
make -j$num_jobs CataAnalyzerPlugin
export PATH=$PWD/tools/clang-tidy-plugin/clang-tidy-plugin-support/bin:$PATH
if ! which FileCheck
then
ls -l tools/clang-tidy-plugin/clang-tidy-plugin-support/bin
ls -l /usr/bin
echo "Missing FileCheck"
exit 1
fi
CATA_CLANG_TIDY=clang-tidy
lit -v tools/clang-tidy-plugin/test
fi

"$CATA_CLANG_TIDY" --version

# Show compiler C++ header search path
${COMPILER:-clang++} -v -x c++ /dev/null -c
# And the same for clang-tidy
"$CATA_CLANG_TIDY" ../src/version.cpp -- -v

# Run clang-tidy analysis instead of regular build & test
# We could use CMake to create compile_commands.json, but that's super
# slow, so use compiledb <https://github.com/nickdiego/compiledb>
# instead.
compiledb -n make

cd ..
rm -f compile_commands.json && ln -s build/compile_commands.json

# We want to first analyze all files that changed in this PR, then as
# many others as possible, in a random order.
set +x
all_cpp_files="$( \
grep '"file": "' build/compile_commands.json | \
sed "s+.*$PWD/++;s+\"$++")"
changed_files="$( ( test -f ./files_changed && cat ./files_changed ) || echo unknown )"
changed_cpp_files="$( \
echo "$changed_files" | grep -F "$all_cpp_files" || true )"
if [ -n "$changed_cpp_files" ]
then
remaining_cpp_files="$( \
echo "$all_cpp_files" | grep -v -F "$changed_cpp_files" || true )"
else
remaining_cpp_files="$all_cpp_files"
fi

function analyze_files_in_random_order
{
if [ -n "$1" ]
then
echo "$1" | shuf | \
xargs -P "$num_jobs" -n 1 ./build-scripts/clang-tidy-wrapper.sh -quiet
else
echo "No files to analyze"
fi
}

echo "Analyzing changed files"
analyze_files_in_random_order "$changed_cpp_files"

# Check for changes to any files that would require us to run clang-tidy across everything
changed_global_files="$( \
echo "$changed_files" | \
egrep -i "\.h$|clang-tidy|build-scripts|cmake|unknown" || true )"
if [ -n "$changed_global_files" ]
then
first_changed_file="$(echo "$changed_global_files" | head -n 1)"
echo "Analyzing remaining files because $first_changed_file was changed"
analyze_files_in_random_order "$remaining_cpp_files"
fi
set -x
2 changes: 1 addition & 1 deletion data/core/tips.json
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@
{
"type": "snippet",
"category": "tip",
"text": [ "When the whole town is one big supermarket a shopping cart becomes your best friend." ]
"text": [ "When the whole town is one big supermarket, a shopping cart becomes your best friend." ]
},
{
"type": "snippet",
Expand Down
Loading