[clazy] [Bug 401015] Check that the name of the types exported to QML with qmlRegisterType starts uppercase

2018-11-18 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=401015

Sergio Martins  changed:

   What|Removed |Added

 Resolution|--- |FIXED
  Latest Commit||https://commits.kde.org/cla
   ||zy/90ef5de73c8cb09eda1480a4
   ||930450e243abe6de
 Status|ASSIGNED|RESOLVED

--- Comment #3 from Sergio Martins  ---
Git commit 90ef5de73c8cb09eda1480a4930450e243abe6de by Sergio Martins.
Committed on 18/11/2018 at 19:58.
Pushed by smartins into branch 'master'.

New check: lowercase-qml-type-name

Warns when QML types registered with qmlRegisterType() or
qmlRegisterUncreatableType()
don't start with uppercase. It's required by the engine.

M  +1-0Changelog
M  +1-0CheckSources.cmake
M  +1-0README.md
M  +6-1checks.json
A  +4-0docs/checks/README-lowercase-qml-type-name.md
M  +1-0readmes.cmake
M  +2-0src/Checks.h
A  +69   -0src/checks/level0/lowercase-qml-type-name.cpp [License: LGPL
(v2+)]
A  +38   -0src/checks/level0/lowercase-qml-type-name.h [License: LGPL
(v2+)]
A  +7-0tests/lowercase-qml-type-name/config.json
A  +11   -0tests/lowercase-qml-type-name/main.cpp [License: UNKNOWN]  *
A  +1-0tests/lowercase-qml-type-name/main.cpp.expected

The files marked with a * at the end have a non valid license. Please read:
https://community.kde.org/Policies/Licensing_Policy and use the headers which
are listed at that page.


https://commits.kde.org/clazy/90ef5de73c8cb09eda1480a4930450e243abe6de

-- 
You are receiving this mail because:
You are watching all bug changes.

[clazy] [Bug 401015] Check that the name of the types exported to QML with qmlRegisterType starts uppercase

2018-11-18 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=401015

--- Comment #2 from Sergio Martins  ---
Thinking this should be implemented in Qt instead, with a static-assert

-- 
You are receiving this mail because:
You are watching all bug changes.

[clazy] [Bug 401015] Check that the name of the types exported to QML with qmlRegisterType starts uppercase

2018-11-17 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=401015

Sergio Martins  changed:

   What|Removed |Added

 Status|REPORTED|ASSIGNED
 Ever confirmed|0   |1

-- 
You are receiving this mail because:
You are watching all bug changes.

[clazy] [Bug 401015] Check that the name of the types exported to QML with qmlRegisterType starts uppercase

2018-11-13 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=401015

--- Comment #1 from Sergio Martins  ---
good idea

-- 
You are receiving this mail because:
You are watching all bug changes.

[clazy] [Bug 401015] Check that the name of the types exported to QML with qmlRegisterType starts uppercase

2018-11-13 Thread Sergio Martins
https://bugs.kde.org/show_bug.cgi?id=401015

Sergio Martins  changed:

   What|Removed |Added

   Assignee|unassigned-b...@kde.org |smart...@kde.org

-- 
You are receiving this mail because:
You are watching all bug changes.