Skip to content

Conversation

hjmjohnson
Copy link

This patch applies a code beautifier for CMake syntax to the entire project. It has only cosmetic changes to make the formatting aligned with modern cmake recommendations.

jschueller and others added 30 commits January 25, 2023 13:56
0919f4b Drop remaining qt4 paths
ac35bd6 Qt6 port

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Mathieu Westphal <mathieu.westphal@kitware.com>
Reviewed-by: Nicolas Vuaille <nicolas.vuaille@kitware.com>
Merge-request: !66
If it is explicitly set to the empty string, it was reset to a value.
The `\t` is variable width, so a fixed set of spaces is better here.
Not sure this is the right fix, but address the cmake issue. Shocking
that this was merged without even a basic check!
pqAbstractItemViewEventPlayerBase now supports looking up an item's
row/column number using header label. This makes it a little easier to
write tests that are not susceptible to minor changes in column / row
order.
This prepares the library to support `QT_NO_KEYWORDS`.
 * explicit the failing event (object - command - args)
 so it is easier to find it in the input file.
7c51fc1 Fix a small issue with QRegularExpression
a5abdf7 Adding doc
39962b2 Fix some C++17 code
5e3f129 Fixup cmake
a1fd62e Support building QtTesting as a separate lib
be39159 Fix some emit keywords
4cd2ebc Use UTF8 printable format for error message strings
fd51b94 Add context for play error messages
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Nicolas Vuaille <nicolas.vuaille@kitware.com>
Merge-request: !68
- Add a "Dashboard Mode" checkbox in the record dialog
- Add an API to enable and be triggered when recording/playing test and toggling the new checkbox.
- Add a new misc event "dashboard_mode" to be recorded and played when needed

Do not implement any logic behind the dashboard mode as it it very application specific
5115a14 Adding logic for dashboard mode

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Nicolas Vuaille <nicolas.vuaille@kitware.com>
Merge-request: !69
a53b541 Fixup dashboard mode to update correctly

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Nicolas Vuaille <nicolas.vuaille@kitware.com>
Merge-request: !70
f9d1da7 Increase cmake min ver to avoid warnings

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !71
NicolasVuaille and others added 30 commits September 7, 2023 16:43
* Only one will be selected but it also allow for clear selection
c3578ed Allow setSelection for itemView in Single mode

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Mathieu Westphal (Kitware) <mathieu.westphal@kitware.com>
Merge-request: !73
* The pqEventComment records with nullptr
573748b Recorder should handle nullptr object

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Mathieu Westphal (Kitware) <mathieu.westphal@kitware.com>
Merge-request: !74
317f4cf enable simple CI

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Mathieu Westphal (Kitware) <mathieu.westphal@kitware.com>
Merge-request: !75
This is old, but is what ParaView is using today.
62c325b clang-format: apply clang-format-9's formatting to the repository
e1546ff clang-format: sync with ParaView
30e1e7b gitattributes: use clang-format-9

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !76
* Restore full control from environment variable
a296854 Remove debug statement

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Mathieu Westphal (Kitware) <mathieu.westphal@kitware.com>
Merge-request: !77
edb187d Fix a few warnings

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Nicolas Vuaille <nicolas.vuaille@kitware.com>
Merge-request: !78
```
grep -rl "See License_v1.2.txt for the full ParaView license." >files.out
cat files.out  | xargs -I %s perl -i~ -0777 -pe 's/\A\/\*=========================================================================\n\n.*Program.*\n.*Module.*\n\n.*Copyright \(c\) .* Sandia Corporation, Kitware Inc.\n.*All rights reserved.\n.*\n.*\n.*\n.*\n.*See License_v1.2.txt.*\n.*\n.*\n.*\n.*\n.*\n.*\nTHIS.*\n.*EXPRESS.*\nLIMITED.*\n.*PARTICULAR.*\n.*CONTRIBUTORS.*\n.*EXEMPLARY.*\n.*PROCUREMENT.*\n.*PROFITS.*\n.*LIABILITY.*\n.*NEGLIGENCE.*\n.*SOFTWARE.*\n.*\n=*\*\//\/\/ SPDX-FileCopyrightText: Copyright (c) Kitware Inc.\n\/\/ SPDX-FileCopyrightText: Copyright (c) Sandia Corporation\n\/\/ SPDX-License-Identifier: BSD-3-Clause/g' %s
```
Manual replacement
741d02e Update license headers
455785a Update license headers
5140c94 Update Copyright.txt

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Nicolas Vuaille <nicolas.vuaille@kitware.com>
Merge-request: !79
349eefb pqEventTranslator: fix typos in comments
0143b15 qt6: adapt for `QMouseEvent::globalPos` deprecation
3576767 qt6: adapt for `Q*Event::pos` deprecation
f13bec5 qt6: adapt for deprecation of `QMouseEvent` ctor without globalPos

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Mathieu Westphal (Kitware) <mathieu.westphal@kitware.com>
Merge-request: !80
Add a new superclass for Players: pqBasicObjectPlayer.
It defines the API and supports pqcheck event on QObject
(instead of the QWidget restriction in pqBasicWidgetEventPlayer),
looking for a QObject::property matching the "command" argument.
8d2b229 Allow to check QObject properties

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Mathieu Westphal (Kitware) <mathieu.westphal@kitware.com>
Merge-request: !81
This class was added in 8d2b229 but
the header was not installed correctly.
Install missing pqObjectPlayer header

See merge request paraview/qttesting!83
Also, effectively utilize foundMatch again.
0305e48 Fix segfault when lastObject is nullptr

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Nicolas Vuaille <nicolas.vuaille@kitware.com>
Merge-request: !85
```bash
pip3 install gersemi
gersemi -i $(find . -name "*.cmake" -o -name "CMakeLists.txt")
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.