danm%netscape.com
13971ba0bd
new popupblocked domevent. bug 199705 r=jaggernaut,jst
2003-04-16 00:00:46 +00:00
bryner%netscape.com
aea212200b
More XBL deCOMtamination (bug 194834). This checkin removes nsIXBLInsertionPoint and nsIAnonymousContentList. r=jkeiser, sr=jst.
2003-04-15 20:35:07 +00:00
heikki%netscape.com
f97fe97caf
Bug 186554 XMLSerializer does not serialize documentElement correctly. Extended document encoder API to make it possible to seriaalize a node. r=jfrancis, sr=bzbarsky.
2003-04-15 18:13:13 +00:00
roc+%cs.cmu.edu
3fd72b014a
Bug 199024. The old way of detecting whether a scroll happened or not in DoWheelScroll doesn't work with smooth scrolling. r+sr=bzbarsky
2003-04-15 13:17:36 +00:00
bryner%netscape.com
93b5a67e30
Oops, meant to check this in as part of my last checkin. nsIBookmarksService.h is in the bookmarks module for phoenix. Fixing bustage.
2003-04-15 07:34:15 +00:00
dbaron%dbaron.org
43197a4800
Remove extraneous |inline| to fix bustage.
2003-04-15 04:19:27 +00:00
dbaron%dbaron.org
4a5e84bc92
Split nsCSSDeclaration.h and .cpp into separate files for the structs (nsCSSStruct.h and .cpp) and nsCSSDeclaration. b=201681
2003-04-15 03:07:34 +00:00
bryner%netscape.com
706a6534e0
fixing _more_ phoenix bustage - different REQUIRES for phoenix
2003-04-15 02:06:55 +00:00
bzbarsky%mit.edu
5df3b30a3b
Make CreateContextualFragment know what document the fragment is destined for.
...
Fixes some issues with images and innerHTML. Bugs 198486, 198989, 201865.
r=jfrancis, sr=jst
2003-04-15 01:09:09 +00:00
jshin%mailaps.org
9a818b6356
bug 198598 Update the window title bar and doc. charset for nsMediaDocument
...
so that save/save as works correctly for non-8859-1 string. rename
ImageDocument.properties to MediaDocument.properties and move to
content/html/document/src. (r=cbiesinger for an earlier patch, sr=bzbarsky)
2003-04-13 00:40:26 +00:00
sfraser%netscape.com
0ea779d7ff
Part of fix for bug 201400. r=aaronl, sr=me.
2003-04-12 03:12:59 +00:00
sfraser%netscape.com
c708a0b885
Fix for bug 201400: move the "accessibility.browsewithcaret" pref observer to the nsEventStateManager, to remove it from the DOMWindowController. Patch by brade/sfraser, r=aaronl, sr=sfraser.
2003-04-12 03:03:27 +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
dbaron%dbaron.org
bc6cee4639
Remove lines that do nothing except leak. r+sr=bzbarsky
2003-04-10 23:26:36 +00:00
sfraser%netscape.com
afc1777e87
Clean up nsContentAreaDragDrop::BuildDragData to fix dragging of unselected elements, dragging of <area> elements, and to prepare for putting native image data into drags. Part of changes in 193053, r=pinkerton, sr=kin.
2003-04-10 21:21:15 +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
dbaron%dbaron.org
4ab9a6c815
Two separate directories create a content.xpt file. b=201323 r=seawood sr=jst
2003-04-09 21:16:39 +00:00
roc+%cs.cmu.edu
62c01e75cb
Bug 201299. Make lazy scrollbars more selective to avoid XUL tree and listbox problems. r+sr=bzbarsky
2003-04-09 11:17:42 +00:00
bzbarsky%mit.edu
75e0758f2a
Some random code cleanup:
...
1) Make SetContentSink and SetParserFilter not claim to return stuff
2) Clean up nsIParser to use NS_IMETHOD_() where needed. Sync up with nsParser
3) Removed some never-used code
Bug 40149, r=harishd, sr=jst
2003-04-08 21:23:34 +00:00
roc+%cs.cmu.edu
f2dc5c2442
Bug 126263. Whack comboboxes/listboxes to use Gfx scrollbars. Also, make scrollbars attach their XBL content only when they become visible, to avoid pageload hit. r+sr=dbaron
2003-04-08 20:50:57 +00:00
hpradhan%hotpop.com
f7dbb93f11
bug 196829 : Removed unused DoFragment() methods from parser and contentsinks r=harishd sr=jst
2003-04-05 07:19:09 +00:00
bzbarsky%mit.edu
fdcc28ae82
CSSLoader should check content policy. Bug 190653, r=mvl, sr=peterv
2003-04-04 23:57:06 +00:00
bzbarsky%mit.edu
21e537be09
No need for two separate document viewer constructors. Bug 158804, r=peterv, sr=jst
2003-04-04 22:37:52 +00:00
seawood%netscape.com
977c4f3aaa
Remove unneeded xp_path.h reference
...
Bug #171883
2003-04-04 08:26:27 +00:00
sfraser%netscape.com
4debc47b21
Forward-declare nsIPresShell in nsISelectionPrivate.h.
2003-04-04 02:36:12 +00:00
sfraser%netscape.com
a5a80015e1
Remove nsIIndpendentSelection, moving its one method onto nsISelectionPrivate. Bug 192827. r/sr=kin.
2003-04-04 01:45:06 +00:00
peterlubczynski%netscape.com
6280191bdc
Fixing bug 200058, standalone images and plugins leak (the whole document leaks), r=jst sr=bz
2003-04-04 00:26:33 +00:00
heikki%netscape.com
faacfeb21d
Backing out makefile changes in svg to fix build bustage.
2003-04-03 23:03:19 +00:00
sfraser%netscape.com
3d94154251
Fix bug 192611: nsIFrameSelection has a data member. r/sr=dbaron
2003-04-03 22:32:50 +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
harishd%netscape.com
743d738ebc
Hack fix: Close the head context before loading a linked style sheet because the CSSLoader can sometimes call ContinueParsing on the parser even if the parser is not blocked and that causes the sink to go crazy. b=197015, r=heikki@netscape.com, sr=jst@netscape.com
2003-04-03 18:32:58 +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
heikki%netscape.com
645bfc7c34
Bug 169980, document.load should add its document to the parent document's loadgroup so that if we leave the current page the load will be aborted aotomatically, r=harishd, sr=darin.
2003-04-02 21:44:39 +00:00
locka%iol.ie
819aed17ad
Attempt to fix pedantic bustage caused by checkin for b=191023
2003-04-02 14:31:43 +00:00
locka%iol.ie
1c626b1053
Attempt to fix pedantic bustage caused by checkin for b=191023
2003-04-02 13:59:09 +00:00
locka%iol.ie
918254340f
Remove references to webshell and make HTML document more tolerant when supplied with a null docshell. b=191023 r=heikki@netscape.com sr=jst@netscape.com
2003-04-02 11:18:00 +00:00
alecf%netscape.com
a09a98f6d9
fix for bug 199170, convert layout to use nsStaticAtom. sr=dbaron
2003-04-02 04:51:07 +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
4cd5722271
Make sure not to call LoadImage before LoadImageWithChannel for standalone
...
images. Bug 121084; also fixes bug 34165. r=pavlov, sr=jst
2003-04-02 03:27:20 +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
bzbarsky%mit.edu
5c7258dfc2
Fix range.surroundContents() to not rearrange the content order. Bug 191625,
...
r=sicking, sr=peterv
2003-04-02 01:30:33 +00:00
jst%netscape.com
8f126a887a
Removing unused nsresult rv.
2003-04-02 00:09:20 +00:00
axel%pike.org
2f3d5baa00
bug 199484, xml pretty printing regressed, fix the contract ID for XSLT document transformer, r/sr=peterv
2003-04-01 19:50:42 +00:00
timeless%mozdev.org
1b60d09a7b
Bug 199768 document.referrer is empty
...
patch by keeda@hotpop.com r=sicking sr=peterv a=asa
2003-03-31 20:58:02 +00:00
hpradhan%hotpop.com
71085bc721
bug 199756 : Crash at nsDocument::GetPrincipal
2003-03-31 15:45:44 +00:00
jkeiser%netscape.com
e6dd75348e
Fix onclick=form.submit(); onsubmit=return false to submit again (bug 192170), r=alexsavulov@netscape.com, sr=bzbarsky@mit.edu, a=asa
2003-03-27 15:59:31 +00:00
jkeiser%netscape.com
73fbdcf647
Allow raw ParseIntValue to work with negative values (bug 198677), r=smontagu@netscape.com, sr=jst@netscape.com
2003-03-27 15:38:12 +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
shliang%netscape.com
4caa9a491b
112789 - disabled radio elements should not get focus. patch largely by neil@parkwaycc.co.uk. r=shuehan, neil, sr=jag.
2003-03-26 02:55:19 +00:00
sicking%bigfoot.com
7df4697aa3
Missed removing this in the landing of bug 185797. r=Pike sr=peterv
2003-03-26 01:34:11 +00:00
jst%netscape.com
8163e8fac9
Checking in dbradley@netscape.com's fix for bug 198995. Make sure we default to the default charset if the server gives us one we don't know. r=jst@netscape.com, sr=peterv@netscape.com
2003-03-26 01:26:38 +00:00
sicking%bigfoot.com
d28b0c5b97
Compiled XSLT stylesheets. Improves speed, implements forwards-compatible-parsing and handling of unknown extension-elements. Also fixes some random edgecasebugs such as recursive merged named-attribute-sets and empty strings in copy-of.
...
Patch mainly by sicking, but large parts also by Pike and peterv.
Tracker is bug 185797. r=Pike/sicking rs=peterv.
2003-03-26 01:10:14 +00:00
dbaron%dbaron.org
2f896de2a2
Fix leak of mValue. b=199184 r=jkeiser sr=jst
2003-03-25 23:59:26 +00:00
alecf%netscape.com
0019d826a7
fix dumb mac bustage - cast sizeof() to PRUint32
2003-03-25 21:23:44 +00:00
alecf%netscape.com
644eda36e7
oops, back out a checkin that wasn't supposed to land
2003-03-25 19:59:06 +00:00
akkana%netscape.com
38c2d42204
145196: a warning fix from burpmaster@truffula.net and another one from me
2003-03-25 19:51:06 +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
roc+%cs.cmu.edu
d48c2c89f7
Bug 174049. Smooth scrolling. Original patch by Neil cronin. r+sr=kin
2003-03-24 05:29:45 +00:00
timeless%mozdev.org
965ba28bb1
Bug 106386 rid source of misspellings
...
patch by nb@ipnode.info r=biesi sr=dmose
2003-03-24 04:15:34 +00:00
bryner%netscape.com
2e125db44a
Move editor's key event listener, xbl commands, and typeahead find into the system event group. This allows event listeners in content to reliably cancel key events. Bug 54035, r=jkeiser and aaronl, sr=hyatt and kin.
2003-03-24 04:00:58 +00:00
jfrancis%netscape.com
b8893ea45e
fix for 187955: improvements to html fragment sink and paste code. Fixes problems seen with "Create table From Selection" and also with CF_HTML paste.
...
r=brade; sr=kin
2003-03-23 20:45:47 +00:00
dbaron%dbaron.org
9cf85cc264
Make mkaply's bustage fix a little safer.
2003-03-22 18:34:57 +00:00
mkaply%us.ibm.com
38c8983879
Ports bustage - someone please correct me if I have done something horribly wrong
2003-03-22 14:31:19 +00:00
bzbarsky%mit.edu
468c1fa6b5
This warning was never supposed to get checked in...
2003-03-22 07:57:44 +00:00
jst%netscape.com
cbafad0cf7
Fixing silly placement of '||'. No code change.
2003-03-22 03:24:57 +00:00
peterlubczynski%netscape.com
c8c6f4afa4
Creating nsMediaDocument/nsPluginDocument to make full-page
...
plugins scriptable, bug 90256 r=jkeiser sr=jst
2003-03-22 03:20:23 +00:00
peterlubczynski%netscape.com
262f4c8d0a
Creating nsMediaDocument/nsPluginDocument to make full-page
...
plugins scriptable, bug 90256 r=jkeiser sr=jst
2003-03-22 02:22:03 +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
heikki%netscape.com
7e8034bc24
Bug 139276, implement synchronous document.load(), r=jst, sr=darin.
2003-03-21 19:22:52 +00:00
alecf%netscape.com
64a8a63888
argh fix darwin bustage.. :(
2003-03-21 16:06:20 +00:00
alecf%netscape.com
b7bb5e49db
just one theory on the Ts slowdown, before I back myself out completely
2003-03-21 13:31:34 +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
16a1e92185
Load images even if we're not associated with any document, for now, so that
...
drag/drop and copy/paste of images work. Bug 198428, r=timeless, sr=jst
2003-03-21 01:31:43 +00:00
bzbarsky%mit.edu
97462add5b
Fix crash when viewing standalone images if images are blocked in mailnews.
...
Bug 198301, r=jkeiser, sr=jst
2003-03-20 02:03:13 +00:00
heikki%netscape.com
9f2a5f1a56
Bug 182323, implemented XPointer spec, we now support the framework, shorthand syntax, element, fixptr, xpath1 and xmlns schemes, and provide a proprietary API from scripts, r=sicking, sr=peterv.
2003-03-19 23:45:42 +00:00
bzbarsky%mit.edu
111c4443bd
rv is no longer used... (bug 83774)
2003-03-19 06:11:59 +00:00
bzbarsky%mit.edu
d17939cf9e
Trying to make Tp go down. Switch back to the old way of doing load events.
2003-03-19 05:38:33 +00:00
bzbarsky%mit.edu
c4e4f41b64
Fix OS/2 bustage. Bug 83774.
2003-03-19 04:13:37 +00:00
bzbarsky%mit.edu
1bfea66b89
Landing bug 83774 -- move image loading for <img>, <object>, <embed>, <input
...
type="image"> into the content nodes and out of nsImageFrame. r=pavlov, sr=jst
2003-03-19 03:47:09 +00:00
heikki%netscape.com
682635ca4f
Bug 198127, change cursor when on expander, r+sr=bzbarsky.
2003-03-19 01:22:01 +00:00
bzbarsky%mit.edu
47c8df57e8
More build system stuff for bug 83774. r=pavlov, sr=jst
2003-03-19 01:17:07 +00:00
bzbarsky%mit.edu
62e28677dd
Build system changes for bug 83774. Enables the new code, but doesn't use it
...
yet. r=pavlov, sr=jst
2003-03-19 01:16:16 +00:00
bzbarsky%mit.edu
1cc4b7f6fe
Error defs for bug 83774. r=pavlov, sr=jst
2003-03-19 01:11:23 +00:00
bzbarsky%mit.edu
91df3ce52c
New files for bug 83774. r=pavlov, sr=jst
2003-03-19 01:08:22 +00:00
bryner%netscape.com
992925cbe8
Fix stuck tabbing through imagemaps (bug 124789) by tracking the focused frame separately from the focused content node in this case. r=jkeiser, sr=bzbarsky.
2003-03-19 00:44:17 +00:00
heikki%netscape.com
836e3cd192
Bug 197966, minus sign did not change to plus when unexpanded, patch from sicking, r=jkeiser, sr=bzbarsky.
2003-03-19 00:32:46 +00:00
bryner%netscape.com
94b9b8c9d4
Fix stuck tabbing through imagemaps (bug 124789) by tracking the focused frame separately from the focused content node in this case. r=jkeiser, sr=bzbarsky.
2003-03-18 23:41:44 +00:00
mkaply%us.ibm.com
2ea5161b4a
#198036
...
r=blizzard, sr=kin
Uninitialized variable
2003-03-18 22:18:10 +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
brade%netscape.com
5ae765b5e6
use member command manager; r/sr=dbaron; bug 197583
2003-03-18 14:47:17 +00:00
bzbarsky%mit.edu
ae79a333c6
s/floorf/floor/. Fixes solaris/AIX/whatever bustage
2003-03-18 08:29:00 +00:00
bzbarsky%mit.edu
a7e315a7dd
Add math.h too
2003-03-18 06:48:04 +00:00
bzbarsky%mit.edu
e0dac4f4b6
Fix build bustage -- looks like not all platforms have round(). r=timeless
2003-03-18 06:45:57 +00:00