Re: [Gambas-user] Support for IMAP in gb.net.curl

2017-09-23 Thread PICCORO McKAY Lenz
WOW! we now can make that bugtrackert check a email accoount for new
tickets!

with this class we can build now more advanced apps that can checks and
process evnets based on mails messages..

this class will be available in 3.10.X ? or later?


Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com

2017-09-23 22:07 GMT-04:00 Tony Morehen :

> I came across an interesting issue when working on Imap's Fetch command.
> Fetch is used to down load messages.  The response to a Fetch has 4 parts:
> 1) a single line providing the size of the download, say, 69000 bytes.
> 2) the mime-encoded download (a string 69000 bytes long)
> 3) one line whose only contents is ")"
> 4) one line status line.
>
> So my code does:
> Readline
> response = Read #stream, iSize'iSize=69000
> Readline
> Readline
>
> Using a TCP socket,  the Read # line has no error but the download is
> incomplete, say only 5 bytes.  The remaining 19000 byes is read by the
> next Readline.  However, the response variable is the correct 69000 bytes
> in length, with the last 19000 bytes zero-filled.  Its like the Read #
> timed out but the timeout is set to 1 and 10 seconds had not elapsed.
> Socket.blocking was set to True.
>
> Using an openssl process, the Read # line raises an error:  Error 9, Bad
> file descriptor.
>
> I have a workaround:  Read # is replaced with
>
>   Dim result as new String[]
>
>   Bytesread=0
>   Do While BytesRead < iSize
> Response = Read #$hStream,  IIf(iSize - BytesRead > 4096, 4096, iSize
> - BytesRead)
> result.Add(Response)
> bytesread += 4096
>   Loop
>   Response = result.Join("")
>
> Now both TCP and openssl work, no zero-fill no errors.
>
> Any ideas? Other fixes?
>
>
> On 2017-09-23 09:09 PM, Tony Morehen wrote:
>
>> Just a quick update on an Imap class.  The following methods have been
>> implemented and, for the most part, tested:
>>
>> Abort, AddMessageFlags, Authed, BuildSequenceSet, Capabilities,
>> CleanUpMailBoxList, Connect, CopyMessage, CopyMessages, CreateMailbox,
>> Debug,
>> DeleteMailbox, DeleteMessage, DeleteMessages, Encrypt, Exec, Expunge,
>> FindValue, GetMessage, GetMessageFlags, Host, LSub, List, ListMailboxes,
>> ListSubscribedMailboxes, Logout, MailboxInfo, MailboxStatus, MoveMessage,
>> MoveMessages, Noop, Password, Port, RemoveMessageFlags,
>> RenameMailbox, Search, SelectMailbox, SetMessageFlags, User, Welcome
>>
>> The testing has been done on a static email account.  As a result, copy,
>> move and delete messages have not been properly tested. I'll follow up on
>> that in another message.
>>
>>
>>
>>
>> --
>>
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>
>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] contribute user accoount does not meet with collaborators

2017-09-23 Thread PICCORO McKAY Lenz
it-s suppose that the COLABORATION wiki and file in gambas its for those
that are not part of the team and commonlly are external and ocasionally,
must explain gambas code where and how, the wiki page only have too many
references event more explain what to do..

*the only part good explained it's the log format... and for rest said @ask
to mail list@*

by example, about project forking workflow make reference to the GENERAL
how to and not a specific how to made in gambas rules context

about the account the wiki and file said>

We also recommend you use SSH to work with Git repositories
, instead of HTTPS. Not only
you won't have to enter your GitLab username and password every time you
want to interact with the repository, but it is also more secure as your
password is never sent through the network.

This are only usefully for those that have a computer fixed, and not change
it! due implices not common steps  to certified the ssh keys in gitlab and
the computer..

i not have computer, always use the machines of others or from job..

all the not common cases are not explained.

Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] "Long" click

2017-09-23 Thread d4t4full
That is precisely the reason I suggested an OBSERVER object. This Observer 
would get all MouseDown and MouseUp events for the desired controls and act 
accordingly.

My code was, anyway, Form-oriented on purpose to make it simpler and straight 
to the point, without the observer complication. The reader can adapt,  expand 
or innovate as needed.

Regards,
zxMarce.


