Re: [Gambas-user] RaspberryPi

2012-12-18 Thread John Rose
Rob & Emil,

It would be better if the armhf packages could be put into a ppa like 
nemh has done for Gambas3 with the relevant Ubuntu packages. I've 
noticed on someone's blog
(http://blog.anantshri.info/howto-add-ppa-in-debian/)
that a ppa repo can be accessed in Debian Squeeze. Do you think it's 
worth asking kendek (i.e. nemh) if he would be willing to host the armhf 
packages and transfer them from

http://ports.ubuntu.com/ubuntu-ports/pool/universe/g/gambas3/

?

-- 
Regards,
John
01902 331266

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Feature request: Component hunt disabler

2012-12-18 Thread M. Cs.
In fact I cannot catch the error, although it occurs randomly. I've tried
several times to create screenshots, but at that moment the error didn't
come up.

Csaba

2012/12/18 Benoît Minisini 

> Le 18/12/2012 01:01, Adrien Prokopowicz a écrit :
> >
> > Hi Benoît,
> >
> > I have the same problem since a few weeks now, and I just understood what
> > it was.
> > Actually, when I get a compilation warning, the IDE automatically jumps
> to
> > the position of the warning, and makes these "messy jumps".
> > I know that I should write my code so that I won't have any warning, but
> > this is really annoying.
> >
> >
> > Regards,
> >
>
> Warnings can be disabled in the project property dialog if they are
> unwanted.
>
> Regards,
>
> --
> Benoît Minisini
>
>
> --
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Another possible bug with GridView

2012-12-18 Thread M. Cs.
  If clr = "green" Then filer[i, 1].Background = Color.Green
  If clr = "yellow" Then filer[i, 1].Background = Color.Yellow
  If clr = "red" Then filer[i, 1].Background = Color.Red

This code clears the content of filer[i.1].Text instead of painting the
background into green, yellow or red. The filer[i,1] column is fed through
another string array with Data event. I think this fact should not affect
the content of the cell, since the array is intact.

Csaba
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Feature request: Component hunt disabler

2012-12-18 Thread Bruce
On Tue, 2012-12-18 at 11:26 +0100, M. Cs. wrote:
> In fact I cannot catch the error, although it occurs randomly. I've tried
> several times to create screenshots, but at that moment the error didn't
> come up.
> 
> Csaba
> 
Benoît,
I can confirm that this issue is true.  One instance I see it in is if a
procedure does not use a passed parameter value then a warning is
properly raised and the IDE either opens the source concerned or resets
the current line to "somewhere" in that class.  This seems to happen
whether or not warnings are activated.
More tomorrow.

-- 
Bruce 
Paddys-Hill dot net


--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Fwd: Re: Paginate doesn't clear page

2012-12-18 Thread Benoît Minisini
Le 18/12/2012 08:17, Rolf-Werner Eilert a écrit :
>
>
> Am 17.12.2012 21:36, schrieb Benoît Minisini:
>> Le 17/12/2012 12:18, Rolf-Werner Eilert a écrit :
>>> Benoit,
>>>
>>> Have you found time to verify this? Am I doing something wrong, or is it
>>> a feature? :-)
>>>
>>> Regards
>>>
>>> Rolf
>>>
>>
>> Maybe we misunderstood there. You must remove the drawing code from the
>> Paginate event. Did you do that?
>>
>> Paginate has nothing to do with actual drawing. Everything is done in
>> the Draw event handler, which is called once for each page.
>>
>> Each time the Draw event is raised, a new page is started on the printer
>> (except for the first one of course). If your page is not blank at
>> drawing start, only then this is a bug/
>>
>> So if you have a non-wanted behaviour after removing the drawing code
>> from the Paginate event handler, please send me a little project that
>> reproduces it, and tell me if you are using GTK+ or QT.
>>
>> Thanks.
>>
>
> Yes I did misunderstand the meaning of paginate here, I think.
>
> What is paginate good for, if I cannot try printing PRIOR TO actually
> printing and see how many pages I will get?
>
> So this is what I expected: When it is unclear how many pages my
> document will produce (maybe I want to print a longer list), I make a
> dry run using paginate, writing everything into the paginate "null
> device" to see "ok, we will get 4 pages out of it", so I can make things
> like "page 3/4" etc.
>
> But as you said, this is not what it is meant to be for, so please
> enlighten me about its real use, because I don't see any :-))
>
> Thank you!
>
> Rolf
>

