Re: [Gambas-user] GB.JIT Crashes

2012-06-11 Thread Emil Lenngren
Yes please, how does your source code look like? Are you trying to enumerate a class? /Emil 2012/6/9 Sebastian Kulesz sebi...@gmail.com Hi! I'm getting a crash when I place the fast keyword on top of a module. The output: 19PushClassExpression gbx3: jit.h:145: virtual llvm::Value*

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

2012-06-11 Thread RICHARD WALKER
I am trying to call a DBus method which takes one parameter and returns many. The method details are: method name=GetGraph arg name=known_graph_version type=t direction=in / arg name=current_graph_version type=t direction=out / arg name=clients_and_ports type=a(tsa(tsuu)) direction=out /

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

2012-06-11 Thread gambas
Comment #6 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 Can you try to call SSL_library_init() explicitly from the Gambas code? Extern SSL_library_init() In libssl

Re: [Gambas-user] Issue 256 in gambas: When executing a project on a read-only with profiling enabled the program crashes

2012-06-11 Thread gambas
Updates: Status: Fixed Comment #2 on issue 256 by benoit.m...@gmail.com: When executing a project on a read-only with profiling enabled the program crashes http://code.google.com/p/gambas/issues/detail?id=256 Fixed in revision #4820.

Re: [Gambas-user] Issue 256 in gambas: When executing a project on a read-only with profiling enabled the program crashes

2012-06-11 Thread gambas
Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #1 on issue 256 by benoit.m...@gmail.com: When executing a project on a read-only with profiling enabled the program crashes http://code.google.com/p/gambas/issues/detail?id=256 (No comment was entered for this

Re: [Gambas-user] Issue 246 in gambas: Random DrawingArea is being drawn error when using new gridview

2012-06-11 Thread gambas
Comment #3 on issue 246 by benoit.m...@gmail.com: Random DrawingArea is being drawn error when using new gridview http://code.google.com/p/gambas/issues/detail?id=246 If, inside the Data event, you change the visibility of a control that is above the GridView, then I think you may trigger a

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

2012-06-11 Thread gambas
Comment #7 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 It worked!! I added the Extern declaration and called SSL_library_init() at Form_Open() Any ideas of why this is happening?? Thanks a lot!!

[Gambas-user] Server Socket Example

2012-06-11 Thread Demosthenes Koptsis
Hi list, i work on a server project similar to ServerSocket example and i have some questions 1) in example i see that there is the use of Tag property for the socket as Public Sub MyServerSocket_Connection(sHost As String) Obj.Tag = [$iId, 0, ] End Sub i understand that Tag[0] is

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

2012-06-11 Thread jm
Thank you Jussi. That is just fantastic example that I intend to use for new projects. The point I am trying to make should not have to become an OO v non-OO programming debate. The broadest difference is that #include and its cousins (#define, #undefine, #ifdef, #ifndef, #endif) are to do with

[Gambas-user] crypt.md5 vs md5sum

2012-06-11 Thread Demosthenes Koptsis
hello, i noticed a difference between crypt.md5 function and command md5sum. Both give different results echo password | md5sum is different from crypt.md5(password) why is that? -- Live Security Virtual Conference

Re: [Gambas-user] Issue 246 in gambas: Random DrawingArea is being drawn error when using new gridview

2012-06-11 Thread gambas
Comment #4 on issue 246 by kokok...@gmail.com: Random DrawingArea is being drawn error when using new gridview http://code.google.com/p/gambas/issues/detail?id=246 In fact, changing visibility inside the data handler may crash the application. But as soon as it closes with error, stack panel

[Gambas-user] A quicky on profiling

2012-06-11 Thread Bruce
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 shunk of the execution time. Averages would suit

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

2012-06-11 Thread jm
Hi Bruce, The broadest difference between #include (and its cousins #define, #undefine, #ifdef, #ifndef and #endif) and OO programming is that #include is a preprocessing command that gets to work long before a program gets to run. Using #include and its cousins, the idea is to build big

[Gambas-user] Possible bug in textarea foreground color

2012-06-11 Thread Ricardo Díaz Martín
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. [System] OperatingSystem=Linux Kernel=3.2.0-24-generic Architecture=x86_64 Memory=4046444 kB DistributionVendor=Ubuntu DistributionRelease=Ubuntu 12.04 LTS

[Gambas-user] chart class like charts in excel or libre office calc

2012-06-11 Thread Demosthenes Koptsis
i want to ask if there is a chart class to get some data and make charts ? -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT

[Gambas-user] sorry, no more linux avaibable

2012-06-11 Thread Dag-Jarle Johansen
I have to stay outside my usuable environment for a while. I will come back to linux and for all to gambas, but please quitt me from the mailing list for a time - I have other problems - I dont figure out how to do it All my love and regards to you

Re: [Gambas-user] crypt.md5 vs md5sum

