Commit Graph

982 Commits

Author SHA1 Message Date
bsmedberg%covad.net
d436ad454d Bug 224829 - docshell should not require non-gecko interface nsIBrowserHistory. This was fixed by introducing a new interface nsIGlobalHistory2 to replace the current nsIGlobalHistory. There are two-way adapters so that the frozen interface still works. r=biesi sr=bz a=mscott for toolkit/ changes.
git-svn-id: svn://10.0.0.236/trunk@152632 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 02:10:04 +00:00
cbiesinger%web.de
d48fe3a90b Bug 233145 stop implementing nsIURIContentListener in nsExternalAppHandler
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@152486 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-07 19:52:16 +00:00
cbiesinger%web.de
4ad889bcc7 fixing bustage
git-svn-id: svn://10.0.0.236/trunk@152436 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-06 23:05:40 +00:00
cbiesinger%web.de
9d521b4603 Bug 233169 [windows] It's impossible to set helper applications for executables
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@152435 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-06 22:32:29 +00:00
cbiesinger%web.de
bf8440f216 Bug 231886 Allow extensions to add extension->type mappings by adding an entry
in the "ext-to-type-mapping" category, where the name is the extension and the
value the mime type.
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@152422 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-06 18:43:27 +00:00
cbiesinger%web.de
b904cd10b8 Bug 232784, verify that opening the file works, and show an error message if it doesn't
r=pinkerton sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@152368 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-05 10:53:11 +00:00
bryner%brianryner.com
018aeefc0d More nsIPresContext deCOMtamination (bug 229371). Inline getters and setters for LinkHandler, VisibleArea, and Language; change some methods that don't return any useful data to |void|; make GetContainer return an already_AddRefed. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@152137 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-01 10:09:07 +00:00
cbiesinger%web.de
8e7fa168ca bug 232219, memory leak in nsGNOMERegisty::GetFromType
patch by Christian Persch <chpe@gnome.org> r=darin sr=bryner


git-svn-id: svn://10.0.0.236/trunk@152047 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 22:20:44 +00:00
jst%mozilla.jstenback.com
6629ad58f7 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@152045 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 22:04:45 +00:00
bsmedberg%covad.net
824286124d Bug 232201 part 2 - update consumers to use inherited nsIPrefBranchInternal interface. This should be happy for codesize. r=alecf sr=darin
git-svn-id: svn://10.0.0.236/trunk@151994 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 23:45:17 +00:00
cbiesinger%web.de
f6ffec5a2f Bug 152224
Leak in nsExternalAppHandler, due to reference cycle between the nsIDownload implementation,
the helper app service, and the helper app dialog.
now, the reference cycle with the helper app dialog is broken in Cancel/CreateProgressListener,
and the cycle with the nsIDownload will be broken in Cancel/CloseProgressWindow/OnStopRequest

r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@151980 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 22:05:25 +00:00
cbiesinger%web.de
f091b7e971 Bug 232431
exthandler should not export as many headers
only export nsOSHelperAppService.h. this is needed because docshell depends on
it, and docshell's makefile does not know which OSHelperAppService it needs.

r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@151979 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 21:59:10 +00:00
cbiesinger%web.de
02ed91e445 trying to fix mac bustage
git-svn-id: svn://10.0.0.236/trunk@151955 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 15:08:46 +00:00
cbiesinger%web.de
80f05f9dbd bug 78919, part 3: Move nsMIMEInfoImpl to exthandler, and don't allow to CreateInstance it
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@151954 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 14:48:22 +00:00
bzbarsky%mit.edu
2b2b7e7c79 Don't claim to have a GNOME registry handler if it's disabled. Bug 226576,
patch by chpe@gnome.org (Christian Persch), r=bryner, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@151621 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-21 04:52:10 +00:00
cbiesinger%web.de
abb0d8eec7 fix bustage
git-svn-id: svn://10.0.0.236/trunk@151455 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-17 13:41:23 +00:00
cbiesinger%web.de
889eb264eb bug 55690 Spool file should be moved once the user picks a filename
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@151453 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-17 13:18:12 +00:00
cbiesinger%web.de
1070bd2129 230970
nsExternalAppHandler needs no virtual functions
also, w/o bug: nsExternalHelperAppService doesn't require threadsafe addref/release
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@151423 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-16 18:22:55 +00:00
bzbarsky%mit.edu
900c6b8462 Work around misconfiguration in default Apache installs that makes it claim all
sorts of stuff as text/plain.  Bug 220807, r=biesi, sr=darin


