Re: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1196: Socket Lof returns 0 when data is available.

2017-10-04 Thread Tony Morehen
That fixes both polling and events.  Great work. and quite the turnaround! The change makes sense.  I read the original code as testing the actual, physical socket while the revised code effectively tests a virtual socket with responses buffered to the stream. Unfortunately, the fix does not

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

2017-09-28 Thread Tony Morehen
. On 2017-09-26 08:59 PM, Benoît Minisini via Gambas-user wrote: Hi, Tony. I have just pushed the 'rework-stream-interface' branch to the gitlab repository. I have reworked the internal interpreter stream interface, so that incomplete reads are retried automatically until all the da

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

2017-09-24 Thread Tony Morehen
Le 24/09/2017 à 04:07, Tony Morehen a écrit : 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 d

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

2017-09-23 Thread Tony Morehen
  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 pa

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

2017-09-23 Thread Tony Morehen
meout.  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, fo

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, DeleteM

Re: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1161: Class Editor is Locked

2017-09-05 Thread Tony Morehen
the original.  Try to add code and edit the new module etc. 4) Can the problems be related to dropbox. On 2017-09-05 09:52 AM, Fernando Cabral wrote: Tony Morehen wrote: The fact that Gambas runs properly from a vm strongly suggests that the problem is not Gambas, but is the system

Re: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1161: Class Editor is Locked

2017-09-05 Thread Tony Morehen
Fernando, The fact that Gambas runs properly from a vm strongly suggests that the problem is not Gambas, but is the system environment that Gambas is running in. What directory is your project located?  Have you tried copying the project to your home directory?  In the vm, is Gambas loading

Re: [Gambas-user] [Gambas Bug Tracker] Bug #1136: ColorButton fails with error bad drawing under gtk2 and gtk3

2017-09-02 Thread Tony Morehen
Some how I've wound up with 2 gambaswiki accounts.  I logged in with the wrong account so didn't see the remove button. On 2017-09-02 02:47 PM, Benoît Minisini wrote: Le 02/09/2017 à 20:09, Tony Morehen a écrit : Sorry, I realized after I uploaded the project that I uploaded a ver

Re: [Gambas-user] [Gambas Bug Tracker] Bug #1136: ColorButton fails with error bad drawing under gtk2 and gtk3

2017-09-02 Thread Tony Morehen
Sorry, I realized after I uploaded the project that I uploaded a version using a customized DirView.  Is there any way to delete the gbTerm I published to the Software Farm? My version of DirView has some new events and properties.  It is otherwise 100% compatible with the standard DirView.

Re: [Gambas-user] New domain name for Gambas

2017-09-01 Thread Tony Morehen
.org and .net are owned by buydomains.com, expire 5/18 On 2017-09-01 07:34 PM, PICCORO McKAY Lenz wrote: why gambas are unnavailable? how many days left to one of that domains? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-09-01 16:39 GMT-04:00 Benoît Minisini via Gambas

Re: [Gambas-user] New domain name for Gambas

2017-09-01 Thread Tony Morehen
My preference is for gambas-basic.  It would make it easier for potential visitors to find the site. another option is perhaps to take over the gambas.guru site. It seems to be well structured  but has been read only for some time. On 2017-09-01 05:13 PM, Adrien Prokopowicz wrote: I have the

Re: [Gambas-user] TerminalView1.Exec(...)

2017-09-01 Thread Tony Morehen
Your version is dated Aug 21.  Input() was added Aug 22. TerminalView has been updated quite a lot recently.  You should update to the current commit. On 2017-09-01 11:09 AM, Hans Lehmann wrote: Am 01.09.2017 um 15:05 schrieb Tony Morehen: If you're using a recent commit, you ca

Re: [Gambas-user] TerminalView1.Exec(...)

2017-09-01 Thread Tony Morehen
If you're using a recent commit, you can use hTerminalView.Input("somecommand\n") to run it automatically or don't include "\n" and press ENTER. On 2017-09-01 03:15 AM, Hans Lehmann wrote: Hello, I currently test the component gb.form.terminal with the class TerminalView. The class works as

Re: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1132: Dbus will only monitor the first declared bus for signals

2017-08-31 Thread Tony Morehen
Hans, I've uploaded gbAutoMount to the Software Farm.  It shows what you can do with Udisks2 and desktop notifications. On 2017-08-31 12:43 PM, Hans Lehmann wrote: Am 31.08.2017 um 16:40 schrieb Tony Morehen: There were issues with dbus signals that were cleared up in the recent develo

