[Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1161: Class Editor is Locked

2017-09-08 Thread Benoît Minisini via Gambas-user



 Message transféré 
Sujet : [Gambas Bug Tracker] Bug #1161: Class Editor is Locked
Date : Fri, 08 Sep 2017 14:44:28 GMT
De : bugtrac...@gambaswiki.org
Pour : deli...@gmail.com, author.i...@gmail.com, mckaygerh...@gmail.com, 
karl.re...@fen-net.de, tmore...@ajm-software.com, fernandojosecab...@gmail.com, 
g4m...@gmail.com

http://gambaswiki.org/bugtracker/edit?object=BUG.1161&from=L21haW4-

Delio CARVALHO added an attachment:

Screenshot_20170908_105520.png




--
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] Fwd: [Gambas Bug Tracker] Bug #1161: Class Editor is Locked

2017-09-08 Thread Benoît Minisini via Gambas-user



 Message transféré 
Sujet : [Gambas Bug Tracker] Bug #1161: Class Editor is Locked
Date : Fri, 08 Sep 2017 14:44:08 GMT
De : bugtrac...@gambaswiki.org
Pour : deli...@gmail.com, author.i...@gmail.com, mckaygerh...@gmail.com, 
karl.re...@fen-net.de, tmore...@ajm-software.com, fernandojosecab...@gmail.com, 
g4m...@gmail.com

http://gambaswiki.org/bugtracker/edit?object=BUG.1161&from=L21haW4-

Comment #37 by Delio CARVALHO:

Disregard my last message please, I think I have performed your suggested test correctly, but unfortunately anything was wrong. 
I couldn't see any output as expected. 


What did I do?
1 - I did a download of your file 
2 - I copied your commited overriding /gb.qt4/src/CWidget.cpp

3 - I Recompiled Gambas3 as follow:
   ./reconf-all
   ./configure -C
   make
   sudo make install
4 - I export GB_QT_KEY_DEBUG=1
5 - I Executed Gambas3 and tried to type anything.

The problem is that I coudn't see any output... What did I do wrong?

Ps. See a Screen Capture of what I did.




--
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] Fwd: [Gambas Bug Tracker] Bug #1161: Class Editor is Locked

2017-09-08 Thread Benoît Minisini via Gambas-user



 Message transféré 
Sujet : [Gambas Bug Tracker] Bug #1161: Class Editor is Locked
Date : Fri, 08 Sep 2017 14:41:17 GMT
De : bugtrac...@gambaswiki.org
Pour : deli...@gmail.com, author.i...@gmail.com, mckaygerh...@gmail.com, 
karl.re...@fen-net.de, tmore...@ajm-software.com, fernandojosecab...@gmail.com, 
g4m...@gmail.com

http://gambaswiki.org/bugtracker/edit?object=BUG.1161&from=L21haW4-

Comment #36 by Delio CARVALHO:

Disregard my last message please, I think I have performed your suggested test correctly, but unfortunately anything was wrong. 
I couldn't see any output as expected. 
What did I do?
1 - I did a download of your file 
2 - I copied your commited overriding /gb.qt4/src/CWidget.cpp

3 - I Recompiled Gambas3 as follow:
   ./reconf-all
   ./configure -C
make
$ sudo make install




--
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] Fwd: [Gambas Bug Tracker] Bug #1161: Class Editor is Locked

2017-09-08 Thread Benoît Minisini via Gambas-user



 Message transféré 
Sujet : [Gambas Bug Tracker] Bug #1161: Class Editor is Locked
Date : Fri, 08 Sep 2017 17:28:51 GMT
De : bugtrac...@gambaswiki.org
Pour : deli...@gmail.com, author.i...@gmail.com, mckaygerh...@gmail.com, 
karl.re...@fen-net.de, tmore...@ajm-software.com, fernandojosecab...@gmail.com, 
g4m...@gmail.com

