Re: [Gambas-user] Release of Gambas 3.9 - New gb.web.form component

2016-08-29 Thread Christof Thalhofer
Hello Benoît,

Am 28.08.2016 um 13:32 schrieb Benoît Minisini:

> I will try to make a package of all this thing and put it on GitHub, so 
> I learn to use git with Gambas program (It will help me make git support 
> in the IDE)

I do the versioning of my Gambas projects with Git for about two years
now. If you have any questions, feel free to ask me.


Alles Gute

Christof Thalhofer

-- 
Dies ist keine Signatur



signature.asc
Description: OpenPGP digital signature
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #987: gb.dbus insert application process id to bus and interface name.

2016-08-29 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.987=L21haW4-

nemuru TAKEDA reported a new bug.

Summary
---

gb.dbus insert application process id to bus and interface name.

Type : Bug
Priority : High
Gambas version   : 3.8.90 (TRUNK)
Product  : Ubuntu packages


Description
---

for example, if "some-application" register "foobar" class to sesson bus, and 
run at process id "",
bus name and interface name should be

bus name: org.gambas.some-application-
interface name : org.gambas.some.application..foobar

it's trouble for me, because gb.dbus creates unexpected and random names 
always...


System information
--

[System]
Gambas=3.9
OperatingSystem=Linux
Kernel=4.4.0-36-generic
Architecture=x86
Distribution=Ubuntu 16.04.1 LTS
Desktop=
Theme=Gtk
Language=ja_JP.UTF-8
Memory=935M

[Libraries]
Cairo=libcairo.so.2.11400.6
Curl=libcurl.so.4.4.0
DBus=libdbus-1.so.3.14.6
GStreamer=libgstreamer-1.0.so.0.802.0
GTK+2=libgtk-x11-2.0.so.0.2400.30
GTK+3=libgtk-3.so.0.1800.9
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.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
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-AdqeYL5EZc,guid=ecbea02d710ba9d2b0111c7a57c4e50f
DEFAULTS_PATH=/usr/share/gconf/openbox.default.path
DESKTOP_SESSION=openbox
DISPLAY=:0
GB_GUI=gb.qt4
GDMSESSION=openbox
GDM_LANG=ja_JP
GPG_AGENT_INFO=/.gnupg/S.gpg-agent:0:1
GTK_IM_MODULE=fcitx
HOME=
LANG=ja_JP.UTF-8
LANGUAGE=ja_JP.UTF-8
LC_ALL=ja_JP.UTF-8
LOGNAME=
MANDATORY_PATH=/usr/share/gconf/openbox.mandatory.path
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
PWD=
QT4_IM_MODULE=fcitx
QT_IM_MODULE=fcitx
QT_STYLE_OVERRIDE=GTK+
SHELL=/bin/bash
SHLVL=0
SSH_AGENT_PID=2482
SSH_AUTH_SOCK=/tmp/ssh-xbLP3FRBgEDt/agent.2259
TZ=:/etc/localtime
USER=
XAUTHORITY=/.Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-openbox:/etc/xdg
XDG_DATA_DIRS=/usr/share/openbox:/usr/local/share/:/usr/share/
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_DESKTOP=openbox
XDG_SESSION_ID=c2
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE=x11
XDG_VTNR=7
XMODIFIERS=@im=fcitx



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles

2016-08-29 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.984=L21haW4-

Comment #14 by Tobias BOEGE:

>i.e. did you re-./configure gb.openssl
I forgot to mention, after you checked out #7876, you should ./reconf and 
./configure gb.openssl, because I changed the configure.ac.



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles

2016-08-29 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.984=L21haW4-

Tobias BOEGE added an attachment:

test_openssl-0.0.2.tar.gz



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles

2016-08-29 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.984=L21haW4-

Comment #12 by PICCORO LENZ MCKAY:

the code does not compile event with 1.0 due the call u are using are static, 
and in the header of some openssl versions are non static in headers..

my suggestions are usi9ng "inline" event "static" this make the changes able 
event if already declared in header of openssl..

i used a gamba project older that decryp a hash, and with static (in the cases 
that compiles) break with "undefined symbol"  in all the EVP_MD_CTX_ 
funtions redeclared.. with inline declarations this works perfectly!

