Xidorn Quan
2bb1280ba1
Bug 1267568 part 4 - Replace InFullscreenChange flag of PresShell with IsResizeSuppressed flag in RefreshDriver. r=smaug
...
MozReview-Commit-ID: FB3vGXwKZ9O
--HG--
extra : source : 84878dbedf8c2efe2221d7562fd69a7c4cf20971
2016-05-03 17:58:57 +10:00
Xidorn Quan
f5f00da1cc
Bug 1267568 part 3 - Use an individual method for check whether resize should be delayed. r=smaug
...
MozReview-Commit-ID: 3esSPNoDJCB
--HG--
extra : source : 058e7f13487ce0b99c8867d0bf2f0df55c986c85
2016-05-03 17:58:57 +10:00
Kyle Huey
c73656947b
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Timothy Nikkel
077c1af430
Bug 1264183. Remove unused argument to nsView::InvalidateHierarchy. r=mats
2016-04-22 00:17:15 -05:00
Masayuki Nakano
07b6f24132
Bug 1259657 Rename WidgetGUIEvent::widget to WidgetGUIEvent::mWidget r=smaug
...
MozReview-Commit-ID: 167PQWJDEHW
--HG--
extra : rebase_source : 6cd44095b9f33e03190972f043087786cbd772f2
2016-04-14 17:03:14 +09:00
Mike Conley
1cff2809c8
Bug 1264409 - Make last transaction ID available via nsIDOMWindowUtils, and pass transaction ID through MozAfterPaint. r=mattwoodrow,mrbkap
...
MozReview-Commit-ID: 7wCYif8F6ws
--HG--
extra : rebase_source : 5a87a558dbb7955c04842b6f8b71adb15ecd3370
2016-04-13 16:59:15 -04:00
Nicholas Nethercote
7d6edf2c51
Bug 1239864 (part 10) - Use the new rect iterators in view/ and widget/. r=roc.
...
--HG--
extra : rebase_source : 3d1c6ff6a1a146bd74ce57e09146bba7ea075232
2016-01-18 17:20:59 -08:00
Timothy Nikkel
6cd0b6de0f
Bug 1241651. Remove nsPresContext::GetDisplayRootPresContext. r=mattwoodrow
...
It should no longer serve any purpose different from nsPresContext::GetRootPresContext.
2016-01-21 19:09:04 -06:00
Jonathan Kew
46b5136c09
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
Bogdan Postelnicu
fe8207f2b1
Bug 1237227 - Check the return of context->GetDisplayRootPresContext() for validity. r=roc
...
--HG--
extra : rebase_source : 08147418a911616ac41b0fa62b33a8f39513fcff
2016-01-06 04:32:00 -05:00
Nicholas Nethercote
82700fe5f9
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.
--HG--
extra : rebase_source : e5e0af18c57f1c44995832b403edc7eee939dc31
2015-12-02 21:45:41 -08:00
Nicholas Nethercote
5a37352d4a
Bug 1229665 - Convert widget clip regions to LayoutDevicePixels. r=botond.
...
--HG--
extra : rebase_source : 315ac98884f84f3b5d53f156f3e02ddde3a57dbc
2015-12-02 14:32:55 -08:00
Nicholas Nethercote
90bbac13cc
Bug 1229237 (part 3) - Make nsIWidget::Invalidate() take a LayoutDeviceIntRect. r=botond.
...
--HG--
extra : rebase_source : 1afe44a5ab2a3d5478010fc23ba1891ab297bde6
2015-11-16 21:18:31 -08:00
Nicholas Nethercote
1fb25d8609
Bug 1229237 (part 1) - Make nsIWidget::{Create,CreateChildren}() take a LayoutDeviceIntRect. r=botond.
...
--HG--
extra : rebase_source : 08407e76083534ad39dd34d2535ec09c95e506db
2015-11-16 00:35:18 -08:00
Nicholas Nethercote
af08555b74
Bug 1228125 (part 3) - Remove nsIWidget::GetClientBoundsUntyped(). r=botond.
...
--HG--
extra : rebase_source : 5e8cb05213c33983d7deebe0a36f2a4f6ac66375
2015-11-25 20:55:36 -08:00
Nicholas Nethercote
e60696c015
Bug 1228125 (part 1) - Remove nsIWidget::GetBoundsUntyped(). r=botond.
...
This requires adding a new overloading of LayoutDevicePixel::ToAppUnits and a
new PixelCastJustification: LayoutDeviceIsParentLayerForRCDRSF.
--HG--
extra : rebase_source : b6d044619918818815b40c1173aa4e0551db28a1
2015-11-25 20:32:47 -08:00
Nicholas Nethercote
ad0dd8414a
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.
--HG--
extra : rebase_source : 6bfb15bfc4698e2eba7d4db55497299d3dffcd51
2015-11-09 21:37:32 -08:00
Ryan VanderMeulen
58e04dabc8
Bug 540078 - Remove assertion annotations that are no longer needed and add crashtest.
2015-10-30 19:41:18 -04:00
Victor Porof
059ab0384d
Bug 1211841
- Style off the main thread markers differently, r=jsantell
2015-10-28 11:00:52 +01:00
Victor Porof
9dc0ce6b1a
Bug 1202657 - Add markers for workers' message passing and serialization/deserialization, r=smaug, jsantell, tromey, ejpbruel
...
--HG--
rename : docshell/base/timeline/OTMTMarkerReceiver.h => docshell/base/timeline/MarkersStorage.h
2015-10-21 23:10:05 +02:00
Nathan Froyd
01583602a9
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
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Nathan Froyd
6e137587df
Bug 1207161 - fix run-by-dir leak in test_bug846906.xul; r=mccr8
2015-10-12 21:41:35 -04:00
Masayuki Nakano
cbb2aaf075
Bug 895274 part.143 Rename NS_PLUGIN_INPUT_EVENT to ePluginInputEvent r=smaug
2015-09-08 23:33:38 +09:00
Ryan VanderMeulen
0f38752ebc
Merge inbound to m-c. a=merge
2015-08-31 15:21:02 -04:00
Victor Porof
e14eb49e91
Bug 1195232 - Stop using TracingMetadata from GeckoProfiler.h, r=tromey
2015-08-31 16:14:14 +02:00
Masayuki Nakano
bd4bf17fbd
Bug 895274 part.29 Rename NS_MOUSE_EXIT_WIDGET to eMouseExitFromWidget r=smaug
2015-08-29 08:58:31 +09:00
Masayuki Nakano
9895f90eca
Bug 895274 part.28 Rename NS_MOUSE_ENTER_WIDGET to eMouseEnterIntoWidget r=smaug
2015-08-29 08:58:31 +09:00
Xidorn Quan
02e64b9ce8
Bug 1177155 part 1 - Defer resize reflow and freeze refresh driver during window fullscreen change. r=smaug
...
--HG--
extra : source : 4b2ad889658bdb2b0f03c9476db0ceb2d81611e9
2015-08-27 23:14:49 +10: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
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
Victor Porof
a79634e0d2
Bug 1050498 - Record compositing operations, r=jsantell,smaug,tromey
2015-08-25 08:51:58 +03:00
Masayuki Nakano
66f2c27305
Bug 895274 part.1 Rename WidgetEvent::message to WidgetEvent::mMessage r=smaug
2015-08-22 10:34:51 +09:00
George Wright
f12a9fe441
Bug 1157941 - If the current PresShell is suppressed, paint the old one if it is available r=tn,Enn
2015-07-21 21:09:02 -04:00
Jeff Muizelaar
88a9b35787
Bug 1186025. Optimize the usage of regions. r=mstange
...
This eliminates a bad idiom in some places.
--HG--
extra : rebase_source : 362b6e88e074888ded8a02f930d5ffbf1e31ec86
2015-07-21 10:54:44 -04:00
Andrew Comminos
3bdf142d83
Bug 1177171 - Round widget coordinates on GTK3. r=karlt
...
--HG--
extra : rebase_source : ac32281d7251453c5075fc0dc22c7461af5f32f6
2015-06-29 11:50:00 -04:00
Andrew Comminos
065394444c
Bug 1170158
- Apply GTK2 reftest exceptions to GTK3. r=karlt
2015-06-02 13:47:00 -04:00
Timothy Nikkel
a792ad70d0
Bug 1159772. Don't let nsContainerFrame::SyncWindowProperties make widget calls that can result in synchronous painting during reflow or frame construction. r=mats
...
Specifically on Windows nsIWidget::SetTransparencyMode can result in sync painting.
So we give nsContainerFrame::SyncWindowProperties a sync or async option and use the view manager post pending update infrastructure to flush SyncWindowProperties calls async.
2015-05-04 14:29:19 -05:00
Anthony Tseng
6fe5a1137f
Bug 1158425 - Rename _SYNTH event names. r=smaug
...
--HG--
extra : rebase_source : 533cc7e18cf7f92d95a146d61f7aa2da7c0b8e48
2015-05-01 22:06:00 -04: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
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
Ehsan Akhgari
181a204ef7
Bug 1156110 - Make nsView::mWindow an nsCOMPtr; r=roc
2015-04-19 16:44:15 -04:00
Olli Pettay
c3dca4be1e
Backout Bug 930793 because of talos regressions,r=backout
...
--HG--
extra : rebase_source : bf5d4de1b80e114d3e2172a205bf850f68019d38
2015-04-13 19:02:27 +03:00
Olli Pettay
eb314fb48f
Bug 930793 - Remove favor performance mode, r=avih,roc
...
--HG--
extra : rebase_source : a112b660baa240afd5f0022cd869c96b59418789
2015-04-12 23:08:55 +03:00
Timothy Nikkel
95749abe54
Bug 1150363. Remove unused mInScroll from nsViewManager. r=mats
2015-04-02 16:12:23 -05:00
Mats Palmgren
1aeda3bb8d
Bug 1149035 - Make nsXULPopupManager::PopupResized take a LayoutDeviceIntSize param instead of a unit-less nsIntSize. r=roc
2015-03-30 11:36:01 -04:00
Carsten "Tomcat" Book
01ecf36bdd
Backed out changeset 9ac36968bff2 (bug 1149035)
2015-03-30 15:03:30 +02:00
Mats Palmgren
eedeead903
Bug 1149035 - Make nsXULPopupManager::PopupResized take a LayoutDeviceIntSize param instead of a unit-less nsIntSize. r=roc
2015-03-30 10:37:34 +00:00
Timothy Nikkel
d6eff64aa4
Bug 1144951. Rename ConvertAppUnits to ScaleToOtherAppUnits. r=mats
2015-03-26 16:44:40 -05: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
pchang
973e75beb3
Bug 1137109 move the displaylist tracing inside nsViewManager::ProcessPendingUpdates, r=benwa, mattwoodrow
2015-03-03 18:01:16 +08:00