Re: [Gambas-user] gb.jit Ubuntu 16.04.1 LTS

2016-10-03 Thread Ron
I wonder can't the configure steps find this out by themselves. Ie. Try if
the specific config versions exists of default cannot be found?

Op 3 okt. 2016 17:01 schreef "Gianluigi" :

> Hello Demosthenes,
>
> Benoit Minisini docet:
>
> $ ./reconf
> $ LLVM_CONFIG=llvm-config-3.5 ./configure -C
> $ make
>
> Regards
> Gianluigi
>
> 2016-10-02 23:01 GMT+02:00 Demosthenes Koptsis :
>
> > Hello,
> >
> > i have apt-get install all packages according help wiki.
> >
> > i get this error
> >
> > ||
> > || THESE COMPONENTS ARE DISABLED:
> > || - gb.jit
> > ||
> >
> > what packages i need to install ?
> >
> > In wiki says LLVM >= 3.1
> >
> > but what packages are they?
> >
> >
> > Regards Dim
> >
> >
> > 
> > --
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
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


Re: [Gambas-user] Pre-release of Gambas 3.9.1 (II)

2016-09-09 Thread Ron
Seems to compile and run fine here! (Ubuntu 16.04 LTS 64 Bits)

Regards,
Ron.

2016-09-09 9:34 GMT+02:00 Christof Thalhofer :
> Am 09.09.2016 um 00:33 schrieb Benoît Minisini:
>
>> I will make it official very soon, so if you have a problem that you
>> don't report, you will have to wait the next version.
>
> Except Bug 983 (which is not important) all my tests are running fine.
>
>
> 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
>

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


Re: [Gambas-user] [Gambas Bug Tracker] Bug #979: gtk_text_buffer_get_insert () signal 11

2016-08-30 Thread Ron
I just downloaded and compiled release code, and still have this issue
with supplied example project.
Can I just update ticked (status is fixed now)?

2016-08-22 21:03 GMT+02:00  :
> http://gambaswiki.org/bugtracker/edit?object=BUG.979&from=L21haW4-
>
> Comment #1 by Benoît MINISINI:
>
> Fixed in revision #7861.
>
> 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


Re: [Gambas-user] Pre-release of Gambas 3.9.0

2016-08-22 Thread Ron
I can reproduce a signal 11 crash with gambas 3.9, so it seems related
to gtk_text_buffer code.

See
BUG REPORT 979

Kind Regards,
Ron.

2016-08-22 0:27 GMT+02:00 PICCORO McKAY Lenz :
> openssl version are 0.9.8o
>
> Lenz McKAY Gerardo (PICCORO)
> http://qgqlochekone.blogspot.com
>
> 2016-08-21 12:15 GMT-04:00 Tobias Boege :
>
>> On Sun, 21 Aug 2016, PICCORO McKAY Lenz wrote:
>> > 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’
>> >
>>
>> Apparently that member was introduced on 22 May 2006 (apparently OpenSSL
>> 0.9.7k) and removed again on 27 Nov 2015 (according to git tags, the
>> versions
>> 1.0.2e, 1.0.1q, 0.9.8zh and 1.1.0pre1 all are the first tags in their
>> respective version numbers which contain this commit).
>>
>> The use of the pctx member there is for forward compatibility with OpenSSL
>> 1.1, which makes its structs opaque. So either you have a version from
>> before
>> 2006 or after 2015 which has opaque structures already but still a version
>> macro
>>
>> OPENSSL_VERSION_NUMBER < 0x1010L
>>
>> which I was told was an indicator of the API change.
>>
>> So, in any case you need to be more specific about your OpenSSL version.
>> 0.x could be anything between 1998 and 2015.
>>
>> Regards,
>> Tobi
>>
>> --
>> "There's an old saying: Don't change anything... ever!" -- Mr. Monk
>>
>> 
>> --
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
> --
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

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


Re: [Gambas-user] Pre-release of Gambas 3.9.0

2016-08-21 Thread Ron
When using hGet.Auth = Net.AuthDigestIE in a http post request, I get
error that it's not a unknown authentication method.
Also have some strange crashes (sig 11) when rerunning same request
(without above line) need to get more info.

[System]
Gambas=3.9
OperatingSystem=Linux
Kernel=4.4.0-34-generic
Architecture=x86_64
Distribution=Ubuntu 16.04.1 LTS
Desktop=UNITY
Theme=Gtk
Language=en_US.UTF-8
Memory=16015M

[Libraries]
Cairo=libcairo.so.2.11400.6
Curl=libcurl.so.4.4.0
DBus=libdbus-1.so.3.14.6
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.802.0
GTK+2=libgtk-x11-2.0.so.0.2400.30
GTK+3=libgtk-3.so.0.1800.9
OpenGL=libGL.so.1.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


Regards,
Ron.

2016-08-21 2:56 GMT+02:00 Jussi Lahtinen :
>> I tried on a Mint VirtualBox VM, and still have "Test passed!" as
>> result. Can you tell me exactly where it fails in the code?
>>
>
> Randomly in module mTest at lines 1685, 1694, 1704 and 1714. So at every
> occurrence of code 'If sTest <> "test" & gb.NewLine Then'.
> Every time it fails the string sTest is empty, this should never occur if
> the process has been ran. Or why else the string is empty?
>
> See attached screenshot.
>
> Now I realize that there is property "Blocking", which is false... so could
> it be that the process is read too early and process.wait only waits for
> some input..?
>
>
> Jussi
>
> --
>
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

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


Re: [Gambas-user] Pre-release of Gambas 3.9.0

2016-08-20 Thread Ron
Compiles and runs (first tests) fine on Ubuntu 16.04 LTS 64 bit.

Although I get a lot of gtk and gnome-keyring related deprecated
warnings during make, see attached logs.
It's not a big problem.

llvm needs to be downgraded from 3.8 to 3.5 to be found.

Regards,
Ron.

2016-08-20 17:59 GMT+02:00 Fabien Bodard :
> is the problem of compilation of gb.git on archlinux is resolved ?
>
> --
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user


logs.tar.gz
Description: GNU Zip compressed data
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] System Colors

2016-05-02 Thread Ron
$ sudo sed -i 's/tooltip_fg_color:#ff/tooltip_fg_color:#00/g'
/usr/share/themes/Ambiance/gtk-2.0/gtkrc
$ sudo sed -i 's/tooltip_bg_color:#00/tooltip_bg_color:#ff/g'
/usr/share/themes/Ambiance/gtk-2.0/gtkrc

restart app

2016-05-02 19:14 GMT+02:00 Jorge Carrión :
>  doesn't work. I've even tried to close the IDE and delete de
> .config/gambas3/gambas.conf but still appearing the original system
> colors...
>
>
>
> 2016-05-02 19:06 GMT+02:00 Benoît Minisini :
>
>> Le 02/05/2016 19:04, Jorge Carrión a écrit :
>> > I've changed the colors of the desktop theme and the default colors of
>> > gambas (color.foreground,color.lightbacground, etc. etc.) are not
>> changed.
>> >
>> > Where are they taken from? Someone can tells ir me, please?
>> >
>> > Thanks in advance.
>> >
>> > Regards
>>
>> They are not updated in real-time. You must restart the program.
>>
>> --
>> Benoît Minisini
>>
>>
>> --
>> Find and fix application performance issues faster with Applications
>> Manager
>> Applications Manager provides deep performance insights into multiple
>> tiers of
>> your business applications. It resolves application problems quickly and
>> reduces your MTTR. Get your free trial!
>> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
> --
> Find and fix application performance issues faster with Applications Manager
> Applications Manager provides deep performance insights into multiple tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Pre-release of Gambas 3.8.1 (2)

2015-09-04 Thread Ron
Compiles fine on ARMv7 (Cubietruck)
Running now to test stability.

Some executables report outdated versions though.

$ gba3 -V
3.8.1

gbs3.gambas:

$ gbw3 -V
3.7.90
$ gbs3 -V
3.7.90

gbh3.gambas:

$ gbh3 -V
3.6.90

Regards,
Ron

2015-09-03 16:19 GMT+02:00 Benoît Minisini :
> Hi,
>
> I have just uploaded a new source package for Gambas 3.8.1 to sourceforge.
>
> I added the following:
>
> - IDE autools package generation fixes.
>
> - The ability to use full ODBC connection string as host in the ODBC driver.
>
> Please test and report any problem!
>
> Thanks.
>
> --
> Benoît Minisini
>
> --
> Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
> Get real-time metrics from all of your servers, apps and tools
> in one place.
> SourceForge users - Click here to start your Free Trial of Datadog now!
> http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

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


Re: [Gambas-user] Json sample

2015-06-04 Thread Ron
Put:
https://domotiga.nl/projects/domotiga/repository/revisions/master/entry/DomotiGa3/.src/CXively.class#L104

Get:
https://domotiga.nl/projects/domotiga/repository/revisions/master/entry/DomotiGa3/.src/CToon.class#L142

Regards,
Ron.

2015-06-04 18:33 GMT+02:00 Julio Sanchez :
> Hello Roel:
>
> Sample only get:
>
> http://jsbsan.blogspot.com.es/2015/04/gambas3-ejemplo-de-json-y-extraer-datos.html
>
> Regards
>
> Julio
>
> 2015-06-04 15:23 GMT+02:00 Roel Touwen :
>
>> Hi All,
>>
>> I'm upto building a json connection with an external provider.
>>
>> Has anyone a simple sample? Including de put and get etc.?
>>
>> Thanks!
>>
>> Roel Touwen
>>
>>
>>
>> --
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
> --
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

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


Re: [Gambas-user] serial ports

2015-06-01 Thread Ron
Onboard serial ports show themselves as /dev/ttyS0-4, so maybe you can
tighten the filter.

