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

899 Коммитов

Автор SHA1 Сообщение Дата
dbaron%dbaron.org c01ff06f59 Pull nsStyleContent::AllocateContents out of line, to fix Windows bustage (since this file is included outside of layout and the compiler doesn't seem able to inline it. b=249809 2004-07-14 23:51:25 +00:00
dbaron%dbaron.org 4847dc9d90 Load generated content images from the style system rather than the frame constructor. b=249809 r+sr=bzbarsky 2004-07-14 22:19:22 +00:00
bryner%brianryner.com 23089547be Add a NS_FASTCALL macro that specifies regparm(3) and stdcall on gcc/x86 to improve performance (passing up to 3 arguments in registers instead of on the stack, and having the caller pop any stack arguments). Apply NS_FASTCALL to our most frequently called non-public methods and functions. Also add NS_CDECL to explicitly specify the default calling convention and make it part of NS_IMETHOD, since xptcall can't deal with NS_FASTCALL. Bug 249652, r=darin, sr=dbaron. 2004-07-14 22:14:34 +00:00
dbaron%dbaron.org 8722abfd09 Load list-style-image in the style system rather than from frames. b=236889 r+sr=bzbarsky 2004-07-14 22:10:55 +00:00
aaronleventhal%moonset.net be1b821056 Bug 151375. Implement css2 outline (still called -moz-outline for now). Makes -moz-outline draw outside of the current frame. Improves appearance of focus outline. Lots of help from roc. r+sr=dbaron 2004-07-14 21:58:34 +00:00
jst%mozilla.jstenback.com b6d4bd8b53 Fixing bug 249572. Make nsTextFragment::AppendTo() take nsA[C]String arguments to be more usable. r+sr=peterv@propagandism.org, a=asa@mozilla.org 2004-07-09 20:54:21 +00:00
tor%cs.brown.edu be84fdf585 Bug 235826 - <svg:script> implementation.
Patch by alex@croczilla.com, r=sicking, sr=jst
2004-07-06 22:52:03 +00:00
smontagu%smontagu.org 17a189a5cc Improve the CHAR_IS_BIDI macro. Bug 240943, patch from an idea by Peter Kirk, r+sr=roc 2004-07-04 10:51:33 +00:00
alex%croczilla.com 9d0a4a5eca Bug#111496: Implement preserveAspectRatio. Checkin for <jonathan.watt@strath.ac.uk>. SVG only - not part of default builds. r=afri, sr=jst for dom/ changes. 2004-07-01 08:10:34 +00:00
bryner%brianryner.com e5632337c1 Lots of fixes for native themed checkbox and radio buttons on gtk2. Bug 247631, r=caillon, sr=blizzard. 2004-06-22 22:10:12 +00:00
bryner%brianryner.com 3cd200f850 oops, this wasn't supposed to go on the trunk. backing out. 2004-06-21 23:41:30 +00:00
bryner%brianryner.com cc1433c45a bringing branch changes forward 2004-06-21 23:35:56 +00:00
jshin%mailaps.org bad1f152f4 bug 245770 : add a pref. to control whether or not replace backslashes with Yen signs in Japanese documents (r=smontagu, sr=dbaron) 2004-06-21 10:32:27 +00:00
roc+%cs.cmu.edu 087ede0319 Bug 245297. Add basic style system support for columns. r+sr=dbaron 2004-06-17 11:57:37 +00:00
bryner%brianryner.com 8c0867b1c7 add gripper to static atom list (bug 247239), r+sr=dbaron 2004-06-17 06:44:36 +00:00
roc+%cs.cmu.edu 0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
bryner%brianryner.com 97a65f9548 Get rid of nsILanguageAtom and deCOMtaminate nsILanguageAtomService (bug 230603). Also, fix a bunch of atom double-addref leaks in nsFontMetricsXlib. r+sr=dbaron. 2004-06-08 23:53:59 +00:00
kyle.yuan%sun.com ec596d682f Bug 237535 prelight text invisible in high-contrast inverse themes
r=bryner, sr=roc, patch by ginn.chen@sun.com
2004-06-01 01:58:10 +00:00
bzbarsky%mit.edu 65c15d6697 When scrolling to form controls on focus, make sure to flush out pending
reflows first.  Bug 245133, r+sr=jst
2004-05-31 20:56:55 +00:00
bzbarsky%mit.edu a7bff6ad5b Change FlushPendingNotifications to have more granularity and update callers to
only flush the things they really need flushed.  Bug 144072, r+sr=jst
2004-05-27 22:08:42 +00:00
mvl%exedo.nl 0c9bdf8d12 Add CSS3 pseudo-class selector :only-child
bug 237568, patch by Sander <mybugzilla@juima.org>, r=bzbarsky, sr=dbaron
2004-05-25 13:43:52 +00:00
smontagu%smontagu.org e1f6e10871 Fix flipping of Arabic text when pasted to clipboard. Bug 197375, r+sr=bzbarsky 2004-05-23 09:15:23 +00:00
bzbarsky%mit.edu ba3fb994fa Use a reflow (without forced repaint) hint for position struct changes. Bug
243882, r+sr=roc
2004-05-22 05:50:12 +00:00
smontagu%smontagu.org 781e83e333 Update bidi data tables to Unicode 4.0.1 and add surrogate handling. Bug 240943, r=jshin, sr=rbs. 2004-05-18 11:01:49 +00:00
bzbarsky%mit.edu 6440f76be7 Instead of setting inline style for every text input's anonymous div, have a
rule in forms.css to set the style.  Bug 243588, r+sr=dbaron
2004-05-15 05:09:37 +00:00
mvl%exedo.nl 7968f4a79b Didn't mean to check this in just yet 2004-05-13 20:09:10 +00:00
mvl%exedo.nl fc48c463fc Make content policy api (nsIContentPolicy) not suck.
bug 191839. Original patch and hard work by Tim <riceman+bmo@mail.rit.edu>, r=bzbarsky (on backend stuff), r=neil (on the tabbrowser stuff), sr=bzbarsky
2004-05-13 18:34:18 +00:00
bryner%brianryner.com 13638907d1 Apply NS_HIDDEN to nsCSSValue, nsRuleNode, and nsStyleContext based on profiling data showing that these functions have very high call counts. Bug 227537, r+sr=dbaron. 2004-05-12 21:20:09 +00:00
caillon%redhat.com 56b3fc7a8c Remove '-moz-resizer' from the style system.
Bug 242712. r+sr=dbaron
2004-05-05 21:37:32 +00:00
roc+%cs.cmu.edu 44b2bd59f6 Bug 230417. When a placeholder frame lands in a block's overflowList, put its out of flow frame in a new child list, overflowOutOfFlowsList 2004-05-05 02:30:33 +00:00
bzbarsky%mit.edu 044950f9e0 Blink changes need to reflow. Bug 236897, r+sr=dbaron 2004-05-02 04:51:08 +00:00
bryner%brianryner.com 7d1dbeb3a8 Implement basic support for DOM level 2 UIEvents, and implement DOMActivate for HTML form control elements. Also minor usage cleanup for nsIDOMUIEvent. Bug 60212, r+sr=jst. 2004-04-30 23:55:16 +00:00
neil%parkwaycc.co.uk c27485ffcc Bug 240562 Remove unused variable p=gautheri@noos.fr r=glazou sr=roc 2004-04-19 22:31:12 +00:00
gerv%gerv.net f534a92d25 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 13:54:27 +00:00
gerv%gerv.net 9d2ee4928c Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +00:00
varga%nixcorp.com 2cd056deb1 Fix for bug 221619. Tree widget refactoring and enhancement. r=neil sr=bryner 2004-04-17 05:53:38 +00:00
sicking%bigfoot.com 9c1ffd638d Fix typo in checkin for bug 238327. Not part of default build. 2004-04-14 16:43:57 +00:00
bryner%brianryner.com 0af1a79c51 More nsIPresContext deCOMtamination (bug 229371). r+sr=roc. 2004-04-13 00:28:44 +00:00
sicking%bigfoot.com 752f5d34fd Bug 238450: Implement nsIDOMSVGStylable and make class-selectors work for svg-elements.
r/sr=jst for classinfo changes
r=afri for the rest  (not part of build)
2004-04-12 23:48:42 +00:00
sicking%bigfoot.com 9614803598 Bug 238327: Implement the svg:style element.
Changes to svg-only files r=afri  (not part of build)
Changes to transformiix files r=peterv sr=jst
Changes to other files r/sr=jst
2004-04-12 23:21:42 +00:00
sicking%bigfoot.com 45c0708f37 Bug 236873: Let more elements share classes to save codesize.
r/sr=jst
2004-04-12 22:25:17 +00:00
dbaron%dbaron.org 90369f8699 Rename FOR_CSS_SIDES to NS_FOR_CSS_SIDES, move it, and use it more. b=233795 r+sr=bzbarsky 2004-04-12 21:54:45 +00:00
dbaron%dbaron.org fcaa82359f Implement 'quotes' property correctly by tracking quote nesting depth using a linked list. Patch by Esben Mose Hansen <esben@oek.dk>, Ulrich Drepper <drepper@redhat.com>, and me. b=24861 2004-04-12 21:53:22 +00:00
cbiesinger%web.de 79a337c56b bug 236707 ARABIC COMMA's Joining Class is wrong
patch by Behnam Esfahbod <behnam@esfahbod.info> r=smontagu sr=rbs a=mkaply
2004-04-10 14:21:41 +00:00
dbaron%dbaron.org 4f07446903 Add -moz- prefix to :first-node and :last-node. b=141397 r+sr=bzbarsky a=chofmann 2004-04-07 23:25:06 +00:00
dbaron%dbaron.org 41c16857c2 DeCOMify nsIFrame::IsPercentageBase and rename to IsContainingBlock. b=237169 r+sr=bzbarsky a=brendan 2004-03-12 04:40:17 +00:00
bryner%brianryner.com cddb8d174e Support styling treerows differently for odd and even rows via properties (bug 235337). r=varga, sr=bzbarsky 2004-03-09 09:01:46 +00:00
bmlk%gmx.de ea9e726b8b implement standards compliant (CSS2.1) table background rendering patch by fantasai@escape.com r=bernd sr=bz, dbaron 2004-03-09 06:48:35 +00:00
bzbarsky%mit.edu 134fed8856 Load background images from style instead of from painting. This makes us
start loading the background images when we resolve style on an object that
needs them instead of when we scroll down and see it for the first time.  Bug
57607, r=pavlov, sr=dbaron
2004-03-09 03:57:51 +00:00
roc+%cs.cmu.edu c7e522958e Bug 51938. Cache recently accessed line if the lines' combinedArea.y/ymosts are nondecreasing --- speeds up painting and event handling on large blocks. r+sr=bzbarsky 2004-03-07 18:04:24 +00:00
roc+%cs.cmu.edu 143762ecfa Bug 235335. Additional changes. r+sr=bryner 2004-03-06 04:53:30 +00:00
roc+%cs.cmu.edu 8b6cbebaad Bug 235335. Make nsFrameManager a direct member of nsIPresShell. r+sr=bryner 2004-03-06 04:46:11 +00:00
chanial%noos.fr 8b16e11d1f Bug 118296: implement NS_THEME_MENUBAR, NS_THEME_TOOLBAR, NS_THEME_MENUPOPUP and NS_THEME_MENUITEM (GTK2)
r=bryner, sr=roc
2004-03-04 04:55:31 +00:00
sicking%bigfoot.com 28169f7a8a Bug 232706: Make nsAttrValue able to directly store all needed datatypes without using nsHTMLValue. Move parsing of various types from nsHTMLValue to nsAttrValue. Rename StringToAttribute to ParseAttribute and make it return a PRBool, as well as make a couple of minor fixes in the ParseAttribute code.
r=caillon sr=jst
2004-03-04 02:06:28 +00:00
darin%meer.net c380c59f65 landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin 2004-02-28 22:34:07 +00:00
bryner%brianryner.com c3ab816242 Trivial change to not run the nsFont default ctor here. r+sr=dbaron. 2004-02-25 23:15:11 +00:00
dbaron%dbaron.org 7734c4c4c4 Attempt to fix Windows bustage. 2004-02-24 07:37:36 +00:00
dbaron%dbaron.org eafdebc6f0 Change -moz-opacity to opacity. Create a mechanism for creating a second name for a CSS property and continue to support -moz-opacity. b=93156 r=bzbarsky sr=roc 2004-02-24 06:48:25 +00:00
bryner%brianryner.com bcd5a3470e Fixing AIX bustage 2004-02-24 00:36:35 +00:00
bryner%brianryner.com 225298a99e Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc. 2004-02-23 21:29:06 +00:00
darin%meer.net 05c39fbe7d bustage fix r=dbaron 2004-02-19 21:01:29 +00:00
cbiesinger%web.de e073bfa038 233890, misc cleanup in some layout files, r+sr=bz 2004-02-19 18:56:13 +00:00
dbaron%dbaron.org d1078e6485 Replaced elements should not support generated content. b=169334 r+sr=bzbarsky 2004-02-19 18:04:15 +00:00
dbaron%dbaron.org 43ca4b48b9 Convert switch in nsCSSProps::LookupPropertyValue to use a table by adding to the CSS_PROP_* macros. b=208726 r+sr=bzbarsky 2004-02-19 18:02:20 +00:00
darin%meer.net 8d65e087ae landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
jst%mozilla.jstenback.com 64ad19a801 Fixing bug 68215. Adding support for the onbeforeunload event. r=peterv@propagandism.org, sr=brendan@mozilla.org 2004-02-11 06:09:51 +00:00
bryner%brianryner.com 92499cbd13 Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron. 2004-02-11 04:57:07 +00:00
sicking%bigfoot.com b207ff1bdf Bug 232706: Remove unneccesary datatypes from nsHTMLValue and cleanup AttributeToString.
r=caillon sr=jst
2004-02-11 00:09:59 +00:00
sicking%bigfoot.com 4cedcd531b Final patch for bug 195350. Make XUL use new nsAttrAndChildren class. Kill nsXULAttributeValue and nsXULAttributes in favour of nsAttrValue resp. nsDOMAttributeMap. Should fix a few bugs, improve performance and reduce bloat.
r=bz sr=jst
2004-02-10 09:08:06 +00:00
dbaron%dbaron.org 952d32ee39 Clean up nsStyleContext::GetUniqueStyleData. b=233480 r+sr=bzbarsky 2004-02-09 06:55:14 +00:00
alex.fritze%crocodile-clips.com 5c676d4a47 Landing of SVG_20020806_BRANCH, Bug 182533. Refactoring of SVG backend, new GDI+ and Libart rendering
backends, text support on Windows (GDI+), rudimentary text support on Linux (libart/freetype2), presentation
attributes, lots of bug fixes (see bug 182533 for dependency list).

Not part of default build; code is #ifdef'ed out.

r=sicking, sr=jst for dom and htmlparser changes
r=bsmedberg, sr=tor for config changes
r=dbaron, sr=bzbarsky for content and layout changes
r=tor, sr=bzbarsky for gfx changes
2004-02-07 12:39:26 +00:00
dbaron%dbaron.org 474bdc807e Implement -moz-margin-start, -moz-margin-end, -moz-padding-start, and -moz-padding-end and cascade them correctly. Use them in html.css to improve default styles for lists in RTL documents. b=74880 r+sr=bzbarsky 2004-02-04 06:10:56 +00:00
jst%mozilla.jstenback.com f894d79c80 Checking in patch from psolanki@myrealbox.com for bug 232417. DeCOMtaminating nsIHTMLDocument. r+sr=jst@mozilla.jstenback.com 2004-02-03 23:23:10 +00:00
bryner%brianryner.com 4f69ec2c2e Guarantee that the pres context's device context will be non-null by returning failure from Init() if it's null. Rename inline getter GetDeviceContext() to DeviceContext(), convert all callers to use the inline getter, and remove the virtual/refcounting getter. Bug 229371, r+sr=dbaron. 2004-02-02 22:17:21 +00:00
sicking%bigfoot.com 878604026e Bug 231199: Make hashing of mapped-attributes be case sensitive to improve performance, and enable possible codesharing with xul and svg in the future.
r=peterv sr=jst
2004-02-02 22:00:36 +00:00
bryner%brianryner.com 42adb9f1be More nsIPresContext deCOMtamination (bug 229371). Inline getters and setters for LinkHandler, VisibleArea, and Language; change some methods that don't return any useful data to |void|; make GetContainer return an already_AddRefed. r+sr=dbaron 2004-02-01 10:09:07 +00:00
bryner%brianryner.com 08f53379c4 Continuing nsIPresContext deCOMtamination (bug 229371). Remove ReParentStyleContext - callers can call frame manager directly. Removed several unused setters. Inlined getters for default colors, font scaler, and focus ring width. Changed GetDefaultFont to return a const nsFont*. r+sr=dbaron. 2004-01-31 22:41:40 +00:00
sicking%bigfoot.com 1152b3d656 More bug 195350 work: Make html use new nsAttrAndChildArray class.
r=caillon sr=jst
2004-01-26 19:22:05 +00:00
peterv%propagandism.org db653ec4e3 Fix for bug 230439 (Remove anonymous nodeinfomanager and other cleanup). r=caillon, sr=jst. 2004-01-18 14:52:21 +00:00
caillon%returnzero.com 619d905d92 Bug 230976.
Use atoms for common default values in nsComputedDOMStyle to avoid string duplication.
r+sr=bzbarsky
2004-01-18 02:42:27 +00:00
dbaron%dbaron.org aa4d378d63 Fix parsing of 'cursor' property and ignoring of uri() values, which we don't support. b=77974 r+sr=bzbarsky 2004-01-18 01:12:58 +00:00
caillon%returnzero.com 3b526b4352 Bug 230973 - NS_STYLE_LIST_STYLE_BASIC is spurious. Remove its usage in favor of the correct default of disc. r+sr=dbaron 2004-01-15 22:06:39 +00:00
sicking%bigfoot.com 7dae6dd93c Bug 195350: First stage of attributes overhaul. New class for storing attributes and children for an element. Use this class for xml elements. Also remove a couple of unneccesary functions from nsIContent.
r=caillon sr=jst
2004-01-15 17:07:27 +00:00
dbaron%dbaron.org 61d72a988d Remove nsChangeHint_ReconstructDoc. b=230945 r+sr=bzbarsky 2004-01-15 03:32:06 +00:00
dbaron%dbaron.org 8c4b7fe415 Fix copy constructor so -moz-image-region inherits correctly. b=220717 r=bzbarsky sr=ben 2004-01-15 02:24:17 +00:00
dbaron%dbaron.org d33950dfac Do style resolution of later siblings required by the CSS + combinator on event state and attribute changes by changing the result of Has(Attribute|State)DependentStyle into a bitfield and setting and handling the restyle-later-siblings bit appropriately. b=15608 r+sr=bzbarsky 2004-01-14 01:36:35 +00:00
dbaron%dbaron.org 99665b6c2c Treat relatively positioned elements at original position for flowing around floats. b=205087 r+sr=bzbarsky 2004-01-11 04:29:09 +00:00
roc+%cs.cmu.edu 9348803726 Bug 225820. Fold nsFrameInnerFrame into nsFrameOuterFrame, rename to nsSubDocumentFrame, and generally clean up this mess. r+sr=dbaron 2004-01-10 05:36:32 +00:00
cbiesinger%web.de e6c5b5084d bug 230343, support CSS2.1 cursor:progress
r+sr=dbaron
2004-01-08 21:27:56 +00:00
bzbarsky%mit.edu 0b28e29088 Add Content-Location header support. Bug 109553, r=jst, sr=darin 2004-01-08 04:04:16 +00:00
bryner%brianryner.com e65d2d2fe5 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. 2004-01-07 22:30:53 +00:00
bryner%brianryner.com d572bc76cf deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky. 2003-12-24 21:51:50 +00:00
peter%propagandism.org 166c671ee0 Patch for bug 209699 (convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst. 2003-12-23 15:41:10 +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
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
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
roc+%cs.cmu.edu 8ab11f1a38 Bug 30579. Add a skinnable 'scrollcorner' element to fill in the gap when there are two scrollbars. r+sr=bryner,a=asa 2003-11-21 10:45:24 +00:00
bzbarsky%mit.edu d45f5c0447 Don't reframe when "float: left" changes to "float: right"; just reflow. Bug
55967, r+sr=dbaron
2003-11-14 22:55:46 +00:00
uid502 91e2869af8 Bug 212366. Make '-moz-opacity' behave like CSS3 opacity: it does not inherit by default, and it composites the element and all its children as a group. r+sr=dbaron 2003-11-01 22:34:59 +00:00
uid502 d81619b4fa Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky 2003-10-31 20:19:18 +00:00