Computing the number of pages depends on what you draw exactly. If you 
are drawing text, you usually use the Paint.TextSize() and 
Paint.RichTextSize() methods.

So you don't draw anything. You just compute the size of things you are 
going to draw.

Regards,

-- 
Benoît Minisini

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Another possible bug with GridView

2012-12-18 Thread Benoît Minisini
Le 18/12/2012 12:19, M. Cs. a écrit :
>If clr = "green" Then filer[i, 1].Background = Color.Green
>If clr = "yellow" Then filer[i, 1].Background = Color.Yellow
>If clr = "red" Then filer[i, 1].Background = Color.Red
>
> This code clears the content of filer[i.1].Text instead of painting the
> background into green, yellow or red. The filer[i,1] column is fed through
> another string array with Data event. I think this fact should not affect
> the content of the cell, since the array is intact.
>
> Csaba

Yep. At the moment, if you fill any property of a cell explicitely, then 
its Draw event is not raised. This is mutually exclusive.

As a workaround, you have to define the background inside the Draw event 
handler.

Regards,

-- 
Benoît Minisini

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Another possible bug with GridView

2012-12-18 Thread M. Cs.
Public Sub filer_Data(i As Integer, j As Integer)
Dim szin As String
Select Case j
Case 0
filer.Data.Text = content[i]
Case 1
filer.Data.Text = preview[i]
If scheck.Value = True Then
  szin = SecurityCheck(preview[i], i)
  If szin = "green" Then filer.Data.Background = Color.White
  If szin = "yellow" Then filer.Data.Background = Color.Yellow
  If szin = "red" Then filer.Data.Background = Color.Red
Endif
If bolder = True Then
  filer.Data.Font.Bold = True
Else
  filer.Data.Font.Bold = False
Endif
End Select
End

This is the Data event which fixes the issues as you told me. Yet there is
another problem. As you see, I've tried to set the cell's Font property to
bold (if this is a directory and not a file, just to understand the reason
why). Bolder is a global boolean which is set in another sub. Why do I have
only normal font thickness with both bolder values?

Csaba
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] RaspberryPi

2012-12-18 Thread Sebi
It's not possible to just upload a package to Launchpad, it has to be built 
there. PPAs can't built armhf by default, it must be enabled, and they only do 
it for official projects. I already asked them to enable arm builds for the 
Daily PPA and they wouldn't do it. 
-Original Message-
From: John Rose 
Date: Tue, 18 Dec 2012 10:16:37 
To: GambasUsers, MailingList
Reply-To: mailing list for gambas users 
Subject: Re: [Gambas-user] RaspberryPi

Rob & Emil,

It would be better if the armhf packages could be put into a ppa like 
nemh has done for Gambas3 with the relevant Ubuntu packages. I've 
noticed on someone's blog
(http://blog.anantshri.info/howto-add-ppa-in-debian/)
that a ppa repo can be accessed in Debian Squeeze. Do you think it's 
worth asking kendek (i.e. nemh) if he would be willing to host the armhf 
packages and transfer them from

http://ports.ubuntu.com/ubuntu-ports/pool/universe/g/gambas3/

?

-- 
Regards,
John
01902 331266

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Another possible bug with GridView

2012-12-18 Thread M. Cs.
I've discovered that there cannot be mixed usage of bold and non-bold fonts
in the same column of a gridView at the same time. Is this correct? I mean
like:

text1
*text2*
*text3*
text4

Can this be enabled somehow?

Thanks!

Csaba
2012/12/18 M. Cs. 

> Public Sub filer_Data(i As Integer, j As Integer)
> Dim szin As String
> Select Case j
> Case 0
> filer.Data.Text = content[i]
> Case 1
> filer.Data.Text = preview[i]
> If scheck.Value = True Then
>   szin = SecurityCheck(preview[i], i)
>   If szin = "green" Then filer.Data.Background = Color.White
>   If szin = "yellow" Then filer.Data.Background = Color.Yellow
>   If szin = "red" Then filer.Data.Background = Color.Red
> Endif
> If bolder = True Then
>   filer.Data.Font.Bold = True
> Else
>   filer.Data.Font.Bold = False
> Endif
> End Select
> End
>
> This is the Data event which fixes the issues as you told me. Yet there is
> another problem. As you see, I've tried to set the cell's Font property to
> bold (if this is a directory and not a file, just to understand the reason
> why). Bolder is a global boolean which is set in another sub. Why do I have
> only normal font thickness with both bolder values?
>
> Csaba
>
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Fwd: Re: Paginate doesn't clear page

2012-12-18 Thread Rolf-Werner Eilert


Am 18.12.2012 15:11, schrieb Benoît Minisini:
> Le 18/12/2012 08:17, Rolf-Werner Eilert a écrit :
>>
>>
>> Am 17.12.2012 21:36, schrieb Benoît Minisini:
>>> Le 17/12/2012 12:18, Rolf-Werner Eilert a écrit :
 Benoit,

 Have you found time to verify this? Am I doing something wrong, or is it
 a feature? :-)

 Regards

 Rolf

