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

1877 Коммитов

Автор SHA1 Сообщение Дата
caillon%returnzero.com 91b7c60bee 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 47183725c7 Remove unused content quality stubs. b=111346 r+sr=bzbarsky 2003-07-22 18:38:08 +00:00
varga%utcru.sk fbd78f9fd1 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 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
chanial%noos.fr 316f244de3 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 817298ce0b 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 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
varga%netscape.com 8334a1dd99 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 3cd2cbee70 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 0b0c3f7646 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 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
bzbarsky%mit.edu 9161a95441 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 38a22efa6b 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 2b3526ff2e 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 5822d98fd0 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 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
timeless%mozdev.org 51b1da374a 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 9a6ff99344 Remove a bogus DEBUG_smfr block. r/sr=bryner 2003-03-01 00:56:23 +00:00
kyle.yuan%sun.com 023d19a536 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 9405eda256 190020 r=timeless sr=alecf GetResource should take AUTF8String 2003-02-25 19:02:00 +00:00
cbiesinger%web.de 5c60c82c78 191027 r=bzbarsky sr=dbaron nsXULContentUtils::Init() returning nonsense 2003-02-22 16:40:20 +00:00
dbaron%dbaron.org 6dd68f3c64 Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst 2003-02-22 15:34:38 +00:00
varga%netscape.com f31e17521a 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 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
sicking%bigfoot.com 3ea21f2ffc 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 e6b505fb3d 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 f91907b731 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 593090f503 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 0ec80cf1ba Backing out 189384 to see whether this caused the Tp jump. 2003-01-31 14:28:50 +00:00
bzbarsky%mit.edu 0a5dfa0dba 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 4837a0fde9 Bug 176370 folder pane performance regression r=varga sr=bienvenu 2003-01-17 14:13:47 +00:00
cbiesinger%web.de b7a5577747 remove ifdef IBMBIDI in content/, r+sr=roc+moz, bug 89203 2003-01-17 12:09:23 +00:00
brendan%mozilla.org b11fb7ca9d 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 c75bd1b336 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 7f0488eb18 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 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
alecf%netscape.com eb68c35cd9 just fix a comment to reference the right variable
comment only, no reviewers
2003-01-07 23:12:37 +00:00
seawood%netscape.com 67ec8e4d79 Removing dos-newlines.
Fixing IRIX tinderbox bustage.
2003-01-06 21:43:09 +00:00
varga%netscape.com 47b8a34f6a 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 a34c46af22 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 d5efcdfb6d 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 d96051a4a2 Fix for bug 183999 (Modernize content). r=caillon, sr=bz. 2002-12-11 14:24:49 +00:00
bzbarsky%mit.edu a4d94e3627 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 02dff0ba15 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 67bcecbb48 get rid of build warning for unused var. 2002-12-03 06:53:22 +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
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 8d87d5e285 Bug 8929: Kill NS_COMFALSE
r=peterv sr=bz
2002-11-25 11:21:22 +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
cmanske%netscape.com 70a7efaddd Start controller IDs at 1 for InsertController. b=180814, r=brade, sr=sfraser 2002-11-20 11:36:05 +00:00
timeless%mozdev.org 7a96034a49 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 12e2ba7d07 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 df10f648b8 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 722881b278 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 0a48c10053 argh, back out my last checkin because Ts went UP not down! 2002-11-09 01:31:32 +00:00
bryner%netscape.com 8beac694e3 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 4721428275 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 1850721eb5 Bug 178972 trivial code changes to nsXULElement.cpp
r=brendan sr=kin
2002-11-08 04:28:04 +00:00
timeless%mozdev.org 5a93974314 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 6a2d2e0134 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 6a8aae7f71 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 c07ae571e9 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 806c8a51d3 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 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
varga%netscape.com 7f662f3124 Fixing a typo.
bug 26429.
2002-10-09 21:02:52 +00:00
timeless%mac.com 5a9229daea Bug 173299 change getControlleryById to getControllerById in nsIControllersInterface
r=cmanske sr=kin
2002-10-08 18:25:57 +00:00
hyatt%netscape.com 20a66be47e 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 693921e302 171460 - add parsetype attribute. r=hyatt sr=hewitt 2002-09-29 21:08:27 +00:00
varga%netscape.com 792c37b64b Fixing Ts regression.
r=peterv
2002-09-25 12:26:44 +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
hyatt%netscape.com 667c0366cf Enable add-on chrome packages to ne disabled without being uninstalled. Bug 170432, r=blake, sr=brendan 2002-09-24 02:07:20 +00:00
alecf%netscape.com b15e45e72d re-fix bug 166147 - autoinitialize mRefCnt to 0 for more efficient constructors
r=dougt, sr=jag, this time including some CSS stuff that has 31-bit refcounts.
2002-09-17 04:49:28 +00:00
alecf%netscape.com 7c03517f4d backing out my fix to 166147 to see if it fixes orange 2002-09-16 23:48:12 +00:00
alecf%netscape.com 5af36705e8 fix for bug 166147 - autoinitialize mRefCnt to 0 by using a wrapper class, a la Don Box
also clean up consumers which were using postfix decrement
r=dougt, sr=jag
2002-09-16 20:59:52 +00:00
jst%netscape.com 1d068ce04e Fixing bug 168096. Fix leak in nsXULDocument::GetFocusController(). r=sicking@bigfoot.com, sr=bzbarsky@mit.edu 2002-09-13 23:12:20 +00:00
jst%netscape.com ee8ed3b2e1 De-tabifying. Die tabs, die! :-) 2002-09-13 23:10:58 +00:00
hyatt%netscape.com fec7cccf7a Fix for 168352, getElementByID assertions, r/sr=bryner,brendan 2002-09-12 23:13:14 +00:00
brade%netscape.com 12c6df67d8 fix api for JS usage (bug 157097, r=cmanske, sr=sfraser) 2002-09-12 19:10:32 +00:00
hyatt%netscape.com b815570db2 A collection of broadcaster fixes. Make sure observes are unhooked when removed from the doc. ALso suppress notifications on hookup, since they result in double frame construction. Bug 167445. r/sr=ben/bryner 2002-09-12 04:40:22 +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
bryner%netscape.com 11659c8e1c Bug 141295 and 153681 - fix some timing problems with initial focus. Make sure that window watcher's activeWindow accurately reflects the last window to receive an NS_ACTIVATE. Remove the GetFocusController API from nsIDocument, since the focus controller can now be obtained for the entire lifetime of the document by using GetContainer(). Cleaned up some methods on nsEventStateManager/nsIEventStateManager that were virtual for no reason. r=danm, sr=jst. 2002-09-06 00:19:58 +00:00
sicking%bigfoot.com 3dcee9b795 Bug 159314: Fastload is wasteful wrt nodenames. Instead of serializing nodename+namespaceURI for each element/attribute, serialize a table of all nodename+namespaces used by a document and then serialize pointers into that.
r=jst sr=hyatt
2002-09-03 22:31:38 +00:00
jkeiser%netscape.com 32844f7719 Make anonymous content inaccessible to web content (bug 164086), r=sicking@bigfoot.com, sr=jst@netscape.com 2002-08-29 04:05:39 +00:00
bbaetz%student.usyd.edu.au e1742b6500 Backing out jkeiser's checkin for bug 164086 (not bug 96537) because he
left a file out, and the tree turned red....
2002-08-28 10:13:28 +00:00
jkeiser%netscape.com 8aa6968431 Make anonymous content inaccessible to web content (bug 96537), r=sicking@bigfoot.com, sr=jst@netscape.com 2002-08-28 08:19:43 +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
bryner%netscape.com 025fb3a058 Get rid of gcc3's numerous warnings about using <new.h> instead of <new> by creating a new #define, NEW_H, which should be used instead of <new.h> or <new>. This is so we can continue to support a couple of braindead compilers that don't accept <new>. Bug 155852, r=cls. 2002-08-19 03:50:27 +00:00
caillon%returnzero.com cbbdd9ee40 119044 - Prevent a crash when trying to append/insert the current element or one of its ancestors into itself. Throw the correct exception in this case per the DOM spec.
Thanks to Neil Deakin <ndeakin@sympatico.ca> for pinpointing this and providing a patch.
r=bryner/caillon sr=jst
2002-08-17 01:43:07 +00:00
alecf%netscape.com f34730c3ac fix off-by-one error from bug 162947, found by rbs@maths.uq.edu.au
(no functional change, just prevents assertion)
2002-08-16 21:47:12 +00:00
dbaron%fas.harvard.edu d4cc4f7061 Handle style attribute changes in XUL through the normal style change mechanism rather than forcing a reframe. Change nsIStyledContent::WalkInlineStyleRules to nsIStyledContent::GetInlineStyleRule to simplify nsCSSFrameConstructor::AttributeChanged. b=156971 sr=hyatt r=bzbarsky 2002-08-16 11:29:20 +00:00
alecf%netscape.com fa6fe66780 fix bug 162947 - small leak in nsXULDocument
sr=jst, r=timeless
2002-08-16 01:04:40 +00:00
caillon%returnzero.com 0b39911bf1 155794 Make nsXULElement::SetPersist() do the right thing.
Patch by ndeakin@sympatico.ca
r=jrgm sr=blake
2002-08-15 08:41:36 +00:00
heikki%netscape.com aada8cb19a Fix OS/2 bustage - const should not be here. 2002-08-13 23:57:36 +00:00
heikki%netscape.com 3c4832e229 Bug 63558, we now store XML declaration in the document and can serialize it. There is fix for 158617 as well, newlines behave properly around doctype. r=bzbarsky, sr=jst. 2002-08-13 18:41:16 +00:00
seawood%netscape.com 322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
seawood%netscape.com 301b1a4ca8 Remove unused defines:
_IMPL_NS_HTML
_IMPL_NS_RDF
_IMPL_NS_WEB
USE_NSREG

