summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-04-04Modernize code to use C++11 shared_ptr instead of Boost'sTobias Markmann
This change was done by applying the following 'gsed' replacement calls to all source files: 's/\#include <boost\/shared_ptr\.hpp>/\#include <memory>/g' 's/\#include <boost\/enable_shared_from_this\.hpp>/\#include <memory>/g' 's/\#include <boost\/smart_ptr\/make_shared\.hpp>/\#include <memory>/g' 's/\#include <boost\/make_shared\.hpp>/\#include <memory>/g' 's/\#include <boost\/weak_ptr\.hpp>/\#include <memory>/g' 's/boost::make_shared/std::make_shared/g' 's/boost::dynamic_pointer_cast/std::dynamic_pointer_cast/g' 's/boost::shared_ptr/std::shared_ptr/g' 's/boost::weak_ptr/std::weak_ptr/g' 's/boost::enable_shared_from_this/std::enable_shared_from_this/g' The remaining issues have been fixed manually. Test-Information: Code builds on OS X 10.11.4 and unit tests pass. Change-Id: Ia7ae34eab869fb9ad6387a1348426b71ae4acd5f
2016-04-01Modernize code to use C++11 nullptr using clang-tidyTobias Markmann
Run 'clang-tidy -fix -checks=modernize-use-nullptr' on all source code files on OS X. This does not modernize platform specific code on Linux and Windows Test-Information: Code builds and unit tests pass on OS X 10.11.4. Change-Id: Ic43ffeb1b76c1a933a55af03db3c54977f5f60dd
2016-03-31Convert tabs to 4 spaces for all source filesTobias Markmann
Removed trailing spaces and whitespace on empty lines in the process. Changed CheckTabs.py tool to disallow hard tabs in source files. Test-Information: Manually checked 30 random files that the conversion worked as expected. Change-Id: I874f99d617bd3d2bb55f02d58f22f58f9b094480
2016-03-30Apply consistent #include grouping and sorting styleTobias Markmann
Changed "" style includes to <> style. Test-Information: Build with Clang 3.9.0 and ran all tests on OS X 10.11.4. Change-Id: Ic05e53f2e5dba39cc1307b116fc5f17b62ab9eb8
2014-12-15Update Copyright In SluiftKevin Smith
Change-Id: I19f8ae342e028a6a7b4b13758f2e8c170a1db80c
2014-08-10Fix invalid characters being allowed in JID domainsRichard Maudsley
Test-Information: Prepare valid and invalid JIDs and make sure that isValid() is reported correctly. Added unit tests. Change-Id: Ic4d86f8b6ea9defc517ada2f8e3cc54979237cf4
2014-07-14Sluift: Add 'fs' moduleRemko Tronçon
The 'fs' module provides filesystem functions. Currently has function to list directory contents and test whether a path is a file. Test-Information: Tested in external script. Change-Id: I14ba614b0b3bd52f5d9e87a40dc6477d99604d88
2014-06-22Sluift component supportEdwin Mons
Change-Id: Ib8af01c04c866e198c04d35236dea4da464c9116
2014-05-12Add sluift function create_formEdwin Mons
The function send_mam_query needs an optional form. Created a generic form creation function, and made the pubsub configuration form function use that. Change-Id: I9e839b28df3916c1fd0b09d84a03cc521d1736ad
2014-04-30Update LuaElementConvertor interface to work with Element instead of Payload.Richard Maudsley
Change-Id: I4f8b69b1a13fff21c605011f45763e01f03259cf
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-02-02Sluift: Add new_certificateRemko Tronçon
Change-Id: If4e4ef98c00f15c0a88557860f0377843a8713c0
2014-02-02Sluift: Remove accidentally committed code.Remko Tronçon
This was generating incorrect tab completions. Change-Id: I6072de10358d024a3584ae2d7d2fff57149d645f
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-19Sluift: Add iTunes & PEP User Tune supportRemko Tronçon
Change-Id: I25b3840bb40ce38531922cc737bc82828e026d3f
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-03Sluift: Add with() functionRemko Tronçon
Change-Id: Ife0a7748c2b354017bec5cfdddb0d096950dd15b
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 utility functionsRemko Tronçon
New functions: - IDN functions - UUID generator Change-Id: I051dcad32c21107d90b4491b240814f8cf56925d
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-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-22Fix options passing in Sluift connect() callKevin Smith
2012-05-22Allow Sluift to not use acks from XEP-0198Kevin Smith
2011-05-04Add Sluift ability to specify host to connect to.Kevin Smith
2011-04-20Introduce ClientOptions struct.Remko Tronçon
2011-04-18Compile Lua as C++ to avoid setjmp/longjmp & exception conflicts.Remko Tronçon
2011-04-18Cleaned up includes.swift-2.0alphaRemko Tronçon
2011-04-04Fixed assertion failure in Sluift.Remko Tronçon
2011-03-17Sluift: Added example script for removing unreachable contacts.Remko Tronçon
2011-03-17Sluift: Add timeout to get and set.Remko Tronçon
2011-03-17Sluift: Put a timeout on connecting to a server.Remko Tronçon
2011-03-17Sluift: Spin the event loop on send events.Remko Tronçon
2011-03-16Sluift: Don't hang until timeout in get_contacts and set_version.Remko Tronçon
2011-03-05Fixed some Sluift bugs.Remko Tronçon
2011-03-05Sluift: Added CollectVersions example.Remko Tronçon
2011-03-05Sluift: roster->contactsRemko Tronçon
2011-03-04Sluift: Spin the event loop on some commandsRemko Tronçon
2011-03-03Some more Sluift tweaks.Remko Tronçon
2011-03-02Sluift: Added subscription confirm/cancel.Remko Tronçon
2011-03-02Added add/remove contact.Remko Tronçon
2011-03-02Return client on sluift mutators.Remko Tronçon
2011-03-01Introduce Lua::Value helper.Remko Tronçon
2011-03-01Some more Sluift enhancements.Remko Tronçon
2011-02-27Added 'get_next_event' sluift command.Remko Tronçon