Commit Graph

826 Commits

Author SHA1 Message Date
Boris Zbarsky
ef887403cb Bug 1157898 part 1. Make code of the form "return rv.ErrorCode();" where rv is an ErrorResult use StealNSResult instead. r=peterv
This patch was generated with the following command:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 's/return ([a-zA-Z0-9]+)\.ErrorCode\(\);/return \1.StealNSResult();/'
2015-04-27 09:18:51 -04:00
Kartikaya Gupta
b1a8b5072c Back out cset 17aad8f83237 (bug 1154499) now that we have a nightly with APZ enabled. r=me a=me 2015-04-22 09:36:25 -04:00
Wes Kocher
09ae95ef7e Merge inbound to m-c a=merge 2015-04-21 15:23:57 -07:00
David Anderson
acfb50a423 Enable APZ for E10S on Windows for one Nightly. This patch will be backed out after one nightly. (bug 1154459, r=kats, a=ryanvm) 2015-04-21 15:35:19 -04:00
Nicolas Silva
51e181888b Bug 1155621 - Make nsIntRect and nsIntPoint typedefs of mozilla::gfx::IntRect and mozilla::gfx::IntPoint. r=Bas 2015-04-21 17:04:57 +02:00
Denis Volk
4ad62045e8 Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj 2015-04-15 12:47:03 -04:00
Phil Ringnalda
1521afb292 Backed out changeset ffde08dc5ceb (bug 1154459) for bustage
CLOSED TREE
2015-04-19 08:19:14 -07:00
David Anderson
50d7fd13e2 Enable APZ for E10S on Windows for one nightly build. (bug 1154459, r=kats) 2015-04-17 11:49:55 -04:00
Jim Blandy
a52b425862 Bug 1152577: Add 'aReason' argument to AutoEntryScript constructor, and provide plausible names for its instantiations. r=bholley 2015-04-08 21:23:48 -04:00
Nathan Froyd
65f6c06592 Bug 1143651 - don't use CallQueryInterface when the compiler can do the cast for us; r=ehsan 2015-03-12 13:20:29 -04:00
David Parks
8de2397da1 Bug 1075670 - Make event.screen[XY] work in content processes (r=smaug,kats,tn,joshmoz) 2015-04-01 12:36:41 -07:00
Mike Hommey
ccd2a9b975 Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd 2015-04-01 13:51:45 +09:00
Bill McCloskey
061f09ba1e Back out bug 1075670 2015-03-30 20:13:07 -07:00
Andrea Marchesini
b212600c95 Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Bill McCloskey
fcd90b7e73 Bug 1075670 - Make event.screen[XY] work in content processes (r=smaug,kats,tn,joshmoz) 2015-03-26 14:17:29 -07:00
Ehsan Akhgari
33bb32f549 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Nathan Froyd
8ddefeed54 Bug 1142503 - don't use QueryInterface when the compiler can do the cast for us; r=ehsan
Calling QueryInterface with a statically known IID should typically not
be necessary.  In those cases where it's not, the compiler can do the
cast for us, though we have to supply the reference-counting that
QueryInterface would do.

In passing, several redundant null-checks for the result of |new T| have
been deleted.
2015-03-12 09:43:50 -04:00
Jonathan Griffin
84011a87cc Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Nathan Froyd
e9f067ac2a Bug 1141689 - use services::GetObserverService more; r=ehsan 2014-04-29 13:31:06 -04:00
Nicolas Silva
7bed78ecdf Bug 1125848 - Reduce the likelyhood of a CompositorParent being destroyed without the proper shutdown sequence. r=sotaro 2015-03-09 10:46:56 +01:00
Wes Kocher
804c7069b1 Merge inbound to m-c a=merge CLOSED TREE 2015-03-03 16:46:44 -08:00
Ryan VanderMeulen
88718db0f7 Backed out 7 changesets (bug 1075670) for causing bug 1139010.
Backed out changeset 659c40243282 (bug 1075670)
Backed out changeset 45b61c78ee2d (bug 1075670)
Backed out changeset 23bb7b239c78 (bug 1075670)
Backed out changeset a68d5051107f (bug 1075670)
Backed out changeset bd7a5d213692 (bug 1075670)
Backed out changeset f705f5063169 (bug 1075670)
Backed out changeset 13619f8fa672 (bug 1075670)

