Vadim Zeitlin | 1 Dec 2002 02:25
Picon

view filters UI?

 Hi,

 I don't know if anybody except Xavier had time to look at this yet, but
I'd still like to ask for opinions about what would be the best way to make
these filters appear in the UI. Right now there are some ugly looking
toggle buttons in the viewer bar and it's clearly not workable (if only
because they need too much place).

 The idea is that it should be easy to:

(a) toggle a filter (i.e. activate/deactivate it)
(b) configure it (without using the main preferences dialog)

but all this shouldn't take too much space. I was thinking of using
toolbar-like buttons such that left clicking them would enable/disable the
filter and right clicking would make appear a context menu with the
options. The biggest problem with this approach is that I really don't know
what would an icon for "detect signature" or "show URLs" filter be...

 Any better opinions?

 Thanks,
VZ

-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
Vadim Zeitlin | 1 Dec 2002 02:32
Picon

Re: view filters UI?

On Sun, 1 Dec 2002 02:25:44 +0100 (Romance Standard Time) I wrote:

VZ>  Any better opinions?

 I forgot to say that a possibility of showing some "status" would be nice
as well. I.e. the PGP filter button could change colour to green if the
message was signed and the signature could be verified and so on.

 Thanks,
VZ

-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
Vadim Zeitlin | 1 Dec 2002 03:40
Picon

PGP support

 Hi,

 I made a giant step towards PGP support in Mahogany -- everything is done
except for the actual code calling PGP :-) There are 2 TODOs in
src/modules/viewflt/PGP.cpp where this code should be inserted and when it
is, we're going to have support for ASCII armoured (but not MIME) PGP
messages. Of course, having support for PGP/MIME would be much more
importantas this is the real standard but this will have to wait... At
least if we start with supoprting PGP like this, we'll already have all the
GUI dialogs and logic for calling PGP which can be reused later as well.

 Regards,
VZ

-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
Xavier Nodet | 2 Dec 2002 13:37
Picon
Favicon

Re: PGP support


On Sun, 1 Dec 2002 03:40:03 +0100 Vadim Zeitlin
<zeitlin <at> dptmaths.ens-cachan.fr> wrote:

>  I made a giant step towards PGP support in Mahogany -- everything
>  is done except for the actual code calling PGP :-)

As a side note, you will note that when a message is signed as ascii
armor, any line beginning with '-' is prefixed with '- '. This
includes the standard signature marker.

I guess this '- ' should be removed when the PGP filter is in use.

--

-- 
Xavier Nodet 
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." - Benjamin Franklin, 1759.

Michele Ravani | 2 Dec 2002 22:43
Picon

Compilation problems latest CVS on MDK 8.2

Hi

after a long time cut off from the net, I am back.
Obviously the first thing I wanted to do, was to get up to par with M.
However, the latest CVS gives me the below.
Any ideas why?

c++ -o wx/generic/persctrl.o -c -I/home/michele/Projects/Builds/M/include
-I/home/michele/Projects/M/include -I/usr/include/openssl -DEXPERIMENTAL_NSImporter
-I/home/michele/MyStuff/lib/wx/include/gtkd-2.3 -I/home/michele/MyStuff/include
-D__WXDEBUG__ -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I/home/michele/Projects/M/extra/include
-I/home/michele/Projects/Builds/M/extra/src/c-client
-I/home/michele/Projects/M/extra/src/compface -I/home/michele/Projects/M/src/wx/vcard -O2
-MMD -Wall .src/wx/generic/persctrl.cpp
.src/wx/generic/persctrl.cpp: In method 
`wxPMessageDialog::wxPMessageDialog (wxWindow *, const wxString &, 
const wxString &, long int, bool)':
.src/wx/generic/persctrl.cpp:1571: Internal error: Segmentation fault.
Please submit a full bug report.
See <URL:https://qa.mandrakesoft.com/> for instructions.
gmake[1]: *** [wx/generic/persctrl.o] Error 1
gmake[1]: Leaving directory `/home/michele/Projects/Builds/M/src'
gmake: *** [all] Error 2

--

-- 
Michele Ravani                  Michele.Ravani <at> swissonline.ch
"Those who live hoping, die singing" My Gran

-------------------------------------------------------
(Continue reading)

Vadim Zeitlin | 2 Dec 2002 22:16
Picon

Re: Compilation problems latest CVS on MDK 8.2

On Mon, 2 Dec 2002 22:43:52 +0100 (CET) Michele Ravani <Michele.Ravani <at> swissonline.ch> wrote:

MR> after a long time cut off from the net, I am back.

 Glad to see you again! I did notice that you were absent for quite some
time, but thought you were just busy -- was it something else?

