Re: [Gambas-user] Compiling Gambas on an Allwinner A10 based system

2014-05-21 Thread Ian Haywood
On Wed, May 21, 2014 at 9:25 AM, Jussi Lahtinen
jussi.lahti...@gmail.com wrote:

 I've been trying to compile Gambas on a development board that uses the
 Allwinner A10 SOC.  I know there is a build for the Raspberry PI, so it
 should be doable.
I use a solidrun cubox (a tiny Israeli company making even tinier
computers), which is also based
on an ARM SoC. I can't help you on OpenGL (and there doesn't seem much
point on ARM) but I have got webkit and the rest
of gambas running fine.

From your logfile the punchline is

configure: WARNING: Unable to met pkg-config requirement: QtWebKit = 4.5.0
configure: WARNING: gb.qt4.webkit is disabled

which means you don't have the right development package installed,
it's called libwebkit-dev on
debian-based distros, dunno about the others.

If you are on a debian-based system, try upgrading to the latest
testing and then install gambas directly
('apt-get install gambas3), this *should* work as there will be
pre-compiled ARM binaries for gambas in the Debian repos.

Ian

--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Compiling Gambas on an Allwinner A10 based system

2014-05-21 Thread Mike Crean
Hey Bruce if it is any help I have
Wheezy image with GB3 and a number of other apps. Available for
download from my web site www.bbbpishop.com in the next few days. If you would 
like to know more just use the
contact page on the site. The image was set up and runs on ARM
Cortex-A8 1gh processor as used on the Beagle Bone Black board.

Cheers Mike
On Wednesday, 21 May 2014 6:29 PM, Ian Haywood ihaywo...@gmail.com wrote:
 


On Wed, May 21, 2014 at 9:25 AM, Jussi Lahtinen
jussi.lahti...@gmail.com wrote:

 I've been trying to compile Gambas on a development board that uses the
 Allwinner A10 SOC.  I know there is a build for the Raspberry PI, so it
 should be doable.
I use a solidrun cubox (a tiny Israeli company making even tinier
computers), which is also based
on an ARM SoC. I can't help you on OpenGL (and there doesn't seem much
point on ARM) but I have got webkit and the rest
of gambas running fine.

From your logfile the punchline is

configure: WARNING: Unable to met pkg-config requirement: QtWebKit = 4.5.0
configure: WARNING: gb.qt4.webkit is disabled

which means you don't have the right development package installed,
it's called libwebkit-dev on
debian-based distros, dunno about the others.

If you are on a debian-based system, try upgrading to the latest
testing and then install gambas directly
('apt-get install gambas3), this *should* work as there will be
pre-compiled ARM binaries for gambas in the Debian repos.

Ian


--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] gb.desktop: unable to found mime database

2014-05-21 Thread herberth guzman
Hi all

I have a question?

the following code works well:

Ubuntu LXDE Session
Ubuntu Openbox Session

Debian LXDE Session
but Debian Openbox Session
gives this error (gb.desktop: unable to found mime database)
Null Object

   Dim File As String
   Dim i As Integer
   Dim sPath As String
   Dim img As Image

  Directory = user.home

  For Each File In Dir (Directory, *, gb.File)

 sPath = Directory  / file
 img = DesktopMime.FromFile (sPath). GetIcon (48)
 i Inc
 IconView1.Add (i, file, img.Picture)

   Next

How I can fix this problem in Debian Openbox Session.

Regards

Herberth Guzmán
--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] gb.desktop.x11 (Refresh Taskbar)

2014-05-21 Thread herberth guzman
Hi all

I want to tell mypanel works well, but I want to improve.

The update of the open windows I do by a TIMER, but I would like to do it
directly X11, someone who can help me please.

Upgrading windows open is through a TIMER, but I would like to do it
directly gb.desktop.x11, someone who can help me please.

Attached is an example of my panel.


''CODE
Public id_win_active As Integer
Public HPanel_app As Panel
Public hToggle As ToggleButton


