Skip to content

Commit 23907ec

Browse files
author
Github Actions
committed
Merge 3.3.5-base_patch to 3.3.5-racial-trait
2 parents d9e6546 + 0e8d1bc commit 23907ec

447 files changed

Lines changed: 63311 additions & 37065 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ![logo](https://trinitycore.org/images/logo2.png) TrinityCore (3.3.5)
1+
# ![logo](https://community.trinitycore.org/public/style_images/1_trinitycore.png) TrinityCore (3.3.5)
22

33
[![Average time to resolve an issue](https://isitmaintained.com/badge/resolution/TrinityCore/TrinityCore.svg)](https://isitmaintained.com/project/TrinityCore/TrinityCore "Average time to resolve an issue") [![Percentage of issues still open](https://isitmaintained.com/badge/open/TrinityCore/TrinityCore.svg)](https://isitmaintained.com/project/TrinityCore/TrinityCore "Percentage of issues still open")
44

cmake/compiler/clang/settings.cmake

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ endif()
5858
if(WITH_COREDEBUG)
5959
target_compile_options(trinity-compile-option-interface
6060
INTERFACE
61-
-g3)
61+
-g3 -glldb)
6262

63-
message(STATUS "Clang: Debug-flags set (-g3)")
63+
message(STATUS "Clang: Debug-flags set (-g3 -glldb)")
6464
endif()
6565

6666
if(ASAN)
@@ -129,11 +129,12 @@ endif()
129129

130130
# -Wno-narrowing needed to suppress a warning in g3d
131131
# -Wno-deprecated-register is needed to suppress 185 gsoap warnings on Unix systems.
132-
# -Wno-deprecated-copy needed to suppress a warning in g3d
132+
# -Wno-undefined-inline needed for a compile time optimization hack with fmt
133133
target_compile_options(trinity-compile-option-interface
134134
INTERFACE
135135
-Wno-narrowing
136-
-Wno-deprecated-register)
136+
-Wno-deprecated-register
137+
-Wno-undefined-inline)
137138

138139
if(BUILD_SHARED_LIBS)
139140
# -fPIC is needed to allow static linking in shared libs.

cmake/compiler/gcc/settings.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ endif()
4444
if(WITH_COREDEBUG)
4545
target_compile_options(trinity-compile-option-interface
4646
INTERFACE
47-
-g3)
47+
-ggdb3)
4848

49-
message(STATUS "GCC: Debug-flags set (-g3)")
49+
message(STATUS "GCC: Debug-flags set (-ggdb3)")
5050
endif()
5151

5252
if(ASAN)

cmake/compiler/msvc/settings.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ target_compile_options(trinity-warning-interface
2626
# disable permissive mode to make msvc more eager to reject code that other compilers don't already accept
2727
target_compile_options(trinity-compile-option-interface
2828
INTERFACE
29-
/permissive-)
29+
/permissive-
30+
/utf-8)
3031

3132
if(PLATFORM EQUAL 32)
3233
# mark 32 bit executables large address aware so they can use > 2GB address space

contrib/extractor.sh

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,39 +2,39 @@
22

33
# Set client and server directories as environment variables
44
# if you don't want to enter them here
5-
if [ -z $CLIENT_DIR ]; then
5+
if [ -z "$CLIENT_DIR" ]; then
66
echo -n "Enter directory where client files are located: "
77
read CLIENT_DIR
88

9-
if ! cd $CLIENT_DIR; then
9+
if ! cd "$CLIENT_DIR"; then
1010
echo "Cannot access $CLIENT_DIR"
1111
exit 1
1212
fi
13-
if [ ! -d $CLIENT_DIR/Data ]; then
13+
if [ ! -d "$CLIENT_DIR/Data" ]; then
1414
echo "Cannot find client files in $CLIENT_DIR"
1515
exit 1
1616
fi
1717
fi
1818

19-
if [ -z $SERVER_DIR ]; then
19+
if [ -z "$SERVER_DIR" ]; then
2020
echo -n "Enter directory where server files are located: "
2121
read SERVER_DIR
2222

23-
if ! cd $SERVER_DIR; then
23+
if ! cd "$SERVER_DIR"; then
2424
echo "Cannot access $SERVER_DIR"
2525
exit 1
2626
fi
2727
fi
2828

2929
# These should all be correct on a standard installation
30-
DATA_DIR=${SERVER_DIR}/data
31-
MAPEXTRACTOR=${SERVER_DIR}/bin/mapextractor
32-
VMAP4EXTRACTOR=${SERVER_DIR}/bin/vmap4extractor
33-
VMAP4ASSEMBLER=${SERVER_DIR}/bin/vmap4assembler
34-
MMAPS_GENERATOR=${SERVER_DIR}/bin/mmaps_generator
30+
DATA_DIR="${SERVER_DIR}/data"
31+
MAPEXTRACTOR="${SERVER_DIR}/bin/mapextractor"
32+
VMAP4EXTRACTOR="${SERVER_DIR}/bin/vmap4extractor"
33+
VMAP4ASSEMBLER="${SERVER_DIR}/bin/vmap4assembler"
34+
MMAPS_GENERATOR="${SERVER_DIR}/bin/mmaps_generator"
3535

