cls%seawood.org
88aedd461b
Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
...
Changes allow us to have a finer control over which parts of the tree are built with PIC. Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf
git-svn-id: svn://10.0.0.236/trunk@97363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 22:10:38 +00:00
harishd%netscape.com
51d81a9901
82500 - Make sure that DidBuildModel gets called only once per document.
...
79492 - In collecting skipped content make sure that entity-like-markup is not mistaken for an entity.
80009 - PRE should be treated as a block-level element - per spec.
82498 - Do not process script content in a frameset document.
82544 - Beginning/ending quotes in attribute values are now removed by the parser.
77145 - Fix off-by-one error.
r=heikki
sr=vidur
a=asa
git-svn-id: svn://10.0.0.236/trunk@97352 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 21:18:37 +00:00
hyatt%netscape.com
3a2a81e806
Fix for 84046, unable to dynamically change bgcolors. r=cmanske, sr=attinasi, a=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@97344 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 20:49:57 +00:00
peterv%netscape.com
45ec0e7f80
Fix for bug 38761 (Dynamically changing 'href' attribute of <link> doesn't work). r=heikki, sr=jst, a=blizzard.
...
git-svn-id: svn://10.0.0.236/trunk@97340 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 20:19:31 +00:00
nhotta%netscape.com
a0f93b502d
If the javascript URI contains non ASCII then encode it to \uXXXX instead of applying charset conversion,
...
bug 51355, r=ftang, sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/trunk@97335 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 20:01:36 +00:00
dbaron%fas.harvard.edu
649e5141cf
Fix bustage from scc's checkin for bug 85271.
...
git-svn-id: svn://10.0.0.236/trunk@97296 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-17 07:38:01 +00:00
peterv%netscape.com
dde779814c
Fix for bug 83612 (Correct/cleanup style loading code in content). r=heikki, sr=jst, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@97145 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-14 12:33:38 +00:00
peterv%netscape.com
09a73fac30
Fix for bug 84564 (Content-Style-Type no longer working). r=dbaron, sr=attinasi, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@97067 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-13 18:15:03 +00:00
dbaron%fas.harvard.edu
78ac4ca4b3
Make implied universal selectors be equivalent to ns|* where ns is the default namespace, and make appropriate changes to our CSS files. This brings us into conformance with the CSS3 selectors draft and improves performance by reducing the number of universally hashed selectors. Most of this patch is by attinasi. (35847, 83482) Also make first-node/last-node rules in quirks.css non-universal to improve performance. (83839) r=rbs sr=waterson a=asa b=35847
...
git-svn-id: svn://10.0.0.236/trunk@96767 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-09 01:32:19 +00:00
rods%netscape.com
36b13cb2ba
Major rework of how items are added, removed and selected (while being added and removed) with script
...
Now all the changes are performed, but no reflows are issued until the timer fires, which would be
after the script is done executing. The selection that take place during the script execution are
also cached and done afterward.
Bug 53165 r=pollmann sr=attinasi a=asa
git-svn-id: svn://10.0.0.236/trunk@96675 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-08 02:34:09 +00:00
rods%netscape.com
64b6905ac0
Need to get the default font size and use that depending on Quirks or Strict
...
Bug 78526 r=kmcclusk sr=attinasi a=dbaron
git-svn-id: svn://10.0.0.236/trunk@96673 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-08 02:17:09 +00:00
dbaron%fas.harvard.edu
d1140fa5b3
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
git-svn-id: svn://10.0.0.236/trunk@96389 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 01:00:11 +00:00
hyatt%netscape.com
b4905f36bc
Fix for 83613. r=dbaron, sr=brendan, a=leaf
...
git-svn-id: svn://10.0.0.236/trunk@96189 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-01 21:04:23 +00:00
hyatt%netscape.com
cb0d9324ec
Straggler for 78695.
...
git-svn-id: svn://10.0.0.236/trunk@96159 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-01 01:38:35 +00:00
dbaron%fas.harvard.edu
47e48fa66e
Adding newline to end of file to fix HP bustage.
...
git-svn-id: svn://10.0.0.236/trunk@96146 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 23:59:22 +00:00
hyatt%netscape.com
b7b1cb3691
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
...
git-svn-id: svn://10.0.0.236/trunk@96136 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 22:19:43 +00:00
peterv%netscape.com
21c40f404d
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.
...
git-svn-id: svn://10.0.0.236/trunk@96068 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-30 20:35:20 +00:00
peterv%netscape.com
ac47104ac4
Fix for bug 83093 (Leaks went up by about 200k) r=heikki, sr=jst, a=chofmann.
...
git-svn-id: svn://10.0.0.236/trunk@96064 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-30 19:17:42 +00:00
pollmann%netscape.com
161f586d22
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)
...
git-svn-id: svn://10.0.0.236/trunk@96057 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-30 11:26:21 +00:00
jst%netscape.com
8381d28d40
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).
...
git-svn-id: svn://10.0.0.236/trunk@96046 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-30 02:25:52 +00:00
peterv%netscape.com
cb99a56b4c
Fix for bug 81989 (STYLE tags can cause multiple copies of stylesheet to be loaded) r=heikki, sr=jst, a=blizzard.
...
git-svn-id: svn://10.0.0.236/trunk@95990 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-29 08:10:58 +00:00
jst%netscape.com
ceb00ea625
Fixing regression bug 81818 that caused a crash in certain situations when viewing images in mozilla. sr=scc@mozilla.org, a=choffmann@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@95971 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-27 07:15:28 +00:00
pollmann%netscape.com
23709a8e76
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
...
git-svn-id: svn://10.0.0.236/trunk@95955 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-26 06:43:20 +00:00
valeski%netscape.com
8b114fc235
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
...
git-svn-id: svn://10.0.0.236/trunk@95912 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 14:58:33 +00:00
nisheeth%netscape.com
a63df7b032
Fix for bug 57636. r=rpotts, sr=jst, a=asa. Onload handlers now fire on document.written content.
...
git-svn-id: svn://10.0.0.236/trunk@95903 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 08:49:03 +00:00
jst%netscape.com
855319209e
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
...
git-svn-id: svn://10.0.0.236/trunk@95899 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 07:03:04 +00:00
dbaron%fas.harvard.edu
63ff65123f
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
...
git-svn-id: svn://10.0.0.236/trunk@95826 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 14:18:38 +00:00
scc%mozilla.org
1314d936af
bug #75220 : fixing stragglers, people who checked in uses of |nsLiteralC?String| after it had already been removed from the build
...
git-svn-id: svn://10.0.0.236/trunk@95763 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 01:21:04 +00:00
dbaron%fas.harvard.edu
d4c259efad
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
...
git-svn-id: svn://10.0.0.236/trunk@95685 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-22 20:53:00 +00:00
jst%netscape.com
d795e51bad
Fixing typo
...
git-svn-id: svn://10.0.0.236/trunk@95633 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 23:29:14 +00:00
valeski%netscape.com
e2736d6096
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.
...
git-svn-id: svn://10.0.0.236/trunk@95620 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 22:40:10 +00:00
peterv%netscape.com
b5b28ccdae
Fixing regression bug 81918 (Setting preferred style sheet via HTTP headers is broken). r=glazman, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@95596 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 13:01:41 +00:00
peterv%netscape.com
f6e0006b97
Fix typo.
...
git-svn-id: svn://10.0.0.236/trunk@95591 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 09:47:03 +00:00
pavlov%netscape.com
bb6baf7dcd
fixing bug 65708 r=bryner sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@95584 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 06:14:37 +00:00
jst%netscape.com
2088775c72
Removing #include...
...
git-svn-id: svn://10.0.0.236/trunk@95581 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 03:14:39 +00:00
jst%netscape.com
535c86019d
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.
...
git-svn-id: svn://10.0.0.236/trunk@95533 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 11:27:30 +00:00
jst%netscape.com
8e4e3c75fc
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
...
git-svn-id: svn://10.0.0.236/trunk@95514 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 07:02:50 +00:00
peterv%netscape.com
f74c7ea12a
Fix for bug 7515 (load stylesheets inserted dynamically through the DOM). r=heikki, harishd. sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@95505 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 02:59:15 +00:00
vidur%netscape.com
1da03054fb
Continuing fix for bug 18843. Added onload and onerror events for loaded scripts. r=nisheeth, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@95490 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 01:21:57 +00:00
jst%netscape.com
840888ef95
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
...
git-svn-id: svn://10.0.0.236/trunk@95479 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 00:17:01 +00:00
ftang%netscape.com
201b62d65e
fix bug 81266 for simon@softel.co.il
...
r=ftang sr=jst
fix UMR
git-svn-id: svn://10.0.0.236/trunk@95354 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 01:10:54 +00:00
vidur%netscape.com
51d5bb6a4a
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
...
git-svn-id: svn://10.0.0.236/trunk@95228 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 05:54:16 +00:00
vidur%netscape.com
b7fe451e66
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
...
git-svn-id: svn://10.0.0.236/trunk@95213 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 05:20:51 +00:00
jst%netscape.com
45064c050c
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
...
git-svn-id: svn://10.0.0.236/trunk@95202 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 02:37:30 +00:00
nhotta%netscape.com
0260567b89
Changed to use NS_ConvertUTF8toUCS2 for nsHTMLAnchorElement::GetHref, bug 81090, r=ftang, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@95157 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-16 23:47:35 +00:00
ftang%netscape.com
4cc3945877
fix bug 80552 r=ftang r/sr=jst
...
check in for simon@softel.co.il
change BidiEnable to GetBidiEnable
git-svn-id: svn://10.0.0.236/trunk@95132 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-16 13:40:08 +00:00
attinasi%netscape.com
7d8ef6f0d0
STOP stipping whitespace from name attribute on Map element. b=79738 r=harishd sr=shaver
...
git-svn-id: svn://10.0.0.236/trunk@95109 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-16 05:32:38 +00:00
harishd%netscape.com
8e7bf84767
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.
git-svn-id: svn://10.0.0.236/trunk@95062 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 22:32:26 +00:00
radha%netscape.com
4693dd0f7c
fix for bug # 72197 javascript url casues problems with SH. r=rpotts sr=blizzard
...
git-svn-id: svn://10.0.0.236/trunk@95061 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 22:27:01 +00:00
jst%netscape.com
f3be9f08c8
Checking in Boris Zbarsky's (bzbarsky@mit.edu) fix for bug 79818, making more CSSRules implement DOM interfaces. r=bryner, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@94975 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 08:26:13 +00:00