[email protected]
c2b121f09b
Make XBL anonymous content get its base URI from the XBL document (the binding
...
URI) instead of from the document of the bound element. This way relative URIs
in a binding are always relative to the binding. Bug 211128, r=caillon, sr=jst
2003-07-11 23:06:26 +00:00
[email protected]
660339f971
Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky
2003-07-11 21:16:12 +00:00
[email protected]
55904a594c
Bug 212346 nsCSSFrameConstructor.cpp:4182: warning: unused variable `class nsIView * listView'
...
r=bz sr=bz
2003-07-11 20:07:21 +00:00
[email protected]
b2b5b85de3
Ongoing deCOMtamination. r+sr=dbaron
2003-07-05 14:36:03 +00:00
[email protected]
5a9e7b093c
Fix mats's review comment as well. b=210873 r+sr=bzbarsky
2003-06-30 21:55:35 +00:00
[email protected]
da6a024b2e
Ensure relatively positioned floats act as containing block for absolutely positioned elements by using (and adding a parameter to) nsCSSFrameConstructor::ConstructBlock. Remove ProcessBlockChildren, which no longer needs to be separate from ProcessChildren. b=210873 r+sr=bzbarsky
2003-06-30 21:48:07 +00:00
[email protected]
de6e481b1f
Bug 210337 - Spring cleaning of unused XPCOM code and callers r/sr=alecf/bz
2003-06-23 20:31:43 +00:00
[email protected]
0ab6cd90ac
Fixing DEBUG-only bustage.
2003-06-20 01:05:04 +00:00
[email protected]
5755dea24a
Remove |aPresContext| and |aPresShell| parameters from |nsIFrameManager| methods. b=208190 r+sr=bzbarsky
2003-06-19 23:52:58 +00:00
[email protected]
384f320c3a
DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
2003-06-19 23:44:01 +00:00
[email protected]
07b8818b23
Handle state and attribute changes on elements without frames more efficiently, and keep the undisplayed map up to date. b=209733 r+sr=bzbarsky
2003-06-18 21:54:51 +00:00
[email protected]
99d81c4dbc
Make CSSStyleRuleImpl immutable by changing mutation code (including some merging of code between nsDOMCSSAttributeDeclaration and DOMCSSDeclarationImpl) so that it creates a new rule for the modified declaration. Change StyleRuleChanged notification signatures, and change pres shell's handling of style rule change, addition, and removal to just do reresolution. Remove fine-grained ways of clearing style data. Change PeekStyleData so it doesn't do more work than it needs to, and can be relied on not to access rules that no longer match any content. b=188803 r+sr=bzbarsky
2003-06-18 01:59:57 +00:00
[email protected]
c8a200d763
Bug 209087
...
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
[email protected]
2003-06-13 20:10:01 +00:00
[email protected]
2963c3bef3
Remove code that is not needed anymore (due to bug 141054) since the primary frame always contains the :before and :after frames. b=208870 r+sr=bzbarsky
2003-06-10 22:11:16 +00:00
[email protected]
e59b260fff
Bug #201891 --> lazily instantiate CSSFrameConstructor::gXBLService in order to break a weird cycle
...
with the component manager that can cause two instances of the xbl service to be created.
r/sr=dbaron
2003-06-03 04:23:56 +00:00
[email protected]
c09908709a
Remove nsIFrame::ContentStateChanged. b=207822 r+sr=roc
2003-06-01 20:18:53 +00:00
[email protected]
0a22e59792
Bug 203960: Make bookmark groups replace existing tabs instead of appending. r=jkeiser, varga, adamlock, sr=jst, hewitt
2003-05-30 00:21:01 +00:00
[email protected]
8d1c0abf90
Bug 206156. When we find a block inside an inline, reparent any views inside the new anonymous block and trailing inlines if the initial inline run had a view. r+sr=dbaron,a=asa
2003-05-22 01:40:16 +00:00
[email protected]
85a96b9bb5
Make ContentInserted handle appending after an inline that was split because it contains a block. b=141019 Based on patch by [email protected] . r+sr=roc a=asa
2003-05-20 20:49:27 +00:00
[email protected]
f98e358469
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
2003-05-15 03:42:21 +00:00
[email protected]
ea1bb25c8e
Oops, wrong tree. Backing out.
2003-05-15 03:36:05 +00:00
[email protected]
3593ff7c46
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
2003-05-15 03:32:08 +00:00
[email protected]
4a04463107
Remove some code left over from old native form controls. b=205575 r+sr=roc a=asa
2003-05-14 22:36:33 +00:00
[email protected]
7dda42fc18
Pass the content parent frame to ConstructTableFrame so the view that's created
...
goes in the right place in the z-ordering. Bug 203086, r+sr=roc, a=asa
2003-04-26 01:08:35 +00:00
[email protected]
4d0cb4dc54
Fixing bug 199399. Eliminating the interfaces nsIXMLDocument now that it's not needed any more. [email protected] , [email protected]
2003-04-22 21:57:25 +00:00
[email protected]
c4f180a7f9
Make sure that Init() failures for image frames don't mean no alt text. Also
...
fixes a crasher when reframing fixed-pos frames.
This change adds an assertion in ConstructHTMLFrame that InitAndRestoreFrame
should succeed (unless it returns NS_ERROR_FRAME_REPLACED). This is an interim
change; eventually we want to bail out on errors, but there may be frame impls
that return errors in non-error conditions from Init() (eg nsFrameSetFrame did
that) and we're a little close to freeze.
Bug 202506, r=rbs, sr=roc+moz
2003-04-21 23:57:47 +00:00
[email protected]
5ec2a2a039
Make nsCSSFrameConstructor::AppendFrames be smarter about looking for :after
...
pseudos. Move some utility functions into nsLayoutUtils; simplify some places
that basically had copies of those functions. Improves perf a bit in bug
145425 and its dependencies, r+sr=roc+moz
2003-04-21 23:06:40 +00:00
[email protected]
e025e1f793
Fix for annoying assert. Bug 202717, r+sr=rbs
2003-04-21 04:09:51 +00:00
[email protected]
4682cd8077
Remove nsScrollFrame and frame constructor support for it. Remove dlldeps.cpp for layout, it's not necessary. Bug 201457, r+sr=roc.
2003-04-11 08:26:42 +00:00
[email protected]
4486f8d13d
Make --disable-xul work (bug 69995). We build enough XUL to support
...
scrollbars unconditionally, but can now leave out heavyweight widgets like
grid, listbox, and tree. r=bzbarsky, sr=alecf.
2003-04-11 00:56:27 +00:00
[email protected]
7143d14503
Bug 126263. Whack comboboxes/listboxes to use Gfx scrollbars. Also, make scrollbars attach their XBL content only when they become visible, to avoid pageload hit. r+sr=dbaron
2003-04-08 20:50:57 +00:00
[email protected]
7d393335bc
Fix crash bug 200774 -- placeholders for fixed or abs pos things need to have
...
block parents. r+sr=roc
2003-04-05 21:35:35 +00:00
[email protected]
75b0e27470
Landing bug 83774 -- move image loading for <img>, <object>, <embed>, <input
...
type="image"> into the content nodes and out of nsImageFrame. r=pavlov, sr=jst
2003-03-19 03:47:09 +00:00
[email protected]
55090f5dee
Fix crash on having a <xul:listbox> in a plain XML document. Bug 197234,
...
r=sicking, sr=jst
2003-03-18 21:18:26 +00:00
[email protected]
d575ba72ae
Create a new xpcom obsolete library (and component library).
...
Moved nsFileSpec and related classes into this obsolete library.
Moved nsRegistry and related libreg functionality into the obsolete library.
Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.
Combined the following DLLs (source -> dest)
uriloader -> docshell
shistory -> docshell
jsurl -> jsdom
gkview -> gklayout
Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer
Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.
Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).
Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService
Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
[email protected]
6a0f86b5fc
Fix ISINDEX crash (bug 191974), [email protected] , [email protected]
2003-03-11 06:53:49 +00:00
[email protected]
e9466869d1
Handle inline style changes by creating new style rules to wrap the modified nsCSSDeclarations, thus moving towards style rule immutability and away from property-based change hints. Patch from Boris Zbarsky <[email protected] >. r=dbaron sr=roc b=171830
2003-03-06 19:07:22 +00:00
[email protected]
627a38d0b9
Fix for bug 195153 (Remove bogus 'extern' decls from NS_New* functions.). Patch by jst, r=sicking, sr=peterv.
2003-03-05 15:08:41 +00:00
[email protected]
3e9b9fd198
Keep a reference to the style context for the lifetime of AttributeChanged(), so it's not deleted out from under us when the frame is destroyed. Fixes crasher bug 194584. r/sr=dbaron.
2003-02-23 23:02:26 +00:00
[email protected]
50c0694a61
Make ProbePseudoStyleFor return null whenever :before and :after aren't displayed so that we don't try to reframe constantly in certain cases, preventing link clicking from working. b=188525 r+sr=bzbarsky
2003-02-23 17:28:25 +00:00
[email protected]
16fd7d45f4
Fix some potentially uninitialized variables caused by my StyleContext checkin (bug 114713).
2003-02-23 04:03:49 +00:00
[email protected]
a4211a4217
Bug 186754. Make sure scrolled elements honor the content hierarchy for z-index. r+sr=bzbarsky
2003-02-23 02:03:43 +00:00
[email protected]
8554dbc009
Bug 192469. Reparent views for blocks-in-inlines regardless of why we created the view. r+sr=bzbarsky
2003-02-22 21:37:55 +00:00
[email protected]
66297fd7bc
Replace nsIStyleSheet::AttributeAffectsStyle with nsIStyleRuleProcessor::HasAttributeDependentStyle. Strengthen the attribute optimization and apply it to HTML as well. b=163556 r+sr=bzbarsky
2003-02-22 16:10:53 +00:00
[email protected]
3cdfba0c66
Fix crash from over-releasing from bryner's changes yesterday. b=114713
2003-02-22 15:54:04 +00:00
[email protected]
4448bf0a9a
fixing more nebiros bustage, use .get() on nsRefPtr<nsStyleContext> when calling ::GetStyleData
2003-02-22 09:16:41 +00:00
[email protected]
ba58162e96
Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
2003-02-22 00:32:13 +00:00
[email protected]
abdcd9a1b4
Bug 156405 Tabbed browsing frequently crashes Mozilla - Trunk M130A [@ nsXULWindow::ContentShellAdded]
...
patch by [email protected] r=roc+moz, sr=roc+moz, a=roc+moz
2003-01-31 21:31:48 +00:00
[email protected]
a9a3087c48
bug 179683 - implement printing of fixed positioned elemements, clean up ViewportFrame. sr=roc, r=bzbarsky.
2003-01-20 18:04:34 +00:00
[email protected]
f04c5c5325
In certain dynamic updates, frames scheduled to be reprocessed could be destroyed in a ripple effect. Since this was a root problem, the patch fixes the crasher bugs 123049, 133219 154797 187671 187890, r=bzbarsky, sr=dbaron
2003-01-20 01:07:03 +00:00