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

8345 Коммитов

Автор SHA1 Сообщение Дата
dbaron%dbaron.org 5b6ae6e571 Rename {nsIDocument,nsIDocumentObserver,nsIFrame}::ContentChanged to CharacterDataChanged, since that's the only thing it's used for. Replace its nsISupports* parameter with a PRBool, since we don't need to allocate an object to pass a boolean parameter. Remove some (but probably not all) unneeded implementations on frames whose content is never a text node. b=234960 r+sr=jst 2004-02-20 21:38:31 +00:00
jst%mozilla.jstenback.com 01f5eea0f1 Checking in for roland.mainz@nrubsig.org, bug 234982. Making print errors always be reported to the user. r+sr=roc@ocallahan.org 2004-02-20 20:59:55 +00:00
jst%mozilla.jstenback.com fdf949b6db Fixing bug 233142. Correct event default action prevention logic to match what we used to do before bug 226462 was fixed. r=bzbarsky@mit.edu, sr=bryner@brianryner.com. 2004-02-20 20:46:22 +00:00
sicking%bigfoot.com b20f53fefb Bug 234615: Remove nsIHTMLContent::GetBaseTarget by cleaning up the imagemap code a bit which was the only client.
r=bryner sr=jst
2004-02-20 19:00:43 +00:00
bryner%brianryner.com 5f7a8b383e Inline boolean getters and setters on nsIPresContext, and change the storage to a bitfield. Bug 229371, r+sr=roc. 2004-02-20 17:49:01 +00:00
roc+%cs.cmu.edu 7c84914071 Bug 230697. Extend MOZ_FORCE_PAINT_AFTER_ONLOAD so that CSS background image loads delay firing of the onload event. r+sr=bz 2004-02-20 06:00:35 +00:00
darin%meer.net 44ce35aebb landing patch for bug 234864 "string branch landing resulted in large spike in heap allocations (brad:A metric)" r+sr=dbaron
this patch also introduces nsTFixedString and removes CBufDescriptor.
2004-02-20 01:53:23 +00:00
bzbarsky%mit.edu 285f0b4d83 Make the plaintext serializer properly handle CDATA nodes. Bug 234427, patch
by Sebastian Redl <wasti.redl@gmx.net>, r=akkana, sr=bzbarsky
2004-02-20 00:10:36 +00:00
bzbarsky%mit.edu b760cf0139 Reset ourselves to the new URI when doing a Load(), instead of resetting to
null.  Bug 233952, r+sr=jst
2004-02-19 23:10:47 +00:00
bzbarsky%mit.edu bcfbdd3131 Fix windows bustage. Bug 232132 2004-02-19 23:00:44 +00:00
bzbarsky%mit.edu cf5bd9ee14 Make property compilation use dependent strings instead of copying the method
bodies and move some duplicated code into a superclass.  Bug 232132,
r=timeless, sr=bryner
2004-02-19 22:24:41 +00:00
sicking%bigfoot.com 80e7d44850 Bug 232480: Fix warnings caused by earlier patch in same bug as well as a few random other warnings.
r=peterv sr=jst
2004-02-19 22:16:16 +00:00
bzbarsky%mit.edu e9b72cc305 Give events created with createEvent a time-of-creation timestamp. Bug 116088,
r+sr=jst
2004-02-19 22:10:23 +00:00
tor%cs.brown.edu 1b99ebfbae Bug 234752 - Print code returns NS_OK in cases where it should return
an error.  Patch by roland.mainz@nrubsig.org, r+sr=roc.
2004-02-19 21:58:40 +00:00
bzbarsky%mit.edu d03176fafc nsAttributeTextNode should always be anonymous. Bug 234613, r+sr=jst 2004-02-19 21:55:18 +00:00
bzbarsky%mit.edu 73d9e5d993 Add null checks to some DOM methods. Bug 234331, r+sr=jst 2004-02-19 21:54:12 +00:00
bzbarsky%mit.edu ec51aa8877 Remove redundant CheckLoadURI function in nsXMLElement. Bug 41907, r+sr=jst 2004-02-19 21:51:10 +00:00
bzbarsky%mit.edu 9989f6da62 Don't crash on null nodes passed to renameNode. Bug 233955, r+sr=jst 2004-02-19 21:45:59 +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
bryner%brianryner.com aad9f258c7 Make script-created DOM events get dispatched to the system event group just like user events. This fixes firing keypress events at a form input, since editor listens for keypresses using the system event group. Bug 213144, r+sr=bzbarsky, a=chofmann. 2004-02-16 08:50:56 +00:00
bzbarsky%mit.edu 58257cdafc Change the refcounting model for XBL stuff as follows:
1)  nsXLBDocumentInfo owns all prototype bindings and deletes them in its
    destructor
2)  Everyone else just has weak refs to prototype bindings
3)  nsXBLBinding holds a weak ref to the proto binding and a strong ref to
    the document info
4)  The document info is what's stored in the chrome cache.

