[Gambas-user] Architecture page on gambasdoc.org

2012-12-16 Thread Tobias Boege
Hi Benoit and gambasdoc.org people,

Hans would like to propose his version of the Gambas architecture diagram
for gambasdoc.org. The original is found at [0] and a picture of his is at
[1] -- you're right, it's inside a program but only look at it. He has the
sources and I'd translate it into Englisch and put it up. What do you think?

BTW: I looked at that page with Firefox 17.0 and Konqueror 3.5.10 on
Trinity 3.5.13 a few minutes ago. There were no pictures at all today. I
don't know what magic you normally use there but I couldn't even find a
picture in the sources of that page (neither  nor a named  or so).

Regards,
Tobi

[0] http://gambasdoc.org/help/doc/arch?v3
[1] http://www.gambas-buch.de/dw/doku.php?id=k16:k16.2:start#projekt

--
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] Architecture page on gambasdoc.org

2012-12-16 Thread Tobias Boege
On Sun, 16 Dec 2012, Tobias Boege wrote:
> Hi Benoit and gambasdoc.org people,
> 
> Hans would like to propose his version of the Gambas architecture diagram
> for gambasdoc.org. The original is found at [0] and a picture of his is at
> [1] -- you're right, it's inside a program but only look at it. He has the
> sources and I'd translate it into Englisch and put it up. What do you think?
> 
> BTW: I looked at that page with Firefox 17.0 and Konqueror 3.5.10 on
> Trinity 3.5.13 a few minutes ago. There were no pictures at all today. I
> don't know what magic you normally use there but I couldn't even find a
> picture in the sources of that page (neither  nor a named  or so).
> 
> Regards,
> Tobi
> 
> [0] http://gambasdoc.org/help/doc/arch?v3
> [1] http://www.gambas-buch.de/dw/doku.php?id=k16:k16.2:start#projekt

Heh, actually Hans' text is a translation of the official page I made a few
days ago. So only look at the colours ;-)

--
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] #11 with Debug-Watch Window for 'Paint'

2012-12-16 Thread Charlie Reinl
Am Sonntag, den 16.12.2012, 00:00 +0100 schrieb Benoît Minisini:
> Le 15/12/2012 21:16, Charlie Reinl a écrit :
> > Salut,
> >
> > I get a #11 when start via F8 the Painting-Example (Anti-Aliased
> > Drawing) and a Debug-Watch Window for 'Paint' is open(opens).
> >
> > But I can start with F5 and close that Debug-Watch Window.
> >
> > If no Debug-Watch Window for 'Paint' is open, you can do a F8 and
> > dbl-click on the first Paint you find, that also crashes the gbx.
> >
> 
> Fixed in revision #5440.
> 
> Regards,
> 

Thanks., no more crash.
-- 
Amicalement
Charlie


--
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] Gambas IDE application packager and dependency issue

2012-12-16 Thread Willy Raets
On Sun, 2012-12-16 at 14:47 +0100, Willy Raets wrote:
> So my main question:
> Shouldn't leaving max. version dependency empty result in NO max.
> version dependency instead of packager filling in something?
> Is this a bug or intentional?

Little extra note:
- I used Gambas 3.3.4 to package the application mentioned in previous
mail.

Question:
- If it is a bug can the fix please be back ported to 3.3.5?

Thanks again,

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] Paint again

2012-12-16 Thread Benoît Minisini
Le 16/12/2012 14:11, Charlie Reinl a écrit :
> Salut,
>
> as you can see on Bildschirmfoto.png the Paint.Background is changed  to
> Color.Cyan (65535) then on Bildschirmfoto-1.png with  Paint.Brush =
> Paint.Color(0) the Paint.Brush has changed, but also the
> Paint.Background was set to 0.
> Bildschirmfoto-2.png is the result.
>
> So what is it, a bug in Paint, in Debug-Window or bad use ?
>

Paint.Background is a synonymous of Paint.Brush with a single color.

-- 
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


[Gambas-user] Expander conditional Show

2012-12-16 Thread M. Cs.
Hello!
I am curious to know whether there are possibilities to make Expander's
expanding conditional.
There are defined event _Show(), which is happening between the mouse's
click and Expander's expand, and similarly the event _Hide().
But none of them offer possibility to intercept the opening/closure
conditionaly,

E.G: I would like to let Expander expand with click if exactly one item of
a list is selected. How to solve this?

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


[Gambas-user] Expander cannot be disabled.

2012-12-16 Thread M. Cs.
I think this may be a bug:
I have the Expander initially disabled by IDE, yet during runtime it
accepts mouse clicks.

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


[Gambas-user] Feature request: Component hunt disabler

2012-12-16 Thread M. Cs.
Hello Benoit,
I would like to ask you to set a default behavior for the Gambas3 IDE:

When I do some changes either in code editor in let say Public Sub MyAct(),
or in form designer on a component Combobox1 after hitting F5 and checking
the difference, the IDE drops me either to a random part of code or to
FMain's properties. This is very annoying and can take quite a lot of time
to search for the code I've just edited or to find a component in Hierarchy
tree. Can this kind of behavior be healed. I would like to continue the
code writing/ designing right there where I was before the Compile&Run.

