1148 Commits

Author SHA1 Message Date
timeless%mozdev.org
c16dc8b542 Bug 330331 Building with option --disable-xul failed
patch by romaxa@gmail.com r=timeless r=biesi sr=bz
Removing last traces of RDF dependency from HTMLDocument (bug 101995)

Only build toolkit download ifdef MOZ_RDF
Only build windowdatesource and the charset menu ifdef MOZ_RDF

Enable nsExternalHelperAppService to build w/o RDF.
Enable nsDirectoryViewer to build, this is enables geckos to work around bug 347782
Don't build nsHTTPIndex at all.


git-svn-id: svn://10.0.0.236/trunk@207383 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-14 22:36:15 +00:00
bryner%brianryner.com
3706bf48ee Close the blank browser window from a download earlier, before showing the helper app dialog (bug 343921). Patch by marria@gmail.com, r=biesi, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@206896 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-08 18:02:46 +00:00
bzbarsky%mit.edu
25a1d59561 Follow refresh headers even if we handle the content via the external helper app
service.  Bug 341806, r=biesi, sr=darin


git-svn-id: svn://10.0.0.236/trunk@203069 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 01:43:14 +00:00
cbiesinger%web.de
798f07aa39 bug 343107 Make sure to always fire STATE_START before STATE_STOP
patch by Dorian <boissomag@free.fr> r=biesi sr=darin


git-svn-id: svn://10.0.0.236/trunk@201693 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-06 19:34:28 +00:00
marria%gmail.com
1605852a49 Minor tweak to patch for bug 241972. Change mShouldCloseWindow to a PRPackedBool, to be consistent with the other bools around it. r=cbiesinger
git-svn-id: svn://10.0.0.236/trunk@201688 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-06 18:41:16 +00:00
marria%gmail.com
c8758b856c Bug 241972 (new window opened by window.open('xxx.exe') or target="_blank" isn't closed automatically when a download begins). Fix stores state on the channel indicating whether a window was opened specifically for the download. The external helper app service then closes the window if there is no refresh header and if the window was opened specifically for the download. r=cbiesinger, sr=darin
git-svn-id: svn://10.0.0.236/trunk@201538 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-04 20:48:33 +00:00
mozilla%weilbacher.org
1c6ccaa40d [OS/2] Bug 301367: Tag Files with Source URL, p=Rich Walsh, r=me, sr=darin
git-svn-id: svn://10.0.0.236/trunk@200922 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-26 20:40:08 +00:00
bzbarsky%mit.edu
a450d306cc Need to make this protected too. More Windows bustage. Bug 330089
git-svn-id: svn://10.0.0.236/trunk@200668 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-23 04:39:42 +00:00
bzbarsky%mit.edu
04793cf604 Make method protected to fix Windows bustage. Bug 330089.
git-svn-id: svn://10.0.0.236/trunk@200663 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-23 03:07:02 +00:00
bzbarsky%mit.edu
96e3dab40b Don't fire onload on a parent frame while we're in the middle of executing a
child's onload.  Bug 330089, r=biesi, sr=darin


git-svn-id: svn://10.0.0.236/trunk@200657 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-23 01:17:47 +00:00
timeless%mozdev.org
d7d1bbda1f Bug 337917 Make consumers stop using cids from other modules
git-svn-id: svn://10.0.0.236/trunk@200245 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-18 21:18:22 +00:00
timeless%mozdev.org
7185e837bc Bug 337917 Make consumers stop using cids from other modules
r=smontagu sr=darin


git-svn-id: svn://10.0.0.236/trunk@198973 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-03 23:35:59 +00:00
mkaply%us.ibm.com
c516cc5c6e #326273
r=mkaply, sr=mkaply (OS/2 only)
OS/2 changes from threading checkin


git-svn-id: svn://10.0.0.236/trunk@196318 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-11 17:21:18 +00:00
darin%meer.net
42edf059cf landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
bzbarsky%mit.edu
c4f7acfe09 Add an interface for nested URIs (like jar:, view-source:, etc) to implement
and use it in various places.  Create null principals if asked for a codebase
principal for a codebase that doesn't have an inherent security context (eg
data: or javascript:).  Bug 334407, r=biesi,dveditz, sr=darin


git-svn-id: svn://10.0.0.236/trunk@195823 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-02 18:54:19 +00:00
cbiesinger%web.de
fb58925c66 bug 336108 add OOM check. r+sr+a=bz
git-svn-id: svn://10.0.0.236/trunk@195767 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-01 18:37:08 +00:00
mark%moxienet.com
fcafcb9739 335840 nsIMimeInfo doesn't indicate when Mac type/creator are invalid. r=josh sr=bryner
git-svn-id: svn://10.0.0.236/trunk@195661 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-28 18:17:11 +00:00
bzbarsky%mit.edu
2cab058f54 Don't go out to the helper app service if we're dealing with an error page.
Bug 312727, r=biesi, sr=darin