to prevent crashes.  Bug 226692, r=timeless, sr=bryner, a=brendan
2004-02-15 19:24:42 +00:00
bzbarsky%mit.edu 9513d305ed Make sure to retarget events when they leave native anonymous content. Also
make sure that native anonymous content is marked so (this way clicking on a
url()-created image in :before won't have an <img> node as a target).  Bug
233286, r+sr=bryner, a=dveditz
2004-02-15 04:45:18 +00:00
dbaron%dbaron.org d97dedc812 Back out bug 20022. a=chofmann 2004-02-14 20:29:19 +00:00
timeless%mozdev.org 4b56a45a39 1.148 <jst@mozilla.jstenback.com> 09 Jan 2004 15:54
General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission.
Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
Fix MOZ_TIMELINE r+sr=bz
Not part of the build
2004-02-13 22:19:50 +00:00
peterv%propagandism.org a0b0a5b202 Fix stupid error from fix for bug 16603 (DOM doesn't throw INVALID_CHARACTER_ERR for arguments with invalid characters). r/sr=jst, a=choffman. 2004-02-12 16:40:40 +00:00
jst%mozilla.jstenback.com feda3ad1b7 Fixing bug 206859. Don't allow drag & drop into file inputs. r=caillon@aillon.org, sr=bryner@brianryner.com, a=chofmann@mozilla.org 2004-02-11 21:31:53 +00:00
bzbarsky%mit.edu 556d811109 Fix hang bug 232368. Patch by Mats Palmgren <mats.palmgren@bredband.net>,
r=bzbarsky, sr=bryner
2004-02-11 07:47:06 +00:00
bzbarsky%mit.edu 817f6d4f30 Fix bug 232798 -- make sure to set the link handler on the prescontext to null
when destroying the document viewer.  r+sr=jst
2004-02-11 06:48:37 +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
jst%mozilla.jstenback.com 33086e9ea8 Fixing regression bug 233753. Making document.createElement() create HTML elements again when called on an HTML document. r=bzbarsky@mit.edu, sr=dbaron@dbaron.org 2004-02-11 02:22:43 +00:00
sicking%bigfoot.com dbd12bd760 Bug 232989: Fix crash due to bad refcounting in nsDOMAttribute
r+sr=bryner
2004-02-11 02:02:39 +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 0f00616420 More bug 232480: Forgot to make nsGenericHTMLElement forward to it's new parentclass
r/sr=peterv
2004-02-10 20:04:57 +00:00
sicking%bigfoot.com 99077ffa6f Bug 232480: Make nsGenericHTMLElement inherit nsGenericContainerElement and kill the concept of leaf vs. container elements. Also remove unused argument to CopyInnerOf
r=peterv sr=jst
2004-02-10 19:36:43 +00:00
mvl%exedo.nl 4bc72bffba Add a way to manually show a single blocked pop-up window. Pass the features of the window.open() call in DOMPopupBlockedEvent.
Bug 198846, r=danm, sr=jag
2004-02-10 18:22:23 +00:00
peterv%propagandism.org d5850e3177 Fix warnings. 2004-02-10 13:17:48 +00:00
peterv%propagandism.org 713c734ef8 Fix for bug 16603 (DOM doesn't throw INVALID_CHARACTER_ERR for arguments with invalid characters). r=sicking, sr=jst. 2004-02-10 10:58:13 +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
jst%mozilla.jstenback.com 505c634885 Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com. 2004-02-09 22:48:53 +00:00
bzbarsky%mit.edu 7077fb69a1 Make SVG use the normal attribute mapping codepath (via HasAttributeDependence)
by pushing the relevant helpers up to nsGenericElement..  Remove referrer code
in nsSVGDocument, since nsDocument handles that.  Bug 233370,
r=alex@croczilla.com, sr=jst
2004-02-09 20:48:20 +00:00
dbaron%dbaron.org 952d32ee39 Clean up nsStyleContext::GetUniqueStyleData. b=233480 r+sr=bzbarsky 2004-02-09 06:55:14 +00:00
cbiesinger%web.de 9f0c10325f Bug 84123 Image information is shown on title bar only after image is completely loaded
call UpdateTitleAndCharset in OnStartContainer, that's the earliest time at
which we have the image dimensions.
r=varga sr=bzbarsky
2004-02-08 20:58:38 +00:00
dbaron%dbaron.org a52a065fe2 Fix one more out-of-bounds access to gLexTable. b=233399 r+sr=bzbarsky 2004-02-08 19:43:50 +00:00
dbaron%dbaron.org 456b60e585 Fix another case of out-of-bounds access of gLexTable. b=233399 r+sr=bzbarsky 2004-02-08 19:22:47 +00:00
dbaron%dbaron.org 49aa2c0ab9 Fix crashes caused by out-of-bounds access to gLexTable and some other bugs. b=233399 r+sr=bzbarsky 2004-02-08 07:29:42 +00:00