bzbarsky%mit.edu
c0d3c15a88
DOM properties that return URIs should return absolute URIs when they
...
are accessed (even if the corresponding attribute value is a relative URI).
Bug 47534, r=caillon, sr=jst
2003-07-08 05:35:04 +00:00
bzbarsky%mit.edu
0c5dc097d7
Don't bother reresolving style when empty stylesheets get added (eg from empty
...
<style> elements). Also remove the methods for blowing away the ruletree
during a style reresolve, since ruletrees are now garbage-collected. Bug
196557, r+sr=dbaron
2003-07-04 01:44:24 +00:00
bzbarsky%mit.edu
10600c0acd
Add support for '::' notation for CSS pseudo-elements (bug 62843). Drop
...
selectors containing unrecognized pseudo-classes and pseudo-elements (bug
145968). Fix some CSS rules in quirk.css and xul.css that were bogus (no
bug). Patch in bug 62843. r+sr=dbaron
2003-07-04 01:33:10 +00:00
caillon%returnzero.com
3659da7f9c
Fixing member re-ordering warnings. r+sr=jst@netscape.com; No bug.
2003-07-03 23:33:36 +00:00
bzbarsky%mit.edu
a44b082965
Pass the right document to ParseColor() even when the node is not in a
...
document. Bug 211440, r=jkeiser, sr=jst
2003-07-03 20:37:04 +00:00
bzbarsky%mit.edu
81acd2c428
Return already_AddRefed instead of a raw addrefed pointer. Bug 211195, r+sr=bryner
2003-07-03 20:34:52 +00:00
bzbarsky%mit.edu
49a70c351d
Random array and already_AddRefed magic in XML content sink. Bug 211196,
...
r=caillon, sr=jst
2003-07-03 05:34:26 +00:00
bzbarsky%mit.edu
ccf7f1204b
Follow-up tweak to bug 211030, r+sr=jst
2003-07-03 02:52:29 +00:00
bzbarsky%mit.edu
ddefad53cd
Fix crash on fetching rowIndex of a row that's not in a table. Bug 211357, r+sr=jst
2003-07-03 02:47:33 +00:00
bzbarsky%mit.edu
0b0c3f7646
Add nsIContent::GetBaseURL; get rid of similar functions on nsIXMLContent and
...
nsIHTMLContent. Bug 209573, r=caillon, sr=jst.
2003-07-03 02:45:34 +00:00
caillon%returnzero.com
a9bfdfc246
Bug 210556 - Plaintext serialization with no formatting whatsoever should be possible.
...
This makes Node.textContent behave as defined in the DOM Level 3 draft.
r=harishd@netscape.com sr=jst@netscape.com
2003-07-03 00:34:34 +00:00
dbaron%dbaron.org
29254c752a
Remove hints from CSS property list. b=158713 r+sr=bzbarsky
2003-07-02 22:17:23 +00:00
dbaron%dbaron.org
b10e90f02b
Remove remaining user of CSS-property-based style hints. b=158713 r+sr=bzbarsky
2003-07-02 21:05:09 +00:00
bzbarsky%mit.edu
76858d0dcb
Adjust hack dealing with the root scrollable frame to only map <body> to it in
...
quirks mode and to map <html> to it in both quirks and standards mode. This is
more or less compatible with what IE6/Windows does. Bug 211030, r+sr=jst
2003-07-01 23:47:27 +00:00
bzbarsky%mit.edu
648fe5ca55
Make it possible to set attrs in a non-null namespace on (X)HTML elements. Bug
...
211296, r+sr=jst
2003-07-01 23:32:18 +00:00
bryner%netscape.com
dfd3c1dd7a
Fix some issues related to focus changes in onfocus and onblur handlers:
...
- Abort firing blur events on the document and/or window if one of the blur handlers focuses something else. This ensures that the caret doesn't get confused about whether it should be active.
- Release any mouse or key grab when the view manager sees a deactivate event; this fixes event targeting when a mousedown handler opens a modal dialog.
- Make sure the editor element is actually focused before activating the caret. Just receiving a focus event isn't good enough, since a focus change does not cancel propagation of the original event.
Bug 53579, r=jkeiser, sr=roc.
2003-07-01 22:46:55 +00:00
timeless%mozdev.org
7146549efc
Bug 211281 optimization for 'rare' oom check
...
r=bz sr=bz
2003-07-01 18:41:39 +00:00
bzbarsky%mit.edu
e03846f19f
removing unused string var
2003-07-01 14:59:12 +00:00
bzbarsky%mit.edu
fd57f310f1
Change GetHrefUTF8 to GetHrefURI to make sure that we don't lose track of the
...
origin charset. Bug 166996, r=dbaron,darin sr=jst
2003-07-01 02:59:54 +00:00
dbaron%dbaron.org
c00fbe09c4
Clean up EnsureBlockDisplay and make it do the right thing for inner table display types. b=210873 r+sr=bzbarsky
2003-06-30 21:48:56 +00:00
dbaron%dbaron.org
97c994908a
Remove change hints from CSS parser and replace with boolean indicating whether there was a change, computed a much simpler way. b=158713 r+sr=bzbarsky
2003-06-30 21:39:22 +00:00
dbaron%dbaron.org
ef811ed02b
Fix crash bug 209575 by ensuring that mDeclaration is never null. Remove unneeded null checks. r+sr=bzbarsky
2003-06-30 21:31:25 +00:00
dbaron%dbaron.org
a835d37852
Fix missing AddRef that was causing crashes in inspector. b=208190 r+sr=roc
2003-06-27 21:06:45 +00:00
jkeiser%netscape.com
78ba276e17
Make NOSCRIPT show up normally when script disabled (bug 77296), r=bzbarsky@mit.edu, sr=dbaron@dbaron.org
2003-06-26 06:10:03 +00:00
jst%netscape.com
5132df367b
Fixing more of bug 209884. Same change that was done all over the place in the original patch, sr=me.
2003-06-25 23:59:34 +00:00
neil%parkwaycc.co.uk
44cffa15b1
Bug 209911 XUL tree blob sort ignores sort direction r=varga sr=jag
2003-06-25 08:46:31 +00:00
rbs%maths.uq.edu.au
a3601b3e47
Helper patch for bug 15364. Expose an API to allow scripts to show the caret even in selections (a la Emacs). Users can also set the pref ui.caretVisibleWithSelection to 1, which gives a nice combination with caret browsing (hit F7). r=sfraser, sr=bzbarsky
2003-06-25 01:14:25 +00:00
caillon%returnzero.com
51b0528644
210451 - Make Node.textContent settable, followup to earlier checkin.
...
r+sr=jst@netscape.com
2003-06-24 23:05:59 +00:00
jst%netscape.com
abefba9053
Fixing bug 209884. Writing an inline helper to safely get an nsIScriptContext from a JSContext and making direct callers of JS_GetContextPrivate() use the helper. r=caillon@aillon.org, sr=peterv@netscape.com
2003-06-24 21:43:01 +00:00
caillon%returnzero.com
fd98991136
210451 - Implement getting Node.textContent (see the DOM3 WD)
...
r+sr=jst@netscape.com
2003-06-24 21:39:39 +00:00
roc+%cs.cmu.edu
542467a8bd
deCOMtaminate nsIFrame::GetWindow; the COM wrapper doesn't ADDREF when it should, the easiest thing to do is to just not use the wrapper. r+sr=dbaron
2003-06-24 13:39:15 +00:00
bzbarsky%mit.edu
938220298d
Add asserts on people attempting to fetch attributes in the
...
kNamespaceID_Unknown namespace or call HasAttr on such. Bug 210314, r+sr=jst
2003-06-24 06:45:34 +00:00
dbaron%dbaron.org
1ce98378e3
Fix windows bustage. b=188803
2003-06-24 06:20:18 +00:00
dbaron%dbaron.org
06bb24f863
Implement the DOM interfaces for CSS style rules on a wrapper object which allows the immutable rule object to be swapped out underneath. b=188803 r+sr=bzbarsky
2003-06-24 05:40:37 +00:00
dbaron%dbaron.org
6a1ab46ff2
Fix dynamic changes to negated attribute or state selectors. b=210458 r+sr=bzbarsky
2003-06-24 05:34:30 +00:00
jst%netscape.com
6ec7a0e4d1
Fixing bug 210443. Cut down on the malloc's done when loading images. r=caillon@aillon.org, sr=bzbarsky@mit.edu.
2003-06-24 05:32:59 +00:00
bzbarsky%mit.edu
61a6512de2
Fix matching when attribute selectors with "*" as a namespace are involved.
...
Bug 210314, r+sr=dbaron
2003-06-24 04:50:05 +00:00
bzbarsky%mit.edu
3906cefb0c
Make XBL methods and properties report useful line numbers and urls so that the
...
JS errors/warnings in the JS console point to the right place. Bug 127567,
r=bryner, sr=alecf
2003-06-24 01:20:40 +00:00
bzbarsky%mit.edu
f75f9017d9
Make setting contentType or contentCharset act as hints if done before channel
...
open; use this in the CSSLoader to hint that we want text/css data. Bug
120789, r=dougt, sr=darin
2003-06-23 21:00:46 +00:00
bsmedberg%covad.net
1a9cab373f
Bug 210337 - Spring cleaning of unused XPCOM code and callers r/sr=alecf/bz
2003-06-23 20:31:43 +00:00
bzbarsky%mit.edu
46701a74ea
Fix some DEBUG_bzbarsky code people didn't bother to update. r+sr=whatever
2003-06-23 18:34:02 +00:00
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
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
dbaron%dbaron.org
5cee333241
Fix regression that text zoom was broken on text fields on Windows. b=205534 r+sr=roc a=asa
2003-05-14 22:37:57 +00:00
bryner%netscape.com
95b238b1d0
Don't throw an exception if asked for nsIDOMPopupBlockedEvent properties on a non-popupblocked event. Bug 204138, r=danm, sr=jst, a=asa.
2003-05-14 22:05:50 +00:00
jkeiser%netscape.com
a964f3a0c9
Fix crash dragging bookmarks (bug 204781), bryner@netscape.com's patch, r=jkeiser@netscape.com, sr=jst@netscape.com, a=asa
2003-05-14 00:56:17 +00:00
jgaunt%netscape.com
d657abc98d
bug 201166 allow XBL elements to QI to base interfaces
...
r=bryner sr=jst a=asa
2003-05-13 23:27:33 +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
aaronl%netscape.com
16a07f473a
Bug 204204. Crash in editor when shift-tabbing out of html editor. r=brade, sr=bryner, a=asa
2003-05-11 21:14:07 +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
fba31f0405
Fixing bug 93015. Making sure image that start loading before the page is done loading get added to the documents load group to prevent the page's onload handler from running before the image's onload handler runs. r=pavlov@pavlov.net, sr=darin@netscape.com, a=sspitzer@netscape.com
2003-05-09 20:42:49 +00:00
brade%netscape.com
0f98e1c43e
api change to include event (similar to paste/drop hook); r=cmanske, sr=sfraser, a=asa bug=203365
2003-05-09 18:30:02 +00:00
brade%netscape.com
4a4f3ae709
api change to include event (similar to paste/drop hook); r=cmanske, sr=sfraser, a=asa
2003-05-09 18:26:47 +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
smontagu%netscape.com
1d28d1dc0e
Don't do numeric substitution in Arabic text by default. Bug 181711, r+sr=rbs, a=asa.
2003-05-08 18:38:19 +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
jst%netscape.com
ad6f529639
Fixing bug 116598. Making document.lastModified = now() if the server doesn't send a last-modified header. This makes us compatible with IE. r=caillon@returnzero.com, sr=bzbarsky@mit.edu, a=asa@mozilla.org
2003-05-06 00:45:54 +00:00
jkeiser%netscape.com
687d4c8391
Fix crash when mouseovering things that disappear (bug 196012), r=peterl@netscape.com, sr=bryner@netscape.com, a=asa
2003-05-06 00:03:15 +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
peterv%netscape.com
f9585fa161
Part of fix for bug 203192 (Improvements to XSLT loading). r=sicking, sr=jst, a=asa.
2003-05-05 09:17:36 +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
jkeiser%netscape.com
2b42436f84
Fix crash dragging stuff (bug 202843), r=sfraser@netscape.com, sr=bryner@netscape.com, a=asa
2003-05-03 01:29:41 +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
cbiesinger%web.de
4a19167b35
204072 r+sr=bz a=sspitzer Cache IOService and imgILoader in nsImageLoadingContent
2003-05-02 19:21:00 +00:00
bryner%netscape.com
b85c8c81cb
Slight optimization to my last checkin - gotDragDelta is unnecessary, since pixelThresholdX is guaranteed to be set to a non-zero value the first time this block of code runs. Part of bug 201342, r=blizzard, sr=sfraser.
2003-05-02 19:10:18 +00:00
bryner%netscape.com
12279edad4
Use system metrics when available, and observed platform behavior otherwise, for determining the threshold to begin a drag. Bug 201342, r=blizzard, sr=sfraser, a=sspitzer.
2003-05-02 18:20:38 +00:00
bryner%netscape.com
c0274671dc
Bug 159450 - only allow overlays to load from the same origin as the master document. Also, fix non-chrome overlays. Bug 159450, r=mstoltz, sr=ben, a=asa.
2003-05-02 18:15:30 +00:00
mstoltz%netscape.com
de71defcdf
Bug 200691 - Add CheckLoadURI call to XBL loader to prevent remote XUL pages loading XBL bindings from file URLs. r=bryner, sr=heikki, a=asa
2003-05-01 02:41:45 +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
47620b7255
Fix insertNode() to work right. Bug 135922, r=caillon, sr=peterv, a=asa
2003-04-26 01:14:42 +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
jst%netscape.com
838e624f93
Removing unused file that should have been removed with the checkin for bug 199399.
2003-04-25 07:15:05 +00:00
varga%netscape.com
03791fb613
Fix for bug 160140. sort in xul treecol does not use locale sensitive sorting.
...
r=neil, sr=jag
2003-04-23 06:01:50 +00:00
heikki%netscape.com
02957c1efe
This change shouldn't have gone in. Anyway, this is not part of the build.
2003-04-23 00:09:18 +00:00
heikki%netscape.com
1dfcfb8f7c
Bug 191800, move FIXptr and XPointer into xmlextras, r=harishd, sr=jst.
2003-04-23 00:07:37 +00:00
jst%netscape.com
8f24979ea4
Fixing bug 199399. Eliminating the interfaces nsIXMLDocument now that it's not needed any more. r=peterv@netscape.com, sr=heikki@netscape.com
2003-04-22 21:57:25 +00:00
sfraser%netscape.com
352be220ed
Fix bug 196704: implement commands to get the selected text, and insert text, to allow for embedders (like Camino) to use them, e.g. for the Mac OS X services menu. Also fix image copy. r=brade, sr=kin.
2003-04-22 18:11:12 +00:00
harishd%netscape.com
7ac1abf691
Checking in for kaie@netscape.com: Hacky fix to guarantee that HTML messages don't get eaten because of missing </title>. b=195020, r=harishd@netscape.com, sr=peterv@netscape.com
2003-04-22 17:27:29 +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
ed10e15714
Make sure to escape quotes properly in attribute values when serializing. Bug
...
197342, patch by brofield@jellycan.com (Brodie Thiesfield), r=bzbarsky, sr=heikki
2003-04-21 04:15:58 +00:00
bryner%netscape.com
d18e1ae342
attempting to fix irix bustage by removing ^M
2003-04-20 03:14:09 +00:00
leon.zhang%sun.com
526c0515e9
Bug 199412: optimize nsTypedSelection::ScrollIntoView r/sr=sfraser
2003-04-20 01:03:40 +00:00
bzbarsky%mit.edu
de68c0523a
Move document.lastModified up onto nsIDOMNSDocument; refactor the
...
RetrieveRelevantHeaders stuff a bit. Bug 192366, patch by Pratik
<psolanki@netscape.net>, r=bzbarsky, sr=jst
2003-04-19 16:53:44 +00:00
varga%netscape.com
06de0c92a9
Fix for bug 199178. Bookmarks folder in personal toolbar is empty
...
r=hyatt, sr=bryner
2003-04-19 08:40:32 +00:00
bryner%netscape.com
baf5527445
Fix a memory leak my last XBL checkin introduced. Removed unused nsIXBLBindingAttachedHandler and related code. Stopped using XPCOM interfaces for classes internal to nsXBLPrototypeBinding.cpp. r=jkeiser, sr=jst.
2003-04-19 06:32:08 +00:00
stephend%netscape.com
fa120281ec
Bug 202346. Crash in nsImageLoadingContent::FireEvent global method. If there is no document, stop firing events. Patch by Boris Zbarsky <bzbarsky@mit.edu> r+sr=Johnny Stenback <jst@netscape.com>
2003-04-19 04:27:55 +00:00
sfraser%netscape.com
100bc42605
Fix bug 200745 -- we were using the wrong event coords to start a drag. Fix the ESM to use the coords of the mouse down, not the mouse move, so that dragging small objects is easier. r=jkeiser, sr=bryner.
2003-04-19 00:46:28 +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
sfraser%netscape.com
c2827fb6e7
Bug 193053: drag and drop-related changes to allow for the dragging and copying of image bits, and to allow dragging into the file system. r=pinkerton/brade, sr=bryner/bz.
2003-04-18 20:20:04 +00:00
ere%atp.fi
19c0852cd8
Bug 90337: load chrome xbl bindings synchronously.
...
r=hyatt
sr=bzbarsky
2003-04-18 08:44:25 +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
mjudge%netscape.com
0ca43371c9
163235 if we are collapsing selection to the beginning of the extended selection, set the "hint" to the right as a tie breaker. the opposite is true for collapsing forwards in the document. r=jfrancis sr=fraser.
2003-04-17 21:25:03 +00:00
mjudge%netscape.com
a453fa004c
191498 r=danm sr=fraser fixes caret jumping around containers. also fixes 192167
2003-04-17 21:08:44 +00:00
cbiesinger%web.de
91ae833035
191346 patch by Roland.Mainz@informatik.med.uni-giessen.de r=jkeiser sr=roc+moz RFE: "No printers found" when Xprint not installed should be "Xprint not installed" / there should be only one print error dialog for "no printers found" instead of two
2003-04-17 20:17:01 +00:00
brade%netscape.com
0c3baccfc4
remove deprecated interfaces (bug 197121)
2003-04-17 19:42:27 +00:00
heikki%netscape.com
2e4c9751c1
Bug 201131, provide an alternative, monospaced pretty print style, r=sicking, sr=jst.
2003-04-17 18:41:09 +00:00
brade%netscape.com
63f5c9dd53
removing printf from previous checkin
2003-04-17 14:24:55 +00:00
brade%netscape.com
1f1cf0be8d
browser changes for drag/drop/copy/paste hooks (bug 197121) r=pinkerton sr=smfr
2003-04-17 13:23:34 +00:00
brade%netscape.com
a064e8c50b
removing old file; replaced with widget/public/nsIClipboardDragDropHooks.idl
2003-04-17 13:22:40 +00:00
brade%netscape.com
fb3e924d63
changes for drag/drop/copy/paste hooks (bug 197121) r=pinkerton sr=smfr
2003-04-17 13:21:15 +00:00
brade%netscape.com
bf11f4765e
copy hooks (bug 197121) r=jfrancis, sr=smfr
2003-04-17 13:16:36 +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
bzbarsky%mit.edu
fc176a0ffa
Images that replace themselves with alt text should still respond to src
...
changes. Bug 198435, r=roc+moz, sr=jst
2003-04-16 01:53:48 +00:00
danm%netscape.com
0c46957e6d
new popupblocked domevent. also bring the world of ns_assertion home to DOMEvent's accessors and pseudo-subclass Init[...] methods. bug 199705 r=jaggernaut,jst
2003-04-16 00:00:50 +00:00
danm%netscape.com
c8a9092ebc
new popupblocked domevent. bug 199705 r=jaggernaut,jst
2003-04-16 00:00:46 +00:00
bryner%netscape.com
fafc8f28c6
More XBL deCOMtamination (bug 194834). This checkin removes nsIXBLInsertionPoint and nsIAnonymousContentList. r=jkeiser, sr=jst.
2003-04-15 20:35:07 +00:00
heikki%netscape.com
e485f5fcdf
Bug 186554 XMLSerializer does not serialize documentElement correctly. Extended document encoder API to make it possible to seriaalize a node. r=jfrancis, sr=bzbarsky.
2003-04-15 18:13:13 +00:00
roc+%cs.cmu.edu
b9ace3df95
Bug 199024. The old way of detecting whether a scroll happened or not in DoWheelScroll doesn't work with smooth scrolling. r+sr=bzbarsky
2003-04-15 13:17:36 +00:00
bryner%netscape.com
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
sfraser%netscape.com
5a14aa5fdd
Part of fix for bug 201400. r=aaronl, sr=me.
2003-04-12 03:12:59 +00:00
sfraser%netscape.com
2f449323df
Fix for bug 201400: move the "accessibility.browsewithcaret" pref observer to the nsEventStateManager, to remove it from the DOMWindowController. Patch by brade/sfraser, r=aaronl, sr=sfraser.
2003-04-12 03:03:27 +00:00
brendan%mozilla.org
e81a02eeb2
Reduce seeks outside the FastLoad file's underlying stream buffer (195010,
...
r=ben, sr=bryner).
- Pass null scope objects into nsIScriptContext::Compile{EventHandler,Script}
when precompiling for brutal sharing. The JS engine does not need a non-null
object parameter for static scope. That parameter can be non-null only if it
helps the compiler "pre-bind" functions to the same scope object that they'll
be parented by when executing, but with brutal sharing, functions are
precompiled once and executed against many different scope objects.
- A problem in XUL FastLoad was that it would serialize master .xul document
out-of-line scripts (those included via script src= from non-overlay, "master"
.xul docs) far from the place in the FastLoad file where XUL prototype script
info was serialized for the <script src=> tag itself. I fixed that so that,
unless the out-of-line script was previously serialized (by a different src=
reference from another .xul file), the OOL script data immediately follows the
proto-script info in the FastLoad file.
This required adding a SerializeOutOfLine method to nsXULPrototypeScript, which
restores symmetry by matching the existing DeserializeOutOfLine(Script) (note:
I dropped the redundant "Script" from the end of the latter method's name. We
need SerializeOutOfLine to handle overlay OOL scripts. They are serialized by
nsXULDocument::OnStreamComplete, because that code knows the difference between
an overlay and a master doc. This removes all trace of FastLoad writing from
nsXULPrototypeScript::Compile -- FastLoad stuff didn't belong there, not only
because we now want to write master OOL scripts later, when walking the master
XUL prototype doc's element tree, but also for modularity reasons. The caller
knows about FastLoad, nsXULPrototypeScript::Compile does just what its name
implies.
There are 132 seeks with the patch, only 49 of which dump the underlying file
stream's buffer, vs. 133 seeks without the patch, 87 of which dump the buffer.
- Nit-picked some comments to fit in 80 columns, and made other cosmetic fixes.
- Implicated the nsXULDocument::mIsWritingFastLoad flag from the useXULCache
"is the XUL cache enabled?" flag, so other places that test mIsWritingFastLoad
don't have to query whether the cache is enabled.
- Added METERING synchronous meter-dumping to /tmp/bufstats, only ifdef
DEBUG_brendan, in netwerk/base/src/nsBufferedStreams.cpp.
- Added the deferred seek optimization from the first patch in bug 195010 to
nsFastLoadFile.cpp.
- Fixed nsFastLoadFileReader so it overrides readSegments as well as read.
This catches up with the interface extension made to nsIInputStream to add
readSegments. The nsFastLoadFileReader extends nsBinaryInputStream, which is
a concrete class, and overrides Read in order to snoop on *all* bytes read.
It does this in order to demultiplex documents interleaved when the FastLoad
file was written.
But since the readSegments move into nsIInputStream.idl, certain primitives
in nsBinaryStream.cpp, e.g., nsBinaryInputStream::ReadCString, have used
ReadSegments, not Read, to consume parts of the underlying stream (to read
the C string's chars, in that example), and the FastLoad file implementation
has not accounted for those bytes.
- Added a new method to nsIFastLoadFileControl and its impls: hasMuxedDocument.
This is needed when serializing master XUL doc OOL scripts, because we must
not serialize twice, and any OOL script that other XUL docs can include via
script src= could already be in the FastLoad mux.
/be
2003-04-12 01:34:11 +00:00
bryner%netscape.com
3a3ec0cbd5
Make --disable-xul work (bug 69995). We build enough XUL to support
...
scrollbars unconditionally, but can now leave out heavyweight widgets like
grid, listbox, and tree. r=bzbarsky, sr=alecf.
2003-04-11 00:56:27 +00:00
dbaron%dbaron.org
52c518fcd8
Remove lines that do nothing except leak. r+sr=bzbarsky
2003-04-10 23:26:36 +00:00
sfraser%netscape.com
85cda34b61
Clean up nsContentAreaDragDrop::BuildDragData to fix dragging of unselected elements, dragging of <area> elements, and to prepare for putting native image data into drags. Part of changes in 193053, r=pinkerton, sr=kin.
2003-04-10 21:21:15 +00:00
sfraser%netscape.com
abe53e192f
Fix bug 201257 -- clean up use of nsIControllerCommandManager by editor:
...
Renaming nsIControllerCommandManager to nsIControllerCommandTable to reduce confusion.
Moving the immutability flag from the nsBaseCommandController to the nsControllerCommandTable.
Renaming the 'refcon' on nsIControllerContext to 'context', and giving nsIControllerContext an Init() method that optionally takes a command table.
Fixing the editor and composer module code to create pre-filled nsIControllerCommandTables as services, and the controller constructors to create singleton command tables with do_GetService.
r=brade, sr=alecf.
2003-04-10 18:44:03 +00:00
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
roc+%cs.cmu.edu
61cded3928
Bug 201299. Make lazy scrollbars more selective to avoid XUL tree and listbox problems. r+sr=bzbarsky
2003-04-09 11:17:42 +00:00
bzbarsky%mit.edu
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
roc+%cs.cmu.edu
3936b4c393
Bug 126263. Whack comboboxes/listboxes to use Gfx scrollbars. Also, make scrollbars attach their XBL content only when they become visible, to avoid pageload hit. r+sr=dbaron
2003-04-08 20:50:57 +00:00
hpradhan%hotpop.com
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
bzbarsky%mit.edu
36a26eca9c
No need for two separate document viewer constructors. Bug 158804, r=peterv, sr=jst
2003-04-04 22:37:52 +00:00
seawood%netscape.com
410d28b951
Remove unneeded xp_path.h reference
...
Bug #171883
2003-04-04 08:26:27 +00:00
sfraser%netscape.com
05e5f933f1
Forward-declare nsIPresShell in nsISelectionPrivate.h.
2003-04-04 02:36:12 +00:00
sfraser%netscape.com
28c61bb42b
Remove nsIIndpendentSelection, moving its one method onto nsISelectionPrivate. Bug 192827. r/sr=kin.
2003-04-04 01:45:06 +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
8609aff734
Backing out makefile changes in svg to fix build bustage.
2003-04-03 23:03:19 +00:00
sfraser%netscape.com
55a823d10e
Fix bug 192611: nsIFrameSelection has a data member. r/sr=dbaron
2003-04-03 22:32:50 +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
alecf%netscape.com
bff73e5ad2
fix for bug 199503 - consolidate layout atoms into the main layout atom lists
...
sr=bryner, r=jag
2003-04-02 23:02:40 +00:00
seawood%netscape.com
80e1b303cc
Purge XP_PC.
...
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
heikki%netscape.com
2fcfad024a
Bug 169980, document.load should add its document to the parent document's loadgroup so that if we leave the current page the load will be aborted aotomatically, r=harishd, sr=darin.
2003-04-02 21:44:39 +00:00
locka%iol.ie
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
rbs%maths.uq.edu.au
c6058a5ff9
Remove unused code, b=199704, r=peterv, sr=jst
2003-04-02 04:05:36 +00:00
bzbarsky%mit.edu
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