1498 Commits

Author SHA1 Message Date
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
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
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
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
30b11e44d1 Attempt to fix startup bustage
git-svn-id: svn://10.0.0.236/trunk@192054 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-09 08:36:19 +00:00
cvshook%sicking.cc
35316b26ee Bug 326645: Remove mRootContent from nsDocument to avoid all the pains of keeping it in sync with the childlist. Also remove mBodyContent from nsHTMLDocument for the same reason. r=bz sr=jst
git-svn-id: svn://10.0.0.236/trunk@192052 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-09 07:29:41 +00:00
Olli.Pettay%helsinki.fi
b6cdf7cb60 Bug 234455, Centralize event dispatch r=jst, sr=bz
git-svn-id: svn://10.0.0.236/trunk@191900 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-07 17:08:51 +00:00
cst%andrew.cmu.edu
d3e7932d02 Bug 197263 The automatic image resizing pref should toggle the default zoomed state of images, and not disable zooming entirely
r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@191870 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-07 01:44:44 +00:00
bzbarsky%mit.edu
b9302cc9da Trying to fix Tp regression. Bug 324828, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@189393 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-08 05:56:13 +00:00
cbiesinger%web.de
6322c04952 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
bzbarsky%mit.edu
789c343b11 Fix build bustage. Bug 324600
git-svn-id: svn://10.0.0.236/trunk@188774 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-02 20:25:51 +00:00
bzbarsky%mit.edu
1510aacc39 Push up GetPrincipal to nsINode (as GetNodePrincipal). This way all nsINodes
(content, documents, attr nodes) can return their principal as needed.
Eliminate lazy allocation of principals in nsDocument.  Bug 324600, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@188770 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-02 20:02:34 +00:00
cvshook%sicking.cc
0eabcdd5c2 More bug 325404. Use the right charset when parsing baseuris, and fix copy-n-paste error. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@188716 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-02 00:17:15 +00:00
cvshook%sicking.cc
af34ea4a83 Bug 325404: Get rid of _base_href and _base_target attributes and use properties instead. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@188642 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-01 04:43:55 +00:00
mrbkap%gmail.com
61c90940c0 When we don't find a </script> tag, we should put the entire rest of the document into the script element, but not execute the script. This also makes serialization not serialize the end tags for scripts that don't have them (to preserve round tripping). bug 305873, r=sicking sr=jst
git-svn-id: svn://10.0.0.236/trunk@188619 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-31 22:19:46 +00:00
mrbkap%gmail.com
b7ece70d44 Remove the obsolete concept of "DTD verification". bug 323958, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@188516 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-30 23:45:19 +00:00
bzbarsky%mit.edu
83b451451a Make sure first attr always wins, even for <html> and <head>. Bug 324378,
r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@188304 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-27 01:13:00 +00:00
bzbarsky%mit.edu
d6bd116657 Don't lose text in the head context. Bug 324476, r=mrbkap, sr=jst
git-svn-id: svn://10.0.0.236/trunk@188301 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-27 01:05:54 +00:00
mrbkap%gmail.com
8b6ba84a47 bug 324738: Remove some unnecessary complexity from the parser and hardcode DTDs. r=sicking sr=jst
git-svn-id: svn://10.0.0.236/trunk@188251 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 19:07:41 +00:00
mrbkap%gmail.com
44fd52082e bug 321781: document.close() causes weird things to happen when asynchronous things were document.written. r=sicking sr=jst
git-svn-id: svn://10.0.0.236/trunk@188077 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-24 01:25:14 +00:00
bzbarsky%mit.edu
31719bf3ba Implement an nsINode interface; move some common stuff from nsIContent and
nsIDocument to nsINode.  Bug 323311, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@187813 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-19 03:34:18 +00:00
bzbarsky%mit.edu
42fc7c3c0c Fix bug 297801 by making removal and reinsertion of the root element less
magical.  r=peterv, sr=jst


