[Gambas-user] [Gambas Bug Tracker] Bug #1131: Nested WITHs : Cannot use the WITH variable shortcut in child WITH's expression

2017-07-31 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1131=L21haW4-

Comment #1 by Adrien PROKOPOWICZ:

I've actually found a fix to evaluate the expression before entering the WITH 
block. 
But since I'm not confident enough with the compiler's internals to commit it 
directly, I put it in a separate temporary branch on the git repository.
The merge request can be found here : 
https://gitlab.com/prokopyl/gambas/merge_requests/1/diffs



--
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 #1131: Nested WITHs : Cannot use the WITH variable shortcut in child WITH's expression

2017-07-31 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1131=L21haW4-

Adrien PROKOPOWICZ added an attachment:

gbc.out



--
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 #1131: Nested WITHs : Cannot use the WITH variable shortcut in child WITH's expression

2017-07-31 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1131=L21haW4-

Adrien PROKOPOWICZ reported a new bug.

Summary
---

Nested WITHs : Cannot use the WITH variable shortcut in child WITH's expression

Type : Bug
Priority : Medium
Gambas version   : 3.9.90 (TRUNK)
Product  : Language


Description
---

In less confused terms, it means the following construct will not work at 
runtime :

  With obj
.A = 69
With .T2
  .B = 42
End With
  End With

It fails at the second With's declaration with the error : "#12: Not an 
object", although the expression "obj.T2.B = 42" alone is valid and works well.

You can see the full code running here : 
https://gambas-playground.proko.eu/?gist=7404d762b30f40b129f8f6faa8fbe19e

In the example the construct in the TestYes() function works, but the TestNo() 
fails with the above error.

I also looked at the compiled code generated by the compiler (see attached), 
and it seems that the bad function tries to load the variable's value from a 
different stack location (see line 9), which could explain why the interpreter 
finds a bad value.
(This is pure speculation since I know close to nothing about the Gambas 
bytecode, but I thought it might help)


System information
--

[System]
Gambas=3.10.90 git 4304011b0
OperatingSystem=Linux
Kernel=4.12.3-1-ARCH
Architecture=x86_64
Distribution=Arch Linux
Desktop=KDE5
Theme=Breeze
Language=fr_FR.UTF-8
Memory=15965M

[Libraries]
Cairo=libcairo.so.2.11400.10
Curl=libcurl.so.4.0.0
Curl=libcurl.so.4.1.0
Curl=libcurl.so.4.2.0
Curl=libcurl.so.4.3.0
Curl=libcurl.so.4.4.0
DBus=libdbus-1.so.3.14.11
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.1202.0
GTK+2=libgtk-x11-2.0.so.0.2400.31
GTK+3=libgtk-3.so.0.2200.17
OpenGL=libGL.so.1.0.0
Poppler=libpoppler.so.67.0.0
QT4=libQtCore.so.4.8.7
QT5=libQt5Core.so.5.9.1
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6

[Environment]
ANT_HOME=/usr/share/apache-ant
COGL_ATLAS_DEFAULT_BLIT_MODE=framebuffer
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DESKTOP_SESSION=/usr/share/xsessions/plasma
DISPLAY=:0
GB_GUI=gb.qt5
GEM_HOME=/.rvm/gems/ruby-2.3.3
GEM_PATH=/.rvm/gems/ruby-2.3.3:/.rvm/gems/ruby-2.3.3@global
GRADLE_HOME=/usr/share/java/gradle
GS_LIB=/.fonts
GTK_MODULES=canberra-gtk-module
HOME=
IRBRC=/.rvm/rubies/ruby-2.3.3/.irbrc
KDE_FULL_SESSION=true
KDE_SESSION_UID=1000
KDE_SESSION_VERSION=5
LANG=fr_FR.UTF-8
LANGUAGE=
LOGNAME=
MAIL=/var/spool/mail/
MAVEN_OPTS=-Xmx512m
MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins
MY_RUBY_HOME=/.rvm/rubies/ruby-2.3.3
OLDPWD=
PATH=/.rvm/gems/ruby-2.3.3/bin:/.rvm/gems/ruby-2.3.3@global/bin:/.rvm/rubies/ruby-2.3.3/bin:/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:/.rvm/bin
PT5HOME=/opt/pt
PWD=
QSG_RENDER_LOOP=
QT_AUTO_SCREEN_SCALE_FACTOR=0
QT_NO_GLIB=1
QT_QUICK_CONTROLS_STYLE=org.kde.desktop
RUBY_VERSION=ruby-2.3.3
SESSION_MANAGER=local/:@/tmp/.ICE-unix/623,unix/:/tmp/.ICE-unix/623
SHELL=/usr/bin/zsh
SHLVL=1
TZ=:/etc/localtime
USER=
XAUTHORITY=/.Xauthority
XCURSOR_SIZE=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=c2
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
XDG_SESSION_TYPE=x11
XDG_VTNR=1
_=/usr/bin/kwrapper5
__GL_SYNC_TO_VBLANK=1
_system_arch=x86_64
_system_name=Arch
_system_type=Linux
_system_version=libc-2.25
rvm_bin_path=/.rvm/bin
rvm_path=/.rvm
rvm_prefix=
rvm_version=1.27.0 (latest)



--
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 #1130: JSON.Encode serializes null objects as "undefined"

2017-07-29 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1130=L21haW4-

Adrien PROKOPOWICZ reported a new bug.

Summary
---

JSON.Encode serializes null objects as "undefined"

Type : Bug
Priority : Medium
Gambas version   : 3.9.90 (TRUNK)
Product  : Web components


Description
---

See example code here : 
https://gambas-playground.proko.eu/?gist=b70e4b4d0d25d56ba10b1d1ddb6ebfea

If I give JSON.Encode() a Null value (or Variant) it correctly serializes it as 
`null`.
However if I give it a Null object reference, it gets serialized as 
`undefined`. 

Which is surprising, but more importantly it is incorrect as there is no 
`undefined` in JSON.


System information
--

[System]
Gambas=3.9.90 r8147
OperatingSystem=Linux
Kernel=4.11.9-1-ARCH
Architecture=x86_64
Distribution=Arch Linux
Desktop=KDE5
Theme=Breeze
Language=fr_FR.UTF-8
Memory=15965M

[Libraries]
Cairo=libcairo.so.2.11400.10
Curl=libcurl.so.4.0.0
Curl=libcurl.so.4.1.0
Curl=libcurl.so.4.2.0
Curl=libcurl.so.4.3.0
Curl=libcurl.so.4.4.0
DBus=libdbus-1.so.3.14.11
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.1202.0
GTK+2=libgtk-x11-2.0.so.0.2400.31
GTK+3=libgtk-3.so.0.2200.16
OpenGL=libGL.so.1.0.0
Poppler=libpoppler.so.67.0.0
QT4=libQtCore.so.4.8.7
QT5=libQt5Core.so.5.9.1
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6

[Environment]
ANT_HOME=/usr/share/apache-ant
COGL_ATLAS_DEFAULT_BLIT_MODE=framebuffer
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DESKTOP_SESSION=/usr/share/xsessions/plasma
DISPLAY=:0
GB_GUI=gb.qt5
GEM_HOME=/.rvm/gems/ruby-2.3.3
GEM_PATH=/.rvm/gems/ruby-2.3.3:/.rvm/gems/ruby-2.3.3@global
GRADLE_HOME=/usr/share/java/gradle
GS_LIB=/.fonts
GTK_MODULES=canberra-gtk-module
HOME=
IRBRC=/.rvm/rubies/ruby-2.3.3/.irbrc
KDE_FULL_SESSION=true
KDE_SESSION_UID=1000
KDE_SESSION_VERSION=5
LANG=fr_FR.UTF-8
LANGUAGE=
LOGNAME=
MAIL=/var/spool/mail/
MAVEN_OPTS=-Xmx512m
MOZ_PLUGIN_PATH=/usr/lib/mozilla/plugins
MY_RUBY_HOME=/.rvm/rubies/ruby-2.3.3
OLDPWD=
PATH=/.rvm/gems/ruby-2.3.3/bin:/.rvm/gems/ruby-2.3.3@global/bin:/.rvm/rubies/ruby-2.3.3/bin:/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:/.rvm/bin
PT5HOME=/opt/pt
PWD=
QSG_RENDER_LOOP=
QT_AUTO_SCREEN_SCALE_FACTOR=0
QT_NO_GLIB=1
QT_QUICK_CONTROLS_STYLE=org.kde.desktop
RUBY_VERSION=ruby-2.3.3
SESSION_MANAGER=local/:@/tmp/.ICE-unix/584,unix/:/tmp/.ICE-unix/584
SHELL=/usr/bin/zsh
SHLVL=1
TZ=:/etc/localtime
USER=
XAUTHORITY=/.Xauthority
XCURSOR_SIZE=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=c2
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1
XDG_SESSION_TYPE=x11
XDG_VTNR=1
_=/usr/bin/kwrapper5
__GL_SYNC_TO_VBLANK=1
_system_arch=x86_64
_system_name=Arch
_system_type=Linux
_system_version=libc-2.25
rvm_bin_path=/.rvm/bin
rvm_path=/.rvm
rvm_prefix=
rvm_version=1.27.0 (latest)



--
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 #1129: lybrary extern return illegal instruction

2017-07-27 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1129=L21haW4-

Philippe BIENVAULT added an attachment:

factorielle.tar.xz



--
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 #1129: lybrary extern return illegal instruction

