Jonathan Kew
1d47c6c64b
Bug 1259492 - Ensure window position is constrained to the screen after it has been sized properly in nsXULWindow::OnChromeLoaded. r=emk a=ritu
2016-03-24 17:08:19 +00:00
Jonathan Kew
7422e0f8ab
Bug 1256731 - patch 2 - Notify front-end code when screen resolution changes on Windows, so that TabsInTitlebar code can refresh its computations. r=gijs,emk a=ritu
2016-03-17 12:53:31 +00:00
Jonathan Kew
d305f3c374
Bug 1255645 - Ensure nsXULWindow constrains the window to the bounds of its screen after applying intrinsic sizing (if appropriate), by re-doing positioning after the window has been sized properly. r=emk a=ritu
2016-03-15 14:29:44 +00:00
Jonathan Kew
8e149a08f6
Bug 1242449 - Fix confusion among CSS, desktop and device pixel units in nsXULWindow position/size and window staggering so as to work consistently across mixed resolution displays. r=emk a=ritu
2016-03-01 21:05:10 +00:00
Andrea Marchesini
49f343092d
Bug 1252839 - Remove some if stmt after allocation with 'new' - patch 2, r=bz
2016-03-02 18:51:33 +01:00
J. Ryan Stinnett
6cde63d471
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
Brendan Dahl
f20e4d1ec0
Bug 1104916 - Implement CSS media query display-mode. r=cam
2016-02-23 17:10:00 +01:00
Jonathan Kew
19a928bb37
Bug 1247335 - patch 2 - Use desktop pixel coordinates when loading a nsXULWindow position. r=emk
2016-02-18 10:47:14 +00:00
Jonathan Kew
21ce177485
Bug 1247335 - patch 1 - Provide a desktop-pixel variant of SetPosition on nsIBaseWindow and its implementations. r=emk
2016-02-18 10:46:16 +00:00
Wes Kocher
c8ef515f71
Backed out changeset 4fa1296bd773 (bug 1104916) for win debug m(oth) permafails CLOSED TREE
2016-02-05 11:42:55 -08:00
Brendan Dahl
72d43e29b3
Bug 1104916 - Implement CSS media query display-mode. r=cam
2016-02-04 13:34:00 +01:00
Kyle Huey
94f653c385
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
David Rajchenbach-Teller
8dc9509180
Bug 1224374 - Profiler labels for the top 26-100 chrome hangs;r=BenWa
2016-01-15 11:38:03 +01:00
Xidorn Quan
ed3ed3fb3b
Bug 1238536 part 3 - Properly handle restoring to normal state from fullscreen. r=smaug
2016-01-20 09:56:52 +11:00
Sebastian Hengst
e687c33b0f
Backed out 2 changesets (bug 1224374) for Windows bustage. r=bustage on a CLOSED TREE
...
Backed out changeset 5f458e6e4997 (bug 1224374)
Backed out changeset 0dc02cb0b604 (bug 1224374)
2016-01-19 21:30:41 +01:00
David Rajchenbach-Teller
ad8745d7f6
Bug 1224374 - Profiler labels for the top 26-100 chrome hangs;r=BenWa
2016-01-15 11:38:03 +01:00
Kris Maglione
f965c5ec6f
Bug 1239822: Part 2a - [webext] Explicitly destroy windowless browsers on unload. r=billm
2016-01-15 13:30:15 -08:00
Kris Maglione
46940815b2
Bug 1239822: Part 1 - Add a close method to windowless browsers, and only destroy when safe. r=bz
2016-01-15 19:23:09 -08:00
Jonathan Kew
78f0829154
Bug 890156 - patch 6 - Update window placement code to work with desktop pixels, for per-monitor DPI support on Windows. r=emk
2015-12-03 13:19:50 +00:00
Jonathan Kew
9f654df72d
Bug 890156 - patch 2 - Expose DevicePixelsPerDesktopPixel through nsIBaseWindow and its implementations. r=emk
2015-11-25 19:12:07 +00:00
Jonathan Kew
c2c031081e
Bug 890156 - patch 0.3 - Create a version of nsIWidget::Create that takes Desktop pixels, because that's what we actually need to pass in some cases. r=mstange
2016-01-13 07:32:55 +00:00
Catalin Badea
fe7525c05a
Bug 1221992 - Skip closed windows in GetMostRecentNonPBWindow. r=smaug
2015-12-11 13:32:15 -05:00
Catalin Badea
c8d673d2a5
Bug 1221992 - Prevent ServiceWorkerClients.OpenWindow from opening tabs in private mode windows. r=smaug
2015-12-11 13:32:15 -05:00
Sebastian Hengst
1e033e3020
Backed out 2 changesets (bug 1221992) for almost permafailing M-e10s(2) on Linux debug. r=backout
...
Backed out changeset ad20808dd3c4 (bug 1221992)
Backed out changeset 7cdcda3e65fb (bug 1221992)
2015-12-05 21:13:41 +01:00
Catalin Badea
cbdc480790
Bug 1221992 - Prevent ServiceWorkerClients.OpenWindow from opening tabs in private mode windows. r=smaug
2015-12-04 19:14:44 +02:00
Wes Kocher
4959875fde
Backed out 2 changesets (bug 1221992) for windows debug assertions in browser_perf-categories-js-calltree.js
...
Backed out changeset bcd90e591038 (bug 1221992)
Backed out changeset 6affaa386b9b (bug 1221992)
2015-12-03 15:56:59 -08:00
Catalin Badea
d15034e4eb
Bug 1221992 - Prevent ServiceWorkerClients.OpenWindow from opening tabs in private mode windows. r=smaug
2015-12-03 23:19:29 +02:00
Nicholas Nethercote
aa1114c018
Bug 1229237 (part 1) - Make nsIWidget::{Create,CreateChildren}() take a LayoutDeviceIntRect. r=botond.
2015-11-16 00:35:18 -08:00
Mike Hommey
9e5ed7ac3f
Bug 1225682 - Don't use nsAuto{,C}String as class member variables in xpfe/. r=neil
2015-12-02 11:04:37 +09:00
Nicholas Nethercote
fef09fc527
Bug 1228125 (part 3) - Remove nsIWidget::GetClientBoundsUntyped(). r=botond.
2015-11-25 20:55:36 -08:00
Nicholas Nethercote
15961fc6fb
Bug 1224403 (part 4) - Make {Get,Set}NonClientMargins() return/take a LayoutDeviceIntMargin. r=kats.
...
This required adding {To,From}UnknownMargin().
2015-11-11 23:05:04 -08:00
Nicholas Nethercote
7215329de9
Bug 1223310 (part 2) - Use LayoutDeviceIntRect for bounds-related functions in nsIWidget. r=kats.
...
The patch renames the existing functions (GetBounds(), GetClientBounds(), etc)
by adding an |Untyped| suffix. It then adds typed equivalents, and uses those
typed equivalents in all the call sites where it's easy to do so. The trickier
remaining call sites are converted to use the Untyped-suffix version.
2015-11-09 21:37:32 -08:00
Nicholas Nethercote
448ecbd81b
Bug 1186790 - Replace nsBaseHashtable::EnumerateRead() calls in xpfe/ with iterators. r=neil.
2015-11-01 19:50:57 -08:00
Christoph Kerschbaumer
ce2eff0ae0
Bug 1192943 - Use channel->asycnOpen2 in xpfe/components/directory/nsDirectoryViewer.cpp (r=sicking)
2015-11-02 09:55:06 -08:00
Luca Greco
0b6af7a3d8
Bug 1214174 - Add windowless browser test case. r=billm
2015-10-22 14:41:00 -04:00
Luca Greco
64be13d2f0
Bug 1214174 - Windowless WebBrowserChrome2Stub should implement nsIEmbeddingSiteWindow GetDimensions. r=billm
...
Prevents exception on accessing window's screenX, screenY, outerWidth and outerHeight properties in a windowless browser
2015-10-22 14:40:00 -04:00
Kyle Huey
fffe5cc829
Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz
2015-10-26 14:37:32 -07:00
Julian Seward
3ea6dbab37
Bug 1216945 - Uninitialised value use in nsXULWindow::SizeShellTo. r=bzbarsky.
2015-10-26 18:27:42 +01:00
Xidorn Quan
0b62860d2a
Bug 1137009 - Do not persist xul window attributes when in fullscreen. r=enndeakin
2015-10-22 11:08:35 +11:00
Nathan Froyd
e4e2da55c9
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
Wes Kocher
d8680efe42
Backed out 2 changesets (bug 1137009)
...
Backed out changeset 2c77e4edc2a5 (bug 1137009)
Backed out changeset 7a5322e5fa07 (bug 1137009)
2015-10-13 18:33:51 -07:00
Wes Kocher
351dd90680
Backed out changeset e28dde22ac26 (bug 1211344)
2015-10-13 18:33:27 -07:00
Xidorn Quan
920cd6bd3b
Bug 1211344 - Stop setting various window attributes when they are not in 'persist' attribute. r=enndeakin
2015-10-09 11:35:09 +11:00
Carsten "Tomcat" Book
d7f143eaad
Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
...
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
b9e5717f50
Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
...
Backed out changeset cfc1820361f5 (bug 1202902)
2015-10-07 12:13:45 +02:00
Shu-yu Guo
b5f316de44
Bug 1202902 - Scripted fix the world.
2015-10-06 14:00:31 -07:00
Olli Pettay
e476b40985
Bug 1209621 - Add a way to get the TabParent for the content-primary tab, r=mconley
2015-10-01 20:06:51 +03:00
Bobby Holley
708ae67ade
Bug 1072150 - Use the opt-out for various sloppy consumers. r=bz
2015-09-24 14:02:41 -07:00
Xidorn Quan
39eff92a05
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.
2015-09-24 11:39:22 +10:00
Nicholas Nethercote
69d088e45f
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.
2015-08-27 20:44:53 -07:00