On Sep 23, 2017, 14:48, at 14:48, PICCORO McKAY Lenz  
wrote:
>i understand perfectly..
>
>--->here but presed but not released
>> here a second was passed
>> here 20 second was passed but button are not released
>-> here due more that 20 second passed and but not released a
>form/window are raised
>
>
>your code looks with sense, but maybe i a good idea start the timming
>based
>on the button pressure, and not the moouse
>
>your code says> if the MOUSE button click ON ANY PART OF THE FORM start
>timing to calculate how long are pressed..
>
>and i thing you want > if the MOUSE button click ON SOME SPECIFIC
>BUTTON
>FORM et etc
>
>
>
>Lenz McKAY Gerardo (PICCORO)
>http://qgqlochekone.blogspot.com
>
>2017-09-21 6:08 GMT-04:00 ML :
>
>> My guess is that you want a new form to appear after the button is
>> raised, but having been pressed more than X seconds.
>> To this end, I'd add a timer with the desired "long-click lenght" to
>the
>> main form (the one that "receives the long-click").
>> Maybe also the form and all its controls should have an observer and
>> apply the timer to the observer, if more than one control may receive
>> the "long click".
>> So it would be MouseDown->Enable timer->MouseUp->Disable Timer. If
>the
>> timer triggered, the form should be shown:
>>
>>   Public Sub Form1_MouseDown()
>>
>> 'Start timing clicks
>> tmrLongClickEnabled = True
>>
>>   End
>>
>>   Public Sub Form1_MouseUp()
>>
>> 'Stop timing clicks
>> tmrLongClick.Enabled = False
>>
>>   End
>>
>>   Public Sub tmrLongClick_Timer()
>>
>> 'If the timer triggered before being disabled, it was a
>> "long-click", so we show the "other" form
>> Form2.Show()
>>
>> 'We also disable the timer so no more than ONE form is shown per
>> "long-click".
>> tmrLongClick.Enabled = False
>>
>>   End
>>
>> Disclaimer: It looks good on paper, but did not actually try it.
>>
>> HTH,
>> zxMarce
>>
>> On 21/09/17 06:28, Gianluigi wrote:
>> > I'm not sure I understand, but that's not enough?
>> >
>> > Public Sub Button1_MouseDown()
>> >
>> >   Form1.Show()
>> >
>> > End
>> >
>> > Public Sub Button1_MouseUp()
>> >
>> >   Form1.Hide()
>> >
>> > End
>> >
>> > Regards
>> > Gianluigi
>> >
>> > 2017-09-21 8:19 GMT+02:00 Miguel Manso :
>> >> Hi All,
>> >> I'm using gambas3 for some time now and I'd like to know your
>opinion
>> >> about the best way to implement a "long" click.
>> >> The idea is to leave a button presses for a certain amount of
>seconds
>> >> and without releasing it, a new form will open.
>> >> We did this using a timer but I'd like to know if there's any
>> >> "recommended" way of doing it.
>> >> Thanks.
>> >> --
>> >> Miguel Manso
>>
>>
>> 
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>--
>Check out the vibrant tech community on one of the world's most
>engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>___
>Gambas-user mailing list
>Gambas-user@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/gambas-user
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Support for IMAP in gb.net.curl

2017-09-23 Thread Tony Morehen
I came across an interesting issue when working on Imap's Fetch 
command.  Fetch is used to down load messages.  The response to a Fetch 
has 4 parts:

1) a single line providing the size of the download, say, 69000 bytes.
2) the mime-encoded download (a string 69000 bytes long)
3) one line whose only contents is ")"
4) one line status line.

So my code does:
Readline
response = Read #stream, iSize    'iSize=69000
Readline
Readline

Using a TCP socket,  the Read # line has no error but the download is 
incomplete, say only 5 bytes.  The remaining 19000 byes is read by 
the next Readline.  However, the response variable is the correct 69000 
bytes in length, with the last 19000 bytes zero-filled.  Its like the 
Read # timed out but the timeout is set to 1 and 10 seconds had not 
elapsed.  Socket.blocking was set to True.


Using an openssl process, the Read # line raises an error:  Error 9, Bad 
file descriptor.


I have a workaround:  Read # is replaced with

  Dim result as new String[]

  Bytesread=0
  Do While BytesRead < iSize
    Response = Read #$hStream,  IIf(iSize - BytesRead > 4096, 4096, 
iSize - BytesRead)

    result.Add(Response)
    bytesread += 4096
  Loop
  Response = result.Join("")

Now both TCP and openssl work, no zero-fill no errors.