Patches for removing above defines contributed by Stephen Walker <walk84@yahoo.com>.
Bug #125118 r=cls sr=bryner
Bug #160397 r=cls sr=bryner
Bug #160628 r=cls
Bug #160451 r=cls sr=bryner

_IMPL_NS_VIEW

Patches for removing above define contributed by Brian Ryner <bryner@netscape.com>
Bug #160416 r=cls
2002-08-07 06:08:00 +00:00
dbaron%fas.harvard.edu b4de133022 Propagate |aNotify| parameter through XBL to attribute changes of XBL-inherited attributes. b=156547 sr=hyatt r=bryner 2002-08-06 13:39:22 +00:00
sicking%bigfoot.com 39c966dd38 Use principals instead of URIs for same-origin checks.
b=159348, r=bz, sr=jst, a=asa
2002-07-30 21:26:32 +00:00
alecf%netscape.com e9e1a39573 fix for bug 157572 - remove nsIAtom references from strings, and thus expicitly #include nsIAtom.h for consumers who are expecting it.
r=dmose, sr=jag, a=asa
2002-07-25 18:31:10 +00:00
alecf%netscape.com 47b3f07056 more prep for bug 119923 - use chrome registry ContractID rather than CID, so that we can drop in a new embedding-only chrome registry
r=bnesse, sr=dveditz, a=asa
2002-07-23 23:30:04 +00:00
sicking%bigfoot.com a51a99a196 Make sure it is possible to get URI of xul elements even if they share nodeinfo with their prototype and are removed from the document tree.
b=156452 r=bz sr=jst a=asa
2002-07-23 22:16:45 +00:00
timeless%mac.com 975a3e12c6 Bug 158202 crash opening venkman and closing navigator [@nsXULElement::GetOwnerDocument]
patch by sicking@bigfoot.com r=bz sr=jst a=scc checkin authorized by scc
2002-07-19 17:03:03 +00:00
sicking%bigfoot.com c2e51f12c5 Reenable same-origin checks. Patch by me and jst.
b=156452 r=peterv/sicking/jst sr=bz/jst a=chofmann
2002-07-18 05:53:28 +00:00
sicking%bigfoot.com 17bc6e66e4 Add same-origin checks in a few DOM methods. Patch by me and jst.
b=156452, r=jst/me, sr=bz, a=pending
2002-07-16 13:09:15 +00:00
mjudge%netscape.com 47e8fbc7bf r=akkana sr=sfrasier 125146 a=asa This patch will make the embedding API's a better friend to all. It eliminates the use of multibyte strings in command names and also allows for simple command to not require the nsICommandParams interface to be filled. 2002-07-15 22:04:13 +00:00
sicking%bigfoot.com e19f713214 Add sameorigin checks to treewalker
b=156452, r=mstoltz, sr=jst, a=chofmann
2002-07-15 19:25:27 +00:00
jst%netscape.com e6ddef4fe9 Fixing security bug 134315. Make sure we clear the JS scope in cases where it's needed. r=mstoltz@netscape.com, sr=brendan@mozilla.org 2002-07-09 03:23:56 +00:00
waterson%netscape.com 9e904c1573 Bug 132905. Wallpaper to avoid crash when we can't find a match. r=rjc, sr=alecf. 2002-07-03 16:59:29 +00:00
seawood%netscape.com 03ace271f0 Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
Bug 149032 r=timeless sr=scc
2002-07-02 20:25:30 +00:00
dbaron%fas.harvard.edu 6d2263f19b Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner 2002-06-26 03:38:55 +00:00
dbaron%fas.harvard.edu e63a11c0e8 Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson 2002-06-25 21:16:17 +00:00
varga%utcru.sk 6671a0756a Fix for bug 127842 - Reload the Bookmark and History tab context menu in
sidebar crashes mozilla
r=bryner, sr=shaver
2002-06-21 12:18:48 +00:00
dbaron%fas.harvard.edu 32d8cc878c XUL fastload shouldn't call ParseStyleAttribute when there is no style attribute. b=151262 r=waterson sr=brendan 2002-06-13 22:14:36 +00:00
ben%netscape.com fa148fdef3 Fix for topcrashers bug 143118 and bug 146891 - prevent continued deserialization after a a deserialization failure of the XUL PD by aborting on failure, also, ensure that that propagates up so we can catch it. Fix an oops (trying to remove the fasl file before closing the stream to it) and hack around a nsLocalFileWin bug (bug 150156) in the process. r=waterson, sr=brendan, a=asa 2002-06-09 10:31:00 +00:00
alecf%netscape.com bcf192e308 fix for bug 101761 - REQUIRES update - remove all REQUIRES that are no longer necessary.. r=cls, a=asa (build-only changes) 2002-06-06 20:28:14 +00:00
timeless%mac.com c3741ef7d1 Bug 144763 tolerate do_QueryReferent() returning null [@nsXULPrototypeScript::Compile]
r=harishd sr=jst
2002-06-03 19:17:46 +00:00
dbaron%fas.harvard.edu 8d231a5fae Ensure that the quirks stylesheet is enabled/disabled before we start creating frames so that we don't have to build the rule cascade twice. Remove old compatibility mode pref that only controlled a small part of what it should have. b=141261 sr=waterson r=jst 2002-05-23 23:09:31 +00:00
harishd%netscape.com 1e4585c9ba Ensuring complete consumption of DOCTYPE content. b=142625, r=heikki, sr=jst 2002-05-22 00:46:16 +00:00
dbaron%fas.harvard.edu d2188e6086 Move implementation of HTML label element entirely into the content model so that it can have any display type: implement the event-munging and accesskey support in nsHTMLLabelElement. For the latter, share some code with nsHTMLAnchorElement and remove extra parameter from nsIEventStateManager access key methods. b=96813 r=jkeiser sr=jst 2002-05-22 00:14:51 +00:00
jst%netscape.com 262f28f900 Fixing bug 134278. Die kNameSpaceID_HTML, die! r=sicking@bigfoot.com, sr=heikki@netscape.com 2002-05-20 22:47:02 +00:00
jst%netscape.com c68cadcb79 Fixing bug 131841. Don't make calls on weak XPCOM (nsIPresShell in this case) pointers since the objects might go away during the call, this lead to a crash in this particular case. r=sicking@bigfoot.com, sr=vidur@netscape.com, brendan@mozilla.org 2002-05-18 00:02:50 +00:00
varga%utcru.sk 0cc2ec0655 Fix for bug 142404 - nsXULTreeBuilder::Drop should enable drop if canDropBeforeAfter is true
r=varga, sr=hewitt
2002-05-15 19:51:08 +00:00
dougt%netscape.com c683a217ab Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
caillon%returnzero.com ddd3d5d711 Initial implementation of DOM Level 3 Core methods Node.compareTreePosition() and Node.isSameNode(), Bug 139344, r=jkeiser, sr=jst 2002-05-14 01:28:17 +00:00
timeless%mac.com ed1ec0e54d Bug 142853 disabling XUL cache causes assertions, eats ram
honor pref: nglayout.debug.disable_xul_cache
this fixes the assertion
r=waterson sr=alecf
2002-05-14 01:15:27 +00:00
hewitt%netscape.com 804cbe3128 129980 - crash right clicking while loading page, r=peterl, sr=ben 2002-05-09 01:43:18 +00:00
waterson%netscape.com bb36eb4d2b Bug 132905. Tweak CreateTemplatecontents slightly to help isolate a topcrash. r=rjc, sr=alecf 2002-05-08 18:50:41 +00:00
darin%netscape.com 6fd5862e6e fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf
2002-05-07 23:07:19 +00:00
ben%netscape.com 399e766e81 bug 142165, crash and fasl file invalidation when loading non-chrome XUL files.
Ensure that we only poke the chrome cache for prototype documents that are chrome
URIs. Also, ensure that we only cache the fasl'ed prototype when it was read
without hiccup.
r=blake, sr=brendan.
2002-05-07 01:29:44 +00:00
mkaply%us.ibm.com c355d8c308 OS/2 bustage 2002-05-05 03:26:52 +00:00
mkaply%us.ibm.com dd81682347 OS/2 bustage - its either remove PR_CALLBACK or add it to the header. I don't have an OS/2 machine since I am in San Antonio where my new son was born. See http://www.kaply.com 2002-05-04 18:49:30 +00:00
bryner%netscape.com 7801134817 Make the XUL cache lock gc'ing of script objects while they are in the cache, to prevent pulling out a bogus JSObject. Bug 132216, r=waterson, sr=brendan. 2002-05-04 09:15:04 +00:00
ben%netscape.com 4d1250c271 Forgot to mention that all prior checkins were for bug 112064 :-) 2002-05-03 03:10:23 +00:00
ben%netscape.com a67d1f4b6f [Chrome FastLoad]
Implement XUL Prototype Document and Prototype Element serialization/deserialization scheme for FastLoad of chrome documents.
r=brendan, sr=hyatt
2002-05-03 03:04:34 +00:00
shaver%mozilla.org 32e2ad6d6b Fix Forte bustage resulting from fix for 124335 (private, unused |operator new|
not returning a value).  Trading for warnings on gcc, which would really
rather have me throw an exception.
2002-04-30 12:44:49 +00:00
shaver%mozilla.org f4d99037e1 Use an nsFixedSizeAllocator to legalize the bit-packing's assumption that
all nsXULAttributes pointers will be 8-byte aligned.  Bug 124335, r=brendan,
sr=waterson.
2002-04-29 21:28:29 +00:00
alecf%netscape.com 9348ce8ac8 fix bug 139633 - as a part of freezing nsAString, move Left/Right/Mid back into nsString, and fix consumers to start using Substring()
r=jag, sr=darin
2002-04-29 20:29:54 +00:00
darin%netscape.com e554d83626 fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
jst%netscape.com d2298f34f2 Fixing bugs 138138 and 138663. Making boxobjects clear their presentation related data when a XUL document is hidden. r=jkeiser@netscape.com, sr=rpotts@netscape.com 2002-04-22 23:48:14 +00:00
jaggernaut%netscape.com 7e4e14d8c5 Backing out joki's checkin for bug 124990 (at his request) since this breaks some stuff on linux. 2002-04-20 01:48:32 +00:00
joki%netscape.com bdfd051dfb Fix for bug 124990, Add additional processing loop for DOM event listeners to allow browser level handlers to be fired after content based listeners. r:saari, sr:jst
Browser based listeners can now registers themselves using the AddGroupedEventListener and passing the system event group (which can be gotten via the nsIDOMEventReceiver interface).  These listeners will now fire after all content based listeners have processed.
In this initial version of the checkin most browser listeners are still left in the original content group for stability purposes.
2002-04-19 02:52:01 +00:00
pinkerton%netscape.com 51e2faee6d removing nsControllerCommandManager. r=ccarlen/sr=sfraser. bug# 137647. 2002-04-18 22:09:52 +00:00
jst%netscape.com ea45ab47a7 Fixing crasher bug 138138. Clear the box object table in xul documents when a xul document is hidden since the box object table may contain references to non-refcounted frames that will be destroyed when the document is hidden. r=jkeiser@netscape.com, sr=heikki@netscape.com 2002-04-18 19:50:31 +00:00
jst%netscape.com cd9afd67e1 Checking in the fix for bug 52334 for the third time. This time it should stick! Making iframe's load their document even if they're not displayed. r=jkeiser@netscape.com, sr=rpotts@netscape.com. 2002-04-17 04:17:16 +00:00
dougt%netscape.com ccf4243cd6 fix mac build bustage 2002-04-16 01:25:24 +00:00
dougt%netscape.com 4c7faccac7 removing #error to fix build bustage 2002-04-15 23:57:42 +00:00
dougt%netscape.com f4cf458eb8 Use flat strings when constructing string keys. This fixes a few high volume string key constructors. See 135781. r=dp@netscape.com, sr=darin@netscape.com 2002-04-15 22:39:43 +00:00
alecf%netscape.com c86e3e23b8 fix bustage by switching from nsIChromeRegistry to nsIXULChromeRegistry 2002-04-12 02:42:13 +00:00
dbaron%fas.harvard.edu 07103ecbea Fix up and enable hierarchical :hover and remove the hacks that made :hover work for anchors without it. Pass mask rather than pseudo-class to ContentStatesChanged notifications. Optimize event state changes in the style system by passing state mask to HasStateDependentStyle and using it in HasStateDependentStyle implementations. b=5693 r=bryner, joki sr=hyatt 2002-04-11 03:49:30 +00:00
peterv%netscape.com 083b5b8143 Fix for bug 34849 (dynamically added STYLE element doesn't alter style). r=sicking, sr=jst, a=roc+moz, adt=jaimejr. 2002-04-05 11:29:40 +00:00
hyatt%netscape.com 08d1853958 Fix for 99344, inline styles not being recognized under certain DHTML circumstances. r=dbaron, sr=waterson, a=asa 2002-04-05 08:05:33 +00:00
timeless%mac.com a84a7e233f http://bonsai.mozilla.org/cvsquery.cgi?module=SeaMonkeyAll&branch=HEAD&cvsroot=/cvsroot&date=explicit&mindate=1017959940&maxdate=1017960540&who=jst%25netscape.com&generateBackoutCVSCommands=1
Backing out the fix for bug 52334

approved by sheriff (karnaze) and cathleen
2002-04-05 05:42:10 +00:00
jst%netscape.com bf7702387e Checking in the fix for bug 52334 again now that the linux crash and the scrollwheel crash has been fixed. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org 2002-04-04 22:42:19 +00:00
jst%netscape.com 020632bdc1 Backing out latest checkins due to them not working on linux and other unix systems with broken compilers. 2002-04-04 07:31:16 +00:00
jst%netscape.com aa9f71957d Fixing bug 52334. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org 2002-04-04 02:09:19 +00:00
jdunn%netscape.com ec18a46eda fixing 64bit'ism found on AIX
r=Roland.Mainz@informatik.med.uni-giessen.de
sr=brendan@mozilla.org
a=roc@mozilla.org
# 133801
2002-04-01 20:54:30 +00:00
jkeiser%netscape.com e95bf883e6 Move save/restore form control state to content (bug 108309). r=rods@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org 2002-03-31 10:14:01 +00:00
jkeiser%netscape.com 31e41094ef Backing out 108308 due to pageload spike 2002-03-29 07:35:09 +00:00
jkeiser%netscape.com 39fe8af27c Move save/restore of form controls to content (bug 108309) (r=rods@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org) 2002-03-29 05:35:47 +00:00
hewitt%netscape.com 0bd9ddf1cf fixing btek bustage 2002-03-29 03:49:56 +00:00
hewitt%netscape.com d38a0937d9 bugs 110156, 110155
Removing support for <outliner> tags
Removing <tree> layout code and moving <tree> tags to outliner layout
Convert all usage of <outliner> to tree tags
Convert all usage of <tree> tags to new <tree> syntax or <listbox>
r=cmanske,varga sr=hyatt,sspitzer a=asa

Also includes fixes by Jan Varga (varga@utcruk.sk) for bugs 132020, 133451, 131393, 115894, and 129327
2002-03-29 02:46:01 +00:00
bryner%netscape.com 2ebd0f2677 Fixing mac bustage - updating the project file, also getting rid of these source files that I meant to remove. 2002-03-27 09:13:28 +00:00
bryner%netscape.com 653df3043e Revert to using an attribute for menuactive (bug 133610). r=ben/jkeiser, sr=jst, a=asa. 2002-03-27 07:01:26 +00:00
bryner%netscape.com f9924338ba Fixing crash in navigating context menu, caused by my checkin for bug 130778. r=pavlov, sr=scc, a=asa. 2002-03-25 05:30:50 +00:00
bryner%netscape.com 54e3bd6266 Second try at fixing bug 130778. Create a new content interface, nsIMenuElement, which is implemeneted on nsHTMLSelectElement, nsHTMLOptGroupElement, and the newly-created nsXULMenuElement. Create a nsXULMenuElement instance for XUL menubar and menupopup tags. Use this interface to set and get the active item from the XUL menuframe code and the :-moz-menuactive pseudoclass matching code. Should eliminate the Txul slowdown resulting from fetching the active item through js from the pseudoclass matching code. r=jkeiser, sr=jst, a=scc. 2002-03-24 22:38:21 +00:00
dbaron%fas.harvard.edu a4acc9eb7b Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 22:46:13 +00:00
darin%netscape.com 9fbd1028d6 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa 2002-03-20 22:50:33 +00:00
alecf%netscape.com 451df7d6c3 a further nsString api reduction: remove the last case-insensitive PRUnichar*-to-PRUnichar* comparisons, moving to new API, and remove old methods from nsString. r=dougt, sr=jag a=scc 2002-03-19 06:46:56 +00:00
timeless%mac.com dec943eb10 Bug 106386 rid source of misspellings
r=db48x sr=blake a=asa
2002-03-19 04:30:17 +00:00
hyatt%netscape.com 5deeb90b2d Landng boomar groups. 119599 r ben sr jag a asa 2002-03-19 00:45:04 +00:00
rbs%maths.uq.edu.au 8f6916c2d9 perf bug 124570 - configure mathml.css as a catalog stylesheet that is loaded on demand rather than at startup, r=harishd, sr=jst, a=asa 2002-03-15 09:45:31 +00:00
ben%netscape.com 830cc28946 Fix for 128815 - numerous bookmarks improvements, including fixes for bugs: 77411, 114142, 126748, 128571.
- update outliner builder to expose "Sort" method publicly.
r=blake, sr=hyatt, a=asa
2002-03-12 22:45:05 +00:00
heikki%netscape.com bf57164cba Bug 129608, moving XML parsererror into its own namespace along with the CSS rules so it won't mess up with web pages using parsererror and sourcetext tags. Clean up the content tree before parser error. Also removing dead files. r=harishd, sr=jst, a=roc+moz@cs.cmu.edu. 2002-03-12 22:17:18 +00:00
darin%netscape.com 281c86ec58 b=99165 Freeze nsIInputStream nsIOutputStream (not yet frozen... but close)
r=dougt sr=shaver a=asa
2002-03-12 00:59:06 +00:00
bryner%netscape.com d2229cbf68 - Implement the :checked CSS pseudoclass which maps to the "selected" property on option elements.
- Eliminate the _moz-option-selected attribute; move the actual selected state into the option content node.
- Change all users of _moz-option-selected to use :checked.
- Add a third parameter to nsIDocument[Observer]::ContentStatesChanged to indicate which pseudoclass changed, this is used for optimizing handling of :checked state changes.

Bug 128947, r=dbaron, sr=jst, a=asa.
2002-03-07 03:34:29 +00:00
darin%netscape.com f1a6738b6c fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
cmanske%netscape.com 29f03e2eb6 Check for null mDocument in nsXULElement::DispatchEvent 2002-02-28 01:47:40 +00:00
jaggernaut%netscape.com 33fb0161db Bug 959: add support for accesskeys to XUL. r=hewitt, r=attinasi for changes to layout/html, sr=hyatt, a=asa 2002-02-21 13:39:39 +00:00
hidday%geocities.com 2356de3a72 Bug 93649, document.plugins should map to document.embeds for NS4
compatibility. r=bzbarsky@mit.edu sr=jst@netscape.com a=roc+moz
2002-02-21 12:21:15 +00:00
hewitt%netscape.com 6f7fb6a9c6 missed requires on unix 2002-02-20 04:01:36 +00:00
hewitt%netscape.com 5c354e81e6 68136 - Mozilla should have a Full-screen mode, r=ben, sr=jst/jag 2002-02-20 03:33:52 +00:00
alecf%netscape.com 66e767c7b8 one part of fix for bug 107575 - clean up consumers of nsString::EqualsIgnoreCase and nsString::EqualsWithConversion, to be explicit about case-insensitive compares
r=timeless sr=jag
2002-02-19 22:49:12 +00:00
rginda%netscape.com f595b2475a bug 123118, insert overlay elements with no id into the root of the target document.
sr=brendan, r=jst
2002-02-18 05:39:48 +00:00
rginda%netscape.com 2f3548d18a bug 123118, getElementsByTagName("script") doesn't work for XUL windows
sr=hyatt, r=jst
insert a nsXULPrototypeElement before the nsXULPrototypeScript in the proto-docu
ment, so that we can get to it in the final content model.
2002-02-14 00:40:55 +00:00
alecf%netscape.com 4f4d815566 progress towards fixing 123041 - stop making copies of entities names and values as we retrieve them out of various entity tables
also, a few uses of NS_LITERAL_STRING, removal of long-since-unused nsHTMLContentSinkStream
r/sr=sfraser, sr=jag, r=harishd
2002-02-12 21:17:53 +00:00
bzbarsky%mit.edu 97aad157b6 Relanding the Compare --> Equals conversion. a=mcafee 2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu 7fbffdf125 Testing performance impact of backout of part of patch from bug 115289.
See bug 123947 for details.
2002-02-09 16:10:51 +00:00
jst%netscape.com 610f2ffdc4 Removing a nasty shortcut that I left in when fixing bug 116834. r=rginda@netscape.com, sr=blaker@netscape.com 2002-02-09 02:48:31 +00:00
bzbarsky%mit.edu 40d60f39ec Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag
2002-02-05 02:03:07 +00:00
alecf%netscape.com 96f52c5988 more dependency updates 2002-02-02 21:29:01 +00:00
mjudge%netscape.com 726b5e82c1 115922 embedding work. no changes should be observed in current product this will only affect the embedded effort. This moves the command handler stuff from content xul to embedding/components/commandhandler. a=judd r=saari built on mac/windows/gmake with this we will be able to finish removing editorshell from the app and have a true embedded editor.akkana will pick this up after me and finish the embedding work. 2002-02-02 05:13:56 +00:00
jaggernaut%netscape.com 6fa19767f3 Bug 90221: Click() needs to act like a real click. r=jst, sr=hyatt 2002-02-01 23:55:49 +00:00
naving%netscape.com 318fcea948 116329 one small change to patch by tingley@sundell.net r=rjc sr=waterson. Made it so that XULSortService
can grok for nsIRDFBlob
2002-01-30 22:37:17 +00:00
mkaply%us.ibm.com 443ef94c0c OS/2 and AIX bustage 2002-01-25 03:09:23 +00:00
waterson%netscape.com 8ab2754b57 Address 64-bit safety issue brought up by brendan. 2002-01-25 00:19:54 +00:00
waterson%netscape.com 8817ed1a1b Bug 121712. Fix inverted logic from bz's string cleanup. r=tingley@sundell.net 2002-01-24 23:58:26 +00:00
waterson%netscape.com 97ae9866cc Bug 116328. Add nsIRDFBlob sorting to rdfliner. r=varga@utcru.sk, sr=hyatt. 2002-01-24 23:03:01 +00:00
waterson%netscape.com d8ec3bd21a Bug 105068. Bit-pack mAttributes and mLazyState into a single field in nsXULElement::Slots. r=shaver, sr=hyatt 2002-01-24 23:02:03 +00:00
harishd%netscape.com d5fc3771e2 Removed mDoctypeText from nsExpatDriver. This |could| improve Ts/Txul time slightly. b=102345, r=heikki, sr=jst 2002-01-24 22:15:58 +00:00
waterson%netscape.com c824244342 Bug 86755. Get rid of nsIRDFContentModelBuilder interface, move methods to nsIXULTemplateBuilder; rename |SetRootContent| to |init|. nsXULOutlinerBuilder now implements |init|, allowing us to initialize it with a database, so that we don't have to wait around until frames get created. r=varga@utcru.sc, sr=hyatt 2002-01-24 21:30:22 +00:00
jst%netscape.com 1add1cd11d Fixing bug 121485. Un-nsAutoString:ifying nsXULContentSink::NormalizeAttributeString(), ::PushNameSpacesFrom(), and ::ParseTag() in favor of new string iterators n' other neat features. r=nisheeth@netscape.com, sr=waterson@netscape.com 2002-01-24 10:23:04 +00:00
bzbarsky%mit.edu ca547b257b Change users of Length() to IsEmpty() where the code really cares about
the latter in content/.  Bug 100649, r=jag, sr=jst
2002-01-24 02:03:19 +00:00
hyatt%netscape.com 263b0e0424 Fix for 116306, r=dbaron, sr=blake 2002-01-19 20:15:17 +00:00
waterson%netscape.com f0a50aae87 rjc was right. Third time's the charm. 2002-01-17 04:43:17 +00:00
waterson%netscape.com c7d27d8e70 Man, I'm a moron. Let's test the fix this time. 2002-01-17 02:00:23 +00:00
waterson%netscape.com 2bf97bfd36 Fix mailnews smoketest bustage on boxset. 2002-01-17 01:49:08 +00:00
waterson%netscape.com 8d9edf6eee Bug 119504, 96748. Fix off-by-one error when computing right-edge of insertion sort. Fix problem with asynchronous insertion doesn't take into account open folders preceding the insertion point. r=varga@utcru.sk, sr=hyatt, a=blizzard. 2002-01-16 23:45:42 +00:00
varga%utcru.sk ff7ad62083 Fixes for:
94653  - can't right align text in outliner cell
95730  - White block displays/artifacts in the highlight area after Move/Drag mail to folder.
112238 - [RFE] Outliner widget should support line-through
116855 - Modify outliner builder syntax to match outliner content model
118093 - Make -moz-image-region work in the outliner
118113 - Too little space between pref category tree and pref page
118154 - Category now has a column picker
118647 - Memory leak of 52 bytes from 1 block allocated in nsOutlinerBodyFrame::CheckVerticalOverflow
118660 - left arrow no longer moves to parent category
119751 - Branches are open by default and then closed after launch.

- outermost <outlinerchildren> has "-moz-box-flex: 1" by default
  and it actaully replaced <outlinerbody>
- all event handlers moved on <outliner>
- content builder, outliner builder and content view use <outliner> as root
  element
- nsIBoxObject has a new attribute "element"
- all CSS rules outlinerbody:foo replaced with outlinerchildren:foo
- drop feedback is now skinable

r=waterson for the changes in mozilla/content
r=sspitzer on the mailnews parts
r=blake on the bookmarks/history
r=bryner on the OutlinerBodyFrame and OutlinerContentView changes

sr=hyatt,hewitt
2002-01-16 03:01:28 +00:00
timeless%mac.com 7edbfb6b60 Bug 119310 preferences + open in new tab + clicking browser crashes @nsLoadGroup::RemoveRequest
assert instead of crashing if some load fails
r=darin sr=waterson
2002-01-16 00:16:51 +00:00
naving%netscape.com b585c69648 119504 backing out the fix for bug 119504 could break other cases. 2002-01-15 04:18:12 +00:00
waterson%netscape.com d61a43837a Bug 109200. Noisy notify when removing an element so broadcasters, etc. get update properly. r=ben, sr=hyatt 2002-01-14 21:41:19 +00:00
naving%netscape.com 11c39d25a6 119504 r=varga sr=waterson. fix insertion sort so the outliner inserts new element in the correct position 2002-01-14 19:49:05 +00:00
hewitt%netscape.com 7f0e98bdd5 104401 - eliminate mOuter aggregate from nsXULElement, r=waterson, sr=hyatt 2002-01-12 01:20:29 +00:00
hewitt%netscape.com 43cda34734 70858 - [XUL 1.0] Implement <listbox>, r=evaugahn, sr=hyatt 2002-01-12 01:18:10 +00:00
waterson%netscape.com 0c07a14c41 Bug 118863. Fix several incorrect uses of IsElementContainedBy when IsElementInBuilder is required. Fixes problems with nested templates. r=rjc, sr=hyatt. 2002-01-11 03:00:53 +00:00
waterson%netscape.com 2fb48000db Bug 96108. Clean up some debug-only fallout. 2002-01-10 23:08:54 +00:00
brade%netscape.com b3c2a95ab0 remove unused statics kCSSLoaderCID and kXULID for gain of 19 bytes (bug 117927; r/sr=jst,darin) 2002-01-10 14:18:55 +00:00
jdunn%netscape.com 061ee47034 AIX's new compiler, xlC5.x, doesn't allow the use of "friend" to declare
a function prototype.  So we have to decare the function and then
declare it a friend.  When Default arguments are used, they need to
be specified in the function prototype and NOT in the friend declaration.
# 43311
r=dbaron@fas.harvard.edu
2002-01-10 14:16:05 +00:00
brade%netscape.com bf3502dbe2 remove unused static kRDFInMemoryDataSourceCID for gain of 16 bytes (bug 117927; r/sr=jst,darin) 2002-01-10 14:15:51 +00:00
brade%netscape.com 2da2869ad2 remove unused statics kDataTimeFormatIID and kTextNodeCID for gain of 32 bytes (bug 117927; r/sr=jst,darin) 2002-01-10 14:15:18 +00:00
brade%netscape.com 39ed5fb4e1 remove unused statics kCSSParserCID, kDOMScriptObjectFactoryCID, kLoadGroupCID, kRDFCompositeDataSourceCID, kRDFContainerUtilsCID, kRDFInMemoryDataSourceCID, kXULTemplateBuilderCID, and kXULOutlinerBuilderCID for gain of 160 bytes (bug 117927; r/sr=jst,darin) 2002-01-10 14:15:04 +00:00
brade%netscape.com 4f95ac4083 remove unused statics kCRangeCID and kCContentIteratorCID for gain of 32 bytes (bug 117927; r/sr=jst,darin) 2002-01-10 14:12:24 +00:00
brade%netscape.com 9a88ea6de2 remove unused static kXULPopupListenerCID for gain of 16 bytes (bug 117927; r/sr=jst,darin) 2002-01-10 14:12:01 +00:00
brade%netscape.com 692be695ba remove unused static kDOMScriptObjectFactoryCID for gain of 16 bytes (bug 117927; r/sr=jst,darin) 2002-01-10 14:11:45 +00:00
dbaron%fas.harvard.edu 9a039b7c3a Fix AIX and OS/2 bustage by using normal |const|-ness conventions. r=harishd 2002-01-09 18:15:36 +00:00
tingley%sundell.net 91f5477965 bug 118680: make the XULSortService look for |sortStaticsLast| on the
correct (root) element.  r=rjc, sr=waterson
2002-01-09 02:53:14 +00:00
harishd%netscape.com 7c522efd05 105137 - Eliminate nsTokens, nsParserNode usage for xml/xbl/xul/rdf documents. r=heikki, sr=jst 2002-01-09 01:37:50 +00:00
varga%utcru.sk 6673fe6131 80834 - [outliner scrollbar] if inbox has less than one page of messages, it will come up with a box where the scroll bar is
80548 - outliner scroll bar "disappears" in 3 stages

111101 - No scrollbox / slider / thumb in thread pane scrollbar

116269 - white scrollbars briefly show up in folder pane

116432 - Sometimes the twisty won't update after a click

116855 - Modify outliner builder syntax to match outliner content model
r=waterson, sspitzer, blake
sr=hyatt

99715 - convert category tree to use outliner
r=hixie
sr=blake
2002-01-03 22:58:23 +00:00
bryner%netscape.com 2a1819d615 Bug 116499 - convert nsIOutlinerView::GetCellText to return an nsAString, so we can avoid copying strings. r=blake, sr=jag. 2001-12-29 22:05:16 +00:00
shanjian%netscape.com bf85c86c6a #112793 fine tune frame charset mechanism
Besides charset, document now records charset source as well.
nsCharsetSource was replaced by PRInt32.
Some code relocation in nsHTMLDocument.cpp
r=yokoyama sr=waterson
2001-12-26 03:17:59 +00:00
timeless%mac.com 61a97fd94a Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst
2001-12-23 23:23:41 +00:00
rjesup%wgate.com 2e680f1b17 Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson
2001-12-21 01:10:07 +00:00
waterson%netscape.com 1320c4cd3f Bug 106443. Noisy notify when changing sort order. r=bryner, sr=blake 2001-12-21 00:03:57 +00:00
sfraser%netscape.com 1de0f49669 Undo inadvertent change checked in with the fix for 114943 which caused lots of printfs in debug builds. 2001-12-20 01:12:52 +00:00
sfraser%netscape.com dec7ea9f5b Fix buy 114943; prevent attribute changes of screenX, screenY, and sizemode on windows, dialogs and wizards from causing reflows. r=hyatt, sr=waterson 2001-12-19 00:28:40 +00:00
varga%utcru.sk 949278c0fe Fix for 113477. Group outlinercols. r=bryner sr=hyatt 2001-12-18 13:42:28 +00:00
seawood%netscape.com 45bfbf0658 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee
2001-12-18 09:14:29 +00:00
mjudge%netscape.com d7c892374e wrong name for module name. needed webbrwsr not webBrowser_core 2001-12-18 02:06:04 +00:00
mjudge%netscape.com 2ecc969e5b bs=7868 r=saari Adding in new api to bake on trunk before going to branch. this adds nsISelectionDisplay to nsISelectionController. SetDisplayFlags are how we now set if you want images selected or not 2001-12-18 01:29:49 +00:00
hyatt%netscape.com 0ec3f045d8 Fix for 112980, nsITheme API and dynamic skin switching re-enabling. r=ben, sr=waterson 2001-12-17 22:51:39 +00:00
jaggernaut%netscape.com e44e7d9ec8 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst 2001-12-17 07:14:49 +00:00
jaggernaut%netscape.com ee12112b29 Remove timer from REQUIRES, the makefile.win edition 2001-12-16 18:08:20 +00:00
jaggernaut%netscape.com 4f507b8511 Remove timer from REQUIRES. r=pavlov 2001-12-16 17:02:31 +00:00
jaggernaut%netscape.com 97b0530073 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
jst%netscape.com 70c3c11153 We don't pass references to 'interfaces' in general, so let's not do it here either. r=bryner@netscape.com. sr=jaggernaut@netscape.com 2001-12-11 09:03:38 +00:00
hewitt%netscape.com 19bd06047a 113562 - nsIContent needs HasAttr method, r=jag, sr=jst 2001-12-11 02:57:52 +00:00
jst%netscape.com d9e3afb71d Fixing bug 110798. Freezing the interfaces nsIDOMEvent, nsIDOMEventListener, nsIDOMEventTarget and nsIDOMDocumentEvent. r=harishd@netscape.com, sr=jband@netscape.com 2001-12-06 06:57:03 +00:00
hyatt%netscape.com 91bc6c4a6e Enhancements to CSS to enable multi-colored borders and painting of image subregions. 112988 and 112990. r=dbaron,hewitt for 112990, r=ben,hewitt for 112988 2001-12-05 08:35:05 +00:00
blakeross%telocity.com 804b78dd84 jan's patch for isseparator() should return a value in nsXULOutlinerBuilder::Init(). r=ben sr=hewitt 2001-12-05 06:43:05 +00:00