Re: [Gambas-user] SerialPort: RS232 DTR problem

2015-01-05 Thread Tobias Boege
On Sun, 04 Jan 2015, Beno?t Minisini wrote:
> Le 03/01/2015 15:40, Tobias Boege a ?crit :
> > On Fri, 02 Jan 2015, Beno?t Minisini wrote:
> >> Le 16/12/2014 15:52, Tobias Boege a ?crit :
> >>> Hi,
> >>>
> >>> [ this is a forwarded bug report -- and this time I'm only translating. I
> >>> don't understand any of these hardware things. If there are questions
> >>> left, don't hesitate; ]
> >>>
> >>> a user complains that SerialPort.DTR is buggy on his system: after
> >>> initialisation, this property is False and the voltage is -12V.
> >>>
> >>> Setting it to True works and the voltage raises to +12V. But setting it to
> >>> False afterwards does nothing: the property continues to return True the
> >>> voltage remains on +12V. The needed hardware is an RS232 or an RS232-USB
> >>> adapter.
> >>>
> >>> He says it worked with Gambas2 and he first noticed that it didn't with
> >>> Gambas 3.1.1 (from the Ubuntu repositories). I urged him to update and the
> >>> error still happens with 3.6.2.
> >>>
> >>> Attached is the project we came up with to reproduce the issue. He also
> >>> mentioned that behaviour changed slightly when he left out the graphical
> >>> component he initially used his project with: with a graphical component,
> >>> the hardware didn't react and the property remained True and without a
> >>> graphical component, the hardware reacts correctly, only the property 
> >>> gives
> >>> the wrong value -- if I got him right.
> >>>
> >>> Regards,
> >>> Tobi
> >>>
> >>
> >> Does the last revision (#6792) change anything?
> >>
> >
> > He says no.
> >
> 
> A stupid bug in the DTR property implementation... It should be fixed in 
> revision #6804. Please ask him to confirm.
> 

Confirmed.

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

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] fullscreen

2015-01-05 Thread Reiner Goerlach
After switching from Form1 to Form2 and back to Form1, Form1 is still in 
Fullscreen-Mode. If I do it scond time, Form1 shows still 
Fullscreen-Mode, but in reality it has turned to maximized mode.
Ubuntu 10.04, GAMBAS2, QT,

Has somebody experience how to improve ?

Best regards
Reiner

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] fullscreen

2015-01-05 Thread Alexie
Can you retest it with Gambas3? Gambas2 isn't supported anymore.

2015-01-05 14:21 GMT+01:00 Reiner Goerlach :

> After switching from Form1 to Form2 and back to Form1, Form1 is still in
> Fullscreen-Mode. If I do it scond time, Form1 shows still
> Fullscreen-Mode, but in reality it has turned to maximized mode.
> Ubuntu 10.04, GAMBAS2, QT,
>
> Has somebody experience how to improve ?
>
> Best regards
> Reiner
>
>
> --
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Send Mouse events to a given window

2015-01-05 Thread martin p cristia
Hi:
Hope everyone have a good 2015.

It is possible to send mouse events (clicks) to a non-gambas (external) 
window?


-- 
Saludos

Ing. Martin P Cristia


--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] fullscreen

2015-01-05 Thread Charlie Reinl
Am Montag, den 05.01.2015, 14:21 +0100 schrieb Reiner Goerlach:
> After switching from Form1 to Form2 and back to Form1, Form1 is still in 
> Fullscreen-Mode. If I do it scond time, Form1 shows still 
> Fullscreen-Mode, but in reality it has turned to maximized mode.
> Ubuntu 10.04, GAMBAS2, QT,
> 
> Has somebody experience how to improve ?
> 
> Best regards
> Reiner

Salut Reiner,

I'v still a gambas2 2.24 running, if you send me the project, I can have
a look at it.
-- 
Amicalement
Charlie


--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] fullscreen

2015-01-05 Thread Reiner Goerlach
Nice answer, unfortunately not to my question.

I am very happy to have the GAMBAS2 running. Very happy. And I cannot 
install GAMBAS3, because in Installation description is stated, that the 
best way to install is just to type ./configure, make, make install.
Unfortunately I get the message: There is no such file "configure", and 
the installation procedure is already finished. It is also a nice 
description in the installation description, unfortunately not for the 
GAMBAS3 set of files, which I have downloded.
As I already stated, "I am very happy to have the GAMBAS2 running ..


Rweiner





On 01/05/2015 02:42 PM, Alexie wrote:
> Can you retest it with Gambas3? Gambas2 isn't supported anymore.
>
> 2015-01-05 14:21 GMT+01:00 Reiner Goerlach :
>
>> After switching from Form1 to Form2 and back to Form1, Form1 is still in
>> Fullscreen-Mode. If I do it scond time, Form1 shows still
>> Fullscreen-Mode, but in reality it has turned to maximized mode.
>> Ubuntu 10.04, GAMBAS2, QT,
>>
>> Has somebody experience how to improve ?
>>
>> Best regards
>> Reiner
>>
>>
>> --
>> Dive into the World of Parallel Programming! The Go Parallel Website,
>> sponsored by Intel and developed in partnership with Slashdot Media, is
>> your
>> hub for all things parallel software development, from weekly thought
>> leadership blogs to news, videos, case studies, tutorials and more. Take a
>> look and join the conversation now. http://goparallel.sourceforge.net
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
> --
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] fullscreen

2015-01-05 Thread Ron
Did you skip the step ./reconf-all on purpose?

It creates the files needed for the ./configure step. ;P

I don't know how big your projects are and what they do, but gambas3 runs
faster than gambas2.

Ron.

2015-01-05 16:05 GMT+01:00 Reiner Goerlach :