Any ideas? Other fixes?


On 2017-09-23 09:09 PM, Tony Morehen wrote:
Just a quick update on an Imap class.  The following methods have been 
implemented and, for the most part, tested:


Abort, AddMessageFlags, Authed, BuildSequenceSet, Capabilities,
CleanUpMailBoxList, Connect, CopyMessage, CopyMessages, CreateMailbox, 
Debug,

DeleteMailbox, DeleteMessage, DeleteMessages, Encrypt, Exec, Expunge,
FindValue, GetMessage, GetMessageFlags, Host, LSub, List, ListMailboxes,
ListSubscribedMailboxes, Logout, MailboxInfo, MailboxStatus, 
MoveMessage, MoveMessages, Noop, Password, Port, RemoveMessageFlags,

RenameMailbox, Search, SelectMailbox, SetMessageFlags, User, Welcome

The testing has been done on a static email account.  As a result, 
copy, move and delete messages have not been properly tested. I'll 
follow up on that in another message.





-- 


Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Support for IMAP in gb.net.curl

2017-09-23 Thread Tony Morehen
To support a dynamic email account (one with new messages and deleted 
messages) and to implement the Idle and Notify commands, I need to 
handle server notifications.  What I plan to do is implement a monitor 
loop which will do a readline on the input from the server.  Each new 
line will be tested to see if it is a notification.  If so, the 
appropriate action will be taken.  If it's not a notification, it will 
be printed to a buffer stream. Currently, commands are directly sent to 
the server socket and replies are read directly from the same socket.  
In the new approach, replies will be read from the buffer.


One complication is that I must ensure that all the CRLFs in the buffer 
must remain intact.  Another complication is that I cannot just do a 
readline on a blocking stream.  There maybe some time between 
notifications, which would normally cause the readline to timeout.  Idle 
and Notify commands can wait for 20 minutes or more.


Comments? Suggestions?  I'd really appreciate advice on the best way to 
handle this.



On 2017-09-23 09:09 PM, Tony Morehen wrote:
Just a quick update on an Imap class.  The following methods have been 
implemented and, for the most part, tested:


Abort, AddMessageFlags, Authed, BuildSequenceSet, Capabilities,
CleanUpMailBoxList, Connect, CopyMessage, CopyMessages, CreateMailbox, 
Debug,

DeleteMailbox, DeleteMessage, DeleteMessages, Encrypt, Exec, Expunge,
FindValue, GetMessage, GetMessageFlags, Host, LSub, List, ListMailboxes,
ListSubscribedMailboxes, Logout, MailboxInfo, MailboxStatus, 
MoveMessage, MoveMessages, Noop, Password, Port, RemoveMessageFlags,

RenameMailbox, Search, SelectMailbox, SetMessageFlags, User, Welcome

The testing has been done on a static email account.  As a result, 
copy, move and delete messages have not been properly tested. I'll 
follow up on that in another message.





-- 


Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Support for IMAP in gb.net.curl

2017-09-23 Thread Tony Morehen
Just a quick update on an Imap class.  The following methods have been 
implemented and, for the most part, tested:


Abort, AddMessageFlags, Authed, BuildSequenceSet, Capabilities,
CleanUpMailBoxList, Connect, CopyMessage, CopyMessages, CreateMailbox, 
Debug,

DeleteMailbox, DeleteMessage, DeleteMessages, Encrypt, Exec, Expunge,
FindValue, GetMessage, GetMessageFlags, Host, LSub, List, ListMailboxes,
ListSubscribedMailboxes, Logout, MailboxInfo, MailboxStatus, 
MoveMessage, MoveMessages, Noop, Password, Port, RemoveMessageFlags,

RenameMailbox, Search, SelectMailbox, SetMessageFlags, User, Welcome

The testing has been done on a static email account.  As a result, copy, 
move and delete messages have not been properly tested.  I'll follow up 
on that in another message.





--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1179: Inherited properties whose name begins with underscore

2017-09-23 Thread Benoît Minisini via Gambas-user



 Message transféré 
Sujet : [Gambas Bug Tracker] Bug #1179: Inherited properties whose name begins 
with underscore
Date : Sat, 23 Sep 2017 22:45:26 GMT
De : bugtrac...@gambaswiki.org
Pour : mourad.regg...@gmail.com, g4m...@gmail.com

http://gambaswiki.org/bugtracker/edit?object=BUG.1179=L21haW4-

