Commit Graph

1681 Commits

Author SHA1 Message Date
bryner%brianryner.com
2bddef83ba Improve the way in which nsEvent and its subclasses are initialized. Commonly-used members can now be initialized via an inline constructor, and all other members are initialized to zero. eventStructType is set automatically. This also fixes some cases where an eventStructType was doubling as a message -- NS_TEXT_EVENT is now only used as an eventStructType, with a message of NS_TEXT_TEXT. NS_COMPOSITION_* events get an eventStructType of NS_COMPOSITION_EVENT, and ditto for NS_RECONVERSION_*. NS_DRAGDROP_EVENT is no longer an eventStructType since it is not a unique type of struct. There is also some miscellaneous cleanup to nsDOMEvent. Bug 220228, r=jst, sr=blizzard. 2004-01-12 08:25:18 +00:00
neil%parkwaycc.co.uk
2181ff5286 Bug 229526 Don't trim whitespace in <label> <description> or non-XUL r/sr=hyatt 2004-01-10 23:40:54 +00:00
jst%mozilla.jstenback.com
c000ae86e8 General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org 2004-01-09 23:54:21 +00:00
dbaron%dbaron.org
6d01bebb80 Better refcount logging for subclasses of nsXULPrototypeNode. b=230368 r+sr=bryner 2004-01-09 00:01:05 +00:00
bryner%brianryner.com
e65d2d2fe5 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. 2004-01-07 22:30:53 +00:00
caillon%returnzero.com
09603ffccb Move the nsISupports branch up to avoid asking the binding manager for an nsISupports; tinderbox orange fix.
r+sr=bzbarsky
2004-01-06 03:07:57 +00:00
caillon%returnzero.com
319d92fa7d 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: ----------------------------------------------------------------------
2004-01-06 00:36:01 +00:00
hpradhan%hotpop.com
ab67185554 bug 229182 r+sr=jst 2003-12-25 10:25:12 +00:00
peter%propagandism.org
166c671ee0 Patch for bug 209699 (convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst. 2003-12-23 15:41:10 +00:00
bsmedberg%covad.net
0c471686e7 bug 219233 - Unfork nsIChromeRegistry.idl (not the impl, just the interface) and move it into content/base/public until we can get a more fine-grained separation of that interface in to GRE/non-GRE pieces. r/sr=hyatt+jst
I couldn't do a CVS move of nsIChromeRegistry.idl, sorry... it was added on a branch earlier. The old CVS log/blame can be found at mozilla/rdf/chrome/public/nsIChromeRegistry.idl
2003-12-22 05:23:10 +00:00
neil%parkwaycc.co.uk
b07923af53 Bug 225207 Focused element is scrolled into view when switching tab r=caillon sr=bryner a=dbaron 2003-12-07 09:44:40 +00:00
jst%mozilla.jstenback.com
4183787fa9 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(). r=jonas@sicking.cc, sr=bryner@brianryner.com. 2003-11-19 01:20:56 +00:00
sicking%bigfoot.com
f2f76f28e7 Bug 223012: Make xul fully case sensitive.
r=bryner sr=jst
2003-11-18 18:20:03 +00:00
bzbarsky%mit.edu
bfd6b88a89 Convert URL stuff in XBL to use nsIURI instead of strings. Bug 224765, r+sr=bryner 2003-11-17 21:03:32 +00:00
bryner%brianryner.com
74ca0ad36b No need to keep an owning reference to an element's NodeInfo if we already have an owning reference to the element. Bug 225825, r=bz, sr=jst. 2003-11-15 21:29:07 +00:00
bryner%brianryner.com
b556210cb0 Fixing orange (hopefully). Don't dereference a pointer in the same call where it's passed as getter_AddRefs, because that will null it out first. For now, I'm keeping a strong reference to the node info manager at these call sites since it's not clear to me that it's guaranteed to stay around after the NodeInfo is released. 2003-11-15 08:16:23 +00:00
bryner%brianryner.com
823f2f2aa7 deCOMtaminate nsINodeInfo and nsINodeInfoManager. See bug 225060 for details. r=sicking, sr=jst. 2003-11-15 05:27:37 +00:00
timeless%mozdev.org
02325c6f3f Bug 225120 Remove compiler warnings
patch by arne.anka@stupido.com r=dbaron sr=bz
2003-11-09 22:51:28 +00:00
bryner%brianryner.com
78bc7f6016 Inline nsIContent::GetParent() and GetDocument(). Also, remove unused return value on SetParent(). Bug 224331, r=sicking, sr=jst. 2003-11-07 09:47:23 +00:00
bzbarsky%mit.edu
f81481e074 Hold a strong ref to the node we plan to remove, since we want to use it after
removing it from the tree.  Bug 221494, r+sr=jst
2003-11-05 17:54:46 +00:00
bzbarsky%mit.edu
0fc82ad629 Refactor child element handling such that we don't duplicate event-firing code
all over (now we just do it in nsGenericElement and nsXULElement).  Bug 223349,
r=sicking, sr=peterv
2003-11-04 02:15:28 +00:00
scott%scott-macgregor.org
41809ab2b4 Bug #224313 --> crashes when clicking on mail/news accounts. Patch by Peter van der Beken.
sr=dbaron
2003-11-03 06:49:02 +00:00
peter%propagandism.org
e9bdf0c636 Fix for bug 126765 (Change NormalizeAttrString to GetAttrWithName). Original fix by Daniel Bratell and sicking, r=sicking, sr=jst. 2003-10-30 13:47:29 +00:00
caillon%returnzero.com
150adb2e29 Make content grab the cached security manager off of nsContentUtils rather than ask the service manager to find one.
Bug 223192; r+sr=bzbarsky
2003-10-30 03:01:25 +00:00
bzbarsky%mit.edu
75c3e6a121 Make nsExpatDriver and nsIExpatSink be on the same wavelength as far as passing
attributes to HandleStartElement.  Update callees as needed.  Bug 223470,
r=sicking, sr=peterv
2003-10-30 02:17:50 +00:00
dbaron%dbaron.org
ec0bfea4ea Implement element.style for XUL elements. Fully fault XUL attributes when style attribute is modified, and ensure that string and style rule versions of style attribute stay in sync. (HTML elements only store the latter.) b=7639 r+sr=bzbarsky 2003-10-30 01:40:33 +00:00
bryner%brianryner.com
605cc06382 deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst. 2003-10-22 06:09:48 +00:00
caillon%returnzero.com
66caced69a Re-land patch for bug 83536, merging principal objects.
Also includes fixes from bug 216041.
r=bzbarsky
sr=jst
2003-10-21 22:11:49 +00:00
bzbarsky%mit.edu
44da342b5c Fix handling of id attrs to not assume that they are named "id" as much. Bug
208744, r=caillon, sr=peterv
2003-10-21 16:16:42 +00:00
varga%nixcorp.com
199cf9bc76 Changing my email address. 2003-10-21 15:35:57 +00:00
bzbarsky%mit.edu
f384166efa Create a mozAutoDocUpdate class to handle automatically calling
BeginUpdate/EndUpdate on documents.  Use this in a bunch of places to make sure
that EndUpdate is called in the face of early returns.  Bug 131775, also fixes
bug 211022, r=caillon, sr=jst
2003-10-16 18:14:25 +00:00
sicking%bigfoot.com
e97fb73528 Bug 199613: Don't put textnodes in the root of the document when parsing XML and XUL since the DOM doesn't allow that.
r=peterv sr=jst
2003-10-15 20:10:47 +00:00
neil%parkwaycc.co.uk
a4ef7ac4a5 Bug 161452 Tree content and builder views may need to recheck empty status after children are removed based on patch by kyle yuan r=varga sr=bryner 2003-10-10 08:39:35 +00:00
neil%parkwaycc.co.uk
c06f3e743b Bug 221288 XUL tree builder abuses tree batching r=jan sr=alecf 2003-10-07 15:49:50 +00:00
bzbarsky%mit.edu
a972a3e501 Make presshell batch processing of style changes (using BeginUpdate/EndUpdate
notifications).  Bug 200931, r=peterv, sr=jst
2003-10-02 21:29:40 +00:00
hpradhan%hotpop.com
ded5666bf0 Bug 217972 : fix warning 2003-09-28 08:54:51 +00:00
bzbarsky%mit.edu
fff80d5874 Fix crash in XUL sort service -- unsigned ints are never less than 0... Bug
220516, r+sr=dbaron
2003-09-28 06:05:08 +00:00
jst%mozilla.jstenback.com
5037b2a4a2 Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org. 2003-09-27 04:18:26 +00:00
bzbarsky%mit.edu
24ea48e040 Fix GetAttributes() in XUL to work right. Bug 169825, r=sicking, sr=peterv 2003-09-25 03:51:12 +00:00
peter%propagandism.org
9269335d2c Fix for bug 219819 (.nodeValue shouldn't throw NO_MODIFICATION_ALLOWED_ERR for documents and elements). r/sr=jst. 2003-09-23 13:45:02 +00:00
hpradhan%hotpop.com
9cc206ea7b Bug 217972 : nsRDFDOMNodeList cleanup r=caillon sr=jst 2003-09-20 06:15:54 +00:00
hpradhan%hotpop.com
72c3e2054d Bug 217971: kEventHandlerMap in nsXULElement.cpp doesn't need to store iid pointers r+sr=bryner 2003-09-20 06:09:10 +00:00
bryner%brianryner.com
2fcdb4e2d5 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 21:50:21 +00:00
caillon%returnzero.com
f8e8aed8a7 Backing out the patch to bug 83536.
I will reland this when 1.6a re-opens.
r+sr=jst@netscape.com
a=chofmann
2003-08-22 03:06:53 +00:00
cls%seawood.org
1b51ba858c Set MODULE in makefiles at the top of a heirarchy so that module-deps lists are more precise and builds will have the proper order if some subdirs contain other modules. 2003-08-16 00:42:35 +00:00
roc+%cs.cmu.edu
0b8cd870e1 Bug 190735. nsIFrame deCOMtamination, r+rs=dbaron 2003-08-06 03:07:12 +00:00
timeless%mozdev.org
3d2cd91336 Bug 211290 PRBool nsTemplateMatchRefSet::Add doesn't check the return value of PL_DHashTableInit
r=dbaron sr=bz
2003-08-05 11:45:02 +00:00
timeless%mozdev.org
219eb03947 Bug 211286 void nsContentSupportMap::Init doesn't check the return value of PL_DHashTableInit
r=dbaron sr=bz
2003-08-05 11:41:14 +00:00
timeless%mozdev.org
8ea554ebaa Bug 211285 void nsRuleNetwork::Init doesn't check the return value of PL_DHashTableInit
r=dbaron sr=bz
2003-08-05 11:40:44 +00:00
bzbarsky%mit.edu
e2dae4d2f9 DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst
2003-07-28 21:17:26 +00:00