Commit Graph

3391 Commits

Author SHA1 Message Date
Jacek Caban
69ae59a699 Merge tag 'FIREFOX_BETA_47_BASE' into wine-gecko-2.47 2016-04-25 20:00:22 +02:00
Jacek Caban
bfa05a5560 Merge branch 'mozilla-central' 2016-03-07 05:56:30 +01:00
Jonathan Kew
9954efd04a Bug 1252974 - Convert screen's available dimensions to CSS-pixel units in nsWindowWatcher. r=emk 2016-03-06 13:37:27 +00:00
Jacek Caban
8d90872877 Merge branch 'mozilla-central' 2016-03-04 06:38:14 +01:00
Jacek Caban
8a59f97641 Merge branch 'mozilla-central' 2016-03-03 06:19:08 +01:00
Jacek Caban
84b9cd8ab4 Merge branch 'mozilla-central' 2016-02-23 11:33:09 +01:00
Jacek Caban
77d66438f9 Merge branch 'mozilla-central' 2016-02-16 13:32:14 +01:00
Jacek Caban
33db3dfa02 Merge branch 'mozilla-central' 2016-02-16 10:38:25 +01:00
Aidin Gharibnavaz
64db32ec3c Bug 1235830 - Renaming GetInternalNSEvent to WidgetEvent, in nsIDOMEvent r=smaug
MozReview-Commit-ID: Hm8Owq17KXn
2016-02-12 19:10:07 +03:30
Kyle Huey
77c95c8d4b Bug 1257444: Actually return the desired selection. r=mrbkap, a=ritu 2016-03-17 17:27:33 -07:00
Jared Wein
5034e9ac82 Bug 1251809 - Add input[type=file] tooltip support for e10s. r=ehsan a=ritu IGNORE IDL
MozReview-Commit-ID: FpwKGrFQNrK
2016-03-16 19:07:51 -04:00
Jacek Caban
bf10b623b6 Merge branch 'mozilla-central' 2016-02-10 06:14:45 +01:00
Jacek Caban
dd86e1d4c8 Merge branch 'mozilla-central' 2016-02-08 06:06:03 +01:00
Jacek Caban
3d43181511 Merge branch 'mozilla-central' 2016-02-05 11:19:47 +01:00
Jacek Caban
87827c4d0a Merge branch 'mozilla-central' 2016-02-01 17:45:27 +01:00
Jacek Caban
51cccc6fe6 Merge branch 'mozilla-central' 2016-01-31 12:45:33 +01:00
Jacek Caban
6b548d8fae Merge tag 'FIREFOX_AURORA_46_BASE' 2016-01-30 18:00:55 +01:00
Kyle Huey
ce39f191af Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Jonathan Kew
de889d5874 Bug 1252974 - Convert screen's available dimensions to CSS-pixel units in nsWindowWatcher. r=emk 2016-03-06 13:37:27 +00:00
J. Ryan Stinnett
bbd3805682 Bug 1238160 - Set docshell isolation mode. r=smaug
Renames nsDocShell isBrowser* attributes to add a "Moz" prefix for clarity.

Adds nsDocShell::GetIsIsolatedMozBrowserElement, which parallels
GetIsInIsolatedMozBrowserElement, but only checks the immediate docshell.

Adds nsDocShell::SetIsInIsolatedMozBrowserElement for the frame loader and tab
child to set the isolation state.

nsDocShell methods related to mozbrowser elements (and their callers) are
updated to use GetIs(In)?IsolatedMozBrowserElement when checking isolation /
origins and GetIsMozBrowserElement when checking frame types.

