From gambas at ...2524... Sat Mar 1 16:46:30 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 01 Mar 2014 15:46:30 +0000 Subject: [Gambas-user] Issue 514 in gambas: Exec crashes Gambas if file is not executable Message-ID: <0-6813199134517018827-2353925212797913708-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 514 by uAle... at ...626...: Exec crashes Gambas if file is not executable http://code.google.com/p/gambas/issues/detail?id=514 1) Describe the problem. The Gambas "Exec" can execute external processes, but if the external file exist but is NOT executable, it crashes Gambas with the following error: ERROR: #68: Cannot run child process: cannot run executable: Permission denied The "Try" and "Catch" don't work in this scenario. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: 3.5.2 Revision: N/A Operating system: Linux Distribution: Ubuntu Architecture: x86_64 GUI component: GTK+ Desktop used: Gnome 3) Provide a little project that reproduces the bug or the crash. Extremely easy, just do a touch like: touch /var/tmp/x11.sh $ ls -l /var/tmp/x11.sh -rw-rw-r-- 1 gambas gambas 0 mrt 1 16:40 /var/tmp/x11.sh Execute the following Gambas code: Try Exec ["/var/tmp/x11.sh"] 4) If your project needs a database, try to provide it, or part of it. 5) Explain clearly how to reproduce the bug or the crash. 6) By doing that carefully, you have done 50% of the bug fix job! IMPORTANT NOTE: If you encounter several different problems or bugs, (for example, a bug in your project, and an interpreter crash while debugging it), please create distinct issues! ANOTHER NOTE: Don't create an issue if you have a compilation problem on the development version. Send a mail to the mailing-list instead, 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 2 12:46:47 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 02 Mar 2014 11:46:47 +0000 Subject: [Gambas-user] Issue 513 in gambas: Bad display of SwitchButton In-Reply-To: <0-6813199134517018827-915249054816125330-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-915249054816125330-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-915249054816125330-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #1 on issue 513 by benoit.m... at ...626...: Bad display of SwitchButton http://code.google.com/p/gambas/issues/detail?id=513 This actually a bug in the QGtk widget theme. It does not take into account the color I send it to draw the SwitchButton background. It always uses the default TextBox background (white in that case). I will try to find a workaround, but it's unlikely. :-/ -- 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 2 12:48:56 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 02 Mar 2014 11:48:56 +0000 Subject: [Gambas-user] Issue 514 in gambas: Exec crashes Gambas if file is not executable In-Reply-To: <0-6813199134517018827-2353925212797913708-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-2353925212797913708-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-2353925212797913708-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-3.5.0 Comment #1 on issue 514 by benoit.m... at ...626...: Exec crashes Gambas if file is not executable http://code.google.com/p/gambas/issues/detail?id=514 The process is run in the background, and the error is detected inside the child process, so you get the error after the Exec instruction has returned. I don't know yet if I can force the program to wait for its child to really start... -- 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 2 21:24:19 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 02 Mar 2014 20:24:19 +0000 Subject: [Gambas-user] Issue 514 in gambas: Exec crashes Gambas if file is not executable In-Reply-To: <1-6813199134517018827-2353925212797913708-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-2353925212797913708-gambas=googlecode.com@...2524...> <0-6813199134517018827-2353925212797913708-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-2353925212797913708-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 514 by benoit.m... at ...626...: Exec crashes Gambas if file is not executable http://code.google.com/p/gambas/issues/detail?id=514 That should be fixed in revision #6189, but I must be sure that the fix does not introduce any regression. Otherwise I will have to remove it! -- 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 charlie at ...2793... Sun Mar 2 21:57:27 2014 From: charlie at ...2793... (Charlie) Date: Sun, 2 Mar 2014 12:57:27 -0800 (PST) Subject: [Gambas-user] rpmbuild and install package In-Reply-To: <4B0E897F.3070207@...2332...> References: <4B0DBD95.1020903@...2332...> <4B0DE13A.90500@...2015...> <4B0DE825.2000107@...2332...> <4B0DEE54.6010300@...2015...> <4B0DF3EF.1040304@...2332...> <4B0E330D.8010502@...1909...> <.77.224.23.61.1259236740.squirrel@...2167...> <4B0E897F.3070207@...2332...> Message-ID: <1393793847121-45881.post@...3046...> I had this problem and on installing rpm with *sudo apt-get install rpm* all was well -- View this message in context: http://gambas.8142.n7.nabble.com/rpmbuild-and-install-package-tp15237p45881.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...2524... Sun Mar 2 23:08:40 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 02 Mar 2014 22:08:40 +0000 Subject: [Gambas-user] Issue 465 in gambas: Window initial size error In-Reply-To: <4-6813199134517018827-12840958752229992550-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-12840958752229992550-gambas=googlecode.com@...2524...> <0-6813199134517018827-12840958752229992550-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-12840958752229992550-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #5 on issue 465 by benoit.m... at ...626...: Window initial size error http://code.google.com/p/gambas/issues/detail?id=465 I can't reproduce the bug anymore with the latest revision (#6189), so I guess it is fixed. As for the Me.Hide inside Form_Open(), it is not supported at the moment. It has no effect. If it is a concern for you, just open another issue. Don't put two different problems in the same 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 2 23:10:40 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 02 Mar 2014 22:10:40 +0000 Subject: [Gambas-user] Issue 407 in gambas: Gambas doesn't compile on Debian Wheezy In-Reply-To: <2-6813199134517018827-17781001610058318380-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-17781001610058318380-gambas=googlecode.com@...2524...> <0-6813199134517018827-17781001610058318380-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-17781001610058318380-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #3 on issue 407 by benoit.m... at ...626...: Gambas doesn't compile on Debian Wheezy http://code.google.com/p/gambas/issues/detail?id=407 No news from more than 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... Sun Mar 2 23:11:40 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 02 Mar 2014 22:11:40 +0000 Subject: [Gambas-user] Issue 389 in gambas: Segmentation Fault due to workspace In-Reply-To: <3-6813199134517018827-1551574736709184766-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-1551574736709184766-gambas=googlecode.com@...2524...> <0-6813199134517018827-1551574736709184766-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-1551574736709184766-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #4 on issue 389 by benoit.m... at ...626...: Segmentation Fault due to workspace http://code.google.com/p/gambas/issues/detail?id=389 No news for more than 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 taboege at ...626... Mon Mar 3 19:16:44 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 3 Mar 2014 19:16:44 +0100 Subject: [Gambas-user] Gambas2 {Control,Container}.Grab() replacement? Message-ID: <20140303181644.GH4674@...2774...> Hi Benoit, is it possible to provide a replacement for what the Control/Container Grab() method did in Gambas2, i.e. returning a Picture of the control? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Mon Mar 3 19:24:00 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 03 Mar 2014 19:24:00 +0100 Subject: [Gambas-user] Gambas2 {Control,Container}.Grab() replacement? In-Reply-To: <20140303181644.GH4674@...2774...> References: <20140303181644.GH4674@...2774...> Message-ID: <5314C8C0.7040800@...1...> Le 03/03/2014 19:16, Tobias Boege a ?crit : > Hi Benoit, > > is it possible to provide a replacement for what the Control/Container > Grab() method did in Gambas2, i.e. returning a Picture of the control? > > Regards, > Tobi > You must play with Desktop.Screenshot instead. -- Beno?t Minisini From taboege at ...626... Mon Mar 3 19:46:33 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 3 Mar 2014 19:46:33 +0100 Subject: [Gambas-user] Gambas2 {Control,Container}.Grab() replacement? In-Reply-To: <5314C8C0.7040800@...1...> References: <20140303181644.GH4674@...2774...> <5314C8C0.7040800@...1...> Message-ID: <20140303184633.GJ4674@...2774...> On Mon, 03 Mar 2014, Beno?t Minisini wrote: > Le 03/03/2014 19:16, Tobias Boege a ?crit : > > Hi Benoit, > > > > is it possible to provide a replacement for what the Control/Container > > Grab() method did in Gambas2, i.e. returning a Picture of the control? > > > > Regards, > > Tobi > > > > You must play with Desktop.Screenshot instead. > OK, but I guess from the comparison of sources of Gambas 2.24.0 and trunk that it would be trivial to implement the control-wise screenshot again. Why did that method go away in the first place? I'm just asking to have an explanation we can put into an article. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Mon Mar 3 19:52:20 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 03 Mar 2014 19:52:20 +0100 Subject: [Gambas-user] Gambas2 {Control,Container}.Grab() replacement? In-Reply-To: <20140303184633.GJ4674@...2774...> References: <20140303181644.GH4674@...2774...> <5314C8C0.7040800@...1...> <20140303184633.GJ4674@...2774...> Message-ID: <5314CF64.6020307@...1...> Le 03/03/2014 19:46, Tobias Boege a ?crit : > On Mon, 03 Mar 2014, Beno?t Minisini wrote: >> Le 03/03/2014 19:16, Tobias Boege a ?crit : >>> Hi Benoit, >>> >>> is it possible to provide a replacement for what the Control/Container >>> Grab() method did in Gambas2, i.e. returning a Picture of the control? >>> >>> Regards, >>> Tobi >>> >> >> You must play with Desktop.Screenshot instead. >> > > OK, but I guess from the comparison of sources of Gambas 2.24.0 and trunk > that it would be trivial to implement the control-wise screenshot again. Why > did that method go away in the first place? I'm just asking to have an > explanation we can put into an article. > > Regards, > Tobi > Because it is not reliable. It works only in some cases with X-Window, and as soon as there is a screen compositor, I think it is even less reliable. I'm waiting for Wayland and some way of getting a screenshot of a window part reliably. Regards, -- Beno?t Minisini From matti.eber at ...3240... Mon Mar 3 20:49:48 2014 From: matti.eber at ...3240... (Matti) Date: Mon, 03 Mar 2014 20:49:48 +0100 Subject: [Gambas-user] Building a custom MyComboBox Message-ID: <5314DCDC.5070505@...3240...> I'm playing around with a ComboBox that should have some special features. Looked into the sources and found out how to create and inherit it. Subs, Functions and Events work. But one thing is a complete riddle to me: In the wiki, it says: "For example, you can create a custom MyListBox class that inherits ListBox but allows to associate a tag with each list item." That's exactly what I'd need for MyComboBox: each list item with a tag (ID from a database). Could someone give me a hint how to do that? Thanks, Matti From taboege at ...626... Mon Mar 3 20:55:20 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 3 Mar 2014 20:55:20 +0100 Subject: [Gambas-user] Building a custom MyComboBox In-Reply-To: <5314DCDC.5070505@...3240...> References: <5314DCDC.5070505@...3240...> Message-ID: <20140303195519.GL4674@...2774...> On Mon, 03 Mar 2014, Matti wrote: > I'm playing around with a ComboBox that should have some special features. > Looked into the sources and found out how to create and inherit it. > Subs, Functions and Events work. > > But one thing is a complete riddle to me: > In the wiki, it says: "For example, you can create a custom MyListBox class that inherits ListBox but allows to associate a tag with each list item." > That's exactly what I'd need for MyComboBox: each list item with a tag (ID from a database). > > Could someone give me a hint how to do that? > Thanks, Matti > You could have a Private $aTags As New Variant[] in your class which associates a Variant with an item via the item's index. You need to maintain that array, though. Watch out for the Add(), Clear() and Remove() methods and the List property! I'm not familiar with the sources, so I don't know if there is a smarter way (and I'm assuming that you write the extended ComboBox in Gambas). Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From dquinter at ...626... Mon Mar 3 21:04:53 2014 From: dquinter at ...626... (Daniel Quintero) Date: Mon, 3 Mar 2014 14:04:53 -0600 Subject: [Gambas-user] Building a custom MyComboBox In-Reply-To: <20140303195519.GL4674@...2774...> References: <5314DCDC.5070505@...3240...> <20140303195519.GL4674@...2774...> Message-ID: I use this code (Obviously, without creating a custom combo): Public Sub LoadCombo() Dim aIDs As New Integer[] Dim sQuery As New String cboSample.Clear ' Load Data hResult = $hConn.Exec("select ID, desc from MyTable") For Each hResult cboSample.Add(hResult!desc) aIDs.Add(hResult!ID) Next cboSample.Tag = aIDs End Public Sub cboSample_Change() If cboSample.Index > -1 Then Message("ID associated with '" & cboSample.Text & "': " & cboSample.Tag[cboSample.Index]) Endif End Regards *_________________________* *Lic. Daniel Quintero Rojas* *?Saludos desde M?xico!________* On Mon, Mar 3, 2014 at 1:55 PM, Tobias Boege wrote: > On Mon, 03 Mar 2014, Matti wrote: > > I'm playing around with a ComboBox that should have some special > features. > > Looked into the sources and found out how to create and inherit it. > > Subs, Functions and Events work. > > > > But one thing is a complete riddle to me: > > In the wiki, it says: "For example, you can create a custom MyListBox > class that inherits ListBox < > http://gambasdoc.org/help/comp/gb.qt/listbox?view> but allows to > associate a tag with each list item." > > That's exactly what I'd need for MyComboBox: each list item with a tag > (ID from a database). > > > > Could someone give me a hint how to do that? > > Thanks, Matti > > > > You could have a > > Private $aTags As New Variant[] > > in your class which associates a Variant with an item via the item's index. > You need to maintain that array, though. Watch out for the Add(), Clear() > and Remove() methods and the List property! I'm not familiar with the > sources, so I don't know if there is a smarter way (and I'm assuming that > you write the extended ComboBox in Gambas). > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > ------------------------------------------------------------------------------ > Subversion Kills Productivity. Get off Subversion & Make the Move to > Perforce. > With Perforce, you get hassle-free workflows. Merge that actually works. > Faster operations. Version large binaries. Built-in WAN optimization and > the > freedom to use Git, Perforce or both. Make the move to Perforce. > > http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From matti.eber at ...3240... Mon Mar 3 21:09:51 2014 From: matti.eber at ...3240... (Matti) Date: Mon, 03 Mar 2014 21:09:51 +0100 Subject: [Gambas-user] Building a custom MyComboBox In-Reply-To: <20140303195519.GL4674@...2774...> References: <5314DCDC.5070505@...3240...> <20140303195519.GL4674@...2774...> Message-ID: <5314E18F.1030801@...3240...> Thanks, Tobi. Sounds plausible, I'll try that. Of course, I'm trying to write this in Gambas - I don't know any other language except VB, but that was long ago... Am 03.03.2014 20:55, schrieb Tobias Boege: > On Mon, 03 Mar 2014, Matti wrote: >> I'm playing around with a ComboBox that should have some special features. >> Looked into the sources and found out how to create and inherit it. >> Subs, Functions and Events work. >> >> But one thing is a complete riddle to me: >> In the wiki, it says: "For example, you can create a custom MyListBox class that inherits ListBox but allows to associate a tag with each list item." >> That's exactly what I'd need for MyComboBox: each list item with a tag (ID from a database). >> >> Could someone give me a hint how to do that? >> Thanks, Matti >> > You could have a > > Private $aTags As New Variant[] > > in your class which associates a Variant with an item via the item's index. > You need to maintain that array, though. Watch out for the Add(), Clear() > and Remove() methods and the List property! I'm not familiar with the > sources, so I don't know if there is a smarter way (and I'm assuming that > you write the extended ComboBox in Gambas). > > Regards, > Tobi > From matti.eber at ...3240... Mon Mar 3 21:29:24 2014 From: matti.eber at ...3240... (Matti) Date: Mon, 03 Mar 2014 21:29:24 +0100 Subject: [Gambas-user] Building a custom MyComboBox In-Reply-To: References: <5314DCDC.5070505@...3240...> <20140303195519.GL4674@...2774...> Message-ID: <5314E624.6090108@...3240...> Thanks, Daniel. But I don't understand how you can assign the aIDs Integer[] to the ComboBox.Tag that is a variant? Anyway, I'd prefer a custom combo, since I need it often in a form and don't want to write everything again and again. Am 03.03.2014 21:04, schrieb Daniel Quintero: > I use this code (Obviously, without creating a custom combo): > > Public Sub LoadCombo() > Dim aIDs As New Integer[] > Dim sQuery As New String > > cboSample.Clear > > ' Load Data > hResult = $hConn.Exec("select ID, desc from MyTable") > http://gambasdoc.org/help/comp/gb.qt4/combobox?v3 For Each hResult > cboSample.Add(hResult!desc) > aIDs.Add(hResult!ID) > Next > cboSample.Tag = aIDs > > End > > Public Sub cboSample_Change() > If cboSample.Index > -1 Then > Message("ID associated with '" & cboSample.Text & "': " & > cboSample.Tag[cboSample.Index]) > Endif > End > > Regards > > *_________________________* > *Lic. Daniel Quintero Rojas* > > *?Saludos desde M?xico!________* > > > > On Mon, Mar 3, 2014 at 1:55 PM, Tobias Boege wrote: > >> On Mon, 03 Mar 2014, Matti wrote: >>> I'm playing around with a ComboBox that should have some special >> features. >>> Looked into the sources and found out how to create and inherit it. >>> Subs, Functions and Events work. >>> >>> But one thing is a complete riddle to me: >>> In the wiki, it says: "For example, you can create a custom MyListBox >> class that inherits ListBox < >> http://gambasdoc.org/help/comp/gb.qt/listbox?view> but allows to >> associate a tag with each list item." >>> That's exactly what I'd need for MyComboBox: each list item with a tag >> (ID from a database). >>> Could someone give me a hint how to do that? >>> Thanks, Matti >>> >> You could have a >> >> Private $aTags As New Variant[] >> >> in your class which associates a Variant with an item via the item's index. >> You need to maintain that array, though. Watch out for the Add(), Clear() >> and Remove() methods and the List property! I'm not familiar with the >> sources, so I don't know if there is a smarter way (and I'm assuming that >> you write the extended ComboBox in Gambas). >> >> Regards, >> Tobi >> >> -- >> "There's an old saying: Don't change anything... ever!" -- Mr. Monk >> >> >> ------------------------------------------------------------------------------ >> Subversion Kills Productivity. Get off Subversion & Make the Move to >> Perforce. >> With Perforce, you get hassle-free workflows. Merge that actually works. >> Faster operations. Version large binaries. Built-in WAN optimization and >> the >> freedom to use Git, Perforce or both. Make the move to Perforce. >> >> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. > With Perforce, you get hassle-free workflows. Merge that actually works. > Faster operations. Version large binaries. Built-in WAN optimization and the > freedom to use Git, Perforce or both. Make the move to Perforce. > http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From shordi at ...626... Mon Mar 3 21:44:42 2014 From: shordi at ...626... (=?ISO-8859-1?Q?Jorge_Carri=F3n?=) Date: Mon, 3 Mar 2014 21:44:42 +0100 Subject: [Gambas-user] Building a custom MyComboBox In-Reply-To: <5314DCDC.5070505@...3240...> References: <5314DCDC.5070505@...3240...> Message-ID: I give my 2 cents... Send a little proyect with sample. its a function that in design time only have to put in tag of listbox or combobox this tablename|fieldkey|field_to_show after that you got in the tag of the combo a variant[] with a string with the original tag and a integer[] with the keys corresponding at combos.list If you want to display more than a field just put it in the tag string tablename|fieldkey|field_to_show1|fiel_to_show2, etc. Hope it helps Regards 2014-03-03 20:49 GMT+01:00 Matti : > I'm playing around with a ComboBox that should have some special features. > Looked into the sources and found out how to create and inherit it. > Subs, Functions and Events work. > > But one thing is a complete riddle to me: > In the wiki, it says: "For example, you can create a custom MyListBox > class that inherits ListBox < > http://gambasdoc.org/help/comp/gb.qt/listbox?view> but allows to > associate a tag with each list item." > That's exactly what I'd need for MyComboBox: each list item with a tag (ID > from a database). > > Could someone give me a hint how to do that? > Thanks, Matti > > > ------------------------------------------------------------------------------ > Subversion Kills Productivity. Get off Subversion & Make the Move to > Perforce. > With Perforce, you get hassle-free workflows. Merge that actually works. > Faster operations. Version large binaries. Built-in WAN optimization and > the > freedom to use Git, Perforce or both. Make the move to Perforce. > > http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk > _______________________________________________ > 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: DemoListbox-combobox-0.0.1.tar.gz Type: application/x-gzip Size: 6892 bytes Desc: not available URL: From taboege at ...626... Mon Mar 3 21:48:00 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 3 Mar 2014 21:48:00 +0100 Subject: [Gambas-user] Building a custom MyComboBox In-Reply-To: <5314E624.6090108@...3240...> References: <5314DCDC.5070505@...3240...> <20140303195519.GL4674@...2774...> <5314E624.6090108@...3240...> Message-ID: <20140303204800.GM4674@...2774...> On Mon, 03 Mar 2014, Matti wrote: > Thanks, Daniel. > But I don't understand how you can assign the aIDs Integer[] to the ComboBox.Tag that is a variant? Variant can contain anything, even objects. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Mon Mar 3 21:53:41 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 03 Mar 2014 21:53:41 +0100 Subject: [Gambas-user] Building a custom MyComboBox In-Reply-To: <5314DCDC.5070505@...3240...> References: <5314DCDC.5070505@...3240...> Message-ID: <5314EBD5.9030703@...1...> Le 03/03/2014 20:49, Matti a ?crit : > I'm playing around with a ComboBox that should have some special features. > Looked into the sources and found out how to create and inherit it. > Subs, Functions and Events work. > > But one thing is a complete riddle to me: > In the wiki, it says: "For example, you can create a custom MyListBox class that inherits ListBox but allows to associate a tag with each list item." > That's exactly what I'd need for MyComboBox: each list item with a tag (ID from a database). > > Could someone give me a hint how to do that? > Thanks, Matti > If you create a class named ComboBox in your project, and if you export that class, it will extend the native ComboBox class located in the GUI component. That way, by redefining the Add(), Clear(), _get()... methods (i.e. every method that read or write a ComboBox list element), and by using the SUPER keyword to call the methods of the overriden class when needed, you can add support for an item index associated with the item text. If you want to keep the original ComboBox class, just use another name, but then add "Inherits ComboBox" to that class. Regards, -- Beno?t Minisini From matti.eber at ...3240... Mon Mar 3 22:02:07 2014 From: matti.eber at ...3240... (Matti) Date: Mon, 03 Mar 2014 22:02:07 +0100 Subject: [Gambas-user] Building a custom MyComboBox In-Reply-To: <20140303204800.GM4674@...2774...> References: <5314DCDC.5070505@...3240...> <20140303195519.GL4674@...2774...> <5314E624.6090108@...3240...> <20140303204800.GM4674@...2774...> Message-ID: <5314EDCF.70301@...3240...> Aha! Another learning progress. Am 03.03.2014 21:48, schrieb Tobias Boege: > Variant can contain anything, even objects. From karl.reinl at ...9... Mon Mar 3 22:55:13 2014 From: karl.reinl at ...9... (Karl Reinl) Date: Mon, 03 Mar 2014 22:55:13 +0100 Subject: [Gambas-user] compiling rev 6189 Message-ID: <1393883713.2471.5.camel@...40...> Salut Beno?t, run in troubles while compiling rev 6189, see attached logs Did I miss something ? -- Amicalement Charlie [System] Gambas=3.5.90 OperatingSystem=Linux Kernel=2.6.32-56-generic Architecture=x86 Distribution=Ubuntu 10.04.4 LTS Desktop=GNOME Theme=QPlastique Language=de_DE.UTF-8 Memory=3024M [Libraries] Cairo=libcairo.so.2.10800.10 Curl=libcurl.so.4.1.1 DBus=libdbus-1.so.3.4.0 GStreamer=libgstreamer-0.10.so.0.24.1 GTK+=libgtk-x11-2.0.so.0.2000.1 Poppler=libpoppler.so.5.0.0 Qt4=libQtCore.so.4.6.2 SDL=libSDL-1.2.so.0.11.3 -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas3-rev-6189.tar.bz2 Type: application/x-bzip-compressed-tar Size: 10551 bytes Desc: not available URL: From taboege at ...626... Mon Mar 3 23:09:55 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 3 Mar 2014 23:09:55 +0100 Subject: [Gambas-user] compiling rev 6189 In-Reply-To: <1393883713.2471.5.camel@...40...> References: <1393883713.2471.5.camel@...40...> Message-ID: <20140303220955.GO4674@...2774...> On Mon, 03 Mar 2014, Karl Reinl wrote: > Salut Beno??t, > > run in troubles while compiling rev 6189, see attached logs > Did I miss something ? Is it better with #6190? Note that I looked into this is pure coincidence because extracting those archives is quite some work :-) It would be nice if people reporting compilation problems could write down what component fails, directly in the mail - if they're capable to do that. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From dquinter at ...626... Mon Mar 3 23:31:39 2014 From: dquinter at ...626... (Daniel Quintero) Date: Mon, 3 Mar 2014 16:31:39 -0600 Subject: [Gambas-user] Building a custom MyComboBox In-Reply-To: <5314E624.6090108@...3240...> References: <5314DCDC.5070505@...3240...> <20140303195519.GL4674@...2774...> <5314E624.6090108@...3240...> Message-ID: aIDs is an array of Integers (You can declare an array of Strings if is your case, or an array of Variants), and you can assing that array to a Variant variable, as is the case of the Tag property of the combobox. *_________________________* *Lic. Daniel Quintero Rojas* *?Saludos desde M?xico!________* On Mon, Mar 3, 2014 at 2:29 PM, Matti wrote: > Thanks, Daniel. > But I don't understand how you can assign the aIDs Integer[] to the > ComboBox.Tag that is a variant? > Anyway, I'd prefer a custom combo, since I need it often in a form and > don't want to write everything again and again. > > Am 03.03.2014 21:04, schrieb Daniel Quintero: > > I use this code (Obviously, without creating a custom combo): > > > > Public Sub LoadCombo() > > Dim aIDs As New Integer[] > > Dim sQuery As New String > > > > cboSample.Clear > > > > ' Load Data > > hResult = $hConn.Exec("select ID, desc from MyTable") > > http://gambasdoc.org/help/comp/gb.qt4/combobox?v3 For Each hResult > > cboSample.Add(hResult!desc) > > aIDs.Add(hResult!ID) > > Next > > cboSample.Tag = aIDs > > > > End > > > > Public Sub cboSample_Change() > > If cboSample.Index > -1 Then > > Message("ID associated with '" & cboSample.Text & "': " & > > cboSample.Tag[cboSample.Index]) > > Endif > > End > > > > Regards > > > > *_________________________* > > *Lic. Daniel Quintero Rojas* > > > > *?Saludos desde M?xico!________* > > > > > > > > On Mon, Mar 3, 2014 at 1:55 PM, Tobias Boege wrote: > > > >> On Mon, 03 Mar 2014, Matti wrote: > >>> I'm playing around with a ComboBox that should have some special > >> features. > >>> Looked into the sources and found out how to create and inherit it. > >>> Subs, Functions and Events work. > >>> > >>> But one thing is a complete riddle to me: > >>> In the wiki, it says: "For example, you can create a custom MyListBox > >> class that inherits ListBox < > >> http://gambasdoc.org/help/comp/gb.qt/listbox?view> but allows to > >> associate a tag with each list item." > >>> That's exactly what I'd need for MyComboBox: each list item with a tag > >> (ID from a database). > >>> Could someone give me a hint how to do that? > >>> Thanks, Matti > >>> > >> You could have a > >> > >> Private $aTags As New Variant[] > >> > >> in your class which associates a Variant with an item via the item's > index. > >> You need to maintain that array, though. Watch out for the Add(), > Clear() > >> and Remove() methods and the List property! I'm not familiar with the > >> sources, so I don't know if there is a smarter way (and I'm assuming > that > >> you write the extended ComboBox in Gambas). > >> > >> Regards, > >> Tobi > >> > >> -- > >> "There's an old saying: Don't change anything... ever!" -- Mr. Monk > >> > >> > >> > ------------------------------------------------------------------------------ > >> Subversion Kills Productivity. Get off Subversion & Make the Move to > >> Perforce. > >> With Perforce, you get hassle-free workflows. Merge that actually works. > >> Faster operations. Version large binaries. Built-in WAN optimization > and > >> the > >> freedom to use Git, Perforce or both. Make the move to Perforce. > >> > >> > http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > > ------------------------------------------------------------------------------ > > Subversion Kills Productivity. Get off Subversion & Make the Move to > Perforce. > > With Perforce, you get hassle-free workflows. Merge that actually works. > > Faster operations. Version large binaries. Built-in WAN optimization > and the > > freedom to use Git, Perforce or both. Make the move to Perforce. > > > http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > ------------------------------------------------------------------------------ > Subversion Kills Productivity. Get off Subversion & Make the Move to > Perforce. > With Perforce, you get hassle-free workflows. Merge that actually works. > Faster operations. Version large binaries. Built-in WAN optimization and > the > freedom to use Git, Perforce or both. Make the move to Perforce. > > http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From Karl.Reinl at ...2345... Tue Mar 4 08:32:59 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Tue, 04 Mar 2014 08:32:59 +0100 Subject: [Gambas-user] compiling rev 6189 In-Reply-To: <20140303220955.GO4674@...2774...> References: <1393883713.2471.5.camel@...40...> <20140303220955.GO4674@...2774...> Message-ID: <1393918379.27158.2.camel@...40...> Am Montag, den 03.03.2014, 23:09 +0100 schrieb Tobias Boege: > On Mon, 03 Mar 2014, Karl Reinl wrote: > > Salut Beno??t, > > > > run in troubles while compiling rev 6189, see attached logs > > Did I miss something ? > > Is it better with #6190? > > Note that I looked into this is pure coincidence because extracting those > archives is quite some work :-) > > It would be nice if people reporting compilation problems could write down > what component fails, directly in the mail - if they're capable to do that. > > Regards, > Tobi > Salut Tobi, yes, now it compiles , yes I can report next time the error message in the mail body. Thanks, and have a nice day -- Amicalement Charlie From taboege at ...626... Tue Mar 4 12:24:41 2014 From: taboege at ...626... (Tobias Boege) Date: Tue, 4 Mar 2014 12:24:41 +0100 Subject: [Gambas-user] compiling rev 6189 In-Reply-To: <1393918379.27158.2.camel@...40...> References: <1393883713.2471.5.camel@...40...> <20140303220955.GO4674@...2774...> <1393918379.27158.2.camel@...40...> Message-ID: <20140304112441.GA722@...2774...> On Tue, 04 Mar 2014, Charlie Reinl wrote: > Am Montag, den 03.03.2014, 23:09 +0100 schrieb Tobias Boege: > > On Mon, 03 Mar 2014, Karl Reinl wrote: > > > Salut Beno??t, > > > > > > run in troubles while compiling rev 6189, see attached logs > > > Did I miss something ? > > > > Is it better with #6190? > > > > Note that I looked into this is pure coincidence because extracting those > > archives is quite some work :-) > > > > It would be nice if people reporting compilation problems could write down > > what component fails, directly in the mail - if they're capable to do that. > > > > Regards, > > Tobi > > > > Salut Tobi, > > yes, now it compiles , > yes I can report next time the error message in the mail body. > > Thanks, and have a nice day > Out of curiosity, what compiler and of which version did you use? -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From Karl.Reinl at ...2345... Tue Mar 4 12:56:23 2014 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Tue, 04 Mar 2014 12:56:23 +0100 Subject: [Gambas-user] compiling rev 6189 In-Reply-To: <20140304112441.GA722@...2774...> References: <1393883713.2471.5.camel@...40...> <20140303220955.GO4674@...2774...> <1393918379.27158.2.camel@...40...> <20140304112441.GA722@...2774...> Message-ID: <1393934183.2450.11.camel@...40...> Am Dienstag, den 04.03.2014, 12:24 +0100 schrieb Tobias Boege: > On Tue, 04 Mar 2014, Charlie Reinl wrote: > > Am Montag, den 03.03.2014, 23:09 +0100 schrieb Tobias Boege: > > > On Mon, 03 Mar 2014, Karl Reinl wrote: > > > > Salut Beno??t, > > > > > > > > run in troubles while compiling rev 6189, see attached logs > > > > Did I miss something ? > > > > > > Is it better with #6190? > > > > > > Note that I looked into this is pure coincidence because extracting those > > > archives is quite some work :-) > > > > > > It would be nice if people reporting compilation problems could write down > > > what component fails, directly in the mail - if they're capable to do that. > > > > > > Regards, > > > Tobi > > > > > > > Salut Tobi, > > > > yes, now it compiles , > > yes I can report next time the error message in the mail body. > > > > Thanks, and have a nice day > > > > Out of curiosity, what compiler and of which version did you use? > Salut Tobi, I found an old script, that could serve to satisfy your curiosity. Here's the output. [gambas] gbx-1.0.17 /usr/bin/gbx [gambas2] 2.24.0 Revision: 5049 /usr/local/bin/gbx2 [gambas3] 3.5.90 r6190 Revision: 6190 /usr/bin/gbx3 [X] X.Org X Server 1.7.6 X Protocol Version 11, Revision 0 [kernel] Linux Scenic.local 2.6.32-56-generic #118-Ubuntu SMP Mon Jan 6 18:51:59 UTC 2014 i686 GNU/Linux [Release debian] squeeze/sid [Release Ubuntu] DISTRIB_ID=Ubuntu DISTRIB_RELEASE=10.04 DISTRIB_CODENAME=lucid DISTRIB_DESCRIPTION="Ubuntu 10.04.4 LTS" [QT and KDE] Qt: 3.3.8b KDE: 3.5.10 [QT4] Source: qt4-x11 Version: 4:4.6.2-0ubuntu5.3 [Gnome] Unbekannte Option --version [gcc] gcc (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3 [make] GNU Make 3.81 [autoconf] autoconf (GNU Autoconf) 2.65 [automake] automake (GNU automake) 1.11.1 [aclocal] aclocal (GNU automake) 1.11.1 [libtool] ltmain.sh (GNU libtool) 2.2.6b [mySql] mysql Ver 14.14 Distrib 5.1.73, for debian-linux-gnu (i486) using readline 6.1 [PostgreSQL] Not Installed [SQLite] Not Installed [SQLite3] Not Installed [subversion] svn, Version 1.6.6 (r40053) [current Language] LANG=de_DE.UTF-8 LANGUAGE=de_DE:C:en -------------------------------------------------------------------------------------------- -- Amicalement Charlie From ea7dfh at ...2382... Wed Mar 5 16:02:49 2014 From: ea7dfh at ...2382... (Jesus) Date: Wed, 05 Mar 2014 16:02:49 +0100 Subject: [Gambas-user] Read-only controls in IDE Message-ID: <53173C99.5050201@...2382...> Hi all It seems that some controls in the Preferences dialog of the Gambas IDE are read-only or are disabled, as shown in the attached image. I don't know how many revisions ago, because I'm not used to fiddle with these. I remember that it worked one day, because these aren't the default values for the font settings. Could someone confirm this, please? Using Mint 16 Petra & Cinnamon desktop and the latest revision from "gambas-team daily" repository from Sebikul. Regards -- Jesus Guardon -------------- next part -------------- A non-text attachment was scrubbed... Name: readonlyctls.png Type: image/png Size: 77229 bytes Desc: not available URL: From gambas at ...1... Wed Mar 5 16:23:19 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 05 Mar 2014 16:23:19 +0100 Subject: [Gambas-user] Read-only controls in IDE In-Reply-To: <53173C99.5050201@...2382...> References: <53173C99.5050201@...2382...> Message-ID: <53174167.4060306@...1...> Le 05/03/2014 16:02, Jesus a ?crit : > Hi all > > It seems that some controls in the Preferences dialog of the Gambas IDE > are read-only or are disabled, as shown in the attached image. I don't > know how many revisions ago, because I'm not used to fiddle with these. > > I remember that it worked one day, because these aren't the default > values for the font settings. > > Could someone confirm this, please? > > Using Mint 16 Petra & Cinnamon desktop and the latest revision from > "gambas-team daily" repository from Sebikul. > > Regards > Oops. It was a bad bug fix! Fixed the fix in revision #6193. -- Beno?t Minisini From ea7dfh at ...2382... Wed Mar 5 16:36:44 2014 From: ea7dfh at ...2382... (Jesus) Date: Wed, 05 Mar 2014 16:36:44 +0100 Subject: [Gambas-user] Read-only controls in IDE In-Reply-To: <53174167.4060306@...1...> References: <53173C99.5050201@...2382...> <53174167.4060306@...1...> Message-ID: <5317448C.9010605@...2382...> El 05/03/14 16:23, Beno?t Minisini escribi?: > Le 05/03/2014 16:02, Jesus a ?crit : >> Hi all >> >> It seems that some controls in the Preferences dialog of the Gambas IDE >> are read-only or are disabled > > Oops. It was a bad bug fix! > > Fixed the fix in revision #6193. > Oh, well! Thanks -- Jesus Guardon From eilert-sprachen at ...221... Wed Mar 5 17:12:25 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 05 Mar 2014 17:12:25 +0100 Subject: [Gambas-user] OT: wrong mailing-list sorting Message-ID: <53174CE9.4010401@...221...> This is only in the Gambas mailing list, so it's not as much OT as it might seem ;) In my Thunderbird, single mails from the list are sorted at the beginning of the list, i. e. I will have to scroll to the end to see the rest of the discussion. As I said, it only happens sometimes, but it has happened more frequently during the last months. So something seems to confuse Thunderbird with the mails coming from the Gambas list. Example: Right now, Jesus' mail from 16:02 was sorted somewhere into the beginning of the list (position 20 or so), the other two answers at the end (where they belong to). Charlie Reinl's mail from 03.03.2014 22:55 stands before it, the rest of the discussion is at the correct place. Jorge Carri?n from 03.03.2014 21:44 is before it, and the rest of the discussion at the end of the list. I browsed through the wrong sorted mails, but they have correct dates and times, nor have they anything unusual in common. Has anyone here had the same problem, maybe even with another mailing program? Thanks for any ideas. Rolf From taboege at ...626... Wed Mar 5 17:30:30 2014 From: taboege at ...626... (Tobias Boege) Date: Wed, 5 Mar 2014 17:30:30 +0100 Subject: [Gambas-user] Panel_Enter is no mouse event? Message-ID: <20140305163029.GA891@...2774...> Hi, the documentation[0] says that Enter is a mouse event. But apparently not so for the Panel container? The attached project fails as soon as you enter the Panel with "no mouse event data" - at least over here. Regards, Tobi [0] http://gambasdoc.org/help/comp/gb.qt4/mouse?v3 -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: panel-enter-no-mouse-event-0.0.1.tar.gz Type: application/octet-stream Size: 4671 bytes Desc: not available URL: From gambas at ...1... Wed Mar 5 18:03:00 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 05 Mar 2014 18:03:00 +0100 Subject: [Gambas-user] Panel_Enter is no mouse event? In-Reply-To: <20140305163029.GA891@...2774...> References: <20140305163029.GA891@...2774...> Message-ID: <531758C4.5080605@...1...> Le 05/03/2014 17:30, Tobias Boege a ?crit : > Hi, > > the documentation[0] says that Enter is a mouse event. But apparently not so > for the Panel container? The attached project fails as soon as you enter the > Panel with "no mouse event data" - at least over here. > > Regards, > Tobi > > [0] http://gambasdoc.org/help/comp/gb.qt4/mouse?v3 > It is a mouse event because mouse moves trigger it, but it does not fill any information in the Mouse class. -- Beno?t Minisini From gambas at ...2524... Wed Mar 5 20:39:08 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 05 Mar 2014 19:39:08 +0000 Subject: [Gambas-user] Issue 515 in gambas: System freeze on Combobox popup on combobox_gofocus Message-ID: <0-6813199134517018827-10594693545543313964-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version3.5.2 Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 515 by isaf... at ...626...: System freeze on Combobox popup on combobox_gofocus http://code.google.com/p/gambas/issues/detail?id=515 1) On Combobox1_Gofocus() I put Combobox1.Popup(). when i go to combobox the system freeze. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: 3.5.2 Operating system: Linux Distribution: Ubuntu 12.04 Architecture: x86 GUI component: GTK+ Desktop used: Gnome -- 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 dquinter at ...626... Wed Mar 5 23:48:33 2014 From: dquinter at ...626... (Daniel Quintero) Date: Wed, 5 Mar 2014 16:48:33 -0600 Subject: [Gambas-user] Sample apps Message-ID: Hi I installed Gambas in Mint as follows: sudo add-apt-repository ppa:gambas-team/gambas-daily sudo apt-get update sudo apt-get install gambas3 But I does not have te sample apps How can I get a copy of them? Regards. *_________________________* *Lic. Daniel Quintero Rojas* *?Saludos desde M?xico!________* From dquinter at ...626... Thu Mar 6 00:16:57 2014 From: dquinter at ...626... (Daniel Quintero) Date: Wed, 5 Mar 2014 17:16:57 -0600 Subject: [Gambas-user] Sample apps In-Reply-To: References: Message-ID: I found them! I download the Gambas source code and copied them to the path /usr/share/gambas3/examples :) *_________________________* *Lic. Daniel Quintero Rojas* *?Saludos desde M?xico!________* On Wed, Mar 5, 2014 at 4:48 PM, Daniel Quintero wrote: > Hi > > I installed Gambas in Mint as follows: > > sudo add-apt-repository ppa:gambas-team/gambas-daily > sudo apt-get update > sudo apt-get install gambas3 > > But I does not have te sample apps > > How can I get a copy of them? > > Regards. > > *_________________________* > *Lic. Daniel Quintero Rojas* > > *?Saludos desde M?xico!________* > > From ea7dfh at ...2382... Thu Mar 6 00:39:23 2014 From: ea7dfh at ...2382... (Jesus) Date: Thu, 06 Mar 2014 00:39:23 +0100 Subject: [Gambas-user] OT: wrong mailing-list sorting In-Reply-To: <53174CE9.4010401@...221...> References: <53174CE9.4010401@...221...> Message-ID: <5317B5AB.20008@...2382...> El 05/03/14 17:12, Rolf-Werner Eilert escribi?: > This is only in the Gambas mailing list, so it's not as much OT as it > might seem ;) > > In my Thunderbird, single mails from the list are sorted at the > beginning of the list, i. e. I will have to scroll to the end to see the > rest of the discussion. > > As I said, it only happens sometimes, but it has happened more > frequently during the last months. So something seems to confuse > Thunderbird with the mails coming from the Gambas list. > > Example: Right now, Jesus' mail from 16:02 was sorted somewhere into the > beginning of the list (position 20 or so), the other two answers at the > end (where they belong to). Charlie Reinl's mail from 03.03.2014 22:55 > stands before it, the rest of the discussion is at the correct place. > Jorge Carri?n from 03.03.2014 21:44 is before it, and the rest of the > discussion at the end of the list. > > I browsed through the wrong sorted mails, but they have correct dates > and times, nor have they anything unusual in common. Has anyone here had > the same problem, maybe even with another mailing program? > > Thanks for any ideas. > > Rolf I'm using Thunderbird since ages, currently at v24.3.0 and never had a problem, except sometimes getting duplicated messages from some rss feeds. I have everything sorted and distributed in folders automagically with the help of filters. I am managing 7 or 8 mail accounts and several rss feeds. Gambas' folder has close to 30000 messages and never have had a problem. About eleven mail lists each in its own folder... Love it! In such a case like mine, I recommend rsync'ing thunderbird database or the whole folder to an external storage. Too much data to loose ;-) What is your setup, version, distro, etc? Regards -- Jesus Guardon From ea7dfh at ...2382... Thu Mar 6 00:42:23 2014 From: ea7dfh at ...2382... (Jesus) Date: Thu, 06 Mar 2014 00:42:23 +0100 Subject: [Gambas-user] Sample apps In-Reply-To: References: Message-ID: <5317B65F.6010204@...2382...> El 06/03/14 00:16, Daniel Quintero escribi?: > I found them! I download the Gambas source code and copied them to the path > /usr/share/gambas3/examples Or simply: apt-get install gambas3-examples ...as usual. Regards -- Jesus Guardon From dquinter at ...626... Thu Mar 6 00:53:16 2014 From: dquinter at ...626... (Daniel Quintero) Date: Wed, 5 Mar 2014 17:53:16 -0600 Subject: [Gambas-user] Sample apps In-Reply-To: <5317B65F.6010204@...2382...> References: <5317B65F.6010204@...2382...> Message-ID: Jajajaja, thats not usual for me. Thanks :) *_________________________* *Lic. Daniel Quintero Rojas* *?Saludos desde M?xico!________* On Wed, Mar 5, 2014 at 5:42 PM, Jesus wrote: > El 06/03/14 00:16, Daniel Quintero escribi?: > > I found them! I download the Gambas source code and copied them to the > path > > /usr/share/gambas3/examples > > Or simply: > > apt-get install gambas3-examples > > ...as usual. > > Regards > > > -- > Jesus Guardon > > > ------------------------------------------------------------------------------ > Subversion Kills Productivity. Get off Subversion & Make the Move to > Perforce. > With Perforce, you get hassle-free workflows. Merge that actually works. > Faster operations. Version large binaries. Built-in WAN optimization and > the > freedom to use Git, Perforce or both. Make the move to Perforce. > > http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From girardhenri at ...67... Thu Mar 6 09:38:26 2014 From: girardhenri at ...67... (girardhenri at ...67...) Date: Thu, 6 Mar 2014 09:38:26 +0100 Subject: [Gambas-user] Sample apps In-Reply-To: References: <5317B65F.6010204@...2382...> Message-ID: I guess jesus meant doing a full install which includes examples jajaja lol Le 06/03/2014 00:53, Daniel Quintero a ?crit : > Jajajaja, thats not usual for me. > > Thanks :) > > *_________________________* > *Lic. Daniel Quintero Rojas* > > *?Saludos desde M?xico!________* > > > > On Wed, Mar 5, 2014 at 5:42 PM, Jesus wrote: > > Freemobile_0620678823_03-03-2014 >> El 06/03/14 00:16, Daniel Quintero escribi?: >>> I found them! I download the Gambas source code and copied them to the >> path >>> /usr/share/gambas3/examples >> Or simply: >> >> apt-get install gambas3-examples >> >> ...as usual. >> >> Regards >> >> >> -- >> Jesus Guardon >> >> >> ------------------------------------------------------------------------------ >> Subversion Kills Productivity. Get off Subversion & Make the Move to >> Perforce. >> With Perforce, you get hassle-free workflows. Merge that actually works. >> Faster operations. Version large binaries. Built-in WAN optimization and >> the >> freedom to use Git, Perforce or both. Make the move to Perforce. >> >> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. > With Perforce, you get hassle-free workflows. Merge that actually works. > Faster operations. Version large binaries. Built-in WAN optimization and the > freedom to use Git, Perforce or both. Make the move to Perforce. > http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From eilert-sprachen at ...221... Thu Mar 6 13:00:49 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Thu, 06 Mar 2014 13:00:49 +0100 Subject: [Gambas-user] OT: wrong mailing-list sorting In-Reply-To: <5317B5AB.20008@...2382...> References: <53174CE9.4010401@...221...> <5317B5AB.20008@...2382...> Message-ID: <53186371.9080100@...221...> Am 06.03.2014 00:39, schrieb Jesus: > El 05/03/14 17:12, Rolf-Werner Eilert escribi?: >> This is only in the Gambas mailing list, so it's not as much OT as it >> might seem ;) >> >> In my Thunderbird, single mails from the list are sorted at the >> beginning of the list, i. e. I will have to scroll to the end to see the >> rest of the discussion. >> >> As I said, it only happens sometimes, but it has happened more >> frequently during the last months. So something seems to confuse >> Thunderbird with the mails coming from the Gambas list. >> >> Example: Right now, Jesus' mail from 16:02 was sorted somewhere into the >> beginning of the list (position 20 or so), the other two answers at the >> end (where they belong to). Charlie Reinl's mail from 03.03.2014 22:55 >> stands before it, the rest of the discussion is at the correct place. >> Jorge Carri?n from 03.03.2014 21:44 is before it, and the rest of the >> discussion at the end of the list. >> >> I browsed through the wrong sorted mails, but they have correct dates >> and times, nor have they anything unusual in common. Has anyone here had >> the same problem, maybe even with another mailing program? >> >> Thanks for any ideas. >> >> Rolf > > I'm using Thunderbird since ages, currently at v24.3.0 and never had a > problem, except sometimes getting duplicated messages from some rss feeds. > > I have everything sorted and distributed in folders automagically with > the help of filters. I am managing 7 or 8 mail accounts and several rss > feeds. Gambas' folder has close to 30000 messages and never have had a > problem. About eleven mail lists each in its own folder... Love it! > > In such a case like mine, I recommend rsync'ing thunderbird database or > the whole folder to an external storage. Too much data to loose ;-) > > What is your setup, version, distro, etc? > > Regards > > Mine is Thunderbird 17.0.5 on a Suse 12.1, and I use it rather heavily, too. There are 5 mail accounts, and folders for the mailing lists, filters, just like on your system. This phenomenon has only occured with the Gambas list, but it used to be only a few times a year. For some months, however, it has happened more often, about 20 times this year. Oh, and I run only POP mail, no IMAP, so it's Thunderbird alone who will manage the mails. I make a nightly backup of the whole system with Dirvish, and change the backup HD every week, I think that's enough. Or isn't that what you mean? Moreover, to keep the mailing list(s) not too crowded, I let Thunderbird put all old messages to an Archive folder every new year. (Strangely enough, it will not put all messages into the right folders at the first run, but a few dozen will have to be sorted by hand. I know that, and it's no great thing. And it is not confined to the Gambas list.) So I have a fresh folder again this year, and I can see that some mails land at the beginning. Do you think it would help to use a newer version of Thunderbird? As far as I remember, I had this problem even with the older one on the former system. Regards Rolf From dquinter at ...626... Thu Mar 6 15:43:24 2014 From: dquinter at ...626... (Daniel Quintero) Date: Thu, 6 Mar 2014 08:43:24 -0600 Subject: [Gambas-user] Sample apps In-Reply-To: References: <5317B65F.6010204@...2382...> Message-ID: Yes, that is correct, but I only install Gambas and not the examples I downloaded them from source, but the easiest way is like Jesus said :D *_________________________* *Lic. Daniel Quintero Rojas* *?Saludos desde M?xico!________* On Thu, Mar 6, 2014 at 2:38 AM, girardhenri at ...67... < girardhenri at ...67...> wrote: > I guess jesus meant doing a full install which includes examples > jajaja > lol > Le 06/03/2014 00:53, Daniel Quintero a ?crit : > > Jajajaja, thats not usual for me. > > > > Thanks :) > > > > *_________________________* > > *Lic. Daniel Quintero Rojas* > > > > *?Saludos desde M?xico!________* > > > > > > > > On Wed, Mar 5, 2014 at 5:42 PM, Jesus wrote: > > > > Freemobile_0620678823_03-03-2014 > >> El 06/03/14 00:16, Daniel Quintero escribi?: > >>> I found them! I download the Gambas source code and copied them to the > >> path > >>> /usr/share/gambas3/examples > >> Or simply: > >> > >> apt-get install gambas3-examples > >> > >> ...as usual. > >> > >> Regards > >> > >> > >> -- > >> Jesus Guardon > >> > >> > >> > ------------------------------------------------------------------------------ > >> Subversion Kills Productivity. Get off Subversion & Make the Move to > >> Perforce. > >> With Perforce, you get hassle-free workflows. Merge that actually works. > >> Faster operations. Version large binaries. Built-in WAN optimization > and > >> the > >> freedom to use Git, Perforce or both. Make the move to Perforce. > >> > >> > http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > > ------------------------------------------------------------------------------ > > Subversion Kills Productivity. Get off Subversion & Make the Move to > Perforce. > > With Perforce, you get hassle-free workflows. Merge that actually works. > > Faster operations. Version large binaries. Built-in WAN optimization > and the > > freedom to use Git, Perforce or both. Make the move to Perforce. > > > http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Subversion Kills Productivity. Get off Subversion & Make the Move to > Perforce. > With Perforce, you get hassle-free workflows. Merge that actually works. > Faster operations. Version large binaries. Built-in WAN optimization and > the > freedom to use Git, Perforce or both. Make the move to Perforce. > > http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From dquinter at ...626... Thu Mar 6 18:12:14 2014 From: dquinter at ...626... (Daniel Quintero) Date: Thu, 6 Mar 2014 11:12:14 -0600 Subject: [Gambas-user] SetFocus in Editor control Message-ID: Hi I'm using this control to highlight the code entered into it, but when I use Editor1.SetFocus in the Form_Open event, nothing happens. Can you help me? Thanks *_________________________* *Lic. Daniel Quintero Rojas* *?Saludos desde M?xico!________* From ea7dfh at ...2382... Thu Mar 6 18:40:40 2014 From: ea7dfh at ...2382... (Jesus) Date: Thu, 06 Mar 2014 18:40:40 +0100 Subject: [Gambas-user] OT: wrong mailing-list sorting In-Reply-To: <53186371.9080100@...221...> References: <53174CE9.4010401@...221...> <5317B5AB.20008@...2382...> <53186371.9080100@...221...> Message-ID: <5318B318.10603@...2382...> El 06/03/14 13:00, Rolf-Werner Eilert escribi?: > > > Am 06.03.2014 00:39, schrieb Jesus: >> El 05/03/14 17:12, Rolf-Werner Eilert escribi?: >>> This is only in the Gambas mailing list, so it's not as much OT as it >>> might seem ;) >>> >>> In my Thunderbird, single mails from the list are sorted at the >>> beginning of the list, i. e. I will have to scroll to the end to see the >>> rest of the discussion. >>> >>> As I said, it only happens sometimes, but it has happened more >>> frequently during the last months. So something seems to confuse >>> Thunderbird with the mails coming from the Gambas list. >>> >>> Example: Right now, Jesus' mail from 16:02 was sorted somewhere into the >>> beginning of the list (position 20 or so), the other two answers at the >>> end (where they belong to). Charlie Reinl's mail from 03.03.2014 22:55 >>> stands before it, the rest of the discussion is at the correct place. >>> Jorge Carri?n from 03.03.2014 21:44 is before it, and the rest of the >>> discussion at the end of the list. >>> >>> I browsed through the wrong sorted mails, but they have correct dates >>> and times, nor have they anything unusual in common. Has anyone here had >>> the same problem, maybe even with another mailing program? >>> >>> Thanks for any ideas. >>> >>> Rolf >> >> I'm using Thunderbird since ages, currently at v24.3.0 and never had a >> problem, except sometimes getting duplicated messages from some rss feeds. >> >> I have everything sorted and distributed in folders automagically with >> the help of filters. I am managing 7 or 8 mail accounts and several rss >> feeds. Gambas' folder has close to 30000 messages and never have had a >> problem. About eleven mail lists each in its own folder... Love it! >> >> In such a case like mine, I recommend rsync'ing thunderbird database or >> the whole folder to an external storage. Too much data to loose ;-) >> >> What is your setup, version, distro, etc? >> >> Regards >> >> > > Mine is Thunderbird 17.0.5 on a Suse 12.1, and I use it rather heavily, > too. There are 5 mail accounts, and folders for the mailing lists, > filters, just like on your system. This phenomenon has only occured with > the Gambas list, but it used to be only a few times a year. For some > months, however, it has happened more often, about 20 times this year. > Oh, and I run only POP mail, no IMAP, so it's Thunderbird alone who will > manage the mails. > > I make a nightly backup of the whole system with Dirvish, and change the > backup HD every week, I think that's enough. Or isn't that what you mean? > > Moreover, to keep the mailing list(s) not too crowded, I let Thunderbird > put all old messages to an Archive folder every new year. (Strangely > enough, it will not put all messages into the right folders at the first > run, but a few dozen will have to be sorted by hand. I know that, and > it's no great thing. And it is not confined to the Gambas list.) So I > have a fresh folder again this year, and I can see that some mails land > at the beginning. > > Do you think it would help to use a newer version of Thunderbird? As far > as I remember, I had this problem even with the older one on the former > system. > > Regards > > Rolf Because OT, I will mail you in private, to not pollute the list. Apologies to the list for the noise. Regards -- Jesus Guardon From dquinter at ...626... Fri Mar 7 20:21:51 2014 From: dquinter at ...626... (Daniel Quintero) Date: Fri, 7 Mar 2014 13:21:51 -0600 Subject: [Gambas-user] SetFocus in Editor control In-Reply-To: References: Message-ID: I put the SetFocus event on Form_Show and now it works :) *_________________________* *Lic. Daniel Quintero Rojas* *?Saludos desde M?xico!________* On Thu, Mar 6, 2014 at 11:12 AM, Daniel Quintero wrote: > Hi > > I'm using this control to highlight the code entered into it, but when I > use Editor1.SetFocus in the Form_Open event, nothing happens. > > Can you help me? > > Thanks > > *_________________________* > *Lic. Daniel Quintero Rojas* > > *?Saludos desde M?xico!________* > > From gambas at ...1... Sun Mar 9 17:47:18 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 09 Mar 2014 17:47:18 +0100 Subject: [Gambas-user] New Gambas is coming! Message-ID: <531C9B16.6090205@...1...> Hi, I have just put the Gambas wiki in read-only mode, because a new wiki is coming... Here is some explanations: - That new wiki will be based on the Gambas Markdown syntax as implemented in the new 'gb.markdown' component. - It is based on files, not on a MySQL database. - The old wiki database will be downloaded and converted to the new markdown syntax automatically. - The conversion cannot be 100% perfect, so many old pages will require some little fixes. Be indulgent! - You will have to register again, but now there is a registration page, and that registration is automatic. You will just need an e-mail and answer a Gambas computation. - As the wiki is based on files and directories, and as the new syntax is implemented in a component, it will be finally possible and easy to make an online version of the documentation. Regards, -- Beno?t Minisini From gambas at ...1... Sun Mar 9 17:58:54 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 09 Mar 2014 17:58:54 +0100 Subject: [Gambas-user] New Gambas Wiki is coming! (was New Gambas is coming!) In-Reply-To: <531C9B16.6090205@...1...> References: <531C9B16.6090205@...1...> Message-ID: <531C9DCE.8070209@...1...> Le 09/03/2014 17:47, Beno?t Minisini a ?crit : > Hi, > > I have just put the Gambas wiki in read-only mode, because a new wiki is > coming... > > Here is some explanations: > > - That new wiki will be based on the Gambas Markdown syntax as > implemented in the new 'gb.markdown' component. > > - It is based on files, not on a MySQL database. > > - The old wiki database will be downloaded and converted to the new > markdown syntax automatically. > > - The conversion cannot be 100% perfect, so many old pages will require > some little fixes. Be indulgent! > > - You will have to register again, but now there is a registration page, > and that registration is automatic. You will just need an e-mail and > answer a Gambas computation. > > - As the wiki is based on files and directories, and as the new syntax > is implemented in a component, it will be finally possible and easy to > make an online version of the documentation. > > Regards, > -- Beno?t Minisini From taboege at ...626... Sun Mar 9 18:12:09 2014 From: taboege at ...626... (Tobias Boege) Date: Sun, 9 Mar 2014 18:12:09 +0100 Subject: [Gambas-user] New Gambas Wiki is coming! (was New Gambas is coming!) In-Reply-To: <531C9DCE.8070209@...1...> References: <531C9B16.6090205@...1...> <531C9DCE.8070209@...1...> Message-ID: <20140309171209.GB513@...2774...> On Sun, 09 Mar 2014, Beno?t Minisini wrote: > Le 09/03/2014 17:47, Beno?t Minisini a ?crit : > > Hi, > > > > I have just put the Gambas wiki in read-only mode, because a new wiki is > > coming... > > > > Here is some explanations: > > > > - That new wiki will be based on the Gambas Markdown syntax as > > implemented in the new 'gb.markdown' component. > > > > - It is based on files, not on a MySQL database. > > > > - The old wiki database will be downloaded and converted to the new > > markdown syntax automatically. > > > > - The conversion cannot be 100% perfect, so many old pages will require > > some little fixes. Be indulgent! > > > > - You will have to register again, but now there is a registration page, > > and that registration is automatic. You will just need an e-mail and > > answer a Gambas computation. > > > > - As the wiki is based on files and directories, and as the new syntax > > is implemented in a component, it will be finally possible and easy to > > make an online version of the documentation. > > Make an *offline* version? IIRC, we have an online version already :-) -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Sun Mar 9 19:08:30 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 09 Mar 2014 19:08:30 +0100 Subject: [Gambas-user] New Gambas wiki is online! Message-ID: <531CAE1E.5050903@...1...> Hi, The new Gambas wiki is now online at: http://gambaswiki.org Please register to check the registration process, and then play with it, so that I can eventually fix the automatic conversion from the old wiki syntax. The old Gambas 2 documentation will stays on http://gambasdoc.org, and should be available for one year. If you have any question, just ask! Regards, -- Beno?t Minisini From gambas.fr at ...626... Sun Mar 9 19:09:27 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 9 Mar 2014 19:09:27 +0100 Subject: [Gambas-user] New Gambas is coming! In-Reply-To: <531C9B16.6090205@...1...> References: <531C9B16.6090205@...1...> Message-ID: coming ... in how many time ?... i guess it will not be so long :-) 2014-03-09 17:47 GMT+01:00 Beno?t Minisini : > Hi, > > I have just put the Gambas wiki in read-only mode, because a new wiki is > coming... > > Here is some explanations: > > - That new wiki will be based on the Gambas Markdown syntax as > implemented in the new 'gb.markdown' component. > > - It is based on files, not on a MySQL database. > > - The old wiki database will be downloaded and converted to the new > markdown syntax automatically. > > - The conversion cannot be 100% perfect, so many old pages will require > some little fixes. Be indulgent! > > - You will have to register again, but now there is a registration page, > and that registration is automatic. You will just need an e-mail and > answer a Gambas computation. > > - As the wiki is based on files and directories, and as the new syntax > is implemented in a component, it will be finally possible and easy to > make an online version of the documentation. > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. > With Perforce, you get hassle-free workflows. Merge that actually works. > Faster operations. Version large binaries. Built-in WAN optimization and the > freedom to use Git, Perforce or both. Make the move to Perforce. > http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From ualex73 at ...626... Sun Mar 9 19:24:53 2014 From: ualex73 at ...626... (Alexie) Date: Sun, 9 Mar 2014 19:24:53 +0100 Subject: [Gambas-user] New Gambas wiki is online! In-Reply-To: <531CAE1E.5050903@...1...> References: <531CAE1E.5050903@...1...> Message-ID: Nice new site :-) But can https be enabled for authentication? 2014-03-09 19:08 GMT+01:00 Beno?t Minisini : > Hi, > > The new Gambas wiki is now online at: > > http://gambaswiki.org > > Please register to check the registration process, and then play with > it, so that I can eventually fix the automatic conversion from the old > wiki syntax. > > The old Gambas 2 documentation will stays on http://gambasdoc.org, and > should be available for one year. > > If you have any question, just ask! > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Subversion Kills Productivity. Get off Subversion & Make the Move to > Perforce. > With Perforce, you get hassle-free workflows. Merge that actually works. > Faster operations. Version large binaries. Built-in WAN optimization and > the > freedom to use Git, Perforce or both. Make the move to Perforce. > > http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Sun Mar 9 19:33:18 2014 From: taboege at ...626... (Tobias Boege) Date: Sun, 9 Mar 2014 19:33:18 +0100 Subject: [Gambas-user] New Gambas wiki is online! In-Reply-To: <531CAE1E.5050903@...1...> References: <531CAE1E.5050903@...1...> Message-ID: <20140309183318.GC513@...2774...> On Sun, 09 Mar 2014, Beno?t Minisini wrote: > Hi, > > The new Gambas wiki is now online at: > > http://gambaswiki.org > > Please register to check the registration process, and then play with > it, so that I can eventually fix the automatic conversion from the old > wiki syntax. > > The old Gambas 2 documentation will stays on http://gambasdoc.org, and > should be available for one year. > > If you have any question, just ask! > Will gambaswiki.org be the definitive new TLD or is it just there to be tested and the code will then move to gambasdoc.org once mature? -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Sun Mar 9 19:37:42 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 09 Mar 2014 19:37:42 +0100 Subject: [Gambas-user] New Gambas wiki is online! In-Reply-To: <20140309183318.GC513@...2774...> References: <531CAE1E.5050903@...1...> <20140309183318.GC513@...2774...> Message-ID: <531CB4F6.6040604@...1...> Le 09/03/2014 19:33, Tobias Boege a ?crit : > > Will gambaswiki.org be the definitive new TLD or is it just there to be > tested and the code will then move to gambasdoc.org once mature? > At the moment, gambasdoc.org is managed by Rob Kudla, and will be kept for the Gambas 2 documentation at least for one year. gambaswiki.org is the new TLD for the Gambas 3 wiki. -- Beno?t Minisini From gambas at ...1... Sun Mar 9 19:39:55 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 09 Mar 2014 19:39:55 +0100 Subject: [Gambas-user] New Gambas wiki is online! In-Reply-To: <531CAE1E.5050903@...1...> References: <531CAE1E.5050903@...1...> Message-ID: <531CB57B.4050509@...1...> Another point: the wiki source code is the "gambas3-wiki" project located in /trunk/app/src. -- Beno?t Minisini From gambas.fr at ...626... Sun Mar 9 19:40:37 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 9 Mar 2014 19:40:37 +0100 Subject: [Gambas-user] New Gambas wiki is online! In-Reply-To: <531CAE1E.5050903@...1...> References: <531CAE1E.5050903@...1...> Message-ID: well the register process page target is good only in english 2014-03-09 19:08 GMT+01:00 Beno?t Minisini : > Hi, > > The new Gambas wiki is now online at: > > http://gambaswiki.org > > Please register to check the registration process, and then play with > it, so that I can eventually fix the automatic conversion from the old > wiki syntax. > > The old Gambas 2 documentation will stays on http://gambasdoc.org, and > should be available for one year. > > If you have any question, just ask! > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. > With Perforce, you get hassle-free workflows. Merge that actually works. > Faster operations. Version large binaries. Built-in WAN optimization and the > freedom to use Git, Perforce or both. Make the move to Perforce. > http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk > _______________________________________________ > 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 9 19:42:39 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 9 Mar 2014 19:42:39 +0100 Subject: [Gambas-user] New Gambas wiki is online! In-Reply-To: <531CB57B.4050509@...1...> References: <531CAE1E.5050903@...1...> <531CB57B.4050509@...1...> Message-ID: i think it will be good to auto fill the symbol name and the syntax line when creating a new page on a known symbole. 2014-03-09 19:39 GMT+01:00 Beno?t Minisini : > Another point: the wiki source code is the "gambas3-wiki" project > located in /trunk/app/src. > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. > With Perforce, you get hassle-free workflows. Merge that actually works. > Faster operations. Version large binaries. Built-in WAN optimization and the > freedom to use Git, Perforce or both. Make the move to Perforce. > http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From ea7dfh at ...2382... Sun Mar 9 21:18:52 2014 From: ea7dfh at ...2382... (Jesus) Date: Sun, 09 Mar 2014 21:18:52 +0100 Subject: [Gambas-user] New Gambas is coming! In-Reply-To: <531C9B16.6090205@...1...> References: <531C9B16.6090205@...1...> Message-ID: <531CCCAC.1090705@...2382...> El 09/03/14 17:47, Beno?t Minisini escribi?: > Hi, > > I have just put the Gambas wiki in read-only mode, because a new wiki is > coming... Great news! > > - You will have to register again, but now there is a registration page, > and that registration is automatic. You will just need an e-mail and > answer a Gambas computation. This sounds a little scary. Have you provided any prevention of automated registration and anti-spam protection? > > - As the wiki is based on files and directories, and as the new syntax > is implemented in a component, it will be finally possible and easy to > make an online version of the documentation. Do you mean *offline* version of documentation? Best regards -- Jesus Guardon From taboege at ...626... Sun Mar 9 21:22:27 2014 From: taboege at ...626... (Tobias Boege) Date: Sun, 9 Mar 2014 21:22:27 +0100 Subject: [Gambas-user] New Gambas wiki is online! In-Reply-To: <531CAE1E.5050903@...1...> References: <531CAE1E.5050903@...1...> Message-ID: <20140309202227.GD513@...2774...> On Sun, 09 Mar 2014, Beno?t Minisini wrote: > Hi, > > The new Gambas wiki is now online at: > > http://gambaswiki.org > > Please register to check the registration process, and then play with > it, so that I can eventually fix the automatic conversion from the old > wiki syntax. Hmm, is that "Please run the following Gambas code and enter its result" phase of registration a bot protection? If it is, it is not a very effective one for bots written in Gambas :-) Besides, my confirmation mail did not came in yet (I registered like 2 hours ago). It's not in spam... Any ideas? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Sun Mar 9 21:31:03 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 09 Mar 2014 21:31:03 +0100 Subject: [Gambas-user] New Gambas wiki is online! In-Reply-To: <20140309202227.GD513@...2774...> References: <531CAE1E.5050903@...1...> <20140309202227.GD513@...2774...> Message-ID: <531CCF87.8020406@...1...> Le 09/03/2014 21:22, Tobias Boege a ?crit : > On Sun, 09 Mar 2014, Beno?t Minisini wrote: >> Hi, >> >> The new Gambas wiki is now online at: >> >> http://gambaswiki.org >> >> Please register to check the registration process, and then play >> with it, so that I can eventually fix the automatic conversion from >> the old wiki syntax. > > Hmm, is that "Please run the following Gambas code and enter its > result" phase of registration a bot protection? If it is, it is not a > very effective one for bots written in Gambas :-) Yes, it will encourage spammers to use Gambas, so that there are more Gambas applications. :-) > Besides, my confirmation mail did not came in yet (I registered like > 2 hours ago). It's not in spam... Any ideas? No. There were four other registrations that succeeded. I have destroyed your registration so that you can try again. Regards, -- Beno?t Minisini From Karl.Reinl at ...9... Sun Mar 9 22:14:15 2014 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 09 Mar 2014 22:14:15 +0100 Subject: [Gambas-user] New Gambas wiki is online! In-Reply-To: <531CAE1E.5050903@...1...> References: <531CAE1E.5050903@...1...> Message-ID: On Sun, 09 Mar 2014 19:08:30 +0100, Beno?t Minisini wrote: > Hi, > > The new Gambas wiki is now online at: > > http://gambaswiki.org > > Please register to check the registration process, and then play with > it, so that I can eventually fix the automatic conversion from the old > wiki syntax. > > The old Gambas 2 documentation will stays on http://gambasdoc.org, and > should be available for one year. > > If you have any question, just ask! > > Regards, Salut, it didn't run correctly the first time, but seconde time it said 'your login are still used' and I'm registered. -- Charlie Reinl From jussi.lahtinen at ...626... Sun Mar 9 22:24:04 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 9 Mar 2014 23:24:04 +0200 Subject: [Gambas-user] New Gambas is coming! In-Reply-To: <531CCCAC.1090705@...2382...> References: <531C9B16.6090205@...1...> <531CCCAC.1090705@...2382...> Message-ID: "You will just need an e-mail and answer a Gambas computation." Maybe this means CAPTCHA? Jussi On Sun, Mar 9, 2014 at 10:18 PM, Jesus wrote: > El 09/03/14 17:47, Beno?t Minisini escribi?: > > Hi, > > > > I have just put the Gambas wiki in read-only mode, because a new wiki is > > coming... > > Great news! > > > > > - You will have to register again, but now there is a registration page, > > and that registration is automatic. You will just need an e-mail and > > answer a Gambas computation. > > This sounds a little scary. Have you provided any prevention of > automated registration and anti-spam protection? > > > > > - As the wiki is based on files and directories, and as the new syntax > > is implemented in a component, it will be finally possible and easy to > > make an online version of the documentation. > > Do you mean *offline* version of documentation? > > Best regards > > -- > Jesus Guardon > > > ------------------------------------------------------------------------------ > Subversion Kills Productivity. Get off Subversion & Make the Move to > Perforce. > With Perforce, you get hassle-free workflows. Merge that actually works. > Faster operations. Version large binaries. Built-in WAN optimization and > the > freedom to use Git, Perforce or both. Make the move to Perforce. > > http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk > _______________________________________________ > 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 9 22:29:04 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 9 Mar 2014 22:29:04 +0100 Subject: [Gambas-user] New Gambas is coming! In-Reply-To: References: <531C9B16.6090205@...1...> <531CCCAC.1090705@...2382...> Message-ID: 2014-03-09 22:24 GMT+01:00 Jussi Lahtinen : > "You will just need an e-mail and answer a Gambas computation." > > Maybe this means CAPTCHA? Gambas CAPTCHA... Bots need gambas now From gambas at ...1... Sun Mar 9 22:33:04 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sun, 09 Mar 2014 22:33:04 +0100 Subject: [Gambas-user] New Gambas wiki is online! In-Reply-To: References: <531CAE1E.5050903@...1...> Message-ID: <531CDE10.4050003@...1...> Le 09/03/2014 22:14, Charlie Reinl a ?crit : > On Sun, 09 Mar 2014 19:08:30 +0100, Beno?t Minisini > wrote: >> Hi, >> >> The new Gambas wiki is now online at: >> >> http://gambaswiki.org >> >> Please register to check the registration process, and then play with >> it, so that I can eventually fix the automatic conversion from the old >> wiki syntax. >> >> The old Gambas 2 documentation will stays on http://gambasdoc.org, and >> should be available for one year. >> >> If you have any question, just ask! >> >> Regards, > > Salut, > > it didn't run correctly the first time Please give details! > but seconde time it said 'your > login are still used' > and I'm registered. > You have successfully confirm your login, so it's normal that if you try to register a second time, it tells you that! By the way, I have tried your login, and it works. -- Beno?t Minisini From Karl.Reinl at ...9... Sun Mar 9 22:51:11 2014 From: Karl.Reinl at ...9... (Charlie Reinl) Date: Sun, 09 Mar 2014 22:51:11 +0100 Subject: [Gambas-user] New Gambas wiki is online! In-Reply-To: <531CDE10.4050003@...1...> References: <531CAE1E.5050903@...1...> <531CDE10.4050003@...1...> Message-ID: On Sun, 09 Mar 2014 22:33:04 +0100, Beno?t Minisini wrote: Salut, > Please give details! I will try I'll try: - I pressed 'Register' - entered everything but not the Result , and pressed 'Confirm' - I was rejected - I entered the Result - I was rejected because off the 'Confirm password' which was emptied. - I filled the 'Confirm password' - I reentered the new Result and pressed 'Confirm' there I was told that the login I entered is in use. And YES my account works. -- Charlie Reinl From bbruen at ...2308... Mon Mar 10 01:42:40 2014 From: bbruen at ...2308... (bbruen) Date: Mon, 10 Mar 2014 11:12:40 +1030 Subject: [Gambas-user] New Gambas is coming! In-Reply-To: <531C9B16.6090205@...1...> References: <531C9B16.6090205@...1...> Message-ID: <1394412160.682.3.camel@...2688...> Hi Benoit, Registered OK.* Is it possible to have line numbers on the edit page? Had a look at fixing /doc/markup with error: Unexpected end of line at line #346: To indicate a span of code, wrap it with backtick quotes ('`'). Stack backtrace: Markup.ConvertLine.640 Markup.ConvertMarkup.472 Markup.Convert.33 Markdown.ToHTML.12 Wiki._PrintPage.154 Wiki.Wiki.0 WebPage.__Render.31 WebPage.Render.56 Main.Main.536 It's a bit hard to guess where line #346 is. *(Took three tries because a) my old login had punctuation in the username which is now not allowed. You don't find out about that until after you try. and b)I didn't notice that the rand seed changes every reload.) cheers Bruce From mckaygerhard at ...626... Mon Mar 10 15:09:17 2014 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Mon, 10 Mar 2014 09:39:17 -0430 Subject: [Gambas-user] New Gambas wiki is online! Message-ID: next release of gambas will include this wiki/example? next release of gambas will include ofline documentation or will use the online version for ever? next release of gambas will be 3.5.X or a 3.6 new release? and seems that packagers must handle all patches ofer older releases, due all patches of 3.5.1 and 3.5.2 in trunk i must handle manualy in my packages.. new version seems do not compile all modules in my distribution release (make me upgrade linux) that's not good! From gambas at ...1... Mon Mar 10 15:17:29 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 10 Mar 2014 15:17:29 +0100 Subject: [Gambas-user] New Gambas wiki is online! In-Reply-To: References: Message-ID: <531DC979.60805@...1...> Le 10/03/2014 15:09, PICCORO McKAY Lenz a ?crit : > next release of gambas will include this wiki/example? > Yes. > next release of gambas will include ofline documentation or will use the > online version for ever? Don't know. If I have time, you will be able to download an archive of the documentation and use it offline from the IDE. > > next release of gambas will be 3.5.X or a 3.6 new release? There will be a 3.5.3. > > and seems that packagers must handle all patches ofer older releases, due > all patches of 3.5.1 and 3.5.2 in trunk i must handle manualy in my > packages.. new version seems do not compile all modules in my distribution > release (make me upgrade linux) that's not good! Patches? Never heard about them... If you don't want to maintain patches, just show them us so that I can see if they can be integrated in the main sources. -- Beno?t Minisini From tercoide at ...67... Mon Mar 10 17:24:06 2014 From: tercoide at ...67... (martin p cristia) Date: Mon, 10 Mar 2014 13:24:06 -0300 Subject: [Gambas-user] How to save the contents of a drawingarea and a GLArea In-Reply-To: References: Message-ID: Hi: I need to save the contents of a drawingarea and a GLArea as a JPG, how to do it? tnx From taboege at ...626... Mon Mar 10 17:34:06 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 10 Mar 2014 17:34:06 +0100 Subject: [Gambas-user] How to save the contents of a drawingarea and a GLArea In-Reply-To: References: Message-ID: <20140310163406.GA1447@...2774...> On Mon, 10 Mar 2014, martin p cristia wrote: > Hi: > > I need to save the contents of a drawingarea and a GLArea as a JPG, how > to do it? > AFAIK, there is no way to access the internal buffer of a DrawingArea. So what I do is: define a routine that fills my DrawingArea but is agnostic about the drawing device (i.e. uses Paint.Device to refer to it instead of a fixed object like the DrawingArea), let's call it DrawIt() and then I do: Public Sub dwgArea_Draw() DrawIt() End and the drawing will be in the DrawingArea whenever needed. If you want to save it you just do: Dim hPicture As New Picture(dwgArea.W, dwgArea.H) Paint.Begin(hPicture) DrawIt() Paint.End() hPicture.Save(...) Does that help you? If not, you should be more precise about your code and your experience with Gambas next time. My assumptions when writing this were: - you are familiar with drawing in Gambas - you use the Draw event - your drawing is not a function of external variables, like time (so that you can call DrawIt() at any time in your program and produce the same result as before) For the GLArea: no idea. Never used that but maybe you can adapt the idea above. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From mckaygerhard at ...626... Mon Mar 10 17:46:32 2014 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Mon, 10 Mar 2014 12:16:32 -0430 Subject: [Gambas-user] New Gambas wiki is online! Message-ID: I just registered on the wiki page, wonderfully, faster and quickly, great system, its a great job.. this example can be taken and madofied for made intranet's opr web pages!!!!! made gambas more usefully!!! From: Beno?t Minisini > > next release of gambas will include this wiki/example? > > > Yes. please, please, so then .... HURRY UP RELEASINGGGGG ! due trunk compilation are a pain now for me.. changes a lot in every commit an i hav lot of job > > next release of gambas will include ofline documentation or will use the > > online version for ever? > > Don't know. If I have time, you will be able to download an archive of > the documentation and use it offline from the IDE. Some tips how doing that wonderfully idea? ;-D > > next release of gambas will be 3.5.X or a 3.6 new release? > There will be a 3.5.3. will be mantain same requisites? please, please > > > > > and seems that packagers must handle all patches ofer older releases, due > > all patches of 3.5.1 and 3.5.2 in trunk i must handle manualy in my > > packages.. new version seems do not compile all modules in my distribution > > release (make me upgrade linux) that's not good! > Patches? Never heard about them... If you don't want to maintain > patches, just show them us so that I can see if they can be integrated > in the main sources. sorry , i mean, that for example, some components of gambas 3.4 were upgrade and fixeds in 3.5, and powered, specially the web and markdown components, and now i need to use gambas 3.5 now.. .. one There will come a day when the system will ask me more requirements that I have to update so forcing me to upgrade the linux instaled, and that its nonsense if all OS are working as expected! > From tercoide at ...67... Mon Mar 10 17:51:52 2014 From: tercoide at ...67... (martin p cristia) Date: Mon, 10 Mar 2014 13:51:52 -0300 Subject: [Gambas-user] How to save the contents of a drawingarea and a GLArea In-Reply-To: References: Message-ID: Thanks for the fast answer, Tobi. The program is very complex, and the user can opt for a Draw or OpenGL method to draw things (each with its own control), so I thing a better way could be to copy the entire window and clip the drawn rectangle area, if that is possible. > On Mon, 10 Mar 2014, martin p cristia wrote: >> Hi: >> >> I need to save the contents of a drawingarea and a GLArea as a JPG, how >> to do it? >> > AFAIK, there is no way to access the internal buffer of a DrawingArea. So > what I do is: define a routine that fills my DrawingArea but is agnostic > about the drawing device (i.e. uses Paint.Device to refer to it instead of > a fixed object like the DrawingArea), let's call it DrawIt() and then I do: > > Public Sub dwgArea_Draw() > DrawIt() > End > > and the drawing will be in the DrawingArea whenever needed. If you want to > save it you just do: > > Dim hPicture As New Picture(dwgArea.W, dwgArea.H) > > Paint.Begin(hPicture) > DrawIt() > Paint.End() > hPicture.Save(...) > > Does that help you? If not, you should be more precise about your code and > your experience with Gambas next time. My assumptions when writing this > were: > > - you are familiar with drawing in Gambas > - you use the Draw event > - your drawing is not a function of external variables, like time (so that > you can call DrawIt() at any time in your program and produce the same > result as before) > > For the GLArea: no idea. Never used that but maybe you can adapt the idea > above. > > Regards, > Tobi From taboege at ...626... Mon Mar 10 17:54:57 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 10 Mar 2014 17:54:57 +0100 Subject: [Gambas-user] gb.xml: Leading and trailing spaces missing from TextContent Message-ID: <20140310165457.GB1447@...2774...> Hi, I'm writing on behalf of a German Gambas user and I'm just giving his words without really knowing what I'm talking about, sorry :-) His problem is: apparently, XmlElement.TextContent is Trim$()'d away white- space on both sides of the string. Is that expected? (IMHO, it shouldn't or is there any standard saying otherwise?) I translated the demonstration project (not the project name, though) into English, so don't worry. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: Fehler-0.0.1.tar.gz Type: application/octet-stream Size: 5354 bytes Desc: not available URL: From eilert-sprachen at ...221... Mon Mar 10 18:18:41 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 10 Mar 2014 18:18:41 +0100 Subject: [Gambas-user] New Gambas wiki is online! In-Reply-To: <531CAE1E.5050903@...1...> References: <531CAE1E.5050903@...1...> Message-ID: <531DF3F1.9020902@...221...> Am 09.03.2014 19:08, schrieb Beno?t Minisini: > Hi, > > The new Gambas wiki is now online at: > > http://gambaswiki.org > > Please register to check the registration process, and then play with > it, so that I can eventually fix the automatic conversion from the old > wiki syntax. > > The old Gambas 2 documentation will stays on http://gambasdoc.org, and > should be available for one year. > > If you have any question, just ask! > > Regards, > Hi Benoit, Looks nice, great job! There's one thing I stumbled upon when clicking around: About DrawingArea you'll get Unexpected end of line at line #8: * In `standard mode\', The DrawingArea will raise the [./.draw] event each time it needs to be refreshed. Stack backtrace: Markup.ConvertLine.640 Markup.ConvertMarkup.472 Markup.Convert.33 Markdown.ToHTML.12 Wiki._PrintPage.154 Wiki.Wiki.0 WebPage.__Render.31 WebPage.Render.56 Main.Main.551 With the new system, would it be possible to catch such errors in a way that either draws a faulty page "as good as possible" or at least gives a simpler error message? Or wouldn't that make sense? Another question: The new wiki supports CSS, doesn't it? Regards Rolf From gambas at ...1... Mon Mar 10 18:56:30 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 10 Mar 2014 18:56:30 +0100 Subject: [Gambas-user] How to save the contents of a drawingarea and a GLArea In-Reply-To: References: Message-ID: <531DFCCE.1060707@...1...> Le 10/03/2014 17:51, martin p cristia a ?crit : > Thanks for the fast answer, Tobi. > > The program is very complex, and the user can opt for a Draw or OpenGL > method to draw things (each with its own control), so I thing a better > way could be to copy the entire window and clip the drawn rectangle > area, if that is possible. > Tobias' method is the best for normal drawings: it works for any toolkit and window manager. As for the GLArea, I have no idea how and if it is possible! The GLArea is entirely managed by the underlying toolkit, so I don't know we can get the contents of the final OpenGL drawing. I guess it is an OpenGL thing, but only an expert will answer you. Regards, -- Beno?t Minisini From gambas at ...1... Mon Mar 10 19:00:57 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 10 Mar 2014 19:00:57 +0100 Subject: [Gambas-user] New Gambas wiki is online! In-Reply-To: <531DF3F1.9020902@...221...> References: <531CAE1E.5050903@...1...> <531DF3F1.9020902@...221...> Message-ID: <531DFDD9.3040406@...1...> Le 10/03/2014 18:18, Rolf-Werner Eilert a ?crit : > > Hi Benoit, > > Looks nice, great job! > > There's one thing I stumbled upon when clicking around: About > DrawingArea you'll get > > Unexpected end of line at line #8: > > * In `standard mode\', The DrawingArea will raise the [./.draw] > event each time it needs to be refreshed. > > Stack backtrace: > > Markup.ConvertLine.640 Markup.ConvertMarkup.472 Markup.Convert.33 > Markdown.ToHTML.12 Wiki._PrintPage.154 Wiki.Wiki.0 > WebPage.__Render.31 WebPage.Render.56 Main.Main.551 Fixed. > > With the new system, would it be possible to catch such errors in a > way that either draws a faulty page "as good as possible" or at > least gives a simpler error message? Or wouldn't that make sense? I don't know, I will try. But at the moment, I need to get all the information about the error to see if it a bug in the gb.markdown component or a bug in the old syntax conversion routine... > > Another question: The new wiki supports CSS, doesn't it? What do you mean by that? Yes, all HTML pages relies on a CSS file, but it is not unexpected nowadays. :-) -- Beno?t Minisini From gambas at ...1... Mon Mar 10 19:05:36 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 10 Mar 2014 19:05:36 +0100 Subject: [Gambas-user] New Gambas wiki is online! In-Reply-To: References: Message-ID: <531DFEF0.9060107@...1...> Le 10/03/2014 17:46, PICCORO McKAY Lenz a ?crit : > I just registered on the wiki page, > > wonderfully, faster and quickly, great system, its a great job.. > > this example can be taken and madofied for made intranet's opr web > pages!!!!! made gambas more usefully!!! > > From: Beno?t Minisini >>> next release of gambas will include this wiki/example? >>> >> Yes. > please, please, so then .... HURRY UP RELEASINGGGGG ! due trunk > compilation are a pain now for me.. changes a lot in every commit an i > hav lot of job The gambas wiki sources are for the next 3.6, not the next 3.5.3. You will have to wait if you don't want to deal with /trunk. > >>> next release of gambas will include ofline documentation or will use the >>> online version for ever? >> >> Don't know. If I have time, you will be able to download an archive of >> the documentation and use it offline from the IDE. > > Some tips how doing that wonderfully idea? ;-D Yes: all the new wiki is a tree of files. The idea is copying that tree of files on your hard disk, and let the IDE transform that files into HTML exactly the same way as the wiki. It's just a matter of replacing "http://" links by special links meaning "use the local files and not the web". > >>> next release of gambas will be 3.5.X or a 3.6 new release? >> There will be a 3.5.3. > will be mantain same requisites? please, please Yes, of course. 3.5.3 is just a bug fix release of 3.5. -- Beno?t Minisini From vuott at ...325... Mon Mar 10 23:53:09 2014 From: vuott at ...325... (Ru Vuott) Date: Mon, 10 Mar 2014 22:53:09 +0000 (GMT) Subject: [Gambas-user] R: How to save the contents of a drawingarea and a GLArea In-Reply-To: Message-ID: <1394491989.32772.YahooMailBasic@...3269...> ehmmm... hello, Martin, ...for saving the contents of a DrawingArea I would... suggest these steps: 1) you drawi and/or write in DrawingArea. (ok, the contents); 2) you create the PDF file by using the ".OutputFile" property of Class "Printer"; 3) using the PDF file, you convert the PDF to an Image (for that, you need to activate the component gb.pdf); 4) then you save that "Image" with its Save method in an image file: Public Sub Button2_Click() Dim pdf As New PdfDocument Dim i As New Image With pdf .Open("/tmp/my_file.pdf") If .Ready = True Then ' ...then I convert the first page ("index" page = 1) in an "Image": i = pdf[1].Image ' So, we convert the Image in an image file: i.Save("/tmp/my_file.jpg") Else Message.Error("Error loading pdf file !") Endif End With End bye vuott -------------------------------------------- Lun 10/3/14, martin p cristia ha scritto: Oggetto: [Gambas-user] How to save the contents of a drawingarea and a GLArea A: gambas-user at lists.sourceforge.net Data: Luned? 10 marzo 2014, 17:24 Hi: I need to save the contents of a drawingarea and a GLArea as a JPG, how to do it? tnx ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From rterry at ...1823... Tue Mar 11 03:50:08 2014 From: rterry at ...1823... (richard terry) Date: Tue, 11 Mar 2014 13:50:08 +1100 Subject: [Gambas-user] Stop watch Message-ID: <531E79E0.9000408@...1823...> Hi List, I don't suppose anyone would have a little mini project with code etc for a simple stopwatch? If so would appreciate a copy to add to our EasyGP project as a consultation time. Richard From rterry at ...1823... Tue Mar 11 04:04:56 2014 From: rterry at ...1823... (richard terry) Date: Tue, 11 Mar 2014 14:04:56 +1100 Subject: [Gambas-user] Stop watch In-Reply-To: <531E79E0.9000408@...1823...> References: <531E79E0.9000408@...1823...> Message-ID: <531E7D58.5030108@...1823...> On 11/03/14 13:50, richard terry wrote: > Hi List, > > I don't suppose anyone would have a little mini project with code etc > for a simple stopwatch? > > If so would appreciate a copy to add to our EasyGP project as a > consultation time. > > Richard > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > I just noticed there is one in the gambas samples - I can use this I think richard From adrien.prokopowicz at ...626... Tue Mar 11 10:05:18 2014 From: adrien.prokopowicz at ...626... (Adrien Prokopowicz) Date: Tue, 11 Mar 2014 10:05:18 +0100 Subject: [Gambas-user] gb.xml: Leading and trailing spaces missing from TextContent In-Reply-To: <20140310165457.GB1447@...2774...> References: <20140310165457.GB1447@...2774...> Message-ID: Hi Tobias, That was actually a bug, and is now fixed in revision #6197. Regards, -- Adrien Prokopowicz Le Mon, 10 Mar 2014 17:54:57 +0100, Tobias Boege a ?crit: > Hi, > > I'm writing on behalf of a German Gambas user and I'm just giving his > words > without really knowing what I'm talking about, sorry :-) > > His problem is: apparently, XmlElement.TextContent is Trim$()'d away > white- > space on both sides of the string. Is that expected? (IMHO, it shouldn't > or > is there any standard saying otherwise?) > > I translated the demonstration project (not the project name, though) > into > English, so don't worry. > > Regards, > Tobi From eilert-sprachen at ...221... Tue Mar 11 10:22:45 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 11 Mar 2014 10:22:45 +0100 Subject: [Gambas-user] New Gambas wiki is online! In-Reply-To: <531DFDD9.3040406@...1...> References: <531CAE1E.5050903@...1...> <531DF3F1.9020902@...221...> <531DFDD9.3040406@...1...> Message-ID: <531ED5E5.60806@...221...> Am 10.03.2014 19:00, schrieb Beno?t Minisini: > Le 10/03/2014 18:18, Rolf-Werner Eilert a ?crit : >> >> Hi Benoit, >> >> Looks nice, great job! >> >> There's one thing I stumbled upon when clicking around: About >> DrawingArea you'll get >> >> Unexpected end of line at line #8: >> >> * In `standard mode\', The DrawingArea will raise the [./.draw] >> event each time it needs to be refreshed. >> >> Stack backtrace: >> >> Markup.ConvertLine.640 Markup.ConvertMarkup.472 Markup.Convert.33 >> Markdown.ToHTML.12 Wiki._PrintPage.154 Wiki.Wiki.0 >> WebPage.__Render.31 WebPage.Render.56 Main.Main.551 > > Fixed. > >> >> With the new system, would it be possible to catch such errors in a >> way that either draws a faulty page "as good as possible" or at >> least gives a simpler error message? Or wouldn't that make sense? > > I don't know, I will try. But at the moment, I need to get all the > information about the error to see if it a bug in the gb.markdown > component or a bug in the old syntax conversion routine... > >> >> Another question: The new wiki supports CSS, doesn't it? > > What do you mean by that? Yes, all HTML pages relies on a CSS file, but > it is not unexpected nowadays. :-) > Yep :-) sorry for being so unspecific here... My idea was to offer different looks for web/IDE or to brush up the look at all (if someone feels it's necessary). Regards Rolf From mckaygerhard at ...626... Tue Mar 11 16:50:23 2014 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Tue, 11 Mar 2014 11:20:23 -0430 Subject: [Gambas-user] VenenuX dvd with GAMBAS 3 included!!!!! released Message-ID: we have released VENENUX 0.9 openbox with all developer stuff included for now included only gambas 3.4.2 (3.4.1 + 3.4.2 patches and some features), nest version will include gambas 3.5.3 we included all gambas stuff plus all developer stuff such qt+gtk+cairo+pango and also gstreamer 0.10 and some multimedia stuffs. this live are focused in lightweight, We are proud due make the fastest and lightweight system that has ever existed, we can bet that no other live CD runs lighter with the amount of software included .. we challenge it to test and corroborate!!! DVD 1.2G: https://drive.google.com/file/d/0B9CZefVq84E_UGw4dlBZelBWY28/edit?usp=sharing CD 699Mb: https://drive.google.com/file/d/0B9CZefVq84E_c2FfQVU1Mno4VzA/edit?usp=sharing Notice : http://vegnuli.needthis.net/#venenux09openbox http://venenux.blogspot.com From taboege at ...626... Wed Mar 12 01:01:52 2014 From: taboege at ...626... (Tobias Boege) Date: Wed, 12 Mar 2014 01:01:52 +0100 Subject: [Gambas-user] New Gambas wiki is online! In-Reply-To: <531CCF87.8020406@...1...> References: <531CAE1E.5050903@...1...> <20140309202227.GD513@...2774...> <531CCF87.8020406@...1...> Message-ID: <20140312000152.GB508@...2774...> On Sun, 09 Mar 2014, Beno?t Minisini wrote: > Le 09/03/2014 21:22, Tobias Boege a ?crit : > > On Sun, 09 Mar 2014, Beno?t Minisini wrote: > >> Hi, > >> > >> The new Gambas wiki is now online at: > >> > >> http://gambaswiki.org > >> > >> Please register to check the registration process, and then play > >> with it, so that I can eventually fix the automatic conversion from > >> the old wiki syntax. > > > > Hmm, is that "Please run the following Gambas code and enter its > > result" phase of registration a bot protection? If it is, it is not a > > very effective one for bots written in Gambas :-) > > Yes, it will encourage spammers to use Gambas, so that there are more > Gambas applications. :-) > > > Besides, my confirmation mail did not came in yet (I registered like > > 2 hours ago). It's not in spam... Any ideas? > > No. There were four other registrations that succeeded. > > I have destroyed your registration so that you can try again. > Ok. NOW, three days later, both mails (first and second try) arrived and I'm finally registered. No idea what could have caused that delay. Never (to my knowledge) happened to me with that email address before. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From giorgosk67 at ...626... Sat Mar 15 01:03:20 2014 From: giorgosk67 at ...626... (=?ISO-8859-7?B?w+n+8ePv8iDK?=) Date: Sat, 15 Mar 2014 02:03:20 +0200 Subject: [Gambas-user] 2 console questions. Message-ID: Hi! :-) Thank you very much for this wonderful project! I just installed it and giving it a try. I have 2 questions, console programming related. 1) Is there any command Input-like, that allows for a specific number of characters input (without pressing Enter)? Eg. lets say, I'm presenting the user a Y or N question. What I expect, is a single character input (with no need, for pressing Enter). 2) Is there any way for coloring the text (eg. presenting a question with red or green letters), other than messing with ncurses? Something closer to BASIC tradition, maybe? Ncurses is more or less complicated! :-) TIA! :-) Giorgos. From taboege at ...626... Sat Mar 15 01:38:07 2014 From: taboege at ...626... (Tobias Boege) Date: Sat, 15 Mar 2014 01:38:07 +0100 Subject: [Gambas-user] 2 console questions. In-Reply-To: References: Message-ID: <20140315003807.GK688@...2774...> On Sat, 15 Mar 2014, ??????? ? wrote: > Hi! :-) > Thank you very much for this wonderful project! > > I just installed it and giving it a try. > I have 2 questions, console programming related. > > 1) Is there any command Input-like, that allows for a specific number > of characters input (without pressing Enter)? > Eg. lets say, I'm presenting the user a Y or N question. What I > expect, is a single character input (with no need, for pressing > Enter). > > 2) Is there any way for coloring the text (eg. presenting a question > with red or green letters), other than messing with ncurses? > Something closer to BASIC tradition, maybe? > Ncurses is more or less complicated! :-) > Ouch! I was already typing the answer: ncurses - then I read your last paragraph :-) But maybe we can try without: 1) There is nothing to do that. Terminal is line-buffered by default, so you will always have to wait for Return and then read the entire line using the Line Input instruction. In the best case, the line will only consist of "y" or "n" or "Y" or "N". You can change the behaviour of the terminal but that would either require messing around with struct termios using libc or using ncurses which wraps that for you. 2) This is easy once you get used to it. You just have to know about escape sequences. If you have a proper man-pages install, "$ man console_codes" is your best friend. To switch to, say, green foreground, you write in Gambas: Print "\e[32m"; Print "This is green foreground" of course, you need to switch that off at some point: Print "\e[0m"; Print "Default rendition again" Again, ncurses would wrap that for you. The Gambas Console (which is built into the IDE to watch a program's stdout and stderr) is not a full-featured terminal emulator. It won't interpret those escape sequences, so you need to enable the "Use a terminal emulator" option in the project options. Note also that there is already a gb.ncurses component that helps you deal with ncurses in the Gambas way (more or less). As you said you are new to Gambas, I thought I should let you know... (attached is a project that shows how you could have done the stuff with gb.ncurses). Here[0] is also a tutorial introduction to gb.ncurses which explains the setup to run those terminal-fancy programs. Have fun with Gambas! Regards, Tobi [0] http://gambaswiki.org/wiki/tutorial/ncursestut -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: ncurses-sample-0.0.1.tar.gz Type: application/octet-stream Size: 4738 bytes Desc: not available URL: From giorgosk67 at ...626... Sat Mar 15 02:33:34 2014 From: giorgosk67 at ...626... (=?ISO-8859-7?B?w+n+8ePv8iDK?=) Date: Sat, 15 Mar 2014 03:33:34 +0200 Subject: [Gambas-user] 2 console questions. In-Reply-To: <20140315003807.GK688@...2774...> References: <20140315003807.GK688@...2774...> Message-ID: 2014-03-15 2:38 GMT+02:00 Tobias Boege : > On Sat, 15 Mar 2014, ??????? ? wrote: >> Hi! :-) >> Thank you very much for this wonderful project! >> >> I just installed it and giving it a try. >> I have 2 questions, console programming related. >> >> 1) Is there any command Input-like, that allows for a specific number >> of characters input (without pressing Enter)? >> Eg. lets say, I'm presenting the user a Y or N question. What I >> expect, is a single character input (with no need, for pressing >> Enter). >> >> 2) Is there any way for coloring the text (eg. presenting a question >> with red or green letters), other than messing with ncurses? >> Something closer to BASIC tradition, maybe? >> Ncurses is more or less complicated! :-) >> > > Ouch! I was already typing the answer: ncurses - then I read your last > paragraph :-) But maybe we can try without: > > 1) There is nothing to do that. Terminal is line-buffered by default, so you > will always have to wait for Return and then read the entire line using > the Line Input instruction. In the best case, the line will only consist > of "y" or "n" or "Y" or "N". > > You can change the behaviour of the terminal but that would either > require messing around with struct termios using libc or using ncurses > which wraps that for you. > > 2) This is easy once you get used to it. You just have to know about escape > sequences. If you have a proper man-pages install, "$ man console_codes" > is your best friend. > > To switch to, say, green foreground, you write in Gambas: > > Print "\e[32m"; > Print "This is green foreground" > > of course, you need to switch that off at some point: > > Print "\e[0m"; > Print "Default rendition again" > > Again, ncurses would wrap that for you. > > The Gambas Console (which is built into the IDE to watch a program's stdout > and stderr) is not a full-featured terminal emulator. It won't interpret > those escape sequences, so you need to enable the "Use a terminal emulator" > option in the project options. > > Note also that there is already a gb.ncurses component that helps you deal > with ncurses in the Gambas way (more or less). As you said you are new to > Gambas, I thought I should let you know... (attached is a project that shows > how you could have done the stuff with gb.ncurses). > > Here[0] is also a tutorial introduction to gb.ncurses which explains the > setup to run those terminal-fancy programs. Have fun with Gambas! > > Regards, > Tobi > > [0] http://gambaswiki.org/wiki/tutorial/ncursestut > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------------------------ > MANY THANKS Tobi for your help!!! :-) 2) I already read the wiki, but I'm not sure that I understood much things! :-) Now that you pointed me, at the right direction, everything becomes clearer! I have to mess with ESC sequences for > 20y! :-) >From the time, I was entering them at EDLIN, for beautifying my ANSI.SYS enabled, command prompt. At recent times, since Bash is configured differently, I never touched them again. Yes, I'm familiar with them and now it's the right time for refreshing my memory I suppose! :-) 1) Creating a custom ncurses wrapper? Very interesting idea!!! I'll look at it. I'll look the example at the morning. THANKS AGAIN for your really fast and really enlighting help!!! Giorgos. :-) From kevinfishburne at ...1887... Sat Mar 15 04:33:01 2014 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Fri, 14 Mar 2014 23:33:01 -0400 Subject: [Gambas-user] customizable background color of unfocused split-view pane In-Reply-To: <53227B00.1030509@...1887...> References: <53227B00.1030509@...1887...> Message-ID: <5323C9ED.6070000@...1887...> Sorry, I accidentally sent this to Beno?t last night instead of the list. Here it is: -------- Original Message -------- Subject: customizable background color of unfocused split-view pane Date: Thu, 13 Mar 2014 23:44:00 -0400 From: Kevin Fishburne To: Beno?t Minisini Under Tools, Preferences, Theme I can find no way to set the background color used when splitting the panes to view two sections of code at once. The background color, at least for the "Quick" theme, is light gray which makes the code very difficult to read. An alternative to allowing manually setting the color could be to multiply the RGB values of the normal background color by 0.8, which would darken them by 20%. If you use a solid black background there would be no noticeable difference, although the presence of the blinking cursor should be enough for that rare occurrence. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 -------------- next part -------------- A non-text attachment was scrubbed... Name: I'm Blind Now.jpg Type: image/jpeg Size: 194462 bytes Desc: not available URL: From willy at ...2734... Sat Mar 15 13:34:04 2014 From: willy at ...2734... (Willy Raets) Date: Sat, 15 Mar 2014 13:34:04 +0100 Subject: [Gambas-user] Updated Debinan installation instructions Message-ID: <1394886844.2315.7.camel@...3024...> Hi all, I have just updated the installation instructions for Debian in the new Gambas Wiki (http://gambaswiki.org/wiki/install/debian) Nice thing is that jessie repository now has a working Gambas 3.5.2. Adding the jessie repository to your sources.list on wheezy allows you to install Gambas 3.5.2 from binaries, so good news for the Debian users among us. In case you compile and install Gambas3.5.2. from source on wheezy: gstreamer-1.0 is now found in the wheezy backports llvm-3.1 is now part of wheezy repository If you find any irregularities in the instructions, please let me know so I can correct them. -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From giorgosk67 at ...626... Sat Mar 15 20:10:00 2014 From: giorgosk67 at ...626... (=?ISO-8859-7?B?w+n+8ePv8iDK?=) Date: Sat, 15 Mar 2014 21:10:00 +0200 Subject: [Gambas-user] Open SUSE. Message-ID: Hi! :-) At "Distributions & Operating Systems" section indicates: OpenSuSE 9.x / 10.x / 11.x -> OK. How this can be updated? I'm running Open SUSE 13.1 x64 KDE and Gambas is perfectly running. There are 3 unstable (=not official) repositories: http://software.opensuse.org/package/gambas3 Ccgx is broken. The other two are fully functional. Munix9 is the best (text fits perfect in boxes), but the Education one, is also works (although it has some appearance problems). Bye! :-) G. From giorgosk67 at ...626... Sun Mar 16 01:28:28 2014 From: giorgosk67 at ...626... (=?ISO-8859-7?B?w+n+8ePv8iDK?=) Date: Sun, 16 Mar 2014 02:28:28 +0200 Subject: [Gambas-user] 2 console questions. In-Reply-To: <20140315003807.GK688@...2774...> References: <20140315003807.GK688@...2774...> Message-ID: > > The Gambas Console (which is built into the IDE to watch a program's stdout > and stderr) is not a full-featured terminal emulator. It won't interpret > those escape sequences, so you need to enable the "Use a terminal emulator" > option in the project options. > Ooops! This option, seems to be broken here! :-( After enabling it, nothing happens (when I'm pressing the "play" button). Only a small empty window, appears at bottom-right. I uninstalled the repository version and I tried to install the subversion one, but compilation failed. :-( I took all the steps from "Compiling the Subversion repository" page, but after ~20min, (at the last step, after becoming root) I got this message: || || Unable to compile gb.report || Unable to compile gb.net.pop3 || Unable to compile gb.map || Unable to compile gambas3 || Not my lucky day, I suppose! :-) G. From taboege at ...626... Sun Mar 16 14:34:25 2014 From: taboege at ...626... (Tobias Boege) Date: Sun, 16 Mar 2014 14:34:25 +0100 Subject: [Gambas-user] 2 console questions. In-Reply-To: References: <20140315003807.GK688@...2774...> Message-ID: <20140316133425.GA583@...2774...> On Sun, 16 Mar 2014, ??????? ? wrote: > > > > The Gambas Console (which is built into the IDE to watch a program's stdout > > and stderr) is not a full-featured terminal emulator. It won't interpret > > those escape sequences, so you need to enable the "Use a terminal emulator" > > option in the project options. > > > > Ooops! This option, seems to be broken here! :-( > After enabling it, nothing happens (when I'm pressing the "play" > button). Only a small empty window, appears at bottom-right. > > I uninstalled the repository version and I tried to install the > subversion one, but compilation failed. :-( > > I took all the steps from "Compiling the Subversion repository" page, > but after ~20min, (at the last step, after becoming root) I got this > message: > > || > || Unable to compile gb.report > || Unable to compile gb.net.pop3 > || Unable to compile gb.map > || Unable to compile gambas3 > || > > > Not my lucky day, I suppose! :-) You're using OpenSuse? I don't, but IIRC (what I'm *really* not sure about!) I've heared rumours that their repositories deliver broken Gambas... But do you actually Print something in your program? The white window could be your terminal which stays white because your program doesn't do anything? About the svn compilation: 20 minutes sounds familiar. The problems are strange, though[*]. Could you send us the build logs as described here[0]? Regards, Tobi [*] Not that there are some but *what* problems is strange. I don't see any reason-indicating similarity between them. [0] http://gambaswiki.org/wiki/doc/report?v3 -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From giorgosk67 at ...626... Sun Mar 16 15:02:07 2014 From: giorgosk67 at ...626... (=?ISO-8859-7?B?w+n+8ePv8iDK?=) Date: Sun, 16 Mar 2014 16:02:07 +0200 Subject: [Gambas-user] 2 console questions. In-Reply-To: <20140316133425.GA583@...2774...> References: <20140315003807.GK688@...2774...> <20140316133425.GA583@...2774...> Message-ID: >> > You're using OpenSuse? I don't, but IIRC (what I'm *really* not sure about!) > I've heared rumours that their repositories deliver broken Gambas... > It's highly possible. Unstable repositories are "home-made" (from individuals). They have not tested thoroughly and many of them are non-actively maintained. I'll try to compile the stable version too and I'll be back (with the logs in case of a failure). G. From giorgosk67 at ...626... Sun Mar 16 15:06:27 2014 From: giorgosk67 at ...626... (=?ISO-8859-7?B?w+n+8ePv8iDK?=) Date: Sun, 16 Mar 2014 16:06:27 +0200 Subject: [Gambas-user] 2 console questions. In-Reply-To: <20140316133425.GA583@...2774...> References: <20140315003807.GK688@...2774...> <20140316133425.GA583@...2774...> Message-ID: I forgot to post the program! :-) ' Gambas module file Public Sub Main() Dim X As Integer Print "???" Input X End Just a Print command. With an Input (instead of sleep), for not autoclosing. From gambas at ...1... Sun Mar 16 15:41:15 2014 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sun, 16 Mar 2014 15:41:15 +0100 Subject: [Gambas-user] 2 console questions. In-Reply-To: References: <20140315003807.GK688@...2774...> Message-ID: <5325B80B.2040400@...1...> Le 16/03/2014 01:28, ??????? ? a ?crit : >> >> The Gambas Console (which is built into the IDE to watch a program's stdout >> and stderr) is not a full-featured terminal emulator. It won't interpret >> those escape sequences, so you need to enable the "Use a terminal emulator" >> option in the project options. >> > > Ooops! This option, seems to be broken here! :-( > After enabling it, nothing happens (when I'm pressing the "play" > button). Only a small empty window, appears at bottom-right. > Please give details on your system ("System information" menu in the IDE), because the external terminal emulator is chosen according to your current desktop. -- Beno?t Minisini From giorgosk67 at ...626... Sun Mar 16 16:07:05 2014 From: giorgosk67 at ...626... (=?ISO-8859-7?B?w+n+8ePv8iDK?=) Date: Sun, 16 Mar 2014 17:07:05 +0200 Subject: [Gambas-user] 2 console questions. In-Reply-To: <5325B80B.2040400@...1...> References: <20140315003807.GK688@...2774...> <5325B80B.2040400@...1...> Message-ID: >> > > Please give details on your system ("System information" menu in the > IDE), because the external terminal emulator is chosen according to your > current desktop. > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ Oh I forgot to mention them! Sorry!!! :-) [System] Gambas=3.5.2 OperatingSystem=Linux Kernel=3.11.10-7-desktop Architecture=x86_64 Distribution=openSUSE 13.1 Desktop=KDE4 Theme=Oxygen Language=el_GR.UTF-8 Memory=1752M [Libraries] DBus=libdbus-1.so.3.8.2 GStreamer=libgstreamer-0.10.so.0.30.0 From giorgosk67 at ...626... Sun Mar 16 20:36:35 2014 From: giorgosk67 at ...626... (=?ISO-8859-7?B?w+n+8ePv8iDK?=) Date: Sun, 16 Mar 2014 21:36:35 +0200 Subject: [Gambas-user] 2 console questions. In-Reply-To: <20140316133425.GA583@...2774...> References: <20140315003807.GK688@...2774...> <20140316133425.GA583@...2774...> Message-ID: > > Could you send us the build logs as described here[0]? > > Regards, > Tobi > I tried to compile the stable (3.5.2) version (after downloading it from SF.NET dl page). I couldn't and it's clearly a missing dependencies problem, but I couldn't figure out, what packages are missing! :-( Logs: http://pastebin.com/37F8sTsF http://pastebin.com/nahELQg5 http://pastebin.com/idzpPSms http://pastebin.com/A08NqGLz From taboege at ...626... Sun Mar 16 20:56:18 2014 From: taboege at ...626... (Tobias Boege) Date: Sun, 16 Mar 2014 20:56:18 +0100 Subject: [Gambas-user] 2 console questions. In-Reply-To: References: <20140315003807.GK688@...2774...> <20140316133425.GA583@...2774...> Message-ID: <20140316195618.GD583@...2774...> On Sun, 16 Mar 2014, ??????? ? wrote: > > > > Could you send us the build logs as described here[0]? > > > > Regards, > > Tobi > > > > I tried to compile the stable (3.5.2) version (after downloading it > from SF.NET dl page). > I couldn't and it's clearly a missing dependencies problem, but I > couldn't figure out, what packages are missing! :-( > > Logs: > http://pastebin.com/37F8sTsF > http://pastebin.com/nahELQg5 > http://pastebin.com/idzpPSms > http://pastebin.com/A08NqGLz > The only critical component that's missing is gb.qt4.webkit. As indicated here[0], you need all the QT libs of version >= 4.5. Regards, Tobi [0] http://gambaswiki.org/wiki/install -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From giorgosk67 at ...626... Sun Mar 16 22:11:53 2014 From: giorgosk67 at ...626... (=?ISO-8859-7?B?w+n+8ePv8iDK?=) Date: Sun, 16 Mar 2014 23:11:53 +0200 Subject: [Gambas-user] 2 console questions. In-Reply-To: <20140316195618.GD583@...2774...> References: <20140315003807.GK688@...2774...> <20140316133425.GA583@...2774...> <20140316195618.GD583@...2774...> Message-ID: > > > > The only critical component that's missing is gb.qt4.webkit. As indicated > here[0], you need all the QT libs of version >= 4.5. > > Regards, > Tobi > > Oh, seems like I installed QT5 instead! :-( OK! I installed QT4 as well and here are the updated logs: (This time, Gambas is running, although some parts of it are disabled-not compiled. System specs are the same). http://pastebin.com/b6XbZyFQ http://pastebin.com/LWnji1pH http://pastebin.com/f3zfssGp http://pastebin.com/vFYPLPB7 The problem remains the same. G. From taboege at ...626... Sun Mar 16 22:40:41 2014 From: taboege at ...626... (Tobias Boege) Date: Sun, 16 Mar 2014 22:40:41 +0100 Subject: [Gambas-user] 2 console questions. In-Reply-To: References: <20140315003807.GK688@...2774...> <20140316133425.GA583@...2774...> <20140316195618.GD583@...2774...> Message-ID: <20140316214041.GE583@...2774...> On Sun, 16 Mar 2014, ??????? ? wrote: > > > > > > > The only critical component that's missing is gb.qt4.webkit. As indicated > > here[0], you need all the QT libs of version >= 4.5. > > > > Regards, > > Tobi > > > > > > Oh, seems like I installed QT5 instead! :-( > OK! I installed QT4 as well and here are the updated logs: > (This time, Gambas is running, although some parts of it are > disabled-not compiled. System specs are the same). > > http://pastebin.com/b6XbZyFQ > http://pastebin.com/LWnji1pH > http://pastebin.com/f3zfssGp > http://pastebin.com/vFYPLPB7 > > The problem remains the same. These missing components are non-critical to the functioning of Gambas. If you don't plan to use them, you don't need to compile them. If you want them anyways, look at the link I gave you in the previous mail. There you find the dependencies of all the components. Look up the missing components and install the listed dependencies. Note, however, that this may not be so easy as some distributions don't provide recent-enough packages, like gstreamer 1.0. (I'm using Arch Linux so I can only tell what I observed from dependency problems of other list users around here.) Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From giorgosk67 at ...626... Sun Mar 16 22:59:14 2014 From: giorgosk67 at ...626... (=?ISO-8859-7?B?w+n+8ePv8iDK?=) Date: Sun, 16 Mar 2014 23:59:14 +0200 Subject: [Gambas-user] 2 console questions. In-Reply-To: <20140316214041.GE583@...2774...> References: <20140315003807.GK688@...2774...> <20140316133425.GA583@...2774...> <20140316195618.GD583@...2774...> <20140316214041.GE583@...2774...> Message-ID: > > These missing components are non-critical to the functioning of Gambas. If > you don't plan to use them, you don't need to compile them. > > If you want them anyways, look at the link I gave you in the previous mail. > There you find the dependencies of all the components. Look up the missing > components and install the listed dependencies. > > Note, however, that this may not be so easy as some distributions don't > provide recent-enough packages, like gstreamer 1.0. (I'm using Arch Linux > so I can only tell what I observed from dependency problems of other list > users around here.) > > Regards, > Tobi > > -- Indeed! And Open SUSE don't has exactly the same terminology like Debian systems and I'm afraid it's a bit difficult to me, to find out more details. I think I'll leave it, as is. :-) THANKS!!! :-) G. From jscops at ...11... Mon Mar 17 08:11:44 2014 From: jscops at ...11... (Jack) Date: Mon, 17 Mar 2014 08:11:44 +0100 Subject: [Gambas-user] Create directory with ftpclient In-Reply-To: <20140316195618.GD583@...2774...> References: <20140315003807.GK688@...2774...> <20140316133425.GA583@...2774...> <20140316195618.GD583@...2774...> Message-ID: <5326A030.7000501@...11...> Hello all, is somebody know how create a directory with Ftpclient. I use this code : Dim Cmdmk As New String[] Cmdmk = ["mkdir " & "example"] Ftpclient.Exec(Cmdmk) I got an error 500 (unknow command) NB : In a console ftp, mkdir example, works. any suggestions would be greatly appreciated Jack From eilert-sprachen at ...221... Mon Mar 17 10:07:14 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 17 Mar 2014 10:07:14 +0100 Subject: [Gambas-user] 2 console questions. In-Reply-To: References: <20140315003807.GK688@...2774...> <20140316133425.GA583@...2774...> <20140316195618.GD583@...2774...> <20140316214041.GE583@...2774...> Message-ID: <5326BB42.9010504@...221...> Am 16.03.2014 22:59, schrieb ??????? ?: >> >> These missing components are non-critical to the functioning of Gambas. If >> you don't plan to use them, you don't need to compile them. >> >> If you want them anyways, look at the link I gave you in the previous mail. >> There you find the dependencies of all the components. Look up the missing >> components and install the listed dependencies. >> >> Note, however, that this may not be so easy as some distributions don't >> provide recent-enough packages, like gstreamer 1.0. (I'm using Arch Linux >> so I can only tell what I observed from dependency problems of other list >> users around here.) >> >> Regards, >> Tobi >> >> -- > > Indeed! And Open SUSE don't has exactly the same terminology like > Debian systems and I'm afraid it's a bit difficult to me, to find > out more details. > I think I'll leave it, as is. :-) > > THANKS!!! :-) > G. From my long-years experience with Suse, I usually have the developer tools (not only C compiler, but developer tools for qt and gtk) installed. Then I compile Gambas myself, and most libraries are already there. Rolf From eilert-sprachen at ...221... Mon Mar 17 10:20:21 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 17 Mar 2014 10:20:21 +0100 Subject: [Gambas-user] 2 console questions. In-Reply-To: References: Message-ID: <5326BE55.6010501@...221...> Now I will answer to your original questions: Am 15.03.2014 01:03, schrieb ??????? ?: > Hi! :-) > Thank you very much for this wonderful project! > > I just installed it and giving it a try. > I have 2 questions, console programming related. > > 1) Is there any command Input-like, that allows for a specific number > of characters input (without pressing Enter)? > Eg. lets say, I'm presenting the user a Y or N question. What I > expect, is a single character input (with no need, for pressing > Enter). There is getch(). Try it and tell me if it's what you're looking for. > > 2) Is there any way for coloring the text (eg. presenting a question > with red or green letters), other than messing with ncurses? > Something closer to BASIC tradition, maybe? > Ncurses is more or less complicated! :-) Long time ago, I made something like that for a Linux terminal. Let's look into Rolf's archive :-) Ok, maybe this helps. Here is one module I made which is for some screen functions. In a Linux terminal, you need Esc[ strings to handle this, and these strings are produced here. What you do is calling the functions and building the strings into the string you send to the terminal. If you have more questions, no problem... Rolf ' Gambas module file PRIVATE esc AS String = Chr$(27) & "[" PUBLIC CONST Black AS String = "0" PUBLIC CONST Red AS String = "1" PUBLIC CONST Green AS String = "2" PUBLIC CONST Yellow AS String = "3" PUBLIC CONST Blue AS String = "4" PUBLIC CONST Magenta AS String = "5" PUBLIC CONST Cyan AS String = "6" PUBLIC CONST White AS String = "7" PUBLIC CONST Foreground AS String = "3" PUBLIC CONST Background AS String = "4" PUBLIC FUNCTION Cls() AS String RETURN esc & "2J" & esc & "H" END PUBLIC FUNCTION Normal() AS String RETURN esc & "0m" END PUBLIC FUNCTION Bold() AS String RETURN esc & "1m" END PUBLIC FUNCTION Gray() AS String RETURN esc & "2m" END PUBLIC FUNCTION Underline() AS String RETURN esc & "4m" END PUBLIC FUNCTION Blink() AS String RETURN esc & "5m" END PUBLIC FUNCTION Reverse() AS String RETURN esc & "7m" END PUBLIC FUNCTION MoveTo(row AS Integer, col AS Integer) AS String IF row < 1 THEN row = 1 IF row > 25 THEN row = 25 IF col < 1 THEN col = 1 IF col > 80 THEN col = 80 RETURN esc & CStr(row) & ";" & CStr(col) & "f" END PUBLIC FUNCTION Color(FgBg AS String, Colorvalue AS String) AS String RETURN esc & FgBg & Colorvalue & "m" END From richard.j.walker at ...247... Mon Mar 17 09:32:37 2014 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Mon, 17 Mar 2014 08:32:37 +0000 Subject: [Gambas-user] Create directory with ftpclient In-Reply-To: <5326A030.7000501@...11...> References: <20140315003807.GK688@...2774...> <20140316133425.GA583@...2774...> <20140316195618.GD583@...2774...> <5326A030.7000501@...11...> Message-ID: Do you need a space between "mkdir" & "example"? From eilert-sprachen at ...221... Mon Mar 17 10:47:42 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 17 Mar 2014 10:47:42 +0100 Subject: [Gambas-user] 2 console questions. In-Reply-To: References: Message-ID: <5326C4BE.70300@...221...> Stop! Forget about getch(), that's a C function, of course... Try something like this: PUBLIC SUB Application_Read() DIM t$ AS String PRINT "hello there" READ #LAST, t$, -256 't$ = READ -256 IF t$ <> "" THEN PRINT t$ & " : "; END IF txt = txt & t$ SELECT CASE txt CASE "b" PRINT Chr$(27) & "[1m"; CASE ELSE PRINT "gedr?ckt:" & txt; END SELECT txt = "" END Am 15.03.2014 01:03, schrieb ??????? ?: > Hi! :-) > Thank you very much for this wonderful project! > > I just installed it and giving it a try. > I have 2 questions, console programming related. > > 1) Is there any command Input-like, that allows for a specific number > of characters input (without pressing Enter)? > Eg. lets say, I'm presenting the user a Y or N question. What I > expect, is a single character input (with no need, for pressing > Enter). > > 2) Is there any way for coloring the text (eg. presenting a question > with red or green letters), other than messing with ncurses? > Something closer to BASIC tradition, maybe? > Ncurses is more or less complicated! :-) > > TIA! :-) > Giorgos. > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From shordi at ...626... Mon Mar 17 11:26:55 2014 From: shordi at ...626... (=?ISO-8859-1?Q?Jorge_Carri=F3n?=) Date: Mon, 17 Mar 2014 11:26:55 +0100 Subject: [Gambas-user] Create directory with ftpclient In-Reply-To: <5326A030.7000501@...11...> References: <20140315003807.GK688@...2774...> <20140316133425.GA583@...2774...> <20140316195618.GD583@...2774...> <5326A030.7000501@...11...> Message-ID: This ftpc.Exec(["MKD " & "newfoldername"]) Works for me. Hope this helps. Regards 2014-03-17 8:11 GMT+01:00 Jack : > Hello all, > > is somebody know how create a directory with Ftpclient. > I use this code : > > Dim Cmdmk As New String[] > Cmdmk = ["mkdir " & "example"] > Ftpclient.Exec(Cmdmk) > > I got an error 500 (unknow command) > > NB : In a console ftp, mkdir example, works. > > any suggestions would be greatly appreciated > > Jack > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Mon Mar 17 12:35:38 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 17 Mar 2014 12:35:38 +0100 Subject: [Gambas-user] Create directory with ftpclient In-Reply-To: References: <20140315003807.GK688@...2774...> <20140316133425.GA583@...2774...> <20140316195618.GD583@...2774...> <5326A030.7000501@...11...> Message-ID: <20140317113538.GA511@...2774...> On Mon, 17 Mar 2014, Jorge Carri?n wrote: > This > > ftpc.Exec(["MKD " & "newfoldername"]) > > Works for me. > Hope this helps. Yeah. You must know that the program "ftp" lets you enter commands which don't appear in the FTP specification. It then maps these strings to the actual commands, like "mkdir" (descriptive name) which is mapped to "MKD" (less descriptive but the actual name of the FTP command). The Gambas FtpClient won't do that for you - be it just because it is not standard. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From jscops at ...11... Mon Mar 17 14:22:03 2014 From: jscops at ...11... (Jack) Date: Mon, 17 Mar 2014 14:22:03 +0100 Subject: [Gambas-user] Create directory with ftpclient In-Reply-To: References: <20140315003807.GK688@...2774...> <20140316133425.GA583@...2774...> <20140316195618.GD583@...2774...> <5326A030.7000501@...11...> Message-ID: <5326F6FB.70200@...11...> Le 17/03/2014 11:26, Jorge Carri?n a ?crit : > This > > ftpc.Exec(["MKD " & "newfoldername"]) > > Works for me. > Hope this helps. > Regards Ah ? mkd instead of mkdir. it's work for me too now. Thank's Jorge From jscops at ...11... Mon Mar 17 14:24:30 2014 From: jscops at ...11... (Jack) Date: Mon, 17 Mar 2014 14:24:30 +0100 Subject: [Gambas-user] Create directory with ftpclient In-Reply-To: <20140317113538.GA511@...2774...> References: <20140315003807.GK688@...2774...> <20140316133425.GA583@...2774...> <20140316195618.GD583@...2774...> <5326A030.7000501@...11...> <20140317113538.GA511@...2774...> Message-ID: <5326F78E.1030006@...11...> Le 17/03/2014 12:35, Tobias Boege a ?crit : > On Mon, 17 Mar 2014, Jorge Carri?n wrote: >> This >> >> ftpc.Exec(["MKD " & "newfoldername"]) >> >> Works for me. >> Hope this helps. > > Yeah. You must know that the program "ftp" lets you enter commands which > don't appear in the FTP specification. It then maps these strings to the > actual commands, like "mkdir" (descriptive name) which is mapped to "MKD" > (less descriptive but the actual name of the FTP command). > > The Gambas FtpClient won't do that for you - be it just because it is not > standard. > > Regards, > Tobi > thank you for your explanations Tobias, it is clearer to me now Jack From iss_boss at ...770... Mon Mar 17 14:48:57 2014 From: iss_boss at ...770... (ISS Boss) Date: Mon, 17 Mar 2014 09:48:57 -0400 Subject: [Gambas-user] Create directory with ftpclient In-Reply-To: References: <20140315003807.GK688@...2774...> <20140316133425.GA583@...2774...> <20140316195618.GD583@...2774...> <5326A030.7000501@...11...> Message-ID: <5326FD49.4030000@...770...> He already has a space between them. Check the quoted strings closely. RICHARD WALKER wrote, On 03/17/2014 04:32: Do you need a space between "mkdir" & "example"? ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! [1]http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Gambas-user mailing list [2]Gambas-user at lists.sourceforge.net [3]https://lists.sourceforge.net/lists/listinfo/gambas-user References 1. http://p.sf.net/sfu/13534_NeoTech 2. mailto:Gambas-user at lists.sourceforge.net 3. https://lists.sourceforge.net/lists/listinfo/gambas-user From giorgosk67 at ...626... Mon Mar 17 15:11:43 2014 From: giorgosk67 at ...626... (=?ISO-8859-7?B?w+n+8ePv8iDK?=) Date: Mon, 17 Mar 2014 16:11:43 +0200 Subject: [Gambas-user] 2 console questions. In-Reply-To: <5326BB42.9010504@...221...> References: <20140315003807.GK688@...2774...> <20140316133425.GA583@...2774...> <20140316195618.GD583@...2774...> <20140316214041.GE583@...2774...> <5326BB42.9010504@...221...> Message-ID: > > From my long-years experience with Suse, I usually have the developer > tools (not only C compiler, but developer tools for qt and gtk) > installed. Then I compile Gambas myself, and most libraries are already > there. > > Rolf > > THANKS A LOT Rolf, for your help!!! :-) Installation problem, seems to be solved for the time being. The main problem is, that currently Gambas seems to have a problem on Open SUSE, with ncurses programming. The external console seems not to work for me (and the built-in, is not meant for ncurses stuff). OK! Working with GUI is great and we're in 2014 of course! :-) But for me not wasting my time, for writing beautiful GUIs is critical. I prefer to write the program, with the functionality that I need and launching it from konsole. More or less, I'm using BASIC as an alternate ( 1) easier to a) program and b) use and 2) more complete) option to bash scripting. Ncurses seems to be the only way in Gambas, for various cosmetic and functional improvements for text based programs (eg. for coloring the output), so the (currently in non-working state, for me) external terminal emulator, is a must. :-( THANKS AGAIN!!! Giorgos. :-) From willy at ...2734... Tue Mar 18 16:45:54 2014 From: willy at ...2734... (Willy Raets) Date: Tue, 18 Mar 2014 16:45:54 +0100 Subject: [Gambas-user] Updated Ubuntu installation instructions Message-ID: <1395157554.4343.5.camel@...3024...> Hi all, I have just updated the Ubuntu installation instructions for Ubuntu in the Gambas Wiki as compiling was still for Gambas < 3.5.x (http://gambaswiki.org/wiki/install/ubuntu) I added instructions for compiling and installing Gambas 3.5.x and trunk and reorganised the page and index. Also added some notes on how to figure out if dependencies are available for your specific Ubuntu distribution version. If you find any irregularities in the instructions, please let me know so I can correct them. -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From vuott at ...325... Tue Mar 18 20:56:31 2014 From: vuott at ...325... (Ru Vuott) Date: Tue, 18 Mar 2014 19:56:31 +0000 (GMT) Subject: [Gambas-user] Gambas-3: MovieBox doesn't exist, but it exists.... Message-ID: <1395172591.9744.YahooMailBasic@...3273...> Hello, just a curiosity: in official documentation http://gambasdoc.org/help/comp/gb.qt/moviebox?v3 MovieBox component does not seem to exist, but in fact it exists and it can be used in applications. Maybe it has yet to be written concerning the page in the documentation? Regards vuott From gambas at ...1... Tue Mar 18 21:04:53 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 18 Mar 2014 21:04:53 +0100 Subject: [Gambas-user] Gambas-3: MovieBox doesn't exist, but it exists.... In-Reply-To: <1395172591.9744.YahooMailBasic@...3273...> References: <1395172591.9744.YahooMailBasic@...3273...> Message-ID: <5328A6E5.4090505@...1...> Le 18/03/2014 20:56, Ru Vuott a ?crit : > Hello, > > just a curiosity: in official documentation > http://gambasdoc.org/help/comp/gb.qt/moviebox?v3 > MovieBox component does not seem to exist, but in fact it exists and it can be used in applications. > > Maybe it has yet to be written concerning the page in the documentation? > > Regards > vuott > The documentation is there now: http://gambaswiki.org/wiki/comp/gb.qt4/moviebox -- Beno?t Minisini From vuott at ...325... Wed Mar 19 00:58:37 2014 From: vuott at ...325... (Ru Vuott) Date: Tue, 18 Mar 2014 23:58:37 +0000 (GMT) Subject: [Gambas-user] Gambas-3: MovieBox doesn't exist, but it exists.... In-Reply-To: <5328A6E5.4090505@...1...> Message-ID: <1395187117.8044.YahooMailBasic@...3274...> Well, thank you, Beno?t. bye vuottttt -------------------------------------------- Mar 18/3/14, Beno?t Minisini ha scritto: Oggetto: Re: [Gambas-user] Gambas-3: MovieBox doesn't exist, but it exists.... A: "mailing list for gambas users" Data: Marted? 18 marzo 2014, 21:04 Le 18/03/2014 20:56, Ru Vuott a ?crit : > Hello, > > just a curiosity: in official documentation >? ? http://gambasdoc.org/help/comp/gb.qt/moviebox?v3 > MovieBox component does not seem to exist, but in fact it exists and it can be used in applications. > > Maybe it has yet to be written concerning the page in the documentation? > > Regards > vuott > The documentation is there now: http://gambaswiki.org/wiki/comp/gb.qt4/moviebox -- Beno?t Minisini ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From riccardo.giudici at ...626... Wed Mar 19 14:59:07 2014 From: riccardo.giudici at ...626... (kungfupanda) Date: Wed, 19 Mar 2014 06:59:07 -0700 (PDT) Subject: [Gambas-user] gb.report page number Message-ID: <1395237547500-45993.post@...3046...> Hi, I've a simple question...I don't know how to obtain the current page number in my gb.report. I can use reportname.Pagecount to know how many pages I have in my report but I don't know how to obtain the number of the current page... someone can help me ?? Thanks -- View this message in context: http://gambas.8142.n7.nabble.com/gb-report-page-number-tp45993.html Sent from the gambas-user mailing list archive at Nabble.com. From t.lee.davidson at ...626... Wed Mar 19 23:59:23 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Wed, 19 Mar 2014 18:59:23 -0400 Subject: [Gambas-user] TableView.Edit: Save event not triggered by ENTER key Message-ID: <532A214B.5000805@...626...> In the Gambas3 Documentation at http://www.gambasdoc.org/help/comp/gb.form/tableview?v3 it says: "Hitting the ENTER or the RETURN key moves to the next cell like the right arrow key. But if the end of the TableView is reached, the Insert event is raised." I surmised that this will trigger the Save event. But the ENTER key (on the numeric keypad) does not trigger the Save event. Is this and error in the Docs, or a bug, or something else I may have missed? Thanks, Lee P.S. On semi-related note, That page also says, "If the user modifies the cell contents, then the Save event is raised, and you must actually save the data during the Save event handler. This is not automatic!" Not realizing exactly what, "save the data," meant, I called TableView.Save from within the Save event to save the data. I got a Stack Overflow error. Duh. The data just needs to be written to the TableView cell as in "TableView1[Row, Column].Text = Value". From gambas.fr at ...626... Thu Mar 20 09:37:30 2014 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 20 Mar 2014 09:37:30 +0100 Subject: [Gambas-user] gb.report page number In-Reply-To: <1395237547500-45993.post@...3046...> References: <1395237547500-45993.post@...3046...> Message-ID: In report label ckeck usefield to true Then in the text add $PAGE to get the current page number and $PAGES to get the total pages Le 19 mars 2014 15:00, "kungfupanda" a ?crit : > Hi, > > I've a simple question...I don't know how to obtain the current page number > in my gb.report. > I can use reportname.Pagecount to know how many pages I have in my report > but I don't know how to obtain the number of the current page... someone > can > help me ?? > > Thanks > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/gb-report-page-number-tp45993.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From vkanatas13 at ...626... Thu Mar 20 10:57:36 2014 From: vkanatas13 at ...626... (Vasilis Kanatas) Date: Thu, 20 Mar 2014 11:57:36 +0200 Subject: [Gambas-user] Yet another simple printing question ! Message-ID: Hello, I just jumped into Gambas 3 and my printing procedures that worked fine in Gambas 2 do not work anymore! Thus, my question is easy. I want to print a form as it is! With its labels etc.. I have looked the examples and managed to make a printing routine that only prints white paper!! Why? Here's the code: -------------------------------------------------------------------- Private $hImage As Image Public Sub Form_Open() Me.Center Try $hImage = Me.Grab.Image End Public Sub Printer1_Draw() Dim hImage As Image If Not $hImage Then Return hImage = $hImage Paint.DrawImage(hImage) End Public Sub PrintButton_Click() If Printer1.Configure() Then Return Me.Enabled = False Inc Application.Busy Printer1.Print Dec Application.Busy Me.Enabled = True End -------------------------------------------------------------------- Thank you! Vasilis From eilert-sprachen at ...221... Thu Mar 20 18:27:37 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Thu, 20 Mar 2014 18:27:37 +0100 Subject: [Gambas-user] Yet another simple printing question ! In-Reply-To: References: Message-ID: <532B2509.4080007@...221...> Vasilis, I've got to leave the office now, but at a quick glance: > Private $hImage As Image Shouldn't this be As New Image? > > > Public Sub Form_Open() > Me.Center > Try $hImage = Me.Grab.Image > End > > Public Sub Printer1_Draw() > > Dim hImage As Image And maybe the same here? Regards Rolf > > If Not $hImage Then Return > hImage = $hImage > Paint.DrawImage(hImage) > > End > > Public Sub PrintButton_Click() > > If Printer1.Configure() Then Return > > Me.Enabled = False > Inc Application.Busy > Printer1.Print > Dec Application.Busy > Me.Enabled = True > > End > -------------------------------------------------------------------- > > Thank you! > Vasilis > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From richard.j.walker at ...247... Thu Mar 20 18:25:20 2014 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Thu, 20 Mar 2014 17:25:20 +0000 Subject: [Gambas-user] Create directory with ftpclient In-Reply-To: <5326FD49.4030000@...770...> References: <20140315003807.GK688@...2774...> <20140316133425.GA583@...2774...> <20140316195618.GD583@...2774...> <5326A030.7000501@...11...> <5326FD49.4030000@...770...> Message-ID: Got it. I'll use my glasses next time - better than squinting at a blur on the screen. R From vkanatas13 at ...626... Thu Mar 20 22:55:56 2014 From: vkanatas13 at ...626... (Vasilis Kanatas) Date: Thu, 20 Mar 2014 23:55:56 +0200 Subject: [Gambas-user] Yet another simple printing question ! In-Reply-To: <532B2509.4080007@...221...> References: <532B2509.4080007@...221...> Message-ID: Thanks Rolf-Werner, I tried Private $hImage As New Image and had the same result ! Printing white page! What I want is to print the labels of a form or ScrollArea!! I also tried to change the *Printing Example of Gambas 3* to make it work for my issue. Here's what I did (3 steps): 1......I've changed Form_load as following to Grab the contents of srcImage.ScrollArea: Public Sub Form_Open() Me.Center txtText.Text = File.Load("molly-malone.txt") txtFontText.Text = Font["17"].ToString() Try $hImage = scrImage.Grab ' $hImage = New Image(scrImage.Width, scrImage.Height) 'scrImage.ResizeContents($hImage.W, $hImage.H) 'scrImage.Refresh End 2.......Inside the scrImage.ScrollArea I placed some labels, ie Label1.label, Label2.label etc. 3.......I commented out the load picture (because the main purpose is to print the context,ie the Labels that I placed inside, of srcImage.ScrollArea) as following: Public Sub btnOpenImage_Click() ' Dialog.Title = "Select an image file" ' Dialog.Filter = ["*.png;*.jpg;*.jpeg;*.gif;*.xpm", "Image files"] ' If Dialog.OpenFile() Then Return Try $hImage = Image.Load(Dialog.Path) scrImage.ResizeContents($hImage.W, $hImage.H) scrImage.Refresh End But still got blanc page printed. (The printing example works fine in its initial form) Attached is the Changed Code On Thu, Mar 20, 2014 at 7:27 PM, Rolf-Werner Eilert < eilert-sprachen at ...221...> wrote: > Vasilis, > > I've got to leave the office now, but at a quick glance: > > > Private $hImage As Image > > Shouldn't this be As New Image? > > > > > > > Public Sub Form_Open() > > Me.Center > > Try $hImage = Me.Grab.Image > > End > > > > Public Sub Printer1_Draw() > > > > Dim hImage As Image > > And maybe the same here? > > Regards > Rolf > > > > > If Not $hImage Then Return > > hImage = $hImage > > Paint.DrawImage(hImage) > > > > End > > > > Public Sub PrintButton_Click() > > > > If Printer1.Configure() Then Return > > > > Me.Enabled = False > > Inc Application.Busy > > Printer1.Print > > Dec Application.Busy > > Me.Enabled = True > > > > End > > -------------------------------------------------------------------- > > > > Thank you! > > Vasilis > > > ------------------------------------------------------------------------------ > > Learn Graph Databases - Download FREE O'Reilly Book > > "Graph Databases" is the definitive new guide to graph databases and > their > > applications. Written by three acclaimed leaders in the field, > > this first edition is now available. Download your free book today! > > http://p.sf.net/sfu/13534_NeoTech > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- ' Gambas class file Private $hImage As Image Public Sub Form_Open() Me.Center txtText.Text = File.Load("molly-malone.txt") txtFontText.Text = Font["17"].ToString() Try $hImage = scrImage.Grab ' $hImage = New Image(scrImage.Width, scrImage.Height) 'scrImage.ResizeContents($hImage.W, $hImage.H) 'scrImage.Refresh End Private Sub GetText() As String Dim sText As String sText = txtText.Text If Not btnRichText.Value Then sText = Replace(Html(sText), "\n", "
") Return sText End Private Sub RefreshText() Dim hFont As Font = Font[txtFontText.Text] Dim sText As String = GetText() scrText.ResizeContents(scrText.ClientW, hFont.RichTextHeight(sText, scrText.ClientW - 16) + 16) scrText.Refresh End Public Sub scrText_Draw() Dim sText As String = GetText() Draw.FillRect(0, 0, Draw.W, Draw.H, Color.TextBackground) Try Draw.Font = Font[txtFontText.Text] Draw.Translate(- scrText.ScrollX, - scrText.ScrollY) Draw.RichText(sText, 8, 8, scrText.ClientW - 16, scrText.ClientH - 16, Align.TopNormal) End Public Sub btnRichText_Click() RefreshText End Public Sub txtText_Change() RefreshText End Public Sub txtFontText_Click() Dialog.Title = "Select a font" Dialog.Font = Font[txtFontText.Text] If Dialog.SelectFont() Then Return txtFontText.Text = Dialog.Font.ToString() RefreshText End Public Sub scrText_Arrange() RefreshText End Public Sub btnOpenText_Click() Dialog.Title = "Select a text file" If Dialog.OpenFile() Then Return Try txtText.Text = File.Load(Dialog.Path) End Public Sub btnPrintText_Click() If prtText.Configure() Then Return Me.Enabled = False Inc Application.Busy prtText.Print Dec Application.Busy Me.Enabled = True End Public Sub prtText_Begin() Dim PRINT_MARGIN As Float = Paint.Width / prtText.PaperWidth * 10 Dim hExtents As PaintExtents Paint.Font = Font[txtFontText.Text] hExtents = Paint.RichTextExtents(GetText(), Paint.Width - PRINT_MARGIN * 2) prtText.Count = Ceil(hExtents.Height / (Paint.Height - PRINT_MARGIN * 2)) End Public Sub prtText_Draw() Dim PRINT_MARGIN As Float = Paint.Width / prtText.PaperWidth * 10 Debug "Printing page";; prtText.Page Paint.Font = Font[txtFontText.Text] Paint.Rectangle(PRINT_MARGIN / 2, PRINT_MARGIN / 2, Paint.Width - PRINT_MARGIN, Paint.Height - PRINT_MARGIN) Paint.LineWidth = Paint.Width / prtText.PaperWidth * 0.5 Paint.Stroke Paint.Rectangle(PRINT_MARGIN, PRINT_MARGIN, Paint.Width - PRINT_MARGIN * 2, Paint.Height - PRINT_MARGIN * 2) Paint.Clip Paint.DrawRichText(GetText(), PRINT_MARGIN, PRINT_MARGIN - (prtText.Page - 1) * (Paint.Height - PRINT_MARGIN * 2), Paint.Width - PRINT_MARGIN * 2, Paint.Height * prtText.Count, Align.TopNormal) Paint.ResetClip End Public Sub btnOpenImage_Click() ' Dialog.Title = "Select an image file" ' Dialog.Filter = ["*.png;*.jpg;*.jpeg;*.gif;*.xpm", "Image files"] ' If Dialog.OpenFile() Then Return Try $hImage = Image.Load(Dialog.Path) scrImage.ResizeContents($hImage.W, $hImage.H) scrImage.Refresh End Public Sub scrImage_Draw() If $hImage Then Draw.Image($hImage, - scrImage.ScrollX, - scrImage.ScrollY) End Public Sub btnPrintImage_Click() If prtImage.Configure() Then Return Me.Enabled = False Inc Application.Busy prtImage.Print Dec Application.Busy Me.Enabled = True End Public Sub prtImage_Draw() Dim PRINT_MARGIN As Float = Paint.Width / prtText.PaperWidth * 10 Dim hImage As Image Dim W, H As Float If Not $hImage Then Return hImage = $hImage If hImage.Width > hImage.Height Then hImage = hImage.Rotate(Pi(0.5)) W = Paint.Width - PRINT_MARGIN * 2 H = W * hImage.Height / hImage.Width Paint.DrawImage(hImage, PRINT_MARGIN, (Paint.Height - H) / 2, W, H) End From taboege at ...626... Fri Mar 21 12:42:45 2014 From: taboege at ...626... (Tobias Boege) Date: Fri, 21 Mar 2014 12:42:45 +0100 Subject: [Gambas-user] Yet another simple printing question ! In-Reply-To: References: <532B2509.4080007@...221...> Message-ID: <20140321114245.GA630@...2774...> On Thu, 20 Mar 2014, Vasilis Kanatas wrote: > Thanks Rolf-Werner, > > I tried > Private $hImage As New Image > and had the same result ! Printing white page! > > What I want is to print the labels of a form or ScrollArea!! > > I also tried to change the *Printing Example of Gambas 3* to make it work > for my issue. Here's what I did (3 steps): > > 1......I've changed Form_load as following to Grab the contents of > srcImage.ScrollArea: > > Public Sub Form_Open() > > Me.Center > > txtText.Text = File.Load("molly-malone.txt") > txtFontText.Text = Font["17"].ToString() > Try $hImage = scrImage.Grab > ' $hImage = New Image(scrImage.Width, scrImage.Height) > > 'scrImage.ResizeContents($hImage.W, $hImage.H) > 'scrImage.Refresh > > End > OK, you come immediately from Gambas 2, right? Control.Grab() worked completely differently in Gambas 2. It took a screenshot of the control, as you know. In Gambas 3 it grabs the mouse and keyboard of the program, so that all mouse and keyboard events produced are raised under that control's event name. Look it up in the documentation[0]. So no wonder that your page remains empty, as the image you are painting is also empty. You noticed that there was some problem with Grab(), right? You use Try on the Grab() line because it would otherwise raise an error. That's an indication to look at the documentation, especially if you use a new major version the first time :-) Regards, Tobi [0] http://gambaswiki.org/wiki/comp/gb.qt4/control/grab -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From vkanatas13 at ...626... Fri Mar 21 16:57:21 2014 From: vkanatas13 at ...626... (Vasilis Kanatas) Date: Fri, 21 Mar 2014 17:57:21 +0200 Subject: [Gambas-user] Yet another simple printing question ! In-Reply-To: <20140321114245.GA630@...2774...> References: <532B2509.4080007@...221...> <20140321114245.GA630@...2774...> Message-ID: Thanks Tobi, I tried to find a solution in order to print Labels that I placed into a ScrollArea. It is obvious that it only prints the background of the ScrollArea and not the Labels or Buttons or anything other that I put there in design time. So the problem remains! How can I place data on a form (or any container of this form) and then print them as I see them? Actually I only want to place text in Labels and then get a print (a receipt) On Fri, Mar 21, 2014 at 1:42 PM, Tobias Boege wrote: > On Thu, 20 Mar 2014, Vasilis Kanatas wrote: > > Thanks Rolf-Werner, > > > > I tried > > Private $hImage As New Image > > and had the same result ! Printing white page! > > > > What I want is to print the labels of a form or ScrollArea!! > > > > I also tried to change the *Printing Example of Gambas 3* to make it work > > for my issue. Here's what I did (3 steps): > > > > 1......I've changed Form_load as following to Grab the contents of > > srcImage.ScrollArea: > > > > Public Sub Form_Open() > > > > Me.Center > > > > txtText.Text = File.Load("molly-malone.txt") > > txtFontText.Text = Font["17"].ToString() > > Try $hImage = scrImage.Grab > > ' $hImage = New Image(scrImage.Width, scrImage.Height) > > > > 'scrImage.ResizeContents($hImage.W, $hImage.H) > > 'scrImage.Refresh > > > > End > > > > OK, you come immediately from Gambas 2, right? Control.Grab() worked > completely differently in Gambas 2. It took a screenshot of the control, > as you know. > > In Gambas 3 it grabs the mouse and keyboard of the program, so that all > mouse and keyboard events produced are raised under that control's event > name. Look it up in the documentation[0]. > > So no wonder that your page remains empty, as the image you are painting > is also empty. You noticed that there was some problem with Grab(), right? > You use Try on the Grab() line because it would otherwise raise an error. > That's an indication to look at the documentation, especially if you use a > new major version the first time :-) > > Regards, > Tobi > > [0] http://gambaswiki.org/wiki/comp/gb.qt4/control/grab > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Fri Mar 21 17:18:25 2014 From: taboege at ...626... (Tobias Boege) Date: Fri, 21 Mar 2014 17:18:25 +0100 Subject: [Gambas-user] Yet another simple printing question ! In-Reply-To: References: <532B2509.4080007@...221...> <20140321114245.GA630@...2774...> Message-ID: <20140321161825.GC630@...2774...> On Fri, 21 Mar 2014, Vasilis Kanatas wrote: > Thanks Tobi, > > I tried to find a solution in order to print Labels that I placed into a > ScrollArea. > It is obvious that it only prints the background of the ScrollArea and not > the Labels or Buttons or anything other that I put there in design time. > > So the problem remains! Yes, I told you what your problem is, not how to solve it, hoping you could figure it out yourself. > How can I place data on a form (or any container of this form) and then > print them as I see them? > Actually I only want to place text in Labels and then get a print (a > receipt) > If you want to use that method, the only way I see is to capture a screenshot of your program or desktop and then cut it appropriately. We already did this as a replica for Gambas 2's Control.Grab() but it is inherently inexact. We used the following code: Public Function ActiveGrab() As Picture With New DesktopWindow(Desktop.ActiveWindow) Return Desktop.Screenshot(.X, .Y, .W, .H) End With End together with the Desktop facilities from gb.desktop. BUT, there is gb.report which I have never used but from what I heard here on the list seems EXACTLY what you need... Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From vkanatas13 at ...626... Fri Mar 21 18:59:32 2014 From: vkanatas13 at ...626... (Vasilis Kanatas) Date: Fri, 21 Mar 2014 19:59:32 +0200 Subject: [Gambas-user] Yet another simple printing question ! In-Reply-To: <20140321161825.GC630@...2774...> References: <532B2509.4080007@...221...> <20140321114245.GA630@...2774...> <20140321161825.GC630@...2774...> Message-ID: Thanks Tobi!! You are right gb.report is a very flexible way to print reports! I used to work with Gambas 2 and could not imagine it! I had to add gb.report element to my project though! I am not very fond of discovering everything by myself! We all implement our ancestors experience in one way or another! On Fri, Mar 21, 2014 at 6:18 PM, Tobias Boege wrote: > On Fri, 21 Mar 2014, Vasilis Kanatas wrote: > > Thanks Tobi, > > > > I tried to find a solution in order to print Labels that I placed into a > > ScrollArea. > > It is obvious that it only prints the background of the ScrollArea and > not > > the Labels or Buttons or anything other that I put there in design time. > > > > So the problem remains! > > Yes, I told you what your problem is, not how to solve it, hoping you could > figure it out yourself. > > > How can I place data on a form (or any container of this form) and then > > print them as I see them? > > Actually I only want to place text in Labels and then get a print (a > > receipt) > > > > If you want to use that method, the only way I see is to capture a > screenshot of your program or desktop and then cut it appropriately. We > already did this as a replica for Gambas 2's Control.Grab() but it is > inherently inexact. We used the following code: > > Public Function ActiveGrab() As Picture > With New DesktopWindow(Desktop.ActiveWindow) > Return Desktop.Screenshot(.X, .Y, .W, .H) > End With > End > > together with the Desktop facilities from gb.desktop. > > BUT, there is gb.report which I have never used but from what I heard here > on the list seems EXACTLY what you need... > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Fri Mar 21 19:09:49 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 21 Mar 2014 18:09:49 +0000 Subject: [Gambas-user] Issue 516 in gambas: bug BSet -1 Message-ID: <0-6813199134517018827-4259934735021452923-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-3.1.0 Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 516 by rezeden... at ...626...: bug BSet -1 http://code.google.com/p/gambas/issues/detail?id=516 1) Function BSet does not work with negative numbers (?? ???????? ? ?????????????? ???????) 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: 3.1.1 (ropo debian stable) Revision: r1234 (if you use a development version) Operating system: Linux / FreeBSD Distribution: Debian 7 Architecture: x86 GUI component: QT4 / GTK+ Desktop used: XFCE 3) Not. Is one line code. 4) Not database 5) ?????? ???????? ??? ??????. 6) Okay. An error occurs in the code (?????? ????????? ? ????) r = BSet(r, a - 1) if r=-1 , r=True, the function will not fit manipulates bit. And ignores the operation. (?? ??????? ?? ???????????? ?????? ?????. ? ?????????? ????????.) However, I was able to overcome his project is writing a string. (?????? ? ???? ? ????? ??????? ?????????? ??? ??????? ??????.) If r = True Then r = False Link to the same class in my project (?????? ?? ??? ????? ????? ? ???? ???????) https://github.com/killofwin/star-e/blob/master/.src/editor-2d/Editor2D.class I hope I wrote it right, the first time I write in such a project bugtracker and bad know English. (??????? ? ??????? ??? ?????????, ?????? ??? ???? ? ????????? ?????? ??????? ? ????? ?????? ??????????.) -- 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... Fri Mar 21 19:23:08 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 21 Mar 2014 18:23:08 +0000 Subject: [Gambas-user] Issue 516 in gambas: bug BSet -1 In-Reply-To: <0-6813199134517018827-4259934735021452923-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-4259934735021452923-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-4259934735021452923-gambas=googlecode.com@...2524...> Comment #1 on issue 516 by benoit.m... at ...626...: bug BSet -1 http://code.google.com/p/gambas/issues/detail?id=516 If r=-1, all bits are set, so BSet will do nothing. Everything is normal, isn't it? -- 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 22 09:08:29 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 22 Mar 2014 08:08:29 +0000 Subject: [Gambas-user] Issue 516 in gambas: bug BSet -1 In-Reply-To: <1-6813199134517018827-4259934735021452923-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-4259934735021452923-gambas=googlecode.com@...2524...> <0-6813199134517018827-4259934735021452923-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-4259934735021452923-gambas=googlecode.com@...2524...> Comment #2 on issue 516 by rezeden... at ...626...: bug BSet -1 http://code.google.com/p/gambas/issues/detail?id=516 Copy what happens in the debug console. (??????? ?? ??? ?????????? ? ???? ? ??????? ???????.) ? bset(-1,2) -1 I do not know this bug or feature and should not work with negative numbers. (? ?? ???? ?????? ??? ??? ??????? ? ?? ?????? ???????? ? ?????????????? ???????.) -- 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 jussi.lahtinen at ...626... Sat Mar 22 15:55:23 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 22 Mar 2014 16:55:23 +0200 Subject: [Gambas-user] Issue 516 in gambas: bug BSet -1 In-Reply-To: <2-6813199134517018827-4259934735021452923-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-4259934735021452923-gambas=googlecode.com@...2524...> <1-6813199134517018827-4259934735021452923-gambas=googlecode.com@...2524...> <2-6813199134517018827-4259934735021452923-gambas=googlecode.com@...2524...> Message-ID: I does work with negative numbers, but I don't think you understand how binary system works with negative numbers. ? bin(-1,8) 11111111 ? bin(-2,8) 11111110 ? bset(-2,0) -1 ? bin(bset(-2,0),8) 11111111 Perhaps you are looking for BClr? http://www.gambasdoc.org/help/lang/bclr?v3 ? bin(bclr(-1,0),8) 11111110 ? bclr(-1,2) -5 On Sat, Mar 22, 2014 at 10:08 AM, wrote: > > Comment #2 on issue 516 by rezeden... at ...626...: bug BSet -1 > http://code.google.com/p/gambas/issues/detail?id=516 > > Copy what happens in the debug console. (??????? ?? ??? ?????????? ? ???? ? > ??????? ???????.) > > ? bset(-1,2) > -1 > > I do not know this bug or feature and should not work with negative > numbers. (? ?? ???? ?????? ??? ??? ??????? ? ?? ?????? ???????? ? > ?????????????? ???????.) > > -- > 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 > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/13534_NeoTech > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Sat Mar 22 15:55:59 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 22 Mar 2014 14:55:59 +0000 Subject: [Gambas-user] Issue 516 in gambas: bug BSet -1 In-Reply-To: <2-6813199134517018827-4259934735021452923-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-4259934735021452923-gambas=googlecode.com@...2524...> <0-6813199134517018827-4259934735021452923-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-4259934735021452923-gambas=googlecode.com@...2524...> Comment #3 on issue 516 by jussi.la... at ...626...: bug BSet -1 http://code.google.com/p/gambas/issues/detail?id=516 I does work with negative numbers, but I don't think you understand how binary system works with negative numbers. ? bin(-1,8) 11111111 ? bin(-2,8) 11111110 ? bset(-2,0) -1 ? bin(bset(-2,0),8) 11111111 Perhaps you are looking for BClr? http://www.gambasdoc.org/help/lang/bclr?v3 ? bin(bclr(-1,0),8) 11111110 ? bclr(-1,2) -5 -- 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 jussi.lahtinen at ...626... Sun Mar 23 02:46:10 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 23 Mar 2014 03:46:10 +0200 Subject: [Gambas-user] Debugging problem Message-ID: Problem demonstration attached. If you run the code step by step you will get different result, than running it normally. I think it's because collection key reference changes by IDE's debugging view. Is this fixable? Jussi -------------- next part -------------- A non-text attachment was scrubbed... Name: DebuggingProb-0.0.1.tar.gz Type: application/x-gzip Size: 4793 bytes Desc: not available URL: From gambas at ...2524... Sun Mar 23 12:36:44 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 23 Mar 2014 11:36:44 +0000 Subject: [Gambas-user] Issue 516 in gambas: bug BSet -1 In-Reply-To: <3-6813199134517018827-4259934735021452923-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-4259934735021452923-gambas=googlecode.com@...2524...> <0-6813199134517018827-4259934735021452923-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-4259934735021452923-gambas=googlecode.com@...2524...> Comment #4 on issue 516 by rezeden... at ...626...: bug BSet -1 http://code.google.com/p/gambas/issues/detail?id=516 >> I does work with negative numbers, but I don't think you understand how >> binary system works with negative numbers. Negative numbers are inverted, all bits, not just the sign bit? (? ??? ????? ??? ? ????????????? ????? ????????????? ??? ????,? ?? ?????? ??? ??????) -- 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 eilert-sprachen at ...221... Mon Mar 24 15:53:28 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 24 Mar 2014 15:53:28 +0100 Subject: [Gambas-user] ncurses help texts missing In-Reply-To: <20140205171535.GD8944@...2774...> References: <52F097FE.7010808@...221...> <20140204084654.GA515@...2774...> <52F11E53.8020802@...221...> <20140204171312.GF515@...2774...> <20140204204305.GG515@...2774...> <20140205171535.GD8944@...2774...> Message-ID: <533046E8.8020304@...221...> Am 05.02.2014 18:15, schrieb Tobias Boege: > On Tue, 04 Feb 2014, Tobias Boege wrote: >> On Tue, 04 Feb 2014, Tobias Boege wrote: >>> On Tue, 04 Feb 2014, Rolf-Werner Eilert wrote: >>>> >>>> >>>> Am 04.02.2014 09:46, schrieb Tobias Boege: >>>>> On Tue, 04 Feb 2014, Rolf-Werner Eilert wrote: >>>>>> Hi Tobias, >>>>>> >>>>>> your name is mentioned as the author of the ncurses component. Is that >>>>>> right? >>>>>> >>>>> >>>>> Yes, that's right. >>>>> >>>>>> Anyway, I wanted to play around a bit with ncurses and found this >>>>>> component. A long time ago, I tried to write a program with ncurses but >>>>>> gave up when I had to find the screen dimensions (the original C >>>>>> function uses a pointer thing I couldn't make workable for my Gambas >>>>>> program). So thanks you've done it for me :) >>>>>> >>>>>> But the help texts aren't ready yet, and I miss some short examples on >>>>>> how to start by making a window and so on. >>>>>> >>>>>> Are the undocumented functions not ready yet, or is it that the help >>>>>> texts aren't complete yet? >>>>>> >>>>> >>>>> The help just isn't written. The component itself didn't change since 3.3 or >>>>> so. Not that I am totally confident with it but it's working as it should at >>>>> this point. >>>>> >>>>> Some things missing (actually, the whole menu and forms extensions of >>>>> ncurses and wide character support!), etc. and I also want to add a >>>>> gb.ncurses.cdk component based on the CDK library which implements controls >>>>> in terminal but I have to design this carefully - and maybe even break >>>>> gb.ncurses' API (very slightly if at all!). This is why I'm stuck programming >>>>> and if the programming isn't done, I struggle to do the documentation :-) >>>>> >>>>> There are gb.ncurses examples: Pong and Invaders (the last one still not >>>>> finished in regard to game logic) in the Games section. But if you told me >>>>> that these don't help gb.ncurses newbies, I would agree... >>>>> >>>>> I'm actually not that fit anymore with gb.ncurses :-) but today afternoon >>>>> I'll put some lines together about the basics. >>>>> >>>>> Regards, >>>>> Tobi >>>>> >>>>> And now off to the Linear Algebra test ;-) >>>>> >>>> >>>> Uuuuh - good luck! >>>> >>>> Just give me some hint how to start, and we could write some help texts >>>> and little examples. Although I don't have too much time right now, I >>>> would be able to help out a bit here... >>>> >>> >>> Wait a minute (or one or two hours, more likely). I'm halfways through a >>> quite comprehensive tutorial about basic usage: >>> >>> - printing text, >>> - using attributes and colours, >>> - creating dialogs. >>> >> >> Almost everything is in place here[0]. With the last little paragraph, I'll >> continue tomorrow as it's time for a break now. I've also prepared a project >> containing all the snippets presented which I will complete and upload >> tomorrow, too. Hope it helps. >> >> Note that I needed to fix some bugs I encountered while putting the code >> together so you better use the latest revision to test ;-) >> >> Regards, >> Tobi >> >> [0] http://gambasdoc.org/help/tutorial/ncursestut?v3 >> > > OK, now it's ready and has a source code archive. Let me know if you have > any suggestions. (Maybe one or the other screenshot would be nice?) > > Regards, > Tobi > Hi, it's been quite a while, but now I had the time to test your examples. There seem to be some mistakes in the example, so I'm giving a version that runs: Dim hDialog As New Window(True, 0, 0, Window.W / 2, 6) 'Dim sChoice As String Dim iChoice As Integer hDialog.Border = Border.ACS hDialog.Caption = ("Make a choice") hDialog.Center() hDialog.Show() hDialog.PrintCenter(Subst$(("What to do?\n\nEvalute 42^2 [&1]\nQuit [&2]"), ("E"), ("q"))) Screen.Echo = False iChoice = hDialog.Ask("Eq") hDialog = Null ' Destroy the dialog window 'If sChoice = ("e") Then If iChoice = 1 Then Window.PrintCenter(Subst$(("Here it is: 42^2 = &1"), 42 ^ 2)) ', Attr.Bold, Pair[Color.Green, Color.Black]) ' Else ' Window.Print("Pressed something else") Endif Window.Print(("Press any key to continue"), 0, Window.H - 1) Window.Read() Quit As you will see, .Ask returns an integer, and this should be mentioned in the help text. Currently this is described to be string. (This cost me quite a while to find out... :-) ) If there is no Quit at the end of the program, it will never end. Only ^C helps then. Personally I find the cursor behind each .Print string irritating. Can it be suppressed? Moreover, umlauts aren't printed correctly (I guess it's UTF-8). Is there a solution? Regards Rolf From taboege at ...626... Mon Mar 24 16:15:00 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 24 Mar 2014 16:15:00 +0100 Subject: [Gambas-user] ncurses help texts missing In-Reply-To: <533046E8.8020304@...221...> References: <52F097FE.7010808@...221...> <20140204084654.GA515@...2774...> <52F11E53.8020802@...221...> <20140204171312.GF515@...2774...> <20140204204305.GG515@...2774...> <20140205171535.GD8944@...2774...> <533046E8.8020304@...221...> Message-ID: <20140324151500.GA509@...2774...> On Mon, 24 Mar 2014, Rolf-Werner Eilert wrote: > Am 05.02.2014 18:15, schrieb Tobias Boege: > > On Tue, 04 Feb 2014, Tobias Boege wrote: > >> On Tue, 04 Feb 2014, Tobias Boege wrote: > >>> On Tue, 04 Feb 2014, Rolf-Werner Eilert wrote: > >>>> > >>>> > >>>> Am 04.02.2014 09:46, schrieb Tobias Boege: > >>>>> On Tue, 04 Feb 2014, Rolf-Werner Eilert wrote: > >>>>>> Hi Tobias, > >>>>>> > >>>>>> your name is mentioned as the author of the ncurses component. Is that > >>>>>> right? > >>>>>> > >>>>> > >>>>> Yes, that's right. > >>>>> > >>>>>> Anyway, I wanted to play around a bit with ncurses and found this > >>>>>> component. A long time ago, I tried to write a program with ncurses but > >>>>>> gave up when I had to find the screen dimensions (the original C > >>>>>> function uses a pointer thing I couldn't make workable for my Gambas > >>>>>> program). So thanks you've done it for me :) > >>>>>> > >>>>>> But the help texts aren't ready yet, and I miss some short examples on > >>>>>> how to start by making a window and so on. > >>>>>> > >>>>>> Are the undocumented functions not ready yet, or is it that the help > >>>>>> texts aren't complete yet? > >>>>>> > >>>>> > >>>>> The help just isn't written. The component itself didn't change since 3.3 or > >>>>> so. Not that I am totally confident with it but it's working as it should at > >>>>> this point. > >>>>> > >>>>> Some things missing (actually, the whole menu and forms extensions of > >>>>> ncurses and wide character support!), etc. and I also want to add a > >>>>> gb.ncurses.cdk component based on the CDK library which implements controls > >>>>> in terminal but I have to design this carefully - and maybe even break > >>>>> gb.ncurses' API (very slightly if at all!). This is why I'm stuck programming > >>>>> and if the programming isn't done, I struggle to do the documentation :-) > >>>>> > >>>>> There are gb.ncurses examples: Pong and Invaders (the last one still not > >>>>> finished in regard to game logic) in the Games section. But if you told me > >>>>> that these don't help gb.ncurses newbies, I would agree... > >>>>> > >>>>> I'm actually not that fit anymore with gb.ncurses :-) but today afternoon > >>>>> I'll put some lines together about the basics. > >>>>> > >>>>> Regards, > >>>>> Tobi > >>>>> > >>>>> And now off to the Linear Algebra test ;-) > >>>>> > >>>> > >>>> Uuuuh - good luck! > >>>> > >>>> Just give me some hint how to start, and we could write some help texts > >>>> and little examples. Although I don't have too much time right now, I > >>>> would be able to help out a bit here... > >>>> > >>> > >>> Wait a minute (or one or two hours, more likely). I'm halfways through a > >>> quite comprehensive tutorial about basic usage: > >>> > >>> - printing text, > >>> - using attributes and colours, > >>> - creating dialogs. > >>> > >> > >> Almost everything is in place here[0]. With the last little paragraph, I'll > >> continue tomorrow as it's time for a break now. I've also prepared a project > >> containing all the snippets presented which I will complete and upload > >> tomorrow, too. Hope it helps. > >> > >> Note that I needed to fix some bugs I encountered while putting the code > >> together so you better use the latest revision to test ;-) > >> > >> Regards, > >> Tobi > >> > >> [0] http://gambasdoc.org/help/tutorial/ncursestut?v3 > >> > > > > OK, now it's ready and has a source code archive. Let me know if you have > > any suggestions. (Maybe one or the other screenshot would be nice?) > > > > Regards, > > Tobi > > > > > Hi, > > it's been quite a while, but now I had the time to test your examples. > > There seem to be some mistakes in the example, so I'm giving a version > that runs: > > Dim hDialog As New Window(True, 0, 0, Window.W / 2, 6) > 'Dim sChoice As String > Dim iChoice As Integer > > hDialog.Border = Border.ACS > hDialog.Caption = ("Make a choice") > hDialog.Center() > hDialog.Show() > > hDialog.PrintCenter(Subst$(("What to do?\n\nEvalute 42^2 [&1]\nQuit > [&2]"), ("E"), ("q"))) > Screen.Echo = False > iChoice = hDialog.Ask("Eq") > hDialog = Null ' Destroy the dialog window > 'If sChoice = ("e") Then > If iChoice = 1 Then > Window.PrintCenter(Subst$(("Here it is: 42^2 = &1"), 42 ^ 2)) ', > Attr.Bold, Pair[Color.Green, Color.Black]) > ' Else > ' Window.Print("Pressed something else") > Endif > Window.Print(("Press any key to continue"), 0, Window.H - 1) > Window.Read() > > Quit > > > As you will see, .Ask returns an integer, and this should be mentioned > in the help text. Currently this is described to be string. (This cost > me quite a while to find out... :-) ) > Since revision #6130 (Gambas 3.5.3 in the future), it IS a string and the project will work with any recent-enough version. There is an info box in the tutorial that tells the revision the project needs. (This time, the documentation was right and the code was wrong.) > If there is no Quit at the end of the program, it will never end. Only > ^C helps then. > This is a known side-effect. gb.ncurses uses an interpreter API to catch the terminal's SIGWINCH signal but using this API keeps the program running beyond the normal termination conditions (Main() finished and nothing is watched). I am not sure how to solve that... > Personally I find the cursor behind each .Print string irritating. Can > it be suppressed? > Screen.Cursor = Cursor.Hidden > Moreover, umlauts aren't printed correctly (I guess it's UTF-8). Is > there a solution? > My turn. NCurses offers an ncursesw library for wide characters - I just don't use it. Not out of ignorance or laziness but because I want to use the CDK (curses development kit) to implement controls in the terminal (Button (yes, with mouse support!), TextBox, TextArea, ListBox, Menu, etc.). And the CDK does not support wide characters (which UTF-8 ones are). If I rewrite gb.ncurses to use ncursesw now, I'll certainly run into compatibility problems with the CDK later. MAYBE, I can dig into the CDK in summer and try to patch it to use ncursesw. However, Thomas Dickey says that this is not as trivial as one might think at first. If this does not work, I'm afraid gb.ncurses will not support wide characters. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Mon Mar 24 16:59:53 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 24 Mar 2014 16:59:53 +0100 Subject: [Gambas-user] ncurses help texts missing In-Reply-To: <20140324151500.GA509@...2774...> References: <52F097FE.7010808@...221...> <20140204084654.GA515@...2774...> <52F11E53.8020802@...221...> <20140204171312.GF515@...2774...> <20140204204305.GG515@...2774...> <20140205171535.GD8944@...2774...> <533046E8.8020304@...221...> <20140324151500.GA509@...2774...> Message-ID: <53305679.4030003@...1...> Le 24/03/2014 16:15, Tobias Boege a ?crit : >> If there is no Quit at the end of the program, it will never end. Only >> ^C helps then. >> > > This is a known side-effect. gb.ncurses uses an interpreter API to catch the > terminal's SIGWINCH signal but using this API keeps the program running > beyond the normal termination conditions (Main() finished and nothing is > watched). I am not sure how to solve that... > I will find a solution. I don't have it yet, but I will find... :-) -- Beno?t Minisini From eilert-sprachen at ...221... Mon Mar 24 18:17:19 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 24 Mar 2014 18:17:19 +0100 Subject: [Gambas-user] ncurses help texts missing In-Reply-To: <20140324151500.GA509@...2774...> References: <52F097FE.7010808@...221...> <20140204084654.GA515@...2774...> <52F11E53.8020802@...221...> <20140204171312.GF515@...2774...> <20140204204305.GG515@...2774...> <20140205171535.GD8944@...2774...> <533046E8.8020304@...221...> <20140324151500.GA509@...2774...> Message-ID: <5330689F.20500@...221...> Am 24.03.2014 16:15, schrieb Tobias Boege: > On Mon, 24 Mar 2014, Rolf-Werner Eilert wrote: >> Am 05.02.2014 18:15, schrieb Tobias Boege: >>> On Tue, 04 Feb 2014, Tobias Boege wrote: >>>> On Tue, 04 Feb 2014, Tobias Boege wrote: >>>>> On Tue, 04 Feb 2014, Rolf-Werner Eilert wrote: >>>>>> >>>>>> >>>>>> Am 04.02.2014 09:46, schrieb Tobias Boege: >>>>>>> On Tue, 04 Feb 2014, Rolf-Werner Eilert wrote: >>>>>>>> Hi Tobias, >>>>>>>> >>>>>>>> your name is mentioned as the author of the ncurses component. Is that >>>>>>>> right? >>>>>>>> >>>>>>> >>>>>>> Yes, that's right. >>>>>>> >>>>>>>> Anyway, I wanted to play around a bit with ncurses and found this >>>>>>>> component. A long time ago, I tried to write a program with ncurses but >>>>>>>> gave up when I had to find the screen dimensions (the original C >>>>>>>> function uses a pointer thing I couldn't make workable for my Gambas >>>>>>>> program). So thanks you've done it for me :) >>>>>>>> >>>>>>>> But the help texts aren't ready yet, and I miss some short examples on >>>>>>>> how to start by making a window and so on. >>>>>>>> >>>>>>>> Are the undocumented functions not ready yet, or is it that the help >>>>>>>> texts aren't complete yet? >>>>>>>> >>>>>>> >>>>>>> The help just isn't written. The component itself didn't change since 3.3 or >>>>>>> so. Not that I am totally confident with it but it's working as it should at >>>>>>> this point. >>>>>>> >>>>>>> Some things missing (actually, the whole menu and forms extensions of >>>>>>> ncurses and wide character support!), etc. and I also want to add a >>>>>>> gb.ncurses.cdk component based on the CDK library which implements controls >>>>>>> in terminal but I have to design this carefully - and maybe even break >>>>>>> gb.ncurses' API (very slightly if at all!). This is why I'm stuck programming >>>>>>> and if the programming isn't done, I struggle to do the documentation :-) >>>>>>> >>>>>>> There are gb.ncurses examples: Pong and Invaders (the last one still not >>>>>>> finished in regard to game logic) in the Games section. But if you told me >>>>>>> that these don't help gb.ncurses newbies, I would agree... >>>>>>> >>>>>>> I'm actually not that fit anymore with gb.ncurses :-) but today afternoon >>>>>>> I'll put some lines together about the basics. >>>>>>> >>>>>>> Regards, >>>>>>> Tobi >>>>>>> >>>>>>> And now off to the Linear Algebra test ;-) >>>>>>> >>>>>> >>>>>> Uuuuh - good luck! >>>>>> >>>>>> Just give me some hint how to start, and we could write some help texts >>>>>> and little examples. Although I don't have too much time right now, I >>>>>> would be able to help out a bit here... >>>>>> >>>>> >>>>> Wait a minute (or one or two hours, more likely). I'm halfways through a >>>>> quite comprehensive tutorial about basic usage: >>>>> >>>>> - printing text, >>>>> - using attributes and colours, >>>>> - creating dialogs. >>>>> >>>> >>>> Almost everything is in place here[0]. With the last little paragraph, I'll >>>> continue tomorrow as it's time for a break now. I've also prepared a project >>>> containing all the snippets presented which I will complete and upload >>>> tomorrow, too. Hope it helps. >>>> >>>> Note that I needed to fix some bugs I encountered while putting the code >>>> together so you better use the latest revision to test ;-) >>>> >>>> Regards, >>>> Tobi >>>> >>>> [0] http://gambasdoc.org/help/tutorial/ncursestut?v3 >>>> >>> >>> OK, now it's ready and has a source code archive. Let me know if you have >>> any suggestions. (Maybe one or the other screenshot would be nice?) >>> >>> Regards, >>> Tobi >>> >> >> >> Hi, >> >> it's been quite a while, but now I had the time to test your examples. >> >> There seem to be some mistakes in the example, so I'm giving a version >> that runs: >> >> Dim hDialog As New Window(True, 0, 0, Window.W / 2, 6) >> 'Dim sChoice As String >> Dim iChoice As Integer >> >> hDialog.Border = Border.ACS >> hDialog.Caption = ("Make a choice") >> hDialog.Center() >> hDialog.Show() >> >> hDialog.PrintCenter(Subst$(("What to do?\n\nEvalute 42^2 [&1]\nQuit >> [&2]"), ("E"), ("q"))) >> Screen.Echo = False >> iChoice = hDialog.Ask("Eq") >> hDialog = Null ' Destroy the dialog window >> 'If sChoice = ("e") Then >> If iChoice = 1 Then >> Window.PrintCenter(Subst$(("Here it is: 42^2 = &1"), 42 ^ 2)) ', >> Attr.Bold, Pair[Color.Green, Color.Black]) >> ' Else >> ' Window.Print("Pressed something else") >> Endif >> Window.Print(("Press any key to continue"), 0, Window.H - 1) >> Window.Read() >> >> Quit >> >> >> As you will see, .Ask returns an integer, and this should be mentioned >> in the help text. Currently this is described to be string. (This cost >> me quite a while to find out... :-) ) >> > > Since revision #6130 (Gambas 3.5.3 in the future), it IS a string and the > project will work with any recent-enough version. There is an info box in > the tutorial that tells the revision the project needs. (This time, the > documentation was right and the code was wrong.) Ok :-) So I worked with the last stable version, but the documentation is ahead of its time? > >> If there is no Quit at the end of the program, it will never end. Only >> ^C helps then. >> > > This is a known side-effect. gb.ncurses uses an interpreter API to catch the > terminal's SIGWINCH signal but using this API keeps the program running > beyond the normal termination conditions (Main() finished and nothing is > watched). I am not sure how to solve that... Like another event loop... It doesn't bother me, as long as I know that I have to explicitly Quit. > >> Personally I find the cursor behind each .Print string irritating. Can >> it be suppressed? >> > > Screen.Cursor = Cursor.Hidden Ah! Thanks... > >> Moreover, umlauts aren't printed correctly (I guess it's UTF-8). Is >> there a solution? >> > > My turn. NCurses offers an ncursesw library for wide characters - I just > don't use it. > > Not out of ignorance or laziness but because I want to use the CDK (curses > development kit) to implement controls in the terminal (Button (yes, with > mouse support!), TextBox, TextArea, ListBox, Menu, etc.). And the CDK does > not support wide characters (which UTF-8 ones are). If I rewrite gb.ncurses > to use ncursesw now, I'll certainly run into compatibility problems with the > CDK later. > > MAYBE, I can dig into the CDK in summer and try to patch it to use ncursesw. > However, Thomas Dickey says that this is not as trivial as one might think > at first. If this does not work, I'm afraid gb.ncurses will not support wide > characters. > > Regards, > Tobi > I see your point and don't mind this, but wouldn't it be a workaround to convert Gambas UTF-8 strings into ASCII ones? Is that possible? (Never cared about this...) Or does ncurses use another character set than the standard ASCII for PCs? Rolf From vuott at ...325... Tue Mar 25 00:47:18 2014 From: vuott at ...325... (Ru Vuott) Date: Mon, 24 Mar 2014 23:47:18 +0000 (GMT) Subject: [Gambas-user] How editing more than 1024 bytes in a field of the DataBrowser Message-ID: <1395704838.79657.YahooMailBasic@...3275...> Hello, our friend, member of Gambas-it.org forum, asks how he can edit (or paste) more than 1024 bytes in a field of type 'text' using a control DataBrowser connected to a mysql db that comes to hold up 64 Kb. He says that the databrowser cuts the text to 1024 characters, thereby preventing the modification of the cut data. Regards vuott From gambas at ...1... Tue Mar 25 01:10:04 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 25 Mar 2014 01:10:04 +0100 Subject: [Gambas-user] TableView.Edit: Save event not triggered by ENTER key In-Reply-To: <532A214B.5000805@...626...> References: <532A214B.5000805@...626...> Message-ID: <5330C95C.7040207@...1...> Le 19/03/2014 23:59, T Lee Davidson a ?crit : > In the Gambas3 Documentation at > http://www.gambasdoc.org/help/comp/gb.form/tableview?v3 it says: > "Hitting the ENTER or the RETURN key moves to the next cell like the > right arrow key. But if the end of the TableView is reached, the Insert > event is raised." > > I surmised that this will trigger the Save event. But the ENTER key (on > the numeric keypad) does not trigger the Save event. > > Is this and error in the Docs, or a bug, or something else I may have > missed? > > Thanks, > Lee > The ENTER or RETURN key does raise the Save event, but the event is raised only if needed (i.e. if the cell has been modified). > P.S. On semi-related note, That page also says, "If the user modifies > the cell contents, then the Save event is raised, and you must actually > save the data during the Save event handler. This is not automatic!" > > Not realizing exactly what, "save the data," meant, I called > TableView.Save from within the Save event to save the data. I got a > Stack Overflow error. Duh. > > The data just needs to be written to the TableView cell as in > "TableView1[Row, Column].Text = Value". > The Save event means that you have to save the new data somewhere, because the TableView won't do it for you. The new data to save is the third argument of the Save event handler. Then it's up to you to decide if you store the actual TableView contents inside the TableView (i.e. by setting the Text property of the cell explicitely), or if you provide the contents through the Data event. The Save() method is called to trigger all that process (it means "do raise the Save event"). It actually saves nothing. So don't call it from the Save event handler! Regards, -- Beno?t Minisini From taboege at ...626... Tue Mar 25 14:33:58 2014 From: taboege at ...626... (Tobias Boege) Date: Tue, 25 Mar 2014 14:33:58 +0100 Subject: [Gambas-user] Balloon with negative delay Message-ID: <20140325133358.GA514@...2774...> Hi Benoit, the Balloon class allows negative Delay values and when shown, it stays visible for a very short time (maybe some constant delay that the timer waits to make one tick - and then it notices that it is already in a negative delay and raises the Timer event). Is this an issue or should we just make sure we never give negative Delays to the Balloon? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Tue Mar 25 14:49:45 2014 From: taboege at ...626... (Tobias Boege) Date: Tue, 25 Mar 2014 14:49:45 +0100 Subject: [Gambas-user] Balloon with negative delay In-Reply-To: <20140325133358.GA514@...2774...> References: <20140325133358.GA514@...2774...> Message-ID: <20140325134945.GC514@...2774...> On Tue, 25 Mar 2014, Tobias Boege wrote: > Hi Benoit, > > the Balloon class allows negative Delay values and when shown, it stays > visible for a very short time (maybe some constant delay that the timer > waits to make one tick - and then it notices that it is already in a > negative delay and raises the Timer event). > > Is this an issue or should we just make sure we never give negative Delays > to the Balloon? > And by the way: the documentation says that the Balloon's background colour is yellow but... it's light blue on the picture in the docs and on the two systems we have at our disposal. Background treatment in FBalloon.class in gb.form is convoluted :-) But apparently the colour comes from the _new() method and there, system colours are used. So we can't predict what colour the Balloon has? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Tue Mar 25 15:00:41 2014 From: taboege at ...626... (Tobias Boege) Date: Tue, 25 Mar 2014 15:00:41 +0100 Subject: [Gambas-user] Font array accessors Message-ID: <20140325140041.GE514@...2774...> Hi, the Font class (gb.qt4) allows to create Fonts via its _get() method. The _get() documentation lists a correct example, the main Font documentation page lists a non-working example. The second one does not work because the Font properties are separated by commas which are occasionally followed by spaces. If you write Font["Arial, 12, Bold"], the bold attribute is not recognised, the size value of 12, however, is (CInt(" 12") returns 12, too...). So, should we clarify the documentation or Trim$() the individual components? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Tue Mar 25 15:54:06 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 25 Mar 2014 15:54:06 +0100 Subject: [Gambas-user] Font array accessors In-Reply-To: <20140325140041.GE514@...2774...> References: <20140325140041.GE514@...2774...> Message-ID: <5331988E.3060703@...1...> Le 25/03/2014 15:00, Tobias Boege a ?crit : > Hi, > > the Font class (gb.qt4) allows to create Fonts via its _get() method. The > _get() documentation lists a correct example, the main Font documentation > page lists a non-working example. The second one does not work because the > Font properties are separated by commas which are occasionally followed by > spaces. > > If you write Font["Arial, 12, Bold"], the bold attribute is not recognised, > the size value of 12, however, is (CInt(" 12") returns 12, too...). So, > should we clarify the documentation or Trim$() the individual components? > > Regards, > Tobi > It's possible to become more tolerant by accepting spaces, as it is backward-compatible. At the moment, the documentation should be fixed. -- Beno?t Minisini From gambas at ...1... Tue Mar 25 15:56:13 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Tue, 25 Mar 2014 15:56:13 +0100 Subject: [Gambas-user] Balloon with negative delay In-Reply-To: <20140325134945.GC514@...2774...> References: <20140325133358.GA514@...2774...> <20140325134945.GC514@...2774...> Message-ID: <5331990D.40803@...1...> Le 25/03/2014 14:49, Tobias Boege a ?crit : > On Tue, 25 Mar 2014, Tobias Boege wrote: >> Hi Benoit, >> >> the Balloon class allows negative Delay values and when shown, it stays >> visible for a very short time (maybe some constant delay that the timer >> waits to make one tick - and then it notices that it is already in a >> negative delay and raises the Timer event). >> >> Is this an issue or should we just make sure we never give negative Delays >> to the Balloon? >> > > And by the way: the documentation says that the Balloon's background colour > is yellow but... it's light blue on the picture in the docs and on the two > systems we have at our disposal. Background treatment in FBalloon.class in > gb.form is convoluted :-) But apparently the colour comes from the _new() > method and there, system colours are used. So we can't predict what colour > the Balloon has? > > Regards, > Tobi > The Balloon should use the new Color.TooltipBackground property now, I will fix that, as well as the documentation. As for the negative delay, maybe I will raise an error as it has no sense. Regards, -- Beno?t Minisini From taboege at ...626... Tue Mar 25 16:00:39 2014 From: taboege at ...626... (Tobias Boege) Date: Tue, 25 Mar 2014 16:00:39 +0100 Subject: [Gambas-user] Font array accessors In-Reply-To: <5331988E.3060703@...1...> References: <20140325140041.GE514@...2774...> <5331988E.3060703@...1...> Message-ID: <20140325150039.GH514@...2774...> On Tue, 25 Mar 2014, Beno?t Minisini wrote: > Le 25/03/2014 15:00, Tobias Boege a ?crit : > > Hi, > > > > the Font class (gb.qt4) allows to create Fonts via its _get() method. The > > _get() documentation lists a correct example, the main Font documentation > > page lists a non-working example. The second one does not work because the > > Font properties are separated by commas which are occasionally followed by > > spaces. > > > > If you write Font["Arial, 12, Bold"], the bold attribute is not recognised, > > the size value of 12, however, is (CInt(" 12") returns 12, too...). So, > > should we clarify the documentation or Trim$() the individual components? > > > > Regards, > > Tobi > > > > It's possible to become more tolerant by accepting spaces, as it is > backward-compatible. > > At the moment, the documentation should be fixed. > Done. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From t.lee.davidson at ...626... Tue Mar 25 17:53:08 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Tue, 25 Mar 2014 12:53:08 -0400 Subject: [Gambas-user] TableView.Edit: Save event not triggered by ENTER key In-Reply-To: <5330C95C.7040207@...1...> References: <532A214B.5000805@...626...> <5330C95C.7040207@...1...> Message-ID: <5331B474.6030402@...626...> On 03/24/2014 08:10 PM, Beno?t Minisini wrote: > The ENTER or RETURN key does raise the Save event, but the event is > raised only if needed (i.e. if the cell has been modified). That is how I understood the TableView.Edit method was supposed to behave. However, in my Gambas 3.4.0, it does not. When a cell has been modified, the RETURN key and the arrow keys do indeed raise the Save event; but the ENTER key (on the numeric keypad) does not. I have checked, and the TableView control is correctly recognizing a Key.Enter vs. a Key.Return on a KeyPress event. Regards, Lee From bbruen at ...2308... Wed Mar 26 03:51:33 2014 From: bbruen at ...2308... (bbruen) Date: Wed, 26 Mar 2014 13:21:33 +1030 Subject: [Gambas-user] Detecting a non-UTF character in a string Message-ID: <1395802293.16855.9.camel@...2688...> I get an occasional* error with downloaded data which results in a postgresql update failure with the following error "ERR: Cannot create record: ERROR: invalid byte sequence for encoding "UTF8": 0xc2". I know how to fix that as long as I can detect the bad char in the string. That is what I dont know, in fact I haven't got the foggiest clue. The input data is split out from a text file downloaded via FTP. The bad data lines come from a particular source but only occur occasionally. They always occur at the same "place" in the parsed file (i.e. a "Title" field, which is a moderately lengthed string extracted using a Scan() function.) They always appear at the same place in the field (i.e. at the very end of the field. So, how can I test if Right(sTitle,1) = NotARealCharacter? tia Bruce From pinozollo at ...626... Thu Mar 27 06:27:56 2014 From: pinozollo at ...626... (Pino Zollo) Date: Thu, 27 Mar 2014 01:27:56 -0400 Subject: [Gambas-user] How to fill an array of strings ? Message-ID: <5333B6DC.4050001@...626...> Hi, This works fine: Static Public English As String[] = ["go", "am", "me", "on", "by", "to", "up", "so", "and", "man", "him", "out", "not", "but", "can", "who"] But the following, with 100 words does not work: Static Public English As String[] = ["go", "am", "me", "on", "by", "to", "up", "so", "it", "no", "of", "as", "he", "if", "an", "us", "or", "in", "is", "at", "my", "we", "do", "be", "and", "man", "him", "out", "not", "but", "can", "who", "has", "may", "was", "one", "she", "all", "you", "how", "any", "its", "say", "are", "now", "two", "for", "men", "her", "had", "the", "our", "his", "been", "some", "then", "like", "well", "made", "when", "have", "only", "your", "work", "over", "such", "time", "were", "with", "into", "very", "what", "then", "more", "will", "they", "come", "that", "from", "must", "said", "them", "this", "upon", "great", "about", "other", "shall", "every", "these", "first", "their", "could", "which", "would", "there", "before", "should", "little", "people"] Too many :-( Is there a work-around ? Thanks Pino From jusabejusabe at ...626... Thu Mar 27 08:40:11 2014 From: jusabejusabe at ...626... (Julio Sanchez) Date: Thu, 27 Mar 2014 08:40:11 +0100 Subject: [Gambas-user] How to fill an array of strings ? In-Reply-To: <5333B6DC.4050001@...626...> References: <5333B6DC.4050001@...626...> Message-ID: You can do it as follows: Public English as new string[] Public Sub EnglishFillArrayString() English=Split("go,am,me,on,by,to,up,so,it,no,of,as,he,if,an,us,or,in,is,at,my,we,do,be,and,man,him,out,not,but,can,who,has,may,was,one,she,all,you,how,any,its,say,are,now,two,for,men,her,had,the,our,his,been,some,then,like,well,made,when,have,only,your,work,over,such,time,were,with,into,very,what,then,more,will,they,come,that,from,must,said,them,this,upon,great,about,other,shall,every,these,first,their,could,which,would,there,before,should,little,people",",") End 2014-03-27 6:27 GMT+01:00 Pino Zollo : > Hi, > > This works fine: > > Static Public English As String[] = ["go", "am", "me", "on", "by", "to", > "up", "so", "and", "man", "him", "out", "not", "but", "can", "who"] > > > > But the following, with 100 words does not work: > > Static Public English As String[] = ["go", "am", "me", "on", "by", "to", > "up", "so", "it", "no", "of", "as", "he", "if", "an", "us", "or", "in", > "is", "at", "my", "we", "do", "be", "and", "man", "him", "out", "not", > "but", "can", "who", "has", "may", "was", "one", "she", "all", "you", > "how", "any", "its", "say", "are", "now", "two", "for", "men", "her", > "had", "the", "our", "his", "been", "some", "then", "like", "well", > "made", "when", "have", "only", "your", "work", "over", "such", "time", > "were", "with", "into", "very", "what", "then", "more", "will", "they", > "come", "that", "from", "must", "said", "them", "this", "upon", "great", > "about", "other", "shall", "every", "these", "first", "their", "could", > "which", "would", "there", "before", "should", "little", "people"] > > > Too many :-( > > Is there a work-around ? > > Thanks > > Pino > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Thu Mar 27 09:14:18 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 27 Mar 2014 09:14:18 +0100 Subject: [Gambas-user] How to fill an array of strings ? In-Reply-To: References: <5333B6DC.4050001@...626...> Message-ID: <5333DDDA.1050305@...1...> ...or you can use the development version, where this limit had been removed. Le 27/03/2014 08:40, Julio Sanchez a ?crit : > You can do it as follows: > > > Public English as new string[] > > > Public Sub EnglishFillArrayString() > > English=Split("go,am,me,on,by,to,up,so,it,no,of,as,he,if,an,us,or,in,is,at,my,we,do,be,and,man,him,out,not,but,can,who,has,may,was,one,she,all,you,how,any,its,say,are,now,two,for,men,her,had,the,our,his,been,some,then,like,well,made,when,have,only,your,work,over,such,time,were,with,into,very,what,then,more,will,they,come,that,from,must,said,them,this,upon,great,about,other,shall,every,these,first,their,could,which,would,there,before,should,little,people",",") > > End > > > > > 2014-03-27 6:27 GMT+01:00 Pino Zollo : > >> Hi, >> >> This works fine: >> >> Static Public English As String[] = ["go", "am", "me", "on", "by", "to", >> "up", "so", "and", "man", "him", "out", "not", "but", "can", "who"] >> >> >> >> But the following, with 100 words does not work: >> >> Static Public English As String[] = ["go", "am", "me", "on", "by", "to", >> "up", "so", "it", "no", "of", "as", "he", "if", "an", "us", "or", "in", >> "is", "at", "my", "we", "do", "be", "and", "man", "him", "out", "not", >> "but", "can", "who", "has", "may", "was", "one", "she", "all", "you", >> "how", "any", "its", "say", "are", "now", "two", "for", "men", "her", >> "had", "the", "our", "his", "been", "some", "then", "like", "well", >> "made", "when", "have", "only", "your", "work", "over", "such", "time", >> "were", "with", "into", "very", "what", "then", "more", "will", "they", >> "come", "that", "from", "must", "said", "them", "this", "upon", "great", >> "about", "other", "shall", "every", "these", "first", "their", "could", >> "which", "would", "there", "before", "should", "little", "people"] >> >> >> Too many :-( >> >> Is there a work-around ? >> >> Thanks >> >> Pino >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Beno?t Minisini From eilert-sprachen at ...221... Thu Mar 27 09:56:07 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Thu, 27 Mar 2014 09:56:07 +0100 Subject: [Gambas-user] How to fill an array of strings ? In-Reply-To: <5333B6DC.4050001@...626...> References: <5333B6DC.4050001@...626...> Message-ID: <5333E7A7.2020009@...221...> Once upon a time... there was DATA in Basic to handle such things. Today I usually put such strings in a file to have them loaded. Linux file handling is so fast that it doesn't play a role when your program loads the strings at program start or when they're needed for the first time. And the advantage is, the user can change the contents without having to recode the application. When you put the strings like go am me on by to in a file and then load them by English = Split(File.Load("pathToFile"), chr$(10)) that's all you need. Would this be a solution? Rolf Am 27.03.2014 06:27, schrieb Pino Zollo: > Hi, > > This works fine: > > Static Public English As String[] = ["go", "am", "me", "on", "by", "to", > "up", "so", "and", "man", "him", "out", "not", "but", "can", "who"] > > > > But the following, with 100 words does not work: > > Static Public English As String[] = ["go", "am", "me", "on", "by", "to", > "up", "so", "it", "no", "of", "as", "he", "if", "an", "us", "or", "in", > "is", "at", "my", "we", "do", "be", "and", "man", "him", "out", "not", > "but", "can", "who", "has", "may", "was", "one", "she", "all", "you", > "how", "any", "its", "say", "are", "now", "two", "for", "men", "her", > "had", "the", "our", "his", "been", "some", "then", "like", "well", > "made", "when", "have", "only", "your", "work", "over", "such", "time", > "were", "with", "into", "very", "what", "then", "more", "will", "they", > "come", "that", "from", "must", "said", "them", "this", "upon", "great", > "about", "other", "shall", "every", "these", "first", "their", "could", > "which", "would", "there", "before", "should", "little", "people"] > > > Too many :-( > > Is there a work-around ? > > Thanks > > Pino > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From box02 at ...3313... Thu Mar 27 21:22:31 2014 From: box02 at ...3313... (box02 at ...3313...) Date: Thu, 27 Mar 2014 16:22:31 -0400 Subject: [Gambas-user] How to fill an array of strings ? In-Reply-To: References: <5333B6DC.4050001@...626...> Message-ID: Hi. I hate to sabotage this thread, but I am having difficulty getting on the forum. Perhaps you can help or point me in the right direction: Gambas 3.1.1 installed from SoftwareCentre on Ubuntu 12.10 (gnome). I'm unable to compile. When I click on Compile (Project menu) or enter F7, the system returns immediately with no error or action. Could this be a missing dependency, or perhaps a permissions issue? Synaptic Package Manager shows several Gambas packages not installed. I don't know which ones would be relevant. (build-essential, gcc, gcc-4.7-base, gettext-kde, & g++ are installed) Any ideas would be greatly appreciated. Thanks. From jussi.lahtinen at ...626... Thu Mar 27 22:27:37 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 27 Mar 2014 23:27:37 +0200 Subject: [Gambas-user] How to fill an array of strings ? In-Reply-To: References: <5333B6DC.4050001@...626...> Message-ID: > I hate to sabotage this thread, but I am having difficulty getting on > the forum. > If you are able to reply to this thread I would expect you could start new on? Just post your question to: gambas-user at lists.sourceforge.net Gambas 3.1.1 installed from SoftwareCentre on Ubuntu 12.10 (gnome). > > I'm unable to compile. When I click on Compile (Project menu) or enter > F7, the system returns immediately with no error or action. > Are you sure it's not compiled already? It usually takes much less than second. Jussi From jussi.lahtinen at ...626... Thu Mar 27 22:30:33 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 27 Mar 2014 23:30:33 +0200 Subject: [Gambas-user] How to fill an array of strings ? In-Reply-To: References: <5333B6DC.4050001@...626...> Message-ID: Perhaps you were trying to make executable? Project --> Make --> Executable Jussi On Thu, Mar 27, 2014 at 11:27 PM, Jussi Lahtinen wrote: > > I hate to sabotage this thread, but I am having difficulty getting on >> the forum. >> > > If you are able to reply to this thread I would expect you could start new > on? > Just post your question to: gambas-user at lists.sourceforge.net > > > > Gambas 3.1.1 installed from SoftwareCentre on Ubuntu 12.10 (gnome). >> >> I'm unable to compile. When I click on Compile (Project menu) or enter >> F7, the system returns immediately with no error or action. >> > > Are you sure it's not compiled already? It usually takes much less than > second. > > > Jussi > > From nigelverity at ...67... Fri Mar 28 14:55:24 2014 From: nigelverity at ...67... (Nigel Verity) Date: Fri, 28 Mar 2014 13:55:24 +0000 Subject: [Gambas-user] Gambas Datasource Control Message-ID: Hi I have used Gambas very successfully in conjunction with a Sqlite database, but I have written my own procedures to exchange data between the controls and the database. This provides great flexibility but does require quite a lot of code. I am now experimenting with the use of the data-bound controls. I need to perform some validation before a record is saved, and require the option to abort the save entirely. The documentation describes a "BeforeSave" event for the datasource control which is just what I need. However, I can find no way of trapping this event as the IDE does not appear to provide the option of generating the event handler. I have tried inserting the appropriate code manually but it has no effect. Grateful for any advice. Thanks Nige From gambas at ...1... Fri Mar 28 16:41:07 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 28 Mar 2014 16:41:07 +0100 Subject: [Gambas-user] Gambas Datasource Control In-Reply-To: References: Message-ID: <53359813.60203@...1...> Le 28/03/2014 14:55, Nigel Verity a ?crit : > Hi > > I have used Gambas very successfully in conjunction with a Sqlite > database, but I have written my own procedures to exchange data > between the controls and the database. This provides great > flexibility but does require quite a lot of code. > > I am now experimenting with the use of the data-bound controls. I > need to perform some validation before a record is saved, and require > the option to abort the save entirely. The documentation describes a > "BeforeSave" event for the datasource control which is just what I > need. However, I can find no way of trapping this event as the IDE > does not appear to provide the option of generating the event > handler. I have tried inserting the appropriate code manually but it > has no effect. > > Grateful for any advice. > > Thanks > > Nige At the moment the BeforeSave() event handler cannot stop the save process. I can add that in the next version (i.e. if you call STOP EVENT during BeforeSave(), no save is performed) but not for the current version. What sort of validation do you need? Maybe there is a workaround: for example, the DataControl has a "Validate" event that allows to individually validate the data entered by the user. -- Beno?t Minisini From gambas at ...1... Fri Mar 28 16:45:31 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 28 Mar 2014 16:45:31 +0100 Subject: [Gambas-user] Detecting a non-UTF character in a string In-Reply-To: <1395802293.16855.9.camel@...2688...> References: <1395802293.16855.9.camel@...2688...> Message-ID: <5335991B.1050107@...1...> Le 26/03/2014 03:51, bbruen a ?crit : > I get an occasional* error with downloaded data which results in a > postgresql update failure with the following error "ERR: Cannot create > record: ERROR: invalid byte sequence for encoding "UTF8": 0xc2". I know > how to fix that as long as I can detect the bad char in the string. That > is what I dont know, in fact I haven't got the foggiest clue. > > The input data is split out from a text file downloaded via FTP. The bad > data lines come from a particular source but only occur occasionally. > They always occur at the same "place" in the parsed file (i.e. a "Title" > field, which is a moderately lengthed string extracted using a Scan() > function.) They always appear at the same place in the field (i.e. at > the very end of the field. > > So, how can I test if Right(sTitle,1) = NotARealCharacter? > > tia > Bruce > This is missing in Gambas. A String.IsValid() method that would tell you if a string is valid UTF-8. At the moment, you must validate your string manually. Or maybe there is a trick: Conv$(MyString, "UTF-8", "UCS-4LE") Conv$() may force a validation of MyString (I'm not sure as this is done by the internal iconv GNU library). So if Conv$() raises an error, it must mean that MyString is not a valid UTF-8 string. Regards, -- Beno?t Minisini From ihaywood3 at ...626... Sat Mar 29 05:04:19 2014 From: ihaywood3 at ...626... (Ian Haywood) Date: Sat, 29 Mar 2014 04:04:19 +0000 Subject: [Gambas-user] running gambas3 on ARM Message-ID: I've been trying to run gambas3 on a ARM processor very basic text-only programs will work running anything graphical crashes in the Qt library. ian at ...3314...:~/gambas3-3.5.2/main/gbx$ gdb gbr3 GNU gdb (GDB) 7.6.2 (Debian 7.6.2-1) Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "arm-linux-gnueabihf". For bug reporting instructions, please see: ... Reading symbols from /home/ian/gambas3-3.5.2/main/gbx/gbx3...done. (gdb) run /usr/bin/gambas3.gambas Starting program: /home/ian/gambas3-3.5.2/main/gbx/gbr3 /usr/bin/gambas3.gambas [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. 0x2ab63936 in __GI___pthread_mutex_lock (mutex=0x11) at pthread_mutex_lock.c:66 66 pthread_mutex_lock.c: No such file or directory. (gdb) bt #0 0x2ab63936 in __GI___pthread_mutex_lock (mutex=0x11) at pthread_mutex_lock.c:66 #1 0x2ca9dc4a in XrmQGetResource () from /usr/lib/arm-linux-gnueabihf/libX11.so.6 #2 0x2ca884c2 in XGetDefault () from /usr/lib/arm-linux-gnueabihf/libX11.so.6 #3 0x2fdf85d8 in _XcursorGetDisplayInfo () from /usr/lib/arm-linux-gnueabihf/libXcursor.so.1 #4 0x2fdf86b6 in XcursorGetDefaultSize () from /usr/lib/arm-linux-gnueabihf/libXcursor.so.1 #5 0x2fdf9c6e in XcursorLibraryLoadCursor () from /usr/lib/arm-linux-gnueabihf/libXcursor.so.1 #6 0x2c020af4 in QCursorData::update (this=0x1754c8) at kernel/qcursor_x11.cpp:294 #7 0x2c020f66 in QCursor::handle (this=this at ...2861...=0x7effebf4) at kernel/qcursor_x11.cpp:148 #8 0x2c028af0 in qt_x11_enforce_cursor (w=, w at ...2861...=0x261508, force=force at ...2861...=false) at kernel/qwidget_x11.cpp:333 #9 0x2c028b50 in qt_x11_enforce_cursor (w=w at ...2861...=0x261508) at kernel/qwidget_x11.cpp:347 #10 0x2c02b970 in QWidgetPrivate::create_sys (this=this at ...2861...=0x261520, window=window at ...2861...=0, initializeWindow=, initializeWindow at ...2861...=true, destroyOldWindow=destroyOldWindow at ...2861...=true) at kernel/qwidget_x11.cpp:899 #11 0x2bff9cca in QWidget::create (this=0x261508, window=window at ...2861...=0, initializeWindow=initializeWindow at ...2861...=true, destroyOldWindow=destroyOldWindow at ...2861...=true) at kernel/qwidget.cpp:1513 #12 0x2bffa150 in QWidgetPrivate::createWinId (this=, winid=winid at ...2861...=0) at kernel/qwidget.cpp:2576 #13 0x2bffa178 in QWidget::createWinId (this=) at kernel/qwidget.cpp:2600 #14 0x2c01e332 in setupOwner () at kernel/qclipboard_x11.cpp:131 #15 0x2c01e51c in QClipboard::QClipboard (this=0x2459b0, parent=0x0) at kernel/qclipboard_x11.cpp:458 #16 0x2bfc931c in QApplication::clipboard () at kernel/qapplication.cpp:3301 #17 0x2bb356c4 in MyApplication::initClipboard () at main.cpp:335 #18 0x2bb35912 in QT_Init () at main.cpp:663 #19 0x2bb3596c in hook_main (argc=0x7efff004, argv=0x7efff000) at main.cpp:750 #20 0x0000b37a in main (argc=1, argv=0x7efff4d4) at gbx.c:352 From gambas at ...1... Sat Mar 29 05:41:33 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 29 Mar 2014 05:41:33 +0100 Subject: [Gambas-user] Detecting a non-UTF character in a string In-Reply-To: <5335991B.1050107@...1...> References: <1395802293.16855.9.camel@...2688...> <5335991B.1050107@...1...> Message-ID: <53364EFD.6010203@...1...> Le 28/03/2014 16:45, Beno?t Minisini a ?crit : > Le 26/03/2014 03:51, bbruen a ?crit : >> I get an occasional* error with downloaded data which results in a >> postgresql update failure with the following error "ERR: Cannot create >> record: ERROR: invalid byte sequence for encoding "UTF8": 0xc2". I know >> how to fix that as long as I can detect the bad char in the string. That >> is what I dont know, in fact I haven't got the foggiest clue. >> >> The input data is split out from a text file downloaded via FTP. The bad >> data lines come from a particular source but only occur occasionally. >> They always occur at the same "place" in the parsed file (i.e. a "Title" >> field, which is a moderately lengthed string extracted using a Scan() >> function.) They always appear at the same place in the field (i.e. at >> the very end of the field. >> >> So, how can I test if Right(sTitle,1) = NotARealCharacter? >> >> tia >> Bruce >> > > This is missing in Gambas. A String.IsValid() method that would tell you > if a string is valid UTF-8. > > At the moment, you must validate your string manually. > > Or maybe there is a trick: > > Conv$(MyString, "UTF-8", "UCS-4LE") > > Conv$() may force a validation of MyString (I'm not sure as this is done > by the internal iconv GNU library). So if Conv$() raises an error, it > must mean that MyString is not a valid UTF-8 string. > > Regards, > Oops. Actually String.IsValid() already exists. :-) So just can use it! -- Beno?t Minisini From ihaywood3 at ...626... Sat Mar 29 05:56:18 2014 From: ihaywood3 at ...626... (Ian Haywood) Date: Sat, 29 Mar 2014 04:56:18 +0000 Subject: [Gambas-user] running gambas3 on ARM In-Reply-To: References: Message-ID: On Sat, Mar 29, 2014 at 4:04 AM, Ian Haywood wrote: > I've been trying to run gambas3 on a ARM processor > very basic text-only programs will work > running anything graphical crashes in the Qt library. > valgrind report attached -------------- next part -------------- ==10827== Memcheck, a memory error detector ==10827== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al. ==10827== Using Valgrind-3.9.0 and LibVEX; rerun with -h for copyright info ==10827== Command: /usr/bin/gbr3 /usr/bin/gambas3.gambas ==10827== ==10827== Invalid read of size 4 ==10827== at 0x4011770: strlen (strlen.S:76) ==10827== by 0x4007EAB: _dl_new_object (dl-object.c:151) ==10827== by 0x40042C5: _dl_map_object_from_fd (dl-load.c:1053) ==10827== by 0x4006307: _dl_map_object (dl-load.c:2605) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x18C63: ??? (in /usr/bin/gbx3) ==10827== Address 0x4a12984 is 28 bytes inside a block of size 29 alloc'd ==10827== at 0x482DD2C: malloc (vg_replace_malloc.c:291) ==10827== by 0x4003EEB: local_strdup (dl-load.c:162) ==10827== by 0x40062B1: _dl_map_object (dl-load.c:2538) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x18C63: ??? (in /usr/bin/gbx3) ==10827== ==10827== Invalid read of size 4 ==10827== at 0x4011770: strlen (strlen.S:76) ==10827== by 0x400AF23: _dl_signal_error (dl-error.c:86) ==10827== by 0x400B095: _dl_signal_cerror (dl-error.c:151) ==10827== by 0x4007A2F: _dl_lookup_symbol_x (dl-lookup.c:779) ==10827== by 0x49B195F: do_sym (dl-sym.c:168) ==10827== by 0x49B1C81: _dl_sym (dl-sym.c:273) ==10827== by 0x48C4BF9: dlsym_doit (dlsym.c:50) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4C31: dlsym (dlsym.c:70) ==10827== by 0x18AF7: ??? (in /usr/bin/gbx3) ==10827== Address 0x4a12984 is 28 bytes inside a block of size 29 alloc'd ==10827== at 0x482DD2C: malloc (vg_replace_malloc.c:291) ==10827== by 0x4003EEB: local_strdup (dl-load.c:162) ==10827== by 0x40062B1: _dl_map_object (dl-load.c:2538) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x18C63: ??? (in /usr/bin/gbx3) ==10827== ==10827== Invalid read of size 4 ==10827== at 0x40114A4: index (strchr.S:99) ==10827== by 0x400DE0B: dl_open_worker (dl-open.c:212) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x49B1761: do_dlopen (dl-libc.c:87) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x49B17F5: dlerror_run (dl-libc.c:46) ==10827== by 0x49B1841: __libc_dlopen_mode (dl-libc.c:163) ==10827== by 0x491710F: __gconv_find_shlib (gconv_dl.c:116) ==10827== by 0x4916B41: find_module (gconv_cache.c:195) ==10827== by 0x4916E4D: __gconv_lookup_cache (gconv_cache.c:392) ==10827== by 0x4911149: __gconv_find_transform (gconv_db.c:731) ==10827== Address 0x4b3104c is 68 bytes inside a block of size 69 alloc'd ==10827== at 0x482DD2C: malloc (vg_replace_malloc.c:291) ==10827== by 0x4917183: __gconv_find_shlib (gconv_dl.c:88) ==10827== by 0x4916B41: find_module (gconv_cache.c:195) ==10827== by 0x4916E4D: __gconv_lookup_cache (gconv_cache.c:392) ==10827== by 0x4911149: __gconv_find_transform (gconv_db.c:731) ==10827== by 0x49101C7: __gconv_open (gconv_open.c:172) ==10827== by 0x490FF09: iconv_open (iconv_open.c:71) ==10827== by 0x67FA871: QIconvCodec::createIconv_t(char const*, char const*) (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Invalid read of size 4 ==10827== at 0x4011770: strlen (strlen.S:76) ==10827== by 0x4003EE3: local_strdup (dl-load.c:161) ==10827== by 0x40062B1: _dl_map_object (dl-load.c:2538) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x49B1761: do_dlopen (dl-libc.c:87) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x49B17F5: dlerror_run (dl-libc.c:46) ==10827== by 0x49B1841: __libc_dlopen_mode (dl-libc.c:163) ==10827== by 0x491710F: __gconv_find_shlib (gconv_dl.c:116) ==10827== by 0x4916B41: find_module (gconv_cache.c:195) ==10827== Address 0x4b3104c is 68 bytes inside a block of size 69 alloc'd ==10827== at 0x482DD2C: malloc (vg_replace_malloc.c:291) ==10827== by 0x4917183: __gconv_find_shlib (gconv_dl.c:88) ==10827== by 0x4916B41: find_module (gconv_cache.c:195) ==10827== by 0x4916E4D: __gconv_lookup_cache (gconv_cache.c:392) ==10827== by 0x4911149: __gconv_find_transform (gconv_db.c:731) ==10827== by 0x49101C7: __gconv_open (gconv_open.c:172) ==10827== by 0x490FF09: iconv_open (iconv_open.c:71) ==10827== by 0x67FA871: QIconvCodec::createIconv_t(char const*, char const*) (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Invalid read of size 4 ==10827== at 0x4011770: strlen (strlen.S:76) ==10827== by 0x4007DAB: _dl_new_object (dl-object.c:62) ==10827== by 0x40042C5: _dl_map_object_from_fd (dl-load.c:1053) ==10827== by 0x4006307: _dl_map_object (dl-load.c:2605) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x49B1761: do_dlopen (dl-libc.c:87) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x49B17F5: dlerror_run (dl-libc.c:46) ==10827== by 0x49B1841: __libc_dlopen_mode (dl-libc.c:163) ==10827== by 0x491710F: __gconv_find_shlib (gconv_dl.c:116) ==10827== Address 0x4b3104c is 68 bytes inside a block of size 69 alloc'd ==10827== at 0x482DD2C: malloc (vg_replace_malloc.c:291) ==10827== by 0x4917183: __gconv_find_shlib (gconv_dl.c:88) ==10827== by 0x4916B41: find_module (gconv_cache.c:195) ==10827== by 0x4916E4D: __gconv_lookup_cache (gconv_cache.c:392) ==10827== by 0x4911149: __gconv_find_transform (gconv_db.c:731) ==10827== by 0x49101C7: __gconv_open (gconv_open.c:172) ==10827== by 0x490FF09: iconv_open (iconv_open.c:71) ==10827== by 0x67FA871: QIconvCodec::createIconv_t(char const*, char const*) (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Invalid read of size 4 ==10827== at 0x4011462: index (strchr.S:70) ==10827== by 0x400DE0B: dl_open_worker (dl-open.c:212) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== Address 0x4b395f4 is 0 bytes after a block of size 36 alloc'd ==10827== at 0x482DD2C: malloc (vg_replace_malloc.c:291) ==10827== by 0x6725B03: QByteArray::QByteArray(int, Qt::Initialization) (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Conditional jump or move depends on uninitialised value(s) ==10827== at 0x40114A4: index (strchr.S:99) ==10827== by 0x400DE0B: dl_open_worker (dl-open.c:212) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Conditional jump or move depends on uninitialised value(s) ==10827== at 0x40114A8: index (strchr.S:101) ==10827== by 0x400DE0B: dl_open_worker (dl-open.c:212) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Conditional jump or move depends on uninitialised value(s) ==10827== at 0x400DE10: dl_open_worker (dl-open.c:213) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Invalid read of size 4 ==10827== at 0x4011462: index (strchr.S:70) ==10827== by 0x4006299: _dl_map_object (dl-load.c:2392) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== Address 0x4b395f4 is 0 bytes after a block of size 36 alloc'd ==10827== at 0x482DD2C: malloc (vg_replace_malloc.c:291) ==10827== by 0x6725B03: QByteArray::QByteArray(int, Qt::Initialization) (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Conditional jump or move depends on uninitialised value(s) ==10827== at 0x40114A4: index (strchr.S:99) ==10827== by 0x4006299: _dl_map_object (dl-load.c:2392) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Conditional jump or move depends on uninitialised value(s) ==10827== at 0x40114A8: index (strchr.S:101) ==10827== by 0x4006299: _dl_map_object (dl-load.c:2392) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Conditional jump or move depends on uninitialised value(s) ==10827== at 0x400629C: _dl_map_object (dl-load.c:2392) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Invalid read of size 4 ==10827== at 0x4011744: strlen (strlen.S:55) ==10827== by 0x4006377: _dl_map_object (dl-load.c:2396) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== Address 0x4b395f4 is 0 bytes after a block of size 36 alloc'd ==10827== at 0x482DD2C: malloc (vg_replace_malloc.c:291) ==10827== by 0x6725B03: QByteArray::QByteArray(int, Qt::Initialization) (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Conditional jump or move depends on uninitialised value(s) ==10827== at 0x4011770: strlen (strlen.S:76) ==10827== by 0x4006377: _dl_map_object (dl-load.c:2396) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Conditional jump or move depends on uninitialised value(s) ==10827== at 0x4011774: strlen (strlen.S:78) ==10827== by 0x4006377: _dl_map_object (dl-load.c:2396) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x4011F90: ??? (mempcpy.c:29) ==10827== by 0x400565B: open_path (dl-load.c:2193) ==10827== by 0x40063DF: _dl_map_object (dl-load.c:2441) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x401200C: memcpy (memcpy_impl.S:352) ==10827== by 0x4011F97: mempcpy (mempcpy.c:30) ==10827== by 0x400565B: open_path (dl-load.c:2193) ==10827== by 0x40063DF: _dl_map_object (dl-load.c:2441) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x4012068: memcpy (memcpy_impl.S:362) ==10827== by 0x4011F97: mempcpy (mempcpy.c:30) ==10827== by 0x400565B: open_path (dl-load.c:2193) ==10827== by 0x40063DF: _dl_map_object (dl-load.c:2441) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x4011F9A: mempcpy (mempcpy.c:31) ==10827== by 0x400565B: open_path (dl-load.c:2193) ==10827== by 0x40063DF: _dl_map_object (dl-load.c:2441) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x4012044: memcpy (memcpy_impl.S:352) ==10827== by 0x4011F97: mempcpy (mempcpy.c:30) ==10827== by 0x400565B: open_path (dl-load.c:2193) ==10827== by 0x40063DF: _dl_map_object (dl-load.c:2441) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x4012064: memcpy (memcpy_impl.S:360) ==10827== by 0x4011F97: mempcpy (mempcpy.c:30) ==10827== by 0x400565B: open_path (dl-load.c:2193) ==10827== by 0x40063DF: _dl_map_object (dl-load.c:2441) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x4011F90: ??? (mempcpy.c:29) ==10827== by 0x40056AB: open_path (dl-load.c:2201) ==10827== by 0x40063DF: _dl_map_object (dl-load.c:2441) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x4011F9A: mempcpy (mempcpy.c:31) ==10827== by 0x40056AB: open_path (dl-load.c:2201) ==10827== by 0x40063DF: _dl_map_object (dl-load.c:2441) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x4011F90: ??? (mempcpy.c:29) ==10827== by 0x40056B3: open_path (dl-load.c:2201) ==10827== by 0x40063DF: _dl_map_object (dl-load.c:2441) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Conditional jump or move depends on uninitialised value(s) ==10827== at 0x4011FC8: memcpy (memcpy_impl.S:302) ==10827== by 0x4011F97: mempcpy (mempcpy.c:30) ==10827== by 0x40056B3: open_path (dl-load.c:2201) ==10827== by 0x40063DF: _dl_map_object (dl-load.c:2441) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x4011FCC: memcpy (memcpy_impl.S:342) ==10827== by 0x4011F97: mempcpy (mempcpy.c:30) ==10827== by 0x40056B3: open_path (dl-load.c:2201) ==10827== by 0x40063DF: _dl_map_object (dl-load.c:2441) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x4012038: memcpy (memcpy_impl.S:352) ==10827== by 0x4011F97: mempcpy (mempcpy.c:30) ==10827== by 0x40056B3: open_path (dl-load.c:2201) ==10827== by 0x40063DF: _dl_map_object (dl-load.c:2441) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x401203C: memcpy (memcpy_impl.S:352) ==10827== by 0x4011F97: mempcpy (mempcpy.c:30) ==10827== by 0x40056B3: open_path (dl-load.c:2201) ==10827== by 0x40063DF: _dl_map_object (dl-load.c:2441) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Conditional jump or move depends on uninitialised value(s) ==10827== at 0x401205C: memcpy (memcpy_impl.S:356) ==10827== by 0x4011F97: mempcpy (mempcpy.c:30) ==10827== by 0x40056B3: open_path (dl-load.c:2201) ==10827== by 0x40063DF: _dl_map_object (dl-load.c:2441) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Conditional jump or move depends on uninitialised value(s) ==10827== at 0x4012060: memcpy (memcpy_impl.S:358) ==10827== by 0x4011F97: mempcpy (mempcpy.c:30) ==10827== by 0x40056B3: open_path (dl-load.c:2201) ==10827== by 0x40063DF: _dl_map_object (dl-load.c:2441) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x4012060: memcpy (memcpy_impl.S:358) ==10827== by 0x4011F97: mempcpy (mempcpy.c:30) ==10827== by 0x40056B3: open_path (dl-load.c:2201) ==10827== by 0x40063DF: _dl_map_object (dl-load.c:2441) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x4012068: memcpy (memcpy_impl.S:362) ==10827== by 0x4011F97: mempcpy (mempcpy.c:30) ==10827== by 0x40056B3: open_path (dl-load.c:2201) ==10827== by 0x40063DF: _dl_map_object (dl-load.c:2441) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x4011F9A: mempcpy (mempcpy.c:31) ==10827== by 0x40056B3: open_path (dl-load.c:2201) ==10827== by 0x40063DF: _dl_map_object (dl-load.c:2441) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x40056CA: open_path (dl-load.c:2210) ==10827== by 0x40063DF: _dl_map_object (dl-load.c:2441) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x4005144: check_arm_attributes_hfabi.constprop.7 (dl-load.c:1867) ==10827== by 0x40056DD: open_path (dl-load.c:2210) ==10827== by 0x40063DF: _dl_map_object (dl-load.c:2441) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x4005154: open_verify (dl-load.c:1867) ==10827== by 0x40056DD: open_path (dl-load.c:2210) ==10827== by 0x40063DF: _dl_map_object (dl-load.c:2441) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x4005166: open_verify (dl-load.c:1924) ==10827== by 0x40056DD: open_path (dl-load.c:2210) ==10827== by 0x40063DF: _dl_map_object (dl-load.c:2441) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x4010FB0: ??? (syscall-template.S:81) ==10827== by 0x400516F: open_verify (dl-load.c:1924) ==10827== by 0x40056DD: open_path (dl-load.c:2210) ==10827== by 0x40063DF: _dl_map_object (dl-load.c:2441) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Syscall param open(filename) contains uninitialised byte(s) ==10827== at 0x4010FB6: open (syscall-template.S:81) ==10827== by 0x400516F: open_verify (dl-load.c:1924) ==10827== by 0x40056DD: open_path (dl-load.c:2210) ==10827== by 0x40063DF: _dl_map_object (dl-load.c:2441) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x4010FB6: open (syscall-template.S:81) ==10827== by 0x400516F: open_verify (dl-load.c:1924) ==10827== by 0x40056DD: open_path (dl-load.c:2210) ==10827== by 0x40063DF: _dl_map_object (dl-load.c:2441) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x4005170: open_verify (dl-load.c:1924) ==10827== by 0x40056DD: open_path (dl-load.c:2210) ==10827== by 0x40063DF: _dl_map_object (dl-load.c:2441) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x40053A0: open_verify (dl-load.c:2148) ==10827== by 0x63696267: ??? ==10827== ==10827== Invalid read of size 4 ==10827== at 0x4011744: strlen (strlen.S:55) ==10827== by 0x4007DAB: _dl_new_object (dl-object.c:62) ==10827== by 0x40042C5: _dl_map_object_from_fd (dl-load.c:1053) ==10827== by 0x4006307: _dl_map_object (dl-load.c:2605) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== Address 0x4b395f4 is 0 bytes after a block of size 36 alloc'd ==10827== at 0x482DD2C: malloc (vg_replace_malloc.c:291) ==10827== by 0x6725B03: QByteArray::QByteArray(int, Qt::Initialization) (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Conditional jump or move depends on uninitialised value(s) ==10827== at 0x4011770: strlen (strlen.S:76) ==10827== by 0x4007DAB: _dl_new_object (dl-object.c:62) ==10827== by 0x40042C5: _dl_map_object_from_fd (dl-load.c:1053) ==10827== by 0x4006307: _dl_map_object (dl-load.c:2605) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Conditional jump or move depends on uninitialised value(s) ==10827== at 0x4011774: strlen (strlen.S:78) ==10827== by 0x4007DAB: _dl_new_object (dl-object.c:62) ==10827== by 0x40042C5: _dl_map_object_from_fd (dl-load.c:1053) ==10827== by 0x4006307: _dl_map_object (dl-load.c:2605) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Conditional jump or move depends on uninitialised value(s) ==10827== at 0x48304E4: calloc (vg_replace_malloc.c:618) ==10827== by 0x4007DE5: _dl_new_object (dl-object.c:75) ==10827== by 0x40042C5: _dl_map_object_from_fd (dl-load.c:1053) ==10827== by 0x4006307: _dl_map_object (dl-load.c:2605) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Conditional jump or move depends on uninitialised value(s) ==10827== at 0x4011FC8: memcpy (memcpy_impl.S:302) ==10827== by 0x4007E0D: _dl_new_object (dl-object.c:87) ==10827== by 0x40042C5: _dl_map_object_from_fd (dl-load.c:1053) ==10827== by 0x4006307: _dl_map_object (dl-load.c:2605) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x4011FCC: memcpy (memcpy_impl.S:342) ==10827== by 0x4007E0D: _dl_new_object (dl-object.c:87) ==10827== by 0x40042C5: _dl_map_object_from_fd (dl-load.c:1053) ==10827== by 0x4006307: _dl_map_object (dl-load.c:2605) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x4012038: memcpy (memcpy_impl.S:352) ==10827== by 0x4007E0D: _dl_new_object (dl-object.c:87) ==10827== by 0x40042C5: _dl_map_object_from_fd (dl-load.c:1053) ==10827== by 0x4006307: _dl_map_object (dl-load.c:2605) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x401203C: memcpy (memcpy_impl.S:352) ==10827== by 0x4007E0D: _dl_new_object (dl-object.c:87) ==10827== by 0x40042C5: _dl_map_object_from_fd (dl-load.c:1053) ==10827== by 0x4006307: _dl_map_object (dl-load.c:2605) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Conditional jump or move depends on uninitialised value(s) ==10827== at 0x401205C: memcpy (memcpy_impl.S:356) ==10827== by 0x4007E0D: _dl_new_object (dl-object.c:87) ==10827== by 0x40042C5: _dl_map_object_from_fd (dl-load.c:1053) ==10827== by 0x4006307: _dl_map_object (dl-load.c:2605) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Conditional jump or move depends on uninitialised value(s) ==10827== at 0x4012060: memcpy (memcpy_impl.S:358) ==10827== by 0x4007E0D: _dl_new_object (dl-object.c:87) ==10827== by 0x40042C5: _dl_map_object_from_fd (dl-load.c:1053) ==10827== by 0x4006307: _dl_map_object (dl-load.c:2605) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x4012060: memcpy (memcpy_impl.S:358) ==10827== by 0x4007E0D: _dl_new_object (dl-object.c:87) ==10827== by 0x40042C5: _dl_map_object_from_fd (dl-load.c:1053) ==10827== by 0x4006307: _dl_map_object (dl-load.c:2605) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x4012068: memcpy (memcpy_impl.S:362) ==10827== by 0x4007E0D: _dl_new_object (dl-object.c:87) ==10827== by 0x40042C5: _dl_map_object_from_fd (dl-load.c:1053) ==10827== by 0x4006307: _dl_map_object (dl-load.c:2605) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== --10827-- WARNING: unhandled syscall: 270 --10827-- You may be able to write your own handler. --10827-- Read the file README_MISSING_SYSCALL_OR_IOCTL. --10827-- Nevertheless we consider this a bug. Please report --10827-- it at http://valgrind.org/support/bug_reports.html. --10827-- WARNING: unhandled syscall: 270 --10827-- You may be able to write your own handler. --10827-- Read the file README_MISSING_SYSCALL_OR_IOCTL. --10827-- Nevertheless we consider this a bug. Please report --10827-- it at http://valgrind.org/support/bug_reports.html. --10827-- WARNING: unhandled syscall: 270 --10827-- You may be able to write your own handler. --10827-- Read the file README_MISSING_SYSCALL_OR_IOCTL. --10827-- Nevertheless we consider this a bug. Please report --10827-- it at http://valgrind.org/support/bug_reports.html. --10827-- WARNING: unhandled syscall: 270 --10827-- You may be able to write your own handler. --10827-- Read the file README_MISSING_SYSCALL_OR_IOCTL. --10827-- Nevertheless we consider this a bug. Please report --10827-- it at http://valgrind.org/support/bug_reports.html. --10827-- WARNING: unhandled syscall: 270 --10827-- You may be able to write your own handler. --10827-- Read the file README_MISSING_SYSCALL_OR_IOCTL. --10827-- Nevertheless we consider this a bug. Please report --10827-- it at http://valgrind.org/support/bug_reports.html. --10827-- WARNING: unhandled syscall: 270 --10827-- You may be able to write your own handler. --10827-- Read the file README_MISSING_SYSCALL_OR_IOCTL. --10827-- Nevertheless we consider this a bug. Please report --10827-- it at http://valgrind.org/support/bug_reports.html. --10827-- WARNING: unhandled syscall: 270 --10827-- You may be able to write your own handler. --10827-- Read the file README_MISSING_SYSCALL_OR_IOCTL. --10827-- Nevertheless we consider this a bug. Please report --10827-- it at http://valgrind.org/support/bug_reports.html. --10827-- WARNING: unhandled syscall: 270 --10827-- You may be able to write your own handler. --10827-- Read the file README_MISSING_SYSCALL_OR_IOCTL. --10827-- Nevertheless we consider this a bug. Please report --10827-- it at http://valgrind.org/support/bug_reports.html. --10827-- WARNING: unhandled syscall: 270 --10827-- You may be able to write your own handler. --10827-- Read the file README_MISSING_SYSCALL_OR_IOCTL. --10827-- Nevertheless we consider this a bug. Please report --10827-- it at http://valgrind.org/support/bug_reports.html. --10827-- WARNING: unhandled syscall: 270 --10827-- You may be able to write your own handler. --10827-- Read the file README_MISSING_SYSCALL_OR_IOCTL. --10827-- Nevertheless we consider this a bug. Please report --10827-- it at http://valgrind.org/support/bug_reports.html. ==10827== Invalid read of size 4 ==10827== at 0x4011744: strlen (strlen.S:55) ==10827== by 0x400DB97: _dl_open (dl-open.c:700) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== Address 0x4c93f6c is 44 bytes inside a block of size 46 alloc'd ==10827== at 0x482DD2C: malloc (vg_replace_malloc.c:291) ==10827== by 0x400AF39: _dl_signal_error (dl-error.c:89) ==10827== by 0x40068B9: _dl_map_object (dl-load.c:2600) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Conditional jump or move depends on uninitialised value(s) ==10827== at 0x4011770: strlen (strlen.S:76) ==10827== by 0x400AF23: _dl_signal_error (dl-error.c:86) ==10827== by 0x400DB55: _dl_open (dl-open.c:715) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Conditional jump or move depends on uninitialised value(s) ==10827== at 0x4011774: strlen (strlen.S:78) ==10827== by 0x400AF23: _dl_signal_error (dl-error.c:86) ==10827== by 0x400DB55: _dl_open (dl-open.c:715) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Conditional jump or move depends on uninitialised value(s) ==10827== at 0x482DCC8: malloc (vg_replace_malloc.c:212) ==10827== by 0x400AF39: _dl_signal_error (dl-error.c:89) ==10827== by 0x400DB55: _dl_open (dl-open.c:715) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Conditional jump or move depends on uninitialised value(s) ==10827== at 0x4011FC8: memcpy (memcpy_impl.S:302) ==10827== by 0x400AF4D: _dl_signal_error (dl-error.c:93) ==10827== by 0x400DB55: _dl_open (dl-open.c:715) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x4011FCC: memcpy (memcpy_impl.S:342) ==10827== by 0x400AF4D: _dl_signal_error (dl-error.c:93) ==10827== by 0x400DB55: _dl_open (dl-open.c:715) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x4012040: memcpy (memcpy_impl.S:352) ==10827== by 0x400AF4D: _dl_signal_error (dl-error.c:93) ==10827== by 0x400DB55: _dl_open (dl-open.c:715) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x4012044: memcpy (memcpy_impl.S:352) ==10827== by 0x400AF4D: _dl_signal_error (dl-error.c:93) ==10827== by 0x400DB55: _dl_open (dl-open.c:715) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Conditional jump or move depends on uninitialised value(s) ==10827== at 0x401205C: memcpy (memcpy_impl.S:356) ==10827== by 0x400AF4D: _dl_signal_error (dl-error.c:93) ==10827== by 0x400DB55: _dl_open (dl-open.c:715) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x401205C: memcpy (memcpy_impl.S:356) ==10827== by 0x400AF4D: _dl_signal_error (dl-error.c:93) ==10827== by 0x400DB55: _dl_open (dl-open.c:715) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Conditional jump or move depends on uninitialised value(s) ==10827== at 0x4012060: memcpy (memcpy_impl.S:358) ==10827== by 0x400AF4D: _dl_signal_error (dl-error.c:93) ==10827== by 0x400DB55: _dl_open (dl-open.c:715) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x4012060: memcpy (memcpy_impl.S:358) ==10827== by 0x400AF4D: _dl_signal_error (dl-error.c:93) ==10827== by 0x400DB55: _dl_open (dl-open.c:715) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x4012064: memcpy (memcpy_impl.S:360) ==10827== by 0x400AF4D: _dl_signal_error (dl-error.c:93) ==10827== by 0x400DB55: _dl_open (dl-open.c:715) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x4012068: memcpy (memcpy_impl.S:362) ==10827== by 0x400AF4D: _dl_signal_error (dl-error.c:93) ==10827== by 0x400DB55: _dl_open (dl-open.c:715) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x40053A0: open_verify (dl-load.c:2148) ==10827== by 0x69586267: ??? ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x4012048: memcpy (memcpy_impl.S:352) ==10827== by 0x400AF4D: _dl_signal_error (dl-error.c:93) ==10827== by 0x400DB55: _dl_open (dl-open.c:715) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x401204C: memcpy (memcpy_impl.S:352) ==10827== by 0x400AF4D: _dl_signal_error (dl-error.c:93) ==10827== by 0x400DB55: _dl_open (dl-open.c:715) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Invalid read of size 4 ==10827== at 0x4011744: strlen (strlen.S:55) ==10827== by 0x4007EAB: _dl_new_object (dl-object.c:151) ==10827== by 0x40042C5: _dl_map_object_from_fd (dl-load.c:1053) ==10827== by 0x4006307: _dl_map_object (dl-load.c:2605) ==10827== by 0x4009581: openaux (dl-deps.c:63) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x40096E9: _dl_map_object_deps (dl-deps.c:254) ==10827== by 0x400DE9D: dl_open_worker (dl-open.c:272) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== Address 0x4ce5fec is 20 bytes inside a block of size 21 alloc'd ==10827== at 0x482DD2C: malloc (vg_replace_malloc.c:291) ==10827== by 0x4003EEB: local_strdup (dl-load.c:162) ==10827== by 0x40064EF: _dl_map_object (dl-load.c:2509) ==10827== by 0x4009581: openaux (dl-deps.c:63) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x40096E9: _dl_map_object_deps (dl-deps.c:254) ==10827== by 0x400DE9D: dl_open_worker (dl-open.c:272) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== ==10827== Warning: noted but unhandled ioctl 0x7530 with no size/direction hints ==10827== This could cause spurious value errors to appear. ==10827== See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper. ==10827== Conditional jump or move depends on uninitialised value(s) ==10827== at 0xA78AC70: gcoOS_Construct (gc_hal_user_os.c:1088) ==10827== by 0xA6ED65F: _ModuleConstructor (gc_hal_user_os.c:471) ==10827== by 0x400B1D1: call_init (dl-init.c:78) ==10827== by 0x400B263: _dl_init (dl-init.c:126) ==10827== by 0x400E00D: dl_open_worker (dl-open.c:577) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Warning: noted but unhandled ioctl 0x7530 with no size/direction hints ==10827== This could cause spurious value errors to appear. ==10827== See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper. ==10827== Conditional jump or move depends on uninitialised value(s) ==10827== at 0xA6EFD24: gcoHAL_Construct (gc_hal_user.c:287) ==10827== by 0xA6ED6AB: _ModuleConstructor (gc_hal_user_os.c:480) ==10827== by 0x400B1D1: call_init (dl-init.c:78) ==10827== by 0x400B263: _dl_init (dl-init.c:126) ==10827== by 0x400E00D: dl_open_worker (dl-open.c:577) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Conditional jump or move depends on uninitialised value(s) ==10827== at 0xA6EFD30: gcoHAL_Construct (gc_hal_user.c:293) ==10827== by 0xA6ED6AB: _ModuleConstructor (gc_hal_user_os.c:480) ==10827== by 0x400B1D1: call_init (dl-init.c:78) ==10827== by 0x400B263: _dl_init (dl-init.c:126) ==10827== by 0x400E00D: dl_open_worker (dl-open.c:577) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Conditional jump or move depends on uninitialised value(s) ==10827== at 0xA6EFD94: gcoHAL_Construct (gc_hal_user.c:294) ==10827== by 0xA6ED6AB: _ModuleConstructor (gc_hal_user_os.c:480) ==10827== by 0x400B1D1: call_init (dl-init.c:78) ==10827== by 0x400B263: _dl_init (dl-init.c:126) ==10827== by 0x400E00D: dl_open_worker (dl-open.c:577) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Conditional jump or move depends on uninitialised value(s) ==10827== at 0xA6EFDA0: gcoHAL_Construct (gc_hal_user.c:295) ==10827== by 0xA6ED6AB: _ModuleConstructor (gc_hal_user_os.c:480) ==10827== by 0x400B1D1: call_init (dl-init.c:78) ==10827== by 0x400B263: _dl_init (dl-init.c:126) ==10827== by 0x400E00D: dl_open_worker (dl-open.c:577) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Conditional jump or move depends on uninitialised value(s) ==10827== at 0xA6EFDB0: gcoHAL_Construct (gc_hal_user.c:296) ==10827== by 0xA6ED6AB: _ModuleConstructor (gc_hal_user_os.c:480) ==10827== by 0x400B1D1: call_init (dl-init.c:78) ==10827== by 0x400B263: _dl_init (dl-init.c:126) ==10827== by 0x400E00D: dl_open_worker (dl-open.c:577) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Warning: noted but unhandled ioctl 0x7530 with no size/direction hints ==10827== This could cause spurious value errors to appear. ==10827== See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper. ==10827== Conditional jump or move depends on uninitialised value(s) ==10827== at 0xA6EFDDC: gcoHAL_Construct (gc_hal_user.c:322) ==10827== by 0xA6ED6AB: _ModuleConstructor (gc_hal_user_os.c:480) ==10827== by 0x400B1D1: call_init (dl-init.c:78) ==10827== by 0x400B263: _dl_init (dl-init.c:126) ==10827== by 0x400E00D: dl_open_worker (dl-open.c:577) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Conditional jump or move depends on uninitialised value(s) ==10827== at 0xA6EFDFC: gcoHAL_Construct (gc_hal_user.c:329) ==10827== by 0xA6ED6AB: _ModuleConstructor (gc_hal_user_os.c:480) ==10827== by 0x400B1D1: call_init (dl-init.c:78) ==10827== by 0x400B263: _dl_init (dl-init.c:126) ==10827== by 0x400E00D: dl_open_worker (dl-open.c:577) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Conditional jump or move depends on uninitialised value(s) ==10827== at 0xA6EFE10: gcoHAL_Construct (gc_hal_user.c:333) ==10827== by 0xA6ED6AB: _ModuleConstructor (gc_hal_user_os.c:480) ==10827== by 0x400B1D1: call_init (dl-init.c:78) ==10827== by 0x400B263: _dl_init (dl-init.c:126) ==10827== by 0x400E00D: dl_open_worker (dl-open.c:577) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Conditional jump or move depends on uninitialised value(s) ==10827== at 0xA78A278: gcoOS_QueryVideoMemory (gc_hal_user_os.c:1302) ==10827== by 0xA6ED6DB: _ModuleConstructor (gc_hal_user_os.c:483) ==10827== by 0x400B1D1: call_init (dl-init.c:78) ==10827== by 0x400B263: _dl_init (dl-init.c:126) ==10827== by 0x400E00D: dl_open_worker (dl-open.c:577) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Conditional jump or move depends on uninitialised value(s) ==10827== at 0xA6ED6EC: _ModuleConstructor (gc_hal_user_os.c:494) ==10827== by 0x400B1D1: call_init (dl-init.c:78) ==10827== by 0x400B263: _dl_init (dl-init.c:126) ==10827== by 0x400E00D: dl_open_worker (dl-open.c:577) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Conditional jump or move depends on uninitialised value(s) ==10827== at 0xA6ED6F8: _ModuleConstructor (gc_hal_user_os.c:504) ==10827== by 0x400B1D1: call_init (dl-init.c:78) ==10827== by 0x400B263: _dl_init (dl-init.c:126) ==10827== by 0x400E00D: dl_open_worker (dl-open.c:577) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Conditional jump or move depends on uninitialised value(s) ==10827== at 0xA6ED704: _ModuleConstructor (gc_hal_user_os.c:514) ==10827== by 0x400B1D1: call_init (dl-init.c:78) ==10827== by 0x400B263: _dl_init (dl-init.c:126) ==10827== by 0x400E00D: dl_open_worker (dl-open.c:577) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Syscall param mmap2(length) contains uninitialised byte(s) ==10827== at 0x4989DD8: mmap (mmap.S:42) ==10827== by 0xA78A1AF: gcoOS_DeviceControl (gc_hal_user_os.c:1726) ==10827== by 0xA6ED607: _MapMemory (gc_hal_user_os.c:188) ==10827== by 0xA6ED713: _ModuleConstructor (gc_hal_user_os.c:516) ==10827== by 0x400B1D1: call_init (dl-init.c:78) ==10827== by 0x400B263: _dl_init (dl-init.c:126) ==10827== by 0x400E00D: dl_open_worker (dl-open.c:577) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x40053A0: open_verify (dl-load.c:2148) ==10827== by 0x61776267: ??? ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x4011F90: ??? (mempcpy.c:29) ==10827== by 0x400565B: open_path (dl-load.c:2193) ==10827== by 0x4006539: _dl_map_object (dl-load.c:2526) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x401202C: memcpy (memcpy_impl.S:352) ==10827== by 0x4011F97: mempcpy (mempcpy.c:30) ==10827== by 0x400565B: open_path (dl-load.c:2193) ==10827== by 0x4006539: _dl_map_object (dl-load.c:2526) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x4012068: memcpy (memcpy_impl.S:362) ==10827== by 0x4011F97: mempcpy (mempcpy.c:30) ==10827== by 0x400565B: open_path (dl-load.c:2193) ==10827== by 0x4006539: _dl_map_object (dl-load.c:2526) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x4011F9A: mempcpy (mempcpy.c:31) ==10827== by 0x400565B: open_path (dl-load.c:2193) ==10827== by 0x4006539: _dl_map_object (dl-load.c:2526) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x4011F90: ??? (mempcpy.c:29) ==10827== by 0x40056AB: open_path (dl-load.c:2201) ==10827== by 0x4006539: _dl_map_object (dl-load.c:2526) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x4011F9A: mempcpy (mempcpy.c:31) ==10827== by 0x40056AB: open_path (dl-load.c:2201) ==10827== by 0x4006539: _dl_map_object (dl-load.c:2526) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x4011F90: ??? (mempcpy.c:29) ==10827== by 0x40056B3: open_path (dl-load.c:2201) ==10827== by 0x4006539: _dl_map_object (dl-load.c:2526) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Conditional jump or move depends on uninitialised value(s) ==10827== at 0x4011FC8: memcpy (memcpy_impl.S:302) ==10827== by 0x4011F97: mempcpy (mempcpy.c:30) ==10827== by 0x40056B3: open_path (dl-load.c:2201) ==10827== by 0x4006539: _dl_map_object (dl-load.c:2526) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x4011FCC: memcpy (memcpy_impl.S:342) ==10827== by 0x4011F97: mempcpy (mempcpy.c:30) ==10827== by 0x40056B3: open_path (dl-load.c:2201) ==10827== by 0x4006539: _dl_map_object (dl-load.c:2526) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x4012038: memcpy (memcpy_impl.S:352) ==10827== by 0x4011F97: mempcpy (mempcpy.c:30) ==10827== by 0x40056B3: open_path (dl-load.c:2201) ==10827== by 0x4006539: _dl_map_object (dl-load.c:2526) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x401203C: memcpy (memcpy_impl.S:352) ==10827== by 0x4011F97: mempcpy (mempcpy.c:30) ==10827== by 0x40056B3: open_path (dl-load.c:2201) ==10827== by 0x4006539: _dl_map_object (dl-load.c:2526) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Conditional jump or move depends on uninitialised value(s) ==10827== at 0x401205C: memcpy (memcpy_impl.S:356) ==10827== by 0x4011F97: mempcpy (mempcpy.c:30) ==10827== by 0x40056B3: open_path (dl-load.c:2201) ==10827== by 0x4006539: _dl_map_object (dl-load.c:2526) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== ==10827== More than 100 errors detected. Subsequent errors ==10827== will still be recorded, but in less detail than before. ==10827== Use of uninitialised value of size 4 ==10827== at 0x40056CA: open_path (dl-load.c:2210) ==10827== by 0x4006539: _dl_map_object (dl-load.c:2526) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x40053A0: open_verify (dl-load.c:2148) ==10827== by 0x6165756D: ??? ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x4012024: memcpy (memcpy_impl.S:352) ==10827== by 0x4011F97: mempcpy (mempcpy.c:30) ==10827== by 0x400565B: open_path (dl-load.c:2193) ==10827== by 0x4006539: _dl_map_object (dl-load.c:2526) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x401204C: memcpy (memcpy_impl.S:352) ==10827== by 0x4011F97: mempcpy (mempcpy.c:30) ==10827== by 0x40056AB: open_path (dl-load.c:2201) ==10827== by 0x4006539: _dl_map_object (dl-load.c:2526) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x4012054: memcpy (memcpy_impl.S:352) ==10827== by 0x4011F97: mempcpy (mempcpy.c:30) ==10827== by 0x40056AB: open_path (dl-load.c:2201) ==10827== by 0x4006539: _dl_map_object (dl-load.c:2526) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Invalid read of size 4 ==10827== at 0x4011744: strlen (strlen.S:55) ==10827== by 0x400AF23: _dl_signal_error (dl-error.c:86) ==10827== by 0x40068B9: _dl_map_object (dl-load.c:2600) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== Address 0x4d43d1c is 0 bytes after a block of size 36 alloc'd ==10827== at 0x482DD2C: malloc (vg_replace_malloc.c:291) ==10827== by 0x6725B03: QByteArray::QByteArray(int, Qt::Initialization) (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x4012038: memcpy (memcpy_impl.S:352) ==10827== by 0x400AF4D: _dl_signal_error (dl-error.c:93) ==10827== by 0x40068B9: _dl_map_object (dl-load.c:2600) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x401203C: memcpy (memcpy_impl.S:352) ==10827== by 0x400AF4D: _dl_signal_error (dl-error.c:93) ==10827== by 0x40068B9: _dl_map_object (dl-load.c:2600) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x401205C: memcpy (memcpy_impl.S:356) ==10827== by 0x4011F97: mempcpy (mempcpy.c:30) ==10827== by 0x40056B3: open_path (dl-load.c:2201) ==10827== by 0x40063DF: _dl_map_object (dl-load.c:2441) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x40053A0: open_verify (dl-load.c:2148) ==10827== by 0x6E676267: ??? ==10827== ==10827== Invalid read of size 4 ==10827== at 0x4011770: strlen (strlen.S:76) ==10827== by 0x400DB97: _dl_open (dl-open.c:700) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== Address 0x4d45890 is 48 bytes inside a block of size 49 alloc'd ==10827== at 0x482DD2C: malloc (vg_replace_malloc.c:291) ==10827== by 0x400AF39: _dl_signal_error (dl-error.c:89) ==10827== by 0x40068B9: _dl_map_object (dl-load.c:2600) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x401205C: memcpy (memcpy_impl.S:356) ==10827== by 0x4007E0D: _dl_new_object (dl-object.c:87) ==10827== by 0x40042C5: _dl_map_object_from_fd (dl-load.c:1053) ==10827== by 0x4006307: _dl_map_object (dl-load.c:2605) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x4012064: memcpy (memcpy_impl.S:360) ==10827== by 0x4007E0D: _dl_new_object (dl-object.c:87) ==10827== by 0x40042C5: _dl_map_object_from_fd (dl-load.c:1053) ==10827== by 0x4006307: _dl_map_object (dl-load.c:2605) ==10827== by 0x400DE5F: dl_open_worker (dl-open.c:235) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x400DA29: _dl_open (dl-open.c:661) ==10827== by 0x48C4AFF: dlopen_doit (dlopen.c:66) ==10827== by 0x400B0ED: _dl_catch_error (dl-error.c:177) ==10827== by 0x48C4F53: _dlerror_run (dlerror.c:163) ==10827== by 0x48C4B89: dlopen@@GLIBC_2.4 (dlopen.c:87) ==10827== by 0x67C942F: QLibraryPrivate::load_sys() (in /usr/lib/arm-linux-gnueabihf/libQtCore.so.4.8.6) ==10827== ==10827== Use of uninitialised value of size 4 ==10827== at 0x48D6936: pthread_mutex_lock (pthread_mutex_lock.c:66) ==10827== by 0x6C10C49: XrmQGetResource (in /usr/lib/arm-linux-gnueabihf/libX11.so.6.3.0) ==10827== ==10827== Invalid read of size 4 ==10827== at 0x48D6936: pthread_mutex_lock (pthread_mutex_lock.c:66) ==10827== by 0x6C10C49: XrmQGetResource (in /usr/lib/arm-linux-gnueabihf/libX11.so.6.3.0) ==10827== Address 0xc is not stack'd, malloc'd or (recently) free'd ==10827== ==10827== ==10827== Process terminating with default action of signal 11 (SIGSEGV) ==10827== Access not within mapped region at address 0xC ==10827== at 0x48D6936: pthread_mutex_lock (pthread_mutex_lock.c:66) ==10827== by 0x6C10C49: XrmQGetResource (in /usr/lib/arm-linux-gnueabihf/libX11.so.6.3.0) ==10827== If you believe this happened as a result of a stack ==10827== overflow in your program's main thread (unlikely but ==10827== possible), you can try to increase the size of the ==10827== main thread stack using the --main-stacksize= flag. ==10827== The main thread stack size used in this run was 8388608. ==10827== ==10827== HEAP SUMMARY: ==10827== in use at exit: 2,101,280 bytes in 12,080 blocks ==10827== total heap usage: 24,411 allocs, 12,331 frees, 3,745,967 bytes allocated ==10827== ==10827== LEAK SUMMARY: ==10827== definitely lost: 3,456 bytes in 21 blocks ==10827== indirectly lost: 14,816 bytes in 612 blocks ==10827== possibly lost: 1,350,210 bytes in 3,708 blocks ==10827== still reachable: 732,798 bytes in 7,739 blocks ==10827== suppressed: 0 bytes in 0 blocks ==10827== Rerun with --leak-check=full to see details of leaked memory ==10827== ==10827== For counts of detected and suppressed errors, rerun with: -v ==10827== Use --track-origins=yes to see where uninitialised values come from ==10827== ERROR SUMMARY: 792 errors from 115 contexts (suppressed: 1 from 1) From gambas at ...2524... Sat Mar 29 16:30:01 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 29 Mar 2014 15:30:01 +0000 Subject: [Gambas-user] Issue 517 in gambas: JSON.Decode incorrectly converts Integer data-type to Float Message-ID: <0-6813199134517018827-641335887509248454-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 517 by uAle... at ...626...: JSON.Decode incorrectly converts Integer data-type to Float http://code.google.com/p/gambas/issues/detail?id=517 1) Describe the problem. When decoding a JSON string with "JSON.Decode", values like: { "value": 2 } Is *always* converted to a Gambas Float datatype. According to the following link, i expect only values with a would be automatically converted to float: http://gambasdoc.org/help/cat/float?v3 "If there is no decimal point and no exponant, then the number will be interpreted as an integer." (Else what's the point of having integer/long in the JSON.Decode option list) 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: 3.5.2 Revision: r1234 (if you use a development version) Operating system: Linux Distribution: Ubuntu 13.10 Architecture: x86_64 GUI component: QT3 / QT4 / GTK+ Desktop used: Gnome / KDE ... 3) Provide a little project that reproduces the bug or the crash. Attached 4) If your project needs a database, try to provide it, or part of it. 5) Explain clearly how to reproduce the bug or the crash. 6) By doing that carefully, you have done 50% of the bug fix job! IMPORTANT NOTE: If you encounter several different problems or bugs, (for example, a bug in your project, and an interpreter crash while debugging it), please create distinct issues! ANOTHER NOTE: Don't create an issue if you have a compilation problem on the development version. Send a mail to the mailing-list instead, thanks. Attachments: Test-JSON.tar.gz 5.4 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 ...1... Sat Mar 29 17:06:51 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 29 Mar 2014 17:06:51 +0100 Subject: [Gambas-user] running gambas3 on ARM In-Reply-To: References: Message-ID: <5336EF9B.5050907@...1...> Le 29/03/2014 05:56, Ian Haywood a ?crit : > On Sat, Mar 29, 2014 at 4:04 AM, Ian Haywood wrote: >> I've been trying to run gambas3 on a ARM processor >> very basic text-only programs will work >> running anything graphical crashes in the Qt library. >> > valgrind report attached > It crashes inside dlopen(), so that means there is something weird in your Qt4 installation or your system installation. Without details, I can't say more... -- Beno?t Minisini From gambas at ...2524... Sat Mar 29 17:11:00 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 29 Mar 2014 16:11:00 +0000 Subject: [Gambas-user] Issue 517 in gambas: JSON.Decode incorrectly converts Integer data-type to Float In-Reply-To: <0-6813199134517018827-641335887509248454-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-641335887509248454-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-641335887509248454-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-3.5.0 Comment #1 on issue 517 by benoit.m... at ...626...: JSON.Decode incorrectly converts Integer data-type to Float http://code.google.com/p/gambas/issues/detail?id=517 There is no integer in JSON, only number that are floats. This is the reason why every number was converted to float. I will fix that for convenience. > (Else what's the point of having integer/long in the JSON.Decode option > list) I don't know what you are talking about there... -- 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 29 17:13:31 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 29 Mar 2014 16:13:31 +0000 Subject: [Gambas-user] Issue 516 in gambas: bug BSet -1 In-Reply-To: <4-6813199134517018827-4259934735021452923-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-4259934735021452923-gambas=googlecode.com@...2524...> <0-6813199134517018827-4259934735021452923-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-4259934735021452923-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #5 on issue 516 by benoit.m... at ...626...: bug BSet -1 http://code.google.com/p/gambas/issues/detail?id=516 Yes. Read http://en.wikipedia.org/wiki/Two%27s_complement to learn how negative numbers are represented in memory and in the CPU. Russian link: http://ru.wikipedia.org/wiki/%D0%94%D0%BE%D0%BF%D0%BE%D0%BB%D0%BD%D0%B8%D1%82%D0%B5%D0%BB%D1%8C%D0%BD%D1%8B%D0%B9_%D0%BA%D0%BE%D0%B4_%28%D0%BF%D1%80%D0%B5%D0%B4%D1%81%D1%82%D0%B0%D0%B2%D0%BB%D0%B5%D0%BD%D0%B8%D0%B5_%D1%87%D0%B8%D1%81%D0%BB%D0%B0%29 -- 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 29 17:14:31 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 29 Mar 2014 16:14:31 +0000 Subject: [Gambas-user] Issue 517 in gambas: JSON.Decode incorrectly converts Integer data-type to Float In-Reply-To: <1-6813199134517018827-641335887509248454-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-641335887509248454-gambas=googlecode.com@...2524...> <0-6813199134517018827-641335887509248454-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-641335887509248454-gambas=googlecode.com@...2524...> Comment #2 on issue 517 by uAle... at ...626...: JSON.Decode incorrectly converts Integer data-type to Float http://code.google.com/p/gambas/issues/detail?id=517 Sorry, my last line was a comment on the information on the following page: http://gambasdoc.org/help/comp/gb.web/json?v3 Line: -123.45E+6 Number Integer / Long / Float -- 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 29 17:18:33 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 29 Mar 2014 16:18:33 +0000 Subject: [Gambas-user] Issue 517 in gambas: JSON.Decode incorrectly converts Integer data-type to Float In-Reply-To: <2-6813199134517018827-641335887509248454-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-641335887509248454-gambas=googlecode.com@...2524...> <0-6813199134517018827-641335887509248454-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-641335887509248454-gambas=googlecode.com@...2524...> Comment #3 on issue 517 by uAle... at ...626...: JSON.Decode incorrectly converts Integer data-type to Float http://code.google.com/p/gambas/issues/detail?id=517 Looking at the following link: http://www.tutorialspoint.com/json/json_data_types.htm Maybe it is just the wiki page which needs updating ;-) That all numbers are always converted to "Float". -- 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 29 17:19:33 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 29 Mar 2014 16:19:33 +0000 Subject: [Gambas-user] Issue 515 in gambas: System freeze on Combobox popup on combobox_gofocus In-Reply-To: <0-6813199134517018827-10594693545543313964-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-10594693545543313964-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-10594693545543313964-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version3.5.2 Version-3.5.0 Comment #1 on issue 515 by benoit.m... at ...626...: System freeze on Combobox popup on combobox_gofocus http://code.google.com/p/gambas/issues/detail?id=515 The system does not really freeze, but when closing the popup, the focus goes back to the combobox, and so the popup is reopened again, and GTK+ does not like that (QT4 does not either). In a few words, this is a bad idea, don't do that! I will see if I can do something against that weird behavior, but I can't promise any success. -- 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 29 17:25:04 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 29 Mar 2014 16:25:04 +0000 Subject: [Gambas-user] Issue 517 in gambas: JSON.Decode incorrectly converts Integer data-type to Float In-Reply-To: <3-6813199134517018827-641335887509248454-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-641335887509248454-gambas=googlecode.com@...2524...> <0-6813199134517018827-641335887509248454-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-641335887509248454-gambas=googlecode.com@...2524...> Comment #4 on issue 517 by benoit.m... at ...626...: JSON.Decode incorrectly converts Integer data-type to Float http://code.google.com/p/gambas/issues/detail?id=517 I will fix JSON.Decode() instead, so that it returns Integer, Long or Float. -- 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 29 17:31:15 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 29 Mar 2014 16:31:15 +0000 Subject: [Gambas-user] Issue 517 in gambas: JSON.Decode incorrectly converts Integer data-type to Float In-Reply-To: <4-6813199134517018827-641335887509248454-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-641335887509248454-gambas=googlecode.com@...2524...> <0-6813199134517018827-641335887509248454-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-641335887509248454-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #5 on issue 517 by benoit.m... at ...626...: JSON.Decode incorrectly converts Integer data-type to Float http://code.google.com/p/gambas/issues/detail?id=517 Fixed in revision #6208. -- 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 box02 at ...3313... Sat Mar 29 17:47:33 2014 From: box02 at ...3313... (box02 at ...3313...) Date: Sat, 29 Mar 2014 12:47:33 -0400 Subject: [Gambas-user] GAMBAS Executable Message-ID: <5336F925.9080708@...3313...> Hi. Gambas 3.1.1 installed from SoftwareCentre on Ubuntu 12.10 (gnome). I wrote a small test project that I am trying to compile. When I click on Compile (Project menu) or enter F7, the system returns immediately with no error or action. I would have expected some indication that the compile was successful, which hopefully it was. I would like to execute the compiled program from terminal - and not require the IDE. In VB under MS Windows, I ended up with a .exe file - easy to execute. Assuming the Project name is MG01 under a directory called 'GAMBAS Test Programs', how do I execute MG01? What is the file name of the executable? Perhaps a silly question from a novice. But any help would be greatly appreciated. Thanks, M... From gambas at ...1... Sat Mar 29 18:17:16 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 29 Mar 2014 18:17:16 +0100 Subject: [Gambas-user] How editing more than 1024 bytes in a field of the DataBrowser In-Reply-To: <1395704838.79657.YahooMailBasic@...3275...> References: <1395704838.79657.YahooMailBasic@...3275...> Message-ID: <5337001C.3020702@...1...> Le 25/03/2014 00:47, Ru Vuott a ?crit : > Hello, > > our friend, member of Gambas-it.org forum, asks how he can edit (or paste) more than 1024 bytes in a field of type 'text' using a control DataBrowser connected to a mysql db that comes to hold up 64 Kb. > He says that the databrowser cuts the text to 1024 characters, thereby preventing the modification of the cut data. > > Regards > vuott > I don't get the problem: can you send me a project that shows what you are talking about? -- Beno?t Minisini From gambas at ...1... Sat Mar 29 20:34:03 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 29 Mar 2014 20:34:03 +0100 Subject: [Gambas-user] TableView.Edit: Save event not triggered by ENTER key In-Reply-To: <5337179E.1060900@...626...> References: <532A214B.5000805@...626...> <5330C95C.7040207@...1...> <5331B474.6030402@...626...> <5331BB75.2090807@...1...> <5337179E.1060900@...626...> Message-ID: <5337202B.1010208@...1...> Le 29/03/2014 19:57, T Lee Davidson a ?crit : > On 03/25/2014 01:23 PM, Beno?t Minisini wrote: >> Le 25/03/2014 17:53, T Lee Davidson a ?crit : >>> On 03/24/2014 08:10 PM, Beno?t Minisini wrote: >>>> The ENTER or RETURN key does raise the Save event, but the event is >>>> raised only if needed (i.e. if the cell has been modified). >>> >>> That is how I understood the TableView.Edit method was supposed to >>> behave. However, in my Gambas 3.4.0, it does not. >>> >>> When a cell has been modified, the RETURN key and the arrow keys do >>> indeed raise the Save event; but the ENTER key (on the numeric keypad) >>> does not. >>> >>> I have checked, and the TableView control is correctly recognizing a >>> Key.Enter vs. a Key.Return on a KeyPress event. >>> >>> >>> Regards, >>> Lee >>> >> >> Can you try with gb.qt4 and gb.gtk to see which one works and which one >> does not? Or try to upgrade to the 3.5 version, it may be a bug that has >> been fixed. >> > > I was able to try version 3.5.1 from RPMs found online. The behavior is > the same. > > But, I think I may have come to an incorrect conclusion about the > triggering of the Save event, due to the behavior of the ENTER key. > > While editing a cell, causing modified data, the ENTER key appears to do > nothing in that it does not advance the cell-cursor to the next cell > like the RETURN key does. > > However, pressing ESC to cancel editing, after pressing ENTER, > immediately cancels all editing and shows that the cell contents have > indeed been saved. Normally, it takes two key presses of ESC to cancel > all editing. Once to cancel the current modification, and then a second > time to cancel the Edit operation. > > So ENTER does seem to be triggering the Save event, but it does not > behave consistently with the other keys that also trigger that event. > > I tried this also with gb.gtk. Or at least I think I did. I set the > GB_GUI environmental variable with `GB_GUI=gb.gtk`. I hope that was the > correct way to do it as there are no examples to follow on > http://gambaswiki.org/wiki/comp/gb.gui > > The behavior was the same. > > Regards, > Lee > Can you provide me a small project that reproduces that bug? -- Beno?t Minisini From vuott at ...325... Sat Mar 29 20:46:58 2014 From: vuott at ...325... (Ru Vuott) Date: Sat, 29 Mar 2014 19:46:58 +0000 (GMT) Subject: [Gambas-user] How editing more than 1024 bytes in a field of the DataBrowser In-Reply-To: <5337001C.3020702@...1...> Message-ID: <1396122418.47133.YahooMailBasic@...3268...> Hello Beno?t I comunicate your answer and request to our friend. ...we are waiting for an his answer. Bye vuotttt -------------------------------------------- Sab 29/3/14, Beno?t Minisini ha scritto: Oggetto: Re: [Gambas-user] How editing more than 1024 bytes in a field of the DataBrowser A: "mailing list for gambas users" Data: Sabato 29 marzo 2014, 18:17 Le 25/03/2014 00:47, Ru Vuott a ?crit : > Hello, > > our friend, member of Gambas-it.org forum, asks how he can edit (or paste) more than 1024 bytes in a field of type 'text' using a control DataBrowser connected to a mysql db that comes to hold up 64 Kb. > He says that the databrowser cuts the text to 1024 characters, thereby preventing the modification of the cut data. > > Regards > vuott > I don't get the problem: can you send me a project that shows what you are talking about? -- Beno?t Minisini ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From t.lee.davidson at ...626... Sat Mar 29 22:04:22 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Sat, 29 Mar 2014 17:04:22 -0400 Subject: [Gambas-user] TableView.Edit: Save event not triggered by ENTER key In-Reply-To: <5337202B.1010208@...1...> References: <532A214B.5000805@...626...> <5330C95C.7040207@...1...> <5331B474.6030402@...626...> <5331BB75.2090807@...1...> <5337179E.1060900@...626...> <5337202B.1010208@...1...> Message-ID: <53373556.2050505@...626...> On 03/29/2014 03:34 PM, Beno?t Minisini wrote: >> I was able to try version 3.5.1 from RPMs found online. The behavior is >> the same. >> >> But, I think I may have come to an incorrect conclusion about the >> triggering of the Save event, due to the behavior of the ENTER key. >> >> While editing a cell, causing modified data, the ENTER key appears to do >> nothing in that it does not advance the cell-cursor to the next cell >> like the RETURN key does. >> >> However, pressing ESC to cancel editing, after pressing ENTER, >> immediately cancels all editing and shows that the cell contents have >> indeed been saved. Normally, it takes two key presses of ESC to cancel >> all editing. Once to cancel the current modification, and then a second >> time to cancel the Edit operation. >> >> So ENTER does seem to be triggering the Save event, but it does not >> behave consistently with the other keys that also trigger that event. >> >> I tried this also with gb.gtk. Or at least I think I did. I set the >> GB_GUI environmental variable with `GB_GUI=gb.gtk`. I hope that was the >> correct way to do it as there are no examples to follow on >> http://gambaswiki.org/wiki/comp/gb.gui >> >> The behavior was the same. >> >> Regards, >> Lee >> > > Can you provide me a small project that reproduces that bug? > > -- > Beno?t Minisini Sure. I am not exactly sure how to share Gambas projects. I have attached TableviewEditEnterBug.tar which is an archive of the project directory. I hope that was the right way to do it. Regards, Lee -------------- next part -------------- A non-text attachment was scrubbed... Name: TableviewEditEnterBug.tar Type: application/x-tar Size: 20480 bytes Desc: not available URL: From gambas at ...1... Sat Mar 29 22:11:11 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 29 Mar 2014 22:11:11 +0100 Subject: [Gambas-user] TableView.Edit: Save event not triggered by ENTER key In-Reply-To: <53373556.2050505@...626...> References: <532A214B.5000805@...626...> <5330C95C.7040207@...1...> <5331B474.6030402@...626...> <5331BB75.2090807@...1...> <5337179E.1060900@...626...> <5337202B.1010208@...1...> <53373556.2050505@...626...> Message-ID: <533736EF.4070308@...1...> Le 29/03/2014 22:04, T Lee Davidson a ?crit : > > Sure. I am not exactly sure how to share Gambas projects. I have > attached TableviewEditEnterBug.tar which is an archive of the project > directory. I hope that was the right way to do it. > > Regards, > Lee To make an archive of your project, use the IDE 'Project->Make->Source archive' menu entry. -- Beno?t Minisini From jussi.lahtinen at ...626... Sat Mar 29 22:16:23 2014 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 29 Mar 2014 23:16:23 +0200 Subject: [Gambas-user] GAMBAS Executable In-Reply-To: <5336F925.9080708@...3313...> References: <5336F925.9080708@...3313...> Message-ID: Choose from menu: Project --> Make --> Executable You are prompted to give path and name for your executable (example something.gambas). If compilation doesn't return error, then it is successful. It will usually take less than second. Jussi On Sat, Mar 29, 2014 at 6:47 PM, box02 at ...3313... wrote: > Hi. > > Gambas 3.1.1 installed from SoftwareCentre on Ubuntu 12.10 (gnome). > > > I wrote a small test project that I am trying to compile. When I click on > Compile (Project menu) or enter > F7, the system returns immediately with no error or action. I would have > expected some indication that the compile was successful, which hopefully > it was. > > I would like to execute the compiled program from terminal - and not > require the IDE. In VB under MS Windows, I ended up with a .exe file - easy > to execute. > > Assuming the Project name is MG01 under a directory called 'GAMBAS Test > Programs', how do I execute MG01? What is the file name of the executable? > > Perhaps a silly question from a novice. But any help would be greatly > appreciated. > > Thanks, > > M... > > > > > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From t.lee.davidson at ...626... Sat Mar 29 22:19:58 2014 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Sat, 29 Mar 2014 17:19:58 -0400 Subject: [Gambas-user] TableView.Edit: Save event not triggered by ENTER key In-Reply-To: <533736EF.4070308@...1...> References: <532A214B.5000805@...626...> <5330C95C.7040207@...1...> <5331B474.6030402@...626...> <5331BB75.2090807@...1...> <5337179E.1060900@...626...> <5337202B.1010208@...1...> <53373556.2050505@...626...> <533736EF.4070308@...1...> Message-ID: <533738FE.6050009@...626...> On 03/29/2014 05:11 PM, Beno?t Minisini wrote: > Le 29/03/2014 22:04, T Lee Davidson a ?crit : >> >> Sure. I am not exactly sure how to share Gambas projects. I have >> attached TableviewEditEnterBug.tar which is an archive of the project >> directory. I hope that was the right way to do it. >> >> Regards, >> Lee > > To make an archive of your project, use the IDE 'Project->Make->Source > archive' menu entry. > Well that couldn't be any more simple :-) (Even for a dunderhead like me.) TableviewEditEnterBug-0.0.1.tar.gz attached. -------------- next part -------------- A non-text attachment was scrubbed... Name: TableviewEditEnterBug-0.0.1.tar.gz Type: application/x-gzip Size: 5004 bytes Desc: not available URL: From gambas at ...1... Sat Mar 29 22:36:34 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 29 Mar 2014 22:36:34 +0100 Subject: [Gambas-user] TableView.Edit: Save event not triggered by ENTER key In-Reply-To: <533738FE.6050009@...626...> References: <532A214B.5000805@...626...> <5330C95C.7040207@...1...> <5331B474.6030402@...626...> <5331BB75.2090807@...1...> <5337179E.1060900@...626...> <5337202B.1010208@...1...> <53373556.2050505@...626...> <533736EF.4070308@...1...> <533738FE.6050009@...626...> Message-ID: <53373CE2.4020303@...1...> Le 29/03/2014 22:19, T Lee Davidson a ?crit : > On 03/29/2014 05:11 PM, Beno?t Minisini wrote: >> Le 29/03/2014 22:04, T Lee Davidson a ?crit : >>> >>> Sure. I am not exactly sure how to share Gambas projects. I have >>> attached TableviewEditEnterBug.tar which is an archive of the project >>> directory. I hope that was the right way to do it. >>> >>> Regards, >>> Lee >> >> To make an archive of your project, use the IDE 'Project->Make->Source >> archive' menu entry. >> > > Well that couldn't be any more simple :-) (Even for a dunderhead like me.) > > TableviewEditEnterBug-0.0.1.tar.gz attached. Thanks. The bug is fixed in revision #6213, and will be backported to the next 3.5 version. Regards, -- Beno?t Minisini From gambas at ...2524... Sun Mar 30 08:31:20 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 30 Mar 2014 06:31:20 +0000 Subject: [Gambas-user] Issue 516 in gambas: bug BSet -1 In-Reply-To: <5-6813199134517018827-4259934735021452923-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-4259934735021452923-gambas=googlecode.com@...2524...> <0-6813199134517018827-4259934735021452923-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-4259934735021452923-gambas=googlecode.com@...2524...> Comment #6 on issue 516 by rezeden... at ...626...: bug BSet -1 http://code.google.com/p/gambas/issues/detail?id=516 thank you. -- 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 30 10:29:58 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 30 Mar 2014 08:29:58 +0000 Subject: [Gambas-user] Issue 517 in gambas: JSON.Decode incorrectly converts Integer data-type to Float In-Reply-To: <5-6813199134517018827-641335887509248454-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-641335887509248454-gambas=googlecode.com@...2524...> <0-6813199134517018827-641335887509248454-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-641335887509248454-gambas=googlecode.com@...2524...> Comment #6 on issue 517 by uAle... at ...626...: JSON.Decode incorrectly converts Integer data-type to Float http://code.google.com/p/gambas/issues/detail?id=517 @Benoit: Currently a Gambas datatype float is written in json as: { "value": 2.2 } { "value": 2.5 } { "value": 2 } Can the "2" also be written as "2.0"? This makes it possible for the other application to detect if it is a possible float or not. -- 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 30 13:19:26 2014 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 30 Mar 2014 11:19:26 +0000 Subject: [Gambas-user] Issue 517 in gambas: JSON.Decode incorrectly converts Integer data-type to Float In-Reply-To: <6-6813199134517018827-641335887509248454-gambas=googlecode.com@...2524...> References: <6-6813199134517018827-641335887509248454-gambas=googlecode.com@...2524...> <0-6813199134517018827-641335887509248454-gambas=googlecode.com@...2524...> Message-ID: <7-6813199134517018827-641335887509248454-gambas=googlecode.com@...2524...> Comment #7 on issue 517 by benoit.m... at ...626...: JSON.Decode incorrectly converts Integer data-type to Float http://code.google.com/p/gambas/issues/detail?id=517 Mmm... JSON does not require that, so you want to use JSON for something it was not thought. Of course I can do that, but I'm not sure it's a good idea, because it creates a Gambas JSON that is not exactly what JSON is supposed to be. Maybe I can add an option for that... I will tell you. And please create a new issue for that. Don't mix a bug and a request in the same 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 nigelverity at ...67... Sun Mar 30 13:23:55 2014 From: nigelverity at ...67... (Nigel Verity) Date: Sun, 30 Mar 2014 12:23:55 +0100 Subject: [Gambas-user] Gambas Datasource Control In-Reply-To: References: Message-ID: Hi Benoit I have tested the .validate() event of the datacontrol. It meets my requirement to test and modify the data entered in the control but is there any way to abandon the save entirely if certain criteria are not met? Thanks Nige Date: Fri, 28 Mar 2014 16:41:07 +0100 From: Beno?t Minisini Subject: Re: [Gambas-user] Gambas Datasource Control To: mailing list for gambas users Message-ID: <53359813.60203 at ...1...> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Le 28/03/2014 14:55, Nigel Verity a ?crit : > Hi > > I have used Gambas very successfully in conjunction with a Sqlite > database, but I have written my own procedures to exchange data > between the controls and the database. This provides great > flexibility but does require quite a lot of code. > > I am now experimenting with the use of the data-bound controls. I > need to perform some validation before a record is saved, and require > the option to abort the save entirely. The documentation describes a > "BeforeSave" event for the datasource control which is just what I > need. However, I can find no way of trapping this event as the IDE > does not appear to provide the option of generating the event > handler. I have tried inserting the appropriate code manually but it > has no effect. > > Grateful for any advice. > > Thanks > > Nige At the moment the BeforeSave() event handler cannot stop the save process. I can add that in the next version (i.e. if you call STOP EVENT during BeforeSave(), no save is performed) but not for the current version. What sort of validation do you need? Maybe there is a workaround: for example, the DataControl has a "Validate" event that allows to individually validate the data entered by the user. -- Beno?t Minisini From gambas at ...1... Sun Mar 30 13:32:34 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 30 Mar 2014 13:32:34 +0200 Subject: [Gambas-user] Gambas Datasource Control In-Reply-To: References: Message-ID: <533800D2.2000909@...1...> Le 30/03/2014 13:23, Nigel Verity a ?crit : > Hi Benoit > > I have tested the .validate() event of the datacontrol. It meets my > requirement to test and modify the data entered in the control but is > there any way to abandon the save entirely if certain criteria are > not met? > > Thanks > > Nige > Yep: if you call STOP EVENT from the Validate event handler, you will abort the save. -- Beno?t Minisini From box02 at ...3313... Sun Mar 30 20:46:48 2014 From: box02 at ...3313... (box02 at ...3313...) Date: Sun, 30 Mar 2014 14:46:48 -0400 Subject: [Gambas-user] GAMBAS Executable In-Reply-To: References: <5336F925.9080708@...3313...> Message-ID: Thanks - works like a charm! M.... On 14-03-29 05:16 PM, Jussi Lahtinen wrote: > Choose from menu: > Project --> Make --> Executable > > You are prompted to give path and name for your executable (example > something.gambas). > > If compilation doesn't return error, then it is successful. It will usually > take less than second. > > > Jussi > > > On Sat, Mar 29, 2014 at 6:47 PM, box02 at ...3313... wrote: > >> Hi. >> >> Gambas 3.1.1 installed from SoftwareCentre on Ubuntu 12.10 (gnome). >> >> >> I wrote a small test project that I am trying to compile. When I click on >> Compile (Project menu) or enter >> F7, the system returns immediately with no error or action. I would have >> expected some indication that the compile was successful, which hopefully >> it was. >> >> I would like to execute the compiled program from terminal - and not >> require the IDE. In VB under MS Windows, I ended up with a .exe file - easy >> to execute. >> >> Assuming the Project name is MG01 under a directory called 'GAMBAS Test >> Programs', how do I execute MG01? What is the file name of the executable? >> >> Perhaps a silly question from a novice. But any help would be greatly >> appreciated. >> >> Thanks, >> >> M... >> >> >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From vuott at ...325... Sun Mar 30 23:23:44 2014 From: vuott at ...325... (Ru Vuott) Date: Sun, 30 Mar 2014 22:23:44 +0100 (BST) Subject: [Gambas-user] ERROR with rev. #6216 !!! Message-ID: <1396214624.66928.YahooMailBasic@...3273...> Hello, I updated my Gambas-3; but when I try to run it, a notice-window appears: " This aplication has raised an unexpected error and must abort. [17] 'Expander.Border' is not a property. FImageProperty.FImageProperty.0 " :-( Regards vuott From gambas at ...1... Mon Mar 31 02:46:38 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 31 Mar 2014 02:46:38 +0200 Subject: [Gambas-user] ERROR with rev. #6216 !!! In-Reply-To: <1396214624.66928.YahooMailBasic@...3273...> References: <1396214624.66928.YahooMailBasic@...3273...> Message-ID: <5338BAEE.7050306@...1...> Le 30/03/2014 23:23, Ru Vuott a ?crit : > Hello, > > I updated my Gambas-3; but when I try to run it, a notice-window appears: > > " This aplication has raised an unexpected error and must abort. > [17] 'Expander.Border' is not a property. > FImageProperty.FImageProperty.0 " > > :-( > > Regards > vuott > Oops. Fixed in revision #6217. -- Beno?t Minisini From vuott at ...325... Mon Mar 31 06:34:25 2014 From: vuott at ...325... (Ru Vuott) Date: Mon, 31 Mar 2014 05:34:25 +0100 (BST) Subject: [Gambas-user] ERROR with rev. #6216 !!! In-Reply-To: <5338BAEE.7050306@...1...> Message-ID: <1396240465.44473.YahooMailBasic@...3273...> Well, now it works. Bye vuotttttttttttt -------------------------------------------- Lun 31/3/14, Beno?t Minisini ha scritto: Oggetto: Re: [Gambas-user] ERROR with rev. #6216 !!! A: "mailing list for gambas users" Data: Luned? 31 marzo 2014, 02:46 Le 30/03/2014 23:23, Ru Vuott a ?crit : > Hello, > > I updated my Gambas-3; but when I try to run it, a notice-window appears: > > " This aplication has raised an unexpected error and must abort. >? ???[17] 'Expander.Border' is not a property. >? ???FImageProperty.FImageProperty.0 " > > :-( > > Regards > vuott > Oops. Fixed in revision #6217. -- Beno?t Minisini ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From shordi at ...626... Mon Mar 31 11:22:37 2014 From: shordi at ...626... (=?ISO-8859-1?Q?Jorge_Carri=F3n?=) Date: Mon, 31 Mar 2014 11:22:37 +0200 Subject: [Gambas-user] Scrolling and Repositioning a Dirview control by code Message-ID: Hi I've a problem with a Dirview. When you call the .newfolder method, Dirview allows you type the name in the list of folders by inserting a textbox in its alfabetical place into the folder's list... BUT if you folder list is bigger than the view and the place of "New Folder" isn't visible, nothing happens. Then the user must scroll manually the folder list until the place of the "New Folder" is visible and invocate the .newfolder method. I've tried to scroll the list by code, but unsuccesfully. I've tried a lot of things like this: public functionbtnaddFolder _Click() dim t as treeview t=miDirView.Children[0] t.movefirst while t.current.text < "New Folder" t.movenext wend t.current.ensurevisible miDirview.NewFolder() end Someone can show me a example tu scroll an repositioning a treeview? Thanks in advance. Shordi From eilert-sprachen at ...221... Mon Mar 31 12:30:26 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 31 Mar 2014 12:30:26 +0200 Subject: [Gambas-user] ncurses help texts missing In-Reply-To: <20140324151500.GA509@...2774...> References: <52F097FE.7010808@...221...> <20140204084654.GA515@...2774...> <52F11E53.8020802@...221...> <20140204171312.GF515@...2774...> <20140204204305.GG515@...2774...> <20140205171535.GD8944@...2774...> <533046E8.8020304@...221...> <20140324151500.GA509@...2774...> Message-ID: <533943C2.7060908@...221...> [I'll free that thread from some lines...] >> Moreover, umlauts aren't printed correctly (I guess it's UTF-8). Is >> there a solution? >> > > My turn. NCurses offers an ncursesw library for wide characters - I just > don't use it. > > Not out of ignorance or laziness but because I want to use the CDK (curses > development kit) to implement controls in the terminal (Button (yes, with > mouse support!), TextBox, TextArea, ListBox, Menu, etc.). And the CDK does > not support wide characters (which UTF-8 ones are). If I rewrite gb.ncurses > to use ncursesw now, I'll certainly run into compatibility problems with the > CDK later. > > MAYBE, I can dig into the CDK in summer and try to patch it to use ncursesw. > However, Thomas Dickey says that this is not as trivial as one might think > at first. If this does not work, I'm afraid gb.ncurses will not support wide > characters. > Rather ambitious :-) But couldn't I use Conv() to achieve that? I tried hDialog.Caption = (Conv$("Make a choice ???", "UTF-8", "ASCII")) but it gave a conversion error. So I tried hDialog.Caption = (Conv$("Make a choice", "UTF-8", "ISO-8859-15")) and it gave no error (but the result was wrong, of course). So, what character set does ncurses use then? Can I use conv() for it anyway? If not, there should be a way to write a simple conversion table for German umlauts, e. g. using Replace(). Rolf From taboege at ...626... Mon Mar 31 15:26:08 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 31 Mar 2014 15:26:08 +0200 Subject: [Gambas-user] ncurses help texts missing In-Reply-To: <533943C2.7060908@...221...> References: <52F097FE.7010808@...221...> <20140204084654.GA515@...2774...> <52F11E53.8020802@...221...> <20140204171312.GF515@...2774...> <20140204204305.GG515@...2774...> <20140205171535.GD8944@...2774...> <533046E8.8020304@...221...> <20140324151500.GA509@...2774...> <533943C2.7060908@...221...> Message-ID: <20140331132608.GA514@...2774...> On Mon, 31 Mar 2014, Rolf-Werner Eilert wrote: > [I'll free that thread from some lines...] > > >> Moreover, umlauts aren't printed correctly (I guess it's UTF-8). Is > >> there a solution? > >> > > > > My turn. NCurses offers an ncursesw library for wide characters - I just > > don't use it. > > > > Not out of ignorance or laziness but because I want to use the CDK (curses > > development kit) to implement controls in the terminal (Button (yes, with > > mouse support!), TextBox, TextArea, ListBox, Menu, etc.). And the CDK does > > not support wide characters (which UTF-8 ones are). If I rewrite gb.ncurses > > to use ncursesw now, I'll certainly run into compatibility problems with the > > CDK later. > > > > MAYBE, I can dig into the CDK in summer and try to patch it to use ncursesw. > > However, Thomas Dickey says that this is not as trivial as one might think > > at first. If this does not work, I'm afraid gb.ncurses will not support wide > > characters. > > > > Rather ambitious :-) > > But couldn't I use Conv() to achieve that? I tried > > hDialog.Caption = (Conv$("Make a choice ???", "UTF-8", "ASCII")) > > but it gave a conversion error. So I tried > > hDialog.Caption = (Conv$("Make a choice", "UTF-8", "ISO-8859-15")) > > and it gave no error (but the result was wrong, of course). > > So, what character set does ncurses use then? Can I use conv() for it > anyway? If not, there should be a way to write a simple conversion table > for German umlauts, e. g. using Replace(). > NCurses is ASCII-based. You cannot encode umlauts into ASCII, so the conversion attempt will fail. What do you mean by "conversion table"? Do you want to have a-umlaut to be "ae" or "a" or "?" or ...? My mail client, mutt, uses the question mark to replace any non-ASCII character (as can be seen above) and this seems to be a pretty good solution as there are also letters with diacritics in some languages and those have no representation like "ae" for a German a-umlaut. Like how would you distinguish between "e accent aigu" and "e accent grave" from French if you only have ASCII letters? If you want to print "e" in both cases, this is a decision of personal taste or some convention. [ Likewise, what about Eszett in German? I like to write "sz" but others like "ss". ] Therefore, I don't think that this conversion table will go into gb.ncurses directly because as soon as gb.ncurses messes with strings from users, I will get tons of mails flagged as "bug report" saying that their strings are "corrupted" by gb.ncurses. What you can do is the following: create and export your own Window class and hook the Print method. Do your conversion there and then call Super.Print(). This way, the conversion is specific to your application but you can use gb.ncurses like you always did. [ You may even want to write a gb.ncurses.umlauts component/library... ] Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From eilert-sprachen at ...221... Mon Mar 31 15:41:33 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 31 Mar 2014 15:41:33 +0200 Subject: [Gambas-user] ncurses help texts missing In-Reply-To: <20140331132608.GA514@...2774...> References: <52F097FE.7010808@...221...> <20140204084654.GA515@...2774...> <52F11E53.8020802@...221...> <20140204171312.GF515@...2774...> <20140204204305.GG515@...2774...> <20140205171535.GD8944@...2774...> <533046E8.8020304@...221...> <20140324151500.GA509@...2774...> <533943C2.7060908@...221...> <20140331132608.GA514@...2774...> Message-ID: <5339708D.7090706@...221...> Am 31.03.2014 15:26, schrieb Tobias Boege: > On Mon, 31 Mar 2014, Rolf-Werner Eilert wrote: >> [I'll free that thread from some lines...] >> >>>> Moreover, umlauts aren't printed correctly (I guess it's UTF-8). Is >>>> there a solution? >>>> >>> >>> My turn. NCurses offers an ncursesw library for wide characters - I just >>> don't use it. >>> >>> Not out of ignorance or laziness but because I want to use the CDK (curses >>> development kit) to implement controls in the terminal (Button (yes, with >>> mouse support!), TextBox, TextArea, ListBox, Menu, etc.). And the CDK does >>> not support wide characters (which UTF-8 ones are). If I rewrite gb.ncurses >>> to use ncursesw now, I'll certainly run into compatibility problems with the >>> CDK later. >>> >>> MAYBE, I can dig into the CDK in summer and try to patch it to use ncursesw. >>> However, Thomas Dickey says that this is not as trivial as one might think >>> at first. If this does not work, I'm afraid gb.ncurses will not support wide >>> characters. >>> >> >> Rather ambitious :-) >> >> But couldn't I use Conv() to achieve that? I tried >> >> hDialog.Caption = (Conv$("Make a choice ???", "UTF-8", "ASCII")) >> >> but it gave a conversion error. So I tried >> >> hDialog.Caption = (Conv$("Make a choice", "UTF-8", "ISO-8859-15")) >> >> and it gave no error (but the result was wrong, of course). >> >> So, what character set does ncurses use then? Can I use conv() for it >> anyway? If not, there should be a way to write a simple conversion table >> for German umlauts, e. g. using Replace(). >> > > NCurses is ASCII-based. You cannot encode umlauts into ASCII, so the > conversion attempt will fail. Ok, I see your point. I was talking 8-bit ASCII here like I was used to have in old DOS programming times. In the upper half of this encoding, there are umlauts and some accent letters. > > What do you mean by "conversion table"? Do you want to have a-umlaut to be > "ae" or "a" or "?" or ...? "ae" would be a good workaround, but it would mean two letters instead of one, so it might destroy the programmer's "line" order in a text screen. I found this page http://www.melvilletheatre.com/articles/ncurses-extended-characters/index.html and it says "228" for an "?", but I tried to encode by writing a little function Private Function charConv(srcString As String) As String Replace$(srcString, "?", Chr$(228)) Return srcString End and the result was "M-CM-$" for it... What a shame :-) > My mail client, mutt, uses the question mark to > replace any non-ASCII character (as can be seen above) and this seems to be > a pretty good solution as there are also letters with diacritics in some > languages and those have no representation like "ae" for a German a-umlaut. Midnight-Commander (also made with ncurses) can display German umlauts in file names. Maybe you could ask the guys who made it how they did the trick... And consoles know umlauts, too. Maybe a simple Esc-code that produces the special characters in a console would do? > > Like how would you distinguish between "e accent aigu" and "e accent grave" > from French if you only have ASCII letters? If you want to print "e" in both > cases, this is a decision of personal taste or some convention. [ Likewise, > what about Eszett in German? I like to write "sz" but others like "ss". ] I'd prefer "ss", but it's the thing with the two-letter problem again... > > Therefore, I don't think that this conversion table will go into gb.ncurses > directly because as soon as gb.ncurses messes with strings from users, I > will get tons of mails flagged as "bug report" saying that their strings are > "corrupted" by gb.ncurses. Yep. > > What you can do is the following: create and export your own Window class > and hook the Print method. Do your conversion there and then call > Super.Print(). This way, the conversion is specific to your application but > you can use gb.ncurses like you always did. [ You may even want to write a > gb.ncurses.umlauts component/library... ] Wow... Never done such a thing before. Sounds easy though as long as you know what to do... :-) Regards Rolf From eilert-sprachen at ...221... Mon Mar 31 17:00:59 2014 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Mon, 31 Mar 2014 17:00:59 +0200 Subject: [Gambas-user] ncurses help texts missing In-Reply-To: <20140331132608.GA514@...2774...> References: <52F097FE.7010808@...221...> <20140204084654.GA515@...2774...> <52F11E53.8020802@...221...> <20140204171312.GF515@...2774...> <20140204204305.GG515@...2774...> <20140205171535.GD8944@...2774...> <533046E8.8020304@...221...> <20140324151500.GA509@...2774...> <533943C2.7060908@...221...> <20140331132608.GA514@...2774...> Message-ID: <5339832B.3090701@...221...> Am 31.03.2014 15:26, schrieb Tobias Boege: > On Mon, 31 Mar 2014, Rolf-Werner Eilert wrote: >> [I'll free that thread from some lines...] >> >>>> Moreover, umlauts aren't printed correctly (I guess it's UTF-8). Is >>>> there a solution? >>>> >>> >>> My turn. NCurses offers an ncursesw library for wide characters - I just >>> don't use it. >>> >>> Not out of ignorance or laziness but because I want to use the CDK (curses >>> development kit) to implement controls in the terminal (Button (yes, with >>> mouse support!), TextBox, TextArea, ListBox, Menu, etc.). And the CDK does >>> not support wide characters (which UTF-8 ones are). If I rewrite gb.ncurses >>> to use ncursesw now, I'll certainly run into compatibility problems with the >>> CDK later. >>> >>> MAYBE, I can dig into the CDK in summer and try to patch it to use ncursesw. >>> However, Thomas Dickey says that this is not as trivial as one might think >>> at first. If this does not work, I'm afraid gb.ncurses will not support wide >>> characters. >>> >> >> Rather ambitious :-) >> >> But couldn't I use Conv() to achieve that? I tried >> >> hDialog.Caption = (Conv$("Make a choice ???", "UTF-8", "ASCII")) >> >> but it gave a conversion error. So I tried >> >> hDialog.Caption = (Conv$("Make a choice", "UTF-8", "ISO-8859-15")) >> >> and it gave no error (but the result was wrong, of course). >> >> So, what character set does ncurses use then? Can I use conv() for it >> anyway? If not, there should be a way to write a simple conversion table >> for German umlauts, e. g. using Replace(). >> > > NCurses is ASCII-based. You cannot encode umlauts into ASCII, so the > conversion attempt will fail. > > What do you mean by "conversion table"? Do you want to have a-umlaut to be > "ae" or "a" or "?" or ...? My mail client, mutt, uses the question mark to > replace any non-ASCII character (as can be seen above) and this seems to be > a pretty good solution as there are also letters with diacritics in some > languages and those have no representation like "ae" for a German a-umlaut. > > Like how would you distinguish between "e accent aigu" and "e accent grave" > from French if you only have ASCII letters? If you want to print "e" in both > cases, this is a decision of personal taste or some convention. [ Likewise, > what about Eszett in German? I like to write "sz" but others like "ss". ] > > Therefore, I don't think that this conversion table will go into gb.ncurses > directly because as soon as gb.ncurses messes with strings from users, I > will get tons of mails flagged as "bug report" saying that their strings are > "corrupted" by gb.ncurses. > > What you can do is the following: create and export your own Window class > and hook the Print method. Do your conversion there and then call > Super.Print(). This way, the conversion is specific to your application but > you can use gb.ncurses like you always did. [ You may even want to write a > gb.ncurses.umlauts component/library... ] > > Regards, > Tobi > I've been trying around with Esc codes, but they are filtered somehow by the ncurses library, i. e. although ncurses works with them heavily, when I build in an Esc code into a string, it's just displayed as ^[[B0 for instance. But the terminal doesn't react to it, kinda mystique... Rolf From taboege at ...626... Mon Mar 31 19:42:26 2014 From: taboege at ...626... (Tobias Boege) Date: Mon, 31 Mar 2014 19:42:26 +0200 Subject: [Gambas-user] ncurses help texts missing In-Reply-To: <5339708D.7090706@...221...> References: <20140204084654.GA515@...2774...> <52F11E53.8020802@...221...> <20140204171312.GF515@...2774...> <20140204204305.GG515@...2774...> <20140205171535.GD8944@...2774...> <533046E8.8020304@...221...> <20140324151500.GA509@...2774...> <533943C2.7060908@...221...> <20140331132608.GA514@...2774...> <5339708D.7090706@...221...> Message-ID: <20140331174226.GC514@...2774...> On Mon, 31 Mar 2014, Rolf-Werner Eilert wrote: > > > Am 31.03.2014 15:26, schrieb Tobias Boege: > > On Mon, 31 Mar 2014, Rolf-Werner Eilert wrote: > >> [I'll free that thread from some lines...] > >> > >>>> Moreover, umlauts aren't printed correctly (I guess it's UTF-8). Is > >>>> there a solution? > >>>> > >>> > >>> My turn. NCurses offers an ncursesw library for wide characters - I just > >>> don't use it. > >>> > >>> Not out of ignorance or laziness but because I want to use the CDK (curses > >>> development kit) to implement controls in the terminal (Button (yes, with > >>> mouse support!), TextBox, TextArea, ListBox, Menu, etc.). And the CDK does > >>> not support wide characters (which UTF-8 ones are). If I rewrite gb.ncurses > >>> to use ncursesw now, I'll certainly run into compatibility problems with the > >>> CDK later. > >>> > >>> MAYBE, I can dig into the CDK in summer and try to patch it to use ncursesw. > >>> However, Thomas Dickey says that this is not as trivial as one might think > >>> at first. If this does not work, I'm afraid gb.ncurses will not support wide > >>> characters. > >>> > >> > >> Rather ambitious :-) > >> > >> But couldn't I use Conv() to achieve that? I tried > >> > >> hDialog.Caption = (Conv$("Make a choice ???", "UTF-8", "ASCII")) > >> > >> but it gave a conversion error. So I tried > >> > >> hDialog.Caption = (Conv$("Make a choice", "UTF-8", "ISO-8859-15")) > >> > >> and it gave no error (but the result was wrong, of course). > >> > >> So, what character set does ncurses use then? Can I use conv() for it > >> anyway? If not, there should be a way to write a simple conversion table > >> for German umlauts, e. g. using Replace(). > >> > > > > NCurses is ASCII-based. You cannot encode umlauts into ASCII, so the > > conversion attempt will fail. > > Ok, I see your point. I was talking 8-bit ASCII here like I was used to > have in old DOS programming times. In the upper half of this encoding, > there are umlauts and some accent letters. > > > > > What do you mean by "conversion table"? Do you want to have a-umlaut to be > > "ae" or "a" or "?" or ...? > > "ae" would be a good workaround, but it would mean two letters instead > of one, so it might destroy the programmer's "line" order in a text screen. > > I found this page > > http://www.melvilletheatre.com/articles/ncurses-extended-characters/index.html > > and it says "228" for an "?", but I tried to encode by writing a little > function > > Private Function charConv(srcString As String) As String > > Replace$(srcString, "?", Chr$(228)) > > Return srcString > > End > > and the result was "M-CM-$" for it... What a shame :-) > > > > > My mail client, mutt, uses the question mark to > > replace any non-ASCII character (as can be seen above) and this seems to be > > a pretty good solution as there are also letters with diacritics in some > > languages and those have no representation like "ae" for a German a-umlaut. > > Midnight-Commander (also made with ncurses) can display German umlauts > in file names. Maybe you could ask the guys who made it how they did the > trick... And consoles know umlauts, too. Maybe a simple Esc-code that > produces the special characters in a console would do? > I will look at the sources. At first glance, it looks interesting how they print - but their configure scripts are also aware of ncurses*w*... > > > > What you can do is the following: create and export your own Window class > > and hook the Print method. Do your conversion there and then call > > Super.Print(). This way, the conversion is specific to your application but > > you can use gb.ncurses like you always did. [ You may even want to write a > > gb.ncurses.umlauts component/library... ] > > Wow... Never done such a thing before. Sounds easy though as long as you > know what to do... :-) > You create a Window.class in your project and write "Export" into the first payload line in the class. This makes it exported into the interpreter's global symbol table (the theory is here [0]). Because there will already be a Window class from gb.ncurses, your Window.class will _extend_ gb.ncurses' one by inheritance. In your Window.class, write a Print method that has the same signature as in gb.ncurses. Do your conversion there and call Super.Print() (the original gb.ncurses' Window.Print()) with the converted strings. Then the interpreter will do the rest for you: any call to Window.Print() from your application will first go to your Window class' Print() and from there to gb.ncurses' Window's Print(). Regards, Tobi [0] http://gambaswiki.org/wiki/doc/object-model -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From sbungay at ...3301... Mon Mar 31 20:04:35 2014 From: sbungay at ...3301... (Stephen) Date: Mon, 31 Mar 2014 14:04:35 -0400 Subject: [Gambas-user] Annoying automatic comment creation... Message-ID: <5339AE33.8020704@...3301...> When creating a new comment line, after pressing [ENTER] the editor assumes that the next line is also a comment and helpfully puts in the single quote to make it so. Now I can see how some might like this, and thats fine, but could we have the option to turn this feature off? I've been caught too many times writing code into auto-generated comment lines and it is getting quite annoying. -- Kindest Regards Stephen A. Bungay, Prop. Smarts On Site From gambas at ...1... Mon Mar 31 21:00:00 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 31 Mar 2014 21:00:00 +0200 Subject: [Gambas-user] Annoying automatic comment creation... In-Reply-To: <5339AE33.8020704@...3301...> References: <5339AE33.8020704@...3301...> Message-ID: <5339BB30.8070004@...1...> Le 31/03/2014 20:04, Stephen a ?crit : > When creating a new comment line, after pressing [ENTER] the editor > assumes that the next line is also a comment and helpfully > puts in the single quote to make it so. Now I can see how > some might like this, and thats fine, but could we have the option to > turn this feature off? I've been caught too many times writing code into > auto-generated comment lines and it is getting quite annoying. > Me too. I can add an option for that. In the meantime, just press SHIFT+ENTER to insert a new line without automatic insertion. Regards, -- Beno?t Minisini From iss_boss at ...770... Mon Mar 31 21:15:17 2014 From: iss_boss at ...770... (ISS Boss) Date: Mon, 31 Mar 2014 15:15:17 -0400 Subject: [Gambas-user] Annoying automatic comment creation... In-Reply-To: <5339AE33.8020704@...3301...> References: <5339AE33.8020704@...3301...> Message-ID: <5339BEC5.9080008@...770...> +1. It is annoying to me also. Stephen wrote, On 03/31/2014 14:04: When creating a new comment line, after pressing [ENTER] the editor assumes that the next line is also a comment and helpfully puts in the single quote to make it so. Now I can see how some might like this, and thats fine, but could we have the option to turn this feature off? I've been caught too many times writing code into auto-generated comment lines and it is getting quite annoying. From dquinter at ...626... Mon Mar 31 21:19:07 2014 From: dquinter at ...626... (Daniel Quintero) Date: Mon, 31 Mar 2014 13:19:07 -0600 Subject: [Gambas-user] Annoying automatic comment creation... In-Reply-To: <5339BB30.8070004@...1...> References: <5339AE33.8020704@...3301...> <5339BB30.8070004@...1...> Message-ID: Good question and good answer. Thanks for the tip Beno?t :) *_________________________* *Lic. Daniel Quintero Rojas* *?Saludos desde M?xico!________* On Mon, Mar 31, 2014 at 1:00 PM, Beno?t Minisini < gambas at ...1...> wrote: > Le 31/03/2014 20:04, Stephen a ?crit : > > When creating a new comment line, after pressing [ENTER] the editor > > assumes that the next line is also a comment and helpfully > > puts in the single quote to make it so. Now I can see how > > some might like this, and thats fine, but could we have the option to > > turn this feature off? I've been caught too many times writing code into > > auto-generated comment lines and it is getting quite annoying. > > > > Me too. I can add an option for that. In the meantime, just press > SHIFT+ENTER to insert a new line without automatic insertion. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Mon Mar 31 21:45:00 2014 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 31 Mar 2014 21:45:00 +0200 Subject: [Gambas-user] Annoying automatic comment creation... In-Reply-To: <5339BEC5.9080008@...770...> References: <5339AE33.8020704@...3301...> <5339BEC5.9080008@...770...> Message-ID: <5339C5BC.9010000@...1...> Le 31/03/2014 21:15, ISS Boss a ?crit : > > +1. It is annoying to me also. > > Stephen wrote, On 03/31/2014 14:04: > > When creating a new comment line, after pressing [ENTER] the editor > assumes that the next line is also a comment and helpfully > puts in the single quote to make it so. Now I can see how > some might like this, and thats fine, but could we have the option to > turn this feature off? I've been caught too many times writing code into > auto-generated comment lines and it is getting quite annoying. I added the option in revision #6218. Regards, -- Beno?t Minisini