Re: [Gambas-user] MediaPlayer bug with AboutToFinish and URL?

2016-10-08 Thread Piper984
Cool, thanks for looking into it.

I have stubbed out the code into a small project here:

http://www.pitchpipetuner.com/gambas/prjVideoTest02.zip

It's about 12 megs. Also in the zip file are the two video files for
testing. Sounds like you already have a testing app going though.

Re: GStreamer: Yeah, it's a beast.  It's always an insane amount of work to
get that last 20% of functionality working in any app.

Thanks!





--
View this message in context: 
http://gambas.8142.n7.nabble.com/MediaPlayer-bug-with-AboutToFinish-and-URL-tp57513p57518.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] MediaPlayer bug with AboutToFinish and URL?

2016-10-08 Thread Benoît Minisini
Le 09/10/2016 à 01:34, Piper984 a écrit :
> Hi Benoît: Posting again without 'html' boxed clicked. Whoops.
>
>
> I have been playing with the Gambas MediaPlayer and the related Gambas
> wrappers of GStreamer libs recently hoping that I can find enough
> functionality in the gb.media libraries to be able to construct my app and
> not have to ever go back to doing my GUIs in C.
>
> I have used the Playbin plugin in the past w/ PyGST and also C.  When the
> video is about done playing an event can fire that lets the hosting
> application set the URL property to a new video should the app want to play
> another video at the end of the current video.
>
> I am seeing two weird *bugs* w/ the Gambas MediaPlayer.  I looked at the C
> code here
> https://sourceforge.net/p/gambas/code/HEAD/tree/gambas/trunk/gb.media/src/c_mediaplayer.c
> and see that for the most part the MediaPlayer is a very slick wrapper of
> the Playbin element.  So hopefully the issue will be easy to find / correct
> for someone with some deeper background of the gb.media library.

On the contrary, as gb.media is just a thin wrapper, the bug will be 
hard to fix, if it can be fixed!

As for the AboutToFinish event, the corresponding glib signal is not 
raised in the main thread. So, as Gambas is single-threaded, the signal 
is postponed to the main thread to be raised as a Gambas event. As far 
as I know, this is the only logic difference with a program written in C!

>
> The issues:
>
> #1) Even though the "AboutToFinish" event fires successfully, setting the
> URL makes no effect here, and the "END" event will then fire at the end of
> the current video. The 'Video_Changed' event does not fire.  If after
> starting starting a video, I manually change the .URL property (from a
> button click event) then at the end of the first video I will get a
> 'Video_Changed' event and the second video will start.

I have done a simple test on my system: setting the URL during 
AboutToFinish... completely freezes the process. I will try to know what 
happens.

>
> #2) When I am able to get the MediaPlayer to set the .URL property to the
> second value, and the video does start to play at the end of the first
> video, the audio plays but the video does not update until I invoke the
> .Pause() method and even then it's just displays that frame and when I
> invoke .Play() after  .Pause() the video does not continue but the audio
> does.  Codec issue?

Maybe. GStreamer is a very sensitive animal.


-- 
Benoît Minisini

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] MediaPlayer bug with AboutToFinish and URL?

2016-10-08 Thread Piper984
Hi Benoît: Posting again without 'html' boxed clicked. Whoops.


I have been playing with the Gambas MediaPlayer and the related Gambas
wrappers of GStreamer libs recently hoping that I can find enough
functionality in the gb.media libraries to be able to construct my app and
not have to ever go back to doing my GUIs in C.

I have used the Playbin plugin in the past w/ PyGST and also C.  When the
video is about done playing an event can fire that lets the hosting
application set the URL property to a new video should the app want to play
another video at the end of the current video.

I am seeing two weird *bugs* w/ the Gambas MediaPlayer.  I looked at the C
code here
https://sourceforge.net/p/gambas/code/HEAD/tree/gambas/trunk/gb.media/src/c_mediaplayer.c
and see that for the most part the MediaPlayer is a very slick wrapper of
the Playbin element.  So hopefully the issue will be easy to find / correct
for someone with some deeper background of the gb.media library.