>>>
>>> Maybe we misunderstood there. You must remove the drawing code from the
>>> Paginate event. Did you do that?
>>>
>>> Paginate has nothing to do with actual drawing. Everything is done in
>>> the Draw event handler, which is called once for each page.
>>>
>>> Each time the Draw event is raised, a new page is started on the printer
>>> (except for the first one of course). If your page is not blank at
>>> drawing start, only then this is a bug/
>>>
>>> So if you have a non-wanted behaviour after removing the drawing code
>>> from the Paginate event handler, please send me a little project that
>>> reproduces it, and tell me if you are using GTK+ or QT.
>>>
>>> Thanks.
>>>
>>
>> Yes I did misunderstand the meaning of paginate here, I think.
>>
>> What is paginate good for, if I cannot try printing PRIOR TO actually
>> printing and see how many pages I will get?
>>
>> So this is what I expected: When it is unclear how many pages my
>> document will produce (maybe I want to print a longer list), I make a
>> dry run using paginate, writing everything into the paginate "null
>> device" to see "ok, we will get 4 pages out of it", so I can make things
>> like "page 3/4" etc.
>>
>> But as you said, this is not what it is meant to be for, so please
>> enlighten me about its real use, because I don't see any :-))
>>
>> Thank you!
>>
>> Rolf
>>
>
> Computing the number of pages depends on what you draw exactly. If you
> are drawing text, you usually use the Paint.TextSize() and
> Paint.RichTextSize() methods.
>
> So you don't draw anything. You just compute the size of things you are
> going to draw.
>
> Regards,
>


Sure, that way it is possible, too. But then, what is paginate actually 
good for? I simply wish to understand... :-)

Rolf

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] LLVM compilation error

2012-12-18 Thread Tobias Boege
Hi Emil,

Hans gave me some output from his gb.jit compilation attempt:

--8<---

make[4]: Betrete Verzeichnis '/home/hans/3.4/gb.jit/src'
  CXXgb_jit_la-jit_codegen.lo
In file included from jit_codegen.cpp:34:0:
jit.h:42:36: fatal error: llvm/Support/IRBuilder.h: No such file or
directory
compilation terminated.
make[4]: *** [gb_jit_la-jit_codegen.lo] Fehler 1
make[4]: Verlasse Verzeichnis '/home/hans/3.4/gb.jit/src'
make[3]: *** [all-recursive] Fehler 1
make[3]: Verlasse Verzeichnis '/home/hans/3.4/gb.jit'
make[2]: *** [all] Fehler 2
make[2]: Verlasse Verzeichnis '/home/hans/3.4/gb.jit'
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlasse Verzeichnis '/home/hans/3.4'
make: *** [all] Fehler 2
hans@linux:~/3.4$ ^C

--8<---

He said that he installed LLVM's SVN snapshot according to your README.

(Despite your use of the #include "CWD_path" syntax for which I can't think
of a logical reason except to make people move their LLVM headers randomly
and erroneously to the Gambas installation when they glance at the sources
and don't quite understand exactly (as Hans did, as a real world example))
there is clearly an anomaly in Hans' installation or else the error would
not show up.

You said that LLVM is installed differently on different distributions so
it might be of interest for you where the file is on his machine:

$ find /usr -name IRBuilder.h
/usr/include/llvm/IRBuilder.h

This is from "UBUNTU 12.04 with Gnome" as he says.

Hope you can fix the compilation with this information for yet another
configuration ;-)

Regards,
Tobi

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Translator question

