Commit Graph

29 Commits

Author SHA1 Message Date
jackpoz
16b5f39de6 Core/DBUpdater: Code cleanup 2018-02-24 14:54:42 +01:00
jackpoz
ff04121c83 Core/DBUpdater: Fix error message
Fix error message when trying to populate the database showing free'd memory data instead of the sql file name
2018-02-24 13:09:00 +01:00
DDuarte
3945a010d2 Core/DBUpdater: Improve message when base SQL file is missing
(cherry picked from commit 844755aa07)

GCC build fix

(cherry picked from commit a15985edc6)
2018-02-18 16:23:47 +00:00
tkrokli
f6b6f57a6d Update copyright note for 2018
Best wishes for the new year.
2018-01-01 01:55:29 +01:00
ariel-
85a7d5ce9a Core: ported headers cleanup from master branch 2017-06-19 23:20:06 -03:00
Aokromes
1957c9c114 Core/Updater: Better log for fresh installations 2017-01-15 08:55:11 +01:00
tkrokli
6a51a88767 Update Copyright notice for 2017
Happy new year!
2017-01-02 19:52:45 +01:00
Aokromes
9250680680 Update DBUpdater.cpp 2016-09-12 01:04:15 +02:00
Aokromes
fb048a4cdb Update DBUpdater.cpp 2016-09-12 01:00:27 +02:00
Aokromes
fe9f79780e Core/Updater: Clarify more 2 errors 2016-09-12 00:51:06 +02:00
Trond B Krokli
70b3373da1 Core/DB/Updater: English grammar corrections (#17207)
Improve English text in strings and comments in UpdateFetcher.cpp
- replace incorrect text with the intended words in some output strings
- corrections in the comments to point out the intention of the code
(cherry picked from commit 186375d997)
2016-08-10 18:11:36 +02:00
Aokromes
09a1cfdf77 Core/Updater: Clarify even more this error 2016-07-23 03:37:09 +02:00
Aokromes
5868509a63 Update DBUpdater.cpp
Because nature wins race....
2016-07-20 21:46:59 +02:00
Trond B Krokli
8fe8501712 Core/DB/Updater: engrish corrections in DBUpdater.cpp (#17262)
English grammar and syntax corrections in DBUpdater.cpp
- string texts corrected, source code unchanged
- comments improved and checked for typos
2016-06-01 21:10:20 +01:00
Naios
dadc02d77a Core/Updater: Correct the config key hint of a log message 2016-04-23 17:13:38 +02:00
Naios
3271f328de Core/Cryptography: Move the SHA1 calculate helper to the SHA1 header 2016-04-17 19:30:13 +02:00
Naios
f93617c3c9 Core/Common: Capsule boost process into helper functions
* For easier usage, the processes output it routed
  correctly to the TC logger line by line now.
* Add support for asynchronous process execution
  and process termination.

(cherry picked from commit 3497b4960b)
2016-04-11 21:40:59 +02:00
Shauren
39abb8acb3 Core/Misc: MSVC warning fixes
(cherry picked from commit 70412e7e25)
2016-04-09 18:13:30 +02:00
Naios
205556b226 Core/Database: Converted the database library to a shared library.
* There is still the possibility to static link against database.

(cherry picked from commit 6cfea2d8f7)
2016-03-24 02:46:01 +01:00
Naios
b5369b7d87 Core/Common: Add a generic config helper to access built-in overwriteable paths.
* Adds CMAKE_COMMAND and CMAKE_BINARY_DIR to revision_data.h
* Move the source and mysql exe path handling out of the DBUpdater.
* Make some Config methods const for correctness.
* Remove C & CXX flags from revision_data.h
 (was unused and didn't capture all cxx vars)
* Reorder the link order to prevent `ld` from ignoring the file
* Ref #15671

(cherry picked from commit 719159e207)
2016-02-22 16:25:47 +01:00
Naios
f2233f5d14 Core/Updater: Convert an assertion into a fatal error
* The error is triggered when it fails to open an update for hashing
* See 'https://community.trinitycore.org/topic/12352-worldserver-crashes-on-database-update/'
  for details
* And a minor cleanup in the UpdateFetcher

(cherry picked from commit c43b808665)
2016-02-22 16:01:27 +01:00
Naios
ae1a5c6c2b Core/Updater: Use a different method for file reading
* Current method causes issues under CentOS 6 and could possibly
  lead to cutted buffer content when reading in textmode.
* Closes #16209
2016-02-20 20:18:42 +01:00
Duarte Duarte
893c63f320 Core/DBUpdater: Fix help text download link
Change from forums to GH Releases
(cherry picked from commit 6b529fcd43)
2016-01-04 22:53:34 +00:00
Rushor
923a368ac7 Update copyright note for 2016 2016-01-01 12:02:33 +01:00
joschiwald
3db4c64287 Core/Updater: fixed host parameter is being ignored
(cherry picked from commit e51b660177)
2015-10-05 17:15:54 +02:00
Naios
a561edefb9 Core/Updater: Fix mysql in path check/search. 2015-10-05 17:11:59 +02:00
Shauren
0cf04cc166 Core/Updater: Pipe mysql process output into worldserver log
(cherry picked from commit 2d109b63e2)
2015-10-05 17:11:57 +02:00
StormBytePP
0cc3d883e1 Core/Build: Renamed Revision.h to GitRevision.h to avoid compile failure when old revision.h file is present 2015-08-16 23:08:01 +02:00
StormBytePP
1f66d719f2 Core/BuildSystem: Merge collision, debugging, threading, utilities and configuration into "common" which does not depend on shared anymore and moved database out of shared library
These changes enables to build tools only without even having MySQL installed
2015-08-16 21:23:15 +02:00