The issues:

#1) Even though the "AboutToFinish" event fires successfully, setting the
URL makes no effect here, and the "END" event will then fire at the end of
the current video. The 'Video_Changed' event does not fire.  If after
starting starting a video, I manually change the .URL property (from a
button click event) then at the end of the first video I will get a
'Video_Changed' event and the second video will start.  

#2) When I am able to get the MediaPlayer to set the .URL property to the
second value, and the video does start to play at the end of the first
video, the audio plays but the video does not update until I invoke the
.Pause() method and even then it's just displays that frame and when I
invoke .Play() after  .Pause() the video does not continue but the audio
does.  Codec issue?

I am using Ubuntu 14.04, Gambas 3.9.0.  GStreamer 1.2.4 (kinda old, but
playbin works as I'd expect under Python and C).

Here is some of the code:

' Gambas class file
Public objMedia1 As New MediaPlayer As "MP1"
Public Sub Button1_Click()
  objMedia1.URL = "file:///home/chris/Desktop/big-buck-bunny_trailer.webm"
  objMedia1.SetWindow(DrawingArea1, DrawingArea1.X, DrawingArea1.Y,
DrawingArea1.Width, DrawingArea1.Height)
  objMedia1.Play()
End

Public Sub btnNewURL_Click()
  ' invoking this 10-15 seconds into the video clip seems to have the
desired effect.
  objMedia1.URL = "file:///home/chris/Desktop/sintel_trailer-480p.webm"
End
 
Public Sub MP1_End()
  Print "Video Ended."
End

Public Sub MP1_AboutToFinish()
 ' this doesn't have any effect.
  objMedia1.URL = "file:///home/chris/Desktop/sintel_trailer-480p.webm"
End

Public Sub MP1_VideoChanged()
' This only fires when @ the end of the first video when I've manually set
the URL property from a button click.  If I set
' the URL property from the _AboutToFinish() event Sub then nothing happens
(other then _END firing when video #1 has completed). 
 Print "Video Changed."
End


Hopefully that's semi-clear. I hope this is something that can be easily
reproduced and fixed!  I really enjoy how productive I can be w/ Gambas and
now that I've gotten used to doing GUIs and semi-complex application
business logic with Gambas I really don't ever want to have to do those in C
again.  :)

Thanks!

Piper





--
View this message in context: 
http://gambas.8142.n7.nabble.com/MediaPlayer-bug-with-AboutToFinish-and-URL-tp57513p57516.html
Sent from the gambas-user mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] MediaPlayer bug with AboutToFinish and URL?

