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

202 Коммитов

Автор SHA1 Сообщение Дата
bzbarsky%mit.edu 1a65648d50 Add an nsIContent api for getting the intrinsic state of the content; this can
be used to implement more pseudo-classes (eg CSS3 UI ones for XForms).  Bug
296309, r+sr=dbaron, a=chofmann
2006-05-17 02:38:49 +00:00
bryner%brianryner.com 78de4ba8e1 Remove nsIXBLBinding (bug 194834). r+sr=bzbarsky. 2006-05-17 02:38:48 +00:00
bzbarsky%mit.edu 0ea6faa0c6 Remove nsIStyledContent. Bug 313968, r=sicking, r=dbaron on nsCSSStyleSheet
changes, sr=jst
2006-05-17 02:38:47 +00:00
bryner%brianryner.com 78b55334d1 Reduce do_GetService code bloat further by adding specialized assignment to nsCOMPtr and providing a version with no error pointer. Also make CallGetService work the same way as CallGetComponent does, as far as using frozen/non-frozen interface to service manager. Bug 264456, r=darin. 2006-05-17 02:38:46 +00:00
bryner%brianryner.com e64b2d53c1 Guarantee that a document's binding manager is non-null. Bug 282792, r+sr=bzbarsky. 2006-05-17 02:38:45 +00:00
bmlk%gmx.de 1366bac2e7 remove unused prescontext argument from GetOffsetFromView bug 276015 r/sr=dbaron 2006-05-17 02:38:44 +00:00
bzbarsky%mit.edu 376a6a371d Fix bogus assumptions in inspector that can lead to crashes. Bug
270771. r=timeless, sr=jst
2006-05-17 02:38:43 +00:00
roc+%cs.cmu.edu 4fce96c6bb Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine 2006-05-17 02:38:42 +00:00
bryner%brianryner.com 15fe21ae9b Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc. 2006-05-17 02:38:41 +00:00
bryner%brianryner.com f860a941af Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2006-05-17 02:38:40 +00:00
caillon%redhat.com 0ae244a418 Patch for bug 239785: "only first part blinks for elements split into multiple lines"
Contributed by Michal Ceresna <ceresna@amos.sturak.sk>
r=caillon, sr=roc
2006-05-17 02:38:39 +00:00
bzbarsky%mit.edu e41e0f1900 Pass nsIStyledContent to AttributeChanged() so that consumers don't have to QI
to it.  Bug 313343, r=sicking, sr=jst
2006-05-17 02:38:38 +00:00
dbaron%dbaron.org adef3131d6 Bug 272151: reorganize files within layout, r+sr=roc 2006-05-17 02:38:37 +00:00
roc+%cs.cmu.edu f237553d28 Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2006-05-17 02:38:36 +00:00
jst%mozilla.jstenback.com 54acb9295c Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com 2006-05-17 02:38:35 +00:00
bzbarsky%mit.edu e466ed9cea Don't crash if we're asked for the style rules for a node in a document with no
presentation at all.  Bug 240767, r=caillon, sr=bryner.
2006-05-17 02:38:34 +00:00
bzbarsky%mit.edu ccc522d8b0 Change FlushPendingNotifications to have more granularity and update callers to
only flush the things they really need flushed.  Bug 144072, r+sr=jst
2006-05-17 02:38:33 +00:00
roc+%cs.cmu.edu 18a2bc9d9d Backing out 233441. 2006-05-17 02:38:32 +00:00
roc+%cs.cmu.edu 784cd30838 Bug 233441. Make nsViewManager always have a root view, you can't change it. r+sr=dbaron 2006-05-17 02:38:31 +00:00
gerv%gerv.net 8522c424f6 Bug 236613: change to MPL/LGPL/GPL tri-license. 2006-05-17 02:38:30 +00:00
varga%nixcorp.com abd07cd43c Fix for bug 221619. Tree widget refactoring and enhancement. r=neil sr=bryner 2006-05-17 02:38:29 +00:00
dbaron%dbaron.org 6ccfee645a Use stable APIs in inCSSValueSearch. b=224164 r=caillon sr=bzbarsky 2006-05-17 02:38:28 +00:00
sicking%bigfoot.com 7eb53aa662 Bug 237566: Remove nsIContent::ReplaceChildAt and supportive codepaths.
r=bz sr=jst
2006-05-17 02:38:27 +00:00
dbaron%dbaron.org 94b59ba027 Rename {nsIDocument,nsIDocumentObserver,nsIFrame}::ContentChanged to CharacterDataChanged, since that's the only thing it's used for. Replace its nsISupports* parameter with a PRBool, since we don't need to allocate an object to pass a boolean parameter. Remove some (but probably not all) unneeded implementations on frames whose content is never a text node. b=234960 r+sr=jst 2006-05-17 02:38:26 +00:00
jst%mozilla.jstenback.com e7eda10dff Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com 2006-05-17 02:38:25 +00:00
dbaron%dbaron.org f92031b8b7 Fix one-time leak of atoms by converting to static atoms. b=230361 r=caillon sr=bryner 2006-05-17 02:38:24 +00:00
bzbarsky%mit.edu 053531d7db Convert URL stuff in XBL to use nsIURI instead of strings. Bug 224765, r+sr=bryner 2006-05-17 02:38:23 +00:00
bryner%brianryner.com 4db1310821 deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc. 2006-05-17 02:38:22 +00:00
bryner%brianryner.com 970698ff09 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron. 2006-05-17 02:38:21 +00:00
jst%mozilla.jstenback.com 94fe9465f8 Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com. 2006-05-17 02:38:20 +00:00
bryner%brianryner.com 47d0b5b667 deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst. 2006-05-17 02:38:19 +00:00
dbaron%dbaron.org 2d063297b7 Make URIs in the style system nsIURI pointers instead of strings. b=113173 r+sr=bzbarsky 2006-05-17 02:38:18 +00:00
timeless%mozdev.org f4f2249c36 Bug 220093 inCSSValueSearch incorrectly uses strings
r=caillon sr=bz
2006-05-17 02:38:17 +00:00
jst%mozilla.jstenback.com 9402e78487 General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org 2006-05-17 02:38:16 +00:00
dbaron%dbaron.org b2c55d492b Free remaining stack items in destructor to fix leaking pretty much everything. b=230264 r=caillon sr=bryner 2006-05-17 02:38:15 +00:00
jst%mozilla.jstenback.com 4ad462f554 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org 2006-05-17 02:38:14 +00:00
dbaron%dbaron.org bed49ddb21 Don't create style rule DOM wrappers for inline style, since we are not supposed to, and ours crash when used on inline style. b=218222 r+sr=bzbarsky 2006-05-17 02:38:13 +00:00
uid502 89f5f572ee Fixing bustage. 2006-05-17 02:38:12 +00:00
jst%mozilla.jstenback.com 130721c940 Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org. 2006-05-17 02:38:11 +00:00
uid502 fa51adb8f6 Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron 2006-05-17 02:38:10 +00:00
bryner%brianryner.com 56ed63449f Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2006-05-17 02:38:09 +00:00
dbaron%dbaron.org 37d6cec630 Implement the DOM interfaces for CSS style rules on a wrapper object which allows the immutable rule object to be swapped out underneath. b=188803 r+sr=bzbarsky 2006-05-17 02:38:08 +00:00
bzbarsky%mit.edu add35d12ec DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst
2006-05-17 02:38:07 +00:00
bzbarsky%mit.edu 90db4c6167 Fix some memory leaks in Inspector. Bug 211166, r=caillon, sr=alecf 2006-05-17 02:38:06 +00:00
jaggernaut%netscape.com 131939dd34 Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky 2006-05-17 02:38:05 +00:00
dbaron%dbaron.org 796fa237ef Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky 2006-05-17 02:38:04 +00:00
neil%parkwaycc.co.uk 1afdcf6ad5 Bug 211537 DOM Inspector not displaying full tree of nodes r=caillon sr=bz
Using correct line endings this time :-)
2006-05-17 02:38:03 +00:00
caillon%returnzero.com 028c1a4a73 Backout of Neil's patch for bug 211537. This was only supposed to touch 10 or so lines, not every line in each of two files. 2006-05-17 02:38:02 +00:00
neil%parkwaycc.co.uk 45f3aa4f31 Bug 211537 DOM Inspector not displaying full tree of nodes r=caillon sr=bz 2006-05-17 02:38:01 +00:00
bzbarsky%mit.edu 4755118560 Show #document nodes in iframes. Fix up various code that assumed they would
_not_ be shown.  Minor cleanup of various sorts (nsCOMArray, etc).  Bug 201585,
r=caillon, sr=alecf
2006-05-17 02:38:00 +00:00
dbaron%dbaron.org cd3f998a5c DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc 2006-05-17 02:37:59 +00:00
caillon%returnzero.com ed938dccb7 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2006-05-17 02:37:58 +00:00
bzbarsky%mit.edu 93fc26814d Make DOM inspector deal with a root Document object in the DOM view. Bug
201577, r=timeless, sr=peterv
2006-05-17 02:37:57 +00:00
caillon%returnzero.com fe1ffdb458 187414 - Use NodeFilter where we mean it.
r=sicking sr=bzbarsky
2006-05-17 02:37:56 +00:00
dbaron%dbaron.org 04857175a4 Create only one CSSStyleRuleImpl per rule rather than one per comma-separated selector to fix CSSOM compliance bugs and make rule immutability easier. Store list of selectors on the CSSStyleRuleImpl, each with their own weight. b=98765 r+sr=bzbarsky 2006-05-17 02:37:55 +00:00
dbaron%dbaron.org cfab350700 Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan 2006-05-17 02:37:54 +00:00
caillon%returnzero.com 5d393221af Fix a leak and some minor code cleanup. r+sr=jst, a=sspitzer. (205104) 2006-05-17 02:37:53 +00:00
rbs%maths.uq.edu.au b199399110 Bug 147189. Part 3: hide ignorable whitespace nodes without frames, e.g., in between <table>\n<tr>, r=caillon, sr=bzbarsky 2006-05-17 02:37:52 +00:00
bryner%netscape.com d045ca907e Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky. 2006-05-17 02:37:51 +00:00
timeless%mozdev.org c1546cc67e Bug 198512 FMM [@ inCSSValueSearch::~inCSSValueSearch]
r=caillon sr=heikki
2006-05-17 02:37:50 +00:00
dbaron%dbaron.org 9bdd5167a7 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2006-05-17 02:37:49 +00:00
caillon%returnzero.com 58215b32bb 180551 - Add color, thickness, and invert to the flasher interface. They should not be passed around so often to its methods since they rarely change and really
belong on the interface to begin with.
r=timeless,sr=peterv
2006-05-17 02:37:48 +00:00
caillon%returnzero.com f86f0e0305 Bug 163137. Make DOM inspector scroll to put an element in view upon selecting it in the DOM tree view. This was previously only working for HTML elements.
r=rbs, sr=bzbarsky
2006-05-17 02:37:47 +00:00
sicking%bigfoot.com 02e8e2c060 Bug 181808: Use macros to declare and implement nsIDocumentObserver
r=caillon sr=bz
2006-05-17 02:37:46 +00:00
bzbarsky%mit.edu 392f68c36b Stop at the viewmanager root when computing offsets for flashing stuff. Bug
188210, r=caillon, sr=kin
2006-05-17 02:37:45 +00:00
caillon%returnzero.com 55215c84d8 Attempt to fix nebiros bustage by moving style struct access into nsIInspectorCSSUtils
r/a=timeless,jkeiser,#mozilla
bug 147189
2006-05-17 02:37:44 +00:00
caillon%returnzero.com 03113a9194 Bug 185647 - Setting pseudo class of a closed window crashes [@ inLayoutUtils::GetEventStateManagerFor]
r=timeless sr=tor
2006-05-17 02:37:43 +00:00
mkaply%us.ibm.com 60fd4b137e OS/2 bustage - need get() 2006-05-17 02:37:42 +00:00
caillon%returnzero.com 8681b3ede8 Bug 147189. Part 2: Don't hide "significant" whitespace nodes.
r=bzbarsky sr=hewitt
2006-05-17 02:37:41 +00:00
caillon%returnzero.com 2d90f9c2d6 Allow the hiding of "empty" text nodes from DOM Inspector.
r=cbiesinger, sr=alecf, bug 147189
2006-05-17 02:37:40 +00:00
timeless%mozdev.org e3293e5093 Bug 153821 crash while inspecting an error window [@inLayoutUtils::GetPresShellFor]
r=caillon sr=bz
2006-05-17 02:37:39 +00:00
bzbarsky%mit.edu 3ae6ac8c9a Show style rules for things that are display:none and their
descendants.  Bug 166548, r=dbaron, sr=hewitt.
2006-05-17 02:37:38 +00:00
caillon%returnzero.com 84c249119b Bug 177179
slightly optimize inDOMView::GetNodeTypeKey
r=timeless/jkeiser sr=bzbarsky a=roc+moz
2006-05-17 02:37:37 +00:00
dougt%netscape.com 378eb4d822 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2006-05-17 02:37:36 +00:00
roc+%cs.cmu.edu 3581ade2c1 Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin 2006-05-17 02:34:36 +00:00
dbaron%fas.harvard.edu 267bb12fa1 Fix up and enable hierarchical :hover and remove the hacks that made :hover work for anchors without it. Pass mask rather than pseudo-class to ContentStatesChanged notifications. Optimize event state changes in the style system by passing state mask to HasStateDependentStyle and using it in HasStateDependentStyle implementations. b=5693 r=bryner, joki sr=hyatt 2006-05-17 02:34:35 +00:00
caillon%returnzero.com 761f810258 Fix for bug 137334: DOM Inspecting the URL bar will crash. r=timeless, sr=hewitt 2006-05-17 02:34:34 +00:00
hewitt%netscape.com cfbc98d172 bugs 110156, 110155
Removing support for <outliner> tags
Removing <tree> layout code and moving <tree> tags to outliner layout
Convert all usage of <outliner> to tree tags
Convert all usage of <tree> tags to new <tree> syntax or <listbox>
r=cmanske,varga sr=hyatt,sspitzer a=asa