MR> Obviously the first thing I wanted to do, was to get up to par with M.
MR> However, the latest CVS gives me the below.
MR> Any ideas why?
MR> 
MR> c++ -o wx/generic/persctrl.o -c -I/home/michele/Projects/Builds/M/include
-I/home/michele/Projects/M/include -I/usr/include/openssl -DEXPERIMENTAL_NSImporter
-I/home/michele/MyStuff/lib/wx/include/gtkd-2.3 -I/home/michele/MyStuff/include
-D__WXDEBUG__ -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-I/home/michele/Projects/M/extra/include
-I/home/michele/Projects/Builds/M/extra/src/c-client
-I/home/michele/Projects/M/extra/src/compface -I/home/michele/Projects/M/src/wx/vcard -O2
-MMD -Wall .src/wx/generic/persctrl.cpp
MR> .src/wx/generic/persctrl.cpp: In method 
MR> `wxPMessageDialog::wxPMessageDialog (wxWindow *, const wxString &, 
MR> const wxString &, long int, bool)':
MR> .src/wx/generic/persctrl.cpp:1571: Internal error: Segmentation fault.
MR> Please submit a full bug report.
MR> See <URL:https://qa.mandrakesoft.com/> for instructions.
MR> gmake[1]: *** [wx/generic/persctrl.o] Error 1
MR> gmake[1]: Leaving directory `/home/michele/Projects/Builds/M/src'
MR> gmake: *** [all] Error 2

 Because gcc is broken :-( I already fixed this for 2.96 (from RH 7.2) but
(Continue reading)

Vadim Zeitlin | 2 Dec 2002 23:32
Picon

Re[2]: PGP support

On Mon, 2 Dec 2002 13:37:36 +0100 Xavier Nodet <xavier.nodet <at> free.fr> wrote:

XN> As a side note, you will note that when a message is signed as ascii
XN> armor, any line beginning with '-' is prefixed with '- '. This
XN> includes the standard signature marker.
XN> 
XN> I guess this '- ' should be removed when the PGP filter is in use.

 Yes, but actually this should probably be done simply by passing the
entire message to PGP and showing what it returns -- i.e. this will be
fixed when the real PGP support is put in place. I'm working on it right
now but it's difficult because I really don't know this stuff :-( I'd like
to write some solid foundation code to allow future extensions but I'm
afraid I'm simply losing my time as I don't have enough information to do
it properly.

 Regards,
VZ

-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
Xavier Nodet | 3 Dec 2002 22:47
Picon
Favicon

Re: PGP support

On Mon, 2 Dec 2002 23:32:46 +0100 (Romance Standard Time) Vadim Zeitlin
<zeitlin <at> dptmaths.ens-cachan.fr> wrote:

> On Mon, 2 Dec 2002 13:37:36 +0100 Xavier Nodet <xavier.nodet <at> free.fr> wrote:

> XN> As a side note, you will note that when a message is signed as ascii
> XN> armor, any line beginning with '-' is prefixed with '- '. This
> XN> includes the standard signature marker.
> XN> 
> XN> I guess this '- ' should be removed when the PGP filter is in use.

>  Yes, but actually this should probably be done simply by passing the
> entire message to PGP and showing what it returns -- i.e. this will be
> fixed when the real PGP support is put in place. I'm working on it right
> now but it's difficult because I really don't know this stuff :-(

This seems to be a good start, for someone that "really does not know
this stuff"... :)  I managed to verify the signature I added to the first
message in this thread. And the '- ' was removed, of course.

One little thing that we must keep in mind is an option so that
unknown keys encountered by GPG are downloaded automatically.

I really don't have time to code, but if I can help...
Keep up the good work ;-)

--

-- 
Xavier Nodet
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." - Benjamin Franklin, 1759.
(Continue reading)

Nerijus Baliunas | 4 Dec 2002 22:00
Picon

Re[2]: PGP support

On Tue, 3 Dec 2002 22:47:24 +0100 Xavier Nodet <xavier.nodet <at> free.fr> wrote:

XN> This seems to be a good start, for someone that "really does not know
XN> this stuff"... :)  I managed to verify the signature I added to the first
XN> message in this thread. And the '- ' was removed, of course.

Me too! ;-) Cool!

Regards,
Nerijus

-------------------------------------------------------
This SF.net email is sponsored by: Microsoft Visual Studio.NET 
comprehensive development tool, built to increase your 
productivity. Try a free online hosted session at:
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
Vadim Zeitlin | 5 Dec 2002 00:59
Picon

Re[3]: PGP support

On Wed, 4 Dec 2002 23:00:34 +0200 (EET) Nerijus Baliunas <nerijus <at> users.sourceforge.net> wrote:

NB> On Tue, 3 Dec 2002 22:47:24 +0100 Xavier Nodet <xavier.nodet <at> free.fr> wrote:
NB> 
NB> XN> This seems to be a good start, for someone that "really does not know
NB> XN> this stuff"... :)  I managed to verify the signature I added to the first
NB> XN> message in this thread. And the '- ' was removed, of course.
NB> 
NB> Me too! ;-) Cool!

 Thanks for fixing Unix compilation!
VZ

-------------------------------------------------------
This SF.net email is sponsored by: Microsoft Visual Studio.NET 
comprehensive development tool, built to increase your 
productivity. Try a free online hosted session at:
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en

Gmane