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

640 Коммитов

Автор SHA1 Сообщение Дата
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
jst%netscape.com b4cc5d4695 Fixing bug 124412. Making nsXULDocument inherit nsXMLDocument to avoid the need to duplicate a large amount of code in nsXULDocument. Also removing nsMarkupDocument and nsIDOMEventCapturer that are no longer needed. Changing the inheritance of nsIDOMXULDocument to avoid ~60 or so forwarding methods, and doing a *lot* of code cleanup. r=bugmail@sicking.cc, sr=peterv@netscape.com 2003-03-26 07:41:30 +00:00
bryner%netscape.com e1391344c6 Move editor's key event listener, xbl commands, and typeahead find into the system event group. This allows event listeners in content to reliably cancel key events. Bug 54035, r=jkeiser and aaronl, sr=hyatt and kin. 2003-03-24 04:00:58 +00:00
bryner%netscape.com 348f569486 fix some more crashes related to bug 196337. r=blake, sr=hewitt. 2003-03-17 03:57:51 +00:00
dougt%netscape.com 0d2808c511 Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
bryner%netscape.com 32997b4aa1 fixing ports bustage 2003-03-12 05:03:35 +00:00
bryner%netscape.com 7b37e841b7 Make prototype bindings be refcounted again. This ensures that the
prototype binding will still be alive even if the XBLDocumentInfo has
been deleted, as can happen when the XUL cache is flushed (since it
holds the only reference to the docinfo in that case). Fixes crashers
196446, 196333, 196477, 196736. r=jkeiser, sr=jag.
2003-03-12 00:42:52 +00:00
bryner%netscape.com a88046b75c fixing bustage 2003-03-07 01:05:54 +00:00
bryner%netscape.com 9d7d571cab Remove nsIXBLPrototypeBinding (part of bug 194834). r=jkeiser, sr=alecf. 2003-03-06 23:59:18 +00:00
peterv%netscape.com bc210f1afe Fix for bug 195153 (Remove bogus 'extern' decls from NS_New* functions.). Patch by jst, r=sicking, sr=peterv. 2003-03-05 15:08:41 +00:00
alecf%netscape.com 8c233de9f3 fix bug 190729 - remove some dead code from xbl
sr=jag, r=bryner
2003-03-04 01:04:27 +00:00
bryner%netscape.com 2866ee7fbe Remove nsIXBLPrototypeHandler (part of bug 194834). r=jkeiser, sr=sfraser. 2003-02-28 01:04:45 +00:00
neil%parkwaycc.co.uk be90785b1a Bug 102133 Implement phase="target" in XBL r=hyatt sr=jag 2003-02-24 15:41:41 +00:00
dbaron%dbaron.org 4b4f8625f1 Replace nsIStyleSheet::AttributeAffectsStyle with nsIStyleRuleProcessor::HasAttributeDependentStyle. Strengthen the attribute optimization and apply it to HTML as well. b=163556 r+sr=bzbarsky 2003-02-22 16:10:53 +00:00
dbaron%dbaron.org ea93b55cc8 Reduce code size of atom lists by storing a table of strings and pointers to fill in. b=181383 r=alecf sr=sfraser 2003-02-22 15:58:07 +00:00
bryner%netscape.com e43f5a49fd Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron. 2003-02-22 00:32:13 +00:00
aaronl%netscape.com ec704b5a30 Bug 185270. Make Insert/shift+insert open link in new tab (foreground/background, depending on whether shift is pressed). r=caillon, sr=jag 2003-01-21 23:04:02 +00:00
sicking%bigfoot.com 89c3e94d25 Bug 188729: Break refcounting-cycles during load.
r=peterv sr=bz
2003-01-14 22:32:18 +00:00
aaronl%netscape.com ac5a909110 Bug 176296. Create accessibility.typeaheadfind.autostart boolean pref. If false, / or ' is required to start Find As You Type. Also fixes bug 183998, allowing manual start with / or ' in mailnews. Find As You Type now uses the command system to get notification that a new find should start. r=kyle, sr=jst 2003-01-14 04:03:35 +00:00
dbaron%dbaron.org 098bd15103 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 19:35:36 +00:00
peterv%netscape.com d96051a4a2 Fix for bug 183999 (Modernize content). r=caillon, sr=bz. 2002-12-11 14:24:49 +00:00
caillon%returnzero.com 342abe6814 182954 - Convert content to use nsIPrefService, nsIPrefBranch, and friends.
r=sicking sr=peterv
2002-12-10 23:44:03 +00:00
timeless%mozdev.org da9c8551f4 Bug 183309 Mozilla crashes on startup. - Trunk [@ nsBindingManager::GetXBLDocumentInfo]
patch by nallen@acm.org r=brendan sr=alecf a=asa
2002-12-05 21:25:23 +00:00
bzbarsky%mit.edu fe53f95e60 Make the CSSLoader correctly order stylesheets as they are dynamically added
and removed via the DOM.  Clean up the nsIDocument stylesheet accessors.  Clean
up nsIDocumentObserver stylesheet stuff a bit.  Make style sheets visible in
the CSSOM (though not completely accessible) from the moment the load is kicked
off.  Make us have sheet objects that can be manipulated via CSSOM even for
failed loads. Bug 107567, bug 47734, bug 57225, bug 178407.
r=sicking,  sr=peterv.
2002-12-03 05:48:14 +00:00
alecf%netscape.com 5dbd9ca724 stupid mac / linux compilers were accepting "const const" - but the mac does not.
fixing bustage
2002-12-03 02:24:50 +00:00
sicking%bigfoot.com 4ef08f6409 Bug 169124: Make the XSLT contentsink create generic xml-elements for all elements to get around limitations with xhtml elements. Also do some cleaning in the XML contentsink.
r=harishd sr=peterv
2002-12-02 23:24:57 +00:00
alecf%netscape.com f8cf94c403 oops, forgot to add that my last checkin was bug 177545 2002-12-02 22:32:04 +00:00
alecf%netscape.com 612e41a4a2 switch nsBindingManager over to pldhash and nsDoubleHashtable - this greatly reduces the number of allocations from XBL, the single worst consumer of nsHashtable!
sr=brendan, r=hyatt
2002-12-02 22:30:26 +00:00
peterv%netscape.com 2cd27f702a Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst. 2002-11-29 23:44:07 +00:00
sicking%bigfoot.com b615fa9010 Bug 181808: Use macros to declare and implement nsIDocumentObserver
r=caillon sr=bz
2002-11-25 08:33:30 +00:00
bryner%netscape.com be89105ec4 Bug 104371 - shiftKey not set correctly for keypress events, breaking shift+space binding. r=brade, bzbarsky, sr=hyatt. 2002-11-07 03:34:13 +00:00
sicking%bigfoot.com 3984ee537d Bug 64945: XML prettyprinting final stage. Implements document.removeBinding and drops the prettyprint binding when the document is modified. Also turn on prettyprinting by default.
r=jkeiser,hyatt,bz sr=rpotts a=asa
2002-10-22 05:28:36 +00:00
seawood%netscape.com 57e08a3f3a Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa
2002-10-17 06:47:01 +00:00
heikki%netscape.com 919aef29e4 Bug 172372, when loading XML as data, we need to disable scripts and styles. r=sicking, sr=bzbarsky, a=asa. 2002-10-11 00:38:29 +00:00
sicking%bigfoot.com de70300d00 bug 64945 stage two.
Prettyprint without modifying the DOM by using an XBL binding. Use viewsource.css for styling. Also refactor a real sync-load service and make transformiix and XBL use it.

