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

166 Коммитов

Автор SHA1 Сообщение Дата
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
seawood%netscape.com 3dad1b1a82 Fix mach-o static builds by forcing all code that's linked into a shared lib to build with -fPIC.
Bug #194662 r=ccarlen
2006-05-17 02:33:52 +00:00
seawood%netscape.com 3deafbb762 Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa
2006-05-17 02:33:51 +00:00
bryner%netscape.com b7aa05e433 Remove gfx2 from REQUIRES globally, since we no longer export headers to a separate gfx2 module. r=cls. 2006-05-17 02:33:50 +00:00
seawood%netscape.com 6011fa2dc6 Remove unused defines:
_IMPL_NS_HTML
_IMPL_NS_RDF
_IMPL_NS_WEB
USE_NSREG

Patches for removing above defines contributed by Stephen Walker <walk84@yahoo.com>.
Bug #125118 r=cls sr=bryner
Bug #160397 r=cls sr=bryner
Bug #160628 r=cls
Bug #160451 r=cls sr=bryner

_IMPL_NS_VIEW

Patches for removing above define contributed by Brian Ryner <bryner@netscape.com>
Bug #160416 r=cls
2006-05-17 02:33:49 +00:00
bryner%netscape.com c8ebb82179 - Implement the :checked CSS pseudoclass which maps to the "selected" property on option elements.
- Eliminate the _moz-option-selected attribute; move the actual selected state into the option content node.
- Change all users of _moz-option-selected to use :checked.
- Add a third parameter to nsIDocument[Observer]::ContentStatesChanged to indicate which pseudoclass changed, this is used for optimizing handling of :checked state changes.

Bug 128947, r=dbaron, sr=jst, a=asa.
2006-05-17 02:33:48 +00:00
seawood%netscape.com e9ba0b0523 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee
2006-05-17 02:33:47 +00:00
jaggernaut%netscape.com 33c125bd2b Remove timer from REQUIRES. r=pavlov 2006-05-17 02:33:46 +00:00
jaggernaut%netscape.com 99eb780bed Clean up REQUIRES lines. r/sr=alecf 2006-05-17 02:33:45 +00:00
alecf%netscape.com f521295197 fix inspector 2006-05-17 02:33:44 +00:00
bryner%netscape.com ced73de595 Bug 116499 - convert nsIOutlinerView::GetCellText to return an nsAString, so we can avoid copying strings. r=blake, sr=jag. 2006-05-17 02:33:43 +00:00
hewitt%netscape.com 1373dc412e DOM Inspector update - tons of crash fixes, js error fixes, performance and usability improvements, r=jag, sr=hyatt 2006-05-17 02:33:42 +00:00
cbiesinger%web.de f81ba010e7 bug 115473 r=pavlov sr=brendan
Remove timer priorities
2006-05-17 02:33:41 +00:00
jaggernaut%netscape.com 174309499c Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2006-05-17 02:33:40 +00:00
hewitt%netscape.com 2c33bf4e70 106637 - DOM inspector not working with tabbrowser, r=jag, sr=hyatt 2006-05-17 02:33:39 +00:00
aaronl%netscape.com 4a77cda32f Bug 107703. Fixes some of the crashes in DOM inspector. r=timeless, sr=hewitt 2006-05-17 02:33:38 +00:00
jaggernaut%netscape.com d88474fb2c Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc 2006-05-17 02:33:37 +00:00
hyatt%netscape.com 9bace25d0d Fix inspector bustage. 2006-05-17 02:33:36 +00:00
heikki%netscape.com 960be41f30 Bug 101429, bad argument to function, fixes assertion and potential crash. r=harishd, sr=hewitt. 2006-05-17 02:33:35 +00:00
gerv%gerv.net 76f8654ef2 License changes, take 2. Bug 98089. mozilla/extensions/. 2006-05-17 02:33:34 +00:00
bryner%netscape.com b671207e5f Bug 99962 - inspector assertions when flashing a DOM node with display: none. r=hewitt, sr=hyatt. 2006-05-17 02:33:33 +00:00
gerv%gerv.net 3ff85502d1 Oops. 2006-05-17 02:33:32 +00:00
scc%mozilla.org c98329f9c7 bug #98089: ripped new license 2006-05-17 02:33:31 +00:00
hewitt%netscape.com ac344d3c4c 84230 - DOM Inspector revival, rs=hyatt 2006-05-17 02:22:16 +00:00
hewitt%netscape.com 0bc935a7aa 84230 - DOM Inspector revival, rs=hyatt 2006-05-17 02:22:15 +00:00
hewitt%netscape.com ff9e080034 84230 - DOM Inspector revival, rs=hyatt 2006-05-17 02:22:14 +00:00
hewitt%netscape.com 5b02a3b2ab 84230 - DOM Inspector revival, rs=hyatt 2006-05-17 02:22:13 +00:00
hewitt%netscape.com 56fa55da70 84230 - DOM Inspector revival, rs=hyatt 2006-05-17 02:22:12 +00:00
jaggernaut%netscape.com 46aa8ec492 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf 2006-05-17 02:22:11 +00:00
jaggernaut%netscape.com c80b3b9804 Bug 73353: move gfx from module layout to module gfx and fix up REQUIRES lines. r=cls 2006-05-17 02:22:10 +00:00
jaggernaut%netscape.com dcae38e2c2 Clean up REQUIRES lines, put content in its own module instead of in layout's, r=cls. 2006-05-17 02:22:09 +00:00
cls%seawood.org c793e2bc2a Update REQUIRES so that we do not accidentally build using the system headers of jpeg,zlib,png,mng when we are supposed to be building using the Mozilla copies of these libraries.
Bug #97386 r=mcafee a=dbaron
2006-05-17 02:22:08 +00:00
jaggernaut%netscape.com 2b0275ce1f Bug 73353: clean up the REQUIRES lines in Makefiles. 2006-05-17 02:22:07 +00:00
dbaron%fas.harvard.edu 172ca4a66d Adding mimetype and exthandler to REQUIRES to fix MOZ_TRACK_MODULE_DEPS (senna tinderbox) bustage. 2006-05-17 02:22:06 +00:00
dbaron%fas.harvard.edu b010fa0ff9 Adding imglib2 to REQUIRES to fix MOZ_TRACK_MODULE_DEPS (senna tinderbox) bustage. 2006-05-17 02:22:05 +00:00
hewitt%netscape.com ac02a2597e 84230 - DOM Inspector revival, rs=hyatt 2006-05-17 02:22:04 +00:00
dbaron%fas.harvard.edu 91e3ef0910 Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa 2006-05-17 02:22:03 +00:00