Commit Graph

83 Commits

Author SHA1 Message Date
Kitzunu
7e8b021db3 feat(Core): Enable C++20 support (#10440)
* feat(Core): Enable C++20 support

* Update Duration.h

* Revert "Update Duration.h"

This reverts commit 177093e992c5d47d8c3b978c84857f5ecba12889.

* maybe fix GCC

* cherry-pick https://gcc.gnu.org/pipermail/gcc-cvs/2020-June/299715.html

* Update Duration.h

* Update Duration.h

* Update Duration.h

* Update Duration.h

* Update Duration.h

* Update Duration.h

* Update Duration.h

* Revert "Update Duration.h"

This reverts commit dc4e2ce281dd1a33cfac5be56488a3b96131bfd5.

* Update Duration.h

* Update Duration.h

* Update Duration.h

* cleanup

* more cleanup

* maybe fix build

* restore advstd::type_identity because GCC8 is garbage

* Update advstd.h

* fix gcc8 💤

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update src/common/Utilities/advstd.h

Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
2022-02-11 14:37:24 +01:00
Kitzunu
5d8b472ed7 fix(Core/Misc): Remove Clang 7 workaround (#10521) 2022-02-11 04:03:29 +01:00
Kargatum
de13bf426e feat(Core/DBLayer): replace char const* to std::string_view (#10211)
* feat(Core/DBLayer): replace `char const*` to `std::string_view`

* CString

* 1

* chore(Core/Misc): code cleanup

* cl

* db fix

* fmt style sql

* to fmt

* py

* del old

* 1

* 2

* 3

* 1

* 1
2022-02-05 00:37:11 +01:00
Kitzunu
8b4e3b71ca fix(CMake/MSVC): Cleanup and enable some warnings (#10295)
* fix(CMake/MSVC): Cleanup and enable some warnings

* cherry-pick from commit (73b4b1733a)

Co-Authored-By: Shauren <shauren.trinity@gmail.com>

* Update settings.cmake

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-02-01 05:46:06 -03:00
Kargatum
378539ce7f feat(Core/Cmake): add support MariaDb 10.7 and 10.8 (#10322) 2022-01-23 14:36:40 +01:00
Kitzunu
04fd8791e1 refactor(Core/DB): Deprecate MariaDB 10.4 and below (#9675) 2021-12-14 15:15:44 +01:00
Kargatum
0f1c0c154d feat(Core/Config): implement loading files optional (#8198) 2021-12-10 11:53:31 +01:00
Kargatum
51adbffae4 feat(Core/Modules): add separated lib for modules (#9281) 2021-12-02 20:28:58 +07:00
Kargatum
a650fd495c feat(Core/Metrics): implement real time statistic visualization (#8663) 2021-10-28 14:47:29 +02:00
Kargatum
52aa0e9966 feat(License): add new headers information about license (#7941)
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
2021-09-30 13:40:52 +07:00
Kargatum
70a8066ab0 feat(Cmake/MySQL): add support MariaDB 10.6 (#7113)
Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2021-07-27 00:34:06 +07:00
Kargatum
7f6e9b1984 feat(CMake): enable optional C++20 support (#7075) 2021-07-25 01:54:02 +02:00
Necropola
c7129fa0dd fix(CMake): find std::filesystem across platforms (#6914)
* fix(CORE): Find std::filesystem across platforms
Closes #6889

* Squeeze blank lines to make check-codestyle happy

* Move find_package(Filesystem ...) to deps/stdfs

* CMAKE_CXX_STANDARD gets already set in ConfigureBaseTargets.cmake
2021-07-17 11:41:36 +02:00
Kargatum
96c51317f5 feat(Deps/ACE): remove ACE library (part 1/2) (#6980) 2021-07-16 15:05:39 +02:00
Kargatum
b680670047 feat(CMake): delete EXTRA_LOGS (#6897) 2021-07-14 23:47:40 +02:00
Kargatum
2d2857ce81 feat(Core/DBUpdater): implement db auto update (#6576)
* feat(Core/DBUpdater): implement db auto update

* 1

* 2

* 3

* Some minor improvements

* add find bin for mysql 8.0

* lic

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2021-06-27 18:59:44 +02:00
Kitzunu
ea5b1b3846 feat(build): Set correct year in VER_LEGALCOPYRIGHT_STR (#6488)
* cherry-pick commit (68a490923d)

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2021-06-25 01:09:31 +02:00
Kargatum
5991b2769a feat(Core/Scripts): split the huge scriptloader into smaller pieces (#5346)
* feat(Core/Scripts): split the huge scriptloader into smaller pieces

* AddSC_swamp_of_sorrows del

* 1

* add mod info

* 1

* 039f0e0faa

Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
2021-06-22 23:19:02 +02:00
Kargatum
9ac6fddcae feat(Core/Database): port TrinityCore database API (#5611) 2021-06-22 06:21:07 +02:00
Francesco Borzì
67b84e0c1e feat(Core): deprecate clang-9 and older (#6406) 2021-06-17 18:30:15 +02:00
Kargatum
f25a47715a feat(Cmake/Modules): support add config all modules without AC_ADD_CONFIG_FILE (#5994) 2021-05-31 00:40:45 +02:00
Kitzunu
ae665f7ec3 feat(Core/Command): server debug (#6007)
* initial work

* fix query

* load

* clean up

* remove from startup

* ACE

* remove static

* Update MySQLThreading.cpp

* not used

* Update MySQLThreading.cpp

* unit testing

* Update WorldMock.h

* show Boost ver

* Update WorldMock.h

* include

* Now we have boost::filesystem woo

* fix build

* fix typo
2021-05-30 21:12:01 +02:00
Kargatum
d0a259d6ee feat(Cmake/Compiler): deprecated clang6 and gcc 7 (#5671) 2021-05-17 01:50:03 +02:00
Yehonal
f6c6123d85 feat(docker): production images, integrated ccache and many other improvements (#5551) 2021-05-04 11:35:24 +02:00
Kargatum
325dcfc9a6 feat(Core/Build): add the possibility to link libraries dynamically (#5348) 2021-04-21 22:16:12 +02:00
Kargatum
2b3d46bd4f feat(Core/Hooks): added collection of hooks to extends AC (#3047)
This collection of hooks comes from the Maelstrom project. It allows to release modules such as :
- 3v3-soloqueue
- 1v1 arena
- pvestats

and many others
2021-04-13 13:26:39 +02:00
Kargatum
e0b953b186 feat(Cmake/PCH): use target_precompile_headers instead of cotire (#5082) 2021-04-02 12:29:33 +02:00
vconcat
394ae6fd00 fix(Build/Windows): For OS locales like CJK (#4912) 2021-03-21 16:00:39 +01:00
vconcat
832b0304cc feat(Build): allow using MySQL/MariaDB/OpenSSL from vcpkg (#4914) 2021-03-21 15:21:02 +01:00
Kargatum
dbefa17a53 feat(Core/Config): rework config and delete ACE inherited (#4608) 2021-02-28 14:37:03 +01:00
Malte Grave
2010308b7c fix(Build/Cmake): CMake now uses the Windows env vars (#3419)
* CMake wasn't able to find the enviroment variables which are noted in
the Wiki e.g MYSQL_INCLUDE_DIR or MYSQL_LIBRARY. Further I added
another variable for OpenSSL which is OPENSSL_ROOT_DIR.
This change allows .zip installations with a custom PATH.
2021-01-11 22:50:07 +01:00
Kargatum
ea93a5c1a1 feat(CI/Codestyle): added codestyle check (#3668) 2021-01-09 11:59:50 +01:00
Kitzunu
f16aad0ad4 chore(MySQL): Deprecate 5.6 (#4070) 2021-01-03 03:14:06 +01:00
Francesco Borzì
1b156ef7eb chore(Core): forgot to add copyright in new files + small correction (#3861) 2020-12-07 21:05:13 -06:00
Francesco Borzì
c838b371dd chore(CMake/Tests): use conventional CMake flag to enable tests (#3809) 2020-11-29 19:28:47 +01:00
Kargatum
c141be8684 feat(Deps/MySQL): add support MariaDB 10.5 (#3452) 2020-09-11 10:16:41 +07:00
Francesco Borzì
c2b40b126d feature(testing-automation): unit tests with Google Framework (#3273) 2020-08-15 22:34:45 +02:00
Kitzunu
12c00e9149 chore(CMake)!: Drop support for MariaDB 10.1
BREAKING CHANGE: Building with MariaDB 10.1 will no longer be supported since we use code that exceeds its limits
2020-07-06 16:12:33 +02:00
Kitzunu
468398d51d fix(CMake/FindMySQL): Allow MySQL 8.0 in Windows (#3087) 2020-05-31 22:50:13 +02:00
Viste
e22d78ecd6 refactor(Core): rename namespaces and macros to acore (#2454) 2019-12-01 13:13:31 +01:00
Stoabrogga
0a9202a829 feat(cmake/macro): Allow scripts to lower prioritize other scripts (#2329) 2019-10-07 10:25:22 +02:00
Stoabrogga
8689903f58 fix(CMake): Use cmake-generator-expressions for escaping quotes (#2307) 2019-09-25 02:11:13 +07:00
Kargatum
0e6c9a18f4 feat(Cmake/Build): Use interface targets for inheriting flags and definitions (#2255)
Co-authored-by: Naios Naios@users.noreply.github.com
2019-09-18 20:04:48 +07:00
Francesco Borzì
3a43e8c415 feat(Core): enable C++17 (#2234)
Co-authored-by: Winfidonarleyan <dowlandtop@yandex.com>
2019-09-02 13:54:10 +07:00
Kargatum
6150b4b948 feat(Cmake/MYSQL): Correct support MariaDB for windows (#1674)
* Delete CMake option MARIADB
* Delete definitions (-DMARIADB)
* Replace macro MariaDB support 10.2+
2019-04-17 23:42:31 +07:00
Kargatum
eae9affec9 feat(Cmake): Rewrite build and use inherited dependencies (#1652) 2019-04-01 22:41:08 +02:00
Francesco Borzì
c4835d8099 Switch to C++14 to solve compilation issues (#1595) 2019-03-21 11:14:07 +03:00
Francesco Borzì
e7ace60e59 feat(cpp): enable C++17 support (#1553) 2019-03-05 04:41:36 -03:00
Francesco Borzì
01c6d32ac9 feat(Core/Misc): compatibility with 10.2+ versions of MariaDB library (#1284) (#1437) 2019-02-09 21:51:05 +01:00
Viste(Кирилл)
e7dafc18d2 MySQL: fix MySQL 5.6 find mistake (#1268) 2019-01-12 16:02:59 +03:00