jst%mozilla.jstenback.com
0a6e98642d
Fixing bug 265334. Adding listener API to the parser through which components can listen in on all the data parsed by the parser. r=darin@meer.net, sr=brendan@mozilla.org, a=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@164175 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-22 04:04:12 +00:00
jst%mozilla.jstenback.com
3ce4f62901
Fixing bug 57600. Make document.open() use the codebase of the caller as the URI of the document, using the URI of the calling document is wrong when the caller is a document loaded from a javascript: URI. r=caillon@gmail.com, sr=brendan@mozilla.org, a=asa@mozilla.org
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@163480 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-09 17:17:40 +00:00
jst%mozilla.jstenback.com
f0588159bd
Fixing bug 253121. Make wyciwyg channels and documents carry the source channels security info. r=darin@meer.net, sr=bzbarsky@mit.edu, a=roc@ocallahan.org
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@159950 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-28 04:06:40 +00:00
mkaply%us.ibm.com
af4faaa56e
#217715
...
r/sr = jst, a=mkaply
Patch from roc - Java applet fails to get some of its parameters
Let's try again
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@157404 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-04 15:30:00 +00:00
mkaply%us.ibm.com
755e01cfc7
Back out for now for more investigation
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@157391 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-03 23:35:06 +00:00
mkaply%us.ibm.com
4b5fe5acb1
#217715
...
r/sr = jst, a=mkaply
Patch from roc - Java applet fails to get some of its parameters
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@157380 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-03 19:59:00 +00:00
mkaply%us.ibm.com
bf9fe40095
#245274
...
r/sr = jst, a=mkaply
Patch from doron - Make quirks mode not validate createElement's tagName argument to preserve 1.4 compat
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@157317 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-02 16:25:09 +00:00
silver%warwickcompsoc.co.uk
73a7bc2974
Bug 240962 - Move TryChannelCharset up to nsDocument, and use it for XML and XHTML documents.
...
r+sr=bzbarsky, a=dbaron
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@155837 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-02 19:44:56 +00:00
dbaron%dbaron.org
8cde5f22a6
Call AddBaseTagInfo for LINK, META, SCRIPT, and STYLE elements, and also call SetContentID for META elements. b=241128 r+sr=jst a=brendan
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@155269 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-21 02:40:15 +00:00
darin%meer.net
6ce8a1efb9
fixes bug 239038 "rev IIDs for all interfaces modified since mozilla 1.6" r=bsmedberg sr=jst a=brendan
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@154965 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-16 01:09:36 +00:00
jst%mozilla.jstenback.com
133e18288c
Fixing bug 240321. Making XHTML documents default to the UTF8 character set and not attempt to do any auto detection. r+sr=bzbarsky@mit.edu, a=dbaron@dbaron.org
...
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_7_BRANCH@154852 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-14 04:32:01 +00:00
darin%meer.net
b9dcb1f1b3
landing marco's patch for bug 238928 "domstubs.idl should not include nsAString.h" r=bsmedberg sr=jst a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@154430 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-01 19:44:17 +00:00
brade%comcast.net
bd35822cb0
fix for bug 237103; implement QueryCommandIndeterm; patch by Alexandre Trémon; r=brade, sr=jst; a=chofmann
...
git-svn-id: svn://10.0.0.236/trunk@154106 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-19 14:17:51 +00:00
bzbarsky%mit.edu
cbdfbe8977
Make sure that the document -> node -> imgRequest -> channel -> listener ->
...
document cycle is always broken OnStopRequest. Bug 237153, r+sr=jst, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@153962 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-14 18:20:38 +00:00
bzbarsky%mit.edu
ad8c243c1e
Fix leak when a window holding an image document is closed before the image
...
finishes loading. Bug 237153, r+sr=jst, a=race between dbaron and brendan.
git-svn-id: svn://10.0.0.236/trunk@153874 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-11 20:47:51 +00:00
sicking%bigfoot.com
d706565d96
Bug 232706: Make nsAttrValue able to directly store all needed datatypes without using nsHTMLValue. Move parsing of various types from nsHTMLValue to nsAttrValue. Rename StringToAttribute to ParseAttribute and make it return a PRBool, as well as make a couple of minor fixes in the ParseAttribute code.
...
r=caillon sr=jst
git-svn-id: svn://10.0.0.236/trunk@153510 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-04 02:06:28 +00:00
bzbarsky%mit.edu
ee0a2e7a8a
Move CreateCDATASection, CreateProcessingInstruction, and CreateEntityReference
...
up to nsDocument so they're available in XHTML documents. Bug 69840, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@153443 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-02 22:39:46 +00:00
darin%meer.net
af98e4f306
landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@153357 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-28 22:34:07 +00:00
sicking%bigfoot.com
d0464befea
Bug 232016: Kill SetHTMLAttribute and do minor cleanups in .foo -> set/getAttribute("foo") mapping code.
...
r=peterv sr=jst
git-svn-id: svn://10.0.0.236/trunk@153183 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-24 23:55:18 +00:00
darin%meer.net
55688e6410
landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt
...
git-svn-id: svn://10.0.0.236/trunk@152905 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 02:44:03 +00:00
jst%mozilla.jstenback.com
d28978604e
Fixing bug 68215. Adding support for the onbeforeunload event. r=peterv@propagandism.org, sr=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@152654 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 06:09:51 +00:00
bryner%brianryner.com
7ace3321e6
Inline TwipsToPixels and PixelsToTwips on nsIPresContext. Bug 229371, r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@152647 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 04:57:07 +00:00
jst%mozilla.jstenback.com
8380e41d46
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
...
git-svn-id: svn://10.0.0.236/trunk@152634 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 02:22:43 +00:00
sicking%bigfoot.com
15ec97ef25
Bug 232706: Remove unneccesary datatypes from nsHTMLValue and cleanup AttributeToString.
...
r=caillon sr=jst
git-svn-id: svn://10.0.0.236/trunk@152621 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 00:09:59 +00:00
peterv%propagandism.org
3e7ac82893
Fix for bug 16603 (DOM doesn't throw INVALID_CHARACTER_ERR for arguments with invalid characters). r=sicking, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@152589 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-10 10:58:13 +00:00
jst%mozilla.jstenback.com
854468a176
Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com.
...
git-svn-id: svn://10.0.0.236/trunk@152565 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-09 22:48:53 +00:00
cbiesinger%web.de
0bd98a09ca
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
git-svn-id: svn://10.0.0.236/trunk@152520 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-08 20:58:38 +00:00
bzbarsky%mit.edu
97dc62f04e
Fix bug 233197. r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@152484 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-07 19:38:10 +00:00
jst%mozilla.jstenback.com
534a59157f
Checking in patch from psolanki@myrealbox.com for bug 232417. DeCOMtaminating nsIHTMLDocument. r+sr=jst@mozilla.jstenback.com
...
git-svn-id: svn://10.0.0.236/trunk@152244 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-03 23:23:10 +00:00
hpradhan%hotpop.com
a4965da921
remove unused variable, fix warning (follow up to checkin for bug 229575)
...
git-svn-id: svn://10.0.0.236/trunk@152141 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-01 12:17:19 +00:00
bryner%brianryner.com
018aeefc0d
More nsIPresContext deCOMtamination (bug 229371). Inline getters and setters for LinkHandler, VisibleArea, and Language; change some methods that don't return any useful data to |void|; make GetContainer return an already_AddRefed. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@152137 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-01 10:09:07 +00:00
jst%mozilla.jstenback.com
6629ad58f7
Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org
...
git-svn-id: svn://10.0.0.236/trunk@152045 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 22:04:45 +00:00
jst%mozilla.jstenback.com
421fc415c0
Fixing bug 227263. Making document.domain return null in stead of throwing an exception when there's no domain to return. r+sr=peterv@propagandism.org.
...
git-svn-id: svn://10.0.0.236/trunk@151993 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 23:44:08 +00:00
dbaron%dbaron.org
8eddaadb96
Use a stub implementation of nsIDocumentObserver for implementors of nsIDocumentObserver in the layout library. b=232351 r=jst sr=peterv
...
git-svn-id: svn://10.0.0.236/trunk@151970 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 21:04:33 +00:00
hpradhan%hotpop.com
6f4724db9f
bug 229575 : refactor some code that was common between
...
the xml and html content sinks into nsContentSink
r=sicking sr=jst
git-svn-id: svn://10.0.0.236/trunk@151948 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 12:14:17 +00:00
bryner%brianryner.com
e46f7c8143
More nsIPresContext deCOMtamination (bug 229371). Removed GetBaseURL, rename GetMedium to Medium and inline it, remove virtual style resolution methods that forward to style set (callers will call style set methods directly). Removed PresContext parameter to StyleSet style resolution functions. r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@151927 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 00:18:22 +00:00
jst%mozilla.jstenback.com
bdd7b1f7ab
Fixing bug 202636. Patch by psolanki@myrealbox.com. Adding document.referrer to all document types. r+sr=jst@mozilla.jstenback.com
...
git-svn-id: svn://10.0.0.236/trunk@151886 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-27 04:41:12 +00:00
ere%atp.fi
a5fdb5e5d3
Fix for bug 231001: [rte] HTMLArea (Midas) broken since 20040114
...
r=brade
sr=bz
git-svn-id: svn://10.0.0.236/trunk@151841 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-26 09:48:50 +00:00
jst%mozilla.jstenback.com
12ed685455
Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com
...
git-svn-id: svn://10.0.0.236/trunk@151784 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-24 00:46:17 +00:00
jst%mozilla.jstenback.com
9b5d38706f
Removing unused variable (bug 230947). Patch bygautheri@noos.fr, r+sr=jst@mozilla.jstenback.com
...
git-svn-id: svn://10.0.0.236/trunk@151715 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-22 22:20:54 +00:00
bzbarsky%mit.edu
487c2df707
Move the methods for handling inline style and attribute style sheets up to
...
nsDocument. Bug 230947, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@151678 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-22 03:35:09 +00:00
peterv%propagandism.org
f76a4dbc8a
Fix for bug 230439 (Remove anonymous nodeinfomanager and other cleanup). r=caillon, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@151500 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-18 14:52:21 +00:00
peterv%propagandism.org
2b68893784
Fix for bug 230439 (Remove anonymous nodeinfomanager and other cleanup) - share CreateElement. r=caillon, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@151496 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-18 11:59:21 +00:00
peterv%propagandism.org
ec0b3d579c
Fix for bug 230439 (Remove anonymous nodeinfomanager and other cleanup). r=caillon, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@151491 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-18 10:22:22 +00:00
bzbarsky%mit.edu
86fee95b4d
Remove nsIHTMLContentContainer, merge those three functions into nsIDocument,
...
and make XUL style attribute dynamic changes get a proper CSSLoader off the
document. Bug 211376, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@151268 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-13 23:14:49 +00:00
dbaron%dbaron.org
2f496ec386
Fix UMR by filling in out parameter in IsEnabled. b=230536 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@151120 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-10 00:19:59 +00:00
jst%mozilla.jstenback.com
803e4eb910
General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
...
git-svn-id: svn://10.0.0.236/trunk@151115 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 23:54:21 +00:00
bryner%brianryner.com
468d3e2e8d
Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@150998 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-07 22:30:53 +00:00
bzbarsky%mit.edu
efce25943d
Nodes with an id but not in a form should not be accessible via
...
document.forms["foo"].bar. Bug 207481, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@150926 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-06 17:14:58 +00:00
caillon%returnzero.com
901c1795b6
Bug 226375
...
We were leaking nsIClassInfo objects because a DOM class info getter returned AddRef()ed raw pointers. Most of our dom/ and content/ QueryInterface() implementations knew this and accounted for it, but not all. The leak fix is thus achieved by fixing the method to not call AddRef() on its return value, and fixing the appropriate QueryInterface() macros/implementations. As a bonus, this macro-izes many QueryInterface() implementations in content/ which were fully written out.
r=peterv@propagandism.org
sr=alecf@flett.org
CVS: ----------------------------------------------------------------------
git-svn-id: svn://10.0.0.236/trunk@150910 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-06 00:36:01 +00:00