aboutsummaryrefslogtreecommitdiff
path: root/lout/misc.cc
AgeCommit message (Collapse)Author
2025-05-10Don't use assert to check if realloc() failedRodrigo Arias Mallo
Avoid using assert as when building with NDEBUG defined they become a no-operation so the realloc is never done. Always perform the check and exit accordingly.
2024-08-07Remove unused init() functionRodrigo Arias Mallo
2024-08-07Use dStrdup instead of strdupRodrigo Arias Mallo
The strdup function is not available in POSIX-2001, so we use our own implementation in dlib: dStrdup. Reviewed-by: dogma
2016-07-12cppcheck: Fix realloc mistake (3 times).Jorge Arellano Cid
realloc may fail and return NULL, in that case the array contents were lost. Dillo would exit a couple of lines later anyway, but it's better to exit in a clean way.
2015-01-27Some debugging code.Sebastian Geerken
2014-02-16lout: mark getters as constJohannes Hofmann
2013-03-05Comparable is now subclass of Object (not pseudo-interface anymore). The old ↵Sebastian Geerken
solution would have made RTTI neccessary to work correctly.
2011-05-13more free/deletecorvid
2009-10-03rm unused lout::misc functionscorvid
2009-03-02Updated the GPL copyright note in the source filesDetlef Riekenberg
2009-02-09whitespace cleanup: 's/ +$//g'Jorge Arellano Cid
2009-02-08's/if(/if (/g' 's/for(/for (/g' 's/while(/while (/g', and indentation.Jorge Arellano Cid
2008-09-24- Moved the dw2 tree into dillo2's tree.jcid