Commit Graph

  • 4361a8fc48 Code style changes Ai Lin Chia 2016-08-01 22:16:50 +02:00
  • af676bfc60 Remove niceness arg from RdbList::constrain Ai Lin Chia 2016-08-01 18:18:15 +02:00
  • 0e469105c0 Merge branch 'master' into nomerge2 Ivan Skytte Jørgensen 2016-08-01 18:18:44 +02:00
  • 4e4e3371e6 Log function will now return void instead of a boolean Ai Lin Chia 2016-08-01 15:29:03 +02:00
  • a89b3cc067 Prefix log message with build Ai Lin Chia 2016-07-29 16:06:17 +02:00
  • 975f90c20d Made msg2::whitelist const Ivan Skytte Jørgensen 2016-08-01 18:09:33 +02:00
  • 41e60a06e4 Removed rdbid parameter from Msg2::getLists() (always RDB_POSDB anyway) Ivan Skytte Jørgensen 2016-08-01 18:06:33 +02:00
  • 5d0ca34100 Removed rdbid parameter from Msg2::getLists() (always RDB_POSDB anyway) Ivan Skytte Jørgensen 2016-08-01 18:02:04 +02:00
  • 974e96e41f Merge branch 'master' into nomerge2 Ivan Skytte Jørgensen 2016-08-01 17:58:57 +02:00
  • 06f41721fd Moreconstness in Rdb Ivan Skytte Jørgensen 2016-08-01 17:21:13 +02:00
  • cabfc3c292 More constness in RdbBuckets Ivan Skytte Jørgensen 2016-08-01 17:21:00 +02:00
  • 56409fd0dd constness in RdbMap Ivan Skytte Jørgensen 2016-08-01 17:08:53 +02:00
  • ece6ee785f constness in RdbBase Ivan Skytte Jørgensen 2016-08-01 17:03:13 +02:00
  • 95f61b444b Merge branch 'master' into nomerge2 Ivan Skytte Jørgensen 2016-08-01 16:17:57 +02:00
  • fc07e62f10 Moved read-size logic from issuing instance / Msg39Request ot the processing instance Ivan Skytte Jørgensen 2016-08-01 16:12:44 +02:00
  • 5ca6c5dd98 Copied over changes from broken 'nomerge' branch Ivan Skytte Jørgensen 2016-08-01 14:53:50 +02:00
  • af4e70a051 Revert "Copied over changes from broken 'nomerge' branch" Ivan Skytte Jørgensen 2016-08-01 14:52:50 +02:00
  • 9e48989e93 Copied over changes from broken 'nomerge' branch Ivan Skytte Jørgensen 2016-08-01 14:52:09 +02:00
  • 51c46400ed Removed unnecessary local variables in Msg2:.getLists() Ivan Skytte Jørgensen 2016-08-01 14:26:08 +02:00
  • 0b898852e3 Removed unused label Ivan Skytte Jørgensen 2016-08-01 13:50:24 +02:00
  • 8e4254f52c Removed default parameter values from Msg5::getList() (variant #2) Ivan Skytte Jørgensen 2016-08-01 13:49:48 +02:00
  • d6796099bb Removed default parameter values from Msg5::getList() (variant #1) Ivan Skytte Jørgensen 2016-08-01 13:34:10 +02:00
  • 1637bdf08f Removed ENINTR checks inmsg3.cpp Ivan Skytte Jørgensen 2016-07-29 15:01:48 +02:00
  • adf39d81bf Use UnlinkRenameState instead of File directly for jobs. This is because we want to store errno, and this also remove the link between File & BigFile Ai Lin Chia 2016-07-29 13:40:37 +02:00
  • 8b57549a23 Remove unused variable Ai Lin Chia 2016-07-28 17:09:35 +02:00
  • 0d27016ae4 Move log to proper place Ai Lin Chia 2016-07-28 17:09:09 +02:00
  • 766003b6c7 Remove all trace of twin-sync Ai Lin Chia 2016-07-28 17:02:34 +02:00
  • 79ae62881a Remove all trace of hdtemp Ai Lin Chia 2016-07-28 17:01:46 +02:00
  • 890e9a92ef Remove hdtemp thread creation, and move/rename logic to proper places. eg: resetProxyStat to SpiderProxy.cpp, new wraper named diskUsageWrapper Ai Lin Chia 2016-07-28 16:57:51 +02:00
  • 3e4b628b78 Remove hddtemp logic which is not set anymore Ai Lin Chia 2016-07-28 16:41:44 +02:00
  • da81afbf85 Fix comments Ai Lin Chia 2016-07-28 16:41:10 +02:00
  • bbe0c7f77a Rename THIS to that. set m_errno if g_errno is set but m_errno is not for Images Ai Lin Chia 2016-07-28 15:58:26 +02:00
  • 0f1cf27ee6 Add a comment about synchost removal Ai Lin Chia 2016-07-28 15:51:29 +02:00
  • 51bb8bbee6 Remove synchost functionality (it was never working) Ai Lin Chia 2016-07-28 15:44:33 +02:00
  • 344b79631c Remove commented out codes. Code style changes Ai Lin Chia 2016-07-28 15:23:40 +02:00
  • f7ec8be102 Add Msg5::m_errno and use it for threads Ai Lin Chia 2016-07-28 14:40:39 +02:00
  • 94675ea077 Rename THIS to that. set m_errno if g_errno is set but m_errno is not for XmlDoc Ai Lin Chia 2016-07-28 14:27:05 +02:00
  • 5413b1c85c Rename THIS to that. set m_errno if g_errno is set but m_errno is not Ai Lin Chia 2016-07-28 14:19:01 +02:00
  • c6cec17a24 Rename m_saveErrno to m_errno to be consistent with other class Ai Lin Chia 2016-07-28 14:11:26 +02:00
  • 5d51eaf34f Code style changes Ai Lin Chia 2016-07-28 14:10:36 +02:00
  • b3b1012fe4 Remove commented out code Ai Lin Chia 2016-07-28 12:58:13 +02:00
  • 84ba7a07d2 Remove thread based RdbCache::save (not currently used) Ai Lin Chia 2016-07-28 12:53:33 +02:00
  • 26ce7dbe3d Removed checks for EINTR and bogus comment about it Ivan Skytte Jørgensen 2016-07-29 13:51:53 +02:00
  • 54265523cf Removed EINTR checks in SafeBuf Ivan Skytte Jørgensen 2016-07-29 13:41:07 +02:00
  • 982efce266 Specify SA_RESTAT on sigaction so we don't get EINTR in general Ivan Skytte Jørgensen 2016-07-29 12:47:43 +02:00
  • c5ccdd4882 cleanup of signal handling Ivan Skytte Jørgensen 2016-07-29 12:27:55 +02:00
  • 0acde69f88 Cleanup of signalhandling Ivan Skytte Jørgensen 2016-07-29 12:19:20 +02:00
  • 8eb47379a6 Ignore SIGPIPE Ivan Skytte Jørgensen 2016-07-29 12:00:01 +02:00
  • d6ac4f567c Removed global variable g_inMemFunction Ivan Skytte Jørgensen 2016-07-28 18:13:26 +02:00
  • bb23bcad88 Removed g_inMemFunction check in in saveSpiderProxyStats() Ivan Skytte Jørgensen 2016-07-28 17:28:13 +02:00
  • abd72df267 #include cleanup Ivan Skytte Jørgensen 2016-07-28 17:20:58 +02:00
  • b9dc15759a Made Mem::strdup() non-inline Ivan Skytte Jørgensen 2016-07-28 17:19:14 +02:00
  • 3c2773a928 Removed gbstrlen() Ivan Skytte Jørgensen 2016-07-28 17:04:35 +02:00
  • 4f1f0679b1 Ignore leak in g_errno() Ivan Skytte Jørgensen 2016-07-28 17:02:28 +02:00
  • 7dd5219a8d Mem: added _unlocked version of printBreeches() Ivan Skytte Jørgensen 2016-07-28 16:33:43 +02:00
  • 4f4a8e1567 Rename m_savedError to m_errno to keep it consistent with other class Ai Lin Chia 2016-07-28 12:35:10 +02:00
  • fa328000f3 Code style changes Ai Lin Chia 2016-07-28 12:31:49 +02:00
  • 8c4cccd540 Clear Msg39::m_errno Ai Lin Chia 2016-07-28 12:31:14 +02:00
  • 85ba89602c Fix Msg39 g_errno/m_errno Ai Lin Chia 2016-07-28 12:23:29 +02:00
  • 6b5042bb22 Clear g_errno before starting a job Ai Lin Chia 2016-07-28 12:00:38 +02:00
  • d093ea3394 Move g_errno_init into g_errno_location itself Ai Lin Chia 2016-07-28 11:23:30 +02:00
  • 8ad3c56a97 Call g_errno_init before anything else to make sure we have g_errno ready Ai Lin Chia 2016-07-28 02:39:40 +02:00
  • d753514f47 Re-enable threaded g_errno on branch Ai Lin Chia 2016-07-28 01:31:00 +02:00
  • 100872f674 Assign g_errno to Msg39::m_errno and vice versa to cater for threads Ai Lin Chia 2016-07-28 00:43:34 +02:00
  • f0a017272f Disable thread specific errno for now. Until it's more stable Ai Lin Chia 2016-07-27 19:06:14 +02:00
  • b5b4fa015c Fix compilation error Ai Lin Chia 2016-07-27 18:43:29 +02:00
  • 74caaaf71e Add thread specific g_errno Ai Lin Chia 2016-07-27 18:28:52 +02:00
  • 08bea1556e Change PosdbTable::m_debug to boolean Ai Lin Chia 2016-07-27 16:15:20 +02:00
  • 2106a4c5b9 Log changes. Change to logTrace, use log info Ai Lin Chia 2016-07-27 16:06:29 +02:00
  • 00e577c4cf Code style changes Ai Lin Chia 2016-07-27 16:02:54 +02:00
  • 490877cb3d Remove commented out code Ai Lin Chia 2016-07-27 15:34:10 +02:00
  • 6c2d3451f6 Code style changes. Remove commented out code Ai Lin Chia 2016-07-27 15:33:53 +02:00
  • 7e5246a279 Use unexport instead of undefine so that it works with older make version Ai Lin Chia 2016-07-27 12:42:13 +02:00
  • e1f3c3e5f3 We mean 100ms and not 100us Ai Lin Chia 2016-07-27 10:36:10 +02:00
  • 23a2a7be0f Code style changes Ai Lin Chia 2016-07-27 10:35:55 +02:00
  • 56bae61dd8 Code style changes Ai Lin Chia 2016-07-27 10:26:25 +02:00
  • e9ecfedee8 Reduce scope of rc Ai Lin Chia 2016-07-27 10:18:34 +02:00
  • af9addced7 Change goto to do/while loop or for loops Ai Lin Chia 2016-07-27 09:52:56 +02:00
  • 74eda7617b Code style changes Ai Lin Chia 2016-07-27 09:14:35 +02:00
  • 6347d7e683 g_errno is no longer set when creating a thread. remove some checks in BigFile Ai Lin Chia 2016-07-27 09:11:20 +02:00
  • 81b57c9d32 Remove g_errno check in Log.cpp. It's only use to control if congestion message should be logged. Ai Lin Chia 2016-07-27 02:10:14 +02:00
  • 79616a3363 Removed unused enum HangulComposition Ivan Skytte Jørgensen 2016-07-23 00:02:51 +02:00
  • ea863378d3 Fix includes for Msg1f Ai Lin Chia 2016-07-27 01:15:57 +02:00
  • 9d37a5d20b Code style changes Ai Lin Chia 2016-07-27 00:58:29 +02:00
  • c1c8cbff29 Rearrange some parameters in Makefile Ai Lin Chia 2016-07-27 00:09:07 +02:00
  • 692f608f32 Remove more cygwin related codes Ai Lin Chia 2016-07-26 23:43:10 +02:00
  • eb053a4de9 CPPFLAGS for clang. Enable colour & remove a disable warning Ai Lin Chia 2016-07-26 23:37:00 +02:00
  • cd3afda24c Move declaration of g_inAutoSave to header file Ai Lin Chia 2016-07-26 23:01:14 +02:00
  • 0c7749aa15 Fix warnings Ai Lin Chia 2016-07-26 22:59:59 +02:00
  • 4cbe016b26 Fix write string warning Ai Lin Chia 2016-07-26 22:26:48 +02:00
  • d8c390fb94 Remove unused variable Ai Lin Chia 2016-07-26 17:26:12 +02:00
  • 44df65c40b Use %02x instead of %hx for msgType Ai Lin Chia 2016-07-26 17:21:35 +02:00
  • fdfcd927b8 Use %02x instead of %hhu for msgType. Enable debug comment. Code style changes. Ai Lin Chia 2016-07-26 17:20:51 +02:00
  • 7c621edb20 Remove unused function Ai Lin Chia 2016-07-26 17:20:24 +02:00
  • 7738c6af88 Use %02x instead of %hhx to print msgType Ai Lin Chia 2016-07-26 17:09:15 +02:00
  • a3890a006f Remove unused function Ai Lin Chia 2016-07-26 17:08:46 +02:00
  • a47c84d39d Use %02x to print msgType in Multicast Ai Lin Chia 2016-07-26 17:08:26 +02:00
  • 499e859c13 Remove unused variable from Msg2 Ai Lin Chia 2016-07-26 17:07:14 +02:00
  • 9786731f7c Comment out unused function Ai Lin Chia 2016-07-26 17:07:01 +02:00
  • 86ad28aef3 Simplify code Ai Lin Chia 2016-07-26 17:06:51 +02:00