194 Commits

Author SHA1 Message Date
jwatt%jwatt.org
c08a026ac8 Fixing bug 334587. Unify event handling for links and fix various XLink bugs. r=olli.pettay@gmail.com, r=dbaron@mozilla.com, sr=bugmail@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@217719 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-04 10:53:59 +00:00
timeless%mozdev.org
c778d21502 Bug 355300 There should be only one nsGkAtoms creature
r=dbaron


git-svn-id: svn://10.0.0.236/trunk@217425 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 17:47:52 +00:00
bzbarsky%mit.edu
25c459209d Move GetCompatibilityMode() to nsIDocument. Bug 362797, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@216479 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 15:46:18 +00:00
vladimir%pobox.com
ece4ca3cad backing out bug 333078, xpcom cycle collector due to perf issues
git-svn-id: svn://10.0.0.236/trunk@215718 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 23:18:16 +00:00
vladimir%pobox.com
260a2b3959 b=333078, xpcom cycle collector -- patch from graydon@mozilla.com, r=many
git-svn-id: svn://10.0.0.236/trunk@215695 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 19:23:02 +00:00
peterv%propagandism.org
104eb64087 Fix for bug 47903 (WRONG_DOCUMENT_ERR not being thrown). r=sicking, sr=bz.
git-svn-id: svn://10.0.0.236/trunk@215687 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 18:35:05 +00:00
cvshook%sicking.cc
c43f628b5a Fix svg:script and only flag inline scripts as executed once they contain non-empty script content. b=359598 r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@215004 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-09 00:02:21 +00:00
cvshook%sicking.cc
78a449be36 Bug 358106: Make ranges use nsIMutationObserver rather than their own notification system. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@214666 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-03 21:51:01 +00:00
cvshook%sicking.cc
af80b3f1c9 Add nsAutoTArray and nsAutoTPtrArray. b=356299 r/sr=darin
git-svn-id: svn://10.0.0.236/trunk@214616 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-02 19:33:10 +00:00
cvshook%sicking.cc
81fd249399 Back out changes that were part of a different patch.
git-svn-id: svn://10.0.0.236/trunk@214580 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-02 08:22:08 +00:00
cvshook%sicking.cc
f7032337d2 Make nsRange::ToString and nsContentIterator deal with ranges with endpoint containers being the document. Patch by bz. r/sr=sicking b=358660
git-svn-id: svn://10.0.0.236/trunk@214579 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-02 07:41:45 +00:00
cvshook%sicking.cc
7a22e1ec80 Bug 357445: Some cleanup of range code. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@213947 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-21 01:30:54 +00:00
cvshook%sicking.cc
b6bee32b30 Bug 221335: Speed up output by using internal methods and interfaces rather than nsIDOMNode and friends. r/sr=peterv
git-svn-id: svn://10.0.0.236/trunk@213051 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-03 02:22:22 +00:00
peterv%propagandism.org
4095896649 Fix for bug 351823 (Consider copying more properties when changing ownerDocument). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@211854 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-16 17:15:38 +00:00
cvshook%sicking.cc
2acc886a81 Bug 352583: Add functions to nsContentUtils for getting and setting the text content of a node. Use those functions rather than the multiple instances of such code we have now. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@211826 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-15 19:54:45 +00:00
dbaron%dbaron.org
5601fa8cf5 Null out hash ops after destroying table. b=350930 r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@208957 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-01 00:43:23 +00:00
timeless%mozdev.org
46444dd782 Bug 106386 Correct misspellings in source code
r=bernd rs=brendan


git-svn-id: svn://10.0.0.236/trunk@208659 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-28 20:12:37 +00:00
enndeakin%sympatico.ca
52eb101dc4 Fix Windows issue with bug 345896
git-svn-id: svn://10.0.0.236/trunk@207462 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-15 16:59:09 +00:00
enndeakin%sympatico.ca
20222beb1a Bug 345896, menus don't find menupopups in XBL, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@207453 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-15 15:55:45 +00:00
sayrer%gmail.com
2a95cedb7c Bug 348643. nsContentUtils / nsScriptableUnescapeHTML -- nsCRT::free considered harmful. r=timeless, sr=bz
git-svn-id: svn://10.0.0.236/trunk@207379 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-14 22:08:14 +00:00
sayrer%gmail.com
95b0f24a09 Bug 340554. Provide sanitizing fragment sinks for use with feeds. r=mrbkap. sr=jst
git-svn-id: svn://10.0.0.236/trunk@207207 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-12 04:46:43 +00:00
uriber%gmail.com
bf3c2a0692 Moved mCaretBidiLevel and its accessors from nsPresShell to nsFrameSelection. Also added sBidiKeyboard as a static service to nsContentUtils. bug=346891 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@206807 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-08 05:14:52 +00:00
peterv%propagandism.org
9f941437ae Fix for bug 330677 (Implement DOM Level 3 adoptNode). r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@206062 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 16:02:11 +00:00
longsonr%gmail.com
cdb2917fa8 Bug 329848 - Replace invalid transform-attribute parse error assertion by Error Console log r=bzbarsky,sr=tor
git-svn-id: svn://10.0.0.236/trunk@203812 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-27 11:58:05 +00:00
dveditz%cruzio.com
8219fc4bee Bug 343473: UniversalXPConnect privs should allow access to chrome DOM nodes
(regression from bug 340107). r=bzbarsky, sr=sicking, a=mconnor


