Re: [Gambas-user] gb3: using array of structures with dimensions unknown until runtime

2012-07-04 Thread Emil Lenngren
When you are declaring the array by writing A[3] As Single you declare an inline array, i.e. NOT a reference to an array. So you cannot write ThatStruct.A = AnArray. Instead you have to copy the contents from AnArray into A. 2012/7/4 Kevin Fishburne kevinfishbu...@eightvirtues.com On 07/04/2012

Re: [Gambas-user] Issue 265 in gambas: New connection with password causes Gambas crash.

2012-07-04 Thread gambas
Comment #3 on issue 265 by green.da...@gmail.com: New connection with password causes Gambas crash. http://code.google.com/p/gambas/issues/detail?id=265 Unless I am mistaken, gb.desktop relies on xdg-utils to report the desktop currently in use. The more I dig into this the more it looks

Re: [Gambas-user] Issue 265 in gambas: New connection with password causes Gambas crash.

2012-07-04 Thread gambas
Comment #4 on issue 265 by benoit.m...@gmail.com: New connection with password causes Gambas crash. http://code.google.com/p/gambas/issues/detail?id=265 Can you send me the result of the set command run in a terminal emulator inside a Mate session? I think that the Gnome environment

Re: [Gambas-user] Issue 265 in gambas: New connection with password causes Gambas crash.

2012-07-04 Thread gambas
Comment #5 on issue 265 by green.da...@gmail.com: New connection with password causes Gambas crash. http://code.google.com/p/gambas/issues/detail?id=265 Here is the file you requested. Attachments: set-output.txt 356 KB

Re: [Gambas-user] Issue 265 in gambas: New connection with password causes Gambas crash.

2012-07-04 Thread gambas
Comment #6 on issue 265 by benoit.m...@gmail.com: New connection with password causes Gambas crash. http://code.google.com/p/gambas/issues/detail?id=265 OK, thanks. Now can you tell me if Mate uses the standard Gnome applications (gnome-terminal, nautilus...) or use something else?

Re: [Gambas-user] Issue 265 in gambas: New connection with password causes Gambas crash.

2012-07-04 Thread gambas
Comment #7 on issue 265 by green.da...@gmail.com: New connection with password causes Gambas crash. http://code.google.com/p/gambas/issues/detail?id=265 On my system it is using MATE terminal 1.2.1, and CAJA 1.2.1 --

Re: [Gambas-user] Issue 265 in gambas: New connection with password causes Gambas crash.

2012-07-04 Thread gambas
Comment #8 on issue 265 by green.da...@gmail.com: New connection with password causes Gambas crash. http://code.google.com/p/gambas/issues/detail?id=265 Caja is the MATE file manager, based on Nautilus 2.32. -- Live

Re: [Gambas-user] Issue 265 in gambas: New connection with password causes Gambas crash.

2012-07-04 Thread gambas
Updates: Status: Started Comment #9 on issue 265 by benoit.m...@gmail.com: New connection with password causes Gambas crash. http://code.google.com/p/gambas/issues/detail?id=265 Are things better with revision #4895?

Re: [Gambas-user] Issue 264 in gambas: Gambas 3.2.0 IDE not work in Ubuntu 12.10

2012-07-04 Thread gambas
Updates: Status: WontFix Comment #8 on issue 264 by benoit.m...@gmail.com: Gambas 3.2.0 IDE not work in Ubuntu 12.10 http://code.google.com/p/gambas/issues/detail?id=264 OK, so I will close the issue. We should reopen it if we get the same problem when the stable Ubuntu 12.10 is

Re: [Gambas-user] Issue 263 in gambas: The TextBox will remain always in the foreground.

2012-07-04 Thread gambas
Updates: Status: NeedsInfo Labels: -Version Version-3.2.0 Comment #2 on issue 263 by benoit.m...@gmail.com: The TextBox will remain always in the foreground. http://code.google.com/p/gambas/issues/detail?id=263 There is a problem with GTK+, that sometimes uses an X11 window for

Re: [Gambas-user] Issue 265 in gambas: New connection with password causes Gambas crash.

2012-07-04 Thread gambas
Comment #10 on issue 265 by green.da...@gmail.com: New connection with password causes Gambas crash. http://code.google.com/p/gambas/issues/detail?id=265 Sorry, new at this. I'm not sure what that link means, plus it gives a 404 error. Am I missing something?

Re: [Gambas-user] Issue 265 in gambas: New connection with password causes Gambas crash.

2012-07-04 Thread gambas
Comment #11 on issue 265 by emil.len...@gmail.com: New connection with password causes Gambas crash. http://code.google.com/p/gambas/issues/detail?id=265 Google code thinks Gambas uses Google Code instead of Source Forge as code repository. What you should do is read this:

