Igor
27c926c49e
Bug 1197331 - remove PR_snprintf calls in miscellaneous directories. r=nfroyd
2016-08-04 16:41:00 +02:00
Mike Conley
7d6e2edba3
Bug 1261842 - Add methods to nsIDocShellTreeOwner for sizing the primary content. r=smaug
...
MozReview-Commit-ID: CqiRTVd444n
2016-07-14 16:31:41 -04:00
Mike Conley
b79bf5e9ef
Bug 1261842 - Make initial browser remote sooner if we're defaulting to using remote tabs. r=Felipe
...
MozReview-Commit-ID: 9KVzuOkJFpW
2016-06-08 17:03:42 -04:00
Mike Conley
b07becceae
Bug 1275261 - Only fire xul-window-destroyed for nsXULWindows that successfully registered. r=smaug
...
MozReview-Commit-ID: DPgPYfz3gSo
2016-06-02 10:28:28 -07:00
Mats Palmgren
058b8e530e
Bug 881832 - Make inner document reflow asynchronous. r=tnikkel
2016-05-12 12:07:45 +12:00
Phil Ringnalda
903965a65a
Back out 6 changesets (bug 881832) for failures in test_Debugger.Source.prototype.element.html
...
CLOSED TREE
Backed out changeset fac50ce10b07 (bug 881832)
Backed out changeset 32e01c144cd4 (bug 881832)
Backed out changeset 779f5336b81e (bug 881832)
Backed out changeset 95efd250e29f (bug 881832)
Backed out changeset 7fe79f07189f (bug 881832)
Backed out changeset 8ee1824f2a57 (bug 881832)
2016-05-23 18:34:49 -07:00
Mats Palmgren
4185a33eae
Bug 881832 - Make inner document reflow asynchronous. r=tnikkel
2016-05-12 12:07:45 +12:00
Phil Ringnalda
fb3bc51a33
Back out 5 changesets (bug 881832) for failures in browser_html_tooltip-02.js
...
Backed out changeset 117e8e24d714 (bug 881832)
Backed out changeset 8a0d5df41cfb (bug 881832)
Backed out changeset 6b3c5e185b04 (bug 881832)
Backed out changeset 11106afdcbe7 (bug 881832)
Backed out changeset d711b7c19a43 (bug 881832)
2016-05-11 21:08:08 -07:00
Mats Palmgren
371722e397
Bug 881832 - Make inner document reflow asynchronous. r=tnikkel
2016-05-12 12:07:45 +12:00
Gabor Krizsanits
ffe67ed139
Bug 1255138 - Window resize support from JS for e10s. r=mconley
2016-05-11 11:44:57 +02:00
Jonathan Kew
d1b2b9c68a
Bug 1259492 - Ensure window position is constrained to the screen after it has been sized properly in nsXULWindow::OnChromeLoaded. r=emk
2016-03-24 17:08:19 +00:00
Ehsan Akhgari
af67a93015
Bug 1229220 - Update the scrollbar visibility prefs when initializing a TabChild; r=smaug
...
This will make sure that window.scrollbars correctly reflects the respective
chrome flags in e10s mode.
We also update nsXULWindow::SetContentScrollbarVisibility() to the new
nsContentUtils helper. That code is responsible for doing this work in the
single process case.
2016-03-18 11:13:20 -04:00
Jonathan Kew
d93e75cf61
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
2016-03-15 14:29:44 +00:00
Carsten "Tomcat" Book
5451893d73
Backed out changeset 21e9dd187ca8 (bug 1255645)
2016-03-16 10:33:38 +01:00
Jonathan Kew
d110d818c1
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
2016-03-15 14:29:44 +00:00
Sebastian Hengst
5b5cc046bb
Backed out changeset 66fdeb1acce5 (bug 1229220) for M-e10s failure in test_fullscreen-api.html. r=backout on a CLOSED TREE
2016-03-14 23:03:37 +01:00
Ehsan Akhgari
a9d8fb3160
Bug 1229220 - Update the scrollbar visibility prefs when initializing a TabChild; r=smaug
...
This will make sure that window.scrollbars correctly reflects the respective
chrome flags in e10s mode.
We also update nsXULWindow::SetContentScrollbarVisibility() to the new
nsContentUtils helper. That code is responsible for doing this work in the
single process case.
2016-03-14 16:03:21 -04:00
Jonathan Kew
07c157fd85
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
2016-03-01 21:05:10 +00:00
Andrea Marchesini
39535fdea2
Bug 1252839 - Remove some if stmt after allocation with 'new' - patch 2, r=bz
2016-03-02 18:51:33 +01:00
Jonathan Kew
bcbf5171fd
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
f72746b593
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
Kyle Huey
e95edb30a9
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
David Rajchenbach-Teller
323ccee44c
Bug 1224374 - Profiler labels for the top 26-100 chrome hangs;r=BenWa
2016-01-15 11:38:03 +01:00
Sebastian Hengst
2e241e7e5e
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
f7045cd073
Bug 1224374 - Profiler labels for the top 26-100 chrome hangs;r=BenWa
2016-01-15 11:38:03 +01:00
Jonathan Kew
657b233fdc
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
1d40bc0f7e
Bug 890156 - patch 2 - Expose DevicePixelsPerDesktopPixel through nsIBaseWindow and its implementations. r=emk
2015-11-25 19:12:07 +00:00
Nicholas Nethercote
d8b6eda36b
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
c3c2a5bf71
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
Kyle Huey
8f8794e1c7
Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz
2015-10-26 14:37:32 -07:00
Julian Seward
1cee0d2629
Bug 1216945 - Uninitialised value use in nsXULWindow::SizeShellTo. r=bzbarsky.
2015-10-26 18:27:42 +01:00
Xidorn Quan
bdb9fc3561
Bug 1137009 - Do not persist xul window attributes when in fullscreen. r=enndeakin
2015-10-22 11:08:35 +11:00
Nathan Froyd
4e6d8f6705
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
4253235bd7
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
4e395c4871
Backed out changeset e28dde22ac26 (bug 1211344)
2015-10-13 18:33:27 -07:00
Xidorn Quan
6000e3d344
Bug 1211344 - Stop setting various window attributes when they are not in 'persist' attribute. r=enndeakin
2015-10-09 11:35:09 +11:00
Olli Pettay
1161cbda9a
Bug 1209621 - Add a way to get the TabParent for the content-primary tab, r=mconley
2015-10-01 20:06:51 +03:00
Xidorn Quan
9d8f20d7c9
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
Xidorn Quan
2c1d13f37a
Bug 1196163 part 1 - Use nsSizeMode instead of int32_t for nsIWidget::{SizeMode,SetSizeMode}. r=roc
2015-08-29 11:12:41 +10:00
Andrew Comminos
82f06188ef
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
Kyle Huey
85d7f3adf4
Bug 1182316: Part 1 - Remove FORWARD_TO_INNER_OR_THROW. r=peterv
2015-07-16 22:10:35 -07:00
Denis Volk
1872a62df8
Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj
2015-04-15 12:47:03 -04:00
Nathan Froyd
c3c6b1facf
Bug 1141689 - use services::GetObserverService more; r=ehsan
2014-04-29 13:31:06 -04:00
Nicolas Silva
c53767a0a1
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
Andrea Marchesini
6b10d5e43e
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
Mike Conley
36c3b551a5
Bug 1047603 - Make TabParent::AnswerCreateWindow force the initial browser to be remote in a new window. r=smaug.
2015-01-13 17:24:52 -05:00
Wes Kocher
3c0de68457
Backed out changeset bf25101e66cf (bug 1095098) for build bustage
2014-12-08 16:27:12 -08:00
Denis Volk
cbf9ae78f0
Bug 1095098: move do_QueryObject templates into their own header r=froydnj
2014-11-20 12:20:10 +01:00
Birunthan Mohanathas
fe7c86ea08
Bug 1047873 - Flatten xpfe/appshell/{public,src}/ directories. r=Neil
2014-08-02 13:44:23 -07:00