2012-06-11 Thread Sebi
You should use echo -n to prevent it from printing a /n character. But anyway, they are different. -Original Message- From: Demosthenes Koptsis demosthen...@gmail.com Date: Mon, 11 Jun 2012 11:59:10 To: mailing list for gambas usersgambas-user@lists.sourceforge.net Reply-To: mailing

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

2012-06-11 Thread Jussi Lahtinen
I think this; object1.object_within_object.object_within_that_object.method(parameters1,..) can be avoided with good object design. I still can't see real usage for #include. Also should be noticed that new keywords are justified only if they have general usage. But after all this is decision of

Re: [Gambas-user] crypt.md5 vs md5sum

2012-06-11 Thread Adrien Prokopowicz
Le lundi 11 juin 2012 15:39:16 Sebi a écrit : You should use echo -n to prevent it from printing a /n character. But anyway, they are different. -Original Message- From: Demosthenes Koptsis demosthen...@gmail.com Date: Mon, 11 Jun 2012 11:59:10 To: mailing list for gambas

Re: [Gambas-user] crypt.md5 vs md5sum

2012-06-11 Thread Demosthenes Koptsis
even i set a prefix the result is different. and i dont know what prefix to use to have the same result with md5sum? Στις 11/6/2012 18:51, ο/η Adrien Prokopowicz έγραψε: I've already got this problem too. That's because if you don't give any prefix, a random one is used. (see

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

2012-06-11 Thread Randall Morgan
Hi Folks, Thought I would chime in on this issue. As I see it include is a pre-processing directive. It simply replaces the #include statement with the contents of an external file. This is a project management consideration and not a programming paradigm i.e. OOP, Functional, Procedural, etc..

Re: [Gambas-user] crypt.md5 vs md5sum

2012-06-11 Thread Jussi Lahtinen
The crypt algorithm is encoded in the crypt string, so you do not need to specify it. http://gambasdoc.org/help/comp/gb.crypt/crypt/check?v3 So, I don't think you can use it to get clear MD5 sums. But you can use this; Dim sPassword As String Dim sCheckSum As String sPassword = MyPassWord

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

2012-06-11 Thread gambas
Updates: Status: WontFix Comment #8 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 It's your idea! :-) You told me that SSL_library_init() must be called, but that libcurl does not do it. I just

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

2012-06-11 Thread Jussi Lahtinen
As I see it include is a pre-processing directive. It simply replaces the #include statement with the contents of an external file. This is a project management consideration and not a programming paradigm i.e. OOP, Functional, Procedural, etc.. I agree, but I think with OOP, C style

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

2012-06-11 Thread Randall Morgan
Hi Jussi, I don't think that OOP by itself replaces #includes. No more than OOP would replace SVN, CVS, Merc, etc.. Look at any reasonably sized C/C++ project and you'll see plenty of includes. I think the real issue here is the language choice. Gambas provides file management for it's projects.

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

2012-06-11 Thread tobi
On Mon, 11 Jun 2012, Jussi Lahtinen wrote: As I see it include is a pre-processing directive. It simply replaces the #include statement with the contents of an external file. This is a project management consideration and not a programming paradigm i.e. OOP, Functional, Procedural, etc..

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

2012-06-11 Thread Jussi Lahtinen
Gambas provides file management for it's projects. Using Gambas you can get file management for free by splitting a project into many classes which in Gambas results in the IDE managing these as different files. This is not necessarily the case with other OOP languages. OK, now I think I

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

2012-06-11 Thread RICHARD WALKER
With apologies to all-who-know-more-about-this-than-me (or just all)... Joe, you have a problem with managing a growing Gambas codebase and you think having an #include method in Gambas would help you cope. We are agreed that if it were added then it would operate before the compiler kicks in to

[Gambas-user] Question on distribution of Gambas3 libraries

2012-06-11 Thread Willy Raets
Current situation: If a distribute an application to end users that contain a dependent Gambas3 library I need to make these end users aware of the fact that they first need to install this library or my application would not install. This somehow seems to confuse some end users. My question to

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

2012-06-11 Thread gambas
Comment #9 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 I'm really confused, first because no one else seems to be affected by this bug. And second because curl (a terminal wrapper for libcurl) seems works

[Gambas-user] How to display a VU meter

2012-06-11 Thread Grant Taylor
Hi all, I'm currently work on my multimedia software I have got it working with both Mplayer and VLC. Is there a simple way to write code to work in with the desktop sound mixer to display a VU meter? I need to read both input and output settings to generate a visual display. My aim is monitor

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

2012-06-11 Thread RICHARD WALKER
If you were using Jack then I would suggest you simply use an existing meter such as meterbridge (http://plugin.org.uk/meterbridge/) and perhaps embed it in you Gambas program's window. That would give you the choice of DPM, analogue VU or Peak so you could pick whichever suites your layout. If