Public Sub Form_Open()

  Dim desk_w As Integer = Desktop.W

  X11.SetWindowProperty(Atom[_NET_WM_STRUT], Atom[CARDINAL], [0, 0, 0,
32], Me.Id)
  X11.SetWindowProperty(Atom[_NET_WM_STRUT_PARTIAL], Atom[CARDINAL],
[0, 0, 0, 33, 0, 0, 0, 0, 0, 0, 32, desk_w], Me.Id)
  X11.SetWindowProperty(Atom[_NET_WM_WINDOW_TYPE], Atom[ATOM],
Atom[_NET_WM_WINDOW_TYPE_DOCK], Me.Id)

  Me.X = 0
  Me.Y = Desktop.H - Me.H
  Me.W = Desktop.W

  Desktop_Windows
  Timer1.Start
  TimTask.Start

End

Public Sub Desktop_Windows()

  Dim i As Integer

  For i = 0 To Desktop.Windows.Count - 1
If Desktop.Windows[i].Name Then
  hToggle = New ToggleButton(PanelTask) As ToggleTask

  Try hToggle.Picture = Desktop.Windows[i].Icon.Stretch(22, 22).Picture
  hToggle.Text = Left$(Desktop.Windows[i].Name, 25)
  hToggle.Height = 32
  'hToggle.Font.Size = 8
  hToggle.Mouse = 13
  hToggle.Border = True
  hToggle.W = 250
  hToggle.Tooltip = Desktop.Windows[i].Name
  hToggle.Tag = Desktop.Windows[i].Id

  If Not hToggle.Text Then
hToggle.Text = Sin título
hToggle.W = 250
  Endif

  If Not hToggle.Text Then
hToggle.Text = (Untitled)
hToggle.Picture = Picture[icon:/22/apps/application-default-icon]
hToggle.W = 250
  Endif

  If (hToggle.Picture = Picture[Null]) Then
hToggle.Picture = Picture[icon:/22/apps/application-default-icon]
hToggle.W = 250
  Endif

Endif
  Next

End

Public Sub ToggleTask_Click()

  Try id_win_active = Last.Tag
  Try Desktop.ActiveWindow = id_win_active
  Try Desktop.Windows.FromHandle(id_win_active).Minimized =
Desktop.ActiveWindow = id_win_active

End

Public Sub Timer1_Timer()

  Dim x As String

  Timer1.Delay = 1000
  Timer1.Start

  x = Format$(Now, hh:nn)
  TextLabelDate.Text = x

End

Public Sub Refresh_Taskbar() ''is not the best but it works

  Dim i As Integer

  Desktop.Windows.Refresh()
  If (PanelTask.Children.Count - (Desktop.Windows.Count - 2)) Then
PanelTask.Children.Clear()
For i = 1 To Desktop.Windows.Count - 2
  hToggle = New ToggleButton(PanelTask) As ToggleTask
  hToggle.W = 250
  Try hToggle.Picture = Desktop.Windows[i].Icon.Stretch(22, 22).Picture
  hToggle.Text = Left$(Desktop.Windows[i].Name, 25)
  hToggle.Height = 32

  hToggle.Mouse = 13
  hToggle.Tooltip = Desktop.Windows[i].Name
  hToggle.Tag = Desktop.Windows[i].Id

  If Not hToggle.Text Then
hToggle.Text = (Untitled)
hToggle.Picture = Picture[icon:/22/apps/application-default-icon]
hToggle.W = 250
  Endif
  If (hToggle.Picture = Picture[Null]) Then
hToggle.Picture = Picture[icon:/22/apps/application-default-icon]
hToggle.W = 250
  Endif

  Try hToggle.Visible = Not CBool(Desktop.Windows[i].SkipTaskbar)

Next
  Else

For Each hToggle In PanelTask.Children
  hToggle.Text = Left$(Desktop.Windows.FromHandle(hToggle.Tag).Name, 25)
  If Not hToggle.Text Then
