Commit Graph

15492 Commits

Author SHA1 Message Date
caillon%returnzero.com
319d92fa7d Bug 226375
We were leaking nsIClassInfo objects because a DOM class info getter returned AddRef()ed raw pointers.  Most of our dom/ and content/ QueryInterface() implementations knew this and accounted for it, but not all. The leak fix is thus achieved by fixing the method to not call AddRef() on its return value, and fixing the appropriate QueryInterface() macros/implementations. As a bonus, this macro-izes many  QueryInterface() implementations in content/ which were fully written out.
r=peterv@propagandism.org
sr=alecf@flett.org
 CVS: ----------------------------------------------------------------------
2004-01-06 00:36:01 +00:00
bzbarsky%mit.edu
bba32c2126 Make AdjustComputedWidth/Height take a boolean that tells it whether to account
for box-sizing; sometimes we don't want to.  Also fix parsing of
max-width/height and min-width/height to error on negative values (per spec).
Bug 227819, r+sr=dbaron
2004-01-05 23:59:25 +00:00
bzbarsky%mit.edu
a5fa5ddc71 Fix restoration of horizontal scroll state. Bug 226534, r+sr=roc 2004-01-05 23:56:00 +00:00
bzbarsky%mit.edu
bd6e613fb1 Calculate the relative offsets after we've done whatever corrections we need to
do to the CB height (eg in quirks mode).  Bug 226954, r+sr=dbaron
2004-01-05 23:48:57 +00:00
bmlk%gmx.de
688ce265b9 dont paint border collapse borders if the damage area is not covered by the borders, bug 225266 r/sr=dbaron 2004-01-02 08:26:36 +00:00
technutz%netscape.net
e638f4d2dc Bug 229814. CSS error in layout/doc/obsolete/layout.css. Patch by Bob Clary <bc@bclary.com>. r/sr=dbaron 2004-01-01 17:15:18 +00:00
timeless%mozdev.org
1e62f705df Bug 229730 change NS_IF_ADDREF to NS_ADDREF in nsNativeScrollbarFrame::FindScrollbar
r=dbaron sr=dbaron
2003-12-31 04:16:23 +00:00
dbaron%dbaron.org
0f9e71d4a6 Fix two case-sensitivity issues with attribute selectors. b=229172 Patch from Gilles Durys <mozbug@durys.net>. r+sr=dbaron 2003-12-30 17:58:17 +00:00
dbaron%dbaron.org
40deca4b2f Remove no-longer-needed hook for inspector. b=224164 2003-12-29 19:17:22 +00:00
dbaron%dbaron.org
44b9fdaacb Fix overuse of inlining in nsCSSValue. r=bryner b=224165 2003-12-29 19:07:53 +00:00
bmlk%gmx.de
e763429e44 prescontext removal part 2 bug 229631 r/sr=roc 2003-12-29 16:58:20 +00:00
dbaron%dbaron.org
5bd21833b4 Add a correct comment. 2003-12-29 16:39:50 +00:00
bmlk%gmx.de
09f24b47f1 function name change to be more compliant with naming conventions, bug 229620 r/sr=brendan 2003-12-29 07:32:32 +00:00
bmlk%gmx.de
d481d3e19e reduce prescontext usage in basic layout strategy bug 229457 r/sr=roc 2003-12-28 17:02:40 +00:00
bmlk%gmx.de
07b77849a4 adding layout regression tests not part of the build 2003-12-26 10:30:40 +00:00
bryner%brianryner.com
080ad777b6 Continuing nsIPresContext deCOMtamination. This patch changes Get/SetImageAnimationMode. Bug 229371, r+sr=bzbarsky. 2003-12-26 04:24:11 +00:00
bryner%brianryner.com
d572bc76cf deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky. 2003-12-24 21:51:50 +00:00
timeless%mozdev.org
eeb8dc5037 Bug 226141 DRefTool analysis for tree files
r=varga sr=roc
2003-12-24 18:06:20 +00:00
bmlk%gmx.de
6312f04201 make code more readable bug 226619, patch by mats.palmgreen@bredband.net r=bzbarsky sr= dbaron 2003-12-23 08:49:48 +00:00
bmlk%gmx.de
76cf6abfab tables can be used as rectangular items without content, bug 227123 r/sr=bzbarsky 2003-12-23 07:22:16 +00:00
scott%scott-macgregor.org
89fc9b26b6 Bug #229112 --> Unable to bring up a compose window in debug builds
r/sr=bryner
2003-12-21 21:42:55 +00:00
bryner%brianryner.com
dfe3513814 Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky. 2003-12-21 05:36:36 +00:00
timeless%mozdev.org
01315d0ab1 Bug 224723 NS_ASSERTION(boxObject, "no box object!"); timer fired after tree was destroyed
r=varga sr=dbaron
2003-12-21 04:27:50 +00:00
timeless%mozdev.org
b6f838611c Bug 226597 nsObjectFrame.cpp Warning: String literal converted to char* in initialization.
r=roc sr=roc
2003-12-21 04:04:09 +00:00
timeless%mozdev.org
e1fc228768 Bug 226232 DRefTool analysis for xul files
r=roc sr=roc
2003-12-21 04:04:05 +00:00
neil%parkwaycc.co.uk
ebb7ab977c Bug 90906 Remove unused variables p=gautheri@noos.fr r/sr=dbaron 2003-12-20 18:09:21 +00:00
bmlk%gmx.de
167fbf7a95 show reflow targets in reflow logs bug 218961 r/sr=bzbarsky 2003-12-20 12:04:31 +00:00
bmlk%gmx.de
ba4cab3073 remove bogus array handling code bug 226757 r/sr=dbaron 2003-12-20 11:15:27 +00:00
bmlk%gmx.de
a7b7022a68 remove old hack that breaks table abs. positioning, bug 145572 r/sr=dbaron 2003-12-19 19:19:52 +00:00
bsmedberg%covad.net
807f91c6a7 Bug 228922 - in GRE installer builds MathML operators don't stretch properly. (Fallout from bug 179834). r+sr=rbs 2003-12-19 18:50:34 +00:00
dbaron%dbaron.org
f3fb5dea45 Fix percentage widths on inlines within inlines. b=97695 r+sr=roc 2003-12-19 05:41:35 +00:00
dbaron%dbaron.org
38d73e67d8 Add testcase for 215857. Not part of build. 2003-12-18 21:56:40 +00:00
dbaron%dbaron.org
352509b071 Account for 1 twip width of BR when computing the size of textareas. b=228752 Patch by Mats Palmgren <mats.palmgren@bredband.net>. r+sr=dbaron a=brendan 2003-12-18 06:06:00 +00:00
dbaron%dbaron.org
75c5c882b1 Don't mess with overflow area during first pass reflow. b=222336 Patch from Bernd Mielke <bernd_mozilla@gmx.de>. r+sr=dbaron a=brendan 2003-12-17 01:33:57 +00:00
dbaron%dbaron.org
f594793ce5 Remove missed line from previous checkin. b=221140 2003-12-15 03:35:50 +00:00
jshin%mailaps.org
e4edf3ff44 bug 224337 : fix misalgined accesss in pre-composed CCMap (on RISC architectures) : r/sr=brendan, a=dbaron 2003-12-15 00:32:16 +00:00
dbaron%dbaron.org
f9aa023719 Fix regressions of 'overflow: hidden' on various table display types. b=221140 r=bernd sr=roc a=asa 2003-12-12 23:00:54 +00:00
dbaron%dbaron.org
162f96a58c Restore overflow area in the reflow state when no reflow is done, so views are sized correctly. b=227496 r=bernd sr=roc a=tor 2003-12-12 22:58:25 +00:00
roc+%cs.cmu.edu
bb2d3795de Bug 227458. Make scrollports without scrollbars NOT use a native widget; they probably won't be scrolled anyway. r+sr=bz,a=dbaron 2003-12-10 03:43:39 +00:00
bmlk%gmx.de
fa801de1c9 avoid pointer to old overflow area as this may change underneath (FMR), bug 226870, r/sr=dbaron a=tor 2003-12-04 20:13:09 +00:00
bzbarsky%mit.edu
567e341b75 Make sure to reframe when the "rules" attribute changes, since tables cache all
sorts of border-collapse stuff across reflows.  Bug 226593, r=bernd, sr=dbaron,
a=brendan
2003-12-04 06:26:15 +00:00
jshin%mailaps.org
5684182912 bug 225695 : follow-up to the fix for bug 44272. the first part of three ; tree-wide sweep to replace escape/unescape with en|decodeURI(Component). r=bz, sr=rbs, a=asa 2003-12-03 21:41:37 +00:00
scott%scott-macgregor.org
c2df672e12 Bug #226325 --> Back out the fix for Bug #98564 as this opened us up to a regression where trailing stationary caret remnant left after backspace.
a=asa for 1.6b
2003-12-03 20:32:47 +00:00
dbaron%dbaron.org
d5582721b7 Separate locale version from Mozilla version so we do not have to bump locale version for every release. b=226377 r=kairo, bsmedberg sr=ben a=asa 2003-12-02 23:22:11 +00:00
dbaron%dbaron.org
5803e6024c Fix problems when using generic font when the parent font is not generic but the closest ancestor with a generic font used the same generic. Miscellaneous cleanup. b=226871 r+sr=bzbarsky a=brendan 2003-12-02 22:24:32 +00:00
neil%parkwaycc.co.uk
1a56f2a7d1 Bug 225885 nsPresShell::DoCopy does not work for embedding p=marco@gnome.org r=bz sr=bryner a=dbaron 2003-11-26 10:23:03 +00:00
neil%parkwaycc.co.uk
3d98242423 Bug 142459 Shift+click on scroll bar should jump to that location r=varga sr=bryner a=asa 2003-11-24 23:52:49 +00:00
dbaron%dbaron.org
e7ddb04af2 Fix incremental reflow bugs by being consistent about max-element-width for percentage widths whether or not the reflow is an unconstrained width (as initial always is when we care about max-element-width) or constrained width (as some incremental reflows are). b=215857 r=bernd sr=bzbarsky a=brendan 2003-11-24 19:48:25 +00:00
dbaron%dbaron.org
a012b34247 Do inheritance without layout-dependent computations, per CSS2.1. Remove eStyleUnit_Inherit and nsStyleCoord::SetInheritValue. b=205790 r+sr=bzbarsky a=asa 2003-11-24 19:46:25 +00:00
neil%parkwaycc.co.uk
510477bd44 Bug 225431 context submenus do not reappear if context menu is dismissed (e.g. by alt key) r=dbaron sr=bz a=asa 2003-11-22 23:35:52 +00:00