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

3688 Коммитов

Автор SHA1 Сообщение Дата
dbaron%dbaron.org f8f9bcc4be Fix bugs with colors in tables in cases where some content comes before the start tag of BODY by rechecking the computed color of BODY more often. b=94688 Patch from Mats Palmgren <mats.palmgren@bredband.net>. r+sr=dbaron 2003-06-08 19:52:22 +00:00
dbaron%dbaron.org 0a143da53b Put more information on the CSS properties in nsCSSPropList.h.
Use the property list in the tables for nsRuleNode::CheckSpecifiedProperties.
To reduce heap usage, redesign the storage of properties and values in nsCSSDeclaration to allocate all property-value pairs in a declaration block in a single allocation, and use temporary structures (like the old permanent structures) during parsing and modification.  Replace per-property switch statements in nsCSSDeclaration with table-based code to reduce code size.
b=125246  r+sr=bzbarsky
2003-06-07 22:14:42 +00:00
mkaply%us.ibm.com ff0ac05a9a #158610
r=pavlov, sr=jst
Add support for setting and querying lowsrc attribute so frontpage pic galleries work.
This does NOT make lowsrc work as it used to, it only adds it to the DOM
2003-06-04 13:15:37 +00:00
ere%atp.fi db0628f8e9 Fix for bug 207413: Midas: designMode = "on" fails for a newly created iframe
patch by jst
r=ere
sr=kin
2003-05-30 20:04:50 +00:00
brade%netscape.com 2680d775ff handle insertHTML and fix fontface to support 2-byte font strings; r=mkaply; sr=kin; bug=184509 2003-05-30 15:02:12 +00:00
jaggernaut%netscape.com 756d8ef907 Bug 203960: Make bookmark groups replace existing tabs instead of appending. r=jkeiser, varga, adamlock, sr=jst, hewitt 2003-05-30 00:21:01 +00:00
alecf%flett.org 34f90f2ace big part of fix for bug 101995 - remove bookmarks dependency from nsHTMLDocument 2003-05-29 22:11:23 +00:00
jst%netscape.com 2883ab5eea Fixing build bustage. 2003-05-29 02:07:35 +00:00
jst%netscape.com 7eb19aa001 Fixing bug 203345. Making image maps work correctly in XHTML documents. r=heikki@netscape.com, sr=bzbarsky@mit.edu 2003-05-29 00:53:03 +00:00
timeless%mozdev.org 229365c4c4 Bug 207330 nsHTMLDocument::TryChannelCharset should use do_GetService (like everyone else) to get @mozilla.org/intl/charsetalias;1
r=bz sr=bz
2003-05-28 22:34:22 +00:00
danm%netscape.com 2f7009ad7a make wyciwyg urls unique across all documents. bug 172251 code=radha r=nisheeth,jst i'm just the monkey boy. 2003-05-28 22:12:16 +00:00
bzbarsky%mit.edu 2d8c24058a Make some static data const in content. Bug 204532, patch by ataylor@its.to
(Andrew Taylor), r=bzbarsky, sr=alecf
2003-05-27 03:49:22 +00:00
cbiesinger%web.de 8dc2f15ba0 patch by tenthumbs@cybernex.net r+sr=bz bug 206864
Incorrect comparison in content/html/style/src/nsCSSParser.cpp
2003-05-26 16:59:40 +00:00
brade%netscape.com 4d15443e23 handle fontname and other commands which respond with non-cstrings; r=mkaply, sr=smfr, a=asa; bug 204053 2003-05-23 13:26:46 +00:00
mkaply%us.ibm.com 9449870c9f #206317
r=ere, sr=jst, a=mkaply
Set a default content type to text/html when doing document.write()
2003-05-22 22:39:04 +00:00
bzbarsky%mit.edu d8f4088d90 Quiet some silly warnings. Bug 72164, patch by Eric Lawrence
<elawrenc69@yahoo.com>, r+sr=bzbarsky, a=asa
2003-05-21 02:06:01 +00:00
bzbarsky%mit.edu 74f7ffbdb3 Fix parsing of |url()| to treat it like the URI "" instead of as an error. Bug
203256, r+sr=dbaron, a=brendan
2003-05-18 14:57:23 +00:00
bzbarsky%mit.edu b84cf009ec Make font-size:larger and font-size:smaller smarter about interpolating and
extrapolating font sizes.  Bug 72164, patch by Eric Lawrence
<elawrenc69@yahoo.com>, r=bzbarsky, r+sr=dbaron, a=asa
2003-05-17 16:11:51 +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 8dc3ad3076 Fixes for a number of focus problems:
Bug 201996 (caret blinking in field, but can't type)
Bug 200735 (window is raised when opening link in a new tab)
Bug 203117 (unable to scroll view source window with keyboard)
Bug 194104 (focus is in last tab when opening new window with tabgroup)

Summary of the changes:
- Don't require a frame to be present for focus events.  This allows events like activate and deactivate to correctly update the focus controller even if the document hasn't been reflowed.
- General cleanup and adding of comments in nsEventStateManager::PreHandleEvent.  We now also reuse the event struct when firing focus/blur events to the content, document, and window.
- In nsHTMLElement::SetFocus() and Select(), make sure to set the focused window as well as the focused element, if the focus controller is inactive.
- Fixed handling of certain conditions in PresShell::CheckForFocus() where the results would be different depending on whether the parent or child document unsuppressed painting first.
- General cleanup in PresShell::HandleEvent() and HandleEventInternal().

r=jkeiser, sr=jst, a=sspitzer.
2003-05-12 07:11:16 +00:00
mstoltz%netscape.com d1c91d31e2 Bug 204682 - do not allow document.domain to be set to the empty string. r=heikki, sr=darin, a=blizzard 2003-05-09 23:56:04 +00:00
jst%netscape.com 9214f83b1a Fixing bug 194994. Make sure hidden iframes' die when leaving the page. r=bugmail@sicking.cc, sr=peterv@netscape.com, a=asa@mozilla.org 2003-05-09 01:42:13 +00:00
bzbarsky%mit.edu e7e97a4c97 Minor tweak to never match in an error case we better not be hitting anyway.
Bug 77519, r=glazou (who also posted the first patch version; r=me on the part
he did), sr=dbaron, a=sspitzer
2003-05-08 01:59:25 +00:00
darin%netscape.com 41280f92f9 fixes bug 22994 "Mail reader allows spammers to set/get cookies to track web usage"
r=dwitte sr=dveditz a=sspitzer
2003-05-05 21:27:02 +00:00
bzbarsky%mit.edu d7f20053f9 HTMLImageElement.complete should be true if the load failed (eg broken image).
Bug 190561, r=mstoltz, sr=jst, a=sspitzer
2003-05-03 02:32:43 +00:00
varga%netscape.com 7967318ca3 Fix for bug 189719. Automatic image sizing: Use a custom magnifying glass cursor.
r=dbaron, sr=roc, a=sspitzer
2003-05-02 22:23:55 +00:00
aaronl%netscape.com 7ae87df2aa Bug 149654. Send accessibility events for DOM mutations, invalidate appropriate parts of accessibility cache based on DOM mutation events. Also fixes bug 74218, implement DOMSubtreeModified event. r=kyle, sr=jst 2003-04-28 10:24:52 +00:00
bzbarsky%mit.edu 04d9b57f42 Make sure to flush reflows before trying to scroll so that frame coordinates
will be up-to-date.  Bug 186149, r=peterv, sr=jst, a=asa
2003-04-26 01:13:28 +00:00
hpradhan%hotpop.com c5ee21461e bug 145577: scrollHeight/scrollTop not supported on textareas r=jkeiser sr=jst 2003-04-22 03:38:16 +00:00
hpradhan%hotpop.com 3304c29388 bug 172298: onselect="this.select();" in textarea causes crash r=jkeiser sr= kin 2003-04-22 03:27:24 +00:00
bzbarsky%mit.edu 724a6d8835 Make nsHTMLContentSink respond to BeginUpdate and EndUpdate even when not in
script, since the script could be running in some other frame/window.

Removes mInScript, since it's no longer used.  Bug 155504, r=heikki, sr=jst
2003-04-21 23:51:17 +00:00
varga%netscape.com 80b4bed5ce Fix for bug 195481. Automatic image resize: Image status should be reflected in document title bar and Tab marker.
r=bz, sr=jag
2003-04-21 22:45:28 +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
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
bzbarsky%mit.edu b36c8bbbf8 Make sure to always add base tag info before setting any other attributes. Bug
201998, r=jkeiser, sr=jst
2003-04-17 23:15:21 +00:00
bryner%netscape.com 989ec207ee Fixing windows orange -- null-terminate the AttributeImpactArray or the while loop can keep going forever. 2003-04-17 02:50:58 +00:00
alecf%netscape.com 20384007c3 ok, reland bug 174802 after addressing jst's comments - gotta remember to check in from the right tree!
change to a table-based GetMappedAttributeImpact for footprint and performance wins
r=dbaron, sr=jst
2003-04-16 20:54:20 +00:00
alecf%netscape.com 9b8874c8d0 argh, back myself out - I'm crashing on startup now! :( 2003-04-16 18:55:56 +00:00
alecf%netscape.com d0ed272eb9 fix for bug 174802 - simplify GetMappedAttributeImpact, buy making a simple attribute->reflow style map and providing a single helper which walks the map
r=dbaron,sr=jst
2003-04-16 18:11:45 +00:00
bryner%netscape.com fdfc0fdc0b 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 1d027cdecd Remove extraneous |inline| to fix bustage. 2003-04-15 04:19:27 +00:00
dbaron%dbaron.org 743dbe34c1 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 2b3a78e0aa fixing _more_ phoenix bustage - different REQUIRES for phoenix 2003-04-15 02:06:55 +00:00
bzbarsky%mit.edu 97c2f70759 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 736898499e 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
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
dbaron%dbaron.org 52c518fcd8 Remove lines that do nothing except leak. r+sr=bzbarsky 2003-04-10 23:26:36 +00:00
dbaron%dbaron.org 3232789770 Two separate directories create a content.xpt file. b=201323 r=seawood sr=jst 2003-04-09 21:16:39 +00:00
bzbarsky%mit.edu 31b73ec09c 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
hpradhan%hotpop.com ab79cda8b9 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 8219f428d6 CSSLoader should check content policy. Bug 190653, r=mvl, sr=peterv 2003-04-04 23:57:06 +00:00
seawood%netscape.com 410d28b951 Remove unneeded xp_path.h reference
Bug #171883
2003-04-04 08:26:27 +00:00
peterlubczynski%netscape.com caadf9a40a 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 b6ee57a69a Bug 200382, reduce content's dependencies on webshell, r=adamlock, sr=jst. 2003-04-03 18:57:33 +00:00
harishd%netscape.com d36e03ff94 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
seawood%netscape.com 80e1b303cc Purge XP_PC.
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
locka%iol.ie ce2b1f846b Attempt to fix pedantic bustage caused by checkin for b=191023 2003-04-02 14:31:43 +00:00
locka%iol.ie ad68ec86af Attempt to fix pedantic bustage caused by checkin for b=191023 2003-04-02 13:59:09 +00:00
locka%iol.ie e2df34009e 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 c8aef61acf fix for bug 199170, convert layout to use nsStaticAtom. sr=dbaron 2003-04-02 04:51:07 +00:00
bzbarsky%mit.edu b4ecec8c75 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
timeless%mozdev.org b54b6f9240 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
jkeiser%netscape.com 2a40d9927c 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 595a99124d 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 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
dbaron%dbaron.org ceb1e7d23b Fix leak of mValue. b=199184 r=jkeiser sr=jst 2003-03-25 23:59:26 +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
jfrancis%netscape.com d65a91cf65 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 f7a4afe32b Make mkaply's bustage fix a little safer. 2003-03-22 18:34:57 +00:00
mkaply%us.ibm.com 47fa9fd754 Ports bustage - someone please correct me if I have done something horribly wrong 2003-03-22 14:31:19 +00:00
peterlubczynski%netscape.com b5850784ea 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 07b7bbfa07 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 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 f7cd8fcae5 argh fix darwin bustage.. :( 2003-03-21 16:06:20 +00:00
alecf%netscape.com 3cb283cc78 just one theory on the Ts slowdown, before I back myself out completely 2003-03-21 13:31:34 +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 de9e5df295 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
bzbarsky%mit.edu 2c56e0638e 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
mkaply%us.ibm.com b306dde0df #198036
r=blizzard, sr=kin 
Uninitialized variable
2003-03-18 22:18:10 +00:00
brade%netscape.com a61e8c4ffa use member command manager; r/sr=dbaron; bug 197583 2003-03-18 14:47:17 +00:00
bzbarsky%mit.edu 8055eacac8 s/floorf/floor/. Fixes solaris/AIX/whatever bustage 2003-03-18 08:29:00 +00:00
bzbarsky%mit.edu 1aff4d7ac8 Add math.h too 2003-03-18 06:48:04 +00:00
bzbarsky%mit.edu 4a3702559a Fix build bustage -- looks like not all platforms have round(). r=timeless 2003-03-18 06:45:57 +00:00
bzbarsky%mit.edu 4cc14b7073 Bug 160550 -- implement -moz-hsl() (CSS3 hsl() colors). Implement the parsing end of
-moz-rgba() and -moz-hsla(); the GFX end is bug 147017.  r+sr=dbaron
2003-03-18 05:43:12 +00:00
bzbarsky%mit.edu 68d36409fc Don't parse "string" values for text-align till we actually support them in
layout... Bug 197771, r+sr=dbaron
2003-03-18 05:25:37 +00:00
bzbarsky%mit.edu 2884e64d50 Random CSS parser cleanup -- nsCOMPtr, nsCOMArray, remove unused methods, etc.
Bug 197512, r+sr=dbaron
2003-03-18 05:21:30 +00:00
bzbarsky%mit.edu 8c4fcee132 Fix regression bug 197823 -- scrolling state restoration broken during history
navigation if URL includes anchor name.  Remove unnecessary and deleterious
flush. r+sr=dbaron
2003-03-18 04:09:24 +00:00
bzbarsky%mit.edu bd5dec2fa1 AddDoctypeDecl should not enforce "doctype" being uppercase. Bug 197331, patch
by bugzilla@jellycan.com (Brodie Thiesfield), r=harishd, sr=jst
2003-03-17 23:24:27 +00:00
bzbarsky%mit.edu 605874dcea Make imgRequestProxy hold a weak ref to its listener, to prevent reference
cycles.  Bug 196797, r=pavlov, sr=jst
2003-03-17 16:09:02 +00:00
bzbarsky%mit.edu 1b837cdd65 Make the CSS parser not throw on attempts to parse lengths with unknown units
(bug 197212).  Also fixes a few build warnings and finally removes
NS_CSS_PARSER_DROP_DECLARATION (bug 88423).  r+sr=dbaron
2003-03-17 03:58:06 +00:00
bzbarsky%mit.edu c9fb653ad8 Avoid possible double-delete of CSS declaration. Bug 196271, r+sr=dbaron 2003-03-17 03:46:17 +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
dbaron%dbaron.org 4861ed4f67 Fix operator precedence error in previous patch (which I reviewed, eek!). b=197277 2003-03-16 01:03:20 +00:00
dougt%netscape.com 0d2808c511 Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

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

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

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

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

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

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

Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
jst%netscape.com 0b5cb41238 Fixing bug 192837. Freezing the rest of the DOM HTML interfaces. r=fabian@imajes.info, sr=peterv@netscape.com 2003-03-14 07:00:53 +00:00
jkeiser%netscape.com 9dfc1961ec Make .selectedIndex = -1 clear select (bug 195773), r=peterv@netscape.com, sr=jst@netscape.com 2003-03-14 06:18:20 +00:00
bzbarsky%mit.edu caefc412a3 Make :target work for history loads too. Bug 197277, r+sr=dbaron 2003-03-14 01:16:31 +00:00
dbaron%dbaron.org 46b12ccdd6 Make HTMLDocumentColorRule immutable. b=196795 r+sr=bzbarsky 2003-03-13 15:30:32 +00:00
dbaron%dbaron.org 3069e2548c Ensure that GetStyleData never returns null, even in out-of-memory, by storing a backup set of style structs to return in case of failure. b=154751 r+sr=bzbarsky 2003-03-13 15:29:36 +00:00
bzbarsky%mit.edu 78169362cd Fix bug 197090; foo.style.background="" would throw instead of just doing
nothing.  r+sr=dbaron
2003-03-12 21:54:50 +00:00
hpradhan%hotpop.com 25d06549f1 bug 196662 : remove some obsolete code in nsHTMLFragmentContentSink r=harishd sr=jst 2003-03-11 04:38:07 +00:00
jkeiser%netscape.com e3e103fbb4 Collapse redundant table attr code (bug 191414), r=bernd, sr=bzbarsky 2003-03-10 19:01:25 +00:00
roc+%cs.cmu.edu 84b91a597c Bug 195883. %-values are not valid for '-moz-opacity'. 2003-03-08 03:08:25 +00:00
pavlov%netscape.com 1985e0cb61 checking in fix for bug 196130 2003-03-06 23:03:49 +00:00
suresh%netscape.com 90c01febac bug 185692 - enable prefetching of '?' URLs in the context of rel=prefetch. r-dougt, sr-darin 2003-03-06 21:37:09 +00:00
alecf%netscape.com 5b7536c806 fix for bug 191416 - clean up nsIUnicharInputStream to make it more like nsIInputStream:
- hide Fill() (or remove it where not necessary)
- add ReadSegments() so that we can do reads without copying
- remove the extra offset parameter to Read()
r=dougt, sr=darin
2003-03-06 19:54:51 +00:00
dbaron%dbaron.org 42cb723529 Fix dynamic style changes resulting from change to href attribute on HTML links. b=194972 r+sr=bzbarsky 2003-03-06 19:19:55 +00:00
dbaron%dbaron.org 636a18962f Handle inline style changes by creating new style rules to wrap the modified nsCSSDeclarations, thus moving towards style rule immutability and away from property-based change hints. Patch from Boris Zbarsky <bzbarsky@mit.edu>. r=dbaron sr=roc b=171830 2003-03-06 19:07:22 +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
kyle.yuan%sun.com d78658f31b Bug 194980 Accessible state change events no longer fired for checkboxes and radios
r=aaronl, sr=henry.jia
rewrite nsHTMLInputElement::FireEventForAccessibility() function
2003-03-05 03:20:17 +00:00
mkaply%us.ibm.com 9cfde9a89b #192355
r=mstoltz, sr=heikki
Add security for accessing clipboard via Javascript
2003-03-04 13:56:36 +00:00
sicking%bigfoot.com 9ed65880ca Bug 184159: Make scripts with for- and event-attributes not lock up the xml-contentsink.
r=peterv sr=jst
2003-03-04 12:12:48 +00:00
sfraser%netscape.com 395413772f Fix bug 195160: remove static NS_DEFINE_IID from header files. r=cls, sr=alecf. 2003-02-28 05:47:36 +00:00
jst%netscape.com a50db86562 Silly whitespace changes, no code changes. 2003-02-27 01:03:57 +00:00
jst%netscape.com 819f27dd06 Fixing bug 191579. Make <script for='window' event='onload'> execute as inline script like it used to. r=bzbarsky@mit.edu, sr=peterv@netscape.com 2003-02-27 00:49:36 +00:00
bzbarsky%mit.edu 792d30905e Eliminate libpr0n's use of prescontexts as unique keys; use documents instead
and do not hold a ref to them.  Bug 190475, r=pavlov, sr=jst
2003-02-26 05:51:32 +00:00
dbaron%dbaron.org 09cb4b87a2 Fix bustage. b=167415 2003-02-23 05:36:40 +00:00
bzbarsky%mit.edu a47e2fa451 Make CSSStyleSheetImpl::Clone properly set various weak refs on the clone
(parent sheet, parent rule, owning node, document).  Bug 167415, r+sr=dbaron
2003-02-23 04:44:41 +00:00
ere%atp.fi c25f85828c Bug 194266: Removed extraneous Truncate() calls.
r=smontagu, sr=jst
2003-02-22 20:05:00 +00:00
bzbarsky%mit.edu 9c70577820 Make the parser recycling list in the loader a class static. Bug 190658,
r=sicking, sr=peterv
2003-02-22 19:36:32 +00:00
dbaron%dbaron.org 2a5b76db35 Fix bugs with removal of certain properties. b=182294 r+sr=bzbarsky 2003-02-22 19:23:46 +00:00
dbaron%dbaron.org 031931bbfe Make our ignoring of properties for :first-line and :first-letter a lot closer to the spec (although still buggy). b=103189 r+sr=bzbarsky 2003-02-22 19:20:16 +00:00
dbaron%dbaron.org a5105c6ec7 Fix dynamic change bugs by making HTMLColorRule immutable. b=99850 r+sr=bzbarsky 2003-02-22 19:15:46 +00:00
dbaron%dbaron.org 4b4f8625f1 Replace nsIStyleSheet::AttributeAffectsStyle with nsIStyleRuleProcessor::HasAttributeDependentStyle. Strengthen the attribute optimization and apply it to HTML as well. b=163556 r+sr=bzbarsky 2003-02-22 16:10:53 +00:00
dbaron%dbaron.org ea93b55cc8 Reduce code size of atom lists by storing a table of strings and pointers to fill in. b=181383 r=alecf sr=sfraser 2003-02-22 15:58:07 +00:00
dbaron%dbaron.org 6dd68f3c64 Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst 2003-02-22 15:34:38 +00:00
kyle.yuan%sun.com 5e7e210f4c Bug 171329 Label does not work if the input is nested inside something else
r=aaronl, sr=bzbarsky
do a depth-first traversal to look for the first form control element
2003-02-22 13:01:03 +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
brade%netscape.com 09b5018061 fix typo in cmd_selectAll (r=akkana, sr=smfr, a=Asa) bug 193763 2003-02-19 13:55:29 +00:00
jshin%mailaps.org d5bbaf34de bug 163998: URL-unescape the image URL for rendering in the title bar
(r=nhotta,jst, sr=darin, a=asa)
2003-02-19 11:14:35 +00:00
varga%netscape.com 355fead37f Fix for bug 191215. Graphic in attachment(.jpg) fails to display on double click -bld 2003011509 does.
r=jag sr=sspitzer a=dbaron
2003-02-18 00:18:44 +00:00
bzbarsky%mit.edu 98ad5a7317 Fix typo leading to infinite recursion crash. Bug 191229, r=timeless/caillon,
sr=jst, a=asa
2003-01-30 02:38:48 +00:00
jst%netscape.com 0f4f8b0090 Fixing regression bug 179918. HTML script elements with either a 'for' or 'event' attribute wouldn't execute, they were treated as event handler scripts, even if only one of the attributes were present. r=bugmail@sicking.cc, sr=bzbarsky@mit.edu, a=asa@mozilla.org 2003-01-28 22:35:12 +00:00
mkaply%us.ibm.com b5ee129d4b #189355
r=brade, sr=smfr, a=asa
Midas - Support <XX> format for setting block type, NOT Heading X (see bug for details)
2003-01-25 21:49:53 +00:00
bzbarsky%mit.edu 7d5bb00be6 Fix "maxlength" attr regression. bug 190425, r=jkeiser, sr=jst, a=asa 2003-01-25 04:50:24 +00:00
jst%netscape.com 9111ec7a30 Fixing bug 180552. Make document.body.client* work even if the body element's overflow is set to hidden. r=caillon@returnzero.com, sr=peterv@netscape.com 2003-01-22 06:25:24 +00:00
brade%netscape.com 7edf2f9cab handle new commands (useCSS, hiliteColor, readonly); add boolean command handlin
g; bugs 184718 and 184719 (r=mkaply, sr=smfr)
2003-01-22 01:04:51 +00:00
jkeiser%netscape.com b1acff9243 Fix merge problem with bug 159757, r=bugmail@sicking.cc, sr=bzbarsky@mit.edu 2003-01-22 00:12:55 +00:00
jkeiser%netscape.com d73be72429 Move HTMLValue parsing methods to HTMLValue (bug 159757), r=bugmail@sicking.cc, sr=jst@netscape.com 2003-01-21 21:24:16 +00:00
seawood%netscape.com a8ec9ce3d0 Fixing Forte static build bustage.
Thanks to Roland Mainz <Roland.Mainz@informatik.med.uni-giessen.de> for the patch.
r=cls sr=dmose
2003-01-20 11:57:47 +00:00
bernd.mielke%snafu.de 7d20b41954 limit the number of rowspans to value that can be handled by the cellmap bug 141818 r=karnaze sr=roc+moz 2003-01-19 15:15:22 +00:00
caillon%returnzero.com b58b743a90 Output 'background-position' values in the correct order (X before Y)
bug 189629, r+sr=dbaron
2003-01-19 03:44:52 +00:00
heikki%netscape.com 874b6550df Bug 1882, get ref from usemap even when it contains full URL. r+sr=roc+moz. 2003-01-19 01:08:05 +00:00
varga%netscape.com 73eda33c59 Adding a file I forgot to add.
Bug 73322. Pref based, automatic image resizing.
2003-01-18 11:04:40 +00:00
varga%netscape.com 874f920e11 Landing pref based, automatic image resizing.
Disabled by default.
r=jst, sr=jag
2003-01-18 10:17:58 +00:00
darin%netscape.com 685a7af468 modifications for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa 2003-01-18 02:15:14 +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
caillon%returnzero.com 8d9098a65a Bug 14777 - Give inline background image painting a rhyme and reason to how it works. Implement CSS3 proposal (-moz-)background-inline-policy.
r+sr=roc+moz
2003-01-17 09:33:52 +00:00
bzbarsky%mit.edu 7f8f4fdbfc Don't cache chrome sheets in the CSSLoader. The XUL prototype cache does a
fine job of handling it, and this way the chrome registry only needs to clear
that one cache on skin switches.  Bug 185891, r=sicking, sr=roc+moz
2003-01-17 04:20:03 +00:00
harishd%netscape.com ce8790d388 Ignore noxxx content when copy pasting into a plain text editor. b=97687, r=peterv, sr=heikki 2003-01-16 20:24:03 +00:00
jst%netscape.com 53dbf78a7a Fixing bug 161166. Freezing more DOM interfaces. r=harishd@netscape.com, sr=peterv@netscape.com 2003-01-14 23:05:52 +00:00
dbaron%dbaron.org f91cb66f02 Apply the quirk that simple selectors of the form ':hover' apply only to links to those of the form '.class:hover' as well. b=169078 r+sr=bzbarsky 2003-01-14 21:50:27 +00:00
peterv%netscape.com ea96e11c3c Fix for bug 188872 (Switching between type of HTMLInputElement incorrectly reset size from Int to pixel). Fix by Ruslan Ismailov <croo@nm.ru>, r=sicking, sr=peterv. 2003-01-14 09:53:57 +00:00
jkeiser%netscape.com d1b246175d Fix crash while document is going away (bug 168013), r=sicking@bugmail.cc, sr=sfraser@netscape.com 2003-01-14 05:54:38 +00:00
dbaron%dbaron.org 1e96329338 Implement CSS3 :target pseudo-class, which matches the target of the fragment identifier of the document's URL. Change the semantics of nsIPresShell::GoToAnchor by requiring that it be called whenever the current target changes, with an additional boolean parameter specifying whether to scroll. b=188734 r=glazman sr=bzbarsky 2003-01-13 23:10:53 +00:00
caillon%returnzero.com 504c1ee358 Bug 187744 - document.aLink and friends should return a hex code, not a named color. r=keeda sr=peterv 2003-01-13 15:29:57 +00:00
bzbarsky%mit.edu 89a03780aa fix bustage.... 2003-01-13 08:02:17 +00:00
bzbarsky%mit.edu 4363ff97b9 Bug 60290 -- comments should not be treated as whitespace. r=glazou, sr=dbaron 2003-01-13 07:19:49 +00:00
caillon%returnzero.com 4fae449274 Bug 188645 - HTMLTableElement.insertRow(-1) should append a new row, per DOM Level 2 HTML
Patch by Ruslan Ismailov <croo@nm.ru>
r=caillon sr=bzbarsky
2003-01-11 21:33:00 +00:00
caillon%returnzero.com 8884383f05 use nsCOMArray instead of nsISupportsArray. r+sr=bzbarsky b=188600 2003-01-11 10:28:37 +00:00
bzbarsky%mit.edu 720143a97b Comments in framesets should not be moved to <head>. Bug 75873, r=harishd, sr=heikki 2003-01-11 02:42:36 +00:00
dbaron%dbaron.org d8345512c5 Correctly report 'transparent' for -moz-border-*-colors. b=188465 r=caillon sr=bzbarsky 2003-01-10 19:49:24 +00:00
dbaron%dbaron.org e91def8b7a Report 'transparent' border color correctly. b=188465 r=caillon sr=bzbarsky 2003-01-10 15:55:27 +00:00
hpradhan%hotpop.com 4463c0c55c bug 185073: mozilla crashes on http://www.kccommunications.com/
r=caillon sr=jst
2003-01-10 12:31:41 +00:00
harishd%netscape.com f0ba8a82d3 Close Head context before dealing with tags that belong in body/frameset. b=187790, r=heikki, sr=jst 2003-01-09 18:29:23 +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
kin%netscape.com 872ded6605 Fix for bug #88049: Support .selectionStart & friends for textareas
Patch by petejc@optonline.net and kin@netscape.com

  mozilla/content/html/content/src/nsHTMLInputElement.cpp
  mozilla/content/html/content/src/nsHTMLTextAreaElement.cpp
  mozilla/dom/public/idl/html/nsIDOMNSHTMLTextAreaElement.idl
  mozilla/layout/html/forms/src/nsTextControlFrame.cpp
  mozilla/layout/html/forms/src/nsTextControlFrame.h

Re-implemented selectionStart, selectionEnd, setSelectionRange() and various

utility methods in nsTextControlFrame to support multi-line text widgets.


r=jkeiser@netscape.com  sr=sfraser@netscape.com
2003-01-09 06:06:17 +00:00
dbaron%dbaron.org 48544669f3 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it's no longer needed. r=timeless sr=jag 2003-01-08 19:24:38 +00:00
caillon%returnzero.com 004f6d4e7d Bug 156586.
DOM HTML 2 says HTMLSelectElement.add(elem,before) should throw if before is not one of its descendants.  Make it so.
r=jkeiser sr=jst
2003-01-08 03:07:03 +00:00
bzbarsky%mit.edu dafc9cd4ff HTMLImageElement.height/.width access needs to flush before getting the frame
sizes.  Bug 157978, r=caillon, sr=peterv
2003-01-07 01:33:12 +00:00
bzbarsky%mit.edu 4cf5754471 fix a crash that could happen if a child import met with an error (eg failed to
open a channel).  Bug 186606, r=sicking, sr=peterv
2003-01-07 01:13:07 +00:00
bzbarsky%mit.edu 0a01939a36 asserting that a PRUint32 is >= 0 is silly. Bug 187002, r=sicking, sr=peterv 2003-01-07 00:37:19 +00:00
sicking%bigfoot.com c134137876 Bug 186835: Hold off notifying that the transformation is finished until all stylesheets are loaded.
r=peterv sr=bz
2003-01-06 14:55:13 +00:00
bzbarsky%mit.edu f83b00920f Re-landing fix for bug 182124 a bit at a time to narrow down the source of the
perf impact. r=rjc, sr=darin
2003-01-05 19:00:18 +00:00
harishd%netscape.com 6d74664081 Avoid the call to OpenHead and CloseHead with incorrect parserNode. b=182021, r=heikki, sr=jst 2003-01-03 23:17:22 +00:00
timeless%mozdev.org 32844ca228 Bug 176100 tabbing out of file upload form control highlights text area contents
patch by neil@parkwaycc.co.uk r=jkeiser sr=bryner
2003-01-02 14:25:10 +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
jkeiser%netscape.com b1e0a48538 Make align=right only float right for input type=image (bug 170781), r=peterl@netscape.cm, sr=bzbarsky@mit.edu 2002-12-27 00:41:52 +00:00
mkaply%us.ibm.com c15128a5ad #184479
Forgot to modify one part of code per sr comment
2002-12-20 14:53:44 +00:00
mkaply%us.ibm.com 35f2ccbfa4 #184479
r=brade, sr=peterv
Midas - support MS names for block types (Heading X)
2002-12-20 06:44:32 +00:00
peterv%netscape.com 835d9e4c97 Removing again, I won't need it after all. 2002-12-19 20:29:40 +00:00
peterv%netscape.com bd4196a78e Fix for bug 184925 (isindex.form always == null). r=sicking, sr=jst. 2002-12-19 20:29:14 +00:00
caillon%returnzero.com 9aae64b7bb 185493 - Try and clean up some leaks of text nodes by using nsCOMPtr.
r=jst sr=peterv
2002-12-19 20:23:57 +00:00
jkeiser%netscape.com cb84e04c70 Make GetType() return int instead of nsresult (bug 167762), r=peterl@netscape.com, sr=kin@netscape.com 2002-12-18 23:38:09 +00:00
jkeiser%netscape.com 1740b8e3f3 Make disabled selects select an initial option (bug 163437), r=peterl@netscape.com, sr=bzbarsky@mit.edu 2002-12-18 08:09:49 +00:00
nhotta%netscape.com dc755ed5d9 Adding a new interface to retrieve phonetic of input text,
bug 175937, r=brade, sr=kin.
2002-12-17 23:38:04 +00:00
nhotta%netscape.com d34b5dd6c1 Adding a new interface to retrieve phonetic of input text,
bug 175937, r=brade, sr=kin.
2002-12-17 21:03:56 +00:00
nhotta%netscape.com afa88bb8ed Adding a new interface to retrieve phonetic of input text,
bug 175937, r=brade, sr=kin.
2002-12-17 20:57:03 +00:00
brade%netscape.com 695f629d17 fix insert HR command for Midas (bug 183793; r=cmanske, sr=smfr) 2002-12-17 19:41:00 +00:00
peterv%netscape.com 3c53558ed3 Correct silly error in fix for bug 180709 (Update Mozilla to the DOM Level 2 HTML PR). r=sicking. 2002-12-17 19:35:03 +00:00
peterv%netscape.com 30bc21c754 Resurrecting file so I can work on it. Not part of the build yet. 2002-12-17 15:31:22 +00:00
peterv%netscape.com 74352f1e02 Fix for bug 180709 (Update Mozilla to the DOM Level 2 HTML PR). r=sicking, sr=jst. 2002-12-17 13:29:39 +00:00
jkeiser%netscape.com 6d05d293b0 Commit review comment change of jst's for bug 184294 (last commit), r=timeless, sr=jst@netscape.com 2002-12-17 04:55:53 +00:00
jkeiser%netscape.com c8e348b094 Check rv of GetNext() (fixes infinite loop), r=timeless, sr=jst@netscape.com 2002-12-17 04:35:52 +00:00
jkeiser%netscape.com 6ad65a28c6 Fire onchange *after* onclick for radios/checkboxes (bug 184192), r=rods@netscape.com, sr=jst@netscape.com 2002-12-17 04:31:21 +00:00
jkeiser%netscape.com 2de2d24266 Crasher on changing input type with JS (bug 175670), patch by Rick.Ju@sun.com, r=jkeiser@netscape.com, sr=bzbarsky@mit.edu 2002-12-16 23:49:16 +00:00
alexsavulov%netscape.com c1f87e4cbe Fix for bug 180341: form.submit submitts now sychronously in standard and
quirks mode. there is no NS_FORM_SUBMIT event firing in standard mode for
the form element so there is also no onSubmit event in standard mode anymore.
r= jkeiser sr= jst
2002-12-15 01:27:57 +00:00
jkeiser%netscape.com a866fc546f submit name/value pairs on submit, fix ebay crash (bug 184207), r=alexsavulov@netscape.com, sr=kin@netscape.com 2002-12-14 02:38:17 +00:00
bzbarsky%mit.edu 159f8a2812 Fix leak when loading standalone images. Bug 179498, patch by keeda@hotpop.com
(Harshal), r=jst, sr=bzbarsky
2002-12-13 23:53:43 +00:00
rbs%maths.uq.edu.au 5c9db7b7ec Refine the conversion of entities during serialization, b=169590, r=nhotta, sr=jst 2002-12-13 22:12:10 +00:00
jkeiser%netscape.com 15d60c8db3 Select not reframing when size changes (bug 170446), r=rods@netscape.com, sr=bzbarsky@mit.edu 2002-12-12 22:58:48 +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 3399eea621 And backing bug 182124 yet again... why is comet the _only_ tinderbox showing
the problem?
2002-12-11 12:42:50 +00:00
bzbarsky%mit.edu e81697ce7c relanding bug 182124 since it looks like comet was just noise and the other Ts
boxes that cycled with this show no problems...
2002-12-11 05:40:14 +00:00
bzbarsky%mit.edu 42d3fc3e74 Backing out bug 182124 because I think it caused Ts to go up... 2002-12-11 04:35:37 +00:00
bzbarsky%mit.edu f3c5ef51ac Chrome protocol handler should not munge URIs on channel open (and remove some
workarounds around that behavior).  Bug 182124, r=rjc, sr=darin
2002-12-11 03:29:27 +00:00
bzbarsky%mit.edu f6f9e3cc70 Resolve possible problem in the unlikely event that we kick off an async load
for a sheet and then kick off a sync load for the same sheet before the async
load completes...  Bug 183299, r=sicking, sr=peterv
2002-12-11 00:28:47 +00:00
caillon%returnzero.com 342abe6814 182954 - Convert content to use nsIPrefService, nsIPrefBranch, and friends.
r=sicking sr=peterv
2002-12-10 23:44:03 +00:00
alexsavulov%netscape.com daeb31ad2b d'oh, missed this in previous checkin for bug 183890 (mea culpa) 2002-12-09 19:15:52 +00:00
alexsavulov%netscape.com 0277d2e7d1 fix for bug 183890: this bug was introduced by the fix for bug 147878 that
is an addition to fix for bug 138957 (the form submission deferral in JS
handlers to wait for the return value.)
the current patch fixes the bug so that it resets mDeferSubmission false only
if we are in the NS_FORM_SUBMIT event preventig reseting in a bubling phase
of a possible onclick of a submit button/image.

r= jkeiser sr= jst a= brendan
2002-12-09 19:11:12 +00:00
jkeiser%netscape.com 8fa46fbfe6 Oog. Green and open not enough. jkeiser back self out, keep drivers from hitting with big rock. 2002-12-09 06:15:33 +00:00
jkeiser%netscape.com 4593aa5f46 Make select redisplay correctly when size changes between 1 and not-1 (bug 170446), r=rods@netscape.com, sr=bzbarsky@mit.edu 2002-12-09 06:02:00 +00:00
jkeiser%netscape.com 0c54ecf4c2 fix behavior (and crasher) when changing type during event handler (bug 175670), patch by Rick.Ju@sun.com, r=jkeiser@netscape.com, sr=bzbarsky@mit.edu 2002-12-09 05:56:58 +00:00
sicking%bigfoot.com a07e062737 Bug 178601: Fix recursion-crash by makeing sure to not reevaluate a script if the script moves its container element. Patch by Harshal (keeda@hotpop.com)
r=sicking sr=bz a=asa
2002-12-06 08:16:34 +00:00
bzbarsky%mit.edu 0bd1bf929d Fix crash in some icky document.write() cases.. We gotta stop blocking the
parser.  Bug 183784, r=sicking, sr=peterv, a=asa
2002-12-06 01:27:37 +00:00
bzbarsky%mit.edu 82b60aea48 I meant 8192 and typed 8092. r/sr/a=brendan 2002-12-05 06:36:18 +00:00
bzbarsky%mit.edu 1866641871 UTFInputStream does not do very good error-recovery, so always
use nsConverterInputStream instead.  Bug 183165, r=timeless, sr=sspitzer,
general approval=dbaron
2002-12-04 06:07:50 +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
alexsavulov%netscape.com 236482e13a Fix for bug 147878 - defer submission until onSubmit returns so we can
chose to submit name/value or the triggering element if the return is true.
r= jkeiser sr= jst
2002-12-03 23:06:34 +00:00
bzbarsky%mit.edu 229d7e68c8 Take out the hack added in bug 47846 to deal with the fact that Equals() did
not work on mailnews urls.  It works fine now (see bug 98626).

Bug 182248, r=bienvenu. sr=darin
2002-12-03 20:19:18 +00:00
bzbarsky%mit.edu 13b5c15201 ugh. Forgot this one line... 2002-12-03 08:29:35 +00:00
bzbarsky%mit.edu 3e31b94167 Change nsICSSLoader to nsAString instead of nsString (build bustage). 2002-12-03 06:46:46 +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
cbiesinger%web.de b3f0e1a8c2 bug 84756 patch by Harshal <keeda@hotpop.com> r=caillon sr=peterv
JS menu is destroyed during use
2002-12-01 13:54:39 +00:00
alexsavulov%netscape.com 5cc1ae7c24 Fix for bug 138957 - Submission triggering element must submit nam/value pair
if the submission is performed from onlcick and the handler retunrs true.
Introduced submission deferal to wait for the handler's return value.
r= jkeiser sr=jst
2002-11-30 00:01:21 +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
bzbarsky%mit.edu 37d1492f3b Remove fishy logic with the advisory type. Bug 155421, r=sicking, sr=dbaron 2002-11-27 03:42:37 +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
bratell%lysator.liu.se 7994d30d0c Bug 165893 - use cached nsParserService pointer instead of looking up the service everywhere. r=jst, sr=bzbarsky 2002-11-22 12:20:05 +00:00
darin%netscape.com d9541f875d fixes bug 157133 "HTTP Interfaces need to be frozen" r=dougt sr=bzbarsky 2002-11-22 07:40:16 +00:00
jfrancis%netscape.com 7020f27047 pay no attention to the man behind the curtain. 2002-11-22 05:40:10 +00:00
jfrancis%netscape.com 551794e4c1 more work on build bustage. 2002-11-22 04:45:25 +00:00
jfrancis%netscape.com 57890237d4 fixing build bustage 2002-11-22 04:29:15 +00:00
jfrancis%netscape.com 0c756dc3b3 fix for 142855: cf_html paste functionality. r=brade,cmanske; sr=kin 2002-11-22 03:30:59 +00:00
jst%netscape.com b129f6ff18 Fixing bug 181351. Making NS_NewTextNode() return an nsITextContent pointer in stead of reaturning an nsIContent pointer to avoid having to QI the new text node to set it's value. r=caillon@returnzero.com, sr=bzbarsky@mit.edu 2002-11-21 23:53:06 +00:00
jst%netscape.com 447d7e11ca Checking in keeda@hotpop.com's fix for bug 179461. Partially implement IE's select.options.add() method. No support for the optional second argument yet. r=caillon@returnzero.com, sr=jst@netscape.com 2002-11-20 22:36:36 +00:00
jst%netscape.com 2970b8921a Fixing bug 180816. Avoid construction of an nsAutoString every time we open a container in the sink when the nsAutoString is only needed when dealing with textarea tags. 2002-11-20 22:30:53 +00:00
caillon%returnzero.com 5a9f5e36a3 Fixing an NS_PRECONDITION to reference the correct variable. Followup to last night's checkin for bug 147189. r/sr=bzbarsky 2002-11-20 06:35:33 +00:00
rbs%maths.uq.edu.au dbd916ddc4 .innerHTML wasn't recovering &nbsp; and this was causing consumers such as View Selection Source to lose it, b=165686, r=jst, sr=bzbarsky 2002-11-20 01:47:06 +00:00
brade%netscape.com b533ffc17f bug 157111; add some new commands, remove unneeded Init call for editSession; r=cmanske, sr=sfraser 2002-11-20 01:22:17 +00:00
bzbarsky%mit.edu ab75327f3e Make nsILinkHandler take uris instead of strings. Bug 176904, r=darin, sr=jst 2002-11-20 00:44:26 +00:00
harishd%netscape.com 3b23a2feca Do not hold parser nodes, that do not contain residual style information, longer than necessary. By recycling the nodes earlier the number of malloc calls and the peak memory usage can be reduced. b=177994, r=heikki, sr=jst 2002-11-19 18:29:35 +00:00
bernd.mielke%snafu.de 72edc1148f limit the number of columns spanned, as a protection against suspicous html code, bug 86293, r=karnaze, sr=bzbarksy 2002-11-19 15:43:22 +00:00
bzbarsky%mit.edu b2a01de54e Report the unknown namespace when we have an unknown namespace error.
Bug 180852, r=dbaron, rs=roc+moz
2002-11-19 15:12:02 +00:00
bratell%lysator.liu.se 60ab58236e Bug 165893 - avoid refetching the parser service all the time. r=jst@netscape.com, sr=bzbarsky@mit.edu 2002-11-19 13:39:20 +00:00
caillon%returnzero.com 5586aa4d4a Attempt to fix nebiros bustage by moving style struct access into nsIInspectorCSSUtils
r/a=timeless,jkeiser,#mozilla
bug 147189
2002-11-19 07:41:07 +00:00
timeless%mozdev.org 0366284311 Bug 96229 keyboard (and right mouse in context menu) doesn't autocheck menuitem type="checkbox" and type="radio"
patch by neil@parkwaycc.co.uk r=aaronl sr=bz
2002-11-18 14:01:20 +00:00
peterlubczynski%netscape.com fce1225257 Fixing bug 173938 with a hack for full-page plugins to be destroyed before the frame. r=av sr=jst 2002-11-18 07:48:10 +00:00
dbaron%fas.harvard.edu f6b1702067 Consolidate all CSS pseudos and split them into three atom lists to distinguish between pseudo-classes, pseudo-elements, and fake-pseudo-elements used for anonymous boxes. b=147887 r,sr=roc,bz 2002-11-17 15:37:56 +00:00
timeless%mozdev.org 384066e98e Bug 58221 don't use strlen to check if a string is of length 0
patch by aaronl@vitelus.com r=timeless sr=bz
2002-11-17 05:16:49 +00:00
bzbarsky%mit.edu 86bf9601f7 Backing out alecf for now, since this change makes mailcompose crash
(and we don't want smoketest blockers, now do we?)
2002-11-16 12:07:13 +00:00
alecf%netscape.com 18bb1664d9 prep work for fixing bug 180379 - stop creating extra nsCSSSelectors - instead of creating them on the stack then copying them to the heap, start with them newly on the heap.
r=bzbarsky, sr=dbaron
2002-11-16 05:37:24 +00:00
brade%netscape.com 5472d1ac73 implement queryCommandEnabled (bug 179730, r=akkana, sr=peterv) 2002-11-13 15:23:03 +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
dbaron%fas.harvard.edu dc83a84103 Subclass the nsCSS* structs as nsRuleData* so members can be added to the latter without bloating the former, and to allow the former to go away eventually. Propagate whether a font family name comes from HTML through the style system and use it to set a bit on nsFont indicating that quirky behavior of Symbol fonts is acceptable. b=175372 r=bzbarsky sr=kin 2002-11-12 15:17:07 +00:00
brade%netscape.com 06987d3d49 check origin, disable paste and some other commands until security review, cmd mgr api changes, remove forced focus (bug 157117, r=mkaply, sr=sfraser) 2002-11-11 20:19:37 +00:00
bzbarsky%mit.edu 1bf04ab28d Allow list labels to be negative. Bug 56088, r=caillon, smontagu, sr=roc+moz 2002-11-09 18:33:37 +00:00
jkeiser%netscape.com 989812b7a9 Fix virtual destructor warning, bug 165647, r=dmose, sr=bz 2002-11-09 05:11:26 +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
bzbarsky%mit.edu bce74cf4fe fix leak of charset string. bug 176989, patch by keeda@hotpop.com,
r=peterv, sr=jst
2002-11-08 10:52:06 +00:00
mkaply%us.ibm.com 289b60535f Need PR_FALSE here - OS/2 bustage 2002-11-07 23:03:05 +00:00
brade%netscape.com cf20089514 extend the api for Midas functionality (bug 177700, r=akkana, sr=jst) 2002-11-07 15:38:35 +00:00
brade%netscape.com 9c7071dd54 add Midas functionality (bug 177700, r=akkana, sr=jst) 2002-11-07 15:36:25 +00:00
jdunn%netscape.com fcf9282b1d set initial w/h of Image() as "pixel" units
r=peterv@netscape.com
sr=jst@netscape.com
2002-11-07 14:02:21 +00:00
bzbarsky%mit.edu ce26335078 <form> with no action should submit to document uri, not base uri. Bug
171924, r=jkeiser, sr=peterv
2002-11-07 13:29:34 +00:00
glazman%netscape.com 97b31ac6fa fixing OS2VACPP bustage 2002-11-07 13:03:52 +00:00
glazman%netscape.com 42c451a055 fixing rpotts's seamonkey-ports bustage 2002-11-07 10:56:40 +00:00
bzbarsky%mit.edu 24c18f5078 er, and make it link too. 2002-11-07 06:47:45 +00:00
bzbarsky%mit.edu 55ea863223 fix build bustage on Linux 2002-11-07 06:39:39 +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
bzbarsky%mit.edu 38fa7c0f02 clean up some array stuff in nsDocument. Bug 177543, r=peterv, sr=alecf 2002-11-07 02:36:24 +00:00
bzbarsky%mit.edu 74a9b1ed3e Prioritize data-sniffing over extension-sniffing for ftp and http. Bug
177026, r=rpotts, sr=darin
2002-11-06 22:29:17 +00:00
seawood%netscape.com f9959bc296 Fix pointer casting for AIX 64-bit builds.
Thanks to Philip K. Warren <pkw@us.ibm.com> for the patch.
Bug #177906 r=cls sr=scc
2002-11-06 21:07:23 +00:00
glazman%netscape.com dd816389e5 CSS properties set to system colors were returning inconsistent values; b=172199, r=caillon, sr=peterv 2002-11-06 08:31:19 +00:00
bzbarsky%mit.edu 3478b258bb The "value" attribute should not be mapped into style. Bug 157210,
aptch by sicking, r=jst, sr=bzbarsky
2002-11-06 03:47:55 +00:00
bzbarsky%mit.edu fd71e8e971 fix regression in setting important property values in inline style via
DOM.  Bug 173767, r=caillon, sr=dbaron
2002-11-06 02:07:17 +00:00
bzbarsky%mit.edu f83e342a15 CheckLoadURI should use document uri, not base uri. Bug 177237,
r=mstoltz, sr=jst, a=blizzard
2002-11-05 03:45:28 +00:00
dbaron%fas.harvard.edu ee1ac12967 Back out patch for bug 161109 that implemented a pref for disabling marquee. b=161109 r=hixie a=asa 2002-10-30 14:31:32 +00:00
aaronl%netscape.com e4ed29682b Bug 176100. Tabbing out of file control text field selects text. r=jkeiser, sr=bzbarsky, a=roc+moz. Also fixes bug 132557 and bug 141310. 2002-10-30 07:34:42 +00:00
bryner%netscape.com 1a309e1f08 Fix a regression in dynamically setting the src of an image (bug 176926). r=hyatt, sr=bzbarsky, a=brendan. 2002-10-30 06:08:02 +00:00
bzbarsky%mit.edu 325b307026 Fix uri leak. Bug 176985, patch by Harshal <keeda@hotpop.com>,
r=peterv, sr=bzbarsky, a=roc+moz
2002-10-30 04:57:15 +00:00
bryner%netscape.com 419eabf9c4 Make sure a new image frame is constructed if the src of an image is changed and we don't have an image frame for the element (bug 228280). r=dbaron, sr=jst, a=dbaron. 2002-10-25 00:16:35 +00:00
darin%netscape.com 0194395e7e fixes bug 174984 "Prefetch requests should send Referer" r=gagan,mstoltz
sr=bzbarsky a=dbaron
2002-10-24 03:17:44 +00:00
dbaron%fas.harvard.edu 1539a9473b Testing backout of bryner's changes (bug 22820) to see if it fixes pageload regression. 2002-10-22 10:22:19 +00:00
bryner%netscape.com 83ed6ac394 If the "src" attribute is changed on an image, and we don't have an image frame, use NS_STYLE_HINT_FRAMECHANGE so that an ImageFrame is constructed and the image is loaded (bug 22820). r=dbaron, sr=jst, a=roc. 2002-10-22 05:30:05 +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
bzbarsky%mit.edu cd39dd8995 Margin/padding computations need to flush the reflow queue. Bug 173354,
r=caillon, sr=heikki, a=asa.
2002-10-16 03:38:52 +00:00
bzbarsky%mit.edu c55ea12003 Missed some of that bustage... 2002-10-16 03:07:37 +00:00
bzbarsky%mit.edu 645a3cb33e fixing build bustage... 2002-10-16 02:50:06 +00:00
kmcclusk%netscape.com 316ef47cb0 Fix sluggish UI during long page loads from local file or cache on WIN32 by setting plevent performance hint when there is user interaction r=rods sr=kin a=asa @173956 2002-10-16 02:13:48 +00:00
dbaron%fas.harvard.edu 3ad435a24c OK, over from snprintf to PR_snprintf. b=173837 2002-10-15 00:29:58 +00:00
dbaron%fas.harvard.edu 17ce8bf5d5 Maybe an explicit include of stdio.h will fix the myotonic bustage. b=173837 2002-10-15 00:20:45 +00:00
dbaron%fas.harvard.edu fc4297892b Add preference for whether to enable marquee, and set the default to disabled. b=161109 r=caillon sr=bzbarsky a=rjesup 2002-10-15 00:06:57 +00:00
dbaron%fas.harvard.edu 9c32fa806d Remove unused ability to optionally arena-allocate certain stylesheet objects. b=174256 r=kin sr=bzbarsky a=rjesup 2002-10-14 23:57:17 +00:00
dbaron%fas.harvard.edu cac2947037 Change sprintf to snprintf to avoid potential for buffer overflow. Untabify surrounding code. b=173837 r=heikki sr=bzbarsky a=rjesup 2002-10-14 23:49:48 +00:00
darin%netscape.com f8645f610d fixes bug 151478 "https wyciwyg page is cached on disk" r=mstoltz sr=rpotts a=asa 2002-10-11 04:22:54 +00:00
heikki%netscape.com 919aef29e4 Bug 172372, when loading XML as data, we need to disable scripts and styles. r=sicking, sr=bzbarsky, a=asa. 2002-10-11 00:38:29 +00:00
bzbarsky%mit.edu 093137e9f2 Make GetImportantRule and GetISupportsValue return already_AddRefed.
Bug 171808, r=jkeiser, sr=dbaron
2002-10-09 01:59:43 +00:00
bzbarsky%mit.edu 279ffda515 Make GetParent on nsStyleContext return an
already_AddRefed<nsIStyleContext>.  Bug 171808, r=jkeiser, sr=dbaron
2002-10-09 01:46:15 +00:00