1966 Commits

Author SHA1 Message Date
joki%netscape.com
568563a1cc Fix for bug 124990, Add additional processing loop for DOM event listeners to allow browser level handlers to be fired after content based listeners. r:saari, sr:jst
Browser based listeners can now registers themselves using the AddGroupedEventListener and passing the system event group (which can be gotten via the nsIDOMEventReceiver interface).  These listeners will now fire after all content based listeners have processed.
In this initial version of the checkin most browser listeners are still left in the original content group for stability purposes.


git-svn-id: svn://10.0.0.236/trunk@119346 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 02:52:01 +00:00
jst%netscape.com
eead4a8134 Fixing crasher bug 138138. Clear the box object table in xul documents when a xul document is hidden since the box object table may contain references to non-refcounted frames that will be destroyed when the document is hidden. r=jkeiser@netscape.com, sr=heikki@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119291 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 19:50:31 +00:00
jst%netscape.com
67ee650f45 Checking in the fix for bug 52334 for the third time. This time it should stick! Making iframe's load their document even if they're not displayed. r=jkeiser@netscape.com, sr=rpotts@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@119206 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 04:17:16 +00:00
mjudge%netscape.com
e9cb2b63a8 fix for up down behavior after typing or selecting sr=kin a=scc r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@119176 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 23:26:22 +00:00
akkana%netscape.com
a8c06c892e 134439: Make plaintext compose wrap to window width instead of output
width, and don't wrap quotes in <pre> or <span>, to work around various
editor bugs.  Detect quoted blocks at output time, and continue our
existing behavior of not wrapping quoted text. r=jfrancis,bratell, sr=alecf.


git-svn-id: svn://10.0.0.236/trunk@119175 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 23:11:33 +00:00
mozilla.BenB%bucksch.org
5556c3ba54 Fixing win32 bustage, hopefully.
git-svn-id: svn://10.0.0.236/trunk@119135 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 19:28:51 +00:00
bzbarsky%mit.edu
a9b0ea2da1 Fix crash on copy of text with embedded nulls. Bug 136278, r=brade, sr=kin.
git-svn-id: svn://10.0.0.236/trunk@119133 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 19:16:33 +00:00
mozilla.BenB%bucksch.org
88a779e421 108153, 30888, 69529, 126082:
New HTML message body options for Mailnews
Provide a work around / fix for some of the security and usability problems that HTML mails currently impose, by not rendering everything the sender throws at the user.

This class removes every HTML tag/attribute that is not explicitly allowed from the source.
Adding new class to build
r=akk, sr=jst


git-svn-id: svn://10.0.0.236/trunk@119118 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 18:24:14 +00:00
mozilla.BenB%bucksch.org
0881360414 108153, 30888, 69529, 126082:
New HTML message body options for Mailnews
Provide a work around / fix for some of the security and usability problems that HTML mails currently impose, by not rendering everything the sender throws at the user.

This class removes every HTML tag/attribute that is not explicitly allowed from the source.
Adding new files
r=akk, sr=jst


git-svn-id: svn://10.0.0.236/trunk@119117 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 18:19:09 +00:00
kin%netscape.com
fd00e605c9 Fix for bug 68331 (Moving caret in TEXTAREA to start of line can cause page to scroll horizontally)
- Modified GetSelectionRegionRectAndScrollableView() to clip
  aRect so that it is completely within the bounds of the
  scrolledView. This insures that other scrolled views in
  the parent hierarchy will not scroll more than they have to.

