Re: [Gambas-user] Issue 236 in gambas: gb.net.curl fails to connect using https

2012-06-12 Thread gambas
Comment #12 on issue 236 by sebi...@gmail.com: gb.net.curl fails to connect using https http://code.google.com/p/gambas/issues/detail?id=236 Works like a charm. Thanks a lot!! -- Live Security Virtual Conference Exclu

Re: [Gambas-user] Possible bug in textarea foreground color

2012-06-12 Thread Benoît Minisini
Le 12/06/2012 21:48, Ricardo Díaz Martín a écrit : > Opps, here it goes! > OK. Bug fixed in revision #4825. Regards, -- Benoît Minisini -- Live Security Virtual Conference Exclusive live event will cover all the ways t

Re: [Gambas-user] Possible bug in textarea foreground color

2012-06-12 Thread Ricardo Díaz Martín
Opps, here it goes! 2012/6/12 Benoît Minisini > Le 11/06/2012 12:17, Ricardo Díaz Martín a écrit : > > Hi, > > > > Try to exec this sample and you can see the text inside textarea is not > > "green". If you select this, then it changes to green. > > Which sample? > > -- > Benoît Minisini > > >

Re: [Gambas-user] C like #include for Gambas

2012-06-12 Thread tobi
On Tue, 12 Jun 2012, Rolf-Werner Eilert wrote: > Am 12.06.2012 13:41, schrieb Benoît Minisini: > > Le 12/06/2012 13:01, jm a écrit : > >> On Tue, 2012-06-12 at 12:03 +0200, Rolf-Werner Eilert wrote: > You already have at your disposal a program which fully understands > what to do with #i

Re: [Gambas-user] Transparent expander container and and problem to resize a very height form in the IDE

2012-06-12 Thread Benoît Minisini
Le 10/06/2012 11:07, Ricardo Díaz Martín a écrit : > Hi, > > Please note that maybe is a Ubuntu Unity problem. I'm using ubuntu 12.04 > with Unity-2d to test it. > > After the expanders in the IDE were set to transparent, if you got a a form > in the ide higher than your screen view, you can't redu

Re: [Gambas-user] Calling dbus method:how do I handle return values

2012-06-12 Thread Benoît Minisini
Le 10/06/2012 03:20, RICHARD WALKER a écrit : > I am trying to call a DBus method which takes one parameter and > returns many. The method details are: name="known_graph_version" type="t" direction="in" /> name="current_graph_version" type="t" direction="out" /> name="clients_and_ports" type="a

Re: [Gambas-user] Possible bug in textarea foreground color

2012-06-12 Thread Benoît Minisini
Le 11/06/2012 12:17, Ricardo Díaz Martín a écrit : > Hi, > > Try to exec this sample and you can see the text inside textarea is not > "green". If you select this, then it changes to green. Which sample? -- Benoît Minisini

Re: [Gambas-user] How to display a VU meter

2012-06-12 Thread RICHARD WALKER
On 12/06/2012, Grant Taylor wrote: > reinvent the wheel. I have put together a Media viewer program in Gambas > using the Mplayer plug-in. I need to display two channel VU meter > display within this viewer. If you want to use volume unit metering then the best place I can think of to find out ho

Re: [Gambas-user] C like #include for Gambas

2012-06-12 Thread Benoît Minisini
> Le 12/06/2012 16:30, jm a écrit : >> >> Any chance of exporting IDE's highlighted code as colorful HTML >> for documentation purposes? >> As for that, it is not very difficult to implement, as you have access to the internal Gambas highlighter through the gb.eval component. I will see if I can

Re: [Gambas-user] Issue 236 in gambas: gb.net.curl fails to connect using https

2012-06-12 Thread gambas
Updates: Status: Fixed Comment #11 on issue 236 by benoit.m...@gmail.com: gb.net.curl fails to connect using https http://code.google.com/p/gambas/issues/detail?id=236 Curl initialization has been fixed in revision #4823. Tell me if now things work correctly for you. ---

Re: [Gambas-user] C like #include for Gambas

2012-06-12 Thread Benoît Minisini
Le 12/06/2012 16:30, jm a écrit : > > I take it that is a definite no then? :-) > > If I'm really under pressure, then I'm sure I can go > write a lite preprocessor as needed and manage. > > Any chance of exporting IDE's highlighted code as colorful HTML > for documentation purposes? > > Thank you,

Re: [Gambas-user] C like #include for Gambas

2012-06-12 Thread RICHARD WALKER
Do you need the syntax highlighting to be baked in? Can you not just use Kate (in KDE) or Gedit with a suitable set of rules for their existing highlighting mechanisms? I remember a few years ago when I was using Gambas in a project for my night-class in software engineering I was able to get synt

Re: [Gambas-user] C like #include for Gambas

2012-06-12 Thread jm
> Yes, automatic completion would mean browsing all #included files each > time to search for keywords, but how do IDEs for C programming handle this? Netbeans and Eclipse do handle it 'reasonably' well. __ This messa

Re: [Gambas-user] C like #include for Gambas

2012-06-12 Thread Randall Morgan
I don't know about Gambas but Python has many libraries for this. Just google it. If you insist on pre-processing, a simple python script could get it done quickly. I'm a firm believer in using the tool that makes the most sense for the project. Of course, that depends on the person and project