hToggle.Text = (Untitled)
hToggle.Picture = Picture[icon:/22/apps/application-default-icon]
hToggle.W = 250
  Endif
  If (hToggle.Picture = Picture[Null]) Then
hToggle.Picture = Picture[icon:/22/apps/application-default-icon]
hToggle.W = 250
  Endif

Next
  Endif

Catch

End

Public Sub TimTask_Timer()

  Refresh_Taskbar

End

Herberth Guzmán


task-0.0.1.tar.gz
Description: GNU Zip compressed data
--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gb.desktop: unable to found mime database

2014-05-21 Thread Benoît Minisini
Le 21/05/2014 18:33, herberth guzman a écrit :
 Hi all

 I have a question?

 the following code works well:

 Ubuntu LXDE Session
 Ubuntu Openbox Session

 Debian LXDE Session
 but Debian Openbox Session
 gives this error (gb.desktop: unable to found mime database)
 Null Object

 Dim File As String
 Dim i As Integer
 Dim sPath As String
 Dim img As Image

Directory = user.home

For Each File In Dir (Directory, *, gb.File)

   sPath = Directory  / file
   img = DesktopMime.FromFile (sPath). GetIcon (48)
   i Inc
   IconView1.Add (i, file, img.Picture)

 Next

 How I can fix this problem in Debian Openbox Session.

 Regards

 Herberth Guzmán

The mime database is a file named glob2 searched inside the following 
directories:

- $XDG_DATA_DIR/mime
- $XDG_DATA_HOME/mime
- ~/.local/share/mime

Note: $XDG_DATA_DIR is actually a list of directories like the $PATH 
variable.

Regards,

-- 
Benoît Minisini

--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gb.desktop.x11 (Refresh Taskbar)

2014-05-21 Thread Benoît Minisini
Le 21/05/2014 18:58, herberth guzman a écrit :
 Hi all

 I want to tell mypanel works well, but I want to improve.

 The update of the open windows I do by a TIMER, but I would like to do it
 directly X11, someone who can help me please.

 Upgrading windows open is through a TIMER, but I would like to do it
 directly gb.desktop.x11, someone who can help me please.

 Attached is an example of my panel.


 ''CODE
 Public id_win_active As Integer
 Public HPanel_app As Panel
 Public hToggle As ToggleButton


 Public Sub Form_Open()

Dim desk_w As Integer = Desktop.W

X11.SetWindowProperty(Atom[_NET_WM_STRUT], Atom[CARDINAL], [0, 0, 0,
 32], Me.Id)
X11.SetWindowProperty(Atom[_NET_WM_STRUT_PARTIAL], Atom[CARDINAL],
 [0, 0, 0, 33, 0, 0, 0, 0, 0, 0, 32, desk_w], Me.Id)
X11.SetWindowProperty(Atom[_NET_WM_WINDOW_TYPE], Atom[ATOM],
 Atom[_NET_WM_WINDOW_TYPE_DOCK], Me.Id)

Me.X = 0
Me.Y = Desktop.H - Me.H
Me.W = Desktop.W

Desktop_Windows
Timer1.Start
TimTask.Start

 End

 Public Sub Desktop_Windows()

Dim i As Integer

For i = 0 To Desktop.Windows.Count - 1
  If Desktop.Windows[i].Name Then
hToggle = New ToggleButton(PanelTask) As ToggleTask

Try hToggle.Picture = Desktop.Windows[i].Icon.Stretch(22, 22).Picture
hToggle.Text = Left$(Desktop.Windows[i].Name, 25)
hToggle.Height = 32
'hToggle.Font.Size = 8
hToggle.Mouse = 13
hToggle.Border = True
hToggle.W = 250
hToggle.Tooltip = Desktop.Windows[i].Name
hToggle.Tag = Desktop.Windows[i].Id

If Not hToggle.Text Then
  hToggle.Text = Sin título
  hToggle.W = 250
Endif

If Not hToggle.Text Then
  hToggle.Text = (Untitled)
  hToggle.Picture = Picture[icon:/22/apps/application-default-icon]
  hToggle.W = 250
