Граф коммитов

687 Коммитов

Автор SHA1 Сообщение Дата
roc+%cs.cmu.edu 0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
bzbarsky%mit.edu a7bff6ad5b Change FlushPendingNotifications to have more granularity and update callers to
only flush the things they really need flushed.  Bug 144072, r+sr=jst
2004-05-27 22:08:42 +00:00
roc+%cs.cmu.edu 0e3ff503fb Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
neil%parkwaycc.co.uk 60a97498f3 Bug 164249 Make it possible to ignore certain modifiers on XBL and key nodes (current syntax is modifiers="control any, shift") r=varga sr=bryner 2004-05-21 09:28:13 +00:00
neil%parkwaycc.co.uk 6c9b07b822 Bug 164249 Make it possible to ignore certain modifiers on XBL and key nodes (current syntax is modifiers="control any, shift") r=varga sr=bryner 2004-05-21 09:00:00 +00:00
timeless%mozdev.org 9ebaf2e5ea Bug 242999 Crash while trying to GC [@ DOMGCCallback]
r=jst sr=jst
2004-05-18 04:00:47 +00:00
kyle.yuan%sun.com e0e0f42ea6 Bug 214843 Space doesn't scroll when link's child has focus
r=aaronleventhal, sr=jst, patch by neo.liu@sun.com
2004-05-08 02:55:41 +00:00
bryner%brianryner.com 7d80b4f5cf deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst. 2004-05-03 21:48:36 +00:00
jst%mozilla.jstenback.com 77c4322ab2 Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org 2004-04-29 23:34:19 +00:00
bzbarsky%mit.edu 4ede76717e 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
2004-04-25 16:55:27 +00:00
bryner%brianryner.com 642f7ede36 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. 2004-04-18 00:28:47 +00:00
gerv%gerv.net 9d2ee4928c Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +00:00
bzbarsky%mit.edu ec6b46ac12 Do less QIing of events in WalkHandlersInternal. Bug 237453, r=sicking,
sr=peterv
2004-04-12 22:49:13 +00:00
sicking%bigfoot.com 386382d6ab Bug 237566: Remove nsIContent::ReplaceChildAt and supportive codepaths.
r=bz sr=jst
2004-04-12 22:48:33 +00:00
dbaron%dbaron.org 4d12ed012a De-COM-ify nsHTMLStyleSheet. b=239008 r+sr=bryner 2004-04-12 21:56:09 +00:00
bzbarsky%mit.edu b2e67d2b82 Fix bug 237002 -- mis-ordering of content inserted at the beginning of an
insertion point.  r+sr=jst, a=chofmann
2004-03-10 23:53:09 +00:00
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
timeless%mozdev.org fb71c773cf Bug 216721 Make mAttachedQueue a Stack
r=bryner sr=bz
2003-09-11 02:17:11 +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
brendan%mozilla.org b7cdb7debb Add shared DHashTableOps for [const] char *key use-cases, clean up dhash API abusages (214839, r=dougt, sr=dbaron). 2003-08-05 20:09:21 +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
timeless%mozdev.org eda704ab1f Bug 207617 This URL crashes Mozilla every time [@ js_CompareStrings]
r=bryner sr=bz
2003-07-28 10:59:54 +00:00
jaggernaut%netscape.com 95899387f6 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron 2003-07-25 19:06:59 +00:00
caillon%returnzero.com 7495519180 Bug 212504. Removal of the default namespace arguments from CSSStyleSheet and CSSLoader.
r=bzbarsky@mit.edu, sr=dbaron@dbaron.org
2003-07-18 01:26:47 +00:00
timeless%mozdev.org 2e9556b5c9 Bug 211284 SetOrRemoveObject doesn't check the return value of PL_DHashTableInit
r=alecf sr=dbaron
2003-07-14 21:26:24 +00:00
bzbarsky%mit.edu b69b2abd98 Backing out part of patch for bug 211128, since it regressed all sorts of
XBL-ish stuff.  r=stuff-is-broken sr=jag for the backout.
2003-07-14 05:35:09 +00:00
bzbarsky%mit.edu 89229dc7b9 Fix crash in malformed XBL. Bug 210298, patch by enndeakin@sympatico.ca (Neil
Deakin), r=bryner, sr=bzbarsky
2003-07-13 07:19:28 +00:00
bzbarsky%mit.edu 9cb380a7ff Make XBL anonymous content get its base URI from the XBL document (the binding
URI) instead of from the document of the bound element.  This way relative URIs
in a binding are always relative to the binding.  Bug 211128, r=caillon, sr=jst
2003-07-11 23:06:26 +00:00
bzbarsky%mit.edu e6028a883c Add correct line number reporting to errors from XBL fields and handlers. Make
it possible to pass a url and line number to CompileEventHandler in general.
Bug 127567, r=bryner, sr=brendan
2003-07-11 22:54:36 +00:00
dbaron%dbaron.org d85698fd40 Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky 2003-07-11 21:16:12 +00:00
bzbarsky%mit.edu 49a70c351d Random array and already_AddRefed magic in XML content sink. Bug 211196,
r=caillon, sr=jst
2003-07-03 05:34:26 +00:00
bzbarsky%mit.edu 3906cefb0c Make XBL methods and properties report useful line numbers and urls so that the
JS errors/warnings in the JS console point to the right place.  Bug 127567,
r=bryner, sr=alecf
2003-06-24 01:20:40 +00:00
jst%netscape.com 2297bec5b0 Fixing typo in comment. 2003-06-21 18:03:15 +00:00
dwitte%stanford.edu b444fcb403 removing some unused default ctors now that nsDerivedSafe can handle it.
no bug, r+sr=bz
2003-06-21 07:01:42 +00:00
jst%netscape.com 06a1373cba Fixing orangeness. 2003-06-21 03:08:56 +00:00
jst%netscape.com 947ba67a9d Fixing one more part of bug 209699. Replace NS_Convert* with Copy/Append*. r=dwitte@stanford.edu, sr=alecf@flett.org. 2003-06-21 00:26:28 +00:00
bryner%netscape.com b0d40f3072 Always add nsXBLDocumentInfos to the bound document's binding manager, even if we also put it in the XUL cache. This prevents crashes when the XUL cache is flushed (bug 201103). r=jkeiser, sr=bzbarsky. 2003-06-20 23:33:43 +00:00
aaronl%netscape.com fccde7c7eb Bug 208460. Remove nsIDOM3Node.idl dependency from nsIDOMNode.idl 2003-06-16 11:17:18 +00:00
caillon%returnzero.com 2df173e9c8 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
seawood%netscape.com 97649bab86 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
aaronl%netscape.com ef71f3a441 Bug 204777. Prevent backspace to send us back in history in general embedded case. r=brade, sr=sfraser 2003-05-25 19:39:21 +00:00
hpradhan%hotpop.com 1ac147ff97 bug 148636 : reduce memory usage in xbl when rendering with lots of form elements r=jkeiser sr=bryner a=asa 2003-05-21 03:14:47 +00:00
jgaunt%netscape.com d657abc98d bug 201166 allow XBL elements to QI to base interfaces
r=bryner sr=jst a=asa
2003-05-13 23:27:33 +00:00
mstoltz%netscape.com de71defcdf Bug 200691 - Add CheckLoadURI call to XBL loader to prevent remote XUL pages loading XBL bindings from file URLs. r=bryner, sr=heikki, a=asa 2003-05-01 02:41:45 +00:00
bryner%netscape.com baf5527445 Fix a memory leak my last XBL checkin introduced. Removed unused nsIXBLBindingAttachedHandler and related code. Stopped using XPCOM interfaces for classes internal to nsXBLPrototypeBinding.cpp. r=jkeiser, sr=jst. 2003-04-19 06:32:08 +00:00
ere%atp.fi 19c0852cd8 Bug 90337: load chrome xbl bindings synchronously.
r=hyatt
sr=bzbarsky
2003-04-18 08:44:25 +00:00
bryner%netscape.com fafc8f28c6 More XBL deCOMtamination (bug 194834). This checkin removes nsIXBLInsertionPoint and nsIAnonymousContentList. r=jkeiser, sr=jst. 2003-04-15 20:35:07 +00:00
bryner%netscape.com 3a3ec0cbd5 Make --disable-xul work (bug 69995). We build enough XUL to support
scrollbars unconditionally, but can now leave out heavyweight widgets like
grid, listbox, and tree.  r=bzbarsky, sr=alecf.
2003-04-11 00:56:27 +00:00
heikki%netscape.com b6ee57a69a Bug 200382, reduce content's dependencies on webshell, r=adamlock, sr=jst. 2003-04-03 18:57:33 +00:00
alecf%netscape.com bff73e5ad2 fix for bug 199503 - consolidate layout atoms into the main layout atom lists
sr=bryner, r=jag
2003-04-02 23:02:40 +00:00
alecf%netscape.com c8aef61acf fix for bug 199170, convert layout to use nsStaticAtom. sr=dbaron 2003-04-02 04:51:07 +00:00