[Gambas-user] immediate pane is read-only

2014-05-18 Thread Kevin Fishburne
Hope I didn't miss this in an earlier post, but it seems with the current daily PPA build that the immediate pane doesn't allow character entry. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sa...@eightvirtues.com phone: (770) 853-6271 ---

[Gambas-user] -Inf

2014-05-18 Thread Kevin Fishburne
I have an interpolation algorithm that continually moves the "current" value toward its "target" value in increments increased by the "distance" between the current and target values. Recently when assigning random values to the target values the current values eventually become negative infini

[Gambas-user] HttpClient - Out of memory errors

2014-05-18 Thread paulwheeler
I am attempting to use the HttpClient, but keep getting these messages: hClient.Status = -1027 hClient.ErrorText = Out of memory I took the example program that comes with Gambas (HttpGet 3.0.0) and modified it to bypass the form, to make it easier to make and test changes. Some HTTP addresses

Re: [Gambas-user] Issue 525 in gambas: Application font is not displayed with all controls in gb.gtk

2014-05-18 Thread gambas
Updates: Status: Fixed Comment #2 on issue 525 by benoit.m...@gmail.com: Application font is not displayed with all controls in gb.gtk http://code.google.com/p/gambas/issues/detail?id=525 Fixed in revision #6277. -- You received this message because this project is configured to send

Re: [Gambas-user] Issue 525 in gambas: Application font is not displayed with all controls in gb.gtk

2014-05-18 Thread gambas
Updates: Status: Accepted Labels: -Version-3.5.3 Version-3.5.0 Comment #1 on issue 525 by benoit.m...@gmail.com: Application font is not displayed with all controls in gb.gtk http://code.google.com/p/gambas/issues/detail?id=525 (No comment was entered for this change.) -- You

Re: [Gambas-user] Issue 524 in gambas: "<" truncate string with gb.gtk

2014-05-18 Thread gambas
Updates: Status: Accepted Labels: -Version-3.5.3 Version-3.5.0 Comment #1 on issue 524 by benoit.m...@gmail.com: "<" truncate string with gb.gtk http://code.google.com/p/gambas/issues/detail?id=524 The text of message boxes is actually interpreted as HTML in gb.gtk. Qt decides

Re: [Gambas-user] gb.db.postgresql – These Components Are Disabled

2014-05-18 Thread Jussi Lahtinen
You can ignore those if you are not going to use them. They are not mandatory. Jussi On Sun, May 18, 2014 at 9:38 PM, gian wrote: > Hi all, > > compiling Gambas3 following the instructions Gambas Documentation I > received this > result: > > || THESE COMPONENTS ARE DISABLED: > > || - gb.db.po

Re: [Gambas-user] gb.db.postgresql – These Components Are Disabled

2014-05-18 Thread Willy Raets
On zo, 2014-05-18 at 20:38 +0200, gian wrote: > Hi all, > > compiling Gambas3 following the instructions Gambas Documentation I received > this > result: > > || THESE COMPONENTS ARE DISABLED: > > || - gb.db.postgresql libpg-dev http://packages.ubuntu.com/trusty/libpq-dev > > || - gb.gmp lib

Re: [Gambas-user] Segfault when trying to debug stack overflow

2014-05-18 Thread Benoît Minisini
Le 14/05/2014 23:22, Tobias Boege a écrit : > Hi Benoit, > > simple issue this time (I think). When my program produces a stack overflow > and I try to get the value of an argument to the overflowing stack frame, > using the IDE debugging facilities, "it" (the interpreter?) segfaults. > > Run the a

Re: [Gambas-user] System.TimeZone Error?

2014-05-18 Thread Kevin Fishburne
On 05/18/2014 08:53 AM, Jussi Lahtinen wrote: >> Note #2: this f.g daylight saving time coming out of the brains of >> crazy politicians wanting to control time and who certainly had smoked >> illegal products should burn in fire. >> > I agree. This bug report should be send to several governme

[Gambas-user] gb.db.postgresql – These Components Are Disabled

2014-05-18 Thread gian
Hi all, compiling Gambas3 following the instructions Gambas Documentation I received this result: || THESE COMPONENTS ARE DISABLED: || - gb.db.postgresql || - gb.gmp || - gb.gtk3 || - gb.jit With web suggestions and research on Synaptic I have installed these libraries: libgmp-dev libgtk

