Граф коммитов

8655 Коммитов

Автор SHA1 Сообщение Дата
Jonathan Watt b9dc7974db Bug 664130 - Clarify some display list comments and code. r=roc. 2011-09-08 12:15:00 +01:00
Felix Fung 15053fd69e Bug 577266 - Correct misspellings in source code 2011-09-06 17:20:35 -07:00
Daniel Holbert 5bc2329864 (no bug) Fix 2 typos within comments in nsIFrame.h DONTBUILD 2011-09-07 17:19:32 -07:00
Boris Zbarsky ec1e5ec3ac Bug 683952. Speed up iterating over the continuations of the frame when scrolling to it. r=roc 2011-09-06 22:57:46 -04:00
Phil Ringnalda 549e08a7ca Back out fc945dec50bb and de06684dabc4 (bug 642551), 64c328251a24 (bug 683952) and 9d0d13998ebb (bug 684544) for orange on a CLOSED TREE 2011-09-06 21:42:54 -07:00
Boris Zbarsky 3f78ebea9c Bug 683952. Speed up iterating over the continuations of the frame when scrolling to it. r=roc 2011-09-06 22:57:46 -04:00
Ms2ger cecbef53f7 Bug 684807 - Annotate crashtest assertions on Android; r=philor 2011-09-06 18:35:43 +02:00
Matt Woodrow 280afc9d96 Bug 682922 - Disable preserve-3d on scroll frames. r=roc 2011-09-05 10:25:35 +12:00
Daniel Holbert 696a2a467f Bug 683702: In nsFrame teardown, clear the reference to me on my prev IB sibling (as well as on my next IB sibling). r=roc 2011-09-01 00:10:22 -07:00
Joshua Cranmer 78f4b91076 Bug 681634 - Get m-c to build with static checking; fix verification scripts. r=taras 2011-08-29 17:02:22 -07:00
Matt Woodrow 2f2de41c51 Bug 505115 - Part 14b - Layout support for -moz-transform-style. r=roc 2011-08-27 12:01:46 +12:00
Mounir Lamouri 0cdec313e7 Bug 675201 - Some debug outputs for intermittent orange investigation. rs=ehsan 2011-08-26 18:57:11 +02:00
Ed Morley 614e8bdc51 Merge last green changeset of m-c to m-i 2011-08-26 10:26:46 +01:00
Boris Zbarsky cd9b6abf40 Bug 682051. Optimize textframe to handle horizontal resizes of large runs of text better. r=roc
This change does two things:

1) Makes sure that we don't clear textruns when removing continuations due to
an earlier consideration expanding to contain all their text.

2) Remove continuations in chunks to work around the fact that blocks are
really bad at handling single frame removals.
2011-08-25 23:29:24 -04:00
Ed Morley 051e2a7c7e Merge last green changeset on m-i to m-c 2011-08-26 02:17:14 +01:00
Alfred Kayser ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E) 6e8022d0b4 Bug 537223 - Cleanup gfxColor.h; r=jrmuizel 2011-08-25 10:46:01 +02:00
Mats Palmgren e15517b1ab 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
Mats Palmgren ca0f246133 Bug 653649 - New way of getting child lists from frames. (part 3/5) r=roc
Update GetAdditionalChildListName consumers to use the new
child list iterator instead.
2011-08-24 22:54:29 +02:00
Mats Palmgren 24d67078b4 Bug 653649 - New way of getting child lists from frames. (part 2/5) r=roc sr=dbaron
Implement GetChildList(ChildListID) and GetChildLists(nsTArray<ChildList>*)
for various frame classes.  Remove GetAdditionalChildListName(PRInt32)
methods and associated macros and list index constants.
2011-08-24 22:54:29 +02:00
Mats Palmgren d5d8778e99 Bug 653649 - New way of getting child lists from frames. (part 1/5) r=roc sr=dbaron
Add types to represent identifiers for frame child lists, sets of those
identifiers, and iterators over the child lists of a frame.
Define a enumeration type FrameChildListID representing all of the types
of child lists that frames have (each with a unique bit), a class
FrameChildListIDs for representing any set of FrameChildListID, and a
class FrameChildListIterator for iterating over all of the child lists
of a frame.
2011-08-24 22:54:29 +02:00
Josh Matthews 5177452ea3 Bug 679791 - Make nsIFrame::IsFocusable use heuristics that don't depend on the graphical display of scrollbars. r=roc 2011-08-17 13:55:57 -04:00
Boris Zbarsky 6f48c2a533 Bug 680786. nsImageFrame::OnStartContainer should not assume that its intrinsic size has changed. r=roc 2011-08-23 17:03:02 -04:00
L. David Baron 7b267d0fe5 Remove quirks mode check that should have been removed when standards-mode and quirks-mode text-decorations were merged in bug 403524, changeset 83b2648ee442. (Bug 680505, patch 2) r=roc
This code is a little bit sketchy, but given that text-decoration
drawing is the same across modes we shouldn't have a quirks mode check
here (though there's a decent argument to be made that we shouldn't be
checking text decorations at all).
2011-08-20 21:35:56 -04:00
L. David Baron bcd86cd381 Remove overflow handling that should have been removed along with the standards-mode text-shadow of text-decoration handling in bug 403524, changeset 83b2648ee442. (Bug 680505, patch 1) r=roc
Since this affects only the *visual* overflow and not the *scrollable*
overflow, this patch should result in no behavior changes, since the
necessary visual overflow is added in
nsTextFrame::UnionAdditionalOverflow (since the text frame now draws the
shadows of text decorations, just like it draws text decorations
themselves).
2011-08-20 21:35:56 -04:00
Mats Palmgren dd33befa4a Bug 677582 - Implement CSS3 text-overflow: <left> <right> in layout. r=roc 2011-08-20 22:41:39 +02:00
Oleg Romashin 223324f15a Bug 621228 - Make plugins listening presShell SetActive calls. r=jst 2011-08-18 22:08:38 +02:00
Matheus Kerschbaum 6c7c2d158f Bug 568971 - Nuke nsIGlobalHistory3. r=mak sr=bz 2011-08-18 12:07:43 +02:00
L. David Baron 4695681430 Replace all uses of nsLayoutUtils::SetFontFromStyle with GetFontMetricsForFrame or GetFontMetricsForStyleContext and remove SetFontFromStyle. (Bug 678671, patch 2) r=roc
There was nothing wrong with SetFontFromStyle, except that it's just one
more API to think about (and one more API to audit and modify for font
inflation work to happen in bug 627842).
2011-08-14 10:08:04 -07:00
L. David Baron 914066afe4 Switch lots of callers to using nsLayoutUtils::GetFontMetricsForFrame and nsLayoutUtils::GetFontMetricsForStyleContext. (Bug 678671, patch 1) r=roc
This changes a number of callers that were previously bypassing the use
of the correct language (with either no language or the charset-detected
language on the pres context via nsPresContext::GetMetricsFor) and/or
the correct user font set to pass the correct values, which should
improve the correctness of the behavior of whatever they were using the
fonts for, and also reduce the number of unique sets of font metrics
requested (which helps nsFontCache effectiveness).
2011-08-14 10:08:04 -07:00
Ms2ger a13fbb2eed Merge m-c to m-i 2011-08-13 14:47:03 +02:00
Malini Das 840353c068 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain tests 2/2. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
Malini Das 0fa2d67771 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only 2011-08-12 12:21:36 -04:00
Matt Brubeck 993a5395d2 Merge the last green changeset from mozilla-inbound to mozilla-central 2011-08-12 06:41:55 -07:00
Ms2ger 2817f1079f Bug 677101, part c - Reduce nsIDOMText.h inclusions; r=volkmar 2011-08-11 15:29:58 +02:00
Ms2ger ff106041e6 Bug 677101, part b - Remove nsContentUtils.h includes from headers; r=volkmar 2011-08-11 15:29:50 +02:00
Robert O'Callahan ed358c4752 Bug 386444. Pass the correct current scroll position as the default value to GetCoordAttribute. r=dbaron
--HG--
extra : rebase_source : f0f11de318a050a1121669daaa5056089a5258b7
2011-08-12 10:44:29 +12:00
Vitor Menezes 921d096e2c Bug 676538: Fix regression that caused text-decorations on inline *child* of block to draw at the offset for the block rather than the inline. r=dbaron
The FrameProperty representing baseline is set when a block defines
text-decorations and has vertically-aligned children, but we were
retrieving it whether the block or the vertically-aligned frame itself
defined the decorations.  As a result, we "undo" the frame offset to get
the baseline from the child in that case.
2011-08-10 12:44:17 -07:00
Mats Palmgren b6efdf1efb Bug 663375 - When text color is darkened, darken text-decoration color too. r=dbaron 2011-08-09 17:14:36 +02:00
David Zbarsky f4e6e44142 Bug 672536 - Merge nsISelection2 into nsISelectionPrivate r=smaug 2011-08-07 16:17:00 -04:00
David Zbarsky c18023e7bc Bug 672536 - Merge nsISelection3 into nsISelection r=smaug 2011-08-07 16:18:00 -04:00
Daniel Holbert 2ac505a176 Bug 679933: When a frame is destroyed, remove next special-sibling's pointer to it. r=roc 2011-08-25 01:31:11 -07:00
Jonas Sicking 29d451d286 Bug 661297 Part 1: Remove Add/RemoveEventListenerByIID API. r=smaug 2011-08-08 11:26:26 -07:00
Vitor Menezes b750758610 Bug 223764: Inlines inside inlines that draw text-decorations shouldn't alter the baseline. (r=dbaron)
We add a baseline field to nsInlineFrame and modify
nsLineLayout::BeginSpan to take a pointer to a baseline to update. This
also means that nsFirstLetterFrame no longer needs to update its own
baseline, and instead should just pass its own field along.
2011-08-03 11:30:58 -07:00
Vitor Menezes 4cda9b951a Bug 403524: Remove the standards-mode text-decoration code and use the quirks-mode code in all modes. r=dbaron 2011-08-03 11:30:58 -07:00
Vitor Menezes 69c2c64622 Bug 403524: Draw correct colors for text-decorations on default-color shadows in quirks mode. r=dbaron
Make the quirks mode text-decoration + text-shadow code draw the
decorations for shadows that do not have a specified color using
the same color used for the un-shadowed decorations, which matches
standards mode behavior.  (The color of unspecified-color shadows
is explicitly undefined in the specification.)

