328 Commits

Author SHA1 Message Date
jbetak%netscape.com
172d3dff29 r=rickg, ftang fix for 32604 Trunk fix for illegal use of nsString-external JavaScript convert charset incorrectly
git-svn-id: svn://10.0.0.236/trunk@64088 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-25 01:21:21 +00:00
mstoltz%netscape.com
6bc9c31751 Changed UpdatePrincipal to AddPrincipal; it takes an input parameter now instead of an inout parameter; this is clearer. r=norris
git-svn-id: svn://10.0.0.236/trunk@63828 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 04:53:16 +00:00
norris%netscape.com
17c637de9c Added intersection of principals when multiple scripts are encountered. r=norris
(this is mstoltz's checkin)


git-svn-id: svn://10.0.0.236/trunk@63539 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 04:12:56 +00:00
nisheeth%netscape.com
9317eafd78 r=pollmann. Bug 30916. Content IDs are created for HTML elements created in the HTML content sink, XML content sink and dynamically via JS. The content ID counter is maintained by the document.
git-svn-id: svn://10.0.0.236/trunk@63529 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 03:25:16 +00:00
rickg%netscape.com
4fdc8bcb58 removed calls to deprecated nsString methods
git-svn-id: svn://10.0.0.236/trunk@62717 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 11:06:57 +00:00
rickg%netscape.com
1bd57cb94b removed calls to deprecated string methods
git-svn-id: svn://10.0.0.236/trunk@62707 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 09:14:14 +00:00
valeski%netscape.com
802411e84d r=jevering, a=jevering. 31447. We weren't accommodating the comma as a delimiter, now we are. call 720.841.4229 if there's a problem
git-svn-id: svn://10.0.0.236/trunk@62674 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 01:11:41 +00:00
norris%netscape.com
732190b52e Remove mURL from nsWebShell, and GetURL from nsIWebShell.
r=travis


git-svn-id: svn://10.0.0.236/trunk@62618 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 02:57:39 +00:00
tbogard%aol.net
729158bad0 Get the contentViewer through the docShell APIs instead of the webShell ones.
git-svn-id: svn://10.0.0.236/trunk@62568 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:34:54 +00:00
jevering%netscape.com
8b1c3b85c4 this is valeski in jevering's tree. a=jevering. r=ltabb (nice!), r=vidur. forcing cache bypass for inline JS url loads. this is a workaround, not a final fix
git-svn-id: svn://10.0.0.236/trunk@62525 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 06:25:13 +00:00
jst%netscape.com
3022974dcd Checking in fix for PDT+ bug 17489, now the HTML content sink correctly notifies the document about new content that apper after style/link tags that appear in the document content and not in the document head. r=vidur@netscape.com, a=jevering@netscape.com
git-svn-id: svn://10.0.0.236/trunk@62518 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-10 02:00:42 +00:00
norris%netscape.com
bc6c244897 Fix bug 30736 Errors in .js files not reported correctly
a=pdt,r=jband@netscape.com


git-svn-id: svn://10.0.0.236/trunk@62327 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 21:08:46 +00:00
warren%netscape.com
d100457780 Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar
git-svn-id: svn://10.0.0.236/trunk@62243 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 21:26:01 +00:00
valeski%netscape.com
80e8c2996f r=gagan. 29870. We weren't handling a malformed http-equiv refresh header.
git-svn-id: svn://10.0.0.236/trunk@62183 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 00:32:30 +00:00
pollmann%netscape.com
8a83557c05 Bug 28670: Move scroll methods from webshell to docshell r=travis a=rickg
git-svn-id: svn://10.0.0.236/trunk@61848 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 06:51:48 +00:00
rods%netscape.com
6fe59b394c Makes it so select tag are monolithic, this means the sink doesn't get flushed
until the end tag of a select. This helps performance a great deal. If it gets flushed
inbetween then the remaining options are added one at a time using the AddOption
and this is a lot less effecient.
b 28593, r=vidur


git-svn-id: svn://10.0.0.236/trunk@61807 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-28 21:38:30 +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
744a9edd0b Bug 14827: Removing code that wrongly set scrolling to auto for every document r=harishd a=rickg
git-svn-id: svn://10.0.0.236/trunk@61348 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-19 02:34:20 +00:00
troy%netscape.com
2dd6a71001 b=27056 a=jar@netscape.com r=troy@netscape.com Change made by Vidur.
Avoid notifications in the middle of a table row


git-svn-id: svn://10.0.0.236/trunk@61149 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 23:43:59 +00:00
attinasi%netscape.com
f88bc2d37f Made external stylesheets load synchronously, always. Controlled by a define in case we want to re-enable asynch external stylesheets later. r=pierre,troy b=17309
git-svn-id: svn://10.0.0.236/trunk@61093 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 06:50:39 +00:00
nisheeth%netscape.com
650cc21844 r=harishd. Fix for bug 27507. Removed a bogus assert.
git-svn-id: svn://10.0.0.236/trunk@60936 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 22:03:05 +00:00
evaughan%netscape.com
03ab66fac1 bug fix for 24351, 22512
-r saari


git-svn-id: svn://10.0.0.236/trunk@60675 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 01:42:09 +00:00
harishd%netscape.com
d5026b4536 21008 - Handling NOTAGS in HEAD.
r=vidur - For changes in content sink.


git-svn-id: svn://10.0.0.236/trunk@60504 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 22:07:12 +00:00
rickg%netscape.com
bc4aa61e7a fixed bug24346; r=harishd
git-svn-id: svn://10.0.0.236/trunk@60476 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 12:10:40 +00:00
pollmann%netscape.com
ab48c21ac0 Bug 10434: legend.form return form legend is in r=buster
Bug 26669: Don't execute script in noframe and noscript tags r=harishd,vidur


git-svn-id: svn://10.0.0.236/trunk@60382 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 01:18:41 +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
valeski%netscape.com
0305c31ba1 25557, 26083. r=morse. We now capture cookies from HTTP-EQUIV and we also handle HTTP-EQUIV refresh headers that include single/double quotes
git-svn-id: svn://10.0.0.236/trunk@59790 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 22:50:39 +00:00
valeski%netscape.com
8abecb4b3e r=warren. nsIUnicharStreamLoader is dead. Now we have a generic byte stream loader that can be used for any sort of data.
git-svn-id: svn://10.0.0.236/trunk@59559 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 23:04:47 +00:00
akkana%netscape.com
3d478016f0 24635: Don't convert entities in title differently from the rest of the document. Fix suggested by rickg, r=me
git-svn-id: svn://10.0.0.236/trunk@59550 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 22:47:24 +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
vidur%netscape.com
1fc69f769b Partial performance fix for bug 25509. Restrict the size of text nodes (the max is settable via a pref-content.maxtextrun). r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@59310 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 23:39:19 +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
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
norris%netscape.com
153ee04b50 Fix
23643 Reading email messages using <META REFRESH>
23729 Executing functions in "chrome:" protocol - #3 - META REFRES
23730 Executing functions in "chrome:" protocol - #4 - HTTP redire
24217 Access to functions in chrome: protocol using IFRAME
24865 Parsing local non-HTML files #2 using META REFRESH
r=gagan


git-svn-id: svn://10.0.0.236/trunk@58561 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 04:42:01 +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
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
hyatt%netscape.com
bb4cf88bdc Adding an interface for the creation of elements. Converting the HTML
element factory so that it implements this generic interface. r=waterson


git-svn-id: svn://10.0.0.236/trunk@58213 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 03:10:06 +00:00
nisheeth%netscape.com
7bb9a0c5e5 r=pollmann. Fix for bug 22237.
git-svn-id: svn://10.0.0.236/trunk@57870 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-15 01:41:22 +00:00
pollmann%netscape.com
836ef6cf4d Bug 18478: Allow base tag in body to work for image maps (Fix courtesy bissiri@eecs.umich.edu) r=self, harishd
git-svn-id: svn://10.0.0.236/trunk@57374 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 07:21:24 +00:00
pierre%netscape.com
1de0179819 Bug 18817 "autodetection of content-type used": in strict mode, requires the mime type to be specified if the style sheet doesn't have a '.css' extension (otherwise the style sheet is ignored).
git-svn-id: svn://10.0.0.236/trunk@57196 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 10:09:00 +00:00
vidur%netscape.com
4a4cce66b8 Fix for bug 21682. BASE tag was ignored in the fragment content sink. Added HTML element creation method that takes an ID. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@57035 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 23:36:45 +00:00
vidur%netscape.com
dc826a1336 Fix for bug 20737. Get rid of html.css entries for LAYER/ILAYER. Make sure only default (span) content is created for them. a=chofmann r=pollmann.
git-svn-id: svn://10.0.0.236/trunk@55997 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 23:11:19 +00:00
sfraser%netscape.com
a945951480 Fix for bug 21189; first node's content was duplicated with timer-based notifications on. Fix by vidur, r=smfr, a=brendan. Also work around a problem with LL_CMP macros on compilers that don't use long long (NSPR bug 21428).
git-svn-id: svn://10.0.0.236/trunk@55869 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 22:47:39 +00:00
vidur%netscape.com
7ddd31965b Fix for bug 21271. Check if the current context is the head context in HTMLContentSink::CloseHTML, even though the parser shouldn't let that happen. Fixes crash in Channels dropdown. A=jar R=pollmann.
git-svn-id: svn://10.0.0.236/trunk@55838 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 03:36:50 +00:00
vidur%netscape.com
2d4baee02f Partial fix for bug 20645. Rather than just assert on error state, bail out with an error code. Real fix still due from the parser guys, but we don't crash anymore. a=chofmann r=rickg
git-svn-id: svn://10.0.0.236/trunk@55792 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 03:10:22 +00:00
rickg%netscape.com
53f36f30cd unintentionally commited. Backing out
git-svn-id: svn://10.0.0.236/trunk@55774 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 23:05:14 +00:00
rickg%netscape.com
9e042dd8f4 fixed bug 21146; r=buster; a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@55770 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 22:54:08 +00:00
vidur%netscape.com
f09059d2c6 Fix for bug 18877. DemoteContainer in the content sink no longer unconditionally does notificaions. Also turned on timer-based notifications by default (bug 17325). R=troy
git-svn-id: svn://10.0.0.236/trunk@55705 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 03:47:05 +00:00
rickg%netscape.com
cf7c17f944 WIP on fixing <noscript> bug for real -- post dogfood. r=syd
git-svn-id: svn://10.0.0.236/trunk@55561 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 07:25:56 +00:00
vidur%netscape.com
4662ada89f For bug 17325. Added timer-based notifications that can be enabled on a pref. R=nisheeth.
git-svn-id: svn://10.0.0.236/trunk@55252 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 01:27:46 +00:00