REBOL

REBOL3 - SDK ([web-public])

Return to Index Page
Most recent messages (300 max) are listed first.

#UserMessageDate
1866DockimbelThanks. :-)19-Jan 22:18
1865CyphreDoc: license added.19-Jan 21:25
1864AndreasThanks Cyphre, _much_ appreciated.19-Jan 19:53
1863GrahamC+119-Jan 18:31
1862DockimbelCool, thanks Cyphre! There's no license attached, you should at least add a MIT/BSD license in the header.19-Jan 17:53
1861Cyphre(use at your own risk ;))19-Jan 17:26
1860Cyphreok, you can get it here: https://github.com/cyphre/tls-prototype19-Jan 17:25
1859GrahamCgithub?18-Jan 22:33
1858CyphreDoc: the code is in sort of "prototype state" and It was meant as possible implementation for R3 in future (once Carl put the encryption algorithms codebase into the R3/host-kit or someone write an extension for that). I wrote it because I wanted to know if we could get rid of unnecesary C code that is currently in R2 to just handle the protocol logic while the performance of the crypto algorithms will remain in C. The current size is less than 20Kb of Rebol script code so IMO it could be useful and also easier maintainable way. Currently it works in client-side mode only but there is already support for ASN.1 certificates also I tried to write the code so the server-side mode and other cipher-suites shouldn't be hard to add. I plan to release the prototype to open public after some cleanup but if you want to waste some time with the current 'raw stuff' just post me privately and I'll send you a copy.18-Jan 19:43
1857GrahamCDitto on what doc says16-Jan 20:55
1856GrahamCInteresting ...16-Jan 20:54
1855PekrThat's how imo SSL support should be implemented - not as an hardwired C implementation, but using Rebol crypto facilities, and being part of Core, not Command ...16-Jan 20:48
1854DockimbelCyphre: do you plan to release it in open source? Is your implementation client-side, server-side or both? It would be a great addition to Cheyenne to support SSL natively.16-Jan 16:22
1853CyphreGraham: I was able to implement TLS1.0 protocol configured to use the TLS_RSA_WITH_RC4_128_SHA cipher-suite. All the mentioned algorithms were calculated using the build-in Rebol2 encryption functionality. I had no problems regarding the compatibility. I haven't tried the cipher-suite with the AES enctryption though but my guess it will work as well.16-Jan 15:38
1852GabrieleGraham: IIRC Maarten was able to use AES with REBOL and OpenSSL. I seem to remember that I had tried that and was successful as well. In any case, the only reason I can think of that would make it not work is a difference in the IV and padding.16-Jan 10:15
1851TomBongab, right. e.g md5 for simple password security and rsa for dataflow. the javascript link above containing RSA functions too just to step in.14-Jan 19:22
1850RondonMike, I'm using Rebol /Cmd, because when I call rebol/view at my isp, I receive an error of libX not found..14-Jan 14:10
1849MikeLRondon, Using Rebol View 2.7.8.3.1 on Win/XP I ran your test and decrypt gives back "This is a string"14-Jan 13:19
1848RondonAt least it must be for free in R314-Jan 11:36
1847RondonI'm thinking to convert line by line. I really don't know it's not in the Rebol/Core. Years ago, it should have a market value to pay for it, but now, I really don't know why Carl doesn't include this in Rebol/Core.14-Jan 11:35
1846Rondonhttp://code.google.com/p/crypto-js/14-Jan 11:34
1845Rondonhttp://user1.matsumoto.ne.jp/~goma/js/blowfish.html14-Jan 11:33
1844RondonI've found this 2 scripts:14-Jan 11:33
1843RondonREBOL [ Title: "ARCFOUR and CipherSaber" Date: 17-Jan-2004 File: %arcfour.r Author: "Cal Dixon" Purpose: {Provides encryption and decryption using the ARCFOUR algorithm} Note: {this implementation can decrypt data at about 40KB/s on my 1Ghz AMD Duron system with Rebol/View 1.2.10.3.1} Library: [ level: 'advanced platform: 'all type: [function module protocol] domain: [encryption scheme] tested-under: [view 1.2.10.3.1 on [W2K] by "Cal"] license: 'PD support: none ] ]

;ARCFOUR specification: http://www.mozilla.org/projects/security/pki/nss/draft-kaukonen-cipher-arcfour-03.txt ;CipherSabre specification: http://ciphersaber.gurus.com/faq.html#getrc4

arcfour-short: func [key [string! binary!] stream [binary! string!] /mix n /local state i j output swap addmod sz][ swap: func [a b s /local][ local: sz s a poke s a + 1 to-char sz s b poke s b + 1 to-char local ] addmod: func [ a b ][ a + b // 256 ] sz: func [ s a ][ pick s a + 1 ] state: make binary! 256 repeat var 256 [ insert tail state to-char var - 1 ] j: 0 loop any [ n 1 ] [ i: 0 loop 256 [ swap i j: addmod j add sz state i sz key i // length? key state i: i + 1] ] i: j: 0 output: make binary! length? stream repeat byte stream [ swap i: addmod i 1 j: addmod j sz state i state insert tail output to-char xor~ byte to-char sz state addmod (sz state i) (sz state j) ] clear state return output ]

make root-protocol [ addmod: addmod: func [ a b ][ a + b // 256 ] sz: func [ s a ][ pick s a + 1 ] swap: func [a b s /local][ local: sz s a poke s a + 1 to-char sz s b poke s b + 1 to-char local ] ins: get in system/words 'insert i: 0 j: 0 open: func [port][ port/state/tail: 2000 port/state/index: 0 port/state/flags: port/state/flags or port-flags port/locals: context [ inbuffer: make binary! 40000 state: make binary! 256] use [key n i j] [ key: port/key n: port/strength repeat var 256 [ ins tail port/locals/state to-char var - 1 ] j: 0 loop any [ n 1 ] [ i: 0 loop 256 [ swap i j: addmod j add sz port/locals/state i sz key i // length? key port/locals/state i: i + 1 ] ] ] i: j: 0 ] insert: func [port data][ system/words/insert tail port/locals/inbuffer data do [] ] copy: func [port /local output][ output: make binary! local: length? port/locals/inbuffer loop local [ swap i: addmod i 1 j: addmod j sz port/locals/state i port/locals/state ins tail output to-char sz port/locals/state addmod (sz port/locals/state i) (sz port/locals/state j) ] local: xor~ output port/locals/inbuffer clear port/locals/inbuffer local ] close: func [port][ clear port/locals/inbuffer clear port/locals/state clear port/url clear port/key] port-flags: system/standard/port-flags/pass-thru net-utils/net-install arcfour self 0 ]

arcfour: func [key stream /mix n /local port][ port: open compose [scheme: 'arcfour key: (key) strength: (n)] insert port stream local: copy port close port return local ]

; CipherSaber is an ARCFOUR stream prepended with 10 bytes of random key data ciphersaber: func [ key stream /v2 n ][ arcfour/mix join key copy/part stream 10 skip stream 10 either v2 [ any [ n 42 ] ][ 1 ] ]

14-Jan 11:32
1842RondonI think I'm gonna use this cybersafer script .14-Jan 11:32
1841Rondonprobe doesn't show "this is a string" but another sequence of characters14-Jan 11:29
1840RondonA full function header is used so you can get help on the function later:

help crypt The previous examples now become:

data: crypt "This is a string" #{1122334455667788}

probe crypt/decrypt data #{1122334455667788}

14-Jan 11:28
1839Rondoncrypt: func [ "Encrypts or decrypts data and returns the result." data [any-string!] "Data to encrypt or decrypt" akey [binary!] "The encryption key" /decrypt "Decrypt the data" /binary "Produce binary decryption result." /local port ][ port: open [ scheme: 'crypt direction: pick [encrypt decrypt] not decrypt key: akey padding: true ] insert port data update port data: copy port close port if all [decrypt not binary] [data: to-string data] data ]14-Jan 11:28
1838RondonHi Folks I tried the simple example14-Jan 11:28
1837GrahamCGab, at the time I asked if anyone had any success in this ... and there was no one.14-Jan 11:19
1836GabrieleTomBon: hashing and encryption are not the same thing.14-Jan 10:02
1835GabrieleGraham, you probably just had the IV or padding wrong.14-Jan 10:02
1834GrahamCI tried to do AES encryption but anything I encypted was not de-crpytable by standard tools14-Jan 4:29
1833MikeLWhich refers to http://www.rebol.org/view-script.r?script=crypt.r13-Jan 20:50
1832MikeLRondon, Rebol encryption is well described in this secure document http://www.rebol.com/how-to/encrypt.html#section-1513-Jan 20:47
1831TomBonps: please report which one works ;-)13-Jan 20:28
1830TomBonrondon, you have to check that the choosen encryption scheme is compatible on both sides. at least SHA-1 / MD5 should work.

here you have some javasript routines: http://www.movable-type.co.uk/scripts/sha1.html http://pajhome.org.uk/crypt/md5/index.html

howto rebol: http://www.rebol.com/docs/words/wchecksum.html

just send some test data and adjust the encryption scheme at the javasript side. with luck, the rebol implementation is suitable for the routines above.

13-Jan 20:27
1829RondonIf I use encloak, I really don't know how to decrypt this using javascript.13-Jan 19:59
1828RondonI'd like to encrypt json text using Rebol and AES encryption. And decrypt this using javascript. Do you have any idea how to do this using Rebol. I mean the AES encryption. I mean : txt: "blablablba" key: #CEDEFF.. encrypt txt key ... using AES rhinjael algorithm .. thanks13-Jan 19:58
1827RondonI tried the recipe but it's giving invalid port. I have SDK, license file, but it's not working.13-Jan 19:55
1826Rondonto do this, I need to encrypt my json records using Rebol in the server using 'crypt scheme. Do you have a cookbook to do this?13-Jan 19:55
1825RondonFolks, I'd like to use encryption, to encrypt some json records and deploy it to the browser and decrypt it using this algorithm at http://www.fourmilab.ch/javascrypt/javascrypt.html13-Jan 19:54
1824GreggThe biggest issue with CALL on different versions is whether you use a version that requires /SHOW, which was added in newer releases and causes some compatibility issues. If your process works without showing the window, it shouldn't much matter (unless you go waaaayyy back).13-Jan 18:28
1823sqlabThe best what I get with e.g >> win-call/output "dir" str: make string! 1024 is either "The operation completed successfully." and then an empty file with the name "call-error-695.log" and following "A file can not be created if it already exists." But this problem probably belongs to cheyene e.a. .groups,.13-Jan 10:14
1822PeterWoodthe only downside is that it can't be run under Core.13-Jan 8:56
1821PeterWoodI use win-call/output in the Red testing framework - it works on both Win/XP and Win/7 under REBOL 2.7.813-Jan 8:56
1820sqlabI was not aware that Nenads call also supports output. And indeed win-call/output was not working for me. So far 2.7.5. 2.6.2, 2.5.6 and 2.5.125 is working for me, but the cmd window is annoying, especially as my calls take a long time.13-Jan 8:15
1819PeterWoodI suspect the answer will depend on which version of Windows you are using. If you use Nenad's call.r, you should be able to use any version.

It's available as part of the Cheyenne source - which can be downloaded from http://cheyenne-server.org/download.shtml

13-Jan 7:46
1818sqlabWhich cmd or SDK version is the best using call/output on Win?13-Jan 7:42
1817LouisDoes anyone have a good system for developing using Linux, then compiling using the Windows SDK?30-Dec 4:52
1816LouisAre the source files for the Linux SDK the same as the source files for the Windows SDK?30-Dec 4:48
1815DockimbelYou're welcome.25-Oct 11:39
1814EndoOk, thanks a lot!25-Oct 11:37
1813DockimbelSDK v2.7.6 is available from here: http://www.rebol.net/builds/sdk/25-Oct 11:35
1812EndoOk, my license file works with 2.7.8 also. And rebcmd.exe does not crash. Executable compiled with encmd.exe also does not crash.25-Oct 11:31
1811DockimbelThe same license file will work.25-Oct 11:30
1810EndoOk now I found the URL to download SDK 2.7.8. There is download URL for 2.7.7 in the email that RT send me when I purchase. I changed the url and find the 2.7.8. But I got 404 not found when I try 2.7.6. I'll send a msg to RT. Thank you. May I use my license file for all of them? 2.7.6 to 2.7.8, or do I need to request a new license file as well?25-Oct 11:24
1809DockimbelThere is a SDK 2.7.8, it is just not publicly available. You need to ask RT for it (using the feedback form I guess) or stick with 2.7.6 (which is the SDK version I am still using for production code). 2.7.8 has its own issues, like the CALL/OUTPUT data corruption bug on Windows (http://www.rebol.net/cgi-bin/rambo.r?id=4416&).25-Oct 9:59
1808EndoI bought it just 2 days ago. But I think there is no SDK for 2.7.8. When I click on "REBOL/SDK 2.7.8 Released 9-Jan-2011" link on rebol.com website it goes to http://www.rebol.com/sdk.html and there is a message "We have posted the 2.7.7 SDK packages for a variety of platforms." A bit confusing. But there is just 2.7.7 on download page.25-Oct 9:12
1807DockimbelEndo: if you bought the SDK recently, you should have the 2.7.8 version. From rebol.com home page: "REBOL/SDK 2.7.8 Released 9-Jan-2011"25-Oct 8:07
1806EndoMy SDK version is 2.7.7.3.125-Oct 7:58
1805EndoOk, it looks rebcmd crash problem apeeared in 2.7.7.3.1 and we need to wait for next SDK update. Won't be soon I think.25-Oct 7:55
1804sqlabThere was a similar problem already reported http://www.rebol.org/aga-display-posts.r?post=r3wp291x157025-Oct 6:26
1803GrahamCwhich version of the sdk? I don't have the latest and mine work fine.25-Oct 5:09
1802EndoAnd the executable file produced by encmd.exe also crashes also with REBOL Internal Error: Boot error 316. Can anyone confirm that?24-Oct 20:08
1801EndoBut still rebcmd.exe crashes immediately when I start it. I tried on XP Pro SP3 and XP Home SP3.24-Oct 20:06
1800EndoI'm still playing with it.24-Oct 20:05
1799EndoYes it worked when I include view.r, thank you. I just bought the SDK.24-Oct 20:05
1798james_nak#include %source/view.r24-Oct 14:25
1797GrahamCif you didn't then you might not have layout24-Oct 11:54
1796GrahamCdid you include alll the view files?24-Oct 11:53
1795Endothere is no rebol.r or user.r in the encapsulator's folder.24-Oct 11:23
1794sqlabdid you check your user.r or other files at startup?24-Oct 11:18
1793EndoAnd also when I encap with enface.exe or encmdview.exe, it works, but it says "layout has no value".24-Oct 11:16
1792EndoI have a problem with SDK on Windows. when I start rebcmd.exe it crashes immediately everytime, just after the REBOL/Command window appears. And also when I encap a simple script using encmd.exe, the output file also crashes with REBOL Internal Error: Boot error: 316

Am I doing something wrong? I used drag & drop, interactive etc. modes.

24-Oct 11:03
1791LouisKaj, thanks again. With your help I got it to work.11-Oct 13:10
1790LouisKaj, thanks! I should have realized that obvious fact.11-Oct 11:22
1789KajThat's a Linux path, so it probably doesn't work in the WINE environment11-Oct 9:32
1788LouisHi guys, I have a question. I'm trying to use the Windows SDK with Wine on a linux computer. I get the following error message: "***ERROR (enter-data.r): File not found: /home/lat/r/sdk-w/mezz.r". But that is the correct path to the file. So what is wrong?11-Oct 6:35
1787Maximhahah I didn't even know about system/options/args9-Jun 18:41
1786Greggsystem/script/args is a string. system/options/args is a block (or none).8-Jun 17:46
1785Jankosolution to this is to ask the question and then not go search the internet :)8-Jun 16:09
1784BenBranIronically, all it seems I have to do is post a question somewhere and then I find the answer on the internet. I've been trying to figure that out for several days off and on. Post the question, go back to the internet and then find the answer. Here it is: system/script/args its a string. hope this helps someone else.8-Jun 15:31
1783BenBranIs there an easy way to read a parameter from the command line? I want to display the build history if a person types something like: my.exe -version thanks in advance8-Jun 15:18
1782GrahamChttp://www.compkarori.co.nz:8000/Protocols

Dunno why the VM is so slow ...it's not loaded

24-May 8:35
1781caelumThanks Graham. Do you have a copy of send-gmail.r laying around by any chance? I am trying to get Rebol to make an SSL connection.24-May 7:34
1780GrahamCuse ssl19-May 2:03
1779GrahamCtls is not available19-May 2:03
1778caelumI am using rebcmdview 2.7.6.4.219-May 0:41
1777caelumCan anyone help me with this. I am using Ubuntu. I would like to use SSL & TLS.

I thought Rebol could use SSL & TLS. I have SDK for Linux & Windows (with licenses). But when I try the following on rebcmdview or rebcmd:

>> port: open/direct tls://myhost.example.com:5555

followed by

>> set-modes port [secure: true]

I get the this:

>> port: open/direct tls://myhost.example.com:5555 >> set-modes port [secure: true] ** Script Error: Feature not available in this REBOL ** Where: halt-view ** Near: set-modes port [secure: true]

Any help would be appleciated?

18-May 23:59
1776onetomhttps://secure28.inmotionhosting.com/~rebolc5/cgi-bin/order.cgi?cmd=buy&prod=command6-May 15:15
1775onetomthere is no rebol/command version for mac?6-May 15:15
1774BenBranhow funny - wasn't looking high enough in the tree. I've been using that tree structure for so long that it became transparent over the past couple of years.5-May 20:16
1773Ladislavhttp://www.rebol.com/docs/sdk/sdkintro.html

"The standard REBOL SDK includes these files. " ...

5-May 20:15
1772LadislavYes, that is an alternative way5-May 20:11
1771BrianHThe SDK docs are online here too: http://www.rebol.com/docs/sdkug.html5-May 20:11
1770LadislavI doubt it is so large you don't find it5-May 20:09
1769BenBranknow the path?5-May 20:09
1768LadislavYou get the docs with the SDK5-May 20:08
1767BenBranfound prot-send.r5-May 20:07
1766BenBrandon't know where the SDK docs are. I ususally just use the viewtop to do most everything5-May 20:06
1765LadislavDid you read the SDK documentation how to do it?5-May 20:04
1764Ladislav(you should probably include the %prot.r file to have all the protocols you might need)5-May 20:03
1763LadislavThe SEND function is defined in the %prot-send.r file, so I guess, that you did not include that file when building the program5-May 20:02
1762BenBranHere is a code snippet works in the console, fails after compile: version 2.7.6 -------------------------- REBOL [ ] errorMailHeader: make system/standard/email [subject: "test error"] errorText: "this is an error" emailAddress: "ben@someplace.com" emailAddress: to-email emailAddress

send/header emailAddress errorText errorMailHeader -------------------------- after compile says: ** Script Error: send has no value ** Near: send/header ben@someplace.com" errorText errorMailHeader

any thoughts???

5-May 19:52
1761DockimbelAndreas, thanks.3-Mar-11 8:36
1760DockimbelGraham: no more View popups.3-Mar-11 8:35
1759AndreasThe R3 downloads page recently got more precise about the differences between the various Linux versions:

4.2 - libc6 2.3 4.3 - libc6 2.5 4.4 - libc6 2.11

3-Mar-11 0:03
1758GrahamCthat caused issues for cheyenne running under core3-Mar-11 0:02
1757GrahamCIt's a tray icon ... I don't think there is a popup now in windows .. at least I hope not.3-Mar-11 0:02
1756KajThe older Ubuntu build is indeed best for Core compatibility2-Mar-11 21:29
1755KajOh, right, the popup is Windows only2-Mar-11 21:29
1754DockimbelIt's for Cheyenne, shouldn't matter.2-Mar-11 21:28
1753KajBe sure to test the graphics parts, then2-Mar-11 21:28
1752KajUsually, versions of the GLibC C library and X11 graphics are much more critical than the kernel2-Mar-11 21:28
1751DockimbelOk, thanks. I think I'll stick with 4.2 for now.2-Mar-11 21:28
1750Kaj2.4 Is ancient now; that shouldn't play a role anymore2-Mar-11 21:27
1749DockimbelDo you think that it also has something to do with kernel version (2.4 vs 2.6)?2-Mar-11 21:26
1748KajI think my own graphical Syllable Server currently needs the Fedora build to have reliable graphics2-Mar-11 21:25
1747Kaj4.2 Should be an older Ubuntu. In theory, that should produce good compatibility, but View is unreliable on Fedora and other newer systems, hence the Fedora build2-Mar-11 21:24
1746KajIt's just the build platform, but it may determine on what other systems it does and doesn't work2-Mar-11 21:22
1745DockimbelI'm lost with SDK builds for Linux. What is the difference between 4.2 (Libc6) and 4.3 (Fedora)? Is 4.3 really Fedora-only specific?2-Mar-11 20:40
1744amacleodYes that would work.... (Promt)5-Jan-11 20:58
1743BrianHNot that I know of. Figuring out how to trigger the UAC prompt is on the list of things to do for the new installer though.5-Jan-11 19:39
1742amacleodJust wondering if there is a way to have an sdk app run in admin mode (without the user doing it)? For syncing purposes I had offered to auto correct time nad it worked for XP but windows 7 needs the app to run in admin mode ... I know it goes against the whole idea of security but just in case I'm missing something....5-Jan-11 18:59
1741amacleodcall/output does not seem to work at all on win 7 ... is this a known prob?5-Jan-11 5:20
1740amacleodStrangly it would run the first time on install (sdk version) but never there after, and it would not run from script.5-Jan-11 5:12
1739amacleodver: copy "" call/output "ver" ver

works in xp and vista

5-Jan-11 5:04
1738amacleodver: copy ""call/output "ver" ver5-Jan-11 5:03
1737amacleodI discovered what is causing my program to hang in windows 7....something to do with a "Call/output" command i'm using:5-Jan-11 5:03
1736BrianHApparently we might be getting even more cool stuff for the SDK than have already been posted, so you might want to wait on the SDK for a bit.2-Jan-11 23:59
1735BrianHThe SDK came out at the same time as the regular release, before the blog. Windows only for the moment.2-Jan-11 19:29
1734GrahamCthere's always a lag between the 2 release and the SDK. And these days there's a charge for updates for the SDK.2-Jan-11 17:27
1733Claudeand 2.7.8 ????2-Jan-11 9:09
1732GrahamCand the one for bsd is free :)1-Jan-11 19:02
1731GrahamCThere used to be ...1-Jan-11 19:02
1730BrianHI don't know if there are cross-platform discounts.1-Jan-11 18:52
1729nveSo, user has to pay 750 $ to generate app for Linux, MacOSX, Windows ?! Is this affordable for personnal developpers ?1-Jan-11 18:45
1728BrianHThe answer is yes.1-Jan-11 18:20
1727nveCan someone answer this question ? http://www.quora.com/REBOL/Will-the-Rebol-SDK-only-make-executable-apps-for-the-platform-purchased1-Jan-11 15:46
1726OldesBecause both are the same problem with decompression.18-Nov-10 9:33
1725Henrikthe strange thing is that sometimes it would yield a compression -3 error, while other times it would be out of memory error.17-Nov-10 22:21
1724RobertlInteresting... sounds like a linked DLL problem.17-Nov-10 22:19
1723Henrikapparently it's enough to run a second instance of the encapped program to cause this error.17-Nov-10 20:48
1722RobertHenrik, see PM.17-Nov-10 19:30
1721HenrikIt's quite persistent here. my build system has various settings where it will show up or run normally. I guess I'll have to spend some hours digging.17-Nov-10 19:23
1720GrahamCI've seen that before .. and I just encap it again and sometimes it goes away17-Nov-10 18:54
1719CarlJust a note...

We check www.rebol.com/feedback.html twice a day.

If you have something to ask or report, do it there. Otherwise, we may never see it posted in other places. Thanks.

17-Nov-10 17:44
1718Henrik"not enough memory" ... I'm getting either that one right now or a decompression error. I'm fairly sure the only change I've made is to source code. Ideas?17-Nov-10 17:32
1717ReichartBut no iPhone support?13-Nov-10 6:31
1716BrianHThanks!13-Nov-10 3:46
1715PatrickP61For those of you who want IcoFx Portable: http://portableapps.com/apps/graphics_pictures/icofx_portable12-Nov-10 20:59
1714Maximsimple as pie :-)11-Nov-10 20:52
1713Maximwith icofx, extract the rebol icon, and look at all its sizes/color depths. then open batchmode, import the image you want to use, tick only those which are in the rebol icon, press OK.

and use the result icon in reshacker with: call rejoin ["reshacker -addoverwrite " exe-path "," exe-path "," icon-path ",ICONGROUP,REBOL,1033"]

paths, being absolute and in os-local form

11-Nov-10 20:51
1712RobertOk, thanks for the tip.11-Nov-10 15:21
1711Ashley"not enough memory" ... that's happened in the past for me after icon sizes and color depth values have changed. You may have to recreate the icon set.11-Nov-10 11:37
1710RobertCan someone try to change an icon with ICOFX in an encapped EXE based on SDK 2.7.7? Maybe I'm doing something wrong here.11-Nov-10 9:18
1709RobertYes, it worked with the older SDKs (at least that's the only change I can recognize). The .res and .ico files are all the same.11-Nov-10 9:18
1708GrahamCand it doesn't happen with sdk 2.7.6 ?11-Nov-10 8:06
1707RobertWhen I change an icon of an encapped EXE using the latest SDK, the EXE no longer works. I get an "not enough memory" error. Any idea?11-Nov-10 7:49
1706RobertWell, it does... just reading the web-site helps.11-Nov-10 7:40
1705RobertDoes it support batchmode?11-Nov-10 7:37
1704GreggI've used IcoFX for quite a while. It works well for my simple needs.11-Nov-10 6:46
1703MaximI checked a few sites and they all claim it to be free of malware

http://icofx.ro/

11-Nov-10 0:00
1702Maximjust thought I'd share my positive experience with a little app I just downloaded which *finally* makes creating icons for rebol easy and free:

the editing is simple, but its batch mode is really fast and it works very well! just select one file, select all the resolutions you need (check out the rebol icon first) and go.

in 2 seconds you have an icon for use by rebol!

10-Nov-10 23:59
1701amacleodThanks Gregg...Now what!

I'll have to get my hands on a win 7 machine and play with it I guess...

29-Oct-10 2:11
1700MaximI think that I've had this issue even in xp when I was starting the application using "capture output" of my text editor or something like that. so that the window app hangs while its trying to connect to the console ports.

IIRC you can setup a CALL command in REBOL which ends up doing the same thing though I don't remember how.

28-Oct-10 19:51
1699GreggWorks on Win7-x64 for me Alan.28-Oct-10 19:47
1698GrahamCI've not had any issues with 64 bit windows except for accessing obdc28-Oct-10 18:46
1697DockimbelMaybe Graham has done some testing on 64-bits.28-Oct-10 17:51
1696DockimbelNever tested on 64-bits.28-Oct-10 17:50
1695amacleodThanks doc...it might be only 64 bits thats an issue? Have you tested encapped cheyenne exe's on 64 bit or know of anyone that has?28-Oct-10 17:37
1694DockimbelBtw, I'm running my current Win-7 session with admin rights.28-Oct-10 17:33
1693DockimbelAmacleod: Win7-32bits here, requester window for downloading the DB shows up. Seems to run ok.28-Oct-10 17:30
1692amacleodIf the program runs it will ask you if you want to download it. It will quit if you say no but that will atleast tell me that its running on your system...If you get any window to open that is further than its getting on thses two systems.28-Oct-10 17:24
1691GreggSo I have to DL 100MB before I can test it?28-Oct-10 16:21
1690amacleodgots to run...back in an hour28-Oct-10 16:12
1689amacleodI have some "patches" in there but nothing too crazy.28-Oct-10 16:11
1688amacleodWhen it first runs (if) it will download some support files and a large database (100megs).28-Oct-10 16:09
1687GreggDoing anything funky? Standard VID only?28-Oct-10 16:08
1686amacleodIf you are bored and have the time to test it i'd appreciate it. Here is the link to the program: http://firecaptainnyc.com//clientfiles/captain.exe28-Oct-10 16:08
1685amacleodI do not know if anyone else has tried it on win7...any version28-Oct-10 16:05
1684amacleodI had a report from a user that it did not work on his sys (do not know his sys) so I asked my brother to try it. He is using a laptop.28-Oct-10 16:04
1683GreggJust tested a couple here, and they worked fine. Is it a normal PC, or could there be some odd video driver issue going on?28-Oct-10 16:03
1682amacleodworks fine in viista and xp28-Oct-10 16:03
1681amacleodwin 7 64 bit28-Oct-10 16:03
1680MaximI've had the no window opening problem before... on xp.28-Oct-10 16:02
1679amacleodview window28-Oct-10 15:59
1678GreggIs it a View window or the console that doesn't open?28-Oct-10 15:58
1677GreggMy stuff uses 2.7.6.28-Oct-10 15:58
1676amacleodDoes 2.7.7 fix some probs with win 7. I know they worked on install issues with vista and win7 but perhaps other win7 stuff was worked on. I'm not using the updated sdk but I will get the update if it fixes these issues.28-Oct-10 15:54
1675amacleodI'm not doing thj etesting but I'm sure my brother tried to run it in compatibilty mode with admin rights. He can see it running in processes but the window does not open.28-Oct-10 15:52
1674GreggI haven't run a lot of them, but the main things I've hit were permission related.28-Oct-10 15:51
1673amacleodAnyone having issues with win 7, 64 bit running enacapped programs?28-Oct-10 15:48
1672GrahamIt would be nice if the sdk encapper didn't overwrite the alternate stream when writing out the binary.5-Oct-10 0:55
1671james_nakThanks Ashley. That was the info I used a few weeks back to get out of jam.23-Sep-10 12:22
1670AshleyI've got some info on using ResHacker here: http://www.dobeash.com/RebGUI/cookbook.html#section-2.323-Sep-10 9:53
1669james_nakThat's true - I feel like we're little kids trying to do big boy's work (MS). :-) Of course if it gets the job done...22-Sep-10 18:15
1668GreggDoc, yeah, I've thought about looking at the APIs as well. Somehow I just kept hoping RT would make it automatic for us. :-\ Reshacker is really great, but far too old to be using like this today.

James, I'll zap you what I have to review.

22-Sep-10 18:13
1667james_nakGregg, your work is always appreciated. And yes, I spent a few hours with version info myself the last time I had the great idea to change that. Which just reminded me that I wonder if I bothered to write down what did work... Oh, the insanity, oh the inanity.22-Sep-10 18:10
1666DockimbelGregg: you might also achieve it by bypassing reshack for setting version info, wrapping BeginUpdateResource(), UpdateResource(), EndUpdateResource() from Windows API (feeding it with GetVersionInfo( ) buffer I guess?).22-Sep-10 18:07
1665GreggI have a quick and dirty project generator that spits out the basics for simple REBOL projects. I'm not sure it's worth publishing, but I'm happy to pass it on to anyone who wants to review and comment.22-Sep-10 18:01
1664GreggI'll put it on my to-do list. I'm caught up up through 1993 now.

The biggest pain with reshacker is version info. I couldn't get it to work with version resources as quickly as I wanted so I cheated and pump keystrokes to it.

22-Sep-10 17:59
1663james_nakGregg, that would be a good tutorial on encapping with the Gregg method. I don't do much encapping so each time is a hit or miss and I reshack manually which adds to the time.22-Sep-10 17:49
1662HenrikGregg, I never do it either, but was an "emergency build" that needed to be done right then :-)22-Sep-10 17:17
1661MaximI even prebol stuff manually before calling the encap it allows for a bit more flexibility and control over the whole process.22-Sep-10 17:14
1660GreggYes, I never do that Henrik. I've used a number of systems over the years (I think I posted my enlist script on rebol.org), and now generally use build and encap scripts, with Ladislav's INCLUDE as the foundation. In the encap script I include all the reshacker stuff to set the icon and version info.22-Sep-10 17:11
1659Henrikfound it... but not really where I expected it.22-Sep-10 16:15
1658Henrikor the exe... but it seems no exe is generated.22-Sep-10 16:10
1657Henrikif I drag a script onto enface.exe and it encaps successfully, where is the script put?22-Sep-10 16:02
1656GreggSent.30-Aug-10 16:03
1655GreggSteve, I'm sending you what I have via email.30-Aug-10 16:01
1654MaximI just use Call on reshacker directly.23-Aug-10 20:39
1653eFishAntis there a reshack.r wrapper anyone has done?23-Aug-10 20:38
1652GrahamTrying to see if .net is installed but this gives me an empty block

foreach key keys: list-reg/HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\User Agent\Post Platform" [ print key ]

even though I can see it full of keys in the registry ...

15-Aug-10 5:05
1651LouisBrianH and Graham, I was using enpro. Using enface instead solved the problem. Many thanks!23-Jun-10 3:41
1650BrianHASSERT is supposed to be added in 2.7.8, as a native.23-Jun-10 2:51
1649BrianHINSEERT -> INSERT23-Jun-10 2:50
1648BrianHTossing in an ASSERT/type [system/view [object!]] into INSEERT-EVENT-FUNC would be even less confusing.23-Jun-10 2:49
1647Grahamto make this less confusing23-Jun-10 2:47
1646BrianHYeah, that mentioning is what I just got :)23-Jun-10 2:46
1645GrahamI wonder if it should be renamed though in future ...23-Jun-10 2:46
1644Grahamyes.. it's a parameter to insert-event-func ... as I mentioned above!23-Jun-10 2:46
1643BrianHOh, I just got it, 'funct is a local parameter - that won't even be a problem eventually, nevermind my first message :)23-Jun-10 2:44
1642Grahamthat does sound the most likely cause23-Jun-10 2:43
1641BrianHOr encmdview, yes.23-Jun-10 2:42
1640Grahaminstead of enface23-Jun-10 2:41
1639BrianHThere are 5 encap programs, and it's been years since he last encapped this app. Maybe he's using enbase, encmd or enpro.23-Jun-10 2:37
1638GrahamIncluding the wrong source files ?23-Jun-10 2:36
1637Grahameh? how is that possible?23-Jun-10 2:36
1636BrianHLouis, which encapper are you using? Perhaps you are encapping against the wrong binary.23-Jun-10 2:34
1635BrianHI know that the problem has nothing to do with the FUNCT mezzanine - it errors out before then. His *next* problem will have to do with using 'funct.23-Jun-10 2:33
1634GrahamBrian, in insert-event-func, the parameter name is 'funct ... so nothing to do with the 'funct mezzanine.23-Jun-10 2:32
1633GrahamThe error message says can not use a path on none! so there is a problem with view ...23-Jun-10 2:26
1632BrianHI don't think that would cause your problem though.23-Jun-10 2:18
1631BrianHLouis, were you using a function named 'funct in your encapped application? As of 2.7.7, there is now a FUNCT mezzanine.23-Jun-10 2:14
1630Ashley... or have ommitted the SDK file containing the funct declaration22-Jun-10 23:53
1629Grahamsounds like you got your includes in the wrong order22-Jun-10 20:58
1628LouisIf I replace all the #include's with do, and run it with rebview, it runs without problem.22-Jun-10 14:21
1627Louis** Script Error: Cannot use path on none! value ** Where: insert-event-func ** Near: insert system/view/screen-face/feel/event-funcs :funct :funct ** Press enter to quit...22-Jun-10 14:19
1626LouisI have an encapped program that has worked for years. But it contains a password, and the password had to be changed. Now it won't work when encapped. I get:22-Jun-10 14:18
1625LouisGregg, thanks for responding. What system for catching errors are you referring to?22-Jun-10 14:14
1624GreggIf you mean debugging an encapped app, there is no single best way. It depends on the app. If you have a system in place for catching errors, and logging them, that can help a lot.21-Jun-10 15:51
1623LouisWhat is the best way to debug software made with the SDK?21-Jun-10 5:23
1622Louis.18-Jun-10 17:09
1621GrahamWhich they did :)31-May-10 4:11
1620GrahamI seem to have misplaced my linux sdk license key purchased a few years ago. I thought maybe I could use my windows license key instead .. but sadly, no go. Oh well, emailed sales to see if they can resend it to me.29-May-10 2:53
1619TomBonvery nice rondon, so you are doing rebol consulting in brazil?14-May-10 8:00
1618RondonHow does it work? the host kit, I'm kind of lost here...14-May-10 7:45
1617RondonOk14-May-10 7:45
1616PekrI think that Host Kit is going to be for free. But RT might produce some commercial Extensions ...14-May-10 7:44
1615Grahammy last was intended for Carl!14-May-10 7:44
1614Rondonnoop, I'm doing wonderful things with rebol.. Take a look. http://www.tse.gov.br/internet/cd/tse/index.html14-May-10 7:43
1613Grahamand you don't get consulting requests unless you have ( usually ) a popular language14-May-10 7:41
1612RondonI know, that's what I'm doing.14-May-10 7:41
1611GrahamIt's a micro economy .. the $$ is to be made from consulting14-May-10 7:41
1610GrahamMaking $$ from languages is a dead end14-May-10 7:40
1609Rondonok14-May-10 7:40
1608Rondon:-)14-May-10 7:40
1607GrahamWho knows?14-May-10 7:40
1606Rondonto move to R3, would be an upgrade too ? or new acquisition?14-May-10 7:39
1605Rondonok14-May-10 7:39
1604GrahamOf course ignoring the fact that for years there are not upgrades14-May-10 7:38
1603Grahamthe message is that it costs $50 to upgrade and that's good for a year14-May-10 7:38
1602GrahamI would expect that you either won't need a sdk for R3 if you have host kit ... or, it will cost you :)14-May-10 7:38
1601RondonI know Graham, but what about the next updates?14-May-10 7:38
1600Graham2.7.7 sdk seems to be a mistake.14-May-10 7:37
1599RondonSo, do we have to wait for 2.7.8 SDK to upgrade ? What about the upgrade command inside Rebol? When R3 is finished, do we have to buy a new sdk for R3?14-May-10 7:34
1598GrahamRestart windows and the issue goes away6-May-10 19:45
1597Maximprobe the keystrokes events within a face to see just what is happening.6-May-10 15:03
1596GrahamI don't know if this is an SDK issue or what. I have an encapped application that under windows xp, the copy and paste works fine with control c and v. But under Windows 7, it's not doing anything.6-May-10 0:45
1595GrahamI have command sdk license for Windows and also a separate sdk license for linux. So, there is no point in upgrading both ??9-Apr-10 21:20
1594Maximok thanks for the update.9-Apr-10 18:45
1593CarlThe 2.7.7 release wasn't originally going to be an SDK update, but we realized the changes were quite minor, so did it anyway. "A mistake." The 2.7.8 release will be correct for the SDK/Command etc.9-Apr-10 18:29
1592CarlNot in either DB. (Will msg you directly with info.)9-Apr-10 17:50
1591CarlBH: checking the DB, 1 min.9-Apr-10 17:48
1590CarlThis is one reason we are working on 2.7.8.9-Apr-10 17:47
1589BrianHI have also been having problems with the Windows SDK. I was supposed to be sent a new license for all platforms, but never received it.9-Apr-10 17:47
1588GeocachingSorry, I repeat... I upgraded to sdk 2.7.7 for $50. I am a very old Command and SDK legally licensed user. I am a macosx and windows user. My original license was for windows. According to a mail from Cindy, when upgrading to 2.7.7 existing license file would work for all platforms. I am willing to support rebol development and this why I choose to upgrade even if I do not really have the use for such a minor update. But, it looks that current sdk 2.7.7 release is not really bullet proof: under macosx, rebcmd et rebpro complain they could not find a valid license key file, while encap binaries seem to recognize my license key. Under windows XP, my license seem to be recognized, but rebcmd returns the following error: 'REBOL Internal Error: Boot error: 316' Anyone enconutering such problems? Thanks in advance.14-Mar-10 10:27
1587Geocachinghello all, as a long time licensee of rebol SDK, I upgraded to 2.7.7 for14-Mar-10 10:19
1586Grahamthis is Ashley's code

call/output {reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts"} fonts: copy ""

but although it works for me, I see that on other systems it just locks up.

14-Mar-10 1:40
1585Grahamthink it should be [ ... list of fonts .. ] "URWPA32_0.TTF" true14-Mar-10 1:38
1584Grahamkeys: list-reg/HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" probe keys keys: get-reg/HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts" "URW Palladio L Italic (TrueType)" probe keys keys: exists-reg?/HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts\URW Palladio L Italic (TrueType)" probe keys

produces this

[] "URWPA32_0.TTF" false

14-Mar-10 1:27
1583GrahamIs this a bug ?13-Mar-10 23:34
1582GrahamWonder why this returns an empty set

list-reg/HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts"

13-Mar-10 23:33
1581AshleyIt would be nice if there was a bundle option ... "Buy all SDK's for only ...".5-Mar-10 7:21
1580Henrikthey are all listed on rebol.com4-Mar-10 20:46
1579Henrikseparate PPC and Intel version4-Mar-10 20:45
1578BrianHDoes that include Intel? PPC was released earlier, with the rest.4-Mar-10 20:44
1577HenrikOSX 2.7.7 SDK released.4-Mar-10 20:42
1576BrianHGraham, the changes doc doesn't include most of the changes yet. It's a permissions issue on the new rebol.com site.3-Mar-10 6:46
1575HenrikMoving to advocacy...2-Mar-10 10:31
1574GrahamRT is a single person ... I don't think it's possible for one person to do all of this2-Mar-10 10:30
1573HenrikYes, sorry.2-Mar-10 10:30
1572PekrHenrik - you can repost it in the Advocacy group, if you wish so ...2-Mar-10 10:27
1571HenrikRT should look into how Luxology does it with the 3D modeler, Modo. That model is worth copying parts of and is probably possible to graft onto RT.

Here's how they do it:

- Create a strong and unique product from scratch using people with many years of experience in the business. - Keep a community forum on the main site. - Keep a community creation portfolio on the main site. That's important, perhaps more than the forum. - Have a charismatic front person who is daily in touch with the community. Creates a weekly podcast that also includes personal content and interviews. - This person is so close in contact with the community that he can discuss product pricing and licensing with the community. - Being a private company, they are free to opine on the policies of other companies, and Adobe and Autodesk are often criticized openly by Luxology. - Make it really, really, really, REALLY easy to buy the program. - Make upgrade paths really, really clear. - Make the licensing scheme very loose. Don't bind it to a platform, but to a computer. - Create content, tutorials and other items that are purchasable for a small amount (10-20 USD or so). - Paid content is really cleverly done as an extension of the program. You can buy "kits" that for example let you easily set up studio lighting. This allows people to use the program in ways that were not originally intended or would be laborious to build on your own. In a sense, the 3D modeler is suddenly not only attracting 3D artists but photographers as well. It works similarly to how modules would work in R3. I suspect this will be one of their main income sources. - Keep proprietary tech to yourself and license it to various vendors. This seems to be what they are mainly making their money on now.

This model works really well for them and they are growing constantly and with a fanbase about as strong and loyal as RTs. Luxology feels like a distinctively non-corporate entity, and like more a bunch of people having fun. Purely through years of word of mouth they got their program visible in one of the featurettes for the Avatar movie and on the Apple website demoing the Mac Pro. They even have guys from Pixar on the forums and making tutorials. Modo is known for being different than other 3D modelers much like in the same way that REBOL is different from other programming languages, making it fun to use.

In a sense REBOL as a product is not dissimilar to Modo (it's fun to use) and with their business model already working, I think it could be grafted onto RT's business model.

2-Mar-10 10:24
1570PekrDonate would be much better. Via PayPal or some such ...2-Mar-10 9:54
1569GrahamMy main beef is that there has been no consultation ...2-Mar-10 9:45
1568GrahamEric Raymond considers users who donate time to be very important .. http://catb.org/~esr/writings/homesteading/cathedral-bazaar/ar01s04.html

presumably because they will continue to donate time but would not donate $$

2-Mar-10 9:42
1567GrahamMaybe I can click on some of those new googleads instread!2-Mar-10 9:38

Return to Index Page