5230 Commits

Author SHA1 Message Date
jst%netscape.com
c9eea283ff Fixing bug 83332. Event listeners registerd with the DOM method addEventListener were being executed on the wrong context, often on the safe context (i.e. the hidden window context), this causes potential security problems and problems in cases where we use the context for figuring out the base URI when resolving relative URL's n' such... r=joki@netscape.com, sr=hyatt@netscape.com, a=drivers@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@97458 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 22:37:51 +00:00
anthonyd%netscape.com
b9ea338e2f fix for 73605: nsHTMLContentSerializer outputs <textarea> contents as attributes
r=kin@netscape.com
sr=jst@netscape.com
a=dbaron


git-svn-id: svn://10.0.0.236/trunk@97412 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 07:37:15 +00:00
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
bryner%uiuc.edu
d3042258df Bug 58250 -- this fixes a situation where getting a NS_GOTFOCUS before the
matching NS_DEACTIVATE would fire a blur on the wrong
content/window/document, leaving it in a fairly broken focus state.
r=saari, sr=hyatt, a=tor.


git-svn-id: svn://10.0.0.236/trunk@97315 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 07:34:41 +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
scc%mozilla.org
90f810b66a bug #85271: sr=waterson, r={beard, jag, dbaron}, a=asa. Eliminate features of |nsXPIDLC?String| that keep it out of the string hierarchy (i.e., using assigment to rebind ownership, static |Copy| members, and |getter_Shares|), fixing some leaks in the process.
git-svn-id: svn://10.0.0.236/trunk@97289 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-17 05:23:38 +00:00
sspitzer%netscape.com
e4ccc82b00 fix for bug #84261. there are times where we need to insert linefeeds into message bodys
so that saving as draft, sending, and posting messages will not fail.
this will be come less of a problem when #67334 is fixed.
r=ducarroz, sr=sfraser, a=asa


git-svn-id: svn://10.0.0.236/trunk@97235 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-15 19:52:50 +00:00
anthonyd%netscape.com
e59976913e changes to comment, no code changes
git-svn-id: svn://10.0.0.236/trunk@97233 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-15 19:42:16 +00:00
anthonyd%netscape.com
cb840f2f33 fix for 83743 nsRange::SurroundCOntents() not all paths return value
r=mjudge@netscape.com
sr=kin@netscape.com
a=asa@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@97227 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-15 18:15:09 +00:00
anthonyd%netscape.com
93648b9e4d fix for 83363 - crash if insertNode tries to insert null node
r=mjudge@netscape.com
sr=kin@netscape.com
a=asa@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@97226 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-15 18:03:19 +00:00
dcone%netscape.com
d069af6f44 Fixed printing so it could not have more than one job at a time. bug=84537 r=rods sr=attinasi a=blizzard
git-svn-id: svn://10.0.0.236/trunk@97215 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-15 14:03:12 +00:00
mkaply%us.ibm.com
e751a554d9 #79667
r=brade, sr=alecf, a=asa for drivers
Code from jblanco to make Ctrl+Del delete to end of line on Windows


git-svn-id: svn://10.0.0.236/trunk@97211 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-15 12:07:24 +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
dcone%netscape.com
ea45176635 Make the page only 5x instead of 100x to get around linux region bug.
This is for printing and helps fix.  b=82624 r=rods sr=attinasi a=asa