Comment #8 by Benoît MINISINI:

I think what I done in commit 
https://gitlab.com/gambas/gambas/commit/26039d08bba13acd442c42dde33378ee6536fab1
 should satisfy you:

Now symbols having an underscore in it are automatically hidden, unless you 
start typing an underscore just after the point.

Benoît MINISINI changed the state of the bug to: Fixed.




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] a novice question = advise on were to start?

2017-09-23 Thread mikeB
Thanks for your reply - since my post I've got MOST everything figured 
out but of course is a large project so will require a LOT of hack'n

and testing. But have made a commitment to self to get this done ;-)
have a GREAT day,
mikeB


On 09/23/2017 11:41 AM, PICCORO McKAY Lenz wrote:

hi @mikeB, in the past was Quanta gold,, today the only most complete app
as you mention are https://es.wikipedia.org/wiki/BlueGriffon ...

i think you will develop something like quata/bluefish ... your project
must cover all the requirements, event if are simpler, must support all the
meets

so as recomendation, i think the rendenring engine must be as a module by
separate.. my 2c of contribution

it-s a great deal.. but require a great efforts

Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com

2017-09-21 13:55 GMT-04:00 mikeB :


eGreetings the World of Gambas,

First of all - I'd like to sincerely thank any/ all (special BIG THANKS
goes out to Tobi and Adrien) of you that help me understand the Gambas way
of "hashing" a password and implementing "encryption". Just released, what
I think is a pretty cool Linux Mint app - after beating my head against the
puter monitor endlessly ;-)

My next project is to TRY to develop a Gambas app that is a WYSIWYG type
app something (but much simpler) like "M$ Front Page" or "Adobe
DreamWeaver".

I could just start hack'n at it - but if anyone has any advise on where to
start or what to look at = I'd GREATLY APPRECIATE IT!

I realize that a lot of you true Linux gurus will say "why would anyone
want this - just learn HTML code" but I'm think'n that there are more folks
out there that just want to create and publish a web page or two then spend
a week, month or year learning to code;-)

Have a GREAT day,
mikeB







--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] "Long" click

2017-09-23 Thread PICCORO McKAY Lenz
i understand perfectly..

--->here but presed but not released
> here a second was passed
> here 20 second was passed but button are not released
-> here due more that 20 second passed and but not released a
form/window are raised


your code looks with sense, but maybe i a good idea start the timming based
on the button pressure, and not the moouse

your code says> if the MOUSE button click ON ANY PART OF THE FORM start
timing to calculate how long are pressed..

and i thing you want > if the MOUSE button click ON SOME SPECIFIC BUTTON
FORM et etc



Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com

2017-09-21 6:08 GMT-04:00 ML :

> My guess is that you want a new form to appear after the button is
> raised, but having been pressed more than X seconds.
> To this end, I'd add a timer with the desired "long-click lenght" to the
> main form (the one that "receives the long-click").
> Maybe also the form and all its controls should have an observer and
> apply the timer to the observer, if more than one control may receive
> the "long click".
> So it would be MouseDown->Enable timer->MouseUp->Disable Timer. If the
> timer triggered, the form should be shown:
>
>   Public Sub Form1_MouseDown()
>
> 'Start timing clicks
> tmrLongClickEnabled = True
>
>   End
>
>   Public Sub Form1_MouseUp()
>
> 'Stop timing clicks
> tmrLongClick.Enabled = False
>
>   End
>
>   Public Sub tmrLongClick_Timer()
>
> 'If the timer triggered before being disabled, it was a
> "long-click", so we show the "other" form
> Form2.Show()
>
> 'We also disable the timer so no more than ONE form is shown per
> "long-click".
> tmrLongClick.Enabled = False
>
>   End
>
> Disclaimer: It looks good on paper, but did not actually try it.
>
> HTH,
> zxMarce
>
> On 21/09/17 06:28, Gianluigi wrote:
> > I'm not sure I understand, but that's not enough?
> >
> > Public Sub Button1_MouseDown()
> >
> >   Form1.Show()
> >
> > End
> >
> > Public Sub Button1_MouseUp()
> >
> >   Form1.Hide()
> >
> > End
> >
> > Regards
> > Gianluigi
> >
> > 2017-09-21 8:19 GMT+02:00 Miguel Manso :
> >> Hi All,
> >> I'm using gambas3 for some time now and I'd like to know your opinion
> >> about the best way to implement a "long" click.
> >> The idea is to leave a button presses for a certain amount of seconds
> >> and without releasing it, a new form will open.
> >> We did this using a timer but I'd like to know if there's any
> >> "recommended" way of doing it.
> >> Thanks.
> >> --
> >> Miguel Manso
>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] a novice question = advise on were to start?