CLOSED TREE
2015-03-03 18:44:56 -05:00
David Parks
aafa34403e Bug 1075670 - Use MozUpdateWindowPos event to notify content process of window move. r=smaug
TabParents now register for the MozUpdateWindowPos event on the chrome TopWindowRoot.  When the window is moved, the OS widget calls WindowMoved on its listener (the nsWebShellWindow), which sends a MozUpdateWindowPos event.
2015-01-26 11:45:54 -08:00
Boris Zbarsky
8d06e45b3d Bug 1136388. Change nsIDocumentLoaderFactory and nsIURIContentListener to take MIME types as an XPCOM string, not a char*. r=smaug 2015-02-25 10:26:51 -05:00
Ryan VanderMeulen
5ce7838926 Backed out 7 changesets (bug 1075670) for e10s browser_586068-browser_state_interrupted.js crashes.
Backed out changeset 4ca74b217fe8 (bug 1075670)
Backed out changeset 83199cfc333f (bug 1075670)
Backed out changeset 065b859e6525 (bug 1075670)
Backed out changeset a3e8329610d9 (bug 1075670)
Backed out changeset ced9055e0bcc (bug 1075670)
Backed out changeset e6d6f0c11133 (bug 1075670)
Backed out changeset b823c6c95030 (bug 1075670)

