Commit Graph

63 Commits

Author SHA1 Message Date
Terrence Cole
f62e0d6505 Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 6; r=jonco 2014-01-17 10:10:17 -08:00
Tom Schuster
5e3191afd2 Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence 2014-01-09 18:39:36 +01:00
Ehsan Akhgari
eaa7491d77 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Henry Chang
c06d15e7b4 Bug 935363 - Add and make use of NetworkService xpcom. r=vyang, r=vchang 2013-11-15 17:35:33 +08:00
Garner Lee
b248cf115d Bug 933635 - Part 3: NFC IPC Sources. r=yoshi 2013-11-01 17:45:46 +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
Nathan Froyd
8b099b3a6d Bug 928916 - use services::GetObserverService more in dom/; r=smaug 2013-10-21 08:58:12 -04:00
Chuck Lee
6c0c6aea78 Bug 789217 - 0003. Bring up keystore. r=khuey 2013-10-01 12:09:57 +08:00
Thomas Zimmermann
64da51905b 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
6ec28362b3 Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar 2013-08-14 08:56:21 +02:00
Marco Chen
55c3f4d7f5 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
c1d8302699 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
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
Vicamo Yang
65afe3b213 Bug 879671 - 1/2: pass multiple initial options to ril_worker. r=yoshi 2013-06-07 15:32:20 +08:00
Bobby Holley
1b2f22fe61 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
ba05c93769 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
a747313c85 Bug 871299 - Remove JS_GetGlobalObject from SystemWorkerManager and RIL. r=mrbkap 2013-05-14 10:16:51 -07:00
Sankha Narayan Guria
6349c5c599 Bug 867414 - Rename SafeAutoJSContext to AutoSafeJSContext. r=bholley 2013-05-06 09:04:17 -04:00
Bobby Holley
402c35b1ff Bug 865729 - Remove nsIJSContextStack from dom/foo. r=gabor 2013-04-29 11:16:18 -07:00
Trevor Saunders
c318b7cf14 bug 859646 - fix b2g code that checks what infallible TArray::EnsureLengthAtleast() returns r=jlebar 2013-04-08 23:35:56 -04:00
Jose Cortes
23d45dfaab 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
e04f8d807d 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
6689627f11 Bug 835719 - 0002. Encode command string into UTF-8 byte array. r=terrence 2013-02-21 17:48:15 +08:00
Kyle Machulis
688f857918 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
3466647544 Bug 814579: connect client socket by id. r=qDot 2013-02-04 21:26:43 +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
Vicamo Yang
2b7d006978 Bug 826977 - Part 2/4: SystemWorkerManager & RadionInterfaceLayer changes. r=qDot 2013-01-24 14:42:07 +08:00
Steve Fink
9ea2fb22e5 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
558a55f649 Bug 820230 - Add missing #include to fix compile error. r=me 2012-12-12 00:15:07 +01:00
Bobby Holley
a75f5ca4d9 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
d8a0e2b6d6 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
20f7fcd3d1 Bug 792290 - Change TimeSetting to TimeZoneSettingObserver. r=jlebar 2012-10-30 11:34:49 -04:00
Gene Lian
c2411ba98b 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
1f2b2fd4ef Bug 786468 - Support alternate nsIRadioInterfaceLayer implementations. r=philikon,mrbkap 2012-08-31 10:59:27 -07:00
Gregor Wagner
790cd35b36 Bug 787069 - B2G desktop build broken. r=bent 2012-08-30 11:46:04 -03:00
Vincent Chang
a897bbaeb8 Bug 735547 - Support Wifi/USB Tethering, Part 1: netd IPC. r=bent 2012-08-30 04:35:53 +08:00
Luke Wagner
ce71e55555 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
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Gervase Markham
69110ab2b1 Bug 774614 - Relicense Gonk/Gecko interface code to Apache License 2.0. 2012-07-20 10:10:44 +01:00
Kyle Machulis
5abbd0bc68 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
e43e1e8665 Bug 744349 - Create message distribution mechanism for DBus Bluetooth Signals; r=cjones 2012-06-02 11:23:16 -07:00
Dave Hylands
5dd15716d8 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
5ea07200ba Bug 756389 - B2G Bluetooth: unexpected crash in DBusThread::StopEventLoop; r=cjones 2012-05-23 18:21:42 -07:00
Kyle Machulis
1f76f17d72 Backing out Bug 742044 - contained extra patches for another bug 2012-05-23 18:18:24 -07:00
Kyle Machulis
a3821f7a1b Bug 742044 - Create BluetoothManager object for managing multiple adapters and firmware loading; r=bent 2012-05-23 18:06:36 -07:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Chris Jones
f42499d38d 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
62f7fdaa73 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