summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2014-03-20Sluift: Initialize client tracing at creation timeRemko Tronçon
This avoids all calls to set_trace_enabled prior to connect() being ignored. Change-Id: Ib4f2bc9815aae2bd456f2ececcb2a37ac460eebc
2014-01-28Sluift: Add shortcut for 'subject' to send_messageRoger Planas
Change-Id: I4343c98d34a70998f25852f05cf1d95458882541
2014-01-22Sluift: Support arbitrary payloads in messages & presence.Remko Tronçon
- Add 'payloads' option to send_message and send_presence - Add 'payloads' table to message event Change-Id: I43079d519322abe8c4710ddaec5de22c48edd1ef
2014-01-18Sluift: Ensure all events have been processed before disconnectingRemko Tronçon
This avoids errors when disconnecting the client while there are still elements waiting. Change-Id: I005ec3f14c138b76f6381f1a89b3ee250a40777f
2014-01-18Sluift: Fix send_messageRemko Tronçon
Change-Id: I96b35a905553f5b25272179eaaf6c1b12ba2cd41
2014-01-18Sluift: Refactor global debug & timeout options.Remko Tronçon
Use regular table values on the sluift table. Enable enabling tracing on a client after the fact. Change-Id: Iaa2bea61bdadf0b8dec4951654c402b7133c1151
2014-01-18Sluift: Allow blocking calls to be interrupted.Remko Tronçon
Change-Id: I3755e796fbddc038022bbf543c7b1c0529a9b0f9
2014-01-03Sluift: Add help supportRemko Tronçon
Provide a 'help' function that takes a table/function, and prints help for it. A structured representation can be retrieved through 'get_help'. Change-Id: I2b3ce8992943ef30cee2604fba9200feed263fa5
2013-12-27Sluift: RefactoringRemko Tronçon
- Rename boot.lua to core.lua - Support Lua 5.2 - Support version prefixes for sluift module - Add Client:process_events Change-Id: I3fa6d06d1dbdf86f65b9f4203bd2ec5b5526b104
2013-12-27Sluift: Add message_type to message eventRoger Planas
Change-Id: I156b4cbec401918377af5fd8f21c9845f665b4cb
2013-12-15Sluift: Fix default values for port and host for connectRoger Planas
Change-Id: Ia19e0a3763005df7fb7db6b57841d6559f74ef46
2013-11-27Add presence_type to presence eventEdwin Mons
Change-Id: I3de5cd5ce1d84d6ce6a4b02af939ed5e0eb721f0
2013-11-19Sluift: add allow_plain_without_tls client optionEdwin Mons
Change-Id: Ieef0e455bb13e9ee38d583bee87ebb7e506bd00c
2013-11-18Sluift: add bosh_url client optionEdwin Mons
Change-Id: I42b14f411531f8814bbb85f3941772a4149c4171
2013-10-28Add port option to Sluift client connectRoger
Provide a mechanism to allow setting both the port and hostname for a Sluift client connection. By default Sluift leave port to -1 to use the port discovered by SRV lookups, with 5222 as a fallback. With this change, the port is now manually configurable as well. Change-Id: Idef5457e95127cfa86181b462d9ef42aa4f096ff
2013-09-01Sluift: More PubSub convenience methods & use cases.Remko Tronçon
- Convenience iterators to PubSub and PubSubNode. - Retrieving X most recent items - Retrieving a single item - Fixed GeoLocation serializer Change-Id: Ib4ecde225fb274b21163fcc9b52e19b0d3431860
2013-08-27PubSub implementation & Sluift refactoring.Remko Tronçon
Change-Id: I04ff7111b73565c00bff6db183451774a633344f