Commit graph

46 commits

Author SHA1 Message Date
turley
6de0c7e1c0 added define to use boost regex (older gcc has bug in std version)
added define for the git revision and centralized others
2016-01-19 21:04:40 +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
dc3c54d3f0 misc stuff:
explicit initialization of some members
fixed a define
target cursor ids are now send 1-based instead of 0-based
clean up refpointers in sellhandlers after use (and not before)
iostats changed to atomics
2015-03-15 13:39:34 +01:00
turley
b77a13073c corrected several data races 2015-03-14 11:45:14 +01:00
turley
90f162924d Added override keyword to virtual functions 2014-11-23 15:07:02 +01:00
frozenblit
a704a90208 Another round of stl_inc.h cleanups 2014-11-01 22:27:42 +01:00
frozenblit
14e1f7579f Removed dead code 2014-10-06 20:24:25 +02:00
turley
e0b722a93b fixed several uninitialized variables 2014-08-30 12:25:08 +02:00
turley
38eb91dc7d fixed linux build 2014-08-15 15:43:54 +02:00
turley
1a054e76e3 moved some escript function names into flyweight. 2014-08-15 15:27:46 +02:00
turley
a2976bb31e nullptr guards for executor sizeEstimate() 2014-08-12 13:08:57 +02:00
turley
331792c755 added more memoryusage estimation 2014-06-07 09:00:37 +00:00
turley
fb873de803 decoupled headers to optimize a bit the build time 2014-05-03 09:06:19 +00:00
turley
c42241df61 some minor logging stuff 2014-03-08 07:32:36 +00:00
turley
0a1d1c6565 fixed compilation errors with special defines. 2014-01-19 16:04:43 +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
e2f9c3fbcd for you nando :P 2013-09-21 11:16:06 +00:00
turley
b0338db350 some c++11 changes 2013-09-21 09:45:04 +00:00
turley
bed4a8ef19 automatically install clang,gcc4.8,vim
modified makefile to switch between gcc4.6,4.8 and clang (currently clang as default (nicer error msgs)
win32 default to xp toolset
more #define cleanup
replaced hash_map with c++11 unordered_map
2013-09-14 10:52:15 +00:00
turley
90f1fc9248 implemented the std mutex 2013-09-13 19:03:25 +00:00
turley
593bea8cea the first version of the leak fix was of cause to easy... 2013-08-31 16:27:31 +00:00
turley
9d5c26cbed fixed escript memoryleak with array_assign and set_member
called on strings it always leaked, different objects only on failure.
2013-08-31 10:19:09 +00:00
turley
e6851b8b99 more codecleanup 2012-10-06 09:54:20 +00:00
turley
269f6e9069 secured: executor_instances, gameclock and logfile
added LEAK_DEBUG define:
disables the fixed allocs and uses direct new/delete, useful in conjunction with define of _STLP_USE_NEWALLOC in stlport/stl/config/host.h (rebuild of STLPORT required) to see real leaks
fixed leak of intrinsic weapons
small speedup for map packet
2012-08-27 17:47:15 +00:00
turley
4b3b6c87f9 fixed leak in set_member
ins_set_member_id_consume_* no checks if get_member_id returns UnInit or Error
added test for it
added note for it in core-changes
2012-01-05 18:07:01 +00:00
turley
971438ab24 drunken coder fixes, plus added a needed possible leak.
Someone who didnt hacked the whole day the compiler and executor should take a look it
2012-01-03 15:42:11 +00:00
turley
fac3213f2a finally support for +=,-=,*=,/=,%= with objectmembers, like who.resist_fire_mod+=1 2012-01-03 14:53:36 +00:00
turley
65d51103fa major rewrite of primitive operators
major speedup of +=,-=,...
2012-01-03 11:32:26 +00:00
turley
77d5bc53c5 got sick of missing winzip error, added 7zip and tuned makefile
+small warning fix
2011-12-29 17:13:11 +00:00
turley
4e7e400254 64bit compilation.. 2011-12-23 13:28:38 +00:00
turley
441355b00a i think i misunderstood something, revert changes 2011-12-20 12:54:06 +00:00
turley
fd92b259a4 minor refactoring
possible bug in executor (array assign)
2011-12-19 18:25:03 +00:00
turley
4f053bc563 minor performance stuff + next try to fix memory problem 2011-05-16 14:48:11 +00:00
turley
22c1e43429 ESCRIPT_PROFILE now measures time in microsecond instead of milliseconds 2011-03-17 16:45:43 +00:00
turley
27140e1749 new line fixes (gcc) 2011-03-12 11:14:19 +00:00
turley
823f18b0cc Added: pol.cfg AccountDataSafe (default -1)
Values:
            -1 : old behaviour, saves accounts.txt immediately after an account change
             0 : saves only during worldsave (if needed)
            >0 : saves every X seconds and during worldsave (if needed)
removed debugging stuff for pkts
2011-03-10 12:57:50 +00:00
turley
981ff65c43 -added ESCRIPT_PROFILE #define stops the execution time of functions/members/methods PolCore().internal(1) logs it into debug.log
-added globalproperty file for PreprocessorDefinitions (i hate to set needed defs in every proj) vs2008/10 only
-some speedups
-removed "Waah! ..." prints on heal/damage dead chr
-fixed "*.. is attacking you!*"
2011-03-04 14:32:18 +00:00
turley
e10cd27cea sync: shini - long to int (prerequisit for 64-bit) 2010-03-29 14:52:03 +00:00
turley
438bab30ed fix for latest gcc - patch by che
with defined USE_SYSTEM_ZLIB uses system zlib - che
2010-01-06 08:30:57 +00:00
turley
8084d7c0e4 more cleanup
+pre-incrementing of iters is faster
2009-10-07 10:55:39 +00:00
turley
b2bb1c096b Fixed DestroyItem call in CanInsertScript
vartype cleanup
misc cleanup
misc optimizations
2009-10-07 07:41:56 +00:00
muaddib_pol
4f01460d16 + bscript project upgrade to use literal paths. Removed include of ".."
+ Couple format/cleanup
2009-09-11 12:15:05 +00:00
turley
2e39309bf1 coordinate vartype cleanup, i hope no new bugs :( 2009-09-10 12:24:52 +00:00
turley
07e1c0daad Added: struct .? and .- as shortcut for .exists() and .erase() 2009-09-05 16:22:35 +00:00
muaddib_pol
d032ee448f + POL is now, open source. 2009-09-03 19:44:42 +00:00