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

1758 Коммитов

Автор SHA1 Сообщение Дата
caillon%returnzero.com 50c8451a33 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 38f1930059 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 2319e1e03e 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 a0e219b348 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 de3d3fbf61 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 321b58e88d 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 0f42747ce0 Changing my email address. 2003-10-21 15:35:57 +00:00
bzbarsky%mit.edu c9db7359a7 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 910d4e886d 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 e49b147dce 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 51da79949c Bug 221288 XUL tree builder abuses tree batching r=jan sr=alecf 2003-10-07 15:49:50 +00:00
bzbarsky%mit.edu 8801e97e8f 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 3b6cdc2e8c Bug 217972 : fix warning 2003-09-28 08:54:51 +00:00
bzbarsky%mit.edu 835e3d55f6 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 8aa7b563d2 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 f76fb705fc Fix GetAttributes() in XUL to work right. Bug 169825, r=sicking, sr=peterv 2003-09-25 03:51:12 +00:00
peter%propagandism.org 7763db228d 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 1e339ad74d Bug 217972 : nsRDFDOMNodeList cleanup r=caillon sr=jst 2003-09-20 06:15:54 +00:00
hpradhan%hotpop.com a79e3252c9 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 7f4af2e0f9 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 c11c6acb17 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 c08e99a287 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 50878e792b Bug 190735. nsIFrame deCOMtamination, r+rs=dbaron 2003-08-06 03:07:12 +00:00
timeless%mozdev.org a15e7fc233 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 eb5d6c1835 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 2fc8b22a90 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 272e86c75d DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst
2003-07-28 21:17:26 +00:00
bsmedberg%covad.net 117dcd4d23 Bug 211470 - need a common nsURIHashKey r=darin sr=bz 2003-07-27 15:20:11 +00:00
brendan%mozilla.org 32d941a463 Big dynamic footprint win via script filename caching, plus line number fix for strict/const diags (see http://bugzilla.mozilla.org/attachment.cgi?id=127130&action=view for detailed checkin comments; 208030, r/rs=shaver, r=rginda on the jsd change, r=jst on the dom change). 2003-07-26 22:37:11 +00:00
jaggernaut%netscape.com f1efc20ae6 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron 2003-07-25 19:06:59 +00:00
bzbarsky%mit.edu 76799ff743 Add an nsIDocument* GetOwnerDocument() to nsGenericElement, deCOMify
nsINodeInfo a tad.  Bug 211634, r=jkeiser, sr=jst
2003-07-24 17:30:52 +00:00
caillon%returnzero.com 9c22160a4b Bug 83536.
Merge script principal implementations into one class.
Should reduce footprint, speed up calls to caps a little bit, and fixes several memory leaks.
Also fixes bugs 211174 and 211263
r=jst@netscape.com
sr=bzbarsky@mit.edu
moa=mstoltz@netscape.com (he looked at an earlier patch and said it looked fine, and will do a retroactive review when he returns from vacation as well)
2003-07-24 05:15:20 +00:00
dbaron%dbaron.org f61c45ed1a Remove unused content quality stubs. b=111346 r+sr=bzbarsky 2003-07-22 18:38:08 +00:00
varga%utcru.sk 3aab060321 Fix for bug 152209. unnecessary distinction between "content" and "treeitem" template conditions
r=neil, sr=bienvenu
2003-07-20 10:35:41 +00:00
caillon%returnzero.com 01645eaf4b 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
chanial%noos.fr c057ca60fd bug 210196 Fix use of bookmarks root / top root as a target and correct caller of CanDropBeforeAfter
r=varga, sr=jag
2003-07-17 11:08:07 +00:00
jaggernaut%netscape.com bf82a649b9 Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky 2003-07-14 07:37:39 +00:00
bzbarsky%mit.edu 9fad3e7dfe 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 38297174ab 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 92b921aca3 Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky 2003-07-11 21:16:12 +00:00
varga%netscape.com 287a44d567 Fix for bug 202393. Add DOM class info for nsIXULTreeBuilder.
r=pike, sr=peterv
2003-07-08 21:10:52 +00:00
varga%netscape.com 16f19f36b0 Fix for bug 145309. [turbo] On exit after unloading accts we are again loading accts because we are rebuilding tree
r=varga, sr=jag, patch by waterson
2003-07-08 13:56:58 +00:00
bzbarsky%mit.edu 25471a836d Add nsIContent::GetBaseURL; get rid of similar functions on nsIXMLContent and
nsIHTMLContent.  Bug 209573, r=caillon, sr=jst.
2003-07-03 02:45:34 +00:00
neil%parkwaycc.co.uk 537927df37 Bug 209911 XUL tree blob sort ignores sort direction r=varga sr=jag 2003-06-25 08:46:31 +00:00
caillon%returnzero.com c0dd16f7be 210451 - Implement getting Node.textContent (see the DOM3 WD)
r+sr=jst@netscape.com
2003-06-24 21:39:39 +00:00
bzbarsky%mit.edu e5462134b5 Add asserts on people attempting to fetch attributes in the
kNamespaceID_Unknown namespace or call HasAttr on such.  Bug 210314, r+sr=jst
2003-06-24 06:45:34 +00:00
bzbarsky%mit.edu 62064e4328 Seems to have no effect on Tp, so relanding. Who knows what btek is
thinking....
2003-06-22 06:34:08 +00:00
bzbarsky%mit.edu f03f48c524 Backing the rest of this out to see whether it affects Tp. 2003-06-22 03:33:33 +00:00
bzbarsky%mit.edu 36eb6c4539 Make sure to fire no mutation events or internal notifications on attribute
changes that don't change the attr value.  Bug 209634, r=caillon, sr=jst
2003-06-21 04:55:32 +00:00
jst%netscape.com a749a7af60 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
caillon%returnzero.com 36a00e95c1 Bug 209852. Remove |dont_QueryInterface|.
r=dbaron, sr=jag
2003-06-21 00:15:41 +00:00
brendan%mozilla.org fb73b5e631 Use NS_REINTERPRET_CAST, not NS_STATIC_CAST, to go from void* native context type to opaque-here-without-jscntxt.h JSContext * (fixes HPUX build). 2003-06-20 01:47:31 +00:00
dbaron%dbaron.org 42b06cc4f5 DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc 2003-06-19 23:44:01 +00:00
brendan%mozilla.org b969bf4b64 Don't include private and unnecessary js header files. 2003-06-19 23:13:59 +00:00
alecf%flett.org 5614718dd3 fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org
2003-06-17 16:40:34 +00:00
aaronl%netscape.com 5df2312334 Bug 208460. Remove nsIDOM3Node.idl dependency from nsIDOMNode.idl 2003-06-16 11:17:18 +00:00
caillon%returnzero.com ba75de772b 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 8f112a4226 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
timeless%mozdev.org 2da3e056b0 Bug 207603 nsXULDocument should CallGetService kXMLElementFactoryCID
r=peterv sr=peterv
2003-06-01 14:59:21 +00:00
brendan%mozilla.org 16e3b96ac1 Crash fix: Use the current proto-doc's global object, not the possibly-null window global, when compiling overlay out-of-line scripts (204935, r=ben, sr=jst). 2003-05-30 06:30:27 +00:00
mstoltz%netscape.com c90c1c37c5 Bug 180748 - call CheckLoadURI when loading remote scripts from XUL. r=heikki, sr=brendan 2003-05-29 23:22:21 +00:00
timeless%mozdev.org 173ae8e58e Bug 207336 Should nsXULDocument GetService kHTMLElementFactoryCID like everyone else?
r=bz sr=bz
2003-05-28 22:34:24 +00:00
brendan%mozilla.org 1428c24d49 Share a system global and system principal among all chrome:-loaded prototype documents (204145, r=ben, sr=bryner). 2003-05-24 02:14:23 +00:00
varga%netscape.com 9ef054448d Fixing OS/2 bustage. 2003-05-23 13:04:24 +00:00
varga%netscape.com 1734eec58f Landing bookmarks changes.
Bug 205378 - Meta bug for changes in bookmarks sorting code
r=jag, sr=sspitzer, a=sspitzer,asa

The CloneResource() has been back ported from Firebird, originally
implemented by Pierre Chanial.
2003-05-23 12:03:40 +00:00
brendan%mozilla.org c9f438916f Include primary package locale as well as chrome path in the FastLoad file, so locale-switching invalidates any incompatible file (189870, r=jrgm, sr=ben, a=asa). 2003-05-22 04:09:34 +00:00
dbaron%dbaron.org a15b9f2cf4 Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan 2003-05-15 03:42:21 +00:00
bryner%netscape.com 81f5df7ca4 Bug 159450 - only allow overlays to load from the same origin as the master document. Also, fix non-chrome overlays. Bug 159450, r=mstoltz, sr=ben, a=asa. 2003-05-02 18:15:30 +00:00
varga%netscape.com 0c1154f57d Fix for bug 160140. sort in xul treecol does not use locale sensitive sorting.
r=neil, sr=jag
2003-04-23 06:01:50 +00:00
jst%netscape.com 31af8ab2ca Fixing bug 199399. Eliminating the interfaces nsIXMLDocument now that it's not needed any more. r=peterv@netscape.com, sr=heikki@netscape.com 2003-04-22 21:57:25 +00:00
bzbarsky%mit.edu 342965f108 Move document.lastModified up onto nsIDOMNSDocument; refactor the
RetrieveRelevantHeaders stuff a bit.  Bug 192366, patch by Pratik
<psolanki@netscape.net>, r=bzbarsky, sr=jst
2003-04-19 16:53:44 +00:00
varga%netscape.com b7fab9a9c3 Fix for bug 199178. Bookmarks folder in personal toolbar is empty
r=hyatt, sr=bryner
2003-04-19 08:40:32 +00:00
jst%netscape.com 3ce5ccf835 Fixing bug 111514. In an XHTML document served as application/xhtml+xml, |document| is not an HTML document object, but an XML document object. r=bugmail@sicking.cc, sr=peterv@netscape.com 2003-04-19 00:28:09 +00:00
brendan%mozilla.org 36867f5dc9 Reduce seeks outside the FastLoad file's underlying stream buffer (195010,
r=ben, sr=bryner).