2017-07-27 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1129=L21haW4-

Philippe BIENVAULT reported a new bug.

Summary
---

lybrary extern return illegal instruction

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


Description
---

Private Extern factorielle(toto As Integer) As Integer In "libfact"


Public Sub Main()

  Dim aVal As Integer
  
  aVal = factorielle(12) ' -> return illegal instruction


End


System information
--

[System]
Gambas=3.9.2
OperatingSystem=Linux
Kernel=4.4.0-71-generic
Architecture=x86_64
Distribution=Ubuntu 16.04.2 LTS
Desktop=UNITY
Theme=Gtk
Language=fr_FR.UTF-8
Memory=3624M

[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.0.0
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.58.0.0
QT4=libQtCore.so.4.8.7
QT5=libQt5Core.so.5.5.1
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6

[Environment]
CLUTTER_IM_MODULE=xim
COMPIZ_BIN_PATH=/usr/bin/
COMPIZ_CONFIG_PROFILE=ubuntu
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-1SjanrYhNB
DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path
DESKTOP_SESSION=ubuntu
DISPLAY=:0
GB_GUI=gb.qt4
GDMSESSION=ubuntu
GDM_LANG=fr_FR
GIO_LAUNCHED_DESKTOP_FILE=/.local/share/applications/gambas3.desktop
GIO_LAUNCHED_DESKTOP_FILE_PID=11132
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GNOME_KEYRING_CONTROL=
GNOME_KEYRING_PID=
GPG_AGENT_INFO=/.gnupg/S.gpg-agent:0:1
GTK2_MODULES=overlay-scrollbar
GTK_IM_MODULE=ibus
GTK_MODULES=gail:atk-bridge:unity-gtk-module
HOME=
IM_CONFIG_PHASE=1
INSTANCE=
JOB=unity-settings-daemon
LANG=fr_FR.UTF-8
LANGUAGE=fr_FR
LOGNAME=
MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD=
QT4_IM_MODULE=xim
QT_ACCESSIBILITY=1
QT_IM_MODULE=ibus
QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
QT_QPA_PLATFORMTHEME=appmenu-qt5
SESSION=ubuntu
SESSIONTYPE=gnome-session
SESSION_MANAGER=local/:@/tmp/.ICE-unix/1987,unix/:/tmp/.ICE-unix/1987
SHELL=/bin/bash
SHLVL=0
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
TZ=:/etc/localtime
UPSTART_EVENTS=xsession started
UPSTART_INSTANCE=
UPSTART_JOB=unity7
UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1771
USER=
XAUTHORITY=/.Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg
XDG_CURRENT_DESKTOP=Unity
XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/
XDG_MENU_PREFIX=gnome-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_DESKTOP=ubuntu
XDG_SESSION_ID=c2
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE=x11
XDG_VTNR=7
XMODIFIERS=@im=ibus



--
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 #1128: Message.Question should return -1 on cancel

2017-07-20 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1128=L21haW4-

Comment #3 by PICCORO LENZ MCKAY:

inside the ide you can click as if you are into a browser... and see 
documentation in message.question or whatever..

also remenber that some wiki's are not updated, by example i try to mantain the 
spanish wiki up to date.. but i can cover all the changes..



--
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 #1128: Message.Question should return -1 on cancel

2017-07-19 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1128=L21haW4-

Comment #2 by C THAL:

Ok, thank you all. I did not see it because I just saw 
http://gambaswiki.org/wiki/comp/gb.form/message (linked from inside the IDE).



--
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 #1128: Message.Question should return -1 on cancel

2017-07-19 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1128=L21haW4-

Comment #1 by PICCORO LENZ MCKAY:

That is the documented behaviour:

>All Message functions can have up to three buttons:
> * The first button is always the default button.
> * The last button is always the cancel button.

http://gambaswiki.org/wiki/comp/gb.qt4/message

and for tony, it must be answered in the bugtracker.. the nex time, i'll make 
now but take in consideration that the next time:

PICCORO LENZ MCKAY changed the state of the bug to: Invalid.



--
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 #1128: Message.Question should return -1 on cancel

2017-07-19 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1128=L21haW4-

C THAL reported a new bug.

Summary
---

Message.Question should return -1 on cancel

Type : Bug
Priority : Medium
Gambas version   : 3.9.90 (TRUNK)
Product  : Language


Description
---

Message.Question returns 2 if the message window was closed or canceled via 
.

That is bad, especially if there are two buttons and the action should not be 
default, but on button two, like so:

Dim ret as integer

ret = Message.Question("Do you really want to delete all?", "No", "Yes")

--

If the user cancels or closes the window of the message it returns 2! All will 
be deleted ...





--
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 #1127: please switch to libsecret from keyring

2017-07-10 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1127=L21haW4-

Comment #2 by PICCORO LENZ MCKAY:

the requirements for libsecret are very high, with only removal of gnome 
related its just fine..



--
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 #1127: please switch to libsecret from keyring

2017-07-10 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1127=L21haW4-

Comment #1 by Benoît MINISINI:

I deprecated the 'gb.desktop.gnome' component, and do not use it anymore. Is it 
enough for debian?

After all, you don't have to compile all the components to compile Gambas.

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] [Gambas Bug Tracker] Bug #1127: please switch to libsecret from keyring

2017-07-10 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1127=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] [Gambas Bug Tracker] Bug #1127: please switch to libsecret from keyring

2017-07-10 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1127=L21haW4-

Gianfranco COSTAMAGNA reported a new bug.

Summary
---

please switch to libsecret from keyring

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


Description
---

taken from http://bugs.debian.org/867930
Hi,

The libgnome-keyring library is deprecated and its usage is strongly
discouraged [1].

Your package gambas3 declares a build-dependency on
libgnome-keyring-dev or links against libgnome-keyring0.

Please update your application to use libsecret instead [2].
Such a port should ideally happen with upstream being involved.

On behalf of the Debian GNOME team,
Michael Biebl

[1] https://git.gnome.org/browse/libgnome-keyring/commit/?id=6a5adea4aec93
[2] https://wiki.gnome.org/Projects/Libsecret





--
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 #1126: idea to add code snippets

2017-07-10 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1126=L21haW4-

PICCORO LENZ MCKAY changed the state of the bug to: Invalid.




--
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 #1126: idea to add code snippets

2017-07-10 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1126=L21haW4-

Comment #1 by PICCORO LENZ MCKAY:

bugtracker wrote
> It would be a good idea to add code snippets
> something like this:
> Public Const _Properties As String = "*"
> 'Public Const _DefaultEvent As String = ""
> 'Public Const _DefaultSize As String = ""
> 'Public Const _Group As String = ""
> 'Public Const _DrawWith As String = ""
> 'Public Const _Similar As String = ""
>
> Pcdg
>
> Public const default group

You can add these yourself. Press [Ctrl]+[Alt]+P, select 'Code snippets'

<http://gambas.8142.n7.nabble.com/file/n59708/snippet.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] [Gambas Bug Tracker] Bug #1126: idea to add code snippets

2017-07-07 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1126=L21haW4-

Víctor PEREZ reported a new bug.

Summary
---

idea to add code snippets

Type : Request
Priority : Low
Gambas version   : 3.9
Product  : Development Environment


Description
---

It would be a good idea to add code snippets
something like this:
Public Const _Properties As String = "*"
'Public Const _DefaultEvent As String = ""
'Public Const _DefaultSize As String = ""
'Public Const _Group As String = ""
'Public Const _DrawWith As String = ""
'Public Const _Similar As String = ""

Pcdg

Public const default group


System information
--

Gambas=3.9.2
OperatingSystem=Linux
Kernel=3.19.0-32-generic
Architecture=x86
Distribution=Linux Mint 17.3 Rosa
Desktop=MATE
Theme=Gtk
Language=es_UY.UTF-8
Memory=1950M

