Re: [Gambas-user] gambas web, when run ide get confusing respect documentation

2017-03-15 Thread Jesus Guardon
El 16/3/17 a las 0:03, PICCORO McKAY Lenz escribió:
> 2017-03-15 18:22 GMT-04:00 Jesus Guardon :
>
>> That tool already exists. It is inside your own browser!! I you use
>> Firefox or a webkit based browser as Chromium, you have lots of tools
>> inside the "Developer tools" menu that helps to debug your web project
>> whatever server language is it programmed in.
>>
> thanks for that, but this only show the communication between client and
> server, some specific vars declared inside my project of course never will
> get show it!
That's for what it is intended, right? Well, then let's put some
breakpoints in your code and you'll see those values, or do it the old
way, just print it.
>
> @jguardon its obviously u dont see it the ci-profiler...

I'm not very interested in php frameworks. They add unnecessary
"features" only to bloat your application and reduces the overall
performance.
>
> the web-developer tools of the chrome/webkit browsers are usefully for most
> client side and response related data, and eye-candy purposes..

Eye-candy? Well, I like to see data going in and out of my browser,
supposedly the same data your $_POST variables hold inside.
>
> some other aspect specific of the own application like filters does not
> show obviously..
>
> LIKE WICHT QUERYS WAS MADE IN SERVER! that its never show in the webkit
> developer tool...
>
> and as i said, that required novice users read lot of documentation and in
> ci, this are not necesary for novices..

Well, it is not strictly necessary to agree on this. Cheers!


Jesus Guardon



--
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] gambas web, when run ide get confusing respect documentation

2017-03-15 Thread Jesus Guardon
Hi, dudes


El 15/3/17 a las 20:47, PICCORO McKAY Lenz escribió:
> the profiler addon in screeshot show a tool that gets all the vars passed
> to respond, the vars passed to request, the complete POST data, the
> complete GET data , if any the complete URI on a web aplication..

That tool already exists. It is inside your own browser!! I you use
Firefox or a webkit based browser as Chromium, you have lots of tools
inside the "Developer tools" menu that helps to debug your web project
whatever server language is it programmed in.

Search the web for tutorials on how to get the best of your browser.

Regards

Jesus


>
> on gambas, THIS ARE IMPORTANT: search and debug that things are very hard,
> downgrading very the time develop of a web application...
>
> Lenz McKAY Gerardo (PICCORO)
> http://qgqlochekone.blogspot.com
>
> 2017-03-15 15:38 GMT-04:00 Benoît Minisini :
>
>> Le 15/03/2017 à 20:13, PICCORO McKAY Lenz a écrit :
>>> BUT THIS WILL BE NECESARY: http://picpaste.com/codeigniter-forensics.png
>> No idea what that tiny screenshot with russian inside is supposed to do.
>>
>> --
>> Benoît Minisini


--
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] whats new since rev. 8088

2017-02-25 Thread Jesus Guardon
El 25/2/17 a las 20:17, Benoît Minisini escribió:
> Moreover, the Sourceforge svn commit mails are still broken, they
> apparently haven't fixed them for weeks. Sourceforge is more and more a 
> problem!
Perhaps it's time to switch to GitHub...  ;-)

Regards

Jesus G.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] FRAME

2016-11-25 Thread zeus Jesus
 GREETINGS.
  IS THERE ANY OPTION TO ADD A SCROLL TO A FRAME?
  I HAVE AN APPLICATION WITH ALL THE ELEMENTS CONTAINED IN A FRAME BUT WHEN
THE RESOLUTION OF THE SCREEN WHERE THE APPLICATION IS INSTALLED IS LOW THE
SYSTEM IS NOT SHOWN PROPERLY, LOSING PART OF THE ELEMENTS CONTAINED IN THE
FRAME.
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Missing images on the Wiki

2016-07-19 Thread Jesus Guardon
Hi,

Just FYI, in the ODBC page there are several broken links to images.
I've been testing other paths to the pics, but I don't know even if they
are still in the HD:

http://gambaswiki.org/wiki/doc/odbc

Any chance to get it fixed?

(Beware of cached content)

Thanks!

Jesús Guardon

--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] About Gambas Farm

2016-06-26 Thread Jesus Guardon
Hi, Benoît et all

El 26/6/16 a las 12:40, Benoît Minisini escribió:
> Le 25/06/2016 20:59, Jesus Guardon a écrit :
[...]
>> the Farm interface
>> should be enhanced in terms of usability, such as implementing a score
>> system and a comments system. 
> 
> I agree for the comment system. But I disagree for the notation system 
> which I found actually useless and removed.
> 
Good to know you like a comment system.

>> [...]supervision of the published material, looking for a
>> minimum of quality. [...]
> 
> As this cannot be done automatically, maybe a special "quality" tag 
> could be added? Or a quality score? Or quality flags? It will tell 
> people that the program follows the quality rules.
> 
Yes, please. Perhaps a combination of some of them, explained further down.

>> [...]only a selected
>> set of them should be published after a proper quality filter. If bad
>> code is published massively, it will affect the gambas reputation in the
>> near future.
> 
> I'm against filtering, except malwares. I think quality tag (or notes) + 
> number of downloads should be enough for people to detect bad code.

I'm with you, except that if nothing is done in a timely manner, the
Farm will become a nightmare. We need to prevent abusing, i.e.
converting the public Farm in a private repository for someone and
maintain the quality level to a minimum, as said before. I think the
following aspects should be evaluated and shown somewhat next to the
program name:

* Naming conventions has been used
* Object names and comments are in English
* Good style of writing and organization of project
* Usefulness of code or application
* Usability and graphic design

...to name a few, but still waiting for the feedback from list members.

Perhaps a combination of tags that adds in for a number representing a
scale or level of quality...

> 
> The farm server and farm clients need enhancements for sure. It's a 
> matter of time, mainly for the farm client. If somebody can help for 
> enhancing it, he is welcome : the source code is in the IDE!

That's the main reason we use free software, of course, we will try to
help the best we can.

Regards,

Jesus (on behalf of gambas-es.org)



--
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] CDocumentation.ImplementAndNeed.1138

2016-06-26 Thread Jesus Guardon
Hi, Lewis

As this is a threaded list, please, don't hijack the previous thread by
hitting 'Reply' while still reading a thread. That's the case with my
thread 'About Gambas Farm' because your post appear as a reply to it,
but having changed the title.

If you want to create a new thread, please, use the 'New post' or
whatever says your mail client.

Hope your understanding, and for sure, no aggro intended.

Best regards,

Jesús

El 26/6/16 a las 7:01, Lewis Balentine escribió:
> I am testing Linux Mint 18 Beta.
> It comes with Gambas version of 3.8.4
> I tried to run my KWPVR program project (which I admit is somewhat dated).
> I got a strange error in the IDE: "CDocumentation.ImplementAndNeed.1138"
> At this point I am only trying to determine if this is a Mint 18 or 
> Gambas error.


--
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] About Gambas Farm

2016-06-25 Thread Jesus Guardon
Hi all

Recently at the Spanish Forum gambas-es.org, we have had a vibrant
debate about the gambas Farm and its features. On behalf of our
Community, I'd like to forward some of the questions that deserve some
discussion, in our opinion.

Questions like "What's the actual purpose of the farm?", "Should we
expect future changes on the farm?", "Are we making a proper use of the
farm?", etc. are arising out of different points of view.

In addition to these questions, some of us think that the Farm interface
should be enhanced in terms of usability, such as implementing a score
system and a comments system. I know it already has a
download/installation counter, but it may or may not be relevant enough
for the author. Also, a short comment from the users or other
developers, may help to the main dev to debug his application.

One of the most strongly discussed aspects is the convenience of a
management or supervision of the published material, looking for a
minimum of quality. It should serve as an example of some feature, it
should be written using the recommended rules, variable names in
english, have relevant english comments and good style, not to mention
correct indentation.

While some of us think that the Farm should be open to whatever type of
script, snippet or whole applications, others think that only a selected
set of them should be published after a proper quality filter. If bad
code is published massively, it will affect the gambas reputation in the
near future. We think about Gambas Farm as a showcase of good
programming practices and as a teaching tool, therefore it should be
enforced a minimum quality level.

What do you guys think about all these questions? We would like to open
a friendly debate about it.

Best regards,

Jesús

--
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Round matematical does not work as xpected

2016-05-20 Thread Jesus Guardon
Oh, don't hurry...

Regards,

Jesus

El 20/5/16 a las 3:54, PICCORO McKAY Lenz escribió:
> ok ok grr i must use the lasted event the 3.4.2 version..  i'll be back...
> 
> 2016-05-19 10:12 GMT-04:30, Tobias Boege :
>> On Thu, 19 May 2016, PICCORO McKAY Lenz wrote:
>>> using Round as noted in wiki, does not works as spected
>>>
>>> if i round Round 2.536 must get 2.54 but only got 2.53 if i specify '2
>>> (for
>>> 2 decimals)
>>>
>>> why or better, how can i made that i want! (2.536 goest to 2.54)
>>>
>>> i must work with decimals part only by myselft (i thnk about it)
>>>
>>
>> Can't reproduce:
>>
>>   $ gbx3 -e 'Round(2.536, -2)'
>>   2.54
>>
>> Regards,
>> Tobi
>>
>> --
>> "There's an old saying: Don't change anything... ever!" -- Mr. Monk
>>
>> --
>> Mobile security can be enabling, not merely restricting. Employees who
>> bring their own devices (BYOD) to work are irked by the imposition of MDM
>> restrictions. Mobile Device Manager Plus allows you to control only the
>> apps on BYO-devices by containerizing them, leaving personal data
>> untouched!
>> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
> 
> 


--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Sharing libraries across projects

2016-01-27 Thread Jesus Guardon
El 26/1/16 a las 23:46, Christof Thalhofer escribió:

> 
> So your proposal, Benoît, is the more generic one and better. Especially
> with the future possibility to invent namespaces in mind.
> 
> Alles Gute
> 
> Christof Thalhofer

Uhh!, namespaces. Good point, Chris. That way, we could avoid possible
collisions in common symbols and encapsulate yet more our groups of classes.

Regards,

Jesus



--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Hi all

2015-12-30 Thread Jesus Guardon
El 27/12/15 a las 23:51, David Cole escribió:
> Hello,
> 
> New to list, and thought I'd say hi, so-- 'Hi".  Just found GAMBAS, what
> a cool piece of software!  Now to learn about it!  
> 
> 

Hi, David

Another radio-amateur here, this is EA7DFH.

I can assure you will be glad to know Gambas and what incredible things
you can do with it in a little time. Feel free to ask in the list
whatever you want.

73 de Jesus

Regards

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


Re: [Gambas-user] New soft at the farm

2015-11-25 Thread Jesus Guardon

El 19/11/15 a las 23:30, Fabien Bodard escribió:
> 2015-11-19 22:58 GMT+01:00 Moviga Technologies :
>>
>>
>> Looks cool, but my i7 processor can't handle the load :)
> 
> too slow for me too


Weird enough, my i7 running Kubuntu 14.04 inside a VirtualBox (Running
Yosemite OSX as host) runs flawlessly. It is true that CPU raises near
70% inside the -limited to 2 cores- guest, so if it was running natively
with 4 cores (8 threads), we couldn't figure out what the reason for
slowness would be.

My two cents

Regards,
Jesus Guardon




--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Test list delivery, sorry

2015-11-25 Thread Jesus Guardon
Testing list delivery, sorry.

Regards

Jesús Guardon

--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New soft at the farm

2015-11-23 Thread Jesus Guardon
El 19/11/15 a las 23:30, Fabien Bodard escribió:
> 2015-11-19 22:58 GMT+01:00 Moviga Technologies :
>>
>>
>> Looks cool, but my i7 processor can't handle the load :)
> 
> too slow for me too


Weird enough, my i7 running Kubuntu 14.04 inside a VirtualBox (Running
Yosemite OSX as host) runs flawlessly. It is true that CPU raises near
70% inside the -limited to 2 cores- guest, so if it was running natively
with 4 cores (8 threads), we couldn't figure out what the reason for
slowness would be.

My two cents

Regards,
Jesus Guardon


--
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Help me please

2015-09-16 Thread zeus Jesus
you can use more than one webcam shrimp ?. I have drawn in the examples to
use the web camars and when I use more than one pictures are not seen
El 14/09/2015 11:32, "Benoît Minisini" 
escribió:

> Le 14/09/2015 16:21, Benoît Minisini a écrit :
>
>> Le 07/09/2015 11:21, Fabien Bodard a écrit :
>>
>>> A try on the 16 px version... this not a final version ... just to get
>>> something readable on small icons
>>>
>>>
>> Did you finish the icon? I will update the mime icons with it.
>>
>>
> Here is my contribution. What do yoy think?
>
> I have used the blue color of the previous icon, but it can be changed,
> and I have move the points to integer coordinates.
>
> --
> Benoît Minisini
>
>
> --
>
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
--
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


Re: [Gambas-user] help me please

2015-09-16 Thread zeus Jesus
you can use more than one webcam shrimp ?. I have drawn in the examples to
use the web camars and when I use more than one pictures are not seen
El 15/09/2015 04:16, "Fabien Bodard"  escribió:

> Well i've been able to resist... this is a new version based on Benoit's
> ones.
>
> I prefer the V3... with a more large smile.
>
> 2015-09-14 22:03 GMT+02:00 Fabien Bodard :
> > 2015-09-14 20:43 GMT+02:00 Benoît Minisini  >:
> >> Le 14/09/2015 20:26, Fabien Bodard a écrit :
> >>> Le 14 sept. 2015 18:23, "Benoît Minisini" <
> gam...@users.sourceforge.net> a
> >>> écrit :
> 
>  Le 14/09/2015 18:06, Benoît Minisini a écrit :
> >
> > Le 14/09/2015 18:03, Benoît Minisini a écrit :
> >>
> >> Le 14/09/2015 18:00, Benoît Minisini a écrit :
> >>>
> >>>
> >>> Here is my contribution. What do yoy think?
> >>>
> >>> I have used the blue color of the previous icon, but it can be
> changed,
> >>> and I have move the points to integer coordinates.
> >>>
> >>
> >> Another version...
> >>
> >
> > And another one.
> >
> 
>  A less frightening one.
> 
> >>> I like this one. I like the moon croissant style
> >>>
> >>
> >> I mainly took your original icon and tried to put all control points on
> >> integer coordinates.
> > It seem perfect. And keep the funny look of the original logo.
> >>
> >> --
> >> Benoît Minisini
> >>
> >>
> --
> >> ___
> >> Gambas-user mailing list
> >> Gambas-user@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> >
> >
> > --
> > Fabien Bodard
>
>
>
> --
> Fabien Bodard
>
>
> --
>
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
--
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