http://gambaswiki.org/bugtracker/edit?object=BUG.1161&from=L21haW4-

Delio CARVALHO added an attachment:

Compare_root_vs_normal_user.png


.


--
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] Fwd: [Gambas Bug Tracker] Bug #1166: Doing : For Each sDir In Dir("./MyDir", "", gb.Directory), Gambas hang

2017-09-08 Thread Benoît Minisini via Gambas-user



 Message transféré 
Sujet : [Gambas Bug Tracker] Bug #1166: Doing : For Each sDir In Dir("./MyDir", 
"", gb.Directory), Gambas hang
Date : Fri, 08 Sep 2017 22:44:15 GMT
De : bugtrac...@gambaswiki.org
Pour : author.i...@gmail.com, g4m...@gmail.com

http://gambaswiki.org/bugtracker/edit?object=BUG.1166&from=L21haW4-

Zainudin AHMAD added an attachment:

Bug-Hang-Dir-0.0.7.tar.gz




--
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] Fwd: [Gambas Bug Tracker] Bug #1165: Gambas refuses to open files with timers on the form

2017-09-08 Thread Benoît Minisini via Gambas-user



 Message transféré 
Sujet : [Gambas Bug Tracker] Bug #1165: Gambas refuses to open files with 
timers on the form
Date : Fri, 08 Sep 2017 22:17:54 GMT
De : bugtrac...@gambaswiki.org
Pour : tmore...@ajm-software.com, g4m...@gmail.com

http://gambaswiki.org/bugtracker/edit?object=BUG.1165&from=L21haW4-

Tony MOREHEN reported a new bug.

Summary
---

Gambas refuses to open files with timers on the form

Type : Bug
Priority : Medium
Gambas version   : Unknown
Product  : Unknown


Description
---

When opening a project that I haven't edited in some time, Gambas refuses to 
open forms that have a timer on them, reporting an out-of-bounds error at line 
489 in FForm.  line 489 is part of the code interpreting a Move command.  The 
relevant FForm code:

   aCoord = Split(Mid$(sLine, 6, -1))
   X = CInt(aCoord[0])
   Y = CInt(aCoord[1])
   W = CInt(aCoord[2])   '<-- 489
   H = CInt(aCoord[3])

My FMain.form code:

   { Timer1 #Timer
 #Move(168,77)   '<-- this is sLine when the error arises
 Enabled = True
 Delay = 60
   }

I have never hand edited the FMain.form file, nor does the file look corrupt.  
It seems at some point, Gambas changed its file format for timers.


System information
--

[System]
Gambas=3.9.90 r8018
OperatingSystem=Linux
Kernel=4.8.15-1-MANJARO
Architecture=x86_64
Distribution=Manjaro Linux
Desktop=XFCE
Theme=Gtk
Language=en_CA.utf8
Memory=3947M

[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.66.0.0
QT4=libQtCore.so.4.8.7
QT5=libQt5Core.so.5.7.1
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=xfce
DISPLAY=:0.0
GB_GUI=gb.qt4
GDMSESSION=xfce
GLADE_CATALOG_PATH=:
GLADE_MODULE_PATH=:
GLADE_PIXMAP_PATH=:
GTK2_RC_FILES=/.gtkrc-2.0
GTK_MODULES=canberra-gtk-module
HOME=
LANG=en_CA.utf8
LC_ADDRESS=en_CA.UTF-8
LC_IDENTIFICATION=en_CA.UTF-8
LC_MEASUREMENT=en_CA.UTF-8
LC_MONETARY=en_CA.UTF-8
LC_NAME=en_CA.UTF-8
LC_NUMERIC=en_CA.UTF-8
LC_PAPER=en_CA.UTF-8
LC_TELEPHONE=en_CA.UTF-8
LC_TIME=en_CA.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_QPA_PLATFORMTHEME=qt5ct
SAL_USE_VCLPLUGIN=gtk
SESSION_MANAGER=local/:@/tmp/.ICE-unix/9931,unix/:/tmp/.ICE-unix/9931
SHELL=/bin/bash
SHLVL=2
SSH_AGENT_PID=9936
SSH_AUTH_SOCK=/tmp/ssh-bUdChQqs4Zo0/agent.9935
TZ=:/etc/localtime
USER=
XAUTHORITY=/.Xauthority
XDG_CONFIG_DIRS=/etc/xdg
XDG_CURRENT_DESKTOP=XFCE
XDG_DATA_DIRS=/usr/local/share:/usr/share
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/
XDG_MENU_PREFIX=xfce-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_DESKTOP=xfce
XDG_SESSION_ID=c4
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
XDG_SESSION_TYPE=x11
XDG_VTNR=7
_=/usr/bin/gambas3




--
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] Fwd: [Gambas Bug Tracker] Bug #1161: Class Editor is Locked

2017-09-08 Thread Benoît Minisini via Gambas-user



 Message transféré 
Sujet : [Gambas Bug Tracker] Bug #1161: Class Editor is Locked
Date : Fri, 08 Sep 2017 17:28:31 GMT
De : bugtrac...@gambaswiki.org
Pour : deli...@gmail.com, author.i...@gmail.com, mckaygerh...@gmail.com, 
karl.re...@fen-net.de, tmore...@ajm-software.com, fernandojosecab...@gmail.com, 
g4m...@gmail.com

http://gambaswiki.org/bugtracker/edit?object=BUG.1161&from=L21haW4-

Comment #38 by Delio CARVALHO:

I made an important discovery.
As Gambas IDE works well when I execute it as root, So I executed two simultaneously instances of the IDE. 
The first one as root "sudo Gambas3" and the second one as a normal user "Gambas3". 
So I dumped memory used by both Instances to compare and noticed that the instance runned as root has loaded Qt4 libraries while the instance loaded as normal user has loaded QT5 libraries. (See attached image)

So, how can I force Gambas IDE to use QT4 instead QT5?




--
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] Fwd: [Gambas Bug Tracker] Bug #1166: Doing : For Each sDir In Dir("./MyDir", "", gb.Directory), Gambas hang

2017-09-08 Thread Benoît Minisini via Gambas-user



 Message transféré 
Sujet : [Gambas Bug Tracker] Bug #1166: Doing : For Each sDir In Dir("./MyDir", 
"", gb.Directory), Gambas hang
Date : Fri, 08 Sep 2017 22:44:02 GMT
De : bugtrac...@gambaswiki.org
Pour : author.i...@gmail.com, g4m...@gmail.com

http://gambaswiki.org/bugtracker/edit?object=BUG.1166&from=L21haW4-

Zainudin AHMAD reported a new bug.

Summary
---

Doing : For Each sDir In Dir("./MyDir", "", gb.Directory), Gambas hang

Type : Bug
Priority : High
Gambas version   : Master
Product  : Language


Description
---

Doing : For Each sDir In Dir("./MyDir", "", gb.Directory), Gambas hang.
It's fine when run from IDE but after Make Executable and run it from terminal 
the application hang and eat much memory and cpu resource.

Reproduce the Bug :
1) Open Project (attach project)
2) Make Executable
3) Run from terminal ./Bug-Hang-Dir.gambas


System information
--

[System]
Gambas=3.10.90 b77004d (master)
OperatingSystem=Linux
Kernel=4.10.0-28-generic
Architecture=x86_64
Distribution=Ubuntu 16.04.2 LTS
Desktop=XFCE
Theme=Gtk
Language=en_US
Memory=1744M

[Libraries]
Cairo=libcairo.so.2.11400.6
Curl=libcurl.so.4.4.0
DBus=libdbus-1.so.3.14.6
GStreamer=libgstreamer-1.0.so.0.803.0
GTK+2=libgtk-x11-2.0.so.0.2400.30
GTK+3=libgtk-3.so.0.1800.9
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.58.0.0
QT4=libQtCore.so.4.8.7
QT5=libQt5Core.so.5.5.1
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6