2017-09-23 Thread PICCORO McKAY Lenz
hi @mikeB, in the past was Quanta gold,, today the only most complete app
as you mention are https://es.wikipedia.org/wiki/BlueGriffon ...

i think you will develop something like quata/bluefish ... your project
must cover all the requirements, event if are simpler, must support all the
meets

so as recomendation, i think the rendenring engine must be as a module by
separate.. my 2c of contribution

it-s a great deal.. but require a great efforts

Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com

2017-09-21 13:55 GMT-04:00 mikeB :

> eGreetings the World of Gambas,
>
> First of all - I'd like to sincerely thank any/ all (special BIG THANKS
> goes out to Tobi and Adrien) of you that help me understand the Gambas way
> of "hashing" a password and implementing "encryption". Just released, what
> I think is a pretty cool Linux Mint app - after beating my head against the
> puter monitor endlessly ;-)
>
> My next project is to TRY to develop a Gambas app that is a WYSIWYG type
> app something (but much simpler) like "M$ Front Page" or "Adobe
> DreamWeaver".
>
> I could just start hack'n at it - but if anyone has any advise on where to
> start or what to look at = I'd GREATLY APPRECIATE IT!
>
> I realize that a lot of you true Linux gurus will say "why would anyone
> want this - just learn HTML code" but I'm think'n that there are more folks
> out there that just want to create and publish a web page or two then spend
> a week, month or year learning to code;-)
>
> Have a GREAT day,
> mikeB
>
>
>
>
>
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] SocketServer issue

2017-09-23 Thread PICCORO McKAY Lenz
without a working undertanding code or attached project its hard to find
some kind of solution

Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com

2017-09-21 14:41 GMT-04:00 Miguel Manso :

> Hi guys,
>
> I've an application that starts a SocketServer on port 8088. All works ok
> when I've the network cable inserted on the machine.
>
> If I boot the machine without the network cable inserted, the SocketServer
> doesn't listen on port 8088 and it doesn't raise the _Error event.
>
> This happens on a particular machine. On a different one, it behaves ok
> when it starts with no network cable on it.
>
> The postgres server (port 5432) starts ok in both machines.
>
> Any clue why this is happening?
>
> Thanks.
>
> --
> Miguel Manso
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1179: Inherited properties whose name begins with underscore

2017-09-23 Thread Benoît Minisini via Gambas-user



 Message transféré 
Sujet : [Gambas Bug Tracker] Bug #1179: Inherited properties whose name begins 
with underscore
Date : Sat, 23 Sep 2017 16:06:58 GMT
De : bugtrac...@gambaswiki.org
Pour : mourad.regg...@gmail.com, g4m...@gmail.com

http://gambaswiki.org/bugtracker/edit?object=BUG.1179=L21haW4-

Comment #7 by Mourad REGGADI:

That is exactly the point !




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1179: Inherited properties whose name begins with underscore

2017-09-23 Thread Benoît Minisini via Gambas-user



 Message transféré 
Sujet : [Gambas Bug Tracker] Bug #1179: Inherited properties whose name begins 
with underscore
Date : Sat, 23 Sep 2017 13:14:35 GMT
De : bugtrac...@gambaswiki.org
Pour : mourad.regg...@gmail.com, g4m...@gmail.com

http://gambaswiki.org/bugtracker/edit?object=BUG.1179=L21haW4-

Comment #6 by Benoît MINISINI:

Ha ha. Actually the bug is that the method is not visible, not that the 
property is.

I didn't want to hide symbols beginning with underscore if they are in the same project, 
because it is the way I wanted to implement a concept like "friend methods" (or 
properties) of C++, but at the project level: public symbols that should only be used 
inside their source project, but not from the outside.

They are still public, because, for performance reasons, there is nothing 
inside the interpreter between fully public and fully private. The underscore 
thing is just a convention.

I guess you don't want to see these methods/properties because you want them 
visible only to the class and its children (as friend methods in C++ really 
are). Am I right?




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1179: Inherited properties whose name begins with underscore