Re: [Gambas-user] Since 3.8 open project with files in state "changed"

2015-08-15 Thread Jesus
El 15/8/15 a las 10:07, Christof Thalhofer escribió:
> Hello,
> 
> if I close a project with open class files and reopen that project all
> opened files are in the state changed, even if I did not change anything.
> 
> See screenshot of project just opened.
> 
> So I cannot close that project without the dialog to save the files ...
> even if nothing changed.
> 
> 
> Alles Gute
> 
> Christof Thalhofer

Hi Christof

Are by chance your files located in a folder which is under external
synchronization or shared in any way? i.e. Dropbox, owncloud or
something similar?

Regards

-- 
Jesus Guardon

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


Re: [Gambas-user] Gambas highlight

2015-08-12 Thread Jesus
El 11/8/15 a las 9:33, abbat81 escribió:
> Jesus wrote
>> [*] Yes, it needs an update based on gambas3 brand new classes...
> 
> 
> Can you update those new classes in gambas.php ?

Currently I am very busy. I've scheduled the task to not forgetting, but
expect at least a 15 or 20 days delay. Sorry ;-)

Regards,

-- 
Jesus Guardon

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


Re: [Gambas-user] Gambas highlight

2015-08-10 Thread Jesus
El 10/8/15 a las 16:05, abbat81 escribió:
> Hi,
> 
> is it possible to add Gambas syntax highlighting for the Web?
> 
> I tried VBScript and VB.NET. It's not good for Gambas code.
> 
> https://highlightjs.org/
> 

Hi abbat81

About 6 years ago, I did contributed to GeShi project enabling syntax
highlighting for gambas[*]. GeShi is a powerful php script for
highlighting about 200 programming languages, it is easy to implement in
almost any web page and results are amazing.

Not sure what's happening with this project since 10 months ago, main
site is not responding for a while...

http://qbnz.com/highlighter

https://github.com/GeSHi/geshi-1.0

Moreover, there are plugins based on GeShi for several CMS as Wordpress,
and the like.

Hope this helps, regards

-- 
Jesus Guardon


[*] Yes, it needs an update based on gambas3 brand new classes...

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


Re: [Gambas-user] New Gambas bug tracker (alpha)

2015-07-27 Thread Jesus
El 27/7/15 a las 13:27, martin p cristia escribió:
> Couldn't registeror my english is too bad
> 

Definitely, something doesn't work with captcha or it is extremely
difficult for non English people.

I'm unable to register and mostly all words seems unrecognizable to me.

On the other hand, recently I have implemented google reCaptcha in my
own application (non gambas related, but JS and PHP) and was way easy
and secure in my opinion. Its motto is self explanatory:

Easy for humans, very hard for bots

Please, take a look:

https://www.google.com/recaptcha/intro/index.html

Regards

-- 
Jesus Guardon

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


Re: [Gambas-user] R: This is a test

2015-07-22 Thread Jesus
El 22/7/15 a las 23:38, Adrien Prokopowicz escribió:

> 
> As Benoît stated here[0], Github does not have mailing-list support. So
> we can't move everything over there (unless we host them on a separate
> server).

It's a pity Github doesn't have mailing list support!

> 
> But we need to move away from SourceForge. I mean, I have
> to add exceptions to anti-malware blacklists to even access the
> Gambas website (when it isn't down, of course).
> 

I agree with Adrien. Sourceforge sucks! Moreover it is slow,
counter-intuitive and tons of ads.

Perhaps maintaining our own server would be an alternative? Just
thinking out loud...

Regards

-- 
Jesus Guardon

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


Re: [Gambas-user] ?????? : why this code not working

2015-07-14 Thread Jesus
Tsukuba

With my respect to you, I think you need to understand the basics of
programming and familiarize yourself with the terminology.

I suggest reading a book or two about programming, perhaps visiting an
online manual [1] and [2] if you understand enough English, and once
done, come back with a bit more elaborated issues.

[1] http://whiteislandsoftware.com/index.php?page=cedi&type=misc&id=64

[2] http://howtogambas.org/

Also, reading and trying to understand the examples provided by gambas3
(the software farm) could help.

I don't want to seem harsh, only trying to help you the best way.

Best of luck

Regards


-- 
Jesus Guardon


El 14/7/15 a las 21:14, tsukuba GIMP user escribi??:
> No i make a mistay Mistakes not $dbclick += 1 still not working is 
> 
> 
> 
>> Now, you declare $dbclick, but you don't set a value to it.
>> So, every time PictureBox1_MouseDown() starts, $dbclick gets the value 1.
>> Try: Private $dbclick as Integer = 0
>>
>> Am 14.07.2015 um 21:01 schrieb tsukuba GIMP user:
>> here is
>> ' Gambas class file
>>
>> '  Private $dbclick As Integer
>> (Unrelated content and Comment symbol because i build a package So I 
>> shielded them)
>> ' Public Sub PictureBox1_MouseDown()
>> '   Dim dicer As Integer
>> '   dicer = Int(Rnd(1, 5))
>> '   $dbclick += 1
>> '   Print $dbclick <- TEST ONLY
>> '   If $dbclick = 8 Then <-- THIS STILL NOT WORKING!!!
>> ' Form3.Text = ("")
>> ' Form3.TextBox1.text = ("xxx!!")
>> ' Form3.Show
>> '   Else
>> ' Goto just_keep_moveing
>> '   Endif
>> '   just_keep_moveing:
>> '   If dicer = 1 Then
>> ' Form3.Text = ("")
>> ' Form3.TextBox1.Text = ("...xx.")
>> ' Form3.Show
>> '   Else If dicer = 2 Then
>> ' Form3.Text = ("")
>> ' Form3.TextBox1.text = ("xx?xx?")
>> ' Form3.Show
>> '   Else If dicer = 3 Then
>> ' Form3.Text = ("")
>> ' Form3.TextBox1.text = ("~~")
>> ' Form3.Show
>> '   Else If dicer = 4 Then
>> ' Form3.Text = ("")
>> ' Form3.TextBox1.text = ("xxx! xx~??")
>> ' Form3.Show
>> '   Endif
>> ' End
>>
>>
>>
>>
>> On 07/14/2015 02:37 PM, tsukuba GIMP user wrote:
>>> i added the private var and in print number is working
>>> but when number is 8 it's still forget the
>>> if $dbclick = 8 then '$ is private var
>>
>> What is the content of your function's code now?
>>
>>
>> Lee
>> __
>>





--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] i Build a RPM package but...

2015-07-12 Thread Jesus
El 12/7/15 a las 13:01, tsukuba GIMP user escribió:
> ... I using "mediaview" but it's no have like picture.load("xxx.png") options
> mediaview only have "mediaview.url" options i must use music = 
> application.Path &/ "music1.mp3"
> and then it's working
> ok here is my code:
> 
> Public Sub Button1_Click()
>   Dim music As String
> MediaView1.Stop
>   music = application.Path &/ "music1.mp3"
>   MediaView1.URL = music
>   MediaView1.play
>   
> End

Hi, tsukuba

First, you should read carefully what others have wrote in this thread.

Using "Application.Path" is not a good idea in your case, so as Tobi has
told you, put your music.mp3 file inside the Data folder in your project
tree. Now, all you should do, is changing the line:

music = application.Path &/ "music1.mp3"

to:

music = "music1.mp3"

And that's all. mp3 file is embedded into the executable and it is
anymore in the filesystem.

If you want to put it in the filesystem, I would recommend you doing
this by copying to somewhere in the user folder, for instance, in a
hidden folder like /home/your_username/.your_app_name/music.mp3 and
instruct to the packager to copy those files into this folder.

This way, in gambas you should simply use this path to access your mp3 file:

music = User.Home &/ ".your_app_name/music1.mp3"

Note two things here: ".your_app_name" should be the actual name of your
application and the . dot in front of it is what it makes a hidden
folder (or file).

Hope this clarifies something

Regards

-- 
Jesus Guardon

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Interview about Gambas

2015-06-11 Thread Jesus
El 11/6/15 a las 11:45, Jorge Carrión escribió:

> ...And comb your hair, for god sake!
> :D:D:D
> 

LOL, good one, Jorge!

Good luck in the interview, Benoît. Gambas deserves it.

Regards


-- 
Jesus Guardon

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


Re: [Gambas-user] Tutorial on native component development

2015-03-08 Thread Jesus
El 6/3/15 a las 2:13, Tobias Boege escribió:
> Hi list,
>
> Ru thought it would be a good idea to have a tutorial on how to set up
> oneself to write a native Gambas component and then to actually write
> one. After a marathon session since 10 a.m. today I just completed my
> attempt at it.
>
> It's available over here[0].
...
>
> Regards,
> Tobi
>
> [0] http://www-e.uni-magdeburg.de/tboege/gambas
>

Many thanks, Tobi. Very much appreciated, this will get us started with 
native components.

Regards

-- 
Jesus Guardon

--
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] Some playing on logo redesing

2015-02-27 Thread Jesus
El 27/2/15 a las 15:11, Fabien Bodard escribió:

If you accept my criticism, I will tell you none of these do like to me 
at all... sorry ;-)

Also, I think the current logo is nice, and the former gambas2 logo was 
much better in terms of 3D.

I really appreciate your efforts.

Regards
-- 
Jesus Guardon

--
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-29 Thread Jesus
El 27/12/14 a las 13:44, Gian escribió:
> 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

I can see your reply without problems...

--8<---
> No during runtime is not possible.
> But you can alert the user that the program should restart.
> Save the choice, close and restart with the language chosen from the user.
>
> Hello
> Gianluigi
--8<---

Which email client are you using?

Regards

-- 
Jesus Guardon

--
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] Release of Gambas 3.6.2

2014-11-12 Thread Jesus
El 12/11/14 a las 17:39, Benoît Minisini escribió:
> Hi,
>
> I have made the release of Gambas 3.6.2 official.
>
> There is still a problem in the way the offline help is displayed: fixes
> to the wiki stylesheet must be duplicated by hand in the IDE at the moment.
>
> If I find a solution for that, it will be backported to a next 3.6.3
> version.
>
> Regards,
>

The download link (big button) in the main page still points to gambas 
3.6.1

Good job, anyway. No issues here.

Regards

-- 
Jesus Guardon

--
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://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
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-11-12 Thread Jesus
El 12/11/14 a las 01:39, Benoît Minisini escribió:
> Le 12/11/2014 01:28, Benoît Minisini a écrit :
>> Le 12/11/2014 01:13, Jesus a écrit :
>>> El 11/11/14 a las 17:58, Benoît Minisini escribió:
>>>> Hi,
>>>>
>>>> I have uploaded a pre-release source package of Gambas 3.6.2 on
>>>> sourceforge at:
>>>>
>>>> http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.6.2.tar.bz2/download
>>>>
>>>>
>>>> Please check it and report any problem before I make it official.
>>>>
>>>> I will write the changelog with the backported bug fixes soon.
>>>>
>>>> Regards,
>>>>
>>>
>>> Hi
>>>
>>> Hope it's not too late... I've updated Spanish language in 3.6 branch,
>>> r6644. Please, Benoît, could you merge it into 3.6.2 finally?
>>>
>>> Thanks in advance
>>>
>>
>> Not too late, as the release is not official.
>>
>
> I have uploaded a new archive of gambas 3.6.2 with your translation. Now
> I wait one or two days for people to confirm that they have no problem
> with compiling and installing it, and I make the release official.
>
> Regards,
>

Than you very much, Benoît. I will test it in a VM today.

Regards

-- 
Jesus Guardon

--
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://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
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-11-11 Thread Jesus
El 11/11/14 a las 17:58, Benoît Minisini escribió:
> Hi,
>
> I have uploaded a pre-release source package of Gambas 3.6.2 on
> sourceforge at:
>
> http://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.6.2.tar.bz2/download
>
> Please check it and report any problem before I make it official.
>
> I will write the changelog with the backported bug fixes soon.
>
> Regards,
>

Hi

Hope it's not too late... I've updated Spanish language in 3.6 branch, 
r6644. Please, Benoît, could you merge it into 3.6.2 finally?

Thanks in advance

-- 
Jesus Guardon

--
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://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Release of Gambas 3.6.1

2014-11-02 Thread Jesus
El 02/11/14 a las 19:52, Benoît Minisini escribió:
> Le 02/11/2014 18:46, Jesus a écrit :
>>>
>>> No, the problem is that I can't know if the new translations can be
>>> merged directly or not.
>>>
>>> Because some of the translations can be part of a backportable bug fix,
>>> and some others can be part of a new development feature that cannot be
>>> backported. And translations files does not like to be merged...
>>>
>>> So the translation merge must be done manually with the IDE by taking
>>> the translations files from the /trunk and import them in the
>>> /branches/3.X. It's a big job if I have to do that for the IDE, all the
>>> components projects, all the examples...
>>>
>>> I need a solution to automate that...
>>>
>>
>> Do you mean I could do it by updating 3.6 branch while maintaining trunk
>> apart with its new features? In other words, does it worth doing an
>> import of lang files only for the 3.6 branch? Or directly on 3.6.1?
>
> Everything is done on '/trunk' and '/branches/3.X'. Nothing is done
> elsewhere, except for fixing a mistake before a version release that is
> based on '/tags/3.X.Y'.

So, to be clear, should I update /branches/3.6? That way we could have 
an updated and complete Spanish translation into the upcoming 3.6.2, right?


