octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Octave GUI 0.5


From: David Bateman
Subject: Re: Octave GUI 0.5
Date: Fri, 17 Feb 2006 11:37:57 +0100
User-agent: Mozilla Thunderbird 0.8 (X11/20040923)

Sebastien Loisel wrote:

There's that possibility, other possibilities:
* Use an MDI window
* Separate but tabbed editor window
However it's not clear which one is most desirable at this point.

Other requests I have so far:
* Variables tab
* Use Octave's history buffer

Things I personally want to do:
* Make MinGW go (*)
* Fix Help, perhaps using QTextBrowser (althought QAssistant would be superior.)
* Add line numbers to the editor
* Fix the directory tab (perhaps by implementing my own QDirModel) so it has ".." in it.

Patches accepted!

Sébastien Loisel

(*) Latest news: I'm supposed to try to link against liboctave statically. If you know how to do that, let me know. If that doesn't fix it, I'm going to need liboctave to collaborate and give me a pointer to its cerr. To fix the issue with a cmd.exe window popping up briefly when you do "ls" is a separate thing for which I have a workaround.

Seb,

I've dropped the graphics list from this reply as three copies of all of the messages in my inbox seemed silly.

Why will static linking help you? Why only to liboctave? liboctave will only give you the libocatve_error_handler and liboctave_warning_handler. For the Ferror function you'll also need to link against liboctinterp.

What about the octave_stdout [ie octave_pager_stream::stream()] . Doesn't it help here? As for cerr, unfortunately in error.cc the verror function is called with std::cerr as the output stream, so the Ferror function calls go straight to std::cerr. As for the liboctave_error_handler and liboctave_warning_handler functions defined in lo-error.c, these fprintf directly to stderr as well. So for the errors, as you say you have to capture cerr, but you'll also need to capture stderr for the liboctave errors and warnings...

D.

--
David Bateman                                address@hidden
Motorola Labs - Paris +33 1 69 35 48 04 (Ph) Parc Les Algorithmes, Commune de St Aubin +33 6 72 01 06 33 (Mob) 91193 Gif-Sur-Yvette FRANCE +33 1 69 35 77 01 (Fax) The information contained in this communication has been classified as: [x] General Business Information [ ] Motorola Internal Use Only [ ] Motorola Confidential Proprietary



reply via email to

[Prev in Thread] Current Thread [Next in Thread]