Commit Graph

621 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
d8528239b5 Make the binding manager deal with ContentInserted and ContentReplaced
notifications in a more reasonable (though still not completely correct) way.
Last touches on bug 233191, idea suggested by hyatt, r+sr=jst
2004-03-02 22:28:48 +00:00
darin%meer.net
c380c59f65 landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin 2004-02-28 22:34:07 +00:00
bryner%brianryner.com
225298a99e Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc. 2004-02-23 21:29:06 +00:00
bzbarsky%mit.edu
bcfbdd3131 Fix windows bustage. Bug 232132 2004-02-19 23:00:44 +00:00
bzbarsky%mit.edu
cf5bd9ee14 Make property compilation use dependent strings instead of copying the method
bodies and move some duplicated code into a superclass.  Bug 232132,
r=timeless, sr=bryner
2004-02-19 22:24:41 +00:00
darin%meer.net
8d65e087ae landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
bzbarsky%mit.edu
58257cdafc Change the refcounting model for XBL stuff as follows:
1)  nsXLBDocumentInfo owns all prototype bindings and deletes them in its
    destructor
2)  Everyone else just has weak refs to prototype bindings
3)  nsXBLBinding holds a weak ref to the proto binding and a strong ref to
    the document info
4)  The document info is what's stored in the chrome cache.

to prevent crashes.  Bug 226692, r=timeless, sr=bryner, a=brendan
2004-02-15 19:24:42 +00:00
jst%mozilla.jstenback.com
64ad19a801 Fixing bug 68215. Adding support for the onbeforeunload event. r=peterv@propagandism.org, sr=brendan@mozilla.org 2004-02-11 06:09:51 +00:00
sicking%bigfoot.com
4cedcd531b Final patch for bug 195350. Make XUL use new nsAttrAndChildren class. Kill nsXULAttributeValue and nsXULAttributes in favour of nsAttrValue resp. nsDOMAttributeMap. Should fix a few bugs, improve performance and reduce bloat.
r=bz sr=jst
2004-02-10 09:08:06 +00:00
jst%mozilla.jstenback.com
505c634885 Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com. 2004-02-09 22:48:53 +00:00
jst%mozilla.jstenback.com
90431d8022 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org 2004-01-29 22:04:45 +00:00
dbaron%dbaron.org
96079e83a3 Use a stub implementation of nsIDocumentObserver for implementors of nsIDocumentObserver in the layout library. b=232351 r=jst sr=peterv 2004-01-28 21:04:33 +00:00
bzbarsky%mit.edu
cf95b2d9f7 If compilation of a prototype member fails, destroy all prototype members
before bailing.  Bug 232095, r+sr=bryner
2004-01-27 21:18:00 +00:00
jst%mozilla.jstenback.com
ce1edc1dc9 Fixing bug 230840. DeCOMtaminating nsIDocumentObserver, nsIAttribute, nsIContentList, and nsIContentIterator, and doing some other cleanup. r=jonas@sicking.cc, sr=bryner@brianryner.com 2004-01-24 00:46:17 +00:00
bzbarsky%mit.edu
b09be5c6ed Backing out the last change since it has no effect on Ts and increases
codesize. Bug 224765.
2004-01-21 15:36:28 +00:00
bzbarsky%mit.edu
6c601cd03a Oops, forgot this change. Bug 224765 2004-01-21 05:06:42 +00:00
bzbarsky%mit.edu
583a9847e3 Attempt to fix Ts regression from bug 224765. r+sr=darin 2004-01-21 05:03:10 +00:00
bzbarsky%mit.edu
5f18239117 When a method has an empty body, don't drop the rest of the binding because of that.
Bug 231324, r+sr=bryner
2004-01-18 23:38:31 +00:00
peterv%propagandism.org
379d6c8a41 Miscellaneous cleanup. r/sr=jst. 2004-01-18 10:45:26 +00:00
bryner%brianryner.com
0921cd696f When checking whether whitespace should be stripped, look at the element's namespace instead of using IsContentOfType(). This makes things work correctly when MOZ_XUL is not defined and XUL elements are just XMLElements. Bug 230877, r+sr=jst. 2004-01-14 21:33:01 +00:00
bzbarsky%mit.edu
8093efd14c 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
2004-01-13 23:14:49 +00:00
bzbarsky%mit.edu
f09279d25e Minor cleanup in XBL. Bug 230591, r+sr=bryner 2004-01-12 23:43:59 +00:00
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
bzbarsky%mit.edu
628fa9e851 Forgot to address a review comment... Bug 223799. 2004-01-07 16:29:05 +00:00
bzbarsky%mit.edu
6399275154 Better enforcement of XBL's containment rules and better error-reporting. Bug
223799, r=timeless, sr=bryner
2004-01-06 18:30:45 +00:00
bzbarsky%mit.edu
9f9860b620 Clear mResources backpointer when the resources are destroyed. Bug 226744,
r=bryner, sr=jst
2004-01-05 23:46:00 +00:00
bzbarsky%mit.edu
331a80998b Make sure to create unique proto chains as needed instead of reusing incorrect
protos.  Bug 127418, r=hyatt, sr=brendan
2004-01-05 23:19:58 +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
bzbarsky%mit.edu
0aa74580d7 Second part of logic-fixup for bug 225837. Patch by jst, r+sr=bzbarsky,
a=dbaron
2003-12-10 15:16:11 +00:00
jst%mozilla.jstenback.com
b040a2500a Fixing logic goofup in my nsIContent::GetTag() deCOMtamination patch. r+sr=bzbarsky@mit.edu, a=dbaron@dbaron.org 2003-12-02 22:18: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
bzbarsky%mit.edu
8ec9126261 Fix build bustage. I wonder why my gcc didn't catch this... 2003-11-17 21:41:13 +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
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
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
dbaron%dbaron.org
5cce92dc2a Make URIs in the style system nsIURI pointers instead of strings. b=113173 r+sr=bzbarsky 2003-10-01 22:53:56 +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
peter%propagandism.org
3f116defdd Add blank line at end of file. 2003-09-17 19:19:53 +00:00
brendan%mozilla.org
d974bdbfa5 Fix venkman-induced GC-hazard crash bug: keep the nsIXPConnectJSObjectHolder for scriptObject alive across the entire extent of the scriptObject variable (171949, r=peterv, sr=bryner). 2003-09-15 21:57:31 +00:00
bsmedberg%covad.net
0568e675fc Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt 2003-09-13 17:55:56 +00:00
peter%propagandism.org
997e1a10df Fix memory leak from fix for bug 206321 (Share event listeners between XBL event handlers). r=jkeiser, sr=bryner. 2003-09-13 16:47:00 +00:00
peter%propagandism.org
bde589ba46 Fix for bug 206321 (Share event listeners between XBL event handlers). r=jkeiser, sr=bryner. 2003-09-11 13:49:58 +00:00
peter%propagandism.org
453b136450 Fix for bug 206321 (Share event listeners between XBL event handlers).r=jkeiser, sr=bryner. 2003-09-11 12:25:06 +00:00
peter%propagandism.org
47b9d983ff Fix for bug 206321 (Share event listeners between XBL event handlers). r=jkeiser, sr=bryner. 2003-09-11 12:19:14 +00:00
timeless%mozdev.org
2fe1675b20 Bug 211493 nsXBLProtoImplMethod::CompileMember doesn't check rv from aContext->CompileFunction. Crash [@ JS_CloneFunctionObject]
r=bryner sr=bz
2003-09-11 04:10:20 +00:00