bobbi228 / quadra

Automatically exported from code.google.com/p/quadra
0 stars 0 forks source link

path name in demo central window #45

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Submitted by Egmont Koblinger (egmont):

--- Very low priority bug-collection ---

Path names behave a little bit wierd in the Demo Central
window under Linux.

Usually the only problem is that the root directory is
shown as an empty string instead of "/".

However if current directory of quadra is "/", then this is
shown, and after entering a directory, double slashes
will be there.

If you manually enter a path with a trailing slash, then
clicking to ".." doesn't go to "..", only removes this
slash.

(Maybe realpath(3) could help solving the issues
above.)

Using the glob function has problems with directories
whose real names contain wildcard characters. E.g. if
you have a directory named "a*c" and one named "abc"
and you click to "a*c", you'll see the .rec files and
subdirs found under "abc" too. So rather
opendir/readdir/closedir should be used, not glob.

If would be nice to hide ".." in the root directory.

It's okay that dot-directories are hidden, maybe
dot-something-dot-rec files shouldn't be, but I'd really
like to see at least ".quadra" shown there so that I can
easily browse other users' best games.

Comment by stanb:

I've been totally inactive on this project, heh been busy
last year  and a half.  Looks like a few bugs from more than
a year old have yet to be fixed, I'll start triaging some
stuff tonight.

On a side note, realpath(3) I'll look into, need to see how
compatible it is accross distributions.  There's a lot in
quadra that could be changed that could allow it to be
compiled in more environments than the limited number it can
be now.  In other words I think we'll fix a lot of bugs
people have mentioned as general portions of quadra are
improved.

Thanks for the bug report.

Original issue reported on code.google.com by pphaneuf on 31 Mar 2008 at 4:01

GoogleCodeExporter commented 8 years ago
This is also true on Mac (since it's a Unix), path are a bit wrong. This might 
be 
fixed only in SDL branch, we'll see.

Original comment by rveill...@gmail.com on 31 Mar 2008 at 11:16

GoogleCodeExporter commented 8 years ago

Original comment by pphaneuf on 23 Aug 2014 at 11:50