Endif

If (hToggle.Picture = Picture[Null]) Then
  hToggle.Picture = Picture[icon:/22/apps/application-default-icon]
  hToggle.W = 250
Endif

  Endif
Next

 End

 Public Sub ToggleTask_Click()

Try id_win_active = Last.Tag
Try Desktop.ActiveWindow = id_win_active
Try Desktop.Windows.FromHandle(id_win_active).Minimized =
 Desktop.ActiveWindow = id_win_active

 End

 Public Sub Timer1_Timer()

Dim x As String

Timer1.Delay = 1000
Timer1.Start

x = Format$(Now, hh:nn)
TextLabelDate.Text = x

 End

 Public Sub Refresh_Taskbar() ''is not the best but it works

Dim i As Integer

Desktop.Windows.Refresh()
If (PanelTask.Children.Count - (Desktop.Windows.Count - 2)) Then
  PanelTask.Children.Clear()
  For i = 1 To Desktop.Windows.Count - 2
hToggle = New ToggleButton(PanelTask) As ToggleTask
hToggle.W = 250
Try hToggle.Picture = Desktop.Windows[i].Icon.Stretch(22, 22).Picture
hToggle.Text = Left$(Desktop.Windows[i].Name, 25)
hToggle.Height = 32

hToggle.Mouse = 13
hToggle.Tooltip = Desktop.Windows[i].Name
hToggle.Tag = Desktop.Windows[i].Id

If Not hToggle.Text Then
  hToggle.Text = (Untitled)
  hToggle.Picture = Picture[icon:/22/apps/application-default-icon]
  hToggle.W = 250
Endif
If (hToggle.Picture = Picture[Null]) Then
  hToggle.Picture = Picture[icon:/22/apps/application-default-icon]
  hToggle.W = 250
Endif

Try hToggle.Visible = Not CBool(Desktop.Windows[i].SkipTaskbar)

  Next
Else

  For Each hToggle In PanelTask.Children
hToggle.Text = Left$(Desktop.Windows.FromHandle(hToggle.Tag).Name, 25)
If Not hToggle.Text Then
  hToggle.Text = (Untitled)
  hToggle.Picture = Picture[icon:/22/apps/application-default-icon]
  hToggle.W = 250
Endif
If (hToggle.Picture = Picture[Null]) Then
  hToggle.Picture = Picture[icon:/22/apps/application-default-icon]
  hToggle.W = 250
Endif

  Next
Endif

 Catch

 End

 Public Sub TimTask_Timer()

Refresh_Taskbar

 End

 Herberth Guzmán


I told you to use a DesktopWatcher for that in my previous answer.

-- 
Benoît Minisini

--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Compiling Gambas on an Allwinner A10 based system

2014-05-21 Thread Bruce Cunningham
Ian,

Thanks for the input.

I installed libwebkit-dev (it looks like it installed correctly), but I'm still 
getting the message that gb.qt4.webkit is disabled?  I tried a reconf-all 
and configure -C.

Also, there doesn't appear to be a binary for Gambas3 in the repository, only 
Gambas2.

I did:
apt-get update
apt-get install gambas3

The response was:
E: Unable to locate package gambas3


Some details about the OS:
Distribution ID: Linaro
Description: Linaro 12.11
Release: 12.11
Codename: precise



Bruce Cunningham
Network Administrator
Sportif USA Inc.
(775) 359-6400  xt 132
bcunning...@sportif.com

-Original Message-
From: Ian Haywood [mailto:ihaywo...@gmail.com] 
Sent: Wednesday, May 21, 2014 3:29 AM
To: mailing list for gambas users
Subject: Re: [Gambas-user] Compiling Gambas on an Allwinner A10 based system

On Wed, May 21, 2014 at 9:25 AM, Jussi Lahtinen jussi.lahti...@gmail.com 
wrote:

 I've been trying to compile Gambas on a development board that uses 
 the Allwinner A10 SOC.  I know there is a build for the Raspberry PI, 
 so it should be doable.
