Bobby Holley
110f12e7ca
Bug 1072150 - Use the opt-out for various sloppy consumers. r=bz
2015-09-24 14:02:41 -07:00
Xidorn Quan
1fa3dc1199
Bug 1137009 part 1 - Always save dirty window attributes but do not persist them in nsXULWindow::SavePersistentAttributes() directly. r=enndeakin
...
The attributes should eventually be saved via the AttributeChanged callback in
XULDocument if one is specified in the "persist" attribute.
--HG--
extra : source : 31be6135097644dbfe99220be44e63a2163b243c
extra : histedit_source : 83959efa7bb52a31de2cdbc201b5f18655756f33
2015-09-24 11:39:22 +10: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
Xidorn Quan
f46a93871a
Bug 1196163 part 1 - Use nsSizeMode instead of int32_t for nsIWidget::{SizeMode,SetSizeMode}. r=roc
...
--HG--
extra : source : cf438b9cb26ae512f792f075e4e22537ad6a38a7
2015-08-29 11:12:41 +10:00
Masayuki Nakano
fff7a41224
Bug 895274 part.8 Rename NS_XUL_CLOSE to eWindowClose r=smaug
2015-08-29 08:58:26 +09:00
Andrew Comminos
d7abfb9d4d
Bug 1189132 - Skip unmap during window destruction on GTK, working around talos hang with GL layers. r=karlt
2015-08-26 21:30:16 -04:00
Chris Peterson
1416e566de
Bug 1198124 - Enable -Wshadow in directories that have no -Wshadow warnings. r=glandium
2015-08-25 09:14:38 -07:00
Birunthan Mohanathas
7315345693
Bug 1191100
- Remove XPIDL signature comments in .cpp files. r=ehsan
...
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
Kyle Huey
df53dee024
Bug 1182316: Part 1 - Remove FORWARD_TO_INNER_OR_THROW. r=peterv
2015-07-16 22:10:35 -07: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
Geoff Brown
52d4e225a0
Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin
2015-07-10 14:41:59 -06:00
Michael Layzell
b29fa273f8
Bug 1034922 - Make nsSiteWindow's destructor private, and expose it to nsContentTreeOwner via friend class. r=Enn
...
CLOSED TREE
--HG--
extra : amend_source : 5420ac9e6296b98f4ec5ddf5b8992cf449e8d44f
2015-07-07 21:49:00 -04:00
Nihanth Subramanya
5e74ed3e43
Bug 1179058 - Implement shouldAddToSessionHistory in WebBrowserChrome JS object. r=adw
...
--HG--
extra : rebase_source : b21952075a68b39cbfbbb36cde0713096c700c46
2015-07-02 11:04:06 -07:00
Dragana Damjanovic
7987d2203e
Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell
2015-07-06 07:55:00 +02:00
Emanuel Hoogeveen
7d1e52f2ff
Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell
2015-07-07 04:17:00 +02:00
Andrew McCreight
53e8d2ac49
Bug 958641 - De-holder nsIXPConnect::WrapNative. r=gabor
2015-07-01 11:17:17 -07:00
Jan de Mooij
303b210317
Bug 1177892 part 3 - Remove OBJECT_TO_JSVAL. r=evilpie
2015-06-30 21:09:46 -07:00
Nihanth Subramanya
fb7c08fefa
Bug 1118285 - The browser.newtab.url preference is abused and should be removed.
2015-05-27 17:35:03 -07:00
Xidorn Quan
d7dd0eac3b
Bug 1161802 part 2 - Split nsGlobalWindow::SetFullScreenInternal into two parts, one part before the window resizing, the other after. r=smaug,dao,margaret
...
This patch moves the "fullscreen" event from the original place to the
second part, which indicates two other changes:
1. When the event is triggered, the value of fullScreen would have been
toggled to the new value, which is different from before. The changes in
browser/../browser-fullScreen.js and mobile/../browser.js are for this.
2. This event is no longer preventDefault-able, since it is triggered
after the fullscreen change. This leads to the removal of the test and
the only place which calls preventDefault on that event. That place is
a workaround for bug 1079222. To address that problem, this patch fixes
the intrinsic issue via stoping handling the fullscreen change once it
finds we failed to change the state of the widget.
--HG--
extra : source : 78f78a62ce31b33413f0b52532eb22e5712cb646
2015-06-10 23:13:12 +12:00
Neil Rashbrook
cf42e317ab
Bug 1155963 Only allow NS_LITERAL_CSTRING to be used on compile-time literals r=froydnj,ehsan
2015-05-16 09:07:10 +01:00
Wes Kocher
3c714c42eb
Backed out changeset 17cfad44e12b (bug 1155963) for breaking b2g builds
2015-05-14 16:35:18 -07:00
Neil Rashbrook
ae441fafa2
Bug 1155963 Only allow NS_LITERAL_CSTRING to be used on compile-time literals r=froydnj,ehsan
2015-05-15 00:00:33 +01:00
David Anderson
8a9daf3775
Enable APZ for all Desktop windows if E10s is enabled. (bug 1163115, r=kats)
2015-05-12 01:26:01 -04:00
Philip Chee
b23f6e2222
Bug 1160770 - Unnecessary return in tabScrolling property in XPFE autocomplete.xml NPOTB r=Neil DONTBUILD
2015-05-03 00:15:40 +08:00
Shelly Lin
b7c213870a
Bug 1138290 - New option in WindowWatcher.openWindow to open another toplevel window on b2g. r=roc
2015-04-29 17:25:26 +08:00
David Major
ebde6b9f4f
Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
...
--HG--
extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
2015-04-27 19:59:27 -04:00
Kartikaya Gupta
57b4bbe2ca
Bug 1154739 - Rename flag to be more general. r=billm
2015-04-27 16:13:29 -04:00
Boris Zbarsky
1540774b0c
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
53dd599648
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
687641fa14
Merge inbound to m-c a=merge
2015-04-21 15:23:57 -07:00
David Anderson
9ae1c872f4
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
cfff5e52c5
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
32e981896d
Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj
2015-04-15 12:47:03 -04:00
Phil Ringnalda
d68dd54c30
Backed out changeset ffde08dc5ceb (bug 1154459) for bustage
...
CLOSED TREE
2015-04-19 08:19:14 -07:00
David Anderson
4f6a850738
Enable APZ for E10S on Windows for one nightly build. (bug 1154459, r=kats)
2015-04-17 11:49:55 -04:00
Jim Blandy
ebd83c9a61
Bug 1152577: Add 'aReason' argument to AutoEntryScript constructor, and provide plausible names for its instantiations. r=bholley
...
--HG--
extra : rebase_source : 8ab7a3628a5b4d94b957f24e23e4c5c7871db97c
2015-04-08 21:23:48 -04:00
Nathan Froyd
4c7234747e
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
3fe715e93a
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
b077d9624d
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
7f4ac9ee96
Back out bug 1075670
2015-03-30 20:13:07 -07:00
Andrea Marchesini
e6f385fb3d
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Bill McCloskey
f2d972e4f2
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
883849ee32
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
b252a27930
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
d1c61bc9b6
Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown
2015-02-06 16:30:37 -08:00
Nathan Froyd
4380a42bbc
Bug 1141689 - use services::GetObserverService more; r=ehsan
2014-04-29 13:31:06 -04:00
Nicolas Silva
40d7c19d35
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
01e006a903
Merge inbound to m-c a=merge CLOSED TREE
2015-03-03 16:46:44 -08:00
Ryan VanderMeulen
6541acdb04
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
218f2707a8
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