r=brade@netscape.com  sr=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@119101 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 13:30:28 +00:00
peterv%netscape.com
eb1e6e2ca8 Fix for bug 132300 (Need a better way to bootstrap an XPathEvaluator). r=pike, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@119096 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 11:57:17 +00:00
jaggernaut%netscape.com
d8a26b0f43 Bug 121841: <!ENTITY> hangs 0.9.8 and trunk using 100% CPU. r=bryner, sr=scc. With thanks to Jeff Qiu <jeff.qiu@sun.com>.
git-svn-id: svn://10.0.0.236/trunk@119084 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 06:27:16 +00:00
mjudge%netscape.com
7c514c7a2d r= jfrancis sr= kin
git-svn-id: svn://10.0.0.236/trunk@119054 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 02:39:54 +00:00
dougt%netscape.com
9ab3a7e18a Use flat strings when constructing string keys. This fixes a few high volume string key constructors. See 135781. r=dp@netscape.com, sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119003 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 22:39:43 +00:00
jst%netscape.com
bce0c1cd5f Comment changes only...
git-svn-id: svn://10.0.0.236/trunk@119001 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 22:36:52 +00:00
dbaron%fas.harvard.edu
a1c65dd9f5 Fix event state changes on some UI buttons by not overwriting a true result from HasStateDependentStyle with a false one. b=137067 r=bzbarsky sr=waterson
git-svn-id: svn://10.0.0.236/trunk@118997 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 22:28:54 +00:00
rods%netscape.com
2cdba8dc7e Original check work with passing back NS_OK, it appears something in the front-end
may have changed. Passing back NS_ERROR_FAILURE now works. (maybe should have been that
in the first place)
Bug 136185 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@118980 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 13:30:32 +00:00
rods%netscape.com
657b01c9ea For PP cache the zoom and zoomtext scale factors and reset then back into the DC when leaving PP.
Bug 136785 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@118979 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-15 13:22:05 +00:00
rbs%maths.uq.edu.au
453cb1ce37 SaveAs leaves private [-|_moz] attributes in the output, b=134298, r=akkana, sr=jst
git-svn-id: svn://10.0.0.236/trunk@118915 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 07:47:21 +00:00
caillon%returnzero.com
d283e6e7a2 Bug 117707. Disabling most of the prefs in Edit>Prefs>Advanced>Scripts/Windows was causing real JS scripts to break because it used CAPS. Move the checks for these features into C++, with new prefs. Patch by doronr@naboonline.com (initial work) and caillon@returnzero.com. r=fabian sr=jst a=asa.
git-svn-id: svn://10.0.0.236/trunk@118839 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 10:11:39 +00:00
harishd%netscape.com
25552a752b Fixing bustage
git-svn-id: svn://10.0.0.236/trunk@118816 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 00:39:05 +00:00
dbaron%fas.harvard.edu
1e850f52c6 Fix up and enable hierarchical :hover and remove the hacks that made :hover work for anchors without it. Pass mask rather than pseudo-class to ContentStatesChanged notifications. Optimize event state changes in the style system by passing state mask to HasStateDependentStyle and using it in HasStateDependentStyle implementations. b=5693 r=bryner, joki sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@118715 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 03:49:30 +00:00
dbaron%fas.harvard.edu
c719840dba Fix percentage font sizes when all font properties specified (and not inherited) by weaking (again) optimization of not calling parent's GetStyleData. b=132381 r=hyatt sr=waterson
git-svn-id: svn://10.0.0.236/trunk@118713 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 03:29:40 +00:00
rods%netscape.com
5391f59ec1 To fix bustage.
git-svn-id: svn://10.0.0.236/trunk@118702 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 01:28:37 +00:00
rods%netscape.com
dd82de1a8d The real fix is to enable the printing of XUL docs, which is what is crashing.
The best we can do right now is not print XUL Docs. This patch checks to see if
it is a XUL document and if it is it idsplay a dialog and and doesn't Print or
Print Preview.
Bug 136185 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@118688 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 00:45:11 +00:00
rods%netscape.com
b274a573de Add a new attr to PrintObject for identifying POs that are to be hidden, not
reflowed. So if a frameset frame's root frame is zero height then we mark it
hidden and not to be printed.
Bug 134769 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@118686 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 00:33:24 +00:00
jst%netscape.com
a5c442b76e Checking in jeff.qiu@sun.com's fix for bug 77585. Speeding up nsGenericDOMDataNode::AppendData(). r=cbiesinger@web.de, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@118652 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 21:44:04 +00:00
akkana%netscape.com
b8493d4a6b 129122: add a new serializer mode (used primarily by mail) in which
<br> tags within <pre> blocks are translated to newlines.
  r=nhotta,ducarroz,tmutreja sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@118645 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 21:25:15 +00:00
rods%netscape.com
ea43271139 Although the front-end should be disabled and not allow the user to make any
changes to PP while the document is printing. This samll fix is back-end
insurance to keep a crash from happening.
Bug 130691 r=kin sr=attinas a=rjesup adt=jaime


git-svn-id: svn://10.0.0.236/trunk@118546 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 14:17:56 +00:00
rbs%maths.uq.edu.au
90fa0a6b95 Fix dataloss bug 134298: SaveAs leaves private -moz attributes in the output; patch=heikki, r=rbs, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@118527 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-09 04:12:01 +00:00
jfrancis%netscape.com
c722c5651b fix for bug 133735: copying anything inside a list pastes as an entire list. This is backing out part of fix for 62188. r=akkana; sr=kin; a=asa; adt=jaime
git-svn-id: svn://10.0.0.236/trunk@118387 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-06 18:59:28 +00:00
rods%netscape.com
f59954a843 Clamps ShrinkTOFit to 50%
Bug 135013 r=dcone sr=attinasi a=asa adt=jaime


git-svn-id: svn://10.0.0.236/trunk@118365 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-06 13:09:15 +00:00
rods%netscape.com
cc9571b450 Stop it from calling EndPage method when printing selection
Bug 135526 r=dcone, sr=kin a=rjesup@wgate.com adt=jaime