git-svn-id: svn://10.0.0.236/trunk@187490 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-12 17:11:57 +00:00
bzbarsky%mit.edu
de7f7589f3 Fix init of HTML documents to set the right case-sensitivity on the CSS parser
even for XSLT.  Bug 322461, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@187052 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-06 02:53:10 +00:00
darin%meer.net
c0e834f3c6 fixes bug 318193 "Input streams are not implemented consistently" r=biesi sr=bz
git-svn-id: svn://10.0.0.236/trunk@186805 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-02 02:30:32 +00:00
mrbkap%gmail.com
f881e6b0f8 bug 321558: document.write into a new window or frame won't set the title of the
new document. Void out the old title so that we know that there hasn't been a
real <title> yet. r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@186720 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-29 20:38:06 +00:00
cvshook%sicking.cc
cf43ff4e7d Bug 284950: DeCOMTaminate nsIContent::GetAttrNameAt
r/sr=bz


git-svn-id: svn://10.0.0.236/trunk@186678 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-28 21:52:39 +00:00
cbiesinger%web.de
25ded6512e Bug 321504 Remove unneeded uses of nsIDocumentLoader
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@186591 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-26 16:45:59 +00:00
timeless%mozdev.org
b5ef4d21fa Bug 320498 Fix NewChannel impls to handle null in argument
r=darin sr=darin


git-svn-id: svn://10.0.0.236/trunk@186212 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-18 01:50:50 +00:00
mrbkap%gmail.com
50750c8f13 bug 319123: document.close in an external script that is being document.written doesn't close the document and leaks parsers and content sinks and documents. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@185841 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-09 18:50:59 +00:00
jst%mozilla.jstenback.com
b3caccffbd Fixing bug 318461. Move SetNewDocument() and SetOpenerWindow() from nsIScriptGlobalObject to nsPIDOMWindow to clean out non-script related methods form the nsIScriptGlobalObject interface. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@185536 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-01 19:35:27 +00:00
mrbkap%gmail.com
1d00d9984d bug 317370: Remove the vestigial aRemoveEventListeners parameter to SetNewDocument. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@185476 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-30 23:41:49 +00:00
bzbarsky%mit.edu
cf434cba7f Remove content ids. Bug 166637, r=sicking, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@185376 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-29 16:47:18 +00:00
jst%mozilla.jstenback.com
895df6e6ca Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@185351 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-28 23:56:44 +00:00
timeless%mozdev.org
f9bdb44b34 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan


git-svn-id: svn://10.0.0.236/trunk@185269 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 08:16:51 +00:00
bzbarsky%mit.edu
b2f82fd14b Switch the name and id hashtable from strings to atoms. Atomize names in
general.  Bug 315771, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@184748 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-16 02:55:29 +00:00
bzbarsky%mit.edu
b1c4a358ab Remove aForce arg for ID table modifications. Bug 315770, r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@184602 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 22:05:03 +00:00
mrbkap%gmail.com
6b9c2499d9 bug 316049: We need to hold strong refs so that flushing doesn't nuke our presshell. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@184476 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 20:33:11 +00:00
bsmedberg%covad.net
0217e2f9a9 Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
git-svn-id: svn://10.0.0.236/trunk@184456 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 14:36:26 +00:00
cvshook%sicking.cc
9fe570c5d5 Bug 312592: Reduce amount of duplicated code in html contentsink.
r=mrbkap sr=peterv


git-svn-id: svn://10.0.0.236/trunk@184399 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-10 15:51:10 +00:00
bzbarsky%mit.edu
634027a710 Fix trunk-only GetElementById regression. Bug 311681, r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@184371 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-09 21:52:06 +00:00
bzbarsky%mit.edu
d006208790 Move the document's bidi state to actually live on the document, and remove
dependencies on nsPresContext in form submission.  Fixes bugs 100533, 180861,
293171.  r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@184321 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-08 22:45:49 +00:00
mrbkap%gmail.com
12e878ae6e bug 312363: Use the security info of the dynamic context instead of the static context. r=jst sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@184115 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-03 22:47:06 +00:00
bzbarsky%mit.edu
d14d1f2475 Remove nsIStyledContent. Bug 313968, r=sicking, r=dbaron on nsCSSStyleSheet
changes, sr=jst


git-svn-id: svn://10.0.0.236/trunk@183371 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 00:41:51 +00:00
cvshook%sicking.cc
b26f9f52fb Bug 311827: Make GetAttr return a bool rather then an nsresult.
r/sr=bz


git-svn-id: svn://10.0.0.236/trunk@183185 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-28 11:25:24 +00:00