From taboege at ...626... Sun Feb 1 01:17:25 2015 From: taboege at ...626... (Tobias Boege) Date: Sun, 1 Feb 2015 01:17:25 +0100 Subject: [Gambas-user] Error.Text in Application_Error()? Message-ID: <20150201001725.GF571@...2774...> Hi, is the Error.Text property supposed to be empty in Application_Error()? The attached script exhibits this behaviour. I'm not sure if it was always this way... Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- #!/usr/bin/gbs3 Public Sub Main() Print 1 / 0 End Public Sub Application_Error() Print "---" Print Error.Text Print "---" End From gambas at ...2524... Sun Feb 1 10:57:11 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 01 Feb 2015 09:57:11 +0000 Subject: [Gambas-user] Issue 599 in gambas: deb package of component: icons not found In-Reply-To: <1-6813199134517018827-11493427735798353513-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-11493427735798353513-gambas=googlecode.com@...2524...> <0-6813199134517018827-11493427735798353513-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-11493427735798353513-gambas=googlecode.com@...2524...> Comment #2 on issue 599 by chr4... at ...1601...: deb package of component: icons not found https://code.google.com/p/gambas/issues/detail?id=599 Yes it works, 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 1 12:54:21 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 01 Feb 2015 11:54:21 +0000 Subject: [Gambas-user] Issue 600 in gambas: IDE: Project Tree popup menu -New|Existing crash In-Reply-To: <0-6813199134517018827-9231106339631815962-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-9231106339631815962-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-9231106339631815962-gambas=googlecode.com@...2524...> Updates: Status: Fixed Labels: -Version Version-TRUNK Comment #1 on issue 600 by benoit.m... at ...626...: IDE: Project Tree popup menu -New|Existing crash https://code.google.com/p/gambas/issues/detail?id=600 It should have been fixed in revision #6875. Can you confirm? -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From chrisml at ...3340... Sun Feb 1 13:57:04 2015 From: chrisml at ...3340... (Christof Thalhofer) Date: Sun, 01 Feb 2015 13:57:04 +0100 Subject: [Gambas-user] .component file Message-ID: <54CE22A0.8010604@...3340...> Hello, if a project is defined as component there is a file ".component" created in root dir of the project. But this file is not removed, when switching back the project to library or normal. Why? Is this a bug or a feature? Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From bagoneo at ...69... Sun Feb 1 14:08:43 2015 From: bagoneo at ...69... (Gian) Date: Sun, 01 Feb 2015 14:08:43 +0100 Subject: [Gambas-user] Widget focus In-Reply-To: <54CBF82E.70808@...69...> References: <54CBF82E.70808@...69...> Message-ID: <54CE255B.2080408@...69...> Il 30/01/2015 22:31, Gian ha scritto: > Hi all, > In Ubuntu 14.04 with Gambas3 3.6.2 with the components QT4 the focus > does not work on the following widgets: > Button, ToggleButton, MenuButton, SwitchButton. > Instead ToolButton is OK. > It is the same with the forms nested (eg. hFin1 = New Form1 (FMain)) > Instead with GTK nested forms focus does not work at all, while with the > normal form everything is OK. > Note: RadioButton in opening normal form is checked only in GTK, not in > QT4. > > Regards > Gianluigi > > [System] > Gambas=3.6.2 > OperatingSystem=Linux > Kernel=3.13.0-45-generic > Architecture=x86_64 > Distribution=Ubuntu 14.04.1 LTS > Desktop=GNOME > Theme=QGtk > Language=it_IT.UTF-8 > Memory=4961M > [Libraries] > Cairo=libcairo.so.2.11301.0 > Curl=libcurl.so.4.3.0 > DBus=libdbus-1.so.3.7.6 > GStreamer=libgstreamer-0.10.so.0.30.0 > GStreamer=libgstreamer-1.0.so.0.204.0 > GTK+3=libgtk-3.so.0.1000.8 > GTK+=libgtk-x11-2.0.so.0.2400.23 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.44.0.0 > Qt4=libQtCore.so.4.8.6 > SDL=libSDL-1.2.so.0.11.4 Hi, same as above even with trunk. Here attached two tests [System] Gambas=3.6.90 OperatingSystem=Linux Kernel=3.13.0-45-generic Architecture=x86 Distribution=Ubuntu 14.04.1 LTS Desktop=GNOME Theme=QGtk Language=it_IT.UTF-8 Memory=3020M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 -------------- next part -------------- A non-text attachment was scrubbed... Name: TestFocus-0.0.1.tar.gz Type: application/gzip Size: 4104 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: TestForm-0.0.1.tar.gz Type: application/gzip Size: 4155 bytes Desc: not available URL: From chriseana at ...626... Sun Feb 1 14:26:53 2015 From: chriseana at ...626... (Christian e Ana Luiza Britto) Date: Sun, 1 Feb 2015 11:26:53 -0200 Subject: [Gambas-user] Embed a specific SQLite version Message-ID: Hi Folks, Is it possible to make Gambas access a specific version of SQLIte? I mean, I'm using a Linux Mint 17.1 (based on Ubuntu 14.04 packages). In this way, the system installs the SQLIte version 3.8.2 (that's the only that is available at the repositories 14.04). But I need to use SQLIte version 3.8.8 (at least 3.8.3 ahead...). Is it possible to embed a specific SQLite "driver" in my Gambas application so it can access the database independent of the SQLite driver of the Linux System. Is it possible to deploy my application with this specific SQLite driver? It's so important because I need to use Common Table Expressions (CTE), that's available only in SQLIte 3.8.3 ahead. Thank you so much, Christian [System] Gambas=3.6.2 OperatingSystem=Linux Kernel=3.13.0-37-generic Architecture=x86_64 Distribution=Linux Mint 17.1 Rebecca Desktop=KDE4 Theme=Oxygen Language=en_US.UTF-8 Memory=7932M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 From taboege at ...626... Sun Feb 1 14:54:38 2015 From: taboege at ...626... (Tobias Boege) Date: Sun, 1 Feb 2015 14:54:38 +0100 Subject: [Gambas-user] .component file In-Reply-To: <54CE22A0.8010604@...3340...> References: <54CE22A0.8010604@...3340...> Message-ID: <20150201135438.GA544@...2774...> On Sun, 01 Feb 2015, Christof Thalhofer wrote: > Hello, > > if a project is defined as component there is a file ".component" > created in root dir of the project. But this file is not removed, when > switching back the project to library or normal. > > Why? Is this a bug or a feature? Did you try with: Revision: 6864 Author: gambas Date: 2015-01-24 22:04:47 +0000 (Sat, 24 Jan 2015) Log Message: ----------- [DEVELOPMENT ENVIRONMENT] * NEW: The '.component' file is removed if the project type is switched back to "normal". Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From chrisml at ...3340... Sun Feb 1 15:22:58 2015 From: chrisml at ...3340... (Christof Thalhofer) Date: Sun, 01 Feb 2015 15:22:58 +0100 Subject: [Gambas-user] .component file In-Reply-To: <20150201135438.GA544@...2774...> (sfid-) References: <54CE22A0.8010604@...3340...> <20150201135438.GA544@...2774...> (sfid-) Message-ID: <54CE36C2.4020308@...3340...> Hi Tobi, Am 01.02.2015 um 14:54 schrieb Tobias Boege: > Did you try with: > > Revision: 6864 Yes, you're right, it is fixed. Thanks. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From chrisml at ...3340... Sun Feb 1 15:29:24 2015 From: chrisml at ...3340... (Christof Thalhofer) Date: Sun, 01 Feb 2015 15:29:24 +0100 Subject: [Gambas-user] .list file class names with exclamation marks Message-ID: <54CE3844.9070609@...3340...> Hello, the .list file in the project root seems to contain the names of exported classes of a library or component. But some of them have exclamation marks at the end of the name. Why? Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From taboege at ...626... Sun Feb 1 15:44:37 2015 From: taboege at ...626... (Tobias Boege) Date: Sun, 1 Feb 2015 15:44:37 +0100 Subject: [Gambas-user] .list file class names with exclamation marks In-Reply-To: <54CE3844.9070609@...3340...> References: <54CE3844.9070609@...3340...> Message-ID: <20150201144437.GB544@...2774...> On Sun, 01 Feb 2015, Christof Thalhofer wrote: > Hello, > > the .list file in the project root seems to contain the names of > exported classes of a library or component. But some of them have > exclamation marks at the end of the name. > > Why? > Looking at main/gbc/gbc_dump.c, I would guess the '!' means that the class contains static symbols. Does this match with your observation? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From chrisml at ...3340... Sun Feb 1 16:42:34 2015 From: chrisml at ...3340... (Christof Thalhofer) Date: Sun, 01 Feb 2015 16:42:34 +0100 Subject: [Gambas-user] .list file class names with exclamation marks In-Reply-To: <20150201144437.GB544@...2774...> (sfid-) References: <54CE3844.9070609@...3340...> <20150201144437.GB544@...2774...> (sfid-) Message-ID: <54CE496A.1080807@...3340...> Am 01.02.2015 um 15:44 schrieb Tobias Boege: > Looking at main/gbc/gbc_dump.c, I would guess the '!' means that the class > contains static symbols. Does this match with your observation? Thank you. Hm. In a library, I wrote, there it is right. Every module and every class with a static function inside are tagged in .list with an exclamation mark. But I have a project as component with two classes (no "static" inside), there the names are tagged in .list with an exclamation mark also. I suspect the exclamation marks beeing responsible, that the classes of the component are not found in another project, which relies on that. But the component is packed with dev-version, the project itself runs under Gabas3 beta. If I use the dev-version of Gambas3, the interpreter crashes. I am trying to find out what's going on. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From gambas at ...1... Sun Feb 1 17:02:47 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 01 Feb 2015 17:02:47 +0100 Subject: [Gambas-user] Error.Text in Application_Error()? In-Reply-To: <20150201001725.GF571@...2774...> References: <20150201001725.GF571@...2774...> Message-ID: <54CE4E27.9030501@...1...> Le 01/02/2015 01:17, Tobias Boege a ?crit : > Hi, > > is the Error.Text property supposed to be empty in Application_Error()? The > attached script exhibits this behaviour. I'm not sure if it was always this > way... > > Regards, > Tobi > It was not always that way, but that was a bug. The Error class cannot be both the current error status of the function and the last uncatched error. Gambas needs a real object to store the error information, but it can't be done without breaking the compatibility. :-( -- Beno?t Minisini From gambas at ...1... Sun Feb 1 17:14:40 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 01 Feb 2015 17:14:40 +0100 Subject: [Gambas-user] Widget focus In-Reply-To: <54CBF82E.70808@...69...> References: <54CBF82E.70808@...69...> Message-ID: <54CE50F0.1020901@...1...> Le 30/01/2015 22:31, Gian a ?crit : > Hi all, > In Ubuntu 14.04 with Gambas3 3.6.2 with the components QT4 the focus > does not work on the following widgets: > Button, ToggleButton, MenuButton, SwitchButton. > Instead ToolButton is OK. > It is the same with the forms nested (eg. hFin1 = New Form1 (FMain)) > Instead with GTK nested forms focus does not work at all, while with the > normal form everything is OK. > Note: RadioButton in opening normal form is checked only in GTK, not in QT4. > > Regards > Gianluigi > What do you mean exactly by "does not work"??? -- Beno?t Minisini From gambas at ...1... Sun Feb 1 17:21:20 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 01 Feb 2015 17:21:20 +0100 Subject: [Gambas-user] Widget focus In-Reply-To: <54CE50F0.1020901@...1...> References: <54CBF82E.70808@...69...> <54CE50F0.1020901@...1...> Message-ID: <54CE5280.2060409@...1...> Le 01/02/2015 17:14, Beno?t Minisini a ?crit : > Le 30/01/2015 22:31, Gian a ?crit : >> Hi all, >> In Ubuntu 14.04 with Gambas3 3.6.2 with the components QT4 the focus >> does not work on the following widgets: >> Button, ToggleButton, MenuButton, SwitchButton. >> Instead ToolButton is OK. >> It is the same with the forms nested (eg. hFin1 = New Form1 (FMain)) >> Instead with GTK nested forms focus does not work at all, while with the >> normal form everything is OK. >> Note: RadioButton in opening normal form is checked only in GTK, not >> in QT4. >> >> Regards >> Gianluigi >> > > What do you mean exactly by "does not work"??? > Here is what I see on my own system: - Focus works with gb.qt4 with normal form and nested form. The MenuButton does not draw its focus rectangle with the "Oxygen" widget style. - Focus works with gb.gtk/gb.gtk3 with normal but not with nested form. The MenuButton draws its focus rectangle with the "oxygen-gtk" widget theme. - The RadioButton starts selected with gb.gtk because I think it cannot be unselected if it is alone, contrary to gb.qt4. Tell me if you agree. Regards, -- Beno?t Minisini From bagoneo at ...69... Sun Feb 1 18:39:45 2015 From: bagoneo at ...69... (Gian) Date: Sun, 01 Feb 2015 18:39:45 +0100 Subject: [Gambas-user] Widget focus In-Reply-To: <54CE5280.2060409@...1...> References: <54CBF82E.70808@...69...> <54CE50F0.1020901@...1...> <54CE5280.2060409@...1...> Message-ID: <54CE64E1.3060501@...69...> Il 01/02/2015 17:21, Beno?t Minisini ha scritto: > Le 01/02/2015 17:14, Beno?t Minisini a ?crit : >> Le 30/01/2015 22:31, Gian a ?crit : >>> Hi all, >>> In Ubuntu 14.04 with Gambas3 3.6.2 with the components QT4 the focus >>> does not work on the following widgets: >>> Button, ToggleButton, MenuButton, SwitchButton. >>> Instead ToolButton is OK. >>> It is the same with the forms nested (eg. hFin1 = New Form1 (FMain)) >>> Instead with GTK nested forms focus does not work at all, while with the >>> normal form everything is OK. >>> Note: RadioButton in opening normal form is checked only in GTK, not >>> in QT4. >>> >>> Regards >>> Gianluigi >>> >> >> What do you mean exactly by "does not work"??? I mean that tabulating, is not highlighted control. >> > > Here is what I see on my own system: > > - Focus works with gb.qt4 with normal form and nested form. The > MenuButton does not draw its focus rectangle with the "Oxygen" widget style. If I understand, I do not have Oxygen I work with the original Ubuntu on all my computers. With QT4 (normal form and nested form) all button (excluding ToolButton) the focus does not work. > > - Focus works with gb.gtk/gb.gtk3 with normal but not with nested form. > The MenuButton draws its focus rectangle with the "oxygen-gtk" widget theme. Idem with GTK (I dont use GTK3). > > - The RadioButton starts selected with gb.gtk because I think it cannot > be unselected if it is alone, contrary to gb.qt4. > No, where I have several RadioButton is selected first and skip the tab on the others (only GTK) Regards Gianluigi From t.lee.davidson at ...626... Sun Feb 1 19:25:15 2015 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Sun, 01 Feb 2015 13:25:15 -0500 Subject: [Gambas-user] Embed a specific SQLite version In-Reply-To: References: Message-ID: <54CE6F8B.50000@...626...> Hi Christian, To use SQLite > 3.8.3, you'll probably just need to install it on your system; either by compiling and installing, or by building a .deb package to install. I don't use any flavor of Ubuntu, so I can't help with that. Nor can I help with your deployment question. Lee __________ "Artificial Intelligence is no match for natural stupidity." On 02/01/2015 08:26 AM, Christian e Ana Luiza Britto wrote: > Hi Folks, > Is it possible to make Gambas access a specific version of SQLIte? > > I mean, I'm using a Linux Mint 17.1 (based on Ubuntu 14.04 packages). > In this way, the system installs the SQLIte version 3.8.2 (that's the > only that is available at the repositories 14.04). But I need to use > SQLIte version 3.8.8 (at least 3.8.3 ahead...). Is it possible to > embed a specific SQLite "driver" in my Gambas application so it can > access the database independent of the SQLite driver of the Linux > System. > > Is it possible to deploy my application with this specific SQLite driver? > > It's so important because I need to use Common Table Expressions > (CTE), that's available only in SQLIte 3.8.3 ahead. From jusabejusabe at ...626... Sun Feb 1 21:46:29 2015 From: jusabejusabe at ...626... (Julio Sanchez) Date: Sun, 1 Feb 2015 21:46:29 +0100 Subject: [Gambas-user] How to include a .so library in the .deb package? In-Reply-To: <54CD2B45.9070506@...626...> References: <54CD2B45.9070506@...626...> Message-ID: Martin: Another option to create a .deb package only for the .so library: https://ubuntulife.wordpress.com/2010/08/05/crear-un-paquete-deb-manualmente/ Regards Julio 2015-01-31 20:21 GMT+01:00 T Lee Davidson : > I haven't actually done this, so I hope someone will correct me if I am > wrong. > But, I believe you would list your .so file in the Extra Files (step #8) > section > of the "Make installation package" process. > > > Lee > __________ > > "Artificial Intelligence is no match for natural stupidity." > > On 01/31/2015 10:19 AM, martin p cristia wrote: > > Hi: > > > > I need to include a .so library in the Installation package , how to do > it? > > > > it needs to be at /usr/lib or it can reside at program folder? > > > > tnx > > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Mon Feb 2 00:47:04 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 01 Feb 2015 23:47:04 +0000 Subject: [Gambas-user] Issue 600 in gambas: IDE: Project Tree popup menu -New|Existing crash In-Reply-To: <1-6813199134517018827-9231106339631815962-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-9231106339631815962-gambas=googlecode.com@...2524...> <0-6813199134517018827-9231106339631815962-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-9231106339631815962-gambas=googlecode.com@...2524...> Comment #2 on issue 600 by brucedot... at ...626...: IDE: Project Tree popup menu -New|Existing crash https://code.google.com/p/gambas/issues/detail?id=600 Yes, that's better. Thanks -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From adamnt42 at ...626... Mon Feb 2 08:49:06 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Mon, 2 Feb 2015 18:19:06 +1030 Subject: [Gambas-user] Non-linux line ending files are seen as binary by the IDE Message-ID: <20150202181906.356c495204f2cde23284c2aa@...626...> If I have a data file in the project which has windows style line endings, i.e. CRLF then the IDE thinks it's a binary file. Don't really know if this is a bug or just an anomaly or what is the expected behaviour? e.g. attached. In the IDE, Data|New > Existing, add the attached file. Double clicking on it raises the error balloon "Cannot open a binary file". cheers B -- B Bruen -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: dayplanner.txt URL: From bagoneo at ...69... Mon Feb 2 14:09:11 2015 From: bagoneo at ...69... (Gian) Date: Mon, 02 Feb 2015 14:09:11 +0100 Subject: [Gambas-user] Widget focus In-Reply-To: <54CE64E1.3060501@...69...> References: <54CBF82E.70808@...69...> <54CE50F0.1020901@...1...> <54CE5280.2060409@...1...> <54CE64E1.3060501@...69...> Message-ID: <54CF76F7.6030904@...69...> Il 01/02/2015 18:39, Gian ha scritto: > Il 01/02/2015 17:21, Beno?t Minisini ha scritto: >> Le 01/02/2015 17:14, Beno?t Minisini a ?crit : >>> Le 30/01/2015 22:31, Gian a ?crit : >>>> Hi all, >>>> In Ubuntu 14.04 with Gambas3 3.6.2 with the components QT4 the focus >>>> does not work on the following widgets: >>>> Button, ToggleButton, MenuButton, SwitchButton. >>>> Instead ToolButton is OK. >>>> It is the same with the forms nested (eg. hFin1 = New Form1 (FMain)) >>>> Instead with GTK nested forms focus does not work at all, while with the >>>> normal form everything is OK. >>>> Note: RadioButton in opening normal form is checked only in GTK, not >>>> in QT4. >>>> >>>> Regards >>>> Gianluigi >>>> >>> > > > >>> What do you mean exactly by "does not work"??? > > I mean that tabulating, is not highlighted control. > >>> >> >> Here is what I see on my own system: >> >> - Focus works with gb.qt4 with normal form and nested form. The >> MenuButton does not draw its focus rectangle with the "Oxygen" widget style. > > If I understand, I do not have Oxygen I work with the original Ubuntu on > all my computers. > > With QT4 (normal form and nested form) all button (excluding ToolButton) > the focus does not work. > > >> >> - Focus works with gb.gtk/gb.gtk3 with normal but not with nested form. >> The MenuButton draws its focus rectangle with the "oxygen-gtk" widget theme. > > Idem with GTK (I dont use GTK3). > >> >> - The RadioButton starts selected with gb.gtk because I think it cannot >> be unselected if it is alone, contrary to gb.qt4. >> > > No, where I have several RadioButton is selected first and skip the tab > on the others (only GTK) > > Regards > Gianluigi > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Hello Benoit, I created new tests. TEST TAB PLUS: GTK: With Tab runs on everything (except the RadioButton) only SwitchButton is not very evident (clears soon). With Focus code you get the focus on everything (even the RadioButton) except SwichButton. Here the focus is well highlighted GTK3: With tab works as with GTK except for ToolButton and SwitchButton. With Focus code you get the focus on everything except ToolButton and SwitchButton Here the focus is just a little highlighted (MenuButton excluded). Note: GTK/GTK3 opening the first RadioButton is checked. QT4: With tab no button works excluded ToolButton and ButtonBox. Note: Also with QT4 skip other RadioButton. With Focus code no button works excluded ToolButton, ButtonBox and SwitchButton. TEST NESTED PLUS: GTK: With tabulation nothing works. With Focus code you get the focus on everything (even the RadioButton) except SwichButton. Here the focus is well highlighted GTK3: With tabulation nothing works. With Focus code I have two different behaviors: If before I tabulated, obtain the focus on everything (even the RadioButton) except ToolButton and SwichButton. If I open the form and immediately use Focus code, then even the RadioButton, CheckBox and MenuButton not work as well ToolButton and SwichButton. Note: GTK/GTK3 opening the first RadioButton is checked. QT4: With tab no button works excluded ToolButton and ButtonBox. Note: Also with QT4 skip other RadioButton. With Focus code no button works excluded ToolButton, ButtonBox and SwitchButton. Regards Gianluigi From bagoneo at ...69... Mon Feb 2 14:11:41 2015 From: bagoneo at ...69... (Gian) Date: Mon, 02 Feb 2015 14:11:41 +0100 Subject: [Gambas-user] Widget focus In-Reply-To: <54CF76F7.6030904@...69...> References: <54CBF82E.70808@...69...> <54CE50F0.1020901@...1...> <54CE5280.2060409@...1...> <54CE64E1.3060501@...69...> <54CF76F7.6030904@...69...> Message-ID: <54CF778D.1070207@...69...> Il 02/02/2015 14:09, Gian ha scritto: > Il 01/02/2015 18:39, Gian ha scritto: >> Il 01/02/2015 17:21, Beno?t Minisini ha scritto: >>> Le 01/02/2015 17:14, Beno?t Minisini a ?crit : >>>> Le 30/01/2015 22:31, Gian a ?crit : >>>>> Hi all, >>>>> In Ubuntu 14.04 with Gambas3 3.6.2 with the components QT4 the focus >>>>> does not work on the following widgets: >>>>> Button, ToggleButton, MenuButton, SwitchButton. >>>>> Instead ToolButton is OK. >>>>> It is the same with the forms nested (eg. hFin1 = New Form1 (FMain)) >>>>> Instead with GTK nested forms focus does not work at all, while with the >>>>> normal form everything is OK. >>>>> Note: RadioButton in opening normal form is checked only in GTK, not >>>>> in QT4. >>>>> >>>>> Regards >>>>> Gianluigi >>>>> >>>> >> >> >> >>>> What do you mean exactly by "does not work"??? >> >> I mean that tabulating, is not highlighted control. >> >>>> >>> >>> Here is what I see on my own system: >>> >>> - Focus works with gb.qt4 with normal form and nested form. The >>> MenuButton does not draw its focus rectangle with the "Oxygen" widget style. >> >> If I understand, I do not have Oxygen I work with the original Ubuntu on >> all my computers. >> >> With QT4 (normal form and nested form) all button (excluding ToolButton) >> the focus does not work. >> >> >>> >>> - Focus works with gb.gtk/gb.gtk3 with normal but not with nested form. >>> The MenuButton draws its focus rectangle with the "oxygen-gtk" widget theme. >> >> Idem with GTK (I dont use GTK3). >> >>> >>> - The RadioButton starts selected with gb.gtk because I think it cannot >>> be unselected if it is alone, contrary to gb.qt4. >>> >> >> No, where I have several RadioButton is selected first and skip the tab >> on the others (only GTK) >> >> Regards >> Gianluigi >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming. The Go Parallel Website, >> sponsored by Intel and developed in partnership with Slashdot Media, is your >> hub for all things parallel software development, from weekly thought >> leadership blogs to news, videos, case studies, tutorials and more. Take a >> look and join the conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > Hello Benoit, > I created new tests. > > TEST TAB PLUS: > > GTK: > With Tab runs on everything (except the RadioButton) only SwitchButton > is not very evident (clears soon). > With Focus code you get the focus on everything (even the RadioButton) > except SwichButton. > Here the focus is well highlighted > > GTK3: > With tab works as with GTK except for ToolButton and SwitchButton. > With Focus code you get the focus on everything except ToolButton and > SwitchButton > Here the focus is just a little highlighted (MenuButton excluded). > > Note: GTK/GTK3 opening the first RadioButton is checked. > > QT4: > With tab no button works excluded ToolButton and ButtonBox. > Note: Also with QT4 skip other RadioButton. > With Focus code no button works excluded ToolButton, ButtonBox and > SwitchButton. > > TEST NESTED PLUS: > > GTK: > With tabulation nothing works. > With Focus code you get the focus on everything (even the RadioButton) > except SwichButton. > Here the focus is well highlighted > > GTK3: > With tabulation nothing works. > With Focus code I have two different behaviors: > If before I tabulated, obtain the focus on everything (even the > RadioButton) except ToolButton and SwichButton. > If I open the form and immediately use Focus code, then even the > RadioButton, CheckBox and MenuButton not work as well ToolButton and > SwichButton. > > Note: GTK/GTK3 opening the first RadioButton is checked. > > QT4: > With tab no button works excluded ToolButton and ButtonBox. > Note: Also with QT4 skip other RadioButton. > With Focus code no button works excluded ToolButton, ButtonBox and > SwitchButton. > > Regards > Gianluigi > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Sorry I forgot to attach the test :( -------------- next part -------------- A non-text attachment was scrubbed... Name: TestTabPlus-0.0.1.tar.gz Type: application/gzip Size: 4531 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: TestNestedPlus-0.0.1.tar.gz Type: application/gzip Size: 4662 bytes Desc: not available URL: From bagoneo at ...69... Mon Feb 2 14:35:39 2015 From: bagoneo at ...69... (Gian) Date: Mon, 02 Feb 2015 14:35:39 +0100 Subject: [Gambas-user] Widget focus In-Reply-To: <54CF778D.1070207@...69...> References: <54CBF82E.70808@...69...> <54CE50F0.1020901@...1...> <54CE5280.2060409@...1...> <54CE64E1.3060501@...69...> <54CF76F7.6030904@...69...> <54CF778D.1070207@...69...> Message-ID: <54CF7D2B.4000702@...69...> Il 02/02/2015 14:11, Gian ha scritto: > Il 02/02/2015 14:09, Gian ha scritto: >> Il 01/02/2015 18:39, Gian ha scritto: >>> Il 01/02/2015 17:21, Beno?t Minisini ha scritto: >>>> Le 01/02/2015 17:14, Beno?t Minisini a ?crit : >>>>> Le 30/01/2015 22:31, Gian a ?crit : >>>>>> Hi all, >>>>>> In Ubuntu 14.04 with Gambas3 3.6.2 with the components QT4 the focus >>>>>> does not work on the following widgets: >>>>>> Button, ToggleButton, MenuButton, SwitchButton. >>>>>> Instead ToolButton is OK. >>>>>> It is the same with the forms nested (eg. hFin1 = New Form1 (FMain)) >>>>>> Instead with GTK nested forms focus does not work at all, while >>>>>> with the >>>>>> normal form everything is OK. >>>>>> Note: RadioButton in opening normal form is checked only in GTK, not >>>>>> in QT4. >>>>>> >>>>>> Regards >>>>>> Gianluigi >>>>>> >>>>> >>> >>> >>> >>>>> What do you mean exactly by "does not work"??? >>> >>> I mean that tabulating, is not highlighted control. >>> >>>>> >>>> >>>> Here is what I see on my own system: >>>> >>>> - Focus works with gb.qt4 with normal form and nested form. The >>>> MenuButton does not draw its focus rectangle with the "Oxygen" >>>> widget style. >>> >>> If I understand, I do not have Oxygen I work with the original Ubuntu on >>> all my computers. >>> >>> With QT4 (normal form and nested form) all button (excluding ToolButton) >>> the focus does not work. >>> >>> >>>> >>>> - Focus works with gb.gtk/gb.gtk3 with normal but not with nested form. >>>> The MenuButton draws its focus rectangle with the "oxygen-gtk" >>>> widget theme. >>> >>> Idem with GTK (I dont use GTK3). >>> >>>> >>>> - The RadioButton starts selected with gb.gtk because I think it cannot >>>> be unselected if it is alone, contrary to gb.qt4. >>>> >>> >>> No, where I have several RadioButton is selected first and skip the tab >>> on the others (only GTK) >>> >>> Regards >>> Gianluigi >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> Dive into the World of Parallel Programming. The Go Parallel Website, >>> sponsored by Intel and developed in partnership with Slashdot Media, >>> is your >>> hub for all things parallel software development, from weekly thought >>> leadership blogs to news, videos, case studies, tutorials and more. >>> Take a >>> look and join the conversation now. http://goparallel.sourceforge.net/ >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> >> Hello Benoit, >> I created new tests. >> >> TEST TAB PLUS: >> >> GTK: >> With Tab runs on everything (except the RadioButton) only SwitchButton >> is not very evident (clears soon). >> With Focus code you get the focus on everything (even the RadioButton) >> except SwichButton. >> Here the focus is well highlighted >> >> GTK3: >> With tab works as with GTK except for ToolButton and SwitchButton. >> With Focus code you get the focus on everything except ToolButton and >> SwitchButton >> Here the focus is just a little highlighted (MenuButton excluded). >> >> Note: GTK/GTK3 opening the first RadioButton is checked. >> >> QT4: >> With tab no button works excluded ToolButton and ButtonBox. >> Note: Also with QT4 skip other RadioButton. >> With Focus code no button works excluded ToolButton, ButtonBox and >> SwitchButton. >> >> TEST NESTED PLUS: >> >> GTK: >> With tabulation nothing works. >> With Focus code you get the focus on everything (even the RadioButton) >> except SwichButton. >> Here the focus is well highlighted >> >> GTK3: >> With tabulation nothing works. >> With Focus code I have two different behaviors: >> If before I tabulated, obtain the focus on everything (even the >> RadioButton) except ToolButton and SwichButton. >> If I open the form and immediately use Focus code, then even the >> RadioButton, CheckBox and MenuButton not work as well ToolButton and >> SwichButton. >> >> Note: GTK/GTK3 opening the first RadioButton is checked. >> >> QT4: >> With tab no button works excluded ToolButton and ButtonBox. >> Note: Also with QT4 skip other RadioButton. >> With Focus code no button works excluded ToolButton, ButtonBox and >> SwitchButton. >> >> Regards >> Gianluigi >> >> >> >> ------------------------------------------------------------------------------ >> >> Dive into the World of Parallel Programming. The Go Parallel Website, >> sponsored by Intel and developed in partnership with Slashdot Media, >> is your >> hub for all things parallel software development, from weekly thought >> leadership blogs to news, videos, case studies, tutorials and more. >> Take a >> look and join the conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > Sorry I forgot to attach the test :( > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > > > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Hi, I realize only now that on Trunk with GTK3, tabulating SwichButton takes focus and works with key arrow. Regards Gianluigi From bagoneo at ...69... Mon Feb 2 16:36:49 2015 From: bagoneo at ...69... (Gian) Date: Mon, 02 Feb 2015 16:36:49 +0100 Subject: [Gambas-user] Widget focus In-Reply-To: <54CF7D2B.4000702@...69...> References: <54CBF82E.70808@...69...> <54CE50F0.1020901@...1...> <54CE5280.2060409@...1...> <54CE64E1.3060501@...69...> <54CF76F7.6030904@...69...> <54CF778D.1070207@...69...> <54CF7D2B.4000702@...69...> Message-ID: <54CF9991.2080501@...69...> Il 02/02/2015 14:35, Gian ha scritto: > ... > Hi, > I realize only now that on Trunk with GTK3, tabulating SwichButton takes > focus and works with key arrow. > Regards > Gianluigi > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > I specify that in GTK3 SwichButton work well only on TestTabPlus and not with TestNestedPlus Regards Gianluigi From tercoide at ...67... Mon Feb 2 16:42:50 2015 From: tercoide at ...67... (martin p cristia) Date: Mon, 2 Feb 2015 12:42:50 -0300 Subject: [Gambas-user] Gambas-user Digest, Vol 105, Issue 3 In-Reply-To: References: Message-ID: Great! putting in the extra files works, it also register the library automatically El 02/02/15 a las 10:09, gambas-user-request at lists.sourceforge.net escribi?: > Another option to create a .deb package only for the .so library: > > https://ubuntulife.wordpress.com/2010/08/05/crear-un-paquete-deb-manualmente/ > > > Regards > > Julio > > 2015-01-31 20:21 GMT+01:00 T Lee Davidson: > >> >I haven't actually done this, so I hope someone will correct me if I am >> >wrong. >> >But, I believe you would list your .so file in the Extra Files (step #8) >> >section >> >of the "Make installation package" process. >> > >> > >> >Lee >> >__________ >> > >> >"Artificial Intelligence is no match for natural stupidity." >> > >> >On 01/31/2015 10:19 AM, martin p cristia wrote: >>> > >Hi: >>> > > >>> > >I need to include a .so library in the Installation package , how to do >> >it? >>> > > >>> > >it needs to be at /usr/lib or it can reside at program folder? >>> > > >>> > >tnx >>> > > >> > >> > -- Saludos Ing. Martin P Cristia From jussi.lahtinen at ...626... Mon Feb 2 19:11:12 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 2 Feb 2015 20:11:12 +0200 Subject: [Gambas-user] Non-linux line ending files are seen as binary by the IDE In-Reply-To: <20150202181906.356c495204f2cde23284c2aa@...626...> References: <20150202181906.356c495204f2cde23284c2aa@...626...> Message-ID: It would certainly be good thing if IDE would have converter for these cases. Meanwhile it should be pretty easy to write script to convert the line endings. However, it's strange that I did not have this problem with source files... maybe this is bug in how Gambas detect binary files. Jussi On Mon, Feb 2, 2015 at 9:49 AM, adamnt42 at ...626... wrote: > If I have a data file in the project which has windows style line endings, > i.e. CRLF then the IDE thinks it's a binary file. > > Don't really know if this is a bug or just an anomaly or what is the > expected behaviour? > > e.g. attached. In the IDE, Data|New > Existing, add the attached file. > Double clicking on it raises the error balloon "Cannot open a binary file". > > cheers > B > > -- > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From mike.crean at ...2897... Tue Feb 3 03:00:03 2015 From: mike.crean at ...2897... (Mike Crean) Date: Tue, 3 Feb 2015 02:00:03 +0000 (UTC) Subject: [Gambas-user] Non-linux line ending files are seen as binary by the IDE In-Reply-To: References: Message-ID: <979725193.294081.1422928803850.JavaMail.yahoo@...3424...> He Jussi, would one not expect to see CR, LF in a binaryfile and would expect to see EOF. Regards Mike On Tuesday, 3 February 2015, 2:11, Jussi Lahtinen wrote: It would certainly be good thing if IDE would have converter for these cases. Meanwhile it should be pretty easy to write script to convert the line endings. However, it's strange that I did not have this problem with source files... maybe this is bug in how Gambas detect binary files. Jussi On Mon, Feb 2, 2015 at 9:49 AM, adamnt42 at ...626... wrote: > If I have a data file in the project which has windows style line endings, > i.e. CRLF then the IDE thinks it's a binary file. > > Don't really know if this is a bug or just an anomaly or what is the > expected behaviour? > > e.g. attached.? In the IDE, Data|New > Existing, add? the attached file. > Double clicking on it raises the error balloon "Cannot open a binary file". > > cheers > B > > -- > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From jussi.lahtinen at ...626... Tue Feb 3 03:32:53 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 3 Feb 2015 04:32:53 +0200 Subject: [Gambas-user] Non-linux line ending files are seen as binary by the IDE In-Reply-To: <979725193.294081.1422928803850.JavaMail.yahoo@...3424...> References: <979725193.294081.1422928803850.JavaMail.yahoo@...3424...> Message-ID: Of course binary file can have CR and LF. But if they are only control characters in the file, then it should not be considered as binary file. I don't understand what is your point about EOF. Jussi On Tue, Feb 3, 2015 at 4:00 AM, Mike Crean wrote: > He Jussi, would one not expect to see CR, LF in a binaryfile and would > expect to see EOF. > Regards Mike > > On Tuesday, 3 February 2015, 2:11, Jussi Lahtinen < > jussi.lahtinen at ...626...> wrote: > > > It would certainly be good thing if IDE would have converter for these > cases. Meanwhile it should be pretty easy to write script to convert the > line endings. > However, it's strange that I did not have this problem with source files... > maybe this is bug in how Gambas detect binary files. > > > Jussi > > On Mon, Feb 2, 2015 at 9:49 AM, adamnt42 at ...626... > wrote: > > > If I have a data file in the project which has windows style line > endings, > > i.e. CRLF then the IDE thinks it's a binary file. > > > > Don't really know if this is a bug or just an anomaly or what is the > > expected behaviour? > > > > e.g. attached. In the IDE, Data|New > Existing, add the attached file. > > Double clicking on it raises the error balloon "Cannot open a binary > file". > > > > cheers > > B > > > > -- > > 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 at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From chriseana at ...626... Tue Feb 3 04:22:59 2015 From: chriseana at ...626... (Christian e Ana Luiza Britto) Date: Tue, 3 Feb 2015 01:22:59 -0200 Subject: [Gambas-user] How to Sort a Version String Message-ID: Hi Folks, I have this sequence, returned by a select (SQL): SELECT sort FROM collections ORDER BY sort 1 10 11 14 15 2 3 4 5 6 6.12 6.7 6.7.13 6.7.8 9 I need to now how to put this result into an array and sort them to give this output: 1 2 3 4 5 6 6.7 6.7.8 6.7.13 6.12 9 10 11 14 15 I search on internet and didn't found an idea to do this. Best Regards, Christian From gambas at ...1... Tue Feb 3 04:50:20 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 03 Feb 2015 04:50:20 +0100 Subject: [Gambas-user] How to Sort a Version String In-Reply-To: References: Message-ID: <54D0457C.8060703@...1...> Le 03/02/2015 04:22, Christian e Ana Luiza Britto a ?crit : > Hi Folks, > I have this sequence, returned by a select (SQL): > > SELECT sort FROM collections ORDER BY sort > > 1 > 10 > 11 > 14 > 15 > 2 > 3 > 4 > 5 > 6 > 6.12 > 6.7 > 6.7.13 > 6.7.8 > 9 > > I need to now how to put this result into an array and sort them to > give this output: > > 1 > 2 > 3 > 4 > 5 > 6 > 6.7 > 6.7.8 > 6.7.13 > 6.12 > 9 > 10 > 11 > 14 > 15 > > I search on internet and didn't found an idea to do this. > Best Regards, > Christian > Try that: MyArray.Sort(gb.Natural) -- Beno?t Minisini From shordi at ...626... Tue Feb 3 11:41:33 2015 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Tue, 3 Feb 2015 11:41:33 +0100 Subject: [Gambas-user] gb.quote issue with sqlite Message-ID: I've notice that on my system gb.quote(fieldname) return the field name in simple commas -'fieldname'- wich generates an error on sql results. With MySQL returns `fieldname` and this quotes are OK for both drivers. [System] Gambas=3.6.2 OperatingSystem=Linux Kernel=3.13.0-24-generic Architecture=x86_64 Distribution=Linux Mint 17 Qiana Desktop=GNOME Theme=QCleanlooks Language=es_ES.UTF-8 Memory=5934M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 Regards From eilert-sprachen at ...221... Tue Feb 3 12:45:25 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 03 Feb 2015 12:45:25 +0100 Subject: [Gambas-user] Non-linux line ending files are seen as binary by the IDE In-Reply-To: References: <979725193.294081.1422928803850.JavaMail.yahoo@...3424...> Message-ID: <54D0B4D5.1090502@...221...> I observed that Win7 tends to add some kind of flag byte(s) at the beginning of the file when it's UTF-8 (under VB). Otherwise, I have solved the problem in one of my programs that must write UTF-8 files for a Win (VB) and Linux (Gambas) client, by adding a CR+LF at the end of each line when writing in Gambas and then Trim() each line when reading the files. The VB client, of course, can just read and write as it's used to do. Rolf Am 03.02.2015 03:32, schrieb Jussi Lahtinen: > Of course binary file can have CR and LF. But if they are only control > characters in the file, then it should not be considered as binary file. > I don't understand what is your point about EOF. > > > Jussi > > On Tue, Feb 3, 2015 at 4:00 AM, Mike Crean wrote: > >> He Jussi, would one not expect to see CR, LF in a binaryfile and would >> expect to see EOF. >> Regards Mike >> >> On Tuesday, 3 February 2015, 2:11, Jussi Lahtinen < >> jussi.lahtinen at ...626...> wrote: >> >> >> It would certainly be good thing if IDE would have converter for these >> cases. Meanwhile it should be pretty easy to write script to convert the >> line endings. >> However, it's strange that I did not have this problem with source files... >> maybe this is bug in how Gambas detect binary files. >> >> >> Jussi >> >> On Mon, Feb 2, 2015 at 9:49 AM, adamnt42 at ...626... >> wrote: >> >>> If I have a data file in the project which has windows style line >> endings, >>> i.e. CRLF then the IDE thinks it's a binary file. >>> >>> Don't really know if this is a bug or just an anomaly or what is the >>> expected behaviour? >>> >>> e.g. attached. In the IDE, Data|New > Existing, add the attached file. >>> Double clicking on it raises the error balloon "Cannot open a binary >> file". >>> >>> cheers >>> B >>> >>> -- >>> 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 at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >>> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming. The Go Parallel Website, >> sponsored by Intel and developed in partnership with Slashdot Media, is >> your >> hub for all things parallel software development, from weekly thought >> leadership blogs to news, videos, case studies, tutorials and more. Take a >> look and join the conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming. The Go Parallel Website, >> sponsored by Intel and developed in partnership with Slashdot Media, is >> your >> hub for all things parallel software development, from weekly thought >> leadership blogs to news, videos, case studies, tutorials and more. Take a >> look and join the conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Tue Feb 3 13:12:14 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 03 Feb 2015 13:12:14 +0100 Subject: [Gambas-user] Non-linux line ending files are seen as binary by the IDE In-Reply-To: <54D0B4D5.1090502@...221...> References: <979725193.294081.1422928803850.JavaMail.yahoo@...3424...> <54D0B4D5.1090502@...221...> Message-ID: <54D0BB1E.3040305@...1...> Le 03/02/2015 12:45, Rolf-Werner Eilert a ?crit : > I observed that Win7 tends to add some kind of flag byte(s) at the > beginning of the file when it's UTF-8 (under VB). Yes, this is one of the (many) design failures of windows. > > Otherwise, I have solved the problem in one of my programs that must > write UTF-8 files for a Win (VB) and Linux (Gambas) client, by adding a > CR+LF at the end of each line when writing in Gambas and then Trim() > each line when reading the files. The VB client, of course, can just > read and write as it's used to do. The 'Line Input' instruction can deal with any end-of-line sequence (Linux, Mac & Windows). See the Stream.EndOfLine property. Its value can be: - gb.Windows: the end-of-line sequence is "\r\n". - gb.Mac: the end-of-line sequence is "\r". - gb.Unix: the end-of-line sequence is "\n" (*or* "\r\n" on reading). Note that gb.Unix allows you to read both Unix and Windows format, but only write Unix format. Regards, -- Beno?t Minisini From eilert-sprachen at ...221... Tue Feb 3 13:28:49 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 03 Feb 2015 13:28:49 +0100 Subject: [Gambas-user] Non-linux line ending files are seen as binary by the IDE In-Reply-To: <54D0BB1E.3040305@...1...> References: <979725193.294081.1422928803850.JavaMail.yahoo@...3424...> <54D0B4D5.1090502@...221...> <54D0BB1E.3040305@...1...> Message-ID: <54D0BF01.8010808@...221...> Am 03.02.2015 13:12, schrieb Beno?t Minisini: > Le 03/02/2015 12:45, Rolf-Werner Eilert a ?crit : >> I observed that Win7 tends to add some kind of flag byte(s) at the >> beginning of the file when it's UTF-8 (under VB). > > Yes, this is one of the (many) design failures of windows. > >> >> Otherwise, I have solved the problem in one of my programs that must >> write UTF-8 files for a Win (VB) and Linux (Gambas) client, by adding a >> CR+LF at the end of each line when writing in Gambas and then Trim() >> each line when reading the files. The VB client, of course, can just >> read and write as it's used to do. > > The 'Line Input' instruction can deal with any end-of-line sequence > (Linux, Mac & Windows). > > See the Stream.EndOfLine property. Its value can be: > > - gb.Windows: the end-of-line sequence is "\r\n". > - gb.Mac: the end-of-line sequence is "\r". > - gb.Unix: the end-of-line sequence is "\n" (*or* "\r\n" on reading). > > Note that gb.Unix allows you to read both Unix and Windows format, but > only write Unix format. > > Regards, > Great thing, Benoit, didn't realize it was there. Sometimes one should read the documentation more carefully ;) But my above example related to an older generation of software developed under Gambas2. Rolf From mike.crean at ...2897... Tue Feb 3 13:28:47 2015 From: mike.crean at ...2897... (Mike Crean) Date: Tue, 3 Feb 2015 12:28:47 +0000 (UTC) Subject: [Gambas-user] Rpi Message-ID: <352586686.337116.1422966527591.JavaMail.yahoo@...3424...> So who has ordered there pi 2. I have. Regards to all Mike From lists at ...2828... Tue Feb 3 15:18:53 2015 From: lists at ...2828... (CJ) Date: Tue, 3 Feb 2015 15:18:53 +0100 Subject: [Gambas-user] Rpi In-Reply-To: <352586686.337116.1422966527591.JavaMail.yahoo@...3424...> Message-ID: <1560B2DF943545F985939521D509E3B1@...2829...> > So who has ordered there pi 2. I have. Read the news yesterday. Unfortunately I've had very limited time over for RPi as well as Gambas so let us all know how it works out for you. /CJ From herberthguzman at ...626... Tue Feb 3 17:09:34 2015 From: herberthguzman at ...626... (herberth guzman) Date: Tue, 3 Feb 2015 10:09:34 -0600 Subject: [Gambas-user] Problem gb.qt Message-ID: Hi Benoit thanks for you help attach code not working gb.qt svn_rev6875 onwards ' Gambas class file Public sExplorer As FileView Public Sub Form_Open() Create_sExplorer_Init End Public Sub Create_sExplorer_Init() TabPanelExplorer.Text = User.Home sExplorer = New FileView(TabPanelExplorer) As "sExplorer" TabPanelExplorer.Children[0].Name = "sExplorer" & CStr(TabPanelExplorer.Index + 1) sExplorer.expand = True With sExplorer .ShowDirectory = True .ShowPreview = True .Dir = User.Home .Background = Color.Default End With TabPanelExplorer.Picture = Picture["icon:/small/directory"] End Public Sub Create_sExplorer() TabPanelExplorer.Count += 1 TabPanelExplorer.Text = User.Home sExplorer = New FileView(TabPanelExplorer) As "sExplorer" TabPanelExplorer.Children[0].Name = "sExplorer" & CStr(TabPanelExplorer.Index + 1) sExplorer.expand = True With sExplorer .ShowDirectory = True .ShowPreview = True .Dir = User.Home .Background = Color.Default End With TabPanelExplorer.Picture = Picture["icon:/small/directory"] End Public Sub Button1_Click() Create_sExplorer End Regards Herberth Guzman https://plus.google.com/u/0/105457212371116775367/posts From introlinux at ...626... Tue Feb 3 17:21:44 2015 From: introlinux at ...626... (=?UTF-8?Q?Antonio_S=C3=A1nchez?=) Date: Tue, 3 Feb 2015 17:21:44 +0100 Subject: [Gambas-user] Rpi In-Reply-To: <352586686.337116.1422966527591.JavaMail.yahoo@...3424...> References: <352586686.337116.1422966527591.JavaMail.yahoo@...3424...> Message-ID: I think ODROID-C1 is better than rpi for $35. El 03/02/2015 13:43, "Mike Crean" escribi?: > So who has ordered there pi 2. I have. > Regards to all Mike > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Tue Feb 3 17:51:56 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 03 Feb 2015 17:51:56 +0100 Subject: [Gambas-user] Problem gb.qt In-Reply-To: References: Message-ID: <54D0FCAC.3020504@...1...> Le 03/02/2015 17:09, herberth guzman a ?crit : > Hi Benoit > > thanks for you help > > attach code not working gb.qt svn_rev6875 onwards > > ' Gambas class file > > Public sExplorer As FileView > > Public Sub Form_Open() > Create_sExplorer_Init > End > > Public Sub Create_sExplorer_Init() > > TabPanelExplorer.Text = User.Home > sExplorer = New FileView(TabPanelExplorer) As "sExplorer" > TabPanelExplorer.Children[0].Name = "sExplorer" & > CStr(TabPanelExplorer.Index + 1) > sExplorer.expand = True > > With sExplorer > .ShowDirectory = True > .ShowPreview = True > .Dir = User.Home > .Background = Color.Default > End With > TabPanelExplorer.Picture = Picture["icon:/small/directory"] > > > End > > Public Sub Create_sExplorer() > > > TabPanelExplorer.Count += 1 > TabPanelExplorer.Text = User.Home > sExplorer = New FileView(TabPanelExplorer) As "sExplorer" > TabPanelExplorer.Children[0].Name = "sExplorer" & > CStr(TabPanelExplorer.Index + 1) > sExplorer.expand = True > > > With sExplorer > .ShowDirectory = True > .ShowPreview = True > .Dir = User.Home > .Background = Color.Default > End With > TabPanelExplorer.Picture = Picture["icon:/small/directory"] > > > End > > > > Public Sub Button1_Click() > > Create_sExplorer > > End > > Regards > > > Herberth Guzman Sorry, but I need a full project. Regards, -- Beno?t Minisini From jusabejusabe at ...626... Tue Feb 3 19:27:22 2015 From: jusabejusabe at ...626... (Julio Sanchez) Date: Tue, 3 Feb 2015 19:27:22 +0100 Subject: [Gambas-user] Rpi In-Reply-To: References: <352586686.337116.1422966527591.JavaMail.yahoo@...3424...> Message-ID: Antonio: This is new model (Raspberry PI 2): Let?s get the good stuff out of the way above the fold. Raspberry Pi 2 is now on salefor $35 (the same price as the existing Model B+), featuring: A 900MHz quad-core ARM Cortex-A7 CPU (~6x performance) 1GB LPDDR2 SDRAM (2x memory) Complete compatibility with Raspberry Pi 1 Because it has an ARMv7 processor, it can run the full range of ARM GNU/Linux distributions, including Snappy Ubuntu Core, as well as Microsoft Windows 10. Regards Julio 2015-02-03 17:21 GMT+01:00 Antonio S?nchez : > I think ODROID-C1 is better than rpi for $35. > El 03/02/2015 13:43, "Mike Crean" escribi?: > > > So who has ordered there pi 2. I have. > > Regards to all Mike > > > > > ------------------------------------------------------------------------------ > > Dive into the World of Parallel Programming. The Go Parallel Website, > > sponsored by Intel and developed in partnership with Slashdot Media, is > > your > > hub for all things parallel software development, from weekly thought > > leadership blogs to news, videos, case studies, tutorials and more. Take > a > > look and join the conversation now. http://goparallel.sourceforge.net/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Tue Feb 3 19:32:32 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 03 Feb 2015 18:32:32 +0000 Subject: [Gambas-user] Issue 185 in gambas: Editing a line changes font spacing In-Reply-To: <14-6813199134517018827-9150352820753408673-gambas=googlecode.com@...2524...> References: <14-6813199134517018827-9150352820753408673-gambas=googlecode.com@...2524...> <0-6813199134517018827-9150352820753408673-gambas=googlecode.com@...2524...> Message-ID: <15-6813199134517018827-9150352820753408673-gambas=googlecode.com@...2524...> Comment #15 on issue 185 by evanowen... at ...626...: Editing a line changes font spacing https://code.google.com/p/gambas/issues/detail?id=185 I am running liunux mint 17.1 cinemon. I have Gambas 3.1.1 I had the problem of the cursor not aligning. off by 2 or three spaces I believe the problem started after I made the Gambas3/editor font size larger. I tried changing System Settings/Appearance/Fonts/Font Settings/ Text Scaling Factor = 1.0 Antialiasing = Rgba Hinting = Full THIS SOLVED THE PROBLEM! Gambas is great, thanks -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From evanowen252 at ...626... Tue Feb 3 20:10:01 2015 From: evanowen252 at ...626... (Evan) Date: Tue, 3 Feb 2015 19:10:01 +0000 (UTC) Subject: [Gambas-user] Install from Ubuntu repo - several issues References: Message-ID: LVDave gmail.com> writes: > > Having used to use MSVisualBasic many moons ago, I wanted to see how close > Gambas was to VB. Since I'm on Ubuntu 14.04, I installed Gambas from the > Ubuntu repository. Everything installed with no errors, but when I attempt > to open any one of the sample projects, I get a dialog box saying "this > project seems to be already opened, opening the same project twice can lead > to data loss"...If I go ahead and "reopen" the sample, it appears to load > ok, but then if I try to run it, I get a dialog box saying "the program has > returned the value of 1"... As I said this occurs with all of the sample > programs.. > > What am I doing wrong?? > > Dave > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk > I have the problem with the read only examples provided. I save the project with a new name before I run it. for Example I save the "Timer" example program with a new name "Timer-my" I close gambas3.1.1 I reopen gambas 3.1.1 Now the "Timer-my" program works. I do not get the error message that the program is already opened I do not get the "...has returned the value 1" Gambas is great! From shordi at ...626... Tue Feb 3 20:27:10 2015 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Tue, 3 Feb 2015 20:27:10 +0100 Subject: [Gambas-user] Can't change the tab size on Editor in one project Message-ID: Hi I have a project that refuses change the tab size. By defult is 2 spaces and I change on preferences to 4 spaces, or another number, and it doesn't work. Other projects changing perfect is just this one. I've been looking the .config/gambas3/gambas3.conf and found this lines [General] ShowTipOnStartup=0 LastTip=1 DefaultTabSize=4 ConsoleFont="Monospace,9" Font="Noto Sans UI,9" But on this particular project doesn't work. There is another file that I can check? Regards From gambas at ...1... Tue Feb 3 20:57:16 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 03 Feb 2015 20:57:16 +0100 Subject: [Gambas-user] gb.quote issue with sqlite In-Reply-To: References: Message-ID: <54D1281C.9060807@...1...> Le 03/02/2015 11:41, Jorge Carri?n a ?crit : > I've notice that on my system gb.quote(fieldname) return the field name in > simple commas > -'fieldname'- wich generates an error on sql results. > > With MySQL returns `fieldname` and this quotes are OK for both drivers. > It should be fixed in revision #6881. It's hard to know what is *really* standard in SQL and what is not... -- Beno?t Minisini From gambas at ...1... Tue Feb 3 20:53:53 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 03 Feb 2015 20:53:53 +0100 Subject: [Gambas-user] Widget focus In-Reply-To: <54CF9991.2080501@...69...> References: <54CBF82E.70808@...69...> <54CE50F0.1020901@...1...> <54CE5280.2060409@...1...> <54CE64E1.3060501@...69...> <54CF76F7.6030904@...69...> <54CF778D.1070207@...69...> <54CF7D2B.4000702@...69...> <54CF9991.2080501@...69...> Message-ID: <54D12751.4090707@...1...> Le 02/02/2015 16:36, Gian a ?crit : > Il 02/02/2015 14:35, Gian ha scritto: > >> ... >> Hi, >> I realize only now that on Trunk with GTK3, tabulating SwichButton takes >> focus and works with key arrow. >> Regards >> Gianluigi >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming. The Go Parallel Website, >> sponsored by Intel and developed in partnership with Slashdot Media, is your >> hub for all things parallel software development, from weekly thought >> leadership blogs to news, videos, case studies, tutorials and more. Take a >> look and join the conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > I specify that in GTK3 SwichButton work well only on TestTabPlus and not > with TestNestedPlus > > Regards > Gianluigi > Note that I'm mainly concerned with the behaviour of the TAB and SHIFT+TAB key, and for me it works as expected in all components since revision #6879. As for the focus appearence, it mainly depends on the widget theme in use. I'm happy with 'Oxygen' (for gb.qt4), 'oxygen-gtk' (for gb.gtk) and 'Ambiance' (gb.gtk3) : I don't see missing focus highlighting iwhen using your projects. Regards, -- Beno?t Minisini From lewis at ...3412... Tue Feb 3 21:10:09 2015 From: lewis at ...3412... (Lewis Balentine) Date: Tue, 03 Feb 2015 14:10:09 -0600 Subject: [Gambas-user] gb.quote issue with sqlite In-Reply-To: <54D1281C.9060807@...1...> References: <54D1281C.9060807@...1...> Message-ID: <54D12B21.2080804@...3412...> AMEN to that ! On 02/03/2015 01:57 PM, Beno?t Minisini wrote: > It's hard to know what is *really* standard in SQL and what is not... From introlinux at ...626... Tue Feb 3 21:30:59 2015 From: introlinux at ...626... (=?UTF-8?Q?Antonio_S=C3=A1nchez?=) Date: Tue, 3 Feb 2015 21:30:59 +0100 Subject: [Gambas-user] Rpi In-Reply-To: References: <352586686.337116.1422966527591.JavaMail.yahoo@...3424...> Message-ID: http://www.cnx-software.com/2015/02/02/raspberry-pi-2-odroid-c1-development-boards-comparison/ Odroid is better. It is faster, it has almost the same connections than rpi (odroid has a plus: Infrared(IR) Receiver), you can watch all kinds of videos without checkout again for patents, it has less consumption, better net connections...the only only thing rpi wins odroid is the size of the comunity. Are you sure it's an advantage to install windows 10? ;-) 2015-02-03 19:27 GMT+01:00 Julio Sanchez : > Antonio: > > This is new model (Raspberry PI 2): > > Let?s get the good stuff out of the way above the fold. Raspberry Pi 2 is > now on salefor $35 (the same price as the existing Model B+), featuring: > > A 900MHz quad-core ARM Cortex-A7 CPU (~6x performance) > 1GB LPDDR2 SDRAM (2x memory) > Complete compatibility with Raspberry Pi 1 > > Because it has an ARMv7 processor, it can run the full range of ARM > GNU/Linux distributions, including Snappy Ubuntu Core, as well as Microsoft > Windows 10. > > > Regards > > Julio > > 2015-02-03 17:21 GMT+01:00 Antonio S?nchez : > > > I think ODROID-C1 is better than rpi for $35. > > El 03/02/2015 13:43, "Mike Crean" escribi?: > > > > > So who has ordered there pi 2. I have. > > > Regards to all Mike > > > > > > > > > ------------------------------------------------------------------------------ > > > Dive into the World of Parallel Programming. The Go Parallel Website, > > > sponsored by Intel and developed in partnership with Slashdot Media, is > > > your > > > hub for all things parallel software development, from weekly thought > > > leadership blogs to news, videos, case studies, tutorials and more. > Take > > a > > > look and join the conversation now. http://goparallel.sourceforge.net/ > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > ------------------------------------------------------------------------------ > > Dive into the World of Parallel Programming. The Go Parallel Website, > > sponsored by Intel and developed in partnership with Slashdot Media, is > > your > > hub for all things parallel software development, from weekly thought > > leadership blogs to news, videos, case studies, tutorials and more. Take > a > > look and join the conversation now. http://goparallel.sourceforge.net/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From lewis at ...3412... Tue Feb 3 21:34:31 2015 From: lewis at ...3412... (Lewis Balentine) Date: Tue, 03 Feb 2015 14:34:31 -0600 Subject: [Gambas-user] Rpi In-Reply-To: References: <352586686.337116.1422966527591.JavaMail.yahoo@...3424...> Message-ID: <54D130D7.2080601@...3412...> >> Are you sure it's an advantage to install windows 10? << on anything ??? From herberthguzman at ...626... Tue Feb 3 22:13:49 2015 From: herberthguzman at ...626... (herberth guzman) Date: Tue, 3 Feb 2015 15:13:49 -0600 Subject: [Gambas-user] Project Problem gb.qt Message-ID: Hi Benoit thanks for you help i share the link the example attach example not working gb.qt svn_rev6875 onwards https://drive.google.com/file/d/0B2gI4jYOofp0WmQtRzFhcDRhcGs/view?usp=sharing waiting for your help Regards Herberth Guzman https://plus.google.com/u/0/105457212371116775367/posts From gambas at ...1... Wed Feb 4 00:45:59 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 04 Feb 2015 00:45:59 +0100 Subject: [Gambas-user] Project Problem gb.qt In-Reply-To: References: Message-ID: <54D15DB7.8020300@...1...> Le 03/02/2015 22:13, herberth guzman a ?crit : > Hi Benoit > > thanks for you help > i share the link the example > > attach example not working gb.qt svn_rev6875 onwards > > https://drive.google.com/file/d/0B2gI4jYOofp0WmQtRzFhcDRhcGs/view?usp=sharing > > > waiting for your help > > > Regards > > Herberth Guzman It should be fixed in revision #6882. Regards, -- Beno?t Minisini From jusabejusabe at ...626... Wed Feb 4 00:58:59 2015 From: jusabejusabe at ...626... (Julio Sanchez) Date: Wed, 4 Feb 2015 00:58:59 +0100 Subject: [Gambas-user] Rpi In-Reply-To: <54D130D7.2080601@...3412...> References: <352586686.337116.1422966527591.JavaMail.yahoo@...3424...> <54D130D7.2080601@...3412...> Message-ID: Antonio: Very good comparative link between the two boards ... I translate into Spanish for publication in my blog. What the windows 10 is a little misleading, since it's a special version without desktop environment. Insurance that many Windows users will be "a stick". Regards, Julio 2015-02-03 21:34 GMT+01:00 Lewis Balentine : > >> Are you sure it's an advantage to install windows 10? << > on anything ??? > > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From tercoide at ...67... Wed Feb 4 01:30:41 2015 From: tercoide at ...67... (martin p cristia) Date: Tue, 3 Feb 2015 21:30:41 -0300 Subject: [Gambas-user] DEB packager In-Reply-To: References: Message-ID: In the 8th tab of the Make Installation package, you can add Extra files; how to obtain the end-user home folder? I want to install my program in the usual folder, i.e.: /home/joe/.myprogram $home/.myprogram dont work. tnx -- Saludos Ing. Martin P Cristia From t.lee.davidson at ...626... Wed Feb 4 01:45:06 2015 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Tue, 03 Feb 2015 19:45:06 -0500 Subject: [Gambas-user] DEB packager In-Reply-To: References: Message-ID: <54D16B92.1010403@...626...> The environment variable for the user's home folder is not "$home", but "$HOME". Maybe also try "~/.myprogram". Lee __________ "Artificial Intelligence is no match for natural stupidity." On 02/03/2015 07:30 PM, martin p cristia wrote: > In the 8th tab of the Make Installation package, you can add Extra files; > how to obtain the end-user home folder? > > I want to install my program in the usual folder, i.e.: > > /home/joe/.myprogram > > $home/.myprogram dont work. > > tnx > > -- Saludos Ing. Martin P Cristia > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Wed Feb 4 01:57:53 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 04 Feb 2015 01:57:53 +0100 Subject: [Gambas-user] DEB packager In-Reply-To: References: Message-ID: <54D16E91.50801@...1...> Le 04/02/2015 01:30, martin p cristia a ?crit : > In the 8th tab of the Make Installation package, you can add Extra files; > how to obtain the end-user home folder? > > I want to install my program in the usual folder, i.e.: > > /home/joe/.myprogram > > $home/.myprogram dont work. > > tnx > > -- Saludos Ing. Martin P Cristia > AFAIK, a package cannot install anything in the home folder of a user. Regards, -- Beno?t Minisini From gambas at ...1... Wed Feb 4 03:27:28 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 04 Feb 2015 03:27:28 +0100 Subject: [Gambas-user] Non-linux line ending files are seen as binary by the IDE In-Reply-To: <20150202181906.356c495204f2cde23284c2aa@...626...> References: <20150202181906.356c495204f2cde23284c2aa@...626...> Message-ID: <54D18390.3050808@...1...> Le 02/02/2015 08:49, adamnt42 at ...626... a ?crit : > If I have a data file in the project which has windows style line endings, i.e. CRLF then the IDE thinks it's a binary file. > > Don't really know if this is a bug or just an anomaly or what is the expected behaviour? > > e.g. attached. In the IDE, Data|New > Existing, add the attached file. > Double clicking on it raises the error balloon "Cannot open a binary file". > > cheers > B > The end-of-line problem should have been fixed in revision #6883. Now you have a menu and a toolbar button that allows you to switch between Unix, Windows and MAC end-of-line formats. Regards, -- Beno?t Minisini From tercoide at ...67... Wed Feb 4 03:55:12 2015 From: tercoide at ...67... (martin p cristia) Date: Tue, 3 Feb 2015 23:55:12 -0300 Subject: [Gambas-user] Gambas-user Digest, Vol 105, Issue 8 In-Reply-To: References: Message-ID: tnx, but neither work El 03/02/15 a las 21:45, gambas-user-request at lists.sourceforge.net escribi?: > The environment variable for the user's home folder is not "$home", but "$HOME". > Maybe also try "~/.myprogram". > > > Lee > __________ > > "Artificial Intelligence is no match for natural stupidity." > > On 02/03/2015 07:30 PM, martin p cristia wrote: >> >In the 8th tab of the Make Installation package, you can add Extra files; >> >how to obtain the end-user home folder? >> > >> >I want to install my program in the usual folder, i.e.: >> > >> >/home/joe/.myprogram >> > >> >$home/.myprogram dont work. >> > >> >tnx >> > -- Saludos Ing. Martin P Cristia From adamnt42 at ...626... Wed Feb 4 07:36:16 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Wed, 4 Feb 2015 17:06:16 +1030 Subject: [Gambas-user] Non-linux line ending files are seen as binary by the IDE In-Reply-To: <54D18390.3050808@...1...> References: <20150202181906.356c495204f2cde23284c2aa@...626...> <54D18390.3050808@...1...> Message-ID: <20150204170616.ee142bb5f4ef6b446d94ffe7@...626...> On Wed, 04 Feb 2015 03:27:28 +0100 Beno?t Minisini wrote: > Le 02/02/2015 08:49, adamnt42 at ...626... a ?crit : > > If I have a data file in the project which has windows style line endings, i.e. CRLF then the IDE thinks it's a binary file. > > > > Don't really know if this is a bug or just an anomaly or what is the expected behaviour? > > > > e.g. attached. In the IDE, Data|New > Existing, add the attached file. > > Double clicking on it raises the error balloon "Cannot open a binary file". > > > > cheers > > B > > > > The end-of-line problem should have been fixed in revision #6883. > > Now you have a menu and a toolbar button that allows you to switch > between Unix, Windows and MAC end-of-line formats. > > Regards, > > -- > Beno?t Minisini > Thanks Beno?t, Looking forward to trying this tomorrow. cheers B -- B Bruen From mike.crean at ...2897... Wed Feb 4 07:43:59 2015 From: mike.crean at ...2897... (Mike Crean) Date: Wed, 4 Feb 2015 06:43:59 +0000 (UTC) Subject: [Gambas-user] Rpi In-Reply-To: <256053579.458063.1423032188925.JavaMail.yahoo@...3424...> References: <54D130D7.2080601@...3412...> <256053579.458063.1423032188925.JavaMail.yahoo@...3424...> Message-ID: <206802991.458118.1423032240033.JavaMail.yahoo@...3424...> windows 10 I want things to go fast haha On Wednesday, 4 February 2015, 14:43, Mike Crean wrote: windows 10 hehehehehe!!!! On Wednesday, 4 February 2015, 4:42, Lewis Balentine wrote: >> Are you sure it's an advantage to install windows 10? << on anything ??? ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From mike.crean at ...2897... Wed Feb 4 07:43:08 2015 From: mike.crean at ...2897... (Mike Crean) Date: Wed, 4 Feb 2015 06:43:08 +0000 (UTC) Subject: [Gambas-user] Rpi In-Reply-To: <54D130D7.2080601@...3412...> References: <54D130D7.2080601@...3412...> Message-ID: <256053579.458063.1423032188925.JavaMail.yahoo@...3424...> windows 10 hehehehehe!!!! On Wednesday, 4 February 2015, 4:42, Lewis Balentine wrote: >> Are you sure it's an advantage to install windows 10? << on anything ??? ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From dosida at ...626... Wed Feb 4 09:06:23 2015 From: dosida at ...626... (Dimitris Anogiatis) Date: Wed, 4 Feb 2015 01:06:23 -0700 Subject: [Gambas-user] Self-Signed SSL certificate in Gambas3 3.5.4 Webview Message-ID: Hey guys, I'm using Gambas3 3.5.4 on Debian Jessie. I want to login to a web app I'm working on with a self signed SSL certificate. I try to load the app on a webview component using a url starting with https but it doesn't show me anything, no error messages no nothing. 1) Is there a debug property or method on the webview component? 2) Where do I put the certificate files in order to get the program to properly create the https connection? 3) Is there an example on how to load an https page to the webview, just in case I am doing something wrong? By the way I've successfully logged in to gmail and watched a couple of youtube videos so I know that the webview control can handle https connections, so it must be that I am using a self-signed certificate on this site. Thanks in advance Dimitrios From shordi at ...626... Wed Feb 4 09:35:13 2015 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Wed, 4 Feb 2015 09:35:13 +0100 Subject: [Gambas-user] gb.quote issue with sqlite In-Reply-To: <54D1281C.9060807@...1...> References: <54D1281C.9060807@...1...> Message-ID: Thanks Benoit. Good work, as always... 2015-02-03 20:57 GMT+01:00 Beno?t Minisini : > Le 03/02/2015 11:41, Jorge Carri?n a ?crit : > > I've notice that on my system gb.quote(fieldname) return the field name > in > > simple commas > > -'fieldname'- wich generates an error on sql results. > > > > With MySQL returns `fieldname` and this quotes are OK for both drivers. > > > > It should be fixed in revision #6881. > > It's hard to know what is *really* standard in SQL and what is not... > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From ian.roper at ...1974... Wed Feb 4 11:03:10 2015 From: ian.roper at ...1974... (Ian) Date: Wed, 04 Feb 2015 18:03:10 +0800 Subject: [Gambas-user] Password error on clicking store or examples in GUI Message-ID: <54D1EE5E.2020309@...1974...> Hi , I've been getting this error for some time - what can I do to resolve ? On regular updates so will be at the latest revision. 3.6.99 SVN 6881 according to my update manager history. Error screenshot [System] Gambas=3.6.90 OperatingSystem=Linux Kernel=3.13.0-24-generic Architecture=x86_64 Distribution=Linux Mint 17 Qiana Desktop=GNOME Theme=QGtk Language=en_AU.UTF-8 Memory=7858M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 cheers, Ian. From shordi at ...626... Wed Feb 4 12:55:35 2015 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Wed, 4 Feb 2015 12:55:35 +0100 Subject: [Gambas-user] desktop.mime database lost? Message-ID: I've several projects that uses the desktop component . I use desktopMime.Fromfile(mypath).getIcon(16).Picture But now it doesn't works. All I've get is a "gb.desktop: unable to read mime database" error. What database is searched? I've instaled the gnome-mime-data package but that's not solved nothing It's a bug? Something is missing in my system? [System] Gambas=3.6.2 OperatingSystem=Linux Kernel=3.13.0-37-generic Architecture=x86_64 Distribution=Linux Mint 17.1 Rebecca Desktop=GNOME Theme=QCleanlooks Language=es_ES.UTF-8 Memory=7968M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 Regards From jussi.lahtinen at ...626... Wed Feb 4 14:00:56 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Wed, 4 Feb 2015 15:00:56 +0200 Subject: [Gambas-user] Password error on clicking store or examples in GUI In-Reply-To: <54D1EE5E.2020309@...1974...> References: <54D1EE5E.2020309@...1974...> Message-ID: The screenshot is missing. Jussi On Wed, Feb 4, 2015 at 12:03 PM, Ian wrote: > Hi , > I've been getting this error for some time - what can I do to resolve ? > On regular updates so will be at the latest revision. > 3.6.99 SVN 6881 according to my update manager history. > > > Error screenshot > > [System] > Gambas=3.6.90 > OperatingSystem=Linux > Kernel=3.13.0-24-generic > Architecture=x86_64 > Distribution=Linux Mint 17 Qiana > Desktop=GNOME > Theme=QGtk > Language=en_AU.UTF-8 > Memory=7858M > [Libraries] > Cairo=libcairo.so.2.11301.0 > Curl=libcurl.so.4.3.0 > DBus=libdbus-1.so.3.7.6 > GStreamer=libgstreamer-0.10.so.0.30.0 > GStreamer=libgstreamer-1.0.so.0.204.0 > GTK+3=libgtk-3.so.0.1000.8 > GTK+=libgtk-x11-2.0.so.0.2400.23 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.44.0.0 > Qt4=libQtCore.so.4.8.6 > SDL=libSDL-1.2.so.0.11.4 > > cheers, > Ian. > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bill-lancaster at ...2231... Wed Feb 4 15:18:30 2015 From: bill-lancaster at ...2231... (bill-lancaster) Date: Wed, 4 Feb 2015 07:18:30 -0700 (MST) Subject: [Gambas-user] Problem with OPTIONAL method declaration Message-ID: <1423059510718-50515.post@...3046...> I have a form with:- Public Sub _new(Optional iNr As Integer) iStatementNr = iNr End When the form is opened with:- Dim hForm As FFormName hForm = New FFormName1019) hForm.ShowModal I get this error message - "Type mismatch: wanted control, got integer instead" Wheras just:- FFormName.ShowModal() Works OK Any help would be appreciated Gambas3.5.3 -- View this message in context: http://gambas.8142.n7.nabble.com/Problem-with-OPTIONAL-method-declaration-tp50515.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas at ...1... Wed Feb 4 15:34:44 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 04 Feb 2015 15:34:44 +0100 Subject: [Gambas-user] Problem with OPTIONAL method declaration In-Reply-To: <1423059510718-50515.post@...3046...> References: <1423059510718-50515.post@...3046...> Message-ID: <54D22E04.7050603@...1...> Le 04/02/2015 15:18, bill-lancaster a ?crit : > I have a form with:- > > Public Sub _new(Optional iNr As Integer) > iStatementNr = iNr > End > > When the form is opened with:- > > Dim hForm As FFormName > hForm = New FFormName1019) > hForm.ShowModal > > I get this error message - "Type mismatch: wanted control, got integer > instead" > > Wheras just:- > FFormName.ShowModal() > Works OK > > Any help would be appreciated > Gambas3.5.3 > > Form constructor already takes an optional argument, its parent. You must do: New FFormName(Null, 1019) Regards, -- Beno?t Minisini From taboege at ...626... Wed Feb 4 15:35:12 2015 From: taboege at ...626... (Tobias Boege) Date: Wed, 4 Feb 2015 15:35:12 +0100 Subject: [Gambas-user] Problem with OPTIONAL method declaration In-Reply-To: <1423059510718-50515.post@...3046...> References: <1423059510718-50515.post@...3046...> Message-ID: <20150204143512.GD811@...2774...> On Wed, 04 Feb 2015, bill-lancaster wrote: > I have a form with:- > > Public Sub _new(Optional iNr As Integer) > iStatementNr = iNr > End > > When the form is opened with:- > > Dim hForm As FFormName > hForm = New FFormName1019) Assuming this should read: hForm = New FFormName(1019) > hForm.ShowModal > > I get this error message - "Type mismatch: wanted control, got integer > instead" > Form inherits Window and Window has an optional constructor argument (like every widget): a parent control in which the widget should be created. As said in the object model document[0], you need to pass the arguments for all parent classes when you create an object -- and the arguments from the parent class are always in front of the ones of the child class. That is, the actual constructor of your FFormName has a signature like FFormName._new(Optional Parent As Control, Optional iNr As Integer) If you want your FFormName object to be an actual window, you can pass a Null as the Parent argument. > Wheras just:- > FFormName.ShowModal() > Works OK > This is totally different. You are using the automatic instance[1] of your FFormName class here which is an object that was already created. Regards, Tobi [0] http://gambaswiki.org/wiki/doc/object-model#t18 [1] http://gambaswiki.org/wiki/lang/createstatic -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From tercoide at ...67... Wed Feb 4 16:10:48 2015 From: tercoide at ...67... (martin p cristia) Date: Wed, 4 Feb 2015 12:10:48 -0300 Subject: [Gambas-user] Gambas-user Digest, Vol 105, Issue 9 In-Reply-To: References: Message-ID: sure, my bad tnx El 04/02/15 a las 05:35, gambas-user-request at lists.sourceforge.net escribi?: > AFAIK, a package cannot install anything in the home folder of a user. > > Regards, -- Saludos Ing. Martin P Cristia From shordi at ...626... Wed Feb 4 17:27:32 2015 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Wed, 4 Feb 2015 17:27:32 +0100 Subject: [Gambas-user] desktop.mime database lost? In-Reply-To: References: Message-ID: I've tried in a Virtual Machine with a fresh installation and all works ok. It's a my system related issue, then... but I have no clue about what is missing or wrong here... Some ideas? 2015-02-04 12:55 GMT+01:00 Jorge Carri?n : > I've several projects that uses the desktop component . > I use > desktopMime.Fromfile(mypath).getIcon(16).Picture > > But now it doesn't works. All I've get is a "gb.desktop: unable to read > mime database" error. > > What database is searched? > > I've instaled the gnome-mime-data package but that's not solved nothing > > It's a bug? Something is missing in my system? > > [System] > Gambas=3.6.2 > OperatingSystem=Linux > Kernel=3.13.0-37-generic > Architecture=x86_64 > Distribution=Linux Mint 17.1 Rebecca > Desktop=GNOME > Theme=QCleanlooks > Language=es_ES.UTF-8 > Memory=7968M > [Libraries] > Cairo=libcairo.so.2.11301.0 > Curl=libcurl.so.4.3.0 > DBus=libdbus-1.so.3.7.6 > GStreamer=libgstreamer-0.10.so.0.30.0 > GStreamer=libgstreamer-1.0.so.0.204.0 > GTK+3=libgtk-3.so.0.1000.8 > GTK+=libgtk-x11-2.0.so.0.2400.23 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.44.0.0 > Qt4=libQtCore.so.4.8.6 > SDL=libSDL-1.2.so.0.11.4 > > Regards > From gambas at ...1... Wed Feb 4 17:55:53 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Wed, 04 Feb 2015 17:55:53 +0100 Subject: [Gambas-user] desktop.mime database lost? In-Reply-To: References: Message-ID: <54D24F19.6090708@...1...> Le 04/02/2015 17:27, Jorge Carri?n a ?crit : > I've tried in a Virtual Machine with a fresh installation and all works ok. > It's a my system related issue, then... but I have no clue about what is > missing or wrong here... > > Some ideas? > > Apparently it means the the mime database text file is present, but gb.desktop got an error while interpreting it. Alas the catched error is not printed. Fabien wrote the code, so maybe he could tell more. :-) -- Beno?t Minisini From shordi at ...626... Wed Feb 4 18:11:42 2015 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Wed, 4 Feb 2015 18:11:42 +0100 Subject: [Gambas-user] desktop.mime database lost? In-Reply-To: <54D24F19.6090708@...1...> References: <54D24F19.6090708@...1...> Message-ID: Thanks Benoit. Waiting for Fabien... I don't like reinstall all the system but I need gb.desktop working with certain urgency... 2015-02-04 17:55 GMT+01:00 Beno?t Minisini : > Le 04/02/2015 17:27, Jorge Carri?n a ?crit : > > I've tried in a Virtual Machine with a fresh installation and all works > ok. > > It's a my system related issue, then... but I have no clue about what is > > missing or wrong here... > > > > Some ideas? > > > > > > Apparently it means the the mime database text file is present, but > gb.desktop got an error while interpreting it. Alas the catched error is > not printed. > > Fabien wrote the code, so maybe he could tell more. :-) > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bagoneo at ...69... Wed Feb 4 19:48:21 2015 From: bagoneo at ...69... (Gian) Date: Wed, 4 Feb 2015 11:48:21 -0700 (MST) Subject: [Gambas-user] Problem with OPTIONAL method declaration In-Reply-To: <1423059510718-50515.post@...3046...> References: <1423059510718-50515.post@...3046...> Message-ID: <1423075701145-50522.post@...3046...> Ciao Gianluigi -- View this message in context: http://gambas.8142.n7.nabble.com/Problem-with-OPTIONAL-method-declaration-tp50515p50522.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas.fr at ...626... Wed Feb 4 21:26:11 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 4 Feb 2015 21:26:11 +0100 Subject: [Gambas-user] desktop.mime database lost? In-Reply-To: References: <54D24F19.6090708@...1...> Message-ID: I need to know what package use your distribution ... ubuntu ? debian ? then give me the result of : $ env 2015-02-04 18:11 GMT+01:00 Jorge Carri?n : > Thanks Benoit. Waiting for Fabien... I don't like reinstall all the system > but I need gb.desktop working with certain urgency... > > > 2015-02-04 17:55 GMT+01:00 Beno?t Minisini : > >> Le 04/02/2015 17:27, Jorge Carri?n a ?crit : >> > I've tried in a Virtual Machine with a fresh installation and all works >> ok. >> > It's a my system related issue, then... but I have no clue about what is >> > missing or wrong here... >> > >> > Some ideas? >> > >> > >> >> Apparently it means the the mime database text file is present, but >> gb.desktop got an error while interpreting it. Alas the catched error is >> not printed. >> >> Fabien wrote the code, so maybe he could tell more. :-) >> >> -- >> Beno?t Minisini >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming. The Go Parallel Website, >> sponsored by Intel and developed in partnership with Slashdot Media, is >> your >> hub for all things parallel software development, from weekly thought >> leadership blogs to news, videos, case studies, tutorials and more. Take a >> look and join the conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas at ...1... Wed Feb 4 21:33:27 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Wed, 04 Feb 2015 21:33:27 +0100 Subject: [Gambas-user] desktop.mime database lost? In-Reply-To: References: <54D24F19.6090708@...1...> Message-ID: <54D28217.3060703@...1...> Le 04/02/2015 18:11, Jorge Carri?n a ?crit : > Thanks Benoit. Waiting for Fabien... I don't like reinstall all the system > but I need gb.desktop working with certain urgency... Can you try revision #6884? It will display a more detailed error message so that we can guess what happens. And/or you can send me your '~/.local/share/mime/globs2' file. Regards, -- Beno?t Minisini From shordi at ...626... Wed Feb 4 21:47:11 2015 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Wed, 4 Feb 2015 21:47:11 +0100 Subject: [Gambas-user] desktop.mime database lost? In-Reply-To: References: <54D24F19.6090708@...1...> Message-ID: My system: [System] Gambas=3.6.2 OperatingSystem=Linux Kernel=3.13.0-37-generic Architecture=x86_64 Distribution=Linux Mint 17.1 Rebecca Desktop=GNOME Theme=QCleanlooks Language=es_ES.UTF-8 Memory=7968M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 env produces this: XDG_VTNR=8 SSH_AGENT_PID=1977 XDG_SESSION_ID=c1 GPG_AGENT_INFO=/run/user/1000/keyring-BT0Wzk/gpg:0:1 TERM=xterm SHELL=/bin/bash VTE_VERSION=3409 XDG_SESSION_COOKIE=842921d63edb7a886429d30954d26abd-1423081161.137614-2057719372 GJS_DEBUG_OUTPUT=stderr WINDOWID=41943047 GNOME_KEYRING_CONTROL=/run/user/1000/keyring-BT0Wzk GJS_DEBUG_TOPICS=JS ERROR;JS LOG USER=jorge LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36: SSH_AUTH_SOCK=/run/user/1000/keyring-BT0Wzk/ssh SESSION_MANAGER=local/pater:@ /tmp/.ICE-unix/1900,unix/pater:/tmp/.ICE-unix/1900 USERNAME=jorge DEFAULTS_PATH=/usr/share/gconf/default.default.path XDG_CONFIG_DIRS=/etc/xdg/xdg-default:/etc/xdg PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games DESKTOP_SESSION=default GDM_XSERVER_LOCATION=local PWD=/home/jorge GNOME_KEYRING_PID=1678 LANG=es_ES.UTF-8 MANDATORY_PATH=/usr/share/gconf/default.mandatory.path MDM_XSERVER_LOCATION=local GDMSESSION=default CINNAMON_VERSION=2.4.6 SHLVL=1 XDG_SEAT=seat0 HOME=/home/jorge GNOME_DESKTOP_SESSION_ID=this-is-deprecated XDG_SESSION_DESKTOP=default LOGNAME=jorge XDG_DATA_DIRS=/usr/share/default:/usr/share/gnome:/usr/local/share/:/usr/share/:/usr/share/mdm/ DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-GcwlfEiKYq,guid=3b808cb08826d7ce0169572854d27ec9 MDMSESSION=default TEXTDOMAIN=im-config WINDOWPATH=8 XDG_RUNTIME_DIR=/run/user/1000 DISPLAY=:0 MDM_LANG=es_ES.UTF-8 XDG_CURRENT_DESKTOP=X-Cinnamon TEXTDOMAINDIR=/usr/share/locale/ COLORTERM=gnome-terminal XAUTHORITY=/home/jorge/.Xauthority _=/usr/bin/env I'm using a SSD disk (I don't believe this like be significant, but...) I've reinstalled completly the system to be sure it's not a strange software installed before or something... but error remains. Regards 2015-02-04 21:26 GMT+01:00 Fabien Bodard : > I need to know what package use your distribution ... ubuntu ? debian ? > > then give me the result of : > > $ env > > > > 2015-02-04 18:11 GMT+01:00 Jorge Carri?n : > > Thanks Benoit. Waiting for Fabien... I don't like reinstall all the > system > > but I need gb.desktop working with certain urgency... > > > > > > 2015-02-04 17:55 GMT+01:00 Beno?t Minisini >: > > > >> Le 04/02/2015 17:27, Jorge Carri?n a ?crit : > >> > I've tried in a Virtual Machine with a fresh installation and all > works > >> ok. > >> > It's a my system related issue, then... but I have no clue about what > is > >> > missing or wrong here... > >> > > >> > Some ideas? > >> > > >> > > >> > >> Apparently it means the the mime database text file is present, but > >> gb.desktop got an error while interpreting it. Alas the catched error is > >> not printed. > >> > >> Fabien wrote the code, so maybe he could tell more. :-) > >> > >> -- > >> Beno?t Minisini > >> > >> > >> > ------------------------------------------------------------------------------ > >> Dive into the World of Parallel Programming. The Go Parallel Website, > >> sponsored by Intel and developed in partnership with Slashdot Media, is > >> your > >> hub for all things parallel software development, from weekly thought > >> leadership blogs to news, videos, case studies, tutorials and more. > Take a > >> look and join the conversation now. http://goparallel.sourceforge.net/ > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > > ------------------------------------------------------------------------------ > > Dive into the World of Parallel Programming. The Go Parallel Website, > > sponsored by Intel and developed in partnership with Slashdot Media, is > your > > hub for all things parallel software development, from weekly thought > > leadership blogs to news, videos, case studies, tutorials and more. Take > a > > look and join the conversation now. http://goparallel.sourceforge.net/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Wed Feb 4 21:53:11 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 4 Feb 2015 21:53:11 +0100 Subject: [Gambas-user] desktop.mime database lost? In-Reply-To: References: <54D24F19.6090708@...1...> Message-ID: AS said by benoit ... send your ~/.local/share/mime/globs2 or find it on your disk ... and send us (in private). 2015-02-04 21:47 GMT+01:00 Jorge Carri?n : > My system: > > [System] > Gambas=3.6.2 > OperatingSystem=Linux > Kernel=3.13.0-37-generic > Architecture=x86_64 > Distribution=Linux Mint 17.1 Rebecca > Desktop=GNOME > Theme=QCleanlooks > Language=es_ES.UTF-8 > Memory=7968M > [Libraries] > Cairo=libcairo.so.2.11301.0 > Curl=libcurl.so.4.3.0 > DBus=libdbus-1.so.3.7.6 > GStreamer=libgstreamer-0.10.so.0.30.0 > GStreamer=libgstreamer-1.0.so.0.204.0 > GTK+3=libgtk-3.so.0.1000.8 > GTK+=libgtk-x11-2.0.so.0.2400.23 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.44.0.0 > Qt4=libQtCore.so.4.8.6 > SDL=libSDL-1.2.so.0.11.4 > > env produces this: > > XDG_VTNR=8 > SSH_AGENT_PID=1977 > XDG_SESSION_ID=c1 > GPG_AGENT_INFO=/run/user/1000/keyring-BT0Wzk/gpg:0:1 > TERM=xterm > SHELL=/bin/bash > VTE_VERSION=3409 > XDG_SESSION_COOKIE=842921d63edb7a886429d30954d26abd-1423081161.137614-2057719372 > GJS_DEBUG_OUTPUT=stderr > WINDOWID=41943047 > GNOME_KEYRING_CONTROL=/run/user/1000/keyring-BT0Wzk > GJS_DEBUG_TOPICS=JS ERROR;JS LOG > USER=jorge > LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36: > SSH_AUTH_SOCK=/run/user/1000/keyring-BT0Wzk/ssh > SESSION_MANAGER=local/pater:@ > /tmp/.ICE-unix/1900,unix/pater:/tmp/.ICE-unix/1900 > USERNAME=jorge > DEFAULTS_PATH=/usr/share/gconf/default.default.path > XDG_CONFIG_DIRS=/etc/xdg/xdg-default:/etc/xdg > PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games > DESKTOP_SESSION=default > GDM_XSERVER_LOCATION=local > PWD=/home/jorge > GNOME_KEYRING_PID=1678 > LANG=es_ES.UTF-8 > MANDATORY_PATH=/usr/share/gconf/default.mandatory.path > MDM_XSERVER_LOCATION=local > GDMSESSION=default > CINNAMON_VERSION=2.4.6 > SHLVL=1 > XDG_SEAT=seat0 > HOME=/home/jorge > GNOME_DESKTOP_SESSION_ID=this-is-deprecated > XDG_SESSION_DESKTOP=default > LOGNAME=jorge > XDG_DATA_DIRS=/usr/share/default:/usr/share/gnome:/usr/local/share/:/usr/share/:/usr/share/mdm/ > DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-GcwlfEiKYq,guid=3b808cb08826d7ce0169572854d27ec9 > MDMSESSION=default > TEXTDOMAIN=im-config > WINDOWPATH=8 > XDG_RUNTIME_DIR=/run/user/1000 > DISPLAY=:0 > MDM_LANG=es_ES.UTF-8 > XDG_CURRENT_DESKTOP=X-Cinnamon > TEXTDOMAINDIR=/usr/share/locale/ > COLORTERM=gnome-terminal > XAUTHORITY=/home/jorge/.Xauthority > _=/usr/bin/env > > I'm using a SSD disk (I don't believe this like be significant, but...) > > I've reinstalled completly the system to be sure it's not a strange > software installed before or something... but error remains. > > Regards > > 2015-02-04 21:26 GMT+01:00 Fabien Bodard : > >> I need to know what package use your distribution ... ubuntu ? debian ? >> >> then give me the result of : >> >> $ env >> >> >> >> 2015-02-04 18:11 GMT+01:00 Jorge Carri?n : >> > Thanks Benoit. Waiting for Fabien... I don't like reinstall all the >> system >> > but I need gb.desktop working with certain urgency... >> > >> > >> > 2015-02-04 17:55 GMT+01:00 Beno?t Minisini > >: >> > >> >> Le 04/02/2015 17:27, Jorge Carri?n a ?crit : >> >> > I've tried in a Virtual Machine with a fresh installation and all >> works >> >> ok. >> >> > It's a my system related issue, then... but I have no clue about what >> is >> >> > missing or wrong here... >> >> > >> >> > Some ideas? >> >> > >> >> > >> >> >> >> Apparently it means the the mime database text file is present, but >> >> gb.desktop got an error while interpreting it. Alas the catched error is >> >> not printed. >> >> >> >> Fabien wrote the code, so maybe he could tell more. :-) >> >> >> >> -- >> >> Beno?t Minisini >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> Dive into the World of Parallel Programming. The Go Parallel Website, >> >> sponsored by Intel and developed in partnership with Slashdot Media, is >> >> your >> >> hub for all things parallel software development, from weekly thought >> >> leadership blogs to news, videos, case studies, tutorials and more. >> Take a >> >> look and join the conversation now. http://goparallel.sourceforge.net/ >> >> _______________________________________________ >> >> Gambas-user mailing list >> >> Gambas-user at lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> > >> ------------------------------------------------------------------------------ >> > Dive into the World of Parallel Programming. The Go Parallel Website, >> > sponsored by Intel and developed in partnership with Slashdot Media, is >> your >> > hub for all things parallel software development, from weekly thought >> > leadership blogs to news, videos, case studies, tutorials and more. Take >> a >> > look and join the conversation now. http://goparallel.sourceforge.net/ >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> -- >> Fabien Bodard >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming. The Go Parallel Website, >> sponsored by Intel and developed in partnership with Slashdot Media, is >> your >> hub for all things parallel software development, from weekly thought >> leadership blogs to news, videos, case studies, tutorials and more. Take a >> look and join the conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From shordi at ...626... Wed Feb 4 21:54:06 2015 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Wed, 4 Feb 2015 21:54:06 +0100 Subject: [Gambas-user] desktop.mime database lost? In-Reply-To: <54D28217.3060703@...1...> References: <54D24F19.6090708@...1...> <54D28217.3060703@...1...> Message-ID: The globs2 doesn't contains nothing but this # This file was automatically generated by the # update-mime-database command. DO NOT EDIT! I'll try #6884... (tomorrow will be in gambas-daily?) Regards 2015-02-04 21:33 GMT+01:00 Beno?t Minisini : > Le 04/02/2015 18:11, Jorge Carri?n a ?crit : > > Thanks Benoit. Waiting for Fabien... I don't like reinstall all the > system > > but I need gb.desktop working with certain urgency... > > Can you try revision #6884? It will display a more detailed error > message so that we can guess what happens. > > And/or you can send me your '~/.local/share/mime/globs2' file. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Wed Feb 4 21:56:59 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 04 Feb 2015 20:56:59 +0000 Subject: [Gambas-user] Issue 601 in gambas: Database Data Source with Mariadb as mysql In-Reply-To: <1-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> <0-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> Comment #2 on issue 601 by justlost... at ...626...: Database Data Source with Mariadb as mysql https://code.google.com/p/gambas/issues/detail?id=601 After More testing, I am unable to add a connection to any data source when created new. Of any database type. But if an existing project already has a connection set in the datasource I am able to change the connection etc. Would be willing to debug, How to debug the IDE? -- 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.fr at ...626... Wed Feb 4 21:58:32 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 4 Feb 2015 21:58:32 +0100 Subject: [Gambas-user] desktop.mime database lost? In-Reply-To: References: <54D24F19.6090708@...1...> <54D28217.3060703@...1...> Message-ID: hum ... this is the problem ... i need the content of this file, It must not be empty.. i will install a cinamon 2015-02-04 21:54 GMT+01:00 Jorge Carri?n : > The globs2 doesn't contains nothing but this > > # This file was automatically generated by the > # update-mime-database command. DO NOT EDIT! > > I'll try #6884... (tomorrow will be in gambas-daily?) > > Regards > > 2015-02-04 21:33 GMT+01:00 Beno?t Minisini : > >> Le 04/02/2015 18:11, Jorge Carri?n a ?crit : >> > Thanks Benoit. Waiting for Fabien... I don't like reinstall all the >> system >> > but I need gb.desktop working with certain urgency... >> >> Can you try revision #6884? It will display a more detailed error >> message so that we can guess what happens. >> >> And/or you can send me your '~/.local/share/mime/globs2' file. >> >> Regards, >> >> -- >> Beno?t Minisini >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming. The Go Parallel Website, >> sponsored by Intel and developed in partnership with Slashdot Media, is >> your >> hub for all things parallel software development, from weekly thought >> leadership blogs to news, videos, case studies, tutorials and more. Take a >> look and join the conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From shordi at ...626... Wed Feb 4 22:08:25 2015 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Wed, 4 Feb 2015 22:08:25 +0100 Subject: [Gambas-user] desktop.mime database lost? In-Reply-To: References: <54D24F19.6090708@...1...> Message-ID: >or find it on your disk ... and send us (in private). I didn't know that could exist another glob2 on the system. I've found the /usr/share/mime/globs2 and this one is full of 968 mime descriptions. So... I've deleted (rename) the ~/.local/share/glob2 and the project works then I've deleted(rename) the ~/.local/share/mime at all... and the project works too It seems that the .local/share/mime is mandatory upon /usr/share/mime and the error comes from the emptyness of .local/share/mime/glob2 I don't know nothing more about the system manage of mime and want to ask... it's safe don't have a .local/share/mime directory? come collateral damage if doesn't exist? May copy the /usr/share/mime in .local/share in order to synchronize both? So... SOLVED... I suppouse... Regards 2015-02-04 21:53 GMT+01:00 Fabien Bodard : > AS said by benoit ... send your ~/.local/share/mime/globs2 > > or find it on your disk ... and send us (in private). > > 2015-02-04 21:47 GMT+01:00 Jorge Carri?n : > > My system: > > > > [System] > > Gambas=3.6.2 > > OperatingSystem=Linux > > Kernel=3.13.0-37-generic > > Architecture=x86_64 > > Distribution=Linux Mint 17.1 Rebecca > > Desktop=GNOME > > Theme=QCleanlooks > > Language=es_ES.UTF-8 > > Memory=7968M > > [Libraries] > > Cairo=libcairo.so.2.11301.0 > > Curl=libcurl.so.4.3.0 > > DBus=libdbus-1.so.3.7.6 > > GStreamer=libgstreamer-0.10.so.0.30.0 > > GStreamer=libgstreamer-1.0.so.0.204.0 > > GTK+3=libgtk-3.so.0.1000.8 > > GTK+=libgtk-x11-2.0.so.0.2400.23 > > OpenGL=libGL.so.1.2.0 > > Poppler=libpoppler.so.44.0.0 > > Qt4=libQtCore.so.4.8.6 > > SDL=libSDL-1.2.so.0.11.4 > > > > env produces this: > > > > XDG_VTNR=8 > > SSH_AGENT_PID=1977 > > XDG_SESSION_ID=c1 > > GPG_AGENT_INFO=/run/user/1000/keyring-BT0Wzk/gpg:0:1 > > TERM=xterm > > SHELL=/bin/bash > > VTE_VERSION=3409 > > > XDG_SESSION_COOKIE=842921d63edb7a886429d30954d26abd-1423081161.137614-2057719372 > > GJS_DEBUG_OUTPUT=stderr > > WINDOWID=41943047 > > GNOME_KEYRING_CONTROL=/run/user/1000/keyring-BT0Wzk > > GJS_DEBUG_TOPICS=JS ERROR;JS LOG > > USER=jorge > > > LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36: > > SSH_AUTH_SOCK=/run/user/1000/keyring-BT0Wzk/ssh > > SESSION_MANAGER=local/pater:@ > > /tmp/.ICE-unix/1900,unix/pater:/tmp/.ICE-unix/1900 > > USERNAME=jorge > > DEFAULTS_PATH=/usr/share/gconf/default.default.path > > XDG_CONFIG_DIRS=/etc/xdg/xdg-default:/etc/xdg > > > PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games > > DESKTOP_SESSION=default > > GDM_XSERVER_LOCATION=local > > PWD=/home/jorge > > GNOME_KEYRING_PID=1678 > > LANG=es_ES.UTF-8 > > MANDATORY_PATH=/usr/share/gconf/default.mandatory.path > > MDM_XSERVER_LOCATION=local > > GDMSESSION=default > > CINNAMON_VERSION=2.4.6 > > SHLVL=1 > > XDG_SEAT=seat0 > > HOME=/home/jorge > > GNOME_DESKTOP_SESSION_ID=this-is-deprecated > > XDG_SESSION_DESKTOP=default > > LOGNAME=jorge > > > XDG_DATA_DIRS=/usr/share/default:/usr/share/gnome:/usr/local/share/:/usr/share/:/usr/share/mdm/ > > > DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-GcwlfEiKYq,guid=3b808cb08826d7ce0169572854d27ec9 > > MDMSESSION=default > > TEXTDOMAIN=im-config > > WINDOWPATH=8 > > XDG_RUNTIME_DIR=/run/user/1000 > > DISPLAY=:0 > > MDM_LANG=es_ES.UTF-8 > > XDG_CURRENT_DESKTOP=X-Cinnamon > > TEXTDOMAINDIR=/usr/share/locale/ > > COLORTERM=gnome-terminal > > XAUTHORITY=/home/jorge/.Xauthority > > _=/usr/bin/env > > > > I'm using a SSD disk (I don't believe this like be significant, but...) > > > > I've reinstalled completly the system to be sure it's not a strange > > software installed before or something... but error remains. > > > > Regards > > > > 2015-02-04 21:26 GMT+01:00 Fabien Bodard : > > > >> I need to know what package use your distribution ... ubuntu ? debian ? > >> > >> then give me the result of : > >> > >> $ env > >> > >> > >> > >> 2015-02-04 18:11 GMT+01:00 Jorge Carri?n : > >> > Thanks Benoit. Waiting for Fabien... I don't like reinstall all the > >> system > >> > but I need gb.desktop working with certain urgency... > >> > > >> > > >> > 2015-02-04 17:55 GMT+01:00 Beno?t Minisini < > gambas at ...1... > >> >: > >> > > >> >> Le 04/02/2015 17:27, Jorge Carri?n a ?crit : > >> >> > I've tried in a Virtual Machine with a fresh installation and all > >> works > >> >> ok. > >> >> > It's a my system related issue, then... but I have no clue about > what > >> is > >> >> > missing or wrong here... > >> >> > > >> >> > Some ideas? > >> >> > > >> >> > > >> >> > >> >> Apparently it means the the mime database text file is present, but > >> >> gb.desktop got an error while interpreting it. Alas the catched > error is > >> >> not printed. > >> >> > >> >> Fabien wrote the code, so maybe he could tell more. :-) > >> >> > >> >> -- > >> >> Beno?t Minisini > >> >> > >> >> > >> >> > >> > ------------------------------------------------------------------------------ > >> >> Dive into the World of Parallel Programming. The Go Parallel Website, > >> >> sponsored by Intel and developed in partnership with Slashdot Media, > is > >> >> your > >> >> hub for all things parallel software development, from weekly thought > >> >> leadership blogs to news, videos, case studies, tutorials and more. > >> Take a > >> >> look and join the conversation now. > http://goparallel.sourceforge.net/ > >> >> _______________________________________________ > >> >> Gambas-user mailing list > >> >> Gambas-user at lists.sourceforge.net > >> >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> >> > >> > > >> > ------------------------------------------------------------------------------ > >> > Dive into the World of Parallel Programming. The Go Parallel Website, > >> > sponsored by Intel and developed in partnership with Slashdot Media, > is > >> your > >> > hub for all things parallel software development, from weekly thought > >> > leadership blogs to news, videos, case studies, tutorials and more. > Take > >> a > >> > look and join the conversation now. > http://goparallel.sourceforge.net/ > >> > _______________________________________________ > >> > Gambas-user mailing list > >> > Gambas-user at lists.sourceforge.net > >> > https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > >> > >> > >> -- > >> Fabien Bodard > >> > >> > >> > ------------------------------------------------------------------------------ > >> Dive into the World of Parallel Programming. The Go Parallel Website, > >> sponsored by Intel and developed in partnership with Slashdot Media, is > >> your > >> hub for all things parallel software development, from weekly thought > >> leadership blogs to news, videos, case studies, tutorials and more. > Take a > >> look and join the conversation now. http://goparallel.sourceforge.net/ > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > > ------------------------------------------------------------------------------ > > Dive into the World of Parallel Programming. The Go Parallel Website, > > sponsored by Intel and developed in partnership with Slashdot Media, is > your > > hub for all things parallel software development, from weekly thought > > leadership blogs to news, videos, case studies, tutorials and more. Take > a > > look and join the conversation now. http://goparallel.sourceforge.net/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Wed Feb 4 22:10:08 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 4 Feb 2015 22:10:08 +0100 Subject: [Gambas-user] desktop.mime database lost? In-Reply-To: References: <54D24F19.6090708@...1...> <54D28217.3060703@...1...> Message-ID: Take a look in /usr/share/mime if you have a glob2 file send me the file 2015-02-04 21:58 GMT+01:00 Fabien Bodard : > hum ... this is the problem ... i need the content of this file, It > must not be empty.. i will install a cinamon > > 2015-02-04 21:54 GMT+01:00 Jorge Carri?n : >> The globs2 doesn't contains nothing but this >> >> # This file was automatically generated by the >> # update-mime-database command. DO NOT EDIT! >> >> I'll try #6884... (tomorrow will be in gambas-daily?) >> >> Regards >> >> 2015-02-04 21:33 GMT+01:00 Beno?t Minisini : >> >>> Le 04/02/2015 18:11, Jorge Carri?n a ?crit : >>> > Thanks Benoit. Waiting for Fabien... I don't like reinstall all the >>> system >>> > but I need gb.desktop working with certain urgency... >>> >>> Can you try revision #6884? It will display a more detailed error >>> message so that we can guess what happens. >>> >>> And/or you can send me your '~/.local/share/mime/globs2' file. >>> >>> Regards, >>> >>> -- >>> Beno?t Minisini >>> >>> >>> ------------------------------------------------------------------------------ >>> Dive into the World of Parallel Programming. The Go Parallel Website, >>> sponsored by Intel and developed in partnership with Slashdot Media, is >>> your >>> hub for all things parallel software development, from weekly thought >>> leadership blogs to news, videos, case studies, tutorials and more. Take a >>> look and join the conversation now. http://goparallel.sourceforge.net/ >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming. The Go Parallel Website, >> sponsored by Intel and developed in partnership with Slashdot Media, is your >> hub for all things parallel software development, from weekly thought >> leadership blogs to news, videos, case studies, tutorials and more. Take a >> look and join the conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard -- Fabien Bodard From gambas at ...2524... Wed Feb 4 22:11:55 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 04 Feb 2015 21:11:55 +0000 Subject: [Gambas-user] Issue 601 in gambas: Database Data Source with Mariadb as mysql In-Reply-To: <2-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> <0-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> Updates: Status: NeedsInfo Comment #3 on issue 601 by benoit.m... at ...626...: Database Data Source with Mariadb as mysql https://code.google.com/p/gambas/issues/detail?id=601 The bug has normally been fixed in the development version. Can you try it? -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas.fr at ...626... Wed Feb 4 22:12:02 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 4 Feb 2015 22:12:02 +0100 Subject: [Gambas-user] desktop.mime database lost? In-Reply-To: References: <54D24F19.6090708@...1...> Message-ID: Well ... i just need to say that if a read fail ... to look forward... i think 2015-02-04 22:08 GMT+01:00 Jorge Carri?n : >>or find it on your disk ... and send us (in private). > I didn't know that could exist another glob2 on the system. I've found the > /usr/share/mime/globs2 and this one is full of 968 mime descriptions. > So... I've deleted (rename) the ~/.local/share/glob2 and the project works > then I've deleted(rename) the ~/.local/share/mime at all... and the project > works too > > It seems that the .local/share/mime is mandatory upon /usr/share/mime and > the error comes from the emptyness of .local/share/mime/glob2 > > I don't know nothing more about the system manage of mime and want to > ask... it's safe don't have a .local/share/mime directory? come collateral > damage if doesn't exist? > > May copy the /usr/share/mime in .local/share in order to synchronize both? > > So... SOLVED... I suppouse... > > Regards > > > 2015-02-04 21:53 GMT+01:00 Fabien Bodard : > >> AS said by benoit ... send your ~/.local/share/mime/globs2 >> >> or find it on your disk ... and send us (in private). >> >> 2015-02-04 21:47 GMT+01:00 Jorge Carri?n : >> > My system: >> > >> > [System] >> > Gambas=3.6.2 >> > OperatingSystem=Linux >> > Kernel=3.13.0-37-generic >> > Architecture=x86_64 >> > Distribution=Linux Mint 17.1 Rebecca >> > Desktop=GNOME >> > Theme=QCleanlooks >> > Language=es_ES.UTF-8 >> > Memory=7968M >> > [Libraries] >> > Cairo=libcairo.so.2.11301.0 >> > Curl=libcurl.so.4.3.0 >> > DBus=libdbus-1.so.3.7.6 >> > GStreamer=libgstreamer-0.10.so.0.30.0 >> > GStreamer=libgstreamer-1.0.so.0.204.0 >> > GTK+3=libgtk-3.so.0.1000.8 >> > GTK+=libgtk-x11-2.0.so.0.2400.23 >> > OpenGL=libGL.so.1.2.0 >> > Poppler=libpoppler.so.44.0.0 >> > Qt4=libQtCore.so.4.8.6 >> > SDL=libSDL-1.2.so.0.11.4 >> > >> > env produces this: >> > >> > XDG_VTNR=8 >> > SSH_AGENT_PID=1977 >> > XDG_SESSION_ID=c1 >> > GPG_AGENT_INFO=/run/user/1000/keyring-BT0Wzk/gpg:0:1 >> > TERM=xterm >> > SHELL=/bin/bash >> > VTE_VERSION=3409 >> > >> XDG_SESSION_COOKIE=842921d63edb7a886429d30954d26abd-1423081161.137614-2057719372 >> > GJS_DEBUG_OUTPUT=stderr >> > WINDOWID=41943047 >> > GNOME_KEYRING_CONTROL=/run/user/1000/keyring-BT0Wzk >> > GJS_DEBUG_TOPICS=JS ERROR;JS LOG >> > USER=jorge >> > >> LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36: >> > SSH_AUTH_SOCK=/run/user/1000/keyring-BT0Wzk/ssh >> > SESSION_MANAGER=local/pater:@ >> > /tmp/.ICE-unix/1900,unix/pater:/tmp/.ICE-unix/1900 >> > USERNAME=jorge >> > DEFAULTS_PATH=/usr/share/gconf/default.default.path >> > XDG_CONFIG_DIRS=/etc/xdg/xdg-default:/etc/xdg >> > >> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games >> > DESKTOP_SESSION=default >> > GDM_XSERVER_LOCATION=local >> > PWD=/home/jorge >> > GNOME_KEYRING_PID=1678 >> > LANG=es_ES.UTF-8 >> > MANDATORY_PATH=/usr/share/gconf/default.mandatory.path >> > MDM_XSERVER_LOCATION=local >> > GDMSESSION=default >> > CINNAMON_VERSION=2.4.6 >> > SHLVL=1 >> > XDG_SEAT=seat0 >> > HOME=/home/jorge >> > GNOME_DESKTOP_SESSION_ID=this-is-deprecated >> > XDG_SESSION_DESKTOP=default >> > LOGNAME=jorge >> > >> XDG_DATA_DIRS=/usr/share/default:/usr/share/gnome:/usr/local/share/:/usr/share/:/usr/share/mdm/ >> > >> DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-GcwlfEiKYq,guid=3b808cb08826d7ce0169572854d27ec9 >> > MDMSESSION=default >> > TEXTDOMAIN=im-config >> > WINDOWPATH=8 >> > XDG_RUNTIME_DIR=/run/user/1000 >> > DISPLAY=:0 >> > MDM_LANG=es_ES.UTF-8 >> > XDG_CURRENT_DESKTOP=X-Cinnamon >> > TEXTDOMAINDIR=/usr/share/locale/ >> > COLORTERM=gnome-terminal >> > XAUTHORITY=/home/jorge/.Xauthority >> > _=/usr/bin/env >> > >> > I'm using a SSD disk (I don't believe this like be significant, but...) >> > >> > I've reinstalled completly the system to be sure it's not a strange >> > software installed before or something... but error remains. >> > >> > Regards >> > >> > 2015-02-04 21:26 GMT+01:00 Fabien Bodard : >> > >> >> I need to know what package use your distribution ... ubuntu ? debian ? >> >> >> >> then give me the result of : >> >> >> >> $ env >> >> >> >> >> >> >> >> 2015-02-04 18:11 GMT+01:00 Jorge Carri?n : >> >> > Thanks Benoit. Waiting for Fabien... I don't like reinstall all the >> >> system >> >> > but I need gb.desktop working with certain urgency... >> >> > >> >> > >> >> > 2015-02-04 17:55 GMT+01:00 Beno?t Minisini < >> gambas at ...1... >> >> >: >> >> > >> >> >> Le 04/02/2015 17:27, Jorge Carri?n a ?crit : >> >> >> > I've tried in a Virtual Machine with a fresh installation and all >> >> works >> >> >> ok. >> >> >> > It's a my system related issue, then... but I have no clue about >> what >> >> is >> >> >> > missing or wrong here... >> >> >> > >> >> >> > Some ideas? >> >> >> > >> >> >> > >> >> >> >> >> >> Apparently it means the the mime database text file is present, but >> >> >> gb.desktop got an error while interpreting it. Alas the catched >> error is >> >> >> not printed. >> >> >> >> >> >> Fabien wrote the code, so maybe he could tell more. :-) >> >> >> >> >> >> -- >> >> >> Beno?t Minisini >> >> >> >> >> >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> >> Dive into the World of Parallel Programming. The Go Parallel Website, >> >> >> sponsored by Intel and developed in partnership with Slashdot Media, >> is >> >> >> your >> >> >> hub for all things parallel software development, from weekly thought >> >> >> leadership blogs to news, videos, case studies, tutorials and more. >> >> Take a >> >> >> look and join the conversation now. >> http://goparallel.sourceforge.net/ >> >> >> _______________________________________________ >> >> >> Gambas-user mailing list >> >> >> Gambas-user at lists.sourceforge.net >> >> >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> >> > >> >> >> ------------------------------------------------------------------------------ >> >> > Dive into the World of Parallel Programming. The Go Parallel Website, >> >> > sponsored by Intel and developed in partnership with Slashdot Media, >> is >> >> your >> >> > hub for all things parallel software development, from weekly thought >> >> > leadership blogs to news, videos, case studies, tutorials and more. >> Take >> >> a >> >> > look and join the conversation now. >> http://goparallel.sourceforge.net/ >> >> > _______________________________________________ >> >> > Gambas-user mailing list >> >> > Gambas-user at lists.sourceforge.net >> >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> >> >> >> >> -- >> >> Fabien Bodard >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> Dive into the World of Parallel Programming. The Go Parallel Website, >> >> sponsored by Intel and developed in partnership with Slashdot Media, is >> >> your >> >> hub for all things parallel software development, from weekly thought >> >> leadership blogs to news, videos, case studies, tutorials and more. >> Take a >> >> look and join the conversation now. http://goparallel.sourceforge.net/ >> >> _______________________________________________ >> >> Gambas-user mailing list >> >> Gambas-user at lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> > >> ------------------------------------------------------------------------------ >> > Dive into the World of Parallel Programming. The Go Parallel Website, >> > sponsored by Intel and developed in partnership with Slashdot Media, is >> your >> > hub for all things parallel software development, from weekly thought >> > leadership blogs to news, videos, case studies, tutorials and more. Take >> a >> > look and join the conversation now. http://goparallel.sourceforge.net/ >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> -- >> Fabien Bodard >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming. The Go Parallel Website, >> sponsored by Intel and developed in partnership with Slashdot Media, is >> your >> hub for all things parallel software development, from weekly thought >> leadership blogs to news, videos, case studies, tutorials and more. Take a >> look and join the conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas.fr at ...626... Wed Feb 4 22:54:14 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 4 Feb 2015 22:54:14 +0100 Subject: [Gambas-user] desktop.mime database lost? In-Reply-To: References: <54D24F19.6090708@...1...> Message-ID: Hope it is corected on rev #6885 2015-02-04 22:12 GMT+01:00 Fabien Bodard : > Well ... i just need to say that if a read fail ... to look forward... i think > > 2015-02-04 22:08 GMT+01:00 Jorge Carri?n : >>>or find it on your disk ... and send us (in private). >> I didn't know that could exist another glob2 on the system. I've found the >> /usr/share/mime/globs2 and this one is full of 968 mime descriptions. >> So... I've deleted (rename) the ~/.local/share/glob2 and the project works >> then I've deleted(rename) the ~/.local/share/mime at all... and the project >> works too >> >> It seems that the .local/share/mime is mandatory upon /usr/share/mime and >> the error comes from the emptyness of .local/share/mime/glob2 >> >> I don't know nothing more about the system manage of mime and want to >> ask... it's safe don't have a .local/share/mime directory? come collateral >> damage if doesn't exist? >> >> May copy the /usr/share/mime in .local/share in order to synchronize both? >> >> So... SOLVED... I suppouse... >> >> Regards >> >> >> 2015-02-04 21:53 GMT+01:00 Fabien Bodard : >> >>> AS said by benoit ... send your ~/.local/share/mime/globs2 >>> >>> or find it on your disk ... and send us (in private). >>> >>> 2015-02-04 21:47 GMT+01:00 Jorge Carri?n : >>> > My system: >>> > >>> > [System] >>> > Gambas=3.6.2 >>> > OperatingSystem=Linux >>> > Kernel=3.13.0-37-generic >>> > Architecture=x86_64 >>> > Distribution=Linux Mint 17.1 Rebecca >>> > Desktop=GNOME >>> > Theme=QCleanlooks >>> > Language=es_ES.UTF-8 >>> > Memory=7968M >>> > [Libraries] >>> > Cairo=libcairo.so.2.11301.0 >>> > Curl=libcurl.so.4.3.0 >>> > DBus=libdbus-1.so.3.7.6 >>> > GStreamer=libgstreamer-0.10.so.0.30.0 >>> > GStreamer=libgstreamer-1.0.so.0.204.0 >>> > GTK+3=libgtk-3.so.0.1000.8 >>> > GTK+=libgtk-x11-2.0.so.0.2400.23 >>> > OpenGL=libGL.so.1.2.0 >>> > Poppler=libpoppler.so.44.0.0 >>> > Qt4=libQtCore.so.4.8.6 >>> > SDL=libSDL-1.2.so.0.11.4 >>> > >>> > env produces this: >>> > >>> > XDG_VTNR=8 >>> > SSH_AGENT_PID=1977 >>> > XDG_SESSION_ID=c1 >>> > GPG_AGENT_INFO=/run/user/1000/keyring-BT0Wzk/gpg:0:1 >>> > TERM=xterm >>> > SHELL=/bin/bash >>> > VTE_VERSION=3409 >>> > >>> XDG_SESSION_COOKIE=842921d63edb7a886429d30954d26abd-1423081161.137614-2057719372 >>> > GJS_DEBUG_OUTPUT=stderr >>> > WINDOWID=41943047 >>> > GNOME_KEYRING_CONTROL=/run/user/1000/keyring-BT0Wzk >>> > GJS_DEBUG_TOPICS=JS ERROR;JS LOG >>> > USER=jorge >>> > >>> LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36: >>> > SSH_AUTH_SOCK=/run/user/1000/keyring-BT0Wzk/ssh >>> > SESSION_MANAGER=local/pater:@ >>> > /tmp/.ICE-unix/1900,unix/pater:/tmp/.ICE-unix/1900 >>> > USERNAME=jorge >>> > DEFAULTS_PATH=/usr/share/gconf/default.default.path >>> > XDG_CONFIG_DIRS=/etc/xdg/xdg-default:/etc/xdg >>> > >>> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games >>> > DESKTOP_SESSION=default >>> > GDM_XSERVER_LOCATION=local >>> > PWD=/home/jorge >>> > GNOME_KEYRING_PID=1678 >>> > LANG=es_ES.UTF-8 >>> > MANDATORY_PATH=/usr/share/gconf/default.mandatory.path >>> > MDM_XSERVER_LOCATION=local >>> > GDMSESSION=default >>> > CINNAMON_VERSION=2.4.6 >>> > SHLVL=1 >>> > XDG_SEAT=seat0 >>> > HOME=/home/jorge >>> > GNOME_DESKTOP_SESSION_ID=this-is-deprecated >>> > XDG_SESSION_DESKTOP=default >>> > LOGNAME=jorge >>> > >>> XDG_DATA_DIRS=/usr/share/default:/usr/share/gnome:/usr/local/share/:/usr/share/:/usr/share/mdm/ >>> > >>> DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-GcwlfEiKYq,guid=3b808cb08826d7ce0169572854d27ec9 >>> > MDMSESSION=default >>> > TEXTDOMAIN=im-config >>> > WINDOWPATH=8 >>> > XDG_RUNTIME_DIR=/run/user/1000 >>> > DISPLAY=:0 >>> > MDM_LANG=es_ES.UTF-8 >>> > XDG_CURRENT_DESKTOP=X-Cinnamon >>> > TEXTDOMAINDIR=/usr/share/locale/ >>> > COLORTERM=gnome-terminal >>> > XAUTHORITY=/home/jorge/.Xauthority >>> > _=/usr/bin/env >>> > >>> > I'm using a SSD disk (I don't believe this like be significant, but...) >>> > >>> > I've reinstalled completly the system to be sure it's not a strange >>> > software installed before or something... but error remains. >>> > >>> > Regards >>> > >>> > 2015-02-04 21:26 GMT+01:00 Fabien Bodard : >>> > >>> >> I need to know what package use your distribution ... ubuntu ? debian ? >>> >> >>> >> then give me the result of : >>> >> >>> >> $ env >>> >> >>> >> >>> >> >>> >> 2015-02-04 18:11 GMT+01:00 Jorge Carri?n : >>> >> > Thanks Benoit. Waiting for Fabien... I don't like reinstall all the >>> >> system >>> >> > but I need gb.desktop working with certain urgency... >>> >> > >>> >> > >>> >> > 2015-02-04 17:55 GMT+01:00 Beno?t Minisini < >>> gambas at ...1... >>> >> >: >>> >> > >>> >> >> Le 04/02/2015 17:27, Jorge Carri?n a ?crit : >>> >> >> > I've tried in a Virtual Machine with a fresh installation and all >>> >> works >>> >> >> ok. >>> >> >> > It's a my system related issue, then... but I have no clue about >>> what >>> >> is >>> >> >> > missing or wrong here... >>> >> >> > >>> >> >> > Some ideas? >>> >> >> > >>> >> >> > >>> >> >> >>> >> >> Apparently it means the the mime database text file is present, but >>> >> >> gb.desktop got an error while interpreting it. Alas the catched >>> error is >>> >> >> not printed. >>> >> >> >>> >> >> Fabien wrote the code, so maybe he could tell more. :-) >>> >> >> >>> >> >> -- >>> >> >> Beno?t Minisini >>> >> >> >>> >> >> >>> >> >> >>> >> >>> ------------------------------------------------------------------------------ >>> >> >> Dive into the World of Parallel Programming. The Go Parallel Website, >>> >> >> sponsored by Intel and developed in partnership with Slashdot Media, >>> is >>> >> >> your >>> >> >> hub for all things parallel software development, from weekly thought >>> >> >> leadership blogs to news, videos, case studies, tutorials and more. >>> >> Take a >>> >> >> look and join the conversation now. >>> http://goparallel.sourceforge.net/ >>> >> >> _______________________________________________ >>> >> >> Gambas-user mailing list >>> >> >> Gambas-user at lists.sourceforge.net >>> >> >> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> >> >>> >> > >>> >> >>> ------------------------------------------------------------------------------ >>> >> > Dive into the World of Parallel Programming. The Go Parallel Website, >>> >> > sponsored by Intel and developed in partnership with Slashdot Media, >>> is >>> >> your >>> >> > hub for all things parallel software development, from weekly thought >>> >> > leadership blogs to news, videos, case studies, tutorials and more. >>> Take >>> >> a >>> >> > look and join the conversation now. >>> http://goparallel.sourceforge.net/ >>> >> > _______________________________________________ >>> >> > Gambas-user mailing list >>> >> > Gambas-user at lists.sourceforge.net >>> >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> >>> >> >>> >> >>> >> -- >>> >> Fabien Bodard >>> >> >>> >> >>> >> >>> ------------------------------------------------------------------------------ >>> >> Dive into the World of Parallel Programming. The Go Parallel Website, >>> >> sponsored by Intel and developed in partnership with Slashdot Media, is >>> >> your >>> >> hub for all things parallel software development, from weekly thought >>> >> leadership blogs to news, videos, case studies, tutorials and more. >>> Take a >>> >> look and join the conversation now. http://goparallel.sourceforge.net/ >>> >> _______________________________________________ >>> >> Gambas-user mailing list >>> >> Gambas-user at lists.sourceforge.net >>> >> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> >>> > >>> ------------------------------------------------------------------------------ >>> > Dive into the World of Parallel Programming. The Go Parallel Website, >>> > sponsored by Intel and developed in partnership with Slashdot Media, is >>> your >>> > hub for all things parallel software development, from weekly thought >>> > leadership blogs to news, videos, case studies, tutorials and more. Take >>> a >>> > look and join the conversation now. http://goparallel.sourceforge.net/ >>> > _______________________________________________ >>> > Gambas-user mailing list >>> > Gambas-user at lists.sourceforge.net >>> > https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >>> >>> >>> -- >>> Fabien Bodard >>> >>> >>> ------------------------------------------------------------------------------ >>> Dive into the World of Parallel Programming. The Go Parallel Website, >>> sponsored by Intel and developed in partnership with Slashdot Media, is >>> your >>> hub for all things parallel software development, from weekly thought >>> leadership blogs to news, videos, case studies, tutorials and more. Take a >>> look and join the conversation now. http://goparallel.sourceforge.net/ >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming. The Go Parallel Website, >> sponsored by Intel and developed in partnership with Slashdot Media, is your >> hub for all things parallel software development, from weekly thought >> leadership blogs to news, videos, case studies, tutorials and more. Take a >> look and join the conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard -- Fabien Bodard From gambas at ...2524... Wed Feb 4 22:57:40 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 04 Feb 2015 21:57:40 +0000 Subject: [Gambas-user] Issue 601 in gambas: Database Data Source with Mariadb as mysql In-Reply-To: <3-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> <0-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> Comment #4 on issue 601 by justlost... at ...626...: Database Data Source with Mariadb as mysql https://code.google.com/p/gambas/issues/detail?id=601 I debugged the fault is in Private Sub ShowProperty(Optional sFocus As String) Dim hProp As CPropertyInfo Dim sType As String Dim sOption As String Dim bButton As Boolean Dim sProp As String Dim aArg As String[] Dim hEditor As Object Dim hSymbol As CSymbolInfo Dim sHelp, sHelpType, sHelpLcType As String Dim sHTML As String Dim iRow As Integer If Project.Running Then Return If Not $hForm Then Return If $hForm.ReadOnly Then Return If grdProperty.Row < 0 Then Return If $sLast Then HideProperty() $sLast = Connection so it hides the field ... I think Will try development version, Where do I find it? -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Wed Feb 4 23:41:41 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 04 Feb 2015 22:41:41 +0000 Subject: [Gambas-user] Issue 601 in gambas: Database Data Source with Mariadb as mysql In-Reply-To: <4-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> References: <4-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> <0-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> Message-ID: <5-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> Comment #5 on issue 601 by justlost... at ...626...: Database Data Source with Mariadb as mysql https://code.google.com/p/gambas/issues/detail?id=601 Ok Tried R6885 from repository is this the latest development version? Has the same 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... Wed Feb 4 23:47:05 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 04 Feb 2015 22:47:05 +0000 Subject: [Gambas-user] Issue 601 in gambas: Database Data Source with Mariadb as mysql In-Reply-To: <5-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> References: <5-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> <0-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> Message-ID: <6-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> Comment #6 on issue 601 by benoit.m... at ...626...: Database Data Source with Mariadb as mysql https://code.google.com/p/gambas/issues/detail?id=601 Yes, and it works there. Are you sure you are really running that latest version? Can you make a little project that fails on your system and post it there so that I can check it? -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Thu Feb 5 00:30:27 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 04 Feb 2015 23:30:27 +0000 Subject: [Gambas-user] Issue 601 in gambas: Database Data Source with Mariadb as mysql In-Reply-To: <6-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> References: <6-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> <0-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> Message-ID: <7-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> Comment #7 on issue 601 by justlost... at ...626...: Database Data Source with Mariadb as mysql https://code.google.com/p/gambas/issues/detail?id=601 Yes I am Absolutely certain I am using the latest versions. Just verified the build times they match with the build I just did from the source. I have attached a very simple file and the database I have used. Attachments: xx.tar.gz 3.9 KB test 753 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 shordi at ...626... Thu Feb 5 02:02:09 2015 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Thu, 5 Feb 2015 02:02:09 +0100 Subject: [Gambas-user] desktop.mime database lost? In-Reply-To: References: <54D24F19.6090708@...1...> Message-ID: Fine! Thanks Fabian. Regards 2015-02-04 22:54 GMT+01:00 Fabien Bodard : > Hope it is corected on rev #6885 > > 2015-02-04 22:12 GMT+01:00 Fabien Bodard : > > Well ... i just need to say that if a read fail ... to look forward... i > think > > > > 2015-02-04 22:08 GMT+01:00 Jorge Carri?n : > >>>or find it on your disk ... and send us (in private). > >> I didn't know that could exist another glob2 on the system. I've found > the > >> /usr/share/mime/globs2 and this one is full of 968 mime descriptions. > >> So... I've deleted (rename) the ~/.local/share/glob2 and the project > works > >> then I've deleted(rename) the ~/.local/share/mime at all... and the > project > >> works too > >> > >> It seems that the .local/share/mime is mandatory upon /usr/share/mime > and > >> the error comes from the emptyness of .local/share/mime/glob2 > >> > >> I don't know nothing more about the system manage of mime and want to > >> ask... it's safe don't have a .local/share/mime directory? come > collateral > >> damage if doesn't exist? > >> > >> May copy the /usr/share/mime in .local/share in order to synchronize > both? > >> > >> So... SOLVED... I suppouse... > >> > >> Regards > >> > >> > >> 2015-02-04 21:53 GMT+01:00 Fabien Bodard : > >> > >>> AS said by benoit ... send your ~/.local/share/mime/globs2 > >>> > >>> or find it on your disk ... and send us (in private). > >>> > >>> 2015-02-04 21:47 GMT+01:00 Jorge Carri?n : > >>> > My system: > >>> > > >>> > [System] > >>> > Gambas=3.6.2 > >>> > OperatingSystem=Linux > >>> > Kernel=3.13.0-37-generic > >>> > Architecture=x86_64 > >>> > Distribution=Linux Mint 17.1 Rebecca > >>> > Desktop=GNOME > >>> > Theme=QCleanlooks > >>> > Language=es_ES.UTF-8 > >>> > Memory=7968M > >>> > [Libraries] > >>> > Cairo=libcairo.so.2.11301.0 > >>> > Curl=libcurl.so.4.3.0 > >>> > DBus=libdbus-1.so.3.7.6 > >>> > GStreamer=libgstreamer-0.10.so.0.30.0 > >>> > GStreamer=libgstreamer-1.0.so.0.204.0 > >>> > GTK+3=libgtk-3.so.0.1000.8 > >>> > GTK+=libgtk-x11-2.0.so.0.2400.23 > >>> > OpenGL=libGL.so.1.2.0 > >>> > Poppler=libpoppler.so.44.0.0 > >>> > Qt4=libQtCore.so.4.8.6 > >>> > SDL=libSDL-1.2.so.0.11.4 > >>> > > >>> > env produces this: > >>> > > >>> > XDG_VTNR=8 > >>> > SSH_AGENT_PID=1977 > >>> > XDG_SESSION_ID=c1 > >>> > GPG_AGENT_INFO=/run/user/1000/keyring-BT0Wzk/gpg:0:1 > >>> > TERM=xterm > >>> > SHELL=/bin/bash > >>> > VTE_VERSION=3409 > >>> > > >>> > XDG_SESSION_COOKIE=842921d63edb7a886429d30954d26abd-1423081161.137614-2057719372 > >>> > GJS_DEBUG_OUTPUT=stderr > >>> > WINDOWID=41943047 > >>> > GNOME_KEYRING_CONTROL=/run/user/1000/keyring-BT0Wzk > >>> > GJS_DEBUG_TOPICS=JS ERROR;JS LOG > >>> > USER=jorge > >>> > > >>> > LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36: > >>> > SSH_AUTH_SOCK=/run/user/1000/keyring-BT0Wzk/ssh > >>> > SESSION_MANAGER=local/pater:@ > >>> > /tmp/.ICE-unix/1900,unix/pater:/tmp/.ICE-unix/1900 > >>> > USERNAME=jorge > >>> > DEFAULTS_PATH=/usr/share/gconf/default.default.path > >>> > XDG_CONFIG_DIRS=/etc/xdg/xdg-default:/etc/xdg > >>> > > >>> > PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games > >>> > DESKTOP_SESSION=default > >>> > GDM_XSERVER_LOCATION=local > >>> > PWD=/home/jorge > >>> > GNOME_KEYRING_PID=1678 > >>> > LANG=es_ES.UTF-8 > >>> > MANDATORY_PATH=/usr/share/gconf/default.mandatory.path > >>> > MDM_XSERVER_LOCATION=local > >>> > GDMSESSION=default > >>> > CINNAMON_VERSION=2.4.6 > >>> > SHLVL=1 > >>> > XDG_SEAT=seat0 > >>> > HOME=/home/jorge > >>> > GNOME_DESKTOP_SESSION_ID=this-is-deprecated > >>> > XDG_SESSION_DESKTOP=default > >>> > LOGNAME=jorge > >>> > > >>> > XDG_DATA_DIRS=/usr/share/default:/usr/share/gnome:/usr/local/share/:/usr/share/:/usr/share/mdm/ > >>> > > >>> > DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-GcwlfEiKYq,guid=3b808cb08826d7ce0169572854d27ec9 > >>> > MDMSESSION=default > >>> > TEXTDOMAIN=im-config > >>> > WINDOWPATH=8 > >>> > XDG_RUNTIME_DIR=/run/user/1000 > >>> > DISPLAY=:0 > >>> > MDM_LANG=es_ES.UTF-8 > >>> > XDG_CURRENT_DESKTOP=X-Cinnamon > >>> > TEXTDOMAINDIR=/usr/share/locale/ > >>> > COLORTERM=gnome-terminal > >>> > XAUTHORITY=/home/jorge/.Xauthority > >>> > _=/usr/bin/env > >>> > > >>> > I'm using a SSD disk (I don't believe this like be significant, > but...) > >>> > > >>> > I've reinstalled completly the system to be sure it's not a strange > >>> > software installed before or something... but error remains. > >>> > > >>> > Regards > >>> > > >>> > 2015-02-04 21:26 GMT+01:00 Fabien Bodard : > >>> > > >>> >> I need to know what package use your distribution ... ubuntu ? > debian ? > >>> >> > >>> >> then give me the result of : > >>> >> > >>> >> $ env > >>> >> > >>> >> > >>> >> > >>> >> 2015-02-04 18:11 GMT+01:00 Jorge Carri?n : > >>> >> > Thanks Benoit. Waiting for Fabien... I don't like reinstall all > the > >>> >> system > >>> >> > but I need gb.desktop working with certain urgency... > >>> >> > > >>> >> > > >>> >> > 2015-02-04 17:55 GMT+01:00 Beno?t Minisini < > >>> gambas at ...1... > >>> >> >: > >>> >> > > >>> >> >> Le 04/02/2015 17:27, Jorge Carri?n a ?crit : > >>> >> >> > I've tried in a Virtual Machine with a fresh installation and > all > >>> >> works > >>> >> >> ok. > >>> >> >> > It's a my system related issue, then... but I have no clue > about > >>> what > >>> >> is > >>> >> >> > missing or wrong here... > >>> >> >> > > >>> >> >> > Some ideas? > >>> >> >> > > >>> >> >> > > >>> >> >> > >>> >> >> Apparently it means the the mime database text file is present, > but > >>> >> >> gb.desktop got an error while interpreting it. Alas the catched > >>> error is > >>> >> >> not printed. > >>> >> >> > >>> >> >> Fabien wrote the code, so maybe he could tell more. :-) > >>> >> >> > >>> >> >> -- > >>> >> >> Beno?t Minisini > >>> >> >> > >>> >> >> > >>> >> >> > >>> >> > >>> > ------------------------------------------------------------------------------ > >>> >> >> Dive into the World of Parallel Programming. The Go Parallel > Website, > >>> >> >> sponsored by Intel and developed in partnership with Slashdot > Media, > >>> is > >>> >> >> your > >>> >> >> hub for all things parallel software development, from weekly > thought > >>> >> >> leadership blogs to news, videos, case studies, tutorials and > more. > >>> >> Take a > >>> >> >> look and join the conversation now. > >>> http://goparallel.sourceforge.net/ > >>> >> >> _______________________________________________ > >>> >> >> Gambas-user mailing list > >>> >> >> Gambas-user at lists.sourceforge.net > >>> >> >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>> >> >> > >>> >> > > >>> >> > >>> > ------------------------------------------------------------------------------ > >>> >> > Dive into the World of Parallel Programming. The Go Parallel > Website, > >>> >> > sponsored by Intel and developed in partnership with Slashdot > Media, > >>> is > >>> >> your > >>> >> > hub for all things parallel software development, from weekly > thought > >>> >> > leadership blogs to news, videos, case studies, tutorials and > more. > >>> Take > >>> >> a > >>> >> > look and join the conversation now. > >>> http://goparallel.sourceforge.net/ > >>> >> > _______________________________________________ > >>> >> > Gambas-user mailing list > >>> >> > Gambas-user at lists.sourceforge.net > >>> >> > https://lists.sourceforge.net/lists/listinfo/gambas-user > >>> >> > >>> >> > >>> >> > >>> >> -- > >>> >> Fabien Bodard > >>> >> > >>> >> > >>> >> > >>> > ------------------------------------------------------------------------------ > >>> >> Dive into the World of Parallel Programming. The Go Parallel > Website, > >>> >> sponsored by Intel and developed in partnership with Slashdot > Media, is > >>> >> your > >>> >> hub for all things parallel software development, from weekly > thought > >>> >> leadership blogs to news, videos, case studies, tutorials and more. > >>> Take a > >>> >> look and join the conversation now. > http://goparallel.sourceforge.net/ > >>> >> _______________________________________________ > >>> >> Gambas-user mailing list > >>> >> Gambas-user at lists.sourceforge.net > >>> >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>> >> > >>> > > >>> > ------------------------------------------------------------------------------ > >>> > Dive into the World of Parallel Programming. The Go Parallel Website, > >>> > sponsored by Intel and developed in partnership with Slashdot Media, > is > >>> your > >>> > hub for all things parallel software development, from weekly thought > >>> > leadership blogs to news, videos, case studies, tutorials and more. > Take > >>> a > >>> > look and join the conversation now. > http://goparallel.sourceforge.net/ > >>> > _______________________________________________ > >>> > Gambas-user mailing list > >>> > Gambas-user at lists.sourceforge.net > >>> > https://lists.sourceforge.net/lists/listinfo/gambas-user > >>> > >>> > >>> > >>> -- > >>> Fabien Bodard > >>> > >>> > >>> > ------------------------------------------------------------------------------ > >>> Dive into the World of Parallel Programming. The Go Parallel Website, > >>> sponsored by Intel and developed in partnership with Slashdot Media, is > >>> your > >>> hub for all things parallel software development, from weekly thought > >>> leadership blogs to news, videos, case studies, tutorials and more. > Take a > >>> look and join the conversation now. http://goparallel.sourceforge.net/ > >>> _______________________________________________ > >>> Gambas-user mailing list > >>> Gambas-user at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>> > >> > ------------------------------------------------------------------------------ > >> Dive into the World of Parallel Programming. The Go Parallel Website, > >> sponsored by Intel and developed in partnership with Slashdot Media, is > your > >> hub for all things parallel software development, from weekly thought > >> leadership blogs to news, videos, case studies, tutorials and more. > Take a > >> look and join the conversation now. http://goparallel.sourceforge.net/ > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > -- > > Fabien Bodard > > > > -- > Fabien Bodard > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Thu Feb 5 02:20:57 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 05 Feb 2015 01:20:57 +0000 Subject: [Gambas-user] Issue 601 in gambas: Database Data Source with Mariadb as mysql In-Reply-To: <7-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> References: <7-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> <0-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> Message-ID: <8-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> Comment #8 on issue 601 by benoit.m... at ...626...: Database Data Source with Mariadb as mysql https://code.google.com/p/gambas/issues/detail?id=601 I have tested, and everything works as expected. -- 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 bill-lancaster at ...2231... Thu Feb 5 12:03:55 2015 From: bill-lancaster at ...2231... (bill-lancaster) Date: Thu, 5 Feb 2015 04:03:55 -0700 (MST) Subject: [Gambas-user] Problem with OPTIONAL method declaration In-Reply-To: <20150204143512.GD811@...2774...> References: <1423059510718-50515.post@...3046...> <20150204143512.GD811@...2774...> Message-ID: <1423134235468-50541.post@...3046...> Thank you both - I'm learning! -- View this message in context: http://gambas.8142.n7.nabble.com/Problem-with-OPTIONAL-method-declaration-tp50515p50541.html Sent from the gambas-user mailing list archive at Nabble.com. From bill-lancaster at ...2231... Thu Feb 5 12:13:31 2015 From: bill-lancaster at ...2231... (bill-lancaster) Date: Thu, 5 Feb 2015 04:13:31 -0700 (MST) Subject: [Gambas-user] Custom library function returns wrong value Message-ID: <1423134811639-50542.post@...3046...> I have a Procedure in MyLib to convert a 'money' string to integer value. Static Public Procedure StrMoneyToInt(sVal As String) As Integer Dim f As Float f = Val(sVal) Return f * 100 End Some values are incorrectly returned. For example:- This code calls the procedure Dim sMoney As String sMoney = "38.37" f = Val(sMoney) Print f;; f * 100;; MyLib.StrMoneyToInt(sMoney) Gives:- 38.37 3837 3836 Any ideas? Gambas3.5.3 -- View this message in context: http://gambas.8142.n7.nabble.com/Custom-library-function-returns-wrong-value-tp50542.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas.fr at ...626... Thu Feb 5 14:23:56 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 5 Feb 2015 14:23:56 +0100 Subject: [Gambas-user] Custom library function returns wrong value In-Reply-To: <1423134811639-50542.post@...3046...> References: <1423134811639-50542.post@...3046...> Message-ID: And if you do only : Cint(Replace(sValue,".","")) This would avoid float round errors 2015-02-05 12:13 GMT+01:00 bill-lancaster : > I have a Procedure in MyLib to convert a 'money' string to integer value. > > Static Public Procedure StrMoneyToInt(sVal As String) As Integer > Dim f As Float > f = Val(sVal) > Return f * 100 > End > > Some values are incorrectly returned. For example:- > > This code calls the procedure > > Dim sMoney As String > sMoney = "38.37" > f = Val(sMoney) > Print f;; f * 100;; MyLib.StrMoneyToInt(sMoney) > Gives:- > 38.37 3837 3836 > > Any ideas? > > Gambas3.5.3 > > > > -- > View this message in context: http://gambas.8142.n7.nabble.com/Custom-library-function-returns-wrong-value-tp50542.html > Sent from the gambas-user mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From bill-lancaster at ...2231... Thu Feb 5 16:28:54 2015 From: bill-lancaster at ...2231... (bill-lancaster) Date: Thu, 5 Feb 2015 08:28:54 -0700 (MST) Subject: [Gambas-user] Custom library function returns wrong value In-Reply-To: References: <1423134811639-50542.post@...3046...> Message-ID: <1423150134911-50544.post@...3046...> Thanks Fabien, Yes, I have done that and the problem is fixed. It was interesting that the same function in different locations can produce different answers. I suppose that is the risk with float values. Bill -- View this message in context: http://gambas.8142.n7.nabble.com/Custom-library-function-returns-wrong-value-tp50542p50544.html Sent from the gambas-user mailing list archive at Nabble.com. From jussi.lahtinen at ...626... Thu Feb 5 17:20:50 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 5 Feb 2015 18:20:50 +0200 Subject: [Gambas-user] Custom library function returns wrong value In-Reply-To: <1423150134911-50544.post@...3046...> References: <1423134811639-50542.post@...3046...> <1423150134911-50544.post@...3046...> Message-ID: It is not the same function, the other "returns" float and the other returns integer. f = 38.37 * 100 Print f 'This prints the float, which is rounded from ~3836.999999 3837 Print StrMoneyToInt("38.37") 'This prints the integer, which is created by cutting fractional part. 3836 Print Cint(f) 3836 Print Frac(f) 0.999999 something Floating points are confusing. I suggest to use Round() function. Print CInt(Round(f)) 3837 Jussi On Thu, Feb 5, 2015 at 5:28 PM, bill-lancaster wrote: > Thanks Fabien, > Yes, I have done that and the problem is fixed. > It was interesting that the same function in different locations can > produce > different answers. I suppose that is the risk with float values. > Bill > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/Custom-library-function-returns-wrong-value-tp50542p50544.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Thu Feb 5 17:24:02 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 5 Feb 2015 18:24:02 +0200 Subject: [Gambas-user] Custom library function returns wrong value In-Reply-To: References: <1423134811639-50542.post@...3046...> <1423150134911-50544.post@...3046...> Message-ID: Here is the actual 64bit presentation for number 38.37: 38.36999999999999744204615126363933086395263671875 Jussi On Thu, Feb 5, 2015 at 6:20 PM, Jussi Lahtinen wrote: > It is not the same function, the other "returns" float and the other > returns integer. > > f = 38.37 * 100 > > Print f 'This prints the float, which is rounded from ~3836.999999 > 3837 > > Print StrMoneyToInt("38.37") 'This prints the integer, which is created by > cutting fractional part. > 3836 > > Print Cint(f) > 3836 > > Print Frac(f) > 0.999999 something > > > Floating points are confusing. I suggest to use Round() function. > > Print CInt(Round(f)) > 3837 > > > > Jussi > > > > On Thu, Feb 5, 2015 at 5:28 PM, bill-lancaster > wrote: > >> Thanks Fabien, >> Yes, I have done that and the problem is fixed. >> It was interesting that the same function in different locations can >> produce >> different answers. I suppose that is the risk with float values. >> Bill >> >> >> >> -- >> View this message in context: >> http://gambas.8142.n7.nabble.com/Custom-library-function-returns-wrong-value-tp50542p50544.html >> Sent from the gambas-user mailing list archive at Nabble.com. >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming. The Go Parallel Website, >> sponsored by Intel and developed in partnership with Slashdot Media, is >> your >> hub for all things parallel software development, from weekly thought >> leadership blogs to news, videos, case studies, tutorials and more. Take a >> look and join the conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From johny.provoost at ...27... Fri Feb 6 12:37:50 2015 From: johny.provoost at ...27... (Johny Provoost) Date: Fri, 06 Feb 2015 12:37:50 +0100 Subject: [Gambas-user] gb.report Question Message-ID: <54D4A78E.3020503@...27...> I have a program which the possibility to print to print address labels with gb.report. Works perfectly but I always have to close the program before I can print the same report with different data. It always put the first data into the report. My code to put data on the labels is in the _New module of the report, and I notice that run only the first time I call the report. The second time it doesn't run this code in the _New module. I'll tried to put the code in report_open, but there the code only run once too. How can I made the code in the _New or _Open sub run every time I call the report? -- *Vriendelijke Groeten* *Johny Provoost* *mailto: johny.provoost at ...27... * *mailto: johny.provoost at ...626... * *Website:* *http://www.johnyprovoost.net* From gambas.fr at ...626... Fri Feb 6 14:07:26 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 6 Feb 2015 14:07:26 +0100 Subject: [Gambas-user] gb.report Question In-Reply-To: <54D4A78E.3020503@...27...> References: <54D4A78E.3020503@...27...> Message-ID: Can you send me ? project that Show how you are doing Le 6 f?vr. 2015 12:39, "Johny Provoost" a ?crit : > I have a program which the possibility to print to print address labels > with gb.report. Works perfectly but I always have to close the program > before I can print the same report with different data. It always put > the first data into the report. > My code to put data on the labels is in the _New module of the report, > and I notice that run only the first time I call the report. The second > time it doesn't run this code in the _New module. I'll tried to put the > code in report_open, but there the code only run once too. > How can I made the code in the _New or _Open sub run every time I call > the report? > > > -- > > > > *Vriendelijke Groeten* > > *Johny Provoost* > > *mailto: johny.provoost at ...27... * > > *mailto: johny.provoost at ...626... * > > *Website:* *http://www.johnyprovoost.net* > > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From johny.provoost at ...27... Fri Feb 6 14:36:14 2015 From: johny.provoost at ...27... (Johny Provoost) Date: Fri, 06 Feb 2015 14:36:14 +0100 Subject: [Gambas-user] gb.report Question In-Reply-To: References: <54D4A78E.3020503@...27...> Message-ID: <54D4C34E.6010804@...27...> I'll try to cut that peace off, otherwise I'll send the whole project. Op 06-02-15 om 14:07 schreef Fabien Bodard: > Can you send me ? project that Show how you are doing > Le 6 f??vr. 2015 12:39, "Johny Provoost" a ??crit : > >> I have a program which the possibility to print to print address labels >> with gb.report. Works perfectly but I always have to close the program >> before I can print the same report with different data. It always put >> the first data into the report. >> My code to put data on the labels is in the _New module of the report, >> and I notice that run only the first time I call the report. The second >> time it doesn't run this code in the _New module. I'll tried to put the >> code in report_open, but there the code only run once too. >> How can I made the code in the _New or _Open sub run every time I call >> the report? >> >> >> -- >> >> >> >> *Vriendelijke Groeten* >> >> *Johny Provoost* >> >> *mailto: johny.provoost at ...27... * >> >> *mailto: johny.provoost at ...626... * >> >> *Website:* *http://www.johnyprovoost.net* >> >> >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming. The Go Parallel Website, >> sponsored by Intel and developed in partnership with Slashdot Media, is >> your >> hub for all things parallel software development, from weekly thought >> leadership blogs to news, videos, case studies, tutorials and more. Take a >> look and join the conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- *Vriendelijke Groeten* *Johny Provoost* *mailto: johny.provoost at ...27... * *mailto: johny.provoost at ...626... * *Website:* *http://www.johnyprovoost.net* From johny.provoost at ...27... Fri Feb 6 16:19:14 2015 From: johny.provoost at ...27... (Johny Provoost) Date: Fri, 06 Feb 2015 16:19:14 +0100 Subject: [Gambas-user] gb.report Question (Solved) In-Reply-To: <54D4C34E.6010804@...27...> References: <54D4A78E.3020503@...27...> <54D4C34E.6010804@...27...> Message-ID: <54D4DB72.8000006@...27...> Fabien, While try to isolate the code I'll found the problem. A stupid list wasn't updated with the new data. Well, I'm only a would-be programmer (and an old one too), not a professional so I'm do some stupid things. So in fact, indirectly, you solve my problem :>). Thank you for this and sorry for your wasted time. Johny Op 06-02-15 om 14:36 schreef Johny Provoost: > I'll try to cut that peace off, otherwise I'll send the whole project. > > > Op 06-02-15 om 14:07 schreef Fabien Bodard: >> Can you send me ? project that Show how you are doing >> Le 6 f??vr. 2015 12:39, "Johny Provoost" a ??crit : >> >>> I have a program which the possibility to print to print address labels >>> with gb.report. Works perfectly but I always have to close the program >>> before I can print the same report with different data. It always put >>> the first data into the report. >>> My code to put data on the labels is in the _New module of the report, >>> and I notice that run only the first time I call the report. The second >>> time it doesn't run this code in the _New module. I'll tried to put the >>> code in report_open, but there the code only run once too. >>> How can I made the code in the _New or _Open sub run every time I call >>> the report? >>> >>> >>> -- >>> >>> >>> >>> *Vriendelijke Groeten* >>> >>> *Johny Provoost* >>> >>> *mailto: johny.provoost at ...27... * >>> >>> *mailto: johny.provoost at ...626... * >>> >>> *Website:* *http://www.johnyprovoost.net* >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Dive into the World of Parallel Programming. The Go Parallel Website, >>> sponsored by Intel and developed in partnership with Slashdot Media, is >>> your >>> hub for all things parallel software development, from weekly thought >>> leadership blogs to news, videos, case studies, tutorials and more. Take a >>> look and join the conversation now. http://goparallel.sourceforge.net/ >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming. The Go Parallel Website, >> sponsored by Intel and developed in partnership with Slashdot Media, is your >> hub for all things parallel software development, from weekly thought >> leadership blogs to news, videos, case studies, tutorials and more. Take a >> look and join the conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user -- *Vriendelijke Groeten* *Johny Provoost* *mailto: johny.provoost at ...27... * *mailto: johny.provoost at ...626... * *Website:* *http://www.johnyprovoost.net* From lists at ...2828... Fri Feb 6 18:38:30 2015 From: lists at ...2828... (CJ) Date: Fri, 6 Feb 2015 18:38:30 +0100 Subject: [Gambas-user] Dropbox Uploader Message-ID: <7F615970FDC1413F9C7CD58B4B50AC86@...2829...> Just wanted to share this neat script that uses curl for uploading or downloading files/directories from CLI and/or Gambas. http://www.andreafabrizi.it/?dropbox_uploader Takes a few minutes to set up, here is a guide... http://xmodulo.com/access-dropbox-command-line-linux.html /CJ From gambas.fr at ...626... Fri Feb 6 20:44:59 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 6 Feb 2015 20:44:59 +0100 Subject: [Gambas-user] gb.report Question In-Reply-To: <54D4C34E.6010804@...27...> References: <54D4A78E.3020503@...27...> <54D4C34E.6010804@...27...> Message-ID: Ok Le 6 f?vr. 2015 14:37, "Johny Provoost" a ?crit : > I'll try to cut that peace off, otherwise I'll send the whole project. > > > Op 06-02-15 om 14:07 schreef Fabien Bodard: > > Can you send me ? project that Show how you are doing > > Le 6 f??vr. 2015 12:39, "Johny Provoost" a > ??crit : > > > >> I have a program which the possibility to print to print address labels > >> with gb.report. Works perfectly but I always have to close the program > >> before I can print the same report with different data. It always put > >> the first data into the report. > >> My code to put data on the labels is in the _New module of the report, > >> and I notice that run only the first time I call the report. The second > >> time it doesn't run this code in the _New module. I'll tried to put the > >> code in report_open, but there the code only run once too. > >> How can I made the code in the _New or _Open sub run every time I call > >> the report? > >> > >> > >> -- > >> > >> > >> > >> *Vriendelijke Groeten* > >> > >> *Johny Provoost* > >> > >> *mailto: johny.provoost at ...27... * > >> > >> *mailto: johny.provoost at ...626... * > >> > >> *Website:* *http://www.johnyprovoost.net* < > http://www.johnyprovoost.net/> > >> > >> > >> > >> > >> > ------------------------------------------------------------------------------ > >> Dive into the World of Parallel Programming. The Go Parallel Website, > >> sponsored by Intel and developed in partnership with Slashdot Media, is > >> your > >> hub for all things parallel software development, from weekly thought > >> leadership blogs to news, videos, case studies, tutorials and more. > Take a > >> look and join the conversation now. http://goparallel.sourceforge.net/ > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > > ------------------------------------------------------------------------------ > > Dive into the World of Parallel Programming. The Go Parallel Website, > > sponsored by Intel and developed in partnership with Slashdot Media, is > your > > hub for all things parallel software development, from weekly thought > > leadership blogs to news, videos, case studies, tutorials and more. Take > a > > look and join the conversation now. http://goparallel.sourceforge.net/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- > > > > *Vriendelijke Groeten* > > *Johny Provoost* > > *mailto: johny.provoost at ...27... * > > *mailto: johny.provoost at ...626... * > > *Website:* *http://www.johnyprovoost.net* > > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Fri Feb 6 20:47:30 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 6 Feb 2015 20:47:30 +0100 Subject: [Gambas-user] gb.report Question (Solved) In-Reply-To: <54D4DB72.8000006@...27...> References: <54D4A78E.3020503@...27...> <54D4C34E.6010804@...27...> <54D4DB72.8000006@...27...> Message-ID: Le 6 f?vr. 2015 16:20, "Johny Provoost" a ?crit : > > Fabien, > > While try to isolate the code I'll found the problem. A stupid list > wasn't updated with the new data. > Well, I'm only a would-be programmer (and an old one too), not a > professional so I'm do some stupid things. > So in fact, indirectly, you solve my problem :>). Thank you for this > and sorry for your wasted time. > > Johny > > I'm not a programmer too... I'm a vinegrower who love programming and share it's knowledge and learning too. > > Op 06-02-15 om 14:36 schreef Johny Provoost: > > I'll try to cut that peace off, otherwise I'll send the whole project. > > > > > > Op 06-02-15 om 14:07 schreef Fabien Bodard: > >> Can you send me ? project that Show how you are doing > >> Le 6 f??vr. 2015 12:39, "Johny Provoost" a ??crit : > >> > >>> I have a program which the possibility to print to print address labels > >>> with gb.report. Works perfectly but I always have to close the program > >>> before I can print the same report with different data. It always put > >>> the first data into the report. > >>> My code to put data on the labels is in the _New module of the report, > >>> and I notice that run only the first time I call the report. The second > >>> time it doesn't run this code in the _New module. I'll tried to put the > >>> code in report_open, but there the code only run once too. > >>> How can I made the code in the _New or _Open sub run every time I call > >>> the report? > >>> > >>> > >>> -- > >>> > >>> > >>> > >>> *Vriendelijke Groeten* > >>> > >>> *Johny Provoost* > >>> > >>> *mailto: johny.provoost at ...27... * > >>> > >>> *mailto: johny.provoost at ...626... * > >>> > >>> *Website:* *http://www.johnyprovoost.net* < http://www.johnyprovoost.net/> > >>> > >>> > >>> > >>> > >>> ------------------------------------------------------------------------------ > >>> Dive into the World of Parallel Programming. The Go Parallel Website, > >>> sponsored by Intel and developed in partnership with Slashdot Media, is > >>> your > >>> hub for all things parallel software development, from weekly thought > >>> leadership blogs to news, videos, case studies, tutorials and more. Take a > >>> look and join the conversation now. http://goparallel.sourceforge.net/ > >>> _______________________________________________ > >>> Gambas-user mailing list > >>> Gambas-user at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>> > >> ------------------------------------------------------------------------------ > >> Dive into the World of Parallel Programming. The Go Parallel Website, > >> sponsored by Intel and developed in partnership with Slashdot Media, is your > >> hub for all things parallel software development, from weekly thought > >> leadership blogs to news, videos, case studies, tutorials and more. Take a > >> look and join the conversation now. http://goparallel.sourceforge.net/ > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- > > > > *Vriendelijke Groeten* > > *Johny Provoost* > > *mailto: johny.provoost at ...27... * > > *mailto: johny.provoost at ...626... * > > *Website:* *http://www.johnyprovoost.net* > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From adamnt42 at ...626... Fri Feb 6 23:09:14 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Sat, 7 Feb 2015 08:39:14 +1030 Subject: [Gambas-user] FileChooser Settings format Message-ID: <20150207083914.dc1c27b252ae19fc34ac8616@...626...> Could you decipher the format of the .config settings for a FileChooser please. [FMain] Geometry=[205,186,840,564,0] FileChooser1=[1,"/home/horsedownload","/home/horsedownload","",True,[182,642],[1,True,False,"3,37.143,+,12.571,>,39.143",32,False],1] In particular, I'm looking for whether it saves the users "view" preference (because it doesn't seem to be preserved or reloaded by Settings.Read(FileCooser1). tia Bruce -- B Bruen From gambas at ...1... Fri Feb 6 23:24:47 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 06 Feb 2015 23:24:47 +0100 Subject: [Gambas-user] FileChooser Settings format In-Reply-To: <20150207083914.dc1c27b252ae19fc34ac8616@...626...> References: <20150207083914.dc1c27b252ae19fc34ac8616@...626...> Message-ID: <54D53F2F.9040509@...1...> Le 06/02/2015 23:09, adamnt42 at ...626... a ?crit : > Could you decipher the format of the .config settings for a > FileChooser please. > > [FMain] Geometry=[205,186,840,564,0] > FileChooser1=[1,"/home/horsedownload","/home/horsedownload","",True,[182,642],[1,True,False,"3,37.143,+,12.571,>,39.143",32,False],1] > > In particular, I'm looking for whether it saves the users "view" > preference (because it doesn't seem to be preserved or reloaded by > Settings.Read(FileCooser1). > > tia Bruce > What exactly is not saved according to you? -- Beno?t Minisini From adamnt42 at ...626... Fri Feb 6 23:44:10 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Sat, 7 Feb 2015 09:14:10 +1030 Subject: [Gambas-user] FileChooser Settings format In-Reply-To: <54D53F2F.9040509@...1...> References: <20150207083914.dc1c27b252ae19fc34ac8616@...626...> <54D53F2F.9040509@...1...> Message-ID: <20150207091410.ee73222bc46c1548d66a82ad@...626...> On Fri, 06 Feb 2015 23:24:47 +0100 Beno?t Minisini wrote: > Le 06/02/2015 23:09, adamnt42 at ...626... a ?crit : > > Could you decipher the format of the .config settings for a > > FileChooser please. > > > > [FMain] Geometry=[205,186,840,564,0] > > FileChooser1=[1,"/home/horsedownload","/home/horsedownload","",True,[182,642],[1,True,False,"3,37.143,+,12.571,>,39.143",32,False],1] > > > > In particular, I'm looking for whether it saves the users "view" > > preference (because it doesn't seem to be preserved or reloaded by > > Settings.Read(FileCooser1). > > > > tia Bruce > > > > What exactly is not saved according to you? > > -- > Beno?t Minisini > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user It's the state of the "View Details" button. I'm not sure if it's not saved or not reloaded. B -- B Bruen From adamnt42 at ...626... Fri Feb 6 23:45:26 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Sat, 7 Feb 2015 09:15:26 +1030 Subject: [Gambas-user] FileChooser Settings format In-Reply-To: <54D53F2F.9040509@...1...> References: <20150207083914.dc1c27b252ae19fc34ac8616@...626...> <54D53F2F.9040509@...1...> Message-ID: <20150207091526.687ac812b6b9cb0e6ec860eb@...626...> Sorry, that's the "Detailed view" toggle button. B -- B Bruen From ian.roper at ...1974... Sat Feb 7 02:40:44 2015 From: ian.roper at ...1974... (Ian) Date: Sat, 07 Feb 2015 09:40:44 +0800 Subject: [Gambas-user] Password error on clicking store or examples in GUI In-Reply-To: References: <54D1EE5E.2020309@...1974...> Message-ID: <54D56D1C.2050400@...1974...> Apologies - copied the image in page rather than an attachment. The error text reads: This application has raised an unexpected error and must abort. [6] Type mismatch: wanted string, got component instead. _Desktop_Passwords._get.75 Once I get this error, I cannot close the GUI and have to do a force quit to end. Cheers, Ian. On 04/02/15 21:00, Jussi Lahtinen wrote: > The screenshot is missing. > > > Jussi > > On Wed, Feb 4, 2015 at 12:03 PM, Ian wrote: > >> Hi , >> I've been getting this error for some time - what can I do to resolve ? >> On regular updates so will be at the latest revision. >> 3.6.99 SVN 6881 according to my update manager history. >> >> >> Error screenshot >> >> [System] >> Gambas=3.6.90 >> OperatingSystem=Linux >> Kernel=3.13.0-24-generic >> Architecture=x86_64 >> Distribution=Linux Mint 17 Qiana >> Desktop=GNOME >> Theme=QGtk >> Language=en_AU.UTF-8 >> Memory=7858M >> [Libraries] >> Cairo=libcairo.so.2.11301.0 >> Curl=libcurl.so.4.3.0 >> DBus=libdbus-1.so.3.7.6 >> GStreamer=libgstreamer-0.10.so.0.30.0 >> GStreamer=libgstreamer-1.0.so.0.204.0 >> GTK+3=libgtk-3.so.0.1000.8 >> GTK+=libgtk-x11-2.0.so.0.2400.23 >> OpenGL=libGL.so.1.2.0 >> Poppler=libpoppler.so.44.0.0 >> Qt4=libQtCore.so.4.8.6 >> SDL=libSDL-1.2.so.0.11.4 >> >> cheers, >> Ian. >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming. The Go Parallel Website, >> sponsored by Intel and developed in partnership with Slashdot Media, is >> your >> hub for all things parallel software development, from weekly thought >> leadership blogs to news, videos, case studies, tutorials and more. Take a >> look and join the conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From ian.roper at ...1974... Sat Feb 7 02:51:34 2015 From: ian.roper at ...1974... (Ian) Date: Sat, 07 Feb 2015 09:51:34 +0800 Subject: [Gambas-user] Feature Request Message-ID: <54D56FA6.1070908@...1974...> Would it be possible to have a Gambas function to return a string based on a Boolean value. IFF may not be the best naming convention for the keyword but was all I could think of. Public Function IFF(InBool As Boolean, InStrTrue As String, InStrFalse As String) As String If Inbool Then Return InStrTrue Else Return InStrFalse Endif End Use example: BoolValue = True Txt_AmIHappy.Text = IFF(BoolValue,"Yes- Im Using Gambas","No-I have to use VB") Of course this can be done with an If-Else or Select-Case but its a little more elegant. Cheers, Ian. From gambas at ...1... Sat Feb 7 02:54:28 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 07 Feb 2015 02:54:28 +0100 Subject: [Gambas-user] Password error on clicking store or examples in GUI In-Reply-To: <54D56D1C.2050400@...1974...> References: <54D1EE5E.2020309@...1974...> <54D56D1C.2050400@...1974...> Message-ID: <54D57054.5000101@...1...> Le 07/02/2015 02:40, Ian a ?crit : > Apologies - copied the image in page rather than an attachment. > > The error text reads: > > This application has raised an unexpected error and must abort. > [6] Type mismatch: wanted string, got component instead. > _Desktop_Passwords._get.75 > > Once I get this error, I cannot close the GUI and have to do a force > quit to end. > > Cheers, > Ian. > Sorry, but are you sure that you got that error message exactly? -- Beno?t Minisini From ian.roper at ...1974... Sat Feb 7 04:19:28 2015 From: ian.roper at ...1974... (Ian) Date: Sat, 07 Feb 2015 11:19:28 +0800 Subject: [Gambas-user] Password error on clicking store or examples in GUI In-Reply-To: <54D57054.5000101@...1...> References: <54D1EE5E.2020309@...1974...> <54D56D1C.2050400@...1974...> <54D57054.5000101@...1...> Message-ID: <54D58440.8020800@...1974...> Yes copied text exactly as per the error dialogue. with attachment now. When clicking on examples, I get the same error message as soon as I click the link "There" Cheers, Ian. On 07/02/15 09:54, Beno?t Minisini wrote: > Le 07/02/2015 02:40, Ian a ?crit : >> Apologies - copied the image in page rather than an attachment. >> >> The error text reads: >> >> This application has raised an unexpected error and must abort. >> [6] Type mismatch: wanted string, got component instead. >> _Desktop_Passwords._get.75 >> >> Once I get this error, I cannot close the GUI and have to do a force >> quit to end. >> >> Cheers, >> Ian. >> > Sorry, but are you sure that you got that error message exactly? > -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot from 2015-02-04 17:55:38.png Type: image/png Size: 21480 bytes Desc: not available URL: From gambas at ...2524... Sat Feb 7 06:22:38 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 07 Feb 2015 05:22:38 +0000 Subject: [Gambas-user] Issue 602 in gambas: Large fonts don't appear correctly in ListBox control Message-ID: <0-6813199134517018827-10783389269728033256-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 602 by zachsmit... at ...626...: Large fonts don't appear correctly in ListBox control https://code.google.com/p/gambas/issues/detail?id=602 1) Large fonts don't appear correctly in ListBox control. 2) [System] Gambas=3.6.90 OperatingSystem=Linux Kernel=3.18.2-2-ARCH Architecture=x86_64 Distribution=arch Desktop=XFCE Theme=QGtk Language=en_US.UTF-8 Memory=3956M [Libraries] Cairo=libcairo.so.2.11400.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.8.9 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.405.0 GTK+3=libgtk-3.so.0.1400.7 GTK+=libgtk-x11-2.0.so.0.2400.25 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.48.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 Photos: 1.png IDE 2.png GTK+3 3.png Qt4 Test program attached. Attachments: 1.png 12.9 KB 2.png 8.8 KB 3.png 8.0 KB test26-0.0.1.tar.gz 3.8 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From t.lee.davidson at ...626... Sat Feb 7 07:09:35 2015 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Sat, 07 Feb 2015 01:09:35 -0500 Subject: [Gambas-user] Feature Request In-Reply-To: <54D56FA6.1070908@...1974...> References: <54D56FA6.1070908@...1974...> Message-ID: <54D5AC1F.1000301@...626...> Hey Ian, Unless I'm missing something, you're talking about an Inline IF. And, there already is one. http://gambaswiki.org/wiki/lang/iif Print IIf(True, "Yes", "No") ' -> Yes Print IIf(False, "Yes", "No") ' -> No Lee __________ On 02/06/2015 08:51 PM, Ian wrote: > Would it be possible to have a Gambas function to return a string based > on a Boolean value. > IFF may not be the best naming convention for the keyword but was all I > could think of. > > Public Function IFF(InBool As Boolean, InStrTrue As String, InStrFalse > As String) As String > > If Inbool Then > Return InStrTrue > Else > Return InStrFalse > Endif > > End > > Use example: > BoolValue = True > Txt_AmIHappy.Text = IFF(BoolValue,"Yes- Im Using Gambas","No-I have to > use VB") > > Of course this can be done with an If-Else or Select-Case but its a > little more elegant. > > > Cheers, > Ian. > > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Sat Feb 7 07:15:52 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 7 Feb 2015 07:15:52 +0100 Subject: [Gambas-user] Feature Request In-Reply-To: <54D5AC1F.1000301@...626...> References: <54D56FA6.1070908@...1974...> <54D5AC1F.1000301@...626...> Message-ID: :-P You need to read the wki help language pages at least ! 2015-02-07 7:09 GMT+01:00 T Lee Davidson : > Hey Ian, > > Unless I'm missing something, you're talking about an Inline IF. And, there > already is one. > > http://gambaswiki.org/wiki/lang/iif > > Print IIf(True, "Yes", "No") ' -> Yes > Print IIf(False, "Yes", "No") ' -> No > > > Lee > __________ > > On 02/06/2015 08:51 PM, Ian wrote: >> Would it be possible to have a Gambas function to return a string based >> on a Boolean value. >> IFF may not be the best naming convention for the keyword but was all I >> could think of. >> >> Public Function IFF(InBool As Boolean, InStrTrue As String, InStrFalse >> As String) As String >> >> If Inbool Then >> Return InStrTrue >> Else >> Return InStrFalse >> Endif >> >> End >> >> Use example: >> BoolValue = True >> Txt_AmIHappy.Text = IFF(BoolValue,"Yes- Im Using Gambas","No-I have to >> use VB") >> >> Of course this can be done with an If-Else or Select-Case but its a >> little more elegant. >> >> >> Cheers, >> Ian. >> >> >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming. The Go Parallel Website, >> sponsored by Intel and developed in partnership with Slashdot Media, is your >> hub for all things parallel software development, from weekly thought >> leadership blogs to news, videos, case studies, tutorials and more. Take a >> look and join the conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From ian.roper at ...1974... Sat Feb 7 12:33:42 2015 From: ian.roper at ...1974... (Ian) Date: Sat, 07 Feb 2015 19:33:42 +0800 Subject: [Gambas-user] Feature Request In-Reply-To: References: <54D56FA6.1070908@...1974...> <54D5AC1F.1000301@...626...> Message-ID: <54D5F816.8030700@...1974...> IIF - I should have know there would be something. now if the wiki had a search function........ Ian. On 07/02/15 14:15, Fabien Bodard wrote: > :-P > > You need to read the wki help language pages at least ! > > 2015-02-07 7:09 GMT+01:00 T Lee Davidson : >> Hey Ian, >> >> Unless I'm missing something, you're talking about an Inline IF. And, there >> already is one. >> >> http://gambaswiki.org/wiki/lang/iif >> >> Print IIf(True, "Yes", "No") ' -> Yes >> Print IIf(False, "Yes", "No") ' -> No >> >> >> Lee >> __________ >> >> On 02/06/2015 08:51 PM, Ian wrote: >>> Would it be possible to have a Gambas function to return a string based >>> on a Boolean value. >>> IFF may not be the best naming convention for the keyword but was all I >>> could think of. >>> >>> Public Function IFF(InBool As Boolean, InStrTrue As String, InStrFalse >>> As String) As String >>> >>> If Inbool Then >>> Return InStrTrue >>> Else >>> Return InStrFalse >>> Endif >>> >>> End >>> >>> Use example: >>> BoolValue = True >>> Txt_AmIHappy.Text = IFF(BoolValue,"Yes- Im Using Gambas","No-I have to >>> use VB") >>> >>> Of course this can be done with an If-Else or Select-Case but its a >>> little more elegant. >>> >>> >>> Cheers, >>> Ian. >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Dive into the World of Parallel Programming. The Go Parallel Website, >>> sponsored by Intel and developed in partnership with Slashdot Media, is your >>> hub for all things parallel software development, from weekly thought >>> leadership blogs to news, videos, case studies, tutorials and more. Take a >>> look and join the conversation now. http://goparallel.sourceforge.net/ >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming. The Go Parallel Website, >> sponsored by Intel and developed in partnership with Slashdot Media, is your >> hub for all things parallel software development, from weekly thought >> leadership blogs to news, videos, case studies, tutorials and more. Take a >> look and join the conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > From lewis at ...3412... Sat Feb 7 12:45:53 2015 From: lewis at ...3412... (Lewis Balentine) Date: Sat, 07 Feb 2015 05:45:53 -0600 Subject: [Gambas-user] Feature Request In-Reply-To: <54D5F816.8030700@...1974...> References: <54D56FA6.1070908@...1974...> <54D5AC1F.1000301@...626...> <54D5F816.8030700@...1974...> Message-ID: <54D5FAF1.2060903@...3412...> The context sensitive on-line help system uses the Wiki. That implies the existence of some sort of search capability. It would be very helpful if that were exposed on the web pages ... but perhaps it is based on the various index pages. On 02/07/2015 05:33 AM, Ian wrote: > IIF - I should have know there would be something. > > now if the wiki had a search function........ > > > Ian. > > From gambas.fr at ...626... Sat Feb 7 15:48:20 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 7 Feb 2015 15:48:20 +0100 Subject: [Gambas-user] Feature Request In-Reply-To: <54D5FAF1.2060903@...3412...> References: <54D56FA6.1070908@...1974...> <54D5AC1F.1000301@...626...> <54D5F816.8030700@...1974...> <54D5FAF1.2060903@...3412...> Message-ID: Le 7 f?vr. 2015 12:46, "Lewis Balentine" a ?crit : > > The context sensitive on-line help system uses the Wiki. That implies > the existence of some sort of search capability. > > It would be very helpful if that were exposed on the web pages ... but > perhaps it is based on the various index pages. > No that implies a try test From gambas at ...2524... Sat Feb 7 16:26:52 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 07 Feb 2015 15:26:52 +0000 Subject: [Gambas-user] Issue 602 in gambas: Large fonts don't appear correctly in ListBox control In-Reply-To: <0-6813199134517018827-10783389269728033256-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-10783389269728033256-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-10783389269728033256-gambas=googlecode.com@...2524...> Updates: Status: Accepted Comment #1 on issue 602 by benoit.m... at ...626...: Large fonts don't appear correctly in ListBox control https://code.google.com/p/gambas/issues/detail?id=602 (No comment was entered for this change.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sat Feb 7 16:27:53 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 07 Feb 2015 15:27:53 +0000 Subject: [Gambas-user] Issue 602 in gambas: Large fonts don't appear correctly in ListBox control In-Reply-To: <1-6813199134517018827-10783389269728033256-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-10783389269728033256-gambas=googlecode.com@...2524...> <0-6813199134517018827-10783389269728033256-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-10783389269728033256-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 602 by benoit.m... at ...626...: Large fonts don't appear correctly in ListBox control https://code.google.com/p/gambas/issues/detail?id=602 Fixed in revision #6897. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From Karl.Reinl at ...2345... Sat Feb 7 22:41:25 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sat, 07 Feb 2015 22:41:25 +0100 Subject: [Gambas-user] Custom Eval (was Re: The new Border class) In-Reply-To: References: <54A9DB16.3000105@...1...> <54AAC64C.8020805@...1...> <54AAFBF3.3090105@...1...> Message-ID: <1423345285.3460.26.camel@...40...> Am Montag, den 05.01.2015, 22:16 +0100 schrieb Fabien Bodard: > 2015-01-05 22:02 GMT+01:00 Beno?t Minisini : > > Le 05/01/2015 21:46, Fabien Bodard a ?crit : > >>> What do you mean? > >>> > >>> -- > >>> Beno?t Minisini > >> > >> I think about a tool that will be able to interpret inline formulas > >> like in a spreedsheet. > >> > >> i have done something like that for playing myself but i'm not a > >> specialist of interpreters like you. > >> > >> for example : > >> > >> =Myvar1 + 3 *(3*myvar2) > >> =MYFUNCTION(myvar1; myvar2) + MyVar3 > >> > >> the function can be initialised for example like > >> > >> Interpret.Function.Add("MYFunction", nbreArgs, typeRetVal) > >> > >> And will call Public Sub Interpret_MyFunction(Arg1 as variant, arg2 as > >> variant,...) as variant > >> > >> A Special Event will query the vars values : Public Sub > >> Interpret_GetVar(sVarName as string) as Variant > >> > >> All the stuff of the interpreter will be to manage conditionnal > >> requirement and calculate values or concatenate strings. So this tool > >> will be usefull for user level programmation. > >> Like in spreadsheet or in reports formulas. It can be extended near to > >> unlimited. Some functions can be hardcoded like mathematical ones. > >> Others are depend of the context so must be implemented for each > >> widget or component. It's not the fastest way to make compute but the > >> most flexible. > >> > >> I hope my english is not inapprehensible > >> > > > > If I understand well, you need some sort of custom Eval(). > > > > More precisely, I think what you need is a Gambas hook inside the reader > > part of Eval() (the first part of its internal compiler) where you tell > > how to translate any symbol into a Gambas function or a call to a method > > into one of your classes, everything else being forbidden. > > > > That way, you keep the Gambas syntax, except that all function names are > > redefined, and every interpreter class is forbidden except the one you > > allow explicitly. > > Yes it can be the idea. But can it be compatible with 'STANDARD' > formulas style too ? were separtors are ';'... > > But your idea will be a great step too and i think you have understand > the back of my mind. > > > > > > > Just an idea... > > > > -- > > Beno?t Minisini Salut Beno?t, searching something for my problem, I found this mail. What I need is something you describe as "Gambas hook inside the reader part of Eval()". In my Collection passed to eval, I have "Sum_of_Value_page_1" to "Sum_of_Value_page_35" and the "Page_Nr". Now for picking the right value I need the eval("Sum_of_Value_page_" & CStr(Page_Nr), myCol). Done like that, I get "Sum_of_Value_page_1" to "Sum_of_Value_page_35" as return. That is nice, but I want the result of that, stored in myCol. Thought I could resolve that with a public function called by eval failed also. "Public Function Sum(sFiledName as string) as Variant" isn't called. So I need that what you call "Gambas hook inside the reader part of Eval()".... Or something that works like I know from Clipper, called Code-Blocks. Search I-net for "clipper code blocks" -- Amicalement Charlie From ian.roper at ...1974... Sun Feb 8 00:34:30 2015 From: ian.roper at ...1974... (Ian) Date: Sun, 08 Feb 2015 07:34:30 +0800 Subject: [Gambas-user] Feature Request In-Reply-To: <54D5FAF1.2060903@...3412...> References: <54D56FA6.1070908@...1974...> <54D5AC1F.1000301@...626...> <54D5F816.8030700@...1974...> <54D5FAF1.2060903@...3412...> Message-ID: <54D6A106.8050403@...1974...> The problem with context sensitive help is that most of the time (50%)+ you just get "Page Not Found" Example: Create a new connection object. ($Con) Type $Con. and scroll the displayed parameter list - on my machine you get "page not found" for each element. I can understand some of the obsucre elements not having any help but I would have thought that the connection object would be one of the better documented . Unless there is something broken on my machine (Linux Mint 17) *sigh* It could be a symptom of another error - where I cannot access the examples but get a strange error. Posted with this subject in the forum "Password error on clicking store or examples in GUI" ...and yes, I'm on daily updates. Cheers, Ian. On 07/02/15 19:45, Lewis Balentine wrote: > The context sensitive on-line help system uses the Wiki. That implies > the existence of some sort of search capability. > > It would be very helpful if that were exposed on the web pages ... but > perhaps it is based on the various index pages. > > > On 02/07/2015 05:33 AM, Ian wrote: >> IIF - I should have know there would be something. >> >> now if the wiki had a search function........ >> >> >> Ian. >> >> > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From gambas at ...1... Sun Feb 8 01:05:06 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sun, 08 Feb 2015 01:05:06 +0100 Subject: [Gambas-user] Feature Request In-Reply-To: <54D6A106.8050403@...1974...> References: <54D56FA6.1070908@...1974...> <54D5AC1F.1000301@...626...> <54D5F816.8030700@...1974...> <54D5FAF1.2060903@...3412...> <54D6A106.8050403@...1974...> Message-ID: <54D6A832.9060108@...1...> Le 08/02/2015 00:34, Ian a ?crit : > The problem with context sensitive help is that most of the time (50%)+ > you just get "Page Not Found" > > Example: > Create a new connection object. ($Con) > Type $Con. and scroll the displayed parameter list - on my machine you > get "page not found" for each element. I can understand some of the > obsucre elements not having any help but I would have thought that the > connection object would be one of the better documented . > > Unless there is something broken on my machine (Linux Mint 17) *sigh* > > It could be a symptom of another error - where I cannot access the > examples but get a strange error. > Posted with this subject in the forum "Password error on clicking store > or examples in GUI" > > ...and yes, I'm on daily updates. > > Cheers, > Ian. > If you use the development version with the offline help, this is normal. The Connection class has changed. When using the development version, you should better use the online help. The offline help is usually too old for it. Regards, -- Beno?t Minisini From adamnt42 at ...626... Sun Feb 8 01:26:12 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Sun, 8 Feb 2015 10:56:12 +1030 Subject: [Gambas-user] Quickie on SELECT Message-ID: <20150208105612.a5290f3d8708d29e30ddd688@...626...> Does anyone know if you can use an EVAL in a CASE selector? e.g. SELECT hSomething ... CASE EVAL(hSomething.SomeArray.Exisits(hSomething.Value)) ... (I am just being too lazy to try it) regards Bruce -- B Bruen From dosida at ...626... Sun Feb 8 03:42:20 2015 From: dosida at ...626... (Dimitris Anogiatis) Date: Sat, 7 Feb 2015 19:42:20 -0700 Subject: [Gambas-user] Quickie on SELECT In-Reply-To: <20150208105612.a5290f3d8708d29e30ddd688@...626...> References: <20150208105612.a5290f3d8708d29e30ddd688@...626...> Message-ID: Hey Bruce, You could try SELECT CASE EVAL(hSomething.SomeArray.Exists(hSomething.Value)) CASE True Print "Yes, value exists in hSomething" CASE False Print "No, value does not exist in hSomething" CASE Else END SELECT Putting CASE EVAL (if it's possible) to make SELECT check against the results of the Eval Statements, would mean (as I understand it) that the result of EVAL would need to be within a reasonable range so that it doesn't raise any exceptions, and the same data type as the hSomething that you have in your original example. I hope this helps. Regards, Dimitris On Sat, Feb 7, 2015 at 5:26 PM, adamnt42 at ...626... wrote: > > Does anyone know if you can use an EVAL in a CASE selector? > e.g. SELECT hSomething > ... > CASE EVAL(hSomething.SomeArray.Exisits(hSomething.Value)) > ... > > (I am just being too lazy to try it) > > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Sun Feb 8 05:09:09 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 08 Feb 2015 04:09:09 +0000 Subject: [Gambas-user] Issue 601 in gambas: Database Data Source with Mariadb as mysql In-Reply-To: <8-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> References: <8-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> <0-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> Message-ID: <9-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> Comment #9 on issue 601 by justlost... at ...626...: Database Data Source with Mariadb as mysql https://code.google.com/p/gambas/issues/detail?id=601 Hi I found that the following code did not est for connection and therefore was leaving vVal as null it never actually set the Connection Value. Public Function SaveProperty() As Boolean Dim sVal As String Dim vVal As Variant Dim hCtrl As CControl Dim sMsg As String Dim sOldVal As String If Not $hForm Or If Not Object.IsValid($hForm) Then Return If $hForm.ReadOnly Then Return If IsNull($hEditor) Then Return False sVal = $hEditor.Text If sVal = $sOldVal Then Return False sOldVal = sVal Select $sType Case "Name" If Not sVal Then Goto _CANCEL If CControl.CheckName(sVal) Then sMsg = ("Forbidden characters in control name.") Goto _CANCEL Endif If $hObject.Rename(sVal) Then sMsg = ("This name is already in use.") Goto _CANCEL Endif RefreshOne($hObject, "Name") Return False Case "Group" If CControl.CheckName(sVal) Then sMsg = ("Forbidden characters in control group.") Goto _CANCEL Endif vVal = sVal Case "i", "l", "b", "Range", "Position", "Dimension" Try vVal = CInt(Val(sVal)) If Error Then Goto _BAD Case "f" If Not IsNumber(sVal) Then Goto _BAD vVal = CFloat(Val(sVal)) Case "d" If Not IsDate(sVal) Then Goto _BAD vVal = CDate(Val(sVal)) Case "Color" If Not IsNull(Val(sVal)) Then vVal = Val(sVal) Else vVal = sVal Endif Case "s", "Font", "Picture", "Constant", "List", "Path", "Image", "SvgImage", "ReportCoord", "ReportPadding", "ReportBorder", "ReportBrush", "Field", "Menu", "Table", "Connection" 'Added Connection to above line Brian G. vVal = sVal Case "String[]", "Fields", "Field[]" Try vVal = Split(sVal, "\n") If Error Then Goto _BAD Case "Angle" vVal = $hEditor.Value Case Else ' Object 'RETURN FALSE End Select $bIgnoreCancel = True CControl.LastError = "" If $bMany Then For Each hCtrl In $hForm.Selection If hCtrl.SetProperty($sLast, vVal) Then Goto _BAD Next Else If $hObject.SetProperty($sLast, vVal) Then Goto _BAD Endif $bIgnoreCancel = False $sOldVal = sOldVal 'DEBUG "$sOldVal =";; $sOldVal Return _BAD: sMsg = ("Incorrect property value.") If CControl.LastError Then sMsg &= "\n\n" & CControl.LastError $bIgnoreCancel = False _CANCEL: CancelProperty $hEditor.SetFocus If sMsg Then Balloon.Warning(sMsg, grdProperty, panEditor.X - grdProperty.X + panEditor.W / 2, panEditor.Y - grdProperty.Y + panEditor.H / 2) Return True End -- 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 8 05:10:59 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 08 Feb 2015 04:10:59 +0000 Subject: [Gambas-user] Issue 601 in gambas: Database Data Source with Mariadb as mysql In-Reply-To: <9-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> References: <9-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> <0-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> Message-ID: <10-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> Comment #10 on issue 601 by justlost... at ...626...: Database Data Source with Mariadb as mysql https://code.google.com/p/gambas/issues/detail?id=601 This is from the latest version downloaded from the repository, as far as I can tell -- 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 8 05:29:33 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 08 Feb 2015 04:29:33 +0000 Subject: [Gambas-user] Issue 601 in gambas: Database Data Source with Mariadb as mysql In-Reply-To: <10-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> References: <10-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> <0-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> Message-ID: <11-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> Comment #11 on issue 601 by justlost... at ...626...: Database Data Source with Mariadb as mysql https://code.google.com/p/gambas/issues/detail?id=601 ok made change to R6558 version rebuilt, problem solved apparently. Can get on with my actual project . Cool I really like you IDE I have used it for many projects, but first try for version 3.6.2 R6558. Thanks for all your hard work. -- 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 8 13:07:54 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 08 Feb 2015 12:07:54 +0000 Subject: [Gambas-user] Issue 601 in gambas: Database Data Source with Mariadb as mysql In-Reply-To: <11-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> References: <11-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> <0-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> Message-ID: <12-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #12 on issue 601 by benoit.m... at ...626...: Database Data Source with Mariadb as mysql https://code.google.com/p/gambas/issues/detail?id=601 OK, so you are *not* using the development version. The bug has been fixed in the development version, not in the stable version. -- 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.fr at ...626... Sun Feb 8 14:45:16 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 8 Feb 2015 14:45:16 +0100 Subject: [Gambas-user] Custom Eval (was Re: The new Border class) In-Reply-To: <1423345285.3460.26.camel@...40...> References: <54A9DB16.3000105@...1...> <54AAC64C.8020805@...1...> <54AAFBF3.3090105@...1...> <1423345285.3460.26.camel@...40...> Message-ID: ??? If I summarize what i see I can answer : iResult = MyCol[eval(eval("Sum_of_Value_page_" & CStr(Page_Nr), myCol)] or simply iResult = MyCol["Sum_of_Value_page_" & CStr(MyCol["Page_Nr"])] Well if you have a point where you fill myCol so no need to store : iResult = MyCol["Sum_of_Value_page_" & iPage] BUT ... I'm not sure it was the goal of your query, so please be more precise or give an example. :-) 2015-02-07 22:41 GMT+01:00 Charlie Reinl : > Am Montag, den 05.01.2015, 22:16 +0100 schrieb Fabien Bodard: >> 2015-01-05 22:02 GMT+01:00 Beno?t Minisini : >> > Le 05/01/2015 21:46, Fabien Bodard a ?crit : >> >>> What do you mean? >> >>> >> >>> -- >> >>> Beno?t Minisini >> >> >> >> I think about a tool that will be able to interpret inline formulas >> >> like in a spreedsheet. >> >> >> >> i have done something like that for playing myself but i'm not a >> >> specialist of interpreters like you. >> >> >> >> for example : >> >> >> >> =Myvar1 + 3 *(3*myvar2) >> >> =MYFUNCTION(myvar1; myvar2) + MyVar3 >> >> >> >> the function can be initialised for example like >> >> >> >> Interpret.Function.Add("MYFunction", nbreArgs, typeRetVal) >> >> >> >> And will call Public Sub Interpret_MyFunction(Arg1 as variant, arg2 as >> >> variant,...) as variant >> >> >> >> A Special Event will query the vars values : Public Sub >> >> Interpret_GetVar(sVarName as string) as Variant >> >> >> >> All the stuff of the interpreter will be to manage conditionnal >> >> requirement and calculate values or concatenate strings. So this tool >> >> will be usefull for user level programmation. >> >> Like in spreadsheet or in reports formulas. It can be extended near to >> >> unlimited. Some functions can be hardcoded like mathematical ones. >> >> Others are depend of the context so must be implemented for each >> >> widget or component. It's not the fastest way to make compute but the >> >> most flexible. >> >> >> >> I hope my english is not inapprehensible >> >> >> > >> > If I understand well, you need some sort of custom Eval(). >> > >> > More precisely, I think what you need is a Gambas hook inside the reader >> > part of Eval() (the first part of its internal compiler) where you tell >> > how to translate any symbol into a Gambas function or a call to a method >> > into one of your classes, everything else being forbidden. >> > >> > That way, you keep the Gambas syntax, except that all function names are >> > redefined, and every interpreter class is forbidden except the one you >> > allow explicitly. >> >> Yes it can be the idea. But can it be compatible with 'STANDARD' >> formulas style too ? were separtors are ';'... >> >> But your idea will be a great step too and i think you have understand >> the back of my mind. >> >> >> >> > >> > Just an idea... >> > >> > -- >> > Beno?t Minisini > > Salut Beno?t, > > searching something for my problem, I found this mail. What I need is > something you describe as "Gambas hook inside the reader part of > Eval()". > In my Collection passed to eval, I have "Sum_of_Value_page_1" to > "Sum_of_Value_page_35" and the "Page_Nr". Now for picking the right > value I need the eval("Sum_of_Value_page_" & CStr(Page_Nr), myCol). > Done like that, I get "Sum_of_Value_page_1" to "Sum_of_Value_page_35" as > return. That is nice, but I want the result of that, stored in myCol. > > Thought I could resolve that with a public function called by eval > failed also. > "Public Function Sum(sFiledName as string) as Variant" isn't called. > > So I need that what you call "Gambas hook inside the reader part of > Eval()".... Or something that works like I know from Clipper, called > Code-Blocks. Search I-net for "clipper code blocks" > > > > > -- > Amicalement > Charlie > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas.fr at ...626... Sun Feb 8 14:46:31 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 8 Feb 2015 14:46:31 +0100 Subject: [Gambas-user] Custom Eval (was Re: The new Border class) In-Reply-To: References: <54A9DB16.3000105@...1...> <54AAC64C.8020805@...1...> <54AAFBF3.3090105@...1...> <1423345285.3460.26.camel@...40...> Message-ID: oups i missed for the first one : iResult = MyCol[eval("Sum_of_Value_page_" & CStr(Page_Nr), myCol)] 2015-02-08 14:45 GMT+01:00 Fabien Bodard : > ??? > If I summarize what i see I can answer : > > iResult = MyCol[eval(eval("Sum_of_Value_page_" & CStr(Page_Nr), myCol)] > > or simply > > iResult = MyCol["Sum_of_Value_page_" & CStr(MyCol["Page_Nr"])] > > Well if you have a point where you fill myCol so no need to store : > > iResult = MyCol["Sum_of_Value_page_" & iPage] > > > BUT ... I'm not sure it was the goal of your query, so please be more > precise or give an example. :-) > > 2015-02-07 22:41 GMT+01:00 Charlie Reinl : >> Am Montag, den 05.01.2015, 22:16 +0100 schrieb Fabien Bodard: >>> 2015-01-05 22:02 GMT+01:00 Beno?t Minisini : >>> > Le 05/01/2015 21:46, Fabien Bodard a ?crit : >>> >>> What do you mean? >>> >>> >>> >>> -- >>> >>> Beno?t Minisini >>> >> >>> >> I think about a tool that will be able to interpret inline formulas >>> >> like in a spreedsheet. >>> >> >>> >> i have done something like that for playing myself but i'm not a >>> >> specialist of interpreters like you. >>> >> >>> >> for example : >>> >> >>> >> =Myvar1 + 3 *(3*myvar2) >>> >> =MYFUNCTION(myvar1; myvar2) + MyVar3 >>> >> >>> >> the function can be initialised for example like >>> >> >>> >> Interpret.Function.Add("MYFunction", nbreArgs, typeRetVal) >>> >> >>> >> And will call Public Sub Interpret_MyFunction(Arg1 as variant, arg2 as >>> >> variant,...) as variant >>> >> >>> >> A Special Event will query the vars values : Public Sub >>> >> Interpret_GetVar(sVarName as string) as Variant >>> >> >>> >> All the stuff of the interpreter will be to manage conditionnal >>> >> requirement and calculate values or concatenate strings. So this tool >>> >> will be usefull for user level programmation. >>> >> Like in spreadsheet or in reports formulas. It can be extended near to >>> >> unlimited. Some functions can be hardcoded like mathematical ones. >>> >> Others are depend of the context so must be implemented for each >>> >> widget or component. It's not the fastest way to make compute but the >>> >> most flexible. >>> >> >>> >> I hope my english is not inapprehensible >>> >> >>> > >>> > If I understand well, you need some sort of custom Eval(). >>> > >>> > More precisely, I think what you need is a Gambas hook inside the reader >>> > part of Eval() (the first part of its internal compiler) where you tell >>> > how to translate any symbol into a Gambas function or a call to a method >>> > into one of your classes, everything else being forbidden. >>> > >>> > That way, you keep the Gambas syntax, except that all function names are >>> > redefined, and every interpreter class is forbidden except the one you >>> > allow explicitly. >>> >>> Yes it can be the idea. But can it be compatible with 'STANDARD' >>> formulas style too ? were separtors are ';'... >>> >>> But your idea will be a great step too and i think you have understand >>> the back of my mind. >>> >>> >>> >>> > >>> > Just an idea... >>> > >>> > -- >>> > Beno?t Minisini >> >> Salut Beno?t, >> >> searching something for my problem, I found this mail. What I need is >> something you describe as "Gambas hook inside the reader part of >> Eval()". >> In my Collection passed to eval, I have "Sum_of_Value_page_1" to >> "Sum_of_Value_page_35" and the "Page_Nr". Now for picking the right >> value I need the eval("Sum_of_Value_page_" & CStr(Page_Nr), myCol). >> Done like that, I get "Sum_of_Value_page_1" to "Sum_of_Value_page_35" as >> return. That is nice, but I want the result of that, stored in myCol. >> >> Thought I could resolve that with a public function called by eval >> failed also. >> "Public Function Sum(sFiledName as string) as Variant" isn't called. >> >> So I need that what you call "Gambas hook inside the reader part of >> Eval()".... Or something that works like I know from Clipper, called >> Code-Blocks. Search I-net for "clipper code blocks" >> >> >> >> >> -- >> Amicalement >> Charlie >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming. The Go Parallel Website, >> sponsored by Intel and developed in partnership with Slashdot Media, is your >> hub for all things parallel software development, from weekly thought >> leadership blogs to news, videos, case studies, tutorials and more. Take a >> look and join the conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard -- Fabien Bodard From gambas.fr at ...626... Sun Feb 8 14:47:08 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 8 Feb 2015 14:47:08 +0100 Subject: [Gambas-user] Quickie on SELECT In-Reply-To: References: <20150208105612.a5290f3d8708d29e30ddd688@...626...> Message-ID: Le 8 f?vr. 2015 03:43, "Dimitris Anogiatis" a ?crit : > > Hey Bruce, > > You could try > > SELECT CASE EVAL(hSomething.SomeArray.Exists(hSomething.Value)) > CASE True > Print "Yes, value exists in hSomething" > CASE False > Print "No, value does not exist in hSomething" > CASE Else > END SELECT > ????+ For a Boolean condition there is IF THEN ELSE Select case CASES are hardcoded. But you can construct something with an ELSE IF tree > Putting CASE EVAL (if it's possible) to make SELECT check against the > results of the Eval Statements, would mean (as I understand it) that the > result of EVAL would need to be within a reasonable range so that it > doesn't raise any exceptions, and the same data type as the hSomething that > you have in your original example. > > I hope this helps. > > Regards, > Dimitris > > On Sat, Feb 7, 2015 at 5:26 PM, adamnt42 at ...626... > wrote: > > > > > Does anyone know if you can use an EVAL in a CASE selector? > > e.g. SELECT hSomething > > ... > > CASE EVAL(hSomething.SomeArray.Exisits(hSomething.Value)) > > ... > > > > (I am just being too lazy to try it) > > > > 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 at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From taboege at ...626... Sun Feb 8 15:16:32 2015 From: taboege at ...626... (Tobias Boege) Date: Sun, 8 Feb 2015 15:16:32 +0100 Subject: [Gambas-user] Quickie on SELECT In-Reply-To: <20150208105612.a5290f3d8708d29e30ddd688@...626...> References: <20150208105612.a5290f3d8708d29e30ddd688@...626...> Message-ID: <20150208141632.GG30297@...2774...> On Sun, 08 Feb 2015, adamnt42 at ...626... wrote: > > Does anyone know if you can use an EVAL in a CASE selector? > e.g. SELECT hSomething > ... > CASE EVAL(hSomething.SomeArray.Exisits(hSomething.Value)) > ... > This only makes sense if the Exisits method returns a string, or am I getting your idea wrong here? > (I am just being too lazy to try it) > Haven't seen this much laziness in a while :-) $ ./select-case-eval.gbs3 Args.Count = 1 $ ./select-case-eval.gbs3 arg $ Apparently it works (and why wouldn't it, since Case hObject.Symbol is possible and in a Symbol_Read() you can do anything). Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- #!/usr/bin/gbs3 Public Sub Main() Select Args.Count Case Eval("Args.Count ^ x", ["x": Args.Count]) Print "Args.Count = 1" End Select End From gambas.fr at ...626... Sun Feb 8 16:28:33 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 8 Feb 2015 16:28:33 +0100 Subject: [Gambas-user] Quickie on SELECT In-Reply-To: <20150208141632.GG30297@...2774...> References: <20150208105612.a5290f3d8708d29e30ddd688@...626...> <20150208141632.GG30297@...2774...> Message-ID: well :-/ sometime we have old belief this work fine Public Sub _new() Dim toto As String = "titi" Dim tati As String = "titi" Select Case toto Case tati Print "ok" End Select End 2015-02-08 15:16 GMT+01:00 Tobias Boege : > On Sun, 08 Feb 2015, adamnt42 at ...626... wrote: >> >> Does anyone know if you can use an EVAL in a CASE selector? >> e.g. SELECT hSomething >> ... >> CASE EVAL(hSomething.SomeArray.Exisits(hSomething.Value)) >> ... >> > > This only makes sense if the Exisits method returns a string, or am I > getting your idea wrong here? > >> (I am just being too lazy to try it) >> > > Haven't seen this much laziness in a while :-) > > $ ./select-case-eval.gbs3 > Args.Count = 1 > $ ./select-case-eval.gbs3 arg > $ > > Apparently it works (and why wouldn't it, since Case hObject.Symbol is > possible and in a Symbol_Read() you can do anything). > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From gambas at ...2524... Sun Feb 8 19:12:36 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 08 Feb 2015 18:12:36 +0000 Subject: [Gambas-user] Issue 601 in gambas: Database Data Source with Mariadb as mysql In-Reply-To: <12-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> References: <12-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> <0-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> Message-ID: <13-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> Comment #13 on issue 601 by justlost... at ...626...: Database Data Source with Mariadb as mysql https://code.google.com/p/gambas/issues/detail?id=601 Where do I get development version. I went to the source and created the gz from the repository for R6558. Would love to download and use correct version and figure out how to get it. Please let me know, I would appreciate it much. Thanks -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sun Feb 8 19:34:49 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 08 Feb 2015 18:34:49 +0000 Subject: [Gambas-user] Issue 601 in gambas: Database Data Source with Mariadb as mysql In-Reply-To: <13-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> References: <13-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> <0-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> Message-ID: <14-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> Comment #14 on issue 601 by benoit.m... at ...626...: Database Data Source with Mariadb as mysql https://code.google.com/p/gambas/issues/detail?id=601 Everything is explained on the wiki at http://gambaswiki.org/wiki/install. If you have questions, ask them on the mailing-list, this bug tracker is...for bugs only! -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sun Feb 8 19:35:49 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 08 Feb 2015 18:35:49 +0000 Subject: [Gambas-user] Issue 601 in gambas: Database Data Source with Mariadb as mysql In-Reply-To: <14-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> References: <14-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> <0-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> Message-ID: <15-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> Comment #15 on issue 601 by justlost... at ...626...: Database Data Source with Mariadb as mysql https://code.google.com/p/gambas/issues/detail?id=601 Sorry was using 6885 version Now taking snapshot 6897 hope that's correct -- 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 8 20:48:33 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 08 Feb 2015 19:48:33 +0000 Subject: [Gambas-user] Issue 603 in gambas: Logging class will not load in project Message-ID: <0-6813199134517018827-18052512360126668025-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-TRUNK Stopsappfromrunning Priority-Medium Linux openSuse13.2 x86-64 KDE GUI-Any New issue 603 by justlost... at ...626...: Logging class will not load in project https://code.google.com/p/gambas/issues/detail?id=603 In my project using Logging the class will no longer load when the program is run. A message is displayed LogHandler Unable to load class file. error CComponent.Load.633 'LogHandler' class is missing in gb.logging component exported classes Ran make and make install from latest dev version. This error prevents me from running my application at all. I am able to select the component module in components menu of project properties. I have included sample, I am now using latest svn version from trunk. To create problem select logging from component menu and run app [System] Gambas=3.6.90 OperatingSystem=Linux Kernel=3.16.7-7-desktop Architecture=x86_64 Distribution= Desktop=KDE4 Theme=Oxygen Language=en_US.UTF-8 Memory=12038M [Libraries] DBus=libdbus-1.so.3.8.10 Attachments: logsample-0.0.1.tar.gz 4.4 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Sun Feb 8 21:04:05 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 08 Feb 2015 20:04:05 +0000 Subject: [Gambas-user] Issue 603 in gambas: Logging class will not load in project In-Reply-To: <0-6813199134517018827-18052512360126668025-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-18052512360126668025-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-18052512360126668025-gambas=googlecode.com@...2524...> Comment #1 on issue 603 by justlost... at ...626...: Logging class will not load in project https://code.google.com/p/gambas/issues/detail?id=603 Updated The Class file added EXPORT DIRECTIVE Attached corrected class project Do you want me to check this in? Attachments: gb.logging-3.6.90.tar.gz 9.3 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From Karl.Reinl at ...2345... Sun Feb 8 21:15:40 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sun, 08 Feb 2015 21:15:40 +0100 Subject: [Gambas-user] Custom Eval (was Re: The new Border class) In-Reply-To: References: <54A9DB16.3000105@...1...> <54AAC64C.8020805@...1...> <54AAFBF3.3090105@...1...> <1423345285.3460.26.camel@...40...> Message-ID: <1423426540.3413.14.camel@...40...> Am Sonntag, den 08.02.2015, 14:46 +0100 schrieb Fabien Bodard: > oups i missed for the first one : > iResult = MyCol[eval("Sum_of_Value_page_" & CStr(Page_Nr), myCol)] > > 2015-02-08 14:45 GMT+01:00 Fabien Bodard : > > ??? > > If I summarize what i see I can answer : > > > > iResult = MyCol[eval(eval("Sum_of_Value_page_" & CStr(Page_Nr), myCol)] > > > > or simply > > > > iResult = MyCol["Sum_of_Value_page_" & CStr(MyCol["Page_Nr"])] > > > > Well if you have a point where you fill myCol so no need to store : > > > > iResult = MyCol["Sum_of_Value_page_" & iPage] > > > > > > BUT ... I'm not sure it was the goal of your query, so please be more > > precise or give an example. :-) > > > > 2015-02-07 22:41 GMT+01:00 Charlie Reinl : > >> Am Montag, den 05.01.2015, 22:16 +0100 schrieb Fabien Bodard: > >>> 2015-01-05 22:02 GMT+01:00 Beno?t Minisini : > >>> > Le 05/01/2015 21:46, Fabien Bodard a ?crit : > >>> >>> What do you mean? > >>> >>> > >>> >>> -- > >>> >>> Beno?t Minisini > >>> >> > >>> >> I think about a tool that will be able to interpret inline formulas > >>> >> like in a spreedsheet. > >>> >> > >>> >> i have done something like that for playing myself but i'm not a > >>> >> specialist of interpreters like you. > >>> >> > >>> >> for example : > >>> >> > >>> >> =Myvar1 + 3 *(3*myvar2) > >>> >> =MYFUNCTION(myvar1; myvar2) + MyVar3 > >>> >> > >>> >> the function can be initialised for example like > >>> >> > >>> >> Interpret.Function.Add("MYFunction", nbreArgs, typeRetVal) > >>> >> > >>> >> And will call Public Sub Interpret_MyFunction(Arg1 as variant, arg2 as > >>> >> variant,...) as variant > >>> >> > >>> >> A Special Event will query the vars values : Public Sub > >>> >> Interpret_GetVar(sVarName as string) as Variant > >>> >> > >>> >> All the stuff of the interpreter will be to manage conditionnal > >>> >> requirement and calculate values or concatenate strings. So this tool > >>> >> will be usefull for user level programmation. > >>> >> Like in spreadsheet or in reports formulas. It can be extended near to > >>> >> unlimited. Some functions can be hardcoded like mathematical ones. > >>> >> Others are depend of the context so must be implemented for each > >>> >> widget or component. It's not the fastest way to make compute but the > >>> >> most flexible. > >>> >> > >>> >> I hope my english is not inapprehensible > >>> >> > >>> > > >>> > If I understand well, you need some sort of custom Eval(). > >>> > > >>> > More precisely, I think what you need is a Gambas hook inside the reader > >>> > part of Eval() (the first part of its internal compiler) where you tell > >>> > how to translate any symbol into a Gambas function or a call to a method > >>> > into one of your classes, everything else being forbidden. > >>> > > >>> > That way, you keep the Gambas syntax, except that all function names are > >>> > redefined, and every interpreter class is forbidden except the one you > >>> > allow explicitly. > >>> > >>> Yes it can be the idea. But can it be compatible with 'STANDARD' > >>> formulas style too ? were separtors are ';'... > >>> > >>> But your idea will be a great step too and i think you have understand > >>> the back of my mind. > >>> > >>> > >>> > >>> > > >>> > Just an idea... > >>> > > >>> > -- > >>> > Beno?t Minisini > >> > >> Salut Beno?t, > >> > >> searching something for my problem, I found this mail. What I need is > >> something you describe as "Gambas hook inside the reader part of > >> Eval()". > >> In my Collection passed to eval, I have "Sum_of_Value_page_1" to > >> "Sum_of_Value_page_35" and the "Page_Nr". Now for picking the right > >> value I need the eval("Sum_of_Value_page_" & CStr(Page_Nr), myCol). > >> Done like that, I get "Sum_of_Value_page_1" to "Sum_of_Value_page_35" as > >> return. That is nice, but I want the result of that, stored in myCol. > >> > >> Thought I could resolve that with a public function called by eval > >> failed also. > >> "Public Function Sum(sFiledName as string) as Variant" isn't called. > >> > >> So I need that what you call "Gambas hook inside the reader part of > >> Eval()".... Or something that works like I know from Clipper, called > >> Code-Blocks. Search I-net for "clipper code blocks" > >> > >> > >> > >> > >> -- > >> Amicalement > >> Charlie Salut Fabien, thanks for your responding, but my problem is not, to get any results out of a collection or I can't create the key out of a String + page. My problem is that I can't do that with 'Eval' like it is actually. To explain, I use eval for my 'computed fields'. Till now no problems with. In the Collection, I use with Eval all what I need is stored. So when I call Eval("Page_Nr", myCol) , I get a number. With Eval("Sum_of_Value_page_2", myCol) I get the value stored behind that key. But with Eval("Sum_of_Value_page_" & CStr("Page_Nr"), myCol) I get only "Sum_of_Value_page_" & CStr("Page_Nr"). I'v tried varies things, included evals etc, no way, for that I stepped into your feature request. -- Amicalement Charlie From gambas at ...2524... Sun Feb 8 21:20:58 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 08 Feb 2015 20:20:58 +0000 Subject: [Gambas-user] Issue 603 in gambas: Logging class will not load in project In-Reply-To: <1-6813199134517018827-18052512360126668025-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-18052512360126668025-gambas=googlecode.com@...2524...> <0-6813199134517018827-18052512360126668025-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-18052512360126668025-gambas=googlecode.com@...2524...> Comment #2 on issue 603 by sebi... at ...626...: Logging class will not load in project https://code.google.com/p/gambas/issues/detail?id=603 Sorry about that! I was running tests inside the gb.logging project and forgot to test it with an external project. You can commit your change to the svn repo. Again, sorry. :P -- 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 8 21:29:00 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 08 Feb 2015 20:29:00 +0000 Subject: [Gambas-user] Issue 603 in gambas: Logging class will not load in project In-Reply-To: <2-6813199134517018827-18052512360126668025-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-18052512360126668025-gambas=googlecode.com@...2524...> <0-6813199134517018827-18052512360126668025-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-18052512360126668025-gambas=googlecode.com@...2524...> Comment #3 on issue 603 by justlost... at ...626...: Logging class will not load in project https://code.google.com/p/gambas/issues/detail?id=603 Never checked in before, so may take a while to get it right... :) -- 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.fr at ...626... Sun Feb 8 21:39:32 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 8 Feb 2015 21:39:32 +0100 Subject: [Gambas-user] Custom Eval (was Re: The new Border class) In-Reply-To: <1423426540.3413.14.camel@...40...> References: <54A9DB16.3000105@...1...> <54AAC64C.8020805@...1...> <54AAFBF3.3090105@...1...> <1423345285.3460.26.camel@...40...> <1423426540.3413.14.camel@...40...> Message-ID: Dim ccol As Collection = ["Nr": 2, "Page_2": 8] Print Eval(Eval("\"Page_\" & Nr", ccol), ccol) This work for me ... My feature request is for use in case like spreadheet, report fields, but also user small exten script. WIth this abilities they will be able to interact on the application work in a restricted space. 2015-02-08 21:15 GMT+01:00 Charlie Reinl : > Am Sonntag, den 08.02.2015, 14:46 +0100 schrieb Fabien Bodard: >> oups i missed for the first one : >> iResult = MyCol[eval("Sum_of_Value_page_" & CStr(Page_Nr), myCol)] >> >> 2015-02-08 14:45 GMT+01:00 Fabien Bodard : >> > ??? >> > If I summarize what i see I can answer : >> > >> > iResult = MyCol[eval(eval("Sum_of_Value_page_" & CStr(Page_Nr), myCol)] >> > >> > or simply >> > >> > iResult = MyCol["Sum_of_Value_page_" & CStr(MyCol["Page_Nr"])] >> > >> > Well if you have a point where you fill myCol so no need to store : >> > >> > iResult = MyCol["Sum_of_Value_page_" & iPage] >> > >> > >> > BUT ... I'm not sure it was the goal of your query, so please be more >> > precise or give an example. :-) >> > >> > 2015-02-07 22:41 GMT+01:00 Charlie Reinl : >> >> Am Montag, den 05.01.2015, 22:16 +0100 schrieb Fabien Bodard: >> >>> 2015-01-05 22:02 GMT+01:00 Beno?t Minisini : >> >>> > Le 05/01/2015 21:46, Fabien Bodard a ?crit : >> >>> >>> What do you mean? >> >>> >>> >> >>> >>> -- >> >>> >>> Beno?t Minisini >> >>> >> >> >>> >> I think about a tool that will be able to interpret inline formulas >> >>> >> like in a spreedsheet. >> >>> >> >> >>> >> i have done something like that for playing myself but i'm not a >> >>> >> specialist of interpreters like you. >> >>> >> >> >>> >> for example : >> >>> >> >> >>> >> =Myvar1 + 3 *(3*myvar2) >> >>> >> =MYFUNCTION(myvar1; myvar2) + MyVar3 >> >>> >> >> >>> >> the function can be initialised for example like >> >>> >> >> >>> >> Interpret.Function.Add("MYFunction", nbreArgs, typeRetVal) >> >>> >> >> >>> >> And will call Public Sub Interpret_MyFunction(Arg1 as variant, arg2 as >> >>> >> variant,...) as variant >> >>> >> >> >>> >> A Special Event will query the vars values : Public Sub >> >>> >> Interpret_GetVar(sVarName as string) as Variant >> >>> >> >> >>> >> All the stuff of the interpreter will be to manage conditionnal >> >>> >> requirement and calculate values or concatenate strings. So this tool >> >>> >> will be usefull for user level programmation. >> >>> >> Like in spreadsheet or in reports formulas. It can be extended near to >> >>> >> unlimited. Some functions can be hardcoded like mathematical ones. >> >>> >> Others are depend of the context so must be implemented for each >> >>> >> widget or component. It's not the fastest way to make compute but the >> >>> >> most flexible. >> >>> >> >> >>> >> I hope my english is not inapprehensible >> >>> >> >> >>> > >> >>> > If I understand well, you need some sort of custom Eval(). >> >>> > >> >>> > More precisely, I think what you need is a Gambas hook inside the reader >> >>> > part of Eval() (the first part of its internal compiler) where you tell >> >>> > how to translate any symbol into a Gambas function or a call to a method >> >>> > into one of your classes, everything else being forbidden. >> >>> > >> >>> > That way, you keep the Gambas syntax, except that all function names are >> >>> > redefined, and every interpreter class is forbidden except the one you >> >>> > allow explicitly. >> >>> >> >>> Yes it can be the idea. But can it be compatible with 'STANDARD' >> >>> formulas style too ? were separtors are ';'... >> >>> >> >>> But your idea will be a great step too and i think you have understand >> >>> the back of my mind. >> >>> >> >>> >> >>> >> >>> > >> >>> > Just an idea... >> >>> > >> >>> > -- >> >>> > Beno?t Minisini >> >> >> >> Salut Beno?t, >> >> >> >> searching something for my problem, I found this mail. What I need is >> >> something you describe as "Gambas hook inside the reader part of >> >> Eval()". >> >> In my Collection passed to eval, I have "Sum_of_Value_page_1" to >> >> "Sum_of_Value_page_35" and the "Page_Nr". Now for picking the right >> >> value I need the eval("Sum_of_Value_page_" & CStr(Page_Nr), myCol). >> >> Done like that, I get "Sum_of_Value_page_1" to "Sum_of_Value_page_35" as >> >> return. That is nice, but I want the result of that, stored in myCol. >> >> >> >> Thought I could resolve that with a public function called by eval >> >> failed also. >> >> "Public Function Sum(sFiledName as string) as Variant" isn't called. >> >> >> >> So I need that what you call "Gambas hook inside the reader part of >> >> Eval()".... Or something that works like I know from Clipper, called >> >> Code-Blocks. Search I-net for "clipper code blocks" >> >> >> >> >> >> >> >> >> >> -- >> >> Amicalement >> >> Charlie > > Salut Fabien, > > thanks for your responding, but my problem is not, to get any results > out of a collection or I can't create the key out of a String + page. > My problem is that I can't do that with 'Eval' like it is actually. > To explain, I use eval for my 'computed fields'. Till now no problems > with. In the Collection, I use with Eval all what I need is stored. > So when I call Eval("Page_Nr", myCol) , I get a number. With > Eval("Sum_of_Value_page_2", myCol) I get the value stored behind that > key. > But with Eval("Sum_of_Value_page_" & CStr("Page_Nr"), myCol) I get only > "Sum_of_Value_page_" & CStr("Page_Nr"). I'v tried varies things, > included evals etc, no way, for that I stepped into your feature > request. > -- > Amicalement > Charlie > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas at ...2524... Mon Feb 9 00:44:17 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 08 Feb 2015 23:44:17 +0000 Subject: [Gambas-user] Issue 601 in gambas: Database Data Source with Mariadb as mysql In-Reply-To: <15-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> References: <15-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> <0-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> Message-ID: <16-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> Comment #16 on issue 601 by justlost... at ...626...: Database Data Source with Mariadb as mysql https://code.google.com/p/gambas/issues/detail?id=601 I cant chk in I dont seem to have an ID for the repository -- 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 9 00:45:17 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sun, 08 Feb 2015 23:45:17 +0000 Subject: [Gambas-user] Issue 601 in gambas: Database Data Source with Mariadb as mysql In-Reply-To: <16-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> References: <16-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> <0-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> Message-ID: <17-6813199134517018827-8509928364694590095-gambas=googlecode.com@...2524...> Comment #17 on issue 601 by justlost... at ...626...: Database Data Source with Mariadb as mysql https://code.google.com/p/gambas/issues/detail?id=601 How to get one? -- 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 9 15:41:20 2015 From: lists at ...2828... (CJ) Date: Mon, 9 Feb 2015 15:41:20 +0100 Subject: [Gambas-user] Rpi In-Reply-To: <54D130D7.2080601@...3412...> Message-ID: @Antonio: Good compariosn link. Have you tried the Odroid C1 with Gambas? I mean are there C libs for accessing I/O ports etc. What I really like with Odroid is the built-in RTC as well as a couple of ADC inputs. > Are you sure it's an advantage to install windows 10? > on anything ??? I think MS is feeling the heat from Linux and are trying to stop/slow down the spread and thus giving away Windows 10 for RasPi as well as the Desktop (1st year). Competition is good for us as consumers ;) I gonna try it but my guess it's similar to the OS used in Windows 8 phones so I can't see any immediate benefits for me personally. /CJ From ualex73 at ...626... Mon Feb 9 16:03:31 2015 From: ualex73 at ...626... (Alexie) Date: Mon, 9 Feb 2015 16:03:31 +0100 Subject: [Gambas-user] Rpi In-Reply-To: References: <54D130D7.2080601@...3412...> Message-ID: Gambas 3.6.2 is running fine on the Pi2 (using the Raspberry Pi DEBs). It is noticeable faster :-) 2015-02-09 15:41 GMT+01:00 CJ : > @Antonio: > > Good compariosn link. Have you tried the Odroid C1 with Gambas? I mean > are there C libs for accessing I/O ports etc. > > What I really like with Odroid is the built-in RTC as well as a couple > of ADC inputs. > > > Are you sure it's an advantage to install windows 10? > > on anything ??? > > I think MS is feeling the heat from Linux and are trying to stop/slow > down the spread and thus giving away Windows 10 for RasPi as well as > the Desktop (1st year). Competition is good for us as consumers ;) > > I gonna try it but my guess it's similar to the OS used in Windows 8 > phones so I can't see any immediate benefits for me personally. > > /CJ > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From VonZorch at ...626... Tue Feb 10 01:56:57 2015 From: VonZorch at ...626... (VonZorch) Date: Mon, 9 Feb 2015 17:56:57 -0700 (MST) Subject: [Gambas-user] Invoking interpreter from complied program Message-ID: <1423529817945-50600.post@...3046...> Is it possible for a compiled program to read instructions from a text file? I'm trying to write a program that can have functions added without needing to recompile the base program. -- View this message in context: http://gambas.8142.n7.nabble.com/Invoking-interpreter-from-complied-program-tp50600.html Sent from the gambas-user mailing list archive at Nabble.com. From taboege at ...626... Tue Feb 10 02:21:33 2015 From: taboege at ...626... (Tobias Boege) Date: Tue, 10 Feb 2015 02:21:33 +0100 Subject: [Gambas-user] Invoking interpreter from complied program In-Reply-To: <1423529817945-50600.post@...3046...> References: <1423529817945-50600.post@...3046...> Message-ID: <20150210012133.GO30297@...2774...> On Mon, 09 Feb 2015, VonZorch wrote: > Is it possible for a compiled program to read instructions from a text file? > I'm trying to write a program that can have functions added without needing > to recompile the base program. > Of course you can *read* them (File.Load()). You can also execute certain types of Gambas source code (a subset of Gambas one-liners) from a string variable at runtime (Eval()) and you can write, rewrite and execute whole projects and scripts (Shell "gbx3 ...", Shell "gbs3 ..."). The only difficult thing is if you want to make plugins with this, where by "plugin" I mean external Gambas classes which interact with your classes in a single Gambas process. You can achieve a limited form of this without own effort using Eval() and a Collection where you store the plugin environment. But as briefly mentioned above, you can only have certain types of one-line code with Eval(). Suitable if you want to be able to add very simple math functions, macro abilities or the like to your program (but beware of giving random text files access to Eval() as it is a gate to each and every public symbol in your process). The definitive answer to your question depends on what you didn't tell us about your goal. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From shordi at ...626... Tue Feb 10 09:50:17 2015 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Tue, 10 Feb 2015 09:50:17 +0100 Subject: [Gambas-user] Invoking interpreter from complied program In-Reply-To: <1423529817945-50600.post@...3046...> References: <1423529817945-50600.post@...3046...> Message-ID: I don't think so. In old Clipper 5 I had a database with "codeblocks" that you can load in execution time... but this is a big hole in security, I guess... Regards 2015-02-10 1:56 GMT+01:00 VonZorch : > Is it possible for a compiled program to read instructions from a text > file? > I'm trying to write a program that can have functions added without needing > to recompile the base program. > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/Invoking-interpreter-from-complied-program-tp50600.html > Sent from the gambas-user mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From olivier.cruilles at ...614... Tue Feb 10 14:03:01 2015 From: olivier.cruilles at ...614... (Yahoo) Date: Tue, 10 Feb 2015 08:03:01 -0500 Subject: [Gambas-user] Watermark on text box Message-ID: <78C97089-77AD-490D-AC0A-912DB6A25A3A@...614...> Hi Benoit, Do you think if it's possible to add feature in text box object like a text as a king of help displayed into the textbook in light grey for example when this one is empty. As soon something is entered into the textbook, this text could disappear. It could be very useful to help the user of a software to know what do enter in some fields Olivier From VonZorch at ...626... Tue Feb 10 15:02:55 2015 From: VonZorch at ...626... (VonZorch) Date: Tue, 10 Feb 2015 07:02:55 -0700 (MST) Subject: [Gambas-user] Invoking interpreter from complied program In-Reply-To: <20150210012133.GO30297@...2774...> References: <1423529817945-50600.post@...3046...> <20150210012133.GO30297@...2774...> Message-ID: <1423576975727-50604.post@...3046...> Thank you, that solves my problem. -- View this message in context: http://gambas.8142.n7.nabble.com/Invoking-interpreter-from-complied-program-tp50600p50604.html Sent from the gambas-user mailing list archive at Nabble.com. From eilert-sprachen at ...221... Tue Feb 10 16:15:32 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 10 Feb 2015 16:15:32 +0100 Subject: [Gambas-user] Watermark on text box In-Reply-To: <78C97089-77AD-490D-AC0A-912DB6A25A3A@...614...> References: <78C97089-77AD-490D-AC0A-912DB6A25A3A@...614...> Message-ID: <54DA2094.5010604@...221...> Just an idea, try placing a Label or something like that over the textbox showing the help text, and set the focus to the text box. When the first letter is typed, the Label is set to unvisible. Or could one make the text box transparent, maybe with a background colour with an alpha channel? And place the Label below it? Rolf Am 10.02.2015 14:03, schrieb Yahoo: > Hi Benoit, > > Do you think if it's possible to add feature in text box object like a text as a king of help displayed into the textbook in light grey for example when this one is empty. As soon something is entered into the textbook, this text could disappear. > > It could be very useful to help the user of a software to know what do enter in some fields > > Olivier > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From eilert-sprachen at ...221... Tue Feb 10 16:37:31 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Tue, 10 Feb 2015 16:37:31 +0100 Subject: [Gambas-user] Watermark on text box In-Reply-To: <78C97089-77AD-490D-AC0A-912DB6A25A3A@...614...> References: <78C97089-77AD-490D-AC0A-912DB6A25A3A@...614...> Message-ID: <54DA25BB.1080108@...221...> Or even simpler: set Background and Foreground colors appropriately and give the help text as default text for the Textbox. Then wait for the first letter to be typed or a mouse click into the textbox, delete the default text, set Background and Foreground to standard values and start with the typed text. Rolf Am 10.02.2015 14:03, schrieb Yahoo: > Hi Benoit, > > Do you think if it's possible to add feature in text box object like a text as a king of help displayed into the textbook in light grey for example when this one is empty. As soon something is entered into the textbook, this text could disappear. > > It could be very useful to help the user of a software to know what do enter in some fields > > Olivier > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Tue Feb 10 18:01:38 2015 From: taboege at ...626... (Tobias Boege) Date: Tue, 10 Feb 2015 18:01:38 +0100 Subject: [Gambas-user] Watermark on text box In-Reply-To: <54DA25BB.1080108@...221...> References: <78C97089-77AD-490D-AC0A-912DB6A25A3A@...614...> <54DA25BB.1080108@...221...> Message-ID: <20150210170138.GC684@...2774...> On Tue, 10 Feb 2015, Rolf-Werner Eilert wrote: > Am 10.02.2015 14:03, schrieb Yahoo: > > Hi Benoit, > > > > Do you think if it's possible to add feature in text box object like a text as a king of help displayed into the textbook in light grey for example when this one is empty. As soon something is entered into the textbook, this text could disappear. > > > > It could be very useful to help the user of a software to know what do enter in some fields > > > > Or even simpler: set Background and Foreground colors appropriately and > give the help text as default text for the Textbox. Then wait for the > first letter to be typed or a mouse click into the textbox, delete the > default text, set Background and Foreground to standard values and start > with the typed text. > Forgive me but that sounds awfully hack-y. Attached is a cleaner approach to it. It is also published on the farm server, if you prefer to get it this way. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: ExplainTextBox-0.0.2.tar.gz Type: application/octet-stream Size: 12761 bytes Desc: not available URL: From bagoneo at ...69... Tue Feb 10 17:36:20 2015 From: bagoneo at ...69... (Gian) Date: Tue, 10 Feb 2015 17:36:20 +0100 Subject: [Gambas-user] Watermark on text box In-Reply-To: <54DA25BB.1080108@...221...> References: <78C97089-77AD-490D-AC0A-912DB6A25A3A@...614...> <54DA25BB.1080108@...221...> Message-ID: <54DA3384.1010907@...69...> Il 10/02/2015 16:37, Rolf-Werner Eilert ha scritto: > Or even simpler: set Background and Foreground colors appropriately and > give the help text as default text for the Textbox. Then wait for the > first letter to be typed or a mouse click into the textbox, delete the > default text, set Background and Foreground to standard values and start > with the typed text. > > Rolf > > > Am 10.02.2015 14:03, schrieb Yahoo: >> Hi Benoit, >> >> Do you think if it's possible to add feature in text box object like a text as a king of help displayed into the textbook in light grey for example when this one is empty. As soon something is entered into the textbook, this text could disappear. >> >> It could be very useful to help the user of a software to know what do enter in some fields >> >> Olivier >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming. The Go Parallel Website, >> sponsored by Intel and developed in partnership with Slashdot Media, is your >> hub for all things parallel software development, from weekly thought >> leadership blogs to news, videos, case studies, tutorials and more. Take a >> look and join the conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > What does this address? eilert-sprachen at ...221... I do not see my answer because this address was in front. This is my answer: Something like (a little silly) :) Private $iChange As Integer Public Sub TextBox1_Change() Inc $iChange If $iChange = 2 Then Label1.Visible = False Endif $iChange = 1 End Public Sub TextBox1_LostFocus() If TextBox1.Text = "" Then Label1.Visible = True Endif End Public Sub TextBox2_Change() Inc $iChange If $iChange = 2 Then Label2.Visible = False Endif $iChange = 1 End Public Sub TextBox2_LostFocus() If TextBox2.Text = "" Then Label2.Visible = True Endif End Regards Gianluigi From bagoneo at ...69... Tue Feb 10 17:54:02 2015 From: bagoneo at ...69... (Gian) Date: Tue, 10 Feb 2015 09:54:02 -0700 (MST) Subject: [Gambas-user] Problems on mail list In-Reply-To: <54A1A860.8000206@...3412...> References: <549EA99F.7090908@...69...> <549EEE41.4080307@...1...> <20141228163414.cd249f142decf9441e7d3d28@...2308...> <20141229180212.GB9172@...2774...> <54A1A860.8000206@...3412...> Message-ID: <1423587242270-50607.post@...3046...> I do not see my answers sent by "Watermark on the text box" I started to pray ... Gianluigi -- View this message in context: http://gambas.8142.n7.nabble.com/Problems-on-mail-list-tp49881p50607.html Sent from the gambas-user mailing list archive at Nabble.com. From bagoneo at ...69... Tue Feb 10 17:09:55 2015 From: bagoneo at ...69... (Gian) Date: Tue, 10 Feb 2015 17:09:55 +0100 Subject: [Gambas-user] Watermark on text box In-Reply-To: <54DA25BB.1080108@...221...> References: <78C97089-77AD-490D-AC0A-912DB6A25A3A@...614...> <54DA25BB.1080108@...221...> Message-ID: <54DA2D53.8010004@...69...> Il 10/02/2015 16:37, Rolf-Werner Eilert ha scritto: > Or even simpler: set Background and Foreground colors appropriately and > give the help text as default text for the Textbox. Then wait for the > first letter to be typed or a mouse click into the textbox, delete the > default text, set Background and Foreground to standard values and start > with the typed text. > > Rolf > > > Am 10.02.2015 14:03, schrieb Yahoo: >> Hi Benoit, >> >> Do you think if it's possible to add feature in text box object like a text as a king of help displayed into the textbook in light grey for example when this one is empty. As soon something is entered into the textbook, this text could disappear. >> >> It could be very useful to help the user of a software to know what do enter in some fields >> >> Olivier >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming. The Go Parallel Website, >> sponsored by Intel and developed in partnership with Slashdot Media, is your >> hub for all things parallel software development, from weekly thought >> leadership blogs to news, videos, case studies, tutorials and more. Take a >> look and join the conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Something like (a little silly) :) Private $iChange As Integer Public Sub TextBox1_Change() Inc $iChange If $iChange = 2 Then Label1.Visible = False Endif $iChange = 1 End Public Sub TextBox1_LostFocus() If TextBox1.Text = "" Then Label1.Visible = True Endif End Public Sub TextBox2_Change() Inc $iChange If $iChange = 2 Then Label2.Visible = False Endif $iChange = 1 End Public Sub TextBox2_LostFocus() If TextBox2.Text = "" Then Label2.Visible = True Endif End Regards Gianluigi From taboege at ...626... Tue Feb 10 18:13:46 2015 From: taboege at ...626... (Tobias Boege) Date: Tue, 10 Feb 2015 18:13:46 +0100 Subject: [Gambas-user] Watermark on text box In-Reply-To: <20150210170138.GC684@...2774...> References: <78C97089-77AD-490D-AC0A-912DB6A25A3A@...614...> <54DA25BB.1080108@...221...> <20150210170138.GC684@...2774...> Message-ID: <20150210171346.GD684@...2774...> On Tue, 10 Feb 2015, Tobias Boege wrote: > On Tue, 10 Feb 2015, Rolf-Werner Eilert wrote: > > Am 10.02.2015 14:03, schrieb Yahoo: > > > Hi Benoit, > > > > > > Do you think if it's possible to add feature in text box object like a text as a king of help displayed into the textbook in light grey for example when this one is empty. As soon something is entered into the textbook, this text could disappear. > > > > > > It could be very useful to help the user of a software to know what do enter in some fields > > > > > > > Or even simpler: set Background and Foreground colors appropriately and > > give the help text as default text for the Textbox. Then wait for the > > first letter to be typed or a mouse click into the textbox, delete the > > default text, set Background and Foreground to standard values and start > > with the typed text. > > > > Forgive me but that sounds awfully hack-y. > Sorry, what I quoted above isn't hack-y at all. That's basically what I implemented in a dedicated class. What you first proposed, however, was dirty :-) Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From lewis at ...3412... Tue Feb 10 22:27:47 2015 From: lewis at ...3412... (Lewis Balentine) Date: Tue, 10 Feb 2015 15:27:47 -0600 Subject: [Gambas-user] Watermark on text box In-Reply-To: <20150210170138.GC684@...2774...> References: <78C97089-77AD-490D-AC0A-912DB6A25A3A@...614...> <54DA25BB.1080108@...221...> <20150210170138.GC684@...2774...> Message-ID: <54DA77D3.9010601@...3412...> Hi Tobi .... Without entering into the fray regarding the 'watermark': You example code provides a nice sample of creating a new control class for those of us that find the process somewhat mystical. Thank you.:-) Lewis From bagoneo at ...69... Tue Feb 10 22:38:00 2015 From: bagoneo at ...69... (Gian) Date: Tue, 10 Feb 2015 22:38:00 +0100 Subject: [Gambas-user] Watermark on text box In-Reply-To: <54DA77D3.9010601@...3412...> References: <78C97089-77AD-490D-AC0A-912DB6A25A3A@...614...> <54DA25BB.1080108@...221...> <20150210170138.GC684@...2774...> <54DA77D3.9010601@...3412...> Message-ID: <54DA7A38.1080509@...69...> Il 10/02/2015 22:27, Lewis Balentine ha scritto: > Hi Tobi .... > > Without entering into the fray regarding the 'watermark': > You example code provides a nice sample of creating a new control class > for those of us that find the process somewhat mystical. Thank you.:-) > > Lewis > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > Plus one :OK Gianluigi From shordi at ...626... Tue Feb 10 22:56:29 2015 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Tue, 10 Feb 2015 22:56:29 +0100 Subject: [Gambas-user] Watermark on text box In-Reply-To: <20150210170138.GC684@...2774...> References: <78C97089-77AD-490D-AC0A-912DB6A25A3A@...614...> <54DA25BB.1080108@...221...> <20150210170138.GC684@...2774...> Message-ID: Tobi, Great! A fine example of a exentsion of a class.. Thanks 2015-02-10 18:01 GMT+01:00 Tobias Boege : > On Tue, 10 Feb 2015, Rolf-Werner Eilert wrote: > > Am 10.02.2015 14:03, schrieb Yahoo: > > > Hi Benoit, > > > > > > Do you think if it's possible to add feature in text box object like a > text as a king of help displayed into the textbook in light grey for > example when this one is empty. As soon something is entered into the > textbook, this text could disappear. > > > > > > It could be very useful to help the user of a software to know what do > enter in some fields > > > > > > > Or even simpler: set Background and Foreground colors appropriately and > > give the help text as default text for the Textbox. Then wait for the > > first letter to be typed or a mouse click into the textbox, delete the > > default text, set Background and Foreground to standard values and start > > with the typed text. > > > > Forgive me but that sounds awfully hack-y. > > Attached is a cleaner approach to it. It is also published on the farm > server, if you prefer to get it this way. > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From taboege at ...626... Tue Feb 10 23:02:13 2015 From: taboege at ...626... (Tobias Boege) Date: Tue, 10 Feb 2015 23:02:13 +0100 Subject: [Gambas-user] About custom controls in Gambas (was: Watermark on text box) In-Reply-To: <54DA77D3.9010601@...3412...> References: <78C97089-77AD-490D-AC0A-912DB6A25A3A@...614...> <54DA25BB.1080108@...221...> <20150210170138.GC684@...2774...> <54DA77D3.9010601@...3412...> Message-ID: <20150210220213.GE684@...2774...> On Tue, 10 Feb 2015, Lewis Balentine wrote: > Hi Tobi .... > > Without entering into the fray regarding the 'watermark': > You example code provides a nice sample of creating a new control class > for those of us that find the process somewhat mystical. Thank you.:-) > Yes, it's one of the last arcane arts in Gambas, as it seems. Actually, what I did in that project can more precisely be called "extending" an already existing class (although sometimes "extending" is meant to imply that a class was actually overridden in the symbol table by an (Inherits-) descendant; see [0] for the terminology). I just took the TextBox and modi- fied its behaviour a little. If you are interested in the topic, you can also look at the "GraphFloodfill" project in the software farm where I wrote a truly new control class FMinimalColorChooser by sticking together existing controls on a Form (this is called "compound control") and later on restricting its interface to a UserControl, whereby creating the actual exported MinimalColorChooser class. You can also download the Gambas source tree and look at comp/src/gb.form, the gb.form component. There are lots of examples (easy to difficult, in various approaches) of the implementation of custom controls in Gambas -- in fact you will find every control from gb.form in there, written in Gambas :-) That's where I learned from. Regards, Tobi [0] http://gambaswiki.org/wiki/doc/object-model -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From laxdheerananda at ...626... Wed Feb 11 04:05:36 2015 From: laxdheerananda at ...626... (Lakshman Thilakarathna) Date: Wed, 11 Feb 2015 08:35:36 +0530 Subject: [Gambas-user] pls remove my email address from your list Message-ID: pls remove my email address from your list. I dont know how stop your mails. i dont need those mails form gambas user -- ???????? ???????? From t.lee.davidson at ...626... Wed Feb 11 05:40:42 2015 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Tue, 10 Feb 2015 23:40:42 -0500 Subject: [Gambas-user] pls remove my email address from your list In-Reply-To: References: Message-ID: <54DADD4A.8050504@...626...> Just go to the list address that is at the bottom of every mail sent from the list, use the Unsubscribe button and remove yourself. https://lists.sourceforge.net/lists/listinfo/gambas-user Lee __________ "Artificial Intelligence is no match for natural stupidity." On 02/10/2015 10:05 PM, Lakshman Thilakarathna wrote: > pls remove my email address from your list. I dont know how stop your > mails. i dont need those mails form gambas user > > -- ???????? ???????? > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From jusabejusabe at ...626... Wed Feb 11 13:09:34 2015 From: jusabejusabe at ...626... (Julio Sanchez) Date: Wed, 11 Feb 2015 13:09:34 +0100 Subject: [Gambas-user] Watermark on text box In-Reply-To: References: <78C97089-77AD-490D-AC0A-912DB6A25A3A@...614...> <54DA25BB.1080108@...221...> <20150210170138.GC684@...2774...> Message-ID: Tobias: Guay!!!! :) 2015-02-10 22:56 GMT+01:00 Jorge Carri?n : > Tobi, > Great! A fine example of a exentsion of a class.. Thanks > > 2015-02-10 18:01 GMT+01:00 Tobias Boege : > > > On Tue, 10 Feb 2015, Rolf-Werner Eilert wrote: > > > Am 10.02.2015 14:03, schrieb Yahoo: > > > > Hi Benoit, > > > > > > > > Do you think if it's possible to add feature in text box object like > a > > text as a king of help displayed into the textbook in light grey for > > example when this one is empty. As soon something is entered into the > > textbook, this text could disappear. > > > > > > > > It could be very useful to help the user of a software to know what > do > > enter in some fields > > > > > > > > > > Or even simpler: set Background and Foreground colors appropriately and > > > give the help text as default text for the Textbox. Then wait for the > > > first letter to be typed or a mouse click into the textbox, delete the > > > default text, set Background and Foreground to standard values and > start > > > with the typed text. > > > > > > > Forgive me but that sounds awfully hack-y. > > > > Attached is a cleaner approach to it. It is also published on the farm > > server, if you prefer to get it this way. > > > > Regards, > > Tobi > > > > -- > > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > > > > > ------------------------------------------------------------------------------ > > Dive into the World of Parallel Programming. The Go Parallel Website, > > sponsored by Intel and developed in partnership with Slashdot Media, is > > your > > hub for all things parallel software development, from weekly thought > > leadership blogs to news, videos, case studies, tutorials and more. Take > a > > look and join the conversation now. http://goparallel.sourceforge.net/ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bagoneo at ...69... Wed Feb 11 13:36:41 2015 From: bagoneo at ...69... (Gian) Date: Wed, 11 Feb 2015 13:36:41 +0100 Subject: [Gambas-user] Watermark on text box In-Reply-To: References: <78C97089-77AD-490D-AC0A-912DB6A25A3A@...614...> <54DA25BB.1080108@...221...> <20150210170138.GC684@...2774...> Message-ID: <54DB4CD9.1030707@...69...> Il 11/02/2015 13:09, Julio Sanchez ha scritto: > Tobias: > > Guay!!!!:) > > 2015-02-10 22:56 GMT+01:00 Jorge Carri?n: Yes, :OK and I say it in Italian :))) Wunderbar! From olivier.cruilles at ...614... Wed Feb 11 13:43:23 2015 From: olivier.cruilles at ...614... (Yahoo) Date: Wed, 11 Feb 2015 07:43:23 -0500 Subject: [Gambas-user] Watermark on text box In-Reply-To: <54DB4CD9.1030707@...69...> References: <78C97089-77AD-490D-AC0A-912DB6A25A3A@...614...> <54DA25BB.1080108@...221...> <20150210170138.GC684@...2774...> <54DB4CD9.1030707@...69...> Message-ID: <360C7552-654B-4FC0-844A-7C153321D12C@...614...> Hello all, Thanks you for all your ideas and answers. As soon I will test that and see if I'm able to solve this need. Olivier > Le 11 f?vr. 2015 ? 07:36, Gian a ?crit : > > Il 11/02/2015 13:09, Julio Sanchez ha scritto: >> Tobias: >> >> Guay!!!!:) >> >> 2015-02-10 22:56 GMT+01:00 Jorge Carri?n: > > Yes, :OK > and I say it in Italian :))) > > Wunderbar! > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From bagoneo at ...69... Wed Feb 11 14:03:00 2015 From: bagoneo at ...69... (Gian) Date: Wed, 11 Feb 2015 14:03:00 +0100 Subject: [Gambas-user] Watermark on text box In-Reply-To: <360C7552-654B-4FC0-844A-7C153321D12C@...614...> References: <78C97089-77AD-490D-AC0A-912DB6A25A3A@...614...> <54DA25BB.1080108@...221...> <20150210170138.GC684@...2774...> <54DB4CD9.1030707@...69...> <360C7552-654B-4FC0-844A-7C153321D12C@...614...> Message-ID: <54DB5304.5020105@...69...> Il 11/02/2015 13:43, Yahoo ha scritto: > Hello all, > > Thanks you for all your ideas and answers. > > As soon I will test that and see if I'm able to solve this need. > > > > Olivier > >> Le 11 f?vr. 2015 ? 07:36, Gian a ?crit : >> >> Il 11/02/2015 13:09, Julio Sanchez ha scritto: >>> Tobias: >>> >>> Guay!!!!:) >>> >>> 2015-02-10 22:56 GMT+01:00 Jorge Carri?n: >> >> Yes, :OK >> and I say it in Italian :))) >> >> Wunderbar! >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming. The Go Parallel Website, >> sponsored by Intel and developed in partnership with Slashdot Media, is your >> hub for all things parallel software development, from weekly thought >> leadership blogs to news, videos, case studies, tutorials and more. Take a >> look and join the conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > The correct code is to Tobias, but if you want to try my code must also overlap the label to textbox with a written invitation and Foreground on Light. Regards Gianluigi From lists at ...2828... Wed Feb 11 15:23:36 2015 From: lists at ...2828... (CJ) Date: Wed, 11 Feb 2015 15:23:36 +0100 Subject: [Gambas-user] Invoking interpreter from complied program In-Reply-To: <1423529817945-50600.post@...3046...> Message-ID: <5CCABC20E3B34694879AE2D9B8C1B4F6@...2829...> > Is it possible for a compiled program to read instructions > from a text file? > I'm trying to write a program that can have functions added > without needing to recompile the base program. I've been using the following to execute Gambas script and passing data via arguments to the script, then catched the output of the script in a variable. Shell "/path/to/script.gbs arg1 arg2" To variable Don't know if this is the best way but it works but I'm interested to learn about other/better ways to do it... /CJ From bagoneo at ...69... Wed Feb 11 18:40:41 2015 From: bagoneo at ...69... (Gian) Date: Wed, 11 Feb 2015 18:40:41 +0100 Subject: [Gambas-user] GraphFloodfill can not install Message-ID: <54DB9419.6020703@...69...> It seems that you install and if I go to reinstall it shows me to uninstall it. But not shown in the examples Regards Gianluigi [System] Gambas=3.6.90 OperatingSystem=Linux Kernel=3.13.0-45-generic Architecture=x86 Distribution=Ubuntu 14.04.2 LTS Desktop=GNOME Theme=QGtk Language=it_IT.UTF-8 Memory=3020M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 From nando_f at ...951... Wed Feb 11 18:52:32 2015 From: nando_f at ...951... (nando) Date: Wed, 11 Feb 2015 12:52:32 -0500 Subject: [Gambas-user] Invoking interpreter from complied program In-Reply-To: <5CCABC20E3B34694879AE2D9B8C1B4F6@...2829...> References: <1423529817945-50600.post@...3046...> <5CCABC20E3B34694879AE2D9B8C1B4F6@...2829...> Message-ID: <20150211175118.M87009@...951...> you could put instructions in a file and pass the filename as arg1. then open the file and read and process the instructions ---------- Original Message ----------- From: "CJ" To: "'mailing list for gambas users'" Sent: Wed, 11 Feb 2015 15:23:36 +0100 Subject: Re: [Gambas-user] Invoking interpreter from complied program > > Is it possible for a compiled program to read instructions > > from a text file? > > I'm trying to write a program that can have functions added > > without needing to recompile the base program. > > I've been using the following to execute Gambas script and passing data via > arguments > to the script, then catched the output of the script in a variable. > > Shell "/path/to/script.gbs arg1 arg2" To variable > > Don't know if this is the best way but it works but I'm interested to learn > about > other/better ways to do it... > > /CJ > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------- End of Original Message ------- From adamnt42 at ...626... Thu Feb 12 00:55:50 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Thu, 12 Feb 2015 10:25:50 +1030 Subject: [Gambas-user] Possible IDE enhancement Message-ID: <20150212102550.e7c58c6a1c1425695129e982@...626...> Hi guys, I have had a bit of a try at implementing this in our local IDE with no joy, so I thought I'd throw the idea open to the experts. When running in debug mode and displaying an object properties popup, I'd like to be able to select a property in the list and add it to the current watchlist. For example, in the attached pic, I'd like to add TreeView1.Current.Expanded to the watchlist. Over to you. Bruce -- B Bruen -------------- next part -------------- A non-text attachment was scrubbed... Name: Selection_057.png Type: image/png Size: 110995 bytes Desc: not available URL: From gambas at ...1... Thu Feb 12 01:30:26 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 12 Feb 2015 01:30:26 +0100 Subject: [Gambas-user] GraphFloodfill can not install In-Reply-To: <54DB9419.6020703@...69...> References: <54DB9419.6020703@...69...> Message-ID: <54DBF422.60805@...1...> Le 11/02/2015 18:40, Gian a ?crit : > It seems that you install and if I go to reinstall it shows me to > uninstall it. > But not shown in the examples > Regards > Gianluigi > At the moment the example list only shows the programs whose vendor is "example", not all programs having "example" in their tags. I plan to fix that soon, next week. As soon as a program has the "example" tag, then a symbolic link will be created in the "example" vendor directory so that it is seen in the example list. Regards, -- Beno?t Minisini From gambas at ...1... Thu Feb 12 01:31:07 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 12 Feb 2015 01:31:07 +0100 Subject: [Gambas-user] Possible IDE enhancement In-Reply-To: <20150212102550.e7c58c6a1c1425695129e982@...626...> References: <20150212102550.e7c58c6a1c1425695129e982@...626...> Message-ID: <54DBF44B.70105@...1...> Le 12/02/2015 00:55, adamnt42 at ...626... a ?crit : > Hi guys, > > I have had a bit of a try at implementing this in our local IDE with no joy, so I thought I'd throw the idea open to the experts. > > When running in debug mode and displaying an object properties popup, I'd like to be able to select a property in the list and add it to the current watchlist. > > For example, in the attached pic, I'd like to add TreeView1.Current.Expanded to the watchlist. > > Over to you. > > Bruce > > Good idea. -- Beno?t Minisini From mcapone at ...3429... Thu Feb 12 01:23:21 2015 From: mcapone at ...3429... (Michael A. Capone) Date: Wed, 11 Feb 2015 16:23:21 -0800 Subject: [Gambas-user] Balloon.Info on TrayIcon Message-ID: <54DBF279.6010000@...3429...> Hi folks, First of all, a big THANK YOU for the creation of Gambas! It has allowed us to port legacy VB code to linux and get several of our users off the Windows platform. I've searched everywhere for this, and seen several requests, but no satisfactory answer. Is there any way to implement a Balloon message that can be attached to a tray icon? This is common functionality that is seen in many applications. Unfortunately, TrayIcons are "Classes", not "Controls", so when you call Balloon.Info("Hello World", myTrayIcon) ... you get the error "Expected 'Control', got 'TrayIcon'". I've found this question in mailing lists going back to 2008, but no answer. My workaround is to render a small form in the lower right hand corner of the screen, put a tiny label on the tiny form, and have that label be the Control that the balloon attaches to. A timer then closes the form after a few seconds. The problem with that solution is that the newly rendered form steals focus from whatever application is currently running. So if I'm typing away in an e-mail, and my miniature balloon form loads, my e-mail client loses focus. I'm using gb.qt on Gambas 3.5.0; QT certainly has support for this (http://qt-project.org/doc/qt-4.8/desktop-systray.html), although I'll admit I know next to nothing about QT programming. But is this a feature that can be built into the TrayIcon class, perhaps in the form of TrayIcon.Balloon.Info? Or, is there a way to do that that I'm not familiar with yet? Thanks so much! Michael From gambas at ...1... Thu Feb 12 01:58:49 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 12 Feb 2015 01:58:49 +0100 Subject: [Gambas-user] Balloon.Info on TrayIcon In-Reply-To: <54DBF279.6010000@...3429...> References: <54DBF279.6010000@...3429...> Message-ID: <54DBFAC9.5020204@...1...> Le 12/02/2015 01:23, Michael A. Capone a ?crit : > Hi folks, > > First of all, a big THANK YOU for the creation of Gambas! It has > allowed us to port legacy VB code to linux and get several of our users > off the Windows platform. > > I've searched everywhere for this, and seen several requests, but no > satisfactory answer. > > Is there any way to implement a Balloon message that can be attached to > a tray icon? This is common functionality that is seen in many > applications. Unfortunately, TrayIcons are "Classes", not "Controls", > so when you call > > Balloon.Info("Hello World", myTrayIcon) > > ... you get the error "Expected 'Control', got 'TrayIcon'". > > I've found this question in mailing lists going back to 2008, but no > answer. > > My workaround is to render a small form in the lower right hand corner > of the screen, put a tiny label on the tiny form, and have that label be > the Control that the balloon attaches to. A timer then closes the form > after a few seconds. > > The problem with that solution is that the newly rendered form steals > focus from whatever application is currently running. So if I'm typing > away in an e-mail, and my miniature balloon form loads, my e-mail client > loses focus. > > I'm using gb.qt on Gambas 3.5.0; QT certainly has support for this > (http://qt-project.org/doc/qt-4.8/desktop-systray.html), although I'll > admit I know next to nothing about QT programming. But is this a > feature that can be built into the TrayIcon class, perhaps in the form > of TrayIcon.Balloon.Info? Or, is there a way to do that that I'm not > familiar with yet? > > Thanks so much! > Michael > This is a windows idea : tray icons do not work anymore like that on Linux, even if you can hack to get what your want. At the moment Gambas does not support the new standard tray icon system, and if you have something to say to the user, you should use the notification system : https://people.gnome.org/~mccann/docs/notification-spec/notification-spec-latest.html As for the form stealing the focus, this is a problem I'm aware of. But I have to find a good interface yet that allows showing a form without it taking the focus. Regards, -- Beno?t Minisini From bagoneo at ...69... Thu Feb 12 10:01:39 2015 From: bagoneo at ...69... (Gian) Date: Thu, 12 Feb 2015 10:01:39 +0100 Subject: [Gambas-user] GraphFloodfill can not install In-Reply-To: <54DBF422.60805@...1...> References: <54DB9419.6020703@...69...> <54DBF422.60805@...1...> Message-ID: <54DC6BF3.5020100@...69...> Il 12/02/2015 01:30, Beno?t Minisini ha scritto: > Le 11/02/2015 18:40, Gian a ?crit : >> It seems that you install and if I go to reinstall it shows me to >> uninstall it. >> But not shown in the examples >> Regards >> Gianluigi >> > > At the moment the example list only shows the programs whose vendor is > "example", not all programs having "example" in their tags. > > I plan to fix that soon, next week. > > As soon as a program has the "example" tag, then a symbolic link will be > created in the "example" vendor directory so that it is seen in the > example list. > > Regards, > Thank you Benoit, Ciao Gianluigi From gambas.fr at ...626... Thu Feb 12 11:05:41 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 12 Feb 2015 11:05:41 +0100 Subject: [Gambas-user] GraphFloodfill can not install In-Reply-To: <54DC6BF3.5020100@...69...> References: <54DB9419.6020703@...69...> <54DBF422.60805@...1...> <54DC6BF3.5020100@...69...> Message-ID: It will be good to remove empty editor directory Le 12 f?vr. 2015 10:02, "Gian" a ?crit : > Il 12/02/2015 01:30, Beno?t Minisini ha scritto: > > Le 11/02/2015 18:40, Gian a ?crit : > >> It seems that you install and if I go to reinstall it shows me to > >> uninstall it. > >> But not shown in the examples > >> Regards > >> Gianluigi > >> > > > > At the moment the example list only shows the programs whose vendor is > > "example", not all programs having "example" in their tags. > > > > I plan to fix that soon, next week. > > > > As soon as a program has the "example" tag, then a symbolic link will be > > created in the "example" vendor directory so that it is seen in the > > example list. > > > > Regards, > > > > Thank you Benoit, > Ciao > Gianluigi > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mike.crean at ...2897... Thu Feb 12 13:20:32 2015 From: mike.crean at ...2897... (Mike Crean) Date: Thu, 12 Feb 2015 12:20:32 +0000 (UTC) Subject: [Gambas-user] Rpi 2 Message-ID: <368639327.862177.1423743632358.JavaMail.yahoo@...3424...> Hi All, I am trying to install gambas3-3.4.2 on a ReaspberryPi 2.?all compiles OK without error.When I run?sudo make install I get some errors at the end.When I try to run Gambas3 I get this pi at ...2889... ~ $ gambas3Project.RefreshBreakpointPicture.5051: Unable to find method _get in class Stock. Parameters do not match1: Project.RefreshBreakpointPicture.50512: Project.Main.247 Any clues please and is there a guide for compiling and installing the latest gambas build anywhere. Regards to all Mike From john.aaron.rose at ...626... Thu Feb 12 13:54:06 2015 From: john.aaron.rose at ...626... (John Rose) Date: Thu, 12 Feb 2015 12:54:06 +0000 Subject: [Gambas-user] SetFocus to next MaskBox in a Group Message-ID: <54DCA26E.4080509@...626...> I have a set of MaskBoxes (each with Group Cyphered & with MaxLength of 1) with Names of CypheredMaskBox1, CypheredMaskBox2, CypheredMaskBox3 etc. CypheredMaskBox1 has Tag of 1, CypheredMaskBox2 has Tag of 2 etc. In my Cyphered_Change event, I do validation of a user-entered character but want to SetFocus to the next (i.e. with Tag of 1 greater than current Tag) in case of successful validation. How do I do this (ideally by extending the code fragment below)? Code fragment: Dim iNextTag As Integer Dim strNextTag As String Dim strNextCyphered As String iNextTag = CInt(Last.Tag) + 1 strNextTag = CStr(iNextTag) strNextCyphered = "CypheredMaskBox" & strNextTag -- John From taboege at ...626... Thu Feb 12 13:53:08 2015 From: taboege at ...626... (Tobias Boege) Date: Thu, 12 Feb 2015 13:53:08 +0100 Subject: [Gambas-user] Rpi 2 In-Reply-To: <368639327.862177.1423743632358.JavaMail.yahoo@...3424...> References: <368639327.862177.1423743632358.JavaMail.yahoo@...3424...> Message-ID: <20150212125308.GI684@...2774...> On Thu, 12 Feb 2015, Mike Crean wrote: > Hi All, I am trying to install gambas3-3.4.2 on a ReaspberryPi 2.??all compiles OK without error.When I run??sudo make install I get some errors at the end.When I try to run Gambas3 I get this > pi at ...2889... ~ $ gambas3Project.RefreshBreakpointPicture.5051: Unable to find method _get in class Stock. Parameters do not match1: Project.RefreshBreakpointPicture.50512: Project.Main.247 > Any clues please and is there a guide for compiling and installing the latest gambas build anywhere. (Although I fear that Bruce will jump in with your solution any moment:) Can you provide the build logs as per [0]? "Some errors at the end" just isn't enough information. Maybe you pulled the harddisk out at the end of the process -- that would yield "some errors". Although, admittedly, the error message from gambas3 you provided sounds somewhat sinister -- unless you actually pulled the hard disk out and blocks were corrupted which could perfectly explain that. Just to be sure: do you have any other version of Gambas installed on that system? Installing the latest Gambas is not different from any other version of Gambas (modulo that you may need to use svn to get the sources and updates). You can find information here[1][2]. Regards, Tobi [0] http://gambaswiki.org/wiki/doc/report [1] http://gambaswiki.org/wiki/install [2] http://gambaswiki.org/wiki/howto/svn -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From bagoneo at ...69... Thu Feb 12 14:11:15 2015 From: bagoneo at ...69... (Gian) Date: Thu, 12 Feb 2015 14:11:15 +0100 Subject: [Gambas-user] GraphFloodfill can not install In-Reply-To: References: <54DB9419.6020703@...69...> <54DBF422.60805@...1...> <54DC6BF3.5020100@...69...> Message-ID: <54DCA673.8090005@...69...> Il 12/02/2015 11:05, Fabien Bodard ha scritto: > It will be good to remove empty editor directory > Le 12 f?vr. 2015 10:02, "Gian" a ?crit : > >> Il 12/02/2015 01:30, Beno?t Minisini ha scritto: >>> Le 11/02/2015 18:40, Gian a ?crit : >>>> It seems that you install and if I go to reinstall it shows me to >>>> uninstall it. >>>> But not shown in the examples >>>> Regards >>>> Gianluigi >>>> >>> >>> At the moment the example list only shows the programs whose vendor is >>> "example", not all programs having "example" in their tags. >>> >>> I plan to fix that soon, next week. >>> >>> As soon as a program has the "example" tag, then a symbolic link will be >>> created in the "example" vendor directory so that it is seen in the >>> example list. >>> >>> Regards, >>> >> >> Thank you Benoit, >> Ciao >> Gianluigi >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming. The Go Parallel Website, >> sponsored by Intel and developed in partnership with Slashdot Media, is >> your >> hub for all things parallel software development, from weekly thought >> leadership blogs to news, videos, case studies, tutorials and more. Take a >> look and join the conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > I suggest this possibility: Go to User Home> .local/share/gambas3/src/gambas-buch, to copy the folder of the example downloaded from the Farm and paste it in a visible folder at our choice. This procedure is valid also for other examples. Regards Gianluigi From taboege at ...626... Thu Feb 12 14:12:06 2015 From: taboege at ...626... (Tobias Boege) Date: Thu, 12 Feb 2015 14:12:06 +0100 Subject: [Gambas-user] SetFocus to next MaskBox in a Group In-Reply-To: <54DCA26E.4080509@...626...> References: <54DCA26E.4080509@...626...> Message-ID: <20150212131206.GJ684@...2774...> On Thu, 12 Feb 2015, John Rose wrote: > I have a set of MaskBoxes (each with Group Cyphered & with MaxLength of > 1) with Names of CypheredMaskBox1, CypheredMaskBox2, CypheredMaskBox3 > etc. CypheredMaskBox1 has Tag of 1, CypheredMaskBox2 has Tag of 2 etc. > In my Cyphered_Change event, I do validation of a user-entered character > but want to SetFocus to the next (i.e. with Tag of 1 greater than > current Tag) in case of successful validation. How do I do this (ideally > by extending the code fragment below)? > > Code fragment: > Dim iNextTag As Integer > Dim strNextTag As String > Dim strNextCyphered As String > iNextTag = CInt(Last.Tag) + 1 > strNextTag = CStr(iNextTag) > strNextCyphered = "CypheredMaskBox" & strNextTag > You can adapt this... I would almost call it a paradigma or a way of life: Private Sub Discover(h As Container) Dim g As Control For Each g In h Print g ' (*) If g Is Container Then Discover(g) Next End It recursively discovers all controls on a form where at (*) you can do whatever you want with a single control g, like checking whether it's a MaskBox and what its Tag is. Since you are searching MaskBoxes over an entire Form -- I assume; and this assumption is critical here -- and have your MaskBoxes named nicely, you can more comfortably use FForm.Controls (assuming your form's name is FForm): Dim hNextMaskBox As MaskBox ' your code fragment here hNextMaskBox = FForm.Controls[strNextCyphered] hNextMaskBox.SetFocus() If you must constrain your search to a non-Form container, you must resort to a variant of Discover(). If you additionally have embedded forms in the container you want to discover, things will get a little uglier but no need to discuss that if all you want is FForm.Controls. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From john.aaron.rose at ...626... Thu Feb 12 14:41:34 2015 From: john.aaron.rose at ...626... (John Rose) Date: Thu, 12 Feb 2015 13:41:34 +0000 Subject: [Gambas-user] SetFocus to next MaskBox in a Group In-Reply-To: <20150212131206.GJ684@...2774...> References: <54DCA26E.4080509@...626...> <20150212131206.GJ684@...2774...> Message-ID: <54DCAD8E.8050308@...626...> Tobias, Thanks. I've used your second method. It's so easy when you know how! John On 12/02/15 13:12, Tobias Boege wrote: > On Thu, 12 Feb 2015, John Rose wrote: >> I have a set of MaskBoxes (each with Group Cyphered & with MaxLength of >> 1) with Names of CypheredMaskBox1, CypheredMaskBox2, CypheredMaskBox3 >> etc. CypheredMaskBox1 has Tag of 1, CypheredMaskBox2 has Tag of 2 etc. >> In my Cyphered_Change event, I do validation of a user-entered character >> but want to SetFocus to the next (i.e. with Tag of 1 greater than >> current Tag) in case of successful validation. How do I do this (ideally >> by extending the code fragment below)? >> >> Code fragment: >> Dim iNextTag As Integer >> Dim strNextTag As String >> Dim strNextCyphered As String >> iNextTag = CInt(Last.Tag) + 1 >> strNextTag = CStr(iNextTag) >> strNextCyphered = "CypheredMaskBox" & strNextTag >> > You can adapt this... I would almost call it a paradigma or a way of life: > > Private Sub Discover(h As Container) > Dim g As Control > For Each g In h > Print g ' (*) > If g Is Container Then Discover(g) > Next > End > > It recursively discovers all controls on a form where at (*) you can do > whatever you want with a single control g, like checking whether it's a > MaskBox and what its Tag is. > > Since you are searching MaskBoxes over an entire Form -- I assume; and this > assumption is critical here -- and have your MaskBoxes named nicely, you can > more comfortably use FForm.Controls (assuming your form's name is FForm): > > Dim hNextMaskBox As MaskBox > > ' your code fragment here > hNextMaskBox = FForm.Controls[strNextCyphered] > hNextMaskBox.SetFocus() > > If you must constrain your search to a non-Form container, you must resort > to a variant of Discover(). If you additionally have embedded forms in the > container you want to discover, things will get a little uglier but no need > to discuss that if all you want is FForm.Controls. > > Regards, > Tobi > From bcunningham at ...3336... Thu Feb 12 19:09:19 2015 From: bcunningham at ...3336... (Bruce Cunningham) Date: Thu, 12 Feb 2015 18:09:19 +0000 Subject: [Gambas-user] A couple of questions about building web / cgi applications Message-ID: I'm looking for some advice and maybe some code examples for a project I'm starting. I'm building an embedded device with an ARM based System-On-Module (similar to an Rpi, but in an sodimm form factor). Thanks to some great help from members of this mailing list, I have successfully compiled Gambas for the SOM. The device will have a "main" GUI application that handles the user interface and all of the control logic. However, it will also have a web interface for remote access to some of the control settings. Here are my questions: 1) Does anyone have any code examples for CGI applications in Gambas? I know there is an option to use the Gambas interpreter to build ASP-like pages, but I would rather the web code be in compiled into a CGI module instead (for security reasons). I've built CGI applications in VB6, so I have a fairly good understanding how CGI work in general. I've read the Gambas docs on CGI, but I still don't quite understand it. 2) What is the easiest way to exchange data (variables and arrays) between the CGI module, and the main application? Using a file on disk is not a great option, since the device will be using flash for the file system, and these values will be changing several times a second. That will kill the flash very quickly. Thanks, Bruce Cunningham bcunningham at ...3336... From gambas at ...1... Thu Feb 12 22:59:21 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 12 Feb 2015 22:59:21 +0100 Subject: [Gambas-user] A couple of questions about building web / cgi applications In-Reply-To: References: Message-ID: <54DD2239.1070609@...1...> Le 12/02/2015 19:09, Bruce Cunningham a ?crit : > I'm looking for some advice and maybe some code examples for a > project I'm starting. I'm building an embedded device with an ARM > based System-On-Module (similar to an Rpi, but in an sodimm form > factor). > > Thanks to some great help from members of this mailing list, I have > successfully compiled Gambas for the SOM. The device will have a > "main" GUI application that handles the user interface and all of the > control logic. However, it will also have a web interface for remote > access to some of the control settings. > > Here are my questions: > > 1) Does anyone have any code examples for CGI applications in Gambas? > I know there is an option to use the Gambas interpreter to build > ASP-like pages, but I would rather the web code be in compiled into a > CGI module instead (for security reasons). I've built CGI > applications in VB6, so I have a fairly good understanding how CGI > work in general. I've read the Gambas docs on CGI, but I still don't > quite understand it. > > 2) What is the easiest way to exchange data (variables and arrays) > between the CGI module, and the main application? Using a file on > disk is not a great option, since the device will be using flash for > the file system, and these values will be changing several times a > second. That will kill the flash very quickly. > > Thanks, > > Bruce Cunningham > bcunningham at ...3336... > I don't understand what you don't understand in Gambas and CGI. By using the gb.web component, your Gambas project becomes a CGI application (or CGI script or whatever you want to call it) : - the gb.web component takes the CGI environment variables and present them with a nice ASP-like interface. - The Request class analyzes the HTTP request for you: it can understand GET arguments, POST arguments, handle file uploads for you. - The Response class allows you to send a response with its Mime datatypes, and other custom HTTP headers. I don't understand your story of having a "CGI module" (what's that?) and a "main application". So, please elaborate. -- Beno?t Minisini From bcunningham at ...3336... Thu Feb 12 23:27:36 2015 From: bcunningham at ...3336... (Bruce Cunningham) Date: Thu, 12 Feb 2015 22:27:36 +0000 Subject: [Gambas-user] A couple of questions about building web / cgi applications In-Reply-To: <54DD2239.1070609@...1...> References: <54DD2239.1070609@...1...> Message-ID: Beno?t, What I mean by main application is a GUI application that is always running, reading sensor data, controlling relays and updating the graphical user interface. It needs to be as close to real-time as I can get. By CGI module, I mean a CGI script that is invoked by web requests coming in to the web server, which would be a transient process. It takes some parameters from the web request, reads or updates data from the main application, sends back an html response, and then terminates. I want them as separate processes so that if someone tries to DDOS the web interface, they (hopefully) won't kill the main application that needs to control stuff. I was hoping someone had an example of a CGI application they would be willing to share? Bruce Bruce Cunningham bcunningham at ...3336... -----Original Message----- From: Beno?t Minisini [mailto:gambas at ...1...] Sent: Thursday, February 12, 2015 1:59 PM To: mailing list for gambas users Subject: Re: [Gambas-user] A couple of questions about building web / cgi applications Le 12/02/2015 19:09, Bruce Cunningham a ?crit : > I'm looking for some advice and maybe some code examples for a project > I'm starting. I'm building an embedded device with an ARM based > System-On-Module (similar to an Rpi, but in an sodimm form factor). > > Thanks to some great help from members of this mailing list, I have > successfully compiled Gambas for the SOM. The device will have a > "main" GUI application that handles the user interface and all of the > control logic. However, it will also have a web interface for remote > access to some of the control settings. > > Here are my questions: > > 1) Does anyone have any code examples for CGI applications in Gambas? > I know there is an option to use the Gambas interpreter to build > ASP-like pages, but I would rather the web code be in compiled into a > CGI module instead (for security reasons). I've built CGI > applications in VB6, so I have a fairly good understanding how CGI > work in general. I've read the Gambas docs on CGI, but I still don't > quite understand it. > > 2) What is the easiest way to exchange data (variables and arrays) > between the CGI module, and the main application? Using a file on > disk is not a great option, since the device will be using flash for > the file system, and these values will be changing several times a > second. That will kill the flash very quickly. > > Thanks, > > Bruce Cunningham > bcunningham at ...3336... > I don't understand what you don't understand in Gambas and CGI. By using the gb.web component, your Gambas project becomes a CGI application (or CGI script or whatever you want to call it) : - the gb.web component takes the CGI environment variables and present them with a nice ASP-like interface. - The Request class analyzes the HTTP request for you: it can understand GET arguments, POST arguments, handle file uploads for you. - The Response class allows you to send a response with its Mime datatypes, and other custom HTTP headers. I don't understand your story of having a "CGI module" (what's that?) and a "main application". So, please elaborate. -- Beno?t Minisini ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From dosida at ...626... Fri Feb 13 01:38:10 2015 From: dosida at ...626... (Dimitris Anogiatis) Date: Thu, 12 Feb 2015 17:38:10 -0700 Subject: [Gambas-user] A couple of questions about building web / cgi applications In-Reply-To: References: <54DD2239.1070609@...1...> Message-ID: Hey Bruce, Here's an example of a CGI app that I just made. I hope it helps and doesn't confuse you more. I havent run it on an actual web server yet (just on the embedded web server that the IDE has) but I guess it won't be hard to plug it in to either Apache, Lighttpd or Nginx (whichever you want to use). If anyone has a better example by all means jump in :) As for your second question, you might want to consider a database or a 3rd program that would work as sort of a bridge/proxy between the two programs (the CGI and the main program). That way even if the web interface gets ddosed (or flooded due to an overzealous sensor), at least the main program would be able to control the rest of the system. Hope this helps Dimitris On Thu, Feb 12, 2015 at 3:27 PM, Bruce Cunningham wrote: > Beno?t, > > What I mean by main application is a GUI application that is always > running, reading sensor data, controlling relays and updating the graphical > user interface. It needs to be as close to real-time as I can get. By CGI > module, I mean a CGI script that is invoked by web requests coming in to > the web server, which would be a transient process. It takes some > parameters from the web request, reads or updates data from the main > application, sends back an html response, and then terminates. > > I want them as separate processes so that if someone tries to DDOS the web > interface, they (hopefully) won't kill the main application that needs to > control stuff. > > I was hoping someone had an example of a CGI application they would be > willing to share? > > Bruce > > Bruce Cunningham > bcunningham at ...3336... > > > -----Original Message----- > From: Beno?t Minisini [mailto:gambas at ...1...] > Sent: Thursday, February 12, 2015 1:59 PM > To: mailing list for gambas users > Subject: Re: [Gambas-user] A couple of questions about building web / cgi > applications > > Le 12/02/2015 19:09, Bruce Cunningham a ?crit : > > I'm looking for some advice and maybe some code examples for a project > > I'm starting. I'm building an embedded device with an ARM based > > System-On-Module (similar to an Rpi, but in an sodimm form factor). > > > > Thanks to some great help from members of this mailing list, I have > > successfully compiled Gambas for the SOM. The device will have a > > "main" GUI application that handles the user interface and all of the > > control logic. However, it will also have a web interface for remote > > access to some of the control settings. > > > > Here are my questions: > > > > 1) Does anyone have any code examples for CGI applications in Gambas? > > I know there is an option to use the Gambas interpreter to build > > ASP-like pages, but I would rather the web code be in compiled into a > > CGI module instead (for security reasons). I've built CGI > > applications in VB6, so I have a fairly good understanding how CGI > > work in general. I've read the Gambas docs on CGI, but I still don't > > quite understand it. > > > > 2) What is the easiest way to exchange data (variables and arrays) > > between the CGI module, and the main application? Using a file on > > disk is not a great option, since the device will be using flash for > > the file system, and these values will be changing several times a > > second. That will kill the flash very quickly. > > > > Thanks, > > > > Bruce Cunningham > > bcunningham at ...3336... > > > > I don't understand what you don't understand in Gambas and CGI. > > By using the gb.web component, your Gambas project becomes a CGI > application (or CGI script or whatever you want to call it) : > > - the gb.web component takes the CGI environment variables and present > them with a nice ASP-like interface. > > - The Request class analyzes the HTTP request for you: it can understand > GET arguments, POST arguments, handle file uploads for you. > > - The Response class allows you to send a response with its Mime > datatypes, and other custom HTTP headers. > > I don't understand your story of having a "CGI module" (what's that?) and > a "main application". > > So, please elaborate. > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- A non-text attachment was scrubbed... Name: CGITest1-0.0.13.tar.gz Type: application/x-gzip Size: 6140 bytes Desc: not available URL: From adamnt42 at ...626... Fri Feb 13 06:09:48 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Fri, 13 Feb 2015 15:39:48 +1030 Subject: [Gambas-user] Rpi 2 In-Reply-To: <20150212125308.GI684@...2774...> References: <368639327.862177.1423743632358.JavaMail.yahoo@...3424...> <20150212125308.GI684@...2774...> Message-ID: <20150213153948.a971802a40eea94da96293e6@...626...> On Thu, 12 Feb 2015 13:53:08 +0100 Tobias Boege wrote: > (Although I fear that Bruce will jump in with your solution any moment:) nah, i have been up and out for 16 hours followed by a v. large lunch. ... aha! i see the bed.... post,now ... b -- B Bruen From mike.crean at ...2897... Fri Feb 13 06:20:07 2015 From: mike.crean at ...2897... (Mike Crean) Date: Fri, 13 Feb 2015 05:20:07 +0000 (UTC) Subject: [Gambas-user] Rpi 2 In-Reply-To: <20150213153948.a971802a40eea94da96293e6@...626...> References: <20150213153948.a971802a40eea94da96293e6@...626...> Message-ID: <1721191444.1418.1423804808005.JavaMail.yahoo@...3424...> Hey Bruce if you can give me some ideas about installing Gambas3 on?Raspbian?on Rpi 2 it would be great. Best RegardsMike On Friday, 13 February 2015, 13:09, "adamnt42 at ...626..." wrote: On Thu, 12 Feb 2015 13:53:08 +0100 Tobias Boege wrote: > (Although I fear that Bruce will jump in with your solution any moment:) nah, i have been up and out for 16 hours followed by a v. large lunch.? ... aha! i see the bed.... post,now ... b -- 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From ualex73 at ...626... Fri Feb 13 09:09:54 2015 From: ualex73 at ...626... (Alexie) Date: Fri, 13 Feb 2015 09:09:54 +0100 Subject: [Gambas-user] Rpi 2 In-Reply-To: <1721191444.1418.1423804808005.JavaMail.yahoo@...3424...> References: <20150213153948.a971802a40eea94da96293e6@...626...> <1721191444.1418.1423804808005.JavaMail.yahoo@...3424...> Message-ID: Hi Mike, Compiling Gambas3 on a Pi / Pi2 is a long task, so for the DomotiGa project we created pre-compiled packages of Gambas 3.6.2 (and when new version are released, we will update ofcourse). You can download/install as follows: $ wget -O - https://domotiga.nl/apt/public.gpg.key | sudo apt-key add - $ sudo su -c "echo 'deb https://domotiga.nl/apt/raspbian wheezy main' >> /etc/apt/sources.list" $ sudo apt-get install -y apt-transport-https $ sudo apt-get update $ sudo apt-get upgrade $ sudo apt-get install gambas3 I have tested this with the Pi and Pi2 (clear Raspbian images). Regards, Alex 2015-02-13 6:20 GMT+01:00 Mike Crean : > Hey Bruce if you can give me some ideas about installing Gambas3 > on Raspbian on Rpi 2 it would be great. > Best RegardsMike > > On Friday, 13 February 2015, 13:09, "adamnt42 at ...626..." < > adamnt42 at ...626...> wrote: > > > On Thu, 12 Feb 2015 13:53:08 +0100 > Tobias Boege wrote: > > > (Although I fear that Bruce will jump in with your solution any moment:) > nah, i have been up and out for 16 hours followed by a v. large lunch. > > > ... > aha! i see the bed.... > > post,now ... > b > > -- > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From eilert-sprachen at ...221... Fri Feb 13 09:42:43 2015 From: eilert-sprachen at ...221... (Rolf-Werner Eilert) Date: Fri, 13 Feb 2015 09:42:43 +0100 Subject: [Gambas-user] A couple of questions about building web / cgi applications In-Reply-To: References: Message-ID: <54DDB903.60204@...221...> Am 12.02.2015 19:09, schrieb Bruce Cunningham: > I'm looking for some advice and maybe some code examples for a project I'm starting. I'm building an embedded device with an ARM based System-On-Module (similar to an Rpi, but in an sodimm form factor). > > Thanks to some great help from members of this mailing list, I have successfully compiled Gambas for the SOM. The device will have a "main" GUI application that handles the user interface and all of the control logic. However, it will also have a web interface for remote access to some of the control settings. > > Here are my questions: > > 1) Does anyone have any code examples for CGI applications in Gambas? I know there is an option to use the Gambas interpreter to build ASP-like pages, but I would rather the web code be in compiled into a CGI module instead (for security reasons). I've built CGI applications in VB6, so I have a fairly good understanding how CGI work in general. I've read the Gambas docs on CGI, but I still don't quite understand it. > > 2) What is the easiest way to exchange data (variables and arrays) between the CGI module, and the main application? Using a file on disk is not a great option, since the device will be using flash for the file system, and these values will be changing several times a second. That will kill the flash very quickly. > > Thanks, > > Bruce Cunningham > bcunningham at ...3336... Hi Bruce, although I see your point, I don't see where there is a difference between a gb.web app and an all-in-one app (apart from the ASP-like pages to be stored separately). BUT: I once made some projects this way, back in the times of Gambas2, so here is what I have (comments are in German, and scarce, so if you have any questions...) One of the projects (umfragen) is still publicly running on our website at http://www.eilert-sprachen.de/cgi-bin/Umfragen.gambas?Selbsttest.data Take a look at those SUBs which start with "schreibe" (write), that's the core of it. Hope it helps! Regards Rolf -------------- next part -------------- A non-text attachment was scrubbed... Name: firmen.tar.gz Type: application/x-gzip Size: 17707 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: umfragen.tar.gz Type: application/x-gzip Size: 74733 bytes Desc: not available URL: From mike.crean at ...2897... Fri Feb 13 12:36:20 2015 From: mike.crean at ...2897... (Mike Crean) Date: Fri, 13 Feb 2015 11:36:20 +0000 (UTC) Subject: [Gambas-user] Rpi2 Message-ID: <1185572863.1018723.1423827380784.JavaMail.yahoo@...3424...> I have these errors when I install gambas3 Any one help please. make ?install-data-hookmake[5]: Entering directory '/home/pi/gambas3-3.6.2/gb.gtk/src'Installing the gb.gtk control icons if needed...Creating the information files for gb.gtk component... make[5]: Leaving directory '/home/pi/gambas3-3.6.2/gb.gtk/src'make[4]: Leaving directory '/home/pi/gambas3-3.6.2/gb.gtk/src'make[3]: Leaving directory '/home/pi/gambas3-3.6.2/gb.gtk/src'Making install in openglmake[3]: Entering directory '/home/pi/gambas3-3.6.2/gb.gtk/src/opengl'? CC ? ? gb_gtk_opengl_la-main.loIn file included from main.c:26:0:main.h:31:23: fatal error: gtk/gtkgl.h: No such file or directorycompilation terminated.Makefile:422: recipe for target 'gb_gtk_opengl_la-main.lo' failedmake[3]: *** [gb_gtk_opengl_la-main.lo] Error 1make[3]: Leaving directory '/home/pi/gambas3-3.6.2/gb.gtk/src/opengl'Makefile:1317: recipe for target 'install-recursive' failedmake[2]: *** [install-recursive] Error 1make[2]: Leaving directory '/home/pi/gambas3-3.6.2/gb.gtk/src'Makefile:373: recipe for target 'install-recursive' failedmake[1]: *** [install-recursive] Error 1make[1]: Leaving directory '/home/pi/gambas3-3.6.2/gb.gtk'Makefile:367: recipe for target 'install-recursive' failedmake: *** [install-recursive] Error 1 RegardsMike From mike.crean at ...2897... Fri Feb 13 12:36:17 2015 From: mike.crean at ...2897... (Mike Crean) Date: Fri, 13 Feb 2015 11:36:17 +0000 (UTC) Subject: [Gambas-user] Rpi2 Message-ID: <1098583342.1018932.1423827377106.JavaMail.yahoo@...3424...> I have these errors when I install gambas3 Any one help please. make ?install-data-hookmake[5]: Entering directory '/home/pi/gambas3-3.6.2/gb.gtk/src'Installing the gb.gtk control icons if needed...Creating the information files for gb.gtk component... make[5]: Leaving directory '/home/pi/gambas3-3.6.2/gb.gtk/src'make[4]: Leaving directory '/home/pi/gambas3-3.6.2/gb.gtk/src'make[3]: Leaving directory '/home/pi/gambas3-3.6.2/gb.gtk/src'Making install in openglmake[3]: Entering directory '/home/pi/gambas3-3.6.2/gb.gtk/src/opengl'? CC ? ? gb_gtk_opengl_la-main.loIn file included from main.c:26:0:main.h:31:23: fatal error: gtk/gtkgl.h: No such file or directorycompilation terminated.Makefile:422: recipe for target 'gb_gtk_opengl_la-main.lo' failedmake[3]: *** [gb_gtk_opengl_la-main.lo] Error 1make[3]: Leaving directory '/home/pi/gambas3-3.6.2/gb.gtk/src/opengl'Makefile:1317: recipe for target 'install-recursive' failedmake[2]: *** [install-recursive] Error 1make[2]: Leaving directory '/home/pi/gambas3-3.6.2/gb.gtk/src'Makefile:373: recipe for target 'install-recursive' failedmake[1]: *** [install-recursive] Error 1make[1]: Leaving directory '/home/pi/gambas3-3.6.2/gb.gtk'Makefile:367: recipe for target 'install-recursive' failedmake: *** [install-recursive] Error 1 RegardsMike From willy at ...2734... Fri Feb 13 13:28:20 2015 From: willy at ...2734... (Willy Raets) Date: Fri, 13 Feb 2015 13:28:20 +0100 Subject: [Gambas-user] Rpi 2 In-Reply-To: References: <20150213153948.a971802a40eea94da96293e6@...626...> <1721191444.1418.1423804808005.JavaMail.yahoo@...3424...> Message-ID: <1423830500.13409.2.camel@...3024...> On vr, 2015-02-13 at 09:09 +0100, Alexie wrote: > Hi Mike, > > Compiling Gambas3 on a Pi / Pi2 is a long task, so for the DomotiGa project > we created pre-compiled packages of Gambas 3.6.2 (and when new version are > released, we will update ofcourse). > > You can download/install as follows: > > $ wget -O - https://domotiga.nl/apt/public.gpg.key | sudo apt-key add - > $ sudo su -c "echo 'deb https://domotiga.nl/apt/raspbian wheezy main' > >> /etc/apt/sources.list" > $ sudo apt-get install -y apt-transport-https > $ sudo apt-get update > $ sudo apt-get upgrade > $ sudo apt-get install gambas3 > > I have tested this with the Pi and Pi2 (clear Raspbian images). > > Regards, > Alex > Hi Alex, Very nice and very good to know... I'll update the Gambas wiki for Pin installation to point to your Gambas binaries. -- Kind regards, Willy (aka gbWilly) http://gambasshowcase.org/ http://howtogambas.org http://gambos.org From vuott at ...325... Fri Feb 13 18:09:54 2015 From: vuott at ...325... (Ru Vuott) Date: Fri, 13 Feb 2015 17:09:54 +0000 Subject: [Gambas-user] Creating a trasparent DrawingArea... Message-ID: <1423847394.87446.YahooMailBasic@...3269...> Hello, I'ld like to superimpose two DrawingArea: the **upper** DrawingArea has to have a transparent background, so I can see the drawings of both DrawingAreas. How can I do it ? Regards Vuott From jussi.lahtinen at ...626... Fri Feb 13 19:42:36 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 13 Feb 2015 20:42:36 +0200 Subject: [Gambas-user] Creating a trasparent DrawingArea... In-Reply-To: <1423847394.87446.YahooMailBasic@...3269...> References: <1423847394.87446.YahooMailBasic@...3269...> Message-ID: Can you just create two transparent pictures and put them on the drawing area? Or is there some specific reason for two drawing areas? It just doesn't sound very clean solution. Jussi On Fri, Feb 13, 2015 at 7:09 PM, Ru Vuott wrote: > Hello, > > I'ld like to superimpose two DrawingArea: the **upper** DrawingArea has to > have a transparent background, so I can see the drawings of both > DrawingAreas. > > How can I do it ? > > Regards > Vuott > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From Gambas at ...1950... Fri Feb 13 20:36:01 2015 From: Gambas at ...1950... (Caveat) Date: Fri, 13 Feb 2015 20:36:01 +0100 Subject: [Gambas-user] A couple of questions about building web / cgi applications In-Reply-To: <54DDB903.60204@...221...> References: <54DDB903.60204@...221...> Message-ID: <54DE5221.60205@...1950...> If you're going to use a database to communicate between 2 separate programs, be sure to set the transaction isolation to READ-COMITTED (good for MySQL, ymmv), otherwise you won't see updates made by another process which can lead to some frustrating and confusing mismatches between what you think should be read from the database and what actually gets read! You may also want to look at in-memory databases, if you don't need the sensor data to be persistent. H2: http://www.h2database.com/html/main.html and JavaDB: http://docs.oracle.com/javadb/10.8.3.0/getstart/index.html might be worth a look. You could always use a regular database for the less volatile data, like user settings etc. and I imagine the inter-process communication would be easier to set up using a normal disk-based database. The architecture is sound, I use a raspberry pi in a similar way to control my central heating. There's a python script running all the time checking for interrupts so you can hit a button on the pi (PiFace board added) to, for example, force the heating on. The python script reads from the MySQL db to see what temperature it should be aiming for, and reads a usb thermometer to see what the temperature actually is. There's a web interface written in php with big friendly buttons to force the heating on or off, and a nice display of the current temperature and the target temperature, and an indication of the state of the heating (on or off). Inter-process communication is all done via the heating database in MySQL (with tx-isolation as above!). Sorry, kind of realised at the end this is a little off-topic for most of the Gambas list, what if I promise to rewrite my web-interface in Gambas CGI? :-) Kind regards, Caveat On 13/02/15 09:42, Rolf-Werner Eilert wrote: > > > Am 12.02.2015 19:09, schrieb Bruce Cunningham: >> I'm looking for some advice and maybe some code examples for a >> project I'm starting. I'm building an embedded device with an ARM >> based System-On-Module (similar to an Rpi, but in an sodimm form >> factor). >> >> Thanks to some great help from members of this mailing list, I have >> successfully compiled Gambas for the SOM. The device will have a >> "main" GUI application that handles the user interface and all of the >> control logic. However, it will also have a web interface for remote >> access to some of the control settings. >> >> Here are my questions: >> >> 1) Does anyone have any code examples for CGI applications in >> Gambas? I know there is an option to use the Gambas interpreter to >> build ASP-like pages, but I would rather the web code be in compiled >> into a CGI module instead (for security reasons). I've built CGI >> applications in VB6, so I have a fairly good understanding how CGI >> work in general. I've read the Gambas docs on CGI, but I still don't >> quite understand it. >> >> 2) What is the easiest way to exchange data (variables and arrays) >> between the CGI module, and the main application? Using a file on >> disk is not a great option, since the device will be using flash for >> the file system, and these values will be changing several times a >> second. That will kill the flash very quickly. >> >> Thanks, >> >> Bruce Cunningham >> bcunningham at ...3336... > > Hi Bruce, > > although I see your point, I don't see where there is a difference > between a gb.web app and an all-in-one app (apart from the ASP-like > pages to be stored separately). BUT: I once made some projects this > way, back in the times of Gambas2, so here is what I have (comments > are in German, and scarce, so if you have any questions...) > > One of the projects (umfragen) is still publicly running on our > website at > http://www.eilert-sprachen.de/cgi-bin/Umfragen.gambas?Selbsttest.data > > Take a look at those SUBs which start with "schreibe" (write), that's > the core of it. > > Hope it helps! > > Regards > Rolf > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From bcunningham at ...3336... Fri Feb 13 21:35:13 2015 From: bcunningham at ...3336... (Bruce Cunningham) Date: Fri, 13 Feb 2015 20:35:13 +0000 Subject: [Gambas-user] A couple of questions about building web / cgi applications In-Reply-To: <54DE5221.60205@...1950...> References: <54DDB903.60204@...221...> <54DE5221.60205@...1950...> Message-ID: Caveat, Thanks for the info. I'm a little concerned about using a "disk" based database because the disk is flash, which has a limited number of write cycles. Even with wear-leveling, I would eventually kill parts of the flash. I don't want these things dropping dead in the field after a year or so... I was considering something like named pipes, but I'm a little unclear about how Linux actually handles them. I thought I saw a mention that they are managed via temporary files within the file system, and that would defeat the whole idea of not writing to disk. I know how to do interprocess communication in Windows, but not in Linux with Gambas. Bruce Bruce Cunningham bcunningham at ...3336... -----Original Message----- From: Caveat [mailto:Gambas at ...1950...] Sent: Friday, February 13, 2015 11:36 AM To: gambas-user at lists.sourceforge.net Subject: Re: [Gambas-user] A couple of questions about building web / cgi applications If you're going to use a database to communicate between 2 separate programs, be sure to set the transaction isolation to READ-COMITTED (good for MySQL, ymmv), otherwise you won't see updates made by another process which can lead to some frustrating and confusing mismatches between what you think should be read from the database and what actually gets read! You may also want to look at in-memory databases, if you don't need the sensor data to be persistent. H2: http://www.h2database.com/html/main.html and JavaDB: http://docs.oracle.com/javadb/10.8.3.0/getstart/index.html might be worth a look. You could always use a regular database for the less volatile data, like user settings etc. and I imagine the inter-process communication would be easier to set up using a normal disk-based database. The architecture is sound, I use a raspberry pi in a similar way to control my central heating. There's a python script running all the time checking for interrupts so you can hit a button on the pi (PiFace board added) to, for example, force the heating on. The python script reads from the MySQL db to see what temperature it should be aiming for, and reads a usb thermometer to see what the temperature actually is. There's a web interface written in php with big friendly buttons to force the heating on or off, and a nice display of the current temperature and the target temperature, and an indication of the state of the heating (on or off). Inter-process communication is all done via the heating database in MySQL (with tx-isolation as above!). Sorry, kind of realised at the end this is a little off-topic for most of the Gambas list, what if I promise to rewrite my web-interface in Gambas CGI? :-) Kind regards, Caveat On 13/02/15 09:42, Rolf-Werner Eilert wrote: > > > Am 12.02.2015 19:09, schrieb Bruce Cunningham: >> I'm looking for some advice and maybe some code examples for a >> project I'm starting. I'm building an embedded device with an ARM >> based System-On-Module (similar to an Rpi, but in an sodimm form >> factor). >> >> Thanks to some great help from members of this mailing list, I have >> successfully compiled Gambas for the SOM. The device will have a >> "main" GUI application that handles the user interface and all of the >> control logic. However, it will also have a web interface for remote >> access to some of the control settings. >> >> Here are my questions: >> >> 1) Does anyone have any code examples for CGI applications in Gambas? >> I know there is an option to use the Gambas interpreter to build >> ASP-like pages, but I would rather the web code be in compiled into a >> CGI module instead (for security reasons). I've built CGI >> applications in VB6, so I have a fairly good understanding how CGI >> work in general. I've read the Gambas docs on CGI, but I still don't >> quite understand it. >> >> 2) What is the easiest way to exchange data (variables and arrays) >> between the CGI module, and the main application? Using a file on >> disk is not a great option, since the device will be using flash for >> the file system, and these values will be changing several times a >> second. That will kill the flash very quickly. >> >> Thanks, >> >> Bruce Cunningham >> bcunningham at ...3336... > > Hi Bruce, > > although I see your point, I don't see where there is a difference > between a gb.web app and an all-in-one app (apart from the ASP-like > pages to be stored separately). BUT: I once made some projects this > way, back in the times of Gambas2, so here is what I have (comments > are in German, and scarce, so if you have any questions...) > > One of the projects (umfragen) is still publicly running on our > website at > http://www.eilert-sprachen.de/cgi-bin/Umfragen.gambas?Selbsttest.data > > Take a look at those SUBs which start with "schreibe" (write), that's > the core of it. > > Hope it helps! > > Regards > Rolf > > > > ---------------------------------------------------------------------- > -------- Dive into the World of Parallel Programming. The Go Parallel > Website, sponsored by Intel and developed in partnership with Slashdot > Media, is your hub for all things parallel software development, from > weekly thought leadership blogs to news, videos, case studies, > tutorials and more. Take a look and join the conversation now. > http://goparallel.sourceforge.net/ > > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From t.lee.davidson at ...626... Fri Feb 13 22:46:59 2015 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Fri, 13 Feb 2015 16:46:59 -0500 Subject: [Gambas-user] A couple of questions about building web / cgi applications In-Reply-To: References: <54DDB903.60204@...221...> <54DE5221.60205@...1950...> Message-ID: <54DE70D3.4020906@...626...> Bruce, Named pipes do indeed require a node on the file system. You might need to look into shared memory; or maybe DBUS might suit your needs. Lee __________ "Artificial Intelligence is no match for natural stupidity." On 02/13/2015 03:35 PM, Bruce Cunningham wrote: > I was considering something like named pipes, but I'm a little unclear about how Linux actually handles them. I thought I saw a mention that they are managed via temporary files within the file system, and that would defeat the whole idea of not writing to disk. > > I know how to do interprocess communication in Windows, but not in Linux with Gambas. > > Bruce From lewis at ...3412... Fri Feb 13 23:23:25 2015 From: lewis at ...3412... (Lewis Balentine) Date: Fri, 13 Feb 2015 16:23:25 -0600 Subject: [Gambas-user] A couple of questions about building web / cgi applications In-Reply-To: References: <54DDB903.60204@...221...> <54DE5221.60205@...1950...> Message-ID: <54DE795D.3070902@...3412...> Forgive me for poking my nose in where my profound ignorance indicates I should not but .... Would not a direct solution be: 1) Have the resident program ALLOC a section of ram 2) Save the address as part of a unique file name (i.e. ADRxxxxxx.ADR where xxxxx is the address) 3) Pass the required parameters back and forth via shared memory. 4) Both programs would need to poll the shared memory for updates (some bytes could be used for status). http://gambaswiki.org/wiki/lang/alloc http://gambaswiki.org/wiki/lang/byte@ http://gambaswiki.org/wiki/lang/integer@ http://gambaswiki.org/wiki/lang/long@ http://gambaswiki.org/wiki/lang/string@ ... etc ... Cheers, Lewis On 02/13/2015 02:35 PM, Bruce Cunningham wrote: > Caveat, > > Thanks for the info. > > I'm a little concerned about using a "disk" based database because the disk is flash, which has a limited number of write cycles. Even with wear-leveling, I would eventually kill parts of the flash. I don't want these things dropping dead in the field after a year or so... > > I was considering something like named pipes, but I'm a little unclear about how Linux actually handles them. I thought I saw a mention that they are managed via temporary files within the file system, and that would defeat the whole idea of not writing to disk. > > I know how to do interprocess communication in Windows, but not in Linux with Gambas. > > Bruce > > Bruce Cunningham > bcunningham at ...3336... > > From taboege at ...626... Sat Feb 14 00:45:03 2015 From: taboege at ...626... (Tobias Boege) Date: Sat, 14 Feb 2015 00:45:03 +0100 Subject: [Gambas-user] A couple of questions about building web / cgi applications In-Reply-To: <54DE795D.3070902@...3412...> References: <54DDB903.60204@...221...> <54DE5221.60205@...1950...> <54DE795D.3070902@...3412...> Message-ID: <20150213234503.GC11853@...2774...> On Fri, 13 Feb 2015, Lewis Balentine wrote: > On 02/13/2015 02:35 PM, Bruce Cunningham wrote: > > Caveat, > > > > Thanks for the info. > > > > I'm a little concerned about using a "disk" based database because the disk is flash, which has a limited number of write cycles. Even with wear-leveling, I would eventually kill parts of the flash. I don't want these things dropping dead in the field after a year or so... > > > > I was considering something like named pipes, but I'm a little unclear about how Linux actually handles them. I thought I saw a mention that they are managed via temporary files within the file system, and that would defeat the whole idea of not writing to disk. > > > > I know how to do interprocess communication in Windows, but not in Linux with Gambas. > > > > Bruce > > > > Bruce Cunningham > > bcunningham at ...3336... > > > > > Forgive me for poking my nose in where my profound ignorance indicates I > should not but .... > > Would not a direct solution be: > 1) Have the resident program ALLOC a section of ram > 2) Save the address as part of a unique file name (i.e. ADRxxxxxx.ADR > where xxxxx is the address) > 3) Pass the required parameters back and forth via shared memory. > 4) Both programs would need to poll the shared memory for updates (some > bytes could be used for status). > > http://gambaswiki.org/wiki/lang/alloc > http://gambaswiki.org/wiki/lang/byte@ > http://gambaswiki.org/wiki/lang/integer@ > http://gambaswiki.org/wiki/lang/long@ > http://gambaswiki.org/wiki/lang/string@ > ... etc ... > This is almost a solution. The only remaining problem is to actually share the memory. If you allocate some memory in one process, another process cannot see it. Indeed independent processes have distinct virtual address spaces (unless they specifically arrange otherwise), so a pointer from one process is of no use to another process. They live in (almost) entirely different realms, address-space-wise. Gambas does not include functionality to share memory, so you would be doomed to use Extern, hack the interpreter or write a native component, each of which requires some knowledge of C and Linux (or at least POSIX) and *may* bother the other parts of the interpreter but I don't know, never tried it. A named pipe or a UNIX socket are easier ways here. On Fri, 13 Feb 2015, T Lee Davidson wrote: > Named pipes do indeed require a node on the file system. While that's true, they only require a node on the *virtua* file system. No physical disk is touched ever: $ man 7 fifo [...] When processes are exchanging data via the FIFO, the kernel passes all data internally without writing it to the filesystem. Thus, the FIFO special file has no contents on the filesystem; the filesystem entry merely serves as a reference point so that processes can access the pipe using a name in the filesystem. [...] and luckily, Gambas has support for named pipes[0]. Or sockets[1]... Regards, Tobi [0] http://gambaswiki.org/wiki/lang/pipe [1] http://gambaswiki.org/wiki/comp/gb.net/ -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From adamnt42 at ...626... Sat Feb 14 02:36:31 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Sat, 14 Feb 2015 12:06:31 +1030 Subject: [Gambas-user] A couple of questions about building web / cgi applications In-Reply-To: <20150213234503.GC11853@...2774...> References: <54DDB903.60204@...221...> <54DE5221.60205@...1950...> <54DE795D.3070902@...3412...> <20150213234503.GC11853@...2774...> Message-ID: <20150214120631.300b3b4a6f865d4c3bddb290@...626...> On Sat, 14 Feb 2015 00:45:03 +0100 Tobias Boege wrote: > On Fri, 13 Feb 2015, T Lee Davidson wrote: > > Named pipes do indeed require a node on the file system. > > While that's true, they only require a node on the *virtua* file system. No > physical disk is touched ever: > > $ man 7 fifo > [...] > When processes are exchanging data via the FIFO, the kernel passes all > data internally without writing it to the filesystem. Thus, the FIFO > special file has no contents on the filesystem; the filesystem entry > merely serves as a reference point so that processes can access the > pipe using a name in the filesystem. > [...] > > and luckily, Gambas has support for named pipes[0]. Or sockets[1]... > > Regards, > Tobi > Indeed! One thing for linux "L"-platers to understand is that "everything is a file" ! :-) Hence that is why Stream is the basis for "everything" in Gambas. http://en.wikipedia.org/wiki/Everything_is_a_file or from Google: https://www.google.com.au/search?q=linux+%22everything+is+a+file%22&ie=utf-8&oe=utf-8&gws_rd=cr&ei=9KXeVJKoC-W7mgW-7IKADQ cheers Bruce -- B Bruen From adamnt42 at ...626... Sat Feb 14 02:38:12 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Sat, 14 Feb 2015 12:08:12 +1030 Subject: [Gambas-user] Official name change notification! Message-ID: <20150214120812.b78159381f2210fa0b37c34a@...626...> Seeing as there are now two many Bruce's here, which has been known to confuse me, I am officially changing my name to "bruce". cheers bruce -- B Bruen From gambas at ...1... Sat Feb 14 03:04:17 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 14 Feb 2015 03:04:17 +0100 Subject: [Gambas-user] A couple of questions about building web / cgi applications In-Reply-To: References: <54DDB903.60204@...221...> <54DE5221.60205@...1950...> Message-ID: <54DEAD21.6050207@...1...> Le 13/02/2015 21:35, Bruce Cunningham a ?crit : > Caveat, > > Thanks for the info. > > I'm a little concerned about using a "disk" based database because > the disk is flash, which has a limited number of write cycles. Even > with wear-leveling, I would eventually kill parts of the flash. I > don't want these things dropping dead in the field after a year or > so... > > I was considering something like named pipes, but I'm a little > unclear about how Linux actually handles them. I thought I saw a > mention that they are managed via temporary files within the file > system, and that would defeat the whole idea of not writing to disk. > > I know how to do interprocess communication in Windows, but not in > Linux with Gambas. > > Bruce > > Bruce Cunningham bcunningham at ...3336... > You can use a named pipe : you create the node on the disk once (if you don't want to ruin the flash). All the data exchange will be done in memory by the system. Regards, -- Beno?t Minisini From gambas at ...1... Sat Feb 14 03:05:21 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 14 Feb 2015 03:05:21 +0100 Subject: [Gambas-user] Official name change notification! In-Reply-To: <20150214120812.b78159381f2210fa0b37c34a@...626...> References: <20150214120812.b78159381f2210fa0b37c34a@...626...> Message-ID: <54DEAD61.4010200@...1...> Le 14/02/2015 02:38, adamnt42 at ...626... a ?crit : > Seeing as there are now two many Bruce's here, which has been known to confuse me, I am officially changing my name to > "bruce". > > cheers > bruce > :-) Not sure that it will work for me... Maybe this is the reason why we invented the "full name" concept? :-) -- Beno?t Minisini From kevinfishburne at ...1887... Sat Feb 14 05:02:49 2015 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Fri, 13 Feb 2015 23:02:49 -0500 Subject: [Gambas-user] Official name change notification! In-Reply-To: <54DEAD61.4010200@...1...> References: <20150214120812.b78159381f2210fa0b37c34a@...626...> <54DEAD61.4010200@...1...> Message-ID: <54DEC8E9.9010206@...1887...> On 02/13/2015 09:05 PM, Beno?t Minisini wrote: > Le 14/02/2015 02:38, adamnt42 at ...626... a ?crit : >> Seeing as there are now two many Bruce's here, which has been known to confuse me, I am officially changing my name to >> "bruce". >> >> cheers >> bruce >> > :-) Not sure that it will work for me... Maybe this is the reason why we > invented the "full name" concept? :-) > Just register with the UDIC (http://www.udic.org/) and use your Dragon name. I'm Boolean Dragon, for example. Bruce Dragon has a nice ring to it. :) -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From dosida at ...626... Sat Feb 14 05:07:03 2015 From: dosida at ...626... (Dimitris Anogiatis) Date: Fri, 13 Feb 2015 21:07:03 -0700 Subject: [Gambas-user] A couple of questions about building web / cgi applications In-Reply-To: <54DEAD21.6050207@...1...> References: <54DDB903.60204@...221...> <54DE5221.60205@...1950...> <54DEAD21.6050207@...1...> Message-ID: Hey Bruce, In addition to all the good suggestions everyone is throwing in the problem, you could use a CouchDB database on a different server and just connect to it with a normal http connection if you're worried about file hits on the sd card. Gambas supports JSON and the httpclient component should work just fine for what you want it to do. Hope this helps, Dimitris On Fri, Feb 13, 2015 at 7:04 PM, Beno?t Minisini < gambas at ...1...> wrote: > Le 13/02/2015 21:35, Bruce Cunningham a ?crit : > > Caveat, > > > > Thanks for the info. > > > > I'm a little concerned about using a "disk" based database because > > the disk is flash, which has a limited number of write cycles. Even > > with wear-leveling, I would eventually kill parts of the flash. I > > don't want these things dropping dead in the field after a year or > > so... > > > > I was considering something like named pipes, but I'm a little > > unclear about how Linux actually handles them. I thought I saw a > > mention that they are managed via temporary files within the file > > system, and that would defeat the whole idea of not writing to disk. > > > > I know how to do interprocess communication in Windows, but not in > > Linux with Gambas. > > > > Bruce > > > > Bruce Cunningham bcunningham at ...3336... > > > > You can use a named pipe : you create the node on the disk once (if you > don't want to ruin the flash). All the data exchange will be done in > memory by the system. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From adamnt42 at ...626... Sat Feb 14 06:20:03 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Sat, 14 Feb 2015 15:50:03 +1030 Subject: [Gambas-user] Official name change notification! In-Reply-To: <54DEC8E9.9010206@...1887...> References: <20150214120812.b78159381f2210fa0b37c34a@...626...> <54DEAD61.4010200@...1...> <54DEC8E9.9010206@...1887...> Message-ID: <20150214155003.72f09354d78626059dc3a714@...626...> On Fri, 13 Feb 2015 23:02:49 -0500 Kevin Fishburne wrote: > On 02/13/2015 09:05 PM, Beno?t Minisini wrote: > > Le 14/02/2015 02:38, adamnt42 at ...626... a ?crit : > >> Seeing as there are now two many Bruce's here, which has been known to confuse me, I am officially changing my name to > >> "bruce". > >> > >> cheers > >> bruce > >> > > :-) Not sure that it will work for me... Maybe this is the reason why we > > invented the "full name" concept? :-) > > > > Just register with the UDIC (http://www.udic.org/) and use your Dragon > name. I'm Boolean Dragon, for example. Bruce Dragon has a nice ring to > it. :) > > -- > Kevin Fishburne > Eight Virtues > www: http://sales.eightvirtues.com > e-mail: sales at ...1887... > phone: (770) 853-6271 > > Yeah, right.... bruce dragon aka "fists of marshmallow, fights like a snail, snores like a Komatsu D9 starting up on a cold day" which reminds me... bb tomorrow. bd (F.M.F.S.S.K.) -- B Bruen From mike.crean at ...2897... Sat Feb 14 14:50:58 2015 From: mike.crean at ...2897... (Mike Crean) Date: Sat, 14 Feb 2015 13:50:58 +0000 (UTC) Subject: [Gambas-user] A couple of questions about building web / cgi applications In-Reply-To: References: Message-ID: <234649457.1158467.1423921858302.JavaMail.yahoo@...3424...> Hey Bruce, have a look at this link for a anaolg gauge html server. \ RegardsMike Gauges | ? | | ? | | ? | ? | ? | ? | ? | | GaugesController Channel: Switch Cancel Status: | | | | View on demo.crossbar.io | Preview by Yahoo | | | | ? | RegardsMike On Saturday, 14 February 2015, 12:07, Dimitris Anogiatis wrote: Hey Bruce, In addition to all the good suggestions everyone is throwing in the problem, you could use a CouchDB database on a different server and just connect to it with a normal http connection if you're worried about file hits on the sd card. Gambas supports JSON and the httpclient component should work just fine for what you want it to do. Hope this helps, Dimitris On Fri, Feb 13, 2015 at 7:04 PM, Beno?t Minisini < gambas at ...1...> wrote: > Le 13/02/2015 21:35, Bruce Cunningham a ?crit : > > Caveat, > > > > Thanks for the info. > > > > I'm a little concerned about using a "disk" based database because > > the disk is flash, which has a limited number of write cycles.? Even > > with wear-leveling, I would eventually kill parts of the flash.? I > > don't want these things dropping dead in the field after a year or > > so... > > > > I was considering something like named pipes, but I'm a little > > unclear about how Linux actually handles them.? I thought I saw a > > mention that they are managed via temporary files within the file > > system, and that would defeat the whole idea of not writing to disk. > > > > I know how to do interprocess communication in Windows, but not in > > Linux with Gambas. > > > > Bruce > > > > Bruce Cunningham bcunningham at ...3336... > > > > You can use a named pipe : you create the node on the disk once (if you > don't want to ruin the flash). All the data exchange will be done in > memory by the system. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From mike.crean at ...2897... Sat Feb 14 15:00:45 2015 From: mike.crean at ...2897... (Mike Crean) Date: Sat, 14 Feb 2015 14:00:45 +0000 (UTC) Subject: [Gambas-user] A couple of questions about building web / cgi applications In-Reply-To: <234649457.1158467.1423921858302.JavaMail.yahoo@...3424...> References: <234649457.1158467.1423921858302.JavaMail.yahoo@...3424...> Message-ID: <375316534.1196829.1423922445132.JavaMail.yahoo@...3424...> Bruce this is the link Mike Gaugeshttps://demo.crossbar.io/demo/gauges/index.html | ? | | ? | | ? | ? | ? | ? | ? | | GaugesController Channel: Switch Cancel Status: | | | | View on demo.crossbar.io | Preview by Yahoo | | | | ? | ? On Saturday, 14 February 2015, 21:51, Mike Crean wrote: Hey Bruce, have a look at this link for a anaolg gauge html server. \ RegardsMike Gauges | ? | | ? |? | ? | ? | ? | ? | ? | | GaugesController Channel: Switch Cancel Status:? | |? | | View on demo.crossbar.io | Preview by Yahoo | |? | | ? | RegardsMike ? ? On Saturday, 14 February 2015, 12:07, Dimitris Anogiatis wrote: ? Hey Bruce, In addition to all the good suggestions everyone is throwing in the problem, you could use a CouchDB database on a different server and just connect to it with a normal http connection if you're worried about file hits on the sd card. Gambas supports JSON and the httpclient component should work just fine for what you want it to do. Hope this helps, Dimitris On Fri, Feb 13, 2015 at 7:04 PM, Beno?t Minisini < gambas at ...1...> wrote: > Le 13/02/2015 21:35, Bruce Cunningham a ?crit : > > Caveat, > > > > Thanks for the info. > > > > I'm a little concerned about using a "disk" based database because > > the disk is flash, which has a limited number of write cycles.? Even > > with wear-leveling, I would eventually kill parts of the flash.? I > > don't want these things dropping dead in the field after a year or > > so... > > > > I was considering something like named pipes, but I'm a little > > unclear about how Linux actually handles them.? I thought I saw a > > mention that they are managed via temporary files within the file > > system, and that would defeat the whole idea of not writing to disk. > > > > I know how to do interprocess communication in Windows, but not in > > Linux with Gambas. > > > > Bruce > > > > Bruce Cunningham bcunningham at ...3336... > > > > You can use a named pipe : you create the node on the disk once (if you > don't want to ruin the flash). All the data exchange will be done in > memory by the system. > > Regards, > > -- > Beno?t Minisini > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user ? ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From taboege at ...626... Sat Feb 14 15:19:06 2015 From: taboege at ...626... (Tobias Boege) Date: Sat, 14 Feb 2015 15:19:06 +0100 Subject: [Gambas-user] VarPtr() on array syntax Message-ID: <20150214141906.GA865@...2774...> Hi Benoit, in bug #589, comment #6, [0] you wrote that the C code interface = PMD_Find_Inteface ( &hid[i], i, USB1608FS_PID); would translate to Const USB1608FS_PID As Integer = &H007D& ' from usb_1608FS.h ... PMD_Find_Interface(VarPtr(Hid[I]), I, USB1608FS_PID) (Yes, we're still trying to solve this problem and the ones around it in the German Gambas forum where it was initially posted.) But VarPtr() apparently cannot handle the array syntax used in its argument, as it "takes only one identifier". See attached script which also contains a good workaround. Regards, Tobi [0] https://code.google.com/p/gambas/issues/detail?id=589 -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- #!/usr/bin/gbs3 Extern inet_aton(Ip As String, AddrOut As Pointer) As Integer In "libc:6" Public Sub Main() Dim aIp As String[] = ["8.8.8.8", "192.168.1.1"] Dim aAddr As New Integer[2] Dim iAddr As Integer Dim iInd As Integer For iInd = 0 To aIp.Max #If True Debug "inet_aton =";; inet_aton(aIp[iInd], VarPtr(aAddr[iInd])) #Else Debug "inet_aton =";; inet_aton(aIp[iInd], VarPtr(iAddr)) aAddr[iInd] = iAddr #Endif Next Debug Hex$(aAddr[0]), Hex$(aAddr[1]) End From taboege at ...626... Sat Feb 14 15:31:04 2015 From: taboege at ...626... (Tobias Boege) Date: Sat, 14 Feb 2015 15:31:04 +0100 Subject: [Gambas-user] Scripter swallows #Endif? Message-ID: <20150214143104.GB865@...2774...> Hi Benoit, the scripter seems to have a problem when #Endif is the last line in a script. This is the source code I consider: #If True Public Sub Main() Print "True is true" End #Else Public Sub Main() Print "True is false" End #Endif If this is inside a Gambas project, it will compile and execute perfectly. But if this is inside a script file, I get: $ ./endif-script.gbs3 MMain.module:20:2: error: Missing #Endif # Gambas Project File 3.0 Title=Gambas Script Startup=MMain ' Gambas module file #If True Public Sub Main() Print "True is true" End #Else Public Sub Main() Print "True is false" End Indeed, the #Endif is missing in the output, but not in the sources. As you can see in the script I sent along with the mail about "VarPtr() on array syntax" a few minutes ago, this does not happen when #Endif is not the last line in the script. To summarise: | Scripter | Without scripter ---------------+------------+-------------------- Last line | Not OK | OK Not last line | OK | OK Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: endif-project-0.0.1.tar.gz Type: application/octet-stream Size: 3718 bytes Desc: not available URL: -------------- next part -------------- #!/usr/bin/gbs3 #If True Public Sub Main() Print "True is true" End #Else Public Sub Main() Print "True is false" End #Endif From Karl.Reinl at ...2345... Sat Feb 14 17:42:30 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Sat, 14 Feb 2015 17:42:30 +0100 Subject: [Gambas-user] Custom Eval (was Re: The new Border class) In-Reply-To: References: <54A9DB16.3000105@...1...> <54AAC64C.8020805@...1...> <54AAFBF3.3090105@...1...> <1423345285.3460.26.camel@...40...> <1423426540.3413.14.camel@...40...> Message-ID: <1423932150.3715.21.camel@...40...> Am Sonntag, den 08.02.2015, 21:39 +0100 schrieb Fabien Bodard: > Dim ccol As Collection = ["Nr": 2, "Page_2": 8] > > Print Eval(Eval("\"Page_\" & Nr", ccol), ccol) > > This work for me ... > > My feature request is for use in case like spreadheet, report fields, > but also user small exten script. WIth this abilities they will > be able to interact on the application work in a restricted space. > > 2015-02-08 21:15 GMT+01:00 Charlie Reinl : > > Am Sonntag, den 08.02.2015, 14:46 +0100 schrieb Fabien Bodard: > >> oups i missed for the first one : > >> iResult = MyCol[eval("Sum_of_Value_page_" & CStr(Page_Nr), myCol)] > >> > >> 2015-02-08 14:45 GMT+01:00 Fabien Bodard : > >> > ??? > >> > If I summarize what i see I can answer : > >> > > >> > iResult = MyCol[eval(eval("Sum_of_Value_page_" & CStr(Page_Nr), myCol)] > >> > > >> > or simply > >> > > >> > iResult = MyCol["Sum_of_Value_page_" & CStr(MyCol["Page_Nr"])] > >> > > >> > Well if you have a point where you fill myCol so no need to store : > >> > > >> > iResult = MyCol["Sum_of_Value_page_" & iPage] > >> > > >> > > >> > BUT ... I'm not sure it was the goal of your query, so please be more > >> > precise or give an example. :-) > >> > > >> > 2015-02-07 22:41 GMT+01:00 Charlie Reinl : > >> >> Am Montag, den 05.01.2015, 22:16 +0100 schrieb Fabien Bodard: > >> >>> 2015-01-05 22:02 GMT+01:00 Beno?t Minisini : > >> >>> > Le 05/01/2015 21:46, Fabien Bodard a ?crit : > >> >>> >>> What do you mean? > >> >>> >>> > >> >>> >>> -- > >> >>> >>> Beno?t Minisini > >> >>> >> > >> >>> >> I think about a tool that will be able to interpret inline formulas > >> >>> >> like in a spreedsheet. > >> >>> >> > >> >>> >> i have done something like that for playing myself but i'm not a > >> >>> >> specialist of interpreters like you. > >> >>> >> > >> >>> >> for example : > >> >>> >> > >> >>> >> =Myvar1 + 3 *(3*myvar2) > >> >>> >> =MYFUNCTION(myvar1; myvar2) + MyVar3 > >> >>> >> > >> >>> >> the function can be initialised for example like > >> >>> >> > >> >>> >> Interpret.Function.Add("MYFunction", nbreArgs, typeRetVal) > >> >>> >> > >> >>> >> And will call Public Sub Interpret_MyFunction(Arg1 as variant, arg2 as > >> >>> >> variant,...) as variant > >> >>> >> > >> >>> >> A Special Event will query the vars values : Public Sub > >> >>> >> Interpret_GetVar(sVarName as string) as Variant > >> >>> >> > >> >>> >> All the stuff of the interpreter will be to manage conditionnal > >> >>> >> requirement and calculate values or concatenate strings. So this tool > >> >>> >> will be usefull for user level programmation. > >> >>> >> Like in spreadsheet or in reports formulas. It can be extended near to > >> >>> >> unlimited. Some functions can be hardcoded like mathematical ones. > >> >>> >> Others are depend of the context so must be implemented for each > >> >>> >> widget or component. It's not the fastest way to make compute but the > >> >>> >> most flexible. > >> >>> >> > >> >>> >> I hope my english is not inapprehensible > >> >>> >> > >> >>> > > >> >>> > If I understand well, you need some sort of custom Eval(). > >> >>> > > >> >>> > More precisely, I think what you need is a Gambas hook inside the reader > >> >>> > part of Eval() (the first part of its internal compiler) where you tell > >> >>> > how to translate any symbol into a Gambas function or a call to a method > >> >>> > into one of your classes, everything else being forbidden. > >> >>> > > >> >>> > That way, you keep the Gambas syntax, except that all function names are > >> >>> > redefined, and every interpreter class is forbidden except the one you > >> >>> > allow explicitly. > >> >>> > >> >>> Yes it can be the idea. But can it be compatible with 'STANDARD' > >> >>> formulas style too ? were separtors are ';'... > >> >>> > >> >>> But your idea will be a great step too and i think you have understand > >> >>> the back of my mind. > >> >>> > >> >>> > >> >>> > >> >>> > > >> >>> > Just an idea... > >> >>> > > >> >>> > -- > >> >>> > Beno?t Minisini > >> >> > >> >> Salut Beno?t, > >> >> > >> >> searching something for my problem, I found this mail. What I need is > >> >> something you describe as "Gambas hook inside the reader part of > >> >> Eval()". > >> >> In my Collection passed to eval, I have "Sum_of_Value_page_1" to > >> >> "Sum_of_Value_page_35" and the "Page_Nr". Now for picking the right > >> >> value I need the eval("Sum_of_Value_page_" & CStr(Page_Nr), myCol). > >> >> Done like that, I get "Sum_of_Value_page_1" to "Sum_of_Value_page_35" as > >> >> return. That is nice, but I want the result of that, stored in myCol. > >> >> > >> >> Thought I could resolve that with a public function called by eval > >> >> failed also. > >> >> "Public Function Sum(sFiledName as string) as Variant" isn't cal Salut Fabien, ok, so we have both the same problem. Because if I code that I do not need two Eval. The string going to Eval comes from outside But, using your example, that could look like that: doit("Eval(\"\"Page_\" & Nr \", ccol)") sub doit(sAM As String) Dim ccol As Collection = ["Nr": 2, "Page_2": 8] Print Eval(sAM, ccol) end 1. the user do not know anything about ccol, and will have to enter the String, which is here set to sAM. And I'm d'accore with you, what you wrote about your feature request. I need that for the same case "user small extended scripts" > led. > >> >> > >> >> So I need that what you call "Gambas hook inside the reader part of > >> >> Eval()".... Or something that works like I know from Clipper, called > >> >> Code-Blocks. Search I-net for "clipper code blocks" > >> >> > >> >> > >> >> > >> >> > >> >> -- > >> >> Amicalement > >> >> Charlie > > > > Salut Fabien, > > > > thanks for your responding, but my problem is not, to get any results > > out of a collection or I can't create the key out of a String + page. > > My problem is that I can't do that with 'Eval' like it is actually. > > To explain, I use eval for my 'computed fields'. Till now no problems > > with. In the Collection, I use with Eval all what I need is stored. > > So when I call Eval("Page_Nr", myCol) , I get a number. With > > Eval("Sum_of_Value_page_2", myCol) I get the value stored behind that > > key. > > But with Eval("Sum_of_Value_page_" & CStr("Page_Nr"), myCol) I get only > > "Sum_of_Value_page_" & CStr("Page_Nr"). I'v tried varies things, > > included evals etc, no way, for that I stepped into your feature > > request. > > -- > > Amicalement > > Charlie > > Salut Fabien, ok, so we have both the same problem. Because if I code that I do not need two Eval. The string going to Eval comes from outside But, using your example, that could look like that: doMyJob("Eval(\"\"Page_\" & Nr \", ccol)") sub doMyJob(sAM As String) Dim ccol As Collection = ["Nr": 2, "Page_2": 8] Print Eval(sAM, ccol) end 1. the user do not know anything about ccol, and will have to enter the String, which is here passed to doMyJob And I'm d'accore with you, what you wrote about your feature request. I need that for the same case "user small extended scripts" Did not find a French "clipper code blocks" version. But have a look at these pages. http://www.itlnet.net/programming/program/Reference/c53g01c/ng418f5.html https://vivaclipper.files.wordpress.com/2012/12/code-block-basics.pdf or google : clipper code blocks Those anonymous methods is what we need. -- Amicalement Charlie From gambas.fr at ...626... Sat Feb 14 23:19:26 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 14 Feb 2015 23:19:26 +0100 Subject: [Gambas-user] Scripter swallows #Endif? In-Reply-To: <20150214143104.GB865@...2774...> References: <20150214143104.GB865@...2774...> Message-ID: Well the bug is because the gbs compiler search for the END keyword to delimit a class or the main content. I need to find a way to consider the #IF - #ENDIF 2015-02-14 15:31 GMT+01:00 Tobias Boege : > Hi Benoit, > > the scripter seems to have a problem when #Endif is the last line in a > script. This is the source code I consider: > > #If True > Public Sub Main() > Print "True is true" > End > #Else > Public Sub Main() > Print "True is false" > End > #Endif > > If this is inside a Gambas project, it will compile and execute perfectly. > But if this is inside a script file, I get: > > $ ./endif-script.gbs3 > MMain.module:20:2: error: Missing #Endif > > # Gambas Project File 3.0 > Title=Gambas Script > Startup=MMain > > ' Gambas module file > > #If True > Public Sub Main() > Print "True is true" > End > > #Else > Public Sub Main() > Print "True is false" > End > > > Indeed, the #Endif is missing in the output, but not in the sources. As you > can see in the script I sent along with the mail about "VarPtr() on array > syntax" a few minutes ago, this does not happen when #Endif is not the last > line in the script. To summarise: > > | Scripter | Without scripter > ---------------+------------+-------------------- > Last line | Not OK | OK > Not last line | OK | OK > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From gambas at ...2524... Mon Feb 16 11:22:35 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Mon, 16 Feb 2015 10:22:35 +0000 Subject: [Gambas-user] Issue 604 in gambas: a shared library shouldn't call exit or _exit Message-ID: <0-6813199134517018827-3079295503749811234-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 604 by costamag... at ...626...: a shared library shouldn't call exit or _exit https://code.google.com/p/gambas/issues/detail?id=604 Some examples of shared libraries that calls exit or _exit functions: N: Processing binary package gambas3-gb-desktop-x11 (version 3.6.2-1, arch amd64) ... X: gambas3-gb-desktop-x11: shlib-calls-exit usr/lib/gambas3/gb.desktop.x11.so.0.0.0 X: gambas3-gb-sdl: shlib-calls-exit usr/lib/gambas3/gb.sdl.so.0.0.0 X: gambas3-runtime: shlib-calls-exit usr/lib/gambas3/gb.debug.so.0.0.0 X: gambas3-runtime: shlib-calls-exit usr/lib/gambas3/gb.eval.so.0.0.0 N: N: The listed shared library calls the C library exit() or _exit() N: functions. N: N: In the case of an error, the library should instead return an N: appropriate error code to the calling program which can then determine N: how to handle the error, including performing any required clean-up. N: N: In most cases, removing the call should be discussed with upstream, N: particularly as it may produce an ABI change. N: N: Severity: wishlist, Certainty: possible N: N: Check: shared-libs, Type: binary, udeb N: N: This tag is marked experimental, which means that the code that N: generates it is not as well-tested as the rest of Lintian and might N: still give surprising results. Feel free to ignore experimental tags N: that do not seem to make sense, though of course bug reports are always N: welcome. N: there is also a typo in the source code: grep writting . -R ./gb.v4l/src/CWebcam.c: GB.Error("Unable to open file for writting"); ./gb.v4l/src/CWebcam.c: GB.Error("Unable to open file for writting"); thanks! Gianfranco -- 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.fr at ...626... Tue Feb 17 17:04:05 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 17 Feb 2015 17:04:05 +0100 Subject: [Gambas-user] Ping Message-ID: Ping From jussi.lahtinen at ...626... Tue Feb 17 18:20:09 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 17 Feb 2015 19:20:09 +0200 Subject: [Gambas-user] Ping In-Reply-To: References: Message-ID: Pong Jussi On Tue, Feb 17, 2015 at 6:04 PM, Fabien Bodard wrote: > Ping > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > > http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From tkoeller at ...626... Tue Feb 17 19:06:18 2015 From: tkoeller at ...626... (Tim Koeller gmail) Date: Tue, 17 Feb 2015 13:06:18 -0500 Subject: [Gambas-user] Ping In-Reply-To: References: Message-ID: Pang On Feb 17, 2015 12:21 PM, "Jussi Lahtinen" wrote: > Pong > > > Jussi > > On Tue, Feb 17, 2015 at 6:04 PM, Fabien Bodard > wrote: > > > Ping > > > > > ------------------------------------------------------------------------------ > > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > > with Interactivity, Sharing, Native Excel Exports, App Integration & more > > Get technology previously reserved for billion-dollar corporations, FREE > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > > http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Tue Feb 17 21:35:31 2015 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 17 Feb 2015 22:35:31 +0200 Subject: [Gambas-user] Ping In-Reply-To: References: Message-ID: Pang? Oh damn, sounds like the list is broken again. Jussi On Tue, Feb 17, 2015 at 8:06 PM, Tim Koeller gmail wrote: > Pang > On Feb 17, 2015 12:21 PM, "Jussi Lahtinen" > wrote: > > > Pong > > > > > > Jussi > > > > On Tue, Feb 17, 2015 at 6:04 PM, Fabien Bodard > > wrote: > > > > > Ping > > > > > > > > > ------------------------------------------------------------------------------ > > > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > > > from Actuate! Instantly Supercharge Your Business Reports and > Dashboards > > > with Interactivity, Sharing, Native Excel Exports, App Integration & > more > > > Get technology previously reserved for billion-dollar corporations, > FREE > > > > > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > ------------------------------------------------------------------------------ > > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > > with Interactivity, Sharing, Native Excel Exports, App Integration & more > > Get technology previously reserved for billion-dollar corporations, FREE > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > > http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From Karl.Reinl at ...2345... Tue Feb 17 21:56:22 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Tue, 17 Feb 2015 21:56:22 +0100 Subject: [Gambas-user] Ping In-Reply-To: References: Message-ID: <1424206582.3622.2.camel@...40...> don't worry, broken lists sounds like 'pluk', you remember, short, dry and no echo, just 'pluk' Am Dienstag, den 17.02.2015, 22:35 +0200 schrieb Jussi Lahtinen: > Pang? > Oh damn, sounds like the list is broken again. > > > Jussi > > On Tue, Feb 17, 2015 at 8:06 PM, Tim Koeller gmail > wrote: > > > Pang > > On Feb 17, 2015 12:21 PM, "Jussi Lahtinen" > > wrote: > > > > > Pong > > > > > > > > > Jussi > > > > > > On Tue, Feb 17, 2015 at 6:04 PM, Fabien Bodard > > > wrote: > > > > > > > Ping > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > > > > from Actuate! Instantly Supercharge Your Business Reports and > > Dashboards > > > > with Interactivity, Sharing, Native Excel Exports, App Integration & > > more > > > > Get technology previously reserved for billion-dollar corporations, > > FREE > > > > > > > > > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > > > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > > > with Interactivity, Sharing, Native Excel Exports, App Integration & more > > > Get technology previously reserved for billion-dollar corporations, FREE > > > > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > ------------------------------------------------------------------------------ > > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > > with Interactivity, Sharing, Native Excel Exports, App Integration & more > > Get technology previously reserved for billion-dollar corporations, FREE > > > > http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From zachsmith022 at ...626... Tue Feb 17 22:15:15 2015 From: zachsmith022 at ...626... (zachsmith022 at ...626...) Date: Tue, 17 Feb 2015 16:15:15 -0500 Subject: [Gambas-user] [CRASH REPORT] Webview control Message-ID: <54E3AF63.9060705@...626...> Hello, Damned, my program crashed Gambas that way : While running in the IDE, press the '1' key and the program crashes. Using the latest trunk. -------------- next part -------------- A non-text attachment was scrubbed... Name: test53-0.0.1-crash-150217-161012.tar.bz2 Type: application/x-bzip Size: 5660 bytes Desc: not available URL: From gambas at ...2524... Tue Feb 17 23:20:09 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 17 Feb 2015 22:20:09 +0000 Subject: [Gambas-user] Issue 604 in gambas: a shared library shouldn't call exit or _exit In-Reply-To: <0-6813199134517018827-3079295503749811234-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-3079295503749811234-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-3079295503749811234-gambas=googlecode.com@...2524...> Updates: Status: WontFix Labels: -Version Version-TRUNK Comment #1 on issue 604 by benoit.m... at ...626...: a shared library shouldn't call exit or _exit https://code.google.com/p/gambas/issues/detail?id=604 Take that as false positives. Calling exit() or _exit() in a Gambas component is not a problem at all, because they are not system shared libraries: no other program than the gambas interpreter will use them. The typo has been fixed. Don't mix different problems in the same issue! -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...1... Tue Feb 17 23:20:58 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Tue, 17 Feb 2015 23:20:58 +0100 Subject: [Gambas-user] VarPtr() on array syntax In-Reply-To: <20150214141906.GA865@...2774...> References: <20150214141906.GA865@...2774...> Message-ID: <54E3BECA.1050308@...1...> Le 14/02/2015 15:19, Tobias Boege a ?crit : > Hi Benoit, > > in bug #589, comment #6, [0] you wrote that the C code > > interface = PMD_Find_Inteface ( &hid[i], i, USB1608FS_PID); > > would translate to > > Const USB1608FS_PID As Integer = &H007D& ' from usb_1608FS.h > ... > PMD_Find_Interface(VarPtr(Hid[I]), I, USB1608FS_PID) > > (Yes, we're still trying to solve this problem and the ones around it in the > German Gambas forum where it was initially posted.) > > But VarPtr() apparently cannot handle the array syntax used in its argument, > as it "takes only one identifier". See attached script which also contains a > good workaround. > > Regards, > Tobi > > [0] https://code.google.com/p/gambas/issues/detail?id=589 > Yes, of course. I don't know why I thought VarPtr() could be dynamic... -- Beno?t Minisini From tkoeller at ...626... Tue Feb 17 23:30:17 2015 From: tkoeller at ...626... (Tim Koeller gmail) Date: Tue, 17 Feb 2015 17:30:17 -0500 Subject: [Gambas-user] Ping In-Reply-To: <1424206582.3622.2.camel@...40...> References: <1424206582.3622.2.camel@...40...> Message-ID: Maybe the list is just a little out of tune. :-) On Feb 17, 2015 3:57 PM, "Charlie Reinl" wrote: > don't worry, broken lists sounds like 'pluk', you remember, short, dry > and no echo, just 'pluk' > > > Am Dienstag, den 17.02.2015, 22:35 +0200 schrieb Jussi Lahtinen: > > Pang? > > Oh damn, sounds like the list is broken again. > > > > > > Jussi > > > > On Tue, Feb 17, 2015 at 8:06 PM, Tim Koeller gmail > > wrote: > > > > > Pang > > > On Feb 17, 2015 12:21 PM, "Jussi Lahtinen" > > > wrote: > > > > > > > Pong > > > > > > > > > > > > Jussi > > > > > > > > On Tue, Feb 17, 2015 at 6:04 PM, Fabien Bodard > > > > wrote: > > > > > > > > > Ping > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > > > > > from Actuate! Instantly Supercharge Your Business Reports and > > > Dashboards > > > > > with Interactivity, Sharing, Native Excel Exports, App Integration > & > > > more > > > > > Get technology previously reserved for billion-dollar corporations, > > > FREE > > > > > > > > > > > > > > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk > > > > > _______________________________________________ > > > > > Gambas-user mailing list > > > > > Gambas-user at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > > > > from Actuate! Instantly Supercharge Your Business Reports and > Dashboards > > > > with Interactivity, Sharing, Native Excel Exports, App Integration & > more > > > > Get technology previously reserved for billion-dollar corporations, > FREE > > > > > > > > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > Gambas-user at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > ------------------------------------------------------------------------------ > > > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > > > from Actuate! Instantly Supercharge Your Business Reports and > Dashboards > > > with Interactivity, Sharing, Native Excel Exports, App Integration & > more > > > Get technology previously reserved for billion-dollar corporations, > FREE > > > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk > > > _______________________________________________ > > > Gambas-user mailing list > > > Gambas-user at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > ------------------------------------------------------------------------------ > > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > > with Interactivity, Sharing, Native Excel Exports, App Integration & more > > Get technology previously reserved for billion-dollar corporations, FREE > > > http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > > http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...2524... Tue Feb 17 23:56:40 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 17 Feb 2015 22:56:40 +0000 Subject: [Gambas-user] Issue 604 in gambas: a shared library shouldn't call exit or _exit In-Reply-To: <1-6813199134517018827-3079295503749811234-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-3079295503749811234-gambas=googlecode.com@...2524...> <0-6813199134517018827-3079295503749811234-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-3079295503749811234-gambas=googlecode.com@...2524...> Comment #2 on issue 604 by costamag... at ...626...: a shared library shouldn't call exit or _exit https://code.google.com/p/gambas/issues/detail?id=604 wonderful thanks! so the question now is: please do not provide SONAME for libraries! this seems wrong to me, and debian of course gives a warning about useless calls to ldconfig. if they are internal I don't think they should have a SONAME. (I might be wrong, I don't deeply know the package) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Wed Feb 18 01:01:57 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 18 Feb 2015 00:01:57 +0000 Subject: [Gambas-user] Issue 604 in gambas: a shared library shouldn't call exit or _exit In-Reply-To: <2-6813199134517018827-3079295503749811234-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-3079295503749811234-gambas=googlecode.com@...2524...> <0-6813199134517018827-3079295503749811234-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-3079295503749811234-gambas=googlecode.com@...2524...> Comment #3 on issue 604 by benoit.m... at ...626...: a shared library shouldn't call exit or _exit https://code.google.com/p/gambas/issues/detail?id=604 Do you know how I can make shared libraries, install them in /usr/lib/gambas3 without providing SONAME? It would help... -- 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... Wed Feb 18 02:03:16 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Wed, 18 Feb 2015 02:03:16 +0100 Subject: [Gambas-user] Possible IDE enhancement In-Reply-To: <54DBF44B.70105@...1...> References: <20150212102550.e7c58c6a1c1425695129e982@...626...> <54DBF44B.70105@...1...> Message-ID: <54E3E4D4.4020708@...1...> Le 12/02/2015 01:31, Beno?t Minisini a ?crit : > Le 12/02/2015 00:55, adamnt42 at ...626... a ?crit : >> Hi guys, >> >> I have had a bit of a try at implementing this in our local IDE with >> no joy, so I thought I'd throw the idea open to the experts. >> >> When running in debug mode and displaying an object properties popup, >> I'd like to be able to select a property in the list and add it to the >> current watchlist. >> >> For example, in the attached pic, I'd like to add >> TreeView1.Current.Expanded to the watchlist. >> >> Over to you. >> >> Bruce >> >> > > Good idea. > Done in revision #6901. Regards, -- Beno?t Minisini From Gemini at ...3439... Wed Feb 18 07:04:40 2015 From: Gemini at ...3439... (Jair Yunis) Date: Wed, 18 Feb 2015 07:04:40 +0100 Subject: [Gambas-user] Character movement game help Message-ID: Alohaaa :) I am working on a little game and just started creating the environment in which the chracter moves around, that creates itself randomly as it is discovered, now, the thing is i want to make it in this particular way, but makes the movement pretty much rough, any ideas on how to make it smoother??? avoid lag and staff??? The main for has only a Gridview (H455 x W483) and then 3 pictues (32 x 32) water.png, grass.png and forest.png added to data ' Gambas module file (var) Public posx As Integer Public posy As Integer Public teclas As Boolean ' Gambas class file Private $hConn As New Connection Private $res As Result Public Sub _new() End Public Sub Form_Open() GridView1.Columns.Count = 13 GridView1.Rows.Count = 13 GridView1.Columns.Width = 37 GridView1.Rows.Height = 35 GridView1.ScrollBar = 0 var.posx = 6 var.posy = 6 datab() End Public Procedure datab() Dim hTable As Table With $hConn .Type = "sqlite" .host = User.home .name = "" End With If Exist(User.home & "/test.sqlite") Then cargar() Else $hConn.Open $hConn.Databases.Add("test.sqlite") $hconn.Close $hconn.name = "test.sqlite" $hConn.Open hTable = $hConn.Tables.Add("sampleTable") hTable.Fields.Add("xy", db.String) hTable.Fields.Add("field", db.String) hTable.Fields.Add("step", db.String) hTable.Update earthtype() Endif End Public Procedure earthtype() Dim $Query As String Dim $Result As Result Dim $info As String Dim rTest As Result Dim xu As Integer Dim yu As Integer Dim cxy As String Dim fy As Integer Dim fx As Integer Dim alea As Integer Dim steper As String Dim nw As String Dim xuc As Integer xu = var.posx - 6 yu = var.posy - 6 xuc = xu 'Message.Info(cxy) For fy = 0 To 12 For fx = 0 To 12 cxy = xu & "-" & yu $Query = "select * from sampleTable where xy = '" & cxy & "'" $Result = $hconn.Exec($Query) If $Result.Count = 0 Then alea = Rnd(0, 100) Select alea Case 0 To 5 nw = "water.png" steper = "no" GridView1[fy, fx].Picture = Picture[nw] GridView1[fy, fx].Text = steper Case 6 To 10 nw = "forest.png" steper = "no" GridView1[fy, fx].Picture = Picture[nw] GridView1[fy, fx].Text = steper Case Else steper = "yes" nw = "grass.png" GridView1[fy, fx].Picture = Picture[nw] GridView1[fy, fx].Text = steper End Select $hconn.Begin rTest = $hConn.Create("sampleTable") rTest!xy = cxy rTest!field = nw rTest!step = steper rTest.Update $hConn.Commit Else $info = $Result!field GridView1[fy, fx].Picture = Picture[$info] $info = $Result!step GridView1[fy, fx].Text = $info Endif xu += 1 Next xu = xuc yu += 1 Next GridView1[6, 6].Picture = Picture["front.png"] End Public Sub form_KeyPress() If var.teclas = False Then Goto escapar var.teclas = False Select Key.Code Case Key.Left If GridView1[6, 5].Text = "yes" Then var.posx -= 1 Else Endif Case Key.Right If GridView1[6, 7].Text = "yes" Then var.posx += 1 Else Endif Case Key.Up If GridView1[5, 6].Text = "yes" Then var.posy -= 1 Else Endif Case Key.Down If GridView1[7, 6].Text = "yes" Then var.posy += 1 Else Endif End Select earthtype() escapar: End Public Procedure cargar() With $hConn .Type = "sqlite" .host = User.home .name = "test.sqlite" End With $hConn.Open earthtype() End Public Sub form_KeyRelease() var.teclas = True End From adamnt42 at ...626... Wed Feb 18 07:35:21 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Wed, 18 Feb 2015 17:05:21 +1030 Subject: [Gambas-user] Possible IDE enhancement In-Reply-To: <54E3E4D4.4020708@...1...> References: <20150212102550.e7c58c6a1c1425695129e982@...626...> <54DBF44B.70105@...1...> <54E3E4D4.4020708@...1...> Message-ID: <20150218170521.9b204a25a4b8d7fa21a5471c@...626...> On Wed, 18 Feb 2015 02:03:16 +0100 Beno?t Minisini wrote: > Le 12/02/2015 01:31, Beno?t Minisini a ?crit : > > Le 12/02/2015 00:55, adamnt42 at ...626... a ?crit : > >> Hi guys, > >> > >> I have had a bit of a try at implementing this in our local IDE with > >> no joy, so I thought I'd throw the idea open to the experts. > >> > >> When running in debug mode and displaying an object properties popup, > >> I'd like to be able to select a property in the list and add it to the > >> current watchlist. > >> > >> For example, in the attached pic, I'd like to add > >> TreeView1.Current.Expanded to the watchlist. > >> > >> Over to you. > >> > >> Bruce > >> > >> > > > > Good idea. > > > > Done in revision #6901. > > Regards, > > -- > Beno?t Minisini > Great! b -- B Bruen From kevinfishburne at ...1887... Wed Feb 18 08:50:43 2015 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Wed, 18 Feb 2015 02:50:43 -0500 Subject: [Gambas-user] Character movement game help In-Reply-To: References: Message-ID: <54E44453.9010202@...1887...> On 02/18/2015 01:04 AM, Jair Yunis wrote: > Alohaaa :) > > I am working on a little game and just started creating the environment in > which the chracter moves around, that creates itself randomly as it is > discovered, > now, the thing is i want to make it in this particular way, but makes the > movement pretty much rough, > any ideas on how to make it smoother??? avoid lag and staff??? > > The main for has only a Gridview (H455 x W483) > and then 3 pictues (32 x 32) water.png, grass.png and forest.png added to > data I would use the SDL and OpenGL components with orthogonal projection, which would make the graphics 2D and give you precise control over the size and placement of tiles/quads. The graphics code can remain distinct from the "main" code and yield smooth results by interpolating between "current" and "target" versions of key variables. I can provide code samples from my project if you need help "setting up" or using OpenGL in GAMBAS. For example: Public Screen As New Window As "Screen" ' Render window SDL surface. ' Create client's screen. With Screen .FullScreen = False '.Framerate = 60 .Resizable = False End With ' Show screen. Screen.Show ' Enable 2D textures. Gl.Enable(Gl.TEXTURE_2D) ' Set up alpha blending. Gl.Enable(Gl.BLEND) Gl.BlendFunc(Gl.SRC_ALPHA, Gl.ONE_MINUS_SRC_ALPHA) ' Set texture environment mode. Gl.TexEnvi(Gl.TEXTURE_ENV, Gl.TEXTURE_ENV_MODE, Gl.MODULATE) ' Enable backface culling. Gl.Enable(Gl.CULL_FACE) ' Set shading model. Gl.ShadeModel(Gl.SMOOTH) ' Enable lighting. Gl.Enable(Gl.LIGHTING) Gl.LightModelfv(Gl.LIGHT_MODEL_AMBIENT, [0, 0, 0, 0]) Gl.Enable(Gl.LIGHT0) ' Enable normal normalization so scaled objects are lit correctly. Gl.Enable(Gl.NORMALIZE) ' Set up the gamepad. PadDevice = Exec ["cat", "/dev/input/js0"] For Read As "Gamepad" ' Set audio channels. Channels.Count = 32 ' Play loading screen music. Music.Load("music/LOADING.wav") Music.Volume = 0.5 * MusicScale If PlayMusic Then Music.Play(0, 0) Public Sub SpritePixel(ScreenX As Integer, ScreenY As Integer, Width As Integer, Height As Integer, Centered As Boolean, SpriteScale As Integer) ' Draw specified sprite. ' Adjust position and size by sprite scale. ScreenX *= SpriteScale ScreenY *= SpriteScale Width *= SpriteScale Height *= SpriteScale ' Check if sprite is centered. If Centered Then ' Center sprite coordinates. ScreenX -= Width / 2 ScreenY -= Height / 2 Endif ' Create the textured quad. Gl.Begin(Gl.QUADS) ' Bottom-left vertex. Gl.TexCoord2f(0, 1) Gl.Vertex2f(ScreenX, ScreenY + Height) ' Bottom-right vertex. Gl.TexCoord2f(1, 1) Gl.Vertex2f(ScreenX + Width, ScreenY + Height) ' Top-right vertex. Gl.TexCoord2f(1, 0) Gl.Vertex2f(ScreenX + Width, ScreenY) ' Top-left vertex. Gl.TexCoord2f(0, 0) Gl.Vertex2f(ScreenX, ScreenY) Gl.End() End Hopefully this helps. I also have code to load textures from disk, convert them to OpenGL textures and map them to quads. I don't recommend using Qt or GTK objects for graphics; OpenGL is the way to go for consistency and control. -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From gambas.fr at ...626... Wed Feb 18 10:17:07 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 18 Feb 2015 10:17:07 +0100 Subject: [Gambas-user] Character movement game help In-Reply-To: <54E44453.9010202@...1887...> References: <54E44453.9010202@...1887...> Message-ID: A gridvew .. for a game ? well two ears ready to kevin. He is the boss here for games on Gambas ;-P 2015-02-18 8:50 GMT+01:00 Kevin Fishburne : > On 02/18/2015 01:04 AM, Jair Yunis wrote: >> Alohaaa :) >> >> I am working on a little game and just started creating the environment in >> which the chracter moves around, that creates itself randomly as it is >> discovered, >> now, the thing is i want to make it in this particular way, but makes the >> movement pretty much rough, >> any ideas on how to make it smoother??? avoid lag and staff??? >> >> The main for has only a Gridview (H455 x W483) >> and then 3 pictues (32 x 32) water.png, grass.png and forest.png added to >> data > > I would use the SDL and OpenGL components with orthogonal projection, > which would make the graphics 2D and give you precise control over the > size and placement of tiles/quads. The graphics code can remain distinct > from the "main" code and yield smooth results by interpolating between > "current" and "target" versions of key variables. I can provide code > samples from my project if you need help "setting up" or using OpenGL in > GAMBAS. For example: > > Public Screen As New Window As "Screen" ' Render window SDL surface. > > ' Create client's screen. > With Screen > .FullScreen = False > '.Framerate = 60 > .Resizable = False > End With > > ' Show screen. > Screen.Show > > ' Enable 2D textures. > Gl.Enable(Gl.TEXTURE_2D) > > ' Set up alpha blending. > Gl.Enable(Gl.BLEND) > Gl.BlendFunc(Gl.SRC_ALPHA, Gl.ONE_MINUS_SRC_ALPHA) > > ' Set texture environment mode. > Gl.TexEnvi(Gl.TEXTURE_ENV, Gl.TEXTURE_ENV_MODE, Gl.MODULATE) > > ' Enable backface culling. > Gl.Enable(Gl.CULL_FACE) > > ' Set shading model. > Gl.ShadeModel(Gl.SMOOTH) > > ' Enable lighting. > Gl.Enable(Gl.LIGHTING) > Gl.LightModelfv(Gl.LIGHT_MODEL_AMBIENT, [0, 0, 0, 0]) > Gl.Enable(Gl.LIGHT0) > > ' Enable normal normalization so scaled objects are lit correctly. > Gl.Enable(Gl.NORMALIZE) > > ' Set up the gamepad. > PadDevice = Exec ["cat", "/dev/input/js0"] For Read As "Gamepad" > > ' Set audio channels. > Channels.Count = 32 > > ' Play loading screen music. > Music.Load("music/LOADING.wav") > Music.Volume = 0.5 * MusicScale > If PlayMusic Then Music.Play(0, 0) > > Public Sub SpritePixel(ScreenX As Integer, ScreenY As Integer, Width As > Integer, Height As Integer, Centered As Boolean, SpriteScale As Integer) > > ' Draw specified sprite. > > ' Adjust position and size by sprite scale. > ScreenX *= SpriteScale > ScreenY *= SpriteScale > Width *= SpriteScale > Height *= SpriteScale > > ' Check if sprite is centered. > If Centered Then > ' Center sprite coordinates. > ScreenX -= Width / 2 > ScreenY -= Height / 2 > Endif > > ' Create the textured quad. > Gl.Begin(Gl.QUADS) > ' Bottom-left vertex. > Gl.TexCoord2f(0, 1) > Gl.Vertex2f(ScreenX, ScreenY + Height) > ' Bottom-right vertex. > Gl.TexCoord2f(1, 1) > Gl.Vertex2f(ScreenX + Width, ScreenY + Height) > ' Top-right vertex. > Gl.TexCoord2f(1, 0) > Gl.Vertex2f(ScreenX + Width, ScreenY) > ' Top-left vertex. > Gl.TexCoord2f(0, 0) > Gl.Vertex2f(ScreenX, ScreenY) > Gl.End() > > End > > Hopefully this helps. I also have code to load textures from disk, > convert them to OpenGL textures and map them to quads. I don't recommend > using Qt or GTK objects for graphics; OpenGL is the way to go for > consistency and control. > > -- > Kevin Fishburne > Eight Virtues > www: http://sales.eightvirtues.com > e-mail: sales at ...1887... > phone: (770) 853-6271 > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From Karl.Reinl at ...2345... Wed Feb 18 21:35:16 2015 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Wed, 18 Feb 2015 21:35:16 +0100 Subject: [Gambas-user] [Gambas-devel-svn] SF.net SVN: gambas:[6901] gambas/trunk/app/src/gambas3/.src/Debug In-Reply-To: References: Message-ID: <1424291716.3538.11.camel@...40...> Am Mittwoch, den 18.02.2015, 01:03 +0000 schrieb gambas at ...1...: > Revision: 6901 > http://sourceforge.net/p/gambas/code/6901 > Author: gambas > Date: 2015-02-18 01:02:59 +0000 (Wed, 18 Feb 2015) > Log Message: > ----------- > [DEVELOPMENT ENVIRONMENT] > * NEW: Add a popup menu on the debugger expression window that allows to > edit or watch the selected value. > Salut Beno?t, this is the first time I hear that we can change values during debug. Sorry, but since when exists that ? I totally missed that! -- Amicalement Charlie From gambas at ...1... Wed Feb 18 21:38:14 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Wed, 18 Feb 2015 21:38:14 +0100 Subject: [Gambas-user] [Gambas-devel-svn] SF.net SVN: gambas:[6901] gambas/trunk/app/src/gambas3/.src/Debug In-Reply-To: <1424291716.3538.11.camel@...40...> References: <1424291716.3538.11.camel@...40...> Message-ID: <54E4F836.50609@...1...> Le 18/02/2015 21:35, Charlie Reinl a ?crit : > Am Mittwoch, den 18.02.2015, 01:03 +0000 schrieb > gambas at ...1...: >> Revision: 6901 >> http://sourceforge.net/p/gambas/code/6901 >> Author: gambas >> Date: 2015-02-18 01:02:59 +0000 (Wed, 18 Feb 2015) >> Log Message: >> ----------- >> [DEVELOPMENT ENVIRONMENT] >> * NEW: Add a popup menu on the debugger expression window that allows to >> edit or watch the selected value. >> > > Salut Beno?t, > > this is the first time I hear that we can change values during debug. > Sorry, but since when exists that ? I totally missed that! > > I don't know, for years... -- Beno?t Minisini From gambas at ...2524... Thu Feb 19 15:15:53 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 19 Feb 2015 14:15:53 +0000 Subject: [Gambas-user] Issue 604 in gambas: a shared library shouldn't call exit or _exit In-Reply-To: <3-6813199134517018827-3079295503749811234-gambas=googlecode.com@...2524...> References: <3-6813199134517018827-3079295503749811234-gambas=googlecode.com@...2524...> <0-6813199134517018827-3079295503749811234-gambas=googlecode.com@...2524...> Message-ID: <4-6813199134517018827-3079295503749811234-gambas=googlecode.com@...2524...> Comment #4 on issue 604 by costamag... at ...626...: a shared library shouldn't call exit or _exit https://code.google.com/p/gambas/issues/detail?id=604 unfortunately I don't know how to fix this... :( G. -- 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.fr at ...626... Thu Feb 19 16:14:38 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 19 Feb 2015 16:14:38 +0100 Subject: [Gambas-user] [CRASH REPORT] Webview control In-Reply-To: <54E3AF63.9060705@...626...> References: <54E3AF63.9060705@...626...> Message-ID: well i have an error too but not this one... if i press more than one time the button1 then if i try to close the form then i have a crash. 2015-02-17 22:15 GMT+01:00 zachsmith022 at ...626... : > Hello, > > Damned, my program crashed Gambas that way : > > While running in the IDE, press the '1' key and the program crashes. > > Using the latest trunk. > > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From jusabejusabe at ...626... Fri Feb 20 17:50:26 2015 From: jusabejusabe at ...626... (Julio Sanchez) Date: Fri, 20 Feb 2015 17:50:26 +0100 Subject: [Gambas-user] Helptranslator: It is a tool that helps translate .po files Message-ID: Hello friends: I made a small tool to quickly translate .po files. You can download the visiting my blog: http://jsbsan.blogspot.com.es/2015/02/helptranslator-herramienta-para-ayudar.html I hope you find it useful. Regards Julio From taboege at ...626... Fri Feb 20 18:18:26 2015 From: taboege at ...626... (Tobias Boege) Date: Fri, 20 Feb 2015 18:18:26 +0100 Subject: [Gambas-user] Crash with Paint.PathExtents? Message-ID: <20150220171826.GC817@...2774...> Hi, the following project crashes after being started. I'm running the latest revision, of course, but I'm not sure about those crashes. Most recently (today morning I guess), I had another one from a gb.xml project, gb.report2 didn't install well a few minutes ago, I have already accumulated a vast amount of svn conflicts in my tree, etc. etc.. But maybe it's an actual bug. gdb says: (gdb) r Starting program: /usr/bin/gbx3 warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffa000 warning: Could not load shared library symbols for linux-vdso.so.1. Do you need "set solib-search-path" or "set sysroot"? [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". FMain.Form_Open.11: h: 0 0 10 10 FMain.Form_Open.18: g: 5 5 15 15 Program received signal SIGSEGV, Segmentation fault. 0x000000000040af71 in EXEC_native_quick () at gbx_exec.c:1234 1234 gbx_exec.c: No such file or directory. (gdb) bt #0 0x000000000040af71 in EXEC_native_quick () at gbx_exec.c:1234 #1 0x000000000040b87e in EXEC_native_check (defined=) at gbx_exec.c:1161 #2 0x0000000000437ec9 in EXEC_loop () at gbx_exec_loop.c:1150 #3 0x000000000040a515 in EXEC_function_loop () at gbx_exec.c:931 #4 0x000000000040abee in EXEC_function_real () at gbx_exec.c:895 #5 0x000000000040b9ea in EXEC_public_desc (class=, object=object at ...2861...=0x8945a8, desc=, nparam=nparam at ...2861...=0) at gbx_exec.c:1616 #6 0x000000000041f57f in raise_event (observer=observer at ...2861...=0x8945a8, object=object at ...2861...=0x8945a8, func_id=157, func_id at ...2861...=158, nparam=nparam at ...2861...=0) at gbx_api.c:896 #7 0x0000000000421136 in GB_Raise (object=0x8945a8, event_id=, nparam=0) at gbx_api.c:1032 #8 0x00007ffff61730a2 in emit_open_event (_object=0x8945a8) at CWindow.cpp:231 #9 0x00007ffff6175609 in Window_Show (_object=0x8945a8, _param=) at CWindow.cpp:670 #10 0x000000000040b3d3 in EXEC_native () at gbx_exec.c:1366 #11 0x000000000040b9a1 in EXEC_public_desc (class=, object=object at ...2861...=0x0, desc=desc at ...2861...=0x7ffff63b67d0 , nparam=nparam at ...2861...=0) at gbx_exec.c:1606 #12 0x0000000000404819 in main (argc=1, argv=0x7fffffffe728) at gbx.c:416 even before the window shows (which is also obvious from the bt). Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: extents-bug-0.0.1.tar.gz Type: application/octet-stream Size: 4037 bytes Desc: not available URL: From gambas at ...1... Fri Feb 20 20:59:58 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Fri, 20 Feb 2015 20:59:58 +0100 Subject: [Gambas-user] Crash with Paint.PathExtents? In-Reply-To: <20150220171826.GC817@...2774...> References: <20150220171826.GC817@...2774...> Message-ID: <54E7923E.1040307@...1...> Le 20/02/2015 18:18, Tobias Boege a ?crit : > Hi, > > the following project crashes after being started. > > I'm running the latest revision, of course, but I'm not sure about those > crashes. Most recently (today morning I guess), I had another one from a > gb.xml project, gb.report2 didn't install well a few minutes ago, I have > already accumulated a vast amount of svn conflicts in my tree, etc. etc.. > > But maybe it's an actual bug. gdb says: >... The bug is in the PaintExtents.Merge() method. I fixed it in revision #6903. Regards, -- Beno?t Minisini From taboege at ...626... Fri Feb 20 23:36:01 2015 From: taboege at ...626... (Tobias Boege) Date: Fri, 20 Feb 2015 23:36:01 +0100 Subject: [Gambas-user] Crash with Paint.PathExtents? In-Reply-To: <54E7923E.1040307@...1...> References: <20150220171826.GC817@...2774...> <54E7923E.1040307@...1...> Message-ID: <20150220223601.GD817@...2774...> On Fri, 20 Feb 2015, Beno?t Minisini wrote: > Le 20/02/2015 18:18, Tobias Boege a ?crit : > > Hi, > > > > the following project crashes after being started. > > > > I'm running the latest revision, of course, but I'm not sure about those > > crashes. Most recently (today morning I guess), I had another one from a > > gb.xml project, gb.report2 didn't install well a few minutes ago, I have > > already accumulated a vast amount of svn conflicts in my tree, etc. etc.. > > > > But maybe it's an actual bug. gdb says: > >... > > The bug is in the PaintExtents.Merge() method. I fixed it in revision #6903. > I confirm. Thanks. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From chrisml at ...3340... Sat Feb 21 01:12:28 2015 From: chrisml at ...3340... (Christof Thalhofer) Date: Sat, 21 Feb 2015 01:12:28 +0100 Subject: [Gambas-user] =?utf-8?q?Great_honor_to_Beno=C3=AEt_and_Gambas3?= Message-ID: <54E7CD6C.2090901@...3340...> Hello, now for about half a year I am programming in Gambas and slowly I am getting familiar with the system. Gambas is really phantastic! It is easy to program, easier than MS VBA (where I came from, and that was really easy to program), it has a beautiful IDE (in contrast to MS VBA) it avoids caveats I knew from VBA (especially error handling) but let me reuse a lot of code I have written for MS Access. Now I am with Linux and the code I write, is text, easy to handle with a VCS like Git! I love it! I tried out: Java, Python, FreePascal, Groovy. Gambas3 is the best! I am programming a database frontend for Postgresql for my firm under Debian/Ubuntu Linux, deploying software with Apt. So easy, so transparent, so cool. Thank you very, very much, Mr. Minisini. The only thing sometimes I am thinking about is: What ist the future of Gambas? Will it be an actual and reliable system in 10 or 20 years? I would like to contribute in the evolution of Gambas. I would like to promote Gambas. I would like to see it as another standard of programming GUI (especially database GUI) in Linux environments. How can I help? Can I help? Here are components I wrote for our software. https://github.com/Deganius/gb.deg.form DegComboBox is now really useful, but has an annoying bug I did not find a solution for but maybe someone else finds ...: https://github.com/Deganius/gb.deg.form/blob/master/TODO.md But back to topic: Again ? thank you Beno?t! Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From taboege at ...626... Sat Feb 21 15:48:20 2015 From: taboege at ...626... (Tobias Boege) Date: Sat, 21 Feb 2015 15:48:20 +0100 Subject: [Gambas-user] Paint.Extend* constants usable in gb.qt4? Message-ID: <20150221144820.GE817@...2774...> Hi Benoit, can we use the ExtendPad (or in general Extend*) constants from the Paint class in gb.qt4 somehow? I saw that gb.cairo's Cairo has similar constants and, as one would think, Cairo.ImagePattern() can take them. Not so with Paint.Image(). A Google search with site:gambaswiki.org -inurl:"l=" extendpad only showed 6 results, none of which shows any mention of *usage* of the Paint.Extend* constants, and grep didn't find anything in the Gambas components. Regards, Tobi PS: I hear people ask time and again if there is a search function in the wiki. As it seems the Google trick above is not convenient enough... Can we do something about it? -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Sat Feb 21 16:08:12 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 21 Feb 2015 16:08:12 +0100 Subject: [Gambas-user] Paint.Extend* constants usable in gb.qt4? In-Reply-To: <20150221144820.GE817@...2774...> References: <20150221144820.GE817@...2774...> Message-ID: <54E89F5C.20404@...1...> Le 21/02/2015 15:48, Tobias Boege a ?crit : > Hi Benoit, > > can we use the ExtendPad (or in general Extend*) constants from the Paint > class in gb.qt4 somehow? I saw that gb.cairo's Cairo has similar constants > and, as one would think, Cairo.ImagePattern() can take them. Not so with > Paint.Image(). QT4 does not support spread constants for image brushes, only for gradients. In other words, image brushes always use Paint.ExtendRepeat. > > A Google search with > > site:gambaswiki.org -inurl:"l=" extendpad > > only showed 6 results, none of which shows any mention of *usage* of the > Paint.Extend* constants, and grep didn't find anything in the Gambas > components. > > Regards, > Tobi > > PS: I hear people ask time and again if there is a search function in the > wiki. As it seems the Google trick above is not convenient enough... > Can we do something about it? > A google search box? Nothing is indexed on the server, and creating a search index is a big job. -- Beno?t Minisini From gambas at ...2524... Sat Feb 21 16:13:20 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Sat, 21 Feb 2015 15:13:20 +0000 Subject: [Gambas-user] Issue 605 in gambas: Gtk3 ScrollView badly arrange its children Message-ID: <0-6813199134517018827-7446243108206165217-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 605 by sot... at ...626...: Gtk3 ScrollView badly arrange its children https://code.google.com/p/gambas/issues/detail?id=605 1) Describe the problem. Having a ScrollView in which you insert (via code or in the IDE) a given number of children (toolbutton), they are incorrectly arranged whatever arrange metode you select. - Arrange.Horizontal: 1 row of children but not expanded to the ScrollView Hieght - Arrange.Vertical: no children visible. (note a column of dots on left margin of scrollview) - Arrange.Row: only 1 column of children. If you click a child the other appears magically. - Arrange.Column: as for Arrange.Row Component gb.gui/gb.gtk works properly 2) Give information about your system. Use the 'System information' menu in the Gambas IDE, and paste the result there. [System] Gambas=3.6.90 OperatingSystem=Linux Kernel=3.13.0-45-generic Architecture=x86_64 Distribution=Ubuntu 14.04.1 LTS Desktop=GNOME Theme=QGtk Language=it_IT.UTF-8 Memory=3833M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 3) Indicate the Gambas version in the issue labels, and if it is a bug, a crash, or an enhancement request. 4) Provide a little project that reproduces the bug or the crash. Attached scroll-0.0.1.tar.gz 5) If your project needs a database, try to provide it, or part of it. 6) Explain clearly how to reproduce the bug or the crash. Run the project. ____________________________________________________________ Attachments: scroll-0.0.1.tar.gz 4.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 taboege at ...626... Sat Feb 21 16:10:49 2015 From: taboege at ...626... (Tobias Boege) Date: Sat, 21 Feb 2015 16:10:49 +0100 Subject: [Gambas-user] Paint.Extend* constants usable in gb.qt4? In-Reply-To: <54E89F5C.20404@...1...> References: <20150221144820.GE817@...2774...> <54E89F5C.20404@...1...> Message-ID: <20150221151049.GF817@...2774...> On Sat, 21 Feb 2015, Beno?t Minisini wrote: > Le 21/02/2015 15:48, Tobias Boege a ?crit : > > Hi Benoit, > > > > can we use the ExtendPad (or in general Extend*) constants from the Paint > > class in gb.qt4 somehow? I saw that gb.cairo's Cairo has similar constants > > and, as one would think, Cairo.ImagePattern() can take them. Not so with > > Paint.Image(). > > QT4 does not support spread constants for image brushes, only for > gradients. In other words, image brushes always use Paint.ExtendRepeat. > Oh yes, and there it is, the Extend parameter! I should have searched for "Extend" instead of "ExtendPad"... > > > > A Google search with > > > > site:gambaswiki.org -inurl:"l=" extendpad > > > > only showed 6 results, none of which shows any mention of *usage* of the > > Paint.Extend* constants, and grep didn't find anything in the Gambas > > components. > > > > Regards, > > Tobi > > > > PS: I hear people ask time and again if there is a search function in the > > wiki. As it seems the Google trick above is not convenient enough... > > Can we do something about it? > > > > A google search box? Nothing is indexed on the server, and creating a > search index is a big job. > I'm sure a Google search box would be enough... if you have an idea how to get one. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Sat Feb 21 16:16:35 2015 From: taboege at ...626... (Tobias Boege) Date: Sat, 21 Feb 2015 16:16:35 +0100 Subject: [Gambas-user] A sentence in the PaintBrush documentation Message-ID: <20150221151635.GG817@...2774...> Benoit, while you're here, I have a second question. There is a sentence in the PaintBrush docs[0]: "Gradient brushes limits are not anti-aliased when they are scaled!" What does that mean? I have created a LinearGradient brush and scaled the user-space afterwards: the brush still paints smoothly. In another run, I scaled the brush-space afterwards: the brush also paints smoothly. When you answer, know that I'm not familiar with computer graphics routines and terminology. Regards, Tobi [0] http://gambaswiki.org/wiki/comp/gb.qt4/paintbrush -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Sat Feb 21 16:42:09 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 21 Feb 2015 16:42:09 +0100 Subject: [Gambas-user] A sentence in the PaintBrush documentation In-Reply-To: <20150221151635.GG817@...2774...> References: <20150221151635.GG817@...2774...> Message-ID: <54E8A751.7050405@...1...> Le 21/02/2015 16:16, Tobias Boege a ?crit : > Benoit, > > while you're here, I have a second question. There is a sentence in the > PaintBrush docs[0]: > > "Gradient brushes limits are not anti-aliased when they are scaled!" > > What does that mean? I have created a LinearGradient brush and scaled the > user-space afterwards: the brush still paints smoothly. In another run, I > scaled the brush-space afterwards: the brush also paints smoothly. It means what it means, at least the last time I looked. Try to draw a repeated linear gradient that is turned 45?. -- Beno?t Minisini From shordi at ...626... Sat Feb 21 16:45:58 2015 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Sat, 21 Feb 2015 16:45:58 +0100 Subject: [Gambas-user] =?utf-8?q?Great_honor_to_Beno=C3=AEt_and_Gambas3?= In-Reply-To: <54E7CD6C.2090901@...3340...> References: <54E7CD6C.2090901@...3340...> Message-ID: > But back to topic: Again ? thank you Beno?t! Amen!! 2015-02-21 1:12 GMT+01:00 Christof Thalhofer : > Hello, > > now for about half a year I am programming in Gambas and slowly I am > getting familiar with the system. Gambas is really phantastic! It is > easy to program, easier than MS VBA (where I came from, and that was > really easy to program), it has a beautiful IDE (in contrast to MS VBA) > it avoids caveats I knew from VBA (especially error handling) but let me > reuse a lot of code I have written for MS Access. Now I am with Linux > and the code I write, is text, easy to handle with a VCS like Git! I > love it! > > I tried out: Java, Python, FreePascal, Groovy. Gambas3 is the best! > > I am programming a database frontend for Postgresql for my firm under > Debian/Ubuntu Linux, deploying software with Apt. So easy, so > transparent, so cool. > > Thank you very, very much, Mr. Minisini. > > The only thing sometimes I am thinking about is: What ist the future of > Gambas? Will it be an actual and reliable system in 10 or 20 years? > > I would like to contribute in the evolution of Gambas. I would like to > promote Gambas. I would like to see it as another standard of > programming GUI (especially database GUI) in Linux environments. > > How can I help? Can I help? > > Here are components I wrote for our software. > https://github.com/Deganius/gb.deg.form > > DegComboBox is now really useful, but has an annoying bug I did not find > a solution for but maybe someone else finds ...: > > https://github.com/Deganius/gb.deg.form/blob/master/TODO.md > > But back to topic: Again ? thank you Beno?t! > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > > http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From gambas.fr at ...626... Sat Feb 21 17:28:28 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 21 Feb 2015 17:28:28 +0100 Subject: [Gambas-user] =?utf-8?q?Great_honor_to_Beno=C3=AEt_and_Gambas3?= In-Reply-To: References: <54E7CD6C.2090901@...3340...> Message-ID: You're welcome ... :-)... we need arms and minds For your component we will see if we can find a place for it .. i need to tst it before ... and understand what is it ;-)... maybe i can help 2015-02-21 16:45 GMT+01:00 Jorge Carri?n : >> But back to topic: Again ? thank you Beno?t! > > Amen!! > > 2015-02-21 1:12 GMT+01:00 Christof Thalhofer : > >> Hello, >> >> now for about half a year I am programming in Gambas and slowly I am >> getting familiar with the system. Gambas is really phantastic! It is >> easy to program, easier than MS VBA (where I came from, and that was >> really easy to program), it has a beautiful IDE (in contrast to MS VBA) >> it avoids caveats I knew from VBA (especially error handling) but let me >> reuse a lot of code I have written for MS Access. Now I am with Linux >> and the code I write, is text, easy to handle with a VCS like Git! I >> love it! >> >> I tried out: Java, Python, FreePascal, Groovy. Gambas3 is the best! >> >> I am programming a database frontend for Postgresql for my firm under >> Debian/Ubuntu Linux, deploying software with Apt. So easy, so >> transparent, so cool. >> >> Thank you very, very much, Mr. Minisini. >> >> The only thing sometimes I am thinking about is: What ist the future of >> Gambas? Will it be an actual and reliable system in 10 or 20 years? >> >> I would like to contribute in the evolution of Gambas. I would like to >> promote Gambas. I would like to see it as another standard of >> programming GUI (especially database GUI) in Linux environments. >> >> How can I help? Can I help? >> >> Here are components I wrote for our software. >> https://github.com/Deganius/gb.deg.form >> >> DegComboBox is now really useful, but has an annoying bug I did not find >> a solution for but maybe someone else finds ...: >> >> https://github.com/Deganius/gb.deg.form/blob/master/TODO.md >> >> But back to topic: Again ? thank you Beno?t! >> >> Alles Gute >> >> Christof Thalhofer >> >> -- >> Dies ist keine Signatur >> >> >> >> >> ------------------------------------------------------------------------------ >> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >> with Interactivity, Sharing, Native Excel Exports, App Integration & more >> Get technology previously reserved for billion-dollar corporations, FREE >> >> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From taboege at ...626... Sat Feb 21 17:52:29 2015 From: taboege at ...626... (Tobias Boege) Date: Sat, 21 Feb 2015 17:52:29 +0100 Subject: [Gambas-user] A sentence in the PaintBrush documentation In-Reply-To: <54E8A751.7050405@...1...> References: <20150221151635.GG817@...2774...> <54E8A751.7050405@...1...> Message-ID: <20150221165229.GH817@...2774...> On Sat, 21 Feb 2015, Beno?t Minisini wrote: > Le 21/02/2015 16:16, Tobias Boege a ?crit : > > Benoit, > > > > while you're here, I have a second question. There is a sentence in the > > PaintBrush docs[0]: > > > > "Gradient brushes limits are not anti-aliased when they are scaled!" > > > > What does that mean? I have created a LinearGradient brush and scaled the > > user-space afterwards: the brush still paints smoothly. In another run, I > > scaled the brush-space afterwards: the brush also paints smoothly. > > It means what it means, at least the last time I looked. Try to draw a > repeated linear gradient that is turned 45?. > Attached is a screenshot (with the code). Where is the effect supposed to show (or what is wrong in the code)? Also what does a "repeated linear gradient turned 45 degrees" have to do with "scaling" as mentioned in the docs? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: paint-gradient-limits.png Type: image/png Size: 12512 bytes Desc: not available URL: From gambas at ...1... Sat Feb 21 18:23:42 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 21 Feb 2015 18:23:42 +0100 Subject: [Gambas-user] A sentence in the PaintBrush documentation In-Reply-To: <20150221165229.GH817@...2774...> References: <20150221151635.GG817@...2774...> <54E8A751.7050405@...1...> <20150221165229.GH817@...2774...> Message-ID: <54E8BF1E.5050808@...1...> Le 21/02/2015 17:52, Tobias Boege a ?crit : > On Sat, 21 Feb 2015, Beno?t Minisini wrote: >> Le 21/02/2015 16:16, Tobias Boege a ?crit : >>> Benoit, >>> >>> while you're here, I have a second question. There is a sentence in the >>> PaintBrush docs[0]: >>> >>> "Gradient brushes limits are not anti-aliased when they are scaled!" >>> >>> What does that mean? I have created a LinearGradient brush and scaled the >>> user-space afterwards: the brush still paints smoothly. In another run, I >>> scaled the brush-space afterwards: the brush also paints smoothly. >> >> It means what it means, at least the last time I looked. Try to draw a >> repeated linear gradient that is turned 45?. >> > > Attached is a screenshot (with the code). Where is the effect supposed to > show (or what is wrong in the code)? Also what does a "repeated linear > gradient turned 45 degrees" have to do with "scaling" as mentioned in the > docs? > > Regards, > Tobi > Try with an end color different from the start color, for example [Color.Black, Color.White] and [0.0, 1.0]. Use another angle, for example 30?. And scale the brush with a brush matrix. Regards, -- Beno?t Minisini From taboege at ...626... Sat Feb 21 18:51:59 2015 From: taboege at ...626... (Tobias Boege) Date: Sat, 21 Feb 2015 18:51:59 +0100 Subject: [Gambas-user] A sentence in the PaintBrush documentation In-Reply-To: <54E8BF1E.5050808@...1...> References: <20150221151635.GG817@...2774...> <54E8A751.7050405@...1...> <20150221165229.GH817@...2774...> <54E8BF1E.5050808@...1...> Message-ID: <20150221175159.GI817@...2774...> On Sat, 21 Feb 2015, Beno?t Minisini wrote: > Le 21/02/2015 17:52, Tobias Boege a ?crit : > > On Sat, 21 Feb 2015, Beno?t Minisini wrote: > >> Le 21/02/2015 16:16, Tobias Boege a ?crit : > >>> Benoit, > >>> > >>> while you're here, I have a second question. There is a sentence in the > >>> PaintBrush docs[0]: > >>> > >>> "Gradient brushes limits are not anti-aliased when they are scaled!" > >>> > >>> What does that mean? I have created a LinearGradient brush and scaled the > >>> user-space afterwards: the brush still paints smoothly. In another run, I > >>> scaled the brush-space afterwards: the brush also paints smoothly. > >> > >> It means what it means, at least the last time I looked. Try to draw a > >> repeated linear gradient that is turned 45?. > >> > > > > Attached is a screenshot (with the code). Where is the effect supposed to > > show (or what is wrong in the code)? Also what does a "repeated linear > > gradient turned 45 degrees" have to do with "scaling" as mentioned in the > > docs? > > > > Regards, > > Tobi > > > > Try with an end color different from the start color, for example > [Color.Black, Color.White] and [0.0, 1.0]. Use another angle, for > example 30?. And scale the brush with a brush matrix. > Got it. Thank you very much. -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk -------------- next part -------------- A non-text attachment was scrubbed... Name: paint-gradient-limits2.png Type: image/png Size: 8541 bytes Desc: not available URL: From chrisml at ...3340... Sun Feb 22 12:14:23 2015 From: chrisml at ...3340... (Christof Thalhofer) Date: Sun, 22 Feb 2015 12:14:23 +0100 Subject: [Gambas-user] =?utf-8?q?Great_honor_to_Beno=C3=AEt_and_Gambas3?= In-Reply-To: (sfid-) References: <54E7CD6C.2090901@...3340...> (sfid-) Message-ID: <54E9BA0F.5060605@...3340...> Am 21.02.2015 um 17:28 schrieb Fabien Bodard: > You're welcome ... :-)... we need arms and minds :-) Thanks. > For your component we will see if we can find a place for it .. i need > to tst it before ... and understand what is it ;-)... Is the description on github difficult to understand? > maybe i can help Yes maybe. The issue, I have no solution for, I tried to describe here: https://github.com/Deganius/gb.deg.form/issues/1 Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From charlie at ...2793... Sun Feb 22 16:29:55 2015 From: charlie at ...2793... (Charlie Ogier) Date: Sun, 22 Feb 2015 15:29:55 +0000 Subject: [Gambas-user] [CRASH REPORT] FindFiles2 Message-ID: <54E9F5F3.30805@...2793...> Hello, Damned, my program crashed Gambas! I missed out the "B" in "" so "" caused the crash. If siFindEnd > 1 Then sFind[iCount2] = Replace(sFind[iCount2], sFindString, "" & sFindString & "") Regards, Charlie Ogier -------------- next part -------------- A non-text attachment was scrubbed... Name: FindFiles2-2.0-crash-150222-152432.tar.bz2 Type: application/x-bzip Size: 8442 bytes Desc: not available URL: From gambas at ...1... Mon Feb 23 02:00:36 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Mon, 23 Feb 2015 02:00:36 +0100 Subject: [Gambas-user] News about Gambas 3.7 release and why it is delayed Message-ID: <54EA7BB4.8070101@...1...> Hi, Here are news about Gambas 3.7 release and why it has been delayed... It's mainly because of a nasty bug in keyboard management in the GTK+ component. The good news is that it is now fixed at 90%. The short explanation : GTK+ keyboard events management sucks. The long explanation : keyboard management is based on "input methods" that are the way complex text (non ASCII) is entered in a control. Contrary to QT, GTK+ has no way to insert some management code just after the input method has entered text, and just before the control gets it. So there is no clean way to raise the Gambas "KeyPress" event with the inserted text and to allow the user to cancel it if he wants to. So I had to spend hours and hours to try different workarounds and dirty hacks. It seems that I have finally some code that works with all input methods, except the XIM input method for controls others than TextBox, ComboBox and TextArea. The symptom is that compound keys ("^" + "e" to make an "?" for example) do not send event on controls others than TextBox, ComboBox and TextArea. Don't ask me why, I have no idea. It may be my fault, but as there is no documentation on how to correctly use the GTK+ input method API... When you use Ubuntu, the default GTK+ input method seems to be IBUS, which is correctly handled in all cases. But when you use Mint, the default input method is XIM, which has the problem described above. I will wait a few days to be sure that I didn't break everything in gb.gtk, and if Fabien is agree, I will release Gambas 3.7. Regards, -- Beno?t Minisini From gambas.fr at ...626... Mon Feb 23 07:50:28 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 23 Feb 2015 07:50:28 +0100 Subject: [Gambas-user] News about Gambas 3.7 release and why it is delayed In-Reply-To: <54EA7BB4.8070101@...1...> References: <54EA7BB4.8070101@...1...> Message-ID: i need to hurry up so ... But the basis is ok ... i just need to add ReportRichTextLabel 2015-02-23 2:00 GMT+01:00 Beno?t Minisini : > Hi, > > Here are news about Gambas 3.7 release and why it has been delayed... > > It's mainly because of a nasty bug in keyboard management in the GTK+ > component. The good news is that it is now fixed at 90%. > > The short explanation : GTK+ keyboard events management sucks. > > The long explanation : keyboard management is based on "input methods" > that are the way complex text (non ASCII) is entered in a control. > > Contrary to QT, GTK+ has no way to insert some management code just > after the input method has entered text, and just before the control > gets it. > > So there is no clean way to raise the Gambas "KeyPress" event with the > inserted text and to allow the user to cancel it if he wants to. > > So I had to spend hours and hours to try different workarounds and dirty > hacks. > > It seems that I have finally some code that works with all input > methods, except the XIM input method for controls others than TextBox, > ComboBox and TextArea. > > The symptom is that compound keys ("^" + "e" to make an "?" for example) > do not send event on controls others than TextBox, ComboBox and TextArea. > > Don't ask me why, I have no idea. It may be my fault, but as there is no > documentation on how to correctly use the GTK+ input method API... > > When you use Ubuntu, the default GTK+ input method seems to be IBUS, > which is correctly handled in all cases. But when you use Mint, the > default input method is XIM, which has the problem described above. > > I will wait a few days to be sure that I didn't break everything in > gb.gtk, and if Fabien is agree, I will release Gambas 3.7. > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas.fr at ...626... Mon Feb 23 12:28:44 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 23 Feb 2015 12:28:44 +0100 Subject: [Gambas-user] GB.REPORT2 Message-ID: Hi all, I would like to explain why having developed a new component 'Report'. As I have quite rewritten part of the Layout likely to have made very different on the existing project was too important. So I chose the way for a new component. What's new? Everything and nothing. The management of the margin property. The real appearance of shadows. And a lot of work internally that will allow me to extend the management of elements over several pages. Such ReportRichText ... it might be nice to be able to continue text on the next page. And of course ReportGridView who unfortunately will not be ready for v3.7 but I promised for 3.8:-P. Another change concerns the viewer gb.Report which is now based on the new DocumentView widget. Several bug also been corrected at the viewer, but it still deserves a bit of work. On another topic, you will also notice the appearance of a new component gb.scanner. This is simply an interface that allows a scanner via code prawns. In fact I had thought at the beginning direct dialogue with the SANE API but is finally struck me that it would be easier to make a frontend to the utility 'scanimage', provides with SANE. There is no performance loss and more I take several tools present in this very simple and complete tool. It remains for me to add the loading tray support. But already it allows among others the ascynchrone scan. I would put a quick example online (certainly a scan application as simplescan) Best Regards, -- Fabien Bodard From john.aaron.rose at ...626... Mon Feb 23 17:20:28 2015 From: john.aaron.rose at ...626... (John Rose) Date: Mon, 23 Feb 2015 16:20:28 +0000 Subject: [Gambas-user] List Boxes Message-ID: <54EB534C.2050402@...626...> I want to use ListBoxes but there seems to be no icon for them in the IDE's set. I'm using Ubuntu with gb.gui marked as a component which presumably results in using the gb.gtk library. How do I obtain a ListBox using the IDE? At the moment, I'm using 3 ComboBoxes. I want their selected items to be kept in sync i.e. they each contain the same number of items: if the user selects an item in one of the ComboBoxes, then the same position item should be displayed as selected in the other two. This doesn't always seem to work. Coding fragment: Public Sub SteckersComboBox_Click() With StopComboBox .Index = SteckersComboBox.Index .Refresh End With With ReflectorAndRotorsComboBox .Index = SteckersComboBox.Index .Refresh End With End What's wrong with this coding? -- John From taboege at ...626... Mon Feb 23 17:32:04 2015 From: taboege at ...626... (Tobias Boege) Date: Mon, 23 Feb 2015 17:32:04 +0100 Subject: [Gambas-user] List Boxes In-Reply-To: <54EB534C.2050402@...626...> References: <54EB534C.2050402@...626...> Message-ID: <20150223163204.GD562@...2774...> On Mon, 23 Feb 2015, John Rose wrote: > I want to use ListBoxes but there seems to be no icon for them in the > IDE's set. I'm using Ubuntu with gb.gui marked as a component which > presumably results in using the gb.gtk library. How do I obtain a > ListBox using the IDE? > Sorry to ask this but: Are you *really* sure they are not there? They are normally in the "View" tab in the form editor's control collection. > At the moment, I'm using 3 ComboBoxes. I want their selected items to be > kept in sync i.e. they each contain the same number of items: if the > user selects an item in one of the ComboBoxes, then the same position > item should be displayed as selected in the other two. This doesn't > always seem to work. Coding fragment: > Public Sub SteckersComboBox_Click() > With StopComboBox > .Index = SteckersComboBox.Index > .Refresh > End With > With ReflectorAndRotorsComboBox > .Index = SteckersComboBox.Index > .Refresh > End With > End > What's wrong with this coding? > [ Is this somehow related to the ListBox question above? Sometimes it is OK to ask unrelated things in a single thread but simple-minded people like me need to see some structure: a question numbering or a sentence like "apart from the topic above". But maybe I'm just extraordinarily slow today. ] Anyways, what does "doesn't always seem to work" mean? Does it work but only "seem" not to work, i.e. is the Index property updated but the item not selected or does the Click event not fire sometimes? What is the rest of your code like? Any Timers which could interfere with your ComboBoxes? It would be nice if you could send us a minimal project which reproduces the problem. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From john.aaron.rose at ...626... Mon Feb 23 18:28:23 2015 From: john.aaron.rose at ...626... (John Rose) Date: Mon, 23 Feb 2015 17:28:23 +0000 Subject: [Gambas-user] Fwd: Re: List Boxes In-Reply-To: <20150223163204.GD562@...2774...> References: <20150223163204.GD562@...2774...> Message-ID: <54EB6337.9080904@...626...> Tobias, Thanks. I never thought of the ListBox icon being in the View tab set of icons. When I included the 3 required ListBoxes, deleted the 3 ComboBoxes & changed the coding from ComboBox to List box, it all worked OK. A mystery why the ComboBox coding didn't work! The required item did not always get selected when I selected another item in a different ComboBox. And there are no timers. John From john.aaron.rose at ...626... Tue Feb 24 10:05:36 2015 From: john.aaron.rose at ...626... (John Rose) Date: Tue, 24 Feb 2015 09:05:36 +0000 Subject: [Gambas-user] Exec & Standard Output Message-ID: <54EC3EE0.1050107@...626...> When I run a CLI program (which I didn't write) in Terminal, lines are displayed as I would hope in terms of line feeds: john at ...2811...:~$ /opt/Enigma/turing_bombe_all_wheels 'Temporary/Enigma/FHPQX Menu3.txt' 5 ######################################### Switches defined: GPU=0 SOFTWARE_MODE NO_RECURSIVE SAFECODE=1 ######################################### Memory to store stops: 360000 bytes You are using single-core ------------------------------- Menu loaded (12 connection(s)) Register: E (A) AAA AAB AAC AAD AAE AAF AAG AAH AAI AAJ AAK AAL A --> I (0) D --> R (2) D --> G (11) E --> F (1) E --> Q (5) E --> G (6) E --> R (8) E --> K (10) F --> E (1) F --> S (7) G --> E (6) G --> D (11) H --> S (3) I --> A (0) I --> S (4) I --> R (9) K --> E (10) Q --> E (5) R --> D (2) R --> E (8) R --> I (9) S --> H (3) S --> I (4) S --> F (7) ------------------------------- STOP at: RDI E:L (AI:BH:DT:EL:FU:GW:MR:NQ:OS) STOP at: BGD E:K (AS:DV:EK:FX:GP:IW:JR:NQ) STOP at: SMH E:G (AW:BF:DV:EG:HX:KN:LS:PR:QY) STOP at: MJR E:X (AB:DL:EX:FY:GM:HT:IP:JK:OQ:RZ:SW) STOP at: NNI E:H (AD:EH:GY:IM:KN:LR:QV) STOP at: ZSB E:X (BI:CR:DV:EX:FZ:GL:HQ:KW:NS) STOP at: QZF E:Z (AL:BR:DM:EZ:GU:HO:IS:QW) STOP at: NJJ E:N (AW:BH:CK:DZ:EN:FS:GP:IJ:QV:RU) STOP at: RIV E:N (AL:BD:CK:EN:FP:GV:HU:IO:MQ:RY:SZ) STOP at: BGS E:B (AR:BE:CH:DP:FW:GM:IT:QX:SY) STOP at: LVT E:C (CE:FP:GW:IU:JK:LQ:NS:RT) STOP at: PDA E:V (AX:BG:CI:DP:EV:FU:HM:KL:OQ:RY:SZ) STOP at: UBP E:T (AY:BH:ET:FV:GW:IZ:LQ:NS) STOP at: DSZ E:C (AU:CE:DH:FL:KX:NS:QY:RT) STOP at: XAC E:M (AU:BF:CI:DV:EM:GK:HL:OS:QX:RT) STOP at: KHJ E:J (AV:BD:CS:EJ:HP:IK:QX:RZ) STOP at: VUQ E:M (DG:EM:FU:HP:IL:KY:QZ:RX:SW) STOP at: MSY E:M (AW:CF:DJ:EM:GP:HO:IL:KV:QY:RX:ST) STOP at: NUI E:N (AH:DW:EN:FO:GJ:IP:KV:MR:QY:SX) PRINT ALL STOPS: 1 1 4 3 RDI E:L 1 1 5 4 BGD E:K 1 2 3 5 SMH E:G 1 4 2 1 MJR E:X 1 4 2 3 NNI E:H 1 4 2 5 ZSB E:X 1 4 3 1 QZF E:Z 1 5 3 4 NJJ E:N 2 1 3 4 RIV E:N 2 2 1 3 BGS E:B 2 2 4 3 LVT E:C 2 2 4 3 PDA E:V 2 3 1 2 UBP E:T 2 3 1 4 DSZ E:C 2 3 4 1 XAC E:M 2 4 1 5 KHJ E:J 2 5 2 1 VUQ E:M 2 5 2 3 MSY E:M 2 5 4 2 NUI E:N Total 19 stops Total 120 wheel orders processed Bombe running time total: 11.314253 seconds When I run a Gambas app calling that CLI program (with same parameters as in Terminal), there seem to be very long lines with resultant line feeds at odd places. The results shown below are from the 'Print "SO=" & sLine' command shown in the code fragment later: SO=######################################### Switches defined: GPU=0 SOFTWARE_MODE NO_RECURSIVE SAFECODE=1 ######################################### Memory to store stops: 360000 bytes You are using single-core ------------------------------- Menu loaded (12 SO=connection(s)) Register: E (A) AAA AAB AAC AAD AAE AAF AAG AAH AAI AAJ AAK AAL A --> I (0) D --> R (2) D --> G (11) E --> F (1) E --> Q (5) E --> G (6) E --> R (8) E --> K (10) F --> E (1) F --> S (7) G --> E (6) G --> D (11) H --> S (3) I --> A (0) I --> SO=S (4) I --> R (9) K --> E (10) Q --> E (5) R --> D (2) R --> E (8) R --> I (9) S --> H (3) S --> I (4) S --> F (7) ------------------------------- STOP at: RDI E:L (AI:BH:DT:EL:FU:GW:MR:NQ:OS) STOP at: BGD E:K (AS:DV:EK:FX:GP:IW:JR:NQ) STOP at: SMH SO= E:G (AW:BF:DV:EG:HX:KN:LS:PR:QY) STOP at: MJR E:X (AB:DL:EX:FY:GM:HT:IP:JK:OQ:RZ:SW) STOP at: NNI E:H (AD:EH:GY:IM:KN:LR:QV) STOP at: ZSB E:X (BI:CR:DV:EX:FZ:GL:HQ:KW:NS) STOP at: QZF E:Z (AL:BR:DM:EZ:GU:HO:IS:QW) STOP at: NJJ E:N SO=(AW:BH:CK:DZ:EN:FS:GP:IJ:QV:RU) STOP at: RIV E:N (AL:BD:CK:EN:FP:GV:HU:IO:MQ:RY:SZ) STOP at: BGS E:B (AR:BE:CH:DP:FW:GM:IT:QX:SY) STOP at: LVT E:C (CE:FP:GW:IU:JK:LQ:NS:RT) STOP at: PDA E:V (AX:BG:CI:DP:EV:FU:HM:KL:OQ:RY:SZ) STOP at: UBP E: SO=T (AY:BH:ET:FV:GW:IZ:LQ:NS) STOP at: DSZ E:C (AU:CE:DH:FL:KX:NS:QY:RT) STOP at: XAC E:M (AU:BF:CI:DV:EM:GK:HL:OS:QX:RT) STOP at: KHJ E:J (AV:BD:CS:EJ:HP:IK:QX:RZ) STOP at: VUQ E:M (DG:EM:FU:HP:IL:KY:QZ:RX:SW) STOP at: MSY E:M (AW:CF SO=:DJ:EM:GP:HO:IL:KV:QY:RX:ST) STOP at: NUI E:N (AH:DW:EN:FO:GJ:IP:KV:MR:QY:SX) PRINT ALL STOPS: 1 1 4 3 RDI E:L 1 1 5 4 BGD E:K 1 2 3 5 SMH E:G 1 4 2 1 MJR E:X 1 4 2 3 NNI E:H 1 4 2 5 ZSB E:X 1 4 3 1 QZF E:Z 1 5 3 4 NJJ E:N 2 1 3 4 RI SO=V E:N 2 2 1 3 BGS E:B 2 2 4 3 LVT E:C 2 2 4 3 PDA E:V 2 3 1 2 UBP E:T 2 3 1 4 DSZ E:C 2 3 4 1 XAC E:M 2 4 1 5 KHJ E:J 2 5 2 1 VUQ E:M 2 5 2 3 MSY E:M 2 5 4 2 NUI E:N Total 19 stops Total 120 wheel orders processed Bombe running time tot SO=al: 12.109768 seconds Code fragments: aExecParameters = ["/opt/Enigma/turing_bombe_all_wheels", sMenuPath] pturing_bombe = Exec aExecParameters Wait For Read As "TuringBombeResultsDetail" Public Sub TuringBombeResultsDetail_Read() ' when turing_bombe sends a results detail line to Standard Output Dim sLine As String Read #Last, sLine, -256 Print "SO=" & sLine With ResultsDetailTextArea .Text &= sLine & "\n" .Refresh End With Print #fResults, sLine Catch Message.Warning("Error displaying standard output in ResultsDetailTextArea:\n" & ERROR.Text) End I think that it's something to do with -256 in the Read command above. How do I correct this coding to do the same as running the CLI program in Terminal? -- John From john.aaron.rose at ...626... Tue Feb 24 11:26:54 2015 From: john.aaron.rose at ...626... (John Rose) Date: Tue, 24 Feb 2015 10:26:54 +0000 Subject: [Gambas-user] Exec & Standard Output Message-ID: <54EC51EE.1070903@...626...> I looked at the documentation on Streams & answered my own question. I should have used Line Input #Last, sLine rather than Read #Last, sLine, -256 -- John From epost at ...3323... Tue Feb 24 12:13:14 2015 From: epost at ...3323... (=?UTF-8?B?SsO4cm4gRXJpayBNw7hybmU=?=) Date: Tue, 24 Feb 2015 11:13:14 +0000 Subject: [Gambas-user] Missing component-pictures in Arch Linux Message-ID: <54EC5CCA.8070900@...3323...> For some reason, some component-pictures are missing in Arch Linux: missing pictures missing pictures missing pictures missing pictures missing pictures missing pictures Kind regards From zachsmith022 at ...626... Wed Feb 25 02:38:54 2015 From: zachsmith022 at ...626... (Zach Smith) Date: Tue, 24 Feb 2015 20:38:54 -0500 Subject: [Gambas-user] [CRASH REPORT] Webview control In-Reply-To: <54EBE736.8040301@...1...> References: <54E3AF63.9060705@...626...> <54EBE6D6.5080103@...1...> <54EBE736.8040301@...1...> Message-ID: On Mon, Feb 23, 2015 at 9:51 PM, Beno?t Minisini < gambas at ...1...> wrote: > Le 24/02/2015 03:49, Beno?t Minisini a ?crit : > >> Le 17/02/2015 22:15, zachsmith022 at ...626... a ?crit : >> >>> Hello, >>> >>> Damned, my program crashed Gambas that way : >>> >>> While running in the IDE, press the '1' key and the program crashes. >>> >>> Using the latest trunk. >>> >>> >>> >> Alas it looks like a bug in Qt4 Webkit, not in Gambas... >> ... >> > > A workaround is using the Reload() method. > > -- > Beno?t Minisini > The QT4 Webkit bug seems to happen with animated and non-animated gif files. I have not tested other image formats. My goal is to re-size an animated gif file. I have also tried to do it with the MovieBox control. See attached code. Can the contents of a MovieBox control be re-sized? -------------- next part -------------- A non-text attachment was scrubbed... Name: test53-0.0.2.tar.gz Type: application/x-gzip Size: 15450 bytes Desc: not available URL: From gambas at ...2524... Wed Feb 25 03:36:28 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 25 Feb 2015 02:36:28 +0000 Subject: [Gambas-user] Issue 605 in gambas: Gtk3 ScrollView badly arrange its children In-Reply-To: <1-6813199134517018827-7446243108206165217-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-7446243108206165217-gambas=googlecode.com@...2524...> <0-6813199134517018827-7446243108206165217-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-7446243108206165217-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #2 on issue 605 by benoit.m... at ...626...: Gtk3 ScrollView badly arrange its children https://code.google.com/p/gambas/issues/detail?id=605 It should be fixed in revision #6910. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Tue Feb 24 21:31:41 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Tue, 24 Feb 2015 20:31:41 +0000 Subject: [Gambas-user] Issue 605 in gambas: Gtk3 ScrollView badly arrange its children In-Reply-To: <0-6813199134517018827-7446243108206165217-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-7446243108206165217-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-7446243108206165217-gambas=googlecode.com@...2524...> Updates: Status: Accepted Labels: -Version-TRUNK Version-3.6.0 Comment #1 on issue 605 by benoit.m... at ...626...: Gtk3 ScrollView badly arrange its children https://code.google.com/p/gambas/issues/detail?id=605 (No comment was entered for this change.) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Wed Feb 25 08:34:44 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 25 Feb 2015 07:34:44 +0000 Subject: [Gambas-user] Issue 605 in gambas: Gtk3 ScrollView badly arrange its children In-Reply-To: <2-6813199134517018827-7446243108206165217-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-7446243108206165217-gambas=googlecode.com@...2524...> <0-6813199134517018827-7446243108206165217-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-7446243108206165217-gambas=googlecode.com@...2524...> Comment #3 on issue 605 by sot... at ...626...: Gtk3 ScrollView badly arrange its children https://code.google.com/p/gambas/issues/detail?id=605 Thanks Beno?t. Fixed. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From john.aaron.rose at ...626... Wed Feb 25 10:24:47 2015 From: john.aaron.rose at ...626... (John Rose) Date: Wed, 25 Feb 2015 09:24:47 +0000 Subject: [Gambas-user] Standard Input & Exec Message-ID: <54ED94DF.9080806@...626...> I want an Exec command to take input from Standard Input. I've looked at the Gambas documentation and it states: "If WRITE is specified, data can be sent to the command standard input by using the Process object with common output instructions: PRINT, WRITE, ... Note that a reference to the Process object is required.". I don't understand the above. It seems to imply that I should code penigma_app.Print sPlain (with Dim sPlain As String and sPlain = "QWERTYU") where my Exec statement is: penigma_app = Exec aExecParameters Wait For Read Write As "EnigmaResultsDetail" and I have "Dim penigma_app as Process". However, the IDE does not show Print after coding penigma_app. and the compiler objects. What do I need to do. Also, the Gambas documentation states: "If you plan to control an application by sending commands to standard input then testing should be performed outside of the IDE (i.e. make an executable and launch it from the command line) as the console within the development environment is not a true virtual terminal and will cause unexpected results.". So presumably, I would need to test the app after creating an executable. So if the executable was named EnigmaWehrmacht.gambas what would I need to enter on the command line to test this app? -- John From gambas at ...2524... Wed Feb 25 11:51:14 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 25 Feb 2015 10:51:14 +0000 Subject: [Gambas-user] Issue 607 in gambas: Gtk3 signal #11 with rev. 6910 Message-ID: <0-6813199134517018827-9702319526802777975-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-TRUNK Type-Crash Priority-Medium OpSys-Any Dist-Ubuntu Arch-X86-64 Desktop-Gnome GUI-GTK3 New issue 607 by sot... at ...626...: Gtk3 signal #11 with rev. 6910 https://code.google.com/p/gambas/issues/detail?id=607 1) Describe the problem. Having a TextArea inside a container cause a sig#11 at Form open with: gtk_scrolled_window_set_policy: assertion 'GTK_IS_SCROLLED_WINDOW failed 2) Give information about your system. Use the 'System information' menu in the Gambas IDE, and paste the result there. [System] Gambas=3.6.90 OperatingSystem=Linux Kernel=3.13.0-46-generic Architecture=x86_64 Distribution=Ubuntu 14.04.2 LTS Desktop=GNOME Theme=QGtk Language=it_IT.UTF-8 Memory=3833M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 3) Indicate the Gambas version in the issue labels, and if it is a bug, a crash, or an enhancement request. Gambas 3 trunk 4) Provide a little project that reproduces the bug or the crash. Attached project, gdb and valgrind 5) If your project needs a database, try to provide it, or part of it. NA 6) Explain clearly how to reproduce the bug or the crash. Simply run the project ____________________________________________________________ / \ | IMPORTANT NOTE #3 | | | | By doing that carefully, you have done 50% of the bug fix | | job. Often even more! | \____________________________________________________________/ ____________________________________________________________ / \ | IMPORTANT NOTE #4 | | | | Google automatically replaces references to Gambas | | development revision with links to its own source code | | repository, which Gambas does not use at all. So ignore | | these links with disdain. | \____________________________________________________________/ Attachments: output.tar.gz 2.0 KB txtarea_sig11-0.0.1.tar.gz 3.9 KB -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Wed Feb 25 11:44:50 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 25 Feb 2015 10:44:50 +0000 Subject: [Gambas-user] Issue 606 in gambas: Gtk3 signal #11 with rev. 6910 Message-ID: <0-6813199134517018827-3805273378803337592-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-TRUNK Type-Crash Priority-Medium OpSys-Any Dist-Ubuntu Arch-X86-64 Desktop-Unity GUI-GTK3 New issue 606 by sot... at ...626...: Gtk3 signal #11 with rev. 6910 https://code.google.com/p/gambas/issues/detail?id=606 1) Describe the problem. Having a TextArea included into a container (Expander or SidePanel), cause a signal #11 on Form Open, with: Gtk-CRITICAL **: gtk_scrolled_window_set_policy: assertion failed 2) Give information about your system. Use the 'System information' menu in the Gambas IDE, and paste the result there. [System] Gambas=3.6.90 OperatingSystem=Linux Kernel=3.13.0-46-generic Architecture=x86_64 Distribution=Ubuntu 14.04.2 LTS Desktop=GNOME Theme=QGtk Language=it_IT.UTF-8 Memory=3833M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 3) Indicate the Gambas version in the issue labels, and if it is a bug, a crash, or an enhancement request. 4) Provide a little project that reproduces the bug or the crash. Attached the project, debugger and valgrind output 5) If your project needs a database, try to provide it, or part of it. 6) Explain clearly how to reproduce the bug or the crash. Simply run the project -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Wed Feb 25 11:54:56 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 25 Feb 2015 10:54:56 +0000 Subject: [Gambas-user] Issue 606 in gambas: Gtk3 signal #11 with rev. 6910 In-Reply-To: <0-6813199134517018827-3805273378803337592-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-3805273378803337592-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-3805273378803337592-gambas=googlecode.com@...2524...> Comment #1 on issue 606 by sot... at ...626...: Gtk3 signal #11 with rev. 6910 https://code.google.com/p/gambas/issues/detail?id=606 Sorry forgot the attachement -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Wed Feb 25 14:38:09 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 25 Feb 2015 13:38:09 +0000 Subject: [Gambas-user] Issue 608 in gambas: Need way to compile and exectute gambas project on a tmp folder. Message-ID: <0-6813199134517018827-3108975326244071860-gambas=googlecode.com@...2524...> Status: New Owner: ---- Labels: Version-Any Type-Enhancement Priority-Medium OpSys-Any Dist-Any Arch-Any Desktop-Any GUI-Any New issue 608 by mati8... at ...626...: Need way to compile and exectute gambas project on a tmp folder. https://code.google.com/p/gambas/issues/detail?id=608 My problem comes from the examples in debian packages. They, for security reasons (Honestly I did not find their true reasons.) specifically patched the installation to not compile the examples. :S Of course, I can open the files, but when try compiling the examples produces an error: > gbx3: unable to find startup file. Of course not give write permissions to the folder "/usr/share/gambas3/examples/*" and my proposal is that the compiler detects the write permissions and compile these into a temporary folder and then gbx3 can open execute these project. My problem is with the examples, as I try to teach to some kids and can not run the examples that would be very useful. Temporarily copy all examples files to home. But I hope to provide a official solution. :S Regards, Matias -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Wed Feb 25 22:00:28 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 25 Feb 2015 21:00:28 +0000 Subject: [Gambas-user] Issue 608 in gambas: Need way to compile and exectute gambas project on a tmp folder. In-Reply-To: <0-6813199134517018827-3108975326244071860-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-3108975326244071860-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-3108975326244071860-gambas=googlecode.com@...2524...> Updates: Status: WontFix Comment #1 on issue 608 by benoit.m... at ...626...: Need way to compile and exectute gambas project on a tmp folder. https://code.google.com/p/gambas/issues/detail?id=608 Gambas 3.7 will be release soon, and the examples have been removed from the source packages. They will be put in the gambas farm server. You will download the examples from that place, and they will be compiled and installed in the current user home directory. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Wed Feb 25 22:05:09 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 25 Feb 2015 21:05:09 +0000 Subject: [Gambas-user] Issue 608 in gambas: Need way to compile and exectute gambas project on a tmp folder. In-Reply-To: <1-6813199134517018827-3108975326244071860-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-3108975326244071860-gambas=googlecode.com@...2524...> <0-6813199134517018827-3108975326244071860-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-3108975326244071860-gambas=googlecode.com@...2524...> Comment #2 on issue 608 by mati8... at ...626...: Need way to compile and exectute gambas project on a tmp folder. https://code.google.com/p/gambas/issues/detail?id=608 Ohh.. Thanks you Benoit!. ;) -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Wed Feb 25 22:23:33 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 25 Feb 2015 21:23:33 +0000 Subject: [Gambas-user] Issue 607 in gambas: Gtk3 signal #11 with rev. 6910 In-Reply-To: <0-6813199134517018827-9702319526802777975-gambas=googlecode.com@...2524...> References: <0-6813199134517018827-9702319526802777975-gambas=googlecode.com@...2524...> Message-ID: <1-6813199134517018827-9702319526802777975-gambas=googlecode.com@...2524...> Updates: Status: Fixed Comment #1 on issue 607 by benoit.m... at ...626...: Gtk3 signal #11 with rev. 6910 https://code.google.com/p/gambas/issues/detail?id=607 It should be fixed in revision #6913. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From gambas at ...2524... Wed Feb 25 22:37:23 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 25 Feb 2015 21:37:23 +0000 Subject: [Gambas-user] Issue 547 in gambas: Cannot execute a .gambas program In-Reply-To: <1-6813199134517018827-2765316068390203203-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-2765316068390203203-gambas=googlecode.com@...2524...> <0-6813199134517018827-2765316068390203203-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-2765316068390203203-gambas=googlecode.com@...2524...> Comment #2 on issue 547 by g4tw... at ...626...: Cannot execute a .gambas program https://code.google.com/p/gambas/issues/detail?id=547 I'm having the same issue. I have an application that works on a system where I have the gambas3 IDE. But when I copied the gambas3 application "myGambasApp.gambas" over to another linux system with only the gambas3 runtime packages i get the same type of message "gbr3: no project file in 'myGambasApp.gambas". Maybe an issue with how I build the executable? Searching but haven't yet found what I'm doing wrong. When i build the executable ie the .gambas file i use "gbc3 -a" and "gba3" in a GNU make descriptor file as part of a larger build 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... Wed Feb 25 23:38:33 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Wed, 25 Feb 2015 22:38:33 +0000 Subject: [Gambas-user] Issue 547 in gambas: Cannot execute a .gambas program In-Reply-To: <2-6813199134517018827-2765316068390203203-gambas=googlecode.com@...2524...> References: <2-6813199134517018827-2765316068390203203-gambas=googlecode.com@...2524...> <0-6813199134517018827-2765316068390203203-gambas=googlecode.com@...2524...> Message-ID: <3-6813199134517018827-2765316068390203203-gambas=googlecode.com@...2524...> Comment #3 on issue 547 by g4tw... at ...626...: Cannot execute a .gambas program https://code.google.com/p/gambas/issues/detail?id=547 I know this is a bit old, but I was having a similar problem. My setup includes 2 linux boxes. On the dev system (system1) i have the full gambas3 IDE and gambas3 components. On the other system (system2) i only installed the gamba3-runtime package. I built a gambas executable 'myGambasApp.gambas' on system1, which runs fine on the system were it was built. I copied over the file 'myGambasApp.gambas' to system2 for some quick testing in a different environment. When trying to run the program i got the same error message 'gbr3: no project file in 'myGambasApp.gambas'. In my case i forgot to complete my system2 setup with the supporting lib (component) packages. Which could be the issue here. I understand how the error message here could be a bit misleading. The issue could be missing components. For me I added the missing packages 'gambas3-gb-db, gambas3-gb-image, gambas3-gb-qt4, etc.' and things are now fine. Hope that helps if you are still trying to find the issue. -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From adamnt42 at ...626... Wed Feb 25 23:57:48 2015 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Thu, 26 Feb 2015 09:27:48 +1030 Subject: [Gambas-user] Another IDE feature request Message-ID: <20150226092748.0e4a271a363df2532c2c4f49@...626...> Benoit, Thanks again for that popup menu for the debugger to add watch items, it really is a great help. But here's another request: Could you add an item to that menu to print the value of an object property to the console please. When looking at a long or complex string it would be nice to be able to scroll across it easily. I know it is possible using the "edit" mode, but that is a bit clunky. As an extension to this, I think there is a TODO item about printing (all) an object's property values, or perhaps it was the interpreter item "Make objects printable, with a "_print" hidden method or something else." However, I believe that being able to print them all from the debugger to the console would be a great step forward. regards Bruce -- B Bruen From taboege at ...626... Thu Feb 26 00:43:46 2015 From: taboege at ...626... (Tobias Boege) Date: Thu, 26 Feb 2015 00:43:46 +0100 Subject: [Gambas-user] Standard Input & Exec In-Reply-To: <54ED94DF.9080806@...626...> References: <54ED94DF.9080806@...626...> Message-ID: <20150225234346.GD726@...2774...> On Wed, 25 Feb 2015, John Rose wrote: > I want an Exec command to take input from Standard Input. I've looked at > the Gambas documentation and it states: > "If WRITE is specified, data can be sent to the command standard input > by using the Process object with common output instructions: PRINT, > WRITE, ... Note that a reference to the Process object is required.". > > I don't understand the above. It seems to imply that I should code > penigma_app.Print sPlain (with Dim sPlain As String and sPlain = > "QWERTYU") where my Exec statement is: > penigma_app = Exec aExecParameters Wait For Read Write As > "EnigmaResultsDetail" > and I have "Dim penigma_app as Process". However, the IDE does not show > Print after coding penigma_app. and the compiler objects. > The documentation correctly says PRINT, WRITE, ... *instructions*. These are keywords of the Gambas language, not methods of a class: Dim hProc As Process hProc = Exec ["prog", "arg"] For Read Write Print #hProc, "input" > What do I need to do. Also, the Gambas documentation states: > "If you plan to control an application by sending commands to standard > input then testing should be performed outside of the IDE (i.e. make an > executable and launch it from the command line) as the console within > the development environment is not a true virtual terminal and will > cause unexpected results.". > So presumably, I would need to test the app after creating an > executable. So if the executable was named EnigmaWehrmacht.gambas what > would I need to enter on the command line to test this app? > If your project directory is at /path/to/project, you do: $ cd /path/to/project $ gbc3 -ga # Re-compile the project $ gbx3 # Execute the compiled files This way does not require an executable .gambas archive. But you can also try it with such an archive[*]: $ cd /path/to/project $ gba3 # Create project.gambas $ gbr3 project.gambas # Run it [*] And sometimes you want to test your project with an executable archive, too, because certain ways of accessing project data files or something may work when you run the project under the IDE and via the first way, but not if you run from an executable archive. But this is entirely different story. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Thu Feb 26 01:04:03 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 26 Feb 2015 01:04:03 +0100 Subject: [Gambas-user] Another IDE feature request In-Reply-To: <20150226092748.0e4a271a363df2532c2c4f49@...626...> References: <20150226092748.0e4a271a363df2532c2c4f49@...626...> Message-ID: <54EE62F3.7090702@...1...> Le 25/02/2015 23:57, adamnt42 at ...626... a ?crit : > Benoit, > > Thanks again for that popup menu for the debugger to add watch items, > it really is a great help. > > But here's another request: > > Could you add an item to that menu to print the value of an object > property to the console please. When looking at a long or complex > string it would be nice to be able to scroll across it easily. I > know it is possible using the "edit" mode, but that is a bit clunky. > > As an extension to this, I think there is a TODO item about printing > (all) an object's property values, or perhaps it was the interpreter > item "Make objects printable, with a "_print" hidden method or > something else." However, I believe that being able to print them all > from the debugger to the console would be a great step forward. > > regards Bruce > Done in revision #6913. Regards, -- Beno?t Minisini From gambas at ...1... Thu Feb 26 01:04:36 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 26 Feb 2015 01:04:36 +0100 Subject: [Gambas-user] Missing component-pictures in Arch Linux In-Reply-To: <54EC5CCA.8070900@...3323...> References: <54EC5CCA.8070900@...3323...> Message-ID: <54EE6314.9000704@...1...> Le 24/02/2015 12:13, J?rn Erik M?rne a ?crit : > For some reason, some component-pictures are missing in Arch Linux: > > missing pictures > > missing pictures > > missing pictures > > missing pictures > > missing pictures > > missing pictures > > Kind regards Can you give some details? What are you talking about? -- Beno?t Minisini From epost at ...3323... Thu Feb 26 01:15:03 2015 From: epost at ...3323... (=?windows-1252?Q?J=F8rn_Erik_M=F8rne?=) Date: Thu, 26 Feb 2015 01:15:03 +0100 Subject: [Gambas-user] Missing component-pictures in Arch Linux In-Reply-To: <54EE6314.9000704@...1...> References: <54EC5CCA.8070900@...3323...> <54EE6314.9000704@...1...> Message-ID: <54EE6587.2050802@...3323...> Den 26. feb. 2015 01:04, skrev Beno?t Minisini: > Le 24/02/2015 12:13, J?rn Erik M?rne a ?crit : >> For some reason, some component-pictures are missing in Arch Linux: >> >> missing pictures >> >> missing pictures >> >> missing pictures >> >> missing pictures >> >> missing pictures >> >> missing pictures >> >> Kind regards > Can you give some details? What are you talking about? > Sorry the attachments "fell out of the mail" :) Trying once more! -------------- next part -------------- A non-text attachment was scrubbed... Name: 1.png Type: image/png Size: 16854 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 2.png Type: image/png Size: 7498 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 3.png Type: image/png Size: 6273 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 4.png Type: image/png Size: 8344 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 5.png Type: image/png Size: 6237 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 6.png Type: image/png Size: 9834 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 7.png Type: image/png Size: 5301 bytes Desc: not available URL: From gambas at ...1... Thu Feb 26 01:26:03 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 26 Feb 2015 01:26:03 +0100 Subject: [Gambas-user] Missing component-pictures in Arch Linux In-Reply-To: <54EE6587.2050802@...3323...> References: <54EC5CCA.8070900@...3323...> <54EE6314.9000704@...1...> <54EE6587.2050802@...3323...> Message-ID: <54EE681B.2060009@...1...> Le 26/02/2015 01:15, J?rn Erik M?rne a ?crit : > > Den 26. feb. 2015 01:04, skrev Beno?t Minisini: >> Le 24/02/2015 12:13, J?rn Erik M?rne a ?crit : >>> For some reason, some component-pictures are missing in Arch Linux: >>> >>> missing pictures >>> >>> missing pictures >>> >>> missing pictures >>> >>> missing pictures >>> >>> missing pictures >>> >>> missing pictures >>> >>> Kind regards >> Can you give some details? What are you talking about? >> > Sorry the attachments "fell out of the mail" :) > > Trying once more! > These icons should be located in /usr/share/gambas3/control, so I guess Gambas is wrongly installed on your system. Can you check? How did you install it? -- Beno?t Minisini From epost at ...3323... Thu Feb 26 01:42:42 2015 From: epost at ...3323... (=?windows-1252?Q?J=F8rn_Erik_M=F8rne?=) Date: Thu, 26 Feb 2015 01:42:42 +0100 Subject: [Gambas-user] Missing component-pictures in Arch Linux In-Reply-To: <54EE681B.2060009@...1...> References: <54EC5CCA.8070900@...3323...> <54EE6314.9000704@...1...> <54EE6587.2050802@...3323...> <54EE681B.2060009@...1...> Message-ID: <54EE6C02.7070103@...3323...> Den 26. feb. 2015 01:26, skrev Beno?t Minisini: > Le 26/02/2015 01:15, J?rn Erik M?rne a ?crit : >> Den 26. feb. 2015 01:04, skrev Beno?t Minisini: >>> Le 24/02/2015 12:13, J?rn Erik M?rne a ?crit : >>>> For some reason, some component-pictures are missing in Arch Linux: >>>> >>>> missing pictures >>>> >>>> missing pictures >>>> >>>> missing pictures >>>> >>>> missing pictures >>>> >>>> missing pictures >>>> >>>> missing pictures >>>> >>>> Kind regards >>> Can you give some details? What are you talking about? >>> >> Sorry the attachments "fell out of the mail" :) >> >> Trying once more! >> > These icons should be located in /usr/share/gambas3/control, so I guess > Gambas is wrongly installed on your system. > > Can you check? How did you install it? > They seem to be present. From pacman. -------------- next part -------------- A non-text attachment was scrubbed... Name: 8.png Type: image/png Size: 157951 bytes Desc: not available URL: From jusabejusabe at ...626... Thu Feb 26 01:44:23 2015 From: jusabejusabe at ...626... (Julio Sanchez) Date: Thu, 26 Feb 2015 01:44:23 +0100 Subject: [Gambas-user] Problems trying to upload an application to Farm Message-ID: Hello !!! I'm trying to upload an application to the farm (I have discharged without problems), but ends up the application get this message: Unable to publish project. Incorrect version Content-type: text/plain;charset=utf-8 10 OK The source code of the application is available here: http://goo.gl/jjMVgS Note: [System] Gambas=3.6.90 (ppa:gambas-team/gambas-daily)OperatingSystem=Linux Kernel=3.13.0-24-generic Architecture=x86_64 Distribution=Linux Mint 17 Qiana Desktop=GNOME Theme=QGtk Language=es_ES.UTF-8 Memory=1993M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.43.0.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 Regards Julio From gambas at ...1... Thu Feb 26 01:45:36 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Thu, 26 Feb 2015 01:45:36 +0100 Subject: [Gambas-user] Missing component-pictures in Arch Linux In-Reply-To: <54EE6C02.7070103@...3323...> References: <54EC5CCA.8070900@...3323...> <54EE6314.9000704@...1...> <54EE6587.2050802@...3323...> <54EE681B.2060009@...1...> <54EE6C02.7070103@...3323...> Message-ID: <54EE6CB0.80501@...1...> Le 26/02/2015 01:42, J?rn Erik M?rne a ?crit : > > Den 26. feb. 2015 01:26, skrev Beno?t Minisini: >> Le 26/02/2015 01:15, J?rn Erik M?rne a ?crit : >>> Den 26. feb. 2015 01:04, skrev Beno?t Minisini: >>>> Le 24/02/2015 12:13, J?rn Erik M?rne a ?crit : >>>>> For some reason, some component-pictures are missing in Arch Linux: >>>>> >>>>> missing pictures >>>>> >>>>> missing pictures >>>>> >>>>> missing pictures >>>>> >>>>> missing pictures >>>>> >>>>> missing pictures >>>>> >>>>> missing pictures >>>>> >>>>> Kind regards >>>> Can you give some details? What are you talking about? >>>> >>> Sorry the attachments "fell out of the mail" :) >>> >>> Trying once more! >>> >> These icons should be located in /usr/share/gambas3/control, so I guess >> Gambas is wrongly installed on your system. >> >> Can you check? How did you install it? >> > They seem to be present. > > From pacman. > That's bad: each control icon must be located in an intermediate directory having the name of the component. -- Beno?t Minisini From epost at ...3323... Thu Feb 26 02:10:15 2015 From: epost at ...3323... (=?windows-1252?Q?J=F8rn_Erik_M=F8rne?=) Date: Thu, 26 Feb 2015 02:10:15 +0100 Subject: [Gambas-user] Missing component-pictures in Arch Linux In-Reply-To: <54EE6CB0.80501@...1...> References: <54EC5CCA.8070900@...3323...> <54EE6314.9000704@...1...> <54EE6587.2050802@...3323...> <54EE681B.2060009@...1...> <54EE6C02.7070103@...3323...> <54EE6CB0.80501@...1...> Message-ID: <54EE7277.3020102@...3323...> Den 26. feb. 2015 01:45, skrev Beno?t Minisini: > Le 26/02/2015 01:42, J?rn Erik M?rne a ?crit : >> Den 26. feb. 2015 01:26, skrev Beno?t Minisini: >>> Le 26/02/2015 01:15, J?rn Erik M?rne a ?crit : >>>> Den 26. feb. 2015 01:04, skrev Beno?t Minisini: >>>>> Le 24/02/2015 12:13, J?rn Erik M?rne a ?crit : >>>>>> For some reason, some component-pictures are missing in Arch Linux: >>>>>> >>>>>> missing pictures >>>>>> >>>>>> missing pictures >>>>>> >>>>>> missing pictures >>>>>> >>>>>> missing pictures >>>>>> >>>>>> missing pictures >>>>>> >>>>>> missing pictures >>>>>> >>>>>> Kind regards >>>>> Can you give some details? What are you talking about? >>>>> >>>> Sorry the attachments "fell out of the mail" :) >>>> >>>> Trying once more! >>>> >>> These icons should be located in /usr/share/gambas3/control, so I guess >>> Gambas is wrongly installed on your system. >>> >>> Can you check? How did you install it? >>> >> They seem to be present. >> >> From pacman. >> > That's bad: each control icon must be located in an intermediate > directory having the name of the component. > That should be it! From gambas at ...2524... Thu Feb 26 08:20:38 2015 From: gambas at ...2524... (gambas at ...2524...) Date: Thu, 26 Feb 2015 07:20:38 +0000 Subject: [Gambas-user] Issue 607 in gambas: Gtk3 signal #11 with rev. 6910 In-Reply-To: <1-6813199134517018827-9702319526802777975-gambas=googlecode.com@...2524...> References: <1-6813199134517018827-9702319526802777975-gambas=googlecode.com@...2524...> <0-6813199134517018827-9702319526802777975-gambas=googlecode.com@...2524...> Message-ID: <2-6813199134517018827-9702319526802777975-gambas=googlecode.com@...2524...> Comment #2 on issue 607 by sot... at ...626...: Gtk3 signal #11 with rev. 6910 https://code.google.com/p/gambas/issues/detail?id=607 thanks. Emanuele -- You received this message because this project is configured to send all issue notifications to this address. You may adjust your notification preferences at: https://code.google.com/hosting/settings From john.aaron.rose at ...626... Thu Feb 26 11:25:07 2015 From: john.aaron.rose at ...626... (John Rose) Date: Thu, 26 Feb 2015 10:25:07 +0000 Subject: [Gambas-user] Standard Input & Exec In-Reply-To: <20150225234346.GD726@...2774...> References: <20150225234346.GD726@...2774...> Message-ID: <54EEF483.1000909@...626...> I asked Tobi by direct email about my problem. He gave me the solution in his reply (shown below) and I coded it as: aExecParameters = ["/opt/Enigma/enigma_app", 3, sReflector, sLeftRotor, sMiddleRotor, sRightRotor, sSteckers, sRings, sGrund] penigma_app = Exec aExecParameters For Read Write As "EnigmaResultsDetail" Print #penigma_app, sPlain Do Wait 0.1 Loop Until penigma_app.State <> Process.Running Thus, I had to remove the Wait keyword in the Exec command and simulate it manually. Interestingly, even though the Gambas documentation stated that I would have to run the app outside the IDE (i.e. by launching the executable from the CLI), it still worked OK when I used the Debug command within the IDE. John -------- Forwarded Message -------- Subject: Re: [Gambas-user] Standard Input & Exec Date: Thu, 26 Feb 2015 00:43:46 +0100 From: Tobias Boege Reply-To: mailing list for gambas users To: mailing list for gambas users On Wed, 25 Feb 2015, John Rose wrote: > I want an Exec command to take input from Standard Input. I've looked at > the Gambas documentation and it states: > "If WRITE is specified, data can be sent to the command standard input > by using the Process object with common output instructions: PRINT, > WRITE, ... Note that a reference to the Process object is required.". > > I don't understand the above. It seems to imply that I should code > penigma_app.Print sPlain (with Dim sPlain As String and sPlain = > "QWERTYU") where my Exec statement is: > penigma_app = Exec aExecParameters Wait For Read Write As > "EnigmaResultsDetail" > and I have "Dim penigma_app as Process". However, the IDE does not show > Print after coding penigma_app. and the compiler objects. > The documentation correctly says PRINT, WRITE, ... *instructions*. These are keywords of the Gambas language, not methods of a class: Dim hProc As Process hProc = Exec ["prog", "arg"] For Read Write Print #hProc, "input" > What do I need to do. Also, the Gambas documentation states: > "If you plan to control an application by sending commands to standard > input then testing should be performed outside of the IDE (i.e. make an > executable and launch it from the command line) as the console within > the development environment is not a true virtual terminal and will > cause unexpected results.". > So presumably, I would need to test the app after creating an > executable. So if the executable was named EnigmaWehrmacht.gambas what > would I need to enter on the command line to test this app? > If your project directory is at /path/to/project, you do: $ cd /path/to/project $ gbc3 -ga # Re-compile the project $ gbx3 # Execute the compiled files This way does not require an executable .gambas archive. But you can also try it with such an archive[*]: $ cd /path/to/project $ gba3 # Create project.gambas $ gbr3 project.gambas # Run it [*] And sometimes you want to test your project with an executable archive, too, because certain ways of accessing project data files or something may work when you run the project under the IDE and via the first way, but not if you run from an executable archive. But this is entirely different story. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From taboege at ...626... Thu Feb 26 11:56:03 2015 From: taboege at ...626... (Tobias Boege) Date: Thu, 26 Feb 2015 11:56:03 +0100 Subject: [Gambas-user] Standard Input & Exec In-Reply-To: <54EEF483.1000909@...626...> References: <20150225234346.GD726@...2774...> <54EEF483.1000909@...626...> Message-ID: <20150226105603.GE726@...2774...> On Thu, 26 Feb 2015, John Rose wrote: > > -------- Forwarded Message -------- > Subject: Re: [Gambas-user] Standard Input & Exec > Date: Thu, 26 Feb 2015 00:43:46 +0100 > From: Tobias Boege > Reply-To: mailing list for gambas users > > To: mailing list for gambas users > > I asked Tobi by direct email about my problem. He gave me the solution > in his reply (shown below) and I coded it as: > > > On Wed, 25 Feb 2015, John Rose wrote: > >> I want an Exec command to take input from Standard Input. I've looked at > >> the Gambas documentation and it states: > >> "If WRITE is specified, data can be sent to the command standard input > >> by using the Process object with common output instructions: PRINT, > >> WRITE, ... Note that a reference to the Process object is required.". > >> > >> I don't understand the above. It seems to imply that I should code > >> penigma_app.Print sPlain (with Dim sPlain As String and sPlain = > >> "QWERTYU") where my Exec statement is: > >> penigma_app = Exec aExecParameters Wait For Read Write As > >> "EnigmaResultsDetail" > >> and I have "Dim penigma_app as Process". However, the IDE does not show > >> Print after coding penigma_app. and the compiler objects. > >> > > > > The documentation correctly says PRINT, WRITE, ... *instructions*. These are > > keywords of the Gambas language, not methods of a class: > > > > Dim hProc As Process > > > > hProc = Exec ["prog", "arg"] For Read Write > > Print #hProc, "input" > > > >> What do I need to do. Also, the Gambas documentation states: > >> "If you plan to control an application by sending commands to standard > >> input then testing should be performed outside of the IDE (i.e. make an > >> executable and launch it from the command line) as the console within > >> the development environment is not a true virtual terminal and will > >> cause unexpected results.". > >> So presumably, I would need to test the app after creating an > >> executable. So if the executable was named EnigmaWehrmacht.gambas what > >> would I need to enter on the command line to test this app? > >> > > > > If your project directory is at /path/to/project, you do: > > > > $ cd /path/to/project > > $ gbc3 -ga # Re-compile the project > > $ gbx3 # Execute the compiled files > > > > This way does not require an executable .gambas archive. But you can also > > try it with such an archive[*]: > > > > $ cd /path/to/project > > $ gba3 # Create project.gambas > > $ gbr3 project.gambas # Run it > > > > [*] And sometimes you want to test your project with an executable archive, > > too, because certain ways of accessing project data files or something > > may work when you run the project under the IDE and via the first way, > > but not if you run from an executable archive. But this is entirely > > different story. > > aExecParameters = ["/opt/Enigma/enigma_app", 3, sReflector, sLeftRotor, > sMiddleRotor, sRightRotor, sSteckers, sRings, sGrund] > penigma_app = Exec aExecParameters For Read Write As "EnigmaResultsDetail" > Print #penigma_app, sPlain > Do > Wait 0.1 > Loop Until penigma_app.State <> Process.Running > > Thus, I had to remove the Wait keyword in the Exec command and simulate > it manually. > > Interestingly, even though the Gambas documentation stated that I would > have to run the app outside the IDE (i.e. by launching the executable > from the CLI), it still worked OK when I used the Debug command within > the IDE. > [ Please do not top-post if you want to do my hands a favour. ] The Gambas documentation didn't "state that [you] would *have to run* the app outside the IDE". It said "*testing should* be performed outside the IDE". Your project is run from the IDE through a PTY which makes the IDE "kinda look like a terminal" but it doesn't emulate one. For some time now you can also opt (in the project options) to make the IDE start an external terminal emulator for you to run the project in. This way you don't have to go outside the IDE anymore. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at ...1... Thu Feb 26 22:56:43 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Thu, 26 Feb 2015 22:56:43 +0100 Subject: [Gambas-user] Crash in MapView and gb.net.curl Message-ID: <54EF969B.8060905@...1...> I found who was guilty: Ubuntu. Gambas component that use thread needs the interpreter to be linked with the system thread library, even if the interpreter does not use it. Alas, I have just discovered that Ubuntu adds some global compiler configuration that automatically remove linked libraries when they are not used! Consequently, the system thread library was not linked with the Gambas interpreter, and gb.net.curl randomly crashes. Thank you Ubuntu! A workaround should follow soon... -- Beno?t Minisini From gambas at ...1... Thu Feb 26 22:59:49 2015 From: gambas at ...1... (=?UTF-8?B?QmVub8OudCBNaW5pc2luaQ==?=) Date: Thu, 26 Feb 2015 22:59:49 +0100 Subject: [Gambas-user] Crash in MapView and gb.net.curl In-Reply-To: <54EF969B.8060905@...1...> References: <54EF969B.8060905@...1...> Message-ID: <54EF9755.4090405@...1...> Le 26/02/2015 22:56, Beno?t Minisini a ?crit : > I found who was guilty: Ubuntu. > > Gambas component that use thread needs the interpreter to be linked with > the system thread library, even if the interpreter does not use it. > > Alas, I have just discovered that Ubuntu adds some global compiler > configuration that automatically remove linked libraries when they are > not used! > > Consequently, the system thread library was not linked with the Gambas > interpreter, and gb.net.curl randomly crashes. > > Thank you Ubuntu! > > A workaround should follow soon... > To check if your system has the same "feature": $ cd /path/to/gambas/sources $ cd main/gbx $ make ... $ ldd gbx3 Look if the last command writes a reference to 'libpthread'. If it does, all is ok. Otherwise, you need the workaround. Regards, -- Beno?t Minisini From taboege at ...626... Fri Feb 27 00:23:54 2015 From: taboege at ...626... (Tobias Boege) Date: Fri, 27 Feb 2015 00:23:54 +0100 Subject: [Gambas-user] Match operator always matches Null Message-ID: <20150226232354.GH726@...2774...> Hi, I feel like I already asked about this but didn't find it in my archives, so I probably didn't... We saw that the Match operator always matches the emtpy string, even if the pattern wants non-empty strings: $ gbx3 -e 'Null Match "a"' True Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at ...626... Fri Feb 27 00:34:38 2015 From: taboege at ...626... (Tobias Boege) Date: Fri, 27 Feb 2015 00:34:38 +0100 Subject: [Gambas-user] Match operator always matches Null In-Reply-To: <20150226232354.GH726@...2774...> References: <20150226232354.GH726@...2774...> Message-ID: <20150226233438.GJ726@...2774...> On Fri, 27 Feb 2015, Tobias Boege wrote: > Hi, > > I feel like I already asked about this but didn't find it in my archives, so > I probably didn't... We saw that the Match operator always matches the emtpy > string > In case you didn't know, the "emtpy string" is another expression for "empty string". -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From orsi.amax at ...626... Fri Feb 27 07:35:52 2015 From: orsi.amax at ...626... (Isro' Hidayatulloh) Date: Fri, 27 Feb 2015 13:35:52 +0700 Subject: [Gambas-user] Create Login Session Message-ID: Hi, I am new Gambas user, I will make an application. But I need to login first to access another aplication using login. Did anyone create login session in gambas? how to do this? From gambas.fr at ...626... Fri Feb 27 15:11:16 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Fri, 27 Feb 2015 15:11:16 +0100 Subject: [Gambas-user] Some playing on logo redesing Message-ID: -- Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: NewLogo.svg Type: image/svg+xml Size: 6443 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: NewLogo2.svg Type: image/svg+xml Size: 4077 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: NewLogo3.svg Type: image/svg+xml Size: 4081 bytes Desc: not available URL: From t.lee.davidson at ...626... Fri Feb 27 17:26:25 2015 From: t.lee.davidson at ...626... (T Lee Davidson) Date: Fri, 27 Feb 2015 11:26:25 -0500 Subject: [Gambas-user] Create Login Session In-Reply-To: References: Message-ID: <54F09AB1.7030603@...626...> Not sure exactly what you are trying to do, but attached is an example submitted by a mail list user a while ago. A cursory search of the list archive (http://sourceforge.net/p/gambas/mailman/gambas-user/) did not turn up what I could determine as the relevant thread. And, I don't recall who it was that provided the example (maybe Tobi?), so I cannot give proper credit, sorry. Lee __________ "Artificial Intelligence is no match for natural stupidity." On 02/27/2015 01:35 AM, Isro' Hidayatulloh wrote: > Hi, > I am new Gambas user, I will make an application. But I need to login first > to access another aplication using login. Did anyone create login session > in gambas? how to do this? > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- A non-text attachment was scrubbed... Name: login-form-en-0.0.2.tar.gz Type: application/x-gzip Size: 5026 bytes Desc: not available URL: From shordi at ...626... Fri Feb 27 17:43:33 2015 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Fri, 27 Feb 2015 17:43:33 +0100 Subject: [Gambas-user] Some playing on logo redesing In-Reply-To: References: Message-ID: Number one of course... but a little too much plain, I think. Some volume needed,Isn't it? Regards 2015-02-27 15:11 GMT+01:00 Fabien Bodard : > -- > Fabien Bodard > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From ea7dfh at ...2382... Sat Feb 28 02:20:01 2015 From: ea7dfh at ...2382... (Jesus) Date: Sat, 28 Feb 2015 02:20:01 +0100 Subject: [Gambas-user] Some playing on logo redesing In-Reply-To: References: Message-ID: <54F117C1.8060000@...2382...> El 27/2/15 a las 15:11, Fabien Bodard escribi?: If you accept my criticism, I will tell you none of these do like to me at all... sorry ;-) Also, I think the current logo is nice, and the former gambas2 logo was much better in terms of 3D. I really appreciate your efforts. Regards -- Jesus Guardon From orsi.amax at ...626... Sat Feb 28 04:12:41 2015 From: orsi.amax at ...626... (Isro' Hidayatulloh) Date: Sat, 28 Feb 2015 10:12:41 +0700 Subject: [Gambas-user] Create Login Session In-Reply-To: <54F09AB1.7030603@...626...> References: <54F09AB1.7030603@...626...> Message-ID: Maybe I have to search on mailing list. But thanks for Lee. 27 Feb 2015 23:27, "T Lee Davidson" menulis: > Not sure exactly what you are trying to do, but attached is an example > submitted by a mail list user a while ago. > > A cursory search of the list archive (http://sourceforge.net/p/ > gambas/mailman/gambas-user/) did not turn up what I could determine as > the relevant thread. And, I don't recall who it was that provided the > example (maybe Tobi?), so I cannot give proper credit, sorry. > > > Lee > __________ > > "Artificial Intelligence is no match for natural stupidity." > > On 02/27/2015 01:35 AM, Isro' Hidayatulloh wrote: > >> Hi, >> I am new Gambas user, I will make an application. But I need to login >> first >> to access another aplication using login. Did anyone create login session >> in gambas? how to do this? >> ------------------------------------------------------------ >> ------------------ >> Dive into the World of Parallel Programming The Go Parallel Website, >> sponsored >> by Intel and developed in partnership with Slashdot Media, is your hub >> for all >> things parallel software development, from weekly thought leadership >> blogs to >> news, videos, case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From danifuturo at ...3441... Sat Feb 28 10:14:42 2015 From: danifuturo at ...3441... (Dani Futuro) Date: Sat, 28 Feb 2015 09:14:42 +0000 Subject: [Gambas-user] Problems by joining segments and arcs and doing Fill in class Paint Message-ID: <54F18702.8070504@...3441...> Hi, I'm trying to join arcs and segments with class Paint, and I have some problems. You can make dinamic zoom with the mouse wheel in the program I attached and see what happens. If you get close enough to vertex with the zoom you can see the end of one arc and the contiguous of the segment move relatively up and down one from the other. I added four little segments in order to close the space between arcs and segments, but the problem persist. If you select radiobutton Fill you can see what happens. I added some Print to visualize the coordenates of four vertex. Thanks. Regards, Pablo -------------- next part -------------- A non-text attachment was scrubbed... Name: Empalmararcosconlineas-0.0.1.tar.gz Type: application/gzip Size: 131022 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 03.jpg Type: image/jpeg Size: 79215 bytes Desc: not available URL: From gambas.fr at ...626... Sat Feb 28 13:57:17 2015 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 28 Feb 2015 13:57:17 +0100 Subject: [Gambas-user] Some playing on logo redesing In-Reply-To: <54F117C1.8060000@...2382...> References: <54F117C1.8060000@...2382...> Message-ID: Le 28 f?vr. 2015 02:37, "Jesus" a ?crit : > > El 27/2/15 a las 15:11, Fabien Bodard escribi?: > > If you accept my criticism, I will tell you none of these do like to me > at all... sorry ;-) What ?... You don't like my job ? ? This is just a try to make a flat square logo in the material style. It's a game not a goal. Thank for giving your opinion. Yes the logo v3 is cool.l > > Also, I think the current logo is nice, and the former gambas2 logo was > much better in terms of 3D. > > I really appreciate your efforts. > > Regards > -- > Jesus Guardon > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From gambas at ...1... Sat Feb 28 16:06:08 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 28 Feb 2015 16:06:08 +0100 Subject: [Gambas-user] Match operator always matches Null In-Reply-To: <20150226233438.GJ726@...2774...> References: <20150226232354.GH726@...2774...> <20150226233438.GJ726@...2774...> Message-ID: <54F1D960.9070406@...1...> Le 27/02/2015 00:34, Tobias Boege a ?crit : > On Fri, 27 Feb 2015, Tobias Boege wrote: >> Hi, >> >> I feel like I already asked about this but didn't find it in my archives, so >> I probably didn't... We saw that the Match operator always matches the emtpy >> string >> > > In case you didn't know, the "emtpy string" is another expression for "empty > string". > Fixed in revision #6919: Now the emtpy string only matches the etpmy string. :-) -- Beno?t Minisini From taboege at ...626... Sat Feb 28 16:20:28 2015 From: taboege at ...626... (Tobias Boege) Date: Sat, 28 Feb 2015 16:20:28 +0100 Subject: [Gambas-user] Match operator always matches Null In-Reply-To: <54F1D960.9070406@...1...> References: <20150226232354.GH726@...2774...> <20150226233438.GJ726@...2774...> <54F1D960.9070406@...1...> Message-ID: <20150228152028.GA675@...2774...> On Sat, 28 Feb 2015, Beno?t Minisini wrote: > Le 27/02/2015 00:34, Tobias Boege a ?crit : > > On Fri, 27 Feb 2015, Tobias Boege wrote: > >> Hi, > >> > >> I feel like I already asked about this but didn't find it in my archives, so > >> I probably didn't... We saw that the Match operator always matches the emtpy > >> string > >> > > > > In case you didn't know, the "emtpy string" is another expression for "empty > > string". > > > > Fixed in revision #6919: Now the emtpy string only matches the etpmy > string. :-) > =================================================================== --- regexp.c (revision 6918) +++ regexp.c (working copy) @@ -170,6 +170,9 @@ CREGEXP tmp; bool ret = FALSE; + if (lsubject <= 0) + return (lpattern <= 0); + CLEAR(&tmp); tmp.ovecsize = OVECSIZE_INC; GB.Alloc(POINTER(&tmp.ovector), sizeof(int) * tmp.ovecsize); =================================================================== I don't think it's as simple as that :-) For now $ gbx3 -e 'Null Match "a*"' False but "a*" is zero or more a's and Null should match it. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From bagoneo at ...69... Sat Feb 28 16:34:03 2015 From: bagoneo at ...69... (Gian) Date: Sat, 28 Feb 2015 16:34:03 +0100 Subject: [Gambas-user] Problems by joining segments and arcs and doing Fill in class Paint In-Reply-To: <54F18702.8070504@...3441...> References: <54F18702.8070504@...3441...> Message-ID: <54F1DFEB.30305@...69...> Il 28/02/2015 10:14, Dani Futuro ha scritto: > Hi, > > I'm trying to join arcs and segments with class Paint, and I have some > problems. You can make dinamic zoom with the mouse wheel in the program > I attached and see what happens. If you get close enough to vertex with > the zoom you can see the end of one arc and the contiguous of the > segment move relatively up and down one from the other. > > I added four little segments in order to close the space between arcs > and segments, but the problem persist. If you select radiobutton Fill > you can see what happens. > > I added some Print to visualize the coordenates of four vertex. > > Thanks. > > Regards, > > Pablo > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > > > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > I do not know if it can help. Have you tried with Paint.CurveTo and Paint.ClosePath? Ciao Gianluigi From jusabejusabe at ...626... Sat Feb 28 20:35:45 2015 From: jusabejusabe at ...626... (Julio Sanchez) Date: Sat, 28 Feb 2015 20:35:45 +0100 Subject: [Gambas-user] Error when trying to access the farm Message-ID: Upload an application to the farm, and save the data password (check remember password on the form). Do not know if this has anything to do, but now when I try to access the farm, gives this error: This application has raised an unexpected error and must abort. [6] Type mismatch: wanted String, got Component instead. _Desktop_Passwords._get.75 Regards Julio [System] Gambas=3.6.90 OperatingSystem=Linux Kernel=3.13.0-24-generic Architecture=x86_64 Distribution=Linux Mint 17 Qiana Desktop=GNOME Theme=QGtk Language=es_ES.UTF-8 Memory=1993M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+3=libgtk-3.so.0.1000.8 GTK+=libgtk-x11-2.0.so.0.2400.23 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.43.0.0 Poppler=libpoppler.so.44.0.0 Qt4=libQtCore.so.4.8.0 Qt4=libQtCore.so.4.8.6 SDL=libSDL-1.2.so.0.11.4 From gambas at ...1... Sat Feb 28 21:00:23 2015 From: gambas at ...1... (=?windows-1252?Q?Beno=EEt_Minisini?=) Date: Sat, 28 Feb 2015 21:00:23 +0100 Subject: [Gambas-user] Error when trying to access the farm In-Reply-To: References: Message-ID: <54F21E57.3080104@...1...> Le 28/02/2015 20:35, Julio Sanchez a ?crit : > Upload an application to the farm, and save the data password (check > remember password on the form). Do not know if this has anything to do, but > now when I try to access the farm, gives this error: > > This application has raised an unexpected > error and must abort. > [6] Type mismatch: wanted String, got Component instead. > _Desktop_Passwords._get.75 > > Regards > > Julio > Can you try the latest revision? -- Beno?t Minisini From kevinfishburne at ...1887... Sat Feb 28 22:32:48 2015 From: kevinfishburne at ...1887... (Kevin Fishburne) Date: Sat, 28 Feb 2015 16:32:48 -0500 Subject: [Gambas-user] Some playing on logo redesing In-Reply-To: References: <54F117C1.8060000@...2382...> Message-ID: <54F23400.5030307@...1887...> On 02/28/2015 07:57 AM, Fabien Bodard wrote: > Le 28 f?vr. 2015 02:37, "Jesus" a ?crit : >> El 27/2/15 a las 15:11, Fabien Bodard escribi?: >> >> If you accept my criticism, I will tell you none of these do like to me >> at all... sorry ;-) > What ?... You don't like my job ? ? > > This is just a try to make a flat square logo in the material style. > > It's a game not a goal. > > Thank for giving your opinion. > > Yes the logo v3 is cool.l I like the overall design but can think of a couple improvements. It needs shading/gradients to give it more definition and body. I also think it isn't recognizable as a shrimp/prawn/gambas/camar?n/etc. The defining characteristics of a shrimp (in order of prominence) are the head, tail, segmented body and legs/pincers. Do a Google Images search for "shrimp icon" and you'll get some good ideas of where you can take your icon. Thanks for your feedback on Sylph, by the way. Thought I could pay you back here. :) -- Kevin Fishburne Eight Virtues www: http://sales.eightvirtues.com e-mail: sales at ...1887... phone: (770) 853-6271 From epost at ...3323... Sat Feb 28 22:36:54 2015 From: epost at ...3323... (=?UTF-8?B?SsO4cm4gRXJpayBNw7hybmU=?=) Date: Sat, 28 Feb 2015 22:36:54 +0100 Subject: [Gambas-user] Some playing on logo redesing In-Reply-To: <54F23400.5030307@...1887...> References: <54F117C1.8060000@...2382...> <54F23400.5030307@...1887...> Message-ID: <54F234F6.6000409@...3323...> There were some really good shrimp drawings here: http://depositphotos.com/vector-images/shrimp.html?2up78v Den 28. feb. 2015 22:32, skrev Kevin Fishburne: > shrimp icon