From emil.lenngren at ...626... Thu Dec 1 00:35:18 2016 From: emil.lenngren at ...626... (Emil Lenngren) Date: Thu, 1 Dec 2016 00:35:18 +0100 Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1041: [JIT] Doing : Return [2/8] , I get "Type Mismatch ..." In-Reply-To: <583f563a.af24ed0a.f9be4.7aedSMTPIN_ADDED_BROKEN@...2392...> References: <583f563a.af24ed0a.f9be4.7aedSMTPIN_ADDED_BROKEN@...2392...> Message-ID: Seems like the implicit conversion from Float[] to Integer[] fails (2/8 performs float calculation)... 2016-11-30 23:42 GMT+01:00 : > http://gambaswiki.org/bugtracker/edit?object=BUG.1041&from=L21haW4- > > Zainudin AHMAD added an attachment: > > Bug-jit-ArrayInteger-0.0.1.tar.gz > > > > ------------------------------------------------------------ > ------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From cybercamera at ...626... Thu Dec 1 01:56:29 2016 From: cybercamera at ...626... (Cam Era) Date: Thu, 1 Dec 2016 11:56:29 +1100 Subject: [Gambas-user] Arrays of Structs In-Reply-To: <20161130062046.M10051@...951...> References: <20161130062046.M10051@...951...> Message-ID: On Wed, Nov 30, 2016 at 5:27 PM, wrote: > I use structs to write binary to a file in struct order. > Nice and easy. > Not so easy with a class. > > Your example is possible. I have done similar. > > The STRUCT only defines the structure...it doesn't create the memory > allocation. > Static Private WorldMap[100, 100] As MapObject just defines arrays to > point to objects. > You need to run code to actually create new objects at each array element. > hint: > Loop x > Loop y > [x][y] = new MapObject 'the new actually creates a memory allocation > for it. > Fernando, good to know that it can be done using this approach if necessary. Cheers -- Cam From bugtracker at ...3416... Fri Dec 2 00:31:35 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 01 Dec 2016 23:31:35 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1042: Can't use --icon argument Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1042&from=L21haW4- Zainudin AHMAD reported a new bug. Summary ------- Can't use --icon argument Type : Bug Priority : Low Gambas version : 3.9.90 (TRUNK) Product : QT5 component Description ----------- Can't use --icon argument It's fine with QT4, GTK2 and GTK3, this happen only with QT5 and it's fine with other argument (like --hola). Reproduce The Bug : 1) Select --icon argument from button menu (attach pic-1) 2) Run Project (attach project) System information ------------------ [System] Gambas=3.9.90 r8004 OperatingSystem=Linux Kernel=4.4.0-28-generic Architecture=x86 Distribution=Ubuntu 16.04.1 LTS Desktop=LXQT Theme=Gtk Language=en_US.UTF-8 Memory=492M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-1.0.so.0.802.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.19.0.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] BROWSER= DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-8qXRGsJJ9k,guid=f36c09faab67b7515fff26fd583f4beb DEFAULTS_PATH=/usr/share/gconf/lxqt.default.path DESKTOP_SESSION=lxqt DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=lxqt GDM_LANG=en GTK_CSD=0 HOME= LANG=en_US.UTF-8 LANGUAGE=en LC_ADDRESS=id_ID.UTF-8 LC_IDENTIFICATION=id_ID.UTF-8 LC_MEASUREMENT=id_ID.UTF-8 LC_MONETARY=id_ID.UTF-8 LC_NAME=id_ID.UTF-8 LC_NUMERIC=id_ID.UTF-8 LC_PAPER=id_ID.UTF-8 LC_TELEPHONE=id_ID.UTF-8 LC_TIME=id_ID.UTF-8 LOGNAME= LXQT_SESSION_CONFIG=session MANDATORY_PATH=/usr/share/gconf/lxqt.mandatory.path PAM_KWALLET5_LOGIN=/tmp/kwallet5_.socket PAPERSIZE=a4 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_IM_MODULE=compose QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_PLATFORM_PLUGIN=lxqt QT_QPA_PLATFORMTHEME=lxqt SAL_USE_VCLPLUGIN=kde4 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=2313 SSH_AUTH_SOCK=/tmp/ssh-9ueo0Yf1OExy/agent.2258 TERM=qterminal TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CACHE_HOME=/.cache XDG_CONFIG_DIRS=/etc/xdg/xdg-lxqt:/etc/xdg XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXQt XDG_DATA_DIRS=/usr/share/lxqt:/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share/:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop:/.local/share:/usr/share XDG_DATA_HOME=/.local/share XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=lxqt- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=lxqt XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 From bugtracker at ...3416... Fri Dec 2 00:32:10 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 01 Dec 2016 23:32:10 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1042: Can't use --icon argument In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1042&from=L21haW4- Zainudin AHMAD added an attachment: pic-1.jpg From bugtracker at ...3416... Fri Dec 2 00:32:23 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 01 Dec 2016 23:32:23 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1042: Can't use --icon argument In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1042&from=L21haW4- Zainudin AHMAD added an attachment: Bug-Argument-Icon-0.0.1.tar.gz From bugtracker at ...3416... Fri Dec 2 23:37:08 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 02 Dec 2016 22:37:08 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1043: Click run twice, I get an interpreter(debugger) crashes Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1043&from=L21haW4- Zainudin AHMAD reported a new bug. Summary ------- Click run twice, I get an interpreter(debugger) crashes Type : Bug Priority : Medium Gambas version : 3.9.90 (TRUNK) Product : Development Environment Description ----------- Click run twice, I get an interpreter(debugger) crashes ' Reproduce the bug: 1) Run project, ballon show in stack backtrace: "type mismatch ..." (don't click stop) (attach project) (attach pic-1) 2) Run again, I get segmentation fault message. System information ------------------ [System] Gambas=3.9.90 r8004 OperatingSystem=Linux Kernel=4.4.0-28-generic Architecture=x86 Distribution=Ubuntu 16.04.1 LTS Desktop=LXQT Theme=Gtk Language=en_US.UTF-8 Memory=492M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-1.0.so.0.802.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.19.0.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] BROWSER= DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-8qXRGsJJ9k,guid=f36c09faab67b7515fff26fd583f4beb DEFAULTS_PATH=/usr/share/gconf/lxqt.default.path DESKTOP_SESSION=lxqt DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=lxqt GDM_LANG=en GTK_CSD=0 HOME= LANG=en_US.UTF-8 LANGUAGE=en LC_ADDRESS=id_ID.UTF-8 LC_IDENTIFICATION=id_ID.UTF-8 LC_MEASUREMENT=id_ID.UTF-8 LC_MONETARY=id_ID.UTF-8 LC_NAME=id_ID.UTF-8 LC_NUMERIC=id_ID.UTF-8 LC_PAPER=id_ID.UTF-8 LC_TELEPHONE=id_ID.UTF-8 LC_TIME=id_ID.UTF-8 LOGNAME= LXQT_SESSION_CONFIG=session MANDATORY_PATH=/usr/share/gconf/lxqt.mandatory.path PAM_KWALLET5_LOGIN=/tmp/kwallet5_.socket PAPERSIZE=a4 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_IM_MODULE=compose QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_PLATFORM_PLUGIN=lxqt QT_QPA_PLATFORMTHEME=lxqt SAL_USE_VCLPLUGIN=kde4 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=2313 SSH_AUTH_SOCK=/tmp/ssh-9ueo0Yf1OExy/agent.2258 TERM=qterminal TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CACHE_HOME=/.cache XDG_CONFIG_DIRS=/etc/xdg/xdg-lxqt:/etc/xdg XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXQt XDG_DATA_DIRS=/usr/share/lxqt:/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share/:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop:/.local/share:/usr/share XDG_DATA_HOME=/.local/share XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=lxqt- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=lxqt XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 From bugtracker at ...3416... Fri Dec 2 23:37:36 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 02 Dec 2016 22:37:36 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1043: Click run twice, I get an interpreter(debugger) crashes In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1043&from=L21haW4- Zainudin AHMAD added an attachment: Bug-segf-DateInit-0.0.2.tar.gz From bugtracker at ...3416... Fri Dec 2 23:38:46 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 02 Dec 2016 22:38:46 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1043: Click run twice, I get an interpreter(debugger) crashes In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1043&from=L21haW4- Zainudin AHMAD added an attachment: pic-1.png From shordi at ...626... Sun Dec 4 18:06:12 2016 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Sun, 4 Dec 2016 18:06:12 +0100 Subject: [Gambas-user] Set cursor position on a webview editable. Message-ID: Hi I'm doing a spelling checker for a webview. When you write a wrong word it is highlited. That's done, but I can't set the cursor again after the word. It always remains at begin of webview text... Is it possible to do that? Best Regards From gambas.fr at ...626... Sun Dec 4 22:35:26 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 4 Dec 2016 22:35:26 +0100 Subject: [Gambas-user] SpreadSheet Message-ID: First Steps -- Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot_20161204_223429.png Type: image/png Size: 25658 bytes Desc: not available URL: From tercoide at ...67... Mon Dec 5 12:41:32 2016 From: tercoide at ...67... (Martin Cristia) Date: Mon, 5 Dec 2016 11:41:32 +0000 Subject: [Gambas-user] SpreadSheet In-Reply-To: References: Message-ID: I have a working recursive cell formula solver, if you want. > ------------------------------ > > Message: 8 > Date: Sun, 4 Dec 2016 22:35:26 +0100 > From: Fabien Bodard > Subject: [Gambas-user] SpreadSheet > To: gambas-user at lists.sourceforge.net > Message-ID: > > Content-Type: text/plain; charset="utf-8" > > First Steps > -- Saludos Ing. Martin P Cristia From gambas.fr at ...626... Mon Dec 5 13:51:00 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 5 Dec 2016 13:51:00 +0100 Subject: [Gambas-user] SpreadSheet In-Reply-To: References: Message-ID: You can send me your work . ? So I can use it and blend it with the gb internal solver. I'm happy to find a little bit help. Actually only selection and zoom work... But it's canvas and all goes fast Le 5 d?c. 2016 12:44, "Martin Cristia" a ?crit : > I have a working recursive cell formula solver, if you want. > > ------------------------------ > > > > Message: 8 > > Date: Sun, 4 Dec 2016 22:35:26 +0100 > > From: Fabien Bodard > > Subject: [Gambas-user] SpreadSheet > > To: gambas-user at lists.sourceforge.net > > Message-ID: > > gmail.com> > > Content-Type: text/plain; charset="utf-8" > > > > First Steps > > > > -- > Saludos > > Ing. Martin P Cristia > > > ------------------------------------------------------------ > ------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Mon Dec 5 15:25:15 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 5 Dec 2016 15:25:15 +0100 Subject: [Gambas-user] SpreadSheet In-Reply-To: References: Message-ID: But it's (canvas) gambas and all goes fast (damned android corrector !) 2016-12-05 13:51 GMT+01:00 Fabien Bodard : > You can send me your work . ? > > So I can use it and blend it with the gb internal solver. > > I'm happy to find a little bit help. > Actually only selection and zoom work... But it's canvas and all goes fast > Le 5 d?c. 2016 12:44, "Martin Cristia" a ?crit : > >> I have a working recursive cell formula solver, if you want. >> > ------------------------------ >> > >> > Message: 8 >> > Date: Sun, 4 Dec 2016 22:35:26 +0100 >> > From: Fabien Bodard >> > Subject: [Gambas-user] SpreadSheet >> > To: gambas-user at lists.sourceforge.net >> > Message-ID: >> > > mail.com> >> > Content-Type: text/plain; charset="utf-8" >> > >> > First Steps >> > >> >> -- >> Saludos >> >> Ing. Martin P Cristia >> >> >> ------------------------------------------------------------ >> ------------------ >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > -- Fabien Bodard From rwe-sse at ...3629... Mon Dec 5 16:59:49 2016 From: rwe-sse at ...3629... (Rolf-Werner Eilert) Date: Mon, 05 Dec 2016 16:59:49 +0100 Subject: [Gambas-user] SpreadSheet In-Reply-To: References: Message-ID: <58458EF5.3080900@...3629...> Oh, and I was curious, thinking "something new to learn from" :) Rolf Am 05.12.2016 15:25, schrieb Fabien Bodard: > But it's (canvas) gambas and all goes fast > > (damned android corrector !) > > 2016-12-05 13:51 GMT+01:00 Fabien Bodard : > >> You can send me your work . ? >> >> So I can use it and blend it with the gb internal solver. >> >> I'm happy to find a little bit help. >> Actually only selection and zoom work... But it's canvas and all goes fast >> Le 5 d?c. 2016 12:44, "Martin Cristia" a ?crit : >> >>> I have a working recursive cell formula solver, if you want. >>>> ------------------------------ >>>> >>>> Message: 8 >>>> Date: Sun, 4 Dec 2016 22:35:26 +0100 >>>> From: Fabien Bodard >>>> Subject: [Gambas-user] SpreadSheet >>>> To: gambas-user at lists.sourceforge.net >>>> Message-ID: >>>> >> mail.com> >>>> Content-Type: text/plain; charset="utf-8" >>>> >>>> First Steps >>>> >>> >>> -- >>> Saludos >>> >>> Ing. Martin P Cristia >>> >>> >>> ------------------------------------------------------------ >>> ------------------ >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>> >> > > From gambas.fr at ...626... Mon Dec 5 21:54:33 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 5 Dec 2016 21:54:33 +0100 Subject: [Gambas-user] SpreadSheet In-Reply-To: <58458EF5.3080900@...3629...> References: <58458EF5.3080900@...3629...> Message-ID: 2016-12-05 16:59 GMT+01:00 Rolf-Werner Eilert : > Oh, and I was curious, thinking "something new to learn from" :) Yes me too :-) > > Rolf > > Am 05.12.2016 15:25, schrieb Fabien Bodard: >> But it's (canvas) gambas and all goes fast >> >> (damned android corrector !) >> >> 2016-12-05 13:51 GMT+01:00 Fabien Bodard : >> >>> You can send me your work . ? >>> >>> So I can use it and blend it with the gb internal solver. >>> >>> I'm happy to find a little bit help. >>> Actually only selection and zoom work... But it's canvas and all goes fast >>> Le 5 d?c. 2016 12:44, "Martin Cristia" a ?crit : >>> >>>> I have a working recursive cell formula solver, if you want. >>>>> ------------------------------ >>>>> >>>>> Message: 8 >>>>> Date: Sun, 4 Dec 2016 22:35:26 +0100 >>>>> From: Fabien Bodard >>>>> Subject: [Gambas-user] SpreadSheet >>>>> To: gambas-user at lists.sourceforge.net >>>>> Message-ID: >>>>> >>> mail.com> >>>>> Content-Type: text/plain; charset="utf-8" >>>>> >>>>> First Steps >>>>> >>>> >>>> -- >>>> Saludos >>>> >>>> Ing. Martin P Cristia >>>> >>>> >>>> ------------------------------------------------------------ >>>> ------------------ >>>> _______________________________________________ >>>> Gambas-user mailing list >>>> Gambas-user at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user >>>> >>> >> >> > > > ------------------------------------------------------------------------------ > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From bugtracker at ...3416... Tue Dec 6 13:24:02 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 06 Dec 2016 12:24:02 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1044: Gambas should trow an error or at least a warning when loading corrupted images Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1044&from=L21haW4- Antonio OREFICE reported a new bug. Summary ------- Gambas should trow an error or at least a warning when loading corrupted images Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- See the following code: Public Sub Form_Open() Dim myimage As New Image Dim mydata As String Dim tmpfile As String = "/tmp/myimage.jpg" myimage.Resize(100, 100) myimage.Fill(Color.black) myimage.Save(tmpfile) mydata = File.Load(tmpfile) mydata = Left(mydata, Len(mydata) - 100) File.Save(tmpfile, mydata) Try myimage = Image.Load(tmpfile) If Error Then Debug "Error while loading the image" Endif End No Error is catched, because gambas loads the corrupted image. Still, in the console log something throws the error/warning "Corrupt JPEG data: premature end of data segment" But, actually, i can't see a way to handle that at code level. Is there a workaround or this is in the need of a fix? Thanks. System information ------------------ [System] Gambas=3.9.1 OperatingSystem=Linux Kernel=4.8.7-1-ARCH Architecture=x86_64 Distribution=Arch Linux Desktop=KDE5 Theme=Breeze Language=it_IT.utf8 Memory=7933M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.8 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.1001.0 GTK+2=libgtk-x11-2.0.so.0.2400.31 GTK+3=libgtk-3.so.0.2200.4 OpenGL=libGL.so.1.0.0 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.63.0.0 QT4=libQtCore.so.4.7.4 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.3.2 QT5=libQt5Core.so.5.7.0 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] ANT_HOME=/usr/share/apache-ant Automoc4_DIR=/usr/lib/automoc4 CCACHEPATH=/usr/lib/ccache/bin DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/0/bus DESKTOP_SESSION=/usr/share/xsessions/plasma DISPLAY=:0 EDITOR=nano GB_GUI=gb.qt5 GS_LIB=/.fonts GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/.gtkrc-2.0:/.config/gtkrc-2.0 GTK_MODULES=canberra-gtk-module GTK_RC_FILES=/etc/gtk/gtkrc:/.gtkrc:/.config/gtkrc HG=/usr/bin/hg HISTCONTROL=ignoredups HISTSIZE=50000 HOME= INFINALITY_FT= INFINALITY_FT_AUTOFIT_FORCE_SLIGHT_HINTING=true INFINALITY_FT_AUTOHINT_HORIZONTAL_STEM_DARKEN_STRENGTH=0 INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS=false INFINALITY_FT_AUTOHINT_SNAP_STEM_HEIGHT=0 INFINALITY_FT_AUTOHINT_VERTICAL_STEM_DARKEN_STRENGTH=25 INFINALITY_FT_BOLD_EMBOLDEN_X_VALUE=0 INFINALITY_FT_BOLD_EMBOLDEN_Y_VALUE=0 INFINALITY_FT_BRIGHTNESS=0 INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH=0 INFINALITY_FT_CONTRAST=-20 INFINALITY_FT_FILTER_PARAMS=7 25 44 25 7 INFINALITY_FT_FRINGE_FILTER_STRENGTH=0 INFINALITY_FT_GAMMA_CORRECTION=0 100 INFINALITY_FT_GLOBAL_EMBOLDEN_X_VALUE=0 INFINALITY_FT_GLOBAL_EMBOLDEN_Y_VALUE=0 INFINALITY_FT_GRAYSCALE_FILTER_STRENGTH=0 INFINALITY_FT_STEM_ALIGNMENT_STRENGTH=0 INFINALITY_FT_STEM_FITTING_STRENGTH=0 INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE=0 INFINALITY_FT_USE_KNOWN_SETTINGS_ON_SELECTED_FONTS=true INFINALITY_FT_USE_VARIOUS_TWEAKS=true INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH=0 INTEL_BATCH=1 KDE_FULL_SESSION=true KDE_MULTIHEAD=false KDE_SESSION_UID=0 KDE_SESSION_VERSION=5 KMIX_PULSEAUDIO_DISABLE=1 KWIN_NVIDIA_HACK=1 LANG=it_IT.utf8 LANGUAGE=en_US LC_COLLATE=C LD_LIBRARY_PATH=/usr/local/lib/icu-55/ LESS_TERMCAP_mb= LESS_TERMCAP_md= LESS_TERMCAP_me= LESS_TERMCAP_se= LESS_TERMCAP_so= LESS_TERMCAP_ue= LESS_TERMCAP_us= LOGNAME= LS_COLORS=rs=0:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36: MAIL=/var/spool/mail MOZ_DISABLE_PANGO=1 MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins NXDIR=/usr/lib/nx OOO_FORCE_DESKTOP=gnome PATH=/usr/lib/ccache/bin:/usr/lib/nx/bin:/usr/lib/hardening-wrapper/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/android-sdk/platform-tools:/opt/cuda/bin:/opt/depot_tools:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/scripts:/home/scripts/DominioNT/:/usr/local/bin PS4=+ PWD= QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_GRAPHICSSYSTEM=raster QT_NO_GLIB=1 QT_QPA_PLATFORMTHEME=kde SESSION_MANAGER=local/:@/tmp/.ICE-unix/2158,unix/:/tmp/.ICE-unix/2158 SHELL=/bin/bash SHLVL=1 TZ=:/etc/localtime USER= WINEARCH=win32 WINEDLLOVERRIDES=winemenubuilder.exe=d XAUTHORITY=/tmp/xauth-0-_0 XCURSOR_SIZE=0 XCURSOR_THEME=Jimmac XDG_CURRENT_DESKTOP=KDE XDG_DATA_DIRS=/usr/share:/usr/share:/usr/local/share XDG_DESKTOP_DIR=$HOME/Desktop" XDG_RUNTIME_DIR=/run/user/0 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=KDE XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 _=/usr/lib/kf5/start_kdeinit_wrapper __GLVND_DISALLOW_PATCHING=1 __GL_SHADER_DISK_CACHE=1 __GL_YIELD=USLEEP From bugtracker at ...3416... Tue Dec 6 16:20:37 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 06 Dec 2016 15:20:37 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1044: Gambas should trow an error or at least a warning when loading corrupted images In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1044&from=L21haW4- Comment #1 by Fabien BODARD: In fact you can check if "myImage" contain an image object : Public Sub Form_Open() Dim myimage As New Image Dim mydata As String Dim tmpfile As String = "/tmp/myimage.jpg" myimage.Resize(100, 100) myimage.Fill(Color.black) myimage.Save(tmpfile) mydata = File.Load(tmpfile) mydata = Left(mydata, Len(mydata) - 100) File.Save(tmpfile, mydata) Try myimage = Image.Load(tmpfile) If Error Then Debug "Error while loading the image" Endif if not myImage then Debug "Image is not loaded" End Is this way solve your problem ? Fabien BODARD changed the state of the bug to: NeedsInfo. From bugtracker at ...3416... Tue Dec 6 16:23:39 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 06 Dec 2016 15:23:39 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1044: Gambas should trow an error or at least a warning when loading corrupted images In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1044&from=L21haW4- Comment #2 by Antonio OREFICE: It does not. If you try to display the corrupted image, it displays a corrupted image :) From bugtracker at ...3416... Tue Dec 6 16:25:16 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 06 Dec 2016 15:25:16 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1044: Gambas should trow an error or at least a warning when loading corrupted images In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1044&from=L21haW4- Comment #3 by Fabien BODARD: After a short test ... no It seem to be not possible to capture the loader error. From tercoide at ...67... Tue Dec 6 17:30:20 2016 From: tercoide at ...67... (Martin Cristia) Date: Tue, 6 Dec 2016 16:30:20 +0000 Subject: [Gambas-user] A simple spreadsheet Message-ID: Fabien, here it goes. It should be improved in every way, but works. -- Saludos Ing. Martin P Cristia -------------- next part -------------- A non-text attachment was scrubbed... Name: SpreadSheetTest-0.0.1.tar.gz Type: application/gzip Size: 15927 bytes Desc: SpreadSheetTest-0.0.1.tar.gz URL: From bagonergi at ...626... Tue Dec 6 21:44:35 2016 From: bagonergi at ...626... (Gianluigi) Date: Tue, 6 Dec 2016 21:44:35 +0100 Subject: [Gambas-user] Set cursor position on a webview editable. In-Reply-To: References: Message-ID: Have You tried to use Desktop.SendKeys? Regards Gianluigi 2016-12-04 18:06 GMT+01:00 Jorge Carri?n : > Hi > I'm doing a spelling checker for a webview. When you write a wrong word it > is highlited. That's done, but I can't set the cursor again after the word. > It always remains at begin of webview text... > > Is it possible to do that? > > Best Regards > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bagonergi at ...626... Wed Dec 7 10:51:06 2016 From: bagonergi at ...626... (Gianluigi) Date: Wed, 7 Dec 2016 10:51:06 +0100 Subject: [Gambas-user] Set cursor position on a webview editable. In-Reply-To: References: Message-ID: Something like this, about your example on the Spanish forum: '----------------------------- Public Sub Button1_Click() Dim ar As String[] Dim i As Integer ar = Split(WebView1.Text, " ", Null, True) WebView1.html = Replace(WebView1.html, ar[ar.max], "" & ar[ar.max] & "") WebView1.SetFocus 'Aqu? el cursor queda al principo del texto. Lo queremos al final Print ar.Max, " words" For i = 0 To ar.Max Desktop.SendKeys("{[Control_L][Right]}") Next End '---------------------------------- Regards Gianluigi 2016-12-06 21:44 GMT+01:00 Gianluigi : > Have You tried to use Desktop.SendKeys? > > Regards > Gianluigi > > 2016-12-04 18:06 GMT+01:00 Jorge Carri?n : > >> Hi >> I'm doing a spelling checker for a webview. When you write a wrong word it >> is highlited. That's done, but I can't set the cursor again after the >> word. >> It always remains at begin of webview text... >> >> Is it possible to do that? >> >> Best Regards >> ------------------------------------------------------------ >> ------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From shordi at ...626... Wed Dec 7 11:08:58 2016 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Wed, 7 Dec 2016 11:08:58 +0100 Subject: [Gambas-user] Set cursor position on a webview editable. In-Reply-To: References: Message-ID: Gianluigi I've tried, but doesn't work. The webview doesn't seem respond to setfocus() after the spelling... so, the desktop.sendkeys doesn't work on it. I'm doing a control compound of a exported class, and a form with a webview and a toolbar inside. When I push te spelling button the work is done (higlighting the wrongs words) but I'm not able to return the focus on the webview. I suppouse thar I'm missing something... but can't figure what is it. I give up yet in doing the spelling while writing (keyrelease event) because the same issue of return the keyboard cursor at the origin point. I'm resigned to do it only with a button... and the user must do a click on webview to return the focus on it... *(I attach the source code (at the moment only spell spanish) so you can see what I'm trying to do.)* *Sorry the message with the attached project has been rejected by the list. No attached, then... * Best Regards 2016-12-07 10:51 GMT+01:00 Gianluigi : > Something like this, about your example on the Spanish forum: > '----------------------------- > Public Sub Button1_Click() > > Dim ar As String[] > Dim i As Integer > > ar = Split(WebView1.Text, " ", Null, True) > WebView1.html = Replace(WebView1.html, ar[ar.max], " style=\"background-color: rgb(254, 254, 126);\">" & ar[ar.max] & "") > WebView1.SetFocus > 'Aqu? el cursor queda al principo del texto. Lo queremos al final > Print ar.Max, " words" > For i = 0 To ar.Max > Desktop.SendKeys("{[Control_L][Right]}") > Next > > End > '---------------------------------- > > Regards > Gianluigi > > 2016-12-06 21:44 GMT+01:00 Gianluigi : > > > Have You tried to use Desktop.SendKeys? > > > > Regards > > Gianluigi > > > > 2016-12-04 18:06 GMT+01:00 Jorge Carri?n : > > > >> Hi > >> I'm doing a spelling checker for a webview. When you write a wrong word > it > >> is highlited. That's done, but I can't set the cursor again after the > >> word. > >> It always remains at begin of webview text... > >> > >> Is it possible to do that? > >> > >> Best Regards > >> ------------------------------------------------------------ > >> ------------------ > >> Check out the vibrant tech community on one of the world's most > >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > > > > ------------------------------------------------------------ > ------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today.http://sdm.link/xeonphi > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Wed Dec 7 11:12:47 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 7 Dec 2016 11:12:47 +0100 Subject: [Gambas-user] Set cursor position on a webview editable. In-Reply-To: References: Message-ID: Le 07/12/2016 ? 11:08, Jorge Carri?n a ?crit : > Gianluigi > > I've tried, but doesn't work. The webview doesn't seem respond to > setfocus() after the spelling... so, the desktop.sendkeys doesn't work on > it. > I'm doing a control compound of a exported class, and a form with a webview > and a toolbar inside. When I push te spelling button the work is done > (higlighting the wrongs words) but I'm not able to return the focus on the > webview. > I suppouse thar I'm missing something... but can't figure what is it. I > give up yet in doing the spelling while writing (keyrelease event) because > the same issue of return the keyboard cursor at the origin point. I'm > resigned to do it only with a button... and the user must do a click on > webview to return the focus on it... > > > > *(I attach the source code (at the moment only spell spanish) so you can > see what I'm trying to do.)* > > *Sorry the message with the attached project has been rejected by the list. > No attached, then... * > > Best Regards > Did you try to exec javascript inside the WebView to give the focus to the web page? -- Beno?t Minisini From gambas.fr at ...626... Wed Dec 7 12:10:05 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 7 Dec 2016 12:10:05 +0100 Subject: [Gambas-user] A simple spreadsheet In-Reply-To: References: Message-ID: 2016-12-06 17:30 GMT+01:00 Martin Cristia : > Fabien, here it goes. Thank you. > It should be improved in every way, but works. Well, to say the truth ... I was hoping better. I have already produced something much more advanced in the past. Not perfect either believe me. This time, I will base the solver on the Gambas expression class. This will have several advantages. First, I will not reinvent the wheel for many functions already present in gambas (like mathematical functions), but this system also allows to add functions and thus to carry certain functions common to the set of standard spreadsheets. My first job is to create a display component, which is not based on gridview. GridView is great because adaptable has many uses. But suddenly it becomes too heavy for the use I want to make of it. Well I admit that I draw a lot from the code of Benoit too. But I purify it and add inherent functions to spreadsheets. As the display of a cellul, the modes and selections by columns and blocks. The code in the end is lighter but by what it is specialized. I do not know what will come out of all this but good I would share as soon as I had a funny thing to test. I do this while waiting for Benoit to advance on gb.term ... Although it would also be necessary that I take care of gb.report :-/ ... I am an irrecoverable scattered. Too curious certainly. > > > -- > Saludos > > Ing. Martin P Cristia > > > ------------------------------------------------------------------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today.http://sdm.link/xeonphi > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -- Fabien Bodard From shordi at ...626... Wed Dec 7 12:22:31 2016 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Wed, 7 Dec 2016 12:22:31 +0100 Subject: [Gambas-user] Set cursor position on a webview editable. In-Reply-To: References: Message-ID: I'm afraid that my Javascript abilities are too limited. I Just tried to manage with webview.eval(documment.execcommand ... ) but without success... Thanks for the answer... The project has been rejected for mailing list 1,5mb (too big may be)? Best Regards 2016-12-07 11:12 GMT+01:00 Beno?t Minisini : > Le 07/12/2016 ? 11:08, Jorge Carri?n a ?crit : > > Gianluigi > > > > I've tried, but doesn't work. The webview doesn't seem respond to > > setfocus() after the spelling... so, the desktop.sendkeys doesn't work on > > it. > > I'm doing a control compound of a exported class, and a form with a > webview > > and a toolbar inside. When I push te spelling button the work is done > > (higlighting the wrongs words) but I'm not able to return the focus on > the > > webview. > > I suppouse thar I'm missing something... but can't figure what is it. I > > give up yet in doing the spelling while writing (keyrelease event) > because > > the same issue of return the keyboard cursor at the origin point. I'm > > resigned to do it only with a button... and the user must do a click on > > webview to return the focus on it... > > > > > > > > *(I attach the source code (at the moment only spell spanish) so you can > > see what I'm trying to do.)* > > > > *Sorry the message with the attached project has been rejected by the > list. > > No attached, then... * > > > > Best Regards > > > > Did you try to exec javascript inside the WebView to give the focus to > the web page? > > -- > Beno?t Minisini > > ------------------------------------------------------------ > ------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today.http://sdm.link/xeonphi > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From tercoide at ...67... Wed Dec 7 13:00:39 2016 From: tercoide at ...67... (Martin Cristia) Date: Wed, 7 Dec 2016 12:00:39 +0000 Subject: [Gambas-user] A simple spreadsheet In-Reply-To: References: Message-ID: > Well, to say the truth ... I was hoping better. for a control? XD > First, I will not reinvent the wheel we all are reinventing many wheels here, and having fun in the meantime > for many functions already present in gambas (like > mathematical functions), but this system also allows to add functions > and thus to carry certain functions common to the set of standard > spreadsheets. My first job is to create a display component, which is > not based on gridview. GridView is great because adaptable has many > uses. But suddenly it becomes too heavy for the use I want to make of > it. Well I admit that I draw a lot from the code of Benoit too. But I > purify it and add inherent functions to spreadsheets. As the display > of a cellul, the modes and selections by columns and blocks. The code > in the end is lighter but by what it is specialized. > don't know where are you heading to, but if you need such complexity, is not creating an OLE control more productive for everyone? > ... I am an irrecoverable scattered. Too curious certainly. we all are! good luck y friend -- Saludos Ing. Martin P Cristia From rwe-sse at ...3629... Wed Dec 7 13:30:29 2016 From: rwe-sse at ...3629... (Rolf-Werner Eilert) Date: Wed, 07 Dec 2016 13:30:29 +0100 Subject: [Gambas-user] A simple spreadsheet In-Reply-To: References: Message-ID: <584800E5.8040701@...3629...> Fabien, I have followed your discussion and have a question: > believe me. This time, I will base the solver on the Gambas expression > class. This will have several advantages. First, I will not reinvent Where is this class, and how would I use it? > spreadsheets. My first job is to create a display component, which is > not based on gridview. GridView is great because adaptable has many > uses. But suddenly it becomes too heavy for the use I want to make of > it. Well I admit that I draw a lot from the code of Benoit too. But I > purify it and add inherent functions to spreadsheets. As the display > of a cellul, the modes and selections by columns and blocks. The code > in the end is lighter but by what it is specialized. I had a similar case with a list of articles needed which I couldn't realize with a common GridView. So I used a graphical thing and painted everything myself. It looks very nice, but it was kinda effort to make it react to mouse clicks and all that stuff. Regards Rolf From gambas.fr at ...626... Wed Dec 7 14:30:58 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 7 Dec 2016 14:30:58 +0100 Subject: [Gambas-user] A simple spreadsheet In-Reply-To: <584800E5.8040701@...3629...> References: <584800E5.8040701@...3629...> Message-ID: 2016-12-07 13:30 GMT+01:00 Rolf-Werner Eilert : > Fabien, I have followed your discussion and have a question: > > > believe me. This time, I will base the solver on the Gambas expression >> class. This will have several advantages. First, I will not reinvent > > Where is this class, and how would I use it? http://gambas.8142.n7.nabble.com/Custom-expression-evaluator-in-rev-7545-td55155.html And joined example > >> spreadsheets. My first job is to create a display component, which is >> not based on gridview. GridView is great because adaptable has many >> uses. But suddenly it becomes too heavy for the use I want to make of >> it. Well I admit that I draw a lot from the code of Benoit too. But I >> purify it and add inherent functions to spreadsheets. As the display >> of a cellul, the modes and selections by columns and blocks. The code >> in the end is lighter but by what it is specialized. > > I had a similar case with a list of articles needed which I couldn't > realize with a common GridView. So I used a graphical thing and painted > everything myself. It looks very nice, but it was kinda effort to make > it react to mouse clicks and all that stuff. Well i have now a long experience. So these little things are already resolved ;-) The big job will be on the resolver. > > Regards > Rolf > > > ------------------------------------------------------------------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today.http://sdm.link/xeonphi > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas.fr at ...626... Wed Dec 7 14:31:53 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 7 Dec 2016 14:31:53 +0100 Subject: [Gambas-user] A simple spreadsheet In-Reply-To: References: <584800E5.8040701@...3629...> Message-ID: This is the example on how to use the gambas Expression class. 2016-12-07 14:30 GMT+01:00 Fabien Bodard : > 2016-12-07 13:30 GMT+01:00 Rolf-Werner Eilert : >> Fabien, I have followed your discussion and have a question: >> >> > believe me. This time, I will base the solver on the Gambas expression >>> class. This will have several advantages. First, I will not reinvent >> >> Where is this class, and how would I use it? > > http://gambas.8142.n7.nabble.com/Custom-expression-evaluator-in-rev-7545-td55155.html > And joined example > > >> >>> spreadsheets. My first job is to create a display component, which is >>> not based on gridview. GridView is great because adaptable has many >>> uses. But suddenly it becomes too heavy for the use I want to make of >>> it. Well I admit that I draw a lot from the code of Benoit too. But I >>> purify it and add inherent functions to spreadsheets. As the display >>> of a cellul, the modes and selections by columns and blocks. The code >>> in the end is lighter but by what it is specialized. >> >> I had a similar case with a list of articles needed which I couldn't >> realize with a common GridView. So I used a graphical thing and painted >> everything myself. It looks very nice, but it was kinda effort to make >> it react to mouse clicks and all that stuff. > > Well i have now a long experience. So these little things are already > resolved ;-) > > The big job will be on the resolver. > >> >> Regards >> Rolf >> >> >> ------------------------------------------------------------------------------ >> Developer Access Program for Intel Xeon Phi Processors >> Access to Intel Xeon Phi processor-based developer platforms. >> With one year of Intel Parallel Studio XE. >> Training and support from Colfax. >> Order your platform today.http://sdm.link/xeonphi >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard -- Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: DemoInterpreter-0.0.1.tar.gz Type: application/x-gzip Size: 13211 bytes Desc: not available URL: From gambas.fr at ...626... Wed Dec 7 14:52:39 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 7 Dec 2016 14:52:39 +0100 Subject: [Gambas-user] A simple spreadsheet In-Reply-To: References: Message-ID: Hi Martin, 2016-12-07 13:00 GMT+01:00 Martin Cristia : >> Well, to say the truth ... I was hoping better. > for a control? XD >> First, I will not reinvent the wheel > we all are reinventing many wheels here, and having fun in the meantime True, but this is a huge work to maintain then ... And in the same time we are not dependent of the too frequent evolution of other tools. >> for many functions already present in gambas (like >> mathematical functions), but this system also allows to add functions >> and thus to carry certain functions common to the set of standard >> spreadsheets. My first job is to create a display component, which is >> not based on gridview. GridView is great because adaptable has many >> uses. But suddenly it becomes too heavy for the use I want to make of >> it. Well I admit that I draw a lot from the code of Benoit too. But I >> purify it and add inherent functions to spreadsheets. As the display >> of a cellul, the modes and selections by columns and blocks. The code >> in the end is lighter but by what it is specialized. >> > don't know where are you heading to, but if you need such complexity, is > not creating an OLE control more productive for everyone? Well i just want to explore the hability to make a spreadsheet (one page) on gambas. Like we have explored the hability to make an iconview, a gridView, a mapView, a reportView, a TerminalEmulatorView. In fact i test my knowledge, improve it and see what fabulous things we can do with Gambas and it's graphical API. In fact... really many things. When i've begin the gb.form.term, i cannot imagine (with a big work of Benoit), we can get a usable things... Like i was surprised by the Code editor writed by Benoit. Gambas IDE is a Damned piece of code. One of the quality of Gambas is it's POO style and when you respect a regular API naming covention a great clarity for the code. SO it give me the taste for recreate everihing i see :-) I share with you a resolver i've done there is many time. It's a generic resolver. Well quite powerfull. Like Expression class now, it allow : Use of standart math function Extend to new functions Use of User defined variable And was entirely written in Gambas. For now i would use the Expression class because it is more fast. But creating this evaluator was a great time :-) >> ... I am an irrecoverable scattered. Too curious certainly. > we all are! > > good luck y friend > > -- > Saludos > > Ing. Martin P Cristia > > > ------------------------------------------------------------------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today.http://sdm.link/xeonphi > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: SimpleEval-0.2.tar.gz Type: application/x-gzip Size: 18117 bytes Desc: not available URL: From gambas.fr at ...626... Wed Dec 7 14:53:37 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 7 Dec 2016 14:53:37 +0100 Subject: [Gambas-user] Set cursor position on a webview editable. In-Reply-To: References: Message-ID: 2016-12-07 12:22 GMT+01:00 Jorge Carri?n : > I'm afraid that my Javascript abilities are too limited. > I Just tried to manage with webview.eval(documment.execcommand ... ) but > without success... > > Thanks for the answer... > > The project has been rejected for mailing list 1,5mb (too big may be)? Too big for sure :-) From rwe-sse at ...3629... Wed Dec 7 17:40:32 2016 From: rwe-sse at ...3629... (Rolf-Werner Eilert) Date: Wed, 07 Dec 2016 17:40:32 +0100 Subject: [Gambas-user] A simple spreadsheet In-Reply-To: References: <584800E5.8040701@...3629...> Message-ID: <58483B80.6010405@...3629...> Am 07.12.2016 14:31, schrieb Fabien Bodard: > This is the example on how to use the gambas Expression class. Thank you very much, this looks very interesting! Regards Rolf > > 2016-12-07 14:30 GMT+01:00 Fabien Bodard : >> 2016-12-07 13:30 GMT+01:00 Rolf-Werner Eilert : >>> Fabien, I have followed your discussion and have a question: >>> >>> > believe me. This time, I will base the solver on the Gambas expression >>>> class. This will have several advantages. First, I will not reinvent >>> >>> Where is this class, and how would I use it? >> >> http://gambas.8142.n7.nabble.com/Custom-expression-evaluator-in-rev-7545-td55155.html >> And joined example >> >> >>> >>>> spreadsheets. My first job is to create a display component, which is >>>> not based on gridview. GridView is great because adaptable has many >>>> uses. But suddenly it becomes too heavy for the use I want to make of >>>> it. Well I admit that I draw a lot from the code of Benoit too. But I >>>> purify it and add inherent functions to spreadsheets. As the display >>>> of a cellul, the modes and selections by columns and blocks. The code >>>> in the end is lighter but by what it is specialized. >>> >>> I had a similar case with a list of articles needed which I couldn't >>> realize with a common GridView. So I used a graphical thing and painted >>> everything myself. It looks very nice, but it was kinda effort to make >>> it react to mouse clicks and all that stuff. >> >> Well i have now a long experience. So these little things are already >> resolved ;-) >> >> The big job will be on the resolver. >> >>> >>> Regards >>> Rolf >>> >>> >>> ------------------------------------------------------------------------------ >>> Developer Access Program for Intel Xeon Phi Processors >>> Access to Intel Xeon Phi processor-based developer platforms. >>> With one year of Intel Parallel Studio XE. >>> Training and support from Colfax. >>> Order your platform today.http://sdm.link/xeonphi >>> _______________________________________________ >>> Gambas-user mailing list >>> Gambas-user at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> -- >> Fabien Bodard > > > > > > ------------------------------------------------------------------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today.http://sdm.link/xeonphi > > > > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From shordi at ...626... Wed Dec 7 17:42:17 2016 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Wed, 7 Dec 2016 17:42:17 +0100 Subject: [Gambas-user] Set cursor position on a webview editable. In-Reply-To: References: Message-ID: Anohter try. This time containing only de (spanish) words beginning on "A" 2016-12-07 14:53 GMT+01:00 Fabien Bodard : > 2016-12-07 12:22 GMT+01:00 Jorge Carri?n : > > I'm afraid that my Javascript abilities are too limited. > > I Just tried to manage with webview.eval(documment.execcommand ... ) but > > without success... > > > > Thanks for the answer... > > > > The project has been rejected for mailing list 1,5mb (too big may be)? > > Too big for sure :-) > > ------------------------------------------------------------ > ------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today.http://sdm.link/xeonphi > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- A non-text attachment was scrubbed... Name: htEditor-1.0.1.tar.gz Type: application/x-gzip Size: 277656 bytes Desc: not available URL: From bagonergi at ...626... Wed Dec 7 20:19:42 2016 From: bagonergi at ...626... (Gianluigi) Date: Wed, 7 Dec 2016 20:19:42 +0100 Subject: [Gambas-user] Set cursor position on a webview editable. In-Reply-To: References: Message-ID: Just for information, if you add "Me.SetFocus" as well: ... Dec Application.Busy Me.SetFocus hwebView.SetFocus Desktop.SendKeys("{[Control_L][Right]}") ... SendKeys works. Regards Gianluigi 2016-12-07 17:42 GMT+01:00 Jorge Carri?n : > Anohter try. This time containing only de (spanish) words beginning on "A" > > > 2016-12-07 14:53 GMT+01:00 Fabien Bodard : > > > 2016-12-07 12:22 GMT+01:00 Jorge Carri?n : > > > I'm afraid that my Javascript abilities are too limited. > > > I Just tried to manage with webview.eval(documment.execcommand ... ) > but > > > without success... > > > > > > Thanks for the answer... > > > > > > The project has been rejected for mailing list 1,5mb (too big may be)? > > > > Too big for sure :-) > > > > ------------------------------------------------------------ > > ------------------ > > Developer Access Program for Intel Xeon Phi Processors > > Access to Intel Xeon Phi processor-based developer platforms. > > With one year of Intel Parallel Studio XE. > > Training and support from Colfax. > > Order your platform today.http://sdm.link/xeonphi > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------ > ------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today.http://sdm.link/xeonphi > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From d4t4full at ...626... Wed Dec 7 22:53:43 2016 From: d4t4full at ...626... (d4t4full at ...626...) Date: Wed, 07 Dec 2016 18:53:43 -0300 Subject: [Gambas-user] Set cursor position on a webview editable. In-Reply-To: References: Message-ID: <6b7ea5d5-d34a-4d85-8e15-34bccf80c1bc@...3493...> I was just curious about the use of CTRL-RIGHT instead of CTRL-END. The latter normally takes the cursor to the end of the text, while the former just skips a word at a time. One of the examples in this thread splitted the text at spaces and then skipped one word at a time in a FOR loop instead of jumping right through to the end. I thought that what the original poster wanted was getting to the text end, not the current word's end. Just my two cents, maybe I did not fully understood the issue at hand, sorry if that's the case. Regards, zxMarce. On Dec 7, 2016, 16:21, at 16:21, Gianluigi wrote: >Just for information, if you add "Me.SetFocus" as well: > ... > Dec Application.Busy > Me.SetFocus > hwebView.SetFocus > Desktop.SendKeys("{[Control_L][Right]}") > ... > >SendKeys works. > >Regards >Gianluigi > >2016-12-07 17:42 GMT+01:00 Jorge Carri?n : > >> Anohter try. This time containing only de (spanish) words beginning >on "A" >> >> >> 2016-12-07 14:53 GMT+01:00 Fabien Bodard : >> >> > 2016-12-07 12:22 GMT+01:00 Jorge Carri?n : >> > > I'm afraid that my Javascript abilities are too limited. >> > > I Just tried to manage with webview.eval(documment.execcommand >... ) >> but >> > > without success... >> > > >> > > Thanks for the answer... >> > > >> > > The project has been rejected for mailing list 1,5mb (too big may >be)? >> > >> > Too big for sure :-) >> > >> > ------------------------------------------------------------ >> > ------------------ >> > Developer Access Program for Intel Xeon Phi Processors >> > Access to Intel Xeon Phi processor-based developer platforms. >> > With one year of Intel Parallel Studio XE. >> > Training and support from Colfax. >> > Order your platform today.http://sdm.link/xeonphi >> > _______________________________________________ >> > Gambas-user mailing list >> > Gambas-user at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/gambas-user >> > >> >> ------------------------------------------------------------ >> ------------------ >> Developer Access Program for Intel Xeon Phi Processors >> Access to Intel Xeon Phi processor-based developer platforms. >> With one year of Intel Parallel Studio XE. >> Training and support from Colfax. >> Order your platform today.http://sdm.link/xeonphi >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >------------------------------------------------------------------------------ >Developer Access Program for Intel Xeon Phi Processors >Access to Intel Xeon Phi processor-based developer platforms. >With one year of Intel Parallel Studio XE. >Training and support from Colfax. >Order your platform today.http://sdm.link/xeonphi >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user From bagonergi at ...626... Wed Dec 7 23:18:27 2016 From: bagonergi at ...626... (Gianluigi) Date: Wed, 7 Dec 2016 23:18:27 +0100 Subject: [Gambas-user] Set cursor position on a webview editable. In-Reply-To: <6b7ea5d5-d34a-4d85-8e15-34bccf80c1bc@...3493...> References: <6b7ea5d5-d34a-4d85-8e15-34bccf80c1bc@...3493...> Message-ID: You are right, but I do not know (I do not understand) if we have to go to the end of the text or just to the end of the incorrect word. Mine was just a simple example :-) Regards Gianluigi 2016-12-07 22:53 GMT+01:00 : > I was just curious about the use of CTRL-RIGHT instead of CTRL-END. The > latter normally takes the cursor to the end of the text, while the former > just skips a word at a time. One of the examples in this thread splitted > the text at spaces and then skipped one word at a time in a FOR loop > instead of jumping right through to the end. > > I thought that what the original poster wanted was getting to the text > end, not the current word's end. > > Just my two cents, maybe I did not fully understood the issue at hand, > sorry if that's the case. > > Regards, > zxMarce. > > On Dec 7, 2016, 16:21, at 16:21, Gianluigi wrote: > >Just for information, if you add "Me.SetFocus" as well: > > ... > > Dec Application.Busy > > Me.SetFocus > > hwebView.SetFocus > > Desktop.SendKeys("{[Control_L][Right]}") > > ... > > > >SendKeys works. > > > >Regards > >Gianluigi > > > >2016-12-07 17:42 GMT+01:00 Jorge Carri?n : > > > >> Anohter try. This time containing only de (spanish) words beginning > >on "A" > >> > >> > >> 2016-12-07 14:53 GMT+01:00 Fabien Bodard : > >> > >> > 2016-12-07 12:22 GMT+01:00 Jorge Carri?n : > >> > > I'm afraid that my Javascript abilities are too limited. > >> > > I Just tried to manage with webview.eval(documment.execcommand > >... ) > >> but > >> > > without success... > >> > > > >> > > Thanks for the answer... > >> > > > >> > > The project has been rejected for mailing list 1,5mb (too big may > >be)? > >> > > >> > Too big for sure :-) > >> > > >> > ------------------------------------------------------------ > >> > ------------------ > >> > Developer Access Program for Intel Xeon Phi Processors > >> > Access to Intel Xeon Phi processor-based developer platforms. > >> > With one year of Intel Parallel Studio XE. > >> > Training and support from Colfax. > >> > Order your platform today.http://sdm.link/xeonphi > >> > _______________________________________________ > >> > Gambas-user mailing list > >> > Gambas-user at lists.sourceforge.net > >> > https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > > >> > >> ------------------------------------------------------------ > >> ------------------ > >> Developer Access Program for Intel Xeon Phi Processors > >> Access to Intel Xeon Phi processor-based developer platforms. > >> With one year of Intel Parallel Studio XE. > >> Training and support from Colfax. > >> Order your platform today.http://sdm.link/xeonphi > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > >> > >----------------------------------------------------------- > ------------------- > >Developer Access Program for Intel Xeon Phi Processors > >Access to Intel Xeon Phi processor-based developer platforms. > >With one year of Intel Parallel Studio XE. > >Training and support from Colfax. > >Order your platform today.http://sdm.link/xeonphi > >_______________________________________________ > >Gambas-user mailing list > >Gambas-user at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------ > ------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today.http://sdm.link/xeonphi > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From bugtracker at ...3416... Wed Dec 7 23:33:54 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 07 Dec 2016 22:33:54 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1045: [gb.form.stock] inconsistent icon (size : 22x22, lock icon) Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1045&from=L21haW4- Zainudin AHMAD reported a new bug. Summary ------- [gb.form.stock] inconsistent icon (size : 22x22, lock icon) Type : Bug Priority : Low Gambas version : 3.9.90 (TRUNK) Product : GUI components Description ----------- Inconsistent icon, the lock icon with 22x22 size is different with other size (attach pic-1). Reproduce the Bug : 1) Run project (attach project) source : https://sourceforge.net/p/gambas/code/HEAD/tree/gambas/trunk/comp/src/gb.form.stock/stock/22/lock.png System information ------------------ [System] Gambas=3.9.90 r8004 OperatingSystem=Linux Kernel=4.4.0-28-generic Architecture=x86 Distribution=Ubuntu 16.04.1 LTS Desktop=LXQT Theme=Gtk Language=en_US.UTF-8 Memory=492M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-1.0.so.0.802.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.19.0.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] BROWSER= DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-8qXRGsJJ9k,guid=f36c09faab67b7515fff26fd583f4beb DEFAULTS_PATH=/usr/share/gconf/lxqt.default.path DESKTOP_SESSION=lxqt DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=lxqt GDM_LANG=en GTK_CSD=0 HOME= LANG=en_US.UTF-8 LANGUAGE=en LC_ADDRESS=id_ID.UTF-8 LC_IDENTIFICATION=id_ID.UTF-8 LC_MEASUREMENT=id_ID.UTF-8 LC_MONETARY=id_ID.UTF-8 LC_NAME=id_ID.UTF-8 LC_NUMERIC=id_ID.UTF-8 LC_PAPER=id_ID.UTF-8 LC_TELEPHONE=id_ID.UTF-8 LC_TIME=id_ID.UTF-8 LOGNAME= LXQT_SESSION_CONFIG=session MANDATORY_PATH=/usr/share/gconf/lxqt.mandatory.path PAM_KWALLET5_LOGIN=/tmp/kwallet5_.socket PAPERSIZE=a4 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_IM_MODULE=compose QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_PLATFORM_PLUGIN=lxqt QT_QPA_PLATFORMTHEME=lxqt SAL_USE_VCLPLUGIN=kde4 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=2313 SSH_AUTH_SOCK=/tmp/ssh-9ueo0Yf1OExy/agent.2258 TERM=qterminal TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CACHE_HOME=/.cache XDG_CONFIG_DIRS=/etc/xdg/xdg-lxqt:/etc/xdg XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXQt XDG_DATA_DIRS=/usr/share/lxqt:/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share/:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop:/.local/share:/usr/share XDG_DATA_HOME=/.local/share XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=lxqt- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=lxqt XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 From bugtracker at ...3416... Wed Dec 7 23:34:19 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 07 Dec 2016 22:34:19 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1045: [gb.form.stock] inconsistent icon (size : 22x22, lock icon) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1045&from=L21haW4- Zainudin AHMAD added an attachment: pic-1.png From bugtracker at ...3416... Wed Dec 7 23:34:30 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Wed, 07 Dec 2016 22:34:30 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1045: [gb.form.stock] inconsistent icon (size : 22x22, lock icon) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1045&from=L21haW4- Zainudin AHMAD added an attachment: Bug-StockIcon-IncosistenceLockIcon-0.0.1.tar.gz From bugtracker at ...3416... Thu Dec 8 06:40:26 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 08 Dec 2016 05:40:26 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1045: [gb.form.stock] inconsistent icon (size : 22x22, lock icon) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1045&from=L21haW4- Fabien BODARD changed the state of the bug to: Accepted. From bugtracker at ...3416... Thu Dec 8 06:40:55 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 08 Dec 2016 05:40:55 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1045: [gb.form.stock] inconsistent icon (size : 22x22, lock icon) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1045&from=L21haW4- Comment #1 by Fabien BODARD: Fixed in revision #8008 Fabien BODARD changed the state of the bug to: Fixed. From moviga at ...3488... Thu Dec 8 10:58:47 2016 From: moviga at ...3488... (Moviga Technologies) Date: Thu, 8 Dec 2016 10:58:47 +0100 Subject: [Gambas-user] Set cursor position on a webview editable. In-Reply-To: References: Message-ID: Google this: javascript move caret or javascript move text cursor There should be a lot of examples that you can modify to suit your case. Use the .Eval() function. From bagonergi at ...626... Thu Dec 8 12:01:12 2016 From: bagonergi at ...626... (Gianluigi) Date: Thu, 8 Dec 2016 12:01:12 +0100 Subject: [Gambas-user] Set cursor position on a webview editable. In-Reply-To: References: Message-ID: Sorry if I'm indiscreet, but a practical example of how you implement it? ? Regards Gianluigi 2016-12-08 10:58 GMT+01:00 Moviga Technologies : > Google this: javascript move caret > > or > > javascript move text cursor > > There should be a lot of examples that you can modify to suit your case. > Use the .Eval() function. > > ------------------------------------------------------------ > ------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today.http://sdm.link/xeonphi > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From shordi at ...626... Thu Dec 8 14:42:10 2016 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Thu, 8 Dec 2016 14:42:10 +0100 Subject: [Gambas-user] Set cursor position on a webview editable. In-Reply-To: References: Message-ID: Hi: Gianluigi, your "me.setfocus / webview.setfocus/desktop.sendey", works! thanks a lot. But this seem a little "tricky". I like to the work with JavaScript because that would the way of spelling "at the fly" as the user types. I've follow the Moviga advices and found some functions that do the work... with editing objects of the html. I attach here a little project that shows wat I mean. It works with a textArea, but doesn't work out of it. ? I hope Moviga or any other member of the list could help with this Issue. Best Regards 2016-12-08 10:58 GMT+01:00 Moviga Technologies : > Google this: javascript move caret > > or > > javascript move text cursor > > There should be a lot of examples that you can modify to suit your case. > Use the .Eval() function. > > ------------------------------------------------------------ > ------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today.http://sdm.link/xeonphi > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > -------------- next part -------------- Hi: Gianluigi, your "me.setfocus / webview.setfocus/desktop.sendey", works! thanks a lot. But this seem a little "tricky". I like to the work with JavaScript because that would the way of spelling "at the fly" as the user types. I've follow the Moviga advices and found some functions that do the work... with editing objects of the html. I attach here a little project that shows wat I mean. It works with a textArea, but doesn't work out of it. [cid:ii_iwgeuosq0_158dea968a358180] ? I hope Moviga or any other member of the list could help with this Issue. Best Regards 2016-12-08 10:58 GMT+01:00 Moviga Technologies <[1]moviga at ...3488...>: Google this: javascript move caret or javascript move text cursor There should be a lot of examples that you can modify to suit your case. Use the .Eval() function. ------------------------------------------------------------ ------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today.[2]http://sdm.link/xeonphi _______________________________________________ Gambas-user mailing list [3]Gambas-user at lists.sourceforge.net [4]https://lists.sourceforge.net/lists/listinfo/gambas-user References 1. mailto:moviga at ...3488... 2. http://sdm.link/xeonphi 3. mailto:Gambas-user at lists.sourceforge.net 4. https://lists.sourceforge.net/lists/listinfo/gambas-user -------------- next part -------------- A non-text attachment was scrubbed... Name: movingcursor.png Type: image/png Size: 13813 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: webviewTest-0.0.1.tar.gz Type: application/x-gzip Size: 12155 bytes Desc: not available URL: From shordi at ...626... Thu Dec 8 19:31:42 2016 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Thu, 8 Dec 2016 19:31:42 +0100 Subject: [Gambas-user] Set cursor position on a webview editable. In-Reply-To: References: Message-ID: Well I think I've find a solution (a tricky solution) that works: Add a "strange string" at the end of html, search it and replace with nothing. Teh code is something like this: WebView1.SetFocus() WebView1.html &= "??" 'two "middle points" is something I have no seen in my life. WebView1.Eval("document.execCommand('findString',false,'??')") 'search and select it... WebView1.Eval("document.execCommand('insertText',false,'')") 'and delete it. The cursor remains at the end of text. This opens the possibility for me to do the spelling "on the fly" and more things... If you know a better way I'll very happy to know it. Best Regards. 2016-12-08 14:42 GMT+01:00 Jorge Carri?n : > Hi: > Gianluigi, your "me.setfocus / webview.setfocus/desktop.sendey", works! > thanks a lot. > > But this seem a little "tricky". I like to the work with JavaScript > because that would the way of spelling "at the fly" as the user types. > I've follow the Moviga advices and found some functions that do the > work... with editing objects of the html. > > I attach here a little project that shows wat I mean. It works with a > textArea, but doesn't work out of it. > > > ? > I hope Moviga or any other member of the list could help with this Issue. > > Best Regards > > > 2016-12-08 10:58 GMT+01:00 Moviga Technologies : > >> Google this: javascript move caret >> >> or >> >> javascript move text cursor >> >> There should be a lot of examples that you can modify to suit your case. >> Use the .Eval() function. >> >> ------------------------------------------------------------ >> ------------------ >> Developer Access Program for Intel Xeon Phi Processors >> Access to Intel Xeon Phi processor-based developer platforms. >> With one year of Intel Parallel Studio XE. >> Training and support from Colfax. >> Order your platform today.http://sdm.link/xeonphi >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > -------------- next part -------------- A non-text attachment was scrubbed... Name: movingcursor.png Type: image/png Size: 13813 bytes Desc: not available URL: From bugtracker at ...3416... Fri Dec 9 00:37:28 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 08 Dec 2016 23:37:28 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1046: "Dialog Form" position below "Main Form" Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1046&from=L21haW4- Zainudin AHMAD reported a new bug. Summary ------- "Dialog Form" position below "Main Form" Type : Bug Priority : Low Gambas version : 3.9.90 (TRUNK) Product : QT5 component Description ----------- "Dialog Form" position below "Main Form" (attach pic-1 & pic-2) ' This happen only with QT4 & QT5 and if MainForm.Stacking = Window.Above, it's fine with GTK2 and GTK3 ' Reproduce The Bug : 1) Run Project. (attach project) 2) Click Button "Show dialog" or "Show File Chooser" This happen with Gambas 3.8.4 & 3.9.x System information ------------------ [System] Gambas=3.9.90 r8004 OperatingSystem=Linux Kernel=4.4.0-28-generic Architecture=x86 Distribution=Ubuntu 16.04.1 LTS Desktop=LXQT Theme=Gtk Language=en_US.UTF-8 Memory=492M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-1.0.so.0.802.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.19.0.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] BROWSER= DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-8qXRGsJJ9k,guid=f36c09faab67b7515fff26fd583f4beb DEFAULTS_PATH=/usr/share/gconf/lxqt.default.path DESKTOP_SESSION=lxqt DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=lxqt GDM_LANG=en GTK_CSD=0 HOME= LANG=en_US.UTF-8 LANGUAGE=en LC_ADDRESS=id_ID.UTF-8 LC_IDENTIFICATION=id_ID.UTF-8 LC_MEASUREMENT=id_ID.UTF-8 LC_MONETARY=id_ID.UTF-8 LC_NAME=id_ID.UTF-8 LC_NUMERIC=id_ID.UTF-8 LC_PAPER=id_ID.UTF-8 LC_TELEPHONE=id_ID.UTF-8 LC_TIME=id_ID.UTF-8 LOGNAME= LXQT_SESSION_CONFIG=session MANDATORY_PATH=/usr/share/gconf/lxqt.mandatory.path PAM_KWALLET5_LOGIN=/tmp/kwallet5_.socket PAPERSIZE=a4 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_IM_MODULE=compose QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_PLATFORM_PLUGIN=lxqt QT_QPA_PLATFORMTHEME=lxqt SAL_USE_VCLPLUGIN=kde4 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=2313 SSH_AUTH_SOCK=/tmp/ssh-9ueo0Yf1OExy/agent.2258 TERM=qterminal TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CACHE_HOME=/.cache XDG_CONFIG_DIRS=/etc/xdg/xdg-lxqt:/etc/xdg XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXQt XDG_DATA_DIRS=/usr/share/lxqt:/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share/:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop:/.local/share:/usr/share XDG_DATA_HOME=/.local/share XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=lxqt- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=lxqt XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 From bugtracker at ...3416... Fri Dec 9 00:37:55 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 08 Dec 2016 23:37:55 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1046: "Dialog Form" position below "Main Form" In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1046&from=L21haW4- Zainudin AHMAD added an attachment: pic-1.png From bugtracker at ...3416... Fri Dec 9 00:38:05 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 08 Dec 2016 23:38:05 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1046: "Dialog Form" position below "Main Form" In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1046&from=L21haW4- Zainudin AHMAD added an attachment: pic-2.png From bugtracker at ...3416... Fri Dec 9 00:38:17 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 08 Dec 2016 23:38:17 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1046: "Dialog Form" position below "Main Form" In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1046&from=L21haW4- Zainudin AHMAD added an attachment: Bug-showDialog-0.0.1.tar.gz From bugtracker at ...3416... Fri Dec 9 08:35:37 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 09 Dec 2016 07:35:37 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1047: please add new gambas3 sections for Rust and JavaScript Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1047&from=L21haW4- Gianfranco COSTAMAGNA reported a new bug. Summary ------- please add new gambas3 sections for Rust and JavaScript Type : Request Priority : Medium Gambas version : 3.9 Product : Bugtracker Description ----------- Patch here (from Josh Triplett) >From ea4a83f2fe7e91c85f2bde3dd4d7718e38f8fe87 Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Thu, 8 Dec 2016 20:11:51 -0800 Subject: [PATCH] Add sections for Rust and JavaScript --- app/src/gambas3/install/group/debian | 2 ++ app/src/gambas3/install/group/ubuntu | 2 ++ 2 files changed, 4 insertions(+) diff --git a/app/src/gambas3/install/group/debian b/app/src/gambas3/install/group/debian index 80f35715..f2a9cc98 100644 --- a/app/src/gambas3/install/group/debian +++ b/app/src/gambas3/install/group/debian @@ -19,6 +19,7 @@ haskell httpd interpreters java +javascript kde kernel libs @@ -37,6 +38,7 @@ perl php python ruby +rust science shells sound diff --git a/app/src/gambas3/install/group/ubuntu b/app/src/gambas3/install/group/ubuntu index 80f35715..f2a9cc98 100644 --- a/app/src/gambas3/install/group/ubuntu +++ b/app/src/gambas3/install/group/ubuntu @@ -19,6 +19,7 @@ haskell httpd interpreters java +javascript kde kernel libs @@ -37,6 +38,7 @@ perl php python ruby +rust science shells sound -- 2.11.0 From moviga at ...3488... Fri Dec 9 17:11:43 2016 From: moviga at ...3488... (Moviga Technologies) Date: Fri, 9 Dec 2016 17:11:43 +0100 Subject: [Gambas-user] QtWebKit is coming back Message-ID: This could be good news?! http://lists.qt-project.org/pipermail/development/2016-June/026156.html From moviga at ...3488... Fri Dec 9 17:16:38 2016 From: moviga at ...3488... (Moviga Technologies) Date: Fri, 9 Dec 2016 17:16:38 +0100 Subject: [Gambas-user] QtWebKit is coming back In-Reply-To: References: Message-ID: <7cfef644-8f61-2e15-48a3-799b50db1bf1@...3488...> Here's the project at github: https://github.com/annulen/webkit/wiki Den 09. des. 2016 17:11, skrev Moviga Technologies: > This could be good news?! > > http://lists.qt-project.org/pipermail/development/2016-June/026156.html > > > ------------------------------------------------------------------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today.http://sdm.link/xeonphi > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From mckaygerhard at ...626... Fri Dec 9 20:45:32 2016 From: mckaygerhard at ...626... (PICCORO McKAY Lenz) Date: Fri, 9 Dec 2016 15:45:32 -0400 Subject: [Gambas-user] decode json string in standard application Message-ID: i made a pos systemas in gambas but i want get info of clients by an api decoding string results by url gets.. the url retuns a json string, and i can see that gambas hav methods for json decoding http://gambaswiki.org/wiki/comp/gb.web/json/decode the question are: i can use that also in a standard project application? or only works with a web type application? i want to decode the json string to get info of the clients in the pos system, so then my database does not need store client data, only client id Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From bugtracker at ...3416... Sat Dec 10 00:50:29 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 09 Dec 2016 23:50:29 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1048: Using wait on Form_Close () event, I get Interpreter crash Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1048&from=L21haW4- Zainudin AHMAD reported a new bug. Summary ------- Using wait on Form_Close () event, I get Interpreter crash Type : Bug Priority : Medium Gambas version : 3.9.90 (TRUNK) Product : GTK+3 component Description ----------- Using wait on Form_Close () event, I get Interpreter crash . This happen only with GTK3, it's fine with gambas 3.8.4 . Reproduce The Bug : 1) Run project. (attach project) 2) Click Button, wait until form closed. I get segmentation fault message System information ------------------ [System] Gambas=3.9.90 r8004 OperatingSystem=Linux Kernel=4.4.0-28-generic Architecture=x86 Distribution=Ubuntu 16.04.1 LTS Desktop=LXQT Theme=Gtk Language=en_US.UTF-8 Memory=492M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-1.0.so.0.802.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.19.0.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] BROWSER= DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-8qXRGsJJ9k,guid=f36c09faab67b7515fff26fd583f4beb DEFAULTS_PATH=/usr/share/gconf/lxqt.default.path DESKTOP_SESSION=lxqt DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=lxqt GDM_LANG=en GTK_CSD=0 HOME= LANG=en_US.UTF-8 LANGUAGE=en LC_ADDRESS=id_ID.UTF-8 LC_IDENTIFICATION=id_ID.UTF-8 LC_MEASUREMENT=id_ID.UTF-8 LC_MONETARY=id_ID.UTF-8 LC_NAME=id_ID.UTF-8 LC_NUMERIC=id_ID.UTF-8 LC_PAPER=id_ID.UTF-8 LC_TELEPHONE=id_ID.UTF-8 LC_TIME=id_ID.UTF-8 LOGNAME= LXQT_SESSION_CONFIG=session MANDATORY_PATH=/usr/share/gconf/lxqt.mandatory.path PAM_KWALLET5_LOGIN=/tmp/kwallet5_.socket PAPERSIZE=a4 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_IM_MODULE=compose QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_PLATFORM_PLUGIN=lxqt QT_QPA_PLATFORMTHEME=lxqt SAL_USE_VCLPLUGIN=kde4 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=2313 SSH_AUTH_SOCK=/tmp/ssh-9ueo0Yf1OExy/agent.2258 TERM=qterminal TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CACHE_HOME=/.cache XDG_CONFIG_DIRS=/etc/xdg/xdg-lxqt:/etc/xdg XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXQt XDG_DATA_DIRS=/usr/share/lxqt:/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share/:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop:/.local/share:/usr/share XDG_DATA_HOME=/.local/share XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=lxqt- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=lxqt XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 From bugtracker at ...3416... Sat Dec 10 00:50:50 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 09 Dec 2016 23:50:50 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1048: Using wait on Form_Close () event, I get Interpreter crash In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1048&from=L21haW4- Zainudin AHMAD added an attachment: Bug-segf-Close-0.0.1.tar.gz From bugtracker at ...3416... Sat Dec 10 02:02:32 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 10 Dec 2016 01:02:32 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #863: [gb.report2] $NPAGE always result 2 in a first time when report preview appeared In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.863&from=L21haW4- Comment #2 by Zainudin AHMAD: it's seems fine now :) (still display 2 but after counting(may be create) all pages report preview doing auto refresh) From bugtracker at ...3416... Sat Dec 10 02:02:51 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 10 Dec 2016 01:02:51 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #863: [gb.report2] $NPAGE always result 2 in a first time when report preview appeared In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.863&from=L21haW4- Zainudin AHMAD changed the state of the bug to: Fixed. From gambas.fr at ...626... Sat Dec 10 07:51:20 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 10 Dec 2016 07:51:20 +0100 Subject: [Gambas-user] decode json string in standard application In-Reply-To: References: Message-ID: You can use the gb.util.web component everywhere you want :-).... 2016-12-09 20:45 GMT+01:00 PICCORO McKAY Lenz : > i made a pos systemas in gambas but i want get info of clients by an api > decoding string results by url gets.. > > the url retuns a json string, and i can see that gambas hav methods for > json decoding > > http://gambaswiki.org/wiki/comp/gb.web/json/decode > > the question are: i can use that also in a standard project application? or > only works with a web type application? > > i want to decode the json string to get info of the clients in the pos > system, so then my database does not need store client data, only client id > > > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > ------------------------------------------------------------------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today.http://sdm.link/xeonphi > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From jusabejusabe at ...626... Sat Dec 10 12:47:59 2016 From: jusabejusabe at ...626... (Julio Sanchez) Date: Sat, 10 Dec 2016 12:47:59 +0100 Subject: [Gambas-user] decode json string in standard application In-Reply-To: References: Message-ID: Piccoro Mackay Lenz: "or only works with a web type application?" Desktop application example: http://jsbsan.blogspot.com.es/2015/04/gambas3-ejemplo-de-json-y-extraer-datos.html "You can use the gb.util.web component everywhere you want " You can even extract the component code, the json class, and use it in projects, so you do not have to have gb.util.web installed. I use it for earlier versions of Gambas, where that component did not exist, but I do need to use the json class. Regards Jsbsan 2016-12-10 7:51 GMT+01:00 Fabien Bodard : > You can use the gb.util.web component everywhere you want :-).... > > 2016-12-09 20:45 GMT+01:00 PICCORO McKAY Lenz : > > i made a pos systemas in gambas but i want get info of clients by an api > > decoding string results by url gets.. > > > > the url retuns a json string, and i can see that gambas hav methods for > > json decoding > > > > http://gambaswiki.org/wiki/comp/gb.web/json/decode > > > > the question are: i can use that also in a standard project application? > or > > only works with a web type application? > > > > i want to decode the json string to get info of the clients in the pos > > system, so then my database does not need store client data, only client > id > > > > > > Lenz McKAY Gerardo (PICCORO) > > http://qgqlochekone.blogspot.com > > ------------------------------------------------------------ > ------------------ > > Developer Access Program for Intel Xeon Phi Processors > > Access to Intel Xeon Phi processor-based developer platforms. > > With one year of Intel Parallel Studio XE. > > Training and support from Colfax. > > Order your platform today.http://sdm.link/xeonphi > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard > > ------------------------------------------------------------ > ------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today.http://sdm.link/xeonphi > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Sat Dec 10 18:19:56 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 10 Dec 2016 18:19:56 +0100 Subject: [Gambas-user] An editor side bar like the kate one Message-ID: This is a try to give to the gambas editor a preview side bar like the one i like on kate. It display Bookmarks and modified lines too and separators. Feel free to give me your opinions -- Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: gb.form.editor-3.9.90.tar.gz Type: application/x-gzip Size: 49958 bytes Desc: not available URL: From bagonergi at ...626... Sat Dec 10 19:42:45 2016 From: bagonergi at ...626... (Gianluigi) Date: Sat, 10 Dec 2016 19:42:45 +0100 Subject: [Gambas-user] An editor side bar like the kate one In-Reply-To: References: Message-ID: Hello Fabien, I doing something wrong? I get an error, in my computer this path does not exist. See attached image Regards Gianluigi 2016-12-10 18:19 GMT+01:00 Fabien Bodard : > This is a try to give to the gambas editor a preview side bar like the > one i like on kate. > > It display Bookmarks and modified lines too and separators. > > > Feel free to give me your opinions > > > > -- > Fabien Bodard > > ------------------------------------------------------------ > ------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today.http://sdm.link/xeonphi > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -------------- next part -------------- A non-text attachment was scrubbed... Name: Path.png Type: image/png Size: 26970 bytes Desc: not available URL: From bugtracker at ...3416... Sat Dec 10 19:43:55 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 10 Dec 2016 18:43:55 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1049: reader.Node.Attributes.Value --> Segmentation Fault(11) Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1049&from=L21haW4- Francisco GARC?A-LUENGO MANCHADO reported a new bug. Summary ------- reader.Node.Attributes.Value --> Segmentation Fault(11) Type : Bug Priority : Medium Gambas version : 3.9 Product : Unknown Description ----------- Public Sub LeerArchivo() Dim i As Integer Dim reader As XmlReader reader = New XmlReader ' trvProyecto any valid treeview ' DocumentoPrueba.xml any valid xml file Try reader.Open("DocumentoPrueba.xml") If Error Then Message.Error("No se pudo abrir el archivo") Return Endif i = 0 Do While True Try reader.Read() If reader.Eof Then Break Try FMain.trvProyecto.Add(i, i & ": " & reader.Node.Depth & "-" & reader.Node.Type & "-" & reader.Node.Name & "-" & reader.Node.Value, PicLibreria) i = i + 1 For Each reader.Node.Attributes Try Print "-" & reader.Node.Attributes.Name '& "-" & reader.Node.Attributes.Value '' <---- Error Next 'Print reader.Node.Type & "-" & reader.Node.Name & "-" & reader.Node.Value Loop reader.Close() End System information ------------------ [System] Gambas=3.9.1 OperatingSystem=Linux Kernel=4.4.0-53-generic Architecture=x86_64 Distribution=Linux Mint 18 Sarah Desktop=CINNAMON Theme=Gtk Language=es_ES.UTF-8 Memory=3950M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.802.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CINNAMON_VERSION=3.0.7 DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-PtFS8POBrs,guid=1408fb7c6c68c77fe25e2d68584c2735 DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path DESKTOP_SESSION=cinnamon DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=cinnamon GDM_XSERVER_LOCATION=local GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=4636 GJS_DEBUG_OUTPUT=stderr GJS_DEBUG_TOPICS=JS ERROR;JS LOG GNOME_DESKTOP_SESSION_ID=this-is-deprecated GPG_AGENT_INFO=/.gnupg/S.gpg-agent:0:1 GTK_MODULES=gail:atk-bridge GTK_OVERLAY_SCROLLING=1 HOME= LANG=es_ES.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path MDMSESSION=cinnamon MDM_LANG=es_ES.UTF-8 MDM_XSERVER_LOCATION=local PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT_ACCESSIBILITY=1 QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_STYLE_OVERRIDE=gtk SESSION_MANAGER=local/:@/tmp/.ICE-unix/1210,unix/:/tmp/.ICE-unix/1210 SHELL=/bin/bash SSH_AGENT_PID=1559 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=8 XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg XDG_CURRENT_DESKTOP=X-Cinnamon XDG_DATA_DIRS=/usr/share/cinnamon:/usr/share/gnome:/usr/local/share/:/usr/share/:/usr/share/mdm/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_COOKIE=2a5d5f96ef9147c0b35535562b32d0ff-1481385777.767581-1058287532 XDG_SESSION_DESKTOP=cinnamon XDG_SESSION_ID=c1 XDG_VTNR=8 From moviga at ...3488... Sat Dec 10 20:22:02 2016 From: moviga at ...3488... (Moviga Technologies) Date: Sat, 10 Dec 2016 20:22:02 +0100 Subject: [Gambas-user] An editor side bar like the kate one In-Reply-To: References: Message-ID: <5295ee92-4a2f-64c9-d4cb-d344b16b6e46@...3488...> Edit FTestEditor -> Reload(), change the path to some class file on your drive. It looks pretty cool Fabien! Good job! Den 10. des. 2016 19:42, skrev Gianluigi: > Hello Fabien, > I doing something wrong? I get an error, in my computer this path does not > exist. > See attached image > > Regards > Gianluigi > > 2016-12-10 18:19 GMT+01:00 Fabien Bodard : > >> This is a try to give to the gambas editor a preview side bar like the >> one i like on kate. >> >> It display Bookmarks and modified lines too and separators. >> >> >> Feel free to give me your opinions >> >> >> >> -- >> Fabien Bodard >> >> ------------------------------------------------------------ >> ------------------ >> Developer Access Program for Intel Xeon Phi Processors >> Access to Intel Xeon Phi processor-based developer platforms. >> With one year of Intel Parallel Studio XE. >> Training and support from Colfax. >> Order your platform today.http://sdm.link/xeonphi >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> >> >> >> ------------------------------------------------------------------------------ >> Developer Access Program for Intel Xeon Phi Processors >> Access to Intel Xeon Phi processor-based developer platforms. >> With one year of Intel Parallel Studio XE. >> Training and support from Colfax. >> Order your platform today.http://sdm.link/xeonphi >> >> >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user From bagonergi at ...626... Sat Dec 10 22:06:06 2016 From: bagonergi at ...626... (Gianluigi) Date: Sat, 10 Dec 2016 22:06:06 +0100 Subject: [Gambas-user] An editor side bar like the kate one In-Reply-To: <5295ee92-4a2f-64c9-d4cb-d344b16b6e46@...3488...> References: <5295ee92-4a2f-64c9-d4cb-d344b16b6e46@...3488...> Message-ID: OK thanks ? Regards Gianluigi 2016-12-10 20:22 GMT+01:00 Moviga Technologies : > Edit FTestEditor -> Reload(), change the path to some class file on your > drive. > > > It looks pretty cool Fabien! Good job! > > > Den 10. des. 2016 19:42, skrev Gianluigi: > > Hello Fabien, > > I doing something wrong? I get an error, in my computer this path does > not > > exist. > > See attached image > > > > Regards > > Gianluigi > > > > 2016-12-10 18:19 GMT+01:00 Fabien Bodard : > > > >> This is a try to give to the gambas editor a preview side bar like the > >> one i like on kate. > >> > >> It display Bookmarks and modified lines too and separators. > >> > >> > >> Feel free to give me your opinions > >> > >> > >> > >> -- > >> Fabien Bodard > >> > >> ------------------------------------------------------------ > >> ------------------ > >> Developer Access Program for Intel Xeon Phi Processors > >> Access to Intel Xeon Phi processor-based developer platforms. > >> With one year of Intel Parallel Studio XE. > >> Training and support from Colfax. > >> Order your platform today.http://sdm.link/xeonphi > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > >> > >> > >> > >> > >> ------------------------------------------------------------ > ------------------ > >> Developer Access Program for Intel Xeon Phi Processors > >> Access to Intel Xeon Phi processor-based developer platforms. > >> With one year of Intel Parallel Studio XE. > >> Training and support from Colfax. > >> Order your platform today.http://sdm.link/xeonphi > >> > >> > >> _______________________________________________ > >> Gambas-user mailing list > >> Gambas-user at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > ------------------------------------------------------------ > ------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today.http://sdm.link/xeonphi > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From shordi at ...626... Sun Dec 11 12:18:53 2016 From: shordi at ...626... (=?UTF-8?Q?Jorge_Carri=C3=B3n?=) Date: Sun, 11 Dec 2016 12:18:53 +0100 Subject: [Gambas-user] An editor side bar like the kate one In-Reply-To: References: Message-ID: It looks fine. it gives me several errors as moving mouse thru the preview of column. The most frequent is "Null Object" in 2705 line of TextEditor.class. Best regards. 2016-12-10 18:19 GMT+01:00 Fabien Bodard : > This is a try to give to the gambas editor a preview side bar like the > one i like on kate. > > It display Bookmarks and modified lines too and separators. > > > Feel free to give me your opinions > > > > -- > Fabien Bodard > > ------------------------------------------------------------ > ------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today.http://sdm.link/xeonphi > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From gambas.fr at ...626... Sun Dec 11 21:41:41 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Sun, 11 Dec 2016 21:41:41 +0100 Subject: [Gambas-user] An editor side bar like the kate one In-Reply-To: References: Message-ID: Ok this is quite finished. This is my IDE with the new editor side bar and some code. I wait before release becaude it's Benoit's editor ... don't want to make him ungry :-P 2016-12-11 12:18 GMT+01:00 Jorge Carri?n : > It looks fine. it gives me several errors as moving mouse thru the preview > of column. > > The most frequent is "Null Object" in 2705 line of TextEditor.class. > > Best regards. > > 2016-12-10 18:19 GMT+01:00 Fabien Bodard : > >> This is a try to give to the gambas editor a preview side bar like the >> one i like on kate. >> >> It display Bookmarks and modified lines too and separators. >> >> >> Feel free to give me your opinions >> >> >> >> -- >> Fabien Bodard >> >> ------------------------------------------------------------ >> ------------------ >> Developer Access Program for Intel Xeon Phi Processors >> Access to Intel Xeon Phi processor-based developer platforms. >> With one year of Intel Parallel Studio XE. >> Training and support from Colfax. >> Order your platform today.http://sdm.link/xeonphi >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> >> > ------------------------------------------------------------------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today.http://sdm.link/xeonphi > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: gb.form.editor-3.9.90.tar.gz Type: application/x-gzip Size: 42090 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot_20161211_213840.png Type: image/png Size: 212537 bytes Desc: not available URL: From bugtracker at ...3416... Sun Dec 11 23:45:37 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 11 Dec 2016 22:45:37 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1050: Doing : Me.Show() on Static Public Sub _init(), I get Interpreter crash Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1050&from=L21haW4- Zainudin AHMAD reported a new bug. Summary ------- Doing : Me.Show() on Static Public Sub _init(), I get Interpreter crash Type : Bug Priority : Medium Gambas version : 3.9.90 (TRUNK) Product : GTK+3 component Description ----------- Doing: Me.Show () on Static Public Sub _init (), I get Interpreter crash . This happen only with GTK2 & GTK3, and if using Export keyword . It's fine with QT4 & QT5 . With Qt4 & QT5 and with or without using Export keyword I get "GUI is not initialized" message. . Reproduce the bug: 1) Run the project. (Attach project) . . ---------------{ Code }----------------- Export Static Public Sub _init() Me.Show End System information ------------------ [System] Gambas=3.9.90 r8004 OperatingSystem=Linux Kernel=4.4.0-28-generic Architecture=x86 Distribution=Ubuntu 16.04.1 LTS Desktop=LXQT Theme=Gtk Language=en_US.UTF-8 Memory=492M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-1.0.so.0.802.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.19.0.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] BROWSER= DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-8qXRGsJJ9k,guid=f36c09faab67b7515fff26fd583f4beb DEFAULTS_PATH=/usr/share/gconf/lxqt.default.path DESKTOP_SESSION=lxqt DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=lxqt GDM_LANG=en GTK_CSD=0 HOME= LANG=en_US.UTF-8 LANGUAGE=en LC_ADDRESS=id_ID.UTF-8 LC_IDENTIFICATION=id_ID.UTF-8 LC_MEASUREMENT=id_ID.UTF-8 LC_MONETARY=id_ID.UTF-8 LC_NAME=id_ID.UTF-8 LC_NUMERIC=id_ID.UTF-8 LC_PAPER=id_ID.UTF-8 LC_TELEPHONE=id_ID.UTF-8 LC_TIME=id_ID.UTF-8 LOGNAME= LXQT_SESSION_CONFIG=session MANDATORY_PATH=/usr/share/gconf/lxqt.mandatory.path PAM_KWALLET5_LOGIN=/tmp/kwallet5_.socket PAPERSIZE=a4 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_IM_MODULE=compose QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_PLATFORM_PLUGIN=lxqt QT_QPA_PLATFORMTHEME=lxqt SAL_USE_VCLPLUGIN=kde4 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=2313 SSH_AUTH_SOCK=/tmp/ssh-9ueo0Yf1OExy/agent.2258 TERM=qterminal TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CACHE_HOME=/.cache XDG_CONFIG_DIRS=/etc/xdg/xdg-lxqt:/etc/xdg XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXQt XDG_DATA_DIRS=/usr/share/lxqt:/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share/:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop:/.local/share:/usr/share XDG_DATA_HOME=/.local/share XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=lxqt- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=lxqt XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 From bugtracker at ...3416... Sun Dec 11 23:46:00 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 11 Dec 2016 22:46:00 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1050: Doing : Me.Show() on Static Public Sub _init(), I get Interpreter crash In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1050&from=L21haW4- Zainudin AHMAD added an attachment: Bug-segf-GuiInitialize-0.0.4.tar.gz From bugtracker at ...3416... Mon Dec 12 00:23:40 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 11 Dec 2016 23:23:40 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1051: When I want to watch hFont object, I get interpreter crash Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1051&from=L21haW4- Zainudin AHMAD reported a new bug. Summary ------- When I want to watch hFont object, I get interpreter crash Type : Bug Priority : Medium Gambas version : 3.9.90 (TRUNK) Product : GTK+3 component Description ----------- When I want to watch hFont object, I get interpreter crash . This happen only with GTK2 & GTK3 it's fine with QT4 & QT5 . Reproduce the Bug : 1) Add Breakpoint at Debug line 2) Run Project. (attach project) 3) Watch hFont object. (attach pic-1). Interpreter crashes when watch dialog showing System information ------------------ [System] Gambas=3.9.90 r8004 OperatingSystem=Linux Kernel=4.4.0-28-generic Architecture=x86 Distribution=Ubuntu 16.04.1 LTS Desktop=LXQT Theme=Gtk Language=en_US.UTF-8 Memory=492M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-1.0.so.0.802.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.19.0.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] BROWSER= DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-8qXRGsJJ9k,guid=f36c09faab67b7515fff26fd583f4beb DEFAULTS_PATH=/usr/share/gconf/lxqt.default.path DESKTOP_SESSION=lxqt DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=lxqt GDM_LANG=en GTK_CSD=0 HOME= LANG=en_US.UTF-8 LANGUAGE=en LC_ADDRESS=id_ID.UTF-8 LC_IDENTIFICATION=id_ID.UTF-8 LC_MEASUREMENT=id_ID.UTF-8 LC_MONETARY=id_ID.UTF-8 LC_NAME=id_ID.UTF-8 LC_NUMERIC=id_ID.UTF-8 LC_PAPER=id_ID.UTF-8 LC_TELEPHONE=id_ID.UTF-8 LC_TIME=id_ID.UTF-8 LOGNAME= LXQT_SESSION_CONFIG=session MANDATORY_PATH=/usr/share/gconf/lxqt.mandatory.path PAM_KWALLET5_LOGIN=/tmp/kwallet5_.socket PAPERSIZE=a4 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_IM_MODULE=compose QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_PLATFORM_PLUGIN=lxqt QT_QPA_PLATFORMTHEME=lxqt SAL_USE_VCLPLUGIN=kde4 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=2313 SSH_AUTH_SOCK=/tmp/ssh-9ueo0Yf1OExy/agent.2258 TERM=qterminal TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CACHE_HOME=/.cache XDG_CONFIG_DIRS=/etc/xdg/xdg-lxqt:/etc/xdg XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXQt XDG_DATA_DIRS=/usr/share/lxqt:/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share/:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop:/.local/share:/usr/share XDG_DATA_HOME=/.local/share XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=lxqt- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=lxqt XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 From bugtracker at ...3416... Mon Dec 12 00:24:01 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 11 Dec 2016 23:24:01 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1051: When I want to watch hFont object, I get interpreter crash In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1051&from=L21haW4- Zainudin AHMAD added an attachment: Bug-segf-Font-0.0.1.tar.gz From bugtracker at ...3416... Mon Dec 12 00:24:16 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sun, 11 Dec 2016 23:24:16 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1051: When I want to watch hFont object, I get interpreter crash In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1051&from=L21haW4- Zainudin AHMAD added an attachment: pic-1.png From bugtracker at ...3416... Mon Dec 12 09:39:40 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 12 Dec 2016 08:39:40 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1050: Doing : Me.Show() on Static Public Sub _init(), I get Interpreter crash In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1050&from=L21haW4- Comment #1 by Fabien BODARD: In fact it seem logical as _init is called even if nothing is initialised. Fabien BODARD changed the state of the bug to: Accepted. From gambas.fr at ...626... Mon Dec 12 15:00:54 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 12 Dec 2016 15:00:54 +0100 Subject: [Gambas-user] New Editor Side Bar Message-ID: I added a new property to the Gambas code editor. I hope that I have sufficiently debugged it to avoid any inconvenience. This bar is drawn from the vertical kate scroll bar. It displays a preview of the entire code of the file. Of course as I coded in Gambas it is not really a preview but rather a simplified rendering taking into account the indentation and the length of the lines. A text rendering would have cost far too many resources. Some line property remains however highlighted as the lines in comment and in the margin the information if the row is changed. The marked lines are represented by a yellow line. When moving the cursor, the first and last lines of the displayed area are indicated by a tooltip. When browsing the bar, a mini editor shows the code present at the position indicated by the mouse on the bar. I added two features. Ctrl + Click moves the editor directly to the line below the mouse pointer. Ctrl + Alt + Click Sets the "magnifying" editor to where it is. This makes it possible to have the code portion under the eyes. Just click on the "magnifying" editor to hide it. Give me your impressions, and especially remount me any problem as quickly as possible. Regards, -- Fabien Bodard From gambas.fr at ...626... Mon Dec 12 15:23:35 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Mon, 12 Dec 2016 15:23:35 +0100 Subject: [Gambas-user] New Editor Side Bar In-Reply-To: References: Message-ID: And this is a screenshot 2016-12-12 15:00 GMT+01:00 Fabien Bodard : > I added a new property to the Gambas code editor. I hope that I have > sufficiently debugged it to avoid any inconvenience. This bar is drawn > from the vertical kate scroll bar. It displays a preview of the entire > code of the file. Of course as I coded in Gambas it is not really a > preview but rather a simplified rendering taking into account the > indentation and the length of the lines. A text rendering would have > cost far too many resources. Some line property remains however > highlighted as the lines in comment and in the margin the information > if the row is changed. The marked lines are represented by a yellow > line. > > > When moving the cursor, the first and last lines of the displayed area > are indicated by a tooltip. When browsing the bar, a mini editor shows > the code present at the position indicated by the mouse on the bar. I > added two features. Ctrl + Click moves the editor directly to the line > below the mouse pointer. Ctrl + Alt + Click Sets the "magnifying" > editor to where it is. This makes it possible to have the code portion > under the eyes. Just click on the "magnifying" editor to hide it. > > Give me your impressions, and especially remount me any problem as > quickly as possible. > > Regards, > > -- > Fabien Bodard -- Fabien Bodard -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot_20161212_152245.png Type: image/png Size: 319352 bytes Desc: not available URL: From jussi.lahtinen at ...626... Mon Dec 12 15:28:59 2016 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Mon, 12 Dec 2016 16:28:59 +0200 Subject: [Gambas-user] New Editor Side Bar In-Reply-To: References: Message-ID: Looks good! Thanks! Jussi On Mon, Dec 12, 2016 at 4:23 PM, Fabien Bodard wrote: > And this is a screenshot > > 2016-12-12 15:00 GMT+01:00 Fabien Bodard : > > I added a new property to the Gambas code editor. I hope that I have > > sufficiently debugged it to avoid any inconvenience. This bar is drawn > > from the vertical kate scroll bar. It displays a preview of the entire > > code of the file. Of course as I coded in Gambas it is not really a > > preview but rather a simplified rendering taking into account the > > indentation and the length of the lines. A text rendering would have > > cost far too many resources. Some line property remains however > > highlighted as the lines in comment and in the margin the information > > if the row is changed. The marked lines are represented by a yellow > > line. > > > > > > When moving the cursor, the first and last lines of the displayed area > > are indicated by a tooltip. When browsing the bar, a mini editor shows > > the code present at the position indicated by the mouse on the bar. I > > added two features. Ctrl + Click moves the editor directly to the line > > below the mouse pointer. Ctrl + Alt + Click Sets the "magnifying" > > editor to where it is. This makes it possible to have the code portion > > under the eyes. Just click on the "magnifying" editor to hide it. > > > > Give me your impressions, and especially remount me any problem as > > quickly as possible. > > > > Regards, > > > > -- > > Fabien Bodard > > > > -- > Fabien Bodard > > ------------------------------------------------------------ > ------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today.http://sdm.link/xeonphi > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > From bugtracker at ...3416... Tue Dec 13 00:26:49 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 12 Dec 2016 23:26:49 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1052: IDE Crash when click "Open Terminal" Menu Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1052&from=L21haW4- Zainudin AHMAD reported a new bug. Summary ------- IDE Crash when click "Open Terminal" Menu Type : Bug Priority : Medium Gambas version : 3.9.90 (TRUNK) Product : Development Environment Description ----------- IDE Crash when click "Open Terminal" Menu Reproduce The Bug: 1) Remove/uninstall xterm if xterm has installed 2) Open/run gambas IDE from Terminal, command: XDG_CURRENT_DESKTOP=UnknowDE gambas3 3) Select menu: Tools >> Open Terminal (attah pic-1) I get "No terminal program found. Desktop.OpenTerminal.280" message box. (attach pic-2) System information ------------------ [System] Gambas=3.9.90 r8004 OperatingSystem=Linux Kernel=4.4.0-28-generic Architecture=x86 Distribution=Ubuntu 16.04.1 LTS Desktop=LXQT Theme=Gtk Language=en_US.UTF-8 Memory=492M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-1.0.so.0.802.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.19.0.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] BROWSER= DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-8qXRGsJJ9k,guid=f36c09faab67b7515fff26fd583f4beb DEFAULTS_PATH=/usr/share/gconf/lxqt.default.path DESKTOP_SESSION=lxqt DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=lxqt GDM_LANG=en GTK_CSD=0 HOME= LANG=en_US.UTF-8 LANGUAGE=en LC_ADDRESS=id_ID.UTF-8 LC_IDENTIFICATION=id_ID.UTF-8 LC_MEASUREMENT=id_ID.UTF-8 LC_MONETARY=id_ID.UTF-8 LC_NAME=id_ID.UTF-8 LC_NUMERIC=id_ID.UTF-8 LC_PAPER=id_ID.UTF-8 LC_TELEPHONE=id_ID.UTF-8 LC_TIME=id_ID.UTF-8 LOGNAME= LXQT_SESSION_CONFIG=session MANDATORY_PATH=/usr/share/gconf/lxqt.mandatory.path PAM_KWALLET5_LOGIN=/tmp/kwallet5_.socket PAPERSIZE=a4 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_IM_MODULE=compose QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_PLATFORM_PLUGIN=lxqt QT_QPA_PLATFORMTHEME=lxqt SAL_USE_VCLPLUGIN=kde4 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=2313 SSH_AUTH_SOCK=/tmp/ssh-9ueo0Yf1OExy/agent.2258 TERM=qterminal TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CACHE_HOME=/.cache XDG_CONFIG_DIRS=/etc/xdg/xdg-lxqt:/etc/xdg XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXQt XDG_DATA_DIRS=/usr/share/lxqt:/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share/:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop:/.local/share:/usr/share XDG_DATA_HOME=/.local/share XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=lxqt- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=lxqt XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 From bugtracker at ...3416... Tue Dec 13 00:27:12 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 12 Dec 2016 23:27:12 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1052: IDE Crash when click "Open Terminal" Menu In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1052&from=L21haW4- Zainudin AHMAD added an attachment: pic-1.jpg From bugtracker at ...3416... Tue Dec 13 00:27:22 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Mon, 12 Dec 2016 23:27:22 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1052: IDE Crash when click "Open Terminal" Menu In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1052&from=L21haW4- Zainudin AHMAD added an attachment: pic-2.png From bugtracker at ...3416... Tue Dec 13 02:32:53 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 13 Dec 2016 01:32:53 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1053: IDE Crash when click close button in recent projects list (in Welcome Dialog) Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1053&from=L21haW4- Zainudin AHMAD reported a new bug. Summary ------- IDE Crash when click close button in recent projects list (in Welcome Dialog) Type : Bug Priority : Low Gambas version : 3.9.90 (TRUNK) Product : Development Environment Description ----------- IDE Crash when click close button in recent projects list (in Welcome Dialog) Reproduce the Bug : 1) Open Gambas IDE 2) In welcome dialog, Click close button "very fast" until all items closed. (attach pic-1) I get "Invalid object ..." message box. (attach pic-2) System information ------------------ [System] Gambas=3.9.90 r8004 OperatingSystem=Linux Kernel=4.4.0-28-generic Architecture=x86 Distribution=Ubuntu 16.04.1 LTS Desktop=LXQT Theme=Gtk Language=en_US.UTF-8 Memory=492M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-1.0.so.0.802.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.19.0.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] BROWSER= DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-8qXRGsJJ9k,guid=f36c09faab67b7515fff26fd583f4beb DEFAULTS_PATH=/usr/share/gconf/lxqt.default.path DESKTOP_SESSION=lxqt DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=lxqt GDM_LANG=en GTK_CSD=0 HOME= LANG=en_US.UTF-8 LANGUAGE=en LC_ADDRESS=id_ID.UTF-8 LC_IDENTIFICATION=id_ID.UTF-8 LC_MEASUREMENT=id_ID.UTF-8 LC_MONETARY=id_ID.UTF-8 LC_NAME=id_ID.UTF-8 LC_NUMERIC=id_ID.UTF-8 LC_PAPER=id_ID.UTF-8 LC_TELEPHONE=id_ID.UTF-8 LC_TIME=id_ID.UTF-8 LOGNAME= LXQT_SESSION_CONFIG=session MANDATORY_PATH=/usr/share/gconf/lxqt.mandatory.path PAM_KWALLET5_LOGIN=/tmp/kwallet5_.socket PAPERSIZE=a4 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_IM_MODULE=compose QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_PLATFORM_PLUGIN=lxqt QT_QPA_PLATFORMTHEME=lxqt SAL_USE_VCLPLUGIN=kde4 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=2313 SSH_AUTH_SOCK=/tmp/ssh-9ueo0Yf1OExy/agent.2258 TERM=qterminal TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CACHE_HOME=/.cache XDG_CONFIG_DIRS=/etc/xdg/xdg-lxqt:/etc/xdg XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXQt XDG_DATA_DIRS=/usr/share/lxqt:/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share/:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop:/.local/share:/usr/share XDG_DATA_HOME=/.local/share XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=lxqt- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=lxqt XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 From bugtracker at ...3416... Tue Dec 13 02:33:30 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 13 Dec 2016 01:33:30 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1053: IDE Crash when click close button in recent projects list (in Welcome Dialog) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1053&from=L21haW4- Zainudin AHMAD added an attachment: pic-1.png From bugtracker at ...3416... Tue Dec 13 02:33:52 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 13 Dec 2016 01:33:52 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1053: IDE Crash when click close button in recent projects list (in Welcome Dialog) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1053&from=L21haW4- Zainudin AHMAD added an attachment: pic-2.png From bugtracker at ...3416... Tue Dec 13 03:52:11 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 13 Dec 2016 02:52:11 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1054: Form_Hide() event not raise when form/window doing minimize/hide Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1054&from=L21haW4- Zainudin AHMAD reported a new bug. Summary ------- Form_Hide() event not raise when form/window doing minimize/hide Type : Bug Priority : Medium Gambas version : 3.9.90 (TRUNK) Product : GTK+3 component Description ----------- Form_Hide() event not raise when form/window doing minimize/hide Reproduce the Bug: 1) Run project. (attach project) 2) Click Minimize button This happen only with GTK2 & GTK3. System information ------------------ [System] Gambas=3.9.90 r8004 OperatingSystem=Linux Kernel=4.4.0-28-generic Architecture=x86 Distribution=Ubuntu 16.04.1 LTS Desktop=LXQT Theme=Gtk Language=en_US.UTF-8 Memory=492M [Libraries] Cairo=libcairo.so.2.11400.6 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.6 GStreamer=libgstreamer-1.0.so.0.802.0 GTK+2=libgtk-x11-2.0.so.0.2400.30 GTK+3=libgtk-3.so.0.1800.9 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.19.0.0 Poppler=libpoppler.so.58.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.5.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] BROWSER= DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-8qXRGsJJ9k,guid=f36c09faab67b7515fff26fd583f4beb DEFAULTS_PATH=/usr/share/gconf/lxqt.default.path DESKTOP_SESSION=lxqt DISPLAY=:0 GB_GUI=gb.qt4 GDMSESSION=lxqt GDM_LANG=en GTK_CSD=0 HOME= LANG=en_US.UTF-8 LANGUAGE=en LC_ADDRESS=id_ID.UTF-8 LC_IDENTIFICATION=id_ID.UTF-8 LC_MEASUREMENT=id_ID.UTF-8 LC_MONETARY=id_ID.UTF-8 LC_NAME=id_ID.UTF-8 LC_NUMERIC=id_ID.UTF-8 LC_PAPER=id_ID.UTF-8 LC_TELEPHONE=id_ID.UTF-8 LC_TIME=id_ID.UTF-8 LOGNAME= LXQT_SESSION_CONFIG=session MANDATORY_PATH=/usr/share/gconf/lxqt.mandatory.path PAM_KWALLET5_LOGIN=/tmp/kwallet5_.socket PAPERSIZE=a4 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_IM_MODULE=compose QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_PLATFORM_PLUGIN=lxqt QT_QPA_PLATFORMTHEME=lxqt SAL_USE_VCLPLUGIN=kde4 SHELL=/bin/bash SHLVL=0 SSH_AGENT_PID=2313 SSH_AUTH_SOCK=/tmp/ssh-9ueo0Yf1OExy/agent.2258 TERM=qterminal TZ=:/etc/localtime USER= XAUTHORITY=/.Xauthority XDG_CACHE_HOME=/.cache XDG_CONFIG_DIRS=/etc/xdg/xdg-lxqt:/etc/xdg XDG_CONFIG_HOME=/.config XDG_CURRENT_DESKTOP=LXQt XDG_DATA_DIRS=/usr/share/lxqt:/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share/:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop:/.local/share:/usr/share XDG_DATA_HOME=/.local/share XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ XDG_MENU_PREFIX=lxqt- XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_DESKTOP=lxqt XDG_SESSION_ID=c2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=7 From bugtracker at ...3416... Tue Dec 13 03:52:27 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 13 Dec 2016 02:52:27 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1054: Form_Hide() event not raise when form/window doing minimize/hide In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1054&from=L21haW4- Zainudin AHMAD added an attachment: Bug-EventFormHide-0.0.1.tar.gz From jussi.lahtinen at ...626... Tue Dec 13 03:58:12 2016 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 13 Dec 2016 04:58:12 +0200 Subject: [Gambas-user] New Editor Side Bar In-Reply-To: References: Message-ID: I found a bug. The side bar causes crash when you try to open text file from the data folder. Jussi On Mon, Dec 12, 2016 at 4:00 PM, Fabien Bodard wrote: > I added a new property to the Gambas code editor. I hope that I have > sufficiently debugged it to avoid any inconvenience. This bar is drawn > from the vertical kate scroll bar. It displays a preview of the entire > code of the file. Of course as I coded in Gambas it is not really a > preview but rather a simplified rendering taking into account the > indentation and the length of the lines. A text rendering would have > cost far too many resources. Some line property remains however > highlighted as the lines in comment and in the margin the information > if the row is changed. The marked lines are represented by a yellow > line. > > > When moving the cursor, the first and last lines of the displayed area > are indicated by a tooltip. When browsing the bar, a mini editor shows > the code present at the position indicated by the mouse on the bar. I > added two features. Ctrl + Click moves the editor directly to the line > below the mouse pointer. Ctrl + Alt + Click Sets the "magnifying" > editor to where it is. This makes it possible to have the code portion > under the eyes. Just click on the "magnifying" editor to hide it. > > Give me your impressions, and especially remount me any problem as > quickly as possible. > > Regards, > > -- > Fabien Bodard > > ------------------------------------------------------------ > ------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today.http://sdm.link/xeonphi > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas.fr at ...626... Tue Dec 13 10:17:57 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 13 Dec 2016 10:17:57 +0100 Subject: [Gambas-user] New Editor Side Bar In-Reply-To: References: Message-ID: 2016-12-13 3:58 GMT+01:00 Jussi Lahtinen : > I found a bug. The side bar causes crash when you try to open text file > from the data folder. It will work with the last ref > > Jussi > > On Mon, Dec 12, 2016 at 4:00 PM, Fabien Bodard wrote: > >> I added a new property to the Gambas code editor. I hope that I have >> sufficiently debugged it to avoid any inconvenience. This bar is drawn >> from the vertical kate scroll bar. It displays a preview of the entire >> code of the file. Of course as I coded in Gambas it is not really a >> preview but rather a simplified rendering taking into account the >> indentation and the length of the lines. A text rendering would have >> cost far too many resources. Some line property remains however >> highlighted as the lines in comment and in the margin the information >> if the row is changed. The marked lines are represented by a yellow >> line. >> >> >> When moving the cursor, the first and last lines of the displayed area >> are indicated by a tooltip. When browsing the bar, a mini editor shows >> the code present at the position indicated by the mouse on the bar. I >> added two features. Ctrl + Click moves the editor directly to the line >> below the mouse pointer. Ctrl + Alt + Click Sets the "magnifying" >> editor to where it is. This makes it possible to have the code portion >> under the eyes. Just click on the "magnifying" editor to hide it. >> >> Give me your impressions, and especially remount me any problem as >> quickly as possible. >> >> Regards, >> >> -- >> Fabien Bodard >> >> ------------------------------------------------------------ >> ------------------ >> Developer Access Program for Intel Xeon Phi Processors >> Access to Intel Xeon Phi processor-based developer platforms. >> With one year of Intel Parallel Studio XE. >> Training and support from Colfax. >> Order your platform today.http://sdm.link/xeonphi >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From bugtracker at ...3416... Thu Dec 15 04:06:41 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 15 Dec 2016 03:06:41 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1055: Inconsistency with Date() function Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1055&from=L21haW4- Jussi LAHTINEN reported a new bug. Summary ------- Inconsistency with Date() function Type : Bug Priority : Medium Gambas version : 3.9.90 (TRUNK) Product : Language Description ----------- Run the attached project and choose date with the datebox. Output in label is different than output into console! System information ------------------ [System] Gambas=3.9.90 r8011 OperatingSystem=Linux Kernel=3.19.0-32-generic Architecture=x86_64 Distribution=Linux Mint 17.3 Rosa Desktop=CINNAMON Theme=Gtk Language=en_US.UTF-8 Memory=7984M [Libraries] Cairo=libcairo.so.2.11301.0 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.7.6 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.204.0 GTK+2=libgtk-x11-2.0.so.0.2400.23 GTK+3=libgtk-3.so.0.1000.8 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.44.0.0 QT4=libQtCore.so.4.8.6 QT5=libQt5Core.so.5.2.1 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] CLUTTER_BACKEND=x11 CLUTTER_IM_MODULE=xim DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-SS6ZPj0x77,guid=848dd12c3a564ee3f1c8e6d558513c11 DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path DESKTOP_SESSION=cinnamon DISPLAY=:0.0 GB_GUI=gb.qt4 GB_PROFILE_MAX=1000 GDMSESSION=cinnamon GDM_XSERVER_LOCATION=local GIO_LAUNCHED_DESKTOP_FILE=/Desktop/Gambas3.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=571 GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_KEYRING_CONTROL=/run/user/1000/keyring-hbPJ0c GPG_AGENT_INFO=/run/user/1000/keyring-hbPJ0c/gpg:0:1 GTK_IM_MODULE=xim HOME= INSIDE_NEMO_PYTHON= LANG=en_US.UTF-8 LC_ADDRESS=fi_FI.UTF-8 LC_IDENTIFICATION=fi_FI.UTF-8 LC_MEASUREMENT=fi_FI.UTF-8 LC_MONETARY=fi_FI.UTF-8 LC_NAME=fi_FI.UTF-8 LC_NUMERIC=fi_FI.UTF-8 LC_PAPER=fi_FI.UTF-8 LC_TELEPHONE=fi_FI.UTF-8 LC_TIME=en_US.UTF-8 LOGNAME= MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path MDMSESSION=cinnamon MDM_LANG=en_US.UTF-8 MDM_XSERVER_LOCATION=local PAPERSIZE=letter PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PWD= QT4_IM_MODULE=xim QT_STYLE_OVERRIDE=gtk SESSION_MANAGER=local/:@/tmp/.ICE-unix/1638,unix/:/tmp/.ICE-unix/1638 SHELL=/bin/bash SSH_AGENT_PID=1704 SSH_AUTH_SOCK=/run/user/1000/keyring-hbPJ0c/ssh TEXTDOMAIN=im-config TEXTDOMAINDIR=/usr/share/locale/ TZ=:/etc/localtime USER= USERNAME= WINDOWPATH=8 XAUTHORITY=/.Xauthority XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg XDG_CURRENT_DESKTOP=X-Cinnamon XDG_DATA_DIRS=/usr/share/cinnamon:/usr/share/gnome:/usr/local/share/:/usr/share/:/usr/share/mdm/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SESSION_COOKIE=5a45fa29109f0ee2389b1b0355283726-1481718801.355422-510192253 XDG_SESSION_DESKTOP=cinnamon XDG_SESSION_ID=c1 XDG_VTNR=8 XMODIFIERS=@...3498...=none From bugtracker at ...3416... Thu Dec 15 04:06:49 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 15 Dec 2016 03:06:49 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1055: Inconsistency with Date() function In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1055&from=L21haW4- Jussi LAHTINEN added an attachment: DateBug-0.0.1.tar.gz From bugtracker at ...3416... Thu Dec 15 04:37:08 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 15 Dec 2016 03:37:08 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1055: Inconsistency with Date() function In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1055&from=L21haW4- Comment #1 by Beno?t MINISINI: Implicit conversion from date to string uses CStr() function, whereas Print uses Str(). So you get GMT time on one hand, and local time on the other hand. Beno?t MINISINI changed the state of the bug to: Rejected. From gambas at ...1... Sat Dec 17 13:20:48 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 17 Dec 2016 13:20:48 +0100 Subject: [Gambas-user] New Editor Side Bar In-Reply-To: References: Message-ID: <02f86604-b0c2-c882-9834-f06c4fad4e3a@...1...> Le 12/12/2016 ? 15:00, Fabien Bodard a ?crit : > I added a new property to the Gambas code editor. I hope that I have > sufficiently debugged it to avoid any inconvenience. This bar is drawn > from the vertical kate scroll bar. It displays a preview of the entire > code of the file. Of course as I coded in Gambas it is not really a > preview but rather a simplified rendering taking into account the > indentation and the length of the lines. A text rendering would have > cost far too many resources. Some line property remains however > highlighted as the lines in comment and in the margin the information > if the row is changed. The marked lines are represented by a yellow > line. > > > When moving the cursor, the first and last lines of the displayed area > are indicated by a tooltip. When browsing the bar, a mini editor shows > the code present at the position indicated by the mouse on the bar. I > added two features. Ctrl + Click moves the editor directly to the line > below the mouse pointer. Ctrl + Alt + Click Sets the "magnifying" > editor to where it is. This makes it possible to have the code portion > under the eyes. Just click on the "magnifying" editor to hide it. > > Give me your impressions, and especially remount me any problem as > quickly as possible. > > Regards, > I think the side bar should use the editor font. Is it possible? -- Beno?t Minisini From gambas.fr at ...626... Sat Dec 17 22:17:22 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 17 Dec 2016 22:17:22 +0100 Subject: [Gambas-user] New Editor Side Bar In-Reply-To: <02f86604-b0c2-c882-9834-f06c4fad4e3a@...1...> References: <02f86604-b0c2-c882-9834-f06c4fad4e3a@...1...> Message-ID: Le 17 d?c. 2016 13:22, "Beno?t Minisini" a ?crit : > > Le 12/12/2016 ? 15:00, Fabien Bodard a ?crit : > > I added a new property to the Gambas code editor. I hope that I have > > sufficiently debugged it to avoid any inconvenience. This bar is drawn > > from the vertical kate scroll bar. It displays a preview of the entire > > code of the file. Of course as I coded in Gambas it is not really a > > preview but rather a simplified rendering taking into account the > > indentation and the length of the lines. A text rendering would have > > cost far too many resources. Some line property remains however > > highlighted as the lines in comment and in the margin the information > > if the row is changed. The marked lines are represented by a yellow > > line. > > > > > > When moving the cursor, the first and last lines of the displayed area > > are indicated by a tooltip. When browsing the bar, a mini editor shows > > the code present at the position indicated by the mouse on the bar. I > > added two features. Ctrl + Click moves the editor directly to the line > > below the mouse pointer. Ctrl + Alt + Click Sets the "magnifying" > > editor to where it is. This makes it possible to have the code portion > > under the eyes. Just click on the "magnifying" editor to hide it. > > > > Give me your impressions, and especially remount me any problem as > > quickly as possible. > > > > Regards, > > > > I think the side bar should use the editor font. Is it possible? Yes but always with a grade -2 > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user From tmorehen at ...3602... Sun Dec 18 05:52:16 2016 From: tmorehen at ...3602... (Tony Morehen) Date: Sat, 17 Dec 2016 23:52:16 -0500 Subject: [Gambas-user] New Editor Side Bar In-Reply-To: References: Message-ID: <8ebdd947-1d40-e8a0-2ad2-179c8492775f@...3602...> Fabian, it looks great and works like a charm. By the way, I'm working on text editor which would benefit from a couple of minor changes to the text editor component. Could you make $hDoc.Lines a read/write property of TextEditor and $hDoc.LineLength a read only property? I working on a search function. I can use Instr on TextEditor.Text to find the appropriate text but I can't select that text because the TextEditor.Select function requires Start Column, Start Row, End Column, End Row and there is no function to calculate those coordinates from the position in the text stream that InStr returns. Exposing Lines lets me search for text on the same basis as the Select function, by row and column. Exposing LineLength lets me easily write a function to go from Instr's text position to Select's column, row coordinates. Indeed, I have already written a function to do that. It splits TextEditor.Text into lines and then uses the String.Len function to calculate coordinates. Unfortunately, it has to do that every time I do a search which is redundant given that TextEditor has the same information internally. At some point, it may be useful to add a Select(selectionstart as integer, selectionlength as integer) method. This would make TextEditor a virtual drop-in replacement for TextArea. On 12/12/16 09:00 AM, Fabien Bodard wrote: > I added a new property to the Gambas code editor. I hope that I have > sufficiently debugged it to avoid any inconvenience. This bar is drawn > from the vertical kate scroll bar. It displays a preview of the entire > code of the file. Of course as I coded in Gambas it is not really a > preview but rather a simplified rendering taking into account the > indentation and the length of the lines. A text rendering would have > cost far too many resources. Some line property remains however > highlighted as the lines in comment and in the margin the information > if the row is changed. The marked lines are represented by a yellow > line. > > > When moving the cursor, the first and last lines of the displayed area > are indicated by a tooltip. When browsing the bar, a mini editor shows > the code present at the position indicated by the mouse on the bar. I > added two features. Ctrl + Click moves the editor directly to the line > below the mouse pointer. Ctrl + Alt + Click Sets the "magnifying" > editor to where it is. This makes it possible to have the code portion > under the eyes. Just click on the "magnifying" editor to hide it. > > Give me your impressions, and especially remount me any problem as > quickly as possible. > > Regards, > From gambas at ...1... Sun Dec 18 09:43:07 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sun, 18 Dec 2016 09:43:07 +0100 Subject: [Gambas-user] New Editor Side Bar In-Reply-To: <8ebdd947-1d40-e8a0-2ad2-179c8492775f@...3602...> References: <8ebdd947-1d40-e8a0-2ad2-179c8492775f@...3602...> Message-ID: <333e76de-8577-d486-f826-048ce4d62e7e@...1...> Le 18/12/2016 ? 05:52, Tony Morehen a ?crit : > Fabian, it looks great and works like a charm. > > By the way, I'm working on text editor which would benefit from a couple > of minor changes to the text editor component. Could you make > $hDoc.Lines a read/write property of TextEditor and $hDoc.LineLength a > read only property? No need for that. Use TextEditor array accessor to access a specific line: - "MyTextEditor[Line].Text" returns a the "Line" line. - "MyTextEditor[Line].Length" returns the length of the "Line" line. Beware that MyTextEditor[Line] returns a virtual temporary object. You must not store it. > > I working on a search function. I can use Instr on TextEditor.Text to > find the appropriate text You must not use Instr(), it cannot handle UTF-8 text. Use String.Instr() instead. Regards, -- Beno?t Minisini From tmorehen at ...3602... Sun Dec 18 15:50:20 2016 From: tmorehen at ...3602... (Tony Morehen) Date: Sun, 18 Dec 2016 09:50:20 -0500 Subject: [Gambas-user] New Editor Side Bar In-Reply-To: <333e76de-8577-d486-f826-048ce4d62e7e@...1...> References: <8ebdd947-1d40-e8a0-2ad2-179c8492775f@...3602...> <333e76de-8577-d486-f826-048ce4d62e7e@...1...> Message-ID: Thanks for the info, Benoit. I'm still learning all of Gambas' nuances. BTW, I am using string.instr. On December 18, 2016 3:43:07 AM EST, "Beno?t Minisini" wrote: >Le 18/12/2016 ? 05:52, Tony Morehen a ?crit : >> Fabian, it looks great and works like a charm. >> >> By the way, I'm working on text editor which would benefit from a >couple >> of minor changes to the text editor component. Could you make >> $hDoc.Lines a read/write property of TextEditor and $hDoc.LineLength >a >> read only property? > >No need for that. Use TextEditor array accessor to access a specific >line: >- "MyTextEditor[Line].Text" returns a the "Line" line. >- "MyTextEditor[Line].Length" returns the length of the "Line" line. > >Beware that MyTextEditor[Line] returns a virtual temporary object. You >must not store it. > >> >> I working on a search function. I can use Instr on TextEditor.Text >to >> find the appropriate text > >You must not use Instr(), it cannot handle UTF-8 text. Use >String.Instr() instead. > >Regards, > >-- >Beno?t Minisini > >------------------------------------------------------------------------------ >Check out the vibrant tech community on one of the world's most >engaging tech sites, SlashDot.org! http://sdm.link/slashdot >_______________________________________________ >Gambas-user mailing list >Gambas-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/gambas-user -- Sent from my Android device with K-9 Mail. Please excuse my brevity. From mmcg29440 at ...3163... Mon Dec 19 16:35:04 2016 From: mmcg29440 at ...3163... (Martin McGlensey) Date: Mon, 19 Dec 2016 10:35:04 -0500 Subject: [Gambas-user] How to run a python program in a control on a form? Message-ID: Hello, I want to design a form containing the usual Gambas objects (buttons, listboxes etc.). The form is used to input commands to the Python routine that will continually output, in graphic form, the result of the Python program. This routine will run until modified by the user by clicking on the controls on the form. I want to integrate this "window" into the main form. I do not want to open a second form to display the data. Hopefully I've explained this properly. Please feel free to ask questions. All responses are appreciated. Regards, Marty From jussi.lahtinen at ...626... Mon Dec 19 23:07:43 2016 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 20 Dec 2016 00:07:43 +0200 Subject: [Gambas-user] How to run a python program in a control on a form? In-Reply-To: References: Message-ID: Is there any reason you cannot show the results in example drawingarea? Jussi On Mon, Dec 19, 2016 at 5:35 PM, Martin McGlensey wrote: > Hello, > > > > I want to design a form containing the usual Gambas objects (buttons, > listboxes etc.). The form is used to input commands to the Python routine > that will continually output, in graphic form, the result of the Python > program. This routine will run until modified by the user by clicking on > the > controls on the form. I want to integrate this "window" into the main form. > I do not want to open a second form to display the data. Hopefully I've > explained this properly. Please feel free to ask questions. > > > > All responses are appreciated. > > > > Regards, > > Marty > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From Karl.Reinl at ...2345... Tue Dec 20 00:13:57 2016 From: Karl.Reinl at ...2345... (Charlie Reinl) Date: Tue, 20 Dec 2016 00:13:57 +0100 Subject: [Gambas-user] Beware to revision #7983! In-Reply-To: <5a2ee014-af7b-8381-b8be-428403eacb0b@...1...> References: <5a2ee014-af7b-8381-b8be-428403eacb0b@...1...> Message-ID: <1482189237.6546.19.camel@...3609...> Am Freitag, den 18.11.2016, 16:05 +0100 schrieb Beno?t Minisini: > Hi, > > In revision #7983, I fixed a bug in date / string conversion, so that > now, as it is logically expected: > > CDate(CStr(CDate(2))) = CDate(2) > > BEFORE: > > $ gbx3 -e 'CStr(CDate(2))' > 01/01/-4801 23:00:00 > $ gbx3 -e 'CStr(CDate(CStr(CDate(2))))' > 00/00/0000 23:00:00 > $ gbx3 -e 'CDate(CStr(CDate(CStr(CDate(2)))))' > Type mismatch: wanted Date, got String instead > > AFTER: > > $ gbx3 -e 'CStr(CDate(2))' > 01/02/-4801 > $ gbx3 -e 'CStr(CDate(CStr(CDate(2))))' > 01/02/-4801 > $ gbx3 -e 'CDate(CStr(CDate(CStr(CDate(2)))))' > 01/01/-4801 23:00:00 > > (Note: The last line is displayed as a local date/time.) > > It was not the case before, because the conversion were internally done > by taking the timezone into account, even if date/time values are > internally stored in UTC. > > Now CDate() on a string always interpret it as an UTC date, and CStr() > on a date displays its UTC value. > > Consequently, check your code! > > CStr() and CDate() are not supposed to use a local time representation. > On the contrary. This is the job of Val(), Str() and Format(). > > If you wrote code that made that assumption, you did wrong. > > BEWARE! BEWARE! BEWARE! > Salut Beno?t and Everyone, I used for many moons this: format(Date("10/01/2016"),"mmmm yyyy") and I didn't felt me concerned by that mail......but: format(Date("10/01/2016"),"mmmm yyyy") gives September 2016 now, gave Oktober 2016 before, because Date("10/01/2016") returns 30.09.2016 00:00:00 now (at leased here in Germany). But that is one day lost. I checked that now on Gambas=3.9.90 r8012 but was also on Revision: 8004 -- Amicalement Charlie From gambas at ...1... Tue Dec 20 00:50:31 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 20 Dec 2016 00:50:31 +0100 Subject: [Gambas-user] Beware to revision #7983! In-Reply-To: <1482189237.6546.19.camel@...3609...> References: <5a2ee014-af7b-8381-b8be-428403eacb0b@...1...> <1482189237.6546.19.camel@...3609...> Message-ID: <8d9eed5e-6f55-c220-0520-de5186423cd3@...1...> Le 20/12/2016 ? 00:13, Charlie Reinl a ?crit : > Am Freitag, den 18.11.2016, 16:05 +0100 schrieb Beno?t Minisini: >> Hi, >> >> In revision #7983, I fixed a bug in date / string conversion, so that >> now, as it is logically expected: >> >> CDate(CStr(CDate(2))) = CDate(2) >> >> BEFORE: >> >> $ gbx3 -e 'CStr(CDate(2))' >> 01/01/-4801 23:00:00 >> $ gbx3 -e 'CStr(CDate(CStr(CDate(2))))' >> 00/00/0000 23:00:00 >> $ gbx3 -e 'CDate(CStr(CDate(CStr(CDate(2)))))' >> Type mismatch: wanted Date, got String instead >> >> AFTER: >> >> $ gbx3 -e 'CStr(CDate(2))' >> 01/02/-4801 >> $ gbx3 -e 'CStr(CDate(CStr(CDate(2))))' >> 01/02/-4801 >> $ gbx3 -e 'CDate(CStr(CDate(CStr(CDate(2)))))' >> 01/01/-4801 23:00:00 >> >> (Note: The last line is displayed as a local date/time.) >> >> It was not the case before, because the conversion were internally done >> by taking the timezone into account, even if date/time values are >> internally stored in UTC. >> >> Now CDate() on a string always interpret it as an UTC date, and CStr() >> on a date displays its UTC value. >> >> Consequently, check your code! >> >> CStr() and CDate() are not supposed to use a local time representation. >> On the contrary. This is the job of Val(), Str() and Format(). >> >> If you wrote code that made that assumption, you did wrong. >> >> BEWARE! BEWARE! BEWARE! >> > > Salut Beno?t and Everyone, > > I used for many moons this: format(Date("10/01/2016"),"mmmm yyyy") > and I didn't felt me concerned by that mail......but: > > format(Date("10/01/2016"),"mmmm yyyy") > gives September 2016 now, gave Oktober 2016 before, > because Date("10/01/2016") returns 30.09.2016 00:00:00 now (at leased > here in Germany). But that is one day lost. > I checked that now on Gambas=3.9.90 r8012 but was also on Revision: 8004 > > This is what I explained: By writing Date("10/01/2016"), you make a logical error that has been hidden by the described bug, and a misuse of the Date() function. Date("10/01/2016") means Date(CDate("10/01/2016")) (as Date() expects a date). And so "10/01/2016" has to be interpreted as a GMT date, not a local date, as CDate() must not be local-aware. You have to write Val("10/01/2016") instead, provided that "10/01/2016" is actually a local date of course. Regards, -- Beno?t Minisini From jussi.lahtinen at ...626... Tue Dec 20 01:16:27 2016 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 20 Dec 2016 02:16:27 +0200 Subject: [Gambas-user] Beware to revision #7983! In-Reply-To: <8d9eed5e-6f55-c220-0520-de5186423cd3@...1...> References: <5a2ee014-af7b-8381-b8be-428403eacb0b@...1...> <1482189237.6546.19.camel@...3609...> <8d9eed5e-6f55-c220-0520-de5186423cd3@...1...> Message-ID: That is bit confusing. Would it be better if Date() function would accept one more argument "TimeZone". Example: Date("10/01/2016", gb.GMT) or Date("10/01/2016", gb.Local) What you think? Jussi On Tue, Dec 20, 2016 at 1:50 AM, Beno?t Minisini < gambas at ...1...> wrote: > Le 20/12/2016 ? 00:13, Charlie Reinl a ?crit : > > Am Freitag, den 18.11.2016, 16:05 +0100 schrieb Beno?t Minisini: > >> Hi, > >> > >> In revision #7983, I fixed a bug in date / string conversion, so that > >> now, as it is logically expected: > >> > >> CDate(CStr(CDate(2))) = CDate(2) > >> > >> BEFORE: > >> > >> $ gbx3 -e 'CStr(CDate(2))' > >> 01/01/-4801 23:00:00 > >> $ gbx3 -e 'CStr(CDate(CStr(CDate(2))))' > >> 00/00/0000 23:00:00 > >> $ gbx3 -e 'CDate(CStr(CDate(CStr(CDate(2)))))' > >> Type mismatch: wanted Date, got String instead > >> > >> AFTER: > >> > >> $ gbx3 -e 'CStr(CDate(2))' > >> 01/02/-4801 > >> $ gbx3 -e 'CStr(CDate(CStr(CDate(2))))' > >> 01/02/-4801 > >> $ gbx3 -e 'CDate(CStr(CDate(CStr(CDate(2)))))' > >> 01/01/-4801 23:00:00 > >> > >> (Note: The last line is displayed as a local date/time.) > >> > >> It was not the case before, because the conversion were internally done > >> by taking the timezone into account, even if date/time values are > >> internally stored in UTC. > >> > >> Now CDate() on a string always interpret it as an UTC date, and CStr() > >> on a date displays its UTC value. > >> > >> Consequently, check your code! > >> > >> CStr() and CDate() are not supposed to use a local time representation. > >> On the contrary. This is the job of Val(), Str() and Format(). > >> > >> If you wrote code that made that assumption, you did wrong. > >> > >> BEWARE! BEWARE! BEWARE! > >> > > > > Salut Beno?t and Everyone, > > > > I used for many moons this: format(Date("10/01/2016"),"mmmm yyyy") > > and I didn't felt me concerned by that mail......but: > > > > format(Date("10/01/2016"),"mmmm yyyy") > > gives September 2016 now, gave Oktober 2016 before, > > because Date("10/01/2016") returns 30.09.2016 00:00:00 now (at leased > > here in Germany). But that is one day lost. > > I checked that now on Gambas=3.9.90 r8012 but was also on Revision: 8004 > > > > > > This is what I explained: > > By writing Date("10/01/2016"), you make a logical error that has been > hidden by the described bug, and a misuse of the Date() function. > > Date("10/01/2016") means Date(CDate("10/01/2016")) (as Date() expects a > date). And so "10/01/2016" has to be interpreted as a GMT date, not a > local date, as CDate() must not be local-aware. > > You have to write Val("10/01/2016") instead, provided that "10/01/2016" > is actually a local date of course. > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------ > ------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today.http://sdm.link/intel > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From jussi.lahtinen at ...626... Tue Dec 20 01:23:52 2016 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 20 Dec 2016 02:23:52 +0200 Subject: [Gambas-user] Beware to revision #7983! In-Reply-To: References: <5a2ee014-af7b-8381-b8be-428403eacb0b@...1...> <1482189237.6546.19.camel@...3609...> <8d9eed5e-6f55-c220-0520-de5186423cd3@...1...> Message-ID: Or additional requirement for the string, examples "10/01/2016 GMT" or "10/01/2016 Local". Jussi On Tue, Dec 20, 2016 at 2:16 AM, Jussi Lahtinen wrote: > That is bit confusing. Would it be better if Date() function would accept > one more argument "TimeZone". > Example: > > Date("10/01/2016", gb.GMT) > > or > > Date("10/01/2016", gb.Local) > > > What you think? > > > Jussi > > On Tue, Dec 20, 2016 at 1:50 AM, Beno?t Minisini < > gambas at ...1...> wrote: > >> Le 20/12/2016 ? 00:13, Charlie Reinl a ?crit : >> > Am Freitag, den 18.11.2016, 16:05 +0100 schrieb Beno?t Minisini: >> >> Hi, >> >> >> >> In revision #7983, I fixed a bug in date / string conversion, so that >> >> now, as it is logically expected: >> >> >> >> CDate(CStr(CDate(2))) = CDate(2) >> >> >> >> BEFORE: >> >> >> >> $ gbx3 -e 'CStr(CDate(2))' >> >> 01/01/-4801 23:00:00 >> >> $ gbx3 -e 'CStr(CDate(CStr(CDate(2))))' >> >> 00/00/0000 23:00:00 >> >> $ gbx3 -e 'CDate(CStr(CDate(CStr(CDate(2)))))' >> >> Type mismatch: wanted Date, got String instead >> >> >> >> AFTER: >> >> >> >> $ gbx3 -e 'CStr(CDate(2))' >> >> 01/02/-4801 >> >> $ gbx3 -e 'CStr(CDate(CStr(CDate(2))))' >> >> 01/02/-4801 >> >> $ gbx3 -e 'CDate(CStr(CDate(CStr(CDate(2)))))' >> >> 01/01/-4801 23:00:00 >> >> >> >> (Note: The last line is displayed as a local date/time.) >> >> >> >> It was not the case before, because the conversion were internally done >> >> by taking the timezone into account, even if date/time values are >> >> internally stored in UTC. >> >> >> >> Now CDate() on a string always interpret it as an UTC date, and CStr() >> >> on a date displays its UTC value. >> >> >> >> Consequently, check your code! >> >> >> >> CStr() and CDate() are not supposed to use a local time representation. >> >> On the contrary. This is the job of Val(), Str() and Format(). >> >> >> >> If you wrote code that made that assumption, you did wrong. >> >> >> >> BEWARE! BEWARE! BEWARE! >> >> >> > >> > Salut Beno?t and Everyone, >> > >> > I used for many moons this: format(Date("10/01/2016"),"mmmm yyyy") >> > and I didn't felt me concerned by that mail......but: >> > >> > format(Date("10/01/2016"),"mmmm yyyy") >> > gives September 2016 now, gave Oktober 2016 before, >> > because Date("10/01/2016") returns 30.09.2016 00:00:00 now (at leased >> > here in Germany). But that is one day lost. >> > I checked that now on Gambas=3.9.90 r8012 but was also on Revision: 8004 >> > >> > >> >> This is what I explained: >> >> By writing Date("10/01/2016"), you make a logical error that has been >> hidden by the described bug, and a misuse of the Date() function. >> >> Date("10/01/2016") means Date(CDate("10/01/2016")) (as Date() expects a >> date). And so "10/01/2016" has to be interpreted as a GMT date, not a >> local date, as CDate() must not be local-aware. >> >> You have to write Val("10/01/2016") instead, provided that "10/01/2016" >> is actually a local date of course. >> >> Regards, >> >> -- >> Beno?t Minisini >> >> ------------------------------------------------------------ >> ------------------ >> Developer Access Program for Intel Xeon Phi Processors >> Access to Intel Xeon Phi processor-based developer platforms. >> With one year of Intel Parallel Studio XE. >> Training and support from Colfax. >> Order your platform today.http://sdm.link/intel >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user >> > > From gambas at ...1... Tue Dec 20 01:53:32 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Tue, 20 Dec 2016 01:53:32 +0100 Subject: [Gambas-user] Beware to revision #7983! In-Reply-To: References: <5a2ee014-af7b-8381-b8be-428403eacb0b@...1...> <1482189237.6546.19.camel@...3609...> <8d9eed5e-6f55-c220-0520-de5186423cd3@...1...> Message-ID: <98c3a06e-0140-72bd-1627-b33b8abbdfc0@...1...> Le 20/12/2016 ? 01:23, Jussi Lahtinen a ?crit : > Or additional requirement for the string, examples "10/01/2016 GMT" or > "10/01/2016 Local". > > > Jussi > > On Tue, Dec 20, 2016 at 2:16 AM, Jussi Lahtinen > wrote: > >> That is bit confusing. Would it be better if Date() function would accept >> one more argument "TimeZone". >> Example: >> >> Date("10/01/2016", gb.GMT) >> >> or >> >> Date("10/01/2016", gb.Local) >> >> >> What you think? >> >> >> Jussi >> I think that you misuse the Date() function too. Date() is not a string to date conversion function. You must use: - CDate() for an UTC date conversion. - Val() for a local time conversion. Regards, -- Beno?t Minisini From mmcg29440 at ...3163... Tue Dec 20 02:27:04 2016 From: mmcg29440 at ...3163... (Martin McGlensey) Date: Mon, 19 Dec 2016 20:27:04 -0500 Subject: [Gambas-user] How to run a python program in a control on a form? Message-ID: Jussi, Thanks for the suggestion. I do not think the drawingarea control will work. All formatting and display is handled by the python routine. The output is a continuous stream of data. Think of a sine wave displayed on an oscilloscope or strip chart. I just need a way of positioning the python output window on the Gambas form. Like a window where python can put its output. Hope this helps. Marty ------------------------------ Message: 5 Date: Tue, 20 Dec 2016 00:07:43 +0200 From: Jussi Lahtinen Subject: Re: [Gambas-user] How to run a python program in a control on a form? To: mailing list for gambas users Message-ID: Content-Type: text/plain; charset=UTF-8 Is there any reason you cannot show the results in example drawingarea? Jussi On Mon, Dec 19, 2016 at 5:35 PM, Martin McGlensey wrote: > Hello, > > > > I want to design a form containing the usual Gambas objects (buttons, > listboxes etc.). The form is used to input commands to the Python routine > that will continually output, in graphic form, the result of the Python > program. This routine will run until modified by the user by clicking on > the > controls on the form. I want to integrate this "window" into the main form. > I do not want to open a second form to display the data. Hopefully I've > explained this properly. Please feel free to ask questions. > > > > All responses are appreciated. > > > > Regards, > > Marty > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > *************************************** From jussi.lahtinen at ...626... Tue Dec 20 03:03:04 2016 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 20 Dec 2016 04:03:04 +0200 Subject: [Gambas-user] How to run a python program in a control on a form? In-Reply-To: References: Message-ID: > The output is a continuous stream of data. > In what format? Jussi From jussi.lahtinen at ...626... Tue Dec 20 03:08:21 2016 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Tue, 20 Dec 2016 04:08:21 +0200 Subject: [Gambas-user] Beware to revision #7983! In-Reply-To: <98c3a06e-0140-72bd-1627-b33b8abbdfc0@...1...> References: <5a2ee014-af7b-8381-b8be-428403eacb0b@...1...> <1482189237.6546.19.camel@...3609...> <8d9eed5e-6f55-c220-0520-de5186423cd3@...1...> <98c3a06e-0140-72bd-1627-b33b8abbdfc0@...1...> Message-ID: This is how I do it currently in GAlarm: I save the date variable this way: Settings[sPath &/ "Date&Time"] = CFloat(hAlarm.hTotal) And load it this way: hAlarm.hTotal = Settings[sPath &/ "Date&Time", Null] So, no more string conversions, but it's still not right... Jussi On Tue, Dec 20, 2016 at 2:53 AM, Beno?t Minisini < gambas at ...1...> wrote: > Le 20/12/2016 ? 01:23, Jussi Lahtinen a ?crit : > > Or additional requirement for the string, examples "10/01/2016 GMT" or > > "10/01/2016 Local". > > > > > > Jussi > > > > On Tue, Dec 20, 2016 at 2:16 AM, Jussi Lahtinen < > jussi.lahtinen at ...626...> > > wrote: > > > >> That is bit confusing. Would it be better if Date() function would > accept > >> one more argument "TimeZone". > >> Example: > >> > >> Date("10/01/2016", gb.GMT) > >> > >> or > >> > >> Date("10/01/2016", gb.Local) > >> > >> > >> What you think? > >> > >> > >> Jussi > >> > > I think that you misuse the Date() function too. > > Date() is not a string to date conversion function. > > You must use: > > - CDate() for an UTC date conversion. > > - Val() for a local time conversion. > > Regards, > > -- > Beno?t Minisini > > ------------------------------------------------------------ > ------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today.http://sdm.link/intel > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From adamnt42 at ...626... Tue Dec 20 04:35:36 2016 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Tue, 20 Dec 2016 14:05:36 +1030 Subject: [Gambas-user] How to run a python program in a control on a form? In-Reply-To: References: Message-ID: <20161220140536.45829f179bbd2b606cca74a2@...626...> On Tue, 20 Dec 2016 04:03:04 +0200 Jussi Lahtinen wrote: > > The output is a continuous stream of data. > > > > In what format? > > > Jussi > ------------------------------------------------------------------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today.http://sdm.link/intel > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user I think you may need the Embedder thingo. Haven't used it for a while but used to use for gnuplot output windows. -- B Bruen From bugtracker at ...3416... Tue Dec 20 05:20:23 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 20 Dec 2016 04:20:23 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1056: Components on SidePanel do not respond to right-click or menu keypress events Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1056&from=L21haW4- Tony MOREHEN reported a new bug. Summary ------- Components on SidePanel do not respond to right-click or menu keypress events Type : Bug Priority : Medium Gambas version : 3.9 Product : GUI components Description ----------- In the attached project, there's a SidePanel on the left of the form. On the SidePanel, there are a TreeView and a DirView component. To the right, with the form as parent, are identical Treeview and DirView components, which were created by copying and pasting the SidepPanel equivalents. Nothing happens when you right click the SidePanel components. Nothing also happens when you press the menu key when those components have focus. When you perform the same actions on the components directly on the form, the popup menu appears as expected. From bugtracker at ...3416... Tue Dec 20 05:20:43 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 20 Dec 2016 04:20:43 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1056: Components on SidePanel do not respond to right-click or menu keypress events In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1056&from=L21haW4- Tony MOREHEN added an attachment: popup-0.0.1.tar.gz From gambas.fr at ...626... Tue Dec 20 10:10:43 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Tue, 20 Dec 2016 10:10:43 +0100 Subject: [Gambas-user] How to run a python program in a control on a form? In-Reply-To: <20161220140536.45829f179bbd2b606cca74a2@...626...> References: <20161220140536.45829f179bbd2b606cca74a2@...626...> Message-ID: Yes .. the embedder... but this widget deppend of x11... so don't expect a long life... (and if i remember well not supported by mir/wayland). But the embedder is the tool you need. 2016-12-20 4:35 GMT+01:00 adamnt42 at ...626... : > On Tue, 20 Dec 2016 04:03:04 +0200 > Jussi Lahtinen wrote: > >> > The output is a continuous stream of data. >> > >> >> In what format? >> >> >> Jussi >> ------------------------------------------------------------------------------ >> Developer Access Program for Intel Xeon Phi Processors >> Access to Intel Xeon Phi processor-based developer platforms. >> With one year of Intel Parallel Studio XE. >> Training and support from Colfax. >> Order your platform today.http://sdm.link/intel >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > I think you may need the Embedder thingo. Haven't used it for a while but used to use for gnuplot output windows. > -- > B Bruen > > ------------------------------------------------------------------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today.http://sdm.link/intel > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From bugtracker at ...3416... Tue Dec 20 14:37:11 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 20 Dec 2016 13:37:11 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #928: Would it be possible to be admitted declare when going to be used In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.928&from=L21haW4- Comment #4 by Fabien BODARD: And For {integer}i to 10 ? (joke) From bugtracker at ...3416... Tue Dec 20 14:37:52 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 20 Dec 2016 13:37:52 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #775: Preprocessor Macros In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.775&from=L21haW4- Comment #2 by Fabien BODARD: For chrismas... From bugtracker at ...3416... Tue Dec 20 16:00:46 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Tue, 20 Dec 2016 15:00:46 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #928: Would it be possible to be admitted declare when going to be used In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.928&from=L21haW4- Comment #5 by Tony MOREHEN: I still keep trying to write: For i as Integer = 1 to 10 I know that's the Microsoft way, but it is kind of nice From mmcg29440 at ...3163... Tue Dec 20 17:27:03 2016 From: mmcg29440 at ...3163... (Martin McGlensey) Date: Tue, 20 Dec 2016 11:27:03 -0500 Subject: [Gambas-user] Gambas-user Digest, Vol 127, Issue 20 In-Reply-To: References: Message-ID: Jussi, The best way for me to answer your question is to include the attached screenshot. Although the screenshot is static the data within the frame is dynamic and constantly changing over time. The "waterfall" at the bottom scrolls from top to bottom over time. Hope this helps. Marty -------------- next part -------------- A non-text attachment was scrubbed... Name: Python Screenshot.png Type: image/png Size: 35084 bytes Desc: not available URL: From bugtracker at ...3416... Thu Dec 22 11:39:05 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 22 Dec 2016 10:39:05 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1057: Some problem on smtp component Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1057&from=L21haW4- Fabien BODARD reported a new bug. Summary ------- Some problem on smtp component Type : Bug Priority : High Gambas version : Unknown Product : Networking components Description ----------- On connecting the class seem to be freezed. This is due to the fact that the server return all the querying sentences on the error stream. I have corrected for me the line 32 of the TLSSession class like this : Until $bConnected Or $hProcess.Running The SSHSession need the same i think. Because $bConnected is set only in the Client_Read() event that is never called. I want you to try this Benoit, and tel me if my correction not risk to create any fail. Here it seem to work well. From abbat.81 at ...787... Thu Dec 22 10:23:33 2016 From: abbat.81 at ...787... (abbat81) Date: Thu, 22 Dec 2016 02:23:33 -0700 (MST) Subject: [Gambas-user] Get Hex from Char using some Code Page Message-ID: <1482398613551-58055.post@...3046...> Hi all, My code is big, so maybe Gambas can convert my char in CP866 to HEX? Here is a part of my code: Else If ch = "?" Then Print #Sport, Chr$(&H80); Else If ch = "?" Then Print #Sport, Chr$(&HA0); Else If ch = "?" Then Print #Sport, Chr$(&H81); Else If ch = "?" Then Print #Sport, Chr$(&HA1); Else If ch = "?" Then Print #Sport, Chr$(&H82); Else If ch = "?" Then Print #Sport, Chr$(&HA2); And here is Code Page https://en.wikipedia.org/wiki/Code_page_866 Thanks in advance. -- View this message in context: http://gambas.8142.n7.nabble.com/Get-Hex-from-Char-using-some-Code-Page-tp58055.html Sent from the gambas-user mailing list archive at Nabble.com. From adamnt42 at ...626... Sat Dec 24 07:29:10 2016 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Sat, 24 Dec 2016 16:59:10 +1030 Subject: [Gambas-user] Convert string to integer array Message-ID: <20161224165910.00a50e477b68bc633f2c2300@...626...> Baffled! I have a string, like "[1,3]", that I want to populate an integer array from. How to? tia -- B Bruen From gambas.fr at ...626... Sat Dec 24 09:44:07 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Sat, 24 Dec 2016 09:44:07 +0100 Subject: [Gambas-user] Convert string to integer array In-Reply-To: <20161224165910.00a50e477b68bc633f2c2300@...626...> References: <20161224165910.00a50e477b68bc633f2c2300@...626...> Message-ID: Public Sub Main() Dim s As String Dim i As String Dim a As New Integer[] ''1) with no knowledge of the number of values 'init the string s = "[12,32,3]" 'remove unused spaces and braquets For Each i In Split(Left(Right(Trim(s), -1), -1)) a.Add(i) Next 'display the array content For Each i In a Print i Next 2016-12-24 7:29 GMT+01:00 adamnt42 at ...626... : > Baffled! > > I have a string, like "[1,3]", that I want to populate an integer array from. > > How to? > > tia > > -- > B Bruen > > ------------------------------------------------------------------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today.http://sdm.link/intel > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From gambas at ...1... Sat Dec 24 11:05:00 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Sat, 24 Dec 2016 11:05:00 +0100 Subject: [Gambas-user] Convert string to integer array In-Reply-To: References: <20161224165910.00a50e477b68bc633f2c2300@...626...> Message-ID: <2c930819-36e5-a2d0-c8cf-3c3aaa80463f@...1...> Le 24/12/2016 ? 09:44, Fabien Bodard a ?crit : > Public Sub Main() > > Dim s As String > Dim i As String > Dim a As New Integer[] > ''1) with no knowledge of the number of values > 'init the string > s = "[12,32,3]" > > 'remove unused spaces and braquets > For Each i In Split(Left(Right(Trim(s), -1), -1)) > > a.Add(i) > > Next > > > > 'display the array content > For Each i In a > Print i > Next > > 2016-12-24 7:29 GMT+01:00 adamnt42 at ...626... : >> Baffled! >> >> I have a string, like "[1,3]", that I want to populate an integer array from. >> >> How to? >> >> tia >> >> -- >> B Bruen >> Other solution : MyIntegerArray = JSON.Decode(MyString) :-) -- Beno?t Minisini From casper.labuschagne at ...626... Sat Dec 24 11:15:14 2016 From: casper.labuschagne at ...626... (Casper) Date: Sat, 24 Dec 2016 12:15:14 +0200 Subject: [Gambas-user] Convert string to integer array In-Reply-To: <2c930819-36e5-a2d0-c8cf-3c3aaa80463f@...1...> References: <20161224165910.00a50e477b68bc633f2c2300@...626...> <2c930819-36e5-a2d0-c8cf-3c3aaa80463f@...1...> Message-ID: An elegant solution, one just has to love the Gambas language! a.Add(i) is the part I overlooked, it takes a while to change one's old habits. To all, have a Great Christmas. In this part of South Africa there is a heatwave with temperatures into the high thirties for Christmas. On 24/12/2016, Beno?t Minisini wrote: > Le 24/12/2016 ? 09:44, Fabien Bodard a ?crit : >> Public Sub Main() >> >> Dim s As String >> Dim i As String >> Dim a As New Integer[] >> ''1) with no knowledge of the number of values >> 'init the string >> s = "[12,32,3]" >> >> 'remove unused spaces and braquets >> For Each i In Split(Left(Right(Trim(s), -1), -1)) >> >> a.Add(i) >> >> Next From adamnt42 at ...626... Sat Dec 24 11:56:42 2016 From: adamnt42 at ...626... (adamnt42 at ...626...) Date: Sat, 24 Dec 2016 21:26:42 +1030 Subject: [Gambas-user] Convert string to integer array In-Reply-To: <2c930819-36e5-a2d0-c8cf-3c3aaa80463f@...1...> References: <20161224165910.00a50e477b68bc633f2c2300@...626...> <2c930819-36e5-a2d0-c8cf-3c3aaa80463f@...1...> Message-ID: <20161224212642.8233f40dd3a4abd2f2200f1c@...626...> On Sat, 24 Dec 2016 11:05:00 +0100 Beno?t Minisini wrote: > Le 24/12/2016 ? 09:44, Fabien Bodard a ?crit : > > Public Sub Main() > > > > Dim s As String > > Dim i As String > > Dim a As New Integer[] > > ''1) with no knowledge of the number of values > > 'init the string > > s = "[12,32,3]" > > > > 'remove unused spaces and braquets > > For Each i In Split(Left(Right(Trim(s), -1), -1)) > > > > a.Add(i) > > > > Next > > > > > > > > 'display the array content > > For Each i In a > > Print i > > Next > > > > 2016-12-24 7:29 GMT+01:00 adamnt42 at ...626... : > >> Baffled! > >> > >> I have a string, like "[1,3]", that I want to populate an integer array from. > >> > >> How to? > >> > >> tia > >> > >> -- > >> B Bruen > >> > > Other solution : MyIntegerArray = JSON.Decode(MyString) > > :-) > > -- > Beno?t Minisini > > ------------------------------------------------------------------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today.http://sdm.link/intel > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user Classic! The sun is just about down now, so I'd better go to sleep before the arrival of St Nick. Bon natale everyone. and @Casper, the temp here tomorrow (25th) is expected to be 36C+, which is better than yesterday's forecast of 40C+!!!!! -- B Bruen From mike.crean at ...2897... Sat Dec 24 15:11:36 2016 From: mike.crean at ...2897... (Mike Crean) Date: Sat, 24 Dec 2016 14:11:36 +0000 (UTC) Subject: [Gambas-user] Christmas References: <2110396201.1291167.1482588696561.ref@...3424...> Message-ID: <2110396201.1291167.1482588696561@...3424...> Merry Christmas to all of our Gambaser's. A cool one in Perth WA this year low 39;s for the big day/ Seasons greetings fromMike Crean From mmcg29440 at ...3163... Sat Dec 24 20:10:32 2016 From: mmcg29440 at ...3163... (Martin McGlensey) Date: Sat, 24 Dec 2016 14:10:32 -0500 Subject: [Gambas-user] Use of Embedder Component Message-ID: Hello, I trying to embed a window running on the desktop in a form. The test app is simple a form with a button and a frame. The code below is attached to the "Start" button. I'm running Gambas 3.9.1 under Mint 17 with the Mate desktop. What is the correct syntax for the Desktop.FindWindow command. I used the title shown on the open window I want to embed. Not sure that was correct. Thanks, Marty Gambas class file Public Sub btnStart_Click() Dim hEmbedder As Embedder Dim iWindowinfoArray As Integer[] hEmbedder = New Embedder(iqpy) As "Panadapter" Print Desktop.ActiveWindow * iWindowinfoArray = Desktop.FindWindow("IQ.PY v. 0.30 de AA6E") hEmbedder.Embed(iWindowinfoArray[0]) End Iqpy is the name of the frame on the form. The error occurs at the line marked with the *. ================================================================ 50331653 < Result obtained for the active window (Print Desktop.ActiveWindow) The program 'Panadapter' received an X Window System error. This probably reflects a bug in the program. The error was 'BadWindow (invalid Window parameter)'. (Details: serial 672 error_code 3 request_code 20 minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) From charlie at ...2793... Tue Dec 27 14:45:56 2016 From: charlie at ...2793... (Charlie) Date: Tue, 27 Dec 2016 06:45:56 -0700 (MST) Subject: [Gambas-user] Get Hex from Char using some Code Page In-Reply-To: <1482398613551-58055.post@...3046...> References: <1482398613551-58055.post@...3046...> Message-ID: <1482846356247-58064.post@...3046...> Have a look at the attached program. It will work with the first 48 characters of Code page 866 Hex866.tar -- View this message in context: http://gambas.8142.n7.nabble.com/Get-Hex-from-Char-using-some-Code-Page-tp58055p58064.html Sent from the gambas-user mailing list archive at Nabble.com. From charlie at ...2793... Wed Dec 28 09:09:12 2016 From: charlie at ...2793... (Charlie) Date: Wed, 28 Dec 2016 01:09:12 -0700 (MST) Subject: [Gambas-user] Installing GAMBAS on MINT In-Reply-To: <1482874852424-58065.post@...3046...> References: <1482874852424-58065.post@...3046...> Message-ID: <1482912552141-58066.post@...3046...> Try pressing F4 when looking at the form. Mint comes with an old version of Gambas. If you want to keep up to date with the latest stable release run the following in Terminal. It will add the Gambas repository and update everything for you. *sudo add-apt-repository -y ppa:gambas-team/gambas3 && sudo apt-get update && sudo apt-get update* -- View this message in context: http://gambas.8142.n7.nabble.com/Installing-GAMBAS-on-MINT-tp58065p58066.html Sent from the gambas-user mailing list archive at Nabble.com. From gambas.fr at ...626... Wed Dec 28 12:03:48 2016 From: gambas.fr at ...626... (Fabien Bodard) Date: Wed, 28 Dec 2016 12:03:48 +0100 Subject: [Gambas-user] Installing GAMBAS on MINT In-Reply-To: <1482912552141-58066.post@...3046...> References: <1482874852424-58065.post@...3046...> <1482912552141-58066.post@...3046...> Message-ID: This is strange that I've not receipte this mail 2016-12-28 9:09 GMT+01:00 Charlie : > Try pressing F4 when looking at the form. Mint comes with an old version of > Gambas. If you want to keep up to date with the latest stable release run > the following in Terminal. It will add the Gambas repository and update > everything for you. > *sudo add-apt-repository -y ppa:gambas-team/gambas3 && sudo apt-get update > && sudo apt-get update* > > > > > -- > View this message in context: http://gambas.8142.n7.nabble.com/Installing-GAMBAS-on-MINT-tp58065p58066.html > Sent from the gambas-user mailing list archive at Nabble.com. > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard From bagonergi at ...626... Wed Dec 28 15:47:28 2016 From: bagonergi at ...626... (Gianluigi) Date: Wed, 28 Dec 2016 15:47:28 +0100 Subject: [Gambas-user] Installing GAMBAS on MINT In-Reply-To: References: <1482874852424-58065.post@...3046...> <1482912552141-58066.post@...3046...> Message-ID: True, even I have not received this email, and even this one [0]. Regards Gianluigi [0] http://gambas.8142.n7.nabble.com/Christmas-td58062.html 2016-12-28 12:03 GMT+01:00 Fabien Bodard : > This is strange that I've not receipte this mail > > 2016-12-28 9:09 GMT+01:00 Charlie : > > Try pressing F4 when looking at the form. Mint comes with an old version > of > > Gambas. If you want to keep up to date with the latest stable release run > > the following in Terminal. It will add the Gambas repository and update > > everything for you. > > *sudo add-apt-repository -y ppa:gambas-team/gambas3 && sudo apt-get > update > > && sudo apt-get update* > > > > > > > > > > -- > > View this message in context: http://gambas.8142.n7.nabble. > com/Installing-GAMBAS-on-MINT-tp58065p58066.html > > Sent from the gambas-user mailing list archive at Nabble.com. > > ------------------------------------------------------------ > ------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > _______________________________________________ > > Gambas-user mailing list > > Gambas-user at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From gambas at ...1... Wed Dec 28 17:39:42 2016 From: gambas at ...1... (=?UTF-8?Q?Beno=c3=aet_Minisini?=) Date: Wed, 28 Dec 2016 17:39:42 +0100 Subject: [Gambas-user] Pre-release of gambas 3.9.2 Message-ID: <25ee1dc1-a89a-f4aa-4f5e-1103a6a9a16c@...1...> Hi, I have uploaded the gambas 3.9.2 source package to sourceforge so that people can test it before making the official release. https://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.9.2.tar.bz2/download Please report any problem. I will make the changelog soon. This version includes most of the bug fixes since Gambas 3.9.1, and a few changes in the gb.web.form component that is not yet stable. Enjoy! -- Beno?t Minisini From bugtracker at ...3416... Thu Dec 29 16:00:28 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 29 Dec 2016 15:00:28 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1057: Some problem on smtp component In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1057&from=L21haW4- Comment #1 by Beno?t MINISINI: SSL (not SSH) works correctly, but not TLS, which prints nothing to the standard output. Your change makes the loop test always true, and openssl has only 0.1 second to connect correctly. Not very good, so I just run the loop during 1 second, and assume than openssl is connected if it didn't die in the meantime. Beno?t MINISINI changed the state of the bug to: Working. From bugtracker at ...3416... Thu Dec 29 16:00:47 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 29 Dec 2016 15:00:47 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1057: Some problem on smtp component In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1057&from=L21haW4- Comment #1 by Beno?t MINISINI: SSL (not SSH) works correctly, but not TLS, which prints nothing to the standard output. Your change makes the loop test always true, and openssl has only 0.1 second to connect correctly. Not very good, so I just run the loop during 1 second, and assume than openssl is connected if it didn't die in the meantime. From bugtracker at ...3416... Thu Dec 29 16:02:19 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 29 Dec 2016 15:02:19 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1057: Some problem on smtp component In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1057&from=L21haW4- Comment #1 by Beno?t MINISINI: SSL (not SSH) works correctly, but not TLS, which prints nothing to the standard output. Your change makes the loop test always true, and openssl has only 0.1 second to connect correctly. Not very good, so I just run the loop during 1 second, and assume than openssl is connected if it didn't die in the meantime. From bugtracker at ...3416... Thu Dec 29 16:05:00 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 29 Dec 2016 15:05:00 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1057: Some problem on smtp component In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1057&from=L21haW4- Comment #1 by ADMINISTRATOR: SSL (not SSH) works correctly, but not TLS, which prints nothing to the standard output. Your change makes the loop test always true, and openssl has only 0.1 second to connect correctly. Not very good, so I just run the loop during 1 second, and assume than openssl is connected if it didn't die in the meantime. From bugtracker at ...3416... Thu Dec 29 16:12:58 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 29 Dec 2016 15:12:58 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1057: Some problem on smtp component In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1057&from=L21haW4- Comment #1 by ADMINISTRATOR: SSL (not SSH) works correctly, but not TLS, which prints nothing to the standard output. Your change makes the loop test always true, and openssl has only 0.1 second to connect correctly. Not very good, so I just run the loop during 1 second, and assume than openssl is connected if it didn't die in the meantime. From bugtracker at ...3416... Thu Dec 29 16:28:48 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 29 Dec 2016 15:28:48 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #666: This is a new bug report In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.666&from=L21haW4- Comment #5 by ADMINISTRATOR: test From bugtracker at ...3416... Thu Dec 29 16:29:34 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 29 Dec 2016 15:29:34 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #666: This is a new bug report In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.666&from=L21haW4- Comment #5 by ADMINISTRATOR: test From bugtracker at ...3416... Thu Dec 29 16:29:48 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 29 Dec 2016 15:29:48 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #666: This is a new bug report In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.666&from=L21haW4- Comment #5 by ADMINISTRATOR: test From bugtracker at ...3416... Thu Dec 29 16:31:55 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 29 Dec 2016 15:31:55 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1057: Some problem on smtp component In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1057&from=L21haW4- Comment #2 by Fabien BODARD: ok :-)... i will try this From bugtracker at ...3416... Thu Dec 29 16:32:24 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 29 Dec 2016 15:32:24 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1057: Some problem on smtp component In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1057&from=L21haW4- Comment #2 by Fabien BODARD: ok :-)... i will try this From bugtracker at ...3416... Thu Dec 29 16:37:21 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 29 Dec 2016 15:37:21 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #666: This is a new bug report In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.666&from=L21haW4- Comment #5 by ADMINISTRATOR: test From bugtracker at ...3416... Thu Dec 29 16:37:32 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 29 Dec 2016 15:37:32 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #666: This is a new bug report In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.666&from=L21haW4- Comment #6 by ADMINISTRATOR: test From bugtracker at ...3416... Thu Dec 29 16:37:41 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 29 Dec 2016 15:37:41 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #666: This is a new bug report In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.666&from=L21haW4- Comment #7 by ADMINISTRATOR: test 3 From bugtracker at ...3416... Thu Dec 29 16:38:27 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 29 Dec 2016 15:38:27 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1057: Some problem on smtp component In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1057&from=L21haW4- Comment #2 by Beno?t MINISINI: Adding comments should work correctly again... From bugtracker at ...3416... Thu Dec 29 16:48:25 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 29 Dec 2016 15:48:25 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #666: This is a new bug report In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.666&from=L21haW4- Comment #1 by ADMINISTRATOR: test 4 From bugtracker at ...3416... Thu Dec 29 16:53:46 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 29 Dec 2016 15:53:46 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #666: This is a new bug report In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.666&from=L21haW4- Comment #8 by ADMINISTRATOR: test 4 From bugtracker at ...3416... Thu Dec 29 16:54:09 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 29 Dec 2016 15:54:09 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1057: Some problem on smtp component In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1057&from=L21haW4- Comment #3 by ADMINISTRATOR: Sorry, I ate your comment. From abbat.81 at ...787... Thu Dec 29 16:34:23 2016 From: abbat.81 at ...787... (abbat81) Date: Thu, 29 Dec 2016 08:34:23 -0700 (MST) Subject: [Gambas-user] Get Hex from Char using some Code Page In-Reply-To: <1482846356247-58064.post@...3046...> References: <1482398613551-58055.post@...3046...> <1482846356247-58064.post@...3046...> Message-ID: <1483025663180-58089.post@...3046...> Thank you for program. Help me pleat insert my variable into Chr$(&H &AND_VARIABLE). For now I have: s866_ = "?" Print Hex(String.Code(s866_) - 912) 80 How to send in my Serial: Chr$(&H &AND_VARIABLE) -- View this message in context: http://gambas.8142.n7.nabble.com/Get-Hex-from-Char-using-some-Code-Page-tp58055p58089.html Sent from the gambas-user mailing list archive at Nabble.com. From bugtracker at ...3416... Thu Dec 29 21:24:26 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 29 Dec 2016 20:24:26 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1057: Some problem on smtp component In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1057&from=L21haW4- Comment #4 by Beno?t MINISINI: It should be fixed in revision #8025. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Thu Dec 29 21:34:12 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 29 Dec 2016 20:34:12 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1054: Form_Hide() event not raise when form/window doing minimize/hide In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1054&from=L21haW4- ADMINISTRATOR changed the state of the bug to: Accepted. From bugtracker at ...3416... Thu Dec 29 22:24:21 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 29 Dec 2016 21:24:21 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1056: Components on SidePanel do not respond to right-click or menu keypress events In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1056&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Thu Dec 29 23:59:52 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 29 Dec 2016 22:59:52 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1056: Components on SidePanel do not respond to right-click or menu keypress events In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1056&from=L21haW4- Comment #1 by Beno?t MINISINI: Fixed in revision #8026. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Fri Dec 30 00:01:16 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Thu, 29 Dec 2016 23:01:16 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1051: When I want to watch hFont object, I get interpreter crash In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1051&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Fri Dec 30 01:01:48 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 30 Dec 2016 00:01:48 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1051: When I want to watch hFont object, I get interpreter crash In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1051&from=L21haW4- Comment #1 by Beno?t MINISINI: Fixed in revision #8027. Beno?t MINISINI changed the state of the bug to: Fixed. From abbat.81 at ...787... Fri Dec 30 15:23:04 2016 From: abbat.81 at ...787... (abbat81) Date: Fri, 30 Dec 2016 07:23:04 -0700 (MST) Subject: [Gambas-user] How to Chr$(VARIABLE) as Chr$(&H80) Message-ID: <1483107784471-58096.post@...3046...> Hi all, how to insert my variable in Chr$()? this doesn't work: Dim var as String var = "&H" & "80" Print #Sport, Chr$(var); Thannks in advance. -- View this message in context: http://gambas.8142.n7.nabble.com/How-to-Chr-VARIABLE-as-Chr-H80-tp58096.html Sent from the gambas-user mailing list archive at Nabble.com. From bugtracker at ...3416... Fri Dec 30 18:07:59 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 30 Dec 2016 17:07:59 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1054: Form_Hide() event not raise when form/window doing minimize/hide In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1054&from=L21haW4- Comment #1 by Beno?t MINISINI: Fixed in revision #8028. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Fri Dec 30 18:20:50 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Fri, 30 Dec 2016 17:20:50 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1050: Doing : Me.Show() on Static Public Sub _init(), I get Interpreter crash In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1050&from=L21haW4- Comment #2 by Beno?t MINISINI: Fixed in revision #8029. Now gb.gtk and gb.gtk3 raise the same error as gb.qt and gb.qt5 instead of crashing. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Sat Dec 31 04:31:47 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 31 Dec 2016 03:31:47 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1031: PPA for daily and stable version there is no component gb.qt5.ext In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1031&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Sat Dec 31 04:33:32 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 31 Dec 2016 03:33:32 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1043: Click run twice, I get an interpreter(debugger) crashes In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1043&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Sat Dec 31 10:58:47 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 31 Dec 2016 09:58:47 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1000: Gambas Rnd (Web programming) Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1000&from=L21haW4- Micha? G?OWIENKA reported a new bug. Summary ------- Gambas Rnd (Web programming) Type : Bug Priority : Medium Gambas version : 3.9 Product : Unknown Description ----------- I created a sample code: <% Dim randoms As String Dim I As Integer %> <% For I = 1 To 6%> <%randoms &= Hex$(Int(Rnd(65536)), 4)%> <%Next%>