Also includes fixes by Jan Varga (varga@utcruk.sk) for bugs 132020, 133451, 131393, 115894, and 129327
2006-05-17 02:34:33 +00:00
timeless%mac.com 9fd8ed07b6 Bug 118528 Access Violation [@inDOMView::AppendKidsToArray] [aKids==0]->GetLength
r=bzbarsky@mit.edu sr=hewitt
2006-05-17 02:34:14 +00:00
varga%utcru.sk 7060adb2d5 80834 - [outliner scrollbar] if inbox has less than one page of messages, it will come up with a box where the scroll bar is
80548 - outliner scroll bar "disappears" in 3 stages

111101 - No scrollbox / slider / thumb in thread pane scrollbar

116269 - white scrollbars briefly show up in folder pane

116432 - Sometimes the twisty won't update after a click

116855 - Modify outliner builder syntax to match outliner content model
r=waterson, sspitzer, blake
sr=hyatt

99715 - convert category tree to use outliner
r=hixie
sr=blake
2006-05-17 02:34:13 +00:00
bzbarsky%mit.edu 3e74a768aa Make the CSSLoader correctly order stylesheets as they are dynamically added
and removed via the DOM.  Clean up the nsIDocument stylesheet accessors.  Clean
up nsIDocumentObserver stylesheet stuff a bit.  Make style sheets visible in
the CSSOM (though not completely accessible) from the moment the load is kicked
off.  Make us have sheet objects that can be manipulated via CSSOM even for
failed loads. Bug 107567, bug 47734, bug 57225, bug 178407.
r=sicking,  sr=peterv.
2006-05-17 02:34:12 +00:00
timeless%mozdev.org c6316b0cb6 Bug 180127 Inspector destructors unconditionally delete objects
r=caillon sr=bz
2006-05-17 02:34:11 +00:00
darin%netscape.com 98967be0aa fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf
2006-05-17 02:34:10 +00:00
darin%netscape.com 213e16303a fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2006-05-17 02:34:09 +00:00
dougt%netscape.com 47382b40e8 Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2006-05-17 02:34:08 +00:00
bryner%brianryner.com 5b61075748 Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron. 2006-05-17 02:34:07 +00:00
dwitte%stanford.edu 10670af8be removing bitmap/png, screen capturing, and boxmodel colorpicking functionality from DOM Inspector.
b=211096, r=caillon, sr=jst.
2006-05-17 02:34:06 +00:00
sicking%bigfoot.com a2419b0efd Bug 162461: Make inLayoutUtils::GetContainerFor use nsIDOMWindowInternal::GetFrameElement
r=bz, sr=hewitt
2006-05-17 02:34:05 +00:00
bzbarsky%mit.edu e19a814e9f Bug 117564. Make Inspector flash the right spot when things are
positioned.  r=caillon, sr=hewitt.
2006-05-17 02:34:04 +00:00
bzbarsky%mit.edu e85822b0f0 Minor cleanup of the fix for bug 122557. r=dbaron, sr=jst. 2006-05-17 02:34:03 +00:00
dbaron%fas.harvard.edu 09a0266036 Fix crash when looking at style rules of element matching no rules. b=141022 r=hewitt sr=waterson 2006-05-17 02:34:02 +00:00
bzbarsky%mit.edu 81ad882bf4 Fix the "style rules" display for display:table elements. Bug 122557,
r=caillon, sr=hewitt
2006-05-17 02:34:01 +00:00
jst%netscape.com a2e0c42ef5 Checking in the fix for bug 52334 for the third time. This time it should stick! Making iframe's load their document even if they're not displayed. r=jkeiser@netscape.com, sr=rpotts@netscape.com. 2006-05-17 02:34:00 +00:00
timeless%mac.com 756ecbd76f http://bonsai.mozilla.org/cvsquery.cgi?module=SeaMonkeyAll&branch=HEAD&cvsroot=/cvsroot&date=explicit&mindate=1017959940&maxdate=1017960540&who=jst%25netscape.com&generateBackoutCVSCommands=1
Backing out the fix for bug 52334

approved by sheriff (karnaze) and cathleen
2006-05-17 02:33:59 +00:00
jst%netscape.com 4b41eb66ab Checking in the fix for bug 52334 again now that the linux crash and the scrollwheel crash has been fixed. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org 2006-05-17 02:33:58 +00:00
jst%netscape.com 29874ce88f Backing out latest checkins due to them not working on linux and other unix systems with broken compilers. 2006-05-17 02:33:57 +00:00
jst%netscape.com 97b6ed0356 Fixing bug 52334. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org 2006-05-17 02:33:56 +00:00
dbaron%fas.harvard.edu 518fdf2cad Create a small service in the content library to allow inspector to avoid bad link-time dependencies on CSS code. b=79091 r=attinasi,beard sr=shaver 2006-05-17 02:33:55 +00:00
dbaron%fas.harvard.edu b652966c79 Fix inspector link errors by adding a method on nsICSSStyleRule that forwards GetValue to nsCSSDeclaration. 2006-05-17 02:33:54 +00:00
blythe%netscape.com 2aeaed0ad9 Fix bug 107270
Reduce nsCSSDeclaration footprint
r=dbaron, sr=hyatt
2006-05-17 02:33:53 +00:00