2016-10-08 Thread Benoît Minisini
Le 09/10/2016 à 02:53, Benoît Minisini a écrit :
> Le 09/10/2016 à 01:23, Piper984 a écrit :
>> Hi:I have been playing with the Gambas MediaPlayer and the related Gambas
>> wrappers of GStreamer libs recently hoping that I can find enough
>> functionality in the gb.media libraries to be able to construct my and
>> not
>> have to ever go back to doing my GUIs in C.I have used the Playbin
>> plugin in
>> the past w/ PyGST and also C.  When the video is about done playing an
>> event
>> can fire that lets the hosting application set the URL property to a new
>> video should the app want to play another video at the end of the current
>> video.I am seeing two weird *bugs* w/ the Gambas MediaPlayer.  I
>> looked at
>> the C code
>> herehttps://sourceforge.net/p/gambas/code/HEAD/tree/gambas/trunk/gb.media/src/c_mediaplayer.cand
>>
>> see that for the most part the MediaPlayer is a very slick wrapper of the
>> Playbin element.  So hopefully the issue will be easy to find /
>> correct for
>> someone with some deeper background of the gb.media library.The
>> issues:#1)
>> Even though the "AboutToFinish" event fires successfully, setting the URL
>> makes no effect here, and the "END" event will then fire at the end of
>> the
>> current video. The 'Video_Changed' event does not fire.  If after
>> starting
>> starting a video, I manually change the .URL property (from a button
>> click
>> event) then at the end of the first video I will get a 'Video_Changed'
>> event
>> and the second video will start.  #2) When I am able to get the
>> MediaPlayer
>> to set the .URL property to the second value, and the video does start to
>> play at the end of the first video, the audio plays but the video does
>> not
>> update until I invoke the .Pause() method and even then it's just
>> displays
>> that frame and when I invoke .Play() after  .Pause() the video does not
>> continue but the audio does.  Codec issue?I am using Ubuntu 14.04, Gambas
>> 3.9.0.  GStreamer 1.2.4 (kinda old, but playbin works as I'd expect under
>> Python and C).Here is some of the code:' Gambas class filePublic
>> objMedia1
>> As New MediaPlayer As "MP1"Public Sub Button1_Click()  objMedia1.URL =
>> "file:///home/chris/Desktop/big-buck-bunny_trailer.webm"
>> objMedia1.SetWindow(DrawingArea1, DrawingArea1.X, DrawingArea1.Y,
>> DrawingArea1.Width, DrawingArea1.Height)  objMedia1.Play()EndPublic Sub
>> btnNewURL_Click()  ' invoking this 10-15 seconds into the video clip
>> seems
>> to have the desired effect.  objMedia1.URL =
>> "file:///home/chris/Desktop/sintel_trailer-480p.webm"End Public Sub
>> MP1_End()  Print "Video Ended."EndPublic Sub MP1_AboutToFinish() ' this
>> doesn't have any effect.  objMedia1.URL =
>> "file:///home/chris/Desktop/sintel_trailer-480p.webm"EndPublic Sub
>> MP1_VideoChanged()' This only fires when @ the end of the first video
>> when
>> I've manually set the URL property from a button click.  If I set' the
>> URL
>> property from the _AboutToFinish() event Sub then nothing happens (other
>> then _END firing when video #1 has completed).  Print "Video
>> Changed."EndHopefully that's semi-clear. I hope this is something that
>> can
>> be easily reproduced and fixed!  I really enjoy how productive I can
>> be w/
>> Gambas and now that I've gotten used to doing GUIs and semi-complex
>> application business logic with Gambas I really don't ever want to
>> have to
>> do those in C again.  :)Thanks!Piper
>>
>
> Do you have a more readable version of your mail?
>

And can you post your project too? Or at least the media player part.

-- 
Benoît Minisini

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] MediaPlayer bug with AboutToFinish and URL?

