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

3558 Коммитов

Автор SHA1 Сообщение Дата
bzbarsky%mit.edu 9ac0623eb0 Backing out fix for bug 22480 to fix regression bug 209504. 2003-06-16 23:40:13 +00:00
aaronl%netscape.com 5df2312334 Bug 208460. Remove nsIDOM3Node.idl dependency from nsIDOMNode.idl 2003-06-16 11:17:18 +00:00
aaronl%netscape.com e034e06284 Bug 174910. Mutation events inside anchors not propogated up tree. r=bryner, sr=jst 2003-06-16 10:37:59 +00:00
bzbarsky%mit.edu 468a436ddb Prevent <font>'s color attribute from wiping out its text-decoration style.
Bug 149106, r+sr=dbaron
2003-06-15 02:06:25 +00:00
bzbarsky%mit.edu 3cda5723a2 Make <form><p></form> actually close out the form, since <p> has an optional
end tag.  Bug 22480, r=harishd, sr=heikki.
2003-06-15 00:49:57 +00:00
dbaron%dbaron.org 47ed1de93c Create only one CSSStyleRuleImpl per rule rather than one per comma-separated selector to fix CSSOM compliance bugs and make rule immutability easier. Store list of selectors on the CSSStyleRuleImpl, each with their own weight. b=98765 r+sr=bzbarsky 2003-06-14 23:50:54 +00:00
bzbarsky%mit.edu 04ce2e2b55 CSS3 Selectors is now in CR, so we can change -moz-hsl() to hsl(). Bug 208159,
r+sr=dbaron
2003-06-14 20:44:26 +00:00
dbaron%dbaron.org 9664c413c9 Fix crash introduced by changes earlier today. b=209087 2003-06-14 03:47:13 +00:00
caillon%returnzero.com 8203b43b98 Fixing some bustage for cocoa and debug builds 2003-06-13 22:02:42 +00:00
caillon%returnzero.com ba75de772b Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
samuel%sieb.net a3d8d2634c Bug 205850 - add "rightmargin" and "bottommargin" keywords
r+sr=bz
2003-06-13 05:00:35 +00:00
harishd%netscape.com 5d5585b629 Grant access to SOAP response document's properties and also allow the document to be serializable. b=193953, r=heikki@netscape.com, sr=jst@netscape.com 2003-06-12 20:18:34 +00:00
caillon%returnzero.com b56a675840 Bug 209133
Make |Node| from script recognize constants defined in nsIDOM3Node.
Move DOM3 constants over to nsIDOM3Node.
Update the names and values to reflect the latest draft of the DOM 3 Core (Last Call)

