Commit Graph

7861 Commits

Author SHA1 Message Date
alecf%flett.org
10e1d18eaf fix for bug 209780 - do UTF16->UTF8 conversion outside the recursion, so that we don't constantly convert the string we're looking for
r=dbaron, sr=jst
2003-06-23 18:32:10 +00:00
jshin%mailaps.org
d208f051a7 bug 206379 : additional patch : get rid of ResolveCharset() (static) and
rely on GetUnicodeDecoder() of nsICharacterSetConverterManager to take care of
the charset alias resolution. (r/sr=bzbarsky, sr=alecf)
2003-06-23 05:04:43 +00:00
caillon%returnzero.com
bdd9896fe3 [Bug 210254] nsEventListenerManager::mPrincipal is unused. Also reorganizes some members to better align them.
r+sr=bzbarsky.
2003-06-22 13:12:14 +00:00
bzbarsky%mit.edu
8d87ec2250 Seems to have no effect on Tp, so relanding. Who knows what btek is
thinking....
2003-06-22 06:34:08 +00:00
bzbarsky%mit.edu
16ff7adf5e Backing the rest of this out to see whether it affects Tp. 2003-06-22 03:33:33 +00:00
bzbarsky%mit.edu
35e16c1704 Backing out these last two checkins to see whether this is the cause of Tp troubles. 2003-06-22 01:13:59 +00:00
jst%netscape.com
2297bec5b0 Fixing typo in comment. 2003-06-21 18:03:15 +00:00
bzbarsky%mit.edu
a786eb9afb Only make the check for sameness if there are listeners or if we plan to fire
notifications.  Trying to fix small Tp regression. Bug still 209634, r=caillon,
sr=jag
2003-06-21 07:29:52 +00:00
dwitte%stanford.edu
b444fcb403 removing some unused default ctors now that nsDerivedSafe can handle it.
no bug, r+sr=bz
2003-06-21 07:01:42 +00:00
bzbarsky%mit.edu
1ba227c7d1 Make sure to fire no mutation events or internal notifications on attribute
changes that don't change the attr value.  Bug 209634, r=caillon, sr=jst
2003-06-21 04:55:32 +00:00
caillon%returnzero.com
e4c1e68fee Missing #include "nsReadableUtils.h" -- bustage fix from the recent checkin for bug 209699. 2003-06-21 04:05:10 +00:00
jst%netscape.com
06a1373cba Fixing orangeness. 2003-06-21 03:08:56 +00:00
jst%netscape.com
947ba67a9d Fixing one more part of bug 209699. Replace NS_Convert* with Copy/Append*. r=dwitte@stanford.edu, sr=alecf@flett.org. 2003-06-21 00:26:28 +00:00
caillon%returnzero.com
4cc64cee34 Bug 209852. Remove |dont_QueryInterface|.
r=dbaron, sr=jag
2003-06-21 00:15:41 +00:00
bryner%netscape.com
b0d40f3072 Always add nsXBLDocumentInfos to the bound document's binding manager, even if we also put it in the XUL cache. This prevents crashes when the XUL cache is flushed (bug 201103). r=jkeiser, sr=bzbarsky. 2003-06-20 23:33:43 +00:00
bzbarsky%mit.edu
f6e49f740f Check that we are HTML, in addition to checking namespace, before going
case-insensitive.  Bug 209271, r+sr=dbaron
2003-06-20 20:23:17 +00:00
dwitte%stanford.edu
eb7529542c removing some unused default ctors now that nsDerivedSafe can handle it.
no bug, r+sr=bz
2003-06-20 02:20:34 +00:00
brendan%mozilla.org
555de8f52e Use NS_REINTERPRET_CAST, not NS_STATIC_CAST, to go from void* native context type to opaque-here-without-jscntxt.h JSContext * (fixes HPUX build). 2003-06-20 01:47:31 +00:00
dbaron%dbaron.org
51e6755ccd Add nsIFrame::GetPresContext, which gets the pres context from the rule node which it gets from the style context. DeCOMtaminate nsStyleContext::GetRuleNode, nsRuleNode::GetRule, and nsRuleNode::GetPresContext. Remove unused nsRuleNode::PathContainsRule. b=208190 r+sr=roc 2003-06-20 01:22:44 +00:00
caillon%returnzero.com
675c637069 When comparing principals, callers should explicitly check if the subject principal is the system principal, if it cares that it is.
This fixes bug 209946, Copy doesn't work anymore.
r=bzbarsky, sr=jst
2003-06-19 23:59:24 +00:00
dbaron%dbaron.org
4afcaa0e69 DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc 2003-06-19 23:44:01 +00:00
brendan%mozilla.org
e66f3155de Don't include private and unnecessary js header files. 2003-06-19 23:13:59 +00:00
mkaply%us.ibm.com
e0dae80908 #188071
r=mkaply, sr=dbaron
Add a lookandfeel color for button default so it can be different than 3D shadow
2003-06-18 20:47:40 +00:00
dbaron%dbaron.org
146a7a98ed OOM check. r+sr=bzbarsky b=188803 2003-06-18 03:02:01 +00:00
dbaron%dbaron.org
fe7914e2c9 Make CSSStyleRuleImpl immutable by changing mutation code (including some merging of code between nsDOMCSSAttributeDeclaration and DOMCSSDeclarationImpl) so that it creates a new rule for the modified declaration. Change StyleRuleChanged notification signatures, and change pres shell's handling of style rule change, addition, and removal to just do reresolution. Remove fine-grained ways of clearing style data. Change PeekStyleData so it doesn't do more work than it needs to, and can be relied on not to access rules that no longer match any content. b=188803 r+sr=bzbarsky 2003-06-18 01:59:57 +00:00
kaie%netscape.com
d97ffb1f6e Follow up patch to bug 183582.
This was requested in order to get sr= for the previous checkin.
I'm checking this in as a separate step, to make the real
logic change easier recognizable.

