From steve32942000 at ...43... Fri Feb 1 00:10:33 2013 From: steve32942000 at ...43... (steveNewbie) Date: Thu, 31 Jan 2013 15:10:33 -0800 (PST) Subject: [Gambas-user] Array for File class? In-Reply-To: <1359672509654-40885.post@...3046...> References: <1359662311201-40881.post@...3046...> <1359667701780-40883.post@...3046...> <20130131214108.GA562@...2774...> <1359672509654-40885.post@...3046...> Message-ID: <1359673833490-40886.post@...3046...> I figured out another method. Instead of saving the File objects for accessing later, I am now saving the file names then reopen them later for writing. Thanks to Tobias and Jussi for the replies. Steve -- View this message in context: http://gambas.8142.n7.nabble.com/Array-for-File-class-tp40881p40886.html Sent from the gambas-user mailing list archive at Nabble.com. From herberthguzman at ...626... Fri Feb 1 02:20:30 2013 From: herberthguzman at ...626... (herberth guzman) Date: Thu, 31 Jan 2013 19:20:30 -0600 Subject: [Gambas-user] Fingerprint reader Message-ID: Greetings community. I need to create a biometric system for a program that records the entry and exit of students in schools, colleges and schools. The program is free and currently records the inputs and outputs through barcode. East and some that I do through fingerprint system please, I'm lost in this area. thank you very much From ongytenes at ...626... Fri Feb 1 04:08:03 2013 From: ongytenes at ...626... (Ongytenes) Date: Fri, 1 Feb 2013 03:08:03 +0000 (UTC) Subject: [Gambas-user] About syntax highlighting and copy/paste to OpenOffice References: <1301584529.15150.32.camel@...2493...> Message-ID: Demosthenes Koptsis gmail.com> writes: > > These days i tried some ways to make the Gambas3 code in an OO3 document > be highlighted as in Gambas3 editor. > > 1) For this, i used many online web syntax highlighters such as > http://pygments.org/ > http://pastebin.com/ > http://qbnz.com/highlighter/ > > but when i copy the code from webpage OO does not make it "Paste > Special" in document, i dont know why...! > > 2) also i found an addon for OO named COOoder > the old page is > http://extensions.services.openoffice.org/node/940 > > but has no gambas support and the developer has no plans for any update > recently. > > Although the COOoder addon is easily configurable. > Someone can take the GeSHi gambas.php file and feed it at cli to script > http://cgit.freedesktop.org/libreoffice/build/tree/extensions/coooder/php/from- geshi.php > > this will make a gambas.xml file which is the highlight for COOoder > addon. > > (i edited the GeSHi gambas.php to gambas3.php for anyone who want it, > although it is not complete yet) > > The gambas.xml then must be copied to path > /home/user/.openoffice.org/3/user/uno_packages/cache/uno_packages/o36C8H_/cooode r-1.1.2.oxt/config/org/openoffice/langs > > or similar... where OO addons exist. > > But unfortunately the COOoder may be has a bug. > When reach a line with gambas3 comment stops the process of > highlighting. (see screenshot) > > i sent an email to COOoder writer and i hope to help me or to fix the > bug. > > ----------- > > Do you know any other way to make highlight the code in OO for gambas > code? > > Is it possible when i copy the code from gambas editor to keep meta-data > for OO, so i can make a "Paste Special" ? > > of course the simple paste must keep use raw text. > I have written a program in Gambas2 that will format and copy the syntax to the clipboard. It pastes color correct into OpenOffice. You can see a screenshot of the program at: https://sites.google.com/site/ongytenes/files/GambasParser_Screenshot1.jpg and https://sites.google.com/site/ongytenes/files/GambasParser_Screenshot2.jpg I am planning on releasing it as opensource and under the creative commons license. The first screenshot shows the program in front of OpenOffice with the pasted results. The second shows the program in expanded mode where it shows more information. It currently has one bug that I know about. If you indent the code, it cascades the colors. I have written this in only a few hours today. I believe the bug is due to how the HTML leading spaces are deleted. If the code isn't indented, it pastes correctly and you can indent the code after it been pasted into OpenOffice. It works by parsing and converting the code into HTML to be copied. After writing a tutorial on a how to create and link a object array, I was frustrated the time it took to go through and color-code all the syntax. So I decided to look for something last night and after seeing this forum I decided to write something. From kevinfishburne at ...1887... Fri Feb 1 08:37:04 2013 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Fri, 01 Feb 2013 02:37:04 -0500 Subject: [Gambas-user] forcing time zone localization In-Reply-To: <510A396F.7020805@...1...> References: <510A1EAF.2070200@...1887...> <510A396F.7020805@...1...> Message-ID: <510B70A0.1050107@...1887...> On 01/31/2013 04:29 AM, Beno?t Minisini wrote: > Le 31/01/2013 08:35, Kevin Fishburne a ?crit : >> I have a client/server application in which the server tells the client >> the date and time. The date and time is calculated by the server from an >> arbitrary starting point and at an arbitrary scale, but based on the >> server's system clock so that time still "advances" when the server >> application is not running. The client and server display the date and >> time using code like this: >> >> Format$(CDate(DateCurrent), "mmmm d, yyyy, hh:nn:AM/PM") >> >> I need Gambas to use a specific time zone for the client and server, >> ignoring the system time zone. I've read this: >> >> http://gambasdoc.org/help/doc/locale?v3 >> >> Is what I'm trying to do possible? What environment variable should I >> set in Gambas ($LC_ALL, $LANG), and is there an ISO or table of codes to >> choose from? I've looked at ISO 3166 here: >> >> http://en.wikipedia.org/wiki/ISO_3166 >> >> Thanks. >> > You should not need to use a different timezone for a program. Otherwise > you can use the TZ environmental variable. > > But you can get the current timezone by doing: Round(Frac(Date(now)) * > 24). (Meaning that the time is UTC + that value. TZ is set with the > opposite). > > Then you can convert a local time to GTM time for your communication > between server and client. > > Dunno if it fits your need. > > Regards, > Just spent two hours on this with no success. I have the server's OS set to use Venezuela's time zone because it has no DST. The client OS is UTC/GMT -5 (US Eastern). The client and server start with the same raw date/time obtained through CFloat(Now) on the server. The client's date/time is different than the server's by 30 minutes due to localization used by Format$. I created a TZ environment variable and regardless of its value it has no effect on the output of Format$. Is the TZ environment variable ignored or not used by Format$? There may be a solution staring me in the face based on the information you gave me, but I can't see it despite my efforts. The really stupid way to solve the problem would be to set the client and server OS time zones to be the same, but that would correctly inform the user that I was an idiot. ;) -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From gambas at ...2524... Fri Feb 1 10:09:59 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 01 Feb 2013 09:09:59 +0000 Subject: [Gambas-user] Issue 399 in gambas: SaveFile in GB.form.dialog uses folder for filename Message-ID: <0-6813199134517018827-13424754463821476900-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 399 by john.aaron.rose at ...626...: SaveFile in GB.form.dialog uses folder for filename http://code.google.com/p/gambas/issues/detail?id=399 When I click the Combined button on the attached project (CombineAV which is fairly small), the SaveFile (from the GB.Form.Dialog component) does not point to the specified Dialog.Path (/home/john/Temporary) but points to the directory above it (/home/john) with the filename set to Temporary (see procedure ButtonCombined_Click). You'll need to have/setup a directory (e.g. Temporary) containing a .m2v and a .mp2 file. These files don't have to be proper video or audio files as the problem I have occurs before they are used by the mplex program (called by CombineAV) - part of the mpegtools package - which does not need to be installed. PS I'm using Gambas 3.3.4 (from nemh's gambas3 ppa) under Ubuntu 32 bit Precise. Attachments: CombineAV.tar.gz 14.8 KB From taboege at ...626... Fri Feb 1 12:44:17 2013 From: taboege at ...626... (Tobias Boege) Date: Fri, 1 Feb 2013 12:44:17 +0100 Subject: [Gambas-user] Array for File class? In-Reply-To: <1359672509654-40885.post@...3046...> References: <1359662311201-40881.post@...3046...> <1359667701780-40883.post@...3046...> <20130131214108.GA562@...2774...> <1359672509654-40885.post@...3046...> Message-ID: <20130201114417.GA982@...2774...> On Thu, 31 Jan 2013, steveNewbie wrote: > I tried the method below without success. I am still getting "Class 'File' > is not creatable" error. I might have to resort to creating 50 separate > File objects to get through this for now and clean up later. > > Dim aFiles As New File[] > Dim hFile As File > Dim J As Integer > > For J = 0 To 50 > hFile = Open sPath For Read > aFiles.Add(hFile) (For some reason, Add is not a > method under this class!) > Next > I tried the code before sending it. It worked - I read from the files I created. Maybe your Gambas version is not recent enough? Anyway, the Object[] class should at least work in such cases: --8<--------------- Dim aFiles As New Object[] Dim hFile As File Dim J As Integer For J = 0 To 50 hFile = Open sPath For Read aFiles.Add(hFile) Next --8<--------------- Regards, Tobi From bbruen at ...2308... Fri Feb 1 12:46:05 2013 From: bbruen at ...2308... (Bruce) Date: Fri, 01 Feb 2013 22:16:05 +1030 Subject: [Gambas-user] forcing time zone localization In-Reply-To: <510B70A0.1050107@...1887...> References: <510A1EAF.2070200@...1887...> <510A396F.7020805@...1...> <510B70A0.1050107@...1887...> Message-ID: <1359719165.19704.69.camel@...2688...> Kevin, Some thoughts expresed inline. On Fri, 2013-02-01 at 02:37 -0500, Kevin Fishburne wrote: > On 01/31/2013 04:29 AM, Beno?t Minisini wrote: > > Le 31/01/2013 08:35, Kevin Fishburne a ?crit : > >> I have a client/server application in which the server tells the client > >> the date and time. The date and time is calculated by the server from an > >> arbitrary starting point and at an arbitrary scale, but based on the > >> server's system clock so that time still "advances" when the server > >> application is not running. The client and server display the date and > >> time using code like this: > >> > >> Format$(CDate(DateCurrent), "mmmm d, yyyy, hh:nn:AM/PM") > >> > >> I need Gambas to use a specific time zone for the client and server, > >> ignoring the system time zone. I've read this: > >> > >> http://gambasdoc.org/help/doc/locale?v3 > >> > >> Is what I'm trying to do possible? What environment variable should I > >> set in Gambas ($LC_ALL, $LANG), and is there an ISO or table of codes to > >> choose from? I've looked at ISO 3166 here: > >> > >> http://en.wikipedia.org/wiki/ISO_3166 > >> > >> Thanks. > >> > > You should not need to use a different timezone for a program. Otherwise > > you can use the TZ environmental variable. > > > > But you can get the current timezone by doing: Round(Frac(Date(now)) * > > 24). (Meaning that the time is UTC + that value. TZ is set with the > > opposite). > > > > Then you can convert a local time to GTM time for your communication > > between server and client. > > > > Dunno if it fits your need. > > > > Regards, > > > > Just spent two hours on this with no success. I have the server's OS set > to use Venezuela's time zone because it has no DST. Server time probably should be UTC. This makes the time calcs a bit simpler. > The client OS is > UTC/GMT -5 (US Eastern). Is the client system clock really set to UTC -5 or is it running UTC? What I mean is that you seem to be trying to interpret how the OS (aka Now() in gambas, which is going to return the localized time according to *important* the user's own time settings). > The client and server start with the same raw > date/time obtained through CFloat(Now) on the server. The client's > date/time is different than the server's by 30 minutes due to > localization used by Format$. > > I created a TZ environment variable and regardless of its value it has > no effect on the output of Format$. Is the TZ environment variable > ignored or not used by Format$? TZ= is only one of the possible *user* env settings that controls how the "time" is interpreted from the OS time. Some distros us TZ but other distros use other env settings. > There may be a solution staring me in > the face based on the information you gave me, but I can't see it > despite my efforts. The really stupid way to solve the problem would be > to set the client and server OS time zones to be the same, but that > would correctly inform the user that I was an idiot. ;) No, setting the client and server OS to UTC and letting the stuff above the OS is the simplest way (hahaha!) to solve how the "time" is shown to the user... in their environment. Now a game situation, where the game time is *represented* according to the game logic, and not the user's time frame, is a very different thing to trying to break your balls converting the local (server or client) *represented* time to and from the actual OS time and the *user seen* time. The central gist is, a) decide on a time reference, from what you have posted I would tend towards the server OS running UTC (or if you really want to go crazy, try running it's clock in siderial time... nah, you probably don't want to do that.) b) thus UTC is the frame for all events and therefore there is a lot of software around that can convert an "event time", as seen in the servers time reference, to a local time on the client machine ***important*** at the OS level. c) the problem then becomes one of ensuring that the user's "represented" time in your gambas app matches to their local mental idea of time. If that sounds crazy, then consider this. We have, what I believe is a similar situation. In Australia there are about 14 or 15 local time zones, in the TZDATA sense. Each state is capable of setting the local time to the federally mandated and generally recognized 4 time zones: "Lord Howe Island time", "Australian Eastern Time", "Australian Central Time" and "Australian Western Time" plus where they think the curtains wont fade, some states use daylight saving time and some don't. In addition, there are some localities within states that adopt a more pragmatic approach, where the local time is based on the time in the locale where they do most of their business. What drives me crazy is, in a lot of situations we may have a horse auction say at 9:00am "Australian Central Time - Daylight Saving" in a place called Lamaroo (google it) in South Australia. I have a client that lives 35km away, but they are in the state of Victoria in "Australian Eastern Time" which does not recognize daylight savings. They want to sell a horse at that auction.... allowing for 55 minutes float time (sorry technical term, allowing that it will take 55 minutes to load the horse in a trailer and drive to the auction 35 km away) ... what time do they have to leave to make sure the horse is present for the auction? I wish I could share with you the atrocious code we have to get around this but it is so localised to Australian time "regions" that it is probably useless elsewhere. (And it's not very pretty!) BUT! The important bit is to get a hold on the difference between the OS time frame and the local time frame and the user time frame. I doubt it, but I seriously hope this helps. Bruce From john.aaron.rose at ...626... Fri Feb 1 20:02:46 2013 From: john.aaron.rose at ...626... (John Rose) Date: Fri, 01 Feb 2013 19:02:46 +0000 Subject: [Gambas-user] Delete a file requiring Admin privilege Message-ID: <510C1156.7050100@...626...> I want (in Gambas3) to delete a file in e.g. /usr/share/applications. sInstallPath may have spaces in its filename: that's why I used a single quote round it. I've tried Exec ["gksudo", "rm", "'" & sInstallPath & "'"] which doesn't give an error but doesn't delete the file. I've tried Exec ["gksudo rm", "'" & sInstallPath & "'"] which gives an error saying that the child program/process is not found and doesn't delete the file. How do I code this (without using Shell) so that there are no errors and the file is deleted? -- Regards, John From gambas at ...2524... Fri Feb 1 22:50:32 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 01 Feb 2013 21:50:32 +0000 Subject: [Gambas-user] Issue 391 in gambas: DataCombo Bug Gambas 3 In-Reply-To: <0-6813199134517018827-8236105916640452517-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-8236105916640452517-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-8236105916640452517-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #1 on issue 391 by benoit.m... at ...626...: DataCombo Bug Gambas 3 http://code.google.com/p/gambas/issues/detail?id=391 Apparently you just misused the DataCombo control. A DataCombo displays an integer field of a table A ('Field' property) by using another field ('Display' property) of another table B ('Table' property). The primary key of B must be the same field as the integer field of the table A. From taboege at ...626... Fri Feb 1 23:47:39 2013 From: taboege at ...626... (Tobias Boege) Date: Fri, 1 Feb 2013 23:47:39 +0100 Subject: [Gambas-user] Delete a file requiring Admin privilege In-Reply-To: <510C1156.7050100@...626...> References: <510C1156.7050100@...626...> Message-ID: <20130201224739.GC982@...2774...> On Fri, 01 Feb 2013, John Rose wrote: > I want (in Gambas3) to delete a file in e.g. /usr/share/applications. > sInstallPath may have spaces in its filename: that's why I used a single > quote round it. > > I've tried > Exec ["gksudo", "rm", "'" & sInstallPath & "'"] > which doesn't give an error but doesn't delete the file. > > I've tried > Exec ["gksudo rm", "'" & sInstallPath & "'"] > which gives an error saying that the child program/process is not found > and doesn't delete the file. > > How do I code this (without using Shell) so that there are no errors and > the file is deleted? It's necessary to understand how Exec works: you give an array of individual arguments to a program to execute (the first element in the array). Do you have a program that is called "gksudo rm"? I suppose you want to execute the program "gksudo" and give "rm" as an argument: Exec ["gksudo", "rm", ...] Concerning the path, again, do you have a file which is literally called '/usr/share/applications/file' ? I suppose that you actually want to delete something like /usr/share/applications/file without quotes because those are most probably not part of its name. Exec is not the shell. It doesn't need quoting but a strict separation of arguments. However, the final call to Exec would be: Exec ["gksudo", "rm", sInstallPath] But note that I don't know how gksudo behaves. This line may actually be wrong for the semantics of the program. You'll know better... Regards, Tobi From jussi.lahtinen at ...626... Fri Feb 1 23:51:50 2013 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 2 Feb 2013 00:51:50 +0200 Subject: [Gambas-user] forcing time zone localization In-Reply-To: <510A1EAF.2070200@...1887...> References: <510A1EAF.2070200@...1887...> Message-ID: Isn't unix time independent of timezones (it always uses UTC)? Can you use it? $ date +%s Jussi On Thu, Jan 31, 2013 at 9:35 AM, Kevin Fishburne < kevinfishburne at ...1887...> wrote: > I have a client/server application in which the server tells the client > the date and time. The date and time is calculated by the server from an > arbitrary starting point and at an arbitrary scale, but based on the > server's system clock so that time still "advances" when the server > application is not running. The client and server display the date and > time using code like this: > > Format$(CDate(DateCurrent), "mmmm d, yyyy, hh:nn:AM/PM") > > I need Gambas to use a specific time zone for the client and server, > ignoring the system time zone. I've read this: > > http://gambasdoc.org/help/doc/locale?v3 > > Is what I'm trying to do possible? What environment variable should I > set in Gambas ($LC_ALL, $LANG), and is there an ISO or table of codes to > choose from? I've looked at ISO 3166 here: > > http://en.wikipedia.org/wiki/ISO_3166 > > Thanks. > > -- > Kevin Fishburne > Eight Virtues > www: http://sales.eightvirtues.com > e-mail: sales at ...1887... > phone: (770) 853-6271 > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_jan > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Fri Feb 1 23:53:32 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Fri, 01 Feb 2013 23:53:32 +0100 Subject: [Gambas-user] forcing time zone localization In-Reply-To: <510B70A0.1050107@...1887...> References: <510A1EAF.2070200@...1887...> <510A396F.7020805@...1...> <510B70A0.1050107@...1887...> Message-ID: <510C476C.2040407@...1...> Le 01/02/2013 08:37, Kevin Fishburne a ?crit : > On 01/31/2013 04:29 AM, Beno?t Minisini wrote: >> Le 31/01/2013 08:35, Kevin Fishburne a ?crit : >>> I have a client/server application in which the server tells the client >>> the date and time. The date and time is calculated by the server from an >>> arbitrary starting point and at an arbitrary scale, but based on the >>> server's system clock so that time still "advances" when the server >>> application is not running. The client and server display the date and >>> time using code like this: >>> >>> Format$(CDate(DateCurrent), "mmmm d, yyyy, hh:nn:AM/PM") >>> >>> I need Gambas to use a specific time zone for the client and server, >>> ignoring the system time zone. I've read this: >>> >>> http://gambasdoc.org/help/doc/locale?v3 >>> >>> Is what I'm trying to do possible? What environment variable should I >>> set in Gambas ($LC_ALL, $LANG), and is there an ISO or table of codes to >>> choose from? I've looked at ISO 3166 here: >>> >>> http://en.wikipedia.org/wiki/ISO_3166 >>> >>> Thanks. >>> >> You should not need to use a different timezone for a program. Otherwise >> you can use the TZ environmental variable. >> >> But you can get the current timezone by doing: Round(Frac(Date(now)) * >> 24). (Meaning that the time is UTC + that value. TZ is set with the >> opposite). >> >> Then you can convert a local time to GTM time for your communication >> between server and client. >> >> Dunno if it fits your need. >> >> Regards, >> > > Just spent two hours on this with no success. I have the server's OS set > to use Venezuela's time zone because it has no DST. The client OS is > UTC/GMT -5 (US Eastern). The client and server start with the same raw > date/time obtained through CFloat(Now) on the server. The client's > date/time is different than the server's by 30 minutes due to > localization used by Format$. > > I created a TZ environment variable and regardless of its value it has > no effect on the output of Format$. Is the TZ environment variable > ignored or not used by Format$? There may be a solution staring me in > the face based on the information you gave me, but I can't see it > despite my efforts. The really stupid way to solve the problem would be > to set the client and server OS time zones to be the same, but that > would correctly inform the user that I was an idiot. ;) > OK... You must understand that Gambas stores all date/time in UTC internally. The timezone is applied only when converting that date/time to a string. So you can safely exchange date/time between your client and your server by using the WRITE instruction or by converting the date/time to a number with CFloat() before exchanging it. Regards, -- Beno?t Minisini From jussi.lahtinen at ...626... Fri Feb 1 23:53:21 2013 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 2 Feb 2013 00:53:21 +0200 Subject: [Gambas-user] Array for File class? In-Reply-To: <1359672509654-40885.post@...3046...> References: <1359662311201-40881.post@...3046...> <1359667701780-40883.post@...3046...> <20130131214108.GA562@...2774...> <1359672509654-40885.post@...3046...> Message-ID: It should work. What is your Gambas version? Jussi On Fri, Feb 1, 2013 at 12:48 AM, steveNewbie wrote: > I tried the method below without success. I am still getting "Class 'File' > is not creatable" error. I might have to resort to creating 50 separate > File objects to get through this for now and clean up later. > > Dim aFiles As New File[] > Dim hFile As File > Dim J As Integer > > For J = 0 To 50 > hFile = Open sPath For Read > aFiles.Add(hFile) (For some reason, Add is not a > method under this class!) > Next > > > Many thanks, > Steve > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/Array-for-File-class-tp40881p40885.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_jan > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Sat Feb 2 00:04:22 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Fri, 01 Feb 2013 23:04:22 +0000 Subject: [Gambas-user] Issue 398 in gambas: configure can't find LLVM In-Reply-To: <2-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> <0-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Comment #3 on issue 398 by benoit.m... at ...626...: configure can't find LLVM http://code.google.com/p/gambas/issues/detail?id=398 (No comment was entered for this change.) From ongytenes at ...626... Sat Feb 2 16:31:45 2013 From: ongytenes at ...626... (Ongytenes) Date: Sat, 2 Feb 2013 15:31:45 +0000 (UTC) Subject: [Gambas-user] =?utf-8?q?About_syntax_highlighting_and_copy/paste_?= =?utf-8?q?to=09OpenOffice?= References: <1301584529.15150.32.camel@...2493...> Message-ID: Ongytenes ....com> writes: I have fixed the indention bug and here is a screenshot of it parsing the Gambas Code into HTML format to copy to OpenOffice via the clipboard with syntax highlighting intact. In this image it is working on a copy of it's own code. https://sites.google.com/site/ongytenes/files/GambasParser_Screenshot3.jpg From john.aaron.rose at ...626... Sat Feb 2 19:24:06 2013 From: john.aaron.rose at ...626... (John Rose) Date: Sat, 02 Feb 2013 18:24:06 +0000 Subject: [Gambas-user] Delete a file requiring Admin privilege Message-ID: <510D59C6.7070902@...626...> Tobias, OK that solves a simple example using Exec. Perhaps I should have given a more complex example: one where the directory contains a space and/or the filename contains a space: The following works OK: sPath = "/home/john/Temp orary/q w.desktop" sLogPath = "/home/john/Temporary/Log.txt" Wait 1 sCommand = "desktop-file-install " & " " & Shell$(sPath) & " >/dev/null 2>" & Shell$(sLogPath) hProcess = Shell sCommand Do Wait 0.1 Loop Until hProcess.State <> Process.Running But the following comes back with the help lines for gksudo i.e. where it does not understand the rest: sPath = "/home/john/Temp orary/q.desktop" Exec ["desktop-file-install", sPath] Wait PS If I change sPath to not have a space in the directory (e.g. using Temporary) but having a space in the filename (e.g. q w.desktop) then I get the same. -- Regards, John From taboege at ...626... Sat Feb 2 20:17:45 2013 From: taboege at ...626... (Tobias Boege) Date: Sat, 2 Feb 2013 20:17:45 +0100 Subject: [Gambas-user] Delete a file requiring Admin privilege In-Reply-To: <510D59C6.7070902@...626...> References: <510D59C6.7070902@...626...> Message-ID: <20130202191745.GL21438@...2774...> On Sat, 02 Feb 2013, John Rose wrote: > Tobias, > > OK that solves a simple example using Exec. Perhaps I should have given > a more complex example: one where the directory contains a space and/or > the filename contains a space: > It should work with as much spaces in the filenames as you want. > The following works OK: > sPath = "/home/john/Temp orary/q w.desktop" > sLogPath = "/home/john/Temporary/Log.txt" > Wait 1 > sCommand = "desktop-file-install " & " " & > Shell$(sPath) & > " >/dev/null 2>" & Shell$(sLogPath) > hProcess = Shell sCommand > Do > Wait 0.1 > Loop Until hProcess.State <> Process.Running > > But the following comes back with the help lines for gksudo i.e. where > it does not understand the rest: > sPath = "/home/john/Temp orary/q.desktop" > Exec ["desktop-file-install", sPath] Wait > PS If I change sPath to not have a space in the directory (e.g. using > Temporary) but having a space in the filename (e.g. q w.desktop) then I > get the same. Where do gksudo messages come from in this code snippet? You call desktop-file-install and not gksudo. Well, I tested the following code: Exec ["kdesu", "desktop-file-install", "/home/user/dir space/desktop space.desktop"] with success. Whatever it's worth for, the file landed in /usr/share/applications. I suspect that there is a subtile difference between kdesu and gksudo. Regards, Tobi From blaze_fx at ...118... Sun Feb 3 05:16:33 2013 From: blaze_fx at ...118... (Peter Tyler) Date: Sat, 2 Feb 2013 20:16:33 -0800 (PST) Subject: [Gambas-user] Re... Message-ID: <1359864993.98870.YahooMailNeo@...3076...> http://www.bexsport-iic.com/images/stories/yaid352.php ..... 2/3/2013 5:16:30 AM ..... From gambas at ...2524... Sun Feb 3 08:44:05 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 03 Feb 2013 07:44:05 +0000 Subject: [Gambas-user] Issue 398 in gambas: configure can't find LLVM In-Reply-To: <3-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> <0-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> Comment #4 on issue 398 by duchyde... at ...626...: configure can't find LLVM http://code.google.com/p/gambas/issues/detail?id=398 Header files are in /usr/include/llvm* and /usr/local/include/llvm* Object files are .a files in /usr/local/lib/ only. From kevinfishburne at ...1887... Sun Feb 3 09:11:53 2013 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Sun, 03 Feb 2013 03:11:53 -0500 Subject: [Gambas-user] forcing time zone localization In-Reply-To: <510C476C.2040407@...1...> References: <510A1EAF.2070200@...1887...> <510A396F.7020805@...1...> <510B70A0.1050107@...1887...> <510C476C.2040407@...1...> Message-ID: <510E1BC9.50004@...1887...> On 02/01/2013 05:53 PM, Beno?t Minisini wrote: > Le 01/02/2013 08:37, Kevin Fishburne a ?crit : >> On 01/31/2013 04:29 AM, Beno?t Minisini wrote: >>> Le 31/01/2013 08:35, Kevin Fishburne a ?crit : >>>> I have a client/server application in which the server tells the client >>>> the date and time. The date and time is calculated by the server from an >>>> arbitrary starting point and at an arbitrary scale, but based on the >>>> server's system clock so that time still "advances" when the server >>>> application is not running. The client and server display the date and >>>> time using code like this: >>>> >>>> Format$(CDate(DateCurrent), "mmmm d, yyyy, hh:nn:AM/PM") >>>> >>>> I need Gambas to use a specific time zone for the client and server, >>>> ignoring the system time zone. I've read this: >>>> >>>> http://gambasdoc.org/help/doc/locale?v3 >>>> >>>> Is what I'm trying to do possible? What environment variable should I >>>> set in Gambas ($LC_ALL, $LANG), and is there an ISO or table of codes to >>>> choose from? I've looked at ISO 3166 here: >>>> >>>> http://en.wikipedia.org/wiki/ISO_3166 >>>> >>>> Thanks. >>>> >>> You should not need to use a different timezone for a program. Otherwise >>> you can use the TZ environmental variable. >>> >>> But you can get the current timezone by doing: Round(Frac(Date(now)) * >>> 24). (Meaning that the time is UTC + that value. TZ is set with the >>> opposite). >>> >>> Then you can convert a local time to GTM time for your communication >>> between server and client. >>> >>> Dunno if it fits your need. >>> >>> Regards, >>> >> Just spent two hours on this with no success. I have the server's OS set >> to use Venezuela's time zone because it has no DST. The client OS is >> UTC/GMT -5 (US Eastern). The client and server start with the same raw >> date/time obtained through CFloat(Now) on the server. The client's >> date/time is different than the server's by 30 minutes due to >> localization used by Format$. >> >> I created a TZ environment variable and regardless of its value it has >> no effect on the output of Format$. Is the TZ environment variable >> ignored or not used by Format$? There may be a solution staring me in >> the face based on the information you gave me, but I can't see it >> despite my efforts. The really stupid way to solve the problem would be >> to set the client and server OS time zones to be the same, but that >> would correctly inform the user that I was an idiot. ;) >> > OK... You must understand that Gambas stores all date/time in UTC > internally. The timezone is applied only when converting that date/time > to a string. > > So you can safely exchange date/time between your client and your server > by using the WRITE instruction or by converting the date/time to a > number with CFloat() before exchanging it. > > Regards, > The date/time is sent/received as a float and stays synchronized. The problem is (as you say) when the float is converted to a string the time zone is applied. I need a way to print Format$(CDate(DateCurrent), "mmmm d, yyyy, hh:nn:AM/PM") without the time zone being applied, or with a specific TZ applied. "DateCurrent" is the float. I'm trying not to custom create a calendar and complicate Format$ with it, but specify a time zone. The server is fine, but the client applies local TZ and DST rules and fouls the formatting of Format$. Hope that makes sense, and thanks. From john.aaron.rose at ...626... Sun Feb 3 09:38:42 2013 From: john.aaron.rose at ...626... (John Rose) Date: Sun, 03 Feb 2013 08:38:42 +0000 Subject: [Gambas-user] Delete a file requiring Admin privilege Message-ID: <510E2212.80400@...626...> Apologies. I missed out the gksudo in my last message: The following works OK: sPath = "/home/john/Temp orary/q w.desktop" sLogPath = "/home/john/Temporary/Log.txt" Wait 1 sCommand = "gksudo " & "desktop-file-install " & " " & Shell$(sPath) & " >/dev/null 2>" & Shell$(sLogPath) hProcess = Shell sCommand Do Wait 0.1 Loop Until hProcess.State <> Process.Running But the following comes back with the help lines for gksudo i.e. where it does not understand the rest: sPath = "/home/john/Temp orary/q.desktop" Exec ["gksudo", "desktop-file-install", sPath] Wait PS If I change sPath to not have a space in the directory (e.g. using Temporary) but having a space in the filename (e.g. q w.desktop) then I get the same. -- Regards, John From ihaywood at ...1979... Sun Feb 3 10:28:04 2013 From: ihaywood at ...1979... (Ian Haywood) Date: Sun, 3 Feb 2013 20:28:04 +1100 Subject: [Gambas-user] forcing time zone localization In-Reply-To: <510E1BC9.50004@...1887...> References: <510A1EAF.2070200@...1887...> <510A396F.7020805@...1...> <510B70A0.1050107@...1887...> <510C476C.2040407@...1...> <510E1BC9.50004@...1887...> Message-ID: On Sun, Feb 3, 2013 at 7:11 PM, Kevin Fishburne wrote: \ > The date/time is sent/received as a float and stays synchronized. The > problem is (as you say) when the float is converted to a string the time > zone is applied. I need a way to print > > Format$(CDate(DateCurrent), "mmmm d, yyyy, hh:nn:AM/PM") > > without the time zone being applied, or with a specific TZ applied. > "DateCurrent" is the float. I'm trying not to custom create a calendar > and complicate Format$ with it, but specify a time zone. The server is > fine, but the client applies local TZ and DST rules and fouls the > formatting of Format$. > > Hope that makes sense, and thanks. presumably the float is seconds since epoch or similar. so calculate the difference between the local time and server time in seconds and subtract it from the float value before display, this "counteracts" the time zone adjustment applied by the client OS Ian From gambas at ...2524... Sun Feb 3 11:57:35 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 03 Feb 2013 10:57:35 +0000 Subject: [Gambas-user] Issue 400 in gambas: Exec of gksudo doesn't work if filname parameter contains a space Message-ID: <0-6813199134517018827-9135201222418200497-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 400 by john.aaron.rose at ...626...: Exec of gksudo doesn't work if filname parameter contains a space http://code.google.com/p/gambas/issues/detail?id=400 Using Ubuntu 32 bit Precise & nemh's Gambas3 ppa (Gambas 3.3.4), the following works OK: sPath = "/home/john/Temp orary/q w.desktop" sLogPath = "/home/john/Temporary/Log.txt" Wait 1 sCommand = "gksudo " & "desktop-file-install " & " " & Shell$(sPath) & " >/dev/null 2>" & Shell$(sLogPath) hProcess = Shell sCommand Do Wait 0.1 Loop Until hProcess.State <> Process.Running But the following comes back with the help lines for gksudo i.e. where it does not understand the rest: sPath = "/home/john/Temp orary/q.desktop" Exec ["gksudo", "desktop-file-install", sPath] Wait PS If I change sPath to not have a space in the directory (e.g. using Temporary) but having a space in the filename (e.g. q w.desktop) then I get the same. PPS I've also tried Exec ["gksudo", "desktop-file-install", sPath] Wait which gives an error about a child process. Attachments: MaintainDesktopConfigurationFiles.tar.gz 21.9 KB From gambas at ...2524... Sun Feb 3 12:21:42 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 03 Feb 2013 11:21:42 +0000 Subject: [Gambas-user] Issue 398 in gambas: configure can't find LLVM In-Reply-To: <4-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> <0-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> Comment #5 on issue 398 by emil.len... at ...626...: configure can't find LLVM http://code.google.com/p/gambas/issues/detail?id=398 It sounds like you have compiled llvm yourself if it has ended up in /usr/local? Or does openSUSE put files there? From gambas at ...1... Sun Feb 3 14:03:27 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 03 Feb 2013 14:03:27 +0100 Subject: [Gambas-user] forcing time zone localization In-Reply-To: References: <510A1EAF.2070200@...1887...> <510A396F.7020805@...1...> <510B70A0.1050107@...1887...> <510C476C.2040407@...1...> <510E1BC9.50004@...1887...> Message-ID: <510E601F.5040400@...1...> Le 03/02/2013 10:28, Ian Haywood a ?crit : > On Sun, Feb 3, 2013 at 7:11 PM, Kevin Fishburne > wrote: > \ > >> The date/time is sent/received as a float and stays synchronized. The >> problem is (as you say) when the float is converted to a string the time >> zone is applied. I need a way to print >> >> Format$(CDate(DateCurrent), "mmmm d, yyyy, hh:nn:AM/PM") >> >> without the time zone being applied, or with a specific TZ applied. >> "DateCurrent" is the float. I'm trying not to custom create a calendar >> and complicate Format$ with it, but specify a time zone. The server is >> fine, but the client applies local TZ and DST rules and fouls the >> formatting of Format$. >> >> Hope that makes sense, and thanks. > presumably the float is seconds since epoch or similar. Yes. Epoch is a virtual date about 10000 years before now. > so calculate the difference between the local time and server time in seconds > and subtract it from the float value before display, this > "counteracts" the time zone > adjustment applied by the client OS > > Ian > To get the current timezone, you do Round(Frac(Date(Now)) * 24). Then you can use this value to convert a date to/from UTC. Regards, -- Beno?t Minisini From gambas at ...1... Sun Feb 3 14:05:17 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 03 Feb 2013 14:05:17 +0100 Subject: [Gambas-user] reset gambas / touchpad sensitivity In-Reply-To: <1359387946.43530.YahooMailNeo@...3072...> References: <1359387946.43530.YahooMailNeo@...3072...> Message-ID: <510E608D.8000502@...1...> Le 28/01/2013 16:45, Ivan Williams a ?crit : > Greetings > > I have two issues - the first caused by the second. I have a old > touchscreen laptop which I have installed ubuntu 12.10 on. I > installed gambas2 but when I navigate the screen in gambas it appears > that all the text i scroll over is being selected whether I use the > keyboard or the touch pad. That is problem number one. Problem > number two occurred when I attempted to correct problem one - > specifically I have totally wiped out everything on my screen except > for the menu bar on top of the screen. The touch pad issue only > appears in gambas. All other programs behave properly. Can someone > tell how to resolve either issue? > > > I would greatly appreciate it. > > > > Ivan \~/ > Hi, Can you try with Gambas 3? It uses QT4 instead of QT3, so maybe it will change things. Regards, -- Beno?t Minisini From gambas at ...1... Sun Feb 3 14:11:53 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 03 Feb 2013 14:11:53 +0100 Subject: [Gambas-user] forcing time zone localization In-Reply-To: <510E601F.5040400@...1...> References: <510A1EAF.2070200@...1887...> <510A396F.7020805@...1...> <510B70A0.1050107@...1887...> <510C476C.2040407@...1...> <510E1BC9.50004@...1887...> <510E601F.5040400@...1...> Message-ID: <510E6219.6000500@...1...> Le 03/02/2013 14:03, Beno?t Minisini a ?crit : > > To get the current timezone, you do Round(Frac(Date(Now)) * 24). Then > you can use this value to convert a date to/from UTC. > > Regards, > So scatterbrained... I have added System.TimeZone property for a while. It returns the interval with UTC in seconds (for example, -3600 in France currently). Regards, -- Beno?t Minisini From taboege at ...626... Sun Feb 3 14:46:34 2013 From: taboege at ...626... (Tobias Boege) Date: Sun, 3 Feb 2013 14:46:34 +0100 Subject: [Gambas-user] Delete a file requiring Admin privilege In-Reply-To: <510E2212.80400@...626...> References: <510E2212.80400@...626...> Message-ID: <20130203134634.GA531@...2774...> On Sun, 03 Feb 2013, John Rose wrote: > Apologies. I missed out the gksudo in my last message: > > The following works OK: > sPath = "/home/john/Temp orary/q w.desktop" > sLogPath = "/home/john/Temporary/Log.txt" > Wait 1 > sCommand = "gksudo " & "desktop-file-install " & " " & > Shell$(sPath) & > " >/dev/null 2>" & Shell$(sLogPath) > hProcess = Shell sCommand > Do > Wait 0.1 > Loop Until hProcess.State <> Process.Running > > But the following comes back with the help lines for gksudo i.e. where > it does not understand the rest: > sPath = "/home/john/Temp orary/q.desktop" > Exec ["gksudo", "desktop-file-install", sPath] Wait > PS If I change sPath to not have a space in the directory (e.g. using > Temporary) but having a space in the filename (e.g. q w.desktop) then I > get the same. > See [0]. Apparently, gksudo accepts the program to run only in _one single_ argument. There is (almost) certainly not a bug in Gambas related to this. Try around with gksudo in your terminal (I didn't find the manpage very explicit about this issue) to find the correct syntax and then apply it to your Exec instruction. Regards, Tobi [0] http://askubuntu.com/questions/126950/gksudo-doesnt-work-on-ubuntu-12-04-did-work-before From jussi.lahtinen at ...626... Sun Feb 3 15:03:39 2013 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 3 Feb 2013 16:03:39 +0200 Subject: [Gambas-user] Delete a file requiring Admin privilege In-Reply-To: <510E2212.80400@...626...> References: <510E2212.80400@...626...> Message-ID: Why you are not simply using Shell? Jussi On Sun, Feb 3, 2013 at 10:38 AM, John Rose wrote: > Apologies. I missed out the gksudo in my last message: > > The following works OK: > sPath = "/home/john/Temp orary/q w.desktop" > sLogPath = "/home/john/Temporary/Log.txt" > Wait 1 > sCommand = "gksudo " & "desktop-file-install " & " " & > Shell$(sPath) & > " >/dev/null 2>" & Shell$(sLogPath) > hProcess = Shell sCommand > Do > Wait 0.1 > Loop Until hProcess.State <> Process.Running > > But the following comes back with the help lines for gksudo i.e. where > it does not understand the rest: > sPath = "/home/john/Temp orary/q.desktop" > Exec ["gksudo", "desktop-file-install", sPath] Wait > PS If I change sPath to not have a space in the directory (e.g. using > Temporary) but having a space in the filename (e.g. q w.desktop) then I > get the same. > > -- > Regards, > John > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_jan > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From john.aaron.rose at ...626... Sun Feb 3 16:12:52 2013 From: john.aaron.rose at ...626... (John Rose) Date: Sun, 03 Feb 2013 15:12:52 +0000 Subject: [Gambas-user] Delete a file requiring Admin privilege Message-ID: <510E7E74.5020205@...626...> I've just tried using Exec with "gksudo" and having only one concatenated parameter: Exec ["gksudo", "desktop-file-install " & "--dir=" & sInstallDirectory & " " & sPath] To sOutput It gave no errors but it didn't work. I was using Shell and that worked with Shell$ applied to the directory and path variables above. But I thought that I'd try using Exec as the equivalent gksudo command to the above can be run in Terminal i.e. not using bash. -- Regards, John From taboege at ...626... Sun Feb 3 16:39:07 2013 From: taboege at ...626... (Tobias Boege) Date: Sun, 3 Feb 2013 16:39:07 +0100 Subject: [Gambas-user] Delete a file requiring Admin privilege In-Reply-To: <510E7E74.5020205@...626...> References: <510E7E74.5020205@...626...> Message-ID: <20130203153907.GA525@...2774...> On Sun, 03 Feb 2013, John Rose wrote: > I've just tried using Exec with "gksudo" and having only one > concatenated parameter: > Exec ["gksudo", "desktop-file-install " & "--dir=" & sInstallDirectory & > " " & sPath] To sOutput > > It gave no errors but it didn't work. > > I was using Shell and that worked with Shell$ applied to the directory > and path variables above. But I thought that I'd try using Exec as the > equivalent gksudo command to the above can be run in Terminal i.e. not > using bash. So, putting it all together, I _suppose_ that the following happens: - gksudo takes the command to execute and all its parameters in one single argument. - it elevates its privileges and calls the shell to execute the command given. Consequently the following may work: Exec ["gksudo", Shell$("desktop-file-install " & Shell$(sPath))] I read about some hacks in the code which would allow you to use "--" to separate arguments to gksudo and the program being called. Maybe you can experiment a little bit if the above does not work (I fear it). If, on the other side, it does work, then I would suggest using the Shell instruction instead of Exec :-) Regards, Tobi From john.aaron.rose at ...626... Sun Feb 3 18:53:47 2013 From: john.aaron.rose at ...626... (John Rose) Date: Sun, 03 Feb 2013 17:53:47 +0000 Subject: [Gambas-user] Delete a file requiring Admin privilege In-Reply-To: <20130203153907.GA525@...2774...> References: <510E7E74.5020205@...626...> <20130203153907.GA525@...2774...> Message-ID: <510EA42B.2030707@...626...> Tobias, You were correct: Exec ["gksudo", Shell$("desktop-file-install " & Shell$(sPath))] did not work. I've posted this as issue #400 on https://code.google.com/p/gambas/issues. It'll be interesting to see Benoit's take on this. Unless there's a solution/workaround, it looks like it's best to use Shell when using gksudo. Regards, John On 03/02/13 15:39, Tobias Boege wrote: > On Sun, 03 Feb 2013, John Rose wrote: >> I've just tried using Exec with "gksudo" and having only one >> concatenated parameter: >> Exec ["gksudo", "desktop-file-install " & "--dir=" & sInstallDirectory & >> " " & sPath] To sOutput >> >> It gave no errors but it didn't work. >> >> I was using Shell and that worked with Shell$ applied to the directory >> and path variables above. But I thought that I'd try using Exec as the >> equivalent gksudo command to the above can be run in Terminal i.e. not >> using bash. > So, putting it all together, I _suppose_ that the following happens: > > - gksudo takes the command to execute and all its parameters in one single > argument. > - it elevates its privileges and calls the shell to execute the command > given. > > Consequently the following may work: > > Exec ["gksudo", Shell$("desktop-file-install " & Shell$(sPath))] > > I read about some hacks in the code which would allow you to use "--" to > separate arguments to gksudo and the program being called. Maybe you can > experiment a little bit if the above does not work (I fear it). If, on the > other side, it does work, then I would suggest using the Shell instruction > instead of Exec :-) > > Regards, > Tobi > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_jan > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...2524... Sun Feb 3 18:57:38 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 03 Feb 2013 17:57:38 +0000 Subject: [Gambas-user] Issue 400 in gambas: Exec of gksudo doesn't work if filname parameter contains a space In-Reply-To: <0-6813199134517018827-9135201222418200497-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-9135201222418200497-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-9135201222418200497-gambas=googlecode.com@...2524...> Comment #1 on issue 400 by john.aaron.rose at ...626...: Exec of gksudo doesn't work if filname parameter contains a space http://code.google.com/p/gambas/issues/detail?id=400 I've been discussing this with Tobias Boege & Jussi Lahten on the mailing list (under topic Re: [Gambas-user] Delete a file requiring Admin privilege. Other alternatives have been tried. From taboege at ...626... Sun Feb 3 19:15:29 2013 From: taboege at ...626... (Tobias Boege) Date: Sun, 3 Feb 2013 19:15:29 +0100 Subject: [Gambas-user] Delete a file requiring Admin privilege In-Reply-To: <510EA42B.2030707@...626...> References: <510E7E74.5020205@...626...> <20130203153907.GA525@...2774...> <510EA42B.2030707@...626...> Message-ID: <20130203181529.GB525@...2774...> On Sun, 03 Feb 2013, John Rose wrote: > Tobias, > > You were correct: > > Exec ["gksudo", Shell$("desktop-file-install " & Shell$(sPath))] > > did not work. > > I've posted this as issue #400 on > https://code.google.com/p/gambas/issues. It'll be interesting to see > Benoit's take on this. Unless there's a solution/workaround, it looks > like it's best to use Shell when using gksudo. > > Regards, > John OK. In order to put an end to this haunting I installed gksudo and the following line is verified to work: ' This file exists and its path contains spaces, apparently sPath = User.Home &/ "dir space" &/ "desktop space.desktop" Exec ["gksudo", "desktop-file-install", sPath] The file _is_ copied into /usr/share/applications/. It _must_ consequently be some issue with your system. I've tested this under Arch Linux: gksudo is symlinked to gksu, version 2.0.2. Regards, Tobi From gambas at ...2524... Sun Feb 3 19:24:27 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 03 Feb 2013 18:24:27 +0000 Subject: [Gambas-user] Issue 400 in gambas: Exec of gksudo doesn't work if filname parameter contains a space In-Reply-To: <1-6813199134517018827-9135201222418200497-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-9135201222418200497-gambas=googlecode.com@...2524...> <0-6813199134517018827-9135201222418200497-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-9135201222418200497-gambas=googlecode.com@...2524...> Updates: Status: Invalid Labels: -Version Version-3.3.0 Comment #2 on issue 400 by benoit.m... at ...626...: Exec of gksudo doesn't work if filname parameter contains a space http://code.google.com/p/gambas/issues/detail?id=400 You wrote that in your code: Exec ["gksudo desktop-file-install", "--dir=" & sInstallDirectory, sPath] To sOutput It cannot work. The first argument of Exec must be the program to run. Please read carefully the documentation about SHELL and EXEC on the wiki, fix your program or provide a project that runs the code you are talking about and not something else, and come back! From jussi.lahtinen at ...626... Sun Feb 3 20:21:45 2013 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 3 Feb 2013 21:21:45 +0200 Subject: [Gambas-user] Delete a file requiring Admin privilege In-Reply-To: <20130203181529.GB525@...2774...> References: <510E7E74.5020205@...626...> <20130203153907.GA525@...2774...> <510EA42B.2030707@...626...> <20130203181529.GB525@...2774...> Message-ID: > OK. In order to put an end to this haunting I installed gksudo and the > following line is verified to work: > > ' This file exists and its path contains spaces, apparently > sPath = User.Home &/ "dir space" &/ "desktop space.desktop" > Exec ["gksudo", "desktop-file-install", sPath] > > The file _is_ copied into /usr/share/applications/. > > It _must_ consequently be some issue with your system. I've tested this > under Arch Linux: gksudo is symlinked to gksu, version 2.0.2. > With Gambas 3 rev 5511 @ Xubuntu 12.04 64bit, at least this works as expected: Exec ["gksudo", "cat", "/home/mess/Desktop/test test/test .txt"] And to get it work in actual terminal, single quotes are needed: $ gksudo cat '/home/mess/Desktop/test test/test .txt' Jussi From john.aaron.rose at ...626... Sun Feb 3 21:09:57 2013 From: john.aaron.rose at ...626... (John Rose) Date: Sun, 03 Feb 2013 20:09:57 +0000 Subject: [Gambas-user] Delete a file requiring Admin privilege In-Reply-To: <20130203181529.GB525@...2774...> References: <510E7E74.5020205@...626...> <20130203153907.GA525@...2774...> <510EA42B.2030707@...626...> <20130203181529.GB525@...2774...> Message-ID: <510EC415.8080203@...626...> Apologies, my mistake. Instead of saying that Exec ["gksudo", "desktop-file-install, sPath] or Exec ["gksudo", Shell$("desktop-file-install", Shell$(sPath))] did not work. I should have said that Exec ["gksudo", "desktop-file-install", sPath] To sOutput did work: where, for example, sPath="/home/john/Temp orary/q w.desktop". and Exec ["gksudo", "desktop-file-install", "--dir=" & sInstallDirectory, sPath] To sOutput did not work (i.e. sOutput gives 'help for gksudo'): where, for example, sInstallDirectory= "/usr/share/applications" and sPath="/home/john/Temporary/q.desktop". and Exec ["gksudo", "desktop-file-install", Shell$("--dir=" & sInstallDirectory), Shell$(sPath)] To sOutput did not work (i.e. sOutput gives 'help for gksudo'): where, for example, sInstallDirectory= "/usr/share/applications" and sPath="/home/john/Temporary/q.desktop". In other words, the "--dir" option causes the problem not the space in the directory or filename. Could someone check this to confirm or not that I am correct? Regards, John On 03/02/13 18:15, Tobias Boege wrote: > On Sun, 03 Feb 2013, John Rose wrote: >> Tobias, >> >> You were correct: >> >> Exec ["gksudo", Shell$("desktop-file-install " & Shell$(sPath))] >> >> did not work. >> >> I've posted this as issue #400 on >> https://code.google.com/p/gambas/issues. It'll be interesting to see >> Benoit's take on this. Unless there's a solution/workaround, it looks >> like it's best to use Shell when using gksudo. >> >> Regards, >> John > OK. In order to put an end to this haunting I installed gksudo and the > following line is verified to work: > > ' This file exists and its path contains spaces, apparently > sPath = User.Home &/ "dir space" &/ "desktop space.desktop" > Exec ["gksudo", "desktop-file-install", sPath] > > The file _is_ copied into /usr/share/applications/. > > It _must_ consequently be some issue with your system. I've tested this > under Arch Linux: gksudo is symlinked to gksu, version 2.0.2. > > Regards, > Tobi > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_jan > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...2524... Sun Feb 3 21:18:01 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 03 Feb 2013 20:18:01 +0000 Subject: [Gambas-user] Issue 400 in gambas: Exec of gksudo doesn't work if filname parameter contains a space In-Reply-To: <2-6813199134517018827-9135201222418200497-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-9135201222418200497-gambas=googlecode.com@...2524...> <0-6813199134517018827-9135201222418200497-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-9135201222418200497-gambas=googlecode.com@...2524...> Comment #3 on issue 400 by john.aaron.rose at ...626...: Exec of gksudo doesn't work if filname parameter contains a space http://code.google.com/p/gambas/issues/detail?id=400 I've looked into this further. The problem is not with having space(s) in the directory or filenames. The problem is with using a "--dir" option for the program being called by gksudo: Exec ["gksudo", "desktop-file-install", "--dir" & sInstallDirectory, sPath] to sOutput where, for example, sInstallDirectory="/usr/share/applications" & sPath="/home/john/Temporary" I missed out the "--dir" & sInstallDirectory parameter earlier in the interests of simplification, not realising that this is the cause. From taboege at ...626... Sun Feb 3 21:27:17 2013 From: taboege at ...626... (Tobias Boege) Date: Sun, 3 Feb 2013 21:27:17 +0100 Subject: [Gambas-user] Delete a file requiring Admin privilege In-Reply-To: <510EC415.8080203@...626...> References: <510E7E74.5020205@...626...> <20130203153907.GA525@...2774...> <510EA42B.2030707@...626...> <20130203181529.GB525@...2774...> <510EC415.8080203@...626...> Message-ID: <20130203202717.GC525@...2774...> On Sun, 03 Feb 2013, John Rose wrote: > Apologies, my mistake. Instead of saying that > Exec ["gksudo", "desktop-file-install, sPath] > or > Exec ["gksudo", Shell$("desktop-file-install", Shell$(sPath))] > did not work. > > I should have said that > Exec ["gksudo", "desktop-file-install", sPath] To sOutput > did work: where, for example, sPath="/home/john/Temp orary/q w.desktop". > and > Exec ["gksudo", "desktop-file-install", "--dir=" & sInstallDirectory, > sPath] To sOutput > did not work (i.e. sOutput gives 'help for gksudo'): where, for example, > sInstallDirectory= "/usr/share/applications" and > sPath="/home/john/Temporary/q.desktop". > and > Exec ["gksudo", "desktop-file-install", Shell$("--dir=" & > sInstallDirectory), Shell$(sPath)] To sOutput > did not work (i.e. sOutput gives 'help for gksudo'): where, for example, > sInstallDirectory= "/usr/share/applications" and > sPath="/home/john/Temporary/q.desktop". > > In other words, the "--dir" option causes the problem not the space in > the directory or filename. > > Could someone check this to confirm or not that I am correct? I finally saw your error! It states _explicitly_ that the switch --dir is not known to gksudo. The standard way to prevent programs from interpreting arguments as their switches is to put "--" somewhere before that argument: sPath = User.Home &/ "desktop space.desktop" sInstallPath = User.Home &/ "dir space" Exec ["gksudo", "--", "desktop-file-install", "--dir=" & sInstallPath, sPath] Works perfectly here. It even creates the "dir space" directory for me. This is clearly an application-specific problem. Bug #400 is invalid not only because of your project. Regards, Tobi From john.aaron.rose at ...626... Sun Feb 3 21:31:52 2013 From: john.aaron.rose at ...626... (John Rose) Date: Sun, 03 Feb 2013 20:31:52 +0000 Subject: [Gambas-user] Delete a file requiring Admin privilege In-Reply-To: <20130203202717.GC525@...2774...> References: <510E7E74.5020205@...626...> <20130203153907.GA525@...2774...> <510EA42B.2030707@...626...> <20130203181529.GB525@...2774...> <510EC415.8080203@...626...> <20130203202717.GC525@...2774...> Message-ID: <510EC938.6030500@...626...> Tobias, Thanks - that "--" method was new to me. Regards, John On 03/02/13 20:27, Tobias Boege wrote: > On Sun, 03 Feb 2013, John Rose wrote: >> Apologies, my mistake. Instead of saying that >> Exec ["gksudo", "desktop-file-install, sPath] >> or >> Exec ["gksudo", Shell$("desktop-file-install", Shell$(sPath))] >> did not work. >> >> I should have said that >> Exec ["gksudo", "desktop-file-install", sPath] To sOutput >> did work: where, for example, sPath="/home/john/Temp orary/q w.desktop". >> and >> Exec ["gksudo", "desktop-file-install", "--dir=" & sInstallDirectory, >> sPath] To sOutput >> did not work (i.e. sOutput gives 'help for gksudo'): where, for example, >> sInstallDirectory= "/usr/share/applications" and >> sPath="/home/john/Temporary/q.desktop". >> and >> Exec ["gksudo", "desktop-file-install", Shell$("--dir=" & >> sInstallDirectory), Shell$(sPath)] To sOutput >> did not work (i.e. sOutput gives 'help for gksudo'): where, for example, >> sInstallDirectory= "/usr/share/applications" and >> sPath="/home/john/Temporary/q.desktop". >> >> In other words, the "--dir" option causes the problem not the space in >> the directory or filename. >> >> Could someone check this to confirm or not that I am correct? > I finally saw your error! It states _explicitly_ that the switch --dir is > not known to gksudo. The standard way to prevent programs from interpreting > arguments as their switches is to put "--" somewhere before that argument: > > sPath = User.Home &/ "desktop space.desktop" > sInstallPath = User.Home &/ "dir space" > Exec ["gksudo", "--", "desktop-file-install", "--dir=" & sInstallPath, sPath] > > Works perfectly here. It even creates the "dir space" directory for me. > > This is clearly an application-specific problem. Bug #400 is invalid not > only because of your project. > > Regards, > Tobi > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_jan > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...2524... Sun Feb 3 21:34:18 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 03 Feb 2013 20:34:18 +0000 Subject: [Gambas-user] Issue 400 in gambas: Exec of gksudo doesn't work if filname parameter contains a space In-Reply-To: <3-6813199134517018827-9135201222418200497-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-9135201222418200497-gambas=googlecode.com@...2524...> <0-6813199134517018827-9135201222418200497-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-9135201222418200497-gambas=googlecode.com@...2524...> Comment #4 on issue 400 by john.aaron.rose at ...626...: Exec of gksudo doesn't work if filname parameter contains a space http://code.google.com/p/gambas/issues/detail?id=400 Apologies, Benoit. The fault is not with Gambas but with my not having "--" between "gksudo" and "desktop-file-install". From gambas at ...1... Mon Feb 4 02:47:40 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 04 Feb 2013 02:47:40 +0100 Subject: [Gambas-user] Pre-release of gambas 3.4 Message-ID: <510F133C.2050002@...1...> Hi, The source package of Gambas 3.4 is available at: http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.4.0.tar.bz2/download even if not officialy released yet. Feel free to test it, and tell me if you encounter any problem. Thanks! -- Beno?t Minisini From sebikul at ...626... Mon Feb 4 04:58:04 2013 From: sebikul at ...626... (Sebastian Kulesz) Date: Mon, 4 Feb 2013 00:58:04 -0300 Subject: [Gambas-user] Pre-release of gambas 3.4 In-Reply-To: <510F133C.2050002@...1...> References: <510F133C.2050002@...1...> Message-ID: On Sun, Feb 3, 2013 at 10:47 PM, Beno?t Minisini < gambas at ...1...> wrote: > Hi, > > The source package of Gambas 3.4 is available at: > > > http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.4.0.tar.bz2/download > > even if not officialy released yet. > > Feel free to test it, and tell me if you encounter any problem. > > Thanks! > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_jan > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > I just pushed an update to the Spanish translation, sorry I couldn't do it earlier. The new patch feature was really hard to translate, I feel like a small amount of translations are bogus, but there are no better alternatives. I also got a crash when closing the SVN window after committing the changes: _Desktop_Passwords.OpenWallet.39: Don't know how to store passwords on desktop XFCE although gnome-keyring is installed. Can't it be used as fallback if the desktop's default is not implemented but gnome-keyring is found? Thanks! From gambas at ...2524... Mon Feb 4 06:41:23 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 04 Feb 2013 05:41:23 +0000 Subject: [Gambas-user] Issue 398 in gambas: configure can't find LLVM In-Reply-To: <5-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> <0-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> Comment #6 on issue 398 by duchyde... at ...626...: configure can't find LLVM http://code.google.com/p/gambas/issues/detail?id=398 That's correct, the version of LLVM in the OpenSUSE repository was less than the version required to compile the jit package of gambas, so I downloaded the tar.gz of llvm and did ./autogen.sh & ./configure & make & sudo make install The default make target installed the files there. Maybe I should try configuring with cmake instead of autogen? From steve32942000 at ...43... Mon Feb 4 07:18:58 2013 From: steve32942000 at ...43... (steveNewbie) Date: Sun, 3 Feb 2013 22:18:58 -0800 (PST) Subject: [Gambas-user] Array for File class? In-Reply-To: References: <1359662311201-40881.post@...3046...> <1359667701780-40883.post@...3046...> <20130131214108.GA562@...2774...> <1359672509654-40885.post@...3046...> Message-ID: <1359958712.39537.YahooMailNeo@...3081...> I am using version 2.24. ?I will look into upgrading to 3.0 to see if the problem will go away. ? > > >Steve ________________________________ From: Jussi Lahtinen [via Gambas] To: steveNewbie Sent: Friday, February 1, 2013 2:54 PM Subject: Re: Array for File class? S It should work. What is your Gambas version? Jussi On Fri, Feb 1, 2013 at 12:48 AM, steveNewbie <[hidden email]>wrote: > I tried the method below without success. ?I am still getting "Class 'File' > is not creatable" error. ?I might have to resort to creating 50 separate > File objects to get through this for now and clean up later. > > Dim aFiles As New File[] > Dim hFile As File > Dim J As Integer > > For J = 0 To 50 > ? ? ? ? hFile = Open sPath For Read > ? ? ? ? aFiles.Add(hFile) ? ? ? ? ? ? ? ? ? ?(For some reason, Add is not a > method under this class!) > Next > > > Many thanks, > Steve > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/Array-for-File-class-tp40881p40885.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_jan > _______________________________________________ > Gambas-user mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan _______________________________________________ Gambas-user mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gambas-user ________________________________ If you reply to this email, your message will be added to the discussion below: http://gambas.8142.n7.nabble.com/Array-for-File-class-tp40881p40897.html To unsubscribe from Array for File class?, click here. NAML -- View this message in context: http://gambas.8142.n7.nabble.com/Array-for-File-class-tp40881p40931.html Sent from the gambas-user mailing list archive at Nabble.com. From bbruen at ...2308... Mon Feb 4 11:27:21 2013 From: bbruen at ...2308... (Bruce) Date: Mon, 04 Feb 2013 20:57:21 +1030 Subject: [Gambas-user] 5536 make fail Message-ID: <1359973642.19704.86.camel@...2688...> There may be a problem with sqlite2 makes. I have no idea but the last bit of reconf-all;configure -C;make gives make[4]: Entering directory `/home/bb/gb3source/gb.db.postgresql' make[4]: Leaving directory `/home/bb/gb3source/gb.db.postgresql' make[3]: Leaving directory `/home/bb/gb3source/gb.db.postgresql' make[2]: Leaving directory `/home/bb/gb3source/gb.db.postgresql' Making all in gb.db.sqlite2 make[2]: Entering directory `/home/bb/gb3source/gb.db.sqlite2' make all-recursive make[3]: Entering directory `/home/bb/gb3source/gb.db.sqlite2' Making all in src make[4]: Entering directory `/home/bb/gb3source/gb.db.sqlite2/src' CXX gb_db_sqlite2_la-main.lo ../libtool: line 2099: main.cpp: command not found g++: : No such file or directory g++: no input files make[4]: *** [gb_db_sqlite2_la-main.lo] Error 1 make[4]: Leaving directory `/home/bb/gb3source/gb.db.sqlite2/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/bb/gb3source/gb.db.sqlite2' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/bb/gb3source/gb.db.sqlite2' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/bb/gb3source' Usual reconf and configure (jit deconfigured) and the fail is definitely in the make. There is no sqlite2 here only sqlite3. If you want the whole log just say so. cheers Bruce From gambas at ...2524... Mon Feb 4 14:03:06 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 04 Feb 2013 13:03:06 +0000 Subject: [Gambas-user] Issue 401 in gambas: |Project|Make|Source Archive thinks it hasn't created the directory Message-ID: <0-6813199134517018827-8182799626018071353-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 401 by adamn... at ...626...: |Project|Make|Source Archive thinks it hasn't created the directory http://code.google.com/p/gambas/issues/detail?id=401 1) Describe the problem. When the desktop file "manager" comes up and you create a new directory it doesn't seem to realise that the new directory exists. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: couple of days ago Operating system: Linux Distribution: pclinuxos Architecture: x86 GUI component: qt4 (IDE problem) Desktop used: LXDE (!possible clue) 3) Provide a little project that reproduces the bug or the crash. Just create a project and follow the steps 4) If your project needs a database, try to provide it, or part of it. N/a 5) Explain clearly how to reproduce the bug or the crash. 1 Open or create a project. 2 Menu Project|Make|Source Archive (btw there seems to be a conflict with ctl+alt+A too) 3) in the dir?/file? chooser make a new directory and then click OK It creates the new dir OK but then I get an error box with "Unable to create source archive" "File or directory does not exist". (Hope this is a real bug, I'm not going too well this week. From gambas at ...2524... Mon Feb 4 14:16:10 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 04 Feb 2013 13:16:10 +0000 Subject: [Gambas-user] Issue 398 in gambas: configure can't find LLVM In-Reply-To: <6-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> References: <6-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> <0-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> Message-ID: <7-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> Comment #7 on issue 398 by emil.len... at ...626...: configure can't find LLVM http://code.google.com/p/gambas/issues/detail?id=398 The packaging/versioning system for LLVM is a mess. Some distributions use the static libraries, some use the dynamic libraries. Some distributions put the llvm-specific libraries in a separate llvm directory. Therefore I have not been able to write a configure script that works on all distributions... You can try to manually run llvm-config --libs and llvm-config --cflags to find the correct compilation flags :/ From gambas at ...2524... Mon Feb 4 18:48:53 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 04 Feb 2013 17:48:53 +0000 Subject: [Gambas-user] Issue 398 in gambas: configure can't find LLVM In-Reply-To: <7-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> References: <7-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> <0-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> Message-ID: <8-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> Comment #8 on issue 398 by duchyde... at ...626...: configure can't find LLVM http://code.google.com/p/gambas/issues/detail?id=398 I'll try doing some config stuff, I'm a newbie, though. I'll also try the forums for llvm to see if I can get a specific recommendation or at least something you can document. :P From konaexpress at ...178... Mon Feb 4 19:14:45 2013 From: konaexpress at ...178... (John) Date: Mon, 04 Feb 2013 13:14:45 -0500 Subject: [Gambas-user] Need Gambas3 Made Apps. Message-ID: <20130204181445.307840@...1858...> To anyone that is interested, We are looking for any programmers that would like to have their apps/programs included in the GambOS Linux distribution. We are looking to replace as many default apps in the OS with Gambas3 made apps. Calculator, text editor, photo viewing, you name it. Other apps can be put in the regular user distribution that will not have the IDE but will have the runtime included. This will go by the name Orca. Thanks for your time. John www.whiteislandsoftware.com From linuxos at ...1896... Mon Feb 4 19:17:25 2013 From: linuxos at ...1896... (Olivier Cruilles) Date: Mon, 4 Feb 2013 19:17:25 +0100 Subject: [Gambas-user] Pre-release of gambas 3.4 In-Reply-To: References: <510F133C.2050002@...1...> Message-ID: <60F7ABA8-786D-46DA-9F40-7453326BF1A1@...1896...> I Benoit, I tried the Gambas 3.4 version today and in this version I found a problem with the refresh of VSplit inside other VSplit. My normal version of Gambas I use is the official version: 3.3.4 In the version 3.3.4, all the content of multiple VSplit were always resized automaticaly but in the version 3.4, the resize of the content is made only when the Form is resized ? Does it normal now or not ? Cordialement, Olivier Cruilles Mail: linuxos at ...1896... Le 4 f?vr. 2013 ? 04:58, Sebastian Kulesz a ?crit : > On Sun, Feb 3, 2013 at 10:47 PM, Beno?t Minisini < > gambas at ...1...> wrote: > >> Hi, >> >> The source package of Gambas 3.4 is available at: >> >> >> http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.4.0.tar.bz2/download >> >> even if not officialy released yet. >> >> Feel free to test it, and tell me if you encounter any problem. >> >> Thanks! >> >> -- >> Beno?t Minisini >> >> >> ------------------------------------------------------------------------------ >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://p.sf.net/sfu/appdyn_d2d_jan >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > I just pushed an update to the Spanish translation, sorry I couldn't do it > earlier. The new patch feature was really hard to translate, I feel like a > small amount of translations are bogus, but there are no better > alternatives. > > I also got a crash when closing the SVN window after committing the changes: > > _Desktop_Passwords.OpenWallet.39: Don't know how to store passwords on > desktop XFCE > > although gnome-keyring is installed. Can't it be used as fallback if the > desktop's default is not implemented but gnome-keyring is found? > > Thanks! > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_jan > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Mon Feb 4 19:32:32 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 04 Feb 2013 19:32:32 +0100 Subject: [Gambas-user] Pre-release of gambas 3.4 In-Reply-To: <60F7ABA8-786D-46DA-9F40-7453326BF1A1@...1896...> References: <510F133C.2050002@...1...> <60F7ABA8-786D-46DA-9F40-7453326BF1A1@...1896...> Message-ID: <510FFEC0.9000204@...1...> Le 04/02/2013 19:17, Olivier Cruilles a ?crit : > I Benoit, > > I tried the Gambas 3.4 version today and in this version I found a problem with the refresh of VSplit inside other VSplit. > > My normal version of Gambas I use is the official version: 3.3.4 > > In the version 3.3.4, all the content of multiple VSplit were always resized automaticaly but in the version 3.4, the resize of the content is made only when the Form is resized ? > > Does it normal now or not ? > > Cordialement, > > Olivier Cruilles > Mail: linuxos at ...1896... > Non, le nouveau VSplit doit se comporter comme l'ancien. Peux-tu m'envoyer un projet qui reproduit le bug ? No, the new VSplit should behave like the old one. Can you send me a project that reproduces the bug? -- Beno?t Minisini From linuxos at ...1896... Mon Feb 4 20:07:34 2013 From: linuxos at ...1896... (Olivier Cruilles) Date: Mon, 4 Feb 2013 20:07:34 +0100 Subject: [Gambas-user] Pre-release of gambas 3.4 In-Reply-To: <510FFEC0.9000204@...1...> References: <510F133C.2050002@...1...> <60F7ABA8-786D-46DA-9F40-7453326BF1A1@...1896...> <510FFEC0.9000204@...1...> Message-ID: <1A6CEF57-8CF5-4860-8604-7CED839064B5@...1896...> Benoit, Bon apr?s recherche dans mon code, je suis tomb? sur la contrainte des FRAMES qui ne r?organisent pas leur contenu. Donc c'est pas un bug car j'ai recr?er un petit projet et tout marche bien et tout se redimensionne bien dans les VSplit. Par contre lors du redimentionnement d'un VSplit c'est beaucoup plus lent qu'avec la version 3.3.4 sur la m?me machine ? Meme avec le petit projet que j'ai fait rapidement, c'est moins rapide qu'avant. Cordialement, Olivier Cruilles Mail: linuxos at ...1896... Le 4 f?vr. 2013 ? 19:32, Beno?t Minisini a ?crit : > Le 04/02/2013 19:17, Olivier Cruilles a ?crit : >> I Benoit, >> >> I tried the Gambas 3.4 version today and in this version I found a problem with the refresh of VSplit inside other VSplit. >> >> My normal version of Gambas I use is the official version: 3.3.4 >> >> In the version 3.3.4, all the content of multiple VSplit were always resized automaticaly but in the version 3.4, the resize of the content is made only when the Form is resized ? >> >> Does it normal now or not ? >> >> Cordialement, >> >> Olivier Cruilles >> Mail: linuxos at ...1896... >> > > Non, le nouveau VSplit doit se comporter comme l'ancien. Peux-tu > m'envoyer un projet qui reproduit le bug ? > > No, the new VSplit should behave like the old one. Can you send me a > project that reproduces the bug? > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_jan > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...2524... Mon Feb 4 22:36:55 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 04 Feb 2013 21:36:55 +0000 Subject: [Gambas-user] Issue 402 in gambas: String charset is screwed up if the MySQL connection is temporary lost Message-ID: <0-6813199134517018827-7236476461003379365-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 402 by uAle... at ...626...: String charset is screwed up if the MySQL connection is temporary lost http://code.google.com/p/gambas/issues/detail?id=402 1) Describe the problem. When using a MySQL database with a string field with a special characters like "Celsius" works fine. The gambas string has the proper UTF-8 characters. Only if the connection is broken, the gambas string is screwed up, it almost looks like it changed charset from UTF-8 to ISO8859-1. When UTF-8 it prints: ?C When the connection is broken, the same routine prints: ?C 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: r5518 Operating system: Linux Distribution: LUbuntu 10.04LTS Architecture: x86 GUI component: QT4 Desktop used: LXDE $ mysql --version mysql Ver 14.14 Distrib 5.1.66, for debian-linux-gnu (i486) using readline 6.1 3) Provide a little project that reproduces the bug or the crash. Attach is the MySQL-Charset.tar project and "domotiga-empty.sql". 4) If your project needs a database, try to provide it, or part of it. Attached. 5) Explain clearly how to reproduce the bug or the crash. To reproduce it, do it as follows: - Import the domotiga-empty.sql into your MySQL database - Start the MySQL-Charset project - It will print out correctly: ?C - Restart the MySQL with "service mysql restart" NOTE: This needs to happen within the 5 seconds wait, else the application exits with an error - After the restart you will notice it print out incorrectly: ?C 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! Attachments: MySQL-Charset.tar 20.0 KB domotiga-empty.sql 234 KB From sebikul at ...626... Tue Feb 5 00:18:58 2013 From: sebikul at ...626... (Sebastian Kulesz) Date: Mon, 4 Feb 2013 20:18:58 -0300 Subject: [Gambas-user] Need Gambas3 Made Apps. In-Reply-To: <20130204181445.307840@...1858...> References: <20130204181445.307840@...1858...> Message-ID: You might want to take a look at https://launchpad.net/mundus I started it about an year ago, it's an app to clean your home folder from unneeded configuration files. It has a PPA available, it might make things easier. Do you have a website for that distro? Where can i read about it? On Mon, Feb 4, 2013 at 3:14 PM, John wrote: > To anyone that is interested, > We are looking for any programmers that would like to have their > apps/programs included in the GambOS Linux distribution. > We are looking to replace as many default apps in the OS with Gambas3 made > apps. Calculator, text editor, photo viewing, you name it. > Other apps can be put in the regular user distribution that will not have > the IDE but will have the runtime included. This will go by the name Orca. > > Thanks for your time. > > John > > > > www.whiteislandsoftware.com > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_jan > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Tue Feb 5 00:20:25 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 04 Feb 2013 23:20:25 +0000 Subject: [Gambas-user] Issue 398 in gambas: configure can't find LLVM In-Reply-To: <8-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> References: <8-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> <0-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> Message-ID: <9-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> Comment #9 on issue 398 by duchyde... at ...626...: configure can't find LLVM http://code.google.com/p/gambas/issues/detail?id=398 Success! After poking through the llvm Makefile for clues, I compiled llvm with make --enable-shared --enable-optimized. Then in gambas src, I wrote reconf-all --force & ./configure make Fail! make quits with error: CXX gb_jit_la-jit_codegen.lo jit_codegen.cpp: In function 'llvm::Value* extract_value(llvm::Value*, int)': jit_codegen.cpp:356:29: warning: narrowing conversion of 'index' from 'int' to 'unsigned int' inside { } [-Wnarrowing] jit_codegen.cpp: In function 'llvm::Value* insert_value(llvm::Value*, llvm::Value*, int)': jit_codegen.cpp:361:29: warning: narrowing conversion of 'index' from 'int' to 'unsigned int' inside { } [-Wnarrowing] jit_codegen.cpp: In member function 'virtual void TryExpression::codegen()': jit_codegen.cpp:3617:21: error: 'llvm::Attribute' has not been declared jit_codegen.cpp: In member function 'virtual void LargeTryExpression::codegen()': jit_codegen.cpp:3668:21: error: 'llvm::Attribute' has not been declared jit_codegen.cpp: In function 'void func_extern_call_variant_vararg(void*, void*, int, TYPE)': jit_codegen.cpp:6633:33: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] jit_codegen.cpp:6683:44: warning: array subscript has type 'char' [-Wchar-subscripts] jit_codegen.cpp: At global scope: jit_codegen.cpp:331:21: warning: 'llvm::Value* get_new_struct(llvm::StructType*, llvm::Value*, llvm::Value*, llvm::Value*)' defined but not used [-Wunused-function] jit_codegen.cpp:1024:13: warning: 'void codegen_printf(const char*, int)' defined but not used [-Wunused-function] jit_codegen.cpp:1028:13: warning: 'void codegen_printf(const char*)' defined but not used [-Wunused-function] jit_codegen.cpp:1032:13: warning: 'void codegen_printf(const char*, llvm::Value*)' defined but not used [-Wunused-function] jit_codegen.cpp:1111:13: warning: 'void borrow_top(TYPE)' defined but not used [-Wunused-function] jit_codegen.cpp:1115:13: warning: 'void release_top(Expression*)' defined but not used [-Wunused-function] jit_codegen.cpp:1129:13: warning: 'void release_val(Expression*)' defined but not used [-Wunused-function] jit_codegen.cpp:6958:13: warning: 'void JIT_cleanup(llvm::ExecutionEngine**, int)' defined but not used [-Wunused-function] make[4]: *** [gb_jit_la-jit_codegen.lo] Error 1 make[4]: Leaving directory `/home/zakri/src/gambas3-3.3.4/gb.jit/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/zakri/src/gambas3-3.3.4/gb.jit' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/zakri/src/gambas3-3.3.4/gb.jit' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/zakri/src/gambas3-3.3.4' make: *** [all] Error 2 From gambas at ...2524... Tue Feb 5 00:22:48 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 04 Feb 2013 23:22:48 +0000 Subject: [Gambas-user] Issue 398 in gambas: configure can't find LLVM In-Reply-To: <9-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> References: <9-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> <0-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> Message-ID: <10-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> Comment #10 on issue 398 by emil.len... at ...626...: configure can't find LLVM http://code.google.com/p/gambas/issues/detail?id=398 The LLVM team seems to be renaming "llvm::Attribute" to "llvm::Attributes" forth and back. Try renaming it. From gambas at ...2524... Tue Feb 5 00:25:19 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 04 Feb 2013 23:25:19 +0000 Subject: [Gambas-user] Issue 398 in gambas: configure can't find LLVM In-Reply-To: <10-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> References: <10-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> <0-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> Message-ID: <11-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> Comment #11 on issue 398 by duchyde... at ...626...: configure can't find LLVM http://code.google.com/p/gambas/issues/detail?id=398 Actually, looking back at output, --enable-optimized failed, so it's just the --enable-shared flag that builds the .so object that gambas needs. From gambas at ...2524... Tue Feb 5 00:29:34 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 04 Feb 2013 23:29:34 +0000 Subject: [Gambas-user] Issue 398 in gambas: configure can't find LLVM In-Reply-To: <11-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> References: <11-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> <0-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> Message-ID: <12-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> Comment #12 on issue 398 by duchyde... at ...626...: configure can't find LLVM http://code.google.com/p/gambas/issues/detail?id=398 Re: #10 Should I rename it in llvm or jit_codegen.cpp? From gambas at ...2524... Tue Feb 5 00:34:16 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 04 Feb 2013 23:34:16 +0000 Subject: [Gambas-user] Issue 398 in gambas: configure can't find LLVM In-Reply-To: <12-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> References: <12-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> <0-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> Message-ID: <13-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> Comment #13 on issue 398 by emil.len... at ...626...: configure can't find LLVM http://code.google.com/p/gambas/issues/detail?id=398 in jit_codegen.cpp From ongytenes at ...626... Tue Feb 5 00:49:09 2013 From: ongytenes at ...626... (Ongytenes) Date: Mon, 4 Feb 2013 15:49:09 -0800 (PST) Subject: [Gambas-user] Array for File class? In-Reply-To: <1359672509654-40885.post@...3046...> References: <1359662311201-40881.post@...3046...> <1359667701780-40883.post@...3046...> <20130131214108.GA562@...2774...> <1359672509654-40885.post@...3046...> Message-ID: <1360021749734-40953.post@...3046...> I am using Gambas 2.19 and as a experiment I got the same problem as you. But I created a class named Global and in it I put *STATIC PUBLIC aFiles AS NEW File[] * and it did not raise any errors. I didn't take the time to write code to test it. Figure you could give it a try and let me know. -- View this message in context: http://gambas.8142.n7.nabble.com/Array-for-File-class-tp40881p40953.html Sent from the gambas-user mailing list archive at Nabble.com. From willy at ...2734... Tue Feb 5 00:42:50 2013 From: willy at ...2734... (Willy Raets) Date: Tue, 05 Feb 2013 00:42:50 +0100 Subject: [Gambas-user] Need Gambas3 Made Apps. In-Reply-To: References: <20130204181445.307840@...1858...> Message-ID: <1360021370.2694.0.camel@...3024...> On Mon, 2013-02-04 at 20:18 -0300, Sebastian Kulesz wrote: > You might want to take a look at https://launchpad.net/mundus > I started it about an year ago, it's an app to clean your home folder from > unneeded configuration files. > It has a PPA available, it might make things easier. > > Do you have a website for that distro? Where can i read about it? More information: http://whiteislandsoftware.com/forum/index.php?page=forumview&id=the-orca-project&keep_cedi_root=2 Willy > > > On Mon, Feb 4, 2013 at 3:14 PM, John wrote: > > > To anyone that is interested, > > We are looking for any programmers that would like to have their > > apps/programs included in the GambOS Linux distribution. > > We are looking to replace as many default apps in the OS with Gambas3 made > > apps. Calculator, text editor, photo viewing, you name it. > > Other apps can be put in the regular user distribution that will not have > > the IDE but will have the runtime included. This will go by the name Orca. > > > > Thanks for your time. > > > > John > > > > > > > > www.whiteislandsoftware.com > > > > ------------------------------------------------------------------------------ > > Everyone hates slow websites. So do we. > > Make your web apps faster with AppDynamics > > Download AppDynamics Lite for free today: > > http://p.sf.net/sfu/appdyn_d2d_jan > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Met vriendelijke groeten/ With kind regards, Willy Raets, Voorzitter/chairman, Earthship Belgium vzw. Nederlandse website: http://www.earthshipbelgium.be/nl.html English Website: http://www.earthshipbelgium.be/en.html From ongytenes at ...626... Tue Feb 5 01:46:27 2013 From: ongytenes at ...626... (Ongytenes) Date: Mon, 4 Feb 2013 16:46:27 -0800 (PST) Subject: [Gambas-user] Array for File class? In-Reply-To: <1360021749734-40953.post@...3046...> References: <1359662311201-40881.post@...3046...> <1359667701780-40883.post@...3046...> <20130131214108.GA562@...2774...> <1359672509654-40885.post@...3046...> <1360021749734-40953.post@...3046...> Message-ID: <1360025187141-40955.post@...3046...> Sorry I didn't have time at the moment to try anything. Just got back and tried a little loop for the file array. Once I tried to use the OPEN command the error came up again. I plan to try and tackle this to see if there is a work around. Sorry for the false lead. -- View this message in context: http://gambas.8142.n7.nabble.com/Array-for-File-class-tp40881p40955.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...2524... Tue Feb 5 02:50:18 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 05 Feb 2013 01:50:18 +0000 Subject: [Gambas-user] Issue 398 in gambas: configure can't find LLVM In-Reply-To: <13-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> References: <13-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> <0-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> Message-ID: <14-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> Comment #14 on issue 398 by duchyde... at ...626...: configure can't find LLVM http://code.google.com/p/gambas/issues/detail?id=398 Success! Replaced "llvm::Attribute:" with "llvm::Attributes:", two changes at jit_codegen.cpp:3617 and jit_codegen.cpp:3668. Gambas compiles and runs. Issue solved. Thank you! From gambas at ...2524... Tue Feb 5 02:51:39 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 05 Feb 2013 01:51:39 +0000 Subject: [Gambas-user] Issue 398 in gambas: configure can't find LLVM In-Reply-To: <14-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> References: <14-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> <0-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> Message-ID: <15-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> Comment #15 on issue 398 by duchyde... at ...626...: configure can't find LLVM http://code.google.com/p/gambas/issues/detail?id=398 PS. Updated OpenSUSE 12.2 since this ticket was opened and gambas3 works fine. From willy at ...2734... Tue Feb 5 03:57:47 2013 From: willy at ...2734... (Willy Raets) Date: Tue, 05 Feb 2013 03:57:47 +0100 Subject: [Gambas-user] gambasshowcase.org online Message-ID: <1360033067.2694.4.camel@...3024...> In an effort to promote the beauty, ease and power of Gambas3 a few projects where started aiming at: 1. Project GambOS: Easy available distribution with Gambas3 development environment default installed; 2. Project How To Gambas3: A set of good guides to learn develop applications with Gambas3; 3. Project GambasShowCase: Show off what can be done with Gambas3. Project 'Gambas3 ShowCase' website is now online: http://gambasshowcase.org/index.php?page=start&keep_forum_root=111 A few of us put our spare time into these projects. More contributors are welcome... Enjoy... Willy From sebikul at ...626... Tue Feb 5 06:03:11 2013 From: sebikul at ...626... (Sebastian Kulesz) Date: Tue, 5 Feb 2013 02:03:11 -0300 Subject: [Gambas-user] gambasshowcase.org online In-Reply-To: <1360033067.2694.4.camel@...3024...> References: <1360033067.2694.4.camel@...3024...> Message-ID: On Mon, Feb 4, 2013 at 11:57 PM, Willy Raets wrote: > In an effort to promote the beauty, ease and power of Gambas3 a few > projects where started aiming at: > > 1. Project GambOS: > Easy available distribution with Gambas3 development environment default > installed; > 2. Project How To Gambas3: > A set of good guides to learn develop applications with Gambas3; > 3. Project GambasShowCase: > Show off what can be done with Gambas3. > > Project 'Gambas3 ShowCase' website is now online: > http://gambasshowcase.org/index.php?page=start&keep_forum_root=111 > > A few of us put our spare time into these projects. More contributors > are welcome... > I looked around the webpage but i could't find any source code whatsoever, for any of the projects mentioned in this email. Am I missing something? > > Enjoy... > > Willy > > > > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From kevinfishburne at ...1887... Tue Feb 5 06:19:12 2013 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Tue, 05 Feb 2013 00:19:12 -0500 Subject: [Gambas-user] forcing time zone localization In-Reply-To: <510E6219.6000500@...1...> References: <510A1EAF.2070200@...1887...> <510A396F.7020805@...1...> <510B70A0.1050107@...1887...> <510C476C.2040407@...1...> <510E1BC9.50004@...1887...> <510E601F.5040400@...1...> <510E6219.6000500@...1...> Message-ID: <51109650.7010906@...1887...> On 02/03/2013 08:11 AM, Beno?t Minisini wrote: > Le 03/02/2013 14:03, Beno?t Minisini a ?crit : >> To get the current timezone, you do Round(Frac(Date(Now)) * 24). Then >> you can use this value to convert a date to/from UTC. >> >> Regards, >> > So scatterbrained... I have added System.TimeZone property for a while. > It returns the interval with UTC in seconds (for example, -3600 in > France currently). > > Regards, > Ian and Beno?t, thank you very much. I now have sufficient ammo to load my magazine. ;) -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From john.aaron.rose at ...626... Tue Feb 5 10:10:03 2013 From: john.aaron.rose at ...626... (John Rose) Date: Tue, 05 Feb 2013 09:10:03 +0000 Subject: [Gambas-user] gambasshowcase.org online Message-ID: <5110CC6B.2010800@...626...> I tried to join (i.e. register) gambasshowcase.org using the provided link. I'm using Firefox under Ubuntu Precise 32 bit. Nothing appeared to happen. Also, I don't see a means to download the meta packager (may have got name wrong) to check an app. -- Regards, John From gambas at ...2524... Tue Feb 5 10:24:36 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 05 Feb 2013 09:24:36 +0000 Subject: [Gambas-user] Issue 403 in gambas: Format works differently between gambas2 and gambas3, a space is added Message-ID: <0-6813199134517018827-10294374334858953397-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version Type-Bug Priority-High OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 403 by uAle... at ...626...: Format works differently between gambas2 and gambas3, a space is added http://code.google.com/p/gambas/issues/detail?id=403 1) Describe the problem. The format output is different between gambas2 (2.24.0) and gambas3 (3.4.0). I am using the following 2 lines of code: sTemp = "5.5" Print "Temp=" & Format(CStr(sTemp), "#0.#") & ";" On gambas2 it outputs: Temp=5.5; On gambas3 it outputs: Temp= 5.5; ^ 1 additional space added in front of the formatted sTemp variable 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: TRUNK Revision: 3.4.0 Operating system: Linux Distribution: LUbuntu Architecture: x86 GUI component: QT4 Desktop used: LXDE 3) Provide a little project that reproduces the bug or the crash. Attached is the example "Format-Difference.tar.gz" 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! Attachments: Format-Difference.tar.gz 11.9 KB From john.aaron.rose at ...626... Tue Feb 5 10:21:32 2013 From: john.aaron.rose at ...626... (John Rose) Date: Tue, 05 Feb 2013 09:21:32 +0000 Subject: [Gambas-user] Need Gambas3 Made Apps. Message-ID: <5110CF1C.8060906@...626...> I have 2 apps that might be of interest: 1. iRecorder: GUI interface to get_iplayer to allow playing & recording of BBC programmes made available to iPlayer. .deb is downloadable from: http://dl.dropbox.com/u/3928731/irecorder.deb 2. MaintainDesktopConfigurationFiles: GUI interface to various command line programs for the creation, modification, validation, installation & uninstallation of Desktop Configuration Files (to the Dash) under Ubuntu Precise onwards. .deb is downloadable from: http://dl.dropbox.com/u/3928731/maintaindesktopconfigurationfiles.deb On Mon, Feb 4, 2013 at 3:14 PM, John wrote: > To anyone that is interested, > We are looking for any programmers that would like to have their > apps/programs included in the GambOS Linux distribution. > We are looking to replace as many default apps in the OS with Gambas3 made > apps. Calculator, text editor, photo viewing, you name it. > Other apps can be put in the regular user distribution that will not have > the IDE but will have the runtime included. This will go by the name Orca. > > Thanks for your time. > > John -- Regards, John From gambas at ...2524... Tue Feb 5 13:27:03 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 05 Feb 2013 12:27:03 +0000 Subject: [Gambas-user] Issue 403 in gambas: Format works differently between gambas2 and gambas3, a space is added In-Reply-To: <0-6813199134517018827-10294374334858953397-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-10294374334858953397-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-10294374334858953397-gambas=googlecode.com@...2524...> Updates: Status: WontFix Labels: -Version Version-TRUNK Comment #1 on issue 403 by benoit.m... at ...626...: Format works differently between gambas2 and gambas3, a space is added http://code.google.com/p/gambas/issues/detail?id=403 This is intended. In Gambas 3 extra left '#' are not ignored anymore. From gambas at ...2524... Tue Feb 5 13:28:12 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 05 Feb 2013 12:28:12 +0000 Subject: [Gambas-user] Issue 398 in gambas: configure can't find LLVM In-Reply-To: <15-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> References: <15-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> <0-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> Message-ID: <16-6813199134517018827-7191332786888667920-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #16 on issue 398 by benoit.m... at ...626...: configure can't find LLVM http://code.google.com/p/gambas/issues/detail?id=398 (No comment was entered for this change.) From gambas at ...2524... Tue Feb 5 13:32:24 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 05 Feb 2013 12:32:24 +0000 Subject: [Gambas-user] Issue 403 in gambas: Format works differently between gambas2 and gambas3, a space is added In-Reply-To: <1-6813199134517018827-10294374334858953397-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-10294374334858953397-gambas=googlecode.com@...2524...> <0-6813199134517018827-10294374334858953397-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-10294374334858953397-gambas=googlecode.com@...2524...> Comment #2 on issue 403 by uAle... at ...626...: Format works differently between gambas2 and gambas3, a space is added http://code.google.com/p/gambas/issues/detail?id=403 Ok, i finally found the man page for it, but the example supplied there is wrong: PRINT Format$(Pi / 10, "###.# %") 31.4 % Should be: PRINT Format$(Pi / 10, "###.# %") 31.4 % From gambas at ...2524... Tue Feb 5 13:36:05 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 05 Feb 2013 12:36:05 +0000 Subject: [Gambas-user] Issue 403 in gambas: Format works differently between gambas2 and gambas3, a space is added In-Reply-To: <2-6813199134517018827-10294374334858953397-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-10294374334858953397-gambas=googlecode.com@...2524...> <0-6813199134517018827-10294374334858953397-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-10294374334858953397-gambas=googlecode.com@...2524...> Comment #3 on issue 403 by uAle... at ...626...: Format works differently between gambas2 and gambas3, a space is added http://code.google.com/p/gambas/issues/detail?id=403 The man page link is: http://gambasdoc.org/help/cat/userformat?v3 From willy at ...2734... Tue Feb 5 14:38:55 2013 From: willy at ...2734... (Willy Raets) Date: Tue, 05 Feb 2013 14:38:55 +0100 Subject: [Gambas-user] gambasshowcase.org online In-Reply-To: <5110CC6B.2010800@...626...> References: <5110CC6B.2010800@...626...> Message-ID: <1360071535.2292.4.camel@...3024...> On Tue, 2013-02-05 at 09:10 +0000, John Rose wrote: > I tried to join (i.e. register) gambasshowcase.org using the provided > link. I'm using Firefox under Ubuntu Precise 32 bit. Nothing appeared to > happen. Also, I don't see a means to download the meta packager (may > have got name wrong) to check an app. > 1. To log in you can use the WhiteIslands Gambas Forum user and password. If you don't have any you need to make it there I guess. I'll ask the Gambas Forum admin what might be wrong with not being able to create an account at gambasshowcase.org 2. Download part still needs work so both ShowCase and ShowCaseMetaPackager can be downloaded. You can find both downloads in the Software section (Bleeding Edge) on Gambas Forum as well. Hope this helps, Willy From john.aaron.rose at ...626... Tue Feb 5 14:59:50 2013 From: john.aaron.rose at ...626... (John Rose) Date: Tue, 05 Feb 2013 13:59:50 +0000 Subject: [Gambas-user] gambasshowcase.org online In-Reply-To: <1360071535.2292.4.camel@...3024...> References: <5110CC6B.2010800@...626...> <1360071535.2292.4.camel@...3024...> Message-ID: <51111056.4050609@...626...> I was able to login using my Whiteislands Gambas Forum user & password. I was not able to find ShowCaseMetaPackager in the Software section (Bleeding Edge) on Gambas Forum though I did find ShowCase (which I was also able to download from gambasshowcase.org). Regards, John On 05/02/13 13:38, Willy Raets wrote: > On Tue, 2013-02-05 at 09:10 +0000, John Rose wrote: >> I tried to join (i.e. register) gambasshowcase.org using the provided >> link. I'm using Firefox under Ubuntu Precise 32 bit. Nothing appeared to >> happen. Also, I don't see a means to download the meta packager (may >> have got name wrong) to check an app. >> > 1. To log in you can use the WhiteIslands Gambas Forum user and > password. If you don't have any you need to make it there I guess. > I'll ask the Gambas Forum admin what might be wrong with not being able > to create an account at gambasshowcase.org > > 2. Download part still needs work so both ShowCase and > ShowCaseMetaPackager can be downloaded. You can find both downloads in > the Software section (Bleeding Edge) on Gambas Forum as well. > > Hope this helps, > > Willy > > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From mohareve at ...626... Tue Feb 5 15:25:47 2013 From: mohareve at ...626... (M. Cs.) Date: Tue, 5 Feb 2013 15:25:47 +0100 Subject: [Gambas-user] Need Gambas3 Made Apps. In-Reply-To: <5110CF1C.8060906@...626...> References: <5110CF1C.8060906@...626...> Message-ID: Hi John, I can offer you GamCat: http://sourceforge.net/projects/gamcat/ This is a versatile cataloging program written in Gambas3. It has a tons of features. I can offer you the Nevezz: http://sourceforge.net/projects/nevezz/ This is a lightweight batch file renamer written also in G3. I have also a standalone Phonebook application, but I need to internationalize it. Csaba From jussi.lahtinen at ...626... Tue Feb 5 18:58:27 2013 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 5 Feb 2013 19:58:27 +0200 Subject: [Gambas-user] Array for File class? In-Reply-To: <1359958712.39537.YahooMailNeo@...3081...> References: <1359662311201-40881.post@...3046...> <1359667701780-40883.post@...3046...> <20130131214108.GA562@...2774...> <1359672509654-40885.post@...3046...> <1359958712.39537.YahooMailNeo@...3081...> Message-ID: OK, that explains it. I don't see any problems with Gambas 3. I recommend to use it. Jussi On Mon, Feb 4, 2013 at 8:18 AM, steveNewbie wrote: > I am using version 2.24. I will look into upgrading to 3.0 to see if the > problem will go away. > > > > > >Steve > > ________________________________ > From: Jussi Lahtinen [via Gambas] > To: steveNewbie > Sent: Friday, February 1, 2013 2:54 PM > Subject: Re: Array for File class? > S > > It should work. What is your Gambas version? > > Jussi > > > > On Fri, Feb 1, 2013 at 12:48 AM, steveNewbie <[hidden email]>wrote: > > > > I tried the method below without success. I am still getting "Class > 'File' > > is not creatable" error. I might have to resort to creating 50 separate > > File objects to get through this for now and clean up later. > > > > Dim aFiles As New File[] > > Dim hFile As File > > Dim J As Integer > > > > For J = 0 To 50 > > hFile = Open sPath For Read > > aFiles.Add(hFile) (For some reason, Add is > not a > > method under this class!) > > Next > > > > > > Many thanks, > > Steve > > > > > > > > -- > > View this message in context: > > http://gambas.8142.n7.nabble.com/Array-for-File-class-tp40881p40885.html > > Sent from the gambas-user mailing list archive at Nabble.com. > > > > > > > ------------------------------------------------------------------------------ > > Everyone hates slow websites. So do we. > > Make your web apps faster with AppDynamics > > Download AppDynamics Lite for free today: > > http://p.sf.net/sfu/appdyn_d2d_jan > > _______________________________________________ > > Gambas-user mailing list > > [hidden email] > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_jan > _______________________________________________ > Gambas-user mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ________________________________ > > If you reply to this email, your message will be added to the discussion > below: > http://gambas.8142.n7.nabble.com/Array-for-File-class-tp40881p40897.html > To unsubscribe from Array for File class?, click here. > NAML > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/Array-for-File-class-tp40881p40931.html > Sent from the gambas-user mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_jan > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From konaexpress at ...178... Tue Feb 5 19:09:25 2013 From: konaexpress at ...178... (John) Date: Tue, 05 Feb 2013 13:09:25 -0500 Subject: [Gambas-user] Need Gambas3 Made Apps. Message-ID: <20130205180925.318980@...1858...> Thank you for your time and effort. I will take a look at your apps. John ----- Original Message ----- From: M. Cs. Sent: 02/05/13 06:25 AM To: mailing list for gambas users Subject: Re: [Gambas-user] Need Gambas3 Made Apps. Hi John, I can offer you GamCat: http://sourceforge.net/projects/gamcat/ This is a versatile cataloging program written in Gambas3. It has a tons of features. I can offer you the Nevezz: http://sourceforge.net/projects/nevezz/ This is a lightweight batch file renamer written also in G3. I have also a standalone Phonebook application, but I need to internationalize it. Csaba ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From konaexpress at ...178... Tue Feb 5 19:11:10 2013 From: konaexpress at ...178... (John) Date: Tue, 05 Feb 2013 13:11:10 -0500 Subject: [Gambas-user] Need Gambas3 Made Apps. Message-ID: <20130205181110.318990@...1858...> Hi and thanks! Is the irecorder able to play internet radio? That would be a cool app....... John ----- Original Message ----- From: John Rose Sent: 02/05/13 01:21 AM To: MailingList GambasUsers Subject: Re: [Gambas-user] Need Gambas3 Made Apps. I have 2 apps that might be of interest: 1. iRecorder: GUI interface to get_iplayer to allow playing & recording of BBC programmes made available to iPlayer. .deb is downloadable from: http://dl.dropbox.com/u/3928731/irecorder.deb 2. MaintainDesktopConfigurationFiles: GUI interface to various command line programs for the creation, modification, validation, installation & uninstallation of Desktop Configuration Files (to the Dash) under Ubuntu Precise onwards. .deb is downloadable from: http://dl.dropbox.com/u/3928731/maintaindesktopconfigurationfiles.deb Regards, John ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From john.aaron.rose at ...626... Tue Feb 5 19:13:20 2013 From: john.aaron.rose at ...626... (John Rose) Date: Tue, 05 Feb 2013 18:13:20 +0000 Subject: [Gambas-user] Need Gambas3 Made Apps. In-Reply-To: <20130205181110.318990@...1858...> References: <20130205181110.318990@...1858...> Message-ID: <51114BC0.8040404@...626...> It's purely a wrapper to the BBC's iPlayer i.e. it can download (or play) TV or Radio programmes that the BBC has put into its 'iPlayer servers'. Regards, John On 05/02/13 18:11, John wrote: > Hi and thanks! > > Is the irecorder able to play internet radio? That would be a cool app....... > > John > ----- Original Message ----- > From: John Rose > Sent: 02/05/13 01:21 AM > To: MailingList GambasUsers > Subject: Re: [Gambas-user] Need Gambas3 Made Apps. > > I have 2 apps that might be of interest: 1. iRecorder: GUI interface to get_iplayer to allow playing & recording of BBC programmes made available to iPlayer. .deb is downloadable from: http://dl.dropbox.com/u/3928731/irecorder.deb 2. MaintainDesktopConfigurationFiles: GUI interface to various command line programs for the creation, modification, validation, installation & uninstallation of Desktop Configuration Files (to the Dash) under Ubuntu Precise onwards. .deb is downloadable from: http://dl.dropbox.com/u/3928731/maintaindesktopconfigurationfiles.deb Regards, John ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From konaexpress at ...178... Tue Feb 5 19:15:13 2013 From: konaexpress at ...178... (John) Date: Tue, 05 Feb 2013 13:15:13 -0500 Subject: [Gambas-user] gambasshowcase.org online Message-ID: <20130205181514.318980@...1858...> Sorry about that, the site is under heavy development now so the code for some projects might not be up yet. John I looked around the webpage but i could't find any source code whatsoever, for any of the projects mentioned in this email. Am I missing something? From john.aaron.rose at ...626... Tue Feb 5 19:23:36 2013 From: john.aaron.rose at ...626... (John Rose) Date: Tue, 05 Feb 2013 18:23:36 +0000 Subject: [Gambas-user] gambasshowcase.org online In-Reply-To: <20130205181514.318980@...1858...> References: <20130205181514.318980@...1858...> Message-ID: <51114E28.40601@...626...> I'm trying to get the iRecorder & MaintainDesktopMaintenanceFiles projects onto 'WhiteIslands Stable apps'. Regards, John On 05/02/13 18:15, John wrote: > Sorry about that, the site is under heavy development now so the code for some projects might not be up yet. > > John > > I looked around the webpage but i could't find any source code whatsoever, for any of the projects mentioned in this email. Am I missing something? > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From konaexpress at ...178... Tue Feb 5 19:27:45 2013 From: konaexpress at ...178... (John) Date: Tue, 05 Feb 2013 13:27:45 -0500 Subject: [Gambas-user] Need Gambas3 Made Apps. Message-ID: <20130205182745.319010@...1858...> Hi and thanks for the reply... You will have to forgive me, the page for GambOS is not up yet but the domain is. I am a graphics guy so doing all the heavy lifting with the OS and trying to learn programming at the same time is killing me time wise. We do have an alpha of the OS up for download and testing and hope to get an alpha 3 out with some Gambas3 made apps in it to play with. I look forward to seeing what you guys can make and do with the Gambas IDE. If you can code but don't have any ideas as to what to make, let me know. I have some things I would like to see in the OS but not the time to go at it myself for now. All help is welcome. John ----- Original Message ----- From: Sebastian Kulesz Sent: 02/04/13 03:18 PM To: mailing list for gambas users Subject: Re: [Gambas-user] Need Gambas3 Made Apps. You might want to take a look at https://launchpad.net/mundus I started it about an year ago, it's an app to clean your home folder from unneeded configuration files. It has a PPA available, it might make things easier. Do you have a website for that distro? Where can i read about it? From gambas at ...2524... Wed Feb 6 03:41:52 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 06 Feb 2013 02:41:52 +0000 Subject: [Gambas-user] Issue 401 in gambas: |Project|Make|Source Archive thinks it hasn't created the directory In-Reply-To: <0-6813199134517018827-8182799626018071353-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-8182799626018071353-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-8182799626018071353-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Labels: -Version Version-3.3.0 Comment #1 on issue 401 by benoit.m... at ...626...: |Project|Make|Source Archive thinks it hasn't created the directory http://code.google.com/p/gambas/issues/detail?id=401 I cannot reproduce the bug. Please tell which version of Gambas you use (why didn't you?), and then maybe you can try the latest development version. From mike.crean at ...2897... Wed Feb 6 04:08:11 2013 From: mike.crean at ...2897... (Mike Crean) Date: Tue, 5 Feb 2013 19:08:11 -0800 (PST) Subject: [Gambas-user] gb.web Message-ID: <1360120091.74300.YahooMailNeo@...3084...> Hi all, Anyone have some simple example code for web page creation or control with Gambas 3 gb.web I would like to get serial data from an Arduino and display it on a HTML web page. Regards Mike From gambas.fr at ...626... Wed Feb 6 09:04:18 2013 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 6 Feb 2013 09:04:18 +0100 Subject: [Gambas-user] Need Gambas3 Made Apps. In-Reply-To: <20130205182745.319010@...1858...> References: <20130205182745.319010@...1858...> Message-ID: Hi, John... please tell here what are your hurry needs ! 2013/2/5 John > Hi and thanks for the reply... > > You will have to forgive me, the page for GambOS is not up yet but the > domain is. I am a graphics guy so doing all the heavy lifting with the OS > and trying to learn programming at the same time is killing me time wise. > We do have an alpha of the OS up for download and testing and hope to get > an alpha 3 out with some Gambas3 made apps in it to play with. > > I look forward to seeing what you guys can make and do with the Gambas > IDE. If you can code but don't have any ideas as to what to make, let me > know. I have some things I would like to see in the OS but not the time to > go at it myself for now. > > All help is welcome. > > John > ----- Original Message ----- > From: Sebastian Kulesz > Sent: 02/04/13 03:18 PM > To: mailing list for gambas users > Subject: Re: [Gambas-user] Need Gambas3 Made Apps. > > You might want to take a look at https://launchpad.net/mundus I started > it about an year ago, it's an app to clean your home folder from unneeded > configuration files. It has a PPA available, it might make things easier. > Do you have a website for that distro? Where can i read about it? > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From vuott at ...152... Wed Feb 6 16:04:34 2013 From: vuott at ...152... (vuott at ...152...) Date: Wed, 6 Feb 2013 16:04:34 +0100 (CET) Subject: [Gambas-user] Function and Printers Message-ID: <31168270.40091360163074142.JavaMail.defaultUser@...1910...> Hello, is there a Gambas function that returns an array about the printers on my system ? Regards vuottt 100 Foto a solo 1 ? su Tiscali Photo Offerta valida per un periodo limitato per i nuovi iscritti sui formati 10x. From rainbof at ...626... Wed Feb 6 16:10:02 2013 From: rainbof at ...626... (Ondrej Beranek) Date: Wed, 6 Feb 2013 16:10:02 +0100 Subject: [Gambas-user] Function and Printers In-Reply-To: <31168270.40091360163074142.JavaMail.defaultUser@...1910...> References: <31168270.40091360163074142.JavaMail.defaultUser@...1910...> Message-ID: na nyxu je primo sekce 2013/2/6 vuott at ...152... > Hello, > > is there a Gambas function that returns an array about the printers on my > system ? > > Regards > vuottt > > 100 Foto a solo 1 ? su Tiscali Photo > Offerta valida per un periodo limitato per i nuovi iscritti sui formati > 10x. > > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Wed Feb 6 16:20:05 2013 From: taboege at ...626... (Tobias Boege) Date: Wed, 6 Feb 2013 16:20:05 +0100 Subject: [Gambas-user] Function and Printers In-Reply-To: <31168270.40091360163074142.JavaMail.defaultUser@...1910...> References: <31168270.40091360163074142.JavaMail.defaultUser@...1910...> Message-ID: <20130206152005.GB772@...2774...> On Wed, 06 Feb 2013, vuott at ...152... wrote: > Hello, > > is there a Gambas function that returns an array about the printers on my system ? > > Regards > vuottt Maybe: Dir("/dev", "lp*") Regards, Tobi From sebikul at ...626... Wed Feb 6 17:28:37 2013 From: sebikul at ...626... (Sebastian Kulesz) Date: Wed, 6 Feb 2013 13:28:37 -0300 Subject: [Gambas-user] gb.web In-Reply-To: <1360120091.74300.YahooMailNeo@...3084...> References: <1360120091.74300.YahooMailNeo@...3084...> Message-ID: On Wed, Feb 6, 2013 at 12:08 AM, Mike Crean wrote: > > Hi all, > > Anyone have some simple example code > for web page creation or control with Gambas 3 gb.web > > I would like to get serial data from an > Arduino and display it on a HTML web page. > > Regards > Mike > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Take a look at [0]. It should help you get started with it. [0] https://sourceforge.net/p/gambas/code/5537/tree/gambas/trunk/app/src/gb.wiki/.src/ From eilert-sprachen at ...221... Wed Feb 6 18:13:30 2013 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Wed, 06 Feb 2013 18:13:30 +0100 Subject: [Gambas-user] Function and Printers In-Reply-To: References: <31168270.40091360163074142.JavaMail.defaultUser@...1910...> Message-ID: <51128F3A.2040608@...221...> Am 06.02.2013 16:10, schrieb Ondrej Beranek: > na nyxu je primo sekce Genau, vor allem mittwochs :-) Sorry, couldn't resist... Rolf > > 2013/2/6 vuott at ...152... > >> Hello, >> >> is there a Gambas function that returns an array about the printers on my >> system ? >> >> Regards >> vuottt >> >> 100 Foto a solo 1 ? su Tiscali Photo >> Offerta valida per un periodo limitato per i nuovi iscritti sui formati >> 10x. >> >> >> ------------------------------------------------------------------------------ >> Free Next-Gen Firewall Hardware Offer >> Buy your Sophos next-gen firewall before the end March 2013 >> and get the hardware for free! Learn more. >> http://p.sf.net/sfu/sophos-d2d-feb >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From konaexpress at ...178... Wed Feb 6 18:21:18 2013 From: konaexpress at ...178... (John) Date: Wed, 06 Feb 2013 12:21:18 -0500 Subject: [Gambas-user] Need Gambas3 Made Apps. Message-ID: <20130206172118.319010@...1858...> Hi and thanks for the reply, Thankfully not to much will be needed in the way of apps for GambOS to get it out the door. It is intended to get the Gambas IDE into programmers hands with the least amount of frustration involved. No downloading the IDE or runtime, no compiling the IDE or runtime and no out of date dependencies to deal with. So some simple apps like a calculator, text editor, terminal and apps to replace the default apps would be great. Maybe some small apps that programmers would like to use like an internet radio player or things like that. In the future I would like to see a first run setup wizard and an installer for the OS like what was found in Pardus before it died. As I am not a real programmer but a hobbyist, it is hard for me to say what a programmer will like to see and use in the OS. Please do not think less of me for this, it was never my intent to make this OS but to make an end user OS with the runtime only installed for home use so that users could run Gambas made apps with out all the frustration involved. I ran into this myself for many months. The members in our forum talked me into making GambOS and putting Orca on the back burner for now, can?t have an OS without apps. One app I would like to see for the Orca Project is a way to take a snapshot of the installed OS and make a remaster of it. Many users on the internet are wanting to make their own OS for various reasons, medical, schools and hobby user groups. This would help build a foundation of Linux OS?s with the Gambas runtime preinstalled. Unfortunately Gambas is not a high priority for most of the big distros so we need to look out for our selves. Another app I would like to see is a way to package programs that are not made with Gambas into .deb packages. One of the biggest needs for any OS is packaging of apps and making it as easy as possible for new and enthusiastic users to help out is key as I see it. Don?t ever ask users to help the distro grow and not give them the tools to do it. So in the end, what would you as a programmer would like to see in an OS and what would your mother, wife, kids like to see in and OS? Thanks for any help and support. John P.S. I do have one small pet project that deals with Conky if anyone would be interested in helping out with. ----- Original Message ----- From: Fabien Bodard Sent: 02/06/13 12:04 AM To: mailing list for gambas users Subject: Re: [Gambas-user] Need Gambas3 Made Apps. Hi, John... please tell here what are your hurry needs ! From gambas at ...1... Wed Feb 6 19:29:04 2013 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Wed, 06 Feb 2013 19:29:04 +0100 Subject: [Gambas-user] Function and Printers In-Reply-To: <31168270.40091360163074142.JavaMail.defaultUser@...1910...> References: <31168270.40091360163074142.JavaMail.defaultUser@...1910...> Message-ID: <5112A0F0.9070900@...1...> Le 06/02/2013 16:04, vuott at ...152... a ?crit : > Hello, > > is there a Gambas function that returns an array about the printers on my system ? > > Regards > vuottt > > 100 Foto a solo 1 ? su Tiscali Photo > Offerta valida per un periodo limitato per i nuovi iscritti sui formati 10x. > This is something missing. But it can be implemented in gb.qt4 and gb.gtk (the needed API exists in both toolkits). Regards, -- Beno?t Minisini From willy at ...2734... Wed Feb 6 19:15:50 2013 From: willy at ...2734... (Willy Raets) Date: Wed, 06 Feb 2013 19:15:50 +0100 Subject: [Gambas-user] Need Gambas3 Made Apps. In-Reply-To: References: <20130205182745.319010@...1858...> Message-ID: <1360174550.3049.12.camel@...3024...> On Wed, 2013-02-06 at 09:04 +0100, Fabien Bodard wrote: > Hi, John... please tell here what are your hurry needs ! Hi Fabien, Since John hasn't replied yet I'll try to explain. We will take a standard distro and strip if from a lot of applications to make it light weight. We'll have Gambas3 pre installed on the distro and some guides in pdf sitting on the desktop. Next to the Software Center where you can install all common application it will have a separate Gambas3 software center (see project ShowCase) and a Gambas3 application repository. >From here Gambas3 applications can be installed directly on the distro (think point of view of an end user). Next we will try to replace applications present on the distro by Gambas3 applications. These applications will of course be pre-installed on the distro replacing the original ones and will also be in the ShowCase (Gambas3 Software Center so to speak) So we would like: - Gambas3 Calculator - Gambas3 Text Editor - Gambas3 Image Viewer - Gambas3 Pdf Viewer - Gambas3 Webbrowser - Gambas3 MoviePlayer and such.. They need to be GNU Version 3 licensed. Developers of the application will of course be mentioned as contributors in the GambOS project. Any questions, just post them.. Willy > > > 2013/2/5 John > > > Hi and thanks for the reply... > > > > You will have to forgive me, the page for GambOS is not up yet but the > > domain is. I am a graphics guy so doing all the heavy lifting with the OS > > and trying to learn programming at the same time is killing me time wise. > > We do have an alpha of the OS up for download and testing and hope to get > > an alpha 3 out with some Gambas3 made apps in it to play with. > > > > I look forward to seeing what you guys can make and do with the Gambas > > IDE. If you can code but don't have any ideas as to what to make, let me > > know. I have some things I would like to see in the OS but not the time to > > go at it myself for now. > > > > All help is welcome. > > > > John > > ----- Original Message ----- > > From: Sebastian Kulesz > > Sent: 02/04/13 03:18 PM > > To: mailing list for gambas users > > Subject: Re: [Gambas-user] Need Gambas3 Made Apps. > > > > You might want to take a look at https://launchpad.net/mundus I started > > it about an year ago, it's an app to clean your home folder from unneeded > > configuration files. It has a PPA available, it might make things easier. > > Do you have a website for that distro? Where can i read about it? > > > > ------------------------------------------------------------------------------ > > Free Next-Gen Firewall Hardware Offer > > Buy your Sophos next-gen firewall before the end March 2013 > > and get the hardware for free! Learn more. > > http://p.sf.net/sfu/sophos-d2d-feb > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > -- Met vriendelijke groeten/ With kind regards, Willy Raets, Voorzitter/chairman, Earthship Belgium vzw. Nederlandse website: http://www.earthshipbelgium.be/nl.html English Website: http://www.earthshipbelgium.be/en.html From taboege at ...626... Wed Feb 6 21:15:16 2013 From: taboege at ...626... (Tobias Boege) Date: Wed, 6 Feb 2013 21:15:16 +0100 Subject: [Gambas-user] Need Gambas3 Made Apps. In-Reply-To: <1360174550.3049.12.camel@...3024...> References: <20130205182745.319010@...1858...> <1360174550.3049.12.camel@...3024...> Message-ID: <20130206201516.GE772@...2774...> On Wed, 06 Feb 2013, Willy Raets wrote: > On Wed, 2013-02-06 at 09:04 +0100, Fabien Bodard wrote: > > Hi, John... please tell here what are your hurry needs ! > > Hi Fabien, > > Since John hasn't replied yet I'll try to explain. > We will take a standard distro and strip if from a lot of applications > to make it light weight. We'll have Gambas3 pre installed on the distro and some guides in pdf sitting on the desktop. > Next to the Software Center where you can install all common application it will have a separate Gambas3 software center (see project ShowCase) and a Gambas3 application repository. > >From here Gambas3 applications can be installed directly on the distro (think point of view of an end user). > > Next we will try to replace applications present on the distro by Gambas3 applications. > These applications will of course be pre-installed on the distro replacing the original ones and will also be in the ShowCase (Gambas3 Software Center so to speak) > > So we would like: > - Gambas3 Calculator > - Gambas3 Text Editor > - Gambas3 Image Viewer > - Gambas3 Pdf Viewer > - Gambas3 Webbrowser > - Gambas3 MoviePlayer > and such.. > > They need to be GNU Version 3 licensed. > Developers of the application will of course be mentioned as contributors in the GambOS project. > > Any questions, just post them.. Hmm. I want to add some point for consideration: What do you want to do exactly again? I mean: you talk about "end users" as your target group but who would use GambOS/Orca? End users supposedly don't want the software they're accustomed to being replaced by unknown software from a small community (which indicates that it is most probably not widely tested). At least I wouldn't change my preferred, customised editor (etc.) for some other one (after all there's a reason why it is my _preferred_ editor). It would take lots of time to replace, e.g. Firefox with its features by a "WaterGambas" surrogate browser or suchlike - without any use in it because the software was already there and the user doesn't really care about the name or programming language it was written in. Now, if it's a distribution for (beginning) Gambas programmers specifically, I would rather call it a _research project_ among the Gambas user community and then you should try to replace as much as you can by software written in Gambas whose sources can be as easily downloaded as their binaries installed. This seems to be your actual goal to me. (At least that's the kind of project I would see a sense in.) And: Don't be so pathetic. You don't need to be a guru to install Gambas ;-P Regards, Tobi From willy at ...2734... Wed Feb 6 21:30:58 2013 From: willy at ...2734... (Willy Raets) Date: Wed, 06 Feb 2013 21:30:58 +0100 Subject: [Gambas-user] Need Gambas3 Made Apps. In-Reply-To: <20130206201516.GE772@...2774...> References: <20130205182745.319010@...1858...> <1360174550.3049.12.camel@...3024...> <20130206201516.GE772@...2774...> Message-ID: <1360182658.3049.17.camel@...3024...> On Wed, 2013-02-06 at 21:15 +0100, Tobias Boege wrote: > On Wed, 06 Feb 2013, Willy Raets wrote: > > On Wed, 2013-02-06 at 09:04 +0100, Fabien Bodard wrote: > > > Hi, John... please tell here what are your hurry needs ! > > > > Hi Fabien, > > > > Since John hasn't replied yet I'll try to explain. > > We will take a standard distro and strip if from a lot of applications > > to make it light weight. We'll have Gambas3 pre installed on the distro and some guides in pdf sitting on the desktop. > > Next to the Software Center where you can install all common application it will have a separate Gambas3 software center (see project ShowCase) and a Gambas3 application repository. > > >From here Gambas3 applications can be installed directly on the distro (think point of view of an end user). > > > > Next we will try to replace applications present on the distro by Gambas3 applications. > > These applications will of course be pre-installed on the distro replacing the original ones and will also be in the ShowCase (Gambas3 Software Center so to speak) > > > > So we would like: > > - Gambas3 Calculator > > - Gambas3 Text Editor > > - Gambas3 Image Viewer > > - Gambas3 Pdf Viewer > > - Gambas3 Webbrowser > > - Gambas3 MoviePlayer > > and such.. > > > > They need to be GNU Version 3 licensed. > > Developers of the application will of course be mentioned as contributors in the GambOS project. > > > > Any questions, just post them.. > > Hmm. I want to add some point for consideration: What do you want to do > exactly again? > > I mean: you talk about "end users" as your target group but who would use > GambOS/Orca? End users supposedly don't want the software they're accustomed > to being replaced by unknown software from a small community (which > indicates that it is most probably not widely tested). > > At least I wouldn't change my preferred, customised editor (etc.) for some > other one (after all there's a reason why it is my _preferred_ editor). > > It would take lots of time to replace, e.g. Firefox with its features by a > "WaterGambas" surrogate browser or suchlike - without any use in it because > the software was already there and the user doesn't really care about the > name or programming language it was written in. > > Now, if it's a distribution for (beginning) Gambas programmers specifically, > I would rather call it a _research project_ among the Gambas user community > and then you should try to replace as much as you can by software written in > Gambas whose sources can be as easily downloaded as their binaries > installed. This seems to be your actual goal to me. > (At least that's the kind of project I would see a sense in.) I was talking about GambOS and GambOS is aimed at beginning developers with Gambas IDE pre installed and some manuals to learn Gambas. The applications mentioned above are mainly meant to show the beginning developers what can be done with Gambas. Show its functionality, that you can browse the web with a Gambas application and such.. Orca project aims and end users, but I have no idea about what the plans there are exactly software wise, I can only talk for the GambOS part. > > And: Don't be so pathetic. You don't need to be a guru to install Gambas ;-P > Regards, > Tobi Willy From jussi.lahtinen at ...626... Wed Feb 6 21:35:31 2013 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 6 Feb 2013 22:35:31 +0200 Subject: [Gambas-user] Need Gambas3 Made Apps. In-Reply-To: <20130206201516.GE772@...2774...> References: <20130205182745.319010@...1858...> <1360174550.3049.12.camel@...3024...> <20130206201516.GE772@...2774...> Message-ID: > Hmm. I want to add some point for consideration: What do you want to do > exactly again? > > I mean: you talk about "end users" as your target group but who would use > GambOS/Orca? End users supposedly don't want the software they're > accustomed > to being replaced by unknown software from a small community (which > indicates that it is most probably not widely tested). > > At least I wouldn't change my preferred, customised editor (etc.) for some > other one (after all there's a reason why it is my _preferred_ editor). > > It would take lots of time to replace, e.g. Firefox with its features by a > "WaterGambas" surrogate browser or suchlike - without any use in it because > the software was already there and the user doesn't really care about the > name or programming language it was written in. > > Now, if it's a distribution for (beginning) Gambas programmers > specifically, > I would rather call it a _research project_ among the Gambas user community > and then you should try to replace as much as you can by software written > in > Gambas whose sources can be as easily downloaded as their binaries > installed. This seems to be your actual goal to me. > (At least that's the kind of project I would see a sense in.) > > And: Don't be so pathetic. You don't need to be a guru to install Gambas > ;-P > Though, it would be great to have everything made with Gambas. I think then programs would be corrected/repaired faster and be more easily customizable... etc. Jussi From taboege at ...626... Wed Feb 6 21:38:03 2013 From: taboege at ...626... (Tobias Boege) Date: Wed, 6 Feb 2013 21:38:03 +0100 Subject: [Gambas-user] Need Gambas3 Made Apps. In-Reply-To: <1360182658.3049.17.camel@...3024...> References: <20130205182745.319010@...1858...> <1360174550.3049.12.camel@...3024...> <20130206201516.GE772@...2774...> <1360182658.3049.17.camel@...3024...> Message-ID: <20130206203803.GF772@...2774...> > > Hmm. I want to add some point for consideration: What do you want to do > > exactly again? > > > > I mean: you talk about "end users" as your target group but who would use > > GambOS/Orca? End users supposedly don't want the software they're accustomed > > to being replaced by unknown software from a small community (which > > indicates that it is most probably not widely tested). > > > > At least I wouldn't change my preferred, customised editor (etc.) for some > > other one (after all there's a reason why it is my _preferred_ editor). > > > > It would take lots of time to replace, e.g. Firefox with its features by a > > "WaterGambas" surrogate browser or suchlike - without any use in it because > > the software was already there and the user doesn't really care about the > > name or programming language it was written in. > > > > Now, if it's a distribution for (beginning) Gambas programmers specifically, > > I would rather call it a _research project_ among the Gambas user community > > and then you should try to replace as much as you can by software written in > > Gambas whose sources can be as easily downloaded as their binaries > > installed. This seems to be your actual goal to me. > > (At least that's the kind of project I would see a sense in.) > > I was talking about GambOS and GambOS is aimed at beginning developers > with Gambas IDE pre installed and some manuals to learn Gambas. > > The applications mentioned above are mainly meant to show the beginning > developers what can be done with Gambas. Show its functionality, that > you can browse the web with a Gambas application and such.. > > Orca project aims and end users, but I have no idea about what the plans > there are exactly software wise, I can only talk for the GambOS part. > Ah well, good to know the difference. Hans will probably dig into our project archives next week to look for some tools for you. Regards, Tobi From willy at ...2734... Wed Feb 6 21:40:11 2013 From: willy at ...2734... (Willy Raets) Date: Wed, 06 Feb 2013 21:40:11 +0100 Subject: [Gambas-user] Need Gambas3 Made Apps. In-Reply-To: <20130206201516.GE772@...2774...> References: <20130205182745.319010@...1858...> <1360174550.3049.12.camel@...3024...> <20130206201516.GE772@...2774...> Message-ID: <1360183211.3049.25.camel@...3024...> On Wed, 2013-02-06 at 21:15 +0100, Tobias Boege wrote: > On Wed, 06 Feb 2013, Willy Raets wrote: > > On Wed, 2013-02-06 at 09:04 +0100, Fabien Bodard wrote: > > > Hi, John... please tell here what are your hurry needs ! > > > > Hi Fabien, > > > > Since John hasn't replied yet I'll try to explain. > > We will take a standard distro and strip if from a lot of applications > > to make it light weight. We'll have Gambas3 pre installed on the distro and some guides in pdf sitting on the desktop. > > Next to the Software Center where you can install all common application it will have a separate Gambas3 software center (see project ShowCase) and a Gambas3 application repository. > > >From here Gambas3 applications can be installed directly on the distro (think point of view of an end user). > > > > Next we will try to replace applications present on the distro by Gambas3 applications. > > These applications will of course be pre-installed on the distro replacing the original ones and will also be in the ShowCase (Gambas3 Software Center so to speak) > > > > So we would like: > > - Gambas3 Calculator > > - Gambas3 Text Editor > > - Gambas3 Image Viewer > > - Gambas3 Pdf Viewer > > - Gambas3 Webbrowser > > - Gambas3 MoviePlayer > > and such.. > > > > They need to be GNU Version 3 licensed. > > Developers of the application will of course be mentioned as contributors in the GambOS project. > > > > Any questions, just post them.. > > Hmm. I want to add some point for consideration: What do you want to do > exactly again? > > I mean: you talk about "end users" as your target group but who would use > GambOS/Orca? About the end users: Target group of the ShowCase application are End Users. It will be a kind of Gambas3 software center for Gambas3 applications that can be easily installed (like click a button and provide a password and yes it installs). And it will be mainly for Orca, but will be used in GambOS as well. And Orca aims at end users and so does ShowCase. But I'm thinking about a SourceCase as well (ShowCase spin off), that does the same but with source packages to be downloaded instead of applications installed. That would be aimed at developers and be a of good use pre installed on GambOS. But both GambOS and ShowCase are in Alpha stage so the SourceCase might have to wait for a while... Willy From lists at ...2828... Wed Feb 6 22:07:12 2013 From: lists at ...2828... (Christer Johansson) Date: Wed, 6 Feb 2013 22:07:12 +0100 Subject: [Gambas-user] Shared bcm2835 library for RasPi Message-ID: <000001ce04ad$f7b2da30$0f00a8c0@...2829...> First of all thanks to Mike McCauley for making and sharing the bcm2835 library, _ALL_ credits belongs to him and not me, I just compiled a shared lib version so we can use Mike's great work to access GPIO, SPI ports etc. on the Raspberry Pi to toggle LED's or interface with other hardware! Since I know here are a bunch of other Raspberry Pi owners on this list I just wanted to share the lib with you since it took me a while and some pure luck ;) to figure out how to compile it in GCC... So far I've only used a few of all available functions to control some LED's so if anyone else figure out correct declaration with Gambas3 EXTERN command please share with the list and I will compile it into a readme.txt for upcoming version. Visit Mike's website for more information on parameters etc. http://www.open.com.au/mikem/bcm2835/index.html Installation ------------ 1. Copy "libbcm2835.so" to /usr/local/lib directory and run the following command to install ldconfig 2. Verify with following command that lists all shared libraries. ldconfig -v 3. Declare the functions in Gambas 3 with EXTERN command... Public EXTERN bcm2835_init() As Integer In "libbcm2835" etc... NOTE: You must run your Gambas3 program as root else it won't work! Maybe there are ways to fix this? Again, kudos to Mike McCauley! /CJ -------------- next part -------------- A non-text attachment was scrubbed... Name: bcm2835-1.17_shared_lib.tar.gz Type: application/x-gzip Size: 8964 bytes Desc: not available URL: From konaexpress at ...178... Thu Feb 7 00:21:32 2013 From: konaexpress at ...178... (John) Date: Wed, 06 Feb 2013 18:21:32 -0500 Subject: [Gambas-user] Need Gambas3 Made Apps. Message-ID: <20130206232133.318990@...1858...> Hi, GambOS is targeted at new programmers and possibly new users to Linux. An older Linux user should not have much problem installing Gambas, this is true. It can be a nightmare for a new user though, I know this to be fact or users would not have asked me to make GambOS and we would not have PDF files explaining how to install it. Willy is correct, the idea to replace apps in the OS is to show new programmers what can be done with Gambas. I know that Gambas is a programming language and is a fantastic IDE but I have never seen an app made in it or with it until I started down this road. Look at the repos of the big Linux distros and see how many apps are there that are made with Gambas. How many do you count? Orca is not for programming but for the end user, to get users accustomed to seeing apps made with Gambas and to always have the newest runtime installed so that they can download and use apps made with Gambas. Why else would some one learn to program if not to have users use their apps. I speak from experience when I say that it is heartbreaking to make your first small app and then find out that no one can use it or install it. To make an app that people wanted but they ask you to reprogram it in another language because they read somewhere or heard from some one that Gambas is not a good language to use or that it is a dead project. I almost gave up learning to program then and there........ Gambas is a great language and I want to make it easier for users to learn to program with it and and get non programers used to seeing and using Gambas made apps. John ----- Original Message ----- From: Tobias Boege Sent: 02/06/13 12:15 PM To: willy at ...2734..., mailing list for gambas users Subject: Re: [Gambas-user] Need Gambas3 Made Apps. On Wed, 06 Feb 2013, Willy Raets wrote: > On Wed, 2013-02-06 at 09:04 +0100, Fabien Bodard wrote: > > Hi, John... please tell here what are your hurry needs ! > > Hi Fabien, > > Since John hasn't replied yet I'll try to explain. > We will take a standard distro and strip if from a lot of applications > to make it light weight. We'll have Gambas3 pre installed on the distro and some guides in pdf sitting on the desktop. > Next to the Software Center where you can install all common application it will have a separate Gambas3 software center (see project ShowCase) and a Gambas3 application repository. > >From here Gambas3 applications can be installed directly on the distro (think point of view of an end user). > > Next we will try to replace applications present on the distro by Gambas3 applications. > These applications will of course be pre-installed on the distro replacing the original ones and will also be in the ShowCase (Gambas3 Software Center so to speak) > > So we would like: > - Gambas3 Calculator > - Gambas3 Text Editor > - Gambas3 Image Viewer > - Gambas3 Pdf Viewer > - Gambas3 Webbrowser > - Gambas3 MoviePlayer > and such.. > > They need to be GNU Version 3 licensed. > Developers of the application will of course be mentioned as contributors in the GambOS project. > > Any questions, just post them.. Hmm. I want to add some point for consideration: What do you want to do exactly again? I mean: you talk about "end users" as your target group but who would use GambOS/Orca? End users supposedly don't want the software they're accustomed to being replaced by unknown software from a small community (which indicates that it is most probably not widely tested). At least I wouldn't change my preferred, customised editor (etc.) for some other one (after all there's a reason why it is my _preferred_ editor). It would take lots of time to replace, e.g. Firefox with its features by a "WaterGambas" surrogate browser or suchlike - without any use in it because the software was already there and the user doesn't really care about the name or programming language it was written in. Now, if it's a distribution for (beginning) Gambas programmers specifically, I would rather call it a _research project_ among the Gambas user community and then you should try to replace as much as you can by software written in Gambas whose sources can be as easily downloaded as their binaries installed. This seems to be your actual goal to me. (At least that's the kind of project I would see a sense in.) And: Don't be so pathetic. You don't need to be a guru to install Gambas ;-P Regards, Tobi ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From rterry at ...1823... Thu Feb 7 00:52:35 2013 From: rterry at ...1823... (Richard Terry) Date: Thu, 07 Feb 2013 10:52:35 +1100 Subject: [Gambas-user] Function and Printers In-Reply-To: References: <31168270.40091360163074142.JavaMail.defaultUser@...1910...> Message-ID: <5112ECC3.9010809@...1823...> Ondrej Beranek wrote: > na nyxu je primo sekce > > 2013/2/6 vuott at ...152... > > >> Hello, >> >> is there a Gambas function that returns an array about the printers on my >> system ? >> Don't know but if you get no simple positive reply to this I can send you a Function that uses lpstat and cups to return a string array of printers. Regards richard >> Regards >> vuottt >> >> 100 Foto a solo 1 ? su Tiscali Photo >> Offerta valida per un periodo limitato per i nuovi iscritti sui formati >> 10x. >> >> >> ------------------------------------------------------------------------------ >> Free Next-Gen Firewall Hardware Offer >> Buy your Sophos next-gen firewall before the end March 2013 >> and get the hardware for free! Learn more. >> http://p.sf.net/sfu/sophos-d2d-feb >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From vuott at ...152... Thu Feb 7 01:14:01 2013 From: vuott at ...152... (vuott at ...152...) Date: Thu, 7 Feb 2013 01:14:01 +0100 (CET) Subject: [Gambas-user] R: Re: Function and Printers Message-ID: <31926368.195801360196041549.JavaMail.defaultUser@...1910...> >Don't know but if you get no simple positive reply to this I can send >you a Function that uses lpstat and cups to return a string array of >printers. >Regards >richard Thank you, Richard, but actually I wrote for me a little simple function only with Gambas methods: Public Sub Button1_Click() Dim stampante As String For Each stampante In Dir("/etc/cups/ppd/", "*.ppd").Sort() Print File.BaseName(stampante) Next End However, Richard, thanks. bye vuott 100 Foto a solo 1 ? su Tiscali Photo Offerta valida per un periodo limitato per i nuovi iscritti sui formati 10x. From gambas at ...2524... Thu Feb 7 05:29:22 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 07 Feb 2013 04:29:22 +0000 Subject: [Gambas-user] Issue 402 in gambas: String charset is screwed up if the MySQL connection is temporary lost In-Reply-To: <0-6813199134517018827-7236476461003379365-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-7236476461003379365-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-7236476461003379365-gambas=googlecode.com@...2524...> Comment #1 on issue 402 by uAle... at ...626...: String charset is screwed up if the MySQL connection is temporary lost http://code.google.com/p/gambas/issues/detail?id=402 @Benoit: Ok, i know how to fix the problem. First why it happens in gambas: - When gambas opens the connection, it does a "set names 'utf8'" to set the characterset. - gambas also sets the option to automatically reconnect "MYSQL_OPT_RECONNECT" - Only if a reconnect happens, the "set names 'utf8'" setting on this connection is gone The fix is in the file "gb.db.mysql/src/main.c" as follows in the function: static int do_query(DB_DATABASE *db, const char *error, MYSQL_RES **pres, const char *qtemp, int nsubst, ...) Add the following lines: unsigned long thread_id; thread_id = mysql_thread_id(conn); mysql_ping(conn); if ( mysql_thread_id(conn) != thread_id ) { // Connection has been reestablished, set utf8 again mysql_query(conn, "set names 'utf8'"); } Just before the "real query": if(mysql_query(conn, query)){ This fixes the problem nicely :-):-):-) Reference info: http://dev.mysql.com/doc/refman/5.0/en/auto-reconnect.html http://dev.mysql.com/doc/refman/5.0/en/mysql-ping.html http://dev.mysql.com/doc/refman/5.0/en/mysql-thread-id.html Can this fix (or improved by you) be included into gambas? Else people using none us-ascii character can see weird characters if a reconnect happens with MySQL. From bespalov.alexey at ...2736... Thu Feb 7 07:13:11 2013 From: bespalov.alexey at ...2736... (=?koi8-r?B?4sXT0MHMz9cg4czFy9PFyg==?=) Date: Thu, 07 Feb 2013 13:13:11 +0700 Subject: [Gambas-user] [SPAM] Re: Need Gambas3 Made Apps. In-Reply-To: <20130206232133.318990@...1858...> References: <20130206232133.318990@...1858...> Message-ID: <472261360217591@...3085...> Hi. Unfortunately the list of software that you can write on Gambas limited. Gambas to do well windowed interface (catalogs, programs for the account of the money and other). The system utilities, soft for media - possibilities for these are limited in Gambas. But for example, I started doing photo editor. [1]http://gambas.pro/gambas/gfotomanager-%D0%BC%D0%B5%D0%BD%D0%B5%D0%B4%D0%B 6%D0%B5%D1%80-%D1%84%D0%BE%D1%82%D0%BE%D0%B3%D1%80%D0%B0%D1%84%D0%B8%D0%B9-% D0%BD%D0%B0-gambas.htm#more-4221 As a result, encountered problems when opening a large number of files or large files. I do not think will be created on a Gambas program more efficiently than in C and Python. But the shared repository and examples on Gambas think would be in great demand! Excuse my English. -- _________ Sincerely, Alexei Bespalov. References 1. http://gambas.pro/gambas/gfotomanager-%D0%BC%D0%B5%D0%BD%D0%B5%D0%B4%D0%B6%D0%B5%D1%80-%D1%84%D0%BE%D1%82%D0%BE%D0%B3%D1%80%D0%B0%D1%84%D0%B8%D0%B9-%D0%BD%D0%B0-gambas.htm#more-4221 From bespalov.alexey at ...2736... Thu Feb 7 07:23:58 2013 From: bespalov.alexey at ...2736... (=?koi8-r?B?4sXT0MHMz9cg4czFy9PFyg==?=) Date: Thu, 07 Feb 2013 13:23:58 +0700 Subject: [Gambas-user] [SPAM] Re: Need Gambas3 Made Apps. Message-ID: <486931360218238@...3085...> Hi. Unfortunately the list of software that you can write on Gambas limited. Gambas to do well windowed interface (catalogs, programs for the account of the money and other). The system utilities, soft for media - possibilities for these are limited in Gambas. But for example, I started doing photo editor. [1]http://gambas.pro/ Go on Link OUR PROJECTS As a result, encountered problems when opening a large number of files or large files. I do not think will be created on a Gambas program more efficiently than in C and Python. But the shared repository and examples on Gambas think would be in great demand! Excuse my English. _________ Sincerely, Alexei Bespalov. References 1. http://gambas.pro/ From gambas.fr at ...626... Thu Feb 7 08:35:24 2013 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 7 Feb 2013 08:35:24 +0100 Subject: [Gambas-user] [SPAM] Re: Need Gambas3 Made Apps. In-Reply-To: <486931360218238@...3085...> References: <486931360218238@...3085...> Message-ID: i can do the calculator :) ... 2013/2/7 ???????? ??????? > > Hi. > Unfortunately the list of software that you can write on Gambas limited. > Gambas to do well windowed interface (catalogs, programs for the > account of > the money and other). > The system utilities, soft for media - possibilities for these are > limited > in Gambas. > But for example, I started doing photo editor. > [1]http://gambas.pro/ > Go on Link OUR PROJECTS > As a result, encountered problems when opening a large number of files > or > large files. > I do not think will be created on a Gambas program more efficiently > than in > C and Python. > But the shared repository and examples on Gambas think would be in great > demand! > Excuse my English. > > _________ > > Sincerely, Alexei Bespalov. > > References > > 1. http://gambas.pro/ > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > 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... Thu Feb 7 09:11:31 2013 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 7 Feb 2013 09:11:31 +0100 Subject: [Gambas-user] [SPAM] Re: Need Gambas3 Made Apps. In-Reply-To: <486931360218238@...3085...> References: <486931360218238@...3085...> Message-ID: 2013/2/7 ???????? ??????? > > Hi. > Unfortunately the list of software that you can write on Gambas limited. > Gambas to do well windowed interface (catalogs, programs for the > account of > the money and other). > The system utilities, soft for media - possibilities for these are > limited > in Gambas. > limited to what...? the only difficulties is on fat calculation... for graphical process or hard math or physical calculation. The only limit for other things is your imagination. And you programming technic too. After 10 year on Gambas i'm always impressive about all we have been able to do with this language. And i've not explored all it's possibilities for now. But yes gambas need more and more libs. So more and more dev for that. But for example, I started doing photo editor. > [1]http://gambas.pro/ > Go on Link OUR PROJECTS > As a result, encountered problems when opening a large number of files > or > large files. > I do not think will be created on a Gambas program more efficiently > than in > C and Python. > Gambas can do the same as python for files ... but gambas is not C. it's an interpreted language > But the shared repository and examples on Gambas think would be in great > demand! > Excuse my English. > > _________ > > Sincerely, Alexei Bespalov. > > References > > 1. http://gambas.pro/ > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From taboege at ...626... Thu Feb 7 15:59:11 2013 From: taboege at ...626... (Tobias Boege) Date: Thu, 7 Feb 2013 15:59:11 +0100 Subject: [Gambas-user] Need Gambas3 Made Apps. In-Reply-To: <486931360218238@...3085...> References: <486931360218238@...3085...> Message-ID: <20130207145911.GA520@...2774...> On Thu, 07 Feb 2013, ???????? ??????? wrote: > > Hi. > Unfortunately the list of software that you can write on Gambas limited. > Gambas to do well windowed interface (catalogs, programs for the account of > the money and other). > The system utilities, soft for media - possibilities for these are limited > in Gambas. You have access to the libc and everything else using EXTERN, you've got the SHELL instruction... I can't imagine a system program you cannot rewrite in Gambas with these methods. Bringing components into the picture, the Gambas source code tends to be less complex anyway. About soft(ware?) for media (streams?), that's a point I would support: I'm not aware of easy methods for bit-fiddling or using SIMD, etc. like one can do it with gcc intrinsics. If there a library for it (I don't know) this could be a target for a component. > But for example, I started doing photo editor. > [1]http://gambas.pro/ > Go on Link OUR PROJECTS > As a result, encountered problems when opening a large number of files or > large files. That clearly depends on _how_ you use the files. This is the same with all programming languages: Never read a file into memory for processing it but use a Stream instead. The number of files opened and their size should not matter then. Regards, Tobi From konaexpress at ...178... Thu Feb 7 16:38:34 2013 From: konaexpress at ...178... (John) Date: Thu, 07 Feb 2013 10:38:34 -0500 Subject: [Gambas-user] [SPAM] Re: Need Gambas3 Made Apps. Message-ID: <20130207153834.262910@...1858...> Hi, nice web site. That photo app looks good, I would like to see it some time. John ----- Original Message ----- From: bespalov.alexey at ...2736... Sent: 02/06/13 10:23 PM To: mailing list for gambas users Subject: [Gambas-user] [SPAM] Re: Need Gambas3 Made Apps. Hi. Unfortunately the list of software that you can write on Gambas limited. Gambas to do well windowed interface (catalogs, programs for the account of the money and other). The system utilities, soft for media - possibilities for these are limited in Gambas. But for example, I started doing photo editor. [1]http://gambas.pro/ Go on Link OUR PROJECTS As a result, encountered problems when opening a large number of files or large files. I do not think will be created on a Gambas program more efficiently than in C and Python. But the shared repository and examples on Gambas think would be in great demand! Excuse my English. _________ Sincerely, Alexei Bespalov. References 1. http://gambas.pro/ ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From konaexpress at ...178... Thu Feb 7 16:39:31 2013 From: konaexpress at ...178... (John) Date: Thu, 07 Feb 2013 10:39:31 -0500 Subject: [Gambas-user] [SPAM] Re: Need Gambas3 Made Apps. Message-ID: <20130207153931.262890@...1858...> That would be great! ----- Original Message ----- From: Fabien Bodard Sent: 02/06/13 11:35 PM To: mailing list for gambas users Subject: Re: [Gambas-user] [SPAM] Re: Need Gambas3 Made Apps. i can do the calculator :) ... From eilert-sprachen at ...221... Thu Feb 7 17:36:12 2013 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Thu, 07 Feb 2013 17:36:12 +0100 Subject: [Gambas-user] Need Gambas3 Made Apps. In-Reply-To: <20130207145911.GA520@...2774...> References: <486931360218238@...3085...> <20130207145911.GA520@...2774...> Message-ID: <5113D7FC.6090403@...221...> Hi Tobias, following your thread, I found > About soft(ware?) for media (streams?), that's a point I would support: I'm > not aware of easy methods for bit-fiddling or using SIMD, etc. like one can > do it with gcc intrinsics. If there a library for it (I don't know) this > could be a target for a component. But one could write the functions in C or C++ and include them as a library. At the end of the day, there is an end user who wants to use the functionality, not the functions. I simply wondered about what you said here, so I'm curious: > That clearly depends on _how_ you use the files. This is the same with all > programming languages: Never read a file into memory for processing it but > use a Stream instead. The number of files opened and their size should not > matter then. > I must confess, this is the first time I've heared about this. Could you explain, where is the difference and how do I manage the data in the file then? A pointer to the bytes? And how do I read/write while working on the data? (I'm thinking of picture manipulation or a video cutting program, real big data, not a text file of course, or did I get you wrong here?) Rolf From taboege at ...626... Thu Feb 7 18:16:42 2013 From: taboege at ...626... (Tobias Boege) Date: Thu, 7 Feb 2013 18:16:42 +0100 Subject: [Gambas-user] Need Gambas3 Made Apps. In-Reply-To: <5113D7FC.6090403@...221...> References: <486931360218238@...3085...> <20130207145911.GA520@...2774...> <5113D7FC.6090403@...221...> Message-ID: <20130207171642.GB520@...2774...> On Thu, 07 Feb 2013, Rolf-Werner Eilert wrote: > Hi Tobias, > > following your thread, I found > > > About soft(ware?) for media (streams?), that's a point I would > support: I'm > > not aware of easy methods for bit-fiddling or using SIMD, etc. like > one can > > do it with gcc intrinsics. If there a library for it (I don't know) this > > could be a target for a component. > > But one could write the functions in C or C++ and include them as a > library. At the end of the day, there is an end user who wants to use > the functionality, not the functions. > > > I simply wondered about what you said here, so I'm curious: > > > That clearly depends on _how_ you use the files. This is the same with all > > programming languages: Never read a file into memory for processing it but > > use a Stream instead. The number of files opened and their size should not > > matter then. > > > > I must confess, this is the first time I've heared about this. Could you > explain, where is the difference and how do I manage the data in the > file then? A pointer to the bytes? And how do I read/write while working > on the data? (I'm thinking of picture manipulation or a video cutting > program, real big data, not a text file of course, or did I get you > wrong here?) You can apply this concept to text files, too. A common example is to parse a configuration file. Normally, these contain line-oriented, human readable data on Unices. You can equally easily use Split(File.Load("config"), "\n") and LINE INPUT to process lines individually but the stream thing is much superior from a memory point of view: The first methods loads the entire file at once and splits it into an array of lines, which temporarily leaves the entire file in memory twice. Once in the array, once in the return value of File.Load() which is subsequently freed. Using LINE INPUT you keep a line at a time in memory. Less memory usage means less swap usage, etc.. It is a different thing when the underlying mechanisms use mmap() to map a file into memory which does not appear to be the case for File.Load(). How you use streams to process your data depends on the data. gbx3 uses mmap() to load executable Gambas archives[0]. These are uncompressed archives and so the interpreter can examine the header of that archive to find the files it needs. The file is perhaps not completely loaded in one particular execution of the program but only the needed parts. (I only glanced at the sources. Benoit knows this for sure.) Regards, Tobi [0] http://gambasdoc.org/help/doc/arch?v3 From eilert-sprachen at ...221... Thu Feb 7 18:43:16 2013 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Thu, 07 Feb 2013 18:43:16 +0100 Subject: [Gambas-user] Need Gambas3 Made Apps. In-Reply-To: <20130207171642.GB520@...2774...> References: <486931360218238@...3085...> <20130207145911.GA520@...2774...> <5113D7FC.6090403@...221...> <20130207171642.GB520@...2774...> Message-ID: <5113E7B4.5020807@...221...> Am 07.02.2013 18:16, schrieb Tobias Boege: > On Thu, 07 Feb 2013, Rolf-Werner Eilert wrote: >> Hi Tobias, >> >> following your thread, I found >> >> > About soft(ware?) for media (streams?), that's a point I would >> support: I'm >> > not aware of easy methods for bit-fiddling or using SIMD, etc. like >> one can >> > do it with gcc intrinsics. If there a library for it (I don't know) this >> > could be a target for a component. >> >> But one could write the functions in C or C++ and include them as a >> library. At the end of the day, there is an end user who wants to use >> the functionality, not the functions. >> >> >> I simply wondered about what you said here, so I'm curious: >> >>> That clearly depends on _how_ you use the files. This is the same with all >>> programming languages: Never read a file into memory for processing it but >>> use a Stream instead. The number of files opened and their size should not >>> matter then. >>> >> >> I must confess, this is the first time I've heared about this. Could you >> explain, where is the difference and how do I manage the data in the >> file then? A pointer to the bytes? And how do I read/write while working >> on the data? (I'm thinking of picture manipulation or a video cutting >> program, real big data, not a text file of course, or did I get you >> wrong here?) > > You can apply this concept to text files, too. A common example is to parse > a configuration file. Normally, these contain line-oriented, human readable > data on Unices. You can equally easily use Split(File.Load("config"), "\n") > and LINE INPUT to process lines individually but the stream thing is much > superior from a memory point of view: > > The first methods loads the entire file at once and splits it into an array > of lines, which temporarily leaves the entire file in memory twice. Once in > the array, once in the return value of File.Load() which is subsequently > freed. Using LINE INPUT you keep a line at a time in memory. Less memory > usage means less swap usage, etc.. > > It is a different thing when the underlying mechanisms use mmap() to map a > file into memory which does not appear to be the case for File.Load(). > > How you use streams to process your data depends on the data. gbx3 uses > mmap() to load executable Gambas archives[0]. These are uncompressed > archives and so the interpreter can examine the header of that archive to > find the files it needs. The file is perhaps not completely loaded in one > particular execution of the program but only the needed parts. (I only > glanced at the sources. Benoit knows this for sure.) > > Regards, > Tobi > > [0] http://gambasdoc.org/help/doc/arch?v3 > That makes sense to me, though in today's OSs it is a question of how many (small) files I want to browse or how big they are. When I don't have to look into many hundred or thousand files but only a few but for many times, why not make use of the caching mechanism of the file system? But it sounds interesting, I'll have a look at it tomorrow. So thanks a lot for your explanation! Rolf From konaexpress at ...178... Thu Feb 7 23:20:17 2013 From: konaexpress at ...178... (John) Date: Thu, 07 Feb 2013 17:20:17 -0500 Subject: [Gambas-user] Screen Shots of GambOS Message-ID: <20130207222017.262910@...1858...> Here are a few screen shots of GambOS as it is now, enjoy. John http://www.flickr.com/photos/mynetbookos/8453527047/ http://www.flickr.com/photos/mynetbookos/8453527177/ http://www.flickr.com/photos/mynetbookos/8453527287/ http://www.flickr.com/photos/mynetbookos/8454618674/ From emil.lenngren at ...626... Thu Feb 7 23:22:03 2013 From: emil.lenngren at ...626... (Emil Lenngren) Date: Thu, 7 Feb 2013 23:22:03 +0100 Subject: [Gambas-user] Screen Shots of GambOS In-Reply-To: <20130207222017.262910@...1858...> References: <20130207222017.262910@...1858...> Message-ID: Cool ;) 2013/2/7 John > Here are a few screen shots of GambOS as it is now, enjoy. > > John > > http://www.flickr.com/photos/mynetbookos/8453527047/ > http://www.flickr.com/photos/mynetbookos/8453527177/ > http://www.flickr.com/photos/mynetbookos/8453527287/ > http://www.flickr.com/photos/mynetbookos/8454618674/ > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From konaexpress at ...178... Thu Feb 7 23:32:14 2013 From: konaexpress at ...178... (John) Date: Thu, 07 Feb 2013 17:32:14 -0500 Subject: [Gambas-user] Conky Script Manager Message-ID: <20130207223214.262910@...1858...> Hi, Not sure how to ask this question so I will just shoot and hope you understand what I am trying to do. I am making a small app to manage Conky scripts for two reasons, first is to help new users manage their Conky scripts and the second reason is to use this project as example code for new programers. I am wondering what would be the best widget to use to make that center window. I need it to look at a file and list all the text/script files in the file. Here is a link to a screenshot of what I want it to look like so you will have a better idea. http://www.flickr.com/photos/mynetbookos/8453527523/ Thanks for any and all help in this. John From rmorgan62 at ...626... Fri Feb 8 00:39:52 2013 From: rmorgan62 at ...626... (Randall Morgan) Date: Thu, 7 Feb 2013 15:39:52 -0800 Subject: [Gambas-user] Screen Shots of GambOS In-Reply-To: References: <20130207222017.262910@...1858...> Message-ID: Where can I download the latest version of GamBOS? On Thu, Feb 7, 2013 at 2:22 PM, Emil Lenngren wrote: > Cool ;) > > 2013/2/7 John > >> Here are a few screen shots of GambOS as it is now, enjoy. >> >> John >> >> http://www.flickr.com/photos/mynetbookos/8453527047/ >> http://www.flickr.com/photos/mynetbookos/8453527177/ >> http://www.flickr.com/photos/mynetbookos/8453527287/ >> http://www.flickr.com/photos/mynetbookos/8454618674/ >> >> ------------------------------------------------------------------------------ >> Free Next-Gen Firewall Hardware Offer >> Buy your Sophos next-gen firewall before the end March 2013 >> and get the hardware for free! Learn more. >> http://p.sf.net/sfu/sophos-d2d-feb >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From konaexpress at ...178... Fri Feb 8 01:31:41 2013 From: konaexpress at ...178... (John) Date: Thu, 07 Feb 2013 19:31:41 -0500 Subject: [Gambas-user] Screen Shots of GambOS Message-ID: <20130208003141.217450@...1858...> Here ya go. https://www.sugarsync.com/pf/D0958464_61830866_79566 I have not put the alpha 3 out yet but it should be soon. ----- Original Message ----- From: Randall Morgan Sent: 02/07/13 03:39 PM To: mailing list for gambas users Subject: Re: [Gambas-user] Screen Shots of GambOS Where can I download the latest version of GamBOS? From rmorgan62 at ...626... Fri Feb 8 01:46:30 2013 From: rmorgan62 at ...626... (Randall Morgan) Date: Thu, 7 Feb 2013 16:46:30 -0800 Subject: [Gambas-user] Screen Shots of GambOS In-Reply-To: <20130208003141.217450@...1858...> References: <20130208003141.217450@...1858...> Message-ID: Thanks I'll download it and install it on a virtual machine to test. On Thu, Feb 7, 2013 at 4:31 PM, John wrote: > Here ya go. > > https://www.sugarsync.com/pf/D0958464_61830866_79566 > I have not put the alpha 3 out yet but it should be soon. > ----- Original Message ----- > From: Randall Morgan > Sent: 02/07/13 03:39 PM > To: mailing list for gambas users > Subject: Re: [Gambas-user] Screen Shots of GambOS > > Where can I download the latest version of GamBOS? > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From konaexpress at ...178... Fri Feb 8 03:32:22 2013 From: konaexpress at ...178... (John) Date: Thu, 07 Feb 2013 21:32:22 -0500 Subject: [Gambas-user] Screen Shots of GambOS Message-ID: <20130208023222.262920@...1858...> Cool, but I almost forgot, the user name is gambas3 and the password is gambas3. It has DKMS and guest additions installed so it should work just fine in VBox. ----- Original Message ----- From: Randall Morgan Sent: 02/07/13 04:46 PM To: mailing list for gambas users Subject: Re: [Gambas-user] Screen Shots of GambOS Thanks I'll download it and install it on a virtual machine to test. On Thu, Feb 7, 2013 at 4:31 PM, John wrote: > Here ya go. > > https://www.sugarsync.com/pf/D0958464_61830866_79566 > I have not put the alpha 3 out yet but it should be soon. > ----- Original Message ----- > From: Randall Morgan > Sent: 02/07/13 03:39 PM > To: mailing list for gambas users > Subject: Re: [Gambas-user] Screen Shots of GambOS > > Where can I download the latest version of GamBOS? > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From eilert-sprachen at ...221... Fri Feb 8 08:23:50 2013 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Fri, 08 Feb 2013 08:23:50 +0100 Subject: [Gambas-user] Conky Script Manager In-Reply-To: <20130207223214.262910@...1858...> References: <20130207223214.262910@...1858...> Message-ID: <5114A806.9090408@...221...> Am 07.02.2013 23:32, schrieb John: > Hi, > Not sure how to ask this question so I will just shoot and hope you understand what I am trying to do. I am making a small app to manage Conky scripts for two reasons, first is to help new users manage their Conky scripts and the second reason is to use this project as example code for new programers. > I am wondering what would be the best widget to use to make that center window. I need it to look at a file and list all the text/script files in the file. Here is a link to a screenshot of what I want it to look like so you will have a better idea. > > http://www.flickr.com/photos/mynetbookos/8453527523/ > > Thanks for any and all help in this. > > John Hi John, I do not clearly understand what you mean "center window". Do you mean the list in the window, or the "main" window with the list and other gadgets inside? If your question is about the window and this window is the main form for your project, I would let it be FMain. Otherwise FMain could wait invisibly in the background and call this one as a dialog, maybe modal if you like that. Switch it to "Border Fixed" if that makes sense. Then you "Me.Center", that's it. But if you meant the list, let us have an idea of how the data are structured so we can sort out the best way to present them. Regards Rolf From eilert-sprachen at ...221... Fri Feb 8 08:39:30 2013 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Fri, 08 Feb 2013 08:39:30 +0100 Subject: [Gambas-user] Need Gambas3 Made Apps. In-Reply-To: <20130207171642.GB520@...2774...> References: <486931360218238@...3085...> <20130207145911.GA520@...2774...> <5113D7FC.6090403@...221...> <20130207171642.GB520@...2774...> Message-ID: <5114ABB2.6010801@...221...> Moin, I'll cut this down a bit... > Regards, > Tobi > > [0] http://gambasdoc.org/help/doc/arch?v3 > There are no graphics on this page. A look into the source shows that no pictures are loaded:  
Architecture details

Click on the picture to get details about Gambas architecture...

A drawing is better than a long speech. And I'm fond of this kind of diagram that make people think that program design is completly clean and careful thought ;-).

Is the page shown normally on your side? What could cause this? Regards Rolf From taboege at ...626... Fri Feb 8 11:41:30 2013 From: taboege at ...626... (Tobias Boege) Date: Fri, 8 Feb 2013 11:41:30 +0100 Subject: [Gambas-user] Need Gambas3 Made Apps. In-Reply-To: <5114ABB2.6010801@...221...> References: <486931360218238@...3085...> <20130207145911.GA520@...2774...> <5113D7FC.6090403@...221...> <20130207171642.GB520@...2774...> <5114ABB2.6010801@...221...> Message-ID: <20130208104129.GA667@...2774...> On Fri, 08 Feb 2013, Rolf-Werner Eilert wrote: > Moin, > > I'll cut this down a bit... > > > Regards, > > Tobi > > > > [0] http://gambasdoc.org/help/doc/arch?v3 > > > > There are no graphics on this page. A look into the source shows that no > pictures are loaded: > >   > >

>
> Architecture details >
>

>

>

> >

Click on the picture to get details about Gambas architecture...

> >

> A drawing is better than a long speech. And I'm fond of this kind > of diagram that make people think that program design is completly > clean and careful thought ;-). >

> > > Is the page shown normally on your side? What could cause this? Hehe. We had this problem some time ago on the list[0]. I know better now: Follow the link from gambas.sf.net -> Architecture. Regards, Tobi [0] http://old.nabble.com/Architecture-page-on-gambasdoc.org-td34802610.html From konaexpress at ...178... Fri Feb 8 16:49:29 2013 From: konaexpress at ...178... (John) Date: Fri, 08 Feb 2013 10:49:29 -0500 Subject: [Gambas-user] Conky Script Manager Message-ID: <20130208154929.262900@...1858...> Sorry, really new to this. I thought the form/app was FMain? What I am talking about is the white window (list box, view box)in the middle that looks like a big box. I want it to show/list all the text/script files that are located in a designated file. The big picture is this.... I want a user to be able to import a Conky script/text file that they downloaded from the internet. When hitting the add/+ button, I want to move that file to a ?conky-scripts? folder that the list view box will then update and show all the files in it that a user can select from (a user made library of scripts). Hitting the apply button will copy the selected file to memory, rename it to ? .conkyrc ? and then place that file in $ /home over writing the existing file. Then ?killall conky? and then ?conky? ( I think that "killall -SIGUSR1 conky"will do the same thing) to restart Conky so that it will reload the script file into Conky. The minus/ - button will delete the selected file from the list/folder. Sorry if this sounds a mess, got to get to the hospital this morning. Hi John, I do not clearly understand what you mean "center window". Do you mean the list in the window, or the "main" window with the list and other gadgets inside? If your question is about the window and this window is the main form for your project, I would let it be FMain. Otherwise FMain could wait invisibly in the background and call this one as a dialog, maybe modal if you like that. Switch it to "Border Fixed" if that makes sense. Then you "Me.Center", that's it. But if you meant the list, let us have an idea of how the data are structured so we can sort out the best way to present them. From lists at ...2828... Fri Feb 8 17:41:53 2013 From: lists at ...2828... (Christer Johansson) Date: Fri, 8 Feb 2013 17:41:53 +0100 Subject: [Gambas-user] Screen Shots of GambOS In-Reply-To: <20130207222017.262910@...1858...> Message-ID: <000001ce061b$37af1db0$0f00a8c0@...2829...> Nice initiative! This will help alot of newcomers to this great dev environment. /CJ > Here are a few screen shots of GambOS as it is now, enjoy. > > John > > http://www.flickr.com/photos/mynetbookos/8453527047/ > http://www.flickr.com/photos/mynetbookos/8453527177/ > http://www.flickr.com/photos/mynetbookos/8453527287/ > http://www.flickr.com/photos/mynetbookos/8454618674/ > -------------------------------------------------------------- > ---------------- > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From konaexpress at ...178... Fri Feb 8 18:05:52 2013 From: konaexpress at ...178... (John) Date: Fri, 08 Feb 2013 12:05:52 -0500 Subject: [Gambas-user] Screen Shots of GambOS Message-ID: <20130208170552.262890@...1858...> Thanks for the vote of confidences, it is a real learning process for me. One hope of mine is to get as much example code for new users to look at and to use, just not sure how to present it to them or a means of delivery for it. Gambas has a lot of documentation but something like this: [ Process *=* ] *SHELL*Command [ *WAIT* ] [ *FOR* { { *READ* | *INPUT* } | { *WRITE* | *OUTPUT* } } ] [ *AS*Name ] means nothing to a new/ hobby programer but this does: SHELL ?killall conky? Users like me need to see example code to understand what is going on and some times it helps to see it in context with other code to see how it all works together. it could just be me.... ----- Original Message ----- From: Christer Johansson Sent: 02/08/13 08:41 AM To: 'mailing list for gambas users' Subject: Re: [Gambas-user] Screen Shots of GambOS Nice initiative! This will help alot of newcomers to this great dev environment. From rmorgan62 at ...626... Fri Feb 8 22:58:01 2013 From: rmorgan62 at ...626... (Randall Morgan) Date: Fri, 8 Feb 2013 13:58:01 -0800 Subject: [Gambas-user] Screen Shots of GambOS In-Reply-To: <20130208170552.262890@...1858...> References: <20130208170552.262890@...1858...> Message-ID: John, Upon install I got a warning telling me to update the bios. However the install completed and everything works fine. I figured out the password but thanks for confirming it. You have done an assume job here! Keep me informed of newer versions. Randall On Fri, Feb 8, 2013 at 9:05 AM, John wrote: > Thanks for the vote of confidences, it is a real learning process for me. > One hope of mine is to get as much example code for new users to look at and to use, just not sure how to present it to them or a means of delivery for it. Gambas has a lot of documentation but something like this: > [ Process *=* ] *SHELL*Command [ *WAIT* ] [ *FOR* { { *READ* | *INPUT* } | { *WRITE* | *OUTPUT* } } ] [ *AS*Name ] > means nothing to a new/ hobby programer but this does: > SHELL ?killall conky? > Users like me need to see example code to understand what is going on and some times it helps to see it in context with other code to see how it all works together. > > it could just be me.... > ----- Original Message ----- > From: Christer Johansson > Sent: 02/08/13 08:41 AM > To: 'mailing list for gambas users' > Subject: Re: [Gambas-user] Screen Shots of GambOS > > Nice initiative! This will help alot of newcomers to this great dev environment. > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From ongytenes at ...626... Sat Feb 9 03:41:22 2013 From: ongytenes at ...626... (Ongytenes) Date: Sat, 9 Feb 2013 02:41:22 +0000 (UTC) Subject: [Gambas-user] About syntax highlighting and copy/paste to OpenOffice References: <1301584529.15150.32.camel@...2493...> Message-ID: Demosthenes Koptsis gmail.com> writes: > > These days i tried some ways to make the Gambas3 code in an OO3 document > be highlighted as in Gambas3 editor............ > Been working on a program in Gambas that will edit, format Gambas code and copy and paste it into Openoffice and retain all the formatting colors. It can save the code as RichText (HTML tags) to a file. I set up a page with screenshots and details of my work so far. https://sites.google.com/site/ongytenes/code/gambas/gambas-projects I had been thinking of doing something like this for a while. I needed this for writing documents in OpenOffice with Gambas Code. Since I have gotten this working (hopefully will continue to find no major bugs) I thought I might share this. From zl1wtt at ...43... Sat Feb 9 10:48:42 2013 From: zl1wtt at ...43... (Grant Taylor) Date: Sat, 9 Feb 2013 01:48:42 -0800 (PST) Subject: [Gambas-user] Re... Message-ID: <1360403322.62745.YahooMailNeo@...3087...> Hi! http://www.midwestlaminating.com/lkti/70x60y6ljo.hc?pd=t ...... 2/9/2013 10:48:41 AM Grant Taylor c9zij7xnvbyp?w3=hwnyyomulrp From gambas at ...2524... Sun Feb 10 00:30:49 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 09 Feb 2013 23:30:49 +0000 Subject: [Gambas-user] Issue 402 in gambas: String charset is screwed up if the MySQL connection is temporary lost In-Reply-To: <1-6813199134517018827-7236476461003379365-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-7236476461003379365-gambas=googlecode.com@...2524...> <0-6813199134517018827-7236476461003379365-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-7236476461003379365-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version Version-TRUNK Comment #2 on issue 402 by benoit.m... at ...626...: String charset is screwed up if the MySQL connection is temporary lost http://code.google.com/p/gambas/issues/detail?id=402 Cool. But I'm releasing Gambas 3.4, so you will get the fix only in the 3.4.1 version. From gambas at ...1... Sun Feb 10 01:33:56 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 10 Feb 2013 01:33:56 +0100 Subject: [Gambas-user] Pre-release of gambas 3.4 In-Reply-To: <1A6CEF57-8CF5-4860-8604-7CED839064B5@...1896...> References: <510F133C.2050002@...1...> <60F7ABA8-786D-46DA-9F40-7453326BF1A1@...1896...> <510FFEC0.9000204@...1...> <1A6CEF57-8CF5-4860-8604-7CED839064B5@...1896...> Message-ID: <5116EAF4.2030603@...1...> Le 04/02/2013 20:07, Olivier Cruilles a ?crit : > Benoit, > > Bon apr?s recherche dans mon code, je suis tomb? sur la contrainte des FRAMES qui ne r?organisent pas leur contenu. > Donc c'est pas un bug car j'ai recr?er un petit projet et tout marche bien et tout se redimensionne bien dans les VSplit. > > Par contre lors du redimentionnement d'un VSplit c'est beaucoup plus lent qu'avec la version 3.3.4 sur la m?me machine ? > Meme avec le petit projet que j'ai fait rapidement, c'est moins rapide qu'avant. > > Cordialement, > > Olivier Cruilles > Mail: linuxos at ...1896... > Please send me that project. Regards, -- Beno?t Minisini From linuxos at ...1896... Sun Feb 10 01:49:24 2013 From: linuxos at ...1896... (Olivier Cruilles) Date: Sun, 10 Feb 2013 01:49:24 +0100 Subject: [Gambas-user] Pre-release of gambas 3.4 In-Reply-To: <5116EAF4.2030603@...1...> References: <510F133C.2050002@...1...> <60F7ABA8-786D-46DA-9F40-7453326BF1A1@...1896...> <510FFEC0.9000204@...1...> <1A6CEF57-8CF5-4860-8604-7CED839064B5@...1896...> <5116EAF4.2030603@...1...> Message-ID: <204E082B-7EA1-4E53-A326-F8534B67DB12@...1896...> This is the project. -------------- next part -------------- A non-text attachment was scrubbed... Name: TestVSplit-0.0.1.tar.gz Type: application/x-gzip Size: 5255 bytes Desc: not available URL: -------------- next part -------------- Cordialement, Olivier Cruilles Mail: linuxos at ...1896... Le 10 f?vr. 2013 ? 01:33, Beno?t Minisini a ?crit : > Le 04/02/2013 20:07, Olivier Cruilles a ?crit : >> Benoit, >> >> Bon apr?s recherche dans mon code, je suis tomb? sur la contrainte des FRAMES qui ne r?organisent pas leur contenu. >> Donc c'est pas un bug car j'ai recr?er un petit projet et tout marche bien et tout se redimensionne bien dans les VSplit. >> >> Par contre lors du redimentionnement d'un VSplit c'est beaucoup plus lent qu'avec la version 3.3.4 sur la m?me machine ? >> Meme avec le petit projet que j'ai fait rapidement, c'est moins rapide qu'avant. >> >> Cordialement, >> >> Olivier Cruilles >> Mail: linuxos at ...1896... >> > > Please send me that project. > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Sun Feb 10 02:50:37 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 10 Feb 2013 02:50:37 +0100 Subject: [Gambas-user] Release of Gambas 3.4 Message-ID: <5116FCED.9030207@...1...> Gambas 3.4 has been released (finally)! This new release fixes about 240 bugs and adds about 270 new features. Here are some main changes: * A custom terminal font is now provided with the IDE. * Better subversion support in the IDE. * Patch support in the IDE. * A new gb.args component that replaces gb.option. * A new gb.maps component for displaying Google Maps, OpenStreetMap... inside your application. * Support for the freedesktop shared MIME database. * The old drawing API has been deprecated. Now everything is based on Cairo for GTK+. * Many controls are now implemented in Gambas and shared between GUI components. * A new fast blur method in the Image class. * The webkit component now has full support for DOM parsing and editing. See the Release Notes for the list of all new features and bug fixes. Enjoy it! -- Beno?t Minisini From gambas at ...2524... Sun Feb 10 06:56:57 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 10 Feb 2013 05:56:57 +0000 Subject: [Gambas-user] Issue 404 in gambas: [gb.net.curl] Executing Post() with an empty string gives error Message-ID: <0-6813199134517018827-15159930505570253515-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-TRUNK Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 404 by sebi... at ...626...: [gb.net.curl] Executing Post() with an empty string gives error http://code.google.com/p/gambas/issues/detail?id=404 It should be possible to execute Post() with _Data_ [0] being an empty string or Null: hClient.Post("application/x-www-form-urlencoded",Null , [sHeader]) But instead it complains of "No return value". Also, if you do: hClient.Post("application/x-www-form-urlencoded", "", [sHeader]) An "Invalid data" error is raised instead of the previous one. According the the HTTP specifications [1] the message body may or may not be present, and it is signaled by the inclusion of the Content-Length header. [0] http://gambasdoc.org/help/comp/gb.net.curl/httpclient/post?v3 [1] http://tools.ietf.org/html/rfc2616#section-4.3 From gambas at ...2524... Sun Feb 10 07:41:01 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 10 Feb 2013 06:41:01 +0000 Subject: [Gambas-user] Issue 402 in gambas: String charset is screwed up if the MySQL connection is temporary lost In-Reply-To: <2-6813199134517018827-7236476461003379365-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-7236476461003379365-gambas=googlecode.com@...2524...> <0-6813199134517018827-7236476461003379365-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-7236476461003379365-gambas=googlecode.com@...2524...> Comment #3 on issue 402 by uAle... at ...626...: String charset is screwed up if the MySQL connection is temporary lost http://code.google.com/p/gambas/issues/detail?id=402 When it is in the TRUNK and will included in the next release 3.4.1, i am completely happy with it. From kevinfishburne at ...1887... Sun Feb 10 08:26:32 2013 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Sun, 10 Feb 2013 02:26:32 -0500 Subject: [Gambas-user] how to exiting gracefully from an SDL/OpenGL program Message-ID: <51174BA8.90102@...1887...> I've read the comments about not using Quit when closing a non-console application, including the suggestion that the main form be closed in order to terminate execution. How do you close an SDL/OpenGL program? The main procedure has no Close method and there are no forms (no Qt/GTK). It seems like the video RAM isn't being freed when I close using Quit, requiring me to periodically reboot my system (not even closing GAMBAS frees the VRAM). Thanks. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From lordheavym at ...626... Sun Feb 10 10:57:06 2013 From: lordheavym at ...626... (Laurent Carlier) Date: Sun, 10 Feb 2013 10:57:06 +0100 Subject: [Gambas-user] how to exiting gracefully from an SDL/OpenGL program In-Reply-To: <51174BA8.90102@...1887...> References: <51174BA8.90102@...1887...> Message-ID: <2447718.5INTn9kyyl@...2592...> Le dimanche 10 f?vrier 2013 02:26:32 Kevin Fishburne a ?crit : > I've read the comments about not using Quit when closing a non-console > application, including the suggestion that the main form be closed in > order to terminate execution. > > How do you close an SDL/OpenGL program? The main procedure has no Close > method and there are no forms (no Qt/GTK). It seems like the video RAM > isn't being freed when I close using Quit, requiring me to periodically > reboot my system (not even closing GAMBAS frees the VRAM). > > Thanks. Just use the Close() method from the Window class. ++ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: This is a digitally signed message part. URL: From gambas at ...2524... Sun Feb 10 16:29:24 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 10 Feb 2013 15:29:24 +0000 Subject: [Gambas-user] Issue 402 in gambas: String charset is screwed up if the MySQL connection is temporary lost In-Reply-To: <3-6813199134517018827-7236476461003379365-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-7236476461003379365-gambas=googlecode.com@...2524...> <0-6813199134517018827-7236476461003379365-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-7236476461003379365-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #4 on issue 402 by benoit.m... at ...626...: String charset is screwed up if the MySQL connection is temporary lost http://code.google.com/p/gambas/issues/detail?id=402 Fixed in revision #5539, and merged in 3.4.0 version! From gambas at ...2524... Sun Feb 10 16:49:46 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 10 Feb 2013 15:49:46 +0000 Subject: [Gambas-user] Issue 404 in gambas: [gb.net.curl] Executing Post() with an empty string gives error In-Reply-To: <0-6813199134517018827-15159930505570253515-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-15159930505570253515-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-15159930505570253515-gambas=googlecode.com@...2524...> Comment #1 on issue 404 by benoit.m... at ...626...: [gb.net.curl] Executing Post() with an empty string gives error http://code.google.com/p/gambas/issues/detail?id=404 Didn't know... What's the need of doing a POST request with no message body? From gambas at ...2524... Sun Feb 10 16:50:46 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 10 Feb 2013 15:50:46 +0000 Subject: [Gambas-user] Issue 404 in gambas: [gb.net.curl] Executing Post() with an empty string gives error In-Reply-To: <1-6813199134517018827-15159930505570253515-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-15159930505570253515-gambas=googlecode.com@...2524...> <0-6813199134517018827-15159930505570253515-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-15159930505570253515-gambas=googlecode.com@...2524...> Updates: Status: Accepted Comment #2 on issue 404 by benoit.m... at ...626...: [gb.net.curl] Executing Post() with an empty string gives error http://code.google.com/p/gambas/issues/detail?id=404 (No comment was entered for this change.) From gambas at ...1... Sun Feb 10 16:51:33 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 10 Feb 2013 16:51:33 +0100 Subject: [Gambas-user] how to exiting gracefully from an SDL/OpenGL program In-Reply-To: <2447718.5INTn9kyyl@...2592...> References: <51174BA8.90102@...1887...> <2447718.5INTn9kyyl@...2592...> Message-ID: <5117C205.4080807@...1...> Le 10/02/2013 10:57, Laurent Carlier a ?crit : > Le dimanche 10 f?vrier 2013 02:26:32 Kevin Fishburne a ?crit : >> I've read the comments about not using Quit when closing a non-console >> application, including the suggestion that the main form be closed in >> order to terminate execution. >> >> How do you close an SDL/OpenGL program? The main procedure has no Close >> method and there are no forms (no Qt/GTK). It seems like the video RAM >> isn't being freed when I close using Quit, requiring me to periodically >> reboot my system (not even closing GAMBAS frees the VRAM). >> >> Thanks. > > Just use the Close() method from the Window class. > ++ > Actually there is a "quit hook" that you could implement in the SDL component, that is called when the QUIT instruction is executed. You could use that hook to close all open windows. -- Beno?t Minisini From gambas at ...2524... Sun Feb 10 17:07:38 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 10 Feb 2013 16:07:38 +0000 Subject: [Gambas-user] Issue 404 in gambas: [gb.net.curl] Executing Post() with an empty string gives error In-Reply-To: <2-6813199134517018827-15159930505570253515-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-15159930505570253515-gambas=googlecode.com@...2524...> <0-6813199134517018827-15159930505570253515-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-15159930505570253515-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #3 on issue 404 by benoit.m... at ...626...: [gb.net.curl] Executing Post() with an empty string gives error http://code.google.com/p/gambas/issues/detail?id=404 It should be fixed in revision #5542. Can you confirm? From gambas at ...2524... Sun Feb 10 17:08:38 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 10 Feb 2013 16:08:38 +0000 Subject: [Gambas-user] Issue 387 in gambas: Gridview crreated by adding rows does not scroll In-Reply-To: <0-6813199134517018827-12211422616158881570-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-12211422616158881570-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-12211422616158881570-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Labels: -Version Version-3.3.0 Comment #1 on issue 387 by benoit.m... at ...626...: Gridview crreated by adding rows does not scroll http://code.google.com/p/gambas/issues/detail?id=387 GridView has been rewritten in Gambas 3.4.0. Can you tell me if it fixes the bug for you? From gambas at ...2524... Sun Feb 10 17:26:11 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 10 Feb 2013 16:26:11 +0000 Subject: [Gambas-user] Issue 399 in gambas: SaveFile in GB.form.dialog uses folder for filename In-Reply-To: <0-6813199134517018827-13424754463821476900-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-13424754463821476900-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-13424754463821476900-gambas=googlecode.com@...2524...> Comment #1 on issue 399 by john.aaron.rose at ...626...: SaveFile in GB.form.dialog uses folder for filename http://code.google.com/p/gambas/issues/detail?id=399 I forgot to attach a file for my PC's spec. PS issue was on Gambas 3..3.4: still present on Gambas 3.4.0. Attachments: GambasSystemInformationReport.txt 320 bytes From mohareve at ...626... Sun Feb 10 17:42:24 2013 From: mohareve at ...626... (M. Cs.) Date: Sun, 10 Feb 2013 17:42:24 +0100 Subject: [Gambas-user] Dir() function is not reliable Message-ID: Hi I am working on a batch renamer called Nevezz. The most serious issue I have is that it is not listing the content of a folder properly. The problem is situated at method DirView1_Click(). There are no runtime errors, yet the content is sometimes not listed properly. Thanks for your help! Csaba -------------- next part -------------- A non-text attachment was scrubbed... Name: nevezz-1.0.1.tar.gz Type: application/x-gzip Size: 106188 bytes Desc: not available URL: From gambas at ...1... Sun Feb 10 18:34:20 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 10 Feb 2013 18:34:20 +0100 Subject: [Gambas-user] Dir() function is not reliable In-Reply-To: References: Message-ID: <5117DA1C.9060208@...1...> Le 10/02/2013 17:42, M. Cs. a ?crit : > Hi I am working on a batch renamer called Nevezz. The most serious issue I > have is that it is not listing the content of a folder properly. > The problem is situated at method DirView1_Click(). There are no runtime > errors, yet the content is sometimes not listed properly. Thanks for your > help! > > Csaba > Please give more details about what you expect and what you get exactly. Your code is too hard to read being not correctly indented... -- Beno?t Minisini From gambas at ...1... Sun Feb 10 18:34:55 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 10 Feb 2013 18:34:55 +0100 Subject: [Gambas-user] Dir() function is not reliable In-Reply-To: <5117DA1C.9060208@...1...> References: <5117DA1C.9060208@...1...> Message-ID: <5117DA3F.9080505@...1...> Le 10/02/2013 18:34, Beno?t Minisini a ?crit : > Le 10/02/2013 17:42, M. Cs. a ?crit : >> Hi I am working on a batch renamer called Nevezz. The most serious >> issue I >> have is that it is not listing the content of a folder properly. >> The problem is situated at method DirView1_Click(). There are no runtime >> errors, yet the content is sometimes not listed properly. Thanks for your >> help! >> >> Csaba >> > > Please give more details about what you expect and what you get exactly. > Your code is too hard to read being not correctly indented... > And, *of course*, tell us which Gambas version you use... -- Beno?t Minisini From mohareve at ...626... Sun Feb 10 20:01:24 2013 From: mohareve at ...626... (M. Cs.) Date: Sun, 10 Feb 2013 20:01:24 +0100 Subject: [Gambas-user] Dir() function is not reliable In-Reply-To: <5117DA3F.9080505@...1...> References: <5117DA1C.9060208@...1...> <5117DA3F.9080505@...1...> Message-ID: Hi Benoit! I am using Gambas3 v. 3.3.4 from Kendek's PPA. I do expect from the Dir() function to to list the content of a folder and to put the hits into a GridView. In most of the cases it works, but then I am running into a situation where I try to open a folder, and list its content, it won't found any files, although I know there are hundreds of files inside. Is Dir() able to recognize files without proper extensions? Csaba 2013/2/10 Beno?t Minisini > Le 10/02/2013 18:34, Beno?t Minisini a ?crit : > > Le 10/02/2013 17:42, M. Cs. a ?crit : > >> Hi I am working on a batch renamer called Nevezz. The most serious > >> issue I > >> have is that it is not listing the content of a folder properly. > >> The problem is situated at method DirView1_Click(). There are no runtime > >> errors, yet the content is sometimes not listed properly. Thanks for > your > >> help! > >> > >> Csaba > >> > > > > Please give more details about what you expect and what you get exactly. > > Your code is too hard to read being not correctly indented... > > > > And, *of course*, tell us which Gambas version you use... > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Sun Feb 10 20:23:49 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 10 Feb 2013 19:23:49 +0000 Subject: [Gambas-user] Issue 404 in gambas: [gb.net.curl] Executing Post() with an empty string gives error In-Reply-To: <3-6813199134517018827-15159930505570253515-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-15159930505570253515-gambas=googlecode.com@...2524...> <0-6813199134517018827-15159930505570253515-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-15159930505570253515-gambas=googlecode.com@...2524...> Comment #4 on issue 404 by sebi... at ...626...: [gb.net.curl] Executing Post() with an empty string gives error http://code.google.com/p/gambas/issues/detail?id=404 There are some cases where OAuth authentication requires so [0]. It is fixed now. Thanks! [0] https://dev.twitter.com/docs/api/1/post/oauth/request_token (see example request) From gambas at ...1... Sun Feb 10 20:44:13 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 10 Feb 2013 20:44:13 +0100 Subject: [Gambas-user] Dir() function is not reliable In-Reply-To: References: <5117DA1C.9060208@...1...> <5117DA3F.9080505@...1...> Message-ID: <5117F88D.4040605@...1...> Le 10/02/2013 20:01, M. Cs. a ?crit : > Hi Benoit! > I am using Gambas3 v. 3.3.4 from Kendek's PPA. I do expect from the Dir() > function to to list the content of a folder and to put the hits into a > GridView. In most of the cases it works, but then I am running into a > situation where I try to open a folder, and list its content, it won't > found any files, although I know there are hundreds of files inside. Is > Dir() able to recognize files without proper extensions? > > Csaba > Again, please tell exactly which code you run, what you expect, and what you get. Thanks. -- Beno?t Minisini From taboege at ...626... Sun Feb 10 21:13:42 2013 From: taboege at ...626... (Tobias Boege) Date: Sun, 10 Feb 2013 21:13:42 +0100 Subject: [Gambas-user] gb.ncurses rewrite and Pong example Message-ID: <20130210201342.GA928@...2774...> Hi, I have committed (rev#5543) a rewrite (roughly speaking) of gb.ncurses together with a sample Pong game. This is just FYI and if someone has a better icon for it, don't hesitate ;-) The component has been marked "Unfinished" as there are only some additions to already existing classes planned and no serious signature changes (as long as nobody wants to see Screen being creatable). I don't intend to implement TUI controls in this component. This will go into (a future) gb.ncurses.cdk component to not reinvent the wheel. Regards, Tobi From denis at ...3091... Sun Feb 10 21:40:32 2013 From: denis at ...3091... (Denis Crowther) Date: Mon, 11 Feb 2013 07:40:32 +1100 Subject: [Gambas-user] Issue 387 in gambas: Gridview crreated by adding rows does not scroll In-Reply-To: <1-6813199134517018827-12211422616158881570-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-12211422616158881570-gambas=googlecode.com@...2524...> <1-6813199134517018827-12211422616158881570-gambas=googlecode.com@...2524...> Message-ID: <511805C0.1000905@...3091...> On 02/11/2013 03:08 AM, gambas at ...2524... wrote: > Updates: > Status: NeedsInfo > Labels: -Version Version-3.3.0 > > Comment #1 on issue 387 by benoit.m... at ...626...: Gridview crreated by > adding rows does not scroll > http://code.google.com/p/gambas/issues/detail?id=387 > > GridView has been rewritten in Gambas 3.4.0. Can you tell me if it fixes > the bug for you? It does for me. Regards Denis > > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sun Feb 10 22:50:59 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 10 Feb 2013 22:50:59 +0100 Subject: [Gambas-user] Pre-release of gambas 3.4 In-Reply-To: <204E082B-7EA1-4E53-A326-F8534B67DB12@...1896...> References: <510F133C.2050002@...1...> <60F7ABA8-786D-46DA-9F40-7453326BF1A1@...1896...> <510FFEC0.9000204@...1...> <1A6CEF57-8CF5-4860-8604-7CED839064B5@...1896...> <5116EAF4.2030603@...1...> <204E082B-7EA1-4E53-A326-F8534B67DB12@...1896...> Message-ID: <51181643.9000900@...1...> Le 10/02/2013 01:49, Olivier Cruilles a ?crit : > This is the project. > > > > > > Cordialement, > > Olivier Cruilles > Mail: linuxos at ...1896... > > Le 10 f?vr. 2013 ? 01:33, Beno?t Minisini a ?crit : > >> Le 04/02/2013 20:07, Olivier Cruilles a ?crit : >>> Benoit, >>> >>> Bon apr?s recherche dans mon code, je suis tomb? sur la contrainte des FRAMES qui ne r?organisent pas leur contenu. >>> Donc c'est pas un bug car j'ai recr?er un petit projet et tout marche bien et tout se redimensionne bien dans les VSplit. >>> >>> Par contre lors du redimentionnement d'un VSplit c'est beaucoup plus lent qu'avec la version 3.3.4 sur la m?me machine ? >>> Meme avec le petit projet que j'ai fait rapidement, c'est moins rapide qu'avant. >>> >>> Cordialement, >>> >>> Olivier Cruilles >>> Mail: linuxos at ...1896... >>> >> >> Please send me that project. >> >> Regards, >> >> -- >> Beno?t Minisini >> I didn't notice performance problems. Can you profile your program on your machine with the IDE and send me the result (either a screenshot of the profiler window, or better the *.prof file)? -- Beno?t Minisini From gambas at ...2524... Mon Feb 11 15:08:14 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 11 Feb 2013 14:08:14 +0000 Subject: [Gambas-user] Issue 405 in gambas: Problems with libcurl 7.29.0 Message-ID: <0-6813199134517018827-12762020872352878530-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 405 by Kokok... at ...626...: Problems with libcurl 7.29.0 http://code.google.com/p/gambas/issues/detail?id=405 1) Application crashes on exit if httpclient is not used Version: 3.3.4 Operating system: Linux Distribution: Archlinux Architecture: x86 GUI component: QT4 Desktop used: KDE To reproduce, instal the latest curl package as in the subject, then run the httpclient example shipped with gambas and close the window without clicking anything in the form. Note that the ide complains that the program has crashed with signal 11. From gambas at ...2524... Mon Feb 11 15:11:34 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 11 Feb 2013 14:11:34 +0000 Subject: [Gambas-user] Issue 359 in gambas: ScrollBar fails in the new version In-Reply-To: <8-6813199134517018827-12607012504447743156-gambas=googlecode.com@...2524...> References: <8-6813199134517018827-12607012504447743156-gambas=googlecode.com@...2524...> <0-6813199134517018827-12607012504447743156-gambas=googlecode.com@...2524...> Message-ID: <9-6813199134517018827-12607012504447743156-gambas=googlecode.com@...2524...> Comment #9 on issue 359 by Kokok... at ...626...: ScrollBar fails in the new version http://code.google.com/p/gambas/issues/detail?id=359 Resizing the form is another workaround to make the scrollbar to appear. Anyway i've this problem even in the ide; sometimes i cannot scroll the autocomplete window or i've missing scrollbars in the result list when i search for some string in the project From gambas at ...2524... Mon Feb 11 18:26:38 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 11 Feb 2013 17:26:38 +0000 Subject: [Gambas-user] Issue 405 in gambas: Problems with libcurl 7.29.0 In-Reply-To: <0-6813199134517018827-12762020872352878530-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-12762020872352878530-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-12762020872352878530-gambas=googlecode.com@...2524...> Comment #1 on issue 405 by sebi... at ...626...: Problems with libcurl 7.29.0 http://code.google.com/p/gambas/issues/detail?id=405 This is a bug from curl, not gambas. It has already been fixed upstream [0] and the package with the backport [1][2] is already in [testing]. [0] https://github.com/bagder/curl/commit/da3fc1ee91de656a30f3a12de394bcba55119872 [1] https://bugs.archlinux.org/task/33811 [2] https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/curl&id=04526b068214411fe4887e3c6e205740fb456bc5 From mohareve at ...626... Mon Feb 11 19:45:26 2013 From: mohareve at ...626... (M. Cs.) Date: Mon, 11 Feb 2013 19:45:26 +0100 Subject: [Gambas-user] Dir() function is not reliable In-Reply-To: <5117F88D.4040605@...1...> References: <5117DA1C.9060208@...1...> <5117DA3F.9080505@...1...> <5117F88D.4040605@...1...> Message-ID: Hi Benoit, I think I found the error: I was using Dir(DirView1.Current, *"*.*"*, gb.File).Sort() instead of Dir(DirView1.Current,* "*"*, gb.File).Sort(). Although I don't understand why "*.*" wasn't correct. Csaba From gambas at ...1... Mon Feb 11 20:00:01 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 11 Feb 2013 20:00:01 +0100 Subject: [Gambas-user] Dir() function is not reliable In-Reply-To: References: <5117DA1C.9060208@...1...> <5117DA3F.9080505@...1...> <5117F88D.4040605@...1...> Message-ID: <51193FB1.3010008@...1...> Le 11/02/2013 19:45, M. Cs. a ?crit : > Hi Benoit, I think I found the error: > I was using Dir(DirView1.Current, *"*.*"*, gb.File).Sort() instead of > Dir(DirView1.Current,* "*"*, gb.File).Sort(). > Although I don't understand why "*.*" wasn't correct. > > Csaba "*" means every file, whereas "*.*" means every file with a dot inside. Beware that the "ls" command does not return exactly the same thing with the "*.*" pattern (it ignores hidden files by default, i.e. files beginning with a dot). Regards, -- Beno?t Minisini From nemh at ...2007... Mon Feb 11 19:59:38 2013 From: nemh at ...2007... (Kendek) Date: Mon, 11 Feb 2013 10:59:38 -0800 (PST) Subject: [Gambas-user] Armhf packages in Gambas3 PPA Message-ID: <1360609178554-41074.post@...3046...> Hi I am the maintainer of nemh/gambas3 PPA. From now on armhf architecture packages are also available to Precise, Quantal, Raring and up more in future. I hope that you find it useful, because the compilation time is very long (~3 hours to armhf <> ~30 minutes to amd64 or i386). :-) Kendek -- View this message in context: http://gambas.8142.n7.nabble.com/Armhf-packages-in-Gambas3-PPA-tp41074.html Sent from the gambas-user mailing list archive at Nabble.com. From Karl.Reinl at ...2345... Mon Feb 11 21:19:20 2013 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Mon, 11 Feb 2013 21:19:20 +0100 Subject: [Gambas-user] Paint.Begin() and printer.print In-Reply-To: <1358247675.2264.11.camel@...40...> References: <1357681572.8809.10.camel@...40...> <50EC94A9.2060807@...1...> <1357726305.2323.42.camel@...40...> <50ED43E9.3020607@...1...> <1358247675.2264.11.camel@...40...> Message-ID: <1360613960.2352.56.camel@...40...> Am Dienstag, den 15.01.2013, 12:01 +0100 schrieb Karl Reinl: > Am Mittwoch, den 09.01.2013, 11:18 +0100 schrieb Beno?t Minisini: > > Le 09/01/2013 11:11, Charlie Reinl a ?crit : > > > Am Dienstag, den 08.01.2013, 22:50 +0100 schrieb Beno?t Minisini: > > >> Le 08/01/2013 22:46, Karl Reinl a ?crit : > > >>> Salut, > > >>> > > >>> is that logical? > > >>> For Paint.Begin() I need a device object. > > >>> But if i start a printer with .print, Paint hijacks the printer as > > >>> device. > > >>> Had some day with blanc pages, while setting Paint.Begin() in > > >>> printer_Begin(). > > >>> What worked when project is started as executable, but not when used as > > >>> library. > > >>> > > >> > > >> Sorry, I don't understand a word. :-/ > > >> > > > > > > Ok, so I'll try to explain it in a another way: > > > > > > normally if you want to use Paint, you have to start with > > > Paint.Begin() > > > > > > Paint.Begin() needs the Device, to which it should paint. > > > > > > Paint is also used by the printer. > > > > > > The difference is : > > > while for other devices you declare it in Paint.Begin(), > > > the printer, becomes with .print the painting device. > > > > > > That is what I call 'Paint hijacks the printer as device' > > > > Yes, exactly like DrawingArea. > > > > > > > > And the problem is : if you call on _Begin() event a > > > Paint.Begin() that will work standalone executables , > > > but not in libraries. > > > > You don't have to call Paint.Begin() in the Begin event handler. This is > > done automatically just before raising the event. > > yes, that I know now. > > > > I don't understand what does not work in libraries. > > I do not understand too, I haven't isolated it, but later that week I > will try to make an example. > > Shortly: > take a project where you are printing, add at _Begin() event > the Paint.Begin(), add 'Export' to the Startup and make it a > library. > > run as executable it prints fine > > Now make a new project that insert the previous project as library , > call it, and try to print. > > > Salut, > > now I'm back, I have made an example and I'm no more sure it is the > Paint.Begin(). > > The application don't find his variable values when painting to the > printer. > > I have a workaround, but I'm interested whether it is a bug or not. > > If you use only ThePrinter every thing work ok. > But if you use ThePrinterCaller, the text to print gets lost. > The workaround is to store it outside the form, like the checkBox value > too. Sorry, but do you have news about that! The example is attached on the mail sent 15.01.2013. -- Amicalement Charlie From shordi at ...626... Mon Feb 11 23:23:58 2013 From: shordi at ...626... (=?ISO-8859-1?Q?Jorge_Carri=F3n?=) Date: Mon, 11 Feb 2013 23:23:58 +0100 Subject: [Gambas-user] Armhf packages in Gambas3 PPA In-Reply-To: <1360609178554-41074.post@...3046...> References: <1360609178554-41074.post@...3046...> Message-ID: Hey Kendek, I want to thank you work. Is very useful for many people (?me among them!). Keep doing the good work! 2013/2/11 Kendek > Hi > I am the maintainer of nemh/gambas3 > PPA. From now on armhf > architecture packages are also available to Precise, Quantal, Raring and up > more in future. I hope that you find it useful, because the compilation > time is very long > > (~3 hours to armhf <> ~30 minutes to amd64 or i386). :-) > > Kendek > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/Armhf-packages-in-Gambas3-PPA-tp41074.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From john.aaron.rose at ...626... Mon Feb 11 23:56:09 2013 From: john.aaron.rose at ...626... (John Rose) Date: Mon, 11 Feb 2013 22:56:09 +0000 Subject: [Gambas-user] Extra dependency which has a complexity Message-ID: <51197709.3000707@...626...> I have written an app in Gambas 3.3.4 & want to make an installation package for Ubuntu. The app has a dependency of gnome-panel which must be installed by: sudo apt-get install --no-install-recommends gnome-panel according to UnityLaunchersAndDesktopFiles - Community Ubuntu Documentation which states that: It is important to install gnome-panel using the following command 'sudo apt-get install --no-install-recommends gnome-panel', so as not to install the recommended not-needed packets along with it. If I put gnome-panel in the Extra Dependencies step, it would presumably effectively be sudo apt-get install gnome-panel? What should I do? -- Regards, John From gambas at ...1... Tue Feb 12 00:07:24 2013 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Tue, 12 Feb 2013 00:07:24 +0100 Subject: [Gambas-user] Paint.Begin() and printer.print In-Reply-To: <1360613960.2352.56.camel@...40...> References: <1357681572.8809.10.camel@...40...> <50EC94A9.2060807@...1...> <1357726305.2323.42.camel@...40...> <50ED43E9.3020607@...1...> <1358247675.2264.11.camel@...40...> <1360613960.2352.56.camel@...40...> Message-ID: <511979AC.6060202@...1...> Le 11/02/2013 21:19, Charlie Reinl a ?crit : > > Sorry, but do you have news about that! > The example is attached on the mail sent 15.01.2013. > Sorry, I didn't mark your mail as important, so I forgot to look at it... -- Beno?t Minisini From gambas at ...2524... Tue Feb 12 09:42:06 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 12 Feb 2013 08:42:06 +0000 Subject: [Gambas-user] Issue 405 in gambas: Problems with libcurl 7.29.0 In-Reply-To: <1-6813199134517018827-12762020872352878530-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-12762020872352878530-gambas=googlecode.com@...2524...> <0-6813199134517018827-12762020872352878530-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-12762020872352878530-gambas=googlecode.com@...2524...> Comment #2 on issue 405 by Kokok... at ...626...: Problems with libcurl 7.29.0 http://code.google.com/p/gambas/issues/detail?id=405 Understood, sorry for the noise. From vuott at ...152... Tue Feb 12 15:59:29 2013 From: vuott at ...152... (vuott at ...152...) Date: Tue, 12 Feb 2013 15:59:29 +0100 (CET) Subject: [Gambas-user] Error in PDFPresentation 3.0.0 example Message-ID: <23269022.2081360681169416.JavaMail.defaultUser@...1910...> Hello, trying example: PDFPresentation 3.0.0, after I loaded a PDF file I receive this error message: Unknown symbol 'Update' in class ''GLArea' in FMain:60 more exactly here: Public Sub timUpdate_Timer() glaPresentation.Update End Regards vuott 100 Foto a solo 1 ? su Tiscali Photo Offerta valida per un periodo limitato per i nuovi iscritti sui formati 10x. From gambas at ...1... Wed Feb 13 01:21:23 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 13 Feb 2013 01:21:23 +0100 Subject: [Gambas-user] Pre-release of gambas 3.4 In-Reply-To: References: <510F133C.2050002@...1...> Message-ID: <511ADC83.7090601@...1...> Le 04/02/2013 04:58, Sebastian Kulesz a ?crit : > > I just pushed an update to the Spanish translation, sorry I couldn't do it > earlier. The new patch feature was really hard to translate, I feel like a > small amount of translations are bogus, but there are no better > alternatives. > > I also got a crash when closing the SVN window after committing the changes: > > _Desktop_Passwords.OpenWallet.39: Don't know how to store passwords on > desktop XFCE > > although gnome-keyring is installed. Can't it be used as fallback if the > desktop's default is not implemented but gnome-keyring is found? > > Thanks! Can you try revision #5550 and tell me if it works for you? -- Beno?t Minisini From gambas at ...2524... Wed Feb 13 02:12:24 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 13 Feb 2013 01:12:24 +0000 Subject: [Gambas-user] Issue 359 in gambas: ScrollBar fails in the new version In-Reply-To: <9-6813199134517018827-12607012504447743156-gambas=googlecode.com@...2524...> References: <9-6813199134517018827-12607012504447743156-gambas=googlecode.com@...2524...> <0-6813199134517018827-12607012504447743156-gambas=googlecode.com@...2524...> Message-ID: <10-6813199134517018827-12607012504447743156-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Comment #10 on issue 359 by benoit.m... at ...626...: ScrollBar fails in the new version http://code.google.com/p/gambas/issues/detail?id=359 Does Gambas 3.4.0 fix the problem? From gambas at ...2524... Wed Feb 13 02:13:24 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 13 Feb 2013 01:13:24 +0000 Subject: [Gambas-user] Issue 405 in gambas: Problems with libcurl 7.29.0 In-Reply-To: <2-6813199134517018827-12762020872352878530-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-12762020872352878530-gambas=googlecode.com@...2524...> <0-6813199134517018827-12762020872352878530-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-12762020872352878530-gambas=googlecode.com@...2524...> Updates: Status: WontFix Labels: -Version Version-TRUNK Comment #3 on issue 405 by benoit.m... at ...626...: Problems with libcurl 7.29.0 http://code.google.com/p/gambas/issues/detail?id=405 (No comment was entered for this change.) From cabrerawilliam at ...626... Wed Feb 13 19:56:04 2013 From: cabrerawilliam at ...626... (William Cabrera) Date: Wed, 13 Feb 2013 14:26:04 -0430 Subject: [Gambas-user] gb.ncurses rewrite and Pong example In-Reply-To: <20130210201342.GA928@...2774...> References: <20130210201342.GA928@...2774...> Message-ID: Excellent, I'll prove it :) ------ William Cabrera http://willicab.gnu.org.ve 2013/2/10 Tobias Boege > Hi, > > I have committed (rev#5543) a rewrite (roughly speaking) of gb.ncurses > together with a sample Pong game. This is just FYI and if someone has a > better icon for it, don't hesitate ;-) > > The component has been marked "Unfinished" as there are only some additions > to already existing classes planned and no serious signature changes (as > long as nobody wants to see Screen being creatable). > > I don't intend to implement TUI controls in this component. This will go > into (a future) gb.ncurses.cdk component to not reinvent the wheel. > > Regards, > Tobi > > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sebikul at ...626... Wed Feb 13 22:17:29 2013 From: sebikul at ...626... (Sebastian Kulesz) Date: Wed, 13 Feb 2013 18:17:29 -0300 Subject: [Gambas-user] Armhf packages in Gambas3 PPA In-Reply-To: References: <1360609178554-41074.post@...3046...> Message-ID: arm builds are now available in the Daily Builds PPA too. On Mon, Feb 11, 2013 at 7:23 PM, Jorge Carri?n wrote: > Hey Kendek, I want to thank you work. Is very useful for many people (?me > among them!). > Keep doing the good work! > > > 2013/2/11 Kendek > > > Hi > > I am the maintainer of nemh/gambas3 > > PPA. From now on armhf > > architecture packages are also available to Precise, Quantal, Raring and > up > > more in future. I hope that you find it useful, because the compilation > > time is very long > > > > > (~3 hours to armhf <> ~30 minutes to amd64 or i386). :-) > > > > Kendek > > > > > > > > -- > > View this message in context: > > > http://gambas.8142.n7.nabble.com/Armhf-packages-in-Gambas3-PPA-tp41074.html > > Sent from the gambas-user mailing list archive at Nabble.com. > > > > > > > ------------------------------------------------------------------------------ > > Free Next-Gen Firewall Hardware Offer > > Buy your Sophos next-gen firewall before the end March 2013 > > and get the hardware for free! Learn more. > > http://p.sf.net/sfu/sophos-d2d-feb > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From sundarjeyachandran at ...626... Thu Feb 14 02:23:23 2013 From: sundarjeyachandran at ...626... (J Sundar) Date: Thu, 14 Feb 2013 06:53:23 +0530 Subject: [Gambas-user] Need Gambas3 Made Apps. In-Reply-To: <20130208104129.GA667@...2774...> References: <486931360218238@...3085...> <20130207145911.GA520@...2774...> <5113D7FC.6090403@...221...> <20130207171642.GB520@...2774...> <5114ABB2.6010801@...221...> <20130208104129.GA667@...2774...> Message-ID: Here is my contribution.. It is similar to unetbootin but can install multiple distros. http://sourceforge.net/projects/multibootusb/ On Fri, Feb 8, 2013 at 4:11 PM, Tobias Boege wrote: > On Fri, 08 Feb 2013, Rolf-Werner Eilert wrote: > > Moin, > > > > I'll cut this down a bit... > > > > > Regards, > > > Tobi > > > > > > [0] http://gambasdoc.org/help/doc/arch?v3 > > > > > > > There are no graphics on this page. A look into the source shows that no > > pictures are loaded: > > > >   > > > >
> >
> > Architecture details > >
> >

> >

> >

> > > >

Click on the picture to get details about Gambas architecture...

> > > >

> > A drawing is better than a long speech. And I'm fond of this kind > > of diagram that make people think that program design is completly > > clean and careful thought ;-). > >

> > > > > > Is the page shown normally on your side? What could cause this? > > Hehe. We had this problem some time ago on the list[0]. I know better now: > Follow the link from gambas.sf.net -> Architecture. > > Regards, > Tobi > > [0] > http://old.nabble.com/Architecture-page-on-gambasdoc.org-td34802610.html > > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Thu Feb 14 07:30:16 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 14 Feb 2013 06:30:16 +0000 Subject: [Gambas-user] Issue 257 in gambas: Database password retrieval error and abort in IDE In-Reply-To: <13-6813199134517018827-17207463185108027121-gambas=googlecode.com@...2524...> References: <13-6813199134517018827-17207463185108027121-gambas=googlecode.com@...2524...> <0-6813199134517018827-17207463185108027121-gambas=googlecode.com@...2524...> Message-ID: <14-6813199134517018827-17207463185108027121-gambas=googlecode.com@...2524...> Comment #14 on issue 257 by justlost... at ...626...: Database password retrieval error and abort in IDE http://code.google.com/p/gambas/issues/detail?id=257 I am having the same problem, It seems to be random, in that I create a data source and add the connection and Table, but some times this does not happen untill after I add the data view and col definitions.... after that I get the error as described by others, but all the time I am able to use the connection in my project to access the tables add data etc, also the sample mysql program crashes with an illegal call as follows modMain.Main.41::'Form.Refresh' is incorrectly overridden in class 'FTables' Here is the information requested [System] OperatingSystem=Linux Kernel=3.4.28-2.20-default Architecture=i686 Memory=2065720 kB DistributionVendor=SuSE DistributionRelease=openSUSE 12.2 (i586) VERSION = 12.2 CODENAME = Mantis Desktop=KDE4 [Gambas 3] Version=3.3.4 Path=/usr/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.8.1 GTK+=libgtk-x11-2.0.so.0.2400.10 Simple application new database program, add connection, add data source, configure(set connection and table), add dataview. configure(set table) That's it, I can not get any further! -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Thu Feb 14 07:44:44 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 14 Feb 2013 06:44:44 +0000 Subject: [Gambas-user] Issue 257 in gambas: Database password retrieval error and abort in IDE In-Reply-To: <14-6813199134517018827-17207463185108027121-gambas=googlecode.com@...2524...> References: <14-6813199134517018827-17207463185108027121-gambas=googlecode.com@...2524...> <0-6813199134517018827-17207463185108027121-gambas=googlecode.com@...2524...> Message-ID: <15-6813199134517018827-17207463185108027121-gambas=googlecode.com@...2524...> Comment #15 on issue 257 by justlost... at ...626...: Database password retrieval error and abort in IDE http://code.google.com/p/gambas/issues/detail?id=257 This is the message from the compiled program: Cannot open database: Access denied for user 'root'@'localhost' (using password: NO). Common.CheckDB.34 -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From sebikul at ...626... Thu Feb 14 07:51:42 2013 From: sebikul at ...626... (Sebastian Kulesz) Date: Thu, 14 Feb 2013 03:51:42 -0300 Subject: [Gambas-user] Pre-release of gambas 3.4 In-Reply-To: <511ADC83.7090601@...1...> References: <510F133C.2050002@...1...> <511ADC83.7090601@...1...> Message-ID: I can't test it without committing any changes, but it should work fine. You should note that although gnome-keyring is installed as a dependency for any gnome desktop, in xfce it's an optional dependency, and only required when the gnome compatibility option is enabled. I can't really test what would happen in this case without messing up my system, but you should make that code failsafe and warn the user without a crash, or fail silently. On Tue, Feb 12, 2013 at 9:21 PM, Beno?t Minisini < gambas at ...1...> wrote: > Le 04/02/2013 04:58, Sebastian Kulesz a ?crit : > > > > I just pushed an update to the Spanish translation, sorry I couldn't do > it > > earlier. The new patch feature was really hard to translate, I feel like > a > > small amount of translations are bogus, but there are no better > > alternatives. > > > > I also got a crash when closing the SVN window after committing the > changes: > > > > _Desktop_Passwords.OpenWallet.39: Don't know how to store passwords on > > desktop XFCE > > > > although gnome-keyring is installed. Can't it be used as fallback if the > > desktop's default is not implemented but gnome-keyring is found? > > > > Thanks! > > Can you try revision #5550 and tell me if it works for you? > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From john.aaron.rose at ...626... Thu Feb 14 10:02:32 2013 From: john.aaron.rose at ...626... (John Rose) Date: Thu, 14 Feb 2013 09:02:32 +0000 Subject: [Gambas-user] Complex Extra Dependency Message-ID: <511CA828.9030208@...626...> I thought that I'd just ask this question again. I have written an app in Gambas 3.3.4 & want to make an installation package for Ubuntu. The app has a dependency of gnome-panel which must be installed by: sudo apt-get install --no-install-recommends gnome-panel according to UnityLaunchersAndDesktopFiles - Community Ubuntu Documentation which states that: It is important to install gnome-panel using the following command 'sudo apt-get install --no-install-recommends gnome-panel', so as not to install the recommended not-needed packets along with it. If I put gnome-panel in the Extra Dependencies step, it would presumably effectively be sudo apt-get install gnome-panel? What should I do? -- Regards, John From lists at ...2828... Thu Feb 14 18:28:54 2013 From: lists at ...2828... (Christer Johansson) Date: Thu, 14 Feb 2013 18:28:54 +0100 Subject: [Gambas-user] MySQLExample Message-ID: <000001ce0ad8$c6280bd0$0f00a8c0@...2829...> Anyone else having problem with the MySQLExample 3.0.90 included in 3.3.4? When trying to connect to the server I get an error saying... File already exists and after I press OK on that dialog it says... modMain.Main.41::'Form.Refresh' is incorrecty overridden in class 'FTables' I know the MySQL server is working since the Database example included in Gambas 2 works fine as well as other programs? MySQL server version: 5.1.37-1ubuntu5 (Ubuntu) [System] OperatingSystem=Linux Kernel=2.6.38-8-generic Architecture=i686 Memory=508000 kB DistributionVendor=Ubuntu DistributionRelease="Ubuntu 11.04" Desktop=Xfce [Gambas 2] Version=2.24.0 Path=/usr/local/bin/gbx2 [Gambas 3] Version=3.3.4 Path=/usr/bin/gbx3 [Libraries] Qt4=libQtCore.so.4.7.2 GTK+=libgtk-x11-2.0.so.0.2400.4 /CJ From taboege at ...626... Thu Feb 14 18:47:35 2013 From: taboege at ...626... (Tobias Boege) Date: Thu, 14 Feb 2013 18:47:35 +0100 Subject: [Gambas-user] Complex Extra Dependency In-Reply-To: <511CA828.9030208@...626...> References: <511CA828.9030208@...626...> Message-ID: <20130214174735.GA527@...2774...> On Thu, 14 Feb 2013, John Rose wrote: > I thought that I'd just ask this question again. > > I have written an app in Gambas 3.3.4 & want to make an installation > package for Ubuntu. The app has a dependency of gnome-panel which must > be installed by: > sudo apt-get install --no-install-recommends gnome-panel > according to > UnityLaunchersAndDesktopFiles - Community Ubuntu Documentation > > which states that: > It is important to install gnome-panel using the following command 'sudo > apt-get install --no-install-recommends gnome-panel', so as not to > install the recommended not-needed packets along with it. > > If I put gnome-panel in the Extra Dependencies step, it would presumably > effectively be sudo apt-get install gnome-panel? > > What should I do? > Are sure that you can actually accomplish what you want, namely that the dependency _can_ be installed with the --no-install-recommends argument? I don't know the format of .deb packages. If you know better, please say it so that one can estimate the effort to implement it. Regards, Tobi From john.aaron.rose at ...626... Thu Feb 14 19:00:31 2013 From: john.aaron.rose at ...626... (John Rose) Date: Thu, 14 Feb 2013 18:00:31 +0000 Subject: [Gambas-user] Complex Extra Dependency In-Reply-To: <20130214174735.GA527@...2774...> References: <511CA828.9030208@...626...> <20130214174735.GA527@...2774...> Message-ID: <511D263F.20609@...626...> Tobi, I wanted to see if anyone had run into this issue before. That was why I was vague. If I create the installation package without specifying gnome-panel as an Extra Dependency but run 'sudo apt-get install --no-install-recommends gnome-panel' before installing the app (from the created installation package), everything is fine. As you say, it would be useful to know if the"--no-install-recommends" option could be implemented in the Extra Dependencies step so that a user could install the app without running the above sudo apt-get commend. Any comments about this facility being made available in Gambas? Regards, John On 14/02/13 17:47, Tobias Boege wrote: > On Thu, 14 Feb 2013, John Rose wrote: >> I thought that I'd just ask this question again. >> >> I have written an app in Gambas 3.3.4 & want to make an installation >> package for Ubuntu. The app has a dependency of gnome-panel which must >> be installed by: >> sudo apt-get install --no-install-recommends gnome-panel >> according to >> UnityLaunchersAndDesktopFiles - Community Ubuntu Documentation >> >> which states that: >> It is important to install gnome-panel using the following command 'sudo >> apt-get install --no-install-recommends gnome-panel', so as not to >> install the recommended not-needed packets along with it. >> >> If I put gnome-panel in the Extra Dependencies step, it would presumably >> effectively be sudo apt-get install gnome-panel? >> >> What should I do? >> > Are sure that you can actually accomplish what you want, namely that the > dependency _can_ be installed with the --no-install-recommends argument? I > don't know the format of .deb packages. If you know better, please say it so > that one can estimate the effort to implement it. > > Regards, > Tobi > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Thu Feb 14 19:07:10 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Thu, 14 Feb 2013 19:07:10 +0100 Subject: [Gambas-user] Complex Extra Dependency In-Reply-To: <511D263F.20609@...626...> References: <511CA828.9030208@...626...> <20130214174735.GA527@...2774...> <511D263F.20609@...626...> Message-ID: <511D27CE.9020803@...1...> Le 14/02/2013 19:00, John Rose a ?crit : > Tobi, > > I wanted to see if anyone had run into this issue before. That was why I > was vague. > > If I create the installation package without specifying gnome-panel as > an Extra Dependency but run 'sudo apt-get install > --no-install-recommends gnome-panel' before installing the app (from the > created installation package), everything is fine. > > As you say, it would be useful to know if the"--no-install-recommends" > option could be implemented in the Extra Dependencies step so that a > user could install the app without running the above sudo apt-get > commend. Any comments about this facility being made available in Gambas? > > Regards, > John > The installer tries to be distribution-agnostic. What does "--no-install-recommends" do ? Normally, when a package is installed, only the needed dependencies are installed, not the "recommended" packages. Or am I wrong? -- Beno?t Minisini From konaexpress at ...178... Thu Feb 14 20:29:29 2013 From: konaexpress at ...178... (John) Date: Thu, 14 Feb 2013 14:29:29 -0500 Subject: [Gambas-user] Armhf packages in Gambas3 PPA Message-ID: <20130214192929.66530@...1858...> Yes, please keep it up. John ----- Original Message ----- From: Jorge Carri?n Sent: 02/11/13 02:23 PM To: mailing list for gambas users Subject: Re: [Gambas-user] Armhf packages in Gambas3 PPA Hey Kendek, I want to thank you work. Is very useful for many people (?me among them!). Keep doing the good work! 2013/2/11 Kendek > Hi > I am the maintainer of nemh/gambas3 > PPA. From now on armhf > architecture packages are also available to Precise, Quantal, Raring and up > more in future. I hope that you find it useful, because the compilation > time is very long > > (~3 hours to armhf <> ~30 minutes to amd64 or i386). :-) > > Kendek > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/Armhf-packages-in-Gambas3-PPA-tp41074.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From konaexpress at ...178... Thu Feb 14 20:36:01 2013 From: konaexpress at ...178... (John) Date: Thu, 14 Feb 2013 14:36:01 -0500 Subject: [Gambas-user] GambOS Web Site Message-ID: <20130214193601.66560@...1858...> Well..... The GambOS web site is up and live! Please let us know what you think of it, it is a work in progress. www.gambos.org John From gp at ...3050... Thu Feb 14 22:30:10 2013 From: gp at ...3050... (Gianni Piccini) Date: Thu, 14 Feb 2013 22:30:10 +0100 Subject: [Gambas-user] Complex Extra Dependency In-Reply-To: <511D27CE.9020803@...1...> References: <511CA828.9030208@...626...> <20130214174735.GA527@...2774...> <511D263F.20609@...626...> <511D27CE.9020803@...1...> Message-ID: <511D5762.4030404@...3050...> On 14/02/2013 19:07, Beno?t Minisini wrote: > Normally, when a package is installed, > only the needed dependencies are installed, not the "recommended" > packages. Or am I wrong? Not sure of how it works in details, but I think it's wrong, at least in most cases, with apt-get. I remember discussions when the new work mode became standard also in Debian. In apt.conf file, for example, to reduce installed packages, you can also put a setting: APT::Install-Recommends "false"; From konaexpress at ...178... Thu Feb 14 23:38:20 2013 From: konaexpress at ...178... (John) Date: Thu, 14 Feb 2013 17:38:20 -0500 Subject: [Gambas-user] Need Gambas3 Made Apps. Message-ID: <20130214223820.66550@...1858...> Sorry, I must have missed this. Your app looks great! Would you mind submitting it to Gambas Show Case so that it will be an easy download for users. I will have to test it and see about including it in the OS maybe.... John ----- Original Message ----- From: J Sundar Sent: 02/13/13 05:23 PM To: mailing list for gambas users, info at ...394... Subject: Re: [Gambas-user] Need Gambas3 Made Apps. Here is my contribution.. It is similar to unetbootin but can install multiple distros. http://sourceforge.net/projects/multibootusb/ On Fri, Feb 8, 2013 at 4:11 PM, Tobias Boege wrote: From bespalov.alexey at ...2736... Fri Feb 15 07:23:41 2013 From: bespalov.alexey at ...2736... (=?koi8-r?B?4sXT0MHMz9cg4czFy9PFyg==?=) Date: Fri, 15 Feb 2013 13:23:41 +0700 Subject: [Gambas-user] Fwd: GambOS Web Site In-Reply-To: <20130214193601.66560@...1858...> Message-ID: <533261360909421@...3092...> Gambas a global problem that it is not popular. About him no one knows. So any popularization will only benefit.. ___ Alexey From bespalov.alexey at ...2736... Fri Feb 15 07:39:35 2013 From: bespalov.alexey at ...2736... (=?koi8-r?B?4sXT0MHMz9cg4czFy9PFyg==?=) Date: Fri, 15 Feb 2013 13:39:35 +0700 Subject: [Gambas-user] Need Gambas3 Made Apps. In-Reply-To: <20130214223820.66550@...1858...> References: <20130214223820.66550@...1858...> Message-ID: <554891360910375@...3093...> Look to this web site: [1]http://gambas.pro/our-projects ? It will be interesting the first 3 of the program: 1. [2]GFotoManager ? imple photo manager on Gambas 2. [3]GMetronome ? GMetronome ? mini drum machine and metronome on Gambas 3. [4]ClassSQLModel ? ClassSQLModel ? class to make writing interfaces to databases ___ Alexey [5]http://gambas.pro/ References 1. http://gambas.pro/our-projects 2. http://gambas.pro/gambas/gfotomanager-%D0%BC%D0%B5%D0%BD%D0%B5%D0%B4%D0%B6%D0%B5%D1%80-%D1%84%D0%BE%D1%82%D0%BE%D0%B3%D1%80%D0%B0%D1%84%D0%B8%D0%B9-%D0%BD%D0%B0-gambas.htm 3. http://gambas.pro/gambas/gmetronome-%D0%BC%D0%B5%D1%82%D1%80%D0%BE%D0%BD%D0%BE%D0%BC-%D0%B8-%D0%BC%D0%B8%D0%BD%D0%B8-%D0%B4%D1%80%D0%B0%D0%BC%D0%BC%D0%B0%D1%88%D0%B8%D0%BD%D0%B0-%D0%BD%D0%B0-gambas.htm 4. http://gambas.pro/gambas/classsqlmodel.htm 5. http://gambas.pro/our-projects From lists at ...2828... Fri Feb 15 09:08:53 2013 From: lists at ...2828... (Christer Johansson) Date: Fri, 15 Feb 2013 09:08:53 +0100 Subject: [Gambas-user] Armhf packages in Gambas3 PPA In-Reply-To: <1360609178554-41074.post@...3046...> Message-ID: <000001ce0b53$c0fa66f0$0f00a8c0@...2829...> Hi Kendek, Thank you for your efforts, I've been using your repo in the past. Since I do not run armhf I wonder if you have plans to add armel packages to the list someday? > I am the maintainer of nemh/gambas3 PPA. From > now on armhf architecture packages are also available to Precise, Quantal, > Raring and up more in future. I hope that you find it useful, because the > compilation time is very long >(~3 hours to armhf <> ~30 minutes to amd64 or i386). :-) /CJ From Karl.Reinl at ...2345... Fri Feb 15 10:05:50 2013 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Fri, 15 Feb 2013 10:05:50 +0100 Subject: [Gambas-user] Need Gambas3 Made Apps. In-Reply-To: References: <486931360218238@...3085...> <20130207145911.GA520@...2774...> <5113D7FC.6090403@...221...> <20130207171642.GB520@...2774...> <5114ABB2.6010801@...221...> <20130208104129.GA667@...2774...> Message-ID: <1360919150.2372.5.camel@...40...> Am Donnerstag, den 14.02.2013, 06:53 +0530 schrieb J Sundar: > Here is my contribution.. > It is similar to unetbootin but can install multiple distros. > > http://sourceforge.net/projects/multibootusb/ > Salut, I'v tried to use your package but I get a Error: Dependency can not be met: gambas3-runtime (> = 3.0.90) Any hint . gambas3 Version 3.4 (r5543) [System] OperatingSystem=Linux Kernel=3.0.0-31-generic Architecture=x86 Distribution=Ubuntu 10.04.4 LTS Desktop=GNOME Theme=QPlastique Language=de_DE.UTF-8 Memory=3026M [Libraries] 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 -- Amicalement Charlie From nemh at ...2007... Fri Feb 15 10:23:32 2013 From: nemh at ...2007... (Kendek) Date: Fri, 15 Feb 2013 01:23:32 -0800 (PST) Subject: [Gambas-user] Armhf packages in Gambas3 PPA In-Reply-To: <000001ce0b53$c0fa66f0$0f00a8c0@...2829...> References: <1360609178554-41074.post@...3046...> <000001ce0b53$c0fa66f0$0f00a8c0@...2829...> Message-ID: <1360920212879-41105.post@...3046...> Well, actually, I did not plan that, because officially there is no such armel release of Ubuntu. At least, not now: http://cdimage.ubuntu.com/ubuntu-core/releases/12.04/release http://cdimage.ubuntu.com/ubuntu-core/releases/12.10/release http://cdimage.ubuntu.com/releases/12.04.2/release http://cdimage.ubuntu.com/releases/12.10/release Only in the past: http://cdimage.ubuntu.com/ubuntu-core/releases/11.10/release http://cdimage.ubuntu.com/releases/11.10/release And only two builders are available on the build farm (seven releases in the PPA). So they do not look good eye, and can not be allowed. (And require a powerful hardware to run IDE.) -- View this message in context: http://gambas.8142.n7.nabble.com/Armhf-packages-in-Gambas3-PPA-tp41074p41105.html Sent from the gambas-user mailing list archive at Nabble.com. From rolf.frogs at ...221... Fri Feb 15 11:23:46 2013 From: rolf.frogs at ...221... (Rolf Schmidt) Date: Fri, 15 Feb 2013 11:23:46 +0100 Subject: [Gambas-user] Release of Gambas 3.4 In-Reply-To: <5116FCED.9030207@...1...> References: <5116FCED.9030207@...1...> Message-ID: <201302151123.56986.rolf.frogs@...221...> Hi Beno?t > This new release fixes about 240 bugs and adds about 270 new features. > > * Better subversion support in the IDE. is there a description for the use of subversion from within the IDE? I didn't find any only for the use of subversion for extracting and compiling the development versions. Thanks for your hints/help Rolf -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part. URL: From taboege at ...626... Fri Feb 15 14:11:55 2013 From: taboege at ...626... (Tobias Boege) Date: Fri, 15 Feb 2013 14:11:55 +0100 Subject: [Gambas-user] GambOS Web Site In-Reply-To: <20130214193601.66560@...1858...> References: <20130214193601.66560@...1858...> Message-ID: <20130215131155.GA528@...2774...> On Thu, 14 Feb 2013, John wrote: > Well..... > > The GambOS web site is up and live! Please let us know what you think of it, it is a work in progress. > > www.gambos.org > There is a combobox on the left of the page "The Gambas Project Network". If I click on it to select an entry, I'm immediately forwarded to whiteislandsoftware.com. There's the same box in your GambasForum, too, with the same effect. I hope that's not by design? Regards, Tobi From willy at ...2734... Fri Feb 15 21:45:02 2013 From: willy at ...2734... (Willy Raets) Date: Fri, 15 Feb 2013 21:45:02 +0100 Subject: [Gambas-user] Need Gambas3 Made Apps. In-Reply-To: <554891360910375@...3093...> References: <20130214223820.66550@...1858...> <554891360910375@...3093...> Message-ID: <1360961102.7594.6.camel@...3024...> On Fri, 2013-02-15 at 13:39 +0700, ???????? ??????? wrote: > Look to this web site: For all those applying applications to be part of GambOS. We have been setting up some things so we can streamline the process of applying candidate applications. All is in a very early stage (Alpha -> even we initiators of the project) so be patient if things do not always run as expected. Things will smooth out as time passes. Please first read the pages linked below if you think you application can be useful for GambOS 1. http://gambos.org/index.php?page=developers 2. http://gambasshowcase.org/index.php?page=developers 1. Things that could be useful on GambOS 2. Candidate requirements and application process (in Alpha stage) Thanks, Willy From willy at ...2734... Fri Feb 15 23:07:38 2013 From: willy at ...2734... (Willy Raets) Date: Fri, 15 Feb 2013 23:07:38 +0100 Subject: [Gambas-user] gb.args - a question Message-ID: <1360966058.7594.11.camel@...3024...> Hello, I'm experiencing some trouble implementing gb.args I made a small testcase named Arguments. To implement version and help are no problem :) Now I try to add an argument a (about) Goal is that: Arguments -a OR Arguments --about RETURNS To test gb.args in GUI application The code I have is below. I'm not getting any wiser reading the documentation over and over. I have tried several different things, ended up with this. But the new argument still doesn't work. ---- Code module Start (starup class)---- Public Sub Main() Dim sAbout As String Args.Begin("Arguments ") sAbout = Args.Get("a", "about", "To test gb.args in GUI application") Args.End() Print sAbout FMain.Show End ---- End Code ---- Results in terminal: 1. For: Arguments -h Arguments Options: -a --about To test gb.args in GUI application -V --version Display version -h --help Display this help 2. For: Arguments -V 0.0.1 3. For: Arguments -a Arguments: argument missing for option -a How do I get this -a to work? What am I missing? Any suggestions or a small example would do miracles. Thanks, Willy From lordheavym at ...626... Fri Feb 15 23:25:18 2013 From: lordheavym at ...626... (Laurent Carlier) Date: Fri, 15 Feb 2013 23:25:18 +0100 Subject: [Gambas-user] Release of Gambas 3.4 In-Reply-To: <5116FCED.9030207@...1...> References: <5116FCED.9030207@...1...> Message-ID: <3535763.FnycV581Jn@...2592...> Le dimanche 10 f?vrier 2013 02:50:37 Beno?t Minisini a ?crit : > Gambas 3.4 has been released (finally)! > > This new release fixes about 240 bugs and adds about 270 new features. > > Here are some main changes: > * A custom terminal font is now provided with the IDE. > * Better subversion support in the IDE. > * Patch support in the IDE. > * A new gb.args component that replaces gb.option. > * A new gb.maps component for displaying Google Maps, OpenStreetMap... > inside your application. > * Support for the freedesktop shared MIME database. > * The old drawing API has been deprecated. Now everything is based on > Cairo for GTK+. > * Many controls are now implemented in Gambas and shared between GUI > components. > * A new fast blur method in the Image class. > * The webkit component now has full support for DOM parsing and editing. > > See the Release Notes for the list of all new features and bug fixes. > > Enjoy it! Does gb.args, gb.memcached, gb.map are separated component or included in another ? Thanks. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: This is a digitally signed message part. URL: From bbruen at ...2308... Fri Feb 15 23:29:41 2013 From: bbruen at ...2308... (Bruce) Date: Sat, 16 Feb 2013 08:59:41 +1030 Subject: [Gambas-user] gb.args - a question In-Reply-To: <1360966058.7594.11.camel@...3024...> References: <1360966058.7594.11.camel@...3024...> Message-ID: <1360967381.19426.6.camel@...2688...> On Fri, 2013-02-15 at 23:07 +0100, Willy Raets wrote: > > 3. For: Arguments -a > Arguments: argument missing for option -a > > How do I get this -a to work? What am I missing? > Any suggestions or a small example would do miracles. > Args.Get(...) returns a string value, as you have correctly coded "sAbout = Args.Get("a", "about", "To test gb.args in GUI application")" So, if you run the project using just ./projname -a then it correctly says "argument missing for option -a". Solution: 1. Fix user :-) If you just want a program option, that is one that does not have an associated value, then use Args.Has() e.g. Dim sAOption as Boolean ... sAOption=Args.Has("a",""about", "To test gb.args in GUI application") ... hth Bruce From bbruen at ...2308... Fri Feb 15 23:36:58 2013 From: bbruen at ...2308... (Bruce) Date: Sat, 16 Feb 2013 09:06:58 +1030 Subject: [Gambas-user] Release of Gambas 3.4 In-Reply-To: <3535763.FnycV581Jn@...2592...> References: <5116FCED.9030207@...1...> <3535763.FnycV581Jn@...2592...> Message-ID: <1360967818.19426.8.camel@...2688...> On Fri, 2013-02-15 at 23:25 +0100, Laurent Carlier wrote: > Le dimanche 10 f?vrier 2013 02:50:37 Beno?t Minisini a ?crit : > > Gambas 3.4 has been released (finally)! > > > > This new release fixes about 240 bugs and adds about 270 new features. > > > > Here are some main changes: > > * A custom terminal font is now provided with the IDE. > > * Better subversion support in the IDE. > > * Patch support in the IDE. > > * A new gb.args component that replaces gb.option. > > * A new gb.maps component for displaying Google Maps, OpenStreetMap... > > inside your application. > > * Support for the freedesktop shared MIME database. > > * The old drawing API has been deprecated. Now everything is based on > > Cairo for GTK+. > > * Many controls are now implemented in Gambas and shared between GUI > > components. > > * A new fast blur method in the Image class. > > * The webkit component now has full support for DOM parsing and editing. > > > > See the Release Notes for the list of all new features and bug fixes. > > > > Enjoy it! > > Does gb.args, gb.memcached, gb.map are separated component or included in > another ? > > Thanks. All three are separate components. The sources are in .../comp/src hth Bruce From bbruen at ...2308... Sat Feb 16 02:15:47 2013 From: bbruen at ...2308... (Bruce) Date: Sat, 16 Feb 2013 11:45:47 +1030 Subject: [Gambas-user] gb.args - a question In-Reply-To: <1360967381.19426.6.camel@...2688...> References: <1360966058.7594.11.camel@...3024...> <1360967381.19426.6.camel@...2688...> Message-ID: <1360977347.19426.9.camel@...2688...> I meant.. On Sat, 2013-02-16 at 08:59 +1030, Bruce wrote: > On Fri, 2013-02-15 at 23:07 +0100, Willy Raets wrote: > > > > > 3. For: Arguments -a > > Arguments: argument missing for option -a > > > > How do I get this -a to work? What am I missing? > > Any suggestions or a small example would do miracles. > > > > Args.Get(...) returns a string value, as you have correctly coded > "sAbout = Args.Get("a", "about", "To test gb.args in GUI application")" > > So, if you run the project using just > ./projname -a > then it correctly says "argument missing for option -a". You need to ./projname -a 'something goes here' > > Solution: > 1. Fix user :-) > > If you just want a program option, that is one that does not have an > associated value, then use Args.Has() > > e.g. > > Dim sAOption as Boolean > ... > sAOption=Args.Has("a",""about", "To test gb.args in GUI application") > ... > > > hth > Bruce > From willy at ...2734... Sat Feb 16 02:55:22 2013 From: willy at ...2734... (Willy Raets) Date: Sat, 16 Feb 2013 02:55:22 +0100 Subject: [Gambas-user] gb.args - a question In-Reply-To: <1360967381.19426.6.camel@...2688...> References: <1360966058.7594.11.camel@...3024...> <1360967381.19426.6.camel@...2688...> Message-ID: <1360979722.7594.17.camel@...3024...> On Sat, 2013-02-16 at 08:59 +1030, Bruce wrote: > On Fri, 2013-02-15 at 23:07 +0100, Willy Raets wrote: > > > > > 3. For: Arguments -a > > Arguments: argument missing for option -a > > > > How do I get this -a to work? What am I missing? > > Any suggestions or a small example would do miracles. > > > > Args.Get(...) returns a string value, as you have correctly coded > "sAbout = Args.Get("a", "about", "To test gb.args in GUI application")" > > So, if you run the project using just > ./projname -a > then it correctly says "argument missing for option -a". > > Solution: > 1. Fix user :-) > > If you just want a program option, that is one that does not have an > associated value, then use Args.Has() > > e.g. > > Dim sAOption as Boolean > ... > sAOption=Args.Has("a",""about", "To test gb.args in GUI application") > ... > > Thanks Bruce, I tried this but instead of -a returning the info required it launches the application and thus is not recognised as a argument!! I did remove: sAbout = Args.Get("a", "about", "To test gb.args in GUI application") Did it have to stay in? And what if where now the line: "To test gb.args in GUI application" it should actually say: "Display about" as I see it when doing a -h And when doing the -a it should give: "To test gb.args in GUI application" So that should be the value returned, but how to return the value? And how to get the argument recognized? Willy From willy at ...2734... Sat Feb 16 03:32:36 2013 From: willy at ...2734... (Willy Raets) Date: Sat, 16 Feb 2013 03:32:36 +0100 Subject: [Gambas-user] gb.args - a question In-Reply-To: <1360979722.7594.17.camel@...3024...> References: <1360966058.7594.11.camel@...3024...> <1360967381.19426.6.camel@...2688...> <1360979722.7594.17.camel@...3024...> Message-ID: <1360981956.7594.26.camel@...3024...> On Sat, 2013-02-16 at 02:55 +0100, Willy Raets wrote: > On Sat, 2013-02-16 at 08:59 +1030, Bruce wrote: > > On Fri, 2013-02-15 at 23:07 +0100, Willy Raets wrote: > > Thanks Bruce, > > I tried this but instead of -a returning the info required it > launches the application and thus is not recognised as a argument!! > > I did remove: > sAbout = Args.Get("a", "about", "To test gb.args in GUI application") > > Did it have to stay in? > > And what if where now the line: > "To test gb.args in GUI application" > it should actually say: > "Display about" > as I see it when doing a -h > > And when doing the -a it should give: > "To test gb.args in GUI application" > So that should be the value returned, but how to return the value? > And how to get the argument recognized? > > Willy Okay Bruce, Thanks again, you got me on the right track and I got it solved showing me about info without launching the application. Here is how I did it: Public Sub Main() Dim bAOption As Boolean Args.Begin(Application.Name & " ") bAOption = Args.Has("a", "about", "Display About") Args.End() If bAOption Then Print "Application to test gb.args" Else FMain.Show Endif End When doing -h it now correctly states "Display About" for help with -a and --about When doing -a it now correctly returns "Application to test gb.args" (without the GUI application getting launched) Perfect, I think I'm slowly beginning to get a grasp at it. Public Sub Main() Dim bAOption As Boolean Args.Begin(Application.Name & " ") bAOption = Args.Has("a", "about", "Display About") Args.End() If bAOption Then Print "Application to test gb.args" Else FMain.Show Endif End Feel free to use this example in documentation if you like (or an adapted version for that matter). An example tells a whole lot more in way less time than studying the documentation, try, fail, study documentation, try, fail, study documentation, try, fail, search google, find nothing, post on mailing list, get answer, try, fail, study documentation, try, fail and so on... :) Thanks again Bruce for the spark... From taboege at ...626... Sat Feb 16 14:51:07 2013 From: taboege at ...626... (Tobias Boege) Date: Sat, 16 Feb 2013 14:51:07 +0100 Subject: [Gambas-user] gb.args - a question In-Reply-To: <1360981956.7594.26.camel@...3024...> References: <1360966058.7594.11.camel@...3024...> <1360967381.19426.6.camel@...2688...> <1360979722.7594.17.camel@...3024...> <1360981956.7594.26.camel@...3024...> Message-ID: <20130216135107.GB764@...2774...> On Sat, 16 Feb 2013, Willy Raets wrote: > Okay Bruce, > > Thanks again, you got me on the right track and I got it solved showing > me about info without launching the application. > > Here is how I did it: > > Public Sub Main() > > Dim bAOption As Boolean > Args.Begin(Application.Name & " ") > bAOption = Args.Has("a", "about", "Display About") > Args.End() > If bAOption Then > Print "Application to test gb.args" > Else > FMain.Show > Endif > > End > > When doing -h it now correctly states "Display About" for help > with -a and --about > When doing -a it now correctly returns "Application to test > gb.args" (without the GUI application getting launched) > > Perfect, I think I'm slowly beginning to get a grasp at it. > Public Sub Main() > > Dim bAOption As Boolean > Args.Begin(Application.Name & " ") > bAOption = Args.Has("a", "about", "Display About") > Args.End() > If bAOption Then > Print "Application to test gb.args" > Else > FMain.Show > Endif > > End > > Feel free to use this example in documentation if you like (or an > adapted version for that matter). An example tells a whole lot more in > way less time than studying the documentation, try, fail, study > documentation, try, fail, study documentation, try, fail, search google, > find nothing, post on mailing list, get answer, try, fail, study > documentation, try, fail and so on... :) > > Thanks again Bruce for the spark... Since gb.args is written in Gambas and implements -V and -h, it is an example itself. Look into comp/src/gb.args/.src/Args.module. It is done with those options there the same way inside Args.End(). I _believe_ that you can even save the bAOption variable by using: If Args.Has(...) Then Print "..." before calling Args.End(). Regards, Tobi From gambas at ...1... Sat Feb 16 15:47:52 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 16 Feb 2013 15:47:52 +0100 Subject: [Gambas-user] MySQLExample In-Reply-To: <000001ce0ad8$c6280bd0$0f00a8c0@...2829...> References: <000001ce0ad8$c6280bd0$0f00a8c0@...2829...> Message-ID: <511F9C18.40003@...1...> Le 14/02/2013 18:28, Christer Johansson a ?crit : > > Anyone else having problem with the MySQLExample 3.0.90 included in 3.3.4? > > When trying to connect to the server I get an error saying... > > File already exists > > and after I press OK on that dialog it says... > > modMain.Main.41::'Form.Refresh' is incorrecty overridden in class > 'FTables' > > I know the MySQL server is working since the Database example included in > Gambas 2 > works fine as well as other programs? The "MySQLExample" is made by David Villalobos Cambrenoro as an example of its "gb.mysql" component, which is actually a component build on top of Gambas mysql support that implements some specific MySQL features. In other words, you don't need to use it. Just use the standard "gb.db" component to connect to your MySQL server. If you really need the specific features of gb.mysql, let's hope David will fix the example! Regards, -- Beno?t Minisini From willy at ...2734... Sat Feb 16 16:31:22 2013 From: willy at ...2734... (Willy Raets) Date: Sat, 16 Feb 2013 16:31:22 +0100 Subject: [Gambas-user] gb.args - a question In-Reply-To: <20130216135107.GB764@...2774...> References: <1360966058.7594.11.camel@...3024...> <1360967381.19426.6.camel@...2688...> <1360979722.7594.17.camel@...3024...> <1360981956.7594.26.camel@...3024...> <20130216135107.GB764@...2774...> Message-ID: <1361028682.3209.2.camel@...3024...> On Sat, 2013-02-16 at 14:51 +0100, Tobias Boege wrote: > On Sat, 16 Feb 2013, Willy Raets wrote: > > Okay Bruce, > > > > Thanks again, you got me on the right track and I got it solved showing > > me about info without launching the application. > > > > Here is how I did it: > > > > Public Sub Main() > > > > Dim bAOption As Boolean > > Args.Begin(Application.Name & " ") > > bAOption = Args.Has("a", "about", "Display About") > > Args.End() > > If bAOption Then > > Print "Application to test gb.args" > > Else > > FMain.Show > > Endif > > > > End > > > > When doing -h it now correctly states "Display About" for help > > with -a and --about > > When doing -a it now correctly returns "Application to test > > gb.args" (without the GUI application getting launched) > > > > Perfect, I think I'm slowly beginning to get a grasp at it. > > Public Sub Main() > > > > Dim bAOption As Boolean > > Args.Begin(Application.Name & " ") > > bAOption = Args.Has("a", "about", "Display About") > > Args.End() > > If bAOption Then > > Print "Application to test gb.args" > > Else > > FMain.Show > > Endif > > > > End > > > > Feel free to use this example in documentation if you like (or an > > adapted version for that matter). An example tells a whole lot more in > > way less time than studying the documentation, try, fail, study > > documentation, try, fail, study documentation, try, fail, search google, > > find nothing, post on mailing list, get answer, try, fail, study > > documentation, try, fail and so on... :) > > > > Thanks again Bruce for the spark... > > Since gb.args is written in Gambas and implements -V and -h, it is an > example itself. Look into comp/src/gb.args/.src/Args.module. It is done with > those options there the same way inside Args.End(). I _believe_ that you can > even save the bAOption variable by using: If Args.Has(...) Then Print "..." > before calling Args.End(). > > Regards, > Tobi Thanks Tobi, The If Args,Has() Then Print seems very interesting. I think I'll have to have a look at the source of gb.args Guess that will give more insight :) But an example in the documentation wouldn't harm. Don't think a lot of us would look in gb,args source code for a solution :) -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From taboege at ...626... Sat Feb 16 17:03:28 2013 From: taboege at ...626... (Tobias Boege) Date: Sat, 16 Feb 2013 17:03:28 +0100 Subject: [Gambas-user] gb.net.curl FTPClient crash Message-ID: <20130216160328.GC764@...2774...> Hi Daniel, if I give an empty array to the FTPClient.Exec() method: --8<--------------- Dim h As New FTPClient h.Exec([""]) --8<--------------- the interpreter gets a segfault. I think you should either warn or do nothing in this case. Regards, Tobi From gambas at ...1... Sat Feb 16 18:08:25 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 16 Feb 2013 18:08:25 +0100 Subject: [Gambas-user] gb.net.curl FTPClient crash In-Reply-To: <20130216160328.GC764@...2774...> References: <20130216160328.GC764@...2774...> Message-ID: <511FBD09.4000505@...1...> Le 16/02/2013 17:03, Tobias Boege a ?crit : > Hi Daniel, > > if I give an empty array to the FTPClient.Exec() method: > > --8<--------------- > Dim h As New FTPClient > > h.Exec([""]) > --8<--------------- > > the interpreter gets a segfault. I think you should either warn or do > nothing in this case. > > Regards, > Tobi > Indeed. It should be fixed in revision #5551. Regards, -- Beno?t Minisini From richard.j.walker at ...247... Sat Feb 16 18:38:57 2013 From: richard.j.walker at ...247... (RICHARD WALKER) Date: Sat, 16 Feb 2013 17:38:57 +0000 Subject: [Gambas-user] Complex Extra Dependency In-Reply-To: <511D27CE.9020803@...1...> References: <511CA828.9030208@...626...> <20130214174735.GA527@...2774...> <511D263F.20609@...626...> <511D27CE.9020803@...1...> Message-ID: On 14/02/2013, Beno?t Minisini wrote: > Le 14/02/2013 19:00, John Rose a ?crit : >> Tobi, >> >> I wanted to see if anyone had run into this issue before. That was why I >> was vague. >> >> If I create the installation package without specifying gnome-panel as >> an Extra Dependency but run 'sudo apt-get install >> --no-install-recommends gnome-panel' before installing the app (from the >> created installation package), everything is fine. >> >> As you say, it would be useful to know if the"--no-install-recommends" >> option could be implemented in the Extra Dependencies step so that a >> user could install the app without running the above sudo apt-get >> commend. Any comments about this facility being made available in Gambas? >> >> Regards, >> John >> > > The installer tries to be distribution-agnostic. What does > "--no-install-recommends" do ? Normally, when a package is installed, > only the needed dependencies are installed, not the "recommended" > packages. Or am I wrong? > > -- > Beno?t Minisini > I cannot speak with any authority on this matter, but Mandriva and Mageia use a similar mechanism which can be "turned off" using the urpmi option "--no-suggests". This could well be handled differently by other distros' package managers for rpms. The problem I see with this is that suggested packages are _completely_ at the whim of the packager for any given distribution and there is less than no guarantee that any two or more distributions will package the same app with the same suggested additions. Furthermore, at least as far as rpmdrake (the gui tool using urpmi) is concerned, it is not obvious to the user which, if any, additional packages are "required" and which are "suggested". If we implement a "suggested package" handler in some package-independent way for Gambas application packages then we might also need some conditional logic to handle the different requirements of different distributions. This means, at the very least, that if a Gambas application developer determines that on distribution X, used for development, a required package can be used sans-suggests, then a good deal of research into other possible target distributions' versions of the same required package would be needed to determine if the same requirement option (no suggests) is relevant and/or possible. Ooops, got a bit carried away there. Hope the logic is clear:-) Richard From taboege at ...626... Sat Feb 16 19:16:02 2013 From: taboege at ...626... (Tobias Boege) Date: Sat, 16 Feb 2013 19:16:02 +0100 Subject: [Gambas-user] Problems working with FTPClient Message-ID: <20130216181602.GD764@...2774...> Hi, I have huge trouble working with the FTPClient.Exec() method (sanely) when it comes to data transfer. My goal is to get the directory contents of the root directory, for example. This is accomplished using the LIST command which is not implemented in FTPClient, so one must use Exec(). The problem is that this command needs a passive mode data channel... AFAICS, this _cannot_ be done with FTPClient alone as there is no way to tell it to open up a new socket to read from the server's passive socket and raise the Read event (or a PassiveRead event to keep the point of the passive connection). There should, IMHO, at least be something like a bPassive argument to FTPClient.Exec() or so to make the FTPClient aware of the fact that we want to get data in passive mode. I don't know how hard this could be with curl but there must be something like that already in the Get() method... I experimented a good hour with two plain sockets but didn't come to a satisfying result. Or am I totally blind and don't see the right way? Has anyone had experience with something like that already? Of course, there is still the "ftp" program which I'm going to use now. I just wanted to point this issue out. Regards, Tobi From taboege at ...626... Sat Feb 16 19:57:10 2013 From: taboege at ...626... (Tobias Boege) Date: Sat, 16 Feb 2013 19:57:10 +0100 Subject: [Gambas-user] gb.net.curl FTPClient crash In-Reply-To: <511FBD09.4000505@...1...> References: <20130216160328.GC764@...2774...> <511FBD09.4000505@...1...> Message-ID: <20130216185710.GE764@...2774...> On Sat, 16 Feb 2013, Beno?t Minisini wrote: > Le 16/02/2013 17:03, Tobias Boege a ?crit : > > Hi Daniel, > > > > if I give an empty array to the FTPClient.Exec() method: > > > > --8<--------------- > > Dim h As New FTPClient > > > > h.Exec([""]) > > --8<--------------- > > > > the interpreter gets a segfault. I think you should either warn or do > > nothing in this case. > > > > Regards, > > Tobi > > > > Indeed. It should be fixed in revision #5551. > This does not fix it (GB.Array.Count() correctly returns non-zero in the above case; the element is empty not the array, sorry for my unclear words). I've taken the liberty to commit a working fix as I couldn't resist looking at the code now. Regards, Tobi From gambas at ...1... Sat Feb 16 20:00:17 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 16 Feb 2013 20:00:17 +0100 Subject: [Gambas-user] Problems working with FTPClient In-Reply-To: <20130216181602.GD764@...2774...> References: <20130216181602.GD764@...2774...> Message-ID: <511FD741.9080402@...1...> Le 16/02/2013 19:16, Tobias Boege a ?crit : > Hi, > > I have huge trouble working with the FTPClient.Exec() method (sanely) when > it comes to data transfer. > > My goal is to get the directory contents of the root directory, for example. > This is accomplished using the LIST command which is not implemented in > FTPClient, so one must use Exec(). The problem is that this command needs a > passive mode data channel... > > AFAICS, this _cannot_ be done with FTPClient alone as there is no way to > tell it to open up a new socket to read from the server's passive socket and > raise the Read event (or a PassiveRead event to keep the point of the > passive connection). > > There should, IMHO, at least be something like a bPassive argument to > FTPClient.Exec() or so to make the FTPClient aware of the fact that we want > to get data in passive mode. I don't know how hard this could be with curl > but there must be something like that already in the Get() method... > > I experimented a good hour with two plain sockets but didn't come to a > satisfying result. Or am I totally blind and don't see the right way? Has > anyone had experience with something like that already? > > Of course, there is still the "ftp" program which I'm going to use now. I > just wanted to point this issue out. > > Regards, > Tobi > FtpCLient is based on libcurl. So if libcurl allows passive mode, it should be easy to add it... -- Beno?t Minisini From gambas at ...1... Sat Feb 16 20:04:01 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 16 Feb 2013 20:04:01 +0100 Subject: [Gambas-user] Problems working with FTPClient In-Reply-To: <511FD741.9080402@...1...> References: <20130216181602.GD764@...2774...> <511FD741.9080402@...1...> Message-ID: <511FD821.9030601@...1...> Le 16/02/2013 20:00, Beno?t Minisini a ?crit : > Le 16/02/2013 19:16, Tobias Boege a ?crit : >> Hi, >> >> I have huge trouble working with the FTPClient.Exec() method (sanely) >> when >> it comes to data transfer. >> >> My goal is to get the directory contents of the root directory, for >> example. >> This is accomplished using the LIST command which is not implemented in >> FTPClient, so one must use Exec(). The problem is that this command >> needs a >> passive mode data channel... >> >> AFAICS, this _cannot_ be done with FTPClient alone as there is no way to >> tell it to open up a new socket to read from the server's passive >> socket and >> raise the Read event (or a PassiveRead event to keep the point of the >> passive connection). >> >> There should, IMHO, at least be something like a bPassive argument to >> FTPClient.Exec() or so to make the FTPClient aware of the fact that we >> want >> to get data in passive mode. I don't know how hard this could be with >> curl >> but there must be something like that already in the Get() method... >> >> I experimented a good hour with two plain sockets but didn't come to a >> satisfying result. Or am I totally blind and don't see the right way? Has >> anyone had experience with something like that already? >> >> Of course, there is still the "ftp" program which I'm going to use now. I >> just wanted to point this issue out. >> >> Regards, >> Tobi >> > > FtpCLient is based on libcurl. So if libcurl allows passive mode, it > should be easy to add it... > libcurl uses passive mode by default apparently. And you must not use sockets to deal with FtpClient. FtpClient is the object you have to read in asynchronous mode. -- Beno?t Minisini From gambas at ...1... Sat Feb 16 20:16:10 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 16 Feb 2013 20:16:10 +0100 Subject: [Gambas-user] gb.net.curl FTPClient crash In-Reply-To: <20130216185710.GE764@...2774...> References: <20130216160328.GC764@...2774...> <511FBD09.4000505@...1...> <20130216185710.GE764@...2774...> Message-ID: <511FDAFA.9010303@...1...> Le 16/02/2013 19:57, Tobias Boege a ?crit : > On Sat, 16 Feb 2013, Beno?t Minisini wrote: >> Le 16/02/2013 17:03, Tobias Boege a ?crit : >>> Hi Daniel, >>> >>> if I give an empty array to the FTPClient.Exec() method: >>> >>> --8<--------------- >>> Dim h As New FTPClient >>> >>> h.Exec([""]) >>> --8<--------------- >>> >>> the interpreter gets a segfault. I think you should either warn or do >>> nothing in this case. >>> >>> Regards, >>> Tobi >>> >> >> Indeed. It should be fixed in revision #5551. >> > > This does not fix it (GB.Array.Count() correctly returns non-zero in the > above case; the element is empty not the array, sorry for my unclear words). > > I've taken the liberty to commit a working fix as I couldn't resist looking > at the code now. > > Regards, > Tobi > Oops. Next time I will read your mail more carefully! -- Beno?t Minisini From taboege at ...626... Sat Feb 16 20:33:13 2013 From: taboege at ...626... (Tobias Boege) Date: Sat, 16 Feb 2013 20:33:13 +0100 Subject: [Gambas-user] Problems working with FTPClient In-Reply-To: <511FD821.9030601@...1...> References: <20130216181602.GD764@...2774...> <511FD741.9080402@...1...> <511FD821.9030601@...1...> Message-ID: <20130216193313.GF764@...2774...> On Sat, 16 Feb 2013, Beno?t Minisini wrote: > Le 16/02/2013 20:00, Beno?t Minisini a ?crit : > > Le 16/02/2013 19:16, Tobias Boege a ?crit : > >> Hi, > >> > >> I have huge trouble working with the FTPClient.Exec() method (sanely) > >> when > >> it comes to data transfer. > >> > >> My goal is to get the directory contents of the root directory, for > >> example. > >> This is accomplished using the LIST command which is not implemented in > >> FTPClient, so one must use Exec(). The problem is that this command > >> needs a > >> passive mode data channel... > >> > >> AFAICS, this _cannot_ be done with FTPClient alone as there is no way to > >> tell it to open up a new socket to read from the server's passive > >> socket and > >> raise the Read event (or a PassiveRead event to keep the point of the > >> passive connection). > >> > >> There should, IMHO, at least be something like a bPassive argument to > >> FTPClient.Exec() or so to make the FTPClient aware of the fact that we > >> want > >> to get data in passive mode. I don't know how hard this could be with > >> curl > >> but there must be something like that already in the Get() method... > >> > >> I experimented a good hour with two plain sockets but didn't come to a > >> satisfying result. Or am I totally blind and don't see the right way? Has > >> anyone had experience with something like that already? > >> > >> Of course, there is still the "ftp" program which I'm going to use now. I > >> just wanted to point this issue out. > >> > >> Regards, > >> Tobi > >> > > > > FtpCLient is based on libcurl. So if libcurl allows passive mode, it > > should be easy to add it... > > > > libcurl uses passive mode by default apparently. > > And you must not use sockets to deal with FtpClient. FtpClient is the > object you have to read in asynchronous mode. OK. I see the transfer delay in my application when using Exec(["LIST"]). The data seems to get to through to curl. But as a matter of fact, there is no way to access this data using FtpClient. It seems to be pretty straightforward to add my bPassive argument. Shall I try? Regards, Tobi From gambas at ...1... Sat Feb 16 20:44:28 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 16 Feb 2013 20:44:28 +0100 Subject: [Gambas-user] Problems working with FTPClient In-Reply-To: <20130216193313.GF764@...2774...> References: <20130216181602.GD764@...2774...> <511FD741.9080402@...1...> <511FD821.9030601@...1...> <20130216193313.GF764@...2774...> Message-ID: <511FE19C.1070804@...1...> Le 16/02/2013 20:33, Tobias Boege a ?crit : >> libcurl uses passive mode by default apparently. >> >> And you must not use sockets to deal with FtpClient. FtpClient is the >> object you have to read in asynchronous mode. > > OK. I see the transfer delay in my application when using Exec(["LIST"]). > The data seems to get to through to curl. But as a matter of fact, there is > no way to access this data using FtpClient. > > It seems to be pretty straightforward to add my bPassive argument. Shall I > try? > > Regards, > Tobi > Do you use FtpClient in synchronous or asynchronous mode? Don't FtpClient raise its Read event when running the command? -- Beno?t Minisini From ron at ...1740... Sat Feb 16 20:53:58 2013 From: ron at ...1740... (Ron) Date: Sat, 16 Feb 2013 20:53:58 +0100 Subject: [Gambas-user] gb.pcre behaviour with Gambas3 Message-ID: Hi, I noticed that the behavior of the gb.pcre component has changed in Gambas3 compared to Gambas2. This use to work: PRIVATE FUNCTION GetData(sRaw AS String) AS String[] DIM rReg AS NEW Regexp DIM aMatches AS NEW String[] DIM sTmp AS String sTmp = sRaw rReg.Compile("\x03\x03(\\w+)\r\n") rReg.Exec(sTmp) DO WHILE rReg.Text <> "" aMatches.Add(rReg.Text) sTmp = Mid(sTmp, rReg.Offset + 2) rReg.Exec(sTmp) LOOP RETURN aMatches END But it doesn't anymore because in Gambas3 when a pattern isn't found rReg.Text is NULL instead of empty like in Gambas2. So it errors out because you cannot check a NULL object like this. It this done by design or a bug? I change the code to whe one below, which is cleaner, but without knowing the above it may brake converted programs. Private Function GetData(sRaw As String) As String[] Dim rReg As New Regexp Dim aMatches As New String[] Dim iCnt As Integer rReg.Compile("\x03\x03(\\w+)\r\n") rReg.Exec(sRaw) For iCnt = 0 To rReg.SubMatches.Count - 1 aMatches.Add(rReg.SubMatches[iCnt].Text) Next Return aMatches End Regards, Ron. From gambas at ...2524... Sat Feb 16 21:39:33 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 16 Feb 2013 20:39:33 +0000 Subject: [Gambas-user] Issue 406 in gambas: Bug in project form design: the forms are not visibles! Message-ID: <0-6813199134517018827-5603418115373839323-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 406 by marearoj... at ...626...: Bug in project form design: the forms are not visibles! http://code.google.com/p/gambas/issues/detail?id=406 In te project form design the forms and there components are NOT visibles. But in execution they YES are visibles. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): This is from system report: [System] OperatingSystem=Linux Kernel=3.5.0-24-generic Architecture=x86 Distribution=Ubuntu 12.10 Desktop=KDE4 Theme=Oxygen Language=it_IT.UTF-8 Memory=2008M [Libraries] GStreamer=libgstreamer-0.10.so.0.30.0 GTK+=libgtk-x11-2.0.so.0.2400.13 Poppler=libpoppler.so.28.0.0 Qt4=libQtCore.so.4.8.3 SDL=libSDL-1.2.so.0.11.4 Version: Gambas 3.4 Revision: r1234 (if you use a development version) Operating system: Linux / FreeBSD Distribution: Ubuntu (kubuntu) Architecture: x86 GUI component: QT4 o GTK+ (indifferent) Desktop used: KDE -- 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... Sat Feb 16 21:38:39 2013 From: taboege at ...626... (Tobias Boege) Date: Sat, 16 Feb 2013 21:38:39 +0100 Subject: [Gambas-user] Problems working with FTPClient In-Reply-To: <511FE19C.1070804@...1...> References: <20130216181602.GD764@...2774...> <511FD741.9080402@...1...> <511FD821.9030601@...1...> <20130216193313.GF764@...2774...> <511FE19C.1070804@...1...> Message-ID: <20130216203839.GG764@...2774...> On Sat, 16 Feb 2013, Beno?t Minisini wrote: > Le 16/02/2013 20:33, Tobias Boege a ?crit : > >> libcurl uses passive mode by default apparently. > >> > >> And you must not use sockets to deal with FtpClient. FtpClient is the > >> object you have to read in asynchronous mode. > > > > OK. I see the transfer delay in my application when using Exec(["LIST"]). > > The data seems to get to through to curl. But as a matter of fact, there is > > no way to access this data using FtpClient. > > > > It seems to be pretty straightforward to add my bPassive argument. Shall I > > try? > > > > Regards, > > Tobi > > > > Do you use FtpClient in synchronous or asynchronous mode? > It doesn't work with either mode. > Don't FtpClient raise its Read event when running the command? True. AFAICS, it is only raised when Get() is executed without an argument and operates asynchronously? I attached a sample project showing the PWD and LIST commands. The former doesn't need passive mode, the latter does. However, I couldn't get either one to do any output. Additionally, FtpClient.Get() can be executed without argument and asynchronously - nothing happens here. The application seems to hang. Regards, Tobi -------------- next part -------------- A non-text attachment was scrubbed... Name: ftpclient-0.0.1.tar.gz Type: application/octet-stream Size: 5220 bytes Desc: not available URL: From taboege at ...626... Sat Feb 16 21:47:59 2013 From: taboege at ...626... (Tobias Boege) Date: Sat, 16 Feb 2013 21:47:59 +0100 Subject: [Gambas-user] Problems working with FTPClient In-Reply-To: <20130216203839.GG764@...2774...> References: <20130216181602.GD764@...2774...> <511FD741.9080402@...1...> <511FD821.9030601@...1...> <20130216193313.GF764@...2774...> <511FE19C.1070804@...1...> <20130216203839.GG764@...2774...> Message-ID: <20130216204759.GH764@...2774...> On Sat, 16 Feb 2013, Tobias Boege wrote: > On Sat, 16 Feb 2013, Beno?t Minisini wrote: > > Le 16/02/2013 20:33, Tobias Boege a ?crit : > > >> libcurl uses passive mode by default apparently. > > >> > > >> And you must not use sockets to deal with FtpClient. FtpClient is the > > >> object you have to read in asynchronous mode. > > > > > > OK. I see the transfer delay in my application when using Exec(["LIST"]). > > > The data seems to get to through to curl. But as a matter of fact, there is > > > no way to access this data using FtpClient. > > > > > > It seems to be pretty straightforward to add my bPassive argument. Shall I > > > try? > > > > > > Regards, > > > Tobi > > > > > > > Do you use FtpClient in synchronous or asynchronous mode? > > > > It doesn't work with either mode. > > > Don't FtpClient raise its Read event when running the command? > > True. AFAICS, it is only raised when Get() is executed without an argument > and operates asynchronously? > > I attached a sample project showing the PWD and LIST commands. The former > doesn't need passive mode, the latter does. However, I couldn't get either > one to do any output. > > Additionally, FtpClient.Get() can be executed without argument and > asynchronously - nothing happens here. The application seems to hang. > > Regards, > Tobi Ahh! I must not use "Line Input #Last, sLine" but "Read #Last, sFile, Lof(Last)" to make the Read event trigger for FtpClient.Get(). I hope you can tell me why. The problem persists, however, with the calls to Exec(). There's no way to read their data. Regards, Tobi From gambas at ...1... Sat Feb 16 23:35:14 2013 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Sat, 16 Feb 2013 23:35:14 +0100 Subject: [Gambas-user] Paint.Begin() and printer.print In-Reply-To: <511979AC.6060202@...1...> References: <1357681572.8809.10.camel@...40...> <50EC94A9.2060807@...1...> <1357726305.2323.42.camel@...40...> <50ED43E9.3020607@...1...> <1358247675.2264.11.camel@...40...> <1360613960.2352.56.camel@...40...> <511979AC.6060202@...1...> Message-ID: <512009A2.5020807@...1...> Le 12/02/2013 00:07, Beno?t Minisini a ?crit : > Le 11/02/2013 21:19, Charlie Reinl a ?crit : >> >> Sorry, but do you have news about that! >> The example is attached on the mail sent 15.01.2013. >> > > Sorry, I didn't mark your mail as important, so I forgot to look at it... > OK, I looked at your code: Gambas is right, and your code is wrong. The code at _SwitchNext:247 in the library uses the FMain automatic instance, which is different from the FMain instance created at FMain1:21 in the main project. So it cannot work as expected. Regards, -- Beno?t Minisini From gambas at ...2524... Sun Feb 17 00:31:10 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 16 Feb 2013 23:31:10 +0000 Subject: [Gambas-user] Issue 407 in gambas: Gambas doesn't compile on Debian Wheezy Message-ID: <0-6813199134517018827-17781001610058318380-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-3.4.0 Type-Other Priority-Medium OpSys-Linux Dist-Debian Arch-X86-64 Desktop-Gnome GUI-QT4 New issue 407 by phber... at ...626...: Gambas doesn't compile on Debian Wheezy http://code.google.com/p/gambas/issues/detail?id=407 1) Failed to compile Gambas on Debian Wheezy/Sid. 2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate): Version: Gambas 3-3.4.0 Revision: none Operating system: Linux Distribution: DEBIAN Wheezy/Sid Architecture: x86_64 Proc: Intel Pentium G620 GUI component: QT4 Desktop used: Gnome3 Attachments: output.txt 1018 bytes -- 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 Feb 17 00:36:31 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 16 Feb 2013 23:36:31 +0000 Subject: [Gambas-user] Issue 407 in gambas: Gambas doesn't compile on Debian Wheezy In-Reply-To: <0-6813199134517018827-17781001610058318380-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-17781001610058318380-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-17781001610058318380-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Comment #1 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 It seems to be an authorization problem on your disk. Please recompile from scratch as a normal user in a new directory and send the *full* output of configuration and compilation process. -- 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 Feb 17 00:37:31 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 16 Feb 2013 23:37:31 +0000 Subject: [Gambas-user] Issue 406 in gambas: Bug in project form design: the forms are not visibles! In-Reply-To: <0-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Labels: -Version Version-3.4.0 Comment #1 on issue 406 by benoit.m... at ...626...: Bug in project form design: the forms are not visibles! http://code.google.com/p/gambas/issues/detail?id=406 r1234 is not the valid revision version. Please send a project that reproduces the bug. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...1... Sun Feb 17 01:50:09 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 17 Feb 2013 01:50:09 +0100 Subject: [Gambas-user] Problems working with FTPClient In-Reply-To: <20130216204759.GH764@...2774...> References: <20130216181602.GD764@...2774...> <511FD741.9080402@...1...> <511FD821.9030601@...1...> <20130216193313.GF764@...2774...> <511FE19C.1070804@...1...> <20130216203839.GG764@...2774...> <20130216204759.GH764@...2774...> Message-ID: <51202941.4000904@...1...> Le 16/02/2013 21:47, Tobias Boege a ?crit : > On Sat, 16 Feb 2013, Tobias Boege wrote: >> On Sat, 16 Feb 2013, Beno?t Minisini wrote: >>> Le 16/02/2013 20:33, Tobias Boege a ?crit : >>>>> libcurl uses passive mode by default apparently. >>>>> >>>>> And you must not use sockets to deal with FtpClient. FtpClient is the >>>>> object you have to read in asynchronous mode. >>>> >>>> OK. I see the transfer delay in my application when using Exec(["LIST"]). >>>> The data seems to get to through to curl. But as a matter of fact, there is >>>> no way to access this data using FtpClient. >>>> >>>> It seems to be pretty straightforward to add my bPassive argument. Shall I >>>> try? >>>> >>>> Regards, >>>> Tobi >>>> >>> >>> Do you use FtpClient in synchronous or asynchronous mode? >>> >> >> It doesn't work with either mode. >> >>> Don't FtpClient raise its Read event when running the command? >> >> True. AFAICS, it is only raised when Get() is executed without an argument >> and operates asynchronously? >> >> I attached a sample project showing the PWD and LIST commands. The former >> doesn't need passive mode, the latter does. However, I couldn't get either >> one to do any output. >> >> Additionally, FtpClient.Get() can be executed without argument and >> asynchronously - nothing happens here. The application seems to hang. >> >> Regards, >> Tobi > > Ahh! I must not use "Line Input #Last, sLine" but > "Read #Last, sFile, Lof(Last)" to make the Read event trigger for > FtpClient.Get(). I hope you can tell me why. > > The problem persists, however, with the calls to Exec(). There's no way to > read their data. > > Regards, > Tobi > I have fix some problems in the Read event handler of curl objects in revision #5553. But indeed, commands sent with the Exec() methods cannot read or write any data. To get the equivalent of the "LIST" command, issue a Get() on a FTP directory. Regards, -- Beno?t Minisini From bbruen at ...2308... Sun Feb 17 02:03:19 2013 From: bbruen at ...2308... (Bruce) Date: Sun, 17 Feb 2013 11:33:19 +1030 Subject: [Gambas-user] gb.args - a question In-Reply-To: <1361028682.3209.2.camel@...3024...> References: <1360966058.7594.11.camel@...3024...> <1360967381.19426.6.camel@...2688...> <1360979722.7594.17.camel@...3024...> <1360981956.7594.26.camel@...3024...> <20130216135107.GB764@...2774...> <1361028682.3209.2.camel@...3024...> Message-ID: <1361062999.19426.94.camel@...2688...> On Sat, 2013-02-16 at 16:31 +0100, Willy Raets wrote: > On Sat, 2013-02-16 at 14:51 +0100, Tobias Boege wrote: > > On Sat, 16 Feb 2013, Willy Raets wrote: > > > Okay Bruce, > > > > > > Thanks again, you got me on the right track and I got it solved showing > > > me about info without launching the application. > > > > > > Here is how I did it: > > > > > > Public Sub Main() > > > > > > Dim bAOption As Boolean > > > Args.Begin(Application.Name & " ") > > > bAOption = Args.Has("a", "about", "Display About") > > > Args.End() > > > If bAOption Then > > > Print "Application to test gb.args" > > > Else > > > FMain.Show > > > Endif > > > > > > End > > > > > > When doing -h it now correctly states "Display About" for help > > > with -a and --about > > > When doing -a it now correctly returns "Application to test > > > gb.args" (without the GUI application getting launched) > > > > > > Perfect, I think I'm slowly beginning to get a grasp at it. > > > Public Sub Main() > > > > > > Dim bAOption As Boolean > > > Args.Begin(Application.Name & " ") > > > bAOption = Args.Has("a", "about", "Display About") > > > Args.End() > > > If bAOption Then > > > Print "Application to test gb.args" > > > Else > > > FMain.Show > > > Endif > > > > > > End > > > > > > Feel free to use this example in documentation if you like (or an > > > adapted version for that matter). An example tells a whole lot more in > > > way less time than studying the documentation, try, fail, study > > > documentation, try, fail, study documentation, try, fail, search google, > > > find nothing, post on mailing list, get answer, try, fail, study > > > documentation, try, fail and so on... :) > > > > > > Thanks again Bruce for the spark... > > > > Since gb.args is written in Gambas and implements -V and -h, it is an > > example itself. Look into comp/src/gb.args/.src/Args.module. It is done with > > those options there the same way inside Args.End(). I _believe_ that you can > > even save the bAOption variable by using: If Args.Has(...) Then Print "..." > > before calling Args.End(). > > > > Regards, > > Tobi > > Thanks Tobi, > > The If Args,Has() Then Print seems very interesting. > I think I'll have to have a look at the source of gb.args > Guess that will give more insight :) > But an example in the documentation wouldn't harm. > Don't think a lot of us would look in gb,args source code for a > solution :) > As Tobi says, you can use Args.Has (and the Args.Get's) directly in an If statement. However, I advocate not doing that for the following reasons. a) maybe not now but a future requirement may introduce dependencies between program options. Since you have no control over the order in which the user presents the options, the conditional code can get messy. b) also, branching out of a single, linear Args.Begin...Args.End code block may give rise to interpreter problems. Your mileage may vary, but I believe that a single linear process for detecting CLI options, setting local or global vars as necessary to be "better". I have attached a "heavily documented" version of my demo_gbargs. Someone may care to place it or its contents where they will do the most good. (I have recently broken my access to both the wiki and the sourceforge - at my end not yours, so I can't upload it anywhere but here. *** Correction - I tried to attach it, but for some reason I cannot make a source archive for the project, so I have attached the source file. Hope it is of some use. regards Bruce -------------- next part -------------- ' Gambas module file ''' Demonstrates the use of gb.args for command line option processing.

''' Note: The code is documented as follows:
''' An option is an optional token that can be entered by the user, it may be a simple ''' switch or a token that requires a value (the argument)

''' Some further notes
    '''
  1. the token " -- " (note required spaces) delimits option processing. Any and all tokens ''' encountered on the command line after this token are treated as literal strings and are returned by ''' Args.End(). This makes it possible for the user to include literals begining with a "-". For example: '''
    ./demo_gbargs -t=3 -- Ahab Bhab -visual
    ''' Args.End will return ["Ahab","Bhab","-visual"]
  2. '''
  3. Value argument for string options (Args.Get) containing spaces need to be single quoted by the user. If so they ''' are handled properly by gb.args, for example: '''
    ./demo_gbargs -c 'A string with spaces'
    ''' Args.Get("c","compile") will return the single string "A string with spaces"
  4. '''
  5. When using Project Properties Environment tab to provide command line options, any option that takes a value argument ''' must be entered as separate rows in the list. So, for this project, to specifiy -t add two entried in the Arguments list, the first being "t" ''' and the second being its value
  6. '''
Public Sub Main() Dim bReconf As Boolean Dim iTimes As Integer ' = 1 Dim fVal As Float Dim sTarget As String Dim aLeftovers As String[] ' The old way ' ----------- ' For idx = 1 To Application.Args.Count - 1 ' decide what the option is, whether it has an argument, process it accordingly... ' Next ' The gb.args way ' --------------- ' All CLI option processing must start with Args.Begin, which can contain an optional string parameter ' which is displayed at the beginning of the output when -h is present. Args.Begin("(c)2013 Paddys-Hill Dot Net\n\nThis program does nothing but demonstrate gb.args") ' Now process all the options (in the order you wish, i.e. no dependence on the order the user provided them!) ' ' Args.Has returns a boolean value, True if the option is present on the command line. This is used for simple ' program switches, i.e. they have no argument and are either present or absent. Args.Has takes two required parameters, ' the short and long option strings, and an optional "help text" that is presented to the user when the program is invoked ' with the -h option. bReconf = Args.Has("r", "reconfigure", "Reconfigure the program") ' N.B. Args.Has can also be used directly, as in ... ' If Args.Has("a","all","text...") ' Args.GetInteger returns an integer value, if both the option and its argument are present on the command line! ' (If the user just specifies the option without the accompanying value, the program is halted with the error message: ' "argument missing for option -?" or "argument missing for option --?" (where ? is either the short or long option as ' specified by the user) ' Args.GetInteger takes 2 required parameters, the short and long option strings, and 3 optional parameters that specify: ' a) the "help text" (as per Args.Has) ' b) a string that is shown on the option help line, indicating the value argument required (for example, the option help ' line for the below is displayed as "-t --times Requires an integer argument") ' c) a default value that will be used if the option and argument is not present on the command line. iTimes = Args.GetInteger("t", "times", "Requires an integer argument", "int", 21) ' Args.GetFloat returns a float value, if both the option and its argument are present on the command line! ' (If the user just specifies the option without tha accompanying value, the program is halted with the error ' message as per Args.GetInteger. ' Args.GetFloat takes similar parameters to Args.GetInteger. fval = Args.GetFloat("v", "value", "Requires a float argument", "float", 3.1412) ' Args.Get returns a string value, if both the option and its argument are present on the command line! ' (If the user just specifies the option without tha accompanying value, the program is halted with the error ' message as per Args.GetInteger. ' Args.GetInteger takes 2 required parameters, the short and long option strings, and 2 optional parameters that specify: ' a) the "help text" (as per Args.Has) ' b) a string that is shown on the option help line, indicating the value argument required (for example, the option help ' line for the below is displayed as "") ' N.B. There is no default value parameter! sTarget = Args.Get("c", "compile", "Another dummy argument", "Target") ' Finally, Args.End returns any leftover tokens on the command line as a string array. (Typically this might be ' a list of files to process. ' MORE IMPORTANTLY! The command line options processing must end with a call to Args.End ' Args.End takes no parameters. aLeftovers = Args.End() ' So now we have processed all the recognized options, we can go on with the program logic using those values. Print "count=" & Args.Count Print "reconfigure=" & bReconf Print "times=" & iTimes Print "value=" & fVal Print "compile=" & sTarget Print "other arguments=" & aleftovers.Join("|") ' Have fun! End From gambas at ...2524... Sun Feb 17 02:15:16 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 17 Feb 2013 01:15:16 +0000 Subject: [Gambas-user] Issue 406 in gambas: Bug in project form design: the forms are not visibles! In-Reply-To: <1-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> <0-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> Comment #2 on issue 406 by marearoj... at ...626...: Bug in project form design: the forms are not visibles! http://code.google.com/p/gambas/issues/detail?id=406 Wow! I've not write this revision number! I dont know the revision number but I'm sure that is the last version (3.4). 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 Feb 17 03:34:45 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 17 Feb 2013 02:34:45 +0000 Subject: [Gambas-user] Issue 407 in gambas: Gambas doesn't compile on Debian Wheezy In-Reply-To: <1-6813199134517018827-17781001610058318380-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-17781001610058318380-gambas=googlecode.com@...2524...> <0-6813199134517018827-17781001610058318380-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-17781001610058318380-gambas=googlecode.com@...2524...> Comment #2 on issue 407 by phber... at ...626...: Gambas doesn't compile on Debian Wheezy http://code.google.com/p/gambas/issues/detail?id=407 Bonjour, Merci de la r?ponse. J'ai proc?d? comme indiqu?. Le fichier output est joint (complet, j'esp?re...). Philippe Le 17/02/2013 10:36, gambas at ...2524... a ?crit : -- 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... Sun Feb 17 09:03:49 2013 From: taboege at ...626... (Tobias Boege) Date: Sun, 17 Feb 2013 09:03:49 +0100 Subject: [Gambas-user] Problems working with FTPClient In-Reply-To: <51202941.4000904@...1...> References: <20130216181602.GD764@...2774...> <511FD741.9080402@...1...> <511FD821.9030601@...1...> <20130216193313.GF764@...2774...> <511FE19C.1070804@...1...> <20130216203839.GG764@...2774...> <20130216204759.GH764@...2774...> <51202941.4000904@...1...> Message-ID: <20130217080349.GI764@...2774...> On Sun, 17 Feb 2013, Beno?t Minisini wrote: > Le 16/02/2013 21:47, Tobias Boege a ?crit : > >> True. AFAICS, it is only raised when Get() is executed without an argument > >> and operates asynchronously? > >> > >> I attached a sample project showing the PWD and LIST commands. The former > >> doesn't need passive mode, the latter does. However, I couldn't get either > >> one to do any output. > >> > >> Additionally, FtpClient.Get() can be executed without argument and > >> asynchronously - nothing happens here. The application seems to hang. > >> > >> Regards, > >> Tobi > > > > Ahh! I must not use "Line Input #Last, sLine" but > > "Read #Last, sFile, Lof(Last)" to make the Read event trigger for > > FtpClient.Get(). I hope you can tell me why. > > > > The problem persists, however, with the calls to Exec(). There's no way to > > read their data. > > > > Regards, > > Tobi > > > > I have fix some problems in the Read event handler of curl objects in > revision #5553. > Is this supposed to enable Line Input in the Read event? With the project attached to a previous mail, I get only some lines of the file (around the first few ones). Read at its place continues to give me the all. > But indeed, commands sent with the Exec() methods cannot read or write > any data. > > To get the equivalent of the "LIST" command, issue a Get() on a FTP > directory. > Yes, this works. Exactly the same output. Regards, Tobi From gambas at ...1... Sun Feb 17 12:24:43 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 17 Feb 2013 12:24:43 +0100 Subject: [Gambas-user] Problems working with FTPClient In-Reply-To: <20130217080349.GI764@...2774...> References: <20130216181602.GD764@...2774...> <511FD741.9080402@...1...> <511FD821.9030601@...1...> <20130216193313.GF764@...2774...> <511FE19C.1070804@...1...> <20130216203839.GG764@...2774...> <20130216204759.GH764@...2774...> <51202941.4000904@...1...> <20130217080349.GI764@...2774...> Message-ID: <5120BDFB.70602@...1...> Le 17/02/2013 09:03, Tobias Boege a ?crit : > On Sun, 17 Feb 2013, Beno?t Minisini wrote: >> Le 16/02/2013 21:47, Tobias Boege a ?crit : >>>> True. AFAICS, it is only raised when Get() is executed without an argument >>>> and operates asynchronously? >>>> >>>> I attached a sample project showing the PWD and LIST commands. The former >>>> doesn't need passive mode, the latter does. However, I couldn't get either >>>> one to do any output. >>>> >>>> Additionally, FtpClient.Get() can be executed without argument and >>>> asynchronously - nothing happens here. The application seems to hang. >>>> >>>> Regards, >>>> Tobi >>> >>> Ahh! I must not use "Line Input #Last, sLine" but >>> "Read #Last, sFile, Lof(Last)" to make the Read event trigger for >>> FtpClient.Get(). I hope you can tell me why. >>> >>> The problem persists, however, with the calls to Exec(). There's no way to >>> read their data. >>> >>> Regards, >>> Tobi >>> >> >> I have fix some problems in the Read event handler of curl objects in >> revision #5553. >> > > Is this supposed to enable Line Input in the Read event? With the project > attached to a previous mail, I get only some lines of the file (around the > first few ones). Read at its place continues to give me the all. In revision #5554, I changed the behaviour of the Read event so that it is raised while there is something to read by any i/o instruction. Now Line Input can be used as expected! Regards, -- Beno?t Minisini From taboege at ...626... Sun Feb 17 12:27:27 2013 From: taboege at ...626... (Tobias Boege) Date: Sun, 17 Feb 2013 12:27:27 +0100 Subject: [Gambas-user] Problems working with FTPClient In-Reply-To: <5120BDFB.70602@...1...> References: <20130216181602.GD764@...2774...> <511FD741.9080402@...1...> <511FD821.9030601@...1...> <20130216193313.GF764@...2774...> <511FE19C.1070804@...1...> <20130216203839.GG764@...2774...> <20130216204759.GH764@...2774...> <51202941.4000904@...1...> <20130217080349.GI764@...2774...> <5120BDFB.70602@...1...> Message-ID: <20130217112727.GJ764@...2774...> On Sun, 17 Feb 2013, Beno?t Minisini wrote: > Le 17/02/2013 09:03, Tobias Boege a ?crit : > > On Sun, 17 Feb 2013, Beno?t Minisini wrote: > >> Le 16/02/2013 21:47, Tobias Boege a ?crit : > >>>> True. AFAICS, it is only raised when Get() is executed without an argument > >>>> and operates asynchronously? > >>>> > >>>> I attached a sample project showing the PWD and LIST commands. The former > >>>> doesn't need passive mode, the latter does. However, I couldn't get either > >>>> one to do any output. > >>>> > >>>> Additionally, FtpClient.Get() can be executed without argument and > >>>> asynchronously - nothing happens here. The application seems to hang. > >>>> > >>>> Regards, > >>>> Tobi > >>> > >>> Ahh! I must not use "Line Input #Last, sLine" but > >>> "Read #Last, sFile, Lof(Last)" to make the Read event trigger for > >>> FtpClient.Get(). I hope you can tell me why. > >>> > >>> The problem persists, however, with the calls to Exec(). There's no way to > >>> read their data. > >>> > >>> Regards, > >>> Tobi > >>> > >> > >> I have fix some problems in the Read event handler of curl objects in > >> revision #5553. > >> > > > > Is this supposed to enable Line Input in the Read event? With the project > > attached to a previous mail, I get only some lines of the file (around the > > first few ones). Read at its place continues to give me the all. > > In revision #5554, I changed the behaviour of the Read event so that it > is raised while there is something to read by any i/o instruction. Now > Line Input can be used as expected! > Can confirm this. Are there any plans for the passive mode problem? I didn't get it working locally but I don't know libcurl. Thanks, Tobi From gambas at ...1... Sun Feb 17 12:45:17 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 17 Feb 2013 12:45:17 +0100 Subject: [Gambas-user] Problems working with FTPClient In-Reply-To: <20130217112727.GJ764@...2774...> References: <20130216181602.GD764@...2774...> <511FD741.9080402@...1...> <511FD821.9030601@...1...> <20130216193313.GF764@...2774...> <511FE19C.1070804@...1...> <20130216203839.GG764@...2774...> <20130216204759.GH764@...2774...> <51202941.4000904@...1...> <20130217080349.GI764@...2774...> <5120BDFB.70602@...1...> <20130217112727.GJ764@...2774...> Message-ID: <5120C2CD.5070305@...1...> Le 17/02/2013 12:27, Tobias Boege a ?crit : >> In revision #5554, I changed the behaviour of the Read event so that it >> is raised while there is something to read by any i/o instruction. Now >> Line Input can be used as expected! >> > > Can confirm this. > > Are there any plans for the passive mode problem? I didn't get it working > locally but I don't know libcurl. > > Thanks, > Tobi > I don't know what you are talking about. According to the libcurl doc, curl runs in passive mode by default, and manage it automatically. -- Beno?t Minisini From gambas at ...1... Sun Feb 17 13:19:20 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 17 Feb 2013 13:19:20 +0100 Subject: [Gambas-user] gb.pcre behaviour with Gambas3 In-Reply-To: References: Message-ID: <5120CAC8.8060505@...1...> Le 16/02/2013 20:53, Ron a ?crit : > Hi, > > I noticed that the behavior of the gb.pcre component has changed in > Gambas3 compared to Gambas2. > > This use to work: > > PRIVATE FUNCTION GetData(sRaw AS String) AS String[] > > DIM rReg AS NEW Regexp > DIM aMatches AS NEW String[] > DIM sTmp AS String > > sTmp = sRaw > rReg.Compile("\x03\x03(\\w+)\r\n") > rReg.Exec(sTmp) > > DO WHILE rReg.Text <> "" > aMatches.Add(rReg.Text) > sTmp = Mid(sTmp, rReg.Offset + 2) > rReg.Exec(sTmp) > LOOP > > RETURN aMatches > > END > > But it doesn't anymore because in Gambas3 when a pattern isn't found > rReg.Text is NULL instead of empty like in Gambas2. > So it errors out because you cannot check a NULL object like this. In Gambas, NULL = empty, so I don't understand your problem. Can you describe it more precisely? What you expect, and what you get instead? Thanks. -- Beno?t Minisini From ron at ...1740... Sun Feb 17 13:30:16 2013 From: ron at ...1740... (Ron) Date: Sun, 17 Feb 2013 13:30:16 +0100 Subject: [Gambas-user] gb.pcre behaviour with Gambas3 In-Reply-To: <5120CAC8.8060505@...1...> References: <5120CAC8.8060505@...1...> Message-ID: I'm sorry, I checked it again, but it wasn't reporting NULL but you get an 'Out of Bounds error' while checking rReg.Text <> "" See attached project and screenshot. Regards, Ron. 2013/2/17 Beno?t Minisini : > Le 16/02/2013 20:53, Ron a ?crit : >> Hi, >> >> I noticed that the behavior of the gb.pcre component has changed in >> Gambas3 compared to Gambas2. >> >> This use to work: >> >> PRIVATE FUNCTION GetData(sRaw AS String) AS String[] >> >> DIM rReg AS NEW Regexp >> DIM aMatches AS NEW String[] >> DIM sTmp AS String >> >> sTmp = sRaw >> rReg.Compile("\x03\x03(\\w+)\r\n") >> rReg.Exec(sTmp) >> >> DO WHILE rReg.Text <> "" >> aMatches.Add(rReg.Text) >> sTmp = Mid(sTmp, rReg.Offset + 2) >> rReg.Exec(sTmp) >> LOOP >> >> RETURN aMatches >> >> END >> >> But it doesn't anymore because in Gambas3 when a pattern isn't found >> rReg.Text is NULL instead of empty like in Gambas2. >> So it errors out because you cannot check a NULL object like this. > > In Gambas, NULL = empty, so I don't understand your problem. Can you > describe it more precisely? What you expect, and what you get instead? > > Thanks. > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, > is your hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials, tech docs, > whitepapers, evaluation guides, and opinion stories. Check out the most > recent posts - join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -------------- next part -------------- A non-text attachment was scrubbed... Name: regexp.png Type: image/png Size: 55515 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: RegExp-0.0.1.tar.gz Type: application/x-gzip Size: 4882 bytes Desc: not available URL: From taboege at ...626... Sun Feb 17 14:31:26 2013 From: taboege at ...626... (Tobias Boege) Date: Sun, 17 Feb 2013 14:31:26 +0100 Subject: [Gambas-user] Problems working with FTPClient In-Reply-To: <5120C2CD.5070305@...1...> References: <511FD821.9030601@...1...> <20130216193313.GF764@...2774...> <511FE19C.1070804@...1...> <20130216203839.GG764@...2774...> <20130216204759.GH764@...2774...> <51202941.4000904@...1...> <20130217080349.GI764@...2774...> <5120BDFB.70602@...1...> <20130217112727.GJ764@...2774...> <5120C2CD.5070305@...1...> Message-ID: <20130217133126.GK764@...2774...> On Sun, 17 Feb 2013, Beno?t Minisini wrote: > Le 17/02/2013 12:27, Tobias Boege a ?crit : > >> In revision #5554, I changed the behaviour of the Read event so that it > >> is raised while there is something to read by any i/o instruction. Now > >> Line Input can be used as expected! > >> > > > > Can confirm this. > > > > Are there any plans for the passive mode problem? I didn't get it working > > locally but I don't know libcurl. > > > > Thanks, > > Tobi > > > > I don't know what you are talking about. According to the libcurl doc, > curl runs in passive mode by default, and manage it automatically. > Doing FtpClient.Exec(["LIST"]), the FTP server errors at me that I have to "use PASV or PORT first". In this case, curl does not (and cannot) know that we want a passive transfer because we initiate the operation manually using Exec(). FtpClient.Exec(["PASV", "LIST"]) is not better since this opens a passive port on the server side to send the LIST command output but curl is not aware of this port because we, again, did it manually. Hence we cannot receive data from it. It's not a problem with LIST in particular because this can be emulated but there are other commands which require this mode of operation. Basically, I came into this misery because the FtpClient doesn't have a full FTP interface. The whole idea behind Exec() seems to be that the user should implement the commands the FtpClient lacks currently themselves: I could imagine Scan$()ing the server response from a PASV command and opening a normal Socket because it only needs to read once connected. The PASV response line looks like 227 Entering Passive Mode (208,118,235,20,109,227). (obtained via telnet) but this line is not available to a Gambas program either. You can see it with FtpClient.Debug = True but not access it with Gambas. This makes it impossible to capture the FTP responses and implement the missing stuff by hand. Do we agree up to this point? Thinking about it further, the FtpClient as it is now (using plain FTP without ssh or other security measures) can easily be implemented in Gambas alone. It is simply passing around strings over the network. It only needs a Socket or two and the Print instruction. Regards, Tobi From taboege at ...626... Sun Feb 17 14:44:27 2013 From: taboege at ...626... (Tobias Boege) Date: Sun, 17 Feb 2013 14:44:27 +0100 Subject: [Gambas-user] gb.pcre behaviour with Gambas3 In-Reply-To: References: <5120CAC8.8060505@...1...> Message-ID: <20130217134427.GL764@...2774...> On Sun, 17 Feb 2013, Ron wrote: > I'm sorry, I checked it again, but it wasn't reporting NULL but you > get an 'Out of Bounds error' while checking rReg.Text <> "" > RegExp.Text is a shortcut to RegExp.Submatches[0].Text and without match this is out of bounds. It's like this since as far back as I can remember. There definitely were Gambas2 versions which already raised this error. Use rReg.Offset <> -1 to check. Regards, Tobi From gambas at ...1... Sun Feb 17 17:27:19 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 17 Feb 2013 17:27:19 +0100 Subject: [Gambas-user] gb.pcre behaviour with Gambas3 In-Reply-To: References: <5120CAC8.8060505@...1...> Message-ID: <512104E7.90300@...1...> Le 17/02/2013 13:30, Ron a ?crit : > I'm sorry, I checked it again, but it wasn't reporting NULL but you > get an 'Out of Bounds error' while checking rReg.Text <> "" > > See attached project and screenshot. > > Regards, > Ron. > > The problem came from a bad error management, and should be fixed in revision #5555. Moreover, now the number of sub-matches is not limited to 66, but by the memory only. Regards, -- Beno?t Minisini From gambas at ...2524... Sun Feb 17 19:01:56 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 17 Feb 2013 18:01:56 +0000 Subject: [Gambas-user] Issue 406 in gambas: Bug in project form design: the forms are not visibles! In-Reply-To: <2-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> <0-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> Comment #3 on issue 406 by marearoj... at ...626...: Bug in project form design: the forms are not visibles! http://code.google.com/p/gambas/issues/detail?id=406 The original and correct message is this: In te project form design the forms and there components are NOT visibles. But in execution they YES are visibles. This is from system report: [System] OperatingSystem=Linux Kernel=3.5.0-24-generic Architecture=x86 Distribution=Ubuntu 12.10 Desktop=KDE4 Theme=Oxygen Language=it_IT.UTF-8 Memory=2008M [Libraries] GStreamer=libgstreamer-0.10.so.0.30.0 GTK+=libgtk-x11-2.0.so.0.2400.13 Poppler=libpoppler.so.28.0.0 Qt4=libQtCore.so.4.8.3 SDL=libSDL-1.2.so.0.11.4 Version: Gambas 3.4 Operating system: Linux / Kubuntu Distribution: Kubuntu 12.10 Architecture: x86 GUI component: QT4 o GTK+ (indifferent) Desktop used: KDE Error appear in every project and in every form, but only in design mode. I've added a print-screen to clearify Attachments: gambas3_error.jpg 97.1 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sun Feb 17 19:31:42 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 17 Feb 2013 18:31:42 +0000 Subject: [Gambas-user] Issue 406 in gambas: Bug in project form design: the forms are not visibles! In-Reply-To: <3-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> <0-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> Comment #4 on issue 406 by benoit.m... at ...626...: Bug in project form design: the forms are not visibles! http://code.google.com/p/gambas/issues/detail?id=406 I have no idea. I use the same distribution than you, and I have no problem. And apparently you are the only one having that problem, so I think there is something bad in your system configuration. What is the warning about system font configuration printed on the console? -- 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 lists at ...2828... Mon Feb 18 09:03:21 2013 From: lists at ...2828... (Christer Johansson) Date: Mon, 18 Feb 2013 09:03:21 +0100 Subject: [Gambas-user] Armhf packages in Gambas3 PPA In-Reply-To: <1360920212879-41105.post@...3046...> Message-ID: <000001ce0dae$cbf0a760$0f00a8c0@...2829...> Thanks for clarifying! /CJ > Well, actually, I did not plan that, because officially there > is no such armel release of Ubuntu. > At least, not now: > > http://cdimage.ubuntu.com/ubuntu-core/releases/12.04/release > http://cdimage.ubuntu.com/ubuntu-core/releases/12.10/release > http://cdimage.ubuntu.com/releases/12.04.2/release > http://cdimage.ubuntu.com/releases/12.10/release > > Only in the past: > > http://cdimage.ubuntu.com/ubuntu-core/releases/11.10/release > http://cdimage.ubuntu.com/releases/11.10/release > > And only two builders are available on the build farm > (seven releases in the > PPA). So they do not look good eye, and can not be allowed. > (And require a powerful hardware to run IDE.) From lists at ...2828... Mon Feb 18 09:05:59 2013 From: lists at ...2828... (Christer Johansson) Date: Mon, 18 Feb 2013 09:05:59 +0100 Subject: [Gambas-user] MySQLExample In-Reply-To: <511F9C18.40003@...1...> Message-ID: <000101ce0dae$ceb98b60$0f00a8c0@...2829...> OK, also found the Database example available in Gambas 3 so that should get me started. /CJ > The "MySQLExample" is made by David Villalobos Cambrenoro as > an example of its "gb.mysql" component, which is actually a component > build on top of Gambas mysql support that implements some specific MySQL features. > > In other words, you don't need to use it. Just use the > standard "gb.db" component to connect to your MySQL server. > > If you really need the specific features of gb.mysql, let's > hope David will fix the example! > > Regards, > > -- > Beno?t Minisini From lists at ...2828... Mon Feb 18 10:12:39 2013 From: lists at ...2828... (Christer Johansson) Date: Mon, 18 Feb 2013 10:12:39 +0100 Subject: [Gambas-user] Shared WiringPi library for RasPi Message-ID: <000001ce0db8$253be970$0f00a8c0@...2829...> Since I bumped into problems using Mike McCauley's bcm2835 library when trying to access the SPI-port on the Raspberry Pi from Gambas 3 I also made a shared lib version of WiringPi. This C lib is made by a gentleman named Gordon Henderson and _ALL_ credits belongs to him and not me, I just compiled a shared lib version so we can use his great work to interface with other hardware from the Raspberry Pi! Since I know here are a bunch of other Raspberry Pi owners on this list I just wanted to share the lib with you (along with a question)... Visit Gordon's website for more information on parameters etc. https://projects.drogon.net/raspberry-pi/wiringpi/ Installation ------------ 1. Copy "libwiringPi.so.1.0" to /usr/local/lib directory and run the following command to install ldconfig 2. Verify with following command that lists all shared libraries. ldconfig -v 3. Declare the functions in Gambas 3 with EXTERN command... Public Extern delay(millis As Integer) In "libwiringPi:1" NOTE: You must run your Gambas3 program as root else it won't work! Now a question to all the C pro's... I'm hoping to be able to get HW interrupts working on the GPIO with Gambas 3. Declaring delay() above was easy enough but the interrupt function looks like... int wiringPiISR (int pin, int edgeType, void (*function)(void)); So how do you declare the above in Gambas 3? I.e register a function that will be called to handle the interrupt? Any pointers appreciated... /CJ -------------- next part -------------- A non-text attachment was scrubbed... Name: shared_libwiringPi_130207.tar.gz Type: application/x-gzip Size: 18930 bytes Desc: not available URL: From gambas at ...1... Mon Feb 18 10:35:23 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Mon, 18 Feb 2013 10:35:23 +0100 Subject: [Gambas-user] Shared WiringPi library for RasPi In-Reply-To: <000001ce0db8$253be970$0f00a8c0@...2829...> References: <000001ce0db8$253be970$0f00a8c0@...2829...> Message-ID: <5121F5DB.6060603@...1...> Le 18/02/2013 10:12, Christer Johansson a ?crit : > Now a question to all the C pro's... I'm hoping to be able to get HW > interrupts working on the GPIO with Gambas 3. Declaring delay() above > was easy enough but the interrupt function looks like... > > int wiringPiISR (int pin, int edgeType, void (*function)(void)); > > So how do you declare the above in Gambas 3? I.e register a function that > will be called to handle the interrupt? Any pointers appreciated... > Extern wiringPiIsr(iPin As Integer, iEdgeType As Integer, pFunction As Pointer) In "lib..." ... And then you use the name of a static function as 'pFunction' argument when calling wiringPiIsr. Gambas will automatically create a internal callback that will execute the Gambas function through the interpreter as if it would be called directly like a C function. Regards, -- Beno?t Minisini From gambas at ...2524... Mon Feb 18 11:09:27 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 18 Feb 2013 10:09:27 +0000 Subject: [Gambas-user] Issue 406 in gambas: Bug in project form design: the forms are not visibles! In-Reply-To: <4-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> <0-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> Comment #5 on issue 406 by marearoj... at ...626...: Bug in project form design: the forms are not visibles! http://code.google.com/p/gambas/issues/detail?id=406 The warning msg is this: Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading configurations from ~/.fonts.conf is deprecated. Appear only when the application run Are there gambas3 logs files to read about the first problem? 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... Mon Feb 18 11:16:01 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 18 Feb 2013 10:16:01 +0000 Subject: [Gambas-user] Issue 406 in gambas: Bug in project form design: the forms are not visibles! In-Reply-To: <5-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> <0-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> Comment #6 on issue 406 by benoit.m... at ...626...: Bug in project form design: the forms are not visibles! http://code.google.com/p/gambas/issues/detail?id=406 There are no log files (what do you want to log???), and afaik you are the only one having this problem. - Can you try to run gambas3 from a fresh new user created just for that? - Can you try with a different widget theme? - A different desktop? - Can you run gambas3 from a terminal that way: "LC_ALL=C gambas3"? -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Mon Feb 18 11:52:13 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 18 Feb 2013 10:52:13 +0000 Subject: [Gambas-user] Issue 408 in gambas: Mouse scrolling Message-ID: <0-6813199134517018827-9852742319722666958-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-3.4.0 Type-Bug Priority-Medium OpSys-Linux Dist-Ubuntu Arch-Any Desktop-Gnome GUI-GTK New issue 408 by krisztiankende: Mouse scrolling http://code.google.com/p/gambas/issues/detail?id=408 Some controls of the mouse scrolling does not work properly. The slider moves to the scrolling, but the content is not. See the attachment, I created some examples... Version: Stable 3.4.0 from PPA Distribution: Ubuntu 12.10 (amd64) GUI component: GTK+ Desktop used: GNOME with Unity but the problem exists elsewhere Attachments: scrollbug.tar.gz 811 bytes -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Mon Feb 18 14:08:16 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 18 Feb 2013 13:08:16 +0000 Subject: [Gambas-user] Issue 406 in gambas: Bug in project form design: the forms are not visibles! In-Reply-To: <6-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> References: <6-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> <0-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> Message-ID: <7-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> Comment #7 on issue 406 by marearoj... at ...626...: Bug in project form design: the forms are not visibles! http://code.google.com/p/gambas/issues/detail?id=406 When I use a distinct user (Login with a new fresh user in kubuntu) gambas3 IDE it's ok! I've NOT this problem! -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Mon Feb 18 16:29:07 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 18 Feb 2013 15:29:07 +0000 Subject: [Gambas-user] Issue 406 in gambas: Bug in project form design: the forms are not visibles! In-Reply-To: <7-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> References: <7-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> <0-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> Message-ID: <8-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> Comment #8 on issue 406 by benoit.m... at ...626...: Bug in project form design: the forms are not visibles! http://code.google.com/p/gambas/issues/detail?id=406 So there is something in your home directory that prevents the IDE from working correctly. Can you try the other things I asked you? Can you try to play with oxygen theme specific options too? -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Mon Feb 18 18:48:22 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 18 Feb 2013 17:48:22 +0000 Subject: [Gambas-user] Issue 406 in gambas: Bug in project form design: the forms are not visibles! In-Reply-To: <8-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> References: <8-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> <0-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> Message-ID: <9-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> Comment #9 on issue 406 by marearoj... at ...626...: Bug in project form design: the forms are not visibles! http://code.google.com/p/gambas/issues/detail?id=406 I've tried to play with the same user (old user with gambas problem) changing theme 3 times (one of this is the oxygen's theme) but dont resolve! Running gambas3 with the "LC_ALL=C gambas3" way produce an output that I've added in attached file text: Attachments: out_gambas3.txt 8.6 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Mon Feb 18 18:52:13 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 18 Feb 2013 17:52:13 +0000 Subject: [Gambas-user] Issue 406 in gambas: Bug in project form design: the forms are not visibles! In-Reply-To: <9-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> References: <9-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> <0-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> Message-ID: <10-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> Comment #10 on issue 406 by marearoj... at ...626...: Bug in project form design: the forms are not visibles! http://code.google.com/p/gambas/issues/detail?id=406 Last metod too NOT resolve the problem. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Mon Feb 18 20:04:50 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 18 Feb 2013 19:04:50 +0000 Subject: [Gambas-user] Issue 406 in gambas: Bug in project form design: the forms are not visibles! In-Reply-To: <10-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> References: <10-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> <0-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> Message-ID: <11-6813199134517018827-5603418115373839323-gambas=googlecode.com@...2524...> Comment #11 on issue 406 by benoit.m... at ...626...: Bug in project form design: the forms are not visibles! http://code.google.com/p/gambas/issues/detail?id=406 Well, there is really something weird in your home directory. I suggest you save all your important files and mails located in your home directory, and recreate a new user from scratch! -- 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 willy at ...2734... Tue Feb 19 03:38:57 2013 From: willy at ...2734... (Willy Raets) Date: Tue, 19 Feb 2013 03:38:57 +0100 Subject: [Gambas-user] How To Gambas Message-ID: <1361241537.2482.5.camel@...3024...> As of today How to Gambas has his own website: http://howtogambas.org We have also relocated the first guide in the series: How To Gambas3 - 1. Installing Gambas http://howtogambas.org/index.php?page=cedi&type=misc&id=1%2F2 Work on the second guide is in progress How To gambas3 - 2. Building GUI Applications http://howtogambas.org/index.php?page=cedi&type=misc&id=1%2F3 Now that all websites of the are in place we can start focusing on getting some things finished, like guides, aplications and a distribution :) -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From lists at ...2828... Tue Feb 19 09:20:01 2013 From: lists at ...2828... (Christer Johansson) Date: Tue, 19 Feb 2013 09:20:01 +0100 Subject: [Gambas-user] Shared WiringPi library for RasPi In-Reply-To: <5121F5DB.6060603@...1...> Message-ID: <000001ce0e7a$254bb2c0$0f00a8c0@...2829...> Thanks for the help Beno?t hope to give it a go coming weekend! > Extern wiringPiIsr(iPin As Integer, iEdgeType As Integer, pFunction As Pointer) In "lib..." > > ... > > And then you use the name of a static function as 'pFunction' > argument when calling wiringPiIsr. > > Gambas will automatically create a internal callback that will execute > the Gambas function through the interpreter as if it would be called > directly like a C function. /CJ From eilert-sprachen at ...221... Tue Feb 19 12:01:02 2013 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 19 Feb 2013 12:01:02 +0100 Subject: [Gambas-user] Which version of Gambas installed? Message-ID: <51235B6E.9060003@...221...> There are several versions of Gambas3 in my Download dir including a trunk dir, and I don't remember which of those I installed last. In order to uninstall that last version before installing the latest 3.4 which I'm compiling right now, how can I find which version is the installed one? Thanks for your ideas... Rolf From lists at ...2828... Tue Feb 19 16:44:38 2013 From: lists at ...2828... (Christer Johansson) Date: Tue, 19 Feb 2013 16:44:38 +0100 Subject: [Gambas-user] Which version of Gambas installed? In-Reply-To: <51235B6E.9060003@...221...> Message-ID: <000001ce0eb8$0b168680$0f00a8c0@...2829...> Easiest would be to click on the question mark and then check "About Gambas..." in the IDE. /CJ > There are several versions of Gambas3 in my Download dir including a > trunk dir, and I don't remember which of those I installed last. > > In order to uninstall that last version before installing the > latest 3.4 which I'm compiling right now, how can I find which version is the > installed one? > > Thanks for your ideas... From taboege at ...626... Tue Feb 19 16:51:37 2013 From: taboege at ...626... (Tobias Boege) Date: Tue, 19 Feb 2013 16:51:37 +0100 Subject: [Gambas-user] How To Gambas In-Reply-To: <1361241537.2482.5.camel@...3024...> References: <1361241537.2482.5.camel@...3024...> Message-ID: <20130219155137.GA529@...2774...> On Tue, 19 Feb 2013, Willy Raets wrote: > As of today How to Gambas has his own website: http://howtogambas.org > > We have also relocated the first guide in the series: > How To Gambas3 - 1. Installing Gambas > http://howtogambas.org/index.php?page=cedi&type=misc&id=1%2F2 > > > Work on the second guide is in progress > How To gambas3 - 2. Building GUI Applications > http://howtogambas.org/index.php?page=cedi&type=misc&id=1%2F3 > > Now that all websites of the are in place we can start focusing on > getting some things finished, like guides, aplications and a > distribution :) I skimmed through the first "How To" if you could call it like that despite its length and if you take it I've one remark: don't show your readers that you compile Gambas from sources and run the IDE afterwards as root. If they are newbies, they would likely do it the same way. I talk about page 44 ff. Regards, Tobi P.S.: The problem with the "Network" combobox I mentioned in another mail[0] is also present at this site. [0] http://sourceforge.net/mailarchive/message.php?msg_id=30489587 From jussi.lahtinen at ...626... Tue Feb 19 17:02:00 2013 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 19 Feb 2013 18:02:00 +0200 Subject: [Gambas-user] Which version of Gambas installed? In-Reply-To: <51235B6E.9060003@...221...> References: <51235B6E.9060003@...221...> Message-ID: It would be nice if Gambas IDE would also tell the revision, but for uninstalling Gambas you don't need to know it. Just paste these to your terminal: sudo rm -f /usr/local/bin/gbx3 /usr/local/bin/gbc3 /usr/local/bin/gba3 /usr/local/bin/gbi3 sudo rm -rf /usr/local/lib/gambas3 sudo rm -rf /usr/local/share/gambas3 sudo rm -f /usr/local/bin/gambas3 sudo rm -f /usr/local/bin/gambas3.gambas sudo rm -f /usr/bin/gbx3 /usr/bin/gbc3 /usr/bin/gba3 /usr/bin/gbi3 sudo rm -rf /usr/lib/gambas3 sudo rm -rf /usr/share/gambas3 sudo rm -f /usr/bin/gambas3 sudo rm -f /usr/bin/gambas3.gambas Jussi On Tue, Feb 19, 2013 at 1:01 PM, Rolf-Werner Eilert < eilert-sprachen at ...221...> wrote: > There are several versions of Gambas3 in my Download dir including a > trunk dir, and I don't remember which of those I installed last. > > In order to uninstall that last version before installing the latest 3.4 > which I'm compiling right now, how can I find which version is the > installed one? > > Thanks for your ideas... > > Rolf > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From eilert-sprachen at ...221... Tue Feb 19 17:19:40 2013 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 19 Feb 2013 17:19:40 +0100 Subject: [Gambas-user] Which version of Gambas installed? In-Reply-To: References: <51235B6E.9060003@...221...> Message-ID: <5123A61C.5040204@...221...> Isn't necessary anymore. I guessed it was the trunk version (because it showed 3.4 but I have never downloaded a 3.4 version before). So I went into trunk and started make uninstall. Removed perfectly. Then I went back into gambas3-3.4.0 and installed the newly compiled version. Seems to run well now. Thanks to everyone for any comments! Rolf Am 19.02.2013 17:02, schrieb Jussi Lahtinen: > It would be nice if Gambas IDE would also tell the revision, but for > uninstalling Gambas you don't need to know it. > > Just paste these to your terminal: > > sudo rm -f /usr/local/bin/gbx3 /usr/local/bin/gbc3 /usr/local/bin/gba3 > /usr/local/bin/gbi3 > sudo rm -rf /usr/local/lib/gambas3 > sudo rm -rf /usr/local/share/gambas3 > sudo rm -f /usr/local/bin/gambas3 > sudo rm -f /usr/local/bin/gambas3.gambas > > sudo rm -f /usr/bin/gbx3 /usr/bin/gbc3 /usr/bin/gba3 /usr/bin/gbi3 > sudo rm -rf /usr/lib/gambas3 > sudo rm -rf /usr/share/gambas3 > sudo rm -f /usr/bin/gambas3 > sudo rm -f /usr/bin/gambas3.gambas > > Jussi > > > On Tue, Feb 19, 2013 at 1:01 PM, Rolf-Werner Eilert < > eilert-sprachen at ...221...> wrote: > >> There are several versions of Gambas3 in my Download dir including a >> trunk dir, and I don't remember which of those I installed last. >> >> In order to uninstall that last version before installing the latest 3.4 >> which I'm compiling right now, how can I find which version is the >> installed one? >> >> Thanks for your ideas... >> >> Rolf >> >> >> ------------------------------------------------------------------------------ >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://p.sf.net/sfu/appdyn_d2d_feb >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Tue Feb 19 20:59:21 2013 From: taboege at ...626... (Tobias Boege) Date: Tue, 19 Feb 2013 20:59:21 +0100 Subject: [Gambas-user] Which version of Gambas installed? In-Reply-To: References: <51235B6E.9060003@...221...> Message-ID: <20130219195921.GA546@...2774...> On Tue, 19 Feb 2013, Jussi Lahtinen wrote: > It would be nice if Gambas IDE would also tell the revision, but for > uninstalling Gambas you don't need to know it. This indeed is something I was often thinking about (but since I, unlike Rolf, have only one working copy of the Gambas source code it didn't seem necessary). However, I would appreciate "gbx3 -V" showing the revision when it was compiled from svn or the release version if it's an official release package. As I'm unfamiliar with autotools, my attempt to achieve this failed. Regards, Tobi From konaexpress at ...178... Tue Feb 19 21:09:46 2013 From: konaexpress at ...178... (John) Date: Tue, 19 Feb 2013 15:09:46 -0500 Subject: [Gambas-user] GambOS Web Site Message-ID: <20130219200946.251030@...1858...> No, this is not by design. We will look into it, thanks for letting me know. John ----- Original Message ----- From: Tobias Boege Sent: 02/15/13 05:11 AM To: mailing list for gambas users Subject: Re: [Gambas-user] GambOS Web Site On Thu, 14 Feb 2013, John wrote: > Well..... > > The GambOS web site is up and live! Please let us know what you think of it, it is a work in progress. > > www.gambos.org > There is a combobox on the left of the page "The Gambas Project Network". If I click on it to select an entry, I'm immediately forwarded to whiteislandsoftware.com. There's the same box in your GambasForum, too, with the same effect. I hope that's not by design? Regards, Tobi ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From konaexpress at ...178... Tue Feb 19 21:15:31 2013 From: konaexpress at ...178... (John) Date: Tue, 19 Feb 2013 15:15:31 -0500 Subject: [Gambas-user] Need Gambas3 Made Apps. Message-ID: <20130219201531.251040@...1858...> Thanks for letting us know. We have run in to a small bug and are fixing it now, please hold on and we will fix this. It would be a big help if you could post bugs in the forums so that we find them faster, thank you. John ----- Original Message ----- From: Charlie Reinl Sent: 02/15/13 01:05 AM To: mailing list for gambas users Subject: Re: [Gambas-user] Need Gambas3 Made Apps. Salut, I'v tried to use your package but I get a Error: Dependency can not be met: gambas3-runtime (> = 3.0.90) Any hint . gambas3 Version 3.4 (r5543) From Karl.Reinl at ...2345... Tue Feb 19 21:59:13 2013 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Tue, 19 Feb 2013 21:59:13 +0100 Subject: [Gambas-user] Which version of Gambas installed? In-Reply-To: <20130219195921.GA546@...2774...> References: <51235B6E.9060003@...221...> <20130219195921.GA546@...2774...> Message-ID: <1361307553.2389.5.camel@...40...> Am Dienstag, den 19.02.2013, 20:59 +0100 schrieb Tobias Boege: > On Tue, 19 Feb 2013, Jussi Lahtinen wrote: > > It would be nice if Gambas IDE would also tell the revision, but for > > uninstalling Gambas you don't need to know it. > > This indeed is something I was often thinking about (but since I, unlike > Rolf, have only one working copy of the Gambas source code it didn't seem > necessary). > > However, I would appreciate "gbx3 -V" showing the revision when it was > compiled from svn or the release version if it's an official release > package. As I'm unfamiliar with autotools, my attempt to achieve this > failed. > > Regards, > Tobi > Salut Tobi, if you use svn, just open gambas3 from /app/src/gambas3 and you see the revision when starting up the IDE. Enjoy the attachment. -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: Bildschirmfoto.png Type: image/png Size: 99118 bytes Desc: not available URL: From taboege at ...626... Tue Feb 19 22:46:35 2013 From: taboege at ...626... (Tobias Boege) Date: Tue, 19 Feb 2013 22:46:35 +0100 Subject: [Gambas-user] Which version of Gambas installed? In-Reply-To: <1361307553.2389.5.camel@...40...> References: <51235B6E.9060003@...221...> <20130219195921.GA546@...2774...> <1361307553.2389.5.camel@...40...> Message-ID: <20130219214635.GB546@...2774...> On Tue, 19 Feb 2013, Charlie Reinl wrote: > Am Dienstag, den 19.02.2013, 20:59 +0100 schrieb Tobias Boege: > > On Tue, 19 Feb 2013, Jussi Lahtinen wrote: > > > It would be nice if Gambas IDE would also tell the revision, but for > > > uninstalling Gambas you don't need to know it. > > > > This indeed is something I was often thinking about (but since I, unlike > > Rolf, have only one working copy of the Gambas source code it didn't seem > > necessary). > > > > However, I would appreciate "gbx3 -V" showing the revision when it was > > compiled from svn or the release version if it's an official release > > package. As I'm unfamiliar with autotools, my attempt to achieve this > > failed. > > > > Regards, > > Tobi > > > Salut Tobi, > > if you use svn, just open gambas3 from /app/src/gambas3 > and you see the revision when starting up the IDE. > Enjoy the attachment. Hm? Why did I never see this before? Thanks for the (pretty obvious) hint. Regards, Tobi From jussi.lahtinen at ...626... Tue Feb 19 22:52:24 2013 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 19 Feb 2013 23:52:24 +0200 Subject: [Gambas-user] Which version of Gambas installed? In-Reply-To: <1361307553.2389.5.camel@...40...> References: <51235B6E.9060003@...221...> <20130219195921.GA546@...2774...> <1361307553.2389.5.camel@...40...> Message-ID: Hmmm... I have understand that "gbx3 --version" gets version number from some file? So, maybe compiling could run something like "svn info | grep -w Revision" to create revision file too? Jussi On Tue, Feb 19, 2013 at 10:59 PM, Charlie Reinl wrote: > Am Dienstag, den 19.02.2013, 20:59 +0100 schrieb Tobias Boege: > > On Tue, 19 Feb 2013, Jussi Lahtinen wrote: > > > It would be nice if Gambas IDE would also tell the revision, but for > > > uninstalling Gambas you don't need to know it. > > > > This indeed is something I was often thinking about (but since I, unlike > > Rolf, have only one working copy of the Gambas source code it didn't seem > > necessary). > > > > However, I would appreciate "gbx3 -V" showing the revision when it was > > compiled from svn or the release version if it's an official release > > package. As I'm unfamiliar with autotools, my attempt to achieve this > > failed. > > > > Regards, > > Tobi > > > Salut Tobi, > > if you use svn, just open gambas3 from /app/src/gambas3 > and you see the revision when starting up the IDE. > Enjoy the attachment. > -- > Amicalement > Charlie > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From taboege at ...626... Wed Feb 20 16:30:46 2013 From: taboege at ...626... (Tobias Boege) Date: Wed, 20 Feb 2013 16:30:46 +0100 Subject: [Gambas-user] Which version of Gambas installed? In-Reply-To: References: <51235B6E.9060003@...221...> <20130219195921.GA546@...2774...> <1361307553.2389.5.camel@...40...> Message-ID: <20130220153046.GA524@...2774...> On Tue, 19 Feb 2013, Jussi Lahtinen wrote: > Hmmm... I have understand that "gbx3 --version" gets version number from > some file? > So, maybe compiling could run something like "svn info | grep -w Revision" > to create revision file too? > > Jussi That was my idea, too. You can check if the current directory is an svn repository by branching: if test `svn info >/dev/null 2>&1; echo $?` -eq 0 and if it is, take the revision into a variable: GAMBAS_REVISION=`svn info | sed -n 's/^Revision: \(.*\)$/\1/p'` otherwise make the variable zero. My problem was to make this variable available to gbx. If anyone helped me with this, I'd be glad. Regards, Tobi From gambas at ...1... Wed Feb 20 19:29:56 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Wed, 20 Feb 2013 19:29:56 +0100 Subject: [Gambas-user] Which version of Gambas installed? In-Reply-To: <20130220153046.GA524@...2774...> References: <51235B6E.9060003@...221...> <20130219195921.GA546@...2774...> <1361307553.2389.5.camel@...40...> <20130220153046.GA524@...2774...> Message-ID: <51251624.8010007@...1...> Le 20/02/2013 16:30, Tobias Boege a ?crit : > On Tue, 19 Feb 2013, Jussi Lahtinen wrote: >> Hmmm... I have understand that "gbx3 --version" gets version number from >> some file? >> So, maybe compiling could run something like "svn info | grep -w Revision" >> to create revision file too? >> >> Jussi > > That was my idea, too. You can check if the current directory is an svn > repository by branching: > > if test `svn info >/dev/null 2>&1; echo $?` -eq 0 > > and if it is, take the revision into a variable: > > GAMBAS_REVISION=`svn info | sed -n 's/^Revision: \(.*\)$/\1/p'` > > otherwise make the variable zero. > > My problem was to make this variable available to gbx. If anyone helped me > with this, I'd be glad. > > Regards, > Tobi > The problem is that in a repository, you can have different versions for *each* file, so a global version may sometimes be undefined! The software version as printed by 'gbx3 --version' is defined in the 'acinclude.m4' file located in the root source directory and is enough if you are using a stable version. -- Beno?t Minisini From willy at ...2734... Thu Feb 21 01:44:52 2013 From: willy at ...2734... (Willy Raets) Date: Thu, 21 Feb 2013 01:44:52 +0100 Subject: [Gambas-user] Debian repo on a dedicated server Message-ID: <1361407492.6333.1.camel@...3024...> Hi all, I've seen a discussion passing on a Debian repo I believe Sebikul made for Gambas 3.3.4 (based on Kendeks packages but for ARM ?) Having no Gambas3 repository with a recent Gambas3 version is quite problematic if you want to distribute user installation packages to end users on Debian. Sholzy (the man behind the Gambas Forum) has moved all to a dedicated server. The Gambas Project Network (see links in my signature) is also on the same server. Having a dedicated server Sholzy wants to set up repositories for Gambas3 and asked us on our needs. For Ubuntu and Ubuntu based distros we have Kendek (our saviour..) Fedora has 3.3.4 in official repos openSuSe has the Mundix repo Debian Wheezy is stuck at 3.1.1 in it's official repo and for Debian 6.0 you'll have to do with Gambas2 (although I managed using PPA Kendek to install Gambas from 3.3.2 onward) So Debian seems what we need most in the main distros. But we have no clue on how to set up a Debian repo, nor how to make Gambas packages for the repo. Anyone with experience willing to take on this part of setting up a Gambas3 Debain repo (if needed a Daily builds as well) and make the Gambas packages that go there? We would love to have you on the team -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From sebikul at ...626... Thu Feb 21 08:30:03 2013 From: sebikul at ...626... (Sebastian Kulesz) Date: Thu, 21 Feb 2013 04:30:03 -0300 Subject: [Gambas-user] Debian repo on a dedicated server In-Reply-To: <1361407492.6333.1.camel@...3024...> References: <1361407492.6333.1.camel@...3024...> Message-ID: On Wed, Feb 20, 2013 at 9:44 PM, Willy Raets wrote: > Hi all, > > I've seen a discussion passing on a Debian repo I believe Sebikul made > for Gambas 3.3.4 (based on Kendeks packages but for ARM ?) > I did, but it didn't receive much attention, > > Having no Gambas3 repository with a recent Gambas3 version is quite > problematic if you want to distribute user installation packages to end > users on Debian. > > Sholzy (the man behind the Gambas Forum) has moved all to a dedicated > server. The Gambas Project Network (see links in my signature) is also > on the same server. > > Having a dedicated server Sholzy wants to set up repositories for > Gambas3 and asked us on our needs. > > For Ubuntu and Ubuntu based distros we have Kendek (our saviour..) > Fedora has 3.3.4 in official repos > openSuSe has the Mundix repo > > Debian Wheezy is stuck at 3.1.1 in it's official repo and for Debian 6.0 > you'll have to do with Gambas2 (although I managed using PPA Kendek to > install Gambas from 3.3.2 onward) > > So Debian seems what we need most in the main distros. But we have no > clue on how to set up a Debian repo, nor how to make Gambas packages for > the repo. > > Anyone with experience willing to take on this part of setting up a > Gambas3 Debain repo (if needed a Daily builds as well) and make the > Gambas packages that go there? > I found the process ***really*** time consuming. Let me explain, gambas takes about 30-45 minutes to build from scratch, even more because you have to build from a chroot, which adds some overhead. You have to build a package for each architecture for each Debian version (and not screw up, as you would have to rebuild everything again). I can't afford having my work PC building a whole day, and me controlling the process. Forget about Daily Builds, if you can't find a service like Launchpad which provides automatic code imports and a build farm which does *all* the work, the repository will fall days behind trunk, and will be a pain in the a** to maintain. You would also have to write a lot of scripts to automate the process. AND, you would need a dedicated server to build the packages, unless you want to toast the server with the first request it gets while compiling. Wait!! i'm not saying it's impossible, or that it should't be done. What i'm saying is that i found little or no interest at all when i came up with the idea, and that i could't use that much time and resources. If you really want to go through with this, i'm in !! The only available tool i know of that can do the work is reprepro [0]. Beware, it wont be easy to use. Let me know what you think. [0] http://mirrorer.alioth.debian.org/ > > We would love to have you on the team > > > -- > Kind regards, > > Willy (aka gbWilly) > > http://gambasshowcase.org/ > http://howtogambas.org > http://gambos.org > > > > > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mike.crean at ...2897... Thu Feb 21 13:35:32 2013 From: mike.crean at ...2897... (Mike Crean) Date: Thu, 21 Feb 2013 04:35:32 -0800 (PST) Subject: [Gambas-user] gb.web Message-ID: <1361450132.26144.YahooMailNeo@...3095...> Hi Benoit, I am trying to get a Gambas 3 web server up and running using gb.web I just do not get it at all. I have looked at a lot of examples and threads but I just can not get a web server page up and running. I am using Apache2 and Gambas 3.4 with gb.web enabled. The aim is to use Gambas 3 within a HTML page to get data from a communications port (ttyACM0) and display the data as text or other on the HTML page. Also would like to send data from a HTML page with the push of a button or text box to a serial device (ttyACM0). The device would be an Arduino. Hope you can help with an example and any changes I would have to make to files and directors for Gambas 3 and Apache2. The OS is Ubuntu 12.04. If this is to much to ask perhaps you can suggest someone that can help me. Best Regards Mike Crean From jussi.lahtinen at ...626... Thu Feb 21 16:25:29 2013 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 21 Feb 2013 17:25:29 +0200 Subject: [Gambas-user] gb.web In-Reply-To: <1361450132.26144.YahooMailNeo@...3095...> References: <1361450132.26144.YahooMailNeo@...3095...> Message-ID: Please be more specific. Send your project and tell us what it is supposed to do and what happens instead. Or specifically what doesn't work. Here is example of server page. It doesn't work? http://gambasdoc.org/help/doc/serverpage?view Jussi On Thu, Feb 21, 2013 at 2:35 PM, Mike Crean wrote: > > Hi Benoit, > > I am trying to get a Gambas 3 web > server up and running using gb.web I just do not get it at all. I > have looked at a lot of examples and threads but I just can not get a > web server page up and running. I am using Apache2 and Gambas 3.4 > with gb.web enabled. The aim is to use Gambas 3 within a HTML page to > get data from a communications port (ttyACM0) and display the data as > text or other on the HTML page. Also would like to send data from a > HTML page with the push of a button or text box to a serial device > (ttyACM0). The device would be an Arduino. > > Hope you can help with an example and > any changes I would have to make to files and directors for Gambas 3 > and Apache2. The OS is Ubuntu 12.04. If this is to much to ask > perhaps you can suggest someone that can help me. > > Best Regards > Mike Crean > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From konaexpress at ...178... Thu Feb 21 18:42:53 2013 From: konaexpress at ...178... (John) Date: Thu, 21 Feb 2013 12:42:53 -0500 Subject: [Gambas-user] Debian repo on a dedicated server Message-ID: <20130221174253.26310@...1858...> Well if not a daily build then how about a way to package Gambas IDE and runtime and all dep's? This way we could build only when there is a new stable version and host the download .deb files our selves. ----- Original Message ----- From: Sebastian Kulesz Sent: 02/20/13 11:30 PM To: willy at ...2734..., mailing list for gambas users Subject: Re: [Gambas-user] Debian repo on a dedicated server On Wed, Feb 20, 2013 at 9:44 PM, Willy Raets wrote: > Hi all, > > I've seen a discussion passing on a Debian repo I believe Sebikul made > for Gambas 3.3.4 (based on Kendeks packages but for ARM ?) > I did, but it didn't receive much attention, > > Having no Gambas3 repository with a recent Gambas3 version is quite > problematic if you want to distribute user installation packages to end > users on Debian. > > Sholzy (the man behind the Gambas Forum) has moved all to a dedicated > server. The Gambas Project Network (see links in my signature) is also > on the same server. > > Having a dedicated server Sholzy wants to set up repositories for > Gambas3 and asked us on our needs. > > For Ubuntu and Ubuntu based distros we have Kendek (our saviour..) > Fedora has 3.3.4 in official repos > openSuSe has the Mundix repo > > Debian Wheezy is stuck at 3.1.1 in it's official repo and for Debian 6.0 > you'll have to do with Gambas2 (although I managed using PPA Kendek to > install Gambas from 3.3.2 onward) > > So Debian seems what we need most in the main distros. But we have no > clue on how to set up a Debian repo, nor how to make Gambas packages for > the repo. > > Anyone with experience willing to take on this part of setting up a > Gambas3 Debain repo (if needed a Daily builds as well) and make the > Gambas packages that go there? > I found the process ***really*** time consuming. Let me explain, gambas takes about 30-45 minutes to build from scratch, even more because you have to build from a chroot, which adds some overhead. You have to build a package for each architecture for each Debian version (and not screw up, as you would have to rebuild everything again). I can't afford having my work PC building a whole day, and me controlling the process. Forget about Daily Builds, if you can't find a service like Launchpad which provides automatic code imports and a build farm which does *all* the work, the repository will fall days behind trunk, and will be a pain in the a** to maintain. You would also have to write a lot of scripts to automate the process. AND, you would need a dedicated server to build the packages, unless you want to toast the server with the first request it gets while compiling. Wait!! i'm not saying it's impossible, or that it should't be done. What i'm saying is that i found little or no interest at all when i came up with the idea, and that i could't use that much time and resources. If you really want to go through with this, i'm in !! The only available tool i know of that can do the work is reprepro [0]. Beware, it wont be easy to use. Let me know what you think. [0] http://mirrorer.alioth.debian.org/ > > We would love to have you on the team > > > -- > Kind regards, > > Willy (aka gbWilly) > > http://gambasshowcase.org/ > http://howtogambas.org > http://gambos.org > > > > > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From konaexpress at ...178... Thu Feb 21 18:47:15 2013 From: konaexpress at ...178... (John) Date: Thu, 21 Feb 2013 12:47:15 -0500 Subject: [Gambas-user] Debian repo on a dedicated server Message-ID: <20130221174715.26310@...1858...> Didn't Steve just open an area in the forums for ARM programming useing the Gambas IDE? This would be a good place to link to the ARM files don't you think? ----- Original Message ----- From: Willy Raets Sent: 02/20/13 04:44 PM To: gambas-user at lists.sourceforge.net Subject: [Gambas-user] Debian repo on a dedicated server I've seen a discussion passing on a Debian repo I believe Sebikul made for Gambas 3.3.4 (based on Kendeks packages but for ARM ?) From spamok at ...1273... Thu Feb 21 20:42:26 2013 From: spamok at ...1273... (Ulf Wedemeyer SpamOk) Date: Thu, 21 Feb 2013 20:42:26 +0100 Subject: [Gambas-user] gb.net.curl How to upload binary files Message-ID: <1379221.O0OyIqsa5T@...3096...> Hello Gambas experts I have been working on a small project syncing data with Google through their data API. Most of the communication works well using the HttpClient from the gb.net.curl component, but I struggling to get mimic the following curl command line. curl --silent --request POST --data-binary "@sweeping_the_rock.png" \ --header "Slug: Sweeping the rock" --header "Content-Type: image/png" \ --header "Authorization: GoogleLogin auth=ABCDEFG" "http://picasaweb.google.com/data/feed/api/user/brad.gushue/albumid/5113621341847124417" I don't want to open the file and read fully first, as it can become rather large, so I prefer to read it /pipe to the curl stream. Currently I reverted to using the Shell command but I consider that only a workaround with a curl component already existing. A small code snipplet would be great help. Thanks a lot in advance. Ulf From mike.crean at ...2897... Fri Feb 22 01:53:43 2013 From: mike.crean at ...2897... (Mike Crean) Date: Thu, 21 Feb 2013 16:53:43 -0800 (PST) Subject: [Gambas-user] gb.web In-Reply-To: References: <1361450132.26144.YahooMailNeo@...3095...> Message-ID: <1361494423.60135.YahooMailNeo@...3095...> Hi Jussi, Thanks for the reply. I have tried the example you have pointed to and can not get it to work. All I need to do is take data from a serial stream e.g. Stuff = "A01 ON" and use the print statement to display the string A01 ON on a HTML web page. I have Apache running ok and can display an index.html page from /var/www when I connect to http://localhost/ I have tried entering this code in the index.html file, I don't get the desired result as it just displays the text and not the print statement as such, it displays all the file <% and %> etc.

Gambas3 Web Server.

<% print Stuff or print "A01 ON" %> Mike ________________________________ From: Jussi Lahtinen To: mailing list for gambas users Sent: Thursday, 21 February 2013 11:25 PM Subject: Re: [Gambas-user] gb.web Please be more specific. Send your project and tell us what it is supposed to do and what happens instead. Or specifically what doesn't work. Here is example of server page. It doesn't work? http://gambasdoc.org/help/doc/serverpage?view Jussi On Thu, Feb 21, 2013 at 2:35 PM, Mike Crean wrote: > > Hi Benoit, > > I am trying to get a Gambas 3 web > server up and running using gb.web I just do not get it at all. I > have looked at a lot of examples and threads but I just can not get a > web server page up and running. I am using Apache2 and Gambas 3.4 > with gb.web enabled. The aim is to use Gambas 3 within a HTML page to > get data from a communications port (ttyACM0) and display the data as > text or other on the HTML page. Also would like to send data from a > HTML page with the push of a button or text box to a serial device > (ttyACM0). The device would be an Arduino. > > Hope you can help with an example and > any changes I would have to make to files and directors? for Gambas 3 > and Apache2. The OS is Ubuntu 12.04. If this is to much to ask > perhaps you can suggest someone that can help me. > > Best Regards > Mike Crean > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From bbruen at ...2308... Fri Feb 22 02:36:00 2013 From: bbruen at ...2308... (Bruce) Date: Fri, 22 Feb 2013 12:06:00 +1030 Subject: [Gambas-user] gb.web In-Reply-To: <1361494423.60135.YahooMailNeo@...3095...> References: <1361450132.26144.YahooMailNeo@...3095...> <1361494423.60135.YahooMailNeo@...3095...> Message-ID: <1361496960.13894.17.camel@...2688...> On Thu, 2013-02-21 at 16:53 -0800, Mike Crean wrote: > Hi Jussi, > > Thanks for the reply. > I have tried the example you have pointed to and can not get it to > work. > All I need to do is take data from a serial stream e.g. > Stuff = "A01 ON" and use the print statement to display > the > string A01 ON on a HTML web page. I have Apache running ok and > can display an index.html page from /var/www > when I connect to > http://localhost/ > I have tried entering this code in the > index.html file, I don't get the desired result as it just displays > the text and not the > print statement as such, it displays all > the file <% and %> etc. > > > > >

Gambas3 > Web Server.

> <% > print Stuff > or print "A01 > ON" > %> > > > > > Mike Have you included the "magic" line at the top? If not, the server will just send the text of the file as is. #!/bin/env /usr/bin/gbw3

Gambas3 Web Server.

<% print "A01 ON" %> works fine here. hth Bruce From mike.crean at ...2897... Fri Feb 22 09:43:48 2013 From: mike.crean at ...2897... (Mike Crean) Date: Fri, 22 Feb 2013 00:43:48 -0800 (PST) Subject: [Gambas-user] (no subject) Message-ID: <1361522628.96765.YahooMailNeo@...3099...> Thanks Bruce, Have tried the magic line although nothing like yours. I have now tried it and again no joy. As there is no env in /bin I have tried #!/user/bin/env and #!/usr/bin/gbw3 and many other combinations. I have saved the file as text named index.html from the text editor into /var/www. thanks for the help and any other suggestions. Mike #!/bin/env /usr/bin/gbw3 Gambas3 Web Server. < % print "A01 ON" %> and many other combinations #!/user/bin/env /usr/bin/gbw3 Gambas3 Web Server. < % print "A01 ON" %> ? Mike From sotema at ...626... Fri Feb 22 12:18:06 2013 From: sotema at ...626... (Emanuele Sottocorno) Date: Fri, 22 Feb 2013 12:18:06 +0100 Subject: [Gambas-user] compile errore with rev 5557 in gb.pcre Message-ID: <1361531886.4594.12.camel@...2516...> Revision 5557 installation fails in gb.pcre with error: regexp.c:113:10: error: 'PCRE_ERROR_RECURSELOOP' undeclared (first use in this function) [System] OperatingSystem=Linux Kernel=3.2.0-38-generic Architecture=x86_64 Distribution=Ubuntu 12.04.2 LTS Desktop=GNOME Theme=QGtk Language=it_IT.UTF-8 Memory=3954M [Libraries] Poppler=libpoppler.so.5.0.0 GStreamer=libgstreamer-0.10.so.0.30.0 GTK+=libgtk-x11-2.0.so.0.2400.10 Qt4=libQtCore.so.4.8.1 SDL=libSDL-1.2.so.0.11.3 full logs attached. -------------- next part -------------- A non-text attachment was scrubbed... Name: r5557.tar.gz Type: application/x-compressed-tar Size: 16720 bytes Desc: not available URL: From rmorgan62 at ...626... Fri Feb 22 12:44:18 2013 From: rmorgan62 at ...626... (Randall Morgan) Date: Fri, 22 Feb 2013 03:44:18 -0800 Subject: [Gambas-user] (no subject) In-Reply-To: <1361522628.96765.YahooMailNeo@...3099...> References: <1361522628.96765.YahooMailNeo@...3099...> Message-ID: Just some thoughts.... Does your machine have the symbolic link gbw3 ? Is Apache setup to handle this as a CGI? On Fri, Feb 22, 2013 at 12:43 AM, Mike Crean wrote: > Thanks Bruce, > > Have tried the magic line although nothing like yours. I have now tried it and again no joy. > As there is no env in /bin I have tried #!/user/bin/env and #!/usr/bin/gbw3 and many other combinations. > I have saved the file as text named index.html from the text editor into /var/www. thanks for the help and any other suggestions. > > Mike > > #!/bin/env /usr/bin/gbw3 > Gambas3 Web Server. > < % print "A01 ON" %> > > and many other combinations > > #!/user/bin/env /usr/bin/gbw3 > Gambas3 Web Server. > < % print "A01 ON" %> > > Mike > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From mike.crean at ...2897... Fri Feb 22 13:20:04 2013 From: mike.crean at ...2897... (Mike Crean) Date: Fri, 22 Feb 2013 04:20:04 -0800 (PST) Subject: [Gambas-user] gb.web Message-ID: <1361535604.82761.YahooMailNeo@...3057...> Hi Bruce, Thanks for the suggestions, I have tried them to no avail. It would seem there is a very full on learning curve to get this up and running. Perhaps there is a much simpler way using something other than Gambas. Again thanks for you help Bruce. Perhaps Randall's comments about the Apache CGI set-up has some merit. Again have read some suggestions as to how to set-up CGI on Apache and tried many. My aim is to get this all working on a standard deb OS install on Rpi with Gambas ?? and Apache 2 standard out of the box installs. Thanksboys I am open to any other suggestions. Regards Mike From taboege at ...626... Fri Feb 22 14:18:18 2013 From: taboege at ...626... (Tobias Boege) Date: Fri, 22 Feb 2013 14:18:18 +0100 Subject: [Gambas-user] gb.web In-Reply-To: <1361535604.82761.YahooMailNeo@...3057...> References: <1361535604.82761.YahooMailNeo@...3057...> Message-ID: <20130222131818.GA721@...2774...> On Fri, 22 Feb 2013, Mike Crean wrote: > > Hi Bruce, > > Thanks > for the suggestions, I have tried them to no avail. It would seem > there is a very full on learning curve to get this up and running. > Perhaps > there is a much simpler way using something other than Gambas. > Again > thanks for you help Bruce. Perhaps Randall's comments about the > Apache CGI set-up has some merit. Again have read some suggestions as > to how to set-up CGI on Apache and tried many. My aim is to get this > all working on a standard deb OS install on Rpi with Gambas ?? and > Apache 2 standard out of the box installs. > > > Thanksboys I am open to any other suggestions. > You can't get this working with "Apache 2 standard out of the box installs". You must configure Apache to recognise Gambas webpages as CGI scripts to call the gbw3 interpreter. I could send you an archive with a test project an a German PDF explaining the Apache2 configuration for Gambas-CGI, but only in private conversation because it's too big for this mailing list to be an attachment (~1.2MiB). Regards, Tobi From mike.crean at ...2897... Fri Feb 22 16:30:29 2013 From: mike.crean at ...2897... (Mike Crean) Date: Fri, 22 Feb 2013 07:30:29 -0800 (PST) Subject: [Gambas-user] gb.web Message-ID: <1361547029.51522.YahooMailNeo@...3057...> Hi Tobi, Thanks for the offer I would like some help. You can get me at mike.crean at ...2897... any help is appreciated. Regards Mike From jussi.lahtinen at ...626... Fri Feb 22 19:16:32 2013 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 22 Feb 2013 20:16:32 +0200 Subject: [Gambas-user] gb.web In-Reply-To: <20130222131818.GA721@...2774...> References: <1361535604.82761.YahooMailNeo@...3057...> <20130222131818.GA721@...2774...> Message-ID: > You can't get this working with "Apache 2 standard out of the box > installs". > You must configure Apache to recognise Gambas webpages as CGI scripts to > call the gbw3 interpreter. > > I could send you an archive with a test project an a German PDF explaining > the Apache2 configuration for Gambas-CGI, but only in private conversation > because it's too big for this mailing list to be an attachment (~1.2MiB). > It would be great if you could append this information to documentation: http://gambasdoc.org/help/doc/serverpage?view Apache is probably the most popular choice and so it would help many people. Jussi From jussi.lahtinen at ...626... Fri Feb 22 21:28:31 2013 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 22 Feb 2013 22:28:31 +0200 Subject: [Gambas-user] Code for object serialization Message-ID: Hi! This is my implementation for object serialization, it's still bit incomplete, but it's already usable. And I thought some of you might find it very useful. I use it now to save objects to file. Right now it can handle objects with native datatypes (if you use it recursively it can be made to handle all types). What do you think? Is there better way to do this? Maybe with Object.Address() & Object.SizeOf() ? Example of how to use it: 'This will save the object to file. Dim MyObject As MyClass Dim hFile As File hFile = Open "~/Desktop/testtest" For Create SaveValues(hFile, MyObject) Close #hFile 'This will load the object from file. hFile = Open "~/Desktop/testtest" For Read LoadValues(hFile, MyObject) Close #hFile And the code itself: Public Function SaveValues(hStream As Stream, hObject As Object) Dim hCls As Class = Object.Class(hObject) Dim sTmp As String For Each sTmp In hCls.Symbols.Sort(gb.Binary) If hCls[sTmp].Kind = Class.Variable Then Select Case hCls[sTmp].Type Case "h" 'short Write #hStream, Object.GetProperty(hObject, sTmp) As Short Case "b" 'boolean Write #hStream, Object.GetProperty(hObject, sTmp) As Boolean Case "c" 'byte Write #hStream, Object.GetProperty(hObject, sTmp) As Byte Case "i" 'integer Write #hStream, Object.GetProperty(hObject, sTmp) As Integer Case "l" 'long Write #hStream, Object.GetProperty(hObject, sTmp) As Long Case "s" Write #hStream, Object.GetProperty(hObject, sTmp) As String Case Else Error.Raise("Error! Missing variable type definition.") End Select Endif Next End Public Function LoadValues(hStream As Stream, hObject As Object) Dim hCls As Class = Object.Class(hObject) Dim sTmp As String Dim h As Short Dim b As Boolean Dim c As Byte Dim i As Integer Dim l As Long Dim s As String For Each sTmp In hCls.Symbols.Sort(gb.Binary) If hCls[sTmp].Kind = Class.Variable Then Select Case hCls[sTmp].Type Case "h" 'short h = Read #hStream As Short Object.SetProperty(hObject, sTmp, h) Case "b" 'boolean b = Read #hStream As Boolean Object.SetProperty(hObject, sTmp, b) Case "c" 'byte c = Read #hStream As Byte Object.SetProperty(hObject, sTmp, c) Case "i" 'integer i = Read #hStream As Integer Object.SetProperty(hObject, sTmp, i) Case "l" 'long l = Read #hStream As Long Object.SetProperty(hObject, sTmp, l) Case "s" s = Read #hStream As String Object.SetProperty(hObject, sTmp, s) Case Else Error.Raise("Error! Missing variable type definition.") End Select Endif Next End Jussi From taboege at ...626... Sat Feb 23 08:20:44 2013 From: taboege at ...626... (Tobias Boege) Date: Sat, 23 Feb 2013 08:20:44 +0100 Subject: [Gambas-user] gb.web In-Reply-To: References: <1361535604.82761.YahooMailNeo@...3057...> <20130222131818.GA721@...2774...> Message-ID: <20130223072043.GA531@...2774...> On Fri, 22 Feb 2013, Jussi Lahtinen wrote: > > You can't get this working with "Apache 2 standard out of the box > > installs". > > You must configure Apache to recognise Gambas webpages as CGI scripts to > > call the gbw3 interpreter. > > > > I could send you an archive with a test project an a German PDF explaining > > the Apache2 configuration for Gambas-CGI, but only in private conversation > > because it's too big for this mailing list to be an attachment (~1.2MiB). > > > > It would be great if you could append this information to documentation: > http://gambasdoc.org/help/doc/serverpage?view > > Apache is probably the most popular choice and so it would help many people. > Hmm. Good idea but the stuff is made entirely by Hans not by me. It's already dated to pre-Gambas-webpage days (all code (probably Gambas2) uses PRINT to generate HTML) so I must translate and rework it. But I think it's worth it... Regards, Tobi From taboege at ...626... Sat Feb 23 08:51:43 2013 From: taboege at ...626... (Tobias Boege) Date: Sat, 23 Feb 2013 08:51:43 +0100 Subject: [Gambas-user] Code for object serialization In-Reply-To: References: Message-ID: <20130223075142.GB531@...2774...> On Fri, 22 Feb 2013, Jussi Lahtinen wrote: > Hi! > This is my implementation for object serialization, it's still bit > incomplete, but it's already usable. > And I thought some of you might find it very useful. I use it now to save > objects to file. > *Very* useful, indeed! > Right now it can handle objects with native datatypes (if you use it > recursively it can be made to handle all types). > Yes, if it hits an object property then set a marker in the file and call itself on that object. There is only one problem with this: your code can only handle (public) properties. Actually an object serialised by your code and then deserialised could stop working properly because Private variables not bound to properties (which weren't saved therefore) may not contain the right values anymore. > What do you think? Is there better way to do this? > Maybe with Object.Address() & Object.SizeOf() ? > I think you can use these to generate a binary dump of an object to a file, but the thing is: the backing structures you dump most likely contain pointers to other structures (Gambas objects or structures allocated by a shared library!) which will become invalid pointers when loaded into another process. I think the solution to both above problems is already in Settings.Write(). It is capable of _correctly_ writing and restoring objects if they export a Settings property. As a matter of fact, the object itself only really knows what must be serialised and can also provide its private variables. Alas, I don't see how the serialisation process could be done _without_ the object being deeply involved by providing its internal information. Regards, Tobi From mike.crean at ...2897... Sat Feb 23 11:56:54 2013 From: mike.crean at ...2897... (Mike Crean) Date: Sat, 23 Feb 2013 02:56:54 -0800 (PST) Subject: [Gambas-user] gw.web Message-ID: <1361617014.78898.YahooMailNeo@...3095...> Hi Tobi, I have just translated the 1st 14 pages of the PDF. If you can translate from your end and up date for Gambas 3 that would be great. Regards Mike From rmorgan62 at ...626... Sat Feb 23 11:59:07 2013 From: rmorgan62 at ...626... (Randall Morgan) Date: Sat, 23 Feb 2013 02:59:07 -0800 Subject: [Gambas-user] gw.web In-Reply-To: <1361617014.78898.YahooMailNeo@...3095...> References: <1361617014.78898.YahooMailNeo@...3095...> Message-ID: MIke, Can I get a copy of that as well? On Sat, Feb 23, 2013 at 2:56 AM, Mike Crean wrote: > Hi Tobi, > I have just translated the 1st 14 pages of the PDF. > If you can translate from your end and up date for > Gambas 3 that would be great. > Regards > Mike > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From mike.crean at ...2897... Sat Feb 23 12:43:15 2013 From: mike.crean at ...2897... (Mike Crean) Date: Sat, 23 Feb 2013 03:43:15 -0800 (PST) Subject: [Gambas-user] gb.web Message-ID: <1361619795.62922.YahooMailNeo@...3099...> Hi Randall, ? If Tobi is on the side perhaps he can check with Hans' if it is OK to release my English version of his work. ? Regards Mike From mike.crean at ...2897... Sat Feb 23 12:46:20 2013 From: mike.crean at ...2897... (Mike Crean) Date: Sat, 23 Feb 2013 03:46:20 -0800 (PST) Subject: [Gambas-user] gb.web Message-ID: <1361619980.96346.YahooMailNeo@...3084...> Randall, perhaps I should wait untill I have it all working then document it all and have it posted up on the Gambas web site. ? Mike From ihaywood at ...1979... Sat Feb 23 13:09:36 2013 From: ihaywood at ...1979... (Ian Haywood) Date: Sat, 23 Feb 2013 23:09:36 +1100 Subject: [Gambas-user] patch for setting directory on EXEC Message-ID: as part of my app, I run the LaTeX typesetting program via EXEC in Gambas To cut a long story short, latex likes to be an a specific current directory, which isn't possible in Gambas: EXEC always runs the in the directory the interpreter was started in, Currently I use SHELL instead and do something like "cd the/directory/i/want ; latex input.tex", but this is inefficient (I have no other need of a subshell) and generally feels kludgy. This patch basically makes EXEC respect the PWD environment variable: if PWD is set using the WITH keyword option to EXEC then this is the current directory for the process spawned by EXEC. Ian -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas-pwd.diff Type: application/octet-stream Size: 973 bytes Desc: not available URL: From rmorgan62 at ...626... Sat Feb 23 13:50:30 2013 From: rmorgan62 at ...626... (Randall Morgan) Date: Sat, 23 Feb 2013 04:50:30 -0800 Subject: [Gambas-user] gb.web In-Reply-To: <1361619980.96346.YahooMailNeo@...3084...> References: <1361619980.96346.YahooMailNeo@...3084...> Message-ID: Ok, can you give me a link to the German version? On Sat, Feb 23, 2013 at 3:46 AM, Mike Crean wrote: > Randall, perhaps I should wait untill I have it all working then document it all and have it posted up > on the Gambas web site. > > Mike > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- If you ask me if it can be done. The answer is YES, it can always be done. The correct questions however are... What will it cost, and how long will it take? From jussi.lahtinen at ...626... Sat Feb 23 15:34:00 2013 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 23 Feb 2013 16:34:00 +0200 Subject: [Gambas-user] Code for object serialization In-Reply-To: <20130223075142.GB531@...2774...> References: <20130223075142.GB531@...2774...> Message-ID: > Yes, if it hits an object property then set a marker in the file and call > itself on that object. There is only one problem with this: your code can > only handle (public) properties. Actually an object serialised by your code > and then deserialised could stop working properly because Private variables > not bound to properties (which weren't saved therefore) may not contain the > right values anymore. > You are right. I didn't think about that, because I wrote this piece of code couple specific classes in my mind. So, it's not universal solution. > I think you can use these to generate a binary dump of an object to a file, > but the thing is: the backing structures you dump most likely contain > pointers to other structures (Gambas objects or structures allocated by a > shared library!) which will become invalid pointers when loaded into > another > process. > True, that is troublesome to overcome. > I think the solution to both above problems is already in Settings.Write(). > It is capable of _correctly_ writing and restoring objects if they export a > Settings property. Settings property is just pretty limited with it's capabilities when speaking of serialization, but of course it's very good for it's intended use. > As a matter of fact, the object itself only really knows > what must be serialised and can also provide its private variables. > > Alas, I don't see how the serialisation process could be done _without_ the > object being deeply involved by providing its internal information. > I understand your point. I think the object should be designed to be serialized, or you have to do it manually. Now I wonder how Boost library does serialization! Jussi From taboege at ...626... Sat Feb 23 15:42:49 2013 From: taboege at ...626... (Tobias Boege) Date: Sat, 23 Feb 2013 15:42:49 +0100 Subject: [Gambas-user] gb.web In-Reply-To: References: <1361619980.96346.YahooMailNeo@...3084...> Message-ID: <20130223144249.GF531@...2774...> On Sat, 23 Feb 2013, Randall Morgan wrote: > Ok, can you give me a link to the German version? > > > On Sat, Feb 23, 2013 at 3:46 AM, Mike Crean wrote: > > Randall, perhaps I should wait untill I have it all working then document it all and have it posted up > > on the Gambas web site. > > > > Mike Hmm. I read Hans' article and my personal impression is: it's too big. I mean: the first part is about installing and configuring apache2's userdir module and stuff on some past Ubuntu which is - strictly - out of scope and should be stripped. There are other tutorials on that. Next, is the important CGI stuff. Then comes practise: using GET and POST methods, MySQL and SSI where the first two are Gambas practise and SSI is just about some HTML. I'd summarise the whole 14 pages of the document like: --- Configure your apache to your own taste - you may want to use the userdir module -; find one of the tutorials out there if you need. However, to mark Gambas executables as CGI scripts, add this line to your configuration: AddHandler cgi-script .gambas and the following ones to all CGI-executable Directory blocks: Options +ExecCGI SetHandler cgi-script Don't forget that Gambas comes with lots of components: you can access MySQL databases, etc. etc. pp.. Since Gambas 3.1.0 there are also Gambas webpages. See the documentation for details. --- If it helps, I can convert and rewrite all the examples included in Hans' distribution to Gambas3 but I would only take Mike's offer to check his translation and not translate myself. Regards, Tobi From gambas at ...1... Sat Feb 23 19:10:26 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 23 Feb 2013 19:10:26 +0100 Subject: [Gambas-user] gb.net.curl How to upload binary files In-Reply-To: <1379221.O0OyIqsa5T@...3096...> References: <1379221.O0OyIqsa5T@...3096...> Message-ID: <51290612.20701@...1...> Le 21/02/2013 20:42, Ulf Wedemeyer SpamOk a ?crit : > Hello Gambas experts > > I have been working on a small project syncing data with Google through their > data API. > > Most of the communication works well using the HttpClient from the gb.net.curl > component, but I struggling to get mimic the following curl command line. > > curl --silent --request POST --data-binary "@sweeping_the_rock.png" \ > --header "Slug: Sweeping the rock" --header "Content-Type: image/png" \ > --header "Authorization: GoogleLogin auth=ABCDEFG" > "http://picasaweb.google.com/data/feed/api/user/brad.gushue/albumid/5113621341847124417" > > I don't want to open the file and read fully first, as it can become rather > large, so I prefer to read it /pipe to the curl stream. > Currently I reverted to using the Shell command but I consider that only a > workaround with a curl component already existing. > > A small code snipplet would be great help. > > Thanks a lot in advance. > > Ulf > Does the following work when the file is not too large? MyHttpClient.URL = "http://picasaweb.google.com/data/feed/api/user/brad.gushue/albumid/5113621341847124417" MyHttpClient.Post("image/png", File.Load("sweeping_the_rock.png"), ["Slug: Sweeping the rock", "Authorization: GoogleLogin auth=ABCDEFG"]) -- Beno?t Minisini From gambas at ...1... Sat Feb 23 19:16:40 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sat, 23 Feb 2013 19:16:40 +0100 Subject: [Gambas-user] compile errore with rev 5557 in gb.pcre In-Reply-To: <1361531886.4594.12.camel@...2516...> References: <1361531886.4594.12.camel@...2516...> Message-ID: <51290788.4010203@...1...> Le 22/02/2013 12:18, Emanuele Sottocorno a ?crit : > Revision 5557 installation fails in gb.pcre with error: > regexp.c:113:10: error: 'PCRE_ERROR_RECURSELOOP' undeclared (first use > in this function) > > [System] > OperatingSystem=Linux > Kernel=3.2.0-38-generic > Architecture=x86_64 > Distribution=Ubuntu 12.04.2 LTS > Desktop=GNOME > Theme=QGtk > Language=it_IT.UTF-8 > Memory=3954M > > [Libraries] > Poppler=libpoppler.so.5.0.0 > GStreamer=libgstreamer-0.10.so.0.30.0 > GTK+=libgtk-x11-2.0.so.0.2400.10 > Qt4=libQtCore.so.4.8.1 > SDL=libSDL-1.2.so.0.11.3 > > full logs attached. > Is it better with revision #5558? -- Beno?t Minisini From gambas at ...2524... Sat Feb 23 20:27:40 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 23 Feb 2013 19:27:40 +0000 Subject: [Gambas-user] Issue 399 in gambas: SaveFile in GB.form.dialog uses folder for filename In-Reply-To: <1-6813199134517018827-13424754463821476900-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-13424754463821476900-gambas=googlecode.com@...2524...> <0-6813199134517018827-13424754463821476900-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-13424754463821476900-gambas=googlecode.com@...2524...> Updates: Status: WontFix Labels: -Version Version-3.4.0 Comment #2 on issue 399 by benoit.m... at ...626...: SaveFile in GB.form.dialog uses folder for filename http://code.google.com/p/gambas/issues/detail?id=399 Ensure that Dialog.Path ends with a slash (then the save file name is void). Or, better, always define a default save file name. -- 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 Feb 23 20:30:00 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 23 Feb 2013 19:30:00 +0000 Subject: [Gambas-user] Issue 408 in gambas: Mouse scrolling In-Reply-To: <0-6813199134517018827-9852742319722666958-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-9852742319722666958-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-9852742319722666958-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Comment #1 on issue 408 by benoit.m... at ...626...: Mouse scrolling http://code.google.com/p/gambas/issues/detail?id=408 Sorry, I don't understand your English. Can you be give more details, eventually with screenshots? -- 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 Feb 23 20:50:24 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 23 Feb 2013 19:50:24 +0000 Subject: [Gambas-user] Issue 408 in gambas: Mouse scrolling In-Reply-To: <1-6813199134517018827-9852742319722666958-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-9852742319722666958-gambas=googlecode.com@...2524...> <0-6813199134517018827-9852742319722666958-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-9852742319722666958-gambas=googlecode.com@...2524...> Comment #2 on issue 408 by krisztiankende: Mouse scrolling http://code.google.com/p/gambas/issues/detail?id=408 Pictures can not show it. But I made a short video. Attachments: scrollbug.ogv 1.7 MB -- 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 willy at ...2734... Sat Feb 23 21:07:45 2013 From: willy at ...2734... (Willy Raets) Date: Sat, 23 Feb 2013 21:07:45 +0100 Subject: [Gambas-user] Issue 408 in gambas: Mouse scrolling In-Reply-To: <2-6813199134517018827-9852742319722666958-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-9852742319722666958-gambas=googlecode.com@...2524...> <0-6813199134517018827-9852742319722666958-gambas=googlecode.com@...2524...> <2-6813199134517018827-9852742319722666958-gambas=googlecode.com@...2524...> Message-ID: <1361650065.2003.17.camel@...3024...> On Sat, 2013-02-23 at 19:50 +0000, gambas at ...2524... wrote: > Comment #2 on issue 408 by krisztiankende: Mouse scrolling > http://code.google.com/p/gambas/issues/detail?id=408 > > Pictures can not show it. But I made a short video. > > > Attachments: > scrollbug.ogv 1.7 MB As I see it on the video the scrollbar moves when clicking in the list. Am I right? If you try your application with gb.qt4 component does it work as it should? What I mean to ask does the problem only occur in component gb.gtk or does the same happen in gb.qt4 as well? > -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From gambas at ...2524... Sat Feb 23 21:14:39 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 23 Feb 2013 20:14:39 +0000 Subject: [Gambas-user] Issue 408 in gambas: Mouse scrolling In-Reply-To: <2-6813199134517018827-9852742319722666958-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-9852742319722666958-gambas=googlecode.com@...2524...> <0-6813199134517018827-9852742319722666958-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-9852742319722666958-gambas=googlecode.com@...2524...> Updates: Status: Accepted Comment #3 on issue 408 by benoit.m... at ...626...: Mouse scrolling http://code.google.com/p/gambas/issues/detail?id=408 Thanks, I see it now. -- 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 Feb 23 21:41:12 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 23 Feb 2013 20:41:12 +0000 Subject: [Gambas-user] Issue 408 in gambas: Mouse scrolling In-Reply-To: <3-6813199134517018827-9852742319722666958-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-9852742319722666958-gambas=googlecode.com@...2524...> <0-6813199134517018827-9852742319722666958-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-9852742319722666958-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #4 on issue 408 by benoit.m... at ...626...: Mouse scrolling http://code.google.com/p/gambas/issues/detail?id=408 Fixed in revision #5559. -- 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 nemh at ...2007... Sat Feb 23 21:27:18 2013 From: nemh at ...2007... (Kende =?UTF-8?B?S3Jpc3p0acOhbg==?=) Date: Sat, 23 Feb 2013 21:27:18 +0100 Subject: [Gambas-user] Issue 408 in gambas: Mouse scrolling In-Reply-To: <1361650065.2003.17.camel@...3024...> References: <1-6813199134517018827-9852742319722666958-gambas=googlecode.com@...2524...> <0-6813199134517018827-9852742319722666958-gambas=googlecode.com@...2524...> <2-6813199134517018827-9852742319722666958-gambas=googlecode.com@...2524...> <1361650065.2003.17.camel@...3024...> Message-ID: <20130223212718.29dfd023@...3104...> No, I scrolling with mouse wheel, and controls content is not move, but the slider is yes. I have not tried with the qb.qt4 component, because I do not use. > On Sat, 2013-02-23 at 19:50 +0000, gambas at ...2524... wrote: > > Comment #2 on issue 408 by krisztiankende: Mouse scrolling > > http://code.google.com/p/gambas/issues/detail?id=408 > > > > Pictures can not show it. But I made a short video. > > > > > > Attachments: > > scrollbug.ogv 1.7 MB > > As I see it on the video the scrollbar moves when clicking in the > list. Am I right? > > If you try your application with gb.qt4 component does it work as it > should? What I mean to ask does the problem only occur in component > gb.gtk or does the same happen in gb.qt4 as well? > > > From gambas at ...2524... Sat Feb 23 22:00:15 2013 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 23 Feb 2013 21:00:15 +0000 Subject: [Gambas-user] Issue 408 in gambas: Mouse scrolling In-Reply-To: <4-6813199134517018827-9852742319722666958-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-9852742319722666958-gambas=googlecode.com@...2524...> <0-6813199134517018827-9852742319722666958-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-9852742319722666958-gambas=googlecode.com@...2524...> Comment #5 on issue 408 by krisztiankende: Mouse scrolling http://code.google.com/p/gambas/issues/detail?id=408 Thanks, I integrate this patch to version 3.4.0 (Ubuntu PPA). -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...1... Sun Feb 24 00:22:00 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 24 Feb 2013 00:22:00 +0100 Subject: [Gambas-user] gb.net.curl How to upload binary files In-Reply-To: <51290612.20701@...1...> References: <1379221.O0OyIqsa5T@...3096...> <51290612.20701@...1...> Message-ID: <51294F18.1080301@...1...> Le 23/02/2013 19:10, Beno?t Minisini a ?crit : > Le 21/02/2013 20:42, Ulf Wedemeyer SpamOk a ?crit : >> Hello Gambas experts >> >> I have been working on a small project syncing data with Google >> through their >> data API. >> >> Most of the communication works well using the HttpClient from the >> gb.net.curl >> component, but I struggling to get mimic the following curl command line. >> >> curl --silent --request POST --data-binary "@sweeping_the_rock.png" \ >> --header "Slug: Sweeping the rock" --header "Content-Type: image/png" \ >> --header "Authorization: GoogleLogin auth=ABCDEFG" >> "http://picasaweb.google.com/data/feed/api/user/brad.gushue/albumid/5113621341847124417" >> >> >> I don't want to open the file and read fully first, as it can become >> rather >> large, so I prefer to read it /pipe to the curl stream. >> Currently I reverted to using the Shell command but I consider that >> only a >> workaround with a curl component already existing. >> >> A small code snipplet would be great help. >> >> Thanks a lot in advance. >> >> Ulf >> > > Does the following work when the file is not too large? > > MyHttpClient.URL = > "http://picasaweb.google.com/data/feed/api/user/brad.gushue/albumid/5113621341847124417" > > MyHttpClient.Post("image/png", File.Load("sweeping_the_rock.png"), > ["Slug: Sweeping the rock", "Authorization: GoogleLogin auth=ABCDEFG"]) > I have added a PostFile() method in the revision #5560. Does it fit your needs? -- Beno?t Minisini From sotema at ...626... Sun Feb 24 09:37:54 2013 From: sotema at ...626... (Emanuele Sottocorno) Date: Sun, 24 Feb 2013 09:37:54 +0100 Subject: [Gambas-user] compile errore with rev 5557 in gb.pcre (sotema) In-Reply-To: References: Message-ID: <1361695074.13288.2.camel@...2476...> > > > > Is it better with revision #5558? > > -- > Beno?t Minisini > Revision #5560 It's OK Thanks From karl.reinl at ...9... Sun Feb 24 16:35:20 2013 From: karl.reinl at ...9... (Karl Reinl) Date: Sun, 24 Feb 2013 16:35:20 +0100 Subject: [Gambas-user] r5560 do not compile Message-ID: <1361720120.32397.3.camel@...40...> Salut Beno?t, r5560 do not compile [System] OperatingSystem=Linux Kernel=3.0.0-31-generic Architecture=x86 Distribution=Ubuntu 10.04.4 LTS Desktop=GNOME Theme=QPlastique Language=de_DE.UTF-8 Memory=3026M [Libraries] 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 see attached log files -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: 5560-svn-Error.tar.bz2 Type: application/x-bzip-compressed-tar Size: 11956 bytes Desc: not available URL: From gambas at ...1... Sun Feb 24 17:48:42 2013 From: gambas at ...1... (=?ISO-8859-1?Q?Beno=EEt_Minisini?=) Date: Sun, 24 Feb 2013 17:48:42 +0100 Subject: [Gambas-user] r5560 do not compile In-Reply-To: <1361720120.32397.3.camel@...40...> References: <1361720120.32397.3.camel@...40...> Message-ID: <512A446A.9070709@...1...> Le 24/02/2013 16:35, Karl Reinl a ?crit : > Salut Beno?t, > > r5560 do not compile > > [System] > OperatingSystem=Linux > Kernel=3.0.0-31-generic > Architecture=x86 > Distribution=Ubuntu 10.04.4 LTS > Desktop=GNOME > Theme=QPlastique > Language=de_DE.UTF-8 > Memory=3026M > > [Libraries] > 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 > > see attached log files > Is it better with revision #5561? -- Beno?t Minisini From vuott at ...152... Sun Feb 24 17:49:31 2013 From: vuott at ...152... (vuott at ...152...) Date: Sun, 24 Feb 2013 17:49:31 +0100 (CET) Subject: [Gambas-user] WebView.HTML does not show that instead WebView.Url shows. Message-ID: <3141299.35451361724571968.JavaMail.defaultUser@...1910...> Hello, I have noticed that not all the HTML code works with WebView.HTML. So, in this cases I must use WebView.Url property. Example, if this HTML code: it doesn't work if I write: WebView1.HTML = "