change "static" with "inline" if u dessire i can pass a older gambas project 
from mail list that used crypto and openssl (both) and seems works..



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles

2016-08-29 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.984=L21haW4-

Comment #11 by Tobias BOEGE:

>why limit the compilation of the gambas for the people that are using?
If you can show me that you *were* using gb.openssl on your system, which means 
the 3.8.4 version compiled, installed and actually *ran a project*, then we can 
reopen this report.

>only we must to change the free context call and that's all
Well, if it's that simple (it might very well be), then just write a patch, 
verify that it makes gb.openssl projects run and send it to me for review.

>maybe with static inline, this makle it only works in context?
I don't know what you're referring to and I don't think this is an issue with 
static inline. If you want to have this issue solved, take your time to work 
out a solution, a real solution in the form of a patch, on your specific 
system, instead of yelling C keywords and having me check your vague suspicions.



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles

2016-08-29 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.984=L21haW4-

Comment #10 by PICCORO LENZ MCKAY:

maybe with static inline, this makle it only works in context?



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles

2016-08-29 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.984=L21haW4-

Comment #9 by PICCORO LENZ MCKAY:

maybe with static inline, this makle it only works in context?



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles

2016-08-29 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.984=L21haW4-

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




--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles

2016-08-29 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.984=L21haW4-

Comment #8 by PICCORO LENZ MCKAY:

yeah the EVP_MD_do_all are not filled, and ... 

the patch i send will crash if a openssl proyect will run.. this due the 
EVP_MD_CTX_free(ctx) call u added at last in the digest.. why limit the 
compilation of the gambas for the people that are using?

analising the code the module works, only we must to change the free context 
call and that's all

why u does not want to support the older openssl, not all the linux environment 
support lasted packages.. some sure still use openssl older revisions, maybe 
redhat 6 or centos 5 so u must help to made available to compile, i try to post 
some help



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles

2016-08-29 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.984=L21haW4-

Comment #7 by Tobias BOEGE:

>the 3.8.4 gambas release compiles with debian lenny and debian squeeze
It may compile, but did it link and run properly, that is to ask: do you 
remember to have ever started a gb.openssl project in that environment? Because 
if the function EVP_MD_do_all() is missing from your OpenSSL, you may have 
gotten a warning from the compiler, but the component would still be compiled 
and installed. An error would only happen when you start a gb.openssl project 
and the dynamic linker is invoked.

>backported
Yes, and it apparently comes with a ton of patches, but none of these patches 
adds EVP_MD_do_all() (provided I applied them correctly, according to the 
"series" file in the Debian package). So I'm still clueless about that.

>until last march of current year
Yes, from what I gathered, that is when even the LTS period for squeeze-lts 
ended. To be frank, I'm not so eager to shovel through old OpenSSL code and 
Debian patches anymore just to make gb.openssl compile on some old Debian that 
is past its expiration date.

I will just set a minimum requirement of OpenSSL >= 1.0.0 for gb.openssl in the 
next revision. That way you would not get a compilation error on your system, 
but another incompatible component. However, *if* gb.openssl worked well for 
you in 3.8.4 you can patch Gambas on your own (as I believe you already do 
anyway). You just take the source files from the 3.8.4 version of gb.openssl 
[1] and revert the commit that sets the minimum OpenSSL version to 1.0.0. That 
should restore the state to what probably worked for you. If you believe you 
have found a way to make gb.openssl run (not only compile) on your system 
without breaking anything else, you can send it to the mailing list.

I don't know how many distributions out there still use OpenSSL < 1.0.0, but if 
someone else is troubled by my decision, feel free to open a report. As per [2] 
the version 1.0.0 seems to be the first to include EVP_MD_do_all(), which, as I 
said, is crucial to the gb.openssl interface.

[1] 
https://sourceforge.net/p/gambas/code/HEAD/tree/gambas/tags/3.8.4/gb.openssl/src/
[2] https://www.openssl.org/news/changelog.html#x32

Tobias BOEGE changed the state of the bug to: Rejected.



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #855: [gb.report2] blank report, use more than 90% resource CPU

2016-08-29 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.855=L21haW4-

Comment #11 by PICCORO LENZ MCKAY:

using lasted from trunk with specific desktop and only 2 cores of cpu:

