summaryrefslogtreecommitdiffstats
path: root/scripts
AgeCommit message (Collapse)Author
2020-11-25Track file descriptors in valgrind scriptChristian Göttsche
2020-09-17Add script to run htop under valgrindChristian Göttsche
Includes suppressions for ncurses leaks.
2020-09-03Axe automated header generation.Zev Weiss
Reasoning: - implementation was unsound -- broke down when I added a fairly basic macro definition expanding to a struct initializer in a *.c file. - made it way too easy (e.g. via otherwise totally innocuous git commands) to end up with timestamps such that it always ran MakeHeader.py but never used its output, leading to overbuild noise when running what should be a null 'make'. - but mostly: it's just an awkward way of dealing with C code.
2020-08-25MakeHeader.py.in: remove unused importChristian Göttsche
2020-08-25MakeHeader.py.in: remove executable bitChristian Göttsche
2020-08-23Generate an appropriate shebang line for MakeHeader script3.0.0rc2Nathan Scott
Use configure.ac to handle platform differences where some build hosts have only a python3, or only python, binary. Related to https://github.com/htop-dev/htop/pull/6
2020-08-23Revert "MakeHeader.py: use python3 shebang"Nathan Scott
This reverts commit 40ac7a88af5a2c7c0d03ca4ddb09cde01f7e80c5. as it causes build failure on non-python3 platforms.
2020-08-21MakeHeader.py: use python3 shebangChristian Göttsche
Also drop unused import
2020-07-10Resolve complation issues with -fno-common (default from gcc-10)Nathan Scott
Extends the MakeHeader script to auto-generate correct "extern" function declarations in some cases that it currently does not. Related to https://github.com/hishamhm/htop/pull/981
2019-02-10Linting changesHisham Muhammad
as reported by lgtm.com
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