This code will (in a later patch on this bug) be used for both
quirks and standards modes.
2011-08-03 11:30:58 -07:00
Vitor Menezes ca457d745b Bug 403524: Make quirks-mode text draw order comply with CSS 2.1
Quirks-mode code draws text, and then all decorations. We need to instead draw
underlines, then overlines, -then- text, then line-throughs, as per CSS 2.1.

This involves refactoring nsTextFrame::PaintTextDecorations and
nsTextFrame::DrawText by merging them together, and also updating some
of their callers.
2011-08-03 11:30:58 -07:00
Vitor Menezes fc8a2f3387 Fix apparent rounding issues with new text decoration code. (Bug 403524) r=dbaron
Rendering text decorations far away from the frame's baseline seems to
sometimes introduce rounding issues. This patch addresses that by
avoiding snapped-baseline weirdness and using a different argument to
nsTextFrame::PaintTextDecorations in some computations that didn't
really need to use the snapped baseline anyway.
2011-08-03 11:30:58 -07:00
Vitor Menezes 1aaf1f3eb4 Fix text-decoration positioning in quirks mode and set overflow areas to match. (Bug 403524) r=dbaron
Change the quirks mode text-decoration code (soon to be used for all
modes) to follow CSS 2.1's rules for positioning of decoration lines.
Decorations are now drawn at a constant vertical position established by
the element creating the decoration, and more than one of the same type
(underline, overline, line-through) of decoration are supported on the
same piece of text.

