Commit Graph

40 Commits

Author SHA1 Message Date
jonas%sicking.cc
fa54a7bcf5 Bug 371083: Second installment in our exiting series 'deCOMtaminate the XBL code'. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@220967 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-27 00:14:01 +00:00
jonas%sicking.cc
7b8af22092 Bug 370332: Kill nsIBindingManager and nsIStyleRuleSupplier. r=dbaron for the layout/style parts, r/sr=jst for the rest.
git-svn-id: svn://10.0.0.236/trunk@220435 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-16 23:02:08 +00:00
cvshook%sicking.cc
365266c686 Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@203078 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 04:36:36 +00:00
timeless%mozdev.org
656a975b44 Bug 344396 domi crashes inspecting something [@ nsBindingManager::GetContentListFor]
r=jst sr=jst


git-svn-id: svn://10.0.0.236/trunk@202138 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-14 12:08:59 +00:00
bzbarsky%mit.edu
5923c28bdb Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@197744 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 02:38:46 +00:00
bzbarsky%mit.edu
cf947a47ed 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


git-svn-id: svn://10.0.0.236/trunk@197743 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 02:38:45 +00:00
bryner%brianryner.com
85dcb3291e Remove nsIXBLBinding (bug 194834). r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@197742 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 02:38:44 +00:00
bryner%brianryner.com
1fbdbd7a12 Guarantee that a document's binding manager is non-null. Bug 282792, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@197739 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 02:38:41 +00:00
bzbarsky%mit.edu
6621d9e8aa Fix bogus assumptions in inspector that can lead to crashes. Bug
270771. r=timeless, sr=jst


git-svn-id: svn://10.0.0.236/trunk@197737 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 02:38:39 +00:00
jst%mozilla.jstenback.com
c740a12d79 Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com
git-svn-id: svn://10.0.0.236/trunk@197729 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 02:38:31 +00:00
bzbarsky%mit.edu
4eae951ff3 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.


git-svn-id: svn://10.0.0.236/trunk@197728 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 02:38:30 +00:00
gerv%gerv.net
f0b18273bb Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@197724 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 02:38:26 +00:00
bzbarsky%mit.edu
88b14d9f5b Convert URL stuff in XBL to use nsIURI instead of strings. Bug 224765, r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@197717 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 02:38:19 +00:00
bryner%brianryner.com
004b9529da 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.
git-svn-id: svn://10.0.0.236/trunk@197713 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 02:38:15 +00:00
dbaron%dbaron.org
64df475007 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
git-svn-id: svn://10.0.0.236/trunk@197707 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 02:38:09 +00:00
bryner%brianryner.com
bb6c257f8c Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@197703 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 02:38:05 +00:00
dbaron%dbaron.org
b1a3b5e550 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
git-svn-id: svn://10.0.0.236/trunk@197702 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 02:38:04 +00:00
bzbarsky%mit.edu
f05b352f9e 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


git-svn-id: svn://10.0.0.236/trunk@197694 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 02:37:56 +00:00
dbaron%dbaron.org
9d93420ab9 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
git-svn-id: svn://10.0.0.236/trunk@197689 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 02:37:51 +00:00
dbaron%dbaron.org
20abb1d3a6 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
git-svn-id: svn://10.0.0.236/trunk@197688 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 02:37:50 +00:00
caillon%returnzero.com
731d33ca3b Fix a leak and some minor code cleanup. r+sr=jst, a=sspitzer. (205104)
git-svn-id: svn://10.0.0.236/trunk@197687 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 02:37:49 +00:00
rbs%maths.uq.edu.au
b6b3659f03 Bug 147189. Part 3: hide ignorable whitespace nodes without frames, e.g., in between <table>\n<tr>, r=caillon, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@197686 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 02:37:48 +00:00
bryner%netscape.com
cf8b104719 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.
git-svn-id: svn://10.0.0.236/trunk@197685 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 02:37:47 +00:00
dbaron%dbaron.org
24b86187f5 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@197683 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 02:37:45 +00:00
caillon%returnzero.com
d5071c27b7 Attempt to fix nebiros bustage by moving style struct access into nsIInspectorCSSUtils
r/a=timeless,jkeiser,#mozilla
bug 147189


git-svn-id: svn://10.0.0.236/trunk@197678 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 02:37:40 +00:00
caillon%returnzero.com
df242e0b85 Bug 147189. Part 2: Don't hide "significant" whitespace nodes.
r=bzbarsky sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@197675 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 02:37:37 +00:00
timeless%mozdev.org
afb0ea409d Bug 153821 crash while inspecting an error window [@inLayoutUtils::GetPresShellFor]
r=caillon sr=bz


git-svn-id: svn://10.0.0.236/trunk@197673 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 02:37:35 +00:00
bzbarsky%mit.edu
8984389721 Show style rules for things that are display:none and their
descendants.  Bug 166548, r=dbaron, sr=hewitt.


git-svn-id: svn://10.0.0.236/trunk@197672 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 02:37:34 +00:00
dougt%netscape.com
3a94a4d91e 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@197670 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 02:37:32 +00:00
bzbarsky%mit.edu
f6c2022bc2 Minor cleanup of the fix for bug 122557. r=dbaron, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@197457 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 02:33:59 +00:00
dbaron%fas.harvard.edu
251b457cd9 Fix crash when looking at style rules of element matching no rules. b=141022 r=hewitt sr=waterson
git-svn-id: svn://10.0.0.236/trunk@197456 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 02:33:58 +00:00
bzbarsky%mit.edu
c61ba654b0 Fix the "style rules" display for display:table elements. Bug 122557,
r=caillon, sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@197455 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 02:33:57 +00:00
dbaron%fas.harvard.edu
9f5c45426f 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
git-svn-id: svn://10.0.0.236/trunk@197449 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 02:33:51 +00:00
hewitt%netscape.com
0d809c0222 DOM Inspector update - tons of crash fixes, js error fixes, performance and usability improvements, r=jag, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@197436 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 02:33:38 +00:00
jaggernaut%netscape.com
c8d02cfa1c Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@197431 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 02:33:33 +00:00
hyatt%netscape.com
693184c00d Fix inspector bustage.
git-svn-id: svn://10.0.0.236/trunk@197430 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 02:33:32 +00:00
gerv%gerv.net
07d0ea78ca License changes, take 2. Bug 98089. mozilla/extensions/.
git-svn-id: svn://10.0.0.236/trunk@197428 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 02:33:30 +00:00
gerv%gerv.net
09f29431d0 Oops.
git-svn-id: svn://10.0.0.236/trunk@197426 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 02:33:28 +00:00
scc%mozilla.org
aa35df3785 bug #98089: ripped new license
git-svn-id: svn://10.0.0.236/trunk@197425 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 02:33:27 +00:00
hewitt%netscape.com
c579ed6d52 84230 - DOM Inspector revival, rs=hyatt
git-svn-id: svn://10.0.0.236/trunk@196735 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 02:21:53 +00:00