1249 Commits

Author SHA1 Message Date
mjudge%netscape.com
efb1ca1692 regression fix used wrong variable. compared apples to apple seeds instead of other apples.
git-svn-id: svn://10.0.0.236/trunk@61700 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 23:56:40 +00:00
erik%netscape.com
6c4785b694 bug 18136; changing default size for fixed width font to 13px; r=pierre;
a=rickg


git-svn-id: svn://10.0.0.236/trunk@61683 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 23:01:36 +00:00
mjudge%netscape.com
ff3266c3d9 adding support for new nsIDOMSelection. r=jfrancis a=jar. this is for caret appearance
git-svn-id: svn://10.0.0.236/trunk@61652 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 04:31:15 +00:00
mjudge%netscape.com
995c6506c4 bug15384 approved pdt+ team r= patrick beard
git-svn-id: svn://10.0.0.236/trunk@61610 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 22:01:37 +00:00
norris%netscape.com
bf96355ad4 Fix 28612 META Refresh allowed in Mail/News
r=mstoltz,a=jar
Fix 28658 File upload vulnerability
r=vidur,a=jar


git-svn-id: svn://10.0.0.236/trunk@61523 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 22:34:40 +00:00
pollmann%netscape.com
8e86e740f2 Bug 14827: Removing dead code. r=harishd a=rickg
git-svn-id: svn://10.0.0.236/trunk@61373 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-21 02:21:38 +00:00
jdunn%netscape.com
659b2712ed Fix problem with NS_IF_ADDREF on member variables inside of const
member functions.  This includes removing all references to
NS_DEF_PTR and the including of nsIPtr.h

r=troy@netscape.com,dougt@netscape.com,scc@netscape.com
# 28114
a=chofmann@netscape.com


git-svn-id: svn://10.0.0.236/trunk@61237 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 23:19:18 +00:00
joki%netscape.com
dcc35666e8 Fixes for bug 9544, 9552, 9558, 9561, and 13309. event handler 4x compat. and capture/bubble fixes. r:pollmann
git-svn-id: svn://10.0.0.236/trunk@61096 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 06:59:07 +00:00
mscott%netscape.com
1be5b26527 Bug #19499 --> remove some obsolete code involving mailto
urls. we can handle mailto urls just fine now. this was giving us problems if you moused over or
clicked on a http/file url that had the word "mailto" in it.
r=vidur


git-svn-id: svn://10.0.0.236/trunk@61039 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 03:28:40 +00:00
sfraser%netscape.com
9d2e9a09cc Fix the document viewer command updating, give it a selection listener etc, so that commands get updated at the right time. for bug 18395. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@61007 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 01:39:30 +00:00
mscott%netscape.com
df3dddf528 This is one of those do the right thing bugs even though I don't have a PDT+ bug for it. Travis and I noticed
today that image urls weren't properly getting added to the doc loader of the containing document. So the top
level document would report a document done notification before the document may really be done.

The fix is to pass the load cookie nsISupports object which originates from the docshell that is opening the
url down into the gfx image code instead of passing the load group down.

r=travis.


git-svn-id: svn://10.0.0.236/trunk@60802 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 04:49:32 +00:00
mjudge%netscape.com
dcda3caccf adding new file should not be built yet. this will do no harm
git-svn-id: svn://10.0.0.236/trunk@60588 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 06:09:19 +00:00
mjudge%netscape.com
3784cee7b9 small change for bad assert...
git-svn-id: svn://10.0.0.236/trunk@60543 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 00:24:55 +00:00
tbogard%aol.net
71cb7c74d0 Assert when trying to sizeToContent on subframes. It's not allowed. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@60470 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 08:35:20 +00:00
attinasi%netscape.com
3ad1be29f8 PresShell is now observing the document always instead of just when a new PresContext is NOT created. r=troy b=25406
git-svn-id: svn://10.0.0.236/trunk@60390 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 01:21:50 +00:00
attinasi%netscape.com
1514757cda Support for enabling / Disabling the timer. r=pierre b=25406
git-svn-id: svn://10.0.0.236/trunk@60388 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 01:21:36 +00:00
attinasi%netscape.com
5a392aceea Backing out the change I accidentally checked in.
git-svn-id: svn://10.0.0.236/trunk@60330 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 19:47:36 +00:00
attinasi%netscape.com
b837f85366 Support for enabling / Disabling the timer. r=pierre b=25406
git-svn-id: svn://10.0.0.236/trunk@60328 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 19:21:55 +00:00
mjudge%netscape.com
bbbd081d63 adding remove range for table selection and for completeness. 26460 r=cmanske
git-svn-id: svn://10.0.0.236/trunk@60315 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 09:17:02 +00:00
mjudge%netscape.com
44c8697114 big checkin. fixing problems blocking Cmanske (also a reviewer). Checking in preliminary for gen content.(nothing damaged yet) lots of bug numbers not going to look them up, the tree just opened.
git-svn-id: svn://10.0.0.236/trunk@60278 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 04:35:51 +00:00
kmcclusk%netscape.com
31beeacc3d Prevent synchronous paints during reflows bug 20150; r=rods@netscape.com
Call SetTextAlign within SetupDC instead of in each DrawString on WIN32. bug 26973; r=rods@netscape.com