3636
check_files() {
37-
for i in $MAPEXTRACTOR $VMAP4EXTRACTOR $VMAP4ASSEMBLER $MMAPS_GENERATOR
37+
for i in "$MAPEXTRACTOR" "$VMAP4EXTRACTOR" "$VMAP4ASSEMBLER" "$MMAPS_GENERATOR"
3838
do
3939
if [[ ! -x $i ]]
4040
then
@@ -62,23 +62,23 @@ echo "Extracting DBC, Camera and Maps files"
6262
echo
6363
echo "-- Using $MAPEXTRACTOR"
6464
echo "-- Copying extracted data to ${DATA_DIR}"
65-
if [[ ! -d ${DATA_DIR} ]]
65+
if [[ ! -d "${DATA_DIR}" ]]
6666
then
6767
echo "-- Creating ${DATA_DIR}"
68-
mkdir ${DATA_DIR}
68+
mkdir "${DATA_DIR}"
6969
fi
7070
echo "-- Starting in 5 seconds"
7171
sleep 5
7272

73-
cd ${CLIENT_DIR}
74-
$MAPEXTRACTOR
73+
cd "${CLIENT_DIR}"
74+
"$MAPEXTRACTOR"
7575

7676
echo "-- Extraction complete, copying dbc and maps files"
77-
cp -r dbc maps ${DATA_DIR}
78-
if [[ -d ${CLIENT_DIR}/Cameras ]]
77+
cp -r dbc maps "${DATA_DIR}"
78+
if [[ -d "${CLIENT_DIR}/Cameras" ]]
7979
then
8080
echo "-- Camera files found, copying"
81-
cp -r Cameras ${DATA_DIR}
81+
cp -r Cameras "${DATA_DIR}"
8282
fi
8383

8484
echo "-- Done"
@@ -95,13 +95,13 @@ echo "-- Copying extracted data to ${DATA_DIR}/vmaps"
9595
echo "-- Starting in 5 seconds"
9696
sleep 5
9797

98-
cd ${CLIENT_DIR}
99-
$VMAP4EXTRACTOR
98+
cd "${CLIENT_DIR}"
99+
"$VMAP4EXTRACTOR"
100100
mkdir vmaps
101-
$VMAP4ASSEMBLER Buildings vmaps
101+
"$VMAP4ASSEMBLER" Buildings vmaps
102102

103103
echo "-- Extraction complete, copying files"
104-
cp -r vmaps ${DATA_DIR}
104+
cp -r vmaps "${DATA_DIR}"
105105
echo "-- Done"
106106
echo
107107
}
@@ -115,11 +115,11 @@ echo "-- Copying extracted data to ${DATA_DIR}/mmaps"
115115
echo "-- Starting in 5 seconds"
116116
sleep 5
117117

118-
cd ${CLIENT_DIR}
118+
cd "${CLIENT_DIR}"
119119
mkdir mmaps
120-
$MMAPS_GENERATOR
120+
"$MMAPS_GENERATOR"
121121
echo "-- Extraction complete, copying files"
122-
cp -r mmaps ${DATA_DIR}
122+
cp -r mmaps "${DATA_DIR}"
123123
echo "-- Done"
124124
echo
125125
}
@@ -135,7 +135,7 @@ echo "Enter y to continue or anything else to cancel"
135135
read a
136136
if [[ ${a} = "y" ]]
137137
then
138-
cd ${CLIENT_DIR}
138+
cd "${CLIENT_DIR}"
139139
rm -fr Buildings Cameras dbc maps mmaps vmaps
140140
echo "Done"
141141
fi

dep/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ if(SERVERS OR TOOLS)
2020
add_subdirectory(utf8cpp)
2121
add_subdirectory(valgrind)
2222
add_subdirectory(openssl)
23-
add_subdirectory(jemalloc)
23+
if(CMAKE_SYSTEM_NAME MATCHES "Linux" AND NOT NOJEM)
24+
add_subdirectory(jemalloc)
25+
endif()
2426
add_subdirectory(argon2)
2527
add_subdirectory(short_alloc)
2628
endif()

dep/PackageList.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ efsw (Entropia File System Watcher - crossplatform file system watcher)
1818

1919
fmt (a small, safe and fast formatting library)
2020
https://github.com/fmtlib/fmt
21-
Version: 9.1.0 https://github.com/fmtlib/fmt/releases/tag/9.1.0
21+
Version: 12.0.0 https://github.com/fmtlib/fmt/releases/tag/12.0.0
2222

2323
G3D (a commercial-grade C++ 3D engine available as Open Source (BSD License)
2424
http://g3d.sourceforge.net/
2525
Version: 9.0-Release r4036
2626

2727
jemalloc (a general-purpose scalable concurrent malloc-implementation)
28-
http://www.canonware.com/jemalloc/
29-
Version: 5.2.1
28+
https://github.com/jemalloc/jemalloc
29+
Version: 5.3.1
3030

3131
libMPQ (a library for reading MPQ files)
3232
https://github.com/mbroemme/libmpq/

dep/fmt/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
set(FMT_HEADERS
1212
include/fmt/args.h
13+
include/fmt/base.h
1314
include/fmt/chrono.h
1415
include/fmt/color.h
1516
include/fmt/compile.h

0 commit comments

Comments
 (0)