World: r3wp
[!REBOL3 Schemes] Implementors guide
older newer | first last |
BrianH 16-Jan-2010 [1586] | All right, too limited to justify *my* effort. Or anyone who doesn't work for a large company. |
Graham 16-Jan-2010 [1587] | I guess I just may have to get that book C for dummies from the library after all |
Maxim 16-Jan-2010 [1588] | hehe |
Graham 16-Jan-2010 [1589] | Max, where's that progress report ...?? |
Maxim 16-Jan-2010 [1590] | progress on OpenGL? |
BrianH 16-Jan-2010 [1591x2] | I don't see the point in this anyways, since there are decent SSL and SSH libraries with permissive licenses. We can ignore GPL code. |
Still, I don't want to disuade you from brushing up on your C :) | |
Graham 16-Jan-2010 [1593x3] | starting .. not brushing up |
yes, OpenGL | |
Have you created a GUI to replace VID using open GL yet ? | |
Maxim 16-Jan-2010 [1596] | as I explained to sunanda, while doing the OpenGL port I decided to build my C code analyzer/compiler/converter to make the process as complete and painless as possible... but I've hit a wall and need a better unit testing engine to complete that and the OpenGL convertion. |
Graham 16-Jan-2010 [1597x2] | so you're stuck ...? |
What about Qt ? Is that feasible? | |
Maxim 16-Jan-2010 [1599x4] | I've used that before but its more pain than gain. |
I'm not really stuck, i'm just building a highway instead of a small road... so it takes a bit more ground work. | |
but the result will be 3 tools instead of one... and about the same time to accomplish the end goal. | |
and then the ability to create complete C extensions for just about any C useable tools in a few minutes. | |
Graham 16-Jan-2010 [1603] | sounds like grandiose ideation ! :) |
Maxim 16-Jan-2010 [1604x4] | no its how every other platform does it. |
using tools like SWIG. | |
I want to do it using REBOL end-to-end. | |
and since the C analyser has a programable emitter, you will be able to customize what it does. | |
Graham 16-Jan-2010 [1608] | What's the ETA for this? Knowing that you start university this week ... |
Maxim 16-Jan-2010 [1609x2] | honestly I don't know, but its a funded project overall, so it is my current job. which means it will happen for sure. I would love to have some usefull OpenGL stuff working in february. |
one reason I'm doing Sea (the C converter) is that for each new improvement of extensions, we will be able to update our tools with a single rebuild of the extension. for large libs this is going to be a big deal. | |
Graham 16-Jan-2010 [1611] | is the funding contingent on delivery ? :) |
Maxim 16-Jan-2010 [1612] | well, usually, you get paid to get things done. but this is an ongoing project. It also has other libraries I must import which I can't talk about right now, but which might be very interesting for the community. |
Graham 17-Jan-2010 [1613x3] | As I said above I don't use imap, and am not familiar with the protocol. All this does is login using auth=login and grabs the first mail in the Inbox http://rebol.wik.is/Rebol3/Schemes/Imap4 |
I don't parse any of the message flags etc. | |
Ok, what do we need for imap? ( although I suspect doing all these email schemes is a waste of time without ssl ) ... | |
Andreas 17-Jan-2010 [1616] | for developing, stunnel will help with immediate ssl issues |
Maxim 17-Jan-2010 [1617] | ssl AFAIK is under the protocol, so even with an SSL module, the schema should not really change. |
Graham 17-Jan-2010 [1618x3] | stunnel adds transparency ... I guess |
anyone got a how to on using stunnel ? | |
The r2 imap protocol is pretty basic ... so I don't see that we need do more than that ....except perhaps allow users to pass custom commands to the server. | |
Andreas 17-Jan-2010 [1621] | stunnel -cf -P '' -d sourceport -r targethost:targetport |
Graham 17-Jan-2010 [1622] | thanks |
Andreas 17-Jan-2010 [1623x3] | -c is for client mode, i.e. so that stunnel will connect to a server -f is so that stunnel stays in the foreground (and you see debug output) -P '' is to avoid creating a pid file (dunno if that is necessary on win32 stunnels) -d sourceport tells stunnel to listen on sourceport -r targethost:targetport to forward data to this target |
re imap: i don't think that much of anything is necessary for imap atm. once i'm satisfied with the pop protocol, adapting it to imap will be quick and easy | |
the more interesting questions would be about a satisfying user interface. mostly how to wrap imap folders nicely in something that feels natural in rebol | |
Graham 17-Jan-2010 [1626] | at present I think you have to specify the folder you want to open in the url for r2 |
Graham 18-Jan-2010 [1627] | Since FTP, andIMAP have folder structures, I propose that we use cd, ls, pwd etc for those schemes that support this. This is no different to the lookup that is done by read, write, length? etc |
BrianH 18-Jan-2010 [1628x2] | Won't work without native changes to CHANGE-DIR, which calls the OS change directory function in the host code. In R3 the current directory is real on platforms that have a current directory (i.e. not WinCE), not faked like on R2. |
Such changes to CHANGE-DIR could break R3 rather thoroughly. | |
Graham 18-Jan-2010 [1630x2] | Why? All it does is check the port type first ... |
and if it's not a file!, then check the scheme to see if there is an actor defined. | |
BrianH 18-Jan-2010 [1632] | Um, no, ports aren';t supported at all, just file! types. You can't even use file:// urls. |
Graham 18-Jan-2010 [1633] | well, still can't see that the issue is not insurmountable .. but we can define 'cd, 'pwd, 'ls, 'rm etc to what needs to be done. |
BrianH 18-Jan-2010 [1634x2] | You could redefine the file and dir schemes in the host code to a virtual file system. It would be easier to have the operating system mount the urls to the filesystem, at least on Windows, OS X and *nix. |
The trick is that the file and dir schemes are defined to be relative to the OS current directory, so you can't separate the two. | |
older newer | first last |