Re: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1132: Dbus will only monitor the first declared bus for signals

2017-08-30 Thread Tony Morehen
.DBus and gb.base Everything worked.  I have my daemon with a minimum of memory overhead.  Brilliant! On 2017-08-30 06:10 PM, Benoît Minisini wrote: Le 31/08/2017 à 00:07, Tony Morehen a écrit : It is indeed fixed.  Thanks Benoit! BTW is there any way to add an event loop to a console app? 

Re: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1132: Dbus will only monitor the first declared bus for signals

2017-08-30 Thread Tony Morehen
It is indeed fixed.  Thanks Benoit! BTW is there any way to add an event loop to a console app?  ie I want to use a console app as a daemon, responding to dbus signals. On 2017-08-30 03:57 PM, Benoît Minisini via Gambas-user wrote: Message transféré Sujet : [Gambas Bug Tra

Re: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1132: Dbus will only monitor the first declared bus for signals

2017-08-30 Thread Tony Morehen
Sorry, it doesn't work for me. In fact, my test program receives no signals at all. I'm working off what at the time was the latest commit, a2183117ffd8448b10008f76e7dac6eecd01cc3d I've attached the test program. To use, just insert or remove a usb drive and watch the debug messages. BTW

Re: [Gambas-user] Fwd: \r\n and \n

2017-08-27 Thread Tony Morehen
I'm having the same issue.  I have to remember to click reply to list.  Unfortunatly, memory fails all to often. On 2017-08-27 05:12 PM, Benoît Minisini via Gambas-user wrote: Le 27/08/2017 à 22:57, Jussi Lahtinen a écrit : I just realized that Benoit answered directly to me, not via the list

Re: [Gambas-user] CRYPT function - a little help please?

2017-08-24 Thread Tony Morehen
Dim userid As String Dim encrypted As String Dim cked As Boolean userid = "xcodex" encrypted = Crypt.md5(userid, "abcdefgh") cked = Crypt.Check(userid, encrypted) Print cked On 2017-08-24 06:14 PM, mikeB wrote: userid = "xcodex" Crypt.MD5(userid, "abcdefgh") cked = Crypt.Check(userid, "abcdefg

Re: [Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1134: The scrollbar in gb.form.terminal is virtually illegible against a black background.

2017-08-22 Thread Tony Morehen
I was using Breeze Dark and it was responsible for the invisible scroll bars. I've switched themes so this bug should be marked Rejected. On 2017-08-22 04:54 PM, Benoît Minisini via Gambas-user wrote: Message transféré Sujet : [Gambas Bug Tracker] Bug #1134: The scrollbar i

Re: [Gambas-user] Connect to and control LibreOffice

2017-08-22 Thread Tony Morehen
You're not fixing TerminalView's Paste? On 2017-08-22 11:46 AM, Benoît Minisini via Gambas-user wrote: Le 22/08/2017 à 17:35, Fabien Bodard a écrit : hum or this :-) ... on the road... And as I just fixed the TerminalView control, you can even finish the gb.term.form component. :-) -

Re: [Gambas-user] [Gambas Bug Tracker] Bug #1133: Paste doesn't work in gb.form.terminal

2017-08-20 Thread Tony Morehen
/merge_requests, On 2017-08-20 03:44 PM, PICCORO McKAY Lenz wrote: tony, the answers to "bugtraker" are not traked.. you must enter in the bug url and paste the respnse here.. and will be usefully the url of the merge url request to able others track the help/colaboration Lenz McKAY Gerardo (PIC

Re: [Gambas-user] Class Implementing DBus Notifications

2017-08-20 Thread Tony Morehen
I saw that. As far as I could tell, it's identical to the gnome discussion. Including having the hints category and urgency discussion before the hints chapter! On 2017-08-20 12:06 PM, adamn...@gmail.com wrote: On Sun, 20 Aug 2017 11:37:38 -0400 Tony Morehen wrote: 1) I tried to

Re: [Gambas-user] More DBus queries - signals

2017-08-20 Thread Tony Morehen
I see nothing amiss in your code. This is the code I use for a DbusObject. It is used to control a desktop menu application. Note the event declaration. DbusObject is missing, but implicit to the class. I raise the event the same way you do: DBus.Raise(hDbusObj, "org.ajmconsulting.gbme

Re: [Gambas-user] Class Implementing DBus Notifications

2017-08-20 Thread Tony Morehen
mounted. I use 2 separate notifications because mounting can take some time. Anyway, attached is a revised class. On 2017-08-20 10:19 AM, adamn...@gmail.com wrote: Thanks, for that Tony, some good stuff in there (the least of which is that damned "hints" collection!) Since my origi

Re: [Gambas-user] [Gambas Bug Tracker] Bug #1133: Paste doesn't work in gb.form.terminal

2017-08-20 Thread Tony Morehen
I submitted a merge request on Gitlab to fix this bug. On 2017-08-10 11:21 PM, bugtrac...@gambaswiki.org wrote: http://gambaswiki.org/bugtracker/edit?object=BUG.1133&from=L21haW4- Tony MOREHEN reported a new bug. Summary --- Paste doesn't work in gb.form.terminal Type

[Gambas-user] Class Implementing DBus Notifications

2017-08-20 Thread Tony Morehen
As promised, attached is a heavily commented class implementing DBus Notifications. It is a complete implementation of the specification. There are two approaches to using the class: 1) fill in the properties and call SendNotification: Dim hDbusNotify As New DbusNotify hDbusN

Re: [Gambas-user] Mailinglist

2017-08-19 Thread Tony Morehen
What about using nabble itself? On 2017-08-19 03:25 PM, Jussi Lahtinen wrote: 1) Google groups are not a mailing-list. I want mails, so that I can have every post in my mail client and read them without Internet. They are if you want. That is exactly how I use google groups. I never use the w

Re: [Gambas-user] Git compilation report

2017-08-18 Thread Tony Morehen
I'd recommend for a very clean make: cd gambasdevel sudo make uninstall'really only needed on a version change or your compilation is likely 'to include different ie fewer components make clean 'get rid of all the generated or backup cru

Re: [Gambas-user] Balloons, everywhere but when I don't want them.

2017-08-18 Thread Tony Morehen
ote: This could perhaps implemented into the gb.Desktop component as 'Desktop.Notify()'? Den 18.08.2017 16:15, skrev Tobias Boege: On Fri, 18 Aug 2017, Tony Morehen wrote: Gambas can talk to the notifications daemon via Dbus. I use this code: Private Notif

Re: [Gambas-user] Balloons, everywhere but when I don't want them.

2017-08-18 Thread Tony Morehen
the Notifications signal is never called. I've opened a bug report (1132) on this issue. On 2017-08-18 10:05 AM, Tony Morehen wrote: Gambas can talk to the notifications daemon via Dbus. I use this code: Private NotifyInterface As String = "org.freedesktop.Notifications" Priva

Re: [Gambas-user] Balloons, everywhere but when I don't want them.

2017-08-18 Thread Tony Morehen
Gambas can talk to the notifications daemon via Dbus. I use this code: Private NotifyInterface As String = "org.freedesktop.Notifications" Private NotifyApp As String = "session://" & NotifyInterface Private NotifyPath As String = "/" & Replace(NotifyInterface, ".", "/") 'does the daemon suppor

Re: [Gambas-user] How to stop a control raising events?

2017-08-13 Thread Tony Morehen
Careful, though, Object.Lock inhibits all events associated with a control, including events from internal controls. For example, DirView has an internal TreeView control. When you click on a folder or set the Current property in code, DirView tells the TreeView to expand that branch. TreeV

Re: [Gambas-user] A couple of ?s about encryption

2017-08-13 Thread Tony Morehen
Don't use .hidden. There is nothing secure about and its only used by the development/installation environments. Hidden directories in general do nothing for security. Don't worry about open source/GNU. All encryption programs use the same well known algorithms. It's passwords that guarant

Re: [Gambas-user] Gambas ML problem

2017-08-09 Thread Tony Morehen
I haven't seen them either but nabble shows "This post has NOT been accepted by the mailing list yet." for all three posts. On 2017-08-09 01:25 PM, Gianluigi wrote: I do not understand. Does it mean that you see here [0] mails sent in the last few days? Who received Charlie's email [1] or In

Re: [Gambas-user] [CRASH REPORT] gbUDisk2

2017-08-07 Thread Tony Morehen
On 2017-08-07 09:52 AM, Benoît Minisini wrote: Le 07/08/2017 à 15:02, Adrien Prokopowicz a écrit : Le Sun, 06 Aug 2017 17:56:27 +0200, Tony Morehen a écrit: Hello all, Damn, my program crashed Gambas this way : 1) Run the program 2) Plug in a usb drive 3) Click the mount button, mounts OK 4) Click t

