1508 Commits

Author SHA1 Message Date
dbaron%dbaron.org
7be4b9c543 Fix GC hazards associated with event handlers on images only reachable from their current network loads, some of which are regressions from 241518. b=321054 r=darin sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@198815 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-01 18:35:21 +00:00
bzbarsky%mit.edu
2f83475c96 Remove some pointless nsIChannel impls. Bug 337748, r=sicking, sr=darin
git-svn-id: svn://10.0.0.236/trunk@198653 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-30 17:26:00 +00:00
peterv%propagandism.org
399ad6834c Fix for bug 338834 (plugins are broken (PDF, WPM, MPG, AVI etc files won't load)). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@198264 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-23 15:33:15 +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
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
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
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
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
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
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
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
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