I use a solidrun cubox (a tiny Israeli company making even tinier computers), 
which is also based on an ARM SoC. I can't help you on OpenGL (and there 
doesn't seem much point on ARM) but I have got webkit and the rest of gambas 
running fine.

From your logfile the punchline is

configure: WARNING: Unable to met pkg-config requirement: QtWebKit = 4.5.0
configure: WARNING: gb.qt4.webkit is disabled

which means you don't have the right development package installed, it's called 
libwebkit-dev on debian-based distros, dunno about the others.

If you are on a debian-based system, try upgrading to the latest testing and 
then install gambas directly ('apt-get install gambas3), this *should* work 
as there will be pre-compiled ARM binaries for gambas in the Debian repos.

Ian

--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE 
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available 
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Integer[].Read() documentation

2014-05-21 Thread Tobias Boege
Hi,

in the docs, Integer[].Read() [0], says that if the Length argument is not
given, the array is filled until the end of the array is reached.

This doesn't sound meaningful (aren't we constantly at the end of the
array when we add elements?). I think it should read: until the end of
the *Stream* is reached.

Is that correct?

Regards,
Tobi

[0] http://gambaswiki.org/wiki/comp/gb/integer[]/read

-- 
There's an old saying: Don't change anything... ever! -- Mr. Monk

--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas-user Digest, Vol 96, Issue 54

2014-05-21 Thread herberth guzman
Download link for the example of panel
https://mega.co.nz/#!fU1TFJqT!mFUf6XXEkHMgn7OKh-G5T84SktW_5GIqJMeoW5mAB_I
Include file key



2014-05-21 10:58 GMT-06:00 gambas-user-requ...@lists.sourceforge.net:

 Send Gambas-user mailing list submissions to
 gambas-user@lists.sourceforge.net

 To subscribe or unsubscribe via the World Wide Web, visit
 https://lists.sourceforge.net/lists/listinfo/gambas-user
 or, via email, send a message with subject or body 'help' to
 gambas-user-requ...@lists.sourceforge.net

 You can reach the person managing the list at
 gambas-user-ow...@lists.sourceforge.net

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of Gambas-user digest...


 Today's Topics:

1. Re: Compiling Gambas on an Allwinner A10 based system
   (Jussi Lahtinen)
2. Re: Compiling Gambas on an Allwinner A10 based system
   (Ian Haywood)
3. Re: Compiling Gambas on an Allwinner A10 based system (Mike Crean)
4. gb.desktop: unable to found mime database (herberth guzman)
5. gb.desktop.x11 (Refresh Taskbar) (herberth guzman)


 --

 Message: 1
 Date: Wed, 21 May 2014 02:25:50 +0300
 From: Jussi Lahtinen jussi.lahti...@gmail.com
 Subject: Re: [Gambas-user] Compiling Gambas on an Allwinner A10 based
 system
 To: mailing list for gambas users gambas-user@lists.sourceforge.net
 Message-ID:
 CAFJMe7Rj+poAR0eRkYetg-=gv2i2NW1c7b6maGjMLkCWc4=
 o...@mail.gmail.com
 Content-Type: text/plain; charset=UTF-8

 Gambas IDE uses webkit (gb.qt4.webkit) to provide documentation, and so it
 is mandatory. Otherwise by quick look everything is OK.

 Jussi



 On Wed, May 21, 2014 at 2:16 AM, Bruce Cunningham
 bcunning...@sportif.comwrote:

  Hello all,
 
  I've been trying to compile Gambas on a development board that uses the
  Allwinner A10 SOC.  I know there is a build for the Raspberry PI, so it
  should be doable.
 
  I think I'm very close, but I'm getting some errors, and it will not
  install.  The errors are related to OpenGL and WebKit.  I don't need
 either
  of these components for what I'm working on.
 
  I didn't build the Linux OS on this board, and frankly my Linux skills
 are
  not that great yet (I'm learning quickly).
 
  I've been a Windows admin and developer for 15+ years, and I'm coming to
  Linux from a Windows/VB6 background.  I really want to get away from
  anything Microsoft these days.  But, I have a project I want to build for
  an embedded device, and Linux/Gambas seems like a fantastic platform for
  me.  I would like to thank everyone that worked on building Gambas.  I
  gives us old time VB6 guys a way to move to Linux and be productive
 right
  away.
 
  I'm attaching the log from the config/make/make install process.
 
  Thanks in advance.
 
  Bruce
 
  Bruce Cunningham
  Network Administrator
  Sportif USA Inc.
  (775) 359-6400 xt 132
  bcunning...@sportif.commailto:bcunning...@sportif.com
 
 
 
 
 
 
 --
  Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
  Instantly run your Selenium tests across 300+ browser/OS combos.
  Get unparalleled scalability from the best Selenium testing platform
  available
  Simple to use. Nothing to install. Get started now for free.
  http://p.sf.net/sfu/SauceLabs
  ___
  Gambas-user mailing list
  Gambas-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/gambas-user
 
 


 --

 Message: 2
 Date: Wed, 21 May 2014 20:29:22 +1000
 From: Ian Haywood ihaywo...@gmail.com
 Subject: Re: [Gambas-user] Compiling Gambas on an Allwinner A10 based
 system
 To: mailing list for gambas users gambas-user@lists.sourceforge.net
 Message-ID:
 CAKt6K_dkOwMPRtpmkWGi-wfvj7+au3q=
 9wp-jw+qoigizlb...@mail.gmail.com
 Content-Type: text/plain; charset=UTF-8

 On Wed, May 21, 2014 at 9:25 AM, Jussi Lahtinen
 jussi.lahti...@gmail.com wrote:

  I've been trying to compile Gambas on a development board that uses the
  Allwinner A10 SOC.  I know there is a build for the Raspberry PI, so it
  should be doable.
 I use a solidrun cubox (a tiny Israeli company making even tinier
 computers), which is also based
 on an ARM SoC. I can't help you on OpenGL (and there doesn't seem much
 point on ARM) but I have got webkit and the rest
 of gambas running fine.

 From your logfile the punchline is

 configure: WARNING: Unable to met pkg-config requirement: QtWebKit = 4.5.0
 configure: WARNING: gb.qt4.webkit is disabled

 which means you don't have the right development package installed,
 it's called libwebkit-dev on
 debian-based distros, dunno about the others.

 If you are on a debian-based system, try upgrading to the latest
 testing and then install gambas directly
 ('apt-get install gambas3), this *should* work as 

Re: [Gambas-user] feature suggestions: detach and rearrange tabs

2014-05-21 Thread Kevin Fishburne
On 05/20/2014 08:11 AM, Benoît Minisini wrote:
 Le 20/05/2014 04:15, Kevin Fishburne a écrit :
 Detaching and attaching tabs have been implemented since revision
 #6280. It's not just for the IDE, but for all users of the
 Workspace control.
 Wow. Works brilliantly.
 Cool.

 The only wonky thing I've found is reattaching a detached tab adds it
 to the root IDE GUI instead of down with all the other tabs.
 What are you talking about?

 Not a big deal, as the module/class can just be double-clicked in the
 left pane to restore it. Dual monitor users: Rejoice! Thanks,
 Benoît.

 I also just noticed that after detaching a tab, I can attach it to
 other programs, such as Thunderbird. That's fucking nuts. Love it.
 :)
 WTF are you talking about again? You are kidding?


Maybe this is normal KDE behavior that I've never noticed, but here is a 
video capture of me first detaching a tab and attaching it to a console 
window, then reattaching it back to the GAMBAS IDE:

http://eightvirtues.com/sanctimonia/misc/GAMBAS%20Tabs.mp4

Maybe I'm holding it wrong? :)

-- 
Kevin Fishburne
Eight Virtues
www: http://sales.eightvirtues.com
e-mail: sa...@eightvirtues.com
phone: (770) 853-6271