git-svn-id: svn://10.0.0.236/trunk@203599 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-25 01:04:33 +00:00
dveditz%cruzio.com
0cc75e8cec bug 340107 save wasted cycles checking permissions if we're just going to deny access anyway. r=mrbkap, sr=sicking
git-svn-id: svn://10.0.0.236/trunk@200986 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-27 00:56:41 +00:00
peterv%propagandism.org
40c612fc40 Fix for bug 337704 (Clean up files moved from xmlextras). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@200030 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-15 20:30:44 +00:00
mhammond%skippinet.com.au
e96b5e495a Land DOM_AGNOSTIC3_BRANCH, bug 255942. r=a few people, sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@199778 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-13 03:07:47 +00:00
bzbarsky%mit.edu
13b92c95bf Cache the list of form controls, so loading a large page with lots of form
controls outside forms is not O(N^2).  Bug 336062, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@199489 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-08 04:28:20 +00:00
mrbkap%gmail.com
76bebc65c0 Protect against null contexts. bug 340602, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@199426 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-07 17:15:51 +00:00
roc+%cs.cmu.edu
ff28dae929 Bug 336674. Fire JS "script context done" notifications when a context exits even if there is another context above it on the stack. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@199154 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-06 21:37:32 +00:00
Olli.Pettay%helsinki.fi
7c801d8db3 Bug 338954, Make .innerHTML to work without DOM Ranges, r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@199056 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-05 20:32:48 +00:00
peterv%propagandism.org
521549ddb0 Try to fix Windows bustage.
git-svn-id: svn://10.0.0.236/trunk@198873 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-02 15:07:22 +00:00
peterv%propagandism.org
e8ed6e24c3 Fix for bug 339239 (Remove UserData functions from nsIDocument). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@198868 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-02 13:28:14 +00:00
cvshook%sicking.cc
83253303c8 Bug 90983: Don't fire mutation events during parsing, i.e. when aNotify is false. Also make us fire mutation events on nodes that are in an orphaned subtree. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@198844 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-02 00:58:04 +00:00
cvshook%sicking.cc
e96a4f70c3 Bug 337543: Use nsINode more. r/sr+peterv
git-svn-id: svn://10.0.0.236/trunk@197985 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-19 10:01:22 +00:00
cvshook%sicking.cc
1ac65a91fa Bug 335913: Reimplement CompareDocumentPosition using nsINode interfaces. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@196673 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-16 14:51:52 +00:00
cvshook%sicking.cc
98f1d1c517 Bug 334075: Push mFlagsOrSlots to nsINode to allow storing flags and (in the future) slots on nsGenericDOMDataNodes. r=mrbkap sr=bz
git-svn-id: svn://10.0.0.236/trunk@196502 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-15 07:03:15 +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
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
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
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
jst%mozilla.jstenback.com
9b996cb876 Removing unused variable as pointed out by dbaron at https://bugzilla.mozilla.org/show_bug.cgi?id=321299#c29
git-svn-id: svn://10.0.0.236/trunk@195334 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-25 04:04:27 +00:00
bzbarsky%mit.edu
24d1be29e9 Dispatch mutation events even in documents that are not rendered in a window.
Bug 201236, patch by Alex Vincent <ajvincent@gmail.com>, r=smaug, sr=peterv


git-svn-id: svn://10.0.0.236/trunk@195285 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-24 19:52:21 +00:00
dbaron%dbaron.org
859638354c Disconnect and release the event listener manager after removing the entry from the hash table to avoid crashes caused re-entry into hash table code. b=334177 r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@194624 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 20:59:28 +00:00
peterv%propagandism.org
78cadf3883 Better fix for bug 47852 (NAMESPACE_ERR not being thrown when setting Node.prefix). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@194509 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-17 17:13:11 +00:00
jst%mozilla.jstenback.com
197612f082 Fixing bug 321299. Make sure XPConnect wrappers get properly reparented when moving nodes from document to document. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@194099 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 03:49:44 +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
roc+%cs.cmu.edu
a6877ac98a Bug 326501. Mark tree views as being suitable for untrusted code. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@193019 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-26 20:59:03 +00:00
roc+%cs.cmu.edu
61d6f777a5 Bug 326501. Mark tree views as being suitable for untrusted code. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@193018 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-26 20:57:53 +00:00