Cockatrice/common
ebbit1q 5935ac0d11 update format.sh (#6240)
* update format.sh

add shellcheck to format.sh
add statement macros to .clang-format
add no clang format to format.sh
add changed file list to format.sh diff
rename --cf-version to --print-version in format.sh
lint files

* enable --shell on ci runs

* remove useless semicolons

removes the semicolons after empty function definitions
these semicolons are optional, they don't do anything
this will have functions be consistently formatted
if we want to keep the option to have these on the same line like they
were before we should use the option AllowShortFunctionsOnASingleLine: None

* fix script

* update echo line in lint_cpp.sh which doesn't lint cpp only at all
2026-02-21 14:29:34 +01:00
..
lib Update PegLib, Fix Database Searching CFG (#5244) 2024-12-21 03:37:08 +00:00
pb Add custom server-side pawn colors (#5543) 2025-02-02 03:25:25 +00:00
sfmt update sfmt to version 1.5.1 from 1.4.1 (#4124) 2020-10-02 12:13:12 -04:00
CMakeLists.txt Add cmake format (#4618) 2022-05-08 21:22:43 +02:00
color.h Tabs to spaces. 2014-07-08 22:53:02 -04:00
debug_pb_message.cpp Allow up to 100 dice to be rolled at a time (#5047) 2024-06-12 08:37:04 -04:00
debug_pb_message.h implement custom protobuf debug string creation (#4532) 2022-02-23 23:46:23 +01:00
decklist.cpp Fix edit deck in clipboard clearing values (#5732) 2025-03-16 23:30:12 +00:00
decklist.h Fix edit deck in clipboard clearing values (#5732) 2025-03-16 23:30:12 +00:00
expression.cpp Update PegLib, Fix Database Searching CFG (#5244) 2024-12-21 03:37:08 +00:00
expression.h Counter expressions (#3534) 2019-02-02 13:56:49 -05:00
featureset.cpp Address /W4 compiler warnings for Windows (#4910) 2023-10-15 20:31:13 -04:00
featureset.h Address /W4 compiler warnings for Windows (#4910) 2023-10-15 20:31:13 -04:00
get_pb_extension.cpp clangify everything with the new header sorting (#3908) 2020-03-18 17:36:02 -04:00
get_pb_extension.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
passwordhasher.cpp miscellaneous refactors (#4521) 2022-01-16 17:58:53 -05:00
passwordhasher.h miscellaneous refactors (#4521) 2022-01-16 17:58:53 -05:00
rng_abstract.cpp clangify everything with the new header sorting (#3908) 2020-03-18 17:36:02 -04:00
rng_abstract.h add missing override and explicit specifiers in common (#5527) 2025-01-25 14:06:03 +00:00
rng_sfmt.cpp Address /W4 compiler warnings for Windows (#4910) 2023-10-15 20:31:13 -04:00
rng_sfmt.h add missing override and explicit specifiers in common (#5527) 2025-01-25 14:06:03 +00:00
room_message_type.h Fix Mac Builds (#4844) 2023-08-06 22:45:45 -04:00
server.cpp Address /W4 compiler warnings for Windows (#4910) 2023-10-15 20:31:13 -04:00
server.h add missing override and explicit specifiers in common (#5527) 2025-01-25 14:06:03 +00:00
server_abstractuserinterface.cpp clangify everything with the new header sorting (#3908) 2020-03-18 17:36:02 -04:00
server_abstractuserinterface.h add missing override and explicit specifiers in common (#5527) 2025-01-25 14:06:03 +00:00
server_arrow.cpp clangify everything with the new header sorting (#3908) 2020-03-18 17:36:02 -04:00
server_arrow.h assign new arrow id when arrow is moved to transformed card (#5012) 2024-03-27 14:47:00 +01:00
server_arrowtarget.cpp Tabs to spaces. 2014-07-08 22:53:02 -04:00
server_arrowtarget.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
server_card.cpp Keep card annotations on stack (#5399) 2024-12-31 14:08:25 -05:00
server_card.h Keep card annotations on stack (#5399) 2024-12-31 14:08:25 -05:00
server_cardzone.cpp Allow Judges to see all information, regardless of room settings (#5053) 2024-06-16 19:12:37 -04:00
server_cardzone.h remove cards being looked at from the count on drawing (#4671) 2022-10-17 16:35:54 -04:00
server_counter.cpp clangify everything with the new header sorting (#3908) 2020-03-18 17:36:02 -04:00
server_counter.h clangify everything with the new header sorting (#3908) 2020-03-18 17:36:02 -04:00
server_database_interface.cpp Overhaul common's CMakeLists.txt 2014-06-11 01:24:34 +02:00
server_database_interface.h update format.sh (#6240) 2026-02-21 14:29:34 +01:00
server_game.cpp Support starting games with fewer than max players (#5338) 2024-12-26 18:32:20 -05:00
server_game.h add missing override and explicit specifiers in common (#5527) 2025-01-25 14:06:03 +00:00
server_player.cpp Make AttachTo tokens work from non-table zones (#5629) 2025-02-16 17:02:45 -05:00
server_player.h Support viewing the bottom X cards of library (#5410) 2025-01-05 21:17:18 -05:00
server_player_reference.h Clang-format (#3028) 2018-01-27 10:41:32 +01:00
server_protocolhandler.cpp Prevent server crash if DB is down and game is attempted to be created (#5600) 2025-02-09 22:11:00 +00:00
server_protocolhandler.h Support Qt6, Min Qt5.8, Fix Win32, Fix Servatrice 2022-05-06 17:31:08 -04:00
server_remoteuserinterface.cpp clangify everything with the new header sorting (#3908) 2020-03-18 17:36:02 -04:00
server_remoteuserinterface.h apply chat flood prevention in games next to rooms (#4387) 2021-06-28 01:57:46 -04:00
server_response_containers.cpp Allow Judges to see all information, regardless of room settings (#5053) 2024-06-16 19:12:37 -04:00
server_response_containers.h Allow Judges to see all information, regardless of room settings (#5053) 2024-06-16 19:12:37 -04:00
server_room.cpp Allow up to 100 dice to be rolled at a time (#5047) 2024-06-12 08:37:04 -04:00
server_room.h add missing override and explicit specifiers in common (#5527) 2025-01-25 14:06:03 +00:00
serverinfo_user_container.cpp Support Qt6, Min Qt5.8, Fix Win32, Fix Servatrice 2022-05-06 17:31:08 -04:00
serverinfo_user_container.h add missing override and explicit specifiers in common (#5527) 2025-01-25 14:06:03 +00:00
trice_limits.h Deck limit (#5559) 2025-02-04 22:22:15 +00:00
user_level.h Fix Mac Builds (#4844) 2023-08-06 22:45:45 -04:00