Roger A. Light
ce31269e05
Update changelog, bump version, bump copyright year.
7 years ago
Roger A. Light
9999faf9da
Add rewritten build test script and remove some build warnings.
7 years ago
Roger A. Light
05458eb35d
Fix some unused variable warnings.
7 years ago
Roger A. Light
a4f68869bf
Fix cmake client build with TLS.
7 years ago
Roger A. Light
70c4097b6f
Fix comparison of boolean values in CMake build.
...
Closes #1101 . Thanks to Mojca Miklavec and Andrew L. Moore.
7 years ago
Roger A. Light
a00dd29af8
Fix building where TLS-PSK is not available.
...
Closes #68 .
7 years ago
Roger A. Light
34293d07c1
Always print leading zeros in mosquitto_sub when output format is hex.
...
Closes #1066 .
Thanks to skiizo.
Bug: https://github.com/eclipse/mosquitto/issues/1066
7 years ago
Roger A. Light
ba67e1ffe5
Don't use gnu-specific strerror_r.
7 years ago
Bartosz Taczała
e86b27a2da
Adding support for QNX7.0.0
...
Change-Id: Id01e2880aa5cadc0e93a46b95fe675e1938051fa
Signed-off-by: Bartosz Taczała <bartosz.taczala@mobica.com>
7 years ago
majekw
7f1419e4de
Fix mosquitto_pub -l if compiled using cmake.
...
Since dde005ef92
mosquito_pub is throwing error
that 'threading support has not been compiled' when compiled using cmake.
It looks like WITH_THREADING flag is not set at top level Makefile and used
only in lib/ directory, so library is correctly compiled with threading.
But for client this flag is undefined, so it gives error on '-l' option.
This commit moves part related to WITH_THREADING flag out of lib/CMakeLists.txt
to top levele CMakeLists.txt, so it could be accessible to all subdirectories.
Signed-off-by: Marek Wodzinski <majek@w7i.pl>
7 years ago
Roger A. Light
35dea07dcd
Merge branch 'master'
7 years ago
Roger A. Light
e5eb03b2e6
Allow building without shared library.
7 years ago
Roger A. Light
88765a5e80
Consistent use of config.h across the project.
7 years ago
Roger A. Light
dde005ef92
Return error in mosquitto_pub -l if compiled without threading.
7 years ago
Roger A. Light
e240a692a7
Fix compiling on Mac OS X <10.12 due to clock_gettime()
...
Closes #813 and #240 .
Signed-off-by: Roger A. Light <roger@atchoo.org>
7 years ago
Roger A. Light
3d3b7fc46f
Fix default port problem when compiling clients using WITH_TLS=no.
7 years ago
Roger A. Light
3c517e617c
Fix static mosquitto_sub compiling.
8 years ago
Roger A. Light
9852f94ee0
Merge branch 'sub_client_timeout_upstream' of git://github.com/I2SE/mosquitto into I2SE-sub_client_timeout_upstream
8 years ago
Tifaifai Maupiti
4fc90248c5
Fix _POSIX_C_SOURCE : 199309L to 200809L
...
Signed-off-by: Tifaifai Maupiti <tifaifai.maupiti@gmail.com>
8 years ago
Roger A. Light
f4d238be18
Bump copyright years.
8 years ago
Roger A. Light
86ced4d98f
Add mosquitto_connect_with_flags_callback_set().
...
This allows a second connect callback to be used that exposes the
MQTT connect flags parameter.
Closes #738 , #128 .
8 years ago
Roger A. Light
40e6a75709
Use c99 as compiling standard.
...
Closes : #765 .
8 years ago
Roger A. Light
8a22b918c0
Fix Coverity Scan defects.
8 years ago
Roger A. Light
d55da837aa
Add %X for upper case hex printing.
8 years ago
Roger A. Light
17029c1e11
Minor usage string updates.
8 years ago
Roger A. Light
5cdfe3239c
Separate sub client output code into its own file.
8 years ago
Roger A. Light
611ad222bb
Don't keep trying to connect in sub client if CONNACK negative.
8 years ago
Roger A. Light
81cb7ab547
Merge branch 'fixes' into develop
8 years ago
Roger A. Light
15486f48e7
[636] Correctly handle empty files with "mosquitto_pub -l".
...
Thanks to Aleksandr Makarov.
Bug: https://github.com/eclipse/mosquitto/issues/676
8 years ago
Michael Heimpold
338322fa9c
sub_client: allow to specify a timeout (refs #275 )
...
This add a new command line parameter to give a timeout for message
processing. It is implemented using alarm(2) and thus available at
the moment only for POSIX platforms (also because I have no WIN32
build environment at hand).
Signed-off-by: Michael Heimpold <michael.heimpold@i2se.com>
8 years ago
Roger A. Light
9c6a5f3cf0
[656] Fix building on Windows.
...
Thanks to Arun Kirthi Cherian.
Bug: https://github.com/eclipse/mosquitto/issues/656
8 years ago
Michael Heimpold
48dec391f7
Quote ${DESTDIR} usage in various Makefiles
...
This prevents failures during make install when whitespace
is part of DESTDIR pathname.
Signed-off-by: Michael Heimpold <michael.heimpold@i2se.com>
8 years ago
Roger A. Light
712cbfe599
Default to mqtt v3.1.1 for clients.
8 years ago
Roger A. Light
59f11aa094
Improve static client building.
8 years ago
Roger A. Light
ef7a7850ac
Add -c to mosquitto_pub.
8 years ago
Roger A. Light
e74203de2c
Merge branch 'master' into develop
8 years ago
Roger A. Light
6d63468a28
Don't use / in auto-generated client ids.
8 years ago
Roger A. Light
91b308a11d
Merge branch 'master' into develop
9 years ago
Roger A. Light
9a2987c145
Missing malloc check.
9 years ago
Roger A. Light
cac5464f7f
Use of --ciphers no longer requires you to also pass --tls-version.
...
Closes #380 .
Bug: https://github.com/eclipse/mosquitto/issues/380
9 years ago
Roger A. Light
840453c14f
Remove -x from mosquitto_sub - this is provided by -F now.
9 years ago
Roger A. Light
8140ce1f24
Add -F to mosquitto_sub to allow users to choose the output format.
9 years ago
Roger A. Light
8378fe44cf
Update copyrights.
9 years ago
Roger A. Light
1c3988a397
Merge branch 'master' into develop
9 years ago
Roger A. Light
a8a5daf06b
Check client topic inputs for valid UTF-8.
9 years ago
Roger A. Light
d90cd585dd
Add WITH_STRIP build option.
9 years ago
Roger A. Light
99ea5cab7c
Default to using port 8883 when using TLS.
10 years ago
Roger A. Light
37dceb38f9
Fix some defects discovered by coverity.
10 years ago
Roger A. Light
49936c8ec3
Incorrect quoting.
10 years ago
Roger A. Light
69a08ab905
Fix string quoting in CMakeLists.txt. Closes #4 .
10 years ago