> Nice answer, unfortunately not to my question.
>
> I am very happy to have the GAMBAS2 running. Very happy. And I cannot
> install GAMBAS3, because in Installation description is stated, that the
> best way to install is just to type ./configure, make, make install.
> Unfortunately I get the message: There is no such file "configure", and
> the installation procedure is already finished. It is also a nice
> description in the installation description, unfortunately not for the
> GAMBAS3 set of files, which I have downloded.
> As I already stated, "I am very happy to have the GAMBAS2 running ..
>
>
> Rweiner
>
>
>
>
>
> On 01/05/2015 02:42 PM, Alexie wrote:
> > Can you retest it with Gambas3? Gambas2 isn't supported anymore.
> >
> > 2015-01-05 14:21 GMT+01:00 Reiner Goerlach :
> >
> >> After switching from Form1 to Form2 and back to Form1, Form1 is still in
> >> Fullscreen-Mode. If I do it scond time, Form1 shows still
> >> Fullscreen-Mode, but in reality it has turned to maximized mode.
> >> Ubuntu 10.04, GAMBAS2, QT,
> >>
> >> Has somebody experience how to improve ?
> >>
> >> Best regards
> >> Reiner
> >>
> >>
> >>
> --
> >> Dive into the World of Parallel Programming! The Go Parallel Website,
> >> sponsored by Intel and developed in partnership with Slashdot Media, is
> >> your
> >> hub for all things parallel software development, from weekly thought
> >> leadership blogs to news, videos, case studies, tutorials and more.
> Take a
> >> look and join the conversation now. http://goparallel.sourceforge.net
> >> ___
> >> Gambas-user mailing list
> >> Gambas-user@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >>
> >
> --
> > Dive into the World of Parallel Programming! The Go Parallel Website,
> > sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> > hub for all things parallel software development, from weekly thought
> > leadership blogs to news, videos, case studies, tutorials and more. Take
> a
> > look and join the conversation now. http://goparallel.sourceforge.net
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
>
>
> --
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Issue 589 in gambas: Interpreter Crash Gambas3 - Calling a library function - BananaPi

2015-01-05 Thread gambas

Comment #2 on issue 589 by scrcarl...@gmail.com: Interpreter Crash Gambas3  
- Calling a library function - BananaPi
https://code.google.com/p/gambas/issues/detail?id=589

Dear Benoit,

in the firstplace i used VarPtr(hid_p) but i received the same result. When  
I did the same with Gambas 3.6.2 under Ubuntu 12.04 on my EeePC (IntelAtom  
processor) i didn't deliver a system crash. So I think it has to do with  
passing parameters to a ARM7 processor(banana pi) and may be there is  
aproblem with libffi.so.6. But i am not so familiar with c programming and  
debugging,but i know what a pointer or a pointer to a pointer is. So I  
believe that it doesn't matter if i pass it to pointer or to a pointer to a  
pointer. I just have to handle correctly at procesing time of returned data.

-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] fullscreen

2015-01-05 Thread Reiner Goerlach
I will try, and somebody should insert such clause into Installation 
description ! I hope it works. (The first helpful hint)

GAMBAS3 ist faster ? What about number of bugs ? How can I trust 
GAMBAS3, when in GAMBAS2 are still bugs ?

Best regards
Reiner

On 01/05/2015 04:13 PM, Ron wrote:
> Did you skip the step ./reconf-all on purpose?
>
> It creates the files needed for the ./configure step. ;P
>
> I don't know how big your projects are and what they do, but gambas3 runs
> faster than gambas2.
>
> Ron.
>
> 2015-01-05 16:05 GMT+01:00 Reiner Goerlach :
>
>> Nice answer, unfortunately not to my question.
>>
>> I am very happy to have the GAMBAS2 running. Very happy. And I cannot
>> install GAMBAS3, because in Installation description is stated, that the
>> best way to install is just to type ./configure, make, make install.
>> Unfortunately I get the message: There is no such file "configure", and
>> the installation procedure is already finished. It is also a nice
>> description in the installation description, unfortunately not for the
>> GAMBAS3 set of files, which I have downloded.
>> As I already stated, "I am very happy to have the GAMBAS2 running ..
>>
>>
>> Rweiner
>>
>>
>>
>>
>>
>> On 01/05/2015 02:42 PM, Alexie wrote:
>>> Can you retest it with Gambas3? Gambas2 isn't supported anymore.
>>>
>>> 2015-01-05 14:21 GMT+01:00 Reiner Goerlach :
>>>
 After switching from Form1 to Form2 and back to Form1, Form1 is still in
 Fullscreen-Mode. If I do it scond time, Form1 shows still
 Fullscreen-Mode, but in reality it has turned to maximized mode.
 Ubuntu 10.04, GAMBAS2, QT,

 Has somebody experience how to improve ?

 Best regards
 Reiner



>> --
 Dive into the World of Parallel Programming! The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more.
>> Take a
 look and join the conversation now. http://goparallel.sourceforge.net
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

>>>
>> --
>>> Dive into the World of Parallel Programming! The Go Parallel Website,
>>> sponsored by Intel and developed in partnership with Slashdot Media, is
>> your
>>> hub for all things parallel software development, from weekly thought
>>> leadership blogs to news, videos, case studies, tutorials and more. Take
>> a
>>> look and join the conversation now. http://goparallel.sourceforge.net
>>> ___
>>> Gambas-user mailing list
>>> Gambas-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>
>>
>>
>> --
>> Dive into the World of Parallel Programming! The Go Parallel Website,
>> sponsored by Intel and developed in partnership with Slashdot Media, is
>> your
>> hub for all things parallel software development, from weekly thought
>> leadership blogs to news, videos, case studies, tutorials and more. Take a
>> look and join the conversation now. http://goparallel.sourceforge.net
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
> --
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] fullscreen

2015-01-05 Thread Reiner Goerlach
Hallo Ron,

here is the interesting response !


