tbogard%aol.net
495826cccc
nsIPref is no longer passed around through inits on webshell, content viewers and presContext. In places where it is needed, it can be retrieved from the service manager. I removed a number of the getters and setters for prefs as the prefs will be the same from the service manager so we don't need getters. r=waterson a=rickg
...
git-svn-id: svn://10.0.0.236/trunk@62038 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 07:13:02 +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
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
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
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
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
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
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
scc%netscape.com
b981dc83f5
Must use |GetEnumerator|; can't QI a selection to get the enumerator. Fixes bug #24354 . Also fixes a leak in the same routine. r=buster, a={chofmann, brendan}
...
git-svn-id: svn://10.0.0.236/trunk@58268 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 22:56:25 +00:00
hyatt%netscape.com
8700ce7aad
Adding an interface for the creation of elements. r=waterson
...
git-svn-id: svn://10.0.0.236/trunk@58212 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 03:09:12 +00:00
sfraser%netscape.com
b343a64540
More of the fix for 14026 -- hook up Select All in the browser windows's controller, and general tidyup. r=saari
...
git-svn-id: svn://10.0.0.236/trunk@58119 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 21:06:10 +00:00
danm%netscape.com
2b63300d33
adding a parameter to nsIBrowserWindow::SizeWindowTo. part of bug 15555. r:hyatt
...
git-svn-id: svn://10.0.0.236/trunk@57892 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 02:30:34 +00:00
tao%netscape.com
ecd98e520f
bug 23400: Need to expose api GetDocumentCharacterSet() to JS. r=vidur.
...
git-svn-id: svn://10.0.0.236/trunk@57887 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 02:01:05 +00:00
dcone%netscape.com
fcd03d055e
Added a container for the printContext. r= rods b = 21470
...
git-svn-id: svn://10.0.0.236/trunk@57829 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 14:30:41 +00:00
norris%netscape.com
5c8d9b369d
Fix warning.
...
git-svn-id: svn://10.0.0.236/trunk@57463 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 23:55:18 +00:00
dcone%netscape.com
5e51c18847
Set the container for the printContext. Fixes an Assert, but not the entire bug. r=Rods b=21470
...
git-svn-id: svn://10.0.0.236/trunk@57449 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 22:32:23 +00:00
hyatt%netscape.com
2c9879296b
adding behavior property to CSS. r=brendan
...
git-svn-id: svn://10.0.0.236/trunk@57347 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 03:40:41 +00:00
pinkerton%netscape.com
28c3b87687
fixing bug 21414 the right way, reverting api's to their previous ways.
...
git-svn-id: svn://10.0.0.236/trunk@57303 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-10 23:04:24 +00:00
norris%netscape.com
02d0724222
Fix
...
858 [Feature] JavaScript auto-disable per-domain RFE
13023 Users must be able to disable Java and JavaScript (for JS in mail)
21923 Executing functions in "chrome:" protocol - #2 .
r=mstoltz
(Checked in with red on Mac; Wan-Teh says his changes are localized so
it shouldn't interfere with his fixing bustage.)
git-svn-id: svn://10.0.0.236/trunk@57214 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 16:51:54 +00:00
pinkerton%netscape.com
f4e554070e
Added a new param to the HTML->Text sink stream to take the charset so that we can convert to plain text with the correct charset for the platform. Enhanced the XIFFormatConverter to take advantage of this, fixing bug 21414. r=akkana, nhotta.
...
git-svn-id: svn://10.0.0.236/trunk@57149 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 01:48:39 +00:00
pollmann%netscape.com
b1c96fac8e
Bug 12599: Accept string as integer attribute to prevent assert, fix courtesy rickg r=self and harishd
...
git-svn-id: svn://10.0.0.236/trunk@57074 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 05:44:42 +00:00
sspitzer%netscape.com
e111e775da
checking in beard's bulletproofing fix for the profile crashers on mac. r=sspitzer
...
git-svn-id: svn://10.0.0.236/trunk@56754 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 21:24:37 +00:00