Commit graph

24 commits

Author SHA1 Message Date
turleypol
5ce0f612fa if worldsave fails to write files dont commit them (rename old files),
shows also a more detailed error.
2019-03-10 10:32:31 +01:00
turleypol
ea9f5afd45 moved default deconstructors into header to let them count as trivial. 2018-11-03 15:00:44 +01:00
turleypol
0aea78c405 added array.sorted_insert to insert into an already sorted array.
Added a few finals and defaults
2018-10-07 21:05:02 +02:00
turleypol
dbb25bdb62
Include and buildsystem cleanup (#45)
Include cleanup
Reworked buildsystem (Linux only)
Removed dynamic libs, Linux now again uses static linking (like windows)
2018-01-29 21:55:48 +01:00
turleypol
798eda5b63 Cleanup of header includes. 2018-01-01 21:52:14 +01:00
turley
189cad3479 Formating everything
Authors are not forced to use the clang-format setting, but should
atleast be inspired by the style.
The only thing which is now not allowed are tabs for ident/alignment!
2016-02-19 19:26:35 +01:00
turley
ed7b16b233 normalized lineendings 2016-02-11 22:54:43 +01:00
frozenblit
ab592b0bf6 Instead of .c_str(), the log will take a copy of the formatter string 2015-05-16 16:00:26 +02:00
turley
b77a13073c corrected several data races 2015-03-14 11:45:14 +01:00
turley
c302eb9415 Namespace fixes and header cleanup 2015-01-02 17:55:12 +01:00
turley
845a54251d Removed some duplicate error strings, fixed some warnings. 2014-10-31 18:15:56 +01:00
frozenblit
4bdf06a0c7 Removed warnings from clib at level 4. Just two remain: one is related to stdafx.obj, the other to structured exceptions. Still need to investigate those. 2014-06-09 20:36:40 +00:00
turley
05c5b2d60b removed old code
testing a threadpool 
added chr.last_textcolor member which returns the clientside chatcolor
2014-06-01 09:59:12 +00:00
turley
2e4cb5b60a made worldsaves more time stable, current thread save implementation has to many context switches which slows it down. Added a bit more security 2014-03-08 09:05:12 +00:00
turley
31ee263a45 activated new logging facility 2014-01-18 13:29:38 +00:00
turley
99d7dc3037 namespaces...finally :)
Hard part is finished every file is touched. Namespaces are currently rough named by directory name.
Maybe we could split it more
2013-12-21 09:10:46 +00:00
turley
e076fce06b added VS2013 2013-11-09 09:36:42 +00:00
turley
3db7906b15 message_queue: added list based pop, should be a bit more efficient for the streamsaver 2013-10-13 16:26:35 +00:00
turley
fc9f30604b moved save stream flushes into thread. needs some more code cleanup.
fixed move semantic
2013-10-12 20:46:24 +00:00
turley
10f6277683 msg_queue: new method to move the msg directly into the queue
streamsaver: changed the writer to unique_ptr and move directly into queue
clienttransmit: move transmitdata directly into the queue
itemdesc: removed several external maps, added save_on_exit member
items: added pointer to itemdesc and use it directly
2013-10-12 15:06:43 +00:00
turley
f8e81fdba0 Use of OpenMP to write the files in parallel. Seems to be the best sollution so far.
I would call the safe speedup as finished
2013-10-08 11:00:14 +00:00
turley
a63cb4b9d5 message_queue could be nonempty during deconstruction and thus will be dropped due to cancel signal. 2013-10-07 13:46:13 +00:00
turley
28660d5b31 removed the multiple c_str() calls, changed save strategy for accounts into the threaded one 2013-10-07 13:20:13 +00:00
turley
e7030c372c added missing streamsaver files.
Implemented simple async worker saver. seems to give another 1-2 seconds on my test base in comparison with the non threaded version :)
2013-10-07 12:03:41 +00:00