r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Red] Red language group

Kaj
22-Oct-2011
[3607x2]
That's a pity, because Jaromil requested slider and file selector 
widgets from me. When he has those, he can start using Red for a 
GUI for his Tomb security tool
Implemented INFO style, as a non-editable GTK line entry widget
Dockimbel
22-Oct-2011
[3609]
I understand the frustration...If it could be added in 2-3 days, 
I would add it now, but a complete support would require much more 
time. I will try next week to make a more accurate evaluation of 
all the additions and changes required in Red/System compiler for 
supporting float numbers.
Kaj
22-Oct-2011
[3610x3]
Cool
Implemented SECRET style, for hiding entering passwords and such
Both single and double precision floats will be necessary to interface 
with other subsystems
GrahamC
22-Oct-2011
[3613]
And that can't be done by linking to a math library?
Kaj
22-Oct-2011
[3614x2]
How would you communicate values?
Implemented activate action for FIELD and SECRET styles, so that 
they can respond to pressing the enter key
Pekr
23-Oct-2011
[3616]
According to Twitter message, Doc got simple program compiling and 
running on Linux ARM. Nice and congrats :-)
GrahamC
23-Oct-2011
[3617]
URL ?
Andreas
23-Oct-2011
[3618]
https://twitter.com/#!/red_lang/status/127738543027138560
GrahamC
23-Oct-2011
[3619]
Is there any significance to the code compiled?
Kaj
23-Oct-2011
[3620x2]
It's the minimum program
And the meaning of life, of course
GrahamC
23-Oct-2011
[3622]
Ah... I thought he was making a statement :)
Kaj
23-Oct-2011
[3623]
Don't fear
Dockimbel
23-Oct-2011
[3624]
Petr: thanks, but it was mostly Andreas' work so far.
amacleod
23-Oct-2011
[3625x2]
Anyone have experience using Vincent Ecuyer's "rewbzip.r" from the 
script library? 

I'm having trouble unzipping a very large db file (150+ megs). It 
works for smaller zips...anyone know if there is a limit on file 
size?
rebzop.r
GrahamC
23-Oct-2011
[3627]
wrong group
Kaj
23-Oct-2011
[3628]
The note in the manual in 6.3.3 still speaks about callback instead 
of cdecl
Dockimbel
24-Oct-2011
[3629]
Issue fixed in the specification document.
Kaj
25-Oct-2011
[3630]
Implemented all the needed GTK constructs and a convenience function 
for actually extracting the text content from an AREA widget
Kaj
26-Oct-2011
[3631x3]
Added dynamic scroll bars to the AREA widget and normalised its appearance 
like other input widgets
It's quite usable now, but it's challenging to make it easy to program 
in the GTK environment
The obvious defaults and accessors that you would expect often aren't 
there
NickA
27-Oct-2011
[3634]
Great, practical progress Kaj!
Endo
27-Oct-2011
[3635]
Good progress Kaj.
Claude
27-Oct-2011
[3636]
thank you very much kaj and dockimbel ;-)
Kaj
28-Oct-2011
[3637x2]
Thanks. I've upgraded the Fossil server for the binding repositories 
to 1.20
Nice new features are side-by-side diffs and support for symbolic 
links
Luis
28-Oct-2011
[3639x2]
which is the address of the GTK repository
?
Kaj
28-Oct-2011
[3641]
http://www.red-lang.org/p/contributions_21.html
Luis
28-Oct-2011
[3642]
thanks !
Kaj
29-Oct-2011
[3643]
Looks like Nenad will get 39 bits ARM immediate values :-)
Dockimbel
29-Oct-2011
[3644x2]
Getting 32-bit literals pools to be generated reliably would already 
be an achievement ;-)
For ARM 64-bit, I just hope we won't have to continue to use literals 
pools...
Andreas
29-Oct-2011
[3646]
Looks like Nenad will get 39 bits ARM immediate values :-)


Most likely not. A64 (the ARM 64-bit instruction set) will have 32-bit 
fixed length instructions as well.
Kaj
29-Oct-2011
[3647]
Implemented a dialect shortcut in most layout styles by adding a 
bare string element, to make the label directive optional
Kaj
30-Oct-2011
[3648x6]
The end of Daylight Savings Time gave me an hour extra today, so 
I wrote a web browser:
http://red.esperconsultancy.nl/screenshots/LazySundayAfternoon-Browser.png
It does Flash and everything
Here's the code:
#include %GTK-WebKit.reds

home: "http://www.red-lang.org/"

address: function [
	[cdecl]
	widget				[gtk-entry!]
	data				[gtk-scrolled-window!]
][
	web-browse  web-get-view data  gtk-get-entry-text widget
]

browser: browse home

gtk-view window [
	gtk-position-center
	"Lazy Sunday Afternoon Browser"
	vbox [
		field [home  :address browser] gtk-tight
		browser gtk-full
	]
]
The executable is 21 KB
Dockimbel
30-Oct-2011
[3654]
Great work Kaj! :-)
Kaj
30-Oct-2011
[3655]
Thanks
Dockimbel
30-Oct-2011
[3656]
So now we can run REBOL code in Topaz executed inside a Red/System 
driven web browser. ;-)