Re: [Gambas-user] Issue 438 in gambas: gb.xml.rpc sometimes doesn't parse data correctly due to incompleteness of received data

2013-06-29 Thread gambas
Updates:
Status: Started
Labels: -Version Version-TRUNK

Comment #5 on issue 438 by benoit.m...@gmail.com: gb.xml.rpc sometimes  
doesn't parse data correctly due to incompleteness of received data
http://code.google.com/p/gambas/issues/detail?id=438

I tried to understand the miniserver code... huch...

I think the problem is what you told: calling ProcessQuery() before being  
sure that everything was read from the client. Instead of adding your loop,  
I call ProcessQuery() once the socket is closed without error.

This is in revision #5713.

Tell me if it works. If I cannot succeed in fixing the miniserver in a  
clean way, I will use your patch!

-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Issue 446 in gambas: Select statement returns no data

2013-06-29 Thread gambas
Updates:
Status: WontFix
Labels: -Version Version-TRUNK

Comment #3 on issue 446 by benoit.m...@gmail.com: Select statement returns  
no data
http://code.google.com/p/gambas/issues/detail?id=446

(No comment was entered for this change.)

-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Issue 445 in gambas: Project profiling setting not saved

2013-06-29 Thread gambas
Updates:
Status: Fixed
Labels: -Version Version-TRUNK

Comment #1 on issue 445 by benoit.m...@gmail.com: Project profiling setting  
not saved
http://code.google.com/p/gambas/issues/detail?id=445

Thanks, fixed in revision #5714.

-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Issue 444 in gambas: Balloon location is wrong for a textbox

2013-06-29 Thread gambas
Updates:
Labels: -Version Version-TRUNK

Comment #1 on issue 444 by benoit.m...@gmail.com: Balloon location is wrong  
for a textbox
http://code.google.com/p/gambas/issues/detail?id=444

Mmm... I cannot reproduce your problem. The balloon is in the right place  
there. But I use KDE (and so KWin). I will try with Unity and Gnome3 if I  
can. Can you try with KDE yourself?

-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Issue 444 in gambas: Balloon location is wrong for a textbox

2013-06-29 Thread gambas
Updates:
Status: Accepted

Comment #2 on issue 444 by benoit.m...@gmail.com: Balloon location is wrong  
for a textbox
http://code.google.com/p/gambas/issues/detail?id=444

(No comment was entered for this change.)

-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Issue 444 in gambas: Balloon location is wrong for a textbox

2013-06-29 Thread gambas

Comment #3 on issue 444 by uale...@gmail.com: Balloon location is wrong for  
a textbox
http://code.google.com/p/gambas/issues/detail?id=444

