summaryrefslogtreecommitdiffstats
path: root/Sluift
AgeCommit message (Collapse)Author
2014-01-28Update copyright of several filesRemko Tronçon
Change-Id: I09739d53d67d034e15d3ca40406df1255b51afef
2014-01-28Sluift: Add shortcut for 'subject' to send_messageRoger Planas
Change-Id: I4343c98d34a70998f25852f05cf1d95458882541
2014-01-24Sluift: Fix PubSubNode.subscribeRemko Tronçon
- Make sure 'sluift' is available in core.lua - Parse the options correctly Change-Id: I6f830372412008aa61c9203dc4f2f1b2f63b001b
2014-01-24Sluift: 'subscriptionid' -> 'subscription_id'Remko Tronçon
Change-Id: I1e02c4b96be4e8da711f4b3bed06b318061dd116
2014-01-22Sluift: Add SecurityLabel convertorRemko Tronçon
Change-Id: I59357bda2cbfcb044b5c27b41fe0c91c194e7381
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-19Sluift: Add iTunes & PEP User Tune supportRemko Tronçon
Change-Id: I25b3840bb40ce38531922cc737bc82828e026d3f
2014-01-18Sluift: Support for common presence payloadsRemko Tronçon
Change-Id: Idb7cd431f20ea69690a105240a5e2aeec1643cec
2014-01-18Sluift: Keep unprocessed events in queueRemko Tronçon
Iterators over specific events (e.g. get_next_message) would discard other events arriving in the meantime. This no longer is the case. Change-Id: I615295695f7104eff7c4c9a642aa57f7c78a08c9
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 with() functionRemko Tronçon
Change-Id: Ife0a7748c2b354017bec5cfdddb0d096950dd15b
2014-01-03Sluift: Document some more elementsRemko Tronçon
Change-Id: I2a755500f0fe88bbea5594ce858bc92dccc34805
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
2014-01-03Sluift: Custom console/interpreterRemko Tronçon
- Prints results of each command (if it can be interpreted as an expression) - Stores results of last command in _1, _2, ... - Supports tab completion - Compatible with Lua 5.2 Other changes: - Add support for specifying custom editline library - Don't load sluift into global namespace. Tab completion should be convenient enough. Change-Id: I2a26346469d67c281d09d47cacaa0b267f5ea9f9
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: Use implicit self in function definitionsRemko Tronçon
Change-Id: Ie981168debc68756c7c7dfd89f24acfc7d69a995
2013-12-27Sluift: tprint() enhancementsRemko Tronçon
- Support recursive tables - Print functions Change-Id: Ic226243bdacc9da90b8b1e55c78311247e663af3
2013-12-27Sluift: Import sluift into global namespaceRemko Tronçon
Change-Id: I783ab0dc7bf46cc02ed4244a5078f6ec040fefb7
2013-12-27Sluift: Add utility functionsRemko Tronçon
New functions: - IDN functions - UUID generator Change-Id: I051dcad32c21107d90b4491b240814f8cf56925d
2013-12-27Sluift: Add message_type to message eventRoger Planas
Change-Id: I156b4cbec401918377af5fd8f21c9845f665b4cb
2013-12-23Sluift: Fix create_submission dropping values from multi fieldsRemko Tronçon
Form->Lua conversion no longer relies on the type to decide how to convert values, and blindly converts value arrays. This also fixes issues if Sluift would be used on the receiving side of a form. Change-Id: I92c346795e1c67c74ccf542d16f79fe8010508f7
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: fix debug output for BOSH connectionsEdwin Mons
Change-Id: I0bf798200e5e74e682eeab688f3ae79e49c73ed2
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-11-10Sluift: Use 'value' instead of 'values' for multi-value fieldsRemko Tronçon
Change-Id: Ie8d6bd4b732dd57cd4dc5ba63a9f6f6148348b2a
2013-10-30Implement missing PubSub owner queries.Remko Tronçon
Implemented get_owner_subscriptions, get_owner_affiliations, and set_owner_affiliations. Change-Id: Ib3ccf2f7e7fe228ccdddf83bde324341e69362d6
2013-10-30Implement missing conversion of some PubSub attributesRemko Tronçon
Change-Id: I51a4249fa84aa40dc2a6e3f2c7e5a9c8fce93f32
2013-10-29Sluift: Fix bug in PubSubNode.list_itemsRemko Tronçon
Change-Id: I5c500bdda0f76e81b0b7ae6ce00ee57c2c0fb3e8
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-21Sluift: Fix bug in DiscoItems element convertorRemko Tronçon
Change-Id: I02f038865850b8d86ee85115ef9a63cc2ce0db8e
2013-09-21Sluift: Update documentationRemko Tronçon
Change-Id: I4b3450d166048db52ca4f531277799bb16996385
2013-09-21Sluift: Add support for ad-hoc commandsRemko Tronçon
Change-Id: I4ac2d0b07841b03086d9dbd9fa06d1f030f4e1ca
2013-09-20Sluift: Add convenient way for filling in formsRemko Tronçon
Change-Id: Ia265e8659e32f9e7a221d986625c830953a93ddc
2013-09-16Add Sluift READMERemko Tronçon
Contains only some build hints at the moment. Change-Id: I09fc3b133e880949ad8ee33227ab35f36f3ec875
2013-09-15Install SluiftRemko Tronçon
Change-Id: Ia08269b51528b4458418939e5478cb320f4ba40d
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-27Set visibility of exported functions when using GCC/CLang.Remko Tronçon
This currently has no effect yet, but when we will add the flag -fvisibility=hidden, this will give the same results when building DLLs on Linux, Mac OS X and Windows with respect to exporting of symbols. Change-Id: I9ab65b2f9ca78ec242ddac5a14d0f8d72721a6ca
2013-08-27PubSub implementation & Sluift refactoring.Remko Tronçon
Change-Id: I04ff7111b73565c00bff6db183451774a633344f
2013-08-17Fixed bug in Sluift.Remko Tronçon
Change-Id: Ic83bb3732fc7b1378159672c4d2d43ea6b871fba
2013-08-17Fix building sluift as .dll on Mac OS X.Remko Tronçon
Change-Id: Ia8043d66ef676048e7fe1d0347b65e8d64aa3bd5
2013-04-21Fix compilation when 3rdParty/ is not there.Remko Tronçon
Change-Id: I6d86bf7d8dcc750ff69ff08500c9987b3c1de43e
2013-01-13Fix more warnings.Remko Tronçon
Fix sign conversion warnings. Removing heavy unnecessary includes. Change-Id: I992f43065498823098a875badb020c7c84fc4797
2012-12-31Fix more warnings.Remko Tronçon
Change-Id: I0fc27a08adb6aecd5c5775a52b7fe48570ed526a
2012-12-30Enable & fix pedantic CLang warnings.Remko Tronçon
Change-Id: I70109624b4bd7aab9ba679a3eaabc225dd64a03a
2012-06-17Allow different connection methods for Client.Remko Tronçon