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

757 Коммитов

Автор SHA1 Сообщение Дата
smontagu%netscape.com 1d28d1dc0e Don't do numeric substitution in Arabic text by default. Bug 181711, r+sr=rbs, a=asa. 2003-05-08 18:38:19 +00:00
varga%netscape.com 7967318ca3 Fix for bug 189719. Automatic image sizing: Use a custom magnifying glass cursor.
r=dbaron, sr=roc, a=sspitzer
2003-05-02 22:23:55 +00:00
dbaron%dbaron.org 743dbe34c1 Split nsCSSDeclaration.h and .cpp into separate files for the structs (nsCSSStruct.h and .cpp) and nsCSSDeclaration. b=201681 2003-04-15 03:07:34 +00:00
bryner%netscape.com 3a3ec0cbd5 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
roc+%cs.cmu.edu 61cded3928 Bug 201299. Make lazy scrollbars more selective to avoid XUL tree and listbox problems. r+sr=bzbarsky 2003-04-09 11:17:42 +00:00
heikki%netscape.com b6ee57a69a Bug 200382, reduce content's dependencies on webshell, r=adamlock, sr=jst. 2003-04-03 18:57:33 +00:00
alecf%netscape.com c8aef61acf fix for bug 199170, convert layout to use nsStaticAtom. sr=dbaron 2003-04-02 04:51:07 +00:00
jkeiser%netscape.com 595a99124d Allow raw ParseIntValue to work with negative values (bug 198677), r=smontagu@netscape.com, sr=jst@netscape.com 2003-03-27 15:38:12 +00:00
varga%netscape.com a8670013de Landing bookmarks branch. Everything except mozilla/xpfe
Bug 196756 - Meta bug for major architectural changes in bookmarks code
r=jag, sr=bryner
2003-03-25 04:44:31 +00:00
roc+%cs.cmu.edu 64131124e6 Bug 174049. Smooth scrolling. Original patch by Neil cronin. r+sr=kin 2003-03-24 05:29:45 +00:00
dbaron%dbaron.org ea3fcd2e6a Oops! nsStyleSVG never had a GetStyleStructID method. b=196603 2003-03-15 21:54:49 +00:00
bzbarsky%mit.edu b55d3bdb7f Remove some style-data-clearing functions that no one uses and that don't do
the right thing anyway.  Bug 169989, r+sr=dbaron
2003-03-13 18:58:54 +00:00
dbaron%dbaron.org 3069e2548c Ensure that GetStyleData never returns null, even in out-of-memory, by storing a backup set of style structs to return in case of failure. b=154751 r+sr=bzbarsky 2003-03-13 15:29:36 +00:00
bryner%netscape.com 2063c40516 Don't need to stabilize mRefCnt to 1 in nsStyleContext dtor (bug 196956). r/sr=dbaron. 2003-03-12 05:19:43 +00:00
bryner%netscape.com f3a28e9f42 Implement Aqua form controls when building with the Cocoa toolkit (bug 188254). r=pinkerton, sr=sfraser. 2003-03-12 04:57:33 +00:00
roc+%cs.cmu.edu 84b91a597c Bug 195883. %-values are not valid for '-moz-opacity'. 2003-03-08 03:08:25 +00:00
dbaron%dbaron.org c3fb353790 Implement garbage collection of the rule tree to fix some cases of memory growth and to allow us to move towards style rule immutability. b=117316 r+sr=bzbarsky 2003-03-06 19:14:17 +00:00
dbaron%dbaron.org 636a18962f 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 <bzbarsky@mit.edu>. r=dbaron sr=roc b=171830 2003-03-06 19:07:22 +00:00
sfraser%netscape.com 73b113a4b0 Declare kCSSRawProperties and kCSSRawKeywords as 'extern' so that tests code can link with the .a, and get them. 2003-02-26 03:34:15 +00:00
sfraser%netscape.com 21b4f6bc05 Make static data const in nsBidiUtils.cpp. Bug 74803. r=dbaron, sr=alecf. 2003-02-26 00:54:14 +00:00
sfraser%netscape.com a972085056 Bug 74803: fix the data in various static name tables to be const, and fix nsStaticNameTable to accept const data. r=dbaron, sr=alecf. 2003-02-26 00:52:07 +00:00
timeless%mozdev.org 5d62c94573 Bug 126484 Occurences of uninitialized variables being used before being set (in Bidi files)
patch by mozilla-bugs@nogin.org r=smontagu sr=bz
2003-02-23 11:10:28 +00:00
dbaron%dbaron.org d733f493e4 Fix Windows bustage. (Why doesn't gcc enforce correct const-ness?) 2003-02-22 17:51:47 +00:00
dbaron%dbaron.org ea93b55cc8 Reduce code size of atom lists by storing a table of strings and pointers to fill in. b=181383 r=alecf sr=sfraser 2003-02-22 15:58:07 +00:00
dbaron%dbaron.org 6dd68f3c64 Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst 2003-02-22 15:34:38 +00:00
bryner%netscape.com 6a7db38d94 Attempting to fix os/2 and worms bustage. Add a protected default ctor to nsStyleContext. This should never be called since we never instantiate an nsDerivedSafe. r=bbaetz. 2003-02-22 10:13:34 +00:00
bryner%netscape.com f5ac1d8202 mac cfm bustage 2003-02-22 04:17:16 +00:00
bryner%netscape.com a2faedffba Make nsStyleContext also return nsrefcnt from AddRef and Release, fixing gcc 2.95 bustage. 2003-02-22 04:05:05 +00:00
bryner%netscape.com e43f5a49fd 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
bzbarsky%mit.edu 3d685b697d Dynamic changes to border-collapse should produce the right hint. Bug 191794,
r=bernd, sr=dbaron, a=asa
2003-02-13 19:06:18 +00:00
blizzard%redhat.com a999059dd4 Bug #190079. Crasher. Check length of string before calling |Last| on it. r=jkeiser,sr=scc,a=roc 2003-01-23 04:12:58 +00:00
paper%animecity.nu a275d707af Fix for blocker Bug 190124 & Bug 190121. r=jkeiser, sr=blizzard, a=roc+moz. Send Pixel Units to GetPixelValue, not GetIntValue 2003-01-22 22:33:27 +00:00
rbs%maths.uq.edu.au f84022a21f Add a comment following b=123049, r+sr=bzbarsky 2003-01-22 07:56:13 +00:00
jkeiser%netscape.com d73be72429 Move HTMLValue parsing methods to HTMLValue (bug 159757), r=bugmail@sicking.cc, sr=jst@netscape.com 2003-01-21 21:24:16 +00:00
seawood%netscape.com a8ec9ce3d0 Fixing Forte static build bustage.
Thanks to Roland Mainz <Roland.Mainz@informatik.med.uni-giessen.de> for the patch.
r=cls sr=dmose
2003-01-20 11:57:47 +00:00
rbs%maths.uq.edu.au e54e375728 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
caillon%returnzero.com 0ab3beee78 189533, background-position has low accuracy. Specifically, it was not allowing fractional percentages.
r+sr=dbaron
2003-01-19 02:36:04 +00:00
heikki%netscape.com 874b6550df Bug 1882, get ref from usemap even when it contains full URL. r+sr=roc+moz. 2003-01-19 01:08:05 +00:00
dbaron%dbaron.org faa9a5b9f9 Reduce duplication of code between handling of top/right/bottom/left margin, border, and padding. b=189537 r+sr=bzbarsky 2003-01-18 15:58:49 +00:00
cbiesinger%web.de b7a5577747 remove ifdef IBMBIDI in content/, r+sr=roc+moz, bug 89203 2003-01-17 12:09:23 +00:00
caillon%returnzero.com 8d9098a65a Bug 14777 - Give inline background image painting a rhyme and reason to how it works. Implement CSS3 proposal (-moz-)background-inline-policy.
r+sr=roc+moz
2003-01-17 09:33:52 +00:00
bzbarsky%mit.edu 074caec10b Make the string fu in nsStaticCaseInsensitiveNameTable a little smarter; use
that for nsCSSProps.  Bug 162243, r=dbaron, sr=dveditz.
2003-01-17 04:55:10 +00:00
dbaron%dbaron.org 1e96329338 Implement CSS3 :target pseudo-class, which matches the target of the fragment identifier of the document's URL. Change the semantics of nsIPresShell::GoToAnchor by requiring that it be called whenever the current target changes, with an additional boolean parameter specifying whether to scroll. b=188734 r=glazman sr=bzbarsky 2003-01-13 23:10:53 +00:00
dbaron%dbaron.org 57124d8115 Replace computation of max-element-size (height and width) with max-element-width alone, since the max-element-height is practically unused and not meaningful for layout. b=186953 r+sr=bzbarsky 2003-01-09 14:26:32 +00:00
dbaron%fas.harvard.edu a34c46af22 Change my email address from dbaron@fas.harvard.edu to dbaron@dbaron.org. Comment changes only. 2003-01-01 23:53:20 +00:00
bratell%lysator.liu.se cd00e11297 Bug 185007 - reduce padding in style structs. r=roc+moz, sr=brendan 2002-12-21 07:27:44 +00:00
peterv%netscape.com d96051a4a2 Fix for bug 183999 (Modernize content). r=caillon, sr=bz. 2002-12-11 14:24:49 +00:00
karnaze%netscape.com 93ca9c73ad bug 127286 (part I due to cvs problems) - Handle splitting of floaters when lines impacting them are outside the block containing the floaters. sr=kin, r=alexsavulov 2002-12-04 00:25:43 +00:00
karnaze%netscape.com c7726efa2b bug 180805 - Added GetAdjustedParentFrame to handle fieldsets. Moved inner/outer table logic there. Added fieldset logic to IsValidSibling. sr=bzbarsky, r=jkeiser. 2002-12-03 16:02:42 +00:00
peterv%netscape.com 2cd27f702a Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst. 2002-11-29 23:44:07 +00:00
shanjian%netscape.com e2dd75a920 #181117 Non-ASCII(plane 1 surrogate) link not correctly parsed in UTF-16
if the doc charset is utf-16 or utf-32,use utf8 for url encoding.
r=nhotta, sr=darin
2002-11-26 04:42:30 +00:00
timeless%mozdev.org 0366284311 Bug 96229 keyboard (and right mouse in context menu) doesn't autocheck menuitem type="checkbox" and type="radio"
patch by neil@parkwaycc.co.uk r=aaronl sr=bz
2002-11-18 14:01:20 +00:00
dbaron%fas.harvard.edu f6b1702067 Consolidate all CSS pseudos and split them into three atom lists to distinguish between pseudo-classes, pseudo-elements, and fake-pseudo-elements used for anonymous boxes. b=147887 r,sr=roc,bz 2002-11-17 15:37:56 +00:00
caillon%returnzero.com f4be2cfdb4 Bug 180185, nsStyleText::WhiteSpaceIsSignificant() should take -moz-pre-wrap into account too
r=dbaron sr=bzbarsky
2002-11-15 03:14:56 +00:00
dbaron%fas.harvard.edu dc83a84103 Subclass the nsCSS* structs as nsRuleData* so members can be added to the latter without bloating the former, and to allow the former to go away eventually. Propagate whether a font family name comes from HTML through the style system and use it to set a bit on nsFont indicating that quirky behavior of Symbol fonts is acceptable. b=175372 r=bzbarsky sr=kin 2002-11-12 15:17:07 +00:00
rpotts%netscape.com 6a2d2e0134 bug #174404 (r=adam, sr=jst) Support the optional FOR and EVENT attributes on the SCRIPT tag 2002-11-07 05:17:21 +00:00
timeless%mozdev.org 5813d0cd92 Bug 133708 Simplify nsStyleList::CalcDifference
r=dbaron sr=brendan
2002-11-06 07:31:27 +00:00
seawood%netscape.com 57e08a3f3a 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
2002-10-17 06:47:01 +00:00
dbaron%fas.harvard.edu fc4297892b Add preference for whether to enable marquee, and set the default to disabled. b=161109 r=caillon sr=bzbarsky a=rjesup 2002-10-15 00:06:57 +00:00
bzbarsky%mit.edu adfb8db44b Fix crash in nsStyleQuotes copy constructor. Bug 174178, r=caillon,
sr=dbaron, a=roc+moz
2002-10-13 18:55:12 +00:00
bzbarsky%mit.edu 093137e9f2 Make GetImportantRule and GetISupportsValue return already_AddRefed.
Bug 171808, r=jkeiser, sr=dbaron
2002-10-09 01:59:43 +00:00
caillon%returnzero.com 5ba9439c07 Correcting our background painting code per the latest CSS specs. By default, backgrounds should be painted to the border
area, and not the padding area as per the CSS 2 Errata, CSS2.1 and CSS3.  Also, implementing the CSS3 'background-clip'
and 'background-origin' properties (currently with -moz- prefixes) to control this behavior.
Bug 162252, r=dbaron sr=roc+moz
2002-10-08 10:24:53 +00:00
caillon%returnzero.com 15ead48756 171785. Using new CSS_PROP_NOTIMPLEMENTED macro. This should have gone in with the patch to bug 117500 but somehow was left out.
r=dbaron sr=kin/jst
2002-10-01 00:13:55 +00:00
dbaron%fas.harvard.edu 12c92754b3 Properly ignore the 'float' property for generated content. Rename NS_STYLE_POSITION_NORMAL to NS_STYLE_POSITION_STATIC. Patch from Mats Palmgren <mats.palmgren@bredband.net>. r=dbaron sr=bzbarsky b=93227 2002-09-30 14:46:56 +00:00
roc+%cs.cmu.edu 88a7759322 Bug 113083. Concentrate view setup code into a few shared functions in nsContainerFrame. Only change style-dependent view properties after style change, not during reflow, in response to nsChangeHint_SyncFrameView. Change 'clip' to only do SyncFrameView, not reflow. r=dbaron,sr=kin 2002-09-30 11:56:37 +00:00
blakeross%telocity.com 693921e302 171460 - add parsetype attribute. r=hyatt sr=hewitt 2002-09-29 21:08:27 +00:00
jkeiser%netscape.com f88cebcd5f Make nsHTMLValue store embedded nulls (r=sicking@netscape.com, sr=bzbarsky@mit.edu, sr=jaggernaut@netscape.com 2002-09-26 07:41:53 +00:00
caillon%returnzero.com 9061952afd Bug 117500. Adding support for the CSS2Properties interface to computed style declarations.
r=dbaron sr=jst
2002-09-26 03:46:50 +00:00
glazman%netscape.com 4e4c744b19 Add support for :-moz-selection CSS3 pseudo-element. See test case in bug. Should become ::selection once support for '::' parsing is implemented; b=167068, r=mjudge, sr=kin 2002-09-24 08:13:05 +00:00
hyatt%netscape.com e8710c1495 Fix for 169373, make HTML form controls fully support native look on Windows XP. r/sr=hewitt/blake 2002-09-21 01:03:38 +00:00
jkeiser%netscape.com ac086155e9 Backing out fix to bug 162572 to see if it fixes btek pageload numbers 2002-09-16 19:45:59 +00:00
jkeiser%netscape.com 287e8c1516 Allow nsHTMLValue to store embedded nulls (bug 162572), r=sicking@bigfoot.com, sr=bzbarsky@mit.edu 2002-09-16 06:19:27 +00:00
caillon%returnzero.com 0a9f9ac614 167964 - nsCSSProps::LookupPropertyValue() doesn't handle -moz-appearance
r=dbaron sr=jst
2002-09-12 03:57:02 +00:00
sicking%bigfoot.com 443bb6d0bc Bug 64945: XML Prettyprinting stage 1
r=peterv sr=jst
2002-09-04 06:57:25 +00:00
roc+%cs.cmu.edu cb32a0f906 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 2002-08-24 14:41:28 +00:00
dbaron%fas.harvard.edu 7b955f3646 Move nsStyleUtil from content/shared/ to content/html/style/ to reduce the size the shared library that is part of both content and layout. b=71257 sr=bzbarsky 2002-08-16 23:57:09 +00:00
dbaron%fas.harvard.edu 7a94e66b89 Move nsStyleUtil from content/shared/ to content/html/style/ to reduce the size the shared library that is part of both content and layout. b=71257 sr=bzbarsky 2002-08-16 23:00:25 +00:00
bzbarsky%mit.edu 355f48a3e9 Fix placement of positioned elements with auto "top". Bug 44508, patch
by Mats Palmgren (mats.palmgren@bredband.net), r=dbaron, sr=bzbarsky.
2002-08-15 23:00:23 +00:00
seawood%netscape.com 55ec62b72d Removing unused _NS_IMPL_LAYOUT define.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #162308 r=cls
2002-08-15 05:39:40 +00:00
dbaron%fas.harvard.edu 79638e5f49 Implement CSS2 :lang() selector. Fix problems with dynamic changes of 'quotes' property. Patch mostly by Ulrich Drepper (drepper@redhat.com), with some changes by Pierre Saslawsky and dbaron. r=rbs, dbaron sr=bzbarsky b=35768 2002-08-14 12:34:39 +00:00
seawood%netscape.com 67c2c5b3c0 Removing unused defines:
_IMPL_NS_BASE (bug #162142)
_IMPL_NS_GFXONXP (bug #162145)
_IMPL_NS_UI (bug #162183)
B_ONE_M (bug #162196)
XP_NEW_SELECTION (bug #162230)
r=cls
Thanks to Stephen Walker <walk84@yahoo.com> for the patches.
2002-08-12 13:35:18 +00:00
dbaron%fas.harvard.edu 839c83ca5d Move FindNonTransparentBackground from nsStyleUtil to nsCSSRendering so that nsStyleUtil doesn't need to be in content/shared. b=71257 r=heikki sr=bzbarsky 2002-08-11 17:56:15 +00:00
seawood%netscape.com 322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
caillon%returnzero.com 0fbcecb364 Bug 161184. Shrink nsIPresContexts by moving some default value settings out of it and into StyleStructs where they belong.
r=bzbarsky sr=dbaron
2002-08-07 07:39:34 +00:00
alecf%netscape.com 9d46c7a238 fix for bug 12493 - layout should canonicalize urls before asking global history for visited status
r=radha, sr=darin
2002-08-06 23:51:42 +00:00
glazman%netscape.com b9599b1617 Introduce 2 CSS values for color property and 1 for text-decoration retrieving the pref for anchors' color, visited anchors' color, and underline or not the anchors; b=57757, r=brade, sr=bzbarsky 2002-08-06 14:39:55 +00:00
dbaron%fas.harvard.edu 886e6f1527 Add comments explaining lookups in nsCachedStyleData. b=156902 sr=bzbarsky 2002-08-06 13:46:35 +00:00
bzbarsky%mit.edu cc45de4f05 More documentation checkins. r=jkeiser/sicking, sr=jst, a=asa 2002-07-30 05:34:55 +00:00
smontagu%netscape.com abce8c0186 Fix crasher bug 158796, r=jkeiser, sr=jst, a=asa 2002-07-25 20:40:51 +00:00
bzbarsky%mit.edu 783a32db62 fix startup assertions, bug 154503, r=sicking, sr=dbaron, a=asa 2002-07-19 23:58:10 +00:00
bzbarsky%mit.edu 8bcb659f61 Add some more Ethiopic list styles. Bug 154503, patch by yacob@geez.org
(Daniel Yacob), r=dbaron, rs=brendan, a=asa
2002-07-12 20:46:19 +00:00
dbaron%fas.harvard.edu 27b9d4524f To make maintainance easier and allow more data-as-data rather than data-as-code, create a preprocessable list of style structs and use it in many places where we previously listed all (or half) of the style structs. b=155745 r=bzbarsky sr=waterson 2002-07-09 04:10:10 +00:00
bzbarsky%mit.edu 0c737fc54b Fix innerHTML on some special elements to suck less; refactor some
code.  Bug 125746, r=sicking, sr=jst
2002-07-04 04:30:25 +00:00
seawood%netscape.com 0597412383 The c++ standard requires that the throw list be used when declaring functions as well as defining them.
commercial compiler fixes for bug #149032
2002-07-03 17:14:41 +00:00
seawood%netscape.com 03ace271f0 Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
Bug 149032 r=timeless sr=scc
2002-07-02 20:25:30 +00:00
dbaron%fas.harvard.edu e63a11c0e8 Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson 2002-06-25 21:16:17 +00:00
bzbarsky%mit.edu 750ed97f3f Fix dynamic changes to generated content. Bug 57226, r=dbaron, sr=kin 2002-06-21 22:31:19 +00:00
caillon%returnzero.com 5ad14210fa Bug 149474, Implement preventdefault="true" on XBL handlers, so that bindings are able to prevent the default action even if JavaScript is disabled. r=bryner sr=jag 2002-06-19 00:43:46 +00:00
mkaply%us.ibm.com 88fef04a15 OS/2 bustage 2002-06-12 05:04:12 +00:00
dbaron%fas.harvard.edu e5a0855621 Fix crashes related to editing of HR elements by wrapping generated content for leaf frames in an extra frame so :before and :after are always the first/last children of the primary frame. Disable generated content for floating and absolutely positioned leaf frames. b=141054 sr=waterson r=kin 2002-06-12 03:27:48 +00:00