summaryrefslogtreecommitdiffstats
path: root/scripts/MakeHeader.py
AgeCommit message (Collapse)Author
2018-04-05MakeHeader.py: Fix for non-utf8 environments (#770)volkov-am
Header creation fails with non-utf8 locale and python3. Simply set LC_ALL="C" and use python3 to reproduce the issue. env LC_ALL="C" ./scripts/MakeHeader.py MetersPanel.c Traceback (most recent call last): File "./scripts/MakeHeader.py", line 32, in <module> for line in file.readlines(): File "/usr/lib64/python3.5/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 956: ordinal not in range(128) This changes is python2 and python3 compatible cStringIO.StringIO module is removed because it is not able to accept unicode strings https://docs.python.org/2/library/stringio.html#cStringIO.StringIO
2017-07-27make script version agnosticguoci
2017-04-21Enh: scripts/MakeHeader scriptDiederik de Groot
Only write a new .h file if something changed for the header file being created. This prevents a lot of recompilation during development
2015-01-21Sorry about the mega-patch.Hisham Muhammad
This is a work-in-progress, code is currently broken. (Some actions, and notably, the header, are missing.)
2014-11-19Another portability tweak.Hisham Muhammad
2014-01-17Possible to regenerate headers outside of srcdirRobert Rosengren
2011-12-26major header cleanupHisham Muhammad
2007-08-10Fix GCC 4.3 issues: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=416852Hisham Muhammad
2007-05-17Fixes for /proc location, submitted by Florent ThoumieHisham Muhammad
2006-06-06New version of MakeHeader. Does not use 'private' comment annotation,Hisham Muhammad
using the 'static' storage class instead. Automatically generates 'extern' declarations in headers for non-static data.
2006-06-05Use long long types to avoid overflowHisham Muhammad
2006-03-23Add header generator script.Hisham Muhammad