- Pass null scope objects into nsIScriptContext::Compile{EventHandler,Script}
when precompiling for brutal sharing.  The JS engine does not need a non-null
object parameter for static scope.  That parameter can be non-null only if it
helps the compiler "pre-bind" functions to the same scope object that they'll
be parented by when executing, but with brutal sharing, functions are
precompiled once and executed against many different scope objects.

- A problem in XUL FastLoad was that it would serialize master .xul document
out-of-line scripts (those included via script src= from non-overlay, "master"
.xul docs) far from the place in the FastLoad file where XUL prototype script
info was serialized for the <script src=> tag itself.  I fixed that so that,
unless the out-of-line script was previously serialized (by a different src=
reference from another .xul file), the OOL script data immediately follows the
proto-script info in the FastLoad file.

This required adding a SerializeOutOfLine method to nsXULPrototypeScript, which
restores symmetry by matching the existing DeserializeOutOfLine(Script) (note:
I dropped the redundant "Script" from the end of the latter method's name.  We
need SerializeOutOfLine to handle overlay OOL scripts.	They are serialized by
nsXULDocument::OnStreamComplete, because that code knows the difference between
an overlay and a master doc.  This removes all trace of FastLoad writing from
nsXULPrototypeScript::Compile -- FastLoad stuff didn't belong there, not only
because we now want to write master OOL scripts later, when walking the master
XUL prototype doc's element tree, but also for modularity reasons.  The caller
knows about FastLoad, nsXULPrototypeScript::Compile does just what its name
implies.

There are 132 seeks with the patch, only 49 of which dump the underlying file
stream's buffer, vs. 133 seeks without the patch, 87 of which dump the buffer.

- Nit-picked some comments to fit in 80 columns, and made other cosmetic fixes.

- Implicated the nsXULDocument::mIsWritingFastLoad flag from the useXULCache
"is the XUL cache enabled?" flag, so other places that test mIsWritingFastLoad
don't have to query whether the cache is enabled.

- Added METERING synchronous meter-dumping to /tmp/bufstats, only ifdef
DEBUG_brendan, in netwerk/base/src/nsBufferedStreams.cpp.

- Added the deferred seek optimization from the first patch in bug 195010 to
nsFastLoadFile.cpp.

- Fixed nsFastLoadFileReader so it overrides readSegments as well as read.
This catches up with the interface extension made to nsIInputStream to add
readSegments.  The nsFastLoadFileReader extends nsBinaryInputStream, which is
a concrete class, and overrides Read in order to snoop on *all* bytes read.
It does this in order to demultiplex documents interleaved when the FastLoad
file was written.

But since the readSegments move into nsIInputStream.idl, certain primitives
in nsBinaryStream.cpp, e.g., nsBinaryInputStream::ReadCString, have used
ReadSegments, not Read, to consume parts of the underlying stream (to read
the C string's chars, in that example), and the FastLoad file implementation
has not accounted for those bytes.

- Added a new method to nsIFastLoadFileControl and its impls: hasMuxedDocument.
 This is needed when serializing master XUL doc OOL scripts, because we must
not serialize twice, and any OOL script that other XUL docs can include via
script src= could already be in the FastLoad mux.

/be
2003-04-12 01:34:11 +00:00
bryner%netscape.com 4d3b825ffa 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
sfraser%netscape.com d61e2195a4 Fix bug 201257 -- clean up use of nsIControllerCommandManager by editor:
Renaming nsIControllerCommandManager to nsIControllerCommandTable to reduce confusion.
Moving the immutability flag from the nsBaseCommandController to the nsControllerCommandTable.
Renaming the 'refcon' on nsIControllerContext to 'context', and giving nsIControllerContext an Init() method that optionally takes a command table.
Fixing the editor and composer module code to create pre-filled nsIControllerCommandTables as services, and the controller constructors to create singleton command tables with do_GetService.
r=brade, sr=alecf.
2003-04-10 18:44:03 +00:00
heikki%netscape.com ab50b51081 Bug 200382, reduce content's dependencies on webshell, r=adamlock, sr=jst. 2003-04-03 18:57:33 +00:00
alecf%netscape.com 0f990bca7b 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
seawood%netscape.com de59dbee4b Purge XP_PC.
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
rbs%maths.uq.edu.au d3d1c3934f Remove unused code, b=199704, r=peterv, sr=jst 2003-04-02 04:05:36 +00:00
bzbarsky%mit.edu 09fa9aa380 "Backing" changes back in since tree has reopened. 2003-04-02 03:19:50 +00:00
bzbarsky%mit.edu a855c02802 Backing all this out, since tree is closed. 2003-04-02 02:02:10 +00:00
bzbarsky%mit.edu 646f42f2fc Remove some more redundant code -- nsXMLDocument handles this fine. Bug
200071, r=sicking, sr=jst
2003-04-02 01:37:01 +00:00
jst%netscape.com 8f126a887a Removing unused nsresult rv. 2003-04-02 00:09:20 +00:00
jst%netscape.com 14882c9d0c 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
alecf%netscape.com 925955c81d landing attempt #2 for 195262 - support for static atoms, and converting atoms over to UTF8 to reduce bloat - now without performance regressions!
sr=darin, r=dbaron
2003-03-25 18:55:59 +00:00
varga%netscape.com 906bfa1fa3 Landing bookmarks branch. Everything except mozilla/xpfe
Bug 196756 - Meta bug for major architectural changes in bookmarks code
r=jag, sr=bryner
2003-03-25 04:44:31 +00:00
kyle.yuan%sun.com db0d6932fa Bug 197152 AccDoAction failed with menuitem that has command (not oncommand) attribute
r=bryner, sr=jag
move command tag support from individual frames to nsXULElement
2003-03-25 03:15:37 +00:00
alecf%netscape.com 16af458ceb backout my static atom patch for now until I figure out the performance loss! :(
bug 195262
2003-03-21 20:13:08 +00:00
alecf%netscape.com aa169d6a58 augh! how did I miss these files?!
more for bug 195262
2003-03-21 06:52:12 +00:00
alecf%netscape.com c4ea07bc53 fix for bug 195262:
- convert atoms to UTF8 because 99% of the time, that is what they are used for
- add support for static atoms, where the strings are declared in a large const array and not copied into the heap
r=dbaron, sr=darin

this is an experimental landing - if there are performance issues, I will back it out.
2003-03-21 06:26:32 +00:00
bzbarsky%mit.edu d4f92ec6cf Fix crash on having a <xul:listbox> in a plain XML document. Bug 197234,
r=sicking, sr=jst
2003-03-18 21:18:26 +00:00
varga%netscape.com 728e626e5d Fix for bug 196485. Remove duplicate tokenizing method.
r=jag, sr=bryner
- nsTreeUtils::TokenizeProperties is the method used by both tree view implementations
2003-03-17 09:40:13 +00:00
bzbarsky%mit.edu f2b7f6eacc Make all CSSStyleSheets have a useful mDocument so that they can pass change
notifications properly.  Parent sheets are responsible for keeping their kids'
mDocument pointers up-to-date.  Bug 194543, r=dbaron, sr=peterv
2003-03-17 03:44:02 +00:00
varga%netscape.com 64e423f079 Fix for bug 139290. Interaction between windows leads to doubled bookmarks.
r=bryner, sr=jag
- cache the open state of container instead of quering the data source every time
2003-03-16 11:29:02 +00:00
rginda%netscape.com 41d8df3c94 bug 170585, Scriptable streams are broken; r=darinf, sr=dougt
update to readdata caller
2003-03-13 21:24:37 +00:00
jkeiser%netscape.com 3d05e8c57f Fix XBL retargeting for xul elements (bug 194429), r=saari@netscape.com, sr=bryner@netscape.com 2003-03-06 01:01:28 +00:00
peterv%netscape.com b3d575fd9b 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
timeless%mozdev.org feba723857 Bug 133711 Unreachable statement (duplicate return) in nsXULAttribute and nsSVGAttributes (Bugs found via linting....)
patch by riceman+bmo@mail.rit.edu r=timeless sr=bz
2003-03-05 02:35:27 +00:00
sfraser%netscape.com 7d6c58b9b3 Remove a bogus DEBUG_smfr block. r/sr=bryner 2003-03-01 00:56:23 +00:00
kyle.yuan%sun.com c5c0fb381e Bug 193629 accesskey can take effect on a disabled XUL widget
r=aaronl, sr=jag
check "disabled" attribute in the Click() handler
2003-02-27 01:14:07 +00:00
cbiesinger%web.de 26fd1afa1f 190020 r=timeless sr=alecf GetResource should take AUTF8String 2003-02-25 19:02:00 +00:00
cbiesinger%web.de 9d2e36421e 191027 r=bzbarsky sr=dbaron nsXULContentUtils::Init() returning nonsense 2003-02-22 16:40:20 +00:00
dbaron%dbaron.org 754d904cda Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst 2003-02-22 15:34:38 +00:00
varga%netscape.com 71ae7a83ee Fix for bug 192175. in trees, in a treecol with persist="sortActive" doesn't work in appropiate manner
r=varga, sr=jag, patch by afatecha@idea.com.py
2003-02-22 09:16:04 +00:00
bryner%netscape.com cc390fbe51 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
sicking%bigfoot.com 2a5ab8b931 Bug 169036: Fix potential crasher by adding a nullcheck.
r=jrgm sr=jst a=dbaron
2003-02-16 18:08:37 +00:00
dbaron%dbaron.org 62f5d31530 Make observer notification in nsDocument and nsXULDocument happen in the same order (that of nsXULDocument), and make nsXULDocument more resistant to observer removal during notification in an attempt to fix crashes. b=192130 Patch from Boris Zbarsky <bzbarsky@mit.edu>. r=dbaron sr=jst a=asa 2003-02-07 03:15:41 +00:00
dbaron%dbaron.org 93fff4275f Allow new windows to open when we've fallen back to the default theme because of an upgrade by allowing stylesheet loads to fail. b=144027 r=ben sr=dveditz a=asa 2003-02-05 02:07:51 +00:00
bzbarsky%mit.edu e74f70b957 Relanding 189384 since it seems Not Guilty. Still r=sicking/sr=jst/a=asa 2003-01-31 23:21:22 +00:00
bzbarsky%mit.edu 1c21fd05e2 Backing out 189384 to see whether this caused the Tp jump. 2003-01-31 14:28:50 +00:00
bzbarsky%mit.edu b52430703f Make getElementsByTagName(NS) in XUL use content lists (perf, etc). Bug
189384, r=sicking, sr=jst, a=asa
2003-01-31 06:28:14 +00:00
neil%parkwaycc.co.uk 51e5475358 Bug 176370 folder pane performance regression r=varga sr=bienvenu 2003-01-17 14:13:47 +00:00
cbiesinger%web.de 23130b6148 remove ifdef IBMBIDI in content/, r+sr=roc+moz, bug 89203 2003-01-17 12:09:23 +00:00
brendan%mozilla.org 3aee9fc548 Restore missing deserialization call to the XUL content sink's OpenScript method, to avoid slow-loading a .js file already in the FastLoad file from a previous session (188744, r=jrgm, sr=ben). 2003-01-17 10:04:49 +00:00
sicking%bigfoot.com 52976da3d1 Bug 187611: Set the proper Content-Type of XSLT generated documents
r=peterv sr=jst
2003-01-09 15:45:45 +00:00
bryner%netscape.com 26d5c6ff25 Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky. 2003-01-09 06:49:07 +00:00
dbaron%dbaron.org 0b5c7134c9 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
alecf%netscape.com 4f0c406a49 just fix a comment to reference the right variable
comment only, no reviewers
2003-01-07 23:12:37 +00:00
seawood%netscape.com 3f2f9f1998 Removing dos-newlines.
Fixing IRIX tinderbox bustage.
2003-01-06 21:43:09 +00:00
varga%netscape.com 451d7ab6c9 Wallpaper fix for bug 84187.
r=waterson,sr=jag
original patch by waterson
2003-01-06 20:36:50 +00:00
dbaron%fas.harvard.edu 0a31e6afb5 Change my email address from dbaron@fas.harvard.edu to dbaron@dbaron.org. Comment changes only. 2003-01-01 23:53:20 +00:00
seawood%netscape.com 4588fb970a Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt
2002-12-28 01:15:07 +00:00
peterv%netscape.com eef263b19e Fix for bug 183999 (Modernize content). r=caillon, sr=bz. 2002-12-11 14:24:49 +00:00
bzbarsky%mit.edu 5f0d688d44 Use the prototype cache smarter, not harder, for getting sheets. Bug
183859, r=sicking, sr=brendan.
2002-12-11 03:33:40 +00:00
caillon%returnzero.com 2dfcddf813 Bug 177328: Update compareTreePosition to compareDocumentPosition as per the latest DOM3 Core WD: http://www.w3.org/TR/2002/WD-DOM-Level-3-Core-20021022/core.html#Node3-compareDocumentPosition
r=bzbarsky sr=jst
2002-12-04 05:18:39 +00:00
bzbarsky%mit.edu d22acb835e get rid of build warning for unused var. 2002-12-03 06:53:22 +00:00
bzbarsky%mit.edu c815579255 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
peterv%netscape.com 23b10864c8 Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst. 2002-11-29 23:44:07 +00:00
sicking%bigfoot.com 8fa4129fc1 Bug 8929: Kill NS_COMFALSE
r=peterv sr=bz
2002-11-25 11:21:22 +00:00
sicking%bigfoot.com f04a4ebeb7 Bug 181808: Use macros to declare and implement nsIDocumentObserver
r=caillon sr=bz
2002-11-25 08:33:30 +00:00
cmanske%netscape.com 460f4e38f5 Start controller IDs at 1 for InsertController. b=180814, r=brade, sr=sfraser 2002-11-20 11:36:05 +00:00
timeless%mozdev.org adf0c88e29 Bug 180893 nsXULTemplateBuilder::Retract wastes cycles in an XXX writeme loop
r=varga sr=bz
2002-11-20 06:15:54 +00:00
timeless%mozdev.org c306e75366 Bug 180217 nsXULDocument::~nsXULDocument will crash if mDocumentURL is null
r=dbradley sr=brendan
2002-11-19 18:22:36 +00:00
alecf%netscape.com a7b81df6c6 take two at fixing bug 177401 - convert nsIBinaryStream over to using nsAString/nsACString for string values, to speed up fastload
sr=darin, r=dougt
(the previous checkin had a typo which disabled fastload entirely!)
2002-11-14 18:16:31 +00:00
cmanske%netscape.com ca1d8bc561 Command Controller refactoring and cleanup, mostly by mjudge with help by cmanske, b=170353, r=brade, sr=sfraser. EditingSession cleanup and new commands in \editor, b=174439, r=mjudge, sr=sfraser 2002-11-12 23:03:27 +00:00
alecf%netscape.com 50a35c0245 argh, back out my last checkin because Ts went UP not down! 2002-11-09 01:31:32 +00:00
bryner%netscape.com 7b5407b246 Add a second pass of event processing for system events, using DOM3 event group functionality. Bug 124990. Patch by joki, r=saari and bryner, sr=jst. 2002-11-09 00:25:25 +00:00
alecf%netscape.com e8fa3e1225 fix for bug 177401 - use nsAString& classes instead of wstring in nsIBinaryInputStream, to speed up fastload startup
sr=darin, r=dougt
2002-11-08 23:30:53 +00:00
timeless%mozdev.org 99767946b5 Bug 178972 trivial code changes to nsXULElement.cpp
r=brendan sr=kin
2002-11-08 04:28:04 +00:00
timeless%mozdev.org 65ca9fab82 Bug 177772 crash [@JS_GetPrivate] serializing script with syntax error
r=brendan sr=ben
2002-11-07 22:46:38 +00:00
rpotts%netscape.com bc5ef397cc bug #174404 (r=adam, sr=jst) Support the optional FOR and EVENT attributes on the SCRIPT tag 2002-11-07 05:17:21 +00:00
varga%netscape.com d4f58705b9 Fix for bug 162542. Quick Search bar for Bookmarks Manager
r=timeless, sr=jag
2002-11-06 12:07:38 +00:00
aaronl%netscape.com 92ca2c9a3f Bug 173350. nsIDOMTreeWalker crashes with XUL documents -- this implements some of the unimplemented methods in nsXULDocument. r=jst, sr=bzbarsky 2002-11-06 02:30:38 +00:00
varga%netscape.com 6f3bb5cc46 Fix for bug 134824. Column Sorting in the Download Manager has no effect.
r=neil, sr=jag, a=asa
2002-10-22 19:49:29 +00:00
seawood%netscape.com d1bef3cbe0 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
varga%netscape.com 1faef2d870 Fixing a typo.
bug 26429.
2002-10-09 21:02:52 +00:00
timeless%mac.com e29aaed3b0 Bug 173299 change getControlleryById to getControllerById in nsIControllersInterface
r=cmanske sr=kin
2002-10-08 18:25:57 +00:00
hyatt%netscape.com 21f43723b7 Fix for 172545, give datasources the ability to specify icons for XUL trees, r=varga, sr=jag 2002-10-04 08:26:36 +00:00
blakeross%telocity.com b6d5d5760a 171460 - add parsetype attribute. r=hyatt sr=hewitt 2002-09-29 21:08:27 +00:00