git-svn-id: svn://10.0.0.236/trunk@195577 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 18:00:36 +00:00
gerv%gerv.net
b759f30f5f Bug 331921 - Fix up some corrupt/dodgy Initial Developer lines.
git-svn-id: svn://10.0.0.236/trunk@193253 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-30 07:57:05 +00:00
sergei_d%fi.tartu.ee
6ef48912c8 [BeOS] Bug 327296. Improving exthandler. p=sergei_d, r=cbiesinger. BeOS-only
git-svn-id: svn://10.0.0.236/trunk@190592 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-20 18:46:35 +00:00
brettw%gmail.com
01f2446de3 Bug 317843 r=darin, sr=bzbarsky: Better redirect tracking for global history.
git-svn-id: svn://10.0.0.236/trunk@189041 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-06 20:52:18 +00:00
neil%parkwaycc.co.uk
9529062b1f Bug 245725 Make downloads display an approximation to the current transfer rate rather than the overall average speed p=son.le0@gmail.com r=biesi sr=me
git-svn-id: svn://10.0.0.236/trunk@188986 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-06 00:34:30 +00:00
cbiesinger%web.de
6322c04952 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
cbiesinger%web.de
2e9007e686 bug 325504 Document the category for content listeners, and the nsISupportsWeakReference requirement for listeners added dynamically. r+sr+a=bz
git-svn-id: svn://10.0.0.236/trunk@188761 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-02 18:37:37 +00:00
cbiesinger%web.de
a8bf94019e bug 321932 r=bz sr=darin
Better handle the case where channels don't implement isPending correctly


git-svn-id: svn://10.0.0.236/trunk@188388 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-28 14:06:31 +00:00
darin%meer.net
6c812931d3 fixes bug 323852 "redirect after a prefetch does not include X-moz: prefetch header" r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@188122 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-25 00:48:40 +00:00
bzbarsky%mit.edu
2049f5e3a1 Only force prompting for non-"can't handle" reasons if the default action is
not "save".  Silently saving is always ok.  Bug 236541, r=biesi, sr=darin


git-svn-id: svn://10.0.0.236/trunk@187657 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-15 19:02:08 +00:00
timeless%mozdev.org
7457352f7a Bug 321597 LoadVersionedLibrary calls to PR_GetLibraryName must use PR_FreeLibraryName
r=roc sr=roc


git-svn-id: svn://10.0.0.236/trunk@187322 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-11 08:28:52 +00:00
cbiesinger%web.de
6c2c34bc30 bug 273971 patch by Son Le <son.le0@gmail.com> r=biesi sr=neil
- make nsIDownload::currBytes and maxBytes use bytes rather than kilobytes
- make transfers of unknown size use the right size
  - send mProgress rather than mContentLength as the current progress in OnStateChange


git-svn-id: svn://10.0.0.236/trunk@186255 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-19 15:25:22 +00:00
cbiesinger%web.de
ab0c43a10c 309525 add a method to nsIURILoader that accepts a (possibly already opened)
channel and returns a streamlistener for getting the data. Add a flag
DONT_RETARGET for ensuring that content will load in a specific docshell or not
at all.

Also, fix nsChromeProtocolHandler to correctly implement IsPending.

r=bz sr=darin


git-svn-id: svn://10.0.0.236/trunk@186205 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-17 18:26:25 +00:00
dougt%meer.net
98b0267e0a Build change to make WinCE build exthandler. r=dougt
git-svn-id: svn://10.0.0.236/trunk@185451 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-30 18:36:17 +00:00
timeless%mozdev.org
dae7b0629a Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan


git-svn-id: svn://10.0.0.236/trunk@185282 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 21:57:13 +00:00
timeless%mozdev.org
8a213cf6db Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan


git-svn-id: svn://10.0.0.236/trunk@185276 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 19:48:04 +00:00
bsmedberg%covad.net
0217e2f9a9 Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
git-svn-id: svn://10.0.0.236/trunk@184456 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 14:36:26 +00:00
bzbarsky%mit.edu
aa4d5b1343 Make sure to save our parent off before we call onload so we can tell it to
check whether it should also fire onload.  Bug 300849, r=darin, sr=jst


git-svn-id: svn://10.0.0.236/trunk@184163 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-04 23:40:22 +00:00
timeless%mozdev.org
a9b74789ad Bug 236844 [beos] search for helper apps in mozilla directory before $PATH
patch by Niels.Reedijk@gmail.com r=sergei_d