>
>>
>> If I could update 3.6.1, probably we have a chance to get Spanish
>> language updated in Sebikul's Beta PPA, but obviously, I need a clear
>> statement about what to do then.
>>
>> It seems like branching overcomplicates language maintenance in this
>> very specific case.
>>
>> Regards
>>
>
> The IDE can merge a translation file into a project. I.e., it takes all
> non-existing translations, and check if it can find one in the imported
> translation file.
>
> I "just" need to allow this feature from the command-line, so that I can
> write a script that merge all translations files of '/trunk' into
> '/branches/3.X'. I also need to implement an option to tell that the
> translation in the imported file must override the translation in the
> project.
>
> Quite a job again. :-)
>


In the meantime, I guess we could continue doing this "manually". That's 
not a problem for me.

Regards
-- 
Jesus Guardon

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


Re: [Gambas-user] Release of Gambas 3.6.1

2014-11-02 Thread Jesus
El 02/11/14 a las 16:51, Benoît Minisini escribió:
> Le 02/11/2014 14:34, Jesus a écrit :
>> El 01/11/14 a las 18:40, Benoît Minisini escribió:
>>> Hi,
>>>
>>> Gambas 3.6.1 has been released. It tries to fix (almost) all the nasty
>>> bugs reported after the 3.6.0 release.
>>>
>>> The list of bug fixes in the ChangeLog at
>>> http://gambaswiki.org/wiki/doc/release/3.6.1.
>>>
>>> Enjoy it!
>>>
>>
>> Some weeks ago:
>>
>>> I'm starting releasing 3.6.0, so your future translations will go in a 
>>> 3.6.1.
>>>
>>> Regards,
>>>
>>> --
>>> Benoît Minisini
>>
>> It seems that updates of Spanish translations were not merged in 3.6.1.
>>
>> Perhaps you forgot to do this, or is there a reason for that?
>>
>> Yes, I know my changelog was too verbose and ugly ;-)
>>
>> Regards
>>
>
> No, the problem is that I can't know if the new translations can be
> merged directly or not.
>
> Because some of the translations can be part of a backportable bug fix,
> and some others can be part of a new development feature that cannot be
> backported. And translations files does not like to be merged...
>
> So the translation merge must be done manually with the IDE by taking
> the translations files from the /trunk and import them in the
> /branches/3.X. It's a big job if I have to do that for the IDE, all the
> components projects, all the examples...
>
> I need a solution to automate that...
>

Do you mean I could do it by updating 3.6 branch while maintaining trunk 
apart with its new features? In other words, does it worth doing an 
import of lang files only for the 3.6 branch? Or directly on 3.6.1?

If I could update 3.6.1, probably we have a chance to get Spanish 
language updated in Sebikul's Beta PPA, but obviously, I need a clear 
statement about what to do then.

It seems like branching overcomplicates language maintenance in this 
very specific case.

Regards

-- 
Jesus Guardon

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


Re: [Gambas-user] Release of Gambas 3.6.1

2014-11-02 Thread Jesus
El 01/11/14 a las 18:40, Benoît Minisini escribió:
> Hi,
>
> Gambas 3.6.1 has been released. It tries to fix (almost) all the nasty
> bugs reported after the 3.6.0 release.
>
> The list of bug fixes in the ChangeLog at
> http://gambaswiki.org/wiki/doc/release/3.6.1.
>
> Enjoy it!
>

Some weeks ago:

> I'm starting releasing 3.6.0, so your future translations will go in a 3.6.1.
>
> Regards,
>
> --
> Benoît Minisini

It seems that updates of Spanish translations were not merged in 3.6.1.

Perhaps you forgot to do this, or is there a reason for that?

Yes, I know my changelog was too verbose and ugly ;-)

Regards

-- 
Jesus Guardon

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


Re: [Gambas-user] Window minimum dimensions

2014-10-25 Thread Jesus
El 24/10/14 a las 20:20, Tobias Boege escribió:
  Do you think
> it's good to add corresponding properties to Gambas' Window (and would
> you do it)?
>
> Regards,
> Tobi
>

Absolutely...

Please Benoît, do it ;-)

-- 
Jesus Guardon

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


Re: [Gambas-user] Combobox behavior with long lists

2014-10-01 Thread Jesus
El 01/10/14 a las #4, Alain Baudrez escribió:
> Jesus,
>
> the funny thing is that I use gb.qt4 and I have this very long top to
> bottom list in Linux Mint 17 Mate.
>
> Maybe it is not 100% depending on the toolkit used.

It is, at a degree. This is the theme used by the qt4 tk. Test with 
another style (using the tool qtconfig-qt4). I've just tested it and 
"Plastique" style behaves as you want.

Install qt4-qtconfig package and play a little with it.

I'm using Mint 17 Xfce and also hate that long comboboxes... ;-)

Hope this helps this time

Regards

--
Jesus Guardon

>
> 2014-10-01 11:25 GMT+02:00 Jesus :
>
>> El 01/10/14 a las #4, Alain Baudrez escribió:
>>> I have quit using the combobox because its behavior with long lists
>> really
>>> pisses me off. When you click the dropdown arrow a list of items fills
>> the
>>> screen from top to bottom, which is not only ugly for the eyes, but also
>>> confuses the users.

>>
>> Hi
>>
>> It seems to me that it depends on the toolkit used. I mean, if you use
>> gb.gui (with gnome desktop) or gb.gtk, the underlying desktop manager
>> uses that behavior in the comboboxes. But if you change to gb.qt4, you
>> will notice the differences.
>>
>> Let change to gb.qt4 and you will see a "normal" combobox.
>>
>> Regards
>> --
>> Jesus Guardon



--
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://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Combobox behavior with long lists

2014-10-01 Thread Jesus
El 01/10/14 a las #4, Alain Baudrez escribió:
> I have quit using the combobox because its behavior with long lists really
> pisses me off. When you click the dropdown arrow a list of items fills the
> screen from top to bottom, which is not only ugly for the eyes, but also
> confuses the users.
>
> I expected to see a behavior like you see in LibreOffice dropdown boxes,
> with a relative small drop-down  section and the original textbox portion
> of the combobox visible.
>
> Is there a at least way to restrict to length of the dropdown section of
> the combobox to let's say approx 10 visible items?

Hi

It seems to me that it depends on the toolkit used. I mean, if you use 
gb.gui (with gnome desktop) or gb.gtk, the underlying desktop manager 
uses that behavior in the comboboxes. But if you change to gb.qt4, you 
will notice the differences.

Let change to gb.qt4 and you will see a "normal" combobox.

Regards
-- 
Jesus Guardon

--
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://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Ctrl+ +/- Zoom Shortcuts don't work anymore

2014-09-28 Thread Jesus
El 26/09/14 a las #4, Benoît Minisini escribió:
> Le 26/09/2014 17:52, Jesus a écrit :
>> Hi Benoît et all
>>
>> Ctrl++ and Ctrl+-, even Ctrl+mouse wheel, don't work anymore in my
>> setup. I have no idea when it started happening, sorry. Currently I'm
>> using latest development version from 'gambas-team' PPA.
>>
>>
>
> Where should they supposed to work?
>

In the text editor. I remember this worked in the past. You were able to 
zoom in/out the text (size) in the code editor, right?

Regards

-- 
Jesus Guardon

--
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://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Ctrl+ +/- Zoom Shortcuts don't work anymore

2014-09-26 Thread Jesus
Hi Benoît et all

Ctrl++ and Ctrl+-, even Ctrl+mouse wheel, don't work anymore in my 
setup. I have no idea when it started happening, sorry. Currently I'm 
using latest development version from 'gambas-team' PPA.

[System]
Gambas=3.5.90
OperatingSystem=Linux
Kernel=3.13.0-24-generic
Architecture=x86_64
Distribution=Linux Mint 17 Qiana
Desktop=XFCE
Theme=QGtk
Language=es_ES.UTF-8
Memory=16032M
[Libraries]
Cairo=libcairo.so.0.0.0
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

Regards
-- 
Jesus Guardon

--
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://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Caps Lock - Num Lock state howto

2014-09-21 Thread Jesus
El 21/09/14 a las #4, Charlie Reinl escribió:
> Am Sonntag, den 21.09.2014, 19:06 +0200 schrieb Jesus:
>> El 21/09/14 a las #4, Charlie escribió:
>>> *I was playing with this routine and found that the following 2 lines can be
>>> replaced by 1*sShellOutput = Replace$(sShellOutput, " ", "") iKeyLocks =
>>> Val(Split(sShellOutput, ":")[3])*Replace with*iKeyLocks =
>>> Val(Right(Trim(sShellOutput), 1))
>>
>>> --
>>> View this message in context: 
>>> http://gambas.8142.n7.nabble.com/Caps-Lock-Num-Lock-state-howto-tp15884p48416.html
>>
>> I was shocked when I realized this thread is from April 2008. I I myself
>> subscribed to this list December 2008, so I haven't noticed this subject.
>>
>> Also, it seems the text get messed when writing through nabble (kind of
>> a web forum).
>>
>> Thanks anyway, Charlie
>>
>>
>> Regards
>
> Salut Jesus,
>
> who, what, whereWhy from December 2008, can't see that.
> My mail says on german :
>   Am Sonntag, den 21.09.2014, 08:40 -0700 schrieb Charlie
>


I'm talking of the original thread, not your last post which I replied.

See that link: 
http://gambas.8142.n7.nabble.com/Caps-Lock-Num-Lock-state-howto-tp15884p48416.html

Original post is from April 2008 by Stefano Palmeri. Since I'm only 
using Thunderbird to read mail and mailing list, I didn't noticed this 
until I did followed that link. Nothing to scare about ;-)

BTW, I've tested 'xset' command and found interesting. Didn't know about it.

Regards

-- 
Jesus Guardon

--
Slashdot TV.  Video for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Caps Lock - Num Lock state howto

2014-09-21 Thread Jesus
El 21/09/14 a las #4, Charlie escribió:
> *I was playing with this routine and found that the following 2 lines can be
> replaced by 1*sShellOutput = Replace$(sShellOutput, " ", "") iKeyLocks =
> Val(Split(sShellOutput, ":")[3])*Replace with*iKeyLocks =
> Val(Right(Trim(sShellOutput), 1))

> --
> View this message in context: 
> http://gambas.8142.n7.nabble.com/Caps-Lock-Num-Lock-state-howto-tp15884p48416.html

I was shocked when I realized this thread is from April 2008. I I myself 
subscribed to this list December 2008, so I haven't noticed this subject.

Also, it seems the text get messed when writing through nabble (kind of 
a web forum).

Thanks anyway, Charlie


Regards
-- 
Jesus Guardon

--
Slashdot TV.  Video for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] R: Key events don't work on gb.gtk

2014-08-24 Thread Jesus
El 23/08/14 a las #4, Benoît Minisini escribió:
> Le 23/08/2014 10:07, Jesus a écrit :
>
>> Hi Benoît
>>
>> This is the console output after hitting some keys:
>>
>   > ...
>>
>> Hope this helps
>>
>> Regards
>>
>
> Can you try revision #6424 and tell me if the bug is now fixed for you?
>

It works fine now. Thanks once again!

Regards
-- 
Jesus Guardon

--
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] R: Key events don't work on gb.gtk

2014-08-23 Thread Jesus
El 22/08/14 a las #4, Benoît Minisini escribió:
> Le 22/08/2014 12:21, Jesus a écrit :
>> Well, sorry for the delay. Here it is:
>>
>> [System]
>> Gambas=3.5.90
>> OperatingSystem=Linux
>> Kernel=3.13.0-24-generic
>> Architecture=x86_64
>> Distribution=Linux Mint 17 Qiana
>> Desktop=XFCE
>> Theme=QGtk
>> Language=es_ES.UTF-8
>> Memory=16032M
>> [Libraries]
>> Cairo=libcairo.so.0.0.0
>> 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
>>
>> Linux Mint 17 is based on Ubuntu 14.04, but it's smarter IMO.
>>
>> I must say that it was firstly tested on an older setup, Mint 14
>> Cinnamon, IIRC, and results were the same.
>>
>> As I said before, current stable Gambas works as expected (at least in
>> my simple test) but recent changes in trunk don't raise events anymore.
>>
>> I know about GTK being a nightmare upstream, so good luck!
>>
>> Regards
>>
>
> Can you try the revision #6420? I added a debugging flag, and you will
> tell me the result:
>
> 1) Open your test project.
> 2) Open the project property dialog.
> 3) Go to the "environment" tab.
> 4) Define a new environment variable named "GB_GTK_DEBUG_KEYPRESS" and
> set its value to "1".
> 5) Run the project.
> 6) Send me the console output.
>
> Thanks.
>
Hi Benoît

This is the console output after hitting some keys:

GDK_KEY_PRESS: keyval = 49 state = 0010 is_modifier = 0
GDK_KEY_PRESS: keyval = 50 state = 0010 is_modifier = 0
GDK_KEY_PRESS: keyval = 51 state = 0010 is_modifier = 0
GDK_KEY_PRESS: keyval = 52 state = 0010 is_modifier = 0
GDK_KEY_PRESS: keyval = 53 state = 0010 is_modifier = 0
GDK_KEY_PRESS: keyval = 97 state = 0010 is_modifier = 0
GDK_KEY_PRESS: keyval = 98 state = 0010 is_modifier = 0
GDK_KEY_PRESS: keyval = 99 state = 0010 is_modifier = 0
GDK_KEY_PRESS: keyval = 100 state = 0010 is_modifier = 0
GDK_KEY_PRESS: keyval = 101 state = 0010 is_modifier = 0
GDK_KEY_PRESS: keyval = 65457 state = 0010 is_modifier = 0
GDK_KEY_PRESS: keyval = 65458 state = 0010 is_modifier = 0
GDK_KEY_PRESS: keyval = 65459 state = 0010 is_modifier = 0
GDK_KEY_PRESS: keyval = 65505 state = 0010 is_modifier = 1
GDK_KEY_PRESS: keyval = 65 state = 0011 is_modifier = 0
GDK_KEY_PRESS: keyval = 83 state = 0011 is_modifier = 0
GDK_KEY_PRESS: keyval = 68 state = 0011 is_modifier = 0
GDK_KEY_PRESS: keyval = 65509 state = 0010 is_modifier = 1
GDK_KEY_PRESS: keyval = 65 state = 0012 is_modifier = 0
GDK_KEY_PRESS: keyval = 83 state = 0012 is_modifier = 0
GDK_KEY_PRESS: keyval = 68 state = 0012 is_modifier = 0