[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



--
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 #1100: ODBC driver super buggy 1: rs.count return always negative and only one event in lasted

2017-07-06 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1100=L21haW4-

Comment #13 by PICCORO LENZ MCKAY:

now this its a confirmed bug: seems the odbc implementation for TDS protocol in 
gambas does not enabled the advanced cursor.. and uses the default cursor, that 
does not support subquerys (multiple cursor and moveto cursors)

ok, after some research MARS are supported in FreeTDS since version 0.95, its 
not enabled by default, so the problem here its that the gambas implementatin 
seems does not enabled the needed features..

PICCORO LENZ MCKAY 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 #1102: ODBC driver super buggy 3: impossible made subquerys if the previous its a call/select to SP

2017-07-06 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1102=L21haW4-

Comment #5 by PICCORO LENZ MCKAY:

now this its a confirmed bug: seems the odbc implementation for TDS protocol in 
gambas does not enabled the advanced cursor.. and uses the default cursor, that 
does not support subquerys (multiple cursor and moveto cursors)

ok, after some research MARS are supported in FreeTDS since version 0.95, its 
not enabled by default, so the problem here its that the gambas implementatin 
seems does not enabled the needed features..

PICCORO LENZ MCKAY 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 #1102: ODBC driver super buggy 3: impossible made subquerys if the previous its a call/select to SP

2017-07-05 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1102=L21haW4-

Comment #4 by PICCORO LENZ MCKAY:

some info related to this issue too: 
https://github.com/FreeTDS/freetds/issues/131#issuecomment-313166673 but i cant 
understand in total that freddy77 said!



--
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 #1113: ODBC driver problem: driver connects but does not exec query

2017-07-05 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1113=L21haW4-

Comment #15 by PICCORO LENZ MCKAY:

some info from freetds git repo: 
https://github.com/FreeTDS/freetds/issues/131#issuecomment-313166673
are that info usefully? i cannot understant that freddy77 said!



--
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 #1113: ODBC driver problem: driver connects but does not exec query

2017-07-04 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1113=L21haW4-

Comment #14 by PICCORO LENZ MCKAY:

hi, how its the progress on this?, gambas 3.10 i think could be released soon i 
guess/suspect i'm very interesting that of all the reported issues of odbc this 
about inmediate query could be resolved for next release...



--
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 #1125: Editor not available in gb.qt5.ext

2017-06-29 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1125=L21haW4-

Ian HAYWOOD reported a new bug.

Summary
---

Editor not available in gb.qt5.ext

Type : Request
Priority : Low
Gambas version   : 3.9.90 (TRUNK)
Product  : QT5 component


Description
---

The Editor widget is available in gb.qt4 ext but is not available in gb.qt5.ext.
The code needs to be ported to Qt5 from the Qt4 APis, specifcally classes like 
Q3ScroolView which are not available in Qt 5.





--
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 #1102: ODBC driver super buggy 3: impossible made subquerys if the previous its a call/select to SP

2017-06-28 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1102=L21haW4-

Comment #3 by PICCORO LENZ MCKAY:

hi zxMarce, really really thanks for your support, about the subquery problem? 
seem when i have open result (opened cursor i think, with forward only) cannot 
made another query without free the previous result object, or cursor.

that's the principal topic in this bug #1102, i'm not expert but the piece of 
code dont work in some odbc cases, specially with freetds (i cited that due i 
already know you can have it and can access a TDS-like db)

query1 = "select col1, col2 from table1 " '
query2 = "select count(*) as total from table1"  '
Try rs2 = $conexionodbc.Exec(query2)
If rs2.Available Then  ' 
print rs2!total
try rs1 = $conexionodbc.Exec(query1)  ' BUG this raise a problem, 
no rows and some times !
Endif

that piece of code works with mysql only.. (and i'm tyred of mysql je jeje)



--
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 #1102: ODBC driver super buggy 3: impossible made subquerys if the previous its a call/select to SP

2017-06-28 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1102=L21haW4-

Comment #2 by zxMarce:

As per 
https://stackoverflow.com/questions/33940294/sqlgetstmtattr-output-value-for-sql-attr-row-number,
 it seems that SQLite has issues in their ODBC Driver implementation.
Per ODBC definitions, returning negative row values is illegal for a driver in 
the particular ODBC calls the Gambas driver makes to find out a row count.
That being the case I further patched my internal GetRecordCount() function in 
the ODBC Gambas driver to take these illegal values into account.

The actual problem now is that when this issue hits, GetRecordCount() will 
return the default -1 as count, making iteration in a SQLite table hard.
By "hard" I mean that data retrieved is garbage, and I do not yet know why. I'm 
looking into this latest development now.

Regards,
zxMarce.



--
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 #1102: ODBC driver super buggy 3: impossible made subquerys if the previous its a call/select to SP

2017-06-27 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1102=L21haW4-

Comment #1 by PICCORO LENZ MCKAY:

hi, this query make me impossible document and find a solution to how populate 
a grid not using the Data event...

i send a issue to freetds project, due this error today does not permit to me 
got some progress in the odbc+gridview work 
https://github.com/FreeTDS/freetds/issues/131

but the problem i guess its not totally freetds driver due in odbc+sqlite i 
cannot make simple quierys after connected... but the odbc+sqlite module are in 
good shape



--
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 #1124: Gambas trunk 8148 can't find postgres under Arch/manjaro when postgresql 9.6.3-2 is installed

2017-06-24 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1124=L21haW4-

Tony MOREHEN reported a new bug.

Summary
---

Gambas trunk 8148 can't find postgres under Arch/manjaro when postgresql 
9.6.3-2 is installed

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


Description
---

./configure can't find postgres.h and pg_type.h so disables gb.db.postgres
postgres.h is found in /usr/include/postgresql/server/postgres.h
pg_type.h is found in /usr/include/postgresql/server/catalog/pg_type.h
I changed line 16 of  from:
  [GB_FIND(libpq-fe.h postgres.h pg_type.h, /usr/local/lib /usr/local /opt 
/usr/lib /usr, include/pgsql* pgsql*/include include/postgresql* 
postgresql*/include include/postgresql/*/server/catalog 
include/postgresql/*/server include)],

to
  [GB_FIND(libpq-fe.h postgres.h pg_type.h, /usr/local/lib /usr/local /opt 
/usr/lib /usr, include/pgsql* pgsql*/include include/postgresql* 
postgresql*/include include/postgresql/*/server/catalog 
include/postgresql/*/server include/postgresql/server/catalog 
include/postgresql/server include)],

Everything configured OK.

Question: Is include/postgresql/*/server/catalog include/postgresql/*/server 
correct? the /*/ seems out of place.  Maybe should be */

FYI gb.qt5 webkit will not compile under the latest arch/manjaro qt5 webkit 
version:  qt5-webkit-5.212.0alpha2-1-x86_64.  The fault is not Gambas.  
qt5-webkit-5.212.0alpha2-1-x86_64 contains broken pkg-config files.  I've 
raised a bug report with arch.  As a temporary fix, you can overwrite 
/usr/lib/pkgconfig/Qt5WebKitWidgets.pc and /usr/lib/pkgconfig/Qt5WebKit.pc with 
the same files from an earlier version of webkit.


System information
--

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

[Libraries]
Cairo=libcairo.so.2.11400.10
Curl=libcurl.so.4.4.0
DBus=libdbus-1.so.3.14.11
GStreamer=libgstreamer-1.0.so.0.1201.0
GTK+2=libgtk-x11-2.0.so.0.2400.31
GTK+3=libgtk-3.so.0.2200.16
OpenGL=libGL.so.1.0.0
Poppler=libpoppler.so.67.0.0
QT4=libQtCore.so.4.8.7
QT5=libQt5Core.so.5.9.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=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: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/24001,unix/:/tmp/.ICE-unix/24001
SHELL=/bin/bash
SHLVL=1
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
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=c6
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE=x11
XDG_VTNR=7
_=/usr/bin/xfce4-session



--
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 #1123: Desktop.SendMail in its attachment field gives error if file name contains a comma

2017-06-24 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1123=L21haW4-

Víctor PEREZ reported a new bug.

Summary
---

Desktop.SendMail in its attachment field gives error if file name contains a 
comma

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


Description
---

Desktop.SendMail in its attachment field gives error if file name contains a 
comma

Desktop.SendMail  en su campo de archivo adjunto da error si el nombre de 
archivo contiene una coma

name=El Sabado Dia de Reposo(descanso), El Sabbath.lv


Public Sub btnEnviarList_Click()
  Dim archivo As String
  
 'fvwListas.Current=El Sabado Dia de Reposo(descanso), El Sabbath.lv

  archivo = FMain.TusListas & "/" & fvwListas.Current
  
  Print "archivo=" & archivo

  Desktop.SendMail(Null, archivo)
  
Catch
  Debug Error.Text & ":" & Error.Where

End


System information
--

Gambas=3.9.2
OperatingSystem=Linux
Kernel=3.19.0-32-generic
Architecture=x86
Distribution=Linux Mint 17.3 Rosa
Desktop=MATE
Theme=Gtk
Language=es_UY.UTF-8
Memory=1950M

[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



--
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 #1110: Error trying to add event on menu complete

2017-06-23 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1110=L21haW4-

Comment #5 by Víctor PEREZ:

Probe in the development version and the event menu does not appear when you 
type the second low script.



--
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 #1091: MYSQL_OPT_RECONNECT option

2017-06-22 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1091=L21haW4-

Comment #7 by hakan UNVER:

Hii I try Step by step explain.

- We connect Mysql server
- user working smoothly.
- Any Time Mysql Server Stop or have network problem..
- If the user does something at this time
- MYSQL_OPT_RECONNECT  start try reconnecting
- İf Mysql server 15 min Dont work MYSQL_OPT_RECONNECT  Try forever for connect 
server
- This Time User application Not responding.
Question is :  In similar situations How to dedect this situation , or How we 
set MYSQL_OPT_RECONNECT time out option ?



--
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 #1091: MYSQL_OPT_RECONNECT option

2017-06-21 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1091=L21haW4-

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] [Gambas Bug Tracker] Bug #1118: Button copy report does not work, at the end of creating packages.

2017-06-21 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1118=L21haW4-

Comment #2 by Benoît MINISINI:

I have just tested on Mint 17.3 Mate + Cinnamon, and the Mate text editor 
cannot paste the copied. But LibreOffice (for example) can.

So I guess the problem is in the Mate text editor.

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 #1118: Button copy report does not work, at the end of creating packages.

2017-06-21 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1118=L21haW4-

Comment #1 by Benoît MINISINI:

It works perfectly there, on KDE / Ubuntu 17.04.



--
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 #1119: Activate and deactivate breakpoints without deleting them

2017-06-21 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1119=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] [Gambas Bug Tracker] Bug #1110: Error trying to add event on menu complete

2017-06-21 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1110=L21haW4-

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] [Gambas Bug Tracker] Bug #1113: ODBC driver problem: driver connects but does not exec query

2017-06-20 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1113=L21haW4-

Comment #13 by PICCORO LENZ MCKAY:

i think your patch are not so "ugly" due relies on the bad behaviour of the 
ODBC and SQL standar, i mean umm jajaja its very confusing that the ODBC paper 
said after a "susessfull sql ddl" return SQL_NO_DATA event SQL_SUCCESS, but 
with M$ behind scenes.. no surprises..

analizing, if the SQL running was successfully and its no a SQL DML must 
retrieve as response SQL_SUCCESS, the problem maybe are on that cases:

UPDATE, DELETE and INSERT does not retrieve any rows, only notifies was afected 
rows.. so return a SQL_NO_DATA, but are DML, so the only case that return data 
its the SELECT case... so we can assume that any other statement will no return 
never some data.. only "affected rows" so for any SQL query made, we can 
assumed SQL_SUCCESS if no problem was happened.. the only exception will be 
SELECT and for those are not usefully due we not have proper CURSOR, only a 
FORWARD ONLY cursor...

due that explanation, i think the only you can do its to assume that behaviour 
of the "ugly patch", so or SQL_SUCCESS or not...


as a informative for others, SQL querys can be divided into two parts: The Data 
Manipulation Language (DML) querys and the Data Definition Language (DDL) querys

CAUTION: in the stupid mysql and sqlite, the ALTER query has a "afected rows" 
behavior due some info are stored on tables...

EXAMPLES OF SQL DML:

SELECT – this retriebve data always or not
UPDATE – not retrieve data, only "affected rows"
DELETE – not retrieve data, only "affected rows"
INSERT INTO – not retrieve data, only "affected rows"

EXAMPLES OF SQL DDL:

CREATE DATABASE – no any data, only "succesfull or not"
ALTER DATABASE – no any data, only "succesfull or not"
CREATE TABLE – no any data, only "succesfull or not"
ALTER TABLE – no any data, only "succesfull or not"
DROP TABLE – no any data, only "succesfull or not"
CREATE INDEX – crea un índice.
DROP INDEX – borra un índice.

PICCORO LENZ MCKAY 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 #1113: ODBC driver problem: driver connects but does not exec query

2017-06-20 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1113=L21haW4-

Comment #12 by zxMarce:

I'm on it, already fixed, but the way I fixed it not only is not elegant, but 
also plain ugly. 

I would like to get Benoît's opinion on this as well, because the patch 
consists in changing a return code from an ODBC subsystem call so the Gambas 
call does not fail (as I said already, the query is run, but ODBC returns a 
code that was not being taken into account). 

When the query is run by ODBC and returns rows, the return code is SQL_SUCCESS. 
When the query runs but there's no data to retrieve, the same call responds 
SQL_NO_DATA. These constants' values are obviously different. The patch simply 
forces SQL_NO_DATA to be SQL_SUCCESS, but I simply tried a coupla queries, I 
don't really know if this "solution" covers all cases. 

zxMarce.



--
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 #1122: SQL syntax highlighter does not respect continued (multiline) strings

2017-06-20 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1122=L21haW4-

Comment #2 by Benoît MINISINI:

It should be fixed with revision #8145.

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 #1113: ODBC driver problem: driver connects but does not exec query

2017-06-20 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1113=L21haW4-

Comment #11 by PICCORO LENZ MCKAY:

hi, any progress on this?



--
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 #1121: Tabstrip color.

2017-06-20 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1121=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] [Gambas Bug Tracker] Bug #1121: Tabstrip color.

2017-06-20 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1121=L21haW4-

Comment #1 by Benoît MINISINI:

This is not the TabStrip control, but the TabPanel. And this is by design, for 
all multi-containers made in Gambas.

What is needed is a "TextColor" property that would define the foreground color 
of labels.



--
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 #1112: Request to add bufferSize configuration into Local Socket - gb.net

2017-06-19 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1112=L21haW4-

Comment #5 by Olivier CRUILLES:

I will test it soon. Thank you
Olivier



--
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 #1115: Segmentation Fault STREAM_write - gbr3

2017-06-19 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1115=L21haW4-

Comment #3 by Olivier CRUILLES:

I will sent the source code soon.
Olivier



--
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 #1112: Request to add bufferSize configuration into Local Socket - gb.net

2017-06-19 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1112=L21haW4-

Comment #3 by Benoît MINISINI:

Done in revision #8144.

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 #1116: Error when a project has both gb.qt4 and gb.web.form

2017-06-19 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1116=L21haW4-

Comment #2 by Benoît MINISINI:

Fixed in revision #8143.

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 #1110: Error trying to add event on menu complete

2017-06-19 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1110=L21haW4-

Comment #4 by Benoît MINISINI:

I have no error at all on the development version, so I think the bug is 
already fixed.

Is it possible for you to try the development version?

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



--
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 #1115: Segmentation Fault STREAM_write - gbr3

2017-06-19 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1115=L21haW4-

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] [Gambas Bug Tracker] Bug #1122: SQL syntax highlighter does not respect continued (multiline) strings

2017-06-18 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1122=L21haW4-

Bruce BRUEN added an attachment:

Daily Database Updates_055.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] [Gambas Bug Tracker] Bug #1122: SQL syntax highlighter does not respect continued (multiline) strings

2017-06-18 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1122=L21haW4-

Comment #1 by Bruce BRUEN:

The attached project is just a modded version of the component itself.



--
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 #1122: SQL syntax highlighter does not respect continued (multiline) strings

2017-06-18 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1122=L21haW4-

Bruce BRUEN reported a new bug.

Summary
---

SQL syntax highlighter does not respect continued (multiline) strings

Type : Bug
Priority : Low
Gambas version   : 3.9.90 (TRUNK)
Product  : GUI components


Description
---

SQL string literals can continue over multiple lines without any special 
treatment as the string is terminated by the first occurrence of the string 
delimiter used. For example, the SQL source file may contain:

COMMENT ON TABLE jockey_stats IS 'At the moment this table contains the 
crosstabulated monthly figures for the jockey over the last 12 months. It is 
created by an involved query that is run daily.
The column names need changing (desperatley)';

The string is totally delimited by the ' character pair and any CR/LF are 
ignored.

The SQL syntax highlighter does not respect that convention and treats 
everything after the "... run daily." as more of the same string.


System information
--

[System]
Gambas=3.9.90 r8135
OperatingSystem=Linux
Kernel=4.1.15-pclos1
Architecture=x86
Distribution=PCLinuxOS
Desktop=LXDE
Theme=Gtk
Language=en_AU.UTF-8
Memory=1005M

[Libraries]
Cairo=libcairo.so.2.11400.6
Curl=libcurl.so.3.0.0
Curl=libcurl.so.4.4.0
DBus=libdbus-1.so.3.14.6
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.603.0
GTK+2=libgtk-x11-2.0.so.0.2400.26
GTK+3=libgtk-3.so.0.1400.14
OpenGL=libGL.so.1.2.0
OpenGL=libGL.so.173.14.39
OpenGL=libGL.so.96.43.23
Poppler=libpoppler.so.13.0.0
Poppler=libpoppler.so.19.0.0
Poppler=libpoppler.so.46.0.0
Poppler=libpoppler.so.54.0.0
QT4=libQtCore.so.4.8.7
QT5=libQt5Core.so.5.4.2
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6

[Environment]
BROWSER=/usr/bin/www-browser
CANBERRA_DRIVER=pulse
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-6AOFReU3eQ,guid=967e3250abf3a8a11787da3259458417
DESKTOP_SESSION=LXDE
DISPLAY=:0
GB_GUI=gb.qt4
GCONF_TMPDIR=/tmp
GDMSESSION=04LXDE
GDM_XSERVER_LOCATION=local
GIT_PAGER=less -FRS
GPG_AGENT_INFO=/tmp/gpg-5uywEs/S.gpg-agent:3147:1
GTK_MODULES=canberra-gtk-module
GUILE_LOAD_PATH=/usr/share
G_FILENAME_ENCODING=@locale
HISTCONTROL=ignoredups
HISTSIZE=1000
HOME=
HOSTNAME=
INPUTRC=/etc/inputrc
LANG=en_AU.UTF-8
LANGUAGE=en_AU:en_GB:en
LC_ADDRESS=en_AU.UTF-8
LC_COLLATE=en_AU.UTF-8
LC_CTYPE=en_AU.UTF-8
LC_IDENTIFICATION=en_AU.UTF-8
LC_MEASUREMENT=en_AU.UTF-8
LC_MESSAGES=en_AU.UTF-8
LC_MONETARY=en_AU.UTF-8
LC_NAME=en_AU.UTF-8
LC_NUMERIC=en_AU.UTF-8
LC_PAPER=en_AU.UTF-8
LC_SOURCED=1
LC_TELEPHONE=en_AU.UTF-8
LC_TIME=en_AU.UTF-8
LESS=-MM
LESSCHARSET=utf-8
LESSKEY=/etc/.less
LESSOPEN=|/usr/bin/lesspipe.sh %s
LOGNAME=
LS_COLORS=
MAIL=/var/spool/mail/
MDV_MENU_STYLE=discovery
META_CLASS=desktop
NLSPATH=/usr/share/locale/%l/%N
PATH=/bin:/usr/bin:/usr/local/bin:/usr/games:/usr/lib/qt4/bin:/usr/lib/qt5/bin:/usr/bin:/usr/sbin:/usr/lib/kde4/libexec:/bin:/sbin:/usr/X11R6/bin:/usr/games:/usr/local/bin:/usr/local/sbin:/usr/lib/qt5/bin:/usr/bin:/usr/sbin:/usr/lib/kde4/libexec:/bin:/sbin:/usr/X11R6/bin:/usr/games:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/lib/kde4/libexec
PKG_CONFIG_PATH=/usr/lib/pkgconfig
PWD=
PYTHONDONTWRITEBYTECODE=1
PYTHONSTARTUP=/etc/pythonrc.py
QT4DOCDIR=/usr/share/doc/qt4
QT5DOCDIR=/usr/share/doc/qt5
QTDIR=/usr/lib/qt4
QTDIR5=/usr/lib/qt5
QTINC=/usr/lib/qt3/include
QTLIB=/usr/lib
QT_PLUGIN_PATH=/usr/lib/qt4/plugins/:/usr/lib/kde4/plugins/:/usr/lib64/kde4/plugins:/usr/lib/kde4/plugins
QT_XFT=0
SAL_USE_VCLPLUGIN=gtk
SHELL=/bin/bash
SHLVL=2
SSH_AGENT_PID=3091
SSH_ASKPASS=/usr/lib/ssh/ssh-askpass
SSH_AUTH_SOCK=/tmp/ssh-ARhV7y8AZBzn/agent.3083
TMP=/tmp
TMPDIR=/tmp
TZ=:/etc/localtime
USER=
WINDOWPATH=8
XAUTHORITY=/.Xauthority
XDG_CONFIG_DIRS=/etc/xdg/discovery:/etc/xdg
XDG_CONFIG_HOME=/.config
XDG_CURRENT_DESKTOP=LXDE
XDG_DATA_DIRS=/usr/local/share:/usr/share/gdm:/var/lib/menu-xdg:/usr/share:/usr/share/gdm/
XDG_MENU_PREFIX=lxde-
XDG_SESSION_COOKIE=82ab6c261883e9ffe2a80b674b7b435e-1497728016.181950-1353101201
XMODIFIERS=@im=none
_=/usr/bin/gambas3
_LXSESSION_PID=2617



--
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 #1122: SQL syntax highlighter does not respect continued (multiline) strings

2017-06-18 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1122=L21haW4-

Bruce BRUEN added an attachment:

test.form.editor-3.9.90.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] [Gambas Bug Tracker] Bug #1113: ODBC driver problem: driver connects but does not exec query

2017-06-17 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1113=L21haW4-

Comment #10 by PICCORO LENZ MCKAY:

ok, i understand sorry for the noise, its just that i tested many odbc module 
drivers and tested that..

in other words, i tested the condition with sqlite and i confirmed does not 
work..



--
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 #1113: ODBC driver problem: driver connects but does not exec query

2017-06-17 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1113=L21haW4-

Comment #9 by zxMarce:

Piccoro,

As I already told you more than once, ODBC will return the row count thanks to 
the patch I already made given a couple of conditions that depend on the 
low-level driver being correctly configured.

The conditions are:
A- The driver supports ODBC's SQLFetchScroll() call (this is not a driver 
config, but a driver feature), and
B- The driver is configured in such a way that it supports the 
SQL_ATTR_CURSOR_SCROLLABLE flag.

My patch uses condition B to use three times the call in point A in this way:
1- Remember the current row for later getting back to it.
2- Seek up to the first row in the rowset (using SQLFetchScroll)
3- Get the first row's index (firstRecNo)
4- Seek down to the last row in the rowset (using SQLFetchScroll)
5- Get the last row's index (lastRecNo)
6- Seek back to wherever we were at in step 1 (using SQLFetchScroll)
7- Return (lastRecNo - firstRecNo + 1), AKA "Record Count".

For some combinations of driver protocol and MSSQL versions (speaking FreeTDS 
against MSSQL here), I found out that condition B was not met, so I could not 
get a record count.
But for some other -documented- protocol and server combinations the call 
succeeded. The same happens with Firebird, for example.
I never tested it with SQLite3 yet. But I explained this point to you several 
times now. Will not do it again, and this contaminates this particular bug 
report.
zxMare.



--
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 #1113: ODBC driver problem: driver connects but does not exec query

2017-06-17 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1113=L21haW4-

Comment #8 by PICCORO LENZ MCKAY:

hi, zxMarce, thanks for take a shot.. i hope u can doit more due i now very 
busy.. i was thinking.. why odbc to sqlite if there's native sqlite..
well the problem its that must be a standar... odbc makes gambas able to 
connect to any DBMS source

maybe the odbc sqlite driver does not returns the right data? using mysql-odbc 
the SELECT statement returns the amount of rows.. the rest of odbc does not 
return amount of rows... so we have here a controversy.. due maybe we dont know 
where resides the problem

for now i'll make some "notes" about current state in the new odbc wiki of 
gambas (i split the odbc DSN explanation respect gambas specific info), 

and also now, depend on odbc driver module using, there's no current way to 
fill a gridview using the Data event with odbc... due mayority of odbc module 
drivers does not return any info about amount of rows when a SELECT statement 
are used like mysql-odbc does..



--
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 #1113: ODBC driver problem: driver connects but does not exec query

2017-06-17 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1113=L21haW4-

Comment #7 by zxMarce:

Piccoro,

Got more details. This problem would occur with any statement/query that does 
not return data.
For example a CREATE TABLE, DROP TABLE, etc. kind of query.

This occurs when the ODBC SQLExecDirect() call returns code SQL_NO_DATA 
(decimal 100).
My patch attempt only made the problem worse, because now the interpreter 
SEGFAULTs when I take SQL_NO_DATA into account as non-error value.

But the SEGFAULT occurs well after the query is actually run, same as the error 
you encountered.
Still digging...

zxMarce.



--
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 #1113: ODBC driver problem: driver connects but does not exec query

2017-06-17 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1113=L21haW4-

Comment #6 by zxMarce:

Piccoro,

Found out the statement IS executed, this is, in this case the table IS created 
if it did not exist.
You may want to change the bug title, which is misleading.

Anyway, for some reason not yet fully known, the component does fail with an 
internal error when it should not.
Don't know where or why yet though.

zxMarce.



--
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 #1113: ODBC driver problem: driver connects but does not exec query

2017-06-17 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1113=L21haW4-

Comment #5 by zxMarce:

Piccoro,

Just installed SQLite3 on my home laptop. After some twiddling I got the right 
connection string and the test program I once sent you connected OK.
You're correct that there's something wrong when creating tables in SQLite3, 
and it does not matter if the "IF NOT EXISTS" clause is present or not.
I'll investigate further on the matter.

zxMarce.



--
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 #1121: Tabstrip color.

2017-06-16 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1121=L21haW4-

Sean CON added an attachment:

Screenshot_20170617_034736.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] [Gambas Bug Tracker] Bug #1120: segmentation fault

2017-06-16 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1120=L21haW4-

Sean CON reported a new bug.

Summary
---

segmentation fault

Type : Bug
Priority : High
Gambas version   : 3.9
Product  : Unknown


Description
---

Gambas in Manjaro Linux (see uname below) doesn't start from command line.

Error message : Segmentation Fault (core dumped)

uname -a output :
Linux glassplanet 4.9.31-1-MANJARO #1 SMP PREEMPT Wed Jun 7 19:39:15 UTC 2017 
x86_64 GNU/Linux

whereis gambas3 output:
gambas3: /usr/bin/gambas3 /usr/bin/gambas3.gambas /usr/lib/gambas3 
/usr/share/gambas3

package information:
[monsoon@glassplanet ~]$ sudo pacman -Qi gambas3-devel
Name : gambas3-devel
Version  : 3.9.2-4
Beschreibung : Development environment
Architektur  : x86_64
URL  : http://gambas.sourceforge.net/
Lizenzen : GPL2
Gruppen  : gambas3
Stellt bereit: Nichts
Hängt ab von : gambas3-runtime
Optionale Abhängigkeiten : Nichts
Benötigt von : gambas3-ide  gambas3-script
Optional für : Nichts
In Konflikt mit  : Nichts
Ersetzt  : Nichts
Installationsgröße   : 312,00 KiB
Packer   : Evangelos Foutras <evange...@foutrelis.com>
Erstellt am  : Do 27 Apr 2017 06:16:51 CEST
Installiert am   : Do 15 Jun 2017 11:38:15 CEST
Installationsgrund   : Ausdrücklich installiert
Installations-Skript : Nein
Verifiziert durch: Signatur


All files in these directories have +x permission

I need to use sudo to start it.





--
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 #1121: Tabstrip color.

2017-06-16 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1121=L21haW4-

Sean CON reported a new bug.

Summary
---

Tabstrip color.

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


Description
---

The tabstrip label foreground color has no effect.

Steps to reproduce in Gambas-devel 3.9.2 :
1. Create a tabstrip control
2. Change the background color to black (see image) [optional]
3. Change the foreground color to white (see image)

Problem Description:
1. The label of the strip is still black. It has no effect (also not when he 
program is executed)


System information
--

uname -a :
Linux glassplanet 4.9.31-1-MANJARO #1 SMP PREEMPT Wed Jun 7 19:39:15 UTC 2017 
x86_64 GNU/Linux



--
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 #1113: ODBC driver problem: driver connects but does not exec query

2017-06-15 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1113=L21haW4-

Comment #4 by PICCORO LENZ MCKAY:

i'll made your suggestions, but please, 
pardom me, zxmarce, burt if are a low level driver manager problem why are 
working in console?
with php are working too!
there are other minor problems that php does not have and gambas yes.. 

next messager i'll provide the dump



--
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 #1113: ODBC driver problem: driver connects but does not exec query

2017-06-15 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1113=L21haW4-

Comment #3 by zxMarce:

It is unlikely you will see any: If at least one method works, that kind of 
proves unixODBC and Gambas work with -at least- these combinations.
Just in case, please enable DEBUG in the ODBC component and try again in the 
Gambas IDE, dumping the console trace here to see if it is of any help.

This can be (let me stress CAN BE) a low-level driver problem; not all ODBC 
drivers implement all ODBC calls, and not all RDBMS out there may handle all 
ODBC commands.

Regards,
zxMarce.



--
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 #1113: ODBC driver problem: driver connects but does not exec query

2017-06-15 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1113=L21haW4-

Comment #2 by PICCORO LENZ MCKAY:

any progress with this bug? i do not see some work in svn



--
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 #1119: Activate and deactivate breakpoints without deleting them

2017-06-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1119=L21haW4-

Víctor PEREZ reported a new bug.

Summary
---

Activate and deactivate breakpoints without deleting them

Type : Request
Priority : Low
Gambas version   : 3.9
Product  : Unknown


Description
---

In the breakpoints tab, create a button to enable / disable breakpoints, so 
that it is practical to do tests and checks without having to clear breakpoints.

Greetings.


System information
--

Gambas=3.9.2
OperatingSystem=Linux
Kernel=3.19.0-32-generic
Architecture=x86
Distribution=Linux Mint 17.3 Rosa
Desktop=MATE
Theme=Gtk
Language=es_UY.UTF-8
Memory=1950M

[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



--
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 #1118: Button copy report does not work, at the end of creating packages.

2017-06-11 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1118=L21haW4-

Víctor PEREZ added an attachment:

BUG-no copia.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] [Gambas Bug Tracker] Bug #1118: Button copy report does not work, at the end of creating packages.

2017-06-11 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1118=L21haW4-

Víctor PEREZ reported a new bug.

Summary
---

Button copy report does not work, at the end of creating packages.

Type : Bug
Priority : Low
Gambas version   : 3.9
Product  : Bugtracker


Description
---

Button copy report does not work, at the end of creating packages.
And ... how about a button to save the report to a .txt file?

regards


System information
--

Gambas=3.9.2
OperatingSystem=Linux
Kernel=3.19.0-32-generic
Architecture=x86
Distribution=Linux Mint 17.3 Rosa
Desktop=MATE
Theme=Gtk
Language=es_UY.UTF-8
Memory=1950M

[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



--
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 #1117: Search please

2017-06-11 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1117=L21haW4-

C THAL reported a new bug.

Summary
---

Search please

Type : Request
Priority : Medium
Gambas version   : Unknown
Product  : Wiki


Description
---

Gambaswiki should have a tool to search for keywords.





--
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 #1115: Segmentation Fault STREAM_write - gbr3

2017-06-11 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1115=L21haW4-

Comment #2 by Benoît MINISINI:

Anyway, without the source code, it's hard to do anything...



--
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 #1115: Segmentation Fault STREAM_write - gbr3

2017-06-11 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1115=L21haW4-

Comment #1 by Benoît MINISINI:

Which version of Gambas do you use?



--
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 #1116: Error when a project has both gb.qt4 and gb.web.form

2017-06-11 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1116=L21haW4-

Comment #1 by Benoît MINISINI:

Actually these two componennts are not compatible. The bug is that you must not 
be allowed to check them at the same time.

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 #1116: Error when a project has both gb.qt4 and gb.web.form

2017-06-10 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1116=L21haW4-

Safiur RAHMAN reported a new bug.

Summary
---

Error when a project has both gb.qt4 and gb.web.form

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


Description
---

when a project has both gb.qt4 and gb.web.form then following error appears:
"Message.Info incorrectly overridden in class Message"
Is it possible to rename Message class of gb.web.form to WebMessage to avoid 
this?


System information
--

[System]
Gambas=3.9.2
OperatingSystem=Linux
Kernel=4.8.0-53-generic
Architecture=x86_64
Distribution=Ubuntu 16.04.2 LTS
Desktop=UNITY
Theme=Gtk
Language=en_US.UTF-8
Memory=3883M

[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.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_IM_MODULE=xim
COMPIZ_BIN_PATH=/usr/bin/
COMPIZ_CONFIG_PROFILE=ubuntu
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-vrKH8ISy0S
DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path
DESKTOP_SESSION=ubuntu
DISPLAY=:0
GB_GUI=gb.qt4
GDMSESSION=ubuntu
GDM_LANG=en_US
GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop
GIO_LAUNCHED_DESKTOP_FILE_PID=10583
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GNOME_KEYRING_CONTROL=
GNOME_KEYRING_PID=
GPG_AGENT_INFO=/.gnupg/S.gpg-agent:0:1
GTK2_MODULES=overlay-scrollbar
GTK_IM_MODULE=ibus
GTK_MODULES=gail:atk-bridge:unity-gtk-module
HOME=
IM_CONFIG_PHASE=1
INSTANCE=
JOB=unity-settings-daemon
LANG=en_US.UTF-8
LANGUAGE=en_US
LC_ADDRESS=ne_NP
LC_IDENTIFICATION=ne_NP
LC_MEASUREMENT=ne_NP
LC_MONETARY=ne_NP
LC_NAME=ne_NP
LC_NUMERIC=ne_NP
LC_PAPER=ne_NP
LC_TELEPHONE=ne_NP
LC_TIME=ne_NP
LOGNAME=
MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD=
QT4_IM_MODULE=xim
QT_ACCESSIBILITY=1
QT_IM_MODULE=ibus
QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
QT_QPA_PLATFORMTHEME=appmenu-qt5
SESSION=ubuntu
SESSIONTYPE=gnome-session
SESSION_MANAGER=local/:@/tmp/.ICE-unix/1957,unix/:/tmp/.ICE-unix/1957
SHELL=/bin/bash
SHLVL=0
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
TZ=:/etc/localtime
UPSTART_EVENTS=xsession started
UPSTART_INSTANCE=
UPSTART_JOB=unity7
UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1646
USER=
XAUTHORITY=/.Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg
XDG_CURRENT_DESKTOP=Unity
XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/
XDG_MENU_PREFIX=gnome-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_DESKTOP=ubuntu
XDG_SESSION_ID=c2
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE=x11
XDG_VTNR=7
XMODIFIERS=@im=ibus



--
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 #1116: Error when a project has both gb.qt4 and gb.web.form

2017-06-10 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1116=L21haW4-

Safiur RAHMAN added an attachment:

project.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] [Gambas Bug Tracker] Bug #1115: Segmentation Fault STREAM_write - gbr3

2017-06-08 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1115=L21haW4-

Olivier CRUILLES added an attachment:

gbr3_debuger_log.txt



--
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 #1115: Segmentation Fault STREAM_write - gbr3

2017-06-08 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1115=L21haW4-

Olivier CRUILLES reported a new bug.

Summary
---

Segmentation Fault STREAM_write - gbr3

Type : Bug
Priority : Medium
Gambas version   : 3.9
Product  : Networking components


Description
---

Hello,
I've found a bug running command line program in Gambas using massively UDP 
Socket Server and Local Socket.
Attached the gbd trace.
Olivier


System information
--

[System]
Gambas=gbAsStatistics
OperatingSystem=Linux
Kernel=3.10.0-514.16.1.el7.x86_64
Architecture=x86_64
Distribution=redhat CentOS Linux release 7.3.1611 (Core)
Language=en_US.UTF-8
Memory=15101M

[Libraries]

[Environment]
HISTCONTROL=ignoredups
HISTSIZE=1000
HOME=/root
HOSTNAME=mtl-netflow01.sv.stw
LANG=en_US.UTF-8
LESSOPEN=||/usr/bin/lesspipe.sh %s
LOGNAME=root
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:
MAIL=/var/spool/mail/root
OLDPWD=/root/rpmbuild/RPMS/x86_64
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
PWD=/tmp
SELINUX_LEVEL_REQUESTED=
SELINUX_ROLE_REQUESTED=
SELINUX_USE_CURRENT_RANGE=
SHELL=/bin/bash
SHLVL=1
SSH_CLIENT=10.100.21.121 42242 22
SSH_CONNECTION=10.100.21.121 42242 10.35.101.148 22
SSH_TTY=/dev/pts/14
TERM=xterm
TZ=:/etc/localtime
USER=root
XDG_RUNTIME_DIR=/run/user/0
XDG_SESSION_ID=2424
_=./info-gb.gbs



--
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 #1114: Agregar "Insertar fecha"

2017-06-08 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1114=L21haW4-

Comment #3 by Víctor PEREZ:

Yes, the current date and current time according to the format you choose.

Sorry for the text in Spanish, I was wrong and I did not find how to modify it.

Greetings Benoît



--
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 #1112: Request to add bufferSize configuration into Local Socket - gb.net

2017-06-08 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1112=L21haW4-

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 #1114: Agregar "Insertar fecha"

2017-06-08 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1114=L21haW4-

Comment #2 by Benoît MINISINI:

Please don't use spanish!

And I guess you want to insert the current date?

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 #1114: Agregar "Insertar fecha"

2017-06-08 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1114=L21haW4-

Comment #1 by Víctor PEREZ:

It is important to add a date to know when we comment, modify or add some code.

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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #1100: ODBC driver super buggy 1: rs.count return always negative and only one event in lasted

2017-06-06 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1100=L21haW4-

Comment #12 by Leonardo SALAZAR:

I reproduce the error in debian 7 gambas  3.4.2 

the next piece of code always return "-1"
Try rs = $conexionodbc.Exec(query)
If rs.Available Then  ' 
 howmany = rsprices.Count ' 
Endif

get -1 

no way to fetch the data in grid



--
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 #1113: ODBC driver problem: driver connects but does not exec query

2017-06-06 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1113=L21haW4-

PICCORO LENZ MCKAY added an attachment:

error-odbc2.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] [Gambas Bug Tracker] Bug #1113: ODBC driver problem: driver connects but does not exec query

2017-06-06 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1113=L21haW4-

Comment #1 by PICCORO LENZ MCKAY:

now tested better, works only with odbc/postgres using lasted and any 
odbc/mysql, for any odbc/freetds, previous odbc/postgresql or any odbc/sqlite 
or any odbc/mdbtools does not work



--
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 #1113: ODBC driver problem: driver connects but does not exec query

2017-06-05 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1113=L21haW4-

PICCORO LENZ MCKAY reported a new bug.

Summary
---

ODBC driver problem: driver connects but does not exec query

Type : Bug
Priority : High
Gambas version   : 3.9.90 (TRUNK)
Product  : ODBC driver


Description
---

The following simple code does not execute, when used a driver different rather 
than Mysql odbc driver module for ODBC type connections:


   Public Sub Main()
Dim $con As New Connection
Try $con.Close()  '
$con.Type = "odbc"'
$con.Host = "testdb"'
$con.Login = ""'
$con.Password = "" '
$con.Open()   '
Try $con.Exec("CREATE TABLE IF NOT EXISTS tabla1 ( columna1 
VARCHAR(20), columna2 VARCHAR(20))")
Print Error.Text
   End

If the ODBC connection tipe are using a ODBC mysql driver the code will work, 
but with any other type will fails always, i tested in each gambas version 
since 3.5, tested with 3.4 and 3.8 and 3.9 and trunk

the connection string are tested, the ODBC definition are globally at the 
/etc/odbc.ini and its:

[testdb]
Description=Mysql3
Driver=SQLite3
Database=/home/systemas/TEST
# optional lock timeout in milliseconds
Timeout=2000


the connection was tested and working sucessfully with UnixODBC isql command 
line tool:

isql testdb
+---+
| Connected!|
|   |
| sql-statement |
| help [tablename]  |
| quit  |
|   |
+---+
SQL> CREATE TABLE IF NOT EXISTS tabla1 ( columna1 TEXT, columna2 TEXT)
SQLRowCount returns 0
SQL> select * from tabla1
+-+-+
| columna1  


  | columna2



|
+-+-+
+-+-+
SQLRowCount returns 0
SQL> DROP TABLE tabla1
SQLRowCount returns 0
SQL> 

the Gambas code due driver implementation does not return why get and error, in 
second comment i attached image for gambas ide variables in execution


System information
--

[System]
Gambas=3.9.1
OperatingSystem=Linux
Kernel=2.6.38-bpo.2-686
Architecture=x86
Distribution= 6.1
Desktop=
Theme=Gtk
Language=es_VE.UTF-8
Memory=2958M

[Libraries]
Cairo=libcairo.so.2.11000.2
Curl=libcurl.so.4.2.0
DBus=libdbus-1.so.3.4.0
GStreamer=libgstreamer-0.10.so.0.27.0
GTK+2=libgtk-x11-2.0.

[Gambas-user] [Gambas Bug Tracker] Bug #1100: ODBC driver super buggy 1: rs.count return always negative and only one event in lasted

2017-06-03 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1100=L21haW4-

Comment #11 by PICCORO LENZ MCKAY:

hello i tested all the available knowed odbc modules with gambas code, and 
rs.count only returns a result.count with mysql! again, seems here there are 
some spected racism..

Quote:
  SQLRowCount Function
  Conformance
  Version Introduced: ODBC 1.0 Standards Compliance: ISO 92
  Summary
  SQLRowCount returns the number of rows affected by an UPDATE, INSERT, or 
DELETE statement;
  an SQL_ADD, SQL_UPDATE_BY_BOOKMARK, or SQL_DELETE_BY_BOOKMARK operation in 
SQLBulkOperations; 
  or an SQL_UPDATE or SQL_DELETE operation in SQLSetPos

there's not the case for the rest of odbc typoes, only for mysql, and seems for 
sqliteodbc are buggy in mayor funtions, but tested agains isql command line and 
some code with php works..



--
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 #1112: Request to add bufferSize configuration into Local Socket - gb.net

2017-06-02 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1112=L21haW4-

Comment #2 by Olivier CRUILLES:

Hello,
Regarding the documentation of libcurl on what gb.net is based, the buffer size 
can be configured from default value 16kB to 512kB.

I'm developing a process in Gambas to receive more than 10 Flows/sec (maxi 
1464 Bytes per Flow) and split those and retransmit those to 3 others processes 
over Local Socket. There is to many flows to transmit per second over the Local 
Socket that the buffer size by default is not enough I guess. This is the only 
reason that I have found. 
Maybe my usage of Socket is not correct.

Official Documentation of libCurl:

SYNOPSIS

#include 

CURLcode curl_easy_setopt(CURL *handle, CURLOPT_BUFFERSIZE, long size);
DESCRIPTION

Pass a long specifying your preferred size (in bytes) for the receive buffer in 
libcurl. The main point of this would be that the write callback gets called 
more often and with smaller chunks. Secondly, for some protocols, there's a 
benefit of having a larger buffer for performance.

This is just treated as a request, not an order. You cannot be guaranteed to 
actually get the given size.

This buffer size is by default CURL_MAX_WRITE_SIZE (16kB). The maximum buffer 
size allowed to be set is CURL_MAX_READ_SIZE (512kB). The minimum buffer size 
allowed to be set is 1024.
DEFAULT

CURL_MAX_WRITE_SIZE (16kB)



--
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 #1112: Request to add bufferSize configuration into Local Socket - gb.net

2017-06-02 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1112=L21haW4-

Comment #1 by Alexander KUIPER:

What are you trying to achieve here? Normally you can buffer read data in a 
string value until you reach the LOF or a sort-of end of record marker.



--
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 #1112: Request to add bufferSize configuration into Local Socket - gb.net

2017-06-01 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1112=L21haW4-

Olivier CRUILLES reported a new bug.

Summary
---

Request to add bufferSize configuration into Local Socket - gb.net

Type : Request
Priority : Medium
Gambas version   : 3.9.90 (TRUNK)
Product  : Networking components


Description
---

Hello Benoit,
It is possible to add an option to configure the buffer value of a Socket in 
gb.net ?
I did not find it in the documentation.
thank you


System information
--

[System]
Gambas=3.9.90
OperatingSystem=Linux
Kernel=4.4.0-75-generic
Architecture=x86
Distribution=Linux Mint 18.1 Serena
Desktop=MATE
Theme=Gtk
Language=fr_CA.UTF-8
Memory=8098M

[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.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.28.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]
CLUTTER_BACKEND=x11
CLUTTER_IM_MODULE=xim
COMPIZ_CONFIG_PROFILE=mate
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-l4hOArkBvc,guid=acbd9b2811b5f5bd388bfb12592c3c7b
DEFAULTS_PATH=/usr/share/gconf/mate.default.path
DESKTOP_SESSION=mate
DISPLAY=:0
GB_GUI=gb.qt4
GDMSESSION=mate
GDM_XSERVER_LOCATION=local
GTK_IM_MODULE=ibus
GTK_MODULES=gail:atk-bridge
GTK_OVERLAY_SCROLLING=0
HOME=
LANG=fr_CA.UTF-8
LC_ADDRESS=fr_FR.UTF-8
LC_IDENTIFICATION=fr_FR.UTF-8
LC_MEASUREMENT=fr_FR.UTF-8
LC_MONETARY=fr_FR.UTF-8
LC_NAME=fr_FR.UTF-8
LC_NUMERIC=fr_FR.UTF-8
LC_PAPER=fr_FR.UTF-8
LC_TELEPHONE=fr_FR.UTF-8
LC_TIME=fr_FR.UTF-8
LIBVIRT_DEFAULT_URI=qemu:///system
LOGNAME=
MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path
MATE_DESKTOP_SESSION_ID=this-is-deprecated
MDMSESSION=mate
MDM_LANG=fr_CA.UTF-8
MDM_XSERVER_LOCATION=local
PAPERSIZE=a4
PATH=/bin:/usr/local/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
PWD=
QT4_IM_MODULE=xim
QT_ACCESSIBILITY=1
QT_IM_MODULE=ibus
QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
QT_STYLE_OVERRIDE=gtk
SESSION_MANAGER=local/:@/tmp/.ICE-unix/2333,unix/:/tmp/.ICE-unix/2333
SHELL=/bin/bash
SSH_AGENT_PID=2438
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
TZ=:/etc/localtime
USER=
USERNAME=
WINDOWPATH=7
XAUTHORITY=/.Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg
XDG_CURRENT_DESKTOP=MATE
XDG_DATA_DIRS=/usr/share/mate:/usr/local/share/:/usr/share/:/usr/share/mdm/
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SESSION_COOKIE=7799fc85266d4f0d61afdf215179697f-1496071290.556597-1145314354
XDG_SESSION_DESKTOP=mate
XDG_SESSION_ID=c1
XDG_VTNR=7
XMODIFIERS=@im=ibus



--
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 #1111: Request to add bufferSize configuration into Local Socket - gb.net

2017-06-01 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.=L21haW4-

Olivier CRUILLES changed the state of the bug to: Invalid.




