Re: [Gambas-user] Bizarre results when entering a £ symbol into a TextArea or TextBox
Jussi, Since you are top posting, I shall also top post: hopefully, it won't start another long discussion. Thanks for the suggestion about using String methods. The Test app now works properly using the String methods. Also, the = and &= operators work OK for strings containing non-ASCII characters such as $. John On 17/03/15 15:50, Jussi Lahtinen wrote: > Oh I missed you are using Mid() function, it is only for ASCII characters, > use String.Mid() instead. > > > Jussi > > On Tue, Mar 17, 2015 at 4:33 PM, John Rose > wrote: > >> On 17/03/15 13:33, Jussi Lahtinen wrote: >>> Maybe the console takes only ASCII characters? >>> >>> >>> Jussi >>> >>> On Tue, Mar 17, 2015 at 3:00 PM, John Rose >>> wrote: >>> When entering a £ character (i.e. the British pound symbol not the American one) into a TextArea or TextBox, it seems to be 'interpreted' as a funny looking question mark (i.e. sort of reverse black & white) when it's shown on the Console using a Print statement (actioned in a Change event). I wonder if this could be due to Gambas/Ubuntu regarding my keyboard as American even though it's 'installed' within Ubuntu as British. -- John >> -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub >> for all things parallel software development, from weekly thought leadership >> blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user >> -- >>> Dive into the World of Parallel Programming The Go Parallel Website, >> sponsored >>> by Intel and developed in partnership with Slashdot Media, is your hub >> for all >>> things parallel software development, from weekly thought leadership >> blogs to >>> news, videos, case studies, tutorials and more. Take a look and join the >>> conversation now. http://goparallel.sourceforge.net/ >>> ___ >>> Gambas-user mailing list >>> Gambas-user@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> I don't think that it's caused by Print statements to the Console. When >> I amend the Change event coding (see below) for the TextArea and run the >> app with just a £ character keyed into the TextArea, I get on the >> Console (with the £ character displayed OK in the TextArea): >> X >> sCh=� >> Y >> ZZ >> * >> *** >> >> The coding is: >> Dim i As Integer >> Dim sCh As String >> For i = 1 To PrintedTextArea.Length >> sCh = Mid(PrintedTextArea.Text, i, 1) >> Print "sCh=" & sCh >> Print "X" >> Print "sCh=" & sCh >> Print "Y" >> sCh = Mid(Last.Text, i, 1) >> Select sCh >> Case "£", "?", "&", ".", "/", "=" >> Print "Z" >> Case Else >> Print "ZZ" >> End Select >> Print "*" >> Next >> Print "***" >> >> Which implies that the above Select statement is not recognising an >> input £ as it is regarded it as the funny question mark when input into >> the TextArea. Looking at www.asciitable.com, Chr(35) is # which I would >> assume that Ubuntu should regard as a £ on a British keyboard. There >> seems to be a bug: either on Ubuntu or Gambas. Which is it? >> >> >> -- >> Dive into the World of Parallel Programming The Go Parallel Website, >> sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub for >> all >> things parallel software development, from weekly thought leadership blogs >> to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> ___ >> Gambas-user mailing list >> Gambas-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > -- > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user --
[Gambas-user] Issue 610 in gambas: Debian packaging of control: Depends only gambas3-runtime
Status: New Owner: Labels: Version-TRUNK Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 610 by chr4...@googlemail.com: Debian packaging of control: Depends only gambas3-runtime https://code.google.com/p/gambas/issues/detail?id=610 1) Describe the problem. When packaging a component for Debian, inside the resulting .deb the file DEBIAN/control defines dependancies in the tag Depends. When packaging a Gambas control which depends on several other Gambas components, it should list these components here to ensure, that they are installed via apt. Instead there are only these dependancies listed: Depends: gambas3-runtime (>= 3.7), gambas3-runtime (<< 3.99.0) 2) Reproduce Attached is a project, which depends on Component=gb.db Component=gb.image Component=gb.qt4 Component=gb.form Create a Debian Package from it. Look inside the created .deb file in DEBIAN/control and see, it only depends gambas3-runtime. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Maskbox mask & text entry
I have a Maskbox with mask [A-Za-z][A-Za-z]. I noticed that the IDE does not show the MaxLength property. I want the user to be able to enter lower case & have the entry displayed as upper case for either of the 2 characters. When I run the attached Test app, it only seems to allow the entry of 1 characted. When 'a' followed by 'd' is entered, the Maskbox displays D and the Console shows from the Print statements carried out by code conversion of lower case to uppercase: SteckerMaskBox.MaxLength=0 SteckerMaskBox.Length=1 SteckerMaskBox.Text=a SteckerMaskBox.Mask=[A-Za-z][A-Za-z] Length=1 SteckerMaskBox.MaxLength=0 SteckerMaskBox.Length=1 SteckerMaskBox.Text=d SteckerMaskBox.Mask=[A-Za-z][A-Za-z] Length=1 What is the solution to allow a 2 character entry? PS I'm using Gambas Stable Builds ppa with gambas version showing as 3.7.90 though Gambas IDE Title bar shows DEVELOPMENT VERSION - USE AT YOUR OWN RISK. Could this 'Stable' ppa contain a jinxed Gambas version? -- John Test.tar.gz Description: application/gzip -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Possible error PPA 3.7 Stable
Thats because the version in the 3.7 branch was updated to 3.7.90 when it should have stayed in 3.7.0. I have included a patch to the build system to revert the commit. I will publish an update shortly. Thanks for pointing it out! On Wed, Mar 18, 2015 at 9:38 AM, Gian wrote: > Upon notification by a user of Gambas-it I tried to install the PPA stable. > Seems that we obtained the Trunk. > See image attached > > Regards > Gianluigi > > > -- > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Possible error PPA 3.7 Stable
In 'update manager' is listed as: gambas3 Gambas compression component 3.7.0-24.30~ubuntu14.01 (I assume this is related to the same issue , but I could be wrong). Lewis On 03/18/2015 07:38 AM, Gian wrote: > Upon notification by a user of Gambas-it I tried to install the PPA > stable. > Seems that we obtained the Trunk. > See image attached > > Regards > Gianluigi > > > -- > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > > > ___ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Possible error PPA 3.7 Stable
Le 18/03/2015 15:54, Sebastian Kulesz a écrit : > Thats because the version in the 3.7 branch was updated to 3.7.90 when it > should have stayed in 3.7.0. I have included a patch to the build system to > revert the commit. I will publish an update shortly. > > Thanks for pointing it out! > Oops, sorry, I fix that. -- Benoît Minisini -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Possible error PPA 3.7 Stable
Ok thank you very much for the update but we mark that has remained the written of the Trunk version. See image attached Regards Gianluigi -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] Autotools packaging ???
Something has happened that I don't quite understand. For several years we have used autotools packaging to distribute our stuff to clients. The IDE options for packaging have always been: Vendor Name="Paddys-Hill" Prefix package name with the vendor name=Yes This has always worked up till the last time we sent some stuff out via autotools (around Oct last year?), we would have a package called (say) "paddys-hill-parseform-0.1.2.tar.gz". Now, when I first package up a project, the wizard "Prefix package with the vendor name" checkbox is writeable but we have had our name prefix changed to "paddys_hill" instead of "paddys-hill"??? And subsequent packaging doesn't let me alter the checkbox and adds "gambas3-" to the front of the package name. So I end up with "gambas3-paddys_hill-parseform-0.1.2.tar.gz". This is really playing havoc with the downloader/installer we have provided our customers with and is causing me no end of headache. What is going on? regards bruce -- B Bruen -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Autotools packaging ???
Le 19/03/2015 00:38, adamn...@gmail.com a écrit : > Something has happened that I don't quite understand. > > For several years we have used autotools packaging to distribute our stuff to > clients. > The IDE options for packaging have always been: > Vendor Name="Paddys-Hill" > Prefix package name with the vendor name=Yes > > This has always worked up till the last time we sent some stuff out via > autotools (around Oct last year?), we would have a package called (say) > "paddys-hill-parseform-0.1.2.tar.gz". > > Now, when I first package up a project, the wizard "Prefix package with the > vendor name" checkbox is writeable but we have had our name prefix changed to > "paddys_hill" instead of "paddys-hill"??? > > And subsequent packaging doesn't let me alter the checkbox and adds > "gambas3-" to the front of the package name. So I end up with > "gambas3-paddys_hill-parseform-0.1.2.tar.gz". > > This is really playing havoc with the downloader/installer we have provided > our customers with and is causing me no end of headache. What is going on? > > regards > bruce > Sorry but the "-" character inside vendor name makes packaging fail in some cases and some distributions, so it is automatically replaced by "_". Regards, -- Benoît Minisini -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Issue 610 in gambas: Debian packaging of control: Depends only gambas3-runtime
Comment #1 on issue 610 by benoit.m...@gmail.com: Debian packaging of control: Depends only gambas3-runtime https://code.google.com/p/gambas/issues/detail?id=610 Please provide the project. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Autotools packaging ???
On Thu, 19 Mar 2015 00:40:54 +0100 Benoît Minisini wrote: > Le 19/03/2015 00:38, adamn...@gmail.com a écrit : > > Something has happened that I don't quite understand. > > > > For several years we have used autotools packaging to distribute our stuff > > to clients. > > The IDE options for packaging have always been: > > Vendor Name="Paddys-Hill" > > Prefix package name with the vendor name=Yes > > > > This has always worked up till the last time we sent some stuff out via > > autotools (around Oct last year?), we would have a package called (say) > > "paddys-hill-parseform-0.1.2.tar.gz". > > > > Now, when I first package up a project, the wizard "Prefix package with the > > vendor name" checkbox is writeable but we have had our name prefix changed > > to "paddys_hill" instead of "paddys-hill"??? > > > > And subsequent packaging doesn't let me alter the checkbox and adds > > "gambas3-" to the front of the package name. So I end up with > > "gambas3-paddys_hill-parseform-0.1.2.tar.gz". > > > > This is really playing havoc with the downloader/installer we have provided > > our customers with and is causing me no end of headache. What is going on? > > > > regards > > bruce > > > > Sorry but the "-" character inside vendor name makes packaging fail in > some cases and some distributions, so it is automatically replaced by "_". > > Regards, > > -- > Benoît Minisini > > Benoît, With respect, where is the code that does this mucking about? I have over 90 packages to test and distribute to our customers this month, a huge upgrade. I will carve this change out of our local IDE version "with extreme prejudice"! If I can't use the existing downloader/installer I will have to visit each of the 36 customers to "fix" it. Please, if this is something to do with that *&^*(&^ U-voodoo distro, don't tell me so. I have had a gut-full of it and its' refusal to follow convention!!! Not happy, in fact panicking. regards bruce -- B Bruen -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user