2016-10-08 Thread Benoît Minisini
Le 09/10/2016 à 01:23, Piper984 a écrit :
> Hi:I have been playing with the Gambas MediaPlayer and the related Gambas
> wrappers of GStreamer libs recently hoping that I can find enough
> functionality in the gb.media libraries to be able to construct my and not
> have to ever go back to doing my GUIs in C.I have used the Playbin plugin in
> the past w/ PyGST and also C.  When the video is about done playing an event
> can fire that lets the hosting application set the URL property to a new
> video should the app want to play another video at the end of the current
> video.I am seeing two weird *bugs* w/ the Gambas MediaPlayer.  I looked at
> the C code
> herehttps://sourceforge.net/p/gambas/code/HEAD/tree/gambas/trunk/gb.media/src/c_mediaplayer.cand
> see that for the most part the MediaPlayer is a very slick wrapper of the
> Playbin element.  So hopefully the issue will be easy to find / correct for
> someone with some deeper background of the gb.media library.The issues:#1)
> Even though the "AboutToFinish" event fires successfully, setting the URL
> makes no effect here, and the "END" event will then fire at the end of the
> current video. The 'Video_Changed' event does not fire.  If after starting
> starting a video, I manually change the .URL property (from a button click
> event) then at the end of the first video I will get a 'Video_Changed' event
> and the second video will start.  #2) When I am able to get the MediaPlayer
> to set the .URL property to the second value, and the video does start to
> play at the end of the first video, the audio plays but the video does not
> update until I invoke the .Pause() method and even then it's just displays
> that frame and when I invoke .Play() after  .Pause() the video does not
> continue but the audio does.  Codec issue?I am using Ubuntu 14.04, Gambas
> 3.9.0.  GStreamer 1.2.4 (kinda old, but playbin works as I'd expect under
> Python and C).Here is some of the code:' Gambas class filePublic objMedia1
> As New MediaPlayer As "MP1"Public Sub Button1_Click()  objMedia1.URL =
> "file:///home/chris/Desktop/big-buck-bunny_trailer.webm"
> objMedia1.SetWindow(DrawingArea1, DrawingArea1.X, DrawingArea1.Y,
> DrawingArea1.Width, DrawingArea1.Height)  objMedia1.Play()EndPublic Sub
> btnNewURL_Click()  ' invoking this 10-15 seconds into the video clip seems
> to have the desired effect.  objMedia1.URL =
> "file:///home/chris/Desktop/sintel_trailer-480p.webm"End Public Sub
> MP1_End()  Print "Video Ended."EndPublic Sub MP1_AboutToFinish() ' this
> doesn't have any effect.  objMedia1.URL =
> "file:///home/chris/Desktop/sintel_trailer-480p.webm"EndPublic Sub
> MP1_VideoChanged()' This only fires when @ the end of the first video when
> I've manually set the URL property from a button click.  If I set' the URL
> property from the _AboutToFinish() event Sub then nothing happens (other
> then _END firing when video #1 has completed).  Print "Video
> Changed."EndHopefully that's semi-clear. I hope this is something that can
> be easily reproduced and fixed!  I really enjoy how productive I can be w/
> Gambas and now that I've gotten used to doing GUIs and semi-complex
> application business logic with Gambas I really don't ever want to have to
> do those in C again.  :)Thanks!Piper
>

Do you have a more readable version of your mail?

-- 
Benoît Minisini

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] MediaPlayer bug with AboutToFinish and URL?

2016-10-08 Thread Piper984
Hi:I have been playing with the Gambas MediaPlayer and the related Gambas
wrappers of GStreamer libs recently hoping that I can find enough
functionality in the gb.media libraries to be able to construct my and not
have to ever go back to doing my GUIs in C.I have used the Playbin plugin in
the past w/ PyGST and also C.  When the video is about done playing an event
can fire that lets the hosting application set the URL property to a new
video should the app want to play another video at the end of the current
video.I am seeing two weird *bugs* w/ the Gambas MediaPlayer.  I looked at
the C code
herehttps://sourceforge.net/p/gambas/code/HEAD/tree/gambas/trunk/gb.media/src/c_mediaplayer.cand
see that for the most part the MediaPlayer is a very slick wrapper of the
Playbin element.  So hopefully the issue will be easy to find / correct for
someone with some deeper background of the gb.media library.The issues:#1)
Even though the "AboutToFinish" event fires successfully, setting the URL
makes no effect here, and the "END" event will then fire at the end of the
current video. The 'Video_Changed' event does not fire.  If after starting
starting a video, I manually change the .URL property (from a button click
event) then at the end of the first video I will get a 'Video_Changed' event
and the second video will start.  #2) When I am able to get the MediaPlayer
to set the .URL property to the second value, and the video does start to
play at the end of the first video, the audio plays but the video does not
update until I invoke the .Pause() method and even then it's just displays
that frame and when I invoke .Play() after  .Pause() the video does not
continue but the audio does.  Codec issue?I am using Ubuntu 14.04, Gambas
3.9.0.  GStreamer 1.2.4 (kinda old, but playbin works as I'd expect under
Python and C).Here is some of the code:' Gambas class filePublic objMedia1
As New MediaPlayer As "MP1"Public Sub Button1_Click()  objMedia1.URL =
"file:///home/chris/Desktop/big-buck-bunny_trailer.webm" 
objMedia1.SetWindow(DrawingArea1, DrawingArea1.X, DrawingArea1.Y,
DrawingArea1.Width, DrawingArea1.Height)  objMedia1.Play()EndPublic Sub
btnNewURL_Click()  ' invoking this 10-15 seconds into the video clip seems
to have the desired effect.  objMedia1.URL =
"file:///home/chris/Desktop/sintel_trailer-480p.webm"End Public Sub
MP1_End()  Print "Video Ended."EndPublic Sub MP1_AboutToFinish() ' this
doesn't have any effect.  objMedia1.URL =
"file:///home/chris/Desktop/sintel_trailer-480p.webm"EndPublic Sub
MP1_VideoChanged()' This only fires when @ the end of the first video when
I've manually set the URL property from a button click.  If I set' the URL
property from the _AboutToFinish() event Sub then nothing happens (other
then _END firing when video #1 has completed).  Print "Video
Changed."EndHopefully that's semi-clear. I hope this is something that can
be easily reproduced and fixed!  I really enjoy how productive I can be w/
Gambas and now that I've gotten used to doing GUIs and semi-complex
application business logic with Gambas I really don't ever want to have to
do those in C again.  :)Thanks!Piper