root@reiner-laptop:/home/reiner/GAMBAS3/gambas3-3.5.4# ./reconf-all
./reconf-all: 7: libtoolize: not found
Can't exec "libtoolize": No such file or directory at 
/usr/bin/autoreconf line 189.
Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf 
line 189.
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal
autoreconf: configure.ac: tracing
autoreconf: configure.ac: adding subdirectory main to autoreconf
autoreconf: Entering directory `main'
autoreconf: running: aclocal -I m4 --install
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf
configure:3860: error: possibly undefined macro: AC_LIBTOOL_DLOPEN
   If this token and others are legitimate, please use m4_pattern_allow.
   See the Autoconf documentation.
configure:3861: error: possibly undefined macro: AC_LIBLTDL_CONVENIENCE
configure:3862: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
configure:3863: error: possibly undefined macro: AC_DISABLE_STATIC
autoreconf: /usr/bin/autoconf failed with exit status: 1
root@reiner-laptop:/home/reiner/GAMBAS3/gambas3-3.5.4# ./configure
bash: ./configure: No such file or directory
root@reiner-laptop:/home/reiner/GAMBAS3/gambas3-3.5.4#

?

Reiner






On 01/05/2015 04:13 PM, Ron wrote:
> Did you skip the step ./reconf-all on purpose?
>
> It creates the files needed for the ./configure step. ;P
>
> I don't know how big your projects are and what they do, but gambas3 runs
> faster than gambas2.
>
> Ron.
>
> 2015-01-05 16:05 GMT+01:00 Reiner Goerlach :
>
>> Nice answer, unfortunately not to my question.
>>
>> I am very happy to have the GAMBAS2 running. Very happy. And I cannot
>> install GAMBAS3, because in Installation description is stated, that the
>> best way to install is just to type ./configure, make, make install.
>> Unfortunately I get the message: There is no such file "configure", and
>> the installation procedure is already finished. It is also a nice
>> description in the installation description, unfortunately not for the
>> GAMBAS3 set of files, which I have downloded.
>> As I already stated, "I am very happy to have the GAMBAS2 running ..
>>
>>
>> Rweiner
>>
>>
>>
>>
>>
>> On 01/05/2015 02:42 PM, Alexie wrote:
>>> Can you retest it with Gambas3? Gambas2 isn't supported anymore.
>>>
>>> 2015-01-05 14:21 GMT+01:00 Reiner Goerlach :
>>>
 After switching from Form1 to Form2 and back to Form1, Form1 is still in
 Fullscreen-Mode. If I do it scond time, Form1 shows still
 Fullscreen-Mode, but in reality it has turned to maximized mode.
 Ubuntu 10.04, GAMBAS2, QT,

 Has somebody experience how to improve ?

 Best regards
 Reiner



>> --
 Dive into the World of Parallel Programming! The Go Parallel Website,
 sponsored by Intel and developed in partnership with Slashdot Media, is
 your
 hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials and more.
>> Take a
 look and join the conversation now. http://goparallel.sourceforge.net
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

>>>
>> --
>>> Dive into the World of Parallel Programming! The Go Parallel Website,
>>> sponsored by Intel and developed in partnership with Slashdot Media, is
>> your
>>> hub for all things parallel software development, from weekly thought
>>> leadership blogs to news, videos, case studies, tutorials and more. Take
>> a
>>> look and join the conversation now. http://goparallel.sourceforge.net
>>> ___
>>> Gambas-user mailing list
>>> Gambas-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>
>>
>>
>> --
>> Dive into the World of Parallel Programming! The Go Parallel Website,
>> sponsored by Intel and developed in partnership with Slashdot Media, is
>> your
>> hub for all things parallel software development, from weekly thought
>> leadership blogs to news, videos, case studies, tutorials and more. Take a
>> look and join the conversation now. http://goparallel.sourceforge.net
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
> --
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and d

Re: [Gambas-user] fullscreen

2015-01-05 Thread Tobias Boege
On Mon, 05 Jan 2015, Reiner Goerlach wrote:
> I will try, and somebody should insert such clause into Installation 
> description ! I hope it works. (The first helpful hint)
> 

I will if you tell me where you found this incomplete installation
description.

> GAMBAS3 ist faster ? What about number of bugs ? How can I trust 
> GAMBAS3, when in GAMBAS2 are still bugs ?
> 

I wish we could determine the number. Since the release of Gambas 2.24,
there were roughly 2100 commit items marked as bugfixes. On the other side,
there were as many new features which potentially introduced new bugs.

In any case, if you indeed found a bug here, wouldn't it be good to run
a version which developers still care about to fix the bug? ;-)

As for "trust": you can't and shouldn't, as the GPL says:

  This program is distributed [...] WITHOUT ANY WARRANTY; without even
  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  PURPOSE.

Regards,
Tobi

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

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] fullscreen

2015-01-05 Thread Reiner Goerlach
It is the INSTALL - file in latest download GAMBAS 3.5.4., I attach that 
file hereto


Reiner




On 01/05/2015 04:57 PM, Tobias Boege wrote:

On Mon, 05 Jan 2015, Reiner Goerlach wrote:

I will try, and somebody should insert such clause into Installation
description ! I hope it works. (The first helpful hint)



I will if you tell me where you found this incomplete installation
description.


GAMBAS3 ist faster ? What about number of bugs ? How can I trust
GAMBAS3, when in GAMBAS2 are still bugs ?



I wish we could determine the number. Since the release of Gambas 2.24,
there were roughly 2100 commit items marked as bugfixes. On the other side,
there were as many new features which potentially introduced new bugs.

In any case, if you indeed found a bug here, wouldn't it be good to run
a version which developers still care about to fix the bug? ;-)

As for "trust": you can't and shouldn't, as the GPL says:

   This program is distributed [...] WITHOUT ANY WARRANTY; without even
   the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
   PURPOSE.

Regards,
Tobi

Installation Instructions
*

Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004 Free
Software Foundation, Inc.

This file is free documentation; the Free Software Foundation gives
unlimited permission to copy, distribute and modify it.

Basic Installation
==

These are generic installation instructions.

   The `configure' shell script attempts to guess correct values for
various system-dependent variables used during compilation.  It uses
those values to create a `Makefile' in each directory of the package.
It may also create one or more `.h' files containing system-dependent
definitions.  Finally, it creates a shell script `config.status' that
you can run in the future to recreate the current configuration, and a
file `config.log' containing compiler output (useful mainly for
debugging `configure').

   It can also use an optional file (typically called `config.cache'
and enabled with `--cache-file=config.cache' or simply `-C') that saves
the results of its tests to speed up reconfiguring.  (Caching is
disabled by default to prevent problems with accidental use of stale
cache files.)

   If you need to do unusual things to compile the package, please try
to figure out how `configure' could check whether to do them, and mail
diffs or instructions to the address given in the `README' so they can
be considered for the next release.  If you are using the cache, and at
some point `config.cache' contains results you don't want to keep, you
may remove or edit it.

   The file `configure.ac' (or `configure.in') is used to create
