655 Commits

Author SHA1 Message Date
jst%netscape.com
d373bbd08d Fixing bug 201839. Don't let javascript: URL's from 'zombie' documents execute, and send the link's owner documents URL as the referer when loading a document as a result of clicking on a link and not the current URI. r=mstoltz@netscape.com, sr=heikki@netscape.com
git-svn-id: svn://10.0.0.236/trunk@141425 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-19 00:43:20 +00:00
jst%netscape.com
b8eb00005f Fixing bug 199489. Crash when changing iframe visibility from within the iframe. r=adamlock@netscape.com, sr=heikki@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@141401 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-18 18:55:10 +00:00
timeless%mozdev.org
af29cab0a7 Bug 201423 Crash [@ nsWebShell::Create] if urildr.dll is missing
r=adamlock sr=bz


git-svn-id: svn://10.0.0.236/trunk@140983 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-10 18:17:57 +00:00
dougt%netscape.com
fed2927b2c Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a “only include” cid list that can mask CID’s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.


git-svn-id: svn://10.0.0.236/trunk@139480 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 01:04:32 +00:00
cbiesinger%web.de
2ce1496a15 97324 r=peterl/jst sr=jst/bz nsContentDLF.cpp should not use a static list of image types; also: 192023 Make DocLoaderFactories a service
git-svn-id: svn://10.0.0.236/trunk@138608 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 13:51:55 +00:00
dbaron%dbaron.org
0653a5fa91 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@135993 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 19:35:36 +00:00
darin%netscape.com
d23b0dfd5f fixes bug 56629 "Proxy: Client->Proxy connection errors should show proxy,
not target hostname" r=bbaetz, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@134769 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 04:18:08 +00:00
bzbarsky%mit.edu
f6b3b3afb9 Make nsILinkHandler take uris instead of strings. Bug 176904, r=darin, sr=jst
git-svn-id: svn://10.0.0.236/trunk@134133 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 00:44:26 +00:00
kaie%netscape.com
f524453856 b=106865 Blank page instead of SSL error dialog visiting https server
r=rpotts sr=darin a=asa


git-svn-id: svn://10.0.0.236/trunk@131962 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-14 14:34:40 +00:00
dougt%netscape.com
1d07c05e8f fixing bustage
git-svn-id: svn://10.0.0.236/trunk@130440 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-25 20:49:29 +00:00
dougt%netscape.com
4cd3ac5a72 Moves uploadStream to nsIUploadChannel. r=neeti@netscape.com, sr=darin@netscape.com, b=100601
git-svn-id: svn://10.0.0.236/trunk@130433 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-25 20:15:17 +00:00
dbaron%fas.harvard.edu
cc3fa44321 Prevent docloader leaks by making mDocLoader an nsCOMPtr. b=170024 r=peterv sr=jst
git-svn-id: svn://10.0.0.236/trunk@130310 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-24 00:35:51 +00:00
nhotta%netscape.com
bbf62282ae Changed to call util function to unescape URI for status bar,
bug 81024, r=ftang, sr=darin.


git-svn-id: svn://10.0.0.236/trunk@129720 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-16 17:41:48 +00:00
darin%netscape.com
f71b3fa49f fixing "oops" following my checkin for bug 45421 (thanks to cbiesinger)
git-svn-id: svn://10.0.0.236/trunk@129686 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-16 06:51:28 +00:00
darin%netscape.com
95506efb63 fixes bug 45421 "Offline: No feedback when browsing to an uncached URL in
offline mode" r=adamlock sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@129665 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-15 23:40:43 +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
alecf%netscape.com
627a8e0aac ok, hopefully the last attempt to fix bug 12493, normalizing URLs for global history
this time cache the most common URI objects for links that appear on a webpage - http, https, ftp
r=radha, sr=darin


git-svn-id: svn://10.0.0.236/trunk@127407 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-15 22:21:40 +00:00
alecf%netscape.com
f1ec72c0ba back myself out to see if I caused the pageload times to go up
I'm sure its me :(


git-svn-id: svn://10.0.0.236/trunk@127336 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-15 01:44:51 +00:00
alecf%netscape.com
16e7daf1b9 really fix bug 12493 - sr=darin, r=radha
move the check for mIOService into its own check


git-svn-id: svn://10.0.0.236/trunk@127289 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-14 22:43:05 +00:00
alecf%netscape.com
feeeaa6162 fix for bug 12493 - layout should canonicalize urls before asking global history for visited status
r=radha, sr=darin


git-svn-id: svn://10.0.0.236/trunk@126549 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 23:51:42 +00:00
nhotta%netscape.com
7da2a94cbd Change nsJSProtocolHandler to listen to originCharset to apply conversion if necessary,
also changed the callers to set originCharset,
bug 137182, r=caillon, sr=jst, a=asa.


git-svn-id: svn://10.0.0.236/trunk@125650 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-23 23:28:28 +00:00
mjudge%netscape.com
2210006d15 r=akkana sr=sfrasier 125146 a=asa This patch will make the embedding API's a better friend to all. It eliminates the use of multibyte strings in command names and also allows for simple command to not require the nsICommandParams interface to be filled.
git-svn-id: svn://10.0.0.236/trunk@125242 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 22:04:13 +00:00
locka%iol.ie
4f88d7ef1a Support for error pages. b=28586 r=radha@netscape.com sr=rpotts@netscape.com a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@125030 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-11 20:59:03 +00:00
locka%iol.ie
9c91f86746 Use proper weak refs over raw pointers to hold parent URI listeners. b=144887 r=radha@netscape.com sr=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@124883 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 21:30:13 +00:00
locka%iol.ie
9fb4bb0280 Reinstate keyword fixup code to fix regression. b=143080 r=valeski@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121723 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 01:58:45 +00:00
jst%netscape.com
67ee650f45 Checking in the fix for bug 52334 for the third time. This time it should stick! Making iframe's load their document even if they're not displayed. r=jkeiser@netscape.com, sr=rpotts@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@119206 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 04:17:16 +00:00
timeless%mac.com
bcb964d3df http://bonsai.mozilla.org/cvsquery.cgi?module=SeaMonkeyAll&branch=HEAD&cvsroot=/cvsroot&date=explicit&mindate=1017959940&maxdate=1017960540&who=jst%25netscape.com&generateBackoutCVSCommands=1
Backing out the fix for bug 52334