Thanks!

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] Bug on MediaTagList with some files

2012-12-16 Thread Benoît Minisini
Le 16/12/2012 04:27, Adrien Prokopowicz a écrit :
> Le Sat, 15 Dec 2012 22:42:29 -, Benoît Minisini
>  a écrit:
>
>> Le 16/12/2012 00:34, Adrien Prokopowicz a écrit :
>>> Le Sat, 15 Dec 2012 22:09:31 -, Benoît Minisini
>>>  a écrit:
>>>
 Le 15/12/2012 15:46, Adrien Prokopowicz a écrit :
> Le Sat, 15 Dec 2012 02:28:13 -, Benoît Minisini
>  a écrit:
>
>> Le 15/12/2012 03:28, Adrien Prokopowicz a écrit :
>>> Hi Benoît,
>>>
>>> I'm trying to get the tags on each audio file on my music library,
>>> but
>>> some files make the MediaTagList._get() function crash with the
>>> error
>>> "No
>>> return value".
>>>
>>> As an example, you can try to open and play the following file with
>>> the
>>> MediaPlayer example :
>>>
>>> http://dl.free.fr/isvWMm7mq
>>>
>>> Regards,
>>>
>>
>> It should be fixed in revision #5436.
>>
>> Regards,
>>
>
> It works for that file, but with another one I have a new error
> message
> now : "Unsupported property datatype".
>
> Here is the file : http://dl.free.fr/niWYCQNM3
>
> Regards,
>

 Is it better with revision #5439?

>>>
>>> Much better, thanks. :-)
>>>
>>> Just a last little question on gb.media (I'm discovering GStreamer) :
>>> I'd
>>> like to get the tags of all the files in my music folder, and to store
>>> them into a compressed XML file, so that I won't have to fully rescan
>>> the
>>> folder each time I start my app.
>>>
>>> The only way I found to retreive the tags is to have a second
>>> MediaPlayer
>>> in background, to set its URL property and to call its Pause() method.
>>> When I see that the player has reached the Pause state (with the State
>>> event), I stop the player and then repeat the process for the next file.
>>>
>>> Do you know if there is a "cleaner" method (that doesn't open and close
>>> an
>>> audio stream for each file and make PulseAudio overloaded) ?
>>>
>>> Thanks in advance (and for your work). :-)
>>>
>>> Regards,
>>>
>>
>> The tags are emitted while the media is playing in GStreamer, so try to
>> replace the audio output of the MediaPlayer by some GStreamer element
>> that does nothing (look in the documentation, it must exist). That way,
>> you won't send any sound anywhere.
>>
>> Otherwise I don't know if there is another way with GStreamer.
>>
>> Regards,
>>
>
> Yes, that works much faster (with the "fakesink" element), thank you !
> Just a note : I can't create a MediaControl without a parent (it gives me
> a Null Object error) but the parent parameter is marked as optional. So as
> a workaround I have to create a "dummy" mediaplayer that will actually
> contain my fake output element.

Why don't you create the fakesink element directly into the MediaPlayer 
instead of using another one?

>
> And in the IDE (I don't know either if this is a bug), when the Null
> object occurs into the declaration part of the class (or outside of any
> function/procedure), the balloon pops out somewhere inside the stack
> backtrace panel. (I first thought that the IDE itself was crashing ...)
>
> Regards,
>

Do you have a screenshot ? Or send me a mail in french with more details...

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

2012-12-16 Thread Benoît Minisini
Le 15/12/2012 21:51, Matti a écrit :
> No. when opening a project translation, the cursor still jumps to some
> untranslated or translated string, I can see no pattern.
>

Normally the cursor jumps to the last position (where it was when the 
dialog was closed), or to the first translation string.

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] Expander cannot be disabled.

2012-12-16 Thread Benoît Minisini
Le 16/12/2012 19:21, M. Cs. a écrit :
> I think this may be a bug:
> I have the Expander initially disabled by IDE, yet during runtime it
> accepts mouse clicks.
>
> Csaba

It's fixed in revision #5441.

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] Expander conditional Show

2012-12-16 Thread Benoît Minisini
Le 16/12/2012 19:18, M. Cs. a écrit :
> Hello!
> I am curious to know whether there are possibilities to make Expander's
> expanding conditional.
> There are defined event _Show(), which is happening between the mouse's
> click and Expander's expand, and similarly the event _Hide().
> But none of them offer possibility to intercept the opening/closure
> conditionaly,
>
> E.G: I would like to let Expander expand with click if exactly one item of
> a list is selected. How to solve this?
>
> Csaba

Now that a disabled Expander is really disabled, doesn't it solve your 
problem?

-- 
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] Gambas IDE application packager and dependency issue