Gambas web application

<%=randoms%> Value
<%randoms = Null%>
Run with the embedded HTTP server. each page refresh it gives me the same value I tried also with =. It does not work. Always returns the same value. It seems as if RND did not work in this case However, if you run a script gbw3, then this works. If I run through apache2, nginx, lighttpd, then also works. Only in the embedded HTTP server does not work I can also refer to this function: Public Function getrandom() As String Dim uniqueid As String Dim I As Integer For I = 1 To 6 uniqueid &= Hex$(Int(Rnd(65536)), 4) Next Return uniqueid uniqueid = Null End However, any reference to this function returns the same value, only when running is using the embedded HTTP server System information ------------------ [System] Gambas=3.9.2 OperatingSystem=Linux Kernel=4.8.15-1-MANJARO Architecture=x86_64 Distribution=Manjaro Linux Desktop=KDE5 Theme=Breeze Language=pl_PL.UTF-8 Memory=3704M [Libraries] Cairo=libcairo.so.2.11400.8 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.9 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.1002.0 GTK+2=libgtk-x11-2.0.so.0.2400.31 GTK+3=libgtk-3.so.0.2200.5 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.65.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.7.0 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=/usr/share/xsessions/plasma DISPLAY=:0 GB_GUI=gb.qt5 GS_LIB=/.fonts GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/.gtkrc-2.0:/.config/gtkrc-2.0 GTK_MODULES=canberra-gtk-module GTK_RC_FILES=/etc/gtk/gtkrc:/.gtkrc:/.config/gtkrc HOME= KDE_FULL_SESSION=true KDE_MULTIHEAD=false KDE_SESSION_UID=1000 KDE_SESSION_VERSION=5 LANG=pl_PL.UTF-8 LC_ADDRESS=pl_PL.UTF-8 LC_IDENTIFICATION=pl_PL.UTF-8 LC_MEASUREMENT=pl_PL.UTF-8 LC_MONETARY=pl_PL.UTF-8 LC_NAME=pl_PL.UTF-8 LC_NUMERIC=pl_PL.UTF-8 LC_PAPER=pl_PL.UTF-8 LC_TELEPHONE=pl_PL.UTF-8 LC_TIME=pl_PL.UTF-8 LOGNAME= MAIL=/var/spool/mail/ MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl PWD= QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_NO_GLIB=1 SESSION_MANAGER=local/:@/tmp/.ICE-unix/690,unix/:/tmp/.ICE-unix/690 SHELL=/bin/bash SHLVL=1 TZ=:/etc/localtime USER= XAUTHORITY=/tmp/xauth-1000-_0 XCURSOR_THEME=breeze_cursors XDG_CURRENT_DESKTOP=KDE XDG_DATA_DIRS=/usr/share:/usr/share:/usr/local/share XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=KDE XDG_SESSION_ID=c1 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=1 _=/usr/lib/kf5/start_kdeinit_wrapper From bugtracker at ...3416... Sat Dec 31 11:06:29 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 31 Dec 2016 10:06:29 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1: test Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1&from=L21haW4- Beno?t MINISINI reported a new bug. Summary ------- test Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- test System information ------------------ [System] Gambas=3.8.90 r7256 OperatingSystem=Linux Kernel=3.19.0-28-generic Architecture=x86_64 Distribution=Ubuntu 15.04 Desktop=KDE5 Theme=Proxy Language=fr_FR.UTF-8 Memory=6920M [Libraries] Cairo=libcairo.so.2.11400.2 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.8.9 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.405.0 GTK+2=libgtk-x11-2.0.so.0.2400.27 GTK+3=libgtk-3.so.0.1400.13 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.49.0.0 QT4=libQtCore.so.4.8.6 QT5=libQt5Core.so.5.4.1 SDL=libSDL-1.2.so.0.11.4 [Environment] APPMENU_DISPLAY_BOTH=1 CLUTTER_IM_MODULE=xim COLORFGBG=15;0 DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-2t4y2wXGt0,guid=1fc6eb596d9ddf315801f661560543aa DEFAULTS_PATH=/usr/share/gconf/plasma.default.path DESKTOP_SESSION=plasma DISPLAY=:0 EDITOR=kwrite GB_GUI=gb.qt5 GPG_AGENT_INFO=/tmp/gpg-av5n6x/S.gpg-agent:1445:1 GS_LIB=/.fonts GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/.gtkrc-2.0:/.config/gtkrc-2.0 GTK_IM_MODULE=ibus GTK_MODULES=overlay-scrollbar GTK_RC_FILES=/etc/gtk/gtkrc:/.gtkrc:/.config/gtkrc HISTFILESIZE=32000 HISTIGNORE=&:ls:bg:fg:exit HISTSIZE=32000 HOME= KDE_FULL_SESSION=true KDE_MULTIHEAD=false KDE_SESSION_UID=1000 KDE_SESSION_VERSION=5 KONSOLE_DBUS_SERVICE=:1.77 KONSOLE_DBUS_SESSION=/Sessions/6 KONSOLE_DBUS_WINDOW=/Windows/4 KONSOLE_PROFILE_NAME= LANG=fr_FR.UTF-8 LANGUAGE=fr:en_US LESSCLOSE=/usr/bin/lesspipe %s %s LESSOPEN=| /usr/bin/lesspipe %s LOGNAME= LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.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:*.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:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.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:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36: MANDATORY_PATH=/usr/share/gconf/plasma.mandatory.path PAM_KWALLET_LOGIN=/tmp//.socket PATH=/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PROFILEHOME=/gambas/3.0/trunk/app/src/gambas3 PWD=/gambas/3.0/trunk/app/src/gambas3 QT4_IM_MODULE=ibus QT_IM_MODULE=ibus QT_NO_GLIB=1 QT_PLUGIN_PATH=/usr/lib/x86_64-linux-gnu/qt5/plugins:/lib/kde5/plugins/ QT_QPA_PLATFORMTHEME=appmenu-qt5 SESSION_MANAGER=local/:@/tmp/.ICE-unix/1665,unix/:/tmp/.ICE-unix/1665 SHELL=/bin/bash SHELL_SESSION_ID=acd5968e5a7a4000bd7e912657887242 SHLVL=2 SSH_AGENT_PID=1444 SSH_AUTH_SOCK=/tmp/ssh-2oD9wLSt0Qfz/agent.1379 TERM=xterm TZ=:/etc/localtime USER= WINDOWID=106954808 XAUTHORITY=/tmp/xauth-1000-_0 XCURSOR_THEME=breeze_cursors XDG_CONFIG_DIRS=/etc/xdg/xdg-plasma:/etc/xdg:/usr/share/kubuntu-default-settings/kf5-settings XDG_CURRENT_DESKTOP=KDE XDG_DATA_DIRS=/usr/share/plasma:/usr/local/share/:/usr/share/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_CLASS=user XDG_SESSION_COOKIE=f7884399ad4e431ca75cde0ec40003db-1443185578.976142-1967476883 XDG_SESSION_DESKTOP=KDE XDG_SESSION_ID=2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 XDG_SESSION_TYPE=x11 XDG_VTNR=7 XMODIFIERS=@...3498...=ibus _=/usr/bin/gbx3 From bugtracker at ...3416... Sat Dec 31 11:13:10 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 31 Dec 2016 10:13:10 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1055: test 2 Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1055&from=L21haW4- Beno?t MINISINI reported a new bug. Summary ------- test 2 Type : Bug Priority : Medium Gambas version : Unknown Product : Unknown Description ----------- test 2 System information ------------------ [System] Gambas=3.8.90 r7256 OperatingSystem=Linux Kernel=3.19.0-28-generic Architecture=x86_64 Distribution=Ubuntu 15.04 Desktop=KDE5 Theme=Proxy Language=fr_FR.UTF-8 Memory=6920M [Libraries] Cairo=libcairo.so.2.11400.2 Curl=libcurl.so.4.3.0 DBus=libdbus-1.so.3.8.9 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.405.0 GTK+2=libgtk-x11-2.0.so.0.2400.27 GTK+3=libgtk-3.so.0.1400.13 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.49.0.0 QT4=libQtCore.so.4.8.6 QT5=libQt5Core.so.5.4.1 SDL=libSDL-1.2.so.0.11.4 [Environment] APPMENU_DISPLAY_BOTH=1 CLUTTER_IM_MODULE=xim COLORFGBG=15;0 DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-2t4y2wXGt0,guid=1fc6eb596d9ddf315801f661560543aa DEFAULTS_PATH=/usr/share/gconf/plasma.default.path DESKTOP_SESSION=plasma DISPLAY=:0 EDITOR=kwrite GB_GUI=gb.qt5 GPG_AGENT_INFO=/tmp/gpg-av5n6x/S.gpg-agent:1445:1 GS_LIB=/.fonts GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/.gtkrc-2.0:/.config/gtkrc-2.0 GTK_IM_MODULE=ibus GTK_MODULES=overlay-scrollbar GTK_RC_FILES=/etc/gtk/gtkrc:/.gtkrc:/.config/gtkrc HISTFILESIZE=32000 HISTIGNORE=&:ls:bg:fg:exit HISTSIZE=32000 HOME= KDE_FULL_SESSION=true KDE_MULTIHEAD=false KDE_SESSION_UID=1000 KDE_SESSION_VERSION=5 KONSOLE_DBUS_SERVICE=:1.77 KONSOLE_DBUS_SESSION=/Sessions/6 KONSOLE_DBUS_WINDOW=/Windows/4 KONSOLE_PROFILE_NAME= LANG=fr_FR.UTF-8 LANGUAGE=fr:en_US LESSCLOSE=/usr/bin/lesspipe %s %s LESSOPEN=| /usr/bin/lesspipe %s LOGNAME= LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.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:*.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:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.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:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36: MANDATORY_PATH=/usr/share/gconf/plasma.mandatory.path PAM_KWALLET_LOGIN=/tmp//.socket PATH=/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games PROFILEHOME=/gambas/3.0/trunk/app/src/gambas3 PWD=/gambas/3.0/trunk/app/src/gambas3 QT4_IM_MODULE=ibus QT_IM_MODULE=ibus QT_NO_GLIB=1 QT_PLUGIN_PATH=/usr/lib/x86_64-linux-gnu/qt5/plugins:/lib/kde5/plugins/ QT_QPA_PLATFORMTHEME=appmenu-qt5 SESSION_MANAGER=local/:@/tmp/.ICE-unix/1665,unix/:/tmp/.ICE-unix/1665 SHELL=/bin/bash SHELL_SESSION_ID=acd5968e5a7a4000bd7e912657887242 SHLVL=2 SSH_AGENT_PID=1444 SSH_AUTH_SOCK=/tmp/ssh-2oD9wLSt0Qfz/agent.1379 TERM=xterm TZ=:/etc/localtime USER= WINDOWID=106954808 XAUTHORITY=/tmp/xauth-1000-_0 XCURSOR_THEME=breeze_cursors XDG_CONFIG_DIRS=/etc/xdg/xdg-plasma:/etc/xdg:/usr/share/kubuntu-default-settings/kf5-settings XDG_CURRENT_DESKTOP=KDE XDG_DATA_DIRS=/usr/share/plasma:/usr/local/share/:/usr/share/ XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_CLASS=user XDG_SESSION_COOKIE=f7884399ad4e431ca75cde0ec40003db-1443185578.976142-1967476883 XDG_SESSION_DESKTOP=KDE XDG_SESSION_ID=2 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 XDG_SESSION_TYPE=x11 XDG_VTNR=7 XMODIFIERS=@...3498...=ibus _=/usr/bin/gbx3 From bugtracker at ...3416... Sat Dec 31 11:51:44 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 31 Dec 2016 10:51:44 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1058: Gambas Rnd (Web programming) Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1058&from=L21haW4- ADMINISTRATOR reported a new bug. Summary ------- Gambas Rnd (Web programming) Type : Bug Priority : Medium Gambas version : 3.9 Product : Unknown Description ----------- I created a sample code: <% Dim randoms As String Dim I As Integer %> <% For I = 1 To 6%> <%randoms &= Hex$(Int(Rnd(65536)), 4)%> <%Next%>