Re: [Gambas-user] Shell command formating

2017-08-07 Thread Tony Morehen
Try changing command to: command = "stm8flash -c stlinkv2 -p " & stmdevice & " -w " & path & " 2>1" On 2017-08-06 09:52 PM, Shane wrote: command = "stm8flash -c stlinkv2 -p " & stmdevice & " -w " & path -- Check ou

Re: [Gambas-user] Shell command

2017-08-07 Thread Tony Morehen
Shane, I can reproduce your crash here on 3.9.2. It's cause is the line: Settings["Options/stmDevice"] = ComboBox1.Current If that line is changed to: Settings["Options/stmDevice"] = ComboBox1.Current.Text or the simpler, and in my mind preferred: Settings["Options/stmDevice"] = ComboBox1.T

Re: [Gambas-user] Shell command

2017-08-06 Thread Tony Morehen
what is the output of the shell line? If you could post the complete output, we could properly test your code. You could try this line: devices = Split(sdevices, " ", "", True) On 2017-08-06 08:35 PM, Shane wrote: Hi Jussi I gave that a try by commenting that line out still the same result

Re: [Gambas-user] Difference DateDiff(...) ?

2017-08-06 Thread Tony Morehen
tude adjustment" in these cases: It may need to either raise an overflow error or return a 64bit Long. Hope this helps, zxMarce. On Aug 6, 2017, 12:00, at 12:00, Tony Morehen wrote: zxMarce, you are exactly right. DateDiff returns an integer so when print adds the two datediff it adds 2 sign