`configure' by a program called `autoconf'.  You only need
`configure.ac' if you want to change it or regenerate `configure' using
a newer version of `autoconf'.

The simplest way to compile this package is:

  1. `cd' to the directory containing the package's source code and type
 `./configure' to configure the package for your system.  If you're
 using `csh' on an old version of System V, you might need to type
 `sh ./configure' instead to prevent `csh' from trying to execute
 `configure' itself.

 Running `configure' takes awhile.  While running, it prints some
 messages telling which features it is checking for.

  2. Type `make' to compile the package.

  3. Optionally, type `make check' to run any self-tests that come with
 the package.

  4. Type `make install' to install the programs and any data files and
 documentation.

  5. You can remove the program binaries and object files from the
 source code directory by typing `make clean'.  To also remove the
 files that `configure' created (so you can compile the package for
 a different kind of computer), type `make distclean'.  There is
 also a `make maintainer-clean' target, but that is intended mainly
 for the package's developers.  If you use it, you may have to get
 all sorts of other programs in order to regenerate files that came
 with the distribution.

Compilers and Options
=

Some systems require unusual options for compilation or linking that the
`configure' script does not know about.  Run `./configure --help' for
details on some of the pertinent environment variables.

   You can give `configure' initial values for configuration parameters
by setting variables in the command line or in the environment.  Here
is an example:

 ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix

   *Note Defining Variables::, for more details.

Compiling For Multiple Architectures


You can compile the package for more than one kind of computer at the
same time, by placing the object files for each architecture in their
own directory.  To do this, you must use a version of `make' that
supports the `VPATH' variable, such as GNU `make'.  `cd' to the
directory where you want the object files and executables t

Re: [Gambas-user] fullscreen

2015-01-05 Thread Jørn Erik Mørne

Den 05. jan. 2015 16:41, skrev Reiner Goerlach:
> Hallo Ron,
>
> here is the interesting response !
>
>
> root@reiner-laptop:/home/reiner/GAMBAS3/gambas3-3.5.4# ./reconf-all
> ./reconf-all: 7: libtoolize: not found
> Can't exec "libtoolize": No such file or directory at
> /usr/bin/autoreconf line 189.
> Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf
> line 189.
> autoreconf: Entering directory `.'
> autoreconf: configure.ac: not using Gettext
> autoreconf: running: aclocal
> autoreconf: configure.ac: tracing
> autoreconf: configure.ac: adding subdirectory main to autoreconf
> autoreconf: Entering directory `main'
> autoreconf: running: aclocal -I m4 --install
> autoreconf: configure.ac: not using Libtool
> autoreconf: running: /usr/bin/autoconf
> configure:3860: error: possibly undefined macro: AC_LIBTOOL_DLOPEN
> If this token and others are legitimate, please use m4_pattern_allow.
> See the Autoconf documentation.
> configure:3861: error: possibly undefined macro: AC_LIBLTDL_CONVENIENCE
> configure:3862: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
> configure:3863: error: possibly undefined macro: AC_DISABLE_STATIC
> autoreconf: /usr/bin/autoconf failed with exit status: 1
> root@reiner-laptop:/home/reiner/GAMBAS3/gambas3-3.5.4# ./configure
> bash: ./configure: No such file or directory
> root@reiner-laptop:/home/reiner/GAMBAS3/gambas3-3.5.4#
>
> ?
>
> Reiner
>
Have you read/seen this: http://gambaswiki.org/wiki/install ? Do also 
check out this section of that page: http://gambaswiki.org/wiki/install#t9

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Issue 589 in gambas: Interpreter Crash Gambas3 - Calling a library function - BananaPi

2015-01-05 Thread gambas

Comment #3 on issue 589 by benoit.m...@gmail.com: Interpreter Crash Gambas3  
- Calling a library function - BananaPi
https://code.google.com/p/gambas/issues/detail?id=589

Of course it matters! Apparently PMD_Find_Interface() uses its first  
argument to store its result. So if you send it a NULL pointer, it will try  
to write at the null address, and trigger a segmentation fault.

Please provide a working C code using that library.



-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] fullscreen

2015-01-05 Thread Reiner Goerlach
Never never never never !

I haqd a small Problem. Loss of Fullscreen property of Form in GAMBAS2. 
Now I have work for 3 people all their life ! Minimum ! Than k you very 
much 
Reiner




On 01/05/2015 05:13 PM, Jørn Erik Mørne wrote:
>
> Den 05. jan. 2015 16:41, skrev Reiner Goerlach:
>> Hallo Ron,
>>
>> here is the interesting response !
>>
>>
>> root@reiner-laptop:/home/reiner/GAMBAS3/gambas3-3.5.4# ./reconf-all
>> ./reconf-all: 7: libtoolize: not found
>> Can't exec "libtoolize": No such file or directory at
>> /usr/bin/autoreconf line 189.
>> Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf
>> line 189.
>> autoreconf: Entering directory `.'
>> autoreconf: configure.ac: not using Gettext
>> autoreconf: running: aclocal
>> autoreconf: configure.ac: tracing
>> autoreconf: configure.ac: adding subdirectory main to autoreconf
>> autoreconf: Entering directory `main'
>> autoreconf: running: aclocal -I m4 --install
>> autoreconf: configure.ac: not using Libtool
>> autoreconf: running: /usr/bin/autoconf
>> configure:3860: error: possibly undefined macro: AC_LIBTOOL_DLOPEN
>>  If this token and others are legitimate, please use 
>> m4_pattern_allow.
>>  See the Autoconf documentation.
>> configure:3861: error: possibly undefined macro: AC_LIBLTDL_CONVENIENCE
>> configure:3862: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
>> configure:3863: error: possibly undefined macro: AC_DISABLE_STATIC
>> autoreconf: /usr/bin/autoconf failed with exit status: 1
>> root@reiner-laptop:/home/reiner/GAMBAS3/gambas3-3.5.4# ./configure
>> bash: ./configure: No such file or directory
>> root@reiner-laptop:/home/reiner/GAMBAS3/gambas3-3.5.4#
>>
>> ?
>>
>> Reiner
>>
> Have you read/seen this: http://gambaswiki.org/wiki/install ? Do also
> check out this section of that page: http://gambaswiki.org/wiki/install#t9
>
> --
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] fullscreen

2015-01-05 Thread Willy Raets
On ma, 2015-01-05 at 17:29 +0100, Reiner Goerlach wrote:
> Never never never never !
> 
> I haqd a small Problem. Loss of Fullscreen property of Form in GAMBAS2. 
> Now I have work for 3 people all their life ! Minimum ! Than k you very 
> much 
> Reiner

For Ubuntu you don even need to compile, you can install latest Gambas3
from binaries (just don't use the official Ubuntu repository as it has
an outdated Gambas3 version).
All you need to do is open a terminal and do:
$ sudo add-apt-repository ppa:gambas-team/gambas3
$ sudo apt-get update
$ sudo apt-get install gambas3