We prefer to use the /dev/serial/by-id/* links since those don't
change after reboots, where as the normal /dev/tty device do. (with
usb interfaces)
That's why you see extra code to read the links, you can leave it out
if not needed.

Regards,
Ron.

2015-06-01 14:20 GMT+02:00 Shane :
> Thanks heaps this is exactly what i wanted.
> just one thing i get some 30 odd ttys's and I'm sure there all not
> usable serial ports but this is not a problem for me i can just use the
> ones with values
> also i would have thought that a filter of 'tty[ACM|USB]*' would stop this
>
>
> On 01/06/15 21:55, Ron wrote:
>> https://domotiga.nl/projects/domotiga/repository/revisions/master/entry/DomotiGa3/.src/Util.module#L218
>>
>> Where argument are '/dev/', 'tty[ACM|S|USB]*'
>>
>> Regards,
>> Ron.
>>
>> 2015-06-01 13:31 GMT+02:00 Benoît Minisini :
>>> Le 01/06/2015 12:23, Shane a écrit :
>>>> what would be the best way to make a list of available serial ports in a
>>>> gambas program?
>>>>
>>>> thanks Shane
>>>>
>>> Does anyone have an idea?
>>>
>>> ls /dev/lp* maybe?
>>>
>>> --
>>> Benoît Minisini
>>>
>>> --
>>> ___
>>> Gambas-user mailing list
>>> Gambas-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>> --
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
> --
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

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


Re: [Gambas-user] serial ports

2015-06-01 Thread Ron
https://domotiga.nl/projects/domotiga/repository/revisions/master/entry/DomotiGa3/.src/Util.module#L218

Where argument are '/dev/', 'tty[ACM|S|USB]*'

Regards,
Ron.

2015-06-01 13:31 GMT+02:00 Benoît Minisini :
> Le 01/06/2015 12:23, Shane a écrit :
>> what would be the best way to make a list of available serial ports in a
>> gambas program?
>>
>> thanks Shane
>>
>
> Does anyone have an idea?
>
> ls /dev/lp* maybe?
>
> --
> Benoît Minisini
>
> --
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

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


Re: [Gambas-user] Bug in IDE packager for rpm packages

2015-05-05 Thread Ron
Indeed hard to find official documentation about this subject.

I have found this though:

"Package names (both source and binary, see Package, Section 5.6.7)
must consist only of lower case letters (a-z), digits (0-9), plus (+)
and minus (-) signs, and periods (.). They must be at least two
characters long and must start with an alphanumeric character."

source: 
https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Source

Regards,
Ron.

2015-05-06 1:25 GMT+02:00 Benoît Minisini :
> Le 05/05/2015 23:28, Willy@develop a écrit :
>> Hi,
>>
>> A user on the Gambas forum reported having trouble making rpm packages
>> using IDE.
>>
>> We had some discussion on the topic to check if all requirements where
>> installed to build rpm packages on Ubuntu. They where but when making
>> packages for one of the rpm distro's Gambas threw an error.
>>
>> I managed isolate the cause of the problem being the name used in the
>> project. The persons project was named ListBox+.
>>
>> Seems the added + to the project name turns out to be a problem for
>> making rpm packages (deb packages build just fine).
>>
>> I tried and succeeded in replicating the error as follows:
>> I opened a new empty qt4 project and named it MyBox+.
>> Next I tried making a  rpm package for Fedora.
>>
>> This is the error returned:
>>
>> 
>>
>> Pakket aanmaken voor Fedora / RedHat / CentOS.
>>
>> 
>>
>> Gereed maken ~/RPM map.
>> Broncode pakket aanmaken.
>> .spec bestand aanmaken.
>> Pakket aanmaken...
>>
>> rpmbuild -ba '/home/willy/RPM/SPECS/mybox+.spec'
>> Executing(%prep): /bin/sh -e /home/willy/RPM/tmp/rpm-tmp.pebI7j
>> + umask 022
>> + cd /home/willy/RPM/BUILD
>> + rm -rf /home/willy/RPM/BUILDROOT/mybox+-0.0.1-1.i386
>> + cd /home/willy/RPM/BUILD
>> + rm -rf MyBox+
>> + + /bin/tar -xf -
>> /bin/bzip2 -dc /home/willy/RPM/SOURCES/mybox+-0.0.1.tar.bz2
>> + STATUS=0
>> + [ 0 -ne 0 ]
>> + cd MyBox+
>> + /bin/chmod -Rf a+rX,u+w,g-w,o-w .
>> + exit 0
>> Executing(%build): /bin/sh -e /home/willy/RPM/tmp/rpm-tmp.DojBTv
>> + umask 022
>> + cd /home/willy/RPM/BUILD
>> + cd MyBox+
>> + /usr/bin/gbc3 -e -a -g -x
>> OK
>> + gba3
>> + exit 0
>> Executing(%install): /bin/sh -e /home/willy/RPM/tmp/rpm-tmp.uHcvWH
>> + umask 022
>> + cd /home/willy/RPM/BUILD
>> + cd MyBox+
>> + install -d /home/willy/RPM/BUILDROOT/mybox+-0.0.1-1.i386//usr/bin
>> + install -p MyBox+.gambas /home/willy/RPM/BUILDROOT/mybox
>> +-0.0.1-1.i386//usr/bin/MyBox+
>> + install -d /home/willy/RPM/BUILDROOT/mybox
>> +-0.0.1-1.i386//usr/share/pixmaps
>> + install -d /home/willy/RPM/BUILDROOT/mybox
>> +-0.0.1-1.i386//usr/share/applications
>> + install -p .icon/48.png /home/willy/RPM/BUILDROOT/mybox
>> +-0.0.1-1.i386//usr/share/pixmaps/MyBox+.png
>> + cat
>> + /usr/lib/rpm/brp-compress
>> + /usr/lib/rpm/brp-strip /usr/bin/strip
>> + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
>> + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
>> Processing files: mybox+-0.0.1-1.noarch
>> error: File not found: /home/willy/RPM/BUILDROOT/mybox
>> +-0.0.1-1.i386/usr/bin/'MyBox+'
>> error: File not found: /home/willy/RPM/BUILDROOT/mybox
>> +-0.0.1-1.i386/usr/share/pixmaps/'MyBox+'.png
>>
>>
>> RPM build errors:
>>  File not found: /home/willy/RPM/BUILDROOT/mybox
>> +-0.0.1-1.i386/usr/bin/'MyBox+'
>>  File not found: /home/willy/RPM/BUILDROOT/mybox
>> +-0.0.1-1.i386/usr/share/pixmaps/'MyBox+'.png
>>
>> Het pakket maken is mislukt.
>> Package.MakeRpmPackage.1420: 'rpmbuild' heeft de volgende foutcode
>> teruggestuurd: 1
>>
>> ==End of error report=
>>
>> My impression is that the added single quotes to the project name
>> confuse the rpm builder (see lines after above RPM build errors)
>>
>> Note that I can make rpm packages from Gambas IDE for other projects
>> (without the added + to the project name).
>>
>>
>
> It seems that rpm or deb packages usually cannot handle characters that
> are not a letter or a digit. I didn't find any documentation that tells
> me exactly which characters are really allowed in a package name.
>
> Maybe I should prevent that by automatically replace these characters by
> something else when making the package.
>
> Anyway,

Re: [Gambas-user] Pre-release of Gambas 3.7.1

2015-03-29 Thread Ron
Yeah sorry... I didn't had much time to test 3.7.1 yet.

Some other small corrections for trunk;

Menu ? 'System Informations' -> 'System information'

On System information form:
'Please copy these informations in all your bug reports' ->

'Please include this information if you submit a bug report.'

BTW: You know Google code stops?
http://google-opensource.blogspot.nl/2015/03/farewell-to-google-code.html
We have to move the bug reports to somewhere else (github for example?)

Would be nice to have a 'Submit a bug report' into the ? menu as well.

Regards,
Ron.

2015-03-29 16:18 GMT+02:00 Benoît Minisini :
> Le 29/03/2015 16:02, Ron a écrit :
>> Builds and runs fine on Ubuntu 14.10 64 bits.
>>
>> Small corrections:
>>
>> On startup 'Installed sofwares' should be called 'Installed software'
>>
>> In right click menu on form in treeview, 'Run that class' should be
>> called 'Run this class'
>>
>> Regards,
>> Ron.
>>
>
> A bit late, but thanks. I will fix that for the next version.
>
> --
> Benoît Minisini
>
> --
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Pre-release of Gambas 3.7.1

2015-03-29 Thread Ron
Builds and runs fine on Ubuntu 14.10 64 bits.

Small corrections:

On startup 'Installed sofwares' should be called 'Installed software'

In right click menu on form in treeview, 'Run that class' should be
called 'Run this class'

Regards,
Ron.

2015-03-29 15:29 GMT+02:00 Benoît Minisini :
> Le 28/03/2015 18:55, Benoît Minisini a écrit :
>> Hi,
>>
>> I have uploaded to sourceforge the source package of Gambas 3.7.1 so
>> that you can check it before the release.
>>
>> So tell me if you have any problem with it.
>>
>> It includes all the bugs fixed since the Gambas 3.7.0 release, and the
>> ability to open projects installed from the Gambas "farm" directly from
>> the IDE welcome window.
>>
>> http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.7.1.tar.bz2/download
>>
>> Regards,
>>
>
> I have uplpoaded a new version of the package with a few more fixes. If
> no problem is reported, I will release if officially.
>
> Note that printing with gb.gtk3 still crashes for an unknown reason.
> Still investigating...
>
> --
> Benoît Minisini
>
> --
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] R: Ubuntu message

2015-03-22 Thread Ron
You can make them readable with these two commands, you might need to
change 'Ambiance'  to 'QGtk', not sure, just try.

sed -i 's/tooltip_fg_color:#ff/tooltip_fg_color:#00/g'
/usr/share/themes/Ambiance/gtk-2.0/gtkrc
sed -i 's/tooltip_bg_color:#00/tooltip_bg_color:#ff/g'
/usr/share/themes/Ambiance/gtk-2.0/gtkrc


2015-03-22 16:59 GMT+01:00 Gian :
> Sorry gentlemen, :)
> but the programmer Gambas Ubuntu messages Balloon does not see them.
> What you do not understand?
> Regards
> Gianluigi
>
> --
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] gb.scanner

2015-03-11 Thread Ron
Here a cleanup of an already existing Gambas Scanner app using
scanimage cli command I use regularly.
https://github.com/cyberjunky/gbscan/

It does all the option parsing from cli output...

Maybe we can make it better using gb.scanner component and vice versa..
Thinks I want to add are digital stamps like "Confidential" and signatures...

Regards,
Ron.

2015-03-11 19:24 GMT+01:00 Johny Provoost :
>
>
> Op 11-03-15 om 19:10 schreef Fabien Bodard:
>> Le 11 mars 2015 17:59, "Johny Provoost"  a écrit :
>>> Hello,
>>>
>>> Is there's some place where I can get some more help about gb.scanner.
>>> The help in Gambas doesn't show much.
>>>
>>> I'll tried
>>>
>>> Public Sub Button1_Click()
>>> Dim HPScan As Image
>>> Dim MyScan As Scanner
>>> Scanners.Search
>>> MyScan.Scan(HPScan)
>>> End
>>>
>>> scanners.search find my scanner (see in the terminal window:
>>>
>> hpaio:/usb/Deskjet_2540_series?serial=CN38T2DM680604|Hewlett-Packard|Deskjet_2540_series|all-in-one)
>>> but myscan.scan(HPScan) gives 'Null Object'
>>>
>>> Do I somewhere config my scanner like you have to config your printer?
>>>
>>> Regards,
>>> Johny
>>>
>> Well I've not documented the component yet
>>
>> But you must do :
>>
>> Himg =Scanners["
>> hpaio:/usb/Deskjet_2540_series?serial=CN38T2DM680604"].scan()
>>
>> Or
>>
>> Hmyscan as scanner
>> Hmyscan =scanners["hpaio:/usb/Deskjet_2540_series?serial=CN38T2DM680604"]
>>
>> Himg=Hnyscan.scan()
>>
>> I will send an example on the farm quikly
>>
>> ---
>>
>
> Thank you Fabian.
> Can start now.  Looking forward to your example.
>
> Johny
>
> --
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] fullscreen

2015-01-06 Thread Ron
You get the updates until April 2015, better start taking advises seriously.
It's April before you know it. ;P

2015-01-06 14:50 GMT+01:00 Reiner Goerlach :

> Hi Alex,
>
> I agree with friendly and (semi)professional. But you should add also a
> keeping of certain amount of will to help.
> I do not understand your argument about wiki.ubuntu.com
> I make use of UBUNTU 10.04 every day, and every second day I get an
> Update with security bug fixes and also other modifications. Is that no
> support 
> What is 2.24 ?
> It wasn't a problem for the last 10 years, that is a killing argument
> "we did it always so". I can take that upside down, and say : Which kind
> of childish programs did you work on, if you didn't realize that bug ?
> I agree, if nobody will fix the (small or large) problem, I have to live
> with it, or I have to leave GAMBAS as I have left KBASIC. (KBASIC after
> very much efforts, discussions, but finally and with no return, left,
> including Q4Basic, because these are the same developers)
> In principle, it is also my 2nd or 3rd attempt with GAMBAS. May be I
> will spend another 2 manweeks for investigation.
>
> And I hope for serious cooperation with the people here. And this forum
> is for such a cooperation ? I thought so.
>
> best regards
>
> Reiner
>
>
>
> On 01/06/2015 01:57 PM, Alexie wrote:
> > Hi Reiner,
> >
> > When i look at the supported Ubuntu releases, only 10.04 SERVER is still
> > supported. The desktop is already out of support for 2 years:
> > https://wiki.ubuntu.com/Releases
> >
> > The 2.24.0 has been released on 9-Apr-2012, almost 3 years ago now ...
> >
> > Unless a Gambas developer is willing to fix the problem on your gambas2
> or
> > you do it yourself, it won't be fixed (it wasn't a problem for the last
> few
> > years, so should be ok to live with it?).
> >
> > If you don't want to upgrade Ubuntu/Gambas, it is your choice ... Also
> you
> > can switch to any other programming environment, all up to you.
> >
> > Please bare in mind Gambas is open source and we are doing our test in
> our
> > OWN SPARE TIME to help other people with gambas with coding, compiling
> and
> > fixes. Lets keep it friendly and (semi) professional.
> >
> > Regards,
> > Alex
> >
> > 2015-01-06 13:30 GMT+01:00 Charlie Reinl :
> >
> >> Am Dienstag, den 06.01.2015, 10:01 +0100 schrieb Reiner Goerlach:
> >>> Why there is no remark for installation of GAMBAS3: Minimum Ubuntu
> 11.04
> >>> required ? Or QT4 required (is in 10.04)
> >>> I could have saves much time.
> >>>
> >>
> >> Salut Reiner,
> >>
> >> because it's not like that. I have on a VM Box a backup from my 10.04.4
> >> LTS (which I left in 08.2013 for 12.04.2 LTS) and on it I have a running
> >> gambas3 3.4.90 r5771.
> >>
> >> An update to rev 6813 fails (will send the logs to Benoît)
> >>
> >> But I saw a new mail where you re-ask for help, please send me your
> >> project (or a demo which produce the behave)
> >>
> >> --
> >> Amicalement
> >> Charlie
> >>
> >>
> >>
> >>
> --
> >> Dive into the World of Parallel Programming! The Go Parallel Website,
> >> sponsored by Intel and developed in partnership with Slashdot Media, is
> >> your
> >> hub for all things parallel software development, from weekly thought
> >> leadership blogs to news, videos, case studies, tutorials and more.
> Take a
> >> look and join the conversation now. http://goparallel.sourceforge.net
> >> ___
> >> Gambas-user mailing list
> >> Gambas-user@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >>
> >
> --
> > Dive into the World of Parallel Programming! The Go Parallel Website,
> > sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> > hub for all things parallel software development, from weekly thought
> > leadership blogs to news, videos, case studies, tutorials and more. Take
> a
> > look and join the conversation now. http://goparallel.sourceforge.net
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
>
>
> --
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
-

Re: [Gambas-user] fullscreen

2015-01-06 Thread Ron
Yes please.

2015-01-06 12:47 GMT+01:00 Reiner Goerlach :

> I have followed wikigambas.
>
> pkg-config, gcc, g++ automake, autoconf, was installed
> libtool 2.2...  was not installes, authentication warning, installed
> libffi5 was installed
> libbz2.so is missing ***
> libz.so is missing 
> cairo >= 1.6.0 cairo-ft >= 1.6.0 is missing, several other files
> installed *
> etc etc etc
>
> I think I should forget GAMBAS3
>
> best regards
>
> Reiner
>
>
>
>
> On 01/06/2015 11:48 AM, Tobias Boege wrote:
> > On Tue, 06 Jan 2015, Reiner Goerlach wrote:
> >> 3. Reporting a Gambas compilation problem
> >>
> >> If you cannot compile and install Gambas(3) successfully, please provide
> >> the output of the four commands: ./reconf-all,
> >>
> >> Response in terminal:
> >> *
> >>
> >> root@reiner-laptop:/home/reiner/GAMBAS3/gambas3-3.5.4# ./reconf-all
> >> ./reconf-all: 7: libtoolize: not found
> >> Can't exec "libtoolize": No such file or directory at
> >> /usr/bin/autoreconf line 189.
> >> Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf
> >> line 189.
> >> autoreconf: Entering directory `.'
> >> autoreconf: configure.ac: not using Gettext
> >> autoreconf: running: aclocal
> >> autoreconf: configure.ac: tracing
> >> autoreconf: configure.ac: adding subdirectory main to autoreconf
> >> autoreconf: Entering directory `main'
> >> autoreconf: running: aclocal -I m4 --install
> >> autoreconf: configure.ac: not using Libtool
> >> autoreconf: running: /usr/bin/autoconf
> >> configure:3860: error: possibly undefined macro: AC_LIBTOOL_DLOPEN
> >> If this token and others are legitimate, please use
> m4_pattern_allow.
> >> See the Autoconf documentation.
> >> configure:3861: error: possibly undefined macro: AC_LIBLTDL_CONVENIENCE
> >> configure:3862: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL
> >> configure:3863: error: possibly undefined macro: AC_DISABLE_STATIC
> >> autoreconf: /usr/bin/autoconf failed with exit status: 1
> >> root@reiner-laptop:/home/reiner/GAMBAS3/gambas3-3.5.4# ./configure
> >> bash: ./configure: No such file or directory
> >> root@reiner-laptop:/home/reiner/GAMBAS3/gambas3-3.5.4#
> >> **
> >> Ubuntu 10.04, qt, Kernel 70, CPU 2xN455
> >>
> >> What can I do ? (Do not recommend other Ubuntu, or other LINUX, pleaase
> !)
> >>
> >
> > Install the required build tool versions, which are listed prominently on
> > the wiki page[0] people showed you yesterday. As you can see above, there
> > "libtoolize" cannot be found -- among the possible reasons are that it is
> > not installed, not in your PATH or its naming is different in an older
> > package (unlikely, but I didn't do any research).
> >
> > The other errors *could* mean that your configure is too old, but I'm not
> > sure on this. If so, you can probably find their older equivalents (or
> just
> > circumvent them -- it's just a configuration script after all) and patch
> > configure.ac accordingly.
> >
> > Also, you should not compile as root.
> >
> > Regards,
> > Tobi
> >
> > [0] http://gambaswiki.org/wiki/install
> >
>
>
> --
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] fullscreen

2015-01-05 Thread Ron
Did you skip the step ./reconf-all on purpose?

It creates the files needed for the ./configure step. ;P

I don't know how big your projects are and what they do, but gambas3 runs
faster than gambas2.

Ron.

2015-01-05 16:05 GMT+01:00 Reiner Goerlach :

> Nice answer, unfortunately not to my question.
>
> I am very happy to have the GAMBAS2 running. Very happy. And I cannot
> install GAMBAS3, because in Installation description is stated, that the
> best way to install is just to type ./configure, make, make install.
> Unfortunately I get the message: There is no such file "configure", and
> the installation procedure is already finished. It is also a nice
> description in the installation description, unfortunately not for the
> GAMBAS3 set of files, which I have downloded.
> As I already stated, "I am very happy to have the GAMBAS2 running ..
>
>
> Rweiner
>
>
>
>
>
> On 01/05/2015 02:42 PM, Alexie wrote:
> > Can you retest it with Gambas3? Gambas2 isn't supported anymore.
> >
> > 2015-01-05 14:21 GMT+01:00 Reiner Goerlach :
> >
> >> After switching from Form1 to Form2 and back to Form1, Form1 is still in
> >> Fullscreen-Mode. If I do it scond time, Form1 shows still
> >> Fullscreen-Mode, but in reality it has turned to maximized mode.
> >> Ubuntu 10.04, GAMBAS2, QT,
> >>
> >> Has somebody experience how to improve ?
> >>
> >> Best regards
> >> Reiner
> >>
> >>
> >>
> --
> >> Dive into the World of Parallel Programming! The Go Parallel Website,
> >> sponsored by Intel and developed in partnership with Slashdot Media, is
> >> your
> >> hub for all things parallel software development, from weekly thought
> >> leadership blogs to news, videos, case studies, tutorials and more.
> Take a
> >> look and join the conversation now. http://goparallel.sourceforge.net
> >> ___
> >> Gambas-user mailing list
> >> Gambas-user@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >>
> >
> --
> > Dive into the World of Parallel Programming! The Go Parallel Website,
> > sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> > hub for all things parallel software development, from weekly thought
> > leadership blogs to news, videos, case studies, tutorials and more. Take
> a
> > look and join the conversation now. http://goparallel.sourceforge.net
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
>
>
> --
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Circular references with latest revision

2015-01-02 Thread Ron
The issue is already present in this revision:

$ gbx3 --version
3.6.90 r6754

We do need to go back further in revisions, any suggestions?

Is seems to occur when I'm writing some text (log) to an textarea on
another form than FMain while closing

The very last command in Form_Close

Not isolated.

Ron.

2015-01-02 12:31 GMT+01:00 Benoît Minisini :

> Le 02/01/2015 11:56, Ron a écrit :
> > No I didn't de-install it, thinking it will overwrite everything.. like
> it
> > did in the past ;P
> >
> > There was indeed an older gb.net.smtp.so* set under /usr/lib/gambas3
> > After delete and sudo make install of trunk it works ok.
> > The sudo install was needed otherwise the project couldn't find the
> > component.
> >
> > The Circular project doesn't crash anymore, but my project still has the
> > circular reference issue, so two bugs, one to go!
> >
> > I will try to create another project for that one.
> >
> > Can't you overrule trunk compile steps to not include the smtp.so like it
> > did?
> > Just deleting it was not enough so there is something linked somewhere.
> >
> > A lot of users are going to have problems when they don't read wiki/docs.
> >
> > Ron.
> >
>
> I will automatically remove *.so file and its links when installing a
> component entirely written in Gambas.
>
> Regards,
>
> --
> Benoît Minisini
>
>
> --
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Circular references with latest revision

2015-01-02 Thread Ron
Btw, my cli DomotiGaServer3 project doesn't display any circular refrences
issues anymore with this smtp lib deleted.

So it seems circular references are caused (or can be) by crashing of other
components? (in this case smtp)

The GUI version still has them, maybe cause by another component having an
issue, but that's over 102000 lines of code and many forms.
Does Gambas has an order in which it free's stuff upon closure?
At least then I can try to shrink it to one area..
Is there a debug mode in which you can see what it does (without using gdb)

Ron.




2015-01-02 11:56 GMT+01:00 Ron :

> No I didn't de-install it, thinking it will overwrite everything.. like it
> did in the past ;P
>
> There was indeed an older gb.net.smtp.so* set under /usr/lib/gambas3
> After delete and sudo make install of trunk it works ok.
> The sudo install was needed otherwise the project couldn't find the
> component.
>
> The Circular project doesn't crash anymore, but my project still has the
> circular reference issue, so two bugs, one to go!
>
> I will try to create another project for that one.
>
> Can't you overrule trunk compile steps to not include the smtp.so like it
> did?
> Just deleting it was not enough so there is something linked somewhere.
>
> A lot of users are going to have problems when they don't read wiki/docs.
>
> Ron.
>
>
>
>
> 2015-01-02 11:42 GMT+01:00 Benoît Minisini :
>
>> Le 02/01/2015 11:39, Ron a écrit :
>> > It's in gb.net.smtp, I think!
>> > See bug report I just filled, if you de-select gb.net.smtp crash stops..
>> >
>> > Ron.
>> >
>>
>> Did you carefully uninstall Gambas 3.6.2 before compiling the
>> development version?
>>
>> Because gb.net.smtp is now written entirely in Gambas. So if you keep
>> the old gb.net.smtp.so shared library on your system, the interpreter
>> will try to load it and you will get crashes.
>>
>> --
>> Benoît Minisini
>>
>>
>> --
>> Dive into the World of Parallel Programming! The Go Parallel Website,
>> sponsored by Intel and developed in partnership with Slashdot Media, is
>> your
>> hub for all things parallel software development, from weekly thought
>> leadership blogs to news, videos, case studies, tutorials and more. Take a
>> look and join the conversation now. http://goparallel.sourceforge.net
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>
>
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Circular references with latest revision

2015-01-02 Thread Ron
No I didn't de-install it, thinking it will overwrite everything.. like it
did in the past ;P

There was indeed an older gb.net.smtp.so* set under /usr/lib/gambas3
After delete and sudo make install of trunk it works ok.
The sudo install was needed otherwise the project couldn't find the
component.

The Circular project doesn't crash anymore, but my project still has the
circular reference issue, so two bugs, one to go!

I will try to create another project for that one.

Can't you overrule trunk compile steps to not include the smtp.so like it
did?
Just deleting it was not enough so there is something linked somewhere.

A lot of users are going to have problems when they don't read wiki/docs.

Ron.




2015-01-02 11:42 GMT+01:00 Benoît Minisini :

> Le 02/01/2015 11:39, Ron a écrit :
> > It's in gb.net.smtp, I think!
> > See bug report I just filled, if you de-select gb.net.smtp crash stops..
> >
> > Ron.
> >
>
> Did you carefully uninstall Gambas 3.6.2 before compiling the
> development version?
>
> Because gb.net.smtp is now written entirely in Gambas. So if you keep
> the old gb.net.smtp.so shared library on your system, the interpreter
> will try to load it and you will get crashes.
>
> --
> Benoît Minisini
>
>
> --
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Circular references with latest revision

2015-01-02 Thread Ron
It's in gb.net.smtp, I think!
See bug report I just filled, if you de-select gb.net.smtp crash stops..

Ron.


2015-01-02 11:32 GMT+01:00 Benoît Minisini :

> Le 02/01/2015 11:14, Ron a écrit :
> > I have the same issue, trying to get it isolated, but didn't succeed yet,
> > will let you know when.
> >
> > In 3.6.2 no issue, but with trunk (some revisions ago already)
> >
> > $ ./DomotiGa3.gambas
> > gbx3: warning: circular references detected:
> > gbx3: 1 FMusic
> > gbx3: 1 FLogfiles
> > gbx3: 2 FToolBar
> > gbx3: 2 ToolBar
> > gbx3: 1 FBalloon
> > gbx3: 2 TableView
> > gbx3: 1 TabPanel
> > gbx3: 5 LCDLabel
> > gbx3: 4 GridViewSelection
> > gbx3: 1 _TreeView_Item
> > gbx3: 4 _GridView_Rows
> > gbx3: 4 _GridView_Columns
> > gbx3: 4 ScrollArea
> > gbx3: 1 ListView
> > gbx3: 2 GridView
> > gbx3: warning: 873 allocation(s) non freed.
> >
> > from inside ide:
> >
> > gbx3: warning: circular references detected:
> > gbx3: 1 FMusic
> > gbx3: 1 FLogfiles
> > gbx3: 2 FToolBar
> > gbx3: 2 ToolBar
> > gbx3: 1 FBalloon
> > gbx3: 2 TableView
> > gbx3: 1 TabPanel
> > gbx3: 5 LCDLabel
> > gbx3: 4 GridViewSelection
> > gbx3: 1 _TreeView_Item
> > gbx3: 4 _GridView_Rows
> > gbx3: 4 _GridView_Columns
> > gbx3: 4 ScrollArea
> > gbx3: 1 ListView
> > gbx3: 2 GridView
> > *** Error in `DomotiGa3': free(): invalid pointer: 0x7fc84ee139b8 ***
> >
> > gbx3 even crashes sometimes with sig aborted, see screenshot.
> >
> > I also had this with command line project but only when I use gb.signal
> > component to catch these
> > Signal[Signal.SIGINT].Catch
> >' ' Catch default kill signal
> > Signal[Signal.SIGTERM].Catch
> >
> >
> > I personally would like to have this fixed in 3.7, maybe this info
> helps..
> >
> > Regards,
> > Ron.
> >
> > [System]
> > Gambas=3.6.90
> > OperatingSystem=Linux
> > Kernel=3.13.0-43-generic
> > Architecture=x86_64
> > Distribution=Ubuntu 14.04.1 LTS
> > Desktop=GNOME
> > Theme=QGtk
> > Language=en_US.UTF-8
> > Memory=3849M
> > [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+3=libgtk-3.so.0.1000.8
> > GTK+=libgtk-x11-2.0.so.0.2400.23
> > OpenGL=libGL.so.1.2.0
> > Poppler=libpoppler.so.44.0.0
> > Qt4=libQtCore.so.4.8.6
> > SDL=libSDL-1.2.so.0.11.4
> >
> >
> > 3.6.2:
> >
> > 2015/01/02 07:44:06 [Main] It's dark outside.
> > 2015/01/02 07:44:06 [Main] DomotiGa is running for 0 days, 0 hrs, 0 mins,
> > and 0 secs.
> > 2015/01/02 07:44:06 [Main] The current tagline is 'Prune: A plum that has
> > seen better days.'
> > ^CReceived signal SIGINT, exit DomotiGaServer3
> > 2015/01/02 07:44:07 [Main] Received signal SIGINT, exit DomotiGaServer3
> > 2015/01/02 07:44:07 [Main] Stopping running timers.
> > 2015/01/02 07:44:07 [Main]    Program End 
> >
> > trunk:
> >
> > 2015/01/02 09:12:08 [Main] DomotiGa is running for 0 days, 0 hrs, 0 mins,
> > and 0 secs.
> > 2015/01/02 09:12:08 [Main] The current tagline is 'I want to live with a
> > synonym girl... '
> > ^CReceived signal SIGINT, exit DomotiGaServer3
> > 2015/01/02 09:12:10 [Main] Received signal SIGINT, exit DomotiGaServer3
> > 2015/01/02 09:12:10 [Main] Stopping running timers.
> > 2015/01/02 09:12:10 [Main]    Program End 
> > gbx3: warning: -6 allocation(s) non freed.
> >
> > [image: Inline afbeelding 1][image: Inline afbeelding 2]
> >
> >
> > 2014-12-31 14:57 GMT+01:00 Jussi Lahtinen :
> >
> >> One of my projects reports circular references when shutdown, but it
> works
> >> perfectly.
> >> I haven't get these messages with earlier revisions (not sure from what
> >> revision this started exactly).
> >>
> >> Part of the messages:
> >> gbx3: 1 GridViewSelection
> >> gbx3: 1 _TreeView_Item
> >> gbx3: 1 _GridView_Rows
> >> gbx3: 1 _GridView_Columns
> >> gbx3: 1 VSplit
> >> gbx3: 1 ScrollArea
> >> gbx3: 1 ListView
> >> gbx3: 1 GridView
> >>
> >> I have not isolated the problem, but 

Re: [Gambas-user] Make Ubuntu tooltips readable again

2015-01-02 Thread Ron
It's a two liner to make balloons and tooltips in ide readable:

sed -i 's/tooltip_fg_color:#ff/tooltip_fg_color:#00/g'
/usr/share/themes/Ambiance/gtk-2.0/gtkrc
sed -i 's/tooltip_bg_color:#00/tooltip_bg_color:#ff/g'
/usr/share/themes/Ambiance/gtk-2.0/gtkrc

Ron.

2015-01-02 11:03 GMT+01:00 Ron :

> This onliner fixes this issue:
>
> $ sudo sed -i 's/tooltip_fg_color:#ff/tooltip_fg_color:#00/g'
> /usr/share/themes/Ambiance/gtk-2.0/gtkrc
>
>
> Regards,
> Ron.
>
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Circular references with latest revision

2015-01-02 Thread Ron
I have the same issue, trying to get it isolated, but didn't succeed yet,
will let you know when.

In 3.6.2 no issue, but with trunk (some revisions ago already)

$ ./DomotiGa3.gambas
gbx3: warning: circular references detected:
gbx3: 1 FMusic
gbx3: 1 FLogfiles
gbx3: 2 FToolBar
gbx3: 2 ToolBar
gbx3: 1 FBalloon
gbx3: 2 TableView
gbx3: 1 TabPanel
gbx3: 5 LCDLabel
gbx3: 4 GridViewSelection
gbx3: 1 _TreeView_Item
gbx3: 4 _GridView_Rows
gbx3: 4 _GridView_Columns
gbx3: 4 ScrollArea
gbx3: 1 ListView
gbx3: 2 GridView
gbx3: warning: 873 allocation(s) non freed.

from inside ide:

gbx3: warning: circular references detected:
gbx3: 1 FMusic
gbx3: 1 FLogfiles
gbx3: 2 FToolBar
gbx3: 2 ToolBar
gbx3: 1 FBalloon
gbx3: 2 TableView
gbx3: 1 TabPanel
gbx3: 5 LCDLabel
gbx3: 4 GridViewSelection
gbx3: 1 _TreeView_Item
gbx3: 4 _GridView_Rows
gbx3: 4 _GridView_Columns
gbx3: 4 ScrollArea
gbx3: 1 ListView
gbx3: 2 GridView
*** Error in `DomotiGa3': free(): invalid pointer: 0x7fc84ee139b8 ***

gbx3 even crashes sometimes with sig aborted, see screenshot.

I also had this with command line project but only when I use gb.signal
component to catch these
   Signal[Signal.SIGINT].Catch
  ' ' Catch default kill signal
   Signal[Signal.SIGTERM].Catch


I personally would like to have this fixed in 3.7, maybe this info helps..

Regards,
Ron.

[System]
Gambas=3.6.90
OperatingSystem=Linux
Kernel=3.13.0-43-generic
Architecture=x86_64
Distribution=Ubuntu 14.04.1 LTS
Desktop=GNOME
Theme=QGtk
Language=en_US.UTF-8
Memory=3849M
[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+3=libgtk-3.so.0.1000.8
GTK+=libgtk-x11-2.0.so.0.2400.23
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.44.0.0
Qt4=libQtCore.so.4.8.6
SDL=libSDL-1.2.so.0.11.4


3.6.2:

2015/01/02 07:44:06 [Main] It's dark outside.
2015/01/02 07:44:06 [Main] DomotiGa is running for 0 days, 0 hrs, 0 mins,
and 0 secs.
2015/01/02 07:44:06 [Main] The current tagline is 'Prune: A plum that has
seen better days.'
^CReceived signal SIGINT, exit DomotiGaServer3
2015/01/02 07:44:07 [Main] Received signal SIGINT, exit DomotiGaServer3
2015/01/02 07:44:07 [Main] Stopping running timers.
2015/01/02 07:44:07 [Main]    Program End 

trunk:

2015/01/02 09:12:08 [Main] DomotiGa is running for 0 days, 0 hrs, 0 mins,
and 0 secs.
2015/01/02 09:12:08 [Main] The current tagline is 'I want to live with a
synonym girl... '
^CReceived signal SIGINT, exit DomotiGaServer3
2015/01/02 09:12:10 [Main] Received signal SIGINT, exit DomotiGaServer3
2015/01/02 09:12:10 [Main] Stopping running timers.
2015/01/02 09:12:10 [Main]    Program End 
gbx3: warning: -6 allocation(s) non freed.

[image: Inline afbeelding 1][image: Inline afbeelding 2]


2014-12-31 14:57 GMT+01:00 Jussi Lahtinen :

> One of my projects reports circular references when shutdown, but it works
> perfectly.
> I haven't get these messages with earlier revisions (not sure from what
> revision this started exactly).
>
> Part of the messages:
> gbx3: 1 GridViewSelection
> gbx3: 1 _TreeView_Item
> gbx3: 1 _GridView_Rows
> gbx3: 1 _GridView_Columns
> gbx3: 1 VSplit
> gbx3: 1 ScrollArea
> gbx3: 1 ListView
> gbx3: 1 GridView
>
> I have not isolated the problem, but I will try later.
> Any clues about this, my error or something in Gambas?
>
>
> Jussi
>
> --
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Make Ubuntu tooltips readable again

2015-01-02 Thread Ron
This onliner fixes this issue:

$ sudo sed -i 's/tooltip_fg_color:#ff/tooltip_fg_color:#00/g'
/usr/share/themes/Ambiance/gtk-2.0/gtkrc


Regards,
Ron.
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] File watching behaviour

2015-01-01 Thread Ron
New year, new keywords ;-)

I was just about to install latest revision to test the trunk -soon to be
3.7 version-, so I will let you know.

Regards,
Ron.

2015-01-02 3:28 GMT+01:00 Benoît Minisini :

> @Jussi : I introduce a new thread for the problem. Now for the new year
> people will always create a new thread for a new topic. :-)
>
> In revision #6791 I made the following changes:
>
> - If a watched file descriptor is ready to read, but has no data, then
> the watch is not automatically stopped anymore.
>
> - If the event loop is called too often (because of the last change), I
> make the interpreter sleep a bit (up to 10 ms), so that the CPU is not
> eaten.
>
> Now the expected problems:
>
> - This is not backward compatible. Maybe I should introduce a new
> syntax. For example adding the "CONTINUE" keyword after the "WATCH"
> keyword to keep watching.
>
> - Only the interpreter event loop has the little sleep. Not gb.qt4,
> gb.sdl, gb.gtk and gb.gtk3. So you may eat 100% CPU with these
> components. I will try to find a solution for that.
>
> People, please tell me what you think about that. Especially Ron that
> has the program that watch the biggest number of file descriptors. :-)
>
> Regards,
>
> --
> Benoît Minisini
>
>
> --
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Problems on mail list

2014-12-28 Thread Ron
Lol...This should be added to Gambas tip of the day, there is always
something not working the it should ;+)

Regards,
Ron
Op 28 dec. 2014 07:05 schreef "B Bruen" :

> On Sat, 27 Dec 2014 18:37:05 +0100
> Benoît Minisini  wrote:
>
> > Le 27/12/2014 13:44, Gian a écrit :
> > > This morning I received the email sent on 25 by Wolfgang.
> > > My answer of 11:29 today 27 not appears.
> > > What happens to the mail list?
> > > Hello
> > > Gianluigi
> > >
> >
> > The mailing-list is managed by the Sourceforge servers, and we can't do
> > anything if something goes wrong, except praying.
> >
> > --
> > Benoît Minisini
> >
>
> Hail Mary full of grace,
> Deliver us from this terrible place,
> There is no mail, there is no news
> And no-one solves my Gambas blues.
>
> We keep the faith, we hold the light,
> Please get us out of this terrible plight.
> My events don't fire, my handlers fold
> silently, no errors told.
>
> We hold the 'Forge in reverence
> and look each hour in expectation
> of clues, and even Tobi's sense
> but yet there seems to be stagnation.
>
> Mary, we do implore
> that you knock upon their door,
> kick their a*s*, make them move
> and hopefully then things improve.
>
> Amen
>
> (apologies  but I was on a roll)
>
> Looking forward to Gambas2015  !!! :_)
>
> Bruce
>
> --
> B Bruen 
>
>
> --
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Where are the examples?

2014-12-16 Thread Ron
Benoit,
Watch out getting to close to the visualbasic way of thinking.
Please keep things simple and logical...
Examples are the first thing new users will look for.. Don't make them hard
to find. ;P

Regards,
Ron
Op 16 dec. 2014 12:51 schreef "Benoît Minisini" <
gam...@users.sourceforge.net>:

> Le 16/12/2014 12:31, rolf a écrit :
>
>> Hello Benoît
>>
>>  yesterday evening I compiled Gambas from trunk and no examples have been
>>>> installed.
>>>>
>>>> Also the menue entry "open example" has gone.
>>>>
>>>> Working with the Software Farm makes me crazy. After  an installation I
>>>> do not find the program and the source code either. Where will the
>>>> programs be installed?
>>>>
>>>
>>  There is a new bookmark "installed programs" in the project open dialog.
>>> This is where installed programs... are installed.
>>>
>>
>> But the entry is empty?? after install of a program from the software farm
>> (see attached screenshots)
>>
>
> There...
>
> --
> Benoît Minisini
>
>
> --
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Feature Request: Val Function

2014-11-26 Thread Ron
There is:

Print Val("&H" & "c25688")
12736136

2014-11-26 17:29 GMT+01:00 Lewis Balentine :

> There does not seem to be an inverse function for HEX$.
>
> Feature Request:
> Add ability to VAL function to return the value of a HEX string.
>
>
> Example:
> Print Val("0xc25688")' formatted as used internally by Gambas
> 12736136
>
> Print Val("0Hc25688")' formatted as used in Gambas Documentation
> 12736136
>
> Thank you,
>
> le...@keywild.com
>
>
> --
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] What "Cannot read information about table mi_table_name" means?

2014-11-08 Thread Ron
Trunk fixed the issue with the Celsius degrees symbol mangling, so
utf8 is correctly set when a lost mysql connection is restored now.
Can this be backported to 3.6.2 please?

 (if Jorge agrees too)

Regards,
Ron.

2014-11-07 17:43 GMT+01:00 Jorge Carrión :
> Well... I've created a Virtual Machine with LinuMint 17 Cinnamon. I've seen
> that current version on gambas-daily repository is the #6612. Then I've
> been trying to compile versión #6614 from svn but something was wrong with
> postgresql.gb, webkit.gb and another two packages.
> I'll wait to #6614 be on daily repository to test it, I guess...
>
> Regards
>
> 2014-11-07 0:40 GMT+01:00 Benoît Minisini :
>
>> Le 06/11/2014 10:51, Jorge Carrión a écrit :
>> > Correcting mysef:
>> >
>> > Yesterday it works in home, this morning it doesn't work in office. Isn't
>> > enough repeat the .Create line. Is necesary to close and re-open the
>> > connection:
>> >
>>
>> Can you try revision #6614? I added an automatic reconnection where it
>> was not added before (when you call the Create() method for example).
>>
>> Regards,
>>
>> --
>> Benoît Minisini
>>
>>
>> --
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
> --
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

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


Re: [Gambas-user] What "Cannot read information about table mi_table_name" means?

2014-11-05 Thread Ron
I have seen maybe something similar twice when running my project.
On 3.6.1 (maybe also 3.6.0) all of a sudden the character set seem to
have been switched/resetted.

I see it because a lot of my fields contains °C symbols, when the
issue with occurs it is displayed as seen in attachment and ofcourse
the queries/check fails/don't match anymore. My tables are using
latin1 default charset.

Only restarting the program resolved the issue.

I can reproduce it by restarting mysql server between/during queries.
Of course this is normal for this to go wrong, but I remember that
there was a bugfix with regards to re-selecting correct charset when
this happens/connection issues arise.

During the two times I have seen the issue, my mysql server wasn't
being restarted, and I had enough resources on my develpment machine.
So I'm not sure what happened, and why the recovered connections
behave differently.

Maybe this issue can be looked into..


Regards,
Ron.

2014-11-05 10:39 GMT+01:00 Jorge Carrión :
> With MySQL I have this function to log certains operations on a table named
> ad_hlog:
>
> (The connection is named datos and is a public variable that remains opened
> during project execution.)
>
> Public Sub hlog(tipo As String, detalle As String)
>
> Dim r As Result
> Dim s As String
>
> detalle = Replace(detalle, "'", "\\'")
> detalle = Replace(detalle, "\"", "\\\"") 'the string detalle can
> contains ' and " characters
> '  Old_code: this two commented lines makes eventualy that charset of
> database be changed without message or warning at all
> 's = "insert into ad_hlog (tipo, detalle, usr,fmod) values ('" &
> tipo & "', '" & detalle & "', '" & mComun.usuario.nick & "', " & "now()" &
> ")"
> 'datos.Exec(s)
>
> ' New code: the next line produces the "Cannot read information about
> table ad_hlog" and changes the charset and produces allocation non freed at
> end of execution
> r = datos.Create("ad_hlog")
> r!tipo = tipo
> r!detalle = detalle
> r!usr = mComun.usuario.nick
> r!fmod = Now()
> r.Update
>
> End
>
> This occurs seemingly random. Works fine several times and suddenly all is
> wrong.
> Apparently something is wrong on connection because the table definition is
> very simple and I can't see anything erroneous:
>
> CREATE TABLE IF NOT EXISTS `ad_hlog` (
>   `idhlog` int(8) unsigned NOT NULL AUTO_INCREMENT,
>   `tipo` varchar(50) NOT NULL,
>   `detalle` mediumtext NOT NULL,
>   `usr` varchar(20) NOT NULL,
>   `fmod` datetime NOT NULL,
>   KEY `id` (`idhlog`)
> ) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=2567 ;
>
> That situation are driven me crazy since a lot of time
> I guess that once the problem isolated, I can get around it, but it seems
> to me a bug
>
> Regards
> --
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Release goals for 3.7 / 4.0

2014-10-23 Thread Ron
Maybe we should have some Mike this?

Ifdef System.Version >= 3.6.0 then
' do special new code..
Else
' something else
Endif

Regards,
Ron
Op 23 okt. 2014 14:49 schreef "Fabien Bodard" :

> > ideally "back-compiling" to older versions as an option in the IDE,
> > but I appreciate that would be quite hard to do, your
> > time may be  more usefully spent on other things.
>
>
> > Ianld
> sound a good idea. It will resolve the problem ... But is it complex
> to do ?. Or maybe gambas package should embed multiple compiler.
>
> --
> Fabien Bodard
>
>
> --
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] About simbolic links in .src

2014-10-22 Thread Ron
I think you still cannot edit the files linked to by the symbolic links...
It's by design, would be nice if it wasn't (or an option in project)

2014-10-22 18:39 GMT+02:00 Jorge Carrión :
> I remember to read some messages in this list about to have folder's
> simbolic links inside de .src folder of the proyect with all that clases
> and modules we often use in all our proyects.
> I try this and work fine, but don't remenber (neither find) what were the
> problems that such practices produced.
>
> In .deb making, perhaps? someone remember? I don't like surprises when I'll
> be in a hurry to solve a bug or something...
>
> Regards
> --
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

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


Re: [Gambas-user] Drag and drop inconsistent across toolkits

2014-10-18 Thread Ron
I have to drag a control on my form a few time until it sticks...
Is this related?

Ubuntu 14.04.1

Regards,
Ron.

2014-10-17 19:05 GMT+02:00  :
> Den 2014-10-17 18:44, skrev Jørn Erik Mørne:
>
>> Tobias Boege  wrote:
>>>
>>> Hi,
>>>
>>> there is a project attached which tries to implement some drag and drop.
>>> The
>>> archive has gb.qt4 as graphical component but let me start with its
>>> behaviour
>>> under gb.gui:
>>>
>>>  - drag from SourceLabel und SourceTextBox and drop on Destination work,
>>>  - if I do three drag and drops: (i) from SourceLabel, (ii) from
>>>SourceTextBox, (iii) from SourceLabel again, I get an error
>>> "Undergoing
>>>drag". At step (ii) I see a warning in the console:
>>>
>>>  (DragData:2084): GLib-GObject-WARNING **: gsignal.c:2580: instance
>>> '0x14170a0' has no handler with id '138'
>>>
>>> When I change the component to gb.qt4, I get the following:
>>>
>>>  - drag from SourceTextBox does not work automatically anymore, I have to
>>>code it myself (losing the ability to select text in it),
>>>  - no errors or warnings.
>>>
>>> The project is from another Gambas user and on his system (don't know
>>> what
>>> it is -- does it matter?), the project with gb.gui does:
>>>
>>>  - drag from SourceTextBox works automatically, drag from SourceLabel
>>>doesn't work, even when coded (as in the attached project).
>>>
>>> Is there anything I can say to him about this?
>>>
>>> My system:
>>>
>>> [System]
>>> Gambas=3.5.90
>>> OperatingSystem=Linux
>>> Kernel=3.15.8-1-ARCH
>>> Architecture=x86_64
>>> Distribution=arch
>>> Desktop=?
>>> Theme=QWindows
>>> Language=en_GB.UTF-8
>>> Memory=3758M
>>> [Libraries]
>>> Cairo=libcairo.so.2.11200.16
>>> Curl=libcurl.so.4.3.0
>>> DBus=libdbus-1.so.3.7.2
>>> DBus=libdbus-1.so.3.8.6
>>> GStreamer=libgstreamer-0.10.so.0.30.0
>>> GStreamer=libgstreamer-1.0.so.0.400.0
>>> GTK+3=libgtk-3.so.0.1200.2
>>> GTK+=libgtk-x11-2.0.so.0.2400.13
>>> GTK+=libgtk-x11-2.0.so.0.2400.24
>>> OpenGL=libGL.so.1.2.0
>>> Poppler=libpoppler.so.35.0.0
>>> Poppler=libpoppler.so.46.0.0
>>> Qt4=libQtCore.so.4.8.6
>>> SDL=libSDL-1.2.so.0.11.4
>>>
>>> which looks awful. I only know for sure that I need two different
>>> versions
>>> of Poppler and GStreamer to keep all my applications satisfied. But two
>>> GTK+2 versions? :-/
>>>
>>> Regards,
>>> Tobi
>>>
>
> Looks like the attachment got lost, here it is!
> --
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://p.sf.net/sfu/Zoho
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Pre-release of Gambas 3.6 (2)

2014-10-14 Thread Ron
Yes I can do that... ;P

2014-10-14 15:34 GMT+02:00 Tobias Boege :
> On Tue, 14 Oct 2014, Ron wrote:
>> >> I get the idea that default alignment of a TextLabel is TopNormal now,
>> >> is that on purpose?
>> >
>> > Mmm, it was always intended to be like that. But they were bugs about
>> > that I think in previous versions.
>>
>> But this way it doesn't align with a textBox that you place behind it,
>> it looks really bad...
>> See attachment.
>> I always have to adjust alignment to 'Normal'
>>
>
> And you can't use a Label to label your TextBox?
>
> --
> "There's an old saying: Don't change anything... ever!" -- Mr. Monk
>
> --
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://p.sf.net/sfu/Zoho
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Pre-release of Gambas 3.6 (2)

2014-10-14 Thread Ron
>> I get the idea that default alignment of a TextLabel is TopNormal now,
>> is that on purpose?
>
> Mmm, it was always intended to be like that. But they were bugs about
> that I think in previous versions.

But this way it doesn't align with a textBox that you place behind it,
it looks really bad...
See attachment.
I always have to adjust alignment to 'Normal'

Please unfix the bug ;P

Regards,
Ron.
--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Pre-release of Gambas 3.6 (2)

2014-10-14 Thread Ron
New archive runs OK on Ubuntu 14.04, versions are correct now.

I have to get used to Copy/Paste being under Edit menu now (at least
it seems that the location changed)

I get the idea that default alignment of a TextLabel is TopNormal now,
is that on purpose?

Regards,
Ron.

2014-10-14 12:29 GMT+02:00 Rolf-Werner Eilert :
>
>
> Am 13.10.2014 18:43, schrieb Benoît Minisini:
>> Hi,
>>
>> I have uploaded a new pre-release source package of Gambas 3.6 at:
>>
>> http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.6.0.tar.bz2/download
>>
>> I have fixed the following problems:
>>
>> - Some source files were missing.
>>
>> - ImageStat() does not crash anymore.
>>
>> - Support for LLVM_CONFIG environmental variable is fixed.
>>
>> - LLVM directories should be correctly detected in all cases now.
>>
>> - The IDE editor message tooltip should be readable with dark themes.
>>
>> - The version number of all examples and components has been updated.
>>
>> Please test it and report if you find new problems!
>>
>> Regards,
>>
>
> Hi Benoit,
>
> My make stops here:
>
> make[4]: Entering directory
> `/home/tester/Downloads/Gambas3/gambas3-3.6.0/gb.gtk3/src'
>CXXgb_gtk3_la-gmemory.lo
>CXXgb_gtk3_la-font-parser.lo
>CXXgb_gtk3_la-gtools.lo
>CXXgb_gtk3_la-gstock.lo
>CXXgb_gtk3_la-gfont.lo
>CXXgb_gtk3_la-gpicture.lo
>CXXgb_gtk3_la-gdesktop.lo
>CXXgb_gtk3_la-gmessage.lo
> gmessage.cpp: In static member function 'static bool
> gDialog::selectColor()':
> gmessage.cpp:692:2: error: 'GtkColorChooserDialog' was not declared in
> this scope
> gmessage.cpp:692:25: error: 'dialog' was not declared in this scope
> gmessage.cpp:697:35: error: expected primary-expression before ')' token
> gmessage.cpp:697:36: error: expected ';' before
> 'gtk_color_chooser_dialog_new'
> gmessage.cpp:699:53: error: 'GTK_COLOR_CHOOSER' was not declared in this
> scope
> gmessage.cpp:699:62: error: 'gtk_color_chooser_set_rgba' was not
> declared in this scope
> gmessage.cpp:710:62: error: 'gtk_color_chooser_get_rgba' was not
> declared in this scope
> make[4]: *** [gb_gtk3_la-gmessage.lo] Fehler 1
> make[4]: Leaving directory
> `/home/tester/Downloads/Gambas3/gambas3-3.6.0/gb.gtk3/src'
> make[3]: *** [all-recursive] Fehler 1
> make[3]: Leaving directory
> `/home/tester/Downloads/Gambas3/gambas3-3.6.0/gb.gtk3'
> make[2]: *** [all] Fehler 2
> make[2]: Leaving directory
> `/home/tester/Downloads/Gambas3/gambas3-3.6.0/gb.gtk3'
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Leaving directory `/home/tester/Downloads/Gambas3/gambas3-3.6.0'
> make: *** [all] Fehler 2
>
> And this is the system data:
>
> [System]
> Gambas=3.5.4
> OperatingSystem=Linux
> Kernel=3.1.10-1.19-desktop
> Architecture=x86_64
> Distribution=SuSE openSUSE 12.1 (x86_64)
> VERSION = 12.1
> CODENAME = Asparagus
> Desktop=KDE
> Theme=QPlastique
> Language=de_DE.UTF-8
> Memory=20114M
> [Libraries]
> Cairo=libcairo.so.2.11000.2
> Curl=libcurl.so.3.0.0
> Curl=libcurl.so.4.2.0
> DBus=libdbus-1.so.3.6.4
> GStreamer=libgstreamer-0.10.so.0.29.0
> GTK+=libgtk-x11-2.0.so.0.2400.7
>
> Regards
> Rolf
>
> --
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://p.sf.net/sfu/Zoho
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Pre-release of Gambas 3.6

2014-10-13 Thread Ron
It builds OK on Ubuntu 14.04.1 LTS 64Bits.

But version of gbs3 is not updated.

$ gbc3 --version
3.6.0
$ gba3 --version
3.6.0
$ gbi3 --version
3.6.0
$ gbs3 --version
3.5.90

$ which gbc3
/usr/bin/gbc3

$ which gbs3
/usr/bin/gbs3

It has wrong/debug arguments in it's .project file?

Arguments="-c\n/home/benoit/comment-at-last-END-bug.gbs3"

Regards,
Ron.

2014-10-13 10:31 GMT+02:00 Benoît Minisini :
> Le 13/10/2014 10:23, Rolf-Werner Eilert a écrit :
>>
>>
>> Am 12.10.2014 19:06, schrieb Benoît Minisini:
>>> Hi,
>>>
>>> I have uploaded the source package of Gambas 3.6 at:
>>>
>>> http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.6.0.tar.bz2/download
>>>
>>> The ChangeLog is available at:
>>>
>>> http://gambaswiki.org/wiki/doc/release/3.6.0
>>>
>>> Please test it and report any problem before I make it official!
>>>
>>> Thanks in advance.
>>>
>>
>> Hello Benoit,
>>
>> unfortunately, on my system...
>
> Which is? Please give your system information (especially the GTK+3
> version in that case).
>
> Regards,
>
> --
> Benoît Minisini
>
> --
> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
> http://p.sf.net/sfu/Zoho
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://p.sf.net/sfu/Zoho
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] [Gambas-devel] Gambas IDE trunk slow start

2014-09-13 Thread Ron
I work on a big project with more than 10 lines of code.. And simply
never close a code window.

You can find it here github.com/DomotiGa the project is called DomotiGa3

I cannot reproduce it anymore... I also get max 2sec delay now...
Maybe there was something wrong with one or more files or .settings
entries.. After the 'close all windows action' it got emptied...
Ignore it for now...

Regards
Ron
Op 13 sep. 2014 22:35 schreef "Benoît Minisini" <
gam...@users.sourceforge.net>:

> Le 13/09/2014 20:53, Benoît Minisini a écrit :
> > Le 13/09/2014 19:21, Ron a écrit :
> >> Did more testing, it's only slow when a lot of files are open on
> >> startup (forms, classes)...
> >> Did a ctrl-alt-w and it's fast.
> >>
> >> But the stable Gambas doesn't have this issue.
> >>
> >> Every 60 files (some big ones) gives a 2 Second delay I think
> >>
> >> I may be nitpicking... but we (I) don't want a slower IDE unless there
> >> is a good reason for it :-)
> >>
> >> Regards,
> >> Ron.
> >>
> >
> > I agree. Can you send your project? I don't notice this behaviour.
> >
>
> I tested with the IDE source code. I opened more than 100 files, and it
> takes about 2 seconds to open the IDE with all that files (I have a core
> i5 @ 3,4 Ghz)
>
> By the way, why opening more so many files? What for?
>
> --
> Benoît Minisini
>
>
> --
> Want excitement?
> Manually upgrade your production database.
> When you want reliability, choose Perforce
> Perforce version control. Predictably reliable.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Issue 552 in gambas: httpclient in async mode timeout not working

2014-08-27 Thread Ron
Benoit,

Tested it just now, and got this after the configured timeout (3 secs
in this case)

2014/08/27 20:31:44 [Plugin] RaZberry Z-Wave, Instance #1 enabled.
2014/08/27 20:31:44 [RaZberry] RaZberry Z-Wave initializing.
2014/08/27 20:31:47 [RaZberry] ERROR: Operation Timeout (-1028).

So looks fine to me, thanks!

Backport possible?
Code change is very minimal...

Regards,
Rob,

2014-08-26 20:56 GMT+02:00  :
> Updates:
> Status: Fixed
>
> Comment #2 on issue 552 by benoit.m...@gmail.com: httpclient in async mode
> timeout not working
> https://code.google.com/p/gambas/issues/detail?id=552
>
> Fixed in revision #6429.
>
> --
> You received this message because this project is configured to send all
> issue notifications to this address.
> You may adjust your notification preferences at:
> https://code.google.com/hosting/settings
>
> --
> Slashdot TV.
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

--
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Collection puzzle.

2013-09-07 Thread Ron
Fabian Yes i think thats the way. Will try thanks.

Benoit my example was not clear.

In my program i cannot access col2 directly. It was only here to create a
collection inside the collection col which is the only one  I can access.

Regards,
Ron.
Op 7 sep. 2013 14:23 schreef "Fabien Bodard"  het
volgende:

> you need two loop
>
> i your way you see only the key of cCol2 that don't change any more.
>
> cVal chow at each the same col... Col2 as each entry of the col container
> target the same collection... Col2.
>
> cCol["1"]->Col2.Key = A
> cCol["2"]->Col2.Key = A
> cCol["3"]->Col2.Key = A
>
> dim cVal, cVal2 as collection
>
> For each cVal in cCol
> For Each cVal2 in cVal
>
> Print cVal.Key & " -> " & cVal2.Key
>
> next
> next
>
>
>
>
> 2013/9/7 Benoît Minisini 
>
> > Le 07/09/2013 13:04, Ron a écrit :
> > > I can't display them in any other way. Can you?
> > > Op 7 sep. 2013 12:59 schreef "Benoît Minisini" <
> > gam...@users.sourceforge.net>
> > > het volgende:
> > >
> >
> > What do you want to achieve exactly? Browsing the keys of cCol2?
> > Browsing the keys of cCol1 and then browsing the keys of cCol2
> > recursively? Sorry if I don't understand.
> >
> > --
> > Benoît Minisini
> >
> >
> >
> --
> > Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> > Discover the easy way to master current and previous Microsoft
> technologies
> > and advance your career. Get an incredible 1,500+ hours of step-by-step
> > tutorial videos with LearnDevNow. Subscribe today and save!
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
>
>
>
> --
> Fabien Bodard
>
> --
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Collection puzzle.

2013-09-07 Thread Ron
I can't display them in any other way. Can you?
Op 7 sep. 2013 12:59 schreef "Benoît Minisini" 
het volgende:

> Le 07/09/2013 12:56, Ron a écrit :
> > It doesn't work.
> >
> > I don't see them with this example.
> > Normally this works but not with collection inside collection...
> >
> > Do you see them when you run example?
> >
> > Regards,
> > Ron.
>
> If your code prints "A", "B" and "C", then it works. These are the keys
> of the cCol collection. Why would you want to see the keys of cCol2 by
> browsing the keys of cCol?
>
> --
> Benoît Minisini
>
>
> --
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Collection puzzle.

2013-09-07 Thread Ron
It doesn't work.

I don't see them with this example.
Normally this works but not with collection inside collection...

Do you see them when you run example?

Regards,
Ron.
Op 7 sep. 2013 12:54 schreef "Benoît Minisini" 
het volgende:
>
> Le 07/09/2013 12:48, Ron a écrit :
> > Something eats my time here...
> >
> > I have a collection cCol which contains collections cCol2
> > The keys of cCol2 are unknown because they come from a JSON.decode
function.
> >
> > I can't seem to access those keys, anyone has an idea on how to print
them?
> >
> > So in example below, the "1", "2", "6"
> >
> > It seems collection implementation misses some function/method or
> > contains a bug.
> >
> > Public Sub Main()
> >
> >Dim cCol As Collection
> >Dim cCol2 As Collection
> >Dim cVal As Collection
> >
> >cCol2 = ["1": "one", "2": "two", "6": "six"]
> >cCol = ["A": cCol2, "B": cCol2, "C": cCol2]
> >
> >For Each cVal In cCol
> >  Print cVal.key
> >Next
>
> --> You get the keys that way. What's the problem exactly?
>
> --
> Benoît Minisini
>
>
--
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft
technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
>
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Collection puzzle.

2013-09-07 Thread Ron
Something eats my time here...

I have a collection cCol which contains collections cCol2
The keys of cCol2 are unknown because they come from a JSON.decode function.

I can't seem to access those keys, anyone has an idea on how to print them?

So in example below, the "1", "2", "6"

It seems collection implementation misses some function/method or
contains a bug.

Public Sub Main()

  Dim cCol As Collection
  Dim cCol2 As Collection
  Dim cVal As Collection

  cCol2 = ["1": "one", "2": "two", "6": "six"]
  cCol = ["A": cCol2, "B": cCol2, "C": cCol2]

  For Each cVal In cCol
Print cVal.key
  Next

End

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] A Check MarK?

2013-09-02 Thread Ron
Same here.
No idea what it does or how to het rid of it. ;-)

Regards,
Ron
Op 3 sep. 2013 00:27 schreef "A. Person" <2aq9j93...@cogeco.ca> het
volgende:

> Recently in one of my projects a check mark appeared next to the line
> numbers
> as in the attachment. Just one. It moves about.
>
> I've searched but cannot find anything about it.
>
> Is it an undocumented feature?
>
> Anyone
>
> Thanks
>
>
> --
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Connect hang with latest revision

2013-06-07 Thread Ron
I just checked, gambas2 didn't/doesn't respect timeout either in this 
case when a hiost cannot be reached.
And reports after 2+ minutes.
So it was always like this, maybe because of the fact that it was 
difficult to implement?

Regards,
Ron.

> Thanks.
> The blocking mode issue is not that bad, since I always want to use 
> non-blocking mode anyway, my project is too big to be interupted by 
> sockets.
>
> About the timeout I thought gambas2 did this correctly, but I'm not 
> sure now, since the ClientSocket example uses a timer to remove Socket 
> if it isn't connected in 10 seconds.
>
> Regards,
> Ron_2nd.
>> Hmmm... well I've taken a quick glance at the source and the
>> documentation (Shock news! Developer looks at documentation!!!) and it
>> looks like it's less simple than we thought.
>>
>> When making a connection, it seems as if Gambas insists on using
>> Blocking mode True internally, there is no storage or remembering of the
>> original Blocking mode, so as far as I can see any setting of Blocking
>> mode prior to making a connect is not going to be useful anyway.  In
>> fact, from reading the documentation of Gambas
>> (http://gambasdoc.org/help/comp/gb.net/socket?v3), it looks like it's
>> expected that all Socket comms will be be in non-Blocking (asynchronous)
>> mode:
>>
>> "This class performs its work asynchronously, so the program will not be
>> stopped while connecting, sending or receiving data. "
>>
>> Also it looks like the code relating to Blocking/non-Blocking is
>> provided by the Stream class which Socket inherits.  I think if we're
>> going to make it possible for the user to specify whether they want
>> Blocking or not, and by implication, set a Timeout value... it will need
>> a little more work than just a tweak to call set_timeout whenever
>> set_blocking is called...
>>
>> Kind regards,
>> Caveat
>>
>> On 03/06/13 21:14, Benoît Minisini wrote:
>>> Le 02/06/2013 17:05, Ron a écrit :
>>>> Bug #1 and Bug #2 are fixed, thanks for that!
>>>>
>>>> The time it takes for Event_Error to trigger is still more than 2 
>>>> minutes.
>>>> I see that in ClientSocket there is a 10sec timer running which cuts
>>>> the socket if still not connected.
>>>>
>>>> Is this the way it should be implemented, what about the TimeOut
>>>> property it seems it doesn't work?
>>>> Would be nice if users know after 10 secs that the socket is unable to
>>>> connect, +2 minutes is too long...
>>>>
>>>> Regards,
>>>> Ron.
>>>>
>>> Hi Ron,
>>>
>>> I have implemented what Caveat told in revision #5696: the timeout is
>>> reset each time the blocking mode changes internally.
>>>
>>> Can you try it and tell me if it changes anything for you?
>>>
>>
>> --
>>  
>>
>> How ServiceNow helps IT people transform IT departments:
>> 1. A cloud service to automate IT design, transition and operations
>> 2. Dashboards that offer high-level views of enterprise services
>> 3. A single system of record for all IT processes
>> http://p.sf.net/sfu/servicenow-d2d-j
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>


--
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Connect hang with latest revision

2013-06-06 Thread Ron
Thanks.
The blocking mode issue is not that bad, since I always want to use 
non-blocking mode anyway, my project is too big to be interupted by sockets.

About the timeout I thought gambas2 did this correctly, but I'm not sure 
now, since the ClientSocket example uses a timer to remove Socket if it 
isn't connected in 10 seconds.

Regards,
Ron_2nd.
> Hmmm... well I've taken a quick glance at the source and the
> documentation (Shock news! Developer looks at documentation!!!) and it
> looks like it's less simple than we thought.
>
> When making a connection, it seems as if Gambas insists on using
> Blocking mode True internally, there is no storage or remembering of the
> original Blocking mode, so as far as I can see any setting of Blocking
> mode prior to making a connect is not going to be useful anyway.  In
> fact, from reading the documentation of Gambas
> (http://gambasdoc.org/help/comp/gb.net/socket?v3), it looks like it's
> expected that all Socket comms will be be in non-Blocking (asynchronous)
> mode:
>
> "This class performs its work asynchronously, so the program will not be
> stopped while connecting, sending or receiving data. "
>
> Also it looks like the code relating to Blocking/non-Blocking is
> provided by the Stream class which Socket inherits.  I think if we're
> going to make it possible for the user to specify whether they want
> Blocking or not, and by implication, set a Timeout value... it will need
> a little more work than just a tweak to call set_timeout whenever
> set_blocking is called...
>
> Kind regards,
> Caveat
>
> On 03/06/13 21:14, Benoît Minisini wrote:
>> Le 02/06/2013 17:05, Ron a écrit :
>>> Bug #1 and Bug #2 are fixed, thanks for that!
>>>
>>> The time it takes for Event_Error to trigger is still more than 2 minutes.
>>> I see that in ClientSocket there is a 10sec timer running which cuts
>>> the socket if still not connected.
>>>
>>> Is this the way it should be implemented, what about the TimeOut
>>> property it seems it doesn't work?
>>> Would be nice if users know after 10 secs that the socket is unable to
>>> connect, +2 minutes is too long...
>>>
>>> Regards,
>>> Ron.
>>>
>> Hi Ron,
>>
>> I have implemented what Caveat told in revision #5696: the timeout is
>> reset each time the blocking mode changes internally.
>>
>> Can you try it and tell me if it changes anything for you?
>>
>
> --
> How ServiceNow helps IT people transform IT departments:
> 1. A cloud service to automate IT design, transition and operations
> 2. Dashboards that offer high-level views of enterprise services
> 3. A single system of record for all IT processes
> http://p.sf.net/sfu/servicenow-d2d-j
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user


--
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Connect hang with latest revision

2013-06-04 Thread Ron
I tried it,
without specifying .Blocking or .Timeout the _Error event is still
triggered after +2 minutes.

With specified .Timeout = 10 * 1000 (10secs) the same, after +2 minutes.

When specifying .Blocking (either True or False) you get this directly
when opening:
Error: Stream is closed


Regards,
Ron_2nd.


2013/6/3 Benoît Minisini :
> Le 02/06/2013 17:05, Ron a écrit :
>> Bug #1 and Bug #2 are fixed, thanks for that!
>>
>> The time it takes for Event_Error to trigger is still more than 2 minutes.
>> I see that in ClientSocket there is a 10sec timer running which cuts
>> the socket if still not connected.
>>
>> Is this the way it should be implemented, what about the TimeOut
>> property it seems it doesn't work?
>> Would be nice if users know after 10 secs that the socket is unable to
>> connect, +2 minutes is too long...
>>
>> Regards,
>> Ron.
>>
>
> Hi Ron,
>
> I have implemented what Caveat told in revision #5696: the timeout is
> reset each time the blocking mode changes internally.
>
> Can you try it and tell me if it changes anything for you?
>
> --
> Benoît Minisini
>
> --
> How ServiceNow helps IT people transform IT departments:
> 1. A cloud service to automate IT design, transition and operations
> 2. Dashboards that offer high-level views of enterprise services
> 3. A single system of record for all IT processes
> http://p.sf.net/sfu/servicenow-d2d-j
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

--
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Connect hang with latest revision

2013-06-02 Thread Ron
Bug #1 and Bug #2 are fixed, thanks for that!

The time it takes for Event_Error to trigger is still more than 2 minutes.
I see that in ClientSocket there is a 10sec timer running which cuts
the socket if still not connected.

Is this the way it should be implemented, what about the TimeOut
property it seems it doesn't work?
Would be nice if users know after 10 secs that the socket is unable to
connect, +2 minutes is too long...

Regards,
Ron.

2013/6/1 Benoît Minisini :
> Le 01/06/2013 10:33, Ron a écrit :
>> Benoit,
>>
>> It seems to be a Gambas3 thing all along... not latest revisions...
>> but I didn't see this until I specified a wrong IP address to connect
>> too in my project.
>> Also on the Raspberry Pi I saw this earlier, thinking... man that's a
>> slow device, now I know Gambas socket blocks everything when a host
>> cannot be reached..
>>
>> I detected three bugs... and filled this bug report.
>> https://code.google.com/p/gambas/issues/detail?id=435
>>
>> Regards,
>> Ron_2nd.
>>
>
> OK. It seems to be an old bad change. I fixed it in revision #5689.
>
> Regards,
>
> --
> Benoît Minisini
>
> --
> Get 100% visibility into Java/.NET code with AppDynamics Lite
> It's a free troubleshooting tool designed for production
> Get down to code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://p.sf.net/sfu/appdyn_d2d_ap2
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Connect hang with latest revision

2013-06-01 Thread Ron
Benoit,

It seems to be a Gambas3 thing all along... not latest revisions...
but I didn't see this until I specified a wrong IP address to connect
too in my project.
Also on the Raspberry Pi I saw this earlier, thinking... man that's a
slow device, now I know Gambas socket blocks everything when a host
cannot be reached..

I detected three bugs... and filled this bug report.
https://code.google.com/p/gambas/issues/detail?id=435

Regards,
Ron_2nd.

2013/5/30 Benoît Minisini :
> Le 30/05/2013 20:56, Ron a écrit :
>> Strange i updated two machines and they both hang at startup trying to
>> connect to a tcp socket.
>> Will downgrade tomorrow and try to isolate it.
>>
>> Regards,
>> Ron_2nd
>
> Do you have the old revision number before the hang?
>
> --
> Benoît Minisini
>
> --
> Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
> Get 100% visibility into your production application - at no cost.
> Code-level diagnostics for performance bottlenecks with <2% overhead
> Download for free and get started troubleshooting in minutes.
> http://p.sf.net/sfu/appdyn_d2d_ap1
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

--
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Connect hang with latest revision

2013-05-30 Thread Ron
Strange i updated two machines and they both hang at startup trying to
connect to a tcp socket.
Will downgrade tomorrow and try to isolate it.

Regards,
Ron_2nd
Op 30 mei 2013 20:45 schreef "Benoît Minisini" 
het volgende:

> Le 30/05/2013 20:08, Ron a écrit :
> > Did something change in the latest 10 revisions trunk regarding socket
> connects?
> >
> > I upgraded my Gambas3 to latest rev, and now my project hangs when
> starting.
> >
> > this is the first part of the gdb bt:
> > 0x7fffc6ffe000
> > 0x7f8a61c0dfdd in connect () at ../sysdeps/unix/syscall-template.S:81
> > 81 ../sysdeps/unix/syscall-template.S: No such file or directory.
> > (gdb) bt
> > #0  0x7f8a61c0dfdd in connect () at
> ../sysdeps/unix/syscall-template.S:81
> > #1  0x7f8a5a0fab4a in CSocket_CallBackFromDns (_object=0x1427028)
> >  at CSocket.c:175
> > #2  CSocket_CallBackFromDns (_object=0x1427028) at CSocket.c:153
> > #3  0x00412a03 in EVENT_check_post () at gbx_event.c:244
> > #4  0x7f8a5ee595be in QObject::event(QEvent*) ()
> > from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
> > #5  0x7f8a5f3698ec in QApplicationPrivate::notify_helper(QObject*,
> QEvent*)
> >  () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
> > #6  0x7f8a5f36c25b in QApplication::notify(QObject*, QEvent*) ()
> > from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
> > #7  0x7f8a5ee3f63e in QCoreApplication::notifyInternal(QObject*,
> QEvent*)
> >  () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
> > #8  0x7f8a5ee43171 in
> > QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)
> > () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
> > #9  0x7f8a5ee6de83 in ?? () from
> /usr/lib/x86_64-linux-gnu/libQtCore.so.4
> > #10 0x7f8a5de91f05 in g_main_context_dispatch ()
> > from /lib/x86_64-linux-gnu/libglib-2.0.so.0
> > #11 0x7f8a5de92248 in ?? () from
> /lib/x86_64-linux-gnu/libglib-2.0.so.0
> > #12 0x7f8a5de92304 in g_main_context_iteration ()
> >
> > Will try to pinpoint the working revision again, if this is the cause...
> > Regards,
> > Ron_2nd.
> >
>
> Mmm, no, the gb.net component has not been modified...
>
> --
> Benoît Minisini
>
>
> --
> Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
> Get 100% visibility into your production application - at no cost.
> Code-level diagnostics for performance bottlenecks with <2% overhead
> Download for free and get started troubleshooting in minutes.
> http://p.sf.net/sfu/appdyn_d2d_ap1
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Connect hang with latest revision

2013-05-30 Thread Ron
Did something change in the latest 10 revisions trunk regarding socket connects?

I upgraded my Gambas3 to latest rev, and now my project hangs when starting.

this is the first part of the gdb bt:
0x7fffc6ffe000
0x7f8a61c0dfdd in connect () at ../sysdeps/unix/syscall-template.S:81
81 ../sysdeps/unix/syscall-template.S: No such file or directory.
(gdb) bt
#0  0x7f8a61c0dfdd in connect () at ../sysdeps/unix/syscall-template.S:81
#1  0x7f8a5a0fab4a in CSocket_CallBackFromDns (_object=0x1427028)
at CSocket.c:175
#2  CSocket_CallBackFromDns (_object=0x1427028) at CSocket.c:153
#3  0x00412a03 in EVENT_check_post () at gbx_event.c:244
#4  0x7f8a5ee595be in QObject::event(QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x7f8a5f3698ec in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#6  0x7f8a5f36c25b in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#7  0x7f8a5ee3f63e in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x7f8a5ee43171 in
QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*)
() from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x7f8a5ee6de83 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x7f8a5de91f05 in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x7f8a5de92248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x7f8a5de92304 in g_main_context_iteration ()

Will try to pinpoint the working revision again, if this is the cause...
Regards,
Ron_2nd.

--
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Global error management routine

2013-05-22 Thread Ron
On 22-5-2013 9:53, Benoît Minisini wrote:
> Le 22/05/2013 00:04, Richard Terry a écrit :
>> Tobias Boege wrote:
>>> Hi Benoit,
>>>
>>> when programming a component in C/C++, one can use the error hook to execute
>>> a function when the interpreter is about to abort because of an error.
>>>
>>> In Gambas itself, we only have the local Catch blocks to execute code in
>>> case of error in this or any context above in the stack.
>>>
>>> However, there is no global error handling routine like the above error hook
>>> available for Gambas programs. It would be handy if the program ultimately
>>> has to tidy up some of its business before it is killed.
>>>
>> I'd second that, though I'm technically incapable of
>> helping/understanding. Short of putting a catch statement in every
>> single subroutine there seems no way in gambas to stop a program
>> crashing when it enounters an unexpected error, which if you have others
>> using the program for some mission-critical purpose this is nothing
>> short of embarrassing/dangerous/annoying to the users.
> I will think about it...
>
>> Though I use the latest packages for gambas3 I find the IDE crashes out
>> unexpectedly enough (e.g several times in a few hour session) for me to
>> have got into the habit of clicking the save button every few minutes as
>> in recent times I've lost e.g 30 mins of code due to the ide suddenly
>> 'disappearing'.
>>
>> Regards
>>
>> richard
> I have no crash, while I use the Gambas IDE every day. What package do
> you use? What version? What kind of crash? Gambas error or segmentation
> fault?... and so on.
>

I have them too sometimes. Signal 11's.
But it seems they happen after something else failse, like failing to 
connecting to mysql for example.
A user also reported to have Signal 11's while starting my project on a 
Raspberry Pi, thats maybe an ARM thingy.

I will try to gather some more information.

Regards,
Ron_2nd.

--
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Restructuring the official Gambas examples

2013-05-01 Thread Ron
Although discussing about a good structure to put them under is a good
thing,
watch out not to waste time which better had been used to code the example
themselves.

I'm missing modern world examples, not simple basic stuff.

Like how to interact with your webbrowser via websockets using Gambas.
http://sourceforge.net/p/gambasforge/code/HEAD/tree/trunk/ChatServer/.src/
I'm trying to create a gb.websocket component out of it.

How to authenticate against Facebook and other services using OAuth2 and
Gambas
https://code.google.com/p/gambas-online/

How to interface to you Raspberry Pi from Gambas.
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=34&t=37659

Talking the MQTT protocol with Gambas, the new Internet of Things protocol
to be.
Started to work on it here:
http://domotiga.nl/projects/domotiga/repository/entry/trunk/DomotiGa3/.src/CMQTT.class

Regards,
Ron_2nd.



2013/4/29 Tobias Boege 

> On Mon, 29 Apr 2013, Bruce wrote:
> > On Sun, 2013-04-28 at 19:30 +0200, Tobias Boege wrote:
> > > Hi folks,
> > >
> > > {lots} 8<
> >
> > Hi Tobi,
> >
> > Here's some "opinion", so take it as such and not criticism.
> >
>
> Too bad, for criticism helps to improve our ideas. Now you leave the work
> to
> me to make criticism out of your opinions ;-)
>
> > 1) Who uses the examples and why?
> > I would say there are two general categories of people who access the
> > examples. New gambas coders looking for answers to syntax and
> > algorithmic questions and experienced coders looking for code they have
> > forgotten how to use (I can confirm there is definitely at least one of
> > the second type!). The examples need to address both these audiences.
> >
>
> Matti already did sort of that observation. Niveau levels may therefore
> actually be too much of a classification. Dividing into newbie and
> experienced coder may be closer to the immediate needs.
>
> This could simplify the visual problems of presenting that new view to
> some extent.
>
> > 2) Avoiding a plethora of examples
> > Although having an example focus on a single aspect of gambas is
> > laudable we do not want to end up with a huge set of examples where one
> > has to load example B to understand example A, and then example C, D, E
> > etc. Any code or feature of an example should be completely self
> > contained.
> >
>
> Absolutely true. We don't have any need for an example for each of the
> language functions either. That's for the wiki or so.
>
> An example depicts one topic. Right.
>
> > 3) Comments
> > A sparsely commented class is worse than no comments at all. By this I
> > mean that comments in example code should go beyond the focus of the
> > example whenever obscure intent, algorithm or syntax is involved.  If
> > not, the naive user is left wondering what that piece of the example
> > code does and how and the experienced user, who may be reviewing the
> > code because they know that an obscure construct is demonstrated there,
> > is again frustrated because that exact bit is not commented.
> > There is no such things as too many or too detailed comments. Oh, how I
> > know this when having to go back into code I wrote a year, month, week
> > ago!
> >
>
> I disagree on that point. I can imagine too many or to detailed comments.
> My
> plans are to comment the "what" and "why" because the "how" should be
> obvious from the code. Otherwise it's bad code.
>
> Regards,
> Tobi
>
>
> --
> Try New Relic Now & We'll Send You this Cool Shirt
> New Relic is the only SaaS-based application performance monitoring service
> that delivers powerful full stack analytics. Optimize and monitor your
> browser, app, & servers with just a few lines of code. Try New Relic
> and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] all those bloody dependencies

2013-04-25 Thread Ron
If you want to build gambas3 from scratch, simply look which 
packages/libs a known opensuse gambas3 rpm used to build itself.

wget 
http://download.opensuse.org/repositories/home:/munix9:/gambas/openSUSE_12.3/src/gambas3-3.4.1-3.8.src.rpm
apt-get install rpm2cpio
rpm2cpio gambas3-3.4.1-3.8.src.rpm |cpio -idmv
vi gambas3.spec

Regards,
Ron_2nd.
> Perhaps it's working repo, I don't know, I don't use OpenSUSE.
> At least it's missing from Gambas doc pages.
>
> Perhaps someone who use OpenSUSE could update those pages concerning it.
>
> Jussi
>
>
> On Thu, Apr 25, 2013 at 2:25 AM, Sebastian Kulesz  wrote:
>
>> What about this?
>> 12.3:
>>
>> http://software.opensuse.org/ymp/home:munix9:gambas/openSUSE_12.3/gambas3.ymp?base=openSUSE%3A12.3&query=gambas3
>>
>> 12.2:
>>
>> http://software.opensuse.org/ymp/home:munix9:gambas/openSUSE_12.2/gambas3.ymp?base=openSUSE%3A12.2&query=gambas3
>>
>> Repository root:
>> http://download.opensuse.org/repositories/home:/munix9:/gambas/
>>
>> I found this by just googling.
>>
>> If you find the documentation is outdated, why not help out by updating the
>> article?
>>
>>
>> On Wed, Apr 24, 2013 at 6:39 PM, Jussi Lahtinen >> wrote:
>>> Maybe some script that would collect dependency list from successful
>>> compiling?
>>> Or maybe people should volunteer and post updated dependencies?
>>>
>>> Or maybe someone could put up repository also for some other popular
>>> distros...
>>>
>>> Jussi
>>>
>>>
>>> On Thu, Apr 25, 2013 at 12:32 AM, Jussi Lahtinen
>>> wrote:
>>>
 I didn't mean anything specific since you didn't specify your OS.
 But I think I understand the problem now; documentation is not updated.

 I wish there would be general solution for this, but it seems that
>> every
 distro uses it own naming conventions.
 So this is hard to make automatic. Perhaps someone else knows how to
>>> solve
 this inconvenience?

 Jussi



 On Thu, Apr 25, 2013 at 12:11 AM, Matti  wrote:

> Hi Jussi,
>
> I've read that page, and I've been using Gambas for long years. Just a
> new machine.
>
> Do you mean the page about openSUSE 10.2?
> Well, we have openSUSE 12.3 in the meantime.
>
> I followed http://gambas.sourceforge.net/en/main.html
> and there to the left: Compilation & Installation.
> And after this done, I can't compile because of 17 errors.
>
>
> Am 24.04.2013 22:39, schrieb Jussi Lahtinen:
>> I don't understand what is the problem exactly.
>>
>> Here are the dependencies listed for different distros.
>> http://gambasdoc.org/help/install?en&view&v3#t9
>>
>> It doesn't require two evenings. Just copy&paste the command, and it
> takes
>> few minutes.
>>
>>
>> Jussi
>>
>>
>>
>>
>>
>> On Wed, Apr 24, 2013 at 11:21 PM, Matti 
>>> wrote:
>>> I'm trying to get the Gambas svn version alive on a new machine.
>>> Installed everything that is written on the website as requirements
> (took
>>> about
>>> two evenings).
>>> Now I'm getting WARNINGs that 17 components can't be compiled
>> because
> of
>>> missing
>>> dependencies. This is really annoying!
>>> I don't think that many people have the patience to continue now
>> and
> work
>>> through all the './configure -C' messages.
>>> Maybe this could be a reason why Gambas isn't so popular?
>>>
>>> Is there no possibility to build packages of those dependencies for
>>> the
>>> distros,
>>> providing a button "Get all the dependencies for ..."?
>>>
>>> If I new how to, I would help here.
>>>
>>> Matti
>
>
>> --
> Try New Relic Now & We'll Send You this Cool Shirt
> New Relic is the only SaaS-based application performance monitoring
> service
> that delivers powerful full stack analytics. Optimize and monitor your
> browser, app, & servers with just a few lines of code. Try New Relic
> and get this awesome Nerd Life shirt!
> http://p.sf.net/sfu/newrelic_d2d_apr
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

>>>
>> --
>>> Try New Relic Now & We'll Send You this Cool Shirt
>>> New Relic is the only SaaS-based application performance monitoring
>> service
>>> that delivers powerful full stack analytics. Optimize and monitor your
>>> browser, app, & servers with just a few lines of code. Try New Relic
>>> and get this awesome Nerd Life shirt!
>> http://p.sf.net/sfu/newrelic_d2d_apr
>>> ___
>>> Gambas-user mailing list
>>> Gambas-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: [Gambas-user] RpcClient patch

2013-04-23 Thread Ron
Adrien,

No problem, was busy myself on my own project ;-)

And I guess the xmlrpc component is not used by many.
Had to dive into it myself quite often, since the author is not active with
gambas anymore.

Thanks, and I will test it.

Regards,
Ron.


2013/4/23 Adrien Prokopowicz 

> Le Sun, 14 Apr 2013 12:02:39 +0200, Ron  a écrit:
>
> > In gb.xml.rpc client code the RpcMethod_Read value is incorrectly filled.
> > This results in error when displaying RpcClient variables, see
> > screenshot.
> >
> > gambas/trunk/gb.xml/src/rpc/gb.xml.rpc/.src/RpcClient.class:
> >
> > BAD:
> >
> > Function RpcMethod_Read() As RpcFunction
> >
> >   Return RpcFunction
> >
> > End
> >
> >
> > GOOD/BETTER:
> >
> > Function RpcMethod_Read() As RpcFunction
> >
> >   Return Method
> >
> > End
> >
> > Regards,
> > Ron_2nd.
>
> Hi Ron,
>
> I fixed that in revision #5620, thanks.
>
> And sorry for response time, I've been very busy these days.
>
> Regards,
>
> --
> Adrien Prokopowicz
>
>
> --
> Try New Relic Now & We'll Send You this Cool Shirt
> New Relic is the only SaaS-based application performance monitoring service
> that delivers powerful full stack analytics. Optimize and monitor your
> browser, app, & servers with just a few lines of code. Try New Relic
> and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] RpcClient patch

2013-04-14 Thread Ron
In gb.xml.rpc client code the RpcMethod_Read value is incorrectly filled.
This results in error when displaying RpcClient variables, see screenshot.

gambas/trunk/gb.xml/src/rpc/gb.xml.rpc/.src/RpcClient.class:

BAD:

Function RpcMethod_Read() As RpcFunction

  Return RpcFunction

End


GOOD/BETTER:

Function RpcMethod_Read() As RpcFunction

  Return Method

End

Regards,
Ron_2nd.
<>--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Pre-release of Gambas 3.4.1

2013-04-07 Thread Ron
We are in luck.
It seems very easy to reproduce...

Create CLI project containing just this:

Public Sub Main()

  Exec ["/test"]
Catch

End

And you get 1 allocation(s) non freed when run.
This is on latest revision.

So it seems the latest gbx_ changes are generating this issue.

Regards,
Ron.

2013/4/6 Benoît Minisini :
> Le 06/04/2013 18:24, Ron a écrit :
>> Ok i will recompile and try to isolate it.
>>
>> Can they come from the two revisions mentioned below?
>> Since I didn't see them before it.
>
> Maybe.
>
>> I will revert the code to see too.
>
> Yes, good idea too to identify where the problem comes from!
>
> Regards,
>
> --
> Benoît Minisini
>
> --
> Minimize network downtime and maximize team effectiveness.
> Reduce network management and security costs.Learn how to hire
> the most talented Cisco Certified professionals. Visit the
> Employer Resources Portal
> http://www.cisco.com/web/learning/employer_resources/index.html
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

--
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Pre-release of Gambas 3.4.1

2013-04-06 Thread Ron
Ok i will recompile and try to isolate it.

Can they come from the two revisions mentioned below?
Since I didn't see them before it.
I will revert the code to see too.

Regards,
Ron.

2013/4/6 Benoît Minisini :
> Le 06/04/2013 17:06, Ron a écrit :
>> Revision #5598 and #5600 made Gambas3 stable.
>>
>> But one thing I noticed it when it runs for a few days and I stop it i see 
>> this:
>>
>> gbx3: warning: 35 allocation(s) non freed.
>> How can I check what they are?
>> Run valgrind?
>>
>> Regards,
>> Ron_2nd.
>
> This is a memory leak in the interpreter or a component detected by the
> interpreter.
>
> Alas valgrind won't help there.
>
> It's the most difficult bug to fix.
>
> The most important is trying to reproduce it reliably. If you can, then
> just explain me how. But I guess you won't be able, so let's go the hard
> way: recompiling the interpreter by enabling memory allocation debugging.
>
> To do that, edit the /share/gb_alloc.h file at line 29 to replace
> "#define DEBUG_MEMORY 0" by "#define DEBUG_MEMORY 1".
>
> Then recompile and install the interpreter.
>
> Then run your project: all allocation routines will generate a trace on
> the standard error output. To put them in a file, run your project that way:
>
> $ cd /path/to/DomotiGa
> $ gbx3 > gbx.out 2>&1
>
> Then wait until you stop the program and get the non-freed allocation
> warning, and send me the 'gbx.out' file. Beware that it may be big!
>
> Regards,
>
> --
> Benoît Minisini
>
> --
> Minimize network downtime and maximize team effectiveness.
> Reduce network management and security costs.Learn how to hire
> the most talented Cisco Certified professionals. Visit the
> Employer Resources Portal
> http://www.cisco.com/web/learning/employer_resources/index.html
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

--
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Pre-release of Gambas 3.4.1

2013-04-06 Thread Ron
Revision #5598 and #5600 made Gambas3 stable.

But one thing I noticed it when it runs for a few days and I stop it i see this:

gbx3: warning: 35 allocation(s) non freed.
How can I check what they are?
Run valgrind?

Regards,
Ron_2nd.
2013/4/5 Benoît Minisini :
> Le 05/04/2013 11:12, Ron a écrit :
>> On 5-4-2013 11:08, Benoît Minisini wrote:
>>> Hi,
>>>
>>> I have made a new package of the 3.4.1, with the fix about control names.
>>>
>>> http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.4.1.tar.bz2/download
>>>
>>> Please tell me if it is ok for you (those who don't want their control
>>> name to be renamed savagely), and I will make it official.
>>>
>>> Regards,
>>>
>> Benoit,
>>
>> Hopefully you also integrated the gbx_ patches?
>> r5598 and later regarding freeing gbx stuff?
>>
>> With those my DomotiGa project runs stable now, for the first time since
>> months.
>>
>> Regards,
>> Ron.
>>
>
> No, these patches will be in the 3.5 version.
>
> These patches change the syntax of some macros, but do not change
> anything in the generated code of the interpreter or the compiler. So I
> don't think they make your project run stable. It's something else!
>
> But there will be a 3.4.2 soon, with the other patches backported. I
> think that the revisions that made DomotiGa stable are r5597 and/or
> r5600. I don't know if you can confirm...
>
> Regards,
>
> --
> Benoît Minisini
>
> --
> Minimize network downtime and maximize team effectiveness.
> Reduce network management and security costs.Learn how to hire
> the most talented Cisco Certified professionals. Visit the
> Employer Resources Portal
> http://www.cisco.com/web/learning/employer_resources/index.html
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

--
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Pre-release of Gambas 3.4.1

2013-04-05 Thread Ron
On 5-4-2013 11:08, Benoît Minisini wrote:
> Hi,
>
> I have made a new package of the 3.4.1, with the fix about control names.
>
> http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.4.1.tar.bz2/download
>
> Please tell me if it is ok for you (those who don't want their control
> name to be renamed savagely), and I will make it official.
>
> Regards,
>
Benoit,

Hopefully you also integrated the gbx_ patches?
r5598 and later regarding freeing gbx stuff?

With those my DomotiGa project runs stable now, for the first time since 
months.

Regards,
Ron.


--
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas IDE doesn't save files.

2013-03-31 Thread Ron
I run trunk version self compiled to test the gbx_c cleanup patches
you made earlier.

I haven't seen any errors, and if I grep my whole home dir now for my
new code it only matches the binary...

~/domotiga$ fgrep -R CheckValid *
Binary file DomotiGa3/.gambas/FDEVICEEDITOR matches

Very strange...

I will take some coffee and start over ;-)

Regards,
Ron.
2013/3/31 Benoît Minisini :
> Le 31/03/2013 17:27, Ron a écrit :
>> Ok.
>>
>> I have again a serious issue with Gambas3.
>>
>> I had coded quite some stuff in a specific class, and clicked save all
>> the time on the class tab.
>> It never complained...
>>
>> I look on disk, (i wanted to svn commit it from cli), svn didn't find
>> any files to commit, simply because the changes are not there.
>> When I run the project the changes are running...
>>
>> Then I thought ok I save the whole project as backup to a different
>> location, just to be sure I don't lost my code.
>>
>> Did this, it didn't complained again...
>> After saving, the class file in IDE contains the old code.
>> And now all my changes are gone.
>>
>> Why doesn't the IDE raise a big error when it cannot save a file, or a
>> whole project 100%??
>>
>> I seriously find myself caught in very big issues every time, I simply
>> don't get any further coding on my own project.
>> The time has come to say Gambas farewell and stop using it I am afraid...
>>
>> Gambas3 is simply not even close to the stability Gambas2 was for
>> years and years...
>>
>> Regards,
>> Ron.
>>
>
> Sorry for your lost, but Gambas IDE does display a big error message in
> a balloon if a file cannot be saved.
>
> Which version of Gambas do yo use? Did you compile it yourself?
>
> I use the Gambas IDE for my job all the days for years, and I have never
> lost anything yet.
>
> The only possible code path that can prevent a source code file to be
> saved is if the code editor is read-only. But then you could not have
> modified its contents, so it is strange!
>
> Maybe you were unlucky and triggered a bug that noone has encountered
> yet. Sorry for that again.
>
> Regards,
>
> --
> Benoît Minisini
>
> --
> Own the Future-Intel(R) Level Up Game Demo Contest 2013
> Rise to greatness in Intel's independent game demo contest. Compete
> for recognition, cash, and the chance to get your game on Steam.
> $5K grand prize plus 10 genre and skill prizes. Submit your demo
> by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

--
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Gambas IDE doesn't save files.

2013-03-31 Thread Ron
Ok.

I have again a serious issue with Gambas3.

I had coded quite some stuff in a specific class, and clicked save all
the time on the class tab.
It never complained...

I look on disk, (i wanted to svn commit it from cli), svn didn't find
any files to commit, simply because the changes are not there.
When I run the project the changes are running...

Then I thought ok I save the whole project as backup to a different
location, just to be sure I don't lost my code.

Did this, it didn't complained again...
After saving, the class file in IDE contains the old code.
And now all my changes are gone.

Why doesn't the IDE raise a big error when it cannot save a file, or a
whole project 100%??

I seriously find myself caught in very big issues every time, I simply
don't get any further coding on my own project.
The time has come to say Gambas farewell and stop using it I am afraid...

Gambas3 is simply not even close to the stability Gambas2 was for
years and years...

Regards,
Ron.

--
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Benoît is over for at least one week

2013-03-12 Thread Ron
Tell him to buy a Chromebook Pixel, it's great for Gambas development. ;P

Regards,
Ron_2nd.
2013/3/12 Fabien Bodard :
> Its computer is broken, and he will don't have the new one before one week
> . So he join me to inform every one that he can't work on gambas during
> this time.
>
> Regards
> --
> Fabien Bodard
> --
> Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
> Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
> endpoint security space. For insight on selecting the right partner to
> tackle endpoint security challenges, access the full report.
> http://p.sf.net/sfu/symantec-dev2dev
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Using valgrind with Gambas3 project.

2013-03-11 Thread Ron
I left it out and its OK.

Thanks.
Op 11 mrt. 2013 22:05 schreef "Tobias Boege"  het
volgende:

> On Mon, 11 Mar 2013, Ron wrote:
> > I cannot run valgrind anymore together with a Gambas3 project to check
> > memory alloc issues.
> >
> > I use this syntax inside the project directory:
> >
> > $ gbc3 -agpmt
> > $ valgrind --log-file=/tmp/valgrind.log --tool=memcheck --num-callers=50
> gbx3 -p
> >
> > But then I end up in this:
> >
> > Welcome to the Gambas debugger.
> > * ?
> > >
> >
> > Did I miss something?
> >
>
> According to "gbx3 --help", this is the intended behaviour for the -p
> switch
> you gave: "activate profiling and debugging mode" and you got dropped into
> debug mode apparently.
>
> Regards,
> Tobi
>
>
> --
> Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
> Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
> endpoint security space. For insight on selecting the right partner to
> tackle endpoint security challenges, access the full report.
> http://p.sf.net/sfu/symantec-dev2dev
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Using valgrind with Gambas3 project.

2013-03-11 Thread Ron
I cannot run valgrind anymore together with a Gambas3 project to check
memory alloc issues.

I use this syntax inside the project directory:

$ gbc3 -agpmt
$ valgrind --log-file=/tmp/valgrind.log --tool=memcheck --num-callers=50 gbx3 -p

But then I end up in this:

Welcome to the Gambas debugger.
*   ?   
>

Did I miss something?

Regards,
Ron.

--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Fwd: [Full-disclosure] Gambas 3.3.4 Directory hijack vulnerability

2013-02-27 Thread Ron
Fyi...
Regards,
Ron
-- Doorgestuurd bericht --
Van: "Larry W. Cashdollar" 
Datum: 27 feb. 2013 19:31
Onderwerp: [Full-disclosure] Gambas 3.3.4 Directory hijack vulnerability
Aan: "Full Disclosure" 
Cc:

Gambas 3.3.4 Directory hijack vulnerability


The gambas software package creates a directory in tmp to work from
without verifying another
user hasn't already created it. This allows a local user to hijack
ownership.  This advisory was taken
from the bug filed with the developers.

Describe the problem:

Gambas creates a directory in /tmp called gambas.UID where UID is the
user id of the person
running the software. Gambas doesn't check to see if a malicious user
has already created that
directory.

A malicious user can then manipulate (mv or remove) that directory
once gambas has created files
under it.
larry@aliquot:/tmp$ mkdir gambas.0
larry@aliquot:/tmp$ ls -ld gambas.0
drwxr-xr-x 2 larry staff 4096 2012-12-13 16:37 gambas.0
larry@aliquot:/tmp$ cd gambas.0
larry@aliquot:/tmp/gambas.0$ ls
larry@aliquot:/tmp/gambas.0$ ls -l
total 4
drwx-- 2 root root 4096 2012-12-13 16:37 25257
larry@aliquot:/tmp/gambas.0$ rm -rf 25257 larry@aliquot:/tmp/gambas.0$

User larry was able to remove the directory gambas created as root.

2) Software Details

Version: gambas3-runtime-3.3.4~lucid2
Revision:
Operating system: Linux
Distribution: Ubunt
Architecture: x86_64
GUI component: QT3 / QT4 / GTK+
Desktop used: Gnome

3) Provide a little project that reproduces the bug or the crash.

ubuntu-builder runs as root


See bug posted here for details and fix from vendor:

http://code.google.com/p/gambas/issues/detail?id=365

@_larry0 Larry W. Cashdollar

http://otiose.dhs.org


___
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] MySQL language problems

2013-02-27 Thread Ron
If you have access to mysql conf you can also extend the timeout value 
of the server

Change wait_timeout parameter value to prevent database connection lost.
Add this to the [mysqld] section of the config file

$ sudo vi /etc/mysql/my.conf
wait_timeout= 2147483

$ sudo /etc/init.d/mysql restart

Regards,
Ron.
> Well... with Gambas2 I have the problem that my Mysql server, cut by
> time-out the conexions after a few minutes of no activities. The users
> complains that, so, y develop this module that re-open the connection if
> there is an error.
> Usually I call the functions inside passing a sql string like "select *
> from mytable" etc. Never a complicated sql sentence.
> I can't see nothing wrong. In fact work fine in Gambas2.
> (Writing this post I realize thar I don't know if that question (cuts by
> time-out) are still a problem in Gambas3)...
>
> Any suggestion will be appreciate.
>
> Regards
>
>
> 2013/2/27 Fabien Bodard 
>
>> It look like a quote problem
>> Le 26 févr. 2013 22:09, "M. Cs."  a écrit :
>>
>>> What kind of syntax are you using to communicate with the database? Give
>> us
>>> some example, please.
>>>
>>> Csaba
>>>
>>> 2013/2/26 Jorge Carrión 
>>>
>>>> I have a serious problem with mysql server. I'm developing a proyect in
>>>> gambas 3.4 on linuxmint 13 maya against a Mysql 5.0.96 server.
>>>>
>>>> All works fine but randomly all characters non english (á é í ñ, etc
>> I'm
>>>> spanish) are miss interpreted. You can work half hour with application
>>>> without problem at all and suddenly all gridview lists an all fields
>> are
>>>> wrong.
>>>>
>>>> Reset de program and some times all runs fine again, some times wrong
>>>> characters are recorded in database.
>>>>
>>>> The collate of Mysql is utf8-general-ci and the charset is
>> ut8-general-ci
>>>> too.
>>>>
>>>> I can't isolate the error...
>>>>
>>>> Any suggest?
>>>>
>>>> Regards
>>>>
>>>>
>> --
>>>> Everyone hates slow websites. So do we.
>>>> Make your web apps faster with AppDynamics
>>>> Download AppDynamics Lite for free today:
>>>> http://p.sf.net/sfu/appdyn_d2d_feb
>>>> ___
>>>> Gambas-user mailing list
>>>> Gambas-user@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>>
>>>
>> --
>>> Everyone hates slow websites. So do we.
>>> Make your web apps faster with AppDynamics
>>> Download AppDynamics Lite for free today:
>>> http://p.sf.net/sfu/appdyn_d2d_feb
>>> ___
>>> Gambas-user mailing list
>>> Gambas-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>>
>> --
>> Everyone hates slow websites. So do we.
>> Make your web apps faster with AppDynamics
>> Download AppDynamics Lite for free today:
>> http://p.sf.net/sfu/appdyn_d2d_feb
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>>
>>
>> --
>> Everyone hates slow websites. So do we.
>> Make your web apps faster with AppDynamics
>> Download AppDynamics Lite for free today:
>> http://p.sf.net/sfu/appdyn_d2d_feb
>>
>>
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] MySQL language problems

2013-02-27 Thread Ron
Do you run a gambas version with this patch in it, or without it?

https://code.google.com/p/gambas/issues/detail?id=402

Regards,
Ron.
> What kind of syntax are you using to communicate with the database? Give us
> some example, please.
>
> Csaba
>
> 2013/2/26 Jorge Carrión 
>
>> I have a serious problem with mysql server. I'm developing a proyect in
>> gambas 3.4 on linuxmint 13 maya against a Mysql 5.0.96 server.
>>
>> All works fine but randomly all characters non english (á é í ñ, etc I'm
>> spanish) are miss interpreted. You can work half hour with application
>> without problem at all and suddenly all gridview lists an all fields are
>> wrong.
>>
>> Reset de program and some times all runs fine again, some times wrong
>> characters are recorded in database.
>>
>> The collate of Mysql is utf8-general-ci and the charset is ut8-general-ci
>> too.
>>
>> I can't isolate the error...
>>
>> Any suggest?
>>
>> Regards
>>
>> --
>> Everyone hates slow websites. So do we.
>> Make your web apps faster with AppDynamics
>> Download AppDynamics Lite for free today:
>> http://p.sf.net/sfu/appdyn_d2d_feb
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
> --
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] gb.pcre behaviour with Gambas3

2013-02-16 Thread Ron
Hi,

I noticed that the behavior of the gb.pcre component has changed in
Gambas3 compared to Gambas2.

This use to work:

PRIVATE FUNCTION GetData(sRaw AS String) AS String[]

  DIM rReg AS NEW Regexp
  DIM aMatches AS NEW String[]
  DIM sTmp AS String

  sTmp = sRaw
  rReg.Compile("\x03\x03(\\w+)\r\n")
  rReg.Exec(sTmp)

  DO WHILE rReg.Text <> ""
aMatches.Add(rReg.Text)
sTmp = Mid(sTmp, rReg.Offset + 2)
rReg.Exec(sTmp)
  LOOP

  RETURN aMatches

END

But it doesn't anymore because in Gambas3 when a pattern isn't found
rReg.Text is NULL instead of empty like in Gambas2.
So it errors out because you cannot check a NULL object like this.

It this done by design or a bug?

I change the code to whe one below, which is cleaner, but without
knowing the above it may brake converted programs.

Private Function GetData(sRaw As String) As String[]

  Dim rReg As New Regexp
  Dim aMatches As New String[]
  Dim iCnt As Integer

  rReg.Compile("\x03\x03(\\w+)\r\n")
  rReg.Exec(sRaw)

  For iCnt = 0 To rReg.SubMatches.Count - 1
aMatches.Add(rReg.SubMatches[iCnt].Text)
  Next

  Return aMatches

End

Regards,
Ron.

--
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] R: Valid regexp?

2013-01-15 Thread Ron
Yes that seems to work, well it's accepted as valid...
Need to polish it a bit more...
Thanks!


> Maybe:
>
> DIM sPattern AS String = "s/\x05\x05\x03\x03(\\w+)\r\n//"
>
>
>
>
>
>
> --- Mar 15/1/13, Ron  ha scritto:
>
>> Da: Ron 
>> Oggetto: [Gambas-user] Valid regexp?
>> A: "mailing list for gambas users" 
>> Data: Martedì 15 gennaio 2013, 14:25
>> DIM sPattern AS String =
>> "s/\x05\x05\x03\x03(\w+)\r\n//"
>>
>> This is not a valid syntax in Gambas regexp.
>> Error bad character constant in string...
>>
>> The part with the problem is (\w+)
>> Anybody has suggestions to get it working?
>>
>> Thanks in advance.
>>
>> Regards,
>> Ron.
>> --
>> Master SQL Server Development, Administration, T-SQL, SSAS,
>> SSIS, SSRS
>> and more. Get SQL Server skills now (including 2012) with
>> LearnDevNow -
>> 200+ hours of step-by-step video tutorials by Microsoft MVPs
>> and experts.
>> SALE $99.99 this month only - learn more at:
>> http://p.sf.net/sfu/learnmore_122512
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
> --
> Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
> and more. Get SQL Server skills now (including 2012) with LearnDevNow -
> 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
> SALE $99.99 this month only - learn more at:
> http://p.sf.net/sfu/learnmore_122512
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user


--
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Valid regexp?

2013-01-15 Thread Ron
DIM sPattern AS String = "s/\x05\x05\x03\x03(\w+)\r\n//"

This is not a valid syntax in Gambas regexp.
Error bad character constant in string...

The part with the problem is (\w+)
Anybody has suggestions to get it working?

Thanks in advance.

Regards,
Ron.
--
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] IMPORTANT! Sourceforge upgrade

2012-12-08 Thread Ron
This is why I host my own svn...
What a mess sourceforge makes of this..
Op 8 dec. 2012 16:36 schreef "Charlie Reinl"  het
volgende:

> Am Samstag, den 08.12.2012, 16:16 +0100 schrieb Benoît Minisini:
> > Le 08/12/2012 16:12, Benoît Minisini a écrit :
> > > Le 08/12/2012 10:41, Bruce a écrit :
> > >>
> > >> Hi Benoît and all,
> > >>
> > >> I have added 5418 simply as a checkpoint so people can see that they
> are
> > >> using the new sourceforge links.
> > >>
> > >> (I had no problems but we use eSVN, which seems to have resolved all
> the
> > >> neccessaries without any intervention.)
> > >>
> > >> hth
> > >> Bruce
> > >>
> > >
> > > Good idea, but you are false: you made your commit to the old
> repository!
> > >
> >
> > Just check that by looking at the subversion commit mail, or by checking
> > the "Browse source code" page on the website!
> >
>
> Yes, now the script fails.
> --
> Amicalement
> Charlie
>
>
>
> --
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] How to check "Is a Network unreachable"

2012-10-10 Thread Ron
http://domotiga.nl/projects/domotiga/repository/entry/trunk/DomotiGa/Ping.module

It results in On/Off (printers), Down/Up (hosts), or measure latency for 
graphing.

Regards,
Ron_2nd.
> Not sure what would be good way to do this, but quick idea:
>
> Shell ("ping -c1 -q www.google.com") Wait To sTmp
>
> Then search example for "1 packets transmitted, 1 received".
>
> Jussi
>
>
>
>
> On Wed, Oct 10, 2012 at 10:37 AM, abbat  wrote:
>
>> Hi all,
>> My programm uses a MySQL requests and very often I have a problem with a
>> network.
>>
>> In terminal for "ping" I get "Network is unreachable" for my problem.
>> How can I check the network status in Gambas?
>>
>> Thanks to all.
>>
>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/How-to-check--%22Is-a-Network-unreachable%22-tp34535998p34535998.html
>> Sent from the gambas-user mailing list archive at Nabble.com.
>>
>>
>>
>> --
>> Don't let slow site performance ruin your business. Deploy New Relic APM
>> Deploy New Relic app performance management and know exactly
>> what is happening inside your Ruby, Python, PHP, Java, and .NET app
>> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
>> http://p.sf.net/sfu/newrelic-dev2dev
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
> --
> Don't let slow site performance ruin your business. Deploy New Relic APM
> Deploy New Relic app performance management and know exactly
> what is happening inside your Ruby, Python, PHP, Java, and .NET app
> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> http://p.sf.net/sfu/newrelic-dev2dev
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user


--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Question: Is it possible to build 'plugins/add ons' for Gambas applications

2012-10-03 Thread Ron
 routine tasks often needed during development.
>
>
>
Willy,

Search for the file names online, download the files from the found list 
archive and open them with 7zip (windows, yuk) right click choose "open 
archive".
Then click on the files until you see the list of contents, you can then 
drag them to a folder.
Simply unpacking directly indeed results in one strange text file with 
all files concatenated in it.

I'm also looking at some way of creating plugins/define an api for my 
project! (domotiga)
So people can code a plugin as a gambas component, place it in a 
directory (plugins) and the main software will scan/find and register it.

I looked at this info also... 
http://www.gambasforge.org/code-55-application-modulaire--des-plugins-pour-votre-appli.html
 
but haven't got it to work just yet the way I want it.
So keep me posted if you want, when you succeed in creating a POC ;)

Regards,
Ron.

--
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Disable / overrule 'create new' button on DataBrowser

2012-08-31 Thread Ron
On 31-8-2012 13:47, Benoît Minisini wrote:
> Le 31/08/2012 13:12, Ron a écrit :
>> Hi list,
>>
>> Is it possible to disable/overrule the 'new' button of a DataBrowser object?
>>
>> If so, how?
>>
>> Thanks.
>>
>> Regards,
>> Ron_2nd.
>>
> No. What do you need exactly? Disabling it? Or overruling it (please
> explain what you mean then)?
>

Disable it, so you cannot create a record, only browse, deleted and modify.

Regards,
Ron_2nd.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Disable / overrule 'create new' button on DataBrowser

2012-08-31 Thread Ron
Hi list,

Is it possible to disable/overrule the 'new' button of a DataBrowser object?

If so, how?

Thanks.

Regards,
Ron_2nd.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Small typos in XMLRPC code

2012-08-24 Thread Ron

gambas/2.0/gb.xml/src/rpc/gb.xml.rpc:

RpcClient.class:  IF ME.Mode = RpcClient.httpAsync THEN RAISE 
BadReply("Unable to contact with server, or bad reply from server")
RpcClient.class:  Error.Raise("Unable to contact with server, or bad 
reply from server")

gambas/trunk/gb.xml/src/rpc/gb.xml.rpc/.src:

RpcClient.class:  If Me.Mode = RpcClient.httpAsync Then Raise 
BadReply("Unable to contact with server, or bad reply from server")
RpcClient.class:  Error.Raise("Unable to contact with server, or bad 
reply from server")


"Unable to contact the server, or bad reply from server"

Is better English I guess...

Regards,
Ron_2nd.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New feature in the IDE code editor

2012-08-15 Thread Ron
+1
Op 15 aug. 2012 17:23 schreef "Benoît Minisini" <
gam...@users.sourceforge.net> het volgende:

> Le 15/08/2012 17:07, Ru Vuott a écrit :
> >> In revision #5041, I started to implement automatic declaration of
> >> undeclared local variable.
> >
> >> There is a new option to disable this feature if you want.
> >
> >
> > Hello,
> > I must say that I disagree with this new feature of Gambas IDE, because
> the error is a possibility, and indeed an event, the solution does not
> always have to be called an automatic process. This especially in the
> programming, and the creation of something, because the automatic
> correction leaves the programmer in unconsciousness, thus itself a new and
> more serious error that is unknown to the programmer.
> >
> > In my opinion, it would be better if the feature was disabled by
> default, and not the contrary.
> >
> > Regards
> > Vuott
> >
>
> Mmm... ok.
>
> --
> Benoît Minisini
>
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Compile error in gb.xml

2012-05-30 Thread Ron
On 30-5-2012 16:58, Adrien Prokopowicz wrote:
> Le mercredi 30 mai 2012 16:50:35 Ron a écrit :
>> Gambas trunk doesn't compile anymore on two machines now.
>>
>> This is the end:
>>
>> make[4]: Entering directory `/home/ron/install/gambas/trunk/gb.libxml'
>> make[4]: Leaving directory `/home/ron/install/gambas/trunk/gb.libxml'
>> make[3]: Leaving directory `/home/ron/install/gambas/trunk/gb.libxml'
>> make[2]: Leaving directory `/home/ron/install/gambas/trunk/gb.libxml'
>> Making all in gb.xml
>> make[2]: Entering directory `/home/ron/install/gambas/trunk/gb.xml'
>> make  all-recursive
>> make[3]: Entering directory `/home/ron/install/gambas/trunk/gb.xml'
>> Making all in src
>> make[4]: Entering directory `/home/ron/install/gambas/trunk/gb.xml/src'
>> Making all in html
>> make[5]: Entering directory `/home/ron/install/gambas/trunk/gb.xml/src/html'
>> /bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
>> -I../..-pipe -Wall -fno-exceptions -Wno-unused-value
>> -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer
>> -fexceptions -std=c++0x -MT gb_xml_html_la-gbi.lo -MD -MP -MF
>> .deps/gb_xml_html_la-gbi.Tpo -c -o gb_xml_html_la-gbi.lo `test -f
>> '../gbi.cpp' || echo './'`../gbi.cpp
>> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -pipe -Wall
>> -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g
>> -ggdb -Os -fno-omit-frame-pointer -fexceptions -std=c++0x -MT
>> gb_xml_html_la-gbi.lo -MD -MP -MF .deps/gb_xml_html_la-gbi.Tpo -c
>> ../gbi.cpp  -fPIC -DPIC -o .libs/gb_xml_html_la-gbi.o
>> mv -f .deps/gb_xml_html_la-gbi.Tpo .deps/gb_xml_html_la-gbi.Plo
>> /bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H
>> -I. -I../..-pipe -Wall -fno-exceptions -Wno-unused-value
>> -fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer
>> -fexceptions -std=c++0x -MT gb_xml_html_la-utils.lo -MD -MP -MF
>> .deps/gb_xml_html_la-utils.Tpo -c -o gb_xml_html_la-utils.lo `test -f
>> '../utils.cpp' || echo './'`../utils.cpp
>> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -pipe -Wall
>> -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g
>> -ggdb -Os -fno-omit-frame-pointer -fexceptions -std=c++0x -MT
>> gb_xml_html_la-utils.lo -MD -MP -MF .deps/gb_xml_html_la-utils.Tpo -c
>> ../utils.cpp  -fPIC -DPIC -o .libs/gb_xml_html_la-utils.o
>> mv -f .deps/gb_xml_html_la-utils.Tpo .deps/gb_xml_html_la-utils.Plo
>> make[5]: *** No rule to make target `document.cpp', needed by
>> `gb_xml_html_la-document.lo'.  Stop.
>> make[5]: Leaving directory `/home/ron/install/gambas/trunk/gb.xml/src/html'
>> make[4]: *** [all-recursive] Error 1
>> make[4]: Leaving directory `/home/ron/install/gambas/trunk/gb.xml/src'
>> make[3]: *** [all-recursive] Error 1
>> make[3]: Leaving directory `/home/ron/install/gambas/trunk/gb.xml'
>> make[2]: *** [all] Error 2
>> make[2]: Leaving directory `/home/ron/install/gambas/trunk/gb.xml'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/home/ron/install/gambas/trunk'
>> make: *** [all] Error 2
>>
>> svn info
>> Path: .
>> URL: https://gambas.svn.sourceforge.net/svnroot/gambas/gambas/trunk
>> Repository Root: https://gambas.svn.sourceforge.net/svnroot/gambas
>> Repository UUID: 96304659-1d19-0410-acd0-aead272a8bd5
>> Revision: 4793
>> Node Kind: directory
>> Schedule: normal
>> Last Changed Author: lordheavy
>> Last Changed Rev: 4793
>> Last Changed Date: 2012-05-30 16:11:38 +0200 (Wed, 30 May 2012)
>>
>> Regards,
>> Ron_2nd.
>>
>> ----
>> -- Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
> Hi Ron,
>
> Did you call ./reconf and ./configure before ?
>
> If this doesn't work, try to call make clean, or to remove the .deps directory
> in gb.xml/src/html.
>
> Regards,
> Adrien.
>

Only removal of the .deps directory fixed it, the others I already 
tried, thanks!

Regards,
Ron_2nd.


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Compile error in gb.xml

2012-05-30 Thread Ron
Gambas trunk doesn't compile anymore on two machines now.

This is the end:

make[4]: Entering directory `/home/ron/install/gambas/trunk/gb.libxml'
make[4]: Leaving directory `/home/ron/install/gambas/trunk/gb.libxml'
make[3]: Leaving directory `/home/ron/install/gambas/trunk/gb.libxml'
make[2]: Leaving directory `/home/ron/install/gambas/trunk/gb.libxml'
Making all in gb.xml
make[2]: Entering directory `/home/ron/install/gambas/trunk/gb.xml'
make  all-recursive
make[3]: Entering directory `/home/ron/install/gambas/trunk/gb.xml'
Making all in src
make[4]: Entering directory `/home/ron/install/gambas/trunk/gb.xml/src'
Making all in html
make[5]: Entering directory `/home/ron/install/gambas/trunk/gb.xml/src/html'
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H 
-I. -I../..-pipe -Wall -fno-exceptions -Wno-unused-value 
-fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer 
-fexceptions -std=c++0x -MT gb_xml_html_la-gbi.lo -MD -MP -MF 
.deps/gb_xml_html_la-gbi.Tpo -c -o gb_xml_html_la-gbi.lo `test -f 
'../gbi.cpp' || echo './'`../gbi.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -pipe -Wall 
-fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g 
-ggdb -Os -fno-omit-frame-pointer -fexceptions -std=c++0x -MT 
gb_xml_html_la-gbi.lo -MD -MP -MF .deps/gb_xml_html_la-gbi.Tpo -c 
../gbi.cpp  -fPIC -DPIC -o .libs/gb_xml_html_la-gbi.o
mv -f .deps/gb_xml_html_la-gbi.Tpo .deps/gb_xml_html_la-gbi.Plo
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H 
-I. -I../..-pipe -Wall -fno-exceptions -Wno-unused-value 
-fsigned-char -fvisibility=hidden -g -ggdb -Os -fno-omit-frame-pointer 
-fexceptions -std=c++0x -MT gb_xml_html_la-utils.lo -MD -MP -MF 
.deps/gb_xml_html_la-utils.Tpo -c -o gb_xml_html_la-utils.lo `test -f 
'../utils.cpp' || echo './'`../utils.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -pipe -Wall 
-fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g 
-ggdb -Os -fno-omit-frame-pointer -fexceptions -std=c++0x -MT 
gb_xml_html_la-utils.lo -MD -MP -MF .deps/gb_xml_html_la-utils.Tpo -c 
../utils.cpp  -fPIC -DPIC -o .libs/gb_xml_html_la-utils.o
mv -f .deps/gb_xml_html_la-utils.Tpo .deps/gb_xml_html_la-utils.Plo
make[5]: *** No rule to make target `document.cpp', needed by 
`gb_xml_html_la-document.lo'.  Stop.
make[5]: Leaving directory `/home/ron/install/gambas/trunk/gb.xml/src/html'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/ron/install/gambas/trunk/gb.xml/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/ron/install/gambas/trunk/gb.xml'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/ron/install/gambas/trunk/gb.xml'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ron/install/gambas/trunk'
make: *** [all] Error 2

svn info
Path: .
URL: https://gambas.svn.sourceforge.net/svnroot/gambas/gambas/trunk
Repository Root: https://gambas.svn.sourceforge.net/svnroot/gambas
Repository UUID: 96304659-1d19-0410-acd0-aead272a8bd5
Revision: 4793
Node Kind: directory
Schedule: normal
Last Changed Author: lordheavy
Last Changed Rev: 4793
Last Changed Date: 2012-05-30 16:11:38 +0200 (Wed, 30 May 2012)

Regards,
Ron_2nd.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Issue 242 in gambas: Gamba forms fail on Debian ARM

2012-04-26 Thread Ron
I have some users of my project asking if it will run on RaspberryPi
already.
It's the ultimate home automation 'server' so I can understand their eager
to get it running.
In the mean time I continue porting my software to Gambas3, but please put
it somewhere on your to do list.
Thanks.
Regards,
Ron_2nd.
Op 26 apr. 2012 18:54 schreef "Benoît Minisini" <
gam...@users.sourceforge.net> het volgende:

> Le 26/04/2012 18:36, Ron a écrit :
> > Gambas2 already runned on ARM before, so it doesn't seem to be much work
> to
> > get it running or am I mistaken?
> >
>
> I will try to compile it, but that needs some backport from Gambas 3 to
> remove the use of "long double", and I don't have the time now to deep
> into it.
>
> Regards,
>
> --
> Benoît Minisini
>
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Issue 242 in gambas: Gamba forms fail on Debian ARM

2012-04-26 Thread Ron
Gambas2 already runned on ARM before, so it doesn't seem to be much work to
get it running or am I mistaken?

Regards,
Ron_2nd
Op 26 apr. 2012 18:05 schreef  het volgende:

> Updates:
>Status: WontFix
>
> Comment #10 on issue 242 by benoit.m...@gmail.com: Gamba forms fail on
> Debian ARM
> http://code.google.com/p/gambas/issues/detail?id=242
>
> I finally succeeded in running the Gambas 3 IDE on a Raspberry Pi QEMU
> emulator.
>
> So I don't think I will fix Gambas 2.
>
> Now something that could be interesting to develop is the availability to
> run the IDE on a x86 and debug a program running on a Raspberry Pi...
>
>
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] PhotoTouch example

2012-04-25 Thread Ron
On 25-4-2012 15:40, Benoît Minisini wrote:
> Le 25/04/2012 13:56, Karl Reinl a écrit :
>> Salut,
>>
>> this is destined to the author of PhotoTouch.
>>
>> Please test you project with a new user and nothing (no camera) attached
>> to the computer. Because like that it crashes.
>>
>> Thanks
>>
>>
> Do you have more details ?
>
Don't know what the other persons error is, but here it says upon start.

Null object in FMain:879

line is: ivwImage[$iIndex].EnsureVisible

If I comment it, it runs as far as I can see.

This is on a new svn compile (trunk) on Ubuntu 12.04

Regards_2nd,
Ron.

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Send from .module to .class

2012-02-06 Thread Ron
I agree, but the supplied example doesn't work with making controls public.

2012/2/6 Jesus 

> El 05/02/12 00:01, abbat escribió:
> >
> > How can I send a string "test_string" from
> > Main.module
> > to
> > Label1 which situated on
> > MFmain.class
> >
> > Thanks
> >
> >
>
> Use "properties" or setter and getter public functions. Not a good idea
> making form controls public.
>
> Regards
>
> --
> Jesus Guardon
>
>
> --
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Send from .module to .class

2012-02-06 Thread Ron
But you have to tweak your project options to allow this.

Regards,
Ron_2nd.
> MFmain.Label1.text = "test_string"
>
>
> -- Original Message ---
> From: abbat
> To: gambas-user@lists.sourceforge.net
> Sent: Sat, 4 Feb 2012 15:01:59 -0800 (PST)
> Subject: [Gambas-user]  Send from .module to .class
>
>> How can I send a string "test_string" from
>> Main.module
>> to
>> Label1 which situated on
>> MFmain.class
>>
>> Thanks
>>
>> -- 
>> View this message in context:
> http://old.nabble.com/Send-from-.module-to-.class-tp33264477p33264477.html
>> Sent from the gambas-user mailing list archive at Nabble.com.
>>
>> --
>> Try before you buy = See our experts in action!
>> The most comprehensive online learning library for Microsoft developers
>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>> Metro Style Apps, more. Free future releases when you subscribe now!
>> http://p.sf.net/sfu/learndevnow-dev2
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
> --- End of Original Message ---
>
>
> --
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user


--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] How to convert unix timestamp into gambas date and time

2012-02-03 Thread Ron
Just google for gambas calculate get unix time

Regards,
Ron_2nd.
> Hi "another Rolf"
>
>>> is there a function which allows to convert an unix timestamp into the
>>> appropriated date/time in Gambas3?
>>>
>>> If, how is it called and how to use.
>> Take a look at this one:
>> http://gambasdoc.org/help/lang/stat?v3
>> file.stat should deliver a file date. Or did I get you wrong?
> For my problem, you get wrong. The unix timestamp is not only the time
> of a file. It is the time in seconds since the 1. Jan. 1970. Even the
> system clock only counts the seconds.
>
> My problem is, that a network application send a timestamp as a string.
> I have to convert this string into Date and Time - which is usually done
> in C or PHP or... by a function of a system library (which of course
> know leap years).
>
> And some times I would like to generate a timestamp as well, for example
> to send it to a database.
>
> Another helper out there?
>
> Rolf
>
> --
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user


--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] extern library

2012-02-01 Thread Ron
On 31-1-2012 1:09, Benoît Minisini wrote:
> Le 29/01/2012 21:33, Wally a écrit :
>> No other way ?
>>
> Normally the library can be any path, like any data file. So:
>
> - It is searched as a real file (absolute path, or standard library paths).
>
> - If it is not found, then it is searched inside the project.
>
> If you don't succeed in loading your library, please send me a little
> test project.
>
> Regards,
>
I believe storing it anywhere else than a library path didn't work for 
me in my project, but I will check again.
I'm talking about gambas2.

Regards,
Ron_2nd.

--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] extern library

2012-01-29 Thread Ron
Modify your systems ldconfig config.

Regards,
Ron_2nd.
Op 29 jan. 2012 21:04 schreef "Wally"  het volgende:

> Hi
>
> how can i tell Gambas3, "Library" command to use
> "libMyLib.so" in Project Dir or somewhere else ?
>
> ' Gambas class file
> Library "libMyLib:0"'<---
>
> Private Extern ..
>
> thx wally
>
>
>
> --
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas WebPage

2012-01-28 Thread Ron
Benoit great news that we can start develop web pages. No idea what I need
exactly. I will just start to play with it for my project and let you know
what I think then.

Regards,
Ron_2nd
Op 28 jan. 2012 18:57 schreef "M. Cs."  het volgende:

> Will it be possible to display a native HTML/PHP code in it like in
> ... ? Why to depend on ASP?
>
> Csaba
>
> 2012/1/28, Sebastian Kulesz :
> > I really like this idea, it makes an application really versatile.
> > What I think is that before starting to code it you must define some
> > things.
> >
> > First, the security implications. Will real webpages be able to use
> > that syntax?. A nice feature would be a whitelist of allowed pages
> > that can be executed within a form, maybe with the include tag.
> >
> > Second, and most important.  How would you manage to call each event
> > of a form input object, like a textbox? How could someone use the
> > value of a textbox, for example? What happens if two form objects have
> > the same "name" attribute? When an input button is pressed, the user
> > is normally redirected to the "action" webpage, will you override this
> > to execute an event and let the user choose?
> >
> > Third, about the links. A nice syntax would be
> > gambas://FormName/Method/Param1/Param2/...
> >
> > That's all I could think of. Thanks for all the work!!
> >
> > On 28/01/2012, at 07:07, "Benoît Minisini"
> > wrote:
> >
> >> Hi all,
> >>
> >> I have started the support of a new kind of "form" in the IDE, the
> >> "WebPage".
> >>
> >> WebPage is an HTML page with ASP-like syntax. It is implemented in the
> >> gb.web component.
> >>
> >> The IDE now can edit WebPage, but cannot compile them.
> >>
> >> Actually it is "just" a matter of modyfing the compiler so that the
> >> WebPage is transformed into Gambas code that generates the final HTML.
> >>
> >> At the moment, the following ASP-like syntax will be implemented:
> >>
> >> - <% ... %> to insert any Gambas code.
> >>
> >> - <%= ... %> to insert the result of a Gambas expression. Html$() will
> >> be automatically called.
> >>
> >> - Maybe something like <%INCLUDE ... %> to include a WebPage in another
> >> one.
> >>
> >> Note that the WebPage is a file with a ".webpage" extension, and that,
> >> they have their own class file attached (like any form).
> >>
> >> That way, you don't have to put all your code inside the HTML. Just what
> >> is needed.
> >>
> >> Internally all WebPages will inherit the WebPage class, and will have a
> >> "Render" method to render their contents (i.e. print to the standard
> >> output - don't forget that a Gambas web application is a CGI script!).
> >> They can be startup class too.
> >>
> >> I'd like to have the thoughts of Gambas users about that: what kind of
> >> syntax you would like, what ideas you have...
> >>
> >> One idea I have would be a standard syntax for the URL received by the
> >> CGI script, so that the displayed WebPage would be automatically
> >> selected from it. It could be something as simple as
> >> "http://myapp.com/".
> >>
> >> Thanks in advance for your comments.
> >>
> >> Regards,
> >>
> >> --
> >> Benoît Minisini
> >>
> >>
> --
> >> Try before you buy = See our experts in action!
> >> The most comprehensive online learning library for Microsoft developers
> >> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> >> Metro Style Apps, more. Free future releases when you subscribe now!
> >> http://p.sf.net/sfu/learndevnow-dev2
> >> ___
> >> Gambas-user mailing list
> >> Gambas-user@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> >
> --
> > Try before you buy = See our experts in action!
> > The most comprehensive online learning library for Microsoft developers
> > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> > Metro Style Apps, more. Free future releases when you subscribe now!
> > http://p.sf.net/sfu/learndevnow-dev2
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
>
>
> --
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Try before you buy =

Re: [Gambas-user] How to delete copy of class/object

2012-01-19 Thread Ron
yes looks like i need that, will try, thanks alot!
Ron
Op 19 jan. 2012 17:29 schreef "Jussi Lahtinen" 
het volgende:

> Maybe I don't understand the question, but why not just like this:
>
> Do
>
>ProcessIt(oMyMsg[0])
>
>oMyMsgs.Remove(0)
>
> Loop Until oMyMsg.Count = 0
>
>
> Jussi
>
>
>
>
>
>
>
>
>
> On Thu, Jan 19, 2012 at 15:23, Ron  wrote:
>
> > Hi community,
> >
> > Let say I have a class called CMyMsg like this:
> >
> > ' Gambas class file
> >
> > PUBLIC Length AS Integer' packet length
> > PUBLIC Prio AS Integer ' 0 = normal, 1 = system
> > PUBLIC Node AS Integer' node id
> > PUBLIC Key AS String
> > PUBLIC Packet AS NEW Byte[]  ' data to send
> > PUBLIC AwaitAck AS Boolean
> >
> > PUBLIC SUB SetLength(iLength AS Integer)
> >
> >   Length = iLength
> >
> > END
> >
> > PUBLIC SUB SetPrio(iPrio AS Integer)
> >
> >   Prio = iPrio
> >
> > END
> >
> > PUBLIC SUB SetNode(iNode AS Integer)
> >
> >   Node = iNode
> >
> > END
> >
> > PUBLIC SUB SetKey(sKey AS String)
> >
> >   Key = sKey
> >
> > END
> >
> > PUBLIC SUB SetPacket(aPack AS Byte[])
> >
> >   Packet = aPack
> >
> > END
> >
> > PUBLIC SUB SetAwaitAck(bAck AS Boolean)
> >
> >   AwaitAck = bAck
> >
> > END
> >
> > And I instantiate several copies of it in my project with this:
> >
> > PRIVATE oMyMsgs AS NEW Object[]
> >
> > PUBLIC SUB CreatePacket()
> >
> >   DIM MyMsg AS NEW CMyMsg
> >
> >   MyMsg.SetKey(Rnd)
> >   MyMsg.SetLength(iPacketLen + 2)
> >   MyMsg.SetPrio(0)
> >   MyMsg.SetAwaitAck(TRUE))
> >   MyMsg.SetPacket(bBuffer)
> >
> >   oMyMsgs.Add(MyMsg)
> >
> > END
> >
> > Further down, I loop through these objects in oMyMsgs  and do something
> > with them like this:
> >
> > PUBLIC SUB ParsePackets()
> >
> >   DIM MyMsg AS CMyMsg
> >
> >   FOR EACH MyMsg IN oMyMsgs
> >
> > ProcessIt(MyMsg)
> >
> > ' question is how to delete the MyMsg entry here and remove it from
> > oMyMsgs objects list?
> > ' or is there another way to do this efficiently?
> >
> >   NEXT
> >
> > Thanks in advance!
> >
> > Regard,
> > Ron_2nd.
> >
> >
> >
> --
> > Keep Your Developer Skills Current with LearnDevNow!
> > The most comprehensive online learning library for Microsoft developers
> > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> > Metro Style Apps, more. Free future releases when you subscribe now!
> > http://p.sf.net/sfu/learndevnow-d2d
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
>
> --
> Keep Your Developer Skills Current with LearnDevNow!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-d2d
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] How to delete copy of class/object

2012-01-19 Thread Ron
Hi community,

Let say I have a class called CMyMsg like this:

' Gambas class file

PUBLIC Length AS Integer' packet length
PUBLIC Prio AS Integer ' 0 = normal, 1 = system
PUBLIC Node AS Integer' node id
PUBLIC Key AS String
PUBLIC Packet AS NEW Byte[]  ' data to send
PUBLIC AwaitAck AS Boolean

PUBLIC SUB SetLength(iLength AS Integer)

   Length = iLength

END

PUBLIC SUB SetPrio(iPrio AS Integer)

   Prio = iPrio

END

PUBLIC SUB SetNode(iNode AS Integer)

   Node = iNode

END

PUBLIC SUB SetKey(sKey AS String)

   Key = sKey

END

PUBLIC SUB SetPacket(aPack AS Byte[])

   Packet = aPack

END

PUBLIC SUB SetAwaitAck(bAck AS Boolean)

   AwaitAck = bAck

END

And I instantiate several copies of it in my project with this:

PRIVATE oMyMsgs AS NEW Object[]

PUBLIC SUB CreatePacket()

   DIM MyMsg AS NEW CMyMsg

   MyMsg.SetKey(Rnd)
   MyMsg.SetLength(iPacketLen + 2)
   MyMsg.SetPrio(0)
   MyMsg.SetAwaitAck(TRUE))
   MyMsg.SetPacket(bBuffer)

   oMyMsgs.Add(MyMsg)

END

Further down, I loop through these objects in oMyMsgs  and do something 
with them like this:

PUBLIC SUB ParsePackets()

   DIM MyMsg AS CMyMsg

   FOR EACH MyMsg IN oMyMsgs

 ProcessIt(MyMsg)

 ' question is how to delete the MyMsg entry here and remove it from 
oMyMsgs objects list?
 ' or is there another way to do this efficiently?

   NEXT

Thanks in advance!

Regard,
Ron_2nd.

--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Cannot close GUI application

2012-01-02 Thread Ron
You always get unfreed stuff when using Quit in a GUI project is my
experience.

In Form_Close()

  ' exit program
  Main.CloseAll()
  FMain.Close

END

In CloseAll() I close all file handles, sockets, serial ports and stop
timers.
Then FMain.Close does the trick nicely.

Regards,
Ron_2nd.
2012/1/2 Fabien Bodard 

> Le 2 janvier 2012 19:57, Benoît Minisini
>  a écrit :
> > Le 02/01/2012 17:03, M. Cs. a écrit :
> >> The command Quit() won't work in my application, so I cannot terminate
> >> the process. The GUI disappears, but the process remains. Is there any
> >> safe way to close a GUI application?
> >>
> >> Csaba
> >>
> >
> > Please elaborate. Send me a project so that I can reproduce the problem.
> > The QUIT instruction aborts the program brutally (almost), so it should
> > quit!
>
> I'm on it ... Bad design... many variables are not freed.
>
> It's not a bug
>
> >
> > --
> > Benoît Minisini
> >
> >
> --
> > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
> > infrastructure or vast IT resources to deliver seamless, secure access to
> > virtual desktops. With this all-in-one solution, easily deploy virtual
> > desktops for less than the cost of PCs and save 60% on VDI infrastructure
> > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
>
> --
> Fabien Bodard
>
>
> --
> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
> infrastructure or vast IT resources to deliver seamless, secure access to
> virtual desktops. With this all-in-one solution, easily deploy virtual
> desktops for less than the cost of PCs and save 60% on VDI infrastructure
> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Cannot close GUI application

2012-01-02 Thread Ron
Just close all open handles file hand timers hand close main form with
me.close
Ron
Op 2 jan. 2012 18:36 schreef "Olivier Cruilles" 
het volgende:

> Hello,
>
> Did you use the quit() command in the main Form ?
>
>
>
>
>
> Olivier Cruilles
> Mail: linu...@club-internet.fr
>
> Le 2 janv. 2012 à 17:03, M. Cs. a écrit :
>
> > The command Quit() won't work in my application, so I cannot terminate
> > the process. The GUI disappears, but the process remains. Is there any
> > safe way to close a GUI application?
> >
> > Csaba
> >
> >
> --
> > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
> > infrastructure or vast IT resources to deliver seamless, secure access to
> > virtual desktops. With this all-in-one solution, easily deploy virtual
> > desktops for less than the cost of PCs and save 60% on VDI infrastructure
> > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
> --
> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
> infrastructure or vast IT resources to deliver seamless, secure access to
> virtual desktops. With this all-in-one solution, easily deploy virtual
> desktops for less than the cost of PCs and save 60% on VDI infrastructure
> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Gambas3 IDE's un- indent buttons

2011-12-28 Thread Ron
Community,

I really, really miss the Indent and Unindent toolbar icons in Gambas3's 
IDE!

I want to start a petition to get them back, 1 vote added..

Regards,
Ron_2nd.

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Issue 159 in gambas: No Toolbox after warning about el_GR.utf8

2011-12-23 Thread Ron
I had the same problem, it's there, but hidden by default (click the arrows
on right side and bottom of the IDE screen to see it, when in form mode)

There use to be a toolbar icon in gambas2 who made the toolbox visible with
one click, but it's not there anymore in gambas3, better re-add it to take
away the confusion.

Regards,
Ron_2nd.

2011/12/20 

> Updates:
>Status: NeedsInfo
>Labels: -Version Version-TRUNK
>
> Comment #1 on issue 159 by benoit.m...@gmail.com: No Toolbox after warning
> about el_GR.utf8
> http://code.google.com/p/gambas/issues/detail?id=159
>
> Please provide a IDE screenshot of what you mean by "not visible".
>
>
>
> --
> Write once. Port to many.
> Get the SDK and tools to simplify cross-platform app development. Create
> new or port existing apps to sell to consumers worldwide. Explore the
> Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
> http://p.sf.net/sfu/intel-appdev
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Client/Server Application with Gambas

2011-12-20 Thread Ron
Hi Hamza,

I use XMLRPC in my Gambas project.
http://www.domotiga.nl/projects/domotiga/repository/entry/trunk/DomotiGa/CXMLRPC.class
Look here for simple android, web and iphone clients using xmlrpc/json:
http://www.domotiga.nl/projects/domotiga/repository/show/trunk/webclients

I also watched websockets, done nothing with them yet.

If you have any ideas/experience please share them with me if you want.

Regards,
Ron_2nd.
2011/12/20 Hamza Abdelkebir 

> Hi all,
>
> I'm trying to develop a clients/server application using gambas.
>
> Basically there will be two clients: one is an android app and the other
> is a desktop app.
>
>
> What are the advantages of using sockets or webservices?
>
> Does anyone have an idea on how to develop XMLRPC webservices in Gambas?
>
>
> Thanks,
>
>
> Hamza
>
>
> --
> Write once. Port to many.
> Get the SDK and tools to simplify cross-platform app development. Create
> new or port existing apps to sell to consumers worldwide. Explore the
> Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
> http://p.sf.net/sfu/intel-appdev
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Big Gambas3 slowdown on hex edit / compare program

2011-12-15 Thread Ron
On 15-12-2011 5:50, Benoît Minisini wrote:
> Le 15/12/2011 03:42, Benoît Minisini a écrit :
>> Le 15/12/2011 01:19, Caveat a écrit :
>>> Benoit,
>>>
>>> I decided to test against qt and gtk+ by selecting them manually from
>>> the Project Properties, Components.
>>>
>>> If I select gb.qt4, the '4k GUI' builds in just 3 seconds! The '1k GUI'
>>> takes less than 1/2 a second.
>>>
>>> With gb.gtk+ (or gb.gui which is auto-selecting gtk+ afaict), the same
>>> '4k GUI' takes 1.5 minutes to build.
>>>
>>> Hope this helps.
>>>
>>> Regards,
>>> Caveat
>>>
>> Then maybe the problem is in the gb.gtk code, as I didn't wrote all of
>> it... I will take a look.
>>
>> And I don't think that John wanted to be rude or sarcastic at all: I had
>> the same reaction when I saw the 8000+ textboxes.
>>
>> It is something I didn't dare to do (even with qt) without expecting an
>> explosion somewhere. :-)
>>
> OK: the GTK+ functions that modify control colors and fonts are slow,
> and become slower as the number of created controls grows. So I now call
> them only if really necessary in revision #4278.
>
> If you try it, you will get a great speed up.
>
> Regards,
>

You see that even 'unefficient' programming/design of a users project 
helps making Gambas better for all of us.
Specific bugs or slowdowns are easier to spot if you try to get the most 
out of Gambas.

Regards,
Ron_2nd.


--
10 Tips for Better Server Consolidation
Server virtualization is being driven by many needs.  
But none more important than the need to reduce IT complexity 
while improving strategic productivity.  Learn More! 
http://www.accelacomm.com/jaw/sdnl/114/51507609/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Moviebox with animated gif, need tranparent background

2011-11-26 Thread Ron
I display movieboxes with an animated gifs, and have it use a transparent
background, the gifs are already transparant.

I can do this for TextLabel with property .Transparant, but how can I do
this for MovieBoxes?

Small code:

WITH hMovieBox
  TRY .Path = "/some/animated.gif"
  .Height = 20
  .Width = 20
  .X = X
  .Y = Y
  .Playing = TRUE
END WITH

If it can't be done with a MovieBox, how do you do it with a PictureBox?

Gambas2, qt.

Thanks for any pointers!

Regards,
Ron_2nd.
--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


  1   2   3   4   5   >