Commit Graph

545 Commits (a9b7237d09804d92cd259267ec617aae980db73b)
 

Author SHA1 Message Date
Lance Chen a9b7237d09
Install/Uninstall the C static library
Symbol stripping is done explicitly with strip command,
since stripping with install command removes too many
symbols, making the result library unusable.

Signed-off-by: Lance Chen <cyen0312@gmail.com>
9 years ago
Roger A. Light c6ef86bd1f Print openssl errors when debugging enabled. 10 years ago
Roger A. Light 99ea5cab7c Default to using port 8883 when using TLS. 10 years ago
Roger A. Light 030a21786d Improve example. 10 years ago
Roger Light dfeb2f9ba6 Merge pull request #141 from PierreF/large-queued-performance-2
Improve performance with lots of queued message
10 years ago
Roger Light c711941526 Merge pull request #144 from anonymouse64/dev/cmake_improvements
CMake improvements
10 years ago
Roger A. Light 81cabb3257 Update for github. 10 years ago
Ian Johnson a0a0cc3076 Renaming STATIC_LIB -> LIBMOSQUITTO_STATIC
Signed-off-by: Ian Johnson <ijohnson@wolfram.com>
10 years ago
Ian Johnson 3499c094dc Putting the list of files into a variable C_SRC and modiftying the add_library calls to use this variable
Signed-off-by: Ian Johnson <ijohnson@wolfram.com>
10 years ago
Ian Johnson 93906b9dfd We don't want to add any declaration properties for the static library, as the static library doesn't export or import anything, so when STATIC_LIB is defined the libmosq_EXPORT defines to nothing
Signed-off-by: Ian Johnson <ijohnson@wolfram.com>
10 years ago
Ian Johnson 13f28d1c1e Adding the static library target, libmosquitto_static, to CMakeLists.txt so it gets installed, and when compiled STATIC_LIB gets defined for only the static library
Signed-off-by: Ian Johnson <ijohnson@wolfram.com>
10 years ago
Ian Johnson 87112a7e21 On Mac, we don't want to run /sbin/ldconfig as it doesn't exist
Signed-off-by: Ian Johnson <ijohnson@wolfram.com>
10 years ago
Ian Johnson 3163cf2d70 Only include man subdirectory if the DOCUMENTATION option is on
Signed-off-by: Ian Johnson <ijohnson@wolfram.com>
10 years ago
Tomas Novotny fe93138197 Add default config path to systemd services. (#139)
Config file is installed by default, so I would expect that it will be used by
the systemd service. Add argument for the configuration to the services.

Signed-off-by: Tomas Novotny <novotny@rehivetech.com>
10 years ago
Pierre Fersing 18cc0f5fc7 Fix bugs introduced by previous commit
Signed-off-by: Pierre Fersing <pierre.fersing@bleemeo.com>
10 years ago
Pierre Fersing 44f23252a0 Improve performance with lots of queued message
Split message queue in two queues: in-flight and queued to avoid the
need to iterate over all messages.

Signed-off-by: Pierre Fersing <pierre.fersing@bleemeo.com>
10 years ago
Roger A. Light 62402f7b60 Ignore generated test files. 10 years ago
Roger A. Light 37dceb38f9 Fix some defects discovered by coverity. 10 years ago
Roger A. Light 70f2bea51f Merging travis config changes across branches.
[ci skip]
10 years ago
Roger A. Light 09ea5cbf2c mosquitto_db_dump can now output some client stats.
This may be useful for finding out which clients are using significant
amounts of persistence space.
10 years ago
Roger A. Light 556c629ab5 Don't use reserved names in header guards.
Closes #3.
10 years ago
Roger A. Light 6c8c649ac2 More test fixes. 10 years ago
Roger A. Light 8906d67ad4 Default to MQTT v3.1.1 in tests. 10 years ago
Roger A. Light 1b190b14f1 Fix auth deferring with no pwfile defined. 10 years ago
Roger A. Light db2e66c543 Reorganise functions into separate files as appropriate. 10 years ago
Roger A. Light bd61d18e92 Small tidy up. 10 years ago
Matteo Croce 59c80d9197 Add MQTT URL scheme support
Add option -L to specify user, password, hostname, port and topic at once.
The URL must provided with the -L or --url in the form:
mqtt(s)://[username[:password]@]host[:port]/topic

Change-Id: Ia626a28981a38807a254ae32c6ffb29b122b8a28
Signed-off-by: Matteo Croce <matteo@openwrt.org>
10 years ago
Roger A. Light 62fa209eeb Add tests for cmake builds and use on travis. 10 years ago
Roger A. Light 7f9db87f30 Makefile target for static compiled pub/sub clients. 10 years ago
Roger A. Light 6087d4bcb6 Fix incorrect calloc/mosquitto__free pair. 10 years ago
Roger A. Light f6939d4cbb Merge branch 'develop' of ssh://git.eclipse.org:29418/mosquitto/org.eclipse.mosquitto into develop 10 years ago
Roger A. Light f5c4b837e0 Fix merge error. 10 years ago
Roger A. Light d5abf5a18a Outgoing connections can use any TLS version. 10 years ago
Roger A. Light 97e6ac22d8 Only increment inflight messages if the limit hasn't been reached. 10 years ago
Roger A. Light 26b015908e Default to using MQTT v3.1.1. 10 years ago
Roger A. Light 1961404ec9 Add --retained-only to mosquitto_sub. 10 years ago
Roger A. Light 4e4c08aaf0 "retained" -> "want_retained". 10 years ago
Roger A. Light 7709621911 Reorder helper function arguments for consistency. 10 years ago
Roger A. Light 0a95c9a3af Add mosquitto_subscribe_callback(). 10 years ago
Roger A. Light bd906e6753 Fix merge error. 10 years ago
Roger A. Light 1288b14dcb Fixes and cleanup for subscribe_simple. 10 years ago
Roger A. Light d157e8c603 Add examples for subscribe_simple. 10 years ago
Roger A. Light 896b4563fb Add missing helpers code. 10 years ago
Roger A. Light b83c58763d Add mosquitto_subscribe_single()/multiple(). 10 years ago
Roger A. Light fca9ac84f7 Merge fixes into develop. 10 years ago
Roger A. Light 3aa698d023 Add -U to mosquitto_sub for unsubscribing from topics. 10 years ago
Roger A. Light 646e0a0c32 Merge branch 'fixes' 10 years ago
Roger A. Light a7136b3672 Bump version number. 10 years ago
Roger A. Light 2549919413 Fix support for libwebsockets 1.22. 10 years ago
Roger A. Light 156442c694 Merge branch 'fixes' 10 years ago