Note that:
Gambas2 and Gambas3 can coexist on one and the same system.
Gambas2 is no longer maintained, so bugs will NOT get fixed.
Gambas3 is maintained and bugs should get fixed (if reported).

You can import your Gambas2 project into Gambas3 and with little or no
extra effort (in my experience) run it as is.
Make sure to backup your source before doing so.

-- 
Kind regards,

Willy (aka gbWilly)

http://gambasshowcase.org/
http://howtogambas.org
http://gambos.org





--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] fullscreen

2015-01-05 Thread Jørn Erik Mørne
> Never never never never !
>
> I haqd a small Problem. Loss of Fullscreen property of Form in GAMBAS2.
> Now I have work for 3 people all their life ! Minimum ! Than k you very
> much 
> Reiner
>
>
Normally it takes one person ten minutes, not three people a life time :)
But, as with most things - there is a learning curve :)
Happy new year Reiner, don't stress :)

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] The new Border class

2015-01-05 Thread Fabien Bodard
Le 5 janv. 2015 01:31, "Benoît Minisini"  a
écrit :
>
> Since the last revisions, I have implemented a creatable Border class
that allows to associate many properties with a Border object, and draw a
border from these properties.
>
> For example:
>
> hBorder = new
Border("color:blue;width:8;radius:16;margin:4;top-style:dotted")
>
> hBorder.Paint
>
> Moreover, you can associate a Border to each cell of a GridView. That
allows you what you can see in the joined screenshot.
>
> Enjoy!
>
> --
> Benoît Minisini
>
>
--
Next step..  a flexible interpreter class and we can make a spreedsheet
component.
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] The new Border class

2015-01-05 Thread Benoît Minisini
Le 05/01/2015 18:10, Fabien Bodard a écrit :
> Next step..  a flexible interpreter class and we can make a spreedsheet 
> component.

What do you mean?

-- 
Benoît Minisini

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] The new Border class

2015-01-05 Thread Jorge Carrión
It looks fine!!. Good work, as always.

Thanks Benoit.

Regards

2015-01-05 1:30 GMT+01:00 Benoît Minisini :

> Since the last revisions, I have implemented a creatable Border class that
> allows to associate many properties with a Border object, and draw a border
> from these properties.
>
> For example:
>
> hBorder = new Border("color:blue;width:8;radius:16;margin:4;top-style:
> dotted")
>
> hBorder.Paint
>
> Moreover, you can associate a Border to each cell of a GridView. That
> allows you what you can see in the joined screenshot.
>
> Enjoy!
>
> --
> Benoît Minisini
>
>
> --
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] fullscreen

2015-01-05 Thread Jussi Lahtinen
> GAMBAS3 ist faster ? What about number of bugs ? How can I trust
> GAMBAS3, when in GAMBAS2 are still bugs ?
>

Gambas 3 is stable. Just try it.


Jussi
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] fullscreen

2015-01-05 Thread Tobias Boege
On Mon, 05 Jan 2015, Reiner Goerlach wrote:
> It is the INSTALL - file in latest download GAMBAS 3.5.4., I attach that
> file hereto
> 

Seems like someone has been lazy with this file :-) It contained an excerpt
from the GNU autoconf manual and hasn't been applicable to Gambas for a long
time. In the latest revision, it will just redirect to the wiki.

Regards,
Tobi

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

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] fullscreen

2015-01-05 Thread Charlie Reinl
Am Montag, den 05.01.2015, 14:21 +0100 schrieb Reiner Goerlach:
> Ubuntu 10.04

Salut Reiner,

I saw you are still using Ubuntu 10.04, while that is an LTS, it is
longer supported as normal releases, but also not for a eternity.

see here https://wiki.ubuntu.com/Releases  

I made this once with Ubuntu 8.04 and at the end of 2011 I remarked,
that all worked well, BUT my Firefox and the flashplayer has been too
old, and I didn't see the things I looked for on a web-site, while I
talked with a friend about.
>From this time on I tried to upgrade as soon as possible to the next LTS
release.


-- 
Amicalement
Charlie


--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] fullscreen

2015-01-05 Thread Reiner Goerlach
Wgat doesw it mean ? Will there be a new version for GAMBAS soon ?

Reiner

On 01/05/2015 06:56 PM, Tobias Boege wrote:
> On Mon, 05 Jan 2015, Reiner Goerlach wrote:
>> It is the INSTALL - file in latest download GAMBAS 3.5.4., I attach that
>> file hereto
>>
>
> Seems like someone has been lazy with this file :-) It contained an excerpt
> from the GNU autoconf manual and hasn't been applicable to Gambas for a long
> time. In the latest revision, it will just redirect to the wiki.
>
> Regards,
> Tobi
>

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] fullscreen

2015-01-05 Thread Reiner Goerlach
Salut Karl,

if I solve your croaaword puzzzle, the result could be, that you are 
recommending me to go to e newer ubuntu version ? Is it so ? You 
wanted to tell me: You should go to a newer ubun tu versiom ?

???

I cantell you also somethinmg, without crossword puzzle.

I have tested Ubuntu 12.04, 14.04 and some other in between. Everything 
is rubbish. I think amateurs have designed the newer versions. And may 
be I leave LINUX at all, because LINUX doesn't fullfill my expectations.

In spite of many years have passed, Ubuntu has too many problems, and 
the protagonists of LINUX forget always, that many people doesn't want 
to study an operating system with all its details, but they want to 
write some letters, call their friends, make bank business, save some fotos.

Therefote I think LINUX will loos the competition with Windows, the 
protagonists of LINUX are too bad, are too much programmers, too less users.

Reiner





On 01/05/2015 07:29 PM, Charlie Reinl wrote:
> Am Montag, den 05.01.2015, 14:21 +0100 schrieb Reiner Goerlach:
>> Ubuntu 10.04
>
> Salut Reiner,
>
> I saw you are still using Ubuntu 10.04, while that is an LTS, it is
> longer supported as normal releases, but also not for a eternity.
>
> see here https://wiki.ubuntu.com/Releases
>
> I made this once with Ubuntu 8.04 and at the end of 2011 I remarked,
> that all worked well, BUT my Firefox and the flashplayer has been too
> old, and I didn't see the things I looked for on a web-site, while I
> talked with a friend about.
>>From this time on I tried to upgrade as soon as possible to the next LTS
> release.
>
>

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] The new Border class