--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] feature suggestions: detach and rearrange tabs

2014-05-21 Thread Tobias Boege
On Wed, 21 May 2014, Kevin Fishburne wrote:
 On 05/20/2014 08:11 AM, Beno?t Minisini wrote:
  Le 20/05/2014 04:15, Kevin Fishburne a ?crit :
  Detaching and attaching tabs have been implemented since revision
  #6280. It's not just for the IDE, but for all users of the
  Workspace control.
  Wow. Works brilliantly.
  Cool.
 
  The only wonky thing I've found is reattaching a detached tab adds it
  to the root IDE GUI instead of down with all the other tabs.
  What are you talking about?
 
  Not a big deal, as the module/class can just be double-clicked in the
  left pane to restore it. Dual monitor users: Rejoice! Thanks,
  Beno?t.
 
  I also just noticed that after detaching a tab, I can attach it to
  other programs, such as Thunderbird. That's fucking nuts. Love it.
  :)
  WTF are you talking about again? You are kidding?
 
 
 Maybe this is normal KDE behavior that I've never noticed, but here is a 
 video capture of me first detaching a tab and attaching it to a console 
 window, then reattaching it back to the GAMBAS IDE:
 
 http://eightvirtues.com/sanctimonia/misc/GAMBAS%20Tabs.mp4
 
 Maybe I'm holding it wrong? :)
 

Sweet but it doesn't work like this over here... (with TDE).

Also, I noticed you are still using large embedded arrays in your code. Do
we need to work the cons over again? :-)

Regards,
Tobi

-- 
There's an old saying: Don't change anything... ever! -- Mr. Monk

--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Integer[].Read() documentation

2014-05-21 Thread Benoît Minisini
Le 21/05/2014 22:04, Tobias Boege a écrit :
 Hi,

 in the docs, Integer[].Read() [0], says that if the Length argument is not
 given, the array is filled until the end of the array is reached.

 This doesn't sound meaningful (aren't we constantly at the end of the
 array when we add elements?). I think it should read: until the end of
 the *Stream* is reached.

 Is that correct?

 Regards,
 Tobi

 [0] http://gambaswiki.org/wiki/comp/gb/integer[]/read


No, the Read() method does not add anything to the array: it fills it 
with the stream contents.

-- 
Benoît Minisini

--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] feature suggestions: detach and rearrange tabs

2014-05-21 Thread Benoît Minisini
Le 21/05/2014 22:47, Kevin Fishburne a écrit :
 On 05/20/2014 08:11 AM, Benoît Minisini wrote:
 Le 20/05/2014 04:15, Kevin Fishburne a écrit :
 Detaching and attaching tabs have been implemented since revision
 #6280. It's not just for the IDE, but for all users of the
 Workspace control.
 Wow. Works brilliantly.
 Cool.

 The only wonky thing I've found is reattaching a detached tab adds it
 to the root IDE GUI instead of down with all the other tabs.
 What are you talking about?

 Not a big deal, as the module/class can just be double-clicked in the
 left pane to restore it. Dual monitor users: Rejoice! Thanks,
 Benoît.

 I also just noticed that after detaching a tab, I can attach it to
 other programs, such as Thunderbird. That's fucking nuts. Love it.
 :)
 WTF are you talking about again? You are kidding?


 Maybe this is normal KDE behavior that I've never noticed, but here is a
 video capture of me first detaching a tab and attaching it to a console
 window, then reattaching it back to the GAMBAS IDE:

 http://eightvirtues.com/sanctimonia/misc/GAMBAS%20Tabs.mp4

 Maybe I'm holding it wrong? :)


Ah, ok! This has nothing to do with Gambas. This is a KDE Oxygen window 
manager feature that allows to display different top levels windows in 
the same top-level tab.

-- 
Benoît Minisini

--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Compiling Gambas on an Allwinner A10 based system

2014-05-21 Thread Jussi Lahtinen
Please send your compiling log after installing libwebkit-dev.


Jussi