Gambas web application

<%=randoms%> Value
<%randoms = Null%>
Run with the embedded HTTP server. each page refresh it gives me the same value I tried also with =. It does not work. Always returns the same value. It seems as if RND did not work in this case However, if you run a script gbw3, then this works. If I run through apache2, nginx, lighttpd, then also works. Only in the embedded HTTP server does not work I can also refer to this function: Public Function getrandom() As String Dim uniqueid As String Dim I As Integer For I = 1 To 6 uniqueid &= Hex$(Int(Rnd(65536)), 4) Next Return uniqueid uniqueid = Null End However, any reference to this function returns the same value, only when running is using the embedded HTTP server System information ------------------ [System] Gambas=3.9.2 OperatingSystem=Linux Kernel=4.8.15-1-MANJARO Architecture=x86_64 Distribution=Manjaro Linux Desktop=KDE5 Theme=Breeze Language=pl_PL.UTF-8 Memory=3704M [Libraries] Cairo=libcairo.so.2.11400.8 Curl=libcurl.so.4.4.0 DBus=libdbus-1.so.3.14.9 GStreamer=libgstreamer-0.10.so.0.30.0 GStreamer=libgstreamer-1.0.so.0.1002.0 GTK+2=libgtk-x11-2.0.so.0.2400.31 GTK+3=libgtk-3.so.0.2200.5 OpenGL=libGL.so.1.2.0 Poppler=libpoppler.so.65.0.0 QT4=libQtCore.so.4.8.7 QT5=libQt5Core.so.5.7.0 SDL=libSDL-1.2.so.0.11.4 SQLite=libsqlite3.so.0.8.6 [Environment] DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=/usr/share/xsessions/plasma DISPLAY=:0 GB_GUI=gb.qt5 GS_LIB=/.fonts GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/.gtkrc-2.0:/.config/gtkrc-2.0 GTK_MODULES=canberra-gtk-module GTK_RC_FILES=/etc/gtk/gtkrc:/.gtkrc:/.config/gtkrc HOME= KDE_FULL_SESSION=true KDE_MULTIHEAD=false KDE_SESSION_UID=1000 KDE_SESSION_VERSION=5 LANG=pl_PL.UTF-8 LC_ADDRESS=pl_PL.UTF-8 LC_IDENTIFICATION=pl_PL.UTF-8 LC_MEASUREMENT=pl_PL.UTF-8 LC_MONETARY=pl_PL.UTF-8 LC_NAME=pl_PL.UTF-8 LC_NUMERIC=pl_PL.UTF-8 LC_PAPER=pl_PL.UTF-8 LC_TELEPHONE=pl_PL.UTF-8 LC_TIME=pl_PL.UTF-8 LOGNAME= MAIL=/var/spool/mail/ MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl PWD= QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1 QT_NO_GLIB=1 SESSION_MANAGER=local/:@/tmp/.ICE-unix/690,unix/:/tmp/.ICE-unix/690 SHELL=/bin/bash SHLVL=1 TZ=:/etc/localtime USER= XAUTHORITY=/tmp/xauth-1000-_0 XCURSOR_THEME=breeze_cursors XDG_CURRENT_DESKTOP=KDE XDG_DATA_DIRS=/usr/share:/usr/share:/usr/local/share XDG_RUNTIME_DIR=/run/user/1000 XDG_SEAT=seat0 XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=KDE XDG_SESSION_ID=c1 XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0 XDG_SESSION_TYPE=x11 XDG_VTNR=1 _=/usr/lib/kf5/start_kdeinit_wrapper From bugtracker at ...3416... Sat Dec 31 11:58:50 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 31 Dec 2016 10:58:50 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1058: Gambas Rnd (Web programming) In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1058&from=L21haW4- Comment #1 by ADMINISTRATOR: I think I understood: the embedded HTTP server is the gambas interperter, and it forks to handle a request. So the random number generator has always the same state. I will try to fix that. In the meanwhile, as a workaround, just use the Randomize function before using Rnd. ADMINISTRATOR changed the state of the bug to: Accepted. From bugtracker at ...3416... Sat Dec 31 13:03:23 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 31 Dec 2016 12:03:23 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1043: Click run twice, I get an interpreter(debugger) crashes In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1043&from=L21haW4- Comment #1 by Beno?t MINISINI: Fixed in revision #8031. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Sat Dec 31 13:12:09 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 31 Dec 2016 12:12:09 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1052: IDE Crash when click "Open Terminal" Menu In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1052&from=L21haW4- Comment #1 by Beno?t MINISINI: Fixed in revision #8033. Beno?t MINISINI changed the state of the bug to: Fixed. From bugtracker at ...3416... Sat Dec 31 13:18:23 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 31 Dec 2016 12:18:23 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1042: Can't use --icon argument In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1042&from=L21haW4- Comment #1 by Beno?t MINISINI: I suspect that "--icon" is eaten by QT5 as one of its predefined command-line arguments. But I don't see it in the list written in the QT5 documentation... Beno?t MINISINI changed the state of the bug to: Accepted. From bugtracker at ...3416... Sat Dec 31 13:21:39 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 31 Dec 2016 12:21:39 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1042: Can't use --icon argument In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1042&from=L21haW4- Comment #2 by Beno?t MINISINI: OK, I read the source code, and the following options are eaten by QT5 only when dealing with X11: -icon / --icon -title / --title -geometry / --geometry So you have to use something else! Beno?t MINISINI changed the state of the bug to: Upstream. From bugtracker at ...3416... Sat Dec 31 13:25:36 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 31 Dec 2016 12:25:36 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1048: Using wait on Form_Close () event, I get Interpreter crash In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1048&from=L21haW4- Beno?t MINISINI changed the state of the bug to: Accepted. From charlie at ...2793... Sat Dec 31 12:02:38 2016 From: charlie at ...2793... (Charlie) Date: Sat, 31 Dec 2016 04:02:38 -0700 (MST) Subject: [Gambas-user] How to Chr$(VARIABLE) as Chr$(&H80) In-Reply-To: <1483107784471-58096.post@...3046...> References: <1483107784471-58096.post@...3046...> Message-ID: <1483182158069-58109.post@...3046...> Try changing the following line. *var = Val("&H" & "80")* -- View this message in context: http://gambas.8142.n7.nabble.com/How-to-Chr-VARIABLE-as-Chr-H80-tp58096p58109.html Sent from the gambas-user mailing list archive at Nabble.com. From jussi.lahtinen at ...626... Sat Dec 31 15:50:00 2016 From: jussi.lahtinen at ...626... (Jussi Lahtinen) Date: Sat, 31 Dec 2016 16:50:00 +0200 Subject: [Gambas-user] How to Chr$(VARIABLE) as Chr$(&H80) In-Reply-To: <1483182158069-58109.post@...3046...> References: <1483107784471-58096.post@...3046...> <1483182158069-58109.post@...3046...> Message-ID: var = chr(val("&H" & "80")) Jussi On Sat, Dec 31, 2016 at 1:02 PM, Charlie wrote: > Try changing the following line. > *var = Val("&H" & "80")* > > > > > -- > View this message in context: http://gambas.8142.n7.nabble. > com/How-to-Chr-VARIABLE-as-Chr-H80-tp58096p58109.html > Sent from the gambas-user mailing list archive at Nabble.com. > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > From mmcg29440 at ...3163... Sat Dec 31 17:04:45 2016 From: mmcg29440 at ...3163... (Martin McGlensey) Date: Sat, 31 Dec 2016 11:04:45 -0500 Subject: [Gambas-user] How to embed a window into a scrollable container Message-ID: Hello, I have a window running a python program that I want to embed in a container on a form. I have the embedder working with the main form. When I try to embed the window into the Scrollarea container is just sits on top of the control; the scroll bars are grayed out. I want to be able to move around the embedded window so that a large window can be displayed in a smaller area. Then I want to setup other controls (buttons etc.) on the main form to control other program functions. To point the embedder to the control on the form I use hEmbedder = New Embedder(FMain.Children[1]) As "Panadapter". This appears to get the embedded window near the Scrollarea. I need help with the code and an example of the use of both the Embedder and the ScrollArea would be of great help. Thanks, Marty From bugtracker at ...3416... Sat Dec 31 20:00:37 2016 From: bugtracker at ...3416... (bugtracker at ...3416...) Date: Sat, 31 Dec 2016 19:00:37 GMT Subject: [Gambas-user] [Gambas Bug Tracker] Bug #1048: Using wait on Form_Close () event, I get Interpreter crash In-Reply-To: References: Message-ID: http://gambaswiki.org/bugtracker/edit?object=BUG.1048&from=L21haW4- Comment #1 by Beno?t MINISINI: Fixed (indirectly) by revision #8034. Now calling ShowModal() when the form is already opened raises an error. Beno?t MINISINI changed the state of the bug to: Fixed.