2015-01-05 Thread Fabien Bodard
> What do you mean?
>
> --
> Benoît Minisini

I think about a tool that will be able to interpret inline formulas
like in a spreedsheet.

i have done something like that for playing myself but i'm not a
specialist of interpreters like you.

for example :

=Myvar1 + 3 *(3*myvar2)
=MYFUNCTION(myvar1; myvar2) + MyVar3

the function can be initialised for example like

Interpret.Function.Add("MYFunction", nbreArgs, typeRetVal)

And will call Public Sub Interpret_MyFunction(Arg1 as variant, arg2 as
variant,...) as variant

A Special Event will query the vars values : Public Sub
Interpret_GetVar(sVarName as string) as Variant

All the stuff of the interpreter will be to manage conditionnal
requirement and calculate values  or concatenate strings. So this tool
will be usefull for user level programmation.
Like in spreadsheet or in reports formulas. It can be extended near to
unlimited. Some functions can be hardcoded like mathematical ones.
Others are depend of the context so must be implemented for each
widget or component. It's not the fastest way to make compute but the
most flexible.

I hope my english is not inapprehensible

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] fullscreen

2015-01-05 Thread Fabien Bodard
2015-01-05 21:27 GMT+01:00 Reiner Goerlach :
> Salut Karl,
>
> if I solve your croaaword puzzzle, the result could be, that you are
> recommending me to go to e newer ubuntu version ? Is it so ? You
> wanted to tell me: You should go to a newer ubun tu versiom ?
>
> ???
>
> I cantell you also somethinmg, without crossword puzzle.
>
> I have tested Ubuntu 12.04, 14.04 and some other in between. Everything
> is rubbish. I think amateurs have designed the newer versions. And may
> be I leave LINUX at all, because LINUX doesn't fullfill my expectations.
>
> In spite of many years have passed, Ubuntu has too many problems, and
> the protagonists of LINUX forget always, that many people doesn't want
> to study an operating system with all its details, but they want to
> write some letters, call their friends, make bank business, save some fotos.
>
> Therefote I think LINUX will loos the competition with Windows, the
> protagonists of LINUX are too bad, are too much programmers, too less users.
>
> Reiner

Well we can talk about Windows changes too if you want ... And yes
linux is for advanced users that want to take
theire future in hand. I want to be able to manage my system myself.
And yes it's not the case of the majority.
Some distribution are more stable than other. WIth linux you can keep
you computer near to 10 years... with windows you can change every 2
years if you want
to use up to date tools. But this ability have a cost in term of
involvement of the user.

So linux is good in industrial desktop for low users were you lock things.



>
>
>
>
> On 01/05/2015 07:29 PM, Charlie Reinl wrote:
>> Am Montag, den 05.01.2015, 14:21 +0100 schrieb Reiner Goerlach:
>>> Ubuntu 10.04
>>
>> Salut Reiner,
>>
>> I saw you are still using Ubuntu 10.04, while that is an LTS, it is
>> longer supported as normal releases, but also not for a eternity.
>>
>> see here https://wiki.ubuntu.com/Releases
>>
>> I made this once with Ubuntu 8.04 and at the end of 2011 I remarked,
>> that all worked well, BUT my Firefox and the flashplayer has been too
>> old, and I didn't see the things I looked for on a web-site, while I
>> talked with a friend about.
>>>From this time on I tried to upgrade as soon as possible to the next LTS
>> release.
>>
>>
>
> --
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user



-- 
Fabien Bodard

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] fullscreen

2015-01-05 Thread Tobias Boege
On Mon, 05 Jan 2015, Reiner Goerlach wrote:
> On 01/05/2015 06:56 PM, Tobias Boege wrote:
> > On Mon, 05 Jan 2015, Reiner Goerlach wrote:
> >> It is the INSTALL - file in latest download GAMBAS 3.5.4., I attach that
> >> file hereto
> >>
> >
> > Seems like someone has been lazy with this file :-) It contained an excerpt
> > from the GNU autoconf manual and hasn't been applicable to Gambas for a long
> > time. In the latest revision, it will just redirect to the wiki.
> >
> > Regards,
> > Tobi
> >
> 
> Wgat doesw it mean ? Will there be a new version for GAMBAS soon ?
> 

I talked about the latest revision in the svn repository. But apart from
what I said, Benoit recently stated that he wanted to release 3.7 soon.

Regards,
Tobi

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

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Custom Eval (was Re: The new Border class)

2015-01-05 Thread Benoît Minisini
Le 05/01/2015 21:46, Fabien Bodard a écrit :
>> What do you mean?
>>
>> --
>> Benoît Minisini
>
> I think about a tool that will be able to interpret inline formulas
> like in a spreedsheet.
>
> i have done something like that for playing myself but i'm not a
> specialist of interpreters like you.
>
> for example :
>
> =Myvar1 + 3 *(3*myvar2)
> =MYFUNCTION(myvar1; myvar2) + MyVar3
>
> the function can be initialised for example like
>
> Interpret.Function.Add("MYFunction", nbreArgs, typeRetVal)
>
> And will call Public Sub Interpret_MyFunction(Arg1 as variant, arg2 as
> variant,...) as variant
>
> A Special Event will query the vars values : Public Sub
> Interpret_GetVar(sVarName as string) as Variant
>
> All the stuff of the interpreter will be to manage conditionnal
> requirement and calculate values  or concatenate strings. So this tool
> will be usefull for user level programmation.
> Like in spreadsheet or in reports formulas. It can be extended near to
> unlimited. Some functions can be hardcoded like mathematical ones.
> Others are depend of the context so must be implemented for each
> widget or component. It's not the fastest way to make compute but the
> most flexible.
>
> I hope my english is not inapprehensible
>

If I understand well, you need some sort of custom Eval().

More precisely, I think what you need is a Gambas hook inside the reader 
part of Eval() (the first part of its internal compiler) where you tell 
how to translate any symbol into a Gambas function or a call to a method 
into one of your classes, everything else being forbidden.

That way, you keep the Gambas syntax, except that all function names are 
redefined, and every interpreter class is forbidden except the one you 
allow explicitly.

Just an idea...

-- 
Benoît Minisini

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Custom Eval (was Re: The new Border class)