2012-12-18 Thread Willy Raets
Hi,

I have an application (Gambas 2) where I use Internationalization.
Application original is English and translations contain 7 other
European languages.

In the app on one form I use W to indicate West and on another form I
use W to indicate Watts.

In Bulgarian translation West (W) gets translated to this: 3
Problem is that now Watt (W) gets translated too, but should remain W !!

Is there a manner of getting around this?
I mean can I indicate that one of the two W doesn't get translated (the
watt in this case as it is an international symbol used in all European
languages, so never needs to be translated, West on the other hand seems
to differ from language to language)

Thanks,

Willy



--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Translator question

2012-12-18 Thread Matti
Can you put an empty space after one of the Ws?
"W" and "W " can be translated differently.


Am 18.12.2012 18:14, schrieb Willy Raets:
> Hi,
>
> I have an application (Gambas 2) where I use Internationalization.
> Application original is English and translations contain 7 other
> European languages.
>
> In the app on one form I use W to indicate West and on another form I
> use W to indicate Watts.
>
> In Bulgarian translation West (W) gets translated to this: 3
> Problem is that now Watt (W) gets translated too, but should remain W !!
>
> Is there a manner of getting around this?
> I mean can I indicate that one of the two W doesn't get translated (the
> watt in this case as it is an international symbol used in all European
> languages, so never needs to be translated, West on the other hand seems
> to differ from language to language)
>
> Thanks,
>
> Willy
>
>
>
> --
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Translator question

2012-12-18 Thread Willy Raets
On Tue, 2012-12-18 at 19:38 +0100, Matti wrote:
> Can you put an empty space after one of the Ws?
> "W" and "W " can be translated differently.

Clever solution :)

Thanks,

Willy


--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gb.jit can't be compiled

2012-12-18 Thread Flachy Joe
Hi,
Some fixes for errors when compiling on debian sid (with llvm-3.2~rc3.1 
packages) :

 In jit_gambas_pass.cpp line 28 and jit.h line 36 : change 
/llvm/Support/IRBuilder.h to /llvm/IRBuilder.h

 In jit_codegen.cpp, line 3617 and line 3668 : change llvm:Attribute 
to llvm::Attributes

Regards.


Le 26/11/2012 01:13, Emil Lenngren a écrit :
> It's a pity that almost all linux distributions put the llvm libs in
> different places. Also, some distributions use the static library, and some
> of them use a dynamic library.
>
> Can you see where your package manager has installed the llvm files?
>
> /Emil
>
> 2012/11/25 Matti
>
>> Didn't care about this component for a while.
>> Now I installed - following the wiki - llvm 3.1-2.3.1 and llvm-devel
>> 3.1-2.3.1
>>
>> 'make' now complains about a missing 'libLLVM-3.1' that can't be found in
>> my
>> (Suse) repos. The informations in the web are a bit confusing.
>> Anybody knows where to download the correct libLLVM for Suse?
>>
>> Thanks
>> Matti
>>
>>
>> --
>> Monitor your physical, virtual and cloud infrastructure from a single
>> web console. Get in-depth insight into apps, servers, databases, vmware,
>> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
>> Pricing starts from $795 for 25 servers or applications!
>> http://p.sf.net/sfu/zoho_dev2dev_nov
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
> --
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Translator question

2012-12-18 Thread Jesus
El 18/12/12 18:14, Willy Raets escribió:
> Hi,
>
> I have an application (Gambas 2) where I use Internationalization.
> Application original is English and translations contain 7 other
> European languages.
>
> In the app on one form I use W to indicate West and on another form I
> use W to indicate Watts.
>
> In Bulgarian translation West (W) gets translated to this: 3
> Problem is that now Watt (W) gets translated too, but should remain W !!
>
> Is there a manner of getting around this?
> I mean can I indicate that one of the two W doesn't get translated (the
> watt in this case as it is an international symbol used in all European
> languages, so never needs to be translated, West on the other hand seems
> to differ from language to language)
>
> Thanks,
>
> Willy
>

Hi all

 From QT4 help http://qt-project.org/doc/qt-4.8/QTranslator.html

"-The disambiguation - an optional string that helps disambiguate 
different uses of the same text in the same context."

Not sure if it would be possible in gambas, but in Qt4 itself and Qt4 
Designer (the native designer tool of Qt4 development suite) there is a 
property for every widget called *disambiguation* relative to its 
translation, which allow to distinguish between several meanings of the 
same string into different[?] contexts.