This means that text-decorations can now significantly overflow a text
frame, since the vertical-alignment of the element with text-decoration
may be substantially different from the vertical alignment of the text.
Set overflow areas for text frames with text decorations in
nsLineLayout::RelativePositionFrames since it must happen *after*
vertical alignment is done, and when relative positioning data are
consistent (nsIFrame::GetRelativeOffset matches the offset that has been
applied).
2011-08-03 11:30:58 -07:00
Jesse Ruderman 8290473bb2 Bug 673770 - Also search overflow lines for aPrevSibling. r=test-only 2011-08-03 17:55:00 +02:00
Mats Palmgren a5ebfb4a65 Bug 673770 - Also search overflow lines for aPrevSibling. r=roc 2011-08-03 17:55:00 +02:00
Marco Bonardo 498fcdf6b0 Merge last green changeset from mozilla-inbound to mozilla-central 2011-08-03 10:46:22 +02:00
Masayuki Nakano c56d31c887 Bug 675865 backout new dragginf for selection handling code from Mozilla8 r=smaug (backed out patches are: bug 552707, bug 644621, bug 670058, bug 670508, bug 671319) 2011-08-03 12:39:02 +09:00
Matt Woodrow 85e14ced8b Bug 505115 - Part 8c - Use ray tracing to untransform 2d points on a 3d plane. r=roc 2011-08-03 15:04:21 +12:00
Michael Wu d86cfe5ad7 Bug 675485 - Fix PRBool misuses found in a debug build, r=bz,taras 2011-08-01 18:20:52 -07:00
Michael Wu 7ff158aadb Bug 675561 - Calls to GetMetric should pass a pointer to PRInt32, not PRBool, r=roc 2011-08-01 18:20:52 -07:00
Michael Wu a9e7ba34c4 Bug 675556 - Switch from PRPackedBool to PRUint8 in nsILineBreaker, r=roc 2011-08-01 18:20:52 -07:00
Michael Wu 9009b73f82 Bug 675482 - Misuse of PRBool found by use of ++ or -- operators, r=jst,roc 2011-08-01 18:20:52 -07:00
Henri Sivonen a76e3c768c Bug 482909 part 2 - Implement an HTML/SVG/MathML sanitizer independently of parsers or serializers. r=bzbarsky. 2011-07-29 14:48:04 +03:00
L. David Baron b8dd21ec1b Make hypothetical box calculation consider types that are inline-outside rather than just inline. (Bug 505706) r=bzbarsky
Change the "hypothetical box" calculations that we do for 'auto'-offset
absolutely positioned elements take its inline codepath (using
horizontal position of placeholder, and placing even with the top of the
placeholder's line) rather than its block codepath (using the horizontal
edge of the containing block, and placing below the placeholder's line)
when display types are display-outside:inline types other than
display:inline.
2011-07-28 18:11:51 -07:00
Ehsan Akhgari f4a0e49607 Bug 674558 - Implement the HTML5 selectionDirection property for text controls (input and textarea); r=bzbarsky 2011-07-28 13:51:22 -04:00
Ehsan Akhgari f23ca13279 Merge mozilla-central and mozilla-inbound 2011-07-24 12:52:51 -04:00
Masayuki Nakano c96e7ab8a3 Bug 673315 part.1 selection change reason must be MOUSEUP_REASON when dragging for selection finishes normally r=smaug 2011-07-24 23:26:40 +09:00
Matt Woodrow dd8d0bcfa0 Bug 505115 - Part 5 - Use gfx3DMatrix in layout. r=roc 2011-07-23 10:28:51 +12:00
Marco Bonardo e74e9917ee Merge last green changeset from mozilla-inbound to mozilla-central 2011-07-21 14:32:10 +02:00
arno renevier b0190c2f49 Bug 669299 - Remove unneeded nsPrintfCString.h includes. r=bsmedberg 2011-07-21 04:37:31 +02:00
Mounir Lamouri 0252d92d00 Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst 2011-07-20 12:18:54 -07:00
Jonas Sicking 391d788d24 Bug 664061: Remove isindex code from layout. r=dbaron 2011-07-19 17:22:01 -07:00
Ehsan Akhgari 63320af2de Revert to changeset e0ce7821fce1 because the latest push broke all of the builds DONTBUILD 2011-07-19 16:25:54 -04:00
Mounir Lamouri b8b90bb631 Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst 2011-07-19 11:22:43 -07:00
Mounir Lamouri d4958c3309 Backed out bug 669310, bug 668013, bug 667887 and bug 669886 due to build bustage. 2011-07-19 10:49:48 -07:00
Mounir Lamouri d9d1e6dee0 Bug 669310 - Fixes various includes and forward declarations. f=Ms2ger r=jst 2011-07-18 17:05:10 -07:00
Martijn Wargers c731b02320 Bug 578977 - Don't mess with next-in-flows when the reflow status is INLINE_IS_BREAK_BEFORE. r=roc 2011-07-19 14:20:33 +02:00
Mats Palmgren f49513256d Bug 578977 - Don't mess with next-in-flows when the reflow status is INLINE_IS_BREAK_BEFORE. r=roc 2011-07-19 14:20:33 +02:00
Jesse Ruderman 4f52abeda6 Bug 671796 - "ASSERTION: unexpected block frame" with text-overflow, overflow, mathml. r=roc 2011-07-19 14:20:33 +02:00
Mats Palmgren 5fb567118a Bug 671796 - "ASSERTION: unexpected block frame" with text-overflow, overflow, mathml. r=roc 2011-07-19 14:20:32 +02:00
Masayuki Nakano 750fa6ad6d Bug 644621 Drag selection scrolling does not work properly in fullscreen and maximized mode ui=faaborg, r=roc 2011-07-18 03:35:33 +09:00
Ehsan Akhgari 7a2ee1db6e Merge the last green changeset on mozilla-inbound to mozilla-central 2011-07-15 08:13:08 -04:00
Ms2ger ddde247e90 Bug 670235 - Remove nsIDOMWindowInternal; r=sicking 2011-07-15 12:31:34 +02:00
Masayuki Nakano e35ea5b61d Bug 670508 Needs null check at starting table selection handling r=roc 2011-07-14 12:55:27 +09:00
Joe Drew 0a58e6f5f5 Bug 664299 - Pass the loading principal to imgILoader::loadImage so we can operate on it later. r=bz 2011-07-14 14:47:32 -04:00
Adrian Johnson 35dff79077 Bug 624699. Fix some landscape printing bugs. r=roc
Specifically:
1) Only rotate print output for PostScript, not PDF.
2) Rotate in the correct direction for PostScript.
3) Set the %%Orientation comment correctly.
2011-07-14 13:02:20 -04:00
Ehsan Akhgari 0a56e364d7 Merge mozilla-central and mozilla-inbound 2011-07-13 11:51:33 -04:00
Ehsan Akhgari 717df28d06 Merge the last green changeset on mozilla-inbound to mozilla-central 2011-07-13 11:40:03 -04:00
Jonathan Watt d17180d461 Bug 664130. Remove redundant isPositioned check. r=roc. 2011-07-13 08:56:39 +01:00
Benoit Girard fea3984790 Bug 663259 - Enable Mac Async plugin by default. r=cjones,mattwoodrow
--HG--
extra : rebase_source : 6d397273f10e659a08125b3861e1651a3994aaa0
2011-07-12 10:31:18 -04:00
Ed Morley adb92685ea Bug 447838 - Fix build warnings in nsTextFrameThebes.cpp; r=roc 2011-07-12 12:06:34 -04:00
Simon Montagu d1d43b4388 Make all nsBidiPresUtils methods static. Bug 624798, r=roc 2011-04-13 12:23:49 +03:00
Mats Palmgren cf4bf5fcf7 Correcting the bug number in the comment. r=me DONTBUILD 2011-07-12 12:13:20 +02:00
Masayuki Nakano 8cd98cbd6a Bug 670081 Cannot scroll any scrollable elements by drag if non-scrollable element captures mouse events r=roc 2011-07-12 10:13:24 +09:00
Jesse Ruderman 9fde1f9140 Bug 670564 - "ASSERTION: illegal left edge" in nsDisplayText::Paint. r=roc 2011-07-11 22:18:26 +02:00
Mats Palmgren c7204fd9e0 Bug 670564 - "ASSERTION: illegal left edge" in nsDisplayText::Paint. r=roc 2011-07-11 22:18:26 +02:00
Mounir Lamouri 1c487cdb9c Merge mozilla-central into mozilla-inbound. 2011-07-11 16:19:00 +02:00
Mounir Lamouri 979fa394a6 Merge mozilla-inbound into mozilla-central. 2011-07-11 16:18:03 +02:00
Masayuki Nakano d9f7f2af56 Bug 670058 part.2 Add regression test r=smaug 2011-07-11 23:13:36 +09:00
Neil Deakin 489356a697 Bug 670148, remove nsIBoxLayout, r=roc 2011-07-11 10:05:10 -04:00
Neil Deakin b0d278f9a7 Bug 670148, remove nsIScrollbarFrame, r=roc 2011-07-11 10:05:09 -04:00
Robert O'Callahan de1149163d Bug 649924. Use image surfaces to implement canvases beyond the texture size limit. r=bas 2011-07-08 22:42:21 +12:00
Masayuki Nakano 1089ca4946 Bug 670058 Stop drag handling for selection when the dragging frame selection detaches presShell r=smaug 2011-07-11 13:20:46 +09:00
Daniel Holbert a4b17e035c Fix typo in comment within nsFrame.cpp (no bug) rs=dbaron DONTBUILD 2011-07-07 17:57:55 -07:00
L. David Baron f9275334b2 Only apply overflow area reported by native theme to the visual overflow, and not to the scrollable overflow. (Bug 669284) r=bzbarsky 2011-07-06 12:03:23 +02:00
Masayuki Nakano 02f36526f8 Bug 552707 While we're expanding selection by dragging, the selection root element should capture mouse events and all scrollable elements should be scrollable r=roc+smaug, ui=faaborg 2011-07-06 11:16:18 +09:00
Simon Montagu 43c306610e Undefine caret bidi level during reflow instead of on text entry. Bug 664087, r=roc 2011-07-05 08:42:32 +03:00
Marco Bonardo 05dbbd1c5d Merge last green changeset from mozilla-inbound to mozilla-central 2011-07-04 20:26:29 +02:00
Neil Deakin 6f9ab0331e Bug 666927, clean up nsBoxFrame::GetLayoutManager to return value, r=roc 2011-07-04 10:39:10 -04:00
Mats Palmgren a597d20fb3 Bug 668919 - The ellipsis with text-overflow: ellipsis is sometimes one pixel too low. r=roc 2011-07-04 07:47:59 +02:00
Mats Palmgren 5d3f5b53c7 Bug 667010 - "ASSERTION: unexpected block frame" with text-overflow: ellipsis, <fieldset>. r=roc 2011-07-04 07:47:59 +02:00
Marco Bonardo fe30dccbab Merge last green changeset from mozilla-central to mozilla-inbound 2011-07-01 23:56:44 +02:00
Michael Ventnor 98ca32a504 Implement text-shadow for the text-overflow marker text (ellipsis) r=roc 2011-07-01 16:43:11 +10:00
Benoit Girard 8f2aba5bfb Bug 663259 - Part 2: Restore Synchronous plugin rendering, with preference for async rendering. r=smichaud 2011-06-30 12:46:26 -04:00
Benoit Girard c7abdf138f Bug 663259 - Part 1: Mac Async rendering fixes. r=josh 2011-06-30 12:46:25 -04:00
Olli Pettay d09611dbd4 Bug 666604 - Allow untrusted events to trigger a link, r=bz
--HG--
extra : rebase_source : e0b8510a039425c17a3d412241aa8f24df05558a
2011-06-30 14:52:11 +03:00
Masayuki Nakano 3b93f79717 Bug 671319 Should abort drag for selection at resetting capture r=smaug 2011-07-21 09:29:32 +09:00
Joel Maher 5e578810c3 Bug 676274 - refactor specialpowers so we can use the api in mochitest-chrome without specialpowers. r=ted, a=test-only. 2011-10-06 10:51:03 -04:00
Ehsan Akhgari 3a88be2988 Bug 692109 - The intended crash in nsIFrame::GetOffsetToCrossDoc won't actually crash with some compilers; r=tn
--HG--
extra : rebase_source : 47ddd0eb634c25ff84a49ea9a0a856e0a3ffbec8
2011-10-05 19:55:02 -04:00
Ehsan Akhgari 72e212131b Bug 692105 - Useless null check in nsFrame::IsSelectable; r=roc
--HG--
extra : rebase_source : 645624b1738073fc6b4192c08af514ec517036ab
2011-10-05 19:49:15 -04:00
Matt Brubeck 0d4f84f910 Merge mozilla-central and mozilla-inbound 2011-08-12 07:08:33 -07:00
Jeff Muizelaar 78bf7a2c9e Bug 660662. Eliminate NS_(ceil|floor). r=roc
These just called the system versions.
2011-05-30 15:08:55 -04:00
Mats Palmgren 8e0b7ea118 Bug 667653 - Make NS_FRAME_SELECTED_CONTENT on text frames less sticky. r=roc 2011-06-30 02:56:50 +02:00
Mats Palmgren 919ae5695f Bug 666669 - Restrict selection painting to the nsCharClipDisplayItem edges (same as for non-selected text). r=roc 2011-06-30 02:56:49 +02:00
L. David Baron 01caa07982 Remove NS_STYLE_LIST_STYLE_OLD_* constants to fix computed list-style-type style resulting from type attribute on lists. (Bug 665857) r=bzbarsky 2011-06-29 14:39:21 -07:00
Ehsan Akhgari f3e14ab46c Back out bug 10209 and bug 656875 (its regression fix) from Aurora because the work on this bug has not been finished yet
--HG--
extra : transplant_source : t%9F%EB%2Aa%A4%C0%9Ab%A5%DDQ%3EMD%5E%01h%E7%2A
2011-06-01 16:18:15 -04:00
Jonas Sicking c52862cdb8 Bug 664058: Remove Add/RemoveEventListenerByIID from nsImageMap and nsSliderFrame. r=smaug 2011-06-28 10:59:14 -07:00
Simon Montagu 09ec229161 Check for null frame selection. Bug 666225, r=roc 2011-06-27 19:33:28 +03:00
Simon Montagu f4de9cb8b4 Mochitest for bug 666225 2011-06-27 19:32:41 +03:00
Mounir Lamouri 19a89ff493 Backout changeset 4e87265b9c11 (bug 663259) due to Talos regression. 2011-06-27 14:52:57 +02:00
Benoit Girard d17e015c7d Enabled Mac Async plugin by default + Fixes. b=663259 r=josh 2011-06-25 15:12:59 -04:00
Craig Topper b380a043ca Bug 654369 - Part 9: Remove OOM checks from layout/generic r=bz
--HG--
extra : rebase_source : b828e73151ceb8cb59e1d8f7c0671dc88397057c
2011-04-28 22:02:16 -07:00
Craig Topper 71e5eba754 Bug 654369 - Part 10: Make nsFloatManager::StoreRegionFor return void r=bz
--HG--
extra : rebase_source : dcf1babec6d26cfaee2e050e1fbd8abca941c8eb
2011-05-08 01:00:29 -07:00
Craig Topper 0d5a55206e Bug 654369 - Part 7: Remove OOM checks from nsTextFrameThebes r=bz
--HG--
extra : rebase_source : 2cb5ce4d3f3a6d8d0e3a50c40303f8c1c098dbdf
2011-05-02 00:11:34 -07:00
Craig Topper 8d13d9d118 Bug 654369 - Part 5: Make nsFrameList::Init return void r=bz
--HG--
extra : rebase_source : 8e9aafbc53c9b7e6be24a15707c32f19d67b7c06
2011-05-01 23:32:59 -07:00
Craig Topper 3ce0f766c5 Bug 654369 - Part 4: Make nsContainerFrame::SetOverflowFrames return void
--HG--
extra : rebase_source : c75b4fd0a730a6d2804287847be735261aef92f0
2011-05-01 23:17:32 -07:00
Joel Maher 7af850d771 Bug 663844 - move layout/generic/test/*.xul to mochitest-chrome. r=ted, a=test-only 2011-06-25 13:42:23 -04:00
Ed Morley 755df8b9a0 Bug 661584 - Code cleanup, substitute more PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc,ted 2011-06-25 16:06:02 +02:00
Jesse Ruderman ce0576e983 Bug 667025 - crash test. 2011-06-25 04:21:27 +02:00
Mats Palmgren f851010d2f Backout cset 3e54c496db92 (bug 654002) for causing bug 667025. 2011-06-25 04:21:27 +02:00
Mats Palmgren c8828ce55d Bug 666751 - Crash tests. r=roc 2011-06-24 21:12:52 +02:00
Mats Palmgren 293dc66346 Bug 666751 - Add a null-check in case the item's frame is not a descendent of the text-overflow block. r=roc 2011-06-24 21:12:52 +02:00
Mats Palmgren 342ec5b835 Bug 654002 - Remove frame continuations iteratively, not recursively. r=roc 2011-06-23 01:16:00 +02:00
Mats Palmgren 7fda44fc73 Bug 312156 - Tests for CSS3 text-overflow. r=roc 2011-06-22 20:11:48 +02:00
Mats Palmgren e27374664c Bug 312156 - Implement CSS3 text-overflow. r=roc 2011-06-22 20:11:48 +02:00
Robert O'Callahan ea3f116fd1 Bug 637852. Part 20: Allow fast scrolling within transformed content. r=tnikkel
This lets us easily test scrolling with non-identity resolution.
2011-06-23 00:11:28 +12:00
Robert O'Callahan 5204f44c72 Bug 637852. Part 17: Tighten up AreLayersMarkedActive so we track exactly what properties are changing. Also, clamp resolution to power-of-2 only if the frame's transform has a scale. r=tnikkel
This lets us avoid clamping the scale in more situations. We should only clamp the scale when we think
the scale is changing due to a changing transform --- the goal of clamping is to not have to redraw the content
too often when the content is zooming in or out.
2011-06-23 00:11:28 +12:00
Robert O'Callahan 6fd07a9dde Bug 637852. Part 13: Allow snapping of text baselines to occur when there's a scale in the current transform. r=tnikkel
This allows baselines to be snapped properly when drawing into high-resolution ThebesLayers.
2011-06-23 00:11:28 +12:00
Robert O'Callahan a53cdb5b40 Bug 637852: Part 5: Create ContainerParameters structure to carry resolution scale factors through layer creation. r=tnikkel
This patch shouldn't change any behavior. It just passes the ContainerParameters around, which will contain scale factors that should have been
applied when BuildLayer returns a ContainerLayer.

This patch also adds an aTransform parameter to BuildContainerLayerFor, which nsDisplayTransform uses to set the
transform for the ContainerLayer. This way BuildContainerLayerFor knows what the container's transform is going to be
before constructing the children, which in the next patch will let us construct the children with the right resolution.
2011-06-23 00:11:27 +12:00
Ed Morley 46b06bd0a2 Bug 665723 - Fix unused variable warnings in layout/generic/; r=roc 2011-06-21 17:37:47 +02:00
Cameron McCormack 8ac14dc3aa Bug 642175 - Part 3: Make existing plugin crash mochitests clean up after themselves. r=ted 2011-06-21 12:12:15 +12:00
Mounir Lamouri 56691c9a92 Merging mozilla-central with mozilla-inbound. 2011-06-17 15:26:17 +02:00
Dão Gottwald e981b3f778 Bug 654411 - Use text color at 50% opacity instead of graytext to de-emphasize text in the location bar. r=roc ui-r=faaborg 2011-06-17 08:07:03 +02:00
Jonathan Kew 67f07fac74 bug 467669 - pt 3 - track which stage of font matching led to selection of a particular face. r=roc 2011-06-16 07:31:37 +01:00
Benjamin Stover 925590e56d Bug 656041 Some parts of page scroll at different rates in Fennec r=roc 2011-06-14 09:20:29 -07:00
Jonas Sicking 27bb948022 Bug 659539 Part 1: Give nsINodeInfos a nodeType, nodeName and localName. r=bz 2011-06-14 00:56:49 -07:00
Matt Brubeck a7ccb258bf Bug 663959 - Mark crashtests as asserting intermittently [r=ehsan] 2011-06-13 14:24:04 -07:00
L. David Baron ad20a212a0 Remove notion of percentage of intrinsic size: remove code that handles percentages (which are no longer set thanks to the previous patch) and make them invalid. (Bug 611099) r=dholbert
Needed to help CSS 2.1 meet Proposed Recommendation entrance criteria.
2011-06-12 18:52:32 -07:00
L. David Baron 3bb7d17260 Change IsPercentageAware (which tests whether an inline box's width depends on the width of its container) to check the correct general statement of when the width of a replaced element depends on its container's width, and in doing so avoid depending on the notion of percentage intrinsic size. (Bug 611099) r=dholbert
Needed to help CSS 2.1 meet Proposed Recommendation entrance criteria.
2011-06-12 18:52:32 -07:00
Masayuki Nakano 6da598099e Bug 663041 layout should use mozilla::Preferences r=roc 2011-06-12 11:30:16 +09:00
Randell Jesup e6b02b65fc Bug 505108: Don't leak strings on early returns from Area::ParseCoords(), fix how CString is freed. r=roc 2011-06-11 16:40:39 -04:00
Steven Michaud b86f9837f4 Bug 661636 - [10.7 SDK] QuickDraw APIs undefined when doing 32-bit builds using the OS X 10.7 SDK. r=bgirard 2011-06-11 09:12:58 +02:00
Michael Ventnor 121f0e1b6f Bug 663028 - Make Print Preview themable with CSS, and modernize its look r=roc 2011-06-10 20:07:26 +10:00
Simon Montagu 5b461a7e98 Bug 263359 part 1.5: remove nsDirectionalFrame. r=roc 2011-04-11 10:59:30 +03:00
Simon Montagu e27a5be9d6 Bug 263359 part 1: refactor bidi resolution code, combining InitLogicalArray and CreateBlockBuffer. r=roc 2011-04-11 10:59:30 +03:00
Ehsan Akhgari 7d70a794d9 Merge cedar into mozilla-central 2011-06-08 17:46:13 -04:00
Sebastian Kromp 1596deb657 Bug 578564. Remove nsIFrameSetElement and just use nsHTMLFrameSetElement instead. r=bzbarsky
--HG--
rename : content/html/content/public/nsIFrameSetElement.h => content/html/content/src/nsHTMLFrameSetElement.h
2011-06-08 12:04:10 -07:00
Mounir Lamouri 7b4e5a3b8b Merging cedar with mozilla-central. 2011-06-07 11:06:50 +02:00
Masayuki Nakano e195ec2a0a Bug 661101 backout a part of 9014863a7e2a which was included to the mq file unexpectedly 2011-06-07 16:44:56 +09:00
Masayuki Nakano 63df80c245 Bug 661101 widget should use mozilla::Preferences r=roc 2011-06-07 16:38:00 +09:00
Benjamin Stover 4d6e9838ab Bug 658076 nsSubDocumentFrame uses content to get docshell r=bz 2011-06-08 09:04:16 -07:00
Benoit Girard 6d3a25d2cf Asynchronous layer-based plugin painting on Mac b=598425 r=roc,josh 2011-05-19 17:08:14 -04:00
Mounir Lamouri 8ba84b2f15 Merging cedar with mozilla-central. 2011-06-03 12:06:08 +02:00
Masayuki Nakano 8218911f5f Bug 660568 nsImageFrame::IconLoad must call Preferences::RemoveObservers() r=roc 2011-06-03 15:07:10 +09:00
Matheus Kerschbaum 411e1724e7 Bug 660762 - Remove --disable-mathml support. r=roc 2011-06-02 13:11:33 +02:00
Mounir Lamouri ddf8e51f57 Merging cedar with mozilla-central. 2011-06-01 10:06:55 +02:00
Boris Zbarsky 528e63ffb2 Bug 598833 part 12. Add dom::Element::UpdateState and use it in various places where elements update their own state. r=smaug,sdwilsh,mounir 2011-05-31 21:46:57 -04:00
Boris Zbarsky 3857c96081 Bug 598833 part 7. Make IntrinsicState protected. r=smaug 2011-05-31 21:46:57 -04:00
Boris Zbarsky 5c465317b9 Bug 598833 part 1. Move IntrinsicState from nsIContent to Element. r=smaug 2011-05-31 21:46:56 -04:00
Timothy Nikkel 7def6154a1 Bug 621551. If someone is trying to get the offset between frames in different document hierarchies just crash right away so we get useful stacks. r=roc 2011-05-31 17:53:21 -05:00
Josh Aas 6c490dab8c Bug 660721: Move nsPluginInstanceOwner to its own files. r=roc
--HG--
rename : layout/generic/nsObjectFrame.cpp => dom/plugins/base/nsPluginInstanceOwner.cpp
2011-06-01 00:37:54 -04:00
Mounir Lamouri 0b763ccc08 Merging cedar with mozilla-central. 2011-05-31 12:17:48 +02:00
Simon Montagu ef3150c9f8 Don't adjust the horizontal position for text-indent on right-to-left lines. Bug 641444, r=dbaron 2011-05-31 11:03:27 +03:00
Robert O'Callahan f0290d75c5 Bug 646757. Don't construct useless nsDisplayOwnLayers. r=tnikkel 2011-05-31 11:12:06 +12:00
Simon Montagu e93a9c8549 Don't use cached inflow length for empty frames. Bug 660416, r=roc 2011-05-30 18:19:13 +03:00
Ms2ger 3398e4ecaa Bug 659743 - Part c: Reduce QIing in nsImageMap; r=smaug 2011-05-30 13:35:45 +02:00
Ms2ger 778e432ef0 Bug 659743 - Part b: Remove nsImageMapUtils; r=smaug 2011-05-30 13:00:00 +02:00
Ed Morley b15b8760c6 Bug 614515 - Remove MOZ_SVG conditions. r=roc 2011-05-30 09:34:50 +02:00
Masayuki Nakano f6d218f2cd Bug 660121 Remove all pref related methods from nsContentUtils r=roc 2011-05-29 08:42:57 +09:00
Masayuki Nakano 18e8405bf9 Bug 659913 part.3 Use AddObservers and RemoveObservers if the caller uses these methods of Preferences two or more times r=roc 2011-05-29 08:39:27 +09:00
Masayuki Nakano 69832a5d09 Bug 659913 part.1 Remove nsContentUtils::GetPrefBranch() r=roc 2011-05-29 08:39:27 +09:00
Ms2ger 90960c65a7 Bug 659113 - Remove nsIDOMNSHTMLDocument; r=bz 2011-05-28 09:43:57 +02:00
Ms2ger 05a54f951c Bug 659990 - Remove nsIDOMNSHTMLHRElement; r=peterv 2011-05-28 09:43:44 +02:00
Masayuki Nakano f64ad9e9d1 Bug 660401 Re-land the previous backed out patch 2011-05-28 16:03:00 +09:00
Masayuki Nakano 1d5d965767 Bug 660401 temporary backout the patches for bug 659820 and bug 659821 for investigating talos regression 2011-05-28 13:50:19 +09:00
Josh Aas 3ee96d1e42 Bug 653116: Sort plugins from most to least recently modified. Search them in this order for MIME/extension matches. They should also appear in this order in about:plugins. r=jst r=bent 2011-05-28 00:08:26 -04:00
Daniel Holbert 44da2d90b0 Bug 662089: Make text after #endif in nsObjectFrame.cpp into a comment, to fix build warning. r=roc 2011-06-06 11:02:28 -07:00
Ehsan Akhgari f5d88797fc Backout bug 467669 and bug 660088 2011-06-15 16:52:48 -04:00
Jonathan Kew aad8dce6e3 bug 467669 - pt 3 - track which stage of font matching led to selection of a particular face. r=roc
--HG--
extra : rebase_source : 89e65a1d612dcee7872a18a5e4bb9b3591c3a63d
2011-06-15 20:17:51 +01:00
Masayuki Nakano b8619f13f4 Bug 659820 part.4 Replace nsContentUtils::Get(Char|String)Pref() with Preferences::GetC?String() r=roc 2011-05-27 13:53:03 +09:00
Josh Aas 68f69ccff2 Bug 606641: When creating a plugin from a stream, use the same creation path for both embedded and full screen plugins. r=jst 2011-05-26 21:49:56 -04:00
Oleg Romashin 10ac99be77 Bug 624165 Cleanup plugins code, remove kill MOZ_COMPOSITED_PLUGINS and MOZ_USE_IMAGE_EXPOSE r=dougt 2011-05-25 16:54:30 -04:00
Masayuki Nakano 3b106893b1 Bug 659536 part.2 Replace nsContentUtils::GetIntPref() with Preferences::GetInt() or Preferences::GetUint() r=roc 2011-05-25 15:32:00 +09:00
Masayuki Nakano 75d9ba5fe6 Bug 659533 Replace nsContentUtils::GetBoolPref() with Preferences::GetBool() r=roc 2011-05-25 15:31:59 +09:00
Matheus Kerschbaum 679e31e4ad Bug 648911 - Remove support for non-libxul builds. r=ted,joedrew 2011-05-23 18:54:47 +02:00
Ms2ger a0fc97409f Bug 655517 - Remove nsIDOMDocumentEvent; f=ehsan r=smaug 2011-05-23 18:46:36 +02:00
Daniel Holbert ae99f5b75d Back out 0a3b9d088e3d (Bug 658750) on suspicion of causing crashtest leaks 2011-05-22 22:24:54 -07:00
Daniel Holbert 238060e775 Back out 693717fddd93 (Bug 658750) on suspicion of causing crashtest leaks 2011-05-22 22:24:52 -07:00
Craig Topper cbbbf9f169 Bug 658750 - Part 2: Make nsFrameSelection not inherit from nsISupports. r=roc 2011-05-21 16:31:39 -07:00
Craig Topper 32a0508f6a Bug 658750 - Part 1: Make nsFrameSelection methods non-virtual. r=roc 2011-05-21 00:17:16 -07:00
Robert O'Callahan ddcc788a2b Bug 656749. Only optimize away zero-opacity elements when we're painting, not for any other kind of display list construction such as plugin geometry. r=tnikkel 2011-05-23 12:28:47 +12:00
Daniel Holbert 412950a31a Merging cedar with mozilla-central. 2011-05-22 16:13:23 -07:00
Daniel Holbert 294fe217f0 Bug 658834: Remove unused variable 'sc' from nsTextFrameThebes.cpp r=jfkthame 2011-05-22 09:53:46 -07:00
Doug Turner be8d0112de Bug 653201: Remove expose image / maemo specific npapi support. r=blassey r=josh 2011-05-21 11:21:49 -04:00
Josh Aas 17caa904b0 Bug 657952: Minimize methods in nsIPluginHost. r=jst 2011-05-21 09:28:54 -04:00
Craig Topper b738f3acb7 Bug 658143 - Part 3: Remove nsFrameSelection QI and createInstance support. r=roc 2011-05-18 22:28:54 -07:00
Craig Topper 0d4bb41ead Bug 658143 - Part 1: Changes nsCOMPtr<nsFrameSelection> to nsRefPtr. r=roc 2011-05-18 20:10:49 -07:00
Simon Montagu 0231c932de Cache in-flow content length. Bug 566066, r=roc 2011-05-22 11:20:29 +03:00
Mounir Lamouri f638f0e2ab Merging cedar with mozilla-central. 2011-05-18 11:42:37 +02:00
Ed Morley a618c989ae Bug 316661 - Part A - Remove null-checks before delete. r=bsmedberg 2011-05-17 16:01:36 +02:00
Mounir Lamouri b9e532652c Backout bug 656749. 2011-05-17 13:43:10 +02:00
Robert O'Callahan 278b70a1ff Bug 656749. Only optimize away zero-opacity elements when we're painting, not for any other kind of display list construction such as plugin geometry. r=tnikkel 2011-05-17 11:05:46 +12:00
Ehsan Akhgari c4246ec726 Bug 656875 - Use the transformed dirty rectngle when building display list items for stacking context; r=roc 2011-05-16 13:27:24 -04:00
Josh Aas f6eef02c22 Bug 637253: Remove nsIPluginInstance interface. r=bsmedberg 2011-05-17 21:48:34 -04:00
Bobby Holley 2ac5b17274 Bug 653930 - Setting marginWidth and marginHeight on an iframe should trigger a reflow.r=bz 2011-05-13 10:41:00 -07:00
Jim Mathies e430619314 Bug 633282 - manual backout of 'fixup UpdatePossiblyTransparentRegion v.3' in bug 622328 due to merge conflicts. r=tn 2011-05-13 11:40:46 -05:00
Mounir Lamouri 5e26ddf354 Merging cedar with mozilla-central. 2011-05-13 10:59:05 +02:00
Robert O'Callahan 2638754ad3 Bug 648277. Ensure we request a plugin geometry update for a new windowless plugin that may need its visibilty state updated. r=tnikkel 2011-05-13 02:59:21 +12:00
Robert O'Callahan 2781d811bc Bug 650228. Invalidate ThebesLayers when a linebox is moved. r=dbaron 2011-05-13 02:59:15 +12:00
Masayuki Nakano 7ded25c607 Bug 651694 Sort out NS_PLUGIN_EVENT r=roc 2011-05-11 13:52:44 +09:00
Ed Morley fe8118b6fc Bug 545261 - Remove the debug "yikes! spinning on a line over 1000 times!" abort; r=roc 2011-05-10 20:24:48 +02:00
Ehsan Akhgari 66eaa057c5 Bug 612129 - Set the initial selection range to the beginning of the text field in order to be more compatible with other browsers; r=roc 2011-05-12 09:52:38 -04:00
Mounir Lamouri 35a2b319b8 Bug 567872 - Layout part of the progress element. r=roc,dbaron 2011-05-10 14:59:07 +02:00
Shawn Wilsher 84716dd17a Back out bug 514437, bug 567872, bug 568825, bug 633209, bug 633913, bug 634086, bug 634088, bug 634549, bug 634551, bug 638176, bug 641517, bug 641905, bug 641942, bug 642127, and bug 642667 to undo the performance regression tracked by bug 655860. 2011-05-09 15:48:39 -07:00
Mounir Lamouri d6d2614fb8 Bug 567872 - Layout part of the progress element. r=roc,dbaron 2011-05-07 10:15:14 +02:00
Jonathan Kew 2d6e9a104d bug 655207 - don't read an uninitialized entry in the hyphenation array. r=roc 2011-05-09 10:55:19 +01:00
Boris Zbarsky 5ef954d6be Merge cedar with mozilla-central 2011-05-06 20:39:36 -04:00
Ehsan Akhgari f57792c77d Bug 10209 - Part 2: Implement the absolute positioning support for all frames; r=roc 2011-04-29 19:02:33 -04:00
Ehsan Akhgari 5881405085 Bug 10209 - Part 1: Add an API for absolute container support for all frame types; r=roc 2011-04-27 19:41:43 -04:00
Jonathan Kew 1734a9f26e bug 253317 - part 5 - support none/manual/auto values for -moz-hyphens in layout. r=roc 2011-05-04 12:29:56 +01:00
Dão Gottwald cba4bc94e3 Bug 451833 - Highlight the domain name in the address bar. r=roc,sdwilsh ui-r=faaborg
--HG--
extra : rebase_source : 1010ad246e94e271a0efaaca13356aff5d4b3bc3
2011-05-02 19:50:18 +02:00
Chris Leary a0ec2b0394 Merge mozilla-central to tracemonkey. (CLOSED TREE) 2011-05-02 10:55:34 -07:00
Chris Jones 2b64655596 Bug 642381, part 3: Hoist Maybe into mfbt and eliminate Gecko's use of jstl. r=jorendorff,luke 2011-04-28 17:48:52 -05:00
Chris Jones 04ee8e53b2 Bug 642381, part 2: Rename LazilyConstructed to Maybe. r=luke 2011-04-28 17:48:51 -05:00
Benjamin Stover fb359f223e Bug 640048 Crash fix: build nsDisplayScrollLayer with a non-null frame r=roc 2011-05-01 18:53:58 -07:00
Benjamin Stover a0db0df68e Bug 640048 Fix edge case for z-ordering for async scrollable elements r=roc 2011-05-01 18:53:01 -07:00
Craig Topper 2ad37f41be Bug 648885 - Part 3: Remove nsIImageMap. r=roc
--HG--
extra : rebase_source : 179eb2e28f555d2a6159f92aa5ccd6d0af900b2b
2011-04-26 22:51:13 -07:00
Craig Topper 9c98bf6908 Bug 648885 - Part 2: Remove nsIImageFrame. r=roc
--HG--
extra : rebase_source : 3097ee732ab2ba3b7a79253f7f71c09eed22d033
2011-04-25 23:52:19 -07:00
Craig Topper e833e781d1 Bug 648885 - Part 1: Remove 'using namespace' from nsImageFrame.h. r=roc
--HG--
extra : rebase_source : a05f252ff6efb2069d4f8096ebb70eb3ad9cc4c7
2011-04-25 23:04:18 -07:00
Mark Finkle ab6ba796c7 Backed out changeset c7f62d818af2. Causes content crashes Bug 653889 2011-04-30 00:01:29 -04:00
Benjamin Stover f0af9fff3e Bug 640048 Fix edge case for z-ordering for async scrollable elements r=roc 2011-04-29 10:15:44 -07:00
Benjamin Smedberg fad6161ed0 Bug 649558 - Move modules/plugin/base to dom/plugins/base, r=josh
--HG--
rename : modules/plugin/base/src/Makefile.in => dom/plugins/base/Makefile.in
rename : modules/plugin/base/src/PluginPRLibrary.cpp => dom/plugins/base/PluginPRLibrary.cpp
rename : modules/plugin/base/src/PluginPRLibrary.h => dom/plugins/base/PluginPRLibrary.h
rename : modules/plugin/base/public/npapi.h => dom/plugins/base/npapi.h
rename : modules/plugin/base/public/npfunctions.h => dom/plugins/base/npfunctions.h
rename : modules/plugin/base/public/npruntime.h => dom/plugins/base/npruntime.h
rename : modules/plugin/base/public/nptypes.h => dom/plugins/base/nptypes.h
rename : modules/plugin/base/public/nsIHTTPHeaderListener.idl => dom/plugins/base/nsIHTTPHeaderListener.idl
rename : modules/plugin/base/public/nsIPlugin.idl => dom/plugins/base/nsIPlugin.idl
rename : modules/plugin/base/public/nsIPluginDocument.idl => dom/plugins/base/nsIPluginDocument.idl
rename : modules/plugin/base/public/nsIPluginHost.idl => dom/plugins/base/nsIPluginHost.idl
rename : modules/plugin/base/public/nsIPluginInputStream.idl => dom/plugins/base/nsIPluginInputStream.idl
rename : modules/plugin/base/public/nsIPluginInstance.idl => dom/plugins/base/nsIPluginInstance.idl
rename : modules/plugin/base/public/nsIPluginInstanceOwner.idl => dom/plugins/base/nsIPluginInstanceOwner.idl
rename : modules/plugin/base/public/nsIPluginStreamInfo.idl => dom/plugins/base/nsIPluginStreamInfo.idl
rename : modules/plugin/base/public/nsIPluginStreamListener.idl => dom/plugins/base/nsIPluginStreamListener.idl
rename : modules/plugin/base/public/nsIPluginTag.idl => dom/plugins/base/nsIPluginTag.idl
rename : modules/plugin/base/public/nsIPluginTagInfo.idl => dom/plugins/base/nsIPluginTagInfo.idl
rename : modules/plugin/base/src/nsJSNPRuntime.cpp => dom/plugins/base/nsJSNPRuntime.cpp
rename : modules/plugin/base/src/nsJSNPRuntime.h => dom/plugins/base/nsJSNPRuntime.h
rename : modules/plugin/base/src/nsNPAPIPlugin.cpp => dom/plugins/base/nsNPAPIPlugin.cpp
rename : modules/plugin/base/src/nsNPAPIPlugin.h => dom/plugins/base/nsNPAPIPlugin.h
rename : modules/plugin/base/src/nsNPAPIPluginInstance.cpp => dom/plugins/base/nsNPAPIPluginInstance.cpp
rename : modules/plugin/base/src/nsNPAPIPluginInstance.h => dom/plugins/base/nsNPAPIPluginInstance.h
rename : modules/plugin/base/src/nsNPAPIPluginStreamListener.cpp => dom/plugins/base/nsNPAPIPluginStreamListener.cpp
rename : modules/plugin/base/src/nsNPAPIPluginStreamListener.h => dom/plugins/base/nsNPAPIPluginStreamListener.h
rename : modules/plugin/base/src/nsPluginDirServiceProvider.cpp => dom/plugins/base/nsPluginDirServiceProvider.cpp
rename : modules/plugin/base/src/nsPluginDirServiceProvider.h => dom/plugins/base/nsPluginDirServiceProvider.h
rename : modules/plugin/base/public/nsPluginError.h => dom/plugins/base/nsPluginError.h
rename : modules/plugin/base/src/nsPluginHost.cpp => dom/plugins/base/nsPluginHost.cpp
rename : modules/plugin/base/src/nsPluginHost.h => dom/plugins/base/nsPluginHost.h
rename : modules/plugin/base/public/nsPluginLogging.h => dom/plugins/base/nsPluginLogging.h
rename : modules/plugin/base/src/nsPluginManifestLineReader.h => dom/plugins/base/nsPluginManifestLineReader.h
rename : modules/plugin/base/src/nsPluginModule.cpp => dom/plugins/base/nsPluginModule.cpp
rename : modules/plugin/base/src/nsPluginNativeWindow.cpp => dom/plugins/base/nsPluginNativeWindow.cpp
rename : modules/plugin/base/public/nsPluginNativeWindow.h => dom/plugins/base/nsPluginNativeWindow.h
rename : modules/plugin/base/src/nsPluginNativeWindowGtk2.cpp => dom/plugins/base/nsPluginNativeWindowGtk2.cpp
rename : modules/plugin/base/src/nsPluginNativeWindowOS2.cpp => dom/plugins/base/nsPluginNativeWindowOS2.cpp
rename : modules/plugin/base/src/nsPluginNativeWindowQt.cpp => dom/plugins/base/nsPluginNativeWindowQt.cpp
rename : modules/plugin/base/src/nsPluginNativeWindowWin.cpp => dom/plugins/base/nsPluginNativeWindowWin.cpp
rename : modules/plugin/base/src/nsPluginSafety.h => dom/plugins/base/nsPluginSafety.h
rename : modules/plugin/base/src/nsPluginStreamListenerPeer.cpp => dom/plugins/base/nsPluginStreamListenerPeer.cpp
rename : modules/plugin/base/src/nsPluginStreamListenerPeer.h => dom/plugins/base/nsPluginStreamListenerPeer.h
rename : modules/plugin/base/src/nsPluginTags.cpp => dom/plugins/base/nsPluginTags.cpp
rename : modules/plugin/base/src/nsPluginTags.h => dom/plugins/base/nsPluginTags.h
rename : modules/plugin/base/public/nsPluginsCID.h => dom/plugins/base/nsPluginsCID.h
rename : modules/plugin/base/src/nsPluginsDir.h => dom/plugins/base/nsPluginsDir.h
rename : modules/plugin/base/src/nsPluginsDirDarwin.cpp => dom/plugins/base/nsPluginsDirDarwin.cpp
rename : modules/plugin/base/src/nsPluginsDirOS2.cpp => dom/plugins/base/nsPluginsDirOS2.cpp
rename : modules/plugin/base/src/nsPluginsDirUnix.cpp => dom/plugins/base/nsPluginsDirUnix.cpp
rename : modules/plugin/base/src/nsPluginsDirUtils.h => dom/plugins/base/nsPluginsDirUtils.h
rename : modules/plugin/base/src/nsPluginsDirWin.cpp => dom/plugins/base/nsPluginsDirWin.cpp
rename : modules/plugin/base/public/nspluginroot.idl => dom/plugins/base/nspluginroot.idl
2011-04-26 17:38:43 -04:00
Boris Zbarsky 84ba703da2 Bug 654989 part 1. Allow handing out both an nsIContent and an nsStyleContext from CreateAnonymousContent. r=roc 2011-05-06 16:04:44 -04:00
Boris Zbarsky f04def28fa Bug 650379. Add a new XPCOM timer type that is like TYPE_REPEATING_PRECISE but does not swamp the event queue if the callback takes longer than the timer interval to run. r=cjones, sr=brendan
This implements proposal 3 from bug 650379 comment 13.  The main difference
between TYPE_REPEATING_PRECISE and TYPE_REPEATING_PRECISE_CAN_SKIP is to not
AddTimer the REPEATING_PRECISE_CAN_SKIP timer until after the callback has run;
this guarantees that no more timer events will be posted until after the
callback finishes executing.  A secondary change is to make
REPEATING_PRECISE_CAN_SKIP timers advance their firing time to mDelay from when
PostTimerEvent is called, not mDelay from the old mTimeout.  While this arguably
makes them less precise, the alternative is that if a timer is significantly
delayed for some reason (e.g. because the user puts the computer to sleep for a
while) it will then fire a whole bunch of times to "catch up" to where it's
supposed to be, advancing its firing time by mDelay at a time.  That seems
undesirable.

An alternate approach would have been to readd the timer from inside
PostTimerEvent, but only if we're not in the middle of firing the timer. That
would allow more precise timers in the case when the callback is not taking too
long, but still handle gracefully the case when the callback is
slow. Unfortunately this falls down if something _else_ is hogging the main
thread event loop (e.g. some other timer has a slow callback, or whatever); in
that case we would post multiple events for the one precise timer while the
event-loop-hogging operation is running. So I don't think we should do that.
2011-04-28 19:33:52 -04:00
Josh Aas 13d4ee0376 Bug 606641: Cleanup for plugin initialization. r=bz 2011-04-28 16:08:33 -04:00