--
View this message in context: 
http://gambas.8142.n7.nabble.com/MediaPlayer-bug-with-AboutToFinish-and-URL-tp57513.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #779: me.top = 0 , can't work ( in event _new() )

2016-10-08 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.779=L21haW4-

Comment #5 by Zainudin AHMAD:

temporary solution, just set with -1 value. example : 
 move(-1,-1)
or
 me.top=-1
 me.left=-1

Resolve :)



--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #854: IDE Crash when "Double Click" the Publish button on Publis Software Dialog

2016-10-08 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.854=L21haW4-

Zainudin AHMAD changed the state of the bug to: Opened.




--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] App idle with long loops

2016-10-08 Thread Demosthenes Koptsis
On 8/10/2016 19:09 μμ, Tobias Boege wrote:
> On Sat, 08 Oct 2016, Demosthenes Koptsis wrote:
>> Hello,
>>
>> i have very long (time consuming) For loops and my app is frozen until
>> loop is finished.
>>
>> for example i wget urls with a custom Sub which Shell("wgetURLS.sh") To
>> sOUTPUT
>>
>> 'get urls
>> For i = 0 To iDepth
>>   wgetURLS(i * 10)
>> Next
>>
>> Public Sub wgetURLS(iStart As Integer)
>> .
>>
>> Shell("wgetURLS.sh") To sOUTPUT
>>
>> .
>>
>> --
>>
>> Is there possible to set the gui idle and the same time run For...loops?
>>
> If you only want to refresh the GUI (e.g. if your For loops update a
> ProgressBar on your form and you want to update the value of that bar
> during the loop), then Wait [1] is sufficient.
>
> If you want the GUI to be fully operatable while your loops run in the
> background, you have to use a background Task [2]. As Gambas is single-
> threaded, Tasks are implemented as external processes which execute one
> of your classes. This limits the things you can do with Tasks (you cannot
> directly modify the main program, for example, but have to send data and
> status reports through a pipe from your Task to the main process and
> interpret them there). However, if all you want is loading some files via
> wget, that should not be a problem.
>
> Of course, there is also the gb.net.curl component which can download files
> asynchronously. If you can use that (which depends on what you want to do),
> you should.
>
> And as a fourth option, looking further into your code: if you want to
> execute shell scripts in a For loop, then don't use the Shell-To syntax
> but create a Process object instead and accumulate its output in Read
> events. The event loop will take care of everything and the GUI will be
> usable without any extra effort on your side.
>
> Finding the best solution depends, who would have thought, on what you want
> to do *specifically*. Tasks are the most general and most cumbersome option.
>
> Regards,
> Tobi
>
> [1] http://gambaswiki.org/wiki/lang/wait
> [2] http://gambaswiki.org/wiki/comp/gb/task
>
Thanks very much for the details.