with GTK2: 2.20 no cpu usage.. using debian lenny 10 years old and fill data of 
report with 125000 strings
with QT4: 4.6.3 only 25% usage.. using debian squeeze 6 years old and fill data 
of report with 125000 strings

in debian jessie with qt5 got 50/60% usage with 4 cores of cpu



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #986: tolls - open terminal does nothign if no terminal are common

2016-08-29 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.986=L21haW4-

Comment #8 by PICCORO LENZ MCKAY:

my faul now its raised.. i upgraded but not closed the ide for 2 weeks, not 
restart ide and said 3.9.99 and raised error.. thanks, so its not bug as i 
posted initially, its a request to include "x-terminal-emulator" as a optional 
terminal



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #986: tolls - open terminal does nothign if no terminal are common

2016-08-29 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.986=L21haW4-

Comment #7 by PICCORO LENZ MCKAY:

the compiled version are from trunk, oh we discovered a other bug! if i 
upgraded gambas from 3.8.4 to 3.9.99 from trunk the about and sistem 
information reports 3.8.4 see picture



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #986: tolls - open terminal does nothign if no terminal are common

2016-08-29 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.986=L21haW4-

Comment #6 by Benoît MINISINI:

You paste "Gambas 3.8.4", so how can you tell that the bug is present with 
"Gambas 3.9.0"?



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #986: tolls - open terminal does nothign if no terminal are common

2016-08-29 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.986=L21haW4-

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




--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #986: tolls - open terminal does nothign if no terminal are common

2016-08-29 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.986=L21haW4-

Comment #4 by Benoît MINISINI:

With Gambas 3.8.4, it fails silently. The Desktop.OpenTerminal() has been 
rewritten in Gambas 3.9, so I mark the bug as fixed
until you tell me it does not work either.

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



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #986: tolls - open terminal does nothign if no terminal are common

2016-08-29 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.986=L21haW4-

Comment #3 by PICCORO LENZ MCKAY:

now that i thingking u have right, if such "x" terminal are not found raised an 
error message...

i used lasted development trunk, but i set 3.8 due in 3.8 are happened too, 
when i try to lauch the terminal nothing happened!

i pasted system information now that in first i not passed



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #986: tolls - open terminal does nothign if no terminal are common

2016-08-29 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.986=L21haW4-

Comment #2 by Benoît MINISINI:

Moreover, if xterm is not found, you get an error message. You can't get 
nothing. Or maybe you don't use the latest version?



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #986: tolls - open terminal does nothign if no terminal are common

2016-08-29 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.986=L21haW4-

Comment #1 by Benoît MINISINI:

The terminal used depends on your desktop. If the terminal of your desktop is 
not found, or if your desktop is not supported, then 'xterm' is launched.

So if you have xterm installed, it should be used...



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #985: ide offers GTK3 when module are not installed or compiled

2016-08-29 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.985=L21haW4-

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




--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #985: ide offers GTK3 when module are not installed or compiled

2016-08-29 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.985=L21haW4-

PICCORO LENZ MCKAY reported a new bug.

Summary
---

ide offers GTK3 when module are not installed or compiled

Type : Request
Priority : Low
Gambas version   : 3.8.90 (TRUNK)
Product  : Development Environment


Description
---

i backported gambas to older linux, when gtk3 are not able

but event if the module are not compiled, the ide offers to swicht to gtk3 in:
1) debug->GUI component 
2) new project dialog-> new gtk3 gui

i think in other cases are happening, for media or jit, etc, maybe must have 
some contidionals


System information
--

[System]
Gambas=3.8.4
OperatingSystem=Linux
Kernel=2.6.32-trunk-686-bigmem
Architecture=x86
Distribution=debian 5.1
Desktop=LXDE
Theme=Gtk
Language=en_US.UTF-8
Memory=4021M

[Libraries]
Cairo=libcairo.so.2.10800.10
Cairo=libcairo.so.2.10800.8
Cairo=libcairo.so.2.17.5
Cairo=libcairo.so.2.2.4
Cairo=libcairo.so.2.9.2
Curl=libcurl.so.4.1.0
Curl=libcurl.so.4.1.1
DBus=libdbus-1.so.3.4.0
GStreamer=libgstreamer-0.10.so.0.26.0
GTK+2=libgtk-x11-2.0.so.0.2000.1
Poppler=libpoppler.so.3.0.0
Poppler=libpoppler.so.5.0.0
QT4=libQtCore.so.4.6.3
SDL=libSDL-1.2.so.0.11.3

