Re: mshtml.inf: Add default GeckoCabDir

2010-10-02 Thread Jacek Caban
On 10/2/10 4:19 PM, Scott Ritchie wrote: On 10/01/2010 07:25 AM, Alexandre Julliard wrote: Jacek Caban writes: That's a matter of trivial patch, but what would be the candidate for a path hardcode? '/usr/share/wine/gecko/' seems like the best choice since that's where most distros will insta

Re: mshtml.inf: Add default GeckoCabDir

2010-10-02 Thread Scott Ritchie
On 10/01/2010 07:25 AM, Alexandre Julliard wrote: > Jacek Caban writes: > >> That's a matter of trivial patch, but what would be the candidate for >> a path hardcode? '/usr/share/wine/gecko/' seems like the best choice >> since that's where most distros will install Gecko. > > I'd say try $datad

Re: mshtml.inf: Add default GeckoCabDir

2010-10-02 Thread Jacek Caban
On 10/1/10 4:25 PM, Alexandre Julliard wrote: Jacek Caban writes: That's a matter of trivial patch, but what would be the candidate for a path hardcode? '/usr/share/wine/gecko/' seems like the best choice since that's where most distros will install Gecko. I'd say try $datadir and then /usr/s

Re: mshtml.inf: Add default GeckoCabDir

2010-10-01 Thread Alexandre Julliard
Jacek Caban writes: > That's a matter of trivial patch, but what would be the candidate for > a path hardcode? '/usr/share/wine/gecko/' seems like the best choice > since that's where most distros will install Gecko. I'd say try $datadir and then /usr/share. > - Windows has builtin support for

Re: mshtml.inf: Add default GeckoCabDir

2010-10-01 Thread Vitaliy Margolen
On 10/01/2010 06:53 AM, Jacek Caban wrote: - Windows has builtin support for ZIP files. It's hidden behind an obscure APIs, but it's something we could implement and use in MSHTML. - Use .tar.gz files. We already use zlib in Wine, we could use it in MSHTML. tar format is simple enough to implemen

Re: mshtml.inf: Add default GeckoCabDir

2010-10-01 Thread Jacek Caban
On 10/1/10 2:31 PM, Alexandre Julliard wrote: Jacek Caban writes: You can't do that. The default is what's found by 'step (2)' from your description, not any hardcoded path. The version from Gecko package is meant for packaged Wine. You should copy the .cab file to appropriate directory for y

Re: mshtml.inf: Add default GeckoCabDir

2010-10-01 Thread Alexandre Julliard
Jacek Caban writes: > You can't do that. The default is what's found by 'step (2)' from your > description, not any hardcoded path. The version from Gecko package is > meant for packaged Wine. You should copy the .cab file to appropriate > directory for your own build. I don't think there would

Re: mshtml.inf: Add default GeckoCabDir

2010-10-01 Thread GOUJON Alexandre
That's intended. It's for overwriting defaults (although now that we install Gecko during wineprefix creation is doesn't make much sense anyways). You can't do that. The default is what's found by 'step (2)' from your description, not any hardcoded path. The version from Gecko package is meant

Re: mshtml.inf: Add default GeckoCabDir

2010-10-01 Thread Jacek Caban
On 10/1/10 1:06 PM, GOUJON Alexandre wrote: On 10/01/2010 12:17 PM, Austin English wrote: On Fri, Oct 1, 2010 at 4:29 AM, Alexandre Goujon wrote: diff --git a/dlls/mshtml/mshtml.inf b/dlls/mshtml/mshtml.inf index d7d2428..dea1712 100644 --- a/dlls/mshtml/mshtml.inf +++ b/dlls/mshtml/mshtml.in

Re: mshtml.inf: Add default GeckoCabDir

2010-10-01 Thread GOUJON Alexandre
On 10/01/2010 12:17 PM, Austin English wrote: On Fri, Oct 1, 2010 at 4:29 AM, Alexandre Goujon wrote: diff --git a/dlls/mshtml/mshtml.inf b/dlls/mshtml/mshtml.inf index d7d2428..dea1712 100644 --- a/dlls/mshtml/mshtml.inf +++ b/dlls/mshtml/mshtml.inf @@ -273,6 +273,7 @@ HKLM,"Software\Micro

Re: mshtml.inf: Add default GeckoCabDir

2010-10-01 Thread Austin English
On Fri, Oct 1, 2010 at 4:29 AM, Alexandre Goujon wrote: > diff --git a/dlls/mshtml/mshtml.inf b/dlls/mshtml/mshtml.inf > index d7d2428..dea1712 100644 > --- a/dlls/mshtml/mshtml.inf > +++ b/dlls/mshtml/mshtml.inf > @@ -273,6 +273,7 @@ HKLM,"Software\Microsoft\Internet Explorer\Default > Behaviors