Wonder if it would be implemented in gambas some day... Benoit?

Regards

-- 
Jesus Guardon

--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Is it possible a portable Gambas?

2012-12-18 Thread Maria
Hi,

In the gambas-es.org comunity has appeared this question several times and I 
was wondering if here had someone how has already tryed it.

If you put all gambas installation files in a folder, is there any posibility 
to load all gambas environment from it?

For example:

In
/home/user/gambas/

you'd have something like:

/home/user/gambas/bin
/home/user/gambas/lib
/home/user/gambas/share

And we try to load /home/usr/gambas/bin/gambas

Some users speak about a GB_DIR variable, and LD_LIBRARY_PATH, but we have made 
several tryes with no results.

It would be great if it was possible, because you could carry your gambas copy 
in a pendrive without worrying about installations, repositories, versions, 
etc...
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gb.jit can't be compiled

2012-12-18 Thread Emil Lenngren
Arghh, why do they have to rename classes and files?? That breaks API/ABI
compatibility for many projects...

When llvm 3.2 is released, I shall go through everything and make sure that
gb.jit works correctly.

/Emil

2012/12/18 Flachy Joe 

> Hi,
> Some fixes for errors when compiling on debian sid (with llvm-3.2~rc3.1
> packages) :
>
>  In jit_gambas_pass.cpp line 28 and jit.h line 36 : change
> /llvm/Support/IRBuilder.h to /llvm/IRBuilder.h
>
>  In jit_codegen.cpp, line 3617 and line 3668 : change llvm:Attribute
> to llvm::Attributes
>
> Regards.
>
>
> Le 26/11/2012 01:13, Emil Lenngren a écrit :
> > It's a pity that almost all linux distributions put the llvm libs in
> > different places. Also, some distributions use the static library, and
> some
> > of them use a dynamic library.
> >
> > Can you see where your package manager has installed the llvm files?
> >
> > /Emil
> >
> > 2012/11/25 Matti
> >
> >> Didn't care about this component for a while.
> >> Now I installed - following the wiki - llvm 3.1-2.3.1 and llvm-devel
> >> 3.1-2.3.1
> >>
> >> 'make' now complains about a missing 'libLLVM-3.1' that can't be found
> in
> >> my
> >> (Suse) repos. The informations in the web are a bit confusing.
> >> Anybody knows where to download the correct libLLVM for Suse?
> >>
> >> Thanks
> >> Matti
> >>
> >>
> >>
> --
> >> Monitor your physical, virtual and cloud infrastructure from a single
> >> web console. Get in-depth insight into apps, servers, databases, vmware,
> >> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> >> Pricing starts from $795 for 25 servers or applications!
> >> http://p.sf.net/sfu/zoho_dev2dev_nov
> >> ___
> >> Gambas-user mailing list
> >> Gambas-user@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >>
> >
> --
> > Monitor your physical, virtual and cloud infrastructure from a single
> > web console. Get in-depth insight into apps, servers, databases, vmware,
> > SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> > Pricing starts from $795 for 25 servers or applications!
> > http://p.sf.net/sfu/zoho_dev2dev_nov
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> >
>
>
> --
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gb.jit can't be compiled

2012-12-18 Thread Jim Brown
Hi

Thanks for this, it works for my Ubuntu install also.  A couple of weeks 
ago I decided to implement jit into my build but after downloading and 
installing llvm I could not get it to install because of errors with 
IRBuilder.  Tonight has been the first build that has completed for some 
time.

Regards
Jim


