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

4190 Коммитов

Автор SHA1 Сообщение Дата
cbiesinger%web.de 78347c9170 Bug 309521
- add pseudo-classes for :-moz-type-unsupported and :-moz-has-handlerref (and a
  content state for the former)
  - make nsObjectLoadingContent return the right content state
- Add an XBL binding that gets instantiated for broken plugins
  - Make it themable
- Remove a lot of now-unused code in nsObjectFrame
- Fixes pluginfinder.
r+sr=bz, r=mconnor
2005-12-29 14:15:33 +00:00
cvshook%sicking.cc e322141c90 Fix build bustage 2005-12-28 22:11:27 +00:00
cvshook%sicking.cc 031a1befce Bug 284950: DeCOMTaminate nsIContent::GetAttrNameAt
r/sr=bz
2005-12-28 21:52:39 +00:00
uriber%gmail.com 6280075dfa Bug 321487: Crash when moving caret backwards over text frame consisting of a single CR [nsTextFrame::PeekOffset]. r=rbs sr=bzbarsky 2005-12-27 15:15:40 +00:00
cbiesinger%web.de 8d81b8a6b6 Bug 321504 Remove unneeded uses of nsIDocumentLoader
r+sr=bz
2005-12-26 16:45:59 +00:00
timeless%mozdev.org 4e19547eef Bug 321393 Clicking on page in print preview causes crash [@ GetOffsetsOfFrame]
patch by sharparrow1@yahoo.com r=roc sr=roc
2005-12-25 19:01:45 +00:00
uriber%gmail.com cf09040b6c Bug 319705: Crash when deleting comment line selected with triple click [@nsFontMetricsWin::ResolveForwards]. r+sr=bzbarsky 2005-12-25 14:27:14 +00:00
dbaron%dbaron.org 8f155f202b Use a more accurate test for first reflow (and one that won't go away soon). b=307979 r+sr=roc 2005-12-21 03:32:25 +00:00
dbaron%dbaron.org ba9511db6f Use IsContainingBlock rather than testing for block frame when looking for the placeholder's containing block for auto offsets; for non-blocks, just use the placeholder Y coordinate for auto-top. b=253479 r+sr=roc 2005-12-21 03:30:28 +00:00
dbaron%dbaron.org 7455e48a05 Fix insertion at end of textarea creating an extra pseudo-linebreak. b=319664 Patch by Eli Friedman <sharparrow1@yahoo.com>. r+sr=roc 2005-12-20 09:13:47 +00:00
roc+%cs.cmu.edu a8d5bf14f2 Bug 318425. Make sure the scrolled frame's view is set to include the overflow area of its frame. r+sr=dbaron 2005-12-19 01:07:41 +00:00
dbaron%dbaron.org 35c7456a63 Back out part of previous patch since it's a static/dynamic inconsistency. 2005-12-17 19:11:40 +00:00
dbaron%dbaron.org b73a65b5c6 Skip anonymous table objects (and our extra cell content box) when finding parents for style contexts of their descendants during style reresolution. b=289517 Patch from Boris Zbarsky <bzbarsky@mit.edu>. r+sr=dbaron 2005-12-17 18:58:47 +00:00
dbaron%dbaron.org 512a7260de Don't store or use a widget in the delayed caret data; it's not important, and it might have been destroyed. b=307989 r+sr=roc 2005-12-16 04:58:33 +00:00
dbaron%dbaron.org da925b1d41 Null out line layout when crossing from box to non-box so we don't reuse an incorrect linelayout object. b=307992 r+sr=roc 2005-12-15 23:08:07 +00:00
roc+%cs.cmu.edu 0070b429f0 Bug 319675. Don't cross line boundaries looking for double-click targets. patch by Eli Friedman, r=sr=roc 2005-12-15 03:32:09 +00:00
uriber%gmail.com 0a84f833ba Bug 312550: Incorrect wrapping in RTL textarea with horizontal scrollbar. r=smontagu, sr=roc 2005-12-14 14:33:17 +00:00
bsmedberg%covad.net f95f54c276 Fix merge bustage for bug 313309 2005-12-12 21:23:47 +00:00
bsmedberg%covad.net 1007bf13a3 Conflict merge, bug 313309 (macro not used yet unless you have the final patches applied) 2005-12-12 14:14:03 +00:00
bzbarsky%mit.edu 89a0cec70c Remove unsed code. Bug 307111, r+sr=roc 2005-12-11 20:40:07 +00:00
mark%moxienet.com 4e218cfa92 Bug 319558, crash [@ GetSelectionClosestFrameForChild] due to typo in bug 316281. Remove unwanted semicolon. Patch by Adam Guthrie <ispiked@gmail.com>. r=me 2005-12-08 18:09:17 +00:00
roc+%cs.cmu.edu cdc6395d43 Bug 316281. Rework GetContentAndOffsetsFromPoint. r=uriber,sr=roc,patch by Eli Friedman 2005-12-07 23:08:39 +00:00
bzbarsky%mit.edu 2c430df12d Fix crash bug 316012, r=biesi, sr=jst 2005-12-07 00:52:39 +00:00
bzbarsky%mit.edu b4b5adfb40 Don't store the "normal" frame state for the root scrollframe, for now. Bug
318709, r+sr=roc
2005-12-06 23:56:17 +00:00
bzbarsky%mit.edu b338fa099b Prevent infinite recursion for cases when InstantiatePlugin returns a success
code without creating a plugin instance.  Bug 319332, r=biesi, sr=roc
2005-12-06 23:52:49 +00:00
bzbarsky%mit.edu 8f79701ae1 Windowless plugins should get SetWindow() called on them the same time normal
plugins do -- at reflow end, not just paint time.  Bug 266933, r+sr=roc
2005-12-06 04:50:26 +00:00
roc+%cs.cmu.edu 6465f11d69 Bug 319115. Move nsTextFrame interfaces around so nsTextFrame.h can go away. Preparation for forking nsTextFrame. patch by Stephen Blackheath, r+sr=roc 2005-12-06 00:39:08 +00:00
roc+%cs.cmu.edu 24eef11a41 Bug 319115. Move nsTextFrame interfaces around so nsTextFrame.h can go away. Preparation for forking nsTextFrame. patch by Stephen Blackheath, r+sr=roc 2005-12-06 00:32:52 +00:00
bmlk%gmx.de ed0db0fdb0 don't allocate nsDirectionalFrame on heap, bug 315321 patch by Marc Liddell r=roc sr=dbaron 2005-12-03 15:44:43 +00:00
bzbarsky%mit.edu 617285d1ac Remove content ids. Bug 166637, r=sicking, sr=peterv 2005-11-29 16:47:18 +00:00
jst%mozilla.jstenback.com 7a5af690c6 Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org 2005-11-28 23:56:44 +00:00
masayuki%d-toybox.com 03cebcb9db Bug 113161 Color/background-color of preedit string is always default(we should not use invert) / Bug 170951 IME should use OS system color for selection instead of inverting r+sr=roc 2005-11-20 23:43:48 +00:00
timeless%mozdev.org b20620f6ab Bug 106386 Correct misspellings in source code
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron
2005-11-20 22:05:24 +00:00
smontagu%smontagu.org cc432849d5 Bug 313602: Bidi: Caret appears incorrectly when using up/down arrows to move into a blank line surrounded by reverse-direction text. Patch by Uri Bernstein <uriber@gmail.com, r=smontagu, sr=roc 2005-11-16 09:40:52 +00:00
smontagu%smontagu.org 31ce373202 Bug 305798: Bidi: After deleting last character of reverse-direction text, arrow keys move caret incorrectly. Patch by Uri Bernstein <uriber@gmail.com, r=smontagu, sr=roc 2005-11-16 09:37:01 +00:00
dbaron%dbaron.org 8e1263ab28 Make PL_InitEvent callers stop doing potentially dangerous casting of function pointers. b=305278 r=dougt sr=darin 2005-11-14 20:09:51 +00:00
bsmedberg%covad.net dff1dea638 Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver 2005-11-11 14:36:26 +00:00
bmlk%gmx.de f766b3bc81 More robust handling of the overflow property, bug 315210 r/sr=roc 2005-11-11 05:30:31 +00:00
joshmoz%gmail.com 194a45e592 remove XP_MAC, cleanup. b=281889 r=mento sr=smfr 2005-11-10 17:45:59 +00:00
cvshook%sicking.cc 7df41771be Bug 312592: Reduce amount of duplicated code in html contentsink.
r=mrbkap sr=peterv
2005-11-10 15:51:10 +00:00
roc+%cs.cmu.edu 604f2b1451 Bug 315127. Go back to allocating NS_NewDirectionalFrame on the heap, to fix crash regression. r+sr=dbaron 2005-11-06 22:47:10 +00:00
roc+%cs.cmu.edu c4070dec03 Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell 2005-11-04 02:38:33 +00:00
roc+%cs.cmu.edu 28e3f8e5ff Bug 227121. A scrolled element's frame size should be set to the max of its desired size and the scrollport size, and should not depend on its overflow. Fixes an incremental reflow bug with scrolled frames. r+sr=dbaron 2005-11-02 23:35:37 +00:00
cbiesinger%web.de b657967736 bug 314679 remove some unused code from nsObjectFrame
r+sr=bz
2005-11-02 16:34:32 +00:00
bzbarsky%mit.edu 1e91350bb2 Remove nsIStyledContent. Bug 313968, r=sicking, r=dbaron on nsCSSStyleSheet
changes, sr=jst
2005-11-02 00:41:51 +00:00
bzbarsky%mit.edu 5434dcc29e Show the loading placeholder while loading, not the broken one. Bug 312804,
r=biesi, sr=dbaron
2005-11-02 00:04:29 +00:00
roc+%cs.cmu.edu f06224220c Fixing bustage... 2005-11-01 21:11:25 +00:00
roc+%cs.cmu.edu 2e1fe576cc Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell 2005-11-01 20:40:54 +00:00
roc+%cs.cmu.edu 4c35f79954 Bug 312777. Don't pass negative-margin-box floats to the space manager; correct them and preserve the right margin-edge on left floats and the left margin-edge on right floats. r+sr=dbaron 2005-11-01 01:16:45 +00:00
cbiesinger%web.de 536ccd0080 bug 309706
- Add some logging to nsObjectLoadingContent
- Add a StopPlugin() method to nsIObjectFrame
  - Make use of that in PrepareInstanceOwner, so that loading a new plugin in
    the same frame works as expected
- Initialize <applet> and <embed> elements to eType_Loading, so that the type is
  only eType_Plugin if mURI and mContentType are valid

r+sr=bz
2005-10-31 18:28:56 +00:00
smontagu%smontagu.org b2d728da77 Caret skips blank line using down-arrow key in preformatted text (e.g. View Source). Bug 298690, patch by Uri Bernstein <uriber@gmail.com>, r+sr=roc 2005-10-30 13:05:45 +00:00
bzbarsky%mit.edu 1f9e4e6e08 Fix leaks caused by bug 307532. Patch by biesi, r+sr=bzbarsky 2005-10-29 16:16:35 +00:00
masayuki%d-toybox.com 4560e8ab43 Bug 307532 Selection colors should be saved in nsTextFrame::TextPaintStyle, not DrawSelectionIterator r+sr=roc 2005-10-29 14:01:55 +00:00
cbiesinger%web.de ea140b1ba1 Bug 309529
Move logic from nsObjectFrame::Instantiate(const char*, nsIURI*) into
nsObjectLoadingContent.

Also, fixes ext-to-type mapping if the URI does not implement nsIURL.

r+sr=bz
2005-10-29 12:56:44 +00:00
cvshook%sicking.cc 9c1b72f7f8 Bug 311827: Make GetAttr return a bool rather then an nsresult.
r/sr=bz
2005-10-28 11:25:24 +00:00
bzbarsky%mit.edu 3ecf2cf11d Pass nsIStyledContent to AttributeChanged() so that consumers don't have to QI
to it.  Bug 313343, r=sicking, sr=jst
2005-10-27 02:25:23 +00:00
roc+%cs.cmu.edu c0905bd67d Bug 313817. DeCOMtaminate a bunch of NS_New*Frame functions. patch by Marc Liddell, r+sr=roc 2005-10-26 21:46:39 +00:00
masayuki%d-toybox.com 34e2c4df56 Bug 313174 IME composition string isn't rendered as selection text r=sergei_d, sr=bzbarsky 2005-10-26 20:16:01 +00:00
bzbarsky%mit.edu 5f44aab538 Fix some nsFloatCache leaks. Bug 302438, r+sr=dbaron 2005-10-21 22:23:28 +00:00
timeless%mozdev.org 8653c15e5d Bug 313164 Bidi: Caret navigation broken inside inline elements
patch by uriber@gmail.com r=smontagu sr=roc
2005-10-21 20:08:50 +00:00
roc+%cs.cmu.edu 4a51ae5012 Bug 295941. Remove hack that is obsolete on the trunk now that Eli has fixed event dispatch coordinates. patch by Eli Friedman, r+sr=roc 2005-10-21 02:50:35 +00:00
roc+%cs.cmu.edu c09260a0ab Bug 307158. Half-heartedly account for vertical scrollbar presence when positioning absolute children relative to the right edge of a scrollable container. r+sr=dbaron with regrets. 2005-10-18 05:00:24 +00:00
bzbarsky%mit.edu 316d829d18 Remove no longer used code. Bug 312685, r=biesi, sr=dbaron 2005-10-17 23:06:16 +00:00
mats.palmgren%bredband.net 6a0603dafe Restore Mac-specific caret movement when there is a selection. b=299417 r=uriber sr=roc 2005-10-17 00:51:46 +00:00
bzbarsky%mit.edu 85691c8301 Try fixing bug 288064 again. r=biesi, sr=dbaron 2005-10-17 00:50:39 +00:00
mats.palmgren%bredband.net 88ce58936a Return the frame count for the given line 'aLineNumber', not the line where we find the first frame. b=308052 r=bernd sr=bzbarsky 2005-10-17 00:03:05 +00:00
mozilla.mano%sent.com 1c3b08acd8 Bug 312620 - Bidi: Caret doesn't move correctly when arrowing where line wraps, if the wrapped line starts with a single reverse-direction character. patch from uriber@gmail.com, r+sr=roc. 2005-10-16 23:26:22 +00:00
masayuki%d-toybox.com ecff3bfb96 Bug 310174 Windowless plug-ins can't receive the focus events r+sr=roc 2005-10-16 18:58:34 +00:00
smfr%smfr.org 3609c90eb2 Fix bug 183313: work around a Flash crasher in ActivateTSMDocument. Flash caches the active TSMDocument across focus/blur calls in order to restore the old TSMDocument (because we asked them to). The problem is that it can cache a TSMDocument that is about to be deleted, especially in Cocoa where the TSMDocument management is somewhat asynchronous. We work around this by always clearing the active TSMDocument before focussing a plugin, for Cocoa. r=mento, sr=pinkerton. 2005-10-13 22:39:36 +00:00
bzbarsky%mit.edu bad7f988c4 Don't store the prescontext in the plugin instance owner. Bug 312055, r+sr=roc 2005-10-12 02:15:26 +00:00
Olli.Pettay%helsinki.fi 6d429f11c1 Bug 306974, Remove some duplicate event dispatching code r=sicking, sr=peterv 2005-10-10 18:38:57 +00:00
roc+%cs.cmu.edu 45ab67e813 Bug 305160. Target viewport scroll events at the document, not the root element (they will bubble to the window from there). Always stop bubbling of scroll events out of an element. r+sr=jst 2005-10-07 01:28:27 +00:00
bzbarsky%mit.edu 209234f102 Make sure scrollcorners are always boxes. Bug 310919, r=dbaron, sr=neil 2005-10-04 23:49:39 +00:00
bmlk%gmx.de 531f4d65f8 handle baseline for empty table cells closer to the new description in CSS2.1, bug 291060 r/sr=dbaron 2005-10-04 15:47:21 +00:00
dbaron%dbaron.org 4e209bd808 Back out 307158 to fix 310736. GetActualScrollbarSizes is not meaningful on a frame in the middle of reflow. 2005-10-04 02:14:43 +00:00
rbs%maths.uq.edu.au b4f25477b2 Disable parts of the patch for bug 307875 to fix the caret & IME regressions in bug 310227 and bug 310318, r+sr=bz 2005-10-01 05:17:20 +00:00
bzbarsky%mit.edu 4b4a97f72b Backing out bug 288064 because of the Tp hit. 2005-10-01 01:35:56 +00:00
bzbarsky%mit.edu 3280fa0ec3 Implement a LOADING state, have a :-moz-loading selector to match on it, use it
for images.  Bug 288064, r=biesi, sr=dbaron
2005-10-01 00:34:03 +00:00
roc+%cs.cmu.edu bbc353899b Bug 307158. Account for scrollbars reducing the padding-edge when calculating the geometry of absolutely-positioned children of scrolled elements. r+sr=dbaron 2005-09-30 22:58:37 +00:00
roc+%cs.cmu.edu 83afe8ff64 Bug 295815. When computing the available height constraint for a float, don't look at the available height of the float band, just look at the available height for the block's contentarea. r+sr=dbaron 2005-09-30 21:54:12 +00:00
cst%andrew.cmu.edu c301e38389 Backing out patch for bug 94687 due to regressions 2005-09-29 20:35:06 +00:00
aaronleventhal%moonset.net 82e435f620 Bug 309099. Entire client area should not be repainted for each focus move. Patch by Robert O'Callahan (roc). r=aaronlev, sr=neil 2005-09-29 13:16:46 +00:00
joshmoz%gmail.com 337c900be7 make sure Mac plugins get SetWindow() called when the clip rect changes. This causes SetWindow() to get called for plugins in a tab which is hidden. Patch by Simon Fraser. b=298961 r=josh sr=jst 2005-09-28 22:40:49 +00:00
masayuki%d-toybox.com a28e1ea624 Bug 310174 Windowless plug-ins can't receive the focus events patch by <VYV03354@nifty.ne.jp> r+sr=roc 2005-09-28 14:29:45 +00:00
cst%andrew.cmu.edu e49e1157c5 Bug 94687 First step of fixing z-index style in XUL - create views for children of stacks
r+sr=roc
2005-09-27 12:39:25 +00:00
rbs%maths.uq.edu.au fd05cbd287 Avoing crashing due to outdated text pointers by never poking at dirty text frames, b=307875, r+sr=bzbarsky 2005-09-27 02:47:17 +00:00
masayuki%d-toybox.com d931907fc4 Bug 92217 [reflow] text doesn't rewrap after becoming small enough to wrap patch by <saito@densan.co.jp> r+sr=dbaron 2005-09-26 10:37:02 +00:00
peterv%propagandism.org bc66f35d62 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). Patch by sicking, updated by peterv, r=bz, sr=peterv. 2005-09-24 18:43:15 +00:00
aaronleventhal%moonset.net 15d3f7e579 Bug 308710. Create accessibles for out of flow frames. r+sr=bryner 2005-09-22 21:59:06 +00:00
cbiesinger%web.de 5e3912705e bug 1156
- Make object frames have no children
  - Make the frame constructor construct a subdocumentframe, object frame or
    image frame as appropriate