git-svn-id: svn://10.0.0.236/trunk@118364 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-06 13:02:17 +00:00
peterv%netscape.com
19d065539b Fix for bug 34849 (dynamically added STYLE element doesn't alter style). r=sicking, sr=jst, a=roc+moz, adt=jaimejr.
git-svn-id: svn://10.0.0.236/trunk@118245 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-05 11:29:40 +00:00
hyatt%netscape.com
dd0e62d9ae Fix for 99344, inline styles not being recognized under certain DHTML circumstances. r=dbaron, sr=waterson, a=asa
git-svn-id: svn://10.0.0.236/trunk@118229 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-05 08:05:33 +00:00
timeless%mac.com
bcb964d3df http://bonsai.mozilla.org/cvsquery.cgi?module=SeaMonkeyAll&branch=HEAD&cvsroot=/cvsroot&date=explicit&mindate=1017959940&maxdate=1017960540&who=jst%25netscape.com&generateBackoutCVSCommands=1
Backing out the fix for bug 52334

approved by sheriff (karnaze) and cathleen


git-svn-id: svn://10.0.0.236/trunk@118211 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-05 05:42:10 +00:00
jst%netscape.com
198bc42921 Checking in the fix for bug 52334 again now that the linux crash and the scrollwheel crash has been fixed. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@118156 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 22:42:19 +00:00
rbs%maths.uq.edu.au
0b3c5b285b Bug 132844 - detect the MathML namespace to load mathml.css on demand. This allows MathML to be styled properly in documents without a DOCTYPE, e.g., in the case of transformed documents that are produced on the fly from XSLT; r=heikki, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@118125 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 15:42:45 +00:00
rods%netscape.com
164581aee0 it is just a matter of turning off a boolean in the right spot. The previous spot was some arbitrary in that method. Now we turn it
off a little earlier
Bug 134283 r=dcone sr=attinasi a=asa adt=jaime


git-svn-id: svn://10.0.0.236/trunk@118111 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 13:04:21 +00:00
jst%netscape.com
68b586dd87 Backing out latest checkins due to them not working on linux and other unix systems with broken compilers.
git-svn-id: svn://10.0.0.236/trunk@118090 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 07:31:16 +00:00
jst%netscape.com
dc83a26530 Fixing bug 52334. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@118072 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 02:09:19 +00:00
blakeross%telocity.com
32dad1dab5 108099, 75338 - overhaul of main menu and context menus. r=ben sr=hewitt a=asa/brendan
git-svn-id: svn://10.0.0.236/trunk@117976 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-03 04:16:28 +00:00
heikki%netscape.com
d18deb1faa Bug 126669, we need to pass in aHasChildren parameter to the start tag serializing function because the node that is passed in may be a shallow copy, thereby making it impossible to determine if it originally had children, in the method itself. This fixes case where saving XHTML produces non-wellformed output. r=akkana,tmutreja, sr=jst, a=asa,ADT.
git-svn-id: svn://10.0.0.236/trunk@117951 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-02 21:12:51 +00:00
ducarroz%netscape.com
e9e40bd7d8 Fix for bug 68087 (second try). We need to ensure we get a new line after a div tag. Patch submitted by skamio@netscape.net. R=tmutreja, SR=jst, A=asa
git-svn-id: svn://10.0.0.236/trunk@117873 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-01 21:21:14 +00:00
heikki%netscape.com
261767c20d Bug 86583, make drag and drop work for images, image map links and XLinks. r=pink, sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/trunk@117835 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-01 04:27:50 +00:00
dbaron%fas.harvard.edu
94075d45c2 Remove |aForceUnique| parameter from style context resolving methods, and corresponding flag from nsStyleContext, since the only caller was ReResolveStyleContext (on the assumption that other callers used it). Allow ReResolveStyleContext to benefit from FindChildWithRules and allow it to re-resolve to the same tree even when called on the root style context. b=133821 r=attinasi sr=hyatt a=asa
git-svn-id: svn://10.0.0.236/trunk@117795 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-31 16:59:00 +00:00
jkeiser%netscape.com
f217d9c22f Move save/restore form control state to content (bug 108309). r=rods@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@117791 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-31 10:14:01 +00:00
jkeiser%netscape.com
317b99e5a5 Backing out 108308 due to pageload spike
git-svn-id: svn://10.0.0.236/trunk@117722 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-29 07:35:09 +00:00
jkeiser%netscape.com
55481f5be5 Move save/restore of form controls to content (bug 108309) (r=rods@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org)
git-svn-id: svn://10.0.0.236/trunk@117716 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-29 05:35:47 +00:00
hewitt%netscape.com
7fd03a3524 bugs 110156, 110155
Removing support for <outliner> tags
Removing <tree> layout code and moving <tree> tags to outliner layout
Convert all usage of <outliner> to tree tags
Convert all usage of <tree> tags to new <tree> syntax or <listbox>
r=cmanske,varga sr=hyatt,sspitzer a=asa

Also includes fixes by Jan Varga (varga@utcruk.sk) for bugs 132020, 133451, 131393, 115894, and 129327


git-svn-id: svn://10.0.0.236/trunk@117710 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-29 02:46:01 +00:00