From bagonergi at gmail.com Mon Jul 1 01:04:58 2019 From: bagonergi at gmail.com (Gianluigi) Date: Mon, 1 Jul 2019 01:04:58 +0200 Subject: [Gambas-user] Division by zero in TextEditor In-Reply-To: References: <6eb2970d-2c36-0247-8ceb-9c288005dd8e@gmail.com> Message-ID: Il giorno dom 30 giu 2019 alle ore 17:54 Gianluigi ha scritto: > > > Il giorno dom 30 giu 2019 alle ore 17:18 Gianluigi > ha scritto: > >> >> >> Il giorno dom 30 giu 2019 alle ore 16:58 Beno?t Minisini < >> g4mba5 at gmail.com> ha scritto: >> >>> Le 30/06/2019 ? 13:58, Gianluigi a ?crit : >>> > Hi Benoit, >>> > a friend of ours from Gambas-it.org is receiving this error from the >>> > TextEditor: >>> > >>> > ^TextEditor.SideBar_MouseMove.5258: #26: Division by zero >>> > >>> > Have an idea of why this happens, or need the code? >>> > >>> > Regards >>> > Gianluigi >>> > >>> >>> With which version of Gambas? >>> >>> -- >>> Beno?t Minisini >>> >>> >> The stable version. >> He has also tried compiling but always gets the same mistakes. >> I told him to try the development one, I await an answer. >> >> Regards >> gianluigi >> > > The initial question of our friend was more articulated. > > "I installed (stable) from PPA on Xubuntu 18.04.02 and I get these > malfunctions but not every time: > > If I open from menu sometimes it doesn't open if I do it from terminal > sometimes I get segmentation error. > When I open from the terminal I sometimes get: > ^TextEditor.SideBar_MouseMove.5258: #26: Division by zero > happens when I double click on the form. > Last problem: some icons sometimes appear different from those chosen and > much larger." > > Regards > Gianluigi > The mistake that I could personally see concerns only the stable from PPA, and only opening the IDE from the terminal (~ $ gambas3). I only get the segmentation error. Both the Stable and the Master compiled work well. Probably our friend made some mistakes during the stable compilation. Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From genbraga1 at gmail.com Mon Jul 1 01:57:33 2019 From: genbraga1 at gmail.com (gen braga) Date: Sun, 30 Jun 2019 20:57:33 -0300 Subject: [Gambas-user] Division by zero in TextEditor In-Reply-To: References: <6eb2970d-2c36-0247-8ceb-9c288005dd8e@gmail.com> Message-ID: I also get a segmentation error when on my old Celeron netbook with lubuntu 16.04, always with latest master from PPA. Exactly the same behavior as you said: no ide when running from desktop, and seg error when running from terminal. Every now and then It happens but as that netbook is very old and faulty (and is not my default station), I never bothered to know the whys. If I try two or three times, the ide runs ok. Also, i've never saw this issue when running my compiled apps, just the ide. I'll get the bt tomorrow and post here. Maybe its the same issue. Gen. Em dom, 30 de jun de 2019 20:06, Gianluigi escreveu: > > > Il giorno dom 30 giu 2019 alle ore 17:54 Gianluigi > ha scritto: > >> >> >> Il giorno dom 30 giu 2019 alle ore 17:18 Gianluigi >> ha scritto: >> >>> >>> >>> Il giorno dom 30 giu 2019 alle ore 16:58 Beno?t Minisini < >>> g4mba5 at gmail.com> ha scritto: >>> >>>> Le 30/06/2019 ? 13:58, Gianluigi a ?crit : >>>> > Hi Benoit, >>>> > a friend of ours from Gambas-it.org is receiving this error from the >>>> > TextEditor: >>>> > >>>> > ^TextEditor.SideBar_MouseMove.5258: #26: Division by zero >>>> > >>>> > Have an idea of why this happens, or need the code? >>>> > >>>> > Regards >>>> > Gianluigi >>>> > >>>> >>>> With which version of Gambas? >>>> >>>> -- >>>> Beno?t Minisini >>>> >>>> >>> The stable version. >>> He has also tried compiling but always gets the same mistakes. >>> I told him to try the development one, I await an answer. >>> >>> Regards >>> gianluigi >>> >> >> The initial question of our friend was more articulated. >> >> "I installed (stable) from PPA on Xubuntu 18.04.02 and I get these >> malfunctions but not every time: >> >> If I open from menu sometimes it doesn't open if I do it from terminal >> sometimes I get segmentation error. >> When I open from the terminal I sometimes get: >> ^TextEditor.SideBar_MouseMove.5258: #26: Division by zero >> happens when I double click on the form. >> Last problem: some icons sometimes appear different from those chosen and >> much larger." >> >> Regards >> Gianluigi >> > > The mistake that I could personally see concerns only the stable from PPA, > and only opening the IDE from the terminal (~ $ gambas3). > I only get the segmentation error. > Both the Stable and the Master compiled work well. > Probably our friend made some mistakes during the stable compilation. > > Regards > Gianluigi > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Mon Jul 1 09:26:10 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 1 Jul 2019 09:26:10 +0200 Subject: [Gambas-user] Division by zero in TextEditor In-Reply-To: References: <6eb2970d-2c36-0247-8ceb-9c288005dd8e@gmail.com> Message-ID: <73880525-515a-f89f-0632-41aeaf408a29@gmail.com> Le 01/07/2019 ? 01:57, gen braga a ?crit?: > I also get a segmentation error... Please get a backtrace of the crash as explained in http://gambaswiki.org/wiki/doc/report#t5 Regards, -- Beno?t Minisini From bagonergi at gmail.com Mon Jul 1 09:53:50 2019 From: bagonergi at gmail.com (Gianluigi) Date: Mon, 1 Jul 2019 09:53:50 +0200 Subject: [Gambas-user] Division by zero in TextEditor In-Reply-To: <73880525-515a-f89f-0632-41aeaf408a29@gmail.com> References: <6eb2970d-2c36-0247-8ceb-9c288005dd8e@gmail.com> <73880525-515a-f89f-0632-41aeaf408a29@gmail.com> Message-ID: Il giorno lun 1 lug 2019 alle ore 09:27 Beno?t Minisini ha scritto: > Le 01/07/2019 ? 01:57, gen braga a ?crit : > > I also get a segmentation error... > > Please get a backtrace of the crash as explained in > http://gambaswiki.org/wiki/doc/report#t5 > > Regards, > > -- > Beno?t Minisini > > There is something I don't understand, here we talk about Gambas installations from PPA. To my knowledge there is no ~/gambas3-xxx/app/src/gambas3 directory. If you compile Gambas3 Master or Stabile there are no segmentation problems. Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Mon Jul 1 10:04:03 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 1 Jul 2019 10:04:03 +0200 Subject: [Gambas-user] Division by zero in TextEditor In-Reply-To: References: <6eb2970d-2c36-0247-8ceb-9c288005dd8e@gmail.com> <73880525-515a-f89f-0632-41aeaf408a29@gmail.com> Message-ID: <980949aa-62ff-3252-16e0-5a04fef58be3@gmail.com> Le 01/07/2019 ? 09:53, Gianluigi a ?crit?: > > > Il giorno lun 1 lug 2019 alle ore 09:27 Beno?t Minisini > > ha scritto: > > Le 01/07/2019 ? 01:57, gen braga a ?crit?: > > I also get a segmentation error... > > Please get a backtrace of the crash as explained in > http://gambaswiki.org/wiki/doc/report#t5 > > Regards, > > -- > Beno?t Minisini > > > There is something I don't understand, here we talk about Gambas > installations from PPA. > To my knowledge there is no ~/gambas3-xxx/app/src/gambas3 directory. > If you compile Gambas3 Master or Stabile there are no segmentation problems. > > Regards > Gianluigi > You can run the IDE that way: $ cd /usr/bin $ gdb gbr3 ... (gdb) run gambas3 ... -- Beno?t Minisini From ujlain at gmail.com Mon Jul 1 14:02:33 2019 From: ujlain at gmail.com (Vinode Singh Ujlain) Date: Mon, 1 Jul 2019 17:32:33 +0530 Subject: [Gambas-user] gb.web - two observations Message-ID: <382be996-2eb5-8b98-7031-ac4b0e634c7e@gmail.com> _*Observation 1:*_ When a session key is enclosed in Single quote .. it spreads after [ (see attached image). Double quoted key works fine. Is this correct editor behavior ? ??? Session[? ' inpString '? ] = "test" ??? Session["inpString"] = "test" _*Observation 2:*_ Strange behavior observed with DB.Subst whilst using in GB.Web application. Any clues SQL = DB.Subst("SELECT * FROM USERS where Loginid = &1 and Passwd = &2", userid, password) ?? ?? 'Does not work - throws error No Current Connection .... SQL = Subst("SELECT * FROM USERS where Loginid = '&1' and Passwd = '&2'", userid, password) ??? ??? ? ' Works Fine regards - UZI -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: session key.png Type: image/png Size: 4404 bytes Desc: not available URL: From bagonergi at gmail.com Mon Jul 1 14:16:28 2019 From: bagonergi at gmail.com (Gianluigi) Date: Mon, 1 Jul 2019 14:16:28 +0200 Subject: [Gambas-user] Division by zero in TextEditor In-Reply-To: <980949aa-62ff-3252-16e0-5a04fef58be3@gmail.com> References: <6eb2970d-2c36-0247-8ceb-9c288005dd8e@gmail.com> <73880525-515a-f89f-0632-41aeaf408a29@gmail.com> <980949aa-62ff-3252-16e0-5a04fef58be3@gmail.com> Message-ID: Il giorno lun 1 lug 2019 alle ore 10:05 Beno?t Minisini ha scritto: > Le 01/07/2019 ? 09:53, Gianluigi a ?crit : > > > > > > Il giorno lun 1 lug 2019 alle ore 09:27 Beno?t Minisini > > > ha scritto: > > > > Le 01/07/2019 ? 01:57, gen braga a ?crit : > > > I also get a segmentation error... > > > > Please get a backtrace of the crash as explained in > > http://gambaswiki.org/wiki/doc/report#t5 > > > > Regards, > > > > -- > > Beno?t Minisini > > > > > > There is something I don't understand, here we talk about Gambas > > installations from PPA. > > To my knowledge there is no ~/gambas3-xxx/app/src/gambas3 directory. > > If you compile Gambas3 Master or Stabile there are no segmentation > problems. > > > > Regards > > Gianluigi > > > > You can run the IDE that way: > > $ cd /usr/bin > $ gdb gbr3 > ... > (gdb) run gambas3 > ... > > -- > Beno?t Minisini > > Hi Benoit, I tried repeatedly (many times) to get the segmentation error starting from (gdb), only once in the attempt to start it from the menu (other times it doesn't start but in silent mode) I got an internal error from xubuntu. I made some snapshots if you want I can send them to you, I tried, without success, to see if there is any log file... This is what I always get (approximately) from the terminal: [0] And these are the System information: [1] Regards Gianluigi [0] cd /usr/bin gdb gbr3 GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git Copyright (C) 2018 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 "i686-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 gbr3...(no debugging symbols found)...done. (gdb) run gambas3 Starting program: /usr/bin/gbr3 gambas3 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1". warning: Error reading shared library list entry at 0xfffffbd0 gb.gui.qt: warning: 'gb.qt5' component not found, using 'gb.qt4' instead warning: Error reading shared library list entry at 0xffffffe0 warning: Error reading shared library list entry at 0x5020 warning: Error reading shared library list entry at 0x53f0 warning: Error reading shared library list entry at 0xffffb470 warning: Error reading shared library list entry at 0xffffbd90 warning: Error reading shared library list entry at 0xffffec20 warning: Error reading shared library list entry at 0xfffff690 warning: Error reading shared library list entry at 0x540 warning: Error reading shared library list entry at 0x26f0 warning: Error reading shared library list entry at 0x3c50 warning: Error reading shared library list entry at 0x35c0 warning: Error reading shared library list entry at 0x67b0 warning: Error reading shared library list entry at 0x6a50 warning: Error reading shared library list entry at 0xffffefe0 warning: Error reading shared library list entry at 0x7800 warning: Error reading shared library list entry at 0x7e30 warning: Error reading shared library list entry at 0x7600 warning: Error reading shared library list entry at 0x7a30 warning: Error reading shared library list entry at 0x7da0 warning: Error reading shared library list entry at 0xffff8180 warning: Error reading shared library list entry at 0xffffd280 warning: Error reading shared library list entry at 0x3390 warning: Error reading shared library list entry at 0x6bf0 warning: Error reading shared library list entry at 0x4cb0 warning: Error reading shared library list entry at 0x53d0 warning: Error reading shared library list entry at 0x5800 warning: Error reading shared library list entry at 0xffffe250 warning: Error reading shared library list entry at 0xffffe590 warning: Error reading shared library list entry at 0x2b00 warning: Error reading shared library list entry at 0x2fd0 warning: Error reading shared library list entry at 0x3c80 warning: Error reading shared library list entry at 0x4160 warning: Error reading shared library list entry at 0x4640 [New Thread 0xae73db40 (LWP 4745)] warning: Error reading shared library list entry at 0x15d0 [New Thread 0xadcc9b40 (LWP 4746)] [New Thread 0xad2ffb40 (LWP 4747)] warning: Error reading shared library list entry at 0x3880 warning: Error reading shared library list entry at 0x4ac0 warning: Error reading shared library list entry at 0x3460 warning: Error reading shared library list entry at 0x4100 [New Thread 0xab94db40 (LWP 4751)] [New Thread 0xaab3fb40 (LWP 4752)] warning: Error reading shared library list entry at 0x3b20 warning: Error reading shared library list entry at 0xffff8aa0 warning: Error reading shared library list entry at 0x6a20 warning: Error reading shared library list entry at 0xffffcfd0 warning: Error reading shared library list entry at 0x29e0 warning: Error reading shared library list entry at 0xffff9180 [New Thread 0xa9864b40 (LWP 4758)] [New Thread 0xa9063b40 (LWP 4759)] warning: Error reading shared library list entry at 0xffffdcc0 warning: Error reading shared library list entry at 0xffffe020 [Thread 0xaab3fb40 (LWP 4752) exited] [Thread 0xa9063b40 (LWP 4759) exited] [Thread 0xa9864b40 (LWP 4758) exited] [Thread 0xab94db40 (LWP 4751) exited] [Thread 0xad2ffb40 (LWP 4747) exited] [Thread 0xadcc9b40 (LWP 4746) exited] [Thread 0xae73db40 (LWP 4745) exited] [Inferior 1 (process 4731) exited normally] (gdb) bt No stack. (gdb) q ----------------------------------------------------------------------------------------- [1] [System] Gambas=3.13 OperatingSystem=Linux Kernel=4.18.0-25-generic Architecture=x86 Distribution=Ubuntu 18.04.2 LTS Desktop=XFCE Theme=Gtk Language=it_IT.UTF-8 Memory=2951M [Libraries] Cairo=libcairo.so.2.11510.0 Curl=libcurl.so.4.5.0 DBus=libdbus-1.so.3.19.4 GStreamer=libgstreamer-1.0.so.0.1404.0 GTK+2=libgtk-x11-2.0.so.0.2400.32 GTK+3=libgtk-3.so.0.2200.30 OpenGL=libGL.so.1.0.0 Poppler=libpoppler.so.73.0.0 QT4=libQtCore.so.4.8.7 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CLUTTER_BACKEND=x11 COLORTERM=truecolor COLUMNS=80 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=xubuntu DISPLAY=:0.0 GB_GUI=gb.qt4 GDMSESSION=xubuntu GDM_LANG=it GLADE_CATALOG_PATH=: GLADE_MODULE_PATH=: GLADE_PIXMAP_PATH=: GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 GTK_OVERLAY_SCROLLING=0 HOME=/home/ LANG=it_IT.UTF-8 LANGUAGE=it_IT.UTF-8 LESSCLOSE=/usr/bin/lesspipe %s %s LESSOPEN=| /usr/bin/lesspipe %s LINES=24 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:mi=00: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:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=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:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36: OLDPWD=/home/ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PWD=/usr/bin QT_ACCESSIBILITY=1 QT_QPA_PLATFORMTHEME=gtk2 SESSION_MANAGER=local/:@/tmp/.ICE-unix/831,unix/:/tmp/.ICE-unix/831 SHELL=/bin/bash SHLVL=1 SSH_AGENT_PID=813 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TERM=xterm-256color TZ=:/etc/localtime USER= VTE_VERSION=5202 WINDOWID=58720259 XAUTHORITY=/home//.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-xubuntu:/etc/xdg:/etc/xdg XDG_CURRENT_DESKTOP=XFCE XDG_DATA_DIRS=/usr/share/xubuntu:/usr/share/xfce4:/usr/local/share:/usr/share:/var/lib/snapd/desktop:/usr/share XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=xfce- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=xubuntu XDG_SESSION_ID=c1 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 _=/usr/bin/gdb -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Mon Jul 1 14:51:41 2019 From: bagonergi at gmail.com (Gianluigi) Date: Mon, 1 Jul 2019 14:51:41 +0200 Subject: [Gambas-user] Division by zero in TextEditor In-Reply-To: <980949aa-62ff-3252-16e0-5a04fef58be3@gmail.com> References: <6eb2970d-2c36-0247-8ceb-9c288005dd8e@gmail.com> <73880525-515a-f89f-0632-41aeaf408a29@gmail.com> <980949aa-62ff-3252-16e0-5a04fef58be3@gmail.com> Message-ID: Il giorno lun 1 lug 2019 alle ore 10:05 Beno?t Minisini ha scritto: > Le 01/07/2019 ? 09:53, Gianluigi a ?crit : > > > > > > Il giorno lun 1 lug 2019 alle ore 09:27 Beno?t Minisini > > > ha scritto: > > > > Le 01/07/2019 ? 01:57, gen braga a ?crit : > > > I also get a segmentation error... > > > > Please get a backtrace of the crash as explained in > > http://gambaswiki.org/wiki/doc/report#t5 > > > > Regards, > > > > -- > > Beno?t Minisini > > > > > > There is something I don't understand, here we talk about Gambas > > installations from PPA. > > To my knowledge there is no ~/gambas3-xxx/app/src/gambas3 directory. > > If you compile Gambas3 Master or Stabile there are no segmentation > problems. > > > > Regards > > Gianluigi > > > > You can run the IDE that way: > > $ cd /usr/bin > $ gdb gbr3 > ... > (gdb) run gambas3 > ... > > -- > Beno?t Minisini > > And this is what I get from a VBox with xubuntu + stable compiled: [0] [1] Regards Gianluigi [0] /usr/bin$ gdb gbr3 GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git Copyright (C) 2018 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 gbr3...done. (gdb) run gambas3 Starting program: /usr/bin/gbr3 gambas3 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffdf002700 (LWP 1799)] [New Thread 0x7fffda2af700 (LWP 1806)] [New Thread 0x7fffd0e91700 (LWP 1811)] [New Thread 0x7fffd0690700 (LWP 1812)] [New Thread 0x7fffceb0d700 (LWP 1819)] [New Thread 0x7fffce0cb700 (LWP 1820)] [New Thread 0x7fffbcaf8700 (LWP 1821)] [New Thread 0x7fff74125700 (LWP 1822)] [Thread 0x7fffceb0d700 (LWP 1819) exited] [Thread 0x7fffda2af700 (LWP 1806) exited] [Thread 0x7fffbcaf8700 (LWP 1821) exited] [Thread 0x7fff74125700 (LWP 1822) exited] [Thread 0x7fffce0cb700 (LWP 1820) exited] [Thread 0x7fffd0690700 (LWP 1812) exited] [Thread 0x7fffdf002700 (LWP 1799) exited] [Thread 0x7ffff7fd70c0 (LWP 1795) exited] [Inferior 1 (process 1795) exited normally] (gdb) bt No stack. (gdb) q --------------------------------------------------- [1] [System] Gambas=3.13.0 99ce608 (stable) OperatingSystem=Linux Kernel=4.15.0-54-generic Architecture=x86_64 Distribution=Ubuntu 18.04.2 LTS Desktop=XFCE Theme=Fusion Language=it_IT.UTF-8 Memory=3001M [Libraries] Cairo=libcairo.so.2.11510.0 DBus=libdbus-1.so.3.19.4 GStreamer=libgstreamer-1.0.so.0.1404.0 GTK+2=libgtk-x11-2.0.so.0.2400.32 GTK+3=libgtk-3.so.0.2200.30 OpenGL=libGL.so.1.0.0 Poppler=libpoppler.so.73.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.9.5 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CLUTTER_BACKEND=x11 DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=xubuntu DISPLAY=:0.0 GB_GUI=gb.qt5 GDMSESSION=xubuntu GDM_LANG=it GLADE_CATALOG_PATH=: GLADE_MODULE_PATH=: GLADE_PIXMAP_PATH=: GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1 GTK_OVERLAY_SCROLLING=0 HOME= LANG=it_IT.UTF-8 LANGUAGE=it_IT.UTF-8 LOGNAME= PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin PWD= QT_ACCESSIBILITY=1 QT_QPA_PLATFORMTHEME=gtk2 SESSION_MANAGER=local/:@/tmp/.ICE-unix/988,unix/:/tmp/.ICE-unix/988 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=969 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-xubuntu:/etc/xdg:/etc/xdg XDG_CURRENT_DESKTOP=XFCE XDG_DATA_DIRS=/usr/share/xubuntu:/usr/share/xfce4:/usr/local/share:/usr/share:/var/lib/snapd/desktop:/usr/share XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=xfce- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=xubuntu XDG_SESSION_ID=c1 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 -------------- next part -------------- An HTML attachment was scrubbed... URL: From t.lee.davidson at gmail.com Mon Jul 1 15:29:08 2019 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Mon, 1 Jul 2019 09:29:08 -0400 Subject: [Gambas-user] gb.web - two observations In-Reply-To: <382be996-2eb5-8b98-7031-ac4b0e634c7e@gmail.com> References: <382be996-2eb5-8b98-7031-ac4b0e634c7e@gmail.com> Message-ID: <3e0a6c9c-1a80-cafa-2788-1f4524991b4a@gmail.com> Observation 1: The single-quote is for comments. Within a line it comments out all the text that follows it. So yes, it is correct editor behavior. Observation 2: With DB.Subst, DB represents a current database connection. It requires that a connection is first established before using it. Subst, on the other hand, has no such requirement. ___ Lee On 7/1/19 8:02 AM, Vinode Singh Ujlain wrote: > _*Observation 1:*_ > When a session key is enclosed in Single quote .. it spreads after [ (see attached image). Double quoted key works fine. Is this > correct editor behavior ? > > ??? Session[? ' inpString '? ] = "test" > ??? Session["inpString"] = "test" > > _*Observation 2:*_ > > Strange behavior observed with DB.Subst whilst using in GB.Web application. Any clues > > SQL = DB.Subst("SELECT * FROM USERS where Loginid = &1 and Passwd = &2", userid, password) ?? ?? ' Does not work - throws error > No Current Connection .... > SQL = Subst("SELECT * FROM USERS where Loginid = '&1' and Passwd = '&2'", userid, password) ??? ??? ? ' Works Fine > > regards - UZI > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From g4mba5 at gmail.com Mon Jul 1 16:30:07 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Mon, 1 Jul 2019 16:30:07 +0200 Subject: [Gambas-user] gb.web - two observations In-Reply-To: <3e0a6c9c-1a80-cafa-2788-1f4524991b4a@gmail.com> References: <382be996-2eb5-8b98-7031-ac4b0e634c7e@gmail.com> <3e0a6c9c-1a80-cafa-2788-1f4524991b4a@gmail.com> Message-ID: <0dadcc1b-59e4-80ef-c75a-75259da95924@gmail.com> Le 01/07/2019 ? 15:29, T Lee Davidson a ?crit?: > Observation 1: The single-quote is for comments. Within a line it > comments out all the text that follows it. So yes, it is correct editor > behavior. > > Observation 2: With DB.Subst, DB represents a current database > connection. It requires that a connection is first established before > using it. Subst, on the other hand, has no such requirement. > And Observation 3 : you MUST not use Subst() for making SQL request, unless you know what you are doing, which is obviously not the case. Otherwise your application will be subject to SQL request injections. -- Beno?t Minisini From bagonergi at gmail.com Mon Jul 1 17:26:44 2019 From: bagonergi at gmail.com (Gianluigi) Date: Mon, 1 Jul 2019 17:26:44 +0200 Subject: [Gambas-user] Remove a Gambas installation from the system Message-ID: Hi, I tried to completely remove the PPA Gambas installation from xubuntu, I gave these commands to the terminal: ---------------------------------------------------- sudo add-apt-repository -r ppa:gambas-team/gambas3 sudo apt-get --purge remove gambas3 sudo apt-get autoremove gambas3 more Jussi command: sudo rm -f /usr/local/bin/gbx3 /usr/local/bin/gbc3 /usr/local/bin/gba3 /usr/local/bin/gbi3 /usr/local/bin/gbs3 sudo rm -rf /usr/local/lib/gambas3 sudo rm -rf /usr/local/share/gambas3 sudo rm -f /usr/local/bin/gambas3 sudo rm -f /usr/local/bin/gambas3.gambas sudo rm -f /usr/bin/gbx3 /usr/bin/gbc3 /usr/bin/gba3 /usr/bin/gbi3 /usr/local/bin/gbs3 sudo rm -rf /usr/lib/gambas3 sudo rm -rf /usr/share/gambas3 sudo rm -f /usr/bin/gambas3 ----------------------------------------------------- and then I checked with this: ----------------------------------------------------- sudo updatedb locate gambas ----------------------------------------------------- I discovered I had only removed the IDE Then I gave these other commands: ----------------------------------------------------- sudo apt-get --purge remove gambas* sudo apt autoremove ----------------------------------------------------- I have reduced a lot, but these files still remain (in addition to Gambas' projects): ------------------------------------------------------ /etc/apt/sources.list.d/gambas-team-ubuntu-gambas3-bionic.list /etc/apt/sources.list.d/gambas-team-ubuntu-gambas3-bionic.list.save /etc/apt/trusted.gpg.d/gambas-team_ubuntu_gambas3.gpg /var/cache/apt/archives/gambas3-dev_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-args_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb /var/cache/apt/archives/gambas3-gb-cairo_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-chart_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb /var/cache/apt/archives/gambas3-gb-clipper_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-complex_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-compress-bzlib2_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-compress-zlib_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-compress_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-crypt_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-data_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-db-form_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb /var/cache/apt/archives/gambas3-gb-db-mysql_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-db-odbc_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-db-postgresql_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-db-sqlite3_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-db_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-dbus-trayicon_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb /var/cache/apt/archives/gambas3-gb-dbus_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-desktop-gnome-keyring_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-desktop-x11_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-desktop_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-eval-highlight_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb /var/cache/apt/archives/gambas3-gb-form-dialog_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb /var/cache/apt/archives/gambas3-gb-form-editor_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb /var/cache/apt/archives/gambas3-gb-form-mdi_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb /var/cache/apt/archives/gambas3-gb-form-stock_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb /var/cache/apt/archives/gambas3-gb-form-terminal_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb /var/cache/apt/archives/gambas3-gb-form_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb /var/cache/apt/archives/gambas3-gb-gmp_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-gsl_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-gtk-opengl_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-gtk3_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-gtk_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-httpd_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-image-effect_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-image-imlib_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-image-io_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-image_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-inotify_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-libxml_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-logging_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb /var/cache/apt/archives/gambas3-gb-map_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb /var/cache/apt/archives/gambas3-gb-markdown_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb /var/cache/apt/archives/gambas3-gb-media-form_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb /var/cache/apt/archives/gambas3-gb-media_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-memcached_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb /var/cache/apt/archives/gambas3-gb-mime_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-mysql_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-ncurses_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-net-curl_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-net-pop3_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb /var/cache/apt/archives/gambas3-gb-net-smtp_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb /var/cache/apt/archives/gambas3-gb-net_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-openal_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-opengl-glsl_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-opengl-glu_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-opengl-sge_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-opengl_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-openssl_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-option_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-pcre_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-pdf_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-qt4-ext_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-qt4-opengl_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-qt4-webkit_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-qt4_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-report2_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb /var/cache/apt/archives/gambas3-gb-report_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb /var/cache/apt/archives/gambas3-gb-scanner_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb /var/cache/apt/archives/gambas3-gb-sdl-sound_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-sdl2-audio_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-sdl2_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-sdl_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-settings_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb /var/cache/apt/archives/gambas3-gb-signal_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-term-form_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb /var/cache/apt/archives/gambas3-gb-term_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-util-web_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb /var/cache/apt/archives/gambas3-gb-util_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb /var/cache/apt/archives/gambas3-gb-v4l_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-vb_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-web-feed_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb /var/cache/apt/archives/gambas3-gb-web-form_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb /var/cache/apt/archives/gambas3-gb-web_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb /var/cache/apt/archives/gambas3-gb-xml-html_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-xml-rpc_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb /var/cache/apt/archives/gambas3-gb-xml-xslt_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-gb-xml_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3-ide_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb /var/cache/apt/archives/gambas3-runtime_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb /var/cache/apt/archives/gambas3_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb /var/lib/apt/lists/ppa.launchpad.net_gambas-team_gambas3_ubuntu_dists_bionic_InRelease /var/lib/apt/lists/ppa.launchpad.net_gambas-team_gambas3_ubuntu_dists_bionic_main_binary-i386_Packages /var/lib/apt/lists/ppa.launchpad.net_gambas-team_gambas3_ubuntu_dists_bionic_main_i18n_Translation-en ----------------------------------------------------- What am I doing wrong, how can I clean the system completely? Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From yrodas at upnfm.edu.hn Tue Jul 2 06:38:30 2019 From: yrodas at upnfm.edu.hn (Yeshua Rodas) Date: Mon, 1 Jul 2019 22:38:30 -0600 Subject: [Gambas-user] [RFC] Where to place documentation for a library or component? Message-ID: Hello coders. You'll see, I am developing a query builder for Gambas based on a PHP query builder from Nil Portugues ( https://github.com/nilportugues/php-sql-query-builder). At the moment I have almost completed a basic API for `INSERT` and `SELECT` very similar to the original one, with some variations of course. Something like this: Dim builder As SelectBuilder = New SelectBuilder(hConn) Dim result As String builder.select("fake", ["foo", "bar", "baz"]).where().equals("bar", "baz") builder.subWhere("OR").notLike("foo", "something").greaterThan("baz", 6) result = builder.getSql() ' Output: "SELECT fake.foo, fake.bar, fake.baz FROM fake WHERE (fake.bar = 'baz') AND ((fake.foo NOT LIKE 'something') OR (fake.baz > 6))" So, I want to share this early stage for (maybe) get some feedback. Well, now on topic, I'm writing documentation for this stage, but I'm unsure about the best place for it. Usually I create a separated repository and work with ReadTheDocs and reStructuredText, however, gambaswiki.org seems to me a good place to share the project. What do you think? What recommendations or advices can you give to me? Thank you. PD: If someone wants to look up the actual code, here is the URL: https://gitlab.com/xibalba/diana -- E. Yeshua Rodas DTI - UPNFM -------------- next part -------------- An HTML attachment was scrubbed... URL: From rwe-sse at osnanet.de Tue Jul 2 08:24:43 2019 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Tue, 2 Jul 2019 08:24:43 +0200 Subject: [Gambas-user] Small question about installing Message-ID: <0e4ac0a2-7a78-e913-c176-b2182d22e7f5@osnanet.de> On an Ubuntu system, when I say add-apt-repository ppa:gambas-team/gambas3 does this survive any further reboots and updates? Will I have to repeat it whenever I want to update the whole system, or does it automagically pull any newer version from there and ignore the Ubuntu repos? Just to make sure... And thanks for any hints! Rolf From bagonergi at gmail.com Tue Jul 2 13:06:56 2019 From: bagonergi at gmail.com (Gianluigi) Date: Tue, 2 Jul 2019 13:06:56 +0200 Subject: [Gambas-user] Small question about installing In-Reply-To: <0e4ac0a2-7a78-e913-c176-b2182d22e7f5@osnanet.de> References: <0e4ac0a2-7a78-e913-c176-b2182d22e7f5@osnanet.de> Message-ID: Yes, it updates automatically Regards Gianluigi Il giorno mar 2 lug 2019 alle ore 08:25 Rolf-Werner Eilert < rwe-sse at osnanet.de> ha scritto: > On an Ubuntu system, when I say > > add-apt-repository ppa:gambas-team/gambas3 > > does this survive any further reboots and updates? Will I have to repeat > it whenever I want to update the whole system, or does it automagically > pull any newer version from there and ignore the Ubuntu repos? > > Just to make sure... And thanks for any hints! > > Rolf > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From charlie at cogier.com Tue Jul 2 12:23:13 2019 From: charlie at cogier.com (Charlie Ogier) Date: Tue, 2 Jul 2019 11:23:13 +0100 Subject: [Gambas-user] Small question about installing In-Reply-To: <0e4ac0a2-7a78-e913-c176-b2182d22e7f5@osnanet.de> References: <0e4ac0a2-7a78-e913-c176-b2182d22e7f5@osnanet.de> Message-ID: Hi Rolf, The setting will remain until you remove it. If Gambas is updated then you will get the update. You can see the ppa in 'Software Sources' Charlie On 02/07/2019 07:24, Rolf-Werner Eilert wrote: > On an Ubuntu system, when I say > > add-apt-repository ppa:gambas-team/gambas3 > > does this survive any further reboots and updates? Will I have to > repeat it whenever I want to update the whole system, or does it > automagically pull any newer version from there and ignore the Ubuntu > repos? > > Just to make sure... And thanks for any hints! > > Rolf > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From bagonergi at gmail.com Tue Jul 2 13:24:53 2019 From: bagonergi at gmail.com (Gianluigi) Date: Tue, 2 Jul 2019 13:24:53 +0200 Subject: [Gambas-user] ML malfunction Message-ID: It sounds like a joke and it is not the first time it happens. As I reply to an email, immediately after I receive the updates and discover that someone, for example Charlie here [0] had already replied 40 minutes (or more) before. Regards Gianluigi [0] https://lists.gambas-basic.org/pipermail/user/2019-July/067563.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Tue Jul 2 13:38:01 2019 From: bagonergi at gmail.com (Gianluigi) Date: Tue, 2 Jul 2019 13:38:01 +0200 Subject: [Gambas-user] ML malfunction In-Reply-To: References: Message-ID: Il giorno mar 2 lug 2019 alle ore 13:24 Gianluigi ha scritto: > It sounds like a joke and it is not the first time it happens. > As I reply to an email, immediately after I receive the updates and > discover that someone, for example Charlie here [0] had already replied 40 > minutes (or more) before. > > Regards > Gianluigi > > [0] https://lists.gambas-basic.org/pipermail/user/2019-July/067563.html > I enclose confirmation screenshots -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ml malfunction.png Type: image/png Size: 25815 bytes Desc: not available URL: From charlie at cogier.com Tue Jul 2 13:35:29 2019 From: charlie at cogier.com (Charlie Ogier) Date: Tue, 2 Jul 2019 12:35:29 +0100 Subject: [Gambas-user] ML malfunction In-Reply-To: References: Message-ID: I noticed this. I sent a reply at 11.23 but only got a confirmation email at 12:13! It always does this. Charlie On 02/07/2019 12:24, Gianluigi wrote: > It sounds like a joke and it is not the first time it happens. > As I reply to an email, immediately after I receive the updates and > discover that someone, for example Charlie here [0] had already > replied 40 minutes (or more) before. > > Regards > Gianluigi > > [0] https://lists.gambas-basic.org/pipermail/user/2019-July/067563.html > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Tue Jul 2 14:05:05 2019 From: bagonergi at gmail.com (Gianluigi) Date: Tue, 2 Jul 2019 14:05:05 +0200 Subject: [Gambas-user] ML malfunction In-Reply-To: References: Message-ID: Perhaps, before answering, we should look at the user archives: https://lists.gambas-basic.org/pipermail/user/ Gianluigi Il giorno mar 2 lug 2019 alle ore 13:52 Charlie Ogier ha scritto: > I noticed this. I sent a reply at 11.23 but only got a confirmation email > at 12:13! It always does this. > > Charlie > > On 02/07/2019 12:24, Gianluigi wrote: > > It sounds like a joke and it is not the first time it happens. > As I reply to an email, immediately after I receive the updates and > discover that someone, for example Charlie here [0] had already replied 40 > minutes (or more) before. > > Regards > Gianluigi > > [0] https://lists.gambas-basic.org/pipermail/user/2019-July/067563.html > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Tue Jul 2 14:34:24 2019 From: bagonergi at gmail.com (Gianluigi) Date: Tue, 2 Jul 2019 14:34:24 +0200 Subject: [Gambas-user] Official Gambas Forum Message-ID: Hi Benoit, it would be nice to have a forum, we would avoid the problems of ML. We would be advised if one has already entered an answer. Ease of entering the code... etc. Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From yrodas at upnfm.edu.hn Tue Jul 2 16:57:39 2019 From: yrodas at upnfm.edu.hn (Yeshua Rodas) Date: Tue, 2 Jul 2019 08:57:39 -0600 Subject: [Gambas-user] Official Gambas Forum In-Reply-To: References: Message-ID: Also we can promote the `gambas` tag on Stackoverflow. :) https://stackoverflow.com/questions/tagged/gambas El mar., 2 jul. 2019 a las 6:35, Gianluigi () escribi?: > Hi Benoit, > it would be nice to have a forum, we would avoid the problems of ML. > We would be advised if one has already entered an answer. > Ease of entering the code... etc. > > Regards > Gianluigi > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -- E. Yeshua Rodas DTI - UPNFM -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at servinfo.it Tue Jul 2 18:54:12 2019 From: gambas at servinfo.it (Marco Ancillotti) Date: Tue, 2 Jul 2019 18:54:12 +0200 Subject: [Gambas-user] Nested data source Message-ID: <2adb1d9b-16af-3c1a-e34d-6d48dbcead6c@servinfo.it> Hi all, I have a problem using nested data source , if I put a datasource2 inside a datasource1 ( graphically ) when I change datasource1 filter I get no result from datasource2. Somethink like: print datasource2.count??? --> 119 ( or somethink else ) datasource1.filter = 'cod > 30' datasource1.movefirst() print datasource2.count??? --> 0 When I move datasource2 outside datasource1 it work as expected. Is this a bug ? thank's in advance, marco. From sharon at 455.co.il Tue Jul 2 22:06:17 2019 From: sharon at 455.co.il (Mayost Sharon) Date: Tue, 2 Jul 2019 23:06:17 +0300 Subject: [Gambas-user] Can I encrypt a string Message-ID: <20190702200423.M75939@455.co.il> hello Can I encrypt a string Such as PHP $plaintext = "my string sharon"; $ivlen = openssl_cipher_iv_length($cipher="AES-128-CBC"); $key = "mykey12345678"; $iv = openssl_random_pseudo_bytes($ivlen); $ciphertext_raw = openssl_encrypt($plaintext, $cipher, $key, $options=OPENSSL_RAW_DATA, $iv); $hmac = hash_hmac('sha256', $ciphertext_raw, $key, $as_binary=true); $ciphertext = base64_encode( $iv.$hmac.$ciphertext_raw ); thenk From g4mba5 at gmail.com Tue Jul 2 22:33:09 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 2 Jul 2019 22:33:09 +0200 Subject: [Gambas-user] Nested data source In-Reply-To: <2adb1d9b-16af-3c1a-e34d-6d48dbcead6c@servinfo.it> References: <2adb1d9b-16af-3c1a-e34d-6d48dbcead6c@servinfo.it> Message-ID: Le 02/07/2019 ? 18:54, Marco Ancillotti a ?crit?: > Hi all, > > I have a problem using nested data source , if I put a datasource2 > inside a datasource1 ( graphically ) when I change datasource1 filter I > get no result from datasource2. > > Somethink like: > > print datasource2.count??? --> 119 ( or somethink else ) > datasource1.filter = 'cod > 30' > datasource1.movefirst() > print datasource2.count??? --> 0 > > When I move datasource2 outside datasource1 it work as expected. > > Is this a bug ? > > thank's in advance, > > marco. > No, it's by design. A datasource is filtered by the current record of its parent datasource. Of course, they are supposed to have key fiels in common. Regards, -- Beno?t Minisini From g4mba5 at gmail.com Tue Jul 2 22:36:39 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 2 Jul 2019 22:36:39 +0200 Subject: [Gambas-user] [RFC] Where to place documentation for a library or component? In-Reply-To: References: Message-ID: <7123d306-9e66-c227-b689-4588a5e0ebd2@gmail.com> Le 02/07/2019 ? 06:38, Yeshua Rodas a ?crit?: > Hello coders. > > You'll see, I am developing a query builder for Gambas based on a PHP > query builder from Nil Portugues > (https://github.com/nilportugues/php-sql-query-builder). > > At the moment I have almost completed a basic API for `INSERT` and > `SELECT` very similar to the original one, with some variations of > course. Something like this: > > ? Dim builder As SelectBuilder = New SelectBuilder(hConn) > ? Dim result As String > > ? builder.select("fake", ["foo", "bar", "baz"]).where().equals("bar", > "baz") > ? builder.subWhere("OR").notLike("foo", "something").greaterThan("baz", 6) > > ? result = builder.getSql() > ? ' Output:?"SELECT fake.foo, fake.bar, fake.baz FROM fake WHERE > (fake.bar = 'baz') AND ((fake.foo NOT LIKE 'something') OR (fake.baz > 6))" There is a similar class in 'gb.db' named SqlRequest, with apparently less features. Maybe you should have enhanced it instead! > > So, I want to share this early stage for (maybe) get some feedback. > Well, now on topic, I'm writing documentation for this stage, but I'm > unsure about the best place for it. Usually I create a separated > repository and work with ReadTheDocs and reStructuredText, however, > gambaswiki.org seems to me a good place to share > the project. I don't know what you mean exactly... The Gambas wiki is for writing documentation about Gambas components, not about private components. Regards, -- Beno?t Minisini From rwe-sse at osnanet.de Wed Jul 3 08:32:57 2019 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Wed, 3 Jul 2019 08:32:57 +0200 Subject: [Gambas-user] Treeview with vertical lines? Message-ID: <068aabe7-f4af-b223-dbad-8e2f090a09a1@osnanet.de> Is it possible to add a vertical line to the Treeview so it is easier to see which branch belongs to which parent? Just like the lines in the Gambas editor for blocks... Thanks for any hints. Rolf From adamnt42 at gmail.com Wed Jul 3 09:20:44 2019 From: adamnt42 at gmail.com (Bruce) Date: Wed, 3 Jul 2019 16:50:44 +0930 Subject: [Gambas-user] Treeview with vertical lines? In-Reply-To: <068aabe7-f4af-b223-dbad-8e2f090a09a1@osnanet.de> References: <068aabe7-f4af-b223-dbad-8e2f090a09a1@osnanet.de> Message-ID: <42aeb21a-d8e9-18a5-6eb5-4e5dabe1b43a@gmail.com> Looks like its possible in QT5 using stylesheets : QTreeView::branch:has-siblings:!adjoins-item { border-image: url(vline.png) 0; } QTreeView::branch:has-siblings:adjoins-item { border-image: url(branch-more.png) 0; } QTreeView::branch:!has-children:!has-siblings:adjoins-item { border-image: url(branch-end.png) 0; } QTreeView::branch:has-children:!has-siblings:closed, QTreeView::branch:closed:has-children:has-siblings { border-image: none; image: url(branch-closed.png); } QTreeView::branch:open:has-children:!has-siblings, QTreeView::branch:open:has-children:has-siblings { border-image: none; image: url(branch-open.png); } See https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtreeview towards the bottom of the page hth b On 3/7/19 4:02 pm, Rolf-Werner Eilert wrote: > Is it possible to add a vertical line to the Treeview so it is easier to > see which branch belongs to which parent? > > Just like the lines in the Gambas editor for blocks... > > Thanks for any hints. > > Rolf > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From bagonergi at gmail.com Wed Jul 3 09:44:20 2019 From: bagonergi at gmail.com (Gianluigi) Date: Wed, 3 Jul 2019 09:44:20 +0200 Subject: [Gambas-user] Treeview with vertical lines? In-Reply-To: <42aeb21a-d8e9-18a5-6eb5-4e5dabe1b43a@gmail.com> References: <068aabe7-f4af-b223-dbad-8e2f090a09a1@osnanet.de> <42aeb21a-d8e9-18a5-6eb5-4e5dabe1b43a@gmail.com> Message-ID: Something like that? [0] Regards Gianluigi [0] Public Sub Form_Open() Dim b As New Border("style:none;right-style:solid;color:orange;width:2;") With GridView1 .Header = 3 .Columns.Count = 4 .Columns.Width = 120 .Columns[0].Text = "ID" .Columns[1].Text = "NAME" .Columns[2].Text = "SURNAME" .Columns[3].Text = "DATE" .Rows.Count = 10 End With For r As Integer = 0 To GridView1.Rows.Max For c As Integer = 0 To GridView1.Columns.Max GridView1[r, c].Border = b Next Next End '------------------------------------------------------------------------------------------------ Il giorno mer 3 lug 2019 alle ore 09:21 Bruce ha scritto: > Looks like its possible in QT5 using stylesheets : > > QTreeView::branch:has-siblings:!adjoins-item { > border-image: url(vline.png) 0; > } > > QTreeView::branch:has-siblings:adjoins-item { > border-image: url(branch-more.png) 0; > } > > QTreeView::branch:!has-children:!has-siblings:adjoins-item { > border-image: url(branch-end.png) 0; > } > > QTreeView::branch:has-children:!has-siblings:closed, > QTreeView::branch:closed:has-children:has-siblings { > border-image: none; > image: url(branch-closed.png); > } > > QTreeView::branch:open:has-children:!has-siblings, > QTreeView::branch:open:has-children:has-siblings { > border-image: none; > image: url(branch-open.png); > } > > See > https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtreeview > towards the bottom of the page > hth > > b > > > On 3/7/19 4:02 pm, Rolf-Werner Eilert wrote: > > Is it possible to add a vertical line to the Treeview so it is easier to > > see which branch belongs to which parent? > > > > Just like the lines in the Gambas editor for blocks... > > > > Thanks for any hints. > > > > Rolf > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Wed Jul 3 09:55:27 2019 From: bagonergi at gmail.com (Gianluigi) Date: Wed, 3 Jul 2019 09:55:27 +0200 Subject: [Gambas-user] Treeview with vertical lines? In-Reply-To: References: <068aabe7-f4af-b223-dbad-8e2f090a09a1@osnanet.de> <42aeb21a-d8e9-18a5-6eb5-4e5dabe1b43a@gmail.com> Message-ID: Sorry I'm still sleeping, I had read GreedView :-( Regards Gianluigi Il giorno mer 3 lug 2019 alle ore 09:44 Gianluigi ha scritto: > Something like that? [0] > Regards > Gianluigi > [0] > Public Sub Form_Open() > > Dim b As New Border("style:none;right-style:solid;color:orange;width:2;") > > With GridView1 > .Header = 3 > .Columns.Count = 4 > .Columns.Width = 120 > .Columns[0].Text = "ID" > .Columns[1].Text = "NAME" > .Columns[2].Text = "SURNAME" > .Columns[3].Text = "DATE" > .Rows.Count = 10 > End With > For r As Integer = 0 To GridView1.Rows.Max > For c As Integer = 0 To GridView1.Columns.Max > GridView1[r, c].Border = b > Next > Next > > End > > '------------------------------------------------------------------------------------------------ > > Il giorno mer 3 lug 2019 alle ore 09:21 Bruce ha > scritto: > >> Looks like its possible in QT5 using stylesheets : >> >> QTreeView::branch:has-siblings:!adjoins-item { >> border-image: url(vline.png) 0; >> } >> >> QTreeView::branch:has-siblings:adjoins-item { >> border-image: url(branch-more.png) 0; >> } >> >> QTreeView::branch:!has-children:!has-siblings:adjoins-item { >> border-image: url(branch-end.png) 0; >> } >> >> QTreeView::branch:has-children:!has-siblings:closed, >> QTreeView::branch:closed:has-children:has-siblings { >> border-image: none; >> image: url(branch-closed.png); >> } >> >> QTreeView::branch:open:has-children:!has-siblings, >> QTreeView::branch:open:has-children:has-siblings { >> border-image: none; >> image: url(branch-open.png); >> } >> >> See >> https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtreeview >> towards the bottom of the page >> hth >> >> b >> >> >> On 3/7/19 4:02 pm, Rolf-Werner Eilert wrote: >> > Is it possible to add a vertical line to the Treeview so it is easier >> to >> > see which branch belongs to which parent? >> > >> > Just like the lines in the Gambas editor for blocks... >> > >> > Thanks for any hints. >> > >> > Rolf >> > >> > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >> ]---- >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rwe-sse at osnanet.de Wed Jul 3 10:22:11 2019 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Wed, 3 Jul 2019 10:22:11 +0200 Subject: [Gambas-user] Treeview with vertical lines? In-Reply-To: References: <068aabe7-f4af-b223-dbad-8e2f090a09a1@osnanet.de> <42aeb21a-d8e9-18a5-6eb5-4e5dabe1b43a@gmail.com> Message-ID: :-))) Have a cup of coffee, mine is empty meanwhile, it helps :) Rolf Am 03.07.19 um 09:55 schrieb Gianluigi: > Sorry I'm still sleeping, I had read GreedView :-( > > Regards > Gianluigi > > Il giorno mer 3 lug 2019 alle ore 09:44 Gianluigi > ha scritto: > > Something like that? [0] > Regards > Gianluigi > [0] > Public Sub Form_Open() > > ? Dim b As New > Border("style:none;right-style:solid;color:orange;width:2;") > > ? With GridView1 > ? ? .Header = 3 > ? ? .Columns.Count = 4 > ? ? .Columns.Width = 120 > ? ? .Columns[0].Text = "ID" > ? ? .Columns[1].Text = "NAME" > ? ? .Columns[2].Text = "SURNAME" > ? ? .Columns[3].Text = "DATE" > ? ? .Rows.Count = 10 > ? End With > ? For r As Integer = 0 To GridView1.Rows.Max > ? ? For c As Integer = 0 To GridView1.Columns.Max > ? ? ? GridView1[r, c].Border = b > ? ? Next > ? Next > > End > '------------------------------------------------------------------------------------------------ > > Il giorno mer 3 lug 2019 alle ore 09:21 Bruce > ha scritto: > > Looks like its possible in QT5 using stylesheets : > > QTreeView::branch:has-siblings:!adjoins-item { > ? ? ?border-image: url(vline.png) 0; > } > > QTreeView::branch:has-siblings:adjoins-item { > ? ? ?border-image: url(branch-more.png) 0; > } > > QTreeView::branch:!has-children:!has-siblings:adjoins-item { > ? ? ?border-image: url(branch-end.png) 0; > } > > QTreeView::branch:has-children:!has-siblings:closed, > QTreeView::branch:closed:has-children:has-siblings { > ? ? ? ? ?border-image: none; > ? ? ? ? ?image: url(branch-closed.png); > } > > QTreeView::branch:open:has-children:!has-siblings, > QTreeView::branch:open:has-children:has-siblings? { > ? ? ? ? ?border-image: none; > ? ? ? ? ?image: url(branch-open.png); > } > > See > https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtreeview > > towards the bottom of the page > hth > > b > > > On 3/7/19 4:02 pm, Rolf-Werner Eilert wrote: > > Is it possible to add a vertical line to the Treeview so it > is easier to > > see which branch belongs to which parent? > > > > Just like the lines in the Gambas editor for blocks... > > > > Thanks for any hints. > > > > Rolf > > > > ----[ Gambas mailing-list is hosted by > https://www.hostsharing.net ]---- > > ----[ Gambas mailing-list is hosted by > https://www.hostsharing.net ]---- > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From g4mba5 at gmail.com Wed Jul 3 10:22:39 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 3 Jul 2019 10:22:39 +0200 Subject: [Gambas-user] Treeview with vertical lines? In-Reply-To: <42aeb21a-d8e9-18a5-6eb5-4e5dabe1b43a@gmail.com> References: <068aabe7-f4af-b223-dbad-8e2f090a09a1@osnanet.de> <42aeb21a-d8e9-18a5-6eb5-4e5dabe1b43a@gmail.com> Message-ID: <4e095ecb-01d3-31a5-b7d0-dfeb9e1a79c4@gmail.com> Le 03/07/2019 ? 09:20, Bruce a ?crit?: > Looks like its possible in QT5 using stylesheets : > > QTreeView::branch:has-siblings:!adjoins-item { > ??? border-image: url(vline.png) 0; > } > > QTreeView::branch:has-siblings:adjoins-item { > ??? border-image: url(branch-more.png) 0; > } > > QTreeView::branch:!has-children:!has-siblings:adjoins-item { > ??? border-image: url(branch-end.png) 0; > } > > QTreeView::branch:has-children:!has-siblings:closed, > QTreeView::branch:closed:has-children:has-siblings { > ??????? border-image: none; > ??????? image: url(branch-closed.png); > } > > QTreeView::branch:open:has-children:!has-siblings, > QTreeView::branch:open:has-children:has-siblings? { > ??????? border-image: none; > ??????? image: url(branch-open.png); > } > > See > https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtreeview > towards the bottom of the page > hth > > b > Except that TreeView is not a QT widget anymore. It is entirely written in Gambas now. -- Beno?t Minisini From adamnt42 at gmail.com Wed Jul 3 10:25:11 2019 From: adamnt42 at gmail.com (Bruce) Date: Wed, 3 Jul 2019 17:55:11 +0930 Subject: [Gambas-user] Treeview with vertical lines? In-Reply-To: <4e095ecb-01d3-31a5-b7d0-dfeb9e1a79c4@gmail.com> References: <068aabe7-f4af-b223-dbad-8e2f090a09a1@osnanet.de> <42aeb21a-d8e9-18a5-6eb5-4e5dabe1b43a@gmail.com> <4e095ecb-01d3-31a5-b7d0-dfeb9e1a79c4@gmail.com> Message-ID: On 3/7/19 5:52 pm, Beno?t Minisini wrote: > Le 03/07/2019 ? 09:20, Bruce a ?crit?: >> Looks like its possible in QT5 using stylesheets : >> >> QTreeView::branch:has-siblings:!adjoins-item { >> ???? border-image: url(vline.png) 0; >> } >> >> QTreeView::branch:has-siblings:adjoins-item { >> ???? border-image: url(branch-more.png) 0; >> } >> >> QTreeView::branch:!has-children:!has-siblings:adjoins-item { >> ???? border-image: url(branch-end.png) 0; >> } >> >> QTreeView::branch:has-children:!has-siblings:closed, >> QTreeView::branch:closed:has-children:has-siblings { >> ???????? border-image: none; >> ???????? image: url(branch-closed.png); >> } >> >> QTreeView::branch:open:has-children:!has-siblings, >> QTreeView::branch:open:has-children:has-siblings? { >> ???????? border-image: none; >> ???????? image: url(branch-open.png); >> } >> >> See >> https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtreeview >> towards the bottom of the page >> hth >> >> b >> > > Except that TreeView is not a QT widget anymore. It is entirely written > in Gambas now. > Ah well, seemed like a good idea at the time. :-( b From rwe-sse at osnanet.de Wed Jul 3 10:33:36 2019 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Wed, 3 Jul 2019 10:33:36 +0200 Subject: [Gambas-user] Treeview with vertical lines? In-Reply-To: <4e095ecb-01d3-31a5-b7d0-dfeb9e1a79c4@gmail.com> References: <068aabe7-f4af-b223-dbad-8e2f090a09a1@osnanet.de> <42aeb21a-d8e9-18a5-6eb5-4e5dabe1b43a@gmail.com> <4e095ecb-01d3-31a5-b7d0-dfeb9e1a79c4@gmail.com> Message-ID: Am 03.07.19 um 10:22 schrieb Beno?t Minisini: > Le 03/07/2019 ? 09:20, Bruce a ?crit?: >> Looks like its possible in QT5 using stylesheets : >> >> QTreeView::branch:has-siblings:!adjoins-item { >> ???? border-image: url(vline.png) 0; >> } >> >> QTreeView::branch:has-siblings:adjoins-item { >> ???? border-image: url(branch-more.png) 0; >> } >> >> QTreeView::branch:!has-children:!has-siblings:adjoins-item { >> ???? border-image: url(branch-end.png) 0; >> } >> >> QTreeView::branch:has-children:!has-siblings:closed, >> QTreeView::branch:closed:has-children:has-siblings { >> ???????? border-image: none; >> ???????? image: url(branch-closed.png); >> } >> >> QTreeView::branch:open:has-children:!has-siblings, >> QTreeView::branch:open:has-children:has-siblings? { >> ???????? border-image: none; >> ???????? image: url(branch-open.png); >> } >> >> See >> https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtreeview >> towards the bottom of the page >> hth >> >> b >> > > Except that TreeView is not a QT widget anymore. It is entirely written > in Gambas now. > Oh, that would mean it can be easily tweaked, wouldn't it? Rolf From bagonergi at gmail.com Wed Jul 3 11:34:40 2019 From: bagonergi at gmail.com (Gianluigi) Date: Wed, 3 Jul 2019 11:34:40 +0200 Subject: [Gambas-user] Treeview with vertical lines? In-Reply-To: References: <068aabe7-f4af-b223-dbad-8e2f090a09a1@osnanet.de> <42aeb21a-d8e9-18a5-6eb5-4e5dabe1b43a@gmail.com> <4e095ecb-01d3-31a5-b7d0-dfeb9e1a79c4@gmail.com> Message-ID: Il giorno mer 3 lug 2019 alle ore 10:34 Rolf-Werner Eilert < rwe-sse at osnanet.de> ha scritto: > Am 03.07.19 um 10:22 schrieb Beno?t Minisini: > > Le 03/07/2019 ? 09:20, Bruce a ?crit : > >> Looks like its possible in QT5 using stylesheets : > >> > >> QTreeView::branch:has-siblings:!adjoins-item { > >> border-image: url(vline.png) 0; > >> } > >> > >> QTreeView::branch:has-siblings:adjoins-item { > >> border-image: url(branch-more.png) 0; > >> } > >> > >> QTreeView::branch:!has-children:!has-siblings:adjoins-item { > >> border-image: url(branch-end.png) 0; > >> } > >> > >> QTreeView::branch:has-children:!has-siblings:closed, > >> QTreeView::branch:closed:has-children:has-siblings { > >> border-image: none; > >> image: url(branch-closed.png); > >> } > >> > >> QTreeView::branch:open:has-children:!has-siblings, > >> QTreeView::branch:open:has-children:has-siblings { > >> border-image: none; > >> image: url(branch-open.png); > >> } > >> > >> See > >> https://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qtreeview > >> towards the bottom of the page > >> hth > >> > >> b > >> > > > > Except that TreeView is not a QT widget anymore. It is entirely written > > in Gambas now. > > > > Oh, that would mean it can be easily tweaked, wouldn't it? > > Rolf > > You can start with try: Print TreeView1.Children[0].Name :-) Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Wed Jul 3 11:58:28 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 3 Jul 2019 11:58:28 +0200 Subject: [Gambas-user] Treeview with vertical lines? In-Reply-To: References: <068aabe7-f4af-b223-dbad-8e2f090a09a1@osnanet.de> <42aeb21a-d8e9-18a5-6eb5-4e5dabe1b43a@gmail.com> <4e095ecb-01d3-31a5-b7d0-dfeb9e1a79c4@gmail.com> Message-ID: <8f641922-6d0a-bf79-28d3-2df3162eefa8@gmail.com> Le 03/07/2019 ? 10:33, Rolf-Werner Eilert a ?crit?: >> Except that TreeView is not a QT widget anymore. It is entirely >> written in Gambas now. >> > > Oh, that would mean it can be easily tweaked, wouldn't it? > > Rolf > Not so easy, but I added the expected property in commit https://gitlab.com/gambas/gambas/commit/6ef1ef4a6ea71fa2a4c089a9449b56bf48b5d5ff. Regards, -- Beno?t Minisini From chrisml at deganius.de Wed Jul 3 13:06:30 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Wed, 3 Jul 2019 13:06:30 +0200 Subject: [Gambas-user] No ML malfunction! In-Reply-To: References: Message-ID: <3334096a-9bbf-2831-8cf4-b00dcfd7f4fb@deganius.de> Am 02.07.19 um 13:35 schrieb Charlie Ogier: > I noticed this. I sent a reply at 11.23 but only got a confirmation > email at 12:13! It always does this. > > Charlie I took your mail and read the headers. Look here (read from bottom to top), you'll find some strange time entries in the servers which transported your mail before it received the Hostsharing servers. So your problem with time delay can be seen in the headers: > Received: from bmailout1.hostsharing.net (bmailout1.hostsharing.net [83.223.95.100]) > (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) > (No client certificate requested) > by degmail.deganius.de (Postfix) with ESMTPS id 538FC3A0AA > for ; Tue, 2 Jul 2019 13:52:03 +0200 (CEST) > Received: from h08.hostsharing.net (h08.hostsharing.net [83.223.95.28]) > (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) > (Client CN "*.hostsharing.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (not verified)) > by bmailout1.hostsharing.net (Postfix) with ESMTPS id 1737F30000CF4; > Tue, 2 Jul 2019 13:52:03 +0200 (CEST) > Received: from h08.hostsharing.net (localhost [127.0.0.1]) > (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) > (No client certificate requested) > by h08.hostsharing.net (Postfix) with ESMTPSA id BF2342064D6F; > Tue, 2 Jul 2019 13:52:02 +0200 (CEST) > X-Original-To: user at lists.gambas-basic.org > Delivered-To: gbs00-lists+user at h08.hostsharing.net > Received: from mailin1.hostsharing.net (mailin1.hostsharing.net > [83.223.95.203]) > (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) > (Client CN "*.hostsharing.net", > Issuer "COMODO RSA Domain Validation Secure Server CA" (not verified)) > by h08.hostsharing.net (Postfix) with ESMTPS id 7CEE571D82 > for ; Tue, 2 Jul 2019 13:51:46 +0200 (CEST) Here unifiedlayer.com is slow: > Received: from gproxy6-pub.mail.unifiedlayer.com > (outbound-ss-348.hostmonster.com [74.220.202.212]) > (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) > (No client certificate requested) > by mailin1.hostsharing.net (Postfix) with ESMTPS id 08C2616D0E7 > for ; Tue, 2 Jul 2019 13:51:45 +0200 (CEST) > Received: from cmgw14.unifiedlayer.com (unknown [10.9.0.14]) > by gproxy6.mail.unifiedlayer.com (Postfix) with ESMTP id 8BA6E1E0BC1 > for ; Tue, 2 Jul 2019 05:35:32 -0600 (MDT) > Received: from just101.justhost.com ([173.254.28.101]) by cmsmtp with ESMTP > id iH4OhVCUvXFO5iH4OhwGjm; Tue, 02 Jul 2019 05:35:32 -0600 > X-Authority-Reason: nr=8 > Received: from [78.41.5.40] (port=58022 helo=[192.168.2.127]) > by just101.justhost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) > (Exim 4.92) (envelope-from ) id 1hiH4N-000FQ4-NC > for user at lists.gambas-basic.org; Tue, 02 Jul 2019 05:35:31 -0600 So this is no ML malfunction. Please blame your providers for their slow servers! Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: From t.lee.davidson at gmail.com Wed Jul 3 13:13:26 2019 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Wed, 3 Jul 2019 07:13:26 -0400 Subject: [Gambas-user] Can I encrypt a string In-Reply-To: <20190702200423.M75939@455.co.il> References: <20190702200423.M75939@455.co.il> Message-ID: You might want to take a look at the gb.openssl component: http://gambaswiki.org/wiki/comp/gb.openssl Or, perhaps gb.crypt if you want something simpler for passwords: http://gambaswiki.org/wiki/comp/gb.crypt/crypt ___ Lee On 7/2/19 4:06 PM, Mayost Sharon wrote: > hello > > Can I encrypt a string > > Such as PHP > $plaintext = "my string sharon"; > $ivlen = openssl_cipher_iv_length($cipher="AES-128-CBC"); > $key = "mykey12345678"; > $iv = openssl_random_pseudo_bytes($ivlen); > $ciphertext_raw = openssl_encrypt($plaintext, $cipher, $key, $options=OPENSSL_RAW_DATA, > $iv); > $hmac = hash_hmac('sha256', $ciphertext_raw, $key, $as_binary=true); > $ciphertext = base64_encode( $iv.$hmac.$ciphertext_raw ); > > thenk > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From bagonergi at gmail.com Wed Jul 3 13:25:09 2019 From: bagonergi at gmail.com (Gianluigi) Date: Wed, 3 Jul 2019 13:25:09 +0200 Subject: [Gambas-user] No ML malfunction! In-Reply-To: <3334096a-9bbf-2831-8cf4-b00dcfd7f4fb@deganius.de> References: <3334096a-9bbf-2831-8cf4-b00dcfd7f4fb@deganius.de> Message-ID: Il giorno mer 3 lug 2019 alle ore 13:07 Christof Thalhofer < chrisml at deganius.de> ha scritto: > ... > I took your mail and read the headers. > > Look here (read from bottom to top), you'll find some strange time > entries in the servers which transported your mail before it received > the Hostsharing servers. So your problem with time delay can be seen in > the headers: > ... > So this is no ML malfunction. Please blame your providers for their slow > servers! > > > Alles Gute > > Christof Thalhofer > > Dear Christof, I know well that it's not your fault, you do a great job and I'm sorry and I apologize if I offended you with my mails. With great esteem Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From chrisml at deganius.de Wed Jul 3 14:58:31 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Wed, 3 Jul 2019 14:58:31 +0200 Subject: [Gambas-user] No ML malfunction! In-Reply-To: References: <3334096a-9bbf-2831-8cf4-b00dcfd7f4fb@deganius.de> Message-ID: Hello Gianluigi, Am 03.07.19 um 13:25 schrieb Gianluigi: > I know well that it's not your fault, you do a great job and I'm sorry > and I apologize if I offended you with my mails. > > With great esteem > Gianluigi No, no, don't worry, I'm not offended at all! I just wanted to show that it depends a bit on which mail provider someone has his home with. And thank you very much for your praise! It saves my day! :-) Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: From sharon at 455.co.il Wed Jul 3 15:50:24 2019 From: sharon at 455.co.il (Mayost Sharon) Date: Wed, 3 Jul 2019 16:50:24 +0300 Subject: [Gambas-user] Can I encrypt a string In-Reply-To: References: <20190702200423.M75939@455.co.il> Message-ID: <20190703134547.M29340@455.co.il> hello First Thank you I ran the code according to this documentation: http://gambaswiki.org/wiki/comp/gb.openssl/cipher It gives such output: Cipher text (base64): U2FsdGVkX1/v8DsOOaNFFEnWaJm6I0RN2O9zt+JrLZg= Decrypted: Hello there^E^E^E^E^EHello there ERROR: Decryption failed It adds signs ^E^E^E^E^E And writes two times: Hello there ---------- Original Message ----------- From: T Lee Davidson To: user at lists.gambas-basic.org Sent: Wed, 3 Jul 2019 07:13:26 -0400 Subject: Re: [Gambas-user] Can I encrypt a string > You might want to take a look at the gb.openssl component: http://gambaswiki.org/wiki/comp/gb.openssl > > Or, perhaps gb.crypt if you want something simpler for passwords: http://gambaswiki.org/wiki/comp/gb.crypt/crypt > > ___ > Lee > > On 7/2/19 4:06 PM, Mayost Sharon wrote: > > hello > > > > Can I encrypt a string > > > > Such as PHP > > $plaintext = "my string sharon"; > > $ivlen = openssl_cipher_iv_length($cipher="AES-128-CBC"); > > $key = "mykey12345678"; > > $iv = openssl_random_pseudo_bytes($ivlen); > > $ciphertext_raw = openssl_encrypt($plaintext, $cipher, $key, $options=OPENSSL_RAW_DATA, > > $iv); > > $hmac = hash_hmac('sha256', $ciphertext_raw, $key, $as_binary=true); > > $ciphertext = base64_encode( $iv.$hmac.$ciphertext_raw ); > > > > thenk > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- ------- End of Original Message ------- From sharon at 455.co.il Wed Jul 3 16:12:30 2019 From: sharon at 455.co.il (Mayost Sharon) Date: Wed, 3 Jul 2019 17:12:30 +0300 Subject: [Gambas-user] Can I encrypt a string In-Reply-To: <20190703134547.M29340@455.co.il> References: <20190702200423.M75939@455.co.il> <20190703134547.M29340@455.co.il> Message-ID: <20190703141048.M14994@455.co.il> Sorry My test was on version 3.10 I checked version 3.12.2 It works very well Thanks again ---------- Original Message ----------- From: "Mayost Sharon" To: Gambas Mailing List Sent: Wed, 3 Jul 2019 16:50:24 +0300 Subject: Re: [Gambas-user] Can I encrypt a string > hello > > First > Thank you > > I ran the code according to this documentation: > http://gambaswiki.org/wiki/comp/gb.openssl/cipher > > It gives such output: > Cipher text (base64): U2FsdGVkX1/v8DsOOaNFFEnWaJm6I0RN2O9zt+JrLZg= > Decrypted: Hello there^E^E^E^E^EHello there > ERROR: Decryption failed > > It adds signs > ^E^E^E^E^E > > And writes two times: > Hello there > > ---------- Original Message ----------- > From: T Lee Davidson > To: user at lists.gambas-basic.org > Sent: Wed, 3 Jul 2019 07:13:26 -0400 > Subject: Re: [Gambas-user] Can I encrypt a string > > > You might want to take a look at the gb.openssl component: > http://gambaswiki.org/wiki/comp/gb.openssl > > > > Or, perhaps gb.crypt if you want something simpler for passwords: > http://gambaswiki.org/wiki/comp/gb.crypt/crypt > > > > ___ > > Lee > > > > On 7/2/19 4:06 PM, Mayost Sharon wrote: > > > hello > > > > > > Can I encrypt a string > > > > > > Such as PHP > > > $plaintext = "my string sharon"; > > > $ivlen = openssl_cipher_iv_length($cipher="AES-128-CBC"); > > > $key = "mykey12345678"; > > > $iv = openssl_random_pseudo_bytes($ivlen); > > > $ciphertext_raw = openssl_encrypt($plaintext, $cipher, $key, $options=OPENSSL_RAW_DATA, > > > $iv); > > > $hmac = hash_hmac('sha256', $ciphertext_raw, $key, $as_binary=true); > > > $ciphertext = base64_encode( $iv.$hmac.$ciphertext_raw ); > > > > > > thenk > > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > ------- End of Original Message ------- > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- ------- End of Original Message ------- From gambas at servinfo.it Wed Jul 3 18:56:37 2019 From: gambas at servinfo.it (Marco Ancillotti) Date: Wed, 3 Jul 2019 18:56:37 +0200 Subject: [Gambas-user] Nested data source In-Reply-To: References: <2adb1d9b-16af-3c1a-e34d-6d48dbcead6c@servinfo.it> Message-ID: <2229513e-76db-48fd-d7b6-71060d7eb359@servinfo.it> uhmmm, so I have a graphical design problem , I have a form that would like to be like: 1)---------input from datasource1------------- 2)---------insert into datasource2------------- 3)---------input from datasource1------------- Is there a way to move third part to a datasource3 and link datasource 1 to 3 ? If I move datasource 2 to bottom the graphical design will be hard to understand. thank's. Il 02/07/19 22:33, Beno?t Minisini ha scritto: > Le 02/07/2019 ? 18:54, Marco Ancillotti a ?crit?: >> Hi all, >> >> I have a problem using nested data source , if I put a datasource2 >> inside a datasource1 ( graphically ) when I change datasource1 filter >> I get no result from datasource2. >> >> Somethink like: >> >> print datasource2.count??? --> 119 ( or somethink else ) >> datasource1.filter = 'cod > 30' >> datasource1.movefirst() >> print datasource2.count??? --> 0 >> >> When I move datasource2 outside datasource1 it work as expected. >> >> Is this a bug ? >> >> thank's in advance, >> >> marco. >> > > No, it's by design. A datasource is filtered by the current record of > its parent datasource. Of course, they are supposed to have key fiels > in common. > > Regards, > From gambas at servinfo.it Wed Jul 3 18:51:50 2019 From: gambas at servinfo.it (Marco Ancillotti) Date: Wed, 3 Jul 2019 18:51:50 +0200 Subject: [Gambas-user] datacontrol date problem Message-ID: <39009f5a-81a7-7372-72c5-2dcbe1026257@servinfo.it> Hi all, I have a datacontrol with a date type field in postgresql ( date type only have date without time ). When I use it the field display date and time ( time is always 00:00 ) , when I try to change the control to set the mode to date only using: datacontrol.Control.mode = 0 I get "Datebox.mode is not a control' error. So the datacontrol don't detect correctly the field type ( date only without time ) and when I try to force it I get the error. Is there a way to set the mode or to force the datacontrol to use the right field type in any way ? thank's, marco. From g4mba5 at gmail.com Wed Jul 3 19:15:37 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 3 Jul 2019 19:15:37 +0200 Subject: [Gambas-user] Nested data source In-Reply-To: <2229513e-76db-48fd-d7b6-71060d7eb359@servinfo.it> References: <2adb1d9b-16af-3c1a-e34d-6d48dbcead6c@servinfo.it> <2229513e-76db-48fd-d7b6-71060d7eb359@servinfo.it> Message-ID: <4bfaeaae-9c40-159d-c304-50dc873aec14@gmail.com> Le 03/07/2019 ? 18:56, Marco Ancillotti a ?crit?: > uhmmm, so I have a graphical design problem , I have a form that would > like to be like: > > 1)---------input from datasource1------------- > > 2)---------insert into datasource2------------- > > 3)---------input from datasource1------------- > > Is there a way to move third part to a datasource3 and link datasource 1 > to 3 ? > If I move datasource 2 to bottom the graphical design will be hard to > understand. > > thank's. > Sorry, can you be more precise? -- Beno?t Minisini From genbraga1 at gmail.com Thu Jul 4 00:11:01 2019 From: genbraga1 at gmail.com (gen braga) Date: Wed, 3 Jul 2019 19:11:01 -0300 Subject: [Gambas-user] Division by zero in TextEditor In-Reply-To: <73880525-515a-f89f-0632-41aeaf408a29@gmail.com> References: <6eb2970d-2c36-0247-8ceb-9c288005dd8e@gmail.com> <73880525-515a-f89f-0632-41aeaf408a29@gmail.com> Message-ID: Using gdb I got no crash at all, even after trying several times. But sometimes (1 out of 10, maybe) I got an warning ("Corrupted shared library list"), as seen below. Even when the warning occours, the IDE showed up and there were no backtraces. Tried to run without gdb and, again, there were segmentation errors. --------------- (gdb) run gambas3 Starting program: /usr/bin/gbr3 gambas3 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1". gb.gui.qt: warning: 'gb.qt5' component not found, using 'gb.qt4' instead warning: Corrupted shared library list: 0x83cbc00 != 0x8377000 [New Thread 0xaec0fb40 (LWP 5242)] [New Thread 0xae1bab40 (LWP 5243)] [New Thread 0xad9b9b40 (LWP 5244)] [New Thread 0xabf92b40 (LWP 5251)] [New Thread 0xab313b40 (LWP 5257)] - Gen 2019-07-01 4:26 GMT-03:00, Beno?t Minisini : > Le 01/07/2019 ? 01:57, gen braga a ?crit : >> I also get a segmentation error... > > Please get a backtrace of the crash as explained in > http://gambaswiki.org/wiki/doc/report#t5 > > Regards, > > -- > Beno?t Minisini > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From genbraga1 at gmail.com Thu Jul 4 00:39:17 2019 From: genbraga1 at gmail.com (gen braga) Date: Wed, 3 Jul 2019 19:39:17 -0300 Subject: [Gambas-user] Division by zero in TextEditor In-Reply-To: <73880525-515a-f89f-0632-41aeaf408a29@gmail.com> References: <6eb2970d-2c36-0247-8ceb-9c288005dd8e@gmail.com> <73880525-515a-f89f-0632-41aeaf408a29@gmail.com> Message-ID: Going further, I got a backtrace by retracing the core dump from one of the segmentation faults. results attached. - Gen 2019-07-01 4:26 GMT-03:00, Beno?t Minisini : > Le 01/07/2019 ? 01:57, gen braga a ?crit : >> I also get a segmentation error... > > Please get a backtrace of the crash as explained in > http://gambaswiki.org/wiki/doc/report#t5 > > Regards, > > -- > Beno?t Minisini > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- $ apport-retrace -g /var/crash/_usr_bin_gbx3.1000.crash GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 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 "i686-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". Lendo s?mbolos de /usr/bin/gbx3...(no debugging symbols found)...conclu?do. warning: core file may not match specified executable file. [New LWP 2054] warning: .dynamic section for "/usr/lib/gambas3/gb.clipper.so" is not at the expected address (wrong library or version mismatch?) [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1". Core was generated by `gbr3 gambas3'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0xaff13032 in ?? () from /usr/lib/gambas3/gb.jit.so (gdb) bt #0 0xaff13032 in ?? () from /usr/lib/gambas3/gb.jit.so #1 0xaff175cd in ?? () from /usr/lib/gambas3/gb.jit.so #2 0xaff13bda in ?? () from /usr/lib/gambas3/gb.jit.so #3 0xaff04876 in ?? () from /usr/lib/gambas3/gb.jit.so #4 0x0808c17c in ?? () #5 0x00001e02 in ?? () #6 0x00000000 in ?? () From gambas at servinfo.it Thu Jul 4 10:04:09 2019 From: gambas at servinfo.it (Marco Ancillotti) Date: Thu, 4 Jul 2019 10:04:09 +0200 Subject: [Gambas-user] Nested data source In-Reply-To: <4bfaeaae-9c40-159d-c304-50dc873aec14@gmail.com> References: <2adb1d9b-16af-3c1a-e34d-6d48dbcead6c@servinfo.it> <2229513e-76db-48fd-d7b6-71060d7eb359@servinfo.it> <4bfaeaae-9c40-159d-c304-50dc873aec14@gmail.com> Message-ID: <38a614ae-e7ad-5282-a25e-616a0b7b66d4@servinfo.it> Il 03/07/19 19:15, Beno?t Minisini ha scritto: > Le 03/07/2019 ? 18:56, Marco Ancillotti a ?crit?: >> uhmmm, so I have a graphical design problem , I have a form that >> would like to be like: >> >> 1)---------input from datasource1------------- >> >> 2)---------insert into datasource2------------- >> >> 3)---------input from datasource1------------- >> >> Is there a way to move third part to a datasource3 and link >> datasource 1 to 3 ? >> If I move datasource 2 to bottom the graphical design will be hard to >> understand. >> >> thank's. >> > > Sorry, can you be more precise? > The problem is only graphical, I've made two example of what I have not working and the solution I've imagine if is possible to link two datasource. Obviously if anyone finds a better solution it's welcome. -------------- next part -------------- A non-text attachment was scrubbed... Name: not working.png Type: image/png Size: 18425 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: solution idea.png Type: image/png Size: 20966 bytes Desc: not available URL: From bagonergi at gmail.com Thu Jul 4 10:43:22 2019 From: bagonergi at gmail.com (Gianluigi) Date: Thu, 4 Jul 2019 10:43:22 +0200 Subject: [Gambas-user] Division by zero in TextEditor In-Reply-To: References: <6eb2970d-2c36-0247-8ceb-9c288005dd8e@gmail.com> <73880525-515a-f89f-0632-41aeaf408a29@gmail.com> Message-ID: Our friend here, he solved by installing Xubuntu 64 bit with Gambas stable from PPA. Regards Gianluigi Il giorno gio 4 lug 2019 alle ore 00:40 gen braga ha scritto: > Going further, I got a backtrace by retracing the core dump from one > of the segmentation faults. > > results attached. > > - > Gen > > 2019-07-01 4:26 GMT-03:00, Beno?t Minisini : > > Le 01/07/2019 ? 01:57, gen braga a ?crit : > >> I also get a segmentation error... > > > > Please get a backtrace of the crash as explained in > > http://gambaswiki.org/wiki/doc/report#t5 > > > > Regards, > > > > -- > > Beno?t Minisini > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From t.lee.davidson at gmail.com Thu Jul 4 15:54:31 2019 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Thu, 4 Jul 2019 09:54:31 -0400 Subject: [Gambas-user] Nested data source In-Reply-To: <38a614ae-e7ad-5282-a25e-616a0b7b66d4@servinfo.it> References: <2adb1d9b-16af-3c1a-e34d-6d48dbcead6c@servinfo.it> <2229513e-76db-48fd-d7b6-71060d7eb359@servinfo.it> <4bfaeaae-9c40-159d-c304-50dc873aec14@gmail.com> <38a614ae-e7ad-5282-a25e-616a0b7b66d4@servinfo.it> Message-ID: On 7/4/19 4:04 AM, Marco Ancillotti wrote: > Il 03/07/19 19:15, Beno?t Minisini ha scritto: >> Le 03/07/2019 ? 18:56, Marco Ancillotti a ?crit?: >>> uhmmm, so I have a graphical design problem , I have a form that would like to be like: >>> >>> 1)---------input from datasource1------------- >>> >>> 2)---------insert into datasource2------------- >>> >>> 3)---------input from datasource1------------- >>> >>> Is there a way to move third part to a datasource3 and link datasource 1 to 3 ? >>> If I move datasource 2 to bottom the graphical design will be hard to understand. >>> >>> thank's. >>> >> >> Sorry, can you be more precise? >> > The problem is only graphical, I've made two example of what I have not working and the solution I've imagine if is possible to > link two datasource. > > Obviously if anyone finds a better solution it's welcome. > It is difficult to determine exactly what you are trying to accomplish. But, it appears as though you are perhaps trying to join data from two distinct tables. The Table property of a DataSource can take a SQL SELECT statement, ie. "SELECT a.field1, b.field3 from a, b". (http://gambaswiki.org/wiki/comp/gb.db.form/datasource/table) You might need to use a SQL JOIN in the SELECT statement to get what you need, or maybe a SQL Subquery would do the trick. ___ Lee From g4mba5 at gmail.com Thu Jul 4 16:17:36 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 4 Jul 2019 16:17:36 +0200 Subject: [Gambas-user] Nested data source In-Reply-To: <38a614ae-e7ad-5282-a25e-616a0b7b66d4@servinfo.it> References: <2adb1d9b-16af-3c1a-e34d-6d48dbcead6c@servinfo.it> <2229513e-76db-48fd-d7b6-71060d7eb359@servinfo.it> <4bfaeaae-9c40-159d-c304-50dc873aec14@gmail.com> <38a614ae-e7ad-5282-a25e-616a0b7b66d4@servinfo.it> Message-ID: <4294cd25-8803-f45a-6071-0a55b03998f7@gmail.com> Le 04/07/2019 ? 10:04, Marco Ancillotti a ?crit?: > Il 03/07/19 19:15, Beno?t Minisini ha scritto: >> Le 03/07/2019 ? 18:56, Marco Ancillotti a ?crit?: >>> uhmmm, so I have a graphical design problem , I have a form that >>> would like to be like: >>> >>> 1)---------input from datasource1------------- >>> >>> 2)---------insert into datasource2------------- >>> >>> 3)---------input from datasource1------------- >>> >>> Is there a way to move third part to a datasource3 and link >>> datasource 1 to 3 ? >>> If I move datasource 2 to bottom the graphical design will be hard to >>> understand. >>> >>> thank's. >>> >> >> Sorry, can you be more precise? >> > The problem is only graphical, I've made two example of what I have not > working and the solution I've imagine if is possible to link two > datasource. > > Obviously if anyone finds a better solution it's welcome. > I will add a property that tells a DataSource not to use its parent DataSource to filter itself. It should solve your problem. I'm just trying to find a good name for that property. Regards, -- Beno?t Minisini From gambas at servinfo.it Fri Jul 5 19:22:48 2019 From: gambas at servinfo.it (Marco Ancillotti) Date: Fri, 5 Jul 2019 19:22:48 +0200 Subject: [Gambas-user] Nested data source In-Reply-To: <4294cd25-8803-f45a-6071-0a55b03998f7@gmail.com> References: <2adb1d9b-16af-3c1a-e34d-6d48dbcead6c@servinfo.it> <2229513e-76db-48fd-d7b6-71060d7eb359@servinfo.it> <4bfaeaae-9c40-159d-c304-50dc873aec14@gmail.com> <38a614ae-e7ad-5282-a25e-616a0b7b66d4@servinfo.it> <4294cd25-8803-f45a-6071-0a55b03998f7@gmail.com> Message-ID: <9c4d13f0-3351-8543-df49-d286076c9dd8@servinfo.it> Il 04/07/19 16:17, Beno?t Minisini ha scritto: > Le 04/07/2019 ? 10:04, Marco Ancillotti a ?crit?: >> Il 03/07/19 19:15, Beno?t Minisini ha scritto: >>> Le 03/07/2019 ? 18:56, Marco Ancillotti a ?crit?: >>>> uhmmm, so I have a graphical design problem , I have a form that >>>> would like to be like: >>>> >>>> 1)---------input from datasource1------------- >>>> >>>> 2)---------insert into datasource2------------- >>>> >>>> 3)---------input from datasource1------------- >>>> >>>> Is there a way to move third part to a datasource3 and link >>>> datasource 1 to 3 ? >>>> If I move datasource 2 to bottom the graphical design will be hard >>>> to understand. >>>> >>>> thank's. >>>> >>> >>> Sorry, can you be more precise? >>> >> The problem is only graphical, I've made two example of what I have >> not working and the solution I've imagine if is possible to link two >> datasource. >> >> Obviously if anyone finds a better solution it's welcome. >> > > I will add a property that tells a DataSource not to use its parent > DataSource to filter itself. It should solve your problem. > > I'm just trying to find a good name for that property. > > Regards, > I suggest a boolean "isolate" property :-D From bagonergi at gmail.com Fri Jul 5 19:36:59 2019 From: bagonergi at gmail.com (Gianluigi) Date: Fri, 5 Jul 2019 19:36:59 +0200 Subject: [Gambas-user] datacontrol date problem In-Reply-To: <39009f5a-81a7-7372-72c5-2dcbe1026257@servinfo.it> References: <39009f5a-81a7-7372-72c5-2dcbe1026257@servinfo.it> Message-ID: You can try this: -------------------------- Dim hDate As DateBox DataControl1.Field = "xxxx" hDate = DataControl1.Children[0] hDate.Mode = 0 -------------------------- Regards Gianluigi Il giorno mer 3 lug 2019 alle ore 18:59 Marco Ancillotti ha scritto: > Hi all, > > I have a datacontrol with a date type field in postgresql ( date type > only have date without time ). > > When I use it the field display date and time ( time is always 00:00 ) , > when I try to change the control to set the mode to date only using: > > datacontrol.Control.mode = 0 > > I get "Datebox.mode is not a control' error. > > So the datacontrol don't detect correctly the field type ( date only > without time ) and when I try to force it I get the error. > > Is there a way to set the mode or to force the datacontrol to use the > right field type in any way ? > > thank's, > > marco. > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From karl.reinl at fen-net.de Fri Jul 5 19:50:33 2019 From: karl.reinl at fen-net.de (Karl Reinl) Date: Fri, 05 Jul 2019 19:50:33 +0200 Subject: [Gambas-user] Nested data source In-Reply-To: <9c4d13f0-3351-8543-df49-d286076c9dd8@servinfo.it> References: <2adb1d9b-16af-3c1a-e34d-6d48dbcead6c@servinfo.it> <2229513e-76db-48fd-d7b6-71060d7eb359@servinfo.it> <4bfaeaae-9c40-159d-c304-50dc873aec14@gmail.com> <38a614ae-e7ad-5282-a25e-616a0b7b66d4@servinfo.it> <4294cd25-8803-f45a-6071-0a55b03998f7@gmail.com> <9c4d13f0-3351-8543-df49-d286076c9dd8@servinfo.it> Message-ID: <1562349033.13429.7.camel@Scenic.local> Am Freitag, den 05.07.2019, 19:22 +0200 schrieb Marco Ancillotti: > Il 04/07/19 16:17, Beno?t Minisini ha scritto: > > Le 04/07/2019 ? 10:04, Marco Ancillotti a ?crit : > >> Il 03/07/19 19:15, Beno?t Minisini ha scritto: > >>> Le 03/07/2019 ? 18:56, Marco Ancillotti a ?crit : > >>>> uhmmm, so I have a graphical design problem , I have a form that > >>>> would like to be like: > >>>> > >>>> 1)---------input from datasource1------------- > >>>> > >>>> 2)---------insert into datasource2------------- > >>>> > >>>> 3)---------input from datasource1------------- > >>>> > >>>> Is there a way to move third part to a datasource3 and link > >>>> datasource 1 to 3 ? > >>>> If I move datasource 2 to bottom the graphical design will be hard > >>>> to understand. > >>>> > >>>> thank's. > >>>> > >>> > >>> Sorry, can you be more precise? > >>> > >> The problem is only graphical, I've made two example of what I have > >> not working and the solution I've imagine if is possible to link two > >> datasource. > >> > >> Obviously if anyone finds a better solution it's welcome. > >> > > > > I will add a property that tells a DataSource not to use its parent > > DataSource to filter itself. It should solve your problem. > > > > I'm just trying to find a good name for that property. > > > > Regards, > > > I suggest a boolean "isolate" property :-D > parentSource=datasource_X the property is by default the datasource like now, but we can change, even make a relationship another connection. -- Amicalement Charlie From gambas at servinfo.it Sat Jul 6 10:17:39 2019 From: gambas at servinfo.it (Marco Ancillotti) Date: Sat, 6 Jul 2019 10:17:39 +0200 Subject: [Gambas-user] datacontrol date problem In-Reply-To: References: <39009f5a-81a7-7372-72c5-2dcbe1026257@servinfo.it> Message-ID: Il 05/07/19 19:36, Gianluigi ha scritto: > You can try this: > -------------------------- > ? Dim hDate As DateBox > > ? DataControl1.Field = "xxxx" > ? hDate = DataControl1.Children[0] > ? hDate.Mode = 0 > -------------------------- > > Regards > Gianluigi Wow , good shot ! It work's like a charm !! thank's a lot. From gambas.fr at gmail.com Sat Jul 6 17:40:09 2019 From: gambas.fr at gmail.com (Fabien Bodard) Date: Sat, 6 Jul 2019 17:40:09 +0200 Subject: [Gambas-user] Gambas Disks Info Message-ID: Hi dears friends; I've writted a new set of classes to manage the disks info and to be informed in real time of changes such as disk adding/Removing, Block (partitions) adding/removing, and file system mounting/unmounting. These classes just give a small set of info. There were designed to be able to use multiple driver ... even if for now, it just use the UDisk Dbus. And to test all of that ... what is better than a file explorer ? ;-) So in the attached archive the testing example in a File Explorer. Have Fun, and don't miss to tell me all your fellings about that. Regards, -- Fabien Bodard -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: gb.disks-0.0.1.tar.gz Type: application/gzip Size: 18911 bytes Desc: not available URL: From gambas.fr at gmail.com Sat Jul 6 17:40:51 2019 From: gambas.fr at gmail.com (Fabien Bodard) Date: Sat, 6 Jul 2019 17:40:51 +0200 Subject: [Gambas-user] Gambas Disks Info In-Reply-To: References: Message-ID: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot_20190706_173151.png Type: image/png Size: 132193 bytes Desc: not available URL: From taboege at gmail.com Sat Jul 6 20:02:29 2019 From: taboege at gmail.com (Tobias Boege) Date: Sat, 6 Jul 2019 20:02:29 +0200 Subject: [Gambas-user] Official Gambas Forum In-Reply-To: References: Message-ID: <20190706180229.GA1426@highrise.localdomain> On Tue, 02 Jul 2019, Gianluigi wrote: > Hi Benoit, > it would be nice to have a forum, we would avoid the problems of ML. > We would be advised if one has already entered an answer. > Ease of entering the code... etc. > There are English-speaking fora already, notably(?) forum.gambas.one, which might already be the forum version of the mailing list. I dunno. I for one like my local Maildir and email client a thousand times better than a hardly programmable browser view of a remote application managing my answers. I search the mailing list archive _a lot_ and in ways that fora are unlikely to support. My brain will memorise things like "Beno?t said something relevant to this topic, in a thread originated by Bruce in 2017 and there was another mail in that thread that contained an attachment". My client supports these kinds of queries and they're fast. If a forum does not allow participation by email, or any other format that lets me transparently save all correspondences in an open (plain text) data format, I will stay out of it. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From bagonergi at gmail.com Sat Jul 6 20:28:39 2019 From: bagonergi at gmail.com (Gianluigi) Date: Sat, 6 Jul 2019 20:28:39 +0200 Subject: [Gambas-user] Official Gambas Forum In-Reply-To: <20190706180229.GA1426@highrise.localdomain> References: <20190706180229.GA1426@highrise.localdomain> Message-ID: Il giorno sab 6 lug 2019 alle ore 20:03 Tobias Boege ha scritto: > On Tue, 02 Jul 2019, Gianluigi wrote: > > Hi Benoit, > > it would be nice to have a forum, we would avoid the problems of ML. > > We would be advised if one has already entered an answer. > > Ease of entering the code... etc. > > > > There are English-speaking fora already, notably(?) forum.gambas.one, > which might already be the forum version of the mailing list. I dunno. > > I for one like my local Maildir and email client a thousand times better > than a hardly programmable browser view of a remote application managing > my answers. I search the mailing list archive _a lot_ and in ways that > fora are unlikely to support. My brain will memorise things like "Beno?t > said something relevant to this topic, in a thread originated by Bruce > in 2017 and there was another mail in that thread that contained an > attachment". My client supports these kinds of queries and they're fast. > If a forum does not allow participation by email, or any other format > that lets me transparently save all correspondences in an open (plain > text) data format, I will stay out of it. > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > Yes I know Gambas-one, here vuott keeps us informed about all its relevant news. My proposal was formulated because a malfunction on the timing of receiving replies on the ML [0], which your answer now tells me to withdraw immediately. :-) Regards Gianluigi [0] https://lists.gambas-basic.org/pipermail/user/2019-July/067564.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From taboege at gmail.com Sat Jul 6 20:30:06 2019 From: taboege at gmail.com (Tobias Boege) Date: Sat, 6 Jul 2019 20:30:06 +0200 Subject: [Gambas-user] Official Gambas Forum In-Reply-To: <20190706180229.GA1426@highrise.localdomain> References: <20190706180229.GA1426@highrise.localdomain> Message-ID: <20190706183006.GB1426@highrise.localdomain> On Sat, 06 Jul 2019, Tobias Boege wrote: > On Tue, 02 Jul 2019, Gianluigi wrote: > > Hi Benoit, > > it would be nice to have a forum, we would avoid the problems of ML. > > We would be advised if one has already entered an answer. > > Ease of entering the code... etc. > > > > There are English-speaking fora already, notably(?) forum.gambas.one, > which might already be the forum version of the mailing list. I dunno. > > If a forum does not allow participation by email, ... > I will stay out of it. > Hrm. Of course this is not to say that this should stop people from making a forum *alternative*. gambas.one seems to be doing fine without me :-P I unconsciously fell into a "it's either this or that" line of thinking and wanted to take the mailing list's side, which was wrong and surely not what the inquiry intended (although progressing fragmentation is concern). Please interpret my last email as my slightly off-topic opinion on forums in general: if I write something, I want to retain a local copy of it, which forums normally do not provide. The point that gambas.one already exists still stands, though. As for the original problem: yes, email transport is horrible, but I feel like there is a more important pain point: "all mail clients suck". Entering and displaying Gambas code is purely a client-side problem. And I do think that my client sucks less enough in that regard that I really like doing everything by email. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From taboege at gmail.com Sat Jul 6 21:51:49 2019 From: taboege at gmail.com (Tobias Boege) Date: Sat, 6 Jul 2019 21:51:49 +0200 Subject: [Gambas-user] Can I encrypt a string In-Reply-To: <20190702200423.M75939@455.co.il> References: <20190702200423.M75939@455.co.il> Message-ID: <20190706195149.GC1426@highrise.localdomain> On Tue, 02 Jul 2019, Mayost Sharon wrote: > hello > > Can I encrypt a string > > Such as PHP > $plaintext = "my string sharon"; > $ivlen = openssl_cipher_iv_length($cipher="AES-128-CBC"); > $key = "mykey12345678"; > $iv = openssl_random_pseudo_bytes($ivlen); > $ciphertext_raw = openssl_encrypt($plaintext, $cipher, $key, $options=OPENSSL_RAW_DATA, > $iv); > $hmac = hash_hmac('sha256', $ciphertext_raw, $key, $as_binary=true); > $ciphertext = base64_encode( $iv.$hmac.$ciphertext_raw ); > I just added the two missing features to gb.openssl that prevented the above from being transcribed to Gambas: (1) Passing arbitrary digest methods to HMac() is now possible, (2) Random strings can be generated now by OpenSSL.RandomBytes. If you use the master branch (will probably land in Gambas 3.14), you can now write: Public Sub Main() ' $plaintext = "my string sharon"; Dim plain As String = "my string sharon" ' $ivlen = openssl_cipher_iv_length($cipher="AES-128-CBC"); Dim ivlen As Integer = Cipher["AES-128-CBC"].IvLength ' $key = "mykey12345678"; Dim key As String = "mykey12345678\0\0\0" ' key length has to match Cipher[].KeyLength, I padded it with NULs ' $iv = openssl_random_pseudo_bytes($ivlen); Dim iv As String = OpenSSL.RandomBytes(ivlen) ' $ciphertext_raw = openssl_encrypt($plaintext, $cipher, $key, $options=OPENSSL_RAW_DATA, $iv); Dim ciphertext_raw As CipherText = Cipher["AES-128-CBC"].Encrypt(plain, key, iv) ' $hmac = hash_hmac('sha256', $ciphertext_raw, $key, $as_binary=true); Dim mac As String = HMac(key, ciphertext_raw.Cipher, "sha256") ' $ciphertext = base64_encode( $iv.$hmac.$ciphertext_raw ); Dim ciphertext As String = Base64$(iv & mac & ciphertext_raw.Cipher) Print ciphertext End Sample output: 60AuJch4tam0f9hmRz9gYYlSdyvfsvMoVLlbEt0aHy7hJycxGWf/mBAlHBjkGE0HiVJ3K9+y8yhUuVsS3RofLuEnJzEZZ/+YECUcGOQYTQc= Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From sharon at 455.co.il Sun Jul 7 10:29:48 2019 From: sharon at 455.co.il (Mayost Sharon) Date: Sun, 7 Jul 2019 11:29:48 +0300 Subject: [Gambas-user] Can I encrypt a string In-Reply-To: <20190706195149.GC1426@highrise.localdomain> References: <20190702200423.M75939@455.co.il> <20190706195149.GC1426@highrise.localdomain> Message-ID: <20190707082646.M97810@455.co.il> Thank you very much In Fedora 30 the version is: 3.12 I have to wait for the version 3.14 If I use this example: http://gambas.sourceforge.net/en/main.html# Do I lose anything in security? ---------- Original Message ----------- From: Tobias Boege To: Gambas Mailing List Sent: Sat, 6 Jul 2019 21:51:49 +0200 Subject: Re: [Gambas-user] Can I encrypt a string > On Tue, 02 Jul 2019, Mayost Sharon wrote: > > hello > > > > Can I encrypt a string > > > > Such as PHP > > $plaintext = "my string sharon"; > > $ivlen = openssl_cipher_iv_length($cipher="AES-128-CBC"); > > $key = "mykey12345678"; > > $iv = openssl_random_pseudo_bytes($ivlen); > > $ciphertext_raw = openssl_encrypt($plaintext, $cipher, $key, $options=OPENSSL_RAW_DATA, > > $iv); > > $hmac = hash_hmac('sha256', $ciphertext_raw, $key, $as_binary=true); > > $ciphertext = base64_encode( $iv.$hmac.$ciphertext_raw ); > > > > I just added the two missing features to gb.openssl that prevented the above > from being transcribed to Gambas: > > (1) Passing arbitrary digest methods to HMac() is now possible, > (2) Random strings can be generated now by OpenSSL.RandomBytes. > > If you use the master branch (will probably land in Gambas 3.14), you can now > write: > > Public Sub Main() > ' $plaintext = "my string sharon"; > Dim plain As String = "my string sharon" > > ' $ivlen = openssl_cipher_iv_length($cipher="AES-128-CBC"); > Dim ivlen As Integer = Cipher["AES-128-CBC"].IvLength > > ' $key = "mykey12345678"; > Dim key As String = "mykey12345678\0\0\0" ' key length has to match > Cipher[].KeyLength, I padded it with NULs > > ' $iv = openssl_random_pseudo_bytes($ivlen); > Dim iv As String = OpenSSL.RandomBytes(ivlen) > > ' $ciphertext_raw = openssl_encrypt($plaintext, $cipher, $key, > $options=OPENSSL_RAW_DATA, $iv); Dim ciphertext_raw As CipherText = > Cipher["AES-128-CBC"].Encrypt(plain, key, iv) > > ' $hmac = hash_hmac('sha256', $ciphertext_raw, $key, $as_binary=true); > Dim mac As String = HMac(key, ciphertext_raw.Cipher, "sha256") > > ' $ciphertext = base64_encode( $iv.$hmac.$ciphertext_raw ); > Dim ciphertext As String = Base64$(iv & mac & ciphertext_raw.Cipher) > > Print ciphertext > End > > Sample output: > > 60AuJch4tam0f9hmRz9gYYlSdyvfsvMoVLlbEt0aHy7hJycxGWf/mBAlHBjkGE0HiVJ3K9+y8yhUuVsS3RofLuEnJzEZZ/+YECUcGOQYTQc= > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- ------- End of Original Message ------- From taboege at gmail.com Sun Jul 7 10:35:31 2019 From: taboege at gmail.com (Tobias Boege) Date: Sun, 7 Jul 2019 10:35:31 +0200 Subject: [Gambas-user] Can I encrypt a string In-Reply-To: <20190707082646.M97810@455.co.il> References: <20190702200423.M75939@455.co.il> <20190706195149.GC1426@highrise.localdomain> <20190707082646.M97810@455.co.il> Message-ID: <20190707083531.GD1426@highrise.localdomain> On Sun, 07 Jul 2019, Mayost Sharon wrote: > Thank you very much > > In Fedora 30 the version is: 3.12 > I have to wait for the version 3.14 > > > If I use this example: > http://gambas.sourceforge.net/en/main.html# > > Do I lose anything in security? > You pasted a link to the main iframe of the Gambas homepage, I don't see what you saw. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From sharon at 455.co.il Sun Jul 7 10:40:10 2019 From: sharon at 455.co.il (Mayost Sharon) Date: Sun, 7 Jul 2019 11:40:10 +0300 Subject: [Gambas-user] Can I encrypt a string In-Reply-To: <20190707083531.GD1426@highrise.localdomain> References: <20190702200423.M75939@455.co.il> <20190706195149.GC1426@highrise.localdomain> <20190707082646.M97810@455.co.il> <20190707083531.GD1426@highrise.localdomain> Message-ID: <20190707083906.M56479@455.co.il> Sorry This link: http://gambaswiki.org/wiki/comp/gb.openssl/cipher ---------- Original Message ----------- From: Tobias Boege To: Gambas Mailing List Sent: Sun, 7 Jul 2019 10:35:31 +0200 Subject: Re: [Gambas-user] Can I encrypt a string > On Sun, 07 Jul 2019, Mayost Sharon wrote: > > Thank you very much > > > > In Fedora 30 the version is: 3.12 > > I have to wait for the version 3.14 > > > > > > If I use this example: > > http://gambas.sourceforge.net/en/main.html# > > > > Do I lose anything in security? > > > > You pasted a link to the main iframe of the Gambas homepage, > I don't see what you saw. > > Regards, > Tobi > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- ------- End of Original Message ------- From taboege at gmail.com Sun Jul 7 11:08:03 2019 From: taboege at gmail.com (Tobias Boege) Date: Sun, 7 Jul 2019 11:08:03 +0200 Subject: [Gambas-user] Can I encrypt a string In-Reply-To: <20190707083906.M56479@455.co.il> References: <20190702200423.M75939@455.co.il> <20190706195149.GC1426@highrise.localdomain> <20190707082646.M97810@455.co.il> <20190707083531.GD1426@highrise.localdomain> <20190707083906.M56479@455.co.il> Message-ID: <20190707090803.GE1426@highrise.localdomain> On Sun, 07 Jul 2019, Mayost Sharon wrote: > ---------- Original Message ----------- > From: Tobias Boege > To: Gambas Mailing List > Sent: Sun, 7 Jul 2019 10:35:31 +0200 > Subject: Re: [Gambas-user] Can I encrypt a string > > > On Sun, 07 Jul 2019, Mayost Sharon wrote: > > > Thank you very much > > > > > > In Fedora 30 the version is: 3.12 > > > I have to wait for the version 3.14 > > > > > > > > > If I use this example: > > > http://gambas.sourceforge.net/en/main.html# > > > > > > Do I lose anything in security? > > > > > > > You pasted a link to the main iframe of the Gambas homepage, > > I don't see what you saw. > > > > Sorry > This link: > http://gambaswiki.org/wiki/comp/gb.openssl/cipher > The Encrypt method takes a key and an IV directly, whereas EncryptSalted takes a *password* and a salt, then derives a cryptographic key from them and then this key is used to encrypt the data. The key is derived using PKCS#5 v1.5, an older KDF which gb.openssl uses for compatibility with the `openssl` commandline utility which still has that as the default. I'm no security expert, so now that you know the difference, please make up your own mind about it [1]. If your interface uses passwords (like your code suggests), you likely want EncryptSalted, though. Regards, Tobi [1] https://en.wikipedia.org/wiki/Key_derivation_function -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From gambas at servinfo.it Sun Jul 7 20:01:52 2019 From: gambas at servinfo.it (Marco Ancillotti) Date: Sun, 7 Jul 2019 20:01:52 +0200 Subject: [Gambas-user] datacontrol date problem In-Reply-To: References: <39009f5a-81a7-7372-72c5-2dcbe1026257@servinfo.it> Message-ID: <23fb862c-417c-a7f1-2294-2883f0c8a5a7@servinfo.it> Il 07/07/19 19:36, Hans Lehmann ha scritto: > > In my Gambas program I added the following addition: > > /Dim hDateBox As Datebox// > // > //dcGebDatum.Field = "GebDatum"// > //hDateBox = dcGebDatum.Children[0]// > //hDateBox.Mode = 0/ > > Hans Hi , I solved using the same code you post , but I choose field directly in the gui not in the code , try if it solve , for me it works. -------------- next part -------------- An HTML attachment was scrubbed... URL: From james at lixce.com Mon Jul 8 04:44:45 2019 From: james at lixce.com (james) Date: Mon, 08 Jul 2019 02:44:45 +0000 Subject: [Gambas-user] User Digest, Vol 22, Issue 18 In-Reply-To: Message-ID: <20190708024445.Horde.r0UroL73wSywCcV_qIbcwIf@www.lixce.com> "user-request at lists.gambas-basic.org" ? July 7, 2019 6:14 PM > Send User mailing list submissions to > user at lists.gambas-basic.org > > To subscribe or unsubscribe via the World Wide Web, visit > lists.gambas-basic.org/listinfo/user > or, via email, send a message with subject or body 'help' to > user-request at lists.gambas-basic.org > > You can reach the person managing the list at > user-owner at lists.gambas-basic.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of User digest..." > > > Today's Topics: > > 1. Re: Can I encrypt a string (Mayost Sharon) > 2. Re: Can I encrypt a string (Tobias Boege) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 7 Jul 2019 11:40:10 +0300 > From: "Mayost Sharon" > To: Gambas Mailing List > Subject: Re: [Gambas-user] Can I encrypt a string > Message-ID: <20190707083906.M56479 at 455.co.il> > Content-Type: text/plain; charset=utf-8 > > Sorry > This link: > gambaswiki.org/wiki/comp/gb.openssl/cipher > > ---------- Original Message ----------- > From: Tobias Boege > To: Gambas Mailing List > Sent: Sun, 7 Jul 2019 10:35:31 +0200 > Subject: Re: [Gambas-user] Can I encrypt a string > > > On Sun, 07 Jul 2019, Mayost Sharon wrote: > > > Thank you very much > > > > > > In Fedora 30 the version is: 3.12 > > > I have to wait for the version 3.14 > > > > > > > > > If I use this example: > > > http://gambas.sourceforge.net/en/main.html# > > > > > > Do I lose anything in security? > > > > > > > You pasted a link to the main iframe of the Gambas homepage, > > I don't see what you saw. > > > > Regards, > > Tobi > > > > -- > > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > > ----[ Gambas mailing-list is hosted by www.hostsharing.net ]---- > ------- End of Original Message ------- > > > > ------------------------------ > > Message: 2 > Date: Sun, 7 Jul 2019 11:08:03 +0200 > From: Tobias Boege > To: Gambas Mailing List > Subject: Re: [Gambas-user] Can I encrypt a string > Message-ID: <20190707090803.GE1426 at highrise.localdomain> > Content-Type: text/plain; charset=us-ascii > > On Sun, 07 Jul 2019, Mayost Sharon wrote: > > ---------- Original Message ----------- > > From: Tobias Boege > > To: Gambas Mailing List > > Sent: Sun, 7 Jul 2019 10:35:31 +0200 > > Subject: Re: [Gambas-user] Can I encrypt a string > > > > > On Sun, 07 Jul 2019, Mayost Sharon wrote: > > > > Thank you very much > > > > > > > > In Fedora 30 the version is: 3.12 > > > > I have to wait for the version 3.14 > > > > > > > > > > > > If I use this example: > > > > http://gambas.sourceforge.net/en/main.html# > > > > > > > > Do I lose anything in security? > > > > > > > > > > You pasted a link to the main iframe of the Gambas homepage, > > > I don't see what you saw. > > > > > > > Sorry > > This link: > > gambaswiki.org/wiki/comp/gb.openssl/cipher > > > > The Encrypt method takes a key and an IV directly, whereas EncryptSalted > takes a *password* and a salt, then derives a cryptographic key from them > and then this key is used to encrypt the data. The key is derived using > PKCS#5 v1.5, an older KDF which gb.openssl uses for compatibility with > the `openssl` commandline utility which still has that as the default. > > I'm no security expert, so now that you know the difference, please make > up your own mind about it [1]. If your interface uses passwords (like your > code suggests), you likely want EncryptSalted, though. > > Regards, > Tobi > > [1] en.wikipedia.org/wiki/Key_derivation_function > > -- > "There's an old saying: Don't change anything... ever!" -- Mr. Monk > > > ------------------------------ > > Subject: Digest Footer > > ----[ Gambas mailing-list is hosted by www.hostsharing.net ]---- > > > ------------------------------ > > End of User Digest, Vol 22, Issue 18 > ************************************ From bagonergi at gmail.com Mon Jul 8 09:50:05 2019 From: bagonergi at gmail.com (Gianluigi) Date: Mon, 8 Jul 2019 09:50:05 +0200 Subject: [Gambas-user] datacontrol date problem In-Reply-To: <23fb862c-417c-a7f1-2294-2883f0c8a5a7@servinfo.it> References: <39009f5a-81a7-7372-72c5-2dcbe1026257@servinfo.it> <23fb862c-417c-a7f1-2294-2883f0c8a5a7@servinfo.it> Message-ID: Il giorno dom 7 lug 2019 alle ore 20:02 Marco Ancillotti ha scritto: > Il 07/07/19 19:36, Hans Lehmann ha scritto: > > > In my Gambas program I added the following addition: > > *Dim hDateBox As Datebox* > > *dcGebDatum.Field = "GebDatum"* > *hDateBox = dcGebDatum.Children[0]* > *hDateBox.Mode = 0* > > Hans > > Hi , I solved using the same code you post , but I choose field directly > in the gui not in the code , try if it solve , for me it works. > > > It should work, with any supported database, even setting DataControl from code, but it must be set before any other code. Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Tue Jul 9 14:39:55 2019 From: bagonergi at gmail.com (Gianluigi) Date: Tue, 9 Jul 2019 14:39:55 +0200 Subject: [Gambas-user] Test Message-ID: Ping -------------- next part -------------- An HTML attachment was scrubbed... URL: From admin at allunix.ru Tue Jul 9 14:42:09 2019 From: admin at allunix.ru (Admin) Date: Tue, 9 Jul 2019 19:42:09 +0700 Subject: [Gambas-user] Test In-Reply-To: References: Message-ID: <08a231b7-bcf4-c4a8-b477-dcd173cbc344@allunix.ru> Pong 09.07.2019 19:39, Gianluigi ?????: > Ping > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From genbraga1 at gmail.com Tue Jul 9 18:32:37 2019 From: genbraga1 at gmail.com (gen braga) Date: Tue, 9 Jul 2019 13:32:37 -0300 Subject: [Gambas-user] segfault with gb.compress Message-ID: Hi there, with code Public Function Compress(sMsg As String) As String Dim zip As New Compress Dim sBuffer As String zip.Type = "zlib" sBuffer = zip.String(sMsg,, False) Return sBuffer End Public Function Uncomp(sMsg) As String Dim zip As New Uncompress Dim sBuffer As String zip.Type = "zlib" Try sBuffer = zip.String(sMsg) Return sBuffer End I pass an XML to Compress function and everything seems Ok. Sometimes (not aways) when I send the compressed text to Uncomp I get an SegFault at line: Try sBuffer = zip.String(Mensagem) Attached the backtrace. Regards, - Gen -------------- next part -------------- [System] Gambas=3.13.90 d913a59 (master) OperatingSystem=Linux Kernel=4.4.0-154-generic Architecture=x86_64 Distribution=Ubuntu 16.04.6 LTS Desktop=UNITY Theme=Gtk Language=pt_BR.UTF-8 Memory=7896M [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.803.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 OpenGL=libGL.so.1.7.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 -------------- next part -------------- Thread 1 "gbx3" received signal SIGSEGV, Segmentation fault. 0x0000000000407583 in my_malloc (len=) at ../share/gb_alloc_temp.h:351 351 if (_pool_count[pool]) (gdb) bt #0 0x0000000000407583 in my_malloc (len=) at ../share/gb_alloc_temp.h:351 #1 0x00000000004076c8 in my_realloc (alloc=0x7fff2f693018, new_len=) at ../share/gb_alloc_temp.h:477 #2 0x000000000042121f in GB_Realloc (addr=0x7fffffffce50, len=) at gbx_api.c:1951 #3 0x00007ffff0ff0349 in u_String (target=0x7fffffffce50, lent=0x7fffffffce4c, source=0x1f92390 "x\234]S[O\244\060\024~\367W \317\062\224V\030\331`\315\004g\243\211NTX\337\033\350?\005\312\322bf\376\275\247\345\356\023\375n\347\364r\210\036\316Ui}\361V\026\242\276\267\275\r\262-^g\"/\352\343\275\375'\375\355\334\331\017\364*\272v\234]\323r\311k\305r\321ZI\272\377\070\354\034\264A\033\214\035\a\034\225a\aLP/r\207\225\005dr\221iQ\361\226\006\236\037?\340\026\276\340\230h\355\331e\272vzi8E\221\273 at Z, _param=) at CUncompress.c:85 #5 0x0000000000446075 in EXEC_native_quick () at gbx_exec.c:1180 #6 0x000000000044719c in EXEC_native_check (defined=) at gbx_exec.c:1130 #7 0x0000000000440e2c in EXEC_loop () at gbx_exec_loop.c:1160 #8 0x00000000004457f5 in EXEC_function_loop () at gbx_exec.c:910 From g4mba5 at gmail.com Tue Jul 9 20:20:20 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 9 Jul 2019 20:20:20 +0200 Subject: [Gambas-user] Printing with Gambas and the IDE Message-ID: Hi people, To add printing feature to the IDE code and text editor, I created a new component named 'gb.form.print' that provides a generic preview and printing dialog, and some features to make drawing the page contents a bit easier. 1) Instead of calling MyPrinter.Print(), you call MyPrinter.Preview(). 2) You have to implement the Begin, End, Paginate and Print events the same way as before. 3) The Paint device is automatically scaled and translated so that width and height are in 1/10th of millimeters, and represent the printing zone without the margins. For example, a, A4 portrait page with 1 cm margin at each border will create a paint device whose width is 1900 and height 2770. 4) Thanks to the new Paint.FontScale property, using a 10 point size font will always draw a 10 point size font wherever we are drawing: to the screen, a PDF file, or a printer. Beware: at the moment it works only if you *assign* the font to the Paint.Font property, because this is the only moment the Paint.FontScale is applied. For example : hFont = Font["Monospace,10"] Print hFont.Size ' ==> 10 Paint.FontScale = 2 Paint.Font.Size = hFont Print Paint.Font.Size ' ==> 20 This is really a trick at the moment. I had to do that because font size is supposed to be absolute, but this is really the case only if you use the font on a screen. Otherwise this can be false. Thanks Microsoft for that mess. 5) The GTK components have been fixed so that printing works and behave the same as with QT components. 6) The preview dialog is a fork of the 'gb.report2' preview dialog made by Fabien Bodard. It is based on his DocumentView control that I fixed a bit by the way. 7) It's not tested a lot. I even didn't test it on a real printer yet! Please report any problem and ask questions if needed, as usual. Regards, -- Beno?t Minisini -------------- next part -------------- A non-text attachment was scrubbed... Name: capture_20190709_195939.png Type: image/png Size: 151771 bytes Desc: not available URL: From gambas.fr at gmail.com Tue Jul 9 22:20:24 2019 From: gambas.fr at gmail.com (Fabien Bodard) Date: Tue, 9 Jul 2019 22:20:24 +0200 Subject: [Gambas-user] Printing with Gambas and the IDE In-Reply-To: References: Message-ID: Le mar. 9 juil. 2019 20:21, Beno?t Minisini a ?crit : > Hi people, > > To add printing feature to the IDE code and text editor, I created a new > component named 'gb.form.print' that provides a generic preview and > printing dialog, and some features to make drawing the page contents a > bit easier. > > 1) Instead of calling MyPrinter.Print(), you call MyPrinter.Preview(). > > 2) You have to implement the Begin, End, Paginate and Print events the > same way as before. > > 3) The Paint device is automatically scaled and translated so that width > and height are in 1/10th of millimeters, and represent the printing zone > without the margins. > > For example, a, A4 portrait page with 1 cm margin at each border will > create a paint device whose width is 1900 and height 2770. > > 4) Thanks to the new Paint.FontScale property, using a 10 point size > font will always draw a 10 point size font wherever we are drawing: to > the screen, a PDF file, or a printer. > > Beware: at the moment it works only if you *assign* the font to the > Paint.Font property, because this is the only moment the Paint.FontScale > is applied. > > For example : > > hFont = Font["Monospace,10"] > Print hFont.Size ' ==> 10 > Paint.FontScale = 2 > Paint.Font.Size = hFont > Print Paint.Font.Size ' ==> 20 > > This is really a trick at the moment. I had to do that because font size > is supposed to be absolute, but this is really the case only if you use > the font on a screen. Otherwise this can be false. Thanks Microsoft for > that mess. > > 5) The GTK components have been fixed so that printing works and behave > the same as with QT components. > > 6) The preview dialog is a fork of the 'gb.report2' preview dialog made > by Fabien Bodard. It is based on his DocumentView control that I fixed a > bit by the way. > > 7) It's not tested a lot. I even didn't test it on a real printer yet! > > Please report any problem and ask questions if needed, as usual. > > Regards, > I will take a look and test it ? -- > Beno?t Minisini > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Tue Jul 9 23:06:50 2019 From: bagonergi at gmail.com (Gianluigi) Date: Tue, 9 Jul 2019 23:06:50 +0200 Subject: [Gambas-user] Error (Component not found: gb.form) compiling last master Message-ID: Compiling the last master I get this errors: gbc3: error: Component not found: gb.form Compiling gb.form... FBalloon.form:5: error: Unknown identifier: PictureBox Compiling gb.form.stock... OK Installing gb.form.stock... Compiling gb.form.dialog... gbc3: error: Component not found: gb.form Compiling gb.form.mdi... gbc3: error: Component not found: gb.form Compiling gb.db.form... gbc3: error: Component not found: gb.form Compiling gb.desktop... gbc3: error: Component not found: gb.form Compiling gb.web... OK Installing gb.web... Compiling gb.report... gbc3: error: Component not found: gb.form Compiling gb.report2... gbc3: error: Component not found: gb.form Compiling gb.chart... gbc3: error: Component not found: gb.form 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... gbc3: error: Component not found: gb.form Compiling gb.logging... OK Installing gb.logging... Compiling gb.markdown... OK Installing gb.markdown... Compiling gb.media.form... gbc3: error: Component not found: gb.form Compiling gb.scanner... gbc3: error: Component not found: gb.form Compiling gb.util... OK Installing gb.util... Compiling gb.util.web... OK Installing gb.util.web... Compiling gb.form.editor... TextEditor.class:81:18: error: Unknown identifier: ScrollArea Compiling gb.dbus.trayicon... gbc3: error: Component not found: gb.form Compiling gb.web.form... OK Installing gb.web.form... Compiling gb.form.terminal... gbc3: error: Component not found: gb.form Compiling gb.term.form... OK Installing gb.term.form... Compiling gb.web.feed... OK Installing gb.web.feed... Compiling gb.form.print... gbc3: error: Component not found: gb.form make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/gian/gambasdevel/comp' make[1]: Leaving directory '/home/gian/gambasdevel/comp' Making install in app make[1]: Entering directory '/home/gian/gambasdevel/app' make[2]: Entering directory '/home/gian/gambasdevel/app' Installing the development environment... Compiling gambas3... gbc3: error: Component not found: gb.form Compiling gbs3... OK Installing gbs3... Installing the scripter... Registering Gambas script mimetype... Registering Gambas server page mimetype... Installing the Gambas appdata file... Installing the Gambas template projects... make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/gian/gambasdevel/app' make[1]: Leaving directory '/home/gian/gambasdevel/app' Making install in . make[1]: Entering directory '/home/gian/gambasdevel' make[2]: Entering directory '/home/gian/gambasdevel' || || Unable to compile gb.gui.base || Unable to compile gb.form || Unable to compile gb.form.dialog || Unable to compile gb.form.mdi || Unable to compile gb.db.form || Unable to compile gb.desktop || Unable to compile gb.report || Unable to compile gb.report2 || Unable to compile gb.chart || Unable to compile gb.map || Unable to compile gb.media.form || Unable to compile gb.scanner || Unable to compile gb.form.editor || Unable to compile gb.dbus.trayicon || Unable to compile gb.form.terminal || Unable to compile gb.form.print || Unable to compile gambas3 || make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/home/gian/gambasdevel' make[1]: Leaving directory '/home/gian/gambasdevel' Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From jussi.lahtinen at gmail.com Wed Jul 10 01:26:19 2019 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Wed, 10 Jul 2019 02:26:19 +0300 Subject: [Gambas-user] Remove a Gambas installation from the system In-Reply-To: References: Message-ID: It seems you have already. The deb packages are cached by your OS. They are not installed. But "apt-get autoclean" will remove them. Jussi On Monday, July 1, 2019, Gianluigi wrote: > Hi, > I tried to completely remove the PPA Gambas installation from xubuntu, I > gave these commands to the terminal: > ---------------------------------------------------- > sudo add-apt-repository -r ppa:gambas-team/gambas3 > sudo apt-get --purge remove gambas3 > sudo apt-get autoremove gambas3 > more Jussi command: > sudo rm -f /usr/local/bin/gbx3 /usr/local/bin/gbc3 /usr/local/bin/gba3 > /usr/local/bin/gbi3 /usr/local/bin/gbs3 > sudo rm -rf /usr/local/lib/gambas3 > sudo rm -rf /usr/local/share/gambas3 > sudo rm -f /usr/local/bin/gambas3 > sudo rm -f /usr/local/bin/gambas3.gambas > sudo rm -f /usr/bin/gbx3 /usr/bin/gbc3 /usr/bin/gba3 /usr/bin/gbi3 > /usr/local/bin/gbs3 > sudo rm -rf /usr/lib/gambas3 > sudo rm -rf /usr/share/gambas3 > sudo rm -f /usr/bin/gambas3 > ----------------------------------------------------- > > and then I checked with this: > ----------------------------------------------------- > sudo updatedb > locate gambas > ----------------------------------------------------- > > I discovered I had only removed the IDE > > Then I gave these other commands: > > ----------------------------------------------------- > sudo apt-get --purge remove gambas* > sudo apt autoremove > ----------------------------------------------------- > > I have reduced a lot, but these files still remain (in addition to Gambas' > projects): > ------------------------------------------------------ > /etc/apt/sources.list.d/gambas-team-ubuntu-gambas3-bionic.list > /etc/apt/sources.list.d/gambas-team-ubuntu-gambas3-bionic.list.save > /etc/apt/trusted.gpg.d/gambas-team_ubuntu_gambas3.gpg > /var/cache/apt/archives/gambas3-dev_3.13.0+git5968. > 6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-args_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb > /var/cache/apt/archives/gambas3-gb-cairo_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-chart_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb > /var/cache/apt/archives/gambas3-gb-clipper_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-complex_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-compress-bzlib2_3. > 13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-compress-zlib_3.13. > 0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-compress_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-crypt_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-data_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-db-form_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb > /var/cache/apt/archives/gambas3-gb-db-mysql_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-db-odbc_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-db-postgresql_3.13. > 0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-db-sqlite3_3.13.0+ > git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-db_3.13.0+git5968. > 6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-dbus-trayicon_3.13. > 0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb > /var/cache/apt/archives/gambas3-gb-dbus_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-desktop-gnome-keyring_3.13.0+git5968. > 6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-desktop-x11_3.13.0+ > git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-desktop_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-eval-highlight_3. > 13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb > /var/cache/apt/archives/gambas3-gb-form-dialog_3.13.0+ > git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb > /var/cache/apt/archives/gambas3-gb-form-editor_3.13.0+ > git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb > /var/cache/apt/archives/gambas3-gb-form-mdi_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb > /var/cache/apt/archives/gambas3-gb-form-stock_3.13.0+ > git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb > /var/cache/apt/archives/gambas3-gb-form-terminal_3.13. > 0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb > /var/cache/apt/archives/gambas3-gb-form_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb > /var/cache/apt/archives/gambas3-gb-gmp_3.13.0+git5968. > 6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-gsl_3.13.0+git5968. > 6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-gtk-opengl_3.13.0+ > git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-gtk3_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-gtk_3.13.0+git5968. > 6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-httpd_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-image-effect_3.13. > 0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-image-imlib_3.13.0+ > git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-image-io_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-image_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-inotify_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-libxml_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-logging_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb > /var/cache/apt/archives/gambas3-gb-map_3.13.0+git5968. > 6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb > /var/cache/apt/archives/gambas3-gb-markdown_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb > /var/cache/apt/archives/gambas3-gb-media-form_3.13.0+ > git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb > /var/cache/apt/archives/gambas3-gb-media_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-memcached_3.13.0+ > git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb > /var/cache/apt/archives/gambas3-gb-mime_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-mysql_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-ncurses_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-net-curl_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-net-pop3_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb > /var/cache/apt/archives/gambas3-gb-net-smtp_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb > /var/cache/apt/archives/gambas3-gb-net_3.13.0+git5968. > 6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-openal_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-opengl-glsl_3.13.0+ > git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-opengl-glu_3.13.0+ > git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-opengl-sge_3.13.0+ > git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-opengl_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-openssl_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-option_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-pcre_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-pdf_3.13.0+git5968. > 6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-qt4-ext_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-qt4-opengl_3.13.0+ > git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-qt4-webkit_3.13.0+ > git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-qt4_3.13.0+git5968. > 6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-report2_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb > /var/cache/apt/archives/gambas3-gb-report_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb > /var/cache/apt/archives/gambas3-gb-scanner_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb > /var/cache/apt/archives/gambas3-gb-sdl-sound_3.13.0+ > git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-sdl2-audio_3.13.0+ > git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-sdl2_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-sdl_3.13.0+git5968. > 6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-settings_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb > /var/cache/apt/archives/gambas3-gb-signal_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-term-form_3.13.0+ > git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb > /var/cache/apt/archives/gambas3-gb-term_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-util-web_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb > /var/cache/apt/archives/gambas3-gb-util_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb > /var/cache/apt/archives/gambas3-gb-v4l_3.13.0+git5968. > 6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-vb_3.13.0+git5968. > 6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-web-feed_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb > /var/cache/apt/archives/gambas3-gb-web-form_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb > /var/cache/apt/archives/gambas3-gb-web_3.13.0+git5968. > 6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb > /var/cache/apt/archives/gambas3-gb-xml-html_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-xml-rpc_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb > /var/cache/apt/archives/gambas3-gb-xml-xslt_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-gb-xml_3.13.0+git5968. > 6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3-ide_3.13.0+git5968. > 6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb > /var/cache/apt/archives/gambas3-runtime_3.13.0+git5968.6cc7003+build4. > 0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb > /var/cache/apt/archives/gambas3_3.13.0+git5968.6cc7003+build4.0bb852b.9. > 47f5d9f~ubuntu18.04.1_all.deb > /var/lib/apt/lists/ppa.launchpad.net_gambas-team_ > gambas3_ubuntu_dists_bionic_InRelease > /var/lib/apt/lists/ppa.launchpad.net_gambas-team_ > gambas3_ubuntu_dists_bionic_main_binary-i386_Packages > /var/lib/apt/lists/ppa.launchpad.net_gambas-team_ > gambas3_ubuntu_dists_bionic_main_i18n_Translation-en > ----------------------------------------------------- > > What am I doing wrong, how can I clean the system completely? > > Regards > Gianluigi > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Wed Jul 10 09:15:17 2019 From: bagonergi at gmail.com (Gianluigi) Date: Wed, 10 Jul 2019 09:15:17 +0200 Subject: [Gambas-user] Error (Component not found: gb.form) compiling last master In-Reply-To: References: Message-ID: Even vuott has the same problems with Mint 19, I enclose the complete log files. This is the procedure followed: cd gambasdevel sudo make uninstall cd rm -rf gambasdevel/ git clone --depth=1 https://gitlab.com/gambas/gambas.git gambasdevel cd gambasdevel (./reconf-all && ./configure -C) > ~/Scrivania/rec-conf.log 2>&1 (make && LANG="C" sudo make install) > ~/Scrivania/make-s-make.log 2>&1 Regards Gianluigi Il giorno mar 9 lug 2019 alle ore 23:06 Gianluigi ha scritto: > Compiling the last master I get this errors: > > gbc3: error: Component not found: gb.form > Compiling gb.form... > FBalloon.form:5: error: Unknown identifier: PictureBox > Compiling gb.form.stock... > OK > Installing gb.form.stock... > Compiling gb.form.dialog... > gbc3: error: Component not found: gb.form > Compiling gb.form.mdi... > gbc3: error: Component not found: gb.form > Compiling gb.db.form... > gbc3: error: Component not found: gb.form > Compiling gb.desktop... > gbc3: error: Component not found: gb.form > Compiling gb.web... > OK > Installing gb.web... > Compiling gb.report... > gbc3: error: Component not found: gb.form > Compiling gb.report2... > gbc3: error: Component not found: gb.form > Compiling gb.chart... > gbc3: error: Component not found: gb.form > 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... > gbc3: error: Component not found: gb.form > Compiling gb.logging... > OK > Installing gb.logging... > Compiling gb.markdown... > OK > Installing gb.markdown... > Compiling gb.media.form... > gbc3: error: Component not found: gb.form > Compiling gb.scanner... > gbc3: error: Component not found: gb.form > Compiling gb.util... > OK > Installing gb.util... > Compiling gb.util.web... > OK > Installing gb.util.web... > Compiling gb.form.editor... > TextEditor.class:81:18: error: Unknown identifier: ScrollArea > Compiling gb.dbus.trayicon... > gbc3: error: Component not found: gb.form > Compiling gb.web.form... > OK > Installing gb.web.form... > Compiling gb.form.terminal... > gbc3: error: Component not found: gb.form > Compiling gb.term.form... > OK > Installing gb.term.form... > Compiling gb.web.feed... > OK > Installing gb.web.feed... > Compiling gb.form.print... > gbc3: error: Component not found: gb.form > make[2]: Nothing to be done for 'install-data-am'. > make[2]: Leaving directory '/home/gian/gambasdevel/comp' > make[1]: Leaving directory '/home/gian/gambasdevel/comp' > Making install in app > make[1]: Entering directory '/home/gian/gambasdevel/app' > make[2]: Entering directory '/home/gian/gambasdevel/app' > Installing the development environment... > Compiling gambas3... > gbc3: error: Component not found: gb.form > Compiling gbs3... > OK > Installing gbs3... > Installing the scripter... > Registering Gambas script mimetype... > Registering Gambas server page mimetype... > Installing the Gambas appdata file... > Installing the Gambas template projects... > make[2]: Nothing to be done for 'install-data-am'. > make[2]: Leaving directory '/home/gian/gambasdevel/app' > make[1]: Leaving directory '/home/gian/gambasdevel/app' > Making install in . > make[1]: Entering directory '/home/gian/gambasdevel' > make[2]: Entering directory '/home/gian/gambasdevel' > > || > || Unable to compile gb.gui.base > || Unable to compile gb.form > || Unable to compile gb.form.dialog > || Unable to compile gb.form.mdi > || Unable to compile gb.db.form > || Unable to compile gb.desktop > || Unable to compile gb.report > || Unable to compile gb.report2 > || Unable to compile gb.chart > || Unable to compile gb.map > || Unable to compile gb.media.form > || Unable to compile gb.scanner > || Unable to compile gb.form.editor > || Unable to compile gb.dbus.trayicon > || Unable to compile gb.form.terminal > || Unable to compile gb.form.print > || Unable to compile gambas3 > || > > make[2]: Nothing to be done for 'install-data-am'. > make[2]: Leaving directory '/home/gian/gambasdevel' > make[1]: Leaving directory '/home/gian/gambasdevel' > > Regards > Gianluigi > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: log.tar.xz Type: application/x-xz Size: 25088 bytes Desc: not available URL: From bagonergi at gmail.com Wed Jul 10 09:27:52 2019 From: bagonergi at gmail.com (Gianluigi) Date: Wed, 10 Jul 2019 09:27:52 +0200 Subject: [Gambas-user] Remove a Gambas installation from the system In-Reply-To: References: Message-ID: Hi Jussi, thank you. Greetings Gianluigi Il giorno mer 10 lug 2019 alle ore 01:27 Jussi Lahtinen < jussi.lahtinen at gmail.com> ha scritto: > It seems you have already. The deb packages are cached by your OS. They > are not installed. But "apt-get autoclean" will remove them. > > > Jussi > > On Monday, July 1, 2019, Gianluigi wrote: > >> Hi, >> I tried to completely remove the PPA Gambas installation from xubuntu, I >> gave these commands to the terminal: >> ---------------------------------------------------- >> sudo add-apt-repository -r ppa:gambas-team/gambas3 >> sudo apt-get --purge remove gambas3 >> sudo apt-get autoremove gambas3 >> more Jussi command: >> sudo rm -f /usr/local/bin/gbx3 /usr/local/bin/gbc3 /usr/local/bin/gba3 >> /usr/local/bin/gbi3 /usr/local/bin/gbs3 >> sudo rm -rf /usr/local/lib/gambas3 >> sudo rm -rf /usr/local/share/gambas3 >> sudo rm -f /usr/local/bin/gambas3 >> sudo rm -f /usr/local/bin/gambas3.gambas >> sudo rm -f /usr/bin/gbx3 /usr/bin/gbc3 /usr/bin/gba3 /usr/bin/gbi3 >> /usr/local/bin/gbs3 >> sudo rm -rf /usr/lib/gambas3 >> sudo rm -rf /usr/share/gambas3 >> sudo rm -f /usr/bin/gambas3 >> ----------------------------------------------------- >> >> and then I checked with this: >> ----------------------------------------------------- >> sudo updatedb >> locate gambas >> ----------------------------------------------------- >> >> I discovered I had only removed the IDE >> >> Then I gave these other commands: >> >> ----------------------------------------------------- >> sudo apt-get --purge remove gambas* >> sudo apt autoremove >> ----------------------------------------------------- >> >> I have reduced a lot, but these files still remain (in addition to >> Gambas' projects): >> ------------------------------------------------------ >> /etc/apt/sources.list.d/gambas-team-ubuntu-gambas3-bionic.list >> /etc/apt/sources.list.d/gambas-team-ubuntu-gambas3-bionic.list.save >> /etc/apt/trusted.gpg.d/gambas-team_ubuntu_gambas3.gpg >> >> /var/cache/apt/archives/gambas3-dev_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-args_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb >> >> /var/cache/apt/archives/gambas3-gb-cairo_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-chart_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb >> >> /var/cache/apt/archives/gambas3-gb-clipper_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-complex_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-compress-bzlib2_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-compress-zlib_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-compress_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-crypt_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-data_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-db-form_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb >> >> /var/cache/apt/archives/gambas3-gb-db-mysql_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-db-odbc_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-db-postgresql_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-db-sqlite3_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-db_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-dbus-trayicon_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb >> >> /var/cache/apt/archives/gambas3-gb-dbus_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-desktop-gnome-keyring_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-desktop-x11_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-desktop_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-eval-highlight_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb >> >> /var/cache/apt/archives/gambas3-gb-form-dialog_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb >> >> /var/cache/apt/archives/gambas3-gb-form-editor_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb >> >> /var/cache/apt/archives/gambas3-gb-form-mdi_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb >> >> /var/cache/apt/archives/gambas3-gb-form-stock_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb >> >> /var/cache/apt/archives/gambas3-gb-form-terminal_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb >> >> /var/cache/apt/archives/gambas3-gb-form_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb >> >> /var/cache/apt/archives/gambas3-gb-gmp_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-gsl_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-gtk-opengl_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-gtk3_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-gtk_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-httpd_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-image-effect_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-image-imlib_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-image-io_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-image_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-inotify_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-libxml_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-logging_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb >> >> /var/cache/apt/archives/gambas3-gb-map_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb >> >> /var/cache/apt/archives/gambas3-gb-markdown_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb >> >> /var/cache/apt/archives/gambas3-gb-media-form_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb >> >> /var/cache/apt/archives/gambas3-gb-media_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-memcached_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb >> >> /var/cache/apt/archives/gambas3-gb-mime_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-mysql_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-ncurses_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-net-curl_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-net-pop3_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb >> >> /var/cache/apt/archives/gambas3-gb-net-smtp_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb >> >> /var/cache/apt/archives/gambas3-gb-net_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-openal_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-opengl-glsl_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-opengl-glu_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-opengl-sge_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-opengl_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-openssl_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-option_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-pcre_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-pdf_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-qt4-ext_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-qt4-opengl_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-qt4-webkit_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-qt4_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-report2_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb >> >> /var/cache/apt/archives/gambas3-gb-report_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb >> >> /var/cache/apt/archives/gambas3-gb-scanner_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb >> >> /var/cache/apt/archives/gambas3-gb-sdl-sound_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-sdl2-audio_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-sdl2_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-sdl_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-settings_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb >> >> /var/cache/apt/archives/gambas3-gb-signal_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-term-form_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb >> >> /var/cache/apt/archives/gambas3-gb-term_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-util-web_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb >> >> /var/cache/apt/archives/gambas3-gb-util_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb >> >> /var/cache/apt/archives/gambas3-gb-v4l_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-vb_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-web-feed_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb >> >> /var/cache/apt/archives/gambas3-gb-web-form_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb >> >> /var/cache/apt/archives/gambas3-gb-web_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb >> >> /var/cache/apt/archives/gambas3-gb-xml-html_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-xml-rpc_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb >> >> /var/cache/apt/archives/gambas3-gb-xml-xslt_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-gb-xml_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3-ide_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb >> >> /var/cache/apt/archives/gambas3-runtime_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_i386.deb >> >> /var/cache/apt/archives/gambas3_3.13.0+git5968.6cc7003+build4.0bb852b.9.47f5d9f~ubuntu18.04.1_all.deb >> >> /var/lib/apt/lists/ppa.launchpad.net_gambas-team_gambas3_ubuntu_dists_bionic_InRelease >> >> /var/lib/apt/lists/ppa.launchpad.net_gambas-team_gambas3_ubuntu_dists_bionic_main_binary-i386_Packages >> >> /var/lib/apt/lists/ppa.launchpad.net_gambas-team_gambas3_ubuntu_dists_bionic_main_i18n_Translation-en >> ----------------------------------------------------- >> >> What am I doing wrong, how can I clean the system completely? >> >> Regards >> Gianluigi >> > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Wed Jul 10 13:26:09 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 10 Jul 2019 13:26:09 +0200 Subject: [Gambas-user] Error (Component not found: gb.form) compiling last master In-Reply-To: References: Message-ID: <095c4403-6c5f-304d-8660-913fdbc857e3@gmail.com> Le 10/07/2019 ? 09:15, Gianluigi a ?crit?: > Even vuott has the same problems with Mint 19, I enclose the complete > log files. > OK, I get it. It should be fixed with the last commit. There is a bug to in our gitlab CI file, as the same error is triggered. But it does not make the pipeline fail, so I didn't notice it. Regards, -- Beno?t Minisini From bagonergi at gmail.com Wed Jul 10 16:02:18 2019 From: bagonergi at gmail.com (Gianluigi) Date: Wed, 10 Jul 2019 16:02:18 +0200 Subject: [Gambas-user] Error (Component not found: gb.form) compiling last master In-Reply-To: <095c4403-6c5f-304d-8660-913fdbc857e3@gmail.com> References: <095c4403-6c5f-304d-8660-913fdbc857e3@gmail.com> Message-ID: Il giorno mer 10 lug 2019 alle ore 13:26 Beno?t Minisini ha scritto: > Le 10/07/2019 ? 09:15, Gianluigi a ?crit : > > Even vuott has the same problems with Mint 19, I enclose the complete > > log files. > > > > OK, I get it. It should be fixed with the last commit. > > There is a bug to in our gitlab CI file, as the same error is triggered. > But it does not make the pipeline fail, so I didn't notice it. > > Regards, > > -- > Beno?t Minisini > By mistake I only answered Benoit. Now it works on both Ubuntu 18.04.2 and Mint 19.1 Thanks again Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Wed Jul 10 16:14:26 2019 From: bagonergi at gmail.com (Gianluigi) Date: Wed, 10 Jul 2019 16:14:26 +0200 Subject: [Gambas-user] Printing with Gambas and the IDE In-Reply-To: References: Message-ID: Il giorno mar 9 lug 2019 alle ore 20:21 Beno?t Minisini ha scritto: > Hi people, > > To add printing feature to the IDE code and text editor, I created a new > component named 'gb.form.print' that provides a generic preview and > printing dialog, and some features to make drawing the page contents a > bit easier. > > 1) Instead of calling MyPrinter.Print(), you call MyPrinter.Preview(). > > 2) You have to implement the Begin, End, Paginate and Print events the > same way as before. > > 3) The Paint device is automatically scaled and translated so that width > and height are in 1/10th of millimeters, and represent the printing zone > without the margins. > > For example, a, A4 portrait page with 1 cm margin at each border will > create a paint device whose width is 1900 and height 2770. > > 4) Thanks to the new Paint.FontScale property, using a 10 point size > font will always draw a 10 point size font wherever we are drawing: to > the screen, a PDF file, or a printer. > > Beware: at the moment it works only if you *assign* the font to the > Paint.Font property, because this is the only moment the Paint.FontScale > is applied. > > For example : > > hFont = Font["Monospace,10"] > Print hFont.Size ' ==> 10 > Paint.FontScale = 2 > Paint.Font.Size = hFont > Print Paint.Font.Size ' ==> 20 > > This is really a trick at the moment. I had to do that because font size > is supposed to be absolute, but this is really the case only if you use > the font on a screen. Otherwise this can be false. Thanks Microsoft for > that mess. > > 5) The GTK components have been fixed so that printing works and behave > the same as with QT components. > > 6) The preview dialog is a fork of the 'gb.report2' preview dialog made > by Fabien Bodard. It is based on his DocumentView control that I fixed a > bit by the way. > > 7) It's not tested a lot. I even didn't test it on a real printer yet! > > Please report any problem and ask questions if needed, as usual. > > Regards, > > -- > Beno?t Minisini > Hi Benoit, Print only on paper or I do something wrong? Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Wed Jul 10 18:22:03 2019 From: bagonergi at gmail.com (Gianluigi) Date: Wed, 10 Jul 2019 18:22:03 +0200 Subject: [Gambas-user] Printing with Gambas and the IDE In-Reply-To: References: Message-ID: Il giorno mer 10 lug 2019 alle ore 16:14 Gianluigi ha scritto: > > Hi Benoit, > > Print only on paper or I do something wrong? > > Regards > Gianluigi > yes ok i'm stupid :-p -------------- next part -------------- An HTML attachment was scrubbed... URL: From peterpeyotle at gmx.de Thu Jul 11 14:16:06 2019 From: peterpeyotle at gmx.de (Peter Peyotle) Date: Thu, 11 Jul 2019 14:16:06 +0200 Subject: [Gambas-user] sqlite Error: Query failed: cannot start a transaction within a transaction Message-ID: <0f02dd26-4cf2-fc64-8b06-6d48caf5ec19@gmx.de> hello and good day I use sqlite3 and get the following error: Query failed: can not start a transaction within a transaction The error occurs when I use sqlite Transaction. For example: begin transaction; create table bla bla bla; commit; For example, if I had already created this table once and overlooked it, I get an error. Absolutely normal. If I repeat the statement with a new table name, I get the error above: Query failed: can not start a transaction within a transaction I researched but did not really find anything. For the test, I ended the connection to the database and restarted. No more problems. I then noticed that sqlite does not seem to stop the transaction when the error occurs, ignoring the "commit" and keeping the transaction open. Or in general: If an error occurs in a statement of a transaction, the transaction is not terminated. It is stopped before the commit and the transaction remains open. If I execute a hconn.execute ("commit;") after the failed creation of the table, every further transaction is possible. So far I would have solved that. But somehow unsatisfactory and not elegant. Now my question: Is there a way in sqlite to catch an error (such as the one described) and then automatically stop the transaction? Peter -------------- next part -------------- An HTML attachment was scrubbed... URL: From t.lee.davidson at gmail.com Thu Jul 11 14:54:11 2019 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Thu, 11 Jul 2019 08:54:11 -0400 Subject: [Gambas-user] sqlite Error: Query failed: cannot start a transaction within a transaction In-Reply-To: <0f02dd26-4cf2-fc64-8b06-6d48caf5ec19@gmx.de> References: <0f02dd26-4cf2-fc64-8b06-6d48caf5ec19@gmx.de> Message-ID: <173b2604-8a1b-24c2-2bf6-3f61ea6895bc@gmail.com> Without some sample code it is difficult to see exactly how you are trying to accomplish the task. But, perhaps the TRY instruction (http://gambaswiki.org/wiki/lang/try) might be helpful? ___ Lee On 7/11/19 8:16 AM, Peter Peyotle wrote: > hello and good day > > I use sqlite3 and get the following error: Query failed: can not start a transaction within a transaction > The error occurs when I use sqlite Transaction. For example: > begin transaction; create table bla bla bla; commit; > For example, if I had already created this table once and overlooked it, I get an error. Absolutely normal. > If I repeat the statement with a new table name, I get the error above: Query failed: can not start a transaction within a > transaction > I researched but did not really find anything. > For the test, I ended the connection to the database and restarted. No more problems. > I then noticed that sqlite does not seem to stop the transaction when the error occurs, ignoring the "commit" and keeping the > transaction open. > Or in general: If an error occurs in a statement of a transaction, the transaction is not terminated. It is stopped before the > commit and the transaction remains open. > If I execute a hconn.execute ("commit;") after the failed creation of the table, every further transaction is possible. > So far I would have solved that. But somehow unsatisfactory and not elegant. > Now my question: > Is there a way in sqlite to catch an error (such as the one described) and then automatically stop the transaction? > > Peter > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From bagonergi at gmail.com Thu Jul 11 14:54:25 2019 From: bagonergi at gmail.com (Gianluigi) Date: Thu, 11 Jul 2019 14:54:25 +0200 Subject: [Gambas-user] No gb.form.print on Ubuntu 14.04 Message-ID: The latest daily on Ubuntu 14.04 give this error: gbr3 unable to load component: gb.form.print Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebikul at gmail.com Thu Jul 11 15:05:23 2019 From: sebikul at gmail.com (=?UTF-8?Q?Sebasti=C3=A1n_Kulesz?=) Date: Thu, 11 Jul 2019 10:05:23 -0300 Subject: [Gambas-user] No gb.form.print on Ubuntu 14.04 In-Reply-To: References: Message-ID: Hi Gianluigi, I have been unable to add the new component to the PPA builds. I will try to do it this afternoon as? to avoid breaking every daily installation. Sorry for the issues. Regards On Thu, Jul 11, 2019, 9:56 AM Gianluigi wrote: > The latest daily on Ubuntu 14.04 give this error: > gbr3 unable to load component: gb.form.print > > Regards > Gianluigi > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Thu Jul 11 15:12:00 2019 From: bagonergi at gmail.com (Gianluigi) Date: Thu, 11 Jul 2019 15:12:00 +0200 Subject: [Gambas-user] No gb.form.print on Ubuntu 14.04 In-Reply-To: References: Message-ID: Hi Sebastian, thank you very much. I refer it to our friend here in Italy. Regards Gianluigi Il giorno gio 11 lug 2019 alle ore 15:06 Sebasti?n Kulesz ha scritto: > Hi Gianluigi, > > I have been unable to add the new component to the PPA builds. I will try > to do it this afternoon as? to avoid breaking every daily installation. > Sorry for the issues. > > Regards > > On Thu, Jul 11, 2019, 9:56 AM Gianluigi wrote: > >> The latest daily on Ubuntu 14.04 give this error: >> gbr3 unable to load component: gb.form.print >> >> Regards >> Gianluigi >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Thu Jul 11 15:14:18 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Thu, 11 Jul 2019 15:14:18 +0200 Subject: [Gambas-user] sqlite Error: Query failed: cannot start a transaction within a transaction In-Reply-To: <0f02dd26-4cf2-fc64-8b06-6d48caf5ec19@gmx.de> References: <0f02dd26-4cf2-fc64-8b06-6d48caf5ec19@gmx.de> Message-ID: Le 11/07/2019 ? 14:16, Peter Peyotle a ?crit?: > hello and good day > > I use sqlite3 and get the following error: Query failed: can not start a > transaction within a transaction > The error occurs when I use sqlite Transaction. For example: > begin transaction; create table bla bla bla; commit; > For example, if I had already created this table once and overlooked it, > I get an error. Absolutely normal. > If I repeat the statement with a new table name, I get the error above: > Query failed: can not start a transaction within a transaction > I researched but did not really find anything. > For the test, I ended the connection to the database and restarted. No > more problems. > I then noticed that sqlite does not seem to stop the transaction when > the error occurs, ignoring the "commit" and keeping the transaction open. > Or in general: If an error occurs in a statement of a transaction, the > transaction is not terminated. It is stopped before the commit and the > transaction remains open. > If I execute a hconn.execute ("commit;") after the failed creation of > the table, every further transaction is possible. > So far I would have solved that. But somehow unsatisfactory and not elegant. > Now my question: > Is there a way in sqlite to catch an error (such as the one described) > and then automatically stop the transaction? > > Peter > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > You must rollback your transaction when there is an error. -- Beno?t Minisini From sharon at 455.co.il Fri Jul 12 09:07:45 2019 From: sharon at 455.co.il (Mayost Sharon) Date: Fri, 12 Jul 2019 10:07:45 +0300 Subject: [Gambas-user] How to confirm an insecure connection via WEBVIEW Message-ID: <20190712070022.M17535@455.co.il> Hello In FireFox browser When I enter the site with a not sure certificate with HTTPS it gives me a warning and asks if anyway I want to proceed. In WebKit with WebView it does not let you enter, is there a way to force it to enter the HTTPS site is not safe Thank you From hans at gambas-buch.de Fri Jul 12 11:45:54 2019 From: hans at gambas-buch.de (Hans Lehmann) Date: Fri, 12 Jul 2019 11:45:54 +0200 Subject: [Gambas-user] GetTemplate ( ) As String Message-ID: Hallo. It's the sentence: /The function `GetTemplate ( ) As String` returns the structure of the database as a template string in a _gambas-specific format_./ correct or is a known format used? If the second applies, then I would like information about the format used. Regards Hans -------------- next part -------------- An HTML attachment was scrubbed... URL: From t.lee.davidson at gmail.com Fri Jul 12 15:23:46 2019 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Fri, 12 Jul 2019 09:23:46 -0400 Subject: [Gambas-user] GetTemplate ( ) As String In-Reply-To: References: Message-ID: The statement is correct. The resulting template string is in a Gambas-specific format. It includes primary keys but does not include foreign keys nor constraints (and perhaps others). It is quite simple to print out the string or save it to a file for inspection. ___ Lee On 7/12/19 5:45 AM, Hans Lehmann wrote: > Hallo. > > It's the sentence: > > /The function `GetTemplate ( ) As String` returns the structure of the database as a template string in a _gambas-specific format_./ > > correct or is a known format used? > If the second applies, then I would like information about the format used. > > Regards > > Hans > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > From bagonergi at gmail.com Fri Jul 12 19:17:49 2019 From: bagonergi at gmail.com (Gianluigi) Date: Fri, 12 Jul 2019 19:17:49 +0200 Subject: [Gambas-user] No gb.form.print on Ubuntu 14.04 In-Reply-To: References: Message-ID: Hi Sebastian. now the daily also gives error with Ubuntu 18.04 as well as with Ubuntu 14.04. (gbr3 unable to load component: gb.form.print) Regards Gianluigi Il giorno gio 11 lug 2019 alle ore 15:12 Gianluigi ha scritto: > Hi Sebastian, > > thank you very much. > I refer it to our friend here in Italy. > > Regards > Gianluigi > > Il giorno gio 11 lug 2019 alle ore 15:06 Sebasti?n Kulesz < > sebikul at gmail.com> ha scritto: > >> Hi Gianluigi, >> >> I have been unable to add the new component to the PPA builds. I will try >> to do it this afternoon as? to avoid breaking every daily installation. >> Sorry for the issues. >> >> Regards >> >> On Thu, Jul 11, 2019, 9:56 AM Gianluigi wrote: >> >>> The latest daily on Ubuntu 14.04 give this error: >>> gbr3 unable to load component: gb.form.print >>> >>> Regards >>> Gianluigi >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From roberto.premoli at tiscali.it Sat Jul 13 10:48:46 2019 From: roberto.premoli at tiscali.it (roberto) Date: Sat, 13 Jul 2019 10:48:46 +0200 Subject: [Gambas-user] Spam after subscribing Message-ID: <7feae5e2-6292-9fe3-afd9-bf737d910198@tiscali.it> After I subscribed to Gambas ML, i start to receive spam (bitcoin, viagra, beauty cream, ecc). Did you experienced the same? From g4mba5 at gmail.com Sat Jul 13 11:23:23 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 13 Jul 2019 11:23:23 +0200 Subject: [Gambas-user] Spam after subscribing In-Reply-To: <7feae5e2-6292-9fe3-afd9-bf737d910198@tiscali.it> References: <7feae5e2-6292-9fe3-afd9-bf737d910198@tiscali.it> Message-ID: <4d3aa040-95fc-bb32-acfe-f2fdfdcf0a79@gmail.com> Le 13/07/2019 ? 10:48, roberto a ?crit?: > After I subscribed to Gambas ML, i start to receive spam (bitcoin, > viagra, beauty cream, ecc). > > Did you experienced the same? > I have subscribed with a gmail address, and I receive about 60 spams a month. But I don't know if it's the Gambas ML fault. -- Beno?t Minisini From roberto.premoli at tiscali.it Sat Jul 13 11:26:38 2019 From: roberto.premoli at tiscali.it (roberto) Date: Sat, 13 Jul 2019 11:26:38 +0200 Subject: [Gambas-user] Spam after subscribing In-Reply-To: <4d3aa040-95fc-bb32-acfe-f2fdfdcf0a79@gmail.com> References: <7feae5e2-6292-9fe3-afd9-bf737d910198@tiscali.it> <4d3aa040-95fc-bb32-acfe-f2fdfdcf0a79@gmail.com> Message-ID: <77023a2f-39b6-f893-7b8b-3c23c169e089@tiscali.it> On 13/07/19 11:23, Beno?t Minisini wrote: > Le 13/07/2019 ? 10:48, roberto a ?crit?: >> After I subscribed to Gambas ML, i start to receive spam (bitcoin, >> viagra, beauty cream, ecc). >> >> Did you experienced the same? >> > > I have subscribed with a gmail address, and I receive about 60 spams a > month. But I don't know if it's the Gambas ML fault. > i suspect spammer monitor the ML and stole new email address ass soon as people join ML. From cedron at exede.net Sat Jul 13 13:34:55 2019 From: cedron at exede.net (Cedron Dawg) Date: Sat, 13 Jul 2019 07:34:55 -0400 (EDT) Subject: [Gambas-user] Spam after subscribing In-Reply-To: <7feae5e2-6292-9fe3-afd9-bf737d910198@tiscali.it> References: <7feae5e2-6292-9fe3-afd9-bf737d910198@tiscali.it> Message-ID: <808647629.2215451.1563017695701.JavaMail.zimbra@exede.net> I joined almost half a year ago and am not receiving any spam. Knock on wood. (Dear Spammers, this ain't a complaint.) Ced ----- Original Message ----- From: "roberto" To: "user" Sent: Saturday, July 13, 2019 4:48:46 AM Subject: [Gambas-user] Spam after subscribing After I subscribed to Gambas ML, i start to receive spam (bitcoin, viagra, beauty cream, ecc). Did you experienced the same? ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From cedron at exede.net Sat Jul 13 14:00:54 2019 From: cedron at exede.net (Cedron Dawg) Date: Sat, 13 Jul 2019 08:00:54 -0400 (EDT) Subject: [Gambas-user] Spam after subscribing In-Reply-To: <808647629.2215451.1563017695701.JavaMail.zimbra@exede.net> References: <7feae5e2-6292-9fe3-afd9-bf737d910198@tiscali.it> <808647629.2215451.1563017695701.JavaMail.zimbra@exede.net> Message-ID: <1548035283.2246850.1563019254779.JavaMail.zimbra@exede.net> On second thought. This email address has upstream spam filtering, so that may be in effect. Unfortunately, I can't see what was filtered so I have to consider this account somewhat unreliable nor can you use this to rule out the possibility that your email address was harvested from the ML. ----- Original Message ----- From: "Cedron Dawg" I joined almost half a year ago and am not receiving any spam. Knock on wood. (Dear Spammers, this ain't a complaint.) Ced From charlie at cogier.com Sat Jul 13 14:59:18 2019 From: charlie at cogier.com (Charlie Ogier) Date: Sat, 13 Jul 2019 13:59:18 +0100 Subject: [Gambas-user] Spam after subscribing In-Reply-To: <7feae5e2-6292-9fe3-afd9-bf737d910198@tiscali.it> References: <7feae5e2-6292-9fe3-afd9-bf737d910198@tiscali.it> Message-ID: <425fbad3-006f-c117-158f-0d989b038125@cogier.com> Check to see if your email address has been hacked here Charlie On 13/07/2019 09:48, roberto wrote: > After I subscribed to Gambas ML, i start to receive spam (bitcoin, > viagra, beauty cream, ecc). > > Did you experienced the same? > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From peterpeyotle at gmx.de Sat Jul 13 16:32:17 2019 From: peterpeyotle at gmx.de (Peter Peyotle) Date: Sat, 13 Jul 2019 16:32:17 +0200 Subject: [Gambas-user] Data communication with Gambas application Message-ID: Hello and good day, is it possible to swap between a Gambas application and gambas scripting data. Maybe you can address controls directly? Is communication between application and script possible via pipes? Where can I get more information about Gambas scripting? Many Thanks Peter -------------- next part -------------- An HTML attachment was scrubbed... URL: From rwe-sse at osnanet.de Sat Jul 13 19:34:42 2019 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Sat, 13 Jul 2019 19:34:42 +0200 Subject: [Gambas-user] Spam after subscribing In-Reply-To: <7feae5e2-6292-9fe3-afd9-bf737d910198@tiscali.it> References: <7feae5e2-6292-9fe3-afd9-bf737d910198@tiscali.it> Message-ID: <042fa31f-5527-b6d3-045d-00a1de08a31e@osnanet.de> I have been on this list for years, and only got one spam this morning (one of these warnings that they entered your system - even in fluent German!) This is the message header (where is onvol.net?) From - Sat Jul 13 10:49:57 2019 X-Account-Key: account3 X-UIDL: 0000577258400ebf X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 X-Mozilla-Keys: Received: from mail-mx7-pp.ewetel.de (mail-mx7-pp.ncsadm.net [172.24.32.16] (may be forged)) by mail-in13-pp.ewetel.de (8.12.1/8.12.9) with ESMTP id x6D2ESAI055526 for ; Sat, 13 Jul 2019 04:14:30 +0200 X-Envelope-To: Received: from c171-173.i02-3.onvol.net (c171-173.i02-3.onvol.net [213.165.171.173]) by mail-mx7-pp.ewetel.de (Postfix) with ESMTP id 6AAC831A67C for ; Sat, 13 Jul 2019 04:14:28 +0200 (CEST) Date: 13 Jul 2019 04:35:28 +0100 From: "cosimo72" X-Priority: 3 Message-ID: <180560717.201907130514 at osnanet.de> Am 13.07.2019 um 10:48 schrieb roberto: > After I subscribed to Gambas ML, i start to receive spam (bitcoin, > viagra, beauty cream, ecc). > > Did you experienced the same? > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > From rwe-sse at osnanet.de Sat Jul 13 20:24:25 2019 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Sat, 13 Jul 2019 20:24:25 +0200 Subject: [Gambas-user] Which repo for Suse? Message-ID: There is a special repo for Ubuntu which I use there. On my laptop there is a Suse Leap 42.2 running, and I have Gambas 3.10.0 only. Is there a special repo for Suse which I could use from here, too? Or would you compile from source? Thanks for any advice. Rolf From sharon at 455.co.il Sat Jul 13 23:09:32 2019 From: sharon at 455.co.il (Mayost Sharon) Date: Sun, 14 Jul 2019 00:09:32 +0300 Subject: [Gambas-user] Spam after subscribing In-Reply-To: <7feae5e2-6292-9fe3-afd9-bf737d910198@tiscali.it> References: <7feae5e2-6292-9fe3-afd9-bf737d910198@tiscali.it> Message-ID: <20190713210208.M62701@455.co.il> For me, too My server frequently reports that the mail coming from GAMBAS is spam My mail server is: POSTFIX I attach a log of POSTFIX NOQUEUE: reject: RCPT from unknown [83.223.95.100]: 450 4.7.1 Client host rejected: can not find your hostname, [83.223.95.100]; from = to = proto = ESMTP helo = ---------- Original Message ----------- From: roberto To: user at lists.gambas-basic.org Sent: Sat, 13 Jul 2019 10:48:46 +0200 Subject: [Gambas-user] Spam after subscribing > After I subscribed to Gambas ML, i start to receive spam (bitcoin, > viagra, beauty cream, ecc). > > Did you experienced the same? > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- ------- End of Original Message ------- From t.lee.davidson at gmail.com Sun Jul 14 07:34:28 2019 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Sun, 14 Jul 2019 01:34:28 -0400 Subject: [Gambas-user] Which repo for Suse? In-Reply-To: References: Message-ID: For openSUSE Leap 42.3, I use the Education repo (http://download.opensuse.org/repositories/Education/openSUSE_Leap_42.3/) which gives me Gambas version 3.13. However, the Education repo is no longer available for 42.2. (Both, 42.2 and 42.3, by the way, are already End-Of-Life.) If you go to https://software.opensuse.org, you can search for Gambas and you will find v3.13 available for Leap 15.1 in the Education and home:munix9 repos under the experimental and community packages. ___ Lee On 7/13/19 2:24 PM, Rolf-Werner Eilert wrote: > There is a special repo for Ubuntu which I use there. On my laptop there is a Suse Leap 42.2 running, and I have Gambas 3.10.0 > only. > > Is there a special repo for Suse which I could use from here, too? Or would you compile from source? > > Thanks for any advice. > > Rolf > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- From rwe-sse at osnanet.de Sun Jul 14 11:35:03 2019 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Sun, 14 Jul 2019 11:35:03 +0200 Subject: [Gambas-user] Which repo for Suse? In-Reply-To: References: Message-ID: <37ea3890-1f23-25b0-c9c4-18077649ab26@osnanet.de> Thank you very much, Lee! Just tried to compile the current sources on this system, it ended up in || || THESE COMPONENTS ARE DISABLED: || - gb.db.mysql || - gb.db.odbc || - gb.db.postgresql || - gb.db.sqlite2 || - gb.db.sqlite3 || - gb.dbus || - gb.desktop.gnome.keyring || - gb.desktop.x11 || - gb.gsl || - gb.gtk || - gb.gtk.opengl || - gb.gtk3 || - gb.image.imlib || - gb.libxml || - gb.media || - gb.mime || - gb.ncurses || - gb.net.curl || - gb.openal || - gb.opengl || - gb.opengl.glsl || - gb.opengl.glu || - gb.opengl.sge || - gb.openssl || - gb.pdf || - gb.qt4 || - gb.qt4.ext || - gb.qt4.opengl || - gb.qt4.webkit || - gb.qt5 || - gb.qt5.ext || - gb.qt5.opengl || - gb.qt5.webkit || - gb.sdl || - gb.sdl.sound || - gb.sdl2 || - gb.sdl2.audio || - gb.v4l || - gb.xml.xslt || Am 14.07.2019 um 07:34 schrieb T Lee Davidson: > For openSUSE Leap 42.3, I use the Education repo > (http://download.opensuse.org/repositories/Education/openSUSE_Leap_42.3/) > which gives me Gambas version 3.13. However, the Education repo is no > longer available for 42.2. (Both, 42.2 and 42.3, by the way, are > already End-Of-Life.) > > If you go to https://software.opensuse.org, you can search for Gambas > and you will find v3.13 available for Leap 15.1 in the Education and > home:munix9 repos under the experimental and community packages. > > > ___ > Lee > > > On 7/13/19 2:24 PM, Rolf-Werner Eilert wrote: >> There is a special repo for Ubuntu which I use there. On my laptop >> there is a Suse Leap 42.2 running, and I have Gambas 3.10.0 only. >> >> Is there a special repo for Suse which I could use from here, too? Or >> would you compile from source? >> >> Thanks for any advice. >> >> Rolf >> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > From t.lee.davidson at gmail.com Sun Jul 14 17:53:59 2019 From: t.lee.davidson at gmail.com (T Lee Davidson) Date: Sun, 14 Jul 2019 11:53:59 -0400 Subject: [Gambas-user] Which repo for Suse? In-Reply-To: <37ea3890-1f23-25b0-c9c4-18077649ab26@osnanet.de> References: <37ea3890-1f23-25b0-c9c4-18077649ab26@osnanet.de> Message-ID: The associated development packages need to be installed so those components can be compiled. The Wiki page for compilation on openSUSE (http://gambaswiki.org/wiki/install/opensuse) is obviously outdated, being for version 10.2. But, it can serve as a basis for clues as to which devel packages might be needed. You can use the 'zypper' tool on the command line to search for packages using wildcards. For example: `zypper se *mariadb-devel` yields: | libmariadb-devel | Development files for the MariaDB Connector C API | package `zypper se sqlite?-devel` yields: | sqlite2-devel | Embeddable SQL Database Engine | package | sqlite3-devel | Embeddable SQL Database Engine | package And, you may already know this as well, you can install multiple packages on a single line with zypper, eg.: `zypper in libmariadb-devel sqlite2-devel sqlite3-devel` HTH, ___ Lee On 7/14/19 5:35 AM, Rolf-Werner Eilert wrote: > Just?tried?to?compile?the?current?sources?on?this?system,?it?ended?up?in > > > || > ||?THESE?COMPONENTS?ARE?DISABLED: > ||?-?gb.db.mysql > ||?-?gb.db.odbc > ||?-?gb.db.postgresql > ||?-?gb.db.sqlite2 > ||?-?gb.db.sqlite3 > ||?-?gb.dbus > ||?-?gb.desktop.gnome.keyring > ||?-?gb.desktop.x11 > ||?-?gb.gsl > ||?-?gb.gtk > ||?-?gb.gtk.opengl > ||?-?gb.gtk3 > ||?-?gb.image.imlib > ||?-?gb.libxml > ||?-?gb.media > ||?-?gb.mime > ||?-?gb.ncurses > ||?-?gb.net.curl > ||?-?gb.openal > ||?-?gb.opengl > ||?-?gb.opengl.glsl > ||?-?gb.opengl.glu > ||?-?gb.opengl.sge > ||?-?gb.openssl > ||?-?gb.pdf > ||?-?gb.qt4 > ||?-?gb.qt4.ext > ||?-?gb.qt4.opengl > ||?-?gb.qt4.webkit > ||?-?gb.qt5 > ||?-?gb.qt5.ext > ||?-?gb.qt5.opengl > ||?-?gb.qt5.webkit > ||?-?gb.sdl > ||?-?gb.sdl.sound > ||?-?gb.sdl2 > ||?-?gb.sdl2.audio > ||?-?gb.v4l > ||?-?gb.xml.xslt > || From rwe-sse at osnanet.de Sun Jul 14 22:21:06 2019 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Sun, 14 Jul 2019 22:21:06 +0200 Subject: [Gambas-user] Which repo for Suse? In-Reply-To: References: <37ea3890-1f23-25b0-c9c4-18077649ab26@osnanet.de> Message-ID: <0a682bec-a1aa-b5d2-0ed4-eb68efaf88e0@osnanet.de> Ah yes, I remember, years back on Suse systems I used to simply install development packages for C, KDE and so on, and that was enough to compile Gambas. As I do not have access to the sources (maybe the Suse CD is at home, but the repos are closed), I will do with the version now on the laptop. I'm in the holidays, and what I want to do will run without the latest Gambas. Oh, and I see there is not enough space on the disc anymore for all that stuff. Thanks for the hint! Rolf Am 14.07.2019 um 17:53 schrieb T Lee Davidson: > The associated development packages need to be installed so those > components can be compiled. > > The Wiki page for compilation on openSUSE > (http://gambaswiki.org/wiki/install/opensuse) is obviously outdated, > being for version 10.2. But, it can serve as a basis for clues as to > which devel packages might be needed. > > You can use the 'zypper' tool on the command line to search for > packages using wildcards. For example: > > `zypper se *mariadb-devel` yields: > ? | libmariadb-devel | Development files for the MariaDB Connector C > API | package > > `zypper se sqlite?-devel` yields: > ? | sqlite2-devel | Embeddable SQL Database Engine | package > ? | sqlite3-devel | Embeddable SQL Database Engine | package > > And, you may already know this as well, you can install multiple > packages on a single line with zypper, eg.: > `zypper in libmariadb-devel sqlite2-devel sqlite3-devel` > > > HTH, > > ___ > Lee > > > On 7/14/19 5:35 AM, Rolf-Werner Eilert wrote: >> Just?tried?to?compile?the?current?sources?on?this?system,?it?ended?up?in >> >> >> || >> ||?THESE?COMPONENTS?ARE?DISABLED: >> ||?-?gb.db.mysql >> ||?-?gb.db.odbc >> ||?-?gb.db.postgresql >> ||?-?gb.db.sqlite2 >> ||?-?gb.db.sqlite3 >> ||?-?gb.dbus >> ||?-?gb.desktop.gnome.keyring >> ||?-?gb.desktop.x11 >> ||?-?gb.gsl >> ||?-?gb.gtk >> ||?-?gb.gtk.opengl >> ||?-?gb.gtk3 >> ||?-?gb.image.imlib >> ||?-?gb.libxml >> ||?-?gb.media >> ||?-?gb.mime >> ||?-?gb.ncurses >> ||?-?gb.net.curl >> ||?-?gb.openal >> ||?-?gb.opengl >> ||?-?gb.opengl.glsl >> ||?-?gb.opengl.glu >> ||?-?gb.opengl.sge >> ||?-?gb.openssl >> ||?-?gb.pdf >> ||?-?gb.qt4 >> ||?-?gb.qt4.ext >> ||?-?gb.qt4.opengl >> ||?-?gb.qt4.webkit >> ||?-?gb.qt5 >> ||?-?gb.qt5.ext >> ||?-?gb.qt5.opengl >> ||?-?gb.qt5.webkit >> ||?-?gb.sdl >> ||?-?gb.sdl.sound >> ||?-?gb.sdl2 >> ||?-?gb.sdl2.audio >> ||?-?gb.v4l >> ||?-?gb.xml.xslt >> || > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > From sharon at 455.co.il Sun Jul 14 22:50:35 2019 From: sharon at 455.co.il (Mayost Sharon) Date: Sun, 14 Jul 2019 23:50:35 +0300 Subject: [Gambas-user] Domain lists.gambas-basic.org is blacklisted Message-ID: <20190714204312.M72940@455.co.il> Recently my mail server has refused to receive email from lists.gambas-basic.org I noticed that the domain is blacklisted by: BARRACUDA And according to the log of my mail server I see that there is also a HELO problem Here's the log: Jul 14 23:22:40 orhachaim postfix/smtpd[32200]: NOQUEUE: reject: RCPT from bmailout1.hostsharing.net[83.223.95.100]: 450 4.7.1 : Helo command rejected: Host not found; from= to= proto=ESMTP helo= From chrisml at deganius.de Mon Jul 15 00:59:16 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Mon, 15 Jul 2019 00:59:16 +0200 Subject: [Gambas-user] Spam after subscribing In-Reply-To: <20190713210208.M62701@455.co.il> References: <7feae5e2-6292-9fe3-afd9-bf737d910198@tiscali.it> <20190713210208.M62701@455.co.il> Message-ID: Hi, Am 13.07.19 um 23:09 schrieb Mayost Sharon: > NOQUEUE: reject: RCPT from unknown [83.223.95.100]: 450 4.7.1 Client > host rejected: can not find your hostname, [83.223.95.100]; from = > to = proto > = ESMTP helo = Your server seems not to look at the SPF record in DNS which offers bmailout(x).hostsharing.net as valid senders for the domain lists.gambas-basic.org: > christof at tof-x230 ~ ? dig -t TXT lists.gambas-basic.org > > ; <<>> DiG 9.11.3-1ubuntu1.8-Ubuntu <<>> -t TXT > lists.gambas-basic.org ;; global options: +cmd ;; Got answer: ;; > ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23486 ;; flags: qr > rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1 > > ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ;; > QUESTION SECTION: ;lists.gambas-basic.org. IN TXT > > ;; ANSWER SECTION: lists.gambas-basic.org. 21071 IN TXT "v=spf1 a mx > a:bmailout1.hostsharing.net a:bmailout2.hostsharing.net > a:bmailout3.hostsharing.net ~all" lists.gambas-basic.org. 21071 IN > TXT > "google-site-verification=cLeDOKKbzAGTzV7kSq7yD1_O_00ElsFfT2Cv7auKp3U" If it is your own server you could install one of the incarnations of the SPF framework: > christof at xserver ? $ apt-cache search postfix | grep spf > spfquery - Abfragen das SPF (Sender Policy Framework), um Versender von E-Mails zu validieren > libmail-spf-xs-perl - library for validating mail senders with SPF - Perl bindings > libspf2-2 - library for validating mail senders with SPF > libspf2-dev - Header and development libraries for libspf2 > postfix-policyd-spf-perl - Simple Postfix policy server for RFC 4408/7208 SPF checking > spf-milter-python - RFC 4408 compliant SPF Milter for Sendmail and Postfix > postfix-policyd-spf-python - Postfix policy server for SPF checking > tumgreyspf - external policy checker for the postfix mail server Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: From chrisml at deganius.de Mon Jul 15 01:23:10 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Mon, 15 Jul 2019 01:23:10 +0200 Subject: [Gambas-user] No it is not! In-Reply-To: <20190714204312.M72940@455.co.il> References: <20190714204312.M72940@455.co.il> Message-ID: Am 14.07.19 um 22:50 schrieb Mayost Sharon: > Recently my mail server has refused to receive email from lists.gambas-basic.org The checks on your server are badly configured. If you bounce mail because of PTR (reverse lookup) only you will bounce a lot of valid mail. > I noticed that the domain is blacklisted by: BARRACUDA No: "The domain name lists.gambas-basic.org is not listed on Barracuda's Intent Block List. The domain lists.gambas-basic.org does not exist in our WebFilter content database. Please help us categorize this domain by submitting its category to us. " http://www.barracudacentral.org/lookups/lookup-reputation And: https://mxtoolbox.com/SuperTool.aspx?action=blacklist%3alists.gambas-basic.org&run=toolpage Also the sending mailservers are not blacklisted. You can also check: bmailout1.hostsharing.net bmailout2.hostsharing.net bmailout3.hostsharing.net Please double-check first before you write nonsense and I have a lot of work to clarify this. Thank you. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: From chrisml at deganius.de Mon Jul 15 01:29:41 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Mon, 15 Jul 2019 01:29:41 +0200 Subject: [Gambas-user] Spam after subscribing In-Reply-To: <4d3aa040-95fc-bb32-acfe-f2fdfdcf0a79@gmail.com> References: <7feae5e2-6292-9fe3-afd9-bf737d910198@tiscali.it> <4d3aa040-95fc-bb32-acfe-f2fdfdcf0a79@gmail.com> Message-ID: Am 13.07.19 um 11:23 schrieb Beno?t Minisini: > Le 13/07/2019 ? 10:48, roberto a ?crit?: >> After I subscribed to Gambas ML, i start to receive spam (bitcoin, >> viagra, beauty cream, ecc). >> >> Did you experienced the same? >> > I have subscribed with a gmail address, and I receive about 60 spams a > month. But I don't know if it's the Gambas ML fault. As soon as your mail address is available in public you will receive spam sooner or later. Also if an account of another user (which has received mail from you) is hacked and the hacker got mail addresses from there. For my very old mailaddresses I get thousands of spam mails per month. But they are filtered, so I don't see it. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: From sharon at 455.co.il Mon Jul 15 08:15:21 2019 From: sharon at 455.co.il (Mayost Sharon) Date: Mon, 15 Jul 2019 09:15:21 +0300 Subject: [Gambas-user] No it is not! In-Reply-To: References: <20190714204312.M72940@455.co.il> Message-ID: <20190715061031.M80222@455.co.il> Okay, I will not report nonsense I just wanted to help Yesterday I saw that it was on a black list But you probably do not want to hear criticism for improvement ---------- Original Message ----------- From: Christof Thalhofer To: Gambas Mailing List Sent: Mon, 15 Jul 2019 01:23:10 +0200 Subject: Re: [Gambas-user] No it is not! > Am 14.07.19 um 22:50 schrieb Mayost Sharon: > > > Recently my mail server has refused to receive email from lists.gambas-basic.org > > The checks on your server are badly configured. If you bounce mail > because of PTR (reverse lookup) only you will bounce a lot of valid mail. > > > I noticed that the domain is blacklisted by: BARRACUDA > > No: > > "The domain name lists.gambas-basic.org is not listed on Barracuda's > Intent Block List. > The domain lists.gambas-basic.org does not exist in our WebFilter > content database. Please help us categorize this domain by submitting > its category to us. " > > http://www.barracudacentral.org/lookups/lookup-reputation > > And: > > https://mxtoolbox.com/SuperTool.aspx?action=blacklist%3alists.gambas-basic.org&run=toolpage > > Also the sending mailservers are not blacklisted. You can also check: > > bmailout1.hostsharing.net > bmailout2.hostsharing.net > bmailout3.hostsharing.net > > Please double-check first before you write nonsense and I have a lot of > work to clarify this. Thank you. > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur ------- End of Original Message ------- From hans at gambas-buch.de Mon Jul 15 08:56:11 2019 From: hans at gambas-buch.de (Hans Lehmann) Date: Mon, 15 Jul 2019 08:56:11 +0200 Subject: [Gambas-user] Database: Events BeforeSave(...) and BeforeDelete(...) Message-ID: Hello. For a SQLite database project for our online book - in which all field types are used - I would like to insert an image (field type db.Blob) for each record. I also want to use the most important control elements from the component gb.db.form (DataSource, DataBrowser with navigation bar (New, Save, Update, Delete, Forward, Backward, Start and End), DataControl, DataCombo). I would like to implement the following: (1) Before saving a new or changed dataset, it should be determined whether an image has already been saved. If this is NOT the case, the image should be saved after an image selection dialog. (2) Before deleting a dataset, you should ask whether the dataset should actually be deleted. At the moment the data record is deleted immediately without any further inquiry! For both tasks the two events BeforeSave( Data As Result ) and BeforeDelete( Keys As Variant[] ) are obvious. But I have no idea how to handle both tasks with it? Can anyone help with ideas or even source code? Yours sincerely Hans -------------- next part -------------- An HTML attachment was scrubbed... URL: From chrisml at deganius.de Mon Jul 15 10:22:21 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Mon, 15 Jul 2019 10:22:21 +0200 Subject: [Gambas-user] No it is not! In-Reply-To: <20190715061031.M80222@455.co.il> References: <20190714204312.M72940@455.co.il> <20190715061031.M80222@455.co.il> Message-ID: <1fe21c86-d0d5-4155-7de4-f6edc6ff463a@deganius.de> Am 15.07.19 um 08:15 schrieb Mayost Sharon: > Okay, I will not report nonsense Great :-) Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: From chrisml at deganius.de Mon Jul 15 12:06:13 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Mon, 15 Jul 2019 12:06:13 +0200 Subject: [Gambas-user] Spam after subscribing In-Reply-To: <77023a2f-39b6-f893-7b8b-3c23c169e089@tiscali.it> References: <7feae5e2-6292-9fe3-afd9-bf737d910198@tiscali.it> <4d3aa040-95fc-bb32-acfe-f2fdfdcf0a79@gmail.com> <77023a2f-39b6-f893-7b8b-3c23c169e089@tiscali.it> Message-ID: <5f0f267e-b787-f8ff-2a59-38025dc41107@deganius.de> Am 13.07.19 um 11:26 schrieb roberto: > i suspect spammer monitor the ML and stole new email address ass soon as > people join ML. This would only been possible if the spammer had an account at the ML. I don't think that's likely, we're actually too small and so I think we are sailing under the radar of the big spammers. But spammers use bots and they could crawl the archive: https://lists.gambas-basic.org/pipermail/user/ It is also possible, however, that computers of members of the ML are hacked so that they expose mailadresses to spammers. Anyway, If you exchange mail with a lot of recipients (and this is what a mailinglist is for) it's a matter of time that your address will be in the hand of spammers. Spam filters exist. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: From chrisml at deganius.de Mon Jul 15 13:19:23 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Mon, 15 Jul 2019 13:19:23 +0200 Subject: [Gambas-user] Spam after subscribing In-Reply-To: <20190713210208.M62701@455.co.il> References: <7feae5e2-6292-9fe3-afd9-bf737d910198@tiscali.it> <20190713210208.M62701@455.co.il> Message-ID: Am 13.07.19 um 23:09 schrieb Mayost Sharon: > My mail server is: POSTFIX > I attach a log of POSTFIX > > NOQUEUE: reject: RCPT from unknown [83.223.95.100]: 450 4.7.1 Client host rejected: can > not find your hostname, [83.223.95.100]; from = to > = proto = ESMTP helo = I asked the hostmasters @hostsharing.net Your server complains that it cannot resolve bmailout1.hostsharing.net This seems to be a DNS problem on your side, because: gbs00-lists at h08 ~ ? dig +noall +answer bmailout1.hostsharing.net bmailout1.hostsharing.net. 21469 IN A 83.223.95.100 And reverse: gbs00-lists at h08 ~ ? dig +noall +answer -x 83.223.95.100 100.95.223.83.in-addr.arpa. 21600 IN PTR bmailout1.hostsharing.net. All this exists, what your Postfix does not find ... Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: From bagonergi at gmail.com Mon Jul 15 17:32:09 2019 From: bagonergi at gmail.com (Gianluigi) Date: Mon, 15 Jul 2019 17:32:09 +0200 Subject: [Gambas-user] Database: Events BeforeSave(...) and BeforeDelete(...) In-Reply-To: References: Message-ID: Il giorno lun 15 lug 2019 alle ore 08:57 Hans Lehmann ha scritto: > Hello. > > For a SQLite database project for our online book - in which all field > types are used - I would like to insert an image (field type db.Blob) for > each record. I also want to use the most important control elements from > the component gb.db.form (DataSource, DataBrowser with navigation bar (New, > Save, Update, Delete, Forward, Backward, Start and End), DataControl, > DataCombo). > > I would like to implement the following: > > (1) > Before saving a new or changed dataset, it should be determined whether an > image has already been saved. If this is NOT the case, the image should be > saved after an image selection dialog. > > (2) > Before deleting a dataset, you should ask whether the dataset should > actually be deleted. At the moment the data record is deleted immediately > without any further inquiry! > > For both tasks the two events BeforeSave( Data As Result ) and > BeforeDelete( Keys As Variant[] ) are obvious. But I have no idea how to > handle both tasks with it? Can anyone help with ideas or even source code? > > Yours sincerely > > Hans > > Hi Hans, stimulated by yours and by other questions on the graphic management of data with the gb.db.form component, I started studying it. Unfortunately I am stuck at the connection (Connection1.connection) which is indispensable for quickly compiling through the windows offered by the component. When I start the Database with: Connections["Connection1"].Open In a Balloon on Debug Common.CHeckDB.34 I get: Unable to locate database 'DB.gambas3' in '~/database' nel FMain:10 Note: If I open in traditional way it works. Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From taboege at gmail.com Mon Jul 15 18:13:50 2019 From: taboege at gmail.com (Tobias Boege) Date: Mon, 15 Jul 2019 18:13:50 +0200 Subject: [Gambas-user] [Gambas-Notification] [Git][gambas/gambas][master] DataComboView: Add parameter to signature of Event Validate In-Reply-To: <5d2ca3f62af7e_2bda3fa3656d64a419193663@sidekiq-asap-01-sv-gprd.mail> References: <5d2ca3f62af7e_2bda3fa3656d64a419193663@sidekiq-asap-01-sv-gprd.mail> Message-ID: <20190715161350.GC2451@highrise.localdomain> On Mon, 15 Jul 2019, Tobias Boege via Notification wrote: > Commits: > 77fdca92 by Tobias Boege at 2019-07-15T16:03:31Z > DataComboView: Add parameter to signature of Event Validate > > [GB.DB.FORM] > * BUG: DataComboView: Add parameter to signature of Event Validate > Beno?t: The Validate event has a Value As Variant parameter according to how the event is raised. Apparently it isn't necessary for the compiler and interpreter to declare the parameter of an event, but the /wiki/ needs it in order for the documentation to make sense. Currently you see this in DataComboView's Validate event page: Event Validate ( ) Raised when the contents of the control needs to be validated. Value is the value of the control. Would you please have the server take in the new .info file or how- ever the @{syntax} command works? Should the compiler complain if an event is raised with the wrong number or type of arguments according to the declared signature? Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From bagonergi at gmail.com Mon Jul 15 23:37:56 2019 From: bagonergi at gmail.com (Gianluigi) Date: Mon, 15 Jul 2019 23:37:56 +0200 Subject: [Gambas-user] Database connection with gb.db.form method Message-ID: Hi, I can't get the connection through only the graphic of the gb.db.form component. See attached project. In a Balloon on Debug Common.CheckDB.34 I get: Unable to locate database 'test' in '~/database' Am I wrong with the settings or is it a bug? Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: DataBaseTest-0.0.1.tar.gz Type: application/gzip Size: 11926 bytes Desc: not available URL: From g4mba5 at gmail.com Tue Jul 16 00:32:37 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 16 Jul 2019 00:32:37 +0200 Subject: [Gambas-user] [Gambas-Notification] [Git][gambas/gambas][master] DataComboView: Add parameter to signature of Event Validate In-Reply-To: <20190715161350.GC2451@highrise.localdomain> References: <5d2ca3f62af7e_2bda3fa3656d64a419193663@sidekiq-asap-01-sv-gprd.mail> <20190715161350.GC2451@highrise.localdomain> Message-ID: <423c3242-cce8-66f3-d66d-b1e8685c75ac@gmail.com> Le 15/07/2019 ? 18:13, Tobias Boege a ?crit?: > On Mon, 15 Jul 2019, Tobias Boege via Notification wrote: >> Commits: >> 77fdca92 by Tobias Boege at 2019-07-15T16:03:31Z >> DataComboView: Add parameter to signature of Event Validate >> >> [GB.DB.FORM] >> * BUG: DataComboView: Add parameter to signature of Event Validate >> > > Beno?t: The Validate event has a Value As Variant parameter according > to how the event is raised. Apparently it isn't necessary for the > compiler and interpreter to declare the parameter of an event, but > the /wiki/ needs it in order for the documentation to make sense. > Currently you see this in DataComboView's Validate event page: > > Event Validate ( ) > > Raised when the contents of the control needs to be validated. > Value is the value of the control. > > Would you please have the server take in the new .info file or how- > ever the @{syntax} command works? > > Should the compiler complain if an event is raised with the wrong > number or type of arguments according to the declared signature? > > Regards, > Tobi > Yes, the compiler apparently does not check that Raise arguments and event declaration match. I will update the wiki info files. -- Beno?t Minisini From bagonergi at gmail.com Tue Jul 16 11:10:43 2019 From: bagonergi at gmail.com (Gianluigi) Date: Tue, 16 Jul 2019 11:10:43 +0200 Subject: [Gambas-user] Database connection with gb.db.form method In-Reply-To: References: Message-ID: Hi Hans, thanks for the help but unfortunately I always get error: See attached image. I tried to connect to your test database, these are my passages. FMain properties: Arrangement = Vertical DataSource1 properties: Arrangement = Vertical Connection = Connection1 Expand = True Table = mausi DataBrowser1 properties: Columns id (table with one column) Editable = True Expand = True FMain.class code: Public Sub Form_Open() Connections["Connection1"].Open End Public Sub Form_Close() Connections["Connection1"].Close End Components: gb gb.db gb.db.form gb.form gb.gui (or gb.gui.qt) gb.image I try also with adding gb.db.sqlite3 Regards Gianluigi Il giorno lun 15 lug 2019 alle ore 23:37 Gianluigi ha scritto: > Hi, > I can't get the connection through only the graphic of the gb.db.form > component. > See attached project. > > In a Balloon on Debug Common.CheckDB.34 I get: > Unable to locate database 'test' in '~/database' > > Am I wrong with the settings or is it a bug? > > Regards > Gianluigi > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: connection1.png Type: image/png Size: 52045 bytes Desc: not available URL: From shordi at gmail.com Tue Jul 16 12:18:04 2019 From: shordi at gmail.com (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Tue, 16 Jul 2019 12:18:04 +0200 Subject: [Gambas-user] Database connection with gb.db.form method In-Reply-To: References: Message-ID: I had a similar issue a few days ago but in my case the .host of the connection was the /home/user/gambasprojects/project what is the application.path. I created a folder inside (/home/user/gambasprojects/project/Datos) and all works fine then. I thought it was a exected behaviour... Regards El mar., 16 jul. 2019 a las 11:11, Gianluigi () escribi?: > Hi Hans, > thanks for the help but unfortunately I always get error: > See attached image. > I tried to connect to your test database, these are my passages. > > FMain properties: > Arrangement = Vertical > > DataSource1 properties: > Arrangement = Vertical > Connection = Connection1 > Expand = True > Table = mausi > > DataBrowser1 properties: > Columns id (table with one column) > Editable = True > Expand = True > > FMain.class code: > Public Sub Form_Open() > Connections["Connection1"].Open > End > > Public Sub Form_Close() > Connections["Connection1"].Close > End > > Components: > gb > gb.db > gb.db.form > gb.form > gb.gui (or gb.gui.qt) > gb.image > I try also with adding gb.db.sqlite3 > > Regards > Gianluigi > > Il giorno lun 15 lug 2019 alle ore 23:37 Gianluigi > ha scritto: > >> Hi, >> I can't get the connection through only the graphic of the gb.db.form >> component. >> See attached project. >> >> In a Balloon on Debug Common.CheckDB.34 I get: >> Unable to locate database 'test' in '~/database' >> >> Am I wrong with the settings or is it a bug? >> >> Regards >> Gianluigi >> > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Tue Jul 16 13:33:10 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 16 Jul 2019 13:33:10 +0200 Subject: [Gambas-user] Nested data source In-Reply-To: <2adb1d9b-16af-3c1a-e34d-6d48dbcead6c@servinfo.it> References: <2adb1d9b-16af-3c1a-e34d-6d48dbcead6c@servinfo.it> Message-ID: <04efbc87-4894-14c0-5b2a-a42220962f6c@gmail.com> Hi, I have added a "IgnoreParent" property in the DataSource control in commit https://gitlab.com/gambas/gambas/commit/6902893ddb50e6480a63aa2268207241aea021f3. If that property is set to TRUE, then the DataSource will not filter its contents with the primary keys of its parent DataSources. It will act as if it was a root DataSource. Regards, Le 02/07/2019 ? 18:54, Marco Ancillotti a ?crit?: > Hi all, > > I have a problem using nested data source , if I put a datasource2 > inside a datasource1 ( graphically ) when I change datasource1 filter I > get no result from datasource2. > > Somethink like: > > print datasource2.count??? --> 119 ( or somethink else ) > datasource1.filter = 'cod > 30' > datasource1.movefirst() > print datasource2.count??? --> 0 > > When I move datasource2 outside datasource1 it work as expected. > > Is this a bug ? > > thank's in advance, > > marco. > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -- Beno?t Minisini From bagonergi at gmail.com Tue Jul 16 13:35:43 2019 From: bagonergi at gmail.com (Gianluigi) Date: Tue, 16 Jul 2019 13:35:43 +0200 Subject: [Gambas-user] Database connection with gb.db.form method In-Reply-To: References: Message-ID: Hi Jorge, thank you very much for the reply. So are you telling me that it is impossible to connect graphically to a database located outside the application? The wiki on this topic is ambiguous... Regards Gianluigi Il giorno mar 16 lug 2019 alle ore 12:19 Jorge Carri?n ha scritto: > I had a similar issue a few days ago but in my case the .host of the > connection was the /home/user/gambasprojects/project what is the > application.path. I created a folder inside > (/home/user/gambasprojects/project/Datos) and all works fine then. > I thought it was a exected behaviour... > > Regards > > > El mar., 16 jul. 2019 a las 11:11, Gianluigi () > escribi?: > >> Hi Hans, >> thanks for the help but unfortunately I always get error: >> See attached image. >> I tried to connect to your test database, these are my passages. >> >> FMain properties: >> Arrangement = Vertical >> >> DataSource1 properties: >> Arrangement = Vertical >> Connection = Connection1 >> Expand = True >> Table = mausi >> >> DataBrowser1 properties: >> Columns id (table with one column) >> Editable = True >> Expand = True >> >> FMain.class code: >> Public Sub Form_Open() >> Connections["Connection1"].Open >> End >> >> Public Sub Form_Close() >> Connections["Connection1"].Close >> End >> >> Components: >> gb >> gb.db >> gb.db.form >> gb.form >> gb.gui (or gb.gui.qt) >> gb.image >> I try also with adding gb.db.sqlite3 >> >> Regards >> Gianluigi >> >> Il giorno lun 15 lug 2019 alle ore 23:37 Gianluigi >> ha scritto: >> >>> Hi, >>> I can't get the connection through only the graphic of the gb.db.form >>> component. >>> See attached project. >>> >>> In a Balloon on Debug Common.CheckDB.34 I get: >>> Unable to locate database 'test' in '~/database' >>> >>> Am I wrong with the settings or is it a bug? >>> >>> Regards >>> Gianluigi >>> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shordi at gmail.com Tue Jul 16 18:27:23 2019 From: shordi at gmail.com (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Tue, 16 Jul 2019 18:27:23 +0200 Subject: [Gambas-user] Database connection with gb.db.form method In-Reply-To: References: Message-ID: No, just the opposite: I can't connect in the application.path. Creating a new directory inside the application.path it'worked... but I didn't try further things... I don't dare to isolate the bug (if its a bug). Regards. El mar., 16 jul. 2019 a las 13:36, Gianluigi () escribi?: > Hi Jorge, > thank you very much for the reply. > So are you telling me that it is impossible to connect graphically to a > database located outside the application? > The wiki on this topic is ambiguous... > > Regards > Gianluigi > > Il giorno mar 16 lug 2019 alle ore 12:19 Jorge Carri?n > ha scritto: > >> I had a similar issue a few days ago but in my case the .host of the >> connection was the /home/user/gambasprojects/project what is the >> application.path. I created a folder inside >> (/home/user/gambasprojects/project/Datos) and all works fine then. >> I thought it was a exected behaviour... >> >> Regards >> >> >> El mar., 16 jul. 2019 a las 11:11, Gianluigi () >> escribi?: >> >>> Hi Hans, >>> thanks for the help but unfortunately I always get error: >>> See attached image. >>> I tried to connect to your test database, these are my passages. >>> >>> FMain properties: >>> Arrangement = Vertical >>> >>> DataSource1 properties: >>> Arrangement = Vertical >>> Connection = Connection1 >>> Expand = True >>> Table = mausi >>> >>> DataBrowser1 properties: >>> Columns id (table with one column) >>> Editable = True >>> Expand = True >>> >>> FMain.class code: >>> Public Sub Form_Open() >>> Connections["Connection1"].Open >>> End >>> >>> Public Sub Form_Close() >>> Connections["Connection1"].Close >>> End >>> >>> Components: >>> gb >>> gb.db >>> gb.db.form >>> gb.form >>> gb.gui (or gb.gui.qt) >>> gb.image >>> I try also with adding gb.db.sqlite3 >>> >>> Regards >>> Gianluigi >>> >>> Il giorno lun 15 lug 2019 alle ore 23:37 Gianluigi >>> ha scritto: >>> >>>> Hi, >>>> I can't get the connection through only the graphic of the gb.db.form >>>> component. >>>> See attached project. >>>> >>>> In a Balloon on Debug Common.CheckDB.34 I get: >>>> Unable to locate database 'test' in '~/database' >>>> >>>> Am I wrong with the settings or is it a bug? >>>> >>>> Regards >>>> Gianluigi >>>> >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Tue Jul 16 19:22:11 2019 From: bagonergi at gmail.com (Gianluigi) Date: Tue, 16 Jul 2019 19:22:11 +0200 Subject: [Gambas-user] Database connection with gb.db.form method In-Reply-To: References: Message-ID: Hi Jorge, I badly explained myself. You mean that if the database is called MyDatabase, the program is called MyProject and is in the home folder you can't connect if MyDatabase is directly inside MyProject (home//MyProject/MyDatabase). If you add a folder for example MyFolder then it works (home//MyProject/MyFolder/MyDatabase). The same happens here. I, on the other hand, would like to understand how to make the connection created with the graphic system of the gb.db.form component work, with MyFolder/MyDatabase located outside MyProject. How can the connection work only if the database is in the project (even if in another folder)? There must be a way to compile the project without compromising its operation. What is it that my old brain can't understand? Regards Gianluigi Il giorno mar 16 lug 2019 alle ore 18:28 Jorge Carri?n ha scritto: > No, just the opposite: I can't connect in the application.path. Creating a > new directory inside the application.path it'worked... but I didn't try > further things... > I don't dare to isolate the bug (if its a bug). > > Regards. > > El mar., 16 jul. 2019 a las 13:36, Gianluigi () > escribi?: > >> Hi Jorge, >> thank you very much for the reply. >> So are you telling me that it is impossible to connect graphically to a >> database located outside the application? >> The wiki on this topic is ambiguous... >> >> Regards >> Gianluigi >> >> Il giorno mar 16 lug 2019 alle ore 12:19 Jorge Carri?n >> ha scritto: >> >>> I had a similar issue a few days ago but in my case the .host of the >>> connection was the /home/user/gambasprojects/project what is the >>> application.path. I created a folder inside >>> (/home/user/gambasprojects/project/Datos) and all works fine then. >>> I thought it was a exected behaviour... >>> >>> Regards >>> >>> >>> El mar., 16 jul. 2019 a las 11:11, Gianluigi () >>> escribi?: >>> >>>> Hi Hans, >>>> thanks for the help but unfortunately I always get error: >>>> See attached image. >>>> I tried to connect to your test database, these are my passages. >>>> >>>> FMain properties: >>>> Arrangement = Vertical >>>> >>>> DataSource1 properties: >>>> Arrangement = Vertical >>>> Connection = Connection1 >>>> Expand = True >>>> Table = mausi >>>> >>>> DataBrowser1 properties: >>>> Columns id (table with one column) >>>> Editable = True >>>> Expand = True >>>> >>>> FMain.class code: >>>> Public Sub Form_Open() >>>> Connections["Connection1"].Open >>>> End >>>> >>>> Public Sub Form_Close() >>>> Connections["Connection1"].Close >>>> End >>>> >>>> Components: >>>> gb >>>> gb.db >>>> gb.db.form >>>> gb.form >>>> gb.gui (or gb.gui.qt) >>>> gb.image >>>> I try also with adding gb.db.sqlite3 >>>> >>>> Regards >>>> Gianluigi >>>> >>>> Il giorno lun 15 lug 2019 alle ore 23:37 Gianluigi >>>> ha scritto: >>>> >>>>> Hi, >>>>> I can't get the connection through only the graphic of the gb.db.form >>>>> component. >>>>> See attached project. >>>>> >>>>> In a Balloon on Debug Common.CheckDB.34 I get: >>>>> Unable to locate database 'test' in '~/database' >>>>> >>>>> Am I wrong with the settings or is it a bug? >>>>> >>>>> Regards >>>>> Gianluigi >>>>> >>>> >>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>> ]---- >>>> >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shordi at gmail.com Tue Jul 16 20:11:43 2019 From: shordi at gmail.com (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Tue, 16 Jul 2019 20:11:43 +0200 Subject: [Gambas-user] Database connection with gb.db.form method In-Reply-To: References: Message-ID: Well, I've done some tests and I think I can confirm that the connection can not be established graphically if the database is in the project folder. Outside the project folder (or in a subfolder inside it) works perfectly. Either way the subject does not make much sense. If you compile the connection path in the installation package, the program will only work on the computer where it was designed unless you use a system folder, which is not recommended, I think. If you could set the .host property at Application.path then it would only work as readonly what is useless. What I do is create the "Application.Path/data" folder and locate the database in it. When creating the installation package, that database is compiled in the ejecutable and in the first execution is created normally in Desktop.datadir &/ Application.Name/ folder In the following executions of the project, the .host of the connection to this path is established. A couple of days ago I uploaded a project to the Gambas Farm called gbcalendario (I did not have time to translate it, I'm sorry) that uses that technique. Hope it helps for you. Best Regards El mar., 16 jul. 2019 a las 19:23, Gianluigi () escribi?: > Hi Jorge, > I badly explained myself. > You mean that if the database is called MyDatabase, the program is called > MyProject and is in the home folder you can't connect if MyDatabase is > directly inside MyProject (home//MyProject/MyDatabase). > If you add a folder for example MyFolder then it works (home/ name>/MyProject/MyFolder/MyDatabase). > > The same happens here. > > I, on the other hand, would like to understand how to make the connection > created with the graphic system of the gb.db.form component work, with > MyFolder/MyDatabase located outside MyProject. > How can the connection work only if the database is in the project (even > if in another folder)? > There must be a way to compile the project without compromising its > operation. > What is it that my old brain can't understand? > > Regards > Gianluigi > > Il giorno mar 16 lug 2019 alle ore 18:28 Jorge Carri?n > ha scritto: > >> No, just the opposite: I can't connect in the application.path. Creating >> a new directory inside the application.path it'worked... but I didn't try >> further things... >> I don't dare to isolate the bug (if its a bug). >> >> Regards. >> >> El mar., 16 jul. 2019 a las 13:36, Gianluigi () >> escribi?: >> >>> Hi Jorge, >>> thank you very much for the reply. >>> So are you telling me that it is impossible to connect graphically to a >>> database located outside the application? >>> The wiki on this topic is ambiguous... >>> >>> Regards >>> Gianluigi >>> >>> Il giorno mar 16 lug 2019 alle ore 12:19 Jorge Carri?n >>> ha scritto: >>> >>>> I had a similar issue a few days ago but in my case the .host of the >>>> connection was the /home/user/gambasprojects/project what is the >>>> application.path. I created a folder inside >>>> (/home/user/gambasprojects/project/Datos) and all works fine then. >>>> I thought it was a exected behaviour... >>>> >>>> Regards >>>> >>>> >>>> El mar., 16 jul. 2019 a las 11:11, Gianluigi () >>>> escribi?: >>>> >>>>> Hi Hans, >>>>> thanks for the help but unfortunately I always get error: >>>>> See attached image. >>>>> I tried to connect to your test database, these are my passages. >>>>> >>>>> FMain properties: >>>>> Arrangement = Vertical >>>>> >>>>> DataSource1 properties: >>>>> Arrangement = Vertical >>>>> Connection = Connection1 >>>>> Expand = True >>>>> Table = mausi >>>>> >>>>> DataBrowser1 properties: >>>>> Columns id (table with one column) >>>>> Editable = True >>>>> Expand = True >>>>> >>>>> FMain.class code: >>>>> Public Sub Form_Open() >>>>> Connections["Connection1"].Open >>>>> End >>>>> >>>>> Public Sub Form_Close() >>>>> Connections["Connection1"].Close >>>>> End >>>>> >>>>> Components: >>>>> gb >>>>> gb.db >>>>> gb.db.form >>>>> gb.form >>>>> gb.gui (or gb.gui.qt) >>>>> gb.image >>>>> I try also with adding gb.db.sqlite3 >>>>> >>>>> Regards >>>>> Gianluigi >>>>> >>>>> Il giorno lun 15 lug 2019 alle ore 23:37 Gianluigi < >>>>> bagonergi at gmail.com> ha scritto: >>>>> >>>>>> Hi, >>>>>> I can't get the connection through only the graphic of the gb.db.form >>>>>> component. >>>>>> See attached project. >>>>>> >>>>>> In a Balloon on Debug Common.CheckDB.34 I get: >>>>>> Unable to locate database 'test' in '~/database' >>>>>> >>>>>> Am I wrong with the settings or is it a bug? >>>>>> >>>>>> Regards >>>>>> Gianluigi >>>>>> >>>>> >>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>>> ]---- >>>>> >>>> >>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>> ]---- >>>> >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shordi at gmail.com Tue Jul 16 21:29:51 2019 From: shordi at gmail.com (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Tue, 16 Jul 2019 21:29:51 +0200 Subject: [Gambas-user] Database connection with gb.db.form method In-Reply-To: References: Message-ID: Found it! First: the issue of can't open databases in Application.path is, I think, intentional. It's a nonsense. About the "Unable to locate database test in ~/myDatabases" issue, the answer is: When you set the .host property on graphical interface, it is setted to "~/myFolder/ and stored on the .connection/myconnectionname.connection file but after that the IDE doesn't recognize the convention of substitute the ~ character for the user.home path. I you edit manually the .connection/myconnectionname.connection file and write the full path /home/myusername/ it works perfectly. I suppouse it's a bug. Best Regards El mar., 16 jul. 2019 a las 20:11, Jorge Carri?n () escribi?: > Well, I've done some tests and I think I can confirm that the connection > can not be established graphically if the database is in the project > folder. Outside the project folder (or in a subfolder inside it) works > perfectly. > Either way the subject does not make much sense. If you compile the > connection path in the installation package, the program will only work on > the computer where it was designed unless you use a system folder, which is > not recommended, I think. If you could set the .host property at > Application.path then it would only work as readonly what is useless. > What I do is create the "Application.Path/data" folder and locate the > database in it. When creating the installation package, that database is > compiled in the ejecutable and in the first execution is created normally > in Desktop.datadir &/ Application.Name/ folder > In the following executions of the project, the .host of the connection to > this path is established. > A couple of days ago I uploaded a project to the Gambas Farm called > gbcalendario (I did not have time to translate it, I'm sorry) that uses > that technique. > > Hope it helps for you. > > Best Regards > > El mar., 16 jul. 2019 a las 19:23, Gianluigi () > escribi?: > >> Hi Jorge, >> I badly explained myself. >> You mean that if the database is called MyDatabase, the program is called >> MyProject and is in the home folder you can't connect if MyDatabase is >> directly inside MyProject (home//MyProject/MyDatabase). >> If you add a folder for example MyFolder then it works (home/> name>/MyProject/MyFolder/MyDatabase). >> >> The same happens here. >> >> I, on the other hand, would like to understand how to make the connection >> created with the graphic system of the gb.db.form component work, with >> MyFolder/MyDatabase located outside MyProject. >> How can the connection work only if the database is in the project (even >> if in another folder)? >> There must be a way to compile the project without compromising its >> operation. >> What is it that my old brain can't understand? >> >> Regards >> Gianluigi >> >> Il giorno mar 16 lug 2019 alle ore 18:28 Jorge Carri?n >> ha scritto: >> >>> No, just the opposite: I can't connect in the application.path. Creating >>> a new directory inside the application.path it'worked... but I didn't try >>> further things... >>> I don't dare to isolate the bug (if its a bug). >>> >>> Regards. >>> >>> El mar., 16 jul. 2019 a las 13:36, Gianluigi () >>> escribi?: >>> >>>> Hi Jorge, >>>> thank you very much for the reply. >>>> So are you telling me that it is impossible to connect graphically to a >>>> database located outside the application? >>>> The wiki on this topic is ambiguous... >>>> >>>> Regards >>>> Gianluigi >>>> >>>> Il giorno mar 16 lug 2019 alle ore 12:19 Jorge Carri?n < >>>> shordi at gmail.com> ha scritto: >>>> >>>>> I had a similar issue a few days ago but in my case the .host of the >>>>> connection was the /home/user/gambasprojects/project what is the >>>>> application.path. I created a folder inside >>>>> (/home/user/gambasprojects/project/Datos) and all works fine then. >>>>> I thought it was a exected behaviour... >>>>> >>>>> Regards >>>>> >>>>> >>>>> El mar., 16 jul. 2019 a las 11:11, Gianluigi () >>>>> escribi?: >>>>> >>>>>> Hi Hans, >>>>>> thanks for the help but unfortunately I always get error: >>>>>> See attached image. >>>>>> I tried to connect to your test database, these are my passages. >>>>>> >>>>>> FMain properties: >>>>>> Arrangement = Vertical >>>>>> >>>>>> DataSource1 properties: >>>>>> Arrangement = Vertical >>>>>> Connection = Connection1 >>>>>> Expand = True >>>>>> Table = mausi >>>>>> >>>>>> DataBrowser1 properties: >>>>>> Columns id (table with one column) >>>>>> Editable = True >>>>>> Expand = True >>>>>> >>>>>> FMain.class code: >>>>>> Public Sub Form_Open() >>>>>> Connections["Connection1"].Open >>>>>> End >>>>>> >>>>>> Public Sub Form_Close() >>>>>> Connections["Connection1"].Close >>>>>> End >>>>>> >>>>>> Components: >>>>>> gb >>>>>> gb.db >>>>>> gb.db.form >>>>>> gb.form >>>>>> gb.gui (or gb.gui.qt) >>>>>> gb.image >>>>>> I try also with adding gb.db.sqlite3 >>>>>> >>>>>> Regards >>>>>> Gianluigi >>>>>> >>>>>> Il giorno lun 15 lug 2019 alle ore 23:37 Gianluigi < >>>>>> bagonergi at gmail.com> ha scritto: >>>>>> >>>>>>> Hi, >>>>>>> I can't get the connection through only the graphic of the >>>>>>> gb.db.form component. >>>>>>> See attached project. >>>>>>> >>>>>>> In a Balloon on Debug Common.CheckDB.34 I get: >>>>>>> Unable to locate database 'test' in '~/database' >>>>>>> >>>>>>> Am I wrong with the settings or is it a bug? >>>>>>> >>>>>>> Regards >>>>>>> Gianluigi >>>>>>> >>>>>> >>>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>>>> ]---- >>>>>> >>>>> >>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>>> ]---- >>>>> >>>> >>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>> ]---- >>>> >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Tue Jul 16 23:33:15 2019 From: bagonergi at gmail.com (Gianluigi) Date: Tue, 16 Jul 2019 23:33:15 +0200 Subject: [Gambas-user] Database connection with gb.db.form method In-Reply-To: References: Message-ID: Hi Jorge, I returned home only now :-( Thank you very much for the explanations and tests. :-) I download your program and tomorrow I study everything. Good night Gianluigi Il giorno mar 16 lug 2019 alle ore 21:31 Jorge Carri?n ha scritto: > Found it! > > First: the issue of can't open databases in Application.path is, I think, > intentional. It's a nonsense. > > About the "Unable to locate database test in ~/myDatabases" issue, the > answer is: > When you set the .host property on graphical interface, it is setted to > "~/myFolder/ and stored on the .connection/myconnectionname.connection file > but after that the IDE doesn't recognize the convention of substitute the ~ > character for the user.home path. > I you edit manually the .connection/myconnectionname.connection file and > write the full path /home/myusername/ it works perfectly. > > I suppouse it's a bug. > > Best Regards > > > > El mar., 16 jul. 2019 a las 20:11, Jorge Carri?n () > escribi?: > >> Well, I've done some tests and I think I can confirm that the connection >> can not be established graphically if the database is in the project >> folder. Outside the project folder (or in a subfolder inside it) works >> perfectly. >> Either way the subject does not make much sense. If you compile the >> connection path in the installation package, the program will only work on >> the computer where it was designed unless you use a system folder, which is >> not recommended, I think. If you could set the .host property at >> Application.path then it would only work as readonly what is useless. >> What I do is create the "Application.Path/data" folder and locate the >> database in it. When creating the installation package, that database is >> compiled in the ejecutable and in the first execution is created normally >> in Desktop.datadir &/ Application.Name/ folder >> In the following executions of the project, the .host of the connection >> to this path is established. >> A couple of days ago I uploaded a project to the Gambas Farm called >> gbcalendario (I did not have time to translate it, I'm sorry) that uses >> that technique. >> >> Hope it helps for you. >> >> Best Regards >> >> El mar., 16 jul. 2019 a las 19:23, Gianluigi () >> escribi?: >> >>> Hi Jorge, >>> I badly explained myself. >>> You mean that if the database is called MyDatabase, the program is >>> called MyProject and is in the home folder you can't connect if MyDatabase >>> is directly inside MyProject (home//MyProject/MyDatabase). >>> If you add a folder for example MyFolder then it works (home/>> name>/MyProject/MyFolder/MyDatabase). >>> >>> The same happens here. >>> >>> I, on the other hand, would like to understand how to make the >>> connection created with the graphic system of the gb.db.form component >>> work, with MyFolder/MyDatabase located outside MyProject. >>> How can the connection work only if the database is in the project (even >>> if in another folder)? >>> There must be a way to compile the project without compromising its >>> operation. >>> What is it that my old brain can't understand? >>> >>> Regards >>> Gianluigi >>> >>> Il giorno mar 16 lug 2019 alle ore 18:28 Jorge Carri?n >>> ha scritto: >>> >>>> No, just the opposite: I can't connect in the application.path. >>>> Creating a new directory inside the application.path it'worked... but I >>>> didn't try further things... >>>> I don't dare to isolate the bug (if its a bug). >>>> >>>> Regards. >>>> >>>> El mar., 16 jul. 2019 a las 13:36, Gianluigi () >>>> escribi?: >>>> >>>>> Hi Jorge, >>>>> thank you very much for the reply. >>>>> So are you telling me that it is impossible to connect graphically to >>>>> a database located outside the application? >>>>> The wiki on this topic is ambiguous... >>>>> >>>>> Regards >>>>> Gianluigi >>>>> >>>>> Il giorno mar 16 lug 2019 alle ore 12:19 Jorge Carri?n < >>>>> shordi at gmail.com> ha scritto: >>>>> >>>>>> I had a similar issue a few days ago but in my case the .host of the >>>>>> connection was the /home/user/gambasprojects/project what is the >>>>>> application.path. I created a folder inside >>>>>> (/home/user/gambasprojects/project/Datos) and all works fine then. >>>>>> I thought it was a exected behaviour... >>>>>> >>>>>> Regards >>>>>> >>>>>> >>>>>> El mar., 16 jul. 2019 a las 11:11, Gianluigi () >>>>>> escribi?: >>>>>> >>>>>>> Hi Hans, >>>>>>> thanks for the help but unfortunately I always get error: >>>>>>> See attached image. >>>>>>> I tried to connect to your test database, these are my passages. >>>>>>> >>>>>>> FMain properties: >>>>>>> Arrangement = Vertical >>>>>>> >>>>>>> DataSource1 properties: >>>>>>> Arrangement = Vertical >>>>>>> Connection = Connection1 >>>>>>> Expand = True >>>>>>> Table = mausi >>>>>>> >>>>>>> DataBrowser1 properties: >>>>>>> Columns id (table with one column) >>>>>>> Editable = True >>>>>>> Expand = True >>>>>>> >>>>>>> FMain.class code: >>>>>>> Public Sub Form_Open() >>>>>>> Connections["Connection1"].Open >>>>>>> End >>>>>>> >>>>>>> Public Sub Form_Close() >>>>>>> Connections["Connection1"].Close >>>>>>> End >>>>>>> >>>>>>> Components: >>>>>>> gb >>>>>>> gb.db >>>>>>> gb.db.form >>>>>>> gb.form >>>>>>> gb.gui (or gb.gui.qt) >>>>>>> gb.image >>>>>>> I try also with adding gb.db.sqlite3 >>>>>>> >>>>>>> Regards >>>>>>> Gianluigi >>>>>>> >>>>>>> Il giorno lun 15 lug 2019 alle ore 23:37 Gianluigi < >>>>>>> bagonergi at gmail.com> ha scritto: >>>>>>> >>>>>>>> Hi, >>>>>>>> I can't get the connection through only the graphic of the >>>>>>>> gb.db.form component. >>>>>>>> See attached project. >>>>>>>> >>>>>>>> In a Balloon on Debug Common.CheckDB.34 I get: >>>>>>>> Unable to locate database 'test' in '~/database' >>>>>>>> >>>>>>>> Am I wrong with the settings or is it a bug? >>>>>>>> >>>>>>>> Regards >>>>>>>> Gianluigi >>>>>>>> >>>>>>> >>>>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>>>>> ]---- >>>>>>> >>>>>> >>>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>>>> ]---- >>>>>> >>>>> >>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>>> ]---- >>>>> >>>> >>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>> ]---- >>>> >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >> > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebikul at gmail.com Wed Jul 17 01:06:35 2019 From: sebikul at gmail.com (=?UTF-8?Q?Sebasti=C3=A1n_Kulesz?=) Date: Tue, 16 Jul 2019 20:06:35 -0300 Subject: [Gambas-user] Printing with Gambas and the IDE In-Reply-To: References: Message-ID: Hi Benoit, Sorry for taking so long to look into this. I was reviewing the component to package it for the PPAs but was left with a few questions. Should this component be included in the same package as gb.form (i.e. gambas3-gb-form), or as a standalone package (gambas3-gb-form-print)? In any case, how should the dependencies be modified? if I understand correctly, the IDE should have gambas3-gb-form-print if packaged standalone, or is it an optional dependency? I don't want to play with the dependencies too much without asking first so as to not push any changes that may break some user's systems. Regards, Sebastian On Wed, Jul 10, 2019 at 1:23 PM Gianluigi wrote: > > > Il giorno mer 10 lug 2019 alle ore 16:14 Gianluigi > ha scritto: > >> >> Hi Benoit, >> >> Print only on paper or I do something wrong? >> >> Regards >> Gianluigi >> > > yes ok i'm stupid :-p > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Wed Jul 17 03:52:20 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 17 Jul 2019 03:52:20 +0200 Subject: [Gambas-user] Printing with Gambas and the IDE In-Reply-To: References: Message-ID: <2d253586-bb43-3e5a-a591-29533def0aa0@gmail.com> Le 17/07/2019 ? 01:06, Sebasti?n Kulesz a ?crit?: > Hi Benoit, > > Sorry for taking so long to look into this. > I was reviewing the component to package it for the PPAs but was left > with a few questions. Should this component be included in the same > package as gb.form (i.e. gambas3-gb-form), or as a standalone package > (gambas3-gb-form-print)? In any case, how should the dependencies be > modified? if I understand correctly, the IDE should have > gambas3-gb-form-print if packaged standalone, or is it an optional > dependency? > > I don't want to play with the dependencies too much without asking first > so as to not push any changes that may break some user's systems. > > Regards, > Sebastian > 'gb.form.print' is a component that depends on gb.form, and is a new mandatory dependency of the IDE. 'gb.form.print' must pe packaged on its own (Otherwise that breaks the IDE packager). It depends on 'gb.form'. I have updated the wiki "how to package Gambas" page. Regards, -- Beno?t Minisini From ian.roper at iinet.net.au Wed Jul 17 03:58:44 2019 From: ian.roper at iinet.net.au (Ian Roper) Date: Wed, 17 Jul 2019 09:58:44 +0800 Subject: [Gambas-user] Printing with Gambas and the IDE In-Reply-To: References: Message-ID: Hi, My Gambas GUI stopped working a few days ago. When I try to run it from a command line , I get this : [gbr3: unable to load component: gb.form.print] I'm on standard PPA daily updates and have received one this morning which did not fix the problem. Cheers, IR On 17/7/19 7:06 am, Sebasti?n Kulesz wrote: > Hi Benoit, > > Sorry for taking so long to look into this. > I was reviewing the component to package it for the PPAs but was left > with a few questions. Should this component be included in the same > package as gb.form (i.e. gambas3-gb-form), or as a standalone package > (gambas3-gb-form-print)? In any case, how should the dependencies be > modified? if I understand correctly, the IDE should have > gambas3-gb-form-print if packaged standalone, or is it an optional > dependency? > > I don't want to play with the dependencies too much without asking > first so as to not push any changes that may break some user's systems. > > Regards, > Sebastian > > On Wed, Jul 10, 2019 at 1:23 PM Gianluigi > wrote: > > > > Il giorno mer 10 lug 2019 alle ore 16:14 Gianluigi > > ha scritto: > > > Hi Benoit, > > Print only on paper or I do something wrong? > > Regards > Gianluigi > > > yes ok i'm stupid :-p > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > ]---- > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebikul at gmail.com Wed Jul 17 05:16:50 2019 From: sebikul at gmail.com (=?UTF-8?Q?Sebasti=C3=A1n_Kulesz?=) Date: Wed, 17 Jul 2019 00:16:50 -0300 Subject: [Gambas-user] Printing with Gambas and the IDE In-Reply-To: References: Message-ID: New builds are on the way. They will probably be available in a few hours. Please report any issues you find! On Tue, Jul 16, 2019 at 11:11 PM Ian Roper wrote: > Hi, > > My Gambas GUI stopped working a few days ago. > > When I try to run it from a command line , I get this : > > [gbr3: unable to load component: gb.form.print] > > > I'm on standard PPA daily updates and have received one this morning which > did not fix the problem. > > > Cheers, > > IR > > > On 17/7/19 7:06 am, Sebasti?n Kulesz wrote: > > Hi Benoit, > > Sorry for taking so long to look into this. > I was reviewing the component to package it for the PPAs but was left with > a few questions. Should this component be included in the same package as > gb.form (i.e. gambas3-gb-form), or as a standalone package > (gambas3-gb-form-print)? In any case, how should the dependencies be > modified? if I understand correctly, the IDE should have > gambas3-gb-form-print if packaged standalone, or is it an optional > dependency? > > I don't want to play with the dependencies too much without asking first > so as to not push any changes that may break some user's systems. > > Regards, > Sebastian > > On Wed, Jul 10, 2019 at 1:23 PM Gianluigi wrote: > >> >> >> Il giorno mer 10 lug 2019 alle ore 16:14 Gianluigi >> ha scritto: >> >>> >>> Hi Benoit, >>> >>> Print only on paper or I do something wrong? >>> >>> Regards >>> Gianluigi >>> >> >> yes ok i'm stupid :-p >> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Wed Jul 17 19:27:52 2019 From: bagonergi at gmail.com (Gianluigi) Date: Wed, 17 Jul 2019 19:27:52 +0200 Subject: [Gambas-user] Database connection with gb.db.form method In-Reply-To: References: Message-ID: Hi Jorge, very well, thanks to your help I am now able to create an executable from a graphic project with the gb.db.form component. I enclose the test project that uses the simple database sent to me by Hans to test connection. I inserted the database into the project in the Database folder A comment on this topic from Benoit would be welcome :-) Many thanks again Gianluigi Il giorno mar 16 lug 2019 alle ore 23:33 Gianluigi ha scritto: > Hi Jorge, > I returned home only now :-( > Thank you very much for the explanations and tests. :-) > I download your program and tomorrow I study everything. > > Good night > Gianluigi > > Il giorno mar 16 lug 2019 alle ore 21:31 Jorge Carri?n > ha scritto: > >> Found it! >> >> First: the issue of can't open databases in Application.path is, I think, >> intentional. It's a nonsense. >> >> About the "Unable to locate database test in ~/myDatabases" issue, the >> answer is: >> When you set the .host property on graphical interface, it is setted to >> "~/myFolder/ and stored on the .connection/myconnectionname.connection file >> but after that the IDE doesn't recognize the convention of substitute the ~ >> character for the user.home path. >> I you edit manually the .connection/myconnectionname.connection file and >> write the full path /home/myusername/ it works perfectly. >> >> I suppouse it's a bug. >> >> Best Regards >> >> >> >> El mar., 16 jul. 2019 a las 20:11, Jorge Carri?n () >> escribi?: >> >>> Well, I've done some tests and I think I can confirm that the connection >>> can not be established graphically if the database is in the project >>> folder. Outside the project folder (or in a subfolder inside it) works >>> perfectly. >>> Either way the subject does not make much sense. If you compile the >>> connection path in the installation package, the program will only work on >>> the computer where it was designed unless you use a system folder, which is >>> not recommended, I think. If you could set the .host property at >>> Application.path then it would only work as readonly what is useless. >>> What I do is create the "Application.Path/data" folder and locate the >>> database in it. When creating the installation package, that database is >>> compiled in the ejecutable and in the first execution is created normally >>> in Desktop.datadir &/ Application.Name/ folder >>> In the following executions of the project, the .host of the connection >>> to this path is established. >>> A couple of days ago I uploaded a project to the Gambas Farm called >>> gbcalendario (I did not have time to translate it, I'm sorry) that uses >>> that technique. >>> >>> Hope it helps for you. >>> >>> Best Regards >>> >>> El mar., 16 jul. 2019 a las 19:23, Gianluigi () >>> escribi?: >>> >>>> Hi Jorge, >>>> I badly explained myself. >>>> You mean that if the database is called MyDatabase, the program is >>>> called MyProject and is in the home folder you can't connect if MyDatabase >>>> is directly inside MyProject (home//MyProject/MyDatabase). >>>> If you add a folder for example MyFolder then it works (home/>>> name>/MyProject/MyFolder/MyDatabase). >>>> >>>> The same happens here. >>>> >>>> I, on the other hand, would like to understand how to make the >>>> connection created with the graphic system of the gb.db.form component >>>> work, with MyFolder/MyDatabase located outside MyProject. >>>> How can the connection work only if the database is in the project >>>> (even if in another folder)? >>>> There must be a way to compile the project without compromising its >>>> operation. >>>> What is it that my old brain can't understand? >>>> >>>> Regards >>>> Gianluigi >>>> >>>> Il giorno mar 16 lug 2019 alle ore 18:28 Jorge Carri?n < >>>> shordi at gmail.com> ha scritto: >>>> >>>>> No, just the opposite: I can't connect in the application.path. >>>>> Creating a new directory inside the application.path it'worked... but I >>>>> didn't try further things... >>>>> I don't dare to isolate the bug (if its a bug). >>>>> >>>>> Regards. >>>>> >>>>> El mar., 16 jul. 2019 a las 13:36, Gianluigi () >>>>> escribi?: >>>>> >>>>>> Hi Jorge, >>>>>> thank you very much for the reply. >>>>>> So are you telling me that it is impossible to connect graphically to >>>>>> a database located outside the application? >>>>>> The wiki on this topic is ambiguous... >>>>>> >>>>>> Regards >>>>>> Gianluigi >>>>>> >>>>>> Il giorno mar 16 lug 2019 alle ore 12:19 Jorge Carri?n < >>>>>> shordi at gmail.com> ha scritto: >>>>>> >>>>>>> I had a similar issue a few days ago but in my case the .host of the >>>>>>> connection was the /home/user/gambasprojects/project what is the >>>>>>> application.path. I created a folder inside >>>>>>> (/home/user/gambasprojects/project/Datos) and all works fine then. >>>>>>> I thought it was a exected behaviour... >>>>>>> >>>>>>> Regards >>>>>>> >>>>>>> >>>>>>> El mar., 16 jul. 2019 a las 11:11, Gianluigi () >>>>>>> escribi?: >>>>>>> >>>>>>>> Hi Hans, >>>>>>>> thanks for the help but unfortunately I always get error: >>>>>>>> See attached image. >>>>>>>> I tried to connect to your test database, these are my passages. >>>>>>>> >>>>>>>> FMain properties: >>>>>>>> Arrangement = Vertical >>>>>>>> >>>>>>>> DataSource1 properties: >>>>>>>> Arrangement = Vertical >>>>>>>> Connection = Connection1 >>>>>>>> Expand = True >>>>>>>> Table = mausi >>>>>>>> >>>>>>>> DataBrowser1 properties: >>>>>>>> Columns id (table with one column) >>>>>>>> Editable = True >>>>>>>> Expand = True >>>>>>>> >>>>>>>> FMain.class code: >>>>>>>> Public Sub Form_Open() >>>>>>>> Connections["Connection1"].Open >>>>>>>> End >>>>>>>> >>>>>>>> Public Sub Form_Close() >>>>>>>> Connections["Connection1"].Close >>>>>>>> End >>>>>>>> >>>>>>>> Components: >>>>>>>> gb >>>>>>>> gb.db >>>>>>>> gb.db.form >>>>>>>> gb.form >>>>>>>> gb.gui (or gb.gui.qt) >>>>>>>> gb.image >>>>>>>> I try also with adding gb.db.sqlite3 >>>>>>>> >>>>>>>> Regards >>>>>>>> Gianluigi >>>>>>>> >>>>>>>> Il giorno lun 15 lug 2019 alle ore 23:37 Gianluigi < >>>>>>>> bagonergi at gmail.com> ha scritto: >>>>>>>> >>>>>>>>> Hi, >>>>>>>>> I can't get the connection through only the graphic of the >>>>>>>>> gb.db.form component. >>>>>>>>> See attached project. >>>>>>>>> >>>>>>>>> In a Balloon on Debug Common.CheckDB.34 I get: >>>>>>>>> Unable to locate database 'test' in '~/database' >>>>>>>>> >>>>>>>>> Am I wrong with the settings or is it a bug? >>>>>>>>> >>>>>>>>> Regards >>>>>>>>> Gianluigi >>>>>>>>> >>>>>>>> >>>>>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>>>>>> ]---- >>>>>>>> >>>>>>> >>>>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>>>>> ]---- >>>>>>> >>>>>> >>>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>>>> ]---- >>>>>> >>>>> >>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>>> ]---- >>>>> >>>> >>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>> ]---- >>>> >>> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: TestDatabase-0.0.2.tar.gz Type: application/gzip Size: 12607 bytes Desc: not available URL: From bagonergi at gmail.com Thu Jul 18 14:39:16 2019 From: bagonergi at gmail.com (Gianluigi) Date: Thu, 18 Jul 2019 14:39:16 +0200 Subject: [Gambas-user] Copy and paste from printing IDE code Message-ID: Hi Benoit, I can't paste correctly in the IDE of the code printed by the IDE itself in pdf. Following the code copied and pasted: [0] Do I miss anything? Regards Gianluigi [0] ' Gambas module file Public Sub Main() Dim sPath As String = User.Home &/ Application.Name If Not Exist(sPath) Then Try Mkdir sPath sPath = sPath &/ "Database" If Not Exist(sPath) Then Try Mkdir sPath Connections["Connection1"].host = sPath If Not Exist(sPath &/ "test.sqlite") Then Try Copy "./Database/test.sqlite" To sPath &/ "test.sqlite" Connections["Connection1"].Name = "test.sqlite" FMain.Show End '' PASTE RESULT ' Gambas module file Public Sub Main() () Dim sPath As String = User. .Home &/ Application. .Name If Not Exist Exist( (sPath) ) Then Try Mkdir sPath sPath = sPath &/ "Database" If Not Exist Exist( (sPath) ) Then Try Mkdir sPath Connections[ ["Connection1"]. ].host = sPath If Not Exist Exist( (sPath &/ "test.sqlite") ) Then Try Copy "./Database/test.sqlite" To sPath &/ "test.sqlite" Connections[ ["Connection1"]. ].Name = "test.sqlite" FMain. .Show End -------------- next part -------------- An HTML attachment was scrubbed... URL: From rwe-sse at osnanet.de Fri Jul 19 01:38:17 2019 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Fri, 19 Jul 2019 01:38:17 +0200 Subject: [Gambas-user] Playing simple sounds Message-ID: Have been looking for "beep" or "play.ping" or "sound("ping.mp3")" or something like that, no way. Isn't there a simple way to play some standard sounds? Thanks for your input... Rolf From bagonergi at gmail.com Fri Jul 19 09:20:07 2019 From: bagonergi at gmail.com (Gianluigi) Date: Fri, 19 Jul 2019 09:20:07 +0200 Subject: [Gambas-user] Playing simple sounds In-Reply-To: References: Message-ID: Hi Rolf, take a look here: https://www.gambas-club.de/viewtopic.php?f=3&t=5226 Regards Gianluigi Il giorno ven 19 lug 2019 alle ore 01:39 Rolf-Werner Eilert < rwe-sse at osnanet.de> ha scritto: > Have been looking for "beep" or "play.ping" or "sound("ping.mp3")" or > something like that, no way. > > Isn't there a simple way to play some standard sounds? > > Thanks for your input... > > Rolf > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shordi at gmail.com Fri Jul 19 09:38:03 2019 From: shordi at gmail.com (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Fri, 19 Jul 2019 09:38:03 +0200 Subject: [Gambas-user] Playing simple sounds In-Reply-To: References: Message-ID: If you include the gb.sdl2 component then just try: sound.Load("mysound.wav"]).Play Regards El vie., 19 jul. 2019 a las 9:21, Gianluigi () escribi?: > Hi Rolf, > > take a look here: > https://www.gambas-club.de/viewtopic.php?f=3&t=5226 > > Regards > Gianluigi > > Il giorno ven 19 lug 2019 alle ore 01:39 Rolf-Werner Eilert < > rwe-sse at osnanet.de> ha scritto: > >> Have been looking for "beep" or "play.ping" or "sound("ping.mp3")" or >> something like that, no way. >> >> Isn't there a simple way to play some standard sounds? >> >> Thanks for your input... >> >> Rolf >> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas.fr at gmail.com Fri Jul 19 10:16:55 2019 From: gambas.fr at gmail.com (Fabien Bodard) Date: Fri, 19 Jul 2019 10:16:55 +0200 Subject: [Gambas-user] Copy and paste from printing IDE code In-Reply-To: References: Message-ID: Funny ... The two ot three last char of each line are repeated on the next one.. cant test now Le jeu. 18 juil. 2019 14:40, Gianluigi a ?crit : > Hi Benoit, > I can't paste correctly in the IDE of the code printed by the IDE itself > in pdf. > Following the code copied and pasted: [0] > > Do I miss anything? > > Regards > Gianluigi > > [0] ' Gambas module file > > Public Sub Main() > > Dim sPath As String = User.Home &/ Application.Name > > If Not Exist(sPath) Then Try Mkdir sPath > sPath = sPath &/ "Database" > If Not Exist(sPath) Then Try Mkdir sPath > Connections["Connection1"].host = sPath > If Not Exist(sPath &/ "test.sqlite") Then Try Copy > "./Database/test.sqlite" To sPath &/ "test.sqlite" > Connections["Connection1"].Name = "test.sqlite" > FMain.Show > > End > > '' PASTE RESULT > > ' Gambas module file > Public Sub Main() > () > Dim sPath As String = User. > .Home &/ Application. > .Name > If Not Exist > Exist( > (sPath) > ) Then Try Mkdir sPath > sPath = sPath &/ "Database" > If Not Exist > Exist( > (sPath) > ) Then Try Mkdir sPath > Connections[ > ["Connection1"]. > ].host = sPath > If Not Exist > Exist( > (sPath &/ "test.sqlite") > ) Then Try Copy "./Database/test.sqlite" To sPath &/ > "test.sqlite" > Connections[ > ["Connection1"]. > ].Name = "test.sqlite" > FMain. > .Show > End > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Fri Jul 19 10:21:58 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Fri, 19 Jul 2019 10:21:58 +0200 Subject: [Gambas-user] Copy and paste from printing IDE code In-Reply-To: References: Message-ID: Le 18/07/2019 ? 14:39, Gianluigi a ?crit?: > Hi Benoit, > I can't paste correctly in the IDE of the code printed by the IDE itself > in pdf. > Following the code copied and pasted: [0] > > Do I miss anything? > > Regards > Gianluigi > It's expected, because text is bolded by drawing it repeatedly. -- Beno?t Minisini From bagonergi at gmail.com Fri Jul 19 10:28:29 2019 From: bagonergi at gmail.com (Gianluigi) Date: Fri, 19 Jul 2019 10:28:29 +0200 Subject: [Gambas-user] Copy and paste from printing IDE code In-Reply-To: References: Message-ID: Il giorno ven 19 lug 2019 alle ore 10:22 Beno?t Minisini ha scritto: > Le 18/07/2019 ? 14:39, Gianluigi a ?crit : > > Hi Benoit, > > I can't paste correctly in the IDE of the code printed by the IDE itself > > in pdf. > > Following the code copied and pasted: [0] > > > > Do I miss anything? > > > > Regards > > Gianluigi > > > > It's expected, because text is bolded by drawing it repeatedly. > > -- > Beno?t Minisini > > You could add a "paste code" menu... :-) Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas.fr at gmail.com Fri Jul 19 10:59:25 2019 From: gambas.fr at gmail.com (Fabien Bodard) Date: Fri, 19 Jul 2019 10:59:25 +0200 Subject: [Gambas-user] Copy and paste from printing IDE code In-Reply-To: References: Message-ID: Le ven. 19 juil. 2019 10:22, Beno?t Minisini a ?crit : > Le 18/07/2019 ? 14:39, Gianluigi a ?crit : > > Hi Benoit, > > I can't paste correctly in the IDE of the code printed by the IDE itself > > in pdf. > > Following the code copied and pasted: [0] > > > > Do I miss anything? > > > > Regards > > Gianluigi > > > > It's expected, because text is bolded by drawing it repeatedly. > Haaa I've not seen the repeated sequences.. I understand now -- > Beno?t Minisini > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas.fr at gmail.com Fri Jul 19 11:07:48 2019 From: gambas.fr at gmail.com (Fabien Bodard) Date: Fri, 19 Jul 2019 11:07:48 +0200 Subject: [Gambas-user] Playing simple sounds In-Reply-To: References: Message-ID: With or without gui ? Le ven. 19 juil. 2019 09:39, Jorge Carri?n a ?crit : > If you include the gb.sdl2 component then just try: > sound.Load("mysound.wav"]).Play > > Regards > > El vie., 19 jul. 2019 a las 9:21, Gianluigi () > escribi?: > >> Hi Rolf, >> >> take a look here: >> https://www.gambas-club.de/viewtopic.php?f=3&t=5226 >> >> Regards >> Gianluigi >> >> Il giorno ven 19 lug 2019 alle ore 01:39 Rolf-Werner Eilert < >> rwe-sse at osnanet.de> ha scritto: >> >>> Have been looking for "beep" or "play.ping" or "sound("ping.mp3")" or >>> something like that, no way. >>> >>> Isn't there a simple way to play some standard sounds? >>> >>> Thanks for your input... >>> >>> Rolf >>> >>> >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rwe-sse at osnanet.de Fri Jul 19 12:54:35 2019 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Fri, 19 Jul 2019 12:54:35 +0200 Subject: [Gambas-user] Playing simple sounds In-Reply-To: References: Message-ID: <396cc4df-f1a4-0e4b-db53-73a567f89ffa@osnanet.de> On my Gambas on this system, there is no gb.sdl2 component which I could activate in Project/Components. Strange... Rolf Am 19.07.2019 um 09:38 schrieb Jorge Carri?n: > If you include the gb.sdl2 component then just try: > ?sound.Load("mysound.wav"]).Play > > Regards > > El vie., 19 jul. 2019 a las 9:21, Gianluigi ( >) escribi?: > > Hi Rolf, > > take a look here: > https://www.gambas-club.de/viewtopic.php?f=3&t=5226 > > Regards > Gianluigi > > Il giorno ven 19 lug 2019 alle ore 01:39 Rolf-Werner Eilert > > ha scritto: > > Have been looking for "beep" or "play.ping" or > "sound("ping.mp3")" or > something like that, no way. > > Isn't there a simple way to play some standard sounds? > > Thanks for your input... > > Rolf > > > > ----[ Gambas mailing-list is hosted by > https://www.hostsharing.net ]---- > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > ]---- > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From kicking177 at gmail.com Fri Jul 19 18:00:38 2019 From: kicking177 at gmail.com (KKing) Date: Fri, 19 Jul 2019 17:00:38 +0100 Subject: [Gambas-user] Ncurses Trapping Shift Tab issue when not run under X Message-ID: <731ca0a3-e50c-afa9-1b24-f5013da287c0@gmail.com> the below, appears to yield different results when run in unit not running X ?iKey = $hText.Read(1000) When run either in IDE or the executable run within a terminal started under X (e.g. XTerm or LXTerminal) iKey contains 353 BUT when run on unit with no X, it return just 9? (i.e. it has disregarded the SHIFT being held. thoughts? K. From the_watchmann at yahoo.com Fri Jul 19 18:00:57 2019 From: the_watchmann at yahoo.com (David Silverwood) Date: Fri, 19 Jul 2019 16:00:57 +0000 (UTC) Subject: [Gambas-user] DATE function Gambas 3.8.4 (Distro) In-Reply-To: References: <2077851537.1776294.1556545245218.ref@mail.yahoo.com> <2077851537.1776294.1556545245218@mail.yahoo.com> <497802234.2219331.1556615013711@mail.yahoo.com> <1223093897.468141.1558016173799@mail.yahoo.com> <1063910624.1328279.1558024240877@mail.yahoo.com> <632381728.1356037.1558024759202@mail.yahoo.com> <1540864515.1330483.1558025236446@mail.yahoo.com> <711368565.1624513.1558076392291@mail.yahoo.com> Message-ID: <616252834.2260998.1563552057423@mail.yahoo.com> Me again Thanks to everyone here I've managed to get a semi working program. Just one question. What am I missing in this code? No error is raised yet an item is not deleted? My save instruction and load instructions work fine, but both update and delete don't commit... what am I missing? Public Sub btnDelete_Click()? ??? ? $Request = "SUPPLIER = &1 AND QUOTE_NO = &2"? ??? ? Inc Application.Busy? ??? ? conMod.$Con.Begin()? ??? ? conMod.$Con.Delete("PREPAIDS", $Request, Trim(cboSupplier.Text), Trim(edtQuoteNo.Text)) 'according to gb.db this is a subroutine, so doesn't return a result?? ? conMod.$Con.Commit()? ??? ? btnClear_Click()? ??Finally? ? Dec Application.Busy? ??Catch? ? conMod.$Con.Rollback()? ? objErr.dhError()? ??End Debug info:gb.gui: warning: 'gb.qt5' component not found, using 'gb.qt4' insteadgb.db.sqlite3: 0x5587541f1018: PRAGMA empty_result_callbacks = ONgb.db.sqlite3: 0x5587541f1018: PRAGMA full_column_names = ONgb.db.sqlite3: 0x5587541f1018: select tbl_name from ( select tbl_name from sqlite_master where type = 'table' union select tbl_name from sqlite_temp_master where type = 'table' ) where tbl_name = 'PREPAIDS'gb.db.sqlite3: 0x5587541f1018: select tbl_name from ( select tbl_name from sqlite_master where type = 'table' union select tbl_name from sqlite_temp_master where type = 'table' ) where tbl_name = 'PREPAIDS'gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: select sql from sqlite_master where type = 'table' and tbl_name = 'PREPAIDS'gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: select sql from sqlite_master where type = 'table' and tbl_name = 'PREPAIDS'gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: select sql from sqlite_master where type = 'table' and tbl_name = 'PREPAIDS'gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: select sql from sqlite_master where type = 'table' and tbl_name = 'PREPAIDS'gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: select sql from sqlite_master where type = 'table' and tbl_name = 'PREPAIDS'gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: select sql from sqlite_master where type = 'table' and tbl_name = 'PREPAIDS'gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: select sql from sqlite_master where type = 'table' and tbl_name = 'PREPAIDS'gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: select sql from sqlite_master where type = 'table' and tbl_name = 'PREPAIDS'gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: select sql from sqlite_master where type = 'table' and tbl_name = 'PREPAIDS'gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: select sql from sqlite_master where type = 'table' and tbl_name = 'PREPAIDS'gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: select sql from sqlite_master where type = 'table' and tbl_name = 'PREPAIDS'gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: select sql from sqlite_master where type = 'table' and tbl_name = 'PREPAIDS'gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: select sql from sqlite_master where type = 'table' and tbl_name = 'PREPAIDS'gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: select sql from sqlite_master where type = 'table' and tbl_name = 'PREPAIDS'gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: select sql from sqlite_master where type = 'table' and tbl_name = 'PREPAIDS'gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: SELECT COUNT(*) AS nRecord FROM "PREPAIDS"gb.db.sqlite3: 0x5587541f1018: select tbl_name from ( select tbl_name from sqlite_master where type = 'table' union select tbl_name from sqlite_temp_master where type = 'table' ) where tbl_name = 'PREPAIDS'gb.db.sqlite3: 0x5587541f1018: SELECT DISTINCT SUPPLIERNAME FROM SUPPLIER ORDER BY SUPPLIERNAME;gb.db.sqlite3: 0x5587541f1018: SELECT "REF" FROM "PREPAIDS" ORDER BY "REF" LIMIT 256gb.db.sqlite3: 0x5587541f1018: SELECT * FROM "PREPAIDS" ORDER BY "REF" LIMIT 256gb.db.sqlite3: 0x5587541f1018: BEGINgb.db.sqlite3: 0x5587541f1018: SELECT * FROM "PREPAIDS" WHERE SUPPLIER = 'Flash Components CC' AND QUOTE_NO = '01036848'gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: select sql from sqlite_master where type = 'table' and tbl_name = 'PREPAIDS'gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: select sql from sqlite_master where type = 'table' and tbl_name = 'PREPAIDS'gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: select sql from sqlite_master where type = 'table' and tbl_name = 'PREPAIDS'gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: select sql from sqlite_master where type = 'table' and tbl_name = 'PREPAIDS'gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: select sql from sqlite_master where type = 'table' and tbl_name = 'PREPAIDS'gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: select sql from sqlite_master where type = 'table' and tbl_name = 'PREPAIDS'gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: select sql from sqlite_master where type = 'table' and tbl_name = 'PREPAIDS'gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: select sql from sqlite_master where type = 'table' and tbl_name = 'PREPAIDS'gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: select sql from sqlite_master where type = 'table' and tbl_name = 'PREPAIDS'gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: select sql from sqlite_master where type = 'table' and tbl_name = 'PREPAIDS'gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: select sql from sqlite_master where type = 'table' and tbl_name = 'PREPAIDS'gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: select sql from sqlite_master where type = 'table' and tbl_name = 'PREPAIDS'gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: select sql from sqlite_master where type = 'table' and tbl_name = 'PREPAIDS'gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: select sql from sqlite_master where type = 'table' and tbl_name = 'PREPAIDS'gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: select sql from sqlite_master where type = 'table' and tbl_name = 'PREPAIDS'gb.db.sqlite3: 0x5587541f1018: PRAGMA index_list('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: PRAGMA table_info('PREPAIDS')gb.db.sqlite3: 0x5587541f1018: DELETE FROM "PREPAIDS" WHERE SUPPLIER = 'Flash Components CC' AND QUOTE_NO = '01036848' thx David On Friday, May 17, 2019, 09:53:07 AM GMT+2, Gianluigi wrote: Sorry, I would look at the answer 501 Gianluigi Il giorno ven 17 mag 2019 alle ore 09:42 Gianluigi ha scritto: Take look here: https://askubuntu.com/questions/162391/how-do-i-fix-my-locale-issue/272892#272892 Gianluigi Il giorno ven 17 mag 2019 alle ore 09:00 David Silverwood via User ha scritto: Thanks Gianluigi The following explains my problem, from your example. Thank you very much! gbx3: warning: cannot switch to language 'en_ZA.UTF-8': No such file or directory. Did you install the corresponding locale packages? Tried it with EN_GB as well and again the same error. I suspect it may be a distro error as gambas probably switches to en_US as default? en_ZA should have installed when I originally installed Mint 18. Seems there is no en_ZA language pack out there ??? Checked the distro. Ah well, back to the drawing board. Thank you Charlie and Gianluigi, for your patience and your much valued assistance. Really appreciate it! David On Thursday, May 16, 2019, 11:35:07 PM GMT+2, Gianluigi wrote: Try the attached project RegardsGianluigi Il giorno gio 16 mag 2019 alle ore 19:45 Gianluigi ha scritto: I'm not talking about using dates like Strings (Cogier) but using dates as Dates. This was taught to me by Fabien Bodard (here) and Sotema in Italy. If you always use the Date value for your calculations you will have no problems. Then when you need to show it to the user use Str or Format. RegardsGianluigi Il giorno gio 16 mag 2019 alle ore 19:32 Gianluigi ha scritto: You can write the Date value like this: hResult!usdat = hDate ' ReportTest And you can read it like this: Left(Str(hDate), 10) '(international) Or Format(hDate, "dd/mm/yyyy") '(Local) RegardsGianluigi Il giorno gio 16 mag 2019 alle ore 18:48 David Silverwood via User ha scritto: and if I use today's date I get the following error... 'Error 21 in FExpenses.btnLoad_Click.143 The following error has occurred: Out of bounds' I think its stating that the month cannot be 16 and therefore out of bounds because I do not get this error when I use say 2019-05-05/ 2019-09-12 etc. As I said, my textbox swops the month and day around. Please bear with me. I am currently learning Gambas. On Thursday, May 16, 2019, 6:40:08 PM GMT+2, David Silverwood via User wrote: To add if I do this, which I have also tried, it comes close but still swops the month and day around... ? ? If edtDate.Text Then? ? ? ? sDate = Left$(edtDate.Text, 10)? ? ? ? $Date = Split(sDate, "/")? ? ? ? Debug sDate = $Date[2] & "-" & $Date[1] & "-" & $Date[0]? ? ? ? edtDate.Text = sDate? ? Endif Changing $Date[1] and $Date[0] around makes no difference whatsoever Regards David On Thursday, May 16, 2019, 6:31:07 PM GMT+2, David Silverwood via User wrote: Hi Gianluigi Are you referring to this portion:?Randomize? $hConn.Begin()? For i = 0 To $nRecords? ? nCasual = Rand(0, 30)? ? sName = aFirstName[nCasual]? ? nCasual = Rand(0, 30)? ? sSurname = aLastName[nCasual]? ? y = Rand(1959, 2000)? ? m = Rand(1, 12)? ? d = Rand(1, 28)? ? hDate = Date(y, m, d)? ? hResult = $hConn.Create("tuser")? ? hResult!usnam = sName? ? hResult!ussur = sSurname? ? hResult!usdat = hDate? ? hResult.Update? Next I actually found the code difficult to decipher but looking at it again I assume you are referring to hDate = Date(y, m, d)? On Thursday, May 16, 2019, 6:25:09 PM GMT+2, Gianluigi wrote: I had shown you the correct code you need to look at in Report1. RegardsGianluigi Il giorno gio 16 mag 2019 alle ore 16:17 David Silverwood via User ha scritto: Ok, so I'm back with the same problem. It seems to me Gambas has a template format for a date and trying to change it is impossible? As soon as Gambas sees it as a date, it reformats my formatting back to the incorrect format and renders all the code useless. Is this the way it is supposed to be?? I need my date formatted to sqlite format, eg, yyyy-mm-dd However, soon as I do that, gambas switches it to mm/dd/yyyy. My OS regional settings are correct. Using Mint 18.3 KDE and Gambas 3.13 (Thanks Charlie for the upgrade tip) The latter format is useless over here and inevitably gambas reads the day and month wrong, by switching it... I've tried using Split and in a debug /print statement I see that it does do exactly what I need, but once the format hits the textbox, Gambas actually changes it back to mm/dd/yyyy. How do I stop that? I tried DIM'ing the dates as Strings but Gambas seems to read dates as dates even if they are dimensioned as strings? (which I know they are 'special' strings of course). My sqlite3 database complains whenever I try and save the dates in Gambas's preferred format. I know I am doing something wrong since no one else has this issue.... but what? On Tuesday, April 30, 2019, 11:05:06 AM GMT+2, David Silverwood via User wrote: Thank you very much Charlie and Gianluigi. Those were pointers in the right direction for me! I really appreciate your help. (Not to mention I just learned a lot from both of your code too.) ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From shordi at gmail.com Fri Jul 19 19:07:38 2019 From: shordi at gmail.com (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Fri, 19 Jul 2019 19:07:38 +0200 Subject: [Gambas-user] Passing focus by code Message-ID: Well I've done a little control who has a form with a TextBox and a GridView inside. When type on Enter ot Tab keys I want pass the focus to next control in the custom container who can take it. I can't find a way to do this who works on all situations (my control inside a container who is inside another container who is inside in a form who is inside a tabstrip, etc. etc.) The me.next or me.previous reference doesn't work: They can be a HBox, for example who takes the focus and user is lost. What I pretend is to emulate the Tab key behaviour... without use the Desktop.sendkey. I don't want link desktop component to my custom control only for that. Any clue? Best regards -------------- next part -------------- An HTML attachment was scrubbed... URL: From taboege at gmail.com Fri Jul 19 19:09:36 2019 From: taboege at gmail.com (Tobias Boege) Date: Fri, 19 Jul 2019 19:09:36 +0200 Subject: [Gambas-user] Ncurses Trapping Shift Tab issue when not run under X In-Reply-To: <731ca0a3-e50c-afa9-1b24-f5013da287c0@gmail.com> References: <731ca0a3-e50c-afa9-1b24-f5013da287c0@gmail.com> Message-ID: <20190719170936.GI2451@highrise.localdomain> On Fri, 19 Jul 2019, KKing wrote: > the below, appears to yield different results when run in unit not running X > > ?iKey = $hText.Read(1000) > > When run either in IDE or the executable run within a terminal started under > X (e.g. XTerm or LXTerminal) iKey contains 353 > > BUT when run on unit with no X, it return just 9? (i.e. it has disregarded > the SHIFT being held. > > thoughts? > Decimal 353 is KEY_BTAB, or "back tab". I have no idea what this key is supposed to be doing and in my text editor it just causes a regular tab to be inserted. The terminals you use under X (as well as Konsole and urxvt over here) seem to have the idea that Shift+Tab should mean "back tab" and they send this key to the application. The terminal you use under non-X (the Linux console?) has a different idea and just sends a tab which is decimal 9. If you look at the output of `xev` when you type a Tab vs. a Shift+Tab, you see that X considers them as different keys (Tab vs. ISO_Left_Tab). In my .Xmodmap, I can map the keycode 23 generated by Shift+Tab to some other letter and sure enough that's the letter received by Window.Read in gb.ncurses. In short: I think the difference lies between those parts of the system that process keyboard events and turn them into input keys for the program. Under X, that is X (which is also why all X terminals behave the same), but in the Linux console, this is the Linux keyboard/terminal driver. Anyway, all this happens before even ncurses or gb.ncurses get involved, so no dice. Regards, Tobi -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk From bagonergi at gmail.com Fri Jul 19 20:21:07 2019 From: bagonergi at gmail.com (Gianluigi) Date: Fri, 19 Jul 2019 20:21:07 +0200 Subject: [Gambas-user] DATE function Gambas 3.8.4 (Distro) In-Reply-To: <616252834.2260998.1563552057423@mail.yahoo.com> References: <2077851537.1776294.1556545245218.ref@mail.yahoo.com> <2077851537.1776294.1556545245218@mail.yahoo.com> <497802234.2219331.1556615013711@mail.yahoo.com> <1223093897.468141.1558016173799@mail.yahoo.com> <1063910624.1328279.1558024240877@mail.yahoo.com> <632381728.1356037.1558024759202@mail.yahoo.com> <1540864515.1330483.1558025236446@mail.yahoo.com> <711368565.1624513.1558076392291@mail.yahoo.com> <616252834.2260998.1563552057423@mail.yahoo.com> Message-ID: Il giorno ven 19 lug 2019 alle ore 18:02 David Silverwood via User < user at lists.gambas-basic.org> ha scritto: > Me again > > Thanks to everyone here I've managed to get a semi working program. Just > one question. What am I missing in this code? No error is raised yet an > item is not deleted? My save instruction and load instructions work fine, > but both update and delete don't commit... what am I missing? > > Public Sub btnDelete_Click() > > $Request = "SUPPLIER = &1 AND QUOTE_NO = &2" > > Inc Application.Busy > > conMod.$Con.Begin() > > conMod.$Con.Delete("PREPAIDS", $Request, Trim(cboSupplier.Text), > Trim(edtQuoteNo.Text)) 'according to gb.db this is a subroutine, so doesn't > return a result? > conMod.$Con.Commit() > > btnClear_Click() > > Finally > Dec Application.Busy > > Catch > conMod.$Con.Rollback() > objErr.dhError() > > End > You can add this code to the end of the SQLiteDateTest code after 'Print Format(hResult["birth"], "dd/mm/yyyy") : hConn.Delete("users", "id=&1", 1) hResult = hConn.Find("users") ' get error: Result is not available Print Left(Str(hResult["birth"]), 10) ' don't work hConn.Close Catch hConn.Close Print Error.Text End Hope that helps Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Fri Jul 19 20:44:37 2019 From: bagonergi at gmail.com (Gianluigi) Date: Fri, 19 Jul 2019 20:44:37 +0200 Subject: [Gambas-user] Passing focus by code In-Reply-To: References: Message-ID: Hi Jorge, He does not talk about your problem [0] but, perhaps, he could inspire you. Even if I doubt it :-( Regards Gianluigi [0] http://www.gambas-it.org/wiki/index.php?title=Utilizzare_il_tasto_Tab_della_tastiera_per_spostare_il_cursore_del_mouse_fra_le_celle_di_una_TableView Il giorno ven 19 lug 2019 alle ore 19:08 Jorge Carri?n ha scritto: > Well I've done a little control who has a form with a TextBox and a > GridView inside. When type on Enter ot Tab keys I want pass the focus to > next control in the custom container who can take it. > I can't find a way to do this who works on all situations (my control > inside a container who is inside another container who is inside in a form > who is inside a tabstrip, etc. etc.) > > The me.next or me.previous reference doesn't work: They can be a HBox, for > example who takes the focus and user is lost. > > What I pretend is to emulate the Tab key behaviour... without use the > Desktop.sendkey. I don't want link desktop component to my custom control > only for that. > > Any clue? > > Best regards > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Fri Jul 19 20:49:34 2019 From: bagonergi at gmail.com (Gianluigi) Date: Fri, 19 Jul 2019 20:49:34 +0200 Subject: [Gambas-user] Passing focus by code In-Reply-To: References: Message-ID: They all use Desktop.SendKey, sorry :-( Il giorno ven 19 lug 2019 alle ore 20:44 Gianluigi ha scritto: > Hi Jorge, > > He does not talk about your problem [0] but, perhaps, he could inspire you. > Even if I doubt it :-( > > Regards > Gianluigi > > [0] > http://www.gambas-it.org/wiki/index.php?title=Utilizzare_il_tasto_Tab_della_tastiera_per_spostare_il_cursore_del_mouse_fra_le_celle_di_una_TableView > > Il giorno ven 19 lug 2019 alle ore 19:08 Jorge Carri?n > ha scritto: > >> Well I've done a little control who has a form with a TextBox and a >> GridView inside. When type on Enter ot Tab keys I want pass the focus to >> next control in the custom container who can take it. >> I can't find a way to do this who works on all situations (my control >> inside a container who is inside another container who is inside in a form >> who is inside a tabstrip, etc. etc.) >> >> The me.next or me.previous reference doesn't work: They can be a HBox, >> for example who takes the focus and user is lost. >> >> What I pretend is to emulate the Tab key behaviour... without use the >> Desktop.sendkey. I don't want link desktop component to my custom control >> only for that. >> >> Any clue? >> >> Best regards >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From rwe-sse at osnanet.de Fri Jul 19 23:06:05 2019 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Fri, 19 Jul 2019 23:06:05 +0200 Subject: [Gambas-user] Passing focus by code In-Reply-To: References: Message-ID: <0b2fe82c-e9d4-f6c0-b629-eb495f801183@osnanet.de> I do not precisely get what you mean, but... could Control.SetFocus be a solution? Am 19.07.2019 um 19:07 schrieb Jorge Carri?n: > Well I've done a little control who has a form with a TextBox and a > GridView inside. When type on Enter ot Tab keys I want pass the focus > to next control in the custom container?who can take it. > I can't find a way to do this who works on all situations (my control > inside a container who is inside another container who is inside in a > form who is inside a tabstrip, etc. etc.) > > The me.next or me.previous reference doesn't work: They can be a HBox, > for example who takes the focus and user is lost. > > What I pretend is to emulate the Tab key behaviour... without use the > Desktop.sendkey. I don't want link desktop component to my custom > control only for that. > > Any clue? > > Best regards > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas.fr at gmail.com Sat Jul 20 07:52:08 2019 From: gambas.fr at gmail.com (Fabien Bodard) Date: Sat, 20 Jul 2019 07:52:08 +0200 Subject: [Gambas-user] Passing focus by code In-Reply-To: <0b2fe82c-e9d4-f6c0-b629-eb495f801183@osnanet.de> References: <0b2fe82c-e9d4-f6c0-b629-eb495f801183@osnanet.de> Message-ID: I think it will be more easy to help you if you send a little example. Le ven. 19 juil. 2019 23:07, Rolf-Werner Eilert a ?crit : > I do not precisely get what you mean, but... could Control.SetFocus be a > solution? > > Am 19.07.2019 um 19:07 schrieb Jorge Carri?n: > > Well I've done a little control who has a form with a TextBox and a > GridView inside. When type on Enter ot Tab keys I want pass the focus to > next control in the custom container who can take it. > I can't find a way to do this who works on all situations (my control > inside a container who is inside another container who is inside in a form > who is inside a tabstrip, etc. etc.) > > The me.next or me.previous reference doesn't work: They can be a HBox, for > example who takes the focus and user is lost. > > What I pretend is to emulate the Tab key behaviour... without use the > Desktop.sendkey. I don't want link desktop component to my custom control > only for that. > > Any clue? > > Best regards > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From chrisml at deganius.de Sat Jul 20 09:32:59 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Sat, 20 Jul 2019 09:32:59 +0200 Subject: [Gambas-user] Passing focus by code In-Reply-To: References: Message-ID: <669891b2-3297-f6b7-3b62-fdb48620ab84@deganius.de> Hello Jorge, Am 19.07.19 um 19:07 schrieb Jorge Carri?n: > Well I've done a little control who has a form with a TextBox and a > GridView inside. When type on Enter ot Tab keys I want pass the focus to > next control in the custom container?who can take it. > I can't find a way to do this who works on all situations (my control > inside a container who is inside another container who is inside in a > form who is inside a tabstrip, etc. etc.) > > The me.next or me.previous reference doesn't work: They can be a HBox, > for example who takes the focus and user is lost. > > What I pretend is to emulate the Tab key behaviour... without use the > Desktop.sendkey. I don't want link desktop component to my custom > control only for that. > > Any clue? Please have a look at DegFormhelper in the Gambas Software Farm. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: From shordi at gmail.com Sat Jul 20 12:39:34 2019 From: shordi at gmail.com (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Sat, 20 Jul 2019 12:39:34 +0200 Subject: [Gambas-user] Passing focus by code In-Reply-To: References: <0b2fe82c-e9d4-f6c0-b629-eb495f801183@osnanet.de> Message-ID: Well... this is the example. It's just a little control for select in a list. The "Select" key is Return or Enter keys. After that I want the control to pass the focus to next control (Othercontrol in the example) without use Desktop.Sendkeys. If this isn't possible I will leave this like this. Is not essential for it. Regards El s?b., 20 jul. 2019 a las 7:53, Fabien Bodard () escribi?: > I think it will be more easy to help you if you send a little example. > > Le ven. 19 juil. 2019 23:07, Rolf-Werner Eilert a > ?crit : > >> I do not precisely get what you mean, but... could Control.SetFocus be a >> solution? >> >> Am 19.07.2019 um 19:07 schrieb Jorge Carri?n: >> >> Well I've done a little control who has a form with a TextBox and a >> GridView inside. When type on Enter ot Tab keys I want pass the focus to >> next control in the custom container who can take it. >> I can't find a way to do this who works on all situations (my control >> inside a container who is inside another container who is inside in a form >> who is inside a tabstrip, etc. etc.) >> >> The me.next or me.previous reference doesn't work: They can be a HBox, >> for example who takes the focus and user is lost. >> >> What I pretend is to emulate the Tab key behaviour... without use the >> Desktop.sendkey. I don't want link desktop component to my custom control >> only for that. >> >> Any clue? >> >> Best regards >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ListFind-0.0.1.tar.gz Type: application/gzip Size: 15835 bytes Desc: not available URL: From kicking177 at gmail.com Sat Jul 20 15:58:28 2019 From: kicking177 at gmail.com (KKing) Date: Sat, 20 Jul 2019 14:58:28 +0100 Subject: [Gambas-user] Ncurses Trapping Shift Tab issue when not run under X Message-ID: <38385ac5-2259-ba88-5085-e134e653cc29@gmail.com> Hi Tobi, << Anyway, all this happens before even ncurses or gb.ncurses get involved, so no dice. >> Set me off in the right direction ... Found a number of discussions about lots of original terminals supporting shift tab or even having a dedicated "backtab" button and that linux console didn't replicate and the work that was done to add it in though most of it was to terminals running under X. Eventually I found the below, which resolves my issue. https://www.raspberrypi.org/forums/viewtopic.php?t=55019 K. From chrisml at deganius.de Sat Jul 20 17:03:22 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Sat, 20 Jul 2019 17:03:22 +0200 Subject: [Gambas-user] Passing focus by code In-Reply-To: References: <0b2fe82c-e9d4-f6c0-b629-eb495f801183@osnanet.de> Message-ID: <433ca571-0a60-099b-389e-bf29d166f50c@deganius.de> Am 20.07.19 um 12:39 schrieb Jorge Carri?n:> Well... this is the example. It's just a little control for select in a> list. The "Select" key is Return or Enter keys. After that I want the> control to pass the focus to next control (Othercontrol in the example)> without use Desktop.Sendkeys. If this isn't possible I will leave this> like this. Is not essential for it. AFAICS your mail was bounced by all Google servers which power Gmail accounts. It seems that no Gmail account got your mail with the example: > : host gmail-smtp-in.l.google.com[2a00:1450:400c:c0b::1a] > said: 552-5.7.0 This message was blocked because its content presents a > potential 552-5.7.0 security issue. Please visit 552-5.7.0 > https://support.google.com/mail/?p=BlockedMessage to review our 552 5.7.0 > message content and attachment content guidelines. g30si33539849wrb.434 - > gsmtp (in reply to end of DATA command) Jorge, you are a potentional security issue. ;-) Better you use a free binary pastebin like this one: https://paste.c-net.org/ and post your a link in the mailinglist. Concerning Gmail accounts I only can say: You get what you have payed for. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: From shordi at gmail.com Sat Jul 20 17:29:30 2019 From: shordi at gmail.com (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Sat, 20 Jul 2019 17:29:30 +0200 Subject: [Gambas-user] Passing focus by code In-Reply-To: <433ca571-0a60-099b-389e-bf29d166f50c@deganius.de> References: <0b2fe82c-e9d4-f6c0-b629-eb495f801183@osnanet.de> <433ca571-0a60-099b-389e-bf29d166f50c@deganius.de> Message-ID: Well.. I sended it from a google server... I suppouse I deserv it Thank you Christof This is the link: https://paste.c-net.org/BidderHighest Best Regards El s?b., 20 jul. 2019 a las 17:04, Christof Thalhofer () escribi?: > Am 20.07.19 um 12:39 schrieb Jorge Carri?n:> Well... this is the > example. It's just a little control for select in a> list. The "Select" > key is Return or Enter keys. After that I want the> control to pass the > focus to next control (Othercontrol in the example)> without use > Desktop.Sendkeys. If this isn't possible I will leave this> like this. > Is not essential for it. > AFAICS your mail was bounced by all Google servers which power Gmail > accounts. It seems that no Gmail account got your mail with the example: > > > : host gmail-smtp-in.l.google.com > [2a00:1450:400c:c0b::1a] > > said: 552-5.7.0 This message was blocked because its content > presents a > > potential 552-5.7.0 security issue. Please visit 552-5.7.0 > > https://support.google.com/mail/?p=BlockedMessage to review our 552 > 5.7.0 > > message content and attachment content guidelines. > g30si33539849wrb.434 - > > gsmtp (in reply to end of DATA command) > > Jorge, you are a potentional security issue. ;-) > > Better you use a free binary pastebin like this one: > https://paste.c-net.org/ > and post your a link in the mailinglist. > > Concerning Gmail accounts I only can say: > You get what you have payed for. > > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas.fr at gmail.com Sat Jul 20 20:06:49 2019 From: gambas.fr at gmail.com (Fabien Bodard) Date: Sat, 20 Jul 2019 20:06:49 +0200 Subject: [Gambas-user] Bench In-Reply-To: References: Message-ID: ANNNND !!! Gambas win !!! Just for playing I'm writting a CatFish similar program. And also to have a good search engine for some of my projects. For the same search Gambas 0,939 sec CatFish 4 sec :-) Even with date range :-/... and they say catfish is fast ... Python is not Gambas :-) -- Fabien Bodard -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot_20190720_174911-ConvertImage (1).jpg Type: image/jpeg Size: 157142 bytes Desc: not available URL: From g4mba5 at gmail.com Sat Jul 20 22:15:59 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 20 Jul 2019 22:15:59 +0200 Subject: [Gambas-user] Bench In-Reply-To: References: Message-ID: Le 20/07/2019 ? 20:06, Fabien Bodard a ?crit?: > ANNNND !!! Gambas win !!! > > Just for playing I'm writting a CatFish similar program. And also to > have a good search engine for some of my projects. > > For the same search > Gambas 0,939 sec > CatFish 4 sec > > :-) > > Even with date range :-/... and they say catfish is fast ... > > Python is not Gambas :-) > > -- > Fabien Bodard > The difference is big. What does these programs do exactly? -- Beno?t Minisini From chrisml at deganius.de Sat Jul 20 22:59:30 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Sat, 20 Jul 2019 22:59:30 +0200 Subject: [Gambas-user] Passing focus by code In-Reply-To: References: <0b2fe82c-e9d4-f6c0-b629-eb495f801183@osnanet.de> <433ca571-0a60-099b-389e-bf29d166f50c@deganius.de> Message-ID: <7b850432-4073-774b-925e-d9bf52bd1da9@deganius.de> Am 20.07.19 um 17:29 schrieb Jorge Carri?n: > Well.. I sended it from a google server... I suppouse I deserv it Noo ...! Google does not deserve the attention they get. There is such a lot of mail providers which do their work much better. And you as a sender are not the problem. The problem is, that Google bounces your mail because it contains an attachment with a filename with the ending .tgz. Thats so silly ... ?Wait...what??? I think that's only a good example for Google's AI (artificial intelligence). ;-) Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: From gambas.fr at gmail.com Sun Jul 21 01:02:15 2019 From: gambas.fr at gmail.com (Fabien Bodard) Date: Sun, 21 Jul 2019 01:02:15 +0200 Subject: [Gambas-user] Bench In-Reply-To: References: Message-ID: Searching recursively in all dirs Then controlling if the pattern match and if the file date is in the date range. For the test I do not use date control neither on catfish. The file count result is quite the same. I'll polish the search box and then I share. Le sam. 20 juil. 2019 22:17, Beno?t Minisini a ?crit : > Le 20/07/2019 ? 20:06, Fabien Bodard a ?crit : > > ANNNND !!! Gambas win !!! > > > > Just for playing I'm writting a CatFish similar program. And also to > > have a good search engine for some of my projects. > > > > For the same search > > Gambas 0,939 sec > > CatFish 4 sec > > > > :-) > > > > Even with date range :-/... and they say catfish is fast ... > > > > Python is not Gambas :-) > > > > -- > > Fabien Bodard > > > > The difference is big. What does these programs do exactly? > > -- > Beno?t Minisini > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas.fr at gmail.com Sun Jul 21 01:12:11 2019 From: gambas.fr at gmail.com (Fabien Bodard) Date: Sun, 21 Jul 2019 01:12:11 +0200 Subject: [Gambas-user] Bench In-Reply-To: References: Message-ID: Arf Bad read Catfish is a search tool . The official on xubuntu and mint xfce. It's a frontent that can use different searching engine. Such as find/locate, zeigeist or self engine. It is written in python. I've pushed the display at the end of the search process because of the fileview refreshing time cost... but 2 sec for a full disk processing... -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas.fr at gmail.com Sun Jul 21 19:23:53 2019 From: gambas.fr at gmail.com (Fabien Bodard) Date: Sun, 21 Jul 2019 19:23:53 +0200 Subject: [Gambas-user] Bench In-Reply-To: References: Message-ID: this is my toy :-) Le dim. 21 juil. 2019 ? 01:12, Fabien Bodard a ?crit : > Arf Bad read > > Catfish is a search tool . The official on xubuntu and mint xfce. > > It's a frontent that can use different searching engine. Such as > find/locate, zeigeist or self engine. > > It is written in python. > > I've pushed the display at the end of the search process because of the > fileview refreshing time cost... but 2 sec for a full disk processing... > -- Fabien Bodard -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: gbFinder-0.0.1.tar.gz Type: application/gzip Size: 17021 bytes Desc: not available URL: From jussi.lahtinen at gmail.com Tue Jul 23 01:31:19 2019 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Tue, 23 Jul 2019 02:31:19 +0300 Subject: [Gambas-user] Passing focus by code In-Reply-To: <7b850432-4073-774b-925e-d9bf52bd1da9@deganius.de> References: <0b2fe82c-e9d4-f6c0-b629-eb495f801183@osnanet.de> <433ca571-0a60-099b-389e-bf29d166f50c@deganius.de> <7b850432-4073-774b-925e-d9bf52bd1da9@deganius.de> Message-ID: Google does not block emails because of .tgz attachments, the problem is in somewhere else. Jussi On Sun, Jul 21, 2019 at 12:00 AM Christof Thalhofer wrote: > Am 20.07.19 um 17:29 schrieb Jorge Carri?n: > > > Well.. I sended it from a google server... I suppouse I deserv it > > Noo ...! Google does not deserve the attention they get. There is such a > lot of mail providers which do their work much better. > > And you as a sender are not the problem. The problem is, that Google > bounces your mail because it contains an attachment with a filename with > the ending .tgz. > > Thats so silly ... ?Wait...what??? > > I think that's only a good example for Google's AI (artificial > intelligence). > > ;-) > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From chrisml at deganius.de Tue Jul 23 09:03:32 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Tue, 23 Jul 2019 09:03:32 +0200 Subject: [Gambas-user] Passing focus by code In-Reply-To: References: <0b2fe82c-e9d4-f6c0-b629-eb495f801183@osnanet.de> <433ca571-0a60-099b-389e-bf29d166f50c@deganius.de> <7b850432-4073-774b-925e-d9bf52bd1da9@deganius.de> Message-ID: Am 23.07.19 um 01:31 schrieb Jussi Lahtinen: > Google does not block emails because of .tgz attachments, the problem is > in somewhere else. It was "tar.gz". Maybe there is some AI-magic ... I am not a Google admin. They do not tell, what they do. > : host gmail-smtp-in.l.google.com[173.194.76.26] said: > 552-5.7.0 This message was blocked because its content presents a potential > 552-5.7.0 security issue. Please visit 552-5.7.0 > https://support.google.com/mail/?p=BlockedMessage to review our 552 5.7.0 > message content and attachment content guidelines. p5si31659554wrq.214 - > gsmtp (in reply to end of DATA command) But read by yourself (klick on attachments): https://support.google.com/mail/?p=BlockedMessage I assume they say "tar.gz" is suspicious, do not understand, what is inside and block it because it "could be" malicious code. But so Google destroys mail. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: From dickson.tim at googlemail.com Tue Jul 23 10:37:42 2019 From: dickson.tim at googlemail.com (Tim Dickson) Date: Tue, 23 Jul 2019 09:37:42 +0100 Subject: [Gambas-user] Passing focus by code In-Reply-To: References: <0b2fe82c-e9d4-f6c0-b629-eb495f801183@osnanet.de> <433ca571-0a60-099b-389e-bf29d166f50c@deganius.de> <7b850432-4073-774b-925e-d9bf52bd1da9@deganius.de> Message-ID: google doesn't block tar.gz attachments either. I send them regularly. regards, Tim On 23/07/2019 08:03, Christof Thalhofer wrote: > Am 23.07.19 um 01:31 schrieb Jussi Lahtinen: > >> Google does not block emails because of .tgz attachments, the problem is >> in somewhere else. > It was "tar.gz". > > Maybe there is some AI-magic ... I am not a Google admin. They do not > tell, what they do. > >> : host gmail-smtp-in.l.google.com[173.194.76.26] said: >> 552-5.7.0 This message was blocked because its content presents a potential >> 552-5.7.0 security issue. Please visit 552-5.7.0 >> https://support.google.com/mail/?p=BlockedMessage to review our 552 5.7.0 >> message content and attachment content guidelines. p5si31659554wrq.214 - >> gsmtp (in reply to end of DATA command) > But read by yourself (klick on attachments): > https://support.google.com/mail/?p=BlockedMessage > > I assume they say "tar.gz" is suspicious, do not understand, what is > inside and block it because it "could be" malicious code. > > But so Google destroys mail. > > Alles Gute > > Christof Thalhofer > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: timtest.tar.gz Type: application/x-gzip Size: 3231 bytes Desc: not available URL: From chrisml at deganius.de Tue Jul 23 10:58:51 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Tue, 23 Jul 2019 10:58:51 +0200 Subject: [Gambas-user] Passing focus by code In-Reply-To: References: <0b2fe82c-e9d4-f6c0-b629-eb495f801183@osnanet.de> <433ca571-0a60-099b-389e-bf29d166f50c@deganius.de> <7b850432-4073-774b-925e-d9bf52bd1da9@deganius.de> Message-ID: Am 23.07.19 um 10:37 schrieb Tim Dickson via User: > google doesn't block tar.gz attachments either. I send them regularly. > regards, Tim Yes, thank you, but here it comes from a mailinglist and the identical attachment is sent to hundreds of people at the same time. How can we tell Google, that if there is a small attachment sent from our mailinglist with ending tar.gz, it is not a "potential 552-5.7.0 security issue"? Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: From bagonergi at gmail.com Wed Jul 24 19:04:12 2019 From: bagonergi at gmail.com (Gianluigi) Date: Wed, 24 Jul 2019 19:04:12 +0200 Subject: [Gambas-user] The daily version from PPA still does not work Message-ID: Hi Sebastian, I remind you that the daily still does not work. (gbr3: unable to load component: gb.form.print) Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebikul at gmail.com Wed Jul 24 19:43:57 2019 From: sebikul at gmail.com (=?UTF-8?Q?Sebasti=C3=A1n_Kulesz?=) Date: Wed, 24 Jul 2019 14:43:57 -0300 Subject: [Gambas-user] The daily version from PPA still does not work In-Reply-To: References: Message-ID: Hi Gianluigi, sorry for the late reply. The error us already fixed, but a new build can only be triggered with a new commit to the gambas repo. So as soon as someone pushes a commit to the master branch, you will be able to use Gambas again. This is because I can't easily overwrite a package already generated and uploaded, that's a limitation from Launchpad. Regards On Wed, Jul 24, 2019, 2:05 PM Gianluigi wrote: > Hi Sebastian, > I remind you that the daily still does not work. > (gbr3: unable to load component: gb.form.print) > > Regards > Gianluigi > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Wed Jul 24 19:58:37 2019 From: bagonergi at gmail.com (Gianluigi) Date: Wed, 24 Jul 2019 19:58:37 +0200 Subject: [Gambas-user] The daily version from PPA still does not work In-Reply-To: References: Message-ID: Hi Sebastian, I thank you very much for the explanation that I am going to immediately communicate to the boys here. So should be urged Benoit :-) Regards Gianluigi Il giorno mer 24 lug 2019 alle ore 19:45 Sebasti?n Kulesz ha scritto: > Hi Gianluigi, sorry for the late reply. > > The error us already fixed, but a new build can only be triggered with a > new commit to the gambas repo. So as soon as someone pushes a commit to the > master branch, you will be able to use Gambas again. > This is because I can't easily overwrite a package already generated and > uploaded, that's a limitation from Launchpad. > > Regards > > On Wed, Jul 24, 2019, 2:05 PM Gianluigi wrote: > >> Hi Sebastian, >> I remind you that the daily still does not work. >> (gbr3: unable to load component: gb.form.print) >> >> Regards >> Gianluigi >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Wed Jul 24 20:04:53 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 24 Jul 2019 20:04:53 +0200 Subject: [Gambas-user] The daily version from PPA still does not work In-Reply-To: References: Message-ID: <486302a0-80b2-3a01-3945-2c11529a66ad@gmail.com> Le 24/07/2019 ? 19:58, Gianluigi a ?crit?: > Hi Sebastian, > I thank you very much for the explanation that I am going to immediately > communicate to the boys here. > > So should be urged Benoit :-) > > Regards > Gianluigi > Commit done. -- Beno?t Minisini From bagonergi at gmail.com Wed Jul 24 20:09:54 2019 From: bagonergi at gmail.com (Gianluigi) Date: Wed, 24 Jul 2019 20:09:54 +0200 Subject: [Gambas-user] The daily version from PPA still does not work In-Reply-To: <486302a0-80b2-3a01-3945-2c11529a66ad@gmail.com> References: <486302a0-80b2-3a01-3945-2c11529a66ad@gmail.com> Message-ID: Il giorno mer 24 lug 2019 alle ore 20:06 Beno?t Minisini ha scritto: > Le 24/07/2019 ? 19:58, Gianluigi a ?crit : > > Hi Sebastian, > > I thank you very much for the explanation that I am going to immediately > > communicate to the boys here. > > > > So should be urged Benoit :-) > > > > Regards > > Gianluigi > > > > Commit done. > > -- > Beno?t Minisini > > Great ?? Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebikul at gmail.com Wed Jul 24 20:45:59 2019 From: sebikul at gmail.com (=?UTF-8?Q?Sebasti=C3=A1n_Kulesz?=) Date: Wed, 24 Jul 2019 15:45:59 -0300 Subject: [Gambas-user] The daily version from PPA still does not work In-Reply-To: References: <486302a0-80b2-3a01-3945-2c11529a66ad@gmail.com> Message-ID: Aaand new build are on the way. Please let me know if there are any issues! On Wed, Jul 24, 2019, 3:11 PM Gianluigi wrote: > > > Il giorno mer 24 lug 2019 alle ore 20:06 Beno?t Minisini > ha scritto: > >> Le 24/07/2019 ? 19:58, Gianluigi a ?crit : >> > Hi Sebastian, >> > I thank you very much for the explanation that I am going to >> immediately >> > communicate to the boys here. >> > >> > So should be urged Benoit :-) >> > >> > Regards >> > Gianluigi >> > >> >> Commit done. >> >> -- >> Beno?t Minisini >> >> > Great ?? > > Regards > Gianluigi > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Wed Jul 24 23:55:24 2019 From: bagonergi at gmail.com (Gianluigi) Date: Wed, 24 Jul 2019 23:55:24 +0200 Subject: [Gambas-user] The daily version from PPA still does not work In-Reply-To: References: <486302a0-80b2-3a01-3945-2c11529a66ad@gmail.com> Message-ID: Hi Sebastian, thanks, now in Ubuntu 18.04 it installs without errors. Upon first opening I get this: gb.gui.qt: warning: 'gb.qt5' component not found, using 'gb.qt4' instead Gtk-Message: 23:38:34.437: Failed to load module "canberra-gtk-module" The second message disappears after writing to a terminal: sudo apt install libcanberra-gtk-module Regards Gianluigi Il giorno mer 24 lug 2019 alle ore 20:47 Sebasti?n Kulesz ha scritto: > Aaand new build are on the way. Please let me know if there are any issues! > > On Wed, Jul 24, 2019, 3:11 PM Gianluigi wrote: > >> >> >> Il giorno mer 24 lug 2019 alle ore 20:06 Beno?t Minisini < >> g4mba5 at gmail.com> ha scritto: >> >>> Le 24/07/2019 ? 19:58, Gianluigi a ?crit : >>> > Hi Sebastian, >>> > I thank you very much for the explanation that I am going to >>> immediately >>> > communicate to the boys here. >>> > >>> > So should be urged Benoit :-) >>> > >>> > Regards >>> > Gianluigi >>> > >>> >>> Commit done. >>> >>> -- >>> Beno?t Minisini >>> >>> >> Great ?? >> >> Regards >> Gianluigi >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jussi.lahtinen at gmail.com Thu Jul 25 02:25:37 2019 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Thu, 25 Jul 2019 03:25:37 +0300 Subject: [Gambas-user] Passing focus by code In-Reply-To: References: <0b2fe82c-e9d4-f6c0-b629-eb495f801183@osnanet.de> <433ca571-0a60-099b-389e-bf29d166f50c@deganius.de> <7b850432-4073-774b-925e-d9bf52bd1da9@deganius.de> Message-ID: No, you misread what the documentation says. tar.gz is not blocked and the documentation does not claim such thing. It just says the forbidden file types are not allowed even when packed. So, I guess the tar.gz file contained forbidden attachment. Jussi On Tue, Jul 23, 2019 at 10:04 AM Christof Thalhofer wrote: > Am 23.07.19 um 01:31 schrieb Jussi Lahtinen: > > > Google does not block emails because of .tgz attachments, the problem is > > in somewhere else. > > It was "tar.gz". > > Maybe there is some AI-magic ... I am not a Google admin. They do not > tell, what they do. > > > : host gmail-smtp-in.l.google.com[173.194.76.26] said: > > 552-5.7.0 This message was blocked because its content presents a > potential > > 552-5.7.0 security issue. Please visit 552-5.7.0 > > https://support.google.com/mail/?p=BlockedMessage to review our 552 > 5.7.0 > > message content and attachment content guidelines. > p5si31659554wrq.214 - > > gsmtp (in reply to end of DATA command) > > But read by yourself (klick on attachments): > https://support.google.com/mail/?p=BlockedMessage > > I assume they say "tar.gz" is suspicious, do not understand, what is > inside and block it because it "could be" malicious code. > > But so Google destroys mail. > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From chrisml at deganius.de Thu Jul 25 07:49:35 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Thu, 25 Jul 2019 07:49:35 +0200 Subject: [Gambas-user] Passing focus by code In-Reply-To: References: <0b2fe82c-e9d4-f6c0-b629-eb495f801183@osnanet.de> <433ca571-0a60-099b-389e-bf29d166f50c@deganius.de> <7b850432-4073-774b-925e-d9bf52bd1da9@deganius.de> Message-ID: <827f10f0-dbb3-689a-97a0-8ba3c203794e@deganius.de> Am 25.07.19 um 02:25 schrieb Jussi Lahtinen: > No, you misread what the documentation says. tar.gz is not blocked and > the documentation does not claim such thing. > It just says the forbidden file types are not allowed even when packed. > So, I guess the tar.gz file contained forbidden attachment. Ah ok, you are right. Ok, these filenames can be found inside the attachment: > ./ListFind > ./ListFind/Loremipsum > ./ListFind/.directory > ./ListFind/.icon.png > ./ListFind/.lang > ./ListFind/.lang/en.po > ./ListFind/.lang/en.mo > ./ListFind/.startup > ./ListFind/.component > ./ListFind/.project > ./ListFind/.src > ./ListFind/.src/fTest.class > ./ListFind/.src/fTest.form > ./ListFind/.src/ListFind > ./ListFind/.src/ListFind/_lista.class > ./ListFind/.src/ListFind/ListFind.class > ./ListFind/.src/ListFind/_lista.form > ./ListFind/.gambas > ./ListFind/.action > ./ListFind/.hidden > ./ListFind/.hidden/control > ./ListFind/.hidden/control/listfind.png If Google sees "suspicious" file endings here I can't find anything logical about it. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: From denisc at exemail.com.au Thu Jul 25 07:52:24 2019 From: denisc at exemail.com.au (Denis Crowther) Date: Thu, 25 Jul 2019 15:52:24 +1000 Subject: [Gambas-user] valgrind Message-ID: <312164c6-7aa5-9640-3c6a-4cb46890fa6b@exemail.com.au> Hi Guys, I keep getting a segmentation fault in one of my programs. I've done this; -------------- Mmm, I forgot to told you that you must compile the interpreter with debugging information enabled. $ cd /main/gbx $ make clean $ make "CFLAGS=-O0 -g" $ cd .. $ sudo make install ------------- then I run this; valgrind --tool=memcheck --num-callers=50 PD.gambas > valgrind.out 2>&1 and I get this; (full copy attached) valgrind: Unrecognised instruction at address 0x4014c08 anyone have any ideas? -- Regards Denis -------------- next part -------------- ==13746== Memcheck, a memory error detector ==13746== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al. ==13746== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info ==13746== Command: /home/denis/Programming/Gambas/Punting/Punt_Data/PD.gambas ==13746== vex amd64->IR: unhandled instruction bytes: 0xF 0xAE 0x64 0x24 0x40 0x48 0x8B 0x73 vex amd64->IR: REX=0 REX.W=0 REX.R=0 REX.X=0 REX.B=0 vex amd64->IR: VEX=0 VEX.L=0 VEX.nVVVV=0x0 ESC=0F vex amd64->IR: PFX.66=0 PFX.F2=0 PFX.F3=0 ==13746== valgrind: Unrecognised instruction at address 0x4014c08. ==13746== at 0x4014C08: ??? (in /lib64/ld-2.29.so) ==13746== Your program just tried to execute an instruction that Valgrind ==13746== did not recognise. There are two possible reasons for this. ==13746== 1. Your program has a bug and erroneously jumped to a non-code ==13746== location. If you are running Memcheck and you just saw a ==13746== warning about a bad jump, it's probably your program's fault. ==13746== 2. The instruction is legitimate but Valgrind doesn't handle it, ==13746== i.e. it's Valgrind's fault. If you think this is the case or ==13746== you are not sure, please let us know and we'll try to fix it. ==13746== Either way, Valgrind will now raise a SIGILL signal which will ==13746== probably kill your program. ==13746== ==13746== Process terminating with default action of signal 4 (SIGILL) ==13746== Illegal opcode at address 0x4014C08 ==13746== at 0x4014C08: ??? (in /lib64/ld-2.29.so) ==13746== valgrind: Unrecognised instruction at address 0x4014c08. ==13746== at 0x4014C08: ??? (in /lib64/ld-2.29.so) ==13746== Your program just tried to execute an instruction that Valgrind ==13746== did not recognise. There are two possible reasons for this. ==13746== 1. Your program has a bug and erroneously jumped to a non-code ==13746== location. If you are running Memcheck and you just saw a ==13746== warning about a bad jump, it's probably your program's fault. ==13746== 2. The instruction is legitimate but Valgrind doesn't handle it, ==13746== i.e. it's Valgrind's fault. If you think this is the case or ==13746== you are not sure, please let us know and we'll try to fix it. ==13746== Either way, Valgrind will now raise a SIGILL signal which will ==13746== probably kill your program. ==13746== ==13746== Process terminating with default action of signal 4 (SIGILL) ==13746== Illegal opcode at address 0x4014C08 ==13746== at 0x4014C08: ??? (in /lib64/ld-2.29.so) ==13746== ==13746== HEAP SUMMARY: ==13746== in use at exit: 0 bytes in 0 blocks ==13746== total heap usage: 0 allocs, 0 frees, 0 bytes allocated ==13746== ==13746== All heap blocks were freed -- no leaks are possible ==13746== ==13746== For counts of detected and suppressed errors, rerun with: -v ==13746== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) From shordi at gmail.com Thu Jul 25 08:24:21 2019 From: shordi at gmail.com (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Thu, 25 Jul 2019 08:24:21 +0200 Subject: [Gambas-user] Passing focus by code In-Reply-To: <827f10f0-dbb3-689a-97a0-8ba3c203794e@deganius.de> References: <0b2fe82c-e9d4-f6c0-b629-eb495f801183@osnanet.de> <433ca571-0a60-099b-389e-bf29d166f50c@deganius.de> <7b850432-4073-774b-925e-d9bf52bd1da9@deganius.de> <827f10f0-dbb3-689a-97a0-8ba3c203794e@deganius.de> Message-ID: After little more polishing, I attach a new version of same project. Just testing the "Google hates me thing"... and the pastebin link, of course: https://paste.c-net.org/MatchedMarcus Best regards El jue., 25 jul. 2019 a las 7:50, Christof Thalhofer () escribi?: > Am 25.07.19 um 02:25 schrieb Jussi Lahtinen: > > > No, you misread what the documentation says. tar.gz is not blocked and > > the documentation does not claim such thing. > > It just says the forbidden file types are not allowed even when packed. > > So, I guess the tar.gz file contained forbidden attachment. > > Ah ok, you are right. > > Ok, these filenames can be found inside the attachment: > > > ./ListFind > > ./ListFind/Loremipsum > > ./ListFind/.directory > > ./ListFind/.icon.png > > ./ListFind/.lang > > ./ListFind/.lang/en.po > > ./ListFind/.lang/en.mo > > ./ListFind/.startup > > ./ListFind/.component > > ./ListFind/.project > > ./ListFind/.src > > ./ListFind/.src/fTest.class > > ./ListFind/.src/fTest.form > > ./ListFind/.src/ListFind > > ./ListFind/.src/ListFind/_lista.class > > ./ListFind/.src/ListFind/ListFind.class > > ./ListFind/.src/ListFind/_lista.form > > ./ListFind/.gambas > > ./ListFind/.action > > ./ListFind/.hidden > > ./ListFind/.hidden/control > > ./ListFind/.hidden/control/listfind.png > > If Google sees "suspicious" file endings here I can't find anything > logical about it. > > Alles Gute > > Christof Thalhofer > > -- > Dies ist keine Signatur > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ListFind-0.0.3.tar.gz Type: application/gzip Size: 15895 bytes Desc: not available URL: From bagonergi at gmail.com Thu Jul 25 11:56:09 2019 From: bagonergi at gmail.com (Gianluigi) Date: Thu, 25 Jul 2019 11:56:09 +0200 Subject: [Gambas-user] The daily version from PPA still does not work In-Reply-To: References: <486302a0-80b2-3a01-3945-2c11529a66ad@gmail.com> Message-ID: Hi Sebastian, I confirm, also the others, with Ubuntu 14.04 and Xubuntu 18.04 get the same warning (gb.gui.qt: warning: 'gb.qt5' component not found, using 'gb.qt4' instead). In Ubuntu 18.04 installing the master from git with these libraries everything works perfectly: -------------------------------- sudo apt install build-essential g++ automake autoconf libbz2-dev unixodbc-dev libpq-dev libsqlite0-dev libsqlite3-dev libmysqlclient-dev postgresql-server-dev-10 libglib2.0-dev libgtk2.0-dev libcurl4-gnutls-dev libgtkglext1-dev libpcre3-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libxml2-dev libxslt1-dev librsvg2-dev libpoppler-dev libpoppler-glib-dev libpoppler-private-dev libasound2-dev libdirectfb-dev libxtst-dev libffi-dev libqt4-dev libqtwebkit-dev libqt4-opengl-dev libglew-dev libimlib2-dev libv4l-dev libsdl-ttf2.0-dev libgnome-keyring-dev libgdk-pixbuf2.0-dev linux-libc-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libcairo2-dev libgsl-dev libncurses5-dev libgmime-2.6-dev libalure-dev libgmp-dev libgtk-3-dev libsdl2-dev libsdl2-mixer-dev libsdl2-ttf-dev libsdl2-image-dev sane-utils libdumb1-dev libqt5opengl5-dev libqt5svg5-dev libqt5webkit5-dev libqt5x11extras5-dev qtbase5-dev libssl-dev libcanberra-gtk-module --------------------------------- Regards Gianluigi Il giorno mer 24 lug 2019 alle ore 23:55 Gianluigi ha scritto: > Hi Sebastian, > thanks, now in Ubuntu 18.04 it installs without errors. > Upon first opening I get this: > gb.gui.qt: warning: 'gb.qt5' component not found, using 'gb.qt4' instead > Gtk-Message: 23:38:34.437: Failed to load module "canberra-gtk-module" > > The second message disappears after writing to a terminal: > sudo apt install libcanberra-gtk-module > > Regards > Gianluigi > > Il giorno mer 24 lug 2019 alle ore 20:47 Sebasti?n Kulesz < > sebikul at gmail.com> ha scritto: > >> Aaand new build are on the way. Please let me know if there are any >> issues! >> >> On Wed, Jul 24, 2019, 3:11 PM Gianluigi wrote: >> >>> >>> >>> Il giorno mer 24 lug 2019 alle ore 20:06 Beno?t Minisini < >>> g4mba5 at gmail.com> ha scritto: >>> >>>> Le 24/07/2019 ? 19:58, Gianluigi a ?crit : >>>> > Hi Sebastian, >>>> > I thank you very much for the explanation that I am going to >>>> immediately >>>> > communicate to the boys here. >>>> > >>>> > So should be urged Benoit :-) >>>> > >>>> > Regards >>>> > Gianluigi >>>> > >>>> >>>> Commit done. >>>> >>>> -- >>>> Beno?t Minisini >>>> >>>> >>> Great ?? >>> >>> Regards >>> Gianluigi >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From chrisml at deganius.de Thu Jul 25 13:21:18 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Thu, 25 Jul 2019 13:21:18 +0200 Subject: [Gambas-user] Passing focus by code In-Reply-To: References: <0b2fe82c-e9d4-f6c0-b629-eb495f801183@osnanet.de> <433ca571-0a60-099b-389e-bf29d166f50c@deganius.de> <7b850432-4073-774b-925e-d9bf52bd1da9@deganius.de> <827f10f0-dbb3-689a-97a0-8ba3c203794e@deganius.de> Message-ID: Am 25.07.19 um 08:24 schrieb Jorge Carri?n: > After little more polishing, I attach a new version of same project. > Just testing the "Google hates me thing"... This mail was completely bounced, so everybody please have a lookt at: > and the pastebin link, of course: > https://paste.c-net.org/MatchedMarcus Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: From rwe-sse at osnanet.de Thu Jul 25 13:44:01 2019 From: rwe-sse at osnanet.de (Rolf-Werner Eilert) Date: Thu, 25 Jul 2019 13:44:01 +0200 Subject: [Gambas-user] Passing focus by code In-Reply-To: References: <0b2fe82c-e9d4-f6c0-b629-eb495f801183@osnanet.de> <433ca571-0a60-099b-389e-bf29d166f50c@deganius.de> <7b850432-4073-774b-925e-d9bf52bd1da9@deganius.de> <827f10f0-dbb3-689a-97a0-8ba3c203794e@deganius.de> Message-ID: <52c556db-b0e3-d0a6-7c5a-c190d47e0787@osnanet.de> Am 25.07.2019 um 13:21 schrieb Christof Thalhofer: > Am 25.07.19 um 08:24 schrieb Jorge Carri?n: >> After little more polishing, I attach a new version of same project. >> Just testing the "Google hates me thing"... > This mail was completely bounced, so everybody please have a lookt at: No, it reached me Rolf > >> and the pastebin link, of course: >> https://paste.c-net.org/MatchedMarcus > > Alles Gute > > Christof Thalhofer > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Thu Jul 25 14:03:13 2019 From: bagonergi at gmail.com (Gianluigi) Date: Thu, 25 Jul 2019 14:03:13 +0200 Subject: [Gambas-user] The daily version from PPA still does not work In-Reply-To: References: <486302a0-80b2-3a01-3945-2c11529a66ad@gmail.com> Message-ID: Hi Sebastian, these components are missing from the daily: gb.qt5.ext gb.qt4.opengl gb.qt4.webkit compared to the master compiled by git. Regards Gianluigi Il giorno gio 25 lug 2019 alle ore 11:56 Gianluigi ha scritto: > Hi Sebastian, > I confirm, also the others, with Ubuntu 14.04 and Xubuntu 18.04 get the > same warning (gb.gui.qt: warning: 'gb.qt5' component not found, using > 'gb.qt4' instead). > In Ubuntu 18.04 installing the master from git with these libraries > everything works perfectly: > -------------------------------- > sudo apt install build-essential g++ automake autoconf libbz2-dev > unixodbc-dev libpq-dev libsqlite0-dev libsqlite3-dev libmysqlclient-dev > postgresql-server-dev-10 libglib2.0-dev libgtk2.0-dev libcurl4-gnutls-dev > libgtkglext1-dev libpcre3-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev > libsdl-image1.2-dev libxml2-dev libxslt1-dev librsvg2-dev libpoppler-dev > libpoppler-glib-dev libpoppler-private-dev libasound2-dev libdirectfb-dev > libxtst-dev libffi-dev libqt4-dev libqtwebkit-dev libqt4-opengl-dev > libglew-dev libimlib2-dev libv4l-dev libsdl-ttf2.0-dev libgnome-keyring-dev > libgdk-pixbuf2.0-dev linux-libc-dev libgstreamer1.0-dev > libgstreamer-plugins-base1.0-dev libcairo2-dev libgsl-dev libncurses5-dev > libgmime-2.6-dev libalure-dev libgmp-dev libgtk-3-dev libsdl2-dev > libsdl2-mixer-dev libsdl2-ttf-dev libsdl2-image-dev sane-utils libdumb1-dev > libqt5opengl5-dev libqt5svg5-dev libqt5webkit5-dev libqt5x11extras5-dev > qtbase5-dev libssl-dev libcanberra-gtk-module > --------------------------------- > Regards > Gianluigi > > Il giorno mer 24 lug 2019 alle ore 23:55 Gianluigi > ha scritto: > >> Hi Sebastian, >> thanks, now in Ubuntu 18.04 it installs without errors. >> Upon first opening I get this: >> gb.gui.qt: warning: 'gb.qt5' component not found, using 'gb.qt4' instead >> Gtk-Message: 23:38:34.437: Failed to load module "canberra-gtk-module" >> >> The second message disappears after writing to a terminal: >> sudo apt install libcanberra-gtk-module >> >> Regards >> Gianluigi >> >> Il giorno mer 24 lug 2019 alle ore 20:47 Sebasti?n Kulesz < >> sebikul at gmail.com> ha scritto: >> >>> Aaand new build are on the way. Please let me know if there are any >>> issues! >>> >>> On Wed, Jul 24, 2019, 3:11 PM Gianluigi wrote: >>> >>>> >>>> >>>> Il giorno mer 24 lug 2019 alle ore 20:06 Beno?t Minisini < >>>> g4mba5 at gmail.com> ha scritto: >>>> >>>>> Le 24/07/2019 ? 19:58, Gianluigi a ?crit : >>>>> > Hi Sebastian, >>>>> > I thank you very much for the explanation that I am going to >>>>> immediately >>>>> > communicate to the boys here. >>>>> > >>>>> > So should be urged Benoit :-) >>>>> > >>>>> > Regards >>>>> > Gianluigi >>>>> > >>>>> >>>>> Commit done. >>>>> >>>>> -- >>>>> Beno?t Minisini >>>>> >>>>> >>>> Great ?? >>>> >>>> Regards >>>> Gianluigi >>>> >>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>> ]---- >>>> >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Thu Jul 25 14:05:24 2019 From: bagonergi at gmail.com (Gianluigi) Date: Thu, 25 Jul 2019 14:05:24 +0200 Subject: [Gambas-user] The daily version from PPA still does not work In-Reply-To: References: <486302a0-80b2-3a01-3945-2c11529a66ad@gmail.com> Message-ID: EDIT: gb.qt5.ext gb.qt5.opengl gb.qt5.webkit Sorry Gianluigi Il giorno gio 25 lug 2019 alle ore 14:03 Gianluigi ha scritto: > Hi Sebastian, > these components are missing from the daily: > > gb.qt5.ext > gb.qt4.opengl > gb.qt4.webkit > > compared to the master compiled by git. > > Regards > Gianluigi > > Il giorno gio 25 lug 2019 alle ore 11:56 Gianluigi > ha scritto: > >> Hi Sebastian, >> I confirm, also the others, with Ubuntu 14.04 and Xubuntu 18.04 get the >> same warning (gb.gui.qt: warning: 'gb.qt5' component not found, using >> 'gb.qt4' instead). >> In Ubuntu 18.04 installing the master from git with these libraries >> everything works perfectly: >> -------------------------------- >> sudo apt install build-essential g++ automake autoconf libbz2-dev >> unixodbc-dev libpq-dev libsqlite0-dev libsqlite3-dev libmysqlclient-dev >> postgresql-server-dev-10 libglib2.0-dev libgtk2.0-dev libcurl4-gnutls-dev >> libgtkglext1-dev libpcre3-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev >> libsdl-image1.2-dev libxml2-dev libxslt1-dev librsvg2-dev libpoppler-dev >> libpoppler-glib-dev libpoppler-private-dev libasound2-dev libdirectfb-dev >> libxtst-dev libffi-dev libqt4-dev libqtwebkit-dev libqt4-opengl-dev >> libglew-dev libimlib2-dev libv4l-dev libsdl-ttf2.0-dev libgnome-keyring-dev >> libgdk-pixbuf2.0-dev linux-libc-dev libgstreamer1.0-dev >> libgstreamer-plugins-base1.0-dev libcairo2-dev libgsl-dev libncurses5-dev >> libgmime-2.6-dev libalure-dev libgmp-dev libgtk-3-dev libsdl2-dev >> libsdl2-mixer-dev libsdl2-ttf-dev libsdl2-image-dev sane-utils libdumb1-dev >> libqt5opengl5-dev libqt5svg5-dev libqt5webkit5-dev libqt5x11extras5-dev >> qtbase5-dev libssl-dev libcanberra-gtk-module >> --------------------------------- >> Regards >> Gianluigi >> >> Il giorno mer 24 lug 2019 alle ore 23:55 Gianluigi >> ha scritto: >> >>> Hi Sebastian, >>> thanks, now in Ubuntu 18.04 it installs without errors. >>> Upon first opening I get this: >>> gb.gui.qt: warning: 'gb.qt5' component not found, using 'gb.qt4' instead >>> Gtk-Message: 23:38:34.437: Failed to load module "canberra-gtk-module" >>> >>> The second message disappears after writing to a terminal: >>> sudo apt install libcanberra-gtk-module >>> >>> Regards >>> Gianluigi >>> >>> Il giorno mer 24 lug 2019 alle ore 20:47 Sebasti?n Kulesz < >>> sebikul at gmail.com> ha scritto: >>> >>>> Aaand new build are on the way. Please let me know if there are any >>>> issues! >>>> >>>> On Wed, Jul 24, 2019, 3:11 PM Gianluigi wrote: >>>> >>>>> >>>>> >>>>> Il giorno mer 24 lug 2019 alle ore 20:06 Beno?t Minisini < >>>>> g4mba5 at gmail.com> ha scritto: >>>>> >>>>>> Le 24/07/2019 ? 19:58, Gianluigi a ?crit : >>>>>> > Hi Sebastian, >>>>>> > I thank you very much for the explanation that I am going to >>>>>> immediately >>>>>> > communicate to the boys here. >>>>>> > >>>>>> > So should be urged Benoit :-) >>>>>> > >>>>>> > Regards >>>>>> > Gianluigi >>>>>> > >>>>>> >>>>>> Commit done. >>>>>> >>>>>> -- >>>>>> Beno?t Minisini >>>>>> >>>>>> >>>>> Great ?? >>>>> >>>>> Regards >>>>> Gianluigi >>>>> >>>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>>> ]---- >>>>> >>>> >>>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>>> ]---- >>>> >>> -------------- next part -------------- An HTML attachment was scrubbed... URL: From chrisml at deganius.de Thu Jul 25 15:50:04 2019 From: chrisml at deganius.de (Christof Thalhofer) Date: Thu, 25 Jul 2019 15:50:04 +0200 Subject: [Gambas-user] Passing focus by code In-Reply-To: <52c556db-b0e3-d0a6-7c5a-c190d47e0787@osnanet.de> References: <0b2fe82c-e9d4-f6c0-b629-eb495f801183@osnanet.de> <433ca571-0a60-099b-389e-bf29d166f50c@deganius.de> <7b850432-4073-774b-925e-d9bf52bd1da9@deganius.de> <827f10f0-dbb3-689a-97a0-8ba3c203794e@deganius.de> <52c556db-b0e3-d0a6-7c5a-c190d47e0787@osnanet.de> Message-ID: Am 25.07.19 um 13:44 schrieb Rolf-Werner Eilert: >> This mail was completely bounced, so everybody please have a lookt at: > No, it reached me Ah yes, my fault. I meant every of these mails sent to a Gmail account were bounced by Google. So my advice to everybody here: If one wants to have a reliable mailinglist, use a reliable mail provider, which Google is not. Alles Gute Christof Thalhofer -- Dies ist keine Signatur -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: From admin at allunix.ru Fri Jul 26 02:37:28 2019 From: admin at allunix.ru (Admin) Date: Fri, 26 Jul 2019 07:37:28 +0700 Subject: [Gambas-user] Working with .so library In-Reply-To: <9aee2f69-39f2-0db2-8197-83742441f4ab@allunix.ru> References: <1657867250.80723403.1561385448047.JavaMail.zimbra@exede.net> <79a5e49a-a5fc-1dc2-30f8-642acb344b2d@gmail.com> <1152898346.80784827.1561387577722.JavaMail.zimbra@exede.net> <869092470.80812813.1561389969769.JavaMail.zimbra@exede.net> <4562a83f-d02b-ff96-372f-46e328f60bd2@allunix.ru> <9b279258-7548-0d3b-79f4-b65d477286df@allunix.ru> <626322129.986662.1561449761810@mail.yahoo.com> <20190625080701.GF5273@highrise.localdomain> <9aee2f69-39f2-0db2-8197-83742441f4ab@allunix.ru> Message-ID: <7cb4269b-417b-3453-3c23-56e4ffe1d92d@allunix.ru> BTW, can Gambas point to an array? I mean, there's datatype in C called bytearray, and some of my .so library's procedures return or request a bytearray variable. Gambas can declare a Byte[] but can't VarPtr to it. So that's a no, right? Just making sure, it's not that important, but maybe there's a way? 26.06.2019 8:13, Admin ?????: > So, I guess that's a no. It's kinda sad, but ok, minor issue. > > 25.06.2019 15:21, Admin ?????: >> Ok, this question I have for a very long time now: >> Sometimes I need to recieve a string variable from a library. >> Usually it asks me to provide a pointer to a string where it would >> store it's output. >> Problem is output is usually in WCHAR_T, while the string is always >> in UTF-8. >> When I provide my strings to a library - it's not a problem, i just >> use Conv(MyString, "UTF-8", "WCHAR_T") and it's all ok. >> But when I recieve a string from a library I rearly even know the >> lenght of the output I expect. But even if I do, that would be a >> lenght of a WCAHR_T string, and the size of UTF string would be >> defferent. >> So in most cases if I recieve a string like this: >> >> libfptr_get_param_str(fptr, LIBFPTR_PARAM_MODEL_NAME, >> VarPtr(KKMmodel), stringsize) >> >> and then try to >> >> message(Conv(KKMmodel, "WCHAR_T", "UTF-8")) >> >> I will get a "bad string conversion". >> >> And I think it's totally fair, because, ok, I know that the string >> will be 18 chars long, but if I make KKMmodel declared as String and >> 18 chars long - is it even relevant?? It would be 18 UTF8 chars long, >> which has nothing to do with the lenght of WCHAR_T string. >> >> So, is there a way to correctly recieve WCHAR_T strings through >> pointers in Gambas? >> >> 25.06.2019 15:07, Tobias Boege ?????: >>> On Tue, 25 Jun 2019, David Silverwood via User wrote: >>>>> On Tuesday, June 25, 2019, 09:54:07 AM GMT+2, Beno?t Minisini >>>>> wrote: >>>>> ? ? Le 25/06/2019 ? 05:56, Admin a ?crit?: >>>>>> Ok, answering my own question, it's easier then I thought. Gambas >>>>>> actually allows the same enum declaration as C does, I mean I can >>>>>> use >>>>>> multiple strings despite it's never mentioned in documentation. >>>>>> So it's >>>>>> basically .h file copy-paste process, nothing more. >>>>>> >>>>> What is not mentioned in http://gambaswiki.org/lang/enumdecl ? >>>> ? i get a 404 error when trying to access that page? >>> There's always a /wiki after the .org, which Beno?t forgot. >>> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> >> >> > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > From bagonergi at gmail.com Fri Jul 26 10:50:31 2019 From: bagonergi at gmail.com (Gianluigi) Date: Fri, 26 Jul 2019 10:50:31 +0200 Subject: [Gambas-user] Working with .so library In-Reply-To: <7cb4269b-417b-3453-3c23-56e4ffe1d92d@allunix.ru> References: <1657867250.80723403.1561385448047.JavaMail.zimbra@exede.net> <79a5e49a-a5fc-1dc2-30f8-642acb344b2d@gmail.com> <1152898346.80784827.1561387577722.JavaMail.zimbra@exede.net> <869092470.80812813.1561389969769.JavaMail.zimbra@exede.net> <4562a83f-d02b-ff96-372f-46e328f60bd2@allunix.ru> <9b279258-7548-0d3b-79f4-b65d477286df@allunix.ru> <626322129.986662.1561449761810@mail.yahoo.com> <20190625080701.GF5273@highrise.localdomain> <9aee2f69-39f2-0db2-8197-83742441f4ab@allunix.ru> <7cb4269b-417b-3453-3c23-56e4ffe1d92d@allunix.ru> Message-ID: Take a look here: http://www.gambas-it.org/smf/index.php?topic=7165.msg46326#msg46326 Regards Gianluigi Il giorno ven 26 lug 2019 alle ore 02:58 Admin ha scritto: > BTW, can Gambas point to an array? I mean, there's datatype in C called > bytearray, and some of my .so library's procedures return or request a > bytearray variable. Gambas can declare a Byte[] but can't VarPtr to it. > So that's a no, right? Just making sure, it's not that important, but > maybe there's a way? > > 26.06.2019 8:13, Admin ?????: > > So, I guess that's a no. It's kinda sad, but ok, minor issue. > > > > 25.06.2019 15:21, Admin ?????: > >> Ok, this question I have for a very long time now: > >> Sometimes I need to recieve a string variable from a library. > >> Usually it asks me to provide a pointer to a string where it would > >> store it's output. > >> Problem is output is usually in WCHAR_T, while the string is always > >> in UTF-8. > >> When I provide my strings to a library - it's not a problem, i just > >> use Conv(MyString, "UTF-8", "WCHAR_T") and it's all ok. > >> But when I recieve a string from a library I rearly even know the > >> lenght of the output I expect. But even if I do, that would be a > >> lenght of a WCAHR_T string, and the size of UTF string would be > >> defferent. > >> So in most cases if I recieve a string like this: > >> > >> libfptr_get_param_str(fptr, LIBFPTR_PARAM_MODEL_NAME, > >> VarPtr(KKMmodel), stringsize) > >> > >> and then try to > >> > >> message(Conv(KKMmodel, "WCHAR_T", "UTF-8")) > >> > >> I will get a "bad string conversion". > >> > >> And I think it's totally fair, because, ok, I know that the string > >> will be 18 chars long, but if I make KKMmodel declared as String and > >> 18 chars long - is it even relevant? It would be 18 UTF8 chars long, > >> which has nothing to do with the lenght of WCHAR_T string. > >> > >> So, is there a way to correctly recieve WCHAR_T strings through > >> pointers in Gambas? > >> > >> 25.06.2019 15:07, Tobias Boege ?????: > >>> On Tue, 25 Jun 2019, David Silverwood via User wrote: > >>>>> On Tuesday, June 25, 2019, 09:54:07 AM GMT+2, Beno?t Minisini > >>>>> wrote: > >>>>> Le 25/06/2019 ? 05:56, Admin a ?crit : > >>>>>> Ok, answering my own question, it's easier then I thought. Gambas > >>>>>> actually allows the same enum declaration as C does, I mean I can > >>>>>> use > >>>>>> multiple strings despite it's never mentioned in documentation. > >>>>>> So it's > >>>>>> basically .h file copy-paste process, nothing more. > >>>>>> > >>>>> What is not mentioned in http://gambaswiki.org/lang/enumdecl ? > >>>> i get a 404 error when trying to access that page? > >>> There's always a /wiki after the .org, which Beno?t forgot. > >>> > >> > >> > >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > ]---- > >> > >> > >> > > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > > > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Fri Jul 26 10:59:11 2019 From: bagonergi at gmail.com (Gianluigi) Date: Fri, 26 Jul 2019 10:59:11 +0200 Subject: [Gambas-user] Working with .so library In-Reply-To: References: <1657867250.80723403.1561385448047.JavaMail.zimbra@exede.net> <79a5e49a-a5fc-1dc2-30f8-642acb344b2d@gmail.com> <1152898346.80784827.1561387577722.JavaMail.zimbra@exede.net> <869092470.80812813.1561389969769.JavaMail.zimbra@exede.net> <4562a83f-d02b-ff96-372f-46e328f60bd2@allunix.ru> <9b279258-7548-0d3b-79f4-b65d477286df@allunix.ru> <626322129.986662.1561449761810@mail.yahoo.com> <20190625080701.GF5273@highrise.localdomain> <9aee2f69-39f2-0db2-8197-83742441f4ab@allunix.ru> <7cb4269b-417b-3453-3c23-56e4ffe1d92d@allunix.ru> Message-ID: ..and here too: https://www.gambas-it.org/wiki/index.php?title=Guide_della_comunit%C3%A0#Puntatori Il giorno ven 26 lug 2019 alle ore 10:50 Gianluigi ha scritto: > Take a look here: > http://www.gambas-it.org/smf/index.php?topic=7165.msg46326#msg46326 > > Regards > Gianluigi > > Il giorno ven 26 lug 2019 alle ore 02:58 Admin ha > scritto: > >> BTW, can Gambas point to an array? I mean, there's datatype in C called >> bytearray, and some of my .so library's procedures return or request a >> bytearray variable. Gambas can declare a Byte[] but can't VarPtr to it. >> So that's a no, right? Just making sure, it's not that important, but >> maybe there's a way? >> >> 26.06.2019 8:13, Admin ?????: >> > So, I guess that's a no. It's kinda sad, but ok, minor issue. >> > >> > 25.06.2019 15:21, Admin ?????: >> >> Ok, this question I have for a very long time now: >> >> Sometimes I need to recieve a string variable from a library. >> >> Usually it asks me to provide a pointer to a string where it would >> >> store it's output. >> >> Problem is output is usually in WCHAR_T, while the string is always >> >> in UTF-8. >> >> When I provide my strings to a library - it's not a problem, i just >> >> use Conv(MyString, "UTF-8", "WCHAR_T") and it's all ok. >> >> But when I recieve a string from a library I rearly even know the >> >> lenght of the output I expect. But even if I do, that would be a >> >> lenght of a WCAHR_T string, and the size of UTF string would be >> >> defferent. >> >> So in most cases if I recieve a string like this: >> >> >> >> libfptr_get_param_str(fptr, LIBFPTR_PARAM_MODEL_NAME, >> >> VarPtr(KKMmodel), stringsize) >> >> >> >> and then try to >> >> >> >> message(Conv(KKMmodel, "WCHAR_T", "UTF-8")) >> >> >> >> I will get a "bad string conversion". >> >> >> >> And I think it's totally fair, because, ok, I know that the string >> >> will be 18 chars long, but if I make KKMmodel declared as String and >> >> 18 chars long - is it even relevant? It would be 18 UTF8 chars long, >> >> which has nothing to do with the lenght of WCHAR_T string. >> >> >> >> So, is there a way to correctly recieve WCHAR_T strings through >> >> pointers in Gambas? >> >> >> >> 25.06.2019 15:07, Tobias Boege ?????: >> >>> On Tue, 25 Jun 2019, David Silverwood via User wrote: >> >>>>> On Tuesday, June 25, 2019, 09:54:07 AM GMT+2, Beno?t Minisini >> >>>>> wrote: >> >>>>> Le 25/06/2019 ? 05:56, Admin a ?crit : >> >>>>>> Ok, answering my own question, it's easier then I thought. Gambas >> >>>>>> actually allows the same enum declaration as C does, I mean I can >> >>>>>> use >> >>>>>> multiple strings despite it's never mentioned in documentation. >> >>>>>> So it's >> >>>>>> basically .h file copy-paste process, nothing more. >> >>>>>> >> >>>>> What is not mentioned in http://gambaswiki.org/lang/enumdecl ? >> >>>> i get a 404 error when trying to access that page? >> >>> There's always a /wiki after the .org, which Beno?t forgot. >> >>> >> >> >> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >> ]---- >> >> >> >> >> >> >> > >> > >> > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >> ]---- >> > >> > >> > >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From admin at allunix.ru Fri Jul 26 14:46:53 2019 From: admin at allunix.ru (Admin) Date: Fri, 26 Jul 2019 19:46:53 +0700 Subject: [Gambas-user] Working with .so library In-Reply-To: References: <1657867250.80723403.1561385448047.JavaMail.zimbra@exede.net> <79a5e49a-a5fc-1dc2-30f8-642acb344b2d@gmail.com> <1152898346.80784827.1561387577722.JavaMail.zimbra@exede.net> <869092470.80812813.1561389969769.JavaMail.zimbra@exede.net> <4562a83f-d02b-ff96-372f-46e328f60bd2@allunix.ru> <9b279258-7548-0d3b-79f4-b65d477286df@allunix.ru> <626322129.986662.1561449761810@mail.yahoo.com> <20190625080701.GF5273@highrise.localdomain> <9aee2f69-39f2-0db2-8197-83742441f4ab@allunix.ru> <7cb4269b-417b-3453-3c23-56e4ffe1d92d@allunix.ru> Message-ID: <512bb646-b422-2241-a370-1514fa47fcd1@allunix.ru> Wish I knew Italian, but thanks, I think I got it, very interesting and surprising really. 26.07.2019 15:59, Gianluigi ?????: > ..and here too: > https://www.gambas-it.org/wiki/index.php?title=Guide_della_comunit%C3%A0#Puntatori > > Il giorno ven 26 lug 2019 alle ore 10:50 Gianluigi > > ha scritto: > > Take a look here: > http://www.gambas-it.org/smf/index.php?topic=7165.msg46326#msg46326 > > Regards > Gianluigi > > Il giorno ven 26 lug 2019 alle ore 02:58 Admin > ha scritto: > > BTW, can Gambas point to an array? I mean, there's datatype in > C called > bytearray, and some of my .so library's procedures return or > request a > bytearray variable. Gambas can declare a Byte[] but can't > VarPtr to it. > So that's a no, right? Just making sure, it's not that > important, but > maybe there's a way? > > 26.06.2019 8:13, Admin ?????: > > So, I guess that's a no. It's kinda sad, but ok, minor issue. > > > > 25.06.2019 15:21, Admin ?????: > >> Ok, this question I have for a very long time now: > >> Sometimes I need to recieve a string variable from a library. > >> Usually it asks me to provide a pointer to a string where > it would > >> store it's output. > >> Problem is output is usually in WCHAR_T, while the string > is always > >> in UTF-8. > >> When I provide my strings to a library - it's not a > problem, i just > >> use Conv(MyString, "UTF-8", "WCHAR_T") and it's all ok. > >> But when I recieve a string from a library I rearly even > know the > >> lenght of the output I expect. But even if I do, that would > be a > >> lenght of a WCAHR_T string, and the size of UTF string > would be > >> defferent. > >> So in most cases if I recieve a string like this: > >> > >> libfptr_get_param_str(fptr, LIBFPTR_PARAM_MODEL_NAME, > >> VarPtr(KKMmodel), stringsize) > >> > >> and then try to > >> > >> message(Conv(KKMmodel, "WCHAR_T", "UTF-8")) > >> > >> I will get a "bad string conversion". > >> > >> And I think it's totally fair, because, ok, I know that the > string > >> will be 18 chars long, but if I make KKMmodel declared as > String and > >> 18 chars long - is it even relevant?? It would be 18 UTF8 > chars long, > >> which has nothing to do with the lenght of WCHAR_T string. > >> > >> So, is there a way to correctly recieve WCHAR_T strings > through > >> pointers in Gambas? > >> > >> 25.06.2019 15:07, Tobias Boege ?????: > >>> On Tue, 25 Jun 2019, David Silverwood via User wrote: > >>>>> On Tuesday, June 25, 2019, 09:54:07 AM GMT+2, Beno?t > Minisini > >>>>> > wrote: > >>>>> ? ? Le 25/06/2019 ? 05:56, Admin a ?crit?: > >>>>>> Ok, answering my own question, it's easier then I > thought. Gambas > >>>>>> actually allows the same enum declaration as C does, I > mean I can > >>>>>> use > >>>>>> multiple strings despite it's never mentioned in > documentation. > >>>>>> So it's > >>>>>> basically .h file copy-paste process, nothing more. > >>>>>> > >>>>> What is not mentioned in > http://gambaswiki.org/lang/enumdecl ? > >>>> ? i get a 404 error when trying to access that page? > >>> There's always a /wiki after the .org, which Beno?t forgot. > >>> > >> > >> > >> ----[ Gambas mailing-list is hosted by > https://www.hostsharing.net ]---- > >> > >> > >> > > > > > > ----[ Gambas mailing-list is hosted by > https://www.hostsharing.net ]---- > > > > > > > > > ----[ Gambas mailing-list is hosted by > https://www.hostsharing.net ]---- > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From gambas at servinfo.it Sat Jul 27 10:16:26 2019 From: gambas at servinfo.it (Marco Ancillotti) Date: Sat, 27 Jul 2019 10:16:26 +0200 Subject: [Gambas-user] Nested data source In-Reply-To: <04efbc87-4894-14c0-5b2a-a42220962f6c@gmail.com> References: <2adb1d9b-16af-3c1a-e34d-6d48dbcead6c@servinfo.it> <04efbc87-4894-14c0-5b2a-a42220962f6c@gmail.com> Message-ID: This seem perfect thank's a lot ! marco. Il 16/07/19 13:33, Beno?t Minisini ha scritto: > Hi, > > I have added a "IgnoreParent" property in the DataSource control in > commit > https://gitlab.com/gambas/gambas/commit/6902893ddb50e6480a63aa2268207241aea021f3. > > If that property is set to TRUE, then the DataSource will not filter > its contents with the primary keys of its parent DataSources. It will > act as if it was a root DataSource. > > Regards, > > Le 02/07/2019 ? 18:54, Marco Ancillotti a ?crit?: >> Hi all, >> >> I have a problem using nested data source , if I put a datasource2 >> inside a datasource1 ( graphically ) when I change datasource1 filter >> I get no result from datasource2. >> >> Somethink like: >> >> print datasource2.count??? --> 119 ( or somethink else ) >> datasource1.filter = 'cod > 30' >> datasource1.movefirst() >> print datasource2.count??? --> 0 >> >> When I move datasource2 outside datasource1 it work as expected. >> >> Is this a bug ? >> >> thank's in advance, >> >> marco. >> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > > From ujlain at gmail.com Sat Jul 27 18:47:53 2019 From: ujlain at gmail.com (Vinode Singh Ujlain) Date: Sat, 27 Jul 2019 22:17:53 +0530 Subject: [Gambas-user] Minimize & Maximize on top title bar of off-line GAMABS help browser Message-ID: <40eb3f1f-7cbe-33e5-b66a-79d4340be953@gmail.com> May I request the GAMABS architects to kindly consider options *Minimize & Maximize * on top title bar of _off-line GAMABS help browser _? Right now , the uncomfortable / cumbersome option is to drag help browser down and also drag it up to refer to it again. Warm Regards, UZI ------------------------------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: gflgjkogocmnhegc.png Type: image/png Size: 71313 bytes Desc: not available URL: From g4mba5 at gmail.com Sat Jul 27 19:06:26 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 27 Jul 2019 19:06:26 +0200 Subject: [Gambas-user] Minimize & Maximize on top title bar of off-line GAMABS help browser In-Reply-To: <40eb3f1f-7cbe-33e5-b66a-79d4340be953@gmail.com> References: <40eb3f1f-7cbe-33e5-b66a-79d4340be953@gmail.com> Message-ID: <46edafbd-e9b5-f0fb-00f0-7a5cb9156df6@gmail.com> Le 27/07/2019 ? 18:47, Vinode Singh Ujlain a ?crit?: > May I request the GAMABS architects to kindly consider options *Minimize > & Maximize * on top title bar of _off-line GAMABS help browser _? > Right now , the uncomfortable / cumbersome option is to drag help > browser down and also drag it up to refer to it again. > > Warm Regards, > UZI > ------------------------------------------------------------------------ > It's your window manager that decides which buttons are provided on the window titlebar. For example, with the KDE window manager, you get the maximize button. (but not the minimize button). There is an option in the option dialog that tells the IDE to use "normal" windows for all the utility windows, to workaround the inability of many window managers to correctly implement X11 features. It's the "Use utility windows" button in the "Interface" tab. Regards, -- Beno?t Minisini From ujlain at gmail.com Sat Jul 27 19:24:57 2019 From: ujlain at gmail.com (Vinode Singh Ujlain) Date: Sat, 27 Jul 2019 22:54:57 +0530 Subject: [Gambas-user] Minimize & Maximize on top title bar of off-line GAMABS help browser In-Reply-To: <46edafbd-e9b5-f0fb-00f0-7a5cb9156df6@gmail.com> References: <40eb3f1f-7cbe-33e5-b66a-79d4340be953@gmail.com> <46edafbd-e9b5-f0fb-00f0-7a5cb9156df6@gmail.com> Message-ID: <8d0badd9-a7fd-ab2a-e67e-a9d57f768ca2@gmail.com> Bravo .. that was quick .. *Problem resolved.. Indeed many thanks **Beno?t* regards - UZI ------------------------------------------------------------------------ On 27/07/19 10:36 PM, Beno?t Minisini wrote: > Le 27/07/2019 ? 18:47, Vinode Singh Ujlain a ?crit?: >> May I request the GAMABS architects to kindly consider options >> *Minimize & Maximize * on top title bar of _off-line GAMABS help >> browser _? >> Right now , the uncomfortable / cumbersome option is to drag help >> browser down and also drag it up to refer to it again. >> >> Warm Regards, >> UZI >> ------------------------------------------------------------------------ >> > > It's your window manager that decides which buttons are provided on > the window titlebar. > > For example, with the KDE window manager, you get the maximize button. > (but not the minimize button). > > There is an option in the option dialog that tells the IDE to use > "normal" windows for all the utility windows, to workaround the > inability of many window managers to correctly implement X11 features. > > It's the "Use utility windows" button in the "Interface" tab. > > Regards, > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ngjeilgefdnonfjo.png Type: image/png Size: 88010 bytes Desc: not available URL: From jussi.lahtinen at gmail.com Sun Jul 28 02:10:49 2019 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Sun, 28 Jul 2019 03:10:49 +0300 Subject: [Gambas-user] Working with .so library In-Reply-To: <512bb646-b422-2241-a370-1514fa47fcd1@allunix.ru> References: <1657867250.80723403.1561385448047.JavaMail.zimbra@exede.net> <79a5e49a-a5fc-1dc2-30f8-642acb344b2d@gmail.com> <1152898346.80784827.1561387577722.JavaMail.zimbra@exede.net> <869092470.80812813.1561389969769.JavaMail.zimbra@exede.net> <4562a83f-d02b-ff96-372f-46e328f60bd2@allunix.ru> <9b279258-7548-0d3b-79f4-b65d477286df@allunix.ru> <626322129.986662.1561449761810@mail.yahoo.com> <20190625080701.GF5273@highrise.localdomain> <9aee2f69-39f2-0db2-8197-83742441f4ab@allunix.ru> <7cb4269b-417b-3453-3c23-56e4ffe1d92d@allunix.ru> <512bb646-b422-2241-a370-1514fa47fcd1@allunix.ru> Message-ID: The documentation is good and in English. http://gambaswiki.org/wiki/comp/gb/byte[] http://gambaswiki.org/wiki/comp/gb/array/data Jussi On Fri, Jul 26, 2019 at 3:47 PM Admin wrote: > Wish I knew Italian, but thanks, I think I got it, very interesting and > surprising really. > > 26.07.2019 15:59, Gianluigi ?????: > > ..and here too: > > https://www.gambas-it.org/wiki/index.php?title=Guide_della_comunit%C3%A0#Puntatori > > Il giorno ven 26 lug 2019 alle ore 10:50 Gianluigi > ha scritto: > >> Take a look here: >> http://www.gambas-it.org/smf/index.php?topic=7165.msg46326#msg46326 >> >> Regards >> Gianluigi >> >> Il giorno ven 26 lug 2019 alle ore 02:58 Admin ha >> scritto: >> >>> BTW, can Gambas point to an array? I mean, there's datatype in C called >>> bytearray, and some of my .so library's procedures return or request a >>> bytearray variable. Gambas can declare a Byte[] but can't VarPtr to it. >>> So that's a no, right? Just making sure, it's not that important, but >>> maybe there's a way? >>> >>> 26.06.2019 8:13, Admin ?????: >>> > So, I guess that's a no. It's kinda sad, but ok, minor issue. >>> > >>> > 25.06.2019 15:21, Admin ?????: >>> >> Ok, this question I have for a very long time now: >>> >> Sometimes I need to recieve a string variable from a library. >>> >> Usually it asks me to provide a pointer to a string where it would >>> >> store it's output. >>> >> Problem is output is usually in WCHAR_T, while the string is always >>> >> in UTF-8. >>> >> When I provide my strings to a library - it's not a problem, i just >>> >> use Conv(MyString, "UTF-8", "WCHAR_T") and it's all ok. >>> >> But when I recieve a string from a library I rearly even know the >>> >> lenght of the output I expect. But even if I do, that would be a >>> >> lenght of a WCAHR_T string, and the size of UTF string would be >>> >> defferent. >>> >> So in most cases if I recieve a string like this: >>> >> >>> >> libfptr_get_param_str(fptr, LIBFPTR_PARAM_MODEL_NAME, >>> >> VarPtr(KKMmodel), stringsize) >>> >> >>> >> and then try to >>> >> >>> >> message(Conv(KKMmodel, "WCHAR_T", "UTF-8")) >>> >> >>> >> I will get a "bad string conversion". >>> >> >>> >> And I think it's totally fair, because, ok, I know that the string >>> >> will be 18 chars long, but if I make KKMmodel declared as String and >>> >> 18 chars long - is it even relevant? It would be 18 UTF8 chars long, >>> >> which has nothing to do with the lenght of WCHAR_T string. >>> >> >>> >> So, is there a way to correctly recieve WCHAR_T strings through >>> >> pointers in Gambas? >>> >> >>> >> 25.06.2019 15:07, Tobias Boege ?????: >>> >>> On Tue, 25 Jun 2019, David Silverwood via User wrote: >>> >>>>> On Tuesday, June 25, 2019, 09:54:07 AM GMT+2, Beno?t Minisini >>> >>>>> wrote: >>> >>>>> Le 25/06/2019 ? 05:56, Admin a ?crit : >>> >>>>>> Ok, answering my own question, it's easier then I thought. Gambas >>> >>>>>> actually allows the same enum declaration as C does, I mean I can >>> >>>>>> use >>> >>>>>> multiple strings despite it's never mentioned in documentation. >>> >>>>>> So it's >>> >>>>>> basically .h file copy-paste process, nothing more. >>> >>>>>> >>> >>>>> What is not mentioned in http://gambaswiki.org/lang/enumdecl ? >>> >>>> i get a 404 error when trying to access that page? >>> >>> There's always a /wiki after the .org, which Beno?t forgot. >>> >>> >>> >> >>> >> >>> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>> ]---- >>> >> >>> >> >>> >> >>> > >>> > >>> > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net >>> ]---- >>> > >>> > >>> > >>> >>> >>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >>> >> > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Tue Jul 30 13:41:07 2019 From: bagonergi at gmail.com (Gianluigi) Date: Tue, 30 Jul 2019 13:41:07 +0200 Subject: [Gambas-user] Gambas Playground language question Message-ID: If I try to write this code in Gambas Playground: Print Format(1234.54643, gb.Currency) I get: 1 234.54643 instead of $1,234.55 how it should be. If I try this: System.Language = "en_US.UTF-8" I get: gbx3: warning: cannot switch to language 'en_US.UTF-8': No such file or directory. Did you install the corresponding locale packages? But the result of this: Print Format(Now, gb.LongDate) is correctly in English: July Tuesday 30 2019 I don't understand on what language is based playground Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: From charlie at cogier.com Tue Jul 30 14:59:59 2019 From: charlie at cogier.com (Charlie Ogier) Date: Tue, 30 Jul 2019 13:59:59 +0100 Subject: [Gambas-user] Gambas Playground language question In-Reply-To: References: Message-ID: <80619ac2-75dd-e2a9-2960-c3757b9f285e@cogier.com> Hi Gianluigi, Matt and I will look at this later on today. The Playground is a Gambas.one project. Charlie On 30/07/2019 12:41, Gianluigi wrote: > If I try to write this code in Gambas Playground: > ? Print Format(1234.54643, gb.Currency) > I get: > ?1 234.54643 > instead of $1,234.55 how it should be. > > If I try this: > ? System.Language = "en_US.UTF-8" > I get: > gbx3: warning: cannot switch to language 'en_US.UTF-8': No such file > or directory. Did you install the corresponding locale packages? > > But the result of this: > ? Print Format(Now, gb.LongDate) > is correctly in English: > July Tuesday 30 2019 > > I don't understand on what language is based playground > > Regards > Gianluigi > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Tue Jul 30 17:03:52 2019 From: bagonergi at gmail.com (Gianluigi) Date: Tue, 30 Jul 2019 17:03:52 +0200 Subject: [Gambas-user] Gambas Playground language question In-Reply-To: <80619ac2-75dd-e2a9-2960-c3757b9f285e@cogier.com> References: <80619ac2-75dd-e2a9-2960-c3757b9f285e@cogier.com> Message-ID: Hi Charlie, thank you very much, I await your news. ? Regards Gianluigi Il giorno mar 30 lug 2019 alle ore 16:03 Charlie Ogier ha scritto: > Hi Gianluigi, > > Matt and I will look at this later on today. The Playground is a > Gambas.one project. > > Charlie > > On 30/07/2019 12:41, Gianluigi wrote: > > If I try to write this code in Gambas Playground: > Print Format(1234.54643, gb.Currency) > I get: > 1 234.54643 > instead of $1,234.55 how it should be. > > If I try this: > System.Language = "en_US.UTF-8" > I get: > gbx3: warning: cannot switch to language 'en_US.UTF-8': No such file or > directory. Did you install the corresponding locale packages? > > But the result of this: > Print Format(Now, gb.LongDate) > is correctly in English: > July Tuesday 30 2019 > > I don't understand on what language is based playground > > Regards > Gianluigi > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From matthew.charles.collins.75 at gmail.com Tue Jul 30 19:20:12 2019 From: matthew.charles.collins.75 at gmail.com (Matthew Collins) Date: Tue, 30 Jul 2019 18:20:12 +0100 Subject: [Gambas-user] Gambas Playground language question In-Reply-To: References: <80619ac2-75dd-e2a9-2960-c3757b9f285e@cogier.com> Message-ID: <989d42ee-cb55-022c-eb42-68b9c7f7db8b@gmail.com> Charlie and I have updated the Docker Images and, as we are British, the default language is now en_GB but you can use any of the following:- System.Language = "en_GB.UTF-8" System.Language = "en_US.UTF-8" System.Language = "de_DE.UTF-8" System.Language = "fr_FR.UTF-8" System.Language = "it_IT.UTF-8" System.Language = "es_ES.UTF-8" Matt & Charlie On 7/30/19 4:03 PM, Gianluigi wrote: > Hi Charlie, > thank you very much, I await your news. ? > > Regards > Gianluigi > > Il giorno mar 30 lug 2019 alle ore 16:03 Charlie Ogier > > ha scritto: > > Hi Gianluigi, > > Matt and I will look at this later on today. The Playground is a > Gambas.one project. > > Charlie > > On 30/07/2019 12:41, Gianluigi wrote: >> If I try to write this code in Gambas Playground: >> ? Print Format(1234.54643, gb.Currency) >> I get: >> ?1 234.54643 >> instead of $1,234.55 how it should be. >> >> If I try this: >> ? System.Language = "en_US.UTF-8" >> I get: >> gbx3: warning: cannot switch to language 'en_US.UTF-8': No such >> file or directory. Did you install the corresponding locale packages? >> >> But the result of this: >> ? Print Format(Now, gb.LongDate) >> is correctly in English: >> July Tuesday 30 2019 >> >> I don't understand on what language is based playground >> >> Regards >> Gianluigi >> >> ----[ Gambas mailing-list is hosted byhttps://www.hostsharing.net ]---- > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net > ]---- > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- -------------- next part -------------- An HTML attachment was scrubbed... URL: From bagonergi at gmail.com Tue Jul 30 20:03:17 2019 From: bagonergi at gmail.com (Gianluigi) Date: Tue, 30 Jul 2019 20:03:17 +0200 Subject: [Gambas-user] Gambas Playground language question In-Reply-To: <989d42ee-cb55-022c-eb42-68b9c7f7db8b@gmail.com> References: <80619ac2-75dd-e2a9-2960-c3757b9f285e@cogier.com> <989d42ee-cb55-022c-eb42-68b9c7f7db8b@gmail.com> Message-ID: Hi Matt & Charlie, thank you very much both, but since gambas is based on American maybe, if possible, you should base Playground on the American. Here [0] if you don't set the language get the pounds. Excellent in localizations [1] ? Thank you again :-) Gianluigi [0] http://gambaswiki.org/wiki/comp/gb/gb/currency [1] http://gambaswiki.org/wiki/comp/gb/gb/currency?l=it Il giorno mar 30 lug 2019 alle ore 19:21 Matthew Collins < matthew.charles.collins.75 at gmail.com> ha scritto: > Charlie and I have updated the Docker Images and, as we are British, the > default language is now en_GB but you can use any of the following:- > > System.Language = "en_GB.UTF-8" > System.Language = "en_US.UTF-8" > System.Language = "de_DE.UTF-8" > System.Language = "fr_FR.UTF-8" > System.Language = "it_IT.UTF-8" > System.Language = "es_ES.UTF-8" > > Matt & Charlie > On 7/30/19 4:03 PM, Gianluigi wrote: > > Hi Charlie, > thank you very much, I await your news. ? > > Regards > Gianluigi > > Il giorno mar 30 lug 2019 alle ore 16:03 Charlie Ogier > ha scritto: > >> Hi Gianluigi, >> >> Matt and I will look at this later on today. The Playground is a >> Gambas.one project. >> >> Charlie >> >> On 30/07/2019 12:41, Gianluigi wrote: >> >> If I try to write this code in Gambas Playground: >> Print Format(1234.54643, gb.Currency) >> I get: >> 1 234.54643 >> instead of $1,234.55 how it should be. >> >> If I try this: >> System.Language = "en_US.UTF-8" >> I get: >> gbx3: warning: cannot switch to language 'en_US.UTF-8': No such file or >> directory. Did you install the corresponding locale packages? >> >> But the result of this: >> Print Format(Now, gb.LongDate) >> is correctly in English: >> July Tuesday 30 2019 >> >> I don't understand on what language is based playground >> >> Regards >> Gianluigi >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> >> >> >> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- >> > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > > > ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]---- > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jussi.lahtinen at gmail.com Wed Jul 31 00:01:40 2019 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Wed, 31 Jul 2019 01:01:40 +0300 Subject: [Gambas-user] gb.util and CsvFile Message-ID: Hi! I'm trying to read csv file with multiple lines and apparently the component is not finished on that part. Is there already design ideas? Collection of variant arrays? Line number as an argument for Read() function? Array of collections? I think the latter would be the most useful. However, backward compatibility would be gone. Jussi -------------- next part -------------- An HTML attachment was scrubbed... URL: From g4mba5 at gmail.com Wed Jul 31 00:03:35 2019 From: g4mba5 at gmail.com (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 31 Jul 2019 00:03:35 +0200 Subject: [Gambas-user] gb.util and CsvFile In-Reply-To: References: Message-ID: Le 31/07/2019 ? 00:01, Jussi Lahtinen a ?crit?: > Hi! > I'm trying to read csv file with multiple lines and apparently the > component is not finished on that part. Is there already design ideas? > Collection of variant arrays? Line number as an argument for Read() > function? Array of collections? > I think the latter would be the most useful. However, backward > compatibility would be gone. > > > Jussi > I don't know what you mean. Nothing is missing in CsvFile that I would need. -- Beno?t Minisini From jussi.lahtinen at gmail.com Wed Jul 31 00:11:38 2019 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Wed, 31 Jul 2019 01:11:38 +0300 Subject: [Gambas-user] gb.util and CsvFile In-Reply-To: References: Message-ID: It seems to read only two lines; first for field names and second line for data. Rest of the lines are ignored. Jussi On Wed, Jul 31, 2019 at 1:03 AM Beno?t Minisini wrote: > Le 31/07/2019 ? 00:01, Jussi Lahtinen a ?crit : > > Hi! > > I'm trying to read csv file with multiple lines and apparently the > > component is not finished on that part. Is there already design ideas? > > Collection of variant arrays? Line number as an argument for Read() > > function? Array of collections? > > I think the latter would be the most useful. However, backward > > compatibility would be gone. > > > > > > Jussi > > > > I don't know what you mean. Nothing is missing in CsvFile that I would > need. > > -- > Beno?t Minisini > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jussi.lahtinen at gmail.com Wed Jul 31 00:22:30 2019 From: jussi.lahtinen at gmail.com (Jussi Lahtinen) Date: Wed, 31 Jul 2019 01:22:30 +0300 Subject: [Gambas-user] gb.util and CsvFile In-Reply-To: References: Message-ID: OK, my bad... you just keep on calling Read() until all the lines are read. I had thought it very differently. Jussi On Wed, Jul 31, 2019 at 1:11 AM Jussi Lahtinen wrote: > It seems to read only two lines; first for field names and second line for > data. Rest of the lines are ignored. > > > Jussi > > On Wed, Jul 31, 2019 at 1:03 AM Beno?t Minisini wrote: > >> Le 31/07/2019 ? 00:01, Jussi Lahtinen a ?crit : >> > Hi! >> > I'm trying to read csv file with multiple lines and apparently the >> > component is not finished on that part. Is there already design ideas? >> > Collection of variant arrays? Line number as an argument for Read() >> > function? Array of collections? >> > I think the latter would be the most useful. However, backward >> > compatibility would be gone. >> > >> > >> > Jussi >> > >> >> I don't know what you mean. Nothing is missing in CsvFile that I would >> need. >> >> -- >> Beno?t Minisini >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From structengr1 at gmail.com Wed Jul 31 19:45:44 2019 From: structengr1 at gmail.com (Struct Engr) Date: Wed, 31 Jul 2019 12:45:44 -0500 Subject: [Gambas-user] How to get report page to repeat multiple times Message-ID: I am trying to use the gb.report2 component to create a multiple page report. Each page is to have the same format but with just different result values. I have created the single page report template. See attached pdf and report file. On the attached pdf I have shaded in pink the parts of the page that are to be repeated on all pages unchanged. In the middle of the page shaded in yellow is the part which should have the same layout on each page but with just different numeric values in the tables and different images but same size and location. I have tried using ReportPanel and ReportVPanel without success. When I put the containers from the middle portion of my report inside either ReportPanel or ReportVPanel they seem to disappear. I am asking for suggestions on how I can create the multiply page report as described above. Also any description of the purpose or the capabilities provided by ReportPanel and ReportVPanel would be helpful. Thanks in advance for your help. Please let me know if more information is needed. Regards, Greg -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: shadedreport.pdf Type: application/pdf Size: 147891 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: OutputReport.report Type: application/octet-stream Size: 9538 bytes Desc: not available URL: From bagonergi at gmail.com Wed Jul 31 19:56:36 2019 From: bagonergi at gmail.com (Gianluigi) Date: Wed, 31 Jul 2019 19:56:36 +0200 Subject: [Gambas-user] How to get report page to repeat multiple times In-Reply-To: References: Message-ID: Il giorno mer 31 lug 2019 alle ore 19:47 Struct Engr ha scritto: > I am trying to use the gb.report2 component to create a multiple page > report. Each page is to have the same format but with just different > result values. I have created the single page report template. See > attached pdf and report file. On the attached pdf I have shaded in pink > the parts of the page that are to be repeated on all pages unchanged. In > the middle of the page shaded in yellow is the part which should have the > same layout on each page but with just different numeric values in the > tables and different images but same size and location. I have tried using > ReportPanel and ReportVPanel without success. When I put the containers > from the middle portion of my report inside either ReportPanel or > ReportVPanel they seem to disappear. I am asking for suggestions on how I > can create the multiply page report as described above. Also any > description of the purpose or the capabilities provided by ReportPanel and > ReportVPanel would be helpful. > > Thanks in advance for your help. Please let me know if more information > is needed. > > Regards, > Greg > Hi, in the Software farm in Examples there is ReportTest, maybe it can help you. Regards Gianluigi -------------- next part -------------- An HTML attachment was scrubbed... URL: