- Jan 26, 2017
-
-
Ramin Yaghoubzadeh Torky authored
Initial basic version for a 'multitool' console test battery. For now, it implements a simple sniffer (with output similar to ipaaca-iu-sniffer). Planned: switching mode (sniffer, injector, modifier ...) per command-line or interactively with keys; also implement other language versions. Caveat for sniffer function: resend_requests trigger ADDED event twice (once for the sniffer "" scope, once for the hidden one).
-
Ramin Yaghoubzadeh Torky authored
(since RSB-Python only supports the unsigned version)
-
- Dec 24, 2016
-
-
Ramin Yaghoubzadeh authored
Recent addition of IntegerConverter in rsb0.14 seems flaky (it seems Python will always send 64bit, and no conversion can be made), -> now using 64bit types for transport everywhere revision numbers are exchanged as an RPC result, i.e. all RemoteIU modifications and ResendRequests (Also disabled our own legacy IntConverters). Note: the ipaaca.proto Protobuf definition has not been changed, for compatibility reasons. Java version contains explicit (int) casts when protobuf objects are built. (TODO Discuss proto->64bit) Tests between all three languages work (Netboot, rsb0.14, protobuf2.6.1, spread4.4), tested with WOz+Cere+Billie.
-
- Dec 07, 2016
-
-
Ramin Yaghoubzadeh Torky authored
Read access in locked payloads is performed on queued operations before searching the old database. Threads other than the locking thread consistently read the old information. On POSIX, default Lock now also uses boost::thread (instead of pthread) pthread linkage is still present for legacy wrapping. ATTENTION: unlocked payload writing is (by design) not thread-safe (won't crash but data might be inconsistent). Please use Locker armors around all code that might modify a payload in more than one thread. ---> #1: Always use Locker in IU handlers that write to existing IUs!!
-
- Dec 06, 2016
-
-
Ramin Yaghoubzadeh Torky authored
For string values, ONLY the empty string "" maps to false (previously, "false", "False", and "0" also mapped to false) For list and map values, zero-element ones now map to false (previously, any list or map would map to true). The new semantics are identical to Python behavior for your convenience, since they were not generically prescribed by the STL anyway.
-
- Dec 04, 2016
-
-
Ramin Yaghoubzadeh Torky authored
-
- Dec 02, 2016
-
-
Ramin Yaghoubzadeh Torky authored
-
- Sep 29, 2016
-
-
Ramin Yaghoubzadeh Torky authored
Also re-renamed the other two back to --rsb-host and --rsb-port ;)
-
- Aug 04, 2016
-
-
Ramin Yaghoubzadeh Torky authored
!!! Please update the rsb package accordingly. !!! End users need not change very much. (Please update rsc/rsb version numbers in CMakeLists.txt in your own C++ projects). - Some (internal) changes for rsb0.14 compatibility
-
- Jan 07, 2016
-
-
Ramin Yaghoubzadeh Torky authored
-
Ramin Yaghoubzadeh Torky authored
-
- Dec 10, 2015
-
-
Ramin Yaghoubzadeh Torky authored
Disabled removal of retracted IUs from InputBuffer to match the Python version - since it is an item of discussion that will be resolved in the next version anyway.
-
- Dec 04, 2015
-
-
Ramin Yaghoubzadeh Torky authored
-
Ramin Yaghoubzadeh Torky authored
- OutputBuffer retracts all remaining live IUs on destruction - sends correct event type now - fixed reference error for calling handlers - setters properly check for retracted flag - also added some missing checks for committed flag
-
Ramin Yaghoubzadeh Torky authored
-
- Dec 03, 2015
-
-
Ramin Yaghoubzadeh Torky authored
- OutputBuffer retracts all remaining live IUs on destruction - sends correct event type now - fixed reference error for calling handlers - setters properly check for retracted flag - also added some missing checks for committed flag
-
Ramin Yaghoubzadeh Torky authored
-
Ramin Yaghoubzadeh Torky authored
-
- Nov 16, 2015
-
-
Ramin Yaghoubzadeh Torky authored
Also removed stray cout lines
-
- Jun 17, 2015
-
-
Ramin Yaghoubzadeh Torky authored
-
- Apr 08, 2015
-
-
Ramin Yaghoubzadeh Torky authored
Use with Locker, possible in a dedicated stack frame, like this: // ... code ... { // open stack frame Locker locker(iu->payload()); iu->payload()["a"] = "string"; iu->payload()["b"] = "simultaneouslySentString"; } // close stack frame, sending the update
-
- Mar 28, 2015
-
-
Ramin Yaghoubzadeh Torky authored
-
Ramin Yaghoubzadeh Torky authored
-
Ramin Yaghoubzadeh Torky authored
Also renamed some functions (preserving old names as deprecated aliases)
-
- Mar 27, 2015
-
-
Ramin Yaghoubzadeh Torky authored
Also changed constructors of PayloadEntryProxy to protected.
-
- Mar 03, 2015
-
-
Ramin Yaghoubzadeh Torky authored
-
- Feb 27, 2015
-
-
Ramin Yaghoubzadeh Torky authored
Address mode must be selected explicitly using as_map/as_list, like so: for (auto value: iu->payload()["listItem"].as_list()) { .... } for (auto kv_pair: iu->payload()["mapItem"].as_map()) { .... } Generic size() function (reports 0 for non-structured types)
-
- Feb 26, 2015
-
-
Ramin Yaghoubzadeh Torky authored
PayloadTypeConversionError thrown if (trimmed) string parse is incomplete; comparison operators == and != catch this error though.
-
Ramin Yaghoubzadeh Torky authored
-
- Feb 25, 2015
-
-
Ramin Yaghoubzadeh Torky authored
-
Ramin Yaghoubzadeh Torky authored
-
Ramin Yaghoubzadeh Torky authored
-
- Feb 24, 2015
-
-
Ramin Yaghoubzadeh Torky authored
Setting default channel name and default payload type works OK
-
- Feb 23, 2015
-
-
Ramin Yaghoubzadeh Torky authored
Sniffer: only display quotes for string-type payload values Injector: using unicode() and catching errors
-
Ramin Yaghoubzadeh Torky authored
-
Ramin Yaghoubzadeh Torky authored
-
- Feb 21, 2015
-
-
Ramin Yaghoubzadeh Torky authored
-
Ramin Yaghoubzadeh Torky authored
-
- Feb 20, 2015
-
-
Ramin Yaghoubzadeh Torky authored
TODO: compatibility with STR legacy payloads; more varied access to inner payload objects (e.g. push_back)
-
Ramin Yaghoubzadeh Torky authored
-