[Environment]
CLUTTER_BACKEND=x11
CLUTTER_IM_MODULE=
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-xXdOrc6Okg
DEFAULTS_PATH=/usr/share/gconf/xubuntu.default.path
DESKTOP_SESSION=xubuntu
DISPLAY=:0.0
GB_GUI=gb.qt4
GDMSESSION=xubuntu
GDM_LANG=en_US
GLADE_CATALOG_PATH=:
GLADE_MODULE_PATH=:
GLADE_PIXMAP_PATH=:
GNOME_KEYRING_CONTROL=
GNOME_KEYRING_PID=
GPG_AGENT_INFO=/.gnupg/S.gpg-agent:0:1
GTK_IM_MODULE=
GTK_OVERLAY_SCROLLING=0
HOME=
IM_CONFIG_PHASE=1
INSTANCE=
JOB=dbus
LANG=en_US
LANGUAGE=en_US
LC_ADDRESS=id_ID.UTF-8
LC_ALL=en_US
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=
MANDATORY_PATH=/usr/share/gconf/xubuntu.mandatory.path
PATH=/bin:/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD=
QT4_IM_MODULE=
QT_ACCESSIBILITY=1
QT_IM_MODULE=compose
QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
QT_STYLE_OVERRIDE=gtk
SESSION=xubuntu
SESSIONTYPE=
SESSION_MANAGER=local/:@/tmp/.ICE-unix/1253,unix/:/tmp/.ICE-unix/1253
SHELL=/bin/bash
SHLVL=0
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
TZ=:/etc/localtime
UPSTART_EVENTS=started xsession
UPSTART_INSTANCE=
UPSTART_JOB=startxfce4
UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1072
USER=
XAUTHORITY=/.Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-xubuntu:/usr/share/upstart/xdg:/etc/xdg:/etc/xdg
XDG_CURRENT_DESKTOP=XFCE
XDG_DATA_DIRS=/usr/share/xubuntu:/usr/share/xfce4:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop:/usr/share
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/
XDG_MENU_PREFIX=xfce-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_DESKTOP=xubuntu
XDG_SESSION_ID=c2
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE=x11
XDG_VTNR=7
XMODIFIERS=




--
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] Fwd: [Gambas Bug Tracker] Bug #1165: Gambas refuses to open files with timers on the form

2017-09-08 Thread Benoît Minisini via Gambas-user



 Message transféré 
Sujet : [Gambas Bug Tracker] Bug #1165: Gambas refuses to open files with 
timers on the form
Date : Fri, 08 Sep 2017 22:25:53 GMT
De : bugtrac...@gambaswiki.org
Pour : tmore...@ajm-software.com, g4m...@gmail.com

http://gambaswiki.org/bugtracker/edit?object=BUG.1165&from=L21haW4-

Comment #1 by Tony MOREHEN:

Gambas itself saves the timer specs without the 3rd and 4th elements.  If I 
manually add them, it will open the form ok, but if I then save, exit Gambas, 
then reopen Gambas, Gambas again will refuse to open the form.

I will work around this by declaring the Time in code.




--
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] Fwd: [Gambas Bug Tracker] Bug #1161: Class Editor is Locked

2017-09-08 Thread Benoît Minisini via Gambas-user



 Message transféré 
Sujet : [Gambas Bug Tracker] Bug #1161: Class Editor is Locked
Date : Fri, 08 Sep 2017 20:47:46 GMT
De : bugtrac...@gambaswiki.org
Pour : deli...@gmail.com, author.i...@gmail.com, mckaygerh...@gmail.com, 
karl.re...@fen-net.de, tmore...@ajm-software.com, fernandojosecab...@gmail.com, 
g4m...@gmail.com

http://gambaswiki.org/bugtracker/edit?object=BUG.1161&from=L21haW4-

Comment #39 by Fernando CABRAL:

Délio, as per previous instructions (above) I think the command is: 
GB_GUI=gb.qt4 gambas3.
Nevertheless, I have tried that to no avail.




--
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] Fwd: [Gambas Bug Tracker] Bug #1166: Doing : For Each sDir In Dir("./MyDir", "", gb.Directory), Gambas hang

2017-09-08 Thread Benoît Minisini via Gambas-user



 Message transféré 
Sujet : [Gambas Bug Tracker] Bug #1166: Doing : For Each sDir In Dir("./MyDir", 
"", gb.Directory), Gambas hang
Date : Fri, 08 Sep 2017 23:04:38 GMT
De : bugtrac...@gambaswiki.org
Pour : author.i...@gmail.com, g4m...@gmail.com

http://gambaswiki.org/bugtracker/edit?object=BUG.1166&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] Fwd: [Gambas Bug Tracker] Bug #1165: Gambas refuses to open files with timers on the form

2017-09-08 Thread Benoît Minisini via Gambas-user



 Message transféré 
Sujet : [Gambas Bug Tracker] Bug #1165: Gambas refuses to open files with 
timers on the form
Date : Fri, 08 Sep 2017 23:01:52 GMT
De : bugtrac...@gambaswiki.org
Pour : tmore...@ajm-software.com, g4m...@gmail.com

http://gambaswiki.org/bugtracker/edit?object=BUG.1165&from=L21haW4-

Comment #2 by Benoît MINISINI:

Strange, I have old projects with timers, and I have no problem opening them.

Can you send ma a project you can't open?

Benoît MINISINI changed the state of the bug to: NeedsInfo.




--
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] Fwd: [Gambas Bug Tracker] Bug #1161: Class Editor is Locked

2017-09-08 Thread Benoît Minisini via Gambas-user



 Message transféré 
Sujet : [Gambas Bug Tracker] Bug #1161: Class Editor is Locked
Date : Fri, 08 Sep 2017 23:08:07 GMT
De : bugtrac...@gambaswiki.org
Pour : deli...@gmail.com, author.i...@gmail.com, mckaygerh...@gmail.com, 
karl.re...@fen-net.de, tmore...@ajm-software.com, fernandojosecab...@gmail.com, 
g4m...@gmail.com

http://gambaswiki.org/bugtracker/edit?object=BUG.1161&from=L21haW4-

Comment #40 by Benoît MINISINI:

That's it: GB_GUI=gb.qt4 gambas3




--
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] Fwd: [Gambas Bug Tracker] Bug #1167: Selecting Gambas Highlighting Changes text in gb.form.editor

2017-09-08 Thread Benoît Minisini via Gambas-user



 Message transféré 
Sujet : [Gambas Bug Tracker] Bug #1167: Selecting Gambas Highlighting Changes 
text in gb.form.editor
Date : Fri, 08 Sep 2017 23:12:21 GMT
De : bugtrac...@gambaswiki.org
Pour : tmore...@ajm-software.com, g4m...@gmail.com

http://gambaswiki.org/bugtracker/edit?object=BUG.1167&from=L21haW4-

Tony MOREHEN reported a new bug.

Summary
---

Selecting Gambas Highlighting Changes text in gb.form.editor

Type : Bug
Priority : Medium
Gambas version   : Unknown
Product  : Unknown


Description
---

1) Enter the following text into the text editor "# Gambas Form File 3.0"
2) Change text editor highlighting to gambas
3) The space following "#" will disappear


System information
--

[System]
Gambas=3.9.90 r8018
OperatingSystem=Linux
Kernel=4.8.15-1-MANJARO
Architecture=x86_64
Distribution=Manjaro Linux
Desktop=XFCE
Theme=Gtk
Language=en_CA.utf8
Memory=3947M

