Commit Graph

327 Commits (4a7da066e0c81a2daacb5fbe99805151d95a3b26)

Author SHA1 Message Date
Roger A. Light e306691b7b Fix client build options 2 years ago
Roger A. Light a31bee722f Simplify make build. 2 years ago
Roger A. Light 53dc3006a2 Make cJSON a hard dependency. 3 years ago
Roger A. Light ed8211858e CMake build fixes 3 years ago
Roger A. Light 5fbe8e5be2 Add --tls-keylog for clients. 3 years ago
Roger A. Light c0b7f54ac1 Fuzzing: db_dump file loading 3 years ago
Roger A. Light 5fb4b05d8f Support for initial fuzzing through oss-fuzz 3 years ago
Roger A. Light 85f53b22dd Fix Coverity Scan 1251560 3 years ago
Roger A. Light dcbbf71cb2 Coverity suppressions 3 years ago
Roger A. Light 08a59670c9 Fix Coverity Scan 1251560 3 years ago
Roger A. Light 9a7d69f532 Fix Coverity Scan 1502688 3 years ago
Roger A. Light fd330de080 client_id -> clientid rename. 3 years ago
Roger A. Light 9260cf25f8 Fix parsing of IPv6 addresses in socks proxy urls. 3 years ago
Rob Swindell c060d2e0f4 Resolve win32 build Error C2440 with CALLBACK function decoration
'function': cannot convert from 'void (__cdecl *)(PVOID,BOOLEAN)' to 'WAITORTIMERCALLBACK'

Signed-off-by: Rob Swindell <rob@synchro.net>
3 years ago
Roger Light 9ee1dc5294
Merge pull request #2712 from NorbertHeusser/cleanup-include-guards
Cleanup of include guard defines
3 years ago
Roger A. Light 2e4db3aa2a Improve test/client/02-subscribe-format-json-properties.py 3 years ago
Norbert Heusser ba5f8eb448 Cleanup of include guard defines
Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
3 years ago
Roger A. Light afc76092a5 Give more information on invalid properties 3 years ago
Roger A. Light 3cbcc2e2b2 Fix Coverity Scan 1500471 and 1500472. 3 years ago
Roger A. Light 40636fdce0 Simplify sub client json printing. 3 years ago
Roger A. Light 7370a7d028 rr client does support < v5.0 3 years ago
Roger A. Light fd68bf00c7 Merge branch 'master' into develop 3 years ago
Roger A. Light e5cb3d0d58 Using `-x` now sets the clients to use MQTT v5.0. 3 years ago
Kai Buschulte ddd16d54be Make required includes public for libmosquitto
for simplified usage of the CMake target

Issue number: #2452

Signed-off-by: Kai Buschulte <kai.buschulte@cedalo.com>
3 years ago
Kai Buschulte 8b67883548 Remove old compatibility header support
Signed-off-by: Kai Buschulte <kai.buschulte@cedalo.com>
3 years ago
Roger A. Light ca61baf5e3 Merge branch 'add-common-options-target-to-enable-compiler-warnings' of https://github.com/buschulte/mosquitto into buschulte-add-common-options-target-to-enable-compiler-warnings 3 years ago
Roger A. Light 11b16756cb Windows fixes. 3 years ago
Kai Buschulte 71456077ad Introduce a common-options cmake target
this makes it possible to explicitly share compile options, without
using the `add_definition` function. This function declares options for
the current directory and below (in our case also for `deps`).

Adding -Wall, -Wconversion and -Wextra to at least make compiler
warnings visible for the cmake build.

Signed-off-by: Kai Buschulte <kai.buschulte@cedalo.com>
3 years ago
Roger A. Light 26b007f3fc Fix Coverity 1488816, use of uninitialised value. 3 years ago
Kai Buschulte 0e9df05d0d Add imported target for cJSON
Signed-off-by: Kai Buschulte <kai.buschulte@cedalo.com>
3 years ago
Roger A. Light 1da29c9e51 Fix `-f` and `-s` options in mosquitto_rr. 3 years ago
Michał Łyszczek 91bca8899c mosquitto_sub: add support to print floats
This patch adds support for two new format specifiers (%f and %d)
to print float and double data.

Generally it's not save to directly take native binary data of one machine and
print it on another one (since mosquitto is multiarch). But in case of floats
it's save to print representation of it, if __STDC_IEC_559__ is defined.

In C99 Annex F, standard we can read:
> This annex specifies C language support for the
> IEC 60559 floating-point standard.
> (...)
> An implementation that defines __STDC_IEC_559__
> shall conform to the specifications in this annex

All float printing code is behind __STDC_IEC_559__, so if that is not
defined, floating print will be disabled and error returned to user.

Documentation also describes restrictions about printing floats.

Signed-off-by: Michał Łyszczek <michal.lyszczek@bofc.pl>
3 years ago
Tobias Assarsson a9a5ac2283 Don't reuse topic alias after reconnect. 3 years ago
Roger A. Light c70a925f29 Fix Coverity Scan 1486935 Logically dead code 4 years ago
Roger A. Light a0f58f20c3 Update threaded builds.
Most specifically use -pthread instead of -lpthread.
4 years ago
Roger A. Light 5a3b42d4a4 Use path vars in Makefiles. 4 years ago
Roger A. Light bc1adfd46d CMake fixes.
Builtin websockets support.
Persist sqlite plugin build.
Broker cJSON support
Add wildcard-temp plugin.
4 years ago
Roger A. Light 223d9eae66 mosquitto_sub json output tests, and user-properties fix. 4 years ago
Roger A. Light ab67dbcacd More client tests, and an output format fix. 4 years ago
Roger A. Light 3139eb3252 More client tests. 4 years ago
Roger Light cd07f1136b Bump copyrights. 4 years ago
Roger Light 538154bd9c The `--insecure` option now disables all server certificate verification. 4 years ago
Roger A. Light 8ac11929cc Merge branch 'master' into develop 4 years ago
Roger A. Light 20d2935d81 Fix date format in mosquitto_sub output.
Closes #2353. Thanks to Norman Rasmussen.
4 years ago
Roger Light 65603da5e4 Add `-W` timeout support to Windows. 4 years ago
Roger A. Light b9b065d2cc Compiler pedantry, and more checks in tests. 4 years ago
Roger A. Light 799cdead15 Experimental custom websockets support. 4 years ago
Roger A. Light a1a190b482 Pointless whitespace tidy. 4 years ago
Roger Light 88dfac8e88 Windows threading support for the library. 4 years ago
Roger Light dbd0d6f0d8 CMake build fixes. 4 years ago