History log of /haiku/src/tools/checkstyle/utils.py
Revision Date Author Comments
# dee0cb70 29-Aug-2022 Oscar Lesta <oscar.lesta@gmail.com>

checkstyle.py: make it compatible with Python 3.x

* Change prints to be compatible with 2.x and 3.x.
* Use html.escape instead of cgi.escape on Python >= 3.8.
* Make integer division explicit.

Change-Id: Ib9b236816e8fa07741c02d0e79629c4aa0ed6676
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5603
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>


# fe055bf3 21-Sep-2015 Jeroen Oortwijn <oortwijn@gmail.com>

change html output to confirm to XHTML Strict

Several errors in the html output caused WebPositive to not render
the file completely.

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

Fixes #12387.


# ae762f31 04-Nov-2009 Alexandre Deckner <alex@zappotek.com>

* Add multi file/directory support
* Refined some rules to not include the new-line
* Added 'windows line ending' rule
* Enhanced the html output, not an expert there though



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33889 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ef2927b1 01-Nov-2009 Alexandre Deckner <alex@zappotek.com>

* Use <span> for the highlights


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33859 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 214f735e 31-Oct-2009 Alexandre Deckner <alex@zappotek.com>

* Style checker for the Haiku C++ coding guidelines
* Added an html report output with highlights and tooltips
* Still a few false positives and rules missing. Some regex could be reworked
* TODO: ignore some rules when in comments, multifile support



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33856 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ae762f316d8acbd136e6cae4fe73b3f75634e3d8 04-Nov-2009 Alexandre Deckner <alex@zappotek.com>

* Add multi file/directory support
* Refined some rules to not include the new-line
* Added 'windows line ending' rule
* Enhanced the html output, not an expert there though



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33889 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ef2927b12c84db222e1fae380162c4780fcb1261 01-Nov-2009 Alexandre Deckner <alex@zappotek.com>

* Use <span> for the highlights


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33859 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 214f735e3441372e058defd81803e3570c99e92b 31-Oct-2009 Alexandre Deckner <alex@zappotek.com>

* Style checker for the Haiku C++ coding guidelines
* Added an html report output with highlights and tooltips
* Still a few false positives and rules missing. Some regex could be reworked
* TODO: ignore some rules when in comments, multifile support



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33856 a95241bf-73f2-0310-859d-f6bbb57e9c96