AltME groups: search
Help · search scripts · search articles · search mailing listresults summary
world | hits |
r4wp | 97 |
r3wp | 1238 |
total: | 1335 |
results window for this page: [start: 101 end: 200]
world-name: r3wp
Group: !AltME ... Discussion about AltME [web-public] | ||
Tomc: 17-Jan-2005 | feature request: filter on users or users not in particular groups | |
Brock: 19-Jan-2005 | Feature Request: I'd like a one button push or automtated/timed solution to bring up the "Getting Started Window" OR remove focus from all groups. Why? If you aren't actually using AltME (it's running in the background), and you get new messages, the messages in the group you are currently 'in' aren't highlighted as new. Which can make it confusing when the tool tells you a new message has been received, but you don't see a hightlight on any group (and don't check the time on the messages in the 'current' group). | |
[unknown: 5]: 10-Mar-2005 | I got another request that I think will be cool. Add a private option to the calendar so that it can be run in a local mode so that the data isn't shared. I would think it would be easy to add it since the calendar is already created. | |
Henrik: 13-May-2005 | small feature request: allow images typed in here, such as http://someurl.com/an_image.jpg to be viewed in a popup-window rather than launching in a browser. would that be 3-5 lines of code? just allow the url to be recognized as a jpg, gif, png, bmp or whatever and view it here much faster and more convenient. | |
Sunanda: 9-Jul-2005 | I just tried guest with a password of guest to correct the syncing problem. It says guest/guest is no longer valid. Is that just me, or what? If not, how are new people to request an account? And how do I work around the sync bug? | |
Sunanda: 11-Jul-2005 | Security-wise: removing teh guest account is a great idea Marketing-wise: not so sure....adds another barrier to joining the REBOl community. How do people find out how to request to be pre-approved? (One possible way is for rebol.net mirror t have a form that sends an email [if I can use the E word] to the adminstrator) | |
Sunanda: 23-Aug-2005 | We think alike -- I asked for that back on 11-jul in this group. No response. Maybe it breaks the TOS...I can certainly see issues from an administrator's viewpoint. A single resync id with a password available on request for those who need it.....That would work, I think. | |
Group: RAMBO ... The REBOL bug and enhancement database [web-public] | ||
Anton: 24-Feb-2005 | In #3639, Oldes asks for a request-dir, same as request-file. I've always wanted these to be implemented in rebol. So I created my own, based on scroll-table. | |
Anton: 24-Feb-2005 | do http://www.lexicon.net/antonr/rebol/util/demo-request-dir.r | |
DideC: 25-Feb-2005 | >> do http://www.lexicon.net/antonr/rebol/util/demo-request-dir.r connecting to: www.lexicon.net Script: "Demo request-dir" (28-Dec-2003) Script: "scroll-table style" (7-Mar-2004) Script: "List Sort Button" (10-Dec-2003) Script: "header-group" (7-Feb-2004) connecting to: www.lexicon.net Include: Couldn't load-thru http://www.lexicon.net/anton/rebol/util/request-dir.r ** Script Error: request-dir has no value ** Near: request-dir/initial %./ | |
Gabriele: 25-Feb-2005 | *REQUEST-DIR | |
DideC: 25-Feb-2005 | http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=request-dir.r | |
DideC: 26-Feb-2005 | Yes ok, it works now, thanks. There is not only folders in your request-dir ?!! | |
Tomc: 6-Apr-2005 | Gabriele: Carl thought it was a possibility, and asked me to add the request ro rambo so it did not get lost. | |
Group: Core ... Discuss core issues [web-public] | ||
Ashley: 20-Jan-2005 | Given that we have a 'read-net func, would a 'write-net equivalent make sense? (could then have a [view] 'request-upload func to match 'request-download) | |
Group: Script Library ... REBOL.org: Script library and Mailing list archive [web-public] | ||
Pekr: 26-Apr-2006 | well, why not to discuss it here - I found curious Carl's request to follow reboltak.com. It is interesting aspect - with various products, I am really used to on-line phorums (most of them require registration anyway). I am less and less willing to subscribe to some kind of MLs. OTOH, the interface is slow. Currently we've got ajax as a cure .... to get back where AltME is for few years already .... | |
Volker: 24-Aug-2006 | Tried download again, there is a bug: || Downloading: qml-ed.r/RS-NE+.gif || REQUEST FAILED... || REBOL.ORG says file not in package | |
Maxim: 14-Sep-2006 | well, I did all I can, for some reason, the same code under 1.2.10 and 1.3.2 does not seem to request the same data on the server (I guess). | |
Maxim: 10-Jul-2009 | here is an error I got trying to go to the http-tools.r script... Not Found The requested URL /cgi-bin/cgiwrap/rebol/view-script.r was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache Server at www.rebol.org Port 80 | |
Group: I'm new ... Ask any question, and a helpful person will try to answer. [web-public] | ||
Jean-François: 14-Jul-2005 | How to make this work? >> foreach line read/lines request-file [prin "before " prin line print " after"] ** Access Error: Invalid port spec: /C/Documents and Settings/meta/Desktop/node_list.txt ** Where: halt-view ** Near: foreach line read/lines request-file [prin "before " prin line print " after"] >> I'm trying to read each line from a file and add something before and after thanks | |
Allen: 14-Jul-2005 | foreach line read/lines (to-file request-file) [prin "before " prin line print " after"] | |
Allen: 14-Jul-2005 | The to-file converts the response of request-file to the file! datatype which read/lines is expecting. The () are needed to ensure that the result of to-file is used as the argument | |
Izkata: 14-Jul-2005 | >> request-file == [%/C/Izkata/Rebol/bay.jpg %/C/Izkata/Rebol/palms.jpg] >> request-file/only == %/C/Izkata/Rebol/palms.jpg This might be better to keep anyone from choosing multiple files: foreach line read/lines request-file/only [print ["before " line " after"]] | |
Bobik: 4-Oct-2005 | Could you help me anybody? I have a simple sequences of commands: view layout [label "hello"] tx: request-text "something" ... I need invoke request-text immediately after main window showed - not after the main window is closed... | |
Bobik: 6-Oct-2005 | so how can i get layout of requester(f.e. request-text) to do it ?> insert tail system/view/sreen-face/pane/1/pane <what?> | |
BrianH: 5-Apr-2006 | Yeah, they ported /Core 2.50 to WinCE on StrongARM at my request, but apparently I and my clients were the only ones interested. You can run this build on Windows Mobile but since this was for a Handheld PC it doesn't adjust its window to an onscreen keyboard, making it significantly less useful on the Pocket PC platform. | |
BrianH: 5-Apr-2006 | I will definitely request again when REBOL has Unicode support, probably with REBOL 3. | |
Group: Parse ... Discussion of PARSE dialect [web-public] | ||
Brock: 9-Jun-2005 | Michael, this is going to be a very general response to your request. Review setting up parse rules and use something like... parse text any [rule1 | rule2 | rule3] | |
Group: MySQL ... [web-public] | ||
Dockimbel: 25-Jan-2005 | I've also noticed some "access error" messages from the server under heavy loads. A possible solution is to make connections persistent to avoid the open/close overhead for each request. This should solve most of these kind of issues. | |
rolf: 26-Jan-2005 | @Gabrielle: AFAIK the scroller events just fire the SQL requests when the scroller is moved. So the request can overlap in time. The simple trick above solved the problem. | |
JaimeVargas: 8-Aug-2005 | It is going to become platform. You get access to a plugin API where you can plug-in 3rd db modules. (At leass the was the plan from DevCon'04). Don't know how things will change in the future. You can still request RT to upgrade the drivers. | |
Volker: 9-Jan-2006 | The client now sends a request | |
Dockimbel: 6-Jun-2006 | The server may try a reverse dns request on your IP when you connect and ends with a timeout after 60secs. | |
Dockimbel: 10-Jun-2006 | My driver should reconnect automatically is the connection is closed by the server when you send a new request even after hours of sleeping. I need to test that with a v5 server to see if it behaves as expected. | |
Group: Linux ... [web-public] group for linux REBOL users | ||
Robert: 4-Jun-2005 | What happens if the same IP tries again? The request is blocked immediatly? Why might using a firewall or iptables be better? | |
Group: CGI ... web server issues [web-public] | ||
Volker: 22-Apr-2005 | read-cgi: func [/local data len] [ either system/options/cgi/request-method = "POST" [ len: to-integer system/options/cgi/content-length data: to-string copy/part system/ports/input len ] [ data: system/options/cgi/query-string ] data ] | |
Henrik: 22-Apr-2005 | first I want GET working, haven't tried post yet, but they should be fetched the same way, shouldn't they? if I check system/options/cgi/request-method it's none | |
Henrik: 22-Apr-2005 | (local machine) and it returns: make object! [ server-software: none server-name: none gateway-interface: none server-protocol: none server-port: none request-method: none path-info: none path-translated: none script-name: none query-string: none remote-host: none remote-addr: none auth-type: none remote-user: none remote-ident: none Content-Type: none content-length: none other-headers: [] ] | |
RebolJohn: 18-May-2005 | HELP w/ web rebol associations AND Rebol-View. Here is the story.. On my PC, I have View pointing to an index.r file on my web server. Everything is cool. When I open up Rebol-View and traverse to my index.r on the server.. it works. Now on the same server, I change the IIS-Web associations so that I can do rebol CGI. I create a 'main.r' in some virtual directory on the server. Web-ing to this http.//myserver/mydir/main.r works GREAT! CGI is working. However, when I now open up Rebol-View on my local PC and traverse to my index.r which is on the server.. I get an error. The problem is that before.. rebol-view was requesting a file-download and the server sends it. Now since IIS is doing '*.r' CGI, when rebol-view requests for the index.r download.. the server is processing the request and attempting to send back html.. not a rebol file. Is there any way of fixing this other than.. * changing the CGI association from '*.r' to something else (ie. '*.rr') * changing all my view-apps on the server from '*.r' to something else (ie. '*.rr') ?? | |
François: 25-Jul-2005 | It looks like the problem does not come from the past-translated, but from the 'request-method: with CGI, the values are "GET" or "POST", but with FastCGI, the values are "GET^@^@^@^@" or "POST^@^@^@". But with lighttpd, no problem. So to make FastCGI rebol scripts work with LiteSpeed, we have to update the exemple http://www.rebol.com/docs/words/wread-io.html as: | |
François: 25-Jul-2005 | read-cgi: func [ "Read CGI form data from GET or POST." /local data buf ][ if found? find/any system/options/cgi/request-method "POST*" [ data: make string! 1020 buffer: make string! 16380 while [positive? read-io system/ports/input buffer 16380][ append data buffer clear buffer ] return data ] if found? find/any system/options/cgi/request-method "GET*" [ return system/options/cgi/query-string ] test-data ; if in test mode ] | |
Sunanda: 25-Jul-2005 | Nice research and summary -- It'd be a good idea to drop that change request to RAMBO. That way, it won't get lost http://www.rebol.net/cgi-bin/rambo.r | |
François: 25-Jul-2005 | With Apache 2.x (normal CGI), we have: make object! [ server-software: "Apache/2.0.54 (Fedora)" server-name: "localhost" gateway-interface: "CGI/1.1" server-protocol: "HTTP/1.1" server-port: "80" request-method: "GET" path-info: "/sample01.rhtml" path-translated: "/var/www/html/sample01.rhtml" script-name: "/cgi-bin/magic.cgi" query-string: "" remote-host: none remote-addr: "127.0.0.1" auth-type: none remote-user: none remote-ident: none Content-Type: none content-length: none other-headers: [ "HTTP_HOST" "localhost" "HTTP_USER_AGENT" {Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050720 Fedora/1.0.6-1.1.fc4 Firefox/1.0.6} "HTTP_ACCEPT" {text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5} "HTTP_ACCEPT_LANGUAGE" "en-us,en;q=0.5" "HTTP_ACCEPT_ENCODING" "gzip,deflate" "HTTP_ACCEPT_CHARSET" "ISO-8859-1,utf-8;q=0.7,*;q=0.7" "HTTP_KEEP_ALIVE" "300" "HTTP_CONNECTION" "keep-alive" "HTTP_COOKIE" "PHPSESSID=7f84fd7766f23e1462fed550ecbbfda4" ] ] | |
DideC: 12-Dec-2005 | Good to know !! Looking at some log on a server I have to administrate, Im affraid to see many request trying to find some /ebay, /lassalebank, /admin, /phpmyadmin pages on the site. Internet looks more and more like a jungle. | |
Louis: 10-May-2006 | What is wrong with this script? #!/home/daysprin/public_html/cgi-bin/rebol -cs REBOL [] print "Content-type: text/html^/" html: make string! 2000 emit: func [data] [repend html data] read-cgi: func [ ;Read CGI data. Return data as string or NONE. /local data buffer ][ switch system/options/cgi/request-method [ "POST" [ data: make string! 1020 buffer: make string! 16380 while [positive? read-io system/ports/input buffer 16380][ append data buffer clear buffer ] ] "GET" [data: system/options/cgi/query-string] ] data probe data ] cgi-data: decode-cgi read-cgi print cgi-data write/append %nr.txt reform [ now/date system/options/cgi/remote-addr mold cgi-data newline ] | |
btiffin: 19-Apr-2007 | Hi, question for the webheads. In short. Can a form call a cgi action that processes data but doesn't output any Content-type (or anything for that matter) without the browser status coming up with "waiting for reply". I've got a client that wants a form for requesting more info, but they want to leave the user on the same screen, so I thought I could have a %process.cgi that takes the data and plays with it and then have an intrinsic onsubmit=alert(...) to inform the user that the request has been submitted. The %process.cgi doesn't print "Content-type ..." it doesn't print anything, as I was hoping to leave the same browser screen up. Am I living in lalaland? Should the %process.cgi just redirect back to the original page with? print "location: /original.html^/content-type: text/html^/" or is that deprecated now? It works under my test heads, Cheyenne and nonIE browser, but is there a bigger better way? Or do I tell the client that the browser needs a new page and I can add a back link (not preferred). Thanks for listening | |
Gabriele: 19-Apr-2007 | if you need to rely on JS, you could do an xmlhttp request... | |
btiffin: 19-Apr-2007 | I'm popping up an Alert... This is a client request, I'm looking at options. Thanks for the hints. | |
DanielSz: 25-Jul-2007 | In that ML thread, the request was to handle a multipart upload on the server side (in rebol). I need to perform a multipart upload on the client side (in rebol). As for the seconde link, unfortunately I get "Article x60 is no longer available ". Any idea? | |
Maarten: 10-Nov-2007 | Read that, but that is why the adaptive scaling with lighttpd is interesting if you put number of request/fcgi porcess on 1. Then the daemon scales for you | |
Robert: 11-Nov-2007 | Maarten, I agree with your observation and you can even scale it more. If you see a web-server as just a request dispatcher to CGIs and a fast-answering-machine for user-feedback (pages, forms etc.) you just need a small and "simple" one like Cheyenne. The CGIs can be distributed to different cores (through the OS) or even to different machines (via TCP/IP). | |
Robert: 11-Nov-2007 | As dispatching requests is most likely much faster than processing a request, a single web-server should serve a lot of users and a bunch of machines do the processing. This is the coarse grained multi-process approach. | |
Group: !Readmail ... a Rebol mail client [web-public] | ||
PhilB: 7-Feb-2005 | rebmail 4.8.0 & associated helptext has been released (07/02/2005) ... Changes Since 4.7.14 4.7.15 - Enhancement - Add name & email to substituion in reply text 4.7.16 - Bug Fix - Dont include name from Contacts list 4.7.17 - Bug Fix - Use From email address in Reply substitution 4.7.18 - Bug Fix - If no account is selected then display Alert when getting mail 4.7.19 - Enhancement - Process all picked acounts in Account Maintenance 4.7.20 - Enhancement - Request confirmation before deleting an account 4.7.21 - Bug Fix - If no Contacts exists program as failing on taking Contact menu item 4.7.22 - Enhancement - Process all picked acounts in Account Maintenance 4.7.23 - Enhancement - Make Contact Details a Dialog Box 4.7.24 - Enhancement - make new mail window title 'New Mail' 4.7.25 - Enhancement - Add no of days in search window 4.7.26 - Bug Fix - If password is blank then do not decrypt 4.8.0 - Enhancement - Update Version Number rebmail.r can be found at .... http://www.upnaway.com/~philb/philip/pbmail/readmail.r reabmail is also the following formats rip format at .... http://www.upnaway.com/~philb/philip/pbmail/readmail.rip zip format at .... http://www.upnaway.com/~philb/philip/pbmail/readmail.zip the archive containing rebmail.r & rebamail.html (rip = compressed self extracting rebol archive) Any problems let me know. | |
Group: SDK ... [web-public] | ||
Graham: 6-Apr-2005 | Hmm. Could be. I''ll ask my user to see if they are using request-dir before the error occurs | |
Graham: 2-May-2005 | I've found that this is called when you do a 'request-download | |
Volker: 1-Dec-2005 | (Oops - There was request on "all" for this group) | |
Group: !RebGUI ... A lightweight alternative to VID [web-public] | ||
Ashley: 20-Mar-2005 | Latest release available at: http://www.dobeash.com/files/RebGUI-015.zip Highlights include: - New LED widget - Tweaked check, splitter and tab-panel widgets - Basic edit feel added to area and field widgets - Resizing is now fully recursive - Added a light-weight request-file function for Win32/SDK use - Numerous minor improvements and fixes - Documentation update (the Display User's Guide in particular) | |
Vincent: 20-Mar-2005 | there's a compatibilty problem with 'check and 'led : #[none] #[true] #[false] don't works in /View 1.2.1 . it can be fixed by using reduce [true [...] false [...] none [...]]. (I think backward compatibility should be mandatory only for core functions/widgets, for additional optional elements like 'request-file function and /min-size option, a short note in documentation is enough) | |
Vincent: 20-Mar-2005 | tested 'request-file - spotted a bug: when one uses a filename without a path in it, it causes an error. ie: %my-file.r, split-path gives [%./ %my-file.r], the path isn't cleaned, local-request-file don't like "./" -> error an easy fix is to uses 'clean-path before 'split-path: if file [ set [path file] split-path clean-path path ] that said, 'request-file works well (tested all /options,) and is a lot cleaner and smaller that the VID version :-) | |
Graham: 27-Mar-2005 | I tried adding the following to tour.r #include %gui.r #include %gfx-colors.r #include %request-file.r #include %display.r and encapped,.. but it tried to excute %gui.r | |
Ashley: 27-Mar-2005 | Pekr: the edit feel is pretty basic at the moment (doesn't support highlighting or cut / paste). The Ctrl+BackSpace and Ctrl+Del are "delete to end" and "delete to beginning" respectively, which almost all editors support without the need for highlighting ... now the key mappings are another issue. ;) Graham: You need to add the following to %tour.r: #include %gfx-colors.r #include %request-file.r #include %gui.r #include %widgets.r #include %display.r and comment out the "do %gui.r" in %tour.r and the "do %widgets.r" and "do %display.r" lines in %gui.r. I'll make this less painful in the next release. Brian: See Sunanda's response or just comment out the redefine of 'show in %gui.r | |
Brock: 9-Apr-2005 | Since you are also responsible for RebForms maybe this can be a feature request. In .Net, you can have a form Validation Control, that confirms all of the validation checks on the fields of the form. You are also allowed to indicate for each form element, whether it is to be included in the form-level validation or not (ie, free form text fields typically don't need validation). | |
Ashley: 28-Apr-2005 | Latest build available at: http://www.dobeash.com/files/RebGUI-021.zip Highlights include: - Specification dialect is now VID compatible (and 35% slower) - request-color and request-date added - Span attribute changed from tuple to issue - Couple of minor fixes - %tour.r has an additional "Requestors" tab I wanted to get this build out before folks went too far down the converting from VID to RebGUI and vice versa path. If a parse expert (I'm not one) could suggest performance improvements for the main display parse loop that would be great. | |
Group: !Uniserve ... Creating Uniserve processes [web-public] | ||
Graham: 7-Oct-2005 | and request I guess holds the post data itself. | |
Terry: 11-May-2006 | I second that request | |
Louis: 13-May-2006 | If this list doesn't fulfill all your needs, here's the additionnal features planned for the 1.0 release : * RSP: REBOL Server Pages support. * General CGI support (run any CGI script). * Chunk-encoding transferts support (streamed data transferts). * Standard compression methods support: gzip, deflate, bzip2. * Byte-ranges request support (ability to request files in parts and resume broken downloads). * mod-rewrite module for powerful request URL transformations (without the regexp complexity!). * mod-map-url module for direct URL to REBOL functions or objects mapping. * SSL support. * Advanced GUI client for local and remote administration. | |
Will: 31-Aug-2006 | Mike, I started using Apache and rebol as cgi, this is not suited for performances as on every call to the cgi, a new instance of rebol is initialized, run and closed. I thought about using fastcgi, but never came to a working solution. Now I use uniserve as main webserver, here some advantages: -it is fast! On my local machine I get +- 600 req/sec for static pages and a max of 160req/sec for dynamic rsp pages -it is written in rebol, I could easly(less than 10 lines code) add a rewrite engine -child process are persistent, this mean you can keep state of your web applications, implement caching, keep a pool of connection to databases open (in apache + rebol/cgi you'd have to open and close the connection for every request) -it is written by Dock whom I may be the biggest fan ;-) btw I'm running an unreleased version (have bought commercial support) that support http 1.1, stuff like If-Modified etc.. If you have more specific questions, I'll be glad to try and answer. | |
Will: 1-Sep-2006 | Hello Name example: <% validate [name -]%> <html> <body> <% either request/var/name [ print [{Hello} request/var/name] ][ print {<form method="POST" action="test.rsp"> <input type="text" name="name"> </form>}] %> </body> </html> | |
Group: XML ... xml related conversations [web-public] | ||
Graham: 2-Nov-2005 | At present I fudge it by asking initiators to send a userid with each request so I can determine their rights. | |
Chris: 9-Nov-2008 | The web and soap/http are in a sense REST applications (REST is just WS over HTTP) though both use a limited subset of REST arguments and have to work around as such. The web is limited (by the HTML spec) to the verbs 'get and 'post, and post content types of 'application/x-www-form-urlencoded (default) or 'multipart/form-data (used to upload files). For the most part, the web is RESTful as we usually only want to 'get resources. However, other operations typically violate REST principles, as all other resource actions (create, update, delete) have to squeeze through the get/post/url-encode/multipart pipe. The Rebol HTTP protocol as standard is designed to mimic this and requires patching to move beyond get/post/url-endode (even for multipart) SOAP as I understand it, when using HTTP only uses 'post - the post content contains the actual request. Where it varies from the web (and Rebol HTTP) is the need for the 'text/xml content type. REST itself is limited only by HTTP. It uses theoretically limitless HTTP (v1.1) verbs (though most common patterns use 'get, 'put, 'post and 'delete). It uses any encoding. It uses HTTP headers as parameters (eg. the 'Accept header specifies the desired return type). Therefore, any HTTP protocol designed for REST will accomodate SOAP requests. | |
Group: SVG Renderer ... SVG rendering in Draw AGG [web-public] | ||
shadwolf: 23-Jun-2005 | REBOL [ Title: "SVG Demo" Owner: "Ashley G. Trüter" Version: 0.0.1 Date: 21-Jun-2005 Purpose: "Loads and displays a resizeable SVG file." History: { 0.0.1 Initial release } Notes: { Tested on very simple SVG icons Only a few basic styles / attributes / commands supported Does not handle sizes in units other than pixels (e.g. pt, in, cm, mm, etc) SVG path has an optional close command, "z" ... AGG shape equivalent auto-closes load-svg function needs to be totally refactored / optimized ... *sample only* } ] ; The following commands are available for path data: ; ; M = moveto ; L = lineto ; H = horizontal lineto ; V = vertical lineto ; C = curveto ; S = smooth curveto ; Q = quadratic Belzier curve ; T = smooth quadratic Belzier curveto ; A = elliptical Arc ; Z = closepath ;print: none ; comment out this line to enable debug messages load-svg: function [svg-file [file! string!] size [pair!]] [ id defs x y to-color to-byte draw-blk append-style svg-size scale-x scale-y ][ xml: either string? svg-file [parse-xml svg-file] [ unless %.svg = suffix? svg-file [to error! "File has an invalid suffix!"] parse-xml read svg-file ] unless xml/3/1/1 = "svg" [to error! "Could not find SVG header!"] ;unless find ["id" "xmlns"] xml/3/1/2/1 [to error! "Could not find ID header!"] ;unless xml/3/1/3/1/1 = "defs" [to error! "Could not find DEFS header!"] id: xml/3/1/2 defs: xml/3/1/3 ; ; --- Parse SVG id ; svg-size: either find ["32pt" "48pt" "72pt"] select id "width" [ switch select id "width" [ "72pt" [120x120] "48pt" [80x80] "32pt" [60x60] ] ][ as-pair to integer! any [select id "width" "100"] to integer! any [select id "height" "100"] ] x: to integer! any [select id "x" "0"] y: to integer! any [select id "y" "0"] scale-x: size/x / svg-size/x scale-y: size/y / svg-size/y ; ; --- Helper functions ; to-color: func [s [string!]] [ ; converts a string in the form "#FFFFFF" to a 4-byte tuple to tuple! load rejoin ["#{" next s "00}"] ] to-byte: func [s [string!]] [ ; converts a string with a value 0-1 to an inverted byte 255 - to integer! 255 * to decimal! s ] ; ; --- Parse SVG defs ; draw-blk: copy [] append-style: function [ command [string!] blk [block!] ][ x xy pen-color fill-color line-width mode size radius shape closed? matrix transf-command ][ xy: 0x0 size: 0x0 line-width: 1 matrice: make block! [] radius: none transf-command: none foreach [attr val] blk [ switch attr [ "transform" [print "tranform have been found" ;probe val halt val: parse val "()," transf-command: first val probe transf-command switch transf-command [ "matrix" [ foreach word val [ if not find word "matrix" [ insert tail matrice to-decimal word ] ] ] ] ] "style" [ foreach [attr val] parse val ":;" [ switch/default attr [ "font-size" [ ] "stroke" [ switch/default first val [ #"#" [pen-color: to-color val] #"n" [pen-color: none] ][ print ["Unknown stroke:" val] ] ] "stroke-width" [line-width: to decimal! val] "fill" [ fill-color: switch/default first val [ #"#" [to-color val] #"n" [none] ][ print ["Unknown fill value:" val] none ] ] "fill-rule" [ mode: switch/default val [ "evenodd" ['even-odd] ][ print ["Unknown fill-rule value:" val] none ] ] "stroke-opacity" [pen-color: any [pen-color 0.0.0.0] pen-color/4: to-byte val] "fill-opacity" [fill-color: any [fill-color 0.0.0.0] fill-color/4: to-byte val] "stroke-linejoin" [ insert tail draw-blk switch/default val [ "miter" [compose [line-join miter]] "round" [compose [line-join round]] "bevel" [compose [line-join bevel]] ][ print ["Unknown stroke-linejoin value:" val] none ] ] "stroke-linecap" [ insert tail draw-blk 'line-cap insert tail draw-blk to word! val ] ][ print ["Unknown style:" attr] ] ] ] "x" [xy/x: scale-x * val] "y" [xy/y: scale-y * val] "width" [size/x: scale-x * val] "height" [size/y: scale-y * val] "rx" [print "rx"] "ry" [radius: to decimal! val] "d" [ shape: copy [] x: none closed?: false foreach token load val [ switch/default token [ M [insert tail shape 'move] C [insert tail shape 'curve] L [insert tail shape 'line] z [closed?: true] ][ unless number? token [print ["Unknown path command:" token]] either x [insert tail shape as-pair x scale-y * token x: none] [x: scale-x * token] ] ] ] ] ] insert tail draw-blk compose [ pen (pen-color) fill-pen (fill-color) fill-rule (mode) line-width (line-width * min scale-x scale-y) ] switch command [ "rect" [ insert tail draw-blk compose [box (xy) (xy + size)] if radius [insert tail draw-blk radius] ] "path" [ unless closed? [print "Path closed"] either transf-command <> none [ switch transf-command [ "matrix" [insert tail draw-blk compose/only [ (to-word transf-command) (matrice) shape (shape) reset-matrix]] ] ][ insert tail draw-blk compose/only [shape (shape)] ] ] "g" [ print "Write here how to handle G insertion to Draw block" insert tail draw-blk probe compose/only [reset-matrix (to-word transf-command) (matrice)] ] ] ] probe defs foreach blk defs [ switch first blk [ "rect" [append-style first blk second blk] "path" [append-style first blk second blk] "g" [ print "key word" probe first blk print "matrix and style in G" probe second blk append-style first blk second blk ;print "what to draw in G" probe third blk foreach blk2 third blk [ probe blk2 switch first blk2[ "path" [append-style first blk2 second blk2] ] ] ] ] ] probe draw-blk draw-blk ] view make face [ offset: 100x100 size: 200x200 action: request-file/filter/only "*.svg" text: rejoin ["SVG Demo [" last split-path action "]"] data: read action color: white effect: compose/only [draw (load-svg data size)] edge: font: para: none feel: make feel [ detect: func [face event] [ if event/type = 'resize [ insert clear face/effect/draw load-svg face/data face/size show face ] if event/type = 'close [quit] ] ] options: [resize] ] | |
Group: RT Q&A ... [RT Q&A] Questions and Answers to REBOL Technologies [web-public] | ||
BrianH: 12-Oct-2005 | (By request, relayed from rebcode group) Could you add an APPLY opcode to rebcode? apply: ["Apply function or path to arguments, save result" word! word! | path! block!] In rebcode: apply x f [arg1 arg2 ...] Is equivalent to this in REBOL: x: do f arg1 arg2 ... The advantage to doing function calls this way is that the arity of the opcode is fixed, even if the arity of the function called can't be known ahead of time. The value assigned to the function word could be either a function or a path, or for efficiency you could have a seperate opcode APPLYP for path values (I'd prefer just one opcode for generality but it's your call). | |
BrianH: 15-Oct-2005 | Request withdwarn. | |
BrianH: 20-Oct-2005 | Gabriele or Carl, have you checked the conversation in "Rebol Enhancements" where we were hashing out enhancements to and comments on rebcode? Carl did request this in his blog... | |
yeksoon: 27-Dec-2005 | since I saw Unicode mentioned in the chat message.... I am putting in my "+1" request for Unicode support. eg. languages like Chinese | |
Pekr: 22-Jan-2006 | I was away for a week plus few days, and I thought that maybe I will be suprised by some new releases of Rebol. With RT announcing removal of alpha releases it seems to me, that they also managed to remove steam out of the community once again ... ? At least ppl had something new to test, post new request, ideas, etc. Now we once again don't know, when things like Rebcode will return back, or how Rebcode will be further developed, as we know, it misses security things .... | |
Group: Syncing ... Syncing technologies [web-public] | ||
Pekr: 4-Jan-2006 | I would like to have answered: 1) what technique to use for "timestamping" - do we continue with timestamps against one central time, or do we use hashes, or sequencing numbers, or mixture of mentioned techniqueues? We might look how others do it ... 2) better support for possible conflicts - imagine following scenario - you have some reblet, e.g. Contacts - one person starts editing it, then another person starts editing it too. First one syncs (saves changes), then second one does the same - changes of first ones are lost. How to aproach this - introduce some kind of resources locking? (not real locking, but we are message based, so could be queued) It could work as follows - person 1 wants to edit some record. Edit button posts request-for-lock. Lock is assigned. I other person tries to edit, it will not obtain lock. We could even introduce protocol level support, so that the person is informed, who has the lock, and how long. The trouble usually comes, when person goes off-line after the edit started - we need to remove dead-locks, so by default, I would lock for 20 minutes e.g. and the lock would have to be renewed, if person 1 wants to work longer with the given document ... another scenario is, when you actually start editing something which might require locking, but you start already being off-line. We could create lock-request, just not synced yet. Once you go on-line, you simply check seqno, if the lock is possible, and the given record not modified. But what if it was modified in the meantime? e.g. you might be working with stock system and someone else in the office sells few units, for which you may start writing offer for to another customer. Tough scenario - would like to know your opinion. Maybe some things simply need to be done on-line only? 3) I needed small file-sync scenario - could use IOS, but IOS can't sync and "forget". Simply idea is to have different kind of syncing techniques, so e.g. for file transfer you have dir to sync, if correctly synced, log it, forget it, delete it on client and or server (or not, it depends) as for IOS, local storage could be encrypted (or not), imported into RebDB (no single better solution so far introduced for rebol), sync-per-record or record-set could remain (record=document). RebDB on Serve would speed things up significantly too ... another possibility is to think outside the IOS terms, in more general way - simply thinking about world of objects, being in various states, with various life-time around internet and on-line or off-line devices. I think that maybe we could find some simpler solution than SyncML and the likes ... another point - such techniques should be transport independent, so I would not like to hear that it needs this or that ;-) So, anyone? | |
Group: Tech News ... Interesting technology [web-public] | ||
Pekr: 11-May-2006 | MonetDB/X100 paper - http://www.cwi.nl/htbin/ins1/publications?request=pdf&key=ZuBoNeHe:DEBULL:05 | |
Pekr: 12-May-2006 | If R3 is successfull, then I am satisfied ... but still ... Ruby is much larger community than us. I wonder if Gabriele plus few other contracted, can keep up .... still open sourcing to some extent may help .... but otoh I ma not sure, if some new quality developers would join. I prefer to have rebol extensible by 3rd party developers, rather than have it necessarily open sourced. But then I request RT to port it to new platforms fast enough ... | |
JaimeVargas: 12-May-2006 | How many times has Rebol send you in loopholes, because a feature doesn't exist like certificates, one that you request every so often. That is a productivity problem, one that a large community addresses quickly. | |
Group: !RebDB ... REBOL Pseudo-Relational Database [web-public] | ||
xavier: 14-Nov-2006 | hello, i d like to know if its possible to call db.r script from an encaped program. It says that core 2.6 is needed and if i try to remove the security it fails. what i try to do is the following : rebol [] #include %/C/Documents and Settings/xavier/rebApps/spikes/mezz.r; #include %/C/Documents and Settings/xavier/rebApps/spikes/prot.r #include %/C/Documents and Settings/xavier/rebApps/spikes/view.r test: request-file write %test/param.par test do to-rebol-file read %test/param.par probe db-select * patients ask "" in this example the file u are supposed to point is db.r. When it s not encaped it work, not when it is. if someone has an idea ... | |
Group: Plugin-2 ... Browser Plugins [web-public] | ||
Gregg: 3-May-2006 | The latest client request I got was to have it called something other than "REBOL". I know this sounds funny to us, but they were doing a demo and the potential client did *not* like the idea of installing something that sounded rebellious. Seriously, this happened. | |
Gregg: 3-May-2006 | An OSX version would probably be their request list as well. | |
Cyphre: 4-May-2006 | Hello Josh! I have one request. Try to run this: under IE: http://www.rebol.cz/~cyphre/plugin-ie.html under Mozilla/FF etc.: http://www.rebol.cz/~cyphre/plugin-moz.html Drag the green box using mouse and try to move it quickly over the screen. You can see the time lag when the green box is updating the position. Now try this from normal Rebol/View console: do http://www.rebol.cz/~cyphre/plugin-moz-test.r You can see there is no lag and the green box is updated very quickly. Do yo have any idea what could cause this difference? my specualtions: 1. Are you always blitting the whole screen in the plugin versions? This could cause the slowdown as there should be updated only the part with green box on the screen. 2. Could be the slowdown cause by different(higher) amount of mouse events which are pumped from browser to the plugin? | |
JoshM: 4-May-2006 | Please post your bugs and feature reqs there....one bug/feature request per item. Repro steps and target platform (for bugs) and clear descriptions with examples (for feature requests) help :) | |
JoshM: 5-May-2006 | Here are the scenarios with resolutions in boolean logic as I see them right now: 1. web_site_required_version not found on users computer -- download required version 2. web_site_required_version = version_on_computer && security_min_version > version_on_computer -- popup, request download security update 3. web_site_required_version = version_on_computer && security_min_version <= version_on_computer && latest_version > version_on_computer -- not sure | |
Pekr: 7-May-2006 | ... and if I understood it well, we are looking for unified way of how to access rebol plug-in configuration .... so my concern was, that if someone suggested right-mouse-click here, it could not be regarded being safe, because app developer can request such functionality for app itself, and in such case, there will be no way of how to access it ... | |
JoshM: 10-May-2006 | Browser networking: I could be completely out of my mind, but I'm pretty sure that the browser sets up and tears down connections with each HTTP request. In other words, there's no "open connection" that we can just tap into -- the browser is initiating new requests for each page. To move to an architecture like that for plugin networking calls doesn't make much sense to me.......maybe I'm mis-understanding.... | |
Allen: 15-May-2006 | Volker. Jaime. Clipboard access should probably raise a security request, like it does in (secured) browsers. Maybe it should also be part of 'secure ... | |
Oldes: 16-May-2006 | First thing what should be done is better security request window | |
Group: !Liquid ... any questions about liquid dataflow core. [web-public] | ||
Maxim: 19-Nov-2006 | the nice thing is that in the same network, you can have a mix and match, since they all are lazy internally, but the stainless are told to request their data right after being set dirty. | |
Mario: 18-May-2007 | I compress the CGI request so it's not readable | |
Group: !Cheyenne ... Discussions about the Cheyenne Web Server [web-public] | ||
Dockimbel: 11-Oct-2006 | It connect to a server application, like php-fastcgi or a REBOL FastCGI server built with /Command, or any other server accepting FastCGI clients. Then it sends the HTTP request and wait for a response back. | |
Graham: 11-Oct-2006 | Will "Mike, I started using Apache and rebol as cgi, this is not suited for performances as on every call to the cgi, a new instance of rebol is initialized, run and closed. I thought about using fastcgi, but never came to a working solution. Now I use uniserve as main webserver, here some advantages: -it is fast! On my local machine I get +- 600 req/sec for static pages and a max of 160req/sec for dynamic rsp pages -it is written in rebol, I could easly(less than 10 lines code) add a rewrite engine -child process are persistent, this mean you can keep state of your web applications, implement caching, keep a pool of connection to databases open (in apache + rebol/cgi you'd have to open and close the connection for every request) -it is written by Dock whom I may be the biggest fan ;-) btw I'm running an unreleased version (have bought commercial support) that support http 1.1, stuff like If-Modified etc.. If you have more specific questions, I'll be glad to try and answer." | |
Louis: 12-Oct-2006 | For Text CGI script I get: #!/usr/bin/rebol --cgi REBOL [ Title: "show" File: %show.r ] print "Content-type: text/html^/" print {Back } print ["Script path :" system/script/path " ] print CGI Object :" print " foreach name next first system/options/cgi [ either :name = 'other-headers [ print [ name : ] foreach [n v] list: system/options/cgi/:name [ print [ n : " mold select list n ""] ] print " ][ print [ name : " mold system/options/cgi/:name ""] ] ] print " if system/options/cgi/request-method = POST" [ vars: make object! decode-cgi make string! input if not empty? next first vars [ print " Variables passed : foreach name next first vars [ print [ name : " mold vars/:name ""] ] print " ] ] print | |
Louis: 12-Oct-2006 | For Text RSP script I get: Back Timestamp: Request parameters : HTTP Method: HTTP Port: Client IP address: Request headers : Request variables : Session : SID: No session | |
Graham: 13-Oct-2006 | Does each http request spawn a new instance ? | |
Terry: 13-Oct-2006 | mod-rewrite module for powerful request URL transformations (without the regexp complexity!). There's been some discussion around here on the future of .htaccess ... the timing of this feature may be perfect. | |
Group: DevCon2007 ... DevCon 2007 [web-public] | ||
BrianH: 23-Apr-2007 | I second the request for DevCon reporting. I will not be able to make to Europe this year. | |
[unknown: 9]: 10-May-2007 | I demand....er, request one thing.....my name is Rike-hart, not rye-shard. |
101 / 1335 | 1 | [2] | 3 | 4 | 5 | ... | 10 | 11 | 12 | 13 | 14 |