From jusabejusabe at ...626... Sun Mar 1 00:38:06 2015 From: jusabejusabe at ...626... (Julio Sanchez) Date: Sun, 1 Mar 2015 00:38:06 +0100 Subject: [Gambas-user] Error when trying to access the farm In-Reply-To: <54F21E57.3080104@...1...> References: <54F21E57.3080104@...1...> Message-ID: Beno?t Minisini: I'm using: ppa:gambas-team/gambas-daily (gambas3.6.99+svn6918+build22~ubuntu14.04.1) I solved the problem by manually modifying the file: gambas3-farm.conf [General] FarmList=["gambaswiki.org"] RememberPassword=False '<- with TRUE value was produced Error LastFarm="gambaswiki.org" Regards Julio 2015-02-28 21:00 GMT+01:00 Beno?t Minisini : > Le 28/02/2015 20:35, Julio Sanchez a ?crit : > > Upload an application to the farm, and save the data password (check > > remember password on the form). Do not know if this has anything to do, > but > > now when I try to access the farm, gives this error: > > > > This application has raised an unexpected > > error and must abort. > > [6] Type mismatch: wanted String, got Component instead. > > _Desktop_Passwords._get.75 > > > > Regards > > > > Julio > > > > Can you try the latest revision? > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sun Mar 1 02:32:31 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sun, 01 Mar 2015 02:32:31 +0100 Subject: [Gambas-user] Official Gambas farm server Message-ID: <54F26C2F.7080606@...1...> Hi, I have bought the domain name 'gambasfarm.org' that is now the official Gambas software server. At the moment, 'gambasfarm.org' and 'gambaswiki.org' are actually the same server, so there is no difference between using one or the other. But beware that it may change without notice in the future, i.e. gambasfarm.org will be hosted on its own server. So stop remove 'gambaswiki.org' from your farm server list, and use 'gambasfarm.org' instead. Another point: if your think that your software can be used as a good example (because it is well written, readable, and every string is at least in english), don't forget to add "Example" in your tags. The "Example" has now a special processing, so that every software having that tag appears in the example panel of the IDE welcome dialog. Regards, -- Beno?t Minisini From taboege at ...626... Sun Mar 1 14:20:42 2015 From: taboege at ...626... (Tobias Boege) Date: Sun, 1 Mar 2015 14:20:42 +0100 Subject: [Gambas-user] DirCache unloadable from a single project Message-ID: <20150301132042.GA713@...2774...> Hi Benoit, attached is a project which puzzles me. When you run it, ignore the message and close it, it displays the error "Cannot load class 'DirCache': Program exiting" from FileView._exit(). It happens always and only with that single project (so it's not a quirky installation of gb.form). This is is verified to happen on two systems: the creator's and mine. The error appeared at some time during development. You will need the liblinphone library to run it. On Arch Linux at least, this is in the official repositories, so I hope it's a minimal burden. If you say that this is an unusual behaviour in a clean Gambas environment, I'd guess it's liblinphone's fault. Maybe it spawns a thread and component cleanups happen multiple times or something? I didn't bother to strace it but maybe I'll have to if you say it's unlikely a bug in Gambas. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: liblinphone_7a-0.0.1.tar.gz Type: application/octet-stream Size: 9439 bytes Desc: not available URL: From gambas at ...1... Sun Mar 1 20:37:18 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 01 Mar 2015 20:37:18 +0100 Subject: [Gambas-user] DirCache unloadable from a single project In-Reply-To: <20150301132042.GA713@...2774...> References: <20150301132042.GA713@...2774...> Message-ID: <54F36A6E.4010507@...1...> Le 01/03/2015 14:20, Tobias Boege a ?crit : > Hi Benoit, > > attached is a project which puzzles me. When you run it, ignore the message > and close it, it displays the error "Cannot load class 'DirCache': Program > exiting" from FileView._exit(). It happens always and only with that single > project (so it's not a quirky installation of gb.form). This is is verified > to happen on two systems: the creator's and mine. The error appeared at some > time during development. > > You will need the liblinphone library to run it. On Arch Linux at least, > this is in the official repositories, so I hope it's a minimal burden. > > If you say that this is an unusual behaviour in a clean Gambas environment, > I'd guess it's liblinphone's fault. Maybe it spawns a thread and component > cleanups happen multiple times or something? I didn't bother to strace it > but maybe I'll have to if you say it's unlikely a bug in Gambas. > > Regards, > Tobi > I have only liblinphone.so.5 on my Ubuntu, and your program only works with linlinphone.so.6, so I can't test... But the FileView._exit() method uses Try, so you should not get an error message... And what loads the FileView class in the project??? -- Beno?t Minisini From gambas at ...1... Sun Mar 1 20:39:35 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 01 Mar 2015 20:39:35 +0100 Subject: [Gambas-user] DirCache unloadable from a single project In-Reply-To: <54F36A6E.4010507@...1...> References: <20150301132042.GA713@...2774...> <54F36A6E.4010507@...1...> Message-ID: <54F36AF7.2060704@...1...> Le 01/03/2015 20:37, Beno?t Minisini a ?crit : > > But the FileView._exit() method uses Try, so you should not get an error > message... And what loads the FileView class in the project??? > Bad question, the FileView class is automatically loaded as it is exported. So the remaining questions: how can you get an error on FileView._exit, as it uses the Try instruction? -- Beno?t Minisini From taboege at ...626... Sun Mar 1 21:11:52 2015 From: taboege at ...626... (Tobias Boege) Date: Sun, 1 Mar 2015 21:11:52 +0100 Subject: [Gambas-user] DirCache unloadable from a single project In-Reply-To: <54F36AF7.2060704@...1...> References: <20150301132042.GA713@...2774...> <54F36A6E.4010507@...1...> <54F36AF7.2060704@...1...> Message-ID: <20150301201152.GC713@...2774...> On Sun, 01 Mar 2015, Beno?t Minisini wrote: > Le 01/03/2015 20:37, Beno?t Minisini a ?crit : > > > > But the FileView._exit() method uses Try, so you should not get an error > > message... And what loads the FileView class in the project??? > > > > Bad question, the FileView class is automatically loaded as it is exported. > > So the remaining questions: how can you get an error on FileView._exit, > as it uses the Try instruction? > :-) He found it out himself: the project had BreakOnError = 1. This is the second time I wasted time on an alleged bug in such a project. Doubly stupid because after the first time I always look at the .project file of each bizarre project. Seems like the setting didn't strike my eye this time. Honestly, I haven't seen anyone doing good things with BreakOnError... (I suspect that it isn't used often -- I have never used it -- and it seems weird that it is a .project setting. Can't we make it into a "run mode", like "run (normally)", "run step by step", "run breaking on each error"? Just an idea out of mild frustration, although I see that it is difficult to maintain backwards compatibility here.) Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Sun Mar 1 21:25:33 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 01 Mar 2015 21:25:33 +0100 Subject: [Gambas-user] DirCache unloadable from a single project In-Reply-To: <20150301201152.GC713@...2774...> References: <20150301132042.GA713@...2774...> <54F36A6E.4010507@...1...> <54F36AF7.2060704@...1...> <20150301201152.GC713@...2774...> Message-ID: <54F375BD.4020505@...1...> Le 01/03/2015 21:11, Tobias Boege a ?crit : > On Sun, 01 Mar 2015, Beno?t Minisini wrote: >> Le 01/03/2015 20:37, Beno?t Minisini a ?crit : >>> >>> But the FileView._exit() method uses Try, so you should not get an error >>> message... And what loads the FileView class in the project??? >>> >> >> Bad question, the FileView class is automatically loaded as it is exported. >> >> So the remaining questions: how can you get an error on FileView._exit, >> as it uses the Try instruction? >> > > :-) > > He found it out himself: the project had BreakOnError = 1. This is the > second time I wasted time on an alleged bug in such a project. Doubly > stupid because after the first time I always look at the .project file > of each bizarre project. Seems like the setting didn't strike my eye > this time. > > Honestly, I haven't seen anyone doing good things with BreakOnError... > (I suspect that it isn't used often -- I have never used it -- and it > seems weird that it is a .project setting. Can't we make it into a > "run mode", like "run (normally)", "run step by step", "run breaking > on each error"? Just an idea out of mild frustration, although I see > that it is difficult to maintain backwards compatibility here.) > > Regards, > Tobi > If the option is useless, I will remove it. -- Beno?t Minisini From gambas at ...1... Mon Mar 2 01:55:53 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Mon, 02 Mar 2015 01:55:53 +0100 Subject: [Gambas-user] Bug with WebPage highlighting In-Reply-To: <54F3B3B1.9050204@...1...> References: <54F38BC6.2010000@...3323...> <54F3B353.10908@...1...> <54F3B3B1.9050204@...1...> Message-ID: <54F3B519.5060604@...1...> Le 02/03/2015 01:49, Beno?t Minisini a ?crit : > Le 02/03/2015 01:48, Beno?t Minisini a ?crit : >> Le 01/03/2015 22:59, J?rn Erik M?rne a ?crit : >>> When "Keywords in uppercase" is set to "On" WebPage's syntax >>> highlighting is broken. >>> >> >> What do you mean eaxctly? >> > > OK, I see ! > Fixed in revision #6927. Regards, -- Beno?t Minisini From john.aaron.rose at ...626... Mon Mar 2 19:31:52 2015 From: john.aaron.rose at ...626... (John Rose) Date: Mon, 02 Mar 2015 18:31:52 +0000 Subject: [Gambas-user] Clearing data from TextAreas & ListBoxes Message-ID: <54F4AC98.5020309@...626...> I have a Click event on a Button. At runtime, clicking the button should cause clearing of the data from a TextArea & some ListBoxes. There's no way this 'clearance' cannot be executed as the Exec of a CL program (which definitely happens because it populates these controls) soon follows it. However, it doesn't seem to do so. Clearance coding: With StopListBox .Clear .Refresh End With With SteckersListBox .Clear .Refresh End With With ReflectorListBox .Clear .Refresh End With With RotorsListBox .Clear .Refresh End With With DetailTextArea .Clear .Refresh End With Is the above the correct method of causing the clearance to happen on the screen immediately? -- John From taboege at ...626... Mon Mar 2 20:25:59 2015 From: taboege at ...626... (Tobias Boege) Date: Mon, 2 Mar 2015 20:25:59 +0100 Subject: [Gambas-user] Clearing data from TextAreas & ListBoxes In-Reply-To: <54F4AC98.5020309@...626...> References: <54F4AC98.5020309@...626...> Message-ID: <20150302192559.GB663@...2774...> On Mon, 02 Mar 2015, John Rose wrote: > I have a Click event on a Button. At runtime, clicking the button should > cause clearing of the data from a TextArea & some ListBoxes. There's no > way this 'clearance' cannot be executed as the Exec of a CL program > (which definitely happens because it populates these controls) soon > follows it. However, it doesn't seem to do so. Clearance coding: > With StopListBox > .Clear > .Refresh > End With > With SteckersListBox > .Clear > .Refresh > End With > With ReflectorListBox > .Clear > .Refresh > End With > With RotorsListBox > .Clear > .Refresh > End With > With DetailTextArea > .Clear > .Refresh > End With > > Is the above the correct method of causing the clearance to happen on > the screen immediately? > That last word is important. Controls are refreshed during the event loop which you can think of as the pause mode of the interpreter: it enters it when there is no Gambas code to execute at present. The interpreter sits there waiting for events to happen or does maintenance like redrawing the GUI. You can force the interpreter to look at pending events (and to redraw the controls by the way!) by using the Wait instruction without argument. Calling Refresh() is not necessary here which saves you 3 lines per Clear() call. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From john.aaron.rose at ...626... Mon Mar 2 21:16:15 2015 From: john.aaron.rose at ...626... (John Rose) Date: Mon, 02 Mar 2015 20:16:15 +0000 Subject: [Gambas-user] Clearing data from TextAreas & ListBoxes In-Reply-To: <20150302192559.GB663@...2774...> References: <54F4AC98.5020309@...626...> <20150302192559.GB663@...2774...> Message-ID: <54F4C50F.2060606@...626...> Tobi, I changed coding to: Public Sub RunButton_Click() ... StopListBox.Clear SteckersListBox.Clear ReflectorListBox.Clear RotorsListBox.Clear DetailTextArea.Clear Wait ... aExecParameters = ["/opt/Enigma/turing_bombe_all_wheels", sMenuPath] 'sMenuPath points to an input file pturing_bombe = Exec aExecParameters Wait For Read As "TuringBombeResultsDetail" ... PopulateListBoxesFromDetailsTextArea ... End Public Sub TuringBombeResultsDetail_Read() Dim sLine As String Line Input #Last, sLine Print "SO=" & sLine DetailTextArea.Text &= sLine & "\n" Wait End It still did not clear the displayed contents of those controls. I clicked the button once (i.e. when the contents were already clear) and it populated the above controls as expected. I clicked the button again but it did not clear the DetailTextArea or the ListBoxes immediately. The CL program took a few seconds to run and interestingly when it finished it did not add to the controls' contents (i.e. it cleared them before populating them again). John On 02/03/15 19:25, Tobias Boege wrote: > On Mon, 02 Mar 2015, John Rose wrote: >> I have a Click event on a Button. At runtime, clicking the button should >> cause clearing of the data from a TextArea & some ListBoxes. There's no >> way this 'clearance' cannot be executed as the Exec of a CL program >> (which definitely happens because it populates these controls) soon >> follows it. However, it doesn't seem to do so. Clearance coding: >> With StopListBox >> .Clear >> .Refresh >> End With >> With SteckersListBox >> .Clear >> .Refresh >> End With >> With ReflectorListBox >> .Clear >> .Refresh >> End With >> With RotorsListBox >> .Clear >> .Refresh >> End With >> With DetailTextArea >> .Clear >> .Refresh >> End With >> >> Is the above the correct method of causing the clearance to happen on >> the screen immediately? >> > That last word is important. Controls are refreshed during the event loop > which you can think of as the pause mode of the interpreter: it enters it > when there is no Gambas code to execute at present. The interpreter sits > there waiting for events to happen or does maintenance like redrawing the > GUI. > > You can force the interpreter to look at pending events (and to redraw the > controls by the way!) by using the Wait instruction without argument. > Calling Refresh() is not necessary here which saves you 3 lines per Clear() > call. > > Regards, > Tobi > From gambas at ...1... Mon Mar 2 21:23:56 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 02 Mar 2015 21:23:56 +0100 Subject: [Gambas-user] Form stealing focus problem (was Re: Balloon.Info on TrayIcon) In-Reply-To: <54DBFAC9.5020204@...1...> References: <54DBF279.6010000@...3429...> <54DBFAC9.5020204@...1...> Message-ID: <54F4C6DC.7080007@...1...> Le 12/02/2015 01:58, Beno?t Minisini a ?crit : > Le 12/02/2015 01:23, Michael A. Capone a ?crit : >> Hi folks, >> >> First of all, a big THANK YOU for the creation of Gambas! It has >> allowed us to port legacy VB code to linux and get several of our users >> off the Windows platform. >> >> I've searched everywhere for this, and seen several requests, but no >> satisfactory answer. >> >> Is there any way to implement a Balloon message that can be attached to >> a tray icon? This is common functionality that is seen in many >> applications. Unfortunately, TrayIcons are "Classes", not "Controls", >> so when you call >> >> Balloon.Info("Hello World", myTrayIcon) >> >> ... you get the error "Expected 'Control', got 'TrayIcon'". >> >> I've found this question in mailing lists going back to 2008, but no >> answer. >> >> My workaround is to render a small form in the lower right hand corner >> of the screen, put a tiny label on the tiny form, and have that label be >> the Control that the balloon attaches to. A timer then closes the form >> after a few seconds. >> >> The problem with that solution is that the newly rendered form steals >> focus from whatever application is currently running. So if I'm typing >> away in an e-mail, and my miniature balloon form loads, my e-mail client >> loses focus. >> >> I'm using gb.qt on Gambas 3.5.0; QT certainly has support for this >> (http://qt-project.org/doc/qt-4.8/desktop-systray.html), although I'll >> admit I know next to nothing about QT programming. But is this a >> feature that can be built into the TrayIcon class, perhaps in the form >> of TrayIcon.Balloon.Info? Or, is there a way to do that that I'm not >> familiar with yet? >> >> Thanks so much! >> Michael >> > > This is a windows idea : tray icons do not work anymore like that on > Linux, even if you can hack to get what your want. > > At the moment Gambas does not support the new standard tray icon system, > and if you have something to say to the user, you should use the > notification system : > > https://people.gnome.org/~mccann/docs/notification-spec/notification-spec-latest.html > > > As for the form stealing the focus, this is a problem I'm aware of. But > I have to find a good interface yet that allows showing a form without > it taking the focus. > > Regards, > Form stealing focus problem has been solved in revision #6937 with a new property added to the Window class: TakeFocus. If you set TakeFocus to False, then your window will not steal the focus the first time it is shown. Regards, -- Beno?t Minisini From taboege at ...626... Mon Mar 2 21:30:27 2015 From: taboege at ...626... (Tobias Boege) Date: Mon, 2 Mar 2015 21:30:27 +0100 Subject: [Gambas-user] Clearing data from TextAreas & ListBoxes In-Reply-To: <54F4C50F.2060606@...626...> References: <54F4AC98.5020309@...626...> <20150302192559.GB663@...2774...> <54F4C50F.2060606@...626...> Message-ID: <20150302203027.GC663@...2774...> On Mon, 02 Mar 2015, John Rose wrote: > On 02/03/15 19:25, Tobias Boege wrote: > > On Mon, 02 Mar 2015, John Rose wrote: > >> I have a Click event on a Button. At runtime, clicking the button should > >> cause clearing of the data from a TextArea & some ListBoxes. There's no > >> way this 'clearance' cannot be executed as the Exec of a CL program > >> (which definitely happens because it populates these controls) soon > >> follows it. However, it doesn't seem to do so. Clearance coding: > >> With StopListBox > >> .Clear > >> .Refresh > >> End With > >> With SteckersListBox > >> .Clear > >> .Refresh > >> End With > >> With ReflectorListBox > >> .Clear > >> .Refresh > >> End With > >> With RotorsListBox > >> .Clear > >> .Refresh > >> End With > >> With DetailTextArea > >> .Clear > >> .Refresh > >> End With > >> > >> Is the above the correct method of causing the clearance to happen on > >> the screen immediately? > >> > > That last word is important. Controls are refreshed during the event loop > > which you can think of as the pause mode of the interpreter: it enters it > > when there is no Gambas code to execute at present. The interpreter sits > > there waiting for events to happen or does maintenance like redrawing the > > GUI. > > > > You can force the interpreter to look at pending events (and to redraw the > > controls by the way!) by using the Wait instruction without argument. > > Calling Refresh() is not necessary here which saves you 3 lines per Clear() > > call. > > > Tobi, > > I changed coding to: > Public Sub RunButton_Click() > ... > StopListBox.Clear > SteckersListBox.Clear > ReflectorListBox.Clear > RotorsListBox.Clear > DetailTextArea.Clear > Wait Here, the controls are cleared. > ... > aExecParameters = ["/opt/Enigma/turing_bombe_all_wheels", sMenuPath] > 'sMenuPath points to an input file > pturing_bombe = Exec aExecParameters Wait For Read As "TuringBombeResultsDetail" > ... > PopulateListBoxesFromDetailsTextArea > ... Here, they are filled again with data from the external process. > End > > Public Sub TuringBombeResultsDetail_Read() > Dim sLine As String > Line Input #Last, sLine > Print "SO=" & sLine > DetailTextArea.Text &= sLine & "\n" > Wait > End > > It still did not clear the displayed contents of those controls. I > clicked the button once (i.e. when the contents were already clear) and > it populated the above controls as expected. I clicked the button again > but it did not clear the DetailTextArea or the ListBoxes immediately. > The CL program took a few seconds to run and interestingly when it > finished it did not add to the controls' contents (i.e. it cleared them > before populating them again). > Yes, that's precisely what the code above is meant to do, right? First you clear all the controls, then you start an external process to fill them anew. If you don't want to refill the controls, don't start the external process which gives you the new data. In case I'm misunderstanding here, the best practice seems to me to be: [ 0. don't top-post, ] 1. send a *small* project which shows your problem (with one or two controls to clear and a call to "ls" or something), 2. tell me exactly what you want to achieve and I'll send you the corrected project, if I can accomplish it. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas.fr at ...626... Mon Mar 2 22:03:02 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 2 Mar 2015 22:03:02 +0100 Subject: [Gambas-user] Form stealing focus problem (was Re: Balloon.Info on TrayIcon) In-Reply-To: <54F4C6DC.7080007@...1...> References: <54DBF279.6010000@...3429...> <54DBFAC9.5020204@...1...> <54F4C6DC.7080007@...1...> Message-ID: Cool for popup menu Le 2 mars 2015 21:25, "Beno?t Minisini" a ?crit : > Le 12/02/2015 01:58, Beno?t Minisini a ?crit : > > Le 12/02/2015 01:23, Michael A. Capone a ?crit : > >> Hi folks, > >> > >> First of all, a big THANK YOU for the creation of Gambas! It has > >> allowed us to port legacy VB code to linux and get several of our users > >> off the Windows platform. > >> > >> I've searched everywhere for this, and seen several requests, but no > >> satisfactory answer. > >> > >> Is there any way to implement a Balloon message that can be attached to > >> a tray icon? This is common functionality that is seen in many > >> applications. Unfortunately, TrayIcons are "Classes", not "Controls", > >> so when you call > >> > >> Balloon.Info("Hello World", myTrayIcon) > >> > >> ... you get the error "Expected 'Control', got 'TrayIcon'". > >> > >> I've found this question in mailing lists going back to 2008, but no > >> answer. > >> > >> My workaround is to render a small form in the lower right hand corner > >> of the screen, put a tiny label on the tiny form, and have that label be > >> the Control that the balloon attaches to. A timer then closes the form > >> after a few seconds. > >> > >> The problem with that solution is that the newly rendered form steals > >> focus from whatever application is currently running. So if I'm typing > >> away in an e-mail, and my miniature balloon form loads, my e-mail client > >> loses focus. > >> > >> I'm using gb.qt on Gambas 3.5.0; QT certainly has support for this > >> (http://qt-project.org/doc/qt-4.8/desktop-systray.html), although I'll > >> admit I know next to nothing about QT programming. But is this a > >> feature that can be built into the TrayIcon class, perhaps in the form > >> of TrayIcon.Balloon.Info? Or, is there a way to do that that I'm not > >> familiar with yet? > >> > >> Thanks so much! > >> Michael > >> > > > > This is a windows idea : tray icons do not work anymore like that on > > Linux, even if you can hack to get what your want. > > > > At the moment Gambas does not support the new standard tray icon system, > > and if you have something to say to the user, you should use the > > notification system : > > > > > https://people.gnome.org/~mccann/docs/notification-spec/notification-spec-latest.html > > > > > > As for the form stealing the focus, this is a problem I'm aware of. But > > I have to find a good interface yet that allows showing a form without > > it taking the focus. > > > > Regards, > > > > Form stealing focus problem has been solved in revision #6937 with a new > property added to the Window class: TakeFocus. > > If you set TakeFocus to False, then your window will not steal the focus > the first time it is shown. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Tue Mar 3 09:31:48 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 3 Mar 2015 09:31:48 +0100 Subject: [Gambas-user] Clearing data from TextAreas & ListBoxes In-Reply-To: <20150302203027.GC663@...2774...> References: <54F4AC98.5020309@...626...> <20150302192559.GB663@...2774...> <54F4C50F.2060606@...626...> <20150302203027.GC663@...2774...> Message-ID: And th? controls Will not be cleared until the procedure is not ended. Use an ascyncronous call to your external program can help you. You can use a timer trigger too that delay the call to the next event loop Le 2 mars 2015 21:35, "Tobias Boege" a ?crit : > On Mon, 02 Mar 2015, John Rose wrote: > > On 02/03/15 19:25, Tobias Boege wrote: > > > On Mon, 02 Mar 2015, John Rose wrote: > > >> I have a Click event on a Button. At runtime, clicking the button > should > > >> cause clearing of the data from a TextArea & some ListBoxes. There's > no > > >> way this 'clearance' cannot be executed as the Exec of a CL program > > >> (which definitely happens because it populates these controls) soon > > >> follows it. However, it doesn't seem to do so. Clearance coding: > > >> With StopListBox > > >> .Clear > > >> .Refresh > > >> End With > > >> With SteckersListBox > > >> .Clear > > >> .Refresh > > >> End With > > >> With ReflectorListBox > > >> .Clear > > >> .Refresh > > >> End With > > >> With RotorsListBox > > >> .Clear > > >> .Refresh > > >> End With > > >> With DetailTextArea > > >> .Clear > > >> .Refresh > > >> End With > > >> > > >> Is the above the correct method of causing the clearance to happen on > > >> the screen immediately? > > >> > > > That last word is important. Controls are refreshed during the event > loop > > > which you can think of as the pause mode of the interpreter: it enters > it > > > when there is no Gambas code to execute at present. The interpreter > sits > > > there waiting for events to happen or does maintenance like redrawing > the > > > GUI. > > > > > > You can force the interpreter to look at pending events (and to redraw > the > > > controls by the way!) by using the Wait instruction without argument. > > > Calling Refresh() is not necessary here which saves you 3 lines per > Clear() > > > call. > > > > > Tobi, > > > > I changed coding to: > > Public Sub RunButton_Click() > > ... > > StopListBox.Clear > > SteckersListBox.Clear > > ReflectorListBox.Clear > > RotorsListBox.Clear > > DetailTextArea.Clear > > Wait > > Here, the controls are cleared. > > > ... > > aExecParameters = ["/opt/Enigma/turing_bombe_all_wheels", sMenuPath] > > 'sMenuPath points to an input file > > pturing_bombe = Exec aExecParameters Wait For Read As > "TuringBombeResultsDetail" > > ... > > PopulateListBoxesFromDetailsTextArea > > ... > > Here, they are filled again with data from the external process. > > > End > > > > Public Sub TuringBombeResultsDetail_Read() > > Dim sLine As String > > Line Input #Last, sLine > > Print "SO=" & sLine > > DetailTextArea.Text &= sLine & "\n" > > Wait > > End > > > > It still did not clear the displayed contents of those controls. I > > clicked the button once (i.e. when the contents were already clear) and > > it populated the above controls as expected. I clicked the button again > > but it did not clear the DetailTextArea or the ListBoxes immediately. > > The CL program took a few seconds to run and interestingly when it > > finished it did not add to the controls' contents (i.e. it cleared them > > before populating them again). > > > > Yes, that's precisely what the code above is meant to do, right? First you > clear all the controls, then you start an external process to fill them > anew. If you don't want to refill the controls, don't start the external > process which gives you the new data. > > In case I'm misunderstanding here, the best practice seems to me to be: > > [ 0. don't top-post, ] > 1. send a *small* project which shows your problem (with one or two > controls to clear and a call to "ls" or something), > 2. tell me exactly what you want to achieve > > and I'll send you the corrected project, if I can accomplish it. > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From john.aaron.rose at ...626... Tue Mar 3 10:11:46 2015 From: john.aaron.rose at ...626... (John Rose) Date: Tue, 03 Mar 2015 09:11:46 +0000 Subject: [Gambas-user] Clearing data from TextAreas & ListBoxes In-Reply-To: References: <54F4AC98.5020309@...626...> <20150302192559.GB663@...2774...> <54F4C50F.2060606@...626...> <20150302203027.GC663@...2774...> Message-ID: <54F57AD2.3080904@...626...> On 03/03/15 08:31, Fabien Bodard wrote: > And th? controls Will not be cleared until the procedure is not ended. > > Use an ascyncronous call to your external program can help you. > > You can use a timer trigger too that delay the call to the next event loop > Le 2 mars 2015 21:35, "Tobias Boege" a ?crit : > >> On Mon, 02 Mar 2015, John Rose wrote: >>> On 02/03/15 19:25, Tobias Boege wrote: >>>> On Mon, 02 Mar 2015, John Rose wrote: >>>>> I have a Click event on a Button. At runtime, clicking the button >> should >>>>> cause clearing of the data from a TextArea & some ListBoxes. There's >> no >>>>> way this 'clearance' cannot be executed as the Exec of a CL program >>>>> (which definitely happens because it populates these controls) soon >>>>> follows it. However, it doesn't seem to do so. Clearance coding: >>>>> With StopListBox >>>>> .Clear >>>>> .Refresh >>>>> End With >>>>> With SteckersListBox >>>>> .Clear >>>>> .Refresh >>>>> End With >>>>> With ReflectorListBox >>>>> .Clear >>>>> .Refresh >>>>> End With >>>>> With RotorsListBox >>>>> .Clear >>>>> .Refresh >>>>> End With >>>>> With DetailTextArea >>>>> .Clear >>>>> .Refresh >>>>> End With >>>>> >>>>> Is the above the correct method of causing the clearance to happen on >>>>> the screen immediately? >>>>> >>>> That last word is important. Controls are refreshed during the event >> loop >>>> which you can think of as the pause mode of the interpreter: it enters >> it >>>> when there is no Gambas code to execute at present. The interpreter >> sits >>>> there waiting for events to happen or does maintenance like redrawing >> the >>>> GUI. >>>> >>>> You can force the interpreter to look at pending events (and to redraw >> the >>>> controls by the way!) by using the Wait instruction without argument. >>>> Calling Refresh() is not necessary here which saves you 3 lines per >> Clear() >>>> call. >>>> >>> Tobi, >>> >>> I changed coding to: >>> Public Sub RunButton_Click() >>> ... >>> StopListBox.Clear >>> SteckersListBox.Clear >>> ReflectorListBox.Clear >>> RotorsListBox.Clear >>> DetailTextArea.Clear >>> Wait >> Here, the controls are cleared. >> >>> ... >>> aExecParameters = ["/opt/Enigma/turing_bombe_all_wheels", sMenuPath] >>> 'sMenuPath points to an input file >>> pturing_bombe = Exec aExecParameters Wait For Read As >> "TuringBombeResultsDetail" >>> ... >>> PopulateListBoxesFromDetailsTextArea >>> ... >> Here, they are filled again with data from the external process. >> >>> End >>> >>> Public Sub TuringBombeResultsDetail_Read() >>> Dim sLine As String >>> Line Input #Last, sLine >>> Print "SO=" & sLine >>> DetailTextArea.Text &= sLine & "\n" >>> Wait >>> End >>> >>> It still did not clear the displayed contents of those controls. I >>> clicked the button once (i.e. when the contents were already clear) and >>> it populated the above controls as expected. I clicked the button again >>> but it did not clear the DetailTextArea or the ListBoxes immediately. >>> The CL program took a few seconds to run and interestingly when it >>> finished it did not add to the controls' contents (i.e. it cleared them >>> before populating them again). >>> >> Yes, that's precisely what the code above is meant to do, right? First you >> clear all the controls, then you start an external process to fill them >> anew. If you don't want to refill the controls, don't start the external >> process which gives you the new data. >> >> In case I'm misunderstanding here, the best practice seems to me to be: >> >> [ 0. don't top-post, ] >> 1. send a *small* project which shows your problem (with one or two >> controls to clear and a call to "ls" or something), >> 2. tell me exactly what you want to achieve >> >> and I'll send you the corrected project, if I can accomplish it. >> >> Regards, >> Tobi >> >> -- >> "There's an old saying: Don't change anything... ever!" -- Mr. Monk >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, >> sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub for >> all >> things parallel software development, from weekly thought leadership blogs >> to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Tobi & Fabien, Bottom posting as requested. Project named Test attached: stripped down from original project. I want the DetailTextArea to be cleared onscreenimmediately when a second or subsequent Run is done (i.e. the Run button is clicked twice). When the Run button is clicked it causes the execution of 2 CL programs: create_menu & turing_bombe_all_wheels - the second one taking 10+ seconds to execute. Currently the DetailTextArea is only cleared onscreen when the turing_bombe_all_wheels has finished executing. I have attached a tar.gz of the command line C programs. the tar.gz should be extracted, the CL programs compiled (by cd to the extracted directory, 'make clean all TARGET=linux' & 'make all Target=linux VERBOSE=3', the create_menu & turing_bombe_all_wheels programs copied to a new /opt/Enigma/ directory, and the Test Gambas app run (after extraction etc from the attached tar.gz of it), I have attached a Crib file containing two 12-character lines: AFRHSQESERKG and IEDSIEGFRIED. The first set of 12 characters is to go into the left hand 12 Cyphered MaskBoxes & the second set of 12 characters is to go into the left hand 12 Plain MaskBoxes. When you run the Test Gambas app, either type in the above 2 sets of 12 characters or use the appropriate Paste buttons to paste them from the clipboard. Fabien, You say "And th? controls Will not be cleared until the procedure is not ended.Use an ascyncronous call to your external program can help you.". In Gambas, how do make an asynchronous call to an external program? I do not want to amend the coding in the external program turing_bombe_all_wheels. Current coding: pturing_bombe = Exec ["/opt/Enigma/turing_bombe_all_wheels", sMenuPath] Wait For Read As "TuringBombeResultsDetail" -------------- next part -------------- A non-text attachment was scrubbed... Name: Test.xyz Type: chemical/x-xyz Size: 10941 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: enigma-rev62.xyz Type: chemical/x-xyz Size: 284408 bytes Desc: not available URL: -------------- next part -------------- AFRHSQESERKG IEDSIEGFRIED From eilert-sprachen at ...221... Tue Mar 3 10:34:54 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 03 Mar 2015 10:34:54 +0100 Subject: [Gambas-user] Clearing data from TextAreas & ListBoxes In-Reply-To: <54F57AD2.3080904@...626...> References: <54F4AC98.5020309@...626...> <20150302192559.GB663@...2774...> <54F4C50F.2060606@...626...> <20150302203027.GC663@...2774...> <54F57AD2.3080904@...626...> Message-ID: <54F5803E.7080501@...221...> Am 03.03.2015 10:11, schrieb John Rose: > On 03/03/15 08:31, Fabien Bodard wrote: > >> And th? controls Will not be cleared until the procedure is not ended. >> >> Use an ascyncronous call to your external program can help you. >> >> You can use a timer trigger too that delay the call to the next event loop >> Le 2 mars 2015 21:35, "Tobias Boege" a ?crit : >> >>> On Mon, 02 Mar 2015, John Rose wrote: >>>> On 02/03/15 19:25, Tobias Boege wrote: >>>>> On Mon, 02 Mar 2015, John Rose wrote: >>>>>> I have a Click event on a Button. At runtime, clicking the button >>> should >>>>>> cause clearing of the data from a TextArea & some ListBoxes. There's >>> no >>>>>> way this 'clearance' cannot be executed as the Exec of a CL program >>>>>> (which definitely happens because it populates these controls) soon >>>>>> follows it. However, it doesn't seem to do so. Clearance coding: >>>>>> With StopListBox >>>>>> .Clear >>>>>> .Refresh >>>>>> End With >>>>>> With SteckersListBox >>>>>> .Clear >>>>>> .Refresh >>>>>> End With >>>>>> With ReflectorListBox >>>>>> .Clear >>>>>> .Refresh >>>>>> End With >>>>>> With RotorsListBox >>>>>> .Clear >>>>>> .Refresh >>>>>> End With >>>>>> With DetailTextArea >>>>>> .Clear >>>>>> .Refresh >>>>>> End With >>>>>> >>>>>> Is the above the correct method of causing the clearance to happen on >>>>>> the screen immediately? >>>>>> >>>>> That last word is important. Controls are refreshed during the event >>> loop >>>>> which you can think of as the pause mode of the interpreter: it enters >>> it >>>>> when there is no Gambas code to execute at present. The interpreter >>> sits >>>>> there waiting for events to happen or does maintenance like redrawing >>> the >>>>> GUI. >>>>> >>>>> You can force the interpreter to look at pending events (and to redraw >>> the >>>>> controls by the way!) by using the Wait instruction without argument. >>>>> Calling Refresh() is not necessary here which saves you 3 lines per >>> Clear() >>>>> call. >>>>> >>>> Tobi, >>>> >>>> I changed coding to: >>>> Public Sub RunButton_Click() >>>> ... >>>> StopListBox.Clear >>>> SteckersListBox.Clear >>>> ReflectorListBox.Clear >>>> RotorsListBox.Clear >>>> DetailTextArea.Clear >>>> Wait >>> Here, the controls are cleared. >>> >>>> ... >>>> aExecParameters = ["/opt/Enigma/turing_bombe_all_wheels", sMenuPath] >>>> 'sMenuPath points to an input file >>>> pturing_bombe = Exec aExecParameters Wait For Read As >>> "TuringBombeResultsDetail" >>>> ... >>>> PopulateListBoxesFromDetailsTextArea >>>> ... >>> Here, they are filled again with data from the external process. >>> >>>> End >>>> >>>> Public Sub TuringBombeResultsDetail_Read() >>>> Dim sLine As String >>>> Line Input #Last, sLine >>>> Print "SO=" & sLine >>>> DetailTextArea.Text &= sLine & "\n" >>>> Wait >>>> End >>>> >>>> It still did not clear the displayed contents of those controls. I >>>> clicked the button once (i.e. when the contents were already clear) and >>>> it populated the above controls as expected. I clicked the button again >>>> but it did not clear the DetailTextArea or the ListBoxes immediately. >>>> The CL program took a few seconds to run and interestingly when it >>>> finished it did not add to the controls' contents (i.e. it cleared them >>>> before populating them again). >>>> >>> Yes, that's precisely what the code above is meant to do, right? First you >>> clear all the controls, then you start an external process to fill them >>> anew. If you don't want to refill the controls, don't start the external >>> process which gives you the new data. >>> >>> In case I'm misunderstanding here, the best practice seems to me to be: >>> >>> [ 0. don't top-post, ] >>> 1. send a *small* project which shows your problem (with one or two >>> controls to clear and a call to "ls" or something), >>> 2. tell me exactly what you want to achieve >>> >>> and I'll send you the corrected project, if I can accomplish it. >>> >>> Regards, >>> Tobi >>> >>> -- >>> "There's an old saying: Don't change anything... ever!" -- Mr. Monk >>> >>> >>> ------------------------------------------------------------------------------ >>> Dive into the World of Parallel Programming The Go Parallel Website, >>> sponsored >>> by Intel and developed in partnership with Slashdot Media, is your hub for >>> all >>> things parallel software development, from weekly thought leadership blogs >>> to >>> news, videos, case studies, tutorials and more. Take a look and join the >>> conversation now. http://goparallel.sourceforge.net/ >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub for all >> things parallel software development, from weekly thought leadership blogs to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > Tobi & Fabien, > > Bottom posting as requested. Project named Test attached: stripped down > from original project. I want the DetailTextArea to be cleared > onscreenimmediately when a second or subsequent Run is done (i.e. the > Run button is clicked twice). When the Run button is clicked it causes > the execution of 2 CL programs: create_menu & turing_bombe_all_wheels - > the second one taking 10+ seconds to execute. Currently the > DetailTextArea is only cleared onscreen when the turing_bombe_all_wheels > has finished executing. > > I have attached a tar.gz of the command line C programs. the tar.gz > should be extracted, the CL programs compiled (by cd to the extracted > directory, 'make clean all TARGET=linux' & 'make all Target=linux > VERBOSE=3', the create_menu & turing_bombe_all_wheels programs copied to > a new /opt/Enigma/ directory, and the Test Gambas app run (after > extraction etc from the attached tar.gz of it), I have attached a Crib > file containing two 12-character lines: AFRHSQESERKG and IEDSIEGFRIED. > The first set of 12 characters is to go into the left hand 12 Cyphered > MaskBoxes & the second set of 12 characters is to go into the left hand > 12 Plain MaskBoxes. When you run the Test Gambas app, either type in the > above 2 sets of 12 characters or use the appropriate Paste buttons to > paste them from the clipboard. > > Fabien, > > You say "And th? controls Will not be cleared until the procedure is not ended.Use an ascyncronous call to your external program can help you.". In Gambas, how do make an asynchronous call to an external program? I do not want to amend the coding in the external program turing_bombe_all_wheels. Current coding: > pturing_bombe = Exec ["/opt/Enigma/turing_bombe_all_wheels", sMenuPath] Wait For Read As "TuringBombeResultsDetail" > From my experience: Once I tried to build a small window showing some text during printing. The window appeared, but never the text. Until I inserted some WAITs at the most lengthy loops, but since then printing is somewhat slower. There is a Cancel button as well, but it never canceled anything, printing will be over until the process loop gets it. There is some comfort: Other programs show this problem as well, it is a matter of GUI handling. The only thing that would really help is stopping all program activity for a moment so the GUI has a chance to redraw everything. WAIT is your best chance here. Rolf From taboege at ...626... Tue Mar 3 10:53:08 2015 From: taboege at ...626... (Tobias Boege) Date: Tue, 3 Mar 2015 10:53:08 +0100 Subject: [Gambas-user] Clearing data from TextAreas & ListBoxes In-Reply-To: <54F57AD2.3080904@...626...> References: <54F4AC98.5020309@...626...> <20150302192559.GB663@...2774...> <54F4C50F.2060606@...626...> <20150302203027.GC663@...2774...> <54F57AD2.3080904@...626...> Message-ID: <20150303095308.GA1015@...2774...> On Tue, 03 Mar 2015, John Rose wrote: > On 03/03/15 08:31, Fabien Bodard wrote: > > > And th?? controls Will not be cleared until the procedure is not ended. > > > > Use an ascyncronous call to your external program can help you. > > > > You can use a timer trigger too that delay the call to the next event loop > > Le 2 mars 2015 21:35, "Tobias Boege" a ??crit : > > > >> On Mon, 02 Mar 2015, John Rose wrote: > >>> On 02/03/15 19:25, Tobias Boege wrote: > >>>> On Mon, 02 Mar 2015, John Rose wrote: > >>>>> I have a Click event on a Button. At runtime, clicking the button > >> should > >>>>> cause clearing of the data from a TextArea & some ListBoxes. There's > >> no > >>>>> way this 'clearance' cannot be executed as the Exec of a CL program > >>>>> (which definitely happens because it populates these controls) soon > >>>>> follows it. However, it doesn't seem to do so. Clearance coding: > >>>>> With StopListBox > >>>>> .Clear > >>>>> .Refresh > >>>>> End With > >>>>> With SteckersListBox > >>>>> .Clear > >>>>> .Refresh > >>>>> End With > >>>>> With ReflectorListBox > >>>>> .Clear > >>>>> .Refresh > >>>>> End With > >>>>> With RotorsListBox > >>>>> .Clear > >>>>> .Refresh > >>>>> End With > >>>>> With DetailTextArea > >>>>> .Clear > >>>>> .Refresh > >>>>> End With > >>>>> > >>>>> Is the above the correct method of causing the clearance to happen on > >>>>> the screen immediately? > >>>>> > >>>> That last word is important. Controls are refreshed during the event > >> loop > >>>> which you can think of as the pause mode of the interpreter: it enters > >> it > >>>> when there is no Gambas code to execute at present. The interpreter > >> sits > >>>> there waiting for events to happen or does maintenance like redrawing > >> the > >>>> GUI. > >>>> > >>>> You can force the interpreter to look at pending events (and to redraw > >> the > >>>> controls by the way!) by using the Wait instruction without argument. > >>>> Calling Refresh() is not necessary here which saves you 3 lines per > >> Clear() > >>>> call. > >>>> > >>> Tobi, > >>> > >>> I changed coding to: > >>> Public Sub RunButton_Click() > >>> ... > >>> StopListBox.Clear > >>> SteckersListBox.Clear > >>> ReflectorListBox.Clear > >>> RotorsListBox.Clear > >>> DetailTextArea.Clear > >>> Wait > >> Here, the controls are cleared. > >> > >>> ... > >>> aExecParameters = ["/opt/Enigma/turing_bombe_all_wheels", sMenuPath] > >>> 'sMenuPath points to an input file > >>> pturing_bombe = Exec aExecParameters Wait For Read As > >> "TuringBombeResultsDetail" > >>> ... > >>> PopulateListBoxesFromDetailsTextArea > >>> ... > >> Here, they are filled again with data from the external process. > >> > >>> End > >>> > >>> Public Sub TuringBombeResultsDetail_Read() > >>> Dim sLine As String > >>> Line Input #Last, sLine > >>> Print "SO=" & sLine > >>> DetailTextArea.Text &= sLine & "\n" > >>> Wait > >>> End > >>> > >>> It still did not clear the displayed contents of those controls. I > >>> clicked the button once (i.e. when the contents were already clear) and > >>> it populated the above controls as expected. I clicked the button again > >>> but it did not clear the DetailTextArea or the ListBoxes immediately. > >>> The CL program took a few seconds to run and interestingly when it > >>> finished it did not add to the controls' contents (i.e. it cleared them > >>> before populating them again). > >>> > >> Yes, that's precisely what the code above is meant to do, right? First you > >> clear all the controls, then you start an external process to fill them > >> anew. If you don't want to refill the controls, don't start the external > >> process which gives you the new data. > >> > >> In case I'm misunderstanding here, the best practice seems to me to be: > >> > >> [ 0. don't top-post, ] > >> 1. send a *small* project which shows your problem (with one or two > >> controls to clear and a call to "ls" or something), > >> 2. tell me exactly what you want to achieve > >> > >> and I'll send you the corrected project, if I can accomplish it. > >> > Tobi & Fabien, > > Bottom posting as requested. Project named Test attached: stripped down > from original project. I want the DetailTextArea to be cleared > onscreenimmediately when a second or subsequent Run is done (i.e. the > Run button is clicked twice). When the Run button is clicked it causes > the execution of 2 CL programs: create_menu & turing_bombe_all_wheels - > the second one taking 10+ seconds to execute. Currently the > DetailTextArea is only cleared onscreen when the turing_bombe_all_wheels > has finished executing. > Apparently you need to give it a little time: DetailTextArea.Clear() Wait 0.1 works for me. > Fabien, > > You say "And th?? controls Will not be cleared until the procedure is not ended.Use an ascyncronous call to your external program can help you.". In Gambas, how do make an asynchronous call to an external program? I do not want to amend the coding in the external program turing_bombe_all_wheels. Current coding: > pturing_bombe = Exec ["/opt/Enigma/turing_bombe_all_wheels", sMenuPath] Wait For Read As "TuringBombeResultsDetail" > This would be best I think. Remove the "Wait" from your Exec line and you have an asynchronous process. This works here, too, and doesn't require a rule-of-thumb "Wait 0.1". Also, since you use the Process' Read event your code is essentially doing asynchronous reads of the process output. You force it artificially to be synchronous by using the Wait flag. A patch with both ways is attached. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: Test~Test-0.0.13.patch Type: text/x-diff Size: 2132 bytes Desc: not available URL: From john.aaron.rose at ...626... Tue Mar 3 11:23:34 2015 From: john.aaron.rose at ...626... (John Rose) Date: Tue, 03 Mar 2015 10:23:34 +0000 Subject: [Gambas-user] Clearing data from TextAreas & ListBoxes In-Reply-To: <20150303095308.GA1015@...2774...> References: <54F4AC98.5020309@...626...> <20150302192559.GB663@...2774...> <54F4C50F.2060606@...626...> <20150302203027.GC663@...2774...> <54F57AD2.3080904@...626...> <20150303095308.GA1015@...2774...> Message-ID: <54F58BA6.8090703@...626...> On 03/03/15 09:53, Tobias Boege wrote: > On Tue, 03 Mar 2015, John Rose wrote: >> On 03/03/15 08:31, Fabien Bodard wrote: >> >>> And th?? controls Will not be cleared until the procedure is not ended. >>> >>> Use an ascyncronous call to your external program can help you. >>> >>> You can use a timer trigger too that delay the call to the next event loop >>> Le 2 mars 2015 21:35, "Tobias Boege" a ??crit : >>> >>>> On Mon, 02 Mar 2015, John Rose wrote: >>>>> On 02/03/15 19:25, Tobias Boege wrote: >>>>>> On Mon, 02 Mar 2015, John Rose wrote: >>>>>>> I have a Click event on a Button. At runtime, clicking the button >>>> should >>>>>>> cause clearing of the data from a TextArea & some ListBoxes. There's >>>> no >>>>>>> way this 'clearance' cannot be executed as the Exec of a CL program >>>>>>> (which definitely happens because it populates these controls) soon >>>>>>> follows it. However, it doesn't seem to do so. Clearance coding: >>>>>>> With StopListBox >>>>>>> .Clear >>>>>>> .Refresh >>>>>>> End With >>>>>>> With SteckersListBox >>>>>>> .Clear >>>>>>> .Refresh >>>>>>> End With >>>>>>> With ReflectorListBox >>>>>>> .Clear >>>>>>> .Refresh >>>>>>> End With >>>>>>> With RotorsListBox >>>>>>> .Clear >>>>>>> .Refresh >>>>>>> End With >>>>>>> With DetailTextArea >>>>>>> .Clear >>>>>>> .Refresh >>>>>>> End With >>>>>>> >>>>>>> Is the above the correct method of causing the clearance to happen on >>>>>>> the screen immediately? >>>>>>> >>>>>> That last word is important. Controls are refreshed during the event >>>> loop >>>>>> which you can think of as the pause mode of the interpreter: it enters >>>> it >>>>>> when there is no Gambas code to execute at present. The interpreter >>>> sits >>>>>> there waiting for events to happen or does maintenance like redrawing >>>> the >>>>>> GUI. >>>>>> >>>>>> You can force the interpreter to look at pending events (and to redraw >>>> the >>>>>> controls by the way!) by using the Wait instruction without argument. >>>>>> Calling Refresh() is not necessary here which saves you 3 lines per >>>> Clear() >>>>>> call. >>>>>> >>>>> Tobi, >>>>> >>>>> I changed coding to: >>>>> Public Sub RunButton_Click() >>>>> ... >>>>> StopListBox.Clear >>>>> SteckersListBox.Clear >>>>> ReflectorListBox.Clear >>>>> RotorsListBox.Clear >>>>> DetailTextArea.Clear >>>>> Wait >>>> Here, the controls are cleared. >>>> >>>>> ... >>>>> aExecParameters = ["/opt/Enigma/turing_bombe_all_wheels", sMenuPath] >>>>> 'sMenuPath points to an input file >>>>> pturing_bombe = Exec aExecParameters Wait For Read As >>>> "TuringBombeResultsDetail" >>>>> ... >>>>> PopulateListBoxesFromDetailsTextArea >>>>> ... >>>> Here, they are filled again with data from the external process. >>>> >>>>> End >>>>> >>>>> Public Sub TuringBombeResultsDetail_Read() >>>>> Dim sLine As String >>>>> Line Input #Last, sLine >>>>> Print "SO=" & sLine >>>>> DetailTextArea.Text &= sLine & "\n" >>>>> Wait >>>>> End >>>>> >>>>> It still did not clear the displayed contents of those controls. I >>>>> clicked the button once (i.e. when the contents were already clear) and >>>>> it populated the above controls as expected. I clicked the button again >>>>> but it did not clear the DetailTextArea or the ListBoxes immediately. >>>>> The CL program took a few seconds to run and interestingly when it >>>>> finished it did not add to the controls' contents (i.e. it cleared them >>>>> before populating them again). >>>>> >>>> Yes, that's precisely what the code above is meant to do, right? First you >>>> clear all the controls, then you start an external process to fill them >>>> anew. If you don't want to refill the controls, don't start the external >>>> process which gives you the new data. >>>> >>>> In case I'm misunderstanding here, the best practice seems to me to be: >>>> >>>> [ 0. don't top-post, ] >>>> 1. send a *small* project which shows your problem (with one or two >>>> controls to clear and a call to "ls" or something), >>>> 2. tell me exactly what you want to achieve >>>> >>>> and I'll send you the corrected project, if I can accomplish it. >>>> >> Tobi & Fabien, >> >> Bottom posting as requested. Project named Test attached: stripped down >> from original project. I want the DetailTextArea to be cleared >> onscreenimmediately when a second or subsequent Run is done (i.e. the >> Run button is clicked twice). When the Run button is clicked it causes >> the execution of 2 CL programs: create_menu & turing_bombe_all_wheels - >> the second one taking 10+ seconds to execute. Currently the >> DetailTextArea is only cleared onscreen when the turing_bombe_all_wheels >> has finished executing. >> > Apparently you need to give it a little time: > > DetailTextArea.Clear() > Wait 0.1 > > works for me. > >> Fabien, >> >> You say "And th?? controls Will not be cleared until the procedure is not ended.Use an ascyncronous call to your external program can help you.". In Gambas, how do make an asynchronous call to an external program? I do not want to amend the coding in the external program turing_bombe_all_wheels. Current coding: >> pturing_bombe = Exec ["/opt/Enigma/turing_bombe_all_wheels", sMenuPath] Wait For Read As "TuringBombeResultsDetail" >> > This would be best I think. Remove the "Wait" from your Exec line and you > have an asynchronous process. This works here, too, and doesn't require a > rule-of-thumb "Wait 0.1". > > Also, since you use the Process' Read event your code is essentially doing > asynchronous reads of the process output. You force it artificially to be > synchronous by using the Wait flag. > > A patch with both ways is attached. > > Regards, > Tobi > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Tobi, Thanks for the ideas. I amended the coding to: pturing_bombe = Exec ["/opt/Enigma/turing_bombe_all_wheels", sMenuPath] For Read As "TuringBombeResultsDetail" Do Wait 0.1 Loop Until pturing_bombe.State <> Process.Running and it cleared the DetailTextArea OK on doing the second & subsequent runs. I found that I no longer need the 'Wait' after 'DetailTextArea.Clear'. PS Not on this topic, but when sending a tar.gz (e.g. of a gambas project) using my gmail account, Google comes up with an email pointing to one of their web pages stating that they prevent sending on of emails containing attached .gz files (and .zip etc). That's why I previously changed my attached files from .gz to .xyz. Another nuisance. courtesy of Google, due to Windoze viruses! From shordi at ...626... Wed Mar 4 11:27:49 2015 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Wed, 4 Mar 2015 11:27:49 +0100 Subject: [Gambas-user] A little feature request about checkboxes Message-ID: I don't like the checkbox always at left of text. Is posible add a propertie Invert like hboxes has? It would be great. Regards From gambas at ...1... Wed Mar 4 11:32:00 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 04 Mar 2015 11:32:00 +0100 Subject: [Gambas-user] A little feature request about checkboxes In-Reply-To: References: Message-ID: <54F6DF20.2060707@...1...> Le 04/03/2015 11:27, Jorge Carri?n a ?crit : > I don't like the checkbox always at left of text. Is posible add a > propertie Invert like hboxes has? > > It would be great. > > Regards I don't think so. At least I didn't see any property to do that in Qt the last time I checked. -- Beno?t Minisini From shordi at ...626... Wed Mar 4 11:35:27 2015 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Wed, 4 Mar 2015 11:35:27 +0100 Subject: [Gambas-user] A little feature request about checkboxes In-Reply-To: <54F6DF20.2060707@...1...> References: <54F6DF20.2060707@...1...> Message-ID: Ok. I'll try to do user control who extend the class then. Regards. 2015-03-04 11:32 GMT+01:00 Beno?t Minisini : > Le 04/03/2015 11:27, Jorge Carri?n a ?crit : > > I don't like the checkbox always at left of text. Is posible add a > > propertie Invert like hboxes has? > > > > It would be great. > > > > Regards > > I don't think so. At least I didn't see any property to do that in Qt > the last time I checked. > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From adamnt42 at ...626... Wed Mar 4 13:09:34 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Wed, 4 Mar 2015 22:39:34 +1030 Subject: [Gambas-user] A little feature request about checkboxes In-Reply-To: References: <54F6DF20.2060707@...1...> Message-ID: <20150304223934.97ac14aa2763c3e957acc4c8@...626...> On Wed, 4 Mar 2015 11:35:27 +0100 Jorge Carri?n wrote: > Ok. > > I'll try to do user control who extend the class then. > > Regards. > > > > 2015-03-04 11:32 GMT+01:00 Beno?t Minisini : > > > Le 04/03/2015 11:27, Jorge Carri?n a ?crit : > > > I don't like the checkbox always at left of text. Is posible add a > > > propertie Invert like hboxes has? > > > > > > It would be great. > > > > > > Regards > > > > I don't think so. At least I didn't see any property to do that in Qt > > the last time I checked. > > > > -- > > Beno?t Minisini > > > > > > ------------------------------------------------------------------------------ > > Dive into the World of Parallel Programming The Go Parallel Website, > > sponsored > > by Intel and developed in partnership with Slashdot Media, is your hub for > > all > > things parallel software development, from weekly thought leadership blogs > > to > > news, videos, case studies, tutorials and more. Take a look and join the > > conversation now. http://goparallel.sourceforge.net/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user The following may get you started. ' Gambas class file ''' A checkbox with the label on the left hand side! Export Inherits UserControl '================================================================= '==== Control Infrastructure ==== '================================================================= 'Property declaration for the IDE (*=show all "UserContainer" Properties) Public Const _Properties As String = "*," "Action," "Offset{Range}=15," "LabelText," "LabelColon=True," "ReadOnly=False," "TriState=False," "Value{CheckBox.*}=False," "-Expand" Public Const _IsControl As Boolean = True Public Const _Family As String = "Form" Public Const _Group As String = "Paddys-Hill" Public Const _DefaultSize As String = "25,3" 'These are in pixels/7 Public Const _DefaultEvent As String = "Changed" 'Set the default event handler Public Const _IsContainer As Boolean = True ' Public Const _DrawWith As String = "CheckBox" 'Still cant get what we want here AND THIS CRASHES THE IDE '================================================================= '==== Event Declarations ==== '================================================================= Event Activate() Event Changed() Event Click() '================================================================= '==== Property Declarations ==== '================================================================= Property Offset As Integer ' Sets or retuns the width of the label Property LabelText As String ' Sets or returns the label text Property LabelColon As Boolean ' Sets or returns whether the label is automatically "colonised" Property Background As Integer ' Sets or returns the checkbox background ??? ' New properties Property ReadOnly As Boolean ' Returns or sets whether the checkbox is readonly ' Native properties that need exposing Property Value As Integer ' Returns or sets the value of the check-box. Property TriState As Boolean ' Sets or returns whether null values are allowed '================================================================= '==== Local Property Variables ==== '================================================================= Private $offset As Integer = 15 Private $labeltext As String Private $labelcolon As Boolean = True Private $readonly As Boolean = False '' Needs to be handled locally, native checkbox has no ReadOnly property '================================================================= '==== Local Variables ==== '================================================================= ' 1) Contained items Private $hbox As HBox ' This will act as the "_Container" Private $label As Label ' The label Private $innercheckbox As CheckBox ' The real checkbox ' Private $fakecheckbox As PictureBox ' The displayed checkbox (to be considered later) ' 2) Some event control items Private $selfobserver As Observer ' Allows us to get at our own events Private $originalvalue As Boolean ' Private $innerBackground As Integer ' used to save the set color Private $innerForeground As Integer ' used to save the set color Private $allowclick As Boolean ' used to control whether a Click will Click or SetFocus '================================================================= '==== Special Methods ==== '================================================================= Public Sub _new() '' Constructor, wherein we create the control $selfobserver = New Observer(Me) As "SELF" $hbox = New HBox(Me) $hbox.Spacing = 2 ' $hbox.Expand = True 'Disabled Feb 2014 Not sure why it was ever set $label = New Label($hbox) As "InnerLabel" With $label .Alignment = Align.Right If MStandards.ShrinkLabelFont Then .Font = Font["-1"] If MStandards.ItaliciseLabelFont Then .Font.Italic = True End With $innercheckbox = New CheckBox($hbox) As "InnerCheckBox" With $innercheckbox .Text = "" .Width = 3 * Desktop.Scale ' .Height = 3 * Desktop.Scale End With Me.Proxy = $innercheckbox End '================================================================= '==== Public Methods ==== '================================================================= '================================================================= '==== Private Methods ==== '================================================================= Private Sub SetupLabel() Dim wklabel As String wklabel = $labeltext If $labelcolon Then wklabel &= ":" Inc $offset Endif $label.Text = wklabel End '================================================================= '==== Property Accessors ==== '================================================================= Private Function Value_Read() As Integer Return $innercheckbox.Value End Private Sub Value_Write(Value As Integer) $innercheckbox.Value = Value End Private Function Offset_Read() As Integer Return $offset End Private Sub Offset_Write(Value As Integer) $offset = Value End Private Function LabelText_Read() As String Return $labeltext End Private Sub LabelText_Write(Value As String) $labeltext = Value SetupLabel End Private Function LabelColon_Read() As Boolean Return $labelcolon End Private Sub LabelColon_Write(Value As Boolean) $labelcolon = Value SetupLabel End Private Function TriState_Read() As Boolean Return $innercheckbox.Tristate End Private Sub TriState_Write(Value As Boolean) $innercheckbox.Tristate = Value End Private Function Background_Read() As Integer Return $innercheckbox.Background End Private Sub Background_Write(Value As Integer) $innercheckbox.Background = Value End Private Function ReadOnly_Read() As Boolean Return $readonly End Private Sub ReadOnly_Write(Value As Boolean) $readonly = Value $innercheckbox.NoTabFocus = Value $innercheckbox.Enabled = Not Value End '================================================================= '==== Event Handlers ==== '================================================================= Public Sub SELF_Arrange() $label.Width = $offset * Desktop.Scale $innercheckbox.x = $offset * Desktop.Scale + 2 Me.Height = 3 * Desktop.Scale ' $innerBackground = $innercheckbox.Background ' $innerForeground = Me.Foreground End Public Sub SELF_KeyPress() If Key.Code = Key.Return Then Stop Event If Key.Shift Then MUtil.PrevActiveControl(Me).SetFocus Else MUtil.NextActiveControl(Me).SetFocus Endif Else Raise Click Endif ' Dim hTarget As Control ' ' ' 1) Make [Enter] emulate a [Tab] ' If Key.Code = Key.Return Then ' ' If Key.Shift Then ' If Me.Previous Then ' hTarget = Me.Previous ' Else ' hTarget = Me.Parent.Children[Me.Parent.Children.Count - 1] ' Endif ' Else ' If Me.Next Then ' hTarget = Me.Next ' Else ' hTarget = Me.Parent.Children[0] ' Endif ' Endif ' ' While hTarget.NoTabFocus ' If Key.Shift Then ' hTarget = hTarget.Previous ' If Not hTarget Then hTarget = Me.Parent.Children[Me.Parent.Children.Count - 1] ' Else ' hTarget = hTarget.Next ' If Not hTarget Then hTarget = Me.Parent.Children[0] ' Endif ' Wend ' ' hTarget.SetFocus ' ' Endif ' ' ' 2) Make Arrows emulate a [Tab] This may not be a good idea in general as arrows have uses in list controls! ' If Key.Code = Key.Down Then ' hTarget = Me.Next ' While hTarget.NoTabFocus ' hTarget = hTarget.Next ' If Not hTarget Then hTarget = Me.Parent.Children[0] ' Wend ' hTarget.SetFocus ' Return ' Endif ' ' If Key.Code = Key.Up Then ' hTarget = Me.Previous ' While hTarget.NoTabFocus ' hTarget = hTarget.Previous ' If Not hTarget Then hTarget = Me.Parent.Children[Me.Parent.Children.Count - 1] ' Wend ' hTarget.SetFocus ' Return ' Endif ' ' ' 3) Make [Ctrl]+Z provide an undo ' ' If Key.Code = Key["Z"] And Key.Control Then ' ' Stop Event ' ' $innertextbox.Text = $originaltext ' ' Return ' ' Endif End Public Sub SELF_Enter() If MStandards.HighlightRollover Then If Not $innercheckbox.HasFocus Then $label.Foreground = Color.Green Endif End Public Sub SELF_Leave() If MStandards.HighlightRollover Then If Not $innercheckbox.HasFocus Then $label.Foreground = Color.Default Endif End Public Sub InnerCheckBox_GotFocus() ' Debug Me.Name, $innercheckbox.HasFocus 'If $readonly Then Object.Lock($innercheckbox) ' $allowclick = True $innercheckbox.Background = Color.Lighter($innercheckbox.Background) ' If MUtil.IsQT4 Then $innercheckbox.Background = Color.Lighter($innercheckbox.Background) $label.Foreground = Color.Red $originalvalue = $innercheckbox.Value End Public Sub InnerCheckBox_LostFocus() ' $allowclick = False ' Debug Me.Name, $innercheckbox.HasFocus Me.Background = $innerBackground $label.Foreground = Color.Default If $innercheckbox.Value <> $originalvalue Then Raise Changed Endif End Public Sub InnerCheckBox_Enter() ' Debug Me.Name, $innercheckbox.HasFocus If $innercheckbox.HasFocus Then $allowclick = True Else $allowclick = False Endif End Public Sub InnerCheckBox_MouseDown() If Not Me.HasFocus Then Print "Already consumed" Me.SetFocus Stop Event Return Else Stop Event Me.Value = Not Me.Value Me.SetFocus Endif End Public Sub InnerCheckBox_Click() '' If this is a readonly checkbox then just ignore clicks '' This is really messy as the click is detected by qt4 before '' we can trap it. Maybe need to lock the innercheckbox in _GotFocus? '' No. That means this will never fire, but the visual still occurs. If $readonly Then Object.Lock($innercheckbox) $innercheckbox.Value = Not $innercheckbox.Value Stop Event Object.Unlock($innercheckbox) Return Endif '' THIS DOESN"T WORK! If $allowclick Then Raise Click Else Stop Event $innercheckbox.SetFocus Endif End Public Sub InnerLabel_MouseDown() ' Debug Me.Name, $innercheckbox.HasFocus Me.SetFocus End ' Public Sub InnerLabel_Enter() ' ' Debug Me.Name, $innercheckbox.HasFocus ' ' If Not $innercheckbox.HasFocus Then $label.Foreground = Color.Green ' ' End -- B Bruen From gambas.fr at ...626... Wed Mar 4 20:11:34 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 4 Mar 2015 20:11:34 +0100 Subject: [Gambas-user] A little feature request about checkboxes In-Reply-To: <20150304223934.97ac14aa2763c3e957acc4c8@...626...> References: <54F6DF20.2060707@...1...> <20150304223934.97ac14aa2763c3e957acc4c8@...626...> Message-ID: Public Sub SELF_Arrange() $label.Width = $offset * Desktop.Scale $innercheckbox.x = $offset * Desktop.Scale + 2 Me.Height = 3 * Desktop.Scale ' $innerBackground = $innercheckbox.Background ' $innerForeground = Me.Foreground End ... Why ? I don't understand the need for using these event From adamnt42 at ...626... Wed Mar 4 23:54:13 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Thu, 5 Mar 2015 09:24:13 +1030 Subject: [Gambas-user] A little feature request about checkboxes In-Reply-To: References: <54F6DF20.2060707@...1...> <20150304223934.97ac14aa2763c3e957acc4c8@...626...> Message-ID: <20150305092413.3ca76aedcc6a98c20af19bae@...626...> On Wed, 4 Mar 2015 20:11:34 +0100 Fabien Bodard wrote: > Public Sub SELF_Arrange() > > $label.Width = $offset * Desktop.Scale > $innercheckbox.x = $offset * Desktop.Scale + 2 > Me.Height = 3 * Desktop.Scale > > ' $innerBackground = $innercheckbox.Background > ' $innerForeground = Me.Foreground > > End > > ... Why ? > > I don't understand the need for using these event > Ah, yes, that is a bit obscure. This code is from a suite of labelled controls. LabelCheckbox, LabelTextBox, LabelCombo etc, all of which have labels set via the IDE. The Offset property ($offset) is used to align the data content of each of these so they line up vertically automatically as in the attached pic. bruce -- B Bruen -------------- next part -------------- A non-text attachment was scrubbed... Name: Selection_059.png Type: image/png Size: 31219 bytes Desc: not available URL: From taboege at ...626... Fri Mar 6 02:13:28 2015 From: taboege at ...626... (Tobias Boege) Date: Fri, 6 Mar 2015 02:13:28 +0100 Subject: [Gambas-user] Tutorial on native component development Message-ID: <20150306011328.GB5905@...2774...> Hi list, Ru thought it would be a good idea to have a tutorial on how to set up oneself to write a native Gambas component and then to actually write one. After a marathon session since 10 a.m. today I just completed my attempt at it. It's available over here[0]. Now that I come to think of it, it would have been better if I wrote it in Markdown, or something, but I can't be bothered now to convert it. If anyone else is eager to do that, I will send the LaTeX sources. Also note that I'll do anything else now than proof-read the article before I give you the link. It is labelled as "draft" and may contain errors or even missing passages. Also note that this is a two days' work. Don't expect poetry :-) If anything the article gives a brief and rather incomplete introduction to the process but since component programming is difficult and the interpreter is rich on structure but hardly documented, I don't see any facette to improve upon. It's a learning by doing (and reading) thing. Regards, Tobi [0] http://www-e.uni-magdeburg.de/tboege/gambas -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From shordi at ...626... Fri Mar 6 08:50:58 2015 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Fri, 6 Mar 2015 08:50:58 +0100 Subject: [Gambas-user] Tutorial on native component development In-Reply-To: <20150306011328.GB5905@...2774...> References: <20150306011328.GB5905@...2774...> Message-ID: Fine Tobi! Reading mode on... :) 2015-03-06 2:13 GMT+01:00 Tobias Boege : > Hi list, > > Ru thought it would be a good idea to have a tutorial on how to set up > oneself to write a native Gambas component and then to actually write > one. After a marathon session since 10 a.m. today I just completed my > attempt at it. > > It's available over here[0]. Now that I come to think of it, it would > have been better if I wrote it in Markdown, or something, but I can't > be bothered now to convert it. If anyone else is eager to do that, I > will send the LaTeX sources. Also note that I'll do anything else now > than proof-read the article before I give you the link. It is labelled > as "draft" and may contain errors or even missing passages. Also note > that this is a two days' work. Don't expect poetry :-) > > If anything the article gives a brief and rather incomplete introduction > to the process but since component programming is difficult and the > interpreter is rich on structure but hardly documented, I don't see any > facette to improve upon. It's a learning by doing (and reading) thing. > > Regards, > Tobi > > [0] http://www-e.uni-magdeburg.de/tboege/gambas > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From vuott at ...325... Fri Mar 6 09:47:40 2015 From: vuott at ...325... (Ru Vuott) Date: Fri, 6 Mar 2015 08:47:40 +0000 Subject: [Gambas-user] R: Tutorial on native component development In-Reply-To: <20150306011328.GB5905@...2774...> Message-ID: <1425631660.90265.YahooMailBasic@...3275...> "Ru" is me: Vuott. :-D bye vuott -------------------------------------------- Ven 6/3/15, Tobias Boege ha scritto: Oggetto: [Gambas-user] Tutorial on native component development A: gambas-user at lists.sourceforge.net Data: Venerd? 6 marzo 2015, 02:13 Hi list, Ru thought it would be a good idea to have a tutorial on how to set up oneself to write a native Gambas component and then to actually write one. After a marathon session since 10 a.m. today I just completed my attempt at it. It's available over here[0]. Now that I come to think of it, it would have been better if I wrote it in Markdown, or something, but I can't be bothered now to convert it. If anyone else is eager to do that, I will send the LaTeX sources. Also note that I'll do anything else now than proof-read the article before I give you the link. It is labelled as "draft" and may contain errors or even missing passages. Also note that this is a two days' work. Don't expect poetry :-) If anything the article gives a brief and rather incomplete introduction to the process but since component programming is difficult and the interpreter is rich on structure but hardly documented, I don't see any facette to improve upon. It's a learning by doing (and reading) thing. Regards, Tobi [0] http://www-e.uni-magdeburg.de/tboege/gambas -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From johny.provoost at ...27... Fri Mar 6 11:15:00 2015 From: johny.provoost at ...27... (Johny Provoost) Date: Fri, 06 Mar 2015 11:15:00 +0100 Subject: [Gambas-user] Application error on Publish Message-ID: <54F97E24.1000401@...27...> When I choose in the menu 'Project' -> 'Publish' I get This application has raised an unexpected error and must abort [64] Void key. Farmidentity.Get.30 Gambas version is from the daily build through the ppa (svn 6948) [System] Gambas=3.6.90 OperatingSystem=Linux Kernel=3.13.0-46-generic Architecture=x86_64 Distribution=Ubuntu 14.04.2 LTS Desktop=GNOME Theme=QCleanlooks Language=nl_BE.UTF-8 Memory=2945M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 From gambas at ...1... Fri Mar 6 12:15:52 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 06 Mar 2015 12:15:52 +0100 Subject: [Gambas-user] Application error on Publish In-Reply-To: <54F97E24.1000401@...27...> References: <54F97E24.1000401@...27...> Message-ID: <54F98C68.6030009@...1...> Le 06/03/2015 11:15, Johny Provoost a ?crit : > When I choose in the menu 'Project' -> 'Publish' I get > > This application has raised an unexpected error and must abort > [64] Void key. > Farmidentity.Get.30 > > Gambas version is from the daily build through the ppa (svn 6948) > Can you run the IDE from a terminal and send the stack backtrace that will be printed in it after the error? -- Beno?t Minisini From gambas at ...1... Fri Mar 6 12:18:35 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 06 Mar 2015 12:18:35 +0100 Subject: [Gambas-user] Application error on Publish In-Reply-To: <54F98C68.6030009@...1...> References: <54F97E24.1000401@...27...> <54F98C68.6030009@...1...> Message-ID: <54F98D0B.4000607@...1...> Le 06/03/2015 12:15, Beno?t Minisini a ?crit : > Le 06/03/2015 11:15, Johny Provoost a ?crit : >> When I choose in the menu 'Project' -> 'Publish' I get >> >> This application has raised an unexpected error and must abort >> [64] Void key. >> Farmidentity.Get.30 >> >> Gambas version is from the daily build through the ppa (svn 6948) >> > > Can you run the IDE from a terminal and send the stack backtrace that > will be printed in it after the error? > OK, not needed, I got it. -- Beno?t Minisini From jusabejusabe at ...626... Fri Mar 6 12:21:20 2015 From: jusabejusabe at ...626... (Julio Sanchez) Date: Fri, 6 Mar 2015 12:21:20 +0100 Subject: [Gambas-user] R: Tutorial on native component development In-Reply-To: <1425631660.90265.YahooMailBasic@...3275...> References: <20150306011328.GB5905@...2774...> <1425631660.90265.YahooMailBasic@...3275...> Message-ID: Tobias: +1 :) "If anyone else is eager to do that, I will send the LaTeX sources" Yes, it would be interesting for being able to translate into other languages. Could you share it on google drive? Regards Julio 2015-03-06 9:47 GMT+01:00 Ru Vuott : > "Ru" is me: Vuott. :-D > > bye > vuott > > -------------------------------------------- > Ven 6/3/15, Tobias Boege ha scritto: > > Oggetto: [Gambas-user] Tutorial on native component development > A: gambas-user at lists.sourceforge.net > Data: Venerd? 6 marzo 2015, 02:13 > > Hi list, > > Ru thought it would be a good idea to have a tutorial on how > to set up > oneself to write a native Gambas component and then to > actually write > one. After a marathon session since 10 a.m. today I just > completed my > attempt at it. > > It's available over here[0]. Now that I come to think of it, > it would > have been better if I wrote it in Markdown, or something, > but I can't > be bothered now to convert it. If anyone else is eager to do > that, I > will send the LaTeX sources. Also note that I'll do anything > else now > than proof-read the article before I give you the link. It > is labelled > as "draft" and may contain errors or even missing passages. > Also note > that this is a two days' work. Don't expect poetry :-) > > If anything the article gives a brief and rather incomplete > introduction > to the process but since component programming is difficult > and the > interpreter is rich on structure but hardly documented, I > don't see any > facette to improve upon. It's a learning by doing (and > reading) thing. > > Regards, > Tobi > > [0] http://www-e.uni-magdeburg.de/tboege/gambas > > -- > "There's an old saying: Don't change anything... ever!" -- > Mr. Monk > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel > Website, sponsored > by Intel and developed in partnership with Slashdot Media, > is your hub for all > things parallel software development, from weekly thought > leadership blogs to > news, videos, case studies, tutorials and more. Take a look > and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Fri Mar 6 12:24:24 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 06 Mar 2015 12:24:24 +0100 Subject: [Gambas-user] Application error on Publish In-Reply-To: <54F98D0B.4000607@...1...> References: <54F97E24.1000401@...27...> <54F98C68.6030009@...1...> <54F98D0B.4000607@...1...> Message-ID: <54F98E68.7030001@...1...> Le 06/03/2015 12:18, Beno?t Minisini a ?crit : > Le 06/03/2015 12:15, Beno?t Minisini a ?crit : >> Le 06/03/2015 11:15, Johny Provoost a ?crit : >>> When I choose in the menu 'Project' -> 'Publish' I get >>> >>> This application has raised an unexpected error and must abort >>> [64] Void key. >>> Farmidentity.Get.30 >>> >>> Gambas version is from the daily build through the ppa (svn 6948) >>> >> >> Can you run the IDE from a terminal and send the stack backtrace that >> will be printed in it after the error? >> > > OK, not needed, I got it. > Fixed in revision #6950. Regards, -- Beno?t Minisini From johny.provoost at ...27... Fri Mar 6 12:47:57 2015 From: johny.provoost at ...27... (Johny Provoost) Date: Fri, 06 Mar 2015 12:47:57 +0100 Subject: [Gambas-user] Application error on Publish In-Reply-To: <54F98E68.7030001@...1...> References: <54F97E24.1000401@...27...> <54F98C68.6030009@...1...> <54F98D0B.4000607@...1...> <54F98E68.7030001@...1...> Message-ID: <54F993ED.4040005@...27...> Op 06-03-15 om 12:24 schreef Beno?t Minisini: > Le 06/03/2015 12:18, Beno?t Minisini a ?crit : >> Le 06/03/2015 12:15, Beno?t Minisini a ?crit : >>> Le 06/03/2015 11:15, Johny Provoost a ?crit : >>>> When I choose in the menu 'Project' -> 'Publish' I get >>>> >>>> This application has raised an unexpected error and must abort >>>> [64] Void key. >>>> Farmidentity.Get.30 >>>> >>>> Gambas version is from the daily build through the ppa (svn 6948) >>>> >>> Can you run the IDE from a terminal and send the stack backtrace that >>> will be printed in it after the error? >>> >> OK, not needed, I got it. >> > Fixed in revision #6950. > > Regards, > Thanks, test it after I get this revision in the daily builds Regards, Johny -- *Vriendelijke Groeten* *Johny Provoost* *mailto: johny.provoost at ...27... * *mailto: johny.provoost at ...626... * *Website:* *http://www.johnyprovoost.net* From lists at ...2828... Fri Mar 6 15:12:45 2015 From: lists at ...2828... (CJ) Date: Fri, 6 Mar 2015 15:12:45 +0100 Subject: [Gambas-user] Tutorial on native component development In-Reply-To: <20150306011328.GB5905@...2774...> Message-ID: Hi Tobi, > If anything the article gives a brief and rather incomplete > introduction to the process but since component programming is difficult > and the interpreter is rich on structure but hardly documented, I > don't see any facette to improve upon. It's a learning by doing (and reading) thing. > > Regards, > Tobi > > [0] http://www-e.uni-magdeburg.de/tboege/gambas > > -- Great work and thanks for sharing it with the rest of us. Reading mode ON... /CJ From taboege at ...626... Fri Mar 6 15:48:44 2015 From: taboege at ...626... (Tobias Boege) Date: Fri, 6 Mar 2015 15:48:44 +0100 Subject: [Gambas-user] R: Tutorial on native component development In-Reply-To: References: <20150306011328.GB5905@...2774...> <1425631660.90265.YahooMailBasic@...3275...> Message-ID: <20150306144844.GB925@...2774...> On Fri, 06 Mar 2015, Julio Sanchez wrote: > Tobias: > > +1 :) > > "If anyone else is eager to do that, I will send the LaTeX sources" > Yes, it would be interesting for being able to translate into other > languages. > Could you share it on google drive? > Not really but I added the article sources to the table: > > [0] http://www-e.uni-magdeburg.de/tboege/gambas Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...2524... Fri Mar 6 16:22:08 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 06 Mar 2015 15:22:08 +0000 Subject: [Gambas-user] Issue 609 in gambas: Gtk3 Application.ShowToolTips=False not working Message-ID: <0-6813199134517018827-4428462991410775274-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-TRUNK Type-Bug Priority-Low OpSys-Linux Dist-Ubuntu Arch-X86-64 Desktop-Gnome GUI-GTK New issue 609 by sot... at ...626...: Gtk3 Application.ShowToolTips=False not working https://code.google.com/p/gambas/issues/detail?id=609 ____________________________________________________________ / \ | IMPORTANT NOTE #1 | | | | Don't create an issue if you have a compilation problem on | | the development version. Send a mail to the mailing-list | | instead, thanks! | \____________________________________________________________/ ____________________________________________________________ / \ | IMPORTANT NOTE #2 | | | | 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! | \____________________________________________________________/ 1) Describe the problem. With gb.gtk3 component Tooltips are shown also if you set Application.ShowToolTips=False 2) Give information about your system. Use the 'System information' menu in the Gambas IDE, and paste the result there. [System] Gambas=3.6.90 OperatingSystem=Linux Kernel=3.13.0-46-generic Architecture=x86_64 Distribution=Ubuntu 14.04.2 LTS Desktop=GNOME Theme=QGtk Language=it_IT.UTF-8 Memory=3833M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 3) Indicate the Gambas version in the issue labels, and if it is a bug, a crash, or an enhancement request. 4) Provide a little project that reproduces the bug or the crash. attached 5) If your project needs a database, try to provide it, or part of it. 6) Explain clearly how to reproduce the bug or the crash. Run the project an move the cursor over the button1 (ToolTips are disabled in the Form_Open event) ____________________________________________________________ / \ | IMPORTANT NOTE #3 | | | | By doing that carefully, you have done 50% of the bug fix | | job. Often even more! | \____________________________________________________________/ ____________________________________________________________ / \ | IMPORTANT NOTE #4 | | | | Google automatically replaces references to Gambas | | development revision with links to its own source code | | repository, which Gambas does not use at all. So ignore | | these links with disdain. | \____________________________________________________________/ Attachments: gtk3-tips-0.0.1.tar.gz 3.9 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From karl.reinl at ...9... Fri Mar 6 21:02:20 2015 From: karl.reinl at ...9... (Karl Reinl) Date: Fri, 06 Mar 2015 21:02:20 +0100 Subject: [Gambas-user] Question about *.pot files Message-ID: <1425672140.3558.12.camel@...40...> Salut, I'v a project on a svn-server, since mid September last year, every time I check in some changes, all or mostly all the *.pot files are also marked as changed, because "POT-Creation-Date: 2015-02-12 20:21 UTC\n" got a new "POT-Creation-Date". Where do I wrong, or how can I stop this. I use RapidSVN and mostly the newest gambas svn version. -- Amicalement Charlie From adamnt42 at ...626... Sat Mar 7 04:15:36 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Sat, 7 Mar 2015 13:45:36 +1030 Subject: [Gambas-user] Connections.Count ??? :-! Message-ID: <20150307134536.639dcfe169f20c858b6cab56@...626...> I have a component that provides generic database -> object translations. I have used (and enhaced) it for some years. At one point in its' initialisation routine the code refers to Connections.Count which property does not exist. IIRC some months ago I started a thread requesting that the Connections class have a Count property to return the number of defined connections defined in the project. This is where this gets weird. Today I started a new project using that component. It fails with the "Unknown symbol ..." error. But other projects using the same component run fine. To be more specific, other executables (from source compiled a few months ago) run fine ... against the same component. This has got me beat. I am not sure whether that Count property was ever implemented or whether I implemented it locally or whether I had some local Components override class? I cant find a) the original post I mentioned above, b) anything here in our code base that has an override Components class, nor c) anything in our local gambas3 source code that would be an attempt to provide that property. Does anyone recall anything about this? tia bruce -- B Bruen From bill-lancaster at ...2231... Sat Mar 7 08:11:37 2015 From: bill-lancaster at ...2231... (bill-lancaster) Date: Sat, 7 Mar 2015 00:11:37 -0700 (MST) Subject: [Gambas-user] Change value shown in Tray Icon Message-ID: <1425712297247-50812.post@...3046...> Hello, I wish to display a number (say 1 to 20) in a tray icon. I can generate an icon sized .png file with with the value in it but the displayed icon does not show the changed value. Is is possible to do this? If so, what would be the best way to do it? Thanks -- View this message in context: http://gambas.8142.n7.nabble.com/Change-value-shown-in-Tray-Icon-tp50812.html Sent from the gambas-user mailing list archive at Nabble.com. From bagoneo at ...69... Sat Mar 7 11:03:28 2015 From: bagoneo at ...69... (Gian) Date: Sat, 07 Mar 2015 11:03:28 +0100 Subject: [Gambas-user] Connections.Count ??? :-! In-Reply-To: <20150307134536.639dcfe169f20c858b6cab56@...626...> References: <20150307134536.639dcfe169f20c858b6cab56@...626...> Message-ID: <54FACCF0.1020500@...69...> Il 07/03/2015 04:15, adamnt42 at ...626... ha scritto: > I have a component that provides generic database -> object translations. I have used (and enhaced) it for some years. > At one point in its' initialisation routine the code refers to Connections.Count which property does not exist. IIRC some months ago I started a thread requesting that the Connections class have a Count property to return the number of defined connections defined in the project. > > This is where this gets weird. > > Today I started a new project using that component. It fails with the "Unknown symbol ..." error. But other projects using the same component run fine. To be more specific, other executables (from source compiled a few months ago) run fine ... against the same component. > > This has got me beat. > > I am not sure whether that Count property was ever implemented or whether I implemented it locally or whether I had some local Components override class? I cant find a) the original post I mentioned above, b) anything here in our code base that has an override Components class, nor c) anything in our local gambas3 source code that would be an attempt to provide that property. > > Does anyone recall anything about this? > > tia > bruce > maybe this? http://gambas.8142.n7.nabble.com/gb-db-Connections-questions-td44707.html#a44715 Regards Gianluigi From gambas at ...1... Sat Mar 7 11:23:52 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 07 Mar 2015 11:23:52 +0100 Subject: [Gambas-user] Connections.Count ??? :-! In-Reply-To: <20150307134536.639dcfe169f20c858b6cab56@...626...> References: <20150307134536.639dcfe169f20c858b6cab56@...626...> Message-ID: <54FAD1B8.9000208@...1...> Le 07/03/2015 04:15, adamnt42 at ...626... a ?crit : > I have a component that provides generic database -> object > translations. I have used (and enhaced) it for some years. At one > point in its' initialisation routine the code refers to > Connections.Count which property does not exist. IIRC some months ago > I started a thread requesting that the Connections class have a Count > property to return the number of defined connections defined in the > project. > > This is where this gets weird. > > Today I started a new project using that component. It fails with the > "Unknown symbol ..." error. But other projects using the same > component run fine. To be more specific, other executables (from > source compiled a few months ago) run fine ... against the same > component. > > This has got me beat. > > I am not sure whether that Count property was ever implemented or > whether I implemented it locally or whether I had some local > Components override class? I cant find a) the original post I > mentioned above, b) anything here in our code base that has an > override Components class, nor c) anything in our local gambas3 > source code that would be an attempt to provide that property. > > Does anyone recall anything about this? > > tia bruce > You're right, the Connections.Count is missing. I forgot to add it, sorry. I do that now! -- Beno?t Minisini From johny.provoost at ...27... Sat Mar 7 12:55:40 2015 From: johny.provoost at ...27... (Johny Provoost) Date: Sat, 07 Mar 2015 12:55:40 +0100 Subject: [Gambas-user] Application error on Publish (Solved) In-Reply-To: <54F98E68.7030001@...1...> References: <54F97E24.1000401@...27...> <54F98C68.6030009@...1...> <54F98D0B.4000607@...1...> <54F98E68.7030001@...1...> Message-ID: <54FAE73C.5090803@...27...> Op 06-03-15 om 12:24 schreef Beno?t Minisini: > Le 06/03/2015 12:18, Beno?t Minisini a ?crit : >> Le 06/03/2015 12:15, Beno?t Minisini a ?crit : >>> Le 06/03/2015 11:15, Johny Provoost a ?crit : >>>> When I choose in the menu 'Project' -> 'Publish' I get >>>> >>>> This application has raised an unexpected error and must abort >>>> [64] Void key. >>>> Farmidentity.Get.30 >>>> >>>> Gambas version is from the daily build through the ppa (svn 6948) >>>> >>> Can you run the IDE from a terminal and send the stack backtrace that >>> will be printed in it after the error? >>> >> OK, not needed, I got it. >> > Fixed in revision #6950. > > Regards, > Thanks, Just got svn 6953 and works like a charm. Johny From gary.emms at ...626... Sat Mar 7 18:41:21 2015 From: gary.emms at ...626... (Gary Emms) Date: Sat, 07 Mar 2015 17:41:21 +0000 Subject: [Gambas-user] annoying glitch Message-ID: <54FB3841.8090607@...626...> Hi I'm trying to follow a tutorial from Linux Format. I have 2 list boxes and I'm trying to move an entry from one to the other using: Public Sub btnLeft_Click() Dim i As Integer 'transfer selected itelms to left For i = 0 To lstInCar.Count - 1 If lstInCar[i].Selected Then lstAtHome.Add(lstInCar[i].Text) Endif Next 'clear the entries from the left (backwards) For i = lstInCar.Count - 1 To 0 Step - 1 If lstInCar[i].Selected Then lstInCar.Remove(i) Endif Next End it works fine except, If, and only if, I select the first item in the list after it is deleted the new top item is automatically selected. Is this a bug or am I doing something wrong? Cheers Gary From gambas at ...2524... Sat Mar 7 20:48:06 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 07 Mar 2015 19:48:06 +0000 Subject: [Gambas-user] Issue 609 in gambas: Gtk3 Application.ShowToolTips=False not working In-Reply-To: <0-6813199134517018827-4428462991410775274-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-4428462991410775274-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-4428462991410775274-gambas=googlecode.com@...2524...> Updates: Status: Accepted Comment #1 on issue 609 by benoit.m... at ...626...: Gtk3 Application.ShowToolTips=False not working https://code.google.com/p/gambas/issues/detail?id=609 It seems that we cannot disable tooltips anymore in GTK+3! The GTK+2 has been deprecated without any explicit replacement. I will investigate... -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From ian.roper at ...1974... Sun Mar 8 01:45:05 2015 From: ian.roper at ...1974... (Ian) Date: Sun, 08 Mar 2015 08:45:05 +0800 Subject: [Gambas-user] Password error on clicking store or examples in GUI - SOLVED In-Reply-To: <54D58440.8020800@...1974...> References: <54D1EE5E.2020309@...1974...> <54D56D1C.2050400@...1974...> <54D57054.5000101@...1...> <54D58440.8020800@...1974...> Message-ID: <54FB9B91.2030100@...1974...> Tested this on Linux Mint 18 and now works. Must have been fixed in one of the recent updates - had not tested for a while. Cheers, Ian. On 07/02/15 11:19, Ian wrote: > Yes copied text exactly as per the error dialogue. > > with attachment now. > > When clicking on examples, I get the same error message as soon as I > click the link "There" > > Cheers, > Ian. > > > On 07/02/15 09:54, Beno?t Minisini wrote: >> Le 07/02/2015 02:40, Ian a ?crit : >>> Apologies - copied the image in page rather than an attachment. >>> >>> The error text reads: >>> >>> This application has raised an unexpected error and must abort. >>> [6] Type mismatch: wanted string, got component instead. >>> _Desktop_Passwords._get.75 >>> >>> Once I get this error, I cannot close the GUI and have to do a force >>> quit to end. >>> >>> Cheers, >>> Ian. >>> >> Sorry, but are you sure that you got that error message exactly? >> > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From dosida at ...626... Sun Mar 8 02:57:23 2015 From: dosida at ...626... (Dimitris Anogiatis) Date: Sat, 7 Mar 2015 18:57:23 -0700 Subject: [Gambas-user] annoying glitch In-Reply-To: <54FB3841.8090607@...626...> References: <54FB3841.8090607@...626...> Message-ID: Hey Gary, I assume you're using the two for loops to find which item on the source listbox is selected and then removed after the addition to the second listbox is done. Gambas listboxes are a bit more flexible. You can get the index of the selected item with lstInCar.Index. If there is no item selected on the listbox then the index is -1 If the Listbox is empty (ie no more items in it), lstInCar.Index becomes -1 again. To get the text that the current selected item has then you can use lstInCar.Current.Text So with this in mind your code can become: Public Sub btnLeft_Click() 'if the lstInCar is not empty or if an item is selected If lstInCar.Index > -1 Then 'Add the selected item to lstAtHome lstAtHome.Add(lstInCar.Current.Text) 'Remove the item from lstInCar that you just added to lstAtHome lstInCar.Remove(lstInCar.Index) Endif End if you want to do the reverse (send an item back to lstInCar) you will have to reverse the listboxes. Depending on what behavior you want to achieve you can add the following two lines after the EndIf but BEFORE the End statement (so that the next two lines are within the Sub): lstAtHome.Current.Selected = False lstInCar.Current.Selected = False What these two lines will do is undo the selection from both listboxes just in case the user decides to select something on both of them. The code will finally become: Public Sub btnLeft_Click() 'if the lstInCar is not empty or if an item is selected If lstInCar.Index > -1 Then 'Add the selected item to lstAtHome lstAtHome.Add(lstInCar.Current.Text) 'Remove the item from lstInCar that you just added to lstAtHome lstInCar.Remove(lstInCar.Index) Endif 'Deselect items from both listboxes lstAtHome.Current.Selected = False lstInCar.Current.Selected = False End This piece of code works only for a simple list box where you can select only one item at a time For listboxes that allow multiple selections at a time the code will be a bit different (but then we can work on that a bit later). I hope this helps you out in understanding Gambas a bit better. Dimitris On Sat, Mar 7, 2015 at 10:41 AM, Gary Emms wrote: > Hi > I'm trying to follow a tutorial from Linux Format. I have 2 list boxes > and I'm trying to move an entry from one to the other using: > > Public Sub btnLeft_Click() > > Dim i As Integer > 'transfer selected itelms to left > For i = 0 To lstInCar.Count - 1 > If lstInCar[i].Selected Then > lstAtHome.Add(lstInCar[i].Text) > Endif > Next > 'clear the entries from the left (backwards) > For i = lstInCar.Count - 1 To 0 Step - 1 > If lstInCar[i].Selected Then > lstInCar.Remove(i) > Endif > Next > End > > it works fine except, If, and only if, I select the first item in the > list after it is deleted the new top item is automatically selected. Is > this a bug or am I doing something wrong? > Cheers > Gary > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From herberthguzman at ...626... Sun Mar 8 04:25:24 2015 From: herberthguzman at ...626... (herberth guzman) Date: Sat, 7 Mar 2015 21:25:24 -0600 Subject: [Gambas-user] Window (ALT+TAB whit KWIN) shows _NET_WM_STATE_SKIP_TASKBAR windows Message-ID: Regards Benoit Window (ALT+TAB) shows _NET_WM_STATE_SKIP_TASKBAR windows When I press Alt+tab in KWin, it will show all windows visible on desktop, for example, has _NET_WM_STATE_STICKY, _NET_WM_STATE_SKIP_TASKBAR, _NET_WM_STATE_SKIP_PAGER Atoms set, but alt+tab will show it, ignoring these atoms. In the taskbar does not appear, just by pressing alt + tab This problem only occurs with KWIN with mutter all well with metacity all well with openbox all well with compiz all well Is not necessary to work with atoms, enough to put Me.SkipTaskbar = True Benoit please help me or someone to help me. Had already requested help on this topic but I can not fix. Lei, investigate and I can not. My code: X11.GetWindowProperty(f_panel.Id, Atom["_NET_WM_STATE"], Atom["ATOM"], Atom["_NET_WM_STATE_SKIP_TASKBAR"]) Help, help, help. Believe me I worked hard and I have spent much time Innova Desktop to finish it, are details what is missing. Thanks for all your help and suggestions Herberth Guzman From herberthguzman at ...626... Sun Mar 8 05:18:20 2015 From: herberthguzman at ...626... (herberth guzman) Date: Sat, 7 Mar 2015 22:18:20 -0600 Subject: [Gambas-user] Desktop Developed in Gambas 3.6 Message-ID: Desktop Developed in Gambas 3.6 (The Desktop of Gambas - Innova Desktop) Containing Innova Desktop Suggested by Benoit Nothing possible without the special help of Benoit and Fabien. - Innova Desktop Scheduled in Gambas 3.6 100% - Graphical interface simple and straightforward user (Not dependent and does not require KDE / Gnome) -Interact with GTK and KDE interchangeably -It has its own panel (most used app buttons and basic) -It has its own systray -It has its own launcher (start menu) "DesktopApps" by Fabien -Widgets to display the time, date, calculator (any user can add the widget or create) -Theme (anyone can do theme and configure a text file and picture) -The configuration is stored in a text file -MyInnova - Configure the desktop of the system: (Wallpaper, System Language, Style Launcher, icon start , icon size, Panel (Color, background and size), Applets, Desktop Themes, type icons, gtk appearance, font and size, favorite applications (FM, WM, Shell, Broser), splash screen) -It is fast -File Manager (under development by 80%) External Programs: Calc GambNafen gbEdit GbScan gbVideoConvert I-nex Jtube Lighttable PCinfo PDFViewer PhotoTouch pintaScreen Scanip Teclado Virtual VirtualCd WebBrowser XT7-Player Yumi If anyone wants to see screenshots I leave a link. https://drive.google.com/open?id=0B2gI4jYOofp0fk5xcUJXN0dFS2RsWmRxWnJuTXhnTmp1UGM2SUFkSWhKMXpRdXJuVFBid1E&authuser=0 I need little to release the project. Tips and suggestions are received. Regards Herberth Guzman From kevinfishburne at ...1887... Sun Mar 8 09:08:12 2015 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Sun, 08 Mar 2015 04:08:12 -0400 Subject: [Gambas-user] Desktop Developed in Gambas 3.6 In-Reply-To: References: Message-ID: <54FC036C.8080206@...1887...> On 03/07/2015 11:18 PM, herberth guzman wrote: > Desktop Developed in Gambas 3.6 (The Desktop of Gambas - Innova Desktop) > > Containing Innova Desktop > Suggested by Benoit > > Nothing possible without the special help of Benoit and Fabien. > > - Innova Desktop Scheduled in Gambas 3.6 100% > - Graphical interface simple and straightforward user > (Not dependent and does not require KDE / Gnome) > -Interact with GTK and KDE interchangeably > -It has its own panel (most used app buttons and basic) > -It has its own systray > -It has its own launcher (start menu) "DesktopApps" by Fabien > -Widgets to display the time, date, calculator (any user can add the widget > or create) > -Theme (anyone can do theme and configure a text file and picture) > -The configuration is stored in a text file > -MyInnova - Configure the desktop of the system: > (Wallpaper, System Language, Style Launcher, icon start , > icon size, Panel (Color, background and size), Applets, Desktop Themes, > type icons, gtk appearance, font and size, favorite applications (FM, WM, > Shell, Broser), splash screen) > -It is fast > -File Manager (under development by 80%) Damn, that's pretty amazing. Does it use OpenGL or software to render the GUI? That it doesn't require Gnome/GTK or KDE/Qt means it could run on lighter distros. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From gary.emms at ...626... Sun Mar 8 09:42:50 2015 From: gary.emms at ...626... (Gary Emms) Date: Sun, 08 Mar 2015 08:42:50 +0000 Subject: [Gambas-user] annoying glitch In-Reply-To: References: <54FB3841.8090607@...626...> Message-ID: <54FC0B8A.5010204@...626...> Thank you for this. On 08/03/15 01:57, Dimitris Anogiatis wrote: > Hey Gary, > > I assume you're using the two for loops to find which item on the source > listbox is selected and then removed after the addition to the second > listbox is done. > Gambas listboxes are a bit more flexible. You can get the index of the > selected item with lstInCar.Index. If there is no item selected on the > listbox then the index is -1 > If the Listbox is empty (ie no more items in it), lstInCar.Index becomes -1 > again. To get the text that the current selected item has then you can use > lstInCar.Current.Text > > So with this in mind your code can become: > > Public Sub btnLeft_Click() > 'if the lstInCar is not empty or if an item is selected > If lstInCar.Index > -1 Then > 'Add the selected item to lstAtHome > lstAtHome.Add(lstInCar.Current.Text) > 'Remove the item from lstInCar that you just added to lstAtHome > lstInCar.Remove(lstInCar.Index) > Endif > End > > if you want to do the reverse (send an item back to lstInCar) you will have > to reverse the listboxes. > > Depending on what behavior you want to achieve you can add the following > two lines after the EndIf > but BEFORE the End statement (so that the next two lines are within the > Sub): > > lstAtHome.Current.Selected = False > lstInCar.Current.Selected = False > > What these two lines will do is undo the selection from both listboxes just > in case the user decides to select something on both of them. > > The code will finally become: > > Public Sub btnLeft_Click() > 'if the lstInCar is not empty or if an item is selected > If lstInCar.Index > -1 Then > 'Add the selected item to lstAtHome > lstAtHome.Add(lstInCar.Current.Text) > 'Remove the item from lstInCar that you just added to lstAtHome > lstInCar.Remove(lstInCar.Index) > Endif > 'Deselect items from both listboxes > lstAtHome.Current.Selected = False > lstInCar.Current.Selected = False > End > > This piece of code works only for a simple list box where you can select > only one item at a time > For listboxes that allow multiple selections at a time the code will be a > bit different (but then we can > work on that a bit later). > > I hope this helps you out in understanding Gambas a bit better. > Dimitris > > > On Sat, Mar 7, 2015 at 10:41 AM, Gary Emms wrote: > >> Hi >> I'm trying to follow a tutorial from Linux Format. I have 2 list boxes >> and I'm trying to move an entry from one to the other using: >> >> Public Sub btnLeft_Click() >> >> Dim i As Integer >> 'transfer selected itelms to left >> For i = 0 To lstInCar.Count - 1 >> If lstInCar[i].Selected Then >> lstAtHome.Add(lstInCar[i].Text) >> Endif >> Next >> 'clear the entries from the left (backwards) >> For i = lstInCar.Count - 1 To 0 Step - 1 >> If lstInCar[i].Selected Then >> lstInCar.Remove(i) >> Endif >> Next >> End >> >> it works fine except, If, and only if, I select the first item in the >> list after it is deleted the new top item is automatically selected. Is >> this a bug or am I doing something wrong? >> Cheers >> Gary >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, >> sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub for >> all >> things parallel software development, from weekly thought leadership blogs >> to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From corradoventu at ...69... Sun Mar 8 14:59:20 2015 From: corradoventu at ...69... (corradoventu at ...69...) Date: Sun, 8 Mar 2015 14:59:20 +0100 (CET) Subject: [Gambas-user] problem with Rand statement Message-ID: <532684976.1793721425823160818.JavaMail.httpd@...3443...> On my PC, different partitions I have ubuntu 14.04, 14.10 and 15.04.My gambas projects are on a separare partition accessible from all.On ubuntu 14.04 I have gambas 3.6.90 installed from gambas siteOn ubuntu 14.10 and 15.04 I have gambas 3.5.4 installed by ubuntu software center executing in gambas 3.5.4 a project created in 3.6.90 I have an error on Rand statement thanks fo any help -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas rand.png Type: image/png Size: 93288 bytes Desc: not available URL: From sbungay at ...3301... Sun Mar 8 14:07:36 2015 From: sbungay at ...3301... (Stephen) Date: Sun, 08 Mar 2015 09:07:36 -0400 Subject: [Gambas-user] Desktop Developed in Gambas 3.6 In-Reply-To: References: Message-ID: <54FC4998.80606@...3301...> On 03/07/2015 11:18 PM, herberth guzman wrote: > Desktop Developed in Gambas 3.6 (The Desktop of Gambas - Innova Desktop) > > Containing Innova Desktop > Suggested by Benoit > > Nothing possible without the special help of Benoit and Fabien. > > - Innova Desktop Scheduled in Gambas 3.6 100% > - Graphical interface simple and straightforward user > (Not dependent and does not require KDE / Gnome) > -Interact with GTK and KDE interchangeably > -It has its own panel (most used app buttons and basic) > -It has its own systray > -It has its own launcher (start menu) "DesktopApps" by Fabien > -Widgets to display the time, date, calculator (any user can add the widget > or create) > -Theme (anyone can do theme and configure a text file and picture) > -The configuration is stored in a text file > -MyInnova - Configure the desktop of the system: > (Wallpaper, System Language, Style Launcher, icon start , > icon size, Panel (Color, background and size), Applets, Desktop Themes, > type icons, gtk appearance, font and size, favorite applications (FM, WM, > Shell, Broser), splash screen) > -It is fast > -File Manager (under development by 80%) > > External Programs: > > Calc > GambNafen > gbEdit > GbScan > gbVideoConvert > I-nex > Jtube > Lighttable > PCinfo > PDFViewer > PhotoTouch > pintaScreen > Scanip > Teclado Virtual > VirtualCd > WebBrowser > XT7-Player > Yumi > > > If anyone wants to see screenshots I leave a link. > > https://drive.google.com/open?id=0B2gI4jYOofp0fk5xcUJXN0dFS2RsWmRxWnJuTXhnTmp1UGM2SUFkSWhKMXpRdXJuVFBid1E&authuser=0 > > I need little to release the project. > Tips and suggestions are received. > > Regards > Herberth Guzman > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Nice work. -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site Information Systems From gambas at ...1... Sun Mar 8 16:08:40 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 08 Mar 2015 16:08:40 +0100 Subject: [Gambas-user] annoying glitch In-Reply-To: <54FB3841.8090607@...626...> References: <54FB3841.8090607@...626...> Message-ID: <54FC65F8.2040909@...1...> Le 07/03/2015 18:41, Gary Emms a ?crit : > Hi > I'm trying to follow a tutorial from Linux Format. I have 2 list boxes > and I'm trying to move an entry from one to the other using: > > Public Sub btnLeft_Click() > > Dim i As Integer > 'transfer selected itelms to left > For i = 0 To lstInCar.Count - 1 > If lstInCar[i].Selected Then > lstAtHome.Add(lstInCar[i].Text) > Endif > Next > 'clear the entries from the left (backwards) > For i = lstInCar.Count - 1 To 0 Step - 1 > If lstInCar[i].Selected Then > lstInCar.Remove(i) > Endif > Next > End > > it works fine except, If, and only if, I select the first item in the > list after it is deleted the new top item is automatically selected. Is > this a bug or am I doing something wrong? > Cheers > Gary > This is fixed in revision #6955: now the selection correctly takes into account removed or added items. Regards, -- Beno?t Minisini From gambas at ...1... Sun Mar 8 16:20:52 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 08 Mar 2015 16:20:52 +0100 Subject: [Gambas-user] Window (ALT+TAB whit KWIN) shows _NET_WM_STATE_SKIP_TASKBAR windows In-Reply-To: References: Message-ID: <54FC68D4.4020604@...1...> Le 08/03/2015 04:25, herberth guzman a ?crit : > Regards Benoit > > Window (ALT+TAB) shows _NET_WM_STATE_SKIP_TASKBAR windows > > When I press Alt+tab in KWin, it will show all windows visible on desktop, > for example, has > > _NET_WM_STATE_STICKY, > _NET_WM_STATE_SKIP_TASKBAR, > _NET_WM_STATE_SKIP_PAGER > > Atoms set, but alt+tab will show it, ignoring these atoms. > > In the taskbar does not appear, just by pressing alt + tab > > This problem only occurs with KWIN > > with mutter all well > with metacity all well > with openbox all well > with compiz all well > > Is not necessary to work with atoms, enough to put > Me.SkipTaskbar = True > > Benoit please help me or someone to help me. > Had already requested help on this topic but I can not fix. Lei, > investigate and I can not. > > My code: > > X11.GetWindowProperty(f_panel.Id, Atom["_NET_WM_STATE"], Atom["ATOM"], > Atom["_NET_WM_STATE_SKIP_TASKBAR"]) > > Help, help, help. > > Believe me I worked hard and I have spent much time Innova Desktop to > finish it, are details what is missing. > > > Thanks for all your help and suggestions > > Herberth Guzman If every window manager except KWin behaves as expected, I guess it's KWin's fault. But maybe nothing in the freedesktop standard says that a window that is not shown in the taskbar must not be visible with ALT+TAB... It's just KWin that is less clever than the others, and I cannot do anything against that. You should fill a bug on bugs.kde.org, or ask on the KWin KDE mailing-list and see what they say. Regards, -- Beno?t Minisini From jussi.lahtinen at ...626... Sun Mar 8 16:33:44 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 8 Mar 2015 17:33:44 +0200 Subject: [Gambas-user] problem with Rand statement In-Reply-To: <532684976.1793721425823160818.JavaMail.httpd@...3443...> References: <532684976.1793721425823160818.JavaMail.httpd@...3443...> Message-ID: How aCF[] is defined? As string[]? Jussi On Sun, Mar 8, 2015 at 3:59 PM, corradoventu at ...69... < corradoventu at ...69...> wrote: > On my PC, different partitions I have ubuntu 14.04, 14.10 and 15.04.My > gambas projects are on a separare partition accessible from all.On ubuntu > 14.04 I have gambas 3.6.90 installed from gambas siteOn ubuntu 14.10 and > 15.04 I have gambas 3.5.4 installed by ubuntu software center > executing in gambas 3.5.4 a project created in 3.6.90 I have an error on > Rand statement > thanks fo any help > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From gambas.fr at ...626... Sun Mar 8 16:45:18 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 8 Mar 2015 16:45:18 +0100 Subject: [Gambas-user] Desktop Developed in Gambas 3.6 In-Reply-To: <54FC4998.80606@...3301...> References: <54FC4998.80606@...3301...> Message-ID: Well Kevin. Its just a panel and some app to create a desktop environment. So it need qt or gtk toolkit . It not manage the window too. But it's an interesting work and push limits of what can be done with Gambas. Le 8 mars 2015 15:03, "Stephen" a ?crit : > On 03/07/2015 11:18 PM, herberth guzman wrote: > > Desktop Developed in Gambas 3.6 (The Desktop of Gambas - Innova Desktop) > > > > Containing Innova Desktop > > Suggested by Benoit > > > > Nothing possible without the special help of Benoit and Fabien. > > > > - Innova Desktop Scheduled in Gambas 3.6 100% > > - Graphical interface simple and straightforward user > > (Not dependent and does not require KDE / Gnome) > > -Interact with GTK and KDE interchangeably > > -It has its own panel (most used app buttons and basic) > > -It has its own systray > > -It has its own launcher (start menu) "DesktopApps" by Fabien > > -Widgets to display the time, date, calculator (any user can add the > widget > > or create) > > -Theme (anyone can do theme and configure a text file and picture) > > -The configuration is stored in a text file > > -MyInnova - Configure the desktop of the system: > > (Wallpaper, System Language, Style Launcher, icon > start , > > icon size, Panel (Color, background and size), Applets, Desktop Themes, > > type icons, gtk appearance, font and size, favorite applications (FM, WM, > > Shell, Broser), splash screen) > > -It is fast > > -File Manager (under development by 80%) > > > > External Programs: > > > > Calc > > GambNafen > > gbEdit > > GbScan > > gbVideoConvert > > I-nex > > Jtube > > Lighttable > > PCinfo > > PDFViewer > > PhotoTouch > > pintaScreen > > Scanip > > Teclado Virtual > > VirtualCd > > WebBrowser > > XT7-Player > > Yumi > > > > > > If anyone wants to see screenshots I leave a link. > > > > > https://drive.google.com/open?id=0B2gI4jYOofp0fk5xcUJXN0dFS2RsWmRxWnJuTXhnTmp1UGM2SUFkSWhKMXpRdXJuVFBid1E&authuser=0 > > > > I need little to release the project. > > Tips and suggestions are received. > > > > Regards > > Herberth Guzman > > > ------------------------------------------------------------------------------ > > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > > by Intel and developed in partnership with Slashdot Media, is your hub > for all > > things parallel software development, from weekly thought leadership > blogs to > > news, videos, case studies, tutorials and more. Take a look and join the > > conversation now. http://goparallel.sourceforge.net/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > Nice work. > > -- > Kindest Regards > Stephen A. Bungay, Prop. > Smarts On Site Information Systems > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From john.aaron.rose at ...626... Sun Mar 8 17:44:40 2015 From: john.aaron.rose at ...626... (John Rose) Date: Sun, 08 Mar 2015 16:44:40 +0000 Subject: [Gambas-user] Possible bug in ValueBox coding of gb.form Component Message-ID: <54FC7C78.7040007@...626...> I've attached a Test project. The significant controls are 13 ValueBoxes (named CypheredValueBox 1 etc, all in Group Cyphered) and 13 MaskBoxes (named PlainMaskBox1 etc, all in Group Plain): please ignore the other controls & their coding. When I change any CypheredValueBox to a another number, the event Cyphered_Change does not execute; however, when I change any PlainMaskBox to another alphabetic, the event Plain_Change does execute. To me this seems like a bug in the gb.form Component. Am I correct? -- John -------------- next part -------------- A non-text attachment was scrubbed... Name: Test.tar.gz Type: application/gzip Size: 10644 bytes Desc: not available URL: From jussi.lahtinen at ...626... Sun Mar 8 20:00:01 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 8 Mar 2015 21:00:01 +0200 Subject: [Gambas-user] Fwd: Re: Re: problem with Rand statement In-Reply-To: References: <138475154.1812811425839777448.JavaMail.httpd@...3444...> Message-ID: Hmmm... wait, Rand is new function introduced in version 3.6. It cannot work in earlier versions. Rand is not synonym for Rnd, see the documentation. Jussi From willy at ...2734... Sun Mar 8 20:28:05 2015 From: willy at ...2734... (Willy Raets) Date: Sun, 08 Mar 2015 20:28:05 +0100 Subject: [Gambas-user] Possible bug in ValueBox coding of gb.form Component In-Reply-To: <54FC7C78.7040007@...626...> References: <54FC7C78.7040007@...626...> Message-ID: <1425842885.23978.1.camel@...3024...> On zo, 2015-03-08 at 16:44 +0000, John Rose wrote: > I've attached a Test project. The significant controls are 13 ValueBoxes > (named CypheredValueBox 1 etc, all in Group Cyphered) and 13 MaskBoxes > (named PlainMaskBox1 etc, all in Group Plain): please ignore the other > controls & their coding. When I change any CypheredValueBox to a another > number, the event Cyphered_Change does not execute; however, when I > change any PlainMaskBox to another alphabetic, the event Plain_Change > does execute. To me this seems like a bug in the gb.form Component. Am I > correct? > This is because a ValueBox doesn't have a change event. So, the group of ValueBoxes won't have it either. -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From john.aaron.rose at ...626... Sun Mar 8 20:31:43 2015 From: john.aaron.rose at ...626... (John Rose) Date: Sun, 08 Mar 2015 19:31:43 +0000 Subject: [Gambas-user] Possible bug in ValueBox coding of gb.form Component In-Reply-To: <1425842885.23978.1.camel@...3024...> References: <54FC7C78.7040007@...626...> <1425842885.23978.1.camel@...3024...> Message-ID: <54FCA39F.5030408@...626...> On 08/03/15 19:28, Willy Raets wrote: > On zo, 2015-03-08 at 16:44 +0000, John Rose wrote: >> I've attached a Test project. The significant controls are 13 ValueBoxes >> (named CypheredValueBox 1 etc, all in Group Cyphered) and 13 MaskBoxes >> (named PlainMaskBox1 etc, all in Group Plain): please ignore the other >> controls & their coding. When I change any CypheredValueBox to a another >> number, the event Cyphered_Change does not execute; however, when I >> change any PlainMaskBox to another alphabetic, the event Plain_Change >> does execute. To me this seems like a bug in the gb.form Component. Am I >> correct? >> > This is because a ValueBox doesn't have a change event. > So, the group of ValueBoxes won't have it either. It seems to me that a ValueBox should have a Change event just like a MaskBox does. Or is that unreasonable? From ea7dfh at ...2382... Sun Mar 8 20:58:35 2015 From: ea7dfh at ...2382... (Jesus) Date: Sun, 08 Mar 2015 20:58:35 +0100 Subject: [Gambas-user] Tutorial on native component development In-Reply-To: <20150306011328.GB5905@...2774...> References: <20150306011328.GB5905@...2774...> Message-ID: <54FCA9EB.1040803@...2382...> El 6/3/15 a las 2:13, Tobias Boege escribi?: > Hi list, > > Ru thought it would be a good idea to have a tutorial on how to set up > oneself to write a native Gambas component and then to actually write > one. After a marathon session since 10 a.m. today I just completed my > attempt at it. > > It's available over here[0]. ... > > Regards, > Tobi > > [0] http://www-e.uni-magdeburg.de/tboege/gambas > Many thanks, Tobi. Very much appreciated, this will get us started with native components. Regards -- Jesus Guardon From john.aaron.rose at ...626... Sun Mar 8 20:58:56 2015 From: john.aaron.rose at ...626... (John Rose) Date: Sun, 08 Mar 2015 19:58:56 +0000 Subject: [Gambas-user] Red no entry sign on Debug Message-ID: <54FCAA00.3010204@...626...> I compiled and saved a project OK. When I try to run it within the IDE, all it does is to display a red no entry sign near the bottom of the screen. It does not display an icon in Ubuntu's Unity Launcher let alone open the form: screenshot attached. AFAIK I've never seen this behaviour before. The first few lines of code are: ' Gambas class file Private aStartPositions As Integer[] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] Private aCams As String[] = [] Private sPrinted As String ' Private sPlain As String = "" ' Private sCyphered As String = "" ' Private iLimitation As Integer ' Private sLimitation As String Private aExecParameters As String[] Private fResults As File Private sResultsPath As String Public Sub Form_Open() Inc Application.Busy Me.Title = "Lorenz with Chi2 Limitation: Version " & Application.Version Me.Center() Me.Show StartPositionValueBox1.SetFocus() Finally Application.Busy = 0 Catch Message.Warning(ERROR.Text) I don't see anything significantly different in this code from that used in my other projects. If people insist on my attaching a stripped down project, then I will do so. However, it may just be something obvious: it's always a fair amount of work to create stripped down projects from actual ones. -- John -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot from 2015-03-08 19:51:49.png Type: image/png Size: 245402 bytes Desc: not available URL: From vuott at ...325... Sun Mar 8 23:16:57 2015 From: vuott at ...325... (Ru Vuott) Date: Sun, 8 Mar 2015 22:16:57 +0000 Subject: [Gambas-user] R: Tutorial on native component development In-Reply-To: <20150306011328.GB5905@...2774...> Message-ID: <1425853017.4577.YahooMailBasic@...3275...> Thank you, Tobi. it's a good work. Bye vuott -------------------------------------------- Ven 6/3/15, Tobias Boege ha scritto: Oggetto: [Gambas-user] Tutorial on native component development A: gambas-user at lists.sourceforge.net Data: Venerd? 6 marzo 2015, 02:13 Hi list, Ru thought it would be a good idea to have a tutorial on how to set up oneself to write a native Gambas component and then to actually write one. After a marathon session since 10 a.m. today I just completed my attempt at it. It's available over here[0]. Now that I come to think of it, it would have been better if I wrote it in Markdown, or something, but I can't be bothered now to convert it. If anyone else is eager to do that, I will send the LaTeX sources. Also note that I'll do anything else now than proof-read the article before I give you the link. It is labelled as "draft" and may contain errors or even missing passages. Also note that this is a two days' work. Don't expect poetry :-) If anything the article gives a brief and rather incomplete introduction to the process but since component programming is difficult and the interpreter is rich on structure but hardly documented, I don't see any facette to improve upon. It's a learning by doing (and reading) thing. Regards, Tobi [0] http://www-e.uni-magdeburg.de/tboege/gambas -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From adamnt42 at ...626... Sun Mar 8 23:52:59 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Mon, 9 Mar 2015 09:22:59 +1030 Subject: [Gambas-user] Red no entry sign on Debug In-Reply-To: <54FCAA00.3010204@...626...> References: <54FCAA00.3010204@...626...> Message-ID: <20150309092259.4b6b16b04866d0deb10f246b@...626...> On Sun, 08 Mar 2015 19:58:56 +0000 John Rose wrote: > I compiled and saved a project OK. When I try to run it within the IDE, > all it does is to display a red no entry sign near the bottom of the > screen. It does not display an icon in Ubuntu's Unity Launcher let alone > open the form: screenshot attached. AFAIK I've never seen this behaviour > before. The first few lines of code are: > ' Gambas class file > > Private aStartPositions As Integer[] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] > Private aCams As String[] = [] > Private sPrinted As String > ' Private sPlain As String = "" > ' Private sCyphered As String = "" > ' Private iLimitation As Integer > ' Private sLimitation As String > Private aExecParameters As String[] > Private fResults As File > Private sResultsPath As String > > Public Sub Form_Open() > Inc Application.Busy > Me.Title = "Lorenz with Chi2 Limitation: Version " & Application.Version > Me.Center() > Me.Show > StartPositionValueBox1.SetFocus() > Finally > Application.Busy = 0 > Catch > Message.Warning(ERROR.Text) > > I don't see anything significantly different in this code from that used > in my other projects. > > If people insist on my attaching a stripped down project, then I will do > so. However, it may just be something obvious: it's always a fair amount > of work to create stripped down projects from actual ones. > -- > > John > > > This would be indicative of something failing in the initialisation of the application. Try expanding the traceback panel, both horizontally and vertically. Also the error message in the bubble is probably transparent due to theme settings. Try a diffferent desktop theme and see if you can read the error. hth bruce -- B Bruen From john.aaron.rose at ...626... Mon Mar 9 08:33:21 2015 From: john.aaron.rose at ...626... (John Rose) Date: Mon, 09 Mar 2015 07:33:21 +0000 Subject: [Gambas-user] Red no entry sign on Debug In-Reply-To: <20150309092259.4b6b16b04866d0deb10f246b@...626...> References: <54FCAA00.3010204@...626...> <20150309092259.4b6b16b04866d0deb10f246b@...626...> Message-ID: <54FD4CC1.8060803@...626...> On 08/03/15 22:52, adamnt42 at ...626... wrote: > On Sun, 08 Mar 2015 19:58:56 +0000 > John Rose wrote: > >> I compiled and saved a project OK. When I try to run it within the IDE, >> all it does is to display a red no entry sign near the bottom of the >> screen. It does not display an icon in Ubuntu's Unity Launcher let alone >> open the form: screenshot attached. AFAIK I've never seen this behaviour >> before. The first few lines of code are: >> ' Gambas class file >> >> Private aStartPositions As Integer[] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] >> Private aCams As String[] = [] >> Private sPrinted As String >> ' Private sPlain As String = "" >> ' Private sCyphered As String = "" >> ' Private iLimitation As Integer >> ' Private sLimitation As String >> Private aExecParameters As String[] >> Private fResults As File >> Private sResultsPath As String >> >> Public Sub Form_Open() >> Inc Application.Busy >> Me.Title = "Lorenz with Chi2 Limitation: Version " & Application.Version >> Me.Center() >> Me.Show >> StartPositionValueBox1.SetFocus() >> Finally >> Application.Busy = 0 >> Catch >> Message.Warning(ERROR.Text) >> >> I don't see anything significantly different in this code from that used >> in my other projects. >> >> If people insist on my attaching a stripped down project, then I will do >> so. However, it may just be something obvious: it's always a fair amount >> of work to create stripped down projects from actual ones. >> -- >> >> John >> >> >> > This would be indicative of something failing in the initialisation of the application. > Try expanding the traceback panel, both horizontally and vertically. > Also the error message in the bubble is probably transparent due to theme settings. > Try a diffferent desktop theme and see if you can read the error. > > hth > bruce Bruce, I don't understand what you meant by the 'traceback panel'. I've tried expanding the Console area in both directions, but that made no difference. I've tried other desktop themes (original was 'Select a Theme', which I've left alone for all my projects) but that made no difference. I noticed that the red no entry icon appears in a small rectangular area at the top right corner of the Console output, the rest of that small area being blank. From gary.emms at ...626... Mon Mar 9 09:23:34 2015 From: gary.emms at ...626... (Gary Emms) Date: Mon, 09 Mar 2015 08:23:34 +0000 Subject: [Gambas-user] annoying glitch In-Reply-To: <54FC65F8.2040909@...1...> References: <54FB3841.8090607@...626...> <54FC65F8.2040909@...1...> Message-ID: <54FD5886.5030002@...626...> Thank you On 08/03/15 15:08, Beno?t Minisini wrote: > Le 07/03/2015 18:41, Gary Emms a ?crit : >> Hi >> I'm trying to follow a tutorial from Linux Format. I have 2 list boxes >> and I'm trying to move an entry from one to the other using: >> >> Public Sub btnLeft_Click() >> >> Dim i As Integer >> 'transfer selected itelms to left >> For i = 0 To lstInCar.Count - 1 >> If lstInCar[i].Selected Then >> lstAtHome.Add(lstInCar[i].Text) >> Endif >> Next >> 'clear the entries from the left (backwards) >> For i = lstInCar.Count - 1 To 0 Step - 1 >> If lstInCar[i].Selected Then >> lstInCar.Remove(i) >> Endif >> Next >> End >> >> it works fine except, If, and only if, I select the first item in the >> list after it is deleted the new top item is automatically selected. Is >> this a bug or am I doing something wrong? >> Cheers >> Gary >> > This is fixed in revision #6955: now the selection correctly takes into > account removed or added items. > > Regards, > From gambas.fr at ...626... Mon Mar 9 13:57:57 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 9 Mar 2015 13:57:57 +0100 Subject: [Gambas-user] Red no entry sign on Debug In-Reply-To: <54FD4CC1.8060803@...626...> References: <54FCAA00.3010204@...626...> <20150309092259.4b6b16b04866d0deb10f246b@...626...> <54FD4CC1.8060803@...626...> Message-ID: So we really need a pi?ce of code that show the problem. Le 9 mars 2015 08:34, "John Rose" a ?crit : > On 08/03/15 22:52, adamnt42 at ...626... wrote: > > On Sun, 08 Mar 2015 19:58:56 +0000 > > John Rose wrote: > > > >> I compiled and saved a project OK. When I try to run it within the IDE, > >> all it does is to display a red no entry sign near the bottom of the > >> screen. It does not display an icon in Ubuntu's Unity Launcher let alone > >> open the form: screenshot attached. AFAIK I've never seen this behaviour > >> before. The first few lines of code are: > >> ' Gambas class file > >> > >> Private aStartPositions As Integer[] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, > 0, 0] > >> Private aCams As String[] = [] > >> Private sPrinted As String > >> ' Private sPlain As String = "" > >> ' Private sCyphered As String = "" > >> ' Private iLimitation As Integer > >> ' Private sLimitation As String > >> Private aExecParameters As String[] > >> Private fResults As File > >> Private sResultsPath As String > >> > >> Public Sub Form_Open() > >> Inc Application.Busy > >> Me.Title = "Lorenz with Chi2 Limitation: Version " & > Application.Version > >> Me.Center() > >> Me.Show > >> StartPositionValueBox1.SetFocus() > >> Finally > >> Application.Busy = 0 > >> Catch > >> Message.Warning(ERROR.Text) > >> > >> I don't see anything significantly different in this code from that used > >> in my other projects. > >> > >> If people insist on my attaching a stripped down project, then I will do > >> so. However, it may just be something obvious: it's always a fair amount > >> of work to create stripped down projects from actual ones. > >> -- > >> > >> John > >> > >> > >> > > This would be indicative of something failing in the initialisation of > the application. > > Try expanding the traceback panel, both horizontally and vertically. > > Also the error message in the bubble is probably transparent due to > theme settings. > > Try a diffferent desktop theme and see if you can read the error. > > > > hth > > bruce > Bruce, > > I don't understand what you meant by the 'traceback panel'. I've tried > expanding the Console area in both directions, but that made no > difference. I've tried other desktop themes (original was 'Select a > Theme', which I've left alone for all my projects) but that made no > difference. > I noticed that the red no entry icon appears in a small rectangular area > at the top right corner of the Console output, the rest of that small > area being blank. > > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From john.aaron.rose at ...626... Mon Mar 9 14:01:24 2015 From: john.aaron.rose at ...626... (John Rose) Date: Mon, 09 Mar 2015 13:01:24 +0000 Subject: [Gambas-user] Red no entry sign on Debug In-Reply-To: References: <54FCAA00.3010204@...626...> <20150309092259.4b6b16b04866d0deb10f246b@...626...> <54FD4CC1.8060803@...626...> Message-ID: <54FD99A4.5050209@...626...> On 09/03/15 12:57, Fabien Bodard wrote: > So we really need a pi?ce of code that show the problem. > Le 9 mars 2015 08:34, "John Rose" a ?crit : > >> On 08/03/15 22:52, adamnt42 at ...626... wrote: >>> On Sun, 08 Mar 2015 19:58:56 +0000 >>> John Rose wrote: >>> >>>> I compiled and saved a project OK. When I try to run it within the IDE, >>>> all it does is to display a red no entry sign near the bottom of the >>>> screen. It does not display an icon in Ubuntu's Unity Launcher let alone >>>> open the form: screenshot attached. AFAIK I've never seen this behaviour >>>> before. The first few lines of code are: >>>> ' Gambas class file >>>> >>>> Private aStartPositions As Integer[] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, >> 0, 0] >>>> Private aCams As String[] = [] >>>> Private sPrinted As String >>>> ' Private sPlain As String = "" >>>> ' Private sCyphered As String = "" >>>> ' Private iLimitation As Integer >>>> ' Private sLimitation As String >>>> Private aExecParameters As String[] >>>> Private fResults As File >>>> Private sResultsPath As String >>>> >>>> Public Sub Form_Open() >>>> Inc Application.Busy >>>> Me.Title = "Lorenz with Chi2 Limitation: Version " & >> Application.Version >>>> Me.Center() >>>> Me.Show >>>> StartPositionValueBox1.SetFocus() >>>> Finally >>>> Application.Busy = 0 >>>> Catch >>>> Message.Warning(ERROR.Text) >>>> >>>> I don't see anything significantly different in this code from that used >>>> in my other projects. >>>> >>>> If people insist on my attaching a stripped down project, then I will do >>>> so. However, it may just be something obvious: it's always a fair amount >>>> of work to create stripped down projects from actual ones. >>>> -- >>>> >>>> John >>>> >>>> >>>> >>> This would be indicative of something failing in the initialisation of >> the application. >>> Try expanding the traceback panel, both horizontally and vertically. >>> Also the error message in the bubble is probably transparent due to >> theme settings. >>> Try a diffferent desktop theme and see if you can read the error. >>> >>> hth >>> bruce >> Bruce, >> >> I don't understand what you meant by the 'traceback panel'. I've tried >> expanding the Console area in both directions, but that made no >> difference. I've tried other desktop themes (original was 'Select a >> Theme', which I've left alone for all my projects) but that made no >> difference. >> I noticed that the red no entry icon appears in a small rectangular area >> at the top right corner of the Console output, the rest of that small >> area being blank. >> >> >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, >> sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub for >> all >> things parallel software development, from weekly thought leadership blogs >> to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Project attached. -------------- next part -------------- A non-text attachment was scrubbed... Name: Lorenz.tar.gz Type: application/gzip Size: 13512 bytes Desc: not available URL: From Karl.Reinl at ...2345... Mon Mar 9 15:30:03 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Mon, 09 Mar 2015 15:30:03 +0100 Subject: [Gambas-user] Red no entry sign on Debug In-Reply-To: <54FD99A4.5050209@...626...> References: <54FCAA00.3010204@...626...> <20150309092259.4b6b16b04866d0deb10f246b@...626...> <54FD4CC1.8060803@...626...> <54FD99A4.5050209@...626...> Message-ID: <1425911403.3636.6.camel@...40...> Am Montag, den 09.03.2015, 13:01 +0000 schrieb John Rose: > On 09/03/15 12:57, Fabien Bodard wrote: > > So we really need a pi?ce of code that show the problem. > > Le 9 mars 2015 08:34, "John Rose" a ?crit : > > > >> On 08/03/15 22:52, adamnt42 at ...626... wrote: > >>> On Sun, 08 Mar 2015 19:58:56 +0000 > >>> John Rose wrote: > >>> > >>>> I compiled and saved a project OK. When I try to run it within the IDE, > >>>> all it does is to display a red no entry sign near the bottom of the > >>>> screen. It does not display an icon in Ubuntu's Unity Launcher let alone > >>>> open the form: screenshot attached. AFAIK I've never seen this behaviour > >>>> before. The first few lines of code are: > >>>> ' Gambas class file > >>>> > >>>> Private aStartPositions As Integer[] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, > >> 0, 0] > >>>> Private aCams As String[] = [] > >>>> Private sPrinted As String > >>>> ' Private sPlain As String = "" > >>>> ' Private sCyphered As String = "" > >>>> ' Private iLimitation As Integer > >>>> ' Private sLimitation As String > >>>> Private aExecParameters As String[] > >>>> Private fResults As File > >>>> Private sResultsPath As String > >>>> > >>>> Public Sub Form_Open() > >>>> Inc Application.Busy > >>>> Me.Title = "Lorenz with Chi2 Limitation: Version " & > >> Application.Version > >>>> Me.Center() > >>>> Me.Show > >>>> StartPositionValueBox1.SetFocus() > >>>> Finally > >>>> Application.Busy = 0 > >>>> Catch > >>>> Message.Warning(ERROR.Text) > >>>> > >>>> I don't see anything significantly different in this code from that used > >>>> in my other projects. > >>>> > >>>> If people insist on my attaching a stripped down project, then I will do > >>>> so. However, it may just be something obvious: it's always a fair amount > >>>> of work to create stripped down projects from actual ones. > >>>> -- > >>>> > >>>> John > >>>> > >>>> > >>>> > >>> This would be indicative of something failing in the initialisation of > >> the application. > >>> Try expanding the traceback panel, both horizontally and vertically. > >>> Also the error message in the bubble is probably transparent due to > >> theme settings. > >>> Try a diffferent desktop theme and see if you can read the error. > >>> > >>> hth > >>> bruce > >> Bruce, > >> > >> I don't understand what you meant by the 'traceback panel'. I've tried > >> expanding the Console area in both directions, but that made no > >> difference. I've tried other desktop themes (original was 'Select a > >> Theme', which I've left alone for all my projects) but that made no > >> difference. > >> I noticed that the red no entry icon appears in a small rectangular area > >> at the top right corner of the Console output, the rest of that small > >> area being blank. Salut John, I made a screenshot from the 'traceback panel'.mentioned by Bruce. If I click on Maskbox.UnpdateMaskandSeparator a balloon raise saying "Bad Mask" (sorry couldn't make the screenshot with that ballon) So you havr to check your Teeth mask entries. -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto vom 2015-03-09 15:20:46.png Type: image/png Size: 30699 bytes Desc: not available URL: From gambas.fr at ...626... Mon Mar 9 17:28:56 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 9 Mar 2015 17:28:56 +0100 Subject: [Gambas-user] Red no entry sign on Debug In-Reply-To: <1425911403.3636.6.camel@...40...> References: <54FCAA00.3010204@...626...> <20150309092259.4b6b16b04866d0deb10f246b@...626...> <54FD4CC1.8060803@...626...> <54FD99A4.5050209@...626...> <1425911403.3636.6.camel@...40...> Message-ID: this is the capture 2015-03-09 15:30 GMT+01:00 Charlie Reinl : > Am Montag, den 09.03.2015, 13:01 +0000 schrieb John Rose: >> On 09/03/15 12:57, Fabien Bodard wrote: >> > So we really need a pi?ce of code that show the problem. >> > Le 9 mars 2015 08:34, "John Rose" a ?crit : >> > >> >> On 08/03/15 22:52, adamnt42 at ...626... wrote: >> >>> On Sun, 08 Mar 2015 19:58:56 +0000 >> >>> John Rose wrote: >> >>> >> >>>> I compiled and saved a project OK. When I try to run it within the IDE, >> >>>> all it does is to display a red no entry sign near the bottom of the >> >>>> screen. It does not display an icon in Ubuntu's Unity Launcher let alone >> >>>> open the form: screenshot attached. AFAIK I've never seen this behaviour >> >>>> before. The first few lines of code are: >> >>>> ' Gambas class file >> >>>> >> >>>> Private aStartPositions As Integer[] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, >> >> 0, 0] >> >>>> Private aCams As String[] = [] >> >>>> Private sPrinted As String >> >>>> ' Private sPlain As String = "" >> >>>> ' Private sCyphered As String = "" >> >>>> ' Private iLimitation As Integer >> >>>> ' Private sLimitation As String >> >>>> Private aExecParameters As String[] >> >>>> Private fResults As File >> >>>> Private sResultsPath As String >> >>>> >> >>>> Public Sub Form_Open() >> >>>> Inc Application.Busy >> >>>> Me.Title = "Lorenz with Chi2 Limitation: Version " & >> >> Application.Version >> >>>> Me.Center() >> >>>> Me.Show >> >>>> StartPositionValueBox1.SetFocus() >> >>>> Finally >> >>>> Application.Busy = 0 >> >>>> Catch >> >>>> Message.Warning(ERROR.Text) >> >>>> >> >>>> I don't see anything significantly different in this code from that used >> >>>> in my other projects. >> >>>> >> >>>> If people insist on my attaching a stripped down project, then I will do >> >>>> so. However, it may just be something obvious: it's always a fair amount >> >>>> of work to create stripped down projects from actual ones. >> >>>> -- >> >>>> >> >>>> John >> >>>> >> >>>> >> >>>> >> >>> This would be indicative of something failing in the initialisation of >> >> the application. >> >>> Try expanding the traceback panel, both horizontally and vertically. >> >>> Also the error message in the bubble is probably transparent due to >> >> theme settings. >> >>> Try a diffferent desktop theme and see if you can read the error. >> >>> >> >>> hth >> >>> bruce >> >> Bruce, >> >> >> >> I don't understand what you meant by the 'traceback panel'. I've tried >> >> expanding the Console area in both directions, but that made no >> >> difference. I've tried other desktop themes (original was 'Select a >> >> Theme', which I've left alone for all my projects) but that made no >> >> difference. >> >> I noticed that the red no entry icon appears in a small rectangular area >> >> at the top right corner of the Console output, the rest of that small >> >> area being blank. > > Salut John, > > I made a screenshot from the 'traceback panel'.mentioned by Bruce. > If I click on Maskbox.UnpdateMaskandSeparator a balloon raise saying > "Bad Mask" (sorry couldn't make the screenshot with that ballon) > > So you havr to check your Teeth mask entries. > > -- > Amicalement > Charlie > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: Capture5.png Type: image/png Size: 12052 bytes Desc: not available URL: From gambas.fr at ...626... Mon Mar 9 17:40:08 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 9 Mar 2015 17:40:08 +0100 Subject: [Gambas-user] Red no entry sign on Debug In-Reply-To: References: <54FCAA00.3010204@...626...> <20150309092259.4b6b16b04866d0deb10f246b@...626...> <54FD4CC1.8060803@...626...> <54FD99A4.5050209@...626...> <1425911403.3636.6.camel@...40...> Message-ID: The error is in the maskbox 13... the last braket is not closed. Benoit ... an idea will be to display the control name when an error occur... and maybe we can be more explicit on the error. 2015-03-09 17:28 GMT+01:00 Fabien Bodard : > this is the capture > > 2015-03-09 15:30 GMT+01:00 Charlie Reinl : >> Am Montag, den 09.03.2015, 13:01 +0000 schrieb John Rose: >>> On 09/03/15 12:57, Fabien Bodard wrote: >>> > So we really need a pi?ce of code that show the problem. >>> > Le 9 mars 2015 08:34, "John Rose" a ?crit : >>> > >>> >> On 08/03/15 22:52, adamnt42 at ...626... wrote: >>> >>> On Sun, 08 Mar 2015 19:58:56 +0000 >>> >>> John Rose wrote: >>> >>> >>> >>>> I compiled and saved a project OK. When I try to run it within the IDE, >>> >>>> all it does is to display a red no entry sign near the bottom of the >>> >>>> screen. It does not display an icon in Ubuntu's Unity Launcher let alone >>> >>>> open the form: screenshot attached. AFAIK I've never seen this behaviour >>> >>>> before. The first few lines of code are: >>> >>>> ' Gambas class file >>> >>>> >>> >>>> Private aStartPositions As Integer[] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, >>> >> 0, 0] >>> >>>> Private aCams As String[] = [] >>> >>>> Private sPrinted As String >>> >>>> ' Private sPlain As String = "" >>> >>>> ' Private sCyphered As String = "" >>> >>>> ' Private iLimitation As Integer >>> >>>> ' Private sLimitation As String >>> >>>> Private aExecParameters As String[] >>> >>>> Private fResults As File >>> >>>> Private sResultsPath As String >>> >>>> >>> >>>> Public Sub Form_Open() >>> >>>> Inc Application.Busy >>> >>>> Me.Title = "Lorenz with Chi2 Limitation: Version " & >>> >> Application.Version >>> >>>> Me.Center() >>> >>>> Me.Show >>> >>>> StartPositionValueBox1.SetFocus() >>> >>>> Finally >>> >>>> Application.Busy = 0 >>> >>>> Catch >>> >>>> Message.Warning(ERROR.Text) >>> >>>> >>> >>>> I don't see anything significantly different in this code from that used >>> >>>> in my other projects. >>> >>>> >>> >>>> If people insist on my attaching a stripped down project, then I will do >>> >>>> so. However, it may just be something obvious: it's always a fair amount >>> >>>> of work to create stripped down projects from actual ones. >>> >>>> -- >>> >>>> >>> >>>> John >>> >>>> >>> >>>> >>> >>>> >>> >>> This would be indicative of something failing in the initialisation of >>> >> the application. >>> >>> Try expanding the traceback panel, both horizontally and vertically. >>> >>> Also the error message in the bubble is probably transparent due to >>> >> theme settings. >>> >>> Try a diffferent desktop theme and see if you can read the error. >>> >>> >>> >>> hth >>> >>> bruce >>> >> Bruce, >>> >> >>> >> I don't understand what you meant by the 'traceback panel'. I've tried >>> >> expanding the Console area in both directions, but that made no >>> >> difference. I've tried other desktop themes (original was 'Select a >>> >> Theme', which I've left alone for all my projects) but that made no >>> >> difference. >>> >> I noticed that the red no entry icon appears in a small rectangular area >>> >> at the top right corner of the Console output, the rest of that small >>> >> area being blank. >> >> Salut John, >> >> I made a screenshot from the 'traceback panel'.mentioned by Bruce. >> If I click on Maskbox.UnpdateMaskandSeparator a balloon raise saying >> "Bad Mask" (sorry couldn't make the screenshot with that ballon) >> >> So you havr to check your Teeth mask entries. >> >> -- >> Amicalement >> Charlie >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub for all >> things parallel software development, from weekly thought leadership blogs to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > > > -- > Fabien Bodard -- Fabien Bodard From john.aaron.rose at ...626... Mon Mar 9 17:55:41 2015 From: john.aaron.rose at ...626... (John Rose) Date: Mon, 09 Mar 2015 16:55:41 +0000 Subject: [Gambas-user] Red no entry sign on Debug In-Reply-To: References: <54FCAA00.3010204@...626...> <20150309092259.4b6b16b04866d0deb10f246b@...626...> <54FD4CC1.8060803@...626...> <54FD99A4.5050209@...626...> <1425911403.3636.6.camel@...40...> Message-ID: <54FDD08D.2060607@...626...> Fabien, Thanks for that. I shouldn't have had 13 CamsMaskBoxes: 12 were required and there were errors on their tag values from 10 onwards. A related question: I want these CamsMaskBoxes only to contain values with . or x characters. However, when I have them defined on the form with their Text property set to contain the correct number of characters (as specified in the Value of each one's corresponding StartPositionValueBox) then each of these CamsMaskBoxes is shown as blank at runtime. I've set the mask property as [.x][.x] etc i.e the number of [.x] is the same as the corresponding StartPositionValueBox. Is this a problem with my understanding of the Mask property? If so, would it be better to make them TextBoxes or do something else? John PS I've top posted this time as you are top posting. Tobi requested me on another query not to do bottom posting. Is top or bottom posting preferred for this mailing list? On 09/03/15 16:40, Fabien Bodard wrote: > The error is in the maskbox 13... the last braket is not closed. > > Benoit ... an idea will be to display the control name when an error > occur... and maybe we can be more explicit on the error. > > 2015-03-09 17:28 GMT+01:00 Fabien Bodard : >> this is the capture >> >> 2015-03-09 15:30 GMT+01:00 Charlie Reinl : >>> Am Montag, den 09.03.2015, 13:01 +0000 schrieb John Rose: >>>> On 09/03/15 12:57, Fabien Bodard wrote: >>>>> So we really need a pi?ce of code that show the problem. >>>>> Le 9 mars 2015 08:34, "John Rose" a ?crit : >>>>> >>>>>> On 08/03/15 22:52, adamnt42 at ...626... wrote: >>>>>>> On Sun, 08 Mar 2015 19:58:56 +0000 >>>>>>> John Rose wrote: >>>>>>> >>>>>>>> I compiled and saved a project OK. When I try to run it within the IDE, >>>>>>>> all it does is to display a red no entry sign near the bottom of the >>>>>>>> screen. It does not display an icon in Ubuntu's Unity Launcher let alone >>>>>>>> open the form: screenshot attached. AFAIK I've never seen this behaviour >>>>>>>> before. The first few lines of code are: >>>>>>>> ' Gambas class file >>>>>>>> >>>>>>>> Private aStartPositions As Integer[] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, >>>>>> 0, 0] >>>>>>>> Private aCams As String[] = [] >>>>>>>> Private sPrinted As String >>>>>>>> ' Private sPlain As String = "" >>>>>>>> ' Private sCyphered As String = "" >>>>>>>> ' Private iLimitation As Integer >>>>>>>> ' Private sLimitation As String >>>>>>>> Private aExecParameters As String[] >>>>>>>> Private fResults As File >>>>>>>> Private sResultsPath As String >>>>>>>> >>>>>>>> Public Sub Form_Open() >>>>>>>> Inc Application.Busy >>>>>>>> Me.Title = "Lorenz with Chi2 Limitation: Version " & >>>>>> Application.Version >>>>>>>> Me.Center() >>>>>>>> Me.Show >>>>>>>> StartPositionValueBox1.SetFocus() >>>>>>>> Finally >>>>>>>> Application.Busy = 0 >>>>>>>> Catch >>>>>>>> Message.Warning(ERROR.Text) >>>>>>>> >>>>>>>> I don't see anything significantly different in this code from that used >>>>>>>> in my other projects. >>>>>>>> >>>>>>>> If people insist on my attaching a stripped down project, then I will do >>>>>>>> so. However, it may just be something obvious: it's always a fair amount >>>>>>>> of work to create stripped down projects from actual ones. >>>>>>>> -- >>>>>>>> >>>>>>>> John >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> This would be indicative of something failing in the initialisation of >>>>>> the application. >>>>>>> Try expanding the traceback panel, both horizontally and vertically. >>>>>>> Also the error message in the bubble is probably transparent due to >>>>>> theme settings. >>>>>>> Try a diffferent desktop theme and see if you can read the error. >>>>>>> >>>>>>> hth >>>>>>> bruce >>>>>> Bruce, >>>>>> >>>>>> I don't understand what you meant by the 'traceback panel'. I've tried >>>>>> expanding the Console area in both directions, but that made no >>>>>> difference. I've tried other desktop themes (original was 'Select a >>>>>> Theme', which I've left alone for all my projects) but that made no >>>>>> difference. >>>>>> I noticed that the red no entry icon appears in a small rectangular area >>>>>> at the top right corner of the Console output, the rest of that small >>>>>> area being blank. >>> Salut John, >>> >>> I made a screenshot from the 'traceback panel'.mentioned by Bruce. >>> If I click on Maskbox.UnpdateMaskandSeparator a balloon raise saying >>> "Bad Mask" (sorry couldn't make the screenshot with that ballon) >>> >>> So you havr to check your Teeth mask entries. >>> >>> -- >>> Amicalement >>> Charlie >>> >>> ------------------------------------------------------------------------------ >>> Dive into the World of Parallel Programming The Go Parallel Website, sponsored >>> by Intel and developed in partnership with Slashdot Media, is your hub for all >>> things parallel software development, from weekly thought leadership blogs to >>> news, videos, case studies, tutorials and more. Take a look and join the >>> conversation now. http://goparallel.sourceforge.net/ >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> >> >> -- >> Fabien Bodard > > From gambas at ...1... Mon Mar 9 19:52:23 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 09 Mar 2015 19:52:23 +0100 Subject: [Gambas-user] Possible bug in ValueBox coding of gb.form Component In-Reply-To: <54FC7C78.7040007@...626...> References: <54FC7C78.7040007@...626...> Message-ID: <54FDEBE7.6040507@...1...> Le 08/03/2015 17:44, John Rose a ?crit : > I've attached a Test project. The significant controls are 13 ValueBoxes > (named CypheredValueBox 1 etc, all in Group Cyphered) and 13 MaskBoxes > (named PlainMaskBox1 etc, all in Group Plain): please ignore the other > controls & their coding. When I change any CypheredValueBox to a another > number, the event Cyphered_Change does not execute; however, when I > change any PlainMaskBox to another alphabetic, the event Plain_Change > does execute. To me this seems like a bug in the gb.form Component. Am I > correct? > I added the Change event to the ValueBox control in revision #6963. Regards, -- Beno?t Minisini From gambas at ...1... Mon Mar 9 19:52:59 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 09 Mar 2015 19:52:59 +0100 Subject: [Gambas-user] Change value shown in Tray Icon In-Reply-To: <1425712297247-50812.post@...3046...> References: <1425712297247-50812.post@...3046...> Message-ID: <54FDEC0B.5050206@...1...> Le 07/03/2015 08:11, bill-lancaster a ?crit : > Hello, > I wish to display a number (say 1 to 20) in a tray icon. > I can generate an icon sized .png file with with the value in it but the > displayed icon does not show the changed value. > Is is possible to do this? If so, what would be the best way to do it? > Thanks > It should work... Can you provide a little project? -- Beno?t Minisini From taboege at ...626... Mon Mar 9 19:53:05 2015 From: taboege at ...626... (Tobias Boege) Date: Mon, 9 Mar 2015 19:53:05 +0100 Subject: [Gambas-user] Top posting (was: Red no entry sign on Debug) In-Reply-To: <54FDD08D.2060607@...626...> References: <54FCAA00.3010204@...626...> <20150309092259.4b6b16b04866d0deb10f246b@...626...> <54FD4CC1.8060803@...626...> <54FD99A4.5050209@...626...> <1425911403.3636.6.camel@...40...> <54FDD08D.2060607@...626...> Message-ID: <20150309185305.GE581@...2774...> On Mon, 09 Mar 2015, John Rose wrote: > PS I've top posted this time as you are top posting. Tobi requested me > on another query not to do bottom posting. Is top or bottom posting > preferred for this mailing list? I prefer bottom posting and lots of people here do it. Are there any mailing lists -- which are a medium with focus on discussion -- in which top posting is done consciously? I don't have enough credit to tell Fabien off when he top posts :-) Also most of the time his answers are very concise and end a thread, so it doesn't hurt. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From jussi.lahtinen at ...626... Mon Mar 9 20:22:26 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 9 Mar 2015 21:22:26 +0200 Subject: [Gambas-user] Top posting (was: Red no entry sign on Debug) In-Reply-To: <20150309185305.GE581@...2774...> References: <54FCAA00.3010204@...626...> <20150309092259.4b6b16b04866d0deb10f246b@...626...> <54FD4CC1.8060803@...626...> <54FD99A4.5050209@...626...> <1425911403.3636.6.camel@...40...> <54FDD08D.2060607@...626...> <20150309185305.GE581@...2774...> Message-ID: > I prefer bottom posting and lots of people here do it. Are there any > mailing > lists -- which are a medium with focus on discussion -- in which top > posting > is done consciously? > This is only mailing list where I have heard this is some kind of issue. When using gmail (or any similar interface) I don't see any difference. Jussi From jussi.lahtinen at ...626... Mon Mar 9 20:24:29 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 9 Mar 2015 21:24:29 +0200 Subject: [Gambas-user] Top posting (was: Red no entry sign on Debug) In-Reply-To: References: <54FCAA00.3010204@...626...> <20150309092259.4b6b16b04866d0deb10f246b@...626...> <54FD4CC1.8060803@...626...> <54FD99A4.5050209@...626...> <1425911403.3636.6.camel@...40...> <54FDD08D.2060607@...626...> <20150309185305.GE581@...2774...> Message-ID: > This is only mailing list where I have heard this is some kind of issue. > When using gmail (or any similar interface) I don't see any difference. > PS. I'm currently singed in six mailing lists. Most of them working on google groups. Jussi From gambas.fr at ...626... Mon Mar 9 22:30:58 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 9 Mar 2015 22:30:58 +0100 Subject: [Gambas-user] Top posting (was: Red no entry sign on Debug) In-Reply-To: <20150309185305.GE581@...2774...> References: <54FCAA00.3010204@...626...> <20150309092259.4b6b16b04866d0deb10f246b@...626...> <54FD4CC1.8060803@...626...> <54FD99A4.5050209@...626...> <1425911403.3636.6.camel@...40...> <54FDD08D.2060607@...626...> <20150309185305.GE581@...2774...> Message-ID: Well generally I'm posting from my phone or from Gmail. And these mail client are setting for top posting by default. So as generally I have few time to answer on my truck, I forgot to take care at my message position. It's with spelling fault my bad side since 13 year now on my Gambas correspondence. ? Le 9 mars 2015 19:57, "Tobias Boege" a ?crit : > On Mon, 09 Mar 2015, John Rose wrote: > > PS I've top posted this time as you are top posting. Tobi requested me > > on another query not to do bottom posting. Is top or bottom posting > > preferred for this mailing list? > > I prefer bottom posting and lots of people here do it. Are there any > mailing > lists -- which are a medium with focus on discussion -- in which top > posting > is done consciously? > > I don't have enough credit to tell Fabien off when he top posts :-) Also > most > of the time his answers are very concise and end a thread, so it doesn't > hurt. > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From Karl.Reinl at ...2345... Mon Mar 9 22:34:05 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Mon, 09 Mar 2015 22:34:05 +0100 Subject: [Gambas-user] Top posting (was: Red no entry sign on Debug) In-Reply-To: References: <54FCAA00.3010204@...626...> <20150309092259.4b6b16b04866d0deb10f246b@...626...> <54FD4CC1.8060803@...626...> <54FD99A4.5050209@...626...> <1425911403.3636.6.camel@...40...> <54FDD08D.2060607@...626...> <20150309185305.GE581@...2774...> Message-ID: <1425936845.3806.1.camel@...40...> Am Montag, den 09.03.2015, 21:24 +0200 schrieb Jussi Lahtinen: > > This is only mailing list where I have heard this is some kind of issue. > > When using gmail (or any similar interface) I don't see any difference. > > > > PS. I'm currently singed in six mailing lists. Most of them working on > google groups. > > > Jussi here a signature from an ancient gambas-user from Ron_1st -- A: Delete the text you reply on. Q: What to do to get my post on top? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? From jussi.lahtinen at ...626... Mon Mar 9 23:53:12 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 10 Mar 2015 00:53:12 +0200 Subject: [Gambas-user] Top posting (was: Red no entry sign on Debug) In-Reply-To: <1425936845.3806.1.camel@...40...> References: <54FCAA00.3010204@...626...> <20150309092259.4b6b16b04866d0deb10f246b@...626...> <54FD4CC1.8060803@...626...> <54FD99A4.5050209@...626...> <1425911403.3636.6.camel@...40...> <54FDD08D.2060607@...626...> <20150309185305.GE581@...2774...> <1425936845.3806.1.camel@...40...> Message-ID: > > here a signature from an ancient gambas-user from Ron_1st > > -- > A: Delete the text you reply on. > Q: What to do to get my post on top? > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > A: Top-posting. > Q: What is the most annoying thing in e-mail? > I'm aware of that, but gmail arranges the mails so that never happens. You will see only the reply, and the context is visible only if you click it open. So the only difference is whether you click open the context above (bottom post) or below (top post) the mail. Jussi From gambas at ...1... Tue Mar 10 02:16:25 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Tue, 10 Mar 2015 02:16:25 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.7 source package Message-ID: <54FE45E9.2010508@...1...> Hi everyone, I made a pre-release of the source package of Gambas 3.7 at: https://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.7.0.tar.bz2/download Please test it, and tell me if you have any problem with it, before I make the official release of course. Waiting for the last minute bugs... Best regards, -- Beno?t Minisini From kevinfishburne at ...1887... Tue Mar 10 05:00:09 2015 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Tue, 10 Mar 2015 00:00:09 -0400 Subject: [Gambas-user] Top posting In-Reply-To: References: <54FCAA00.3010204@...626...> <20150309092259.4b6b16b04866d0deb10f246b@...626...> <54FD4CC1.8060803@...626...> <54FD99A4.5050209@...626...> <1425911403.3636.6.camel@...40...> <54FDD08D.2060607@...626...> <20150309185305.GE581@...2774...> <1425936845.3806.1.camel@...40...> Message-ID: <54FE6C49.6040804@...1887...> On 03/09/2015 06:53 PM, Jussi Lahtinen wrote: >> here a signature from an ancient gambas-user from Ron_1st >> >> -- >> A: Delete the text you reply on. >> Q: What to do to get my post on top? >> A: Because it messes up the order in which people normally read text. >> Q: Why is top-posting such a bad thing? >> A: Top-posting. >> Q: What is the most annoying thing in e-mail? >> > I'm aware of that, but gmail arranges the mails so that never happens. You > will see only the reply, and the context is visible only if you click it > open. > So the only difference is whether you click open the context above (bottom > post) or below (top post) the mail. Email's still in the frakking DARPANET ages. Until there's a better way to do it the top posting flame wars will rage on. There should be parent/child relationships between each message. Quotes should be begin/end pointers referring to the message being quoted, not duplicating its text. This way the email client could display message threads however it (or the end user) liked without affecting everyone else's preferred reading or writing habits, and be able to easily detect when someone's top-posted (though top-posting and adding a sig at the very bottom could confuse things). -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From gambas.fr at ...626... Tue Mar 10 08:50:00 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 10 Mar 2015 08:50:00 +0100 Subject: [Gambas-user] Top posting (was: Red no entry sign on Debug) In-Reply-To: References: <54FCAA00.3010204@...626...> <20150309092259.4b6b16b04866d0deb10f246b@...626...> <54FD4CC1.8060803@...626...> <54FD99A4.5050209@...626...> <1425911403.3636.6.camel@...40...> <54FDD08D.2060607@...626...> <20150309185305.GE581@...2774...> <1425936845.3806.1.camel@...40...> Message-ID: Well ... often i remove the ancian message and just take part of it quoted to answer more clearer. gmail is cool by hidding the ancian common lines, but it make huge mail message in fact . i would prefer it to not copy the old message. and give me the choice of adding part of this one. 2015-03-09 23:53 GMT+01:00 Jussi Lahtinen : >> >> here a signature from an ancient gambas-user from Ron_1st >> >> -- >> A: Delete the text you reply on. >> Q: What to do to get my post on top? >> A: Because it messes up the order in which people normally read text. >> Q: Why is top-posting such a bad thing? >> A: Top-posting. >> Q: What is the most annoying thing in e-mail? >> > > I'm aware of that, but gmail arranges the mails so that never happens. You > will see only the reply, and the context is visible only if you click it > open. > So the only difference is whether you click open the context above (bottom > post) or below (top post) the mail. > > > > Jussi > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From lewis at ...3412... Tue Mar 10 09:02:56 2015 From: lewis at ...3412... (Lewis Balentine) Date: Tue, 10 Mar 2015 03:02:56 -0500 Subject: [Gambas-user] Top posting In-Reply-To: <54FE6C49.6040804@...1887...> References: <54FCAA00.3010204@...626...> <20150309092259.4b6b16b04866d0deb10f246b@...626...> <54FD4CC1.8060803@...626...> <54FD99A4.5050209@...626...> <1425911403.3636.6.camel@...40...> <54FDD08D.2060607@...626...> <20150309185305.GE581@...2774...> <1425936845.3806.1.camel@...40...> <54FE6C49.6040804@...1887...> Message-ID: <54FEA530.90801@...3412...> >> Email's still in the frakking DARPANET ages. << I tend to agree with you. However getting the entire world's electronic population to change would a daunting challenge. Perhaps if one was very dedicated, aggressive with unlimited resources it could be accomplished after a suitable period of time (maybe a decade or so). In the interim period we must learn to work with what we have at hand. cheers, Lewis P.S. If anyone decides to take on the challenge please address the following issues as well: Microsoft Outlook proprietary RTF based email format Extra line spacing in HTML formatted emails Embedded picture in any number of email systems Email Spam Email viruses Email Trojan horses My poor spelling ... it is a very long list... From sotema at ...626... Tue Mar 10 11:10:38 2015 From: sotema at ...626... (emanuele sottocorno) Date: Tue, 10 Mar 2015 11:10:38 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.7 source package In-Reply-To: <54FE45E9.2010508@...1...> References: <54FE45E9.2010508@...1...> Message-ID: Hi Beno?t, got this error at make install: cannot execute stat of "lib/gb.component": File or directory does not exists attached all installation logs. 2015-03-10 2:16 GMT+01:00 Beno?t Minisini : > Hi everyone, > > I made a pre-release of the source package of Gambas 3.7 at: > > > https://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.7.0.tar.bz2/download > > Please test it, and tell me if you have any problem with it, before I > make the official release of course. > > Waiting for the last minute bugs... > > Best regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- A non-text attachment was scrubbed... Name: gb307.tar.gz Type: application/x-gzip Size: 23221 bytes Desc: not available URL: From gambas at ...1... Tue Mar 10 11:36:20 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Tue, 10 Mar 2015 11:36:20 +0100 Subject: [Gambas-user] Gambas 3.7 In-Reply-To: References: Message-ID: <54FEC924.7060702@...1...> Le 10/03/2015 11:26, Ron a ?crit : > Hi Benoit, > > testing 3.7 (wel compiling all first) on new installed ubuntu 14.04.2 > > Have installed these: > > sudo apt-get install subversion build-essential autoconf mysql-client > libbz2-dev \ > libfbclient2 libmysqlclient-dev unixodbc-dev libpq-dev > libsqlite0-dev libsqlite3-dev \ > libgtk2.0-dev libldap2-dev libcurl4-gnutls-dev libgtkglext1-dev libpcre3-dev \ > libsdl-sound1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev > libsage-dev libxml2-dev \ > libxslt1-dev libbonobo2-dev libcos4-dev libomniorb4-dev librsvg2-dev > libpoppler-dev \ > libpoppler-glib-dev libasound2-dev libesd0-dev libdirectfb-dev libaa1-dev \ > libxtst-dev libffi-dev kdelibs5-dev firebird2.1-dev libqt4-dev > libglew1.5-dev \ > libimlib2-dev libv4l-dev libsdl-ttf2.0-dev libgnome-keyring-dev > libgdk-pixbuf2.0-dev \ > linux-libc-dev libgmime-2.6-dev libgsl0-dev > libgstreamer-plugins-base0.10-dev \ > libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgmp-dev \ > libopenal-dev libalure-dev libgtk-3-dev libsdl2-image-dev > libsdl2-ttf-dev llvm-dev libsdl2-mixer-dev > > fix dependency errors: > sudo apt-get install libglew-dev libcheese7 libcheese-gtk23 > libclutter-gst-2.0-0 libcogl15 libclutter-gtk-1.0-0 libclutter-1.0-0 > From the wiki: sudo apt-get install ... libpq-dev postgresql-server-dev-9.3 ... Regards, -- Beno?t Minisini From karl.reinl at ...9... Tue Mar 10 11:51:00 2015 From: karl.reinl at ...9... (Karl Reinl) Date: Tue, 10 Mar 2015 11:51:00 +0100 Subject: [Gambas-user] form resize behave Message-ID: <1425984660.3761.1.camel@...40...> Salut, Is there a switch or form property to get form smaller then the starting (not initial) size, or pull it back to initial size ? -- Amicalement Charlie From gambas at ...1... Tue Mar 10 13:05:45 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Tue, 10 Mar 2015 13:05:45 +0100 Subject: [Gambas-user] Gambas 3.7 In-Reply-To: References: <54FEC924.7060702@...1...> Message-ID: <54FEDE19.1060705@...1...> Le 10/03/2015 12:36, Ron a ?crit : > Ran into same error as someone on mailing lists posted > > Making runtime symbolic link > Registering Gambas executable mimetype > Creating the information files for gb component... > gb > /usr/bin/install: cannot stat ?lib/gb.component?: No such file or directory > make[4]: *** [install-exec-local] Error 1 > make[4]: Leaving directory `/home/ron/install/gambas/gambas3-3.7.0/main' > make[3]: *** [install-am] Error 2 > make[3]: Leaving directory `/home/ron/install/gambas/gambas3-3.7.0/main' > make[2]: *** [install-recursive] Error 1 > make[2]: Leaving directory `/home/ron/install/gambas/gambas3-3.7.0/main' > make[1]: *** [install] Error 2 > make[1]: Leaving directory `/home/ron/install/gambas/gambas3-3.7.0/main' > make: *** [install-recursive] Error 1 > > ... > > I commented out the line in main/Makefile, so now it installs.. It should not be the good fix, I will look at it. :-) > > Some small issues... > > See attached screenshot, 'there' should be called 'here' > > After clinking on the 'Software Farm' on the left of this screen I get > these in the terminal from where I started gambas3 > > $ gambas3 > Could not resolve property : XMLID_8_ > Could not resolve property : XMLID_12_ > Could not resolve property : XMLID_13_ > Could not resolve property : XMLID_14_ > I have the same message on my Ubuntu 14.04. Not idea where it comes from, google knows nothing about it. An Ubuntu "strangeness" again? -- Beno?t Minisini From jussi.lahtinen at ...626... Tue Mar 10 14:23:34 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 10 Mar 2015 15:23:34 +0200 Subject: [Gambas-user] Top posting (was: Red no entry sign on Debug) In-Reply-To: References: <54FCAA00.3010204@...626...> <20150309092259.4b6b16b04866d0deb10f246b@...626...> <54FD4CC1.8060803@...626...> <54FD99A4.5050209@...626...> <1425911403.3636.6.camel@...40...> <54FDD08D.2060607@...626...> <20150309185305.GE581@...2774...> <1425936845.3806.1.camel@...40...> Message-ID: Yes, I do that also. Shift + Ctrl + End and then just Delete. Takes less than second, so it's not big deal. Jussi On Tue, Mar 10, 2015 at 9:50 AM, Fabien Bodard wrote: > Well ... often i remove the ancian message and just take part of it > quoted to answer more clearer. > > gmail is cool by hidding the ancian common lines, but it make huge > mail message in fact . i would prefer it to not copy the old message. > and give me the choice of adding part of this one. > > 2015-03-09 23:53 GMT+01:00 Jussi Lahtinen : > >> > >> here a signature from an ancient gambas-user from Ron_1st > >> > >> -- > >> A: Delete the text you reply on. > >> Q: What to do to get my post on top? > >> A: Because it messes up the order in which people normally read text. > >> Q: Why is top-posting such a bad thing? > >> A: Top-posting. > >> Q: What is the most annoying thing in e-mail? > >> > > > > I'm aware of that, but gmail arranges the mails so that never happens. > You > > will see only the reply, and the context is visible only if you click it > > open. > > So the only difference is whether you click open the context above > (bottom > > post) or below (top post) the mail. > > > > > > > > Jussi > > > ------------------------------------------------------------------------------ > > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > > by Intel and developed in partnership with Slashdot Media, is your hub > for all > > things parallel software development, from weekly thought leadership > blogs to > > news, videos, case studies, tutorials and more. Take a look and join the > > conversation now. http://goparallel.sourceforge.net/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Tue Mar 10 14:30:20 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 10 Mar 2015 15:30:20 +0200 Subject: [Gambas-user] Top posting In-Reply-To: <54FE6C49.6040804@...1887...> References: <54FCAA00.3010204@...626...> <20150309092259.4b6b16b04866d0deb10f246b@...626...> <54FD4CC1.8060803@...626...> <54FD99A4.5050209@...626...> <1425911403.3636.6.camel@...40...> <54FDD08D.2060607@...626...> <20150309185305.GE581@...2774...> <1425936845.3806.1.camel@...40...> <54FE6C49.6040804@...1887...> Message-ID: > There should be parent/child relationships between each message. I agree, this is preserved by gmail. > Quotes should be begin/end pointers referring to the message being quoted, > not > duplicating its text. This way the email client could display message > threads however it (or the end user) liked without affecting everyone > else's preferred reading or writing habits, and be able to easily detect > when someone's top-posted (though top-posting and adding a sig at the > very bottom could confuse things). > You might be describing gmail... have you tried it? Jussi From jussi.lahtinen at ...626... Tue Mar 10 14:40:03 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 10 Mar 2015 15:40:03 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.7 source package In-Reply-To: <54FE45E9.2010508@...1...> References: <54FE45E9.2010508@...1...> Message-ID: I have problems with revision 6963 (and maybe earlier), is that essentially same as 3.7? The problem causes crash preceded with "GUI is not initalized in ...". I will try to isolate the problem, but it will take time. Jussi On Tue, Mar 10, 2015 at 3:16 AM, Beno?t Minisini < gambas at ...1...> wrote: > Hi everyone, > > I made a pre-release of the source package of Gambas 3.7 at: > > > https://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.7.0.tar.bz2/download > > Please test it, and tell me if you have any problem with it, before I > make the official release of course. > > Waiting for the last minute bugs... > > Best regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bill-lancaster at ...2231... Tue Mar 10 14:42:57 2015 From: bill-lancaster at ...2231... (bill-lancaster) Date: Tue, 10 Mar 2015 06:42:57 -0700 (MST) Subject: [Gambas-user] Change value shown in Tray Icon In-Reply-To: <54FDEC0B.5050206@...1...> References: <1425712297247-50812.post@...3046...> <54FDEC0B.5050206@...1...> Message-ID: <1425994977329-50866.post@...3046...> Thanks Beno?t, Please see attached. a10-0.gz -- View this message in context: http://gambas.8142.n7.nabble.com/Change-value-shown-in-Tray-Icon-tp50812p50866.html Sent from the gambas-user mailing list archive at Nabble.com. From abbat.81 at ...787... Tue Mar 10 14:29:53 2015 From: abbat.81 at ...787... (abbat81) Date: Tue, 10 Mar 2015 06:29:53 -0700 (MST) Subject: [Gambas-user] Play video Message-ID: <1425994193479-50864.post@...3046...> Hi, I tried to play any video using example MoviePlayer 3.0.0 But nothing works. Is there any example to play video? Thanks. -- View this message in context: http://gambas.8142.n7.nabble.com/Play-video-tp50864.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Tue Mar 10 16:49:58 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Tue, 10 Mar 2015 16:49:58 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.7 (2) Message-ID: <54FF12A6.4090407@...1...> Hi, I have uploaded a new version of the source package at the same place, with (normally) all reported bugs fixed. Please test it and tell me if you still have problems! Regards, -- Beno?t Minisini From gambas at ...1... Tue Mar 10 16:50:37 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 10 Mar 2015 16:50:37 +0100 Subject: [Gambas-user] Play video In-Reply-To: <1425994193479-50864.post@...3046...> References: <1425994193479-50864.post@...3046...> Message-ID: <54FF12CD.10506@...1...> Le 10/03/2015 14:29, abbat81 a ?crit : > Hi, > > I tried to play any video using example MoviePlayer 3.0.0 > But nothing works. > > Is there any example to play video? > > Thanks. > > The MediaPlayer example. Regards, -- Beno?t Minisini From lordheavym at ...626... Tue Mar 10 16:59:06 2015 From: lordheavym at ...626... (Laurent Carlier) Date: Tue, 10 Mar 2015 16:59:06 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.7 (2) In-Reply-To: <54FF12A6.4090407@...1...> References: <54FF12A6.4090407@...1...> Message-ID: <2116445.WgyftGNHM6@...2592...> Le mardi 10 mars 2015, 16:49:58 Beno?t Minisini a ?crit : > Hi, > > I have uploaded a new version of the source package at the same place, > with (normally) all reported bugs fixed. > > Please test it and tell me if you still have problems! > > Regards, AFAIK gb.jit component doesn't build with llvm 3.6.0 ++ -- Laurent Carlier http://www.archlinux.org -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 473 bytes Desc: This is a digitally signed message part. URL: From bill-lancaster at ...2231... Tue Mar 10 17:20:30 2015 From: bill-lancaster at ...2231... (bill-lancaster) Date: Tue, 10 Mar 2015 09:20:30 -0700 (MST) Subject: [Gambas-user] Change value shown in Tray Icon In-Reply-To: <1425994977329-50866.post@...3046...> References: <1425712297247-50812.post@...3046...> <54FDEC0B.5050206@...1...> <1425994977329-50866.post@...3046...> Message-ID: <1426004430428-50870.post@...3046...> My mistake was to use a .png file instead of an image value. It's working fine now Thanks -- View this message in context: http://gambas.8142.n7.nabble.com/Change-value-shown-in-Tray-Icon-tp50812p50870.html Sent from the gambas-user mailing list archive at Nabble.com. From sotema at ...626... Tue Mar 10 17:49:13 2015 From: sotema at ...626... (emanuele sottocorno) Date: Tue, 10 Mar 2015 17:49:13 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.7 (2) In-Reply-To: <2116445.WgyftGNHM6@...2592...> References: <54FF12A6.4090407@...1...> <2116445.WgyftGNHM6@...2592...> Message-ID: Correctly installed on my Ubuntu 14.04.2 System Information attached FYI 2015-03-10 16:59 GMT+01:00 Laurent Carlier : > Le mardi 10 mars 2015, 16:49:58 Beno?t Minisini a ?crit : > > Hi, > > > > I have uploaded a new version of the source package at the same place, > > with (normally) all reported bugs fixed. > > > > Please test it and tell me if you still have problems! > > > > Regards, > > AFAIK gb.jit component doesn't build with llvm 3.6.0 > > ++ > -- > Laurent Carlier > http://www.archlinux.org > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -------------- next part -------------- A non-text attachment was scrubbed... Name: gb370.tar.gz Type: application/x-gzip Size: 424 bytes Desc: not available URL: From bagoneo at ...69... Tue Mar 10 17:56:10 2015 From: bagoneo at ...69... (Gian) Date: Tue, 10 Mar 2015 17:56:10 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.7 (2) In-Reply-To: <54FF12A6.4090407@...1...> References: <54FF12A6.4090407@...1...> Message-ID: <54FF222A.7080904@...69...> Il 10/03/2015 16:49, Beno?t Minisini ha scritto: > Hi, > > I have uploaded a new version of the source package at the same place, > with (normally) all reported bugs fixed. > > Please test it and tell me if you still have problems! > > Regards, > Thanks Benoit, perfect installation, for the first time I also work Jit. Regards Gianluigi [System] Gambas=3.7.0 OperatingSystem=Linux Kernel=3.13.0-47-generic Architecture=x86_64 Distribution=Ubuntu 14.04.2 LTS Desktop=GNOME Theme=QGtk Language=it_IT.UTF-8 Memory=4537M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 From john.aaron.rose at ...626... Tue Mar 10 18:21:52 2015 From: john.aaron.rose at ...626... (John Rose) Date: Tue, 10 Mar 2015 17:21:52 +0000 Subject: [Gambas-user] Possible bug with Text property of MaskBox Message-ID: <54FF2830.70100@...626...> I've found what I think is a bug on the Text property of the Maskbox control. When I set it with a Text property (conforming to its Mask property), it shows as blank at runtime. However, if I set it by code to the same value, it works OK. Test project attached. Please confirm if it is a bug or just a stupid mistake of mine. -- John -------------- next part -------------- A non-text attachment was scrubbed... Name: Test.tar.gz Type: application/gzip Size: 8885 bytes Desc: not available URL: From herberthguzman at ...626... Tue Mar 10 19:40:24 2015 From: herberthguzman at ...626... (herberth guzman) Date: Tue, 10 Mar 2015 12:40:24 -0600 Subject: [Gambas-user] X11.SetWindowProperty Message-ID: Congratulations on Pre-release of Gambas 3.7, fantastic. Great job to you and all who collaborate. Benoit Doing tests I noticed a problem. In the Form in the Open event if I put: X11.SetWindowProperty 1- (f_panel.Id, Atom ["_ NET_WM_WINDOW_TYPE"] Atom ["ATOM"] Atom ["_ NET_WM_WINDOW_TYPE_DOCK"]) "No problem," but if I put 2 or more just take the last line of the code Example: 1 - X11.SetWindowProperty 1- (f_panel.Id, Atom ["_ NET_WM_WINDOW_TYPE"] Atom ["ATOM"] Atom ["_ NET_WM_WINDOW_TYPE_DOCK"]) 2 - X11.SetWindowProperty 2- (f_panel.Id, Atom ["_ NET_WM_STATE"] Atom ["ATOM"] Atom ["_ NET_WM_WINDOW_TYPE"]) Just run No. 2 and if i put 1 - X11.SetWindowProperty 1- (f_wallpaper.Id, Atom ["_ NET_WM_STATE"] Atom ["ATOM"] Atom ["_ NET_WM_STATE_STICKY"]) 2 - X11.SetWindowProperty 2- (f_wallpaper.Id, Atom ["_ NET_WM_STATE"] Atom ["ATOM"] Atom ["_ NET_WM_STATE_SKIP_TASKBAR"]) 3 - X11.SetWindowProperty (f_wallpaper.Id, Atom ["_ NET_WM_STATE"] Atom ["ATOM"] Atom ["_ NET_WM_STATE_SKIP_PAGER"]) 4 - X11.SetWindowProperty 4- (f_wallpaper.Id, Atom ["_ NET_WM_STATE"] Atom ["ATOM"] Atom ["_ NET_WM_STATE_FULLSCREEN"]) takes the line No.4 I know No. 1, 2 and 4 the IDE-Gambas has these functions. Only is one example As I can do to work me 2 or more lines of these functions. Regards Herberth Guzman From herberthguzman at ...626... Tue Mar 10 19:49:08 2015 From: herberthguzman at ...626... (herberth guzman) Date: Tue, 10 Mar 2015 12:49:08 -0600 Subject: [Gambas-user] Problem with gb.report Message-ID: Salut Fabien I have the following problem with gb.report If for example I copy a report1 to report2 an image and the path of picture does not exist the report no longer opens. gives the following error. [12] Not an object. CFamilyReport.DrawControl.391 This happens if I have 2 different projects and I need the report is the project2 and not in project1, but the image is not in the project. And I need all the structure of the report. Regards Herberth Guzman From karl.reinl at ...9... Tue Mar 10 21:03:14 2015 From: karl.reinl at ...9... (Karl Reinl) Date: Tue, 10 Mar 2015 21:03:14 +0100 Subject: [Gambas-user] form resize behave (2) Message-ID: <1426017794.3574.14.camel@...40...> Salut, Is there a switch or form property to get form smaller then the starting (not initial) size, or pull it back to initial size ? -- Amicalement Charlie Salut, I found out what happens. I set the saved (with Settings.write(Me)) Form size before Form_Open raises, in Public Sub Run(.. The result is, you can make Forms bigger, but not smaller. gambas3 takes the Form size found at Form_Open as it's initial size, and don't let you make it smaller as that. If you set Form size in Form_Open or later, the initial size, is the one from design time. -- Amicalement Charlie From gambas at ...1... Tue Mar 10 21:15:42 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 10 Mar 2015 21:15:42 +0100 Subject: [Gambas-user] form resize behave (2) In-Reply-To: <1426017794.3574.14.camel@...40...> References: <1426017794.3574.14.camel@...40...> Message-ID: <54FF50EE.8050208@...1...> Le 10/03/2015 21:03, Karl Reinl a ?crit : > Salut, > > Is there a switch or form property to get form smaller then the starting > (not initial) size, or pull it back to initial size ? > If your form is modal and resizable, its initial size is its minimum size. If your form is resizable but not modal, you can resize it freely. Regards, -- Beno?t Minisini From gambas at ...1... Tue Mar 10 21:18:44 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 10 Mar 2015 21:18:44 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.7 (2) In-Reply-To: <2116445.WgyftGNHM6@...2592...> References: <54FF12A6.4090407@...1...> <2116445.WgyftGNHM6@...2592...> Message-ID: <54FF51A4.9030105@...1...> Le 10/03/2015 16:59, Laurent Carlier a ?crit : > Le mardi 10 mars 2015, 16:49:58 Beno?t Minisini a ?crit : >> Hi, >> >> I have uploaded a new version of the source package at the same place, >> with (normally) all reported bugs fixed. >> >> Please test it and tell me if you still have problems! >> >> Regards, > > AFAIK gb.jit component doesn't build with llvm 3.6.0 > > ++ > Hi Laurent, Nice to see you again. :-) Apparently llvm 3.6 drops the JIT interface of previous llvm versions. For no reason, at least in their changelog. It's cool that LLVM allowed Emil to write a JIT compiler for Gambas. Otherwise the more I look at it, the less I like it... -- Beno?t Minisini From gambas.fr at ...626... Tue Mar 10 21:44:59 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 10 Mar 2015 21:44:59 +0100 Subject: [Gambas-user] Problem with gb.report In-Reply-To: References: Message-ID: Even on th? last version ? Le 10 mars 2015 19:50, "herberth guzman" a ?crit : > Salut Fabien > > I have the following problem with gb.report > > If for example I copy a report1 to report2 an image and the path of picture > does not exist the report no longer opens. > > gives the following error. > > [12] Not an object. > CFamilyReport.DrawControl.391 > > > This happens if I have 2 different projects and I need the report is the > project2 and not in project1, but the image is not in the project. > > And I need all the structure of the report. > > > Regards > > Herberth Guzman > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bagoneo at ...69... Tue Mar 10 22:00:19 2015 From: bagoneo at ...69... (Gian) Date: Tue, 10 Mar 2015 22:00:19 +0100 Subject: [Gambas-user] Random access files with fixed-length string Message-ID: <54FF5B63.7000602@...69...> Hello everyone, those coming from the Windows VB, frequently asks how to work with random access files with fixed-length string. I created this demo as an explanation and would like to know if you think right, correct in part or completely wrong. Thank you for attention Gianluigi Attention: This application contains a Spinner, you need version => 3.6 Create a directory with the name of the application in user.home to save file dat. -------------- next part -------------- A non-text attachment was scrubbed... Name: Random&FixedString-en-0.0.1.tar.gz Type: application/gzip Size: 9061 bytes Desc: not available URL: From jussi.lahtinen at ...626... Tue Mar 10 22:10:40 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 10 Mar 2015 23:10:40 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.7 (2) In-Reply-To: <54FF51A4.9030105@...1...> References: <54FF12A6.4090407@...1...> <2116445.WgyftGNHM6@...2592...> <54FF51A4.9030105@...1...> Message-ID: > Apparently llvm 3.6 drops the JIT interface of previous llvm versions. > For no reason, at least in their changelog. > > It's cool that LLVM allowed Emil to write a JIT compiler for Gambas. > Otherwise the more I look at it, the less I like it... > Here is more about it: http://blog.llvm.org/2013/07/using-mcjit-with-kaleidoscope-tutorial.html Seems like they have done stupid move. They publish new version, which breaks old functionality, without offering reasonable substitute. I don't understand why they didn't make first the MCJIT ready to substitute the old, before removing it! Jussi From gambas at ...1... Tue Mar 10 22:17:17 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 10 Mar 2015 22:17:17 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.7 (2) In-Reply-To: References: <54FF12A6.4090407@...1...> <2116445.WgyftGNHM6@...2592...> <54FF51A4.9030105@...1...> Message-ID: <54FF5F5D.9080907@...1...> Le 10/03/2015 22:10, Jussi Lahtinen a ?crit : >> Apparently llvm 3.6 drops the JIT interface of previous llvm versions. >> For no reason, at least in their changelog. >> >> It's cool that LLVM allowed Emil to write a JIT compiler for Gambas. >> Otherwise the more I look at it, the less I like it... >> > > Here is more about it: > http://blog.llvm.org/2013/07/using-mcjit-with-kaleidoscope-tutorial.html > > Seems like they have done stupid move. They publish new version, which > breaks old functionality, without offering reasonable substitute. > I don't understand why they didn't make first the MCJIT ready to substitute > the old, before removing it! > > > > Jussi Exactly. Only Emil can confirm, as I don't have enough knowledge about that, but apparently there is no way to make an equivalent Gambas JIT compiler with the new versions of LLVM! I have modified the configuration script of gb.jit so that it checks that the llvm version is greater than 3.1, but strictly lower than 3.6. Regards, -- Beno?t Minisini From gambas.fr at ...626... Tue Mar 10 23:56:28 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 10 Mar 2015 23:56:28 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.7 (2) In-Reply-To: <54FF5F5D.9080907@...1...> References: <54FF12A6.4090407@...1...> <2116445.WgyftGNHM6@...2592...> <54FF51A4.9030105@...1...> <54FF5F5D.9080907@...1...> Message-ID: Le 10 mars 2015 22:18, "Beno?t Minisini" a ?crit : > > Le 10/03/2015 22:10, Jussi Lahtinen a ?crit : > >> Apparently llvm 3.6 drops the JIT interface of previous llvm versions. > >> For no reason, at least in their changelog. > >> > >> It's cool that LLVM allowed Emil to write a JIT compiler for Gambas. > >> Otherwise the more I look at it, the less I like it... > >> > > > > Here is more about it: > > http://blog.llvm.org/2013/07/using-mcjit-with-kaleidoscope-tutorial.html > > > > Seems like they have done stupid move. They publish new version, which > > breaks old functionality, without offering reasonable substitute. > > I don't understand why they didn't make first the MCJIT ready to substitute > > the old, before removing it! > > > > > > > > Jussi > > Exactly. Only Emil can confirm, as I don't have enough knowledge about > that, but apparently there is no way to make an equivalent Gambas JIT > compiler with the new versions of LLVM! > > I have modified the configuration script of gb.jit so that it checks > that the llvm version is greater than 3.1, but strictly lower than 3.6. > > Regards, > > -- > Beno?t Minisini > So does it mean that we are going to lost the git capabilities in a near future ? > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From jussi.lahtinen at ...626... Wed Mar 11 00:03:17 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 11 Mar 2015 01:03:17 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.7 (2) In-Reply-To: <54FF5F5D.9080907@...1...> References: <54FF12A6.4090407@...1...> <2116445.WgyftGNHM6@...2592...> <54FF51A4.9030105@...1...> <54FF5F5D.9080907@...1...> Message-ID: > Exactly. Only Emil can confirm, as I don't have enough knowledge about > that, but apparently there is no way to make an equivalent Gambas JIT > compiler with the new versions of LLVM! > > I have modified the configuration script of gb.jit so that it checks > that the llvm version is greater than 3.1, but strictly lower than 3.6. > I just realized that the blog post is quite old and LLVM 3.6 is just released. So, I hope the situation has improved since that! But maybe it would be gb.JIT2 that uses LLVM 3.6. Jussi From jussi.lahtinen at ...626... Wed Mar 11 00:13:57 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 11 Mar 2015 01:13:57 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.7 (2) In-Reply-To: <54FF12A6.4090407@...1...> References: <54FF12A6.4090407@...1...> Message-ID: OK, here is the problem isolated. It seems to affect only Qt. Jussi On Tue, Mar 10, 2015 at 5:49 PM, Beno?t Minisini < gambas at ...1...> wrote: > Hi, > > I have uploaded a new version of the source package at the same place, > with (normally) all reported bugs fixed. > > Please test it and tell me if you still have problems! > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- A non-text attachment was scrubbed... Name: GUI_init_problem-0.0.1.tar.gz Type: application/x-gzip Size: 3917 bytes Desc: not available URL: From gambas at ...1... Wed Mar 11 00:17:24 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 11 Mar 2015 00:17:24 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.7 (2) In-Reply-To: References: <54FF12A6.4090407@...1...> <2116445.WgyftGNHM6@...2592...> <54FF51A4.9030105@...1...> <54FF5F5D.9080907@...1...> Message-ID: <54FF7B84.9080506@...1...> Le 11/03/2015 00:03, Jussi Lahtinen a ?crit : >> Exactly. Only Emil can confirm, as I don't have enough knowledge about >> that, but apparently there is no way to make an equivalent Gambas JIT >> compiler with the new versions of LLVM! >> >> I have modified the configuration script of gb.jit so that it checks >> that the llvm version is greater than 3.1, but strictly lower than 3.6. >> > > I just realized that the blog post is quite old and LLVM 3.6 is just > released. So, I hope the situation has improved since that! > But maybe it would be gb.JIT2 that uses LLVM 3.6. > > > Jussi Support of llvm >= 3.6 depends on Emil. At the moment, on Ubuntu, you can install llvm 3.4, 3.5 and 3.6 at the same time so this is not a problem. -- Beno?t Minisini From rterry at ...1823... Wed Mar 11 00:37:44 2015 From: rterry at ...1823... (richard terry) Date: Wed, 11 Mar 2015 10:37:44 +1100 Subject: [Gambas-user] Top posting In-Reply-To: References: <54FCAA00.3010204@...626...> <20150309092259.4b6b16b04866d0deb10f246b@...626...> <54FD4CC1.8060803@...626...> <54FD99A4.5050209@...626...> <1425911403.3636.6.camel@...40...> <54FDD08D.2060607@...626...> <20150309185305.GE581@...2774...> Message-ID: <54FF8048.4040703@...1823...> Personally I like top-posting, some lists I"m on use it. I find it easier to find out the last thing said rather than having to scroll down to the bottom of a long post. If the mail headers are up in the top pain, and the text in the bottom pain its easy to just scroll down the mail without having to constantly jump to the bottom pane to go down to the bottom. Regards richard On 10/03/15 08:30, Fabien Bodard wrote: > Well generally I'm posting from my phone or from Gmail. And these mail > client are setting for top posting by default. So as generally I have few > time to answer on my truck, I forgot to take care at my message position. > > It's with spelling fault my bad side since 13 year now on my Gambas > correspondence. ? > Le 9 mars 2015 19:57, "Tobias Boege" a ?crit : > >> On Mon, 09 Mar 2015, John Rose wrote: >>> PS I've top posted this time as you are top posting. Tobi requested me >>> on another query not to do bottom posting. Is top or bottom posting >>> preferred for this mailing list? >> I prefer bottom posting and lots of people here do it. Are there any >> mailing >> lists -- which are a medium with focus on discussion -- in which top >> posting >> is done consciously? >> >> I don't have enough credit to tell Fabien off when he top posts :-) Also >> most >> of the time his answers are very concise and end a thread, so it doesn't >> hurt. >> >> Regards, >> Tobi >> >> -- >> "There's an old saying: Don't change anything... ever!" -- Mr. Monk >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, >> sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub for >> all >> things parallel software development, from weekly thought leadership blogs >> to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From taboege at ...626... Wed Mar 11 01:51:54 2015 From: taboege at ...626... (Tobias Boege) Date: Wed, 11 Mar 2015 01:51:54 +0100 Subject: [Gambas-user] Top posting In-Reply-To: <54FF8048.4040703@...1823...> References: <54FD4CC1.8060803@...626...> <54FD99A4.5050209@...626...> <1425911403.3636.6.camel@...40...> <54FDD08D.2060607@...626...> <20150309185305.GE581@...2774...> <54FF8048.4040703@...1823...> Message-ID: <20150311005154.GA989@...2774...> On Wed, 11 Mar 2015, richard terry wrote: > Personally I like top-posting, some lists I"m on use it. I find it > easier to find out the last thing said rather than having to scroll down > to the bottom of a long post. If the mail headers are up in the top > pain, and the text in the bottom pain its easy to just scroll down the > mail without having to constantly jump to the bottom pane to go down to > the bottom. > I'm astonished how I can't relate at all. There is clearly no use trying to settle this debate. So, for those who have a scriptable MUA and like bottom-posting better, I attach a super-quick hack which tries to convert top-posting mails to bottom ones, just to suggest that everyone may fix their mail locally. In mutt, display_filter is the relevant setting (for display only). Also attached are a screenshot of a mail where it works and one where it doesn't completely. There are uncountably many variations in the way citations are introduced, and, in turn, as many spacing violations of them, so it will never relly work. (I guess at this point, it will completely mess up inline replies... It also can't correct top-posting in citations.) Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- #!/usr/bin/gbs3 Private Enum Header, Body, Signature Private $iPart As Integer Private $aHeader As New String[] Private $aBody As New String[] Private $aSig As New String[] Public Sub Main() $iPart = Header ' Process input in Application_Read() While Not Eof(File.In) Wait 0.1 Wend Top2Bottom() Print Trim$($aHeader.Join("\n")) Print Print Trim$($aBody.Join("\n")) Print Print Trim$($aSig.Join("\n")) Quit End Public Sub Application_Read() Dim sLine As String Line Input sLine Select Case $iPart Case Header If Not sLine Then $iPart = Body $aHeader.Add(sLine) Case Body If sLine = "--" Or If sLine = "-- " Then $iPart = Signature $aSig.Add(sLine) Else $aBody.Add(sLine) Endif Case Signature $aSig.Add(sLine) End Select End Private Sub Top2Bottom() Dim aReply, aCitation As New String[] Dim iInd As Integer For iInd = 0 To $aBody.Max ' Gambas has no support for "If p Or If (q And If r) Then" If $aBody[iInd] Begins ">" Then aCitation.Add($aBody[iInd]) Else If iInd < $aBody.Max And If $aBody[iInd + 1] Begins ">" Then aCitation.Add($aBody[iInd]) Else aReply.Add($aBody[iInd]) Endif Next $aBody = aCitation.Insert(["\n"]).Insert(aReply) End -------------- next part -------------- A non-text attachment was scrubbed... Name: top2bottom-1.png Type: image/png Size: 45387 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: top2bottom-2.png Type: image/png Size: 46362 bytes Desc: not available URL: From emil.lenngren at ...626... Wed Mar 11 04:14:37 2015 From: emil.lenngren at ...626... (Emil Lenngren) Date: Wed, 11 Mar 2015 04:14:37 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.7 (2) In-Reply-To: <54FF7B84.9080506@...1...> References: <54FF12A6.4090407@...1...> <2116445.WgyftGNHM6@...2592...> <54FF51A4.9030105@...1...> <54FF5F5D.9080907@...1...> <54FF7B84.9080506@...1...> Message-ID: Sigh... Why did they remove the old jit... I'll try to see how easy or hard it is to port it to their MCJIT. /Emil Den 11 mar 2015 00:18 skrev "Beno?t Minisini" : > Le 11/03/2015 00:03, Jussi Lahtinen a ?crit : > >> Exactly. Only Emil can confirm, as I don't have enough knowledge about > >> that, but apparently there is no way to make an equivalent Gambas JIT > >> compiler with the new versions of LLVM! > >> > >> I have modified the configuration script of gb.jit so that it checks > >> that the llvm version is greater than 3.1, but strictly lower than 3.6. > >> > > > > I just realized that the blog post is quite old and LLVM 3.6 is just > > released. So, I hope the situation has improved since that! > > But maybe it would be gb.JIT2 that uses LLVM 3.6. > > > > > > Jussi > > Support of llvm >= 3.6 depends on Emil. At the moment, on Ubuntu, you > can install llvm 3.4, 3.5 and 3.6 at the same time so this is not a > problem. > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From kevinfishburne at ...1887... Wed Mar 11 04:37:58 2015 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Tue, 10 Mar 2015 23:37:58 -0400 Subject: [Gambas-user] Top posting In-Reply-To: <54FF8048.4040703@...1823...> References: <54FCAA00.3010204@...626...> <20150309092259.4b6b16b04866d0deb10f246b@...626...> <54FD4CC1.8060803@...626...> <54FD99A4.5050209@...626...> <1425911403.3636.6.camel@...40...> <54FDD08D.2060607@...626...> <20150309185305.GE581@...2774...> <54FF8048.4040703@...1823...> Message-ID: <54FFB896.5000900@...1887...> On 03/10/2015 07:37 PM, richard terry wrote: > Personally I like top-posting, some lists I"m on use it. I find it > easier to find out the last thing said rather than having to scroll down > to the bottom of a long post. If the mail headers are up in the top > pain, and the text in the bottom pain its easy to just scroll down the > mail without having to constantly jump to the bottom pane to go down to > the bottom. Oh, you really stepped in it now, Richard. Did someone finally port Outlook Express to Linux? I'm kidding, of course. To each their own, but threads get crazy when top and bottom posting are mixed. It starts to appear random after a while. We need an entirely new mail protocol that fixes the top/bottom-posting issue AND spam. Because why not? -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From kevinfishburne at ...1887... Wed Mar 11 04:43:12 2015 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Tue, 10 Mar 2015 23:43:12 -0400 Subject: [Gambas-user] Top posting In-Reply-To: References: <54FCAA00.3010204@...626...> <20150309092259.4b6b16b04866d0deb10f246b@...626...> <54FD4CC1.8060803@...626...> <54FD99A4.5050209@...626...> <1425911403.3636.6.camel@...40...> <54FDD08D.2060607@...626...> <20150309185305.GE581@...2774...> <1425936845.3806.1.camel@...40...> <54FE6C49.6040804@...1887...> Message-ID: <54FFB9D0.3060402@...1887...> On 03/10/2015 09:30 AM, Jussi Lahtinen wrote: >> There should be parent/child relationships between each message. > > I agree, this is preserved by gmail. > > > >> Quotes should be begin/end pointers referring to the message being quoted, >> not >> duplicating its text. This way the email client could display message >> threads however it (or the end user) liked without affecting everyone >> else's preferred reading or writing habits, and be able to easily detect >> when someone's top-posted (though top-posting and adding a sig at the >> very bottom could confuse things). >> > You might be describing gmail... have you tried it? I have a Gmail account and have it set up in Thunderbird along with my other accounts which use IMAP. I run my own mail server from my house (eightvirtues.com) for those. The Gmail account is old and I try not to use it much. Even if Gmail is an ideal solution, I'd like a more "universal" solution that isn't tied to one company's whims and IP. It does sound like Google has a handle on how things should be done; perhaps they could lead the charge to revolutionize email. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From kevinfishburne at ...1887... Wed Mar 11 04:49:47 2015 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Tue, 10 Mar 2015 23:49:47 -0400 Subject: [Gambas-user] Pre-release of Gambas 3.7 (3) In-Reply-To: <54FF7B84.9080506@...1...> References: <54FF12A6.4090407@...1...> <2116445.WgyftGNHM6@...2592...> <54FF51A4.9030105@...1...> <54FF5F5D.9080907@...1...> <54FF7B84.9080506@...1...> Message-ID: <54FFBB5B.9000103@...1887...> This isn't a bug, but a minor (if annoying) usability issue. If you have a lot of procedures and click the procedure drop-down (or listbox or whatever) the procedure the cursor is in used to be highlighted in the list, but this is no longer the case. I name my procedures so that they are grouped by similarity when in alphabetical order, so the lack of highlighting forces me to scan through more of the list to locate the one I want to select. I can't used the highlighted procedure as a point of reference when scanning for another one, basically. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From rterry at ...1823... Wed Mar 11 06:54:30 2015 From: rterry at ...1823... (richard terry) Date: Wed, 11 Mar 2015 16:54:30 +1100 Subject: [Gambas-user] Top posting In-Reply-To: <54FFB896.5000900@...1887...> References: <54FCAA00.3010204@...626...> <20150309092259.4b6b16b04866d0deb10f246b@...626...> <54FD4CC1.8060803@...626...> <54FD99A4.5050209@...626...> <1425911403.3636.6.camel@...40...> <54FDD08D.2060607@...626...> <20150309185305.GE581@...2774...> <54FF8048.4040703@...1823...> <54FFB896.5000900@...1887...> Message-ID: <54FFD896.3010706@...1823...> On 11/03/15 14:37, Kevin Fishburne wrote: > On 03/10/2015 07:37 PM, richard terry wrote: >> Personally I like top-posting, some lists I"m on use it. I find it >> easier to find out the last thing said rather than having to scroll down >> to the bottom of a long post. If the mail headers are up in the top >> pain, and the text in the bottom pain its easy to just scroll down the >> mail without having to constantly jump to the bottom pane to go down to >> the bottom. > Oh, you really stepped in it now, Richard. Did someone finally port > Outlook Express to Linux? I'm kidding, of course. To each their own, but > threads get crazy when top and bottom posting are mixed. It starts to > appear random after a while. We need an entirely new mail protocol that > fixes the top/bottom-posting issue AND spam. Because why not? > Ok, a bottom post. Haven?t used Windows on the desktop for nearly many many yrs, and never used outlook!!!! I guess if the list wants bottom post, I"ll bottom post, after all though I read the stuff every day I don't post much, but don't want to inconvenience people. regards Richard From eilert-sprachen at ...221... Wed Mar 11 08:36:13 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 11 Mar 2015 08:36:13 +0100 Subject: [Gambas-user] Top posting In-Reply-To: <54FFD896.3010706@...1823...> References: <54FCAA00.3010204@...626...> <20150309092259.4b6b16b04866d0deb10f246b@...626...> <54FD4CC1.8060803@...626...> <54FD99A4.5050209@...626...> <1425911403.3636.6.camel@...40...> <54FDD08D.2060607@...626...> <20150309185305.GE581@...2774...> <54FF8048.4040703@...1823...> <54FFB896.5000900@...1887...> <54FFD896.3010706@...1823...> Message-ID: <54FFF06D.2080806@...221...> Am 11.03.2015 06:54, schrieb richard terry: > On 11/03/15 14:37, Kevin Fishburne wrote: >> On 03/10/2015 07:37 PM, richard terry wrote: >>> Personally I like top-posting, some lists I"m on use it. I find it >>> easier to find out the last thing said rather than having to scroll down >>> to the bottom of a long post. If the mail headers are up in the top >>> pain, and the text in the bottom pain its easy to just scroll down the >>> mail without having to constantly jump to the bottom pane to go down to >>> the bottom. >> Oh, you really stepped in it now, Richard. Did someone finally port >> Outlook Express to Linux? I'm kidding, of course. To each their own, but >> threads get crazy when top and bottom posting are mixed. It starts to >> appear random after a while. We need an entirely new mail protocol that >> fixes the top/bottom-posting issue AND spam. Because why not? >> > Ok, a bottom post. > > Haven?t used Windows on the desktop for nearly many many yrs, and > never used outlook!!!! > > I guess if the list wants bottom post, I"ll bottom post, after all > though I read the stuff every day I don't post much, but don't want to > inconvenience people. > > regards > > Richard > > For someone who comes later and has to find the clue to the thread, it's easier to follow with bottom posts. In all the company environments I know, however, top posts are made simply because both parties usually are informed about the topic and just want to read what the other side has written. Keeping the old posts is for documentary reasons - and sometimes laziness - only. For my own part, I prefer top posts when it has to be quick, but as I have learned mailing lists back in the time of Fidonet, I would prefer cutting everything of the old post(s) except the really relevant parts and inserting my own texts between. If someone introduced a new mail text protocol, this might be done with tags similar to html. This would leave the text readable in text-only mail clients or for the case something gets garbled. Newer programs could handle the tags and make it up like the message clients on smartphones do. For instance, we could use a simple %DATETIME% tag for a number of lines, and a #DATETIME# closing tag. Or would be better? Maybe one could even have a quoting system like that of the popular forums, including the name of the author etc. The mail client would then figure out which block of text belongs where, and the user could choose for top or bottom quote or whatever is preferred. Should we start a project in Gambas? :) Rolf From bagoneo at ...69... Wed Mar 11 10:32:42 2015 From: bagoneo at ...69... (Gian) Date: Wed, 11 Mar 2015 10:32:42 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.7 (2) In-Reply-To: <54FF7B84.9080506@...1...> References: <54FF12A6.4090407@...1...> <2116445.WgyftGNHM6@...2592...> <54FF51A4.9030105@...1...> <54FF5F5D.9080907@...1...> <54FF7B84.9080506@...1...> Message-ID: <55000BBA.1070403@...69...> Il 11/03/2015 00:17, Beno?t Minisini ha scritto: > Le 11/03/2015 00:03, Jussi Lahtinen a ?crit : >>> Exactly. Only Emil can confirm, as I don't have enough knowledge about >>> that, but apparently there is no way to make an equivalent Gambas JIT >>> compiler with the new versions of LLVM! >>> >>> I have modified the configuration script of gb.jit so that it checks >>> that the llvm version is greater than 3.1, but strictly lower than 3.6. >>> >> >> I just realized that the blog post is quite old and LLVM 3.6 is just >> released. So, I hope the situation has improved since that! >> But maybe it would be gb.JIT2 that uses LLVM 3.6. >> >> >> Jussi > > Support of llvm >= 3.6 depends on Emil. At the moment, on Ubuntu, you > can install llvm 3.4, 3.5 and 3.6 at the same time so this is not a problem. > Just for your information: I got for the first time a Jit working on Ubuntu 14.04.02 LTS by installing the Trunk libraries as indicated in the documentation. About these libraries have installed llvm, llvm-dev e llvm-3.4-dev. With and without Fast: same computation about 3 seconds versus about 47 seconds, earlier with llvm-3.5-dev and same computation I had obtained segmentation fault error. This is the Ru-vuott test: Fast Public Sub Button1_Click() Dim I As Integer Dim start, finish As Float start = Timer For I = 1 To 10 Print Test(0.2) Next finish = Timer Print finish - start End Sub Test(X As Float) As Float Dim Mu As Float = 10.0 Dim Pu, Su As Float Dim I, J, N As Integer Dim aPoly As New Float[100] N = 500000 For I = 0 To N - 1 For J = 0 To 99 Mu = (Mu + 2.0) / 2.0 aPoly[J] = Mu Next Su = 0.0 For J = 0 To 99 Su = X * Su + aPoly[J] Next Pu += Su Next Return Pu End From ivan-kern at ...308... Wed Mar 11 12:25:16 2015 From: ivan-kern at ...308... (Ivan Kern) Date: Wed, 11 Mar 2015 12:25:16 +0100 Subject: [Gambas-user] Extern library libftd2xx Message-ID: <003f01d05bee$0ccbeee0$2663cca0$@freenet.de> Hi, does anyone have an example of external library libftd2xx? I can't get data from the USB device. Regards, Ivan From taboege at ...626... Wed Mar 11 12:51:55 2015 From: taboege at ...626... (Tobias Boege) Date: Wed, 11 Mar 2015 12:51:55 +0100 Subject: [Gambas-user] Extern library libftd2xx In-Reply-To: <003f01d05bee$0ccbeee0$2663cca0$@freenet.de> References: <003f01d05bee$0ccbeee0$2663cca0$@freenet.de> Message-ID: <20150311115155.GA560@...2774...> On Wed, 11 Mar 2015, Ivan Kern wrote: > Hi, > > does anyone have an example of external library > libftd2xx? I can't get data from the USB device. > There was recently a guy here [0] who used that library. Maybe you can ask him. Regards, Tobi [0] http://gambas-club.de/viewtopic.php?f=3&t=4810&p=10668&hilit=libftd2xx#p10668 -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From bagoneo at ...69... Wed Mar 11 13:53:46 2015 From: bagoneo at ...69... (Gian) Date: Wed, 11 Mar 2015 13:53:46 +0100 Subject: [Gambas-user] Random access files with fixed-length string In-Reply-To: <54FF5B63.7000602@...69...> References: <54FF5B63.7000602@...69...> Message-ID: <55003ADA.5090703@...69...> Il 10/03/2015 22:00, Gian ha scritto: > Hello everyone, > those coming from the Windows VB, frequently asks how to work with > random access files with fixed-length string. > I created this demo as an explanation and would like to know if you > think right, correct in part or completely wrong. > Thank you for attention > > Gianluigi > > Attention: This application contains a Spinner, you need version => 3.6 > Create a directory with the name of the application in user.home to save > file dat. > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > > > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Hi, re-reading what I wrote in my terrible English, it seems that you have to create a directory. Instead I wanted to let you know that the program creates a directory, is perhaps more rightly so: Attention: This application contains a Spinner, you need version => 3.6 and creates a directory with the name of the application in user.home to save file dat. Regards Gianluigi P.S. It cost me so much effort, do you think someone will answer me? From taboege at ...626... Wed Mar 11 14:12:10 2015 From: taboege at ...626... (Tobias Boege) Date: Wed, 11 Mar 2015 14:12:10 +0100 Subject: [Gambas-user] Random access files with fixed-length string In-Reply-To: <54FF5B63.7000602@...69...> References: <54FF5B63.7000602@...69...> Message-ID: <20150311131210.GB560@...2774...> On Tue, 10 Mar 2015, Gian wrote: > Hello everyone, > those coming from the Windows VB, frequently asks how to work with random > access files with fixed-length string. > I created this demo as an explanation and would like to know if you think > right, correct in part or completely wrong. > Thank you for attention > Looks good. But, as you mentioned in the project description, it would also be possible, and easier, to use Structs, as we did[0]. Also, if someone came to me and said: "in VB I used to store data in a non- human-readable binary format. I want to continue doing so", I would briefly mention that this is not *necessarily* a nice move and plain text files are much more welcome in general. Also, if you are GNU-affine, they say[1]: "[...] Unix programs often have static tables or fixed-size strings, which make for arbitrary limits; use dynamic allocation instead." If you create a new file format for your application, there are gb.settings and gb.xml to consider first which provide these things already. Regards, Tobi [0] http://gambaswiki.org/wiki/app/struct-db [1] https://www.gnu.org/prep/standards/html_node/Reading-Non_002dFree-Code.html#Reading-Non_002dFree-Code -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From herberthguzman at ...626... Wed Mar 11 15:36:12 2015 From: herberthguzman at ...626... (herberth guzman) Date: Wed, 11 Mar 2015 08:36:12 -0600 Subject: [Gambas-user] Problem with gb.report Message-ID: Hi Fabien I am using 3.6.99+svn6974 the first message you send is as follows unable to load image. cfamilyreport.drawcontrol.384 the current message says [12] Not an object. FamilyReport.DrawControl.391 Regards. Even on th? last version ? > Salut Fabien > > I have the following problem with gb.report > > If for example I copy a report1 to report2 an image and the path of picture > does not exist the report no longer opens. > > gives the following error. > > [12] Not an object. > CFamilyReport.DrawControl.391 > > > This happens if I have 2 different projects and I need the report is the > project2 and not in project1, but the image is not in the project. > > And I need all the structure of the report. > > > Regards > > Herberth Guzman > From gambas at ...1... Wed Mar 11 15:43:23 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 11 Mar 2015 15:43:23 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.7 (2) In-Reply-To: <55000BBA.1070403@...69...> References: <54FF12A6.4090407@...1...> <2116445.WgyftGNHM6@...2592...> <54FF51A4.9030105@...1...> <54FF5F5D.9080907@...1...> <54FF7B84.9080506@...1...> <55000BBA.1070403@...69...> Message-ID: <5500548B.4020002@...1...> Le 11/03/2015 10:32, Gian a ?crit : > Il 11/03/2015 00:17, Beno?t Minisini ha scritto: >> Le 11/03/2015 00:03, Jussi Lahtinen a ?crit : >>>> Exactly. Only Emil can confirm, as I don't have enough knowledge about >>>> that, but apparently there is no way to make an equivalent Gambas JIT >>>> compiler with the new versions of LLVM! >>>> >>>> I have modified the configuration script of gb.jit so that it checks >>>> that the llvm version is greater than 3.1, but strictly lower than 3.6. >>>> >>> >>> I just realized that the blog post is quite old and LLVM 3.6 is just >>> released. So, I hope the situation has improved since that! >>> But maybe it would be gb.JIT2 that uses LLVM 3.6. >>> >>> >>> Jussi >> >> Support of llvm >= 3.6 depends on Emil. At the moment, on Ubuntu, you >> can install llvm 3.4, 3.5 and 3.6 at the same time so this is not a problem. >> > > Just for your information: > I got for the first time a Jit working on Ubuntu 14.04.02 LTS by > installing the Trunk libraries as indicated in the documentation. About > these libraries have installed llvm, llvm-dev e llvm-3.4-dev. > With and without Fast: same computation about 3 seconds versus about 47 > seconds, earlier with llvm-3.5-dev and same computation I had obtained > segmentation fault error. > > This is the Ru-vuott test: > > Fast > > Public Sub Button1_Click() > > Dim I As Integer > Dim start, finish As Float > > start = Timer > > For I = 1 To 10 > Print Test(0.2) > Next > finish = Timer > Print finish - start > > End > > > Sub Test(X As Float) As Float > > Dim Mu As Float = 10.0 > Dim Pu, Su As Float > Dim I, J, N As Integer > Dim aPoly As New Float[100] > > N = 500000 > > For I = 0 To N - 1 > For J = 0 To 99 > Mu = (Mu + 2.0) / 2.0 > aPoly[J] = Mu > Next > Su = 0.0 > For J = 0 To 99 > Su = X * Su + aPoly[J] > Next > Pu += Su > Next > > Return Pu > > End > Please send your project. Regards, -- Beno?t Minisini From lists at ...2828... Wed Mar 11 16:07:22 2015 From: lists at ...2828... (CJ) Date: Wed, 11 Mar 2015 16:07:22 +0100 Subject: [Gambas-user] Extern library libftd2xx In-Reply-To: <003f01d05bee$0ccbeee0$2663cca0$@freenet.de> Message-ID: <278D529D5C5F4064BC7C30E49C7891F5@...2829...> Hi Ivan, > does anyone have an example of external library > libftd2xx? I can't get data from the USB device. If you find something please share with the list. I'm also interested in the topic. /CJ From bagoneo at ...69... Wed Mar 11 16:12:04 2015 From: bagoneo at ...69... (Gian) Date: Wed, 11 Mar 2015 16:12:04 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.7 (2) In-Reply-To: <5500548B.4020002@...1...> References: <54FF12A6.4090407@...1...> <2116445.WgyftGNHM6@...2592...> <54FF51A4.9030105@...1...> <54FF5F5D.9080907@...1...> <54FF7B84.9080506@...1...> <55000BBA.1070403@...69...> <5500548B.4020002@...1...> Message-ID: <55005B44.1090509@...69...> Il 11/03/2015 15:43, Beno?t Minisini ha scritto: > Le 11/03/2015 10:32, Gian a ?crit : >> Il 11/03/2015 00:17, Beno?t Minisini ha scritto: >>> Le 11/03/2015 00:03, Jussi Lahtinen a ?crit : >>>>> Exactly. Only Emil can confirm, as I don't have enough knowledge about >>>>> that, but apparently there is no way to make an equivalent Gambas JIT >>>>> compiler with the new versions of LLVM! >>>>> >>>>> I have modified the configuration script of gb.jit so that it checks >>>>> that the llvm version is greater than 3.1, but strictly lower than 3.6. >>>>> >>>> >>>> I just realized that the blog post is quite old and LLVM 3.6 is just >>>> released. So, I hope the situation has improved since that! >>>> But maybe it would be gb.JIT2 that uses LLVM 3.6. >>>> >>>> >>>> Jussi >>> >>> Support of llvm >= 3.6 depends on Emil. At the moment, on Ubuntu, you >>> can install llvm 3.4, 3.5 and 3.6 at the same time so this is not a problem. >>> >> >> Just for your information: >> I got for the first time a Jit working on Ubuntu 14.04.02 LTS by >> installing the Trunk libraries as indicated in the documentation. About >> these libraries have installed llvm, llvm-dev e llvm-3.4-dev. >> With and without Fast: same computation about 3 seconds versus about 47 >> seconds, earlier with llvm-3.5-dev and same computation I had obtained >> segmentation fault error. >> >> This is the Ru-vuott test: >> Hello Benoit, hope I explained myself, now with 3.7 Jit works well, was first with 3.6 and llvm-3.5-dev library that did not work. Greetings Gianluigi -------------- next part -------------- A non-text attachment was scrubbed... Name: Test-Jit-0.0.1.tar.gz Type: application/gzip Size: 4247 bytes Desc: not available URL: From gambas.fr at ...626... Wed Mar 11 16:56:40 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 11 Mar 2015 16:56:40 +0100 Subject: [Gambas-user] Top posting In-Reply-To: <54FFF06D.2080806@...221...> References: <54FCAA00.3010204@...626...> <20150309092259.4b6b16b04866d0deb10f246b@...626...> <54FD4CC1.8060803@...626...> <54FD99A4.5050209@...626...> <1425911403.3636.6.camel@...40...> <54FDD08D.2060607@...626...> <20150309185305.GE581@...2774...> <54FF8048.4040703@...1823...> <54FFB896.5000900@...1887...> <54FFD896.3010706@...1823...> <54FFF06D.2080806@...221...> Message-ID: Le 11 mars 2015 08:37, "Rolf-Werner Eilert" a ?crit : > > > > Am 11.03.2015 06:54, schrieb richard terry: > > On 11/03/15 14:37, Kevin Fishburne wrote: > >> On 03/10/2015 07:37 PM, richard terry wrote: > >>> Personally I like top-posting, some lists I"m on use it. I find it > >>> easier to find out the last thing said rather than having to scroll down > >>> to the bottom of a long post. If the mail headers are up in the top > >>> pain, and the text in the bottom pain its easy to just scroll down the > >>> mail without having to constantly jump to the bottom pane to go down to > >>> the bottom. > >> Oh, you really stepped in it now, Richard. Did someone finally port > >> Outlook Express to Linux? I'm kidding, of course. To each their own, but > >> threads get crazy when top and bottom posting are mixed. It starts to > >> appear random after a while. We need an entirely new mail protocol that > >> fixes the top/bottom-posting issue AND spam. Because why not? > >> > > Ok, a bottom post. > > > > Haven?t used Windows on the desktop for nearly many many yrs, and > > never used outlook!!!! > > > > I guess if the list wants bottom post, I"ll bottom post, after all > > though I read the stuff every day I don't post much, but don't want to > > inconvenience people. > > > > regards > > > > Richard > > > > > > For someone who comes later and has to find the clue to the thread, it's > easier to follow with bottom posts. In all the company environments I > know, however, top posts are made simply because both parties usually > are informed about the topic and just want to read what the other side > has written. Keeping the old posts is for documentary reasons - and > sometimes laziness - only. > > For my own part, I prefer top posts when it has to be quick, but as I > have learned mailing lists back in the time of Fidonet, I would prefer > cutting everything of the old post(s) except the really relevant parts > and inserting my own texts between. > > If someone introduced a new mail text protocol, this might be done with > tags similar to html. This would leave the text readable in text-only > mail clients or for the case something gets garbled. Newer programs > could handle the tags and make it up like the message clients on > smartphones do. > > For instance, we could use a simple %DATETIME% tag for a number of > lines, and a #DATETIME# closing tag. Or would be > better? Maybe one could even have a quoting system like that of the > popular forums, including the name of the author etc. The mail client > would then figure out which block of text belongs where, and the user > could choose for top or bottom quote or whatever is preferred. > > Should we start a project in Gambas? :) Why not ?... A library, a gui, a cgi > Rolf > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From bagoneo at ...69... Wed Mar 11 17:04:13 2015 From: bagoneo at ...69... (Gian) Date: Wed, 11 Mar 2015 17:04:13 +0100 Subject: [Gambas-user] Random access files with fixed-length string In-Reply-To: <20150311131210.GB560@...2774...> References: <54FF5B63.7000602@...69...> <20150311131210.GB560@...2774...> Message-ID: <5500677D.5000401@...69...> Il 11/03/2015 14:12, Tobias Boege ha scritto: > On Tue, 10 Mar 2015, Gian wrote: >> Hello everyone, >> those coming from the Windows VB, frequently asks how to work with random >> access files with fixed-length string. >> I created this demo as an explanation and would like to know if you think >> right, correct in part or completely wrong. >> Thank you for attention >> > Hello Tobias, I would like to clarify this: My example comes from a discussion of the Italian forum where some said that in Gambas there is no concept of random with fixed-length strings. I counseled the use of a database. :) > Looks good. But, as you mentioned in the project description, it would also > be possible, and easier, to use Structs, as we did[0]. > This I was already said, but I do not understand what it would be easier in my example using the structure. If the structure add a fixed array as you can have dynamism? How can you change the single data in the record, without changing the whole file? > Also, if someone came to me and said: "in VB I used to store data in a non- > human-readable binary format. I want to continue doing so", I would briefly > mention that this is not *necessarily* a nice move and plain text files are > much more welcome in general. Also, if you are GNU-affine, they say[1]: > > "[...] Unix programs often have static tables or fixed-size strings, which > make for arbitrary limits; use dynamic allocation instead." > > If you create a new file format for your application, there are gb.settings > and gb.xml to consider first which provide these things already. I agree but I think a database is better :) Thank you very much Gianluigi From taboege at ...626... Wed Mar 11 17:17:23 2015 From: taboege at ...626... (Tobias Boege) Date: Wed, 11 Mar 2015 17:17:23 +0100 Subject: [Gambas-user] Top posting In-Reply-To: References: <54FDD08D.2060607@...626...> <20150309185305.GE581@...2774...> <54FF8048.4040703@...1823...> <54FFB896.5000900@...1887...> <54FFD896.3010706@...1823...> <54FFF06D.2080806@...221...> Message-ID: <20150311161723.GC560@...2774...> On Wed, 11 Mar 2015, Fabien Bodard wrote: > Le 11 mars 2015 08:37, "Rolf-Werner Eilert" a > ??crit : > > If someone introduced a new mail text protocol, this might be done with > > tags similar to html. This would leave the text readable in text-only > > mail clients or for the case something gets garbled. Newer programs > > could handle the tags and make it up like the message clients on > > smartphones do. > > > > For instance, we could use a simple %DATETIME% tag for a number of > > lines, and a #DATETIME# closing tag. Or would be > > better? Maybe one could even have a quoting system like that of the > > popular forums, including the name of the author etc. The mail client > > would then figure out which block of text belongs where, and the user > > could choose for top or bottom quote or whatever is preferred. > > > > Should we start a project in Gambas? :) > > Why not ?... A library, a gui, a cgi Then we could also carry over Kevin's idea of *linking* message descriptors instead of quoting their bodies and constructing the displayed text locally which I kinda like. But you must be aware that the whole internet outside of Gambas will make fun of us if our mailing list will ultimately be run by a program written in Gambas when we already have a software repository written in Gambas :-) Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From johny.provoost at ...27... Wed Mar 11 17:58:39 2015 From: johny.provoost at ...27... (Johny Provoost) Date: Wed, 11 Mar 2015 17:58:39 +0100 Subject: [Gambas-user] gb.scanner Message-ID: <5500743F.4030701@...27...> Hello, Is there's some place where I can get some more help about gb.scanner. The help in Gambas doesn't show much. I'll tried Public Sub Button1_Click() Dim HPScan As Image Dim MyScan As Scanner Scanners.Search MyScan.Scan(HPScan) End scanners.search find my scanner (see in the terminal window: hpaio:/usb/Deskjet_2540_series?serial=CN38T2DM680604|Hewlett-Packard|Deskjet_2540_series|all-in-one) but myscan.scan(HPScan) gives 'Null Object' Do I somewhere config my scanner like you have to config your printer? Regards, Johny From jussi.lahtinen at ...626... Wed Mar 11 18:46:42 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 11 Mar 2015 19:46:42 +0200 Subject: [Gambas-user] Top posting In-Reply-To: <54FFB9D0.3060402@...1887...> References: <54FCAA00.3010204@...626...> <20150309092259.4b6b16b04866d0deb10f246b@...626...> <54FD4CC1.8060803@...626...> <54FD99A4.5050209@...626...> <1425911403.3636.6.camel@...40...> <54FDD08D.2060607@...626...> <20150309185305.GE581@...2774...> <1425936845.3806.1.camel@...40...> <54FE6C49.6040804@...1887...> <54FFB9D0.3060402@...1887...> Message-ID: > Even if Gmail is an ideal solution, I'd like a more > "universal" solution that isn't tied to one company's whims and IP. It > does sound like Google has a handle on how things should be done; > perhaps they could lead the charge to revolutionize email. > I agree. But at least google offers their services for free. Jussi From gambas.fr at ...626... Wed Mar 11 19:10:50 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 11 Mar 2015 19:10:50 +0100 Subject: [Gambas-user] gb.scanner In-Reply-To: <5500743F.4030701@...27...> References: <5500743F.4030701@...27...> Message-ID: Le 11 mars 2015 17:59, "Johny Provoost" a ?crit : > > Hello, > > Is there's some place where I can get some more help about gb.scanner. > The help in Gambas doesn't show much. > > I'll tried > > Public Sub Button1_Click() > Dim HPScan As Image > Dim MyScan As Scanner > Scanners.Search > MyScan.Scan(HPScan) > End > > scanners.search find my scanner (see in the terminal window: > hpaio:/usb/Deskjet_2540_series?serial=CN38T2DM680604|Hewlett-Packard|Deskjet_2540_series|all-in-one) > but myscan.scan(HPScan) gives 'Null Object' > > Do I somewhere config my scanner like you have to config your printer? > > Regards, > Johny > Well I've not documented the component yet But you must do : Himg =Scanners[" hpaio:/usb/Deskjet_2540_series?serial=CN38T2DM680604"].scan() Or Hmyscan as scanner Hmyscan =scanners["hpaio:/usb/Deskjet_2540_series?serial=CN38T2DM680604"] Himg=Hnyscan.scan() I will send an example on the farm quikly ----------------------------------------------- > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From johny.provoost at ...27... Wed Mar 11 19:24:29 2015 From: johny.provoost at ...27... (Johny Provoost) Date: Wed, 11 Mar 2015 19:24:29 +0100 Subject: [Gambas-user] gb.scanner In-Reply-To: References: <5500743F.4030701@...27...> Message-ID: <5500885D.9000304@...27...> Op 11-03-15 om 19:10 schreef Fabien Bodard: > Le 11 mars 2015 17:59, "Johny Provoost" a ??crit : >> Hello, >> >> Is there's some place where I can get some more help about gb.scanner. >> The help in Gambas doesn't show much. >> >> I'll tried >> >> Public Sub Button1_Click() >> Dim HPScan As Image >> Dim MyScan As Scanner >> Scanners.Search >> MyScan.Scan(HPScan) >> End >> >> scanners.search find my scanner (see in the terminal window: >> > hpaio:/usb/Deskjet_2540_series?serial=CN38T2DM680604|Hewlett-Packard|Deskjet_2540_series|all-in-one) >> but myscan.scan(HPScan) gives 'Null Object' >> >> Do I somewhere config my scanner like you have to config your printer? >> >> Regards, >> Johny >> > Well I've not documented the component yet > > But you must do : > > Himg =Scanners[" > hpaio:/usb/Deskjet_2540_series?serial=CN38T2DM680604"].scan() > > Or > > Hmyscan as scanner > Hmyscan =scanners["hpaio:/usb/Deskjet_2540_series?serial=CN38T2DM680604"] > > Himg=Hnyscan.scan() > > I will send an example on the farm quikly > > ----------------------------------------------- > Thank you Fabian. Can start now. Looking forward to your example. Johny From ron at ...1740... Wed Mar 11 21:02:37 2015 From: ron at ...1740... (Ron) Date: Wed, 11 Mar 2015 21:02:37 +0100 Subject: [Gambas-user] gb.scanner In-Reply-To: <5500885D.9000304@...27...> References: <5500743F.4030701@...27...> <5500885D.9000304@...27...> Message-ID: Here a cleanup of an already existing Gambas Scanner app using scanimage cli command I use regularly. https://github.com/cyberjunky/gbscan/ It does all the option parsing from cli output... Maybe we can make it better using gb.scanner component and vice versa.. Thinks I want to add are digital stamps like "Confidential" and signatures... Regards, Ron. 2015-03-11 19:24 GMT+01:00 Johny Provoost : > > > Op 11-03-15 om 19:10 schreef Fabien Bodard: >> Le 11 mars 2015 17:59, "Johny Provoost" a ??crit : >>> Hello, >>> >>> Is there's some place where I can get some more help about gb.scanner. >>> The help in Gambas doesn't show much. >>> >>> I'll tried >>> >>> Public Sub Button1_Click() >>> Dim HPScan As Image >>> Dim MyScan As Scanner >>> Scanners.Search >>> MyScan.Scan(HPScan) >>> End >>> >>> scanners.search find my scanner (see in the terminal window: >>> >> hpaio:/usb/Deskjet_2540_series?serial=CN38T2DM680604|Hewlett-Packard|Deskjet_2540_series|all-in-one) >>> but myscan.scan(HPScan) gives 'Null Object' >>> >>> Do I somewhere config my scanner like you have to config your printer? >>> >>> Regards, >>> Johny >>> >> Well I've not documented the component yet >> >> But you must do : >> >> Himg =Scanners[" >> hpaio:/usb/Deskjet_2540_series?serial=CN38T2DM680604"].scan() >> >> Or >> >> Hmyscan as scanner >> Hmyscan =scanners["hpaio:/usb/Deskjet_2540_series?serial=CN38T2DM680604"] >> >> Himg=Hnyscan.scan() >> >> I will send an example on the farm quikly >> >> ----------------------------------------------- >> > > Thank you Fabian. > Can start now. Looking forward to your example. > > Johny > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Wed Mar 11 23:39:31 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 11 Mar 2015 23:39:31 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.7 (3) In-Reply-To: <54FFBB5B.9000103@...1887...> References: <54FF12A6.4090407@...1...> <2116445.WgyftGNHM6@...2592...> <54FF51A4.9030105@...1...> <54FF5F5D.9080907@...1...> <54FF7B84.9080506@...1...> <54FFBB5B.9000103@...1887...> Message-ID: <5500C423.5020306@...1...> Le 11/03/2015 04:49, Kevin Fishburne a ?crit : > This isn't a bug, but a minor (if annoying) usability issue. If you have > a lot of procedures and click the procedure drop-down (or listbox or > whatever) the procedure the cursor is in used to be highlighted in the > list, but this is no longer the case. I name my procedures so that they > are grouped by similarity when in alphabetical order, so the lack of > highlighting forces me to scan through more of the list to locate the > one I want to select. I can't used the highlighted procedure as a point > of reference when scanning for another one, basically. > Done in revision #6978. Regards, -- Beno?t Minisini From kevinfishburne at ...1887... Thu Mar 12 04:49:09 2015 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Wed, 11 Mar 2015 23:49:09 -0400 Subject: [Gambas-user] Pre-release of Gambas 3.7 (3) In-Reply-To: <5500C423.5020306@...1...> References: <54FF12A6.4090407@...1...> <2116445.WgyftGNHM6@...2592...> <54FF51A4.9030105@...1...> <54FF5F5D.9080907@...1...> <54FF7B84.9080506@...1...> <54FFBB5B.9000103@...1887...> <5500C423.5020306@...1...> Message-ID: <55010CB5.8070702@...1887...> On 03/11/2015 06:39 PM, Beno?t Minisini wrote: > Le 11/03/2015 04:49, Kevin Fishburne a ?crit : >> This isn't a bug, but a minor (if annoying) usability issue. If you have >> a lot of procedures and click the procedure drop-down (or listbox or >> whatever) the procedure the cursor is in used to be highlighted in the >> list, but this is no longer the case. I name my procedures so that they >> are grouped by similarity when in alphabetical order, so the lack of >> highlighting forces me to scan through more of the list to locate the >> one I want to select. I can't used the highlighted procedure as a point >> of reference when scanning for another one, basically. >> > Done in revision #6978. > > Regards, > You're like Superman on speed-dial, Beno?t. Sometimes I think you just threaten the code and it fixes itself out of fear. We should start one of those "Chuck Norris facts" threads for you. When Beno?t Minisini works out he doesn't get stronger, the machine does. Beno?t Minisini does not sleep; he waits. Beno?t Minisini was bitten by a cobra and after five days of excruciating pain...the cobra died. Beno?t Minisini doesn't dial the wrong number. You answered the wrong phone. If Beno?t Minisini was a Spartan in the movie 300, the movie would be called 1. When Alexander Bell invented the telephone he had 3 missed calls from Beno?t Minisini. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From shordi at ...626... Thu Mar 12 07:06:50 2015 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Thu, 12 Mar 2015 07:06:50 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.7 (3) In-Reply-To: <55010CB5.8070702@...1887...> References: <54FF12A6.4090407@...1...> <2116445.WgyftGNHM6@...2592...> <54FF51A4.9030105@...1...> <54FF5F5D.9080907@...1...> <54FF7B84.9080506@...1...> <54FFBB5B.9000103@...1887...> <5500C423.5020306@...1...> <55010CB5.8070702@...1887...> Message-ID: Kevin, Don't say things like that out loud. Chuck can be jealous... 2015-03-12 4:49 GMT+01:00 Kevin Fishburne : > On 03/11/2015 06:39 PM, Beno?t Minisini wrote: > > Le 11/03/2015 04:49, Kevin Fishburne a ?crit : > >> This isn't a bug, but a minor (if annoying) usability issue. If you have > >> a lot of procedures and click the procedure drop-down (or listbox or > >> whatever) the procedure the cursor is in used to be highlighted in the > >> list, but this is no longer the case. I name my procedures so that they > >> are grouped by similarity when in alphabetical order, so the lack of > >> highlighting forces me to scan through more of the list to locate the > >> one I want to select. I can't used the highlighted procedure as a point > >> of reference when scanning for another one, basically. > >> > > Done in revision #6978. > > > > Regards, > > > > You're like Superman on speed-dial, Beno?t. Sometimes I think you just > threaten the code and it fixes itself out of fear. We should start one > of those "Chuck Norris facts" threads for you. > > When Beno?t Minisini works out he doesn't get stronger, the machine does. > > Beno?t Minisini does not sleep; he waits. > > Beno?t Minisini was bitten by a cobra and after five days of > excruciating pain...the cobra died. > > Beno?t Minisini doesn't dial the wrong number. You answered the wrong > phone. > > If Beno?t Minisini was a Spartan in the movie 300, the movie would be > called 1. > > When Alexander Bell invented the telephone he had 3 missed calls from > Beno?t Minisini. > > -- > Kevin Fishburne > Eight Virtues > www: http://sales.eightvirtues.com > e-mail: sales at ...1887... > phone: (770) 853-6271 > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From johny.provoost at ...27... Thu Mar 12 10:53:15 2015 From: johny.provoost at ...27... (Johny Provoost) Date: Thu, 12 Mar 2015 10:53:15 +0100 Subject: [Gambas-user] gb.scanner In-Reply-To: References: <5500743F.4030701@...27...> <5500885D.9000304@...27...> Message-ID: <5501620B.6070707@...27...> Thank you Ron. Will look in to it. Regards Johny Op 11-03-15 om 21:02 schreef Ron: > Here a cleanup of an already existing Gambas Scanner app using > scanimage cli command I use regularly. > https://github.com/cyberjunky/gbscan/ > > It does all the option parsing from cli output... > > Maybe we can make it better using gb.scanner component and vice versa.. > Thinks I want to add are digital stamps like "Confidential" and signatures... > > Regards, > Ron. > > 2015-03-11 19:24 GMT+01:00 Johny Provoost : >> >> Op 11-03-15 om 19:10 schreef Fabien Bodard: >>> Le 11 mars 2015 17:59, "Johny Provoost" a ????crit : >>>> Hello, >>>> >>>> Is there's some place where I can get some more help about gb.scanner. >>>> The help in Gambas doesn't show much. >>>> >>>> I'll tried >>>> >>>> Public Sub Button1_Click() >>>> Dim HPScan As Image >>>> Dim MyScan As Scanner >>>> Scanners.Search >>>> MyScan.Scan(HPScan) >>>> End >>>> >>>> scanners.search find my scanner (see in the terminal window: >>>> >>> hpaio:/usb/Deskjet_2540_series?serial=CN38T2DM680604|Hewlett-Packard|Deskjet_2540_series|all-in-one) >>>> but myscan.scan(HPScan) gives 'Null Object' >>>> >>>> Do I somewhere config my scanner like you have to config your printer? >>>> >>>> Regards, >>>> Johny >>>> >>> Well I've not documented the component yet >>> >>> But you must do : >>> >>> Himg =Scanners[" >>> hpaio:/usb/Deskjet_2540_series?serial=CN38T2DM680604"].scan() >>> >>> Or >>> >>> Hmyscan as scanner >>> Hmyscan =scanners["hpaio:/usb/Deskjet_2540_series?serial=CN38T2DM680604"] >>> >>> Himg=Hnyscan.scan() >>> >>> I will send an example on the farm quikly >>> >>> ----------------------------------------------- >>> >> Thank you Fabian. >> Can start now. Looking forward to your example. >> >> Johny >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub for all >> things parallel software development, from weekly thought leadership blogs to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- *Vriendelijke Groeten* *Johny Provoost* *mailto: johny.provoost at ...27... * *mailto: johny.provoost at ...626... * *Website:* *http://www.johnyprovoost.net* From john.aaron.rose at ...626... Thu Mar 12 11:07:14 2015 From: john.aaron.rose at ...626... (John Rose) Date: Thu, 12 Mar 2015 10:07:14 +0000 Subject: [Gambas-user] Problem with Exist & Open functions with filename containing spaces Message-ID: <55016552.3080908@...626...> I have coding of: sPlainPath = User.Home &/ "plain out" Print "PlainPath=" & sPlainPath If Exist(sPlainPath) Then Print sPlainPath & " exists" Else Print sPlainPath & " does not exist" Endif hPlain = Open sPlainPath For Input While Not Eof(hPlain) Line Input #hPlain, sLine PlainTextArea.Text &= sLine & "\n" Wend Close #hPlain The file 'plain out' is in my home directory. At runtime, I get popup of 'File or Directory does not exist'. This occurs even if I remove the 'If Exist(sPlainPath)...Endif' lines, which I only put in as the same error dialog popup also appeared in that situation. I've tried using single quotes to begin & end the sPlainPath value. I'm not able to amend the filename to exclude its inner space character as it's created by a command line program over which I have no control. Only solution that I can think of is to use Shell commands (where I presume that single quotes can encircle the filename) to copy/move the file to a file with filename not containing space characters and then open the copied file instead. BTW the 'plain out' file is a text file which gEdit opens OK. -- John From bagoneo at ...69... Thu Mar 12 11:10:12 2015 From: bagoneo at ...69... (Gian) Date: Thu, 12 Mar 2015 11:10:12 +0100 Subject: [Gambas-user] Random access files with fixed-length string In-Reply-To: <20150311131210.GB560@...2774...> References: <54FF5B63.7000602@...69...> <20150311131210.GB560@...2774...> Message-ID: <55016604.1050802@...69...> Il 11/03/2015 14:12, Tobias Boege ha scritto: > Looks good. But, as you mentioned in the project description, it would also > be possible, and easier, to use Structs, as we did[0]. > [0] http://gambaswiki.org/wiki/app/struct-db Great Tobias, perhaps beginning to see the light. :) I continue to study ... then I tell you. Regards Gianluigi From taboege at ...626... Thu Mar 12 11:33:56 2015 From: taboege at ...626... (Tobias Boege) Date: Thu, 12 Mar 2015 11:33:56 +0100 Subject: [Gambas-user] Problem with Exist & Open functions with filename containing spaces In-Reply-To: <55016552.3080908@...626...> References: <55016552.3080908@...626...> Message-ID: <20150312103356.GB554@...2774...> On Thu, 12 Mar 2015, John Rose wrote: > I have coding of: > sPlainPath = User.Home &/ "plain out" > Print "PlainPath=" & sPlainPath > If Exist(sPlainPath) Then > Print sPlainPath & " exists" > Else > Print sPlainPath & " does not exist" > Endif > hPlain = Open sPlainPath For Input > While Not Eof(hPlain) > Line Input #hPlain, sLine > PlainTextArea.Text &= sLine & "\n" > Wend > Close #hPlain > > The file 'plain out' is in my home directory. At runtime, I get popup of > 'File or Directory does not exist'. This occurs even if I remove the 'If > Exist(sPlainPath)...Endif' lines, which I only put in as the same error > dialog popup also appeared in that situation. I've tried using single > quotes to begin & end the sPlainPath value. I'm not able to amend the > filename to exclude its inner space character as it's created by a > command line program over which I have no control. Only solution that I > can think of is to use Shell commands (where I presume that single > quotes can encircle the filename) to copy/move the file to a file with > filename not containing space characters and then open the copied file > instead. BTW the 'plain out' file is a text file which gEdit opens OK. > Gambas is able to deal with filenames containing spaces as the attached script shows: $ ./path-w-spaces.gbs3 MMain.Main.11: Path = /tmp/gambas.1000/7423/with spaces.tmp MMain.Main.12: Exist = True MMain.Main.13: Content = MMain.Main.16: some string If a *popup* pops up, this means that there is an uncaught runtime error either in the IDE or your project. So: where is it (i.e. does the IDE crash from the error or not?) and if it's in your project, at which line does it occur? Does the attached script work at your side? How is it when you create a new project and try your code above? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Thu Mar 12 11:37:28 2015 From: taboege at ...626... (Tobias Boege) Date: Thu, 12 Mar 2015 11:37:28 +0100 Subject: [Gambas-user] Problem with Exist & Open functions with filename containing spaces In-Reply-To: <20150312103356.GB554@...2774...> References: <55016552.3080908@...626...> <20150312103356.GB554@...2774...> Message-ID: <20150312103728.GC554@...2774...> On Thu, 12 Mar 2015, Tobias Boege wrote: > [...] attached script [...] > This time! -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- #!/usr/bin/gbs3 Public Sub Main() Dim sPath As String = Temp$("with spaces") Dim hFile As Stream Dim sLine As String File.Save(sPath, "some string") Debug "Path =";; sPath Debug "Exist =";; Exist(sPath) Debug "Content =" hFile = Open sPath For Input For Each sLine In hFile.Lines Debug " "; sLine Next Close #hFile End From john.aaron.rose at ...626... Thu Mar 12 12:22:57 2015 From: john.aaron.rose at ...626... (John Rose) Date: Thu, 12 Mar 2015 11:22:57 +0000 Subject: [Gambas-user] Problem with Exist & Open functions with filename containing spaces In-Reply-To: <20150312103728.GC554@...2774...> References: <55016552.3080908@...626...> <20150312103356.GB554@...2774...> <20150312103728.GC554@...2774...> Message-ID: <55017711.1090803@...626...> On 12/03/15 10:37, Tobias Boege wrote: > Public Sub Main() > Dim sPath As String = Temp$("with spaces") > Dim hFile As Stream > Dim sLine As String > > File.Save(sPath, "some string") > > Debug "Path =";; sPath > Debug "Exist =";; Exist(sPath) > Debug "Content =" > hFile = Open sPath For Input > For Each sLine In hFile.Lines > Debug " "; sLine > Next > Close #hFile > End I've tried that program and it didn't display anything in the Console window. I was not able to compile the attached Test app with Debug as when I tried to add the gb.debug component (by clicking its checkbox which did put an x in it) using Project Properties, it did not enable the OK button. When I closed the Project Properties window & reopened it, the checkbox was not marked with an x. So I put in Print statements and it did not even show their results on the Console window when I ran the Test app. BTW I think that the 'File or Directory does not exist' window appears because I have a 'Catch' followed by 'Message.Warning(ERROR.Text)' in the coding of the relevant Sub. Is it possible to show the line number when the Catch 'catches'? I've also tried putting Breakpoints in my app but that didn't help. -------------- next part -------------- A non-text attachment was scrubbed... Name: Test.tar.gz Type: application/gzip Size: 9093 bytes Desc: not available URL: From taboege at ...626... Thu Mar 12 12:38:40 2015 From: taboege at ...626... (Tobias Boege) Date: Thu, 12 Mar 2015 12:38:40 +0100 Subject: [Gambas-user] Problem with Exist & Open functions with filename containing spaces In-Reply-To: <55017711.1090803@...626...> References: <55016552.3080908@...626...> <20150312103356.GB554@...2774...> <20150312103728.GC554@...2774...> <55017711.1090803@...626...> Message-ID: <20150312113840.GD554@...2774...> On Thu, 12 Mar 2015, John Rose wrote: > On 12/03/15 10:37, Tobias Boege wrote: > > Public Sub Main() > > Dim sPath As String = Temp$("with spaces") > > Dim hFile As Stream > > Dim sLine As String > > > > File.Save(sPath, "some string") > > > > Debug "Path =";; sPath > > Debug "Exist =";; Exist(sPath) > > Debug "Content =" > > hFile = Open sPath For Input > > For Each sLine In hFile.Lines > > Debug " "; sLine > > Next > > Close #hFile > > End > I've tried that program and it didn't display anything in the Console > window. I was not able to compile the attached Test app with Debug as > when I tried to add the gb.debug component (by clicking its checkbox > which did put an x in it) using Project Properties, it did not enable > the OK button. When I closed the Project Properties window & reopened > it, the checkbox was not marked with an x. So I put in Print statements > and it did not even show their results on the Console window when I ran > the Test app. > The attached file was a Gambas script. You could (and should) have run it as-is. Your project is a GUI one where you blindly put the code in a Form's class file. But my code had a Main() procedure which is already implemented in the Form class. You have incorrectly overridden that implementation by inserting my Main() procedure (which was made for a script or console application). > BTW I think that the 'File or Directory does not exist' > window appears because I have a 'Catch' followed by > 'Message.Warning(ERROR.Text)' in the coding of the relevant Sub. Is it > possible to show the line number when the Catch 'catches'? I've also > tried putting Breakpoints in my app but that didn't help. To clarify: what shows the error? A message box or a popup? Because you said it was a popup (which I picture as a Balloon or tooltip-like window) and now you conjecture your Message.Warning() call may be it. But if it was a popup, as I picture it, it cannot be caused by a Message.Warning(). You get the error line with Error.Where. You could also leave the Catch out and let the IDE display the error by itself. The IDE is good enough at that. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From john.aaron.rose at ...626... Thu Mar 12 13:11:08 2015 From: john.aaron.rose at ...626... (John Rose) Date: Thu, 12 Mar 2015 12:11:08 +0000 Subject: [Gambas-user] Problem with Exist & Open functions with filename containing spaces In-Reply-To: <20150312113840.GD554@...2774...> References: <55016552.3080908@...626...> <20150312103356.GB554@...2774...> <20150312103728.GC554@...2774...> <55017711.1090803@...626...> <20150312113840.GD554@...2774...> Message-ID: <5501825C.3080905@...626...> On 12/03/15 11:38, Tobias Boege wrote: > On Thu, 12 Mar 2015, John Rose wrote: >> On 12/03/15 10:37, Tobias Boege wrote: >>> Public Sub Main() >>> Dim sPath As String = Temp$("with spaces") >>> Dim hFile As Stream >>> Dim sLine As String >>> >>> File.Save(sPath, "some string") >>> >>> Debug "Path =";; sPath >>> Debug "Exist =";; Exist(sPath) >>> Debug "Content =" >>> hFile = Open sPath For Input >>> For Each sLine In hFile.Lines >>> Debug " "; sLine >>> Next >>> Close #hFile >>> End >> I've tried that program and it didn't display anything in the Console >> window. I was not able to compile the attached Test app with Debug as >> when I tried to add the gb.debug component (by clicking its checkbox >> which did put an x in it) using Project Properties, it did not enable >> the OK button. When I closed the Project Properties window & reopened >> it, the checkbox was not marked with an x. So I put in Print statements >> and it did not even show their results on the Console window when I ran >> the Test app. >> > The attached file was a Gambas script. You could (and should) have run it > as-is. Your project is a GUI one where you blindly put the code in a Form's > class file. But my code had a Main() procedure which is already implemented > in the Form class. You have incorrectly overridden that implementation by > inserting my Main() procedure (which was made for a script or console > application). > >> BTW I think that the 'File or Directory does not exist' >> window appears because I have a 'Catch' followed by >> 'Message.Warning(ERROR.Text)' in the coding of the relevant Sub. Is it >> possible to show the line number when the Catch 'catches'? I've also >> tried putting Breakpoints in my app but that didn't help. > To clarify: what shows the error? A message box or a popup? Because you said > it was a popup (which I picture as a Balloon or tooltip-like window) and now > you conjecture your Message.Warning() call may be it. But if it was a popup, > as I picture it, it cannot be caused by a Message.Warning(). > > You get the error line with Error.Where. You could also leave the Catch out > and let the IDE display the error by itself. The IDE is good enough at that. > > Regards, > Tobi > A better name for what I called a popup is a dialog window with just an Ok button. It is caused by the Message command, because when I comment out the Catch & Message lines in my app it does not appear. However, the IDE (by itself) does not display any error then. Using my previously quoted code, the 'plain out' file does not exist (though it is present in my home directory). Using the code below in the attached Test app when using the IDE, when I click the Run button, a popup appears stating 'File or Directory does not exist at line 34' which is 'hFile = Open sPath For Input'. Public Sub RunButton_Click() Dim sPath As String = User.Home &/ "plain out" Dim hFile As Stream Dim sLine As String Print "sPath='" & sPath & "'" Print "*******" Debug "Path =";; sPath Debug "Exist =";; Exist(sPath) Debug "Content =" hFile = Open sPath For Input For Each sLine In hFile.Lines Print sLine Debug " "; sLine Next Close #hFile End Therefore, I think that there is either a problem with using Debug->Run or commands such as 'Opening a filename containing spaces' when using the IDE. BTW I'm using Gambas 3.6.2 'supplied' by the Gambas Stable Launchpad Ubuntu ppa. -------------- next part -------------- A non-text attachment was scrubbed... Name: Test.tar.gz Type: application/gzip Size: 9097 bytes Desc: not available URL: From gambas at ...1... Thu Mar 12 13:19:03 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 12 Mar 2015 13:19:03 +0100 Subject: [Gambas-user] Problem with Exist & Open functions with filename containing spaces In-Reply-To: <5501825C.3080905@...626...> References: <55016552.3080908@...626...> <20150312103356.GB554@...2774...> <20150312103728.GC554@...2774...> <55017711.1090803@...626...> <20150312113840.GD554@...2774...> <5501825C.3080905@...626...> Message-ID: <55018437.40802@...1...> Le 12/03/2015 13:11, John Rose a ?crit : > On 12/03/15 11:38, Tobias Boege wrote: >> On Thu, 12 Mar 2015, John Rose wrote: >>> On 12/03/15 10:37, Tobias Boege wrote: >>>> Public Sub Main() >>>> Dim sPath As String = Temp$("with spaces") >>>> Dim hFile As Stream >>>> Dim sLine As String >>>> >>>> File.Save(sPath, "some string") >>>> >>>> Debug "Path =";; sPath >>>> Debug "Exist =";; Exist(sPath) >>>> Debug "Content =" >>>> hFile = Open sPath For Input >>>> For Each sLine In hFile.Lines >>>> Debug " "; sLine >>>> Next >>>> Close #hFile >>>> End >>> I've tried that program and it didn't display anything in the Console >>> window. I was not able to compile the attached Test app with Debug as >>> when I tried to add the gb.debug component (by clicking its checkbox >>> which did put an x in it) using Project Properties, it did not enable >>> the OK button. When I closed the Project Properties window & reopened >>> it, the checkbox was not marked with an x. So I put in Print statements >>> and it did not even show their results on the Console window when I ran >>> the Test app. >>> >> The attached file was a Gambas script. You could (and should) have run it >> as-is. Your project is a GUI one where you blindly put the code in a Form's >> class file. But my code had a Main() procedure which is already implemented >> in the Form class. You have incorrectly overridden that implementation by >> inserting my Main() procedure (which was made for a script or console >> application). >> >>> BTW I think that the 'File or Directory does not exist' >>> window appears because I have a 'Catch' followed by >>> 'Message.Warning(ERROR.Text)' in the coding of the relevant Sub. Is it >>> possible to show the line number when the Catch 'catches'? I've also >>> tried putting Breakpoints in my app but that didn't help. >> To clarify: what shows the error? A message box or a popup? Because you said >> it was a popup (which I picture as a Balloon or tooltip-like window) and now >> you conjecture your Message.Warning() call may be it. But if it was a popup, >> as I picture it, it cannot be caused by a Message.Warning(). >> >> You get the error line with Error.Where. You could also leave the Catch out >> and let the IDE display the error by itself. The IDE is good enough at that. >> >> Regards, >> Tobi >> > A better name for what I called a popup is a dialog window with just an > Ok button. It is caused by the Message command, because when I comment > out the Catch & Message lines in my app it does not appear. However, > the IDE (by itself) does not display any error then. Using my previously > quoted code, the 'plain out' file does not exist (though it is present > in my home directory). > > Using the code below in the attached Test app when using the IDE, when I > click the Run button, a popup appears stating 'File or Directory does > not exist at line 34' which is 'hFile = Open sPath For Input'. > Public Sub RunButton_Click() > Dim sPath As String = User.Home &/ "plain out" > Dim hFile As Stream > Dim sLine As String > Print "sPath='" & sPath & "'" > Print "*******" > Debug "Path =";; sPath > Debug "Exist =";; Exist(sPath) > Debug "Content =" > hFile = Open sPath For Input > For Each sLine In hFile.Lines > Print sLine > Debug " "; sLine > Next > Close #hFile > End > > > Therefore, I think that there is either a problem with using Debug->Run > or commands such as 'Opening a filename containing spaces' when using > the IDE. BTW I'm using Gambas 3.6.2 'supplied' by the Gambas Stable > Launchpad Ubuntu ppa. > There is no problem with file names with spaces inside, or any other character except '\x00'. I would guess that the file on your disk is not really named "plain[space]out" Regards, -- Beno?t Minisini From gambas.fr at ...626... Thu Mar 12 14:22:35 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 12 Mar 2015 14:22:35 +0100 Subject: [Gambas-user] gb.scanner In-Reply-To: References: <5500743F.4030701@...27...> <5500885D.9000304@...27...> Message-ID: Hi ron Pretty piece of code :-) gb.scanner is based on scanimage too. It just give an object oriented simplified interface. Thank you for sharing your code, and you are welcome to help me to inprove gb.scanner if you have some time to share :-). It miss multipages, preview and surely many other features. For stamps, i suggest you to use gb.report2 with a translucy floating label. 2015-03-11 21:02 GMT+01:00 Ron : > Here a cleanup of an already existing Gambas Scanner app using > scanimage cli command I use regularly. > https://github.com/cyberjunky/gbscan/ > > It does all the option parsing from cli output... > > Maybe we can make it better using gb.scanner component and vice versa.. > Thinks I want to add are digital stamps like "Confidential" and signatures... > > Regards, > Ron. > > 2015-03-11 19:24 GMT+01:00 Johny Provoost : >> >> >> Op 11-03-15 om 19:10 schreef Fabien Bodard: >>> Le 11 mars 2015 17:59, "Johny Provoost" a ??crit : >>>> Hello, >>>> >>>> Is there's some place where I can get some more help about gb.scanner. >>>> The help in Gambas doesn't show much. >>>> >>>> I'll tried >>>> >>>> Public Sub Button1_Click() >>>> Dim HPScan As Image >>>> Dim MyScan As Scanner >>>> Scanners.Search >>>> MyScan.Scan(HPScan) >>>> End >>>> >>>> scanners.search find my scanner (see in the terminal window: >>>> >>> hpaio:/usb/Deskjet_2540_series?serial=CN38T2DM680604|Hewlett-Packard|Deskjet_2540_series|all-in-one) >>>> but myscan.scan(HPScan) gives 'Null Object' >>>> >>>> Do I somewhere config my scanner like you have to config your printer? >>>> >>>> Regards, >>>> Johny >>>> >>> Well I've not documented the component yet >>> >>> But you must do : >>> >>> Himg =Scanners[" >>> hpaio:/usb/Deskjet_2540_series?serial=CN38T2DM680604"].scan() >>> >>> Or >>> >>> Hmyscan as scanner >>> Hmyscan =scanners["hpaio:/usb/Deskjet_2540_series?serial=CN38T2DM680604"] >>> >>> Himg=Hnyscan.scan() >>> >>> I will send an example on the farm quikly >>> >>> ----------------------------------------------- >>> >> >> Thank you Fabian. >> Can start now. Looking forward to your example. >> >> Johny >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub for all >> things parallel software development, from weekly thought leadership blogs to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From Karl.Reinl at ...2345... Thu Mar 12 17:58:26 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Thu, 12 Mar 2015 17:58:26 +0100 Subject: [Gambas-user] ToolButton.Visible can't be set Message-ID: <1426179506.3596.3.camel@...40...> Salut Beno?t, ToolButton.Visible can't be set to false by code. see attached project. -------------- next part -------------- A non-text attachment was scrubbed... Name: LETS_see-0.0.1.tar.gz Type: application/x-compressed-tar Size: 5040 bytes Desc: not available URL: From Karl.Reinl at ...2345... Thu Mar 12 18:44:09 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Thu, 12 Mar 2015 18:44:09 +0100 Subject: [Gambas-user] ToolButton.Visible can't be set Message-ID: <1426182249.3596.9.camel@...40...> Salut Beno?t, I have a library where I use the ToolBar and ToolButtons, now the project which uses this library claims "the class ToolBar could not be loaded" if I call the form with the toolbar. Q: is that behave normal? From gambas at ...1... Thu Mar 12 18:53:47 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 12 Mar 2015 18:53:47 +0100 Subject: [Gambas-user] ToolButton.Visible can't be set In-Reply-To: <1426179506.3596.3.camel@...40...> References: <1426179506.3596.3.camel@...40...> Message-ID: <5501D2AB.5010002@...1...> Le 12/03/2015 17:58, Charlie Reinl a ?crit : > Salut Beno?t, > > ToolButton.Visible can't be set to false by code. > > see attached project. > You are using a ToolBar, and ToolBar manages the visibility of its ToolButtons behind the curtain (it loads its settings after the Form_Load function has been called). To make the ToolBar understands what you want, you must act when it raises its "Configure" event. Regards, -- Beno?t Minisini From Karl.Reinl at ...2345... Thu Mar 12 21:48:34 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Thu, 12 Mar 2015 21:48:34 +0100 Subject: [Gambas-user] ToolButton.Visible can't be set In-Reply-To: <5501D2AB.5010002@...1...> References: <1426179506.3596.3.camel@...40...> <5501D2AB.5010002@...1...> Message-ID: <1426193314.3596.10.camel@...40...> Am Donnerstag, den 12.03.2015, 18:53 +0100 schrieb Beno?t Minisini: > Le 12/03/2015 17:58, Charlie Reinl a ?crit : > > Salut Beno?t, > > > > ToolButton.Visible can't be set to false by code. > > > > see attached project. > > > > You are using a ToolBar, and ToolBar manages the visibility of its > ToolButtons behind the curtain (it loads its settings after the > Form_Load function has been called). > > To make the ToolBar understands what you want, you must act when it > raises its "Configure" event. > > Regards, > Salut Beno?t, ok, thanks -- Amicalement Charlie From Karl.Reinl at ...2345... Thu Mar 12 21:51:02 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Thu, 12 Mar 2015 21:51:02 +0100 Subject: [Gambas-user] Question about libraries and components Message-ID: <1426193462.3596.13.camel@...40...> Salut Beno?t, I have a library where I use the ToolBar and ToolButtons, now the project which uses this library claims "the class ToolBar could not be loaded" if I call the form with the toolbar. Q: is that behave normal? Sorry, I posted the same mail with a wrong subject. -- Amicalement Charlie From gambas at ...1... Thu Mar 12 21:56:51 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Thu, 12 Mar 2015 21:56:51 +0100 Subject: [Gambas-user] Question about libraries and components In-Reply-To: <1426193462.3596.13.camel@...40...> References: <1426193462.3596.13.camel@...40...> Message-ID: <5501FD93.8060702@...1...> Le 12/03/2015 21:51, Charlie Reinl a ?crit : > Salut Beno?t, > > I have a library where I use the ToolBar and ToolButtons, now the > project which uses this library claims "the class ToolBar could not be > loaded" if I call the form with the toolbar. > > Q: is that behave normal? > > Sorry, I posted the same mail with a wrong subject. > Give more details please. -- Beno?t Minisini From john.aaron.rose at ...626... Fri Mar 13 11:58:11 2015 From: john.aaron.rose at ...626... (John Rose) Date: Fri, 13 Mar 2015 10:58:11 +0000 Subject: [Gambas-user] Problem with Exist & Open functions with filename containing spaces In-Reply-To: <55018437.40802@...1...> References: <55016552.3080908@...626...> <20150312103356.GB554@...2774...> <20150312103728.GC554@...2774...> <55017711.1090803@...626...> <20150312113840.GD554@...2774...> <5501825C.3080905@...626...> <55018437.40802@...1...> Message-ID: <5502C2C3.5060406@...626...> On 12/03/15 12:19, Beno?t Minisini wrote: > Le 12/03/2015 13:11, John Rose a ?crit : >> On 12/03/15 11:38, Tobias Boege wrote: >>> On Thu, 12 Mar 2015, John Rose wrote: >>>> On 12/03/15 10:37, Tobias Boege wrote: >>>>> Public Sub Main() >>>>> Dim sPath As String = Temp$("with spaces") >>>>> Dim hFile As Stream >>>>> Dim sLine As String >>>>> >>>>> File.Save(sPath, "some string") >>>>> >>>>> Debug "Path =";; sPath >>>>> Debug "Exist =";; Exist(sPath) >>>>> Debug "Content =" >>>>> hFile = Open sPath For Input >>>>> For Each sLine In hFile.Lines >>>>> Debug " "; sLine >>>>> Next >>>>> Close #hFile >>>>> End >>>> I've tried that program and it didn't display anything in the Console >>>> window. I was not able to compile the attached Test app with Debug as >>>> when I tried to add the gb.debug component (by clicking its checkbox >>>> which did put an x in it) using Project Properties, it did not enable >>>> the OK button. When I closed the Project Properties window & reopened >>>> it, the checkbox was not marked with an x. So I put in Print statements >>>> and it did not even show their results on the Console window when I ran >>>> the Test app. >>>> >>> The attached file was a Gambas script. You could (and should) have run it >>> as-is. Your project is a GUI one where you blindly put the code in a Form's >>> class file. But my code had a Main() procedure which is already implemented >>> in the Form class. You have incorrectly overridden that implementation by >>> inserting my Main() procedure (which was made for a script or console >>> application). >>> >>>> BTW I think that the 'File or Directory does not exist' >>>> window appears because I have a 'Catch' followed by >>>> 'Message.Warning(ERROR.Text)' in the coding of the relevant Sub. Is it >>>> possible to show the line number when the Catch 'catches'? I've also >>>> tried putting Breakpoints in my app but that didn't help. >>> To clarify: what shows the error? A message box or a popup? Because you said >>> it was a popup (which I picture as a Balloon or tooltip-like window) and now >>> you conjecture your Message.Warning() call may be it. But if it was a popup, >>> as I picture it, it cannot be caused by a Message.Warning(). >>> >>> You get the error line with Error.Where. You could also leave the Catch out >>> and let the IDE display the error by itself. The IDE is good enough at that. >>> >>> Regards, >>> Tobi >>> >> A better name for what I called a popup is a dialog window with just an >> Ok button. It is caused by the Message command, because when I comment >> out the Catch & Message lines in my app it does not appear. However, >> the IDE (by itself) does not display any error then. Using my previously >> quoted code, the 'plain out' file does not exist (though it is present >> in my home directory). >> >> Using the code below in the attached Test app when using the IDE, when I >> click the Run button, a popup appears stating 'File or Directory does >> not exist at line 34' which is 'hFile = Open sPath For Input'. >> Public Sub RunButton_Click() >> Dim sPath As String = User.Home &/ "plain out" >> Dim hFile As Stream >> Dim sLine As String >> Print "sPath='" & sPath & "'" >> Print "*******" >> Debug "Path =";; sPath >> Debug "Exist =";; Exist(sPath) >> Debug "Content =" >> hFile = Open sPath For Input >> For Each sLine In hFile.Lines >> Print sLine >> Debug " "; sLine >> Next >> Close #hFile >> End >> >> >> Therefore, I think that there is either a problem with using Debug->Run >> or commands such as 'Opening a filename containing spaces' when using >> the IDE. BTW I'm using Gambas 3.6.2 'supplied' by the Gambas Stable >> Launchpad Ubuntu ppa. >> > There is no problem with file names with spaces inside, or any other > character except '\x00'. > > I would guess that the file on your disk is not really named > "plain[space]out" > > Regards, > Benoit, You were correct,. As soon as I renamed it 'plain out' (i.e. with a space), it was OK. I presume that the command line program, that I called with an Exec, has (what I would consider to be) a bug in it re this file name. Unfortunately I have found no means to cintact the program's author by email/twitter/phone. From john.aaron.rose at ...626... Fri Mar 13 12:01:25 2015 From: john.aaron.rose at ...626... (John Rose) Date: Fri, 13 Mar 2015 11:01:25 +0000 Subject: [Gambas-user] Possible bug with Text property of MaskBox In-Reply-To: <54FF2830.70100@...626...> References: <54FF2830.70100@...626...> Message-ID: <5502C385.1040309@...626...> On 10/03/15 17:21, John Rose wrote: > I've found what I think is a bug on the Text property of the Maskbox > control. When I set it with a Text property (conforming to its Mask > property), it shows as blank at runtime. However, if I set it by code > to the same value, it works OK. Test project attached. Please confirm > if it is a bug or just a stupid mistake of mine. > > -- > > John > > > Since AFAIK no one has replied to this, I'll consider it to be a bug & report it (to Gambas Issues) on Monday unless someone replies by then showing that it's not a bug. From olivier.cruilles at ...614... Fri Mar 13 14:07:24 2015 From: olivier.cruilles at ...614... (Yahoo) Date: Fri, 13 Mar 2015 09:07:24 -0400 Subject: [Gambas-user] New feature in Task Class Message-ID: Hello Benoit, Do you think if it's possible to implement a way to limit a Task to use only a number of cpu and better will be to choose witch cpu a Task is allowed to use ? I know that is possible to limit at the execution of a process the number and more exactly witch CPUs the process could use to run but not if it is possible to do that for a process Fork. In my idea, I will limit the main process of my program on 1 specific cpu and if I start Task to limit these Task to use specific others CPUs. Thank you in advance. Olivier Cruilles From gambas at ...1... Fri Mar 13 14:40:00 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 13 Mar 2015 14:40:00 +0100 Subject: [Gambas-user] Possible bug with Text property of MaskBox In-Reply-To: <5502C385.1040309@...626...> References: <54FF2830.70100@...626...> <5502C385.1040309@...626...> Message-ID: <5502E8B0.9060907@...1...> Le 13/03/2015 12:01, John Rose a ?crit : > On 10/03/15 17:21, John Rose wrote: > >> I've found what I think is a bug on the Text property of the Maskbox >> control. When I set it with a Text property (conforming to its Mask >> property), it shows as blank at runtime. However, if I set it by code >> to the same value, it works OK. Test project attached. Please confirm >> if it is a bug or just a stupid mistake of mine. >> >> -- >> >> John >> >> >> > Since AFAIK no one has replied to this, I'll consider it to be a bug & > report it (to Gambas Issues) on Monday unless someone replies by then > showing that it's not a bug. > It's a bug, I confirm. -- Beno?t Minisini From gambas at ...1... Fri Mar 13 14:41:05 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 13 Mar 2015 14:41:05 +0100 Subject: [Gambas-user] New feature in Task Class In-Reply-To: References: Message-ID: <5502E8F1.9020703@...1...> Le 13/03/2015 14:07, Yahoo a ?crit : > Hello Benoit, > > Do you think if it's possible to implement a way to limit a Task to > use only a number of cpu and better will be to choose witch cpu a > Task is allowed to use ? > > I know that is possible to limit at the execution of a process the > number and more exactly witch CPUs the process could use to run but > not if it is possible to do that for a process Fork. > > In my idea, I will limit the main process of my program on 1 specific > cpu and if I start Task to limit these Task to use specific others > CPUs. > > > Thank you in advance. > > Olivier Cruilles > A task is a forked process, so if you know how to do that programmatically (which API to use), just tell me. Regards, -- Beno?t Minisini From olivier.cruilles at ...614... Fri Mar 13 15:07:28 2015 From: olivier.cruilles at ...614... (Yahoo) Date: Fri, 13 Mar 2015 10:07:28 -0400 Subject: [Gambas-user] New feature in Task Class In-Reply-To: <5502E8F1.9020703@...1...> References: <5502E8F1.9020703@...1...> Message-ID: <924714BF-93E4-4261-B463-3FF19C044EC4@...614...> May be this one ? http://man7.org/linux/man-pages/man2/getrlimit.2.html Cordialement, Olivier Cruilles Email: olivier.cruilles at ...614... > Le 13 mars 2015 ? 09:41, Beno?t Minisini a ?crit : > > Le 13/03/2015 14:07, Yahoo a ?crit : >> Hello Benoit, >> >> Do you think if it's possible to implement a way to limit a Task to >> use only a number of cpu and better will be to choose witch cpu a >> Task is allowed to use ? >> >> I know that is possible to limit at the execution of a process the >> number and more exactly witch CPUs the process could use to run but >> not if it is possible to do that for a process Fork. >> >> In my idea, I will limit the main process of my program on 1 specific >> cpu and if I start Task to limit these Task to use specific others >> CPUs. >> >> >> Thank you in advance. >> >> Olivier Cruilles > > A task is a forked process, so if you know how to do that > programmatically (which API to use), just tell me. > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From olivier.cruilles at ...614... Fri Mar 13 15:18:53 2015 From: olivier.cruilles at ...614... (Yahoo) Date: Fri, 13 Mar 2015 10:18:53 -0400 Subject: [Gambas-user] New feature in Task Class In-Reply-To: <5502E8F1.9020703@...1...> References: <5502E8F1.9020703@...1...> Message-ID: To limit a process to use only specific cpu core I use 'taskset ' command on linux and 'cpulimit' command to limit cpu usage. This one is interesting too: http://blog.scoutapp.com/articles/2014/11/04/restricting-process-cpu-usage-using-nice-cpulimit-and-cgroups Does it that you ask me ? Olivier Cruilles > Le 13 mars 2015 ? 09:41, Beno?t Minisini a ?crit : > > Le 13/03/2015 14:07, Yahoo a ?crit : >> Hello Benoit, >> >> Do you think if it's possible to implement a way to limit a Task to >> use only a number of cpu and better will be to choose witch cpu a >> Task is allowed to use ? >> >> I know that is possible to limit at the execution of a process the >> number and more exactly witch CPUs the process could use to run but >> not if it is possible to do that for a process Fork. >> >> In my idea, I will limit the main process of my program on 1 specific >> cpu and if I start Task to limit these Task to use specific others >> CPUs. >> >> >> Thank you in advance. >> >> Olivier Cruilles > > A task is a forked process, so if you know how to do that > programmatically (which API to use), just tell me. > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Fri Mar 13 15:20:12 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Fri, 13 Mar 2015 15:20:12 +0100 Subject: [Gambas-user] New feature in Task Class In-Reply-To: <924714BF-93E4-4261-B463-3FF19C044EC4@...614...> References: <5502E8F1.9020703@...1...> <924714BF-93E4-4261-B463-3FF19C044EC4@...614...> Message-ID: <5502F21C.10100@...1...> Le 13/03/2015 15:07, Yahoo a ?crit : > May be this one ? > > http://man7.org/linux/man-pages/man2/getrlimit.2.html > > Cordialement, > > Olivier Cruilles > Email: olivier.cruilles at ...614... > I don't see in the doc that you can limit the number of cpus. -- Beno?t Minisini From taboege at ...626... Fri Mar 13 15:24:12 2015 From: taboege at ...626... (Tobias Boege) Date: Fri, 13 Mar 2015 15:24:12 +0100 Subject: [Gambas-user] New feature in Task Class In-Reply-To: <5502E8F1.9020703@...1...> References: <5502E8F1.9020703@...1...> Message-ID: <20150313142411.GA1396@...2774...> On Fri, 13 Mar 2015, Beno?t Minisini wrote: > Le 13/03/2015 14:07, Yahoo a ?crit : > > Hello Benoit, > > > > Do you think if it's possible to implement a way to limit a Task to > > use only a number of cpu and better will be to choose witch cpu a > > Task is allowed to use ? > > > > I know that is possible to limit at the execution of a process the > > number and more exactly witch CPUs the process could use to run but > > not if it is possible to do that for a process Fork. > > > > In my idea, I will limit the main process of my program on 1 specific > > cpu and if I start Task to limit these Task to use specific others > > CPUs. > > > > > > Thank you in advance. > > > > Olivier Cruilles > > > > A task is a forked process, so if you know how to do that > programmatically (which API to use), just tell me. > You can specify a fixed set of CPUs a thread may run on using sched_setaffinity(2) but my manpage lists it in the "Linux Programmer's Manual" which may indicate that it is not portable? Since every process is a thread, this will also work with forks. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From olivier.cruilles at ...614... Fri Mar 13 18:08:18 2015 From: olivier.cruilles at ...614... (Yahoo) Date: Fri, 13 Mar 2015 13:08:18 -0400 Subject: [Gambas-user] New feature in Task Class In-Reply-To: <20150313142411.GA1396@...2774...> References: <5502E8F1.9020703@...1...> <20150313142411.GA1396@...2774...> Message-ID: maybe this can help but I'm not C developer. https://www.kernel.org/doc/Documentation/cgroups/cpusets.txt Cordialement, Olivier Cruilles Email: olivier.cruilles at ...614... > Le 13 mars 2015 ? 10:24, Tobias Boege a ?crit : > >> On Fri, 13 Mar 2015, Beno?t Minisini wrote: >> Le 13/03/2015 14:07, Yahoo a ?crit : >>> Hello Benoit, >>> >>> Do you think if it's possible to implement a way to limit a Task to >>> use only a number of cpu and better will be to choose witch cpu a >>> Task is allowed to use ? >>> >>> I know that is possible to limit at the execution of a process the >>> number and more exactly witch CPUs the process could use to run but >>> not if it is possible to do that for a process Fork. >>> >>> In my idea, I will limit the main process of my program on 1 specific >>> cpu and if I start Task to limit these Task to use specific others >>> CPUs. >>> >>> >>> Thank you in advance. >>> >>> Olivier Cruilles >> >> A task is a forked process, so if you know how to do that >> programmatically (which API to use), just tell me. > > You can specify a fixed set of CPUs a thread may run on using > sched_setaffinity(2) but my manpage lists it in the "Linux Programmer's > Manual" which may indicate that it is not portable? Since every process > is a thread, this will also work with forks. > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From olivier.cruilles at ...614... Fri Mar 13 21:31:38 2015 From: olivier.cruilles at ...614... (Olivier Cruilles) Date: Fri, 13 Mar 2015 20:31:38 +0000 (UTC) Subject: [Gambas-user] New feature in Task Class In-Reply-To: References: Message-ID: <1436868353.2186485.1426278698055.JavaMail.yahoo@...3424...> Benoit, Do you need more information ? All I had found on Internet turn around of cpuset and sched_getaffinity(). Olivier Le Vendredi 13 mars 2015 13h08, Yahoo a ?crit : maybe this can help but I'm not C developer. https://www.kernel.org/doc/Documentation/cgroups/cpusets.txt Cordialement, Olivier Cruilles Email: olivier.cruilles at ...614... > Le 13 mars 2015 ? 10:24, Tobias Boege a ?crit : > >> On Fri, 13 Mar 2015, Beno?t Minisini wrote: >> Le 13/03/2015 14:07, Yahoo a ?crit : >>> Hello Benoit, >>> >>> Do you think if it's possible to implement a way to limit a Task to >>> use only a number of cpu and better will be to choose witch cpu a >>> Task is allowed to use ? >>> >>> I know that is possible to limit at the execution of a process the >>> number and more exactly witch CPUs the process could use to run but >>> not if it is possible to do that for a process Fork. >>> >>> In my idea, I will limit the main process of my program on 1 specific >>> cpu and if I start Task to limit these Task to use specific others >>> CPUs. >>> >>> >>> Thank you in advance. >>> >>> Olivier Cruilles >> >> A task is a forked process, so if you know how to do that >> programmatically (which API to use), just tell me. > > You can specify a fixed set of CPUs a thread may run on using > sched_setaffinity(2) but my manpage lists it in the "Linux Programmer's > Manual" which may indicate that it is not portable? Since every process > is a thread, this will also work with forks. > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Fri Mar 13 21:40:49 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Fri, 13 Mar 2015 21:40:49 +0100 Subject: [Gambas-user] New feature in Task Class In-Reply-To: <1436868353.2186485.1426278698055.JavaMail.yahoo@...3424...> References: <1436868353.2186485.1426278698055.JavaMail.yahoo@...3424...> Message-ID: <55034B51.2040504@...1...> Le 13/03/2015 21:31, Olivier Cruilles a ?crit : > Benoit, > Do you need more information ? > All I had found on Internet turn around of cpuset and sched_getaffinity(). > > Olivier > I will look at that later, I have a release to do. Regards, -- Beno?t Minisini From kevinfishburne at ...1887... Fri Mar 13 22:09:04 2015 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Fri, 13 Mar 2015 17:09:04 -0400 Subject: [Gambas-user] Google Code to be shut down Message-ID: <550351F0.5080306@...1887...> http://tech.slashdot.org/story/15/03/12/2055208/google-code-disables-new-project-creation-will-shut-down-on-january-25-2016 Perhaps I'm mistaken, but I seem to remember some aspect of GAMBAS using this. Apologies if I'm wrong about that. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From gambas at ...1... Fri Mar 13 22:10:39 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 13 Mar 2015 22:10:39 +0100 Subject: [Gambas-user] Google Code to be shut down In-Reply-To: <550351F0.5080306@...1887...> References: <550351F0.5080306@...1887...> Message-ID: <5503524F.6020709@...1...> Le 13/03/2015 22:09, Kevin Fishburne a ?crit : > http://tech.slashdot.org/story/15/03/12/2055208/google-code-disables-new-project-creation-will-shut-down-on-january-25-2016 > > Perhaps I'm mistaken, but I seem to remember some aspect of GAMBAS using > this. Apologies if I'm wrong about that. > No, you're right. I have to found another issue tracker. -- Beno?t Minisini From olivier.cruilles at ...614... Fri Mar 13 23:30:08 2015 From: olivier.cruilles at ...614... (Yahoo) Date: Fri, 13 Mar 2015 18:30:08 -0400 Subject: [Gambas-user] New feature in Task Class In-Reply-To: <55034B51.2040504@...1...> References: <1436868353.2186485.1426278698055.JavaMail.yahoo@...3424...> <55034B51.2040504@...1...> Message-ID: No problem as soon you have time. Thank very much Olivier Cruilles > Le 13 mars 2015 ? 16:40, Beno?t Minisini a ?crit : > > Le 13/03/2015 21:31, Olivier Cruilles a ?crit : >> Benoit, >> Do you need more information ? >> All I had found on Internet turn around of cpuset and sched_getaffinity(). >> >> Olivier > > I will look at that later, I have a release to do. > > Regards, > > -- > Beno?t Minisini From gambas at ...1... Sat Mar 14 01:01:31 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 14 Mar 2015 01:01:31 +0100 Subject: [Gambas-user] Possible bug with Text property of MaskBox In-Reply-To: <5502E8B0.9060907@...1...> References: <54FF2830.70100@...626...> <5502C385.1040309@...626...> <5502E8B0.9060907@...1...> Message-ID: <55037A5B.9030400@...1...> Le 13/03/2015 14:40, Beno?t Minisini a ?crit : > Le 13/03/2015 12:01, John Rose a ?crit : >> On 10/03/15 17:21, John Rose wrote: >> >>> I've found what I think is a bug on the Text property of the Maskbox >>> control. When I set it with a Text property (conforming to its Mask >>> property), it shows as blank at runtime. However, if I set it by code >>> to the same value, it works OK. Test project attached. Please confirm >>> if it is a bug or just a stupid mistake of mine. >>> >>> -- >>> >>> John >>> >>> >>> >> Since AFAIK no one has replied to this, I'll consider it to be a bug & >> report it (to Gambas Issues) on Monday unless someone replies by then >> showing that it's not a bug. >> > > It's a bug, I confirm. > Fixed in revision #6984. Regards, -- Beno?t Minisini From corradoventu at ...69... Sat Mar 14 10:28:19 2015 From: corradoventu at ...69... (corradoventu at ...69...) Date: Sat, 14 Mar 2015 10:28:19 +0100 (CET) Subject: [Gambas-user] gambas 3.6 on ubuntu vivid Message-ID: <1261492545.4015051426325299585.JavaMail.httpd@...3451...> ubuntu vivid software center still offers gambas 3.5.4.ppa:gambas-team/gambas-daily refuses working on vivid.ppa listed in https://launchpad.net/~gambas-team/+archive/ubuntu/gambas3 does not contain ppa for vividmay you help me?thank a lotcorrado From gambas at ...1... Sat Mar 14 12:27:09 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 14 Mar 2015 12:27:09 +0100 Subject: [Gambas-user] Release of Gambas 3.7 Message-ID: <55041B0D.2050003@...1...> Hi, After a few last minutes bugs had been fixed, Gambas 3.7 has been released! Some of the main changes are: - A new software repository made with Gambas for Gambas. It allows to publish and install Gambas softwares. - Databases now can be initialized from templates automatically generated by the IDE. - Array accessors are now faster. - The MySQL database driver is faster. - The child process interface has been fixed and optimized. - New SDL2 component. - New scanner management component. - New version of the report component. See the 'Release Notes' on the wiki for the list of all new features and bug fixes. http://gambaswiki.org/wiki/doc/release/3.7.0 Thanks for your patience and enjoy it! -- Beno?t Minisini From n.rogozarski at ...626... Sat Mar 14 12:36:09 2015 From: n.rogozarski at ...626... (Nikola Rogozarski) Date: Sat, 14 Mar 2015 12:36:09 +0100 Subject: [Gambas-user] GridView Row Height Message-ID: Hello guys! Is there an example of how to setup the height of a row of a GridView, depending on the length of the content. I do not see properties of auto height. When filling the GridView I did this, For Each result GridView1[i,2].text = result!description GridView1[i,2].WordWrap = true inc i Next but without success. From lewis at ...3412... Sat Mar 14 13:39:11 2015 From: lewis at ...3412... (Lewis Balentine) Date: Sat, 14 Mar 2015 07:39:11 -0500 Subject: [Gambas-user] Release of Gambas 3.7, error in build In-Reply-To: <55041B0D.2050003@...1...> References: <55041B0D.2050003@...1...> Message-ID: <55042BEF.3020608@...3412...> Environment: Linux Mint 17 X64, Mate Desktop 1.8 lewis at ...3452... ~ $ cd //home/lewis/CodeProjects/Gambas_Build/gambas3-3.7.0 lewis at ...3452... //home/lewis/CodeProjects/Gambas_Build/gambas3-3.7.0 $ ./reconf-all ...... autoreconf: running: /usr/bin/autoconf configure:4385: error: possibly undefined macro: AC_LIBLTDL_CONVENIENCE If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoreconf: /usr/bin/autoconf failed with exit status: 1 lewis at ...3452... //home/lewis/CodeProjects/Gambas_Build/gambas3-3.7.0 $ regards, Lewis Balentine On 03/14/2015 06:27 AM, Beno?t Minisini wrote: > Hi, > > After a few last minutes bugs had been fixed, Gambas 3.7 has been released! > > Some of the main changes are: > > - A new software repository made with Gambas for Gambas. It allows to > publish and install Gambas softwares. > > - Databases now can be initialized from templates automatically > generated by the IDE. > > - Array accessors are now faster. > > - The MySQL database driver is faster. > > - The child process interface has been fixed and optimized. > > - New SDL2 component. > > - New scanner management component. > > - New version of the report component. > > See the 'Release Notes' on the wiki for the list of all new features and > bug fixes. > > http://gambaswiki.org/wiki/doc/release/3.7.0 > > Thanks for your patience and enjoy it! > From gambas at ...1... Sat Mar 14 14:15:14 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 14 Mar 2015 14:15:14 +0100 Subject: [Gambas-user] Release of Gambas 3.7, error in build In-Reply-To: <55042BEF.3020608@...3412...> References: <55041B0D.2050003@...1...> <55042BEF.3020608@...3412...> Message-ID: <55043462.3010007@...1...> Le 14/03/2015 13:39, Lewis Balentine a ?crit : > Environment: Linux Mint 17 X64, Mate Desktop 1.8 > > lewis at ...3452... ~ $ cd //home/lewis/CodeProjects/Gambas_Build/gambas3-3.7.0 > lewis at ...3452... //home/lewis/CodeProjects/Gambas_Build/gambas3-3.7.0 $ > ./reconf-all > ...... > autoreconf: running: /usr/bin/autoconf > configure:4385: error: possibly undefined macro: AC_LIBLTDL_CONVENIENCE > If this token and others are legitimate, please use m4_pattern_allow. > See the Autoconf documentation. > autoreconf: /usr/bin/autoconf failed with exit status: 1 > lewis at ...3452... //home/lewis/CodeProjects/Gambas_Build/gambas3-3.7.0 $ > > regards, > > Lewis Balentine > Which version of autoconf do you use? -- Beno?t Minisini From gambas at ...1... Sat Mar 14 14:22:48 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 14 Mar 2015 14:22:48 +0100 Subject: [Gambas-user] Release of Gambas 3.7, error in build In-Reply-To: <55043462.3010007@...1...> References: <55041B0D.2050003@...1...> <55042BEF.3020608@...3412...> <55043462.3010007@...1...> Message-ID: <55043628.4000709@...1...> Le 14/03/2015 14:15, Beno?t Minisini a ?crit : > Le 14/03/2015 13:39, Lewis Balentine a ?crit : >> Environment: Linux Mint 17 X64, Mate Desktop 1.8 >> >> lewis at ...3452... ~ $ cd //home/lewis/CodeProjects/Gambas_Build/gambas3-3.7.0 >> lewis at ...3452... //home/lewis/CodeProjects/Gambas_Build/gambas3-3.7.0 $ >> ./reconf-all >> ...... >> autoreconf: running: /usr/bin/autoconf >> configure:4385: error: possibly undefined macro: AC_LIBLTDL_CONVENIENCE >> If this token and others are legitimate, please use >> m4_pattern_allow. >> See the Autoconf documentation. >> autoreconf: /usr/bin/autoconf failed with exit status: 1 >> lewis at ...3452... //home/lewis/CodeProjects/Gambas_Build/gambas3-3.7.0 $ >> >> regards, >> >> Lewis Balentine >> > > Which version of autoconf do you use? > And automake, and libtool. One of them is too old. Strange, as I sucessfully compiled and installed the development version on Mint 17.1 a few weeks ago. Regards, -- Beno?t Minisini From lewis at ...3412... Sat Mar 14 14:39:27 2015 From: lewis at ...3412... (Lewis Balentine) Date: Sat, 14 Mar 2015 08:39:27 -0500 Subject: [Gambas-user] Release of Gambas 3.7, error in build In-Reply-To: <55043628.4000709@...1...> References: <55041B0D.2050003@...1...> <55042BEF.3020608@...3412...> <55043462.3010007@...1...> <55043628.4000709@...1...> Message-ID: <55043A0F.1010200@...3412...> I was just checking that ... -------------------------------- Ref: http://gambas.sourceforge.net/en/main.html The following versions of GNU tools are needed: automake 1.11.1 autoconf 2.68 libtool 2.4 Compiling with older version may or may not work! ----------------------------------------- $ automake --version automake (GNU automake) 1.14.1 $ autoconf --version autoconf (GNU Autoconf) 2.69 $ libtool --version libtool (GNU libtool) 2.4.2 ----------------------------------------- I think i found it in the source files: Reference: acinclude.m4, line 148 I think that I found something about this error as well (not that I understand it): reference: ---- http://www.gnu.org/software/libtool/manual/html_node/Distributing-libltdl.html Macro: LTDL_CONVENIENCE Macro: AC_LIBLTDL_CONVENIENCE These macros are deprecated, the ?convenience? option to LTDL_INIT should be used instead. ---- Regards, Lewis On 03/14/2015 08:22 AM, Beno?t Minisini wrote: > Le 14/03/2015 14:15, Beno?t Minisini a ?crit : >> Le 14/03/2015 13:39, Lewis Balentine a ?crit : >>> Environment: Linux Mint 17 X64, Mate Desktop 1.8 >>> >>> lewis at ...3452... ~ $ cd //home/lewis/CodeProjects/Gambas_Build/gambas3-3.7.0 >>> lewis at ...3452... //home/lewis/CodeProjects/Gambas_Build/gambas3-3.7.0 $ >>> ./reconf-all >>> ...... >>> autoreconf: running: /usr/bin/autoconf >>> configure:4385: error: possibly undefined macro: AC_LIBLTDL_CONVENIENCE >>> If this token and others are legitimate, please use >>> m4_pattern_allow. >>> See the Autoconf documentation. >>> autoreconf: /usr/bin/autoconf failed with exit status: 1 >>> lewis at ...3452... //home/lewis/CodeProjects/Gambas_Build/gambas3-3.7.0 $ >>> >>> regards, >>> >>> Lewis Balentine >>> >> Which version of autoconf do you use? >> > And automake, and libtool. One of them is too old. > > Strange, as I sucessfully compiled and installed the development version > on Mint 17.1 a few weeks ago. > > Regards, > From gambas at ...1... Sat Mar 14 14:53:46 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 14 Mar 2015 14:53:46 +0100 Subject: [Gambas-user] Release of Gambas 3.7, error in build In-Reply-To: <55043A0F.1010200@...3412...> References: <55041B0D.2050003@...1...> <55042BEF.3020608@...3412...> <55043462.3010007@...1...> <55043628.4000709@...1...> <55043A0F.1010200@...3412...> Message-ID: <55043D6A.3060609@...1...> Le 14/03/2015 14:39, Lewis Balentine a ?crit : > I was just checking that ... > -------------------------------- > Ref: http://gambas.sourceforge.net/en/main.html > The following versions of GNU tools are needed: > automake 1.11.1 > autoconf 2.68 > libtool 2.4 > Compiling with older version may or may not work! > ----------------------------------------- > $ automake --version > automake (GNU automake) 1.14.1 > > $ autoconf --version > autoconf (GNU Autoconf) 2.69 > > $ libtool --version > libtool (GNU libtool) 2.4.2 > ----------------------------------------- > I think i found it in the source files: > Reference: acinclude.m4, line 148 > > I think that I found something about this error as well (not that I > understand it): > reference: > ---- > http://www.gnu.org/software/libtool/manual/html_node/Distributing-libltdl.html > Macro: LTDL_CONVENIENCE > Macro: AC_LIBLTDL_CONVENIENCE > These macros are deprecated, the ?convenience? option to LTDL_INIT > should be used instead. > ---- > > Regards, > > Lewis > I think you can safely comment AC_LIBLTDL_CONVENIENCE (by adding "##" to the beginning of the line) in the 'acinclude.m4' file. It is actually useless. Tell me if it works for you. I will make a 3.7.1 release with the fix in a few days. Regards, -- Beno?t Minisini From roel at ...3306... Sat Mar 14 15:06:35 2015 From: roel at ...3306... (Roel Touwen) Date: Sat, 14 Mar 2015 15:06:35 +0100 Subject: [Gambas-user] sending a parameter to a form in a workspace Message-ID: <5504406B.5060008@...3306...> Hi All, I'd like to send a parameter to a form which is a child of a workspace. I simply can't find the solution. E.g. I would like to call a sub with a parm in the form. Or like sending the name of a file which should be opened in a form within the workspace, like gambas ide. Thanks Roel From jussi.lahtinen at ...626... Sat Mar 14 15:27:19 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 14 Mar 2015 16:27:19 +0200 Subject: [Gambas-user] Release of Gambas 3.7 In-Reply-To: <55041B0D.2050003@...1...> References: <55041B0D.2050003@...1...> Message-ID: I think you missed my mail..? See attached project. Jussi On Sat, Mar 14, 2015 at 1:27 PM, Beno?t Minisini < gambas at ...1...> wrote: > Hi, > > After a few last minutes bugs had been fixed, Gambas 3.7 has been released! > > Some of the main changes are: > > - A new software repository made with Gambas for Gambas. It allows to > publish and install Gambas softwares. > > - Databases now can be initialized from templates automatically > generated by the IDE. > > - Array accessors are now faster. > > - The MySQL database driver is faster. > > - The child process interface has been fixed and optimized. > > - New SDL2 component. > > - New scanner management component. > > - New version of the report component. > > See the 'Release Notes' on the wiki for the list of all new features and > bug fixes. > > http://gambaswiki.org/wiki/doc/release/3.7.0 > > Thanks for your patience and enjoy it! > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- A non-text attachment was scrubbed... Name: GUI_init_problem-0.0.1.tar.gz Type: application/x-gzip Size: 4046 bytes Desc: not available URL: From roel at ...3306... Sat Mar 14 16:08:12 2015 From: roel at ...3306... (Roel Touwen) Date: Sat, 14 Mar 2015 16:08:12 +0100 Subject: [Gambas-user] sending a parameter to a form in a workspace In-Reply-To: <5504406B.5060008@...3306...> References: <5504406B.5060008@...3306...> Message-ID: <55044EDC.1070202@...3306...> Don't look further, I found it. Roel Touwen schreef op 14-03-15 om 15:06: > Hi All, > > I'd like to send a parameter to a form which is a child of a workspace. > I simply can't find the solution. > > E.g. I would like to call a sub with a parm in the form. Or like sending > the name of a file which should be opened in a form within the > workspace, like gambas ide. > > Thanks > > Roel > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas.fr at ...626... Sat Mar 14 16:31:44 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 14 Mar 2015 16:31:44 +0100 Subject: [Gambas-user] GridView Row Height In-Reply-To: References: Message-ID: Le 14 mars 2015 12:36, "Nikola Rogozarski" a ?crit : > > Hello guys! Is there an example of how to setup the height of a row of a > GridView, depending on the length of the content. I do not see properties > of auto height. When filling the GridView I did this, > > For Each result > GridView1[i,2].text = result!description > GridView1[i,2].WordWrap = true Gridview1[I,2].Height = -1 > inc i > Next > > but without success. > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Sat Mar 14 16:46:32 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 14 Mar 2015 16:46:32 +0100 Subject: [Gambas-user] Release of Gambas 3.7 In-Reply-To: References: <55041B0D.2050003@...1...> Message-ID: <550457D8.6050403@...1...> Le 14/03/2015 15:27, Jussi Lahtinen a ?crit : > I think you missed my mail..? > See attached project. > > > Jussi > Just don't instanciate your form there. That new error message tells you that it is too early for the Qt4 library, because it is initialized just before your Main() method is called, but after the startup class (and hence your variables) are initialized. I will try to initialize the GUI earlier If I can, but that's not sure. Regards, -- Beno?t Minisini From n.rogozarski at ...626... Sat Mar 14 18:12:51 2015 From: n.rogozarski at ...626... (Nikola Rogozarski) Date: Sat, 14 Mar 2015 18:12:51 +0100 Subject: [Gambas-user] GridView Row Height In-Reply-To: References: Message-ID: Thank's Fabien, I tried it, but it appears the following error : '_GridView1_Cell.Height ' Is read only On Sat, Mar 14, 2015 at 4:31 PM, Fabien Bodard wrote: > Le 14 mars 2015 12:36, "Nikola Rogozarski" a > ?crit > : > > > > Hello guys! Is there an example of how to setup the height of a row of a > > GridView, depending on the length of the content. I do not see properties > > of auto height. When filling the GridView I did this, > > > > For Each result > > GridView1[i,2].text = result!description > > GridView1[i,2].WordWrap = true > Gridview1[I,2].Height = -1 > > > inc i > > Next > > > > but without success. > > > > ------------------------------------------------------------------------------ > > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > > by Intel and developed in partnership with Slashdot Media, is your hub > for all > > things parallel software development, from weekly thought leadership > blogs to > > news, videos, case studies, tutorials and more. Take a look and join the > > conversation now. http://goparallel.sourceforge.net/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Sat Mar 14 18:28:11 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 14 Mar 2015 18:28:11 +0100 Subject: [Gambas-user] GridView Row Height In-Reply-To: References: Message-ID: Oups Try Gridview1.rows[i].Height=-1 Le 14 mars 2015 18:13, "Nikola Rogozarski" a ?crit : > Thank's Fabien, I tried it, but it appears the following error : > '_GridView1_Cell.Height ' Is read only > > On Sat, Mar 14, 2015 at 4:31 PM, Fabien Bodard > wrote: > > > Le 14 mars 2015 12:36, "Nikola Rogozarski" a > > ?crit > > : > > > > > > Hello guys! Is there an example of how to setup the height of a row of > a > > > GridView, depending on the length of the content. I do not see > properties > > > of auto height. When filling the GridView I did this, > > > > > > For Each result > > > GridView1[i,2].text = result!description > > > GridView1[i,2].WordWrap = true > > Gridview1[I,2].Height = -1 > > > > > inc i > > > Next > > > > > > but without success. > > > > > > > > ------------------------------------------------------------------------------ > > > Dive into the World of Parallel Programming The Go Parallel Website, > > sponsored > > > by Intel and developed in partnership with Slashdot Media, is your hub > > for all > > > things parallel software development, from weekly thought leadership > > blogs to > > > news, videos, case studies, tutorials and more. Take a look and join > the > > > conversation now. http://goparallel.sourceforge.net/ > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------------------------------ > > Dive into the World of Parallel Programming The Go Parallel Website, > > sponsored > > by Intel and developed in partnership with Slashdot Media, is your hub > for > > all > > things parallel software development, from weekly thought leadership > blogs > > to > > news, videos, case studies, tutorials and more. Take a look and join the > > conversation now. http://goparallel.sourceforge.net/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Sat Mar 14 18:28:34 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 14 Mar 2015 19:28:34 +0200 Subject: [Gambas-user] Release of Gambas 3.7 In-Reply-To: <550457D8.6050403@...1...> References: <55041B0D.2050003@...1...> <550457D8.6050403@...1...> Message-ID: OK, I understand the issue. It's just that this used to work with earlier version, and it still works with GTK+. So, this is very likely to cause unexpected problems. Jussi On Sat, Mar 14, 2015 at 5:46 PM, Beno?t Minisini < gambas at ...1...> wrote: > Le 14/03/2015 15:27, Jussi Lahtinen a ?crit : > > I think you missed my mail..? > > See attached project. > > > > > > Jussi > > > > Just don't instanciate your form there. > > That new error message tells you that it is too early for the Qt4 > library, because it is initialized just before your Main() method is > called, but after the startup class (and hence your variables) are > initialized. > > I will try to initialize the GUI earlier If I can, but that's not sure. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mmcg29440 at ...3163... Sat Mar 14 18:33:19 2015 From: mmcg29440 at ...3163... (Martin McGlensey) Date: Sat, 14 Mar 2015 13:33:19 -0400 Subject: [Gambas-user] Is Gambas 3.7 in the repository Message-ID: Hello, Is Gambas 3.7 in the repository? I just tried to update my Ubuntu 14.04 LTS box and did not see Gambas. Thanks From taboege at ...626... Sat Mar 14 18:30:42 2015 From: taboege at ...626... (Tobias Boege) Date: Sat, 14 Mar 2015 18:30:42 +0100 Subject: [Gambas-user] GridView Row Height In-Reply-To: References: Message-ID: <20150314173042.GF593@...2774...> On Sat, 14 Mar 2015, Nikola Rogozarski wrote: > On Sat, Mar 14, 2015 at 4:31 PM, Fabien Bodard wrote: > > Le 14 mars 2015 12:36, "Nikola Rogozarski" a > > ??crit > > : > > > > > > Hello guys! Is there an example of how to setup the height of a row of a > > > GridView, depending on the length of the content. I do not see properties > > > of auto height. When filling the GridView I did this, > > > > > > For Each result > > > GridView1[i,2].text = result!description > > > GridView1[i,2].WordWrap = true > > Gridview1[I,2].Height = -1 > > > > > inc i > > > Next > > > > > > but without success. > > > > > > Thank's Fabien, I tried it, but it appears the following error : > '_GridView1_Cell.Height ' Is read only > You guys are talking about row heights, right? Then you should operate on rows instead of cells. Maybe Fabien meant to type GridView.Rows[I].Height = -1 Apparently (on my system), you need to do that after setting the text of any cell in that row to make the height adjust. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From n.rogozarski at ...626... Sat Mar 14 18:38:47 2015 From: n.rogozarski at ...626... (Nikola Rogozarski) Date: Sat, 14 Mar 2015 18:38:47 +0100 Subject: [Gambas-user] GridView Row Height In-Reply-To: References: Message-ID: Ooooo Yes, that's it. Thanks a lot !!! On Sat, Mar 14, 2015 at 6:28 PM, Fabien Bodard wrote: > Oups > Try > Gridview1.rows[i].Height=-1 > Le 14 mars 2015 18:13, "Nikola Rogozarski" a > ?crit > : > > > Thank's Fabien, I tried it, but it appears the following error : > > '_GridView1_Cell.Height ' Is read only > > > > On Sat, Mar 14, 2015 at 4:31 PM, Fabien Bodard > > wrote: > > > > > Le 14 mars 2015 12:36, "Nikola Rogozarski" a > > > ?crit > > > : > > > > > > > > Hello guys! Is there an example of how to setup the height of a row > of > > a > > > > GridView, depending on the length of the content. I do not see > > properties > > > > of auto height. When filling the GridView I did this, > > > > > > > > For Each result > > > > GridView1[i,2].text = result!description > > > > GridView1[i,2].WordWrap = true > > > Gridview1[I,2].Height = -1 > > > > > > > inc i > > > > Next > > > > > > > > but without success. > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > Dive into the World of Parallel Programming The Go Parallel Website, > > > sponsored > > > > by Intel and developed in partnership with Slashdot Media, is your > hub > > > for all > > > > things parallel software development, from weekly thought leadership > > > blogs to > > > > news, videos, case studies, tutorials and more. Take a look and join > > the > > > > conversation now. http://goparallel.sourceforge.net/ > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > ------------------------------------------------------------------------------ > > > Dive into the World of Parallel Programming The Go Parallel Website, > > > sponsored > > > by Intel and developed in partnership with Slashdot Media, is your hub > > for > > > all > > > things parallel software development, from weekly thought leadership > > blogs > > > to > > > news, videos, case studies, tutorials and more. Take a look and join > the > > > conversation now. http://goparallel.sourceforge.net/ > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > ------------------------------------------------------------------------------ > > Dive into the World of Parallel Programming The Go Parallel Website, > > sponsored > > by Intel and developed in partnership with Slashdot Media, is your hub > for > > all > > things parallel software development, from weekly thought leadership > blogs > > to > > news, videos, case studies, tutorials and more. Take a look and join the > > conversation now. http://goparallel.sourceforge.net/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From lewis at ...3412... Sat Mar 14 18:52:42 2015 From: lewis at ...3412... (Lewis Balentine) Date: Sat, 14 Mar 2015 12:52:42 -0500 Subject: [Gambas-user] Release of Gambas 3.7, error in build In-Reply-To: <55043D6A.3060609@...1...> References: <55041B0D.2050003@...1...> <55042BEF.3020608@...3412...> <55043462.3010007@...1...> <55043628.4000709@...1...> <55043A0F.1010200@...3412...> <55043D6A.3060609@...1...> Message-ID: <5504756A.60402@...3412...> Regarding Linux Mint 17.1 (a.k.a. Rebecca): Becky had some teething problems and added a bunch off fancy user interface graphics that I did not need or want. Thus I decided to stick with 17.0 (updated of course --- so I may have all that stuff I did not want). ============ > Strange, as I successfully compiled and installed the development version on Mint 17.1 a few weeks ago.< ---------------------- I install version 3.6.2 from the ppa. My abilities with 'C', 'C++', 'C#', gcc , g++, make, gbd, etc. are very limited. They are getting better. I am now capable of compiling the following 'C' program: int main(){}; ... and I am working on helloworld.c So I created a fresh VMWware virtual machine for build Gambas. It is based on an OVF image of Linux Mint X64(OEM) with Mate desktop that I maintain for such things. That gives me a more less 'virgin' environment with new machine name, user name and password. I get the same errors on that machine as well. (I now have an backup OVF image of a 'virgin' GambasBuild machine as well ;-) The Idea is that I can create new machine, extract the new source to it and run the shell script (see attached) to build a new version (when I get it working). =================== Progress: 1) commenting AC_LIBLTDL_CONVENIENCE in the 'acinclude.m4' file resolved the "./reconf-all" error. (note: has to be done BEFORE the FIRST attempt to build gambas) 2) several errors produced by "make" because Mint does not install g++ by default (resolved) 3) "sudo make install" produces the following errors: ---------------------- libtool: install: /usr/bin/install -c .libs/gb.image.effect.so.0.0.0 /usr/lib/gambas3/gb.image.effect.so.0.0.0 /usr/bin/install: cannot stat '.libs/gb.image.effect.so.0.0.0': No such file or directory make[5]: *** [install-gblibLTLIBRARIES] Error 1 make[5]: Leaving directory `/home/gbuilder/Documents/Build/gambas3-3.7.0/main/lib/image.effect' make[4]: *** [install-am] Error 2 make[4]: Leaving directory `/home/gbuilder/Documents/Build/gambas3-3.7.0/main/lib/image.effect' make[3]: *** [install-recursive] Error 1 make[3]: Leaving directory `/home/gbuilder/Documents/Build/gambas3-3.7.0/main/lib' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/home/gbuilder/Documents/Build/gambas3-3.7.0/main' make[1]: *** [install] Error 2 make[1]: Leaving directory `/home/gbuilder/Documents/Build/gambas3-3.7.0/main' make: *** [install-recursive] Error 1 ---------------------- I am guessing the the "libs" (not the 's') directory is actually "~/Documents/Build/gambas3-3.7.0/main/lib/image.effect/.libs" There are two directory entries there listed as as "link broken (inode/symlink)": gb.image.effect.so gb.image.effect.so.0 So I went looking to see if there were any other "broken links" ... ~/Documents/Build/gambas3-3.7.0/main/lib/clipper/.libs/gb.clipper.so ~/Documents/Build/gambas3-3.7.0/main/lib/clipper/.libs/gb.clipper.so.0 ==================== Just to be sure this was not a fluke. I replaced the image and tried again ... second time around I got different errors; among them are: gbi3: warning: component gb.xml.rpc not found ---- Compiling gb.eval.highlight... gbc: error: Component not found: gb.qt4 Compiling gb.args OK Installing gb.args... gbi3: warning: component gb.xml.rpc not found Compiling gb.settings... OK --- Installing the development environment... Compiling gambas3... gbc: error: Component not found: gb.qt4 Compiling gbs3... OK --- Installing gbs3... Installing the scripter... Registering Gambas script mimetype Registering Gambas server page mimetype Installing the Gambas appdata file make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/home/gbuilder/Documents/Build/gambas3-3.7.0/app' make[1]: Leaving directory `/home/gbuilder/Documents/Build/gambas3-3.7.0/app' Making install in . make[1]: Entering directory `/home/gbuilder/Documents/Build/gambas3-3.7.0' make[2]: Entering directory `/home/gbuilder/Documents/Build/gambas3-3.7.0' || || Unable to compile gb.eval.highlight || Unable to compile gb.gui.base || Unable to compile gb.form || Unable to compile gb.form.dialog || Unable to compile gb.form.mdi || Unable to compile gb.db.form || Unable to compile gb.desktop || Unable to compile gb.report || Unable to compile gb.report2 || Unable to compile gb.chart || Unable to compile gb.net.pop3 || Unable to compile gb.memcached || Unable to compile gb.map || Unable to compile gb.media.form || Unable to compile gambas3 --- I am guessing that my 'virgin' machine is missing some required libraries or dev files. ... but I have other thing to attended to. I will have to get back to this later. Regards, Lewis On 03/14/2015 08:53 AM, Beno?t Minisini wrote: > I think you can safely comment AC_LIBLTDL_CONVENIENCE (by adding "##" to > the beginning of the line) in the 'acinclude.m4' file. It is actually > useless. > > Tell me if it works for you. I will make a 3.7.1 release with the fix in > a few days. > > Regards, > -------------- next part -------------- A non-text attachment was scrubbed... Name: BuildGambas.tar.gz Type: application/gzip Size: 561 bytes Desc: not available URL: From gambas at ...1... Sat Mar 14 20:06:40 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 14 Mar 2015 20:06:40 +0100 Subject: [Gambas-user] Release of Gambas 3.7, error in build In-Reply-To: <5504756A.60402@...3412...> References: <55041B0D.2050003@...1...> <55042BEF.3020608@...3412...> <55043462.3010007@...1...> <55043628.4000709@...1...> <55043A0F.1010200@...3412...> <55043D6A.3060609@...1...> <5504756A.60402@...3412...> Message-ID: <550486C0.6080208@...1...> Le 14/03/2015 18:52, Lewis Balentine a ?crit : > Regarding Linux Mint 17.1 (a.k.a. Rebecca): > Becky had some teething problems and added a bunch off fancy user > interface graphics that I did not need or want. Thus I decided to stick > with 17.0 (updated of course --- so I may have all that stuff I did not > want). > ============ > >> Strange, as I successfully compiled and installed the development version > on Mint 17.1 a few weeks ago.< > ---------------------- > I install version 3.6.2 from the ppa. My abilities with 'C', 'C++', > 'C#', gcc , g++, make, gbd, etc. are very limited. They are getting > better. I am now capable of compiling the following 'C' program: > int main(){}; > ... and I am working on helloworld.c > > So I created a fresh VMWware virtual machine for build Gambas. It is > based on an OVF image of Linux Mint X64(OEM) with Mate desktop that I > maintain for such things. That gives me a more less 'virgin' environment > with new machine name, user name and password. I get the same errors on > that machine as well. (I now have an backup OVF image of a 'virgin' > GambasBuild machine as well ;-) The Idea is that I can create new > machine, extract the new source to it and run the shell script (see > attached) to build a new version (when I get it working). > =================== > > Progress: > > 1) commenting AC_LIBLTDL_CONVENIENCE in the 'acinclude.m4' file resolved > the "./reconf-all" error. > (note: has to be done BEFORE the FIRST attempt to build gambas) > 2) several errors produced by "make" because Mint does not install g++ > by default (resolved) > 3) "sudo make install" produces the following errors: > ---------------------- > libtool: install: /usr/bin/install -c .libs/gb.image.effect.so.0.0.0 > /usr/lib/gambas3/gb.image.effect.so.0.0.0 > /usr/bin/install: cannot stat '.libs/gb.image.effect.so.0.0.0': No such > file or directory > make[5]: *** [install-gblibLTLIBRARIES] Error 1 > make[5]: Leaving directory > `/home/gbuilder/Documents/Build/gambas3-3.7.0/main/lib/image.effect' > make[4]: *** [install-am] Error 2 > make[4]: Leaving directory > `/home/gbuilder/Documents/Build/gambas3-3.7.0/main/lib/image.effect' > make[3]: *** [install-recursive] Error 1 > make[3]: Leaving directory > `/home/gbuilder/Documents/Build/gambas3-3.7.0/main/lib' > make[2]: *** [install-recursive] Error 1 > make[2]: Leaving directory > `/home/gbuilder/Documents/Build/gambas3-3.7.0/main' > make[1]: *** [install] Error 2 > make[1]: Leaving directory > `/home/gbuilder/Documents/Build/gambas3-3.7.0/main' > make: *** [install-recursive] Error 1 > ---------------------- > I am guessing the the "libs" (not the 's') directory is actually > "~/Documents/Build/gambas3-3.7.0/main/lib/image.effect/.libs" > There are two directory entries there listed as as "link broken > (inode/symlink)": > gb.image.effect.so > gb.image.effect.so.0 > So I went looking to see if there were any other "broken links" ... > ~/Documents/Build/gambas3-3.7.0/main/lib/clipper/.libs/gb.clipper.so > ~/Documents/Build/gambas3-3.7.0/main/lib/clipper/.libs/gb.clipper.so.0 > > ==================== > Just to be sure this was not a fluke. > I replaced the image and tried again ... > second time around I got different errors; > among them are: > gbi3: warning: component gb.xml.rpc not found > ---- > Compiling gb.eval.highlight... > gbc: error: Component not found: gb.qt4 > Compiling gb.args > OK > Installing gb.args... > gbi3: warning: component gb.xml.rpc not found > Compiling gb.settings... > OK > --- > Installing the development environment... > Compiling gambas3... > gbc: error: Component not found: gb.qt4 > Compiling gbs3... > OK > --- > Installing gbs3... > Installing the scripter... > Registering Gambas script mimetype > Registering Gambas server page mimetype > Installing the Gambas appdata file > make[2]: Nothing to be done for `install-data-am'. > make[2]: Leaving directory > `/home/gbuilder/Documents/Build/gambas3-3.7.0/app' > make[1]: Leaving directory > `/home/gbuilder/Documents/Build/gambas3-3.7.0/app' > Making install in . > make[1]: Entering directory > `/home/gbuilder/Documents/Build/gambas3-3.7.0' > make[2]: Entering directory > `/home/gbuilder/Documents/Build/gambas3-3.7.0' > > || > || Unable to compile gb.eval.highlight > || Unable to compile gb.gui.base > || Unable to compile gb.form > || Unable to compile gb.form.dialog > || Unable to compile gb.form.mdi > || Unable to compile gb.db.form > || Unable to compile gb.desktop > || Unable to compile gb.report > || Unable to compile gb.report2 > || Unable to compile gb.chart > || Unable to compile gb.net.pop3 > || Unable to compile gb.memcached > || Unable to compile gb.map > || Unable to compile gb.media.form > || Unable to compile gambas3 > --- > I am guessing that my 'virgin' machine is missing some required > libraries or dev files. > ... but I have other thing to attended to. I will have to get back to > this later. > > Regards, > > Lewis > Install the packages specified on the wiki, on the Ubuntu page. Regards, -- Beno?t Minisini From gambas at ...1... Sat Mar 14 20:08:02 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 14 Mar 2015 20:08:02 +0100 Subject: [Gambas-user] Release of Gambas 3.7 In-Reply-To: References: <55041B0D.2050003@...1...> <550457D8.6050403@...1...> Message-ID: <55048712.6060409@...1...> Le 14/03/2015 18:28, Jussi Lahtinen a ?crit : > OK, I understand the issue. It's just that this used to work with earlier > version, and it still works with GTK+. > So, this is very likely to cause unexpected problems. > > > Jussi > It depends what the instancation of the form triggers. Qt may abort the program if you do something that requires the GUI to be fully initialized. -- Beno?t Minisini From frankghaymes at ...67... Sat Mar 14 20:19:04 2015 From: frankghaymes at ...67... (Frank Haymes) Date: Sat, 14 Mar 2015 12:19:04 -0700 Subject: [Gambas-user] Release of Gambas 3.7 In-Reply-To: <55048712.6060409@...1...> References: <55041B0D.2050003@...1...> <550457D8.6050403@...1...>, , <55048712.6060409@...1...> Message-ID: Can Gambas be installed on a Raspberry Pi B+? Frank G. Haymes > Date: Sat, 14 Mar 2015 20:08:02 +0100 > From: gambas at ...1... > To: gambas-user at lists.sourceforge.net > Subject: Re: [Gambas-user] Release of Gambas 3.7 > > Le 14/03/2015 18:28, Jussi Lahtinen a ?crit : > > OK, I understand the issue. It's just that this used to work with earlier > > version, and it still works with GTK+. > > So, this is very likely to cause unexpected problems. > > > > > > Jussi > > > > It depends what the instancation of the form triggers. Qt may abort the > program if you do something that requires the GUI to be fully initialized. > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From bagoneo at ...69... Sat Mar 14 20:20:32 2015 From: bagoneo at ...69... (Gian) Date: Sat, 14 Mar 2015 20:20:32 +0100 Subject: [Gambas-user] Release of Gambas 3.7, error in build In-Reply-To: <550486C0.6080208@...1...> References: <55041B0D.2050003@...1...> <55042BEF.3020608@...3412...> <55043462.3010007@...1...> <55043628.4000709@...1...> <55043A0F.1010200@...3412...> <55043D6A.3060609@...1...> <5504756A.60402@...3412...> <550486C0.6080208@...1...> Message-ID: <55048A00.1060105@...69...> Il 14/03/2015 20:06, Beno?t Minisini ha scritto: > Le 14/03/2015 18:52, Lewis Balentine a ?crit : >> Regarding Linux Mint 17.1 (a.k.a. Rebecca): >> Becky had some teething problems and added a bunch off fancy user >> interface graphics that I did not need or want. Thus I decided to stick >> with 17.0 (updated of course --- so I may have all that stuff I did not >> want). >> ============ >> >>> Strange, as I successfully compiled and installed the development version >> on Mint 17.1 a few weeks ago.< >> ---------------------- >> I install version 3.6.2 from the ppa. My abilities with 'C', 'C++', >> 'C#', gcc , g++, make, gbd, etc. are very limited. They are getting >> better. I am now capable of compiling the following 'C' program: >> int main(){}; >> ... and I am working on helloworld.c >> >> So I created a fresh VMWware virtual machine for build Gambas. It is >> based on an OVF image of Linux Mint X64(OEM) with Mate desktop that I >> maintain for such things. That gives me a more less 'virgin' environment >> with new machine name, user name and password. I get the same errors on >> that machine as well. (I now have an backup OVF image of a 'virgin' >> GambasBuild machine as well ;-) The Idea is that I can create new >> machine, extract the new source to it and run the shell script (see >> attached) to build a new version (when I get it working). >> =================== >> >> Progress: >> >> 1) commenting AC_LIBLTDL_CONVENIENCE in the 'acinclude.m4' file resolved >> the "./reconf-all" error. >> (note: has to be done BEFORE the FIRST attempt to build gambas) >> 2) several errors produced by "make" because Mint does not install g++ >> by default (resolved) >> 3) "sudo make install" produces the following errors: >> ---------------------- >> libtool: install: /usr/bin/install -c .libs/gb.image.effect.so.0.0.0 >> /usr/lib/gambas3/gb.image.effect.so.0.0.0 >> /usr/bin/install: cannot stat '.libs/gb.image.effect.so.0.0.0': No such >> file or directory >> make[5]: *** [install-gblibLTLIBRARIES] Error 1 >> make[5]: Leaving directory >> `/home/gbuilder/Documents/Build/gambas3-3.7.0/main/lib/image.effect' >> make[4]: *** [install-am] Error 2 >> make[4]: Leaving directory >> `/home/gbuilder/Documents/Build/gambas3-3.7.0/main/lib/image.effect' >> make[3]: *** [install-recursive] Error 1 >> make[3]: Leaving directory >> `/home/gbuilder/Documents/Build/gambas3-3.7.0/main/lib' >> make[2]: *** [install-recursive] Error 1 >> make[2]: Leaving directory >> `/home/gbuilder/Documents/Build/gambas3-3.7.0/main' >> make[1]: *** [install] Error 2 >> make[1]: Leaving directory >> `/home/gbuilder/Documents/Build/gambas3-3.7.0/main' >> make: *** [install-recursive] Error 1 >> ---------------------- >> I am guessing the the "libs" (not the 's') directory is actually >> "~/Documents/Build/gambas3-3.7.0/main/lib/image.effect/.libs" >> There are two directory entries there listed as as "link broken >> (inode/symlink)": >> gb.image.effect.so >> gb.image.effect.so.0 >> So I went looking to see if there were any other "broken links" ... >> ~/Documents/Build/gambas3-3.7.0/main/lib/clipper/.libs/gb.clipper.so >> ~/Documents/Build/gambas3-3.7.0/main/lib/clipper/.libs/gb.clipper.so.0 >> >> ==================== >> Just to be sure this was not a fluke. >> I replaced the image and tried again ... >> second time around I got different errors; >> among them are: >> gbi3: warning: component gb.xml.rpc not found >> ---- >> Compiling gb.eval.highlight... >> gbc: error: Component not found: gb.qt4 >> Compiling gb.args >> OK >> Installing gb.args... >> gbi3: warning: component gb.xml.rpc not found >> Compiling gb.settings... >> OK >> --- >> Installing the development environment... >> Compiling gambas3... >> gbc: error: Component not found: gb.qt4 >> Compiling gbs3... >> OK >> --- >> Installing gbs3... >> Installing the scripter... >> Registering Gambas script mimetype >> Registering Gambas server page mimetype >> Installing the Gambas appdata file >> make[2]: Nothing to be done for `install-data-am'. >> make[2]: Leaving directory >> `/home/gbuilder/Documents/Build/gambas3-3.7.0/app' >> make[1]: Leaving directory >> `/home/gbuilder/Documents/Build/gambas3-3.7.0/app' >> Making install in . >> make[1]: Entering directory >> `/home/gbuilder/Documents/Build/gambas3-3.7.0' >> make[2]: Entering directory >> `/home/gbuilder/Documents/Build/gambas3-3.7.0' >> >> || >> || Unable to compile gb.eval.highlight >> || Unable to compile gb.gui.base >> || Unable to compile gb.form >> || Unable to compile gb.form.dialog >> || Unable to compile gb.form.mdi >> || Unable to compile gb.db.form >> || Unable to compile gb.desktop >> || Unable to compile gb.report >> || Unable to compile gb.report2 >> || Unable to compile gb.chart >> || Unable to compile gb.net.pop3 >> || Unable to compile gb.memcached >> || Unable to compile gb.map >> || Unable to compile gb.media.form >> || Unable to compile gambas3 >> --- >> I am guessing that my 'virgin' machine is missing some required >> libraries or dev files. >> ... but I have other thing to attended to. I will have to get back to >> this later. >> >> Regards, >> >> Lewis >> > > Install the packages specified on the wiki, on the Ubuntu page. > > Regards, > Hi Lewis, for Ubuntu 14.04.02 LTS. Library (as Trunk plus llvm-3.4-dev): ~ $ sudo apt-get install build-essential g++ automake autoconf libbz2-dev libmysqlclient-dev unixodbc-dev libpq-dev libsqlite0-dev libsqlite3-dev libglib2.0-dev libgtk2.0-dev libcurl4-gnutls-dev libgtkglext1-dev libpcre3-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libsage-dev libxml2-dev libxslt1-dev librsvg2-dev libpoppler-dev libpoppler-glib-dev libasound2-dev libesd0-dev libdirectfb-dev libxtst-dev libffi-dev libqt4-dev libglew1.5-dev libimlib2-dev libv4l-dev libsdl-ttf2.0-dev libgnome-keyring-dev libgdk-pixbuf2.0-dev linux-libc-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libcairo2-dev libgsl0-dev libncurses5-dev libgmime-2.6-dev llvm-3.4-dev libalure-dev libgmp-dev libgtk-3-dev postgresql-server-dev-9.3 libsdl2-dev libsdl2-mixer-dev libsdl2-ttf-dev libsdl2-image-dev sane-utils libpoppler-private-dev libqtwebkit-dev llvm-dev llvm To remove 3.7.0 not working: ~ $ cd gambas3-3.7.0/ ~ /gambas3-3.7.0 $ sudo make uninstall ~ /gambas3-3.7.0 $ cd .. ~ $ rm -rf gambas3-3.7.0/ After: ~ $ tar xvjf gambas3-3.7.0.tar.bz2 ~ $ cd gambas3-3.7.0 ~/gambas3-3.7.0$ ( ./reconf-all && ./configure -C ) > ~/Desktop/R_conf3-7.log 2>&1 ~/gambas3-3.7.0$ ( make && sudo make install ) > ~/Desktop/Make_Inst3-7.log 2>&1 Regards Gianluigi From gambas at ...1... Sat Mar 14 20:49:56 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 14 Mar 2015 20:49:56 +0100 Subject: [Gambas-user] Release of Gambas 3.7 In-Reply-To: References: <55041B0D.2050003@...1...> <550457D8.6050403@...1...>, , <55048712.6060409@...1...> Message-ID: <550490E4.9090604@...1...> Le 14/03/2015 20:19, Frank Haymes a ?crit : > Can Gambas be installed on a Raspberry Pi B+? > > Frank G. Haymes > No idea. It should work as on other Raspberry Pis. -- Beno?t Minisini From chrisml at ...3340... Sat Mar 14 22:12:38 2015 From: chrisml at ...3340... (Christof Thalhofer) Date: Sat, 14 Mar 2015 22:12:38 +0100 Subject: [Gambas-user] Release of Gambas 3.7 In-Reply-To: <55041B0D.2050003@...1...> (sfid-) References: <55041B0D.2050003@...1...> (sfid-) Message-ID: <5504A446.7060508@...3340...> Am 14.03.2015 um 12:27 schrieb Beno?t Minisini: > http://gambaswiki.org/wiki/doc/release/3.7.0 > > Thanks for your patience and enjoy it! Thank you very much! Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From lewis at ...3412... Sun Mar 15 00:41:33 2015 From: lewis at ...3412... (Lewis Balentine) Date: Sat, 14 Mar 2015 18:41:33 -0500 Subject: [Gambas-user] Release of Gambas 3.7, error in build In-Reply-To: <55048A00.1060105@...69...> References: <55041B0D.2050003@...1...> <55042BEF.3020608@...3412...> <55043462.3010007@...1...> <55043628.4000709@...1...> <55043A0F.1010200@...3412...> <55043D6A.3060609@...1...> <5504756A.60402@...3412...> <550486C0.6080208@...1...> <55048A00.1060105@...69...> Message-ID: <5504C72D.6000700@...3412...> serbatoio voi Gianluigi, You saved me a lot of time. I did however find one more package that was required. # || Unable to met pkg-config requirement: QtOpenGL # || gb.qt4.opengl is disabled # add libqt4-opengl-dev sudo apt-get install libqt4-opengl-dev I also added the log files as you illustrated. Thus I got all the way through "./reconf-all" and "./configure -C" without any problems. At the end of the configure-C.log file I found the Magic Words: "ALL COMPONENTS WILL BE COMPILED" I was also able to get through "make" and "make install". These two generated a great number of warnings however the required executable files were produced and gambas3 runs as expected. I tested it on two simple projects. One console base and one GTK gui. Gambas appeared to operate as expected. ================================= ================================= Benoit, I do not know if this will be helpful but regarding the warnings/errors: Please see attached archive file for the make logs as well as the errors captured from the console. For "make" they were typically warnings about depreciated calls for GTK. -----------make example------------ gtools.cpp: In function 'gColor get_gdk_bg_color(GtkWidget*, bool)': gtools.cpp:179:5: warning: 'GtkStyle* gtk_widget_get_style(GtkWidget*)' is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h:672): Use 'gtk_widget_get_style_context' instead [-Wdeprecated-declarations] st=gtk_widget_get_style(wid); ^ For "make install" they were typically errors about missing "libdumb.so.1" file. -----------make install example------------ make install-data-hook make[4]: Entering directory `/home/gbuilder/Documents/Build/gambas3-3.7.0/gb.openal/src' Installing the gb.openal control icons if needed... Creating the information files for gb.openal component... Error loading libdumb.so.1: libdumb.so.1: cannot open shared object file: No such file or directory For "make install" they were typically errors about GTK_IS_WIDGET. -----------run time error example------------ (gbr3:1151): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion 'GTK_IS_WIDGET (widget)' failed Last and most importantly: Thank you very much Bennoit for Gambas, your time, your dedication and most all your continuing support. Regards, Lewis Balentine On 03/14/2015 02:20 PM, Gian wrote: > Hi Lewis, > for Ubuntu 14.04.02 LTS. > Library (as Trunk plus llvm-3.4-dev): > ~ $ sudo apt-get install build-essential g++ automake autoconf > libbz2-dev libmysqlclient-dev unixodbc-dev libpq-dev libsqlite0-dev > libsqlite3-dev libglib2.0-dev libgtk2.0-dev libcurl4-gnutls-dev > libgtkglext1-dev libpcre3-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev > libsdl-image1.2-dev libsage-dev libxml2-dev libxslt1-dev librsvg2-dev > libpoppler-dev libpoppler-glib-dev libasound2-dev libesd0-dev > libdirectfb-dev libxtst-dev libffi-dev libqt4-dev libglew1.5-dev > libimlib2-dev libv4l-dev libsdl-ttf2.0-dev libgnome-keyring-dev > libgdk-pixbuf2.0-dev linux-libc-dev libgstreamer1.0-dev > libgstreamer-plugins-base1.0-dev libcairo2-dev libgsl0-dev > libncurses5-dev libgmime-2.6-dev llvm-3.4-dev libalure-dev libgmp-dev > libgtk-3-dev postgresql-server-dev-9.3 libsdl2-dev libsdl2-mixer-dev > libsdl2-ttf-dev libsdl2-image-dev sane-utils libpoppler-private-dev > libqtwebkit-dev llvm-dev llvm > > To remove 3.7.0 not working: > ~ $ cd gambas3-3.7.0/ > ~ /gambas3-3.7.0 $ sudo make uninstall > ~ /gambas3-3.7.0 $ cd .. > ~ $ rm -rf gambas3-3.7.0/ > > After: > ~ $ tar xvjf gambas3-3.7.0.tar.bz2 > ~ $ cd gambas3-3.7.0 > ~/gambas3-3.7.0$ ( ./reconf-all && ./configure -C ) > > ~/Desktop/R_conf3-7.log 2>&1 > ~/gambas3-3.7.0$ ( make && sudo make install ) > > ~/Desktop/Make_Inst3-7.log 2>&1 > > Regards > Gianluigi > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -------------- next part -------------- A non-text attachment was scrubbed... Name: GambasBuildLogs.tar.gz Type: application/gzip Size: 25685 bytes Desc: not available URL: From gambas at ...1... Sun Mar 15 02:08:50 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 15 Mar 2015 02:08:50 +0100 Subject: [Gambas-user] Release of Gambas 3.7, error in build In-Reply-To: <5504C72D.6000700@...3412...> References: <55041B0D.2050003@...1...> <55042BEF.3020608@...3412...> <55043462.3010007@...1...> <55043628.4000709@...1...> <55043A0F.1010200@...3412...> <55043D6A.3060609@...1...> <5504756A.60402@...3412...> <550486C0.6080208@...1...> <55048A00.1060105@...69...> <5504C72D.6000700@...3412...> Message-ID: <5504DBA2.5020100@...1...> Le 15/03/2015 00:41, Lewis Balentine a ?crit : > > Benoit, > I do not know if this will be helpful but regarding the warnings/errors: > Please see attached archive file for the make logs as well as the errors > captured from the console. > > For "make" they were typically warnings about depreciated calls for GTK. I know. GTK+3 tells when some API is deprecated, but often don't explain how to replace it! > -----------make example------------ > gtools.cpp: In function 'gColor get_gdk_bg_color(GtkWidget*, bool)': > gtools.cpp:179:5: warning: 'GtkStyle* gtk_widget_get_style(GtkWidget*)' > is deprecated (declared at > /usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h:672): Use > 'gtk_widget_get_style_context' instead [-Wdeprecated-declarations] > st=gtk_widget_get_style(wid); > ^ > > For "make install" they were typically errors about missing > "libdumb.so.1" file. No idea what that is... > -----------make install example------------ > make install-data-hook > make[4]: Entering directory > `/home/gbuilder/Documents/Build/gambas3-3.7.0/gb.openal/src' > Installing the gb.openal control icons if needed... > Creating the information files for gb.openal component... > Error loading libdumb.so.1: libdumb.so.1: cannot open shared object > file: No such file or directory > > For "make install" they were typically errors about GTK_IS_WIDGET. ?? > -----------run time error example------------ > (gbr3:1151): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion > 'GTK_IS_WIDGET (widget)' failed This is a runtime error, not an error during the installation... And this may come from the Mint GTK+ widget style. Regards, -- Beno?t Minisini From gambas at ...1... Sun Mar 15 02:09:29 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 15 Mar 2015 02:09:29 +0100 Subject: [Gambas-user] Release of Gambas 3.7, error in build In-Reply-To: <5504C72D.6000700@...3412...> References: <55041B0D.2050003@...1...> <55042BEF.3020608@...3412...> <55043462.3010007@...1...> <55043628.4000709@...1...> <55043A0F.1010200@...3412...> <55043D6A.3060609@...1...> <5504756A.60402@...3412...> <550486C0.6080208@...1...> <55048A00.1060105@...69...> <5504C72D.6000700@...3412...> Message-ID: <5504DBC9.9080402@...1...> Le 15/03/2015 00:41, Lewis Balentine a ?crit : > serbatoio voi Gianluigi, > > You saved me a lot of time. I did however find one more package that was > required. > # || Unable to met pkg-config requirement: QtOpenGL > # || gb.qt4.opengl is disabled > # add libqt4-opengl-dev > sudo apt-get install libqt4-opengl-dev > I have added that package to the Ubuntu installation instructions on the wiki. Regards, -- Beno?t Minisini From adamnt42 at ...626... Sun Mar 15 03:06:34 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Sun, 15 Mar 2015 12:36:34 +1030 Subject: [Gambas-user] GridView Row Height In-Reply-To: References: Message-ID: <20150315123634.dd42c6059aba788413a2a003@...626...> WARNING : Thread steal!!!! :-) While we're on the subject (almost)... Is there any way to set the row height in a column view. I have tried the -1 trick on everything I can see including the hidden objects to no avail. regards bruce -- B Bruen From sebikul at ...626... Sun Mar 15 04:15:51 2015 From: sebikul at ...626... (Sebastian Kulesz) Date: Sun, 15 Mar 2015 00:15:51 -0300 Subject: [Gambas-user] gambas 3.6 on ubuntu vivid In-Reply-To: <1261492545.4015051426325299585.JavaMail.httpd@...3451...> References: <1261492545.4015051426325299585.JavaMail.httpd@...3451...> Message-ID: I'm working on the Vivid builds for the 3.7 release. Please check back in a few hours, they should be live by then. On Sat, Mar 14, 2015 at 6:28 AM, corradoventu at ...69... < corradoventu at ...69...> wrote: > ubuntu vivid software center still offers gambas > 3.5.4.ppa:gambas-team/gambas-daily refuses working on vivid.ppa listed in > https://launchpad.net/~gambas-team/+archive/ubuntu/gambas3 does not > contain ppa for vividmay you help me?thank a lotcorrado > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sebikul at ...626... Sun Mar 15 04:16:59 2015 From: sebikul at ...626... (Sebastian Kulesz) Date: Sun, 15 Mar 2015 00:16:59 -0300 Subject: [Gambas-user] Is Gambas 3.7 in the repository In-Reply-To: References: Message-ID: I'm cleaning the bleeding edge repository, once it is working ok i will push the builds to the stable repository. On Sat, Mar 14, 2015 at 2:33 PM, Martin McGlensey wrote: > Hello, > > > > Is Gambas 3.7 in the repository? I just tried to update my Ubuntu 14.04 LTS > box and did not see Gambas. > > > > Thanks > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From lewis at ...3412... Sun Mar 15 04:37:12 2015 From: lewis at ...3412... (Lewis Balentine) Date: Sat, 14 Mar 2015 22:37:12 -0500 Subject: [Gambas-user] Release of Gambas 3.7, error in build In-Reply-To: <5504DBA2.5020100@...1...> References: <55041B0D.2050003@...1...> <55042BEF.3020608@...3412...> <55043462.3010007@...1...> <55043628.4000709@...1...> <55043A0F.1010200@...3412...> <55043D6A.3060609@...1...> <5504756A.60402@...3412...> <550486C0.6080208@...1...> <55048A00.1060105@...69...> <5504C72D.6000700@...3412...> <5504DBA2.5020100@...1...> Message-ID: <5504FE68.5070507@...3412...> "libdumb.so.1" > No idea what that is... < Well I found two possibilities: libdumb1-dev: libdumb1 (dynamic universal music bibliotheque) libdumbnet-dev: libdumbnet1 (libdumbnet is known as libdnet in other distributions) As OpenAL (Open Audio Library) is a cross-platform audio API I decide to give libdumb1 a try. sudo apt-get install libdumb1-dev That has eliminated the errors in the "makeinstall.log". Cheers, Lewis P.S. Qu'est-ce bibliotheque ? On 03/14/2015 08:08 PM, Beno?t Minisini wrote: > For "make install" they were typically errors about missing > "libdumb.so.1" file. > No idea what that is... > >> -----------make install example------------ >> make install-data-hook >> make[4]: Entering directory >> `/home/gbuilder/Documents/Build/gambas3-3.7.0/gb.openal/src' >> Installing the gb.openal control icons if needed... >> Creating the information files for gb.openal component... >> Error loading libdumb.so.1: libdumb.so.1: cannot open shared object >> file: No such file or directory >> >> > From gambas at ...1... Sun Mar 15 05:11:04 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 15 Mar 2015 05:11:04 +0100 Subject: [Gambas-user] Release of Gambas 3.7, error in build In-Reply-To: <5504FE68.5070507@...3412...> References: <55041B0D.2050003@...1...> <55042BEF.3020608@...3412...> <55043462.3010007@...1...> <55043628.4000709@...1...> <55043A0F.1010200@...3412...> <55043D6A.3060609@...1...> <5504756A.60402@...3412...> <550486C0.6080208@...1...> <55048A00.1060105@...69...> <5504C72D.6000700@...3412...> <5504DBA2.5020100@...1...> <5504FE68.5070507@...3412...> Message-ID: <55050658.4030300@...1...> Le 15/03/2015 04:37, Lewis Balentine a ?crit : > "libdumb.so.1" >> No idea what that is... < > > Well I found two possibilities: > libdumb1-dev: libdumb1 (dynamic universal music bibliotheque) > libdumbnet-dev: libdumbnet1 (libdumbnet is known as libdnet in other > distributions) > > As OpenAL (Open Audio Library) is a cross-platform audio API I decide to > give libdumb1 a try. > sudo apt-get install libdumb1-dev > > That has eliminated the errors in the "makeinstall.log". > OK, so this has to be added to the required packages. > Cheers, > > Lewis > > P.S. > Qu'est-ce bibliotheque ? > It's "library" in french. Regards, -- Beno?t Minisini From jusabejusabe at ...626... Sun Mar 15 13:18:24 2015 From: jusabejusabe at ...626... (Julio Sanchez) Date: Sun, 15 Mar 2015 13:18:24 +0100 Subject: [Gambas-user] Add support for Git in version control system Message-ID: Petition for improvement: For the next versions of Gambas3, be interesting to add the system to Git version control of our programs in gambas3 Regards Julio From willy at ...2734... Mon Mar 16 15:15:57 2015 From: willy at ...2734... (Willy Raets) Date: Mon, 16 Mar 2015 15:15:57 +0100 Subject: [Gambas-user] URGENT request to people of Gambas stable PPA Message-ID: <1426515357.5492.33.camel@...3024...> Hi, First, thank you for all the good and hard work getting Gambas out there. I have an urgent request for the Gambas-team people taking care of Gambas stable PPA. Would it be possible to have a PPA where Gambas 3.6.2 is available (a copy for example of the current). The reason I am asking is as follows. At work, I have been working on a complete rewriting of current VB Client applications under Windows/MSAccess to Gambas 3.6.2 client applications under Linux/MySql. This project started december 2013. The rewrites have finished a few months ago and since I have been testing all. I am about to migrate the Windows environment to Linux. For this I need a working Gambas 3.6.2 PPA. Compiling Gambas 3.6 on the local systems will not work. Simply because the installation of the Gambas 3.6 migrated application .debs will not work because of missing dependencies. Why? Well, the distros package management system is not aware of the locally compiled Gambas 3.6.2. and will try to look for a PPA that holds them. Since all my applications are coded for auto-update-install new application versions, using the newer .debs, my auto-update-install mechanisms will not work either! Access to a Gambas 3.7 PPA is no solution as none of the applications where tested against Gambas 3.7 and I do not have a few months time to retest all. The migration is planned for next week! For this reason I need access to a working Gambas 3.6.2 repository, but with the release of Gambas 3.7, the 3.6.2 will soon be updated and no more 3.6.2 PPA will be available. Is it possible to host the 3.6.2 version at launchpad in a separate PPA, so that it will stay available. And wouldn't it be handy to have such a PPA for each last 3.x version. Especially, for those working in a professional environment, where stability is more important that the latest and greatest version of something. I hope some kind of solution will be possible or else the project will have a setback of a few months and my bosses will NOT be happy. It took me quite some time to convince them to make the move from VB/Windows to Gambas/Linux,so this latest Gambas update is really bad timing for me. -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From lewis at ...3412... Mon Mar 16 15:25:12 2015 From: lewis at ...3412... (Lewis Balentine) Date: Mon, 16 Mar 2015 09:25:12 -0500 Subject: [Gambas-user] URGENT request to people of Gambas stable PPA In-Reply-To: <1426515357.5492.33.camel@...3024...> References: <1426515357.5492.33.camel@...3024...> Message-ID: <5506E7C8.4070100@...3412...> Have you considered setting up a local PPA. In that way you might also control 'what else' gets updated. http://inodes.org/2009/09/14/building-a-private-ppa-on-ubuntu/ Cheers, Lewis On 03/16/2015 09:15 AM, Willy Raets wrote: > Hi, > > First, thank you for all the good and hard work getting Gambas out > there. > > I have an urgent request for the Gambas-team people taking care of > Gambas stable PPA. > > Would it be possible to have a PPA where Gambas 3.6.2 is available (a > copy for example of the current). > > The reason I am asking is as follows. > > At work, I have been working on a complete rewriting of current VB > Client applications under Windows/MSAccess to Gambas 3.6.2 client > applications under Linux/MySql. This project started december 2013. > > The rewrites have finished a few months ago and since I have been > testing all. I am about to migrate the Windows environment to Linux. > > For this I need a working Gambas 3.6.2 PPA. > > Compiling Gambas 3.6 on the local systems will not work. Simply because > the installation of the Gambas 3.6 migrated application .debs will not > work because of missing dependencies. > > Why? Well, the distros package management system is not aware of the > locally compiled Gambas 3.6.2. and will try to look for a PPA that holds > them. Since all my applications are coded for auto-update-install new > application versions, using the newer .debs, my auto-update-install > mechanisms will not work either! > > Access to a Gambas 3.7 PPA is no solution as none of the applications > where tested against Gambas 3.7 and I do not have a few months time to > retest all. The migration is planned for next week! > > For this reason I need access to a working Gambas 3.6.2 repository, but > with the release of Gambas 3.7, the 3.6.2 will soon be updated and no > more 3.6.2 PPA will be available. > > Is it possible to host the 3.6.2 version at launchpad in a separate PPA, > so that it will stay available. > > And wouldn't it be handy to have such a PPA for each last 3.x version. > Especially, for those working in a professional environment, where > stability is more important that the latest and greatest version of > something. > > I hope some kind of solution will be possible or else the project will > have a setback of a few months and my bosses will NOT be happy. > > It took me quite some time to convince them to make the move from > VB/Windows to Gambas/Linux,so this latest Gambas update is really bad > timing for me. > From sebikul at ...626... Mon Mar 16 15:28:35 2015 From: sebikul at ...626... (Sebastian Kulesz) Date: Mon, 16 Mar 2015 11:28:35 -0300 Subject: [Gambas-user] URGENT request to people of Gambas stable PPA In-Reply-To: <1426515357.5492.33.camel@...3024...> References: <1426515357.5492.33.camel@...3024...> Message-ID: Hey there! I haven't pushed the update to the stable ppa yet. Just last night I updated the bleeding edge ppa and I would like to wait a day or two to see if any issues arise. I can not hold the update because of one user. Think that there are a lot of people waiting for the new features and fixes this release brings. >From what you wrote, I assume you are using a Debian based distro. Would it be possible for you to download a local copy of the repository instead of compiling Gambas? Google a tool named reprepo, try to set it up on a server locally, and download the packages currently available on the stable ppa. I won't update it for a day or two, and I will let you know with some time so you can prepare. But know that holding it for more than a few days is not ideal. If I can be of any help let me know! On Mar 16, 2015 11:17 AM, "Willy Raets" wrote: > Hi, > > First, thank you for all the good and hard work getting Gambas out > there. > > I have an urgent request for the Gambas-team people taking care of > Gambas stable PPA. > > Would it be possible to have a PPA where Gambas 3.6.2 is available (a > copy for example of the current). > > The reason I am asking is as follows. > > At work, I have been working on a complete rewriting of current VB > Client applications under Windows/MSAccess to Gambas 3.6.2 client > applications under Linux/MySql. This project started december 2013. > > The rewrites have finished a few months ago and since I have been > testing all. I am about to migrate the Windows environment to Linux. > > For this I need a working Gambas 3.6.2 PPA. > > Compiling Gambas 3.6 on the local systems will not work. Simply because > the installation of the Gambas 3.6 migrated application .debs will not > work because of missing dependencies. > > Why? Well, the distros package management system is not aware of the > locally compiled Gambas 3.6.2. and will try to look for a PPA that holds > them. Since all my applications are coded for auto-update-install new > application versions, using the newer .debs, my auto-update-install > mechanisms will not work either! > > Access to a Gambas 3.7 PPA is no solution as none of the applications > where tested against Gambas 3.7 and I do not have a few months time to > retest all. The migration is planned for next week! > > For this reason I need access to a working Gambas 3.6.2 repository, but > with the release of Gambas 3.7, the 3.6.2 will soon be updated and no > more 3.6.2 PPA will be available. > > Is it possible to host the 3.6.2 version at launchpad in a separate PPA, > so that it will stay available. > > And wouldn't it be handy to have such a PPA for each last 3.x version. > Especially, for those working in a professional environment, where > stability is more important that the latest and greatest version of > something. > > I hope some kind of solution will be possible or else the project will > have a setback of a few months and my bosses will NOT be happy. > > It took me quite some time to convince them to make the move from > VB/Windows to Gambas/Linux,so this latest Gambas update is really bad > timing for me. > > -- > Kind regards, > > Willy (aka gbWilly) > > http://gambasshowcase.org/ > http://howtogambas.org > http://gambos.org > > > > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From willy at ...2734... Mon Mar 16 15:34:13 2015 From: willy at ...2734... (Willy Raets) Date: Mon, 16 Mar 2015 15:34:13 +0100 Subject: [Gambas-user] URGENT request to people of Gambas stable PPA In-Reply-To: <5506E7C8.4070100@...3412...> References: <1426515357.5492.33.camel@...3024...> <5506E7C8.4070100@...3412...> Message-ID: <1426516453.5492.40.camel@...3024...> On ma, 2015-03-16 at 09:25 -0500, Lewis Balentine wrote: > Have you considered setting up a local PPA. > In that way you might also control 'what else' gets updated. > http://inodes.org/2009/09/14/building-a-private-ppa-on-ubuntu/ > > Cheers, > > Lewis Hi Lewis, I have considered this but IF I would get a PPA working, I do not have the know how to make the needed Gambas packages to go into the PPA. Another thing is the time constrain, I have much to do before the migration starts next week and that 'much to do' doesn't include learning how to set up a repo, learning how to package Gambas, test the repo and packages and so on... -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From sebikul at ...626... Mon Mar 16 15:43:12 2015 From: sebikul at ...626... (Sebastian Kulesz) Date: Mon, 16 Mar 2015 11:43:12 -0300 Subject: [Gambas-user] URGENT request to people of Gambas stable PPA In-Reply-To: <1426516453.5492.40.camel@...3024...> References: <1426515357.5492.33.camel@...3024...> <5506E7C8.4070100@...3412...> <1426516453.5492.40.camel@...3024...> Message-ID: On Mar 16, 2015 11:36 AM, "Willy Raets" wrote: > > On ma, 2015-03-16 at 09:25 -0500, Lewis Balentine wrote: > > Have you considered setting up a local PPA. > > In that way you might also control 'what else' gets updated. > > http://inodes.org/2009/09/14/building-a-private-ppa-on-ubuntu/ > > > > Cheers, > > > > Lewis > > Hi Lewis, > > I have considered this but IF I would get a PPA working, I do not have > the know how to make the needed Gambas packages to go into the PPA. > > Another thing is the time constrain, I have much to do before the > migration starts next week and that 'much to do' doesn't include > learning how to set up a repo, learning how to package Gambas, test the > repo and packages and so on... You can use the same packages that are now available on the ppa. Just use curl or wget to download them all. There is no need to build anything. > > > -- > Kind regards, > > Willy (aka gbWilly) > > http://gambasshowcase.org/ > http://howtogambas.org > http://gambos.org > > > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From chrisml at ...3340... Mon Mar 16 16:04:32 2015 From: chrisml at ...3340... (Christof Thalhofer) Date: Mon, 16 Mar 2015 16:04:32 +0100 Subject: [Gambas-user] URGENT request to people of Gambas stable PPA In-Reply-To: <1426516453.5492.40.camel@...3024...> (sfid-) References: <1426515357.5492.33.camel@...3024...> <5506E7C8.4070100@...3412...> <1426516453.5492.40.camel@...3024...> (sfid-) Message-ID: <5506F100.8040404@...3340...> Hello Willy, Am 16.03.2015 um 15:34 schrieb Willy Raets: > I have considered this but IF I would get a PPA working, I do not have > the know how to make the needed Gambas packages to go into the PPA. > > Another thing is the time constrain, I have much to do before the > migration starts next week and that 'much to do' doesn't include > learning how to set up a repo, learning how to package Gambas, test the > repo and packages and so on... It is really easy in Debian with Reprepro: apt-get install apache2 reprepro Create dirs: /var/www/apt/gambas3 /var/www/apt/gambas3/conf in /var/www/apt/gambas3/conf create three files: distributions options updates Filecontents: # -------- distributions Origin: My Gambas3 Label: My Gambas3 Architectures: i386 amd64 Suite: stable Codename: trusty Components: main Contents: .gz Update: - gambas3-ppa Description: My Gambas Archive # SignWith: XYZPGPKEY # -------- options verbose ask-passphrase # -------- updates Name: gambas3-ppa # Gambas3 Beta Method: http://ppa.launchpad.net/gambas-team/gambas-beta/ubuntu Components: main Architectures: i386 amd64 VerifyRelease: 6CAEE58D ------------------------------- To fetch the gambas repo from Launchpad: $: cd /var/www/apt/gambas3 $: reprepro -V update In your client pcs as root: touch /etc/apt/sources.list.d/mygambas.list # -------- mygambas.list deb http://mysserverip/apt/gambas3 trusty main That's all. The only thing I did not mention here is to create a gpg key to sign the repos. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From nigelverity at ...67... Mon Mar 16 16:18:38 2015 From: nigelverity at ...67... (Nigel Verity) Date: Mon, 16 Mar 2015 15:18:38 +0000 Subject: [Gambas-user] Interaction With Command Shell Message-ID: Hi I would welcome some advice about interacting with the Linux command shell from within a Gambas application. The requirement is to create a connection with a remote server using SSHFS. The general syntax for this command is: sshfs username at ...3453...:/foldername /local-mount-folder There is no option in the SSHFS command to include the user's password on the remote server. When running from a command prompt, once the sshfs command is accepted you are then prompted to enter the password. Is there any way, after executing the SSHFS command (using SHELL, presumably) to monitor for the password prompt and then send the password to the command shell? My aim is to create a dialog in which the user provides the server name, username and password and have Gambas do the rest to create the SSHFS connection. Thanks Nige From willy at ...2734... Mon Mar 16 16:20:11 2015 From: willy at ...2734... (Willy Raets) Date: Mon, 16 Mar 2015 16:20:11 +0100 Subject: [Gambas-user] URGENT request to people of Gambas stable PPA In-Reply-To: References: <1426515357.5492.33.camel@...3024...> Message-ID: <1426519211.5492.59.camel@...3024...> On ma, 2015-03-16 at 11:28 -0300, Sebastian Kulesz wrote: > Hey there! Hi Sebastian, Thanks for the quick response. > > I haven't pushed the update to the stable ppa yet. Just last night I > updated the bleeding edge ppa and I would like to wait a day or two to > see if any issues arise. Nice > > I can not hold the update because of one user. Think that there are a > lot of people waiting for the new features and fixes this release > brings. > > From what you wrote, I assume you are using a Debian based distro. > Would it be possible for you to download a local copy of the > repository instead of compiling Gambas? I used wget to make a local copy of your stable PPA onto my local disk. Now, if I understand it all well, I would: 1. Have to push this local copy of your PPA to our Debian server 2. I would have to install reprepo on the Debian server and somehow tell it where the repo is (so configure it). 3. I would need to configure apache to publish the repo. 4. On the clients edit the sources.list to point to the repo Are these the correct steps and in the right order to take? > > If I can be of any help let me know! I will probably need your help. I have been looking into reprepo for several times over the past few years, but never actually tried setting up a repo. Most documentation comes with a lot of bash scripts that are very specific for the shown example, or deal with having reprepo make packages from source and so on. None of the docs seems to aim at why I intend to do, set up an Ubuntu repo on a Debian server, with the packages ripped from a PPA. I have the feeling that making the folder structure and packages for the repo is not needed if ripping an existing ppa from its packages and folder structure. That should make the whole setup much eazier, but what to configure and what not in reprepo for this situation is a bit unclear to me. But somehow I have the feeling that even a lot of what needs to be configured is already in place when copying an existing PPA. I find it very hard to find documentation that makes sense to me and this specific situation. I have like a dozen of bookmarks in my browser on reprepro for a few years now (add new ones when I find them), reread them like every half year and still never managed to completely wrap my head around setting up a repo :) So any help is appreciated. -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From willy at ...2734... Mon Mar 16 16:23:29 2015 From: willy at ...2734... (Willy Raets) Date: Mon, 16 Mar 2015 16:23:29 +0100 Subject: [Gambas-user] URGENT request to people of Gambas stable PPA In-Reply-To: <5506F100.8040404@...3340...> References: <1426515357.5492.33.camel@...3024...> <5506E7C8.4070100@...3412...> <1426516453.5492.40.camel@...3024...> (sfid-) <5506F100.8040404@...3340...> Message-ID: <1426519409.5492.60.camel@...3024...> On ma, 2015-03-16 at 16:04 +0100, Christof Thalhofer wrote: > Hello Willy, > > Am 16.03.2015 um 15:34 schrieb Willy Raets: > > > I have considered this but IF I would get a PPA working, I do not have > > the know how to make the needed Gambas packages to go into the PPA. > > > > Another thing is the time constrain, I have much to do before the > > migration starts next week and that 'much to do' doesn't include > > learning how to set up a repo, learning how to package Gambas, test the > > repo and packages and so on... > > It is really easy in Debian with Reprepro: > > apt-get install apache2 reprepro > > Create dirs: > > /var/www/apt/gambas3 > /var/www/apt/gambas3/conf > > in /var/www/apt/gambas3/conf create three files: > > distributions options updates > > Filecontents: > > # -------- distributions > > Origin: My Gambas3 > Label: My Gambas3 > Architectures: i386 amd64 > Suite: stable > Codename: trusty > Components: main > Contents: .gz > Update: - gambas3-ppa > Description: My Gambas Archive > # SignWith: XYZPGPKEY > > # -------- options > > verbose > ask-passphrase > > # -------- updates > > Name: gambas3-ppa > # Gambas3 Beta > Method: http://ppa.launchpad.net/gambas-team/gambas-beta/ubuntu > Components: main > Architectures: i386 amd64 > VerifyRelease: 6CAEE58D > > ------------------------------- > > To fetch the gambas repo from Launchpad: > > $: cd /var/www/apt/gambas3 > $: reprepro -V update > > In your client pcs as root: > > touch /etc/apt/sources.list.d/mygambas.list > > # -------- mygambas.list > deb http://mysserverip/apt/gambas3 trusty main > > That's all. > > The only thing I did not mention here is to create a gpg key to sign the > repos. > > > Alles Gute > > Christof Thalhofer > Thanks -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From willy at ...2734... Mon Mar 16 16:25:03 2015 From: willy at ...2734... (Willy Raets) Date: Mon, 16 Mar 2015 16:25:03 +0100 Subject: [Gambas-user] URGENT request to people of Gambas stable PPA In-Reply-To: References: <1426515357.5492.33.camel@...3024...> <5506E7C8.4070100@...3412...> <1426516453.5492.40.camel@...3024...> Message-ID: <1426519503.5492.62.camel@...3024...> On ma, 2015-03-16 at 11:43 -0300, Sebastian Kulesz wrote: > > On Mar 16, 2015 11:36 AM, "Willy Raets" > wrote: > > > > On ma, 2015-03-16 at 09:25 -0500, Lewis Balentine wrote: > > > Have you considered setting up a local PPA. > > > In that way you might also control 'what else' gets updated. > > > http://inodes.org/2009/09/14/building-a-private-ppa-on-ubuntu/ > > > > > > Cheers, > > > > > > Lewis > > > > Hi Lewis, > > > > I have considered this but IF I would get a PPA working, I do not > have > > the know how to make the needed Gambas packages to go into the PPA. > > > > Another thing is the time constrain, I have much to do before the > > migration starts next week and that 'much to do' doesn't include > > learning how to set up a repo, learning how to package Gambas, test > the > > repo and packages and so on... > > You can use the same packages that are now available on the ppa. Just > use curl or wget to download them all. There is no need to build > anything. Are you saying that a wget and next publish the location in apache would do the trick? -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From taboege at ...626... Mon Mar 16 16:31:16 2015 From: taboege at ...626... (Tobias Boege) Date: Mon, 16 Mar 2015 16:31:16 +0100 Subject: [Gambas-user] Interaction With Command Shell In-Reply-To: References: Message-ID: <20150316153116.GA561@...2774...> On Mon, 16 Mar 2015, Nigel Verity wrote: > Hi > > I would welcome some advice about interacting with the Linux command shell from within a Gambas application. > > The requirement is to create a connection with a remote server using SSHFS. The general syntax for this command is: > > sshfs username at ...3453...:/foldername /local-mount-folder > > There is no option in the SSHFS command to include the user's password on the remote server. When running from a command prompt, once the sshfs command is accepted you are then prompted to enter the password. > > Is there any way, after executing the SSHFS command (using SHELL, presumably) to monitor for the password prompt and then send the password to the command shell? > > My aim is to create a dialog in which the user provides the server name, username and password and have Gambas do the rest to create the SSHFS connection. > I have once tried that, specifically with sshfs, too, and failed miserably. Your zeroth approximation should be to factor out Gambas and write a shell script which can pass the password to sshfs. If you've got that, you almost have the solution in Gambas. There is a program "expect" which was designed for specifically the purpose of waiting on a program's output for a specific pattern and then sending a given string to its input (i.e. to automate interactive programs). But it seems sshfs is putting extra effort into preventing this automation. I ended up creating a private/public key pair and have the server work with that so that I can login using these keys[0]. Maybe this is an option for you, too? If you can trick sshfs into being automated via expect or some other means, please let me know :-) Regards, Tobi [0] https://help.ubuntu.com/community/SSH/OpenSSH/Keys -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From chrisml at ...3340... Mon Mar 16 16:50:33 2015 From: chrisml at ...3340... (Christof Thalhofer) Date: Mon, 16 Mar 2015 16:50:33 +0100 Subject: [Gambas-user] URGENT request to people of Gambas stable PPA In-Reply-To: <1426519503.5492.62.camel@...3024...> (sfid-) References: <1426515357.5492.33.camel@...3024...> <5506E7C8.4070100@...3412...> <1426516453.5492.40.camel@...3024...> <1426519503.5492.62.camel@...3024...> (sfid-) Message-ID: <5506FBC9.1090908@...3340...> Am 16.03.2015 um 16:25 schrieb Willy Raets: > On ma, 2015-03-16 at 11:43 -0300, Sebastian Kulesz wrote: >> You can use the same packages that are now available on the ppa. Just >> use curl or wget to download them all. There is no need to build >> anything. > > Are you saying that a wget and next publish the location in apache would > do the trick? Maybe (just try it out), but if your clients will also rely on the launchpad stable dist they will fetch 3.7 from there as soon as stable lies there, because there lies the one with higher version number. AFAIK If you're familiar with the use of reprepro you can distribute your own software to your clients via apt also. I do that and it's nice and comfortable. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From gambas at ...1... Mon Mar 16 16:57:05 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 16 Mar 2015 16:57:05 +0100 Subject: [Gambas-user] Interaction With Command Shell In-Reply-To: <20150316153116.GA561@...2774...> References: <20150316153116.GA561@...2774...> Message-ID: <5506FD51.80308@...1...> Le 16/03/2015 16:31, Tobias Boege a ?crit : > On Mon, 16 Mar 2015, Nigel Verity wrote: >> Hi >> >> I would welcome some advice about interacting with the Linux command shell from within a Gambas application. >> >> The requirement is to create a connection with a remote server using SSHFS. The general syntax for this command is: >> >> sshfs username at ...3453...:/foldername /local-mount-folder >> >> There is no option in the SSHFS command to include the user's password on the remote server. When running from a command prompt, once the sshfs command is accepted you are then prompted to enter the password. >> >> Is there any way, after executing the SSHFS command (using SHELL, presumably) to monitor for the password prompt and then send the password to the command shell? >> >> My aim is to create a dialog in which the user provides the server name, username and password and have Gambas do the rest to create the SSHFS connection. >> > > I have once tried that, specifically with sshfs, too, and failed miserably. > Your zeroth approximation should be to factor out Gambas and write a shell > script which can pass the password to sshfs. If you've got that, you almost > have the solution in Gambas. > > There is a program "expect" which was designed for specifically the purpose > of waiting on a program's output for a specific pattern and then sending a > given string to its input (i.e. to automate interactive programs). But it > seems sshfs is putting extra effort into preventing this automation. > > I ended up creating a private/public key pair and have the server work with > that so that I can login using these keys[0]. Maybe this is an option for > you, too? > > If you can trick sshfs into being automated via expect or some other means, > please let me know :-) > > Regards, > Tobi > > [0] https://help.ubuntu.com/community/SSH/OpenSSH/Keys > I'm automating scp and ssh daily with Gambas, by detecting when the password prompt appears (and the ssh key confirmation question too). It cannot be 100% reliable, because any other program can print "password:" on its standard output, and apparently there is no way to know that a program is waiting for input. But in practise it works. If there is no clean way to do that, maybe I should make a component with that, even it's some quick & dirty hack? -- Beno?t Minisini From lewis at ...3412... Mon Mar 16 17:18:12 2015 From: lewis at ...3412... (Lewis Balentine) Date: Mon, 16 Mar 2015 11:18:12 -0500 Subject: [Gambas-user] URGENT request to people of Gambas stable PPA In-Reply-To: <1426515357.5492.33.camel@...3024...> References: <1426515357.5492.33.camel@...3024...> Message-ID: <55070244.4070106@...3412...> Another alternative: You might use 'apt-get' and 'apt-cache' (on a clean machine) to: 1) download Gambas 3.6.2 from the current PPA 2) build list of dependences 3) download all dependences Then copy all the debs to an appropriate portable device (USB Drive) Then write script to: 1) Install dependences first with web disconnected 2) Install Gambas 3.6.2 second with web disconnected 3) Install your custom application(s) I use a similar method to install Linux on a new machine so it can not download during the installation before I have a chance to point it toward my local "apt-catcher-ng" cache (much faster and saves a huge amount of bandwidth). I think that you are probably be better severed by a local repository but it it never hurts to have a plan "B". ;-) cheers, Lewis Ref: " 25 Useful Basic Commands of APT-GET and APT-CACHE for Package Management" http://www.tecmint.com/useful-basic-commands-of-apt-get-and-apt-cache-for-package-management/ On 03/16/2015 09:15 AM, Willy Raets wrote: > Hi, > > First, thank you for all the good and hard work getting Gambas out > there. > > I have an urgent request for the Gambas-team people taking care of > Gambas stable PPA. > > Would it be possible to have a PPA where Gambas 3.6.2 is available (a > copy for example of the current). > > The reason I am asking is as follows. > > At work, I have been working on a complete rewriting of current VB > Client applications under Windows/MSAccess to Gambas 3.6.2 client > applications under Linux/MySql. This project started december 2013. > > The rewrites have finished a few months ago and since I have been > testing all. I am about to migrate the Windows environment to Linux. > > For this I need a working Gambas 3.6.2 PPA. > > Compiling Gambas 3.6 on the local systems will not work. Simply because > the installation of the Gambas 3.6 migrated application .debs will not > work because of missing dependencies. > > Why? Well, the distros package management system is not aware of the > locally compiled Gambas 3.6.2. and will try to look for a PPA that holds > them. Since all my applications are coded for auto-update-install new > application versions, using the newer .debs, my auto-update-install > mechanisms will not work either! > > Access to a Gambas 3.7 PPA is no solution as none of the applications > where tested against Gambas 3.7 and I do not have a few months time to > retest all. The migration is planned for next week! > > For this reason I need access to a working Gambas 3.6.2 repository, but > with the release of Gambas 3.7, the 3.6.2 will soon be updated and no > more 3.6.2 PPA will be available. > > Is it possible to host the 3.6.2 version at launchpad in a separate PPA, > so that it will stay available. > > And wouldn't it be handy to have such a PPA for each last 3.x version. > Especially, for those working in a professional environment, where > stability is more important that the latest and greatest version of > something. > > I hope some kind of solution will be possible or else the project will > have a setback of a few months and my bosses will NOT be happy. > > It took me quite some time to convince them to make the move from > VB/Windows to Gambas/Linux,so this latest Gambas update is really bad > timing for me. > From willy at ...2734... Mon Mar 16 17:38:10 2015 From: willy at ...2734... (Willy Raets) Date: Mon, 16 Mar 2015 17:38:10 +0100 Subject: [Gambas-user] URGENT request to people of Gambas stable PPA In-Reply-To: <5506FBC9.1090908@...3340...> References: <1426515357.5492.33.camel@...3024...> <5506E7C8.4070100@...3412...> <1426516453.5492.40.camel@...3024...> <1426519503.5492.62.camel@...3024...> (sfid-) <5506FBC9.1090908@...3340...> Message-ID: <1426523890.5492.83.camel@...3024...> On ma, 2015-03-16 at 16:50 +0100, Christof Thalhofer wrote: > Am 16.03.2015 um 16:25 schrieb Willy Raets: > > > On ma, 2015-03-16 at 11:43 -0300, Sebastian Kulesz wrote: > >> You can use the same packages that are now available on the ppa. Just > >> use curl or wget to download them all. There is no need to build > >> anything. > > > > Are you saying that a wget and next publish the location in apache would > > do the trick? > > Maybe (just try it out), but if your clients will also rely on the > launchpad stable dist they will fetch 3.7 from there as soon as stable > lies there, because there lies the one with higher version number. The clients will have no references in their sources.list to the Gambas 3.7 PPA, so that should be no problem. I am currently trying to set it up. I have got the files in /var/www/apt/gambas3 I'm not sure though on what to publish so it makes sense for apt-get. The above ....apt/gambas3 folder has an ubuntu folder. In there you have dists and pool. dists contains a develop, lucid, precise, ... and trusty folder All the above mentioned folders (develop, lucid,..) hold a main folder, the release file and release.gpg The pool folder holds a main folder with folder g and l, with more subfolders eventually leading to the .deb packages. What I was wondering is, what level of the folder structure to publish in apache. /var/www/apt/gambas3? or /var/www/apt/gambas3/ubuntu? > > AFAIK > > If you're familiar with the use of reprepro you can distribute your own > software to your clients via apt also. I do that and it's nice and > comfortable. > > Alles Gute > > Christof Thalhofer > -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From bagoneo at ...69... Mon Mar 16 19:40:01 2015 From: bagoneo at ...69... (Gian) Date: Mon, 16 Mar 2015 19:40:01 +0100 Subject: [Gambas-user] Random access files with fixed-length string In-Reply-To: <55016604.1050802@...69...> References: <54FF5B63.7000602@...69...> <20150311131210.GB560@...2774...> <55016604.1050802@...69...> Message-ID: <55072381.1030506@...69...> Il 12/03/2015 11:10, Gian ha scritto: > Il 11/03/2015 14:12, Tobias Boege ha scritto: > >> Looks good. But, as you mentioned in the project description, it would also >> be possible, and easier, to use Structs, as we did[0]. > >> [0] http://gambaswiki.org/wiki/app/struct-db > > Great Tobias, > perhaps beginning to see the light. :) > I continue to study ... then I tell you. > Regards > Gianluigi > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > Hello Tobias, I attach a new version of Random access to files based on what you suggested me. I hope that well understand. What do you think, will come promoted or not? :) About gb.settings and gb.xml unfortunately I did not understand what you suggest me, perhaps to use their instead of the dat file? But how? Regards Gianluigi -------------- next part -------------- A non-text attachment was scrubbed... Name: MyStruct-DB-0.0.tar.gz Type: application/gzip Size: 8458 bytes Desc: not available URL: From taboege at ...626... Mon Mar 16 19:55:18 2015 From: taboege at ...626... (Tobias Boege) Date: Mon, 16 Mar 2015 19:55:18 +0100 Subject: [Gambas-user] Random access files with fixed-length string In-Reply-To: <55072381.1030506@...69...> References: <54FF5B63.7000602@...69...> <20150311131210.GB560@...2774...> <55016604.1050802@...69...> <55072381.1030506@...69...> Message-ID: <20150316185518.GB561@...2774...> On Mon, 16 Mar 2015, Gian wrote: > About gb.settings and gb.xml unfortunately I did not understand what you > suggest me, perhaps to use their instead of the dat file? But how? > If you are creating a new file format for your application, you should, when possible, refrain from using a binary format with string size limitations. That's the premise. Instead use gb.settings which is capable of formatting values in native datatypes (Integer, Float, String, ...) and even arrays and collections of them as human-readable, non-limited strings. If there is a scenario where a human might legitimately want to look at the data file of your application, you should make it human-readable. gb.settings also allows to structure the data slightly into "slots". Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From nigelverity at ...67... Mon Mar 16 22:39:36 2015 From: nigelverity at ...67... (Nigel Verity) Date: Mon, 16 Mar 2015 21:39:36 +0000 Subject: [Gambas-user] Interaction With Command Shell In-Reply-To: References: Message-ID: > Date: Mon, 16 Mar 2015 16:57:05 +0100 > From: Beno?t Minisini > Subject: Re: [Gambas-user] Interaction With Command Shell > To: mailing list for gambas users > Message-ID: <5506FD51.80308 at ...1...> > Content-Type: text/plain; charset=windows-1252; format=flowed > > Le 16/03/2015 16:31, Tobias Boege a ?crit : > > On Mon, 16 Mar 2015, Nigel Verity wrote: > >> Hi > >> > >> I would welcome some advice about interacting with the Linux command shell from within a Gambas application. > >> > >> The requirement is to create a connection with a remote server using SSHFS. The general syntax for this command is: > >> > >> sshfs username at ...3453...:/foldername /local-mount-folder > >> > >> There is no option in the SSHFS command to include the user's password on the remote server. When running from a command prompt, once the sshfs command is accepted you are then prompted to enter the password. > >> > >> Is there any way, after executing the SSHFS command (using SHELL, presumably) to monitor for the password prompt and then send the password to the command shell? > >> > >> My aim is to create a dialog in which the user provides the server name, username and password and have Gambas do the rest to create the SSHFS connection. > >> > > > > I have once tried that, specifically with sshfs, too, and failed miserably. > > Your zeroth approximation should be to factor out Gambas and write a shell > > script which can pass the password to sshfs. If you've got that, you almost > > have the solution in Gambas. > > > > There is a program "expect" which was designed for specifically the purpose > > of waiting on a program's output for a specific pattern and then sending a > > given string to its input (i.e. to automate interactive programs). But it > > seems sshfs is putting extra effort into preventing this automation. > > > > I ended up creating a private/public key pair and have the server work with > > that so that I can login using these keys[0]. Maybe this is an option for > > you, too? > > > > If you can trick sshfs into being automated via expect or some other means, > > please let me know :-) > > > > Regards, > > Tobi > > > > [0] https://help.ubuntu.com/community/SSH/OpenSSH/Keys > > > > I'm automating scp and ssh daily with Gambas, by detecting when the > password prompt appears (and the ssh key confirmation question too). > > It cannot be 100% reliable, because any other program can print > "password:" on its standard output, and apparently there is no way to > know that a program is waiting for input. > > But in practise it works. > > If there is no clean way to do that, maybe I should make a component > with that, even it's some quick & dirty hack? > > -- > Beno?t Minisini Hi Benoit I suspect there could be good security reasons why the author(s) of SSHFS keep the password entry separate from the main command string. However, this type of issue cannot be unique to SSHFS, so a Gambas component which can simulate the user interacting with a terminal could have a lot of uses. Handling unexpected error messages, which might appear in a terminal window when you are expecting a prompt of some kind, could make it complicated, though. Nige From lewis at ...3412... Mon Mar 16 22:42:58 2015 From: lewis at ...3412... (Lewis Balentine) Date: Mon, 16 Mar 2015 16:42:58 -0500 Subject: [Gambas-user] Interaction With Command Shell In-Reply-To: References: Message-ID: <55074E62.7030801@...3412...> Handling unexpected error messages, which might appear in a terminal window That of course assumes that there is a terminal windows open to receive the error messages. :-) Lewis On 03/16/2015 04:39 PM, Nigel Verity wrote: > Hi Benoit > > I suspect there could be good security reasons why the author(s) of SSHFS keep the password entry separate from the main command string. However, this type of issue cannot be unique to SSHFS, so a Gambas component which can simulate the user interacting with a terminal could have a lot of uses. Handling unexpected error messages, which might appear in a terminal window when you are expecting a prompt of some kind, could make it complicated, though. > > Nige > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From taboege at ...626... Mon Mar 16 22:44:48 2015 From: taboege at ...626... (Tobias Boege) Date: Mon, 16 Mar 2015 22:44:48 +0100 Subject: [Gambas-user] Interaction With Command Shell In-Reply-To: <5506FD51.80308@...1...> References: <20150316153116.GA561@...2774...> <5506FD51.80308@...1...> Message-ID: <20150316214448.GC561@...2774...> On Mon, 16 Mar 2015, Beno?t Minisini wrote: > Le 16/03/2015 16:31, Tobias Boege a ?crit : > > On Mon, 16 Mar 2015, Nigel Verity wrote: > >> Hi > >> > >> I would welcome some advice about interacting with the Linux command shell from within a Gambas application. > >> > >> The requirement is to create a connection with a remote server using SSHFS. The general syntax for this command is: > >> > >> sshfs username at ...3453...:/foldername /local-mount-folder > >> > >> There is no option in the SSHFS command to include the user's password on the remote server. When running from a command prompt, once the sshfs command is accepted you are then prompted to enter the password. > >> > >> Is there any way, after executing the SSHFS command (using SHELL, presumably) to monitor for the password prompt and then send the password to the command shell? > >> > >> My aim is to create a dialog in which the user provides the server name, username and password and have Gambas do the rest to create the SSHFS connection. > >> > > > > I have once tried that, specifically with sshfs, too, and failed miserably. > > Your zeroth approximation should be to factor out Gambas and write a shell > > script which can pass the password to sshfs. If you've got that, you almost > > have the solution in Gambas. > > > > There is a program "expect" which was designed for specifically the purpose > > of waiting on a program's output for a specific pattern and then sending a > > given string to its input (i.e. to automate interactive programs). But it > > seems sshfs is putting extra effort into preventing this automation. > > > > I ended up creating a private/public key pair and have the server work with > > that so that I can login using these keys[0]. Maybe this is an option for > > you, too? > > > > If you can trick sshfs into being automated via expect or some other means, > > please let me know :-) > > > > Regards, > > Tobi > > > > [0] https://help.ubuntu.com/community/SSH/OpenSSH/Keys > > > > I'm automating scp and ssh daily with Gambas, by detecting when the > password prompt appears (and the ssh key confirmation question too). > > It cannot be 100% reliable, because any other program can print > "password:" on its standard output, and apparently there is no way to > know that a program is waiting for input. > > But in practise it works. > > If there is no clean way to do that, maybe I should make a component > with that, even it's some quick & dirty hack? > I would definitely like to see it. I have a project here which can pipe a password into sudo and I remember seeing forum threads where others could automate sshfs mounts but all those approaches didn't work with my sshfs. (That's why I suspected that they put extra effort into preventing auto- mation, be it for their amusement or to discipline users.) Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Tue Mar 17 00:55:52 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 17 Mar 2015 00:55:52 +0100 Subject: [Gambas-user] Interaction With Command Shell In-Reply-To: <20150316214448.GC561@...2774...> References: <20150316153116.GA561@...2774...> <5506FD51.80308@...1...> <20150316214448.GC561@...2774...> Message-ID: <55076D88.5070401@...1...> Le 16/03/2015 22:44, Tobias Boege a ?crit : > On Mon, 16 Mar 2015, Beno?t Minisini wrote: >> Le 16/03/2015 16:31, Tobias Boege a ?crit : >>> On Mon, 16 Mar 2015, Nigel Verity wrote: >>>> Hi >>>> >>>> I would welcome some advice about interacting with the Linux command shell from within a Gambas application. >>>> >>>> The requirement is to create a connection with a remote server using SSHFS. The general syntax for this command is: >>>> >>>> sshfs username at ...3453...:/foldername /local-mount-folder >>>> >>>> There is no option in the SSHFS command to include the user's password on the remote server. When running from a command prompt, once the sshfs command is accepted you are then prompted to enter the password. >>>> >>>> Is there any way, after executing the SSHFS command (using SHELL, presumably) to monitor for the password prompt and then send the password to the command shell? >>>> >>>> My aim is to create a dialog in which the user provides the server name, username and password and have Gambas do the rest to create the SSHFS connection. >>>> >>> >>> I have once tried that, specifically with sshfs, too, and failed miserably. >>> Your zeroth approximation should be to factor out Gambas and write a shell >>> script which can pass the password to sshfs. If you've got that, you almost >>> have the solution in Gambas. >>> >>> There is a program "expect" which was designed for specifically the purpose >>> of waiting on a program's output for a specific pattern and then sending a >>> given string to its input (i.e. to automate interactive programs). But it >>> seems sshfs is putting extra effort into preventing this automation. >>> >>> I ended up creating a private/public key pair and have the server work with >>> that so that I can login using these keys[0]. Maybe this is an option for >>> you, too? >>> >>> If you can trick sshfs into being automated via expect or some other means, >>> please let me know :-) >>> >>> Regards, >>> Tobi >>> >>> [0] https://help.ubuntu.com/community/SSH/OpenSSH/Keys >>> >> >> I'm automating scp and ssh daily with Gambas, by detecting when the >> password prompt appears (and the ssh key confirmation question too). >> >> It cannot be 100% reliable, because any other program can print >> "password:" on its standard output, and apparently there is no way to >> know that a program is waiting for input. >> >> But in practise it works. >> >> If there is no clean way to do that, maybe I should make a component >> with that, even it's some quick & dirty hack? >> > > I would definitely like to see it. I have a project here which can pipe a > password into sudo and I remember seeing forum threads where others could > automate sshfs mounts but all those approaches didn't work with my sshfs. > (That's why I suspected that they put extra effort into preventing auto- > mation, be it for their amusement or to discipline users.) > > Regards, > Tobi > The idea would be the ability to define the concept of "command that sometimes asks for a password or something else", which would be linked with a list of command executable names, a prompt, and what to answer. As, "of course", each command do as it wants, and often commands run other commands that could prompt too (for example, svn uses the ssh protocol, but cannot give it any password, and ask for it several times). And, "of course", each command must be run in english, as we will not store the different prompts for all possible languages. I know the prompts of ssh, scp, and svn (but maybe not all). For other commands, I need the knowledge of the Gambas community! If you have other ideas about that, just tell. Regards, -- Beno?t Minisini From taboege at ...626... Tue Mar 17 01:42:37 2015 From: taboege at ...626... (Tobias Boege) Date: Tue, 17 Mar 2015 01:42:37 +0100 Subject: [Gambas-user] Interaction With Command Shell In-Reply-To: <55076D88.5070401@...1...> References: <20150316153116.GA561@...2774...> <5506FD51.80308@...1...> <20150316214448.GC561@...2774...> <55076D88.5070401@...1...> Message-ID: <20150317004237.GA15531@...2774...> On Tue, 17 Mar 2015, Beno?t Minisini wrote: > >> I'm automating scp and ssh daily with Gambas, by detecting when the > >> password prompt appears (and the ssh key confirmation question too). > >> > >> It cannot be 100% reliable, because any other program can print > >> "password:" on its standard output, and apparently there is no way to > >> know that a program is waiting for input. > >> > >> But in practise it works. > >> > >> If there is no clean way to do that, maybe I should make a component > >> with that, even it's some quick & dirty hack? > >> > > > > I would definitely like to see it. I have a project here which can pipe a > > password into sudo and I remember seeing forum threads where others could > > automate sshfs mounts but all those approaches didn't work with my sshfs. > > (That's why I suspected that they put extra effort into preventing auto- > > mation, be it for their amusement or to discipline users.) > > > > Regards, > > Tobi > > > > The idea would be the ability to define the concept of "command that > sometimes asks for a password or something else", which would be linked > with a list of command executable names, a prompt, and what to answer. > Oh, no, I meant I'd like to see the code you use to feed scp a password, in a plain project, just to see if it works here, too, and if I can adapt it to sshfs. Because it's weird that I give a password to sudo but not to sshfs. > As, "of course", each command do as it wants, and often commands run > other commands that could prompt too (for example, svn uses the ssh > protocol, but cannot give it any password, and ask for it several times). > > And, "of course", each command must be run in english, as we will not > store the different prompts for all possible languages. > > I know the prompts of ssh, scp, and svn (but maybe not all). For other > commands, I need the knowledge of the Gambas community! > > If you have other ideas about that, just tell. > Two things: - some programs, like sudo, allow to define a prompt. The code could take advantage of that if we teach it which programs allow that and how, - prompts may also depend on the software version, distribution or configuration (I remember there was a program which had a different prompt at school than it had at my home computer, might have also been sudo). The class you described in your first paragraph would have essentially no more data than Private $aPrograms As String[] ' Program executable paths Private $sPrompt As String ' Prompt (String vs. Like pattern vs. gb.pcre?) Private $sAnswer As String ' Answer ' or arrays of the latter two. We never want to save $sAnswer to disk. But the first two depend only on the machine (on non-sophisticated systems where each user has its own local version of a program), so they could be saved in a database by the component requiring only to give the answer each time the Gambas process starts anew. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From corradoventu at ...69... Tue Mar 17 09:24:01 2015 From: corradoventu at ...69... (corradoventu at ...69...) Date: Tue, 17 Mar 2015 09:24:01 +0100 (CET) Subject: [Gambas-user] daily PPA for ubuntu vivid not found Message-ID: <1052315103.4648261426580641210.JavaMail.httpd@...3454...> on my ubuntu vivid i added in sources.list the lines suggested in:https://launchpad.net/~gambas-team/+archive/ubuntu/gambas-daily deb http://ppa.launchpad.net/gambas-team/gambas-daily/ubuntu vivid maindeb-src http://ppa.launchpad.net/gambas-team/gambas-daily/ubuntu vivid main i also added the key:sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 50B027516CAEE58D but from apt-get updtate i have messages:W: Failed to fetch http://ppa.launchpad.net/gambas-team/gambas3/ubuntu/dists/vivid/main/binary-amd64/Packages 404 Not Found W: Failed to fetch http://ppa.launchpad.net/gambas-team/gambas3/ubuntu/dists/vivid/main/binary-i386/Packages 404 Not Found may you help me?thankscorrado From girardhenri at ...67... Tue Mar 17 09:43:00 2015 From: girardhenri at ...67... (Henri Girard) Date: Tue, 17 Mar 2015 09:43:00 +0100 Subject: [Gambas-user] daily PPA for ubuntu vivid not found In-Reply-To: <1052315103.4648261426580641210.JavaMail.httpd@...3454...> References: <1052315103.4648261426580641210.JavaMail.httpd@...3454...> Message-ID: Doesn't work yet on vivid correct it to trusty or utopic Le 17/03/2015 09:24, corradoventu at ...69... a ?crit : > on my ubuntu vivid i added in sources.list the lines suggested in:https://launchpad.net/~gambas-team/+archive/ubuntu/gambas-daily > deb http://ppa.launchpad.net/gambas-team/gambas-daily/ubuntu vivid maindeb-src http://ppa.launchpad.net/gambas-team/gambas-daily/ubuntu vivid main i also added the key:sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 50B027516CAEE58D > > but from apt-get updtate i have messages:W: Failed to fetch http://ppa.launchpad.net/gambas-team/gambas3/ubuntu/dists/vivid/main/binary-amd64/Packages 404 Not Found > W: Failed to fetch http://ppa.launchpad.net/gambas-team/gambas3/ubuntu/dists/vivid/main/binary-i386/Packages 404 Not Found > may you help me?thankscorrado > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From bagoneo at ...69... Tue Mar 17 10:29:37 2015 From: bagoneo at ...69... (Gian) Date: Tue, 17 Mar 2015 10:29:37 +0100 Subject: [Gambas-user] daily PPA for ubuntu vivid not found In-Reply-To: <1052315103.4648261426580641210.JavaMail.httpd@...3454...> References: <1052315103.4648261426580641210.JavaMail.httpd@...3454...> Message-ID: <5507F401.1000502@...69...> Il 17/03/2015 09:24, corradoventu at ...69... ha scritto: > on my ubuntu vivid i added in sources.list the lines suggested in:https://launchpad.net/~gambas-team/+archive/ubuntu/gambas-daily > deb http://ppa.launchpad.net/gambas-team/gambas-daily/ubuntu vivid maindeb-src http://ppa.launchpad.net/gambas-team/gambas-daily/ubuntu vivid main i also added the key:sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 50B027516CAEE58D > > but from apt-get updtate i have messages:W: Failed to fetch http://ppa.launchpad.net/gambas-team/gambas3/ubuntu/dists/vivid/main/binary-amd64/Packages 404 Not Found > W: Failed to fetch http://ppa.launchpad.net/gambas-team/gambas3/ubuntu/dists/vivid/main/binary-i386/Packages 404 Not Found > may you help me?thankscorrado > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Hi Corrado, look here [0] to compile, if you can help. Ciao Gianluigi [0] http://www.gambas-it.org/smf/index.php?topic=3961.msg35229#msg35229 From john.aaron.rose at ...626... Tue Mar 17 14:00:17 2015 From: john.aaron.rose at ...626... (John Rose) Date: Tue, 17 Mar 2015 13:00:17 +0000 Subject: [Gambas-user] =?utf-8?q?Bizarre_results_when_entering_a_=C2=A3_sy?= =?utf-8?q?mbol_into_a_TextArea_or_TextBox?= Message-ID: <55082561.7030403@...626...> When entering a ? character (i.e. the British pound symbol not the American one) into a TextArea or TextBox, it seems to be 'interpreted' as a funny looking question mark (i.e. sort of reverse black & white) when it's shown on the Console using a Print statement (actioned in a Change event). I wonder if this could be due to Gambas/Ubuntu regarding my keyboard as American even though it's 'installed' within Ubuntu as British. -- John -------------- next part -------------- A non-text attachment was scrubbed... Name: Test.tar.gz Type: application/gzip Size: 8861 bytes Desc: not available URL: From jussi.lahtinen at ...626... Tue Mar 17 14:33:34 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 17 Mar 2015 15:33:34 +0200 Subject: [Gambas-user] =?utf-8?q?Bizarre_results_when_entering_a_=C2=A3_sy?= =?utf-8?q?mbol_into_a_TextArea_or_TextBox?= In-Reply-To: <55082561.7030403@...626...> References: <55082561.7030403@...626...> Message-ID: Maybe the console takes only ASCII characters? Jussi On Tue, Mar 17, 2015 at 3:00 PM, John Rose wrote: > When entering a ? character (i.e. the British pound symbol not the > American one) into a TextArea or TextBox, it seems to be 'interpreted' > as a funny looking question mark (i.e. sort of reverse black & white) > when it's shown on the Console using a Print statement (actioned in a > Change event). I wonder if this could be due to Gambas/Ubuntu regarding > my keyboard as American even though it's 'installed' within Ubuntu as > British. > > -- > > John > > > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From sebikul at ...626... Tue Mar 17 15:07:01 2015 From: sebikul at ...626... (Sebastian Kulesz) Date: Tue, 17 Mar 2015 11:07:01 -0300 Subject: [Gambas-user] daily PPA for ubuntu vivid not found In-Reply-To: <5507F401.1000502@...69...> References: <1052315103.4648261426580641210.JavaMail.httpd@...3454...> <5507F401.1000502@...69...> Message-ID: The PPA has packages available for Vivid. The error you are getting is confusing me. The PPA lp:~gambas-team/gambas-daily has the packages, not lp:~gambas-team/gambas3, which is the one throwing you the 404 errors. On Tue, Mar 17, 2015 at 6:29 AM, Gian wrote: > Il 17/03/2015 09:24, corradoventu at ...69... ha scritto: > > on my ubuntu vivid i added in sources.list the lines suggested in: > https://launchpad.net/~gambas-team/+archive/ubuntu/gambas-daily > > deb http://ppa.launchpad.net/gambas-team/gambas-daily/ubuntu vivid > maindeb-src http://ppa.launchpad.net/gambas-team/gambas-daily/ubuntu > vivid main i also added the key:sudo apt-key adv --recv-keys --keyserver > keyserver.ubuntu.com 50B027516CAEE58D > > > > but from apt-get updtate i have messages:W: Failed to fetch > http://ppa.launchpad.net/gambas-team/gambas3/ubuntu/dists/vivid/main/binary-amd64/Packages > 404 Not Found > > W: Failed to fetch > http://ppa.launchpad.net/gambas-team/gambas3/ubuntu/dists/vivid/main/binary-i386/Packages > 404 Not Found > > may you help me?thankscorrado > > > ------------------------------------------------------------------------------ > > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > > by Intel and developed in partnership with Slashdot Media, is your hub > for all > > things parallel software development, from weekly thought leadership > blogs to > > news, videos, case studies, tutorials and more. Take a look and join the > > conversation now. http://goparallel.sourceforge.net/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > Hi Corrado, > look here [0] to compile, if you can help. > Ciao > Gianluigi > > [0] http://www.gambas-it.org/smf/index.php?topic=3961.msg35229#msg35229 > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From john.aaron.rose at ...626... Tue Mar 17 15:33:17 2015 From: john.aaron.rose at ...626... (John Rose) Date: Tue, 17 Mar 2015 14:33:17 +0000 Subject: [Gambas-user] =?utf-8?q?Bizarre_results_when_entering_a_=C2=A3_sy?= =?utf-8?q?mbol_into_a_TextArea_or_TextBox?= In-Reply-To: References: <55082561.7030403@...626...> Message-ID: <55083B2D.40207@...626...> On 17/03/15 13:33, Jussi Lahtinen wrote: > Maybe the console takes only ASCII characters? > > > Jussi > > On Tue, Mar 17, 2015 at 3:00 PM, John Rose > wrote: > >> When entering a ? character (i.e. the British pound symbol not the >> American one) into a TextArea or TextBox, it seems to be 'interpreted' >> as a funny looking question mark (i.e. sort of reverse black & white) >> when it's shown on the Console using a Print statement (actioned in a >> Change event). I wonder if this could be due to Gambas/Ubuntu regarding >> my keyboard as American even though it's 'installed' within Ubuntu as >> British. >> >> -- >> >> John >> >> >> >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, >> sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub for >> all >> things parallel software development, from weekly thought leadership blogs >> to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user I don't think that it's caused by Print statements to the Console. When I amend the Change event coding (see below) for the TextArea and run the app with just a ? character keyed into the TextArea, I get on the Console (with the ? character displayed OK in the TextArea): X sCh=? Y ZZ * *** The coding is: Dim i As Integer Dim sCh As String For i = 1 To PrintedTextArea.Length sCh = Mid(PrintedTextArea.Text, i, 1) Print "sCh=" & sCh Print "X" Print "sCh=" & sCh Print "Y" sCh = Mid(Last.Text, i, 1) Select sCh Case "?", "?", "&", ".", "/", "=" Print "Z" Case Else Print "ZZ" End Select Print "*" Next Print "***" Which implies that the above Select statement is not recognising an input ? as it is regarded it as the funny question mark when input into the TextArea. Looking at www.asciitable.com, Chr(35) is # which I would assume that Ubuntu should regard as a ? on a British keyboard. There seems to be a bug: either on Ubuntu or Gambas. Which is it? From jussi.lahtinen at ...626... Tue Mar 17 16:50:11 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 17 Mar 2015 17:50:11 +0200 Subject: [Gambas-user] =?utf-8?q?Bizarre_results_when_entering_a_=C2=A3_sy?= =?utf-8?q?mbol_into_a_TextArea_or_TextBox?= In-Reply-To: <55083B2D.40207@...626...> References: <55082561.7030403@...626...> <55083B2D.40207@...626...> Message-ID: Oh I missed you are using Mid() function, it is only for ASCII characters, use String.Mid() instead. Jussi On Tue, Mar 17, 2015 at 4:33 PM, John Rose wrote: > On 17/03/15 13:33, Jussi Lahtinen wrote: > > Maybe the console takes only ASCII characters? > > > > > > Jussi > > > > On Tue, Mar 17, 2015 at 3:00 PM, John Rose > > wrote: > > > >> When entering a ? character (i.e. the British pound symbol not the > >> American one) into a TextArea or TextBox, it seems to be 'interpreted' > >> as a funny looking question mark (i.e. sort of reverse black & white) > >> when it's shown on the Console using a Print statement (actioned in a > >> Change event). I wonder if this could be due to Gambas/Ubuntu regarding > >> my keyboard as American even though it's 'installed' within Ubuntu as > >> British. > >> > >> -- > >> > >> John > >> > >> > >> > >> > >> > >> > ------------------------------------------------------------------------------ > >> Dive into the World of Parallel Programming The Go Parallel Website, > >> sponsored > >> by Intel and developed in partnership with Slashdot Media, is your hub > for > >> all > >> things parallel software development, from weekly thought leadership > blogs > >> to > >> news, videos, case studies, tutorials and more. Take a look and join the > >> conversation now. http://goparallel.sourceforge.net/ > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > >> > > > ------------------------------------------------------------------------------ > > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > > by Intel and developed in partnership with Slashdot Media, is your hub > for all > > things parallel software development, from weekly thought leadership > blogs to > > news, videos, case studies, tutorials and more. Take a look and join the > > conversation now. http://goparallel.sourceforge.net/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > I don't think that it's caused by Print statements to the Console. When > I amend the Change event coding (see below) for the TextArea and run the > app with just a ? character keyed into the TextArea, I get on the > Console (with the ? character displayed OK in the TextArea): > X > sCh=? > Y > ZZ > * > *** > > The coding is: > Dim i As Integer > Dim sCh As String > For i = 1 To PrintedTextArea.Length > sCh = Mid(PrintedTextArea.Text, i, 1) > Print "sCh=" & sCh > Print "X" > Print "sCh=" & sCh > Print "Y" > sCh = Mid(Last.Text, i, 1) > Select sCh > Case "?", "?", "&", ".", "/", "=" > Print "Z" > Case Else > Print "ZZ" > End Select > Print "*" > Next > Print "***" > > Which implies that the above Select statement is not recognising an > input ? as it is regarded it as the funny question mark when input into > the TextArea. Looking at www.asciitable.com, Chr(35) is # which I would > assume that Ubuntu should regard as a ? on a British keyboard. There > seems to be a bug: either on Ubuntu or Gambas. Which is it? > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From willy at ...2734... Tue Mar 17 17:19:56 2015 From: willy at ...2734... (Willy Raets) Date: Tue, 17 Mar 2015 17:19:56 +0100 Subject: [Gambas-user] URGENT request to people of Gambas stable PPA In-Reply-To: References: <1426515357.5492.33.camel@...3024...> Message-ID: <1426609196.19367.19.camel@...3024...> On ma, 2015-03-16 at 11:28 -0300, Sebastian Kulesz wrote: > Hey there! > > I haven't pushed the update to the stable ppa yet. Just last night I > updated the bleeding edge ppa and I would like to wait a day or two to > see if any issues arise. > > I can not hold the update because of one user. Think that there are a > lot of people waiting for the new features and fixes this release > brings. > > From what you wrote, I assume you are using a Debian based distro. > Would it be possible for you to download a local copy of the > repository instead of compiling Gambas? Google a tool named reprepo, > try to set it up on a server locally, and download the packages > currently available on the stable ppa. I won't update it for a day or > two, and I will let you know with some time so you can prepare. But > know that holding it for more than a few days is not ideal. > > If I can be of any help let me know! > Hi Sebastian, I managed to get my own local repository running with the Gambas 3.6.2 from your PPA. I also managed to install from there (just needed to neglect the key warnings). So, as far as I am concerned there is no need to hold back the release of Gambas 3.7 Thanks for your cooperation. -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From lewis at ...3412... Tue Mar 17 17:35:30 2015 From: lewis at ...3412... (Lewis Balentine) Date: Tue, 17 Mar 2015 11:35:30 -0500 Subject: [Gambas-user] URGENT request to people of Gambas stable PPA In-Reply-To: <1426609196.19367.19.camel@...3024...> References: <1426515357.5492.33.camel@...3024...> <1426609196.19367.19.camel@...3024...> Message-ID: <550857D2.2070706@...3412...> Congratulations Willy :-) On 03/17/2015 11:19 AM, Willy Raets wrote: > I managed to get my own local repository running with the Gambas 3.6.2 > from your PPA. I also managed to install from there (just needed to > neglect the key warnings). > From willy at ...2734... Tue Mar 17 17:38:45 2015 From: willy at ...2734... (Willy Raets) Date: Tue, 17 Mar 2015 17:38:45 +0100 Subject: [Gambas-user] URGENT request to people of Gambas stable PPA In-Reply-To: <550857D2.2070706@...3412...> References: <1426515357.5492.33.camel@...3024...> <1426609196.19367.19.camel@...3024...> <550857D2.2070706@...3412...> Message-ID: <1426610325.19367.32.camel@...3024...> On di, 2015-03-17 at 11:35 -0500, Lewis Balentine wrote: > Congratulations Willy :-) Thanks, and it only costed me a days work to figure it all out :) I guess this might mean I'll manage to get the migration going next week as planned. > > On 03/17/2015 11:19 AM, Willy Raets wrote: > > I managed to get my own local repository running with the Gambas 3.6.2 > > from your PPA. I also managed to install from there (just needed to > > neglect the key warnings). > > > -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From vuott at ...325... Tue Mar 17 18:02:38 2015 From: vuott at ...325... (Ru Vuott) Date: Tue, 17 Mar 2015 17:02:38 +0000 Subject: [Gambas-user] Revision #4160 feature doesn't work anymore. Message-ID: <1426611758.401.YahooMailBasic@...3268...> Hello Beno?t, as you may recall, revision #4160 implemented the feature to "watch" the file-descriptor passed by the ALSA function "snd_seq_event_input (seq, & event)", which allows to read a file-descriptor when it is "ready". Well, I must say that this feature **always worked very well**. Lately, instead, I have found that it no longer works. But - dear me ! - I do not know exactly when it no longer works, because they were many months that I did not use any program, written by me ("Demo Drum-Machine" and "Sequencer Midi"), having this feature. The engine of the demo project of Drum-Machine, as also my Midi Sequencer, consists of a cycle that - receiving from that function Alsa a precise date - allows to send Midi data packets in sequence until the end of the file Midi. I noticed that - "now" - if it was a planned cycle, the two programs crash right at the predicted ALSA function "snd_seq_event_input (seq, & event)". (You can see this function at: Public Sub File_Read() procedure of CAlsa.class in the Drum-Machine project.) But, if the program sends data simply by a Midi keyboard, everything works well enough (...I say enough, because sometimes some data is not played. Before, when "everything" worked well, even this small problem existed using the keyboard). Well, I send you, attachments, two projects of the Drum Machine: - The first, that does NOT work (that is with current problem). - The second works..... but it is the first project I "edited" to make it works. I had to write a FOR loop in the procedure "Public Sub btGrid_Click ()", when the program part for the first time, are now forced to send two times the dummy initial echo. Regards vuott -------------- next part -------------- A non-text attachment was scrubbed... Name: DrumMachine-does-NOT-work-0.0.5.tar.gz Type: application/gzipped-tar Size: 15233 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: DrumMachine_WORKS-0.0.6.tar.gz Type: application/gzipped-tar Size: 15098 bytes Desc: not available URL: From sebikul at ...626... Tue Mar 17 18:30:50 2015 From: sebikul at ...626... (Sebastian Kulesz) Date: Tue, 17 Mar 2015 14:30:50 -0300 Subject: [Gambas-user] URGENT request to people of Gambas stable PPA In-Reply-To: <1426610325.19367.32.camel@...3024...> References: <1426515357.5492.33.camel@...3024...> <1426609196.19367.19.camel@...3024...> <550857D2.2070706@...3412...> <1426610325.19367.32.camel@...3024...> Message-ID: On Mar 17, 2015 1:39 PM, "Willy Raets" wrote: > > On di, 2015-03-17 at 11:35 -0500, Lewis Balentine wrote: > > Congratulations Willy :-) > > > Thanks, and it only costed me a days work to figure it all out :) > > I guess this might mean I'll manage to get the migration going next week > as planned. Thats great news! I haven't heard of any problems so far, so I will push the update tonight. > > > > > On 03/17/2015 11:19 AM, Willy Raets wrote: > > > I managed to get my own local repository running with the Gambas 3.6.2 > > > from your PPA. I also managed to install from there (just needed to > > > neglect the key warnings). > > > > > > > -- > Kind regards, > > Willy (aka gbWilly) > > http://gambasshowcase.org/ > http://howtogambas.org > http://gambos.org > > > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From john.aaron.rose at ...626... Wed Mar 18 08:31:01 2015 From: john.aaron.rose at ...626... (John Rose) Date: Wed, 18 Mar 2015 07:31:01 +0000 Subject: [Gambas-user] =?utf-8?q?Bizarre_results_when_entering_a_=C2=A3_sy?= =?utf-8?q?mbol_into_a_TextArea_or_TextBox?= In-Reply-To: References: <55082561.7030403@...626...> <55083B2D.40207@...626...> Message-ID: <550929B5.5000406@...626...> Jussi, Since you are top posting, I shall also top post: hopefully, it won't start another long discussion. Thanks for the suggestion about using String methods. The Test app now works properly using the String methods. Also, the = and &= operators work OK for strings containing non-ASCII characters such as $. John On 17/03/15 15:50, Jussi Lahtinen wrote: > Oh I missed you are using Mid() function, it is only for ASCII characters, > use String.Mid() instead. > > > Jussi > > On Tue, Mar 17, 2015 at 4:33 PM, John Rose > wrote: > >> On 17/03/15 13:33, Jussi Lahtinen wrote: >>> Maybe the console takes only ASCII characters? >>> >>> >>> Jussi >>> >>> On Tue, Mar 17, 2015 at 3:00 PM, John Rose >>> wrote: >>> >>>> When entering a ? character (i.e. the British pound symbol not the >>>> American one) into a TextArea or TextBox, it seems to be 'interpreted' >>>> as a funny looking question mark (i.e. sort of reverse black & white) >>>> when it's shown on the Console using a Print statement (actioned in a >>>> Change event). I wonder if this could be due to Gambas/Ubuntu regarding >>>> my keyboard as American even though it's 'installed' within Ubuntu as >>>> British. >>>> >>>> -- >>>> >>>> John >>>> >>>> >>>> >>>> >>>> >>>> >> ------------------------------------------------------------------------------ >>>> Dive into the World of Parallel Programming The Go Parallel Website, >>>> sponsored >>>> by Intel and developed in partnership with Slashdot Media, is your hub >> for >>>> all >>>> things parallel software development, from weekly thought leadership >> blogs >>>> to >>>> news, videos, case studies, tutorials and more. Take a look and join the >>>> conversation now. http://goparallel.sourceforge.net/ >>>> _______________________________________________ >>>> Gambas-user mailing list >>>> Gambas-user at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>> >>>> >> ------------------------------------------------------------------------------ >>> Dive into the World of Parallel Programming The Go Parallel Website, >> sponsored >>> by Intel and developed in partnership with Slashdot Media, is your hub >> for all >>> things parallel software development, from weekly thought leadership >> blogs to >>> news, videos, case studies, tutorials and more. Take a look and join the >>> conversation now. http://goparallel.sourceforge.net/ >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> I don't think that it's caused by Print statements to the Console. When >> I amend the Change event coding (see below) for the TextArea and run the >> app with just a ? character keyed into the TextArea, I get on the >> Console (with the ? character displayed OK in the TextArea): >> X >> sCh=? >> Y >> ZZ >> * >> *** >> >> The coding is: >> Dim i As Integer >> Dim sCh As String >> For i = 1 To PrintedTextArea.Length >> sCh = Mid(PrintedTextArea.Text, i, 1) >> Print "sCh=" & sCh >> Print "X" >> Print "sCh=" & sCh >> Print "Y" >> sCh = Mid(Last.Text, i, 1) >> Select sCh >> Case "?", "?", "&", ".", "/", "=" >> Print "Z" >> Case Else >> Print "ZZ" >> End Select >> Print "*" >> Next >> Print "***" >> >> Which implies that the above Select statement is not recognising an >> input ? as it is regarded it as the funny question mark when input into >> the TextArea. Looking at www.asciitable.com, Chr(35) is # which I would >> assume that Ubuntu should regard as a ? on a British keyboard. There >> seems to be a bug: either on Ubuntu or Gambas. Which is it? >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, >> sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub for >> all >> things parallel software development, from weekly thought leadership blogs >> to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...2524... Wed Mar 18 11:36:07 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 18 Mar 2015 10:36:07 +0000 Subject: [Gambas-user] Issue 610 in gambas: Debian packaging of control: Depends only gambas3-runtime Message-ID: <0-6813199134517018827-2152985786088638367-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-TRUNK Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 610 by chr4... at ...1601...: Debian packaging of control: Depends only gambas3-runtime https://code.google.com/p/gambas/issues/detail?id=610 1) Describe the problem. When packaging a component for Debian, inside the resulting .deb the file DEBIAN/control defines dependancies in the tag Depends. When packaging a Gambas control which depends on several other Gambas components, it should list these components here to ensure, that they are installed via apt. Instead there are only these dependancies listed: Depends: gambas3-runtime (>= 3.7), gambas3-runtime (<< 3.99.0) 2) Reproduce Attached is a project, which depends on Component=gb.db Component=gb.image Component=gb.qt4 Component=gb.form Create a Debian Package from it. Look inside the created .deb file in DEBIAN/control and see, it only depends gambas3-runtime. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From john.aaron.rose at ...626... Wed Mar 18 12:30:12 2015 From: john.aaron.rose at ...626... (John Rose) Date: Wed, 18 Mar 2015 11:30:12 +0000 Subject: [Gambas-user] Maskbox mask & text entry Message-ID: <550961C4.4030703@...626...> I have a Maskbox with mask [A-Za-z][A-Za-z]. I noticed that the IDE does not show the MaxLength property. I want the user to be able to enter lower case & have the entry displayed as upper case for either of the 2 characters. When I run the attached Test app, it only seems to allow the entry of 1 characted. When 'a' followed by 'd' is entered, the Maskbox displays D and the Console shows from the Print statements carried out by code conversion of lower case to uppercase: SteckerMaskBox.MaxLength=0 SteckerMaskBox.Length=1 SteckerMaskBox.Text=a SteckerMaskBox.Mask=[A-Za-z][A-Za-z] Length=1 SteckerMaskBox.MaxLength=0 SteckerMaskBox.Length=1 SteckerMaskBox.Text=d SteckerMaskBox.Mask=[A-Za-z][A-Za-z] Length=1 What is the solution to allow a 2 character entry? PS I'm using Gambas Stable Builds ppa with gambas version showing as 3.7.90 though Gambas IDE Title bar shows DEVELOPMENT VERSION - USE AT YOUR OWN RISK. Could this 'Stable' ppa contain a jinxed Gambas version? -- John -------------- next part -------------- A non-text attachment was scrubbed... Name: Test.tar.gz Type: application/gzip Size: 9337 bytes Desc: not available URL: From bagoneo at ...69... Wed Mar 18 13:38:37 2015 From: bagoneo at ...69... (Gian) Date: Wed, 18 Mar 2015 13:38:37 +0100 Subject: [Gambas-user] Possible error PPA 3.7 Stable Message-ID: <550971CD.6030608@...69...> Upon notification by a user of Gambas-it I tried to install the PPA stable. Seems that we obtained the Trunk. See image attached Regards Gianluigi -------------- next part -------------- A non-text attachment was scrubbed... Name: Schermata da 2015-03-18 13_25_36.png Type: image/png Size: 140196 bytes Desc: not available URL: From sebikul at ...626... Wed Mar 18 15:54:05 2015 From: sebikul at ...626... (Sebastian Kulesz) Date: Wed, 18 Mar 2015 11:54:05 -0300 Subject: [Gambas-user] Possible error PPA 3.7 Stable In-Reply-To: <550971CD.6030608@...69...> References: <550971CD.6030608@...69...> Message-ID: Thats because the version in the 3.7 branch was updated to 3.7.90 when it should have stayed in 3.7.0. I have included a patch to the build system to revert the commit. I will publish an update shortly. Thanks for pointing it out! On Wed, Mar 18, 2015 at 9:38 AM, Gian wrote: > Upon notification by a user of Gambas-it I tried to install the PPA stable. > Seems that we obtained the Trunk. > See image attached > > Regards > Gianluigi > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From lewis at ...3412... Wed Mar 18 15:58:47 2015 From: lewis at ...3412... (Lewis Balentine) Date: Wed, 18 Mar 2015 09:58:47 -0500 Subject: [Gambas-user] Possible error PPA 3.7 Stable In-Reply-To: <550971CD.6030608@...69...> References: <550971CD.6030608@...69...> Message-ID: <550992A7.50005@...3412...> In 'update manager' is listed as: gambas3 Gambas compression component 3.7.0-24.30~ubuntu14.01 (I assume this is related to the same issue , but I could be wrong). Lewis On 03/18/2015 07:38 AM, Gian wrote: > Upon notification by a user of Gambas-it I tried to install the PPA > stable. > Seems that we obtained the Trunk. > See image attached > > Regards > Gianluigi > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Wed Mar 18 16:01:50 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 18 Mar 2015 16:01:50 +0100 Subject: [Gambas-user] Possible error PPA 3.7 Stable In-Reply-To: References: <550971CD.6030608@...69...> Message-ID: <5509935E.3080802@...1...> Le 18/03/2015 15:54, Sebastian Kulesz a ?crit : > Thats because the version in the 3.7 branch was updated to 3.7.90 when it > should have stayed in 3.7.0. I have included a patch to the build system to > revert the commit. I will publish an update shortly. > > Thanks for pointing it out! > Oops, sorry, I fix that. -- Beno?t Minisini From bagoneo at ...69... Wed Mar 18 21:43:27 2015 From: bagoneo at ...69... (Gian) Date: Wed, 18 Mar 2015 21:43:27 +0100 Subject: [Gambas-user] Possible error PPA 3.7 Stable In-Reply-To: <550971CD.6030608@...69...> References: <550971CD.6030608@...69...> Message-ID: <5509E36F.4070101@...69...> Ok thank you very much for the update but we mark that has remained the written of the Trunk version. See image attached Regards Gianluigi -------------- next part -------------- A non-text attachment was scrubbed... Name: Schermata del 2015-03-18 21_35_21.png Type: image/png Size: 48846 bytes Desc: not available URL: From adamnt42 at ...626... Thu Mar 19 00:38:04 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Thu, 19 Mar 2015 10:08:04 +1030 Subject: [Gambas-user] Autotools packaging ??? Message-ID: <20150319100804.b40b350324d645d386480524@...626...> Something has happened that I don't quite understand. For several years we have used autotools packaging to distribute our stuff to clients. The IDE options for packaging have always been: Vendor Name="Paddys-Hill" Prefix package name with the vendor name=Yes This has always worked up till the last time we sent some stuff out via autotools (around Oct last year?), we would have a package called (say) "paddys-hill-parseform-0.1.2.tar.gz". Now, when I first package up a project, the wizard "Prefix package with the vendor name" checkbox is writeable but we have had our name prefix changed to "paddys_hill" instead of "paddys-hill"??? And subsequent packaging doesn't let me alter the checkbox and adds "gambas3-" to the front of the package name. So I end up with "gambas3-paddys_hill-parseform-0.1.2.tar.gz". This is really playing havoc with the downloader/installer we have provided our customers with and is causing me no end of headache. What is going on? regards bruce -- B Bruen From gambas at ...1... Thu Mar 19 00:40:54 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 19 Mar 2015 00:40:54 +0100 Subject: [Gambas-user] Autotools packaging ??? In-Reply-To: <20150319100804.b40b350324d645d386480524@...626...> References: <20150319100804.b40b350324d645d386480524@...626...> Message-ID: <550A0D06.6010703@...1...> Le 19/03/2015 00:38, adamnt42 at ...626... a ?crit : > Something has happened that I don't quite understand. > > For several years we have used autotools packaging to distribute our stuff to clients. > The IDE options for packaging have always been: > Vendor Name="Paddys-Hill" > Prefix package name with the vendor name=Yes > > This has always worked up till the last time we sent some stuff out via autotools (around Oct last year?), we would have a package called (say) "paddys-hill-parseform-0.1.2.tar.gz". > > Now, when I first package up a project, the wizard "Prefix package with the vendor name" checkbox is writeable but we have had our name prefix changed to "paddys_hill" instead of "paddys-hill"??? > > And subsequent packaging doesn't let me alter the checkbox and adds "gambas3-" to the front of the package name. So I end up with "gambas3-paddys_hill-parseform-0.1.2.tar.gz". > > This is really playing havoc with the downloader/installer we have provided our customers with and is causing me no end of headache. What is going on? > > regards > bruce > Sorry but the "-" character inside vendor name makes packaging fail in some cases and some distributions, so it is automatically replaced by "_". Regards, -- Beno?t Minisini From gambas at ...2524... Thu Mar 19 00:54:12 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 18 Mar 2015 23:54:12 +0000 Subject: [Gambas-user] Issue 610 in gambas: Debian packaging of control: Depends only gambas3-runtime In-Reply-To: <0-6813199134517018827-2152985786088638367-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-2152985786088638367-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-2152985786088638367-gambas=googlecode.com@...2524...> Comment #1 on issue 610 by benoit.m... at ...626...: Debian packaging of control: Depends only gambas3-runtime https://code.google.com/p/gambas/issues/detail?id=610 Please provide the project. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From adamnt42 at ...626... Thu Mar 19 01:07:15 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Thu, 19 Mar 2015 10:37:15 +1030 Subject: [Gambas-user] Autotools packaging ??? In-Reply-To: <550A0D06.6010703@...1...> References: <20150319100804.b40b350324d645d386480524@...626...> <550A0D06.6010703@...1...> Message-ID: <20150319103715.1784dcd01eaf2cb96877f867@...626...> On Thu, 19 Mar 2015 00:40:54 +0100 Beno?t Minisini wrote: > Le 19/03/2015 00:38, adamnt42 at ...626... a ?crit : > > Something has happened that I don't quite understand. > > > > For several years we have used autotools packaging to distribute our stuff to clients. > > The IDE options for packaging have always been: > > Vendor Name="Paddys-Hill" > > Prefix package name with the vendor name=Yes > > > > This has always worked up till the last time we sent some stuff out via autotools (around Oct last year?), we would have a package called (say) "paddys-hill-parseform-0.1.2.tar.gz". > > > > Now, when I first package up a project, the wizard "Prefix package with the vendor name" checkbox is writeable but we have had our name prefix changed to "paddys_hill" instead of "paddys-hill"??? > > > > And subsequent packaging doesn't let me alter the checkbox and adds "gambas3-" to the front of the package name. So I end up with "gambas3-paddys_hill-parseform-0.1.2.tar.gz". > > > > This is really playing havoc with the downloader/installer we have provided our customers with and is causing me no end of headache. What is going on? > > > > regards > > bruce > > > > Sorry but the "-" character inside vendor name makes packaging fail in > some cases and some distributions, so it is automatically replaced by "_". > > Regards, > > -- > Beno?t Minisini > > Beno?t, With respect, where is the code that does this mucking about? I have over 90 packages to test and distribute to our customers this month, a huge upgrade. I will carve this change out of our local IDE version "with extreme prejudice"! If I can't use the existing downloader/installer I will have to visit each of the 36 customers to "fix" it. Please, if this is something to do with that *&^*(&^ U-voodoo distro, don't tell me so. I have had a gut-full of it and its' refusal to follow convention!!! Not happy, in fact panicking. regards bruce -- B Bruen From john.aaron.rose at ...626... Thu Mar 19 10:02:49 2015 From: john.aaron.rose at ...626... (John Rose) Date: Thu, 19 Mar 2015 09:02:49 +0000 Subject: [Gambas-user] Possible error PPA 3.7 Stable In-Reply-To: <550971CD.6030608@...69...> References: <550971CD.6030608@...69...> Message-ID: <550A90B9.2010809@...626...> On 18/03/15 12:38, Gian wrote: > Upon notification by a user of Gambas-it I tried to install the PPA > stable. > Seems that we obtained the Trunk. > See image attached > > Regards > Gianluigi > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Gambas just upgraded using Stable ppa. Still gives 'Development Version...' in window title. Now won't Debug->Run my (attached) Test app: displays window stating "Byte code too recent: please upgrade Gambas'. IMO this needs to be urgently fixed. -------------- next part -------------- A non-text attachment was scrubbed... Name: Test.tar.gz Type: application/gzip Size: 9337 bytes Desc: not available URL: From chrisml at ...3340... Thu Mar 19 10:10:58 2015 From: chrisml at ...3340... (Christof Thalhofer) Date: Thu, 19 Mar 2015 10:10:58 +0100 Subject: [Gambas-user] Autotools packaging ??? In-Reply-To: <20150319100804.b40b350324d645d386480524@...626...> (sfid-) References: <20150319100804.b40b350324d645d386480524@...626...> (sfid-) Message-ID: <550A92A2.7040902@...3340...> Am 19.03.2015 um 00:38 schrieb adamnt42 at ...626...: > And subsequent packaging doesn't let me alter the checkbox and adds > "gambas3-" to the front of the package name. So I end up with > "gambas3-paddys_hill-parseform-0.1.2.tar.gz". Maybe this has to do with that issue: https://code.google.com/p/gambas/issues/detail?id=598 But only packages for components should be named in that way (gambas3-nameofproject..) not libraries, not normal projects. Are you shipping your projects as components? Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From sebikul at ...626... Thu Mar 19 13:12:20 2015 From: sebikul at ...626... (Sebastian Kulesz) Date: Thu, 19 Mar 2015 09:12:20 -0300 Subject: [Gambas-user] Possible error PPA 3.7 Stable In-Reply-To: <550A90B9.2010809@...626...> References: <550971CD.6030608@...69...> <550A90B9.2010809@...626...> Message-ID: Found the error, will push an update shortly. The IDE still thinks it has the 3.7.90 version. On Thu, Mar 19, 2015 at 6:02 AM, John Rose wrote: > On 18/03/15 12:38, Gian wrote: > > Upon notification by a user of Gambas-it I tried to install the PPA > > stable. > > Seems that we obtained the Trunk. > > See image attached > > > > Regards > > Gianluigi > > > > > > > ------------------------------------------------------------------------------ > > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > > by Intel and developed in partnership with Slashdot Media, is your hub > for all > > things parallel software development, from weekly thought leadership > blogs to > > news, videos, case studies, tutorials and more. Take a look and join the > > conversation now. http://goparallel.sourceforge.net/ > > > > > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > Gambas just upgraded using Stable ppa. Still gives 'Development > Version...' in window title. Now won't Debug->Run my (attached) Test > app: displays window stating "Byte code too recent: please upgrade > Gambas'. IMO this needs to be urgently fixed. > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From bagoneo at ...69... Thu Mar 19 13:37:20 2015 From: bagoneo at ...69... (Gian) Date: Thu, 19 Mar 2015 13:37:20 +0100 Subject: [Gambas-user] Possible error PPA 3.7 Stable In-Reply-To: References: <550971CD.6030608@...69...> <550A90B9.2010809@...626...> Message-ID: <550AC300.7080703@...69...> Il 19/03/2015 13:12, Sebastian Kulesz ha scritto: > Found the error, will push an update shortly. The IDE still thinks it has > the 3.7.90 version. > > On Thu, Mar 19, 2015 at 6:02 AM, John Rose > wrote: > >> On 18/03/15 12:38, Gian wrote: >>> Upon notification by a user of Gambas-it I tried to install the PPA >>> stable. >>> Seems that we obtained the Trunk. >>> See image attached >>> >>> Regards >>> Gianluigi Thanks to you and all who helped Benoit for the great work you do for us. Greetings Gianluigi From bagoneo at ...69... Thu Mar 19 14:39:43 2015 From: bagoneo at ...69... (Gian) Date: Thu, 19 Mar 2015 14:39:43 +0100 Subject: [Gambas-user] Possible error PPA 3.7 Stable In-Reply-To: References: <550971CD.6030608@...69...> <550A90B9.2010809@...626...> Message-ID: <550AD19F.3050602@...69...> Sorry Jhon, To reduce the text I accidentally deleted your email. Regards Gianluigi From gambas at ...1... Thu Mar 19 14:51:53 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 19 Mar 2015 14:51:53 +0100 Subject: [Gambas-user] Revision #4160 feature doesn't work anymore. In-Reply-To: <1426611758.401.YahooMailBasic@...3268...> References: <1426611758.401.YahooMailBasic@...3268...> Message-ID: <550AD479.5060805@...1...> Le 17/03/2015 18:02, Ru Vuott a ?crit : > Hello Beno?t, > > as you may recall, revision #4160 implemented the feature to "watch" > the file-descriptor passed by the ALSA function "snd_seq_event_input > (seq, & event)", which allows to read a file-descriptor when it is > "ready". > > Well, I must say that this feature **always worked very well**. > Lately, instead, I have found that it no longer works. But - dear me > ! - I do not know exactly when it no longer works, because they were > many months that I did not use any program, written by me ("Demo > Drum-Machine" and "Sequencer Midi"), having this feature. > > The engine of the demo project of Drum-Machine, as also my Midi > Sequencer, consists of a cycle that - receiving from that function > Alsa a precise date - allows to send Midi data packets in sequence > until the end of the file Midi. I noticed that - "now" - if it was a > planned cycle, the two programs crash right at the predicted ALSA > function "snd_seq_event_input (seq, & event)". (You can see this > function at: Public Sub File_Read() procedure of CAlsa.class in the > Drum-Machine project.) But, if the program sends data simply by a > Midi keyboard, everything works well enough (...I say enough, because > sometimes some data is not played. Before, when "everything" worked > well, even this small problem existed using the keyboard). > > > Well, I send you, attachments, two projects of the Drum Machine: > > - The first, that does NOT work (that is with current problem). > > - The second works..... but it is the first project I "edited" to > make it works. I had to write a FOR loop in the procedure "Public Sub > btGrid_Click ()", when the program part for the first time, are now > forced to send two times the dummy initial echo. > > Regards vuott > Yep, there is a new read ahead feature in the stream classes that may interfere... Can you try revision #6993? -- Beno?t Minisini From taboege at ...626... Thu Mar 19 14:52:50 2015 From: taboege at ...626... (Tobias Boege) Date: Thu, 19 Mar 2015 14:52:50 +0100 Subject: [Gambas-user] Possible error PPA 3.7 Stable In-Reply-To: <550A90B9.2010809@...626...> References: <550971CD.6030608@...69...> <550A90B9.2010809@...626...> Message-ID: <20150319135250.GB566@...2774...> On Thu, 19 Mar 2015, John Rose wrote: > On 18/03/15 12:38, Gian wrote: > > Upon notification by a user of Gambas-it I tried to install the PPA > > stable. > > Seems that we obtained the Trunk. > > See image attached > > > Gambas just upgraded using Stable ppa. Still gives 'Development > Version...' in window title. Now won't Debug->Run my (attached) Test > app: displays window stating "Byte code too recent: please upgrade > Gambas'. IMO this needs to be urgently fixed. False positive byte code errors can almost (?) always be fixed by re- compiling the entire project. The IDE has a "Compile all" button to do that. Maybe someone should change the suggestion in that error message? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...2524... Thu Mar 19 16:10:57 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 19 Mar 2015 15:10:57 +0000 Subject: [Gambas-user] Issue 611 in gambas: TRUNK bug postgresql connection don't send password at runtime Message-ID: <0-6813199134517018827-11787578136539486057-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-TRUNK Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 611 by marcobra... at ...626...: TRUNK bug postgresql connection don't send password at runtime https://code.google.com/p/gambas/issues/detail?id=611 ____________________________________________________________ / \ | IMPORTANT NOTE #1 | | | | Don't create an issue if you have a compilation problem on | | the development version. Send a mail to the mailing-list | | instead, thanks! | \____________________________________________________________/ ____________________________________________________________ / \ | IMPORTANT NOTE #2 | | | | 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! | \____________________________________________________________/ 1) Describe the problem. Trying to connect to a working postgresql connection, i set a working connection with password stored, i can see use it, then i define a databrowser into a datasource but the conn doesn't work a t runtime, due sent password issue Cannot open database fe_sendauth: no password supplied 2) Give information about your system. Use the 'System information' menu in the Gambas IDE, and paste the result there. [System] Gambas=3.7.90 OperatingSystem=Linux Kernel=3.16.0-31-generic Architecture=x86_64 Distribution=Ubuntu 14.04.2 LTS Desktop=GNOME Theme=QGtk Language=it_IT.UTF-8 Memory=3944M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Poppler=libpoppler.so.46.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 3) Indicate the Gambas version in the issue labels, and if it is a bug, a crash, or an enhancement request. 4) Provide a little project that reproduces the bug or the crash. impossible 5) If your project needs a database, try to provide it, or part of it. impossible 6) Explain clearly how to reproduce the bug or the crash. Define a postgresql connection from gambas ide then define a datasource select postgresql connection, select a table (there are not connection issue here), embed a dbbrowser in it and try to run the db cannot be accessed due password issue. ____________________________________________________________ / \ | IMPORTANT NOTE #3 | | | | By doing that carefully, you have done 50% of the bug fix | | job. Often even more! | \____________________________________________________________/ ____________________________________________________________ / \ | IMPORTANT NOTE #4 | | | | Google automatically replaces references to Gambas | | development revision with links to its own source code | | repository, which Gambas does not use at all. So ignore | | these links with disdain. | \____________________________________________________________/ -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Thu Mar 19 16:21:50 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 19 Mar 2015 15:21:50 +0000 Subject: [Gambas-user] Issue 612 in gambas: BUG Cannot browse more of 128 records on tables "No current connection" Message-ID: <0-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-TRUNK Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 612 by marcobra... at ...626...: BUG Cannot browse more of 128 records on tables "No current connection" https://code.google.com/p/gambas/issues/detail?id=612 ____________________________________________________________ / \ | IMPORTANT NOTE #1 | | | | Don't create an issue if you have a compilation problem on | | the development version. Send a mail to the mailing-list | | instead, thanks! | \____________________________________________________________/ ____________________________________________________________ / \ | IMPORTANT NOTE #2 | | | | 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! | \____________________________________________________________/ 1) Describe the problem. Using Gambas3 Rev. 6947 On several databrowsers after a limit of 128 rows i get common.MakeNextWhere.77:No current connection all different databrowsers are pointing to unique sqlite3 database opening several differents tables with same connection There is a way to increase this limit or it is by design or is a bug... ? Also i cannot get access to databrowsers.connection at runtime to set a filter... message is "connection.unavailable" Thank you 2) Give information about your system. Use the 'System information' menu in the Gambas IDE, and paste the result there. [System] Gambas=3.7.90 OperatingSystem=Linux Kernel=3.16.0-31-generic Architecture=x86_64 Distribution=Ubuntu 14.04.2 LTS Desktop=GNOME Theme=QGtk Language=it_IT.UTF-8 Memory=3944M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Poppler=libpoppler.so.46.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 4) Provide a little project that reproduces the bug or the crash. 5) If your project needs a database, try to provide it, or part of it. 6) Explain clearly how to reproduce the bug or the crash. Define connection (sqlite3 db) use ide to define db browsing form use defined connection into a datasource by selecting a table embedding a databrowser in it, run the project only 128 records can be browsed after 128th row i get into every table cells: "Common.MakeNextWhere.77:No current connection" ____________________________________________________________ / \ | IMPORTANT NOTE #3 | | | | By doing that carefully, you have done 50% of the bug fix | | job. Often even more! | \____________________________________________________________/ ____________________________________________________________ / \ | IMPORTANT NOTE #4 | | | | Google automatically replaces references to Gambas | | development revision with links to its own source code | | repository, which Gambas does not use at all. So ignore | | these links with disdain. | \____________________________________________________________/ -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From sebikul at ...626... Thu Mar 19 18:07:00 2015 From: sebikul at ...626... (Sebastian Kulesz) Date: Thu, 19 Mar 2015 14:07:00 -0300 Subject: [Gambas-user] Possible error PPA 3.7 Stable In-Reply-To: <20150319135250.GB566@...2774...> References: <550971CD.6030608@...69...> <550A90B9.2010809@...626...> <20150319135250.GB566@...2774...> Message-ID: You should be able to update now. Be aware that you will probably have to follow what Tobias said to clean the old bytecode files compiled with the higher version number. Please let me know if it is working as intended now! On Mar 19, 2015 10:57 AM, "Tobias Boege" wrote: > On Thu, 19 Mar 2015, John Rose wrote: > > On 18/03/15 12:38, Gian wrote: > > > Upon notification by a user of Gambas-it I tried to install the PPA > > > stable. > > > Seems that we obtained the Trunk. > > > See image attached > > > > > Gambas just upgraded using Stable ppa. Still gives 'Development > > Version...' in window title. Now won't Debug->Run my (attached) Test > > app: displays window stating "Byte code too recent: please upgrade > > Gambas'. IMO this needs to be urgently fixed. > > False positive byte code errors can almost (?) always be fixed by re- > compiling the entire project. The IDE has a "Compile all" button to do > that. Maybe someone should change the suggestion in that error message? > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bagoneo at ...69... Thu Mar 19 18:27:30 2015 From: bagoneo at ...69... (Gian) Date: Thu, 19 Mar 2015 18:27:30 +0100 Subject: [Gambas-user] Possible error PPA 3.7 Stable In-Reply-To: References: <550971CD.6030608@...69...> <550A90B9.2010809@...626...> <20150319135250.GB566@...2774...> Message-ID: <550B0702.6080205@...69...> Il 19/03/2015 18:07, Sebastian Kulesz ha scritto: > You should be able to update now. Be aware that you will probably have to > follow what Tobias said to clean the old bytecode files compiled with the > higher version number. > > Please let me know if it is working as intended now! > On Mar 19, 2015 10:57 AM, "Tobias Boege" wrote: > >> On Thu, 19 Mar 2015, John Rose wrote: >>> On 18/03/15 12:38, Gian wrote: >>>> Upon notification by a user of Gambas-it I tried to install the PPA >>>> stable. >>>> Seems that we obtained the Trunk. >>>> See image attached >>>> >>> Gambas just upgraded using Stable ppa. Still gives 'Development >>> Version...' in window title. Now won't Debug->Run my (attached) Test >>> app: displays window stating "Byte code too recent: please upgrade >>> Gambas'. IMO this needs to be urgently fixed. >> >> False positive byte code errors can almost (?) always be fixed by re- >> compiling the entire project. The IDE has a "Compile all" button to do >> that. Maybe someone should change the suggestion in that error message? >> >> Regards, >> Tobi >> >> -- >> "There's an old saying: Don't change anything... ever!" -- Mr. Monk >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, >> sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub for >> all >> things parallel software development, from weekly thought leadership blogs >> to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Ok Sebastian perfect. I followed this procedure: ~$ sudo apt-get --purge remove gambas3 ~$ sudo apt-get autoremove gambas3 ~$ sudo apt-get update ~$ sudo apt-get install gambas3 ~$ gambas3 Regards Gianluigi From john.aaron.rose at ...626... Thu Mar 19 18:29:48 2015 From: john.aaron.rose at ...626... (John Rose) Date: Thu, 19 Mar 2015 17:29:48 +0000 Subject: [Gambas-user] Maskbox mask & text entry In-Reply-To: <550961C4.4030703@...626...> References: <550961C4.4030703@...626...> Message-ID: <550B078C.70000@...626...> On 18/03/15 11:30, John Rose wrote: > I have a Maskbox with mask [A-Za-z][A-Za-z]. I noticed that the IDE > does not show the MaxLength property. I want the user to be able to > enter lower case & have the entry displayed as upper case for either > of the 2 characters. When I run the attached Test app, it only seems > to allow the entry of 1 characted. When 'a' followed by 'd' is > entered, the Maskbox displays D and the Console shows from the Print > statements carried out by code conversion of lower case to uppercase: > SteckerMaskBox.MaxLength=0 > SteckerMaskBox.Length=1 > SteckerMaskBox.Text=a > SteckerMaskBox.Mask=[A-Za-z][A-Za-z] > Length=1 > SteckerMaskBox.MaxLength=0 > SteckerMaskBox.Length=1 > SteckerMaskBox.Text=d > SteckerMaskBox.Mask=[A-Za-z][A-Za-z] > Length=1 > > What is the solution to allow a 2 character entry? > > PS I'm using Gambas Stable Builds ppa with gambas version showing as > 3.7.90 though Gambas IDE Title bar shows DEVELOPMENT VERSION - USE AT > YOUR OWN RISK. Could this 'Stable' ppa contain a jinxed Gambas version? > > -- > > John > > > Gambas Stable Builds ppa has now updated Gambas version to 3.7 and Gambas IDE Title bar no long shows DEVELOPMENT VERSION. However, this Maskbox issue still present. I shall assume it's a bug and post it on Gambas Issues unless I'm told different before tomorrow. -------------- next part -------------- A non-text attachment was scrubbed... Name: Test.tar.gz Type: application/gzip Size: 9337 bytes Desc: not available URL: From lewis at ...3412... Thu Mar 19 18:10:55 2015 From: lewis at ...3412... (Lewis Balentine) Date: Thu, 19 Mar 2015 12:10:55 -0500 Subject: [Gambas-user] Possible error PPA 3.7 Stable In-Reply-To: References: <550971CD.6030608@...69...> <550A90B9.2010809@...626...> <20150319135250.GB566@...2774...> Message-ID: <550B031F.5030909@...3412...> FYI: Sill labeled "Gambas compression component" in package manager. On 03/19/2015 12:07 PM, Sebastian Kulesz wrote: > You should be able to update now. Be aware that you will probably have to > follow what Tobias said to clean the old bytecode files compiled with the > higher version number. > > Please let me know if it is working as intended now! > > > From sebikul at ...626... Thu Mar 19 18:56:54 2015 From: sebikul at ...626... (Sebastian Kulesz) Date: Thu, 19 Mar 2015 14:56:54 -0300 Subject: [Gambas-user] Possible error PPA 3.7 Stable In-Reply-To: <550B031F.5030909@...3412...> References: <550971CD.6030608@...69...> <550A90B9.2010809@...626...> <20150319135250.GB566@...2774...> <550B031F.5030909@...3412...> Message-ID: The only package labeled like that is the one containing the gb.compress component. Can you tell me the exact package name, PPA and version you are talking about? On Mar 19, 2015 2:38 PM, "Lewis Balentine" wrote: > FYI: Sill labeled "Gambas compression component" in package manager. > > On 03/19/2015 12:07 PM, Sebastian Kulesz wrote: > > You should be able to update now. Be aware that you will probably have to > > follow what Tobias said to clean the old bytecode files compiled with the > > higher version number. > > > > Please let me know if it is working as intended now! > > > > > > > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Thu Mar 19 19:15:37 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 19 Mar 2015 19:15:37 +0100 Subject: [Gambas-user] Maskbox mask & text entry In-Reply-To: <550B078C.70000@...626...> References: <550961C4.4030703@...626...> <550B078C.70000@...626...> Message-ID: <550B1249.2050806@...1...> Le 19/03/2015 18:29, John Rose a ?crit : > On 18/03/15 11:30, John Rose wrote: >> I have a Maskbox with mask [A-Za-z][A-Za-z]. I noticed that the IDE >> does not show the MaxLength property. I want the user to be able to >> enter lower case & have the entry displayed as upper case for either >> of the 2 characters. When I run the attached Test app, it only seems >> to allow the entry of 1 characted. When 'a' followed by 'd' is >> entered, the Maskbox displays D and the Console shows from the Print >> statements carried out by code conversion of lower case to uppercase: >> SteckerMaskBox.MaxLength=0 >> SteckerMaskBox.Length=1 >> SteckerMaskBox.Text=a >> SteckerMaskBox.Mask=[A-Za-z][A-Za-z] >> Length=1 >> SteckerMaskBox.MaxLength=0 >> SteckerMaskBox.Length=1 >> SteckerMaskBox.Text=d >> SteckerMaskBox.Mask=[A-Za-z][A-Za-z] >> Length=1 >> >> What is the solution to allow a 2 character entry? >> >> PS I'm using Gambas Stable Builds ppa with gambas version showing as >> 3.7.90 though Gambas IDE Title bar shows DEVELOPMENT VERSION - USE AT >> YOUR OWN RISK. Could this 'Stable' ppa contain a jinxed Gambas version? >> >> -- >> >> John >> Actually by setting the text in the Change event, you are prevent the MaskBox to work correctly. MaskBox is not really useful for dealing with that kind of text entry. You should implement what you need with a TextBox. Regards, -- Beno?t Minisini From mmcg29440 at ...3163... Thu Mar 19 19:22:09 2015 From: mmcg29440 at ...3163... (Martin McGlensey) Date: Thu, 19 Mar 2015 14:22:09 -0400 Subject: [Gambas-user] Is it safe to install v 3.7 from the stable PPA? Message-ID: Upgraded to V 3.7 of Gambas. Tried to compile a working app, built under 3.6.2. Could not find option "Make exe". Perhaps this is related to the Development Version issue. Downloaded a copy of the app and found that it would not extract. Archive manager freezes. Machine now crashed and I cannot get it to boot without freezing. I do not think Gambas caused problem. May have been one of the other updates. So is the stable PPA ok to use? I do not want to have a problem on my other PC. Regards, Marty From vuott at ...325... Thu Mar 19 19:19:38 2015 From: vuott at ...325... (Ru Vuott) Date: Thu, 19 Mar 2015 18:19:38 +0000 Subject: [Gambas-user] Revision #4160 feature doesn't work anymore. In-Reply-To: <550AD479.5060805@...1...> Message-ID: <1426789178.45765.YahooMailBasic@...3274...> No, Beno?t, revision #6993 didn't solve the problem. The two programs don't work. :-( bye vuott -------------------------------------------- Gio 19/3/15, Beno?t Minisini ha scritto: Oggetto: Re: [Gambas-user] Revision #4160 feature doesn't work anymore. A: "mailing list for gambas users" Data: Gioved? 19 marzo 2015, 14:51 Le 17/03/2015 18:02, Ru Vuott a ?crit : > Hello Beno?t, > > as you may recall, revision #4160 implemented the feature to "watch" > the file-descriptor passed by the ALSA function "snd_seq_event_input > (seq, & event)", which allows to read a file-descriptor when it is > "ready". > > Well, I must say that this feature **always worked very well**. > Lately, instead, I have found that it no longer works. But - dear me > ! - I do not know exactly when it no longer works, because they were > many months that I did not use any program, written by me ("Demo > Drum-Machine" and "Sequencer Midi"), having this feature. > > The engine of the demo project of Drum-Machine, as also my Midi > Sequencer, consists of a cycle that - receiving from that function > Alsa a precise date - allows to send Midi data packets in sequence > until the end of the file Midi. I noticed that - "now" - if it was a > planned cycle, the two programs crash right at the predicted ALSA > function "snd_seq_event_input (seq, & event)". (You can see this > function at:? Public Sub File_Read() procedure of CAlsa.class in the > Drum-Machine project.) But, if the program sends data simply by a > Midi keyboard, everything works well enough (...I say enough, because > sometimes some data is not played. Before, when "everything" worked > well, even this small problem existed using the keyboard). > > > Well, I send you, attachments, two projects of the Drum Machine: > > - The first, that does NOT work (that is with current problem). > > - The second works..... but it is the first project I "edited" to > make it works. I had to write a FOR loop in the procedure "Public Sub > btGrid_Click ()",? when the program part for the first time, are now > forced to send two times the dummy initial echo. > > Regards vuott > Yep, there is a new read ahead feature in the stream classes that may interfere... Can you try revision #6993? -- Beno?t Minisini ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From taboege at ...626... Thu Mar 19 19:20:22 2015 From: taboege at ...626... (Tobias Boege) Date: Thu, 19 Mar 2015 19:20:22 +0100 Subject: [Gambas-user] Maskbox mask & text entry In-Reply-To: <550B078C.70000@...626...> References: <550961C4.4030703@...626...> <550B078C.70000@...626...> Message-ID: <20150319182022.GE566@...2774...> On Thu, 19 Mar 2015, John Rose wrote: > On 18/03/15 11:30, John Rose wrote: > > I have a Maskbox with mask [A-Za-z][A-Za-z]. I noticed that the IDE > > does not show the MaxLength property. I want the user to be able to > > enter lower case & have the entry displayed as upper case for either > > of the 2 characters. When I run the attached Test app, it only seems > > to allow the entry of 1 characted. When 'a' followed by 'd' is > > entered, the Maskbox displays D and the Console shows from the Print > > statements carried out by code conversion of lower case to uppercase: > > SteckerMaskBox.MaxLength=0 > > SteckerMaskBox.Length=1 > > SteckerMaskBox.Text=a > > SteckerMaskBox.Mask=[A-Za-z][A-Za-z] > > Length=1 > > SteckerMaskBox.MaxLength=0 > > SteckerMaskBox.Length=1 > > SteckerMaskBox.Text=d > > SteckerMaskBox.Mask=[A-Za-z][A-Za-z] > > Length=1 > > > > What is the solution to allow a 2 character entry? > > > > PS I'm using Gambas Stable Builds ppa with gambas version showing as > > 3.7.90 though Gambas IDE Title bar shows DEVELOPMENT VERSION - USE AT > > YOUR OWN RISK. Could this 'Stable' ppa contain a jinxed Gambas version? > > > Gambas Stable Builds ppa has now updated Gambas version to 3.7 and > Gambas IDE Title bar no long shows DEVELOPMENT VERSION. However, this > Maskbox issue still present. I shall assume it's a bug and post it on > Gambas Issues unless I'm told different before tomorrow. What I write below is observations from experiments I made. I don't usually use MaskBoxes so I don't know if the behaviour has always been like that or if it is intended. Apparently, inputting into MaskBoxes works a little different than into TextBoxes. Imagine the MaskBox as an array of cells where the things you can put into each cell is defined by the mask. If you press a key and that is valid input for your current cell, the corresponding character is put into that cell, *without* advancing the current cell. You need to use the arrow keys to do that. Using your program this way shows no problem. You may want to make your own little MaskBox lookalike using the "CheckInput idiom"[0] if this is not the way you like. Regards, Tobi [0] http://www.gambas-buch.de/dw/doku.php?id=k16:k16.6:k16.6.3:start -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Thu Mar 19 19:24:43 2015 From: taboege at ...626... (Tobias Boege) Date: Thu, 19 Mar 2015 19:24:43 +0100 Subject: [Gambas-user] Maskbox mask & text entry In-Reply-To: <20150319182022.GE566@...2774...> References: <550961C4.4030703@...626...> <550B078C.70000@...626...> <20150319182022.GE566@...2774...> Message-ID: <20150319182443.GF566@...2774...> On Thu, 19 Mar 2015, Tobias Boege wrote: > If you press a key and that is valid input for your current cell, the > corresponding character is put into that cell, *without* advancing the > current cell. > Correction: As Benoit said, this is because you reset the Text in the Change event. (Good. I was in doubt about the usability of MaskBox if what I desribed above would have really been the intended behaviour...) -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From lewis at ...3412... Thu Mar 19 19:41:03 2015 From: lewis at ...3412... (Lewis Balentine) Date: Thu, 19 Mar 2015 13:41:03 -0500 Subject: [Gambas-user] Possible error PPA 3.7 Stable In-Reply-To: References: <550971CD.6030608@...69...> <550A90B9.2010809@...626...> <20150319135250.GB566@...2774...> <550B031F.5030909@...3412...> Message-ID: <550B183F.30302@...3412...> Correction: That label >>only<< comes up in the update manager. On 03/19/2015 12:56 PM, Sebastian Kulesz wrote: > The only package labeled like that is the one containing the gb.compress > component. Can you tell me the exact package name, PPA and version you are > talking about? > On Mar 19, 2015 2:38 PM, "Lewis Balentine" wrote: > >> FYI: Sill labeled "Gambas compression component" in package manager. >> >> On 03/19/2015 12:07 PM, Sebastian Kulesz wrote: >>> You should be able to update now. Be aware that you will probably have to >>> follow what Tobias said to clean the old bytecode files compiled with the >>> higher version number. >>> >>> Please let me know if it is working as intended now! >>> >>> >>> >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, >> sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub for >> all >> things parallel software development, from weekly thought leadership blogs >> to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From lewis at ...3412... Thu Mar 19 19:26:13 2015 From: lewis at ...3412... (Lewis Balentine) Date: Thu, 19 Mar 2015 13:26:13 -0500 Subject: [Gambas-user] Possible error PPA 3.7 Stable In-Reply-To: References: <550971CD.6030608@...69...> <550A90B9.2010809@...626...> <20150319135250.GB566@...2774...> <550B031F.5030909@...3412...> Message-ID: <550B14C5.6030304@...3412...> That is what comes up in Synaptic Package manager (or the update manger). I am using Linux mint but it uses a Ubuntu setup of course. On 03/19/2015 12:56 PM, Sebastian Kulesz wrote: > The only package labeled like that is the one containing the gb.compress > component. Can you tell me the exact package name, PPA and version you are > talking about? > On Mar 19, 2015 2:38 PM, "Lewis Balentine" wrote: > >> FYI: Sill labeled "Gambas compression component" in package manager. >> >> On 03/19/2015 12:07 PM, Sebastian Kulesz wrote: >>> You should be able to update now. Be aware that you will probably have to >>> follow what Tobias said to clean the old bytecode files compiled with the >>> higher version number. >>> >>> Please let me know if it is working as intended now! >>> >>> >>> >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, >> sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub for >> all >> things parallel software development, from weekly thought leadership blogs >> to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Thu Mar 19 19:53:00 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 19 Mar 2015 19:53:00 +0100 Subject: [Gambas-user] Revision #4160 feature doesn't work anymore. In-Reply-To: <1426789178.45765.YahooMailBasic@...3274...> References: <1426789178.45765.YahooMailBasic@...3274...> Message-ID: <550B1B0C.80902@...1...> Le 19/03/2015 19:19, Ru Vuott a ?crit : > No, Beno?t, revision #6993 didn't solve the problem. > The two programs don't work. :-( > > bye > vuott > Do you mean that before that change, one program worked, and with that change, that the program that worked does not work anymore? -- Beno?t Minisini From bagoneo at ...69... Thu Mar 19 20:14:34 2015 From: bagoneo at ...69... (Gian) Date: Thu, 19 Mar 2015 20:14:34 +0100 Subject: [Gambas-user] Possible error PPA 3.7 Stable In-Reply-To: <550B183F.30302@...3412...> References: <550971CD.6030608@...69...> <550A90B9.2010809@...626...> <20150319135250.GB566@...2774...> <550B031F.5030909@...3412...> <550B183F.30302@...3412...> Message-ID: <550B201A.9010706@...69...> Il 19/03/2015 19:41, Lewis Balentine ha scritto: > Correction: That label >>only<< comes up in the update manager. > > On 03/19/2015 12:56 PM, Sebastian Kulesz wrote: >> The only package labeled like that is the one containing the gb.compress >> component. Can you tell me the exact package name, PPA and version you are >> talking about? >> On Mar 19, 2015 2:38 PM, "Lewis Balentine" wrote: >> >>> FYI: Sill labeled "Gambas compression component" in package manager. >>> >>> On 03/19/2015 12:07 PM, Sebastian Kulesz wrote: >>>> You should be able to update now. Be aware that you will probably have to >>>> follow what Tobias said to clean the old bytecode files compiled with the >>>> higher version number. >>>> >>>> Please let me know if it is working as intended now! >>>> >>>> >>>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Dive into the World of Parallel Programming The Go Parallel Website, >>> sponsored >>> by Intel and developed in partnership with Slashdot Media, is your hub for >>> all >>> things parallel software development, from weekly thought leadership blogs >>> to >>> news, videos, case studies, tutorials and more. Take a look and join the >>> conversation now. http://goparallel.sourceforge.net/ >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub for all >> things parallel software development, from weekly thought leadership blogs to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Hi Lewis, excuse me but you do not have the compiled version? Here we talk of the PPA, not of the compiled version. Regards Gianluigi From lewis at ...3412... Thu Mar 19 20:19:34 2015 From: lewis at ...3412... (Lewis Balentine) Date: Thu, 19 Mar 2015 14:19:34 -0500 Subject: [Gambas-user] Possible error PPA 3.7 Stable In-Reply-To: <550B201A.9010706@...69...> References: <550971CD.6030608@...69...> <550A90B9.2010809@...626...> <20150319135250.GB566@...2774...> <550B031F.5030909@...3412...> <550B183F.30302@...3412...> <550B201A.9010706@...69...> Message-ID: <550B2146.6060006@...3412...> You may be under the mistaken impression that I have only one copy of Gambas :>) My main workstation gets its Gambas from the PPA. Cheers, Lewis P.S. The compiled version is on a machine that is used only for learning how to compile and build the Gambas deb without errors .... and I am still learning. On 03/19/2015 02:14 PM, Gian wrote: > Hi Lewis, > excuse me but you do not have the compiled version? > Here we talk of the PPA, not of the compiled version. > Regards > Gianluigi > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From sebikul at ...626... Thu Mar 19 20:31:11 2015 From: sebikul at ...626... (Sebastian Kulesz) Date: Thu, 19 Mar 2015 16:31:11 -0300 Subject: [Gambas-user] Possible error PPA 3.7 Stable In-Reply-To: <550B14C5.6030304@...3412...> References: <550971CD.6030608@...69...> <550A90B9.2010809@...626...> <20150319135250.GB566@...2774...> <550B031F.5030909@...3412...> <550B14C5.6030304@...3412...> Message-ID: Neither my PPA nor the packages available in the Ubuntu repositories have that label other than for the package of the gb.compress component. I still don't understand where it is coming from. On Thu, Mar 19, 2015 at 3:26 PM, Lewis Balentine wrote: > That is what comes up in Synaptic Package manager (or the update manger). > I am using Linux mint but it uses a Ubuntu setup of course. > > > On 03/19/2015 12:56 PM, Sebastian Kulesz wrote: > > The only package labeled like that is the one containing the gb.compress > > component. Can you tell me the exact package name, PPA and version you > are > > talking about? > > On Mar 19, 2015 2:38 PM, "Lewis Balentine" wrote: > > > >> FYI: Sill labeled "Gambas compression component" in package manager. > >> > >> On 03/19/2015 12:07 PM, Sebastian Kulesz wrote: > >>> You should be able to update now. Be aware that you will probably have > to > >>> follow what Tobias said to clean the old bytecode files compiled with > the > >>> higher version number. > >>> > >>> Please let me know if it is working as intended now! > >>> > >>> > >>> > >> > >> > >> > ------------------------------------------------------------------------------ > >> Dive into the World of Parallel Programming The Go Parallel Website, > >> sponsored > >> by Intel and developed in partnership with Slashdot Media, is your hub > for > >> all > >> things parallel software development, from weekly thought leadership > blogs > >> to > >> news, videos, case studies, tutorials and more. Take a look and join the > >> conversation now. http://goparallel.sourceforge.net/ > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > > ------------------------------------------------------------------------------ > > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > > by Intel and developed in partnership with Slashdot Media, is your hub > for all > > things parallel software development, from weekly thought leadership > blogs to > > news, videos, case studies, tutorials and more. Take a look and join the > > conversation now. http://goparallel.sourceforge.net/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bagoneo at ...69... Thu Mar 19 20:34:15 2015 From: bagoneo at ...69... (Gian) Date: Thu, 19 Mar 2015 20:34:15 +0100 Subject: [Gambas-user] Possible error PPA 3.7 Stable In-Reply-To: <550B2146.6060006@...3412...> References: <550971CD.6030608@...69...> <550A90B9.2010809@...626...> <20150319135250.GB566@...2774...> <550B031F.5030909@...3412...> <550B183F.30302@...3412...> <550B201A.9010706@...69...> <550B2146.6060006@...3412...> Message-ID: <550B24B7.2050907@...69...> Il 19/03/2015 20:19, Lewis Balentine ha scritto: > > You may be under the mistaken impression that I have only one copy of > Gambas :>) > My main workstation gets its Gambas from the PPA. > > Cheers, > > Lewis > > P.S. > The compiled version is on a machine that is used only for learning how > to compile and build the Gambas deb without errors .... and I am still > learning. > > On 03/19/2015 02:14 PM, Gian wrote: >> Hi Lewis, >> excuse me but you do not have the compiled version? >> Here we talk of the PPA, not of the compiled version. >> Regards >> Gianluigi >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub for all >> things parallel software development, from weekly thought leadership blogs to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Sorry Lewis, you are quite right, also I have various and different Gambas like you (and I hope to learn :) ). Hello Gianluigi From vuott at ...325... Thu Mar 19 20:51:08 2015 From: vuott at ...325... (Ru Vuott) Date: Thu, 19 Mar 2015 19:51:08 +0000 Subject: [Gambas-user] Revision #4160 feature doesn't work anymore. In-Reply-To: <550B1B0C.80902@...1...> Message-ID: <1426794668.23048.YahooMailBasic@...3274...> No, Beno?t, excuse me: I expressed myself badly and not properly. I want to say nothing changed with revision #6993: * the old/original Drum-Machine (that didn't work anymore), continue NOT working; * the modificated Drum-Machine (that did work), continue to work. ...obvoiusly, we have to restore the feature (like that in rev. 4160) that allows old/original Drum-Machine to work. :-) Regards vuott -------------------------------------------- Gio 19/3/15, Beno?t Minisini ha scritto: Oggetto: Re: [Gambas-user] Revision #4160 feature doesn't work anymore. A: "mailing list for gambas users" Data: Gioved? 19 marzo 2015, 19:53 Le 19/03/2015 19:19, Ru Vuott a ?crit : > No, Beno?t, revision #6993 didn't solve the problem. > The two programs don't work.? :-( > > bye > vuott > Do you mean that before that change, one program worked, and with that change, that the program that worked does not work anymore? -- Beno?t Minisini ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From jussi.lahtinen at ...626... Thu Mar 19 23:07:55 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 20 Mar 2015 00:07:55 +0200 Subject: [Gambas-user] Revision #4160 feature doesn't work anymore. In-Reply-To: <1426794668.23048.YahooMailBasic@...3274...> References: <550B1B0C.80902@...1...> <1426794668.23048.YahooMailBasic@...3274...> Message-ID: How this is meant to work? I can't get any sound with the "working" version. Jussi On Thu, Mar 19, 2015 at 9:51 PM, Ru Vuott wrote: > No, Beno?t, excuse me: I expressed myself badly and not properly. > > I want to say nothing changed with revision #6993: > * the old/original Drum-Machine (that didn't work anymore), continue NOT > working; > * the modificated Drum-Machine (that did work), continue to work. > > ...obvoiusly, we have to restore the feature (like that in rev. 4160) that > allows old/original Drum-Machine to work. :-) > > Regards > vuott > > > > > -------------------------------------------- > Gio 19/3/15, Beno?t Minisini ha scritto: > > Oggetto: Re: [Gambas-user] Revision #4160 feature doesn't work anymore. > A: "mailing list for gambas users" > Data: Gioved? 19 marzo 2015, 19:53 > > Le 19/03/2015 19:19, Ru > Vuott a ?crit : > > No, Beno?t, revision > #6993 didn't solve the problem. > > The > two programs don't work. :-( > > > > bye > > vuott > > > > Do you > mean that before that change, one program worked, and with > that > change, that the program that worked > does not work anymore? > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The > Go Parallel Website, sponsored > by Intel and > developed in partnership with Slashdot Media, is your hub > for all > things parallel software > development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. > Take a look and join the > conversation now. > http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From charlie at ...2793... Thu Mar 19 22:45:42 2015 From: charlie at ...2793... (Charlie) Date: Thu, 19 Mar 2015 14:45:42 -0700 (MST) Subject: [Gambas-user] Interesting IDE problem Message-ID: <1426801542924-51061.post@...3046...> Possible bug notification: - I deleted a form in Gabmas 3.7 and the tool bar lost its integrity see attached. -- View this message in context: http://gambas.8142.n7.nabble.com/Interesting-IDE-problem-tp51061.html Sent from the gambas-user mailing list archive at Nabble.com. From vuott at ...325... Fri Mar 20 00:16:44 2015 From: vuott at ...325... (Ru Vuott) Date: Thu, 19 Mar 2015 23:16:44 +0000 Subject: [Gambas-user] Revision #4160 feature doesn't work anymore. In-Reply-To: Message-ID: <1426807004.9283.YahooMailBasic@...3275...> Hello Jussi, if you want to ear the drum sound: 1) run Jack Audio Connection Kit; 2) run a softsynth (for example: Qsynth); 3) connect via Jack 14:0 Midi-Through port ---> 129:Fluid Sinth (id est: QSynth) OR if you want not to use Jack A.C.K., you can send this ALSA line-command via Terminal: ~ $ aconnect 14:0 128:0 where, 128:0 would be the ID and the port of QSynth. ** But ** the problem is not this ! Because my "modified" Drm-Machine works however (with or without sounds). We have to solve the problem that blocks all the procedures of sending-midi-data cycle. Bye vuott -------------------------------------------- Gio 19/3/15, Jussi Lahtinen ha scritto: Oggetto: Re: [Gambas-user] Revision #4160 feature doesn't work anymore. A: "mailing list for gambas users" Data: Gioved? 19 marzo 2015, 23:07 How this is meant to work? I can't get any sound with the "working" version. Jussi On Thu, Mar 19, 2015 at 9:51 PM, Ru Vuott wrote: > No, Beno?t, excuse me: I expressed myself badly and not properly. > > I want to say? nothing changed with revision #6993: > * the old/original Drum-Machine (that didn't work anymore), continue NOT > working; > * the modificated Drum-Machine (that did work), continue to work. > > ...obvoiusly, we have to restore the feature (like that in rev. 4160) that > allows old/original Drum-Machine to work. :-) > > Regards > vuott > > > > > -------------------------------------------- > Gio 19/3/15, Beno?t Minisini ha scritto: > >? Oggetto: Re: [Gambas-user] Revision #4160 feature doesn't work anymore. >? A: "mailing list for gambas users" >? Data: Gioved? 19 marzo 2015, 19:53 > >? Le 19/03/2015 19:19, Ru >? Vuott a ?crit : >? > No, Beno?t, revision >? #6993 didn't solve the problem. >? > The >? two programs don't work.? :-( >? > >? > bye >? > vuott >? > > >? Do you >? mean that before that change, one program worked, and with >? that >? change, that the program that worked >? does not work anymore? > >? -- >? Beno?t Minisini > > >? ------------------------------------------------------------------------------ >? Dive into the World of Parallel Programming The >? Go Parallel Website, sponsored >? by Intel and >? developed in partnership with Slashdot Media, is your hub >? for all >? things parallel software >? development, from weekly thought leadership blogs to >? news, videos, case studies, tutorials and more. >? Take a look and join the >? conversation now. >? http://goparallel.sourceforge.net/ >? _______________________________________________ >? Gambas-user mailing list >? Gambas-user at lists.sourceforge.net >? https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Fri Mar 20 00:24:06 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 20 Mar 2015 00:24:06 +0100 Subject: [Gambas-user] Revision #4160 feature doesn't work anymore. In-Reply-To: <1426807004.9283.YahooMailBasic@...3275...> References: <1426807004.9283.YahooMailBasic@...3275...> Message-ID: <550B5A96.2020509@...1...> Le 20/03/2015 00:16, Ru Vuott a ?crit : > Hello Jussi, > > if you want to ear the drum sound: > > 1) run Jack Audio Connection Kit; > 2) run a softsynth (for example: Qsynth); > 3) connect via Jack 14:0 Midi-Through port ---> 129:Fluid Sinth (id est: QSynth) > > OR > if you want not to use Jack A.C.K., you can send this ALSA line-command via Terminal: > ~ $ aconnect 14:0 128:0 > where, 128:0 would be the ID and the port of QSynth. > > ** But ** the problem is not this ! Because my "modified" Drm-Machine works however (with or without sounds). > We have to solve the problem that blocks all the procedures of sending-midi-data cycle. > > Bye > vuott > And with revision #6994? Is it better? -- Beno?t Minisini From jussi.lahtinen at ...626... Fri Mar 20 01:17:54 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 20 Mar 2015 02:17:54 +0200 Subject: [Gambas-user] Revision #4160 feature doesn't work anymore. In-Reply-To: <1426807004.9283.YahooMailBasic@...3275...> References: <1426807004.9283.YahooMailBasic@...3275...> Message-ID: OK, I'm not very familiar with Midi things. With your instructions, the working version works as expected. Jussi On Fri, Mar 20, 2015 at 1:16 AM, Ru Vuott wrote: > Hello Jussi, > > if you want to ear the drum sound: > > 1) run Jack Audio Connection Kit; > 2) run a softsynth (for example: Qsynth); > 3) connect via Jack 14:0 Midi-Through port ---> 129:Fluid Sinth (id est: > QSynth) > > OR > if you want not to use Jack A.C.K., you can send this ALSA line-command > via Terminal: > ~ $ aconnect 14:0 128:0 > where, 128:0 would be the ID and the port of QSynth. > > ** But ** the problem is not this ! Because my "modified" Drm-Machine > works however (with or without sounds). > We have to solve the problem that blocks all the procedures of > sending-midi-data cycle. > > Bye > vuott > > > > > -------------------------------------------- > Gio 19/3/15, Jussi Lahtinen ha scritto: > > Oggetto: Re: [Gambas-user] Revision #4160 feature doesn't work anymore. > A: "mailing list for gambas users" > Data: Gioved? 19 marzo 2015, 23:07 > > How this is meant to > work? I can't get any sound with the "working" > version. > > > Jussi > > On Thu, > Mar 19, 2015 at 9:51 PM, Ru Vuott > wrote: > > > No, Beno?t, > excuse me: I expressed myself badly and not properly. > > > > I want to say > nothing changed with revision #6993: > > * > the old/original Drum-Machine (that didn't work > anymore), continue NOT > > working; > > * the modificated Drum-Machine (that did > work), continue to work. > > > > ...obvoiusly, we have to restore the > feature (like that in rev. 4160) that > > > allows old/original Drum-Machine to work. :-) > > > > Regards > > vuott > > > > > > > > > > > -------------------------------------------- > > Gio 19/3/15, Beno?t Minisini > ha scritto: > > > > > Oggetto: Re: [Gambas-user] Revision #4160 feature > doesn't work anymore. > > A: > "mailing list for gambas users" > > Data: Gioved? 19 marzo 2015, 19:53 > > > > Le 19/03/2015 > 19:19, Ru > > Vuott a ?crit : > > > No, Beno?t, revision > > #6993 didn't solve the problem. > > > The > > two > programs don't work. :-( > > > > > > > bye > > > > vuott > > > > > > > Do you > > mean that before that change, one > program worked, and with > > that > > change, that the program that worked > > does not work anymore? > > > > -- > > Beno?t Minisini > > > > > > > > ------------------------------------------------------------------------------ > > Dive into the World of Parallel > Programming The > > Go Parallel Website, > sponsored > > by Intel and > > developed in partnership with Slashdot > Media, is your hub > > for all > > things parallel software > > development, from weekly thought > leadership blogs to > > news, videos, > case studies, tutorials and more. > > > Take a look and join the > > conversation > now. > > http://goparallel.sourceforge.net/ > > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > ------------------------------------------------------------------------------ > > Dive into the World of Parallel > Programming The Go Parallel Website, > > > sponsored > > by Intel and developed in > partnership with Slashdot Media, is your hub for > > all > > things parallel > software development, from weekly thought leadership > blogs > > to > > news, > videos, case studies, tutorials and more. Take a look and > join the > > conversation now. http://goparallel.sourceforge.net/ > > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The > Go Parallel Website, sponsored > by Intel and > developed in partnership with Slashdot Media, is your hub > for all > things parallel software > development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. > Take a look and join the > conversation now. > http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Fri Mar 20 01:18:19 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 20 Mar 2015 02:18:19 +0200 Subject: [Gambas-user] Revision #4160 feature doesn't work anymore. In-Reply-To: <550B5A96.2020509@...1...> References: <1426807004.9283.YahooMailBasic@...3275...> <550B5A96.2020509@...1...> Message-ID: > And with revision #6994? Is it better? > Does not seem to fix the issue. Jussi From vuott at ...325... Fri Mar 20 01:17:53 2015 From: vuott at ...325... (Ru Vuott) Date: Fri, 20 Mar 2015 00:17:53 +0000 Subject: [Gambas-user] Revision #4160 feature doesn't work anymore. In-Reply-To: <550B5A96.2020509@...1...> Message-ID: <1426810673.83552.YahooMailBasic@...3275...> No, Beno?t, it doesn't work. bye vuott -------------------------------------------- Ven 20/3/15, Beno?t Minisini ha scritto: Oggetto: Re: [Gambas-user] Revision #4160 feature doesn't work anymore. A: "mailing list for gambas users" Data: Venerd? 20 marzo 2015, 00:24 Le 20/03/2015 00:16, Ru Vuott a ?crit : > Hello Jussi, > > if you want to ear the drum sound: > > 1) run Jack Audio Connection Kit; > 2) run a softsynth (for example: Qsynth); > 3) connect via Jack 14:0 Midi-Through port ---> 129:Fluid Sinth (id est: QSynth) > > OR > if you want not to use Jack A.C.K., you can send this ALSA line-command via Terminal: >? ???~ $ aconnect 14:0 128:0 > where, 128:0 would be the ID and the port of QSynth. > > ** But ** the problem is not this !? Because my "modified" Drm-Machine works however (with or without sounds). > We have to solve the problem that blocks all the procedures of sending-midi-data cycle. > > Bye > vuott > And with revision #6994? Is it better? -- Beno?t Minisini ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From vuott at ...325... Fri Mar 20 01:32:31 2015 From: vuott at ...325... (Ru Vuott) Date: Fri, 20 Mar 2015 00:32:31 +0000 Subject: [Gambas-user] Revision #4160 feature doesn't work anymore. In-Reply-To: Message-ID: <1426811551.11595.YahooMailBasic@...3271...> Hello Jussi, > the working version works as expected. yes, but probably you are refer to my "modified" Drum-Machine (the second souce-code I attached). But "original" (that is: NO modified project) Drum-machine doesn't work... at this time. The mission is: restoring rev. 4160 "feature", that allows no-modified project to work. Bye vuott -------------------------------------------- Ven 20/3/15, Jussi Lahtinen ha scritto: Oggetto: Re: [Gambas-user] Revision #4160 feature doesn't work anymore. A: "mailing list for gambas users" Data: Venerd? 20 marzo 2015, 01:17 OK, I'm not very familiar with Midi things. With your instructions, the working version works as expected. Jussi On Fri, Mar 20, 2015 at 1:16 AM, Ru Vuott wrote: > Hello Jussi, > > if you want to ear the drum sound: > > 1) run Jack Audio Connection Kit; > 2) run a softsynth (for example: Qsynth); > 3) connect via Jack 14:0 Midi-Through port ---> 129:Fluid Sinth (id est: > QSynth) > > OR > if you want not to use Jack A.C.K., you can send this ALSA line-command > via Terminal: >? ? ~ $ aconnect 14:0 128:0 > where, 128:0 would be the ID and the port of QSynth. > > ** But ** the problem is not this !? Because my "modified" Drm-Machine > works however (with or without sounds). > We have to solve the problem that blocks all the procedures of > sending-midi-data cycle. > > Bye > vuott > > > > > -------------------------------------------- > Gio 19/3/15, Jussi Lahtinen ha scritto: > >? Oggetto: Re: [Gambas-user] Revision #4160 feature doesn't work anymore. >? A: "mailing list for gambas users" >? Data: Gioved? 19 marzo 2015, 23:07 > >? How this is meant to >? work? I can't get any sound with the "working" >? version. > > >? Jussi > >? On Thu, >? Mar 19, 2015 at 9:51 PM, Ru Vuott >? wrote: > >? > No, Beno?t, >? excuse me: I expressed myself badly and not properly. >? > >? > I want to say >? nothing changed with revision #6993: >? > * >? the old/original Drum-Machine (that didn't work >? anymore), continue NOT >? > working; >? > * the modificated Drum-Machine (that did >? work), continue to work. >? > >? > ...obvoiusly, we have to restore the >? feature (like that in rev. 4160) that >? > >? allows old/original Drum-Machine to work. :-) >? > >? > Regards >? > vuott >? > >? > >? > >? > >? > >? -------------------------------------------- >? > Gio 19/3/15, Beno?t Minisini >? ha scritto: >? > >? > >? Oggetto: Re: [Gambas-user] Revision #4160 feature >? doesn't work anymore. >? >? A: >? "mailing list for gambas users" >? >? Data: Gioved? 19 marzo 2015, 19:53 >? > >? >? Le 19/03/2015 >? 19:19, Ru >? >? Vuott a ?crit : >? >? > No, Beno?t, revision >? >? #6993 didn't solve the problem. >? >? > The >? >? two >? programs don't work.? :-( >? > >? > >? >? > bye >? > >? > vuott >? >? > >? > >? >? Do you >? >? mean that before that change, one >? program worked, and with >? >? that >? >? change, that the program that worked >? >? does not work anymore? >? > >? >? -- >? >? Beno?t Minisini >? > >? > >? > > >? ------------------------------------------------------------------------------ >? >? Dive into the World of Parallel >? Programming The >? >? Go Parallel Website, >? sponsored >? >? by Intel and >? >? developed in partnership with Slashdot >? Media, is your hub >? >? for all >? >? things parallel software >? >? development, from weekly thought >? leadership blogs to >? >? news, videos, >? case studies, tutorials and more. >? > >? Take a look and join the >? >? conversation >? now. >? >? http://goparallel.sourceforge.net/ >? > >? _______________________________________________ >? >? Gambas-user mailing list >? >? Gambas-user at lists.sourceforge.net >? >? https://lists.sourceforge.net/lists/listinfo/gambas-user >? > >? > >? > > >? ------------------------------------------------------------------------------ >? > Dive into the World of Parallel >? Programming The Go Parallel Website, >? > >? sponsored >? > by Intel and developed in >? partnership with Slashdot Media, is your hub for >? > all >? > things parallel >? software development, from weekly thought leadership >? blogs >? > to >? > news, >? videos, case studies, tutorials and more. Take a look and >? join the >? > conversation now. http://goparallel.sourceforge.net/ >? > >? _______________________________________________ >? > Gambas-user mailing list >? > Gambas-user at lists.sourceforge.net >? > https://lists.sourceforge.net/lists/listinfo/gambas-user >? > > >? ------------------------------------------------------------------------------ >? Dive into the World of Parallel Programming The >? Go Parallel Website, sponsored >? by Intel and >? developed in partnership with Slashdot Media, is your hub >? for all >? things parallel software >? development, from weekly thought leadership blogs to >? news, videos, case studies, tutorials and more. >? Take a look and join the >? conversation now. >? http://goparallel.sourceforge.net/ >? _______________________________________________ >? Gambas-user mailing list >? Gambas-user at lists.sourceforge.net >? https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From jussi.lahtinen at ...626... Fri Mar 20 01:57:01 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 20 Mar 2015 02:57:01 +0200 Subject: [Gambas-user] Revision #4160 feature doesn't work anymore. In-Reply-To: <1426811551.11595.YahooMailBasic@...3271...> References: <1426811551.11595.YahooMailBasic@...3271...> Message-ID: Yes, I'm aware of that. Jussi On Fri, Mar 20, 2015 at 2:32 AM, Ru Vuott wrote: > Hello Jussi, > > > the working version works as expected. > > yes, but probably you are refer to my "modified" Drum-Machine (the second > souce-code I attached). > But "original" (that is: NO modified project) Drum-machine doesn't work... > at this time. > > The mission is: restoring rev. 4160 "feature", that allows no-modified > project to work. > > Bye > vuott > > > -------------------------------------------- > Ven 20/3/15, Jussi Lahtinen ha scritto: > > Oggetto: Re: [Gambas-user] Revision #4160 feature doesn't work anymore. > A: "mailing list for gambas users" > Data: Venerd? 20 marzo 2015, 01:17 > > OK, I'm not very > familiar with Midi things. With your instructions, the > working version works as expected. > > > Jussi > > On Fri, Mar 20, 2015 at 1:16 > AM, Ru Vuott > wrote: > > > Hello Jussi, > > > > if you want to ear > the drum sound: > > > > 1) > run Jack Audio Connection Kit; > > 2) run a > softsynth (for example: Qsynth); > > 3) > connect via Jack 14:0 Midi-Through port ---> 129:Fluid > Sinth (id est: > > QSynth) > > > > OR > > if you want not to use Jack A.C.K., you > can send this ALSA line-command > > via > Terminal: > > ~ $ aconnect 14:0 > 128:0 > > where, 128:0 would be the ID and > the port of QSynth. > > > > ** But ** the problem is not this ! > Because my "modified" Drm-Machine > > works however (with or without sounds). > > We have to solve the problem that blocks > all the procedures of > > sending-midi-data > cycle. > > > > Bye > > vuott > > > > > > > > > > > -------------------------------------------- > > Gio 19/3/15, Jussi Lahtinen > ha scritto: > > > > > Oggetto: Re: [Gambas-user] Revision #4160 feature > doesn't work anymore. > > A: > "mailing list for gambas users" > > Data: Gioved? 19 marzo 2015, 23:07 > > > > How this is meant > to > > work? I can't get any sound > with the "working" > > > version. > > > > > > Jussi > > > > On Thu, > > Mar 19, > 2015 at 9:51 PM, Ru Vuott > > wrote: > > > > > No, Beno?t, > > > excuse me: I expressed myself badly and not properly. > > > > > > I want > to say > > nothing changed with revision > #6993: > > > * > > > the old/original Drum-Machine (that didn't work > > anymore), continue NOT > > > working; > > > > * the modificated Drum-Machine (that did > > work), continue to work. > > > > > > > ...obvoiusly, we have to restore the > > > feature (like that in rev. 4160) that > > > > > > allows old/original Drum-Machine > to work. :-) > > > > > > Regards > > > > vuott > > > > > > > > > > > > > > > > > > > > -------------------------------------------- > > > Gio 19/3/15, Beno?t Minisini > > > ha scritto: > > > > > > > > > > Oggetto: Re: [Gambas-user] Revision #4160 feature > > doesn't work anymore. > > > A: > > > "mailing list for gambas users" > > > Data: Gioved? 19 marzo 2015, > 19:53 > > > > > > > Le 19/03/2015 > > 19:19, Ru > > > Vuott a ?crit : > > > > No, Beno?t, revision > > > #6993 didn't solve the > problem. > > > > The > > > two > > > programs don't work. :-( > > > > > > > > > > > > bye > > > > > > vuott > > > > > > > > > > > > Do you > > > mean that before > that change, one > > program worked, and > with > > > that > > > change, that the program that > worked > > > does not work > anymore? > > > > > > > -- > > > Beno?t Minisini > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > Dive into the World of > Parallel > > Programming The > > > Go Parallel Website, > > sponsored > > > > by Intel and > > > developed in > partnership with Slashdot > > Media, is > your hub > > > for all > > > things parallel software > > > development, from weekly > thought > > leadership blogs to > > > news, videos, > > case studies, tutorials and more. > > > > > Take a look > and join the > > > conversation > > now. > > > http://goparallel.sourceforge.net/ > > > > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > Dive into the World of Parallel > > Programming The Go Parallel Website, > > > > > sponsored > > > by Intel and developed in > > partnership with Slashdot Media, is your > hub for > > > all > > > things parallel > > software development, from weekly > thought leadership > > blogs > > > to > > > > news, > > videos, case studies, tutorials > and more. Take a look and > > join the > > > conversation now. http://goparallel.sourceforge.net/ > > > > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > ------------------------------------------------------------------------------ > > Dive into the World of Parallel > Programming The > > Go Parallel Website, > sponsored > > by Intel and > > developed in partnership with Slashdot > Media, is your hub > > for all > > things parallel software > > development, from weekly thought > leadership blogs to > > news, videos, > case studies, tutorials and more. > > > Take a look and join the > > conversation > now. > > http://goparallel.sourceforge.net/ > > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > ------------------------------------------------------------------------------ > > Dive into the World of Parallel > Programming The Go Parallel Website, > > > sponsored > > by Intel and developed in > partnership with Slashdot Media, is your hub for > > all > > things parallel > software development, from weekly thought leadership > blogs > > to > > news, > videos, case studies, tutorials and more. Take a look and > join the > > conversation now. http://goparallel.sourceforge.net/ > > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The > Go Parallel Website, sponsored > by Intel and > developed in partnership with Slashdot Media, is your hub > for all > things parallel software > development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. > Take a look and join the > conversation now. > http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Fri Mar 20 07:48:31 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 20 Mar 2015 07:48:31 +0100 Subject: [Gambas-user] Revision #4160 feature doesn't work anymore. In-Reply-To: <1426810673.83552.YahooMailBasic@...3275...> References: <1426810673.83552.YahooMailBasic@...3275...> Message-ID: <550BC2BF.3060207@...1...> Le 20/03/2015 01:17, Ru Vuott a ?crit : > No, Beno?t, it doesn't work. > > bye > vuott > And with revision #6995? -- Beno?t Minisini From vuott at ...325... Fri Mar 20 09:43:05 2015 From: vuott at ...325... (Ru Vuott) Date: Fri, 20 Mar 2015 08:43:05 +0000 Subject: [Gambas-user] Revision #4160 feature doesn't work anymore. In-Reply-To: <550BC2BF.3060207@...1...> Message-ID: <1426840985.13814.YahooMailBasic@...3274...> Yeeeeeeeeees ! Now it works ! Perfect ! Thank you, Beno?t. Bye vuott -------------------------------------------- Ven 20/3/15, Beno?t Minisini ha scritto: Oggetto: Re: [Gambas-user] Revision #4160 feature doesn't work anymore. A: "mailing list for gambas users" Data: Venerd? 20 marzo 2015, 07:48 Le 20/03/2015 01:17, Ru Vuott a ?crit : > No, Beno?t, it doesn't work. > > bye > vuott > And with revision #6995? -- Beno?t Minisini ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From d4t4full at ...626... Sat Mar 21 00:14:44 2015 From: d4t4full at ...626... (zxmarce) Date: Fri, 20 Mar 2015 16:14:44 -0700 (MST) Subject: [Gambas-user] Shared WiringPi library for RasPi In-Reply-To: <515F5560.9000101@...1...> References: <000001ce0db8$253be970$0f00a8c0@...2829...> <5121F5DB.6060603@...1...> <000001ce2fb1$dea78340$0f00a8c0@...2829...> <515B12F9.7080703@...1...> <000001ce3047$2cdd3970$0f00a8c0@...2829...> <515C0F51.3060008@...1...> <000001ce3065$93d80100$0f00a8c0@...2829...> <515F5560.9000101@...1...> Message-ID: <1426893284917-51072.post@...3046...> Benoit, I'm a recent RasPi enthusiast and I'm currently smacking my head against the wall because of the apparent impossibility to use Interrupts. This thread is old and maybe some advance has been made. In the meantime, I have installed Gambas 3 under Pidora (RasPi's Fedora) from repo and added the symbols for it. My G3 is actually 3.5.2. I ran the commands you requested and the output is this (everything's included): Hope it helps solve the problem. And sorry if this in any way not precisely a "by the book" post. zxMarce. -- View this message in context: http://gambas.8142.n7.nabble.com/Shared-WiringPi-library-for-RasPi-tp41154p51072.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas.fr at ...626... Sat Mar 21 17:27:34 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 21 Mar 2015 17:27:34 +0100 Subject: [Gambas-user] gambas wiki Message-ID: Gambas wiki is down ? -- Fabien Bodard From taboege at ...626... Sat Mar 21 17:32:44 2015 From: taboege at ...626... (Tobias Boege) Date: Sat, 21 Mar 2015 17:32:44 +0100 Subject: [Gambas-user] gambas wiki In-Reply-To: References: Message-ID: <20150321163244.GD566@...2774...> On Sat, 21 Mar 2015, Fabien Bodard wrote: > Gambas wiki is down ? > Yes, "here" too. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From bagoneo at ...69... Sat Mar 21 17:52:12 2015 From: bagoneo at ...69... (Gian) Date: Sat, 21 Mar 2015 17:52:12 +0100 Subject: [Gambas-user] gambas wiki In-Reply-To: <20150321163244.GD566@...2774...> References: <20150321163244.GD566@...2774...> Message-ID: <550DA1BC.5040407@...69...> Yes in Italy from yesterday 19 about. From lewis at ...3412... Sat Mar 21 18:04:30 2015 From: lewis at ...3412... (Lewis Balentine) Date: Sat, 21 Mar 2015 12:04:30 -0500 Subject: [Gambas-user] gambas wiki down In-Reply-To: References: Message-ID: <550DA49E.6060906@...3412...> Affirmative: "Service Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later." On 03/21/2015 11:27 AM, Fabien Bodard wrote: > Gambas wiki is down ? > From jusabejusabe at ...626... Sat Mar 21 19:04:15 2015 From: jusabejusabe at ...626... (Julio Sanchez) Date: Sat, 21 Mar 2015 19:04:15 +0100 Subject: [Gambas-user] gambas wiki In-Reply-To: <550DA1BC.5040407@...69...> References: <20150321163244.GD566@...2774...> <550DA1BC.5040407@...69...> Message-ID: Yes, in Spain too 2015-03-21 17:52 GMT+01:00 Gian : > > Yes in Italy from yesterday 19 about. > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sun Mar 22 02:30:41 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 22 Mar 2015 02:30:41 +0100 Subject: [Gambas-user] gambas wiki down In-Reply-To: <550DA49E.6060906@...3412...> References: <550DA49E.6060906@...3412...> Message-ID: <550E1B41.6050200@...1...> Le 21/03/2015 18:04, Lewis Balentine a ?crit : > Affirmative: > "Service Unavailable > > The server is temporarily unable to service your request due to > maintenance downtime or capacity problems. Please try again later." > For an unknown reason, the web server has been stopped (it didn't crash). It is back now. Regards, -- Beno?t Minisini From lewis at ...3412... Sun Mar 22 02:33:39 2015 From: lewis at ...3412... (Lewis Balentine) Date: Sat, 21 Mar 2015 20:33:39 -0500 Subject: [Gambas-user] gambas wiki down In-Reply-To: <550E1B41.6050200@...1...> References: <550DA49E.6060906@...3412...> <550E1B41.6050200@...1...> Message-ID: <550E1BF3.70200@...3412...> It may have felt ignored and wanted some attention :-) On 03/21/2015 08:30 PM, Beno?t Minisini wrote: > For an unknown reason, the web server has been stopped (it didn't > crash). It is back now. > > Regards, > From gambas.fr at ...626... Sun Mar 22 10:00:11 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 22 Mar 2015 10:00:11 +0100 Subject: [Gambas-user] gambas wiki down In-Reply-To: <550E1BF3.70200@...3412...> References: <550DA49E.6060906@...3412...> <550E1B41.6050200@...1...> <550E1BF3.70200@...3412...> Message-ID: He was on strike ... it is a French server:-P 2015-03-22 2:33 GMT+01:00 Lewis Balentine : > It may have felt ignored and wanted some attention :-) > > On 03/21/2015 08:30 PM, Beno?t Minisini wrote: >> For an unknown reason, the web server has been stopped (it didn't >> crash). It is back now. >> >> Regards, >> > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From laborde at ...3371... Sun Mar 22 10:10:58 2015 From: laborde at ...3371... (Jean-Luc Laborde) Date: Sun, 22 Mar 2015 10:10:58 +0100 Subject: [Gambas-user] gambas wiki down In-Reply-To: Message-ID: <3bfd-550e8700-9b-7b32fe00@...3460...> May be there's a new syndicate for servers and other robot machines. Will that cause the end of Capitalism ? or the end the humanism ? Isaac Asimov help us !! On diumenge 22 marc 2015 10:00 CET, Fabien Bodard wrote: > He was on strike ... it is a French server:-P > > 2015-03-22 2:33 GMT+01:00 Lewis Balentine : > > It may have felt ignored and wanted some attention :-) > > > > On 03/21/2015 08:30 PM, Beno?t Minisini wrote: > >> For an unknown reason, the web server has been stopped (it didn't > >> crash). It is back now. > >> > >> Regards, > >> > > > > > > ------------------------------------------------------------------------------ > > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > > by Intel and developed in partnership with Slashdot Media, is your hub for all > > things parallel software development, from weekly thought leadership blogs to > > news, videos, case studies, tutorials and more. Take a look and join the > > conversation now. http://goparallel.sourceforge.net/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From bagoneo at ...69... Sun Mar 22 12:31:11 2015 From: bagoneo at ...69... (Gian) Date: Sun, 22 Mar 2015 12:31:11 +0100 Subject: [Gambas-user] Ubuntu message Message-ID: <550EA7FF.6070805@...69...> Hi Benoit, I know this has been discussed, and I apologize for repeating. In Ubuntu if I want to show to a user in a message boloon I change colors by acting through the HTML commands. Or I can show him the message with typical "balloon" of Ubuntu: Dim comando, sText As String sText = "My spectacular Gambas3 message in Ubuntu" comando = "notify-send '" & sText & "'" Shell comando as do other software like Mozilla Thunderbird. One question: would not be wonderful if Gambas also inform us so? :) Regards Gianluigi From gambas at ...1... Sun Mar 22 13:08:49 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 22 Mar 2015 13:08:49 +0100 Subject: [Gambas-user] Ubuntu message In-Reply-To: <550EA7FF.6070805@...69...> References: <550EA7FF.6070805@...69...> Message-ID: <550EB0D1.8070704@...1...> Le 22/03/2015 12:31, Gian a ?crit : > Hi Benoit, > I know this has been discussed, and I apologize for repeating. > In Ubuntu if I want to show to a user in a message boloon I change > colors by acting through the HTML commands. > Or I can show him the message with typical "balloon" of Ubuntu: > Dim comando, sText As String > sText = "My spectacular Gambas3 message in Ubuntu" > comando = "notify-send '" & sText & "'" > Shell comando > as do other software like Mozilla Thunderbird. > One question: would not be wonderful if Gambas also inform us so? :) > Regards > Gianluigi > Inform us about what? -- Beno?t Minisini From bagoneo at ...69... Sun Mar 22 14:14:20 2015 From: bagoneo at ...69... (Gian) Date: Sun, 22 Mar 2015 14:14:20 +0100 Subject: [Gambas-user] Ubuntu message In-Reply-To: <550EB0D1.8070704@...1...> References: <550EA7FF.6070805@...69...> <550EB0D1.8070704@...1...> Message-ID: <550EC02C.9010503@...69...> Il 22/03/2015 13:08, Beno?t Minisini ha scritto: > Le 22/03/2015 12:31, Gian a ?crit : >> Hi Benoit, >> I know this has been discussed, and I apologize for repeating. >> In Ubuntu if I want to show to a user in a message boloon I change >> colors by acting through the HTML commands. >> Or I can show him the message with typical "balloon" of Ubuntu: >> Dim comando, sText As String >> sText = "My spectacular Gambas3 message in Ubuntu" >> comando = "notify-send '" & sText & "'" >> Shell comando >> as do other software like Mozilla Thunderbird. >> One question: would not be wonderful if Gambas also inform us so? :) >> Regards >> Gianluigi >> > > Inform us about what? > ...any information with balloon... Regards Gianluigi From gambas.fr at ...626... Sun Mar 22 15:09:48 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 22 Mar 2015 15:09:48 +0100 Subject: [Gambas-user] Ubuntu message In-Reply-To: <550EC02C.9010503@...69...> References: <550EA7FF.6070805@...69...> <550EB0D1.8070704@...1...> <550EC02C.9010503@...69...> Message-ID: like the standart kde/unty balloon ? 2015-03-22 14:14 GMT+01:00 Gian : > Il 22/03/2015 13:08, Beno?t Minisini ha scritto: >> Le 22/03/2015 12:31, Gian a ?crit : >>> Hi Benoit, >>> I know this has been discussed, and I apologize for repeating. >>> In Ubuntu if I want to show to a user in a message boloon I change >>> colors by acting through the HTML commands. >>> Or I can show him the message with typical "balloon" of Ubuntu: >>> Dim comando, sText As String >>> sText = "My spectacular Gambas3 message in Ubuntu" >>> comando = "notify-send '" & sText & "'" >>> Shell comando >>> as do other software like Mozilla Thunderbird. >>> One question: would not be wonderful if Gambas also inform us so? :) >>> Regards >>> Gianluigi >>> >> >> Inform us about what? >> > > ...any information with balloon... > > Regards > Gianluigi > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas.fr at ...626... Sun Mar 22 15:22:58 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 22 Mar 2015 15:22:58 +0100 Subject: [Gambas-user] Ubuntu message In-Reply-To: References: <550EA7FF.6070805@...69...> <550EB0D1.8070704@...1...> <550EC02C.9010503@...69...> Message-ID: You can use : dBus["org.freedesktop.Notifications"]["/org/freedesktop/Notifications"].Notify("MyApp", "2", Null, "About My Notify", "This is a Notifications!!!", Null, Null, 5) 2015-03-22 15:09 GMT+01:00 Fabien Bodard : > like the standart kde/unty balloon ? > > 2015-03-22 14:14 GMT+01:00 Gian : >> Il 22/03/2015 13:08, Beno?t Minisini ha scritto: >>> Le 22/03/2015 12:31, Gian a ?crit : >>>> Hi Benoit, >>>> I know this has been discussed, and I apologize for repeating. >>>> In Ubuntu if I want to show to a user in a message boloon I change >>>> colors by acting through the HTML commands. >>>> Or I can show him the message with typical "balloon" of Ubuntu: >>>> Dim comando, sText As String >>>> sText = "My spectacular Gambas3 message in Ubuntu" >>>> comando = "notify-send '" & sText & "'" >>>> Shell comando >>>> as do other software like Mozilla Thunderbird. >>>> One question: would not be wonderful if Gambas also inform us so? :) >>>> Regards >>>> Gianluigi >>>> >>> >>> Inform us about what? >>> >> >> ...any information with balloon... >> >> Regards >> Gianluigi >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub for all >> things parallel software development, from weekly thought leadership blogs to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard -- Fabien Bodard From jussi.lahtinen at ...626... Sun Mar 22 15:50:25 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 22 Mar 2015 16:50:25 +0200 Subject: [Gambas-user] Ubuntu message In-Reply-To: <550EC02C.9010503@...69...> References: <550EA7FF.6070805@...69...> <550EB0D1.8070704@...1...> <550EC02C.9010503@...69...> Message-ID: > ...any information with balloon... > Sorry, but I hate the idea. I want to see the error messages where they belong, and crashes in their own window which doesn't autoclose. So, just like it is now. Jussi From bagoneo at ...69... Sun Mar 22 15:58:36 2015 From: bagoneo at ...69... (Gian) Date: Sun, 22 Mar 2015 15:58:36 +0100 Subject: [Gambas-user] Ubuntu message In-Reply-To: References: <550EA7FF.6070805@...69...> <550EB0D1.8070704@...1...> <550EC02C.9010503@...69...> Message-ID: <550ED89C.9040401@...69...> Il 22/03/2015 15:50, Jussi Lahtinen ha scritto: > Sorry, but I hate the idea. I want to see the error messages where they > belong, and crashes in their own window which doesn't autoclose. So, just > like it is now. OK, shame that a normal Ubuntu user does not see ... I meant one more, not one less. From bagoneo at ...69... Sun Mar 22 16:01:49 2015 From: bagoneo at ...69... (Gian) Date: Sun, 22 Mar 2015 16:01:49 +0100 Subject: [Gambas-user] Ubuntu message In-Reply-To: References: <550EA7FF.6070805@...69...> <550EB0D1.8070704@...1...> <550EC02C.9010503@...69...> Message-ID: <550ED95D.6010904@...69...> Il 22/03/2015 15:22, Fabien Bodard ha scritto: > You can use : > > dBus["org.freedesktop.Notifications"]["/org/freedesktop/Notifications"].Notify("MyApp", > "2", Null, "About My Notify", "This is a Notifications!!!", Null, > Null, 5) Sorry Fabien, I get error From gambas.fr at ...626... Sun Mar 22 16:21:43 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 22 Mar 2015 16:21:43 +0100 Subject: [Gambas-user] Ubuntu message In-Reply-To: <550ED95D.6010904@...69...> References: <550EA7FF.6070805@...69...> <550EB0D1.8070704@...1...> <550EC02C.9010503@...69...> <550ED95D.6010904@...69...> Message-ID: what error ? 2015-03-22 16:01 GMT+01:00 Gian : > Il 22/03/2015 15:22, Fabien Bodard ha scritto: >> You can use : >> >> dBus["org.freedesktop.Notifications"]["/org/freedesktop/Notifications"].Notify("MyApp", >> "2", Null, "About My Notify", "This is a Notifications!!!", Null, >> Null, 5) > > > Sorry Fabien, > I get error > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas.fr at ...626... Sun Mar 22 16:28:25 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 22 Mar 2015 16:28:25 +0100 Subject: [Gambas-user] Ubuntu message In-Reply-To: References: <550EA7FF.6070805@...69...> <550EB0D1.8070704@...1...> <550EC02C.9010503@...69...> <550ED95D.6010904@...69...> Message-ID: what is your desktop environment ? 2015-03-22 16:21 GMT+01:00 Fabien Bodard : > what error ? > > > 2015-03-22 16:01 GMT+01:00 Gian : >> Il 22/03/2015 15:22, Fabien Bodard ha scritto: >>> You can use : >>> >>> dBus["org.freedesktop.Notifications"]["/org/freedesktop/Notifications"].Notify("MyApp", >>> "2", Null, "About My Notify", "This is a Notifications!!!", Null, >>> Null, 5) >> >> >> Sorry Fabien, >> I get error >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub for all >> things parallel software development, from weekly thought leadership blogs to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard -- Fabien Bodard From bagoneo at ...69... Sun Mar 22 16:29:06 2015 From: bagoneo at ...69... (Gian) Date: Sun, 22 Mar 2015 16:29:06 +0100 Subject: [Gambas-user] Ubuntu message In-Reply-To: References: <550EA7FF.6070805@...69...> <550EB0D1.8070704@...1...> <550EC02C.9010503@...69...> <550ED95D.6010904@...69...> Message-ID: <550EDFC2.40605@...69...> Il 22/03/2015 16:21, Fabien Bodard ha scritto: > what error ? bash: syntax error near the token is not expected "" MyApp "," From bagoneo at ...69... Sun Mar 22 16:35:34 2015 From: bagoneo at ...69... (Gian) Date: Sun, 22 Mar 2015 16:35:34 +0100 Subject: [Gambas-user] Ubuntu message In-Reply-To: References: <550EA7FF.6070805@...69...> <550EB0D1.8070704@...1...> <550EC02C.9010503@...69...> <550ED95D.6010904@...69...> Message-ID: <550EE146.1040501@...69...> Il 22/03/2015 16:28, Fabien Bodard ha scritto: > what is your desktop environment ? [System] Gambas=3.7.0 OperatingSystem=Linux Kernel=3.13.0-48-generic Architecture=x86_64 Distribution=Ubuntu 14.04.2 LTS Desktop=GNOME Theme=QGtk Language=it_IT.UTF-8 Memory=4961M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 My idea: See attached -------------- next part -------------- A non-text attachment was scrubbed... Name: Balloon.png Type: image/png Size: 28343 bytes Desc: not available URL: From taboege at ...626... Sun Mar 22 16:45:34 2015 From: taboege at ...626... (Tobias Boege) Date: Sun, 22 Mar 2015 16:45:34 +0100 Subject: [Gambas-user] Ubuntu message In-Reply-To: <550EA7FF.6070805@...69...> References: <550EA7FF.6070805@...69...> Message-ID: <20150322154534.GA589@...2774...> On Sun, 22 Mar 2015, Gian wrote: > Hi Benoit, > I know this has been discussed, and I apologize for repeating. > In Ubuntu if I want to show to a user in a message boloon I change > colors by acting through the HTML commands. > Or I can show him the message with typical "balloon" of Ubuntu: > Dim comando, sText As String > sText = "My spectacular Gambas3 message in Ubuntu" > comando = "notify-send '" & sText & "'" > Shell comando > as do other software like Mozilla Thunderbird. > One question: would not be wonderful if Gambas also inform us so? :) Apparently this program once came with the libnotify package into my Arch Linux which was, in turn, installed here as a dependency of python2-notify, so I'd say it's a "non-core" program. Don't know if it's worth it to add another dependency to Gambas, just to replace our working Balloon with a fancier but external Balloon. Also it doesn't show anything on my system, whereas Gambas' Balloon never failed me :-) Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From vuott at ...325... Sun Mar 22 16:49:40 2015 From: vuott at ...325... (Ru Vuott) Date: Sun, 22 Mar 2015 15:49:40 +0000 Subject: [Gambas-user] R: Ubuntu message In-Reply-To: <550EA7FF.6070805@...69...> Message-ID: <1427039380.16306.YahooMailBasic@...3274...> > would not be wonderful if Gambas also inform us so? What would be the difference and the real utility compared to that ordinary from Gambas? -------------------------------------------- Dom 22/3/15, Gian ha scritto: Oggetto: [Gambas-user] Ubuntu message A: Gambas-user at lists.sourceforge.net Data: Domenica 22 marzo 2015, 12:31 Hi Benoit, I know this has been discussed, and I apologize for repeating. In Ubuntu if I want to show to a user in a message boloon I change colors by acting through the HTML commands. Or I can show him the message with typical "balloon" of Ubuntu: Dim comando, sText As String sText = "My spectacular Gambas3 message in Ubuntu" comando = "notify-send '" & sText & "'" Shell comando as do other software like Mozilla Thunderbird. One question: would not be wonderful if Gambas also inform us so? :) Regards Gianluigi ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...2524... Sun Mar 22 16:57:11 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 22 Mar 2015 15:57:11 +0000 Subject: [Gambas-user] Issue 613 in gambas: IDE feature request: add possibility to 'Change into' a valuebox from textbox Message-ID: <0-6813199134517018827-134786278993578088-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-TRUNK enhancement Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 613 by r... at ...1740...: IDE feature request: add possibility to 'Change into' a valuebox from textbox https://code.google.com/p/gambas/issues/detail?id=613 1) Describe the problem. It's missing from the context menu, when you right click a valuebox in editor mode... 2) Give information about your system. Use the 'System information' menu in the Gambas IDE, and paste the result there. [System] Gambas=3.7.0 OperatingSystem=Linux Kernel=3.16.0-31-generic Architecture=x86_64 Distribution=Ubuntu 14.04.2 LTS Desktop=GNOME Theme=QGtk Language=en_US.UTF-8 Memory=7952M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sun Mar 22 16:58:11 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 22 Mar 2015 15:58:11 +0000 Subject: [Gambas-user] Issue 613 in gambas: IDE feature request: add possibility to 'Change into' a valuebox from textbox In-Reply-To: <0-6813199134517018827-134786278993578088-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-134786278993578088-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-134786278993578088-gambas=googlecode.com@...2524...> Comment #1 on issue 613 by r... at ...1740...: IDE feature request: add possibility to 'Change into' a valuebox from textbox https://code.google.com/p/gambas/issues/detail?id=613 correction: 'right click a textbox' -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From bagoneo at ...69... Sun Mar 22 16:59:03 2015 From: bagoneo at ...69... (Gian) Date: Sun, 22 Mar 2015 16:59:03 +0100 Subject: [Gambas-user] R: Ubuntu message In-Reply-To: <1427039380.16306.YahooMailBasic@...3274...> References: <1427039380.16306.YahooMailBasic@...3274...> Message-ID: <550EE6C7.1010209@...69...> Sorry gentlemen, :) but the programmer Gambas Ubuntu messages Balloon does not see them. What you do not understand? Regards Gianluigi From ron at ...1740... Sun Mar 22 17:01:27 2015 From: ron at ...1740... (Ron) Date: Sun, 22 Mar 2015 17:01:27 +0100 Subject: [Gambas-user] R: Ubuntu message In-Reply-To: <550EE6C7.1010209@...69...> References: <1427039380.16306.YahooMailBasic@...3274...> <550EE6C7.1010209@...69...> Message-ID: You can make them readable with these two commands, you might need to change 'Ambiance' to 'QGtk', not sure, just try. sed -i 's/tooltip_fg_color:#ffffff/tooltip_fg_color:#000000/g' /usr/share/themes/Ambiance/gtk-2.0/gtkrc sed -i 's/tooltip_bg_color:#000000/tooltip_bg_color:#ffffff/g' /usr/share/themes/Ambiance/gtk-2.0/gtkrc 2015-03-22 16:59 GMT+01:00 Gian : > Sorry gentlemen, :) > but the programmer Gambas Ubuntu messages Balloon does not see them. > What you do not understand? > Regards > Gianluigi > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From bagoneo at ...69... Sun Mar 22 17:53:45 2015 From: bagoneo at ...69... (Gian) Date: Sun, 22 Mar 2015 17:53:45 +0100 Subject: [Gambas-user] R: Ubuntu message In-Reply-To: References: <1427039380.16306.YahooMailBasic@...3274...> <550EE6C7.1010209@...69...> Message-ID: <550EF399.8080704@...69...> Il 22/03/2015 17:01, Ron ha scritto: > You can make them readable with these two commands, you might need to > change 'Ambiance' to 'QGtk', not sure, just try. > > sed -i 's/tooltip_fg_color:#ffffff/tooltip_fg_color:#000000/g' > /usr/share/themes/Ambiance/gtk-2.0/gtkrc > sed -i 's/tooltip_bg_color:#000000/tooltip_bg_color:#ffffff/g' > /usr/share/themes/Ambiance/gtk-2.0/gtkrc Hello Ron, thank you so much for trick. I had read something about this on Ask Ubuntu, will try. Regards Gianluigi From bagoneo at ...69... Sun Mar 22 18:24:50 2015 From: bagoneo at ...69... (Gian) Date: Sun, 22 Mar 2015 18:24:50 +0100 Subject: [Gambas-user] R: Ubuntu message In-Reply-To: <550EF399.8080704@...69...> References: <1427039380.16306.YahooMailBasic@...3274...> <550EE6C7.1010209@...69...> <550EF399.8080704@...69...> Message-ID: <550EFAE2.8080500@...69...> Il 22/03/2015 17:53, Gian ha scritto: > Il 22/03/2015 17:01, Ron ha scritto: >> You can make them readable with these two commands, you might need to >> change 'Ambiance' to 'QGtk', not sure, just try. >> >> sed -i 's/tooltip_fg_color:#ffffff/tooltip_fg_color:#000000/g' >> /usr/share/themes/Ambiance/gtk-2.0/gtkrc >> sed -i 's/tooltip_bg_color:#000000/tooltip_bg_color:#ffffff/g' >> /usr/share/themes/Ambiance/gtk-2.0/gtkrc > > > Hello Ron, > thank you so much for trick. I had read something about this on Ask > Ubuntu, will try. > Regards > Gianluigi > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Hi Ron, here is the result of your trick Thank you very much Regards Gianluigi -------------- next part -------------- A non-text attachment was scrubbed... Name: Balloon-2.png Type: image/png Size: 19357 bytes Desc: not available URL: From bagoneo at ...69... Sun Mar 22 19:37:04 2015 From: bagoneo at ...69... (Gian) Date: Sun, 22 Mar 2015 19:37:04 +0100 Subject: [Gambas-user] R: Ubuntu message In-Reply-To: <550EFAE2.8080500@...69...> References: <1427039380.16306.YahooMailBasic@...3274...> <550EE6C7.1010209@...69...> <550EF399.8080704@...69...> <550EFAE2.8080500@...69...> Message-ID: <550F0BD0.4060001@...69...> Hi Benoit, but I do not find wrong to give the choice at Gambas programmers with Ubuntu. Or at least insert Ron trick in documentation: (sed -i 's/tooltip_fg_color:#ffffff/tooltip_fg_color:#000000/g' /usr/share/themes/Ambiance/gtk-2.0/gtkrc sed -i 's/tooltip_bg_color:#000000/tooltip_bg_color:#ffffff/g' /usr/share/themes/Ambiance/gtk-2.0/gtkrc) Regards Gianluigi From john.aaron.rose at ...626... Sun Mar 22 21:07:08 2015 From: john.aaron.rose at ...626... (John Rose) Date: Sun, 22 Mar 2015 20:07:08 +0000 Subject: [Gambas-user] =?utf-8?q?Bizarre_results_when_entering_a_=C2=A3_sy?= =?utf-8?q?mbol_into_a_TextArea_or_TextBox?= In-Reply-To: <550929B5.5000406@...626...> References: <55082561.7030403@...626...> <55083B2D.40207@...626...> <550929B5.5000406@...626...> Message-ID: <550F20EC.2090206@...626...> Jussi, I spoke too soon. There seems to be one problem with having non-ASCII characters entered into a TextBox. If I make a string variable (sText in my attached Test project) equal to the Text property of the TextBox (PrintedTextBox.Text in my Test project), then the string variable needs to have String methods applied to it when using Len etc. Am I correct? Possible solution is to use sText = String.Mid(PrintedTextBox.Text, 1, String.Len(PrintedTextBox)) instead of sText = PrintedTextBox.Text, but I guess that would mean that String methods would also have to be used on sText. John On 18/03/15 07:31, John Rose wrote: > Jussi, > > Since you are top posting, I shall also top post: hopefully, it won't > start another long discussion. Thanks for the suggestion about using > String methods. > > The Test app now works properly using the String methods. Also, the = > and &= operators work OK for strings containing non-ASCII characters > such as $. > > John > > > > On 17/03/15 15:50, Jussi Lahtinen wrote: >> Oh I missed you are using Mid() function, it is only for ASCII characters, >> use String.Mid() instead. >> >> >> Jussi >> >> On Tue, Mar 17, 2015 at 4:33 PM, John Rose >> wrote: >> >>> On 17/03/15 13:33, Jussi Lahtinen wrote: >>>> Maybe the console takes only ASCII characters? >>>> >>>> >>>> Jussi >>>> >>>> On Tue, Mar 17, 2015 at 3:00 PM, John Rose >>>> wrote: >>>> >>>>> When entering a ? character (i.e. the British pound symbol not the >>>>> American one) into a TextArea or TextBox, it seems to be 'interpreted' >>>>> as a funny looking question mark (i.e. sort of reverse black & white) >>>>> when it's shown on the Console using a Print statement (actioned in a >>>>> Change event). I wonder if this could be due to Gambas/Ubuntu regarding >>>>> my keyboard as American even though it's 'installed' within Ubuntu as >>>>> British. >>>>> >>>>> -- >>>>> >>>>> John >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>> ------------------------------------------------------------------------------ >>>>> Dive into the World of Parallel Programming The Go Parallel Website, >>>>> sponsored >>>>> by Intel and developed in partnership with Slashdot Media, is your hub >>> for >>>>> all >>>>> things parallel software development, from weekly thought leadership >>> blogs >>>>> to >>>>> news, videos, case studies, tutorials and more. Take a look and join the >>>>> conversation now. http://goparallel.sourceforge.net/ >>>>> _______________________________________________ >>>>> Gambas-user mailing list >>>>> Gambas-user at lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>>> >>>>> >>> ------------------------------------------------------------------------------ >>>> Dive into the World of Parallel Programming The Go Parallel Website, >>> sponsored >>>> by Intel and developed in partnership with Slashdot Media, is your hub >>> for all >>>> things parallel software development, from weekly thought leadership >>> blogs to >>>> news, videos, case studies, tutorials and more. Take a look and join the >>>> conversation now. http://goparallel.sourceforge.net/ >>>> _______________________________________________ >>>> Gambas-user mailing list >>>> Gambas-user at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> I don't think that it's caused by Print statements to the Console. When >>> I amend the Change event coding (see below) for the TextArea and run the >>> app with just a ? character keyed into the TextArea, I get on the >>> Console (with the ? character displayed OK in the TextArea): >>> X >>> sCh=? >>> Y >>> ZZ >>> * >>> *** >>> >>> The coding is: >>> Dim i As Integer >>> Dim sCh As String >>> For i = 1 To PrintedTextArea.Length >>> sCh = Mid(PrintedTextArea.Text, i, 1) >>> Print "sCh=" & sCh >>> Print "X" >>> Print "sCh=" & sCh >>> Print "Y" >>> sCh = Mid(Last.Text, i, 1) >>> Select sCh >>> Case "?", "?", "&", ".", "/", "=" >>> Print "Z" >>> Case Else >>> Print "ZZ" >>> End Select >>> Print "*" >>> Next >>> Print "***" >>> >>> Which implies that the above Select statement is not recognising an >>> input ? as it is regarded it as the funny question mark when input into >>> the TextArea. Looking at www.asciitable.com, Chr(35) is # which I would >>> assume that Ubuntu should regard as a ? on a British keyboard. There >>> seems to be a bug: either on Ubuntu or Gambas. Which is it? >>> >>> >>> ------------------------------------------------------------------------------ >>> Dive into the World of Parallel Programming The Go Parallel Website, >>> sponsored >>> by Intel and developed in partnership with Slashdot Media, is your hub for >>> all >>> things parallel software development, from weekly thought leadership blogs >>> to >>> news, videos, case studies, tutorials and more. Take a look and join the >>> conversation now. http://goparallel.sourceforge.net/ >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub for all >> things parallel software development, from weekly thought leadership blogs to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- A non-text attachment was scrubbed... Name: Test.tar.gz Type: application/gzip Size: 9452 bytes Desc: not available URL: From jussi.lahtinen at ...626... Sun Mar 22 21:34:35 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 22 Mar 2015 22:34:35 +0200 Subject: [Gambas-user] =?utf-8?q?Bizarre_results_when_entering_a_=C2=A3_sy?= =?utf-8?q?mbol_into_a_TextArea_or_TextBox?= In-Reply-To: <550F20EC.2090206@...626...> References: <55082561.7030403@...626...> <55083B2D.40207@...626...> <550929B5.5000406@...626...> <550F20EC.2090206@...626...> Message-ID: Len() returns length in bytes and String.Len() returns length in characters. Use latter for UTF-8 strings. See the documentation. > sText = String.Mid(PrintedTextBox.Text, 1, String.Len(PrintedTextBox)) I assume you mean: sText = String.Mid(PrintedTextBox.Text, 1, String.Len(PrintedTextBox.Text)) But still that doesn't make any sense, since the result is exactly same as with: sText = PrintedTextBox.Text It's just hard way to do the same. I don't understand what you are trying to do. Jussi On Sun, Mar 22, 2015 at 10:07 PM, John Rose wrote: > Jussi, > > I spoke too soon. There seems to be one problem with having non-ASCII > characters entered into a TextBox. If I make a string variable (sText in > my attached Test project) equal to the Text property of the TextBox > (PrintedTextBox.Text in my Test project), then the string variable needs > to have String methods applied to it when using Len etc. Am I correct? > Possible solution is to use sText = String.Mid(PrintedTextBox.Text, 1, > String.Len(PrintedTextBox)) instead of sText = PrintedTextBox.Text, but > I guess that would mean that String methods would also have to be used > on sText. > > John > > > On 18/03/15 07:31, John Rose wrote: > > Jussi, > > > > Since you are top posting, I shall also top post: hopefully, it won't > > start another long discussion. Thanks for the suggestion about using > > String methods. > > > > The Test app now works properly using the String methods. Also, the = > > and &= operators work OK for strings containing non-ASCII characters > > such as $. > > > > John > > > > > > > > On 17/03/15 15:50, Jussi Lahtinen wrote: > >> Oh I missed you are using Mid() function, it is only for ASCII > characters, > >> use String.Mid() instead. > >> > >> > >> Jussi > >> > >> On Tue, Mar 17, 2015 at 4:33 PM, John Rose > >> wrote: > >> > >>> On 17/03/15 13:33, Jussi Lahtinen wrote: > >>>> Maybe the console takes only ASCII characters? > >>>> > >>>> > >>>> Jussi > >>>> > >>>> On Tue, Mar 17, 2015 at 3:00 PM, John Rose > > >>>> wrote: > >>>> > >>>>> When entering a ? character (i.e. the British pound symbol not the > >>>>> American one) into a TextArea or TextBox, it seems to be > 'interpreted' > >>>>> as a funny looking question mark (i.e. sort of reverse black & white) > >>>>> when it's shown on the Console using a Print statement (actioned in a > >>>>> Change event). I wonder if this could be due to Gambas/Ubuntu > regarding > >>>>> my keyboard as American even though it's 'installed' within Ubuntu as > >>>>> British. > >>>>> > >>>>> -- > >>>>> > >>>>> John > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>> > ------------------------------------------------------------------------------ > >>>>> Dive into the World of Parallel Programming The Go Parallel Website, > >>>>> sponsored > >>>>> by Intel and developed in partnership with Slashdot Media, is your > hub > >>> for > >>>>> all > >>>>> things parallel software development, from weekly thought leadership > >>> blogs > >>>>> to > >>>>> news, videos, case studies, tutorials and more. Take a look and join > the > >>>>> conversation now. http://goparallel.sourceforge.net/ > >>>>> _______________________________________________ > >>>>> Gambas-user mailing list > >>>>> Gambas-user at lists.sourceforge.net > >>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>>>> > >>>>> > >>> > ------------------------------------------------------------------------------ > >>>> Dive into the World of Parallel Programming The Go Parallel Website, > >>> sponsored > >>>> by Intel and developed in partnership with Slashdot Media, is your hub > >>> for all > >>>> things parallel software development, from weekly thought leadership > >>> blogs to > >>>> news, videos, case studies, tutorials and more. Take a look and join > the > >>>> conversation now. http://goparallel.sourceforge.net/ > >>>> _______________________________________________ > >>>> Gambas-user mailing list > >>>> Gambas-user at lists.sourceforge.net > >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>> I don't think that it's caused by Print statements to the Console. When > >>> I amend the Change event coding (see below) for the TextArea and run > the > >>> app with just a ? character keyed into the TextArea, I get on the > >>> Console (with the ? character displayed OK in the TextArea): > >>> X > >>> sCh=? > >>> Y > >>> ZZ > >>> * > >>> *** > >>> > >>> The coding is: > >>> Dim i As Integer > >>> Dim sCh As String > >>> For i = 1 To PrintedTextArea.Length > >>> sCh = Mid(PrintedTextArea.Text, i, 1) > >>> Print "sCh=" & sCh > >>> Print "X" > >>> Print "sCh=" & sCh > >>> Print "Y" > >>> sCh = Mid(Last.Text, i, 1) > >>> Select sCh > >>> Case "?", "?", "&", ".", "/", "=" > >>> Print "Z" > >>> Case Else > >>> Print "ZZ" > >>> End Select > >>> Print "*" > >>> Next > >>> Print "***" > >>> > >>> Which implies that the above Select statement is not recognising an > >>> input ? as it is regarded it as the funny question mark when input into > >>> the TextArea. Looking at www.asciitable.com, Chr(35) is # which I > would > >>> assume that Ubuntu should regard as a ? on a British keyboard. There > >>> seems to be a bug: either on Ubuntu or Gambas. Which is it? > >>> > >>> > >>> > ------------------------------------------------------------------------------ > >>> Dive into the World of Parallel Programming The Go Parallel Website, > >>> sponsored > >>> by Intel and developed in partnership with Slashdot Media, is your hub > for > >>> all > >>> things parallel software development, from weekly thought leadership > blogs > >>> to > >>> news, videos, case studies, tutorials and more. Take a look and join > the > >>> conversation now. http://goparallel.sourceforge.net/ > >>> _______________________________________________ > >>> Gambas-user mailing list > >>> Gambas-user at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>> > >> > ------------------------------------------------------------------------------ > >> Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > >> by Intel and developed in partnership with Slashdot Media, is your hub > for all > >> things parallel software development, from weekly thought leadership > blogs to > >> news, videos, case studies, tutorials and more. Take a look and join the > >> conversation now. http://goparallel.sourceforge.net/ > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From bagoneo at ...69... Sun Mar 22 21:35:26 2015 From: bagoneo at ...69... (Gian) Date: Sun, 22 Mar 2015 21:35:26 +0100 Subject: [Gambas-user] Possible bug on ValueBox gtk ang gb.gui Message-ID: <550F278E.8000307@...69...> On Ubuntu Gabas3 3.7 and Trunk you can not enter decimal numbers manually. Yes with code. Manually comma ends at the bottom of the widget, see attached. Regards Gianluigi [System] Gambas=3.7.0 OperatingSystem=Linux Kernel=3.13.0-48-generic Architecture=x86_64 Distribution=Ubuntu 14.04.2 LTS Desktop=GNOME Theme=QGtk Language=it_IT.UTF-8 Memory=4961M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 -------------- next part -------------- A non-text attachment was scrubbed... Name: ValueBox-2-0.0.1.tar.gz Type: application/gzip Size: 4010 bytes Desc: not available URL: From gambas at ...2524... Mon Mar 23 07:41:24 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 23 Mar 2015 06:41:24 +0000 Subject: [Gambas-user] Issue 614 in gambas: Cannot create database tables in mysql in gambas 3.7.0 Message-ID: <0-6813199134517018827-18417193229522519075-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version3.7.0 Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 614 by isaf... at ...626...: Cannot create database tables in mysql in gambas 3.7.0 https://code.google.com/p/gambas/issues/detail?id=614 ____________________________________________________________ / \ | IMPORTANT NOTE #1 | | | | Don't create an issue if you have a compilation problem on | | the development version. Send a mail to the mailing-list | | instead, thanks! | \____________________________________________________________/ ____________________________________________________________ / \ | IMPORTANT NOTE #2 | | | | 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! | \____________________________________________________________/ 1) For more than 2 years I have been doing this. Now I can create database in mysql. However creating tables in mysql database results in segmentation fault. Request for immediate help. 2) [System] Gambas=3.7.0 OperatingSystem=Linux Kernel=3.16.0-31-generic Architecture=x86 Distribution=Ubuntu 14.04.2 LTS Desktop=GNOME Theme=QGtk Language=en_US.UTF-8 Memory=1948M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 3) using gambas 3.7.0 version in ubuntu 14.04.2 using https://launchpad.net/~gambas-team/+archive/ubuntu/gambas3 4) Attached 5) Using mariadb version 10 ____________________________________________________________ / \ | IMPORTANT NOTE #3 | | | | By doing that carefully, you have done 50% of the bug fix | | job. Often even more! | \____________________________________________________________/ ____________________________________________________________ / \ | IMPORTANT NOTE #4 | | | | Google automatically replaces references to Gambas | | development revision with links to its own source code | | repository, which Gambas does not use at all. So ignore | | these links with disdain. | \____________________________________________________________/ Attachments: dbcreate.tar.gz 4.2 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From bagoneo at ...69... Mon Mar 23 10:24:50 2015 From: bagoneo at ...69... (Gian) Date: Mon, 23 Mar 2015 10:24:50 +0100 Subject: [Gambas-user] R: Ubuntu message In-Reply-To: <550F0BD0.4060001@...69...> References: <1427039380.16306.YahooMailBasic@...3274...> <550EE6C7.1010209@...69...> <550EF399.8080704@...69...> <550EFAE2.8080500@...69...> <550F0BD0.4060001@...69...> Message-ID: <550FDBE2.6020208@...69...> Re-reading with a cool head as I wrote in this thread, I realize that I explained very badly. I meant to talk about the Gambas IDE and just wanted to ask the opportunity to choose the Ubuntu balloon. I apologize to everyone for the confusion created. God did not want me to learn English, probably to safeguard you, but the devil knows several tricks. :) Regards Gianluigi From gambas at ...2524... Mon Mar 23 10:33:21 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 23 Mar 2015 09:33:21 +0000 Subject: [Gambas-user] Issue 612 in gambas: BUG Cannot browse more of 128 records on tables "No current connection" In-Reply-To: <0-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> Comment #1 on issue 612 by marcobra... at ...626...: BUG Cannot browse more of 128 records on tables "No current connection" https://code.google.com/p/gambas/issues/detail?id=612 A dirty custom temporary solution: raising query limit into gambas code in ~/src/gambas/trunk/comp/src/gb.db.form/.src/DataTable.class Public LIMIT_INC As Integer = 128 to 128000 then recompiling cd ~/src/gambas/trunk make && sudo make install Made me happy... -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Mon Mar 23 14:42:57 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 23 Mar 2015 13:42:57 +0000 Subject: [Gambas-user] Issue 615 in gambas: Printer.configure cause segfault (signal #11) with GTK3 Message-ID: <0-6813199134517018827-11555338046921151247-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: 3.7.0 Type-Crash Priority-Medium OpSys-Linux Dist-Ubuntu Arch-Any Desktop-Gnome GUI-GTK Arch-X86-64 New issue 615 by sot... at ...626...: Printer.configure cause segfault (signal #11) with GTK3 https://code.google.com/p/gambas/issues/detail?id=615 1) Describe the problem. Printer.Configure() cause signal #11 with gb.gtk3 component. Console show the message: Error building template class 'GtkPrintUnixDialog' for an instance of type 'GtkPrintUnixDialog': Invalid object type `GtkPrinterOptionWidget' 2) Give information about your system. Use the 'System information' menu in the Gambas IDE, and paste the result there. [System] Gambas=3.7.0 OperatingSystem=Linux Kernel=3.13.0-46-generic Architecture=x86_64 Distribution=Ubuntu 14.04.2 LTS Desktop=GNOME Theme=QGtk Language=it_IT.UTF-8 Memory=3833M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 3) Indicate the Gambas version in the issue labels, and if it is a bug, a crash, or an enhancement request. 4) Provide a little project that reproduces the bug or the crash. printer.tar.gz GNU debugger output 5) If your project needs a database, try to provide it, or part of it. NA 6) Explain clearly how to reproduce the bug or the crash. Simply run the project, it crashes immediately at line printer.configure() Attachments: gdb.out.tar.gz 606 bytes printer-0.0.1.tar.gz 4.5 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From chrisml at ...3340... Mon Mar 23 18:23:41 2015 From: chrisml at ...3340... (Christof Thalhofer) Date: Mon, 23 Mar 2015 18:23:41 +0100 Subject: [Gambas-user] gambas wiki down In-Reply-To: <550E1B41.6050200@...1...> (sfid-) References: <550DA49E.6060906@...3412...> <550E1B41.6050200@...1...> (sfid-) Message-ID: <55104C1D.4070903@...3340...> Am 22.03.2015 um 02:30 schrieb Beno?t Minisini: > For an unknown reason, the web server has been stopped (it didn't > crash). It is back now. What server? Apache? You can use monit to restart it, if has stopped. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From gambas at ...1... Mon Mar 23 18:29:06 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Mon, 23 Mar 2015 18:29:06 +0100 Subject: [Gambas-user] gambas wiki down In-Reply-To: <55104C1D.4070903@...3340...> References: <550DA49E.6060906@...3412...> <550E1B41.6050200@...1...> (sfid-) <55104C1D.4070903@...3340...> Message-ID: <55104D62.1080202@...1...> Le 23/03/2015 18:23, Christof Thalhofer a ?crit : > Am 22.03.2015 um 02:30 schrieb Beno?t Minisini: > >> For an unknown reason, the web server has been stopped (it didn't >> crash). It is back now. > > What server? Apache? You can use monit to restart it, if has stopped. > > > Alles Gute > > Christof Thalhofer > It's a custom version of thttpd. -- Beno?t Minisini From gambas at ...2524... Tue Mar 24 03:24:29 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 24 Mar 2015 02:24:29 +0000 Subject: [Gambas-user] Issue 613 in gambas: IDE feature request: add possibility to 'Change into' a valuebox from textbox In-Reply-To: <1-6813199134517018827-134786278993578088-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-134786278993578088-gambas=googlecode.com@...2524...> <0-6813199134517018827-134786278993578088-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-134786278993578088-gambas=googlecode.com@...2524...> Updates: Status: Invalid Comment #2 on issue 613 by benoit.m... at ...626...: IDE feature request: add possibility to 'Change into' a valuebox from textbox https://code.google.com/p/gambas/issues/detail?id=613 But you can already do that! -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From chrisml at ...3340... Tue Mar 24 07:05:46 2015 From: chrisml at ...3340... (Christof Thalhofer) Date: Tue, 24 Mar 2015 07:05:46 +0100 Subject: [Gambas-user] gambas wiki down In-Reply-To: <55104D62.1080202@...1...> (sfid-) References: <550DA49E.6060906@...3412...> <550E1B41.6050200@...1...> (sfid-) <55104C1D.4070903@...3340...> <55104D62.1080202@...1...> (sfid-) Message-ID: <5510FEBA.5060608@...3340...> Am 23.03.2015 um 18:29 schrieb Beno?t Minisini: > It's a custom version of thttpd. Strange (that it stops working). You can also automatically restart it with monit, if it's down: http://www.debianhelp.co.uk/monit.htm I use monit to keep services up for years, even if the daemons tend to fail sometimes. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From gambas at ...2524... Tue Mar 24 09:44:20 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 24 Mar 2015 08:44:20 +0000 Subject: [Gambas-user] Issue 616 in gambas: Where do files get installed or downloaded to from software farm Message-ID: <0-6813199134517018827-11605820317331825615-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-TRUNK Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 616 by justlost... at ...626...: Where do files get installed or downloaded to from software farm https://code.google.com/p/gambas/issues/detail?id=616 I am unable to find the installed or downloaded projects from the software farm, unless they are examples. WHERE ARE THE FILES DOWNLOADED OR INSTALLED TOO? Would it be possible to add these to the recent items so they can be found? Thanks -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From rolf.frogs at ...221... Tue Mar 24 10:06:31 2015 From: rolf.frogs at ...221... (rolf) Date: Tue, 24 Mar 2015 10:06:31 +0100 Subject: [Gambas-user] Issue 616 in gambas: Where do files get installed or downloaded to from software farm In-Reply-To: <0-6813199134517018827-11605820317331825615-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-11605820317331825615-gambas=googlecode.com@...2524...> Message-ID: <201503241006.32948.rolf.frogs@...221...> Hi, > I am unable to find the installed or downloaded projects from the > software farm, unless they are examples. > > WHERE ARE THE FILES DOWNLOADED OR INSTALLED TOO? The gods of Gambas decide to hide this for DEVELOPERS in directories below ".local" and they didn't make the path configurable! > Would it be possible to add these to the recent items so they can be found? Rolf From bagoneo at ...69... Tue Mar 24 11:28:56 2015 From: bagoneo at ...69... (Gian) Date: Tue, 24 Mar 2015 11:28:56 +0100 Subject: [Gambas-user] Possible bug on ValueBox gtk ang gb.gui In-Reply-To: <550F278E.8000307@...69...> References: <550F278E.8000307@...69...> Message-ID: <55113C68.9030408@...69...> Il 22/03/2015 21:35, Gian ha scritto: > On Ubuntu Gabas3 3.7 and Trunk you can not enter decimal numbers manually. > Yes with code. > Manually comma ends at the bottom of the widget, see attached. > Regards > Gianluigi > > [System] > Gambas=3.7.0 > OperatingSystem=Linux > Kernel=3.13.0-48-generic > Architecture=x86_64 > Distribution=Ubuntu 14.04.2 LTS > Desktop=GNOME > Theme=QGtk > Language=it_IT.UTF-8 > Memory=4961M > [Libraries] > Cairo=libcairo.so.2.11301.0 > Curl=libcurl.so.4.3.0 > DBus=libdbus-1.so.3.7.6 > GStreamer=libgstreamer-0.10.so.0.30.0 > GStreamer=libgstreamer-1.0.so.0.204.0 > GTK+3=libgtk-3.so.0.1000.8 > GTK+=libgtk-x11-2.0.so.0.2400.23 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.44.0.0 > Qt4=libQtCore.so.4.8.6 > SDL=libSDL-1.2.so.0.11.4 > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > > > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > If I badly explained see attached -------------- next part -------------- A non-text attachment was scrubbed... Name: Schermata del 2015-03-24 11_23_33.png Type: image/png Size: 5830 bytes Desc: not available URL: From Karl.Reinl at ...2345... Tue Mar 24 11:43:49 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Tue, 24 Mar 2015 11:43:49 +0100 Subject: [Gambas-user] Possible bug on ValueBox gtk ang gb.gui In-Reply-To: <55113C68.9030408@...69...> References: <550F278E.8000307@...69...> <55113C68.9030408@...69...> Message-ID: <1427193829.3530.5.camel@...40...> Am Dienstag, den 24.03.2015, 11:28 +0100 schrieb Gian: > Il 22/03/2015 21:35, Gian ha scritto: > > On Ubuntu Gabas3 3.7 and Trunk you can not enter decimal numbers manually. > > Yes with code. > > Manually comma ends at the bottom of the widget, see attached. > > Regards > > Gianluigi > > Salut, I can confirm that behave, but you can go behind of the dec-comma. When entering the comma the box make left shift and keeps staying before the comma. [System] Gambas=3.7.90 rev.6991 OperatingSystem=Linux Kernel=3.2.0-79-generic Architecture=x86 Distribution=Ubuntu 12.04.5 LTS Desktop=GNOME Theme=QPlastique Language=de_DE.UTF-8 Memory=3025M [Libraries] Cairo=libcairo.so.2.11000.2 Curl=libcurl.so.4.2.0 DBus=libdbus-1.so.3.5.8 GStreamer=libgstreamer-0.10.so.0.30.0 GTK+3=libgtk-3.so.0.400.2 GTK+=libgtk-x11-2.0.so.0.2400.10 Poppler=libpoppler.so.19.0.0 Qt4=libQtCore.so.4.8.1 SDL=libSDL-1.2.so.0.11.3 -- Amicalement Charlie From bagoneo at ...69... Tue Mar 24 12:02:27 2015 From: bagoneo at ...69... (Gian) Date: Tue, 24 Mar 2015 12:02:27 +0100 Subject: [Gambas-user] Possible bug on ValueBox gtk ang gb.gui In-Reply-To: <1427193829.3530.5.camel@...40...> References: <550F278E.8000307@...69...> <55113C68.9030408@...69...> <1427193829.3530.5.camel@...40...> Message-ID: <55114443.8070405@...69...> Il 24/03/2015 11:43, Charlie Reinl ha scritto: > Salut, > > I can confirm that behave, but you can go behind of the dec-comma. > When entering the comma the box make left shift and keeps staying before > the comma. Yes I know, but it is not normal and not have to do this with QT. Regards Gianluigi From gambas at ...2524... Tue Mar 24 14:19:59 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 24 Mar 2015 13:19:59 +0000 Subject: [Gambas-user] Issue 616 in gambas: Where do files get installed or downloaded to from software farm In-Reply-To: <0-6813199134517018827-11605820317331825615-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-11605820317331825615-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-11605820317331825615-gambas=googlecode.com@...2524...> Updates: Status: Invalid Comment #1 on issue 616 by tabo... at ...626...: Where do files get installed or downloaded to from software farm https://code.google.com/p/gambas/issues/detail?id=616 You find it in the "Open project" dialog. Among the bookmarks is an entry "Installed softwares". The actual filesystem path is $HOME/.local/share/gambas3/src. As soon as you open a project, it is added to the recent items. Note that this *question* is an invalid *bug report* and had better been asked on the mailing list. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From taboege at ...626... Tue Mar 24 15:56:29 2015 From: taboege at ...626... (Tobias Boege) Date: Tue, 24 Mar 2015 15:56:29 +0100 Subject: [Gambas-user] Issue 616 in gambas: Where do files get installed or downloaded to from software farm In-Reply-To: <201503241006.32948.rolf.frogs@...221...> References: <0-6813199134517018827-11605820317331825615-gambas=googlecode.com@...2524...> <201503241006.32948.rolf.frogs@...221...> Message-ID: <20150324145629.GA857@...2774...> On Tue, 24 Mar 2015, rolf wrote: > Hi, > > > I am unable to find the installed or downloaded projects from the > > software farm, unless they are examples. > > > > WHERE ARE THE FILES DOWNLOADED OR INSTALLED TOO? > > The gods of Gambas decide to hide this for DEVELOPERS in directories > below ".local" and they didn't make the path configurable! > Mmm, I feel more like an overlord, not a god. *blushes* Attached is a patch which: - adds a configuration item to the "Preferences" dialog where you can select the base directory for software from farms, - changes every (as far as I and grep know) code, which assumes the hard- coded path, to work with the configurable one, - apparently fixes a bug when an "example"-tagged project is downloaded or installed whose vendor is not "example" and there is no "example" vendor directory already. (I'll write another mail about that soon.) It applies to #6997 under app/src/gambas3/. I tested it a few times but there is no warranty. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas3-make-farm-path-configurable.patch Type: text/x-diff Size: 5100 bytes Desc: not available URL: From gambas at ...2524... Tue Mar 24 16:05:33 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 24 Mar 2015 15:05:33 +0000 Subject: [Gambas-user] Issue 616 in gambas: Where do files get installed or downloaded to from software farm In-Reply-To: <1-6813199134517018827-11605820317331825615-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-11605820317331825615-gambas=googlecode.com@...2524...> <0-6813199134517018827-11605820317331825615-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-11605820317331825615-gambas=googlecode.com@...2524...> Comment #2 on issue 616 by benoit.m... at ...626...: Where do files get installed or downloaded to from software farm https://code.google.com/p/gambas/issues/detail?id=616 Indeed. Let's talk about that on the mailing-list. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...1... Tue Mar 24 16:07:47 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 24 Mar 2015 16:07:47 +0100 Subject: [Gambas-user] Issue 616 in gambas: Where do files get installed or downloaded to from software farm In-Reply-To: <201503241006.32948.rolf.frogs@...221...> References: <0-6813199134517018827-11605820317331825615-gambas=googlecode.com@...2524...> <201503241006.32948.rolf.frogs@...221...> Message-ID: <55117DC3.2020700@...1...> Le 24/03/2015 10:06, rolf a ?crit : > Hi, > >> I am unable to find the installed or downloaded projects from the >> software farm, unless they are examples. >> >> WHERE ARE THE FILES DOWNLOADED OR INSTALLED TOO? > > The gods of Gambas decide to hide this for DEVELOPERS in directories > below ".local" and they didn't make the path configurable! > >> Would it be possible to add these to the recent items so they can be found? > > Rolf > This is the standard path as defined by freedesktop.org if you didn't know. '~/.local/share/' is the user-equivalent of '/usr/share/'. The installation directory is bookmarked in the open file dialog. But I could add a new button in the welcome dialog to browse that directory. Regards, -- Beno?t Minisini From taboege at ...626... Tue Mar 24 16:04:57 2015 From: taboege at ...626... (Tobias Boege) Date: Tue, 24 Mar 2015 16:04:57 +0100 Subject: [Gambas-user] Farm: False positive error with "example" software Message-ID: <20150324150457.GB857@...2774...> Hi Benoit, I noticed a false positive error message under these circumstances: - you don't have installed any software from the "example" vendor yet (so there is no "example" directory under "Installed softwares"), - you install / download a software whose vendor is not "example" but has an "example" tag (so that in CSoftware.class:Install(), the Link instruction near the end of the function is executed). Bruce's (and friends') "vrecentfilesd" project is such a software. The message is "Unable to download vrecentfilesd 0.1.9: File or directory does not exist." However, the software is downloaded correctly, just that symbolic link to "example" cannot be created. I sent a patch in another matter some minutes ago[0] which contains a way to fix that. Regards, Tobi [0] http://sourceforge.net/p/gambas/mailman/message/33633510/ -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Tue Mar 24 16:10:29 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 24 Mar 2015 16:10:29 +0100 Subject: [Gambas-user] Issue 616 in gambas: Where do files get installed or downloaded to from software farm In-Reply-To: <20150324145629.GA857@...2774...> References: <0-6813199134517018827-11605820317331825615-gambas=googlecode.com@...2524...> <201503241006.32948.rolf.frogs@...221...> <20150324145629.GA857@...2774...> Message-ID: <55117E65.2040502@...1...> Le 24/03/2015 15:56, Tobias Boege a ?crit : > On Tue, 24 Mar 2015, rolf wrote: >> Hi, >> >>> I am unable to find the installed or downloaded projects from the >>> software farm, unless they are examples. >>> >>> WHERE ARE THE FILES DOWNLOADED OR INSTALLED TOO? >> >> The gods of Gambas decide to hide this for DEVELOPERS in directories >> below ".local" and they didn't make the path configurable! >> > > Mmm, I feel more like an overlord, not a god. *blushes* > > Attached is a patch which: > > - adds a configuration item to the "Preferences" dialog where you can > select the base directory for software from farms, > - changes every (as far as I and grep know) code, which assumes the hard- > coded path, to work with the configurable one, > - apparently fixes a bug when an "example"-tagged project is downloaded > or installed whose vendor is not "example" and there is no "example" > vendor directory already. (I'll write another mail about that soon.) > > It applies to #6997 under app/src/gambas3/. I tested it a few times but > there is no warranty. > > Regards, > Tobi > At the moment, I am against configuring the installation directory, because it is a standard freedesktop path, and because the farm is not yet finished. I don't know how I will manage dependencies between softwares and if moving the installation directory could be a problem. Regards, -- Beno?t Minisini From gambas at ...1... Tue Mar 24 16:12:22 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 24 Mar 2015 16:12:22 +0100 Subject: [Gambas-user] Farm: False positive error with "example" software In-Reply-To: <20150324150457.GB857@...2774...> References: <20150324150457.GB857@...2774...> Message-ID: <55117ED6.7060100@...1...> Le 24/03/2015 16:04, Tobias Boege a ?crit : > Hi Benoit, > > I noticed a false positive error message under these circumstances: > > - you don't have installed any software from the "example" vendor yet (so > there is no "example" directory under "Installed softwares"), > - you install / download a software whose vendor is not "example" but has > an "example" tag (so that in CSoftware.class:Install(), the Link > instruction near the end of the function is executed). > > Bruce's (and friends') "vrecentfilesd" project is such a software. The > message is > > "Unable to download vrecentfilesd 0.1.9: > > File or directory does not exist." > > However, the software is downloaded correctly, just that symbolic link to > "example" cannot be created. > > I sent a patch in another matter some minutes ago[0] which contains a way > to fix that. > > Regards, > Tobi > > [0] http://sourceforge.net/p/gambas/mailman/message/33633510/ > OK. -- Beno?t Minisini From gambas at ...2524... Tue Mar 24 16:21:47 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 24 Mar 2015 15:21:47 +0000 Subject: [Gambas-user] Issue 616 in gambas: Where do files get installed or downloaded to from software farm In-Reply-To: <2-6813199134517018827-11605820317331825615-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-11605820317331825615-gambas=googlecode.com@...2524...> <0-6813199134517018827-11605820317331825615-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-11605820317331825615-gambas=googlecode.com@...2524...> Comment #3 on issue 616 by justlost... at ...626...: Where do files get installed or downloaded to from software farm https://code.google.com/p/gambas/issues/detail?id=616 It would be nice if it could be configured easily! Sent from Type Mail -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From taboege at ...626... Tue Mar 24 16:20:23 2015 From: taboege at ...626... (Tobias Boege) Date: Tue, 24 Mar 2015 16:20:23 +0100 Subject: [Gambas-user] Issue 616 in gambas: Where do files get installed or downloaded to from software farm In-Reply-To: <55117E65.2040502@...1...> References: <0-6813199134517018827-11605820317331825615-gambas=googlecode.com@...2524...> <201503241006.32948.rolf.frogs@...221...> <20150324145629.GA857@...2774...> <55117E65.2040502@...1...> Message-ID: <20150324152023.GC857@...2774...> On Tue, 24 Mar 2015, Beno?t Minisini wrote: > Le 24/03/2015 15:56, Tobias Boege a ?crit : > > On Tue, 24 Mar 2015, rolf wrote: > >> Hi, > >> > >>> I am unable to find the installed or downloaded projects from the > >>> software farm, unless they are examples. > >>> > >>> WHERE ARE THE FILES DOWNLOADED OR INSTALLED TOO? > >> > >> The gods of Gambas decide to hide this for DEVELOPERS in directories > >> below ".local" and they didn't make the path configurable! > >> > > > > Mmm, I feel more like an overlord, not a god. *blushes* > > > > Attached is a patch which: > > > > - adds a configuration item to the "Preferences" dialog where you can > > select the base directory for software from farms, > > - changes every (as far as I and grep know) code, which assumes the hard- > > coded path, to work with the configurable one, > > - apparently fixes a bug when an "example"-tagged project is downloaded > > or installed whose vendor is not "example" and there is no "example" > > vendor directory already. (I'll write another mail about that soon.) > > > > It applies to #6997 under app/src/gambas3/. I tested it a few times but > > there is no warranty. > > > > Regards, > > Tobi > > > > At the moment, I am against configuring the installation directory, > because it is a standard freedesktop path, and because the farm is not > yet finished. > > I don't know how I will manage dependencies between softwares and if > moving the installation directory could be a problem. > I'm against, too. The patch is solely for Rolf. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From rolf.frogs at ...221... Tue Mar 24 17:16:37 2015 From: rolf.frogs at ...221... (rolf) Date: Tue, 24 Mar 2015 17:16:37 +0100 Subject: [Gambas-user] Issue 616 in gambas: Where do files get installed or downloaded to from software farm In-Reply-To: <20150324152023.GC857@...2774...> References: <0-6813199134517018827-11605820317331825615-gambas=googlecode.com@...2524...> <55117E65.2040502@...1...> <20150324152023.GC857@...2774...> Message-ID: <201503241716.38890.rolf.frogs@...221...> Hello Tobias > I'm against, too. The patch is solely for Rolf. Thanks. but I will not use Gambas any longer, because I don't like the extrem binding from gambas at the internet. So development without internet connection is practically not more possible. Without the (unliked) software-farm you get no example. BTW. the examples (no information what is requiered - f.e. the jack-daemon) and a lot more of gambas is terrible bad documentated. Perhaps Benoit and the other developers should stop developing new features, but consolidat the documentation - of course the examples as well. Rolf From jussi.lahtinen at ...626... Tue Mar 24 18:07:47 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 24 Mar 2015 19:07:47 +0200 Subject: [Gambas-user] Issue 616 in gambas: Where do files get installed or downloaded to from software farm In-Reply-To: <201503241716.38890.rolf.frogs@...221...> References: <0-6813199134517018827-11605820317331825615-gambas=googlecode.com@...2524...> <55117E65.2040502@...1...> <20150324152023.GC857@...2774...> <201503241716.38890.rolf.frogs@...221...> Message-ID: > So development without internet connection is practically not more > possible. Without the (unliked) > software-farm you get no example. > So how did you get the Gambas in first place? How did you write this email? Downloading the documentation or examples is not much different. > BTW. the examples (no information what is requiered - f.e. the jack-daemon) > and a lot more of gambas is terrible bad documentated. > Documentation lags behind, yes. But I don't think it's main problem of developers, even though their help is necessary. Firstly, people should report specific issues of the documentation. Secondly, we may need more editors for the documentation..? How do I sign in? Jussi From lewis at ...3412... Tue Mar 24 23:16:03 2015 From: lewis at ...3412... (Lewis Balentine) Date: Tue, 24 Mar 2015 17:16:03 -0500 Subject: [Gambas-user] Issue 616 in gambas: Where do files get installed or downloaded to from software farm In-Reply-To: <55117E65.2040502@...1...> References: <0-6813199134517018827-11605820317331825615-gambas=googlecode.com@...2524...> <201503241006.32948.rolf.frogs@...221...> <20150324145629.GA857@...2774...> <55117E65.2040502@...1...> Message-ID: <5511E223.9030605@...3412...> Perhaps an alternative suggestion (compromise): An application written in Gambas to manage Gambas project/example files. I am thinking something with two windows: Source and Target The app would dynamically build the path to the hiddden source directories. The user could pick the target directories .... of course one would be free to add "enhancements" to that scheme. ;-) Cheers, Lewis On 03/24/2015 10:10 AM, Beno?t Minisini wrote: > Le 24/03/2015 15:56, Tobias Boege a ?crit : >> On Tue, 24 Mar 2015, rolf wrote: >>> Hi, >>> >>>> I am unable to find the installed or downloaded projects from the >>>> software farm, unless they are examples. >>>> >>>> WHERE ARE THE FILES DOWNLOADED OR INSTALLED TOO? >>> The gods of Gambas decide to hide this for DEVELOPERS in directories >>> below ".local" and they didn't make the path configurable! >>> >> Mmm, I feel more like an overlord, not a god. *blushes* >> >> Attached is a patch which: >> >> - adds a configuration item to the "Preferences" dialog where you can >> select the base directory for software from farms, >> - changes every (as far as I and grep know) code, which assumes the hard- >> coded path, to work with the configurable one, >> - apparently fixes a bug when an "example"-tagged project is downloaded >> or installed whose vendor is not "example" and there is no "example" >> vendor directory already. (I'll write another mail about that soon.) >> >> It applies to #6997 under app/src/gambas3/. I tested it a few times but >> there is no warranty. >> >> Regards, >> Tobi >> > At the moment, I am against configuring the installation directory, > because it is a standard freedesktop path, and because the farm is not > yet finished. > > I don't know how I will manage dependencies between softwares and if > moving the installation directory could be a problem. > > Regards, > From Karl.Reinl at ...2345... Tue Mar 24 23:31:29 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Tue, 24 Mar 2015 23:31:29 +0100 Subject: [Gambas-user] Issue 616 in gambas: Where do files get installed or downloaded to from software farm In-Reply-To: <5511E223.9030605@...3412...> References: <0-6813199134517018827-11605820317331825615-gambas=googlecode.com@...2524...> <201503241006.32948.rolf.frogs@...221...> <20150324145629.GA857@...2774...> <55117E65.2040502@...1...> <5511E223.9030605@...3412...> Message-ID: <1427236289.3605.6.camel@...40...> Am Dienstag, den 24.03.2015, 17:16 -0500 schrieb Lewis Balentine: > Perhaps an alternative suggestion (compromise): > > An application written in Gambas to manage Gambas project/example files. > I am thinking something with two windows: Source and Target > The app would dynamically build the path to the hiddden source directories. > The user could pick the target directories > .... of course one would be free to add "enhancements" to that scheme. ;-) > > Cheers, > > Lewis Salut, I don't understand that noise. Did Beno?t erase the "Save project as..." in the IDE menu ? You remember? With CTRL+SHIFT+ALT+S you can save the example to any place you like...Still any problem ? -- Amicalement Charlie From rolf.frogs at ...221... Wed Mar 25 09:56:18 2015 From: rolf.frogs at ...221... (rolf) Date: Wed, 25 Mar 2015 09:56:18 +0100 Subject: [Gambas-user] Issue 616 in gambas: Where do files get installed or downloaded to from software farm In-Reply-To: <1427236289.3605.6.camel@...40...> References: <0-6813199134517018827-11605820317331825615-gambas=googlecode.com@...2524...> <5511E223.9030605@...3412...> <1427236289.3605.6.camel@...40...> Message-ID: <201503250956.19835.rolf.frogs@...221...> Hi Karl, > I don't understand that noise. > Did Beno?t erase the "Save project as..." in the IDE menu ? > You remember? With CTRL+SHIFT+ALT+S you can save the example to any > place you like...Still any problem ? I can't understand, why programs and program code is stored in a configuration directory (that is what a hidden files/directories is for) and hidden by default for the programmer who will study the code? BTW Why is the code from the software farm and the downloadable sourcecode not checksum protected? Not only because we all know, that the internet is one of the unsecured place in the world thanks NSA et al. Rolf From Karl.Reinl at ...2345... Wed Mar 25 10:41:39 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Wed, 25 Mar 2015 10:41:39 +0100 Subject: [Gambas-user] Issue 616 in gambas: Where do files get installed or downloaded to from software farm In-Reply-To: <201503250956.19835.rolf.frogs@...221...> References: <0-6813199134517018827-11605820317331825615-gambas=googlecode.com@...2524...> <5511E223.9030605@...3412...> <1427236289.3605.6.camel@...40...> <201503250956.19835.rolf.frogs@...221...> Message-ID: <1427276499.3619.18.camel@...40...> Am Mittwoch, den 25.03.2015, 09:56 +0100 schrieb rolf: > Hi Karl, > > > I don't understand that noise. > > Did Beno?t erase the "Save project as..." in the IDE menu ? > > You remember? With CTRL+SHIFT+ALT+S you can save the example to any > > place you like...Still any problem ? > > I can't understand, why programs and program code is stored in a configuration > directory (that is what a hidden files/directories is for) and hidden by > default for the programmer who will study the code? > > BTW Why is the code from the software farm and the downloadable sourcecode not > checksum protected? Not only because we all know, that the internet is one of > the unsecured place in the world thanks NSA et al. > > Rolf Salut Rolf, no, it is not THE configuration directory, in "~/.local/share/" are a lot of programs the user installed, it shall collect the huge number of dot directories in "~/", which are still exists nowadays, at least on my box. The configuration directory is "~/.config" Dot directories shall hide them for the user, but Programmers know about dot directories. The packages from sfn have a checksum, from gambas software farm I don't know. And I think, there is no doubt about the activities NSA, sfn is hosted in the USA. -- Amicalement Charlie From taboege at ...626... Wed Mar 25 11:33:08 2015 From: taboege at ...626... (Tobias Boege) Date: Wed, 25 Mar 2015 11:33:08 +0100 Subject: [Gambas-user] Issue 616 in gambas: Where do files get installed or downloaded to from software farm In-Reply-To: <201503250956.19835.rolf.frogs@...221...> References: <0-6813199134517018827-11605820317331825615-gambas=googlecode.com@...2524...> <5511E223.9030605@...3412...> <1427236289.3605.6.camel@...40...> <201503250956.19835.rolf.frogs@...221...> Message-ID: <20150325103308.GA596@...2774...> On Wed, 25 Mar 2015, rolf wrote: > BTW Why is the code from the software farm and the downloadable sourcecode not > checksum protected? For all possible reasons[0], because it *is* sha256-protected. [0] http://en.wikipedia.org/wiki/Material_conditional#Philosophical_problems_with_material_conditional -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From lewis at ...3412... Wed Mar 25 11:42:48 2015 From: lewis at ...3412... (Lewis Balentine) Date: Wed, 25 Mar 2015 05:42:48 -0500 Subject: [Gambas-user] Issue 616 in gambas: Where do files get installed or downloaded to from software farm In-Reply-To: <1427276499.3619.18.camel@...40...> References: <0-6813199134517018827-11605820317331825615-gambas=googlecode.com@...2524...> <5511E223.9030605@...3412...> <1427236289.3605.6.camel@...40...> <201503250956.19835.rolf.frogs@...221...> <1427276499.3619.18.camel@...40...> Message-ID: <55129128.7050406@...3412...> In any scenario the two subjects most likely to start an argument are: 1) religion 2) politics (in some case it may be the same subject). There is an old story about a scorpion riding across a pond on the back of the frog. Half way across the pond the scorpion stings the frog. The frog asks: "Why did you do that? We are both going to die now." The scorpion response, "I am a scorpion. It is what I do." I seriously doubt that there is any country in the world with a functioning government that does not have spies in their employ. regards, Lewis Balentine Houston, Texas, USA From gambas at ...1... Wed Mar 25 13:03:04 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Wed, 25 Mar 2015 13:03:04 +0100 Subject: [Gambas-user] Issue 616 in gambas: Where do files get installed or downloaded to from software farm In-Reply-To: <201503250956.19835.rolf.frogs@...221...> References: <0-6813199134517018827-11605820317331825615-gambas=googlecode.com@...2524...> <5511E223.9030605@...3412...> <1427236289.3605.6.camel@...40...> <201503250956.19835.rolf.frogs@...221...> Message-ID: <5512A3F8.6090603@...1...> Le 25/03/2015 09:56, rolf a ?crit : > Hi Karl, > >> I don't understand that noise. >> Did Beno?t erase the "Save project as..." in the IDE menu ? >> You remember? With CTRL+SHIFT+ALT+S you can save the example to any >> place you like...Still any problem ? > > I can't understand, why programs and program code is stored in a configuration > directory (that is what a hidden files/directories is for) and hidden by > default for the programmer who will study the code? As explained by others, this is not a configuration directory, but a standard freedesktop directory where a program must store its data that depend on the current user. > > BTW Why is the code from the software farm and the downloadable sourcecode not > checksum protected? Not only because we all know, that the internet is one of > the unsecured place in the world thanks NSA et al. It is checksum protected! Look at line 301 of the CSoftware.class file in the IDE source code. Regards, -- Beno?t Minisini From gambas at ...2524... Wed Mar 25 21:43:32 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 25 Mar 2015 20:43:32 +0000 Subject: [Gambas-user] Issue 614 in gambas: Cannot create database tables in mysql in gambas 3.7.0 In-Reply-To: <0-6813199134517018827-18417193229522519075-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-18417193229522519075-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-18417193229522519075-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version3.7.0 Version-3.7.0 Comment #1 on issue 614 by benoit.m... at ...626...: Cannot create database tables in mysql in gambas 3.7.0 https://code.google.com/p/gambas/issues/detail?id=614 (No comment was entered for this change.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Wed Mar 25 21:54:24 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 25 Mar 2015 20:54:24 +0000 Subject: [Gambas-user] Issue 614 in gambas: Cannot create database tables in mysql in gambas 3.7.0 In-Reply-To: <1-6813199134517018827-18417193229522519075-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-18417193229522519075-gambas=googlecode.com@...2524...> <0-6813199134517018827-18417193229522519075-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-18417193229522519075-gambas=googlecode.com@...2524...> Comment #2 on issue 614 by benoit.m... at ...626...: Cannot create database tables in mysql in gambas 3.7.0 https://code.google.com/p/gambas/issues/detail?id=614 Fixed in revision #7000 (!) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Wed Mar 25 21:55:24 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 25 Mar 2015 20:55:24 +0000 Subject: [Gambas-user] Issue 614 in gambas: Cannot create database tables in mysql in gambas 3.7.0 In-Reply-To: <2-6813199134517018827-18417193229522519075-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-18417193229522519075-gambas=googlecode.com@...2524...> <0-6813199134517018827-18417193229522519075-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-18417193229522519075-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #3 on issue 614 by benoit.m... at ...626...: Cannot create database tables in mysql in gambas 3.7.0 https://code.google.com/p/gambas/issues/detail?id=614 (No comment was entered for this change.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Wed Mar 25 21:56:24 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 25 Mar 2015 20:56:24 +0000 Subject: [Gambas-user] Issue 612 in gambas: BUG Cannot browse more of 128 records on tables "No current connection" In-Reply-To: <1-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> <0-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> Comment #2 on issue 612 by benoit.m... at ...626...: BUG Cannot browse more of 128 records on tables "No current connection" https://code.google.com/p/gambas/issues/detail?id=612 This is not a good fix. Please provide a project that reproduces the bug. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Thu Mar 26 03:48:03 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 26 Mar 2015 02:48:03 +0000 Subject: [Gambas-user] Issue 614 in gambas: Cannot create database tables in mysql in gambas 3.7.0 In-Reply-To: <3-6813199134517018827-18417193229522519075-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-18417193229522519075-gambas=googlecode.com@...2524...> <0-6813199134517018827-18417193229522519075-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-18417193229522519075-gambas=googlecode.com@...2524...> Comment #4 on issue 614 by isaf... at ...626...: Cannot create database tables in mysql in gambas 3.7.0 https://code.google.com/p/gambas/issues/detail?id=614 Thanks Benoit. I request you to release 3.7.1 as soon as possible. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Thu Mar 26 10:22:18 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 26 Mar 2015 09:22:18 +0000 Subject: [Gambas-user] Issue 612 in gambas: BUG Cannot browse more of 128 records on tables "No current connection" In-Reply-To: <2-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> <0-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> Comment #3 on issue 612 by marcobra... at ...626...: BUG Cannot browse more of 128 records on tables "No current connection" https://code.google.com/p/gambas/issues/detail?id=612 FYI creating a new project with a new sqlite subset of data i don't have no more 128 recs limit in browsing. There must be some issue with this project and data access. Can i send it in private? i will send to you dropbox link... Thank -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From vkanatas13 at ...626... Thu Mar 26 20:24:28 2015 From: vkanatas13 at ...626... (Vasilis Kanatas) Date: Thu, 26 Mar 2015 21:24:28 +0200 Subject: [Gambas-user] ComboBox drop down does not work Message-ID: <55145CEC.8010102@...626...> Hello All, 1.[System] Gambas=3.7.0 OperatingSystem=Linux Kernel=3.11.10-25-desktop Architecture=x86_64 Distribution=openSUSE 13.1 (Bottle) Desktop=KDE4 Theme=Oxygen Language=el_GR.UTF-8 Memory=3950M [Libraries] DBus=libdbus-1.so.3.8.11 GStreamer=libgstreamer-0.10.so.0.30.0 OpenGL=libGL.so.1.2.0 Qt4=libQtCore.so.4.8.5 2. There are two different behaviours of the combobox: A. When I click into the combobox, I can navigate down and up with the keyboard arrows! Then I can select the desired item without problem. BUT, when I click on the drop down arrow on the right of the combobox the form unloads without crashing the program. B. Into the DateChooser the Month ComboBox down arrow chashes the whole program! (When I use the right and left arrows to adjust the Month it works properly!! From roel at ...3306... Thu Mar 26 20:41:35 2015 From: roel at ...3306... (Roel Touwen) Date: Thu, 26 Mar 2015 20:41:35 +0100 Subject: [Gambas-user] Sample component with a form Message-ID: <551460EF.3020009@...3306...> Hi everyone, Has anybody a sample source of a component which holds a form? I'm trying for two weeks now and I simply don't succeed. What I want to do is have form that I can embed in another form (within a tab). I could use a workspace but people can delete the tab then. Hopefully someone has a sample. Thanks. Roel From rterry at ...1823... Thu Mar 26 22:11:52 2015 From: rterry at ...1823... (richard terry) Date: Fri, 27 Mar 2015 08:11:52 +1100 Subject: [Gambas-user] Out of memory errors with database access 3.7 Message-ID: <55147618.6030108@...1823...> Hi List, Unsure where to start to untangle this. I've gone from a stable system running my medical software using gambas 3.6.9 to a hugely unstable system running 3.7, when I did an upgrade of my system the other day. The program runs for 3-4 mins then eventually my log file shows I'm getting an out of memory error at the time of any postgresql backend queries. If I kill gambas and start again, then I can run again for few mins till same thing happens. Needless to say this is dislocating my work load and losing patient data. Any hints either how to revert to a more stable version or how to track down the problem. Am on Linux Mint 17.1 Rebecca. Regards Richard From gambas at ...1... Thu Mar 26 22:24:29 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 26 Mar 2015 22:24:29 +0100 Subject: [Gambas-user] Out of memory errors with database access 3.7 In-Reply-To: <55147618.6030108@...1823...> References: <55147618.6030108@...1823...> Message-ID: <5514790D.1080801@...1...> Le 26/03/2015 22:11, richard terry a ?crit : > Hi List, > > Unsure where to start to untangle this. > > I've gone from a stable system running my medical software using gambas > 3.6.9 to a hugely unstable system running 3.7, when I did an upgrade of > my system the other day. > > The program runs for 3-4 mins then eventually my log file shows I'm > getting an out of memory error at the time of any postgresql backend > queries. If I kill gambas and start again, then I can run again for few > mins till same thing happens. > > Needless to say this is dislocating my work load and losing patient data. > > Any hints either how to revert to a more stable version or how to track > down the problem. Am on Linux Mint 17.1 Rebecca. > > Regards > > Richard > Do you have more details? Which query? Which part of your code? -- Beno?t Minisini From taboege at ...626... Thu Mar 26 23:15:04 2015 From: taboege at ...626... (Tobias Boege) Date: Thu, 26 Mar 2015 23:15:04 +0100 Subject: [Gambas-user] Sample component with a form In-Reply-To: <551460EF.3020009@...3306...> References: <551460EF.3020009@...3306...> Message-ID: <20150326221504.GA752@...2774...> On Thu, 26 Mar 2015, Roel Touwen wrote: > Hi everyone, > > Has anybody a sample source of a component which holds a form? I'm > trying for two weeks now and I simply don't succeed. > > What I want to do is have form that I can embed in another form (within > a tab). I could use a workspace but people can delete the tab then. > It's not clear to me what you want to do. You must know that the term "component" around Gambas usually means a shared library which adds functionality to the interpreter. gb.qt4, for example, is the QT4 component. I'll assume that you want to create just a "widget" class which is usually called a "control", instead of component. [ A component is a whole collection of classes, and sometimes also controls, for a specific task. ] But you don't need to create a new control class either. Embedding forms is super easy. Again, assuming that I understood you, I attach a project which shows how to embed some instance of a Form class into a TabPanel where you can control, contrary to Workspace, if the user is able to close a tab. Note: On my system, the first form which is embedded into a tab of the TabPanel is not resized, while all subsequent forms are expanded to fill their tab. I don't know why... Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: tabpanel-embed-form-0.0.1.tar.gz Type: application/octet-stream Size: 4502 bytes Desc: not available URL: From roel at ...3306... Fri Mar 27 09:00:16 2015 From: roel at ...3306... (Roel Touwen) Date: Fri, 27 Mar 2015 09:00:16 +0100 Subject: [Gambas-user] Sample component with a form In-Reply-To: <20150326221504.GA752@...2774...> References: <551460EF.3020009@...3306...> <20150326221504.GA752@...2774...> Message-ID: <55150E10.1030906@...3306...> Hi Tobias, That is exactly what I was looking for! Many thanks! Best regards, Roel op 26-03-15 23:15, Tobias Boege schreef: > On Thu, 26 Mar 2015, Roel Touwen wrote: >> Hi everyone, >> >> Has anybody a sample source of a component which holds a form? I'm >> trying for two weeks now and I simply don't succeed. >> >> What I want to do is have form that I can embed in another form (within >> a tab). I could use a workspace but people can delete the tab then. >> > It's not clear to me what you want to do. You must know that the term > "component" around Gambas usually means a shared library which adds > functionality to the interpreter. gb.qt4, for example, is the QT4 > component. > > I'll assume that you want to create just a "widget" class which is usually > called a "control", instead of component. [ A component is a whole > collection of classes, and sometimes also controls, for a specific task. ] > > But you don't need to create a new control class either. Embedding forms > is super easy. Again, assuming that I understood you, I attach a project > which shows how to embed some instance of a Form class into a TabPanel > where you can control, contrary to Workspace, if the user is able to close > a tab. > > Note: On my system, the first form which is embedded into a tab of the > TabPanel is not resized, while all subsequent forms are expanded to fill > their tab. I don't know why... > > Regards, > Tobi > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From bagoneo at ...69... Fri Mar 27 10:50:48 2015 From: bagoneo at ...69... (Gian) Date: Fri, 27 Mar 2015 10:50:48 +0100 Subject: [Gambas-user] Sample component with a form In-Reply-To: <20150326221504.GA752@...2774...> References: <551460EF.3020009@...3306...> <20150326221504.GA752@...2774...> Message-ID: <551527F8.9050103@...69...> Il 26/03/2015 23:15, Tobias Boege ha scritto: > On Thu, 26 Mar 2015, Roel Touwen wrote: >> Hi everyone, >> >> Has anybody a sample source of a component which holds a form? I'm >> trying for two weeks now and I simply don't succeed. >> >> What I want to do is have form that I can embed in another form (within >> a tab). I could use a workspace but people can delete the tab then. >> > > It's not clear to me what you want to do. You must know that the term > "component" around Gambas usually means a shared library which adds > functionality to the interpreter. gb.qt4, for example, is the QT4 > component. > > I'll assume that you want to create just a "widget" class which is usually > called a "control", instead of component. [ A component is a whole > collection of classes, and sometimes also controls, for a specific task. ] > > But you don't need to create a new control class either. Embedding forms > is super easy. Again, assuming that I understood you, I attach a project > which shows how to embed some instance of a Form class into a TabPanel > where you can control, contrary to Workspace, if the user is able to close > a tab. > > Note: On my system, the first form which is embedded into a tab of the > TabPanel is not resized, while all subsequent forms are expanded to fill > their tab. I don't know why... > > Regards, > Tobi > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > > > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Hello Tobias and change the code so? Private $bFirst As Boolean = True Public Sub btnAdd_Click() Dim hForm As FTest If Not $bFirst Then Inc panTabs.Count ' Get a new tab With panTabs .[.Count - 1].Text = Subst$("Tab #&1", .Count) ' Create the form with the new tab as its parent container, which ' effectively embeds the form into that container. hForm = New FTest(.[.Count - 1], "Hi!", Rnd(&H808080, &Hffffff)) If $bFirst Then hForm.H = panTabs.H hForm.W = panTabs.W $bFirst = False Endif End With End Regards Gianluigi From vuott at ...325... Fri Mar 27 10:34:32 2015 From: vuott at ...325... (Ru Vuott) Date: Fri, 27 Mar 2015 09:34:32 +0000 Subject: [Gambas-user] Error: Commands out of sync... Message-ID: <1427448872.35462.YahooMailBasic@...3269...> Hello, an our friend of gambas-it forum said that he gets the error " Commands out of sync; you can't run this command now " when running twice a MySQL stored procedures. He said he saw on Google that the problem is known, but he could not find a solution. Do you know something about ? Regards vuott From bagoneo at ...69... Fri Mar 27 11:09:16 2015 From: bagoneo at ...69... (Gian) Date: Fri, 27 Mar 2015 11:09:16 +0100 Subject: [Gambas-user] Sample component with a form In-Reply-To: <551527F8.9050103@...69...> References: <551460EF.3020009@...3306...> <20150326221504.GA752@...2774...> <551527F8.9050103@...69...> Message-ID: <55152C4C.3030206@...69...> Il 27/03/2015 10:50, Gian ha scritto: > Il 26/03/2015 23:15, Tobias Boege ha scritto: >> On Thu, 26 Mar 2015, Roel Touwen wrote: >>> Hi everyone, >>> >>> Has anybody a sample source of a component which holds a form? I'm >>> trying for two weeks now and I simply don't succeed. >>> >>> What I want to do is have form that I can embed in another form (within >>> a tab). I could use a workspace but people can delete the tab then. >>> >> >> It's not clear to me what you want to do. You must know that the term >> "component" around Gambas usually means a shared library which adds >> functionality to the interpreter. gb.qt4, for example, is the QT4 >> component. >> >> I'll assume that you want to create just a "widget" class which is usually >> called a "control", instead of component. [ A component is a whole >> collection of classes, and sometimes also controls, for a specific task. ] >> >> But you don't need to create a new control class either. Embedding forms >> is super easy. Again, assuming that I understood you, I attach a project >> which shows how to embed some instance of a Form class into a TabPanel >> where you can control, contrary to Workspace, if the user is able to close >> a tab. >> >> Note: On my system, the first form which is embedded into a tab of the >> TabPanel is not resized, while all subsequent forms are expanded to fill >> their tab. I don't know why... >> >> Regards, >> Tobi >> >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub for all >> things parallel software development, from weekly thought leadership blogs to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> >> >> >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > Hello Tobias > and change the code so? > > Private $bFirst As Boolean = True > > Public Sub btnAdd_Click() > Dim hForm As FTest > > If Not $bFirst Then Inc panTabs.Count ' Get a new tab > > > With panTabs > .[.Count - 1].Text = Subst$("Tab #&1", .Count) > ' Create the form with the new tab as its parent container, which > ' effectively embeds the form into that container. > hForm = New FTest(.[.Count - 1], "Hi!", Rnd(&H808080, &Hffffff)) > If $bFirst Then > hForm.H = panTabs.H > hForm.W = panTabs.W > $bFirst = False > Endif > End With > End > > Regards > Gianluigi > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Hello Tobias, or tabpanel Arrangment.Fill ? Regards Gianluigi From nero78 at ...43... Fri Mar 27 12:41:54 2015 From: nero78 at ...43... (nero) Date: Fri, 27 Mar 2015 11:41:54 +0000 (UTC) Subject: [Gambas-user] Strange problem with windows/postgresql/form.db Message-ID: <1594173313.3428950.1427456514593.JavaMail.yahoo@...3424...> I all , I've compile gambas 3.7.0 on windows/cygwin , now I've a full working gambas environment on windows , it works almost well but I've a strange problem. When I use a databrowser with postgresql it don't show string value , only numeric one. It work perfect with sqlite3 or using it from linux. The value are accessible if I use a datacontrol or get it by a db.exec select. Same problem browsing db with integrated database manager. Attacced is a picture of two db , one with sqlite and one with postgres. Thank's in advance. -------------- next part -------------- A non-text attachment was scrubbed... Name: erroregambas.png Type: image/png Size: 26736 bytes Desc: not available URL: From Karl.Reinl at ...2345... Fri Mar 27 14:56:14 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Fri, 27 Mar 2015 14:56:14 +0100 Subject: [Gambas-user] Strange problem with windows/postgresql/form.db In-Reply-To: <1594173313.3428950.1427456514593.JavaMail.yahoo@...3424...> References: <1594173313.3428950.1427456514593.JavaMail.yahoo@...3424...> Message-ID: <1427464574.3620.3.camel@...40...> Am Freitag, den 27.03.2015, 11:41 +0000 schrieb nero: > I all , > > I've compile gambas 3.7.0 on windows/cygwin , now I've a full working gambas environment on windows , it works almost well but I've a strange problem. > > When I use a databrowser with postgresql it don't show string value , only numeric one. > > It work perfect with sqlite3 or using it from linux. > The value are accessible if I use a datacontrol or get it by a db.exec select. > > Same problem browsing db with integrated database manager. > > Attacced is a picture of two db , one with sqlite and one with postgres. > > > Thank's in advance. Salut nero, may be case sensitive Field Name !? But I do not know gambas 3.7.0 on windows/cygwin and I never have used the databrowser. -- Amicalement Charlie From gambas at ...1... Fri Mar 27 16:11:12 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 27 Mar 2015 16:11:12 +0100 Subject: [Gambas-user] Strange problem with windows/postgresql/form.db In-Reply-To: <1427464574.3620.3.camel@...40...> References: <1594173313.3428950.1427456514593.JavaMail.yahoo@...3424...> <1427464574.3620.3.camel@...40...> Message-ID: <55157310.6070607@...1...> Le 27/03/2015 14:56, Charlie Reinl a ?crit : > Am Freitag, den 27.03.2015, 11:41 +0000 schrieb nero: >> I all , >> >> I've compile gambas 3.7.0 on windows/cygwin , now I've a full working gambas environment on windows , it works almost well but I've a strange problem. >> >> When I use a databrowser with postgresql it don't show string value , only numeric one. >> >> It work perfect with sqlite3 or using it from linux. >> The value are accessible if I use a datacontrol or get it by a db.exec select. >> >> Same problem browsing db with integrated database manager. >> >> Attacced is a picture of two db , one with sqlite and one with postgres. >> >> >> Thank's in advance. > > Salut nero, > > may be case sensitive Field Name !? > But I do not know gambas 3.7.0 on windows/cygwin and I never have used > the databrowser. > I didn't receive the mail you are answering to yet... -- Beno?t Minisini From nero78 at ...43... Fri Mar 27 16:10:03 2015 From: nero78 at ...43... (nero) Date: Fri, 27 Mar 2015 15:10:03 +0000 (UTC) Subject: [Gambas-user] Strange problem with windows/postgresql/form.db In-Reply-To: <1427464574.3620.3.camel@...40...> References: <1594173313.3428950.1427456514593.JavaMail.yahoo@...3424...> <1427464574.3620.3.camel@...40...> Message-ID: <2066919595.3554938.1427469003774.JavaMail.yahoo@...3424...> may be case sensitive Field Name !? But I do not know gambas 3.7.0 on windows/cygwin and I never have used the databrowser. I don't think , all field are lower case , also same example work perfectly on linux. From lewis at ...3412... Fri Mar 27 16:19:10 2015 From: lewis at ...3412... (Lewis Balentine) Date: Fri, 27 Mar 2015 10:19:10 -0500 Subject: [Gambas-user] Strange problem with windows/postgresql/form.db In-Reply-To: <1594173313.3428950.1427456514593.JavaMail.yahoo@...3424...> References: <1594173313.3428950.1427456514593.JavaMail.yahoo@...3424...> Message-ID: <551574EE.1080908@...3412...> When you have time can you post exactly what you did to compile in the windows/cygwin environment ? Such things as 32 or 64 bit? What did you do for all the external libraries ? Are there any errors in the make/compile/install logs ? Very Best Regards, Lewis On 03/27/2015 06:41 AM, nero wrote: > I all , > > I've compile gambas 3.7.0 on windows/cygwin , now I've a full working gambas environment on windows , it works almost well but I've a strange problem. > > From gambas at ...2524... Sat Mar 28 18:31:34 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 28 Mar 2015 17:31:34 +0000 Subject: [Gambas-user] Issue 612 in gambas: BUG Cannot browse more of 128 records on tables "No current connection" In-Reply-To: <3-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> <0-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> Updates: Status: Accepted Comment #4 on issue 612 by benoit.m... at ...626...: BUG Cannot browse more of 128 records on tables "No current connection" https://code.google.com/p/gambas/issues/detail?id=612 The reason why DataBrowser or DataView fails is because your table does not have a unique primary key. This is mandatory, otherwise DataBrowser or DataView can't work correctly. I will modify them in the future so that they raise an explicit error if no unique primary key is found. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sat Mar 28 18:34:35 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 28 Mar 2015 17:34:35 +0000 Subject: [Gambas-user] Issue 611 in gambas: TRUNK bug postgresql connection don't send password at runtime In-Reply-To: <0-6813199134517018827-11787578136539486057-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-11787578136539486057-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-11787578136539486057-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Comment #1 on issue 611 by benoit.m... at ...626...: TRUNK bug postgresql connection don't send password at runtime https://code.google.com/p/gambas/issues/detail?id=611 You must either: - Provide the password yourself. - Add the gb.desktop component to your project so that the database component can retrieve the password automatically for you. As you don't provide any project as requested, I can't tell if you are in one of these two cases or if it is a real bug. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...1... Sat Mar 28 18:55:44 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 28 Mar 2015 18:55:44 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.7.1 Message-ID: <5516EB20.9050307@...1...> Hi, I have uploaded to sourceforge the source package of Gambas 3.7.1 so that you can check it before the release. So tell me if you have any problem with it. It includes all the bugs fixed since the Gambas 3.7.0 release, and the ability to open projects installed from the Gambas "farm" directly from the IDE welcome window. http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.7.1.tar.bz2/download Regards, -- Beno?t Minisini From lewis at ...3412... Sat Mar 28 18:58:25 2015 From: lewis at ...3412... (Lewis Balentine) Date: Sat, 28 Mar 2015 12:58:25 -0500 Subject: [Gambas-user] Issue 612 in gambas: BUG Cannot browse more of 128 records on tables "No current connection" In-Reply-To: <4-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> <0-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> <4-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> Message-ID: <5516EBC1.1030505@...3412...> I have over three decades of dealing with SQL and I can still not understand how this myth got propagated. There is NO valid SQL reason why a table should be required to have a unique primary key or any predefined key for that matter. One can always use the row number (record number) if such a key is required for one's application. On 03/28/2015 12:31 PM, gambas at ...2524... wrote: > Updates: > Status: Accepted > > Comment #4 on issue 612 by benoit.m... at ...626...: BUG Cannot browse more of > 128 records on tables "No current connection" > https://code.google.com/p/gambas/issues/detail?id=612 > > The reason why DataBrowser or DataView fails is because your table does not > have a unique primary key. This is mandatory, otherwise DataBrowser or > DataView can't work correctly. > > I will modify them in the future so that they raise an explicit error if no > unique primary key is found. > From gambas at ...1... Sat Mar 28 19:09:21 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 28 Mar 2015 19:09:21 +0100 Subject: [Gambas-user] Issue 612 in gambas: BUG Cannot browse more of 128 records on tables "No current connection" In-Reply-To: <5516EBC1.1030505@...3412...> References: <3-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> <0-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> <4-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> <5516EBC1.1030505@...3412...> Message-ID: <5516EE51.7020107@...1...> Le 28/03/2015 18:58, Lewis Balentine a ?crit : > I have over three decades of dealing with SQL and I can still not > understand how this myth got propagated. > > There is NO valid SQL reason why a table should be required to have a > unique primary key or any predefined key for that matter. One can always > use the row number (record number) if such a key is required for one's > application. > The row number does not exist in all database systems (more precisely, it is not accessible to the outside), so I can't rely on that feature to identify a row uniquely. Maybe the row id is not standard SQL, if "standard SQL" has any meaning. Consequently, I need a unique index, usually the primary key. If you can tell me how to get the row id of a row in MySQL, PostgreSQL and SQLite (mabe it has changed since the last time I looked at it), I will reconsider my position. :-) Regards, -- Beno?t Minisini From gambas at ...1... Sat Mar 28 19:28:27 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 28 Mar 2015 19:28:27 +0100 Subject: [Gambas-user] Issue 612 in gambas: BUG Cannot browse more of 128 records on tables "No current connection" In-Reply-To: <5516EE51.7020107@...1...> References: <3-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> <0-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> <4-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> <5516EBC1.1030505@...3412...> <5516EE51.7020107@...1...> Message-ID: <5516F2CB.5020106@...1...> Le 28/03/2015 19:09, Beno?t Minisini a ?crit : > Le 28/03/2015 18:58, Lewis Balentine a ?crit : >> I have over three decades of dealing with SQL and I can still not >> understand how this myth got propagated. >> >> There is NO valid SQL reason why a table should be required to have a >> unique primary key or any predefined key for that matter. One can always >> use the row number (record number) if such a key is required for one's >> application. >> > > The row number does not exist in all database systems (more precisely, > it is not accessible to the outside), so I can't rely on that feature to > identify a row uniquely. > > Maybe the row id is not standard SQL, if "standard SQL" has any meaning. > > Consequently, I need a unique index, usually the primary key. > > If you can tell me how to get the row id of a row in MySQL, PostgreSQL > and SQLite (mabe it has changed since the last time I looked at it), I > will reconsider my position. :-) > > Regards, > More explanations... I said "row number", I wanted to say "row id". MySQL has no row id concept apparently. PostgreSQL has something like that, but apparently not useful. SQLite has. The answer is always the same: you need a "row id"? Add a unique primary key based on a serial/auto-increment integer field. Now as for as "row number". I could use the "LIMIT / OFFSET" syntax to return the different part of a request, instead of using "LIMIT" + a criteria on the primary key. Alas PostgreSQL (for example), tells us that two identical "LIMIT / OFFSET" on the same request does not necessarily return the same records, unless you specify an predictible "ORDER BY" clause. Moreover "OFFSET" is not optimized on PostgreSQL. So I don't see a better solution than the current one. -- Beno?t Minisini From lewis at ...3412... Sat Mar 28 19:46:59 2015 From: lewis at ...3412... (Lewis Balentine) Date: Sat, 28 Mar 2015 13:46:59 -0500 Subject: [Gambas-user] Issue 612 in gambas: BUG Cannot browse more of 128 records on tables "No current connection" In-Reply-To: <5516EE51.7020107@...1...> References: <3-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> <0-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> <4-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> <5516EBC1.1030505@...3412...> <5516EE51.7020107@...1...> Message-ID: <5516F723.2080809@...3412...> SQLite (at least the current versions) will always have a row number: "/SELECT/rowid FROM ..." If the system does not have a unique row number built it (the only thing that I use these days is SQLite) then it should be able to be generated "on the fly" using a calculated field along with the query. There have been many, many DataBases built that do not have key fields defined. One particular major accounting system comes to mind that was my curse to deal with for many years. It has been so long since I have encountered anything that does not have a row number that I can not recall the SQL code to get around it.... I will continue searching :'( Lewis On 03/28/2015 01:09 PM, Beno?t Minisini wrote: > Le 28/03/2015 18:58, Lewis Balentine a ?crit : >> I have over three decades of dealing with SQL and I can still not >> understand how this myth got propagated. >> >> There is NO valid SQL reason why a table should be required to have a >> unique primary key or any predefined key for that matter. One can always >> use the row number (record number) if such a key is required for one's >> application. >> > The row number does not exist in all database systems (more precisely, > it is not accessible to the outside), so I can't rely on that feature to > identify a row uniquely. > > Maybe the row id is not standard SQL, if "standard SQL" has any meaning. > > Consequently, I need a unique index, usually the primary key. > > If you can tell me how to get the row id of a row in MySQL, PostgreSQL > and SQLite (mabe it has changed since the last time I looked at it), I > will reconsider my position. :-) > > Regards, > From bagoneo at ...69... Sat Mar 28 20:15:40 2015 From: bagoneo at ...69... (Gian) Date: Sat, 28 Mar 2015 20:15:40 +0100 Subject: [Gambas-user] Pre-release of Gambas 3.7.1 In-Reply-To: <5516EB20.9050307@...1...> References: <5516EB20.9050307@...1...> Message-ID: <5516FDDC.7030600@...69...> Il 28/03/2015 18:55, Beno?t Minisini ha scritto: > Hi, > > I have uploaded to sourceforge the source package of Gambas 3.7.1 so > that you can check it before the release. > > So tell me if you have any problem with it. > > It includes all the bugs fixed since the Gambas 3.7.0 release, and the > ability to open projects installed from the Gambas "farm" directly from > the IDE welcome window. > > http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.7.1.tar.bz2/download > > Regards, > Hello Benoit, In Ubuntu 14.04.02 LTS installed well, the Installed software shows examples installed and downloaded. Note: The message is that of the trunk and the error persists on ValueBox gb.gui and gb.gtk. See attachments Regards Gianluigi -------------- next part -------------- A non-text attachment was scrubbed... Name: Schermata del 2015-03-28 19_44_01.png Type: image/png Size: 95359 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Schermata del 2015-03-28 19_45_46.png Type: image/png Size: 2962 bytes Desc: not available URL: From lewis at ...3412... Sat Mar 28 20:22:45 2015 From: lewis at ...3412... (Lewis Balentine) Date: Sat, 28 Mar 2015 14:22:45 -0500 Subject: [Gambas-user] Issue 612 in gambas: BUG Cannot browse more of 128 records on tables "No current connection" In-Reply-To: <5516F2CB.5020106@...1...> References: <3-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> <0-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> <4-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> <5516EBC1.1030505@...3412...> <5516EE51.7020107@...1...> <5516F2CB.5020106@...1...> Message-ID: <5516FF85.4030507@...3412...> My real point was (and I probably stated it very badly) is there is nothing in SQL that requires a table to have a primary key defined. Thus one should not assume such key exist unless it is a known DB structure. For a known structure there is probably an alternative aproach (orber by something, something ... etc). For an unknown DB structure the problem is more challenging. There may not be a "universal" way to produce a "rowid" on the fly but rather one for each particular SQL incarnation ... and it should go without saying that such generated rowid's are ONLY valid for the subject query. MySQL reference (using variables): http://blog.sqlauthority.com/2014/03/08/mysql-generating-row-number-for-each-row-using-variable/ PostgreSQL reference (using supplemental view based on row_number()): http://linfiniti.com/2011/11/adding-a-counter-to-postgresql-query-results/ http://www.postgresql.org/docs/8.4/interactive/functions-window.html My apologies for being so aggressive/hostile/reactive. It is just I have heard too many times that SQL tables must have primary keys ... and it just is not true. Lewis On 03/28/2015 01:28 PM, Beno?t Minisini wrote: > Le 28/03/2015 19:09, Beno?t Minisini a ?crit : >> Le 28/03/2015 18:58, Lewis Balentine a ?crit : >>> I have over three decades of dealing with SQL and I can still not >>> understand how this myth got propagated. >>> >>> There is NO valid SQL reason why a table should be required to have a >>> unique primary key or any predefined key for that matter. One can always >>> use the row number (record number) if such a key is required for one's >>> application. >>> >> The row number does not exist in all database systems (more precisely, >> it is not accessible to the outside), so I can't rely on that feature to >> identify a row uniquely. >> >> Maybe the row id is not standard SQL, if "standard SQL" has any meaning. >> >> Consequently, I need a unique index, usually the primary key. >> >> If you can tell me how to get the row id of a row in MySQL, PostgreSQL >> and SQLite (mabe it has changed since the last time I looked at it), I >> will reconsider my position. :-) >> >> Regards, >> > More explanations... > > I said "row number", I wanted to say "row id". > > MySQL has no row id concept apparently. PostgreSQL has something like > that, but apparently not useful. SQLite has. > > The answer is always the same: you need a "row id"? Add a unique primary > key based on a serial/auto-increment integer field. > > Now as for as "row number". > > I could use the "LIMIT / OFFSET" syntax to return the different part of > a request, instead of using "LIMIT" + a criteria on the primary key. > > Alas PostgreSQL (for example), tells us that two identical "LIMIT / > OFFSET" on the same request does not necessarily return the same > records, unless you specify an predictible "ORDER BY" clause. > > Moreover "OFFSET" is not optimized on PostgreSQL. > > So I don't see a better solution than the current one. > From gambas at ...1... Sat Mar 28 20:27:17 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 28 Mar 2015 20:27:17 +0100 Subject: [Gambas-user] Issue 612 in gambas: BUG Cannot browse more of 128 records on tables "No current connection" In-Reply-To: <5516FF85.4030507@...3412...> References: <3-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> <0-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> <4-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> <5516EBC1.1030505@...3412...> <5516EE51.7020107@...1...> <5516F2CB.5020106@...1...> <5516FF85.4030507@...3412...> Message-ID: <55170095.5090500@...1...> Le 28/03/2015 20:22, Lewis Balentine a ?crit : > It is just I have heard too many times that SQL tables must have primary > keys ... and it just is not true. > It depends on what you mean by "must". It is not technically mandatory, but if you create a table without a primary key, you will have problems like that. So you "must" have a primary key. -- Beno?t Minisini From lewis at ...3412... Sat Mar 28 20:33:34 2015 From: lewis at ...3412... (Lewis Balentine) Date: Sat, 28 Mar 2015 14:33:34 -0500 Subject: [Gambas-user] Issue 612 in gambas: BUG Cannot browse more of 128 records on tables "No current connection" In-Reply-To: <55170095.5090500@...1...> References: <3-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> <0-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> <4-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> <5516EBC1.1030505@...3412...> <5516EE51.7020107@...1...> <5516F2CB.5020106@...1...> <5516FF85.4030507@...3412...> <55170095.5090500@...1...> Message-ID: <5517020E.8010802@...3412...> I over reacted to begin with. Thus I will not continue to further beat this dead horse. :-) Lewis On 03/28/2015 02:27 PM, Beno?t Minisini wrote: > Le 28/03/2015 20:22, Lewis Balentine a ?crit : >> It is just I have heard too many times that SQL tables must have primary >> keys ... and it just is not true. >> > It depends on what you mean by "must". It is not technically mandatory, > but if you create a table without a primary key, you will have problems > like that. So you "must" have a primary key. > From gambas at ...2524... Sat Mar 28 21:24:50 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 28 Mar 2015 20:24:50 +0000 Subject: [Gambas-user] Issue 615 in gambas: Printer.configure cause segfault (signal #11) with GTK3 In-Reply-To: <0-6813199134517018827-11555338046921151247-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-11555338046921151247-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-11555338046921151247-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -3.7.0 Version-3.7.0 Comment #1 on issue 615 by benoit.m... at ...626...: Printer.configure cause segfault (signal #11) with GTK3 https://code.google.com/p/gambas/issues/detail?id=615 Yep, there is something weird in recent GTK+3 printing support. I'm currently investigating, but found nothing yet. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sat Mar 28 21:25:50 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 28 Mar 2015 20:25:50 +0000 Subject: [Gambas-user] Issue 606 in gambas: Gtk3 signal #11 with rev. 6910 In-Reply-To: <1-6813199134517018827-3805273378803337592-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-3805273378803337592-gambas=googlecode.com@...2524...> <0-6813199134517018827-3805273378803337592-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-3805273378803337592-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Comment #2 on issue 606 by benoit.m... at ...626...: Gtk3 signal #11 with rev. 6910 https://code.google.com/p/gambas/issues/detail?id=606 Can you provide a project please? -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sat Mar 28 21:28:11 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 28 Mar 2015 20:28:11 +0000 Subject: [Gambas-user] Issue 170 in gambas: Error balloon is placed behind database connection window In-Reply-To: <5-6813199134517018827-5908272129675716932-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-5908272129675716932-gambas=googlecode.com@...2524...> <0-6813199134517018827-5908272129675716932-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-5908272129675716932-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #6 on issue 170 by benoit.m... at ...626...: Error balloon is placed behind database connection window https://code.google.com/p/gambas/issues/detail?id=170 No news for one year, closing the issue. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sat Mar 28 21:29:11 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 28 Mar 2015 20:29:11 +0000 Subject: [Gambas-user] Issue 284 in gambas: WebView crashes on some sites In-Reply-To: <6-6813199134517018827-14039733882564000799-gambas=googlecode.com@...2524...> References: <6-6813199134517018827-14039733882564000799-gambas=googlecode.com@...2524...> <0-6813199134517018827-14039733882564000799-gambas=googlecode.com@...2524...> Message-ID: <7-6813199134517018827-14039733882564000799-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #7 on issue 284 by benoit.m... at ...626...: WebView crashes on some sites https://code.google.com/p/gambas/issues/detail?id=284 No news from one year, closing the issue. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sat Mar 28 21:30:11 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 28 Mar 2015 20:30:11 +0000 Subject: [Gambas-user] Issue 369 in gambas: Application menu is not shown. In-Reply-To: <1-6813199134517018827-14855212908079608919-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-14855212908079608919-gambas=googlecode.com@...2524...> <0-6813199134517018827-14855212908079608919-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-14855212908079608919-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #2 on issue 369 by benoit.m... at ...626...: Application menu is not shown. https://code.google.com/p/gambas/issues/detail?id=369 No news for one year, closing the issue. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sat Mar 28 21:31:11 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 28 Mar 2015 20:31:11 +0000 Subject: [Gambas-user] Issue 396 in gambas: Gambas crashes when having a module named f In-Reply-To: <2-6813199134517018827-11042258011398565946-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-11042258011398565946-gambas=googlecode.com@...2524...> <0-6813199134517018827-11042258011398565946-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-11042258011398565946-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #3 on issue 396 by benoit.m... at ...626...: Gambas crashes when having a module named f https://code.google.com/p/gambas/issues/detail?id=396 No news for one year, closing the issue. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sat Mar 28 21:32:11 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 28 Mar 2015 20:32:11 +0000 Subject: [Gambas-user] Issue 406 in gambas: Bug in project form design: the forms are not visibles! In-Reply-To: <11-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> References: <11-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> <0-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> Message-ID: <12-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #12 on issue 406 by benoit.m... at ...626...: Bug in project form design: the forms are not visibles! https://code.google.com/p/gambas/issues/detail?id=406 No news for one year, closing the issue. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From lewis at ...3412... Sat Mar 28 21:32:16 2015 From: lewis at ...3412... (Lewis Balentine) Date: Sat, 28 Mar 2015 15:32:16 -0500 Subject: [Gambas-user] Pre-release of Gambas 3.7.1 In-Reply-To: <5516EB20.9050307@...1...> References: <5516EB20.9050307@...1...> Message-ID: <55170FD0.5090008@...3412...> Linux Mint 17.0 (fresh, updated image with required libraries) automake (GNU automake) 1.14.1 autoconf (GNU Autoconf) 2.69 libtool (GNU libtool) 2.4.2 gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2 g++ (Ubuntu 4.8.2-19ubuntu1) 4.8.2 Builds, executes and installs normally without modification. (with the exception of the previously reported GTK3 and JIT warnings). Total time required: Approximately 30 minutes. Appears to run normally (tested with Farm, Examples, AnalogWatch). [System]--------------------------------------------------------------------- Gambas=3.7.1 OperatingSystem=Linux Kernel=3.13.0-24-generic Architecture=x86_64 Distribution=Linux Mint 17 Qiana Desktop=MATE Theme=QGtk Language=en_US.UTF-8 Memory=3939M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 required libraries: ----------------------------------------------------------- sudo apt-get install build-essential g++ automake autoconf sudo apt-get install libbz2-dev libmysqlclient-dev unixodbc-dev libpq-dev libsqlite0-dev sudo apt-get install libsqlite3-dev libglib2.0-dev libgtk2.0-dev libcurl4-gnutls-dev sudo apt-get install libgtkglext1-dev libpcre3-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev sudo apt-get install libsdl-image1.2-dev libsage-dev libxml2-dev libxslt1-dev librsvg2-dev sudo apt-get install libpoppler-dev libpoppler-glib-dev libasound2-dev libesd0-dev sudo apt-get install libdirectfb-dev libxtst-dev libffi-dev libqt4-dev libglew1.5-dev sudo apt-get install libimlib2-dev libv4l-dev libsdl-ttf2.0-dev libgnome-keyring-dev sudo apt-get install libgdk-pixbuf2.0-dev linux-libc-dev libgstreamer1.0-dev sudo apt-get install libgstreamer-plugins-base1.0-dev libcairo2-dev libgsl0-dev sudo apt-get install libncurses5-dev libgmime-2.6-dev llvm-3.4-dev libalure-dev libgmp-dev sudo apt-get install libgtk-3-dev postgresql-server-dev-9.3 libsdl2-dev libsdl2-mixer-dev sudo apt-get install libsdl2-ttf-dev libsdl2-image-dev sane-utils libpoppler-private-dev sudo apt-get install libqtwebkit-dev llvm-dev llvm sudo apt-get install libqt4-opengl-dev sudo apt-get install libdumb1-dev On 03/28/2015 12:55 PM, Beno?t Minisini wrote: > Hi, > > I have uploaded to sourceforge the source package of Gambas 3.7.1 so > that you can check it before the release. > > So tell me if you have any problem with it. > > It includes all the bugs fixed since the Gambas 3.7.0 release, and the > ability to open projects installed from the Gambas "farm" directly from > the IDE welcome window. > > http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.7.1.tar.bz2/download > > Regards, > From gambas at ...2524... Sat Mar 28 21:33:11 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 28 Mar 2015 20:33:11 +0000 Subject: [Gambas-user] Issue 423 in gambas: Menu in form attached to workspace not visible In-Reply-To: <4-6813199134517018827-12100795197966942937-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-12100795197966942937-gambas=googlecode.com@...2524...> <0-6813199134517018827-12100795197966942937-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-12100795197966942937-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #5 on issue 423 by benoit.m... at ...626...: Menu in form attached to workspace not visible https://code.google.com/p/gambas/issues/detail?id=423 (No comment was entered for this change.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sat Mar 28 21:34:11 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 28 Mar 2015 20:34:11 +0000 Subject: [Gambas-user] Issue 424 in gambas: whole Gambas IDE shutdown trying to make an SQL Query in the SQL-Frame by using SQLite3 In-Reply-To: <1-6813199134517018827-1988574305175115530-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-1988574305175115530-gambas=googlecode.com@...2524...> <0-6813199134517018827-1988574305175115530-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-1988574305175115530-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #2 on issue 424 by benoit.m... at ...626...: whole Gambas IDE shutdown trying to make an SQL Query in the SQL-Frame by using SQLite3 https://code.google.com/p/gambas/issues/detail?id=424 No news for one year, closing the issue. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sat Mar 28 21:35:11 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 28 Mar 2015 20:35:11 +0000 Subject: [Gambas-user] Issue 467 in gambas: Printing example in Gambas 3.5 "Save in Folder" does not change destination for printing In-Reply-To: <2-6813199134517018827-12581719011306953040-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-12581719011306953040-gambas=googlecode.com@...2524...> <0-6813199134517018827-12581719011306953040-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-12581719011306953040-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #3 on issue 467 by benoit.m... at ...626...: Printing example in Gambas 3.5 "Save in Folder" does not change destination for printing https://code.google.com/p/gambas/issues/detail?id=467 No news for one year, closing the issue. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sat Mar 28 21:36:11 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 28 Mar 2015 20:36:11 +0000 Subject: [Gambas-user] Issue 458 in gambas: Repeated CRITICAL messages In-Reply-To: <6-6813199134517018827-12802906792772151370-gambas=googlecode.com@...2524...> References: <6-6813199134517018827-12802906792772151370-gambas=googlecode.com@...2524...> <0-6813199134517018827-12802906792772151370-gambas=googlecode.com@...2524...> Message-ID: <7-6813199134517018827-12802906792772151370-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #7 on issue 458 by benoit.m... at ...626...: Repeated CRITICAL messages https://code.google.com/p/gambas/issues/detail?id=458 No news for one year. Closing the issue. The messages come from the GTK+ theme in use. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sat Mar 28 21:37:11 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 28 Mar 2015 20:37:11 +0000 Subject: [Gambas-user] Issue 476 in gambas: Sqlite3 returns date in different format from similar syntax In-Reply-To: <5-6813199134517018827-8052949691169313803-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-8052949691169313803-gambas=googlecode.com@...2524...> <0-6813199134517018827-8052949691169313803-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-8052949691169313803-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #6 on issue 476 by benoit.m... at ...626...: Sqlite3 returns date in different format from similar syntax https://code.google.com/p/gambas/issues/detail?id=476 No news for one year, closing the issue. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sat Mar 28 21:38:11 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 28 Mar 2015 20:38:11 +0000 Subject: [Gambas-user] Issue 488 in gambas: Gambas Editor calculates cursor-positions wrong for some fontsizes In-Reply-To: <1-6813199134517018827-17789905005730570387-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-17789905005730570387-gambas=googlecode.com@...2524...> <0-6813199134517018827-17789905005730570387-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-17789905005730570387-gambas=googlecode.com@...2524...> Comment #2 on issue 488 by benoit.m... at ...626...: Gambas Editor calculates cursor-positions wrong for some fontsizes https://code.google.com/p/gambas/issues/detail?id=488 No news for one year, closing the issue. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sat Mar 28 21:39:11 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 28 Mar 2015 20:39:11 +0000 Subject: [Gambas-user] Issue 455 in gambas: gb.report generates a report too bigger In-Reply-To: <2-6813199134517018827-15369233703145961619-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-15369233703145961619-gambas=googlecode.com@...2524...> <0-6813199134517018827-15369233703145961619-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-15369233703145961619-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #3 on issue 455 by benoit.m... at ...626...: gb.report generates a report too bigger https://code.google.com/p/gambas/issues/detail?id=455 No news for one year, closing the issue. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sat Mar 28 21:40:11 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 28 Mar 2015 20:40:11 +0000 Subject: [Gambas-user] Issue 455 in gambas: gb.report generates a report too bigger In-Reply-To: <3-6813199134517018827-15369233703145961619-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-15369233703145961619-gambas=googlecode.com@...2524...> <0-6813199134517018827-15369233703145961619-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-15369233703145961619-gambas=googlecode.com@...2524...> Comment #4 on issue 455 by gambas... at ...626...: gb.report generates a report too bigger https://code.google.com/p/gambas/issues/detail?id=455 This was solved by changing the resolution on file saving -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...1... Sat Mar 28 21:42:49 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 28 Mar 2015 21:42:49 +0100 Subject: [Gambas-user] Possible bug on ValueBox gtk ang gb.gui In-Reply-To: <55114443.8070405@...69...> References: <550F278E.8000307@...69...> <55113C68.9030408@...69...> <1427193829.3530.5.camel@...40...> <55114443.8070405@...69...> Message-ID: <55171249.5010603@...1...> Le 24/03/2015 12:02, Gian a ?crit : > Il 24/03/2015 11:43, Charlie Reinl ha scritto: >> Salut, >> >> I can confirm that behave, but you can go behind of the dec-comma. >> When entering the comma the box make left shift and keeps staying before >> the comma. > > Yes I know, but it is not normal and not have to do this with QT. > Regards > Gianluigi > Bug fixed in revision #7007. Regards, -- Beno?t Minisini From bagoneo at ...69... Sat Mar 28 22:50:56 2015 From: bagoneo at ...69... (Gian) Date: Sat, 28 Mar 2015 22:50:56 +0100 Subject: [Gambas-user] Possible bug on ValueBox gtk ang gb.gui In-Reply-To: <55171249.5010603@...1...> References: <550F278E.8000307@...69...> <55113C68.9030408@...69...> <1427193829.3530.5.camel@...40...> <55114443.8070405@...69...> <55171249.5010603@...1...> Message-ID: <55172240.50009@...69...> Il 28/03/2015 21:42, Beno?t Minisini ha scritto: > Le 24/03/2015 12:02, Gian a ?crit : >> Il 24/03/2015 11:43, Charlie Reinl ha scritto: >>> Salut, >>> >>> I can confirm that behave, but you can go behind of the dec-comma. >>> When entering the comma the box make left shift and keeps staying before >>> the comma. >> >> Yes I know, but it is not normal and not have to do this with QT. >> Regards >> Gianluigi >> > > Bug fixed in revision #7007. > > Regards, > Thank you, Benoit Regards Gianluigi From gambas at ...2524... Sat Mar 28 22:53:29 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 28 Mar 2015 21:53:29 +0000 Subject: [Gambas-user] Issue 610 in gambas: Debian packaging of control: Depends only gambas3-runtime In-Reply-To: <1-6813199134517018827-2152985786088638367-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-2152985786088638367-gambas=googlecode.com@...2524...> <0-6813199134517018827-2152985786088638367-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-2152985786088638367-gambas=googlecode.com@...2524...> Comment #2 on issue 610 by chr4... at ...1601...: Debian packaging of control: Depends only gambas3-runtime https://code.google.com/p/gambas/issues/detail?id=610 Sorry, did not realize that you answered (got no mail or overlooked it). Attached is a project and the created Debian .deb. If you open the .dep and look at gambas3-deganius-gb-deg-form_3.7.3-1_all.deb/deb://DEBIAN/control you see, that it only Depends: gambas3-runtime (>= 3.7), gambas3-runtime (<< 3.99.0) But in source .project needs: Component=gb.db Component=gb.image Component=gb.qt4 Component=gb.form So it should also depend on gambas3-gb-db gambas3-gb-form gambas3-gb-image gambas3-gb-qt4 Right? Attachments: gambas3-deganius-gb-deg-form_3.7.3-1_all.deb 40.3 KB gb.deg.form-3.7.3.tar.gz 49.2 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sat Mar 28 23:37:58 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 28 Mar 2015 22:37:58 +0000 Subject: [Gambas-user] Issue 610 in gambas: Debian packaging of control: Depends only gambas3-runtime In-Reply-To: <2-6813199134517018827-2152985786088638367-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-2152985786088638367-gambas=googlecode.com@...2524...> <0-6813199134517018827-2152985786088638367-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-2152985786088638367-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #3 on issue 610 by benoit.m... at ...626...: Debian packaging of control: Depends only gambas3-runtime https://code.google.com/p/gambas/issues/detail?id=610 The dependencies of a component are not defined by the components used by the project, but by the requirements you explicitly provide in the 'information' tab of the project property dialog. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sun Mar 29 00:26:34 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 28 Mar 2015 23:26:34 +0000 Subject: [Gambas-user] Issue 610 in gambas: Debian packaging of control: Depends only gambas3-runtime In-Reply-To: <3-6813199134517018827-2152985786088638367-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-2152985786088638367-gambas=googlecode.com@...2524...> <0-6813199134517018827-2152985786088638367-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-2152985786088638367-gambas=googlecode.com@...2524...> Comment #4 on issue 610 by chr4... at ...1601...: Debian packaging of control: Depends only gambas3-runtime https://code.google.com/p/gambas/issues/detail?id=610 Thank you for clarification. Hmm. But there it is the same. If the dependencies are defined in the 'information' tab, debian packaging also leads to "Depends: gambas3-runtime (>= 3.7), gambas3-runtime (<< 3.99.0)" only. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sun Mar 29 09:43:24 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 29 Mar 2015 07:43:24 +0000 Subject: [Gambas-user] Issue 606 in gambas: Gtk3 signal #11 with rev. 6910 In-Reply-To: <2-6813199134517018827-3805273378803337592-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-3805273378803337592-gambas=googlecode.com@...2524...> <0-6813199134517018827-3805273378803337592-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-3805273378803337592-gambas=googlecode.com@...2524...> Comment #3 on issue 606 by sot... at ...626...: Gtk3 signal #11 with rev. 6910 https://code.google.com/p/gambas/issues/detail?id=606 Hi Beno?t, just drop it. I entered a duplicate issue see #607 where you fixed the problem. Just close the current issue. Thanks -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sun Mar 29 13:45:11 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 29 Mar 2015 11:45:11 +0000 Subject: [Gambas-user] Issue 607 in gambas: Gtk3 signal #11 with rev. 6910 In-Reply-To: <2-6813199134517018827-9702319526802777975-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-9702319526802777975-gambas=googlecode.com@...2524...> <0-6813199134517018827-9702319526802777975-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-9702319526802777975-gambas=googlecode.com@...2524...> Comment #3 on issue 607 by benoit.m... at ...626...: Gtk3 signal #11 with rev. 6910 https://code.google.com/p/gambas/issues/detail?id=607 Issue 606 has been merged into this issue. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sun Mar 29 13:46:11 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 29 Mar 2015 11:46:11 +0000 Subject: [Gambas-user] Issue 606 in gambas: Gtk3 signal #11 with rev. 6910 In-Reply-To: <3-6813199134517018827-3805273378803337592-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-3805273378803337592-gambas=googlecode.com@...2524...> <0-6813199134517018827-3805273378803337592-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-3805273378803337592-gambas=googlecode.com@...2524...> Updates: Status: Duplicate Mergedinto: 607 Comment #4 on issue 606 by benoit.m... at ...626...: Gtk3 signal #11 with rev. 6910 https://code.google.com/p/gambas/issues/detail?id=606 OK! -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...1... Sun Mar 29 15:29:34 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sun, 29 Mar 2015 15:29:34 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.7.1 In-Reply-To: <5516EB20.9050307@...1...> References: <5516EB20.9050307@...1...> Message-ID: <5517FE3E.60504@...1...> Le 28/03/2015 18:55, Beno?t Minisini a ?crit : > Hi, > > I have uploaded to sourceforge the source package of Gambas 3.7.1 so > that you can check it before the release. > > So tell me if you have any problem with it. > > It includes all the bugs fixed since the Gambas 3.7.0 release, and the > ability to open projects installed from the Gambas "farm" directly from > the IDE welcome window. > > http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.7.1.tar.bz2/download > > Regards, > I have uplpoaded a new version of the package with a few more fixes. If no problem is reported, I will release if officially. Note that printing with gb.gtk3 still crashes for an unknown reason. Still investigating... -- Beno?t Minisini From gambas at ...2524... Sun Mar 29 15:51:32 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 29 Mar 2015 13:51:32 +0000 Subject: [Gambas-user] Issue 610 in gambas: Debian packaging of control: Depends only gambas3-runtime In-Reply-To: <4-6813199134517018827-2152985786088638367-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-2152985786088638367-gambas=googlecode.com@...2524...> <0-6813199134517018827-2152985786088638367-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-2152985786088638367-gambas=googlecode.com@...2524...> Comment #5 on issue 610 by benoit.m... at ...626...: Debian packaging of control: Depends only gambas3-runtime https://code.google.com/p/gambas/issues/detail?id=610 Sorry, my bad. Actually, when you make a "component" project, the generated binary package has no automatic dependencies. It relies on the IDE to manage them from the project property dialog. When making a binary package of a normal project, it will have dependencies on all the needed components. Moreover, by doing automatic dependencies of component projects, I force the target components to have binary packages too, which is not technically mandatory: nothing prevents a component having a binary package from needing another component having no binary package. But I admit that in practice it seems unlikely. And that we know that Gambas component do have binary packages (or should have!). So I may have automatic dependencies at least on Gambas components in a future release. In the meantime, you can add explicit dependencies in the "extra dependencies" tab of the packager wizard. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From ron at ...1740... Sun Mar 29 16:02:55 2015 From: ron at ...1740... (Ron) Date: Sun, 29 Mar 2015 16:02:55 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.7.1 In-Reply-To: <5517FE3E.60504@...1...> References: <5516EB20.9050307@...1...> <5517FE3E.60504@...1...> Message-ID: Builds and runs fine on Ubuntu 14.10 64 bits. Small corrections: On startup 'Installed sofwares' should be called 'Installed software' In right click menu on form in treeview, 'Run that class' should be called 'Run this class' Regards, Ron. 2015-03-29 15:29 GMT+02:00 Beno?t Minisini : > Le 28/03/2015 18:55, Beno?t Minisini a ?crit : >> Hi, >> >> I have uploaded to sourceforge the source package of Gambas 3.7.1 so >> that you can check it before the release. >> >> So tell me if you have any problem with it. >> >> It includes all the bugs fixed since the Gambas 3.7.0 release, and the >> ability to open projects installed from the Gambas "farm" directly from >> the IDE welcome window. >> >> http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.7.1.tar.bz2/download >> >> Regards, >> > > I have uplpoaded a new version of the package with a few more fixes. If > no problem is reported, I will release if officially. > > Note that printing with gb.gtk3 still crashes for an unknown reason. > Still investigating... > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Sun Mar 29 16:18:23 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sun, 29 Mar 2015 16:18:23 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.7.1 In-Reply-To: References: <5516EB20.9050307@...1...> <5517FE3E.60504@...1...> Message-ID: <551809AF.5000805@...1...> Le 29/03/2015 16:02, Ron a ?crit : > Builds and runs fine on Ubuntu 14.10 64 bits. > > Small corrections: > > On startup 'Installed sofwares' should be called 'Installed software' > > In right click menu on form in treeview, 'Run that class' should be > called 'Run this class' > > Regards, > Ron. > A bit late, but thanks. I will fix that for the next version. -- Beno?t Minisini From bagoneo at ...69... Sun Mar 29 16:41:14 2015 From: bagoneo at ...69... (Gian) Date: Sun, 29 Mar 2015 16:41:14 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.7.1 In-Reply-To: <5517FE3E.60504@...1...> References: <5516EB20.9050307@...1...> <5517FE3E.60504@...1...> Message-ID: <55180F0A.9060900@...69...> Il 29/03/2015 15:29, Beno?t Minisini ha scritto: > Le 28/03/2015 18:55, Beno?t Minisini a ?crit : >> Hi, >> >> I have uploaded to sourceforge the source package of Gambas 3.7.1 so >> that you can check it before the release. >> >> So tell me if you have any problem with it. >> >> It includes all the bugs fixed since the Gambas 3.7.0 release, and the >> ability to open projects installed from the Gambas "farm" directly from >> the IDE welcome window. >> >> http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.7.1.tar.bz2/download >> >> Regards, >> > > I have uplpoaded a new version of the package with a few more fixes. If > no problem is reported, I will release if officially. > > Note that printing with gb.gtk3 still crashes for an unknown reason. > Still investigating... > Hello Benoit, I well compiled on Ubuntu 14.04.02 LTS 64 but I get this: ============= Compiling the gb.xml.rpc project... gbi3: warning: component gb.xml.rpc not found gb.xml.rpc OK Installing the gb.xml.rpc control icons if needed... Creating the information files for gb.xml.rpc component... =============== The terminal tells me libc6-dev and libxml2-dev is already the latest version ... Now the GTK ValueBox work well. In the title forgotten the written of version Trunk. Regards Gianluigi From ron at ...1740... Sun Mar 29 17:00:10 2015 From: ron at ...1740... (Ron) Date: Sun, 29 Mar 2015 17:00:10 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.7.1 In-Reply-To: <551809AF.5000805@...1...> References: <5516EB20.9050307@...1...> <5517FE3E.60504@...1...> <551809AF.5000805@...1...> Message-ID: Yeah sorry... I didn't had much time to test 3.7.1 yet. Some other small corrections for trunk; Menu ? 'System Informations' -> 'System information' On System information form: 'Please copy these informations in all your bug reports' -> 'Please include this information if you submit a bug report.' BTW: You know Google code stops? http://google-opensource.blogspot.nl/2015/03/farewell-to-google-code.html We have to move the bug reports to somewhere else (github for example?) Would be nice to have a 'Submit a bug report' into the ? menu as well. Regards, Ron. 2015-03-29 16:18 GMT+02:00 Beno?t Minisini : > Le 29/03/2015 16:02, Ron a ?crit : >> Builds and runs fine on Ubuntu 14.10 64 bits. >> >> Small corrections: >> >> On startup 'Installed sofwares' should be called 'Installed software' >> >> In right click menu on form in treeview, 'Run that class' should be >> called 'Run this class' >> >> Regards, >> Ron. >> > > A bit late, but thanks. I will fix that for the next version. > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From marcobra.ubuntu at ...626... Mon Mar 30 00:34:42 2015 From: marcobra.ubuntu at ...626... (marco bra) Date: Mon, 30 Mar 2015 00:34:42 +0200 Subject: [Gambas-user] Issue 612 in gambas: BUG Cannot browse more of 128 records on tables "No current connection" In-Reply-To: <5517020E.8010802@...3412...> References: <3-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> <0-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> <4-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> <5516EBC1.1030505@...3412...> <5516EE51.7020107@...1...> <5516F2CB.5020106@...1...> <5516FF85.4030507@...3412...> <55170095.5090500@...1...> <5517020E.8010802@...3412...> Message-ID: There must something i cannot understand with this I try on the same sqlite3 database - creating a different new test project - defining new datasource - defining a databrowser that use that datasource tables, the tables do not have any primary key defined.... i can browse the entire tables contents (56K records), so i cannot see this issue more. Then i suppose isn't a primary key relate issue... Fyi: my first test pc was an ubuntu 14.04 in this second test i'm using ubuntu 15.04 unstable So, i'm really confused... i supposing there is some in my code... Thank you Marco 2015-03-28 20:33 GMT+01:00 Lewis Balentine : > I over reacted to begin with. > Thus I will not continue to further beat this dead horse. :-) > > Lewis > > On 03/28/2015 02:27 PM, Beno?t Minisini wrote: > > Le 28/03/2015 20:22, Lewis Balentine a ?crit : > >> It is just I have heard too many times that SQL tables must have primary > >> keys ... and it just is not true. > >> > > It depends on what you mean by "must". It is not technically mandatory, > > but if you create a table without a primary key, you will have problems > > like that. So you "must" have a primary key. > > > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Linux Infinite Freedom I'm writing from this place: http://www.openstreetmap.org/?lat=44.39945&lon=8.6798&zoom=15&layers=M From gambas at ...1... Mon Mar 30 01:11:12 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Mon, 30 Mar 2015 01:11:12 +0200 Subject: [Gambas-user] Issue 612 in gambas: BUG Cannot browse more of 128 records on tables "No current connection" In-Reply-To: References: <3-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> <0-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> <4-6813199134517018827-12039489192161917015-gambas=googlecode.com@...2524...> <5516EBC1.1030505@...3412...> <5516EE51.7020107@...1...> <5516F2CB.5020106@...1...> <5516FF85.4030507@...3412...> <55170095.5090500@...1...> <5517020E.8010802@...3412...> Message-ID: <55188690.8020506@...1...> Le 30/03/2015 00:34, marco bra a ?crit : > There must something i cannot understand with this > > I try on the same sqlite3 database > - creating a different new test project > - defining new datasource > - defining a databrowser that use that datasource tables, the tables do not > have any primary key defined.... > i can browse the entire tables contents (56K records), so i cannot see this > issue more. > > Then i suppose isn't a primary key relate issue... > > Fyi: my first test pc was an ubuntu 14.04 in this second test i'm using > ubuntu 15.04 unstable > > So, i'm really confused... i supposing there is some in my code... > > Thank you > Marco > The DataView browses a table or a request by chunk of multiple of 128 rows, and so needs a unique primary key to be able to read the next chunks. Without a unique primary key, there is no way to emit a SQL request that can return part of a table from a specific row. When there is no primary key, the result is read entirely in one shot. But until recently, there was a bug: a primary key was assumed falsely in some cases with sqlite, and so the DataView was losing some records, hence the red errors while displaying its contents. Regards, -- Beno?t Minisini From gambas at ...1... Mon Mar 30 01:30:19 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Mon, 30 Mar 2015 01:30:19 +0200 Subject: [Gambas-user] New sqlite3 database driver Message-ID: <55188B0B.3020509@...1...> Hi, I have rewritten the sqlite3 database driver, so that I get rid of all that badly written brain-fucking C++ code. Now everything is written in C and smaller (about 3000 lines of code instead of 6000). Less memory should be used by big results, and so things should be a little bit faster. But I didn't do any benchmark. Please report if you have any bug or crash with that new driver. Note that I use it daily on my machine for my job, so I will be the first one impacted by any mistake! By the way, if you are looking for optimizations when reading a result (whatever the database you are using), don't access them by field name, but try to use field indexes. I.e. Result[0], Result[1]... instead of Result["field name"]. Because Result["field name"] implies string comparisons with all result field names to find the field index. Regards, -- Beno?t Minisini From gambas.fr at ...626... Mon Mar 30 09:15:25 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 30 Mar 2015 09:15:25 +0200 Subject: [Gambas-user] New sqlite3 database driver In-Reply-To: <55188B0B.3020509@...1...> References: <55188B0B.3020509@...1...> Message-ID: There is one big difference for me ... Now i can understand the code :-). 2015-03-30 1:30 GMT+02:00 Beno?t Minisini : > Hi, > > I have rewritten the sqlite3 database driver, so that I get rid of all > that badly written brain-fucking C++ code. > > Now everything is written in C and smaller (about 3000 lines of code > instead of 6000). Less memory should be used by big results, and so > things should be a little bit faster. But I didn't do any benchmark. > > Please report if you have any bug or crash with that new driver. > > Note that I use it daily on my machine for my job, so I will be the > first one impacted by any mistake! > > By the way, if you are looking for optimizations when reading a result > (whatever the database you are using), don't access them by field name, > but try to use field indexes. > > I.e. Result[0], Result[1]... instead of Result["field name"]. > > Because Result["field name"] implies string comparisons with all result > field names to find the field index. > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From vuott at ...325... Mon Mar 30 11:10:28 2015 From: vuott at ...325... (Ru Vuott) Date: Mon, 30 Mar 2015 10:10:28 +0100 Subject: [Gambas-user] ERROR with revision 7017 Message-ID: <1427706628.43235.YahooMailBasic@...3269...> Hello, ... I obtain this error with revision 7017: Making all in gb.db.sqlite3 make[2]: Entering directory `/home/vuott/trunk/gb.db.sqlite3' make all-recursive make[3]: Entering directory `/home/vuott/trunk/gb.db.sqlite3' Making all in src make[4]: Entering directory `/home/vuott/trunk/gb.db.sqlite3/src' make[4]: *** No rule to make target `main.cpp', needed by `gb_db_sqlite3_la-main.lo'. Stop. make[4]: Leaving directory `/home/vuott/trunk/gb.db.sqlite3/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/vuott/trunk/gb.db.sqlite3' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/vuott/trunk/gb.db.sqlite3' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/vuott/trunk' make: *** [all] Error 2 Regards vuott From Karl.Reinl at ...2345... Mon Mar 30 11:22:26 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Mon, 30 Mar 2015 11:22:26 +0200 Subject: [Gambas-user] [Gambas-devel] Gambas trunk Rev. 7017 error In-Reply-To: <5518D473.9080409@...1...> References: <5518D473.9080409@...1...> Message-ID: <1427707346.16002.4.camel@...40...> Am Montag, den 30.03.2015, 06:43 +0200 schrieb Beno?t Minisini: > Le 30/03/2015 04:32, marco bra a ?crit : > > Please take a look at complete log of compile and install log errors > > > > Thanks > > Marco > > > > You have to remove the 'gb.db.sqlite3/src/.deps' directory by hand. No > idea why, maybe a flaw in the autotools system. > Salut Beno?t, I encountered the same problem. Worked fine after remove. [System] Gambas=3.7.90 OperatingSystem=Linux Kernel=3.2.0-79-generic Architecture=x86 Distribution=Ubuntu 12.04.5 LTS Desktop=GNOME Theme=QPlastique Language=de_DE.UTF-8 Memory=3025M [Libraries] Cairo=libcairo.so.2.11000.2 Curl=libcurl.so.4.2.0 DBus=libdbus-1.so.3.5.8 GStreamer=libgstreamer-0.10.so.0.30.0 GTK+3=libgtk-3.so.0.400.2 GTK+=libgtk-x11-2.0.so.0.2400.10 Poppler=libpoppler.so.19.0.0 Qt4=libQtCore.so.4.8.1 SDL=libSDL-1.2.so.0.11.3 -- Amicalement Charlie From vuott at ...325... Mon Mar 30 12:39:37 2015 From: vuott at ...325... (Ru Vuott) Date: Mon, 30 Mar 2015 11:39:37 +0100 Subject: [Gambas-user] [Gambas-devel] Gambas trunk Rev. 7017 error In-Reply-To: <1427707346.16002.4.camel@...40...> Message-ID: <1427711977.31013.YahooMailBasic@...3271...> ...me too. I solved by removing gb.db.sqlite3/src/.deps' folder. Thanks vuott -------------------------------------------- Lun 30/3/15, Charlie Reinl ha scritto: Oggetto: Re: [Gambas-user] [Gambas-devel] Gambas trunk Rev. 7017 error A: gambas-user at lists.sourceforge.net Data: Luned? 30 marzo 2015, 11:22 Am Montag, den 30.03.2015, 06:43 +0200 schrieb Beno?t Minisini: > Le 30/03/2015 04:32, marco bra a ?crit : > > Please take a look at complete log of compile and install log errors > > > > Thanks > > Marco > > > > You have to remove the 'gb.db.sqlite3/src/.deps' directory by hand. No > idea why, maybe a flaw in the autotools system. > Salut Beno?t, I encountered the same problem. Worked fine after remove. [System] Gambas=3.7.90 OperatingSystem=Linux Kernel=3.2.0-79-generic Architecture=x86 Distribution=Ubuntu 12.04.5 LTS Desktop=GNOME Theme=QPlastique Language=de_DE.UTF-8 Memory=3025M [Libraries] Cairo=libcairo.so.2.11000.2 Curl=libcurl.so.4.2.0 DBus=libdbus-1.so.3.5.8 GStreamer=libgstreamer-0.10.so.0.30.0 GTK+3=libgtk-3.so.0.400.2 GTK+=libgtk-x11-2.0.so.0.2400.10 Poppler=libpoppler.so.19.0.0 Qt4=libQtCore.so.4.8.1 SDL=libSDL-1.2.so.0.11.3 -- Amicalement Charlie ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From vuott at ...325... Mon Mar 30 12:40:14 2015 From: vuott at ...325... (Ru Vuott) Date: Mon, 30 Mar 2015 11:40:14 +0100 Subject: [Gambas-user] R: ERROR with revision 7017 In-Reply-To: <1427706628.43235.YahooMailBasic@...3269...> Message-ID: <1427712014.20371.YahooMailBasic@...3275...> I solved by removing " gb.db.sqlite3/src/.deps " folder. regards vuott -------------------------------------------- Lun 30/3/15, Ru Vuott ha scritto: Oggetto: [Gambas-user] ERROR with revision 7017 A: gambas-user at lists.sourceforge.net Data: Luned? 30 marzo 2015, 11:10 Hello, ... I obtain this error with revision 7017: Making all in gb.db.sqlite3 make[2]: Entering directory `/home/vuott/trunk/gb.db.sqlite3' make? all-recursive make[3]: Entering directory `/home/vuott/trunk/gb.db.sqlite3' Making all in src make[4]: Entering directory `/home/vuott/trunk/gb.db.sqlite3/src' make[4]: *** No rule to make target `main.cpp', needed by `gb_db_sqlite3_la-main.lo'.? Stop. make[4]: Leaving directory `/home/vuott/trunk/gb.db.sqlite3/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/vuott/trunk/gb.db.sqlite3' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/vuott/trunk/gb.db.sqlite3' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/vuott/trunk' make: *** [all] Error 2 Regards vuott ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From bagoneo at ...69... Mon Mar 30 15:50:09 2015 From: bagoneo at ...69... (Gian) Date: Mon, 30 Mar 2015 15:50:09 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.7.1 In-Reply-To: <55180F0A.9060900@...69...> References: <5516EB20.9050307@...1...> <5517FE3E.60504@...1...> <55180F0A.9060900@...69...> Message-ID: <55195491.90407@...69...> Il 29/03/2015 16:41, Gian ha scritto: > In the title forgotten the written of version Trunk. Eureka! I finally realized that a version as long as is not final... is not final. Only 15 months are really too smart. :) Regards Gianluigi From gambas at ...2524... Tue Mar 31 08:43:24 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 31 Mar 2015 06:43:24 +0000 Subject: [Gambas-user] Issue 611 in gambas: TRUNK bug postgresql connection don't send password at runtime In-Reply-To: <1-6813199134517018827-11787578136539486057-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-11787578136539486057-gambas=googlecode.com@...2524...> <0-6813199134517018827-11787578136539486057-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-11787578136539486057-gambas=googlecode.com@...2524...> Comment #2 on issue 611 by marcobra... at ...626...: TRUNK bug postgresql connection don't send password at runtime https://code.google.com/p/gambas/issues/detail?id=611 Now with build 7017 i get error also defining new connection, i was trying to send you a very simple project here. The error is "Unable to retrieve password" Type mismatch: wanted String, got Component instead as you can view into attached screenshot. Thanks Marco Attachments: Schermata del 2015-03-31 08:40:41.png 43.8 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Tue Mar 31 08:51:18 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 31 Mar 2015 06:51:18 +0000 Subject: [Gambas-user] Issue 611 in gambas: TRUNK bug postgresql connection don't send password at runtime In-Reply-To: <2-6813199134517018827-11787578136539486057-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-11787578136539486057-gambas=googlecode.com@...2524...> <0-6813199134517018827-11787578136539486057-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-11787578136539486057-gambas=googlecode.com@...2524...> Comment #3 on issue 611 by marcobra... at ...626...: TRUNK bug postgresql connection don't send password at runtime https://code.google.com/p/gambas/issues/detail?id=611 Then retrying adding gb.desktop components to project, i get no password supplied error... pleas also note the hide tooltip message... Attachments: Schermata del 2015-03-31 08:52:45.png 33.9 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings