I have a number of Gambas applications that I would like to add the Plasma
Launcher.
Does anyone know how best to do this?
--
View this message in context:
http://old.nabble.com/KDE-Plasma-Launcher-tp33894456p33894456.html
Sent from the gambas-user mailing list archive at Nabble.com.
It is as easy as drag and drop. You can add a container to your
desktop, and then drop the icons of the apps to it, or just use the
interface shipped with the widget.
Csaba
2012/5/23, Bill-Lancaster bill-lancas...@lineone.net:
I have a number of Gambas applications that I would like to add the
Sorry - a more careful search the KDE forum provided the answer.
--
View this message in context:
http://old.nabble.com/KDE-Plasma-Launcher-tp33894456p33895325.html
Sent from the gambas-user mailing list archive at Nabble.com.
On Mon, 2012-05-21 at 22:25 +0200, Benoît Minisini wrote:
* Tree
* Graph
Native implementation of that would be interesting.
Any volunteer? :-)
I think trees are easily implemented directly in gambas using Emil's
suggestions regarding object references as a general n-tree can be
On Thu, 24 May 2012, Bruce wrote:
On Mon, 2012-05-21 at 22:25 +0200, Benoît Minisini wrote:
* Tree
* Graph
Native implementation of that would be interesting.
Any volunteer? :-)
I think trees are easily implemented directly in gambas using Emil's
suggestions regarding object
may i ask a question,
graphs have some algorithms such shortest path as i read,
my question is, a graph could be used for a GPS system to represent
points on a map or it is something different ?
--
Live Security Virtual
Rather points (vertices) on a map and roads connecting them (edges).
2012/5/23 Demosthenes Koptsis demosthen...@gmail.com
may i ask a question,
graphs have some algorithms such shortest path as i read,
my question is, a graph could be used for a GPS system to represent
points on a map or it
There is bug... if I try to trigger profiling with System.Profile = True
(option Activate profiling is not selected),
Gambas crashes with signal 6.
*** buffer overflow detected ***: ProfilerBug terminated
=== Backtrace: =
Le 23/05/2012 18:49, Jussi Lahtinen a écrit :
There is bug... if I try to trigger profiling with System.Profile = True
(option Activate profiling is not selected),
Gambas crashes with signal 6.
It should be fixed in revision #4761. Now System.Profile is ignored if
the project has not been
Hi everybody.
I've been working on a JIT-compiler for Gambas for some months, and I'm now
ready to release an alpha-version in the latest svn of Gambas.
The compiler uses LLVM to produce machine code for x86 or x86_64. You need
LLVM on your computer for it to work, preferably the latest version
Forgot to mention that the 64-bit version is probably more bug-free than
the 32-bit version, since I myself have a 64-bit computer and therefore
have run only some few tests on 32-bit...
--
Live Security Virtual Conference
Benoit,
Since the last revision after compilation and installation, I got this messages
when I start an gambas3 project:
[linus@linusky ~]$ valgrind --tool=memcheck --num-callers=50 gbr3
/usr/bin/gambas3.gambas /local/Gambas-3/gbSvnCheckVersion
==32350== Memcheck, a memory error detector
Le mercredi 23 mai 2012 22:24:59 Emil Lenngren a écrit :
Forgot to mention that the 64-bit version is probably more bug-free than
the 32-bit version, since I myself have a 64-bit computer and therefore
have run only some few tests on 32-bit...
Le 23/05/2012 22:20, Emil Lenngren a écrit :
Hi everybody.
I've been working on a JIT-compiler for Gambas for some months, and I'm now
ready to release an alpha-version in the latest svn of Gambas.
The compiler uses LLVM to produce machine code for x86 or x86_64. You need
LLVM on your
Hello,
I try to update via SVN. Well, I launched ~ $ ./configure -C but I received
these notices:
||
|| Unable to find file: llvm/LLVMContext.h
|| Unable to find file: libLLVM-3.2svn.so
|| gb.jit is disabled
||
and at end:
||
|| THESE COMPONENTS ARE DISABLED:
|| - gb.jit
||
...What do I do
Hi!
Have you installed LLVM by following these instructions?:
http://gambas.svn.sourceforge.net/viewvc/gambas/gambas/trunk/gb.jit/README?view=markuppathrev=4759
svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm
cd llvm
mkdir build
cd build
../configure --prefix=/usr --enable-optimized
Thanks,
sorry, I followed sequence and then I launched:
~/llvm/build $ /configure --prefix=/usr --enable-optimized --enable-jit
--enable-shared
and I received:
bash: /configure: No such file or directory
What before .../configure ?
--- Mer 23/5/12, Emil Lenngren
The interpreter works without gb.jit. If gb.jit is unavailable, it falls
back to the interpreter instead.
/Emil
2012/5/23 Adrien Prokopowicz adrien.prokopow...@gmail.com
Le mercredi 23 mai 2012 22:24:59 Emil Lenngren a écrit :
Forgot to mention that the 64-bit version is probably more
Note the two dots (..) before configure ;)
../configure --prefix=/usr --enable-optimized --enable-jit --enable-shared
is what you should write
2012/5/23 Ru Vuott vu...@yahoo.it
Thanks,
sorry, I followed sequence and then I launched:
~/llvm/build $ /configure --prefix=/usr --enable-optimized
The command is ./configure, not /configure
--
William Cabrera
http://willicab.gnu.org.ve
2012/5/23 Ru Vuott vu...@yahoo.it
Thanks,
sorry, I followed sequence and then I launched:
~/llvm/build $ /configure --prefix=/usr --enable-optimized --enable-jit
--enable-shared
and I
OK ! ;-)
Thanks Emil !
--- Gio 24/5/12, Emil Lenngren emil.lenng...@gmail.com ha scritto:
Da: Emil Lenngren emil.lenng...@gmail.com
Oggetto: Re: [Gambas-user] New JIT Compiler.
A: mailing list for gambas users gambas-user@lists.sourceforge.net
Data: Giovedì 24 maggio 2012, 00:00
Sorry, is ../configure because is a script in the top directory
--
William Cabrera
http://willicab.gnu.org.ve
2012/5/23 William Cabrera cabrerawill...@gmail.com
The command is ./configure, not /configure
--
William Cabrera
http://willicab.gnu.org.ve
2012/5/23 Ru Vuott
Le mercredi 23 mai 2012 23:59:21 Emil Lenngren a écrit :
The interpreter works without gb.jit. If gb.jit is unavailable, it falls
back to the interpreter instead.
/Emil
2012/5/23 Adrien Prokopowicz adrien.prokopow...@gmail.com
Le mercredi 23 mai 2012 22:24:59 Emil Lenngren a écrit :
I think you need to run a ./reconf and a ./configure (with the appropriate
configure options, like --prefix=/usr etc.) in the /main directory.
2012/5/24 Adrien Prokopowicz adrien.prokopow...@gmail.com
Le mercredi 23 mai 2012 23:59:21 Emil Lenngren a écrit :
The interpreter works without
Well,
I finished installation. It was OK. I had not problems.
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can
add the word Fast on a separate line at the top of the class file.
Is this little example right ?
***
' Gambas Class file
Fast
Public Sub Form_Open()
.
.
*
...or not ?
Yes it is ;)
It should be added to the documentation ...
/Emil
2012/5/24 Ru Vuott vu...@yahoo.it
add the word Fast on a separate line at the top of the class file.
Is this little example right ?
***
' Gambas Class file
Fast
Public Sub
Le mercredi 23 mai 2012 23:12:35 Ru Vuott a écrit :
Well,
I finished installation. It was OK. I had not problems.
-- Live Security Virtual Conference
Exclusive live event will cover all the ways today's
Hi,
After the installation, I launched again: ~ $ ./configure -C ...because I was
updating via SVN my Gambas-3.
Well, I now received these notice from terminal:
||
|| gb.jit is disabled
||
and at end:
||
|| THESE COMPONENTS ARE DISABLED:
|| - gb.jit
||
...I do not understand I did
Le 24/05/2012 00:26, Emil Lenngren a écrit :
Go to the gb.jit directory. Then try to run ./configure without the -C flag.
If it doesn't work, please post the full output from the configure script.
I think it is hard to make a good configure script for llvm, because it is
not standardized
Go to the gb.jit directory. Then try
to run ./configure without the -C flag.
If it doesn't work, please post the full output from the
configure script.
Well, I followed your suggestion:
~/trunk/gb.jit $ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking
It seemed to work this time. Try to remove any gb.jit/DISABLED* files left
behind and then run make followed by sudo make install in the gb.jit
directory.
2012/5/24 Ru Vuott vu...@yahoo.it
Go to the gb.jit directory. Then try
to run ./configure without the -C flag.
If it doesn't work,
Le 23/05/2012 22:20, Emil Lenngren a écrit :
Hi everybody.
I've been working on a JIT-compiler for Gambas for some months, and I'm now
ready to release an alpha-version in the latest svn of Gambas.
The compiler uses LLVM to produce machine code for x86 or x86_64. You need
LLVM on your
On ubuntu, the llvm-3.0 package (which does not work for me) provides a
llvm-config in the directory /usr/lib/llvm-3.0/bin/llvm-config, and not in
/usr/bin. That directory was not in my $PATH.
And how to link to a library in a directory other than /usr/lib? I always
have to set the environment
Try to remove any gb.jit/DISABLED* files left
behind and then run make followed by sudo make install in
the gb.jit directory.
Excuse me, How can I remove those files ? Directly from their folder ? If yes,
which folder ?
In gambas top-level:
rm gb.jit/DISABLED*
;)
2012/5/24 Ru Vuott vu...@yahoo.it
Try to remove any gb.jit/DISABLED* files left
behind and then run make followed by sudo make install in
the gb.jit directory.
Excuse me, How can I remove those files ? Directly from their folder ? If
yes,
On Thu, 24 May 2012, Emil Lenngren wrote:
On ubuntu, the llvm-3.0 package (which does not work for me) provides a
llvm-config in the directory /usr/lib/llvm-3.0/bin/llvm-config, and not in
/usr/bin. That directory was not in my $PATH.
And how to link to a library in a directory other than
Haha. I don't really know exactly how the gambas build system works, but if
it installed the gb.jit.so file then it has compiled correctly, and you can
avoid that message ... :)
2012/5/24 Ru Vuott vu...@yahoo.it
In gambas top-level:
rm gb.jit/DISABLED*
;)
Excuse me, but I'm enought
..a moment ! I came back to look results:
~/trunk/gb.jit $ sudo make install
make[1]: Entering directory `/home/ploppo/trunk/gb.jit'
make[2]: Entering directory `/home/ploppo/trunk/gb.jit'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
You must issue a ./reconf before ./configure -C. I had the
same problem
after having issued a ./configure inside the gb.jit
directory.
--
Benoît Minisini
Thanks Benoît,
I'm trying again from ~/trunk $ ./reconf
...
You must issue a ./reconf before ./configure -C.
--
Benoît Minisini
SUCCESS - SUCCESS - SUCCESS !!!
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
Nice!
To test if it really works, try running this code:
Fast'On first row in the class file
Public Sub Main()
Dim i As Long
For i = 1 To 1
Next
Print It works!
End
If it immediately prints out It works!, it works. If the cpu is at 100%,
the jit compiler is not in use.
Le 23/05/2012 22:16, Benoît Minisini a écrit :
Le 23/05/2012 18:49, Jussi Lahtinen a écrit :
There is bug... if I try to trigger profiling with System.Profile = True
(option Activate profiling is not selected),
Gambas crashes with signal 6.
It should be fixed in revision #4761. Now
Le 24/05/2012 01:19, Emil Lenngren a écrit :
Nice!
To test if it really works, try running this code:
Fast'On first row in the class file
Public Sub Main()
Dim i As Long
For i = 1 To 1
Next
Print It works!
End
If it immediately prints out It works!, it
Good idea!
2012/5/24 Benoît Minisini gam...@users.sourceforge.net
Le 24/05/2012 01:19, Emil Lenngren a écrit :
Nice!
To test if it really works, try running this code:
Fast'On first row in the class file
Public Sub Main()
Dim i As Long
For i = 1 To 1
To test if it really works, try running this code:
Fast 'On first row in the class file
Public Sub Main()
Dim i As Long
For i = 1 To 1
Next
Print It works!
End
If it immediately prints out It works!, it works. If the
cpu is at 100%,
the jit compiler is not in
A question:
gb.jit has to show in components window of project ?
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers
No, it is loaded automatically by the interpreter.
Does the file /usr/lib/gambas3/gb.jit.so or
/usr/local/lib/gambas3/gb.jit.soexist?
2012/5/24 Ru Vuott vu...@yahoo.it
A question:
gb.jit has to show in components window of project ?
...no, it doesn't !!!
--- Gio 24/5/12, Emil Lenngren emil.lenng...@gmail.com ha scritto:
Da: Emil Lenngren emil.lenng...@gmail.com
Oggetto: Re: [Gambas-user] New JIT Compiler, Trying BIS
A: mailing list for gambas users gambas-user@lists.sourceforge.net
Data: Giovedì 24 maggio 2012,
Ok. So again :) what is the full output when you run ./configure in the
directory gb.jit, followed by make and sudo make install?
/Emil
2012/5/24 Ru Vuott vu...@yahoo.it
...no, it doesn't !!!
--- Gio 24/5/12, Emil Lenngren emil.lenng...@gmail.com ha scritto:
Da: Emil Lenngren
--- Gio 24/5/12, Emil Lenngren emil.lenng...@gmail.com ha scritto:
Da: Emil Lenngren emil.lenng...@gmail.com
Oggetto: Re: [Gambas-user] New JIT Compiler, Trying BIS
A: mailing list for gambas users gambas-user@lists.sourceforge.net
Data: Giovedì 24 maggio 2012, 02:12
Ok. So again :)
Well now bg.jit.so exists !
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include
Well now bg.jit.so exists !
I tried your code, but it doesn't work, and CPU is at 100%.
Maybe, I must re-updated gambas3 from ./reconf etc ?
--
Live Security Virtual Conference
Exclusive live event will cover all
Le 24/05/2012 02:24, Ru Vuott a écrit :
Well now bg.jit.so exists !
I tried your code, but it doesn't work, and CPU is at 100%.
Maybe, I must re-updated gambas3 from ./reconf etc ?
CPU must be at 100% (on one core) in both case. The JIT compiled
function is just faster.
Just try with
As long as you have the latest installed version of gbx3, you should be
fine.
Try to run the benchmark
http://gambasdoc.org/help/doc/benchmark/polynom
http://gambasdoc.org/help/doc/benchmark/polynomand add a line 'Fast' on
the line after #!/usr/bin/env gbs3
If your time is 10 seconds, the jit is
CPU must be at 100% (on one core) in both case. The JIT
compiled
function is just faster.
Just try with the FAST keyword, and without, and compare the
execution time.
--
Benoît Minisini
I have 4 core. I tried with and without the word: Fast, but one CPU stays
on 100%.
Try to run the benchmark
http://gambasdoc.org/help/doc/benchmark/polynom
http://gambasdoc.org/help/doc/benchmark/polynomand
...I don't understand that strange:
End
Dim I As Integer
For I = 1 To 10
Print Test(0.2)
Next
Try to run the benchmark
http://gambasdoc.org/help/doc/benchmark/polynom
http://gambasdoc.org/help/doc/benchmark/polynomand
I wrote it:
Public Sub Button1_Click()
Dim I As Integer
For I = 1 To 10
Print Test(0.2)
Next
End
Sub Test(X As Float) As Float
Dim Mu As Float = 10.0
Do you have the keyword Fast at the beginning?
How long did it take to run the code? A minute or a few seconds?
2012/5/24 Ru Vuott vu...@yahoo.it
Try to run the benchmark
http://gambasdoc.org/help/doc/benchmark/polynom
http://gambasdoc.org/help/doc/benchmark/polynomand
I wrote
Gambas scripts are runned by the gbs3 scripter, that takes your script,
makes a class of it, take the code outside all the functions
and put it in a Main method. It is then run normally by first compiling it
with gbc3 and then running it with gbx3 .. kind of .. ;)
See source code here:
Le 24/05/2012 02:32, Ru Vuott a écrit :
CPU must be at 100% (on one core) in both case. The JIT
compiled
function is just faster.
Just try with the FAST keyword, and without, and compare the
execution time.
--
Benoît Minisini
I have 4 core. I tried with and without the word: Fast,
The thing is that llvm optimizes away that loop (at least on my 64-bit
computer), so it should take 0 seconds ;)
2012/5/24 Benoît Minisini gam...@users.sourceforge.net
Le 24/05/2012 02:32, Ru Vuott a écrit :
CPU must be at 100% (on one core) in both case. The JIT
compiled
function is
Ok, so try to replace the JIT_load method in main/gbx/gbx_jit.c with this
one:
bool JIT_load(){
static bool loaded = FALSE;
static bool available = TRUE;
if (loaded)
return TRUE;
if (!available)
return FALSE;
COMPONENT_load(COMPONENT_create(gb.jit));
LIBRARY_get_interface_by_name(gb.jit,
If 1 is too big, try a lower value.
Regards,
--
Benoît Minisini
Good suggestion, Benoît !
I changed value: from 1 to 10
So, I tried with and without the word FAST. I can see the difference
!! :-)
I think it works ! Oh, yes, it works
Nice!
Try to see the difference with the Polygon benchmark as well.
2012/5/24 Ru Vuott vu...@yahoo.it
If 1 is too big, try a lower value.
Regards,
--
Benoît Minisini
Good suggestion, Benoît !
I changed value: from 1 to 10
So, I tried with
Do you have the keyword Fast at the
beginning?
How long did it take to run the code? A minute or a few
seconds?
A few seconds (5 or 6 I suppose.)
--
Live Security Virtual Conference
Exclusive live event will
Nice!
Try without 'Fast' and see how long time you can wait before you get bored
and abort it ;)
2012/5/24 Ru Vuott vu...@yahoo.it
Do you have the keyword Fast at the
beginning?
How long did it take to run the code? A minute or a few
seconds?
A few seconds (5 or 6 I suppose.)
Try to see the difference with the Polygon benchmark as
well.
Yes, I tried now without Fast... Emil... oh my God !
Totally incomparable !!
--
Live Security Virtual Conference
Exclusive live event will cover all the
Try without 'Fast' and see how long time you can wait before
you get bored
and abort it ;)
... Emil... you are crazy ! ;-) You want to make me fool ! :-D
--
Live Security Virtual Conference
Exclusive live event
Ok, component works.
Thanks Emil, thanks Benoit.
I go to slep ! ;-)
bye
Vuot
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has
Me to. Bye.
2012/5/24 Ru Vuott vu...@yahoo.it
Ok, component works.
Thanks Emil, thanks Benoit.
I go to slep ! ;-)
bye
Vuot
--
Live Security Virtual Conference
Exclusive live event will cover all
- Original Message -
From: Kevin Fishburnekevinfishbu...@eightvirtues.com
To: gambas-user@lists.sourceforge.net
Sent: Tuesday, 22 May, 2012 5:14:02 AM
Subject: [Gambas-user] gb3: OpenGL Rotate and Translate logic
Disclaimer: I've been working on this for days and neither Google nor
Thank you.
It works with lighttpd successfully.
Only need remove first string #!/usr/bin/env gbw3 from web-page.
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
Is there anywhere hosting for gambas web?
Do you know?
I do not want to learn more php, pyhon, ...
--
Alex.
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat
74 matches
Mail list logo