Hope this helps

Regards

-- 
Jesus Guardon

--
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] R: Key events don't work on gb.gtk

2014-08-22 Thread Jesus
El 22/08/14 a las #4, Benoît Minisini escribió:
> Le 22/08/2014 14:52, Jesus a écrit :
>> El 22/08/14 a las #4, Benoît Minisini escribió:
>>> Can you try the revision #6420? I added a debugging flag, and you will
>>> tell me the result:
>>>
>>> 1) Open your test project.
>>> 2) Open the project property dialog.
>>> 3) Go to the "environment" tab.
>>> 4) Define a new environment variable named "GB_GTK_DEBUG_KEYPRESS" and
>>> set its value to "1".
>>> 5) Run the project.
>>> 6) Send me the console output.
>>>
>>> Thanks.
>>>
>>
>> I'm afraid there's no output in console, neither in the IDE or running
>> the executable outside the IDE in an actual terminal.
>>
>> jesus@jesus-linux ~/Gambas3/Test $ export GB_GTK_DEBUG_KEYPRESS=1
>> jesus@jesus-linux ~/Gambas3/Test $ ./Test.gambas
>>
>> Yeah, I know it doesn't help a lot...
>>
>> Regards
>>
>
> Check that you use the gb.gtk component, and not gb.qt4...
>


Silly me! I am using daily ppa from gambas-team just updated today. I 
thought those changes were present in that compilation, but indeed, 
still they're not.

I think I'll wait until tomorrow's update, cos I'm lazy (I'm on 
holidays) and don't want to clutter my system compiling the source if 
not strictly necessary.

Regards
-- 
Jesus Guardon

--
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] R: Key events don't work on gb.gtk

2014-08-22 Thread Jesus
El 22/08/14 a las #4, Benoît Minisini escribió:
> Can you try the revision #6420? I added a debugging flag, and you will
> tell me the result:
>
> 1) Open your test project.
> 2) Open the project property dialog.
> 3) Go to the "environment" tab.
> 4) Define a new environment variable named "GB_GTK_DEBUG_KEYPRESS" and
> set its value to "1".
> 5) Run the project.
> 6) Send me the console output.
>
> Thanks.
>

I'm afraid there's no output in console, neither in the IDE or running 
the executable outside the IDE in an actual terminal.

jesus@jesus-linux ~/Gambas3/Test $ export GB_GTK_DEBUG_KEYPRESS=1
jesus@jesus-linux ~/Gambas3/Test $ ./Test.gambas

Yeah, I know it doesn't help a lot...

Regards
-- 
Jesus Guardon

--
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] R: Key events don't work on gb.gtk

2014-08-22 Thread Jesus
El 22/08/14 a las #4, Benoît Minisini escribió:
> Le 22/08/2014 00:59, Benoît Minisini a écrit :
>> Le 16/08/2014 12:50, Jesus a écrit :
>>> El 16/08/14 a las #4, Jorge Carrión escribió:
>>>> The only thing I've changed is the qt defult theme... Maybe that's
>>>> involved
>>>> in it but I think I've saw that Jesus has the same theme than me...
>>>>
>>>> Realy don't know.
>>>>
>>>> Regards
>>>
>>> It is clear for me: gambas stable (3.5.4) don't suffer this bug. Latest
>>> trunk code does.
>>>
>>> So recent changes in trunk are the only thing involved.
>>>
>>> Regards
>>>
>>
>> It works fine here. Can you provide IDE information about your system
>> where it fails?
>>
>
> I need that, because in the GTK+ library provided with Ubuntu 14.04, key
> press events are internally raised twice: one is normal, the other has
> an undocumented modifier mask set.
>
> I don't know if it is related to the GTK+ version, to an Ubuntu specific
> change, to the X11 input method...
>
> So I need to find what the difference is between your system and ours (I
> mean those where key events are raised as expected).
>
> Regards,
>

Well, sorry for the delay. Here it is:

[System]
Gambas=3.5.90
OperatingSystem=Linux
Kernel=3.13.0-24-generic
Architecture=x86_64
Distribution=Linux Mint 17 Qiana
Desktop=XFCE
Theme=QGtk
Language=es_ES.UTF-8
Memory=16032M
[Libraries]
Cairo=libcairo.so.0.0.0
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

Linux Mint 17 is based on Ubuntu 14.04, but it's smarter IMO.

I must say that it was firstly tested on an older setup, Mint 14 
Cinnamon, IIRC, and results were the same.

As I said before, current stable Gambas works as expected (at least in 
my simple test) but recent changes in trunk don't raise events anymore.

I know about GTK being a nightmare upstream, so good luck!

Regards
-- 
Jesus Guardon

--
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] R: Key events don't work on gb.gtk

2014-08-16 Thread Jesus
El 16/08/14 a las #4, Jorge Carrión escribió:
> The only thing I've changed is the qt defult theme... Maybe that's involved
> in it but I think I've saw that Jesus has the same theme than me...
>
> Realy don't know.
>
> Regards

I is clear for me: gambas stable (3.5.4) don't suffer this bug. Latest 
trunk code does.

So recent changes in trunk are the only thing involved.

Regards

-- 
Jesus Guardon

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


Re: [Gambas-user] R: Key events don't work on gb.gtk

2014-08-15 Thread Jesus
El 15/08/14 a las #4, Jorge Carrión escribió:
> Jesus:
> In my computer works fine with both libraries qt and gtk. with LinuxMint 17.
>
> [System]
> Gambas=3.5.4
> OperatingSystem=Linux
> Kernel=3.13.0-24-generic
> Architecture=x86_64
> Distribution=Linux Mint 17 Qiana
> Desktop=GNOME
> Theme=QCleanlooks
> Language=es_ES.UTF-8
> Memory=7968M
> [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+=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
>
> Hope this help.
>
> Regards

Yes, the exact same configuration on my laptop, and it works fine also. 
So if the latest development version key events doesn't work, something 
has been changed since then. We'll wait until Benoit is back.

Thanks for your help.

Regards

-- 
Jesus Guardon

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


Re: [Gambas-user] Key events don't work on gb.gtk

2014-08-15 Thread Jesus
El 15/08/2014 10:13, Jesus escribió:
> Hi everyone
>
> I just realized that key events don't work on gb.gtk.
>
> Could you please give it a test and confirm it as a bug?
>
> Little test program attached.
>
> Regards
>

Sorry, forgot to mention I'm using latest developmente version from 
gambas-team daily PPA.

Regards

-- 
Jesus Guardon

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


[Gambas-user] Key events don't work on gb.gtk

2014-08-15 Thread Jesus

Hi everyone

I just realized that key events don't work on gb.gtk.

Could you please give it a test and confirm it as a bug?

Little test program attached.

Regards
--
Jesus Guardon


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


Re: [Gambas-user] Get structure from extern function?

2014-07-23 Thread Jesus
El 23/07/14 21:46, CJ escribió:
>
> Just wanted to say thanks! With Benoît's helpfull pointers and some more
> reading/digging I managed to sort out the issue I had with Gambas 3 and
> Free Pascal.
>
> Let me know if there are any general interest and I will post a simple demo.
>
> /CJ


Oh, please, do it. I am not used to Free Pascal, but it have tempted me 
several times. So it will be useful to have an starting point using FP 
shared libraries in addition to C/C++ ones.

Thank you


-- 
Jesus Guardon

--
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Bug in gambaswiki "Mismatched markup"

2014-07-02 Thread Jesus
Hi Benoît

There seems to be a bug in this page:

http://gambaswiki.org/wiki/doc/pcre

Regards
-- 
Jesus Guardon

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Help needed with installing Gambas 3.5.35

2014-06-15 Thread Jesus
El 15/06/14 11:48, bill-lancaster escribió:
> Ah!  This is a fresh install of Kubuntu 14.04
> I don't know anything about g++ but will look into it.
> Thanks for the reply

Bill, please, check this page in the first place, if you don't want to 
run into some problems.

http://gambaswiki.org/wiki/install/ubuntu#t6

Compilation process is straightforward only if you know the previous 
requirements.

Regards

-- 
Jesus Guardon

--
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Downgraded to Gambas 3.5.2 with Ubuntu LTS 14:04

2014-04-27 Thread Jesus
El 27/04/14 02:13, Ru Vuott escribió:
> Hello,
>
> two friends of the forum "www.gambas-it.org" have asked me to post this 
> problem here in the Mailing List.
>
>
> They had updated and used normally the version 3.5.3 of Gambas.
>
> Well, not long ago they have updated their Ubuntu LTS distro  at new 14:04 
> version.
> But, when they installed Gambas again, they have been downgraded to the 
> "previous" Gambas version: 3.5.2 !
> Obviously, They'ld like to obtain again the newest version of Gambas: 3.5.3
>
> What can they do?
>
> Regards
> vuott

Hi Vuott

To answer this question, one must first know which installation method 
has been followed.

Either do they used "nemh" repository or official ones in the distribution?

I think it's a matter of updating their repositories.

Regards
-- 
Jesus Guardon

--
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] New Gambas is coming!

2014-03-09 Thread Jesus
El 09/03/14 17:47, Benoît Minisini escribió:
> Hi,
>
> I have just put the Gambas wiki in read-only mode, because a new wiki is
> coming...

Great news!

>
> - You will have to register again, but now there is a registration page,
> and that registration is automatic. You will just need an e-mail and
> answer a Gambas computation.

This sounds a little scary. Have you provided any prevention of 
automated registration and anti-spam protection?

>
> - As the wiki is based on files and directories, and as the new syntax
> is implemented in a component, it will be finally possible and easy to
> make an online version of the documentation.

Do you mean *offline* version of documentation?

Best regards

-- 
Jesus Guardon

--
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] OT: wrong mailing-list sorting

2014-03-06 Thread Jesus
El 06/03/14 13:00, Rolf-Werner Eilert escribió:
>
>
> Am 06.03.2014 00:39, schrieb Jesus:
>> El 05/03/14 17:12, Rolf-Werner Eilert escribió:
>>> This is only in the Gambas mailing list, so it's not as much OT as it
>>> might seem ;)
>>>
>>> In my Thunderbird, single mails from the list are sorted at the
>>> beginning of the list, i. e. I will have to scroll to the end to see the
>>> rest of the discussion.
>>>
>>> As I said, it only happens sometimes, but it has happened more
>>> frequently during the last months. So something seems to confuse
>>> Thunderbird with the mails coming from the Gambas list.
>>>
>>> Example: Right now, Jesus' mail from 16:02 was sorted somewhere into the
>>> beginning of the list (position 20 or so), the other two answers at the
>>> end (where they belong to). Charlie Reinl's mail from 03.03.2014 22:55
>>> stands before it, the rest of the discussion is at the correct place.
>>> Jorge Carrión from 03.03.2014 21:44 is before it, and the rest of the
>>> discussion at the end of the list.
>>>
>>> I browsed through the wrong sorted mails, but they have correct dates
>>> and times, nor have they anything unusual in common. Has anyone here had
>>> the same problem, maybe even with another mailing program?
>>>
>>> Thanks for any ideas.
>>>
>>> Rolf
>>
>> I'm using Thunderbird since ages, currently at v24.3.0 and never had a
>> problem, except sometimes getting duplicated messages from some rss feeds.
>>
>> I have everything sorted and distributed in folders automagically with
>> the help of filters. I am managing 7 or 8 mail accounts and several rss
>> feeds. Gambas' folder has close to 3 messages and never have had a
>> problem. About eleven mail lists each in its own folder... Love it!
>>
>> In such a case like mine, I recommend rsync'ing thunderbird database or
>> the whole folder to an external storage. Too much data to loose ;-)
>>
>> What is your setup, version, distro, etc?
>>
>> Regards
>>
>>
>
> Mine is Thunderbird 17.0.5 on a Suse 12.1, and I use it rather heavily,
> too. There are 5 mail accounts, and folders for the mailing lists,
> filters, just like on your system. This phenomenon has only occured with
> the Gambas list, but it used to be only a few times a year. For some
> months, however, it has happened more often, about 20 times this year.
> Oh, and I run only POP mail, no IMAP, so it's Thunderbird alone who will
> manage the mails.
>
> I make a nightly backup of the whole system with Dirvish, and change the
> backup HD every week, I think that's enough. Or isn't that what you mean?
>
> Moreover, to keep the mailing list(s) not too crowded, I let Thunderbird
> put all old messages to an Archive folder every new year. (Strangely
> enough, it will not put all messages into the right folders at the first
> run, but a few dozen will have to be sorted by hand. I know that, and
> it's no great thing. And it is not confined to the Gambas list.) So I
> have a fresh folder again this year, and I can see that some mails land
> at the beginning.
>
> Do you think it would help to use a newer version of Thunderbird? As far
> as I remember, I had this problem even with the older one on the former
> system.
>
> Regards
>
> Rolf

Because OT, I will mail you in private, to not pollute the list.

Apologies to the list for the noise.

Regards


-- 
Jesus Guardon

--
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Sample apps

2014-03-05 Thread Jesus
El 06/03/14 00:16, Daniel Quintero escribió:
> I found them! I download the Gambas source code and copied them to the path
> /usr/share/gambas3/examples

Or simply:

apt-get install gambas3-examples

...as usual.

Regards


-- 
Jesus Guardon

--
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] OT: wrong mailing-list sorting

2014-03-05 Thread Jesus
El 05/03/14 17:12, Rolf-Werner Eilert escribió:
> This is only in the Gambas mailing list, so it's not as much OT as it
> might seem ;)
>
> In my Thunderbird, single mails from the list are sorted at the
> beginning of the list, i. e. I will have to scroll to the end to see the
> rest of the discussion.
>
> As I said, it only happens sometimes, but it has happened more
> frequently during the last months. So something seems to confuse
> Thunderbird with the mails coming from the Gambas list.
>
> Example: Right now, Jesus' mail from 16:02 was sorted somewhere into the
> beginning of the list (position 20 or so), the other two answers at the
> end (where they belong to). Charlie Reinl's mail from 03.03.2014 22:55
> stands before it, the rest of the discussion is at the correct place.
> Jorge Carrión from 03.03.2014 21:44 is before it, and the rest of the
> discussion at the end of the list.
>
> I browsed through the wrong sorted mails, but they have correct dates
> and times, nor have they anything unusual in common. Has anyone here had
> the same problem, maybe even with another mailing program?
>
> Thanks for any ideas.
>
> Rolf