[Environment]
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-Q4Puh0F5Jz,guid=ac84c84ebadbbc39d58fccd357ab69d4
DESKTOP_SESSION=LXDE
DISPLAY=:0
GB_GUI=gb.qt4
GDMSESSION=default
GDM_LANG=en_US.UTF-8
GDM_XSERVER_LOCATION=local
HOME=
LANG=en_US.UTF-8
LOGNAME=
OOO_FORCE_DESKTOP=gnome
PATH=/usr/local/bin:/usr/bin:/bin:/usr/games
PWD=
SAL_DISABLE_NATIVE_ALPHA=true
SAL_USE_VCLPLUGIN=gtk
SHELL=/bin/bash
SHLVL=0
SSH_AGENT_PID=3026
SSH_AUTH_SOCK=/tmp/ssh-LLdRwV2985/agent.2985
TZ=:/etc/localtime
USER=
USERNAME=
WINDOWPATH=7
XAUTHORITY=/.Xauthority
XDG_CONFIG_HOME=/.config
XDG_CURRENT_DESKTOP=LXDE
XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/usr/share/gdm/:/var/lib/menu-xdg/
XDG_MENU_PREFIX=lxde-
_LXSESSION_PID=2985



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles

2016-08-29 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.984=L21haW4-

Comment #6 by PICCORO LENZ MCKAY:

the 3.8.4 gambas release compiles with debian lenny and debian squeeze, using 
backported openssl 0.9.8o version from squeeze-lts (long time support) the 
openssl are bug-free until last march of current year



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles

2016-08-29 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.984=L21haW4-

Comment #5 by Tobias BOEGE:

>c_digest.c:51: warning: implicit declaration of function ‘EVP_MD_do_all’
Apparently EVP_MD_do_all() was added in the OpenSSL 1.0.0 branch. That makes 
everything below 1.0.0 completely incompatible with the way gb.openssl works.

Are you really sure that you compiled, linked and used (!) gb.openssl 
successfully before with an unpatched OpenSSL 0.9.8o? Because I don't see how 
it could have been possible.



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles

2016-08-29 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.984=L21haW4-

Comment #4 by PICCORO LENZ MCKAY:

using lasted change from u'r suggestion:

  CC gb_openssl_la-main.lo
  CC gb_openssl_la-c_digest.lo
c_digest.c: In function ‘get_dlist’:
c_digest.c:51: warning: implicit declaration of function ‘EVP_MD_do_all’
c_digest.c: At top level:
c_digest.c:148: error: static declaration of ‘EVP_MD_CTX_cleanup’ follows 
non-static declaration
/usr/include/openssl/evp.h:546: error: previous declaration of 
‘EVP_MD_CTX_cleanup’ was here
c_digest.c: In function ‘EVP_MD_CTX_cleanup’:
c_digest.c:165: warning: implicit declaration of function ‘do_engine_finish’
c_digest.c: At top level:
c_digest.c:171: error: static declaration of ‘EVP_MD_CTX_init’ follows 
non-static declaration

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



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles

2016-08-29 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.984=L21haW4-

Comment #3 by Tobias BOEGE:

No, reversing the condition will break even more. It's forward compatibility, 
so it should apply to older versions, don't you think? Also you are using an 
OpenSSL from 6 years ago and are the only one from whom I heard about a 
compilation problem, while I suspect other people with halfways recent OpenSSL 
were able to compile the component.

Anyway, in addition to (and correcting) what I said on the mailing list[1], I 
did some more digging and it seems that the pctx member did not exist in the 
first place in the 0.9.8 history. I tried to support that branch of OpenSSL, 
too, in revision #7875. Please test it.

Regarding your comment #2: No. These headers definitely existed before OpenSSL 
1.1 and you can't just exclude them without any replacement. Let me repeat: 
*you* are the one with an obscure OpenSSL version, not everyone else.

[1] https://sourceforge.net/p/gambas/mailman/message/35292515/

Tobias BOEGE changed the state of the bug to: Working.



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles

2016-08-29 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.984=L21haW4-

Comment #2 by PICCORO LENZ MCKAY:

need also another pacht, i think or it seems in c_digest.c line 24 :

#if OPENSSL_VERSION_NUMBER > 0x1010L
#include 
#include 
#endif
#include 



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #855: [gb.report2] blank report, use more than 90% resource CPU

2016-08-29 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.855=L21haW4-

Comment #10 by PICCORO LENZ MCKAY:

attached the picture ! no much cpu usage with qt4 4.6.3 and 4.7.4 only 50% with 
empty data, seems something related to qt4 compilation, on debian squeeze (6 
older), or lenny (5 lenny)



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #855: [gb.report2] blank report, use more than 90% resource CPU

2016-08-29 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.855=L21haW4-

PICCORO LENZ MCKAY added an attachment:

dbreport2-qt4-4.6.3-20160829-110546.jpg.png



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles

2016-08-29 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.984=L21haW4-

Comment #1 by PICCORO LENZ MCKAY:

i investigate the error and seems the problem its in the conditional line:

#if OPENSSL_VERSION_NUMBER < 0x1010L

i think must be :

#if OPENSSL_VERSION_NUMBER > 0x1010L

due in the previous version 3.8.X series the code compiles perfectly, in adition

the comment said " * Forward compatibility for openssl 1.1" so the conditional 
are wrong!



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #976: conditional with simple OR in false, get in, into a if else

2016-08-29 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.976=L21haW4-

Comment #3 by PICCORO LENZ MCKAY:

seems that Error.clear must be called explicy, i'll try to search and attach 
the example proyect if found that, if not i'll close the bug



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #984: error compiling again 0.9 openssl, only 1.0 compiles

2016-08-29 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.984=L21haW4-

PICCORO LENZ MCKAY reported a new bug.

Summary
---

error compiling again 0.9 openssl, only 1.0 compiles

Type : Bug
Priority : High
Gambas version   : 3.8.90 (TRUNK)
Product  : Development Environment


Description
---

i have error compiling, agains openssl 0.X not 1.X

  CC gb_openssl_la-main.lo
CC gb_openssl_la-c_digest.lo
c_digest.c: In function ‘get_dlist’:
c_digest.c:51: warning: implicit declaration of function ‘EVP_MD_do_all’
c_digest.c: In function ‘EVP_MD_CTX_reset’:
c_digest.c:174: warning: implicit declaration of function 
‘EVP_PKEY_CTX_free’
c_digest.c:174: error: ‘EVP_MD_CTX’ has no member named ‘pctx’

openssl version are 0.9.8o


System information
--

[System]
Gambas=3.8.4
OperatingSystem=Linux
Kernel=2.6.32-trunk-686-bigmem
Architecture=x86
Distribution=debian 5.1
Desktop=LXDE
Theme=Gtk
Language=en_US.UTF-8
Memory=4021M

[Libraries]
Cairo=libcairo.so.2.10800.10
Cairo=libcairo.so.2.10800.8
Cairo=libcairo.so.2.17.5
Cairo=libcairo.so.2.2.4
Cairo=libcairo.so.2.9.2
Curl=libcurl.so.4.1.0
Curl=libcurl.so.4.1.1
DBus=libdbus-1.so.3.4.0
GStreamer=libgstreamer-0.10.so.0.26.0
GTK+2=libgtk-x11-2.0.so.0.2000.1
Poppler=libpoppler.so.3.0.0
Poppler=libpoppler.so.5.0.0
QT4=libQtCore.so.4.6.3
SDL=libSDL-1.2.so.0.11.3

[Environment]
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-Q4Puh0F5Jz,guid=ac84c84ebadbbc39d58fccd357ab69d4
DESKTOP_SESSION=LXDE
DISPLAY=:0
GB_GUI=gb.qt4
GDMSESSION=default
GDM_LANG=en_US.UTF-8
GDM_XSERVER_LOCATION=local
HOME=
LANG=en_US.UTF-8
LOGNAME=
OOO_FORCE_DESKTOP=gnome
PATH=/usr/local/bin:/usr/bin:/bin:/usr/games
PWD=
SAL_DISABLE_NATIVE_ALPHA=true
SAL_USE_VCLPLUGIN=gtk
SHELL=/bin/bash
SHLVL=0
SSH_AGENT_PID=3026
SSH_AUTH_SOCK=/tmp/ssh-LLdRwV2985/agent.2985
TZ=:/etc/localtime
USER=
USERNAME=
WINDOWPATH=7
XAUTHORITY=/.Xauthority
XDG_CONFIG_HOME=/.config
XDG_CURRENT_DESKTOP=LXDE
XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/usr/share/gdm/:/var/lib/menu-xdg/
XDG_MENU_PREFIX=lxde-
_LXSESSION_PID=2985



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] OO design problem?

