Commit Graph

2984 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
c3ea09b7b0 Bug 78510. Maintain a per-document hashmap from URI-spec-hash to set of pointers to content elements that are links to those URIs whose state has been queried by the style system. Use this map to efficiently mark visited any links to URIs which get visited. r+sr=dbaron, with input from bryner and bzbarsky, a=jesup with support from dbaron. May impact Tp and other metrics, be careful out there. 2005-08-10 20:21:44 +00:00
allan%beaufour.dk
88eac285e7 Dispatch DOMContentLoaded on XUL Documents. Bug 302914, r+sr=jst, a=benjamin, patch by smaug@welho.com 2005-08-02 12:42:24 +00:00
jst%mozilla.jstenback.com
8c2bc6fcb8 Landing the split window work, bug 296639. This change doesn't have full reviews yet, bzbarsky@mit.edu and shaver@mozilla.org have done partial reviews, but there's still more to look at. Given the current time constraint this is landed with reviews and followup changes that result to come after the initial checkin. a=drivers 2005-07-30 20:57:07 +00:00
bzbarsky%mit.edu
f87303c155 Make reentering nsRange::DeleteContents safe, and make RemoveChildAt deal with
the mutation event removing the child.  Bug 293388, r=sicking, sr=peterv,
a=bsmedberg
2005-07-26 15:45:49 +00:00
masayuki%d-toybox.com
2aa85fe265 Bug 275960 document.lastModified cannot handle non-ascii characters when the page's HTTP header doesn't have Last-Modified r=jshin, sr=bzbarsky, a=benjamin 2005-07-26 15:40:14 +00:00
bryner%brianryner.com
83216585ac Change PageShow/PageHide events to be lowercase and hook them up so that onpageshow= works on the body tag. Bug 297887, patch by brettw@gmail.com, r=me, a=bsmedberg. 2005-07-25 22:09:39 +00:00
aaronleventhal%moonset.net
f39377c63d Fixing bustage 2005-07-20 20:08:18 +00:00
aaronleventhal%moonset.net
a889275dc8 Fixing bustage. Forgot to check in this file 2005-07-20 19:50:40 +00:00
aaronleventhal%moonset.net
f3ae3ea672 Bug 301436. Start using official DHTML a11y namespaces. r+sr=jst, a=asa 2005-07-20 19:34:55 +00:00
bzbarsky%mit.edu
ae5c6e2f82 Convert InsertData calls into AppendData calls (which require less
reflow/painting to handle) when the data is inserted at the end.  Bug 300797,
r=sicking, sr=roc, a=bsmedberg
2005-07-19 20:52:12 +00:00
bzbarsky%mit.edu
b85cfbfdc5 Don't flush our parent if we're not safe to flush. Bug 281922, r+sr=jst, a=asa 2005-07-14 16:13:09 +00:00
bzbarsky%mit.edu
75933a51dc Make sure to notify XPConnect if an XBL constructor or destructor throws an
exception so they get reported in a timely manner.  Bug 299741, r+sr=jst, a=chofmann
2005-07-06 15:46:12 +00:00
jst%mozilla.jstenback.com
f3ed62af01 Fixing bug 296704. Make re-dispatching of events work as expected. r=dveditz@cruzio.com, sr=bryner@brianryner.com, a=dveditz@cruzio.com 2005-06-22 01:53:58 +00:00
mrbkap%gmail.com
96e94dc74c bug 296284: <blockquote type=cite> can cause the plaintext serializer to delete extra newlines before inlines after blocks. r=peterv sr=jst a=asa 2005-06-16 18:20:59 +00:00
peterv%propagandism.org
ea82f1a8a5 Fix for bug 286300 (Clean up HTML tags enum and related code). r=mrbkap, sr=bz, a=asa. 2005-06-16 13:10:58 +00:00
bryner%brianryner.com
e4a343f08f Fix assorted issues with fastback, including adding progress listener notifications and introducing the PageHide and PageShow events. See bug 292971 for all of the details. r=darin, sr=bzbarsky, a=shaver. 2005-06-15 23:52:46 +00:00
brendan%mozilla.org
f1957f14c4 Support text/ecmascript and other types specified in http://www.ietf.org/internet-drafts/draft-hoehrmann-script-types-03.txt (r=sicking, sr=jst, a=me). 2005-06-14 16:08:05 +00:00
cbiesinger%web.de
55fdadbd11 bug 241739 reuse HTML/SVG's <script> loading code for XUL <script>, thus
correctly handling non-ASCII characters
r+sr=bz a=asa
2005-06-12 12:32:05 +00:00
cvshook%sicking.cc
b8ff8c18c7 Bug 296450: Make the hashtable holding attribute nodes work properly on all platforms.
r=beaufour sr=peterv a=caillon
2005-06-09 20:17:40 +00:00
neil%parkwaycc.co.uk
76b90ec7ce Fix regression from misread bug 285830 comment b=296657 r=sicking sr=jst a=asa 2005-06-08 23:02:29 +00:00
mrbkap%gmail.com
f804bef6c7 bug 271184: The output of nested document.write()s can get reversed (where later document.write()s are seen before previous document.write()s). This makes nsHTMLDocument use good parser keys. r=sicking sr=jst a=asa 2005-06-07 19:21:05 +00:00
allan%beaufour.dk
74e5a21386 Implement Get/SetProperty for nsIAttribute. Bug 285597, r+sr=peterv,a=mkaply 2005-06-06 08:51:40 +00:00
allan%beaufour.dk
e685e5969a Fix crash in nsDOMAttributeMap, regression from bug 235512. Bug 296490, r=Pike,sr=peterv,a=roc 2005-06-03 11:41:46 +00:00
bzbarsky%mit.edu
6cab785436 Make the title change events we fire trusted. Bug 295210, r+sr=jst, a=dveditz 2005-06-03 02:07:44 +00:00
bzbarsky%mit.edu
4b8823720e Add an nsIContent api for getting the intrinsic state of the content; this can
be used to implement more pseudo-classes (eg CSS3 UI ones for XForms).  Bug
296309, r+sr=dbaron, a=chofmann
2005-06-03 02:02:45 +00:00
jst%mozilla.jstenback.com
4e48d2a634 Fixing bug 292464. Use the documents principals to check if a document is a chrome document or not. r=smaug@welho.com, sr=peterv@propagandism.org, a=shaver@mozilla.org 2005-06-02 23:36:08 +00:00
mrbkap%gmail.com
9c7185974e bug 208869: Setting innerHTML with textarea can isnert an extra newline. This patch makes textarea be treated as a normal container outside CNavDTD (which takes over its first-newline removal duties). r=sicking sr=bzbarksy a=shaver 2005-06-01 21:23:23 +00:00
mrbkap%gmail.com
7e752b0ccd bug 144998: Empty lines under quotes are doubled. Patch by Shotaro Kamio <skamio@netscape.net>, Koike Kazuhiko <kazhik@mozilla.gr.jp>, Wolfgang Rosenauer <mozilla@rfosenauer.org>, and me. r=akkana sr=jst a=shaver 2005-06-01 19:31:47 +00:00
allan%beaufour.dk
e4faf6a06f fixing bustage, bug 235512 2005-06-01 14:50:34 +00:00
neil%parkwaycc.co.uk
5bf10977f4 Bug 285830 textContent ignores whitespace r=sicking sr=jst a=shaver 2005-06-01 13:59:38 +00:00
allan%beaufour.dk
f9510dc2c1 Fix up nsDOMAttributeMap so it caches the nsDOMAttributes that it creates. Bug 235512, r=sicking, sr=peterv, a=shaver 2005-06-01 13:46:20 +00:00
bzbarsky%mit.edu
89f6d79b74 Push the mChannel member for documents up to nsDocument and expose it on
nsIDocument.  Bug 292971 preliminaries, r+sr=jst, a=chofmann
2005-06-01 01:15:23 +00:00
bzbarsky%mit.edu
006aed48be Back out the patch for bug 211128 to fix bug 293639. r=sicking, sr=peterv, a=asa 2005-05-19 16:12:13 +00:00
bryner%brianryner.com
87f0855b0e Fix save/restore of form control contents when reloading (bug 294258). r=sicking, sr=bzbarsky. 2005-05-18 03:52:33 +00:00
bzbarsky%mit.edu
5a1aa99118 Add a document api to prevent onload from firing too early. Bug 293818,
r=darin, sr=jst, a=asa
2005-05-13 19:54:28 +00:00
bzbarsky%mit.edu
3bfa5db241 Fix bug 293588 -- make sure to not store form data in the wrong session history
entry.  r+sr=bryner, a=brendan
2005-05-12 20:53:33 +00:00
bryner%brianryner.com
40d7ab427b Fix form state save/restore so that it uses the correct history entry (bug 293135). r+sr=bzbarsky, a=shaver. 2005-05-10 02:06:29 +00:00
bryner%brianryner.com
aed69207f0 Add support for caching content viewers in session history to speed up back/forward (bug 274784). This initial landing has the feature disabled by default; set browser.sessionhistory.max_viewers to the maximum number of pages to cache to enable the feature. r=bzbarsky, sr/a=brendan. 2005-05-04 20:22:32 +00:00
bzbarsky%mit.edu
2775eedb3d Make the base URI for anon nodes in an XBL binding be the URI of the XBL
document.  Bug 211128, r+sr=jst, a=chofmann
2005-05-03 16:01:22 +00:00
Olli.Pettay%helsinki.fi
ed4e61c491 Bug 292464 - event listeners added using addEventListener() listen only trusted events. r=jst, sr=peterv, a=chofmann 2005-05-02 17:54:41 +00:00
cbiesinger%web.de
1dd130ce72 292357 nsFrameLoader should use the content's base URI, not the document's
r+sr=bz a=asa
2005-05-01 13:06:48 +00:00
jst%mozilla.jstenback.com
50de4a3e1d Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org 2005-04-28 23:48:28 +00:00
bzbarsky%mit.edu
90feadd1d3 Fix crashes when document.load is called on an already-parsing XML document.
Bug 289292, r=sicking, sr=jst, a=chofmann
2005-04-28 16:57:24 +00:00
tor%cs.brown.edu
7a20d221a4 Bug 291499 - prevent infinite indent in layout-debug. r+sr+a=dbaron 2005-04-22 19:46:35 +00:00
bzbarsky%mit.edu
8df9c25d22 Create CSSLoaders when the document object is created and deCOMify the getter.
Bug 290068, r=sicking, sr=peterv, a=brendan
2005-04-19 01:27:11 +00:00
bzbarsky%mit.edu
e84856a159 Remove unused aDeep args from AppendChildTo and InsertChildAt. Bug 289316,
r=sicking, sr=peterv, a=brendan
2005-04-18 22:58:35 +00:00
vladimir%pobox.com
057ce06bb3 b=288714, html canvas implementation, r=various,a=brendan 2005-04-18 06:33:23 +00:00
mrbkap%gmail.com
155f0adc02 bug 289970: Fix a leak when using the sanitizing serializer by breaking the sink/parser cycle in DidBuildModel. r=BenB sr=bzbarsky a=asa 2005-04-15 04:05:18 +00:00
bzbarsky%mit.edu
192b6aaa49 Move the BindToTree call for the document element into SetRootContent. Bug
289209, r=sicking, sr=jst, a=asa
2005-04-15 01:30:14 +00:00
bzbarsky%mit.edu
a1a598d228 Fix build bustage 2005-04-12 15:50:25 +00:00
bzbarsky%mit.edu
a43b2ff89e Make sure we've tried to create our CSSLoader before we try to dereference it.
Bug 289765, r+sr=jst, a=asa
2005-04-12 15:29:20 +00:00
bzbarsky%mit.edu
30a13d4eae If our image was previously blocked and we're asked to maybe reload it, don't
check whether the URI changed; just try loading (since this time we may not be
blocked).  Bug 251354 followup, r=sicking, sr=shaver, a=chofmann
2005-04-11 16:37:27 +00:00
bzbarsky%mit.edu
b9663c2904 Disable loading of images in data documents on the document level, not on the
node level.  Bug 251354, r=sicking, sr=peterv, a=asa
2005-04-11 00:29:36 +00:00
smontagu%smontagu.org
ea296de60a Trigger Bidi processing also for non-displayable control characters (RLM, RLE, RLO, etc.) Bug 177148, r+sr=roc, a=asa 2005-04-10 06:40:10 +00:00
bzbarsky%mit.edu
2b12f597a1 Only do a new image load if we're forced to or if the URI really changed. Bug
285428, r=biesi, sr=jst (note: sr was given in bug 286000 as part of the patch
there).
2005-04-06 02:55:02 +00:00
bzbarsky%mit.edu
48ba5ce32b Eliminate nsIContent::SetDocument/SetParent/SetBindingParent in favor of
BindToTree and UnbindFromTree methods.  Bug 286000, r=sicking, sr=jst
2005-04-05 23:54:35 +00:00
bzbarsky%mit.edu
46d70f86fc Move processing of various headers from the content sink into the document so
it'll happen for all of our document types.  Bug 288921, r+sr=jst
2005-04-05 03:28:54 +00:00
aaronleventhal%moonset.net
4f9f6bd7c6 Bug 287730. Fix n of m positional info for HTML radio buttons. r=timeless, sr=bz 2005-04-04 13:43:43 +00:00
smontagu%smontagu.org
084bae869c Fix for hang. Bug 288831, r+sr=dbaron 2005-04-03 18:18:49 +00:00
cst%andrew.cmu.edu
7f22407c14 Bug 287695 fix hardcoded app name in default mailto: form subject
r=biesi sr=bz
2005-04-03 17:16:28 +00:00
smontagu%smontagu.org
1f76d3821d Update transliterate.properties to Unicode 4.1.0 database. Bug 288137, r=jshin, sr=rbs 2005-04-02 18:44:01 +00:00
dbaron%dbaron.org
4b1913ff77 Consolidate and deCOMtaminate parsing and storage of media lists. b=156716 r+sr=bzbarsky 2005-03-30 00:36:57 +00:00
dbaron%dbaron.org
2ba6c6183f Change how we preserve XPConnect wrappers on which JS properties have been set or that are otherwise needed by XBL: instead of rooting those wrappers until the document stops being displayed, mark them from GC hooks only if the nodes are reachable (via DOM node traversal, optimizing based on symmetry of reachability between DOM nodes) from the document or from nodes already marked. b=283129 r=jst sr=brendan 2005-03-29 23:26:56 +00:00
bzbarsky%mit.edu
2fb33db26c Show alt text for images blocked by security checks. Bug 285981, r=mvl, sr=jst 2005-03-26 02:26:58 +00:00
tor%cs.brown.edu
89845b7ff0 Bug 287389 - SVG should not munge ua.css at build time. rev iid. 2005-03-25 23:30:50 +00:00
tor%cs.brown.edu
4ed8801383 Bug 287389: SVG should not munge ua.css at build time. r+sr=bzbarsky 2005-03-25 14:50:05 +00:00
peterv%propagandism.org
12c2f4c630 Part of fix for bug 285166 (createElement crashes [@ NS_NewHTMLElement] [@ nsCharTraits<unsigned short>::length]). r=sicking, sr=bz. 2005-03-25 14:07:44 +00:00
mrbkap%gmail.com
85d6f098e9 bug 280044: Pass a title node to the content sinks so that attributes on title don't get lost. r=sicking sr=peterv 2005-03-23 07:09:24 +00:00
bzbarsky%mit.edu
debd246cd3 Followup to bug 225941 -- I forgot some review comments. r=dbaron, sr=jst 2005-03-23 03:21:04 +00:00
bzbarsky%mit.edu
4be318894c Add a method to ask a content node whether it may have a frame in some
presentation.  Bug 225941, r=dbaron, sr=jst
2005-03-23 03:07:10 +00:00
jst%mozilla.jstenback.com
7c6aa20e06 Fixing mistake in my earlier cleanup patch. 2005-03-17 19:43:34 +00:00
jst%mozilla.jstenback.com
b56738ea6b Whitespace and formatting cleanup to get some sort of consistency into this code. 2005-03-17 18:00:33 +00:00
jst%mozilla.jstenback.com
2f48154ce1 Fixing the remaining part of bug 285438 for Firefox. Do the appropriate security checks when drag n' dropping into Firefox. r=ben@bengoodger.com, sr=dveditz@cruzio.com 2005-03-17 17:40:55 +00:00
neil%parkwaycc.co.uk
6b8f8074bd Add HTML to the list of support flavours for Copy Image and provide an embedding interface to choose the flavours to copy b=135300 r=bz sr=smfr 2005-03-11 11:12:15 +00:00
cvshook%sicking.cc
a0db79bbbb Bug 240884: Use a static cache to take the edge off the slowness of IndexOf calls for elements with very many children.
r/sr=bz
2005-03-11 09:40:03 +00:00
bzbarsky%mit.edu
255e0084f1 Use Equals() when checking for recursion instead of hand-rolling URI
comparisons.  Cut off recursion at first repeated URI, not third, since that's
what IE seems to do.  Bug 228829, r=mkaply, sr=jst
2005-03-09 21:59:18 +00:00
bzbarsky%mit.edu
a26c4c14f1 Move all frame recursion detection into a method that just does that. Don't
throw errors from EnsureDocShell() on recursion detection; just throw them from
LoadFrame().  Bug 285188, r+sr=jst
2005-03-08 00:02:55 +00:00
cbiesinger%web.de
e8d4c35266 181938 allow any protocol to support redirection, using a new
nsIChannelEventSink interface.
r=darin sr=bz
2005-03-07 19:46:06 +00:00
jst%mozilla.jstenback.com
a57ec3f6dc Fixing bug 283531. Fix confusingly named argument to nsIEventStateManager::DispatchNewEvent() that has caused confusing event handling code (also fixed) to creap into the tree. r=bzbarsky@mit.edu, sr=bryner@brianryner.com 2005-03-04 02:01:54 +00:00
bzbarsky%mit.edu
e3aebd9c61 Use the content policy REJECT reason as a basis for our "whether to show alt
text" decision instead of reading prefs ourselves.  Bug 202906, r=mvl, sr=jst
2005-03-02 04:05:12 +00:00
caillon%redhat.com
77b60af2ac 250245 - spec changed, its now Document.inputEncoding
r+sr=jst
2005-02-28 22:35:02 +00:00
bryner%brianryner.com
a29b6c69fa Remove nsIXBLBinding (bug 194834). r+sr=bzbarsky. 2005-02-25 22:07:01 +00:00
doronr%us.ibm.com
10f4ae6d11 Bug 283323 - use owner document in nsGenericElement to get and set properties. Patch by smaug, r/sr=bryner 2005-02-23 20:27:25 +00:00
gandalf%firefox.pl
ea39cd5cbe bug 279768: move dom.properties, MediaDocument.properties to global; r=bsmedberg 2005-02-23 16:53:28 +00:00
bsmedberg%covad.net
473534a724 Bug 278534, try #2 - Make tooklit chrome registry use plaintext manifests instead of an RDF cache (get rid of contents.rdf!) r=darin/dveditz/ben 2005-02-22 21:49:45 +00:00
gandalf%firefox.pl
a3dc4218b6 bug 283046: File input button does not properly render. A regression after checkin from bug 279768 ; r+sr=bzbarsky 2005-02-22 17:30:08 +00:00
brendan%mozilla.org
bc1cb54066 Nullify version selection via <script language='JavaScript1.x'> to match other browsers (255895, r+sr=jst). 2005-02-20 03:35:21 +00:00
bsmedberg%covad.net
e82e4540da Backout bug 278534 due to tinderbox orange. 2005-02-20 01:47:13 +00:00
bsmedberg%covad.net
3d5d14bc57 Bug 278534 - Make a plaintext chrome registration file format to replace contents.rdf r/sr=darin+dveditz+ben 2005-02-19 15:35:36 +00:00
bryner%brianryner.com
708a569767 Guarantee that a document's binding manager is non-null. Bug 282792, r+sr=bzbarsky. 2005-02-19 10:31:27 +00:00
bryner%brianryner.com
59496a3bd0 Rename nsNameSpaceMap to nsXMLNameSpaceMap to avoid symbol collision in static builds (bug 281728). r=dbaron. 2005-02-19 00:10:38 +00:00
doronr%us.ibm.com
724a86c712 Bug 279057 - Implement hasFeature for XForms. Patch by smaug, r=bryner/sr=jst 2005-02-18 21:32:46 +00:00
doronr%us.ibm.com
4be07d28cc Checked in from wrong tree, backing out, sorry. 2005-02-18 21:28:20 +00:00
doronr%us.ibm.com
b15c0e8b75 Bug 279057 - Implement hasFeature for XForms. Patch by smaug, r=bryner/sr=jst 2005-02-18 21:20:27 +00:00
bryner%brianryner.com
58396e7490 Remove nsINameSpace and replace with a simple array-based list of namespace mappings for CSS. Bug 281728, r+sr=bzbarsky. 2005-02-18 19:18:37 +00:00
jst%mozilla.jstenback.com
48a9ab5e12 Additional changes needed to fix bug 280947 (dragging of images whose extension doesn't map to the right mimetype on the client is broken). r=bzbarsky@mit.edu, sr=dveditz@cruzio.com 2005-02-18 19:18:20 +00:00
bzbarsky%mit.edu
db59bcd6f9 Fix fallout from the nsIFrameLoader changes of yesterday. Bug 280992, r+sr=jst 2005-02-08 21:30:47 +00:00
bryner%brianryner.com
91542d5229 Resurrect nsIFrameLoader[Owner] as scriptable interfaces; bug 280992 r+sr=bzbarsky 2005-02-08 06:55:00 +00:00
bryner%brianryner.com
064c7eb606 Remove unneeded nsIFrameLoader interface (bug 280992). r+sr=jst. 2005-02-07 23:53:47 +00:00
jst%mozilla.jstenback.com
e4a310c9c7 Fixing bug 280947. Fix regression from bug 279945 that broke dragging images onto the client file system if the image URL didn't have a valid extension. r=bzbarsky@mit.edu, sr=dveditz@cruzio.com 2005-02-07 22:20:14 +00:00