[Gambas-devel] Release of Gambas 3.3

Sebastian Kulesz sebikul at ...176...
Thu Sep 6 22:28:20 CEST 2012


On Thu, Sep 6, 2012 at 1:46 PM, Benoît Minisini
<gambas at ...1...> wrote:
> Le 06/09/2012 16:14, Benoît Minisini a écrit :
>> Le 06/09/2012 16:11, Benoît Minisini a écrit :
>>> Le 06/09/2012 16:08, Benoît Minisini a écrit :
>>>> Le 06/09/2012 06:52, Sebastian Kulesz a écrit :
>>>>>
>>>>> I just updated the component. I commented most debug instructions,
>>>>> only one missing (i will remove it once the following issue is
>>>>> resolved). Messages now inherit MIMEMessage. It works like a charm,
>>>>> great work!!
>>>>
>>>> _Pop3Client_Message must not inherit MIMEMessage, because it is a
>>>> virtual class (beginning with a "_").
>>>>
>>>> The idea is not stupid by itself, but then creating a
>>>> _Pop3Client_Message automatically makes it load the message and parse
>>>> it! Which is not a good idea at all, as you may want to list messages
>>>> without loading them and parsing them.
>>>>
>>>> I will remove that stuff.
>>>>
>>>
>>> What's that horror in the source code of Pop3Client._get() ?
>>>
>>> "If msgid = 0 Then msgid = 1"
>>>
>>
>> The mail index should go from 0 to Count - 1, as any other collection in
>> Gambas!
>>
>
> OK, the POP3 component has been cleaned up!
>
> I have fixed the interpreter bug in enumeration management. That bug was
> there since years!
>
> While testing the component with gmail, I found tons of bugs and fixed
> them. I don't want you to be sued by Gambas users because you lost their
> mails. :-) Please test more when you develop the 'gbmake' tool.
>
> I think now the component should be stable enough. I tested it with
> gmail which use SSL encryption.
>
> If you could test it with your account that seems to not be encrypted
> and tell me that it's ok for you.
>
> Of course other people can test it too before the Gambas 3.3 release. It
> would be a good idea. :-)
>
> Regards,
>
> --
> Benoît Minisini
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Gambas-devel mailing list
> Gambas-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-devel

I like the changes, it works flawlessly now!! Tested with unencrypted
account too. no bugs so far. I couldn't test it  using my gmail
account because i use 2-factor auth, so i needed to create a new key
each time i wanted to test.

One question tough; what is the use of Abort() if it doesn't roll back
any changes? Shouldn't it call Reset() before disconnecting, otherwise
it's almost the same as Close().

I would also like to implement the APOP, but i need to hash a string
with md5. Is there a more native way of obtaining an md5 hexdigest
than calling md5sum or openssl with Exec?




More information about the Devel mailing list