<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.comp.lang.gambas.user">
    <title>gmane.comp.lang.gambas.user</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.gambas.user</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.gambas.user/23827"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.gambas.user/23826"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.gambas.user/23825"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.gambas.user/23824"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.gambas.user/23823"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.gambas.user/23822"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.gambas.user/23821"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.gambas.user/23820"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.gambas.user/23819"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.gambas.user/23818"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.gambas.user/23817"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.gambas.user/23816"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.gambas.user/23815"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.gambas.user/23814"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.gambas.user/23813"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.gambas.user/23812"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.gambas.user/23811"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.gambas.user/23810"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.gambas.user/23809"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.gambas.user/23808"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.gambas.user/23827">
    <title>Re: Shared WiringPi library for RasPi</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.gambas.user/23827</link>
    <description>&lt;pre&gt;

Thanks for explaining the problem and possible solutions Benoît!

I have forwarded your input to wiringPi's author so lets see whats
happening and if he may consider adding a "interpreter friendly"
interrupt function to his library.

/CJ



------------------------------------------------------------------------------
Try New Relic Now &amp;amp; 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, &amp;amp; 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
&lt;/pre&gt;</description>
    <dc:creator>CJ</dc:creator>
    <dc:date>2013-05-25T21:48:46</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.gambas.user/23826">
    <title>Re: Preview only works with some files</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.gambas.user/23826</link>
    <description>&lt;pre&gt;Le 25/05/2013 23:05, Antonio Sánchez a écrit :

You can't at the moment, but you can handle the "Icon" event instead, 
and set the Icon property: that allows you to create the image preview 
yourself as you like.

Regards,

&lt;/pre&gt;</description>
    <dc:creator>Benoît Minisini</dc:creator>
    <dc:date>2013-05-25T21:11:50</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.gambas.user/23825">
    <title>Re: Preview only works with some files</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.gambas.user/23825</link>
    <description>&lt;pre&gt;For our purpose, yes, it is a bit low.
Where could we change this limit?


2013/5/25 Benoît Minisini &amp;lt;gambas&amp;lt; at &amp;gt;users.sourceforge.net&amp;gt;

------------------------------------------------------------------------------
Try New Relic Now &amp;amp; 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, &amp;amp; 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
&lt;/pre&gt;</description>
    <dc:creator>Antonio Sánchez</dc:creator>
    <dc:date>2013-05-25T21:05:16</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.gambas.user/23824">
    <title>Re: Preview only works with some files</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.gambas.user/23824</link>
    <description>&lt;pre&gt;Le 25/05/2013 22:43, Antonio Sánchez a écrit :

When the file is too big (&amp;gt; 64K), the preview is not shown.

Maybe the limit is a bit low?

&lt;/pre&gt;</description>
    <dc:creator>Benoît Minisini</dc:creator>
    <dc:date>2013-05-25T20:53:00</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.gambas.user/23823">
    <title>Preview only works with some files</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.gambas.user/23823</link>
    <description>&lt;pre&gt;We are using FileChooser control with "ShowPreview" to True, but only get
some previews and we don't know why. We find no aparent reason.

I attached a screenshot.
------------------------------------------------------------------------------
Try New Relic Now &amp;amp; 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, &amp;amp; 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&amp;lt; at &amp;gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user
&lt;/pre&gt;</description>
    <dc:creator>Antonio Sánchez</dc:creator>
    <dc:date>2013-05-25T20:43:00</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.gambas.user/23822">
    <title>Re: Shared WiringPi library for RasPi</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.gambas.user/23822</link>
    <description>&lt;pre&gt;Le 25/05/2013 20:54, CJ a écrit :

The interpreter cannot be run in another thread. This is the reason why 
you get a crash.

Two possible solutions :

1) A pure Gambas solution. But that needs writing a component in C/C++ 
to implement an interrupt handler that would write to a pipe that would 
be read by the main thread (the one that runs the Gambas interpreter).

2) Ask to the wiringPi's author to add a new function to handle the 
interrupt (or modify the current one) that proceeds that way:

