Re: [Gambas-user] Drawing sector

2012-12-07 Thread Jussi Lahtinen
 Fixed in revision #5415.


Something is still different from the original behaviour.
I use same circle commands to draw pie chart and it still fails...

Test output:

Area num. 0: in rads; 0 to 0.89759700342775
Area num. 1: in rads; 0.89759700342775 to 1.79519400685551
Area num. 2: in rads; 1.79519400685551 to 2.69279101028326
Area num. 3: in rads; 2.69279101028326 to 3.59038801371102
Area num. 4: in rads; 3.59038801371102 to 4.48798501713877
Area num. 5: in rads; 4.48798501713877 to 5.38558202056653
Area num. 6: in rads; 5.38558202056653 to 6.28317902399428
Area num. 7: in rads; 6.28317902399428 to 0

It seems that drawing area 7 cover the whole chart.
So it would be:
Draw.Circle(106, 106, 105, 6.28317902399428, 0)

6.28317902399428 is same as Pi(2) or 360 degrees, which means start is same
as end.

I think whole circle should be drawn with this:
Draw.Circle(106, 106, 105, 0, 6.28317902399428)

And this shouldn't draw anything:
Draw.Circle(106, 106, 105, 6.28317902399428, 0)


Jussi
--
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] Dialog.OpenFile raises signal #6

2012-12-07 Thread bill-lancaster
Sorry for the delay.
Have recompiled GB3.
Here is the bug report:-

Starting program: /usr/local/bin/gbx3 
[Thread debugging using libthread_db enabled]
Using host libthread_db library /lib/i386-linux-gnu/libthread_db.so.1.
gb.qt4: warning: unable to load Qt translation: en_GB.UTF-8
Got bus address: 
unix:abstract=/tmp/dbus-5wVnJsr0X8,guid=593b67c0f21bfb4117da3f380024 
Connected to accessibility bus at: 
unix:abstract=/tmp/dbus-5wVnJsr0X8,guid=593b67c0f21bfb4117da3f380024 
Registered DEC:  true 
Registered event listener change listener:  true 
^[[B^[[B^[[B[New Thread 0xb1ca9b40 (LWP 4298)]
QSpiAccessible::accessibleEvent not handled:  8008  obj:  QObject(0x0)  
invalid interface! 
QSpiAccessible::accessibleEvent not handled:  8008  obj: 
QSidebar(0x8385218, name = sidebar) sidebar 
[New Thread 0xb124fb40 (LWP 4299)]
FIXME: handle dialog start. 
[New Thread 0xb02a0b40 (LWP 4300)]
Interface is not valid 
ASSERT failure in : Got an update for an invalid inteface. Investigate
this., file atspiadaptor.cpp, line 899

Program received signal SIGABRT, Aborted.
0xb7fdd424 in __kernel_vsyscall ()

Regards

Bill



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Dialog-OpenFile-raises-signal-6-tp40108p40272.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
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] FTranslate / btnNext works strange

2012-12-07 Thread Matti
When I open a project translation, the cursor jumps at random to some 
not-translated string, not the first one.
Same when I use btnNext: mostly not the next one is shown, but the last one.
It gets better the more % are translated, but it's irritating.
btnPrevious seems to work correctly.
Matti

--
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] Issue 363 in gambas: Command Button Transparency Found

2012-12-07 Thread gambas
Status: New
Owner: 
Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any  
Desktop-Any GUI-Any

New issue 363 by t4769_a...@cogeco.ca: Command Button Transparency Found
http://code.google.com/p/gambas/issues/detail?id=363

1) Describe the problem.
Command button background disappears (not visible) after cron job or  
screensaver use.

2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate):
[System]
OperatingSystem=Linux
Kernel=3.2.0-35-generic-pae
Architecture=i686
Memory=3095920 kB
DistributionVendor=Ubuntu
DistributionRelease=Kubuntu 12.04.1 LTS
Desktop=KDE4

[Gambas 2]
Version=2.23.1
Path=/usr/bin/gbx2

[Gambas 3]
Version=3.3.4
Path=/usr/local/bin/gbx3

[Libraries]
Qt4=libQtCore.so.4.8.2
GTK+=libgtk-x11-2.0.so.0.2400.10

3) Provide a little project that reproduces the bug or the crash.

4) If your project needs a database, try to provide it, or part of it.