On Wed, May 21, 2014 at 8:53 PM, Bruce Cunningham
bcunning...@sportif.comwrote:

 Ian,

 Thanks for the input.

 I installed libwebkit-dev (it looks like it installed correctly), but I'm
 still getting the message that gb.qt4.webkit is disabled?  I tried a
 reconf-all and configure -C.

 Also, there doesn't appear to be a binary for Gambas3 in the repository,
 only Gambas2.

 I did:
 apt-get update
 apt-get install gambas3

 The response was:
 E: Unable to locate package gambas3


 Some details about the OS:
 Distribution ID: Linaro
 Description: Linaro 12.11
 Release: 12.11
 Codename: precise



 Bruce Cunningham
 Network Administrator
 Sportif USA Inc.
 (775) 359-6400 xt 132
 bcunning...@sportif.com

 -Original Message-
 From: Ian Haywood [mailto:ihaywo...@gmail.com]
 Sent: Wednesday, May 21, 2014 3:29 AM
 To: mailing list for gambas users
 Subject: Re: [Gambas-user] Compiling Gambas on an Allwinner A10 based
 system

 On Wed, May 21, 2014 at 9:25 AM, Jussi Lahtinen jussi.lahti...@gmail.com
 wrote:

  I've been trying to compile Gambas on a development board that uses
  the Allwinner A10 SOC.  I know there is a build for the Raspberry PI,
  so it should be doable.
 I use a solidrun cubox (a tiny Israeli company making even tinier
 computers), which is also based on an ARM SoC. I can't help you on OpenGL
 (and there doesn't seem much point on ARM) but I have got webkit and the
 rest of gambas running fine.

 From your logfile the punchline is

 configure: WARNING: Unable to met pkg-config requirement: QtWebKit = 4.5.0
 configure: WARNING: gb.qt4.webkit is disabled

 which means you don't have the right development package installed, it's
 called libwebkit-dev on debian-based distros, dunno about the others.

 If you are on a debian-based system, try upgrading to the latest testing
 and then install gambas directly ('apt-get install gambas3), this
 *should* work as there will be pre-compiled ARM binaries for gambas in the
 Debian repos.

 Ian


 --
 Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
 Instantly run your Selenium tests across 300+ browser/OS combos.
 Get unparalleled scalability from the best Selenium testing platform
 available Simple to use. Nothing to install. Get started now for free.
 http://p.sf.net/sfu/SauceLabs
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user


 --
 Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
 Instantly run your Selenium tests across 300+ browser/OS combos.
 Get unparalleled scalability from the best Selenium testing platform
 available
 Simple to use. Nothing to install. Get started now for free.
 http://p.sf.net/sfu/SauceLabs
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Compiling Gambas on an Allwinner A10 based system

2014-05-21 Thread Ian Haywood
On Thu, May 22, 2014 at 3:53 AM, Bruce Cunningham
bcunning...@sportif.com wrote:
 Ian,

 Some details about the OS:
 Distribution ID: Linaro
 Description: Linaro 12.11
 Release: 12.11
 Codename: precise
ok, it's an old ubuntu derivative
have a look at kendek's PPA
(https://launchpad.net/~nemh/+archive/gambas3), it includes armhf
builds.

As a very general comment: gambas is a big complex program, compiling
it is not easy even for seasoned Linux users. If you are new to Linux
you are probably going to have a much better experience with
pre-compiled binaries than jumping straight into compiling source.
Ian

--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Compiling Gambas on an Allwinner A10 based system

2014-05-21 Thread Jussi Lahtinen
 As a very general comment: gambas is a big complex program, compiling
 it is not easy even for seasoned Linux users. If you are new to Linux
 you are probably going to have a much better experience with
 pre-compiled binaries than jumping straight into compiling source.


I must disagree. In my experience there is no easier program to compile
than Gambas. Needed libraries are well documented and rest goes along with
standard process.

But if you can use PPAs (or some other binary source), then it is the most
convenient way.


Jussi
--
Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.
http://p.sf.net/sfu/SauceLabs
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user