bryner%netscape.com
6d59e7a395
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
c7c42203cb
Bug 211281 optimization for 'rare' oom check
...
r=bz sr=bz
2003-07-01 18:41:39 +00:00
bzbarsky%mit.edu
3d08b98089
removing unused string var
2003-07-01 14:59:12 +00:00
bzbarsky%mit.edu
10e836c35b
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
107c5d16aa
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
d322964941
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
9b78be8799
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
b75ecd009f
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
63f24a78b5
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
59652ebfd8
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
537927df37
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
677dc71376
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
2c67074440
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
2e8edec781
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
c0dd16f7be
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
7928e4930c
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
e5462134b5
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
4d14f9afbe
Fix windows bustage. b=188803
2003-06-24 06:20:18 +00:00
dbaron%dbaron.org
440c73cd8f
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
120e9a5ee9
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
9d32883569
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
3a04d8e51b
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
f802347f6c
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
d1447d9cc1
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
a77fdd7bd4
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
c1d40be04e
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
5644ccd470
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
7afb380aa7
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
aa1b5d6b2a
[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
62064e4328
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
f03f48c524
Backing the rest of this out to see whether it affects Tp.
2003-06-22 03:33:33 +00:00
bzbarsky%mit.edu
f4f7afc85f
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
a28b3800b2
Fixing typo in comment.
2003-06-21 18:03:15 +00:00
bzbarsky%mit.edu
8e4d28e9da
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
9eb859c9cf
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
36eb6c4539
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
98bc31db62
Missing #include "nsReadableUtils.h" -- bustage fix from the recent checkin for bug 209699.
2003-06-21 04:05:10 +00:00
jst%netscape.com
7c5e39454f
Fixing orangeness.
2003-06-21 03:08:56 +00:00
jst%netscape.com
a749a7af60
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
36a00e95c1
Bug 209852. Remove |dont_QueryInterface|.
...
r=dbaron, sr=jag
2003-06-21 00:15:41 +00:00
bryner%netscape.com
463d4e8b44
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
7f7faf723e
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
7c35b83fd4
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
fb73b5e631
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
9b1d1eed2b
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
7a7daee571
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
42b06cc4f5
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
b969bf4b64
Don't include private and unnecessary js header files.
2003-06-19 23:13:59 +00:00
mkaply%us.ibm.com
baeebe3872
#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
e6cfb79c72
OOM check. r+sr=bzbarsky b=188803
2003-06-18 03:02:01 +00:00
dbaron%dbaron.org
83af5aded6
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
f32538e3ea
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
7f111f30fd
b=183582 HTML Drop does not provide contextual info
...
r=jfrancis sr=sfraser
2003-06-17 22:26:07 +00:00
bryner%netscape.com
868da4fa37
Remove unused content code. Bug 207021, r=jst, sr=alecf.
2003-06-17 17:53:06 +00:00
alecf%flett.org
5614718dd3
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
cd4fb875a5
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
9ac0623eb0
Backing out fix for bug 22480 to fix regression bug 209504.
2003-06-16 23:40:13 +00:00
caillon%returnzero.com
98e5e413c0
209583 - Fix a regression where XMLDocument.getElementByID() was broken
...
r+sr=bzbarsky
2003-06-16 21:47:16 +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
caillon%returnzero.com
f3fdc6e727
209494 - use nsCOMPtr::swap() in a few loops
...
r+sr=bzbarsky@mit.edu
2003-06-16 00:14:23 +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
leon.zhang%sun.com
c8439cda76
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
6ae39ee29c
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
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
seawood%netscape.com
6934dc37a9
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
d9bf9afe54
#90459
...
r=sicking, sr=peterv
DOM support missing for ondblclick = functionname
2003-06-10 18:33:58 +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
eeb3dc21c5
Fix bustage on compilers with broken for loop scoping. b=125246
2003-06-08 00:36:08 +00:00
dbaron%dbaron.org
261b663630
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
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
jst%netscape.com
0a39b232cd
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
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
bsmedberg%covad.net
ffb4c732c1
Bug 208111 - Remove nsIDocument::GetArena which is unused. r=sicking sr=peterv
2003-06-04 13:10:02 +00:00
timeless%mozdev.org
2da3e056b0
Bug 207603 nsXULDocument should CallGetService kXMLElementFactoryCID
...
r=peterv sr=peterv
2003-06-01 14:59:21 +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
brendan%mozilla.org
16e3b96ac1
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
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
mstoltz%netscape.com
c90c1c37c5
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
2373a382c8
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
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
173ae8e58e
Bug 207336 Should nsXULDocument GetService kHTMLElementFactoryCID like everyone else?
...
r=bz sr=bz
2003-05-28 22:34:24 +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
bryner%netscape.com
80c99af6d6
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
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
cbiesinger%web.de
e2194e13e1
204386 r+sr=bz Allow setting Image.src to empty
2003-05-25 20:43:08 +00:00
aaronl%netscape.com
5158d785de
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
1428c24d49
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
35cec56d18
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
ca067a2ebf
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
83c8e5d5fe
206835 - debug code should be #ifdef DEBUG
...
r=timeless sr=jst
2003-05-23 21:59:08 +00:00
dwitte%stanford.edu
149f719c00
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
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
varga%netscape.com
9ef054448d
Fixing OS/2 bustage.
2003-05-23 13:04:24 +00:00
varga%netscape.com
1734eec58f
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
6fcf190f3d
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
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
brendan%mozilla.org
c9f438916f
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
2654a045b4
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
baa6f8458a
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
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
jkeiser%netscape.com
c8633873f1
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
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
caillon%returnzero.com
8cc6308bb7
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
e21fcb29cd
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
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
dbaron%dbaron.org
474f773e17
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
db44c23515
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
a0e469fae9
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
b9c5e27579
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
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
aaronl%netscape.com
e6dfe63be4
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
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
fc4b955f7c
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
376c526961
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
a90acc180c
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
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
smontagu%netscape.com
1949eabc13
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
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
jst%netscape.com
9c312baa16
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
6e2f34838f
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
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
peterv%netscape.com
f652cc333c
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
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
jkeiser%netscape.com
6d07316a09
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
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
cbiesinger%web.de
a50a2af344
204072 r+sr=bz a=sspitzer Cache IOService and imgILoader in nsImageLoadingContent
2003-05-02 19:21:00 +00:00
bryner%netscape.com
18e7480ce6
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
30a4978da7
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
81f5df7ca4
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
088ef80707
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
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
2f525aab3e
Fix insertNode() to work right. Bug 135922, r=caillon, sr=peterv, a=asa
2003-04-26 01:14:42 +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
jst%netscape.com
423e711bae
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
0c1154f57d
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
5268e6a55c
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
8583070500
Bug 191800, move FIXptr and XPointer into xmlextras, r=harishd, sr=jst.
2003-04-23 00:07:37 +00:00
jst%netscape.com
31af8ab2ca
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
efcf8d6576
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
c566aae093
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
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
87bd10ccd6
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
fe378f3ad2
attempting to fix irix bustage by removing ^M
2003-04-20 03:14:09 +00:00
leon.zhang%sun.com
78f946e42d
Bug 199412: optimize nsTypedSelection::ScrollIntoView r/sr=sfraser
2003-04-20 01:03:40 +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
varga%netscape.com
b7fab9a9c3
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
e156255fec
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
1191c55611
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
b8238a708e
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
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
sfraser%netscape.com
f3456b4697
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
7b3637442b
Bug 90337: load chrome xbl bindings synchronously.
...
r=hyatt
sr=bzbarsky
2003-04-18 08:44:25 +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
mjudge%netscape.com
cc27c616f7
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
eed22617af
191498 r=danm sr=fraser fixes caret jumping around containers. also fixes 192167
2003-04-17 21:08:44 +00:00
cbiesinger%web.de
1bdbf1e104
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
6f7df21d4a
remove deprecated interfaces (bug 197121)
2003-04-17 19:42:27 +00:00
heikki%netscape.com
509c1baca5
Bug 201131, provide an alternative, monospaced pretty print style, r=sicking, sr=jst.
2003-04-17 18:41:09 +00:00
brade%netscape.com
2bb6d944c3
removing printf from previous checkin
2003-04-17 14:24:55 +00:00
brade%netscape.com
d03b36a364
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
8e7da15071
removing old file; replaced with widget/public/nsIClipboardDragDropHooks.idl
2003-04-17 13:22:40 +00:00
brade%netscape.com
49cfb4c91a
changes for drag/drop/copy/paste hooks (bug 197121) r=pinkerton sr=smfr
2003-04-17 13:21:15 +00:00
brade%netscape.com
466808a97f
copy hooks (bug 197121) r=jfrancis, sr=smfr
2003-04-17 13:16:36 +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
bzbarsky%mit.edu
84a12b9277
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
c6b2395fbd
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
13971ba0bd
new popupblocked domevent. bug 199705 r=jaggernaut,jst
2003-04-16 00:00:46 +00:00
bryner%netscape.com
aea212200b
More XBL deCOMtamination (bug 194834). This checkin removes nsIXBLInsertionPoint and nsIAnonymousContentList. r=jkeiser, sr=jst.
2003-04-15 20:35:07 +00:00
heikki%netscape.com
f97fe97caf
Bug 186554 XMLSerializer does not serialize documentElement correctly. Extended document encoder API to make it possible to seriaalize a node. r=jfrancis, sr=bzbarsky.
2003-04-15 18:13:13 +00:00
roc+%cs.cmu.edu
3fd72b014a
Bug 199024. The old way of detecting whether a scroll happened or not in DoWheelScroll doesn't work with smooth scrolling. r+sr=bzbarsky
2003-04-15 13:17:36 +00:00
bryner%netscape.com
93b5a67e30
Oops, meant to check this in as part of my last checkin. nsIBookmarksService.h is in the bookmarks module for phoenix. Fixing bustage.
2003-04-15 07:34:15 +00:00
dbaron%dbaron.org
43197a4800
Remove extraneous |inline| to fix bustage.
2003-04-15 04:19:27 +00:00
dbaron%dbaron.org
4a5e84bc92
Split nsCSSDeclaration.h and .cpp into separate files for the structs (nsCSSStruct.h and .cpp) and nsCSSDeclaration. b=201681
2003-04-15 03:07:34 +00:00
bryner%netscape.com
706a6534e0
fixing _more_ phoenix bustage - different REQUIRES for phoenix
2003-04-15 02:06:55 +00:00
bzbarsky%mit.edu
5df3b30a3b
Make CreateContextualFragment know what document the fragment is destined for.
...
Fixes some issues with images and innerHTML. Bugs 198486, 198989, 201865.
r=jfrancis, sr=jst
2003-04-15 01:09:09 +00:00
jshin%mailaps.org
9a818b6356
bug 198598 Update the window title bar and doc. charset for nsMediaDocument
...
so that save/save as works correctly for non-8859-1 string. rename
ImageDocument.properties to MediaDocument.properties and move to
content/html/document/src. (r=cbiesinger for an earlier patch, sr=bzbarsky)
2003-04-13 00:40:26 +00:00
sfraser%netscape.com
0ea779d7ff
Part of fix for bug 201400. r=aaronl, sr=me.
2003-04-12 03:12:59 +00:00
sfraser%netscape.com
c708a0b885
Fix for bug 201400: move the "accessibility.browsewithcaret" pref observer to the nsEventStateManager, to remove it from the DOMWindowController. Patch by brade/sfraser, r=aaronl, sr=sfraser.
2003-04-12 03:03:27 +00:00
brendan%mozilla.org
36867f5dc9
Reduce seeks outside the FastLoad file's underlying stream buffer (195010,
...
r=ben, sr=bryner).
- Pass null scope objects into nsIScriptContext::Compile{EventHandler,Script}
when precompiling for brutal sharing. The JS engine does not need a non-null
object parameter for static scope. That parameter can be non-null only if it
helps the compiler "pre-bind" functions to the same scope object that they'll
be parented by when executing, but with brutal sharing, functions are
precompiled once and executed against many different scope objects.
- A problem in XUL FastLoad was that it would serialize master .xul document
out-of-line scripts (those included via script src= from non-overlay, "master"
.xul docs) far from the place in the FastLoad file where XUL prototype script
info was serialized for the <script src=> tag itself. I fixed that so that,
unless the out-of-line script was previously serialized (by a different src=
reference from another .xul file), the OOL script data immediately follows the
proto-script info in the FastLoad file.
This required adding a SerializeOutOfLine method to nsXULPrototypeScript, which
restores symmetry by matching the existing DeserializeOutOfLine(Script) (note:
I dropped the redundant "Script" from the end of the latter method's name. We
need SerializeOutOfLine to handle overlay OOL scripts. They are serialized by
nsXULDocument::OnStreamComplete, because that code knows the difference between
an overlay and a master doc. This removes all trace of FastLoad writing from
nsXULPrototypeScript::Compile -- FastLoad stuff didn't belong there, not only
because we now want to write master OOL scripts later, when walking the master
XUL prototype doc's element tree, but also for modularity reasons. The caller
knows about FastLoad, nsXULPrototypeScript::Compile does just what its name
implies.
There are 132 seeks with the patch, only 49 of which dump the underlying file
stream's buffer, vs. 133 seeks without the patch, 87 of which dump the buffer.
- Nit-picked some comments to fit in 80 columns, and made other cosmetic fixes.
- Implicated the nsXULDocument::mIsWritingFastLoad flag from the useXULCache
"is the XUL cache enabled?" flag, so other places that test mIsWritingFastLoad
don't have to query whether the cache is enabled.
- Added METERING synchronous meter-dumping to /tmp/bufstats, only ifdef
DEBUG_brendan, in netwerk/base/src/nsBufferedStreams.cpp.
- Added the deferred seek optimization from the first patch in bug 195010 to
nsFastLoadFile.cpp.
- Fixed nsFastLoadFileReader so it overrides readSegments as well as read.
This catches up with the interface extension made to nsIInputStream to add
readSegments. The nsFastLoadFileReader extends nsBinaryInputStream, which is
a concrete class, and overrides Read in order to snoop on *all* bytes read.
It does this in order to demultiplex documents interleaved when the FastLoad
file was written.
But since the readSegments move into nsIInputStream.idl, certain primitives
in nsBinaryStream.cpp, e.g., nsBinaryInputStream::ReadCString, have used
ReadSegments, not Read, to consume parts of the underlying stream (to read
the C string's chars, in that example), and the FastLoad file implementation
has not accounted for those bytes.
- Added a new method to nsIFastLoadFileControl and its impls: hasMuxedDocument.
This is needed when serializing master XUL doc OOL scripts, because we must
not serialize twice, and any OOL script that other XUL docs can include via
script src= could already be in the FastLoad mux.
/be
2003-04-12 01:34:11 +00:00
bryner%netscape.com
4d3b825ffa
Make --disable-xul work (bug 69995). We build enough XUL to support
...
scrollbars unconditionally, but can now leave out heavyweight widgets like
grid, listbox, and tree. r=bzbarsky, sr=alecf.
2003-04-11 00:56:27 +00:00
dbaron%dbaron.org
bc6cee4639
Remove lines that do nothing except leak. r+sr=bzbarsky
2003-04-10 23:26:36 +00:00
sfraser%netscape.com
afc1777e87
Clean up nsContentAreaDragDrop::BuildDragData to fix dragging of unselected elements, dragging of <area> elements, and to prepare for putting native image data into drags. Part of changes in 193053, r=pinkerton, sr=kin.
2003-04-10 21:21:15 +00:00
sfraser%netscape.com
d61e2195a4
Fix bug 201257 -- clean up use of nsIControllerCommandManager by editor:
...
Renaming nsIControllerCommandManager to nsIControllerCommandTable to reduce confusion.
Moving the immutability flag from the nsBaseCommandController to the nsControllerCommandTable.
Renaming the 'refcon' on nsIControllerContext to 'context', and giving nsIControllerContext an Init() method that optionally takes a command table.
Fixing the editor and composer module code to create pre-filled nsIControllerCommandTables as services, and the controller constructors to create singleton command tables with do_GetService.
r=brade, sr=alecf.
2003-04-10 18:44:03 +00:00
dbaron%dbaron.org
4ab9a6c815
Two separate directories create a content.xpt file. b=201323 r=seawood sr=jst
2003-04-09 21:16:39 +00:00
roc+%cs.cmu.edu
62c01e75cb
Bug 201299. Make lazy scrollbars more selective to avoid XUL tree and listbox problems. r+sr=bzbarsky
2003-04-09 11:17:42 +00:00
bzbarsky%mit.edu
75e0758f2a
Some random code cleanup:
...
1) Make SetContentSink and SetParserFilter not claim to return stuff
2) Clean up nsIParser to use NS_IMETHOD_() where needed. Sync up with nsParser
3) Removed some never-used code
Bug 40149, r=harishd, sr=jst
2003-04-08 21:23:34 +00:00
roc+%cs.cmu.edu
f2dc5c2442
Bug 126263. Whack comboboxes/listboxes to use Gfx scrollbars. Also, make scrollbars attach their XBL content only when they become visible, to avoid pageload hit. r+sr=dbaron
2003-04-08 20:50:57 +00:00
hpradhan%hotpop.com
f7dbb93f11
bug 196829 : Removed unused DoFragment() methods from parser and contentsinks r=harishd sr=jst
2003-04-05 07:19:09 +00:00
bzbarsky%mit.edu
fdcc28ae82
CSSLoader should check content policy. Bug 190653, r=mvl, sr=peterv
2003-04-04 23:57:06 +00:00
bzbarsky%mit.edu
21e537be09
No need for two separate document viewer constructors. Bug 158804, r=peterv, sr=jst
2003-04-04 22:37:52 +00:00
seawood%netscape.com
977c4f3aaa
Remove unneeded xp_path.h reference
...
Bug #171883
2003-04-04 08:26:27 +00:00
sfraser%netscape.com
4debc47b21
Forward-declare nsIPresShell in nsISelectionPrivate.h.
2003-04-04 02:36:12 +00:00
sfraser%netscape.com
a5a80015e1
Remove nsIIndpendentSelection, moving its one method onto nsISelectionPrivate. Bug 192827. r/sr=kin.
2003-04-04 01:45:06 +00:00
peterlubczynski%netscape.com
6280191bdc
Fixing bug 200058, standalone images and plugins leak (the whole document leaks), r=jst sr=bz
2003-04-04 00:26:33 +00:00
heikki%netscape.com
faacfeb21d
Backing out makefile changes in svg to fix build bustage.
2003-04-03 23:03:19 +00:00
sfraser%netscape.com
3d94154251
Fix bug 192611: nsIFrameSelection has a data member. r/sr=dbaron
2003-04-03 22:32:50 +00:00
heikki%netscape.com
ab50b51081
Bug 200382, reduce content's dependencies on webshell, r=adamlock, sr=jst.
2003-04-03 18:57:33 +00:00
harishd%netscape.com
743d738ebc
Hack fix: Close the head context before loading a linked style sheet because the CSSLoader can sometimes call ContinueParsing on the parser even if the parser is not blocked and that causes the sink to go crazy. b=197015, r=heikki@netscape.com, sr=jst@netscape.com
2003-04-03 18:32:58 +00:00
alecf%netscape.com
0f990bca7b
fix for bug 199503 - consolidate layout atoms into the main layout atom lists
...
sr=bryner, r=jag
2003-04-02 23:02:40 +00:00
seawood%netscape.com
de59dbee4b
Purge XP_PC.
...
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
heikki%netscape.com
645bfc7c34
Bug 169980, document.load should add its document to the parent document's loadgroup so that if we leave the current page the load will be aborted aotomatically, r=harishd, sr=darin.
2003-04-02 21:44:39 +00:00
locka%iol.ie
819aed17ad
Attempt to fix pedantic bustage caused by checkin for b=191023
2003-04-02 14:31:43 +00:00
locka%iol.ie
1c626b1053
Attempt to fix pedantic bustage caused by checkin for b=191023
2003-04-02 13:59:09 +00:00
locka%iol.ie
918254340f
Remove references to webshell and make HTML document more tolerant when supplied with a null docshell. b=191023 r=heikki@netscape.com sr=jst@netscape.com
2003-04-02 11:18:00 +00:00
alecf%netscape.com
a09a98f6d9
fix for bug 199170, convert layout to use nsStaticAtom. sr=dbaron
2003-04-02 04:51:07 +00:00
rbs%maths.uq.edu.au
d3d1c3934f
Remove unused code, b=199704, r=peterv, sr=jst
2003-04-02 04:05:36 +00:00
bzbarsky%mit.edu
4cd5722271
Make sure not to call LoadImage before LoadImageWithChannel for standalone
...
images. Bug 121084; also fixes bug 34165. r=pavlov, sr=jst
2003-04-02 03:27:20 +00:00
bzbarsky%mit.edu
09fa9aa380
"Backing" changes back in since tree has reopened.
2003-04-02 03:19:50 +00:00
bzbarsky%mit.edu
a855c02802
Backing all this out, since tree is closed.
2003-04-02 02:02:10 +00:00
bzbarsky%mit.edu
646f42f2fc
Remove some more redundant code -- nsXMLDocument handles this fine. Bug
...
200071, r=sicking, sr=jst
2003-04-02 01:37:01 +00:00
bzbarsky%mit.edu
5c7258dfc2
Fix range.surroundContents() to not rearrange the content order. Bug 191625,
...
r=sicking, sr=peterv
2003-04-02 01:30:33 +00:00
jst%netscape.com
8f126a887a
Removing unused nsresult rv.
2003-04-02 00:09:20 +00:00
axel%pike.org
2f3d5baa00
bug 199484, xml pretty printing regressed, fix the contract ID for XSLT document transformer, r/sr=peterv
2003-04-01 19:50:42 +00:00
timeless%mozdev.org
1b60d09a7b
Bug 199768 document.referrer is empty
...
patch by keeda@hotpop.com r=sicking sr=peterv a=asa
2003-03-31 20:58:02 +00:00
hpradhan%hotpop.com
71085bc721
bug 199756 : Crash at nsDocument::GetPrincipal
2003-03-31 15:45:44 +00:00
jkeiser%netscape.com
e6dd75348e
Fix onclick=form.submit(); onsubmit=return false to submit again (bug 192170), r=alexsavulov@netscape.com, sr=bzbarsky@mit.edu, a=asa
2003-03-27 15:59:31 +00:00
jkeiser%netscape.com
73fbdcf647
Allow raw ParseIntValue to work with negative values (bug 198677), r=smontagu@netscape.com, sr=jst@netscape.com
2003-03-27 15:38:12 +00:00
jst%netscape.com
14882c9d0c
Fixing bug 124412. Making nsXULDocument inherit nsXMLDocument to avoid the need to duplicate a large amount of code in nsXULDocument. Also removing nsMarkupDocument and nsIDOMEventCapturer that are no longer needed. Changing the inheritance of nsIDOMXULDocument to avoid ~60 or so forwarding methods, and doing a *lot* of code cleanup. r=bugmail@sicking.cc, sr=peterv@netscape.com
2003-03-26 07:41:30 +00:00
shliang%netscape.com
4caa9a491b
112789 - disabled radio elements should not get focus. patch largely by neil@parkwaycc.co.uk. r=shuehan, neil, sr=jag.
2003-03-26 02:55:19 +00:00
sicking%bigfoot.com
7df4697aa3
Missed removing this in the landing of bug 185797. r=Pike sr=peterv
2003-03-26 01:34:11 +00:00
jst%netscape.com
8163e8fac9
Checking in dbradley@netscape.com's fix for bug 198995. Make sure we default to the default charset if the server gives us one we don't know. r=jst@netscape.com, sr=peterv@netscape.com
2003-03-26 01:26:38 +00:00
sicking%bigfoot.com
d28b0c5b97
Compiled XSLT stylesheets. Improves speed, implements forwards-compatible-parsing and handling of unknown extension-elements. Also fixes some random edgecasebugs such as recursive merged named-attribute-sets and empty strings in copy-of.
...
Patch mainly by sicking, but large parts also by Pike and peterv.
Tracker is bug 185797. r=Pike/sicking rs=peterv.
2003-03-26 01:10:14 +00:00