James Kitchener
17378468b0
Bug 827713 - Use mmultiscripts to handle all script shift elements. r=fredw
2013-08-19 09:11:50 -04:00
David Zbarsky
9ce94de31b
Bug 903283: Don't include EventTarget.h in headers r=Ms2ger
2013-08-19 06:15:55 -04:00
Phil Ringnalda
c7c7176adb
Merge m-c to fx-team
2013-08-17 08:42:11 -07:00
Mark Capella
ee2d964bb5
Bug 864589 - Show/hide text selection handles if a selection is programatically added/removed, r=margaret, ehsan
2013-08-16 21:51:41 -04:00
Wes Kocher
7c850ea632
Backed out changeset 2404f5888de3 (bug 864589)
2013-08-16 16:09:46 -07:00
Mark Capella
4d820ba757
Bug 864589 - Show/hide text selection handles if a selection is programatically added/removed, r=margaret, ehsan
2013-08-16 16:45:42 -04:00
Daniel Holbert
bf721101e0
(no bug, whitespace only) Remove unnecessary newline in nsFlexContainerFrame.cpp. DONTBUILD
2013-08-16 18:00:13 -07:00
Brian O'Keefe
61565e4086
Bug 896177 - Remove useless config.mk includes; r=gps
2013-07-17 16:06:53 -04:00
Ms2ger
f1fc9a981c
Merge m-c to inbound.
2013-08-14 14:47:39 +02:00
Jonathan Kew
c79c573b77
bug 904555 - clean up use of nsRect APIs in layout. r=roc
2013-08-14 13:27:20 +01:00
Ms2ger
1a5ae526d9
Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar
2013-08-14 08:56:21 +02:00
Ms2ger
682a633069
Bug 901269 - Part b: Stop including nsContentUtils.h in Element.h; r=jlebar
2013-08-14 08:55:46 +02:00
Kan-Ru Chen (陳侃如)
41345e7739
Bug 845169 - Update touch region from remote frame. r=roc
2013-08-13 15:56:57 +08:00
Mats Palmgren
441566e641
Bug 883568 - Call UpdateOverflow() in the scroll frame base class to actually update the overflow areas. r=roc
2013-08-10 16:55:29 +00:00
Markus Stange
1213991850
Bug 904541 - Don't #include Layers.h in nsPresContext.h. r=roc
2013-08-14 13:33:03 +02:00
Markus Stange
7e52591eee
Bug 904539 - Don't #include ImageLoader.h in nsIFrame.h. r=roc
2013-08-14 13:29:11 +02:00
Markus Stange
575a74e089
Bug 904538 - Don't #include nsITheme.h in nsIWidget.h. r=roc
2013-08-14 13:19:55 +02:00
Mats Palmgren
2019499720
Bug 904810 - Restore old default behavior on Windows that UP/DOWN go to next/prev line also when there's a selection. r=ehsan
2013-08-16 16:20:04 +00:00
Trevor Saunders
99d8dc50c9
bug 659722 - remove _IMPL_NS_LAYOUT r=bz
2013-03-16 00:31:38 -04:00
Corey Ford
9adda71475
Bug 898794 - Store normal frame position before applying relative positioning. r=dbaron
2013-08-08 17:20:17 -07:00
Mats Palmgren
a030bc32af
Bug 898871 - Add more nsWeakFrame checks around scroll operations. r=roc
2013-08-08 22:04:59 +00:00
Mats Palmgren
b0c3d1c587
Bug 898871 - Add an assertion that the pres shell was not deleted by some script runner, which should not happen here since the caller must hold a strong ref before starting the scroll operation. r=roc
2013-08-08 22:04:59 +00:00
David Zbarsky
9b8bb85a9c
Bug 902732: Merge nsILink and dom::Link r=bz
2013-08-08 01:26:32 -04:00
Corey Ford
3fcd99f543
Bug 901610 - Use nsStyleDisplay::IsRelativelyPositionedStyle in nsLineLayout. r=dbaron
2013-08-07 11:46:44 -07:00
Ehsan Akhgari
cf5e28e06b
Bug 902111 - Forward-declare nsIFrame in nsISelectionPrivate.h; r=bzbarsky
2013-08-06 16:19:11 -04:00
John Schoenick
1382dfa912
Bug 874843 - Fix focus race in test on windows 8. r=roc
2013-08-05 12:13:09 -07:00
Karl Tomlinson
6ae7b0b28c
add crashtest for bug 893523 using testcase by jruderman@gmail.com
...
--HG--
extra : transplant_source : %C9y%C9%A3%DF%BF%01%E6%A25%D4%C4%28G%FE%FF%94%2B%E9%D5
2013-08-05 14:58:10 +12:00
Cameron McCormack
fb70293fcd
Bug 899900 - Avoid null checking result of NS_NewBlahFrame. r=dbaron
2013-08-03 14:11:06 +10:00
Cameron McCormack
ad5ce3ee02
Bug 899894 - Don't null check nsStyleSet::ResolveBlah return values. r=dbaron
2013-08-03 14:11:06 +10:00
Cameron McCormack
1c674f84da
Bug 899881 - Don't allow frames to have a null style context. r=dbaron
2013-08-03 14:11:05 +10:00
Benoit Girard
3fe1857dbd
Bug 894773 - Don't force layers on single opacity change. r=roc
...
--HG--
extra : rebase_source : 1f4807150ad7776aa1e90ded322149cf57f212ff
2013-07-16 22:56:16 -04:00
Ms2ger
50634577d5
Merge m-c to inbound.
2013-08-02 11:07:57 +02:00
Ms2ger
1571fe39c1
Bug 896251 - Make nsEvent::{refPoint, lastRefPoint} LayoutDeviceIntPoints; r=smaug+kats
2013-08-02 09:05:16 +02:00
Mike Hommey
2e729aa83d
Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8
2013-08-02 10:29:05 +09:00
Daniel Holbert
695ff36341
Bug 900242: Mark overriding nsBlockFrame methods as MOZ_OVERRIDE. r=mats
2013-07-31 18:59:25 -07:00
Stephen Pohl
29b7462867
Bug 877097: Hold strong refs to instances of ScrollbarActivity to avoid crashing. r=mats
2013-07-31 21:43:56 -04:00
Corey Ford
8a75e63592
Bug 898797 - Use nsHTMLReflowState::ApplyRelativePositioning when placing floats. r=dbaron
2013-07-29 21:53:13 -07:00
Martijn Wargers
2b32beaaad
Bug 899939 - Fix some tests that still use prefBranch instead of SpecialPowers.pushPrefEnv. r=jmaher
2013-07-31 11:30:54 +02:00
Corey Ford
479716c930
Bug 894716 - Parameterize nsLayoutUtils::GetNearestScrollableFrame. r=dbaron
2013-07-30 21:01:06 -07:00
Cameron McCormack
5a0e1504b3
Bug 897887 - Avoid calling ScheduleReflowSVGNonDisplayText when constructing frames during reflow. r=jwatt
2013-07-31 10:39:04 +10:00
L. David Baron
17d38b5cc5
Bug 898893: Rename nsTextFrameThebes.cpp back to nsTextFrame.cpp, from which it originally forked. r=roc
...
This was discussed in both:
https://groups.google.com/d/topic/mozilla.dev.tech.layout/5e4O84CO-sw/discussion
https://groups.google.com/d/topic/mozilla.dev.tech.layout/Cmvapo3fWeg/discussion
--HG--
rename : layout/generic/nsTextFrameThebes.cpp => layout/generic/nsTextFrame.cpp
2013-07-30 17:36:09 -07:00
L. David Baron
c2fb56d067
Bug 898888: Transition manager should use SetStyleContext rather than SetStyleContextWithoutNotification. r=nrc
...
While debugging bug 858937 I noticed that the transition manager was
calling nsIFrame::SetStyleContextWithoutNotification rather than
nsIFrame::SetStyleContext. SetStyleContextWithoutNotification should
only be used for things that aren't really style changes, but are
instead changes we make during frame construction before things are
really initialized. Anything that's really a dynamic style change, as
these are, should use SetStyleContext.
I realize I said the opposite in bug 780692 comment 186, and bz said the
same in bug 780692 comment 204, which is why this is the state that it
is.
2013-07-30 17:36:08 -07:00
Timothy Nikkel
937aac75ae
Bug 899745. Remove top most z-index tracking from views because it is unused. r=mats
2013-07-30 16:10:28 -05:00
Ehsan Akhgari
2824b29025
Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
...
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:
# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.cc" \
-o -iname "*.mm" \) | \
xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
modules/libmar/src/mar_private.h \
modules/libmar/src/mar.h
# assert_replacer.py
#!/usr/bin/python
import sys
import re
pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")
def replaceInPlace(fname):
print fname
f = open(fname, "rw+")
lines = f.readlines()
for i in range(0, len(lines)):
while True:
index = re.search(pattern, lines[i])
if index != None:
index = index.start()
lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
for j in range(i + 1, len(lines)):
if lines[j].find(" ", index) == index:
lines[j] = lines[j][0:index] + lines[j][index+4:]
else:
break
else:
break
f.seek(0, 0)
f.truncate()
f.write("".join(lines))
f.close()
argc = len(sys.argv)
for i in range(1, argc):
replaceInPlace(sys.argv[i])
--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Ehsan Akhgari
ef4b479714
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
Ryan VanderMeulen
ab9671a83e
Backed out 6 changesets (bug 827713) for reftest failures.
...
Backed out changeset 014cc3de08fb (bug 827713)
Backed out changeset 4113172193aa (bug 827713)
Backed out changeset 27a5c8dd5ff7 (bug 827713)
Backed out changeset 6448c7e05f11 (bug 827713)
Backed out changeset b67a72618c66 (bug 827713)
Backed out changeset 1279664e0d41 (bug 827713)
2013-07-29 15:19:34 -04:00
James Kitchener
b933e0b355
Bug 827713 - Part 3: Use mmultiscripts to handle all script shift elements. r=fredw
2013-07-29 12:37:50 -04:00
Robert O'Callahan
71ed3a62d3
Bug 885009. Handle clip-all-descendants cases with rounded corners. r=mats
...
--HG--
extra : rebase_source : 284587e5fa70532bc6435f987f03c1282edc9cb8
2013-07-26 13:36:05 +12:00
Stephen Pohl
ad84285dd7
Bug 896443: Fix the z-ordering of overlay scrollbars to make them appear on top of content with z-index > 0. r=roc
2013-07-25 21:31:35 -04:00
John Schoenick
fdf8c391ef
Bug 874843 - Fix typo in test r=typo
2013-07-25 13:20:42 -07:00