521 Commits

Author SHA1 Message Date
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
cata%netscape.com
1d485f061e activating charset override. bug #7886, r=ftang, a=bobj
git-svn-id: svn://10.0.0.236/trunk@62105 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 02:20:53 +00:00
jst%citec.fi
5195de87f5 Temporary (untill the real problem gets fixed) fix for PDT+ bug 18186. r=vidur, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@62058 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 15:06:05 +00:00
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
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
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
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
ftang%netscape.com
c9956df79a fix 22203. r=cata/jbetak do not call the reload but set the parser charset directly if auto detect happen in the first block.
git-svn-id: svn://10.0.0.236/trunk@60855 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 09:15:18 +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
attinasi%netscape.com
2f3dac1279 Image title is now set after load is completed so the dimensions will be valid.r=pnunn b=27365
git-svn-id: svn://10.0.0.236/trunk@60603 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-12 18:09:40 +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
tbogard%aol.net
c416db8338 GlobalWindow now calls up nsIDocShellTreeOwner rather than nsIBrowserWindow. GlobalWindow has mostly been re-organized as well as cleaned up to provide this new functionality. DocShellTreeOwners got implementations filled in and many bugs fixed. nsIScriptGlobalObject now talks in terms of docShells instead of webShells. Fixed a number of cases where people were walking through content viewers etc to get to a presShell and changed them to simply ask for the presShell from the docShell. GlobalWindow now deals completely in terms of docShells. r=vidur
git-svn-id: svn://10.0.0.236/trunk@60129 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-08 13:40:10 +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
vidur%netscape.com
d55b639f5b Fix for bug 19185. document.clear(), which exists for JS compatibility anyway, now takes a JS context and uses it to find the URL of the calling context. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@59576 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 00:25:53 +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
attinasi%netscape.com
010367b83d Removed unused argument statements for elimination of warnings. No functional changes.
git-svn-id: svn://10.0.0.236/trunk@59247 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 13:54:39 +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
attinasi%netscape.com
a4a9391a2f Title is now set in the Title Bar. b=24478 r=rickg
git-svn-id: svn://10.0.0.236/trunk@58863 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 02:15:19 +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
dougt%netscape.com
714da09a59 Landing nsIFile.
git-svn-id: svn://10.0.0.236/trunk@58490 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 21:28:28 +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
vidur%netscape.com
4755c2cf84 Fix for bug 9378. document.layers now returns undefined, not null. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@58156 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 23:35:47 +00:00
pollmann%netscape.com
6f3477c21c Bug 20315: Adding comment r=buster
git-svn-id: svn://10.0.0.236/trunk@58063 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 02:40:45 +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
akkana%netscape.com
7b2f1553b5 Use if instead of switch, to eliminate warnings. r=slamm
git-svn-id: svn://10.0.0.236/trunk@57337 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 02:24:29 +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
akkana%netscape.com
bf073d110f Fix a huge slew of warnings. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@57141 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 01:20:58 +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
jband%netscape.com
191411b358 Landing big set of DOM and XPConnect changes:
DOM: getting rid of JS_GetContextPrivate wherever possible. Use static parent
links where we can. When we do need to find this info about the caller
we call a function that knows how to get that info rather than inline calls
to JS_GetContextPrivate. This is all required for calling DOM objects on
non-DOM JSContexts as we do via xpconnect.

XPConnect: basic refactoring work to disassociate wrappers from the JSContext
that was active when the wrapper was constructed. This allows for calling into
wrapped JS objects on the right JSContext and for proper grouping of wrapped
native objects so that they can share proto objects. This also allows for
better sharing of objects and lays the foundations for threadsafety and
interface flattening.

Also, xpconnect tests are reorganized and improved.

fixes bugs: 13419, 17736, 17746, 17952, 22086

r=vidur r=mccabe r=norris r=cbegle
a=chofmann


git-svn-id: svn://10.0.0.236/trunk@56202 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 20:29:29 +00:00
mccabe%netscape.com
8be12a7ac1 Fix to 21900.
#ifdef strftime formatting string "%#c" ('format to 4-digit date string, any format') to "%c" for non-Windows platform, as only Windows accepts, requires or understands that extra '#' to get a 4-digit date.

Thanks to KerryGinn@computer.org for spotting this one.  (document.lastModified came out as "%#c" on a mac.)

r=Pavlov
a=choffman.


git-svn-id: svn://10.0.0.236/trunk@56089 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-16 09:06:41 +00:00
vidur%netscape.com
021a42b33f Fix for bugs 20737. Named layers are no longer reflected into the document namespace. Also 9787. document.clear implemented. a=chofmann, r=pollmann.
git-svn-id: svn://10.0.0.236/trunk@55999 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-14 23:34:17 +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
pollmann%netscape.com
b78c738e4a Bug 20315: Make non-iso charsets work in frameset documents. Fix 2/2: Propagate charset info from parent frames to children r=ftang a=chofmann
git-svn-id: svn://10.0.0.236/trunk@55936 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-13 22:45:06 +00:00
ftang%netscape.com
17cbeb77e7 fix bug 21234 r=buster reset the hint charset source after access it from the meta charset reload
git-svn-id: svn://10.0.0.236/trunk@55930 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-13 21:00:47 +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