Cable-Desktop/js
lilia 1023ea1732 Refactor textsecure.protos -> textsecure.protobuf
DRY up protobuf declarations and move to a slightly briefer naming
convention.

Also dropped some ArrayBuffer -> string conversions as
ProtoBuf.js handles ArrayBuffers just fine, and in fact, more
efficiently than strings.

Finally, dropped the btoa() wrappers, because that incurs an extra
string -> string conversion before the protobuf's internal string ->
array buffer conversion. In lieu of btoa, we can simply pass in the
optional string encoding argument to the protobuf's decode method,
which in these cases should be 'binary'.

Related: #17
2014-10-20 15:11:16 -07:00
..
models Fixes #61 - Order by timestamps with tests 2014-10-20 02:07:46 -07:00
views Use textsecure.messaging to create groups 2014-10-16 14:15:13 -07:00
api.js Standardize some whitespace 2014-10-20 15:09:36 -07:00
background.js moved some chromium-specific code into chromium.js (using extension.navigator namespace) 2014-06-01 21:33:58 +02:00
chromium.js moved some chromium-specific code into chromium.js (using extension.navigator namespace) 2014-06-01 21:33:58 +02:00
crypto.js Refactor textsecure.protos -> textsecure.protobuf 2014-10-20 15:11:16 -07:00
fake_api.js Add closeSession tests as Alice and fix re-requesting prekeys 2014-07-24 20:15:27 -04:00
helpers.js Refactor textsecure.protos -> textsecure.protobuf 2014-10-20 15:11:16 -07:00
libphonenumber-util.js Move phonenumbery utils to libphonenumber object 2014-10-13 22:49:39 -07:00
options.js Refactor options page and style using bootstrap 2014-10-14 13:59:43 -07:00
popup.js Update records list in BBLocalStorage on fetch 2014-10-09 20:08:28 -07:00
protobufs.js Refactor textsecure.protos -> textsecure.protobuf 2014-10-20 15:11:16 -07:00
sendmessage.js Refactor textsecure.protos -> textsecure.protobuf 2014-10-20 15:11:16 -07:00
test.js Refactor textsecure.protos -> textsecure.protobuf 2014-10-20 15:11:16 -07:00
testvectors.js Refactor a bunch of stuff re: session closing, add test cases 2014-07-25 19:55:49 -04:00
webcrypto.js Add human readable version of errors 2014-05-28 03:45:40 +02:00