Commit Graph

26 Commits

Author SHA1 Message Date
Thomas Zimmermann
aec4ceeb9f Bug 1166638: Use |ListenSocketConsumer| in |ListenSocket|, r=kmachulis, dlee, chucklee, shuang
This patch converts |ListenSocket| to forward events to an instance
of |ListenSocketConsumer|. All users are converted and the related
listener and consumer classes are removed.
2015-05-26 13:24:20 +02:00
Thomas Zimmermann
39ee0a87c1 Bug 1166638: Use |StreamSocketConsumer| in |StreamSocket|, r=kmachulis, dlee, chucklee, htsai
This patch converts |StreamSocket| to forward events and data to an
instance of |StreamSocketConsumer|. All users are converted and the
related listener and consumer classes are removed.
2015-05-26 13:24:20 +02:00
Thomas Zimmermann
523f0a6208 Bug 1164417: Add |ConnectionOrientedSocket::PrepareAccept| for accepting socket connections, r=kmachulis
With this patch, stream and listening sockets handle the setup of
accepted sockets internally. Sub-classes of |StreamSocket| don't
have to overload StreamSocket's |GetIO| any longer.
2015-05-21 13:34:37 +02:00
Thomas Zimmermann
def674747e Bug 1161020: Implement new socket-connector interface for key store, r=chucklee
This patch moves |KeyStoreConnector| into its own file and implements
the new socket-connector interface.
2015-05-19 13:28:46 +02:00
Carsten "Tomcat" Book
35ddcbe0b8 Backed out 8 changesets (bug 1161020) for b2g ics emulator debug mochitest memory leaks on a CLOSED TREE
Backed out changeset 976e19eac8b5 (bug 1161020)
Backed out changeset 4f782be31f87 (bug 1161020)
Backed out changeset 384de663084c (bug 1161020)
Backed out changeset a8f42d85ce3f (bug 1161020)
Backed out changeset ac23206e80bd (bug 1161020)
Backed out changeset 34a20b05af6c (bug 1161020)
Backed out changeset 13753f9043f7 (bug 1161020)
Backed out changeset f90b8d3d6b70 (bug 1161020)
2015-05-18 15:01:27 +02:00
Thomas Zimmermann
c68ef7f5ea Bug 1161020: Implement new socket-connector interface for key store, r=chucklee
This patch moves |KeyStoreConnector| into its own file and implements
the new socket-connector interface.
2015-05-18 11:28:30 +02:00
Thomas Zimmermann
70c0070f14 Bug 1156352: Remove |UnixSocketRawData| from socket I/O interfaces, r=kmachulis 2015-04-23 13:48:48 +02:00
Thomas Zimmermann
608e0609eb Bug 1156352: Remove |UnixSocketRawData| from key store interfaces, r=chucklee 2015-04-23 13:48:47 +02:00
Mike Hommey
44945d9d4c Bug 1138293 - Use malloc/free/realloc/calloc instead of moz_malloc/moz_free/moz_realloc/moz_calloc. r=njn
The distinction between moz_malloc/moz_free and malloc/free is not
interesting. We are inconsistent in our use of one or the other, and
I wouldn't be surprised if we are mixing them anyways.
2015-03-31 12:32:49 +09:00
Chuck Lee
8551a90f1a Bug 1140261 - Fix compiler error comparison of unsigned expression >= 0 is always true. r=hchang 2015-03-09 16:09:10 +08:00
Chuck Lee
aee5d45104 Bug 1012549 - 0004. Support read private key in keystore. r=dkeeler r=qdot 2015-02-28 21:54:24 +08:00
Botond Ballo
77cdacf7e8 Bug 1073081 - Fix warnings about macro redefinitions by renaming macros. r=ehsan 2014-12-10 18:20:10 -05:00
Botond Ballo
1500be66e4 Bug 1073081 - Fix -Wunused-result, -Wunused-variable, and -Wunused-but-set-variable warnings. r=ehsan 2014-11-26 18:13:49 -05:00
Thomas Zimmermann
8790966bb3 Bug 1094177: Convert |KeyStore| to use |{Listen|Stream}Socket|, r=chucklee
With the use of separate listen and stream sockets in |KeyStore|, the
listen socket remains open while |KeyStore| serves a connected client
on the stream socket. When the client disconnected, |KeyStore| continues
to listen for the next connection request.

The old dependency on |UnixSocketConsumer| has been removed.
2014-12-03 07:26:29 -08:00
Thomas Zimmermann
13008efe6e Bug 1094177: Fix VIM modelines in implementation of key store, r=chucklee
This patch modifies the VIM modelines in |KeyStore.{cpp,h}| to match
Mozilla's coding style.
2014-12-03 07:26:29 -08:00
Kai-Zhen Li
34da360abe Bug 1102324 - Update date ipc/keystore/KeyStore.cpp for api level 21. r=chulee 2014-11-21 01:12:06 +08:00
Thomas Zimmermann
80c80926df Bug 1059813: Use getter/setter methods of |UnixSocketRawData| in |KeyStore|, r=chulee,qdot 2014-09-08 11:44:01 +02:00
Kyle Huey
fbc9937dbd Bug 1050509: Shut down the KeyStore socket during system shutdown to avoid leaks. r=tdz 2014-08-08 11:11:36 -07:00
Chuck Lee
95a1a62797 Bug 1020212 - Support keystore binder. r=qdot 2014-07-03 15:08:01 +08:00
Jonathan Watt
5abba18c17 Bug 1022667, part 5 - Remove an unused function from KeyStore.cpp. r=chulee 2014-06-10 16:42:23 +01:00
Chuck Lee
a9c7c8a1e4 Bug 928227 - Add access control for keystore. r=kmachulis 2014-05-15 12:12:40 +08:00
Ehsan Akhgari
b900d74d59 Bug 951207 - Rename the chromium LOG macro to CHROMIUM_LOG; r=bent 2013-12-17 13:26:45 -05:00
Chuck Lee
65669af4ee Bug 930398 - Use ScopedCERTCertificate instead. r=keeler 2013-11-12 10:07:21 +08:00
Chuck Lee
c1082a53fa Bug 928223 - 0002. Change keystore socket permission after created. r=qDot 2013-10-25 10:00:24 +08:00
Birunthan Mohanathas
b73a375748 Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan 2013-10-23 16:36:09 -04:00
Chuck Lee
6d0a2a3fae Bug 789217 - 0002. Implement keystore. r=qdot 2013-10-01 12:09:56 +08:00