* origin/master: (93 commits)
Add support for dictionary creation (#277)
Add do-while statement (#276)
Add foreach loops (#275)
New compiler: array initialization (#274)
Disambiguator: figure out if label is a case statement dispatch selector, or should apply to a statement within the case dispatch group's block. (#273)
New compiler: Add support for case statements (#272)
Change "logical" to "bitwise". (#258)
Fix divide-by-zero errors, and mask FormatError if it were thrown in a destructor. (#271)
Add break and continue statements. (#270)
New compiler: assignment to local and global variables. (#269)
Add support for while loops (#268)
Optimize if statements, and emit module functions in legacy order (#267)
Optimizations: binary operators (#266)
Add binary operators (#265)
Add support for const declarations (#264)
Handle default parameter values, pass-by-name, and return statements in functions. (#263)
Add limited support for user functions (#262)
New compiler: add return and exit statements (#261)
Add support for if-then-else statements (#259)
OG compiler: set module to Mod_Basic when a token is an identifier (#257)
...
* origin/master: (84 commits)
store skillid in the attributes if available
added docs for checkskill change
use the correct id as skillid
CheckSkill() accepts now also attribute name instead of skillid
Move StoredToken to its own cpp/h
Items can now be created with an assigned quality from an itemdescriptor (#161)
*** OG Compiler: decouple web script preprocessing from FileContents
fix optimizer bug: can stop optimizing prematurely if pre- or post-decrement operators are present
Fix a bug in the legacy compiler .ecl output
Move compiler to Legacy namespace
Allow discord notification to fail and still have a successful build. It will otherwise always fail on forks, because it needs a github secret.
Ensure textentry_uoemod is not overwritten
fixed potential out of bound read
escript_grammar.cmake from Turley
generated lib/EscriptGrammar from grammar
EscriptGrammar from escript-antlr repo commit ef133e3a3a3184936e93493c863b7b995cdf4737 (#162)
Incorporate ANTLR into the cmake build.
Fix luck mod being assigned to luck from itemdesc files Fixed swing speed increase being printed twice when saving items. Fixed spelling mistake in docs.
Style fix
- Fix up docs. - Change modifier calculation to correctly use double. - Change rounding calculation as per Turley's suggestion.
...
* origin/master: (70 commits)
Fix to items randomly loading with AOS props due to incorrect initalization of props on load of server.
Rectify core not clearing mobiles from client during shadow realm shift.
SendQuestArrow() fix for HSA clients (#91)
Hotfix/start skill script (#90)
Noninvasive dynaprops (#89)
Update objref.xml
Some network error conditions were missing...
Final adjustments to core-changes
Added Turley's missing core-changes :P
Improved connection handling: - Linux isn't limited to 1024 connections anymore - Windows may have some slight performance boost
removed senseless gitignore files
use generator unspecific clean cmd in build_tools.sh always generate compile_commands.json force color diagnostic (to work with ninja)
Curl building uses now the same compiler as pol
fixed target_link_directories system header declaration
check if container is orphan when adding items as content. for now it crashes the shard to have the backtrace. (would crash anyway later)
add corechanges for doc changes
new build target "clang_format" runs clang-format on current modified or new files in pol-core dir.
Formatting
Fix xml indentation
fix indentation
...
Conflicts:
pol-core/bscript/execmodl.cpp
pol-core/doc/core-changes.txt
pol-core/pol/getmsg.cpp
pol-core/pol/module/unimod.cpp
new container/npc member no_drop_exception if set target is valid even
if no_drop is set
poltool can now unpack and print compressed gump pkts from a pol/razor
pkt log
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!
changed client class from ref_counted to also hold like the uoexecutor a weakptr, use it in the ClientObjImp.
Renamed NPCRef to NpcRef like its been told since years in a TODO comment
fixed some warnings from VS2015
When unequipping last armor piece weared by an NPC and then
receiving an hit, the armor reference were left in Npc.armor_
causing the combat system to try to access it anyway. If the item was
destroyed meanwhile, this would lead to a stack overflow.