Masayuki Nakano
56f538bc5a
Bug 895274 part.88 Rename NS_XUL_POPUP_SHOWN to eXULPopupShown r=smaug
2015-09-04 19:54:11 +09:00
Masayuki Nakano
930dfd9c08
Bug 895274 part.87 Rename NS_XUL_POPUP_SHOWING to eXULPopupShowing r=smaug
2015-09-04 19:54:11 +09:00
Masayuki Nakano
3394edcb4a
Bug 895274 part.83 Rename NS_DRAGDROP_EXIT to eDragExit r=smaug
2015-09-02 15:08:02 +09:00
Masayuki Nakano
a07c726a8f
Bug 895274 part.82 Rename NS_DRAGDROP_ENTER to eDragEnter r=smaug
2015-09-02 15:08:02 +09:00
Masayuki Nakano
811d0fac7e
Bug 895274 part.81 Rename NS_DRAGDROP_OVER to eDragOver r=smaug
2015-09-02 15:08:02 +09:00
Masayuki Nakano
7b7a44a5ac
Bug 895274 part.77 Rename NS_DRAGDROP_DROP to eDrop r=smaug
2015-09-02 15:08:01 +09:00
Masayuki Nakano
e1d00d44c8
Bug 895274 part.61 Rename NS_LOAD to eLoad r=smaug
2015-09-02 15:07:59 +09:00
Masayuki Nakano
b102d7ecce
Bug 895274 part.57 Rename NS_LOAD_ERROR to eLoadError r=smaug
2015-09-02 15:07:59 +09:00
Masayuki Nakano
cafe2dfc67
Bug 895274 part.51 Rename NS_CONTEXTMENU to eContextMenu r=smaug
2015-09-01 00:20:06 +09: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
ef4e2e1473
Bug 1192655 - Make menubar not react to events when it is not visible. r=enn
...
--HG--
extra : source : 91aae6b3814b973be71cf460efd6246b68048ff4
2015-08-29 11:12:41 +10:00
Masayuki Nakano
7645260328
Bug 895274 part.34 Rename NS_MOUSE_OUT to eMouseOut r=smaug
2015-08-29 08:58:32 +09:00
Masayuki Nakano
da4db5d296
Bug 895274 part.33 Rename NS_MOUSE_OVER to eMouseOver r=smaug
2015-08-29 08:58:32 +09:00
Masayuki Nakano
a516285180
Bug 895274 part.31 Rename NS_MOUSE_CLICK to eMouseClick r=smaug
2015-08-29 08:58:32 +09:00
Masayuki Nakano
b9439c75d9
Bug 895274 part.30 Rename NS_MOUSE_DOUBLECLICK to eMouseDoubleClick r=smaug
2015-08-29 08:58:31 +09: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
Masayuki Nakano
db00b74a82
Bug 895274 part.27 Rename NS_MOUSE_BUTTON_DOWN to eMouseDown r=smaug
2015-08-29 08:58:30 +09:00
Masayuki Nakano
30fdd39afb
Bug 895274 part.26 Rename NS_MOUSE_BUTTON_UP to eMouseUp r=smaug
2015-08-29 08:58:30 +09:00
Masayuki Nakano
717c415187
Bug 895274 part.25 Rename NS_MOUSE_MOVE to eMouseMove r=smaug
2015-08-29 08:58:29 +09:00
Masayuki Nakano
2fbb0f1587
Bug 895274 part.17 Rename NS_SCROLL_EVENT to eScroll r=smaug
2015-08-29 08:58:28 +09:00
Masayuki Nakano
ba5b3f3fe6
Bug 895274 part.11 Rename NS_KEY_DOWN to eKeyDown r=smaug
2015-08-29 08:58:27 +09:00
Masayuki Nakano
28c9f34179
Bug 895274 part.10 Rename NS_KEY_UP to eKeyUp r=smaug
2015-08-29 08:58:27 +09:00
Masayuki Nakano
d311a11cc1
Bug 895274 part.9 Rename NS_KEY_PRESS to eKeyPress r=smaug
2015-08-29 08:58:27 +09:00
Masayuki Nakano
0d22745cda
Bug 895274 part.3 Make the enum of event messages a named enum IGNORE IDL r=smaug
2015-08-26 21:56:59 +09:00
Masayuki Nakano
66f2c27305
Bug 895274 part.1 Rename WidgetEvent::message to WidgetEvent::mMessage r=smaug
2015-08-22 10:34:51 +09:00
Wes Kocher
06e280b35d
Merge fx-team to central, a=merge
2015-08-17 16:54:21 -07:00
Ryan VanderMeulen
47217eaaec
Bug 1195474 - Annotate 759249-1.html and 415394-1.xhtml as asserting in e10s mode. a=me
...
--HG--
extra : amend_source : 6f6f04e2566e9e74bad340ceb9238566e3a55f5e
2015-08-17 15:48:20 -04:00
Gijs Kruitbosch
60c46f11cf
Bug 1088637
- check we get the right transition event, r=Enn
...
--HG--
extra : commitid : zbwmIObuaT
extra : rebase_source : 9670ce6066a7daecc850e788c4ca72d2f1fbd1e9
extra : amend_source : 527852122ba938e40dfc8ce74804daec9485b994
2015-08-17 13:43:28 +01:00
Jonathan Kew
054796730b
Bug 1194493 - Ensure the 'mVertical' flag is set appropriately on the nsFontMetrics we use to draw text for an nsTextBoxFrame. r=smontagu
2015-08-16 15:09:08 +01:00
Aryeh Gregor
5aeef0231d
Bug 874842 - Return Event instead of nsIDOMEvent
2015-08-12 14:39:31 +03:00
Nick Robson
49e872dc7e
Bug 1075089 - Move popup menu frame offset to LookAndFeel and fix default offset for OS X. r=Enn
...
--HG--
extra : rebase_source : 7817fea6ea95e9dfc486f797114e1cfb778d5230
2015-08-04 16:41:00 -04:00
Neil Deakin
9a0bd3050d
Bug 1186972, use correct coordinates when comparing mouse position with menu anchor rectangle so that select element popups close properly, r=tn
2015-08-10 08:31:37 -04:00
Matt Woodrow
2ab56744ea
Bug 1187432 - Avoid scheduling main-thread paints for scrolls handled by apz. r=tn
...
--HG--
extra : rebase_source : 343dabda5a9bbbeac0c25b69d63d0a82f595b599
2015-08-07 15:37:56 -04: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
Robert O'Callahan
1e49288224
Bug 1184842. Pass aOldValue to all mutation observers. r=peterv
...
--HG--
extra : commitid : CYjyQn3BAqb
extra : rebase_source : ef153c7cf1e08a058d8de6a76dbe7dc343a299fb
2015-07-25 18:01:19 +12:00
Neil Rashbrook
ccc7d40581
Bug 1187846 Stack layout doesn't honour min/max sizes for positioned elements r=Enn
2015-07-31 23:21:28 +01:00
Carsten "Tomcat" Book
060e1dcfe0
Backed out changeset 7edc58c272f1 (bug 1075089) for causing OS X 10.6 marionette failures in test_single_finger_desktop.py testSingleFingerMouse.test_double_tap on a CLOSED TREE
2015-07-31 14:49:40 +02:00
Nick Robson
58f8aa5dac
Bug 1075089 - Moved popup menu frame offset to LookAndFeel, fixed default offset for OS X. r=enn
2015-07-30 15:00:00 +02:00
Matt Woodrow
71c406b6e9
Bug 1180326 - Part 6: Use SingleTiledContentClient for non-scrollable layers on b2g and OSX. r=jrmuizel
...
--HG--
extra : rebase_source : 82e5be89cedaac9c4203886b595da960bfad1f58
2015-07-29 12:03:01 -04:00
Neil Deakin
60603d86fe
Bug 1182607, use the right rectangle for a popup anchored at a rectangle when determining if the mouse click was over the anchor, r=tn
2015-07-20 08:59:50 -04:00
Jonathan Kew
4e6c40d7ea
Bug 1131451 part 1 - Replace containerWidth with containerSize in logical-coordinate classes and APIs, frame classes, etc. r=dholbert
2015-07-16 10:07:57 +01: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
Neil Deakin
8e50272316
Bug 1177000, only consider popups of the same type when determining whether a popup shouldn't reopen, this allows dropdown buttons in popup to reopen properly, r=neil
2015-07-13 06:07:49 -04:00
Geoff Brown
52d4e225a0
Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin
2015-07-10 14:41:59 -06:00
Kyle
4b077fd12e
Bug 1178971 - Changed line snapping behaviour depending on even/odd-ness of stroke width. r=mstange
...
--HG--
extra : rebase_source : bddeb31d488b74337889a874f7f60b47bf65ed2a
extra : histedit_source : 0dee20bd92d1f656bd8b97d06acf6b99febc7a02
2015-07-07 14:56:23 -04:00
Dragana Damjanovic
7987d2203e
Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell
2015-07-06 07:55:00 +02:00
Seth Fowler
11328ae7f5
Bug 1177604 - Stop delaying the load event for XUL images until the image is decoded. r=tn
2015-07-06 17:11:11 -07:00
Lee Salzman
55553857ba
Bug 771367 - Refactor GetAnimationContent and GetAnimationCollection into CommonAnimationManager to hide atom and pseudo-element voodoo. r=bbirtles
...
--HG--
extra : rebase_source : 4dd7ccea70aeb26850055388e6a8ec1aa90e5347
2015-07-01 14:43:13 -04:00
Lee Salzman
1201a3f336
Bug 771367 - Support compositor animation for pseudo-elements. r=dbaron
...
--HG--
extra : rebase_source : 9276e835dbc75aaaab718a871ed4eaa7c8389867
2015-07-01 11:55:51 -04:00
Jan de Mooij
2c2b7af49c
Bug 1177892 part 4 - Remove INT_TO_JSVAL. r=evilpie
2015-06-30 21:10:04 -07:00
Neil Deakin
1885e7075c
Bug 1149745, on Windows, menulist should select the value when the cursor keys are used to navigate items, r=neil
2015-06-26 09:32:25 -07:00
Riley Baldin
2b4d1dec41
Bug 1172011 - Remove unneeded 'spaceLeft' declaration from nsSplitterFrame.cpp. r=froydnj
2015-06-20 16:43:00 -04:00
Andrew Comminos
b5ad1a9975
Bug 1169666 - Mark reftests failing due to scrollbar transparency random on GTK3. r=karlt
2015-06-19 07:51:00 -04:00
Andrew Comminos
d9a401584e
Bug 1171696 - Don't resize scrollbar thumb when updating its position. r=mstange
...
--HG--
extra : rebase_source : 794df0a150215841ab8918863bde187ceb6edbc1
2015-06-18 12:57:00 -04:00
Ryan VanderMeulen
dd3d07f058
Bug 1157576 - Disable the test on Linux as well.
...
CLOSED TREE
2015-06-18 13:20:35 -04:00
Gijs Kruitbosch
cbb4c512e0
Bug 1157576 - disable bug706743.js on e10s, rs=enn-in-bugzilla-comment
...
--HG--
extra : rebase_source : 79af65583a432570e2d9474fd6b89bf51b920d94
2015-06-18 14:21:54 +01:00
Daniel Holbert
6a607e1b39
Bug 1170052 part 2: Support object-fit & object-position on XUL <image src=""> elements. r=seth
2015-06-12 17:31:21 -07:00
Daniel Holbert
14d4b1916f
Bug 1170052 part 1: Refactor nsImageBoxFrame::PaintImage() so its final failure case is an early return. r=seth
2015-06-12 17:31:21 -07:00
Wes Kocher
6ad3c672b5
Backed out 4 changesets (bug 1170052) for mulet reftest failures in conditions-05.svg CLOSED TREE
...
Backed out changeset 198a12989a34 (bug 1170052)
Backed out changeset 629a920112ee (bug 1170052)
Backed out changeset b84154e35c77 (bug 1170052)
Backed out changeset d3a9981cf858 (bug 1170052)
2015-06-12 12:52:47 -07:00
Daniel Holbert
fecedb0232
Bug 1170052 part 2: Support object-fit & object-position on XUL <image src=""> elements. r=seth
2015-06-12 11:40:36 -07:00
Daniel Holbert
a3e3a8c1d8
Bug 1170052 part 1: Refactor nsImageBoxFrame::PaintImage() so its final failure case is an early return. r=seth
2015-06-12 11:40:36 -07:00
Ryan VanderMeulen
505b44b386
Bug 1169243 - Re-enable the tests disabled while investigating these failures now that the underlying machine configuration issue is resolved.
...
--HG--
extra : histedit_source : 83507f6cbf3b482c2865356d32eb733628ccbd9b
2015-06-10 22:06:26 -04:00
Neil Deakin
2aa057e7ff
Bug 1170166, add a capture flag to BrowserTestUtils.waitForEvent, r=paolo
2015-06-05 08:33:29 -04:00
Masayuki Nakano
a6ac2ceb69
Bug 1163304 Close all existing popups when menubar becomes active because it should have pseudo focus and other popups shouldn't handle key events r=enn+neil
2015-05-15 20:42:14 +09:00
George Wright
654f3e7c40
Bug 1168212 - Ensure popups have a minimum width of their preferred size r=Enn
2015-06-02 13:39:30 -04:00
Gijs Kruitbosch
b706b3cd3f
Bug 1169606 - fix OSX margin for label/description and fix test rounding so it doesn't go orange, r=dao
...
--HG--
extra : rebase_source : ee46d27fce8791f203f9fadcc8024c44a7285727
extra : amend_source : e3207dddd28abf6147e43f0d899371ea0c10060b
2015-05-29 18:27:57 +01:00
George Wright
4e327f57b4
Bug 1119074 - If we're stopping event propagation from XUL popups, also stop them from crossing process boundaries r=smaug,felipe
2015-05-25 16:54:13 -04:00
Neil Deakin
759d8c25e5
Bug 873923, add a method to allow popups to be anchored at a rectangle, r=tn,mark,khuey
2015-05-08 14:49:54 -04:00
Neil Deakin
4818484538
Bug 250091, support page up and page down in menulists, r=neil
2015-05-20 13:11:06 -04:00
Eric Rahm
4879ae86f4
Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj
2015-05-19 11:15:34 -07:00
Seth Fowler
bd70e1593e
Bug 1163878 (Part 2) - Use IsImageContainerAvailable() when making layerization decisions and only call GetImageContainer() if we layerize. r=tn
2015-05-13 00:23:46 -07:00
Simon Montagu
fe1d4e7e0d
Bug 1139306: Fix margin sides for right-to-left scrollbars depending on the actual position of the scrollbar as determined by layout.scrollbar.side, r=tn
2015-05-12 01:49:25 -07: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
Kartikaya Gupta
0d34f1455a
Bug 1158933 - Prevent scrollbars from jumping while zoomed in the B2G browser. r=botond
2015-04-29 07:22:27 -04:00
Kartikaya Gupta
ca4c4fda69
Bug 1158323 - Make sure we set a base rect on document elements that have margins set. r=tn
2015-04-29 07:22:27 -04:00
Neil Deakin
7003d61769
Bug 1157276, rework test to fix intermittent failure, r=test
2015-04-28 08:20:17 -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
Markus Stange
4150b52acc
Bug 1157936 - Put the correct ratio on the scrollbar layer. r=tn
2015-04-27 14:59:17 -04:00
Ehsan Akhgari
3c14a64fec
Backout bug 1157276 because it broke the test on all platforms
2015-04-26 17:25:56 -04:00
Neil Deakin
38d7846b11
Bug 1157276, yield on mouse synthesize calls, r=test-only-change
2015-04-26 12:31:49 -04:00
Andrea Marchesini
085da9302a
Bug 1156632 - Remove unused forward class declarations - patch 5 - rdf, parser, layout and something else, r=ehsan
2015-04-22 08:29:22 +02:00
Neil Deakin
894febc41a
Bug 1155355
, e10s, rewrite and reenable browser tests in layout/xul/test, don't show tooltips during a drag, use system event listeners for tooltips, r=billm
2015-04-21 20:09:14 -04:00
Markus Stange
20468742ef
Bug 1148515 - Do the scrollbar thumb layer wrapping in nsSliderFrame so that the thumb's event region is wrapped, too. r=tn
...
--HG--
extra : rebase_source : 629c067595d3c7260b0f6b3c3a7f0b89e97b070a
2015-04-21 15:22:28 -04:00
Timothy Nikkel
8ff667521d
Backout 3c3337ed60a1 (bug 1139306) for causing bug 1156918.
2015-04-21 15:09:48 -05: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
Simon Montagu
bfb5cc9a66
Bug 1139306: Fix margin sides for right-to-left scrollbars depending on the actual position of the scrollbar as determined by layout.scrollbar.side, r=tn
2015-04-21 11:32:01 +03:00
Ehsan Akhgari
f9324092a8
Bug 1156108 - Make nsTreeColumns::mFirstColumn an nsRefPtr; r=roc
2015-04-19 16:44:13 -04:00
Ehsan Akhgari
ffad0ee63d
Bug 1156106 - Make nsMenuBarFrame::mMenuBarListener an nsRefPtr; r=roc
2015-04-19 16:44:10 -04:00
George Wright
9ac0794124
Bug 1155359 - Set NS_FRAME_IS_BIDI on nsTextBoxFrame if text direction is set to RTL r=roc
2015-04-15 16:00:29 -04:00
Gijs Kruitbosch
e3257e1ae0
Bug 1135545 - disable test on Win8 for frequent failures with no plausible explanation (showing start screen), rs=me
...
--HG--
extra : rebase_source : 715e1fb09b589d510b72c2264889fe67fe6fb72b
2015-04-16 10:12:46 +01:00
Ms2ger
f1fc41b0e5
Bug 949614 - Use === for SimpleTest.is; r=Waldo
...
This is more likely to be correct, and a necessary step in case we ever want
to move to Object.is.
This keeps ise as an alias for is, and introduces is_loosely for the old
behaviour.
2015-04-14 15:28:13 +02:00
Wes Kocher
7eb544ddbb
Merge central to inbound a=merge
2015-04-13 17:27:59 -07:00
Wes Kocher
381ed5c1ba
Merge inbound to m-c a=merge
2015-04-13 17:13:10 -07:00
Nathan Froyd
2b1ae6e2ca
Bug 1153267 - part 1 - use smart-pointer .forget() instead of NS_ADDREF+assign; r=ehsan
2015-03-31 10:03:49 -04:00
Nathan Froyd
0bc5179e71
Bug 1153253 - move nsImageBoxFrame::mRequestRegistered to pack better with other members; r=dholbert
...
Given alignment requirements on most platforms, there will be at least 3
bytes of padding after mRequestRegistered in its current location, and
at least one unused byte at the end of the structure. We can move
mRequestRegistered after mLoadFlags so that it packs properly with the
boolean flags already there for less wasted space.
2015-04-09 12:56:25 -04:00
Gijs Kruitbosch
097186ab0b
Bug 1135545 - further debug by requesting complete logs so we can see success cases, rs=me
2015-04-13 15:39:33 +01:00
David Anderson
e8a7d33638
Scrollbar thumbs can overlap scrollbar arrows during APZ scrolling. (bug 1152469, r=botond,mstange)
2015-04-12 23:03:02 -04:00
Timothy Nikkel
e4cf81f574
Bug 1150021. Make sure that boxes inside vertical RTL boxes are placed on the right. r=roc
...
nsSprocketLayout::Layout lays out its children by looping from first child to last child updating local variables x, y as it goes that keep track of the position where to layout the current child.
If the box is horizontal it works left-to-right or right-to-left according to wheather the direction of the box is normal or not. Vertical boxes work similarly top-to-bottom or bottom-to-top. Vertical boxes also respond to CSS direction styles, so that in an LTR box the child boxes are laid out flush left, but flush right in an RTL box. Herein lies the bug, some code assumes the child boxes are laid out flush right in RTL, but the code to actually position the children positions them flush left.
The code that assumes the child are laid out flush right is HandleBoxPack, which determines the origin to start laying out children at, and the code which uses HandleBoxPack to determine if the origin changed during the laying out of the children, and then shifts the children by the amount the origin shifted. The size of our box changing will, in general, change the position of the origin. So the children aren't laid out to the origin that HandleBoxPack expects they will get moved to wrong positions.
2015-04-07 02:28:57 -05:00
Seth Fowler
ea22de2fd8
Bug 1150774 (Part 2) - Use the correct units in nsDisplayImageContainer::ConfigureLayer and related code. r=botond
2015-04-07 18:55:28 -07:00
Ryan VanderMeulen
08ab36610a
Backed out changeset d23df90fc306 (bug 1150021) for frequent B2G reftest failures.
2015-04-07 11:27:14 -04:00
Timothy Nikkel
8f0c930600
Bug 1150021. Make sure that boxes inside vertical RTL boxes are placed on the right. r=roc
...
nsSprocketLayout::Layout lays out its children by looping from first child to last child updating local variables x, y as it goes that keep track of the position where to layout the current child.
If the box is horizontal it works left-to-right or right-to-left according to wheather the direction of the box is normal or not. Vertical boxes work similarly top-to-bottom or bottom-to-top. Vertical boxes also respond to CSS direction styles, so that in an LTR box the child boxes are laid out flush left, but flush right in an RTL box. Herein lies the bug, some code assumes the child boxes are laid out flush right in RTL, but the code to actually position the children positions them flush left.
The code that assumes the child are laid out flush right is HandleBoxPack, which determines the origin to start laying out children at, and the code which uses HandleBoxPack to determine if the origin changed during the laying out of the children, and then shifts the children by the amount the origin shifted. The size of our box changing will, in general, change the position of the origin. So the children aren't laid out to the origin that HandleBoxPack expects they will get moved to wrong positions.
2015-04-07 02:28:57 -05:00
Mats Palmgren
035bf0bc77
Bug 1149215
- Remove nsLayoutUtils::GetWholeImageDestination that use unitless nsIntSize. r=dholbert
2015-04-03 19:48:12 +00:00
Nathan Froyd
8bef8d02b7
Bug 1150049 - tidy up nsImageBoxFrame::Init a little bit; r=dholbert
...
We don't need to use manual NS_{ADDREF,RELEASE} here when nsRefPtr will
do that for us. The manual QueryInterface invocation only serves to do
an expensive static_cast and increase the refcount; we can forget our
reference into mListener to achieve the same effect.
2015-03-11 13:19:43 -04: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
Mats Palmgren
25fa3a4765
Bug 1148971 - Make nsITheme::GetMinimumWidgetSize return a LayoutDeviceIntSize result instead of the unit-less nsIntSize type. r=roc
2015-03-30 11:36:14 -04: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
5c532881b3
Backed out changeset 513192eb7df4 (bug 1148971) for causing bc2 memory leaks
2015-03-30 15:04:09 +02: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
Mats Palmgren
2121f47090
Bug 1148971 - Make nsITheme::GetMinimumWidgetSize return a LayoutDeviceIntSize result instead of the unit-less nsIntSize type. r=roc
2015-03-30 10:37:33 +00:00
Timothy Nikkel
9d2d565492
Bug 1133732. Header include got missed in rebase. on CLOSED TREE
2015-03-29 18:16:43 -05:00
Timothy Nikkel
12af8e918a
Bug 1133732. Make button box frames listen for blurs so they de-activate on blur. r=smaug
2015-03-29 18:05:00 -05:00
Mats Palmgren
ed9ed2d61a
Bug 1148833 part 3 - Remove nsIFrame::WillReflow and add a non-virtual MarkInReflow method instead that sets NS_FRAME_IN_REFLOW. Call it at the start of Reflow(). r=roc
2015-03-29 22:38:40 +00:00
Andrea Marchesini
e6f385fb3d
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Timothy Nikkel
0f1b02da06
Bug 1130400. Add test.
2015-03-27 01:52:39 -05:00
Geoff Brown
53daff6584
Bug 1140148 - Update mochitest manifests for Android 4.3 emulator; r=dminor
2015-03-26 20:35:35 -06:00
Timothy Nikkel
d6eff64aa4
Bug 1144951. Rename ConvertAppUnits to ScaleToOtherAppUnits. r=mats
2015-03-26 16:44:40 -05:00
Kearwood (Kip) Gilbert
d1823e40bc
Bug 969250 - Part 1: Implement scroll snapping for scrollbars (v7 Patch),r=roc
...
--HG--
extra : source : 3ed9d5170d1386e5922df6ca06765922db08968c
2015-03-25 11:40:31 -07:00
Wes Kocher
df05ff9297
Backed out 2 changesets (bug 969250) on the other theory that it broke lots of tests, forcing a prolonged CLOSED TREE
...
Backed out changeset 3c1005c81e52 (bug 969250)
Backed out changeset 3ed9d5170d13 (bug 969250)
2015-03-25 14:46:47 -07:00
Kearwood (Kip) Gilbert
398a89308c
Bug 969250 - Part 1: Implement scroll snapping for scrollbars (v7 Patch),r=roc
2015-03-25 11:40:31 -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
Stéphane SCHMIDELY
b271c86e15
Bug 1144619
- Variable 'nextX' is created in the wrong scope. r=dbaron
2015-03-19 21:00:03 +01:00
Timothy Nikkel
cac47f4cca
Bug 1130400. Part 2. Use a reflow callback to set the position of xul popups. r=enndeakin
...
During reflow our frame, or any ancestors, may not yet be placed at their final position. So calculating the screen position of our popup during our reflow could produce incorrect results.
Instead post a reflow callback to do it after reflow is finished.
2015-03-19 23:55:33 -05:00
Timothy Nikkel
ee25d81197
Bug 1143974. Add test.
2015-03-19 23:48:12 -05:00
Boris Zbarsky
dc24477d79
Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
...
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp. The
rest of this diff was generated by running the following commands:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Timothy Nikkel
7836769148
Bug 1143974. When converting the anchor rect for a xul popup make sure to actually convert for app units differences. r=mats
...
ConvertAppUnitsRoundOut returns the result, it doesn't modify |this|.
2015-03-18 03:55:01 -05:00
Seth Fowler
726d770b60
Bug 1125055 - Sync decode layerized images if necessary. r=roc,tn
2015-03-17 19:40:16 -07:00
Timothy Nikkel
223470bfe4
Bug 1130400. Part 1. Pass the passed in anchor frame to SetPopupPosition in nsMenuPopupFrame::LayoutPopup if we have one. r=enndeakin
...
Bug 562740 combined nsMenuFrame::DoLayout and nsPopupSetFrame::DoLayout to create nsMenuPopupFrame::LayoutPopup.
nsMenuPopupFrame::LayoutPopup called SetPopupPosition with this (the nsMenuFrame) as the anchor and then laid out the menu popup frame. nsPopupSetFrame::DoLayout laid out the menu popup frame and then called SetPopupPosition with the anchor argument as null.
When these were combined into nsMenuPopupFrame::LayoutPopup both SetPopupPosition call were included, the second one always passing null for the anchor even though there may be a non-null anchor passed in from the caller.
This patch simply passes the passed in anchor frame to SetPopupPosition.
2015-03-14 01:11:04 -05:00
Gijs Kruitbosch
0c1e2d28ae
Bug 1135545 - add logging to figure out bug 1135545, rs=test-only-logs
2015-03-13 13:41:37 +00:00
Jonathan Griffin
d1c61bc9b6
Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown
2015-02-06 16:30:37 -08:00
Carsten "Tomcat" Book
0a4da0c676
Backed out changeset fdd33ef9606e (bug 969250) for m5 test failures
2015-03-11 10:33:52 +01:00
Kearwood (Kip) Gilbert
bcb7c7d431
Bug 969250 - Part 1: Implement scroll snapping for scrollbars (v5 Patch). r=roc
...
--HG--
extra : rebase_source : df2b831d2cad8210b6c92122aa701fc21335ae6d
2015-03-03 17:40:00 +01:00
Alexandre Lissy
e8b4f395c0
Bug 1138442 - Disable reftests on Mulet in parity with B2G/B2G Desktop. r=ahal
2015-03-10 02:43:00 +01:00
L. David Baron
da27c29b8c
Bug 1139180 - Add BUG_COMPONENT metadata to moz.build for files in layout/. r=roc
...
--HG--
extra : transplant_source : %E16mjh%96Y%AB%96%23%A3%BDCF%F6%8D%95%BF%FE%BC
2015-03-03 17:03:19 -08:00
Jonathan Kew
6f66e94af6
Bug 1123284 - pt 2 - Fix Get{Min,Pref}ISize in nsLeafBoxFrame for vertical mode. r=smontagu
2015-03-03 16:38:49 +00:00
Jonathan Kew
8eae56249b
Bug 1123284 - pt 1 - Make nsTextBoxFrame somewhat aware of vertical writing mode, to allow <input type=file> to display properly. r=smontagu
2015-03-03 16:38:31 +00:00
Andrea Marchesini
cfcd5e95ec
Bug 1134280 - Get rid of Tag() - patch 2.11 - layout/xul - Fix all the occurrences, m=smaug, r=surkov
2015-03-03 11:09:00 +00:00
Andrea Marchesini
2c4f63331f
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
Timothy Nikkel
4776d9215a
Bug 1134293. Report the bounds of a tree body as needing component alpha and support disable component alpha in the text it might draw if asked. r=roc
2015-02-24 17:51:25 -06:00
Masayuki Nakano
98a0635a7e
Bug 1119609 part.15 Fix new orange of test_menulist_keynav.xul because it's caused by timeout of incremental search in menu r=smaug+enn
2015-02-19 15:50:20 +09:00
David Zbarsky
4da70f1fe2
Bug 1125040: Use LayoutDeviceIntPoint for mMouseDownRect r=botond
2015-02-15 13:52:28 -05:00
Seth Fowler
968637f2e8
Bug 1128769 (Part 2) - Check if we invalidated for a sync decode and never painted before invalidating for sync decoding again. r=tn
2015-02-09 23:27:39 -08:00
Karsten Düsterloh
4079abbd78
Bug 1116952 - "Treelines fragments after bug 1105104". r=jwatt
2015-02-04 17:55:00 +01:00
Seth Fowler
e9b08641d5
Bug 1128225 (Part 6) - Record the last draw result in nsDisplayXULImage and use it to decide whether to sync decode. r=tn
2015-02-04 13:50:56 -08:00
David Zbarsky
a49d65a406
Bug 1125040 - Use LayoutDeviceIntPoint in nsTitleBarFrame r=botond
2015-02-04 15:21:03 -05:00
David Zbarsky
ec6ce0074b
Bug 1125040 - Use LayoutDeviceIntPoint in XULPopupManager r=botond
2015-02-04 15:21:03 -05:00
David Zbarsky
c73ec42d2d
Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond
2015-02-04 15:21:03 -05:00
Neil Deakin
ffec61253c
Bug 1116865, add an attribute to popups to allow them to not rollup when clicking on the anchor, this is used for the new search field, r=neil, felipe
2015-02-02 15:53:53 -05:00
Paul Rouget
aeeb621d68
Bug 1118169 - Support -moz-window-dragging:drag in HTML. r=mstange r=bz
2015-02-02 15:10:51 -05:00