r=timeless sr=jst
2003-06-12 02:54:16 +00:00
dbaron%dbaron.org 4135299dbf Fix silly mistake. b=209091 r+sr=bzbarsky 2003-06-12 00:03:32 +00:00
alecf%flett.org ccf01a2786 fix for bug 206379:
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser
2003-06-11 18:16:03 +00:00
dbaron%dbaron.org f774ff7ebb Fix minor inconsistency between functions. b=208548 r+sr=bzbarsky 2003-06-10 22:09:58 +00:00
dbaron%dbaron.org 0584c9a28a Make nsCSSDataBlock::Clone work correctly. Fix uninitialized variable warning. b=208872 r+sr=bzbarsky 2003-06-10 22:08:40 +00:00
seawood%netscape.com 8f112a4226 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
brade%netscape.com ed8c08834d add functionality to gethtml (cmd_getContents) using queryCommandValue; r=mkaply, sr=smfr, bug=208467 2003-06-10 21:12:29 +00:00
dbaron%dbaron.org 7743fb4531 Add nsILink back to the QueryInterface implementation to fix :link matching LINK. b=208588 Patch from Mats Palmgren <mats.palmgren@bredband.net>. r+sr=dbaron 2003-06-08 19:53:55 +00:00
dbaron%dbaron.org bb6b688862 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 f3a00bc53b 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 5826d43c42 #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 85bf83d3ee 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 a8005a1108 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 1decc3f74c 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 a08103427a big part of fix for bug 101995 - remove bookmarks dependency from nsHTMLDocument 2003-05-29 22:11:23 +00:00
jst%netscape.com 8d1af18041 Fixing build bustage. 2003-05-29 02:07:35 +00:00
jst%netscape.com 95eabc21fe 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 6dc35bde65 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 9fcdb5a87e 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 1e45eadc55 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 148959d202 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 9b6df1f793 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 30158ff255 #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 4655878078 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 eba53292ac 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 f8491914bd 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 a15b9f2cf4 Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan 2003-05-15 03:42:21 +00:00
bryner%netscape.com 1f825a535d 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 ea695f91ea 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 be265c3ef9 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 198273d647 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 a7a9655ce4 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 bf7177a438 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 05096034d5 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 72f1681e64 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 3e155b335e 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 2aa9cb3461 bug 145577: scrollHeight/scrollTop not supported on textareas r=jkeiser sr=jst 2003-04-22 03:38:16 +00:00
hpradhan%hotpop.com 1f9afea9ff bug 172298: onselect="this.select();" in textarea causes crash r=jkeiser sr= kin 2003-04-22 03:27:24 +00:00
bzbarsky%mit.edu de70a5e3b9 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 6da7d33496 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 342965f108 Move document.lastModified up onto nsIDOMNSDocument; refactor the
RetrieveRelevantHeaders stuff a bit.  Bug 192366, patch by Pratik
<psolanki@netscape.net>, r=bzbarsky, sr=jst
2003-04-19 16:53:44 +00:00
jst%netscape.com 3ce5ccf835 Fixing bug 111514. In an XHTML document served as application/xhtml+xml, |document| is not an HTML document object, but an XML document object. r=bugmail@sicking.cc, sr=peterv@netscape.com 2003-04-19 00:28:09 +00:00
bzbarsky%mit.edu cc6ec6a6e4 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 a9be8bd59f 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 2e9a81bdd3 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 ab99b2472a argh, back myself out - I'm crashing on startup now! :( 2003-04-16 18:55:56 +00:00
alecf%netscape.com 47a1b65643 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 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
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
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
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
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
seawood%netscape.com 977c4f3aaa Remove unneeded xp_path.h reference
Bug #171883
2003-04-04 08:26:27 +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 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
seawood%netscape.com de59dbee4b Purge XP_PC.
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +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
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
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
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
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 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
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
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
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 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 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
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
mkaply%us.ibm.com 2ea5161b4a #198036
r=blizzard, sr=kin 
Uninitialized variable
2003-03-18 22:18:10 +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
bzbarsky%mit.edu f46e288da3 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 c53fa07cb2 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 91b905b643 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 d3743a35e8 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 74bc4b1058 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 7acdbf095e 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 c8bfe97f4b 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 dd3abec593 Avoid possible double-delete of CSS declaration. Bug 196271, r+sr=dbaron 2003-03-17 03:46:17 +00:00
bzbarsky%mit.edu f2b7f6eacc Make all CSSStyleSheets have a useful mDocument so that they can pass change
notifications properly.  Parent sheets are responsible for keeping their kids'
mDocument pointers up-to-date.  Bug 194543, r=dbaron, sr=peterv
2003-03-17 03:44:02 +00:00
dbaron%dbaron.org aaebee1f47 Fix operator precedence error in previous patch (which I reviewed, eek!). b=197277 2003-03-16 01:03:20 +00:00
dougt%netscape.com be629223b6 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 67c60923e6 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 e5056bee26 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 3c1739e1d7 Make :target work for history loads too. Bug 197277, r+sr=dbaron 2003-03-14 01:16:31 +00:00
dbaron%dbaron.org 72fc01e4d8 Make HTMLDocumentColorRule immutable. b=196795 r+sr=bzbarsky 2003-03-13 15:30:32 +00:00
dbaron%dbaron.org 5e4a305ea0 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 98a2c50cf4 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 1e5253086e bug 196662 : remove some obsolete code in nsHTMLFragmentContentSink r=harishd sr=jst 2003-03-11 04:38:07 +00:00
jkeiser%netscape.com 079fccd4ca Collapse redundant table attr code (bug 191414), r=bernd, sr=bzbarsky 2003-03-10 19:01:25 +00:00
roc+%cs.cmu.edu 7770b1327a Bug 195883. %-values are not valid for '-moz-opacity'. 2003-03-08 03:08:25 +00:00
pavlov%netscape.com 316990e8f9 checking in fix for bug 196130 2003-03-06 23:03:49 +00:00
suresh%netscape.com 4686a0d815 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 da409bcb97 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 10896ad3c4 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 3c6ce196c4 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 b3d575fd9b Fix for bug 195153 (Remove bogus 'extern' decls from NS_New* functions.). Patch by jst, r=sicking, sr=peterv. 2003-03-05 15:08:41 +00:00
kyle.yuan%sun.com 69dac37f2b 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 dbd677be29 #192355
r=mstoltz, sr=heikki
Add security for accessing clipboard via Javascript
2003-03-04 13:56:36 +00:00
sicking%bigfoot.com 552cae4e4f 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 e1e801b951 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 9516665b94 Silly whitespace changes, no code changes. 2003-02-27 01:03:57 +00:00
jst%netscape.com 5a942f3362 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 7267f149a3 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 3b97b5e3fb Fix bustage. b=167415 2003-02-23 05:36:40 +00:00
bzbarsky%mit.edu 9694162f77 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 875a3154f2 Bug 194266: Removed extraneous Truncate() calls.
r=smontagu, sr=jst
2003-02-22 20:05:00 +00:00
bzbarsky%mit.edu 6f6b961031 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 f90fc836b3 Fix bugs with removal of certain properties. b=182294 r+sr=bzbarsky 2003-02-22 19:23:46 +00:00
dbaron%dbaron.org d8ce457477 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 7e586675e3 Fix dynamic change bugs by making HTMLColorRule immutable. b=99850 r+sr=bzbarsky 2003-02-22 19:15:46 +00:00
dbaron%dbaron.org c32b76ad84 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 d6bc81b26f 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 754d904cda Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst 2003-02-22 15:34:38 +00:00
kyle.yuan%sun.com 6f5eec3c1e 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 cc390fbe51 Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron. 2003-02-22 00:32:13 +00:00
brade%netscape.com ecb6f5f49e fix typo in cmd_selectAll (r=akkana, sr=smfr, a=Asa) bug 193763 2003-02-19 13:55:29 +00:00
jshin%mailaps.org d17b8d5ad8 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