2015-01-05 Thread Fabien Bodard
2015-01-05 22:02 GMT+01:00 Benoît Minisini :
> Le 05/01/2015 21:46, Fabien Bodard a écrit :
>>> What do you mean?
>>>
>>> --
>>> Benoît Minisini
>>
>> I think about a tool that will be able to interpret inline formulas
>> like in a spreedsheet.
>>
>> i have done something like that for playing myself but i'm not a
>> specialist of interpreters like you.
>>
>> for example :
>>
>> =Myvar1 + 3 *(3*myvar2)
>> =MYFUNCTION(myvar1; myvar2) + MyVar3
>>
>> the function can be initialised for example like
>>
>> Interpret.Function.Add("MYFunction", nbreArgs, typeRetVal)
>>
>> And will call Public Sub Interpret_MyFunction(Arg1 as variant, arg2 as
>> variant,...) as variant
>>
>> A Special Event will query the vars values : Public Sub
>> Interpret_GetVar(sVarName as string) as Variant
>>
>> All the stuff of the interpreter will be to manage conditionnal
>> requirement and calculate values  or concatenate strings. So this tool
>> will be usefull for user level programmation.
>> Like in spreadsheet or in reports formulas. It can be extended near to
>> unlimited. Some functions can be hardcoded like mathematical ones.
>> Others are depend of the context so must be implemented for each
>> widget or component. It's not the fastest way to make compute but the
>> most flexible.
>>
>> I hope my english is not inapprehensible
>>
>
> If I understand well, you need some sort of custom Eval().
>
> More precisely, I think what you need is a Gambas hook inside the reader
> part of Eval() (the first part of its internal compiler) where you tell
> how to translate any symbol into a Gambas function or a call to a method
> into one of your classes, everything else being forbidden.
>
> That way, you keep the Gambas syntax, except that all function names are
> redefined, and every interpreter class is forbidden except the one you
> allow explicitly.

Yes it can be the idea. But can it be compatible with 'STANDARD'
formulas style too ? were separtors are ';'...

But your idea will be a great step too and i think you have understand
the back of my mind.



>
> Just an idea...
>
> --
> Benoît Minisini
>
> --
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user



-- 
Fabien Bodard

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Connecting DataControl to DataSource

2015-01-05 Thread Lewis Balentine
I must be missing something very basic in the use of form database controls.
I can not seem to get a data control populated ...
It appears to me that the data control is not linked to the DataSource.
What am I missing ???

Two additional questions:
Is there a way to access the "Result" object of a DataSource ?
Is there a way to change the "DataSource" for a DataControl ?

Regards,

Lewis Balentine

'
Public Sub Form_Open()
   Dim I As Integer
   ' This is A SIMPLE form:
   ' It has Two controls:
   '   gb.db.form: DataSource named DataSource1
   '   gb.db.form: DataView named DataView1

   ' pvr.FindDB() finds the SQLite3 DB file and opens a connection to it 
named "pvr.PvrDb"
   pvr.FindDB()

   ' DataSource is a container that provides data from a database to all 
its children and grand-children recursively:
   ' It uses its Table And Filter properties And an Open Connection To 
make a Result object.
   ' From this Result, it fills its children controls.
   ' The database Is Defined by the Connection property.
   DataSource1.Connection = pvr.PvrDb
   DataSource1.Table = "Select StartDateTime, ChannelDigital, Status, 
ShowDuration, ShowTitle from TitanTVSchedule Order by StartDateTime, 
ChannelDigital"
   DataSource1.Filter = ""

   Debug DataSource1.Connection.Type  '
   Debug DataSource1.Connection.Host
   Debug DataSource1.Connection.Name
   Debug DataSource1.Connection.Type
   Debug DataSource1.Connection.Opened
   Debug "DataSource1 Record Count: "; DataSource1.Count
   Debug "--"

   ' This control Implements a TableView that shows the contents Of a 
database table And allows To edit it.
   ' The data Is Provided by the the first DataSource parent control.
   ' The Columns Property controls the list Of fields To display Or edit.
   DataView1.Enabled = True
   DataView1.Columns = ["StartDateTime", "ChannelDigital", "Status", 
"ShowDuration", "ShowTitle"]
   DataView1.Update

   Debug "DataView1 Parent: "; DataView1.Parent.Name
   Debug "DataView1 Column Count: "; DataView1.View.Columns.Count
   Debug "DataView1 Row Count: "; DataView1.View.Rows.Count
End

' Console Window Output:
' pvr.FindDB.409: Open: True /home/lewis/Documents/KWPVR.DB3
' FMain.Form_Open.22: sqlite
' FMain.Form_Open.23: /home/lewis/Documents
' FMain.Form_Open.24: KWPVR.DB3
' FMain.Form_Open.25: sqlite
' FMain.Form_Open.26: True
' FMain.Form_Open.27: DataSource1 Record Count: 31
' FMain.Form_Open.28: - - - - - - - - - - - - - - - - - - - - - - - - - 
- - - - - - - - - - - - - - - - - - - - -
' FMain.Form_Open.37: DataView1 Parent: FMain
' FMain.Form_Open.38: DataView1 Column Count: 0
' FMain.Form_Open.39: DataView1 Row Count: 0

' [System]
' Gambas = 3.6.2
' OperatingSystem = Linux
' Kernel = 3.13.0 - 24 - generic
' Architecture = x86_64
' Distribution = Linux Mint 17 Qiana
' Desktop = MATE
' Theme = QGtk
' Language = en_US.UTF - 8
' Memory = 15994 M
' [Libraries]
' Cairo = libcairo.so.2.11301.0
' Curl = libcurl.so.4.3.0
' DBus = libdbus - 1. so.3.7.6
' GStreamer = libgstreamer - 0.10.so.0.30.0
' GStreamer = libgstreamer - 1.0.so.0.204.0
' GTK + 3 = libgtk - 3. so.0.1000.8
' GTK += libgtk - x11 - 2.0.so.0.2400.23
' OpenGL = libGL.so.1.2.0
' Poppler = libpoppler.so.44.0.0
' Qt4 = libQtCore.so.4.8.6
' SDL = libSDL - 1.2.so.0.11.4


--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] fullscreen

