* getUserArgs: optimize arguments immediately
This would have also happened when the whole expression (function call + arguments) was processed.
Doing it here reduces the number of places that call IIP directly.
* remove dead code Expression::eat
* rename Expression::eat2() to consume_tokens(), and modernize
only once
renamed mklower/mkupper to make it clear that it should only be used
for pure ascii texts
compiler triggers only once a warning about invalid unicode file
* origin/master:
fixed leak in compiler and xml filemod ecompile/runecl no longer try to log to pol logs activated xml unittest print stderr on testfailure
Conflicts:
testsuite/escript/config/fileaccess.cfg
testsuite/escript/filemod/xml.ins
* origin/master: (58 commits)
fixed style
fixed namespaces of moved files
moved polfile/uofile files into plib to cleanup atleast a bit the compile dependencies
fixed cpu usage of usesinglethreadlogin
fixed warning
PolCore().internal(6, scriptname) logs name and memoryusage of variables for given script into log/scriptmemory.log. Globals, locals and all current call stacks. scriptname has to be the relative path from root with ecl ending. Precondition is an existing .dbg file for the given script, this will be created by compiling the script with -x
added PolCore().internal(5) logs memoryusage in bytes of each script instance into log/memoryusagescripts.log
updated flyweight memory report (used for memory saving of strings) enable via ENABLE_FLYWEIGHT_REPORT cmake option
Turns out that Windows has the same wrong format specifier
Fix wrong format specifier for pointers (fmtlib)
Mentioned the ENTEREDAREA and LEFTAREA events for items in the docs
Changed core-changes.txt so that there was only one date entry for my additions.
Fixed more documentation errors for the ListObjectsInBoxOfClass and ListItemsInBoxOfObjType functions.
Fixed prototype in XML docs for ListObjectsInBoxOfClass and ListObjectsInBoxOfObjType
** Fix docs for ListObjectsInBoxOfClass and remove commented debug code.
**** Commit for 2018-11-25 **** Added ListObjectsInBox to uo.em.
**** Commit for 2018-11-25 **** Added ListItemsInBoxOfObjType( objtype, x1, y1, z1, x2, y2, z2, realm := _DEFAULT_REALM) to uo.em Updated core-changes.txt with the ListItemsInBoxOfObjType info. Updated uo.em docs with the ListItemsInBoxOfObjType info.
silence old core-changes.txt format warnings
Update web server docs.
More gitignore
...
* upstream/master: (45 commits)
renamed mobile syshook to character used unique_ptr for all syshooks
added docs
code simplification, deprecate warning for uoclient.cfg MethodScript entry
party and guild ref support docs and testing left?
custom methods for client and account references
fixed line length
syshooks for npc/mobiles
first round for scripted object class methods
Fixed formatting error.
Added new return option to consume ammunition hook which allows the hook to make the core continue with the usual ammunition checks.
Fix critical bug in FindObjtypeInContainer()
fixed compiler warning
fixed linesize
windows fixes
Added cmake option to run clang-tidy used everywhere nullptr
Changed classes to be final if possible, removed override macro
Added additional documentation.
next..
clang 7 is currently untrusted... next try 6 ;)
fixed new clang warnings, new compiler version on travis (lets see how many commits are needed till it works)
...
Conflicts:
.travis.yml
pol-core/bscript/impstr.h
pol-core/clib/cfgfile.cpp
pol-core/pol/module/npcmod.cpp
Authors are not forced to use the clang-format setting, but should
atleast be inspired by the style.
The only thing which is now not allowed are tabs for ident/alignment!
Has no practical effect, but tells the compiler not to issue a warning
if the following variable in a function or program definition is will
not be used. The compiler will instead issue a warning if the given
variable is used.
Example:
program onremovescript( character, container, unused item, unused item_amount, movetype )
<some code here...>
endprogram
function myfunc( parameter1, unused parameter_for_future_use )
<some code here...>
endfunction