2012-12-16 Thread Benoît Minisini
Le 16/12/2012 14:47, Willy Raets a écrit :
> I packaged an application that requires one of my Gambas libraries.
> Upon packaging I set min. version of library required to 0.3.7 (see
> screen01.png). I did NOT set max. required version.
>
> Upon installing on another system I got a screenshot returned where you
> can see min. req. version being 0.3.7.
> But it also states that max. required version has to be lower than
> 0.3.90!! (see screen02.png)
>
> Problem is my next library version (1.0.0) now doesn't install because
> application dependencies is set to 0.3.90 in the packaging process
> without me knowing of it if I didn't get screen02.png returned by
> someone!!
>
> I assume that leaving max dependency version empty means any other
> higher version will be accepted and that ONLY when I set a max. version
> that one will be taken. But that doesn't seem to be the case.
>
> As I said I now run into a kind of chicken and egg situation with the
> application update.
> Old application needs min. 0.3.7 and max. has been set to 0.3.90 by
> packager.
> New application needs min. 1.0.0, but 1.0.0 library version will NOT
> install because of old version req. max. 0.3.90!!
>
> If packager hadn't set max. version I could simply first update library
> next update application.
>* Now I need to remove application, update library and install new
>  version application (and have to get the message out to all that
>  have the old version application installed!!)
>
> So my main question:
> Shouldn't leaving max. version dependency empty result in NO max.
> version dependency instead of packager filling in something?
> Is this a bug or intentional?
>
> Thanks,
>
> Willy
>

Normally, the dependency <= 0.3.90 appears only if "libgb3devaid" is 
also a library (there is the assumption that the library will follow the 
version scheme of the component). Is it the case? Can you send me your 
project so that I analyze the behaviour of the packager with it?

Thanks.

-- 
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] Architecture page on gambasdoc.org

2012-12-16 Thread Benoît Minisini
Le 16/12/2012 11:38, Tobias Boege a écrit :
> On Sun, 16 Dec 2012, Tobias Boege wrote:
>> Hi Benoit and gambasdoc.org people,
>>
>> Hans would like to propose his version of the Gambas architecture diagram
>> for gambasdoc.org. The original is found at [0] and a picture of his is at
>> [1] -- you're right, it's inside a program but only look at it. He has the
>> sources and I'd translate it into Englisch and put it up. What do you think?
>>
>> BTW: I looked at that page with Firefox 17.0 and Konqueror 3.5.10 on
>> Trinity 3.5.13 a few minutes ago. There were no pictures at all today. I
>> don't know what magic you normally use there but I couldn't even find a
>> picture in the sources of that page (neither  nor a named  or so).
>>
>> Regards,
>> Tobi
>>
>> [0] http://gambasdoc.org/help/doc/arch?v3
>> [1] http://www.gambas-buch.de/dw/doku.php?id=k16:k16.2:start#projekt
>
> Heh, actually Hans' text is a translation of the official page I made a few
> days ago. So only look at the colours ;-)
>

That page is only the legend of different part of the picture, which is 
on the web site (search for "HTML image maps" on google).

I just put that text on the wiki to ease the translation process.

Otherwise, yes, the diagram is nicer in colors. But I need it in 
english, and/or better in a vectorial format (for example an OpenOffice 
drawing), so that anybody can translate it.

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] Feature request: Component hunt disabler

2012-12-16 Thread Benoît Minisini
Le 16/12/2012 19:36, M. Cs. a écrit :
> Hello Benoit,
> I would like to ask you to set a default behavior for the Gambas3 IDE:
>
> When I do some changes either in code editor in let say Public Sub MyAct(),
> or in form designer on a component Combobox1 after hitting F5 and checking
> the difference, the IDE drops me either to a random part of code or to
> FMain's properties. This is very annoying and can take quite a lot of time
> to search for the code I've just edited or to find a component in Hierarchy
> tree. Can this kind of behavior be healed. I would like to continue the
> code writing/ designing right there where I was before the Compile&Run.
>
> Thanks!
>
> Csaba

Sorry, I don't understand: if I start or stop a program, the current 
editor and the current cursor do not change.

Can you explain differently, eventually with screenshots?

-- 
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


[Gambas-user] Issue 367 in gambas: Crash in Properties...Environment - Gambas 3.3.4

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

New issue 367 by t4769_a...@cogeco.ca: Crash in Properties...Environment -  
Gambas 3.3.4
http://code.google.com/p/gambas/issues/detail?id=367

1) Describe the problem.
I added 3 items to Project > Properties > Environment while building an  
app. At the end I did not need two of them so I removed two items via the  
Remove button. After the second remove, Gambas3 crashed with the following  
messages:
:~$ gambas3
gb.qt4: warning: unable to load Qt translation: en_GB.UTF-8
GridView._CheckCell.932: Bad row index
1: FPropertyProject.Run.29
2: FMain.Action_Activate.1211
3: >Action.Raise.200

This is consistently reproducible.

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 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

5) Explain clearly how to reproduce the bug or the crash.
Remove two previously added items from the Environment area - crash after  
the second remove

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!



--
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