Regards,

Dim


--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] App idle with long loops

2016-10-08 Thread Tobias Boege
On Sat, 08 Oct 2016, Demosthenes Koptsis wrote:
> Hello,
> 
> i have very long (time consuming) For loops and my app is frozen until 
> loop is finished.
> 
> for example i wget urls with a custom Sub which Shell("wgetURLS.sh") To 
> sOUTPUT
> 
>'get urls
>For i = 0 To iDepth
>  wgetURLS(i * 10)
>Next
> 
> Public Sub wgetURLS(iStart As Integer)
> .
> 
> Shell("wgetURLS.sh") To sOUTPUT
> 
> .
> 
> --
> 
> Is there possible to set the gui idle and the same time run For...loops?
> 

If you only want to refresh the GUI (e.g. if your For loops update a
ProgressBar on your form and you want to update the value of that bar
during the loop), then Wait [1] is sufficient.

If you want the GUI to be fully operatable while your loops run in the
background, you have to use a background Task [2]. As Gambas is single-
threaded, Tasks are implemented as external processes which execute one
of your classes. This limits the things you can do with Tasks (you cannot
directly modify the main program, for example, but have to send data and
status reports through a pipe from your Task to the main process and
interpret them there). However, if all you want is loading some files via
wget, that should not be a problem.

Of course, there is also the gb.net.curl component which can download files
asynchronously. If you can use that (which depends on what you want to do),
you should.

And as a fourth option, looking further into your code: if you want to
execute shell scripts in a For loop, then don't use the Shell-To syntax
but create a Process object instead and accumulate its output in Read
events. The event loop will take care of everything and the GUI will be
usable without any extra effort on your side.

Finding the best solution depends, who would have thought, on what you want
to do *specifically*. Tasks are the most general and most cumbersome option.

Regards,
Tobi

[1] http://gambaswiki.org/wiki/lang/wait
[2] http://gambaswiki.org/wiki/comp/gb/task

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

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #1012: Button goes to right up corner

2016-10-08 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1012=L21haW4-

Comment #3 by Benoît MINISINI:

I see no bug here. The main form arrangement is set to "Column", and so the 
button is moved according to it.

Benoît MINISINI changed the state of the bug to: Rejected.



--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #1007: gambas from 3.9.0 to last svn crash on ubuntu 16.04 vm

2016-10-08 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1007=L21haW4-

Benoît MINISINI changed the state of the bug to: Fixed.




--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #940: Running IDE with a filename locks the file

2016-10-08 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.940=L21haW4-

Comment #11 by Benoît MINISINI:

Fixed in revision #7926.



--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #940: Running IDE with a filename locks the file

2016-10-08 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.940=L21haW4-

Comment #10 by Benoît MINISINI:

I finally just added the "If IsFake() Then Return" line in Gambas 3.9, to allow 
files located in a linked directory to be modified only when opened alone.

When these files are opened from a project, they keep being locked.

Benoît MINISINI changed the state of the bug to: Fixed.



--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #996: F2 does not work on classes followed by ()

2016-10-08 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.996=L21haW4-

Benoît MINISINI changed the state of the bug to: Accepted.




--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #1014: org.freedesktop.DBus.Properties Method:GetALL not implemented?

2016-10-08 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1014=L21haW4-

Comment #1 by Benoît MINISINI:

It should be a bug in the gb.dbus component.

Can you send your project so that I can see what happens exactly?

