4410 Commits

Author SHA1 Message Date
cvshook%sicking.cc
e96a4f70c3 Bug 337543: Use nsINode more. r/sr+peterv
git-svn-id: svn://10.0.0.236/trunk@197985 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-19 10:01:22 +00:00
ginn.chen%sun.com
572a01fca2 Bug 335900 no state change event fired when take action on HTML input
element
patch by evan.yan@sun.com r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@196642 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-16 03:54:46 +00:00
Olli.Pettay%helsinki.fi
8c8d5effa7 Bug 337586, Crash [@ PresShell::InitialReflow] when window gets destroyed duren beforeunload event handler, pressing reload, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@196551 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-15 17:51:35 +00:00
gavin%gavinsharp.com
50ec5c816c Bug 337970: assert that the bookmarks charset resolver doesn't ask to be notified of the final resolved charset, since we can't currently notify, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@196548 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-15 17:40:51 +00:00
gavin%gavinsharp.com
aff52b7588 Bug 337970: don't pass null to RequestCharset, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@196537 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-15 17:17:04 +00:00
cvshook%sicking.cc
98f1d1c517 Bug 334075: Push mFlagsOrSlots to nsINode to allow storing flags and (in the future) slots on nsGenericDOMDataNodes. r=mrbkap sr=bz
git-svn-id: svn://10.0.0.236/trunk@196502 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-15 07:03:15 +00:00
bzbarsky%mit.edu
572b6ceade Fix the way we do notifications so we don't notify twice for <head>. Bug
332644, r=mrbkap, sr=peterv


git-svn-id: svn://10.0.0.236/trunk@196410 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-12 20:36:39 +00:00
darin%meer.net
42edf059cf landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
peterv%propagandism.org
3d73be49be Syncing with nsHTMLObjectElement.cpp r1.95 (this file was a cvs copy of nsHTMLObjectElement.cpp, but they diverged). NPOTB.
git-svn-id: svn://10.0.0.236/trunk@196141 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-07 17:16:50 +00:00
timeless%mozdev.org
6841bbc25a Bug 331023 Cleanup of IDL files; fixing type inconsistencies
r=dbaron


git-svn-id: svn://10.0.0.236/trunk@196127 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-07 00:19:46 +00:00
timeless%mozdev.org
1a5bcd5020 Bug 335953 Make code outside intl use NS_CHARSETALIAS_CONTRACTID instead of NS_CHARSETALIAS_CID
r=bz sr=bz


git-svn-id: svn://10.0.0.236/trunk@196118 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-06 22:09:20 +00:00
cvshook%sicking.cc
cec9ea1123 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@196009 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 06:52:21 +00:00
bzbarsky%mit.edu
86c63016f2 Don't half-support document.write in XHTML. Bug 332848, r=mrbkap, jst, sr=dvediz, a=dvediz
git-svn-id: svn://10.0.0.236/trunk@195934 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-03 21:20:14 +00:00
cls%seawood.org
a5d31bcc19 Use NS_REINTERPRET_CAST to convert from jschar* to PRUnichar*. Fixing mingw bustage.
Bug #336331 r=vladimir


git-svn-id: svn://10.0.0.236/trunk@195890 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-03 04:28:12 +00:00
vladimir%pobox.com
d58db833b5 b=336331, fix toDataURL to be more in line with the whatwg spec, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195865 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-03 00:48:27 +00:00
bzbarsky%mit.edu
35553cc59b Make nsIDocumentEncoder::init scriptable. Bug 330517, patch by jpl24
<jlurz24@gmail.com>, r=bzbarsky, sr=sicking


git-svn-id: svn://10.0.0.236/trunk@195756 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-01 05:25:52 +00:00
bzbarsky%mit.edu
bf19ef708d Rename GetNodePrincipal to NodePrincipal. Bug 327246, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@195579 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 18:21:11 +00:00
mrbkap%gmail.com
d506ee0a4b Fixing bustage from bug 333697
git-svn-id: svn://10.0.0.236/trunk@195460 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 20:21:31 +00:00
mrbkap%gmail.com
b8f2621c76 When a document's scope object changes (e.g., for a call to document.open), actually change the scope object and move all of the wrappers in the old scope into the new one. bug 333697, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@195456 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 19:53:27 +00:00
roc+%cs.cmu.edu
0efb95265d Bug 330305. Rename nsSelection to nsFrameSelection, and deCOMtaminate it, removing nsIFrameSelection. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195411 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 01:57:22 +00:00
cvshook%sicking.cc
ea199784e9 Bug 334977. Separate mFileName from mValue. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@195344 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-25 09:18:42 +00:00
smontagu%smontagu.org
a42a849983 Don't propagate encoding up to the parent document viewer. Bug 315381, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@195343 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-25 06:57:31 +00:00
bzbarsky%mit.edu
24d1be29e9 Dispatch mutation events even in documents that are not rendered in a window.
Bug 201236, patch by Alex Vincent <ajvincent@gmail.com>, r=smaug, sr=peterv


git-svn-id: svn://10.0.0.236/trunk@195285 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-24 19:52:21 +00:00
leon.sha%sun.com
ca47f5992a Bug 333896
Convert GetAttr calls to AttrValueIs and FindAttrValueIn.
Patch by alfred.peng@sun.com.
roc: review+
roc: superreview+