I'm using Thunderbird since ages, currently at v24.3.0 and never had a 
problem, except sometimes getting duplicated messages from some rss feeds.

I have everything sorted and distributed in folders automagically with 
the help of filters. I am managing 7 or 8 mail accounts and several rss 
feeds. Gambas' folder has close to 3 messages and never have had a 
problem. About eleven mail lists each in its own folder... Love it!

In such a case like mine, I recommend rsync'ing thunderbird database or 
the whole folder to an external storage. Too much data to loose ;-)

What is your setup, version, distro, etc?

Regards


-- 
Jesus Guardon

--
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Read-only controls in IDE

2014-03-05 Thread Jesus
El 05/03/14 16:23, Benoît Minisini escribió:
> Le 05/03/2014 16:02, Jesus a écrit :
>> Hi all
>>
>> It seems that some controls in the Preferences dialog of the Gambas IDE
>> are read-only or are disabled
>
> Oops. It was a bad bug fix!
>
> Fixed the fix in revision #6193.
>

Oh, well! Thanks
-- 
Jesus Guardon

--
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] SMTP Component

2014-02-26 Thread Jesus
El 26/02/14 18:20, Nigel Verity escribió:
> Hi
>
> I am planning to use the SMTP component in a new Gambas project. I am happy 
> with the basic functionality but the documentation states that if the "Host" 
> property is left blank the messages are sent to "localhost" instead of a 
> designated SMTP server.
>
> Does anybody know where on my local machine those messages will be saved? Is 
> the localhost option just intended to be used for testing, or does it act as 
> an "outbox" meaning the messages can be subsequently forwarded to an SMTP 
> server?
>
> Thanks
>
> Nige  
> --
> Flow-based real-time traffic analytics software. Cisco certified tool.
> Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
> Customize your own dashboards, set traffic alerts and generate reports.
> Network behavioral analysis & security monitoring. All-in-one tool.
> http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>

Just out of curiosity, I've found this great article/explanation about 
setting up Thunderbird to read local mail using postfix.

http://askubuntu.com/questions/192572/how-read-local-email-in-thunderbird

Regards

-- 
Jesus Guardon

--
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] R: morse code sound ?

2014-02-07 Thread Jesus
El 07/02/14 15:17, Ru Vuott escribió:
> I'ld suggest some my little study about..
>
> http://www.gambas-it.org/wiki/index.php?title=Emettere_suoni
>
>
> vuott
>

Wow! That's exactly what I was looking for. Great job, vuott.

In the other hand, I suggest Dirk to take a close look at this project 
[1], though written in Python, well worth to give it a try, or perhaps 
trying to convert to gambas the relevant code.

[1] 
https://code.google.com/p/kochmorse/source/browse/trunk/KochMorse/alsamorse/morse.py


-- 
Jesus Guardon

--
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&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 497 in gambas: When date is formatted in gridview then right click pop up menu doesnot work

2014-01-24 Thread Jesus
El 25/01/14 01:02, gam...@googlecode.com escribió:
> Updates:
>   Status: WontFix
>   Labels: -3.5.2 Version-3.5.0
>
> Comment #1 on issue 497 by benoit.m...@gmail.com: When date is formatted in
> gridview then right click pop up menu doesnot work
> http://code.google.com/p/gambas/issues/detail?id=497
>
> Of course: by modifying the GridView contents inside the Data event
> handler, you are triggering a refresh that calls the Data event again and
> again. It eats all the CPU (depending on the GUI toolkit and your system),
> and the GUI becomes unresponsive.
>
> Just don't modify the GridView contents inside the Data event handler. The
> Data event handler is just there for filling the GridView Data property.
>

Interesting. Then, what is the correct way to do this pulling the 
database content in a result object? I's supposed that a result object 
brings a date object and its formatting depends on further processing, 
provided we are using a datetime type field in our db... Perhaps I am so 
slept to see that just now ;-)

Oh! We should then use FORMAT function in sql, should we?

Thanks in advance

-- 
Jesus Guardon

--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] How to set the icon property of a form from a file in the project

2013-12-16 Thread Jesus Guardon
> I wonder if this is a fault with Precise which uses a Global menu bar. 
> Anybody know?

As it has been said before, this is the way Unity desktop works. If you want to 
see your icon in the form caption, you need to switch to another desktop 
manager or tweak Unity (which I don't know if it is possible at all).

Regards

Jesus Guardon
--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Popup menu in project tree

2013-12-12 Thread Jesus
El 12/12/13 00:50, Benoît Minisini escribió:
> Le 12/12/2013 00:17, Tobias Boege a écrit :
>> On Wed, 11 Dec 2013, Jesus wrote:
>>> El 09/12/13 22:38, Jesus escribi?:
>>>> Hi all
>>>>
>>>> When I right click over an item in the project tree, say "Data" folder,
>>>> there's not a full menu, so I cannot add a new file or whatever. If such
>>>> a folder contains a sub-item, then I am able to add another file by
>>>> right clicking on the sub-item.
>>>>
>>>> I don't remember if it was previously this way, so please, can someone
>>>> check this? I've attached a capture explaining the situation.
>>>>
>>>> gambas 3.5.90 r5986
>>>>
>>>
>>> Could anyone check this? I'm afraid if I was the only one affected by
>>> this issue...
>>>
>>
>> Yes, I also noticed this but didn't take it seriously. (But it definitely
>> is!)
>>
>> Regards,
>> Tobi
>>
>
> Fixed in revision #5996.
>

Confirmed fixed. Thanks, as always!

Regards
-- 
Jesus Guardon

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Popup menu in project tree

2013-12-11 Thread Jesus
El 09/12/13 22:38, Jesus escribió:
> Hi all
>
> When I right click over an item in the project tree, say "Data" folder,
> there's not a full menu, so I cannot add a new file or whatever. If such
> a folder contains a sub-item, then I am able to add another file by
> right clicking on the sub-item.
>
> I don't remember if it was previously this way, so please, can someone
> check this? I've attached a capture explaining the situation.
>
> gambas 3.5.90 r5986
>

Could anyone check this? I'm afraid if I was the only one affected by 
this issue...

Regards
-- 
Jesus Guardon

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Line continuation

2013-12-07 Thread Jesus
El 06/12/13 22:04, ISS Boss escribió:
>
> I agree with John, Benoît.  There really should be a specific character 
> to
> continue a line; if only to keep from confusing anyone maintaining the
> code.  Put it on the 'nice to have' list, anyway.
> Bill
> Benoît Minisini wrote, On 12/06/2013 14:37:
>
> Le 06/12/2013 20:17, John Rose a écrit :
>
> Is there a line continuation character available for code? I find that I
> often have very long lines (e.g. in Exec commands).
>
> There is no line continuation character, but you usually can go to
> another line inside an expression after a comma.
>
> Regards,


My vote is for underscore _

Regards


-- 
Jesus Guardon

--
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Calling a sub from a Webview

2013-12-04 Thread Jesus
El 04/12/13 23:33, Tobias Boege escribió:
> On Wed, 04 Dec 2013, Jesus wrote:
>> El 04/12/13 22:32, Tobias Boege escribi?:
>>> On Wed, 04 Dec 2013, Jesus wrote:
>>>> Hi all
>>>>
>>>> I currently helping to port a VB6 program to Gambas3, but to my
>>>> surprise, it does weird things like these from the post title: it is
>>>> calling methods and functions from the html code inside a webbrowser
>>>> control.
>>>>
>>>> It has a wb control that acts like a sort of wizard/help thing, and the
>>>> html links in that view are calling methods inside the application. That
>>>> links are as 'some action'
>>>>
>>>> So the question is, could it be done with gambas somehow?
>>>>
>>>> Regards
>>>> --
>>>> Jesus Guardon
>>>
>>> Jesus (meant as an interjection)! I know I shouldn't question other people's
>>> design choices but this is just mad. Actually it might have seemed like an
>>> elegant way to communicate with an HTML page to the original author of that
>>> program - I understand that - but this is just asking for trouble, IMHO.
>>>
>>> However, I guess Object.Call() is your best bet here.
>>>
>>> Regards,
>>> Tobi
>>>
>>
>> Hi Tobi, thanks for reply
>>
>> I am at your side about some (mad) practices, but...
>>
>> I think Object.Call is suitable for calling or executing code inside or
>> outside of the current class, but not the other way round, IIUC. How
>> could I execute Object.Call from inside a webview? None of the events
>> webview exposes are suitable for doing this IMO, since the webview.url
>> is a property, not a method.
>>
>> I will experiment, thanks for the tip!
>>
>
> Ahh, I got you wrong apparently... My answer can be applied if you have any
> occasion (event) to parse an (X)HTML element for this special attribute
> href="act:some_class.method". Then you can extract the class and method name
> and use Object.Call().
>
> You can (ab)use the WebView's Click event like this: Modify the  element
> to look like this:
>
> some action
>
> Then, when clicked, the WebView will load the valid URL (the anchor sign had
> to be prepended to make it valid - to trigger the Click event, in turn) and
> provide you a WebFrame object in whose Url property you have the wanted
> act:some_class.method string somewhere. Now parse and execute.
>
> I think it's too late for me to find clear words, so I attach a minimal
> example. (Note that the code is executed twice in this project which is
> certainly not desirable. You'll sure find a way to prevent this yourself.)
>
> Regards,
> Tobi

Many thanks, Tobi

I think this is a good starting point. Just hope I will not get crazy 
after that. Now I'm going to sleep and tomorrow I will give it a fresh 
(re)view.

Regards
-- 
Jesus Guardon

--
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Calling a sub from a Webview

2013-12-04 Thread Jesus
El 04/12/13 22:32, Tobias Boege escribió:
> On Wed, 04 Dec 2013, Jesus wrote:
>> Hi all
>>
>> I currently helping to port a VB6 program to Gambas3, but to my
>> surprise, it does weird things like these from the post title: it is
>> calling methods and functions from the html code inside a webbrowser
>> control.
>>
>> It has a wb control that acts like a sort of wizard/help thing, and the
>> html links in that view are calling methods inside the application. That
>> links are as 'some action'
>>
>> So the question is, could it be done with gambas somehow?
>>
>> Regards
>> --
>> Jesus Guardon
>
> Jesus (meant as an interjection)! I know I shouldn't question other people's
> design choices but this is just mad. Actually it might have seemed like an
> elegant way to communicate with an HTML page to the original author of that
> program - I understand that - but this is just asking for trouble, IMHO.
>
> However, I guess Object.Call() is your best bet here.
>
> Regards,
> Tobi
>

Hi Tobi, thanks for reply

I am at your side about some (mad) practices, but...

I think Object.Call is suitable for calling or executing code inside or 
outside of the current class, but not the other way round, IIUC. How 
could I execute Object.Call from inside a webview? None of the events 
webview exposes are suitable for doing this IMO, since the webview.url 
is a property, not a method.

I will experiment, thanks for the tip!

Regards
-- 
Jesus Guardon

--
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Calling a sub from a Webview

2013-12-04 Thread Jesus
Hi all

I currently helping to port a VB6 program to Gambas3, but to my 
surprise, it does weird things like these from the post title: it is 
calling methods and functions from the html code inside a webbrowser 
control.

It has a wb control that acts like a sort of wizard/help thing, and the 
html links in that view are calling methods inside the application. That 
links are as 'some action'

So the question is, could it be done with gambas somehow?

Regards
-- 
Jesus Guardon

--
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Configure method of ToolBar

2013-12-03 Thread Jesus
El 03/12/13 01:27, Benoît Minisini escribió:
> Le 03/12/2013 00:41, Jesus a écrit :
>> El 01/12/13 16:54, Jesus escribió:
>>> Hi all
>>>
>>> I'm trying to get up and running a project which have a Toolbar and some
>>> toolbuttons in it. I'd like to mimic the same behavior toolbars have in
>>> Gambas' IDE. I've read the docs about Toolbar (gb.form.mdi) but calling
>>> the configure method throws an error aborting my application.
>>> BTW, all the toolbuttons have set an Action property, but note that I
>>> haven't any workspace in the main form, just the toolbar.
>>>
>>> This is the code I'm using in a minimal test application:
>>> --8<--
>>> Public Sub ToolBar1_MouseDown()
>>>
>>> If Mouse.Right Then ToolBar1.Configure
>>>
>>> End
>>> --8<--
>>> The error text is in the 'Toolbar1.Configure' line: "Not an object"
>>> The stack back-trace:
>>>
>>> FToolBarConfig.InitAction.108
>>> FToolBarConfig.SetCurrentToolBar.54
>>> FToolBarConfig.Run.17
>>> Action._ConfigureToolBar.21
>>> ToolBar.Configure.34
>>> FMain.ToolBar1_MouseDown.20
>>>
>>> What am I doing wrong?
>>
>> Finally I've found what I was doing wrong. The 'Key' toolbar's property
>> *must* be set with a unique name. Failing to do this, will lead to a
>> dumb toolbar. No need to call Configure from a mouse event. Hope this
>> helps someone else.
>>
>> Regards
>>
>>
>
> I have added an explicit error message if the Configure() method is
> called without Key being defined.
>
> Regards,
>

Great! However I can't see the change in latest commits. 8-/

Regards

-- 
Jesus Guardon

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Configure method of ToolBar

2013-12-02 Thread Jesus
El 01/12/13 16:54, Jesus escribió:
> Hi all
>
> I'm trying to get up and running a project which have a Toolbar and some
> toolbuttons in it. I'd like to mimic the same behavior toolbars have in
> Gambas' IDE. I've read the docs about Toolbar (gb.form.mdi) but calling
> the configure method throws an error aborting my application.
> BTW, all the toolbuttons have set an Action property, but note that I
> haven't any workspace in the main form, just the toolbar.
>
> This is the code I'm using in a minimal test application:
> --8<--
> Public Sub ToolBar1_MouseDown()
>
>   If Mouse.Right Then ToolBar1.Configure
>
> End
> --8<--
> The error text is in the 'Toolbar1.Configure' line: "Not an object"
> The stack back-trace:
>
> FToolBarConfig.InitAction.108
> FToolBarConfig.SetCurrentToolBar.54
> FToolBarConfig.Run.17
> Action._ConfigureToolBar.21
> ToolBar.Configure.34
> FMain.ToolBar1_MouseDown.20
>
> What am I doing wrong?

Finally I've found what I was doing wrong. The 'Key' toolbar's property 
*must* be set with a unique name. Failing to do this, will lead to a 
dumb toolbar. No need to call Configure from a mouse event. Hope this 
helps someone else.

Regards


-- 
Jesus Guardon

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Configure method of ToolBar

2013-12-01 Thread Jesus
Hi all

I'm trying to get up and running a project which have a Toolbar and some 
toolbuttons in it. I'd like to mimic the same behavior toolbars have in 
Gambas' IDE. I've read the docs about Toolbar (gb.form.mdi) but calling 
the configure method throws an error aborting my application.
BTW, all the toolbuttons have set an Action property, but note that I 
haven't any workspace in the main form, just the toolbar.

This is the code I'm using in a minimal test application:
--8<--
Public Sub ToolBar1_MouseDown()

 If Mouse.Right Then ToolBar1.Configure

End
--8<--
The error text is in the 'Toolbar1.Configure' line: "Not an object"
The stack back-trace:

FToolBarConfig.InitAction.108
FToolBarConfig.SetCurrentToolBar.54
FToolBarConfig.Run.17
Action._ConfigureToolBar.21
ToolBar.Configure.34
FMain.ToolBar1_MouseDown.20

What am I doing wrong?

[System]
Gambas=3.5.90 r5975
OperatingSystem=Linux
Kernel=3.2.0-23-generic
Architecture=x86_64
Distribution=Linux Mint 13 Maya
Desktop=GNOME
Theme=QPlastique
Language=es_ES.UTF-8
Memory=16034M
[Libraries]
Cairo=libcairo.so.0.0.0
Cairo=libcairo.so.2.11000.2
Curl=libcurl.so.4.2.0
DBus=libdbus-1.so.3.5.8
GStreamer=libgstreamer-0.10.so.0.30.0
GTK+=libgtk-x11-2.0.so.0.2400.10
Poppler=libpoppler.so.19.0.0
Qt4=libQtCore.so.4.8.1
SDL=libSDL-1.2.so.0.11.3

Regards
-- 
Jesus Guardon

--
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] "wrapping" function based on recent Mod thread