[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.66.0.0
QT4=libQtCore.so.4.8.7
QT5=libQt5Core.so.5.7.1
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=xfce
DISPLAY=:0.0
GB_GUI=gb.qt4
GDMSESSION=xfce
GLADE_CATALOG_PATH=:
GLADE_MODULE_PATH=:
GLADE_PIXMAP_PATH=:
GTK2_RC_FILES=/.gtkrc-2.0
GTK_MODULES=canberra-gtk-module
HOME=
LANG=en_CA.utf8
LC_ADDRESS=en_CA.UTF-8
LC_IDENTIFICATION=en_CA.UTF-8
LC_MEASUREMENT=en_CA.UTF-8
LC_MONETARY=en_CA.UTF-8
LC_NAME=en_CA.UTF-8
LC_NUMERIC=en_CA.UTF-8
LC_PAPER=en_CA.UTF-8
LC_TELEPHONE=en_CA.UTF-8
LC_TIME=en_CA.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_QPA_PLATFORMTHEME=qt5ct
SAL_USE_VCLPLUGIN=gtk
SESSION_MANAGER=local/:@/tmp/.ICE-unix/9931,unix/:/tmp/.ICE-unix/9931
SHELL=/bin/bash
SHLVL=2
SSH_AGENT_PID=9936
SSH_AUTH_SOCK=/tmp/ssh-bUdChQqs4Zo0/agent.9935
TZ=:/etc/localtime
USER=
XAUTHORITY=/.Xauthority
XDG_CONFIG_DIRS=/etc/xdg
XDG_CURRENT_DESKTOP=XFCE
XDG_DATA_DIRS=/usr/local/share:/usr/share
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/
XDG_MENU_PREFIX=xfce-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_DESKTOP=xfce
XDG_SESSION_ID=c4
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
XDG_SESSION_TYPE=x11
XDG_VTNR=7
_=/usr/bin/gambas3




--
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] Fwd: [Gambas Bug Tracker] Bug #1166: Doing : For Each sDir In Dir("./MyDir", "", gb.Directory), Gambas hang

2017-09-08 Thread Benoît Minisini via Gambas-user



 Message transféré 
Sujet : [Gambas Bug Tracker] Bug #1166: Doing : For Each sDir In Dir("./MyDir", 
"", gb.Directory), Gambas hang
Date : Fri, 08 Sep 2017 23:34:20 GMT
De : bugtrac...@gambaswiki.org
Pour : author.i...@gmail.com, g4m...@gmail.com

http://gambaswiki.org/bugtracker/edit?object=BUG.1166&from=L21haW4-

Comment #1 by Benoît MINISINI:

Fixed in commit 
https://gitlab.com/gambas/gambas/commit/82c94e87a44e71f20a5348d08a73d6f4f5a65999

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] Fwd: [Gambas Bug Tracker] Bug #1167: Selecting Gambas Highlighting Changes text in gb.form.editor

2017-09-08 Thread Benoît Minisini via Gambas-user



 Message transféré 
Sujet : [Gambas Bug Tracker] Bug #1167: Selecting Gambas Highlighting Changes 
text in gb.form.editor
Date : Fri, 08 Sep 2017 23:36:02 GMT
De : bugtrac...@gambaswiki.org
Pour : tmore...@ajm-software.com, g4m...@gmail.com

http://gambaswiki.org/bugtracker/edit?object=BUG.1167&from=L21haW4-

Comment #1 by Benoît MINISINI:

Yes, Gambas highlighting rewrites the text, as it assumes it is Gambas Basic 
code.

Benoît MINISINI changed the state of the bug to: Rejected.




--
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] Fwd: [Gambas Bug Tracker] Bug #1168: After JSON DECODE, Key column is available but no other columns can be accessed

2017-09-08 Thread Benoît Minisini via Gambas-user



 Message transféré 
Sujet : [Gambas Bug Tracker] Bug #1168: After JSON DECODE, Key column is 
available but no other columns can be accessed
Date : Fri, 08 Sep 2017 23:37:09 GMT
De : bugtrac...@gambaswiki.org
Pour : bradrdo...@yahoo.ca, g4m...@gmail.com