2017-09-23 Thread Benoît Minisini via Gambas-user



 Message transféré 
Sujet : [Gambas Bug Tracker] Bug #1179: Inherited properties whose name begins 
with underscore
Date : Sat, 23 Sep 2017 12:22:59 GMT
De : bugtrac...@gambaswiki.org
Pour : mourad.regg...@gmail.com, g4m...@gmail.com

http://gambaswiki.org/bugtracker/edit?object=BUG.1179=L21haW4-

Comment #5 by Mourad REGGADI:

Sorry did not see the attach a file button !




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1179: Inherited properties whose name begins with underscore

2017-09-23 Thread Benoît Minisini via Gambas-user



 Message transféré 
Sujet : [Gambas Bug Tracker] Bug #1179: Inherited properties whose name begins 
with underscore
Date : Sat, 23 Sep 2017 12:22:31 GMT
De : bugtrac...@gambaswiki.org
Pour : mourad.regg...@gmail.com, g4m...@gmail.com

http://gambaswiki.org/bugtracker/edit?object=BUG.1179=L21haW4-

Mourad REGGADI added an attachment:

TestHiddenProperty.zip


.


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1105: XmlElement.GetChildrenByTagName does get parent too if tag is the same

2017-09-23 Thread Benoît Minisini via Gambas-user



 Message transféré 
Sujet : [Gambas Bug Tracker] Bug #1105: XmlElement.GetChildrenByTagName does 
get parent too if tag is the same
Date : Sat, 23 Sep 2017 12:07:29 GMT
De : bugtrac...@gambaswiki.org
Pour : adrien.prokopow...@gmail.com, daniel.blanch.batal...@gmail.com, 
g4m...@gmail.com

http://gambaswiki.org/bugtracker/edit?object=BUG.1105=L21haW4-

Comment #1 by Adrien PROKOPOWICZ:

Sorry for the delay!
The bug should be fixed in commit 
https://gitlab.com/gambas/gambas/commit/2865c9def1e4fd86d3ba0cf9a1579dfd5bf1d667
 .

Adrien PROKOPOWICZ changed the state of the bug to: Fixed.




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1179: Inherited properties whose name begins with underscore

2017-09-23 Thread Benoît Minisini via Gambas-user



 Message transféré 
Sujet : [Gambas Bug Tracker] Bug #1179: Inherited properties whose name begins 
with underscore
Date : Sat, 23 Sep 2017 11:43:43 GMT
De : bugtrac...@gambaswiki.org
Pour : mourad.regg...@gmail.com, g4m...@gmail.com

http://gambaswiki.org/bugtracker/edit?object=BUG.1179=L21haW4-

Comment #4 by Mourad REGGADI:

Can i send you the test project on g4m...@gmail.com ?

Mourad REGGADI changed the state of the bug to: Accepted.




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1178: Editor crashes when using paste special ( paste as a comment)

2017-09-23 Thread Benoît Minisini via Gambas-user



 Message transféré 
Sujet : [Gambas Bug Tracker] Bug #1178: Editor crashes when using paste special 
( paste as a comment)
Date : Sat, 23 Sep 2017 11:26:55 GMT
De : bugtrac...@gambaswiki.org
Pour : postapase.liber...@yandex.com, g4m...@gmail.com

http://gambaswiki.org/bugtracker/edit?object=BUG.1178=L21haW4-

Comment #15 by Benoît MINISINI:

Finally found a workaround in commit 
https://gitlab.com/gambas/gambas/commit/7f3ddad0b7c127bbc1ee644fcfddd52574266d59

Benoît MINISINI changed the state of the bug to: Fixed.




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1179: Inherited properties whose name begins with underscore

2017-09-23 Thread Benoît Minisini via Gambas-user



 Message transféré 
Sujet : [Gambas Bug Tracker] Bug #1179: Inherited properties whose name begins 
with underscore
Date : Sat, 23 Sep 2017 10:49:41 GMT
De : bugtrac...@gambaswiki.org
Pour : mourad.regg...@gmail.com, g4m...@gmail.com

http://gambaswiki.org/bugtracker/edit?object=BUG.1179=L21haW4-

Comment #3 by Benoît MINISINI:

Please send me a little project so that I am sure about what to fix.

Benoît MINISINI changed the state of the bug to: NeedsInfo.




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1178: Editor crashes when using paste special ( paste as a comment)

2017-09-23 Thread Benoît Minisini via Gambas-user



 Message transféré 
