Ian Craggs
1e91229cb6
Update license from EPL v1 to v2
2020-04-06 13:27:50 +01:00
fpagliughi
fbd38b16cf
#368 Add underscores to Windows compiler macro checks, _WIN32 and _WIN64
...
Signed-off-by: fpagliughi <fpagliughi@mindspring.com>
2020-01-25 10:38:18 -05:00
fpagliughi
62e7f5c035
#681 The Eclipse MQTT sandbox server moved to new address, 'mqtt.eclipse.org'
2019-07-20 12:51:38 -04:00
Ian Craggs
296fe57cd2
MQTT V5 persistence updates #534
2018-09-05 22:13:40 +01:00
Ian Craggs
fcef9b5dd5
Merge branch 'develop' into mqttv5
2018-06-04 15:38:02 +01:00
Ian Craggs
a892672057
Add full test1 tests for V5
2018-05-31 17:10:34 +01:00
Keith Holman
8c988485ec
build: various warning fixes
...
This patch fixes various warnings produced during the build the most
common warning, is the truncation of "size_t" (usually unsigned long) to
(int). This patch explicitly casts the result to "int" in these cases
to supress the warning. Additionally, this patch includes a fix to an
internal library load function to take a "const char *" parameter
instead of a "char *" parameter.
Signed-off-by: Keith Holman <keith.holman@windriver.com>
2018-05-02 17:01:21 -04:00
Ian Craggs
73541adbdb
Increase receive timeout in test
2017-06-29 12:01:35 +01:00
Ian Craggs
f11f08e8b0
Binary passwords and will messages: PR #159 , issues #167 and #34
...
Squashed commit of the following:
commit 907b9ecdaf160bf95c17aafcaf4ab3e656ab9ccc
Author: Ian Craggs <icraggs@uk.ibm.com>
Date: Wed Apr 5 23:33:44 2017 +0100
Use binary passwords in tests
commit 3930b18d3835727e3cb98ef0ce1a742bd0dffab7
Author: Ian Craggs <icraggs@uk.ibm.com>
Date: Wed Apr 5 17:15:29 2017 +0100
Binary MQTT password support
commit 4abe6a996b1219aafa22b5dd69bf1e676d377466
Author: Ian Craggs <icraggs@uk.ibm.com>
Date: Wed Apr 5 16:13:18 2017 +0100
Fix test config
commit e742ed182d6de44e9afd6e9c9c03c79f359fbe29
Author: Ian Craggs <icraggs@uk.ibm.com>
Date: Wed Apr 5 15:46:53 2017 +0100
Async binary will message
commit 9313e66214720c285f510e325a5c942ad22f2542
Author: Ian Craggs <icraggs@uk.ibm.com>
Date: Wed Apr 5 11:50:10 2017 +0100
Binary will message support, take 2
commit 5cf548505a548eff394348aa7406e5a34d0f5054
Author: Ian Craggs <icraggs@uk.ibm.com>
Date: Tue Apr 4 22:54:15 2017 +0100
Binary will message
2017-04-06 10:49:05 +01:00
Ian Craggs
a94f10ecd9
MacOS updates for threading
2017-03-23 23:53:44 +00:00
Ian Craggs
b880d34f4b
Windows CMake build additions and corrections
2017-03-20 22:47:28 +00:00
Ian Craggs
19d0c91d89
Merge pull request #235 from orpiske/protocol-log-override
...
Proposed enhancement: do not override trace settings from environment
2017-03-18 00:58:10 +00:00
Ian Craggs
9969008b97
Merge branch 'fix-warnings' of https://github.com/guilhermeferreira/paho.mqtt.c into fixes
2017-03-18 00:30:37 +00:00
Ian Craggs
3c3ffbed84
Change test1 will message test back to using proxy for disconnect
2017-03-17 19:46:41 +00:00
Otavio Rodolfo Piske
c463fc4c33
Do not override protocol log settings from environment variables
...
Signed-off-by: Otavio Rodolfo Piske <opiske@redhat.com>
2017-03-07 21:11:05 +01:00
Guilherme Maciel Ferreira
7b92bc3ec9
Using standard constants for exit(3) and return
...
According to ISO/IEC 9899:2011, section 7.22.4.4 (The exit function),
"the constant EXIT_FAILURE is the implementation independent way to
issue failures to exit(3)." Whereas EXIT_SUCCESS is the portable way
to return success.
Signed-off-by: Guilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
2017-03-06 11:55:23 -06:00
Guilherme Maciel Ferreira
6e88fdffbc
Ensure an empty parameter list using void
...
According to ISO/IEC 9899:2011, section 6.7.6.3 (Function declarators
including prototypes): "The special case of an unnamed parameter of
type void as the only item in the list specifies that the function
has no parameters."
Signed-off-by: Guilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
2017-03-06 11:44:52 -06:00
Ian Craggs
7132c136e7
Lengthen some timeouts in test1
2015-02-09 13:31:12 +00:00
Ian Craggs
404909dd4f
Improve checking of connection lost test
2014-07-22 11:25:04 +01:00
Ian Craggs
3b79c88c08
Merge ssh://git.eclipse.org:29418/paho/org.eclipse.paho.mqtt.c into develop
...
Conflicts:
src/MQTTAsync.c
src/MQTTClient.c
src/MQTTProtocolOut.c
2014-05-29 13:46:25 +01:00
Ian Craggs
587f674ed6
Windows build for Hudson and Visual Studio
2014-05-15 16:42:36 +01:00
Ian Craggs
bf67bab405
Get rid of compiler warnings on MacOSX
2014-05-08 13:54:52 +01:00
Ian Craggs
2380b26dfb
Add WIN64 to WIN32 conditional compilation statements
2014-04-10 14:41:57 +01:00
Ian Craggs
2c108549bf
MQTT 3.1.1 changes in tests and synchronous client
2014-03-14 10:17:07 +00:00
Ian Craggs
7c30485c5e
Update header commments for 3.1.1 updates
2014-03-03 12:43:56 +00:00
Ian Craggs
28e3c0182d
MQTT 3.1.1
2014-03-03 00:21:44 +00:00
Ian Craggs
253842cedb
Build clean on gcc 4.7
2013-11-15 23:07:06 +00:00
Ian Craggs
648f057f39
Token not set in one call to publish in test1.c
2013-09-09 22:30:40 +01:00
Ian Craggs
77d7dae4ce
Improve tests - will messages and ha connect options
2013-08-28 16:46:28 +01:00
Ian Craggs
037e0068d4
Add test reporting for all tests
2013-08-21 15:21:27 +01:00
Ian Craggs
22dc82e1bc
Getting test1 to work
2013-08-19 17:59:10 +01:00
Ian Craggs
581a926778
One time to be fixed
2013-07-19 12:08:53 +01:00
Ian Craggs
323597d736
Correct test times
2013-07-19 11:51:24 +01:00
Ian Craggs
72c69a002e
Try to fix test timing
2013-07-19 11:36:01 +01:00
Ian Craggs
a1f895292f
Correct XML report format in test1.c
2013-07-18 16:54:01 +01:00
Ian Craggs
bd954ae73a
Make test 3 pass
2013-07-18 16:06:08 +01:00
Ian Craggs
ef16f95a33
Add timings to test report
2013-07-18 15:15:18 +01:00
Ian Craggs
1cda472894
Add test running and reporting
2013-07-18 12:30:03 +01:00
Ian Craggs
d5608340db
Ant build plus tests
2013-07-16 16:33:10 +01:00