Commit Graph

3185 Commits (306b76d7f6265e090e938d3beab5956c7dd222a9)
 

Author SHA1 Message Date
Norbert Heusser 306b76d7f6 Create github build action to build Mosquitto and added timeout
to python tests waiting for subprocess to avoid github actione being blocked

Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
3 years ago
Roger A. Light 5731dd8653 Add mosquitto_persistence_location() for plugins. 3 years ago
Roger A. Light 1da29c9e51 Fix `-f` and `-s` options in mosquitto_rr. 3 years ago
Roger A. Light ab1803d72f Fix casting. 3 years ago
Roger A. Light 7f273e41d0 Merge branch 'abiliojr-sqlite_flush_page_options' into develop 3 years ago
Roger A. Light 5d483689bc Merge branch 'sqlite_flush_page_options' of https://github.com/abiliojr/mosquitto into abiliojr-sqlite_flush_page_options 3 years ago
Roger A. Light a84b5abb69 Update changelog and sort documentation order. 3 years ago
Roger A. Light 1ed8020057 Merge branch 'mlyszczek-add-float-format' into develop 3 years ago
Roger A. Light cff5a831f8 Merge branch 'add-float-format' of https://github.com/mlyszczek/mosquitto into mlyszczek-add-float-format 3 years ago
Roger A. Light 4fd51e9681 Fix incorrect earlier commit 3 years ago
Abilio Marques 82b6eaa31d Persist-sqlite: add flush_period and page_size options
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
3 years ago
Roger A. Light 4f294a715b Fix WS reads when fragmented packets are sent. 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
Roger A. Light 75be1ed643 Improve uint16/32 packet read/write performance. 4 years ago
Roger A. Light efc8d064de Bring mosquittopp more up to date with libmosquitto. 4 years ago
Roger A. Light 5fcb2bc13f Simplify use of headers. 4 years ago
Roger A. Light 4c72542eae Move mosquittopp header to include dir. 4 years ago
Roger A. Light af40a91fb1 Fix possible incorrect free of persist base msgs. 4 years ago
Roger A. Light 09c296c175 Remove dead link. 4 years ago
Roger Light b39526a998
Merge pull request #2485 from abiliojr/fix_default_bridge_backoff
fix default bridge backoff periods (scale seconds to milliseconds)
4 years ago
Roger Light 37b44cfe8e
Merge pull request #2505 from NorbertHeusser/develop
Fixed CMakeLists.txt files
4 years ago
Norbert Heusser d4216c8cb6 Fixed CMakeLists.txt
* Addded missing files plugin_subscribe and plugin_unsubscribe to src/CMakeLists.txt
* Aligned mixed usage of all-keyword and all-plain in target_link_libra…ry definition in in CMakeLists.txt

Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
4 years ago
Roger A. Light b922c13509 Compile broker against pthreads if threading enabled.
This allows plugins to *carefully* use threads.
4 years ago
Roger A. Light 8a9d8ece37 Fix sqlite test 4 years ago
Roger A. Light 40d8015837 Add MOSQ_EVT_SUBSCRIBE and MOSQ_EVT_UNSUBSCRIBE events.
These are called when subscribe/unsubscribes actually succeed.
4 years ago
Roger A. Light fc4a59b288 Fix persist writing 4 years ago
Roger A. Light cd6356f14b Fix config.mk relative paths. 4 years ago
Roger A. Light c53a53bce0 Re-enable LTO for gcc builds. 4 years ago
Roger A. Light af42640d60 Dynsec: Allow initial password generation from environment variable. 4 years ago
Roger A. Light 7552e944a8 Long overdue bump of in-development version number. 4 years ago
Roger A. Light 9f9813aff4 Fix Coverity Scan 1486949 Resource leak 4 years ago
Roger A. Light b4f2000109 Remove replaced line. 4 years ago
Roger A. Light 15cd25c3e9 Fix Coverity Scan 1486949 Resource leak 4 years ago
Roger A. Light 984d1bb526 Fix Coverity Scan 1486959 Resource leak 4 years ago
Roger A. Light e7f22db4e1 Comments 4 years ago
Roger A. Light a4635682d1 Fix Coverity Scan 1486945 String not null terminated 4 years ago
Roger A. Light 016e03c285 Fix Coverity Scan 1486961 Resource leak 4 years ago
Roger A. Light a331057127 Fix Coverity Scan 1486950 Unchecked return value from library 4 years ago
Roger A. Light 5ab7603811 Fix Coverity Scan 1486934 Unchecked return value 4 years ago
Roger A. Light 8720b4e754 Fix Coverity Scan false positive 1486951 String not null terminated 4 years ago
Roger A. Light 85cbe1cea6 Fix Coverity Scan 1486959 Resource leak 4 years ago
Roger A. Light cac537830e Fix Coverity Scan 1486949 Resource leak 4 years ago
Roger A. Light 0414a13347 Fix Coverity Scan 1486942 Resource leak 4 years ago
Roger A. Light 87d059b57e Fix Coverity Scan false positive 1486937 Resource leak 4 years ago
Roger A. Light 27b4a6aa33 Fix Coverity Scan 1487012 Resource leak 4 years ago
Roger A. Light b3096982b5 Fix Coverity Scan 1486953 Use after free 4 years ago
Roger A. Light 07b7533b1e Fix Coverity Scan 1486947 Double free 4 years ago
Roger A. Light c661f475b4 Coverity Scan fixes - Invalid type in argument to printf format specifier
1453805
1453806
1486939
1486954
1486955
1486956
1486960
4 years ago
Roger A. Light 0549a6a9aa Fix Coverity Scan 1486957 Resource leak 4 years ago
Roger A. Light 1d805316ba Fix Coverity Scan 1486949 Resource leak 4 years ago