r=jkeiser sr=darin
2002-10-09 07:03:15 +00:00
varga%netscape.com a068886905 Putting XUL prototype elements on a diet. Bug 26429.
r=ben, sr=brendan
2002-09-25 09:56:09 +00:00
aaronl%netscape.com d618542d85 Bug 167921 - allow web pages to use preventDefault so that typeaheadfind doesn't interfere with them. r=kyle, sr=brendan. Also fixes bug 165315 - typeaheadfind shouldn't hardcode kbd shortcuts, bug 77704 - add accelerator for find prev (also added menu item). Also fixes bug 167783 - ctrl+g for typeaheadfind after repeating characters. Also fixes bug 168408 - backspace after bad character typed should do the right thing, but don't add bad characters to buffer. Also fixes bug 71832 - add F3 for find next (also shift+F3). Bug 157669 - Alt+D to select location bar (IE keyboard compatibility), r=sgehani, sr=hewitt 2002-09-24 22:46:50 +00:00
rpotts%netscape.com b5533b4cc8 bug #145579 (r=darin, sr=jst) send the correct referrer for images... 2002-09-17 18:59:41 +00:00
dougt%netscape.com 68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
sicking%bigfoot.com 443bb6d0bc Bug 64945: XML Prettyprinting stage 1
r=peterv sr=jst
2002-09-04 06:57:25 +00:00
brade%netscape.com 64c81b056e fix pageup/pagedown keybinding for browser (bug 165255) 2002-08-29 13:01:57 +00:00
brade%netscape.com 2a57895483 check in patches for 4302 that were overlooked when landing fix for bug 4302 (shift keybindings for pageup/pagedown) 2002-08-28 13:36:44 +00:00
brade%netscape.com a28a7b2f4f check in patch which was overlooked when checking in fix for bug 4302 2002-08-28 13:32:48 +00:00
brade%netscape.com 38076d4fad missing piece from checkin for bug 4302 2002-08-28 13:26:37 +00:00
roc+%cs.cmu.edu cb32a0f906 Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin 2002-08-24 14:41:28 +00:00
jst%netscape.com 5707cc67d2 Fixing bug 156364. Laying the groundwork for associating more info with elements in the DOM, and moving event listener managers and range lists out of nsGenericElement slots. This change cuts down on the size of nsGenericElement. r=sicking@bigfoot.com, sr=rpotts@netscape.com 2002-08-13 00:50:50 +00:00
gerv%gerv.net a6d4accdea Bug 154765 - Cleaning up Contributors references after relicensing. Patch by riceman+bmo@mail.rit.edu; r=gerv, auto-sr=brendan. 2002-08-10 08:39:43 +00:00
seawood%netscape.com 322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00