Benoît MINISINI changed the state of the bug to: NeedsInfo.



--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #1014: org.freedesktop.DBus.Properties Method:GetALL not implemented?

2016-10-08 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1014=L21haW4-

Benoît MINISINI changed the state of the bug to: Accepted.




--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #1013: gb.db.odbc new GetRecordCount mechanism seem not work with firebird database

2016-10-08 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1013=L21haW4-

Comment #2 by Benoît MINISINI:

From zxMarce:

Christian,

Hi. I made the GetRecordCount() function.

Can you please be more specific as why it does not work for you? I do not have 
an FB DB to test, so if you could please be clear as how it fails I'll 
appreciate it.

Thank you,
zxMarce.

Benoît MINISINI changed the state of the bug to: NeedsInfo.



--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] [Gambas Bug Tracker] Bug #1013: gb.db.odbc new GetRecordCount mechanism seem not work with firebird database

2016-10-08 Thread Benoît Minisini
Le 25/09/2016 à 23:14, d4t4f...@gmail.com a écrit :
> Christian,
>
> Hi. I made the GetRecordCount() function.
>
> Can you please be more specific as why it does not work for you? I do not 
> have an FB DB to test, so if you could please be clear as how it fails I'll 
> appreciate it.
>
> Thank you,
> zxMarce.

You should have answered directly in the bugtracker. I copy your mail in it.

Regards,

-- 
Benoît Minisini

--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #1016: Packing for ubuntu and debian problem whit some characters in program description.

2016-10-08 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1016=L21haW4-

Comment #1 by Benoît MINISINI:

Normally newlines are already automatically handled.

Please post a project having the problem you describe.

Benoît MINISINI changed the state of the bug to: NeedsInfo.



--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] App idle with long loops

2016-10-08 Thread Demosthenes Koptsis
Hello,

i have very long (time consuming) For loops and my app is frozen until 
loop is finished.

for example i wget urls with a custom Sub which Shell("wgetURLS.sh") To 
sOUTPUT

   'get urls
   For i = 0 To iDepth
 wgetURLS(i * 10)
   Next

Public Sub wgetURLS(iStart As Integer)
.

Shell("wgetURLS.sh") To sOUTPUT

.

--

Is there possible to set the gui idle and the same time run For...loops?


--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #1012: Button goes to right up corner

2016-10-08 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1012=L21haW4-

Benoît MINISINI changed the state of the bug to: Accepted.




--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #1010: Custom runtime libraries not found

2016-10-08 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1010=L21haW4-

Comment #1 by Benoît MINISINI:

What was your Gambas version before the update?

Since gambas 3.9.0, libraries are now installed locally when you make an 
executable from their project. (They can be installed globally by a package 
made from their project).
Can you try to make those executables, and check that then you see them when 
you click on the "Select a library" button?

Benoît MINISINI changed the state of the bug to: NeedsInfo.



--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #1008: Library window crashes IDE because of double libs

2016-10-08 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1008=L21haW4-

Comment #1 by Benoît MINISINI:

Sorry, I can't reproduce the bug.

If a library is installed in both locations, then the global one (located in 
'/usr/lib/gambas3') is ignored.

Can you run the IDE source project from the IDE, and make the same test, so 
that you get the exact line of code in the IDE that triggers the error?

Benoît MINISINI changed the state of the bug to: NeedsInfo.



--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #1017: Let formatting fix faulty capitalising

2016-10-08 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1017=L21haW4-

Moviga TECHNOLOGIES reported a new bug.

Summary
---

Let formatting fix faulty capitalising

Type : Request
Priority : Medium
Gambas version   : 3.9.90 (TRUNK)
Product  : Development Environment


Description
---

When a variable has been declared

Public iValue as Integer 

and somewhere, by mistake, ivalue was typed, it would be nice if the 
formatter/prettyfier/beautifier also took care of the faulty capitalising and 
fixed it to be as declared.





--
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user