From bugtracker at ...3416... Mon Aug 1 08:04:37 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 01 Aug 2016 06:04:37 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #972: TextArea Read-only Bug. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.972&from=L21haW4- Comment #1 by Mufeed ALI: Almost done with the Packager module. How do I send in a patch? From bugtracker at ...3416... Mon Aug 1 15:39:21 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 01 Aug 2016 13:39:21 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #972: TextArea Read-only Bug. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.972&from=L21haW4- Comment #2 by Tobias BOEGE: The Best Practice depends on what your Packager module is: o If it is an ordinary new Gambas project, send the source archive to the devel mailing list [1] and explain why it should be included in the repository, o If you made a modification to the Packager/ directory in the IDE source code, you can generate a patch using the menu Project -> Patch -> Create... and send it to the list, or you can directly commit [2] the change, if you are confident it doesn't break too many things (it would be better to do that if Benoit is around though, to not have unchecked code lying around in the repository for longer than necessary), o If it is, for whatever reason, a change in the C files of Gambas, you can either send a svn diff to the mailing list or, better in this case, commit the code once Benoit is here. [1] https://lists.sourceforge.net/lists/listinfo/gambas-devel [2] http://gambaswiki.org/wiki/howto/svn From bugtracker at ...3416... Mon Aug 1 16:05:10 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 01 Aug 2016 14:05:10 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #969: Suddenly getting error "Stream is closed" on Eof() and Lof() after closing Process stream In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.969&from=L21haW4- Comment #1 by Tobias BOEGE: I reverted two changes made in #7622 and #7624 regarding stream closing and my project is working again (*both* have to be reverted). I attach a patch for review. Tobias BOEGE changed the state of the bug to: Working. From bugtracker at ...3416... Mon Aug 1 16:05:16 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 01 Aug 2016 14:05:16 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #969: Suddenly getting error "Stream is closed" on Eof() and Lof() after closing Process stream In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.969&from=L21haW4- Tobias BOEGE added an attachment: 7830-fix-process-stream-closing.patch From bugtracker at ...3416... Mon Aug 1 16:34:53 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 01 Aug 2016 14:34:53 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #972: TextArea Read-only Bug. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.972&from=L21haW4- Comment #3 by Mufeed ALI: The packager.module file of the gambas ide is glitched. It fails to handle icons properly. So I'm fixing it. Its done actually but good practice, speed, etc is the question. It's tested and stuff but just want someone to check the code before committing it. From herberthguzman at ...626... Mon Aug 1 21:27:22 2016 From: herberthguzman at ...626... (herberth guzman) Date: Mon, 1 Aug 2016 13:27:22 -0600 Subject: [Gambas-user] How to add subitems to a ListView? Message-ID: Greetings Benoit will not if possible...? I'm trying to get a Listview with subitems. Attachment picture of what I want to do. Thanks. -------------- next part -------------- A non-text attachment was scrubbed... Name: custom-listview-1.png Type: image/png Size: 12150 bytes Desc: not available URL: From bugtracker at ...3416... Tue Aug 2 02:34:52 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 02 Aug 2016 00:34:52 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #971: Template list is empty In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.971&from=L21haW4- Comment #1 by Daniel MOREIRA: It was a Archlinux packaging error and it was fixed. Daniel MOREIRA changed the state of the bug to: Fixed. From bugtracker at ...3416... Tue Aug 2 14:55:49 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 02 Aug 2016 12:55:49 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #974: SVN: Can't Commit. Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.974&from=L21haW4- Mufeed ALI reported a new bug. Summary ------- SVN: Can't Commit. Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- Hi, I was trying to make some changes in the IDE(The Packager module thing i was talking about earlier). And Once I was done, I tried committing it but I got this instead: Sending app/src/gambas3/.src/Connection/FImportTable.form Sending app/src/gambas3/.src/Connection/FNewConnection.class Sending app/src/gambas3/.src/Connection/FNewConnection.form Sending app/src/gambas3/.src/Debug/FDebugButton.form Sending app/src/gambas3/.src/Debug/FDebugExpr.form Sending app/src/gambas3/.src/Debug/FOutput.form Sending app/src/gambas3/.src/Debug/FProfile.form Sending app/src/gambas3/.src/Dialog/Database/FFieldChooser.form Sending app/src/gambas3/.src/Dialog/FFileProperty.form Sending app/src/gambas3/.src/Dialog/FList.form Sending app/src/gambas3/.src/Editor/CBookmark.class Sending app/src/gambas3/.src/Editor/Code/FEditor.form Sending app/src/gambas3/.src/Editor/Code/FTextEditor.form Sending app/src/gambas3/.src/Editor/Connection/FConnectionEditor.class Sending app/src/gambas3/.src/Editor/Connection/FConnectionEditor.form Sending app/src/gambas3/.src/Editor/Form/CControl.class Sending app/src/gambas3/.src/Editor/Form/FForm.form Sending app/src/gambas3/.src/Editor/Form/FFormStack.form Sending app/src/gambas3/.src/Editor/Form/FMenu.form Sending app/src/gambas3/.src/Editor/Form/FProperty.class Sending app/src/gambas3/.src/Editor/Image/FImageEditor.form Sending app/src/gambas3/.src/Editor/Image/FImageProperty.class Sending app/src/gambas3/.src/Editor/Image/FImageProperty.form Sending app/src/gambas3/.src/FMain.class Sending app/src/gambas3/.src/FMain.form Sending app/src/gambas3/.src/FScreenshot.form Sending app/src/gambas3/.src/Family/Report/AngleBox.class Sending app/src/gambas3/.src/Family/Report/CoordBox.class Sending app/src/gambas3/.src/Family/Report/FReportBorderChooser.form Sending app/src/gambas3/.src/Family/Report/FReportBrushChooser.form Sending app/src/gambas3/.src/Family/Report/FReportCoordChooser.form Sending app/src/gambas3/.src/Help/FHelpBrowser.form Sending app/src/gambas3/.src/Help/FTips.form Sending app/src/gambas3/.src/Options/FOption.form Sending app/src/gambas3/.src/Packager/FMakeInstall.class Sending app/src/gambas3/.src/Packager/FMakeInstall.form Sending app/src/gambas3/.src/Packager/Package.module Sending app/src/gambas3/.src/Project/CProjectTree.class Sending app/src/gambas3/.src/Project/Conversion/FConvert.form Sending app/src/gambas3/.src/Project/FCreateProject.form Sending app/src/gambas3/.src/Project/FOpenProject.form Sending app/src/gambas3/.src/Project/FProjectProperty.class Sending app/src/gambas3/.src/Project/FProjectProperty.form Sending app/src/gambas3/.src/Project/Farm/FFarmLogin.form Sending app/src/gambas3/.src/Project/Farm/FFarmRegister.form Sending app/src/gambas3/.src/Project/Farm/FPublish.form Sending app/src/gambas3/.src/Project/Farm/FSoftwareFarm.form Sending app/src/gambas3/.src/Project/Library/FSelectLibrary.class Sending app/src/gambas3/.src/Project/Library/FSelectLibrary.form Sending app/src/gambas3/.src/Project/Patch/FPatch.form Sending app/src/gambas3/.src/Project/ProjectBox.class Sending app/src/gambas3/.src/Project.module Sending app/src/gambas3/.src/Search/FSearch.class Sending app/src/gambas3/.src/Search/FSearch.form Sending app/src/gambas3/.src/Subversion/FConflict.form Sending app/src/gambas3/.src/Subversion/FProjectVersion.form Sending app/src/gambas3/.src/Translation/FTranslate.form Sending app/src/gambas3/.src/Welcome/FSystemInfo.form Sending app/src/gambas3/.src/Welcome/FWelcome.form Transmitting file data ...........................................................done Committing transaction... svn: E000013: Commit failed (details follow): svn: E000013: Can't open file '/svn/p/gambas/code/db/txn-current-lock': Permission denied Then, I searched and found it was an issue with the repository. Any help would be appreciated. Thank You. System information ------------------ [System] Gambas=3.8.90 OperatingSystem=Linux Kernel=4.4.0-31-generic Architecture=x86_64 Distribution=Ubuntu 16.04.1 LTS Desktop=UNITY Theme=Gtk Language=en_US.UTF-8 Memory=3919M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.802.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CLUTTER_IM_MODULE=xim COMPIZ_BIN_PATH=/usr/bin/ COMPIZ_CONFIG_PROFILE=ubuntu DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-s6qrZrC6WE DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path DESKTOP_SESSION=ubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=ubuntu GDM_LANG=en_US GIO_LAUNCHED_DESKTOP_FILE=/.local/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=18638 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL= GNOME_KEYRING_PID= GTK2_MODULES=overlay-scrollbar GTK_IM_MODULE=ibus GTK_MODULES=gail:atk-bridge:unity-gtk-module HOME= IM_CONFIG_PHASE=1 INSTANCE= JOB=unity-settings-daemon LANG=en_US.UTF-8 LANGUAGE=en_US LC_ADDRESS=en_US.UTF-8 LC_IDENTIFICATION=en_US.UTF-8 LC_MEASUREMENT=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_NAME=en_US.UTF-8 LC_NUMERIC=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_TELEPHONE=en_US.UTF-8 LC_TIME=en_US.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path PAPERSIZE=letter PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PWD= QT4_IM_MODULE=ibus QT_ACCESSIBILITY=1 QT_IM_MODULE=ibus QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_QPA_PLATFORMTHEME=appmenu-qt5 SESSION=ubuntu SESSIONTYPE=gnome-session SHELL=/bin/bash SHLVL=0 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime UPSTART_EVENTS=xsession started UPSTART_INSTANCE= UPSTART_JOB=unity7 UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/3022 USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg:/usr/share/kubuntu-default-settings/kf5-settings XDG_CURRENT_DESKTOP=Unity XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=ubuntu XDG_SESSION_ID=c1 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 XMODIFIERS=@...3498...=ibus From charlie at ...2793... Tue Aug 2 14:37:48 2016 From: charlie at ...2793... (Charlie) Date: Tue, 2 Aug 2016 05:37:48 -0700 (MST) Subject: [Gambas-user] How to add subitems to a ListView? In-Reply-To: References: Message-ID: <1470141468439-56849.post@...3046...> See if the attached works for you. I have used a Gridview to get the result I think you are looking for. MultipleListView.tar -- View this message in context: http://gambas.8142.n7.nabble.com/How-to-add-subitems-to-a-ListView-tp56846p56849.html Sent from the gambas-user mailing list archive at Nabble.com. From tercoide at ...67... Wed Aug 3 14:53:02 2016 From: tercoide at ...67... (martin p cristia) Date: Wed, 3 Aug 2016 09:53:02 -0300 Subject: [Gambas-user] How to catch actions from a control used by a table's EdithWith In-Reply-To: References: Message-ID: Hi: I need to catch the keypress event from a textbox used by the EdithWith method. This doesn't work: Sub txtEntry_KeyPress() Debug Key.Text Stop If Key.code = Key.up Then tblHoja.Save Try tblHoja.row -= 1 Endif End The keyPress event isn't raised in the Tableview control neither when editing. -- Saludos Ing. Martin P Cristia From bagonergi at ...626... Wed Aug 3 16:08:25 2016 From: bagonergi at ...626... (Gianluigi) Date: Wed, 3 Aug 2016 16:08:25 +0200 Subject: [Gambas-user] How to add subitems to a ListView? In-Reply-To: <1470141468439-56849.post@...3046...> References: <1470141468439-56849.post@...3046...> Message-ID: Hello, I suggest this change Regards Gianluigi 2016-08-02 14:37 GMT+02:00 Charlie : > See if the attached works for you. I have used a Gridview to get the > result I > think you are looking for. > MultipleListView.tar > > > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/How-to-add-subitems-to-a-ListView-tp56846p56849.html > Sent from the gambas-user mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > _______________________________________________ > 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: MultipleListView-Draw-0.0.1.tar.gz Type: application/x-gzip Size: 12472 bytes Desc: not available URL: From nigelverity at ...67... Wed Aug 3 21:49:47 2016 From: nigelverity at ...67... (Nigel Verity) Date: Wed, 3 Aug 2016 20:49:47 +0100 Subject: [Gambas-user] Slow Gambas Startup Message-ID: Hi I have Gambas 3.8.4 installed on 3 laptops, in each case running Mint 17.3 Mate. While each is a different hardware spec they are similar. Two have SSDs and one a spinning HD. My problem is that on 2 machines Gambas starts up in a few seconds. On the 3rd it takes more than a minute. Once it is running it works well - it's purely the startup which is very slow. All other applications installed on this machine (SSD) seem to start normally. I have reinstalled Gambas but it makes no difference. Does Gambas perform any disk or file checks during startup which might explain this odd behaviour? Thanks Nige From nigelverity at ...67... Wed Aug 3 21:50:34 2016 From: nigelverity at ...67... (Nigel Verity) Date: Wed, 3 Aug 2016 20:50:34 +0100 Subject: [Gambas-user] Slow Gambas Startup Message-ID: Hi I have Gambas 3.8.4 installed on 3 laptops, in each case running Mint 17.3 Mate. While each is a different hardware spec they are similar. Two have SSDs and one a spinning HD. My problem is that on 2 machines Gambas starts up in a few seconds. On the 3rd it takes more than a minute. Once it is running it works well - it's purely the startup which is very slow. All other applications installed on this machine (SSD) seem to start normally. I have reinstalled Gambas but it makes no difference. Does Gambas perform any disk or file checks during startup which might explain this odd behaviour? Thanks Nige From nigelverity at ...67... Wed Aug 3 21:51:10 2016 From: nigelverity at ...67... (Nigel Verity) Date: Wed, 3 Aug 2016 20:51:10 +0100 Subject: [Gambas-user] Slow Gambas Startup Message-ID: Hi I have Gambas 3.8.4 installed on 3 laptops, in each case running Mint 17.3 Mate. While each is a different hardware spec they are similar. Two have SSDs and one a spinning HD. My problem is that on 2 machines Gambas starts up in a few seconds. On the 3rd it takes more than a minute. Once it is running it works well - it's purely the startup which is very slow. All other applications installed on this machine (SSD) seem to start normally. I have reinstalled Gambas but it makes no difference. Does Gambas perform any disk or file checks during startup which might explain this odd behaviour? Thanks Nige From charlie at ...2793... Thu Aug 4 16:09:45 2016 From: charlie at ...2793... (Charlie) Date: Thu, 4 Aug 2016 07:09:45 -0700 (MST) Subject: [Gambas-user] How to add subitems to a ListView? In-Reply-To: References: <1470141468439-56849.post@...3046...> Message-ID: <1470319785759-56855.post@...3046...> Hi Gianluigi - Very good, you certainly know your way around the 'Paint' command. -- View this message in context: http://gambas.8142.n7.nabble.com/How-to-add-subitems-to-a-ListView-tp56846p56855.html Sent from the gambas-user mailing list archive at Nabble.com. From bagonergi at ...626... Fri Aug 5 14:39:15 2016 From: bagonergi at ...626... (Gianluigi) Date: Fri, 5 Aug 2016 14:39:15 +0200 Subject: [Gambas-user] Database IDE manager connections Message-ID: Hello to all, every time I open my database in the IDE manager (File>Open file), Gambas creates a new connection, as you can see from the locate command.[0] Is this correct behavior? I do something wrong? I attach SQLite test. Regards Gianluigi [0] ~$ locate CiccioFormaggio /home/gian/Scrivania/TestDB/.connection/CiccioFormaggio /home/gian/Scrivania/TestDB/.connection/CiccioFormaggio2 /home/gian/Scrivania/TestDB/.connection/CiccioFormaggio3 /home/gian/Scrivania/TestDB/.connection/CiccioFormaggio4 /home/gian/Scrivania/TestDB/.connection/CiccioFormaggio5 /home/gian/Scrivania/TestDB/.connection/CiccioFormaggio6 /home/gian/Scrivania/TestDB/.connection/CiccioFormaggio7 /home/gian/TestDB/database/CiccioFormaggio -------------- next part -------------- A non-text attachment was scrubbed... Name: TestDB-0.0.1.tar.gz Type: application/x-gzip Size: 12291 bytes Desc: not available URL: From bugtracker at ...3416... Fri Aug 5 19:25:07 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 05 Aug 2016 17:25:07 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #973: Desktop.RunAsRoot(): file or directory doesn't exist In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.973&from=L21haW4- Comment #1 by Mufeed ALI: Desktop.RunAsRoot requires the command to be written between the brackets. For example: Desktop.RunAsRoot("rm /var/crash/*") This can be used to clear crash logs in Ubuntu & some other distributions but not all. Read more here(just a little more): http://gambaswiki.org/wiki/comp/gb.desktop/desktop/runasroot Mufeed ALI changed the state of the bug to: Invalid. From bugtracker at ...3416... Fri Aug 5 23:00:36 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 05 Aug 2016 21:00:36 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #973: Desktop.RunAsRoot(): file or directory doesn't exist In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.973&from=L21haW4- Comment #2 by vuott VUOTT: > Desktop.RunAsRoot requires the command to be written between the brackets. Yes, I know it. If I try this: Public Sub Button1_Click() Desktop.RunAsRoot("chmod 666 /dev/tty1") End or e.g.: Public Sub Button1_Click() Desktop.RunAsRoot("cat /dev/input/mouse0") End I get that error message: "File or directory doesen't exist." vuott VUOTT changed the state of the bug to: Opened. From tmorehen at ...3602... Fri Aug 5 23:07:02 2016 From: tmorehen at ...3602... (Tony Morehen) Date: Fri, 5 Aug 2016 17:07:02 -0400 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #973: Desktop.RunAsRoot(): file or directory doesn't exist In-Reply-To: References: Message-ID: Try adding the full path to chmod or cat. On 8/5/2016 5:00 PM, bugtracker at ...3416... wrote: > http://gambaswiki.org/bugtracker/edit?object=BUG.973&from=L21haW4- > > Comment #2 by vuott VUOTT: > >> Desktop.RunAsRoot requires the command to be written between the brackets. > Yes, I know it. > > > If I try this: > > Public Sub Button1_Click() > > Desktop.RunAsRoot("chmod 666 /dev/tty1") > > End > > or e.g.: > > Public Sub Button1_Click() > > Desktop.RunAsRoot("cat /dev/input/mouse0") > > End > > > I get that error message: > "File or directory doesen't exist." > > vuott VUOTT changed the state of the bug to: Opened. > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From vuott at ...325... Sat Aug 6 03:59:01 2016 From: vuott at ...325... (Ru Vuott) Date: Sat, 6 Aug 2016 01:59:01 +0000 (UTC) Subject: [Gambas-user] [Gambas Bug Tracker] Bug #973: Desktop.RunAsRoot(): file or directory doesn't exist References: <2003267018.17573681.1470448741304.JavaMail.yahoo.ref@...3424...> Message-ID: <2003267018.17573681.1470448741304.JavaMail.yahoo@...3424...> Thanks you. I tried you suggestion, but I get same error message. :-( ......I'ld like to point out, strangely, if I use this other resource: Desktop.OpenTerminal() or Desktop.OpenTerminal("/usr/bin/gnome-terminal") I obtain this error message: " /bin/sh: 1: mate-terminal: not found " It seems for me so strange, because all worked before ! regards vuott -------------------------------------------- Ven 5/8/16, Tony Morehen ha scritto: Oggetto: Re: [Gambas-user] [Gambas Bug Tracker] Bug #973: Desktop.RunAsRoot(): file or directory doesn't exist A: "mailing list for gambas users" Data: Venerd? 5 agosto 2016, 23:07 Try adding the full path to chmod or cat. On 8/5/2016 5:00 PM, bugtracker at ...3416... wrote: > http://gambaswiki.org/bugtracker/edit?object=BUG.973&from=L21haW4- > > Comment #2 by vuott VUOTT: > >> Desktop.RunAsRoot requires the command to be written between the brackets. > Yes, I know it. > > > If I try this: > > Public Sub Button1_Click() > >? ? Desktop.RunAsRoot("chmod 666 /dev/tty1") > > End > >???or e.g.: > > Public Sub Button1_Click() > >? ? Desktop.RunAsRoot("cat /dev/input/mouse0") > > End > > > I get that error message: > "File or directory doesen't exist." > > vuott VUOTT changed the state of the bug to: Opened. > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user From bugtracker at ...3416... Sat Aug 6 09:58:23 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 06 Aug 2016 07:58:23 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #973: Desktop.RunAsRoot(): file or directory doesn't exist In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.973&from=L21haW4- Comment #3 by Mufeed ALI: you mean for every command? From bugtracker at ...3416... Sat Aug 6 11:33:08 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 06 Aug 2016 09:33:08 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #973: Desktop.RunAsRoot(): file or directory doesn't exist In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.973&from=L21haW4- Comment #4 by Mufeed ALI: Ok i get it. Bug confirmed. Sorry for setting it as invalid. I'm working on a workaround for until when it gets fixed. I'll attach it as soon as possible. From bugtracker at ...3416... Sat Aug 6 15:30:10 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 06 Aug 2016 13:30:10 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #973: Desktop.RunAsRoot(): file or directory doesn't exist In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.973&from=L21haW4- Comment #5 by vuott VUOTT: > you mean for every command? Yes, for every command ! > Bug confirmed. I'ld like to point out more: if I use this command: Desktop.OpenTerminal() or Desktop.OpenTerminal("gnome-terminal") or Desktop.OpenTerminal("/usr/bin/gnome-terminal") or also Desktop.OpenTerminal("xterm") I obtain this strange error messgae: " /bin/sh: 1: mate-terminal: not found " ....mate-terminal ????? Bye From tercoide at ...67... Sat Aug 6 15:54:41 2016 From: tercoide at ...67... (martin p cristia) Date: Sat, 6 Aug 2016 10:54:41 -0300 Subject: [Gambas-user] Upper left cell in a TableView In-Reply-To: References: Message-ID: It is possible to put some text in a tableview's upper left cell when both headers are set? -- Saludos Ing. Martin P Cristia From bugtracker at ...3416... Sat Aug 6 18:34:07 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 06 Aug 2016 16:34:07 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #973: Desktop.RunAsRoot(): file or directory doesn't exist In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.973&from=L21haW4- Comment #6 by Bruce BRUEN: OK. Firstly, regarding the RunAsRoot() problem. This is not a gambas "bug" per-se. The problem is that the file "xdg-su" is missing from the xdg-utils directory in the gb.Desktop project directory (i.e. the Data/xdg-utils directory in the IDE). Now, why this is missing is a complex issue and what the correct solution is, is even more so. xdg-su is a bash script that attempts to determine the correct method for invoking a privileged command (or more correctly, invoking a command with admin privileges). Unfortunately it uses an internal and very outdated means of determining that method by way of finding which desktop environment is active. In other words "if I know which DE is in use therefore the correct utility to invoke is ...". Wrong! Even further, the script as it is can only detect "KDE" or "GNOME" or "xfce". (Which was fine back in 2006!) Looking at the current xdg-utils web page https://www.freedesktop.org/wiki/Software/xdg-utils/ I find that, wonder of wonders, xdg-su no longer exists. The git repository does have an xdg-su script, but at face value that is incompatible with the version used by the gambas gb.Desktop component (it requires xdg-common). The final problem is that the desktop is no longer an indicator for determining the "correct" privilege escalation method. In fact, I have at least 3 ways of achieving it on my pc - all of which work, more or less :-) - to my mind it is a user preference thing, not a desktop thing. For example, if I know I'm going to be installing a gambas program lots of times in a session, then I use gksu, which has the remarkable ability to remember the root password for the duration of the session. Dangerous? Maybe but it works for me in that situation. On the other hand, if I'm doing something really dangerous, I'll simply use "su" in a terminal. So how do we fix this? Do we continue to use the xdg-su approach, write a gambas specific solution or something else? My initial gut feeling is that a gambas solution is the best in the long term. Now, secondly - the OpenTerminal issue is a separate bug entirely. Ru - please raise it accordingly. But before you do, review your usage of the command - the optional function parameter is the "directory where the terminal will open", so Desktop.OpenTerminal("/etc") opens a terminal with the working directory set to "/etc". You cannot prescribe the terminal emulator. Having said that, there is a bug if it is not figuring out what your default terminal emulator is and thus it is falling through to a default of "mate-terminal" or it is detecting your desktop correctly but the terminal emulator program name is wrong. From bagonergi at ...626... Sat Aug 6 19:35:25 2016 From: bagonergi at ...626... (Gianluigi) Date: Sat, 6 Aug 2016 19:35:25 +0200 Subject: [Gambas-user] Upper left cell in a TableView In-Reply-To: References: Message-ID: I am not sure I understand : Public Sub Form_Open() TableView1.Columns.Count = 3 TableView1.Rows.Count = 3 TableView1.Header = 3 TableView1.Columns[0].Title = "TITLE COLUMN" TableView1.Rows[0].Title = "TITLE ROW" TableView1[0, 0].Text = "FOO" End Regards Gianluigi 2016-08-06 15:54 GMT+02:00 martin p cristia : > It is possible to put some text in a tableview's upper left cell when > both headers are set? > > -- > Saludos > > Ing. Martin P Cristia > > > ------------------------------------------------------------ > ------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Sun Aug 7 12:20:38 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 7 Aug 2016 12:20:38 +0200 Subject: [Gambas-user] Upper left cell in a TableView In-Reply-To: References: Message-ID: Yes but you need to use the drawing event and drawing it by hand. It's not a true cell but all .can be done .... Imagine that the treeview is based on the gridview too. ?? Le 6 ao?t 2016 15:56, "martin p cristia" a ?crit : > It is possible to put some text in a tableview's upper left cell when > both headers are set? > > -- > Saludos > > Ing. Martin P Cristia > > > ------------------------------------------------------------ > ------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Sun Aug 7 12:22:53 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 7 Aug 2016 12:22:53 +0200 Subject: [Gambas-user] How to add subitems to a ListView? In-Reply-To: <1470319785759-56855.post@...3046...> References: <1470141468439-56849.post@...3046...> <1470319785759-56855.post@...3046...> Message-ID: Paint + Gridwiew is a magic couples Le 4 ao?t 2016 17:26, "Charlie" a ?crit : > Hi Gianluigi - Very good, you certainly know your way around the 'Paint' > command. > > > > > -- > View this message in context: http://gambas.8142.n7.nabble. > com/How-to-add-subitems-to-a-ListView-tp56846p56855.html > Sent from the gambas-user mailing list archive at Nabble.com. > ------------------------------------------------------------ > ------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Sun Aug 7 12:25:30 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 7 Aug 2016 12:25:30 +0200 Subject: [Gambas-user] Internet down Message-ID: Since two week... It's really long forced holidays... I will be rescued Thursday ? From bagonergi at ...626... Sun Aug 7 15:08:48 2016 From: bagonergi at ...626... (Gianluigi) Date: Sun, 7 Aug 2016 15:08:48 +0200 Subject: [Gambas-user] Upper left cell in a TableView In-Reply-To: References: Message-ID: Maybe I understood A thing like that? Regards Gianluigi 2016-08-06 15:54 GMT+02:00 martin p cristia : > It is possible to put some text in a tableview's upper left cell when > both headers are set? > > -- > Saludos > > Ing. Martin P Cristia > > > ------------------------------------------------------------ > ------------------ > _______________________________________________ > 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: LabTableView-0.0.1.tar.gz Type: application/x-gzip Size: 12136 bytes Desc: not available URL: From bagonergi at ...626... Sun Aug 7 15:34:11 2016 From: bagonergi at ...626... (Gianluigi) Date: Sun, 7 Aug 2016 15:34:11 +0200 Subject: [Gambas-user] How to add subitems to a ListView? In-Reply-To: References: <1470141468439-56849.post@...3046...> <1470319785759-56855.post@...3046...> Message-ID: Hello Fabien, as I said privately to Charlie, I copy (badly) from the masters: Benoit in primis, Fabien, Milio, Sotema, ( l'innominabile :-P ), Tobias & Co... :-D Regards Gianluigi 2016-08-07 12:22 GMT+02:00 Fabien Bodard : > Paint + Gridwiew is a magic couples > Le 4 ao?t 2016 17:26, "Charlie" a ?crit : > > > Hi Gianluigi - Very good, you certainly know your way around the 'Paint' > > command. > > > > > > > > > > -- > > View this message in context: http://gambas.8142.n7.nabble. > > com/How-to-add-subitems-to-a-ListView-tp56846p56855.html > > Sent from the gambas-user mailing list archive at Nabble.com. > > ------------------------------------------------------------ > > ------------------ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------ > ------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bagonergi at ...626... Sun Aug 7 16:29:22 2016 From: bagonergi at ...626... (Gianluigi) Date: Sun, 7 Aug 2016 16:29:22 +0200 Subject: [Gambas-user] Upper left cell in a TableView In-Reply-To: References: Message-ID: I removed a few mistakes, sorry ;-D 2016-08-07 15:08 GMT+02:00 Gianluigi : > Maybe I understood > A thing like that? > > Regards > Gianluigi > > 2016-08-06 15:54 GMT+02:00 martin p cristia : > >> It is possible to put some text in a tableview's upper left cell when >> both headers are set? >> >> -- >> Saludos >> >> Ing. Martin P Cristia >> >> >> ------------------------------------------------------------ >> ------------------ >> _______________________________________________ >> 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: LabTableView-0.0.2.tar.gz Type: application/x-gzip Size: 12181 bytes Desc: not available URL: From tercoide at ...67... Sun Aug 7 17:28:32 2016 From: tercoide at ...67... (martin p cristia) Date: Sun, 7 Aug 2016 12:28:32 -0300 Subject: [Gambas-user] Upper left cell in a TableView In-Reply-To: References: Message-ID: > TableView1[0, 0].Text = "FOO" that gives error > > From: Fabien Bodard > Subject: Re: [Gambas-user] Upper left cell in a TableView > To: mailing list for gambas users > > > Yes but you need to use the drawing event and drawing it by hand. It's not > a true cell but all .can be done .... Imagine that the treeview is based on > the gridview too. ?? > too complex! > From: Gianluigi > Subject: Re: [Gambas-user] Upper left cell in a TableView > To: mailing list for gambas users > Message-ID: > > Content-Type: text/plain; charset="utf-8" > > Maybe I understood > A thing like that? > > Regards > Gianluigi > > Name: LabTableView-0.0.1.tar.gz > please send it to me estru3d at gmail dot com -- Saludos Ing. Martin P Cristia From bagonergi at ...626... Sun Aug 7 18:16:51 2016 From: bagonergi at ...626... (Gianluigi) Date: Sun, 7 Aug 2016 18:16:51 +0200 Subject: [Gambas-user] Upper left cell in a TableView In-Reply-To: References: Message-ID: I sent you the email, you can not download from here?: http://gambas.8142.n7.nabble.com/Upper-left-cell-in-a-TableView-td56864.html The correct version (I hope) is the LabTableView-0.0.2.tar.gz Regards Gianluigi 2016-08-07 17:28 GMT+02:00 martin p cristia : > > > TableView1[0, 0].Text = "FOO" > that gives error > > > > From: Fabien Bodard > > Subject: Re: [Gambas-user] Upper left cell in a TableView > > To: mailing list for gambas users > > > > > > Yes but you need to use the drawing event and drawing it by hand. It's > not > > a true cell but all .can be done .... Imagine that the treeview is based > on > > the gridview too. ?? > > > too complex! > > From: Gianluigi > > Subject: Re: [Gambas-user] Upper left cell in a TableView > > To: mailing list for gambas users > > Message-ID: > > 8XeXWTfJpdg at ...627...> > > Content-Type: text/plain; charset="utf-8" > > > > Maybe I understood > > A thing like that? > > > > Regards > > Gianluigi > > > > Name: LabTableView-0.0.1.tar.gz > > > please send it to me estru3d at gmail dot com > > -- > Saludos > > Ing. Martin P Cristia > > > ------------------------------------------------------------ > ------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Mon Aug 8 19:08:38 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 8 Aug 2016 19:08:38 +0200 Subject: [Gambas-user] Upper left cell in a TableView In-Reply-To: References: Message-ID: This is how to do :-) ' Gambas class file Public Sub Form_Open() TableView1.Rows.Count = 10 TableView1.Columns.Count = 6 End Public Sub TableView1_Draw(X As Integer, Y As Integer, Width As Integer, Height As Integer, Row As Integer, Column As Integer) If Row = 0 And If Column = 0 Then 'Limit the drawing to one time (even if the event is called for each existing cells) Paint.Save 'Save the clip stack Paint.ResetClip 'Reset the cliping region Paint.Brush = Paint.Color(Color.Black) 'Select the text color Paint.ClipRect = Rect(0, 0, TableView1.Rows.W, TableView1.Columns.H) 'set the clippin region to the upper left cells size Paint.Text("toto", 0, 0, TableView1.Rows.W, TableView1.Columns.H, Align.Center) 'Draw the text path Paint.Fill 'Fill the text with color Paint.Restore 'Restore the clipping area Endif End From gambas at ...1... Mon Aug 8 20:35:33 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 8 Aug 2016 20:35:33 +0200 Subject: [Gambas-user] Use gb.web.form in a web project with not only web forms In-Reply-To: <20160726162614.GC20652@...3600...> References: <20160726162614.GC20652@...3600...> Message-ID: <57A8D0F5.1090007@...1...> Le 26/07/2016 18:26, Tobias Boege a ?crit : > Hi Benoit, > > I have some projects using gb.web.form now and in every of these I have the > requirement not only to load webforms but also a webpage or to implement > some other URL schema to generate or serve a ressource. > > As I see it, gb.web.form wants to take complete control over the project's > Main() routine (correct me if I'm wrong here), whereas my projects require > some analysis of the request path in their Main() such as: > > Select Case Mid$(Request.Path, 2) > Case "favicon.png" > sPath = Server.DataDir &/ "favicon.png" > If Exist(sPath) Then > Response.SendFile(sPath) > Else > Response.SendFile("default.png") > Endif > > Case Like "data:*" ' server data > Response.SendFile(Server.DataDir &/ Mid$(Request.Path, 7)) > > Case Like "?*:*" ' possibly user data, might also be /lib:0.0.1.js from gb.web.form > ' Note that this URL is not protected by the session > With Scan(Mid$(Request.Path, 2), "*:*") > If Users.Exist(.[0]) Then > Users[.[0]].SendFile(.[1]) > Else > Goto _Default > Endif > End With > > Case "upload" > ' ... > > : > : ' Other special URLs and URL schemata > : > > Case "" ' root > If CheckSession() Then Return > Home.Run() > > Default > _Default: > ' XXX: This is a hack to get gb.web.form data and to pipe its javascript > ' magic through. > With Scan(Request.Path, "/*/*") > If .Count Then > Try Class.Stat(.[0]) > If Error Then > Request.Path = "/" &/ File.Name(Request.Path) > Endif > Endif > End With > WebForm.Main() > End Select > > I have to serve data from a preconfigured server directory, generate some > data on-the-fly, send project-internal data or serve webforms. As you may > be able to tell, the Default case handles gb.web.form integration into the > control flow and it's not pretty. > > Do you have any idea? > > Regards, > Tobi > Yes, the idea of gb.web.form requires taking entire control of the URL at the moment. Maybe adding a call to a "HandleRequest" (or another name) public method during the Main function would be enough for you? -- Beno?t Minisini From taboege at ...626... Mon Aug 8 21:25:12 2016 From: taboege at ...626... (Tobias Boege) Date: Mon, 8 Aug 2016 21:25:12 +0200 Subject: [Gambas-user] Use gb.web.form in a web project with not only web forms In-Reply-To: <57A8D0F5.1090007@...1...> References: <20160726162614.GC20652@...3600...> <57A8D0F5.1090007@...1...> Message-ID: <20160808192512.GA707@...3600...> On Mon, 08 Aug 2016, Beno?t Minisini wrote: > Le 26/07/2016 18:26, Tobias Boege a ?crit : > > Hi Benoit, > > > > I have some projects using gb.web.form now and in every of these I have the > > requirement not only to load webforms but also a webpage or to implement > > some other URL schema to generate or serve a ressource. > > > > As I see it, gb.web.form wants to take complete control over the project's > > Main() routine (correct me if I'm wrong here), whereas my projects require > > some analysis of the request path in their Main() such as: > > > > [snip] > > > > I have to serve data from a preconfigured server directory, generate some > > data on-the-fly, send project-internal data or serve webforms. As you may > > be able to tell, the Default case handles gb.web.form integration into the > > control flow and it's not pretty. > > > > Do you have any idea? > > > > Regards, > > Tobi > > > > Yes, the idea of gb.web.form requires taking entire control of the URL > at the moment. > > Maybe adding a call to a "HandleRequest" (or another name) public method > during the Main function would be enough for you? > That would suffice, I presume. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas.fr at ...626... Tue Aug 9 22:22:35 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 9 Aug 2016 22:22:35 +0200 Subject: [Gambas-user] Upper left cell in a TableView In-Reply-To: References: Message-ID: Really more shorter and more sure. ' Gambas class file Private OBS As Observer Public Sub Form_Open() 'need an observer to get the draw event after the array drawing OBS = New Observer(TableView1.Children[0], True) As "OBS" TableView1.Rows.Count = 10000 TableView1.Columns.Count = 6 End Public Sub OBS_Draw() Draw.ClipRect = Rect(0, 0, TableView1.Rows.W, TableView1.Columns.H) 'set the clippin region to the upper left cells size Draw.Text("toto", 0, 0, TableView1.Rows.W, TableView1.Columns.H, Align.Center) 'Draw the text path End From bagonergi at ...626... Tue Aug 9 23:06:04 2016 From: bagonergi at ...626... (Gianluigi) Date: Tue, 9 Aug 2016 23:06:04 +0200 Subject: [Gambas-user] Upper left cell in a TableView In-Reply-To: References: Message-ID: Hello Fabien, very nice, I like, though it not automatically adapts to the written. ? Regards Gianluigi 2016-08-09 22:22 GMT+02:00 Fabien Bodard : > Really more shorter and more sure. > > > > ' Gambas class file > > Private OBS As Observer > > > Public Sub Form_Open() > > 'need an observer to get the draw event after the array drawing > OBS = New Observer(TableView1.Children[0], True) As "OBS" > > TableView1.Rows.Count = 10000 > TableView1.Columns.Count = 6 > > End > > Public Sub OBS_Draw() > > Draw.ClipRect = Rect(0, 0, TableView1.Rows.W, > TableView1.Columns.H) 'set the clippin region to the upper left cells > size > Draw.Text("toto", 0, 0, TableView1.Rows.W, TableView1.Columns.H, > Align.Center) 'Draw the text path > > End > > ------------------------------------------------------------ > ------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and > traffic > patterns at an interface-level. Reveals which users, apps, and protocols > are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning reports. http://sdm.link/zohodev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Wed Aug 10 02:43:17 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 10 Aug 2016 02:43:17 +0200 Subject: [Gambas-user] Gambas custom controls : renaming the exported class In-Reply-To: <576B8BF3.8060901@...1...> References: <20160623123425.caaef1b7348bc4b642251665@...626...> <576B8BF3.8060901@...1...> Message-ID: <57AA78A5.2090902@...1...> Le 23/06/2016 09:12, Beno?t Minisini a ?crit : > Le 23/06/2016 05:04, adamnt42 at ...626... a ?crit : >> Well this is a bit obscure but for me it's a big pain. >> >> When developing a custom gambas control I quite often include a test >> form inside that project. That form is used extensively during >> development of the custom control (i.e. even before I package and >> deploy the control in client projects, and sometimes even later when >> issues arise...) Now, here's the problem. If I have given the >> control a "development" name and I later want to give it a more >> meaningful name, the entire custom control project collapses because >> the renamed class does not exist in the test form. >> >> An example might illuminate. I am working on a "lightweight" version >> of the native DirChooser control - in essence, I want to get rid of >> much of the extended functionality of the native control and just be >> able to display a directory tree, no file view, no added vitamins >> etc. So, I copied the native source and have expunged much of the >> features I do not need. The goal is to just display a directory tree >> in a side bar, so I need to get rid of the extra features and just >> show the tree. It's a bit like the IDE project tree sidebar but even >> simpler. >> >> So developmentally, I (like the fool I am) renamed the "target" >> control class as XDirChooser. Now I want to rename that class >> "LWDirChooser" (for Light Weight) so it will appear in the IDE quite >> visibly. But having done that, the test form is now invalid and the >> component wont compile.... grrr. To work around this I need to edit >> the test.form file and change the XDirChooser to a LWDirChooser, then >> it all works. >> >> But it is a right royal PITA! >> >> This bug is raised in the spirit of your comment at the end of the >> "How to develop Program Components in Gambas" page: Conclusion >> >> I try to find the easiest way of making components with the IDE. It >> is not perfect yet, but if you have any comment, question or problem, >> please use the mailing-list! >> > > I didn't think about that. It's because I usually directly use the final > name of the control, and so my test forms are always valid. > > The problem is more general anyway, as if you rename any class in your > project, other classes will continue to use the old name, and will fail > at compilation or execution time. > > You have to rename the class by hand everywhere, and in the forms you > cannot do that if it was not already opened before you renamed the class. > > I will try to implement an automatic renaming of form classes. It may > slow down the renaming process, but I think I have no choice... > The bug should be fixed in revision #7831. Regards, -- Beno?t Minisini From adamnt42 at ...626... Wed Aug 10 08:42:52 2016 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Wed, 10 Aug 2016 16:12:52 +0930 Subject: [Gambas-user] Gambas custom controls : renaming the exported class In-Reply-To: <57AA78A5.2090902@...1...> References: <20160623123425.caaef1b7348bc4b642251665@...626...> <576B8BF3.8060901@...1...> <57AA78A5.2090902@...1...> Message-ID: <20160810161252.b6a352105de9741d1d005a89@...626...> On Wed, 10 Aug 2016 02:43:17 +0200 Beno?t Minisini wrote: > Le 23/06/2016 09:12, Beno?t Minisini a ?crit : > > Le 23/06/2016 05:04, adamnt42 at ...626... a ?crit : > >> Well this is a bit obscure but for me it's a big pain. > >> > >> When developing a custom gambas control I quite often include a test > >> form inside that project. That form is used extensively during > >> development of the custom control (i.e. even before I package and > >> deploy the control in client projects, and sometimes even later when > >> issues arise...) Now, here's the problem. If I have given the > >> control a "development" name and I later want to give it a more > >> meaningful name, the entire custom control project collapses because > >> the renamed class does not exist in the test form. > >> > >> An example might illuminate. I am working on a "lightweight" version > >> of the native DirChooser control - in essence, I want to get rid of > >> much of the extended functionality of the native control and just be > >> able to display a directory tree, no file view, no added vitamins > >> etc. So, I copied the native source and have expunged much of the > >> features I do not need. The goal is to just display a directory tree > >> in a side bar, so I need to get rid of the extra features and just > >> show the tree. It's a bit like the IDE project tree sidebar but even > >> simpler. > >> > >> So developmentally, I (like the fool I am) renamed the "target" > >> control class as XDirChooser. Now I want to rename that class > >> "LWDirChooser" (for Light Weight) so it will appear in the IDE quite > >> visibly. But having done that, the test form is now invalid and the > >> component wont compile.... grrr. To work around this I need to edit > >> the test.form file and change the XDirChooser to a LWDirChooser, then > >> it all works. > >> > >> But it is a right royal PITA! > >> > >> This bug is raised in the spirit of your comment at the end of the > >> "How to develop Program Components in Gambas" page: Conclusion > >> > >> I try to find the easiest way of making components with the IDE. It > >> is not perfect yet, but if you have any comment, question or problem, > >> please use the mailing-list! > >> > > > > I didn't think about that. It's because I usually directly use the final > > name of the control, and so my test forms are always valid. > > > > The problem is more general anyway, as if you rename any class in your > > project, other classes will continue to use the old name, and will fail > > at compilation or execution time. > > > > You have to rename the class by hand everywhere, and in the forms you > > cannot do that if it was not already opened before you renamed the class. > > > > I will try to implement an automatic renaming of form classes. It may > > slow down the renaming process, but I think I have no choice... > > > > The bug should be fixed in revision #7831. > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > patterns at an interface-level. Reveals which users, apps, and protocols are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning reports. http://sdm.link/zohodev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Yahoo! And welcome back. b -- B Bruen From bugtracker at ...3416... Wed Aug 10 11:06:38 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 10 Aug 2016 09:06:38 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #973: Desktop.RunAsRoot(): file or directory doesn't exist In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.973&from=L21haW4- Comment #7 by Mufeed ALI: Public Sub RunAsRoot(Command As String, Optional SuApp As Integer) Dim sDE As String Dim Command = System.Find("define") Shell "echo $XDG_CURRENT_DESKTOP" To sDE Print Command Print sDE If SuApp = 1 Then Exec ["kdesudo", Command] Else If SuApp = 2 Then Exec ["gksudo", Command] Else If SuApp = 3 Then Shell "xterm -e " & Quote("sudo " & Command) Else If InStr(sDE, "KDE", gb.IgnoreCase) Then Exec ["kdesudo", Command] Else If InStr(sDE, "KDE", gb.IgnoreCase) Then Exec ["lxde-sudo", Command] Else If InStr(sDE, "Unity", gb.IgnoreCase) Or InStr(sDE, "GNOME", gb.IgnoreCase) Or InStr(sDE, "XFCE", gb.IgnoreCase) Or InStr(sDE, "LXDE", gb.IgnoreCase) Or InStr(sDE, "cinnamon", gb.IgnoreCase) Or InStr(sDE, "Mate", gb.IgnoreCase) Or InStr(sDE, "Pantheon", gb.IgnoreCase) Then Exec ["gksudo", Command] Endif Endif End Hope this works for now. Sorry, my pc got damaged, so I couldn't send this in. From gambas at ...1... Wed Aug 10 19:10:14 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 10 Aug 2016 19:10:14 +0200 Subject: [Gambas-user] ecompiling error gambas on curl << 7.19 solved with patch In-Reply-To: References: Message-ID: <57AB5FF6.60202@...1...> Le 17/07/2016 21:45, PICCORO McKAY Lenz a ?crit : > sorry here the patch > > --- gambas3-3.4.0.orig/gb.net.curl/src/CNet.c > +++ gambas3-3.4.0/gb.net.curl/src/CNet.c > @@ -38,6 +38,15 @@ > #ifndef CURLE_FTP_BAD_FILE_LIST > #define CURLE_FTP_BAD_FILE_LIST 87 > #endif > +#ifndef CURLE_SSL_CRL_BADFILE > +#define CURLE_SSL_CRL_BADFILE 82 /* was on 7.19.0 */ > +#endif > +#ifndef CURLAUTH_DIGEST_IE > +#define CURLAUTH_DIGEST_IE (1<<4) /* Digest with IE flavour */ > +#endif > +#ifndef CURLE_SSL_ISSUER_ERROR > +#define CURLE_SSL_ISSUER_ERROR 83 > +#endif > #ifndef CURLE_CHUNK_FAILED > #define CURLE_CHUNK_FAILED 88 > #endif > Thanks. Merged in revision #7832. Regards, -- Beno?t Minisini From bugtracker at ...3416... Wed Aug 10 19:14:51 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 10 Aug 2016 17:14:51 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #974: SVN: Can't Commit. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.974&from=L21haW4- Comment #1 by Beno?t MINISINI: You must have write access to the subversion repository to be able to commit. From bugtracker at ...3416... Wed Aug 10 19:15:04 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 10 Aug 2016 17:15:04 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #974: SVN: Can't Commit. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.974&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Rejected. From bugtracker at ...3416... Wed Aug 10 20:11:22 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 10 Aug 2016 18:11:22 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #969: Suddenly getting error "Stream is closed" on Eof() and Lof() after closing Process stream In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.969&from=L21haW4- Comment #2 by Beno?t MINISINI: It's the old process stream special behaviour that was not logic. Closing a stream should make the stream unusable, whatever the stream is. Now to act the way you want, you need a special method in the Process class to "send a CTRL+D" (i.e. closing the output stream). From bugtracker at ...3416... Wed Aug 10 20:15:34 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 10 Aug 2016 18:15:34 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #969: Suddenly getting error "Stream is closed" on Eof() and Lof() after closing Process stream In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.969&from=L21haW4- Comment #3 by Tobias BOEGE: I like that more, yes. From bugtracker at ...3416... Wed Aug 10 20:28:08 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 10 Aug 2016 18:28:08 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #974: SVN: Can't Commit. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.974&from=L21haW4- Comment #2 by Mufeed ALI: I did sign up in sourceforge and i also did what is said in the wiki. But i still can't. From bugtracker at ...3416... Wed Aug 10 20:32:41 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 10 Aug 2016 18:32:41 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #974: SVN: Can't Commit. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.974&from=L21haW4- Comment #3 by Beno?t MINISINI: Did you give me your sourceforge account? Please talk about that on the development mailing-list, and not the bugtracker, which is there for... tracking bugs. From bugtracker at ...3416... Wed Aug 10 20:39:08 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 10 Aug 2016 18:39:08 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #969: Suddenly getting error "Stream is closed" on Eof() and Lof() after closing Process stream In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.969&from=L21haW4- Comment #4 by Beno?t MINISINI: Done in revision #7833, with the Process.CloseInput() method. But don't use it to handle process output the way you did in the 'stream-is-closed' project, i.e. using a busy loop! You should either use 'Read' and 'Write' events, or a blocking stream. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Thu Aug 11 16:12:28 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 11 Aug 2016 14:12:28 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #975: Exclude class/module Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.975&from=L21haW4- Moviga TECHNOLOGIES reported a new bug. Summary ------- Exclude class/module Type : Request Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : Development Environment Description ----------- I have copied a class from a former project that has a lot of code that will not run due to many differences between the two projects. Instead of having to comment/uncomment the whole class file each time I want to do something with the code, it would perhaps be good to have a feature that allows one to exclude/ignore the class from the project? Is this a good idea? From moviga at ...3488... Thu Aug 11 16:25:21 2016 From: moviga at ...3488... (Moviga Technologies) Date: Thu, 11 Aug 2016 16:25:21 +0200 Subject: [Gambas-user] How to change cursor position in TextEditor? Message-ID: I am trying to change the position of the cursor, but I cannot figure it out. I've tried ToPos() which seems to be the logical solution. I've also tried ToColumn() and. Am I doing something wrong, or is this a bug? See attached project. There is also very little documentation available for the Editor component. From moviga at ...3488... Thu Aug 11 16:44:56 2016 From: moviga at ...3488... (Moviga Technologies) Date: Thu, 11 Aug 2016 16:44:56 +0200 Subject: [Gambas-user] How to change cursor position in TextEditor? In-Reply-To: References: Message-ID: Aaaand the attachment :) -------------- next part -------------- A non-text attachment was scrubbed... Name: EditorPos-0.0.1.tar.gz Type: application/x-gzip Size: 11259 bytes Desc: not available URL: From gambas at ...1... Thu Aug 11 16:48:17 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 11 Aug 2016 16:48:17 +0200 Subject: [Gambas-user] How to change cursor position in TextEditor? In-Reply-To: References: Message-ID: <57AC9031.80603@...1...> Le 11/08/2016 16:25, Moviga Technologies a ?crit : > I am trying to change the position of the cursor, but I cannot figure it > out. > > I've tried ToPos() which seems to be the logical solution. > > I've also tried ToColumn() and. > > Am I doing something wrong, or is this a bug? > > See attached project. > > There is also very little documentation available for the Editor > component. > Use the Goto() method. Regards, -- Beno?t Minisini From moviga at ...3488... Thu Aug 11 17:11:33 2016 From: moviga at ...3488... (Moviga Technologies) Date: Thu, 11 Aug 2016 17:11:33 +0200 Subject: [Gambas-user] How to change cursor position in TextEditor? In-Reply-To: <57AC9031.80603@...1...> References: <57AC9031.80603@...1...> Message-ID: <12d94e9d15e84c50d8614648ba0e4a70@...3488...> That works! Thanks! So what are all the ToPos{X,Y}/Column/Line stuff for? From bugtracker at ...3416... Fri Aug 12 23:20:56 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 12 Aug 2016 21:20:56 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #967: Text Edit Crash & List Edit Crash In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.967&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Fri Aug 12 23:20:59 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 12 Aug 2016 21:20:59 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #967: Text Edit Crash & List Edit Crash In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.967&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Working. From bugtracker at ...3416... Fri Aug 12 23:32:53 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 12 Aug 2016 21:32:53 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #967: Text Edit Crash & List Edit Crash In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.967&from=L21haW4- Comment #16 by Beno?t MINISINI: It should be fixed in revision #7834. Can you confirm? Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Fri Aug 12 23:37:56 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 12 Aug 2016 21:37:56 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #906: Improved: in the menu on the farm a search option programs made by users appear In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.906&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Fri Aug 12 23:38:38 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 12 Aug 2016 21:38:38 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #945: Can't comment once a bug is "invalid" In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.945&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Invalid. From bugtracker at ...3416... Fri Aug 12 23:39:07 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 12 Aug 2016 21:39:07 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #945: Can't comment once a bug is "invalid" In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.945&from=L21haW4- Comment #4 by Beno?t MINISINI: Comment again on invalid bug... From bugtracker at ...3416... Fri Aug 12 23:39:15 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 12 Aug 2016 21:39:15 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #945: Can't comment once a bug is "invalid" In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.945&from=L21haW4- Comment #5 by Beno?t MINISINI: That's work. From bugtracker at ...3416... Fri Aug 12 23:39:23 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 12 Aug 2016 21:39:23 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #945: Can't comment once a bug is "invalid" In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.945&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Rejected. From bugtracker at ...3416... Fri Aug 12 23:42:51 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 12 Aug 2016 21:42:51 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #906: Improved: in the menu on the farm a search option programs made by users appear In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.906&from=L21haW4- Comment #1 by Beno?t MINISINI: The software are owned by a vendor on the farm, not by a farm user. And each software is already tagged with the vendor name, so it's just a matter of using it for filtering. From bugtracker at ...3416... Sat Aug 13 00:18:08 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 12 Aug 2016 22:18:08 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #906: Improved: in the menu on the farm a search option programs made by users appear In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.906&from=L21haW4- Comment #2 by Beno?t MINISINI: Done in revision #7835. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Sat Aug 13 13:22:42 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 13 Aug 2016 11:22:42 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #974: SVN: Can't Commit. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.974&from=L21haW4- Comment #4 by Mufeed ALI: tried sending in Devel mailing list. No reply. My sourceforge is 'mufeed2000' From bugtracker at ...3416... Sat Aug 13 13:24:11 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 13 Aug 2016 11:24:11 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #974: SVN: Can't Commit. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.974&from=L21haW4- Comment #5 by Beno?t MINISINI: Did you subscribe to the mailing-list? From bugtracker at ...3416... Sat Aug 13 13:28:46 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 13 Aug 2016 11:28:46 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #973: Desktop.RunAsRoot(): file or directory doesn't exist In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.973&from=L21haW4- Comment #8 by Mufeed ALI: Correction: Public Sub RunAsRoot(Command As String, Optional SuApp As Integer) Dim sDE As String Command = System.Find("define") Shell "echo $XDG_CURRENT_DESKTOP" To sDE If SuApp = 1 Then Exec ["kdesudo", Command] Else If SuApp = 2 Then Exec ["gksudo", Command] Else If SuApp = 3 Then Exec ["lxde-sudo", Command] Else If InStr(sDE, "KDE", gb.IgnoreCase) Then Exec ["kdesudo", Command] Else If InStr(sDE, "LXQT", gb.IgnoreCase) Then Exec ["lxde-sudo", Command] Else If InStr(sDE, "Unity", gb.IgnoreCase) Or InStr(sDE, "GNOME", gb.IgnoreCase) Or InStr(sDE, "XFCE", gb.IgnoreCase) Or InStr(sDE, "LXDE", gb.IgnoreCase) Or InStr(sDE, "cinnamon", gb.IgnoreCase) Or InStr(sDE, "Mate", gb.IgnoreCase) Or InStr(sDE, "Pantheon", gb.IgnoreCase) Or InStr(sDE, "Budgie-Desktop", gb.IgnoreCase) Then Exec ["gksudo", Command] Endif Endif End From gambas at ...1... Sat Aug 13 13:35:27 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 13 Aug 2016 13:35:27 +0200 Subject: [Gambas-user] How to change cursor position in TextEditor? In-Reply-To: <12d94e9d15e84c50d8614648ba0e4a70@...3488...> References: <57AC9031.80603@...1...> <12d94e9d15e84c50d8614648ba0e4a70@...3488...> Message-ID: <57AF05FF.1010802@...1...> Le 11/08/2016 17:11, Moviga Technologies a ?crit : > That works! Thanks! > > So what are all the ToPos{X,Y}/Column/Line stuff for? > Column and Line return the cursor position. ToPos(X,Y) return the screen coordinates of a cursor position. Use CursorAt(), it's a better name. The contrary is ToColumn() and ToLine(). Regards, -- Beno?t Minisini From bugtracker at ...3416... Sat Aug 13 16:58:42 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 13 Aug 2016 14:58:42 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #929: Dir command doesn't work in executable In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.929&from=L21haW4- Comment #3 by Beno?t MINISINI: Fixed in revision #7837. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Sat Aug 13 21:20:29 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 13 Aug 2016 19:20:29 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #973: Desktop.RunAsRoot(): file or directory doesn't exist In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.973&from=L21haW4- Comment #9 by Beno?t MINISINI: RunAsRoot() and OpenTerminal() problems should have been fixed in revision #7838. Mufeed ALI: RunAsRoot() has been implemented that way, but I rewrote the code correctly, using the gb.desktop internal desktop detection routine. Beno?t MINISINI changed the state of the bug to: Fixed. From gambas at ...1... Sat Aug 13 21:24:29 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 13 Aug 2016 21:24:29 +0200 Subject: [Gambas-user] Public controls In-Reply-To: References: <20160726160145.GB20652@...3600...> Message-ID: <57AF73ED.3010803@...1...> Le 31/07/2016 14:59, Jussi Lahtinen a ?crit : > Maybe VB compatibility issue..? > > > Jussi > Yes. It was done just for old VB users. Nobody should use that option. -- Beno?t Minisini From gambas at ...1... Sat Aug 13 21:27:20 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 13 Aug 2016 21:27:20 +0200 Subject: [Gambas-user] Slow Gambas Startup In-Reply-To: References: Message-ID: <57AF7498.7050406@...1...> Le 03/08/2016 21:51, Nigel Verity a ?crit : > Hi > > I have Gambas 3.8.4 installed on 3 laptops, in each case running Mint > 17.3 Mate. While each is a different hardware spec they are similar. > Two have SSDs and one a spinning HD. > > My problem is that on 2 machines Gambas starts up in a few seconds. > On the 3rd it takes more than a minute. Once it is running it works > well - it's purely the startup which is very slow. All other > applications installed on this machine (SSD) seem to start normally. > > I have reinstalled Gambas but it makes no difference. Does Gambas > perform any disk or file checks during startup which might explain > this odd behaviour? > > Thanks > > Nige Can you run gambas IDE with "strace -tt" and send the result? -- Beno?t Minisini From bugtracker at ...3416... Sat Aug 13 21:43:49 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 13 Aug 2016 19:43:49 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #973: Desktop.RunAsRoot(): file or directory doesn't exist In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.973&from=L21haW4- Comment #10 by vuott VUOTT: > RunAsRoot() and OpenTerminal() problems should have been fixed in revision #7838. Yes, now it works ! From bugtracker at ...3416... Sat Aug 13 22:05:23 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 13 Aug 2016 20:05:23 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #974: SVN: Can't Commit. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.974&from=L21haW4- Comment #6 by Mufeed ALI: Yes I did. From bugtracker at ...3416... Sat Aug 13 22:06:30 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 13 Aug 2016 20:06:30 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #973: Desktop.RunAsRoot(): file or directory doesn't exist In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.973&from=L21haW4- Comment #11 by Mufeed ALI: Um.. Benoit? Did you also implement that SuApp thing I put in? Because it might come in handy for some. From bugtracker at ...3416... Sat Aug 13 22:21:07 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 13 Aug 2016 20:21:07 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #973: Desktop.RunAsRoot(): file or directory doesn't exist In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.973&from=L21haW4- Comment #12 by Beno?t MINISINI: No. If the user wants to run an explicit program, he has to do it by himself. Desktop.RunAsRoot() means that you don't care about which program it is run, and that you expect it is chosen according to the current desktop. From bugtracker at ...3416... Sat Aug 13 22:39:50 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 13 Aug 2016 20:39:50 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #957: _free in a form In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.957&from=L21haW4- Charlie REINL added an attachment: _usr_bin_gbx3.1000.crash From bugtracker at ...3416... Sat Aug 13 22:46:27 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 13 Aug 2016 20:46:27 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #957: _free in a form In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.957&from=L21haW4- Charlie REINL changed the state of the bug to: Fixed. From bugtracker at ...3416... Sat Aug 13 22:53:18 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 13 Aug 2016 20:53:18 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #957: _free in a form In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.957&from=L21haW4- Comment #13 by Charlie REINL: the _usr_bin_gbx3.1000.crash file comes from an Lubuntu 16.04.01 LTS with gambas rev. 7830. After update to gambas rev. 7838 I have no more problems, I could not reporduce the crash anymore. Seams you have fixed it between 7830 and 7838. This text I typed two time. After the first time I changed the state to FIXED before pushing [Save] and I lost the text. From bugtracker at ...3416... Sat Aug 13 23:11:03 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 13 Aug 2016 21:11:03 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #973: Desktop.RunAsRoot(): file or directory doesn't exist In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.973&from=L21haW4- Comment #13 by Mufeed ALI: Ok. I get it now. From bugtracker at ...3416... Sun Aug 14 00:30:31 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 13 Aug 2016 22:30:31 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #957: _free in a form In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.957&from=L21haW4- Comment #14 by Beno?t MINISINI: It was actually the same bug as in bug report #967. From bugtracker at ...3416... Sun Aug 14 16:50:52 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 14 Aug 2016 14:50:52 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #876: please return the edit menu to root (cut, copy, paste) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.876&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Sun Aug 14 16:52:03 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 14 Aug 2016 14:52:03 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #876: please return the edit menu to root (cut, copy, paste) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.876&from=L21haW4- Comment #3 by Beno?t MINISINI: Done in revision #7839. Moreover, the popup menu is now accessible from the "Edit" menu in the top menu bar. Beno?t MINISINI changed the state of the bug to: Fixed. From gambas.fr at ...626... Mon Aug 15 12:42:32 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 15 Aug 2016 12:42:32 +0200 Subject: [Gambas-user] Public controls In-Reply-To: <57AF73ED.3010803@...1...> References: <20160726160145.GB20652@...3600...> <57AF73ED.3010803@...1...> Message-ID: 2016-08-13 21:24 GMT+02:00 Beno?t Minisini : > Le 31/07/2016 14:59, Jussi Lahtinen a ?crit : >> Maybe VB compatibility issue..? >> >> >> Jussi >> > > Yes. It was done just for old VB users. Nobody should use that option. But so many does.... :-/ > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > patterns at an interface-level. Reveals which users, apps, and protocols are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning reports. http://sdm.link/zohodev2dev > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From bugtracker at ...3416... Mon Aug 15 15:07:52 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 15 Aug 2016 13:07:52 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #975: Exclude class/module In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.975&from=L21haW4- Comment #1 by Beno?t MINISINI: Why don't you put your class file in the "Project" folder? Everything there is not taken into account by the compiler. From bugtracker at ...3416... Mon Aug 15 21:47:32 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 15 Aug 2016 19:47:32 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #840: [gtk2/gtk3] Get a result "Gtk-CRITICAL **: IA__gtk_container ...." in Console In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.840&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Tue Aug 16 13:00:06 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 16 Aug 2016 11:00:06 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #908: Compilation error - QT5 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.908&from=L21haW4- Comment #17 by luis BER: have this problem too in gentoo with qt 5.6. From mckaygerhard at ...626... Tue Aug 16 16:02:24 2016 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Tue, 16 Aug 2016 10:02:24 -0400 Subject: [Gambas-user] Gambas sintax its case sensitive? Message-ID: Gambas sintax its case sensitive? i mean i same invoke public sub pepe as public sub Pepe or public sub pePe ? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From herberthguzman at ...626... Wed Aug 17 19:47:49 2016 From: herberthguzman at ...626... (herberth guzman) Date: Wed, 17 Aug 2016 11:47:49 -0600 Subject: [Gambas-user] How to add subitems to a ListView? Message-ID: Charlie Gianluigi Fabien Bodard Thanks for answering my questions. work with gridview and listivew. I GOT what I needed. It is better to work with gridview Attached pictures of the results. Herberth Guzm?n -------------- next part -------------- A non-text attachment was scrubbed... Name: A-Listview.png Type: image/png Size: 31645 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: B-Listview.png Type: image/png Size: 59111 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: C-Grid.png Type: image/png Size: 45295 bytes Desc: not available URL: From herberthguzman at ...626... Wed Aug 17 21:11:25 2016 From: herberthguzman at ...626... (herberth guzman) Date: Wed, 17 Aug 2016 13:11:25 -0600 Subject: [Gambas-user] Positioning Image and Text in a Button Message-ID: Need help please... I have a Button on my Form. I want to have an image on the center and text on the center. But I cant get the proper Format. i can create a new button that has in it's properties: Image : you can insert an image from anywhere (local or resource) ImageAlign : Set it to Middle Center TextAlign : Set it to Middle Center I have an example of New Button Fabien made, but I can not justify the text. Deputy picture and Class of what I need to work. Herberth Guzm?n -------------- next part -------------- A non-text attachment was scrubbed... Name: B_n.png Type: image/png Size: 7722 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: MyButton.class Type: application/octet-stream Size: 3419 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: MyButton.png Type: image/png Size: 6591 bytes Desc: not available URL: From bugtracker at ...3416... Thu Aug 18 01:24:29 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 17 Aug 2016 23:24:29 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #840: [gtk2/gtk3] Get a result "Gtk-CRITICAL **: IA__gtk_container ...." in Console In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.840&from=L21haW4- Comment #1 by Beno?t MINISINI: Is it better with revision #7844? Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Thu Aug 18 11:43:05 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 18 Aug 2016 09:43:05 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #840: [gtk2/gtk3] Get a result "Gtk-CRITICAL **: IA__gtk_container ...." in Console In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.840&from=L21haW4- Comment #2 by Zainudin AHMAD: yes it's fine now, thanks :) From bugtracker at ...3416... Thu Aug 18 12:34:03 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 18 Aug 2016 10:34:03 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #908: Compilation error - QT5 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.908&from=L21haW4- Comment #18 by Jan CHREN: @NISHAYUME you may want to try to use the package from my overlay (https://github.com/rindeal/gentoo-overlay), which doesn't suffer from this error From bugtracker at ...3416... Thu Aug 18 13:12:59 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 18 Aug 2016 11:12:59 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #908: Compilation error - QT5 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.908&from=L21haW4- Comment #19 by luis BER: @RINDEAL !! I confirm that, rindeal overlay works fine. Thanks From gambas.fr at ...626... Thu Aug 18 14:16:40 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 18 Aug 2016 14:16:40 +0200 Subject: [Gambas-user] Gambas sintax its case sensitive? In-Reply-To: References: Message-ID: 2016-08-16 16:02 GMT+02:00 PICCORO McKAY Lenz : > Gambas sintax its case sensitive? > no > i mean i same invoke public sub pepe as public sub Pepe or public sub pePe ? It's the same for gambas... like vb > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas.fr at ...626... Thu Aug 18 14:23:41 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 18 Aug 2016 14:23:41 +0200 Subject: [Gambas-user] Positioning Image and Text in a Button In-Reply-To: References: Message-ID: Take a look at that 2016-08-17 21:11 GMT+02:00 herberth guzman : > Need help please... > > I have a Button on my Form. > I want to have an image on the center and text on the center. > But I cant get the proper Format. > > i can create a new button that has in it's properties: > > > Image : you can insert an image from anywhere (local or resource) > ImageAlign : Set it to Middle Center > TextAlign : Set it to Middle Center > > I have an example of New Button Fabien made, but I can not justify the text. > > Deputy picture and Class of what I need to work. > > > > Herberth Guzm?n > > ------------------------------------------------------------------------------ > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: ComposantsLaurux-0.0.1.tar.gz Type: application/x-gzip Size: 7492 bytes Desc: not available URL: From gambas.fr at ...626... Thu Aug 18 14:24:46 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Thu, 18 Aug 2016 14:24:46 +0200 Subject: [Gambas-user] How to add subitems to a ListView? In-Reply-To: References: Message-ID: cool :-) 2016-08-17 19:47 GMT+02:00 herberth guzman : > Charlie > Gianluigi > Fabien Bodard > > Thanks for answering my questions. > > work with gridview and listivew. > I GOT what I needed. > > It is better to work with gridview > > Attached pictures of the results. > > > Herberth Guzm?n > > ------------------------------------------------------------------------------ > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From bagonergi at ...626... Thu Aug 18 17:27:33 2016 From: bagonergi at ...626... (Gianluigi) Date: Thu, 18 Aug 2016 17:27:33 +0200 Subject: [Gambas-user] Positioning Image and Text in a Button In-Reply-To: References: Message-ID: or something like that (comme ci comme ?a :-) ) Regards Gianluigi 2016-08-18 14:23 GMT+02:00 Fabien Bodard : > Take a look at that > > 2016-08-17 21:11 GMT+02:00 herberth guzman : > > Need help please... > > > > I have a Button on my Form. > > I want to have an image on the center and text on the center. > > But I cant get the proper Format. > > > > i can create a new button that has in it's properties: > > > > > > Image : you can insert an image from anywhere (local or resource) > > ImageAlign : Set it to Middle Center > > TextAlign : Set it to Middle Center > > > > I have an example of New Button Fabien made, but I can not justify the > text. > > > > Deputy picture and Class of what I need to work. > > > > > > > > Herberth Guzm?n > > > > ------------------------------------------------------------ > ------------------ > > > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > -- > Fabien Bodard > > ------------------------------------------------------------ > ------------------ > > _______________________________________________ > 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: SquareButton-0.0.1.tar.gz Type: application/x-gzip Size: 30372 bytes Desc: not available URL: From mckaygerhard at ...626... Thu Aug 18 20:40:26 2016 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Thu, 18 Aug 2016 14:40:26 -0400 Subject: [Gambas-user] instance inline vs declaration and later instanciation Message-ID: i have a global variable: Private varaible As New Collection this declaration has a inline instanciation due the keyword "New" in the same line whats the difference if i done as: private variable as Collection and later inside funtion: variable = New Collection Please! answer me! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From taboege at ...626... Thu Aug 18 20:53:36 2016 From: taboege at ...626... (Tobias Boege) Date: Thu, 18 Aug 2016 20:53:36 +0200 Subject: [Gambas-user] instance inline vs declaration and later instanciation In-Reply-To: References: Message-ID: <20160818185336.GA702@...3600...> On Thu, 18 Aug 2016, PICCORO McKAY Lenz wrote: > i have a global variable: > > Private varaible As New Collection > > this declaration has a inline instanciation due the keyword "New" in the > same line > > whats the difference if i done as: > > private variable as Collection > > and later inside funtion: > > variable = New Collection > > Please! answer me! > The first way ensures that the variable contains a valid reference to a Collection object as soon as an object of the class you're writing is instantiated. This happens even before the constructor of that object is called. In the second case there is certainly an interval in the life of your object when the variable is Null and accessing it somewhere in your code will lead to an error. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From bugtracker at ...3416... Fri Aug 19 16:02:48 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 19 Aug 2016 14:02:48 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #976: conditional with simple OR in false, get in, into a if else Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.976&from=L21haW4- PICCORO LENZ MCKAY reported a new bug. Summary ------- conditional with simple OR in false, get in, into a if else Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- i have a conditional if-else If Error.Code > 0 Or cantidaprocesados <> Val(lineas) Then eldespacho = Null $conexion.Rollback Endif well , error.code are 0, cantidadprocesados are 1 and lineas are "1" ! the contidional are false so then must be ignored, but the gambas got in! and make null the "eldespacho"!!! System information ------------------ [System] Gambas=3.8.4 OperatingSystem=Linux Kernel=3.2.0-0.bpo.1-686-pae Architecture=x86 Distribution=debian 6.1 Desktop=? Theme=Gtk Language=es_VE.UTF-8 Memory=2016M [Libraries] Cairo=libcairo.so.2.11000.2 Curl=libcurl.so.4.2.0 DBus=libdbus-1.so.3.4.0 GStreamer=libgstreamer-0.10.so.0.27.0 GTK+2=libgtk-x11-2.0.so.0.2000.1 Poppler=libpoppler.so.5.0.0 QT4=libQtCore.so.4.7.4 SDL=libSDL-1.2.so.0.11.4 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-Tab8aAbdY1,guid=8dab3f0ec6face50cc669459001a7828 DESKTOP_SESSION=openbox DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=openbox GDM_LANG=es_VE.UTF-8 GDM_XSERVER_LOCATION=local GTK_MODULES=canberra-gtk-module HOME= LANG=es_VE.UTF-8 LANGUAGE=es_VE:es LOGNAME= 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:*.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:*.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: ORBIT_SOCKETDIR=/tmp/orbit- PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games PWD= SHELL=/bin/bash SHLVL=1 SSH_AGENT_PID=26100 SSH_AUTH_SOCK=/tmp/ssh-ecHbQ26057/agent.26057 TERM=xterm TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=8:8:8 XAUTHORITY=/.Xauthority XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/usr/share/gdm/ XDG_MENU_PREFIX=lxde- XDG_SESSION_COOKIE=4fde9441c9c05f594bcb488600001897-1471454461.582040-999787233 _=/usr/bin/lxpanel From bugtracker at ...3416... Fri Aug 19 16:04:58 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 19 Aug 2016 14:04:58 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #976: conditional with simple OR in false, get in, into a if else In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.976&from=L21haW4- PICCORO LENZ MCKAY added an attachment: error-gambas3.8-contitional.png From bugtracker at ...3416... Fri Aug 19 16:05:50 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 19 Aug 2016 14:05:50 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #976: conditional with simple OR in false, get in, into a if else In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.976&from=L21haW4- Comment #1 by PICCORO LENZ MCKAY: i attached the error in runtime debug, the error got false. From bugtracker at ...3416... Fri Aug 19 16:11:23 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 19 Aug 2016 14:11:23 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #976: conditional with simple OR in false, get in, into a if else In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.976&from=L21haW4- Comment #2 by Beno?t MINISINI: Please post a project that reproduces the bug. I think you was mislead by the debugger which cannot print the true value of Error.Code or Error.Text at the moment. From gambas at ...1... Fri Aug 19 16:15:57 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 19 Aug 2016 16:15:57 +0200 Subject: [Gambas-user] Use gb.web.form in a web project with not only web forms In-Reply-To: <20160808192512.GA707@...3600...> References: <20160726162614.GC20652@...3600...> <57A8D0F5.1090007@...1...> <20160808192512.GA707@...3600...> Message-ID: Le 08/08/2016 ? 21:25, Tobias Boege a ?crit : > On Mon, 08 Aug 2016, Beno?t Minisini wrote: >> Le 26/07/2016 18:26, Tobias Boege a ?crit : >>> Hi Benoit, >>> >>> I have some projects using gb.web.form now and in every of these I have the >>> requirement not only to load webforms but also a webpage or to implement >>> some other URL schema to generate or serve a ressource. >>> >>> As I see it, gb.web.form wants to take complete control over the project's >>> Main() routine (correct me if I'm wrong here), whereas my projects require >>> some analysis of the request path in their Main() such as: >>> >>> [snip] >>> >>> I have to serve data from a preconfigured server directory, generate some >>> data on-the-fly, send project-internal data or serve webforms. As you may >>> be able to tell, the Default case handles gb.web.form integration into the >>> control flow and it's not pretty. >>> >>> Do you have any idea? >>> >>> Regards, >>> Tobi >>> >> >> Yes, the idea of gb.web.form requires taking entire control of the URL >> at the moment. >> >> Maybe adding a call to a "HandleRequest" (or another name) public method >> during the Main function would be enough for you? >> > > That would suffice, I presume. > > Regards, > Tobi > Done in revision #7848. Regards, -- Beno?t Minisini From bugtracker at ...3416... Sat Aug 20 06:59:46 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 20 Aug 2016 04:59:46 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #977: IDE crashes opening module Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.977&from=L21haW4- Bruce BRUEN reported a new bug. Summary ------- IDE crashes opening module Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- The IDE crashes with a highlighting error when I try to open a .module file. The traceback is: ---------------------------------------- ERR: Cannot load highlighter: Custom (-1) TextHighlighter._get.50 CDocument.Highlight_Write.839 >>>>TextEditor.Highlight_Write.2311 FConflict.FConflict.0 FConflict. at ...3503... Project.OpenFile.2255 FMain.tvwProject_Activate.154 _TreeView.GridView_Activate.577 GridView.ScrollArea_DblClick.1314 ---------------------------------------- However, the error seems to start lower than TextHighlighter. Something no longer understands a .module file should be highlighted using "gambas"? From bugtracker at ...3416... Sat Aug 20 07:05:25 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 20 Aug 2016 05:05:25 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #977: IDE crashes opening module In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.977&from=L21haW4- Comment #1 by Bruce BRUEN: Woops! Rev 7850 [System] Gambas=3.8.90 r7850 OperatingSystem=Linux Kernel=4.1.15-pclos1 Architecture=x86 Distribution=PCLinuxOS Desktop=LXDE Theme=Gtk Language=en_AU.UTF-8 Memory=1005M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.3.0.0 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.603.0 GTK+2=libgtk-x11-2.0.so.0.2400.26 GTK+3=libgtk-3.so.0.1400.14 OpenGL=libGL.so.1.2.0 OpenGL=libGL.so.173.14.39 OpenGL=libGL.so.96.43.23 Poppler=libpoppler.so.13.0.0 Poppler=libpoppler.so.19.0.0 Poppler=libpoppler.so.46.0.0 Poppler=libpoppler.so.54.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.4.2 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] BROWSER=/usr/bin/www-browser CANBERRA_DRIVER=pulse DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-qzQECaUr3W,guid=0883f9db311e32c155256a4057b6a1c6 DESKTOP_SESSION=LXDE DISPLAY=:0 GB_GUI=gb.qt4 GCONF_TMPDIR=/tmp GDMSESSION=04LXDE GDM_XSERVER_LOCATION=local GIT_PAGER=less -FRS GPG_AGENT_INFO=/tmp/gpg-1ev4go/S.gpg-agent:18663:1 GTK_MODULES=canberra-gtk-module G_FILENAME_ENCODING=@...3501... HISTCONTROL=ignoredups HISTSIZE=1000 HOME= HOSTNAME= INPUTRC=/etc/inputrc LANG=en_AU.UTF-8 LANGUAGE=en_AU:en_GB:en LC_ADDRESS=en_AU.UTF-8 LC_COLLATE=en_AU.UTF-8 LC_CTYPE=en_AU.UTF-8 LC_IDENTIFICATION=en_AU.UTF-8 LC_MEASUREMENT=en_AU.UTF-8 LC_MESSAGES=en_AU.UTF-8 LC_MONETARY=en_AU.UTF-8 LC_NAME=en_AU.UTF-8 LC_NUMERIC=en_AU.UTF-8 LC_PAPER=en_AU.UTF-8 LC_SOURCED=1 LC_TELEPHONE=en_AU.UTF-8 LC_TIME=en_AU.UTF-8 LESS=-MM LESSCHARSET=utf-8 LESSKEY=/etc/.less LESSOPEN=|/usr/bin/lesspipe.sh %s LOGNAME= LS_COLORS= MAIL=/var/spool/mail/ MDV_MENU_STYLE=discovery META_CLASS=desktop NLSPATH=/usr/share/locale/%l/%N PATH=/bin:/usr/bin:/usr/local/bin:/usr/games:/usr/lib/qt4/bin:/usr/lib/qt5/bin:/usr/bin:/usr/sbin:/usr/lib/kde4/libexec:/bin:/sbin:/usr/X11R6/bin:/usr/games:/usr/local/bin:/usr/local/sbin:/usr/lib/qt5/bin:/usr/bin:/usr/sbin:/usr/lib/kde4/libexec:/bin:/sbin:/usr/X11R6/bin:/usr/games:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/lib/kde4/libexec PKG_CONFIG_PATH=/usr/lib/pkgconfig PWD= PYTHONDONTWRITEBYTECODE=1 PYTHONSTARTUP=/etc/pythonrc.py QT4DOCDIR=/usr/share/doc/qt4 QT5DOCDIR=/usr/share/doc/qt5 QTDIR=/usr/lib/qt4 QTDIR5=/usr/lib/qt5 QTINC=/usr/lib/qt3/include QTLIB=/usr/lib QT_PLUGIN_PATH=/usr/lib/qt4/plugins/:/usr/lib/kde4/plugins/:/usr/lib64/kde4/plugins:/usr/lib/kde4/plugins QT_XFT=0 SAL_USE_VCLPLUGIN=gtk SHELL=/bin/bash SHLVL=2 SSH_AGENT_PID=18642 SSH_ASKPASS=/usr/lib/ssh/ssh-askpass SSH_AUTH_SOCK=/tmp/ssh-8J8HaCPUDNbf/agent.18641 TMP=/tmp TMPDIR=/tmp TZ=:/etc/localtime USER= WINDOWPATH=8:8 XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/discovery:/etc/xdg XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXDE XDG_DATA_DIRS=/usr/local/share:/usr/share/gdm:/var/lib/menu-xdg:/usr/share:/usr/share/gdm/ XDG_MENU_PREFIX=lxde- XDG_SESSION_COOKIE=82ab6c261883e9ffe2a80b674b7b435e-1471586756.462668-1687367588 XMODIFIERS=@...3498...=none _=/usr/bin/gambas3 _LXSESSION_PID=18584 Can be reproduced using the gb.desktop project. From charlie at ...2793... Sat Aug 20 11:43:30 2016 From: charlie at ...2793... (Charlie) Date: Sat, 20 Aug 2016 02:43:30 -0700 (MST) Subject: [Gambas-user] Positioning Image and Text in a Button In-Reply-To: References: Message-ID: <1471686210760-56949.post@...3046...> I thought I would add to this debate. The examples above work just fine but they seem very complicated to me. I have taken your picture, put it in a PictureBox and in 8 lines of code have a button you can click. SimpleButton.tar -- View this message in context: http://gambas.8142.n7.nabble.com/Positioning-Image-and-Text-in-a-Button-tp56931p56949.html Sent from the gambas-user mailing list archive at Nabble.com. From bugtracker at ...3416... Sat Aug 20 13:30:45 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 20 Aug 2016 11:30:45 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #977: IDE crashes opening module In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.977&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Sat Aug 20 13:31:00 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 20 Aug 2016 11:31:00 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #977: IDE crashes opening module In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.977&from=L21haW4- Comment #2 by Beno?t MINISINI: Fixed in revision #7851. Beno?t MINISINI changed the state of the bug to: Fixed. From bagonergi at ...626... Sat Aug 20 13:34:20 2016 From: bagonergi at ...626... (Gianluigi) Date: Sat, 20 Aug 2016 13:34:20 +0200 Subject: [Gambas-user] Positioning Image and Text in a Button In-Reply-To: <1471686210760-56949.post@...3046...> References: <1471686210760-56949.post@...3046...> Message-ID: ? Sometimes the simple things turn out complicated to use. Regards Gianluigi 2016-08-20 11:43 GMT+02:00 Charlie : > I thought I would add to this debate. The examples above work just fine but > they seem very complicated to me. > I have taken your picture, put it in a PictureBox and in 8 lines of code > have a button you can click. > SimpleButton.tar > > > > > -- > View this message in context: http://gambas.8142.n7.nabble. > com/Positioning-Image-and-Text-in-a-Button-tp56931p56949.html > Sent from the gambas-user mailing list archive at Nabble.com. > ------------------------------------------------------------ > ------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bagonergi at ...626... Sat Aug 20 14:31:21 2016 From: bagonergi at ...626... (Gianluigi) Date: Sat, 20 Aug 2016 14:31:21 +0200 Subject: [Gambas-user] Positioning Image and Text in a Button In-Reply-To: References: <1471686210760-56949.post@...3046...> Message-ID: Now it really is a square button. The style drawing flags, is implemented. Regards Gianluigi 2016-08-20 13:34 GMT+02:00 Gianluigi : > ? > > Sometimes the simple things turn out complicated to use. > > Regards > Gianluigi > > 2016-08-20 11:43 GMT+02:00 Charlie : > >> I thought I would add to this debate. The examples above work just fine >> but >> they seem very complicated to me. >> I have taken your picture, put it in a PictureBox and in 8 lines of code >> have a button you can click. >> SimpleButton.tar >> >> >> >> >> -- >> View this message in context: http://gambas.8142.n7.nabble.c >> om/Positioning-Image-and-Text-in-a-Button-tp56931p56949.html >> Sent from the gambas-user mailing list archive at Nabble.com. >> ------------------------------------------------------------ >> ------------------ >> _______________________________________________ >> 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: SquareButton-2-0.0.1.tar.gz Type: application/x-gzip Size: 30513 bytes Desc: not available URL: From gambas at ...1... Sat Aug 20 16:45:11 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 20 Aug 2016 16:45:11 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.9.0 Message-ID: <1498cd94-c603-ce50-31df-287c09a5762a@...1...> Hi, Finally, here is the initial source package of Gambas 3.9.0! https://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.9.0.tar.bz2/download Please compile and install it as much as you can, and report any problem. Before I make it official of course. :-) I have to write the changelog now... Best regards, -- Beno?t Minisini From karl.reinl at ...9... Sat Aug 20 17:01:41 2016 From: karl.reinl at ...9... (Karl Reinl) Date: Sat, 20 Aug 2016 17:01:41 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.9.0 In-Reply-To: <1498cd94-c603-ce50-31df-287c09a5762a@...1...> References: <1498cd94-c603-ce50-31df-287c09a5762a@...1...> Message-ID: <1471705301.4062.3.camel@...40...> Am Samstag, den 20.08.2016, 16:45 +0200 schrieb Beno?t Minisini: > Hi, > > Finally, here is the initial source package of Gambas 3.9.0! > > https://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.9.0.tar.bz2/download > > Please compile and install it as much as you can, and report any > problem. Before I make it official of course. :-) > > I have to write the changelog now... > > Best regards, > Salut Beno?t, compiled and installed fine, missed statusicon gbi3: warning: component gb.dbus.statusicon not found [System] Gambas=3.8.90 r7858 OperatingSystem=Linux Kernel=3.2.0-101-generic Architecture=x86 Distribution=Ubuntu 14.04.5 LTS Desktop=UNITY Theme=Plastique Language=de_DE.UTF-8 Memory=3025M [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+2=libgtk-x11-2.0.so.0.2400.23 GTK+3=libgtk-3.so.0.1000.8 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 QT4=libQtCore.so.4.8.6 QT5=libQt5Core.so.5.2.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-zGxJlDxII0 DEFAULTS_PATH=/usr/share/gconf/gnome-fallback-compiz.default.path DESKTOP_SESSION=gnome-fallback-compiz DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=gnome-fallback-compiz GDM_LANG=de_DE GIO_LAUNCHED_DESKTOP_FILE=/.local/share/applications/Gambas III.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=6090 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL=/run/user/1000/keyring-3MpmaK GNOME_KEYRING_PID=3256 GPG_AGENT_INFO=/run/user/1000/keyring-3MpmaK/gpg:0:1 GTK_MODULES=canberra-gtk-module:overlay-scrollbar:unity-gtk-module HOME= IM_CONFIG_PHASE=1 INSTANCE= JOB=dbus LANG=de_DE.UTF-8 LANGUAGE=de_DE:en LC_MESSAGES=de_DE.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/gnome-fallback-compiz.mandatory.path PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games:/usr/local/games PWD= QT_NO_GLIB=1 QT_QPA_PLATFORMTHEME=appmenu-qt5 SELINUX_INIT=YES SESSION=gnome-fallback-compiz SESSIONTYPE=gnome-session SESSION_MANAGER=local/:@/tmp/.ICE-unix/3664,unix/:/tmp/.ICE-unix/3664 SHELL=/bin/bash SHLVL=0 SPEECHD_PORT=7560 SSH_AUTH_SOCK=/run/user/1000/keyring-3MpmaK/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime UBUNTU_MENUPROXY=0 UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/3258 USER= USERNAME= WINDOWPATH=7 XAUTHORITY=/var/run/gdm/auth-for--0RnnM6/database XDG_CONFIG_DIRS=/etc/xdg/xdg-gnome-fallback-compiz:/usr/share/upstart/xdg:/etc/xdg XDG_CURRENT_DESKTOP=Unity XDG_DATA_DIRS=/usr/share/gnome-fallback-compiz:/usr/share/gnome:/usr/local/share/:/usr/share/ XDG_MENU_PREFIX=gnome-flashback- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_ID=c2 XDG_VTNR=7 -- Amicalement Charlie -------------- next part -------------- A non-text attachment was scrubbed... Name: gambas3_rev_7858.logs.tar.gz Type: application/x-compressed-tar Size: 37846 bytes Desc: not available URL: From gambas at ...1... Sat Aug 20 17:33:49 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 20 Aug 2016 17:33:49 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.9.0 In-Reply-To: <1471705301.4062.3.camel@...40...> References: <1498cd94-c603-ce50-31df-287c09a5762a@...1...> <1471705301.4062.3.camel@...40...> Message-ID: <74539aef-8736-272e-8155-7a11e7c4dd94@...1...> Le 20/08/2016 ? 17:01, Karl Reinl a ?crit : > Am Samstag, den 20.08.2016, 16:45 +0200 schrieb Beno?t Minisini: >> Hi, >> >> Finally, here is the initial source package of Gambas 3.9.0! >> >> https://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.9.0.tar.bz2/download >> >> Please compile and install it as much as you can, and report any >> problem. Before I make it official of course. :-) >> >> I have to write the changelog now... >> >> Best regards, >> > > Salut Beno?t, > > compiled and installed fine, missed statusicon > gbi3: warning: component gb.dbus.statusicon not found > There is no 'gb.dbus.statusicon' component in the sources. Is it a rest of an old Gambas installation? -- Beno?t Minisini From jussi.lahtinen at ...626... Sat Aug 20 17:46:03 2016 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 20 Aug 2016 18:46:03 +0300 Subject: [Gambas-user] Pre-release of Gambas 3.9.0 In-Reply-To: <1498cd94-c603-ce50-31df-287c09a5762a@...1...> References: <1498cd94-c603-ce50-31df-287c09a5762a@...1...> Message-ID: You have ignored my report of the unreliability of Process.Wait method. Have you forgotten it or is there some other reason? Run the attached project few times and you will see that the process.wait doesn't always wait for the process to complete (at least on Linux Mint, details below). Jussi [System] Gambas=3.8.90 r7858 OperatingSystem=Linux Kernel=3.19.0-32-generic Architecture=x86_64 Distribution=Linux Mint 17.3 Rosa Desktop=CINNAMON Theme=Gtk Language=en_US.UTF-8 Memory=7984M [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+2=libgtk-x11-2.0.so.0.2400.23 GTK+3=libgtk-3.so.0.1000.8 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 QT4=libQtCore.so.4.8.6 QT5=libQt5Core.so.5.2.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CLUTTER_BACKEND=x11 CLUTTER_IM_MODULE=xim DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-Z9Ej6whv2f,guid=ebb64f5d71222253632512a957b8521d DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path DESKTOP_SESSION=cinnamon DISPLAY=:0.0 GB_GUI=gb.qt4 GB_PROFILE_MAX=1000 GDMSESSION=cinnamon GDM_XSERVER_LOCATION=local GIO_LAUNCHED_DESKTOP_FILE=/Desktop/Gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=2932 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL=/run/user/1000/keyring-ZRAMRF GPG_AGENT_INFO=/run/user/1000/keyring-ZRAMRF/gpg:0:1 GTK_IM_MODULE=xim HOME= INSIDE_NEMO_PYTHON= LANG=en_US.UTF-8 LC_ADDRESS=fi_FI.UTF-8 LC_IDENTIFICATION=fi_FI.UTF-8 LC_MEASUREMENT=fi_FI.UTF-8 LC_MONETARY=fi_FI.UTF-8 LC_NAME=fi_FI.UTF-8 LC_NUMERIC=fi_FI.UTF-8 LC_PAPER=fi_FI.UTF-8 LC_TELEPHONE=fi_FI.UTF-8 LC_TIME=en_US.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path MDMSESSION=cinnamon MDM_LANG=en_US.UTF-8 MDM_XSERVER_LOCATION=local PAPERSIZE=letter PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT4_IM_MODULE=xim QT_STYLE_OVERRIDE=gtk SESSION_MANAGER=local/:@/tmp/.ICE-unix/1633,unix/:/tmp/.ICE-unix/1633 SHELL=/bin/bash SSH_AGENT_PID=1699 SSH_AUTH_SOCK=/run/user/1000/keyring-ZRAMRF/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=8 XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg XDG_CURRENT_DESKTOP=X-Cinnamon XDG_DATA_DIRS=/usr/share/cinnamon:/usr/share/gnome:/usr/local/share/:/usr/share/:/usr/share/mdm/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_COOKIE=5a45fa29109f0ee2389b1b0355283726-1471697437.492558-2108773485 XDG_SESSION_DESKTOP=cinnamon XDG_SESSION_ID=c1 XDG_VTNR=8 XMODIFIERS=@...3498...=none On Sat, Aug 20, 2016 at 5:45 PM, Beno?t Minisini < gambas at ...1...> wrote: > Hi, > > Finally, here is the initial source package of Gambas 3.9.0! > > https://sourceforge.net/projects/gambas/files/gambas3/gambas > 3-3.9.0.tar.bz2/download > > Please compile and install it as much as you can, and report any > problem. Before I make it official of course. :-) > > I have to write the changelog now... > > Best regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------ > ------------------ > _______________________________________________ > 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: GambasTestercmd-0.9.49.tar.gz Type: application/x-gzip Size: 17998 bytes Desc: not available URL: From chrisml at ...3340... Sat Aug 20 17:31:59 2016 From: chrisml at ...3340... (Christof Thalhofer) Date: Sat, 20 Aug 2016 17:31:59 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.9.0 In-Reply-To: <1498cd94-c603-ce50-31df-287c09a5762a@...1...> References: <1498cd94-c603-ce50-31df-287c09a5762a@...1...> Message-ID: Hi, Am 20.08.2016 um 16:45 schrieb Beno?t Minisini: > Finally, here is the initial source package of Gambas 3.9.0! > > https://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.9.0.tar.bz2/download > > Please compile and install it as much as you can, and report any > problem. Before I make it official of course. :-) > > I have to write the changelog now... Very cool! Is the Gambas daily in Launchpad a current version? Alles Gute Christof Thalhofer -- Dies ist keine Signatur From sebikul at ...626... Sat Aug 20 17:55:21 2016 From: sebikul at ...626... (Sebastian Kulesz) Date: Sat, 20 Aug 2016 12:55:21 -0300 Subject: [Gambas-user] Pre-release of Gambas 3.9.0 In-Reply-To: References: <1498cd94-c603-ce50-31df-287c09a5762a@...1...> Message-ID: On Sat, Aug 20, 2016 at 12:31 PM, Christof Thalhofer wrote: > Hi, > > Am 20.08.2016 um 16:45 schrieb Beno?t Minisini: > > > Finally, here is the initial source package of Gambas 3.9.0! > > > > https://sourceforge.net/projects/gambas/files/gambas3/ > gambas3-3.9.0.tar.bz2/download > > > > Please compile and install it as much as you can, and report any > > problem. Before I make it official of course. :-) > > > > I have to write the changelog now... > > Very cool! Is the Gambas daily in Launchpad a current version? > > I'm updating it now. It will be live in a few hours. Anyway, for the Daily PPA it will just be a version bump, you already have all the changes there. :P > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > ------------------------------------------------------------ > ------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Sat Aug 20 17:59:04 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 20 Aug 2016 17:59:04 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.9.0 In-Reply-To: References: <1498cd94-c603-ce50-31df-287c09a5762a@...1...> Message-ID: is the problem of compilation of gb.git on archlinux is resolved ? From sebikul at ...626... Sat Aug 20 18:18:09 2016 From: sebikul at ...626... (Sebastian Kulesz) Date: Sat, 20 Aug 2016 13:18:09 -0300 Subject: [Gambas-user] Pre-release of Gambas 3.9.0 In-Reply-To: References: <1498cd94-c603-ce50-31df-287c09a5762a@...1...> Message-ID: Beno?t, beware that the version number was only updated on the 3.9 branch. On trunk, the version is still 3.8.90! On Sat, Aug 20, 2016 at 12:59 PM, Fabien Bodard wrote: > is the problem of compilation of gb.git on archlinux is resolved ? > > ------------------------------------------------------------ > ------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sat Aug 20 18:22:54 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 20 Aug 2016 18:22:54 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.9.0 In-Reply-To: References: <1498cd94-c603-ce50-31df-287c09a5762a@...1...> Message-ID: <8763e94d-29e2-ac93-fa46-92aa5449475e@...1...> Le 20/08/2016 ? 17:46, Jussi Lahtinen a ?crit : > You have ignored my report of the unreliability of Process.Wait method. > Have you forgotten it or is there some other reason? Mmm... No, I forgot it. No other reason! > Run the attached project few times and you will see that the process.wait > doesn't always wait for the process to complete (at least on Linux Mint, > details below). > > > Jussi I will look at it. Anyway, it does not matter if I fix it in 3.8.4 or 3.9.0. What matters is -when-. -- Beno?t Minisini From chrisml at ...3340... Sat Aug 20 18:23:00 2016 From: chrisml at ...3340... (Christof Thalhofer) Date: Sat, 20 Aug 2016 18:23:00 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.9.0 In-Reply-To: References: <1498cd94-c603-ce50-31df-287c09a5762a@...1...> Message-ID: Am 20.08.2016 um 17:55 schrieb Sebastian Kulesz: > I'm updating it now. It will be live in a few hours. > Anyway, for the Daily PPA it will just be a version bump, you already have > all the changes there. :P ok, great! Thank you! So I can test. Alles Gute Christof Thalhofer -- Dies ist keine Signatur From chrisml at ...3340... Sat Aug 20 18:52:56 2016 From: chrisml at ...3340... (Christof Thalhofer) Date: Sat, 20 Aug 2016 18:52:56 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.9.0 In-Reply-To: <1498cd94-c603-ce50-31df-287c09a5762a@...1...> References: <1498cd94-c603-ce50-31df-287c09a5762a@...1...> Message-ID: Hi, Am 20.08.2016 um 16:45 schrieb Beno?t Minisini: > Finally, here is the initial source package of Gambas 3.9.0! Here it seems to run without caveats. Just a question about libraries: When I build and install my project on Debian/Ubuntu, my libraries will install in /usr/bin as it was usual before. Right? There is no installation of libraries in /usr/lib/gambas3/vendor While programming, libs are in ~/.local/share/gambas3/lib/vendor Is that right? Alles Gute Christof Thalhofer -- Dies ist keine Signatur From ron at ...1740... Sat Aug 20 18:48:59 2016 From: ron at ...1740... (Ron) Date: Sat, 20 Aug 2016 18:48:59 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.9.0 In-Reply-To: References: <1498cd94-c603-ce50-31df-287c09a5762a@...1...> Message-ID: Compiles and runs (first tests) fine on Ubuntu 16.04 LTS 64 bit. Although I get a lot of gtk and gnome-keyring related deprecated warnings during make, see attached logs. It's not a big problem. llvm needs to be downgraded from 3.8 to 3.5 to be found. Regards, Ron. 2016-08-20 17:59 GMT+02:00 Fabien Bodard : > is the problem of compilation of gb.git on archlinux is resolved ? > > ------------------------------------------------------------------------------ > _______________________________________________ > 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: logs.tar.gz Type: application/x-gzip Size: 35952 bytes Desc: not available URL: From mckaygerhard at ...626... Sat Aug 20 21:56:37 2016 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sat, 20 Aug 2016 15:56:37 -0400 Subject: [Gambas-user] Gambas sintax its case sensitive? In-Reply-To: References: Message-ID: 2016-08-18 8:16 GMT-04:00 Fabien Bodard : > 2016-08-16 16:02 GMT+02:00 PICCORO McKAY Lenz : > > Gambas sintax its case sensitive? > no > yeah, great! but sometimes in the ide does not have this behavior! well its not so painfull > It's the same for gambas... like vb > argg dont compare with that! > > > Lenz McKAY Gerardo (PICCORO) > > http://qgqlochekone.blogspot.com > > ------------------------------------------------------------ > ------------------ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard > > ------------------------------------------------------------ > ------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mckaygerhard at ...626... Sat Aug 20 21:59:05 2016 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sat, 20 Aug 2016 15:59:05 -0400 Subject: [Gambas-user] instance inline vs declaration and later instanciation In-Reply-To: <20160818185336.GA702@...3600...> References: <20160818185336.GA702@...3600...> Message-ID: 2016-08-18 14:53 GMT-04:00 Tobias Boege : > The first way ensures that the variable contains a valid reference to a > Collection object as soon as an object of the class you're writing is > instantiated. This happens even before the constructor of that object is > called. > > In the second case there is certainly an interval in the life of your > object when the variable is Null and accessing it somewhere in your code > will lead to an error. > tHATS! all? well great, thanks, gambas its so easy to coding! and understang! > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------ > ------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sun Aug 21 00:04:54 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 21 Aug 2016 00:04:54 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.9.0 In-Reply-To: References: <1498cd94-c603-ce50-31df-287c09a5762a@...1...> Message-ID: Le 20/08/2016 ? 18:48, Ron a ?crit : > Compiles and runs (first tests) fine on Ubuntu 16.04 LTS 64 bit. > > Although I get a lot of gtk and gnome-keyring related deprecated > warnings during make, see attached logs. > It's not a big problem. > > llvm needs to be downgraded from 3.8 to 3.5 to be found. > > Regards, > Ron. > You don't have to downgrade llvm. You can install both llvm 3.5 and the latest version on your system, provided that you set the LLVM_CONFIG environmental variable to llvm-config-3.5. In another word, compile Gambas that way; $ ./reconf $ LLVM_CONFIG=llvm-config-3.5 ./configure -C $ make Regards, -- Beno?t Minisini From gambas at ...1... Sun Aug 21 00:06:04 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 21 Aug 2016 00:06:04 +0200 Subject: [Gambas-user] Gambas sintax its case sensitive? In-Reply-To: References: Message-ID: <0417bbd3-25bf-dcdf-4db3-8f9b7d4f5904@...1...> Le 20/08/2016 ? 21:56, PICCORO McKAY Lenz a ?crit : > yeah, great! but sometimes in the ide does not have this behavior! well its > not so painfull What do you mean exactly? -- Beno?t Minisini From mckaygerhard at ...626... Sun Aug 21 01:17:30 2016 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sat, 20 Aug 2016 19:17:30 -0400 Subject: [Gambas-user] Pre-release of Gambas 3.9.0 In-Reply-To: References: <1498cd94-c603-ce50-31df-287c09a5762a@...1...> Message-ID: i will compile in few hours, for older linux that are in older machines the 3.8.4 have a prblem with editor, the editor area when cursor goes to limit of, the editor screen dont follow the cursor, until 3 or 4 columns.. then it follow and editor show the rest of colums if have a long write line.. i'll paste a sceeenshot later if persist in 3.9 Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2016-08-20 18:04 GMT-04:00 Beno?t Minisini : > Le 20/08/2016 ? 18:48, Ron a ?crit : > > Compiles and runs (first tests) fine on Ubuntu 16.04 LTS 64 bit. > > > > Although I get a lot of gtk and gnome-keyring related deprecated > > warnings during make, see attached logs. > > It's not a big problem. > > > > llvm needs to be downgraded from 3.8 to 3.5 to be found. > > > > Regards, > > Ron. > > > > You don't have to downgrade llvm. You can install both llvm 3.5 and the > latest version on your system, provided that you set the LLVM_CONFIG > environmental variable to llvm-config-3.5. > > In another word, compile Gambas that way; > > $ ./reconf > $ LLVM_CONFIG=llvm-config-3.5 ./configure -C > $ make > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------ > ------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sun Aug 21 01:38:20 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 21 Aug 2016 01:38:20 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.9.0 In-Reply-To: <8763e94d-29e2-ac93-fa46-92aa5449475e@...1...> References: <1498cd94-c603-ce50-31df-287c09a5762a@...1...> <8763e94d-29e2-ac93-fa46-92aa5449475e@...1...> Message-ID: <7e61c941-a9d4-4f0b-d8f7-27cc474a6cf9@...1...> Le 20/08/2016 ? 18:22, Beno?t Minisini a ?crit : > Le 20/08/2016 ? 17:46, Jussi Lahtinen a ?crit : >> You have ignored my report of the unreliability of Process.Wait method. >> Have you forgotten it or is there some other reason? > > Mmm... No, I forgot it. No other reason! > >> Run the attached project few times and you will see that the process.wait >> doesn't always wait for the process to complete (at least on Linux Mint, >> details below). >> >> >> Jussi > > I will look at it. Anyway, it does not matter if I fix it in 3.8.4 or > 3.9.0. What matters is -when-. > I tried on a Mint VirtualBox VM, and still have "Test passed!" as result. Can you tell me exactly where it fails in the code? -- Beno?t Minisini From jussi.lahtinen at ...626... Sun Aug 21 02:56:29 2016 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 21 Aug 2016 03:56:29 +0300 Subject: [Gambas-user] Pre-release of Gambas 3.9.0 In-Reply-To: <7e61c941-a9d4-4f0b-d8f7-27cc474a6cf9@...1...> References: <1498cd94-c603-ce50-31df-287c09a5762a@...1...> <8763e94d-29e2-ac93-fa46-92aa5449475e@...1...> <7e61c941-a9d4-4f0b-d8f7-27cc474a6cf9@...1...> Message-ID: > I tried on a Mint VirtualBox VM, and still have "Test passed!" as > result. Can you tell me exactly where it fails in the code? > Randomly in module mTest at lines 1685, 1694, 1704 and 1714. So at every occurrence of code 'If sTest <> "test" & gb.NewLine Then'. Every time it fails the string sTest is empty, this should never occur if the process has been ran. Or why else the string is empty? See attached screenshot. Now I realize that there is property "Blocking", which is false... so could it be that the process is read too early and process.wait only waits for some input..? Jussi -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot from 2016-08-21 03:50:03.png Type: image/png Size: 99476 bytes Desc: not available URL: From gambas.fr at ...626... Sun Aug 21 10:02:52 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 21 Aug 2016 10:02:52 +0200 Subject: [Gambas-user] Positioning Image and Text in a Button In-Reply-To: References: <1471686210760-56949.post@...3046...> Message-ID: 2016-08-20 14:31 GMT+02:00 Gianluigi : > Now it really is a square button. > The style drawing flags, is implemented. > > Regards > Gianluigi Well .... when i see the simplicity of this code ... I must to say, I love Gambas ! > > 2016-08-20 13:34 GMT+02:00 Gianluigi : > >> ? >> >> Sometimes the simple things turn out complicated to use. >> >> Regards >> Gianluigi >> >> 2016-08-20 11:43 GMT+02:00 Charlie : >> >>> I thought I would add to this debate. The examples above work just fine >>> but >>> they seem very complicated to me. >>> I have taken your picture, put it in a PictureBox and in 8 lines of code >>> have a button you can click. >>> SimpleButton.tar >>> >>> >>> >>> >>> -- >>> View this message in context: http://gambas.8142.n7.nabble.c >>> om/Positioning-Image-and-Text-in-a-Button-tp56931p56949.html >>> Sent from the gambas-user mailing list archive at Nabble.com. >>> ------------------------------------------------------------ >>> ------------------ >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> >> > > ------------------------------------------------------------------------------ > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From bugtracker at ...3416... Sun Aug 21 11:47:36 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 21 Aug 2016 09:47:36 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #978: Packager update. Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.978&from=L21haW4- Mufeed ALI reported a new bug. Summary ------- Packager update. Type : Request Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : Development Environment Description ----------- Hi, I have been trying to push a commit since several weeks now. All without success. Now, I'm leaving for my homeland for about 2 years and will not be able to commit it anyway. So, I'm attaching the packager.module file after my modifications. I've modified the Ubuntu and Debian part. I don't quite get the 'MakeDebSupportPackage'. What is it meant to do? BUT I've changed the MakeDebPackage and MakeDebSupportPackage codes to be more standards-compliant and to fix the blurry icons issue on Ubuntu. I've tested it and it still gives Lintian output as clean as before. Also, a suggestion: Please change the 'small' icons to 22x22 (toolbar icons) or 16x16 (menu icons). 'Small' icons are usually down-scaled versions of 22x22 icons. That results in blurry icons that do not make the button's purpose clear. The menu icons should be 16x16. Because if set to 'small', 22x22 icons are down-scaled to 16x16 anyway. Which, again, results in blurry icons. On some icon themes, this looks HORRIBLE! But in others, like Breeze, its noticeable but not too bad. And in rare ones like Numix-Circle, which uses SVG icons and not PNG, its fine. Thanks. System information ------------------ [System] Gambas=3.8.90 OperatingSystem=Linux Kernel=4.4.0-31-generic Architecture=x86_64 Distribution=Ubuntu 16.04.1 LTS Desktop=UNITY Theme=Gtk Language=en_US.UTF-8 Memory=3919M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.802.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CLUTTER_IM_MODULE=xim COMPIZ_BIN_PATH=/usr/bin/ COMPIZ_CONFIG_PROFILE=ubuntu DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-s6qrZrC6WE DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path DESKTOP_SESSION=ubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=ubuntu GDM_LANG=en_US GIO_LAUNCHED_DESKTOP_FILE=/.local/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=18638 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL= GNOME_KEYRING_PID= GTK2_MODULES=overlay-scrollbar GTK_IM_MODULE=ibus GTK_MODULES=gail:atk-bridge:unity-gtk-module HOME= IM_CONFIG_PHASE=1 INSTANCE= JOB=unity-settings-daemon LANG=en_US.UTF-8 LANGUAGE=en_US LC_ADDRESS=en_US.UTF-8 LC_IDENTIFICATION=en_US.UTF-8 LC_MEASUREMENT=en_US.UTF-8 LC_MONETARY=en_US.UTF-8 LC_NAME=en_US.UTF-8 LC_NUMERIC=en_US.UTF-8 LC_PAPER=en_US.UTF-8 LC_TELEPHONE=en_US.UTF-8 LC_TIME=en_US.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path PAPERSIZE=letter PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PWD= QT4_IM_MODULE=ibus QT_ACCESSIBILITY=1 QT_IM_MODULE=ibus QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_QPA_PLATFORMTHEME=appmenu-qt5 SESSION=ubuntu SESSIONTYPE=gnome-session SHELL=/bin/bash SHLVL=0 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime UPSTART_EVENTS=xsession started UPSTART_INSTANCE= UPSTART_JOB=unity7 UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/3022 USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg:/usr/share/kubuntu-default-settings/kf5-settings XDG_CURRENT_DESKTOP=Unity XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=ubuntu XDG_SESSION_ID=c1 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 XMODIFIERS=@...3498...=ibus From bugtracker at ...3416... Sun Aug 21 11:50:17 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 21 Aug 2016 09:50:17 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #978: Packager update. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.978&from=L21haW4- Mufeed ALI added an attachment: Package.module From bagonergi at ...626... Sun Aug 21 14:23:32 2016 From: bagonergi at ...626... (Gianluigi) Date: Sun, 21 Aug 2016 14:23:32 +0200 Subject: [Gambas-user] Positioning Image and Text in a Button In-Reply-To: References: <1471686210760-56949.post@...3046...> Message-ID: Yes Fabien, You really are right, Gambas is fabulous! ? Big thanks to Benoit and to you that help him. Regards Gianluigi 2016-08-21 10:02 GMT+02:00 Fabien Bodard : > 2016-08-20 14:31 GMT+02:00 Gianluigi : > > Now it really is a square button. > > The style drawing flags, is implemented. > > > > Regards > > Gianluigi > > Well .... when i see the simplicity of this code ... I must to say, I > love Gambas ! > > > > > > 2016-08-20 13:34 GMT+02:00 Gianluigi : > > > >> ? > >> > >> Sometimes the simple things turn out complicated to use. > >> > >> Regards > >> Gianluigi > >> > >> 2016-08-20 11:43 GMT+02:00 Charlie : > >> > >>> I thought I would add to this debate. The examples above work just fine > >>> but > >>> they seem very complicated to me. > >>> I have taken your picture, put it in a PictureBox and in 8 lines of > code > >>> have a button you can click. > >>> SimpleButton.tar > >>> > >>> > >>> > >>> > >>> -- > >>> View this message in context: http://gambas.8142.n7.nabble.c > >>> om/Positioning-Image-and-Text-in-a-Button-tp56931p56949.html > >>> Sent from the gambas-user mailing list archive at Nabble.com. > >>> ------------------------------------------------------------ > >>> ------------------ > >>> _______________________________________________ > >>> Gambas-user mailing list > >>> Gambas-user at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/gambas-user > >>> > >> > >> > > > > ------------------------------------------------------------ > ------------------ > > > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > -- > Fabien Bodard > > ------------------------------------------------------------ > ------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From ron at ...1740... Sun Aug 21 15:04:14 2016 From: ron at ...1740... (Ron) Date: Sun, 21 Aug 2016 15:04:14 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.9.0 In-Reply-To: References: <1498cd94-c603-ce50-31df-287c09a5762a@...1...> <8763e94d-29e2-ac93-fa46-92aa5449475e@...1...> <7e61c941-a9d4-4f0b-d8f7-27cc474a6cf9@...1...> Message-ID: When using hGet.Auth = Net.AuthDigestIE in a http post request, I get error that it's not a unknown authentication method. Also have some strange crashes (sig 11) when rerunning same request (without above line) need to get more info. [System] Gambas=3.9 OperatingSystem=Linux Kernel=4.4.0-34-generic Architecture=x86_64 Distribution=Ubuntu 16.04.1 LTS Desktop=UNITY Theme=Gtk Language=en_US.UTF-8 Memory=16015M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.802.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.0.0 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 Regards, Ron. 2016-08-21 2:56 GMT+02:00 Jussi Lahtinen : >> I tried on a Mint VirtualBox VM, and still have "Test passed!" as >> result. Can you tell me exactly where it fails in the code? >> > > Randomly in module mTest at lines 1685, 1694, 1704 and 1714. So at every > occurrence of code 'If sTest <> "test" & gb.NewLine Then'. > Every time it fails the string sTest is empty, this should never occur if > the process has been ran. Or why else the string is empty? > > See attached screenshot. > > Now I realize that there is property "Blocking", which is false... so could > it be that the process is read too early and process.wait only waits for > some input..? > > > Jussi > > ------------------------------------------------------------------------------ > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mufeed.ali53 at ...626... Sun Aug 21 15:49:24 2016 From: mufeed.ali53 at ...626... (Mufeed Ali) Date: Sun, 21 Aug 2016 16:49:24 +0300 Subject: [Gambas-user] Pre-release of Gambas 3.9.0 In-Reply-To: References: <1498cd94-c603-ce50-31df-287c09a5762a@...1...> <8763e94d-29e2-ac93-fa46-92aa5449475e@...1...> <7e61c941-a9d4-4f0b-d8f7-27cc474a6cf9@...1...> Message-ID: Please check bug #978. And yea, GTK+ is still messed up. TextArea background does not work in GTK+ 3.20(Arch Linux). On Sun, Aug 21, 2016 at 4:04 PM, Ron wrote: > When using hGet.Auth = Net.AuthDigestIE in a http post request, I get > error that it's not a unknown authentication method. > Also have some strange crashes (sig 11) when rerunning same request > (without above line) need to get more info. > > [System] > Gambas=3.9 > OperatingSystem=Linux > Kernel=4.4.0-34-generic > Architecture=x86_64 > Distribution=Ubuntu 16.04.1 LTS > Desktop=UNITY > Theme=Gtk > Language=en_US.UTF-8 > Memory=16015M > > [Libraries] > Cairo=libcairo.so.2.11400.6 > Curl=libcurl.so.4.4.0 > DBus=libdbus-1.so.3.14.6 > GStreamer=libgstreamer-0.10.so.0.30.0 > GStreamer=libgstreamer-1.0.so.0.802.0 > GTK+2=libgtk-x11-2.0.so.0.2400.30 > GTK+3=libgtk-3.so.0.1800.9 > OpenGL=libGL.so.1.0.0 > OpenGL=libGL.so.1.2.0 > Poppler=libpoppler.so.58.0.0 > QT4=libQtCore.so.4.8.7 > QT5=libQt5Core.so.5.5.1 > SDL=libSDL-1.2.so.0.11.4 > SQLite=libsqlite3.so.0.8.6 > > > Regards, > Ron. > > 2016-08-21 2:56 GMT+02:00 Jussi Lahtinen : > >> I tried on a Mint VirtualBox VM, and still have "Test passed!" as > >> result. Can you tell me exactly where it fails in the code? > >> > > > > Randomly in module mTest at lines 1685, 1694, 1704 and 1714. So at every > > occurrence of code 'If sTest <> "test" & gb.NewLine Then'. > > Every time it fails the string sTest is empty, this should never occur if > > the process has been ran. Or why else the string is empty? > > > > See attached screenshot. > > > > Now I realize that there is property "Blocking", which is false... so > could > > it be that the process is read too early and process.wait only waits for > > some input..? > > > > > > Jussi > > > > ------------------------------------------------------------ > ------------------ > > > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------ > ------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sun Aug 21 17:02:06 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 21 Aug 2016 17:02:06 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.9.0 In-Reply-To: References: <1498cd94-c603-ce50-31df-287c09a5762a@...1...> <8763e94d-29e2-ac93-fa46-92aa5449475e@...1...> <7e61c941-a9d4-4f0b-d8f7-27cc474a6cf9@...1...> Message-ID: Le 21/08/2016 ? 02:56, Jussi Lahtinen a ?crit : >> I tried on a Mint VirtualBox VM, and still have "Test passed!" as >> result. Can you tell me exactly where it fails in the code? >> > > Randomly in module mTest at lines 1685, 1694, 1704 and 1714. So at every > occurrence of code 'If sTest <> "test" & gb.NewLine Then'. > Every time it fails the string sTest is empty, this should never occur if > the process has been ran. Or why else the string is empty? > > See attached screenshot. > > Now I realize that there is property "Blocking", which is false... so could > it be that the process is read too early and process.wait only waits for > some input..? No. Blocking is for stream read & write methods. The Wait() method does not take them into account. It just waits for the process end. The problem is that on your system the input stream from the process is not flushed. If 'sTest' is empty, that means that the Read event is never called, i.e. either the process output file descriptor is never ready to be read, or is ready to be read but is void (it is theoritically possible). I have run the four problematic tests thousands of time, and everything works there. Normally, when I (the interpreter) catch the process end, I carefully send process Read events until the received pipe is flushed. So I don't understand the behaviour on your system. If other people could run the same four tests, it may help fix the problem... -- Beno?t Minisini From bugtracker at ...3416... Sun Aug 21 17:20:23 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 21 Aug 2016 15:20:23 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #978: Packager update. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.978&from=L21haW4- Comment #1 by Beno?t MINISINI: I don't understand why you can't subscribe to the developer mailing-list if you have a correct sourceforge account. This is the place where you must send your code if you can't commit for whatever reason. When you say you are leaving your homeland for 2 years, does it mean that you are leaving internet? I may need to ask you some questions about your changes. MakeDebSupportPackage creates one extra package for each GUI component when you create a project that depends on 'gb.gui' or 'gb.gui.opengl'. That way, the user can choose which exact GUI to use with your GUI-agnostic program. From mckaygerhard at ...626... Sun Aug 21 17:20:34 2016 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sun, 21 Aug 2016 11:20:34 -0400 Subject: [Gambas-user] Pre-release of Gambas 3.9.0 In-Reply-To: <7e61c941-a9d4-4f0b-d8f7-27cc474a6cf9@...1...> References: <1498cd94-c603-ce50-31df-287c09a5762a@...1...> <8763e94d-29e2-ac93-fa46-92aa5449475e@...1...> <7e61c941-a9d4-4f0b-d8f7-27cc474a6cf9@...1...> Message-ID: i have error compiling, agains openssl 0.X not 1.X CC gb_openssl_la-main.lo CC gb_openssl_la-c_digest.lo c_digest.c: In function ?get_dlist?: c_digest.c:51: warning: implicit declaration of function ?EVP_MD_do_all? c_digest.c: In function ?EVP_MD_CTX_reset?: c_digest.c:174: warning: implicit declaration of function ?EVP_PKEY_CTX_free? c_digest.c:174: error: ?EVP_MD_CTX? has no member named ?pctx? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2016-08-20 19:38 GMT-04:00 Beno?t Minisini : > Le 20/08/2016 ? 18:22, Beno?t Minisini a ?crit : > > Le 20/08/2016 ? 17:46, Jussi Lahtinen a ?crit : > >> You have ignored my report of the unreliability of Process.Wait method. > >> Have you forgotten it or is there some other reason? > > > > Mmm... No, I forgot it. No other reason! > > > >> Run the attached project few times and you will see that the > process.wait > >> doesn't always wait for the process to complete (at least on Linux Mint, > >> details below). > >> > >> > >> Jussi > > > > I will look at it. Anyway, it does not matter if I fix it in 3.8.4 or > > 3.9.0. What matters is -when-. > > > > I tried on a Mint VirtualBox VM, and still have "Test passed!" as > result. Can you tell me exactly where it fails in the code? > > -- > Beno?t Minisini > > ------------------------------------------------------------ > ------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mckaygerhard at ...626... Sun Aug 21 17:23:15 2016 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sun, 21 Aug 2016 11:23:15 -0400 Subject: [Gambas-user] Gambas sintax its case sensitive? In-Reply-To: <0417bbd3-25bf-dcdf-4db3-8f9b7d4f5904@...1...> References: <0417bbd3-25bf-dcdf-4db3-8f9b7d4f5904@...1...> Message-ID: the ide autodetect and show available methods etc, but something does not.. its not so important, th compilation and runtime works.. Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2016-08-20 18:06 GMT-04:00 Beno?t Minisini : > Le 20/08/2016 ? 21:56, PICCORO McKAY Lenz a ?crit : > > > yeah, great! but sometimes in the ide does not have this behavior! well > its > > not so painfull > > What do you mean exactly? > > -- > Beno?t Minisini > > ------------------------------------------------------------ > ------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From taboege at ...626... Sun Aug 21 18:15:25 2016 From: taboege at ...626... (Tobias Boege) Date: Sun, 21 Aug 2016 18:15:25 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.9.0 In-Reply-To: References: <1498cd94-c603-ce50-31df-287c09a5762a@...1...> <8763e94d-29e2-ac93-fa46-92aa5449475e@...1...> <7e61c941-a9d4-4f0b-d8f7-27cc474a6cf9@...1...> Message-ID: <20160821161525.GA30636@...3600...> On Sun, 21 Aug 2016, PICCORO McKAY Lenz wrote: > i have error compiling, agains openssl 0.X not 1.X > > CC gb_openssl_la-main.lo > CC gb_openssl_la-c_digest.lo > c_digest.c: In function ?get_dlist?: > c_digest.c:51: warning: implicit declaration of function ?EVP_MD_do_all? > c_digest.c: In function ?EVP_MD_CTX_reset?: > c_digest.c:174: warning: implicit declaration of function > ?EVP_PKEY_CTX_free? > c_digest.c:174: error: ?EVP_MD_CTX? has no member named ?pctx? > Apparently that member was introduced on 22 May 2006 (apparently OpenSSL 0.9.7k) and removed again on 27 Nov 2015 (according to git tags, the versions 1.0.2e, 1.0.1q, 0.9.8zh and 1.1.0pre1 all are the first tags in their respective version numbers which contain this commit). The use of the pctx member there is for forward compatibility with OpenSSL 1.1, which makes its structs opaque. So either you have a version from before 2006 or after 2015 which has opaque structures already but still a version macro OPENSSL_VERSION_NUMBER < 0x10100000L which I was told was an indicator of the API change. So, in any case you need to be more specific about your OpenSSL version. 0.x could be anything between 1998 and 2015. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From mckaygerhard at ...626... Mon Aug 22 00:27:18 2016 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Sun, 21 Aug 2016 18:27:18 -0400 Subject: [Gambas-user] Pre-release of Gambas 3.9.0 In-Reply-To: <20160821161525.GA30636@...3600...> References: <1498cd94-c603-ce50-31df-287c09a5762a@...1...> <8763e94d-29e2-ac93-fa46-92aa5449475e@...1...> <7e61c941-a9d4-4f0b-d8f7-27cc474a6cf9@...1...> <20160821161525.GA30636@...3600...> Message-ID: openssl version are 0.9.8o Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2016-08-21 12:15 GMT-04:00 Tobias Boege : > On Sun, 21 Aug 2016, PICCORO McKAY Lenz wrote: > > i have error compiling, agains openssl 0.X not 1.X > > > > CC gb_openssl_la-main.lo > > CC gb_openssl_la-c_digest.lo > > c_digest.c: In function ?get_dlist?: > > c_digest.c:51: warning: implicit declaration of function > ?EVP_MD_do_all? > > c_digest.c: In function ?EVP_MD_CTX_reset?: > > c_digest.c:174: warning: implicit declaration of function > > ?EVP_PKEY_CTX_free? > > c_digest.c:174: error: ?EVP_MD_CTX? has no member named ?pctx? > > > > Apparently that member was introduced on 22 May 2006 (apparently OpenSSL > 0.9.7k) and removed again on 27 Nov 2015 (according to git tags, the > versions > 1.0.2e, 1.0.1q, 0.9.8zh and 1.1.0pre1 all are the first tags in their > respective version numbers which contain this commit). > > The use of the pctx member there is for forward compatibility with OpenSSL > 1.1, which makes its structs opaque. So either you have a version from > before > 2006 or after 2015 which has opaque structures already but still a version > macro > > OPENSSL_VERSION_NUMBER < 0x10100000L > > which I was told was an indicator of the API change. > > So, in any case you need to be more specific about your OpenSSL version. > 0.x could be anything between 1998 and 2015. > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ------------------------------------------------------------ > ------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bugtracker at ...3416... Mon Aug 22 13:37:24 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 22 Aug 2016 11:37:24 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #978: Packager update. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.978&from=L21haW4- Comment #2 by Mufeed ALI: Yes, I'm leaving internet. I could have internet but at a limit of maybe about 500 mb per month or so. Please send any questions to my gmail . Sorry, i subscribed but last time I tried sending something, it didn't make it into the mailing list. IDK why but it isn't working. Just now, I've re-subscribed, hope it works. From bugtracker at ...3416... Mon Aug 22 19:18:53 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 22 Aug 2016 17:18:53 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #979: gtk_text_buffer_get_insert () signal 11 Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.979&from=L21haW4- Ron KLINKIEN reported a new bug. Summary ------- gtk_text_buffer_get_insert () signal 11 Type : Bug Priority : High Gambas version : 3.8.90 (TRUNK) Product : Unknown Description ----------- Open attached project, click 2-3 times on Test button and close program, you will get a signal 11 crash like below: ~/BugHttpGet$ gdb gbx3 GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1 Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from gbx3...done. (gdb) run Starting program: /usr/bin/gbx3 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffe4b6b700 (LWP 5947)] [New Thread 0x7fffdffff700 (LWP 5948)] [New Thread 0x7fffdf7fe700 (LWP 5949)] [New Thread 0x7fffde0e7700 (LWP 5950)] [New Thread 0x7fffdd8e6700 (LWP 5951)] [Thread 0x7fffde0e7700 (LWP 5950) exited] [New Thread 0x7fffde0e7700 (LWP 5954)] [Thread 0x7fffde0e7700 (LWP 5954) exited] Thread 1 "gbx3" received signal SIGSEGV, Segmentation fault. 0x00007ffff5897946 in gtk_text_buffer_get_insert () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 (gdb) bt #0 0x00007ffff5897946 in gtk_text_buffer_get_insert () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 Backtrace stopped: Cannot access memory at address 0x7fffffffac48 (gdb) System information ------------------ [System] Gambas=3.9 OperatingSystem=Linux Kernel=4.4.0-34-generic Architecture=x86_64 Distribution=Ubuntu 16.04.1 LTS Desktop=UNITY Theme=Gtk Language=en_US.UTF-8 Memory=16015M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.802.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.0.0 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Enviment] CLUTTER_IM_MODULE=xim COMPIZ_BIN_PATH=/usr/bin/ COMPIZ_CONFIG_PROFILE=ubuntu DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-Z9DsdNCShJ DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path DESKTOP_SESSION=ubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=ubuntu GDM_LANG=en_US GIO_LAUNCHED_DESKTOP_FILE=/.local/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=6289 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL= GNOME_KEYRING_PID= GPG_AGENT_INFO=/.gnupg/S.gpg-agent:0:1 GTK2_MODULES=overlay-scrollbar GTK_IM_MODULE=ibus GTK_MODULES=gail:atk-bridge:unity-gtk-module HOME= IM_CONFIG_PHASE=1 INSTANCE= JOB=unity-settings-daemon LANG=en_US.UTF-8 LANGUAGE=en_US LC_ADDRESS=nl_NL.UTF-8 LC_IDENTIFICATION=nl_NL.UTF-8 LC_MEASUREMENT=nl_NL.UTF-8 LC_MONETARY=nl_NL.UTF-8 LC_NAME=nl_NL.UTF-8 LC_NUMERIC=nl_NL.UTF-8 LC_PAPER=nl_NL.UTF-8 LC_TELEPHONE=nl_NL.UTF-8 LC_TIME=nl_NL.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path NODE_PATH=/usr/lib/nodejs:/usr/lib/node_modules:/usr/share/javascript PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PWD= QT4_IM_MODULE=xim QT_ACCESSIBILITY=1 QT_IM_MODULE=ibus QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_QPA_PLATFORMTHEME=appmenu-qt5 SESSION=ubuntu SESSIONTYPE=gnome-session SHELL=/bin/bash SHLVL=0 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime UPSTART_EVENTS=xsession started UPSTART_INSTANCE= UPSTART_JOB=unity7 UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/4326 USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg XDG_CURRENT_DESKTOP=Unity XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=gnome- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=ubuntu XDG_SESSION_ID=c5 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 XMODIFIERS=@...3498...=ibus From bugtracker at ...3416... Mon Aug 22 19:19:17 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 22 Aug 2016 17:19:17 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #979: gtk_text_buffer_get_insert () signal 11 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.979&from=L21haW4- Ron KLINKIEN added an attachment: BugHttpGet-0.0.2.tar.gz From ron at ...1740... Mon Aug 22 19:21:20 2016 From: ron at ...1740... (Ron) Date: Mon, 22 Aug 2016 19:21:20 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.9.0 In-Reply-To: References: <1498cd94-c603-ce50-31df-287c09a5762a@...1...> <8763e94d-29e2-ac93-fa46-92aa5449475e@...1...> <7e61c941-a9d4-4f0b-d8f7-27cc474a6cf9@...1...> <20160821161525.GA30636@...3600...> Message-ID: I can reproduce a signal 11 crash with gambas 3.9, so it seems related to gtk_text_buffer code. See BUG REPORT 979 Kind Regards, Ron. 2016-08-22 0:27 GMT+02:00 PICCORO McKAY Lenz : > openssl version are 0.9.8o > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > 2016-08-21 12:15 GMT-04:00 Tobias Boege : > >> On Sun, 21 Aug 2016, PICCORO McKAY Lenz wrote: >> > i have error compiling, agains openssl 0.X not 1.X >> > >> > CC gb_openssl_la-main.lo >> > CC gb_openssl_la-c_digest.lo >> > c_digest.c: In function ?get_dlist?: >> > c_digest.c:51: warning: implicit declaration of function >> ?EVP_MD_do_all? >> > c_digest.c: In function ?EVP_MD_CTX_reset?: >> > c_digest.c:174: warning: implicit declaration of function >> > ?EVP_PKEY_CTX_free? >> > c_digest.c:174: error: ?EVP_MD_CTX? has no member named ?pctx? >> > >> >> Apparently that member was introduced on 22 May 2006 (apparently OpenSSL >> 0.9.7k) and removed again on 27 Nov 2015 (according to git tags, the >> versions >> 1.0.2e, 1.0.1q, 0.9.8zh and 1.1.0pre1 all are the first tags in their >> respective version numbers which contain this commit). >> >> The use of the pctx member there is for forward compatibility with OpenSSL >> 1.1, which makes its structs opaque. So either you have a version from >> before >> 2006 or after 2015 which has opaque structures already but still a version >> macro >> >> OPENSSL_VERSION_NUMBER < 0x10100000L >> >> which I was told was an indicator of the API change. >> >> So, in any case you need to be more specific about your OpenSSL version. >> 0.x could be anything between 1998 and 2015. >> >> Regards, >> Tobi >> >> -- >> "There's an old saying: Don't change anything... ever!" -- Mr. Monk >> >> ------------------------------------------------------------ >> ------------------ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From herberthguzman at ...626... Mon Aug 22 19:21:50 2016 From: herberthguzman at ...626... (herberth guzman) Date: Mon, 22 Aug 2016 11:21:50 -0600 Subject: [Gambas-user] Positioning Image and Text in a Button Message-ID: Thanks Gianluigi Thanks Fabien Tthanks Charlie Examples are good, I look at the potential of prawns, and ease of doing things. What I do is like the example of Charlie. The problem is that is not a button They can be in a container 20 and that makes it hard. As I can create a button from a class with the result I need. Example Gianluigi If Paint.Font.TextWidth ($ sText)> Then Me.W While Paint.Font.TextWidth ($ sText)> Me.W Paint.Font.Size - = 0.1 Wend endif I need the text is not Strech (Paint.Font.Size - = 0.1) I need to be new line(2 lines). Example NOT Chromium Web Browser YES Chromium Web Browser Can you help me, please. Herberth Guzm?n -------------- next part -------------- A non-text attachment was scrubbed... Name: bt1.png Type: image/png Size: 3305 bytes Desc: not available URL: From bugtracker at ...3416... Mon Aug 22 19:25:48 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 22 Aug 2016 17:25:48 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #978: Packager update. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.978&from=L21haW4- Comment #3 by Beno?t MINISINI: I think I have understood what you changes. But I don't like the way you did: too much duplicated code. I will clean it and merge it as soon as possible. Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Mon Aug 22 19:29:32 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 22 Aug 2016 17:29:32 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #980: Unknown Auth value(s) for gb.net.curl Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.980&from=L21haW4- Ron KLINKIEN reported a new bug. Summary ------- Unknown Auth value(s) for gb.net.curl Type : Bug Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : Networking components Description ----------- There seems to be constants available not known to code underneath. (ie Net.AuthDigestIE) If used it will generate an error, I expected known values to be implemented but it seems this is not the case. Maybe only in certain http code, but couldn't find documentation about it. See attached screenshot and project, click run. Gambas 3.9 System information ------------------ [System] Gambas=3.9 OperatingSystem=Linux Kernel=4.4.0-34-generic Architecture=x86_64 Distribution=Ubuntu 16.04.1 LTS Desktop=UNITY Theme=Gtk Language=en_US.UTF-8 Memory=16015M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.802.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.0.0 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Enviment] CLUTTER_IM_MODULE=xim COMPIZ_BIN_PATH=/usr/bin/ COMPIZ_CONFIG_PROFILE=ubuntu DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-Z9DsdNCShJ DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path DESKTOP_SESSION=ubuntu DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=ubuntu GDM_LANG=en_US GIO_LAUNCHED_DESKTOP_FILE=/.local/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=6289 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL= GNOME_KEYRING_PID= GPG_AGENT_INFO=/.gnupg/S.gpg-agent:0:1 GTK2_MODULES=overlay-scrollbar GTK_IM_MODULE=ibus GTK_MODULES=gail:atk-bridge:unity-gtk-module HOME= IM_CONFIG_PHASE=1 INSTANCE= JOB=unity-settings-daemon LANG=en_US.UTF-8 LANGUAGE=en_US LC_ADDRESS=nl_NL.UTF-8 LC_IDENTIFICATION=nl_NL.UTF-8 LC_MEASUREMENT=nl_NL.UTF-8 LC_MONETARY=nl_NL.UTF-8 LC_NAME=nl_NL.UTF-8 LC_NUMERIC=nl_NL.UTF-8 LC_PAPER=nl_NL.UTF-8 LC_TELEPHONE=nl_NL.UTF-8 LC_TIME=nl_NL.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path NODE_PATH=/usr/lib/nodejs:/usr/lib/node_modules:/usr/share/javascript PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PWD= QT4_IM_MODULE=xim QT_ACCESSIBILITY=1 QT_IM_MODULE=ibus QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_QPA_PLATFORMTHEME=appmenu-qt5 SESSION=ubuntu SESSIONTYPE=gnome-session SHELL=/bin/bash SHLVL=0 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime UPSTART_EVENTS=xsession started UPSTART_INSTANCE= UPSTART_JOB=unity7 UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/4326 USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg XDG_CURRENT_DESKTOP=Unity XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=gnome- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=ubuntu XDG_SESSION_ID=c5 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 XMODIFIERS=@...3498...=ibus From bugtracker at ...3416... Mon Aug 22 19:30:00 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 22 Aug 2016 17:30:00 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #980: Unknown Auth value(s) for gb.net.curl In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.980&from=L21haW4- Ron KLINKIEN added an attachment: Auth Error.png From bugtracker at ...3416... Mon Aug 22 19:30:33 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 22 Aug 2016 17:30:33 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #980: Unknown Auth value(s) for gb.net.curl In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.980&from=L21haW4- Ron KLINKIEN added an attachment: BugHttpAuth-0.0.2.tar.gz From herberthguzman at ...626... Mon Aug 22 20:03:36 2016 From: herberthguzman at ...626... (herberth guzman) Date: Mon, 22 Aug 2016 12:03:36 -0600 Subject: [Gambas-user] Positioning Image and Text in a Button (resolved) Message-ID: Thanks Gianluigi Thanks Fabien Tthanks Charlie Thank you all for your help, I can solve my problem (I oriento Fabien) The Code Draw.RichText ($ sText, x, y, Draw.W, Draw.H, align.Bottom) -------------- next part -------------- A non-text attachment was scrubbed... Name: nice.png Type: image/png Size: 30276 bytes Desc: not available URL: From bugtracker at ...3416... Mon Aug 22 20:12:10 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 22 Aug 2016 18:12:10 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #978: Packager update. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.978&from=L21haW4- Comment #4 by Mufeed ALI: Thank you. I'm glad i was able to do something for the community. From bugtracker at ...3416... Mon Aug 22 21:03:22 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 22 Aug 2016 19:03:22 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #979: gtk_text_buffer_get_insert () signal 11 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.979&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Mon Aug 22 21:03:40 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 22 Aug 2016 19:03:40 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #979: gtk_text_buffer_get_insert () signal 11 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.979&from=L21haW4- Comment #1 by Beno?t MINISINI: Fixed in revision #7861. Beno?t MINISINI changed the state of the bug to: Fixed. From gambas.fr at ...626... Mon Aug 22 21:31:55 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 22 Aug 2016 21:31:55 +0200 Subject: [Gambas-user] Positioning Image and Text in a Button In-Reply-To: References: Message-ID: remove the font scaling part and replace draw.text by : Draw.RichText(Html($sText), 0, 0, Me.W, Me.H + Me.H / 2, Align.Center) 2016-08-22 19:21 GMT+02:00 herberth guzman : > Thanks Gianluigi > Thanks Fabien > Tthanks Charlie > > Examples are good, I look at the potential of prawns, and ease of doing > things. > > > What I do is like the example of Charlie. > > The problem is that is not a button > They can be in a container 20 and that makes it hard. > > As I can create a button from a class with the result I need. > > Example Gianluigi > > If Paint.Font.TextWidth ($ sText)> Then Me.W > While Paint.Font.TextWidth ($ sText)> Me.W > Paint.Font.Size - = 0.1 > Wend > endif > > > I need the text is not Strech (Paint.Font.Size - = 0.1) > I need to be new line(2 lines). > > Example > > NOT > Chromium Web Browser > > YES > Chromium Web > Browser > > Can you help me, please. > > > Herberth Guzm?n > > ------------------------------------------------------------------------------ > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From bagonergi at ...626... Mon Aug 22 22:42:58 2016 From: bagonergi at ...626... (Gianluigi) Date: Mon, 22 Aug 2016 22:42:58 +0200 Subject: [Gambas-user] Positioning Image and Text in a Button In-Reply-To: References: Message-ID: So it works really well ? 2016-08-22 21:31 GMT+02:00 Fabien Bodard : > remove the font scaling part and replace draw.text by : > > Draw.RichText(Html($sText), 0, 0, Me.W, Me.H + Me.H / 2, Align.Center) > > 2016-08-22 19:21 GMT+02:00 herberth guzman : > > Thanks Gianluigi > > Thanks Fabien > > Tthanks Charlie > > > > Examples are good, I look at the potential of prawns, and ease of doing > > things. > > > > > > What I do is like the example of Charlie. > > > > The problem is that is not a button > > They can be in a container 20 and that makes it hard. > > > > As I can create a button from a class with the result I need. > > > > Example Gianluigi > > > > If Paint.Font.TextWidth ($ sText)> Then Me.W > > While Paint.Font.TextWidth ($ sText)> Me.W > > Paint.Font.Size - = 0.1 > > Wend > > endif > > > > > > I need the text is not Strech (Paint.Font.Size - = 0.1) > > I need to be new line(2 lines). > > > > Example > > > > NOT > > Chromium Web Browser > > > > YES > > Chromium Web > > Browser > > > > Can you help me, please. > > > > > > Herberth Guzm?n > > > > ------------------------------------------------------------ > ------------------ > > > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > -- > Fabien Bodard > > ------------------------------------------------------------ > ------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From herberthguzman at ...626... Tue Aug 23 00:19:14 2016 From: herberthguzman at ...626... (herberth guzman) Date: Mon, 22 Aug 2016 16:19:14 -0600 Subject: [Gambas-user] Positioning Image and Text in a Button Message-ID: Super, it works fine, this is what I need. Thank you all. Fabien Thanks replace Draw.RichText($sText, iX, iY - 2, Draw.W, Draw.H, align.Bottom) Draw.RichText(Html($sText), 0, 0, Me.W, Me.H + Me.H / 2, Align.Center) Cool > remove the font scaling part and replace draw.text by : > > Draw.RichText(Html($sText), 0, 0, Me.W, Me.H + Me.H / 2, Align.Center) > > Thanks Gianluigi > > Thanks Fabien > > Tthanks Charlie > > > > Examples are good, I look at the potential of prawns, and ease of doing > > things. > > > > > > What I do is like the example of Charlie. > > > > The problem is that is not a button > > They can be in a container 20 and that makes it hard. > > > > As I can create a button from a class with the result I need. > > > > Example Gianluigi > > > > If Paint.Font.TextWidth ($ sText)> Then Me.W > > While Paint.Font.TextWidth ($ sText)> Me.W > > Paint.Font.Size - = 0.1 > > Wend > > endif > > > > > > I need the text is not Strech (Paint.Font.Size - = 0.1) > > I need to be new line(2 lines). > > > > Example > > > > NOT > > Chromium Web Browser > > > > YES > > Chromium Web > > Browser > > > > Can you help me, please. > > > > From charlie at ...2793... Tue Aug 23 09:43:48 2016 From: charlie at ...2793... (Charlie) Date: Tue, 23 Aug 2016 00:43:48 -0700 (MST) Subject: [Gambas-user] Positioning Image and Text in a Button In-Reply-To: References: Message-ID: <1471938228816-57001.post@...3046...> You can have the "Buttons" I created in a group and this will work OK. Check out the attached based on my last example, now 30 lines of code. SimpleButton.tar -- View this message in context: http://gambas.8142.n7.nabble.com/Positioning-Image-and-Text-in-a-Button-tp56931p57001.html Sent from the gambas-user mailing list archive at Nabble.com. From bagonergi at ...626... Tue Aug 23 20:41:12 2016 From: bagonergi at ...626... (Gianluigi) Date: Tue, 23 Aug 2016 20:41:12 +0200 Subject: [Gambas-user] Html UTF-8 ISO-8859-1 Message-ID: Hi all, I need to make minor modifications to the source of existing html files. Unfortunately, some files are saved properly (UTF-8), while others do not (ISO-8859-1). I have tried in various ways, using Conv$() also combined with Html(), using the TextArea and TextEditor but I could not anything, any suggestions? I would avoid the use of the shell (eg. open the html file in gedit, etc.) I attach explanation test. Regards Gianluigi -------------- next part -------------- A non-text attachment was scrubbed... Name: TestHtml-0.0.1.tar.gz Type: application/x-gzip Size: 12951 bytes Desc: not available URL: From gambas.fr at ...626... Tue Aug 23 22:44:27 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 23 Aug 2016 22:44:27 +0200 Subject: [Gambas-user] Html UTF-8 ISO-8859-1 In-Reply-To: References: Message-ID: I have read something interresting about charset detecting. Some work to benoit : http://www-archive.mozilla.org/projects/intl/detectorsrc.html https://github.com/mozilla/gecko-dev/tree/master/extensions/universalchardet/src/base I think it is an interesting function to add to the the string class. And it is compatible GPL. 2016-08-23 20:41 GMT+02:00 Gianluigi : > Hi all, > I need to make minor modifications to the source of existing html files. > Unfortunately, some files are saved properly (UTF-8), while others do not > (ISO-8859-1). > I have tried in various ways, using Conv$() also combined with Html(), > using the TextArea and TextEditor but I could not anything, any suggestions? > I would avoid the use of the shell (eg. open the html file in gedit, etc.) > I attach explanation test. > > Regards > Gianluigi > > ------------------------------------------------------------------------------ > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From bagonergi at ...626... Wed Aug 24 22:17:17 2016 From: bagonergi at ...626... (Gianluigi) Date: Wed, 24 Aug 2016 22:17:17 +0200 Subject: [Gambas-user] Html UTF-8 ISO-8859-1 In-Reply-To: References: Message-ID: Yes, I know the Button2 code posted last night is wrong, perhaps it would be better so: ? -------------------------------- Dim s As String s = "/tmp" &/ $sPath File.Save(s, TextEditor1.Text) WebView1.Url = s --------------------------------- The wine was so fresh and good (Corvo, Sicilian white wine) ... Regards Gianluigi 2016-08-23 22:44 GMT+02:00 Fabien Bodard : > I have read something interresting about charset detecting. > > Some work to benoit : > > http://www-archive.mozilla.org/projects/intl/detectorsrc.html > > https://github.com/mozilla/gecko-dev/tree/master/ > extensions/universalchardet/src/base > > > I think it is an interesting function to add to the the string class. > And it is compatible GPL. > > 2016-08-23 20:41 GMT+02:00 Gianluigi : > > Hi all, > > I need to make minor modifications to the source of existing html files. > > Unfortunately, some files are saved properly (UTF-8), while others do not > > (ISO-8859-1). > > I have tried in various ways, using Conv$() also combined with Html(), > > using the TextArea and TextEditor but I could not anything, any > suggestions? > > I would avoid the use of the shell (eg. open the html file in gedit, > etc.) > > I attach explanation test. > > > > Regards > > Gianluigi > > > > ------------------------------------------------------------ > ------------------ > > > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > -- > Fabien Bodard > > ------------------------------------------------------------ > ------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bugtracker at ...3416... Wed Aug 24 23:40:28 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 24 Aug 2016 21:40:28 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #978: Packager update. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.978&from=L21haW4- Comment #5 by Beno?t MINISINI: Done in revision #7862, except support for SVG icons, which must be done for all distributions. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Wed Aug 24 23:42:33 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 24 Aug 2016 21:42:33 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #980: Unknown Auth value(s) for gb.net.curl In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.980&from=L21haW4- Comment #1 by Beno?t MINISINI: It's just that not all CURL authentication types are supported. Beno?t MINISINI changed the state of the bug to: Rejected. From bugtracker at ...3416... Thu Aug 25 07:11:57 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 25 Aug 2016 05:11:57 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #981: Adding a function that allow to detect or compare a text charset by BOM or evaluation. Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.981&from=L21haW4- Fabien BODARD reported a new bug. Summary ------- Adding a function that allow to detect or compare a text charset by BOM or evaluation. Type : Request Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : Language Description ----------- I think it will be usefull to add a feature that return the possible charset of a string or NULL if evaluation is not possible. Many others languages have construct that around the mozilla work. This is two place where found the required lib sources and how to use them independently. I think String.DetectCharset will be a good place. http://www-archive.mozilla.org/projects/intl/detectorsrc.html https://github.com/mozilla/gecko-dev/tree/master/extensions/universalchardet/src/base From bugtracker at ...3416... Thu Aug 25 14:20:06 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 25 Aug 2016 12:20:06 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #982: Auto add elements to a Struct array when resized Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.982&from=L21haW4- Martin CRISTIA reported a new bug. Summary ------- Auto add elements to a Struct array when resized Type : Request Priority : High Gambas version : Unknown Product : Language Description ----------- When an array of Structures is created, i.e.: Public Struct myStructNodes iNodes as integer sDesc as string sComents as string End Struct Public Nodes as New myStructNodes[] then Nodes.Resize(10) 'just Null positions are added, so this is worthless this is what is needed Dim a as integer, sNode as New MyStructNodes For a = 1 to 10 sNode = New MyStructNodes Nodes.Add(sNode) sNode = Null Next From bugtracker at ...3416... Thu Aug 25 14:33:16 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 25 Aug 2016 12:33:16 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #982: Auto add elements to a Struct array when resized In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.982&from=L21haW4- Comment #1 by Tobias BOEGE: While I believe this could theoretically be possible (the interpreter can distinguish a Struct from an ordinary class), I would argue against that change. It makes MyStruct[] behave vastly different from MyClass[]. The current behaviour is the greatest common denominator and if you want your Struct arrays to be initialised whenever you resize them, you can always write a utility module which implements such a Resize() routine. From bugtracker at ...3416... Thu Aug 25 14:40:12 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 25 Aug 2016 12:40:12 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #982: Auto add elements to a Struct array when resized In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.982&from=L21haW4- Comment #2 by Martin CRISTIA: I use lot of Structs in my program, and I need to write a Resize routine for each one of them. Maybe it is possible to write a common routine to resize arrays of structures, but I don't know how. From bugtracker at ...3416... Thu Aug 25 14:55:09 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 25 Aug 2016 12:55:09 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #982: Auto add elements to a Struct array when resized In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.982&from=L21haW4- Comment #3 by Tobias BOEGE: There is a way using the introspection capabilities of the gb component and the assumption that Struct array classes will always have a name of the form "MyStruct[]" where "MyStruct" is a Struct class. I'll attach an example. From bugtracker at ...3416... Thu Aug 25 14:55:14 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 25 Aug 2016 12:55:14 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #982: Auto add elements to a Struct array when resized In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.982&from=L21haW4- Tobias BOEGE added an attachment: struct-resize-0.0.1.tar.gz From bagonergi at ...626... Thu Aug 25 15:46:06 2016 From: bagonergi at ...626... (Gianluigi) Date: Thu, 25 Aug 2016 15:46:06 +0200 Subject: [Gambas-user] Html UTF-8 ISO-8859-1 In-Reply-To: References: Message-ID: I do not know if it is semantically correct, but this solution seems to work . Regards Gianluigi 2016-08-24 22:17 GMT+02:00 Gianluigi : > Yes, I know the Button2 code posted last night is wrong, perhaps it would > be better so: ? > -------------------------------- > Dim s As String > > s = "/tmp" &/ $sPath > File.Save(s, TextEditor1.Text) > WebView1.Url = s > --------------------------------- > The wine was so fresh and good (Corvo, Sicilian white wine) ... > > Regards > Gianluigi > > 2016-08-23 22:44 GMT+02:00 Fabien Bodard : > >> I have read something interresting about charset detecting. >> >> Some work to benoit : >> >> http://www-archive.mozilla.org/projects/intl/detectorsrc.html >> >> https://github.com/mozilla/gecko-dev/tree/master/extensions/ >> universalchardet/src/base >> >> >> I think it is an interesting function to add to the the string class. >> And it is compatible GPL. >> >> 2016-08-23 20:41 GMT+02:00 Gianluigi : >> > Hi all, >> > I need to make minor modifications to the source of existing html files. >> > Unfortunately, some files are saved properly (UTF-8), while others do >> not >> > (ISO-8859-1). >> > I have tried in various ways, using Conv$() also combined with Html(), >> > using the TextArea and TextEditor but I could not anything, any >> suggestions? >> > I would avoid the use of the shell (eg. open the html file in gedit, >> etc.) >> > I attach explanation test. >> > >> > Regards >> > Gianluigi >> > >> > ------------------------------------------------------------ >> ------------------ >> > >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> > >> >> >> >> -- >> Fabien Bodard >> >> ------------------------------------------------------------ >> ------------------ >> _______________________________________________ >> 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: TestHtml-Replace-0.0.2.tar.gz Type: application/x-gzip Size: 13079 bytes Desc: not available URL: From bugtracker at ...3416... Thu Aug 25 15:52:00 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 25 Aug 2016 13:52:00 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #982: Auto add elements to a Struct array when resized In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.982&from=L21haW4- Comment #4 by Martin CRISTIA: Works, thank you! Martin CRISTIA changed the state of the bug to: Fixed. From jussi.lahtinen at ...626... Thu Aug 25 20:00:19 2016 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Thu, 25 Aug 2016 21:00:19 +0300 Subject: [Gambas-user] Best way to enumerate multiple arrays or collections? Message-ID: Sometimes I have code where I have multiple arrays or collections, which I would enumerate at once. Now I have to do it this way: For Each hObject In hCollection1 DoSomething ... Next For Each hObject In hCollection2 DoSomething ... Next And I would like to do it this way: For Each hObject In hCollection1, hCollection2 DoSomething ... Next Is this possible for future release of Gambas? Or is there some other preferred way? I guess with arrays you can use "insert" to combine the arrays in temporary array, but not with collections. Jussi From gambas at ...1... Fri Aug 26 02:41:50 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 26 Aug 2016 02:41:50 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.9.0 (episode II) Message-ID: Hi, Here is a new pre-release of Gambas 3.9. Download it at: https://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.9.0.tar.bz2/download This new pre-relase package has the following fixes: * TerminalView is refreshed correctly even if data is coming slowly. * Packager now supports PNG icons up to 1024x1024 pixels in Debian & Ubuntu packages. * Shell.RmDir() works correctly now. * The Window.Resizable property works correctly in gb.gtk3. * Some bug fixes in gb.gtk and gb.gtk3. * Some bug fixes in MenuButton. I couldn't reproduce the Process.Wait problem reported by Jussi Lahtinen. If someone else has the same problem, please tell! Otherwise, report any other problem you have with this package, even those you already have reported forgotten by me. Regards, -- Beno?t Minisini From sebikul at ...626... Fri Aug 26 03:00:42 2016 From: sebikul at ...626... (Sebastian Kulesz) Date: Thu, 25 Aug 2016 22:00:42 -0300 Subject: [Gambas-user] Pre-release of Gambas 3.9.0 (episode II) In-Reply-To: References: Message-ID: It will be available in the Beta PPA in a few hours, Launchpad has half of its build farm offline for some reason... On Thu, Aug 25, 2016 at 9:41 PM, Beno?t Minisini < gambas at ...1...> wrote: > Hi, > > Here is a new pre-release of Gambas 3.9. Download it at: > > https://sourceforge.net/projects/gambas/files/gambas3/ > gambas3-3.9.0.tar.bz2/download > > This new pre-relase package has the following fixes: > > * TerminalView is refreshed correctly even if data is coming slowly. > * Packager now supports PNG icons up to 1024x1024 pixels in Debian & > Ubuntu packages. > * Shell.RmDir() works correctly now. > * The Window.Resizable property works correctly in gb.gtk3. > * Some bug fixes in gb.gtk and gb.gtk3. > * Some bug fixes in MenuButton. > > I couldn't reproduce the Process.Wait problem reported by Jussi > Lahtinen. If someone else has the same problem, please tell! > > Otherwise, report any other problem you have with this package, even > those you already have reported forgotten by me. > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------ > ------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From chrisml at ...3340... Fri Aug 26 11:48:34 2016 From: chrisml at ...3340... (Christof Thalhofer) Date: Fri, 26 Aug 2016 11:48:34 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.9.0 (episode II) - BUG!! In-Reply-To: References: Message-ID: <587ab34b-b906-bbb5-7fdc-f45918959346@...3340...> Hi, I installed Gambas Beta from Launchpad and tested it with my projects. By opening one of them gambas3 destroys a module. I attach them, the original is MLagerverwaltung.module, the destroyed one is MLagerverwaltung.module.destroyed. Shall I write a bug? Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- ' Gambas module file Export '' Nimmt eine neue Charge auf und liefert '' den Primarykey der Charge Public Function ChargeInLagerAufnehmen(PkRohproduktBestand As Long, sCharge As String, Lnr As Long, menge As Float) As Long Dim qry, msg As String Dim res As Result Dim pkcharge As Long 'testen, ob das Rohprodukt bei diesem hersteller 'bereits eingerichtet ist pkcharge = GetPkCharge(sCharge, Lnr, PkRohproduktBestand) ' If GefundeneAlteCharge <> Null And GefundeneAlteCharge <> Charge Then If pkcharge > 0 Then msg = "Diese Charge ist schon registriert, aber mit einer " & "anders geschriebenen Chargennummer. Bitte diese verwenden." '& gb.lf & GefundeneAlteCharge Message.Warning(msg) Goto raus_ChargeInLagerAufnehmen End If qry = "SELECT fkproduktroh_bestand from tblieprod where Lnr = " & Lnr & " and fkproduktroh_bestand = " & PkRohproduktBestand & ";" res = DBs.Deg.Exec(qry) If res.Count = 0 Then msg = "Bei dem gew?hlten Hersteller ist das Rohprodukt nicht eingerichtet. " & "Bitte erst in den Produkten des Herstellers anlegen." Message.Warning(qry) Goto raus_ChargeInLagerAufnehmen End If ' ------------------------------------------------- Charge speichern 'n?chste chargennummer qry = "SELECT nextval('tbproduktcharge_pkproduktcharge_seq');" res = DBs.Deg.Exec(qry) pkcharge = res[0] 'neue charge erstellen qry = "INSERT INTO tbproduktcharge (pkproduktcharge, " & "bestand, Lnr, herstellercharge, fkproduktroh_bestand, " & "herstellercharge_komp)VALUES " & "(" & pkcharge & "," & menge & "," & Lnr & ",'" & sCharge & "'," & PkRohproduktBestand & ", '" & DegString.LowerCompact(sCharge) & "');" DBs.Deg.Exec(qry) raus_ChargeInLagerAufnehmen: Return pkcharge End '' testet, ob die eingegebene Chargennummer schon einmal vorhanden ist '' sorgt daf?r mit einer Postgres-Regex f?r entfernung von space und sonderzeichen '' liefert den primarykey der charge oder 0 wenn nicht gefunden Public Function GetPkCharge(Charge As String, Lnr As Long, PkProduktrohBestand As Long) As Long Dim origchargename As String Dim qry As String Dim res As Result origchargename = DegString.LowerCompact(Charge) qry = "select pkproduktcharge from tbproduktcharge " & "where Lnr = " & Lnr & " and herstellercharge_komp = '" & origchargename & "' and fkproduktroh_bestand = " & PkProduktrohBestand & ";" res = Dbs.Deg.Exec(qry) If res.Count > 0 Then Return res!pkproduktcharge Else Return 0 End If End '' testet, ob ein gegebener Mengenname (St?ck, l, 10erPack...) f?r ein '' Rohprodukt in der Lagerverwaltung richtig ist Function TesteMengennameFuerRohprodukt(fkproduktroh_bestand As Long, mengenname As String) As Boolean Dim ergebnis As Boolean Dim res As Result Dim qry As String Dim lagermengenname As String Dim inttest As Integer qry = "select mengenname from tbproduktroh_bestand where pkproduktroh_bestand = " & fkproduktroh_bestand & ";" res = DBs.Deg.Exec(qry) lagermengenname = res!mengenname 'Schauen, ob der ?bergebene Mengenname zum Lagermengennamen passt qry = "select count (*) as anzahl from tbmengenfaktor where vergleichname = '" & lagermengenname & "' AND mengenname = '" & mengenname & "';" res = DBs.Deg.Exec(qry) inttest = res!anzahl If inttest > 0 Then ergebnis = True Else ergebnis = False End If Return ergebnis End '' ?bernimmt ein Rohprodukt eines Herstellers in das Lager. '' Reduziert, falls vorhanden, Kontrakte. '' '' Achtung diese Funktion ?bernimmt nur '' Grundmengen, wie St?ck, L, m, etc. '' Faktoren, wie 6erPack etc m?ssen vorher umgerechnet worden sein '' Liefert cancel = false bei erfolg '' '' Charge kann Null oder "" sein Public Function LagerAddiereLieferungProduktinLager(Lnr As Long, PkLiebestellDetail As Long, PkRohproduktBestand As Long, Menge As Float, Optional sCharge As String) As Boolean Dim cancel As Boolean = True Dim res As Result Dim qry As String Dim strmenge As String Dim sql As New SqlWrapper(DBs.Deg) Dim PkCharge As Long strmenge = DegString.KommaZuPunkt(Menge) 'spiele die verschiedenen f?lle durch '1. es gibt keine Charge 'hier werden keine kontrakte upgedatet - kein kontrakt ohne charge! If sCharge = Null Then ' ------------------------------------------------- Produkt ohne Charge ' ------------------------------------------------- Test ob Charge notwendig qry = "SELECT tbproduktroh_bestand.chargenverwaltung from tbproduktroh_bestand " & "where tbproduktroh_bestand.pkproduktroh_bestand = " & PkRohproduktBestand & ";" res = Dbs.Deg.Exec(qry) If res[0] = -1 Then Message.Error("Ein Fehler ist aufgetreten. Dieses Produkt ben?tigt eine Chargennummer des Herstellers.") cancel = True Goto Ende End If ' ------------------------------------------------- Produkt ?bernehmen sql.Begin 'in tbliebestelldetail als ausgetragen markieren qry = "UPDATE tbliebestelldetail SET inlageruebernommen = -1 WHERE pkbestelldetail = " & PkLiebestellDetail & ";" Dbs.Deg.exec(qry) 'in das lager ?bernehmen qry = "UPDATE tbproduktroh_bestand SET bestand = bestand + " & strmenge & " WHERE pkproduktroh_bestand = " & PkRohproduktBestand & ";" Dbs.Deg.exec(qry) sql.Commit cancel = False Goto Ende Else ' ------------------------------------------------- Produkt mit Charge '2.fall, es gibt eine chargennummer des herstellers 'schauen, ob diese chargennummer bereits vorhanden ist 'zuerst die eindeutigkeit der chargennummer klarstellen PkCharge = GetPkCharge(sCharge, Lnr, PkRohproduktBestand) If PkCharge > 0 Then 'charge wurde gefunden 'die menge im lager wird erh?ht sql.Begin 'produktabruf beim kontrakt festhalten, wenn kontrakt existiert cancel = MKontrakt.EingangAusKontraktenAusbuchen(Lnr, PkRohproduktBestand, Menge, PkCharge) If cancel = False Then qry = "UPDATE tbproduktcharge SET bestand = bestand + " & strmenge & " WHERE pkproduktcharge = " & PkCharge & ";" Dbs.Deg.exec(qry) 'in tbliebestelldetail als ausgetragen markieren 'FIXME: Darf nur dann den eingang beenden, wenn die menge komplett ?bernommen wurde qry = "UPDATE tbliebestelldetail SET inlageruebernommen = -1 WHERE pkbestelldetail = " & PkLiebestellDetail & ";" Dbs.Deg.exec(qry) sql.Commit Else sql.Rollback End If Goto Ende Else sCharge = DegString.LowerCompact(sCharge) 'diese charge des herstellers wurde nicht gefunden 'eine neue charge mu? erstellt werden sql.Begin 'in tbliebestelldetail als ausgetragen markieren qry = "UPDATE tbliebestelldetail SET inlageruebernommen = -1 WHERE pkbestelldetail = " & PkLiebestellDetail & ";" Dbs.Deg.exec(qry) PkCharge = ChargeInLagerAufnehmen(PkRohproduktBestand, sCharge, Lnr, strmenge) If PkCharge > 0 Then 'produktabruf beim kontrakt festhalten, wenn kontrakt f?r dieses produkt existiert cancel = MKontrakt.EingangAusKontraktenAusbuchen(Lnr, PkLiebestellDetail, PkRohproduktBestand, Menge, PkCharge) If cancel = False Then sql.Commit End If Endif If cancel = True Then sql.Rollback Endif Goto Ende End If End If Ende: Return cancel End -------------- next part -------------- ' Gambas module file Export '' Nimmt eine neue Charge auf und liefert '' den Primarykey der Charge Public Function ChargeInLagerAufnehmen(PkRohproduktBestand As Long, sCharge As String, Lnr As Long, menge As Float) As Long Dim qry, msg As String Dim res As Result Dim pkcharge As Long 'testen, ob das Rohprodukt bei diesem hersteller 'bereits eingerichtet ist pkcharge = GetPkCharge(sCharge, Lnr, PkRohproduktBestand) ' If GefundeneAlteCharge <> Null And GefundeneAlteCharge <> Charge Then If pkcharge > 0 Then msg = "Diese Charge ist schon registriert, aber mit einer " & "anders geschriebenen Chargennummer. Bitte diese verwenden." '& gb.lf & GefundeneAlteCharge Message.Warning(msg) Goto raus_ChargeInLagerAufnehmen End If qry = "SELECT fkproduktroh_bestand from tblieprod where Lnr = " & Lnr & " and fkproduktroh_bestand = " & PkRohproduktBestand & ";" res = DBs.Deg.Exec(qry) If res.Count = 0 Then msg = "Bei dem gew?hlten Hersteller ist das Rohprodukt nicht eingerichtet. " & "Bitte erst in den Produkten des Herstellers anlegen." Message.Warning(qry) Goto raus_ChargeInLagerAufnehmen End If ' ------------------------------------------------- Charge speichern 'n?chste chargennummer qry = "SELECT nextval('tbproduktcharge_pkproduktcharge_seq');" res = DBs.Deg.Exec(qry) pkcharge = res[0] 'neue charge erstellen qry = "INSERT INTO tbproduktcharge (pkproduktcharge, " & "bestand, Lnr, herstellercharge, fkproduktroh_bestand, " & "herstellercharge_komp)VALUES " & "(" & pkcharge & "," & menge & "," & Lnr & ",'" & sCharge & "'," & PkRohproduktBestand & ", '" & DegString.LowerCompact(sCharge) & "');" DBs.Deg.Exec(qry) raus_ChargeInLagerAufnehmen: Return pkcharge End '' testet, ob die eingegebene Chargennummer schon einmal vorhanden ist '' sorgt daf?r mit einer Postgres-Regex f?r entfernung von space und sonderzeichen '' liefert den primarykey der charge oder 0 wenn nicht gefunden Public Function GetPkCharge(Charge As String, Lnr As Long, PkProduktrohBestand As Long) As Long Dim origchargename As String Dim qry As String Dim res As Result origchargename = DegString.LowerCompact(Charge) qry = "select pkproduktcharge from tbproduktcharge " & "where Lnr = " & Lnr & " and herstellercharge_komp = '" & origchargename & "' and fkproduktroh_bestand = " & PkProduktrohBestand & ";" res = Dbs.Deg.Exec(qry) If res.Count > 0 Then Return res!pkproduktcharge Else Return 0 End If End '' testet, ob ein gegebener Mengenname (St?ck, l, 10erPack...) f?r ein '' Rohprodukt in der Lagerverwaltung richtig ist Function TesteMengennameFuerRohprodukt(fkproduktroh_bestand As Long, mengenname As String) As Boolean Dim ergebnis As Boolean Dim res As Result Dim qry As String Dim lagermengenname As String Dim inttest As Integer qry = "select mengenname from tbproduktroh_bestand where pkproduktroh_bestand = " & fkproduktroh_bestand & ";" res = DBs.Deg.Exec(qry) lagermengenname = res!mengenname 'Schauen, ob der ?bergebene Mengenname zum Lagermengennamen passt qry = "select count (*) as anzahl from tbmengenfaktor where vergleichname = '" & lagermengenname & "' AND mengenname = '" & mengenname & "';" res = DBs.Deg.Exec(qry) inttest = res!anzahl If inttest > 0 Then ergebnis = True Else ergebnis = False End If Return ergebnis End '' ?bernimmt ein Rohprodukt eines Herstellers in das Lager. '' Reduziert, falls vorhanden, Kontrakte. '' '' Achtung diese Funktion ?bernimmt nur '' Grundmengen, wie St?ck, L, m, etc. '' Faktoren, wie 6erPack etc m?ssen vorher umgerechnet worden sein '' Liefert cancel = false bei erfolg '' '' Charge kann Null oder "" sein Public Function LagerAddiereLieferungProduktinLager(Lnr As Long, PkLiebestellDetail As Long, PkRohproduktBestand As Long, Menge As Float, Optional sCharge As String) As Boolean Dim cancel As Boolean = True Dim res As Result Dim qry As String Dim strmenge As String Dim sql As New SqlWrapper(DBs.Deg) Dim PkCharge As Long strmenge = DegString.KommaZuPunkt(Menge) 'spiele die verschiedenen f?lle durch '1. es gibt keine Charge 'hier werden keine kontrakte upgedatet - kein kontrakt ohne charge! If sCharge = Null Then ' ------------------------------------------------- Produkt ohne Charge ' ------------------------------------------------- Test ob Charge notwendig qry = "SELECT tbproduktroh_bestand.chargenverwaltung from tbproduktroh_bestand " & "where tbproduktroh_bestand.pkproduktroh_bestand = " & PkRohproduktBestand & ";" res = Dbs.Deg.Exec(qry) If res[0] = -1 Then Message.Error("Ein Fehler ist aufgetreten. Dieses Produkt ben?tigt eine Chargennummer des Herstellers.") cancel = True Goto Ende End If ' ------------------------------------------------- Produkt ?bernehmen sql.Begin 'in tbliebestelldetail als ausgetragen markieren qry = "UPDATE tbliebestelldetail SET inlageruebernommen = -1 WHERE pkbestelldetail = " & PkLiebestellDetail & ";" Dbs.Deg.exec(qry) 'in das lager ?bernehmen qry = "UPDATE tbproduktroh_bestand SET bestand = bestand + " & strmenge & " WHERE pkproduktroh_bestand = " & PkRohproduktBestand & ";" Dbs.Deg.exec(qry) sql.Commit cancel = False Goto Ende Else ' ------------------------------------------------- Produkt mit Charge '2.fall, es gibt eine chargennummer des herstellers 'schauen, ob diese chargennummer bereits vorhanden ist 'zuerst die eindeutigkeit der chargennummer klarstellen PkCharge = GetPkCharge(sCharge, Lnr, PkRohproduktBestand) If PkCharge > 0 Then 'charge wurde gefunden 'die menge im lager wird erh?ht sql.Begin 'produktabruf beim kontrakt festhalten, wenn kontrakt existiert cancel = MKontrakt.EingangAusKontraktenAusbuchen(Lnr, PkRohproduktBestand, Menge, PkCharge) If cancel = False Then qry = "UPDATE tbproduktcharge SET bestand = bestand + " & strmenge & " WHERE pkproduktcharge = " & PkCharge & ";" Dbs.Deg.exec(qry) 'in tbliebestelldetail als ausgetragen markieren 'FIXME: Darf nur dann den eingang beenden, wenn die menge komplett ?bernommen wurde qry = "UPDATE tbliebestelldetail SET inlageruebernommen = -1 WHERE pkbestelldetail = " & PkLiebestellDetail & ";" Dbs.Deg.exec(qry) sql.Commit Else sql.Rollback End If Goto Ende Else sCharge = DegString.LowerCompact(sCharge) 'diese charge des herstellers wurde nicht gefunden 'eine neue charge mu? erstellt werden sql.Begin 'in tbliebestelldetail als ausgetragen markieren qry = "UPDATE tbliebestelldetail SET inlageruebernommen = -1 WHERE pkbestelldetail = " & PkLiebestellDetail & ";" Dbs.Deg.exec(qry) PkCharge = ChargeInLagerAufnehmen(PkRohproduktBestand, sCharge, Lnr, strmenge) If PkCharge > 0 Then 'produktabruf beim kontrakt festhalten, wenn kontrakt f?r dieses produkt existiert cancel = MKontrakt.EingangAusKontraktenAusbuchen(Lnr, PkLiebestellDetail, PkRohproduktBestand, Menge, PkCharge) If cancel = False Then sql.Commit End If Endif If cancel = True Then sql.Rollback Endif Goto Ende End If End If Ende: Return cancel End From chrisml at ...3340... Fri Aug 26 12:22:31 2016 From: chrisml at ...3340... (Christof Thalhofer) Date: Fri, 26 Aug 2016 12:22:31 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.9.0 (episode II) - BUG!! In-Reply-To: <587ab34b-b906-bbb5-7fdc-f45918959346@...3340...> References: <587ab34b-b906-bbb5-7fdc-f45918959346@...3340...> Message-ID: <49841ebc-14ce-175a-9689-2765684c5c66@...3340...> Ahrgh! After I removed Gambas Beta and reinstalled Gambas 3.8.4 from Stable it does not start any more, instead throws this error: --8<---------------------------------------- This application has raised an unexpected error and must abort. [13] Null object. Picture._get.85 --8<---------------------------------------- Now I cannot work anymore ... :/ Nice weather here, so I'll go swimming for a while :-) Alles Gute Christof Thalhofer -- Dies ist keine Signatur From chrisml at ...3340... Fri Aug 26 18:08:47 2016 From: chrisml at ...3340... (Christof Thalhofer) Date: Fri, 26 Aug 2016 18:08:47 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.9.0 (episode II) - BUG!! In-Reply-To: <49841ebc-14ce-175a-9689-2765684c5c66@...3340...> References: <587ab34b-b906-bbb5-7fdc-f45918959346@...3340...> <49841ebc-14ce-175a-9689-2765684c5c66@...3340...> Message-ID: <40f37061-8b9c-8422-77a8-eaf93997510d@...3340...> Am 26.08.2016 um 12:22 schrieb Christof Thalhofer: > Ahrgh! > > After I removed Gambas Beta and reinstalled Gambas 3.8.4 from Stable it > does not start any more, instead throws this error: Ok, this problem is gone, had some 3.9.0.90 relicts on the computer after removement of 3.9 Alles Gute Christof Thalhofer -- Dies ist keine Signatur From gambas at ...1... Fri Aug 26 18:16:32 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 26 Aug 2016 18:16:32 +0200 Subject: [Gambas-user] Best way to enumerate multiple arrays or collections? In-Reply-To: References: Message-ID: <4f25fb3b-ac6c-2717-96c6-85ed91a76b68@...1...> Le 25/08/2016 ? 20:00, Jussi Lahtinen a ?crit : > Sometimes I have code where I have multiple arrays or collections, which I > would enumerate at once. > > Now I have to do it this way: > > For Each hObject In hCollection1 > DoSomething ... > Next > > For Each hObject In hCollection2 > DoSomething ... > Next > > > And I would like to do it this way: > > For Each hObject In hCollection1, hCollection2 > DoSomething ... > Next > > > Is this possible for future release of Gambas? Or is there some other > preferred way? > I guess with arrays you can use "insert" to combine the arrays in temporary > array, but not with collections. > > > > Jussi I don't think I will make the Gambas syntax more complex just to save three lines of codes... Just write: For Each hCollection In [hCollection1, hCollection2] For Each hObject In hCollection DoSomething... Next Next Regards, -- Beno?t Minisini From jussi.lahtinen at ...626... Fri Aug 26 19:39:31 2016 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 26 Aug 2016 20:39:31 +0300 Subject: [Gambas-user] Best way to enumerate multiple arrays or collections? In-Reply-To: <4f25fb3b-ac6c-2717-96c6-85ed91a76b68@...1...> References: <4f25fb3b-ac6c-2717-96c6-85ed91a76b68@...1...> Message-ID: I'll consider this as the "some other preferred way". Thanks! Jussi On Fri, Aug 26, 2016 at 7:16 PM, Beno?t Minisini < gambas at ...1...> wrote: > Le 25/08/2016 ? 20:00, Jussi Lahtinen a ?crit : > > Sometimes I have code where I have multiple arrays or collections, which > I > > would enumerate at once. > > > > Now I have to do it this way: > > > > For Each hObject In hCollection1 > > DoSomething ... > > Next > > > > For Each hObject In hCollection2 > > DoSomething ... > > Next > > > > > > And I would like to do it this way: > > > > For Each hObject In hCollection1, hCollection2 > > DoSomething ... > > Next > > > > > > Is this possible for future release of Gambas? Or is there some other > > preferred way? > > I guess with arrays you can use "insert" to combine the arrays in > temporary > > array, but not with collections. > > > > > > > > Jussi > > I don't think I will make the Gambas syntax more complex just to save > three lines of codes... > > Just write: > > For Each hCollection In [hCollection1, hCollection2] > For Each hObject In hCollection > DoSomething... > Next > Next > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------ > ------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Fri Aug 26 20:02:26 2016 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Fri, 26 Aug 2016 21:02:26 +0300 Subject: [Gambas-user] Pre-release of Gambas 3.9.0 (episode II) - BUG!! In-Reply-To: <587ab34b-b906-bbb5-7fdc-f45918959346@...3340...> References: <587ab34b-b906-bbb5-7fdc-f45918959346@...3340...> Message-ID: Quickly looking the only difference is with indentation..? I guess your IDE preferences say format code at load&save... Whether the code is beautified properly or not is job for someone else to judge. Jussi On Fri, Aug 26, 2016 at 12:48 PM, Christof Thalhofer wrote: > Hi, > > I installed Gambas Beta from Launchpad and tested it with my projects. > By opening one of them gambas3 destroys a module. > > I attach them, the original is MLagerverwaltung.module, the destroyed > one is MLagerverwaltung.module.destroyed. > > Shall I write a bug? > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > ------------------------------------------------------------ > ------------------ > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From chrisml at ...3340... Fri Aug 26 20:23:39 2016 From: chrisml at ...3340... (Christof Thalhofer) Date: Fri, 26 Aug 2016 20:23:39 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.9.0 (episode II) - BUG!! In-Reply-To: References: <587ab34b-b906-bbb5-7fdc-f45918959346@...3340...> Message-ID: <3855fd36-30ce-9fc7-83a8-2c07a77e81e0@...3340...> Am 26.08.2016 um 20:02 schrieb Jussi Lahtinen: > Quickly looking the only difference is with indentation..? Yes, thank you, seems to be so. And it seems to be only in the function LagerAddiereLieferungProduktinLager > I guess your IDE preferences say format code at load&save... Yes. With tab as 4 spaces. > Whether the > code is beautified properly or not is job for someone else to judge. In the function LagerAddiereLieferungProduktinLager after the first "Else" the indentation goes wrong. Strange. It is only in this module and the project has over 25000 loc. Alles Gute Christof Thalhofer -- Dies ist keine Signatur From pata.karlsson at ...626... Fri Aug 26 20:47:50 2016 From: pata.karlsson at ...626... (Patrik Karlsson) Date: Fri, 26 Aug 2016 20:47:50 +0200 Subject: [Gambas-user] Html UTF-8 ISO-8859-1 In-Reply-To: References: Message-ID: 2016-08-23 20:41 GMT+02:00 Gianluigi : > Hi all, > I need to make minor modifications to the source of existing html files. > Unfortunately, some files are saved properly (UTF-8), while others do not > (ISO-8859-1). > I have tried in various ways, using Conv$() also combined with Html(), > using the TextArea and TextEditor but I could not anything, any > suggestions? > I would avoid the use of the shell (eg. open the html file in gedit, etc.) > I attach explanation test. > > Regards > Gianluigi > > A while back I made a iconv frontend i gambas. http://trixon.se/projects/gambas/alphatrans/ From jussi.lahtinen at ...626... Sat Aug 27 00:48:26 2016 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 27 Aug 2016 01:48:26 +0300 Subject: [Gambas-user] Pre-release of Gambas 3.9.0 (episode II) - BUG!! In-Reply-To: <3855fd36-30ce-9fc7-83a8-2c07a77e81e0@...3340...> References: <587ab34b-b906-bbb5-7fdc-f45918959346@...3340...> <3855fd36-30ce-9fc7-83a8-2c07a77e81e0@...3340...> Message-ID: Well then I guess the feature has a bug. Jussi On Fri, Aug 26, 2016 at 9:23 PM, Christof Thalhofer wrote: > Am 26.08.2016 um 20:02 schrieb Jussi Lahtinen: > > Quickly looking the only difference is with indentation..? > > Yes, thank you, seems to be so. And it seems to be only in the function > LagerAddiereLieferungProduktinLager > > > I guess your IDE preferences say format code at load&save... > > Yes. With tab as 4 spaces. > > > Whether the > > code is beautified properly or not is job for someone else to judge. > > In the function LagerAddiereLieferungProduktinLager after the first > "Else" the indentation goes wrong. > > Strange. It is only in this module and the project has over 25000 loc. > > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > ------------------------------------------------------------ > ------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bugtracker at ...3416... Sat Aug 27 05:02:11 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 27 Aug 2016 03:02:11 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #983: Indentation: Formatting of a Module goes wrong Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.983&from=L21haW4- C THAL reported a new bug. Summary ------- Indentation: Formatting of a Module goes wrong Type : Bug Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : Development Environment Description ----------- Attached is a Gambas module and what Gambas 3.8.90 does with it.The IDE preferences are to format code on load/save with tabs as 4 spaces. In the module the function LagerAddiereLieferungProduktinLager is not well formatted, after the first "Else" the indentation goes wrong. From bugtracker at ...3416... Sat Aug 27 05:02:21 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 27 Aug 2016 03:02:21 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #983: Indentation: Formatting of a Module goes wrong In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.983&from=L21haW4- C THAL added an attachment: MLagerverwaltung.module From bugtracker at ...3416... Sat Aug 27 05:02:25 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 27 Aug 2016 03:02:25 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #983: Indentation: Formatting of a Module goes wrong In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.983&from=L21haW4- C THAL added an attachment: MLagerverwaltung.module-destroyed From chrisml at ...3340... Sat Aug 27 05:03:31 2016 From: chrisml at ...3340... (Christof Thalhofer) Date: Sat, 27 Aug 2016 05:03:31 +0200 Subject: [Gambas-user] Pre-release of Gambas 3.9.0 (episode II) - BUG!! In-Reply-To: References: <587ab34b-b906-bbb5-7fdc-f45918959346@...3340...> <3855fd36-30ce-9fc7-83a8-2c07a77e81e0@...3340...> Message-ID: <8eee4529-443a-6790-7ba3-2bfdd11775f6@...3340...> Am 27.08.2016 um 00:48 schrieb Jussi Lahtinen: > Well then I guess the feature has a bug. Ok thank you, I'll write a bug. Alles Gute Christof Thalhofer -- Dies ist keine Signatur From bagonergi at ...626... Sun Aug 28 11:34:29 2016 From: bagonergi at ...626... (Gianluigi) Date: Sun, 28 Aug 2016 11:34:29 +0200 Subject: [Gambas-user] Html UTF-8 ISO-8859-1 In-Reply-To: References: Message-ID: Hello Patrik, thanks for the reply. Unfortunately I have not understood how I can get your iconv frontend. Regard Gianluigi 2016-08-26 20:47 GMT+02:00 Patrik Karlsson : > 2016-08-23 20:41 GMT+02:00 Gianluigi : > > > Hi all, > > I need to make minor modifications to the source of existing html files. > > Unfortunately, some files are saved properly (UTF-8), while others do not > > (ISO-8859-1). > > I have tried in various ways, using Conv$() also combined with Html(), > > using the TextArea and TextEditor but I could not anything, any > > suggestions? > > I would avoid the use of the shell (eg. open the html file in gedit, > etc.) > > I attach explanation test. > > > > Regards > > Gianluigi > > > > > A while back I made a iconv frontend i gambas. > > http://trixon.se/projects/gambas/alphatrans/ > ------------------------------------------------------------ > ------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Sun Aug 28 13:25:29 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 28 Aug 2016 13:25:29 +0200 Subject: [Gambas-user] Release of Gambas 3.9 Message-ID: <426f6302-457a-21a9-9f1c-9116e7b99c41@...1...> Hi, I officialy release Gambas 3.9.0 today! There are hundreds of new features, bug fixes and optimization in this new version. The main feature is gb.web.form, a new component that allows to make the GUI of your web application from the Gambas IDE. How does it work in a few words? Almost everything is done on the server side. The user browser is mainly used as an enhanced graphical terminal running the less JavaScript as possible. Events and page refresh flow between the browser and the server through XML HTTP requests. Besides you will see some screenshots of the configuration program of a web radio entirely made with that component. The project is run through the embedded HTTP server component gb.httpd and Chromium is the browser. Otherwise, the main new features of Gambas 3.9 are: - gb.form.terminal, a new component providing a full-features terminal emulation. - A new IDE output console based on the previous component. - A new and better project argument list interface. - Project creation is now based on project templates. Custom templates can be defined. - New library management system. - The Expression class is now inheritable and allows to customize the interpreter evaluator. - FileView and DirView controls automatically refresh themselves if your project uses the gb.inotify component. - TextEditor now can display thin vertical lines to emphasize indentation. - Menu can have a proxy, i.e. pop up the children of another menu. - Paint.StretchImage() is a new method that scales an image to fit a rectangle, keeping the image proportions. - gb.net.smtp component support PLAIN and CRAM-MD5 authentication. As usual, see the release notes on the web site for all the details. Enjoy it! -- Beno?t Minisini From gambas at ...1... Sun Aug 28 13:32:40 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 28 Aug 2016 13:32:40 +0200 Subject: [Gambas-user] Release of Gambas 3.9 - New gb.web.form component Message-ID: Hi again, As you may know, there is a new component named 'gb.web.form' that allows to make web applications in a specific Gambas way, by drawing the GUI of your web application from the IDE form editor. I have made the configuration interface of a web radio project with it and I will release it as a big example of what you can do with this component. This web radio is made of three parts: 1) A web radio server: A Gambas command-line program that broadcasts the sound through HTTP, using 'vlc'. 2) A web radio client: a little HTML page with javascript and a few images that plays the sound from your browser. 3) A web radio configuration program: a web application made with Gambas and gb.web.form. You have screenshots of the configuration program on the Gambas sourceforge web site. I will try to make a package of all this thing and put it on GitHub, so I learn to use git with Gambas program (It will help me make git support in the IDE) If you are interested by this project, if you have questions, tell me. I have to write documentation about it, as you have to run the web radio server behind a proxy, and serve the web radio client HTML pages trough a HTTP server (which is usually the proxy too). Regards, -- Beno?t Minisini From jussi.lahtinen at ...626... Sun Aug 28 20:37:36 2016 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sun, 28 Aug 2016 21:37:36 +0300 Subject: [Gambas-user] OO design problem? Message-ID: I have class which is meant only to function as parent to other classes. This class have empty properties and methods, which are there only to be over-driven in the children classes. If I remove them I get error that the properties are not declared, and if I remove the properties from the parent I cannot use them when the object is passed as the parent. So, is it be possible to do this without declaring empty _read functions and _write subs? I want to be able to pass the objects like this: Sub DoSomething(hAnyChildrenOfThisClass As ThisClass) x = hAnyChildrenOfThisClass.SomethingElse() ... End Now the "SomethingElse" must be declared in "ThisClass" so that the children can have it and over-drive it with actual content. So, I'm looking a way to write only this: In ThisClass: Property SomethingElse As Interger Instead of all this, which make a lot of unnecessary mess: Property SomethingElse As Interger Private Function SomethingElse_Read() As Integer Return 0 End Private Sub SomethingElse_Write(Value As Integer) End It's very likely that I have missed something and I have some crucial design problem. So all suggestions are welcome! Thanks! Jussi From gambas.fr at ...626... Sun Aug 28 22:20:46 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 28 Aug 2016 22:20:46 +0200 Subject: [Gambas-user] OO design problem? In-Reply-To: References: Message-ID: It's not unnecessary in fact. Imagine if a children not implement the property... then it's the property in the parent that is readed. Another way is to not declare the property in the parent and use an object type to walk the children. Dosometing(hChild as Myclass) dim hObj as Object = hChild try hObj.DoSomethingElse() end I use MyClass type in param to ensure to have a MyClass type passed. Then i use an Object Var that allow a call to unknow symbole and a try for manage the error if the symbol is not implemented. By this way the property can be not implemented in the parent without generating error. I use this to manage ReportControl... For exemple ReportLabel have a Text property that is not implemented in ReportControl. 2016-08-28 20:37 GMT+02:00 Jussi Lahtinen : > I have class which is meant only to function as parent to other classes. > This class have empty properties and methods, which are there only to be > over-driven in the children classes. If I remove them I get error that the > properties are not declared, and if I remove the properties from the parent > I cannot use them when the object is passed as the parent. > > So, is it be possible to do this without declaring empty _read functions > and _write subs? > > I want to be able to pass the objects like this: > > Sub DoSomething(hAnyChildrenOfThisClass As ThisClass) > > x = hAnyChildrenOfThisClass.SomethingElse() > ... > > End > > > Now the "SomethingElse" must be declared in "ThisClass" so that the > children can have it and over-drive it with actual content. > So, I'm looking a way to write only this: > > In ThisClass: > > Property SomethingElse As Interger > > > Instead of all this, which make a lot of unnecessary mess: > > Property SomethingElse As Interger > > > Private Function SomethingElse_Read() As Integer > > Return 0 > > End > > Private Sub SomethingElse_Write(Value As Integer) > > End > > > It's very likely that I have missed something and I have some crucial > design problem. So all suggestions are welcome! > Thanks! > > > Jussi > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From jussi.lahtinen at ...626... Mon Aug 29 00:13:01 2016 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 29 Aug 2016 01:13:01 +0300 Subject: [Gambas-user] OO design problem? In-Reply-To: References: Message-ID: > It's not unnecessary in fact. Imagine if a children not implement the > property... then it's the property in the parent that is readed. > Yes I know, but in my case it is unnecessary. > Another way is to not declare the property in the parent and use an > object type to walk the children. > > > Dosometing(hChild as Myclass) > > dim hObj as Object = hChild > > try hObj.DoSomethingElse() > > end > Thanks for the suggestion. Though, I hope something more elegant... Jussi From bugtracker at ...3416... Mon Aug 29 08:02:02 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 29 Aug 2016 06:02:02 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #983: Indentation: Formatting of a Module goes wrong In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.983&from=L21haW4- Comment #1 by C THAL: If I comment out sql.Begin in the module, it is formatted right. The proper work of the module is never been disturbed, so it is a minor problem. But the indentation should not been influenced by the user's own naming of methods. From chrisml at ...3340... Mon Aug 29 08:19:39 2016 From: chrisml at ...3340... (Christof Thalhofer) Date: Mon, 29 Aug 2016 08:19:39 +0200 Subject: [Gambas-user] OO design problem? In-Reply-To: References: Message-ID: Am 28.08.2016 um 20:37 schrieb Jussi Lahtinen: > It's very likely that I have missed something and I have some crucial > design problem. So all suggestions are welcome! > Thanks! Hm, if I declare properties in a parent class I do this only for the correct work of methods, that depend on the existence of these properties in childs. If a child does not overwrite the property, it has to be fulfilled by the parent, so the property in the parent has to bedeclared with property_read() ... property_write() ... so that methods later work in a correct way. That is a logical consequence of the inheritance of properties. For the mess of writing such a thingy by hand all the time I wrote for me a little tool, the getter-setter-creator, it could be much better as it is (id does only string, integer, float and date), but it works for me. I attach it. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: gshelper-0.0.6.tar.gz Type: application/gzip Size: 13390 bytes Desc: not available URL: From gambas.fr at ...626... Mon Aug 29 09:20:46 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 29 Aug 2016 09:20:46 +0200 Subject: [Gambas-user] OO design problem? In-Reply-To: References: Message-ID: 2016-08-29 8:19 GMT+02:00 Christof Thalhofer : > Am 28.08.2016 um 20:37 schrieb Jussi Lahtinen: > >> It's very likely that I have missed something and I have some crucial >> design problem. So all suggestions are welcome! >> Thanks! > > Hm, if I declare properties in a parent class I do this only for the > correct work of methods, that depend on the existence of these > properties in childs. > > If a child does not overwrite the property, it has to be fulfilled by > the parent, so the property in the parent has to bedeclared with > > property_read() ... > > property_write() ... > > so that methods later work in a correct way. That is a logical > consequence of the inheritance of properties. > > For the mess of writing such a thingy by hand all the time I wrote for > me a little tool, the getter-setter-creator, it could be much better as > it is (id does only string, integer, float and date), but it works for > me. I attach it. In the IDE if you write : Property MyProp As Integer and validate The all the stuff (_Read, _Write) is automagiquely added at the end of the file You just have to validate at the end of the property declaration line.... > > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > ------------------------------------------------------------------------------ > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From bugtracker at ...3416... Mon Aug 29 09:36:06 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 29 Aug 2016 07:36:06 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #983: Indentation: Formatting of a Module goes wrong In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.983&from=L21haW4- Fabien BODARD changed the state of the bug to: Accepted. From bugtracker at ...3416... Mon Aug 29 09:36:27 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 29 Aug 2016 07:36:27 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #983: Indentation: Formatting of a Module goes wrong In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.983&from=L21haW4- Comment #2 by Fabien BODARD: This is a little bit my fault :/ . I've added a way in the indentation function to manage the Paint.Begin / Paint.End, Response.Begin / Response.End and other function of the core components that have this king of structure. I was thinking it will be good to make the reading easier. But this possibility must be set only if the End sub exist.... I will do something. From jussi.lahtinen at ...626... Mon Aug 29 14:55:02 2016 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 29 Aug 2016 15:55:02 +0300 Subject: [Gambas-user] OO design problem? In-Reply-To: References: Message-ID: On Mon, Aug 29, 2016 at 10:20 AM, Fabien Bodard wrote: > In the IDE if you write : > > Property MyProp As Integer and validate > > > The all the stuff (_Read, _Write) is automagiquely added at the end of the > file > > You just have to validate at the end of the property declaration line.... > Yes, the trouble is not to get the empty properties, but the resulting mess of a lot of code, which doesn't do anything. Jussi From bugtracker at ...3416... Mon Aug 29 16:16:59 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 29 Aug 2016 14:16:59 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.984&from=L21haW4- PICCORO LENZ MCKAY reported a new bug. Summary ------- error compiling again 0.9 openssl, only 1.0 compiles Type : Bug Priority : High Gambas version : 3.8.90 (TRUNK) Product : Development Environment Description ----------- i have error compiling, agains openssl 0.X not 1.X CC gb_openssl_la-main.lo CC gb_openssl_la-c_digest.lo c_digest.c: In function ?get_dlist?: c_digest.c:51: warning: implicit declaration of function ?EVP_MD_do_all? c_digest.c: In function ?EVP_MD_CTX_reset?: c_digest.c:174: warning: implicit declaration of function ?EVP_PKEY_CTX_free? c_digest.c:174: error: ?EVP_MD_CTX? has no member named ?pctx? openssl version are 0.9.8o System information ------------------ [System] Gambas=3.8.4 OperatingSystem=Linux Kernel=2.6.32-trunk-686-bigmem Architecture=x86 Distribution=debian 5.1 Desktop=LXDE Theme=Gtk Language=en_US.UTF-8 Memory=4021M [Libraries] Cairo=libcairo.so.2.10800.10 Cairo=libcairo.so.2.10800.8 Cairo=libcairo.so.2.17.5 Cairo=libcairo.so.2.2.4 Cairo=libcairo.so.2.9.2 Curl=libcurl.so.4.1.0 Curl=libcurl.so.4.1.1 DBus=libdbus-1.so.3.4.0 GStreamer=libgstreamer-0.10.so.0.26.0 GTK+2=libgtk-x11-2.0.so.0.2000.1 Poppler=libpoppler.so.3.0.0 Poppler=libpoppler.so.5.0.0 QT4=libQtCore.so.4.6.3 SDL=libSDL-1.2.so.0.11.3 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-Q4Puh0F5Jz,guid=ac84c84ebadbbc39d58fccd357ab69d4 DESKTOP_SESSION=LXDE DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=default GDM_LANG=en_US.UTF-8 GDM_XSERVER_LOCATION=local HOME= LANG=en_US.UTF-8 LOGNAME= OOO_FORCE_DESKTOP=gnome PATH=/usr/local/bin:/usr/bin:/bin:/usr/games PWD= SAL_DISABLE_NATIVE_ALPHA=true SAL_USE_VCLPLUGIN=gtk SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=3026 SSH_AUTH_SOCK=/tmp/ssh-LLdRwV2985/agent.2985 TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=7 XAUTHORITY=/.Xauthority XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXDE XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/usr/share/gdm/:/var/lib/menu-xdg/ XDG_MENU_PREFIX=lxde- _LXSESSION_PID=2985 From bugtracker at ...3416... Mon Aug 29 16:24:17 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 29 Aug 2016 14:24:17 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #976: conditional with simple OR in false, get in, into a if else In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.976&from=L21haW4- Comment #3 by PICCORO LENZ MCKAY: seems that Error.clear must be called explicy, i'll try to search and attach the example proyect if found that, if not i'll close the bug From bugtracker at ...3416... Mon Aug 29 16:43:37 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 29 Aug 2016 14:43:37 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.984&from=L21haW4- Comment #1 by PICCORO LENZ MCKAY: i investigate the error and seems the problem its in the conditional line: #if OPENSSL_VERSION_NUMBER < 0x10100000L i think must be : #if OPENSSL_VERSION_NUMBER > 0x10100000L due in the previous version 3.8.X series the code compiles perfectly, in adition the comment said " * Forward compatibility for openssl 1.1" so the conditional are wrong! From bugtracker at ...3416... Mon Aug 29 17:14:32 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 29 Aug 2016 15:14:32 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #855: [gb.report2] blank report, use more than 90% resource CPU In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.855&from=L21haW4- PICCORO LENZ MCKAY added an attachment: dbreport2-qt4-4.6.3-20160829-110546.jpg.png From bugtracker at ...3416... Mon Aug 29 17:15:43 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 29 Aug 2016 15:15:43 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #855: [gb.report2] blank report, use more than 90% resource CPU In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.855&from=L21haW4- Comment #10 by PICCORO LENZ MCKAY: attached the picture ! no much cpu usage with qt4 4.6.3 and 4.7.4 only 50% with empty data, seems something related to qt4 compilation, on debian squeeze (6 older), or lenny (5 lenny) From bugtracker at ...3416... Mon Aug 29 17:25:46 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 29 Aug 2016 15:25:46 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.984&from=L21haW4- Comment #2 by PICCORO LENZ MCKAY: need also another pacht, i think or it seems in c_digest.c line 24 : #if OPENSSL_VERSION_NUMBER > 0x10100000L #include #include #endif #include From bugtracker at ...3416... Mon Aug 29 18:57:26 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 29 Aug 2016 16:57:26 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.984&from=L21haW4- Comment #3 by Tobias BOEGE: No, reversing the condition will break even more. It's forward compatibility, so it should apply to older versions, don't you think? Also you are using an OpenSSL from 6 years ago and are the only one from whom I heard about a compilation problem, while I suspect other people with halfways recent OpenSSL were able to compile the component. Anyway, in addition to (and correcting) what I said on the mailing list[1], I did some more digging and it seems that the pctx member did not exist in the first place in the 0.9.8 history. I tried to support that branch of OpenSSL, too, in revision #7875. Please test it. Regarding your comment #2: No. These headers definitely existed before OpenSSL 1.1 and you can't just exclude them without any replacement. Let me repeat: *you* are the one with an obscure OpenSSL version, not everyone else. [1] https://sourceforge.net/p/gambas/mailman/message/35292515/ Tobias BOEGE changed the state of the bug to: Working. From bugtracker at ...3416... Mon Aug 29 20:14:43 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 29 Aug 2016 18:14:43 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.984&from=L21haW4- Comment #4 by PICCORO LENZ MCKAY: using lasted change from u'r suggestion: CC gb_openssl_la-main.lo CC gb_openssl_la-c_digest.lo c_digest.c: In function ?get_dlist?: c_digest.c:51: warning: implicit declaration of function ?EVP_MD_do_all? c_digest.c: At top level: c_digest.c:148: error: static declaration of ?EVP_MD_CTX_cleanup? follows non-static declaration /usr/include/openssl/evp.h:546: error: previous declaration of ?EVP_MD_CTX_cleanup? was here c_digest.c: In function ?EVP_MD_CTX_cleanup?: c_digest.c:165: warning: implicit declaration of function ?do_engine_finish? c_digest.c: At top level: c_digest.c:171: error: static declaration of ?EVP_MD_CTX_init? follows non-static declaration PICCORO LENZ MCKAY changed the state of the bug to: Opened. From bugtracker at ...3416... Mon Aug 29 20:42:58 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 29 Aug 2016 18:42:58 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.984&from=L21haW4- Comment #5 by Tobias BOEGE: >c_digest.c:51: warning: implicit declaration of function ?EVP_MD_do_all? Apparently EVP_MD_do_all() was added in the OpenSSL 1.0.0 branch. That makes everything below 1.0.0 completely incompatible with the way gb.openssl works. Are you really sure that you compiled, linked and used (!) gb.openssl successfully before with an unpatched OpenSSL 0.9.8o? Because I don't see how it could have been possible. From bugtracker at ...3416... Mon Aug 29 20:56:20 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 29 Aug 2016 18:56:20 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.984&from=L21haW4- Comment #6 by PICCORO LENZ MCKAY: the 3.8.4 gambas release compiles with debian lenny and debian squeeze, using backported openssl 0.9.8o version from squeeze-lts (long time support) the openssl are bug-free until last march of current year From bugtracker at ...3416... Mon Aug 29 21:22:27 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 29 Aug 2016 19:22:27 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #985: ide offers GTK3 when module are not installed or compiled Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.985&from=L21haW4- PICCORO LENZ MCKAY reported a new bug. Summary ------- ide offers GTK3 when module are not installed or compiled Type : Request Priority : Low Gambas version : 3.8.90 (TRUNK) Product : Development Environment Description ----------- i backported gambas to older linux, when gtk3 are not able but event if the module are not compiled, the ide offers to swicht to gtk3 in: 1) debug->GUI component 2) new project dialog-> new gtk3 gui i think in other cases are happening, for media or jit, etc, maybe must have some contidionals System information ------------------ [System] Gambas=3.8.4 OperatingSystem=Linux Kernel=2.6.32-trunk-686-bigmem Architecture=x86 Distribution=debian 5.1 Desktop=LXDE Theme=Gtk Language=en_US.UTF-8 Memory=4021M [Libraries] Cairo=libcairo.so.2.10800.10 Cairo=libcairo.so.2.10800.8 Cairo=libcairo.so.2.17.5 Cairo=libcairo.so.2.2.4 Cairo=libcairo.so.2.9.2 Curl=libcurl.so.4.1.0 Curl=libcurl.so.4.1.1 DBus=libdbus-1.so.3.4.0 GStreamer=libgstreamer-0.10.so.0.26.0 GTK+2=libgtk-x11-2.0.so.0.2000.1 Poppler=libpoppler.so.3.0.0 Poppler=libpoppler.so.5.0.0 QT4=libQtCore.so.4.6.3 SDL=libSDL-1.2.so.0.11.3 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-Q4Puh0F5Jz,guid=ac84c84ebadbbc39d58fccd357ab69d4 DESKTOP_SESSION=LXDE DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=default GDM_LANG=en_US.UTF-8 GDM_XSERVER_LOCATION=local HOME= LANG=en_US.UTF-8 LOGNAME= OOO_FORCE_DESKTOP=gnome PATH=/usr/local/bin:/usr/bin:/bin:/usr/games PWD= SAL_DISABLE_NATIVE_ALPHA=true SAL_USE_VCLPLUGIN=gtk SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=3026 SSH_AUTH_SOCK=/tmp/ssh-LLdRwV2985/agent.2985 TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=7 XAUTHORITY=/.Xauthority XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXDE XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/usr/share/gdm/:/var/lib/menu-xdg/ XDG_MENU_PREFIX=lxde- _LXSESSION_PID=2985 From bugtracker at ...3416... Mon Aug 29 21:24:27 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 29 Aug 2016 19:24:27 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #985: ide offers GTK3 when module are not installed or compiled In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.985&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Mon Aug 29 21:37:03 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 29 Aug 2016 19:37:03 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #986: tolls - open terminal does nothign if no terminal are common Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.986&from=L21haW4- PICCORO LENZ MCKAY reported a new bug. Summary ------- tolls - open terminal does nothign if no terminal are common Type : Request Priority : Low Gambas version : 3.8 Product : Development Environment Description ----------- in IDE i try to lauch open a terminal does nothig.. nothe that in preferences only offers some terminals There's a way to determinate a standar way, such in debian we have x-terminal-emulator if none of the hadrcoded terminal options are ionstalled or available.. but, i have xterm and try launch and does notingh From bugtracker at ...3416... Mon Aug 29 21:40:34 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 29 Aug 2016 19:40:34 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #986: tolls - open terminal does nothign if no terminal are common In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.986&from=L21haW4- Comment #1 by Beno?t MINISINI: The terminal used depends on your desktop. If the terminal of your desktop is not found, or if your desktop is not supported, then 'xterm' is launched. So if you have xterm installed, it should be used... From bugtracker at ...3416... Mon Aug 29 21:41:34 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 29 Aug 2016 19:41:34 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #986: tolls - open terminal does nothign if no terminal are common In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.986&from=L21haW4- Comment #2 by Beno?t MINISINI: Moreover, if xterm is not found, you get an error message. You can't get nothing. Or maybe you don't use the latest version? From bugtracker at ...3416... Mon Aug 29 22:00:56 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 29 Aug 2016 20:00:56 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #986: tolls - open terminal does nothign if no terminal are common In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.986&from=L21haW4- Comment #3 by PICCORO LENZ MCKAY: now that i thingking u have right, if such "x" terminal are not found raised an error message... i used lasted development trunk, but i set 3.8 due in 3.8 are happened too, when i try to lauch the terminal nothing happened! i pasted system information now that in first i not passed From bugtracker at ...3416... Mon Aug 29 22:05:45 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 29 Aug 2016 20:05:45 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #986: tolls - open terminal does nothign if no terminal are common In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.986&from=L21haW4- Comment #4 by Beno?t MINISINI: With Gambas 3.8.4, it fails silently. The Desktop.OpenTerminal() has been rewritten in Gambas 3.9, so I mark the bug as fixed until you tell me it does not work either. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Mon Aug 29 22:16:13 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 29 Aug 2016 20:16:13 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #986: tolls - open terminal does nothign if no terminal are common In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.986&from=L21haW4- Comment #5 by PICCORO LENZ MCKAY: as i pasted in the system information dialog, the bug its still present! does not work either! unless the other two bugs reported i glad to thanks this new release 3.9 are great! still compiles in older 10 years old debian lenny/squeeze and works! From bugtracker at ...3416... Mon Aug 29 22:16:22 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 29 Aug 2016 20:16:22 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #986: tolls - open terminal does nothign if no terminal are common In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.986&from=L21haW4- PICCORO LENZ MCKAY changed the state of the bug to: Opened. From bugtracker at ...3416... Mon Aug 29 22:19:28 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 29 Aug 2016 20:19:28 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #986: tolls - open terminal does nothign if no terminal are common In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.986&from=L21haW4- Comment #6 by Beno?t MINISINI: You paste "Gambas 3.8.4", so how can you tell that the bug is present with "Gambas 3.9.0"? From bugtracker at ...3416... Mon Aug 29 22:30:51 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 29 Aug 2016 20:30:51 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #986: tolls - open terminal does nothign if no terminal are common In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.986&from=L21haW4- Comment #7 by PICCORO LENZ MCKAY: the compiled version are from trunk, oh we discovered a other bug! if i upgraded gambas from 3.8.4 to 3.9.99 from trunk the about and sistem information reports 3.8.4 see picture From bugtracker at ...3416... Mon Aug 29 22:34:22 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 29 Aug 2016 20:34:22 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #986: tolls - open terminal does nothign if no terminal are common In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.986&from=L21haW4- Comment #8 by PICCORO LENZ MCKAY: my faul now its raised.. i upgraded but not closed the ide for 2 weeks, not restart ide and said 3.9.99 and raised error.. thanks, so its not bug as i posted initially, its a request to include "x-terminal-emulator" as a optional terminal From bugtracker at ...3416... Mon Aug 29 22:39:11 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 29 Aug 2016 20:39:11 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #855: [gb.report2] blank report, use more than 90% resource CPU In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.855&from=L21haW4- Comment #11 by PICCORO LENZ MCKAY: using lasted from trunk with specific desktop and only 2 cores of cpu: with GTK2: 2.20 no cpu usage.. using debian lenny 10 years old and fill data of report with 125000 strings with QT4: 4.6.3 only 25% usage.. using debian squeeze 6 years old and fill data of report with 125000 strings in debian jessie with qt5 got 50/60% usage with 4 cores of cpu From bugtracker at ...3416... Mon Aug 29 22:36:30 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 29 Aug 2016 20:36:30 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.984&from=L21haW4- Comment #7 by Tobias BOEGE: >the 3.8.4 gambas release compiles with debian lenny and debian squeeze It may compile, but did it link and run properly, that is to ask: do you remember to have ever started a gb.openssl project in that environment? Because if the function EVP_MD_do_all() is missing from your OpenSSL, you may have gotten a warning from the compiler, but the component would still be compiled and installed. An error would only happen when you start a gb.openssl project and the dynamic linker is invoked. >backported Yes, and it apparently comes with a ton of patches, but none of these patches adds EVP_MD_do_all() (provided I applied them correctly, according to the "series" file in the Debian package). So I'm still clueless about that. >until last march of current year Yes, from what I gathered, that is when even the LTS period for squeeze-lts ended. To be frank, I'm not so eager to shovel through old OpenSSL code and Debian patches anymore just to make gb.openssl compile on some old Debian that is past its expiration date. I will just set a minimum requirement of OpenSSL >= 1.0.0 for gb.openssl in the next revision. That way you would not get a compilation error on your system, but another incompatible component. However, *if* gb.openssl worked well for you in 3.8.4 you can patch Gambas on your own (as I believe you already do anyway). You just take the source files from the 3.8.4 version of gb.openssl [1] and revert the commit that sets the minimum OpenSSL version to 1.0.0. That should restore the state to what probably worked for you. If you believe you have found a way to make gb.openssl run (not only compile) on your system without breaking anything else, you can send it to the mailing list. I don't know how many distributions out there still use OpenSSL < 1.0.0, but if someone else is troubled by my decision, feel free to open a report. As per [2] the version 1.0.0 seems to be the first to include EVP_MD_do_all(), which, as I said, is crucial to the gb.openssl interface. [1] https://sourceforge.net/p/gambas/code/HEAD/tree/gambas/tags/3.8.4/gb.openssl/src/ [2] https://www.openssl.org/news/changelog.html#x32 Tobias BOEGE changed the state of the bug to: Rejected. From bugtracker at ...3416... Mon Aug 29 22:49:07 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 29 Aug 2016 20:49:07 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.984&from=L21haW4- Comment #8 by PICCORO LENZ MCKAY: yeah the EVP_MD_do_all are not filled, and ... the patch i send will crash if a openssl proyect will run.. this due the EVP_MD_CTX_free(ctx) call u added at last in the digest.. why limit the compilation of the gambas for the people that are using? analising the code the module works, only we must to change the free context call and that's all why u does not want to support the older openssl, not all the linux environment support lasted packages.. some sure still use openssl older revisions, maybe redhat 6 or centos 5 so u must help to made available to compile, i try to post some help From bugtracker at ...3416... Mon Aug 29 22:51:02 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 29 Aug 2016 20:51:02 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.984&from=L21haW4- PICCORO LENZ MCKAY changed the state of the bug to: Opened. From bugtracker at ...3416... Mon Aug 29 22:54:38 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 29 Aug 2016 20:54:38 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.984&from=L21haW4- Comment #9 by PICCORO LENZ MCKAY: maybe with static inline, this makle it only works in context? From bugtracker at ...3416... Mon Aug 29 22:58:40 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 29 Aug 2016 20:58:40 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.984&from=L21haW4- Comment #10 by PICCORO LENZ MCKAY: maybe with static inline, this makle it only works in context? From bugtracker at ...3416... Mon Aug 29 23:05:32 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 29 Aug 2016 21:05:32 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.984&from=L21haW4- Comment #11 by Tobias BOEGE: >why limit the compilation of the gambas for the people that are using? If you can show me that you *were* using gb.openssl on your system, which means the 3.8.4 version compiled, installed and actually *ran a project*, then we can reopen this report. >only we must to change the free context call and that's all Well, if it's that simple (it might very well be), then just write a patch, verify that it makes gb.openssl projects run and send it to me for review. >maybe with static inline, this makle it only works in context? I don't know what you're referring to and I don't think this is an issue with static inline. If you want to have this issue solved, take your time to work out a solution, a real solution in the form of a patch, on your specific system, instead of yelling C keywords and having me check your vague suspicions. From bugtracker at ...3416... Mon Aug 29 23:45:47 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 29 Aug 2016 21:45:47 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.984&from=L21haW4- Comment #12 by PICCORO LENZ MCKAY: the code does not compile event with 1.0 due the call u are using are static, and in the header of some openssl versions are non static in headers.. my suggestions are usi9ng "inline" event "static" this make the changes able event if already declared in header of openssl.. i used a gamba project older that decryp a hash, and with static (in the cases that compiles) break with "undefined symbol" in all the EVP_MD_CTX_xxxx funtions redeclared.. with inline declarations this works perfectly! change "static" with "inline" if u dessire i can pass a older gambas project from mail list that used crypto and openssl (both) and seems works.. From bugtracker at ...3416... Tue Aug 30 00:39:47 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 29 Aug 2016 22:39:47 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.984&from=L21haW4- Comment #13 by Tobias BOEGE: Checklist: o Did you use the code from the very latest Gambas revision, #7876? Be sure to completely uninstall Gambas beforehand. o Are you sure you are linking to the correct OpenSSL, i.e. did you re-./configure gb.openssl and does it use your OpenSSL 1.0? What version exactly? Are there distro-specific patches again? o What error message do you receive from the vanilla repository code exactly? o If your changes fix that, post the patch in here. "Fix", as always, means that you can run a gb.openssl project. I will attach one for you. In general, the #if block should not be entered in the first place if the functions I defined in there are present in the openssl headers, so inlining them is fixing the symptom, not the cause. I just grep'd through the OpenSSL 1.0.0 and 1.0.0t sources and the functions EVP_MD_CTX_new, EVP_MD_CTX_free, EVP_MD_CTX_reset, OPENSSL_zalloc and OPENSSL_clear_free are not found anywhere, so I don't understand where the name clash could come from. For reference, the OpenSSL manpages [1] state that these functions were added in OpenSSL 1.1, which is just the version we try to be forward-compatible with by defining these functions for any environment which is pre-1.1. >decryp a hash You probably misspelled something here. Otherwise I won't believe you. [1] https://www.openssl.org/docs/manmaster/crypto/EVP_DigestInit.html, see History From bugtracker at ...3416... Tue Aug 30 00:44:01 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 29 Aug 2016 22:44:01 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.984&from=L21haW4- Tobias BOEGE added an attachment: test_openssl-0.0.2.tar.gz From bugtracker at ...3416... Tue Aug 30 00:44:47 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 29 Aug 2016 22:44:47 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.984&from=L21haW4- Comment #14 by Tobias BOEGE: >i.e. did you re-./configure gb.openssl I forgot to mention, after you checked out #7876, you should ./reconf and ./configure gb.openssl, because I changed the configure.ac. From bugtracker at ...3416... Tue Aug 30 04:47:41 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 02:47:41 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #987: gb.dbus insert application process id to bus and interface name. Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.987&from=L21haW4- nemuru TAKEDA reported a new bug. Summary ------- gb.dbus insert application process id to bus and interface name. Type : Bug Priority : High Gambas version : 3.8.90 (TRUNK) Product : Ubuntu packages Description ----------- for example, if "some-application" register "foobar" class to sesson bus, and run at process id "9999", bus name and interface name should be bus name: org.gambas.some-application-9999 interface name : org.gambas.some.application.9999.foobar it's trouble for me, because gb.dbus creates unexpected and random names always... System information ------------------ [System] Gambas=3.9 OperatingSystem=Linux Kernel=4.4.0-36-generic Architecture=x86 Distribution=Ubuntu 16.04.1 LTS Desktop= Theme=Gtk Language=ja_JP.UTF-8 Memory=935M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-1.0.so.0.802.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CLUTTER_IM_MODULE=xim DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-AdqeYL5EZc,guid=ecbea02d710ba9d2b0111c7a57c4e50f DEFAULTS_PATH=/usr/share/gconf/openbox.default.path DESKTOP_SESSION=openbox DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=openbox GDM_LANG=ja_JP GPG_AGENT_INFO=/.gnupg/S.gpg-agent:0:1 GTK_IM_MODULE=fcitx HOME= LANG=ja_JP.UTF-8 LANGUAGE=ja_JP.UTF-8 LC_ALL=ja_JP.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/openbox.mandatory.path PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT4_IM_MODULE=fcitx QT_IM_MODULE=fcitx QT_STYLE_OVERRIDE=GTK+ SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=2482 SSH_AUTH_SOCK=/tmp/ssh-xbLP3FRBgEDt/agent.2259 TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-openbox:/etc/xdg XDG_DATA_DIRS=/usr/share/openbox:/usr/local/share/:/usr/share/ XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=openbox XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 XMODIFIERS=@...3498...=fcitx From chrisml at ...3340... Tue Aug 30 07:47:58 2016 From: chrisml at ...3340... (Christof Thalhofer) Date: Tue, 30 Aug 2016 07:47:58 +0200 Subject: [Gambas-user] Release of Gambas 3.9 - New gb.web.form component In-Reply-To: References: Message-ID: <3d9eeccc-fbef-4881-1e39-adecd56f3e6f@...3340...> Hello Beno?t, Am 28.08.2016 um 13:32 schrieb Beno?t Minisini: > I will try to make a package of all this thing and put it on GitHub, so > I learn to use git with Gambas program (It will help me make git support > in the IDE) I do the versioning of my Gambas projects with Git for about two years now. If you have any questions, feel free to ask me. 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... Tue Aug 30 12:18:47 2016 From: chrisml at ...3340... (Christof Thalhofer) Date: Tue, 30 Aug 2016 12:18:47 +0200 Subject: [Gambas-user] OO design problem? In-Reply-To: References: Message-ID: Am 29.08.2016 um 09:20 schrieb Fabien Bodard: > In the IDE if you write : > > Property MyProp As Integer and validate > > > The all the stuff (_Read, _Write) is automagiquely added at the end of the file > > You just have to validate at the end of the property declaration line.... Yes, but in my case I also need corresponding private Variables, which hold the data. Therefore I wrote the GS-creator for me as a simple tool because I have to create a lot of classes which represent rows of database tables as models for my own Gambas ORM. Even with the help of the Gambas IDE that job would cause a lot of pain in my hands ... ;-) Alles Gute Christof Thalhofer -- Dies ist keine Signatur From ron at ...1740... Tue Aug 30 13:54:05 2016 From: ron at ...1740... (Ron) Date: Tue, 30 Aug 2016 13:54:05 +0200 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #979: gtk_text_buffer_get_insert () signal 11 In-Reply-To: <57bb4cd0.81b01c0a.9350e.1482SMTPIN_ADDED_BROKEN@...2392...> References: <57bb4cd0.81b01c0a.9350e.1482SMTPIN_ADDED_BROKEN@...2392...> Message-ID: I just downloaded and compiled release code, and still have this issue with supplied example project. Can I just update ticked (status is fixed now)? 2016-08-22 21:03 GMT+02:00 : > http://gambaswiki.org/bugtracker/edit?object=BUG.979&from=L21haW4- > > Comment #1 by Beno?t MINISINI: > > Fixed in revision #7861. > > Beno?t MINISINI changed the state of the bug to: Fixed. > > From gambas at ...1... Tue Aug 30 14:02:43 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 30 Aug 2016 14:02:43 +0200 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #979: gtk_text_buffer_get_insert () signal 11 In-Reply-To: References: <57bb4cd0.81b01c0a.9350e.1482SMTPIN_ADDED_BROKEN@...2392...> Message-ID: <0d770ace-c62f-efe2-e7bb-b205253d859c@...1...> Le 30/08/2016 ? 13:54, Ron a ?crit : > I just downloaded and compiled release code, and still have this issue > with supplied example project. > Can I just update ticked (status is fixed now)? > It works there. Please check that you compiled everything correctly. Then, if you still have a crash, please check that this is the same error. If not, create a new issue. Otherwise, we will reuse the same one. Regards, -- Beno?t Minisini From bugtracker at ...3416... Tue Aug 30 14:43:02 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 12:43:02 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #979: gtk_text_buffer_get_insert () signal 11 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.979&from=L21haW4- Comment #2 by Ron KLINKIEN: Compiled latest code, but still has the issue, when running program, click 4-5 times on test and click on X to close. Cannot add attachments on ticket in fixed state, but have screenshot of Ubuntu report as well.. ron at ...3608...:~/Desktop/GambasDebugs/BugHttpGet$ gbc3 -agmpt OK ron at ...3608...:~/Desktop/GambasDebugs/BugHttpGet$ gbx3 gbx3 ERROR: #45: File or directory does not exist ron at ...3608...:~/Desktop/GambasDebugs/BugHttpGet$ gdb gbx3 GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1 Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from gbx3...done. (gdb) run Starting program: /usr/bin/gbx3 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffe4b6b700 (LWP 6535)] [New Thread 0x7fffdffff700 (LWP 6536)] [New Thread 0x7fffdf7fe700 (LWP 6537)] [New Thread 0x7fffde0e7700 (LWP 6538)] [New Thread 0x7fffdd8e6700 (LWP 6539)] [Thread 0x7fffdd8e6700 (LWP 6539) exited] [New Thread 0x7fffdd8e6700 (LWP 6541)] [Thread 0x7fffdd8e6700 (LWP 6541) exited] Thread 1 "gbx3" received signal SIGSEGV, Segmentation fault. 0x00007ffff5897946 in gtk_text_buffer_get_insert () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 (gdb) bt #0 0x00007ffff5897946 in gtk_text_buffer_get_insert () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #1 0x00007ffff5f95009 in gTextArea::getIterAt (this=0x97c800, pos=-1) at gtextarea.cpp:563 #2 0x00007ffff5f9575d in gTextArea::getIterAt (pos=-1, this=) at gtextarea.cpp:624 #3 gTextArea::position (this=) at gtextarea.cpp:625 #4 0x00007ffff5f96648 in gTextArea::emitCursor (this=0x97c800) at gtextarea.cpp:1057 #5 0x00007ffff4848fa5 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #6 0x00007ffff485b264 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #7 0x00007ffff4863d5c in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #8 0x00007ffff486408f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #9 0x00007ffff589614d in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #10 0x00007ffff58969b0 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #11 0x00007ffff58ba734 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 ---Type to continue, or q to quit--- #12 0x00007ffff4848fa5 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #13 0x00007ffff485afc1 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #14 0x00007ffff4863d5c in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #15 0x00007ffff486408f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #16 0x00007ffff57492ba in gtk_adjustment_value_changed () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #17 0x00007ffff58c13ee in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #18 0x00007ffff4848fa5 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #19 0x00007ffff485afc1 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #20 0x00007ffff4863d5c in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #21 0x00007ffff486408f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #22 0x00007ffff58bad9d in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #23 0x00007ffff58ba4c5 in ?? () ---Type to continue, or q to quit--- from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #24 0x00007ffff4848fa5 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #25 0x00007ffff485b56e in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #26 0x00007ffff4863d5c in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #27 0x00007ffff486408f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #28 0x00007ffff5919874 in gtk_widget_set_scroll_adjustments () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #29 0x00007ffff5861a4c in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #30 0x00007ffff4848fa5 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #31 0x00007ffff485aafc in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #32 0x00007ffff4863d5c in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #33 0x00007ffff486408f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #34 0x00007ffff59204d5 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 ---Type to continue, or q to quit--- #35 0x00007ffff484f748 in g_object_run_dispose () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #36 0x00007ffff586197e in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #37 0x00007ffff5787d0f in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #38 0x00007ffff4848eff in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #39 0x00007ffff485b4de in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #40 0x00007ffff4863d5c in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #41 0x00007ffff486408f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #42 0x00007ffff5827dc0 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #43 0x00007ffff484f748 in g_object_run_dispose () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #44 0x00007ffff5787d0f in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #45 0x00007ffff4848eff in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #46 0x00007ffff485b4de in ?? () ---Type to continue, or q to quit--- from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #47 0x00007ffff4863d5c in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #48 0x00007ffff486408f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #49 0x00007ffff5827dc0 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #50 0x00007ffff484f748 in g_object_run_dispose () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #51 0x00007ffff57c0018 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #52 0x00007ffff5787d0f in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #53 0x00007ffff4848eff in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #54 0x00007ffff485b4de in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #55 0x00007ffff4863d5c in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #56 0x00007ffff486408f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #57 0x00007ffff5827dc0 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 ---Type to continue, or q to quit--- #58 0x00007ffff484f748 in g_object_run_dispose () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #59 0x00007ffff5787d0f in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #60 0x00007ffff4848fa5 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #61 0x00007ffff485b4de in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #62 0x00007ffff4863d5c in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #63 0x00007ffff486408f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #64 0x00007ffff5827dc0 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #65 0x00007ffff484f748 in g_object_run_dispose () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #66 0x00007ffff5f8b42a in gControl::cleanRemovedControls () at gcontrol.cpp:262 #67 0x00007ffff5fae7f3 in MAIN_do_iteration ( do_not_block=do_not_block at ...2861...=false, do_not_sleep=do_not_sleep at ...2861...=false) at main.cpp:589 #68 0x00007ffff5fae846 in my_loop () at main.cpp:493 #69 0x0000000000404ba3 in main (argc=1, argv=0x7fffffffde38) at gbx.c:434 Ron KLINKIEN changed the state of the bug to: Opened. From bugtracker at ...3416... Tue Aug 30 14:43:18 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 12:43:18 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #979: gtk_text_buffer_get_insert () signal 11 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.979&from=L21haW4- Ron KLINKIEN added an attachment: Screenshot from 2016-08-30 14-36-45.png From bugtracker at ...3416... Tue Aug 30 14:43:40 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 12:43:40 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #979: gtk_text_buffer_get_insert () signal 11 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.979&from=L21haW4- Ron KLINKIEN added an attachment: BugHttpGet-0.0.3.tar.gz From bugtracker at ...3416... Tue Aug 30 14:54:58 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 12:54:58 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #979: gtk_text_buffer_get_insert () signal 11 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.979&from=L21haW4- Comment #3 by Ron KLINKIEN: Another run with compiler opt disabled, but doesn't show mush more; (gdb) run Starting program: /usr/bin/gbx3 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffe4b3d700 (LWP 17172)] [New Thread 0x7fffdffff700 (LWP 17173)] [New Thread 0x7fffdf7fe700 (LWP 17174)] [New Thread 0x7fffde0e7700 (LWP 17175)] [New Thread 0x7fffdd8e6700 (LWP 17176)] [Thread 0x7fffde0e7700 (LWP 17175) exited] [New Thread 0x7fffde0e7700 (LWP 17179)] [Thread 0x7fffde0e7700 (LWP 17179) exited] Thread 1 "gbx3" received signal SIGSEGV, Segmentation fault. 0x00007ffff5874946 in gtk_text_buffer_get_insert () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 (gdb) bt #0 0x00007ffff5874946 in gtk_text_buffer_get_insert () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 Backtrace stopped: Cannot access memory at address 0x7fffffffabd8 From bugtracker at ...3416... Tue Aug 30 14:56:04 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 12:56:04 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #979: gtk_text_buffer_get_insert () signal 11 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.979&from=L21haW4- Comment #4 by Ron KLINKIEN: This one does; (gdb) run Starting program: /usr/bin/gbx3 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffe4b3d700 (LWP 17200)] [New Thread 0x7fffdffff700 (LWP 17201)] [New Thread 0x7fffdf7fe700 (LWP 17202)] [New Thread 0x7fffde0e7700 (LWP 17203)] [New Thread 0x7fffdd8e6700 (LWP 17204)] [Thread 0x7fffde0e7700 (LWP 17203) exited] [New Thread 0x7fffde0e7700 (LWP 17205)] [Thread 0x7fffde0e7700 (LWP 17205) exited] Thread 1 "gbx3" received signal SIGSEGV, Segmentation fault. 0x00000000004296ec in GB_Raise (object=0x9c85a0, event_id=18, nparam=0) at gbx_api.c:964 964 if (!OBJECT_is_valid(object) || !OBJECT_has_events(object)) (gdb) bt #0 0x00000000004296ec in GB_Raise (object=0x9c85a0, event_id=18, nparam=0) at gbx_api.c:964 #1 0x00007ffff5fa0e44 in cb_cursor (sender=0x9a8690) at CTextArea.cpp:49 #2 0x00007ffff5f71242 in gControl::emit (this=0x9a8690, signal=0x7ffff5fa0df4 ) at gcontrol.cpp:2105 #3 0x00007ffff5f80eb9 in gTextArea::emitCursor (this=0x9a8690) at gtextarea.cpp:1063 #4 0x00007ffff5f7eff3 in cb_mark_set (buf=0x9b0d70, location=0xa43ed0, mark=0x7fffd00015a0, data=0x9a8690) at gtextarea.cpp:319 #5 0x00007ffff4825fa5 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #6 0x00007ffff4838264 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #7 0x00007ffff4840d5c in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #8 0x00007ffff484108f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #9 0x00007ffff587314d in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #10 0x00007ffff58739b0 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #11 0x00007ffff5897734 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 ---Type to continue, or q to quit--- #12 0x00007ffff4825fa5 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #13 0x00007ffff4837fc1 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #14 0x00007ffff4840d5c in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #15 0x00007ffff484108f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #16 0x00007ffff57262ba in gtk_adjustment_value_changed () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #17 0x00007ffff589e3ee in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #18 0x00007ffff4825fa5 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #19 0x00007ffff4837fc1 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #20 0x00007ffff4840d5c in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #21 0x00007ffff484108f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #22 0x00007ffff5897d9d in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #23 0x00007ffff58974c5 in ?? () ---Type to continue, or q to quit--- from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #24 0x00007ffff4825fa5 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #25 0x00007ffff483856e in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #26 0x00007ffff4840d5c in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #27 0x00007ffff484108f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #28 0x00007ffff58f6874 in gtk_widget_set_scroll_adjustments () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #29 0x00007ffff583ea4c in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #30 0x00007ffff4825fa5 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #31 0x00007ffff4837afc in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #32 0x00007ffff4840d5c in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #33 0x00007ffff484108f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #34 0x00007ffff58fd4d5 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 ---Type to continue, or q to quit--- #35 0x00007ffff482c748 in g_object_run_dispose () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #36 0x00007ffff583e97e in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #37 0x00007ffff5764d0f in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #38 0x00007ffff4825eff in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #39 0x00007ffff48384de in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #40 0x00007ffff4840d5c in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #41 0x00007ffff484108f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #42 0x00007ffff5804dc0 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #43 0x00007ffff482c748 in g_object_run_dispose () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #44 0x00007ffff5764d0f in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #45 0x00007ffff4825eff in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #46 0x00007ffff48384de in ?? () ---Type to continue, or q to quit--- from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #47 0x00007ffff4840d5c in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #48 0x00007ffff484108f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #49 0x00007ffff5804dc0 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #50 0x00007ffff482c748 in g_object_run_dispose () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #51 0x00007ffff579d018 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #52 0x00007ffff5764d0f in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #53 0x00007ffff4825eff in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #54 0x00007ffff48384de in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #55 0x00007ffff4840d5c in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #56 0x00007ffff484108f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #57 0x00007ffff5804dc0 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 ---Type to continue, or q to quit--- #58 0x00007ffff482c748 in g_object_run_dispose () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #59 0x00007ffff5764d0f in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #60 0x00007ffff4825fa5 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #61 0x00007ffff48384de in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #62 0x00007ffff4840d5c in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #63 0x00007ffff484108f in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #64 0x00007ffff5804dc0 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 #65 0x00007ffff482c748 in g_object_run_dispose () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 #66 0x00007ffff5f6d134 in gControl::cleanRemovedControls () at gcontrol.cpp:262 #67 0x00007ffff5fa8e7f in MAIN_do_iteration (do_not_block=false, do_not_sleep=false) at main.cpp:589 #68 0x00007ffff5fa8b7f in my_loop () at main.cpp:493 #69 0x0000000000404901 in main (argc=1, argv=0x7fffffffde38) at gbx.c:434 From bugtracker at ...3416... Tue Aug 30 15:32:16 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 13:32:16 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.984&from=L21haW4- Comment #15 by PICCORO LENZ MCKAY: yeah tobias, i reconfigure, and recompile, clean unistall and reinstall clean, i have many environments, i have enought machines in my job, using variety of debian releases, the only i not have are wheeze, but we are using lenny, squeeze and jeesie about, the found or not found, in some cases i recompile openssl from scrat, and the funtions are not here, and in the debian versions the funtions are present in both versions, 0.9.8, 1.0.0 and 1.1.X.. the problems its that in the headers some are already declared such EVP_MD_CTX_cleanup, but the firm are: int EVP_MD_CTX_cleanup(... and in u'r file u redeclare as : static int EVP_MD_CTX_cleanup(... that breaks the C compiler due redeclaration static.. this are happened in openssl 1.0.0 and 0.9.8 and a better solution its change static by inline that makes the code only valid for the gambas module, without interfering with the openssl library i'm not expert in C but we cannot redeclare a normal function as static, but inline are possible and does not change the funtionallity due the process of the funtion are not globally access from outside.. i used in fact the project attached by u and works perfectly! All hashed or ciphered data is base64 encoded Checking digest sha256... Output is: ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0= Should read: ungWv48Bz+pBQUDeXa4iI7ADYaOWF3qctBD/YfIAFa0= --- Checking cipher (salted) aes256... Output is: U2FsdGVkX18BI0VniavN7464hGnXjHmRYfG6I2X1nJA= Should read: U2FsdGVkX18BI0VniavN7464hGnXjHmRYfG6I2X1nJA= abcrypted: abc Should read: abc --- Checking cipher blowfish... Output is: QNVH2mCCLE0= Should read: QNVH2mCCLE0= Decrypted: abc Should read: abc --- Checking HMAC... Output is: T9CyFSdu8S8rPkyOysKBFJi2Vvw= Should read: 0v6YBj+HawMZOvtJtJeVkQ== --- Done. From bugtracker at ...3416... Tue Aug 30 15:37:24 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 13:37:24 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.984&from=L21haW4- Comment #16 by PICCORO LENZ MCKAY: i forgot the patch: --- c_digest.c.old +++ c_digest.c @@ -145,7 +145,7 @@ * there. */ #if OPENSSL_VERSION_NUMBER <= 0x0090821fL -static int EVP_MD_CTX_cleanup(EVP_MD_CTX *ctx) +inline int EVP_MD_CTX_cleanup(EVP_MD_CTX *ctx) { /* Don't assume ctx->md_data was cleaned in EVP_Digest_Final, * because sometimes only copies of the context are ever finalised. @@ -168,12 +168,12 @@ return 1; } -static void EVP_MD_CTX_init(EVP_MD_CTX *ctx) +inline void EVP_MD_CTX_init(EVP_MD_CTX *ctx) { memset(ctx, '\0', sizeof *ctx); } -static EVP_MD_CTX *EVP_MD_CTX_new(void) +inline EVP_MD_CTX *EVP_MD_CTX_new(void) { EVP_MD_CTX *ctx = OPENSSL_malloc(sizeof *ctx); @@ -182,7 +182,7 @@ return ctx; } -static void EVP_MD_CTX_free(EVP_MD_CTX *ctx) +inline void EVP_MD_CTX_free(EVP_MD_CTX *ctx) { EVP_MD_CTX_cleanup(ctx); OPENSSL_free(ctx); From bugtracker at ...3416... Tue Aug 30 15:43:19 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 13:43:19 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.984&from=L21haW4- Comment #17 by Tyrone LUCERO: hi, i interesting in this, noted in the results that posted that hmac got wrong: --- Checking HMAC... Output is: T9CyFSdu8S8rPkyOysKBFJi2Vvw= Should read: 0v6YBj+HawMZOvtJtJeVkQ== --- the command was verified: echo -n abc | openssl dgst -hmac key -binary | base64 but this patch, solves the problem, the hmac seems are not related, @PICCORO, and @Tobias, the code must be revised, the patch are valid but the module seems still not are complety stable? From bugtracker at ...3416... Tue Aug 30 15:49:39 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 13:49:39 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #988: gb.form.terminal compilation cores when running on Raspberry Pi (3) Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.988&from=L21haW4- Alexander KUIPER reported a new bug. Summary ------- gb.form.terminal compilation cores when running on Raspberry Pi (3) Type : Bug Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : Unknown Description ----------- I tried to compile Gambas 3.9.0 on the Raspberry Pi, with image '2016-05-27-raspbian-jessie-lite' and the gb.form.terminal compilation cores the gbc3 binary. root at ...2889...:/home/pi/gambas3-3.9.0/comp/src/gb.form.terminal# /usr/bin/gbc3 -ag -r /usr Segmentation fault (core dumped) The backtrace when i had a core file: root at ...2889...:/home/pi/gambas3-3.9.0/comp/src/gb.form.terminal# gdb /usr/bin/gbc3 core GNU gdb (Raspbian 7.7.1+dfsg-5) 7.7.1 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "arm-linux-gnueabihf". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/bin/gbc3...done. [New LWP 26209] Core was generated by `/usr/bin/gbc3 -ag -r /usr'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x000213b8 in push_type (type=...) at gbc_trans_expr.c:70 70 _type[_type_level++] = type; (gdb) bt #0 0x000213b8 in push_type (type=...) at gbc_trans_expr.c:70 #1 push_number (index=84) at gbc_trans_expr.c:161 #2 trans_expr_from_tree (tree=0x17185a4, count=308) at gbc_trans_expr.c:521 #3 0x000222ac in TRANS_expression (check_statement=) at gbc_trans_expr.c:784 #4 0x000419ac in TRANS_init_var (decl=decl at ...2861...=0x7eb1e078) at gbc_trans_code.c:638 #5 0x00015b94 in CLASS_add_declaration (class=0x16ffddc, decl=0x7eb1e078, decl at ...2861...=0x7eb1e070) at gbc_class.c:722 #6 0x0001c14c in HEADER_do () at gbc_header.c:1102 #7 0x000119d4 in compile_file (file=) at gbc.c:351 #8 main (argc=8, argv=0x7eb1e4d8) at gbc.c:488 (gdb) quit System information ------------------ Not sure how to get this information from the CLI only. I am running on: Debian Jessie on a Pi Linux raspberrypi 4.4.11-v7+ #888 SMP Mon May 23 20:10:33 BST 2016 armv7l GNU/Linux From bugtracker at ...3416... Tue Aug 30 15:57:04 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 13:57:04 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.984&from=L21haW4- Comment #18 by Tobias BOEGE: I remember vaguely to be surprised too when I switched my openssl version some time ago and the test suddenly failed like above. They probably changed some default in the openssl utility? When I run the line you mentioned (with "dgst" instead of "sha1"), I get this: $ echo -n abc | openssl dgst -hmac key -binary | base64 nBluMtwBdfhvSxy4konWYZ3mvuaZ5MN45oMJ7Zehpqs= But gb.openssl's HMac() function uses SHA1 as the default and should always yield T9CyFSdu8S8rPkyOysKBFJi2Vvw= >but this patch, solves the problem Did you have the same problem? From bugtracker at ...3416... Tue Aug 30 16:31:17 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 14:31:17 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.984&from=L21haW4- Comment #19 by PICCORO LENZ MCKAY: i revised some portions of the code, but as i mention i'm not expert, if hmac related are not related, the patch provided by me solves the problem... now i tested with others gambas version (3.7 and 3.8) and hmac, and Cipher decrypt are complety crashed and does not work, with the patch now works at least everithing except the hmac crypt in debian lenny with openssl 0.9.8m , debian squeeze with openssl 0.9.8o later i'll test in clean debian jessie with openssl 1.0.1k due right now i cannot tested in debian jessie well i not have enought skills to evaluate the hmac problem right now, maybe with some help.. i think the hmac problem its a new bug now! apart from this! From bugtracker at ...3416... Tue Aug 30 16:49:08 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 14:49:08 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #979: gtk_text_buffer_get_insert () signal 11 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.979&from=L21haW4- Comment #5 by PICCORO LENZ MCKAY: hey Ron, Benoit, i tested with both versions of gambas, 3.8 and 3.9 with 3.9 got crash signal 11 confirmed, but in 3.8 not got.. with gambas 3.8.4 works perfect! i noted that if u clicked too fast the button the process will conflict with the current event results.. From mckaygerhard at ...626... Tue Aug 30 16:51:55 2016 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Tue, 30 Aug 2016 10:51:55 -0400 Subject: [Gambas-user] Release of Gambas 3.9 - New gb.web.form component In-Reply-To: <3d9eeccc-fbef-4881-1e39-adecd56f3e6f@...3340...> References: <3d9eeccc-fbef-4881-1e39-adecd56f3e6f@...3340...> Message-ID: in the meantime, u can use the git-svn brigde provided by github/gitlab or by the linux package itselft to made that Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2016-08-30 1:47 GMT-04:00 Christof Thalhofer : > Hello Beno?t, > > Am 28.08.2016 um 13:32 schrieb Beno?t Minisini: > > > I will try to make a package of all this thing and put it on GitHub, so > > I learn to use git with Gambas program (It will help me make git support > > in the IDE) > > I do the versioning of my Gambas projects with Git for about two years > now. If you have any questions, feel free to ask me. > > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > ------------------------------------------------------------ > ------------------ > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From bugtracker at ...3416... Tue Aug 30 16:52:39 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 14:52:39 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #979: gtk_text_buffer_get_insert () signal 11 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.979&from=L21haW4- Comment #6 by Ron KLINKIEN: Thanks for confirming, 3.8.4 is fine, correct. I noticed it while running my program with 3.9 beta, then distilled a sample project to isolate the issue. Having this bug is a big showstopper for my project, so I hope this can be fixed, committed. From chrisml at ...3340... Tue Aug 30 17:02:23 2016 From: chrisml at ...3340... (Christof Thalhofer) Date: Tue, 30 Aug 2016 17:02:23 +0200 Subject: [Gambas-user] Release of Gambas 3.9 - New gb.web.form component In-Reply-To: References: <3d9eeccc-fbef-4881-1e39-adecd56f3e6f@...3340...> Message-ID: Am 30.08.2016 um 16:51 schrieb PICCORO McKAY Lenz: > in the meantime, u can use the git-svn brigde provided by github/gitlab or > by the linux package itselft to made that Thank you, but I don't use SVN any more for my projects, only Git. Git is easier to handle. :-) I use Git from commandline and do not use any version control inside the IDE. 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 bugtracker at ...3416... Tue Aug 30 17:08:01 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 15:08:01 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.984&from=L21haW4- Comment #20 by Tobias BOEGE: >From reading your patch: >#if OPENSSL_VERSION_NUMBER <= 0x0090821fL This line does not exist in the revision #7876 [1], which I explicitely asked you to test. Your patch applies to an older revision. I'm sorry to steal more of your time, but I'd really like you to test the latest revision, i.e. #7876, with your OpenSSL 1.0's. [1] https://sourceforge.net/p/gambas/code/7876/tree/gambas/trunk/gb.openssl/src/c_digest.c From bugtracker at ...3416... Tue Aug 30 17:13:10 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 15:13:10 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.984&from=L21haW4- Comment #21 by C THAL: Unfortunately I do not have it in english, but here is a comment from the german hacker Fefe about OpenSSL 1.1 breaking software: https://blog.fefe.de/?ts=a93f56bb Maybe it is helpful for Tobi as he is german. From gambas at ...1... Tue Aug 30 17:13:30 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 30 Aug 2016 17:13:30 +0200 Subject: [Gambas-user] Release of Gambas 3.9 - New gb.web.form component In-Reply-To: References: <3d9eeccc-fbef-4881-1e39-adecd56f3e6f@...3340...> Message-ID: Le 30/08/2016 ? 17:02, Christof Thalhofer a ?crit : > Am 30.08.2016 um 16:51 schrieb PICCORO McKAY Lenz: > >> in the meantime, u can use the git-svn brigde provided by github/gitlab or >> by the linux package itselft to made that > > Thank you, but I don't use SVN any more for my projects, only Git. Git > is easier to handle. :-) > > I use Git from commandline and do not use any version control inside the > IDE. > > > Alles Gute > > Christof Thalhofer > So you will be surely a source of knowledge for me in the near future. :-) -- Beno?t Minisini From mckaygerhard at ...626... Tue Aug 30 17:22:30 2016 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Tue, 30 Aug 2016 11:22:30 -0400 Subject: [Gambas-user] Release of Gambas 3.9 - New gb.web.form component In-Reply-To: References: <3d9eeccc-fbef-4881-1e39-adecd56f3e6f@...3340...> Message-ID: u dont undestand clarelly Christof.. i mean use the svn-git brigde to commit to git by the svn commands of the ide! men please! dont see it? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2016-08-30 11:02 GMT-04:00 Christof Thalhofer : > Am 30.08.2016 um 16:51 schrieb PICCORO McKAY Lenz: > > > in the meantime, u can use the git-svn brigde provided by github/gitlab > or > > by the linux package itselft to made that > > Thank you, but I don't use SVN any more for my projects, only Git. Git > is easier to handle. :-) > > I use Git from commandline and do not use any version control inside the > IDE. > > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > ------------------------------------------------------------ > ------------------ > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From bugtracker at ...3416... Tue Aug 30 17:41:56 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 15:41:56 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.984&from=L21haW4- Comment #22 by PICCORO LENZ MCKAY: hi Thal, thanks for the article, interesting, i read some of the article! seems the hmac funtions related theres's not tests that certified that are right! for the future, i recomended rewrite the module using a good software as polarssl, but now lets help with this problem: its' hmac related code right implemented? or its hmac property documented to right implemented! i ignored the hmac problem due i made more test with my patches, recompile again and clean install and still all other related works perfectly, and any other can certified the path works and its right implemented! and tobias, sorry for patch, i not sync the code, here the patch: --- c_digest.c.old +++ c_digest.c @@ -139,6 +139,55 @@ * the behaviour described in their manpage. */ #if OPENSSL_VERSION_NUMBER < 0x10100000L +/* + * Special treatment for OpenSSL 0.9.8*. The version hex below is 0.9.8zh. + * The *_new() and *_free() routines were called *_create() and *_destroy() + * there. + */ +#if OPENSSL_VERSION_NUMBER <= 0x0090821fL +inline int EVP_MD_CTX_cleanup(EVP_MD_CTX *ctx) +{ + /* Don't assume ctx->md_data was cleaned in EVP_Digest_Final, + * because sometimes only copies of the context are ever finalised. + */ + if (ctx->digest && ctx->digest->cleanup + && !M_EVP_MD_CTX_test_flags(ctx,EVP_MD_CTX_FLAG_CLEANED)) + ctx->digest->cleanup(ctx); + if (ctx->digest && ctx->digest->ctx_size && ctx->md_data + && !M_EVP_MD_CTX_test_flags(ctx, EVP_MD_CTX_FLAG_REUSE)) { + OPENSSL_cleanse(ctx->md_data,ctx->digest->ctx_size); + OPENSSL_free(ctx->md_data); + } +#ifndef OPENSSL_NO_ENGINE + if(ctx->engine) + /* The EVP_MD we used belongs to an ENGINE, release the + * functional reference we held for this reason. */ + do_engine_finish(ctx->engine); +#endif + memset(ctx,'\0',sizeof *ctx); + return 1; +} + +inline void EVP_MD_CTX_init(EVP_MD_CTX *ctx) +{ + memset(ctx, '\0', sizeof *ctx); +} + +inline EVP_MD_CTX *EVP_MD_CTX_new(void) +{ + EVP_MD_CTX *ctx = OPENSSL_malloc(sizeof *ctx); + + if (ctx) + EVP_MD_CTX_init(ctx); + return ctx; +} + +inline void EVP_MD_CTX_free(EVP_MD_CTX *ctx) +{ + EVP_MD_CTX_cleanup(ctx); + OPENSSL_free(ctx); +} +#else /* Anything recent */ static void OPENSSL_clear_free(void *str, size_t num) { OPENSSL_cleanse(str, num); @@ -191,6 +240,7 @@ OPENSSL_free(ctx); } #endif +#endif /**G * Hash the given string using this digest algorithm. PICCORO LENZ MCKAY changed the state of the bug to: Accepted. From bugtracker at ...3416... Tue Aug 30 17:53:44 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 15:53:44 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.984&from=L21haW4- Comment #23 by Tyrone LUCERO: hi, the pacth works for 1.1 and 0.9 but for 1.0 does not, but a simple change, i think with the mckay's patch --- c_digest.c.old +++ c_digest.c @@ -144,7 +144,7 @@ * The *_new() and *_free() routines were called *_create() and *_destroy() * there. */ -#if OPENSSL_VERSION_NUMBER <= 0x0090821fL +#if OPENSSL_VERSION_NUMBER <= < 0x100000000L inline int EVP_MD_CTX_cleanup(EVP_MD_CTX *ctx) { /* Don't assume ctx->md_data was cleaned in EVP_Digest_Final, this make it works, due inline makes no interfering with the already declared in funtionallity terms? From bugtracker at ...3416... Tue Aug 30 17:53:45 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 15:53:45 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.984&from=L21haW4- Comment #24 by Tobias BOEGE: Christof: Thanks for the article. But now I'm feeling even more dizzy. Piccoro: Your patch now re-introduces exactly the functions which I removed in revision #7876 and writes "inline" before their prototype. Doesn't this mean that the patch is unnecessary? Your problem was redeclaration of functions, correct? I removed the offending declarations. That should have solved the problem. There is no need to re-introduce these functions as inlines. I think by now it's best if you could give me ssh access to one of your machines. Is that possible? From bugtracker at ...3416... Tue Aug 30 17:55:28 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 15:55:28 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.984&from=L21haW4- Comment #25 by Tobias BOEGE: Tyrone: >#if OPENSSL_VERSION_NUMBER <= < 0x100000000L What is this even supposed to mean? Is there a valid interpretation of "number <= < number" in the preprocessor? From bugtracker at ...3416... Tue Aug 30 17:57:09 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 15:57:09 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.984&from=L21haW4- Comment #26 by Tyrone LUCERO: sorry, type mistake! not so big! men! >#if OPENSSL_VERSION_NUMBER <= 0x100000000L From bugtracker at ...3416... Tue Aug 30 18:02:20 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 16:02:20 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #989: web.form component does not compile on ARM (Fedora) Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.989&from=L21haW4- Tom CALLAWAY reported a new bug. Summary ------- web.form component does not compile on ARM (Fedora) Type : Bug Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : Unknown Description ----------- This issue occurs on all current versions of Fedora, but only on ARM. Build succeeds on i686 and x86_64. CFLAGS on ARM are: CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' Compilation log is as follows: [Installing with DESTDIR=/builddir/build/BUILDROOT/gambas3-3.9.0-1.fc25.arm] Installing the components... Compiling gb.eval.highlight... OK Installing gb.eval.highlight... Compiling gb.args... OK Installing gb.args... Compiling gb.settings... OK Installing gb.settings... Compiling gb.gui.base... OK Installing gb.gui.base... Compiling gb.form... OK Installing gb.form... Compiling gb.form.stock... OK Installing gb.form.stock... Compiling gb.form.dialog... OK Installing gb.form.dialog... Compiling gb.form.mdi... OK Installing gb.form.mdi... Compiling gb.db.form... OK Installing gb.db.form... Compiling gb.desktop... OK Installing gb.desktop... Compiling gb.web... OK Installing gb.web... Compiling gb.report... OK Installing gb.report... Compiling gb.report2... OK Installing gb.report2... Compiling gb.chart... OK Installing gb.chart... Compiling gb.mysql... OK Installing gb.mysql... Compiling gb.net.smtp... OK Installing gb.net.smtp... Compiling gb.net.pop3... OK Installing gb.net.pop3... Compiling gb.memcached... OK Installing gb.memcached... Compiling gb.map... OK Installing gb.map... Compiling gb.logging... OK Installing gb.logging... Compiling gb.markdown... OK Installing gb.markdown... Compiling gb.media.form... OK Installing gb.media.form... Compiling gb.scanner... OK Installing gb.scanner... Compiling gb.util... OK Installing gb.util... Compiling gb.util.web... OK Installing gb.util.web... Compiling gb.form.editor... OK Installing gb.form.editor... Compiling gb.dbus.trayicon... OK Installing gb.dbus.trayicon... Compiling gb.web.form... OK Installing gb.web.form... Compiling gb.form.terminal... /bin/sh: line 1: 21439 Segmentation fault (core dumped) /builddir/build/BUILDROOT/gambas3-3.9.0-1.fc25.arm/usr/bin/gbc3 -ag -r /builddir/build/BUILDROOT/gambas3-3.9.0-1.fc25.arm/usr Unfortunately, I cannot access the Fedora builders to retrieve the core dump, nor do I have arm systems to reproduce this manually. :/ From bugtracker at ...3416... Tue Aug 30 18:02:35 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 16:02:35 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #989: web.form component does not compile on ARM (Fedora) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.989&from=L21haW4- Tom CALLAWAY added an attachment: build.log From bugtracker at ...3416... Tue Aug 30 18:03:18 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 16:03:18 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.984&from=L21haW4- Comment #27 by PICCORO LENZ MCKAY: hi tobias, yes, reintroduced that, but as i said, some openssl are buggy and does or does not contains.. make it inline we are sure that the portion of the code works as expected i think and second, the code u provided firts, use the pctx variable that breaks in older environments.. and i tested the patch, and works due i post the results of the openssl example and except by the buggy hmac as article mention, everything are correct! From bugtracker at ...3416... Tue Aug 30 18:03:31 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 16:03:31 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #989: web.form component does not compile on ARM (Fedora) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.989&from=L21haW4- Comment #1 by Tom CALLAWAY: Sorry. Should have been "form.terminal", not web.form. From bugtracker at ...3416... Tue Aug 30 18:08:14 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 16:08:14 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.984&from=L21haW4- Comment #28 by PICCORO LENZ MCKAY: a want to paste a funny case .. due the hmac make it noise about 2008 funny case: http://imgs.xkcd.com/comics/security_holes.png From bugtracker at ...3416... Tue Aug 30 18:11:38 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 16:11:38 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #988: gb.form.terminal compilation cores when running on Raspberry Pi (3) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.988&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Tue Aug 30 18:12:00 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 16:12:00 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #989: web.form component does not compile on ARM (Fedora) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.989&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Duplicate. From gambas.fr at ...626... Tue Aug 30 18:20:58 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 30 Aug 2016 18:20:58 +0200 Subject: [Gambas-user] OO design problem? In-Reply-To: References: Message-ID: 2016-08-30 12:18 GMT+02:00 Christof Thalhofer : > Am 29.08.2016 um 09:20 schrieb Fabien Bodard: > >> In the IDE if you write : >> >> Property MyProp As Integer and validate >> >> >> The all the stuff (_Read, _Write) is automagiquely added at the end of the file >> >> You just have to validate at the end of the property declaration line.... > > Yes, but in my case I also need corresponding private Variables, which > hold the data. I think this can be added but the problem is to manage anybody variable calling. As Benoit does and years before i use to add type and range of a variable in it's name. But maybe others dev don't want that way... > > Therefore I wrote the GS-creator for me as a simple tool because I have > to create a lot of classes which represent rows of database tables as > models for my own Gambas ORM. > > Even with the help of the Gambas IDE that job would cause a lot of pain > in my hands ... ;-) > > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From bugtracker at ...3416... Tue Aug 30 18:41:21 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 16:41:21 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.984&from=L21haW4- Comment #29 by Tobias BOEGE: You have to excuse my close-mindedness, but all the code you reintroduced is guarded inside #if OPENSSL_VERSION_NUMBER <= 0x0090821fL #endif and the change of Tyrone would make the #if guard like this: #if OPENSSL_VERSION_NUMBER <= 0x100000000L #endif (which I believe should more correctly have the strict "<" operator, not the "<="). But gb.openssl is not configured anymore to build with OpenSSL < 1.0.0 because, by the OpenSSL ChangeLog, the EVP_MD_do_all() function is missing in these versions (see my comment #7). Effectively the #if's in your patch (which target versions below 1.0.0) will not be entered anyway if gb.openssl is eligible to build at all. Of course I would like to apply your patch just to finally close this issue and because it seems to work for you, but I wouldn't even know what to write in the commit message. "Fix compilation on systems that gb.openssl is configured not to compile on"? And I really do not see a point in lowering the version requirement of 1.0.0 again, because the OpenSSL ChangeLog explicitely says that EVP_MD_do_all() was introduced in 1.0.0. If your OpenSSL 0.9.8o Debian packages magically have these functions patched in, then you should also patch Gambas on Debian to magically build against 0.9.8o (i.e. remove the version requirement in the configure.ac of gb.openssl which I introduced in #7876) -- because 0.9.8o should really not have this function and other distros with 0.9.8o may not have it. For all I know, it's a Debian-specific patch. Well, I actually don't know because I just downloaded the squeeze-lts package of OpenSSL 0.9.8o and its patches [1] again, like yesterday, patched the source tree according to the "series" file and still could find no mention of EVP_MD_do_all in all of the source tree. I really really do not see a point in setting the OpenSSL version requirement below 1.0.0. And if the required version is >= 1.0.0, then your patch does not do anything. [1] https://archive.debian.net/squeeze-lts/libssl-dev From bugtracker at ...3416... Tue Aug 30 19:35:39 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 17:35:39 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.984&from=L21haW4- Comment #30 by PICCORO LENZ MCKAY: ok, i can see now the changes around the lasted commit, now openssl > 1.0.0 was required, but if u can made the patch and permit openssl 0.9.8 as last version of gambas compiles, will help many people that still runs others systems, there's no necesary to have a pull of people that confirms this.. only make it for help.. due can be... and now thanks of this discution we discovered all together another possible bug in hmac crypt related.. From pata.karlsson at ...626... Tue Aug 30 19:42:47 2016 From: pata.karlsson at ...626... (Patrik Karlsson) Date: Tue, 30 Aug 2016 19:42:47 +0200 Subject: [Gambas-user] Html UTF-8 ISO-8859-1 In-Reply-To: References: Message-ID: 2016-08-28 11:34 GMT+02:00 Gianluigi : > Hello Patrik, > thanks for the reply. > Unfortunately I have not understood how I can get your iconv frontend. > Regard > Gianluigi > > > If you dont use git you can download a zip with https://codeload.github.com/trixon/gambas-alphatrans/zip/master From mckaygerhard at ...626... Tue Aug 30 19:48:40 2016 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Tue, 30 Aug 2016 13:48:40 -0400 Subject: [Gambas-user] Html UTF-8 ISO-8859-1 In-Reply-To: References: Message-ID: u have a lot of great apps made in gambas and for gambas there! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2016-08-30 13:42 GMT-04:00 Patrik Karlsson : > 2016-08-28 11:34 GMT+02:00 Gianluigi : > > > Hello Patrik, > > thanks for the reply. > > Unfortunately I have not understood how I can get your iconv frontend. > > Regard > > Gianluigi > > > > > > If you dont use git you can download a zip with > https://codeload.github.com/trixon/gambas-alphatrans/zip/master > ------------------------------------------------------------ > ------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bugtracker at ...3416... Tue Aug 30 20:18:29 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 18:18:29 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #990: gambas crash when make deb package from idewith seg fault Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.990&from=L21haW4- PICCORO LENZ MCKAY reported a new bug. Summary ------- gambas crash when make deb package from idewith seg fault Type : Bug Priority : Medium Gambas version : 3.8.90 (TRUNK) Product : Development Environment Description ----------- i try to make deb package from ide, of my project 1) name, etc, all filled 2) changelog, i write "asdfasdf" 3) choose type: debian 4) choose group: x11 5) choose target: applications/accesibility 6) mimetype: none, additional configs: none 7) extra depends: none 8) extra files: none 9) destination directory: home directly when command output will out the results, the ide crash! i only got a signal segfault, how can i depure the code give me the steps to provide u more info! System information ------------------ [System] Gambas=3.9.90 OperatingSystem=Linux Kernel=2.6.32-trunk-686-bigmem Architecture=x86 Distribution=debian 5.1 Desktop=LXDE Theme=Gtk Language=en_US.UTF-8 Memory=4021M [Libraries] Cairo=libcairo.so.2.10800.10 Cairo=libcairo.so.2.10800.8 Cairo=libcairo.so.2.17.5 Cairo=libcairo.so.2.2.4 Cairo=libcairo.so.2.9.2 Curl=libcurl.so.4.1.0 Curl=libcurl.so.4.1.1 DBus=libdbus-1.so.3.4.0 GStreamer=libgstreamer-0.10.so.0.26.0 GTK+2=libgtk-x11-2.0.so.0.2000.1 Poppler=libpoppler.so.3.0.0 Poppler=libpoppler.so.5.0.0 QT4=libQtCore.so.4.6.3 SDL=libSDL-1.2.so.0.11.3 SQLite=libsqlite3.so.0.8.6 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-Q4Puh0F5Jz,guid=ac84c84ebadbbc39d58fccd357ab69d4 DESKTOP_SESSION=LXDE DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=default GDM_LANG=en_US.UTF-8 GDM_XSERVER_LOCATION=local HOME= LANG=en_US.UTF-8 LOGNAME= OOO_FORCE_DESKTOP=gnome PATH=/usr/local/bin:/usr/bin:/bin:/usr/games PWD= SAL_DISABLE_NATIVE_ALPHA=true SAL_USE_VCLPLUGIN=gtk SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=3026 SSH_AUTH_SOCK=/tmp/ssh-LLdRwV2985/agent.2985 TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=7 XAUTHORITY=/.Xauthority XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXDE XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/usr/share/gdm/:/var/lib/menu-xdg/ XDG_MENU_PREFIX=lxde- _LXSESSION_PID=2985 From bugtracker at ...3416... Tue Aug 30 20:28:53 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 18:28:53 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #987: gb.dbus insert application process id to bus and interface name. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.987&from=L21haW4- Comment #1 by Beno?t MINISINI: For the bus name, it's normal, but not for the interface name. As a temporary workaround, you can override the defaut name with the DBus.Name property. Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Tue Aug 30 20:29:44 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 18:29:44 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #990: gambas crash when make deb package from idewith seg fault In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.990&from=L21haW4- Comment #1 by Beno?t MINISINI: Please provide your entire project. Beno?t MINISINI changed the state of the bug to: NeedsInfo. From bugtracker at ...3416... Tue Aug 30 20:38:26 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 18:38:26 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #990: gambas crash when make deb package from idewith seg fault In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.990&from=L21haW4- Comment #2 by PICCORO LENZ MCKAY: with any package, ... i see some outputs, using gambas 3.8 dont crash but either got deb package, seems compat level are too high, where i can modify this for my own purposes in case of this are not acepted, or can this be modify for results before produce the package? dh_clean: Sorry, but 8 is the highest compatibility level supported by this debhelper. make: *** [clean] Error 9 dpkg-buildpackage: failure: fakeroot debian/rules clean gave error exit status 2 From bugtracker at ...3416... Tue Aug 30 20:39:26 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 18:39:26 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #990: gambas crash when make deb package from idewith seg fault In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.990&from=L21haW4- PICCORO LENZ MCKAY added an attachment: Login-0.0.1.tar.gz From bugtracker at ...3416... Tue Aug 30 20:41:51 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 18:41:51 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #979: gtk_text_buffer_get_insert () signal 11 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.979&from=L21haW4- Comment #7 by Beno?t MINISINI: My bad, I have commented the fix without any reason before releasing 3.9. Now it should be fixed in revision #7877, and you will get the fix in 3.9.1. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Tue Aug 30 20:55:01 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 18:55:01 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #990: gambas crash when make deb package from idewith seg fault In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.990&from=L21haW4- Comment #3 by Beno?t MINISINI: Please don't mix different issues in the same report. Open another bug report! From bugtracker at ...3416... Tue Aug 30 20:56:43 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 18:56:43 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #990: gambas crash when make deb package from idewith seg fault In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.990&from=L21haW4- Comment #4 by Beno?t MINISINI: I don't get a segfault, but a "normal" error message... Beno?t MINISINI changed the state of the bug to: Opened. From bugtracker at ...3416... Tue Aug 30 20:57:17 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 18:57:17 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #990: gambas crash when make deb package from idewith seg fault In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.990&from=L21haW4- Comment #5 by Beno?t MINISINI: ...ah ok, got the segfault when the IDE terminates. It should be a memory corruption somewhere then... Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Tue Aug 30 20:59:27 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 18:59:27 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #979: gtk_text_buffer_get_insert () signal 11 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.979&from=L21haW4- Comment #8 by Ron KLINKIEN: Thanks! From bugtracker at ...3416... Tue Aug 30 20:59:50 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 18:59:50 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #990: gambas crash when make deb package from idewith seg fault In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.990&from=L21haW4- Comment #6 by PICCORO LENZ MCKAY: benoit the other error maybe its produced by the compat level, due the process do not terminate property, u can tell me where are defined the compat level to try mae more test by my side? if i dongrade the compat level of debian packagement i can discover more maybe! From chrisml at ...3340... Tue Aug 30 21:22:19 2016 From: chrisml at ...3340... (Christof Thalhofer) Date: Tue, 30 Aug 2016 21:22:19 +0200 Subject: [Gambas-user] OO design problem? In-Reply-To: References: Message-ID: Am 30.08.2016 um 18:20 schrieb Fabien Bodard: >> Yes, but in my case I also need corresponding private Variables, >> which hold the data. > I think this can be added but the problem is to manage anybody > variable calling. Yes, I think this should not be done by default. Often a property value is the result of a function. There it would be counterproductive. > As Benoit does and years before i use to add type > and range of a variable in it's name. > > But maybe others dev don't want that way... To see the range via "$..." ist useful, but it should not be ruled by the IDE. Alles Gute Christof Thalhofer -- Dies ist keine Signatur From bugtracker at ...3416... Tue Aug 30 21:47:15 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 19:47:15 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #979: gtk_text_buffer_get_insert () signal 11 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.979&from=L21haW4- Comment #9 by PICCORO LENZ MCKAY: hi benoit and Ron, i recompiled with the uncommented an now got this error: gtextarea.cpp: In destructor ?virtual gTextArea::~gTextArea()?: gtextarea.cpp:515: error: ?g_signal_handlers_disconnect_by_data? was not declared in this scope g_signal_handlers_disconnect_by_data is not defined in glib-2.0/gobject/gsignal.h for glib-2.2X but for glib-2.32.3 and 2.32.4, this amkes the new gambas will require too high requirements for compile! benoit there's another solution? maybe using "g_signal_handlers_disconnect_by_func" using (G_OBJECT( gtk_text_view....), null) with a callback for the close? (sorry i'm not expert) PICCORO LENZ MCKAY changed the state of the bug to: Opened. From bugtracker at ...3416... Tue Aug 30 21:51:21 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 19:51:21 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #979: gtk_text_buffer_get_insert () signal 11 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.979&from=L21haW4- Comment #10 by Beno?t MINISINI: I think so, I will see. This is a common practice of glib and gtk+ of having a version 2 or 3 and half of the expected API still missing. From bugtracker at ...3416... Tue Aug 30 21:55:18 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 19:55:18 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #979: gtk_text_buffer_get_insert () signal 11 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.979&from=L21haW4- Comment #11 by PICCORO LENZ MCKAY: benoit, ron, maybe as is?: g_signal_handlers_disconnect_by_func(gtk_text_view_get_buffer(GTK_TEXT_VIEW(textview)), NULL, this); i'll test and later report feedback From bugtracker at ...3416... Tue Aug 30 22:07:06 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 20:07:06 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #979: gtk_text_buffer_get_insert () signal 11 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.979&from=L21haW4- Comment #12 by PICCORO LENZ MCKAY: nop still got segfault, but the g_signal_handlers_disconnect_by_data seems will crash algo in my debian unstable before wheeze, this made will gambas 3.9 not available for some winbuntu distros.. please lets find some solution and i think a workaround with g_signal_handlers_disconnect_by_func can be possible From bugtracker at ...3416... Tue Aug 30 22:35:32 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 20:35:32 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #979: gtk_text_buffer_get_insert () signal 11 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.979&from=L21haW4- Comment #13 by PICCORO LENZ MCKAY: i found a solution, redefine the function only if detected version are minor? #define g_signal_handlers_disconnect_by_data(instance, data) \ g_signal_handlers_disconnect_matched ((instance), G_SIGNAL_MATCH_DATA, 0, 0, NULL, NULL, (data)) and can redefine inline? From chrisml at ...3340... Tue Aug 30 22:52:20 2016 From: chrisml at ...3340... (Christof Thalhofer) Date: Tue, 30 Aug 2016 22:52:20 +0200 Subject: [Gambas-user] Release of Gambas 3.9 - New gb.web.form component In-Reply-To: References: <3d9eeccc-fbef-4881-1e39-adecd56f3e6f@...3340...> Message-ID: Am 30.08.2016 um 17:22 schrieb PICCORO McKAY Lenz: > u dont undestand clarelly Christof.. i mean use the svn-git brigde to > commit to git by the svn commands of the ide! men please! dont see it? Sure, I understood. But I do not use versioning in the IDE. And I do not use Svn any more. If I have done my work in the IDE I go to the project's folder in the terminal and use the program tig to commit the changes to the local repository (which is inside the .git folder). Afterwards I push the local changes to my main repository on my server. Tig itself is a great interface to a Git repository on the commandline. And git as I use it on the commandline is very mighty, especially with branches. I show you how: -------------- If I want to develop a new feature, I first create a new branch as a copy of the master branch, when I'm on the master branch: git branch new_feature Then switch over from master to that branch: git checkout new_feature Then do my work and develop the new feature. Then do a commit of my work(*see_later): git commit -a -m "new feature added" Then switch over to the master branch git checkout master Then merge my work into master: git merge new_feature -------------- With this kind of workflow, I can develop inside a lot of parallel branches (if I want to). Every time a feature in a separated branch is done, I can merge it into the master branch. I also can have a separate branch for hotfixes which I have to merge into the master but also into development branches. Git is very mighty and flexible and once you understand it, you never want to go back to Svn any more. -------------- *see_later: I do not do my commits with git, instead I use tig, as mentioned before. Because while I develop a feature, I usually do not want to do just only one commit, but instead many commits. One for the Latex files, another one for the code, a third one for the form, the next one for a module and so on. Commits in git are fine-grained and this for me is better done with tig. 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 bugtracker at ...3416... Tue Aug 30 22:53:03 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 20:53:03 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #979: gtk_text_buffer_get_insert () signal 11 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.979&from=L21haW4- Comment #14 by PICCORO LENZ MCKAY: yeah works and now the attached example by Ron does not crash! here the pacht, and sorry its a workaround but works: --- gtextarea.cpp.old +++ gtextarea.cpp @@ -155,6 +155,22 @@ }; #else + +#if !GLIB_CHECK_VERSION(2, 32, 0) +/** + * g_signal_handlers_disconnect_by_data: + * @instance: The instance to remove handlers from + * @data: the closure data of the handlers' closures + * + * Disconnects all handlers on an instance that match @data. + * + * Returns: The number of handlers that matched. + * + * Since: 2.32 + */ +#define g_signal_handlers_disconnect_by_data(instance, data) \ + g_signal_handlers_disconnect_matched ((instance), G_SIGNAL_MATCH_DATA, 0, 0, NULL, NULL, (data)) +#endif // Private structure took from GTK+ 2.10 code. Used for setting the text area cursor. // **** May not work on future GTK+ versions **** From chrisml at ...3340... Tue Aug 30 22:54:16 2016 From: chrisml at ...3340... (Christof Thalhofer) Date: Tue, 30 Aug 2016 22:54:16 +0200 Subject: [Gambas-user] Release of Gambas 3.9 - New gb.web.form component In-Reply-To: References: <3d9eeccc-fbef-4881-1e39-adecd56f3e6f@...3340...> Message-ID: <19bbe08d-43f2-7f82-62a1-27a70b548004@...3340...> Am 30.08.2016 um 17:13 schrieb Beno?t Minisini: > So you will be surely a source of knowledge for me in the near future. :-) Cool. Would be an honour for me to help. :-) 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 bugtracker at ...3416... Tue Aug 30 23:41:52 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 21:41:52 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #979: gtk_text_buffer_get_insert () signal 11 In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.979&from=L21haW4- Comment #15 by Beno?t MINISINI: Thanks. Merged in revision #7878. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Wed Aug 31 00:28:36 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 30 Aug 2016 22:28:36 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #990: gambas crash when make deb package from idewith seg fault In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.990&from=L21haW4- Comment #7 by Beno?t MINISINI: It should be fixed in revision #7880. For your compatibility level, it's another story. So please create another issue. Beno?t MINISINI changed the state of the bug to: Fixed. From adamnt42 at ...626... Wed Aug 31 01:13:02 2016 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Wed, 31 Aug 2016 08:43:02 +0930 Subject: [Gambas-user] OO design problem? In-Reply-To: References: Message-ID: <20160831084302.db150546676d69ce314963ba@...626...> On Mon, 29 Aug 2016 01:13:01 +0300 Jussi Lahtinen wrote: > > It's not unnecessary in fact. Imagine if a children not implement the > > property... then it's the property in the parent that is readed. > > > > Yes I know, but in my case it is unnecessary. > But if I understand you correctly then you should be implementing an Error.Raise in those empty methods to trap where a child class has not re-implemented the property! > > > > Another way is to not declare the property in the parent and use an > > object type to walk the children. > > > > > > Dosometing(hChild as Myclass) > > > > dim hObj as Object = hChild > > > > try hObj.DoSomethingElse() > > > > end > > > > Thanks for the suggestion. Though, I hope something more elegant... > > > > Jussi > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user And another use we have here for those "empty" methods is to implement a (hackish) trap to enforce a sort of protection i.e. the implementing child must be a particular object type. in other words to prevent say a client program calling the root method class directly. -- B Bruen From gambas.fr at ...626... Wed Aug 31 08:32:52 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 31 Aug 2016 08:32:52 +0200 Subject: [Gambas-user] OO design problem? In-Reply-To: <20160831084302.db150546676d69ce314963ba@...626...> References: <20160831084302.db150546676d69ce314963ba@...626...> Message-ID: The three way are : Implemented in the base Class : hChild.Function() Implemented since a least the second inheritance level : 'hChild must be typed as Object if hChild is SubTypeClass then hChld.Function Totaly random : 'hChild must be typed as Object Try hChild.Function if Error then Error Subst("Warning: the function \"Function\" is not implemented in class &2",, Object.Type(hChild)) From bagonergi at ...626... Wed Aug 31 14:07:18 2016 From: bagonergi at ...626... (Gianluigi) Date: Wed, 31 Aug 2016 14:07:18 +0200 Subject: [Gambas-user] Html UTF-8 ISO-8859-1 In-Reply-To: References: Message-ID: OK, now I understand what was wrong, alphatrans included in url and the url would not open. I have to look more carefully at git. Thank you Regards Gianluigi 2016-08-30 19:42 GMT+02:00 Patrik Karlsson : > 2016-08-28 11:34 GMT+02:00 Gianluigi : > > > Hello Patrik, > > thanks for the reply. > > Unfortunately I have not understood how I can get your iconv frontend. > > Regard > > Gianluigi > > > > > > If you dont use git you can download a zip with > https://codeload.github.com/trixon/gambas-alphatrans/zip/master > ------------------------------------------------------------ > ------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bagonergi at ...626... Wed Aug 31 14:08:05 2016 From: bagonergi at ...626... (Gianluigi) Date: Wed, 31 Aug 2016 14:08:05 +0200 Subject: [Gambas-user] Html UTF-8 ISO-8859-1 In-Reply-To: References: Message-ID: Same answer as before: Now I have to look more carefully at git. Thank you Regards Gianluigi 2016-08-30 19:48 GMT+02:00 PICCORO McKAY Lenz : > u have a lot of great apps made in gambas and for gambas there! > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > > 2016-08-30 13:42 GMT-04:00 Patrik Karlsson : > > > 2016-08-28 11:34 GMT+02:00 Gianluigi : > > > > > Hello Patrik, > > > thanks for the reply. > > > Unfortunately I have not understood how I can get your iconv frontend. > > > Regard > > > Gianluigi > > > > > > > > > If you dont use git you can download a zip with > > https://codeload.github.com/trixon/gambas-alphatrans/zip/master > > ------------------------------------------------------------ > > ------------------ > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > ------------------------------------------------------------ > ------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bugtracker at ...3416... Wed Aug 31 17:19:11 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 31 Aug 2016 15:19:11 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #991: packager make qt5/qt4/gtk3/gtk2 packages event if no module was compiled/installed/used in project Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.991&from=L21haW4- PICCORO LENZ MCKAY reported a new bug. Summary ------- packager make qt5/qt4/gtk3/gtk2 packages event if no module was compiled/installed/used in project Type : Bug Priority : Low Gambas version : 3.8.90 (TRUNK) Product : Development Environment Description ----------- i revised the commit for recent fixed crash of deb packages, and noted some not really right: in packager.module around line 649 see that qt5 and qt4 flavors are made event if no related, as gtk2 in the case of gtk3 only if opengl not are installed/used in project are not make! i think, the conditional must be done, only makes if given flavors modules are explicit used/notused in the project or at least in the development environment.. due, thinks: if i not have the qt5 module, how can i produce the qt5 flavor of my package? so then event check if my project use qt5 module, check if my total env have the module installed and available From bugtracker at ...3416... Wed Aug 31 17:53:35 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 31 Aug 2016 15:53:35 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #896: gb.xml: Crash when ending tag not complete In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.896&from=L21haW4- Comment #1 by PICCORO LENZ MCKAY: i can confirm this with gambas trunk lasted and also gambas 3.8.4, also set to high due its a important bug that can make debug imnposible in large projects From bugtracker at ...3416... Wed Aug 31 22:03:33 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 31 Aug 2016 20:03:33 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #987: gb.dbus insert application process id to bus and interface name. In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.987&from=L21haW4- Comment #2 by Beno?t MINISINI: Fixed in revision #7883. Beno?t MINISINI changed the state of the bug to: Fixed.