Граф коммитов

333 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky 97b0a16147 Bug 1282150 part 4. Have just one way of getting the rooting JSContext, and call it nsContentUtils::RootingCx(). r=bholley 2016-07-07 20:08:26 -04:00
Jonathan Watt b15368cfcb Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
Gijs Kruitbosch 29525495be Bug 1272414 - rip out qemu/browser/b2g flags from marionette manifests, r=AutomatedTester
MozReview-Commit-ID: 9RjGgykh0pR

--HG--
extra : rebase_source : a5bc5e888cc24e05fb4b5843c3738aa5456aea80
2016-05-19 17:23:26 +01:00
Chris Peterson 8a9e2d2bd4 Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium 2016-05-14 00:54:55 -07:00
Ehsan Akhgari 38d1ffea4e Bug 1043562 - Hide the Contacts API from the contexts that lack sufficient privileges, such as Firefox desktop and Android; r=smaug 2016-03-13 15:17:54 -04:00
Boris Zbarsky f17bf212bc Bug 1255818. Switch from JS_ClearPendingException to AutoJSAPI::ClearException for cases when we have an AutoJSAPI around. r=bholley 2016-03-11 16:43:31 -05:00
Boris Zbarsky 2ce6bc7ebf Bug 1255172. Fix unsafe reference gc hazards people snuck into DOM code. r=bkelly 2016-03-10 18:07:28 -05:00
Boris Zbarsky c1e007e11b Bug 1255181. Remove AutoJSAPI::InitWithLegacyErrorReporting. r=bholley 2016-03-09 19:02:25 -05:00
Kyle Huey 91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Bill McCloskey c663839ade Bug 1240871 - Don't allow implicit "async" in IPDL (r=mccr8,billm) 2016-01-28 20:56:37 -08:00
Bevis Tseng 6e206dd83d Bug 1218721 - Part 2 - Improve Test Coverage. r=echen 2015-10-30 20:24:02 +08:00
Bevis Tseng 384a0baa63 Bug 1218721 - Part 1 - Always Insert Name/Number when Providing IccContact Response. r=echen 2015-10-30 20:22:07 +08:00
John Dai 1e3a9518ff Bug 1213785 - Fixed test_icc_contact_add.js and test_icc_contact_update.js testcases timeout. r=echen
--HG--
extra : rebase_source : a68f96868b4166fba9d3a32ee5c6435193cadf57
2015-10-30 04:22:00 +08:00
Nathan Froyd 01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Jessica Jong 7c87382af8 Bug 1213766 - modify tests to match emulator's new mcc/mnc. r=echen 2015-10-12 02:16:00 +02:00
Chris Peterson 71920a9550 Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
john1984 1348a3cf3f Bug 1122376 - Support write SIM contact dialling number exceed 20 digits. r=echen 2015-09-20 19:57:00 +02:00
John Dai c288c4bd19 Bug 1122376 - Support read SIM contact dialling number exceed 20 digits. r=echen 2015-09-20 19:48:00 +02:00
Shu-yu Guo 64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Nicholas Nethercote f44287005f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Bevis Tseng 57b6768602 Bug 1195273 - Suppress assertion check in ~ErrorResult() if no exception to be thrown. r=echen 2015-08-19 18:24:58 +08:00
Samael Wang 349090e33d Bug 1187832 - Update ril_worker and corresponding test cases. r=btseng
--HG--
extra : histedit_source : 69b6c55310e85033040550cdc5145a0721d8f27d
2015-08-04 13:58:42 +08:00
Bevis Tseng 54ebb598c5 Bug 1189884 - Read/Update ANR of SIM Contact Properly. r=echen 2015-08-03 20:24:40 +08:00
Bevis Tseng ddd1dd8283 Bug 1114937 - Part 6: Deprecate RILContentHelper. r=echen 2015-06-16 18:56:38 +08:00
Bevis Tseng fdf011b4c8 Bug 1114937 - Part 5: Fix Test Case to Remove Contact with Correct Contact Id. r=echen 2015-06-16 18:11:25 +08:00
Bevis Tseng cb9feae08b Bug 1114937 - Part 4: IPDL Implementation. r=echen 2015-06-16 17:41:47 +08:00
Bevis Tseng 81ee8d77fa Bug 1114937 - Part 3: Web API change to adopt IccService for IccContacts. r=echen, r=hsinyi 2015-06-16 17:38:27 +08:00
Bevis Tseng 03b459d802 Bug 1114937 - Part 2: IDL implementation in Gonk. r=echen 2015-06-16 17:35:42 +08:00
Bevis Tseng c65efc9f00 Bug 1114937 - Part 1: Define new IDL for IccContacts. r=echen 2015-06-16 17:29:50 +08:00
Birunthan Mohanathas a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Juan Gomez 258ad59e3f Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Ryan VanderMeulen 5f5c327690 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez 702a59d135 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Bevis Tseng 89637fe552 Bug 1172873 - Suppress the notification of STK proactive command if there is no Icc detected. r=echen 2015-06-10 11:58:01 +08:00
Bevis Tseng ffcb73e3b3 Bug 1159134 - Part 2: Add Test Cases for STK related Requests. r=echen 2015-05-05 19:10:58 +08:00
John Dai ac69620eeb Bug 1161438 - Part 2 - marionette testcase. r=echen 2015-05-31 22:39:00 +02:00
Bevis Tseng 4d90e84dab Bug 1114938 - Part 3.3: (IPC) IPDL Implementation. r=echen 2015-04-30 15:04:09 +08:00
Bevis Tseng 684e9cd23c Bug 1114938 - Part 3.2: (IPC) Add Helper to deflate/inflate XPCOM object to/from JSON for IPC. r=echen 2015-05-15 17:17:37 +08:00
Bevis Tseng d8b32c5864 Bug 1114938 - Part 3.1: (IPC) IPDL Declaration. r=echen 2015-05-15 17:14:29 +08:00
Bevis Tseng 38074f8cdc Bug 1114938 - Part 2.2: (Gonk) Refactor Stk Request APIs from IccProvider to IccService. r=echen 2015-04-29 10:42:35 +08:00
Bevis Tseng 791acb3ff2 Bug 1114938 - Part 2.1: (Gonk) Refactor Stk Proactive Commands from IccProvider to IccService. r=echen 2015-04-27 16:01:56 +08:00
Bevis Tseng 79eaad7f3e Bug 1114938 - Part 1: Refactor StkProactiveCmdFactory.jsm into a XPCOM Service. r=echen
--HG--
rename : dom/icc/gonk/StkProactiveCmdFactory.jsm => dom/icc/gonk/StkCmdFactory.js
2015-04-15 18:33:26 +08:00
Bevis Tseng 364c86e99a Bug 1162464 - Part 2: Implementation Changes. r=echen 2015-05-08 11:23:09 +08:00
Bevis Tseng c647ff437f Bug 1162464 - Part 1: IDL Changes. r=echen 2015-05-08 10:57:16 +08:00
John Dai 4095d8b27a Bug 1159622 - Split test_icc_contact.js into read contact and add contact. r=echen 2015-05-12 00:53:00 +08:00
Andrew McCreight 9e8f4b219e Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Bevis Tseng 411426aa0f Bug 1155142 - Part 1: Move All IccInfo-related Implementation to IccService to deprecate rilContext. r=echen 2015-04-17 19:03:46 +08:00
Ethan Wu 67852ea4de Bug 1157018 - NsckPuk and PckPuk lock types that should require PUK instead require PIN. r=echen 2015-04-22 17:24:11 +08:00
John Dai ae24a15b48 Bug 949849 - B2G RIL: Update the marionette test script for icc.updateContact. r=echen 2015-04-13 18:27:00 -04:00
Bevis Tseng 20a12fcc38 Bug 1114935 - Part 8: Mark TODO items for deprecating RILContentHelper. r=echen
--HG--
extra : histedit_source : e0798b1d557e71945b2190ac1f6ff4c46a199313
2015-02-13 15:05:37 +08:00