| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | cmake: Add a test per check, instead of having only 1 big test | Sergio Martins | 2021-07-18 | 1 | -0/+14 |
| | | | | | | | | | | | Now you can pass -j12 or so to ctest. This gives nicer output. run_tests.py already had support for running stuff in parallel, but defaulted to multiprocessing.cpu_count(). Now users can use a more standard way of doing things and they only need to know ctest. | ||||
| * | Use boost:regex if std::regex is missing | Sergio Martins | 2019-10-28 | 1 | -9/+0 |
| | | | | | | | So older distros have full functionality, old-style-connect is no longer optional. Suppressions with //clazy:exclude= also use regex and will be available unconditionally | ||||
| * | generate.py: Also remove level3 from the readmes | Sergio Martins | 2019-09-03 | 1 | -1/+1 |
| | | | | | Level2 is the max now | ||||
| * | generate.py: remove level3, it's no longer a thing | Sergio Martins | 2019-09-03 | 1 | -1/+1 |
| | | | | | max level is 2 | ||||
| * | generate.py: Fix editing of Changelog | Sergio Martins | 2019-05-11 | 1 | -1/+2 |
| | | | | | | It was adding an entry for every existing check, not only for the new ones | ||||
| * | Remove level3 and movel those 5 checks to manual level | Sergio Martins | 2019-03-04 | 1 | -1/+1 |
| | | | | | | Doesn't make sense to enable them all at the same time. Each one must be carefully considered, as they are unstable. | ||||
| * | Make it easier to link to READMEs by removing the level name. | Sergio Martins | 2018-05-15 | 1 | -4/+42 |
| | | | | | | | | After make install they will still be installed to a level0, 1, 2 sub-folder, as the cmake instructions are generated by generate.py BUG: 394237 | ||||
| * | generate.py: Make it work on Windows | Sergio Martins | 2018-03-08 | 1 | -7/+7 |
| | | |||||
| * | generate.py: Detect check moves between levels | Sergio Martins | 2018-03-04 | 1 | -19/+58 |
| | | | | | | Meaning changing the level in checks.json will automatically move the files to the correct place. | ||||
| * | generate.py: Allow to specify which checks to generate | Sergio Martins | 2018-03-03 | 1 | -3/+13 |
| | | | | | | | | | This is useful to decrease build times while developing a new check , as touching Utils*h classes will trigger long rebuilds. By doing ./generate.py --generate <my-check> only my check will be built. | ||||
| * | checks starting with qt- should have classname starting with Qt | Sergio Martins | 2018-03-03 | 1 | -3/+6 |
| | | | | | Not QT. | ||||
| * | generate.py: Fix bug where files wouldn't be created | Sergio Martins | 2018-03-03 | 1 | -6/+6 |
| | | |||||
| * | checks.json: 'categories' is not a mandatory key | Sergio Martins | 2018-03-03 | 1 | -1/+2 |
| | | |||||
| * | generate.py: Also generate Changelog entry when creating a new check | Sergio Martins | 2018-03-03 | 1 | -2/+13 |
| | | |||||
| * | generate.py: Print a message when nothing was needed to be generated | Sergio Martins | 2018-03-03 | 1 | -11/+43 |
| | | |||||
| * | cleanup | Sergio Martins | 2018-03-03 | 1 | -15/+5 |
| | | |||||
| * | cleanup | Sergio Martins | 2018-03-03 | 1 | -20/+24 |
| | | |||||
| * | generate.py: Also generate the check's cpp and header from template | Sergio Martins | 2018-03-03 | 1 | -3/+49 |
| | | | | | | deduces copyright year and author from GIT_AUTHOR_NAME env Now all the boiler plate is taken care of when creating a new check. | ||||
| * | generate.py: Generate unit-test folder and files | Sergio Martins | 2018-03-02 | 1 | -0/+20 |
| | | |||||
| * | generate.py: Generate README's for checks that don't have one | Sergio Martins | 2018-03-02 | 1 | -0/+19 |
| | | | | | Detected two checks with readme in wrong folder. | ||||
| * | generate.py: Print help if no arguments given | Sergio Martins | 2018-03-02 | 1 | -0/+2 |
| | | |||||
| * | Allow to run generate.py from any folder, not just top-level | Sergio Martins | 2018-03-02 | 1 | -5/+8 |
| | | |||||
| * | README: Fix anchors of urls for manual level | Sergio Martins | 2018-03-02 | 1 | -11/+18 |
| | | | | | They were pointing to an inexistant path | ||||
| * | generate.py now also generates the README.md's list of checks | Sergio Martins | 2018-03-02 | 1 | -11/+34 |
| | | | | | No more manual editing. | ||||
| * | generate.py now also generates CheckSources.cmake | Sergio Martins | 2018-03-02 | 1 | -6/+48 |
| | | | | | | This makes it easier to compile only 1 check, useful during development to reduce build times, you just trim down checks.json and generate | ||||
| * | Update README, also include checks from manual level | Sergio Martins | 2018-02-23 | 1 | -2/+10 |
| | | |||||
| * | Rename HiddenLevel to ManualLevel | Sergio Martins | 2018-02-23 | 1 | -2/+2 |
| | | | | | | It's not really hidden, it's just manual. Checks here should be explicitly enabled. | ||||
| * | Move code for generating README.md list of checks to python script | Sergio Martins | 2018-01-14 | 1 | -2/+34 |
| | | | | | No need for it to be in the main binary | ||||
| * | Fix build with C++ library without std::regex | Sergio Martins | 2018-01-08 | 1 | -0/+10 |
| | | |||||
| * | Only call VisitStmt/VisitDecl() on checks that need it | Sergio Martins | 2017-12-12 | 1 | -4/+20 |
| | | | | | | | | | | | | | | | This optimizes a hot-path, the for loops that distribute all statements and all declarations through all checks. Previously we iterated the whole m_createChecks vector, which isn't required since some checks only need to visit declarations and others only need to visit statements. Each check now needs to express it's interest in checks.json. Saves 200ms when building qwidget.cpp, so should be significant when building the whole Qt | ||||
| * | Move CheckManager::isReservedCheckName() out of the main binary | Sergio Martins | 2017-12-12 | 1 | -0/+12 |
| | | | | | | Now done by generate.py which reads checks.json. No reason to have these checks at runtime. | ||||
| * | Checks.h: Make the generated code prettier / less verbose | Sergio Martins | 2017-12-12 | 1 | -3/+14 |
| | | |||||
| * | Replace the REGISTER_* macros with auto-generated code | Sergio Martins | 2017-12-12 | 1 | -0/+169 |
| All checks are now registered in Checks.h, this file is auto generated from the contents in checks.json. This means checks.json is now the authority and this measure ensures it's contents is correct, otherwise the unit-tests fail. List of checks from Readme and anchor header will also be generated from checks.json in the future. | |||||