git-svn-id: svn://10.0.0.236/trunk@195238 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-24 05:40:11 +00:00
cvshook%sicking.cc
8831c806fe More bug 114997. Don't strip whitespace from mValue, only when getting the value from the attribute. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@195235 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-24 05:20:44 +00:00
bryner%brianryner.com
46848f007d Fix focus-stealing for button elements (bug 299677). Patch by darin, r+sr=me.
git-svn-id: svn://10.0.0.236/trunk@195029 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 02:10:53 +00:00
bzbarsky%mit.edu
f2f136de78 HTMLTableElement.rows should include rows that are not in table sections. Bug
309433, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@195024 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 01:44:58 +00:00
bzbarsky%mit.edu
fe80ff3c7a Make sure documents have a content type at creation time. Bug 311218,
r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@195015 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 01:24:44 +00:00
vladimir%pobox.com
e68c508dc4 b=333177, update canvas internal interfaces, optimize canvas, and fix some implementation bugs; r=stuart
git-svn-id: svn://10.0.0.236/trunk@194628 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 21:23:15 +00:00
bzbarsky%mit.edu
0b800bdc50 Don't trim whitespace off hidden input values. Bug 114997, patch by Steuard
Jensen <steuard+moz@slimy.com>, r=sicking, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@194535 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-17 21:28:47 +00:00
dbaron%dbaron.org
0972328eae Null-check mBodyContent. b=334080 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@194453 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-15 07:21:41 +00:00
mrbkap%gmail.com
002afae6e8 Remove defunct assertions from debug-only code. bug 334055, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@194441 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-15 00:39:35 +00:00
benjamin%smedbergs.us
6e24a5d20a Freeze nsIArray (requires separating nsIMutableArray into another .idl file); also removes NS_NewArray and moves do_QueryElementAt into the glue, r=darin
git-svn-id: svn://10.0.0.236/trunk@194221 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-12 15:43:32 +00:00
Olli.Pettay%helsinki.fi
0364c240e0 Bug 330494, changing the category names per bz' suggestion
git-svn-id: svn://10.0.0.236/trunk@194142 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 17:05:25 +00:00
jwatt%jwatt.org
4e391fb1bc Partial fix for bug 331630. Remove nsEventStatus. r=olli.pettay@gmail.com, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@194119 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 13:17:29 +00:00
Olli.Pettay%helsinki.fi
52e2d4c325 Bug 330494, Remove NS_EVENT_FLAG_INIT. Makes NN4 event handling and preventBubble and preventCapture methods no-op. r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@194006 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 17:04:54 +00:00
bzbarsky%mit.edu
688678ad2e Make sure the write termination function only terminates the parser that was
active when it was set.  Bug 331620, r=mrbkap, sr=jst


git-svn-id: svn://10.0.0.236/trunk@193899 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-08 01:45:27 +00:00
mrbkap%gmail.com
9f3c532118 Set mStackPos early to avoid bad re-entrancy problems when inserting the new content into its parent does something interesting. bug 332971, r=jst sr=sicking
git-svn-id: svn://10.0.0.236/trunk@193852 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-08 00:32:03 +00:00
dbaron%dbaron.org
9911a9b756 Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
git-svn-id: svn://10.0.0.236/trunk@193572 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 00:00:44 +00:00
bzbarsky%mit.edu
571229ef56 Fix notifications for framesets. Bug 315369, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@193568 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-04 22:37:23 +00:00
martijn.martijn%gmail.com
bda2c3e4d6 Bug 197305 - setting designMode on data: URLs throws security exception, r=bzbarsky, sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@193420 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-03 18:12:37 +00:00
martijn.martijn%gmail.com
ed97921b84 Bug 331491 - I can't access the editor object of a text control using enableprivilege, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@193403 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-02 23:20:46 +00:00
darin%meer.net
70deb5f58d fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron
git-svn-id: svn://10.0.0.236/trunk@193272 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 18:40:56 +00:00
Olli.Pettay%helsinki.fi
ed6f59a4d7 Bug 330710, Replace obsolete preventBubble/preventCapture with stopPropagation, r=neil, r=mconnor, sr=jst
git-svn-id: svn://10.0.0.236/trunk@192998 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-25 22:03:49 +00:00
cvshook%sicking.cc
7a0a94b541 Bug 331547: Get rid of nsGenericElement::WillAddOrRemove
git-svn-id: svn://10.0.0.236/trunk@192958 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-24 22:43:23 +00:00
cvshook%sicking.cc
e2c22d1f10 Back out a few of my patches to see if any caused the Tdhtml regression in bug 331364.
git-svn-id: svn://10.0.0.236/trunk@192842 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-23 08:21:21 +00:00
bryner%brianryner.com
1de3fc0366 Clean up header includes (bug 331050). This round of changes deals with some of the public content headers, and factors nsDOMClassInfoID out of nsIDOMClassInfo.h so that nsContentUtils.h doesn't have to bring in XPConnect. r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@192794 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-22 18:36:36 +00:00
cvshook%sicking.cc
801863a1ca Bug 330084: Don't crash when removing an node from the tree that noone holds on to. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@192506 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-17 00:28:26 +00:00
Olli.Pettay%helsinki.fi
a516ec74ad Bug 329437, Push DispatchClickEvent up to nsGenericElement r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@192322 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-14 19:57:33 +00:00
Olli.Pettay%helsinki.fi
fe51020e02 Bug 329435, Fix EventTargetIn (in nsHTMLLabelElement.cpp) to get the target from the event. r+sr
git-svn-id: svn://10.0.0.236/trunk@192233 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-12 19:57:14 +00:00