532 Commits

Author SHA1 Message Date
doronr%us.ibm.com
86f11fca63 Bug 279057 - Implement hasFeature for XForms. Patch by smaug, r=bryner/sr=jst
git-svn-id: svn://10.0.0.236/trunk@169429 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 21:32:46 +00:00
bryner%brianryner.com
5d17ec2995 Remove unneeded nsIContentList interface (bug 280746). r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@168732 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-02 23:16:02 +00:00
vladimir%pobox.com
dbf81b61ea b=279306, update canvas API to reflect latest standard spec; r=stuart,sr=shaver
git-svn-id: svn://10.0.0.236/trunk@168338 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-26 02:08:35 +00:00
bzbarsky%mit.edu
1cfee47012 Keep track of whether a title has been set in the document, not in the sink.
This way we can notice all ways of setting it.  Bug 271996, r=sicking, sr=neil


git-svn-id: svn://10.0.0.236/trunk@167571 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-12 02:47:53 +00:00
peterv%propagandism.org
ea028c9206 Fix fo bug 274964 (Switch to Expat's xml declaration parsing). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@166810 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-17 09:17:35 +00:00
mvl%exedo.nl
6685ddd25e Implement DOM 3 isDefaultNamespace()
bug 270640, patch by smaug@welho.com, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@165847 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-28 10:57:22 +00:00
bzbarsky%mit.edu
c1bd80ae5c Don't go through presshells to get to our window; just use the global object.
This fixes various issues that could bite display:none iframes, in particular
bug 262998.  r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@163315 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-06 20:24:18 +00:00
bryner%brianryner.com
e7b6822e4e Support properties on documents (bug 253888). r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@162276 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 04:21:29 +00:00
bryner%brianryner.com
2dbfb983b1 Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@161072 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-20 20:34:37 +00:00
peterv%propagandism.org
b68b476d99 Fix for bug 244392 (Removing lines form a Bullet list using the [ back arrow ] or [Delete] keys results in <> and </> tags embedded in code when in Normal Mode). r=brade, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@160993 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-19 12:45:47 +00:00
vladimir%pobox.com
8c5c405bac Initial landing of cairo-related stuff, nothing built by default, all code is in ifdefs. r=bryner,a=brendan
git-svn-id: svn://10.0.0.236/trunk@160752 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-14 01:01:16 +00:00
peterv%propagandism.org
0e7c4437e6 Backout part of the fix for bug 27382 to try to undo Tp regression.
git-svn-id: svn://10.0.0.236/trunk@160611 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 16:16:58 +00:00
peterv%propagandism.org
ca3bbc8275 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@160598 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 10:22:36 +00:00
neil%parkwaycc.co.uk
0bbab9b402 Bug 32372 should be possible to completely disable CSS p=fantasai@inkedblade.net r=me (xpfe) r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@160395 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-05 11:38:42 +00:00
bryner%brianryner.com
865734bf2f Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
bryner%brianryner.com
b17b3249f7 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@160067 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-29 19:41:39 +00:00
dbaron%dbaron.org
59572fab24 Move things that aren't author stylesheets out of nsDocument's mStyleSheets array to simplify stylesheet management code. Add a level of the cascade for style attributes and ensure that there's only one rule processor per level of the cascade, and simplify the logic of nsCSSRuleProcessor creation. b=252578 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@159965 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-28 07:08:41 +00:00
jst%mozilla.jstenback.com
7eadd82b04 Fixing bug 253121. Make wyciwyg channels and documents carry the source channels security info. r=darin@meer.net, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@159942 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-28 00:26:58 +00:00
peterv%propagandism.org
542c31e213 Remove redundant nsDocument::CreateElement function. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@159656 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-22 14:54:49 +00:00
bzbarsky%mit.edu
1b04542f5d Fix preshints in anonymous content some more (by moving all document sheet
styleset munging out of the document viewer and into the document and splitting
out the preshint levels completely from the other CSS levels).  Bug 234861,
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@159283 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 20:30:30 +00:00
bzbarsky%mit.edu
d5ed39f76e Make use of <meta http-equiv="content-language"> and stop setting
content-language based on user prefs for accept-language.  Bug 246454, patch by
Martijn Wargers <m.wargers@hccnet.nl>, r+sr=bzbarsky.


git-svn-id: svn://10.0.0.236/trunk@159279 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 20:07:00 +00:00
jst%mozilla.jstenback.com
fd939e414e Checking in fix for 164482 (Patch by smaug@welho.com). Adding support for XML Events. r=bryner@brianryner.com, sr=jst@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@159235 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 05:24:40 +00:00
timeless%mozdev.org
2faaeea38f Bug 251368 documentURI for about: urls should list the about: urls
r=bz sr=bz


git-svn-id: svn://10.0.0.236/trunk@159215 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 23:01:11 +00:00
peterv%propagandism.org
b347e1e462 Add comment to explain the bustage fix for bug 236408.
git-svn-id: svn://10.0.0.236/trunk@158763 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-05 16:15:14 +00:00
aaronleventhal%moonset.net
f60487f60f Bug 17602. Keyboard access to HTML radio buttons should use arrow keys, as it does on most OS's radios as well as XUL radios. r=bryner, sr=neil
git-svn-id: svn://10.0.0.236/trunk@158748 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-05 01:31:30 +00:00
peterv%propagandism.org
61cb8c0053 Trying to fix bustage.
git-svn-id: svn://10.0.0.236/trunk@158470 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-25 12:56:30 +00:00
peterv%propagandism.org
0a98e68e54 Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@158468 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-25 12:26:02 +00:00
roc+%cs.cmu.edu
0b0fa89131 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
bzbarsky%mit.edu
1cb48e352b Use the right pref type when getting the intl.accept_languages pref. Bug
240466, patch by Scooter Morris <scootermorris@comcast.net>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@157045 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-28 05:18:46 +00:00
bzbarsky%mit.edu
73690f9d73 Change FlushPendingNotifications to have more granularity and update callers to
only flush the things they really need flushed.  Bug 144072, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@157037 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-27 22:08:42 +00:00
roc+%cs.cmu.edu
bdc7e5f59b Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
git-svn-id: svn://10.0.0.236/trunk@156785 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 22:15:22 +00:00
bzbarsky%mit.edu
af7c69e56c Relanding, since backing out did not fix orange. Bug 232691.
git-svn-id: svn://10.0.0.236/trunk@156781 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 20:02:43 +00:00
bzbarsky%mit.edu
3594b59c19 Backing out to attempt to fix Mac orange. Bug 232691
git-svn-id: svn://10.0.0.236/trunk@156776 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 19:26:52 +00:00
bzbarsky%mit.edu
b500ffc684 Convert users of nsC?String(), nsC?AutoString(), and NS_LITERAL_C?STRING("") to
using EmptyC?String instead.  Bug 232691, patch by Charles Fenwick
<clf03f@garnet.acns.fsu.edu>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@156769 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 17:04:53 +00:00
caillon%redhat.com
69de12c5cc Fix bug 186540
document.createRange() doesn't properly initialize itself per DOM 2 Range/Traversal: "The initial state of the Range returned from this method is such that both of its boundary-points are positioned at the beginning of the corresponding Document, before any content. In other words, the container of each boundary-point is the Document node and the offset within that node is 0."
r+sr=jst@mozilla.jstenback.com


git-svn-id: svn://10.0.0.236/trunk@156204 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-10 20:04:58 +00:00
bzbarsky%mit.edu
c0cd0937ba Move presentation attributes into the UA level in non-HTML documents and a
separate preshint level in HTML.  Bug 234861, r=dbaron, sr=jst


git-svn-id: svn://10.0.0.236/trunk@155949 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-05 00:30:57 +00:00
bryner%brianryner.com
7247372aa3 deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@155867 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-03 21:48:36 +00:00
silver%warwickcompsoc.co.uk
8ba276ba57 Bug 240962 - Move TryChannelCharset up to nsDocument, and use it for XML and XHTML documents.
r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@155839 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-02 19:48:54 +00:00
jst%mozilla.jstenback.com
74089032ff Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@155712 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-29 23:34:19 +00:00
bzbarsky%mit.edu
dce306232a Add a version of CheckLoadURI that takes a source principal instead of a source
URI.  Update a bunch of callers to use it.  Bug 233108, r=caillon, sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@155487 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-25 16:55:27 +00:00
bryner%brianryner.com
3b4b8ed6c9 deCOMtaminate nsIScriptObjectPrincipal (bug 240745). This also fixes some code in nsCrypto.cpp that sems to have been mis-braced (I don't think it was working as intended). r+sr=jst.
git-svn-id: svn://10.0.0.236/trunk@155049 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 00:28:47 +00:00
gerv%gerv.net
98831918fc Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155044 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 21:52:36 +00:00
sicking%bigfoot.com
e4632ed495 Bug 237566: Remove nsIContent::ReplaceChildAt and supportive codepaths.
r=bz sr=jst


git-svn-id: svn://10.0.0.236/trunk@154723 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 22:48:33 +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
bzbarsky%mit.edu
fa6fecbfdd Don't crash on bogus URIs passed to removeBinding. Bug 236809, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@153773 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 23:08:53 +00:00
peterv%propagandism.org
3587776efa Fix for bug 233907 (document.createElementNS() doesn't throw NAMESPACE_ERR when given a namespace-invalid name.). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@153627 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-06 16:00:23 +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
bryner%brianryner.com
62dee43850 deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@153335 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-27 17:17:37 +00:00
dbaron%dbaron.org
e5ad15e520 Rename {nsIDocument,nsIDocumentObserver,nsIFrame}::ContentChanged to CharacterDataChanged, since that's the only thing it's used for. Replace its nsISupports* parameter with a PRBool, since we don't need to allocate an object to pass a boolean parameter. Remove some (but probably not all) unneeded implementations on frames whose content is never a text node. b=234960 r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@153040 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 21:38:31 +00:00
bzbarsky%mit.edu
76879b6776 Add null checks to some DOM methods. Bug 234331, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@152969 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 21:54:12 +00:00