[Gambas-user] [Gambas Bug Tracker] Bug #1: test
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=@im=ibus _=/usr/bin/gbx3 -- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] [Gambas Bug Tracker] Bug #1058: Gambas Rnd (Web programming)
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 -- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] [Gambas Bug Tracker] Bug #1058: Gambas Rnd (Web programming)
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. -- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] [Gambas Bug Tracker] Bug #1043: Click run twice, I get an interpreter(debugger) crashes
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. -- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] [Gambas Bug Tracker] Bug #1052: IDE Crash when click "Open Terminal" Menu
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. -- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] [Gambas Bug Tracker] Bug #1042: Can't use --icon argument
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. -- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] [Gambas Bug Tracker] Bug #1042: Can't use --icon argument
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. -- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] [Gambas Bug Tracker] Bug #1048: Using wait on Form_Close () event, I get Interpreter crash
http://gambaswiki.org/bugtracker/edit?object=BUG.1048&from=L21haW4- Benoît MINISINI changed the state of the bug to: Accepted. -- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
gambas-user@lists.sourceforge.net
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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
gambas-user@lists.sourceforge.net
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@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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] How to embed a window into a scrollable container
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 -- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] [Gambas Bug Tracker] Bug #1048: Using wait on Form_Close () event, I get Interpreter crash
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. -- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user
[Gambas-user] [Gambas Bug Tracker] Bug #1058: Gambas Rnd (Web programming)
http://gambaswiki.org/bugtracker/edit?object=BUG.1058&from=L21haW4- Comment #2 by Michał GŁOWIENKA: Well, thank you for your answer -- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user