1090 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
c2de335afb Fix leaks from nsDocument::mPrincipal by making it an nsCOMPtr. b=170201 r=mstoltz sr=jst
git-svn-id: svn://10.0.0.236/trunk@130316 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-24 01:27:44 +00:00
hyatt%netscape.com
231ada71e5 Fix for 169373, make HTML form controls fully support native look on Windows XP. r/sr=hewitt/blake
git-svn-id: svn://10.0.0.236/trunk@130192 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-21 01:03:38 +00:00
peterv%netscape.com
3f57e344ed Fix for bug 163810 (Option Object created, own properties added, but Mozilla "forgets" them after some time.). r=sicking, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@130147 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-20 13:40:53 +00:00
shanjian%netscape.com
984eb760cc #169858 Browser--Can not login CMB website.
Populate frameset charset source of post doc to disable autodetection.
r=jkeiser, jebak, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@130139 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-20 09:24:54 +00:00
rpotts%netscape.com
699385330e fixing build bustage...
git-svn-id: svn://10.0.0.236/trunk@129981 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-19 00:13:40 +00:00
jst%netscape.com
9b143a5e27 Fixing bug 168371. Cleaning up nsHTMLContentSink.cpp, I'll now get to own this whole file! r=caillon@returnzero.com, rs=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@129979 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-18 23:31:08 +00:00
rpotts%netscape.com
c3234b594f bug #93015 (r=darin/sr=jst) First patch that cleans up imglib use of LoadFlags and channel attributes...
git-svn-id: svn://10.0.0.236/trunk@129968 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-18 22:08:12 +00:00
jkeiser%netscape.com
a43827cf5e Make multiple HEAD tags work, and fix form to work with it too (patch by harishd@netscape.com, bug 141537), r=jkeiser@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@129752 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-16 21:48:25 +00:00
darin%netscape.com
0440ed5ff8 enabling prefetching again for XP_MAC (had to back this out two days back
due to bustage)


git-svn-id: svn://10.0.0.236/trunk@129399 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 19:45:10 +00:00
darin%netscape.com
75837576ff temporary hack to fix mac bustage... will return with the real fix.
git-svn-id: svn://10.0.0.236/trunk@129231 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 04:32:38 +00:00
darin%netscape.com
d692f0f7a2 fixes bug 166647 "allow link prefetching from a META tag + other fixes"
r=dougt,hixie sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@129223 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 03:12:13 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
dougt%netscape.com
db8cc9c7ec Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129037 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 05:38:16 +00:00
jkeiser%netscape.com
d73bc69f1a Fix race condition where iframe's frame is created after document is loaded and body is parsed (bug 153815), kin@netscape.com's patch, r=jkeiser@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@128944 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-06 05:44:31 +00:00
andreas.otte%debitel.net
fa69b03848 fix bug 166085 [Assertion constructing about: URIs
[@nsAboutProtocolHandler:122]] This is a regression fix from the fix
for bug 163225. The assertions never made sense and now they are
exposed. r=bzbarsky, sr=darin


git-svn-id: svn://10.0.0.236/trunk@128681 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-02 22:04:03 +00:00
jfrancis%netscape.com
6cf80b2b8c fix for 159842: parser has no mechanism to allow parsing of incomplete html fragments. sr's from heikki, kin, bz
git-svn-id: svn://10.0.0.236/trunk@128445 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-29 08:17:41 +00:00
shanjian%netscape.com
5d1c227024 #162239 POST document could not inherit charset from previous page if the previous charset is from autodetection.
r=ftang, darin, sr=jst
added PrevDocCharset to markupViewer, and pass around previous document charset.
This charset is later used to load POST document.