2013-10-06 Thread Jesus
El 06/10/13 05:40, Kevin Fishburne escribió:
> Jesus Guardon said in the recent thread "Modulo operator returns wrong
> results ":
>
>  Hi Paul et all
>
>  When working with some video games, there are a feature called
>  wraparound or screen wrap. It consists on objects leaving one side of
>  the screen that immediately reappear on the opposite side, maintaining
>  speed and trajectory. For this task usually modular arithmetic is used,
>  involving the Mod operator.
>
>  As I said before, on Python at least, it works as expected with
>  negative
>  numbers, and not only integers.
>
>  Lets imagine a spaceship in a drawing area 800px wide that reaches past
>  the left edge of the screen. Just before it passes, say at pixel 2 in X
>  coordinates, the operation would be:
>
>  2 Mod 800 = 2
>
>  So, nothing has changed in its position. But when the ship is at
>  negative coordinates, say again -2:
>
>  -2 Mod 800 = 798
>
>  That's exactly the opposite side of the drawing area, which is what I
>  had expected. If -2 would be returned instead, it won't work.
>
>  However this is not an issue for me, since this can be solved this way:
>
>  Private Sub fmod(Dd As Float, d As Float) As Float
>
>If Dd < 0 Then
>Return Abs((Frac(Dd / d)) * d - d)
>Else
>Return (Frac(Dd / d)) * d
>Endif
>
>  End
>
>  So no need to modify gambas at all, ;-)
>
> ---
>
> A couple of questions. First which is the upper-bound (screen
> width/height) and which is the current value (position), Dd or d?
> Second, is there a way using this algorithm to specify the lower-bound?
> The solutions I've found online for "wrapping" a number between an
> arbitrary lower- and upper-bound don't work when the value being wrapped
> is negative. The algorithm I'm using is horribly inefficient, as it uses
> loops.
>

Hi, Kevin

Well, as you know, screen coordinates start in the upper left corner and 
grow towards the right in the X axis and towards the bottom in the Y 
axis. Sorry if it's too obvious.

So all operations on an hypothetical spaceship, must be done on separate 
axis, for instance X at first and Y at last (this is not critical, 
though). So the above function is a try to mimic the Mod operator which 
accepts the dividend (Dd) and divisor (d) returning the remainder even 
if dividend is negative.

So, if you prefer, the arguments for the above function should read:

fmod(actualPosition, screenLimit) and need to be calculated for each 
axis separately.

ship_pos.X = fmod(ship_pos.X, screenWidht)
ship_pos.Y = fmod(ship_pos.Y, screenHeight)

That is! Also, it accepts float numbers and return (cast float)integers.

You could view it in action here[0], though it is in Spanish. The 
example project is available for download at the end of the post.

[0] http://blog.gambas-es.org/aceleracion-y-friccion/

Hope this helps, best regards!

Jesús Guardón


--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Modulo operator returns wrong results

2013-09-28 Thread Jesus
El 28/09/13 21:47, paulwheeler escribió:
> Gentlemen,
>
> I have never heard of the mod operator being used the way you did in
> your problem. However, because Jesus mentioned his calculator having a
> mod function, I went to "http://web2.0calc.com/"; and did the problem. I
> was stunned to see that the result is 797!  It appears to me that you
> are using "mod" the same way as the mathematics problem of 800 -3 =  797.
>
> Where did you learn this definition of "mod"? I am really curious.
>
> I am not a "C" programmer, but have used "mod" in other languages. My
> experience has alway been the same as the definition given at the
> beginning of the article Benoit referred to. see:
> "http://en.wikipedia.org/wiki/Modulo_operation";
>
> The definition I know is this one: "... the modulo operation finds the
> remainder of division of one number by another."
>
> Even the "Common pitfalls" section of that article is talking about a
> dividend which implies division.
>
> When I did a search for "Mod operator", wikipedia redirected me to the
> modulus article.
>
> When I did a search for "C Language operators", I found "Modulo" under
> Arithmetic operators. see:
> http://en.wikipedia.org/wiki/Operators_in_C_and_C%2B%2B   When I clicked
> on "Modulo" it also redirected me to the modulus article. Note that the
> "Modulo" operator is just after the division operator.
>
> When I did a search for "Visual Basic Language operators", I found "Mod
> Operator" under Arithmetic operators. see:
> http://msdn.microsoft.com/en-us/library/se0w9esz.aspx, where it gives
> this definition: "Divides two numbers and returns only the remainder."
>
> Their example (under "Result") again gives the same definition and then
> gives an example: "The result is the remainder after number1 is divided
> by number2. For example, the expression 14 Mod 4 evaluates to 2."
>
> http://www.tutorialspoint.com/python/python_basic_operators.htm
> % Modulus - Divides left hand operand by right hand operand and returns
> remainder
>
> However, when one of the numbers is negative, then the remainder is not
> what you would expect with both being positive.
>
>
> One very confused programmer,
>
> Paul

Hi Paul et all

When working with some video games, there are a feature called 
wraparound or screen wrap. It consists on objects leaving one side of 
the screen that immediately reappear on the opposite side, maintaining 
speed and trajectory. For this task usually modular arithmetic is used, 
involving the Mod operator.

As I said before, on Python at least, it works as expected with negative 
numbers, and not only integers.

Lets imagine a spaceship in a drawing area 800px wide that reaches past 
the left edge of the screen. Just before it passes, say at pixel 2 in X 
coordinates, the operation would be:

2 Mod 800 = 2

So, nothing has changed in its position. But when the ship is at 
negative coordinates, say again -2:

-2 Mod 800 = 798

That's exactly the opposite side of the drawing area, which is what I 
had expected. If -2 would be returned instead, it won't work.

However this is not an issue for me, since this can be solved this way:

Private Sub fmod(Dd As Float, d As Float) As Float

 If Dd < 0 Then
 Return Abs((Frac(Dd / d)) * d - d)
 Else
 Return (Frac(Dd / d)) * d
 Endif

End

So no need to modify gambas at all, ;-)

Regards


Jesus Guardon

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Modulo operator returns wrong results

2013-09-24 Thread Jesus
El 25/09/13 02:42, Benoît Minisini escribió:
> Le 25/09/2013 01:23, Jesus a écrit :
>> I've been racking my brain with a simple problem and I've discovered
>> something weird with "Mod" operator, returning wrong results.
>>
>> For example, -3 Mod 800 gives -3, and it should be 797.
>>
>> It's only me or someone else has wrong results?
>>
>
> See
> http://en.wikipedia.org/wiki/Modulo_operation#Common_pitfalls
>
> -3 Mod 800 = -(3 Mod 800)
>
> This is not the mathematical modulus operator.
>

What is it, then? In Python, Modulus operator is % and gives the correct 
results. Also the calculator program has a Mod function which gives the 
expected result.

Anyway I've made a function that mimics the Python modulus, so not a big 
problem.

Thanks

-- 
Jesus Guardon

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Modulo operator returns wrong results

2013-09-24 Thread Jesus
I've been racking my brain with a simple problem and I've discovered 
something weird with "Mod" operator, returning wrong results.

For example, -3 Mod 800 gives -3, and it should be 797.

It's only me or someone else has wrong results?

Here are my settings, thanks in advance.


Gambas3 from SVN: 3.4.90 r5847

[System]
OperatingSystem=Linux
Kernel=3.2.0-23-generic
Architecture=x86_64
Distribution=Linux Mint 13 Maya
Desktop=GNOME
Theme=QPlastique
Language=es_ES.UTF-8
Memory=16034M
[Libraries]
Cairo=libcairo.so.0.0.0
Cairo=libcairo.so.2.11000.2
Curl=libcurl.so.4.2.0
DBus=libdbus-1.so.3.5.8
GStreamer=libgstreamer-0.10.so.0.30.0
GTK+=libgtk-x11-2.0.so.0.2400.10
Poppler=libpoppler.so.19.0.0
Qt4=libQtCore.so.4.8.1
SDL=libSDL-1.2.so.0.11.3


Regards
-- 
Jesus Guardon

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] How to bring forward Gambas server pages? (gbw3 related files who to expose in http)

2013-08-19 Thread Jesus Guardon
El 19/08/13 20:28, Benoît Minisini escribió:
> - When I have time (after my holidays in two weeks?) I will write an 
> example project of how to make a web site with Gambas. Surely some 
> sort of little wiki or blog. Regards, 

Ye! We are waiting desperately for it ;-)

Regards

Jesus Guardon


--
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] GAMBAS PATH

2013-08-11 Thread Jesus
El 11/08/13 14:45, Antonio Sánchez escribió:
> Hi, Benoît, would reconsider the possibility to run GAMBAS from a given
> path with a environment variable or another method? It would be a great
> help to run programs made with older versions of GAMBAS in new systems that
> do not have in its repositories older versions of GAMBAS.
>
> It would be useful to run programs made in GAMBAS in home directory too
> without root permissions.
>
> And you could play with several versions only copying necessary files in
> the work folder.
>
> And another advantage is that you can be sure that the user will have just
> the version your program need =:-)
>
>
> Thanks.


Some time ago, I was playing with gambas2 and the GB_DIR environment 
variable. I was able to start my programs from anywhere in the mounted 
storage units.

However, since then, I haven't used GB_DIR anymore, but I guess Benoit 
could explain here if this is still a valid option for the purpose.

In the meantime, Antonio, you could check some threads in the Spanish 
forum, perhaps that will give you some clues.

http://www.gambas-es.org/viewtopic.php?p=1388#p1388

Regards
-- 
Jesus Guardon

--
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://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] ValueBox (Date) detecting a change in the Value

2013-06-05 Thread Jesus
El 05/06/13 02:52, Benoît Minisini escribió:



>
> Mmm, I think you need ValueBox to raise sort of "Change" event, don't you?
>

That's something that someone else was waiting for ;-)

Read the quote below.

Regards

Jesus Guardon

>
>
> Le 10/03/2013 18:34, Jesus a écrit :
>> Hi all
>>
>> Since gambas2 I've not used Valuebox until now in Gambas3, but now I'm
>> surprised it haven't a '_Change()' event. Anyone could tell about it, if
>> you have got the need of this event or not? And how I supposedly could
>> detect whether its content has changed?
>>
>> Of course, I always can inherit and implement a change event, but I was
>> curious on why this widget lacks the change event natively.
>>
>> Thanks for your time
>>
>> Best regards
>>
>
> Mmm... You're right, a Change event would be useful... I will see if I
> can add it...
>
> As a workaround, you can create an observer on the first inner child of
> the control to catch it.
>
> hObs = New Observer(TheValueBox.Children[0]) As "TheValueBox"
> ...
> Public Sub TheValueBox_Change()
> ...
> End
>
> But beware that you must do it just after having set the Type property
> (because it recreates the inner widget each time you change the ValueBox
> type).
>
> Regards,
>
> -- Benoît Minisini

-- 
Jesus Guardon

--
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] Shell - commands with arguments doesn't work

2013-05-31 Thread Jesus
El 31/05/13 08:15, Kende Krisztián escribió:
> Thu, 30 May 2013 23:50:30 +0200 -n
> Jesus  írta:
>
>> El 30/05/13 21:35, Kende Krisztián escribió:
>>> An interesting example, why do not you use native methods?
>>>
>>> Dim item As String
>>>
>>> For Each item In Dir(User.Home).Sort()
>>>
>>> With Stat(User.Home & "/" & item)
>>>
>>>   Print .Auth & " " & .User & " " & .Group & " " & .Size & " "
>>> & .LastModified & " " & item
>>>
>>> End With
>>>
>>> Next
>>>
>>>
>>>> Hi all
>>>>
>>>> AFAIR this used to work until now:
>>>>
>>>> Shell "ls -la" To variable
>>>> Exec ["ls", "-la"] To anothervariable
>>>>
>>>> But now, whatever command I use, if it has one or more arguments
>>>> beginning with a dash or double dash, I don't get any output.
>>>>
>>>> Quoting it with Shell$() function does not help. Also, I've tried
>>>> using process reading, to no avail.
>>>>
>>>> If you would issue the command without arguments, it then works
>>>> fine.
>>>>
>>>> Is this a bug, or am I doing something wrong?
>>>>
>>>> Regards
>>>>
>>>> Gambas 3.4.90 r5682
>>>>
>>
>> That's not the case. What I wanted to point out is why some commands
>> does not work when some arguments are given. Obviously, my first
>> example is pointless.
>>
>> Have you tested the following?
>>
>> Shell "ifconfig --help" To somevar
>>
>> Why this does not return anything?
>>
>> Regards
>
> It's works:
>
> Shell "ifconfig --help 2>&1" To somevar
>
> but stderr cannot be seen.
>

