Michael
4d658bd569
Fix compile error/warning
...
Signed-off-by: Michael Liu <michael.liu.point@gmail.com>
6 years ago
Roger A. Light
d96543c0b8
Merge branch 'fixes' into develop
6 years ago
Roger A. Light
8d5fd7d1e2
Fix `mosquitto_topic_matches_sub()` behaviour with wildcards in topic.
...
It was not returning MOSQ_ERR_INVAL if the topic contains a wildcard.
Closes #1589 . Thanks to mdelete.
6 years ago
Gianfranco Costamagna
7a5c2d4da5
Bugfix: include "deps" directory only if BUNDLED_DEPS has been provided and set to true
...
Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
6 years ago
Roger A. Light
27b4518d7e
Improve password file parsing in the broker and mosqitto_passwd.
...
Closes #1584 . Thanks to panava.
6 years ago
Roger A. Light
70fd600c3a
Fix trailing whitespace not being trimmed on acl users.
...
Closes #1539 . Thanks to CliveJL and LeonPoon.
6 years ago
Roger A. Light
9ee6e2725c
Start of tests for adding subscriptions.
6 years ago
Roger Light
d92360dd8e
Split sub and retain trees.
6 years ago
Roger A. Light
fad184c9c2
Bridge remapping refactoring and tests.
6 years ago
Roger A. Light
8463c33720
Refactor property remaining length calculation.
6 years ago
Roger A. Light
552059e17d
Pedantic test fixes from failgrind.
6 years ago
Roger A. Light
e43a278652
Fix test compilation.
6 years ago
Roger A. Light
f64d3b1e5c
Fix broker originated messages not being sent.
...
This occurred when `check_retain_source` was set to true.
Closes #1245 . Thanks to Christoph Krey.
7 years ago
Roger A. Light
3b4a5419c3
Build fixes around CFLAGS et al.
...
- Split CFLAGS and CPPFLAGS, and LDFLAGS and LDADD/LIBADD.
- test/unit now respects CPPFLAGS and LDFLAGS.
Closes #1232 . Thanks to Greg Troxel.
7 years ago
Roger A. Light
d6c7923d16
Add `make check` and document testing procedure.
...
Also support test target in cmake.
7 years ago
Roger A. Light
17eae08c5e
Test build fixes.
7 years ago
Roger A. Light
8531cb1d79
Separate broker message queues into in/out.
...
This allows and includes better flow control handling for QoS>0.
7 years ago
Roger A. Light
8b532705d9
Fix test datatype.
7 years ago
Roger A. Light
2fcf246f07
Fix potential crashes on memory alloc failure in tests only.
7 years ago
Roger A. Light
2a5995106a
Fix Coverity Scan defect 140436. Null dereference.
7 years ago
Roger A. Light
43c159b9a5
Support and tests for saving message expiry interval.
7 years ago
Roger A. Light
5841da2c36
Tests for persisting message store properties.
7 years ago
Roger A. Light
efb20625fb
Code and tests for persisting client msg properties.
7 years ago
Roger A. Light
48253bc12c
Persist message store publish properties.
7 years ago
Roger A. Light
2f15a7be2b
Add subscription-identifier and options to persistence.
7 years ago
Roger A. Light
214a5f3aab
v5 persistence file format
...
This includes changes to improve read/write performance.
It is not complete, and will have further changes to add properties and anything else required for MQTT v5.
7 years ago
Roger A. Light
e249ca7e91
Separate the persistence actual writing functions.
7 years ago
Roger A. Light
7a53b28080
Start of persistence writing tests.
7 years ago
Roger A. Light
a7d0660749
Separate out persist reading code from restoring code.
7 years ago
Roger A. Light
9411d94842
Start of tests for persistence reading.
7 years ago
Roger A. Light
72941db546
Coverity fixes
...
1399064
1399065
1398655
1398656
1398654
1399067
1399066
1399063
1399060
1399059
1399068
1399062
1398657
1398653
1302848
1302847
1399070
7 years ago
Roger A. Light
b9b8e0ff2a
Add client support for outgoing maximum packet size.
7 years ago
Roger A. Light
bb914b985c
Fix `mosquitto_topic_matches_sub()` rc with sub=="topic/#abc".
...
This now returns MOSQ_ERR_INVAL as expected.
7 years ago
Roger A. Light
b6fb2c5824
Fix property write test after function changes.
7 years ago
Roger A. Light
00c4fd137a
More UTF-8 tests.
7 years ago
Roger A. Light
94fdc9cb44
Disallow UTF-8 control characters.
7 years ago
Roger A. Light
bc1349c0d7
Tests for user facing mosquitto_string_to_property_info function.
7 years ago
Roger A. Light
8b368aeb6b
Fix memory leaks in tests.
7 years ago
Roger A. Light
699e5c762f
Tests for user facing read functions.
7 years ago
Roger A. Light
679a9a54a5
Tests for user facing property add functions.
7 years ago
Roger A. Light
1e6117bcf5
Fix duplicate string property tests.
7 years ago
Roger A. Light
f77c1ca91b
private struct mqtt5__property -> public mosquitto_property.
7 years ago
Roger A. Light
636e813d1c
Load of constant renames ahead of making mqtt_protocol.h public.
7 years ago
Roger A. Light
9eebcf6704
Rename property__free_all->mosquitto_property_free_all
...
Make public function.
7 years ago
Roger A. Light
723d9c2782
Check whether properties are on the correct commands.
7 years ago
Roger A. Light
42896112a1
Pub/sub topic checking tests.
7 years ago
Roger A. Light
1e9e552034
Property write bad identifier test.
7 years ago
Roger A. Light
40ed672ecf
Fix topic matching tests and function.
7 years ago
Roger A. Light
77099bb58c
Add property write tests.
7 years ago
Roger A. Light
a7fff2ad2e
Topic test improvements.
7 years ago