POV-Ray : Newsgroups : povray.beta-test : Is the "File Open" dialog box missing a few file types? Server Time
31 Jul 2024 08:27:41 EDT (-0400)
  Is the "File Open" dialog box missing a few file types? (Message 4 to 13 of 23)  
<<< Previous 3 Messages Goto Latest 10 Messages Next 10 Messages >>>
From: Chris Cason
Subject: Re: Is the "File Open" dialog box missing a few file types?
Date: 16 Sep 2001 04:56:47
Message: <3ba4694f@news.povray.org>
You don't need an extension listed in the extensions list to be able
to view only those files. Just type in '*.xml' (for example) as a
filename and it will list XML files. This is standard Windows beh-
aviour.

-- Chris


Post a reply to this message

From: Rune
Subject: Re: Is the "File Open" dialog box missing a few file types?
Date: 16 Sep 2001 10:05:14
Message: <3ba4b19a@news.povray.org>
"Chris Cason" wrote:
> You don't need an extension listed in the extensions list
> to be able to view only those files. Just type in '*.xml'

IIRC before there was a single option to show all .pov, .inc and .ini files.
Now I can only show one at a time. Of course I can do it manually as you
suggests, but it's rather annoying to write *.pov;*.inc;*.ini compared to
how easy it was before.

Rune
--
3D images and anims, include files, tutorials and more:
Rune's World:    http://rsj.mobilixnet.dk (updated June 26)
POV-Ray Users:   http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Webring: http://webring.povray.co.uk


Post a reply to this message

From: Chris Cason
Subject: Re: Is the "File Open" dialog box missing a few file types?
Date: 16 Sep 2001 12:29:34
Message: <3ba4d36e@news.povray.org>
> IIRC before there was a single option to show all .pov, .inc and .ini files.
> Now I can only show one at a time. Of course I can do it manually as you
> suggests, but it's rather annoying to write *.pov;*.inc;*.ini compared to
> how easy it was before.

I did not suggest you do this manually, I was suggesting to the person who wanted
to load XML files that typing it was more appropriate than us adding it as a type.

In your case the problem is unintentional, and will be fixed.

-- CHris


Post a reply to this message

From: Glen Berry
Subject: Re: Is the "File Open" dialog box missing a few file types?
Date: 16 Sep 2001 13:49:23
Message: <xOGkO6cycku13Et0ri0kghPLk0kD@4ax.com>
On Mon, 17 Sep 2001 02:29:25 +1000, "Chris Cason"
<newsadmin@-despam-povray.org> wrote:

>> IIRC before there was a single option to show all .pov, .inc and .ini files.
>> Now I can only show one at a time. Of course I can do it manually as you
>> suggests, but it's rather annoying to write *.pov;*.inc;*.ini compared to
>> how easy it was before.
>
>I did not suggest you do this manually, I was suggesting to the person who wanted
>to load XML files that typing it was more appropriate than us adding it as a type.

Well, it's certainly not more "appropriate" from a users viewpoint,
but from the viewpoint of a developer, there could certainly be good
reasons why one might not want to invest the time needed to add this
feature. I can live with that.

>In your case the problem is unintentional, and will be fixed.
>
>-- CHris

If you do this, will you also add support for some of the other
POV-related file extensions that were left out originally? For
example, I'm thinking of things like *.cat, *.mcr, *.sph, *.tri


Later,
Glen


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Is the "File Open" dialog box missing a few file types?
Date: 16 Sep 2001 14:08:13
Message: <3ba4ea8d@news.povray.org>
In article <xOGkO6cycku13Et0ri0kghPLk0kD@4ax.com> , Glen Berry 
<7no### [at] ezwvcom>  wrote:

> If you do this, will you also add support for some of the other
> POV-related file extensions that were left out originally? For
> example, I'm thinking of things like *.cat, *.mcr, *.sph, *.tri

None of these are in any way supported by POV-Ray (it just reads text files
with whatever extension if you tell it to).  If a user decides to use
different extensions it is simply a problem because some of these are used
by other programs and POV-Ray cannot detect if they are for POV-Ray or not!
In general it is a bad idea to create "your own" file extensions because it
creates all kinds of these problems.

    Thorsten


Post a reply to this message

From: Glen Berry
Subject: Re: Is the "File Open" dialog box missing a few file types?
Date: 16 Sep 2001 15:25:05
Message: <DuukOwGJWtK7mUFDqRfODET19vYc@4ax.com>
On Sun, 16 Sep 2001 14:08:01 -0400, "Thorsten Froehlich"
<tho### [at] trfde> wrote:

>In article <xOGkO6cycku13Et0ri0kghPLk0kD@4ax.com> , Glen Berry 
><7no### [at] ezwvcom>  wrote:
>
>> If you do this, will you also add support for some of the other
>> POV-related file extensions that were left out originally? For
>> example, I'm thinking of things like *.cat, *.mcr, *.sph, *.tri
>
>None of these are in any way supported by POV-Ray (it just reads text files
>with whatever extension if you tell it to).  If a user decides to use
>different extensions it is simply a problem because some of these are used
>by other programs and POV-Ray cannot detect if they are for POV-Ray or not!
>In general it is a bad idea to create "your own" file extensions because it
>creates all kinds of these problems.
>
>    Thorsten

That sounds fair enough. 

However, I want to point out that 3 of the 4 extensions I gave above
come from the official 3.5 distribution of POV-Ray. Here are the names
of the files:

quartic.cat
teapot.cat
teapot.sph
teapot.tri