2016-08-29 Thread Jussi Lahtinen
On Mon, Aug 29, 2016 at 10:20 AM, Fabien Bodard  wrote:

> In the IDE if you write :
>
> Property MyProp As Integerand validate
>
>
> The all the stuff (_Read, _Write) is automagiquely added at the end of the
> file
>
> You just have to validate at the end of the property declaration  line
>


Yes, the trouble is not to get the empty properties, but the resulting mess
of a lot of code, which doesn't do anything.



Jussi
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #983: Indentation: Formatting of a Module goes wrong

2016-08-29 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.983=L21haW4-

Comment #2 by Fabien BODARD:

This is a little bit my fault :/ .  I've added a way in the indentation 
function to manage the Paint.Begin / Paint.End, Response.Begin / Response.End 
and other function of the core components that have this king of structure. I 
was thinking it will be good to make the reading easier. But this possibility 
must be set only if the End sub exist 

I will do something.



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #983: Indentation: Formatting of a Module goes wrong

2016-08-29 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.983=L21haW4-

Fabien BODARD changed the state of the bug to: Accepted.




--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] OO design problem?

2016-08-29 Thread Fabien Bodard
2016-08-29 8:19 GMT+02:00 Christof Thalhofer :
> Am 28.08.2016 um 20:37 schrieb Jussi Lahtinen:
>
>> It's very likely that I have missed something and I have some crucial
>> design problem. So all suggestions are welcome!
>> Thanks!
>
> Hm, if I declare properties in a parent class I do this only for the
> correct work of methods, that depend on the existence of these
> properties in childs.
>
> If a child does not overwrite the property, it has to be fulfilled by
> the parent, so the property in the parent has to bedeclared with
>
> property_read() ...
>
> property_write() ...
>
> so that methods later work in a correct way. That is a logical
> consequence of the inheritance of properties.
>
> For the mess of writing such a thingy by hand all the time I wrote for
> me a little tool, the getter-setter-creator, it could be much better as
> it is (id does only string, integer, float and date), but it works for
> me. I attach it.


In the IDE if you write :

Property MyProp As Integerand validate


The all the stuff (_Read, _Write) is automagiquely added at the end of the file

You just have to validate at the end of the property declaration  line


>
>
> Alles Gute
>
> Christof Thalhofer
>
> --
> Dies ist keine Signatur
>
> --
>
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



-- 
Fabien Bodard

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] OO design problem?

2016-08-29 Thread Christof Thalhofer
Am 28.08.2016 um 20:37 schrieb Jussi Lahtinen:

> It's very likely that I have missed something and I have some crucial
> design problem. So all suggestions are welcome!
> Thanks!

Hm, if I declare properties in a parent class I do this only for the
correct work of methods, that depend on the existence of these
properties in childs.

If a child does not overwrite the property, it has to be fulfilled by
the parent, so the property in the parent has to bedeclared with

property_read() ...

property_write() ...

so that methods later work in a correct way. That is a logical
consequence of the inheritance of properties.

For the mess of writing such a thingy by hand all the time I wrote for
me a little tool, the getter-setter-creator, it could be much better as
it is (id does only string, integer, float and date), but it works for
me. I attach it.


Alles Gute

Christof Thalhofer

-- 
Dies ist keine Signatur


gshelper-0.0.6.tar.gz
Description: application/gzip
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #983: Indentation: Formatting of a Module goes wrong

2016-08-29 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.983=L21haW4-

Comment #1 by C THAL:

If I comment out sql.Begin in the module, it is formatted right. The proper 
work of the module is never been disturbed, so it is a minor problem.

But the indentation should not been influenced by the user's own naming of 
methods.



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user