 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Hi everybody.
I'm following advices from Fabien HENON so I annonce you that I have
started to write a new editor for povray under Linux ( Fabien have
nothing to do with it : he's advaice was to post here :-) ). It's based
on the povwin interface but includes many more features
It requires QT 3.2 and X11 and it's not finish, so you can send me
features requests
the project homepage : http://qtpoveditor.sf.net
Thanks
Thierry
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"thierry" <thi### [at] les-charles net> wrote in message
news:3fa14ba6$1@news.povray.org...
|From your page:
|
| it only edit your files, colors them to highlight syntax, manage
| the rendering and its options, allow you to include some code like
| does the windows' version of povray and ,finaly, it makes a summary
| of all the declarations of variables and macros in your scenes but
| also in the included files.
|
What else do you have planned?
Also:
In English, present tense, third person, singular nouns ("the cat", "the
bird", etc.) and pronouns (he, she, it) use verbs with "s" or "es" on
the end.
for example:
We *edit* (first person plural)
I *edit* (first person singular)
You all *edit* (second person plural)
You *edit* (second person singular)
They *edit* (third person plural)
==> He *edits* (third person singular)
==> The editor *edits* (third person singular)
==> My program *edits* (third person singular)
-Shay
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
I have planned to do everything I can do, and I invite you to make
suggestions on sourceforge : http://www.sourceforge.net/projects/qtpoveditor
Thierry
P.S. : I'm sorry for my poor english : I'm not perfect (and that's the
only thing I'm sure to be)
Shay a écrit :
> "thierry" <thi### [at] les-charles net> wrote in message
> news:3fa14ba6$1@news.povray.org...
>
> |From your page:
> |
> | it only edit your files, colors them to highlight syntax, manage
> | the rendering and its options, allow you to include some code like
> | does the windows' version of povray and ,finaly, it makes a summary
> | of all the declarations of variables and macros in your scenes but
> | also in the included files.
> |
>
> What else do you have planned?
>
> Also:
> In English, present tense, third person, singular nouns ("the cat", "the
> bird", etc.) and pronouns (he, she, it) use verbs with "s" or "es" on
> the end.
>
> for example:
> We *edit* (first person plural)
> I *edit* (first person singular)
> You all *edit* (second person plural)
> You *edit* (second person singular)
> They *edit* (third person plural)
> ==> He *edits* (third person singular)
> ==> The editor *edits* (third person singular)
> ==> My program *edits* (third person singular)
>
> -Shay
>
>
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"gRRosminet" <pov### [at] les-charles net> wrote in message
news:3fa186a1@news.povray.org...
|
| I have planned to do everything I can do, and I invite
| you to make suggestions on sourceforge :
I asked because your editor seemed very complete already. I will make
some suggestions on sourceforge in a few days after I have had a chance
to download and try your editor. Error highliting comes immediately to
mind. Some nice additional features would be a reload hot-key and a
mechanism for folding text. The text-folding is less important in Linux,
as the lack of I/O restrictions allows better organization of many small
files.
|
| P.S. : I'm sorry for my poor english :
Votre Anglais est meilleur que mon Français!! lol
I hope you don't feel that I was being presumptuous. I *only* gave that
suggestion because I felt that you might want to use it for your
webpage. I don't make a habit of correcting peoples' news-group
postings.<grin>
-Shay
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Shay a écrit :
> Votre Anglais est meilleur que mon Français!! lol
>
I think it's quite normal : French is a little bit more complicated than
english !
Thierry
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Shay wrote:
> The text-folding is less
> important in Linux, as the lack of I/O restrictions allows better
> organization of many small files.
IMO code folding is a killer feature :)
--
Rick
Kitty5 NewMedia http://Kitty5.com
POV-Ray News & Resources http://Povray.co.uk
TEL : +44 (01270) 501101 - ICQ : 15776037
PGP Public Key
http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x231E1CEA
Post a reply to this message
|
 |
|  |
|  |
|
 |
From: Wolfgang Wieser
Subject: Re: New editor for Linux : QTPOV Editor
Date: 2 Nov 2003 10:08:02
Message: <3fa51dd1@news.povray.org>
|
|
 |
|  |
|  |
|
 |
> It requires QT 3.2 and X11 and it's not finish, so you can send me
> features requests
>
Nice concept.
Here is a list of little bugs and missing features:
That's just what comes to my mind to give you some ideas.
>you can now run ./qtpoveditor or install it where you want on your
>system.
Well... I'd suggest that default colors need to be adjusted.
I'm using Qt-3.2.1 and running the editor from the shell:
bash# ./qtpoveditor
loading preferences ... QFile::open: No file name specified
...and all I get is all editor colors being black ending up in
black text on black background.
The "POVRay Output" tab has two entries called "Additional options",
one of them probably meaning "binary path".
Also, the layout allows too small window sizes...
The Replace dialog only has "Find" and "Cancel" buttons.
When quitting, the "Some files open..." dialog shows up even if
all open files are non-modified.
The render button has a tool tip "Unnamed".
The render button will try and render the previously opened file
even if this file is no longer open. Open files A and B, close A
and press render button -> renders A instead of B (the active tab
is the POVRay tab).
Then press the tab for file "B" -> SIGSEGV !
What is definitely missing:
- show matching brackets () {} <> []
- dialog for where to put the output file
- show complete povray command line as first line in the povray
output window
- correct undo behaviour: when inserting text and then some edit menu
code OR from the declarations window and then pressing undo, one would
expect only the edit menu code/decl code to disappear but the
text manually inserted before should stay there (and disappear with
the next undo call)
- what about "Help" -> "About" ?
- support nested C-style comments /* /* cmt */ still cmt */
just as POVRay does
Some cool features which are not as easy to implement:
- context-sensitive completion; if I type in
"prism { li" then it could smartly suggest to complete with
"near_sweep". Have a look at good IDEs on how that is normally done.
- Text "folding".
- Improve editor... Currently the benifits and comfort of a good editor
like nedit still outwage the additional functionality of QTPOV editor,
at least for me.
To be concrete, I mean:
- Shortcuts for adding/subtracting indent space for selected lines.
- Shortcut "jump to matching bracket"
- goto line number
- find selected text
- I like the concept of using the shift key for the oppostite direction
(find next/find prev; undo/redo...)
- cut, paste & move with mouse... unfortunately incompatible with Qt...
IMO, three click selection should select the complete line including
the \n at the end, but that's probably a Qt issue.
Cheers,
Wolfgang
Post a reply to this message
|
 |
|  |
|  |
|
 |
From: Nicolas Calimet
Subject: Re: New editor for Linux : QTPOV Editor
Date: 2 Nov 2003 15:10:09
Message: <3FA564A1.3060708@free.fr>
|
|
 |
|  |
|  |
|
 |
> The text-folding is less important in Linux,
> as the lack of I/O restrictions allows better organization of many small
> files.
What do you mean by "the lack of I/O restrictions" ?
- NC
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Nicolas Calimet" <pov### [at] free fr> wrote in message
news:3FA### [at] free fr...
|
| What do you mean by "the lack of I/O restrictions" ?
|
Believe it or not. I've been creating scenes in win-pov for a long time
under this misconception. I tried to open a file with:
#fopen "C:\~\scenes\projectfolder\subfolder\output.inc" write
a long long time ago. I must have mistyped it, misread the error
message, whatever, because I have mistakenly believed in the time since
that this was not possible. Thanks for asking this question!! It will
help me a lot to clean up the project folder of my next project.
-Shay
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
I'd like to thank you for this detailed analysis : it's realy helpfull
Thanks.
Thierry
Wolfgang Wieser a écrit :
>>It requires QT 3.2 and X11 and it's not finish, so you can send me
>>features requests
>>
>
> Nice concept.
> Here is a list of little bugs and missing features:
> That's just what comes to my mind to give you some ideas.
>
>
>>you can now run ./qtpoveditor or install it where you want on your
>>system.
>
>
> Well... I'd suggest that default colors need to be adjusted.
> I'm using Qt-3.2.1 and running the editor from the shell:
>
> bash# ./qtpoveditor
> loading preferences ... QFile::open: No file name specified
>
> ...and all I get is all editor colors being black ending up in
> black text on black background.
>
> The "POVRay Output" tab has two entries called "Additional options",
> one of them probably meaning "binary path".
>
> Also, the layout allows too small window sizes...
>
> The Replace dialog only has "Find" and "Cancel" buttons.
>
> When quitting, the "Some files open..." dialog shows up even if
> all open files are non-modified.
>
> The render button has a tool tip "Unnamed".
>
> The render button will try and render the previously opened file
> even if this file is no longer open. Open files A and B, close A
> and press render button -> renders A instead of B (the active tab
> is the POVRay tab).
> Then press the tab for file "B" -> SIGSEGV !
>
> What is definitely missing:
> - show matching brackets () {} <> []
> - dialog for where to put the output file
> - show complete povray command line as first line in the povray
> output window
> - correct undo behaviour: when inserting text and then some edit menu
> code OR from the declarations window and then pressing undo, one would
> expect only the edit menu code/decl code to disappear but the
> text manually inserted before should stay there (and disappear with
> the next undo call)
> - what about "Help" -> "About" ?
> - support nested C-style comments /* /* cmt */ still cmt */
> just as POVRay does
>
> Some cool features which are not as easy to implement:
>
> - context-sensitive completion; if I type in
> "prism { li" then it could smartly suggest to complete with
> "near_sweep". Have a look at good IDEs on how that is normally done.
>
> - Text "folding".
>
> - Improve editor... Currently the benifits and comfort of a good editor
> like nedit still outwage the additional functionality of QTPOV editor,
> at least for me.
> To be concrete, I mean:
> - Shortcuts for adding/subtracting indent space for selected lines.
> - Shortcut "jump to matching bracket"
> - goto line number
> - find selected text
> - I like the concept of using the shift key for the oppostite direction
> (find next/find prev; undo/redo...)
> - cut, paste & move with mouse... unfortunately incompatible with Qt...
>
> IMO, three click selection should select the complete line including
> the \n at the end, but that's probably a Qt issue.
>
> Cheers,
> Wolfgang
>
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
thierry wrote:
>Hi everybody.
>
>I'm following advices from Fabien HENON so I annonce you that I have
>started to write a new editor for povray under Linux ( Fabien have
>nothing to do with it : he's advaice was to post here :-) ). It's based
>on the povwin interface but includes many more features
>
>It requires QT 3.2 and X11 and it's not finish, so you can send me
>features requests
>
>the project homepage : http://qtpoveditor.sf.net
>
>Thanks
>
>Thierry
>
QT compiled just fine.
QTDIR is set to /usr/lib/qt3
but I do not know how to set up the other variables ( KDE )
Here is what I get when I try to compile qtpoveditor :
g++ -c -pipe -Wall -W -O2 -fomit-frame-pointer -pipe -march=i586
-mcpu=pentiumpro -DQT_NO_DEBUG -I/usr/lib/qt3/mkspecs/default -I.
-I/usr/lib/qt3/include -I.ui/ -I.moc/ -o .obj/poveditmainwindow.o
..ui/poveditmainwindow.cpp
In file included from .ui/poveditmainwindow.cpp:49:
poveditmainwindow.ui.h: In member function `virtual void
povEditMainWindow::fileSaveAs()':
poveditmainwindow.ui.h:205: no method `QMessageBox::question'
In file included from .ui/poveditmainwindow.cpp:49:
poveditmainwindow.ui.h: In member function `virtual void
povEditMainWindow::fileExit()':
poveditmainwindow.ui.h:253: no method `QMessageBox::question'
In file included from .ui/poveditmainwindow.cpp:49:
poveditmainwindow.ui.h: In member function `virtual void
povEditMainWindow::CloseTab()':
poveditmainwindow.ui.h:303: no method `QMessageBox::question'
In file included from .ui/poveditmainwindow.cpp:49:
poveditmainwindow.ui.h: In member function `virtual void
povEditMainWindow::returnPressed()':
poveditmainwindow.ui.h:1517: warning: comparison between signed and unsigned
integer expressions
poveditmainwindow.ui.h:1520: warning: comparison between signed and unsigned
integer expressions
In file included from .ui/poveditmainwindow.cpp:49:
poveditmainwindow.ui.h: In member function `virtual void
povEditMainWindow::listView_rightButtonClicked(QListViewItem*, const
QPoint&, int)':
poveditmainwindow.ui.h:1640: no matching function for call to
`QString::startsWith(const char[4], bool)'
/usr/lib/qt3/include/qstring.h:640: candidates are: bool
QString::startsWith(const QString&) const
In file included from .ui/poveditmainwindow.cpp:49:
poveditmainwindow.ui.h: In member function `virtual void
povEditMainWindow::editReplaceAction_activated()':
poveditmainwindow.ui.h:1787: no method `QMessageBox::question'
In file included from .ui/poveditmainwindow.cpp:49:
poveditmainwindow.ui.h: In member function `virtual void
povEditMainWindow::open_file(const QString&)':
poveditmainwindow.ui.h:1823: no method `QMessageBox::question'
make: *** [.obj/poveditmainwindow.o] Erreur 1
Thanks for any advice
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
OK, that's typical from a QT version below 3.2
You certainely have compiled QT3.2 in an other directory than
/usr/lib/qt3 (it's the one used by your linux distro). Usualy you
compile QT in the /usr/local/qt directory or something like this.
After this, you have to modify your /etc/profile file and add or replace
these lines :
export QTDIR="/usr/local/qt"
export QMAKESPECS="$QTDIR/mkspecs/linux-g++"
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$QTDIR/lib"
export MANPATH="$MANPATH:$QTDIR/doc/man"
then, you must start a new session in order to load these values (or do
it manualy in your shell). Now it should work !
Thierry
HENON fabien a écrit :
> thierry wrote:
>
>
>
> QT compiled just fine.
> QTDIR is set to /usr/lib/qt3
>
> but I do not know how to set up the other variables ( KDE )
>
> Here is what I get when I try to compile qtpoveditor :
>
> In file included from .ui/poveditmainwindow.cpp:49:
> poveditmainwindow.ui.h: In member function `virtual void
> povEditMainWindow::fileSaveAs()':
> poveditmainwindow.ui.h:205: no method `QMessageBox::question'
>
>
> Thanks for any advice
>
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Hi everybody !
I have done many changes and specialy fixed bugs raised by Wolfgang
Wieser. list of changes are now in listed on the main page :
http://qtpoveditor.sourceforge.net/
enjoy !
Thierry
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
> I have done many changes and specialy fixed bugs raised by Wolfgang
> Wieser. list of changes are now in listed on the main page :
> http://qtpoveditor.sourceforge.net/
>
Cool; any better editor supports bracket highlighting of []{}() but
only few support <> which is needed in POVRay (and helpful in C++, too).
So that's now a "unique" feature!
However, scrolling seems to work incorrectly. If I am above
a bracket with the cursor and press down-down, then I will
only move one line down. At least in most cases...
(Reproduce: load source -> move to bracket so that matching brackets
get highlighted -> press up/down...)
Also left<->right is bugged, at least if there is text between
the brackets "(blah)")
Wolfgang
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Wolfgang Wieser a écrit :
> However, scrolling seems to work incorrectly. If I am above
> a bracket with the cursor and press down-down, then I will
> only move one line down. At least in most cases...
> (Reproduce: load source -> move to bracket so that matching brackets
> get highlighted -> press up/down...)
> Also left<->right is bugged, at least if there is text between
> the brackets "(blah)")
Yes, I know it and I'm working around. The problem is do to the mean
used to color brackets. I hope I'll find a solution soon.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
gRRosminet wrote:
I am very sorry for that but I still get the same error. I followed your
instructions 'a la lettre'. When compiling qt ( release 3.2.2 ), I also
followed the instructions and everything went fine.
Does someone managed to compile qtpoveditor with a Mandrake 9.1 system ?
And if so what settings do they have ?
My feeling is that there is something wrong with Mandrake and QT.
Thanks a lot.
>OK, that's typical from a QT version below 3.2
>
>You certainely have compiled QT3.2 in an other directory than
>/usr/lib/qt3 (it's the one used by your linux distro). Usualy you
>compile QT in the /usr/local/qt directory or something like this.
>After this, you have to modify your /etc/profile file and add or replace
>these lines :
>
>export QTDIR="/usr/local/qt"
>export QMAKESPECS="$QTDIR/mkspecs/linux-g++"
>export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$QTDIR/lib"
>export MANPATH="$MANPATH:$QTDIR/doc/man"
>
>then, you must start a new session in order to load these values (or do
>it manualy in your shell). Now it should work !
>
>Thierry
>
>
>HENON fabien a écrit :
>> thierry wrote:
>>
>>
>>
>> QT compiled just fine.
>> QTDIR is set to /usr/lib/qt3
>>
>> but I do not know how to set up the other variables ( KDE )
>>
>> Here is what I get when I try to compile qtpoveditor :
>>
>> In file included from .ui/poveditmainwindow.cpp:49:
>> poveditmainwindow.ui.h: In member function `virtual void
>> povEditMainWindow::fileSaveAs()':
>> poveditmainwindow.ui.h:205: no method `QMessageBox::question'
>>
>>
>> Thanks for any advice
>>
>
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
I'm working on a mandrake 9.1 so I don't understand why you can't ! At
the begining, I did used the mandrake version (3.1) and QT3.2 together
and all worked fine. I know someone doing it on a Mdk 9.0 so there must
be absolutely no pb. I thinc the problem is due to an error on the
include path. It seems that you have installed runtime and developpement
libraries from mandrake, you should uninstall the developpement ones :
the 3.2 version is entirely backward compatible so all you have will
remain usable and compilable.
An other solution would be to open the .pro file in qt designer and
specify your include path.
I hope you'll be able to compile now !
Thierry
HENON fabien a écrit :
> gRRosminet wrote:
> I am very sorry for that but I still get the same error. I followed your
> instructions 'a la lettre'. When compiling qt ( release 3.2.2 ), I also
> followed the instructions and everything went fine.
>
>
> Does someone managed to compile qtpoveditor with a Mandrake 9.1 system ?
> And if so what settings do they have ?
>
> My feeling is that there is something wrong with Mandrake and QT.
>
> Thanks a lot.
>
>
>
>
>
>>OK, that's typical from a QT version below 3.2
>>
>>You certainely have compiled QT3.2 in an other directory than
>>/usr/lib/qt3 (it's the one used by your linux distro). Usualy you
>>compile QT in the /usr/local/qt directory or something like this.
>>After this, you have to modify your /etc/profile file and add or replace
>>these lines :
>>
>>export QTDIR="/usr/local/qt"
>>export QMAKESPECS="$QTDIR/mkspecs/linux-g++"
>>export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$QTDIR/lib"
>>export MANPATH="$MANPATH:$QTDIR/doc/man"
>>
>>then, you must start a new session in order to load these values (or do
>>it manualy in your shell). Now it should work !
>>
>>Thierry
>>
>>
>>HENON fabien a écrit :
>>
>>>thierry wrote:
>>>
>>>
>>>
>>>QT compiled just fine.
>>>QTDIR is set to /usr/lib/qt3
>>>
>>>but I do not know how to set up the other variables ( KDE )
>>>
>>>Here is what I get when I try to compile qtpoveditor :
>>>
>>>In file included from .ui/poveditmainwindow.cpp:49:
>>>poveditmainwindow.ui.h: In member function `virtual void
>>>povEditMainWindow::fileSaveAs()':
>>>poveditmainwindow.ui.h:205: no method `QMessageBox::question'
>>>
>>>
>>>Thanks for any advice
>>>
>>
>
>
>
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
> However, scrolling seems to work incorrectly. If I am above
> a bracket with the cursor and press down-down, then I will
> only move one line down. At least in most cases...
> (Reproduce: load source -> move to bracket so that matching brackets
> get highlighted -> press up/down...)
> Also left<->right is bugged, at least if there is text between
> the brackets "(blah)")
>
> Wolfgang
>
Ok! now it's fixed in version 0.1.4, but I'm still looking for a
solution to avoid the highlight from being inserted in the undo/redo queue.
Thierry
http://qtpoveditor.sf.net
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"gRRosminet" <pov### [at] les-charles net> wrote in message
news:3fbe06c4$1@news.povray.org...
I've been using the editor for about a week to check it out. The editor
is excellent. There is a bug which I think I can reproduce. If the save
button is clicked after a file has been closed, the last file closed
will be erased and the editor will crash. I was not using the editor in
KDE, so this might make a difference.
The only other problem is that the entire path to a file is displayed in
the tab, making the tabs pretty useless at 1024x768 unless a really tiny
font is used.
The only other problem has nothing to do with your program, but I'll ask
since I'm assuming you develop with KDE. Your editor font selection uses
the same list as all of the KDE apps. I, and several others whose
questions I have seen posted on the Internet, have been unable to add
installed bitmapped fonts to that menu. Any ideas?
With a 17" monitor, a good font is almost a must for Pov-Ray. I used
Luxi-Mono when using your editor, which is OK. Courier breaks up at
nine-point, and there is no visible difference between periods and
commas with Vera Sans Mono. The font which I have installed and use in
non-KDE editors is profontwin, which I recommend to anyone who needs a
very readable, fixed-width font at nine-point on a smallish monitor.
http://www.tobias-jung.de/seekingprofont/index.html
-Shay
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Shay a écrit :
>
> I've been using the editor for about a week to check it out. The editor
> is excellent. There is a bug which I think I can reproduce. If the save
> button is clicked after a file has been closed, the last file closed
> will be erased and the editor will crash. I was not using the editor in
> KDE, so this might make a difference.
No, there is no difference betwenn if you have KDE or not. I'll fix this
problem as soon as possible.
An other known bug apears when the path or file name contains spaces
(only when trying to render the scene)
> The only other problem is that the entire path to a file is displayed in
> the tab, making the tabs pretty useless at 1024x768 unless a really tiny
> font is used.
That's right, I must modify this point.
> The only other problem has nothing to do with your program, but I'll ask
> since I'm assuming you develop with KDE. Your editor font selection uses
> the same list as all of the KDE apps. I, and several others whose
> questions I have seen posted on the Internet, have been unable to add
> installed bitmapped fonts to that menu. Any ideas?
I don't develop this with KDE, otherwise, you would have to compile QT
and the compile KDE with this QT version : inacceptable. All TTF fonts
can be used, but the do have to be installed for the X server. KDE
provide a tool to do this, I think Gnome have something like this too.
For bitmapped fonts, I don't know if QT can use them since it has it's
own font rendering engine and don't use XFree to do this.
> With a 17" monitor, a good font is almost a must for Pov-Ray. I used
> Luxi-Mono when using your editor, which is OK. Courier breaks up at
> nine-point, and there is no visible difference between periods and
> commas with Vera Sans Mono. The font which I have installed and use in
> non-KDE editors is profontwin, which I recommend to anyone who needs a
> very readable, fixed-width font at nine-point on a smallish monitor.
> http://www.tobias-jung.de/seekingprofont/index.html
>
> -Shay
>
>
Thanks for your observations.
Thierry
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Hi,
Now the version 0.1.5 is online
see change log at http://qtpoveditor.sf.net
have fun !
Thierry
Shay a écrit :
> "gRRosminet" <pov### [at] les-charles net> wrote in message
> news:3fbe06c4$1@news.povray.org...
>
> I've been using the editor for about a week to check it out. The editor
> is excellent. There is a bug which I think I can reproduce. If the save
> button is clicked after a file has been closed, the last file closed
> will be erased and the editor will crash. I was not using the editor in
> KDE, so this might make a difference.
>
> The only other problem is that the entire path to a file is displayed in
> the tab, making the tabs pretty useless at 1024x768 unless a really tiny
> font is used.
>
> The only other problem has nothing to do with your program, but I'll ask
> since I'm assuming you develop with KDE. Your editor font selection uses
> the same list as all of the KDE apps. I, and several others whose
> questions I have seen posted on the Internet, have been unable to add
> installed bitmapped fonts to that menu. Any ideas?
>
> With a 17" monitor, a good font is almost a must for Pov-Ray. I used
> Luxi-Mono when using your editor, which is OK. Courier breaks up at
> nine-point, and there is no visible difference between periods and
> commas with Vera Sans Mono. The font which I have installed and use in
> non-KDE editors is profontwin, which I recommend to anyone who needs a
> very readable, fixed-width font at nine-point on a smallish monitor.
> http://www.tobias-jung.de/seekingprofont/index.html
>
> -Shay
>
>
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"gRRosminet" <pov### [at] les-charles net> wrote in message
news:3fc66cf9$1@news.povray.org...
I could not get the new version to work. In order to compile it, I had
to copy the 'images' folder from the 1.4 download. Once compiled, it
would display a file, but would not render it. The error message
reported that the file could not be found.
Also, the shortened tab names are only shortened when a file is
initially opened. When the file is saved, the tab names revert back to
showing the entire path.
Thank you for all of the hard work.
-Shay
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Shay a écrit :
> "gRRosminet" <pov### [at] les-charles net> wrote in message
> news:3fc66cf9$1@news.povray.org...
>
> I could not get the new version to work. In order to compile it, I had
> to copy the 'images' folder from the 1.4 download.
It seems like I forgot to join the images in the package, hopefully, the
was no changes ... sorry
> Once compiled, it
> would display a file, but would not render it. The error message
> reported that the file could not be found.
>
Could you tell me the absolute path to the file please ? It seems that
povray does not support paths with spaces (even protected) ... I should
do some corrections to avoid that problem, but the file name will ever
be space less.
> Also, the shortened tab names are only shortened when a file is
> initially opened. When the file is saved, the tab names revert back to
> showing the entire path.
It seems that I have forgotten some code
>
> Thank you for all of the hard work.
>
> -Shay
>
>
Thanks for your support
Thierry
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"gRRosminet" <pov### [at] les-charles net> wrote in message
news:3fcc7021@news.povray.org...
|
| Could you tell me the absolute path to the file please ?
/usr/local/share/povray-3.5/scenes/00tower/tower_bridge.pov
|
| It seems that povray does not support paths with spaces
| (even protected) ... I should do some corrections to avoid
| that problem, but the file name will ever
| be space less.
No spaces, and works fine with 1.4. One thing which I might have
forgotten to try is saving the file and then trying to render it. I may
have only tried to open the file and then render it. If I get a chance
tonight, I will recompile 1.5 and post the specific error message here.
-Shay
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Shay a écrit :
> "gRRosminet" <pov### [at] les-charles net> wrote in message
> news:3fcc7021@news.povray.org...
> |
> | Could you tell me the absolute path to the file please ?
>
> /usr/local/share/povray-3.5/scenes/00tower/tower_bridge.pov
>
> |
> | It seems that povray does not support paths with spaces
> | (even protected) ... I should do some corrections to avoid
> | that problem, but the file name will ever
> | be space less.
>
> No spaces, and works fine with 1.4. One thing which I might have
> forgotten to try is saving the file and then trying to render it. I may
> have only tried to open the file and then render it. If I get a chance
> tonight, I will recompile 1.5 and post the specific error message here.
>
> -Shay
>
>
Yes, I have foud the problem. in fact, I try to protect the filename
with \ and finaly povray doesn't understand what it means whereas on
command line the shell translate the arguments into something that pov
prefers .... The bug should be corrected via these few things :
open file 'menu/renderMenu.cpp.h'
go to line 102
replace these lines :
for (uint i = 0 ; i < pathsList.count() ; i++)
{
if (pathsList[i].selected)
{
cmd += " +L";
cmd += secure_filename(pathsList[i].path);
}
}
cmd += " +I";
cmd += secure_filename(activeFileName);
cmd += " +B001 +O";
cmd += secure_filename(activeFileName);
cmd += ".png";
cmd += " +GA";
cmd += RENDERER_FILE;
cmd += QString::number(getpid());
cmd += " ";
cmd += additionnalOptions->text();
with these ones :
for (uint i = 0 ; i < pathsList.count() ; i++)
{
if (pathsList[i].selected)
{
cmd += " +L";
cmd += pathsList[i].path;
}
}
cmd += " +I";
cmd += activeFileName.section('/',-1,-1);
cmd += " +B001 +O";
cmd += activeFileName.section('/',-1,-1);
cmd += ".png";
cmd += " +GA";
cmd += RENDERER_FILE;
cmd += QString::number(getpid());
cmd += " ";
cmd += additionnalOptions->text();
I hope this will be enough
Thierry
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
I said something wrong in the previous post ...
open file 'menu/renderMenu.cpp.h'
go to line 111
replace this lines :
cmd += " +I";
cmd += activeFileName.section('/',-1,-1);
with this one :
cmd += " ";
cmd += activeFileName.section('/',-1,-1);
I hope this will be enough
Thierry
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"gRRosminet" <pov### [at] les-charles net> wrote in message
news:3fccc42f@news.povray.org...
|
| I hope this will be enough
|
The file renders, but there are other problems. The Pov output is not
being displayed, and all entries into the additional options field are
being ignored.
-Shay
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
I'm realy sorry ... the 0.1.5 package is very bad ...
So ... the problem is that I forget that the name of the file we want to
render must be the last parameter ... otherwise the last parameters are
ignored ...
The (final) solution is to move some lines down :
cmd += " ";
cmd += activeFileName.section('/',-1,-1);
must be placed after
cmd += additionnalOptions->text();
I promess to be more conscientious with the next package
Thierry
Shay a écrit :
> "gRRosminet" <pov### [at] les-charles net> wrote in message
> news:3fccc42f@news.povray.org...
> |
> | I hope this will be enough
> |
>
> The file renders, but there are other problems. The Pov output is not
> being displayed, and all entries into the additional options field are
> being ignored.
>
> -Shay
>
>
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"gRRosminet" <pov### [at] les-charles net> wrote in message
news:3fce4eb0$1@news.povray.org...
|
| The (final) solution is to move some lines down :
|
This fixed the problem, but I had two crashes. I recorded the terminal
output during the second crash.
QDArray::at: Absolute index 300 out of range
QDArray::at: Absolute index 300 out of range
QDArray::at: Absolute index 300 out of range
QDArray::at: Absolute index 312 out of range
QDArray::at: Absolute index 312 out of range
QDArray::at: Absolute index 312 out of range
QDArray::at: Absolute index 324 out of range
QDArray::at: Absolute index 324 out of range
QDArray::at: Absolute index 324 out of range
QDArray::at: Absolute index 336 out of range
The number of times which each number appeared is from memory and may
not be completely accurate.
-Shay
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Shay a écrit :
> "gRRosminet" <pov### [at] les-charles net> wrote in message
> news:3fce4eb0$1@news.povray.org...
> |
> | The (final) solution is to move some lines down :
> |
>
> This fixed the problem, but I had two crashes. I recorded the terminal
> output during the second crash.
>
> QDArray::at: Absolute index 300 out of range
> QDArray::at: Absolute index 300 out of range
> QDArray::at: Absolute index 300 out of range
> QDArray::at: Absolute index 312 out of range
> QDArray::at: Absolute index 312 out of range
> QDArray::at: Absolute index 312 out of range
> QDArray::at: Absolute index 324 out of range
> QDArray::at: Absolute index 324 out of range
> QDArray::at: Absolute index 324 out of range
> QDArray::at: Absolute index 336 out of range
>
> The number of times which each number appeared is from memory and may
> not be completely accurate.
>
> -Shay
>
>
Could you tell me if it was v0.1.5 or 0.2.0 and what did you do to get
this crashes ?
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"gRRosminet" <pov### [at] les-charles net> wrote in message
news:3fcf8f4b$1@news.povray.org...
|
| Could you tell me if it was v0.1.5 or 0.2.0 and what did you do
| to get this crashes ?
|
It was version v0.1.5. I'm not sure what I did to cause the crashes.
They seemed to happen for no reason. I would have experimented a bit
more, but I had some scene editing which I needed to get done, so I went
back to v0.1.4 after two crashes (in maybe 15 minutes). I worked for a
few hours in v0.1.4 and had no problems.
-Shay
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |