Re: windows file dialogs with unix file path

2005-04-23 Thread Francois Gouget
On Sat, 23 Apr 2005, Andrew Neil Ramage wrote: This is a Windows program and people want to use Unix paths. So the 'unix://' in front of the path is a protocol, not a path. 'This is a Windows program and people want to use Unix paths' and 'unix://xxx' is not a Unix path. So I don't see how it so

Re: windows file dialogs with unix file path

2005-04-23 Thread Andrew Neil Ramage
This is a Windows program and people want to use Unix paths. So the 'unix://' in front of the path is a protocol, not a path. Like when you are browsing the internet using http, and wamt to download from an FTP server, you preface the address with ftp:// Andrew You can be the captain I will dr

Re: windows file dialogs with unix file path

2005-04-23 Thread Francois Gouget
On Sat, 22 Apr 2005, Vincent Béron wrote: Le ven 22/04/2005 à 20:09, Francois Gouget a écrit : On Sat, 23 Apr 2005, Andrew Neil Ramage wrote: What about writing Unix paths like an URL ? So you would have unix://path/to/file Why not write Unix paths as 'z:/path/to/file'. It's just one letter instea

Re: windows file dialogs with unix file path

2005-04-23 Thread Michael Jung
On Saturday 23 April 2005 02:22, Vincent Béron wrote: > The other thing is if/when z: doesn't map to / anymore... how do you add > it back from within winecfg? By clicking on the 'Browse' button on winecfg's "Drives" property sheet and selecting '/'. ;) Besides aesthetics, I think a more fundame

Re: windows file dialogs with unix file path

2005-04-22 Thread Vincent Béron
Le ven 22/04/2005 à 20:09, Francois Gouget a écrit : > On Sat, 23 Apr 2005, Andrew Neil Ramage wrote: > > > What about writing Unix paths like an URL ? So you would have > > unix://path/to/file > > Why not write Unix paths as 'z:/path/to/file'. It's just one letter > instead of four so it would

Re: windows file dialogs with unix file path

2005-04-22 Thread Francois Gouget
On Sat, 23 Apr 2005, Andrew Neil Ramage wrote: What about writing Unix paths like an URL ? So you would have unix://path/to/file Why not write Unix paths as 'z:/path/to/file'. It's just one letter instead of four so it would be even easier. Implementation's trivial too, we would create a symboli

Re: windows file dialogs with unix file path

2005-04-22 Thread Alexandre Julliard
Michael Jung <[EMAIL PROTECTED]> writes: > That's a good point about the heuristic. So probably unix paths should just > be > passed through, without searching for a valid drive letter based wine path. > This would also cleanly separate case sensitive path names from case > insensitive ones. (

Re: windows file dialogs with unix file path

2005-04-22 Thread Andrew Neil Ramage
What about writing Unix paths like an URL ? So you would have unix://path/to/file Andrew You can be the captain I will draw the chart Sailing into destiny Closer to the heart Closer to the Heart by Rush (A Farewell to Kings, 1977) ~ Alexandre Julliard wrote: Michael

Re: windows file dialogs with unix file path

2005-04-22 Thread Steven Edwards
Hi, --- Francois Gouget <[EMAIL PROTECTED]> wrote: > Hmm, I feel like I've seen that before. Where??? Windows is supposed to be able to be able to handle anything for a drive letter now. I have seen the Euro symbol used for a drive letter. It would be more inituitive to the user to have unix:/

Re: windows file dialogs with unix file path

2005-04-22 Thread Michael Jung
Hi Troy, On Friday 22 April 2005 00:56, Troy Rollo wrote: > On Thu, 21 Apr 2005 17:53, Michael Jung wrote: > > The functions, which do unix to > > wine path conversion, would try to find a path starting from a wine drive > > letter and if none is found, would pass through the unix path. > > I don'

Re: windows file dialogs with unix file path

2005-04-21 Thread Troy Rollo
On Thu, 21 Apr 2005 17:53, Michael Jung wrote: > The functions, which do unix to > wine path conversion, would try to find a path starting from a wine drive > letter and if none is found, would pass through the unix path. I don't like this idea. Aside from the fact that it would slow everything d

Re: windows file dialogs with unix file path

2005-04-21 Thread Michael Jung
Hi Troy, On Thursday 21 April 2005 01:34, Troy Rollo wrote: > On Thu, 21 Apr 2005 02:45, Michael Jung wrote: > > This all doesn't help a whole lot, however, if what you want is to access > > files via unix path names. The CreateFile etc. functions still do not > > know how to handle unix paths. >

Re: windows file dialogs with unix file path

2005-04-20 Thread Troy Rollo
On Thu, 21 Apr 2005 02:45, Michael Jung wrote: > This all doesn't help a whole lot, however, if what you want is to access > files via unix path names. The CreateFile etc. functions still do not know > how to handle unix paths. The context here is that WINE is being used to make a Linux version of

Re: windows file dialogs with unix file path

2005-04-20 Thread Michael Jung
Hi, On Wednesday 20 April 2005 09:36, Mike McCormack wrote: > If you figure out how to make a file open dialog use that code, let me > know. If you import the attached file with regedit the unix filesystem will appear in open/save file dialogs. Currently it only shows folders, no files, since t

Re: windows file dialogs with unix file path

2005-04-20 Thread Marcus Meissner
On Wed, Apr 20, 2005 at 04:36:33PM +0900, Mike McCormack wrote: > > Michael Lin wrote: > > >Back in Nov 2004, there was a brief discussion about extending the > >Windows file dialogs to allow browsing the Unix file system. > >Does anyone know if this have been implemented yet? > >If not, any sug

Re: windows file dialogs with unix file path

2005-04-20 Thread Mike McCormack
Michael Lin wrote: Back in Nov 2004, there was a brief discussion about extending the Windows file dialogs to allow browsing the Unix file system. Does anyone know if this have been implemented yet? If not, any suggestions on how to implement it? Apparently something has been implemented by Michae

windows file dialogs with unix file path

2005-04-20 Thread Michael Lin
Hi all, Back in Nov 2004, there was a brief discussion about extending the Windows file dialogs to allow browsing the Unix file system. Does anyone know if this have been implemented yet? If not, any suggestions on how to implement it? I am porting a windows application to linux using winelib, an