[Gambas-user] [CRASH REPORT] gbUDisk2

2017-08-06 Thread Tony Morehen
Hello all, Damn, my program crashed Gambas this way : 1) Run the program 2) Plug in a usb drive 3) Click the mount button, mounts OK 4) Click the unmount button Program crashes Aborted(6) Console shows realloc error invalid old size Background: I'm writing a Udisks2 module that communicates wit

Re: [Gambas-user] Difference DateDiff(...) ?

2017-08-06 Thread Tony Morehen
zxMarce, you are exactly right. DateDiff returns an integer so when print adds the two datediff it adds 2 signed integers and gets an signed integer. Since the max value of a signed integer is 2147483647, the answer of 2208988800 overflows to -2085978496. So print's behaviour is as expected.

Re: [Gambas-user] why this could not be? error in runtime?

2017-07-28 Thread Tony Morehen
; fn("(foo)xx") do you want "(foo)" or "(foo" or "(foo)x" yours returns "(foo)x" fn("(foo)xxx") do you want "(foo)" or "(foo" or "(foo)x" or "(foo)xx" yours returns "(foo)xx" Let's

Re: [Gambas-user] why this could not be? error in runtime?

2017-07-28 Thread Tony Morehen
It's difficult to say for sure what's happening without Piccaro's test strings. However, 2 things do come to mind. First, according to Gambas doc, InStr(strinchar, ")", -n) does a left to right search for ")", starting at -n characters from the end of strinchar. So if Instr doesn't find ")"

Re: [Gambas-user] Trouble with CSVFile Component

2017-07-27 Thread Tony Morehen
Did you add gb.utils component to your project? Project->Properties->Components & check gb.utils On 2017-07-27 07:10 PM, markwalt wrote: Hi guys, I'm trying to write a very simple program that pulls in one CSV File, and spits out another, based on what's inside the file. I see from the Wiki

Re: [Gambas-user] Weather app in Software Farm

2017-07-27 Thread Tony Morehen
Hi Charlie, I just published a new version of gbWeather. Changes include: 1) No editing is done to the location name, except for the Trim() you suggested. 2) LocationID is now used for both OpenWeather and Yahoo Weather lookups. That means changes to location after the locationid has been

Re: [Gambas-user] reading files

2017-07-20 Thread Tony Morehen
Audio or development On 2017-07-20 02:40 PM, Hans Lehmann wrote: Am 20.07.2017 um 20:27 schrieb Tony Morehen: I've uploaded the class with a short command line demo to the software farm. Hello Tony, under which heading can I find the class in the software farm? H

