Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
269 commits
Select commit Hold shift + click to select a range
e0b3573
added gitignore rules
andypiper Apr 12, 2013
00b5b2f
Removing if block from Ant build
andypiper Apr 12, 2013
566c7b8
Corrected help and other messages
andypiper Apr 23, 2013
6cf8617
More fixes to Ant build
andypiper Apr 23, 2013
cdbe789
updated .gitignore
andypiper Apr 26, 2013
c6f1a9a
Add support for a list of MQTT servers
May 17, 2013
453969f
Add support for a list of MQTT servers
May 17, 2013
823058e
Beginning of Maven restructure
andypiper Jun 24, 2013
abe5a1d
initial pom
andypiper Jun 24, 2013
6a3f5ba
Lots of minor string and Javadoc cleanups
andypiper Jun 24, 2013
19db263
Also-By:[email protected]
Jul 4, 2013
bf824fa
Bug #405722 - adding Java client tests
Jul 17, 2013
fb552b9
Bug #405722 - adding Java client tests
Jul 17, 2013
99c9301
Merge branch 'develop' of git://git.eclipse.org/gitroot/paho/org.ecli…
Jul 17, 2013
6183c75
New and revised tests
Jul 18, 2013
e388cf1
Sample GUI for the Paho Java client
Aug 1, 2013
0e04437
Update directories which have moved
Aug 1, 2013
be7d03b
Fix for bug 415216
Aug 16, 2013
a94cacc
Added basic SSL tests for the Java client, they are currently excluded
Aug 16, 2013
f60b372
Additional logging and toString functions on wire packet classes
Aug 19, 2013
1e37709
Bug 405721 - Improve the validateURI function
Aug 19, 2013
38499c4
Merge branch 'develop'
Aug 19, 2013
f1ab7ee
improve pom files and package sample utility
Aug 20, 2013
899f545
Merge branch 'develop'
Aug 20, 2013
2c20c50
missing space causing malformed pom file
Aug 20, 2013
f438425
Prepare for 0.4.0 release
Aug 20, 2013
89bbba4
Start of next dev cycle
Aug 21, 2013
39adf19
Add keystore and changes to support SSL tests
Aug 28, 2013
c9fb720
Add OSGi manifest entries
Sep 20, 2013
34532c2
Fix for Bugzilla 415349 - Connect timeout does not work with SSL
zyyangbj Sep 20, 2013
b5b7bd2
Merge branch 'develop' of ssh://git.eclipse.org/gitroot/paho/org.ecli…
Oct 31, 2013
46f1d70
Fixes for sonar bugs, bugzilla 405724
Oct 31, 2013
11a762d
Merge branch 'develop' of ssh://git.eclipse.org/gitroot/paho/org.ecli…
Oct 31, 2013
5d3040a
missing ; :(
Oct 31, 2013
e2e0db6
Replace new Integer with Integer.valueOf for sonar reports
Oct 31, 2013
36b85c7
testing Gerrit
Dec 5, 2013
8fa1e66
Gerrit testin
Dec 5, 2013
37522c9
Gerrit testing
Dec 5, 2013
f99a255
Initial contribution of android service
Jan 8, 2014
d655883
init commits of Paho MQTT UI Tool
Jan 9, 2014
7c39af4
Java ME contribution
Jan 17, 2014
65e5a56
Add legal docs
Mar 5, 2014
eeb3b45
Fix error in constructor of MqttClientAndroidService.
Feb 26, 2014
452e9dc
Add samples, unit test and reorgranize directories
Mar 6, 2014
f1eeccb
Merge "init commits of Paho MQTT UI Tool" into develop
Mar 10, 2014
affd669
Add MQTT 3.1.1 conformant Test to Java.
Mar 14, 2014
5cb3e45
Improve code design for MQTT 3.1.1 protocol.
Mar 14, 2014
bebfbd0
Fixed a bug in new 3.1.1 Connect packet
Mar 14, 2014
d255844
Update 3.1.1 tests, comment out unfinished tests
Mar 14, 2014
1c09650
Fix bug: generateClientId can generate invalid Client IDs and needs b…
Mar 18, 2014
f594880
exclude the 3.1.1 conformance test by default
Mar 18, 2014
094b859
Merge "Fix bug: generateClientId can generate invalid Client IDs and …
Mar 18, 2014
d1c0d30
Topic length is not checked, resulting in problems if encoded bytes l…
Mar 18, 2014
4134b74
Fix ArrayIndexOutOfBoundsException on receiving multiple messages (co…
Mar 24, 2014
1b6ae6e
Fix bug 425427 - Paho disconnect while receiving large payload
Mar 26, 2014
cac4b97
Merge "Fix bug 425427 - Paho disconnect while receiving large payload…
Mar 26, 2014
10a54a9
Allow client ids upto 65535 encoded bytes
Mar 27, 2014
aaa916c
Merge branch 'develop' of ssh://git.eclipse.org:29418/paho/org.eclips…
Mar 27, 2014
f19cdc0
Add contributing file
Mar 27, 2014
6fb4a54
Add getSSLSocketFactory method to give a quick helper for mqtt androi…
zyyangbj Mar 28, 2014
d79c10b
Fix Bug 414783 - Client gets into a bad state when connecting to a no…
Mar 28, 2014
5e49f06
Merge "Fix Bug 414783 - Client gets into a bad state when connecting …
Mar 28, 2014
0d7e98e
Add javadoc to MQTT android service
zyyangbj Apr 1, 2014
5196af7
Merge Peter's change to support Cordova plugin.
zyyangbj Apr 1, 2014
802d49d
Package the Paho Java client as an OSGi bundle
Apr 2, 2014
52d6fdb
Fix tests not working. Change before this meant the waitForCompletion…
Apr 2, 2014
eb76965
Merge "Add javadoc to MQTT android service" into develop
Apr 2, 2014
19fa0e4
Merge "Merge Peter's change to support Cordova plugin." into develop
Apr 2, 2014
b84da43
Merge "Package the Paho Java client as an OSGi bundle" into develop
Apr 2, 2014
ee4be1b
Change Javadoc of some Mqtt android service function
zyyangbj Apr 3, 2014
3b006c0
1. Rename some classes name. Change the phrase 'AndroidService' to 'A…
Apr 3, 2014
35a0251
Fixed null pointer exception in broadcast receiver if somebody send a…
Apr 8, 2014
459b1a3
Change Javadoc to consist with code changings that already made
zyyangbj Apr 10, 2014
4d4a35b
Add SSL unit test
zyyangbj Apr 11, 2014
a7092a3
pass persistence option through if provided, don't override
Apr 11, 2014
e0c4adc
Merge changes I28ebab53,I9d2eccb6 into develop
Apr 11, 2014
b2b0cbf
Merge "Fixed null pointer exception in broadcast receiver if somebody…
Apr 14, 2014
d50aef5
Add NetworkStateReceiver
Apr 13, 2014
2b9f483
Fixed ServerConnection and IntentReceiver leak problem when applicati…
Apr 14, 2014
6fa25bf
Allow the Paho Java client code to build directly in Eclipse
Apr 14, 2014
2484cfa
Merge "Allow the Paho Java client code to build directly in Eclipse" …
Apr 14, 2014
735b2e5
Modify bug in setLastWill page in mqtt android sample
zyyangbj Apr 14, 2014
cb0fd21
Modify NullPointer bug while disconnect in mqtt android sample
zyyangbj Apr 14, 2014
41c8abf
Convert paho test project to maven project
Apr 16, 2014
c4dc04c
Synchronized code from MQTT Cordova Plugin, fixed two problem:
Apr 16, 2014
2f108ef
Solve two problems.
Apr 16, 2014
b9fc854
Resolve problem that broadcast intents being picked up by other apps …
zyyangbj Apr 21, 2014
9f73671
Modify bug in constructor, passing persistence instead of null
zyyangbj Apr 21, 2014
d24947a
Resolve deadlock from bug 432995
Apr 22, 2014
a1c554f
Update jar in Android service.
Apr 23, 2014
8ca9792
Trace tidy-ups according to Peter's email
zyyangbj Apr 23, 2014
320eaef
Merge "Trace tidy-ups according to Peter's email" into develop
Apr 23, 2014
f154edb
1. Update copyright information in files. 2. Add a wakelock check in …
Apr 23, 2014
084a01b
Modify sample code to receive notification message when connect with …
zyyangbj Apr 24, 2014
7c098a4
Merge branch 'develop'
May 2, 2014
f0cf842
Fix copyright statements and change version number prior to release
May 2, 2014
d23da21
Remove 3.1.1 client changes
May 2, 2014
c0ff516
stop conformant test from attempting to be compiled
May 2, 2014
a3ee657
Resolve issues reported by Sonar and FindBugs in Java client
Apr 17, 2014
06246e6
Fix Bug 432997 - ClientComms.conState not properly synchronized
May 4, 2014
90bb687
Fix the reconnect callback error in service.
May 12, 2014
4cb28e6
Fixed compiler warnings
jarthorn May 12, 2014
7918a91
Fixed git ignore to recursively ignore bin directories
jarthorn May 12, 2014
6809db3
Merge "Fix the reconnect callback error in service." into develop
May 13, 2014
0c091aa
Changes to do p2 packaging
May 19, 2014
c220635
dummy change to test hudson
May 20, 2014
623316d
changes to do jar signing
May 22, 2014
0dfb422
move eclipse view project into java client repo for packaging reasons
May 22, 2014
9427abf
Combine both artifacts in the same category
May 22, 2014
60777df
publish p2 artifacts to the right version directory
May 27, 2014
9ea47f4
bump version to 0.9.0 and publish artifacts to downloads area
May 27, 2014
4ba5043
Change other 0.8.0 references to 0.9.0
May 27, 2014
5907c4c
remove .qualifier from the manifest files
May 27, 2014
eadbec2
don't fail on error deleting target directory for deployment
May 27, 2014
269c92b
remove mqttv3.jar from android service directory
May 30, 2014
52fb0f0
Changes from the develop branch since merge
May 30, 2014
dbcdbc6
Merge with 0.9.0 master branch
Jun 2, 2014
d3de810
set version as 1.0.0-SNAPSHOT for maven, other master branch syn changes
Jun 2, 2014
2464324
update version number fields for OSGi packaging to 1.0.0.qualifier
Jun 3, 2014
323abb2
fix wrong user_name from persistent data
Jun 16, 2014
24a91be
MQTT 3.1.1 updates
Jun 20, 2014
d13e69e
MQTT 3.1.1 support
Jun 20, 2014
837badc
Debug info
Jun 22, 2014
044e4df
More debugging
Jun 23, 2014
b0e0fed
Removed debugging statements
Jun 23, 2014
c89b87b
Cater for different return codes
Jun 24, 2014
ba340ad
Change version number to 1.0.0
Jun 24, 2014
c9097b3
Merge branch 'master' into develop
Jun 24, 2014
908c4a5
Set version to 1.0.1-SNAPSHOT
Jun 24, 2014
8de5d20
Update token to match 3.1.1 updates for Java client
Jun 26, 2014
81cd102
reenable javadoc generation
Jul 1, 2014
e61a877
Merge branch 'master' of ssh://git.eclipse.org:29418/paho/org.eclipse…
Jul 1, 2014
9d62603
reenable javadoc
Jul 1, 2014
cd73f67
Bug 437839 - Single Level wildcard not able to be used at the start o…
Jul 5, 2014
0ca5288
Change MqttTokenAndroid.java to consist with changes in IMqttToken.ja…
zyyangbj Jul 7, 2014
eeeede8
Merge "fix wrong user_name from persistent data"
Jul 7, 2014
eb1a11c
Fix Bug 435069 - Timeout doesnt gets called on again sending ping alt…
Jul 7, 2014
1f73ed1
Merge branch 'master' into develop
Jul 8, 2014
c67fb5e
set version number explicitly in pom files
Jul 8, 2014
2d487c1
try different javadoc goal
Jul 8, 2014
2f4b8f0
Fix Bug 436608 - Client does not run under Java 1.4
Jul 9, 2014
c250e68
Changes to use Hudson to do auto-build and auto-test
zyyangbj Jul 11, 2014
2bbc6c8
Update maven phase to deploy instead of install for Paho P2 Repositor…
Jul 13, 2014
100b41c
disable javadoc generation
Jul 22, 2014
6d04754
Merge branch 'develop' of ssh://git.eclipse.org:29418/paho/org.eclips…
Jul 22, 2014
52eac39
Add property file for test and refine some test cases
zyyangbj Jul 24, 2014
bd07509
Fix bug that close() was never explicitly called on database
zyyangbj Jul 24, 2014
bf5f71e
Remove codes that wrongly added when fix previous bug
zyyangbj Jul 24, 2014
fc75039
Build & package paho ui as eclipse plugin
Jul 28, 2014
2f2e1e4
Fix bug 440861: should not use == to compare string
zyyangbj Aug 4, 2014
84f25e8
Fix bug: incorrect DB state
zyyangbj Aug 4, 2014
75a06d5
Fix Bug 440698 - thread blocked in MqttClient.disconnect()
Aug 13, 2014
945c0c1
AutoReconnect issue : Reconnect after network recovery
Aug 28, 2014
28c6a0c
AutoReconnect issue : Reconnect after connection lost.
Aug 28, 2014
8ae8909
AutoReconnect issue : Auto connect after connect fail.
Aug 28, 2014
b70a4ab
AutoReconnect issue: Reconnect after reconnect fail.
Aug 28, 2014
36f8e12
Fix Bug 434761 - Connect onSuccess getting executed for the second wh…
Aug 29, 2014
bdeab9f
fix bug for app crashed when cleansession is set to true
zyyangbj Aug 29, 2014
33ec0bf
Fix Bug 442666 - Thread deadlock between MQTT Call and MQTT Snd
Aug 29, 2014
9900300
Merge "Fix Bug 434761 - Connect onSuccess getting executed for the se…
Aug 29, 2014
a559ae3
Merge "fix bug for app crashed when cleansession is set to true" into…
Aug 29, 2014
5a652d6
Merge "Fix Bug 442666 - Thread deadlock between MQTT Call and MQTT Sn…
Aug 29, 2014
11a8def
Fix bugzilla bug 442845
zyyangbj Sep 3, 2014
3b00a68
Reconnect issue:Persist the connection meta info in SQLite database;D…
Sep 4, 2014
103f3eb
Merge "Reconnect issue:Persist the connection meta info in SQLite dat…
Sep 8, 2014
aa82b7a
Fix bug 443744 - MQTTClient generate invalid client id for Websphere …
Sep 11, 2014
7db2c0f
Fix bug 443365:[feature] App is killed, after mqtt service is restart…
Sep 12, 2014
9433707
Merge "Fix bug 443744 - MQTTClient generate invalid client id for Web…
Sep 15, 2014
c0af8d9
Fix Bug 443367 - [feature] mqtt service provide a callback interface…
zyyangbj Sep 16, 2014
c7a69d1
Make change in AndroidManifest.xml to let unit test run
zyyangbj Sep 16, 2014
3a5c7df
change host for async timeout test
Sep 16, 2014
7cb2672
Merge "Fix Bug 443367 - [feature] mqtt service provide a callback in…
Sep 16, 2014
4070c75
Merge "Make change in AndroidManifest.xml to let unit test run" into …
Sep 16, 2014
c49a670
Fix Bug 443374 - connection will not reconnect after connection lost …
zyyangbj Sep 18, 2014
06da39c
Fix bug 442921 to add maven build for MQTT android service
Sep 18, 2014
35379d1
Update android service pom.xml and enable eclipse maven project nature
Sep 19, 2014
bd27463
Merge "Fix bug 442921 to add maven build for MQTT android service" in…
Sep 19, 2014
7df2f4d
Merge "Update android service pom.xml and enable eclipse maven projec…
Sep 19, 2014
3ae5484
Fix Bug 444318 - Check null when calling MqttAndroidClient#isConnected
zyyangbj Sep 20, 2014
76b7891
Fix Bug 444776 - wildcard misspelled in message as 'wildard'
Sep 23, 2014
63c185c
Fix [Bug 442853]: 'Enable Logging' is not actually implemented Androi…
Sep 24, 2014
594e1d4
Fix Bug 444968 - Trace logs for Paho SUBSCRIBE show the topic, but th…
Sep 25, 2014
d37b2f0
bug 443365:[feature] App is killed, after mqtt service is restarted, …
Sep 26, 2014
b55cc09
bug 443365:[feature] App is killed, after mqtt service is restarted, …
Sep 26, 2014
346c4ce
Merge "Fix Bug 444776 - wildcard misspelled in message as 'wildard'" …
Sep 26, 2014
b25fb63
Merge "Fix [Bug 442853]: 'Enable Logging' is not actually implemented…
Sep 26, 2014
4c95d82
Merge "bug 443365:[feature] App is killed, after mqtt service is rest…
Sep 26, 2014
4101c1a
Merge "bug 443365:[feature] App is killed, after mqtt service is rest…
Sep 26, 2014
371975c
Merge "Fix Bug 444968 - Trace logs for Paho SUBSCRIBE show the topic,…
Sep 26, 2014
f824699
Roll back changes of Bugzilla bug 443374 and Bugzilla bug 443367
zyyangbj Sep 28, 2014
0183376
Fix Bug 445298 - NullPointer Exception when close SQLite db
zyyangbj Sep 29, 2014
3c3e02c
Roll back the features of 443359, 443362, 443363, 443364
Sep 30, 2014
dd99bf2
Fix bug: 443369 - Some connection status is not set appropriately
Sep 30, 2014
c21f93f
Fix Bug 443142 - Deadlocked 'MQTT Rec': When 'MQTT Call:' Dies
Sep 30, 2014
25eefc8
fix Bug 443371 - Refine documentation
Oct 10, 2014
fe628bf
Fix bug 447031 - Refine Android service sample
Oct 14, 2014
2bd8a39
Fix for bug 446663. Please see bugs comments for the description.
mcarrer Oct 17, 2014
100fa35
Addressed comments from Code-Review-1. ConnectionLoss tests have been…
mcarrer Oct 21, 2014
1eb55d7
Added marker interface for manual test: ManualTest.
mcarrer Oct 21, 2014
37fd5e8
Increase maximum timeout waiting for message in test, just in case
Nov 18, 2014
3c65b08
Update version numbers to 1.0.1 - service release
icraggs Nov 18, 2014
a639210
Update manifest versions to 1.0.1
icraggs Nov 18, 2014
6a56f58
Update feature version to 1.0.1
icraggs Nov 18, 2014
0455fb9
SSL File Selector
Nov 19, 2014
f5311fa
Add SSL Key Selector for dev branch
Nov 24, 2014
5cf880b
remove SNAPSHOT from pom.xml dependencies
Nov 26, 2014
d0258e4
Fix Bug 446379 - Security issue: Paho Android Service is broadcasting…
Dec 5, 2014
2068983
Fix Bug 431268 - DUP flag incorrectly set by paho client
Dec 15, 2014
851e3c8
Fix Bug 455911 - Subscription Callback invoked a second time when con…
Dec 22, 2014
5174fa5
Bug 455849 - Lint error: WrongManifestParent
Jan 6, 2015
3f81520
Merge branch 'develop'
Feb 6, 2015
92a7d61
Update master branch to version 1.0.2
Feb 16, 2015
d374d92
Configure deploy plugin
Feb 18, 2015
4dedf6e
Remove "skip" option from deployment plugin
Feb 18, 2015
6fd2651
Add source and doc Tycho plugins
Feb 18, 2015
1242b6b
Some partial README information
Feb 20, 2015
0c0328b
Update CONTRIBUTING file
Feb 25, 2015
496f94a
Fix CONTRIBUTING file
Feb 25, 2015
c508ba2
Revert "Roll back the features of 443359, 443362, 443363, 443364"
alukito Mar 12, 2015
bec5c79
Ubah refCount flag jadi false
Apr 28, 2015
85dbcd7
Pasang delay saat reconnect.
alukito May 8, 2015
3449833
update reconnect process.
Oct 20, 2015
d106234
Merge pull request #2 from netzme/kick_user_stop_reconnect
alukito Oct 21, 2015
ca72edd
Cherry Pick - Bug: 473775 - Occasional NullPointerException in librar…
ulil-netzme Oct 26, 2015
5c73e22
Merge pull request #3 from netzme/bug_change_network
ulil-netzme Oct 26, 2015
d2e1019
add interface for Auth Fail handler.
Nov 26, 2015
c11dab7
add checking inside connect method.
Dec 8, 2015
783c116
add interface for handling user auth failed.
Dec 8, 2015
f076f97
extract checking is AuthFailure to private method.
Dec 8, 2015
09c48df
Merge pull request #4 from netzme/refactor_kick_process
destri8 Dec 14, 2015
43c10db
update wakelock to release after ping is sent
ulil-netzme Dec 18, 2015
3d2b6b4
buat interface listener baru
ulil-netzme Dec 18, 2015
fbe78dc
Merge pull request #5 from netzme/ping_wakelock
alukito Dec 18, 2015
96c3ed4
put persistence on internal storage & remove FileLock
Dec 22, 2015
9fc9a60
fix code review : checking null if the internal is not available.
Dec 22, 2015
b32ca88
Merge pull request #6 from netzme/remove_file_locking
destri8 Dec 22, 2015
8c00541
Tambah method recycleConnection untuk behaviour seperti lama tidak da…
alukito Feb 26, 2016
a44200e
Merubah default value MAX_INFLIGHT dari 10 menjadi 20
abufathan Mar 21, 2016
c122327
Checking that a token is instanceOf IMqttDeliveryToken before casting…
jpwsutton Apr 13, 2016
a79360f
fix unable to send chat until network changed
May 16, 2016
554e79d
Fix NPE pada isConnected setelah disconnect secara manual
ivanDanil Jul 22, 2016
d402584
Merge pull request #7 from netzme/fix_npe_disconnect
Jul 27, 2016
7f92191
Tidak register receiver ketika sudah pernah register sebelumnya
ivanDanil Aug 11, 2016
a444099
fix android not responding when receive many action event
Sep 15, 2016
b26b871
fix android not responding ketika membuat logger
Sep 20, 2016
72ab334
doc to build paho.mqtt
Sep 27, 2016
41c5541
Merubah paho agar mensupport:
mekanzoo Mar 10, 2017
45612c7
workaround untuk NPE myClient pada MqttConnection reconnect.
Mar 21, 2017
fd5d463
Merge card #1100 pull request #8 from netzme/workaround_npe_reconnect
annastacia8 Mar 22, 2017
8e6064a
Menambahkan pengecekan pending pendingIntent,
SigitAriW Oct 31, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
59 changes: 59 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
### /.gitignore-boilerplates/Global/Eclipse.gitignore
*.pydevproject
.metadata
bin/
tmp/**
tmp/**/*
*.tmp
*.bak
*.swp
*~.nib
local.properties
.loadpath

# External tool builders
.externalToolBuilders/

# Locally stored "Eclipse launch configurations"
*.launch

# CDT-specific
.cproject

# PDT-specific
.buildpath

### .gitignore-boilerplates/Global/OSX.gitignore
.DS_Store
.AppleDouble
.LSOverride
Icon

# Thumbnails
._*

# Files that might appear on external disk
.Spotlight-V100
.Trashes

### .gitignore-boilerplates/Java.gitignore
*.class

# Package Files #
*.jar
*.war
*.ear

# Eclipse
.classpath
.project
.settings/

# Intellij
.idea/
*.iml
*.iws

# Maven
log/
target/
87 changes: 87 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
Contributing to Paho
====================

Thanks for your interest in this project.

Project description:
--------------------

The Paho project has been created to provide reliable open-source implementations of open and standard messaging protocols aimed at new, existing, and emerging applications for Machine-to-Machine (M2M) and Internet of Things (IoT).
Paho reflects the inherent physical and cost constraints of device connectivity. Its objectives include effective levels of decoupling between devices and applications, designed to keep markets open and encourage the rapid growth of scalable Web and Enterprise middleware and applications.

- [Project web site](https://www.eclipse.org/paho)
- [Project information](https://projects.eclipse.org/projects/iot.paho)

Source
------

The Paho Java client and Android service are stored in a git repository. The URLs to access it are:

ssh://<username>@git.eclipse.org:29418/paho/org.eclipse.paho.mqtt.java
https://<username>@git.eclipse.org/r/paho/org.eclipse.paho.mqtt.java

A [web browsable repository](http://git.eclipse.org/c/paho/org.eclipse.paho.mqtt.java.git) is available.

Contributing a patch
--------------------

The Paho repositories are accessed through Gerrit, the code review
project, which makes it possible for anybody to clone the repository, make
changes and push them back for review and eventual acceptance into the project.

To do this, you must follow a few steps. The first of these are described at

- [Contributing via git](https://wiki.eclipse.org/Development_Resources/Contributing_via_Git)

* Sign the Eclipse CLA
* Use a valid commit record, including a signed-off-by entry.

There are further details at

- [Handling Git Contributions](https://wiki.eclipse.org/Development_Resources/Handling_Git_Contributions)

Once the patch is pushed back to Gerrit, the project committers will be
informed and they will undertake a review of the code. The patch may need
modifying for some reason. In order to make amending commits more
straightforward, the steps at
https://git.eclipse.org/r/Documentation/cmd-hook-commit-msg.html should be
followed. This automatically inserts a "Change-Id" entry to your commit message
which allows you to amend commits and have Gerrit track them as the same
change.

What happens next depends on the content of the patch. If it is 100% authored
by the contributor and is less than 1000 lines (and meets the needs of the
project), then it can be committed to the main repository. If not, more steps
are required. These are detailed in the
[legal process poster](http://www.eclipse.org/legal/EclipseLegalProcessPoster.pdf).


Developer resources:
--------------------

Information regarding source code management, builds, coding standards, and more.

- [https://projects.eclipse.org/projects/iot.paho/developer](https://projects.eclipse.org/projects/iot.paho/developer)

Contributor License Agreement:
------------------------------

Before your contribution can be accepted by the project, you need to create and electronically sign the Eclipse Foundation [Contributor License Agreement (CLA)](http://www.eclipse.org/legal/CLA.php).

Contact:
--------

Contact the project developers via the project's development
[mailing list](https://dev.eclipse.org/mailman/listinfo/paho-dev).

Search for bugs:
----------------

This project uses [Bugzilla](https://bugs.eclipse.org/bugs/buglist.cgi?product=Paho) to track ongoing development and issues.

Create a new bug:
-----------------

Be sure to search for existing bugs before you create another one. Remember that contributions are always welcome!

- [Create new Paho bug](https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Paho)
3 changes: 3 additions & 0 deletions HOW_TO_BUILD.TXT
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export JAVA_HOME=`/usr/libexec/java_home -v '1.7*'`
~/app/maven/bin/mvn clean compile package -DskipTests
~/app/maven/bin/mvn deploy -DskipTests
30 changes: 30 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
Paho Java client for MQTT

This is to be completed... (Ian Craggs)


Updating to a new version number
-------------------------------

Ok. There are some Maven commands to update releases, but so far I've not been able to determine what those should be.

In the develop branch, we want the releases to be the vNext-SNAPSHOT

But in the master branch, we want


Maven command to update versions:

mvn versions:set -DnewVersion=1.0.2-SNAPSHOT

this will work for pom.xml files. However we have OSGi manifests as well. Linux commands to update versions:

find | grep "MANIFEST\.MF" | xargs sed -i "s/1\.0\.2/1\.0\.3\.qualifier/g"
find | grep "feature.xml" | xargs sed -i "s/1\.0\.2/1\.0\.3\.qualifier/g"
find | grep "build.xml" | xargs sed -i "s/1\.0\.2/1\.0\.3\.qualifier/g"
find | grep "category.xml" | xargs sed -i "s/1\.0\.2/1\.0\.3\.qualifier/g"
find | grep "ui.app.product" | xargs sed -i "s/1\.0\.2/1\.0\.3\.qualifier/g"

Example Linux command to find all files with instances of a version number:

find | xargs grep -s "1\.0\.2"
28 changes: 28 additions & 0 deletions about.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>About</title>
</head>
<body lang="EN-US">
<h2>About This Content</h2>

<p><em>December 9, 2013</em></p>
<h3>License</h3>

<p>The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise
indicated below, the Content is provided to you under the terms and conditions of the
Eclipse Public License Version 1.0 ("EPL") and Eclipse Distribution License Version 1.0 ("EDL").
A copy of the EPL is available at
<a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>
and a copy of the EDL is available at
<a href="http://www.eclipse.org/org/documents/edl-v10.php">http://www.eclipse.org/org/documents/edl-v10.php</a>.
For purposes of the EPL, "Program" will mean the Content.</p>

<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
being redistributed by another party ("Redistributor") and different terms and conditions may
apply to your use of any object code in the Content. Check the Redistributor's license that was
provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
indicated below, the terms and conditions of the EPL still apply to any source code in the Content
and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>

</body></html>
15 changes: 15 additions & 0 deletions edl-v10
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

Eclipse Distribution License - v 1.0

Copyright (c) 2007, Eclipse Foundation, Inc. and its licensors.

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
Neither the name of the Eclipse Foundation, Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

70 changes: 70 additions & 0 deletions epl-v10
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
Eclipse Public License - v 1.0

THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.

1. DEFINITIONS

"Contribution" means:

a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and
b) in the case of each subsequent Contributor:
i) changes to the Program, and
ii) additions to the Program;
where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program.
"Contributor" means any person or entity that distributes the Program.

"Licensed Patents" mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program.

"Program" means the Contributions distributed in accordance with this Agreement.

"Recipient" means anyone who receives the Program under this Agreement, including all Contributors.

2. GRANT OF RIGHTS

a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form.
b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder.
c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program.
d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement.
3. REQUIREMENTS

A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that:

a) it complies with the terms and conditions of this Agreement; and
b) its license agreement:
i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose;
ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits;
iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and
iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange.
When the Program is made available in source code form:

a) it must be made available under this Agreement; and
b) a copy of this Agreement must be included with each copy of the Program.
Contributors may not remove or alter any copyright notices contained within the Program.

Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution.

4. COMMERCIAL DISTRIBUTION

Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense.

For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages.

5. NO WARRANTY

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement , including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations.

6. DISCLAIMER OF LIABILITY

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

7. GENERAL

If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.

If Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed.

All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive.

Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. The Eclipse Foundation is the initial Agreement Steward. The Eclipse Foundation may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved.

This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation.
Loading