Commit Graph
707 Commits
Author SHA1 Message Date
DarthArgus 088480ad11 add mulodi function (using tor's example) as it is missing in llvm when using m32 on 64 hosts... also tweak a default config flag and enhance some of our ldflags and cflags - having mulodi allows us to finally use flto! 2016-09-26 06:24:22 +00:00
apathyandDarthArgus d7392f2f40 No need to reserve, insert will handle any reallocating that needs to happen efficiently 2016-09-26 06:24:22 +00:00
DarthArgus 09b288a36e use empty as we always init the var 2016-09-26 06:24:21 +00:00
DarthArgus 17265362de getString: check if null before casting 2016-09-26 06:24:21 +00:00
DarthArgus dd9417642c for nullable types we'll need to create a proper function outside the template for them 2016-09-26 06:24:21 +00:00
DarthArgus 51fa1ff6ad enums for clarity 2016-09-26 06:24:21 +00:00
DarthArgus 8b614c5769 return a proper T null instead of an empty T 2016-09-26 06:24:21 +00:00
apathyandDarthArgus 0595b456b9 Reserve enough space before inserting. 2016-09-26 06:24:20 +00:00
apathyandDarthArgus 33c42720a8 Change encoding/decoding binary data to use base64 vs utf-8 to prevent bad characters in the oracle string encoding. 2016-09-26 06:24:20 +00:00
DarthArgus 2b8a8fdd03 pvs studio suggestions 2016-09-26 06:24:20 +00:00
DarthArgus 06925a9219 change to use bools as passed from the frontend (yay! less comparisons!) 2016-09-26 06:24:20 +00:00
DarthArgus 268727ce16 reduce the stats we're collecting... if we only need player count we can probably nuke everything but that, right @stellab @swgnoobs ? 2016-09-26 06:24:20 +00:00
DarthArgus e0e39df051 forgot something, now time to sleep 2016-09-26 06:24:20 +00:00
apathyandDarthArgus e517f98f9c Consider all bazaars (not just the restuss ones) as persisted. 2016-09-26 06:24:19 +00:00
DarthArgus f7d5eeb160 so the result buffer/string wasn't being parsed by the json class because even using the "proper" ways of comparing the char * to "application/json" weren't working...ugh 2016-08-20 13:44:33 +00:00
DarthArgus 5f0e741a72 make the webAPI more generic so that we can use it in a more standardized fashion 2016-08-20 11:19:23 +00:00
DarthArgus e0d9f58ba0 update nlohmann's json to v2.0.2 2016-08-20 07:41:19 +00:00
DarthArgus 6e7a213f2d cleaning 2016-08-08 16:33:51 +00:00
DarthArgus 465aed03b4 remove unnecessary check 2016-08-06 03:22:16 +00:00
DarthArgus 537ed4ce53 make this string a static const... we basically just keep using it so why not? 2016-08-06 02:56:06 +00:00
DarthArgus 207449547f cleanups and clarity 2016-08-06 02:35:55 +00:00
DarthArgus 00fef810e7 prevent the insanity of specifying (usually) defaults 2016-08-06 02:00:49 +00:00
DarthArgus a9fa196e5f did i say simpler? i'm not sure if this is more or less simple...but it is secure and operates how we need... @apathy audit please? 2016-08-05 01:09:25 +00:00
DarthArgus 46e985f72a reposition a sanity check 2016-08-04 21:49:12 +00:00
DarthArgus 91cd9b60ec needs QA/TEST before even seeing TC - implement login based on returned username from web api 2016-08-04 21:36:55 +00:00
apathy 37e50708b7 Only resize if length is longer than max_account_name_length 2016-08-04 11:23:47 -07:00
apathy 648e5807a0 truncate the id to MAX_ACCOUNT_NAME_LENGTH before generating station id's 2016-08-04 03:21:32 -07:00
DarthArgus cbf84b65a4 more snprintf...more later 2016-08-02 02:23:21 +00:00
DarthArgus 2b5d006bb9 no cust service server, for now... 2016-08-01 03:20:55 +00:00
DarthArgus f4c737ddf7 static max lengths for the snprintfs etc 2016-08-01 03:02:50 +00:00
apathyandDarthArgus 3d7acd9f32 Don't load the NetLogObserver for LogServer instances as it just sends messages into an infinite loop 2016-08-01 02:46:56 +00:00
DarthArgus 75c27f67ad cleanup 2016-07-31 09:59:38 +00:00
DarthArgus 04ed17a152 correct some of my erroneous snprintfs 2016-07-31 07:20:21 +00:00
DarthArgus 1dff426bbe enable more thread safety and buffer safety 2016-07-31 05:45:10 +00:00
DarthArgus ed4a4d54ee test this theory and see if this keeps the prod server (more threads) from dumping java...if so i'll make this value configurable 2016-07-27 05:05:22 +00:00
DarthArgus 74ade42185 this rids us of connection warnings on shutdown 2016-07-27 01:27:26 +00:00
DarthArgus 772146a72f fix readability 2016-07-27 01:09:19 +00:00
DarthArgus 5503ac606a partial revert 2016-07-26 03:15:10 +00:00
DarthArgus 814cf4f731 some more static analyzer suggestions 2016-07-25 22:11:10 -07:00
DarthArgus 88888e4091 bye bye, boost! thanks @apathy! 2016-07-25 05:47:57 +00:00
DarthArgus 0f815ce30e include <algorithm> 2016-07-25 05:41:26 +00:00
DarthArgus 73d718ba9e [apathy][PATCH] Cast jboolean to bool 2016-07-25 05:39:29 +00:00
DarthArgus be02bf64c3 [apathy] [PATCH] Replaced boost::shared_ptr with std::shared_ptr, update
headers accordingly
2016-07-25 05:39:03 +00:00
DarthArgus a84205abec [apathy] [PATCH] Changed forward declaration from boost::shared_ptr to 2016-07-25 05:34:40 +00:00
DarthArgus e20ac25bfc [apathy] [PATCH] Replace boost::shared_ptr with std::shared_ptr 2016-07-25 05:33:05 +00:00
DarthArgus d7f94e8f7c [apathy] [PATCH] Replace boost::shared_ptr with std::shared_ptr 2016-07-25 05:32:38 +00:00
DarthArgus c9abbf1771 [apathy] [PATCH] Replace boost:shared_ptr with std::shared_ptr 2016-07-25 05:26:57 +00:00
DarthArgus 00fa2c450b [apathy] - emplace_back 2016-07-25 05:26:31 +00:00
DarthArgus 80b0db5327 another patch by apathy to remove shared_ptr 2016-07-25 05:25:38 +00:00
DarthArgus d9b4adb7e8 per apathy - other files/libs will need this where boost is used - [PATCH] Replace boost::shared_ptr usage with std::shared_ptr 2016-07-25 05:20:32 +00:00