git-svn-id: svn://10.0.0.236/trunk@60242 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 15:48:01 +00:00
jst%citec.fi
57a7c3b745 Make context menus work on XML pages (#15713). r=vidur@netscape.com,joki@netscape.com
git-svn-id: svn://10.0.0.236/trunk@60235 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 13:58:26 +00:00
tbogard%aol.net
1f77bfa59f SizeToContent now works properly within the new DocShell API world. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@60140 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 15:49:14 +00:00
joki%netscape.com
bcf5da502c Adding getPreventDefault method to events and fixing its propagation through content. r:hyatt
git-svn-id: svn://10.0.0.236/trunk@60037 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 02:05:57 +00:00
vidur%netscape.com
f2c41d8947 Optimize the case for container content with only a single child (the most common case). Now we only allocate a nsVoidArray if there's more than one child. r=troy
git-svn-id: svn://10.0.0.236/trunk@60016 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 01:12:59 +00:00
pavlov%netscape.com
d4589174f7 remove the non-needed push/pop states r=sfraser
git-svn-id: svn://10.0.0.236/trunk@59722 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 03:03:08 +00:00
dbaron%fas.harvard.edu
22c80ea3f0 Event Target Debugging (b=18175), a debugging feature to help with fixing bugs where events are going to the wrong elements. It shows (like Visual Debugging) which frame is receiving events, and one can therefore move the mouse over the page to see what frame gets events. All the code is #ifdef NS_DEBUG. However, it is not yet hooked up to the viewer menu (to be checked in later).
r=joki


git-svn-id: svn://10.0.0.236/trunk@59610 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 02:49:58 +00:00
vidur%netscape.com
09a857de06 Fix for bug 24306. The DocumentViewer now cleans up dangling webshell references in the PresContext. nsGenericElement::TriggerLink deals with a nonexistent handler (it might have been deleted already as part of event processing). r=buster, joki
git-svn-id: svn://10.0.0.236/trunk@59566 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 23:40:22 +00:00
valeski%netscape.com
74da69ea18 r=norris. we now pass url creation failure's into the onclick handers
git-svn-id: svn://10.0.0.236/trunk@59556 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 23:02:59 +00:00
pp%ludusdesign.com
a2927ce43e Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot
git-svn-id: svn://10.0.0.236/trunk@59537 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 22:24:56 +00:00
sfraser%netscape.com
ac3d745a73 Fix for 25952, don't crash when doing Open Location from composer window. nsPresState was using a null mProperties table. r=beard
git-svn-id: svn://10.0.0.236/trunk@59345 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 02:14:29 +00:00
sfraser%netscape.com
f5c799d682 Avoid crashing when mousing over links in teh composer window. r=brade
git-svn-id: svn://10.0.0.236/trunk@59318 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 00:00:17 +00:00
scc%netscape.com
1679a8f4c7 |nsFrameIterator::QueryInterface| neglects to handle |nsIBidirectionalEnumerator| ... replacing hand-rolled QI with the macro to fix. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@59194 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 19:59:53 +00:00
vidur%netscape.com
df9d1ddacd Fix for bugs 20485 and 24600. We no longer flush immediately in the content sink when we hit a script element. Instead the sink is a document observer and listens for BeginUpdate/EndUpdate notifications when evaluating a script and flushes only if necessary. Added BeginUpdate/EndUpdate notifications to nsIDocument and layout content (note that it's still necessary for XUL content). r=nisheeth,pollmann
git-svn-id: svn://10.0.0.236/trunk@59135 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 00:34:07 +00:00
vidur%netscape.com
825e97e024 Fix for bugs 20485 and 24600. We no longer flush immediately in the content sink when we hit a script element. Instead the sink is a document observer and listens for BeginUpdate/EndUpdate notifications when evaluating a script and flushes only if necessary. Added BeginUpdate/EndUpdate notifications to nsIDocument and layout content (note that it's still necessary for XUL content). r=nisheeth,pollmann
git-svn-id: svn://10.0.0.236/trunk@59117 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 23:43:12 +00:00
warren%netscape.com
94953b11eb Fix to propagate failure from MakeAbsolute to DOM event handler. r=vidur,joki
git-svn-id: svn://10.0.0.236/trunk@59032 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 06:55:27 +00:00
vidur%netscape.com
b0d8cb960b Fixed bug 16609. RemoveNamedItem now returns the correct error code if the attribute doesn't exist. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@58887 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 05:17:11 +00:00
vidur%netscape.com
b012506fc2 Fix for bugs 25082 and 25084. Range::SetStartBefore, etc. need to return an error for a null sibling. Range::createContextualFragment needed to allow for a null document. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@58875 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 02:51:51 +00:00
harishd%netscape.com
6575e1e56b Fix for Bug 24738 - Restricting DOCTYPE to html document only.
r=pollmann


git-svn-id: svn://10.0.0.236/trunk@58836 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 22:57:18 +00:00
norris%netscape.com
0dd1063455 Fix 23227 Document object vulnerability
r=mstoltz


git-svn-id: svn://10.0.0.236/trunk@58789 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 15:33:57 +00:00
dcone%netscape.com
78a3fc3824 support for regression testing. r=rods
git-svn-id: svn://10.0.0.236/trunk@58785 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 15:14:41 +00:00
nisheeth%netscape.com
d23c598d3c r=vidur. Add support for a new pref "layout.reflow.async.afterDocLoad" that enables async reflow in the pres shell only after the document is done loading. Cleaned up ExitReflowLock() so that it uses preferences to decide whether to do async reflow, not a parameter.
git-svn-id: svn://10.0.0.236/trunk@58611 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 16:00:44 +00:00
rods%netscape.com
a2cf4c1276 Added "const" infront of the arg for SetDefaultFont and SetDefaultFixedFont
r=pierre b=905


git-svn-id: svn://10.0.0.236/trunk@58588 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 14:33:03 +00:00
hyatt%netscape.com
d58696d355 Fixes for bugs: 18193, 13971, 23440, 18444, 21462, 21818, 22619, 23498, 24081, and 21972. r=just about everybody.
git-svn-id: svn://10.0.0.236/trunk@58568 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 06:35:27 +00:00
pierre%netscape.com
a0876134ef Bug 24676 ("Need -moz-outline-radius feature"). Added the 'outline_radius' similarly to the 'border_radius'.
git-svn-id: svn://10.0.0.236/trunk@58467 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 11:19:55 +00:00
pierre%netscape.com
2a14b9586a 9809 "Dynamic changes of outline properties aren't repainted". Generate a reflow when the outline changes.
git-svn-id: svn://10.0.0.236/trunk@58466 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 08:16:54 +00:00
nisheeth%netscape.com
26ad5f5255 Work done by Vidur and me. Added a FlushPendingNotifications() method to the document. This method flushes the pending content notifications from the content sink and the pending reflow notifications from the pres shell. This code is turned off for now so that it can be tested more thoroughly by Vidur and me.
git-svn-id: svn://10.0.0.236/trunk@58465 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 06:43:15 +00:00
norris%netscape.com
e4653042f2 Files:
caps/include/nsScriptSecurityManager.h
	caps/src/nsScriptSecurityManager.cpp
	modules/libpref/src/init/all.js
Fix
24565 nsScriptSecurityManager::GetSecurityLevel() is a performance
24567 re-write DOM glue security checks to avoid NS_WITH_SERVICE()
r=waterson

Files:
	dom/src/base/nsGlobalWindow.cpp
	layout/base/src/nsDocument.cpp
	layout/base/src/nsGenericElement.cpp
Fix assertion failure for 1-character property names.


Files:
	dom/src/jsurl/nsJSProtocolHandler.cpp
	webshell/src/nsDocLoader.cpp
Fix 18653 "javascript:" URLs cross windows problems (probably regressi
r=nisheeth

Files:
	layout/events/src/nsEventListenerManager.cpp
Fix
23834 document.onkeypress allows sniffing keystrokes
24152 document.onclick shows links from other window
r=joki


git-svn-id: svn://10.0.0.236/trunk@58429 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-23 04:23:14 +00:00
troy%netscape.com
60471abd92 b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
child list and changed ReparentFrameView() to check it.


git-svn-id: svn://10.0.0.236/trunk@58373 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-22 01:16:50 +00:00
michael.lowe%bigfoot.com
6856aa06f0 Repeating, prioritised timer implementation for Windows and Gtk (bug 22979). author={Win32=michael.lowe@bigfoot.com, Gtk=alex@cendio.se}, r={kmcclusk,rods,sfraser,et al} a=brendan
git-svn-id: svn://10.0.0.236/trunk@58358 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-21 21:56:09 +00:00