Age | Commit message (Collapse) | Author |
|
Added node to MAMQuery, the serializers, unit tests and the Sluift
ElementConvertor.
Test-Information:
Unit tests pass on OS X 10.9
Sluift script querying a pubsub archive sent the right query.
Change-Id: If8620104a11b402d7b51a6e9b34ccbe1b7e6d15a
|
|
Added support for <fin/> element, including serializer/parsers and unit tests for
them. Added more unit tests based on XEP examples for existing parsers. Removed
unneccesarry includes from existing MAM implementation.
Test-Information:
Existing and new unit tests pass successfully.
Change-Id: I7e6bf85e0961d59801b452e4559cc1db9e9e6ed8
|
|
C++11.
Test-Information:
Tested with Clang 3.6.0.
Change-Id: I1f9ae8ae535d90f92b7263e86b51fe64b15524b4
|
|
Removes some unused private members and restructure switch statement to handle
all cases.
Test-Information:
Fixed code does not emit the clang warnings anymore.
Change-Id: I06a9036b307014e2f882e3cee45a6881b24c3f70
|
|
generate_embedded_lua in Sluift/SConscript used a bytearray, which wasn't
available until Python 2.6. Modified the code to use the string data
instead of a bytearray.
Test-information:
Builds on OS X 10.9 and CentOS 5.9
sluift binary works on both platforms
Change-Id: Iae29f76e32c8b7a827bc438caf09457b259446ca
|
|
Change-Id: I3b358e6a60f1ff546f2e578b6e0a54072b4c6da5
|
|
Test Information:
MAM queries now return a payload of _type='subject'.
Change-Id: I4fe4eb5105f4f19d146e4cca741d35bb7760cf6c
|
|
Test-Information:
Prepare valid and invalid JIDs and make sure that isValid() is reported correctly. Added unit tests.
Change-Id: Ic4d86f8b6ea9defc517ada2f8e3cc54979237cf4
|
|
Change-Id: I9fbd4514f6bc0d46738154abce495519e43ad46b
|
|
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
|
|
Change-Id: Ib8af01c04c866e198c04d35236dea4da464c9116
|
|
DOMElementConvertor crashed because the stack wasn't large enough for
deeper nested element trees. Calling lua_checkstack grows the stack if
there's need for it. Normally Lua does this for you, but the
DOMElementConverter can spend quite some time in non-Lua space.
Change-Id: I23e563d49191b1db1204d2f6fa7d30e2e9d05c1f
|
|
Change-Id: I5d81e2476c83a16a8e478656d11d91137b009f3a
|
|
Change-Id: Ia3c0195ffc5d93a1d3189fe811929459ee2d06a7
|
|
Change-Id: Ieec3795aa80e7913ee65c536f16361b758e8448c
|
|
Change-Id: I641380fe7423af7b2c7be992f59244a57fb24b51
|
|
Change-Id: I02f2ec421bd7ba54f64eff35dc1c6e21a7c22545
|
|
Change-Id: Ieefb87795316ffa4f513cf1d19d20730596db6d9
|
|
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
|
|
Change-Id: I46bd9f24fc887b180cee3c2aa75a6c9e1761473b
|
|
Change-Id: I75e87e9c1a0f12f6c56dcb63f0a06f715277b99b
|
|
Change-Id: I26a212dcf17af79696c0446a88fb2272e890f007
|
|
Change-Id: I472023726e84fbdd14af1fd9f57de411a20eb584
|
|
Change-Id: I4f8b69b1a13fff21c605011f45763e01f03259cf
|
|
Change-Id: Ib542e69848ee85e4a017528e6ffe5da61276619a
|
|
This avoids all calls to set_trace_enabled prior to connect()
being ignored.
Change-Id: Ib4f2bc9815aae2bd456f2ececcb2a37ac460eebc
|
|
Change-Id: I7cd26f00f626b64da934e9f5594db393d6184b9c
|
|
Change-Id: If4e4ef98c00f15c0a88557860f0377843a8713c0
|
|
This was generating incorrect tab completions.
Change-Id: I6072de10358d024a3584ae2d7d2fff57149d645f
|
|
Change-Id: Ie4629a10a26c3c628a67fff1bd634f07a698a948
|
|
Change-Id: I09739d53d67d034e15d3ca40406df1255b51afef
|
|
Change-Id: I4343c98d34a70998f25852f05cf1d95458882541
|
|
- Make sure 'sluift' is available in core.lua
- Parse the options correctly
Change-Id: I6f830372412008aa61c9203dc4f2f1b2f63b001b
|
|
Change-Id: I1e02c4b96be4e8da711f4b3bed06b318061dd116
|
|
Change-Id: I59357bda2cbfcb044b5c27b41fe0c91c194e7381
|
|
- Add 'payloads' option to send_message and send_presence
- Add 'payloads' table to message event
Change-Id: I43079d519322abe8c4710ddaec5de22c48edd1ef
|
|
Change-Id: I25b3840bb40ce38531922cc737bc82828e026d3f
|
|
Change-Id: Idb7cd431f20ea69690a105240a5e2aeec1643cec
|
|
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
|
|
This avoids errors when disconnecting the client while there are still
elements waiting.
Change-Id: I005ec3f14c138b76f6381f1a89b3ee250a40777f
|
|
Change-Id: I96b35a905553f5b25272179eaaf6c1b12ba2cd41
|
|
Use regular table values on the sluift table.
Enable enabling tracing on a client after the fact.
Change-Id: Iaa2bea61bdadf0b8dec4951654c402b7133c1151
|
|
Change-Id: I3755e796fbddc038022bbf543c7b1c0529a9b0f9
|
|
Change-Id: Ife0a7748c2b354017bec5cfdddb0d096950dd15b
|
|
Change-Id: I2a755500f0fe88bbea5594ce858bc92dccc34805
|
|
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
|
|
- 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
|
|
- Rename boot.lua to core.lua
- Support Lua 5.2
- Support version prefixes for sluift module
- Add Client:process_events
Change-Id: I3fa6d06d1dbdf86f65b9f4203bd2ec5b5526b104
|
|
Change-Id: Ie981168debc68756c7c7dfd89f24acfc7d69a995
|
|
- Support recursive tables
- Print functions
Change-Id: Ic226243bdacc9da90b8b1e55c78311247e663af3
|