git-svn-id: svn://10.0.0.236/trunk@128141 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 20:13:31 +00:00
roc+%cs.cmu.edu
c6bb83f66a Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin
git-svn-id: svn://10.0.0.236/trunk@128041 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-24 14:41:28 +00:00
henry.jia%sun.com
d4a65691fd Fix bug 159889: replace the hardcode of "@mozilla.org/preferences;1" with NS_PREF_CONTRACTID
Patch by leon.zhang@sun.com
r=Henry, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@127594 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-19 04:29:58 +00:00
seawood%netscape.com
823af36499 Removing unused defines:
_IMPL_NS_BASE (bug #162142)
_IMPL_NS_GFXONXP (bug #162145)
_IMPL_NS_UI (bug #162183)
B_ONE_M (bug #162196)
XP_NEW_SELECTION (bug #162230)
r=cls
Thanks to Stephen Walker <walk84@yahoo.com> for the patches.


git-svn-id: svn://10.0.0.236/trunk@127074 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-12 13:35:18 +00:00
seawood%netscape.com
0b3ff474f3 Removing old nmake build makefiles. Bug #158528 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@126975 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 07:55:43 +00:00
seawood%netscape.com
5cf2509541 Remove unused defines:
_IMPL_NS_HTML
_IMPL_NS_RDF
_IMPL_NS_WEB
USE_NSREG

Patches for removing above defines contributed by Stephen Walker <walk84@yahoo.com>.
Bug #125118 r=cls sr=bryner
Bug #160397 r=cls sr=bryner
Bug #160628 r=cls
Bug #160451 r=cls sr=bryner

_IMPL_NS_VIEW

Patches for removing above define contributed by Brian Ryner <bryner@netscape.com>
Bug #160416 r=cls


git-svn-id: svn://10.0.0.236/trunk@126619 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 06:08:00 +00:00
bzbarsky%mit.edu
0fccde2c29 respect content-style-type HTTP header and support the <meta> tag in
XML.  Bug 161268, r=peterv, sr=dbaron.


git-svn-id: svn://10.0.0.236/trunk@126516 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 13:51:48 +00:00
bzbarsky%mit.edu
cddc8ec348 <object> should be in form.elements. Bug 127847, r=jkeiser, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@126485 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 08:32:19 +00:00
jkeiser%netscape.com
701be434fb Make save/restore work for all forms, not just the first (bug 138892), r=rods@netscape.com, sr=attinasi@netscape.com, a=asa
git-svn-id: svn://10.0.0.236/trunk@125331 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-16 22:38:51 +00:00
jst%netscape.com
ce2c73b7b7 Fixing security bug 134315. Make sure we clear the JS scope in cases where it's needed. r=mstoltz@netscape.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@124818 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 02:49:58 +00:00
mstoltz%netscape.com
8946598190 Bug 152725 - Get URL passed to cookie module from document principal, not document URL.
THis ensures that cookies set by javascript URL pages are set in the correct domain.
r=morse, sr=dveditz.


git-svn-id: svn://10.0.0.236/trunk@124514 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 17:58:24 +00:00
bzbarsky%mit.edu
819a2aa815 Expose document.referrer for image documents. Bug 155052, r=sicking, sr=jst
git-svn-id: svn://10.0.0.236/trunk@124446 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 00:08:46 +00:00
dbaron%fas.harvard.edu
ee63eedd77 Correcting comment. r=bzbarsky b=153032
git-svn-id: svn://10.0.0.236/trunk@124269 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-28 06:31:30 +00:00
harishd%netscape.com
cba309a0c0 Make marquee tag a block level element. b=154173, r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@124152 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-27 01:49:38 +00:00
dbaron%fas.harvard.edu
7e821aaa94 Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner
git-svn-id: svn://10.0.0.236/trunk@124073 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 03:38:55 +00:00
timeless%mac.com
d82a6cb235 Bug 125090 Bad tag enum passed to CNavDTD::IntTagToStringTag()!!: 'str_ptr',
r=bz sr=jst
so much for consistency, the bug fix was errant in its parallelism and caused a crash
thanks to jonsmirl@yahoo.com for pointing out the correct index var


git-svn-id: svn://10.0.0.236/trunk@124050 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 23:49:02 +00:00
dbaron%fas.harvard.edu
7c4652cc16 Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson
git-svn-id: svn://10.0.0.236/trunk@124017 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 21:16:17 +00:00
timeless%mac.com
c865cd2a92 Bug 125090 Bad tag enum passed to CNavDTD::IntTagToStringTag()!!: 'str_ptr',
r=bz sr=jst


git-svn-id: svn://10.0.0.236/trunk@123996 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 06:47:53 +00:00
shanjian%netscape.com
447b7a35cc #102407 Unexpected instances of POSTDATA warning messages [form sub]
Swap the priority of weakdoc charset and default charset.
disable auto detection for POST document.
r=ftang, sr=darin


git-svn-id: svn://10.0.0.236/trunk@123131 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 04:18:31 +00:00
harishd%netscape.com
2f67ab9c46 Strip leading/trailing spaces from img src attribute value that was preventing image rendering. b=87894, r=jkaiser, sr=jst
git-svn-id: svn://10.0.0.236/trunk@123108 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 23:23:12 +00:00
alecf%netscape.com
6ebda75c34 fix for bug 101761 - REQUIRES update - remove all REQUIRES that are no longer necessary.. r=cls, a=asa (build-only changes)
git-svn-id: svn://10.0.0.236/trunk@122820 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-06 20:28:14 +00:00
jkeiser%netscape.com
65ed9147ab Bug 125578.
git-svn-id: svn://10.0.0.236/trunk@122629 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 02:46:30 +00:00
dbaron%fas.harvard.edu
36706675ec Ensure that the quirks stylesheet is enabled/disabled before we start creating frames so that we don't have to build the rule cascade twice. Remove old compatibility mode pref that only controlled a small part of what it should have. b=141261 sr=waterson r=jst
git-svn-id: svn://10.0.0.236/trunk@122112 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 23:09:31 +00:00
jst%netscape.com
0e34136ef1 Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@122039 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 00:00:34 +00:00
jst%netscape.com
7b7411c3ef Fixing bug 134278. Die kNameSpaceID_HTML, die! r=sicking@bigfoot.com, sr=heikki@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121894 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 22:47:02 +00:00
jst%netscape.com
9dc48e1db8 Fixing bug 131841. Don't make calls on weak XPCOM (nsIPresShell in this case) pointers since the objects might go away during the call, this lead to a crash in this particular case. r=sicking@bigfoot.com, sr=vidur@netscape.com, brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@121802 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 00:02:50 +00:00
pete.zha%sun.com
5894b69ba2 bug 143168:remove ilayer layer tag from mozilla code
r=harishd, sr=jst
Check in for Jerry Tan(jerry.tan@sun.com)'s fix


git-svn-id: svn://10.0.0.236/trunk@121590 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 03:08:15 +00:00
caillon%returnzero.com
00ebc565e0 Initial implementation of DOM Level 3 Core methods Node.compareTreePosition() and Node.isSameNode(), Bug 139344, r=jkeiser, sr=jst
git-svn-id: svn://10.0.0.236/trunk@121437 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 01:28:17 +00:00
radha%netscape.com
2ae3fea654 Removing a printf from a previous checkin.
git-svn-id: svn://10.0.0.236/trunk@121188 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 20:35:02 +00:00
bzbarsky%mit.edu
171fd440e2 Fix off-by-one-char error that caused hang. Bug 142290, r=caillon, sr=jst
git-svn-id: svn://10.0.0.236/trunk@121169 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 14:41:51 +00:00
jkeiser%netscape.com
4fd4a3d9c6 Treat NOLAYER like any undeclared tag (from Antonio Xu). Bug 61443, r=harishd@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121143 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 02:33:34 +00:00
jkeiser%netscape.com
6fecd9e30b Remove DemoteForm. Sweet, sweet revenge--may you rest in peace. bug 90756, r=harishd@netscape.com, sr=vidur@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121130 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 00:29:23 +00:00
jst%netscape.com
a9a7bb82fa Fixing Txul regression bug 138012. Make docshells always accessible through box objects and load about:blank when no src is specified on a frame. Eliminate creation of synthetic documents when they're not needed. r=peterv@netscape.com, sr=jaggernaut@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119902 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 23:04:52 +00:00
mkaply%us.ibm.com
c54005fdf8 OS/2 bustage - forgot to remove it in header
git-svn-id: svn://10.0.0.236/trunk@119366 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 06:05:03 +00:00