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

8345 Коммитов

Автор SHA1 Сообщение Дата
bzbarsky%mit.edu 739cc2278a Fix bug 233197. r+sr=jst 2004-02-07 19:38:10 +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
hpradhan%hotpop.com de628eca3f Bug 193223 : Make the add() method on html option collections
more compatible with IE. r+sr=jst
2004-02-07 11:40:30 +00:00
jst%mozilla.jstenback.com 75d15492c5 Fixing regression bug 233191. Make sure we fire the correct document notifications when inserting/appending children to a DOM node through the DOM APIs. r=mscott@mozilla.org, sr=bzbarsky@mit.edu 2004-02-06 02:26:10 +00:00
jst%mozilla.jstenback.com cb45f84bb7 Fixing bug 197427. Making insertBefore, appendChild, replaceChild, and removeChild() work correctly on XUL elements by sharing the implementation with nsGenericElement. r=jonas@sicking.cc, sr=bzbarsky@mit.edu 2004-02-05 06:48:30 +00:00
bryner%brianryner.com 433c389ddf Inline getters and setters for scaling factors on nsIDeviceContext. Bug 233103, r+sr=dbaron. 2004-02-05 01:57:10 +00:00
tingley%sundell.net 6b5bffc068 bug 232854: RemoveBroadcastListenerFor wasn't removing listeners properly.
r=varga sr=bzbarsky
2004-02-05 01:08:07 +00:00
dbaron%dbaron.org 7eed40eacb Improve serialization of new margin/padding properties (and fix CSS parsing errors). b=74880 r+sr=bzbarsky 2004-02-05 00:19:19 +00:00
dbaron%dbaron.org 8339f01ba5 Relanding changes for bug 74880. 2004-02-04 08:16:19 +00:00
dbaron%dbaron.org 9ecdb39d54 Backing out part of changes to see which part is causing performance problem. b=74880 2004-02-04 08:03:40 +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
dbaron%dbaron.org 821786cb64 Update :hover state and mouse cursor and send mouse events when the position of the pointer changes due to scrolling or reflow. b=20022 r=roc sr=bryner 2004-02-04 00:11:59 +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
danm-moz%comcast.net a8c0e31042 that doesn't seem to be the problem. restoring over last revision. 2004-02-03 20:07:39 +00:00
danm-moz%comcast.net 4af7136524 disabling last checkin in an attempt to pin down the Tp regression 2004-02-03 17:16:05 +00:00
danm-moz%comcast.net 865ea79700 add accessor and mutator for event currently being handled. bug 197919 r=bryner,jst 2004-02-03 02:22:01 +00:00
dbaron%dbaron.org 586744e7f3 Make debugging code compile on gcc. Fix warnings. b=232711 r+sr=bryner 2004-02-02 22:42:29 +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
hpradhan%hotpop.com 164a5876e6 remove unused variable, fix warning (follow up to checkin for bug 229575) 2004-02-01 12:17:19 +00:00
hpradhan%hotpop.com a5975523b9 bug 232731 : misc cleanup in printing code 2004-02-01 12:10:57 +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
dbaron%dbaron.org 517939b28f Add missing CPP_THROW_NEW to fix HP-UX bustage. b=195350 2004-01-30 23:26:29 +00:00
sicking%bigfoot.com 8c6f746994 Doh! This is what i ment to do. (Bug 195350) 2004-01-30 22:26:24 +00:00
sicking%bigfoot.com 1756d2df8b More bug 195350 work. Try to improve performance and reduce mallocs by letting buffer for mapped attributes be inline allocated.
r=caillon sr=jst
2004-01-30 22:08:23 +00:00
jst%mozilla.jstenback.com 90431d8022 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org 2004-01-29 22:04:45 +00:00
neil%parkwaycc.co.uk 5cade97563 Don't retarget events that are bubbling back out of content anonymous to the original target b=196755 r=bryner sr=jst 2004-01-29 21:14:53 +00:00
jst%mozilla.jstenback.com 2d28da6586 Making nsDocument::RetrieveRelevantHeaders() non-virtual now that noone overrides it. Bug 202636, suggested by psolanki@myrealbox.com, r+sr=jst@mozilla.jstenback.com 2004-01-29 20:52:06 +00:00
bsmedberg%covad.net 7d79d7ba8b Bug 232201 part 2 - update consumers to use inherited nsIPrefBranchInternal interface. This should be happy for codesize. r=alecf sr=darin 2004-01-28 23:45:17 +00:00
jst%mozilla.jstenback.com dd5cd55cda Fixing bug 227263. Making document.domain return null in stead of throwing an exception when there's no domain to return. r+sr=peterv@propagandism.org. 2004-01-28 23:44:08 +00:00
dbaron%dbaron.org 96079e83a3 Use a stub implementation of nsIDocumentObserver for implementors of nsIDocumentObserver in the layout library. b=232351 r=jst sr=peterv 2004-01-28 21:04:33 +00:00
hpradhan%hotpop.com 51b35949b2 bug 229575 : refactor some code that was common between
the xml and html content sinks into nsContentSink
r=sicking sr=jst
2004-01-28 12:14:17 +00:00
hpradhan%hotpop.com 4d399b535b bug 232035 : fix leak and cleanup some stuff in printing code r=dbaron sr=jst 2004-01-28 11:17:14 +00:00
bryner%brianryner.com bc74f0b352 More nsIPresContext deCOMtamination (bug 229371). Removed GetBaseURL, rename GetMedium to Medium and inline it, remove virtual style resolution methods that forward to style set (callers will call style set methods directly). Removed PresContext parameter to StyleSet style resolution functions. r+sr=dbaron. 2004-01-28 00:18:22 +00:00
bzbarsky%mit.edu 317cfcd106 Make sure to not return uninitialized stuff. Bug 232317, r+sr=jst 2004-01-27 22:24:02 +00:00
bzbarsky%mit.edu cf95b2d9f7 If compilation of a prototype member fails, destroy all prototype members
before bailing.  Bug 232095, r+sr=bryner
2004-01-27 21:18:00 +00:00
jst%mozilla.jstenback.com 3ceaf0031a Fixing bug 232133. Cleaning up nsHTMLSelectElement a bit. r+sr=bzbarsky@mit.edu. 2004-01-27 16:20:38 +00:00
jst%mozilla.jstenback.com 33dc243815 Fixing bug 202636. Patch by psolanki@myrealbox.com. Adding document.referrer to all document types. r+sr=jst@mozilla.jstenback.com 2004-01-27 04:41:12 +00:00
bzbarsky%mit.edu 88734d1060 Remove the broken nsAttributeContent and just use regular textnodes to
implement attr() content.  Use mutation events to handle dynamic attr changes.
Bug 214013, r=dbaron, sr=jst
2004-01-27 04:22:58 +00:00
sicking%bigfoot.com b1b6747c76 Fix bustage from bad casing in #include 2004-01-26 19:32:48 +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
ere%atp.fi e11b1cf9fb Fix for bug 231001: [rte] HTMLArea (Midas) broken since 20040114
r=brade
sr=bz
2004-01-26 09:48:50 +00:00
hpradhan%hotpop.com 3b99f154bd bug 231233 : nsPrintData.h cleanup r+sr=jst 2004-01-24 07:23:56 +00:00
jst%mozilla.jstenback.com ce1edc1dc9 Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com 2004-01-24 00:46:17 +00:00
neil%parkwaycc.co.uk 84428dc828 Bug 231368 Remove unused nsIPref includes p=arne.anka@stupido.com r/sr=dbaron 2004-01-23 13:31:07 +00:00
jst%mozilla.jstenback.com 7e540d1a9c Removing unused variable (bug 230947). Patch bygautheri@noos.fr, r+sr=jst@mozilla.jstenback.com 2004-01-22 22:20:54 +00:00
pkw%us.ibm.com e14c5e9a65 Bug 231104 - Checkin for Bug 195350 causes AIX build to segfault on startup.
r=bugmail@sicking.cc, sr=tor@acm.org
2004-01-22 21:58:57 +00:00
dbaron%dbaron.org f3af1a7aef Fix two problems with display fixups. b=231787 r+sr=bzbarsky 2004-01-22 21:34:04 +00:00
bzbarsky%mit.edu cdb84804de Move the methods for handling inline style and attribute style sheets up to
nsDocument.  Bug 230947, r+sr=jst
2004-01-22 03:35:09 +00:00
bzbarsky%mit.edu bbe0e03d7d Make image inputs that got replaced by alt text still submit .x and .y (submit
empty strings).  Bug 122238, r+sr=jst
2004-01-22 03:26:17 +00:00
bryner%brianryner.com 23ecb8ff4e DeCOMtaminate nsCSSFrameConstructor (bug 231157). This gets rid of the nsIStyleFrameConstruction and nsICSSFrameConstructor interfaces. The frame constructor now has the same lifetime as the pres shell. r+sr=dbaron. 2004-01-21 23:05:10 +00:00
dbaron%dbaron.org 83bdcbc379 Fix leak regression by restoring code that gets the script context from the prototype document for compiling event handlers that are going to be stored in the prototype. b=231384 r=brendan sr=bryner 2004-01-21 21:11:29 +00:00
bzbarsky%mit.edu b09be5c6ed Backing out the last change since it has no effect on Ts and increases
codesize. Bug 224765.
2004-01-21 15:36:28 +00:00
bryner%brianryner.com ef5c330583 Continuing nsIPresContext deCOMtamination (bug 229371). Remove GetImageLoadFlags (unused). Make failure to fetch the LookAndFeel service cause Init() to fail, don't null check it after that, and inlined the getter. Move IOService caching to nsImageFrame, the only user of it. r+sr=bzbarsky. 2004-01-21 09:35:59 +00:00
bzbarsky%mit.edu 6c601cd03a Oops, forgot this change. Bug 224765 2004-01-21 05:06:42 +00:00
bzbarsky%mit.edu 583a9847e3 Attempt to fix Ts regression from bug 224765. r+sr=darin 2004-01-21 05:03:10 +00:00
dbaron%dbaron.org d063f5af57 Send ContentStateChanged notifications for the checked state with correct BeginUpdate and EndUpdate calls and even when there is no frame, except during element construction. b=231081 r=bzbarsky sr=jst 2004-01-21 04:28:57 +00:00
bzbarsky%mit.edu 5f18239117 When a method has an empty body, don't drop the rest of the binding because of that.
Bug 231324, r+sr=bryner
2004-01-18 23:38:31 +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
peterv%propagandism.org fbd88a1d66 Fix for bug 230439 (Remove anonymous nodeinfomanager and other cleanup) - share CreateElement. r=caillon, sr=jst. 2004-01-18 11:59:21 +00:00
peterv%propagandism.org 379d6c8a41 Miscellaneous cleanup. r/sr=jst. 2004-01-18 10:45:26 +00:00
peterv%propagandism.org 629972988f Fix for bug 230439 (Remove anonymous nodeinfomanager and other cleanup). r=caillon, sr=jst. 2004-01-18 10:22:22 +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
bzbarsky%mit.edu 498627aad7 Handle two-':' forms of pseudo-elts. Bug 128482, r=caillon, sr=jst 2004-01-17 20:04:26 +00:00
sicking%bigfoot.com 8b2a7340b2 Bug 195350: Fix regression from earlier patch in same bug: make html-attributes be case-insensitive again.
r=caillon sr=peterv
2004-01-16 22:44:33 +00:00
pkw%us.ibm.com 7b60572a0e Bug 231104 - Checkin for Bug 195350 causes AIX build to segfault on startup.
r=bugmail@sicking.cc, sr=tor@acm.org
2004-01-16 21:04:12 +00:00
sicking%bigfoot.com 586ea7aa13 Fix to landing of bug 195350. Shuffle the right memory.
r/sr=tor
2004-01-15 23:10:45 +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
dbaron%dbaron.org b8ca5986ed Remove bogus assertion (decl should be null for elt.style, if there's no style attribute). r+sr=bzbarsky 2004-01-15 21:00:35 +00:00
sicking%bigfoot.com 6403defab2 Fix HP-UX bustage 2004-01-15 20:02:25 +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
timeless%mozdev.org 088027c49a Bug 190826 nsIRDFNodeList is not used
r=jag sr=bz
2004-01-15 08:39:11 +00:00
dbaron%dbaron.org 61d72a988d Remove nsChangeHint_ReconstructDoc. b=230945 r+sr=bzbarsky 2004-01-15 03:32:06 +00:00
bryner%brianryner.com 072b7160a8 Consolidate SetEnabled and SetDisabled; make sure both of them clear the rule cascade on the rule processors. Bug 230651, r+sr=bzbarsky. 2004-01-15 03:26:56 +00:00
caillon%returnzero.com 107a86d7ae Correcting the usage of mozAutoDocUpdate here, see bug 230283.
r+sr=bzbarsky over irc.
2004-01-15 03:18:03 +00:00
timeless%mozdev.org ece20662c7 Bug 229804 CSS Errors in content/x?l/tests
patch by bc@bclary.com r=heikki sr=dbaron
2004-01-15 03:08:01 +00:00
dbaron%dbaron.org 9e6a8ccd41 Add support for -moz-image-region to getComputedStyle. b=220717 r=bzbarsky sr=ben 2004-01-15 02:25:08 +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 b628916220 Make HasMutationListeners less repetitive by making the repeated part its own function. b=230938 r+sr=jst 2004-01-15 02:21:32 +00:00
bryner%brianryner.com 0921cd696f When checking whether whitespace should be stripped, look at the element's namespace instead of using IsContentOfType(). This makes things work correctly when MOZ_XUL is not defined and XUL elements are just XMLElements. Bug 230877, r+sr=jst. 2004-01-14 21:33:01 +00:00
brendan%mozilla.org 7f1ddb9c0b Remove trailing whitespace. 2004-01-14 20:18:54 +00:00
dbaron%dbaron.org 7c0fd2338b Implement CSS3 indirect adjacent sibling combinator (~). Roughly identical patches independently written by Daniel Glazman <daniel@glazman.org>, Bradley Baetz <bbaetz@acm.org>, and me. r+sr=dbaron b=135141 2004-01-14 20:12:03 +00:00
bsmedberg%covad.net 3d0c574845 Re-landing bug 229285 - There was a misplaced close-brace in nsXULDocument.cpp that was causing problems non-chrome XUL documents. 2004-01-14 18:03:25 +00:00
bsmedberg%covad.net 0459dfe56b Backing out bug 229285 until I can figure out the orange with the -chrome file:///blah scenario. 2004-01-14 15:26:08 +00:00
bsmedberg%covad.net 386f40c13a Bug 229285 - separate nsIXULOverlayProvider from nsIXULChromeRegistry
r=bryner sr=hyatt
2004-01-14 13:30:55 +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
bryner%brianryner.com 5a2537116c Fix titlebar updating when using tabs (bug 230829). r+sr=dbaron. 2004-01-14 01:33:47 +00:00
bzbarsky%mit.edu 81a1f93877 Forgot a file. Bug 211376. 2004-01-13 23:53:23 +00:00
bzbarsky%mit.edu 83f91b12d0 Use weak presshell ptr, since we can. More on bug 230380 2004-01-13 23:24:41 +00:00
bzbarsky%mit.edu 8093efd14c Remove nsIHTMLContentContainer, merge those three functions into nsIDocument,
and make XUL style attribute dynamic changes get a proper CSSLoader off the
document. Bug 211376, r+sr=jst
2004-01-13 23:14:49 +00:00
bzbarsky%mit.edu 1dde8f981f Fix crash bug 230380. Patch by isaachh@mailc.net (Isaac Hwak Han), r=bryner, sr=jst 2004-01-13 20:50:57 +00:00
bzbarsky%mit.edu 15a648ab14 Make pretty-printing stylesheets force UTF-8 for themselves. Update charset
stuff in CSSLoader to look at the parent sheet charset and use NSPR logging.
Bug 230660, r=sicking, sr=peterv
2004-01-13 19:01:26 +00:00
bryner%brianryner.com 6996bca809 Don't create new rule processors when a style sheet is enabled or disabled, just clear the rule cascade on the existing processors. Bug 230651, r=dbaron, sr=bzbarsky. 2004-01-13 02:19:28 +00:00
bzbarsky%mit.edu 04b733ce1c Don't allow pseudos that are supposed to be functions to pass through as ident
tokens.  Bug 230704, r+sr=dbaron
2004-01-12 23:56:18 +00:00
bzbarsky%mit.edu f09279d25e Minor cleanup in XBL. Bug 230591, r+sr=bryner 2004-01-12 23:43:59 +00:00
jshin%mailaps.org a4fb17a613 bug 230104 : fall back to ISO-8859-1 in the script loader when charset name is not recognized or no Unicode decoder is available (r=smontagu, sr=bz) 2004-01-12 20:41:58 +00:00
bryner%brianryner.com 2bddef83ba Improve the way in which nsEvent and its subclasses are initialized. Commonly-used members can now be initialized via an inline constructor, and all other members are initialized to zero. eventStructType is set automatically. This also fixes some cases where an eventStructType was doubling as a message -- NS_TEXT_EVENT is now only used as an eventStructType, with a message of NS_TEXT_TEXT. NS_COMPOSITION_* events get an eventStructType of NS_COMPOSITION_EVENT, and ditto for NS_RECONVERSION_*. NS_DRAGDROP_EVENT is no longer an eventStructType since it is not a unique type of struct. There is also some miscellaneous cleanup to nsDOMEvent. Bug 220228, r=jst, sr=blizzard. 2004-01-12 08:25:18 +00:00
bzbarsky%mit.edu bc704c519e Fix regression bug 230620. r+sr=dbaron 2004-01-11 22:03:41 +00:00