Commit Graph
179 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
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
DarthArgus 2b8a8fdd03 pvs studio suggestions 2016-09-26 06:24:20 +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 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 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
DarthArgus 1dff426bbe enable more thread safety and buffer safety 2016-07-31 05:45:10 +00:00
DarthArgus 814cf4f731 some more static analyzer suggestions 2016-07-25 22:11:10 -07:00
DarthArgus e65b05ada9 mostly template initializations to prevent undefined behavior in the
(unlikely) chance some of these properties are used
2016-07-24 21:25:03 -07:00
DarthArgus 5084c72fbe fix a few discrepancies 2016-07-25 01:46:39 +00:00
DarthArgus d2c830306f i must test these before calling them good - as gcc isn't on the windows
machine i push, test, fix, and then push again - pvs studio <3
2016-07-24 20:37:39 -07:00
DarthArgus 5217465f67 pvs studio suggested improvements for performance 2016-07-24 17:47:01 -07:00
DarthArgus 0944957824 forgot to declare 2016-07-24 01:55:15 +00:00
DarthArgus a31d7ca48b partial revert as pvs mislead me 2016-07-24 01:52:29 +00:00
DarthArgus 5c8a1ebc42 despite the codemaid changes, this is some static analysis detected issues 2016-07-23 20:53:20 -07:00
DarthArgus 9b369713e1 again, re-add some windows stuff Revert "possibly controversial commit: remove all windows sources, keeping only the windows cmake so that we can generate an sln to edit the code"
This reverts commit 48ba7961eb.
2016-07-23 18:01:50 -07:00
DarthArgus 5bd85cf54d just slap an inline for the chat debug printing function...@devcodex if this is nasty please let me know...but clang was griping about it in release builds 2016-07-13 23:29:40 +00:00
DarthArgus b27d82ff39 no more spaces for extra secret slots - closes #34 2016-06-01 04:04:30 +00:00
DarthArgus a05e61e0fe the response should never be empty but we need to check the json lib for exceptions and return appropriately... + cleanup a bit - closes #33 2016-05-22 17:44:00 +00:00
DarthArgus 068228a938 forgot a case 2016-04-28 19:52:24 +00:00
DarthArgus 18e316631f credit where it's due 2016-04-28 19:17:47 +00:00
DarthArgus 909ceab5e9 poke some fun with license header 2016-04-28 17:27:27 +00:00
DarthArgus 6049da78af all working! thanks for the cmake help, @devcodex! 2016-04-28 17:23:30 +00:00
DarthArgus b99e3e45f9 properly link the executable against curl, instead of the helper lib 2016-04-28 16:57:47 +00:00
DarthArgus ecc0621f61 if only i could get past the linker errors, this will work... 2016-04-28 03:46:02 +00:00
DarthArgus 5f7cf7e969 this is closer but still not building correctly 2016-04-28 03:28:12 +00:00
DarthArgus 4f7a729d61 this makes more sense 2016-04-27 22:27:18 +00:00
DarthArgus baecfbebb6 has linker error! but this should be a good start on breaking out our changes and web api into a standalone library/namespace 2016-04-27 21:54:10 +00:00
DarthArgus cd997925eb cleanup all the "#if 1" macro blocks 2016-03-24 21:27:54 +00:00
DarthArgus 3b430656ba remove SOE deprecated code and files - leaving in the #if 0 blocks with TODO and other possible uses for later 2016-03-24 21:07:31 +00:00
DarthArgus 519be81acc Revert f1c197e700 and fix our crash issue...this is silly 2016-03-03 11:19:23 -06:00
DarthArgus 9393e6e7af another flint detected issue - init to 0 instead of with ourselves 2016-02-18 23:40:07 -06:00
DarthArgus 877d0a9b62 flint++ static analyzer detected items (not all that were likely legit positives, but a start) as well as some clang detected unused vars, cleanup_ 2016-02-18 22:55:54 -06:00
DarthArgus dd9db6d350 Revert "Revert "newer standards prefer nullptr over NULL - this is most of them but there are others too""
This reverts commit 8e2160f33e.
2016-02-11 21:19:18 -06:00
DarthArgus 8e2160f33e Revert "newer standards prefer nullptr over NULL - this is most of them but there are others too"
This reverts commit 3e4cc36e7e.
2016-02-11 19:44:31 -06:00
DarthArgus 3e4cc36e7e newer standards prefer nullptr over NULL - this is most of them but there are others too 2016-02-11 15:16:14 -06:00
DarthArgus f1c197e700 Remove code that seems to be unnecessary now that we no longer use stlport 2016-02-09 17:32:47 -06:00
DarthArgus adf7f67682 fix some cppcheck detected (potential) issues 2016-02-03 02:00:56 -06:00
DarthArgus f32c8b4f21 theoretically this will fix our unsigned comparison warnings 2016-01-31 12:51:49 -06:00
DarthArgus 48ba7961eb possibly controversial commit: remove all windows sources, keeping only the windows cmake so that we can generate an sln to edit the code 2016-01-27 15:22:22 -06:00
DarthArgus a161c994f3 another whoops 2016-01-15 23:26:41 -06:00
DarthArgus 26d3801f75 whoops 2016-01-15 23:24:19 -06:00