summaryrefslogtreecommitdiffstats
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* Track file descriptors in valgrind scriptChristian Göttsche2020-11-251-1/+1
|
* Add script to run htop under valgrindChristian Göttsche2020-09-172-0/+69
| | | | Includes suppressions for ncurses leaks.
* Axe automated header generation.Zev Weiss2020-09-031-104/+0
| | | | | | | | | | | | | | 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.
* MakeHeader.py.in: remove unused importChristian Göttsche2020-08-251-1/+1
|
* MakeHeader.py.in: remove executable bitChristian Göttsche2020-08-251-0/+0
|
* Generate an appropriate shebang line for MakeHeader script3.0.0rc2Nathan Scott2020-08-231-1/+1
| | | | | | | 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
* Revert "MakeHeader.py: use python3 shebang"Nathan Scott2020-08-231-2/+2
| | | | | This reverts commit 40ac7a88af5a2c7c0d03ca4ddb09cde01f7e80c5. as it causes build failure on non-python3 platforms.
* MakeHeader.py: use python3 shebangChristian Göttsche2020-08-211-2/+2
| | | | Also drop unused import
* Resolve complation issues with -fno-common (default from gcc-10)Nathan Scott2020-07-101-1/+3
| | | | | | | 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
* Linting changesHisham Muhammad2019-02-101-1/+1
| | | | as reported by lgtm.com
* MakeHeader.py: Fix for non-utf8 environments (#770)volkov-am2018-04-051-9/+6
| | | | | | | | | | | | | | | | | 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
* make script version agnosticguoci2017-07-271-2/+5
|
* Enh: scripts/MakeHeader scriptDiederik de Groot2017-04-211-24/+33
| | | | | Only write a new .h file if something changed for the header file being created. This prevents a lot of recompilation during development
* Sorry about the mega-patch.Hisham Muhammad2015-01-211-0/+2
| | | | | This is a work-in-progress, code is currently broken. (Some actions, and notably, the header, are missing.)
* Another portability tweak.Hisham Muhammad2014-11-191-1/+1
|
* Possible to regenerate headers outside of srcdirRobert Rosengren2014-01-171-2/+2
|
* major header cleanupHisham Muhammad2011-12-261-0/+12
|
* Fix GCC 4.3 issues: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=416852Hisham Muhammad2007-08-101-1/+1
|
* Fixes for /proc location, submitted by Florent ThoumieHisham Muhammad2007-05-171-0/+2
|
* New version of MakeHeader. Does not use 'private' comment annotation,Hisham Muhammad2006-06-061-10/+27
| | | | | | using the 'static' storage class instead. Automatically generates 'extern' declarations in headers for non-static data.
* Use long long types to avoid overflowHisham Muhammad2006-06-051-0/+0
|
* Add header generator script.Hisham Muhammad2006-03-231-0/+60

© 2014-2024 Faster IT GmbH | imprint | privacy policy