Re: [Gambas-user] reading files

2017-07-20 Thread Tony Morehen
I've uploaded the class with a short command line demo to the software farm. On 2017-07-20 12:22 PM, Gianluigi wrote: Hi Tony, Sorry if i answered instead of you, but I did not understand who the question was for :-( Regards Gianluigi 2017-07-20 15:35 GMT+02:00 Tony Morehen : It

Re: [Gambas-user] reading files

2017-07-20 Thread Tony Morehen
bytes i can see that tony didn't right it i should of said did he convert it to gambas ? i think this should be in the farm ? On 20/07/17 21:04, Gianluigi wrote: 2017-07-20 12:09 GMT+02:00 Shane : yep can't use structs have to do like tony's code works perfect thanks again

Re: [Gambas-user] [Gambas Bug Tracker] Bug #1128: Message.Question should return -1 on cancel

2017-07-19 Thread Tony Morehen
That is the documented behaviour: All Message functions can have up to three buttons: * The first button is always the default button. * The last button is always the cancel button. On 2017-07-19 09:20 AM, bugtrac...@gambaswiki.org wrote: http://gambaswiki.org/bugtracker/edit?objec

Re: [Gambas-user] reading files

2017-07-19 Thread Tony Morehen
I've attached an archive containing the code I use to read v1 and v2 MP3 tags and other MP3 info including bitrates (fixed and VBR), sampling rates and number of channels. v1 tags are pretty staightforward to read if you don't try to read the structure directly, but by each element of the stru

Re: [Gambas-user] Pre-release of Gambas 3.10.0

2017-07-18 Thread Tony Morehen
I'll compile and start using it right away. In the meantime, a feature request: Currently, a menu item with children does nothing before displaying its child menu items. I propose that the parent menu raise a click event before displaying its children. This would allow you to show/not show

Re: [Gambas-user] Weather app in Software Farm

2017-07-16 Thread Tony Morehen
-mint-17-3 I haven't been able to test since I'm running Manjaro. What version of Mint are you using : Cinnamon, Mate Xfce? 17.? 18.? On 2017-07-15 09:39 AM, Charlie wrote: Tony Morehen wrote I just uploaded a Weather systray app to the software farm. Comments/suggestions welcome.

Re: [Gambas-user] My quest for efficiency

2017-07-15 Thread Tony Morehen
Did you try Benoit's suggestion: Public Sub Main() Dim sIn as String Dim sOut as String sIn = File.Load("/home/fernando/temp/deah001.dhn") sOut = Add11(sIn) File.Save("/home/fernando/temp/deah001.11Added.dhn", sOut) End Public Sub Add11(InputString as String) as String Dim bArray

[Gambas-user] Weather app in Software Farm

2017-07-14 Thread Tony Morehen
I just uploaded a Weather systray app to the software farm. Comments/suggestions welcome. Enjoy. -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/sl

Re: [Gambas-user] What is the simplest way to display text properties in Gambas?

2017-07-06 Thread Tony Morehen
Basically, assign some simple HTML to the text property. Not sure what comprises simple HTML though. ie TextLabel1.Text="Bold not bold" Seelhttp://gambaswiki.org/wiki/comp/gb.qt4/textlabel On 2017-07-06 12:43 PM, Fernando Cabral wrote: Based on the image you've sent a link to, I have not be

Re: [Gambas-user] Mystery with file.load and regexp

2017-07-04 Thread Tony Morehen
File.Load is working fine. It is just loading a file that has a trailing "\n". Split then adds an empty string as the last entry in the array. This is Split's documented behaviour. Adding the True option suppresses empty entries. Note that Split will also add an empty entry for any blank l

Re: [Gambas-user] New Editor Side Bar

2016-12-18 Thread Tony Morehen
Thanks for the info, Benoit. I'm still learning all of Gambas' nuances. BTW, I am using string.instr. On December 18, 2016 3:43:07 AM EST, "Benoît Minisini" wrote: >Le 18/12/2016 à 05:52, Tony Morehen a écrit : >> Fabian, it looks great and works like a charm.

Re: [Gambas-user] New Editor Side Bar

2016-12-17 Thread Tony Morehen
Fabian, it looks great and works like a charm. By the way, I'm working on text editor which would benefit from a couple of minor changes to the text editor component. Could you make $hDoc.Lines a read/write property of TextEditor and $hDoc.LineLength a read only property? I working on a searc