Sujet : [Gambas Bug Tracker] Bug #1178: Editor crashes when using paste special 
( paste as a comment)
Date : Sat, 23 Sep 2017 10:40:03 GMT
De : bugtrac...@gambaswiki.org
Pour : postapase.liber...@yandex.com, g4m...@gmail.com

http://gambaswiki.org/bugtracker/edit?object=BUG.1178=L21haW4-

Comment #14 by Benoît MINISINI:

Wrong... The bug is in QT4, not in QT5. As they share the same code, I guess I 
hardly can find a workaround. I mark the bug as upstream, but I will check if I 
can find a solution.

Benoît MINISINI changed the state of the bug to: Upstream.




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1179: Inherited properties whose name begins with underscore

2017-09-23 Thread Benoît Minisini via Gambas-user



 Message transféré 
Sujet : [Gambas Bug Tracker] Bug #1179: Inherited properties whose name begins 
with underscore
Date : Sat, 23 Sep 2017 10:33:35 GMT
De : bugtrac...@gambaswiki.org
Pour : mourad.regg...@gmail.com, g4m...@gmail.com

http://gambaswiki.org/bugtracker/edit?object=BUG.1179=L21haW4-

Comment #2 by Mourad REGGADI:

Thanks for your quick answer : I have a base class named "BpmnClass" in which i defined a property (read only) named "_DataPool". 
I have another class named "RuleClass" which inherits the first one. Everything is in the same project. When using "RuleClass" in 
a form, for example, or when using the "RuleClass" in another class (both located in the same project), i still can see the property 
"_DataPool" in "RuleClass". By the way, i defined a couple of functions using the underscore in the base class and they do not 
appear in derived classes in the same context. Is it possible to have the same logic concerning inherited properties, can you consider it as a 
possible improvement ? Many thanks for your great job.

Mourad REGGADI changed the state of the bug to: Accepted.




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1178: Editor crashes when using paste special ( paste as a comment)

2017-09-23 Thread Benoît Minisini via Gambas-user



 Message transféré 
Sujet : [Gambas Bug Tracker] Bug #1178: Editor crashes when using paste special 
( paste as a comment)
Date : Sat, 23 Sep 2017 10:27:07 GMT
De : bugtrac...@gambaswiki.org
Pour : postapase.liber...@yandex.com, g4m...@gmail.com

http://gambaswiki.org/bugtracker/edit?object=BUG.1178=L21haW4-

Comment #13 by Benoît MINISINI:

I confirm that it freezes on Mint, but not on Kubuntu.




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1179: Inherited properties whose name begins with underscore

2017-09-23 Thread Benoît Minisini via Gambas-user



 Message transféré 
Sujet : [Gambas Bug Tracker] Bug #1179: Inherited properties whose name begins 
with underscore
Date : Sat, 23 Sep 2017 10:07:16 GMT
De : bugtrac...@gambaswiki.org
Pour : mourad.regg...@gmail.com, g4m...@gmail.com

http://gambaswiki.org/bugtracker/edit?object=BUG.1179=L21haW4-

Comment #1 by Benoît MINISINI:

The documentation is not precise enough: they are hidden when they are located 
in a library or a component, but not when they are in the current project.

Can you tell me where you read that exactly so that I fix the documentation?

Benoît MINISINI changed the state of the bug to: NeedsInfo.




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1179: Inherited properties whose name begins with underscore

2017-09-23 Thread Benoît Minisini via Gambas-user



 Message transféré 
Sujet : [Gambas Bug Tracker] Bug #1179: Inherited properties whose name begins 
with underscore
Date : Sat, 23 Sep 2017 09:15:39 GMT
De : bugtrac...@gambaswiki.org
Pour : mourad.regg...@gmail.com, g4m...@gmail.com

http://gambaswiki.org/bugtracker/edit?object=BUG.1179=L21haW4-

Mourad REGGADI reported a new bug.

Summary
---

Inherited properties whose name begins with underscore

Type : Bug
Priority : Medium
Gambas version   : 3.10
Product  : Development Environment


Description
---

According to documentation, inherited properties whose name begins with underscore are hidden by 
the editor. It seems not working, i declared a read only property "_DataPool" 
"Private Function _DataPool_Read()" in base class, in inherited classes when using 
auto-completion feature, this property is still displayed.


System information
--

Linux Mint 17.3 rosa




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user