http://gambaswiki.org/bugtracker/edit?object=BUG.1168&from=L21haW4-

Brad DOYLE reported a new bug.

Summary
---

After JSON DECODE, Key column is available but no other columns can be accessed

Type : Bug
Priority : Medium
Gambas version   : Unknown
Product  : Unknown


Description
---

Within the following Sub:

Public Sub Get_Exchange_Info()
 
 Dim Get_Exchange_Info As HttpClient

 Dim sBuffer As String
 Dim colTradingPair As Collection
 Dim colLast As Collection
 Dim colId As Collection
 Dim test As Boolean

 Get_Exchange_Info = New HttpClient As "Get_Exchange_Info"
 Get_Exchange_Info.URL = "https://poloniex.com/public?command=returnTicker";
 Get_Exchange_Info.Async = False
 Get_Exchange_Info.Timeout = 60
 Get_Exchange_Info.Get

 If Get_Exchange_Info.Status < 0 Then
   Print "ERROR"
 Else
   sBuffer = Get_Exchange_Info.ReadLine()
   colTradingPair = JSON.Decode(sBuffer)
   colId = colTradingPair["id"]
   test = colTradingPair.Exist("quoteVolume")
   Print sBuffer
  
 End If
 
End


I get sBuffer back as:

"{\"BTC_BCN\":{\"id\":7,\"last\":\"0.0039\",\"lowestAsk\":\"0.0040\",\"highestBid\":\"0.0039\",\"percentChange\":\"-0.09302325\",\"baseVolume\":\"151.03308398\",\"quoteVolume\":\"375702658.33824027\",\"isFrozen\":\"0\",\"high24hr\":\"0.0044\",\"low24hr\":\"0.0037\"},\"BTC_BELA\":{\"id\":8,\"last\":\"0.3792\",\"lowestAsk\":\"0.3812\",\"highestBid\":\"0.3761\",\"percentChange\":\"-0.02418939\",\"baseVolume\":\"19.44421270\",\"quoteVolume\":\"503084.79461159\",\"isFrozen\":\"0\",\"high24hr\":\"0.4095\",\"low24hr\":\"0.3717\"},\"BTC_BLK\":{\"id\":10,\"last\":\"0.5115\",\"lowestAsk\":\"0.5097\",\"highestBid\":\"0.5049\",\"percentChange\":\"-0.07033805\",\"baseVolume\":\"30.18338515\",\"quoteVolume\":\"570597.75885334\",\"isFrozen\":\"0\",\"high24hr\":\"0.5664\",\"low24hr\":\"0.5036\"},\"BTC_BTCD\":{\"id\":12,\"last\":\"0.03030467\",\"lowestAsk\":\"0.03065146\",\"highestBid\":\"0.03030481\",\"percentChange\":\"-0.08881154\",\"baseVolume\":\"175.79798196\",\"quoteVolume\":\"5417.46408255\",\"isFrozen\":\"0\",\"high24hr\":\"0.03795000\",\"low24hr\":\"0.02895911\"},\"BTC_BTM\":{\"id\":13,\"last\":\"0.00013650\",\"lowestAsk\":\"0.00013650\",\"highestBid\":\"0.00013601\",\"percentChange\":\"-0.07463900\",\"baseVolume\":\"8.28335834\",\"quoteVolume\":\"58029.2026\",\"isFrozen\":\"0\",\"high24hr\":\"0.00015362\",\"low24hr\":\"0.00013265\"},\"BTC_BTS\":{\"id\":14,\"last\":\"0.2988\",\"lowestAsk\":\"0.3000\",\"highestBid\":\"0.2988\",\"percentChange\":\"-0.07377557\",\"baseVolume\":\"1815.07026208\",\"quoteVolume\":\"59301878.86164513\",\"isFrozen\":\"0\",\"high24hr\":\"0.3250\",\"low24hr\":\"0.2889\"},\"BTC_BURST\":{\"id\":15,\"last\":\"0.0242\",\"lowestAsk\":\"0.0246\",\"highestBid\":\"0.0244\",\"percentChange\":\"-0.06201550\",\"baseVolume\":\"135.90670794\",\"quoteVolume\":\"52832438.02447187\",\"isFrozen\":\"0\",\"high24hr\":\"0.0278\",\"low24hr\":\"0.0240\"},\"BTC_CLAM\":{\"id\":20,\"last\":\"0.00165146\",\"lowestAsk\":\"0.00165146\",\"highestBid\":\"0.00164236\",\"percentChange\":\"-0.00076842\",\"baseVolume\":\"79.38234672\",\"quoteVolume\":\"48573.12134851\",\"isFrozen\":\"0\",\"high24hr\":\"0.00168822\",\"low24hr\":\"0.00161000\"},\"BTC_DASH\":{\"id\":24,\"last\":\"0.07607694\",\"lowestAsk\":\"0.07616345\",\"highestBid\":\"0.07588931\",\"percentChange\":\"0.01166143\",\"baseVolume\":\"1670.00857835\",\"quoteVolume\":\"21715.48471222\",\"isFrozen\":\"0\",\"high24hr\":\"0.08050005\",\"low24hr\":\"0.07315803\"},\"BTC_DGB\":{\"id\":25,\"last\":\"0.0378\",\"lowestAsk\":\"0.0380\",\"highestBid\":\"0.0378\",\"percentChange\":\"-0.05025125\",\"baseVolume\":\"793.18202848\",\"quoteVolume\":\"206429625.03812858\",\"isFrozen\":\"0\",\"high24hr\":\"0.0405\",\"low24hr\":\"0.0366\"},\"BTC_DOGE\":{\"id\":27,\"last\":\"0.0041\",\"lowestAsk\":\"0.0042\",\"highestBid\":\"0.0041\",\"percentChange\":\"-0.06818181\",\"baseVolume\":\"300.92895930\",\"quoteVolume\":\"717164928.01750696\",\"isFrozen\":\"0\",\"high24hr\":\"0.0044\",\"low24hr\":\"0.0040\"},\"BTC_EMC2\":{\"id\":28,\"last\":\"0.0838\",\"lowestAsk\":\"0.0838\",\"highestBid\":\"0.0832\",\"percentChange\":\"-0.01295641\",\"baseVolume\":\"20.08517340\",\"quoteVolume\":\"2401590.15059601\",\"isFrozen\":\"0\",\"high24hr\":\"0.0855\",\"low24hr\":\"0.0801\"},\"BTC_FLDC\":{\"id\":31,\"last\":\"0.0321\",\"lowestAsk\":\"0.0324\",\"highestBid\":\"0.0322\",\"percentChange\":\"-0.00310559\",\"baseVolume\":\"9.92500569\",\"quoteVolume\":\"3077844.21258267\",\"isFrozen\":\"0\",\"high24hr\":\"0.0336

[Gambas-user] Fwd: [Gambas Bug Tracker] Bug #1168: After JSON DECODE, Key column is available but no other columns can be accessed

2017-09-08 Thread Benoît Minisini via Gambas-user



 Message transféré 
Sujet : [Gambas Bug Tracker] Bug #1168: After JSON DECODE, Key column is 
available but no other columns can be accessed
Date : Fri, 08 Sep 2017 23:52:53 GMT
De : bugtrac...@gambaswiki.org
Pour : bradrdo...@yahoo.ca, g4m...@gmail.com

http://gambaswiki.org/bugtracker/edit?object=BUG.1168&from=L21haW4-

Comment #1 by Benoît MINISINI:

You does not follow the structure of the JSON you receive. Just use the 
debugger to check the contents of the collection.

Benoît MINISINI changed the state of the bug to: Rejected.




--
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