Commit Graph
94 Commits
Author SHA1 Message Date
Olli Pettay 8a001762d4 Bug 566466 - speed up createElement(), r=jst, peterv 2010-07-23 12:49:57 +03:00
Peter Van der Beken ca30200583 Fix for bug 533637 (Speed up unwrapping a node in quickstubs that use nsINode (dromaeo)). Pair every DOMCI to a specific C++ class. r=jst. 2010-01-12 14:08:43 +01:00
Peter Van der Beken 0ae62d1769 Fix for bug 552716 (Remove NS_INTERFACE_MAP_ENTRY_CONTENT_CLASSINFO). r=jst. 2010-03-17 16:09:05 +01:00
Boris Zbarsky c12e74c7fe Bug 500882 part 8. Remove the SetMayHaveFrame/MayHaveFrame vestiges. r=smaug 2009-12-24 16:20:06 -05:00
Peter Van der Beken 203144188a Fix for bug 457897 (Remove QI on 'this' object when calling from JS to C++). Patch by jorendorff and me, r/sr=jst. 2008-11-03 11:31:47 +01:00
37d117b61e Don't notify when setting text from within the constructor. b=420429 r+sr=jonas a=blocking1.9 2008-03-04 23:14:42 -08:00
53eec62d4c Bug 414894 - Remove content arena. r=smaug, sr=sicking, a=schrep 2008-02-02 15:41:24 -08:00
606ffe658a Bug 403830, arena for content, r=sicking, sr=jst 2007-12-15 01:45:33 -08:00
[email protected] e80f1dba4e Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128 2007-01-30 00:06:41 +00:00
[email protected] 7f3bd7fa7f Fix for bug 347524 (Refactor adoptNode, importNode and cloneNode to share implementation). r/sr=bz. 2006-09-05 10:22:54 +00:00
[email protected] de453923d9 Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst 2006-07-19 04:36:36 +00:00
[email protected] 5df20de104 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz 2006-05-05 06:52:21 +00:00
[email protected] 835fa73bcf Remove defunct assertions from debug-only code. bug 334055, r+sr=sicking 2006-04-15 00:39:35 +00:00
[email protected] f4aac44499 More comment tweaks; should be it for this directory. 2006-03-31 08:41:49 +00:00
[email protected] c4c0ab673f Add some comments explaining what these files do. rs=jst 2006-03-30 08:03:04 +00:00
[email protected] aae44b57d9 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
[email protected] 97ce448ce1 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). Patch by sicking, updated by peterv, r=bz, sr=peterv. 2005-09-24 18:43:15 +00:00
[email protected] f50f4e9bac Trying to fix for balsa orange (from the fix for bug 251025). Patch by bz, r/sr=peterv. 2005-09-12 09:18:48 +00:00
[email protected] 750b305ede Follow-up to fix for bug 251025, make Clone/CloneContent const again. 2005-09-12 07:34:25 +00:00
[email protected] af12617102 Fix for bug 251025 (document.importNode does not set the right owner document.). r=jst, sr=bz. 2005-09-11 17:15:08 +00:00
[email protected] 18e9fa0ca1 Back out fix for bug 251025 to fix bustage. 2005-09-11 15:42:31 +00:00
[email protected] aca21658de Fix for bug 251025 (document.importNode does not set the right owner document.). r=jst, sr=bz. 2005-09-11 15:05:31 +00:00
[email protected] db5f3d7d47 Followup to bug 225941 -- I forgot some review comments. r=dbaron, sr=jst 2005-03-23 03:21:04 +00:00
[email protected] e064e1618f 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
[email protected] ade1cae833 Fix for bug 227003 (add ::IsContentOfType to txXPathNode, txNameTest, txNodeTypeTest). r=sicking, sr=bz. 2005-01-15 19:20:23 +00:00
[email protected] e4f93c8793 Backout part of the fix for bug 27382 to try to undo Tp regression. 2004-08-10 16:16:58 +00:00
[email protected] 81ed902e4f Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). r/sr=jst. 2004-08-10 10:22:36 +00:00
[email protected] d9edea9d71 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
[email protected] 3ab9c6162d Fixing bug 242734. deCOMtaminate nsITextContent. [email protected] 2004-05-07 20:55:17 +00:00
[email protected] cf0b0c064a Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +00:00
[email protected] 505e3d5ba8 General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. [email protected] 2004-01-09 23:54:21 +00:00
[email protected] d47517f6dc Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). [email protected], [email protected]. 2003-11-19 01:20:56 +00:00
[email protected] 2018084674 Fix for bug 223751 (documentType's nodeValue should be null). r/sr=jst. 2003-10-30 12:24:28 +00:00
[email protected] c8a200d763 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
[email protected]
2003-06-13 20:10:01 +00:00
[email protected] 1a8f0475ed Porting fixes for gcc trunk (to become 3.3): Eliminate C-only option from CXXFLAGS. Don't use pasting for things that are still separate tokens. Don't pass objects of non-POD type through |...|. Don't include strstream.h, which isn't used anymore anyway. b=170250 r=bbaetz sr=alecf 2002-09-30 14:18:27 +00:00
[email protected] dd791070de Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 23:54:46 +00:00
[email protected] d949de6f64 Bug 110544, improving comment parsing by avioding string copies and other trickery. r=harishd, sr=jst, a=asa. 2002-03-16 03:03:45 +00:00
[email protected] e4e3326d2c Fixing bug 114539. Getting rid of mInner in all our 'data' nodes and making those classes inherit nsGenericDOMDataNode in stead. Also remove mContentID from nsTextNode and push mRangeList and mListenerManager into hashtables since they are used so rarely. This results in a size reduction of nsTextNode from 44 bytes to 28 bytes (~36%). [email protected], [email protected]. 2001-12-16 06:59:31 +00:00
[email protected] fb816a4e99 We don't pass references to 'interfaces' in general, so let's not do it here either. [email protected]. [email protected] 2001-12-11 09:03:38 +00:00
[email protected] c2f1243fc6 113562 - nsIContent needs HasAttr method, r=jag, sr=jst 2001-12-11 02:57:52 +00:00
[email protected] 1d843feacf Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052 2001-11-07 06:24:10 +00:00
[email protected] d0430dd000 Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst 2001-10-16 05:31:36 +00:00
[email protected] d52d3d978e Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc 2001-10-16 03:53:44 +00:00
[email protected] 5ba3ff1a0d License changes, take 2. Bug 98089. mozilla/content/. 2001-09-25 01:32:19 +00:00
[email protected] 0b20fc36bb Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst. 2001-08-17 08:14:14 +00:00
[email protected] d6e999f56b Removing use of obsolete macros for defining lists of interfaces used by the DOM classinfo code. [email protected], [email protected] 2001-07-18 07:48:12 +00:00
[email protected] baba14c5c8 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
[email protected] fb7e06a031 Fixing bug 81115 that causes the identity of event receivers and event targets to be incorrect in the case where the target/reveiver is an nsGenericElement or a nsGenericDOMDataNode. The problem was the those classes use the event listener manager as a tearoff but QI'ing that tearoff to nsISupports returns the event listener manager and not the element/node, this causes XPConnect to create different wrappers for the same element/node when the event listener tearoff is wrapped in stead of directly wrapping the element/node. This causes problems with event.target in JS, among other things. The solution for this problem was to create a separate tearoff that works correctly and leave the event listener manager alone since it can not be used as a tearoff in all cases. [email protected], [email protected] 2001-05-19 07:02:50 +00:00
[email protected] 650643b391 Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by [email protected] and [email protected], also some changes done by [email protected], [email protected] and [email protected]. r= and sr= by [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]. 2001-05-08 16:46:42 +00:00
[email protected] 08fd740467 Bug 65609: (DOM) Allow form elements inside a subtree to find their parent when the subtree is appended/inserted. [email protected], [email protected] 2001-04-02 00:45:52 +00:00