Brian R. Bondy
f0bbd6b4f3
Bug 922756 - Build config for Chromium sandbox. r=bsmedberg
...
--HG--
rename : security/sandbox/LICENSE => security/sandbox/linux/LICENSE
rename : security/sandbox/Makefile.in => security/sandbox/linux/Makefile.in
rename : security/sandbox/Sandbox.cpp => security/sandbox/linux/Sandbox.cpp
rename : security/sandbox/Sandbox.h => security/sandbox/linux/Sandbox.h
rename : security/sandbox/android_arm_ucontext.h => security/sandbox/linux/android_arm_ucontext.h
rename : security/sandbox/android_i386_ucontext.h => security/sandbox/linux/android_i386_ucontext.h
rename : security/sandbox/android_ucontext.h => security/sandbox/linux/android_ucontext.h
rename : security/sandbox/arm_linux_syscalls.h => security/sandbox/linux/arm_linux_syscalls.h
rename : security/sandbox/linux_seccomp.h => security/sandbox/linux/linux_seccomp.h
rename : security/sandbox/linux_syscalls.h => security/sandbox/linux/linux_syscalls.h
rename : security/sandbox/moz.build => security/sandbox/linux/moz.build
rename : security/sandbox/seccomp_filter.h => security/sandbox/linux/seccomp_filter.h
rename : security/sandbox/x86_32_linux_syscalls.h => security/sandbox/linux/x86_32_linux_syscalls.h
rename : security/sandbox/x86_64_linux_syscalls.h => security/sandbox/linux/x86_64_linux_syscalls.h
2013-10-28 14:54:36 -07:00
Birunthan Mohanathas
7a599eb1ae
Bug 784739 - Switch from NULL to nullptr in dom/ (1/2); r=ehsan
2013-10-28 10:04:12 -04:00
Phil Ringnalda
a1f80ad10b
Back out f872d288480b:9b86b4e60b29 (bug 929513) for failing to build on Windows
...
CLOSED TREE
2013-10-27 15:38:40 -07:00
David Zbarsky
2efa410faa
Bug 929513 Part 10: Convert ScreenSizeChanged to use gfx::IntSize r=nical
2013-10-27 17:53:28 -04:00
David Zbarsky
4a5ee5167b
Bug 929513 Part 8: Remove IPDL support for passing gfxSize r=nical
2013-10-27 17:53:28 -04:00
Olli Pettay
acca6b81bb
Bug 929879, don't use locale specific %f in TabChild, r=romaxa
2013-10-27 23:29:19 +02:00
Alfredo Yang
29bc534203
Bug 853356 - Part 3: Pass a string array instead of a single string to support multiple permissions request. r=khuey
2013-10-26 21:20:09 -04:00
Shih-Chiang Chien
aa4a1a0c66
Bug 926289 - Part 1, Add recording type and request URL in recording-device-events. r=khuey.
2013-10-25 20:04:50 -04:00
Cervantes Yu
a52fbf4399
Bug 878366: don't send send out messages of PContendPermissionRequest if the managing TabParent is being destroyed. r=bent
2013-10-17 06:25:50 +08:00
Mike Hommey
1d566f7586
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Terrence Cole
40bc663533
Bug 929800 - Handlify the structured clone interface; r=sfink,smaug
...
--HG--
extra : rebase_source : 4f21dd799ad27dc665997d4912996a500ae8a2f2
2013-10-22 17:18:32 -07:00
Olli Pettay
75b26dc9a5
Bug 917026, remove few bogus NS_NOTREACHEDs from TabChild and make window.blur() not throw, r=felipe
...
--HG--
extra : rebase_source : feee4546e52bf2b92f92c63d31538aadef7ad877
2013-10-24 23:57:19 +03:00
Nicholas Nethercote
4a605a305c
Bug 930851 (part 1) - Make child process naming consistent in both memory reporting paths. r=khuey.
...
--HG--
extra : rebase_source : 6c212dd1ddc701af8297a6de373c8650b18a1b56
2013-10-24 20:47:48 -07:00
Boris Zbarsky
ad9d365422
Bug 932421. Stop including windows.h (via Hal.h) in Screen.h, so we don't screw up our bindings code. r=smaug
...
Also stops Hal.h bootlegging Observer.h.
2013-10-31 22:07:10 -04:00
Bobby Holley
7bba051425
Bug 937317 - Make TabChildGlobal implement nsIGlobalObject. r=bz
2013-12-06 12:01:41 -08:00
Brian O'Keefe
4c98f61956
Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal
2013-10-02 13:17:55 -04:00
Mike Hommey
61124c1afc
Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps
2013-10-24 08:05:43 +09:00
Mike Hommey
e2ae65f67a
Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal
2013-10-24 08:00:23 +09:00
Masayuki Nakano
9c2a3607d0
Bug 602787 part.5 Use EventForwards.h in TabParent.h r=smaug
2013-10-22 22:27:35 +09:00
Kyle Huey
ed10f7b8b4
Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug
2013-10-23 07:32:04 +08:00
Wes Kocher
6559234e89
Backed out 9 changesets (bug 602787) on suspicion of breaking mochitest-metro on a CLOSED TREE
...
Backed out changeset 1730bcae2c45 (bug 602787)
Backed out changeset 70606b9b1e42 (bug 602787)
Backed out changeset 57ca2861ea30 (bug 602787)
Backed out changeset 3b9f1062d915 (bug 602787)
Backed out changeset 3ee56eacc84b (bug 602787)
Backed out changeset 1c35693be3d3 (bug 602787)
Backed out changeset ef095c3aef98 (bug 602787)
Backed out changeset 4827bdae97fd (bug 602787)
Backed out changeset fa0f355e7871 (bug 602787)
2013-10-22 13:11:53 -04:00
Masayuki Nakano
0c81660b16
Bug 602787 part.5 Use EventForwards.h in TabParent.h r=smaug
2013-10-22 22:27:35 +09:00
Nathan Froyd
963afd7689
Bug 928916 - use services::GetObserverService more in dom/; r=smaug
2013-10-21 08:58:12 -04:00
Vivien Nicolas
b539ae6635
Bug 928367 - Preload ErrorPage.js in dom/ipc/preload.js. r=fabrice
2013-10-19 12:30:32 +02:00
Ryan VanderMeulen
133467df0a
Merge inbound to m-c.
2013-10-18 15:08:39 -04:00
Masayuki Nakano
28fa6f3708
Bug 920425 part.15 Use mozilla::WidgetEvent::AsTouchEvent() r=smaug
2013-10-18 15:10:23 +09:00
Steve Fink
a3274806e4
Bug 925916 - Handlify WrapNative, r=smaug
2013-10-11 22:02:39 -07:00
Shih-Chiang Chien
7c93bf84e3
Bug 919149 - Maintain child process lifecycle for recording status. r=jesup, r=khuey, r=vingtetun
2013-09-30 20:09:55 +08:00
Masayuki Nakano
eef5eccfeb
Bug 920377 part.33 Get rid of mozilla::WheelEvent r=roc
2013-10-16 18:37:36 +09:00
Wes Kocher
4b31073516
Merge inbound to m-c
2013-10-15 20:15:17 -07:00
Olli Pettay
9bef96b103
Bug 918479 - Remove listeners from a message manager if the child side dies, r=fabrice
...
--HG--
extra : rebase_source : 1e3b0fb36c5e489225bca8ea42b5bf21eb7d7755
2013-10-16 00:15:30 +03:00
Jed Davis
5bb0d16d33
Bug 921817 - Enable sandbox in non-preallocated child processes. r=kang, r=bent
2013-10-15 10:02:26 -04:00
Ryan VanderMeulen
e9e247b525
Backed out 2 changesets (bug 915757, bug 919885) for frequent Android Armv6 mochitest-8 crashes.
...
Backed out changeset 04610078280c (bug 915757)
Backed out changeset db9190b3ce60 (bug 919885)
2013-10-14 14:38:54 -04:00
Kyle Huey
b98758cdbd
Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug
2013-10-14 19:58:25 +08:00
Phil Ringnalda
7f4c6bd321
Backed out 2 changesets (bug 915757, bug 919885) for xpcshell bustage
...
Backed out changeset 5d17d90b838d (bug 915757)
Backed out changeset 91495d3a91c8 (bug 919885)
2013-10-13 21:59:58 -07:00
Kyle Huey
d9a28b7f74
Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug
2013-10-14 11:10:44 +08:00
Ehsan Akhgari
d26e049233
Bug 924248 - Make nsIDocument.h go on a diet; r=jst
...
The nsMacShellService code is rewritten to stop using GetLoadContext
which will now only be available in libxul.
2013-10-07 22:21:07 -04:00
Fabrice Desré
94d42490f8
Bug 918658 - Don't pretend that mozIApplication inherits from mozIDOMApplication r=bent
2013-10-08 15:52:26 -07:00
Ms2ger
bc14e4aa9c
Merge m-c to inbound.
2013-10-03 11:09:17 +02:00
Ms2ger
7ffcd856c2
Bug 900980 - Part a: Move unconditional assignments to EXPORT_LIBRARY to moz.build; rs=gps
2013-10-03 09:11:13 +02:00
Ms2ger
105ce73cfa
Bug 922268 - Remove empty makefiles; r=gps
2013-10-03 09:10:00 +02:00
Masayuki Nakano
e46624e0ca
Bug 920377 part.32 Get rid of nsMouseEvent r=roc
2013-10-02 15:38:27 +09:00
Masayuki Nakano
5e5853070a
Bug 920377 part.31 Get rid of nsEvent r=roc
2013-10-02 12:46:04 +09:00
Masayuki Nakano
d9fe18d02f
Bug 920377 part.30 Get rid of nsGUIEvent r=roc
2013-10-02 12:46:03 +09:00
Ehsan Akhgari
26a6189385
Bug 923151 - Part 1: Don't #include nsIDocument.h in TabChild.h; r=jst
...
--HG--
extra : rebase_source : 1748c347eeed09a8216580a48dd786f0dbe92588
2013-10-02 16:08:30 -04:00
David Anderson
a10ba37203
Add RPC message support to messagemanager (bug 910493 part 2, r=smaug).
2013-10-01 09:15:06 -07:00
Ed Morley
55665af441
Merge mozilla-central and inbound
2013-10-01 12:01:45 +01:00
Ed Morley
f751b47fe1
Merge latest green b2g-inbound changeset and mozilla-central
2013-10-01 10:56:53 +01:00
Masayuki Nakano
c2ab14dbfd
Bug 920377 part.29 Get rid of nsMouseScrollEvent r=roc
2013-10-01 16:23:02 +09:00
Masayuki Nakano
512bc33b30
Bug 920377 part.26 Get rid of nsInputEvent r=roc
2013-10-01 16:23:02 +09:00
Masayuki Nakano
ebe48cadea
Bug 920377 part.24 Get rid of nsSelectionEvent r=roc
2013-10-01 16:23:01 +09:00
Masayuki Nakano
597d5ac7d2
Bug 920377 part.23 Get rid of nsQueryContentEvent r=roc
2013-10-01 16:23:00 +09:00
Masayuki Nakano
10d848c578
Bug 920377 part.22 Get rid of nsCompositionEvent r=roc
2013-10-01 16:23:00 +09:00
Masayuki Nakano
f3095ec496
Bug 920377 part.21 Get rid of nsTextEvent r=roc
2013-10-01 16:22:59 +09:00
Alan Huang
492ebafa8c
Bug 822325: Implement an LRU pool for background app processes. The LRU app will get the smallest oom_adj and get killed last. r=khuey
2013-10-01 11:54:59 +08:00
Ryan VanderMeulen
439f7d7d01
Merge m-c to b2g-inbound.
2013-09-30 16:30:26 -04:00
Gregor Wagner
f66690ab97
Bug 771765, tentative bustage fix no. 2 on CLOSED TREE. r=bent
2013-09-30 10:38:05 -07:00
Ben Turner
5977a25654
Bug 771765, tentative bustage fix on CLOSED TREE
2013-09-30 10:13:13 -07:00
Masayuki Nakano
1ccd49e4ab
Bug 920377 part.17 Get rid of nsKeyEvent r=roc
2013-10-01 16:22:58 +09:00
Mark Hammond
6337687f5c
Bug 920397 part 3 - Ensure PContentParent doesn't close process handles multiple times. r=bsmedberg
2013-10-01 10:56:16 +10:00
David Anderson
c8133fee65
Rename IPDL's RPC to Interrupt (bug 910020, r=bent).
...
--HG--
rename : ipc/ipdl/test/cxx/PTestRPCErrorCleanup.ipdl => ipc/ipdl/test/cxx/PTestInterruptErrorCleanup.ipdl
rename : ipc/ipdl/test/cxx/PTestRPCRaces.ipdl => ipc/ipdl/test/cxx/PTestInterruptRaces.ipdl
rename : ipc/ipdl/test/cxx/PTestRPCShutdownRace.ipdl => ipc/ipdl/test/cxx/PTestInterruptShutdownRace.ipdl
rename : ipc/ipdl/test/cxx/PTestRacyRPCReplies.ipdl => ipc/ipdl/test/cxx/PTestRacyInterruptReplies.ipdl
rename : ipc/ipdl/test/cxx/TestRPCErrorCleanup.cpp => ipc/ipdl/test/cxx/TestInterruptErrorCleanup.cpp
rename : ipc/ipdl/test/cxx/TestRPCErrorCleanup.h => ipc/ipdl/test/cxx/TestInterruptErrorCleanup.h
rename : ipc/ipdl/test/cxx/TestRPCRaces.cpp => ipc/ipdl/test/cxx/TestInterruptRaces.cpp
rename : ipc/ipdl/test/cxx/TestRPCRaces.h => ipc/ipdl/test/cxx/TestInterruptRaces.h
rename : ipc/ipdl/test/cxx/TestRPCShutdownRace.cpp => ipc/ipdl/test/cxx/TestInterruptShutdownRace.cpp
rename : ipc/ipdl/test/cxx/TestRPCShutdownRace.h => ipc/ipdl/test/cxx/TestInterruptShutdownRace.h
rename : ipc/ipdl/test/cxx/TestRacyRPCReplies.cpp => ipc/ipdl/test/cxx/TestRacyInterruptReplies.cpp
rename : ipc/ipdl/test/cxx/TestRacyRPCReplies.h => ipc/ipdl/test/cxx/TestRacyInterruptReplies.h
rename : ipc/ipdl/test/ipdl/error/rpcMessageCompress.ipdl => ipc/ipdl/test/ipdl/error/intrMessageCompress.ipdl
rename : ipc/ipdl/test/ipdl/error/tooWeakRPCAsync.ipdl => ipc/ipdl/test/ipdl/error/tooWeakInterruptAsync.ipdl
rename : ipc/ipdl/test/ipdl/ok/rpcProtocol.ipdl => ipc/ipdl/test/ipdl/ok/intrProtocol.ipdl
2013-09-30 17:27:45 -07:00
Gregory Szorc
cc1da2c22a
Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger
2013-09-30 09:52:01 +02:00
Cervantes Yu
eaf8730772
Bug 771765 - Support template content process, part 9: allocating a toplevel protocol should return itself. r=dzbarsky
...
Reverse the effect in bug 879475 part 14 since we need to keep track of open protocols in the Nuwa process.
2013-09-26 12:19:09 +08:00
Ed Morley
038cae0901
Backed out changeset 68b6b152f51a (bug 920223)
2013-09-30 12:50:09 +01:00
Ed Morley
b44203ca27
Backed out changeset 0904d8d19947 (bug 913985)
2013-09-30 11:05:35 +01:00
Ed Morley
1111eabd54
Backed out changeset 196a2b00d509 (bug 913985)
2013-09-30 11:05:32 +01:00
Gregory Szorc
483a776413
Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger
2013-09-30 09:52:01 +02:00
Chris Kitching
86cafa43ea
Bug 913985: Part 6 - Remove redundant AndroidBridge::Bridge() checks. r=kats
2013-09-30 09:07:39 +02:00
Chris Kitching
10a59f88e3
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-09-30 09:07:34 +02:00
David Anderson
f0500f6a4e
Combine AsyncChannel, SyncChannel, and RPCChannel into one class (bug 901789, r=cjones,bent).
...
--HG--
rename : ipc/glue/RPCChannel.cpp => ipc/glue/MessageChannel.cpp
rename : ipc/glue/RPCChannel.h => ipc/glue/MessageChannel.h
2013-09-27 18:42:08 -07:00
Ryan VanderMeulen
fb2d6dc1a4
Backed out 6 changesets (bug 913985) for suspicion of causing intermittent Android crashes on a CLOSED TREE.
...
Backed out changeset de21920d2b8e (bug 913985)
Backed out changeset f0f5497d65bb (bug 913985)
Backed out changeset 1e16ca4ad801 (bug 913985)
Backed out changeset 9c069a0820ea (bug 913985)
Backed out changeset 274df3abc991 (bug 913985)
Backed out changeset 05fe8b17516a (bug 913985)
--HG--
rename : build/annotationProcessors/AnnotationInfo.java => build/annotationProcessors/MethodWithAnnotationInfo.java
rename : build/annotationProcessors/utils/AlphabeticAnnotatableEntityComparator.java => build/annotationProcessors/utils/AlphabeticMethodComparator.java
rename : build/annotationProcessors/utils/GeneratableElementIterator.java => build/annotationProcessors/utils/GeneratableEntryPointIterator.java
rename : mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java => mobile/android/base/mozglue/GeneratableAndroidBridgeTarget.java
rename : mobile/android/base/mozglue/generatorannotations/OptionalGeneratedParameter.java => mobile/android/base/mozglue/OptionalGeneratedParameter.java
2013-09-27 17:02:09 -04:00
Nathan Froyd
b095d63d5d
Bug 914826 - part 4 - fix source files that were bootlegging XPCOM do_* functions via generated ipdl headers; r=ehsan
2013-09-10 16:56:05 -04:00
Chris Kitching
deac33421d
Bug 913985: Part 6 - Remove redundant AndroidBridge::Bridge() checks. r=kats; DONTBUILD
2013-09-27 10:10:47 -04:00
Chris Kitching
b3fd693d20
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-09-27 10:10:37 -04:00
Kartikaya Gupta
7f22c5c405
Back out d9bdfdfda06e to dd17e0758a00 (bug 913985) due to incorrect author on some of the patches. r=backout
...
--HG--
rename : build/annotationProcessors/AnnotationInfo.java => build/annotationProcessors/MethodWithAnnotationInfo.java
rename : build/annotationProcessors/utils/AlphabeticAnnotatableEntityComparator.java => build/annotationProcessors/utils/AlphabeticMethodComparator.java
rename : build/annotationProcessors/utils/GeneratableElementIterator.java => build/annotationProcessors/utils/GeneratableEntryPointIterator.java
rename : mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java => mobile/android/base/mozglue/GeneratableAndroidBridgeTarget.java
rename : mobile/android/base/mozglue/generatorannotations/OptionalGeneratedParameter.java => mobile/android/base/mozglue/OptionalGeneratedParameter.java
2013-09-27 10:25:23 -04:00
Chris Kitching
126d781bda
Bug 913985: Part 6 - Remove redundant AndroidBridge::Bridge() checks. r=kats
2013-09-27 10:10:47 -04:00
Chris Kitching
96d931b9eb
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-09-27 10:10:37 -04:00
Masayuki Nakano
99ed9cf061
Bug 920377 part.13 Get rid of nsTouchEvent r=roc
2013-09-27 15:20:57 +09:00
David Anderson
a588b6e3c0
Fix window.focus() in content processes (bug 902715, r=enndeakin).
2013-09-20 15:07:51 -07:00
Ryan VanderMeulen
4aa7a9776b
Merge the last PGO-green inbound changeset to m-c.
2013-09-25 14:51:55 -04:00
Kan-Ru Chen (陳侃如)
f78658be76
Bug 914541 - Assign higher priority for mozapptype=inputmethod. r=fabrice
2013-09-24 16:10:20 +08:00
Masayuki Nakano
d37d273b83
Bug 912956 part.15 mozilla/TextEvents.h should be included directly r=roc
2013-09-25 20:21:19 +09:00
Masayuki Nakano
f827f4667b
Bug 912956 part.14 mozilla/MouseEvents.h should be included directly r=roc
2013-09-25 20:21:18 +09:00
Masayuki Nakano
8d69a172c1
Bug 912956 part.13 mozilla/TouchEvents.h should be included directly r=roc
2013-09-25 20:21:16 +09:00
David Zbarsky
ff4ab2e771
Bug 879475: Allocing an actor for a bridged or opened protocol should return bool r=jlebar
...
Conflicts:
dom/ipc/ContentChild.cpp
dom/ipc/ContentChild.h
2013-09-23 17:54:25 -04:00
Ehsan Akhgari
671bbdc894
Bug 919505 - Minimize the #includes in dom/ipc; r=jst
2013-09-23 17:30:40 -04:00
Ehsan Akhgari
db700056d9
Bug 918926 - Minimize the crashreporter #includes; r=ted
2013-09-21 23:04:10 -04:00
Wes Kocher
6905761d71
Backed out changeset 76f9cced8105 (bug 902715) for build bustage on at least Windows on a CLOSED TREE
2013-09-20 16:07:13 -07:00
David Anderson
57094f203b
Fix window.focus() in content processes (bug 902715, r=enndeakin).
2013-09-20 15:07:51 -07:00
Kartikaya Gupta
79db05c4a9
Bug 909525 - Prevent the scroll offset being picked up from the wrong element in some cases. r=botond,tn
...
In some cases pages from the bfcache can get displayed to the screen without going through layout.
In these cases, the element associated with the ROOT_SCROLL_ID may be from a different document,
so it is inadvisable to use that element's scroll position as if it were the current document's
scroll position. Doing so can lead to incorrect behaviour. This patch fixes such a case.
2013-09-19 10:31:28 -04:00
JW Wang
88f1551294
Bug 894249 - Add ability to associate video with a channel so that it can interrupt the background content channel. r=mchen, r=kinetik, r=bent
2013-09-18 11:46:22 +08:00
Patrick Wang
f14ecaebb3
Bug 912861 - don't assert mActor when getting a remote blob in GetOrCreateActorForBlob(). r=khuey
2013-09-18 12:04:20 +08:00
Kartikaya Gupta
428dc56fa0
Bug 880024 - Extract some useful code for implementing GeckoContentController into a helper class. r=k17e
2013-09-18 09:56:16 -04:00
Mina Almasry
13448b790e
Bug 912166 - Make nsIWidget::GetDefaultScale return a typed scale value. r=roc
2013-09-17 20:45:19 -04:00
Tom Schuster
fd2209b6e6
Bug 914353 - Throw an error if call to GetRandomValues fails. r=khuey
2013-09-17 12:54:34 -04:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
e6a13008bc
Bug 771765 - Support template content process, part 5: PContent protocol changes. r=khuey, r=bent
...
Change the PContent protocol to support:
* Creating the template process.
* Forking new content processes from the template on the child side and cloning the actor on the parent side.
* Fallback to non-templated content process creation if no template-preallocated process is available.
2013-06-03 18:14:40 +08:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
3adf8353b4
Bug 771765 - Support template content process, part 4: Clone IPC protocol objects that will be up when the template process is ready. r=khuey, r=bent
2013-06-03 18:14:37 +08:00
Thinker Lee ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
8ec656a38c
Bug 771765 - Support template content process, part 3: IPC glue and IPDL codegen to support protocol cloning. r=bent
2013-05-31 21:16:57 +08:00
Ryan VanderMeulen
db5e1d87c2
Merge m-c to b2g-inbound.
2013-09-14 23:07:59 -04:00
Marco Chen
a2fb41909d
Bug 823273 - Part 2: Music volume should be faded when notification sound is on going - IPC changes. r=baku
2013-09-02 17:45:44 +08:00
Ed Morley
944e48441a
Merge latest green b2g-inbound changeset and mozilla-central
2013-09-13 15:06:40 +01:00
Steven Lee
a348fc51fa
Bug 904025 - part1: pass phone state to child process. r=khuey
2013-09-13 16:51:45 +08:00
Kartikaya Gupta
2e06c61e69
Bug 909887 - Initialize mLastMetrics.mDevPixelsPerCSSPixel to a sane value. r=botond
2013-09-13 00:05:34 -04:00
Marco Chen
f10f8408c6
Bug 855655 - [AudioChannelManager] Add New Attribute for Setting Default Control Volume Channel. r=baku
2013-09-12 20:26:03 +08:00
Ryan VanderMeulen
ce0f027f99
Merge b2g-inbound to m-c.
2013-09-11 20:58:14 -04:00
Botond Ballo
5fa50f4b24
Bug 912806 - Store both cumulative and non-cumulative resolutions in FrameMetrics and use whichever is appropriate. r=kats
2013-09-05 18:26:59 -04:00
Dale Harvey
eaea61482c
Bug 900638 - Specify input source when generating mouse events. r=kats
2013-09-11 14:28:58 +02:00
Nicholas Nethercote
9d1d4e73b0
Bug 910517 (3rd attempt) - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
...
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 2b2a1b2667d6562fcf803ec48b4a8c10fdd519a3
2013-08-27 16:24:51 -07:00
Jan Varga
c5d294a60c
Bug 785884 - Implement support for temporary storage (aka shared pool). r=ehsan, r=bent
...
--HG--
rename : caps/tests/mochitest/test_principal_extendedorigin_appid_appstatus.html => caps/tests/mochitest/test_principal_jarprefix_origin_appid_appstatus.html
rename : dom/quota/UsageRunnable.h => dom/quota/UsageInfo.h
2013-09-11 06:18:36 +02:00
Wes Johnston
d4c8fd574e
Bug 826325 - Handle preventDefault on mozbrowserwindowopen events r=bz
2013-09-09 21:18:46 -07:00
Ed Morley
5eb2bdb5c4
Backed out changeset 5c9f3fb14995 (bug 910517) for Android talos failures
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-09 16:07:48 +01:00
Nicholas Nethercote
85d3324d5e
Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
...
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 76bf96ce8d6e16c8573584d9e8e70c80371f66eb
2013-08-27 16:24:51 -07:00
Vicamo Yang
e9a47488e4
Bug 864485 - 2/3: DOM & IPC. r=khuey
2013-09-07 14:19:53 +08:00
Vicamo Yang
8fa6760d00
Bug 864485 - 1/3: B2G Telephony - move to IPDL. Interface changes. sr=sicking, r=hsinyi,khuey
2013-09-07 14:19:50 +08:00
Ryan VanderMeulen
b244547589
Merge inbound to m-c.
2013-09-06 20:55:41 -04:00
Ryan VanderMeulen
d32d9ebb4d
Backed out 7 changesets (bug 907585, bug 873351, bug 864485) for making phones unbootable.
...
Backed out changeset 001a849303de (bug 873351)
Backed out changeset 8020b3013618 (bug 907585)
Backed out changeset 9039460e09c5 (bug 907585)
Backed out changeset 9464e393a501 (bug 907585)
Backed out changeset d6920653de69 (bug 864485)
Backed out changeset 20ef446b27cd (bug 864485)
Backed out changeset e27c780e1ef5 (bug 864485)
2013-09-06 17:28:10 -04:00
Michael Harrison
e44a198aba
Bug 909768 - Replace idl::GeoPositionOptions with dom::PositionOptions. r=jdm
2013-09-06 16:44:26 -04:00
Vicamo Yang
349d13eac4
Bug 864485 - 2/3: DOM & IPC. r=khuey
2013-09-06 16:11:34 +08:00
Vicamo Yang
8a93de6b08
Bug 864485 - 1/3: B2G Telephony - move to IPDL. Interface changes. sr=sicking, r=hsinyi,khuey
2013-09-06 16:11:31 +08:00
Robert O'Callahan
33cdb42706
Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
...
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Phil Ringnalda
ad36ee41a9
Back out 4537337759b7 (bug 910517) because nobody expects the talos inquisition
...
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-04 22:42:06 -07:00
Nicholas Nethercote
43ad5b4dcf
Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
...
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 9142be547b2eeef37a8073a710ce23070f98cf65
2013-08-27 16:24:51 -07:00
Mike Hommey
f1cf3b4238
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Ed Morley
17f2f82cdb
Merge mozilla-central and inbound
2013-09-04 16:53:03 +01:00
Benoit Jacob
590564045c
Bug 912042 - Avoid including GLContext.h in headers that don't need it - r=jrmuizel
2013-09-04 08:14:52 -04:00
Ed Morley
d9c0161e85
Merge latest green fx-team changeset and mozilla-central
2013-09-04 12:51:52 +01:00
Phil Ringnalda
8b4379a664
Back out ed63ede44a82:db85ebf7b0dc (bug 864485) for debug build bustage
2013-09-03 22:33:35 -07:00
Vicamo Yang
d2b683037b
Bug 864485 - 2/3: DOM & IPC. r=khuey
2013-09-04 12:46:01 +08:00
Vicamo Yang
083582588b
Bug 864485 - 1/3: B2G Telephony - move to IPDL. Interface changes. sr=sicking, r=hsinyi,khuey
2013-09-04 12:45:58 +08:00
Pin Zhang
330eeb89be
Bug 870676: Part 2 - Implement IPDL for mozFMRadio. r=khuey
2013-09-03 15:28:06 -07:00
Felipe Gomes
5de1caaed5
Bug 899348 - Dispatch an event when an out-of-process browser crashes and display an error page when that occurs. r=bz
2013-09-03 19:11:22 -03:00
Ryan VanderMeulen
a1cfae0032
Merge m-c to b2g-inbound.
2013-09-03 17:44:34 -04:00
Ryan VanderMeulen
b68957b6c2
Backed out changeset 669d3fd3ea2b (bug 906877) for Mnw failures.
2013-09-03 17:22:14 -04:00
Kartikaya Gupta
b77f1bc2b4
Bug 910322 - Strongly type the viewport size in nsViewportInfo. r=mbrubeck, Ms2ger
2013-09-03 15:12:24 -04:00
Kartikaya Gupta
3368290646
Bug 910322 - Strongly type the zoom factors in nsViewportInfo. r=mbrubeck, Ms2ger
2013-09-03 15:12:23 -04:00
Kartikaya Gupta
0cfd020f95
Bug 906877 - Remove code obsoleted by multi-apzc. r=BenWa, vingtetun
...
Now that we have multi-APZC landed, we don't need BrowserElementPanning
to detect when it's about to scroll a subframe and let APZC know. So
the two messages involved in this can be completely removed.
2013-09-03 13:04:21 -04:00
Nicholas Nethercote
191ed08f6a
Bug 911020 - Introduce js/TypeDecls.h, which holds very commonly used type declarations from the JS engine. r=luke.
...
--HG--
extra : rebase_source : 008ef689989f93b46627b8be8608bdbc544ca3a2
2013-08-27 19:59:14 -07:00
Nicholas Cameron
bbf05ea482
Bug 910158. Don't include BasicLayers.h unnecessarily. r=roc
2013-09-02 10:20:45 +12:00
Kartikaya Gupta
d4af1fff0e
Bug 907754 - Ensure that the zoom on the FrameMetrics is initialized correctly for all frames. r=tn
...
RecordFrameMetrics gets called on a variety of layers. Previously it would
incorrectly set mZoom for a number of these layers. For scrollable container
layers inside the main document, it would set the mResolution from the
presShell's resolution, thus compounding the painted resolution.
Furthermore, for iframes inside the document, it would assign mZoom the
value from TabChild's mLastMetrics, which is only meant to apply to the
top-level document. Prior to multi-apzc work these values were never used
so it didn't matter but now they are so they should be assigned correctly.
2013-08-30 13:11:01 -04:00
Ben Turner
97d038b4d6
Bug 908432 - 'Crash when reading multiple slices of a cross-process file-backed blob'. r=khuey.
2013-08-29 10:16:44 -07:00
Ed Morley
6bab7a8a02
Backed out changeset 5a71d3bf48ce (bug 870676)
2013-08-29 10:42:42 +01:00
Ryan VanderMeulen
89bb1cc5bf
Merge inbound to m-c.
2013-08-29 00:00:10 -04:00
Pin Zhang
f98d27a7f5
Bug 870676: Part 2 - Implement IPDL for mozFMRadio. r=khuey CLOSED TREE
2013-08-28 10:25:09 -07:00
Kyle Huey
68c202cebc
Back out my failed attempt to land bug 870676.
2013-08-28 10:23:32 -07:00
Kyle Huey
aad44ef563
No bug: Make some whitespace changes on a CLOSED TREE. r=me
2013-08-28 10:20:51 -07:00
Kyle Huey
989f8abbe5
Bug 870676: Part 2 - Implement IPDL for mozFMRadio. r=khuey
2013-08-28 10:17:37 -07:00
Kyle Huey
462f24c69f
Back out my failed attempt to land bug 870676.
2013-08-28 10:10:39 -07:00
Kyle Huey
5bd8287b7f
Bug 870676: Part 2 - Implement IPDL for mozFMRadio. r=khuey
2013-08-28 09:45:50 -07:00
Brian O'Keefe
4f68eb9b02
Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal
2013-08-15 09:02:09 -04:00
Ryan VanderMeulen
623404f3a4
Merge m-c to inbound.
2013-09-12 22:30:22 -04:00
Tom Schuster
d9fcb90f3c
backout changeset 966df39694c2 for crashing xpcshell on a CLOSED TREE.
2013-09-12 17:20:09 -04:00
Tom Schuster
234dadd0b5
Bug 915822 - Make GetTabChildFrom a class method on TabChild. r=smaug
2013-09-12 15:24:11 -04:00
Tom Schuster
a46934c7a4
Bug 910436 - Electrolysis: Pass PBrowser to the PExternalHelperAppParent so that we can get a window for the download box. r=jdm
2013-09-12 15:24:10 -04:00
Nicholas Nethercote
d1c56a1dcf
Bug 831193 (part 4) - Don't use NS_MEMORY_REPORTER_IMPLEMENT in SharedMemory.cpp. r=cjones.
...
--HG--
extra : rebase_source : 0781ae1c947ba8312bdc7b71d969c3a56b7a7ae4
2013-01-15 21:29:48 -08:00
Tom Schuster
09eb0161e6
Bug 905441 - Load style sheets from the parent into the child. r=bz
2013-08-27 13:10:39 -04:00
David Anderson
130cd7e1ac
Don't deadlock on a child process for a CPOW (bug 905896, r=cjones).
2013-08-26 21:56:57 -07:00
Ryan VanderMeulen
9fa9f53229
Merge inbound to m-c.
2013-08-26 20:19:26 -04:00
Kartikaya Gupta
c9052e6e85
Bug 885023 - Convert mFrameMetrics.mZoom to a CSSToScreenScale. r=BenWa,k17e
...
The mFrameMetrics.mZoom was previously a "resolution-independent" zoom,
which meant it had to always be multiplied by the CalculateIntrinsicScale()
value to be useful. This patch converts it to a "resolution-dependent" zoom,
and includes the intrinsic scale multiplier already. This means it needs
to be updated if either the viewport or composition bounds (which determine
the intrinsic scale) change, but there are only a few places where this
happens and it makes the rest of the code cleaner.
2013-08-26 09:50:30 -04:00
Boris Zbarsky
f9dfbe132d
Bug 908576 part 7. Move the various DOMProxyHandler classes into the binding implementation files. r=smaug
2013-08-23 22:42:42 -04:00
Tom Schuster
66a23a207f
Bug 908213 - Fix CPOWs test failure and make it more robust. r=dvander
2013-08-23 19:04:20 -04:00
Ryan VanderMeulen
49dd0e9154
Merge b2g-inbound to m-c.
2013-08-23 10:50:14 -04:00
Nicholas Nethercote
9ce6c39a8f
Bug 905017 (part 2, attempt 2) - Move structured clone stuff from jsapi.{h,cpp} and jsclone.{h,cpp} to js/StructuredClone.{h,cpp}. r=billm.
...
--HG--
rename : js/src/jsclone.cpp => js/src/vm/StructuredClone.cpp
extra : rebase_source : 2699588c63ef58ab84bc8c63adc0487648af3834
2013-08-19 23:43:47 -07:00
Ryan VanderMeulen
82dd79420d
Merge m-c to b2g-inbound.
2013-08-22 20:47:37 -04:00
Dave Hylands
0ffd2e95b8
Bug 878310 - Improve DeviceStorage volume status reporting. r=qDot
...
This changeset causes tranistory states when changing from mounted to shared,
and back to mounted to be reported as shared instead of unavailable.
We also don't send the same status twice in a row.
2013-08-22 16:12:25 -07:00
Tom Schuster
e1036a2912
Bug 658087 - Remove printfs in TabChild. r=smaug
2013-08-22 15:52:07 -04:00
Ms2ger
8bfa279bb1
Merge m-c to inbound
2013-08-22 10:38:48 +02:00
Ms2ger
87ae95251c
Merge PGO-green changeset from inbound to m-c.
2013-08-22 10:31:44 +02:00
Ms2ger
f79ae70d10
Backout changesets 7e6fb33fdf22:c85332df4320 (bug 905017) for windows bustage.
2013-08-22 10:16:30 +02:00
Ms2ger
ced3dd8b1c
Bug 883284 - Part c: Move LIBXUL_LIBRARY into moz.build (d-e); r=mshal
2013-08-22 08:56:00 +02:00
Ms2ger
4d968c40e1
Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps
2013-08-22 08:55:59 +02:00
Nicholas Nethercote
4caa0f8ea2
Bug 905017 (part 2) - Move structured clone stuff from jsapi.{h,cpp} and jsclone.{h,cpp} to js/StructuredClone.{h,cpp}. r=billm.
...
--HG--
rename : js/src/jsclone.cpp => js/src/vm/StructuredClone.cpp
extra : rebase_source : ecce9699ddb45535aa94d5e3add901f5a8620c46
2013-08-19 23:43:47 -07:00
Tom Schuster
d76af2da01
Bug 902013 - Only enable CPOWs on desktop with browser.tabs.remote. r=dvander
2013-08-21 13:24:53 -04:00
Nicholas Nethercote
42ccf38dcd
Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
...
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Nicholas Cameron
b85b496768
Bug 903816. Fixups in non-layers files. r=roc
2013-08-12 11:15:10 +12:00
Tom Schuster
ec7d79fa9b
Bug 900707 - Ifdef some child permission checks that right now only work with B2G. r=sicking,felipe
2013-08-22 15:52:07 -04:00
Tom Schuster
7597ab8bb3
Bug 900707 - Add a configure step that only enables child permission checks for B2G. r=glandium
2013-08-22 15:52:07 -04:00
Ben Turner
4d3f2e3a55
Bug 887029 - 'DeviceStorage: addNamed() crashes when invoked from an inline activity'. r=khuey.
2013-08-04 10:51:18 -07:00
Nathan Froyd
33d9477636
Bug 908526 - remove Element.h include from PContent.ipdl; r=bz
2013-08-22 21:21:00 -04:00
David Zbarsky
04ff4c97fa
Bug 903819 - Don't include Layers.h everywhere, part 4 r=nrc
2013-08-20 15:45:30 -04:00
Nicholas Cameron
4e3c5a82da
Bug 903893. Backend fallback for OMTC. r=mattwoodrow
2013-08-18 18:46:16 +12:00
Jeff Muizelaar
925e64dd68
Bug 898525. Separate out Gfx helpers into GfxMessageUtils.h. r=bent
...
This helps us include less.
--HG--
extra : rebase_source : bb9ca934a9dade9ef21cecfee7ae8e860f9c60c1
2013-07-26 15:28:31 -04:00
Ryan VanderMeulen
976b11c6aa
Merge m-c to inbound.
2013-08-16 21:58:51 -04:00
Mark Hammond
a0f86d8967
Bug 890840 - calling KillHard() multiple times may crash parent process. r=jlebar
2013-08-17 10:44:17 +10:00
Mark Hammond
331f00138b
Bug 904323 - use NS_DebugBreak() on Windows instead of sleeping to debug child processes. r=bent
2013-08-17 09:38:17 +10:00
Botond Ballo
27043f6de7
Bug 895905 - Eliminate some of the special handling of ROOT_SCROLL_ID. r=kats, r=tn
2013-08-08 15:56:08 -04:00
Botond Ballo
d9ebfce749
Bug 895905 - B2G mechanism for content to inform APZC about scroll events. Handles multi-APZC. r=kats
2013-08-08 15:56:08 -04:00
Carsten "Tomcat" Book
9fb14e0482
merge b2g-inbound to mozilla-central
2013-08-16 10:32:10 +02:00
Reuben Morais
1515223a79
Bug 904863 - Remove unnecessary remote call in Notification::GetPermissionInternal. r=sicking
...
--HG--
extra : rebase_source : c77b4cf992d71b5f886cf78604588033beae8320
2013-08-15 17:15:07 -03:00
Guillaume Destuynder
100ce2c5f3
Bug 790923: Adds seccomp-bfp sandboxing support for B2G. r=khuey, r=gerv, r=agal, r=dhylands, r=keeler, r=imelven, a=kang.
2013-08-12 12:58:35 -07:00
Ryan VanderMeulen
8b8be2a46a
Merge m-c to inbound.
2013-08-14 17:11:30 -04:00
Kartikaya Gupta
0a9b377781
Bug 890280 - Ensure that the APZCTreeManager gets input events in screen coordinates. r=smaug
2013-08-14 10:15:27 -04:00
Ryan VanderMeulen
25348fabd9
Merge m-c to b2g-inbound.
2013-08-13 15:38:58 -04:00
Ms2ger
f9ca076cae
Backout changeset 9a57f0f347e3 for insufficient review.
2013-08-13 13:30:00 +02:00
Carsten "Tomcat" Book
da3e6af5c1
merge mozilla-central to b2g-inbound
2013-08-13 13:57:37 +02:00
Nicholas Nethercote
f24d8e59d4
Bug 903949 (part 2) - Don't trigger about:memory re-generation when a child process closes. r=jlebar.
...
--HG--
extra : rebase_source : ee532ba1176906a69cf68774d755856581e44dd9
2013-08-12 18:15:04 -07:00
Nicholas Nethercote
463242dc37
Bug 903949 (part 1) - ChildMemoryReporter should return mProcess in GetProcess() rather than an empty string. r=jlebar.
...
--HG--
extra : rebase_source : a0979780a7289429e4c06dce2de06576bb3a3e90
2013-08-12 18:14:41 -07:00
Guillaume Destuynder
65326fc6cb
Bug 790923: Adds seccomp-bfp sandboxing support for B2G. r=agal, r=dhylands, r=dkeeler, r=imelven, a=kang.
2013-08-12 12:58:35 -07:00
Kan-Ru Chen (陳侃如)
e2a7b7064f
Bug 845169 - Update touch region from remote frame. r=roc
2013-08-13 15:56:57 +08:00
Phil Ringnalda
be5f1b23e0
Back out d393cfeb5dbf:9f82224bb8a3 (bug 903816) for Android reftest failures
...
CLOSED TREE
2013-08-11 19:21:17 -07:00
Nicholas Cameron
a23e8df091
Bug 903816. Fixups in non-layers files. r=roc
2013-08-12 11:15:10 +12:00
Tom Schuster
d5223db06f
Bug 905761 - Proxy nsDefaultURIFixup::KeywordToURI to the parent. r=smaug
2013-08-16 13:59:31 -04:00
Brian O'Keefe
3a92f0ae7c
Bug 896177 - Remove useless config.mk includes; r=gps
2013-07-17 16:06:53 -04:00
Trevor Saunders
e59057dee7
bug 659722 - remove _IMPL_NS_LAYOUT r=bz
2013-03-16 00:31:38 -04:00
Tom Schuster
5642029a56
Bug 897062 - Handle special clicks in e10s. r=felipe,smaug
2013-08-08 20:16:47 -04:00
Nicholas Nethercote
b756f6b258
Bug 898914 (part 1) - Remove JSBool.
...
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Justin Lebar
af5b445c2a
Bug 895204 - Let ContentParent call CloseWithError() even if it's already called Close(). r=khuey
...
When Close() fails with an error, we should end up back in ContentParent and we eventually need to call CloseWithError().
2013-08-07 11:08:52 -07:00
Tom Schuster
c9f3a606e1
Bug 617804 - Note that SetTitle is implemeneted by JS. rs=felipe
2013-08-06 12:35:39 -04:00
Olli Pettay
89f0fea1a3
Bug 901312 - crash in mozilla::dom::ContentParent::ActorDestroy @ nsFrameMessageManager::Disconnect, r=jlebar
...
--HG--
extra : rebase_source : a03a8b0339fc7200ed2430dcfaa81986fef743e7
2013-08-05 14:02:38 +03:00
Nicholas Cameron
beb04c20b9
Bug 874721, bug 899435. D3D9 compositor and windows OMTC window resizing. r=Bas, mattwoodrow
2013-08-04 19:46:17 +12:00
Tom Schuster
a08583556d
Bug 617804 - Implement SetStatus in TabChild/TabParent, enables link tooltips. r=felipe
2013-07-25 15:45:31 -04:00
Ed Morley
a9606b2dba
Merge latest green b2g-inbound changeset and mozilla-central
2013-08-02 13:30:22 +01:00
Ms2ger
78f9e66db8
Bug 896251 - Make nsEvent::{refPoint, lastRefPoint} LayoutDeviceIntPoints; r=smaug+kats
2013-08-02 09:05:16 +02:00
Justin Lebar
1adf2940e8
Bug 899761 - Fix a debug-build shutdown crash in ContentParent. r=khuey
...
Sometimes a ContentParent object gets destroyed after XPCOM shutdown has
shut down the cycle collector. If the ContentParent destructor releases
a cycle collected object (e.g. mMessageManager), this causes the cycle
collector to assert.
2013-07-31 14:26:19 -07:00
Ryan VanderMeulen
2ebd22d781
Merge m-c to inbound.
2013-07-30 18:08:18 -04:00
Justin Lebar
e07ad9bb36
Bug 896890 - TabContent::HasOwnApp() should be true iff TabContext::GetOwnApp() is non-null.
...
This change reworks how TabContext stores its data. Before, it stored
an app-id and translated that into an app; now we do the reverse. This
lets us guarantee that HasOwnApp() is true iff GetOwnApp() is non-null.
We added a new class, MaybeInvalidTabContext to assist with converting
from an IPCTabContext to a TabContext. This allows us to ensure that a
TabContext object is never invalid.
2013-07-30 14:42:34 -07:00
Kartikaya Gupta
5371e49e39
Bug 866232 - Update TabChild to better handle scrolling subframes. r=BenWa, mattwoodrow
2013-07-30 14:03:42 -04:00
Bobby Holley
c00f6379ec
Bug 899245 - Rename JS_GetGlobalForScopeChain to JS::CurrentGlobalOrNull. r=luke
...
This was done with perl/grep.
2013-07-29 16:45:27 -07:00
Ryan VanderMeulen
877a52adaf
Backed out changeset 4aeb00521c9d (bug 896890) for build bustage.
...
CLOSED TREE
2013-07-30 15:50:46 -04:00
Justin Lebar
bf4b322de3
Bug 896890 - TabContent::HasOwnApp() should be true iff TabContext::GetOwnApp() is non-null. r=khuey
...
This change reworks how TabContext stores its data. Before, it stored
an app-id and translated that into an app; now we do the reverse. This
lets us guarantee that HasOwnApp() is true iff GetOwnApp() is non-null.
We added a new class, MaybeInvalidTabContext to assist with converting
from an IPCTabContext to a TabContext. This allows us to ensure that a
TabContext object is never invalid.
--HG--
extra : rebase_source : d43e858739a342ab420122a90336bfd585be268a
2013-07-30 11:51:44 -07:00
Ehsan Akhgari
5ee21d6d3f
Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
...
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:
# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.cc" \
-o -iname "*.mm" \) | \
xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
modules/libmar/src/mar_private.h \
modules/libmar/src/mar.h
# assert_replacer.py
#!/usr/bin/python
import sys
import re
pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")
def replaceInPlace(fname):
print fname
f = open(fname, "rw+")
lines = f.readlines()
for i in range(0, len(lines)):
while True:
index = re.search(pattern, lines[i])
if index != None:
index = index.start()
lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
for j in range(i + 1, len(lines)):
if lines[j].find(" ", index) == index:
lines[j] = lines[j][0:index] + lines[j][index+4:]
else:
break
else:
break
f.seek(0, 0)
f.truncate()
f.write("".join(lines))
f.close()
argc = len(sys.argv)
for i in range(1, argc):
replaceInPlace(sys.argv[i])
--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Kartikaya Gupta
ca28753945
Bug 894288 - Prevent triggering an endless abort cycle when loading any tabs in the browser. r=BenWa
2013-07-25 14:54:26 -04:00
David Zbarsky
040dbd4c2b
Bug 894646 - Various dom deCOM cleanups r=Ms2ger
2013-07-23 16:39:17 -07:00
Joshua Cranmer
fb0ab49c35
Bug 884061 - Part 3f: Use NS_DECL_THREADSAFE_ISUPPORTS in dom/, r=smaug,dhylands.
...
--HG--
extra : rebase_source : b8eaae07c54c94c8c46c7ed4c0e226eb74584652
2013-07-18 21:21:20 -05:00
Ryan VanderMeulen
0439786998
Merge m-c to inbound on a CLOSED TREE.
2013-07-18 14:53:05 -04:00
Fabrice Desré
8faa4f380c
Bug 894940 - ProcessPriorityManagerChild::Init() is never called r=jlebar
2013-07-18 02:00:56 -07:00
Justin Lebar
10072b4ad2
Bug 893242 - Part 4: Add a memory reporter counting ContentParents and the number of IPC messages they have outstanding. r=njn
2013-07-17 14:31:10 -07:00
Justin Lebar
c360e9303b
Bug 893242 - Part 3: Add ContentParent::GetAllEvenIfDead(). r=bent
...
To do this, we got rid of the explicit removal of a ContentParent from
sContentParents in MarkAsDead(). Instead, we rely on
LinkedListElement's destructor to remove the ContentParent from
sContentParents.
Thus, a ContentParent stays in sContentParents until it's destructed.
ContentParent::GetAll() checks whether the ContentParent is still alive,
so its behavior is unchanged.
2013-07-17 14:31:10 -07:00
Justin Lebar
d9279af05d
Bug 893242 - Part 2: Make sContentParents a StaticAutoPtr. r=khuey
...
This eliminates a static constructor, which is good. It also avoids a
problem at shutdown: If we leak a ContentParent and we destroy
sContentParents atexit, then sContentParents will assert that it's not
empty and cause test failures.
2013-07-17 14:31:10 -07:00
Justin Lebar
d3fdd7791a
Bug 893242 - Part 0: Don't crash if we call ContentParent::Pid() after the process is dead. r=bent
2013-07-17 14:31:10 -07:00
Jinho Hwang
232557606f
Bug 894191 - Run ContentParent::ShutDownProcesss() after ContentParent::KillHard(). r=jlebar
...
--HG--
extra : rebase_source : 2cd9c02feab01b9506d74f721f24068fb653879d
2013-07-17 12:13:20 -07:00
David Zbarsky
f771506a03
Bug 879475 - Make PBlob manually keep track of its manager r=jlebar
2013-07-16 13:07:09 -07:00
Ryan VanderMeulen
3d9c4d89ab
Merge birch to m-c.
2013-07-16 16:03:20 -04:00
Michael Wu
ae6339b1ed
Bug 870311 - Fix coordinates on contextmenu event, r=kats
2013-07-16 15:54:59 -04:00
Ryan VanderMeulen
3cc4f8b044
Merge inbound to m-c.
2013-07-15 17:03:59 -04:00
Justin Lebar
9de67c75dc
Bug 893172 - Call ShutDownProcess in ContentParent::ActorDestroy. r=bent
2013-07-15 08:55:13 -04:00
David Anderson
0f90d00ec4
Implement CPOW support in MessageManager (bug 870180, r=smaug,billm).
2013-07-10 15:05:39 -07:00
Trevor Saunders
82e5558b37
bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal
2013-07-11 11:06:34 -04:00
Tom Schuster
8bbf6da92b
Bug 886903 - Send correct UserAgent data for content process. r=jdm
2013-04-22 18:41:59 +02:00
Tom Schuster
8e3e74bfea
Bug 868859 - Make chromeWindow.content work in e10s. r=bz
2013-05-08 23:16:46 +02:00
Ryan VanderMeulen
5131a6768c
Backed out 4 changesets (bug 893858, bug 868859, bug 886903) for Linux debug mochitest-other crashes on a CLOSED TREE.
...
Backed out changeset 0ded4854067b (bug 886903)
Backed out changeset ca8afb897e13 (bug 893858)
Backed out changeset c15f503a96cc (bug 868859)
Backed out changeset 6a788f399a7f (bug 868859)
2013-07-17 12:43:59 -04:00
Tom Schuster
b42a1584ea
Bug 886903 - Send correct UserAgent data for content process. r=jdm
2013-04-22 18:41:59 +02:00
Tom Schuster
cb80974d17
Bug 868859 - Make chromeWindow.content work in e10s. r=bz
2013-05-08 23:16:46 +02:00
Brian O'Keefe
a2b1403eb0
Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps
2013-07-04 08:28:43 -04:00
Reuben Morais
9efd2c3cb7
Bug 889503 - Move Settings API to WebIDL. r=gwagner r=bz
...
--HG--
extra : rebase_source : 9f858f389b71344353658d4ed49996e0d90b8b99
2013-07-15 18:17:46 -07:00
Botond Ballo
3d283a5a5d
Bug 891468 - Convert nsEventStateManager::GetChildProcessOffset to return a LayoutDeviceIntPoint instead of an nsIntPoint. r=smaug
2013-07-11 10:43:35 -04:00
Botond Ballo
2b006a3d48
Bug 890938 - Convert AsyncPanZoomController::ZoomToRect to take a CSSRect instead of a gfxRect. r=kats
2013-07-11 10:43:35 -04:00
Masayuki Nakano
23bcf42239
Bug 875674 part.1 nsIMEUpdatePreference should store wanted updates per notification r=roc
2013-07-11 16:46:34 +09:00
Wes Kocher
5ed483fdc1
Backout 129da44ac469 (bug 870180) for breaking message manager
2013-07-10 18:22:34 -07:00
David Anderson
66c5f1450d
Implement CPOW support in MessageManager (bug 870180, r=smaug,billm).
2013-07-10 15:05:39 -07:00
Gregory Szorc
103574ab16
Bug 891626 - Consistent filename casing for "ipc"; r=bsmedberg
...
"ipc" and "IPC" are used to refer to the same directory. "ipc" is more
popular than "IPC" so the latter has been downcased.
--HG--
extra : rebase_source : 378d442df62b8e401ed2a10f36889cfce6e88227
2013-07-10 12:08:23 -07:00