Re: [Gambas-user] gb3: using array of structures with dimensions unknown until runtime

2012-07-04 Thread Kevin Fishburne
On 07/04/2012 05:42 AM, Emil Lenngren wrote: When you are declaring the array by writing A[3] As Single you declare an inline array, i.e. NOT a reference to an array. So you cannot write ThatStruct.A = AnArray. Instead you have to copy the contents from AnArray into A. I'm not sure how to

Re: [Gambas-user] gb3: using array of structures with dimensions unknown until runtime

2012-07-04 Thread tobi
On Wed, 04 Jul 2012, Kevin Fishburne wrote: On 07/04/2012 05:42 AM, Emil Lenngren wrote: When you are declaring the array by writing A[3] As Single you declare an inline array, i.e. NOT a reference to an array. So you cannot write ThatStruct.A = AnArray. Instead you have to copy the

Re: [Gambas-user] gb3: using array of structures with dimensions unknown until runtime

2012-07-04 Thread Benoît Minisini
Le 04/07/2012 06:06, Kevin Fishburne a écrit : I need to create a 2D array of a structure like this: Public Struct Tile_Normals A[3] As Single ' Normal for quad subsurface A. B[3] As Single ' Normal for quad subsurface B. End Struct Dim Normals As New Tile_Normals[TileGrid.Size,

Re: [Gambas-user] More on overriding native classes

2012-07-04 Thread Benoît Minisini
Le 04/07/2012 07:55, Fabien Bodard a écrit : why if the class have the same name of an existing one you not just ignore the 'inherit' keyword, Benoit ? Because the compiler does not know that a class with the same name already exists at compile time. -- Benoît Minisini

Re: [Gambas-user] Issue 268 in gambas: Can call non-static _unknown from a static context

2012-07-04 Thread gambas
Comment #7 on issue 268 by emil.len...@gmail.com: Can call non-static _unknown from a static context http://code.google.com/p/gambas/issues/detail?id=268 Some more things: * What should happen if _property is static but _unknown is dynamic or vice versa? ;) This code: Static Public Function

Re: [Gambas-user] Issue 265 in gambas: New connection with password causes Gambas crash.

2012-07-04 Thread gambas
Comment #12 on issue 265 by green.da...@gmail.com: New connection with password causes Gambas crash. http://code.google.com/p/gambas/issues/detail?id=265 Followed all the instructions. Compiling gives a couple of errors and cannot complete. I have included the output.txt file for your

Re: [Gambas-user] gb3: using array of structures with dimensions unknown until runtime

2012-07-04 Thread Emil Lenngren
As Benoît says, Dim Normals As New Tile_Normals[TileGrid.Size, TileGrid.Size] only gives an array where you can store references to Tile_Normals. You also have to do: Dim I As Integer Dim J As Integer For I = 0 To TileGrid.Size - 1 For J = 0 To TileGrid.Size - 1 Normals[I, J] = New

Re: [Gambas-user] Issue 268 in gambas: Can call non-static _unknown from a static context

2012-07-04 Thread gambas
Updates: Status: Fixed Comment #9 on issue 268 by benoit.m...@gmail.com: Can call non-static _unknown from a static context http://code.google.com/p/gambas/issues/detail?id=268 OK, in revision #4897 you can use a static unknown property in a dynamic context. But I don't think it

Re: [Gambas-user] Issue 268 in gambas: Can call non-static _unknown from a static context

2012-07-04 Thread gambas
Comment #10 on issue 268 by emil.len...@gmail.com: Can call non-static _unknown from a static context http://code.google.com/p/gambas/issues/detail?id=268 Now some more headache :) Public Function _property() As Boolean Return False End Public Function _unknown(...) As String Return

[Gambas-user] ScrollView and Hovered property

2012-07-04 Thread Adrien Prokopowicz
Hi, I noticed that, when entering into a ScrollView, the Hovered property is always false : Public Sub ScrollView1_Enter() Debug Last.Hovered End Public Sub ScrollView1_Leave() Debug Last.Hovered End ... will make : FMain.ScrollView1_Enter.14: False FMain.ScrollView1_Leave.20: False

Re: [Gambas-user] gb3: using array of structures with dimensions unknown until runtime

2012-07-04 Thread Benoît Minisini
Le 04/07/2012 06:06, Kevin Fishburne a écrit : I need to create a 2D array of a structure like this: ... By the way, Kevin, did you try the jit compiler for your game? -- Benoît Minisini -- Live Security Virtual