28 Commits

Author SHA1 Message Date
Akkadius
fe8e907b08 [Performance] Remove unecessary log calls from EQStream hot paths (read/write) 2017-03-28 15:52:51 -05:00
Michael Cook (mackal)
60da544d3a clang-tidy modernize-use-auto 2016-05-25 16:10:28 -04:00
Michael Cook (mackal)
cdbeb24a05 Change emptiness checks to empty() from size() [clang-tidy]
This has two benefits, it's clear what we are checking and
size() isn't always constant time, where empty is (performance!)
2016-05-25 14:57:47 -04:00
Michael Cook (mackal)
c43d436b1f Fix more windows.h/winsock.h/winsock2.h issues
We want to use winsock2.h rather than winsock.h. This was mostly enforced
from the global_defines.h file, but I wanted to make it consistent.

Most of these includes can be removed since they're included via
global_defines.h, but someone on windows should clean that up
2016-05-25 13:46:47 -04:00
Michael Cook (mackal)
761c2be722 Style changes (auto, post-inc to pre-inc) 2016-04-08 14:14:09 -04:00
KimLS
7dbe6a7426 Many tweaks to stream memory allocation, including but not limited to streams now are shared_ptrs. 2015-01-27 21:12:44 -08:00
Akkadius
96a06f1cee Remove commented std::cout : Awake from condition, must have a stream now 2015-01-20 01:31:06 -06:00
Akkadius
1a2b3b50ce Remove commented std::cout : No streams, waiting on condition 2015-01-20 01:31:05 -06:00
Akkadius
421ecf6fce Remove commented std::cout : Removing connection 2015-01-20 01:31:04 -06:00
Akkadius
91e9163602 Remove commented std::cout : Push(): Unlocking MNewStreams 2015-01-20 01:31:03 -06:00
Akkadius
2c191fce7c Remove commented std::cout : Push():Locking MNewStreams 2015-01-20 01:31:02 -06:00
Akkadius
f6e2829892 Remove commented std::cout : Pop(): Unlocking MNewStreams 2015-01-20 01:31:00 -06:00
Akkadius
dacad2e154 Remove commented std::cout : Pop():Locking MNewStreams 2015-01-20 01:30:58 -06:00
Akkadius
4ffc09b306 Remove commented std::cout : Starting factory Writer 2015-01-20 01:30:56 -06:00
Akkadius
716b377378 Remove commented std::cout : Starting factory Reader 2015-01-20 01:30:53 -06:00
Akkadius
0d9b6703a6 Rename debug.h to global_define.h, update cmakelists and such 2015-01-19 04:12:09 -06:00
Akkadius
467b359d0c Moved all EQEmuLogSys:: enum references used in Log.Out to a namespace 'Logs' for shortening of syntax 2015-01-18 02:20:16 -06:00
Akkadius
c025765283 Renamed DoLog to Out as the aggregate logging function for simplicity of use and shortened syntax of Log.Out 2015-01-18 02:00:15 -06:00
Akkadius
1c048cb1d1 Renamed DebugCategory to DoLog as the aggregate logging function for simplicity of use and shortened syntax of Log.DoLog 2015-01-18 01:54:09 -06:00
Akkadius
7dbde36b03 Rename reference logger to Log 2015-01-18 00:41:18 -06:00
Akkadius
d45ed9befa Consolidate EQEmuLogsys::Debug calls into DebugCategory 2015-01-17 23:59:06 -06:00
Akkadius
2cb3a491e0 Add include to eq_stream_factory.cpp for EQEmuLogSys 2015-01-16 00:53:31 -06:00
Akkadius
733159923a Convert 'COMMON' debugging _log to logger.LogDebugType 2015-01-12 23:01:01 -06:00
Akkadius
a612f289e7 Another Linux fix 2014-12-15 21:05:35 -06:00
Akkadius
968b0adc1d eq_stream_factory.cpp & .h header include cleanup/forward declare 2014-12-15 20:30:53 -06:00
Michael Cook (mackal)
4c9befee22 Some clean ups due thanks to clang's warnings 2014-12-09 23:41:19 -05:00
KimLS
7fc21b9e3a Tons of renames 2014-08-21 19:33:02 -07:00
KimLS
e429260763 Missed eq stream factory 2014-08-21 17:30:00 -07:00