--
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 #1111: Request to add bufferSize configuration into Local Socket - gb.net

2017-06-01 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.=L21haW4-

Olivier CRUILLES reported a new bug.

Summary
---

Request to add bufferSize configuration into Local Socket - gb.net

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


Description
---

Hello Benoit,

It is possible to add an option to configure the buffer value of a Socket in 
gb.net ?

I did not find it in the documentation.

thank you


System information
--

[System]
Gambas=3.9.90
OperatingSystem=Linux
Kernel=4.4.0-75-generic
Architecture=x86
Distribution=Linux Mint 18.1 Serena
Desktop=MATE
Theme=Gtk
Language=fr_CA.UTF-8
Memory=8098M

[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.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.28.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]
CLUTTER_BACKEND=x11
CLUTTER_IM_MODULE=xim
COMPIZ_CONFIG_PROFILE=mate
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-l4hOArkBvc,guid=acbd9b2811b5f5bd388bfb12592c3c7b
DEFAULTS_PATH=/usr/share/gconf/mate.default.path
DESKTOP_SESSION=mate
DISPLAY=:0
GB_GUI=gb.qt4
GDMSESSION=mate
GDM_XSERVER_LOCATION=local
GTK_IM_MODULE=ibus
GTK_MODULES=gail:atk-bridge
GTK_OVERLAY_SCROLLING=0
HOME=
LANG=fr_CA.UTF-8
LC_ADDRESS=fr_FR.UTF-8
LC_IDENTIFICATION=fr_FR.UTF-8
LC_MEASUREMENT=fr_FR.UTF-8
LC_MONETARY=fr_FR.UTF-8
LC_NAME=fr_FR.UTF-8
LC_NUMERIC=fr_FR.UTF-8
LC_PAPER=fr_FR.UTF-8
LC_TELEPHONE=fr_FR.UTF-8
LC_TIME=fr_FR.UTF-8
LIBVIRT_DEFAULT_URI=qemu:///system
LOGNAME=
MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path
MATE_DESKTOP_SESSION_ID=this-is-deprecated
MDMSESSION=mate
MDM_LANG=fr_CA.UTF-8
MDM_XSERVER_LOCATION=local
PAPERSIZE=a4
PATH=/bin:/usr/local/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
PWD=
QT4_IM_MODULE=xim
QT_ACCESSIBILITY=1
QT_IM_MODULE=ibus
QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
QT_STYLE_OVERRIDE=gtk
SESSION_MANAGER=local/:@/tmp/.ICE-unix/2333,unix/:/tmp/.ICE-unix/2333
SHELL=/bin/bash
SSH_AGENT_PID=2438
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
TZ=:/etc/localtime
USER=
USERNAME=
WINDOWPATH=7
XAUTHORITY=/.Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg
XDG_CURRENT_DESKTOP=MATE
XDG_DATA_DIRS=/usr/share/mate:/usr/local/share/:/usr/share/:/usr/share/mdm/
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SESSION_COOKIE=7799fc85266d4f0d61afdf215179697f-1496071290.556597-1145314354
XDG_SESSION_DESKTOP=mate
XDG_SESSION_ID=c1
XDG_VTNR=7
XMODIFIERS=@im=ibus



--
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 #1110: Error trying to add event on menu complete

2017-05-27 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1110=L21haW4-

Comment #3 by Víctor PEREZ:

I think the error occurs because there are 2 _



--
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 #1110: Error trying to add event on menu complete

2017-05-27 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1110=L21haW4-

Víctor PEREZ added an attachment:

bug_menu_event-0.1.1.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] [Gambas Bug Tracker] Bug #1110: Error trying to add event on menu complete

2017-05-27 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1110=L21haW4-

Comment #2 by Víctor PEREZ:

To reproduce the error add to Ev_MenuBoton a _ and select the event click and 
press enter



--
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 #1110: Error trying to add event on menu complete

2017-05-27 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1110=L21haW4-

Comment #1 by Benoît MINISINI:

Please post a full project archive that reproduces the bug.

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] [Gambas Bug Tracker] Bug #1110: Error trying to add event on menu complete

2017-05-27 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1110=L21haW4-

Víctor PEREZ added an attachment:

bug_completionMenubutton.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] [Gambas Bug Tracker] Bug #1110: Error trying to add event on menu complete

2017-05-27 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1110=L21haW4-

Víctor PEREZ reported a new bug.

Summary
---

Error trying to add event on menu complete

Type : Bug
Priority : Low
Gambas version   : 3.9
Product  : Bugtracker


Description
---

Error trying to add event

Public Sub Form_Open()

  Dim boton As Button
  Dim MenuBoton As MenuButton
  Dim vers As String
   
  Me.Title = "Ir"
  
  For Each vers In $Lista
' boton = New Button(ScrollView1) As "ScrollView1"
' boton.Font.Size = 11
' boton.Text = vers
MenuBoton = New MenuButton(ScrollView1) As "Ev_MenuBoton"
MenuBoton.Text = vers

  Next
  
End



'event click
Public Sub Ev_MenuBoton_


System information
--

Gambas=3.9.2
OperatingSystem=Linux
Kernel=3.19.0-32-generic
Architecture=x86
Distribution=Linux Mint 17.3 Rosa
Desktop=MATE
Theme=Gtk
Language=es_UY.UTF-8
Memory=1950M

[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



--
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 #1110: Error trying to add event on menu complete

2017-05-27 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1110=L21haW4-

Víctor PEREZ added an attachment:

bug_completion.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] [Gambas Bug Tracker] Bug #1094: Wait command freezes when clock is adjusted back

2017-05-25 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1094=L21haW4-

Comment #2 by Benoît MINISINI:

It should be fixed in revision #8138, where a monotonic clock is sued to 
implement the WAIT instruction.

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 #1109: Wrong Substitution

2017-05-25 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1109=L21haW4-

Comment #1 by Benoît MINISINI:

The Connection.Subst() method is for quoting SQL values. To quote SQL table or 
fields, you must use the Connection.Quote() method.

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] [Gambas Bug Tracker] Bug #1109: Wrong Substitution

2017-05-25 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1109=L21haW4-

Michael ALTROGGE reported a new bug.

Summary
---

Wrong Substitution

Type : Bug
Priority : Medium
Gambas version   : 3.9.90 (TRUNK)
Product  : PostgreSQL driver


Description
---

Doing this:

Public Sub MAIN()
Dim strSQL As String
DatabaseOpenCon()
-->strSQL = DBConMain.Subst("SELECT &1, &2, &3, &4, &5, &6 FROM &7", 
"INDX", "MNDT", "SQLT", "SQLI", "SQLB", "SQLN", "DD00T")
DBErgMain = DBConMain.Exec(strSQL)
For Each DBErgMain
Debug DBErgMain[0], DBErgMain[1], DBErgMain[2], DBErgMain[3], 
DBErgMain[4], DBErgMain[5]
Next
End

will result in that:

--> SYS_DB.MAIN.10: SELECT E'INDX', E'MNDT', E'SQLT', E'SQLI', E'SQLB', E'SQLN' 
FROM E'DD00T'


System information
--

[System]
Gambas=3.9.90
OperatingSystem=Linux
Kernel=4.4.0-72-generic
Architecture=x86_64
Distribution=Linux Mint 18.1 Serena
Desktop=CINNAMON
Theme=Gtk
Language=de_DE.UTF-8
Memory=3511M

[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.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]
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-EFHGqAGhVd,guid=9b762d3834ba788f5de4cc2b5926db76
DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path
DESKTOP_AUTOSTART_ID=107b3a8f22f976950d14957187758163010020170012
DESKTOP_SESSION=cinnamon
DISPLAY=:0
GB_GUI=gb.qt4
GDMSESSION=cinnamon
GDM_XSERVER_LOCATION=local
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GTK_MODULES=gail:atk-bridge
GTK_OVERLAY_SCROLLING=1
HOME=
LANG=de_DE.UTF-8
LOGNAME=
MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path
MDMSESSION=cinnamon
MDM_LANG=de_DE.UTF-8
MDM_XSERVER_LOCATION=local
PATH=/bin:/.local/bin:/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_QPA_PLATFORMTHEME=qgnomeplatform
QT_STYLE_OVERRIDE=gtk
SESSION_MANAGER=local/:@/tmp/.ICE-unix/2017,unix/:/tmp/.ICE-unix/2017
SHELL=/bin/bash
SSH_AGENT_PID=2101
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
TZ=:/etc/localtime
USER=
USERNAME=
WINDOWPATH=7
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=5ab3c275b7304ed3b8aeef9ffcc37eb4-1495718772.950534-1270231686
XDG_SESSION_DESKTOP=cinnamon
XDG_SESSION_ID=c1
XDG_VTNR=7



--
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 #1107: project components unselectable if not qt4 libs complety installed

2017-05-24 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1107=L21haW4-

Comment #7 by PICCORO LENZ MCKAY:

that its a better response for those guys just begin in the gambas world, so 
that problem happened to me and other before, but send a report or ask in mail 
list its very tedious.. not like a forum or a google search with lot of 
solutions...

mark the problem as upstream and not possible to solved from gambas, due relies 
in the qt style selected!

PICCORO LENZ MCKAY 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 #1106: XmlElement.GetChildrenByTagName does get parent too if tag is the same

2017-05-24 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1106=L21haW4-

Comment #3 by Daniel BLANCH BATALLER:

Oh sorry. thanks!



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


  1   2   3   4   5   6   7   8   9   10   >