Arnaud Sourioux
c55abda61c
Bug 919806: Get rid of NS_IMETHOD in nsIFrame.h and its implementations r=dholbert
2014-02-17 23:47:48 -08:00
L. David Baron
c7542495f9
Bug 91419 patch 6: Rename everything with IBSplitSpecialPrevSibling to IBSplitPrevSibling. r=mats
2014-02-06 17:45:31 -08:00
L. David Baron
767701956b
Bug 91419 patch 5: Rename everything with SpecialSibling to IBSplitSibling. r=mats
2014-02-06 17:45:31 -08:00
Cameron McCormack
0ce2f4049f
Bug 960899 - Add debug function and lldb command to print frame state symbolically. r=dbaron
2014-01-18 18:08:22 +11:00
Phil Ringnalda
90dfe036b7
Back out 191a71ff02bf (bug 960899)
...
CLOSED TREE
2014-02-04 21:37:12 -08:00
Cameron McCormack
415b10b9c6
Bug 960899 - Add debug function and lldb command to print frame state symbolically. r=dbaron
2014-01-18 18:08:22 +11:00
Timothy Nikkel
6d096d724f
Bug 962443. Make layout frame tree dumping code work better for Fennec and b2g. r=mats
2014-01-26 16:07:02 -06:00
Mats Palmgren
a56486443d
Bug 956447 - Make it possible to get frame dumps in non-DEBUG builds. r=roc
2014-01-05 23:31:14 +00:00
Jonathan Kew
279981cdc3
bug 735577 - pt 4.1 - use accessor functions for some physical-coordinate fields in nsHTMLReflowMetrics, in preparation for logicalization. r=smontagu
2013-12-27 17:59:52 +00:00
Ehsan Akhgari
7c63dd132d
Bug 921753 - Part 1: Avoid #including nsStyleStructInlines.h in nsIFrame.h; r=roc
...
This patch reduces the number of files that transitively #include
gfx/2d.h from 1782 to 1582.
2013-10-01 17:00:38 -04:00
Daniel Holbert
e6296122b0
Bug 874418: Assert that placeholders are reflowed before their out-of-flows. r=bz
2013-05-21 12:15:57 -04:00
Phil Ringnalda
1e69ae8f24
Back out affd9b74be00 (bug 874418) for unexpected crashtest assertions
...
CLOSED TREE
2013-05-24 19:00:38 -07:00
Daniel Holbert
29b55f6fb5
Bug 874418: Assert that placeholders are reflowed before their out-of-flows. r=bz
2013-05-21 12:15:57 -04:00
Mats Palmgren
377ee51cc1
Bug 866785 - Move repeated nsIFrame::List implementations code to a new method, ListGeneric, for re-use. Cleanup and improve the code a bit. r=roc
...
Specifically:
* move all the frame dump methods to nsIFrame. Especially nsFrame::ListTag
was annoying, often requiring a cast to nsFrame*.
* print common values in the same order for all types of frames
* print fluid continuations as "next-in-flow=%p" and non-fluid as
"next-continuation=%p" (as before)
* print the style-context more compactly, e.g.
"[sc=0x7faa6b60e0a0] pst=:first-line" becomes
"[sc=0x7faa6b60e0a0:first-line]"
* suppress printing visual/scroll-overflow rects when they are identical
to mRect and do the same for nsLineBox::List where it was especially
hard to see which lines actually had real overflow
* fix a bug that printed the child list name at the far right when the
principal list was empty (making it hard to see)
* print the address of child lists (other than the principal list) to
help debug frame list property bugs
* s/NS_IMETHODIMP/void/
2013-04-30 20:38:52 +02:00
Robert O'Callahan
b18cd55753
Bug 840902. Part 2: Remove nsresults from various display list methods. r=mattwoodrow
2013-02-15 00:12:27 +13:00
Mats Palmgren
c088a5d450
Bug 839839 - Minor nsPlaceholderFrame code cleanup. r=dholbert
2013-02-11 03:28:50 +01:00
Matt Woodrow
e813da3696
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
2012-08-29 17:39:31 +12:00
Ed Morley
ed4fe023b5
Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE
2012-09-27 16:34:46 +01:00
Matt Woodrow
24eaff95c9
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-08-29 17:38:58 +12:00
Chris Lord
8cbb24d8a8
Bug 788202 - Add optional subdocument traversal to nsIFrame::List. r=bz
...
Add subdocument frame traversal to nsIFrame::List, controlled via an optional
flag.
2012-09-19 15:36:35 +01:00
Chris Lord
8090b0471d
Backout bug 788202 for build failures.
2012-09-19 14:05:26 +01:00
Chris Lord
471684499c
Bug 788202 - Add optional subdocument traversal to nsIFrame::List. r=bz
...
Add subdocument frame traversal to nsIFrame::List, controlled via an optional
flag.
2012-09-19 12:39:53 +01:00
Ehsan Akhgari
243c878d26
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
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 "*.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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Jonathan Kew
79d287cbb1
bug 769303 - precompute intrinsic width of floats. r=roc
2012-08-10 12:16:52 +01:00
Cameron McCormack
30ac972c28
Bug 655877 - Part 14: Ignore float in SVG text frames. r=roc
2012-08-02 21:38:49 +10:00
Aryeh Gregor
8b4a23fc4c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Cameron McCormack
b38d2a0f52
Bug 772355 - Use nsStyleDisplay::IsFloating in a couple of places rather than inspecting mFloats. r=roc
2012-07-10 20:34:42 +10:00
Ehsan Akhgari
d07e155f48
Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions
2012-07-03 20:24:55 -04:00
Matt Woodrow
145d424c02
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-06-30 15:06:11 +12:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Matt Woodrow
cd8cf4b110
Bug 729955 - Invalidate destroyed out-of-flow frames before unregistering the placeholder frame. r=bz
2012-03-26 11:27:37 -07:00
Matt Woodrow
439a12dca2
Bug 721082 - Constify nsIFrame::GetParentStyleContextFrame. r=roc
2012-02-15 22:28:21 +13:00
Nicholas Nethercote
c8d93dc02b
Bug 711908 - Fix a bunch of GCC warnings in layout. r=dbaron.
2011-12-19 19:46:39 -08:00
Boris Zbarsky
fa7facbc26
Merge backout of bug 641341.
2011-11-07 00:27:17 -05:00
Boris Zbarsky
d034b6ad5c
Backed out changeset 0cd9ed297f73 (bug 641341) to fix bug 696175. r=roc
2011-11-07 00:25:56 -05:00
Boris Zbarsky
599be0c77c
Bug 641341. Speed up CalculateHypotheticalBox for the case of a block containing a bunch of lines but absolutely no in-flows anywhere. r=roc
2011-10-04 23:47:08 -04:00
Michael Wu
0fe7772ece
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
2011-09-28 23:19:26 -07:00
Mats Palmgren
886a8f934d
Bug 685154 - Cleanup nsIFrame::GetParentStyleContextFrame and related code. r=roc
...
Make nsIFrame::GetParentStyleContextFrame return the frame directly
instead of indirectly through an out parameter. Remove the unused
nsPresContext parameter.
2011-09-12 09:08:07 -07:00
Ehsan Akhgari
478ad1a412
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Mats Palmgren
4e2a044a66
Bug 653649 - New way of getting child lists from frames. (part 4/5) r=roc
...
Remove the nsIAtom* child list names and use child list ID enum instead.
2011-08-24 22:54:30 +02:00
Jan Küchler
8774547613
Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
2011-04-07 18:04:40 -07:00
Robert O'Callahan
6994544c46
Bug 584282. Add nsDisplayItem::mToReferenceFrame and initialize it in the constructor. r=tnikkel,a=dbaron
2010-08-13 22:01:13 +12:00
fantasai
44ff38790c
Do IsProperAncestorFrame check before destroying floats, but not for popups. (Bug 588158) r=dbaron a2.0=blocking
2010-08-19 09:38:00 -04:00
Michael Ventnor
c40f8edbb0
Bug 564991. Part 3: Create unique nsDisplayItem types for every single display item. r=tnikkel
2010-07-16 09:07:49 +12:00
Timothy Nikkel
d722d5e2ec
Bug 574756. Make sure nsIFrame::List outputs the stylecontext of the frame. r=dbaron
2010-06-25 16:51:17 -05:00
Neil Deakin
ba2621867b
Bug 533714, use a size of (0,0) for placeholders, prevents popups from taking up space when not open, r=bz
2010-06-21 08:37:35 -04:00
Daniel Holbert
4ed9eaadf9
Bug 571059: Update debugging printfs to treat nsFrameState objects as 64-bit & fix build warnings. r=dbaron
2010-06-10 11:26:57 -07:00
fantasai
f76a01be55
Bug 508473 part III: Pass destruction root to frame destruction methods r=bz sr=roc
2009-12-24 00:21:15 -05:00
fantasai
9e51dfaf9b
Bug 508473 Part II: Remove DeletingFrameSubtree r=bz sr=roc
2009-12-24 00:20:41 -05:00
Boris Zbarsky
19b4ba4ee2
Bug 518114 part 2. Use state bits to keep track of what a placeholder is a placeholder for. r=roc
2009-11-16 16:00:07 -05:00