Robert Vazan | 1 Aug 2003 12:02
Picon

Re: Automated/advanced testing

On Wed, 30 Jul 2003 02:26:25 +0200 (Romance Daylight Time) Vadim Zeitlin
<zeitlin <at> dptmaths.ens-cachan.fr> wrote:

> On Tue, 29 Jul 2003 18:25:10 +0200 (CEST) Robert Vazan
> <robertvazan <at> privateweb.sk> wrote:
> 
> RV> Could this be compiled into
> RV> executable instead? The variable would still exist, but it would have
> RV> default that is not stored.
> 
>  This could surely be done. As usual, the full customization would be to
> have (in order of priorty):
> 
> 1. command line option to change it (--global-dir=xxx)
> 2. env variable (M_PREFIX or M_GLOBAL_DIR)
> 3. built in default

I wonder how did this get into my ~/.M/config. It does have default that I
suggested and it was not recorded after test installation.

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
Robert Vazan | 1 Aug 2003 13:05
Picon

Address to folder mapping (was: Automated/advanced testing)

On Tue, 29 Jul 2003 18:25:10 +0200 (CEST) Robert Vazan
<robertvazan <at> privateweb.sk> wrote:

> * Do you run any localhost servers? It would be useful to test complete
> Smtp/Pop3 roundtrip and address matching. Do you think it is possible to
> have addresses under multiple domains? This would be very useful for
> filters.

I have been thinking about this and, if I want to make tests reasonably
fast and simple, there must be some way to deliver directly to mailbox
even if the mail is seemingly addressed to somebody on Internet. So what
about adding "folder address" property that would cause mails matching
address in that property to be delivered to folder for which this property
is set? It would be enabled only in debug build and it (somewhat
awkwardly) couldn't be inherited. Do you think this should be rather
property of address in addressbook? One address can have multiple records
in multiple addressbooks though.

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
Robert Vazan | 2 Aug 2003 20:35
Picon

Fix for message loss in filters

I have probably fixed [1] the first item in TODO. Most of the work
actually went into factoring FilterRuleImpl::Apply and actual fix is very
small [2].

Btw, I have been unsure as to whether somebody is working on this already.
I thought it will be simple patch so I didn't announce anything, but then
the refactoring was a lot of work and I didn't want it duplicated. Maybe
bug tracker could be used as more discrete way to indicate who is working
on what. All bugs would then have to go through bug tracker first and they
would have to be marked before any work starts.

[1] <http://www.privateweb.sk/robertvazan/
patches/mahogany.robertvazan.filtermoveloss.patch>

[2]

--- beggar/src/modules/Filters.cpp      Sat Aug  2 20:18:23 2003
+++ work/src/modules/Filters.cpp        Sat Aug  2 19:57:39 2003
 <at>  <at>  -3558,6 +3558,8  <at>  <at> 
    // copy all messages we are copying to this destination at once
    UIdArray uidsToCopy;
+   wxArrayLong indexesToCopy;

    uidsToCopy.Add(m_msgs[m_idx]);
+   indexesToCopy.Add(m_idx);

    for ( size_t n = m_idx + 1; n < m_msgs.GetCount(); n++ )
 <at>  <at>  -3567,12 +3569,24  <at>  <at> 
       {
          uidsToCopy.Add(m_msgs[n]);
(Continue reading)

Mark Livingstone | 3 Aug 2003 06:57
Picon

Re[2]: Automated/advanced testing

On Fri, 1 Aug 2003 11:01:36 +0200 (CEST) Robert Vazan <robertvazan <at> privateweb.sk> wrote:

RV> Everything you write seems to be of interest to other list members so I
RV> don't quite understand why did you send it privately to me.

Apologies. I compiled M under Mandrake 9.0 and before I got to fixing the
"send to list vs. send to sender" stuff, I reloaded and started again and
forgot to change that. 

That reminded me to go to Preferences before I forget ;-)

RV> Well, I fear I would be pushing big ball in front of me and I wouldn't
RV> be able to complete my goals because of it. I thought about Python only
RV> because all other test frameworks use some scripting language. I am not
RV> sure why they do it.
RV> 

Most of the script languages tend to be interpreted vs compiled making
integration easier since you don't need to include a compiler. Most are
also easier to learn ;-)

RV> > At some point down the track, I hoped to try to get one of the Python
RV> > based spam filters like spam-bayes working entirely within Mahogany
RV> so
RV> > users can have spam filtering but don't have to mess about setting up
RV> > POP proxies.
RV> 
RV> One question is whether we want to use Python internally for projects
RV> like above or whether it gives some value to users. Making it available
RV> to users requires building interfaces to all Mahogany components. These
(Continue reading)

Mark Livingstone | 3 Aug 2003 07:01
Picon

0.65 Errors

Hi Vadim,

I have compiled and installed M 0.65 under Mandrake 9.1 using wx2.50 (latest
CVS from each).

When I go into preferences, there are a lot of tabs where the lines start
one or two characters too far to the left resulting in a char or two
missing and boxes not lining up.

Now I know that we decided that Palm has been deprecated for the moment but
I decided to see what would happen if someone tried to compile it in. When
I did (after loading the required libs), I got a bunch of errors and the
make broke. Thought I'd let you know. While I know we knew it would not
function, it may be worthwhile making sure it at least compiles?