git-svn-id: svn://10.0.0.236/trunk@97076 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-13 20:16:10 +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
peterv%netscape.com
1d0e861cea Fix for bug 84299 (we negate the alternate pseudo-attribute in <?xml-stylesheet alternate="yes"?>). Patch by Hixie, r=dbaron/peterv, sr=attinasi, a=asa@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@97059 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-13 13:20:43 +00:00
hewitt%netscape.com
898a7d0410 83739 - nsOutlinerRows::Subtree::Clear() doesn&amp;apos;t reset mSubtreeSize, r=waterson, sr=blake, a=asa
git-svn-id: svn://10.0.0.236/trunk@97037 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-13 03:42:44 +00:00
anthonyd%netscape.com
a9a87c6809 bug fix for 84417 nsRange::DeleteContents() deletes one too many nodes
r=mjudge@netscape.com
sr=kin@netscape.com
a=asa@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@97012 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-13 00:24:33 +00:00
mjudge%netscape.com
ef6d5d0a29 82151 a=asa r=cmanske fix for hint setting only when successful move was made by caret
git-svn-id: svn://10.0.0.236/trunk@97007 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-13 00:00:55 +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
axel%pike.org
f0127e80bc bug 83878, renaming nsLoadListenerProxy to txLoadListenerProxy, to fix static builds, r=peterv, sr=jst, a=dbaron (on behalf of drivers)
git-svn-id: svn://10.0.0.236/trunk@96702 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-08 07:14:19 +00:00
axel%pike.org
7f7e0637f4 bug 84153, renaming NodeSet -> ReteNodeSet, to remove conflicts in static linking, r=waterson, sr=jst, a=dbaron (on behalf of drivers)
git-svn-id: svn://10.0.0.236/trunk@96701 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-08 07:12:41 +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
attinasi%netscape.com
77a03ef874 Disable Quirk ruels for XUL documents by setting the compatibility mode to Standard. b=83495 r=dbaron sr=hyatt a=blizzard
git-svn-id: svn://10.0.0.236/trunk@96568 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-06 23:34:17 +00:00
peterv%netscape.com
85ddcd9241 Fix for bug 82955 (XML unable to load stylesheets without type="text/css" attribute). r=scc, sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/trunk@96439 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 19:21:32 +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
e43fd22c5a Fixes for 83027, 83892, and 80512. r/sr=blake,alecf,pink, sr=hewitt,blake, a=asa
git-svn-id: svn://10.0.0.236/trunk@96347 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-04 23:23:35 +00:00
pinkerton%netscape.com
aec0070388 ignore applets, plugins, and embed tags in mac click-hold context menu code. r=pchen/sr=hyatt/a=asa. bug 77774.
git-svn-id: svn://10.0.0.236/trunk@96329 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-04 22:39:49 +00:00
bryner%uiuc.edu
07a3022c7c Bug 81830 - Crash in profile selection using keyboard navigation. r=blake, sr=hyatt, a=asa.
git-svn-id: svn://10.0.0.236/trunk@96261 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-03 05:54:20 +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
rods%netscape.com
9c093f39c3 Need to cache a pointer to the currently focused DOMWin because the Print Dialog
"steals" the focus away and then getting it returns null.
Bug 83358 r=kmcclusk sr=attinasi a=asa


git-svn-id: svn://10.0.0.236/trunk@96094 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 01:06:33 +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
cls%seawood.org
54e716b46b Increase the size of the linker's global offset table when building with gcc on irix to avoid overflow.
Thanks to John Vandenberg <zeroJ@null.net> for the patch
Bug #21308 r=cls a=asa for 0.9.1


git-svn-id: svn://10.0.0.236/trunk@95997 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-29 14:56:41 +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
fdb9995be9 Checking in Jonas Sicking's implementation of the DOM Level 2 traversal module. Not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@95973 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-28 01:45:28 +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
jst%netscape.com
727a1140e3 Removing debugging code that was forgotten in when landing the XPCDOM branch. Harmless checkin.
git-svn-id: svn://10.0.0.236/trunk@95958 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-26 07:49:01 +00:00
jst%netscape.com
9f45f96fbe Fixing bug 81928 which caused errors in JS executed in XUL files to be silently ignored. The problem was that nsJSContext::GetGlobalObject() was relying on the global object in a context to be a XPConnect wrapped object, but this was not the case when XUL files loaded prototype scripts. r=brendan@mozilla.org, sr=jband@netscape.com, a=blizzard@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@95957 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-26 07:44:19 +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