Commit graph

99 commits

Author SHA1 Message Date
Roger A. Light
d2435fc685 cmake: Simplify WITH_BUNDLED_DEPS handling 2026-02-13 13:14:50 +00:00
Roger A. Light
695df7719d Fix building with WITH_TLS=no
Closes #3469. Thanks to iTitou.
2026-02-03 09:23:27 +00:00
Roger A. Light
d4b5adbd49 Fix incomplete "make clean" 2026-02-02 16:33:37 +00: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
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
4f943e91da Fix some install inconsistencies 2025-09-16 11:48:55 +01:00
Roger A. Light
c64273f663 Fix build on Mac OS, introduce Mac OS CI workflow
Closes #3312
2025-08-14 08:38:45 +01:00
Roger A. Light
3d0e96be85 Merge branch 'master' into develop 2025-07-29 16:07:57 +01:00
Roger A. Light
b8ffdb878e Merge from master 2025-07-25 19:13:51 +01:00
Roger A. Light
792325f946 Fix cmake build 2025-07-10 14:17:27 +01:00
Roger A. Light
40be2719ee Fix build warnings 2025-07-10 11:00:59 +01:00
Roger A. Light
c6c6850d5c Whitespace tidy
Some checks failed
CodeQL / Analyze (cpp) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
Mosquitto - CMake / build (push) Has been cancelled
Mosquitto - Make / build (push) Has been cancelled
Windows x86 build / mosquitto (push) Has been cancelled
Windows build / mosquitto (push) Has been cancelled
2025-04-06 22:25:02 +01:00
greg.m4879
60e47417cd Fix db_dump build issue with some older toolchain
With some older gcc toolchain, mosquitto_db_dump fails to build because of
missing link with -lrt

[2021-04-13T08:09:44.016Z] time_mosq.o: In function `mosquitto_time':
[2021-04-13T08:09:44.016Z] /home/jenkins/workspace/CORE/Builder/slave_g/network/lib_mosquitto/apps/db_dump/../../lib/time_mosq.c:44: undefined reference to `clock_gettime'
[2021-04-13T08:09:44.016Z] collect2: ld returned 1 exit status
[2021-04-13T08:09:44.016Z] make[6]: *** [Makefile:28: mosquitto_db_dump] Error 1
2025-02-26 10:55:59 +00:00
fdelfrari
7999a5aebb Added Android specific includes 2025-02-25 11:26:36 +00:00
Roger A. Light
dd2c25c1cf Merge branch 'master' into develop 2024-10-19 22:13:14 +01:00
Roger A. Light
2ea2a925eb Build fix 2024-10-16 17:55:10 +01:00
Roger A. Light
3bb6c9ad51 Remove superfluous function arguments. 2024-10-02 10:24:53 +01:00
Roger A. Light
49482e7df6 db_dump: Add --json output mode. 2024-06-18 17:54:02 +01:00
Roger Light
20b34150f2 Windows build fixes 2024-03-27 08:38:13 +00:00
Roger A. Light
4498193331 Refactor file functions to common static library. 2024-03-17 23:13:11 +00:00
Roger A. Light
9fe8b95dcf Refactor property functions to common static library. 2024-03-17 20:56:14 +00:00
Roger A. Light
b5c25cf1d0 Refactor memory functions to common static library. 2024-03-17 10:30:07 +00:00
Roger A. Light
6eb56dc6f1 Refactor UTF-8 code to common static library. 2024-03-17 07:45:58 +00:00
Roger A. Light
2c7084b16d Expire restored expired messages immediately. 2024-03-05 14:33:48 +00:00
Roger A. Light
bedb06f03a Fix cmake build 2024-03-05 10:18:59 +00:00
Roger A. Light
d17a88d916 Refactor headers for easier discovery. 2023-12-23 12:59:58 +00:00
Roger A. Light
7b21f596d4 db_dump needs bundled deps on windows 2023-11-19 16:32:31 +00:00
Roger A. Light
c4efb56d1d db dump requires openssl 2023-11-19 12:14:24 +00:00
Roger A. Light
ca10038dd2 Add header to cmake 2023-09-20 21:40:44 +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
6f574f80ea db_dump: Fix further memory leak on exit only. 2023-03-15 11:11:59 +00:00
Roger A. Light
bba3f3f849 db_dump: Fix memory not being freed on error exit. 2023-03-13 17:11:37 +00:00
Roger A. Light
28a39e62ff Remove unused header. 2023-03-07 14:16:27 +00:00
Roger A. Light
105a652fbf Remove unused header. 2023-03-07 14:14:28 +00:00
Roger A. Light
da723c373b Fix db_dump crash on corrupt file.
Closes oss-fuzz #55789
2023-02-08 22:08:31 +00:00
Roger A. Light
5232e041d1 db_dump: Tidy up error reporting. 2023-02-05 00:37:03 +00:00
Roger A. Light
61c9696bec db_dump: Use single corrupt db message path. 2023-02-05 00:22:07 +00:00
Roger A. Light
c0b7f54ac1 Fuzzing: db_dump file loading 2023-02-04 23:55:15 +00:00
Roger A. Light
fd330de080 client_id -> clientid rename. 2023-01-16 18:46:35 +00:00
Roger A. Light
5364410615 Rename members 2023-01-16 10:21:12 +00:00
Roger A. Light
331e802913 Rename mosquitto_client_msg -> mosquitto__client_msg 2023-01-16 10:21:12 +00:00
Roger A. Light
3634f18bc9 Refactor subscription structs 2023-01-16 10:21:12 +00:00
Roger A. Light
86ec8c6169 Factor out unneeded argument 2023-01-16 10:21:12 +00:00
Roger A. Light
100fd31530 Refactor base_msg structs. 2023-01-16 10:21:12 +00:00
Roger A. Light
2d969efdc4 Fix cmake tests 2023-01-15 22:05:49 +00:00
Roger A. Light
56b1fa01bd Fix Coverity Scan 1436848 2023-01-04 11:48:30 +00:00