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

1615 Коммитов

Автор SHA1 Сообщение Дата
neil%parkwaycc.co.uk 44cffa15b1 Bug 209911 XUL tree blob sort ignores sort direction r=varga sr=jag 2003-06-25 08:46:31 +00:00
caillon%returnzero.com fd98991136 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 938220298d 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 8d87ec2250 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 16ff7adf5e Backing the rest of this out to see whether it affects Tp. 2003-06-22 03:33:33 +00:00
bzbarsky%mit.edu 1ba227c7d1 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 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
caillon%returnzero.com 4cc64cee34 Bug 209852. Remove |dont_QueryInterface|.
r=dbaron, sr=jag
2003-06-21 00:15:41 +00:00
brendan%mozilla.org 555de8f52e 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 4afcaa0e69 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 e66f3155de Don't include private and unnecessary js header files. 2003-06-19 23:13:59 +00:00
alecf%flett.org b7fa256d74 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 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
timeless%mozdev.org 4d465226f7 Bug 207603 nsXULDocument should CallGetService kXMLElementFactoryCID
r=peterv sr=peterv
2003-06-01 14:59:21 +00:00
brendan%mozilla.org eec1202138 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 5cf6b5c420 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 83f2065eab Bug 207336 Should nsXULDocument GetService kHTMLElementFactoryCID like everyone else?
r=bz sr=bz
2003-05-28 22:34:24 +00:00
brendan%mozilla.org b97f6a85da 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 61a6cd0fb0 Fixing OS/2 bustage. 2003-05-23 13:04:24 +00:00
varga%netscape.com 717feaab4a 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 961716913a 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 75ff60c62f 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 c0274671dc 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 03791fb613 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 8f24979ea4 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 de68c0523a 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 06de0c92a9 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 f1b9b87862 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 e81a02eeb2 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 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
sfraser%netscape.com abe53e192f 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 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
seawood%netscape.com 80e1b303cc Purge XP_PC.
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
rbs%maths.uq.edu.au c6058a5ff9 Remove unused code, b=199704, r=peterv, sr=jst 2003-04-02 04:05:36 +00:00
bzbarsky%mit.edu ce3a0d97fb "Backing" changes back in since tree has reopened. 2003-04-02 03:19:50 +00:00
bzbarsky%mit.edu 429e0e4ded Backing all this out, since tree is closed. 2003-04-02 02:02:10 +00:00
bzbarsky%mit.edu 996f069a78 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 a1432acf07 Removing unused nsresult rv. 2003-04-02 00:09:20 +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
alecf%netscape.com 8c50d0242a 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 a8670013de 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 9c0b9d7fec 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 b6584a77fb 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 be937c3d3c augh! how did I miss these files?!
more for bug 195262
2003-03-21 06:52:12 +00:00
alecf%netscape.com ecf24a2b78 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 596066a1d9 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 794924246b 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