5) Explain clearly how to reproduce the bug or the crash.
graphics attached / before  after - I created a Gambas project with a  
number of command buttons. The 'Today' button retrieves a 48x48 icon with  
today's date in the icon so when the project runs today's date is shown in  
the icon of 'Today.'

This works well in IDE. Works well in starting the compiled version.  
Unfortunately it doesn't work from a cron job or when the visible window  
goes away after the screensaver activity. The background of the command  
button does not show. Nothing. Rien.

This is a good effect if it can be controlled unfortunately when the  
background goes, I cannot bring it back.

I cannot find an option for command button transparency but I may have  
inadvertently found it!

This is a definite bug but who wants to claim ownership. I'll start with  
Gambas and then move on.

6) By doing that carefully, you have done 50% of the bug fix job!

IMPORTANT NOTE: if you encounter several different problems or bugs, (for
example, a bug in your project, and an interpreter crash while debugging
it), please create distinct issues!


Attachments:
gambas-good.png  43.4 KB
gambas-bad.png  49.1 KB


--
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] IMPORTANT! Sourceforge upgrade

2012-12-07 Thread Benoît Minisini
Hi,

Sourceforge has upgraded the Gambas project from its old management 
software to the new one.

Consequently, the subversion repository has been migrated to a new 
place, and then all the checkout you have done on your local computer 
is now invalid, and you must do a full checkout again.

Alas, this process took a long time, and I forgot to send a mail to the 
user mailing-list to warn people *not* to do any commit. (I did on the 
developer maling-list)

So I'm afraid that the revision #5417 with German translations has been 
lost and must be committed again to the new repository.

Here is the new command for doing the checkout. I will try it soon on my 
own machine...

The information is on https://sourceforge.net/p/gambas/code/

For a read-only access:

$ svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk

For a read-write access: (I don't know why there is a difference!)

$ svn checkout --username=username 
svn+ssh://gam...@svn.code.sf.net/p/gambas/code/gambas/trunk

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] IMPORTANT! Sourceforge upgrade

2012-12-07 Thread Sebi
Until I sort out the automatic import of the SVN repository, the Daily Builds 
PPA will be stuck at revision #5418 (somehow it got imported). I'm not sure if 
I can just change the repository URL, so the reimport is most likely going to 
take some time. 
 
-Original Message-
From: Benoît Minisini gam...@users.sourceforge.net
Date: Sat, 08 Dec 2012 02:30:26 
To: mailing list for gambas usersgambas-user@lists.sourceforge.net
Reply-To: mailing list for gambas users gambas-user@lists.sourceforge.net
Subject: [Gambas-user] IMPORTANT! Sourceforge upgrade

Hi,

Sourceforge has upgraded the Gambas project from its old management 
software to the new one.

Consequently, the subversion repository has been migrated to a new 
place, and then all the checkout you have done on your local computer 
is now invalid, and you must do a full checkout again.

Alas, this process took a long time, and I forgot to send a mail to the 
user mailing-list to warn people *not* to do any commit. (I did on the 
developer maling-list)

So I'm afraid that the revision #5417 with German translations has been 
lost and must be committed again to the new repository.

Here is the new command for doing the checkout. I will try it soon on my 
own machine...

The information is on https://sourceforge.net/p/gambas/code/

For a read-only access:

$ svn checkout svn://svn.code.sf.net/p/gambas/code/gambas/trunk

For a read-write access: (I don't know why there is a difference!)

$ svn checkout --username=username 
svn+ssh://gam...@svn.code.sf.net/p/gambas/code/gambas/trunk

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


Re: [Gambas-user] IMPORTANT! Sourceforge upgrade

2012-12-07 Thread Benoît Minisini
Le 08/12/2012 03:36, Sebi a écrit :
 Until I sort out the automatic import of the SVN repository, the
 Daily Builds PPA will be stuck at revision #5418 (somehow it got
 imported). I'm not sure if I can just change the repository URL, so
 the reimport is most likely going to take some time.

I don't know. Sourceforge to do a fresh checkout from the new URL. If 
the Daily Builds do that, you just have to change the SVN url and that's 
all (the read-only access url needs no user name and no password).

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