Commit graph

86 commits

Author SHA1 Message Date
Roger A. Light
0a6fa2ee90 Uncrustify config, plus updated format changes 2025-09-17 12:48:02 +01:00
Roger A. Light
7ea73f6d60 Formatting: Forbid single line if statements
These hide cases from coverage checks
2025-09-17 12:48:02 +01:00
Roger A. Light
48b76e49f8 Formatting: Misc automatic formatting changes 2025-09-17 12:03:06 +01:00
Roger A. Light
883fdb2ad2 Formatting: Double indent continuation 2025-09-17 12:03:06 +01:00
Roger A. Light
9d95bf24c3 Formatting: Indent fixes 2025-09-17 12:03:06 +01:00
Roger A. Light
d743413ac3 Formatting: Spacing consistency 2025-09-17 12:03:06 +01:00
Roger A. Light
67ad22df0a Formatting: Double space before functions. 2025-09-17 12:03:03 +01:00
Roger A. Light
a9fe4037ea Add example plugin for topic hierarchy flattening.
Issue #3365
2025-09-16 16:13:18 +01:00
Roger A. Light
0c0683094b Allow plugins to choose when their tick event is next called 2025-07-10 21:06:01 +01:00
Roger A. Light
3511db6889 Whitespace tidy
Some checks failed
CodeQL / Analyze (cpp) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
Coverage / coverage (push) Has been cancelled
Mosquitto - CMake / build (push) Has been cancelled
Mosquitto - Make ASAN / build (push) Has been cancelled
Mosquitto - Make / build (push) Has been cancelled
Windows build / mosquitto (push) Has been cancelled
2025-04-06 22:40:48 +01:00
Roger A. Light
df7fe15f75 Test vcpkg based build 2024-03-27 08:38:13 +00:00
Roger A. Light
340c4f323f Rename cmake helper functions. 2024-03-05 09:36:15 +00:00
Roger A. Light
f39ecb3d27 Factor out a load of duplicated makefile code 2024-03-02 10:35:45 +00:00
Roger A. Light
fe3b72ef61 Remove a load of cmake boilerplate 2024-02-15 13:39:11 +00:00
Roger A. Light
d17a88d916 Refactor headers for easier discovery. 2023-12-23 12:59:58 +00:00
Roger A. Light
5a67361af0 Clearer name 2023-09-20 21:45:06 +01:00
Roger A. Light
c8e313aac0 Fix build
This is for the case where command line overrides are set.
2023-09-19 22:48:24 +01:00
Roger A. Light
e656e694ed Merge branch 'master' into develop 2023-09-09 15:20:40 +01:00
Roger A. Light
a31bee722f Simplify make build. 2023-05-10 16:20:06 +01:00
Roger A. Light
68636012a2 Fix cmake build 2023-04-23 20:27:51 +01:00
Shawn Cicoria
e74e5d0123 fixes build fail on darwin arm64
made cmake same as other plugin
examples and now it compiles
clean with cmake

Signed-off-by: Shawn Cicoria <github@cicoria.com>
Shawn Cicoria <shawn@cicoria.com>:
2023-03-08 18:36:09 -05:00
Roger A. Light
dcbbf71cb2 Coverity suppressions 2023-01-25 12:00:48 +00:00
Roger A. Light
da0eab36a4 Remove unused events 2023-01-16 22:49:31 +00:00
Roger A. Light
fd330de080 client_id -> clientid rename. 2023-01-16 18:46:35 +00:00
Roger A. Light
0dc1fa5a49 Rejig SUBSCRIBE and UNSUBSCRIBE plugin event structs. 2023-01-16 17:48:56 +00:00
Roger A. Light
3e17494d34 Rename topic -> topic_filter in events. 2023-01-16 17:17:55 +00:00
Roger A. Light
9ef6c49266 Renaming and adding tests. 2023-01-16 10:31:13 +00:00
Abilio Marques
46442193f3 add example plugin that jails clients
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
2023-01-16 10:31:13 +00:00
Abilio Marques
4cc76aae9c add example plugin that limits subscriptions' QoS
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
2023-01-16 10:31:11 +00:00
Abilio Marques
1677d1aed2 allow message modification on output
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
2023-01-16 10:29:50 +00:00
Roger A. Light
9e9a4f836c Fix duplicate# 2022-12-19 13:13:10 +00:00
Roger A. Light
c6be853a7e Sync example with plugin interface 2022-12-19 13:10:44 +00:00
Roger A. Light
8cbfb59f66 Add mosquitto_plugin_cleanup() to examples for 2.0 compatibility 2022-12-19 13:08:01 +00:00
Roger A. Light
dae1073360 Add missing Makefile 2022-12-18 16:34:15 +00:00
Roger A. Light
be8cf754fb Move plugin to examples dir, plus some tweaks. 2022-12-16 16:38:46 +00:00
Norbert Heusser
170cd85cec Add target test-compile to all Makefile to allow tests in plugin folders
Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
2022-12-09 18:03:54 +00:00
Norbert Heusser
e4c252b781 Don't install example plugin client-lifetime-stats
Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
2022-12-09 18:03:47 +00:00
Roger A. Light
a2e5bb5294 Merge branch 'fix-compiler-warnings' of https://github.com/buschulte/mosquitto into buschulte-fix-compiler-warnings 2022-11-03 21:33:40 +00:00
Roger A. Light
0503d5d35c Fix windows build 2022-11-03 16:20:30 +00:00
Kai Buschulte
e6f5633ff6 Fix some compiler warnings
Signed-off-by: Kai Buschulte <kai.buschulte@cedalo.com>
2022-11-03 10:55:37 +01:00
Kai Buschulte
9c5a5081df Fix CMake build
Signed-off-by: Kai Buschulte <kai.buschulte@cedalo.com>
2022-11-03 09:20:29 +01:00
Roger A. Light
4596cef734 Ban file should be appended. 2022-10-17 10:03:06 +01:00
Roger A. Light
7f0e5cd809 Tidy plugin directory 2022-10-17 07:25:37 +01:00
Roger A. Light
ae14eb34e1 Fix Coverity Scan 1499817 2022-10-16 23:23:43 +01:00
Roger A. Light
9c2d0ce401 Fix copy paste error.
Coverity Scan 1499794.
2022-10-16 07:29:50 +01:00
Roger A. Light
c5c7dd3f57 Fix payload check 2022-10-15 21:55:49 +01:00
Roger A. Light
65153eba45 Example plugin that bans based on payload 2022-10-15 20:41:51 +01:00
Roger A. Light
a2f91babdf Fix incorrect format specifier 2022-08-11 14:19:23 +01:00
Kai Buschulte
8b67883548 Remove old compatibility header support
Signed-off-by: Kai Buschulte <kai.buschulte@cedalo.com>
2022-08-08 09:25:16 +00:00
Roger A. Light
11b16756cb Windows fixes. 2022-07-21 15:51:52 +01:00