git-svn-id: svn://10.0.0.236/trunk@181029 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-27 04:51:22 +00:00
pete.zha%sun.com
ef24c1c455 bug 309241 a tmp file should be created if open an attachment of an local eml file
r=cbiesinger@gmx.at sr=bzbarsky@it.edu
patch=neo.liu@sun.com


git-svn-id: svn://10.0.0.236/trunk@180942 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-26 03:14:50 +00:00
dougt%meer.net
1036287070 This is a workaround for the WinCE Native Unicode converter. I couldn't figure out how to use the utf8 codepages on certain devices. So, mapping from UTF-8 -> UCS-2 became a problem. This fix simply uses the existing algorithm in intl/uconv. This change only effect the Windoze CE native uconv. NPODB. Also includes further gfx fixup. r/sr=dveditz b=297683 WinCE only.
git-svn-id: svn://10.0.0.236/trunk@179816 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-07 19:21:02 +00:00
roc+%cs.cmu.edu
a65887afc9 Bug 304434. Update link :visited status for URIs downloaded to helper apps. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@178746 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 22:26:10 +00:00
bzbarsky%mit.edu
80d3576a20 Use the browser.helperApps.deleteTempFileOnExit pref, if set, to decide whether
to delete helper app temp files on exit.  Bug 302433, r=biesi, sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@178615 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 17:49:53 +00:00
cbiesinger%web.de
548c1bf82f bug 283606 make nsOSHelperAppService::GetApplicationDescription get a
friendly description
r=darin sr=bz a=asa


git-svn-id: svn://10.0.0.236/trunk@177901 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 22:00:21 +00:00
dbaron%dbaron.org
f5fb8ddaff Make nsIChannel implementations follow the rules that prevent them from leaking due to cycles with their notification callbacks. b=303043 r=biesi sr=darin
git-svn-id: svn://10.0.0.236/trunk@177663 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-12 22:53:22 +00:00
mozilla.mano%sent.com
4bf76a898f Bug 301281 - Remove 10.1 code from nsInternetConfigService. r=jhpedemonte, sr=smfr, a=bsmedberg.
git-svn-id: svn://10.0.0.236/trunk@176353 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-20 19:44:54 +00:00
mozilla.mano%sent.com
118e0b469a Bug 264648 - Implement nsOSHelperAppService::GetApplicationDescription for OS X (in order to show an application description in the confirmation dialog for). r=jhpedemonte, sr=smfr, a=asa.
git-svn-id: svn://10.0.0.236/trunk@176349 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-20 19:03:41 +00:00
bzbarsky%mit.edu
945d5c061c When doing text/plain sniffing, don't let the special MIME types we use for the
purpose leak out of the URILoader/exthandler combination.  Bug 300027, r=biesi,
sr=darin, a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@176002 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-13 16:48:01 +00:00
bzbarsky%mit.edu
ddd26b7da5 Fix bug 299553 by calling DocLoaderIsEmpty() when we stop the docloader.
r=biesi, sr=darin, a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@175999 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-13 16:43:30 +00:00
cbiesinger%web.de
dd25bcee0f Bug 298842 make the temp file part of nsITransfer
r=mconnor sr=darin a=shaver


git-svn-id: svn://10.0.0.236/trunk@175720 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-06 23:12:22 +00:00
darin%meer.net
6dbe06ef01 fixes bug 294535 "Prefetch Service should only follow redirects to http:// locations." r=biesi a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@175343 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 20:57:34 +00:00
dougt%meer.net
5ad50e9b43 * Fixes some build problems when trying to build non-static. (removing link
libraries that don't exist on Windows CE)

* Taking xxx advice and making GetNAME always return a GDI forcing us to use
GetTextMetrics instead of GetFontData (which doesn't exist on Windows CE)

* Windows CE on ARM doesn't support C++ exceptions.  In the windows plugin code
uses catches to ensure that the plugins don't crash mozilla.  On windows ce on
arm, we have no choice but to disable CALL_SAFETY_ON.

* On Windows CE, VerQueryValue internal structure can not be modified so
callers must do a bit of string conversion.

* Disabling more code in nsOSHelperAppService for Windows CE.

* Enabling the Windows Registry code in XPCOM since the Window CE shunt now
supports the limited set needed (all but notification).

Bug=297683, r=Ere Maijala, sr=Dan Veditz, a=Asa


git-svn-id: svn://10.0.0.236/trunk@174725 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 21:20:45 +00:00
bryner%brianryner.com
3274ca4c10 Fix assorted issues with fastback, including adding progress listener notifications and introducing the PageHide and PageShow events. See bug 292971 for all of the details. r=darin, sr=bzbarsky, a=shaver.
git-svn-id: svn://10.0.0.236/trunk@174651 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-15 23:52:46 +00:00