World: r3wp
[!REBOL3-OLD1]
older newer | first last |
Henrik 27-Jan-2009 [10235] | perhaps a single guaranteed way to provoke crashes to see how they are handled on different platforms. |
[unknown: 5] 27-Jan-2009 [10236] | Pekr, i thought you were parsing the /R3/GUI as word!. Ok, I misunderstood. Thanks Pekr. |
Maarten 27-Jan-2009 [10237] | I like that. This could eb a cult hit. Somebody quits your app, evoke crash. Wish for evoke 'reboot-os!!! |
PeterWood 27-Jan-2009 [10238] | The RebDev Web Client seems to be broken : *** RebDev Error: client is out of date ** Script Error: cause-error-here has no value ** Where: error ** Near: cause-error-here I guess this is to do with the changes being made to the server to fix the "unicode" problem. |
Will 27-Jan-2009 [10239] | is rebol.com going Cheyenne ? |
BrianH 27-Jan-2009 [10240x2] | Nice trick that works in R2 and R3: If you put rebol [] before the code you would otherwise paste in the console and include that header in the copy, you can do clipboard:// to do the code :) |
It doesn't mess up your console history either, as pasting in the console does. | |
Oldes 27-Jan-2009 [10242] | I'm using this one-liner function for it: >> ?? drc drc: func [][do read clipboard://] |
BrianH 27-Jan-2009 [10243x4] | That doesn't need a rebol [] header, and is probably a good candidate for your %user.r. |
Here's my %user.r function: explore: func [ "Open directory in the file manager (shell shortcut function)." 'path [file! word! path! string! unset!] "Accepts %file, :variables, and just words (as dirs)" ] [ path: case [ unset? :path [to-local-file what-dir] file? path [to-local-file path] string? path [path] true [to-local-file to-file path] ] call ajoin [{"} get-env "SystemRoot" {\explorer.exe" } mold path] ] | |
CALL is less capable (and less buggy) in R3, but CASE is more capable :) | |
CALL doesn't support block arguments or any options yet in R3, though you can workaround some of its limitations for now. | |
Pekr 28-Jan-2009 [10247x2] | One question to R3 chat. Was there any change, that enter now does not list new messages one each time? |
If such functionality was removed, how do I simulate it? L does list of msg heading, lm lists msgs even with body. But all of them at once, not one in each press ? | |
Claude 28-Jan-2009 [10249x2] | hi, i am very to play with R3 but i don't find a way to do a round of a amount or decimal with a scale example i would like to 1/3 in a interest amount with 8 decimal . how a can do this with R3 ? the simplest way or the better way ? thank of you all |
i find this way => round/to (1 / 3/) 0.00000001 | |
sqlab 28-Jan-2009 [10251] | round/to 1 / 3 0.00000001 |
Henrik 28-Jan-2009 [10252x2] | It's a known bug |
sorry, I misread. (I read too fast these days) There is indeed a bug which causes certain roundings to be incorrect with the ROUND function, but it should not occur with the above example. | |
sqlab 28-Jan-2009 [10254] | Is there a reason why help displays infos about ports not in the same way as for objects ? There seems just two minor changes needed in dump-obj >> obj [object! port!] instead of << obj [object!] and in help >> print either any [object? value port? value] [print "" dump-obj value] [mold :value] instead of << print either object? value [print "" dump-obj value] [mold :value] |
Gregg 28-Jan-2009 [10255] | Like Oldes, I have a do-clip func in %user.r, along with a cc func to copy, vv to paste, and cdr to "change-dir to-rebol-file". Handy stuff. |
TimW 28-Jan-2009 [10256] | Okay, so there's no GUI in this alpha(stated above)? Also, why aren't the actions of buttons in blocks anymore? That seems ridiculous. |
Steeve 29-Jan-2009 [10257] | uh ? what do you mean ? >>load-gui then >> view [button "test" do [print "test"]] |
TimW 29-Jan-2009 [10258] | Ah...I didn't know you could load the gui. Thanks. And the button action isn't in a block because you're executing the block with 'do. I guess it's not that big of a deal, but it's annoying to me that view[button "test" print "test"] is also valid |
Steeve 29-Jan-2009 [10259] | 'do and 'print are valid actions usable in the dialect. check the content of the guie/actions object to know all the authorized actions. >> first guie/actions == [self do browse run launch view alert close halt quit set of attach submit reset clear focus scroll print dump moved signal] |
Henrik 29-Jan-2009 [10260] | oh, the GUI is there. I retract my previous statement. :-) |
DideC 29-Jan-2009 [10261] | It's not really there, but it's not far away ;-) Demo simply load it from the website. |
Henrik 29-Jan-2009 [10262] | well, then that means we can start working on simple GUI demos for Carl. |
Graham 29-Jan-2009 [10263] | Is there some documentation for the gui? |
PeterWood 29-Jan-2009 [10264] | Have you tried http://www.rebol.net/wiki/R3_GUI? |
Henrik 29-Jan-2009 [10265] | I'm uploading some sources to my site at: http://rebol.hmkdesign.dk/files/r3/gui/ |
Pekr 29-Jan-2009 [10266] | text-view part of demo crashes ... |
Henrik 29-Jan-2009 [10267] | elaborate |
Pekr 29-Jan-2009 [10268] | eh? you launch demo, go few items down in text-list, select text-view, and it crashes to console with: Cannot parse the GUI dialect at: 'set ts read-string %main.r |
Henrik 29-Jan-2009 [10269x2] | Well, that's not my fault. :-) |
the demos will of course have to be made correctly. gui-demo.r is only a launcher. | |
DideC 29-Jan-2009 [10271] | It simply try to read %main.r that is not available in the current dir. So it give an error. |
Henrik 29-Jan-2009 [10272] | Actually it should not crash on that. |
Kaj 29-Jan-2009 [10273x2] | Oh cool, shiny pictures! :-) |
¨demo¨ is currently awfully slow, though - admittedly running on WINE | |
kcollins 29-Jan-2009 [10275] | Another crash in the demo program: on the "Read HTTP" screen, "Run script from net" fails with a "File not found" error. |
Josh 29-Jan-2009 [10276x2] | Maybe I am not in the loop on something, but the times I've tried to run the view alpha, it seems to be missing the view components |
i.e. "layout is not defined" | |
Sunanda 29-Jan-2009 [10278] | you need to load-gui first. Then, don't use layout, that' sso R2. Just: view [button "press" do [print "pressed"]] |
BrianH 29-Jan-2009 [10279] | The LAYOUT function is not in R3 anymore :) |
Graham 29-Jan-2009 [10280] | layout: func [ b [block!] [ b ] for R3 |
Kaj 29-Jan-2009 [10281x2] | I wrote some pointers on the Syllable site: |
http://development.syllable.org/pages/index.html | |
Josh 30-Jan-2009 [10283] | Thanks Sunanda! :-) I had been trying both with and without 'layout with the same result. Looks like I skipped a line in the documentation somewhere. I will go try it now! |
Luis 30-Jan-2009 [10284] | Running drop demo http://www.rebol.net/r3blogs/0098.html I get an: Script error: cannot access locals in path system/view/event-port/locals/handlers |
older newer | first last |