Re: [Gambas-user] Feature request: Array.Frequency

2014-05-18 Thread Emil Lenngren
Yes, Variant is slower than other native data types, as it must always examine the type of the variable when it is used. Note that you should write "avValues As Variant" instead of Variant[], since a Variant can contain any type (for example any Array). A Variant[] however is always an array conta

Re: [Gambas-user] Feature request: Array.Frequency

2014-05-18 Thread Patrik Karlsson
Ok, so the module looks like this now, is Variant slower than other native data types? Export Fast Public Function Frequency(avValues As Variant[], vValue As Variant) As Integer Dim i As Integer Dim iFrequency As Integer For i = 0 To avValues.Length - 1 If avValues[i] = vValue Then

Re: [Gambas-user] Feature request: Giving _compare() an optional user data argument

2014-05-18 Thread Benoît Minisini
Le 14/05/2014 21:38, Tobias Boege a écrit : > Hi Benoit, > > when we wanted to sort a 2d array (table) by a specific column, variable at > runtime, we did the following: > > 1. Create the class, let's call it "Record", to represent the table > records which implements a _compare() method and

Re: [Gambas-user] System.TimeZone Error?

2014-05-18 Thread ISS Boss
Benoît Minisini wrote, On 05/18/2014 08:38: Le 17/05/2014 21:55, Benoît Minisini a écrit : Le 17/05/2014 21:32, Benoît Minisini a écrit : Le 10/05/2014 17:32, Wolfgang, dl7nb a écrit : Hi, System.TimeZone is defined as follows: Return the system timezone. The returned value

Re: [Gambas-user] System.TimeZone Error?

2014-05-18 Thread Jussi Lahtinen
> Note #2: this f.g daylight saving time coming out of the brains of > crazy politicians wanting to control time and who certainly had smoked > illegal products should burn in fire. > I agree. This bug report should be send to several governments where it really belongs... Jussi

Re: [Gambas-user] Feature request: Array.Frequency

2014-05-18 Thread Emil Lenngren
For best performance, loop over index from 0 to length-1 instead of using the For Each construct. 2014-05-18 14:43 GMT+02:00 Benoît Minisini : > Le 18/05/2014 13:44, Patrik Karlsson a écrit : > > I'm converting a Java app of mine to Gambas and I could not find any > > equivalent to Java's Collec

Re: [Gambas-user] Feature request: Array.Frequency

2014-05-18 Thread Benoît Minisini
Le 18/05/2014 13:44, Patrik Karlsson a écrit : > I'm converting a Java app of mine to Gambas and I could not find any > equivalent to Java's Collections.frequency [1]. > > So I wrote this function for Integer[]: > > Private Function Frequency(aArray As Integer[], iValue As Integer) As > Integer > >

Re: [Gambas-user] System.TimeZone Error?

2014-05-18 Thread Benoît Minisini
Le 17/05/2014 21:55, Benoît Minisini a écrit : > Le 17/05/2014 21:32, Benoît Minisini a écrit : >> Le 10/05/2014 17:32, Wolfgang, dl7nb a écrit : >>> Hi, >>> System.TimeZone is defined as follows: >>> >>> Return the system timezone. >>> The returned value is the number of seconds you must

[Gambas-user] Feature request: Array.Frequency

2014-05-18 Thread Patrik Karlsson
I'm converting a Java app of mine to Gambas and I could not find any equivalent to Java's Collections.frequency [1]. So I wrote this function for Integer[]: Private Function Frequency(aArray As Integer[], iValue As Integer) As Integer Dim iCount As Integer Dim iItem As Integer For Each iI

Re: [Gambas-user] System.TimeZone Error?

2014-05-18 Thread Wolfgang, dl7nb
Am 17.05.2014 21:55, schrieb Benoît Minisini: > Le 17/05/2014 21:32, Benoît Minisini a écrit : >> Le 10/05/2014 17:32, Wolfgang, dl7nb a écrit : >>> Hi, >>> System.TimeZone is defined as follows: >>> >>> Return the system timezone. >>> The returned value is the number of seconds you mus