I could have also included the following files and their extensions:

teapot.c1
teapot.c2
teapot.c3

All these files are written in plain text, and are meant to be used
with POV-Ray. According to your own philosophy on this subject, should
these files be converted to the ".inc" extension, to set a good
example for the rest of us? Of course, the files themselves might need
a bit of re-formatting. The ".cat" files for example, would probably
need to be converted to commented text, if placed in an "include" or
"POV" file.

Just curious,
Glen


Post a reply to this message

From: Chris Cason
Subject: Re: Is the "File Open" dialog box missing a few file types?
Date: 16 Sep 2001 21:37:34
Message: <3ba553de@news.povray.org>
> Well, it's certainly not more "appropriate" from a users viewpoint,

I disagree. The more file types I add to the drop-down box, the longer
it takes the 99% of users who do not use these additional extensions
(*.xml, *.html, *.java, and all the other types the editor understands)
to scroll through the list of types in the drop-down box to find the one
they want.

From a UI design standpoint, the purpose of this list box is to provide
shortcuts to the most commonly-used extensions; not a complete list of
all possible extensions that the editor may be asked to load.

> If you do this, will you also add support for some of the other
> POV-related file extensions that were left out originally? For
> example, I'm thinking of things like *.cat, *.mcr, *.sph, *.tri

I've already added .mcr since I believe it is becoming fairly common. I
would have te be convinced that a large number of users are editing files
using the other extensions before I added them.

-- Chris


Post a reply to this message

From: Glen Berry
Subject: Re: Is the "File Open" dialog box missing a few file types?
Date: 17 Sep 2001 00:24:33
Message: <wXelO7aCB7ZTmKQejWKNl1mfvixU@4ax.com>
On Mon, 17 Sep 2001 11:37:24 +1000, "Chris Cason"
<newsadmin@-despam-povray.org> wrote:

>> Well, it's certainly not more "appropriate" from a users viewpoint,
>
>I disagree. The more file types I add to the drop-down box, the longer
>it takes the 99% of users who do not use these additional extensions
>(*.xml, *.html, *.java, and all the other types the editor understands)
>to scroll through the list of types in the drop-down box to find the one
>they want.

Heh...  Not if you place the POV file types at the "top" of the list.
:)

Seriously though, this isn't worth arguing about. I truly appreciate
all your efforts on POV-Ray, but it's clear you don't want to add this
small feature. I can live with that.


>I've already added .mcr since I believe it is becoming fairly common. I
>would have te be convinced that a large number of users are editing files
>using the other extensions before I added them.
>
>-- Chris

That's certainly fair. I appreciate the addition of ".mcr" to the list
of  recognized file types. 

I also want to make sure you realize how much we all appreciate
POV-Ray, and all the hard work that you, and all the other team
members put into it.

Thanks for listening,
Glen


Post a reply to this message

From: Peter Popov
Subject: Re: Is the "File Open" dialog box missing a few file types?
Date: 17 Sep 2001 02:05:54
Message: <ac4bqt0kdegoa3fjparqn2il29p3vlcd20@4ax.com>
On Mon, 17 Sep 2001 11:37:24 +1000, "Chris Cason"
<newsadmin@-despam-povray.org> wrote:

>I would have te be convinced that a large number of users are editing 
>files using the other extensions before I added them.

Regrettably, RL will probably limit my near future usage of POV to
confirming bugs, maybe finding a few incidentally, and answering
TAG-related questions. OTOH, RL will hopefully include a lot of
writing of HTML, CSS, XML and javaScript and I am yet to find a better
Windows editor than POV (save Vim, but most of its advanced features
don't help much for HTML edit ting, so...)

Next month we'll see. Maybe I'll withdraw my name from the poll :)


Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vipbg
TAG      e-mail : pet### [at] tagpovrayorg


Post a reply to this message

From: Glen Berry
Subject: Re: Is the "File Open" dialog box missing a few file types?
Date: 17 Sep 2001 09:59:19
Message: <s=ilOwK0+WM2QanZO4InGM6GnTQS@4ax.com>
On Mon, 17 Sep 2001 09:04:57 +0300, Peter Popov <pet### [at] vipbg> wrote:

>Regrettably, RL will probably limit my near future usage of POV to
>confirming bugs, maybe finding a few incidentally, and answering
>TAG-related questions. OTOH, RL will hopefully include a lot of
>writing of HTML, CSS, XML and javaScript and I am yet to find a better
>Windows editor than POV (save Vim, but most of its advanced features
>don't help much for HTML edit ting, so...)

Yeah, I was kind of looking forward to seeing a few POV-Ray websites
that bragged about actually being written with POV-Ray itself. It can
certainly still be done, but the addition of a specific "file open"
option for html and related file extextensions,  would have made
things a little bit more convenient. 

What I had imagined was a single option in the file type menu, that
would show files of the following file extensions in the directory
listing:

*.asp, *.css, *.htm*, *.shtml, *.xml

However, it should be mentioned that the POV editor currently does not
offer color highlighting for CSS or SHTML files. I'm not sure how
practical is would have been to tell POV to treat CSS files as if they
were HTML, for the purpose of color coding. I guess it doesn't matter
now anyway.

Peter, have you thought of using "First Page" for web editting? It's
pretty good, and it's totally free. You should find it here:

   http://www.evrsoft.com/


Later,
Glen


Post a reply to this message

<<< Previous 3 Messages Goto Latest 10 Messages Next 10 Messages >>>

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.