Hi, Kende and Jussi

Thanks for your clarifications. I should have realized about stderr.

Regards


-- 
Jesus Guardon

--
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] Shell - commands with arguments doesn't work

2013-05-30 Thread Jesus
El 30/05/13 21:35, Kende Krisztián escribió:
> An interesting example, why do not you use native methods?
>
> Dim item As String
>
> For Each item In Dir(User.Home).Sort()
>
>With Stat(User.Home & "/" & item)
>
>  Print .Auth & " " & .User & " " & .Group & " " & .Size & " " & 
> .LastModified & " " & item
>
>End With
>
> Next
>
>
>> Hi all
>>
>> AFAIR this used to work until now:
>>
>> Shell "ls -la" To variable
>> Exec ["ls", "-la"] To anothervariable
>>
>> But now, whatever command I use, if it has one or more arguments
>> beginning with a dash or double dash, I don't get any output.
>>
>> Quoting it with Shell$() function does not help. Also, I've tried
>> using process reading, to no avail.
>>
>> If you would issue the command without arguments, it then works fine.
>>
>> Is this a bug, or am I doing something wrong?
>>
>> Regards
>>
>> Gambas 3.4.90 r5682
>>

That's not the case. What I wanted to point out is why some commands 
does not work when some arguments are given. Obviously, my first example 
is pointless.

Have you tested the following?

Shell "ifconfig --help" To somevar

Why this does not return anything?

Regards
-- 
Jesus Guardon

--
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] Shell - commands with arguments doesn't work

2013-05-30 Thread Jesus
El 30/05/13 20:48, Jesus escribió:
> Hi all
>
> AFAIR this used to work until now:
>
> Shell "ls -la" To variable
> Exec ["ls", "-la"] To anothervariable
>
> But now, whatever command I use, if it has one or more arguments
> beginning with a dash or double dash, I don't get any output.
>
> Quoting it with Shell$() function does not help. Also, I've tried using
> process reading, to no avail.
>
> If you would issue the command without arguments, it then works fine.
>
> Is this a bug, or am I doing something wrong?
>
> Regards
>
> Gambas 3.4.90 r5682

Disregard my last message. This only occurs with some commands, for 
example "ifconfig --help".

But minutes ago, it didn't work either. Weird...

Regards

-- 
Jesus Guardon

--
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] Shell - commands with arguments doesn't work

2013-05-30 Thread Jesus
Hi all

AFAIR this used to work until now:

Shell "ls -la" To variable
Exec ["ls", "-la"] To anothervariable

But now, whatever command I use, if it has one or more arguments 
beginning with a dash or double dash, I don't get any output.

Quoting it with Shell$() function does not help. Also, I've tried using 
process reading, to no avail.

If you would issue the command without arguments, it then works fine.

Is this a bug, or am I doing something wrong?

Regards

Gambas 3.4.90 r5682

[System]
OperatingSystem=Linux
Kernel=3.2.0-23-generic
Architecture=x86_64
Distribution=Linux Mint 13 Maya
Desktop=GNOME
Theme=QPlastique
Language=es_ES.UTF-8
Memory=16034M

[Libraries]
Curl=libcurl.so.4.2.0
GStreamer=libgstreamer-0.10.so.0.30.0
GTK+=libgtk-x11-2.0.so.0.2400.10
Qt4=libQtCore.so.4.8.1
SDL=libSDL-1.2.so.0.11.3
Poppler=libpoppler.so.19.0.0

-- 
Jesus Guardon

--
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] New gb.logging component

2013-05-21 Thread Jesus
El 20/05/13 04:44, Sebastian Kulesz escribió:
> Hey there!
>
> I just pushed the new component to the svn repository. It provides a
> flexible API for logging and tracking events while the software is running.
>
> It outputs to stdout by default, but you can simply point to a file when
> creating an instance of the Logger object.
>
> It provides 5 levels of severity, them being: Critical, Error, Warning,
> Info, Debug
> You can control the output by providing the minimum level required. For
> example, if the minimum level is Warning, only Warning, Error and Critical
> messages will be printed (or saved to the file)
>
> Another great feature is a flexible formatted output. When creating an
> instance, you can pass a string which will tell the logger how the string
> will be formatted. A single tag is represented as "$(TAG)". The default one
> is:
>
> [$(now)] [$(levelname)] [$(callLocation)] $(message)
>
> So, the message "Starting logger" would look like this:
>
> [05/20/2013 02:13:46.267] [WARNING] [MTest.Main.9] Starting logger
>
> The following tags are available as of now:
>
> $(message) : The message passed to the logger
> $(callLocation) : The full location of where the logger was called. In the
> form of FILE.FUNCTION.LINE (look above at the example line)
> $(callLine) : The line number where the logger was called.
> $(callFile) : The file name which called the logger
> $(callFunction) :The function which called the logger
> $(now) : A full date and time string, as returned by Now()
> $(date) : The date as returned by Date(Now)
> $(time) : The time as returned by Time(Now)
> $(ptimer) : The time elapsed since the application was started. ms of
> precision
> $(ptimerint) : Same as above, but only prints the elapsed time in seconds
> $(levelno) : The severity level of the message (integer)
> $(levelname) : The name of the severity level One of: CRITICAL,ERROR,
> WARNING,INFO,DEBUG
> $(version) : The version of the application
> $(gbversion) : The version of the Gambas interpreter
> $(host) : The system host name
> $(pid) : The process id of the running application
>
> Using it is pretty straightforward:
>
>Dim oDumb As New Logger
>oDumb("Starting logger")
>
> By default the component creates a hidden instance of the Logger class,
> just as the Settings component does, but i'm having trouble when performing
> the call. It's not a deal breaker, it only means you won't be able to call
> Logger(...) directly, but will need to create an instance and share it
> across your application.
>
> If you already have a logging module implemented and don't want to switch,
> you can still use the Formatter class and all the tags it comes with by
> simply calling Formatter(sMessage As String, sFormat As String, iLevel As
> Integer) Being sMessage the message you want to log, sFormat the formatting
> string and iLevel an integer value of the severity so 0=Critical and
> 4=Debug.
>
> Hope you find it useful. If you want any tags added, please let me know, or
> go ahead and implement them yourself!! It's not hard, i promise!

Great addition!!

Thanks for your work, definitely it is something I will use for sure.

Regards

-- 
Jesus Guardon

--
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] Class Window in gb.qt4 vs gb.ncurses

2013-05-06 Thread Jesus
El 06/05/13 14:32, Fabien Bodard escribió:
> And you can use  gb.report and scripter.
>   Le 6 mai 2013 04:41, "Dimitris Anogiatis"  a écrit :
>
>> Creating a report from a non-graphical method might prove difficult.
>>
>> If you are planning on using something like report from an HTML template on
>> a PDF File you either need to make sure you can generate a PS or PDF file
>> or you can use wkhtmltopdf <https://code.google.com/p/wkhtmltopdf/> to
>> generate your PDF file then shell to lpr to send this to your printer.
>>
>> Theoretically this could work but it will depend on what HTML features
>> wkhtmltopdf <https://code.google.com/p/wkhtmltopdf/> supports and how you
>> make your HTML template.
>>
>> Hope this helps.
>>
>>
>>
>> On Sun, May 5, 2013 at 6:09 AM, Benoît Minisini <
>> gam...@users.sourceforge.net> wrote:
>>
>>> Le 05/05/2013 12:19, Jesus a écrit :
>>>> Hi Tobi and all
>>>>
>>>>
>>>> El 05/05/13 09:00, Tobias Boege escribió:
>>>>> On Sat, 04 May 2013, Jesus wrote:
>>>>>> Recently a friend of mine reported an issue that I'm not sure how to
>>>>>> explain correctly.
>>>>>>
>>>>>> He is making a terminal program that needs to print stuff on a real
>>>>>> printer, so it needs the gb.qt4 component to get access to the
>> Printer
>>>>>> object. But also he needs to use gb.ncurses to do some neat
>>> presentation
>>>>>> in a terminal in a kind of interactive mode. Problem arises when the
>>>>>> *Window* class in gb.ncurses collides with the same class name in
>>> gb.qt4
>>>>>> (needed to gain access to printer functions) It seems that window
>> class
>>>>>> in gb.qt4 surpasses the one in gb.ncurses.
>>>>>>
>>>>>> So, is it a known problem? Does anyone realized this
>> "incompatibility"
>>>>>> when using both components at the same time?
>>>>>> Is there a way to use the printer without using gb.qt4?
>>>>>>
>>>>
>>>>>
>>>>> I never thought of using a graphical component together with
>>> gb.ncurses. I
>>>>> never intended that :-)
>>>>
>>>> Yes. The point is, how it is supposed to do printing from within
>>>> gb.ncurses without using the Printer object (found only inside
>> graphical
>>>> components)?
>>>>
>>>> We then should need to do this through CUPS or something, doesn't it?
>>>>
>>>> The fact is my friend is trying to print a kind of report based in his
>>>> own classes that uses Draw and Paint to actually draw a report in a
>>>> drawing area when using the full program version, and the file
>>>> representing the report itself is interpreted and printed from an
>>>> stripped out version of the program that only works in console mode
>>>> (interactive curses interface). The logic of printing is the same for
>>>> both programs, so qt4 is needed to do all the stuff. Sources here [0].
>>>>
>>>>
>>>>> [...]
>>>>>
>>>>> What do you mean actually by "surpasses"? Is there an "incorrectly
>>>>> overridden" error or does the gb.qt4 Window just override[0] the
>>> gb.ncurses
>>>>> one? If the latter is the case, you can try to disable gb.ncurses and
>>>>> Component.Load() it manually at startup?
>>>>
>>>> Right, the latter is the case. It makes them incompatible with each
>>> other.
>>>>
>>>>>
>>>>> I promise that future control classes and a future Window class (using
>>> the
>>>>> CDK) are more built like their gb.qt4 models but for now think of
>>> gb.ncurses
>>>>> as a component that conflicts with other graphical components. I don't
>>> think
>>>>> compatibility can ever be achieved, though.
>>>>
>>>> I think so, as well... but gb.ncurses programs would need to have a way
>>>> to print things. I remember old clipper database programs they were
>> able
>>>> to print some kind of text based reports. It would be great if printing
>>>> could be based in actual drawing routines as qt4 does. But I understand
>>>> it probably never ever could be achieved.
>>>>
>>>>
>>>
>>> Priting from the command-line with cups (a five second google search!)
>>>
>>> http://www.cups.org/documentation.php/options.html
>>>
>>> Then you "just" have to generate your report in a format understable by
>>> cups (PS, PDF, JPG mainly I think).
>>>
>>> Regards,
>>>
>>> --
>>> Benoît Minisini
>>>

Well, it's clear that gb.ncurses isn't the way to go with this project. 
I will tell him about your thoughts, so many thanks to all for taking 
the time on this.

Regards

-- 
Jesus Guardon

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Class Window in gb.qt4 vs gb.ncurses

2013-05-05 Thread Jesus
Hi Tobi and all


El 05/05/13 09:00, Tobias Boege escribió:
> On Sat, 04 May 2013, Jesus wrote:
>> Recently a friend of mine reported an issue that I'm not sure how to
>> explain correctly.
>>
>> He is making a terminal program that needs to print stuff on a real
>> printer, so it needs the gb.qt4 component to get access to the Printer
>> object. But also he needs to use gb.ncurses to do some neat presentation
>> in a terminal in a kind of interactive mode. Problem arises when the
>> *Window* class in gb.ncurses collides with the same class name in gb.qt4
>> (needed to gain access to printer functions) It seems that window class
>> in gb.qt4 surpasses the one in gb.ncurses.
>>
>> So, is it a known problem? Does anyone realized this "incompatibility"
>> when using both components at the same time?
>> Is there a way to use the printer without using gb.qt4?
>>

>
> I never thought of using a graphical component together with gb.ncurses. I
> never intended that :-)

Yes. The point is, how it is supposed to do printing from within 
gb.ncurses without using the Printer object (found only inside graphical 
components)?

We then should need to do this through CUPS or something, doesn't it?

The fact is my friend is trying to print a kind of report based in his 
own classes that uses Draw and Paint to actually draw a report in a 
drawing area when using the full program version, and the file 
representing the report itself is interpreted and printed from an 
stripped out version of the program that only works in console mode 
(interactive curses interface). The logic of printing is the same for 
both programs, so qt4 is needed to do all the stuff. Sources here [0].


> [...]
>
> What do you mean actually by "surpasses"? Is there an "incorrectly
> overridden" error or does the gb.qt4 Window just override[0] the gb.ncurses
> one? If the latter is the case, you can try to disable gb.ncurses and
> Component.Load() it manually at startup?

Right, the latter is the case. It makes them incompatible with each other.

>
> I promise that future control classes and a future Window class (using the
> CDK) are more built like their gb.qt4 models but for now think of gb.ncurses
> as a component that conflicts with other graphical components. I don't think
> compatibility can ever be achieved, though.

I think so, as well... but gb.ncurses programs would need to have a way 
to print things. I remember old clipper database programs they were able 
to print some kind of text based reports. It would be great if printing 
could be based in actual drawing routines as qt4 does. But I understand 
it probably never ever could be achieved.


>
> Anyway, good to know that someone can do "neat presentation"s with
> gb.ncurses :-)
>
> Regards,
> Tobi