2015-01-05 Thread Karl Reinl
Am Montag, den 05.01.2015, 21:27 +0100 schrieb Reiner Goerlach:
> Salut Karl,
> 
> if I solve your croaaword puzzzle, the result could be, that you are 
> recommending me to go to e newer ubuntu version ? Is it so ? You 
> wanted to tell me: You should go to a newer ubun tu versiom ?
> 
> ???
> 
> I cantell you also somethinmg, without crossword puzzle.
> 
> I have tested Ubuntu 12.04, 14.04 and some other in between. Everything 
> is rubbish. I think amateurs have designed the newer versions. And may 
> be I leave LINUX at all, because LINUX doesn't fullfill my expectations.
> 
> In spite of many years have passed, Ubuntu has too many problems, and 
> the protagonists of LINUX forget always, that many people doesn't want 
> to study an operating system with all its details, but they want to 
> write some letters, call their friends, make bank business, save some fotos.
> 
> Therefote I think LINUX will loos the competition with Windows, the 
> protagonists of LINUX are too bad, are too much programmers, too less users.
> 
> Reiner

Salut Reiner,

Unity is not the great throw, there I understand you well. But 'Ubuntu'
exists in many variations. I use a pure Gnome2 desktop since 12.04

But you  talked about users and Windows. Have you had the opportunity to
teach an XP user, after 11 years of XP, the new Windows 8.1, or worst
Windows 8.0 . No fun, really not.
And they always cried after the previous version. 3.11 at 95, 95 at 98,
98 at 2000, and so on, and why... everything has changed, nothing was
like before. But the OS was more powerful then before.

If you have seen a Windows 10, you can say, they go back, looks like a "strange"
Windows 7 with a new START button and everything is square, simple,
unadorned ... colorless(!).
Soon the green/black screen comes back?
-- 
Amicalement
Charlie




--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Farm software categories

2015-01-05 Thread Benoît Minisini

Hi,

In revision #6813 I added an initial category search to the farm 
software window.


I put some arbitrary categories in it, each one just corresponding to a 
filter tag.


If you need another category, just tell me its name and its filter tag: 
if I find a good icon for it, I will add it.


Regards,

--
Benoît Minisini
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Connecting DataControl to DataSource

2015-01-05 Thread T Lee Davidson
On 01/05/2015 04:35 PM, Lewis Balentine wrote:
> I must be missing something very basic in the use of form database controls.
> I can not seem to get a data control populated ...
> It appears to me that the data control is not linked to the DataSource.
> What am I missing ???
>
> Two additional questions:
> Is there a way to access the "Result" object of a DataSource ?
> Is there a way to change the "DataSource" for a DataControl ?
>
> Regards,
>
> Lewis Balentine

Hi Lewis,

You didn't provide your project, so I can only guess at how you've designed the 
DataSource and DataControl(s).

But, I think I can answer your first and third questions with one answer. Your 
third question gives me a hint that you are doing the same thing 
I first did.

One thing that I missed at first is that the data control needs to be a child 
of the data source, and, conversely the data source must be the 
parent of the data control.

In other words, when you place the DataSource on the form, you then expand it 
so it can contain (ie. be the parent of) the data controls.


Lee
__

"Artificial Intelligence is no match for natural stupidity."

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Connecting DataControl to DataSource

2015-01-05 Thread Lewis Balentine
YEP --- that was the problem. I completely missed "is a container". In 
MS VB5/6 you only needed to place the Datasources on the same form  
actually not even that: you could build a connection or selection set 
and reference that.

One thing I would like to see is the ability to return the SQL Query 
actually used to obtain the "Result". This would be very helpful when 
trying to figure out why something did not work like one expected it to. 
I have used the "Subst" function to build such a string but there is 
always the nagging doubt that it is not exactly the same via some way 
Gambas handles substitutions or (more likely) I made a typo in 
duplicating the process.

Thanks for you help LEE.

Regards,

Lewis


On 01/05/2015 07:58 PM, T Lee Davidson wrote:
> On 01/05/2015 04:35 PM, Lewis Balentine wrote:
>> I must be missing something very basic in the use of form database controls.
>> I can not seem to get a data control populated ...
>> It appears to me that the data control is not linked to the DataSource.
>> What am I missing ???
>>
>> Two additional questions:
>> Is there a way to access the "Result" object of a DataSource ?
>> Is there a way to change the "DataSource" for a DataControl ?
>>
>> Regards,
>>
>> Lewis Balentine
> Hi Lewis,
>
> You didn't provide your project, so I can only guess at how you've designed 
> the DataSource and DataControl(s).
>
> But, I think I can answer your first and third questions with one answer. 
> Your third question gives me a hint that you are doing the same thing
> I first did.
>
> One thing that I missed at first is that the data control needs to be a child 
> of the data source, and, conversely the data source must be the
> parent of the data control.
>
> In other words, when you place the DataSource on the form, you then expand it 
> so it can contain (ie. be the parent of) the data controls.
>
>
> Lee
> __
>
> "Artificial Intelligence is no match for natural stupidity."
>
> --
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user


--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Connecting DataControl to DataSource

2015-01-05 Thread T Lee Davidson
On 01/05/2015 04:35 PM, Lewis Balentine wrote:
> ' Console Window Output:
[snip]
> - - - - - - - - - - - - - - - - - - - - -
> ' FMain.Form_Open.37: DataView1 Parent: FMain

Lewis,

This is why you are not getting the results you expect. DataView1.Parent.Name 
should be "DataSource1".

[Sorry for the extra post folks. I was a bit pressed for time earlier.]


Lee
__

"Artificial Intelligence is no match for natural stupidity."

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Connecting DataControl to DataSource

2015-01-05 Thread T Lee Davidson
I think our mails crossed in transit. Anyway...

The SQL query used to obtain the Result should essentially be:
"SELECT * FROM " & DataSource.Table & " WHERE " & DataSource.Filter

So, it can actually be determined by calculation, or maybe more correctly 
stated, by concatenation.

The data control would then determine which of all columns are actually 
displayed.


Lee
__

"Artificial Intelligence is no match for natural stupidity."

On 01/06/2015 01:28 AM, Lewis Balentine wrote:
> YEP --- that was the problem. I completely missed "is a container". In
> MS VB5/6 you only needed to place the Datasources on the same form 
> actually not even that: you could build a connection or selection set
> and reference that.
>
> One thing I would like to see is the ability to return the SQL Query
> actually used to obtain the "Result". This would be very helpful when
> trying to figure out why something did not work like one expected it to.
> I have used the "Subst" function to build such a string but there is
> always the nagging doubt that it is not exactly the same via some way
> Gambas handles substitutions or (more likely) I made a typo in
> duplicating the process.
>
> Thanks for you help LEE.
>
> Regards,
>
> Lewis

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user