On 18/12/2012 18:54, Flachy Joe wrote:
> Hi,
> Some fixes for errors when compiling on debian sid (with llvm-3.2~rc3.1
> packages) :
>
>   In jit_gambas_pass.cpp line 28 and jit.h line 36 : change
> /llvm/Support/IRBuilder.h to /llvm/IRBuilder.h
>
>   In jit_codegen.cpp, line 3617 and line 3668 : change llvm:Attribute
> to llvm::Attributes
>
> Regards.
>
>
> Le 26/11/2012 01:13, Emil Lenngren a écrit :
>> It's a pity that almost all linux distributions put the llvm libs in
>> different places. Also, some distributions use the static library, and some
>> of them use a dynamic library.
>>
>> Can you see where your package manager has installed the llvm files?
>>
>> /Emil
>>
>> 2012/11/25 Matti
>>
>>> Didn't care about this component for a while.
>>> Now I installed - following the wiki - llvm 3.1-2.3.1 and llvm-devel
>>> 3.1-2.3.1
>>>
>>> 'make' now complains about a missing 'libLLVM-3.1' that can't be found in
>>> my
>>> (Suse) repos. The informations in the web are a bit confusing.
>>> Anybody knows where to download the correct libLLVM for Suse?
>>>
>>> Thanks
>>> Matti
>>>
>>>
>>> --
>>> Monitor your physical, virtual and cloud infrastructure from a single
>>> web console. Get in-depth insight into apps, servers, databases, vmware,
>>> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
>>> Pricing starts from $795 for 25 servers or applications!
>>> http://p.sf.net/sfu/zoho_dev2dev_nov
>>> ___
>>> Gambas-user mailing list
>>> Gambas-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>
>> --
>> Monitor your physical, virtual and cloud infrastructure from a single
>> web console. Get in-depth insight into apps, servers, databases, vmware,
>> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
>> Pricing starts from $795 for 25 servers or applications!
>> http://p.sf.net/sfu/zoho_dev2dev_nov
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>>
> --
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user


--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gb.jit can't be compiled

2012-12-18 Thread Emil Lenngren
Nice :)
What was the first LLVM version you noticed gb.jit didn't work? Or did you
use the LLVM trunk?

/Emil

2012/12/19 Jim Brown 

> Hi
>
> Thanks for this, it works for my Ubuntu install also.  A couple of weeks
> ago I decided to implement jit into my build but after downloading and
> installing llvm I could not get it to install because of errors with
> IRBuilder.  Tonight has been the first build that has completed for some
> time.
>
> Regards
> Jim
>
>
> On 18/12/2012 18:54, Flachy Joe wrote:
> > Hi,
> > Some fixes for errors when compiling on debian sid (with llvm-3.2~rc3.1
> > packages) :
> >
> >   In jit_gambas_pass.cpp line 28 and jit.h line 36 : change
> > /llvm/Support/IRBuilder.h to /llvm/IRBuilder.h
> >
> >   In jit_codegen.cpp, line 3617 and line 3668 : change llvm:Attribute
> > to llvm::Attributes
> >
> > Regards.
> >
> >
> > Le 26/11/2012 01:13, Emil Lenngren a écrit :
> >> It's a pity that almost all linux distributions put the llvm libs in
> >> different places. Also, some distributions use the static library, and
> some
> >> of them use a dynamic library.
> >>
> >> Can you see where your package manager has installed the llvm files?
> >>
> >> /Emil
> >>
> >> 2012/11/25 Matti
> >>
> >>> Didn't care about this component for a while.
> >>> Now I installed - following the wiki - llvm 3.1-2.3.1 and llvm-devel
> >>> 3.1-2.3.1
> >>>
> >>> 'make' now complains about a missing 'libLLVM-3.1' that can't be found
> in
> >>> my
> >>> (Suse) repos. The informations in the web are a bit confusing.
> >>> Anybody knows where to download the correct libLLVM for Suse?
> >>>
> >>> Thanks
> >>> Matti
> >>>
> >>>
> >>>
> --
> >>> Monitor your physical, virtual and cloud infrastructure from a single
> >>> web console. Get in-depth insight into apps, servers, databases,
> vmware,
> >>> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> >>> Pricing starts from $795 for 25 servers or applications!
> >>> http://p.sf.net/sfu/zoho_dev2dev_nov
> >>> ___
> >>> Gambas-user mailing list
> >>> Gambas-user@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >>>
> >>
> --
> >> Monitor your physical, virtual and cloud infrastructure from a single
> >> web console. Get in-depth insight into apps, servers, databases, vmware,
> >> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> >> Pricing starts from $795 for 25 servers or applications!
> >> http://p.sf.net/sfu/zoho_dev2dev_nov
> >> ___
> >> Gambas-user mailing list
> >> Gambas-user@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >>
> >>
> >
> --
> > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> > Remotely access PCs and mobile devices and provide instant support
> > Improve your efficiency, and focus on delivering more value-add services
> > Discover what IT Professionals Know. Rescue delivers
> > http://p.sf.net/sfu/logmein_12329d2d
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
>
> --
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user