Commit Graph

53 Commits

Author SHA1 Message Date
Brian Hackett
df64d8862a Bug 1021790 - "Cleanup naming for scalar and typed array types", r=sfink 2014-06-06 09:36:00 -07:00
Nicholas Nethercote
fc00ac2ea6 Bug 952650 (part 13) - Remove JSVAL_IS_PRIMITIVE. r=till.
--HG--
extra : rebase_source : 450ba0261ef5a8546c81f9f645605e312585d6c6
2014-04-27 20:27:54 -07:00
Nicholas Nethercote
1a17f84079 Bug 952650 (part 12) - Remove JSVAL_TO_OBJECT. r=till.
--HG--
extra : rebase_source : 60dcaa2b778d3cf6eb7dc1a4949aab010ed8c130
2014-04-27 19:58:52 -07:00
Rodrigo Rodriguez Jr.
d59c29e17f Bug 952650 (part 6) - Remove JSVAL_IS_STRING. r=njn.
--HG--
extra : rebase_source : ebd55749447f9feea04a78ff7cc17ba2dd2c5cd0
2014-04-27 19:41:01 -07:00
Jon Coppeard
80edfe1cd6 Bug 959787 - Handlify remaining JS APIs r=sfink r=bholley r=smaug 2014-04-02 15:28:03 +01:00
Birunthan Mohanathas
c46a46e0fa Bug 845478 - Part 7: Use JS::CallArgs instead of JS_ARGV, argc in ipc/{ril,nfc}/. r=vicamo 2014-03-24 08:50:10 -04:00
Vicamo Yang
af1963d849 Bug 960894 - 1/4: allow representing multiple clients in one RIL worker. r=bz 2014-02-17 19:35:01 +08:00
Thomas Zimmermann
6133765188 Bug 972265: Use connect delay in RIL IPC code, r=vyang
When trying to re-connect a socket, the RIL IPC code now respects
the delay that is suggested by the UnixSocketConsumer.
2014-02-14 08:03:15 +01:00
Jon Coppeard
0eac977006 Bug 959787 - Handlify arguments for Call APIs r=terrence r=bz 2014-02-13 15:33:04 +00:00
Jon Coppeard
2cf0941496 Bug 965830 - Convert use of JS_CallFunction and related APIs uses to HandleValueArray r=terrence r=smaug 2014-02-11 10:59:16 +00:00
Birunthan Mohanathas
89f96b243e Bug 828300 - Replace NS_ARRAY_LENGTH with mozilla::ArrayLength/MOZ_ARRAY_LENGTH. r=ehsan 2014-01-30 13:26:54 -05:00
Terrence Cole
f62e0d6505 Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 6; r=jonco 2014-01-17 10:10:17 -08:00
Thomas Zimmermann
0f20e3f7df Bug 958444: Fix address setup in RIL connector, r=vicamo
The use of htons on the network address truncates its value. Using
htonl instead fixes this problem. The change also makes Ril.cpp
build without warnings.
2014-01-10 12:40:57 +01:00
Ehsan Akhgari
2292de0034 Bug 951207 - Rename the chromium LOG macro to CHROMIUM_LOG; r=bent 2013-12-17 13:26:45 -05:00
Kyle Huey
dfac756f2a Bug 932154: Define postRILMessage with the right argument count. r=vicamo 2013-11-05 22:16:39 +08:00
Vicamo Yang
17e058673d Bug 920551 - 2.h/2: fix dom/system/gonk/*. r=hsinyi,khuey 2013-10-29 16:12:45 +08:00
Chuck Lee
b001ef58c6 Bug 928223 - 0001. Add function to perform setup for listen socket. r=qDot echou vicamo yoshi 2013-10-25 10:00:22 +08:00
Vicamo Yang
23ddf2938b Bug 919982: B2G RIL - read Gonk property "ro.moz.ril.numclients" instead. r=hsinyi 2013-09-30 17:24:54 +08:00
Bobby Holley
99246966e4 Bug 899245 - Rename JS_GetGlobalForScopeChain to JS::CurrentGlobalOrNull. r=luke
This was done with perl/grep.
2013-07-29 16:45:27 -07:00
Justin Lebar
09d2312322 Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
cab87a0cce Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else

This is a mechanical change made with sed.  Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Bobby Holley
a747313c85 Bug 871299 - Remove JS_GetGlobalObject from SystemWorkerManager and RIL. r=mrbkap 2013-05-14 10:16:51 -07:00
Kyle Machulis
33468072db Bug 843868: Change sockaddr* to be a union of all possible sockaddr types; r=tzimmermann
--HG--
extra : rebase_source : 455aeb8c49bec2477a5ffea839a0ac3fe09434f7
2013-03-19 10:23:47 -07:00
Jose Cortes
219e54a946 Bug 842186 - Replace jsvals with JS::Values in .cpp and .h files inside the ipc, security, tools, caps, xpfe and startupcache directories. r=jwalden
--HG--
extra : rebase_source : 17f26bc48a8ce01b7349adc178a4e62f7d4b3a5e
2013-03-15 22:22:01 -07:00
Phil Ringnalda
eabae506e4 Back out b21345c5027c (bug 843868) for build bustage
CLOSED TREE
2013-03-15 21:35:25 -07:00
Kyle Machulis
b0d7eb4341 Bug 843868 - Change sockaddr* to be a union of all possible sockaddr types; r=tzimmermann
--HG--
extra : rebase_source : 9b980684b37e2e3345414af494ddb22e6c710e52
2013-03-15 21:10:40 -07:00
Vicamo Yang
3466647544 Bug 814579: connect client socket by id. r=qDot 2013-02-04 21:26:43 +08:00
Vicamo Yang
51a511f9e8 Bug 826931 (follow-up): fix build break. r=me
1. include netdb.h for |gethostbyname|.
2. link mozipcunixsocket_s whenever MOZ_B2G_RIL is enabled.
2013-02-04 18:56:12 +08:00
Daniel Holbert
eda9093722 back out 9a7369b9bc9d (bug 814579) for B2G Arm opt Mn & X orange 2013-02-02 00:01:25 -08:00
Vicamo Yang
39f4987f66 Bug 814579: connect client socket by id. r=qDot 2013-02-02 13:06:27 +08:00
Vicamo Yang
41b0dba505 Bug 826931 - Part 3/3: use mozilla::ipc::UnixSocket. r=qDot 2013-02-01 20:28:22 +08:00
Thomas Zimmermann
e28e2a4d68 Bug 817730: Abort connect if rilproxy is not ready [r=kyle]
When rilproxy is not ready for accepting connections, b2g might block
forever on connect. By setting the socket to non-blocking mode, connect
will fail and the task will return into the queue for later retry.

We see this problem on the PandaBoard, where no RIL is available and
rilproxy gets blocked by continuously failing to connect to rild. A
second fix should also go into rilproxy.

--HG--
extra : rebase_source : 25617875c9cb12e1259c0f1439aaf5d7c778619c
2012-12-11 14:56:36 +01:00
Kyle Machulis
c518fc5c20 Bug 793831: Add socket validity checks to RIL IPC; r=cjones 2012-09-30 22:03:43 -07:00
Chris Jones
014d556657 Back out bug 793831 for breaking telephony (c88496e8454f)
--HG--
extra : rebase_source : b559bff5e0857b2c8129a9c9c2669d8be9ce1925
2012-09-25 21:07:39 -07:00
Kyle Machulis
8ceb251ab2 Bug 793831: Add socket validity checks to RIL IPC; r=cjones
--HG--
extra : rebase_source : b14efdcb4c6deb89ba1af9a06ece84888fdb009a
2012-09-25 11:46:54 -07:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Cervantes Yu
bcb461bbc5 Bug 756036 - Fix race condition between rilworker and IO thread. r=kmachulis 2012-05-19 11:29:45 -04:00
David Rajchenbach-Teller
fa9913646b Bug 728171 - Use Scoped.h throughout the code. r=cjones 2012-04-12 12:21:24 +02:00
Richard Newman
76d7d982d4 Backout 0e03eb171e08 (Bug 743574 - Deprecate DOMException.code). a=bustage 2012-04-11 15:33:37 -07:00
Richard Newman
b9c23542e6 Backout 4058f038e97f (bug 728171). a=bustage 2012-04-11 15:33:36 -07:00
Ryan VanderMeulen
3b405f594b Fix stupid un-bitrotting bustage from bug 728171. 2012-04-11 18:10:10 -04:00
David Rajchenbach-Teller
cb1d34d766 Bug 728171 - Use Scoped.h throughout the code. r=cjones 2012-04-11 18:59:10 +02:00
Vivien Nicolas
45c723eb71 Bug 742805 - Do not dump ril socket failures on a desktop build with --enable-b2g-ril. r=philikon 2012-04-11 10:05:35 -07:00
Cervantes Yu
fe9ca8de18 Bug 739121: Nonblocking IO handling error in RIL.cpp, r=qdot 2012-04-06 19:58:31 -07:00
Ms2ger
9168447887 Backout bug 742805, 742778, 742775, 740974, 742765, 742761, 742092, 722197 for leaks. 2012-04-06 13:10:30 +02:00
Vivien Nicolas
fba91a724d Bug 742805 - Do not dump ril socket failures on a desktop build with --enable-b2g-ril. r=philikon 2012-04-06 03:12:18 -07:00
Chris Jones
ada5ce0dbc Bug 739452, part 2: Ensure we don't process stale 'reconnect' tasks after shutting down. r=kmachulis 2012-04-01 01:57:21 -07:00
Fabrice Desré
91792d9cd3 Bug 731656 - build broken since bug 728912 landed [r=philikon] 2012-02-29 10:44:05 -08:00
Kyle Machulis
4311ba524b Bug 728912: Use RilRawData.MAX_DATA_SIZE instead of hardcoded constants r=philikon 2012-02-28 09:58:04 -08:00