I was going to see what would happen to deprecated Python but I have 2.2
loaded and it only checks up to 2.1 :-)

While on the subject of Python, can you remember what was it actually used
for by anyone when it did work?

"Text only message viewe" is all I see on the button. Either the R is left
off or the button too narrow.

On the About screen, would it be worthwhile changing the graphic to say
0.65?

I don't know how to reproduce it but every so often in the message list,
the mousewheel controls go spastic and it only goes upwards regardless of
which direction you are winding it.
(Continue reading)

Mark Livingstone | 3 Aug 2003 07:01
Picon

Palm libmal error

Another thing I noticed while mucking with Palm support, it complained I
did not have libmal in /extra/src even though I had loaded one from RPM
onto my system. 

Seems the path is hard coded for some reason?

HTH

Dr. QA

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
Vadim Zeitlin | 3 Aug 2003 14:00
Picon

Re: Address to folder mapping (was: Automated/advanced testing)

On Fri, 1 Aug 2003 13:05:35 +0200 (CEST) Robert Vazan <robertvazan <at> privateweb.sk> wrote:

RV> I have been thinking about this and, if I want to make tests reasonably
RV> fast and simple, there must be some way to deliver directly to mailbox
RV> even if the mail is seemingly addressed to somebody on Internet.

 You can do this without problem if you have a Linux box on a LAN. Just run
your own bind and put your own mail server as MX for the domain .M (which
doesn't exist AFAIK) -- then you should be able to receive anything sent to
a <at> b.c.M back.

 I still don't understand _why_ do you want to do this, however...

RV> So what about adding "folder address" property that would cause mails
RV> matching address in that property to be delivered to folder for which
RV> this property is set?

 This would completely duplicate the filters functionality, wouldn't it?

 Regards,
VZ

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
Vadim Zeitlin | 3 Aug 2003 14:04
Picon

Re: 0.65 Errors

On Sun, 3 Aug 2003 15:01:18 +1000 (EST) Mark Livingstone <mlivingstone <at> iprimus.com.au> wrote:

ML> I have compiled and installed M 0.65 under Mandrake 9.1 using wx2.50 (latest
ML> CVS from each).

 Thanks!

ML> When I go into preferences, there are a lot of tabs where the lines start
ML> one or two characters too far to the left resulting in a char or two
ML> missing and boxes not lining up.

 Sorry, I don't understand what exactly is going on. Could you please make
a screenshot (I don't know what people use nowadays to make screenshots
under X, gimp?) and put it somewhere on the web please?

ML> Now I know that we decided that Palm has been deprecated for the moment but
ML> I decided to see what would happen if someone tried to compile it in. When
ML> I did (after loading the required libs), I got a bunch of errors and the
ML> make broke. Thought I'd let you know. While I know we knew it would not
ML> function, it may be worthwhile making sure it at least compiles?

 I really don't know. It's not very interesting to know that it compiles if
we can't also test whether it works.

ML> I was going to see what would happen to deprecated Python but I have 2.2
ML> loaded and it only checks up to 2.1 :-)

 Yes, and 2.3 is already out...

ML> While on the subject of Python, can you remember what was it actually used
(Continue reading)

Vadim Zeitlin | 3 Aug 2003 14:07
Picon

Re[2]: Automated/advanced testing

On Wed, 30 Jul 2003 19:51:06 +0200 (CEST) Robert Vazan <robertvazan <at> privateweb.sk> wrote:

RV> > RV> * Do you run any localhost servers?
RV> > 
RV> >  I run all servers on the LAN.
RV> 
RV> Do you use them for daily mail or for testing? I am mostly interested in
RV> test servers/accounts. What software do you use?

 Bind (9) and exim, the latter mostly because it is so simple to configure.
But anything should do, even sendmail if you're brave enough.

RV> If I want to test autoresponder, I must be able to send mail between
RV> several virtual users/addresses.

 What exactly would an autoresponder do? Do you mean a vacation-like
functionality? If so, I don't think it really belongs in a MUA. Or do you
mean a filter action which would create and send a message instead?

 Thanks,
VZ

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
Robert Vazan | 3 Aug 2003 14:17
Picon

Re: Automated/advanced testing

On Sun, 3 Aug 2003 14:57:44 +1000 (EST) Mark Livingstone
<mlivingstone <at> iprimus.com.au> wrote:

> Most of the script languages tend to be interpreted vs compiled making
> integration easier since you don't need to include a compiler.

This doesn't apply to software projects like Mahogany, because we already
require compiler.

> Most are
> also easier to learn ;-)

We could become dual-language projects allowing code in either C++ or
Python. This might be useful if we can get comfortable interface between
Python and C++. However, I still don't see what would this provide to
users. There is also this danger that people might tend to rewrite Python
code to C++ and back for various reasons.

> Having spent a lot of time in the buglist, you will be suprised how much
> of
> the internals of M users have asked to be exposed.

I cannot find anything for Python component. Everybody just complains that
Python doesn't build, but I don't believe anybody was intending to use it.
Who uses Visual Basic in Outlook? I understand that writing plug-in is
easier with Python than with binary modules, but we can integrate support
for wide range of external tools directly into Mahogany. We are
opensource, after all.

> Since Python works
(Continue reading)


Gmane