[Gambas-user] Embed a specific SQLite version
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 -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] .component file
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 signature.asc Description: OpenPGP digital signature -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] .list file class names with exclamation marks
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 -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] .component file
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 signature.asc Description: OpenPGP digital signature -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Widget focus
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 TestFocus-0.0.1.tar.gz Description: application/gzip TestForm-0.0.1.tar.gz Description: application/gzip -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] .component file
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 + (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 -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Issue 600 in gambas: IDE: Project Tree popup menu -New|Existing crash
Updates: Status: Fixed Labels: -Version Version-TRUNK Comment #1 on issue 600 by benoit.m...@gmail.com: 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 -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] .list file class names with exclamation marks
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 signature.asc Description: OpenPGP digital signature -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Issue 599 in gambas: deb package of component: icons not found
Comment #2 on issue 599 by chr4...@googlemail.com: 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 -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] .list file class names with exclamation marks
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 signature.asc Description: OpenPGP digital signature -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Error.Text in Application_Error()?
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 -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Widget focus
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 -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Widget focus
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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Embed a specific SQLite version
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. -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Widget focus
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 -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] Issue 600 in gambas: IDE: Project Tree popup menu -New|Existing crash
Comment #2 on issue 600 by brucedot...@gmail.com: 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 -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
Re: [Gambas-user] How to include a .so library in the .deb package?
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 t.lee.david...@gmail.com: 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user