Commit Graph
1343 Commits
Author SHA1 Message Date
Ovahlord f08fb7d056 Core/Packets: ported some bit writing optimizations from master branch 2025-06-15 01:17:49 +02:00
Shauren f9df0714e9 Core/Networking: Fixed Socket::DelayedCloseSocket not working if write queue is empty when its called on linux and mac 2025-03-08 22:45:10 +01:00
Ovahlord 44892168c1 Core/Networking: ported missing socket related changes from master branch 2025-03-08 22:37:23 +01:00
Ovahlord 0927c5af40 Core/Misc: backported most boost changes from master branch 2025-02-27 23:47:52 +01:00
Shauren 031e41c94e Core/Misc: Remove incorrect (and unused) equality operator overloads from LinkedListHead::Iterator class 2023-10-18 22:04:11 +02:00
Ovahlord 5c13baf230 Core/Misc: removed unused includes and removed unit include from vehicle.h 2023-10-10 03:01:05 +02:00
Ovahlord b49f95e1e9 Build: added support for unity builds in most projects except for StormLib, ZLib and Scripts 2023-10-09 21:40:38 +02:00
Ovahlord f34534465a Build: enable C++20 and updated all compiler requirements
* ported some header and cmake updates from master branch
2023-07-04 23:49:57 +02:00
Shauren 08203a1e35 Core/DataStores: Add const to DBStorageIterator dereference operators
# Conflicts:
#	src/server/shared/DataStores/DBStorageIterator.h
2023-06-01 20:50:47 +02:00
Shauren 47048f3dc5 Core/Misc: Future msvc warning fixes 2023-06-01 20:49:58 +02:00
ipriver 408c386830 fixed indentation for cmake files
(cherry picked from commit a46d047f9466c6f16597755bb7c771a9d1a147f2)
(cherry picked from commit bde36062b7a0bf621086e73a5d419cd8637e9e96)
2023-05-19 22:26:00 +02:00
Shauren 8733f6fafa Core/Utils: Added helper function to make creating unique_ptr with custom deleters more convenient
# Conflicts:
#	src/server/game/World/World.cpp
2022-06-19 21:42:45 +02:00
Shauren 5ad23e61e4 Dep: Raise required boost versions to 1.73 on windows and 1.71 on linux and remove compatibility code for unsupported versions
# Conflicts:
#	dep/boost/CMakeLists.txt
2022-02-20 20:27:35 +01:00
Ovahlord 67b19e741d Core/Misc: fixed several warnings that have been exposed by the new warnings 2022-01-21 14:22:06 +01:00
Shauren 267cd04e57 Core/Time: Remove artificially high minimal update intervals
(cherry picked from commit 3a67e376811743be208da4aab8a9e452e1ae637e)
2022-01-04 19:23:46 +01:00
Shauren 0e09bdc6c5 Core/PacketIO: Add missing ByteBuffer operator overload 2021-01-10 09:44:55 +01:00
Ovahlord 25073fa927 Core/Datastores: cleaned up some master exclusive code and fixed an issue that was causing default localized strings being sent for all remaining fields, despite having available locales 2020-07-07 13:59:13 +02:00
Ovahlord d077c92011 Core/Datastores: ported locale related datastore updates in order to load storage locales properly when set in config 2020-07-07 02:39:07 +02:00
Giacomo Pozzoni 9fdf598792 Cherry-pick some cmake commits (#24720)
* Build system: Support  new in cmake 3.17 Ninja Multi-Config generator

(cherry picked from commit 369b618d4f160816818681ed7e41063e2d9ba5b5)

* Build system: Fixed PCH with MSVC & Ninja generator

(cherry picked from commit d669f46b6d5190dabc686a35656e8b03f5ec325b)

* Core: Fix clang 10 warnings

(cherry picked from commit 7272508cb4b51ec5591b6f0e542ea29091db7546)

* Build system: Set -Wno-deprecated-copy only for clang 10

(cherry picked from commit 7fdeb259ba398d5d9343a5dcd1a89562dfcbe981)

* Core/Misc: GCC build and warning fixes

(cherry picked from commit 4d69cc1c567180b408ddbadb9edf26859cf4c006)

* Build system: Print found git version when warning about it being too old

(cherry picked from commit 1ae72db201189877c1b863fac140eb4b0a45c5bb)

* Build system: Removed hard requirement on BOOST_ROOT being set as environment variable, it can now be also passed as command line argument to cmake and fix compile warning with boost 1.73

(cherry picked from commit 161944b7643c62f9e7705c64e42d42e5d07f1959)

* Remove some code that was already removed from 335 and then cherry-picked into master

Co-authored-by: Shauren <shauren.trinity@gmail.com>
(cherry picked from commit 8c09b6e58b0e4f33b7a8e376a28709e693cf2914)
2020-06-11 20:24:00 +02:00
jackpoz 03609506ae Core/Networking: Set SO_REUSEADDR on *nix platforms 2020-05-06 00:01:17 +02:00
Shauren d003ebd8e4 Core/DBLayer: Prevent using prepared statements on wrong database 2020-04-15 19:18:58 +02:00
Ovahlord 2a9fc25269 Core/Misc: fixed more no pch errors 2020-03-11 13:42:42 +01:00
Ovahlord 73ce49cb78 Core/Datastore: updated db2 field names and types to reflect client magic names
*fixed string length for sending names in item_sparse length
2020-02-23 02:20:38 +01:00
Ovahlord d9b854ad59 Core/Datastores: backported hotfix system implementation 2020-02-21 23:13:38 +01:00
Aokromes d6d3f06f06 New year 2020-01-04 18:32:38 +01:00
Ovahlord 68439a1514 Core/Dep: add rapidjson dependency 2020-01-03 22:27:42 +01:00
funjoker 6c56916b29 Misc: Update copyright information
Happy new year
2020-01-01 18:47:28 +01:00
Ovahlord dfbf50234d Core/Packets: Port packet handling rework from 335 branch 2019-05-30 16:59:37 +02:00
Shauren 2fb644344d Core/Dep: Boost 1.70 compatibility
(cherry picked from commit bcda8dd7421cfa1950a3e47081f2f28d032d38ac)

# Conflicts:
#	src/server/authserver/Main.cpp
#	src/server/shared/Realm/RealmList.cpp
#	src/server/shared/Realm/RealmList.h
2019-04-14 12:18:33 +02:00
ariel- 5ff847159c Core: header cleanup, split realmlist, boost compatibility, cotire, remove stormlib/zlib and stormlib/bzip2 and instead use dep sources 2018-03-28 04:41:59 -03:00
Ovah 60afe858e8 MMaps phasing 2018-03-12 18:19:19 +00:00
Shauren 92003135da Core/Networking: Activate single threaded optimization for io_service running in NetworkThread
(cherry picked from commit 9711dd3f706a30d23f57b259765837b71292d09e)
2018-01-06 13:23:45 +01:00
Aokromes 4bd0525edd Update copyright note for 2018 2018-01-01 01:06:19 +01:00
Aokromes a18293833e Misc: More cleanup 2017-11-25 03:02:18 +01:00
Aokromes b93430ee08 Misc: More cleanup 2017-11-25 02:25:18 +01:00
Aokromes 51d0befe6d Core/Misc: Fix static analysis issues 2017-11-12 13:30:18 +01:00
Aokromes acf240861d Core/Misc: Cleanup worldserver/authserver main() functions to run des…
…tructors in predictable order

* world/auth servers will now fail to startup if listen ports are in use
* Restored "Network.OutUBuff" config option lost during boost transition

(cherry picked from commit 6c92a48)
2017-06-19 16:44:52 +02:00
Aokromes 461ba1cb56 Fix (C) for multiple files 2017-06-15 08:46:45 +02:00
Aokromes 71fe37a55b build fix 2017-06-06 11:29:00 +02:00
ariel- 2e3197f944 Core/Globals: add more AIName and MovementType checks to ObjectMgr
- Ninja fix AI factories (restores prev behaviour of not selecting stuff with PERMIT_BASE_NO)

Closes #19831
2017-06-02 10:23:44 +02:00
Aokromes 1c6021ba96 Core/AI: Factory functions cleanup
- Get rid of fugly void pointers
- Streamlined AI selection code, using Permissible as it should've been instead of harcoded checks on the selector code
- Moved IdleMovementGenerator singleton to factory code
2017-06-01 13:22:24 +02:00
Aokromes 7c16e39bd5 Missing part 2017-04-18 17:33:37 +02:00
Aokromes 8bb777ef5c Few small optimizations here and there 2017-02-01 16:51:21 +01:00
Aokromes 719a317a67 Update copyright note for 2017 2017-01-02 07:26:38 +01:00
ariel- 02ba07dee0 Core/Misc: fix interaction of spells like Shadowmeld with Threat reducing effects
- SPELL_AURA_MOD_TOTAL_THREAT should be temporary and not added/subtracted from total, only computed
- Cleanup of reference related code
- Kill getLast() and reverse iterator obsevers, LinkedList iterator can't be used as a standard reverse_iterator (ie with operator++). They weren't used anyways
2016-10-21 09:14:38 +02:00
jackpoz 90b22c6cd4 Core/MMAPs: Update recast
Update recast to recastnavigation/recastnavigation@64385e9
2016-08-18 09:46:18 +02:00
roc13x a54adfd894 Core/Build: Fixed dynamic mode build
Core can now be built in dynamic mode, enabling the hotswap system to be
used.

Hotswap works fine on Windows. Didnt work for me on Debian, the rebuild
and reload process happens but the old version of the module remains for
some reason. Cant figure it out right now
2016-08-13 17:26:30 +01:00
Aokromes e1d34cabc9 Core/Dynamic: Reduce differences between 3.3.5 and 6.x branches
Code functionality shouldn't have been modified.
2016-08-12 12:21:55 +02:00
Aokromes 085dd6a21d Compile fix try 2016-08-10 11:11:57 +02:00
Aokromes 6245175ae5 Missing code 2016-08-10 11:00:57 +02:00