World: r3wp
[Red] Red language group
older newer | first last |
Dockimbel 23-Aug-2011 [3047x2] | The "expr: " outputs code from Red/System source, not compiler source. |
At least, you'll know which expression in your Red/System app is causing the issue. | |
Kaj 23-Aug-2011 [3049] | I'll look into it when the errors are still there with your fixes |
Dockimbel 23-Aug-2011 [3050] | You can also send me the source code, and I'll do the internal debugging, it is probably a minor error. |
Kaj 23-Aug-2011 [3051] | If you want, you can compile the cURL binding for one |
Dockimbel 23-Aug-2011 [3052x2] | I've released a fix for your compilation issue. |
Fixes released. Hope they will fix your issues too. I won't be able to work on Red tonight, so if more fixes are needed, that will be for tomorrow. | |
Kaj 23-Aug-2011 [3054x2] | Thanks, cURL works again |
It took me a day to hook up a (quit) signal to a GTK program. GTK is incredibly bloated | |
Kaj 24-Aug-2011 [3056x3] | I can now load a GDK image and set it as the GTK window icon |
Now I can add a text label to the window | |
And now a button with an associated action callback | |
Kaj 25-Aug-2011 [3059x2] | I've bound the line entry field, but I'm having serious problems with crashing callbacks in both GTK and SDL |
I'm going to return to cURL for a while to see if I can trigger the problem there | |
Dockimbel 25-Aug-2011 [3061] | A regression in today's commit or an older issue? |
Kaj 25-Aug-2011 [3062] | No, it's probably always been this way, at least since I started the SDL binding |
Dockimbel 25-Aug-2011 [3063] | If you can send me a short sample, I can do some investigations. |
Kaj 25-Aug-2011 [3064x3] | I've only done very small things with callbacks so far. The somewhat bigger transfers in cURL were directly to files, with its own internal callbacks |
Yes, if I can trigger it in cURL, that would currently be the most accessible example | |
So far I suspected multithreading in SDL's sound playing, but it seems the problem is more fundamental | |
Endo 25-Aug-2011 [3067] | Doc: why UNTIL doesn't return a value. It can simply return TRUE, because if loop is over the last expression evaluated as TRUE. So it can always return TRUE. No? |
Dockimbel 25-Aug-2011 [3068x2] | Do you think that UNTIL returning always TRUE is useful? |
Or I should rather ask if UNTIL returning always TRUE is more useful than returning nothing? | |
Endo 25-Aug-2011 [3070] | I'm not sure if this is possible in Red/System, i: 0 wait-me: until [++ i i > 5] ;do something async and check wait-me also, to be at sync. |
Kaj 25-Aug-2011 [3071] | It would be useful if there would be a BREAK that would return FALSE |
Dockimbel 25-Aug-2011 [3072] | Kaj: agreed. |
Endo 25-Aug-2011 [3073x2] | Kaj: Yes that is more useful. |
And would be more compatible with REBOL as well. | |
PeterWood 25-Aug-2011 [3075] | Why don't you add it as a wish on github? |
Endo 25-Aug-2011 [3076x2] | I didn't want to add it, before asking first. To not fill the list. |
Done. | |
Kaj 25-Aug-2011 [3078x2] | SDL drawing works again, and PeterPaint is now unencumbered by Red bugs |
Finally implemented automatic buffer expansion on in-memory cURL receive operations | |
PeterWood 26-Aug-2011 [3080] | Thanks Endo |
Kaj 26-Aug-2011 [3081x6] | Hm, cURL has no problem with multiple callbacks |
Tested now with downloads up to 56 MB, in diverse chunks from a few hundred bytes to 16 K | |
That means GTK is the simplest exhibit of the crashes. As far as I know, it's single-threaded, but maybe not | |
I've housed the GTK binding here: | |
http://red.esperconsultancy.nl/Red-GTK | |
It doesn't do much yet, but you can reference it for testing purposes | |
Kaj 30-Aug-2011 [3087x2] | I had to go through the Blogger registration process again to post a comment |
Anyway, there's a new commenter to the last article | |
Dockimbel 31-Aug-2011 [3089x3] | Thanks for posting an answer while I wasn't available. I will add more to it today. Btw, I guess this is one of the two young coders that contacted me on IRC to help building Red. :-) |
And thank for mentioning Red in your interview, once again, that boosted Red visibility significantly. | |
About Blogger: this platform is a real PIA in many ways. When I will have some time, I will look at how to move out, probably going to WordPress, or setting up my own blog using the script from Cheyenne's web site (I would need to integrate an anti-spam service like Akismet in such case). | |
Kaj 4-Sep-2011 [3092x5] | I am proud to present my first Red/System dialect, for GTK. Here's an example of a window with a title, an icon, a label, an input field and a button with an associated action function: |
http://red.esperconsultancy.nl/screenshots/Red-System-GTK.png | |
I demonstrated it yesterday at SylCon | |
Hello World would be: | |
gtk-begin gtk-view window [label "Hello, Red world!"] | |
older newer | first last |