Sorry, but finally he wasn't able to do something usable because of the 
above reasons.

Honestly, I've never tried gb.ncurses. But I will do in the future, when 
this is well documented ;-) My friend was complaining about complexity 
and lack of documentation, but hey, we are very grateful of your work. 
Really.

[0] http://forge.gambas-es.org/projects/printreport/repository

and the parent project here:

http://forge.gambas-es.org/projects/reportdesigner/repository


Best regards
-- 
Jesus Guardon

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


[Gambas-user] Class Window in gb.qt4 vs gb.ncurses

2013-05-03 Thread Jesus
Recently a friend of mine reported an issue that I'm not sure how to 
explain correctly.

He is making a terminal program that needs to print stuff on a real 
printer, so it needs the gb.qt4 component to get access to the Printer 
object. But also he needs to use gb.ncurses to do some neat presentation 
in a terminal in a kind of interactive mode. Problem arises when the 
*Window* class in gb.ncurses collides with the same class name in gb.qt4 
(needed to gain access to printer functions) It seems that window class 
in gb.qt4 surpasses the one in gb.ncurses.

So, is it a known problem? Does anyone realized this "incompatibility" 
when using both components at the same time?
Is there a way to use the printer without using gb.qt4?

Benoît, Tobi... knocking at your doors ;-)

Best regards

-- 
Jesus Guardon

--
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] Gambas3 not start

2013-04-21 Thread Jesus
El 21/04/13 15:03, Rodrigo Maia escribió:
> Good Morning!
>
>   Gambas3 not start and returne this is mensagem!!! How
> to resolve?
>   gbr3: unable to load component: gb.form.stock
>

Well, I don't want to be kind of harsh, but nobody here are diviners ;-)

Please, next time provide more details about your problem, as Linux 
distribution you are using, how gambas was installed (e.g. installing 
from your distro repository or by compiling source code), version of 
gambas, etc

Anyway, it sounds like some components are missing likely because a bad 
installation or an old version of gambas.

Best regards

-- 
Jesus Guardon

--
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] Valuebox change event?

2013-03-10 Thread Jesus
El 10/03/13 18:43, Benoît Minisini escribió:
> Le 10/03/2013 18:34, Jesus a écrit :
>> Hi all
>>
>> Since gambas2 I've not used Valuebox until now in Gambas3, but now I'm
>> surprised it haven't a '_Change()' event. Anyone could tell about it, if
>> you have got the need of this event or not? And how I supposedly could
>> detect whether its content has changed?
>>
>> Of course, I always can inherit and implement a change event, but I was
>> curious on why this widget lacks the change event natively.
>>
>> Thanks for your time
>>
>> Best regards
>>
>
> Mmm... You're right, a Change event would be useful... I will see if I
> can add it...
>
> As a workaround, you can create an observer on the first inner child of
> the control to catch it.
>
> hObs = New Observer(TheValueBox.Children[0]) As "TheValueBox"
> ...
> Public Sub TheValueBox_Change()
> ...
> End
>
> But beware that you must do it just after having set the Type property
> (because it recreates the inner widget each time you change the ValueBox
> type).
>
> Regards,
>

Hi

Great! Thanks for the workaround, it helps a lot. Looking forward to the 
native change event ;-)

Regards

-- 
Jesus Guardon

--
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] Valuebox change event?

2013-03-10 Thread Jesus
Hi all

Since gambas2 I've not used Valuebox until now in Gambas3, but now I'm 
surprised it haven't a '_Change()' event. Anyone could tell about it, if 
you have got the need of this event or not? And how I supposedly could 
detect whether its content has changed?

Of course, I always can inherit and implement a change event, but I was 
curious on why this widget lacks the change event natively.

Thanks for your time

Best regards

-- 
Jesus Guardon

--
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] Shell command not working

2013-03-07 Thread Jesus
El 07/03/13 13:40, Jose Monteiro escribió:
> text = "cd ~/.relat_bact && rm -rf Modelo*.odt && zip -r " & "MA" & 
> Mid$(ListBox1.Text, 1, 9) & ".odt  ."
>Shell text Wait
>
> 1 - navigating to ~/.relat_bact directory and deleting the odt file is 
> working fine.
>
> 2 - generating the "zipped" odt file (MA.odt) using the files and 
> directories inside ~/.relat_bact is not working. The error message is: "zip 
> I/O error: No such file or directory
> zip error: Could not create output file (MA04/12.odt)"
>
> 3 - If I type these commands directly on a terminal it works fine.

>
> Thanks in advance

There is an extra slash "/" in your final string. Check that in the Mid 
function. BUT...

Why do you use shell command? Gambas have its own commands to do what 
you want. See "working with files" in the manual wiki and the 
gb.compress component.

Regards

-- 
Jesus Guardon

--
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] Duplicated set of executables?

2013-03-05 Thread Jesus
El 04/03/13 23:34, Benoît Minisini escribió:
> Le 04/03/2013 23:14, Jesus a écrit :
>> Hi all
>>
>> This is something I was not aware of:
>>
>> jesus@jesus-linux /usr/bin/X11 $ ls gb*
>> gba3  gbc3  gbi3  gbr2  gbr3  gbs3  gbs3.gambas  gbw3  gbx2  gbx3
>> jesus@jesus-linux /usr/bin/X11 $ cd ..
>> jesus@jesus-linux /usr/bin $ ls gb*
>> gba3  gbc3  gbi3  gbr2  gbr3  gbs3  gbs3.gambas  gbw3  gbx2  gbx3
>>
>>
>> It seems there are duplicated set of executable files in /usr/bin/X11
>> dir. I'm using latest SVN trunk in Linux Mint 13 64 bits, but other
>> people report the same in other debian based distros and packages from
>> Kendek's PPA as well.
>>
>> This is weird, at least for me. Any explanation about that, Benoit?
>>
>> Regards
>>
>
> Maybe /usr/bin/X11 is a symbolic link to /usr/bin?
>


Yes, you are right:

cd /usr/bin/
ls -l -d X1*

lrwxrwxrwx 1 root root   1 sep 29 02:09 X11 -> .

I have no idea which program created such symbolic link, as this is 
common for other ubuntu and mint distros...

IIRC, never noticed it was there until now.

Sorry for the noise, regards!


-- 
Jesus Guardon

--
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] Duplicated set of executables?

2013-03-04 Thread Jesus
Hi all

This is something I was not aware of:

jesus@jesus-linux /usr/bin/X11 $ ls gb*
gba3  gbc3  gbi3  gbr2  gbr3  gbs3  gbs3.gambas  gbw3  gbx2  gbx3
jesus@jesus-linux /usr/bin/X11 $ cd ..
jesus@jesus-linux /usr/bin $ ls gb*
gba3  gbc3  gbi3  gbr2  gbr3  gbs3  gbs3.gambas  gbw3  gbx2  gbx3


It seems there are duplicated set of executable files in /usr/bin/X11 
dir. I'm using latest SVN trunk in Linux Mint 13 64 bits, but other 
people report the same in other debian based distros and packages from 
Kendek's PPA as well.

This is weird, at least for me. Any explanation about that, Benoit?

Regards
-- 
Jesus Guardon



--
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] WebView.HTML does not show that instead WebView.Url shows.

2013-02-24 Thread Jesus
El 24/02/13 17:49, vu...@tiscali.it escribió:
> Hello,
>
> I have noticed that not all the HTML code works with WebView.HTML. So, in 
> this cases I must use  WebView.Url property.
>
>
> Example, if this HTML code:
>
>
>
>   src="my_file_audio">
>
>  
>
>
>
>
> it doesn't work if I write:
>
>WebView1.HTML = " =\"my_file_audio\">"
>
> but it works, if I write it in a "html file", and then I re-call it with 
> WebView.Url.
>
> Why ?
>
> regards
> vuott

Apparently you missed part of the html code in this line. You must close 
the audio tag:

WebView1.HTML = ""


It might be like:

WebView1.HTML = ""

Hope this helps,

regards

-- 
Jesus Guardon

--
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] Translator question

2012-12-18 Thread Jesus
El 18/12/12 18:14, Willy Raets escribió:
> Hi,
>
> I have an application (Gambas 2) where I use Internationalization.
> Application original is English and translations contain 7 other
> European languages.
>
> In the app on one form I use W to indicate West and on another form I
> use W to indicate Watts.
>
> In Bulgarian translation West (W) gets translated to this: 3
> Problem is that now Watt (W) gets translated too, but should remain W !!
>
> Is there a manner of getting around this?
> I mean can I indicate that one of the two W doesn't get translated (the
> watt in this case as it is an international symbol used in all European
> languages, so never needs to be translated, West on the other hand seems
> to differ from language to language)
>
> Thanks,
>
> Willy
>

Hi all

 From QT4 help http://qt-project.org/doc/qt-4.8/QTranslator.html

"-The disambiguation - an optional string that helps disambiguate 
different uses of the same text in the same context."

Not sure if it would be possible in gambas, but in Qt4 itself and Qt4 
Designer (the native designer tool of Qt4 development suite) there is a 
property for every widget called *disambiguation* relative to its 
translation, which allow to distinguish between several meanings of the 
same string into different[?] contexts.

Wonder if it would be implemented in gambas some day... Benoit?

Regards

-- 
Jesus Guardon

--
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] Graphic glitch - Corners in some controls

2012-12-06 Thread Jesus
El 06/12/12 13:43, Benoît Minisini escribió:
> I have the same glitch. Apparently this comes
> directly from GTK+, that draws a background to its progress bar. I don't
> draw any background in the Gambas code.
>
> So I'm afraid he can't do nothing against that. Note that GTK+ is very
> bad at stacking controls.
>
> -- Benoît Minisini


Yes. I thought so, too. IIRC, this is not only in gambas applications, 
but in general. Well, thanks for give it a shot.

Regards

-- 
Jesus Guardon

--
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] Graphic glitch - Corners in some controls

2012-12-06 Thread Jesus
El 06/12/12 12:28, Benoît Minisini escribió:
> Le 06/12/2012 12:22, Jesus a écrit :
>> Hi
>>
>> Using gambas3, gb.gui on Gnome (Unity).
>>
>> A friend of mine reports this annoying bug in controls which have round
>> corners, having a visible little white triangle, instead of a
>> transparent one.
>>
>> Is there a solution to this? Attached screenshot and system info:
>>
>> [System]
>> OperatingSystem=Linux
>> Kernel=3.5.0-13-generic
>> Architecture=i686
>> Memory=8184868 kB
>> DistributionVendor=Ubuntu
>> DistributionRelease="Ubuntu 12.04.1 LTS"
>> Desktop=Gnome
>>
>> [gambas 3]
>> Version=3.3.4
>> Path=/usr/bin/gbx3
>>
>> [Libraries]
>> Qt4=libQtCore.so.4.8.1
>> GTK+=libgtk-x11-2.0.so.0.2400.10
>>
>>
>> I think he's using the default theme on Ubuntu, but not sure.
>>
>> Best regards
>>
>
> What's that control (the rectangle with the round corners)?
>

It's a progress bar, sorry if not stated before.

-- 
Jesus Guardon

--
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] Byte conversion

2012-11-25 Thread Jesus
El 25/11/12 14:45, Tobias Boege escribió:
> On Sun, 25 Nov 2012, Jesus wrote:
>> Hi
>>
>> Im trying to do some kind of conversion but can't get it done.
>>
>> In python I do:
>>
>> ord(str("\x01"))
>>
>> Which returns 1 as an integer
>>
>> How could I get this done in Gambas3?
>>
>> This is what I've tried:
>>
>> Asc(Cint(Str("\x01")))
>>
>> but no luck. Seems there is not an specialized function to do the byte
>> conversion.
>>
>> Any clue?
>>
>> Regards
>> --
>> Jesus Guardon
>
> What do you want to do exactly?
>
> If in place of "\x01" there is a variable string and you want the first byte
> in that string, then do CByte(Asc(sStr)).
>
> Regards,
> Tobi

I've figured it out playing with several combinations. Finally this is 
what I needed.

Many thanks, anyway.


-- 
Jesus Guardon

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Byte conversion

2012-11-25 Thread Jesus
Hi

Im trying to do some kind of conversion but can't get it done.

In python I do:

ord(str("\x01"))

Which returns 1 as an integer

How could I get this done in Gambas3?

This is what I've tried:

Asc(Cint(Str("\x01")))

but no luck. Seems there is not an specialized function to do the byte 
conversion.

Any clue?

Regards
-- 
Jesus Guardon

--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas Editor Drag/Drop/Move/Copy

2012-11-11 Thread Jesus
El 11/11/12 15:37, Jussi Lahtinen escribió:
> I think it is just unimplemented, but you can move code by selecting it and
> using arrow keys while holding Alt down.
>
> Jussi
>
>
>
> On Sun, Nov 11, 2012 at 9:44 AM, wally  wrote:
>
>> Hello,
>>
>> is there a special reason why Gambas Editor does not support drag and drop
>> (move/copy) of code parts ?
>>
>> wally

It works only for the whole line, but not for parts of code.

It would be nice if you could select a piece of code and drag it to 
another place in the same document. I've missed it since the 
beginning...  BTW, I'm not a vi/vim guy, ;-)

Regards

-- 
Jesus Guardon

--
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_nov
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] svn 5313 Unable to compile gambas3

2012-11-10 Thread Jesus

El 10/11/12 12:42, Alexie escribió:

Thanks Kevin, a fresh copy of the SVN compiles successfully.

2012/11/10 Kevin Fishburne 


On 11/10/2012 03:15 AM, Alexie wrote:


Same here for Ubuntu 10.04

2012/11/10 wally 

  SVN 5313 "Unable to compile gambas3"

on OpenSuse 12.2

see logs attached



Lately I've had to "uninstall" it prior to recompiling from trunk. I
attached my uninstallation and installation scripts. You still need to have
all the library dependencies satisfied, as described in the installation
docs on the GAMBAS web site. I'm using Kubuntu 12.10.

--
Kevin Fishburne



Not here. Linux Mint 13 (Ubuntu Precise). Log attached.

Script used does all the "unistall" as usual, so no residual files left.


--
Jesus Guardon


5313.log.tar.gz
Description: GNU Zip compressed data
--
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_nov___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


  1   2   3   >