summaryrefslogtreecommitdiffstats
path: root/Sluift
AgeCommit message (Collapse)Author
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
2012-05-22Allow SluiftExceptions to be output by the EventLoopKevin Smith
2012-05-22Fix options passing in Sluift connect() callKevin Smith
2012-05-22Allow Sluift to not use acks from XEP-0198Kevin Smith
2012-04-17Fixing some clang warnings.Tobias Markmann
License: This patch is BSD-licensed, see http://www.opensource.org/licenses/bsd-license.php
2011-06-13Added CppCheck script.Remko Tronçon
Tweaked the sources to satisfy cppcheck.
2011-05-10Add OpenSSL to Sluift bundle conditionally.Remko Tronçon
2011-05-04Add Sluift ability to specify host to connect to.Kevin Smith
2011-04-22Merge branch 'swift-1.x'Remko Tronçon
* swift-1.x: Fixed SCons not picking up the build version correctly in tarball build.
2011-04-22Fixed SCons not picking up the build version correctly in tarball build.Remko Tronçon