Thomas Zimmermann
e641d4540e
Bug 912996: Remove memcpy when reading from Unix socket, r=qdot
...
We used to allocate memory on the stack when reading from a file
descriptor and copied the result into an instance of UnixSocketRawData.
This patch
- cleans up the interface of UnixSocketRawData,
- removes the large stack allocation (64KiB), and
- removes the unnecessary memcpy.
Other memcpys for sending data have been moved into the constructor
of UnixSocketRawData.
--HG--
extra : rebase_source : 46ed1c73481732c3f3350bf0bedb56d376c24e98
2013-09-06 10:18:35 +02:00
Ms2ger
1a5ae526d9
Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar
2013-08-14 08:56:21 +02:00
Marco Chen
0ff2dec9e6
Bug 895822 - To initilize AudioManager service in SystemWorkerManager for monitoring the headset change and setting configuration of audio backend. r=dhylands
2013-08-13 15:12:53 +08:00
Nicholas Nethercote
9624be5713
Bug 901750 - Change return type of |JSNative| from |JSBool| to |bool|. code=nnethercote,jandem. r=luke,bz.
...
--HG--
extra : rebase_source : 5b3d7cc339af6d93bde078322e25c6e740d1b617
2013-08-02 00:41:57 -07:00
Bobby Holley
98a0425f0f
Bug 899245 - Rename JS_GetGlobalForScopeChain to JS::CurrentGlobalOrNull. r=luke
...
This was done with perl/grep.
2013-07-29 16:45:27 -07:00
Vicamo Yang
c383847d41
Bug 879671 - 1/2: pass multiple initial options to ril_worker. r=yoshi
2013-06-07 15:32:20 +08:00
Bobby Holley
f2943090bd
Bug 868130 - Remove the lion's share of JSAutoRequests in gecko. r=gabor
...
There are still a handful that either are used with other runtimes, or that
happen very early/late in cx the lifetime of various things where it doesn't
necessarily make sense to have a cx on the stack. This should definitely ensure
that we're not doing double-duty with the nsCxPusher change, though.
2013-05-22 10:05:28 -06:00
Bobby Holley
cdde50556c
Bug 868130 - Include nsCxPusher.h everywhere we need it, and stop including it from nsContentUtils.h. r=gabor
2013-05-22 10:05:26 -06:00
Bobby Holley
e9040a5a5c
Bug 871299 - Remove JS_GetGlobalObject from SystemWorkerManager and RIL. r=mrbkap
2013-05-14 10:16:51 -07:00
Sankha Narayan Guria
754efdf384
Bug 867414 - Rename SafeAutoJSContext to AutoSafeJSContext. r=bholley
2013-05-06 09:04:17 -04:00
Bobby Holley
7e45dcce35
Bug 865729 - Remove nsIJSContextStack from dom/foo. r=gabor
2013-04-29 11:16:18 -07:00
Trevor Saunders
9d995f7517
bug 859646 - fix b2g code that checks what infallible TArray::EnsureLengthAtleast() returns r=jlebar
2013-04-08 23:35:56 -04:00
Jose Cortes
0281a0b5d4
Bug 842186 - Replace use of jsval with JS::Value in h and cpp files in the dom/system/ and dom/file/ directories. r=jwalden
...
--HG--
extra : rebase_source : 02747f384514c16bdfba7319e569b6554d7b28bd
2013-04-02 16:14:00 -07:00
Bobby Holley
03f7f4b219
Bug 834732 - Get rid of footgun bool param for nsCxPusher and use an explicit enum. r=mrbkap
...
The goal here is to get rid of this crap entirely, and make nsCxPusher always
push. But that's a scary change, so we do it in chunks. This patch, in particular,
should have zero behavioral change. This means preserving some very wrong behavior.
For instance, currently SafeAutoJSContext never pushes a damn thing, because the
safe JSContext doesn't have an associated nsIScriptContext. We preserve this
behavior, and in fact convert various similarly-buggy consumers to
SafeAutoJSContext, so that we can hoist the behavioral change into a subsequent
patch.
2013-02-26 11:04:09 -08:00
Chuck Lee
124f4fc7d7
Bug 835719 - 0002. Encode command string into UTF-8 byte array. r=terrence
2013-02-21 17:48:15 +08:00
Kyle Machulis
2fc57b1b3a
Bug 840294: Check RIL validity before writing to socket; r=tzimmerman
...
--HG--
extra : rebase_source : 3fd48cad8cd3b06994972f420752c5676b2e68dc
2013-02-21 15:21:34 -08:00
Vicamo Yang
726c0d58ed
Bug 814579: connect client socket by id. r=qDot
2013-02-04 21:26:43 +08:00
Daniel Holbert
669a7077c9
back out 9a7369b9bc9d (bug 814579) for B2G Arm opt Mn & X orange
2013-02-02 00:01:25 -08:00
Vicamo Yang
0b69ea42e6
Bug 814579: connect client socket by id. r=qDot
2013-02-02 13:06:27 +08:00
Vicamo Yang
95c0116f41
Bug 826931 - Part 3/3: use mozilla::ipc::UnixSocket. r=qDot
2013-02-01 20:28:22 +08:00
Vicamo Yang
acbe61e08a
Bug 826977 - Part 2/4: SystemWorkerManager & RadionInterfaceLayer changes. r=qDot
2013-01-24 14:42:07 +08:00
Steve Fink
5299472bdb
Bug 827225 - Rename JS_GetTypedArrayType to JS_GetArrayBufferViewType, add TYPE_DATAVIEW. r=bz, sr=dmandelin
...
--HG--
extra : rebase_source : c5947273c5d517338ea1f468358511aa979b4959
2013-01-07 15:12:00 -08:00
Mats Palmgren
51d407db90
Bug 820230 - Add missing #include to fix compile error. r=me
2012-12-12 00:15:07 +01:00
Bobby Holley
7c36e30523
Bug 800915 - Remove the cx parameter and simplify various APIs. r=sfink,bz
...
If callers want to throw, it's now their responsibility.
2012-11-14 09:56:26 -08:00
Steven Lee
6a541743ec
Bug 792290 - Rename TimeSetting.cpp/TimeSetting.h to TimeZoneSettingObserver.cpp/TimeZoneSettingObserver.h. r=jlebar
...
--HG--
rename : dom/system/gonk/TimeSetting.cpp => dom/system/gonk/TimeZoneSettingObserver.cpp
rename : dom/system/gonk/TimeSetting.h => dom/system/gonk/TimeZoneSettingObserver.h
2012-10-30 11:34:50 -04:00
Steven Lee
9860793521
Bug 792290 - Change TimeSetting to TimeZoneSettingObserver. r=jlebar
2012-10-30 11:34:49 -04:00
Gene Lian
a2383f287a
Bug 783021 - System time: listen to timezone settings changes and update system timezone (part 2). r=khuey, sr=cjones
2012-09-04 15:56:30 +08:00
Michael Vines
737c8725b8
Bug 786468 - Support alternate nsIRadioInterfaceLayer implementations. r=philikon,mrbkap
2012-08-31 10:59:27 -07:00
Gregor Wagner
d9251c042c
Bug 787069 - B2G desktop build broken. r=bent
2012-08-30 11:46:04 -03:00
Vincent Chang
5556c6f2eb
Bug 735547 - Support Wifi/USB Tethering, Part 1: netd IPC. r=bent
2012-08-30 04:35:53 +08:00
Luke Wagner
ad90af9ca5
Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley)
...
--HG--
extra : rebase_source : 12acf2288285f5caefd7fecea8207de3a47eab5b
2012-08-21 18:42:53 -07:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Gervase Markham
1c9fc1e594
Bug 774614 - Relicense Gonk/Gecko interface code to Apache License 2.0.
2012-07-20 10:10:44 +01:00
Kyle Machulis
f8c0d08e82
Bug 740744: Asynchronous dbus events for bluetooth, Start/StopDiscovery and device event firing; r=bent sr=mrbkap
2012-07-17 20:41:54 -07:00
Kyle Machulis
9df5dec558
Bug 744349 - Create message distribution mechanism for DBus Bluetooth Signals; r=cjones
2012-06-02 11:23:16 -07:00
Dave Hylands
5a360b7870
Bug 737153 - Enable mounting storage through USB from a host machine - Hook up VolumeManager and AutoMounter, sr=cjones r=qDot
2012-05-24 21:04:32 -07:00
Kyle Machulis
6f1c8ccf33
Bug 756389 - B2G Bluetooth: unexpected crash in DBusThread::StopEventLoop; r=cjones
2012-05-23 18:21:42 -07:00
Kyle Machulis
c360d390b8
Backing out Bug 742044 - contained extra patches for another bug
2012-05-23 18:18:24 -07:00
Kyle Machulis
435352baa4
Bug 742044 - Create BluetoothManager object for managing multiple adapters and firmware loading; r=bent
2012-05-23 18:06:36 -07:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Chris Jones
2a2ee823f2
Bug 745145, part 0b: Ensure that the gonk system workers are never started in content processes. (The real patch.) r=philikon
2012-05-05 20:22:53 -07:00
Kyle Machulis
c2c0486a66
Bug 753085: Desktop m-c does not compile with enable-b2g-ril on and enable-b2g-bt off; r=mwu
2012-05-08 13:47:19 -07:00
Ryan VanderMeulen
9a0075da5b
Re-land the patch for bug 732639 after a b2g clobber.
2012-05-07 17:50:25 -04:00
Ryan VanderMeulen
835d66af27
Backout 7a8607523522 (bug 732639) due to bustage. r=Boot2Fail
2012-05-07 17:21:01 -04:00
Kyle Machulis
eda1d7b45b
Bug 732639: Create event loop thread for bluetooth dbus on gonk/linux; r=cjones
2012-05-07 14:04:59 -07:00
Ms2ger
a147767a14
Bug 741245 - Remove nsresult return value from nsXPConnect::GetSafeJSContext(); r=bholley
2012-05-05 11:00:05 +02:00
Tom Schuster
886fac49f9
Bug 711843 - Update JSAPI for typed arrays, remove uses of jstypedarray.h outside the engine [r=Waldo,bz,Ms2ger,bholley,bjacob,philikon,evilpie,bent,yourmama] [a=mfinkle thanks to gkw]
2012-01-14 09:43:00 -08:00
Ms2ger
77ca860259
Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes.
2012-04-14 17:52:34 +02:00
Ms2ger
5a2d0a8476
Bug 741245 - Remove nsresult return value from nsXPConnect::GetSafeJSContext(); r=bholley
2012-04-14 15:05:01 +02:00
Ms2ger
673d991d89
Backed out changeset db5d4c1aece7 for B2g bustage.
2012-04-14 09:29:41 +02:00