approved by sheriff (karnaze) and cathleen


git-svn-id: svn://10.0.0.236/trunk@118211 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-05 05:42:10 +00:00
jst%netscape.com
198bc42921 Checking in the fix for bug 52334 again now that the linux crash and the scrollwheel crash has been fixed. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@118156 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 22:42:19 +00:00
jst%netscape.com
68b586dd87 Backing out latest checkins due to them not working on linux and other unix systems with broken compilers.
git-svn-id: svn://10.0.0.236/trunk@118090 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 07:31:16 +00:00
jst%netscape.com
dc83a26530 Fixing bug 52334. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@118072 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 02:09:19 +00:00
locka%iol.ie
3c68667aed Prevent www. & .com fixup for link clicks and in frames & iframes. b=34943 r=radha@netscape.com sr=rpotts@netscape.com a=asa@mozilla.org a=jaimejr@netscape.com (adt)
git-svn-id: svn://10.0.0.236/trunk@117997 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-03 11:04:30 +00:00
jkeiser%netscape.com
b2fd70a768 Handle errors better from DocShell loading (fixes a crash) (bug 132023), r=sicking@bigfoot.com, sr=darin@netscape.com, a=asa
git-svn-id: svn://10.0.0.236/trunk@117606 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 05:45:17 +00:00
dbaron%fas.harvard.edu
8a6d46ad56 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117341 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 21:42:00 +00:00
darin%netscape.com
be2d34b6c7 remove annoying "unknown error" dialog. b=131399, r=dougt, sr=bienvenu, a=asa
git-svn-id: svn://10.0.0.236/trunk@116808 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 00:06:31 +00:00
darin%netscape.com
903be6c0ae fixes orangeness on tinderboxen, b=63878.
git-svn-id: svn://10.0.0.236/trunk@116608 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 02:27:02 +00:00
darin%netscape.com
ceb40cde4d fixes bug 63878 "Implement alert for 'document contains no data' (was Going
to lexmark.com does nothing, but www.lexmark works [Connection reset by peer]"
r=adamlock, sr=rpotts, a=asa


git-svn-id: svn://10.0.0.236/trunk@116568 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 20:24:15 +00:00
jkeiser%netscape.com
9ed7ccc48f Prevent double submission of forms (bug 72906). r=darin@netscape.com, r=alexsavulov@netscape.com, sr=alecf@netscape.com, a=asa
git-svn-id: svn://10.0.0.236/trunk@116468 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-13 06:08:56 +00:00
darin%netscape.com
04849998e1 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
morse%netscape.com
c30bfac365 bug 107579, infrastructure for detecting 3rd-party cookies, r=darin,rpotts, sr=devitz
git-svn-id: svn://10.0.0.236/trunk@115625 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-02 01:26:49 +00:00
mjudge%netscape.com
40f7d1b02e 115922 embedding work. no changes should be observed in current product this will only affect the embedded effort. This moves the command handler stuff from content xul to embedding/components/commandhandler. a=judd r=saari built on mac/windows/gmake with this we will be able to finish removing editorshell from the app and have a true embedded editor.akkana will pick this up after me and finish the embedding work.
git-svn-id: svn://10.0.0.236/trunk@113507 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 05:13:56 +00:00
darin%netscape.com
3a19ed2019 fixes bug 42898 "iDNS support"
r=nhotta, sr=brendan


git-svn-id: svn://10.0.0.236/trunk@112284 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 03:23:23 +00:00
locka%iol.ie
dbfc30244c Removed huge chunks of dead webshell and cleaned up a few references to it elsewhere in the code. b=113970 r=valeski@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@111568 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 13:01:38 +00:00
shanjian%netscape.com
3356940ad2 #112793 fine tune frame charset mechanism
Besides charset, document now records charset source as well.
nsCharsetSource was replaced by PRInt32.
Some code relocation in nsHTMLDocument.cpp
r=yokoyama sr=waterson


git-svn-id: svn://10.0.0.236/trunk@111062 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-26 03:17:59 +00:00
locka%iol.ie
c55cd78c7c Moved fixup out of nsWebShell and into nsDefaultURIFixup. b=109309 r=ccarlen@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@110812 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 15:58:58 +00:00
jaggernaut%netscape.com
436d43f211 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
darin%netscape.com
914453e402 fixes bug 47617 "Connection to https needs to tell user to install PSM if w/o"
r=gagan, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@110306 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 23:01:08 +00:00
darin%netscape.com
a9d56fd85d fixes bug 83471 "Redirection loops"
r=bbaetz@cs.mcgill.ca
sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@110048 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-08 00:23:04 +00:00
rpotts%netscape.com
2faee254d0 bug #94205 (r=adamlock@netscape.com, sr=jst@netscape.com) nsIWebNavigation interface changes...
git-svn-id: svn://10.0.0.236/trunk@109390 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 22:35:33 +00:00
darin%netscape.com
424a7bd5f9 patch for bug 107789 "deprecate nsIRandomAccessStore (superceded by nsISeekableStream)"
r=dougt, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@108026 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 06:45:27 +00:00
bzbarsky%mit.edu
068756d821 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@107987 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:33:42 +00:00