Re: [Gambas-user] SVN and Distribution

2010-08-15 Thread Benoît Minisini
> Hi all. > > I will have to distribute a little programm, so I will have to install > Gambas 2.x too, I asume. My question is: Will there be any conflicts > between the SVN for Gambas 3.x rev. 3098 and a new installation of 2.x? > I will mainly dewvelop with the SVN, so I'd rather seek another so

Re: [Gambas-user] Error in example MoviePlayer in Gambas 3

2010-08-15 Thread Benoît Minisini
> Hi. > > When I try to run the sample MoviePlayer, gives me this error: > > Wid = 4400040 > > (MoviePlayer:5144): Gtk-CRITICAL **: gtk_widget_set_events: assertion `! > GTK_WIDGET_REALIZED (widget)' failed > > This error occurs by GNOME canvas control? > > Regards > Fixed in revision #3116.

Re: [Gambas-user] Bug affecting to ShowModal

2010-08-15 Thread Jussi Lahtinen
There seems to be workaround for this bug. Instead of this: Public Form1 As New FForm1 Public Form2 As New FForm2 Public Sub Main() If Form1.ShowModal() = 666 Then Form2.ShowModal() Endif End This works: Public Form1 As New FForm1 Public Form2 As FForm2 Public Sub Main() If Form1.S

Re: [Gambas-user] Bug affecting to ShowModal

2010-08-15 Thread Benoît Minisini
> There seems to be workaround for this bug. > Instead of this: > > Public Form1 As New FForm1 > Public Form2 As New FForm2 > > Public Sub Main() > > If Form1.ShowModal() = 666 Then > Form2.ShowModal() > Endif > > End > > > This works: > > Public Form1 As New FForm1 > Public Form2 As F

Re: [Gambas-user] Bug affecting to ShowModal

2010-08-15 Thread Jussi Lahtinen
Yes, after I wrote my mail, I figured it may be the case. Problem is that my program is oriented to module. It invokes forms when needed and shows with them what happens inside of module. Project I'm working on is big, old and messy. It is ported from vb6. Now I'm trying to make code more clear, b

Re: [Gambas-user] Bug affecting to ShowModal

2010-08-15 Thread Benoît Minisini
> Yes, after I wrote my mail, I figured it may be the case. > Problem is that my program is oriented to module. > It invokes forms when needed and shows with them what > happens inside of module. Yes. Maybe that automatic main window feature should be optional... > > Project I'm working on is bi

Re: [Gambas-user] Bug affecting to ShowModal

2010-08-15 Thread Jussi Lahtinen
Because of messiness, that program could do anything weird (clarification is not ready yet). Problem occurs when program is closing. Here: ==4946== Memcheck, a memory error detector ==4946== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. ==4946== Using Valgrind-3.6.0.SVN-Debian an

Re: [Gambas-user] Bug affecting to ShowModal

2010-08-15 Thread Benoît Minisini
> Because of messiness, that program could do anything weird > (clarification is not ready yet). > Problem occurs when program is closing. > Here: > > ==4946== Memcheck, a memory error detector > ==4946== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. > ==4946== Using Valgrind-3.6

Re: [Gambas-user] Bug affecting to ShowModal

2010-08-15 Thread Jussi Lahtinen
Everything seems to work correctly now. Thanks! Jussi 2010/8/15 Benoît Minisini : >> Because of messiness, that program could do anything weird >> (clarification is not ready yet). >> Problem occurs when program is closing. >> Here: >> >> ==4946== Memcheck, a memory error detector >> ==4946== Co

[Gambas-user] SHELL is more faster than SUB Process_Read()

2010-08-15 Thread Demosthenes Koptsis
Hi i wrote a test program that "ls -1" a directory with 1700 and more files (mp3). i wanted to make a string as following Content = "/mnt/store/MUSIC/free/new age/webradio recs/Trancemission.FM Radio 128K- New Age 2- new experience of meditation and new age music - livestream 128k/" & sLine in

Re: [Gambas-user] Error in example MoviePlayer in Gambas 3

2010-08-15 Thread François
Le dimanche 15 août 2010 13:02:26, Benoît Minisini a écrit : > > Hi. > > > > When I try to run the sample MoviePlayer, gives me this error: > > > > Wid = 4400040 > > > > (MoviePlayer:5144): Gtk-CRITICAL **: gtk_widget_set_events: assertion `! > > GTK_WIDGET_REALIZED (widget)' failed > > > > Thi

Re: [Gambas-user] Error in example MoviePlayer in Gambas 3

2010-08-15 Thread Benoît Minisini
> Le dimanche 15 août 2010 13:02:26, Benoît Minisini a écrit : > > > Hi. > > > > > > When I try to run the sample MoviePlayer, gives me this error: > > > > > > Wid = 4400040 > > > > > > (MoviePlayer:5144): Gtk-CRITICAL **: gtk_widget_set_events: assertion > > > `! GTK_WIDGET_REALIZED (widget)' f

Re: [Gambas-user] SHELL is more faster than SUB Process_Read()

2010-08-15 Thread Fabien Bodard
2010/8/15 Demosthenes Koptsis : > Hi i wrote a test program that "ls -1" a directory with 1700 and more files > (mp3). > > i wanted to make a string as following > >  Content = "/mnt/store/MUSIC/free/new age/webradio recs/Trancemission.FM > Radio 128K- New Age 2- new experience of meditation and ne

[Gambas-user] EXEC or SHELL can not READ WRITE simultaneously well with process?

2010-08-15 Thread Phạm Quang Dương
I have searched around with Google but still can not find an other problem like mine. My code below base on the Console example project of Gambas. I want run a process like this: PUBLIC $mainProcess AS Process PUBLIC SUB Form_Open() $mainProcess = SHELL "7z x /demo/file.7z -o/tmp" FOR READ W

Re: [Gambas-user] EXEC or SHELL can not READ WRITE simultaneously well with process?

2010-08-15 Thread Benoît Minisini
> I have searched around with Google but still can not find an other problem > like mine. > My code below base on the Console example project of Gambas. > I want run a process like this: > > PUBLIC $mainProcess AS Process > > PUBLIC SUB Form_Open() > > $mainProcess = SHELL "7z x /demo/file.7

Re: [Gambas-user] SHELL is more faster than SUB Process_Read()

2010-08-15 Thread Benoît Minisini
> Hi i wrote a test program that "ls -1" a directory with 1700 and more files > (mp3). > > i wanted to make a string as following > > Content = "/mnt/store/MUSIC/free/new age/webradio recs/Trancemission.FM > Radio 128K- New Age 2- new experience of meditation and new age music - > livestream 12

Re: [Gambas-user] SHELL is more faster than SUB Process_Read()

2010-08-15 Thread Demosthenes Koptsis
ok , i got it. Thanks both of u! 2010/8/15 Benoît Minisini > > Hi i wrote a test program that "ls -1" a directory with 1700 and more > files > > (mp3). > > > > i wanted to make a string as following > > > > Content = "/mnt/store/MUSIC/free/new age/webradio recs/Trancemission.FM > > Radio 128K