MozReview-Commit-ID: 6pGD5fF47ZN
2016-03-02 10:35:56 -06:00
Jonathan Kew
7505fe3457 Bug 1252347 - Provide missing implementations of nsIBaseWindow::SetPositionDesktopPix. r=emk 2016-03-02 12:15:19 +00:00
Ryan VanderMeulen
bd618eae37 Bug 1252223 - Skip test_bug293834.html on OSX e10s. 2016-02-29 15:32:45 -05:00
Jacek Caban
0ae6ba790d Merge branch 'mozilla-central' 2016-01-14 19:19:17 +01:00
Birunthan Mohanathas
2083419fba Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
Jacek Caban
043b7bb465 Merge branch 'mozilla-central' 2015-12-28 05:57:33 +01:00
Bogdan Postelnicu
e713568a90 Bug 1245451 - add default nullptr value to mChrome. r=bsmedberg 2016-02-03 12:38:15 +02:00
Jacek Caban
f01c326401 Merge branch 'mozilla-central' 2015-12-08 14:10:13 +01:00
Jacek Caban
12351d273f Bug 1228638 - Don't destroy print dialog's parent window if it's not a temporary window. 2015-12-04 15:52:21 +01:00
Jacek Caban
157206d279 Merge branch 'mozilla-central' 2015-12-04 09:55:08 +01:00
Nicholas Nethercote
ecc2b60c48 Bug 1230047 (part 2) - Make several PaintWindow() functions use LayoutDevice coordinates. r=kats.
Specifically, the PaintWindow() functions in the following classes:
- nsIWidgetListener, and its subclasses nsView and nsWebBrowser;
- nsChildView;
- nsWindow (the one in widget/uikit/);
- nsViewManager.
2015-12-02 21:45:41 -08:00
Jacek Caban
e8dae03d68 Merge branch 'mozilla-central' 2015-12-01 14:38:19 +01:00
Bill McCloskey
0af6b552b3 Bug 1224105 - Allow windowless chrome docshells containing content docshells (r=smaug) 2015-12-23 12:29:39 -08:00
Jacek Caban
cd652751ae Merge branch 'mozilla-central' 2015-11-23 11:40:11 +01:00
Sunny Sidhu
c167c3e2bd Bug 1220873 - Make Layer::mVisibleRegion a LayerIntRegion. r=botond 2015-11-29 02:07:55 -05:00
Jacek Caban
d1dc592122 Merge branch 'mozilla-central' 2015-11-18 13:57:34 +01:00
Jacek Caban
1ed52f4776 Merge branch 'mozilla-central' 2015-11-17 13:59:12 +01:00
Nicholas Nethercote
5b298e5d07 Bug 1229237 (part 1) - Make nsIWidget::{Create,CreateChildren}() take a LayoutDeviceIntRect. r=botond. 2015-11-16 00:35:18 -08:00
Kyle Huey
662c429aaa Bug 1224061: Make Event::InitEvent infallible. r=smaug 2015-11-13 08:09:42 +08:00
Jonathan Kew
db11f6d02a Bug 890156 - patch 2 - Expose DevicePixelsPerDesktopPixel through nsIBaseWindow and its implementations. r=emk 2015-11-25 19:12:07 +00:00
Jacek Caban
57348851ea Merge tag 'FIREFOX_AURORA_44_BASE' 2015-10-30 10:43:02 +01:00
Daniel Holbert
0867e28046 Bug 1247866: Avoid modifying hashtable during iteration, when iterating over redirects for saved files, to avoid tripping fatal assertion. r=njn
Modifying a structure while iterating over it is generally dangerous (so we have assertions to catch it), though in this case it was probably fine, because we stopped iterating as soon as we made the modification.
2016-02-12 16:19:53 -08:00
Bogdan Postelnicu
c52b47ad83 Bug 1246100 - pass aData by reference instead of value in MockWebBrowserPrint::MockWebBrowserPrint. r=bsmedberg 2016-02-05 10:58:28 +02:00
Jacek Caban
f2fa3d9b6a Merge branch 'mozilla-central' 2015-10-22 11:47:45 +02:00
Cameron McCormack
63320edfe2 Bug 990250 - Fold nsIStyleSheet into CSSStyleSheet. r=dbaron 2015-11-17 17:04:09 +11:00
J. Ryan Stinnett
83757dad1d Bug 1203159 - Update each product's DevTools inclusion. r=glandium
A new configure option --with-devtools (which sets MOZ_DEVTOOLS) is added to
control whether all DevTools, just the server, or no DevTools are included.
This defaults to just the server.

Applications should also include /devtools within their moz.build tree, so that
DIST_SUBDIR is in effect for all DevTools files if it is used by the app.
2015-10-21 12:22:59 -05:00
Jacek Caban
b0b4671dba Merge branch 'mozilla-central' 2015-10-19 06:19:39 +02:00
Nathan Froyd
9c5965b035 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
2015-10-18 01:24:48 -04:00
Jacek Caban
2edb7acd84 Merge branch 'mozilla-central' 2015-10-15 06:11:04 +02:00
Tooru Fujisawa
e5ae9d6de3 Bug 1224790 - Use SetFakeModal instead of SetModal for non-modal window opened by modal window. r=smaug, mstange 2015-11-18 20:12:26 +09:00
Jacek Caban
a6daae7793 Merge branch 'mozilla-central' 2015-10-10 12:13:03 +02:00