- start the load of <applet>, <embed> and <object> in content code
- fallback to alternate rendering correctly

NOTE: This checkin will break the plugin finder. This will be fixed soon.

r+sr=bz
2005-09-21 19:14:30 +00:00
ginn.chen%sun.com 9df8e03b42 Bug 304891 Using ctrl+right arrow in textarea, first word after hard line break is skipped
r=uriber sr=roc
2005-09-19 05:16:25 +00:00
roc+%cs.cmu.edu b1e6622e4e Bug 108310. Make GetFrameForPoint take frame-relative coordinates, not bogus relative-to-some-view-or-other, and simplify the signature. r+sr=roc, patch by Eli Friedman. 2005-09-19 02:15:54 +00:00
bzbarsky%mit.edu 9b224f5e39 Implement :-moz-broken, :-moz-user-disabled, and :-moz-suppressed
pseudo-classes to allow styling of broken/blocked/disabled images, applets,
objects, embeds.  Bug 11011, r=biesi and roc, sr=dbaron
2005-09-18 18:05:40 +00:00
cst%andrew.cmu.edu 5da32bec9c Bug 278739 Reloading a page whose length changes should not cause scroll position to change
r+sr=roc
2005-09-18 14:50:26 +00:00
mozilla.mano%sent.com 3eaebf673f Bug 307934 - regression: In RTL text, can't move caret using arrow keys past point where text wraps. patch from Uri Bernstein <uriber@gmail.com>, r=eyalroz@technion.ac.il, sr=roc. 2005-09-18 14:29:09 +00:00
mozilla.mano%sent.com a232038976 Bug 308017 - Bidi: up/down-arrow sometimes behave incorrectly after switching keyboard layout. patch from Uri Bernstein <uriber@gmail.com>, r=smontagu, sr=roc. 2005-09-18 14:18:28 +00:00
Olli.Pettay%helsinki.fi 7547a83868 Bug 306895, Triple click should select lines, not paragraphs, in white-space: -moz-pre-wrap;, p=uriber@gmail.com, r/sr=roc 2005-09-18 12:41:40 +00:00
dougt%meer.net 465333ff84 This fixes the NS_PRINTING configure option which got broken at some point. b=308629 r/sr=jst@mozilla.org 2005-09-16 02:25:37 +00:00
aaronleventhal%moonset.net dd83900f20 Bug 308517. Crash when browse with images off and screen reader running. r+sr=bryner 2005-09-15 21:13:00 +00:00
mats.palmgren%bredband.net b73c6a4193 Don't apply selection colors when printing. b=90434 r+sr=bzbarsky 2005-09-14 21:32:28 +00:00