Re: [Gambas-user] C like #include for Gambas

2012-06-12 Thread jm
On Tue, 2012-06-12 at 13:41 +0200, Benoît Minisini wrote: > Le 12/06/2012 13:01, jm a écrit : > > On Tue, 2012-06-12 at 12:03 +0200, Rolf-Werner Eilert wrote: > >>> You already have at your disposal a program which fully understands > >>> what to do with #include (and all the other pre-processor di

Re: [Gambas-user] C like #include for Gambas

2012-06-12 Thread Rolf-Werner Eilert
Am 12.06.2012 13:41, schrieb Benoît Minisini: > Le 12/06/2012 13:01, jm a écrit : >> On Tue, 2012-06-12 at 12:03 +0200, Rolf-Werner Eilert wrote: You already have at your disposal a program which fully understands what to do with #include (and all the other pre-processor directives w

Re: [Gambas-user] C like #include for Gambas

2012-06-12 Thread Rolf-Werner Eilert
Am 12.06.2012 13:41, schrieb Benoît Minisini: > Le 12/06/2012 13:01, jm a écrit : >> On Tue, 2012-06-12 at 12:03 +0200, Rolf-Werner Eilert wrote: You already have at your disposal a program which fully understands what to do with #include (and all the other pre-processor directives w

Re: [Gambas-user] Issue 236 in gambas: gb.net.curl fails to connect using https

2012-06-12 Thread gambas
Updates: Status: Accepted Comment #10 on issue 236 by benoit.m...@gmail.com: gb.net.curl fails to connect using https http://code.google.com/p/gambas/issues/detail?id=236 I see now. It's just that gb.net.curl does not initialize the curl library correctly! Sorry if I didn't see that s

Re: [Gambas-user] A quicky on profiling

2012-06-12 Thread Benoît Minisini
Le 11/06/2012 16:21, Bruce a écrit : > I note that the average durations have been commented out of the > profiling UI. > > Is there any reason for that? > > I only ask because I'm looking at a project here that makes over 40,000 > calls to a routine and obviously that represents a considerable sh

Re: [Gambas-user] C like #include for Gambas

2012-06-12 Thread Benoît Minisini
Le 12/06/2012 13:01, jm a écrit : > On Tue, 2012-06-12 at 12:03 +0200, Rolf-Werner Eilert wrote: >>> You already have at your disposal a program which fully understands >>> what to do with #include (and all the other pre-processor directives >>> which have been mentioned). Have you tried it out yet

Re: [Gambas-user] C like #include for Gambas

2012-06-12 Thread jm
On Tue, 2012-06-12 at 12:03 +0200, Rolf-Werner Eilert wrote: > > You already have at your disposal a program which fully understands > > what to do with #include (and all the other pre-processor directives > > which have been mentioned). Have you tried it out yet? > > > > Is it possible to insert

[Gambas-user] How to display a VU meter

2012-06-12 Thread Grant Taylor
Hi Richard, I have looked a the jack audio stuff, It looks like I will need to reinvent the wheel. I have put together a Media viewer program in Gambas using the Mplayer plug-in. I need to display two channel VU meter display within this viewer. Do know of any examples of code that will do t

[Gambas-user] R: Array with multiple types of vars

2012-06-12 Thread Ru Vuott
> > i want to create an array like > [Integer, Integer, String, Boolean, String] > > How can i do that? > > - You could use a Structure type array variable: Public Struct miaStruttura a As Integer b As Integer c As S

Re: [Gambas-user] C like #include for Gambas

2012-06-12 Thread Rolf-Werner Eilert
> You already have at your disposal a program which fully understands > what to do with #include (and all the other pre-processor directives > which have been mentioned). Have you tried it out yet? > Is it possible to insert the C pre-processor into the Play-Button function of the Gambas IDE, ma

Re: [Gambas-user] GB.JIT Crashes

2012-06-12 Thread Sebi
The source can be found here: http://bazaar.launchpad.net/~sebikul/mundus/trunk/view/head:/.src/Main.module Let me know if you need more info! Thanks!! -Original Message- From: Emil Lenngren Date: Sun, 10 Jun 2012 01:06:19 To: mailing list for gambas users Reply-To: mailing list for

Re: [Gambas-user] C like #include for Gambas

2012-06-12 Thread jm
Richard, You got same ideas I got! I was going to write a gambas program to do the preprocessing, but backed off because the issue then became which programs do you maintain? The expanded ones that the IDE can run or the compact ones edited in a text editor without highlighting. Lack of highligh

Re: [Gambas-user] Array with multiple types of vars

2012-06-12 Thread Emil Lenngren
You can create a Variant[] that can contain arbitrary data types. You can store a reference to that array both in a .Tag field, and some other global variable. Public MyArray As Variant[] and in your code: MyArray = [1, 2, "yeah"] something.Tag = MyArray 2012/6/12, Bruce : > On Tue, 2012-06-12 a

Re: [Gambas-user] Array with multiple types of vars

2012-06-12 Thread Bruce
On Tue, 2012-06-12 at 09:38 +0300, Demosthenes Koptsis wrote: > Hi, > > in server socket example i see that we use the Tag property as an array > > i changed it a while >Obj.Tag = [$iId, 0, "", False, sHost] 'Client id, Data id, Data, > Valid Client, Remote Ip > > My question is, can i