- Create an internal pipe.
- Create the thread.
- When an interrupt occurs, the thread writes a byte to the pipe.
- The function returns the file descriptor of the other side of the pipe.

That way, Gambas would just have to watch the file descriptor returned 
by the new wiringPiISR function to know if an interrupt has occured.

Note that many other interpreters will be happy with that solution!

Regards,

&lt;/pre&gt;</description>
    <dc:creator>Benoît Minisini</dc:creator>
    <dc:date>2013-05-25T19:35:17</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.gambas.user/23821">
    <title>Re: Shared WiringPi library for RasPi</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.gambas.user/23821</link>
    <description>&lt;pre&gt;

The same thing.


Here is the response from wiringPi's author Gordon Henderson...

  The interrupt handler is a standard pthread process. The wiringPiISR code
  creates the thread and that thread then waits for the interrupt, then
  calls the ISR function - so the function called has to be "thread safe" -
  something I possibly ought to better document...


My bad! Reason to this is that I cleaned up the code before making the
tar-ball
below is the correct output for the attached code...

  root&amp;lt; at &amp;gt;raspi-dev:/home/Projekt/libwiringPi_irq# ./libwiringPi_irq.gambas
  wiringPi Init OK...
  IRQ setup OK...
  Waiting....
  Waiting....
  Waiting....
  Waiting....
  Waiting....
  MMain.Main.52: #3: Stack overflow
  1: MMain.Main.52

And output from gdb...

  ...
  (gdb) bt
  #0  THROW (code=0) at gb_error.c:465
  #1  0x0004a9e4 in THROW_STACK () at gb_error.c:489
  #2  0x0004a9e4 in THROW_STACK () at gb_error.c:489
  Backtrace stopped: previous frame identical to this frame (corrupt stack?)
  (gdb)

The stack overfl&lt;/pre&gt;</description>
    <dc:creator>CJ</dc:creator>
    <dc:date>2013-05-25T18:54:27</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.gambas.user/23820">
    <title>Re: Shared WiringPi library for RasPi</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.gambas.user/23820</link>
    <description>&lt;pre&gt;Le 25/05/2013 18:32, CJ a écrit :

What happens if there is no code at all inside the interrupt handler?

Do you know in which context the interrupt handler is run? (signal 
handler context? Something else?)

And I don't understand why you get an error on line #110, whereas there 
is only 58 lines in your MMain.module file...

Regards,

&lt;/pre&gt;</description>
    <dc:creator>Benoît Minisini</dc:creator>
    <dc:date>2013-05-25T17:33:14</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.gambas.user/23819">
    <title>Re: Shared WiringPi library for RasPi</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.gambas.user/23819</link>
    <description>&lt;pre&gt;
After compiling and updating to latest stable 3.4.1 version I retested
the HW interrupt code I had problems with when running 3.3.4 and have the
same error when testing on the RaspberryPi...

Code compiles OK but when I pull GPIO18 pin low (i.e generating the
interrupt)
it crashes with a "Stack overflow" error message.

  root&amp;lt; at &amp;gt;raspi-dev:/home/Projekt/libwiringPi_irq# ./libwiringPi_irq.gambas
  wiringPi Init OK...
  IRQ setup OK...
  Waiting....
  Waiting....
  Waiting....
  Waiting....
  Waiting....
  Waiting....
  Waiting....
  Waiting....
  Waiting....
  MMain.Main.110: #3: Stack overflow
  1: MMain.Main.110
  Segmentation fault

Below is the output from gdb...

  ...
  (gdb) bt
  #0  THROW (code=0) at gb_error.c:465
  #1  0x0004a9e4 in THROW_STACK () at gb_error.c:489
  #2  0x0004a9e4 in THROW_STACK () at gb_error.c:489
  Backtrace stopped: previous frame identical to this frame (corrupt stack?)
  (gdb)

A informed by Benoît this is how to declare it in Gambas3 to use the
interrupt
function in wiringPi &lt;/pre&gt;</description>
    <dc:creator>CJ</dc:creator>
    <dc:date>2013-05-25T16:32:51</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.gambas.user/23818">
    <title>Test please ignore!</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.gambas.user/23818</link>
    <description>&lt;pre&gt;Just a test since I've had problems posting to this list, please