I tried with KDE on Ubuntu 13.04 and then the Balloon is in the RIGHT  
place. So it is a specific desktop issue ;-(

I used the following procedure to install KDE next to Gnome and Unity:
http://linuxg.net/kde-4-10-3-has-been-released-install-kde-4-10-3-on-ubuntu-13-04/

-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Question about XML

2013-06-29 Thread Adrien Prokopowicz
Le Thu, 20 Jun 2013 13:29:13 +0200, Charlie Reinl   
a écrit:

> Salut Adrien,
>
> "Article :\ngreen peppers\ntinned tomatoes"
>
> this text saved with
>
> xml.Attribute("Text", "Article :\ngreen peppers\ntinned tomatoes")
> where xml is a XmlWriter
>
> the old XMLLib sorted thet
>
> Text="Article :
green peppers
tinned tomatoes"
>
> the new XMLLib saves it like
> Text="Article :
> green peppers
> tinned tomatoes"
>
> Now my question: is it a bug, or was it a bug.
> Just to know who makes the changes, you for all, or me in my project.
>
> Thanks anyway
>
>

Hi Charlie,

It is actually a bug inside gb.xml (a newline must be serialized to  

), I will take a look at it.

And sorry again for response time, I had tons of work these weeks.

Regards,

-- 
Adrien Prokopowicz

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Help binding to /dev/usbtmc0?

2013-06-29 Thread Tobias Boege
On Fri, 28 Jun 2013, dr.diesel wrote:
> Thanks for the help.  That is basically what I've done, expect all I get:
> 
> "System error #110: Connection Timed out"
> 
> I get the same when I cat and echo, but I get the proper response then get
> the error:
> 
> [root@dev andy]# echo *IDN?>/dev/usbtmc0
> [root@dev andy]# cat /dev/usbtmc0 
> Rigol Technologies,DSA815,DSA8A151449181,00.01.06.00.05
> ***10 second pause 
> cat: /dev/usbtmc0: Connection timed out
> [root@dev andy]# 
> 
> It appears that it is waiting for more, how to I read only what's there then
> exit?
> 
> I've tried a simple Read #hDevice and a While not EOF:
> 
> 
> Public hDevice As File 
> Public sLine As String 
> 
> 
> Public Sub Form_Open()
>  hDevice = Open "/dev/usbtmc0" For Input Output Watch
> End
> 
> Public Sub File_Read()
>   Dim iByte As Byte
> 
>   'Read #hDevice, iByte
>   'Print "Got one byte: "; iByte
>   '
>   While Not Eof(hDevice)
> Line Input #hDevice, sLine
> Print sLine
>   Wend
> End
> 
> Many thanks, any other suggestions?
> 

I have never seen this error with cat. At least we know for sure that this
is not a Gambas problem. Did you read [0]?

Regards,
Tobi

[0] http://www.spinics.net/lists/linux-usb/msg21894.html

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Help binding to /dev/usbtmc0?

2013-06-29 Thread Randall Morgan
Sorry to jump in here but I was wondering if this could be caused the mode
the usb connection is opened in? The OS is not required to send the data to
usb devices at the time your program talks to the usb port. The data is
often cached for some time before being sent to the usb device. There is a
usb mode know as interrupt mode. It is anything but a true interrupt mode.
It does however ask the OS to ensure that the data is sent to the usb
device within a particular time frame, 100ms for example. So using usb
interrupt mode you can at least request that your data be sent with a
certain time frame. But I have found that Windows 7 still does not always
cooperate in interrupt mode. My work with CNC stepper controllers resulted
in needing a polling routine and a buffer on the controller board. The
controller board also had to be able to handle real-time errors which meant
it had to deal with the sensors itself and simply report that status back
to the PC software (EMC2 and MACH3).  So in short, I wonder if you are
using the USB port in standard mode or interrupt mode and are you taking
into account the delay that the communications might experience?

Just some thoughts




On Sat, Jun 29, 2013 at 11:03 AM, Tobias Boege  wrote:

> On Fri, 28 Jun 2013, dr.diesel wrote:
> > Thanks for the help.  That is basically what I've done, expect all I get:
> >
> > "System error #110: Connection Timed out"
> >
> > I get the same when I cat and echo, but I get the proper response then
> get
> > the error:
> >
> > [root@dev andy]# echo *IDN?>/dev/usbtmc0
> > [root@dev andy]# cat /dev/usbtmc0
> > Rigol Technologies,DSA815,DSA8A151449181,00.01.06.00.05
> > ***10 second pause 
> > cat: /dev/usbtmc0: Connection timed out
> > [root@dev andy]#
> >
> > It appears that it is waiting for more, how to I read only what's there
> then
> > exit?
> >
> > I've tried a simple Read #hDevice and a While not EOF:
> >
> >
> > Public hDevice As File
> > Public sLine As String
> >
> >
> > Public Sub Form_Open()
> >  hDevice = Open "/dev/usbtmc0" For Input Output Watch
> > End
> >
> > Public Sub File_Read()
> >   Dim iByte As Byte
> >
> >   'Read #hDevice, iByte
> >   'Print "Got one byte: "; iByte
> >   '
> >   While Not Eof(hDevice)
> > Line Input #hDevice, sLine
> > Print sLine
> >   Wend
> > End
> >
> > Many thanks, any other suggestions?
> >
>
> I have never seen this error with cat. At least we know for sure that this
> is not a Gambas problem. Did you read [0]?
>
> Regards,
> Tobi
>
> [0] http://www.spinics.net/lists/linux-usb/msg21894.html
>
>
> --
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



-- 
If you ask me if it can be done. The answer is YES, it can always be done.
The correct questions however are... What will it cost, and how long will
it take?
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Question about XML

2013-06-29 Thread Adrien Prokopowicz
Le Thu, 20 Jun 2013 13:29:13 +0200, Charlie Reinl   
a écrit:

> Salut Adrien,
>
> "Article :\ngreen peppers\ntinned tomatoes"
>
> this text saved with
>
> xml.Attribute("Text", "Article :\ngreen peppers\ntinned tomatoes")
> where xml is a XmlWriter
>
> the old XMLLib sorted thet
>
> Text="Article :
green peppers
tinned tomatoes"
>
> the new XMLLib saves it like
> Text="Article :
> green peppers
> tinned tomatoes"
>
> Now my question: is it a bug, or was it a bug.
> Just to know who makes the changes, you for all, or me in my project.
>
> Thanks anyway
>
>

Is this better with revision #5715 ?

-- 
Adrien Prokopowicz

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Issue 447 in gambas: tab key hierarchy

2013-06-29 Thread gambas
Status: New
Owner: 
Labels: Version-TRUNK Type-Bug Priority-Medium OpSys-Any Dist-Other  
Arch-Any Desktop-Any GUI-Any

New issue 447 by centurio...@gmail.com: tab key hierarchy
http://code.google.com/p/gambas/issues/detail?id=447

Hello! Greetings from Paraguay, Congratulations to Benoit for this  
wonderful project is excellent thank you very much! ...
Sorry for my poor English is not my language;
I want to report a bug in version 3.4.1 (the first time I make a bug report  
and I'm not sure how it is done) ...
When you press TAB, the application does not respect the hierarchy, does  
not traverse the controls that I have configured on my form ...
It happens on a clean form, without any code to control. The order is as  
follows within a frame as a container ...
ValueBox -> ComboBox -> TextBox -> ComboBox -> ValueBox (date format) ->  
TextArea

The "NoTabFocus" is FALSE, in all controls including the form and the  
container (frame).

 From ValBox to the ComboBox no problem, but from the combo (either) to the  
textbox or ValueBox not pass, it is as if you were making a "tab on  
KEY_PRESS STOP_EVENT". I tried without frame, with the same result.  
attached my form.

I hope that the correct way to report a bug, I apologize if not.

my system

[System]
OperatingSystem = Linux
Kernel = 3.2.0-48-generic
Architecture = x86_64
Distribution = Linux Mint 13 Maya
= GNOME Desktop
Theme = QGtk
Language = es_AR.UTF-8
Memory = 2759M

[Libraries]
GStreamer libgstreamer-0.10.so.0.30.0 =
GTK + = libgtk-x11-2.0.so.0.2400.10
Poppler = libpoppler.so.19.0.0
Qt4 = libQtCore.so.4.8.1
SDL = libSDL-1.2.so.0.11.3

Attachments:
FAhorro.class  20 bytes
FAhorro.form  5.5 KB

-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Issue 447 in gambas: tab key hierarchy

2013-06-29 Thread gambas

Comment #1 on issue 447 by centurio...@gmail.com: tab key hierarchy
http://code.google.com/p/gambas/issues/detail?id=447

Please forgive me, I'm not a programmer, I am self taught and free software  
enthusiast and I'm doing a small project for personal use, I hastened to  
write without doing extensive testing, the error is because I needed to use  
the combobox property. tag as a String [], because you can not explicitly  
assign indexes;

example, a PK field of the database, as an index of the combobox ... that's  
why I saw the need to do this trick ... I'm using cbo.tag [cbo.index] for  
the PK field value in my db.

For being my first time Sorry, sorry, sorry ... My fault.

-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user