dbaron%fas.harvard.edu
d4918d0cb3
Miscellaneous performance fixes related to selector matching:
...
* cut in half the number of (expensive, universally hashed) selectors needed for many UA-stylesheet :link and :visited rules by implementing :-moz-any-link (bug 83484)
* remove most of EnumerateTagRules since most of it does no useful work (bug 83506)
* avoid refcounting of atoms for stack-based hash keys (bug 83511)
* add logging (turned off, except for me) to evaluate effectiveness of RuleHash
* add a namespace hash, which will be a big win once bug 35847 is fixed (bug 83497)
* avoid repeated reallocation of mEnumList by setting the initial length to a minimum of 8
* remove an unneeded variable in the beginning of SelectorMatches
* fix one case in CSS error reporting (bug 65469), not part of default build
b=83482 r=attinasi@netscape.com sr=waterson@netscape.com a=asa@mozilla.org
2001-06-05 01:00:11 +00:00
hyatt%netscape.com
407949652d
Fix for 83613. r=dbaron, sr=brendan, a=leaf
2001-06-01 21:04:23 +00:00
hyatt%netscape.com
91cec51c8b
Straggler for 78695.
2001-06-01 01:38:35 +00:00
dbaron%fas.harvard.edu
478c463cd4
Adding newline to end of file to fix HP bustage.
2001-05-31 23:59:22 +00:00
hyatt%netscape.com
b135c5b55a
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
2001-05-31 22:19:43 +00:00
peterv%netscape.com
3740f9b3fe
Fix for bug 83078 (document.write of 'LINK' (ext. stylesheet) causes duplicate content). Call UpdateAllContexts when a stylesheet is add/removed/enabled/disabled. r=harishd, sr=jst, a=chofmann.
2001-05-30 20:35:20 +00:00
peterv%netscape.com
4d452fd30a
Fix for bug 83093 (Leaks went up by about 200k) r=heikki, sr=jst, a=chofmann.
2001-05-30 19:17:42 +00:00
pollmann%netscape.com
1ac7a3715e
Bug 77834: Fix problem where form control state is being restored to the wrong form control or not restored at all when going back and forth through session history. The problem was that the hash key we used was the content ID, which was not consistent from page load to page load. The fix was to key instead by index of form in document / index of control in form, with logic to fall back to content ID if we are unable to do this. r=nisheeth@netscape.com, sr=jst@netscape.com, a=drivers@mozilla.org (blizzard@mozilla.org)
2001-05-30 11:26:21 +00:00
jst%netscape.com
6f138c7969
Fixing crasher bug 73331. When cleaning up incorrect content in the HTML content sink we ended up creating frames for content that was about to be taken out of the document shortly after only to be inserted into the document again at a different place, this caused frame construction to happen for the new content that was about to be moved. So we created frames for no good reason and the frames we created got distroyed immediately after they've been created. The frame construction left old frames around that held on to anonymous content that was partly torn down and didn't have a valid document pointer, this caused a crash later on in the style resolution code. r=harishd@netscape.com, sr=vidur@netscape.com, a=drivers@mozilla.org (blizzard@mozilla.org).
2001-05-30 02:25:52 +00:00
peterv%netscape.com
5ba43898a9
Fix for bug 81989 (STYLE tags can cause multiple copies of stylesheet to be loaded) r=heikki, sr=jst, a=blizzard.
2001-05-29 08:10:58 +00:00
jst%netscape.com
07339d1164
Fixing regression bug 81818 that caused a crash in certain situations when viewing images in mozilla. sr=scc@mozilla.org, a=choffmann@netscape.com
2001-05-27 07:15:28 +00:00
pollmann%netscape.com
99eb785ee0
Bug 79565: Fix a crash where elements in the mImageMaps array were released but not removed from the array, and a stale pointer was dereferenced. r=jst@netscape.com, sr=vidur@netscape.com, a=drivers@mozilla.org
2001-05-26 06:43:20 +00:00
valeski%netscape.com
594d30706b
r=jband, sr=vidur, a=blizzard. 82536. adding null check and graceful failing if null. it's valid for the stack to pop null JSContexts
2001-05-25 14:58:33 +00:00
nisheeth%netscape.com
73edd4ea66
Fix for bug 57636. r=rpotts, sr=jst, a=asa. Onload handlers now fire on document.written content.
2001-05-25 08:49:03 +00:00
jst%netscape.com
881ec0a39f
Checking in vidur@netscape.com's fix for bug 81994 which caused scripts on webpages to be executed twice when calling DemoteContainer() in the html content sink. r=nisheeth@netscape.com, sr=jband@netscape.com, a=asa@mozilla.org
2001-05-25 07:03:04 +00:00
dbaron%fas.harvard.edu
cfd9a7e6ca
Fix build bustage within |#ifdef CSS_REPORT_PARSE_ERRORS| resulting from scc's string changes for bug 75220. Not part of default build. r=glazman a=tor
2001-05-23 14:18:38 +00:00
scc%mozilla.org
b7b3395bad
bug #75220 : fixing stragglers, people who checked in uses of |nsLiteralC?String| after it had already been removed from the build
2001-05-23 01:21:04 +00:00
dbaron%fas.harvard.edu
9d5bc0637c
Work around crash by using nsSupportsArray::Clone instead of the buggy (82133) nsSupportsArray::AppendElements. Patch from glazman@netscape.com, r=dbaron, sr=attinasi, b=80057
2001-05-22 20:53:00 +00:00
jst%netscape.com
3e0ca8c751
Fixing typo
2001-05-21 23:29:14 +00:00
valeski%netscape.com
206a778ca4
sr=vidur/shaver@mozilla.org on the content policy callsite and implementation mods (81260). Update of the nsIContentPolicy interface to provide more generic context, a nsIURI instead of a URI wstring, and a nsIDOMWindow for window level context. Existing Callsites have been updated to reflect the new changes, and nsIDOMWindows are now passed into the new API.
2001-05-21 22:40:10 +00:00
peterv%netscape.com
ce83a7c5ff
Fixing regression bug 81918 (Setting preferred style sheet via HTTP headers is broken). r=glazman, sr=jst.
2001-05-21 13:01:41 +00:00
peterv%netscape.com
6ec0527163
Fix typo.
2001-05-21 09:47:03 +00:00
pavlov%netscape.com
271cc39fd9
fixing bug 65708 r=bryner sr=jst
2001-05-21 06:14:37 +00:00
jst%netscape.com
d31549f8ea
Removing #include...
2001-05-21 03:14:39 +00:00
jst%netscape.com
77aeecc056
scc checking in from jst's account. bug #75220 : sr=jst, rs=brendan. renaming |nsPromiseC?Concatenation| to |nsDependentC?Concatenation|; |nsPromiseC?Substring| to |nsDependentC?Substring|; |nsLiteralC?String| and |nsLocalC?String| to |nsDependentC?String|, as these new names better reflect clients obligations to instances.
2001-05-19 11:27:30 +00:00
jst%netscape.com
556608fe56
Fixing bug 81115 that causes the identity of event receivers and event targets to be incorrect in the case where the target/reveiver is an nsGenericElement or a nsGenericDOMDataNode. The problem was the those classes use the event listener manager as a tearoff but QI'ing that tearoff to nsISupports returns the event listener manager and not the element/node, this causes XPConnect to create different wrappers for the same element/node when the event listener tearoff is wrapped in stead of directly wrapping the element/node. This causes problems with event.target in JS, among other things. The solution for this problem was to create a separate tearoff that works correctly and leave the event listener manager alone since it can not be used as a tearoff in all cases. r=pollmann@netscape.com, sr=vidur@netscape.com
2001-05-19 07:02:50 +00:00
peterv%netscape.com
d8dc78eb98
Fix for bug 7515 (load stylesheets inserted dynamically through the DOM). r=heikki, harishd. sr=jst.
2001-05-19 02:59:15 +00:00
vidur%netscape.com
ae0d3ddcd3
Continuing fix for bug 18843. Added onload and onerror events for loaded scripts. r=nisheeth, sr=jst
2001-05-19 01:21:57 +00:00
jst%netscape.com
6ed212a6b2
Checking in support for onload handlers for frame and iframe elements, and fixing .ownerDocument of orphan elements, fixes bug 60173, and also fixes part of bug 27382. r=pollmann@netscape.com, sr=vidur@netscape.com
2001-05-19 00:17:01 +00:00
ftang%netscape.com
94b1ec6389
fix bug 81266 for simon@softel.co.il
...
r=ftang sr=jst
fix UMR
2001-05-18 01:10:54 +00:00
vidur%netscape.com
d692a32b9a
Fix for bug 18843. Dynamically added SCRIPT elements are now processed through a per-document script loader. Script execution that originally occured in the content sinks is now done by the script loader. r=heikki sr=jst
2001-05-17 05:54:16 +00:00
vidur%netscape.com
db688702a4
Part of fix for bug 18843. Dynamically added SCRIPT elements are now processed through a per-document script loader. Script execution that originally occured in the content sinks is now done by the script loader. r=heikki sr=jst
2001-05-17 05:20:51 +00:00
jst%netscape.com
9fd6cf8888
Fixing bug 80754. Make the content sink do what the docshell does when looking for the ref (i.e. the part after the '#') in a URI, this makes scrolling to named anchors work even if the uri that's loaded is not a nsIURL, such as chrome:// urls. r=pollmann@netscape.com, rs=vidur@netscape.com
2001-05-17 02:37:30 +00:00
nhotta%netscape.com
23cc24c343
Changed to use NS_ConvertUTF8toUCS2 for nsHTMLAnchorElement::GetHref, bug 81090, r=ftang, sr=jst.
2001-05-16 23:47:35 +00:00
ftang%netscape.com
5938ccae19
fix bug 80552 r=ftang r/sr=jst
...
check in for simon@softel.co.il
change BidiEnable to GetBidiEnable
2001-05-16 13:40:08 +00:00
attinasi%netscape.com
001c6e1f03
STOP stipping whitespace from name attribute on Map element. b=79738 r=harishd sr=shaver
2001-05-16 05:32:38 +00:00
harishd%netscape.com
1a5a83dc13
75641 - Fixing MLK caused by unclosed FONT tags ( penguin.html )
...
r=heikki sr=waterson
77352 - Making sure that the heading tags' size takes precedence over
residual style tags' size info.
r=pollmann sr=attinasi
57248 - Moved attribute entity parsing to the parser land.
r=heikki sr=jst.
2001-05-15 22:32:26 +00:00
radha%netscape.com
f4b65bd7dd
fix for bug # 72197 javascript url casues problems with SH. r=rpotts sr=blizzard
2001-05-15 22:27:01 +00:00
jst%netscape.com
892417cdfb
Checking in Boris Zbarsky's (bzbarsky@mit.edu) fix for bug 79818, making more CSSRules implement DOM interfaces. r=bryner, sr=jst
2001-05-15 08:26:13 +00:00
glazman%netscape.com
7939bfee97
nsDOMCSSDeclaration::GetCssText not implemented; b=79722, r=harishd, sr=jst
2001-05-15 08:25:03 +00:00
shanjian%netscape.com
4b93cf00a8
#72299 User could not override charset from http server
...
r=nhotta, sr=jst
2001-05-15 03:42:33 +00:00
nhotta%netscape.com
f023e39b47
Changed to make string as array so sizeof returns number of characters instead of a size of a pointer,
...
this fixes a wrong offset problem for parsing charset, bug 80114, r=attinasi, sr=blizzard.
2001-05-15 03:03:19 +00:00
glazman%netscape.com
73eec2d7f9
ViewCSS.getComputedStyle() returns empty list; b=62697, r=peterv, sr=jst
2001-05-14 11:23:53 +00:00
jst%netscape.com
87bb8b2a34
Use XPConnect to get the private nsISupports pointer from a JSObject, and fix nsIDOM3Node fu introduced by the XPCDOM landing, r=glazman@netscape.com, rs=vidur@netscape.com
2001-05-14 09:16:27 +00:00
joki%netscape.com
83de3b5600
Fix for 78987, modify Init*Event signatures to meet standards. sr:hyatt, r:jst
2001-05-14 01:54:11 +00:00
jst%netscape.com
774b3c62cf
Removing unused code and code that was #if 0'ed out on the XPCDOM branch and left in when the branch landed. No code changes.
2001-05-13 10:33:33 +00:00
jst%netscape.com
a981ea1d33
Making document.write and document.writeln callable with no arguments, this is needed for backwards compatibility. This is a regression from the XPCDOM landing. r=bryner, sr=hyatt.
2001-05-13 00:27:58 +00:00
nisheeth%netscape.com
72b5275077
Fix OS/2 build bustage from fix to bug 29171.
2001-05-12 07:12:33 +00:00
nisheeth%netscape.com
debd64da49
r=heikki. sr=jst. Fix for bug 29171. Create HTML unknown element for non-lowercased elements that are in the XHTML namespace.
2001-05-12 05:10:48 +00:00
darin%netscape.com
6e856c46d1
fixes linux bustage r=evaughan
2001-05-11 22:30:02 +00:00