ignore!

/CJ



------------------------------------------------------------------------------
Try New Relic Now &amp;amp; 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, &amp;amp; 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
&lt;/pre&gt;</description>
    <dc:creator>CJ</dc:creator>
    <dc:date>2013-05-25T16:29:07</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.gambas.user/23817">
    <title>Re: Global error management routine</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.gambas.user/23817</link>
    <description>&lt;pre&gt;Le 21/05/2013 16:13, Tobias Boege a écrit :

Global error management routine has been implemented in revision #5678.

This routine must be a static public method of the startup class, and 
must be named "Application_Error".

Inside this method, you can use the properties of the Error class to get 
information about the error.

If an uncatched error is raised while running Application_Error, then 
the program will abort with that error replacing the old one. Beware, 
this was not tested yet!

The IDE has been modified to try to save all modified files before 
aborting if an error occurs.

Enjoy!

&lt;/pre&gt;</description>
    <dc:creator>Benoît Minisini</dc:creator>
    <dc:date>2013-05-25T14:03:25</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.gambas.user/23816">
    <title>Re: gbc3-gb_error.o compiling rev #5670</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.gambas.user/23816</link>
    <description>&lt;pre&gt;Le 25/05/2013 11:37, Tobias Boege a écrit :

My solution is in r5677: I took yours and simplified it by removing what 
I don't understand. :-)

It creates a void 'trunk_version.h' if there is no '.svn' directory.

All seems to work correctly, but I'm waiting for your opinion to be 
sure! :-)

&lt;/pre&gt;</description>
    <dc:creator>Benoît Minisini</dc:creator>
    <dc:date>2013-05-25T13:33:18</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.gambas.user/23815">
    <title>Re: New gb.crypt.openssl component</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.gambas.user/23815</link>
    <description>&lt;pre&gt;
This is useful, thanks

In your example code you stated there is no automatic way to convert
strings to hex. It is possible to do using a loop and the Hex$
function, like so:

Public Function String2Hex(s As String) As String

  Dim ret As String = ""
  Dim i As Integer

  For i = 1 To Len(s)
    ret &amp;amp;= Hex$(Asc(s, i), 2)
  Next
  Return ret

End


Cheers,


Ian

------------------------------------------------------------------------------
Try New Relic Now &amp;amp; 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, &amp;amp; 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
&lt;/pre&gt;</description>
    <dc:creator>Ian Haywood</dc:creator>
    <dc:date>2013-05-25T11:07:34</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.gambas.user/23814">
    <title>Re: Feature request: Read a component's .info file for help in the IDE</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.gambas.user/23814</link>
    <description>&lt;pre&gt;
Do you mean that you can import an .info file to the wiki? This would be
great to kick-start the gb.openssl documentation if you used my modified
.info file.

Regards,
Tobi

------------------------------------------------------------------------------
Try New Relic Now &amp;amp; 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, &amp;amp; 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
&lt;/pre&gt;</description>
    <dc:creator>Tobias Boege</dc:creator>
    <dc:date>2013-05-25T09:40:42</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.gambas.user/23813">
    <title>Re: gbc3-gb_error.o compiling rev #5670</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.gambas.user/23813</link>
    <description>&lt;pre&gt;
Good idea. Actually I thought about that, too, but rejected it because a
Makefile rule that depends on .svn will not work on non-repository sources,
like:

make: *** No rule to make target `.svn', needed by `all'.  Stop.

which is from a Makefile inside my home directory - not svn versioned.

What I didn't think of was this workaround: have a .PHONY target that
compares timestamps of .svn to the header's instead of letting make do it.
We could catch the case that .svn doesn't exist:

---
trunk_version.h: TRUNK_VERSION = $(shell LC_ALL=C svn info 2&amp;gt;/dev/null | grep Revision | egrep -wo "[0-9]+")
trunk_version.h:
&amp;lt; at &amp;gt;if test -d .svn -a .svn -nt trunk_version.h ; then             \
echo -e "/* TRUNK version if available */\n#define TRUNK_VERSION\t$(TRUNK_VERSION)\n" &amp;gt;trunk_version.h; \
fi