This checkin does not change any logic.
It only moves methods around in the file.

sr=sfraser
2003-06-17 22:35:01 +00:00
kaie%netscape.com
3d5beebcad b=183582 HTML Drop does not provide contextual info
r=jfrancis sr=sfraser
2003-06-17 22:26:07 +00:00
bryner%netscape.com
97504df874 Remove unused content code. Bug 207021, r=jst, sr=alecf. 2003-06-17 17:53:06 +00:00
alecf%flett.org
b7fa256d74 fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org
2003-06-17 16:40:34 +00:00
dbaron%dbaron.org
4b4e411eac Rename nsILink::GetHrefCString to GetHrefUTF8 to clarify prior change in semantics. Remove duplication of code to implement it. Fix some incorrect conversions that were still assuming it was ASCII. Remove vestigial |aOuter| parameter to nsGenericHTMLElement::HandleDOMEventForAnchors. b=209566 r+sr=jst 2003-06-17 16:22:51 +00:00
bzbarsky%mit.edu
ce4d5d65e4 Backing out fix for bug 22480 to fix regression bug 209504. 2003-06-16 23:40:13 +00:00
caillon%returnzero.com
7a80f56a23 209583 - Fix a regression where XMLDocument.getElementByID() was broken
r+sr=bzbarsky
2003-06-16 21:47:16 +00:00
aaronl%netscape.com
fccde7c7eb Bug 208460. Remove nsIDOM3Node.idl dependency from nsIDOMNode.idl 2003-06-16 11:17:18 +00:00
aaronl%netscape.com
33acdf0fed Bug 174910. Mutation events inside anchors not propogated up tree. r=bryner, sr=jst 2003-06-16 10:37:59 +00:00
caillon%returnzero.com
cd42d2a397 209494 - use nsCOMPtr::swap() in a few loops
r+sr=bzbarsky@mit.edu
2003-06-16 00:14:23 +00:00
bzbarsky%mit.edu
07e5c2b8d1 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
62e2add875 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
39d390d27f 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
e49f24690b 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
9be8a64b7e Fix crash introduced by changes earlier today. b=209087 2003-06-14 03:47:13 +00:00
caillon%returnzero.com
831a474d17 Fixing some bustage for cocoa and debug builds 2003-06-13 22:02:42 +00:00
caillon%returnzero.com
2df173e9c8 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
samuel%sieb.net
f18000519f Bug 205850 - add "rightmargin" and "bottommargin" keywords
r+sr=bz
2003-06-13 05:00:35 +00:00
harishd%netscape.com
85570db892 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
c0d2e93d73 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
73cdfadc6a Fix silly mistake. b=209091 r+sr=bzbarsky 2003-06-12 00:03:32 +00:00
alecf%flett.org
2751c6b097 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
leon.zhang%sun.com
a0b6278dce Bug 207936:[trunk] JA IME: cursor position is off before and after text is committed
r=sfraser sr=kin
2003-06-11 03:29:59 +00:00
varga%netscape.com
91245bd20d Fix for bug 208912. DOMParser produces documents with about:blank uri.
r=heikki, sr=peterv
2003-06-10 23:31:07 +00:00
dbaron%dbaron.org
4919c99863 Fix minor inconsistency between functions. b=208548 r+sr=bzbarsky 2003-06-10 22:09:58 +00:00
dbaron%dbaron.org
439819ce83 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
97649bab86 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
38615ac8d3 add functionality to gethtml (cmd_getContents) using queryCommandValue; r=mkaply, sr=smfr, bug=208467 2003-06-10 21:12:29 +00:00
seawood%netscape.com
b28ce0a530 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 20:12:33 +00:00
mkaply%us.ibm.com
3bee9239aa #90459
r=sicking, sr=peterv
DOM support missing for ondblclick = functionname
2003-06-10 18:33:58 +00:00
dbaron%dbaron.org
fffd412151 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
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
57174ecf3a Fix bustage on compilers with broken for loop scoping. b=125246 2003-06-08 00:36:08 +00:00
dbaron%dbaron.org
91c1698053 VC++ doesn't seem to like empty arguments to macros. Fixing bustage. b=125246 2003-06-07 23:29:05 +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
jst%netscape.com
7fdf91f08e Fixing bug 207563. Make reparenting of wrapper for content nodes that are not part of a document work correctly. r=caillon@aillon.org, sr=peterv@netscape.com, a=brendan@mozilla.org, adt@netscape.com 2003-06-05 20:33:38 +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
bsmedberg%covad.net
978e0a964c Bug 208111 - Remove nsIDocument::GetArena which is unused. r=sicking sr=peterv 2003-06-04 13:10:02 +00:00
timeless%mozdev.org
4d465226f7 Bug 207603 nsXULDocument should CallGetService kXMLElementFactoryCID
r=peterv sr=peterv
2003-06-01 14:59:21 +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
brendan%mozilla.org
eec1202138 Crash fix: Use the current proto-doc's global object, not the possibly-null window global, when compiling overlay out-of-line scripts (204935, r=ben, sr=jst). 2003-05-30 06:30:27 +00:00
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
mstoltz%netscape.com
5cf6b5c420 Bug 180748 - call CheckLoadURI when loading remote scripts from XUL. r=heikki, sr=brendan 2003-05-29 23:22:21 +00:00
bryner%netscape.com
5090c7bf22 Bug 197136, <button> elements should be Aqua bevel buttons for Cocoa. Add a new -moz-appearance value, button-bevel. Also, fixed a problem that caused the button in a file input control to change size when it was focused. r=pinkerton, sr=sfraser. 2003-05-29 22:39:05 +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
83f2065eab Bug 207336 Should nsXULDocument GetService kHTMLElementFactoryCID like everyone else?
r=bz sr=bz
2003-05-28 22:34:24 +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
bryner%netscape.com
71ccaa995c Fix some cases where the caret could be blinking in the URL bar but focus is actually elsewhere. Bug 89214, r=jkeiser, sr=jst. 2003-05-27 22:47:21 +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
cbiesinger%web.de
85fbe5da58 204386 r+sr=bz Allow setting Image.src to empty 2003-05-25 20:43:08 +00:00
aaronl%netscape.com
ef71f3a441 Bug 204777. Prevent backspace to send us back in history in general embedded case. r=brade, sr=sfraser 2003-05-25 19:39:21 +00:00
brendan%mozilla.org
b97f6a85da Share a system global and system principal among all chrome:-loaded prototype documents (204145, r=ben, sr=bryner). 2003-05-24 02:14:23 +00:00
timeless%mozdev.org
405bacde39 Bug 205358 warning: comma at end of enumerator list (nsTabFocusModel)
r=aaronl sr=jst
2003-05-23 22:10:03 +00:00
timeless%mozdev.org
bf84b28858 Bug 204405 warning: unused variable `PRUnichar nullChar' in nsNodeInfo::Equals
r=peterv sr=peterv
2003-05-23 22:00:31 +00:00
caillon%returnzero.com
ce0d95233e 206835 - debug code should be #ifdef DEBUG
r=timeless sr=jst
2003-05-23 21:59:08 +00:00
dwitte%stanford.edu
270d3909ca bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.
2003-05-23 21:34:47 +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
varga%netscape.com
61a6cd0fb0 Fixing OS/2 bustage. 2003-05-23 13:04:24 +00:00
varga%netscape.com
717feaab4a Landing bookmarks changes.
Bug 205378 - Meta bug for changes in bookmarks sorting code
r=jag, sr=sspitzer, a=sspitzer,asa

The CloneResource() has been back ported from Firebird, originally
implemented by Pierre Chanial.
2003-05-23 12:03:40 +00:00
kaie%netscape.com
b902f313ef b=200582 No line wrap for text without spaces in nsHTMLContentSerializer.cpp
r=jst sr=peterv a=asa
2003-05-23 05:59:56 +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
brendan%mozilla.org
961716913a Include primary package locale as well as chrome path in the FastLoad file, so locale-switching invalidates any incompatible file (189870, r=jrgm, sr=ben, a=asa). 2003-05-22 04:09:34 +00:00
roc+%cs.cmu.edu
f5b886b9cd Bug 202681. Do not recreate frames during reflow via -moz-binding change for lazy scrollbars. Instead of lazy scrollbars, completely remove the anonymous scrollbar element for scrollbars which are disabled by CSS. r+sr=dbaron,a=asa 2003-05-22 01:46:13 +00:00
hpradhan%hotpop.com
1ac147ff97 bug 148636 : reduce memory usage in xbl when rendering with lots of form elements r=jkeiser sr=bryner a=asa 2003-05-21 03:14:47 +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
jkeiser%netscape.com
d484da106e Fix drag and drop to/from textarea and input (bug 194802), r=bryner@netscape.com, sr=jst@netscape.com, a=sspitzer@netscape.com 2003-05-21 00:42:32 +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
caillon%returnzero.com
59565080be 205225 - document.createTreeWalker(null, ...) wasn't null checking.
r=sicking sr=jst a=asa
2003-05-17 13:57:16 +00:00
aaronl%netscape.com
653e5df5d2 Bug 185846. Create ISimpleDOMText for accessibility API support of pieces of text smaller than a node. r=bolian, sr=alecf, a=asa 2003-05-17 09:00:57 +00:00