CLOSED TREE
2015-02-24 11:53:34 -05:00
David Parks
90dd0b66a0 Bug 1075670 - Use MozUpdateWindowPos event to notify content process of window move. r=smaug
TabParents now register for the MozUpdateWindowPos event on the chrome TopWindowRoot. When the window is moved, the OS widget calls WindowMoved on its listener (the nsWebShellWindow), which sends a MozUpdateWindowPos event.
2015-01-26 11:45:54 -08:00
Andrea Marchesini
454d9140a2 Bug 1134280 - Get rid of Tag() - patch 1 - Is{HTML,XUL,MathML,SVG}Element and IsAnyOf{HTML,XUL,MathML,SVG}Elements, r=smaug 2015-03-03 11:08:59 +00:00
Paul Rouget
d402fef360 Bug 1127205 - Can't quit B2G Desktop on Mac. r=mstange 2015-02-18 16:34:00 +01:00
Gabriele Svelto
648983dd11 Back out bug 1075670 for causing smoketest failures on B2G, bug 1133518 and friends. rs+a=kats 2015-02-17 10:39:35 -05:00
David Parks
ca2ece56de Bug 1075670 - Use MozUpdateWindowPos event to notify content process of window move r=smaug 2015-01-26 11:45:54 -08:00
Mike Conley
69a8aed6f6 Bug 1047603 - Make TabParent::AnswerCreateWindow force the initial browser to be remote in a new window. r=smaug.
--HG--
extra : rebase_source : 87551351dc763be7f5a8a47d02de21eb3f10c745
2015-01-13 17:24:52 -05:00
Robert O'Callahan
74edebf611 Bug 1129774. Part 5: Remove aContext parameter from nsIWidget::Create. r=jmathies
--HG--
extra : rebase_source : 517ff800c0307e69465a37da7e52605d2fcda0d1
2015-02-05 20:35:25 +13:00
Bill McCloskey
7ef7073d75 Back out 47de36ef3ab4 (bug 1075670) for breaking context menu in e10s CLOSED TREE 2015-01-28 16:11:56 -08:00
David Parks
f726fe6ce3 Bug 1075670 - Update window position in TabParent when window widget is moved. r=smaug
TabParents now register for the MozUpdateWindowPos event on the chrome
TopWindowRoot.  When the window is moved, the OS widget calls WindowMoved on
its listener (the nsWebShellWindow), which sends a MozUpdateWindowPos
event.
2015-01-26 11:45:54 -08:00
Ehsan Akhgari
1def501577 Bug 1118605 - Mark virtual overridden functions as MOZ_OVERRIDE in xpfe/appshell; r=bsmedberg 2015-01-12 16:30:52 -05:00
Chris Peterson
c582a636ed Bug 1110031 - Part 1: Mark more directories as FAIL_ON_WARNINGS. r=gps 2014-12-10 22:56:31 -08:00
Wes Kocher
c659ea6bce Backed out changeset bf25101e66cf (bug 1095098) for build bustage 2014-12-08 16:27:12 -08:00
Denis Volk
c3639f1324 Bug 1095098: move do_QueryObject templates into their own header r=froydnj 2014-11-20 12:20:10 +01:00
Trevor Saunders
333d3d2125 bug 1105074 - make more stuff final r=froydnj 2014-11-25 13:56:07 -05:00
Neil Rashbrook
9ca5014d78 Bug 1070768 Fix up more references to XPFE's autocomplete.css r=Ratty
DONTBUILD because NPOTB
2014-11-07 19:37:44 +00:00
Nicholas Nethercote
0489de37fb Bug 1080302 (part 2) - Convert all mentions of -foo options to --foo options in comments, help messages and error messages. r=glandium. 2014-10-23 17:35:27 -07:00
Brian Marshall
a4a112f80f Bug 1074557 - Remove the lock in nsWindowMediator. r=Neil 2014-10-16 15:45:17 -07:00
Neil Rashbrook
3d185ee7a4 Bug 1070768 Move XPFE's autocomplete.css to communicator so it doesn't conflict with toolkit's new global autocomplete.css r=Ratty 2014-10-23 08:34:12 +01:00
Christoph Kerschbaumer
faccbd4747 Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-10-15 19:11:45 -07:00
Jon Morton
0f167a14a3 Bug 979835: Port BoxObject and its subclasses to WebIDL. r=khuey sr=bz
--HG--
rename : layout/xul/nsIPopupBoxObject.idl => dom/webidl/PopupBoxObject.webidl
rename : layout/xul/tree/nsITreeBoxObject.idl => dom/webidl/TreeBoxObject.webidl
rename : layout/xul/nsBoxObject.cpp => layout/xul/BoxObject.cpp
rename : layout/xul/nsBoxObject.h => layout/xul/BoxObject.h
rename : layout/xul/nsListBoxObject.cpp => layout/xul/ListBoxObject.cpp
rename : layout/xul/nsMenuBoxObject.cpp => layout/xul/MenuBoxObject.cpp
rename : layout/xul/nsPopupBoxObject.cpp => layout/xul/PopupBoxObject.cpp
2014-10-14 13:15:21 -07:00
Dave Townsend
4c58cae784 Bug 999239: Copy session history when recreating browser element for the remote -> non-remote transition. r=bz, r=felipe, sr=gavin 2014-09-25 11:35:45 -07:00
Christoph Kerschbaumer
46a77b698b Bug 1038756: Callsites creating a channel in /xpfe/ (r=timeless) 2014-09-21 09:43:44 -07:00
Ryan VanderMeulen
a631440dac Backed out changesets 1e0e069b5cc7 and dc6a44c16a37 (bug 1047603) for causing bug 1067164. a=me 2014-09-17 14:19:58 -04:00
Mike Conley
fada5f5854 Bug 1047603 - [e10s] Make it possible to load new windows from non-remote browsers within an e10s window. r=smaug,billm, feedback=Mossop.
--HG--
extra : rebase_source : 79a033f40e880ef4e8769871e385344d7621c259
2014-09-12 14:34:28 -04:00
Philip Chee
852411ff9b Bug 1053166 Part 2 Remove trailing whitespace in blank lines and comments r=Neil DONTBUILD NPOTDB 2014-09-12 00:30:37 +08:00