.PHONY: trunk_version.h
---

This worked in my home directory, i.e. did nothing but without complaint,
and in trunk/ it created the trunk_version.h. Maybe ".svn" above should be
prefixed with the path to the top-level Gambas&lt;/pre&gt;</description>
    <dc:creator>Tobias Boege</dc:creator>
    <dc:date>2013-05-25T09:37:57</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.gambas.user/23812">
    <title>Re: curl ftp</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.gambas.user/23812</link>
    <description>&lt;pre&gt;Le 24/05/2013 23:34, Benoît Minisini a écrit :

OK, my fault. The problem should be fixed in revision #5675.

Regards,

&lt;/pre&gt;</description>
    <dc:creator>Benoît Minisini</dc:creator>
    <dc:date>2013-05-24T22:23:45</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.gambas.user/23811">
    <title>Re: HBox.Margin and .Padding not cumulative?</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.gambas.user/23811</link>
    <description>&lt;pre&gt;Le 24/05/2013 22:28, Tobias Boege a écrit :

I fixed the documentation (that was the old text from Gambas 2).

&lt;/pre&gt;</description>
    <dc:creator>Benoît Minisini</dc:creator>
    <dc:date>2013-05-24T21:39:07</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.gambas.user/23810">
    <title>Re: curl ftp</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.gambas.user/23810</link>
    <description>&lt;pre&gt;Le 23/05/2013 14:09, Shane a écrit :

Indeed. Apparently I did as the curl documentation said, but the curl 
progress callback is never called. I will investigate...

&lt;/pre&gt;</description>
    <dc:creator>Benoît Minisini</dc:creator>
    <dc:date>2013-05-24T21:34:10</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.gambas.user/23809">
    <title>Re: gbc3-gb_error.o compiling rev #5670</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.gambas.user/23809</link>
    <description>&lt;pre&gt;Le 23/05/2013 14:23, Tobias Boege a écrit :

You get a point there. But you must find a way to get the svn version 
only when it changes. For example, we can imagine adding a special 
makefile rule that computes the svn version and put it in its custom 
header file. This rule will depend on the modification time of the 
/trunk/.svn directory (if it is possible).

What do you think?

&lt;/pre&gt;</description>
    <dc:creator>Benoît Minisini</dc:creator>
    <dc:date>2013-05-24T21:33:35</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.gambas.user/23808">
    <title>Re: Feature request: Read a component's .info file for help in the IDE</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.gambas.user/23808</link>
    <description>&lt;pre&gt;Le 24/05/2013 23:14, Tobias Boege a écrit :

No, component help must be written on the wiki.

Component help can be written on the wiki only after I have uploaded the 
information files on the wiki server.

I will upload the information files after having taken a look at the 
interface of your component.

Regards,

&lt;/pre&gt;</description>
    <dc:creator>Benoît Minisini</dc:creator>
    <dc:date>2013-05-24T21:28:34</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.gambas.user/23807">
    <title>Feature request: Read a component's .info file forhelp in the IDE</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.gambas.user/23807</link>
    <description>&lt;pre&gt;Hi,

it is said in [0] that the IDE can access an .info file of a project to get
documentation out of it.

I tried this with gb.openssl which I documented in its source code. It did
not work since it's a component and not a project. As the gambas-devels may
already know, I have a bunch of scripts to extract these comments and merge
them into existing .info files. This works properly meanwhile. Consequently,
I'd like to see the IDE display the help comments in a *component's* .info
file. Is that possible?

Regards,
Tobi

[0] http://gambasdoc.org/help/doc/helpcomments?v3

------------------------------------------------------------------------------
Try New Relic Now &amp;amp; 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, &amp;amp; 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
&lt;/pre&gt;</description>
    <dc:creator>Tobias Boege</dc:creator>
    <dc:date>2013-05-24T21:14:52</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.lang.gambas.user">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.lang.gambas.user</link>
  </textinput>
</rdf:RDF>