Re: [Gambas-user] Arrays of Structs

2016-11-29 Thread Tony Morehen
I may just be responding to a typo but your struct is named MapObjec while the code using it refers to MapObject. On 28/11/16 10:40 PM, Cam Era wrote: > I expect I'm trying to do something that's not possible with Gambas, but > I'll ask this anyway. > > I'm trying to create an n x n array of a S

Re: [Gambas-user] [Gambas Bug Tracker] Bug #973: Desktop.RunAsRoot(): file or directory doesn't exist

2016-08-05 Thread Tony Morehen
Try adding the full path to chmod or cat. On 8/5/2016 5:00 PM, bugtrac...@gambaswiki.org wrote: > http://gambaswiki.org/bugtracker/edit?object=BUG.973&from=L21haW4- > > Comment #2 by vuott VUOTT: > >> Desktop.RunAsRoot requires the command to be written between the brackets. > Yes, I know it. > >

[Gambas-user] reconf error for r7786 trunk

2016-05-24 Thread Tony Morehen
I ran reconf-all which quits with: autoreconf: configure.ac: adding subdirectory gb.httpd to autoreconf autoreconf: Entering directory `gb.httpd' aclocal: installing 'm4/libtool.m4' from '/usr/share/aclocal/libtool.m4' aclocal: installing 'm4/ltoptions.m4' from '/usr/share/aclocal/ltoptions.m4' ac

Re: [Gambas-user] Financial program

2009-12-14 Thread Tony
nuCash for personal accounting for some time. The double entry bit and UI are a little clunky for my basic needs, but in the end it works. I'm think you can use it for billing and you can tailor reports etc in guile, so it may be worth a look. Source code should be available since it is GP

Re: [Gambas-user] serial port

2009-12-09 Thread Tony
apter is plugged a symbolic link is created to the appropriate tty. In my case /dev/ttyATEN0 -> /dev/ttyUSB0-4. The adapter can then be addressed from Gambas as /dev/ttyATEN0. [14]http://www.reactivated.net/writing_udev_rules.html Hope this helps, Tony. References

Re: [Gambas-user] Serial Port Change Events Not Working after Upgrade to Karmic

2009-12-06 Thread Tony
y this has been fixed, it would seem to be another plus. Regards, Tony. -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions f

Re: [Gambas-user] Serial Port Change Events Not Working after Upgrade to Karmic

2009-12-02 Thread Tony
Benoit, Here is the output of valgrind as requested. I hope it helps. Regards, Tony.. $ valgrind --tool=memcheck --num-callers=50 gbx2 ==2404== Memcheck, a memory error detector ==2404== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. ==2404==

Re: [Gambas-user] Serial Port Change Events Not Working after Upgrade to Karmic

2009-12-02 Thread Tony
Thanks and regards, Tony.. Benoît Minisini wrote: Thanks Benoit and all for your speedy replies.. I'm using the serial port in a timing application with 3 laser through beam sensors feeding into the CTS, RI and DSR lines of the serial port. In this mode I don't pass any data

Re: [Gambas-user] Serial Port Change Events Not Working after Upgrade to Karmic

2009-12-01 Thread Tony
oing back to polling, a property to define the frequency would be nice. Thanks again, Tony. Benoît Minisini wrote: Thanks for the suggestion Ricardo. I have already compiled G2.18 from source onto Ubuntu 9.04. The application was working fine on Ubuntu 9.04 with G2.8 but fails w

Re: [Gambas-user] Serial Port Change Events Not Working after Upgrade to Karmic

2009-12-01 Thread Tony
binary on Ubuntu 9.10 which doesn't work). Regards, Tony.. Ricardo Díaz Martín wrote: Tony, Try to compile gambas2 again. I got similar problem with apps after upgrade ubuntu from 9.04 yo 9.10 and it was necessary to do this: sudo apt-get install build-essential autoconf libbz

[Gambas-user] Serial Port Change Events Not Working after Upgrade to Karmic

2009-12-01 Thread Tony
Hi, I have a Gambas2 application (gb.qt) checking for status change events on the CTS, RI and DSR signals (SerialPort-gb.net class) of a USB to serial converter (Prolific pl2303) which works fine on Ubuntu 9.04 (Gambas2 2.8 and kernel 2.6.28-16-generic 32bit). After upgrade to Ubuntu 9.10 (Gam