git-svn-id: svn://10.0.0.236/trunk@151013 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-08 03:56:02 +00:00
cbiesinger%web.de
4d13cc97b4 bug 229785 also allow "Content-Disposition: name=foo" headers, in addition to filename=foo
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@150988 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-07 20:23:46 +00:00
cbiesinger%web.de
dc78a54d13 Bug 229969 Fix 'Warning: "/*" within comment'
patch by gautheri@noos.fr (Serge GAUTHERIE) r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@150873 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-04 21:50:19 +00:00
cbiesinger%web.de
9729bc4b9a clarify comment a bit, no bug, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@150834 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-02 13:17:42 +00:00
cbiesinger%web.de
abb214bdd2 bug 229684. application/octet-stream should not have "Binary Executable" as description
also fixes: If the OS has info for a type, but prefs contain neither info via type nor via
ext, we would get the mimeinfo from extras.
r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@150777 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-30 10:45:12 +00:00
peter%propagandism.org
7f400f66de Patch for bug 209699 (convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@150686 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-23 16:48:40 +00:00
cbiesinger%web.de
4f83cd1303 Bug 227029 nsExternalAppHandler dynamically allocates buffer for no reason
r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@150492 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-19 15:18:59 +00:00
cbiesinger%web.de
6e629bd8da Bug #227711 wrong mime type shown when helper app entry present
fix this by always setting the real mime type on a mime info got from prefs.
r=bzbarsky sr=darin a=asa


git-svn-id: svn://10.0.0.236/trunk@150239 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-12 09:42:54 +00:00
cbiesinger%web.de
131d5aeaa4 226919 SendStatusChange should check for NS_ERROR_FILE_TARGET_DOES_NOT_EXIST
This gives a useful error message if a helper app could not be found (for another error code)
r=bzbarsky sr=darin a=asa


git-svn-id: svn://10.0.0.236/trunk@149992 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-03 22:21:39 +00:00
dbaron%dbaron.org
c4bdc17ba3 Include nscore.h instead of nsCom.h. b=226555 r=dougt sr=darin a=asa
git-svn-id: svn://10.0.0.236/trunk@149839 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-29 18:56:10 +00:00
justdave%syndicomm.com
38fe8ad293 Bug 166369: Documents that require a helper app to view were not viewable if you chose your helper apps using an old CFM version of Mozilla. The old pathname format is now supported again (in addition to the new one).
r= mozeditor@floppymoose.com, sr= bz-vacation@mit.edu, a= asa@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@149604 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-21 06:45:25 +00:00
darin%meer.net
a34389b0de fixes bug 226071 "xremote: openURL doesn't work well when multiple apps with different capabilities are present" r=bz,blizzard sr=bryner a=asa
git-svn-id: svn://10.0.0.236/trunk@149593 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-21 00:09:50 +00:00
cbiesinger%web.de
a02662d04b 225995 crash in nsOSHelperAppService::GetValueString
(only occurs on win95/win98/winme)
fix this by not passing NULL to NS_LossyConvertUTF16toASCII

r=pike sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@149457 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-17 21:40:10 +00:00
cbiesinger%web.de
a0df39ada9 225972 GetMIMEInfoForExtensionFromDS returns success even if nothing was found
also fixes: GetMIMEInfoForExtensionFromExtras does not set a mime type on the mime info

r+sr=bzbarsky; this addresses the problem that the information in extras is never used


git-svn-id: svn://10.0.0.236/trunk@149456 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-17 21:31:11 +00:00
cbiesinger%web.de
8e398d1990 fixing mac bustage
git-svn-id: svn://10.0.0.236/trunk@149358 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-15 15:29:14 +00:00
cbiesinger%web.de
2513e3d54b 78919 part 2. always return a nsIMIMEInfo from the OS HelperAppServices, and don't
create MIMEInfos outside of them directly.
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@149357 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-15 15:01:39 +00:00
cbiesinger%web.de
c3d963390e found in 194439. use delete[] to free an array, not delete. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@149321 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-14 22:39:01 +00:00
cbiesinger%web.de
cd2d39ac40 fixing likely crasher in previous checkin, thanks to bz for noticing it
git-svn-id: svn://10.0.0.236/trunk@149318 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-14 21:27:41 +00:00
cbiesinger%web.de
309250facd 194439 nsOSHelperAppService on windows doesn't support non-ASCII default description.
fix this by using *W versions of registry functions when running on an nt-based windows.
r=ere sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@149314 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-14 20:48:52 +00:00
cbiesinger%web.de
f31b771e91 bug 223990. Should have a getPrimaryExtensionForType function
r=bzbarsky sr=darin
also changes nsIMIMEService functions to start with a lowercase letter (only affects JS Callers)


git-svn-id: svn://10.0.0.236/trunk@149270 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-13 23:00:55 +00:00
peter%propagandism.org
e6ae01a399 Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@148687 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-01 10:57:41 +00:00
bzbarsky%mit.edu
2ef66c24d2 Extension comparisons should be case-insensitive. Bug 223055, r=biesi, sr=darin
git-svn-id: svn://10.0.0.236/trunk@148514 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 02:20:23 +00:00
bzbarsky%mit.edu
a152f4eba8 Add NSPR logging to content dispatch (not forced on in release builds; the
module is "URILoader").  Bug 223694, r=biesi, sr=darin


git-svn-id: svn://10.0.0.236/trunk@148500 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 02:03:41 +00:00
bryner%brianryner.com
3396e1763c Only call gnome_program_init() if it hasn't already been called (bug 221012). r=blizzard, not part of the default build.
git-svn-id: svn://10.0.0.236/trunk@148429 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-27 10:08:10 +00:00
bzbarsky%mit.edu
2cab296f61 Fix bug 164816. Patch by biesi, r=bzbarsky, sr=darin
git-svn-id: svn://10.0.0.236/trunk@148262 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 06:46:52 +00:00
bzbarsky%mit.edu
9613fc72bd Report a useful error when encountering a CFM app path in a Mach-o build. Bug
166369, patch by biesi, r=bzbarsky, sr=sfaser.


git-svn-id: svn://10.0.0.236/trunk@148138 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-19 21:36:39 +00:00
bzbarsky%mit.edu
193af95510 Return a more useful error code. Partial fix for bug 222501, r=biesi, sr=darin
git-svn-id: svn://10.0.0.236/trunk@148051 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-16 23:53:45 +00:00
bryner%brianryner.com
94b598dcf7 Fix two problems with the GNOME helper app code:
- Bail out correctly if we failed to open a library
- Open the soname of the library (i.e. foo.so.0 instead of foo.so)

Bug 221217, r=blizzard, sr=darin.


git-svn-id: svn://10.0.0.236/trunk@147996 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-15 20:24:45 +00:00
bryner%brianryner.com
f041721141 Assuming bz didn't mean to completely disable GNOME helper apps...
git-svn-id: svn://10.0.0.236/trunk@147889 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-12 09:19:15 +00:00
bzbarsky%mit.edu
c5b3991b08 Make sure we look at ~/.mailcap before going out to the GNOME settings. Bug
221042, r=biesi, sr=bryner


git-svn-id: svn://10.0.0.236/trunk@147844 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-10 16:18:16 +00:00
cbiesinger%web.de
4ea53d0464 bug 220832. Make sure that we don't use the extension from the URL when the server sent a Content-Disposition header with a filename.
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@147834 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-10 13:43:15 +00:00
bzbarsky%mit.edu
a527291238 Forgot to make these changes per biesi's review. Bug 171025.
git-svn-id: svn://10.0.0.236/trunk@147787 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-09 06:28:49 +00:00