Ehsan Akhgari
c2ce7e67ab
Bug 906790 - Minimize layout/base #includes; r=roc
2013-08-19 18:55:18 -04:00
Daniel Holbert
c7d45cc573
(no bug) fix typo in comment in nsHTMLReflowState: s/frames/frame's/ DONTBUILD
2013-08-19 18:10:06 -07:00
James Kitchener
20c9e8a036
Bug 827713 - Use mmultiscripts to handle all script shift elements. r=fredw
2013-08-19 09:11:50 -04:00
David Zbarsky
46c6e64d77
Bug 903283: Don't include EventTarget.h in headers r=Ms2ger
2013-08-19 06:15:55 -04:00
Phil Ringnalda
dca3d35d2b
Merge m-c to fx-team
2013-08-17 08:42:11 -07:00
Mark Capella
d531c0d7aa
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
26a0024de1
Backed out changeset 2404f5888de3 (bug 864589)
2013-08-16 16:09:46 -07:00
Mark Capella
0bd933ae38
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
faacc53e3b
(no bug, whitespace only) Remove unnecessary newline in nsFlexContainerFrame.cpp. DONTBUILD
2013-08-16 18:00:13 -07:00
Brian O'Keefe
3dadb0e396
Bug 896177 - Remove useless config.mk includes; r=gps
2013-07-17 16:06:53 -04:00
Ms2ger
6c3982af30
Merge m-c to inbound.
2013-08-14 14:47:39 +02:00
Jonathan Kew
65526d27a3
bug 904555 - clean up use of nsRect APIs in layout. r=roc
2013-08-14 13:27:20 +01:00
Ms2ger
6ec28362b3
Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar
2013-08-14 08:56:21 +02:00
Ms2ger
772a9d87b7
Bug 901269 - Part b: Stop including nsContentUtils.h in Element.h; r=jlebar
2013-08-14 08:55:46 +02:00
Kan-Ru Chen (陳侃如)
f186023681
Bug 845169 - Update touch region from remote frame. r=roc
2013-08-13 15:56:57 +08:00
Mats Palmgren
6c8170cc92
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
a16556961c
Bug 904541 - Don't #include Layers.h in nsPresContext.h. r=roc
2013-08-14 13:33:03 +02:00
Markus Stange
2486ab13ca
Bug 904539 - Don't #include ImageLoader.h in nsIFrame.h. r=roc
2013-08-14 13:29:11 +02:00
Markus Stange
ca3ed71e54
Bug 904538 - Don't #include nsITheme.h in nsIWidget.h. r=roc
2013-08-14 13:19:55 +02:00
Mats Palmgren
b60b108772
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
a8a12176ad
bug 659722 - remove _IMPL_NS_LAYOUT r=bz
2013-03-16 00:31:38 -04:00
Corey Ford
c1f2a8126d
Bug 898794 - Store normal frame position before applying relative positioning. r=dbaron
2013-08-08 17:20:17 -07:00
Mats Palmgren
b84c388d5e
Bug 898871 - Add more nsWeakFrame checks around scroll operations. r=roc
2013-08-08 22:04:59 +00:00
Mats Palmgren
1105f19374
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
9dd8b1ad80
Bug 902732: Merge nsILink and dom::Link r=bz
2013-08-08 01:26:32 -04:00
Corey Ford
6ee6484653
Bug 901610 - Use nsStyleDisplay::IsRelativelyPositionedStyle in nsLineLayout. r=dbaron
2013-08-07 11:46:44 -07:00
Ehsan Akhgari
b9560fc7d9
Bug 902111 - Forward-declare nsIFrame in nsISelectionPrivate.h; r=bzbarsky
2013-08-06 16:19:11 -04:00
John Schoenick
1dd711cad0
Bug 874843 - Fix focus race in test on windows 8. r=roc
2013-08-05 12:13:09 -07:00
Karl Tomlinson
b9829289b8
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
4e94222e60
Bug 899900 - Avoid null checking result of NS_NewBlahFrame. r=dbaron
2013-08-03 14:11:06 +10:00
Cameron McCormack
975a0a23c3
Bug 899894 - Don't null check nsStyleSet::ResolveBlah return values. r=dbaron
2013-08-03 14:11:06 +10:00
Cameron McCormack
7389a04520
Bug 899881 - Don't allow frames to have a null style context. r=dbaron
2013-08-03 14:11:05 +10:00
Benoit Girard
f8ebbcf885
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
21409e5d2c
Merge m-c to inbound.
2013-08-02 11:07:57 +02:00
Ms2ger
625b832e4f
Bug 896251 - Make nsEvent::{refPoint, lastRefPoint} LayoutDeviceIntPoints; r=smaug+kats
2013-08-02 09:05:16 +02:00
Mike Hommey
ca80cd82ad
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
a3e2043aac
Bug 900242: Mark overriding nsBlockFrame methods as MOZ_OVERRIDE. r=mats
2013-07-31 18:59:25 -07:00
Stephen Pohl
723220566e
Bug 877097: Hold strong refs to instances of ScrollbarActivity to avoid crashing. r=mats
2013-07-31 21:43:56 -04:00
Corey Ford
c0b1bad70a
Bug 898797 - Use nsHTMLReflowState::ApplyRelativePositioning when placing floats. r=dbaron
2013-07-29 21:53:13 -07:00
Martijn Wargers
644fe8405f
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
df05870c1e
Bug 894716 - Parameterize nsLayoutUtils::GetNearestScrollableFrame. r=dbaron
2013-07-30 21:01:06 -07:00
Cameron McCormack
1fce0370f0
Bug 897887 - Avoid calling ScheduleReflowSVGNonDisplayText when constructing frames during reflow. r=jwatt
2013-07-31 10:39:04 +10:00
L. David Baron
02fccb4492
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
40c4d9c17c
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
d173081945
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
085494b95d
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
3717325909
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
Ryan VanderMeulen
5857445120
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
213cb47d0c
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
0410954212
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