Re: Preferred Multi-Platform Development Method

2009-05-21 Thread David Bovill
I've got a similar function, which I've not got around to testing on Windows and Linux yet. There are a few differences (like the use of baseconvert), would be good to get it right? function folder_Preferences if the platform is MacOS then return specialfolderpath(preferences) /

Re: On-Rev down?

2009-05-12 Thread David Bovill
How about the On-Rev client? I can't login. 2009/5/12 Ian Wood revl...@azurevision.co.uk Yes, back up again. Ian On 12 May 2009, at 23:16, Pierre Sahores wrote: Up again after 45 mn of interruption ___ use-revolution mailing list

Re: On-Rev down?

2009-05-12 Thread David Bovill
with the irev client and SSH. We're investigating this, I'll get back to you when I have any more information. If you have SSH access to your account as I do to mine, that may be why your on-rev client isn't working. David Bovill wrote: How about the On-Rev client? I can't login. -- Phil

Re: accessing https URLS with basic authentification

2009-05-11 Thread David Bovill
2009/5/11 Ben Rubinstein b...@cogapp.com Any insights gratefully received, None I can think of Ben - had a similar problem trying to debug an https connection. The only thing I can think of is changing HTTP Agent in the headers - it is the sort of thing that https sites do block. AFAIK -

Command line wants an editor

2009-05-10 Thread David Bovill
error: Terminal is dumb but no VISUAL nor EDITOR defined. Please supply the message using either -m or -F option. There are quite a few command lines programs that do this - any way to hook things up so that Rev acts as the editor - so you can shell(someshell) and when shell asks for an

Re: Command line wants an editor

2009-05-10 Thread David Bovill
Thanks Jim, got around it, by digging into the man pages. As an example though: svn commit 2009/5/10 Jim Bufalini j...@visitrieve.com Hi David, Would you provide the actual shell command you are using? Thanks. ___ use-revolution mailing list

Datagrid: help with EditFieldText

2009-05-09 Thread David Bovill
I have a datagrid form, with a custom row template. I am having problems with a field that will not update the dgData when edited. The others work fine and their properties (ie autotab seem to be identical). I have named the fields the same as the keys in dgData. Having problems debuging, as the

Re: Datagrid: help with EditFieldText

2009-05-09 Thread David Bovill
Update - started working after quitting Rev and coming back to work - ah the magical wonders of a cup of tea :) 2009/5/9 David Bovill da...@architex.tv I have a datagrid form, with a custom row template. I am having problems with a field that will not update the dgData when edited. The others

AppReg3.db

2009-05-09 Thread David Bovill
Anyone no where this file is from - it's been in My Revolution... folder for a while, is ti a rev thing or a GLX2 thing? Time for a spring clean - would like to throw it out :) ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit

Re: AppReg3.db

2009-05-09 Thread David Bovill
Thanks Stephen - I guess what i need to know is if a Rev plugin or framework needs this file - or if it is just hanging around from a tutorial stack. I'll try moving it away and see if anything breaks - trouble is everything is very broken :( Getting a crash every 5 minutes at the moment -

AppReg3.db

2009-05-09 Thread David Bovill
Francisco http://barncard.com 2009/5/9 David Bovill david.bov...@gmail.com Thanks Stephen - I guess what i need to know is if a Rev plugin or framework needs this file - or if it is just hanging around from a tutorial stack. I'll try moving it away and see if anything breaks - trouble

Tip: fix for broken behavior (just in case)

2009-05-08 Thread David Bovill
Some times after a crash, Rev will lose it's links between controls and behaviors. It can take a long time to track this down as put the behavior of grp 1 returns as expected. It is just that none of the behavior scripts get called. Restarting does not help. It's happened 3 times for me, so if

Re: Preferred Multi-Platform Development Method

2009-05-08 Thread David Bovill
I do roughly the same as the other posters - with the exception that for certain projects where there is quite a bit of platform specific code I branch these not within the handler, but out to platform specific handlers that are then kept in platform specific libraries. That way the switching

Re: Joining 2 images

2009-05-04 Thread David Bovill
2009/5/4 Mark Smith li...@futilism.com get shell(convert img1.jpg img2.jpg +append result.jpg) As far as I can tell, magick is not installed on on-rev - I'm not sure how you'd go about installing it, as we don't seem to get shell access. Perhaps a call to on-rev support? Are you sure?

Re: Joining 2 images

2009-05-04 Thread David Bovill
post it here - it would be a great help? 2009/5/4 Gordon Tillman g...@mindspring.com David Bovill wrote: Good grief! Looks like the On-Rev hosting is really stripped down to a bare bones minimum. What happens if you type any of the following at the command line: - make --version

Re: Joining 2 images

2009-05-04 Thread David Bovill
2009/5/4 Mark Smith li...@futilism.com Well, a shell call to convert within an irev script got the dreaded command not found response... Good grief! Looks like the On-Rev hosting is really stripped down to a bare bones minimum. What happens if you type any of the following at the command

Re: Django with On-Rev Using CGI

2009-05-04 Thread David Bovill
Fab! Have not used Django in a few years - have some Rev scripts hanging around somewhere that would parse / create Django XML files... by the way what do you like about Mercurial? I've just moved over to GIT, but not had a look at Mercurial? 2009/5/4 Gordon Tillman g...@mindspring.com Howdy

Re: OT: shell access in on-rev - please do not complain anymore

2009-05-04 Thread David Bovill
Ditto ( not the shell command :) 2009/5/4 Andre Garzia an...@andregarzia.com I for one have a need where I *NEED* to have shell access. I do most of my web developments thru the shell. I edit files, set things, all thru ssh with screen and nano (when I am felling bold, I use emacs). I also

Re: Must be a way: escaping filter patterns

2009-05-03 Thread David Bovill
Thanks Jim - good to confirm that there is no way to escape chars for filter expressions. I guess this is the sort of thing that should be posted as a note to the dictionary. 2009/5/2 Jim Ault jimaultw...@yahoo.com The technique I have used in the past is to do a replace [ with † in

Re: (no subject)

2009-05-03 Thread David Bovill
Everyone gets frustrated from time to time Barry! It's actually really hard to communicate via email, a problem with a graphic interface you have, and a language you are learning - so the result can often be - well frustration :) It's great to post questions, especially if you can copy and paste

Re: Must be a way: escaping filter patterns

2009-05-03 Thread David Bovill
This would usually work : put theader[1] cr after tList put th(1) cr after tList put th(2) cr after tList put th[3] cr after tList put tbody[1] cr after tList put tr[1] cr after tList put td[2] cr after tList put tra[3] cr after tList put tr[11] cr after tList filter tList without

Re: Must be a way: escaping filter patterns

2009-05-02 Thread David Bovill
[[*]] Bernard On Fri, May 1, 2009 at 9:11 PM, David Bovill da...@architex.tv wrote: Still trying to figure this out - my hack ends up failing - I've returned a list of child names from XML, and wish to filter out all the tr elements which appear like tr[1], tr[2]. So I want to filter using tr

Must be a way: escaping filter patterns

2009-05-01 Thread David Bovill
? 2009/4/24 David Bovill da...@architex.tv Any one know the way to escape characters such as [ in patterns for the filter expression? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe

Re: Must be a way: escaping filter patterns

2009-05-01 Thread David Bovill
OK - thanks! 2009/5/1 Sarah Reichelt sarah.reich...@gmail.com On Sat, May 2, 2009 at 6:11 AM, David Bovill da...@architex.tv wrote: Still trying to figure this out - my hack ends up failing - I've returned a list of child names from XML, and wish to filter out all the tr elements which

Re: Behaviors Image References

2009-04-29 Thread David Bovill
Maybe I don't get the question - my guess is you have something like a button in a group that uses an image in its behavior stack for its icon (say the image in the behavior stack is called flag for example), and you want to refer to this image by name - and not have to know / use its ID? The

Datagrids: unsorting data

2009-04-29 Thread David Bovill
Is there a way to unsort a data grid - I think I am right in that sorting sorts the dgText - but possible not the dgData or persistant data - is there an unsort command - I clicked on something I shouldn't of :) ___ use-revolution mailing list

Re: interesting conundrum...

2009-04-28 Thread David Bovill
Lets get some more votes for it - Robert you enhancement request is the same as: - http://quality.runrev.com/qacenter/show_bug.cgi?id=5888 I've voted for both :) 2009/4/28 Robert Brenstein r...@robelko.com On 27.04.09 at 19:02 -0500 Chipp Walters apparently wrote: I'm working on my

Escaping filter patterns

2009-04-24 Thread David Bovill
Any one know the way to escape characters such as [ in patterns for the filter expression? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: On-Rev founders - some speed data?

2009-04-24 Thread David Bovill
2009/4/24 Ben Rubinstein benr...@cogapp.com Of course there are also odd things that are very slow (you can crop an image faster in Transcript than using the built-in command, whch could perhaps be taken as a tribute to the speed of all the commands other than 'crop') :) Do you use lines

dgText [true] question?

2009-04-24 Thread David Bovill
For some reason this is not working for me when the first line of the text data contains titles as tab delimited text. set the dgText [true] of grp 1 of stack Test to tabbedText The table displays nothing (empty), while: set the dgText of grp 1 of stack Test to tabbedText displays the full

Re: On-Rev founders - some speed data?

2009-04-24 Thread David Bovill
Don't you just love Forums :( 2009/4/24 Jim Lyons teacherji...@gmail.com On Apr 24, 2009, at 6:59 AM, David Bovill wrote: NB - AFAIK there is no mention of python on On-Rev - but I've not tested to see if it is installed - can;t imagine it won't be. There is a note in the on-rev forum

Re: dgText [true] question?

2009-04-24 Thread David Bovill
] of grp 1 is still not working with the first line of the table being tab delimited text of the columns titles?... any ideas? - set the dgText of grp 1 is working as expected for the same data. 2009/4/24 Trevor DeVore li...@mangomultimedia.com On Apr 24, 2009, at 7:25 AM, David Bovill wrote

Re: dgText [true] question?

2009-04-24 Thread David Bovill
2009/4/24 Trevor DeVore li...@mangomultimedia.com Do the columns in your header exist in the table? If you pass in true the data grid will not try to create the columns. It assumes the columns are created already. Yes - that's the issue. So now I'm trying to name the columns: set the uProps

Re: Valentina DB 4.1 Introduces Groundbreaking SQL Feature

2009-04-23 Thread David Bovill
Agreed - I've only played with XPath / XSLT - and it does the job - though I think there would be a nicer way to express the queries - either in something we could use with RunRev's hierarchical arrays - or in Valentina. I guess I didn;t really like Xpath and have the feeling it hasn't really

Re: Valentina DB 4.1 Introduces Groundbreaking SQL Feature

2009-04-23 Thread David Bovill
2009/4/22 Ruslan Zasukhin sunsh...@public.kherson.ua On 4/22/09 5:33 PM, David Bovill david.bov...@gmail.com wrote: At the moment we can only search for attributes in XML and loop through other hierarchical data structures (ie arrays or XML with our own recursive algorithms) - having

Re: Valentina DB 4.1 Introduces Groundbreaking SQL Feature

2009-04-22 Thread David Bovill
Thanks Lynn / Ruslan - I've been waiting FOREVER for something that properly handles tree / hierarchical data structures! I seriously can't believe (ranting slightly) , that this is such a rare facility in the world of computer languages and databases. Object-like hierarchical structures are

Re: [OT] Deciding about On-Rev

2009-04-22 Thread David Bovill
Can we use ssh to compile and install binaries? I've had to do this a number of times with my Dreamhost account for instance - mainly to compile command line programs to be used with (Rev) cgi's. I can;t remember the details - but I must have used my user account and not sudo / root. For instance

Re: Searching for a tag name in XML

2009-04-22 Thread David Bovill
2009/4/21 Terry Judd t...@unimelb.edu.au I usually forget revXML and just use replace, itemOffset etc. to parse XHTML. Yes - I've spent ages writing code to do that - but still not got anywhere regarding nested brackets - or am i missing a trick - actually in this case it might not be a bad

Re: Valentina DB 4.1 Introduces Groundbreaking SQL Feature

2009-04-22 Thread David Bovill
2009/4/22 Ruslan Zasukhin sunsh...@public.kherson.ua Actually this is result of efforts as some of Valentina users, which was brave enough to DREAM aloud. So our team. Big amount of work in implementation of this task did Ivan. Ivan - your the man! Have you read article, docs, examples

WWW2009 in Madrid

2009-04-22 Thread David Bovill
So Kevin is speaking now at WWW2009 in Madrid? http://www2009.org/developers.html Abstract. We propose a new web plugin, enabling content creators to step easily to the next level of producing compelling web applications from scratch without needing to learn obscure syntax and concepts. The

Re: Inheritance and Custom Properties

2009-04-21 Thread David Bovill
In general it's good not to use do for repeated actions because of its speed. I've actually not done a speed test, but I'm pretty sure calling a custom prop directly (see below) is much faster. Also using message inheritance will be much faster than repeating manually through all the controls in

Re: Valentina DB 4.1 Introduces Groundbreaking SQL Feature

2009-04-21 Thread David Bovill
Great! Couple of questions: 1. Do you have a url to point to the syntax for addressing hierarchical data? 2. Any plans to have Valentina support with On-Rev? 2009/4/21 Lynn Fredricks lfredri...@proactive-intl.com * Recursive SQL Queries. An advanced feature thought to be the first

Searching for a tag name in XML

2009-04-21 Thread David Bovill
Looks like there is no easy way to search for an XML node? I want to search for a table element in xHTML. I can pull it out by looking for a particular value for the param - say border: put revXMLMatchingNode (treeID, pStartNode, table, border, 2, -1) into foundNode but given that it may or may

UTF8 and hand crafting styles

2009-04-19 Thread David Bovill
I mainly work with htmltext - and add the styling direct to the chunks needed with scripts - like b... /b, font colours, links etc So how should I work with UTF8 that I get from a web service? 1. Turn the utf8 to htmltext and then format as usual 2. Figure out how to insert small utf16

Re: UTF8 and hand crafting styles

2009-04-19 Thread David Bovill
2009/4/19 Mark Schonewille m.schonewi...@economy-x-talk.com Hi David, Do you think that simple conversion to UTF16 won't work? put uniencode(myUTF8Var,UTF8) into myUTF16Var set the unicodeText of fld x to myUTF16Var Once you have done this, you could retrieve and adjust the htmlText.

Script Editor: (Object: cant set script while it is executing)

2009-04-18 Thread David Bovill
Not to up on the RevIDe script editor - keep getting this message, but can;t find which script is executing and command-period is doing nothing. Seems no way out save for force quitting? Any tricks? On a possibly related not - I'm getting stacks that seem to have their modal status changed - you

Re: Inheritance and Custom Properties

2009-04-17 Thread David Bovill
2009/4/17 Jim Bufalini j...@visitrieve.com Can you be more specific about this one command that kicks off the whole shebang? Are you using the newButton, newStack, etc. messages that then do an arbitrary getProp which triggers a sequence of copying the custom properties? Or is it simpler than

Re: Inheritance and Custom Properties

2009-04-16 Thread David Bovill
AM To: use-rev Subject: Re: Inheritance and Custom Properties On 4/15/09 4:58 AM, David Bovill david.bov...@gmail.com wrote: If you want them inherited you need to define a getprop handler. You can inherit any custom property even without getprop handlers, by walking through

Re: Inheritance and Custom Properties

2009-04-16 Thread David Bovill
2009/4/16 Mark Wieder mwie...@ahsoftware.net David- Wednesday, April 15, 2009, 4:58:58 AM, you wrote: If you want them inherited you need to define a getprop handler. Unfortunately, it seems that behavior controls are the exception to this. Placing the getprop handler in a behavior

Initializing local properties

2009-04-15 Thread David Bovill
AFAIK - there is no easy or robust way to initialise local variables? That is you can't do something like: local thisWorks = some long complicated result local thisDoesnt = getComplicatedResult() function getComplicatedResult return some long complicated result end getComplicatedResult

Re: Inheritance and Custom Properties

2009-04-15 Thread David Bovill
2009/4/15 Jim Bufalini j...@visitrieve.com Because they are not inherited, you are able to set them all independently to different values, even though they all have the same names and keys. If you want them inherited you need to define a getprop handler. getprop porkNbeans -- return

Re: Inheritance and Custom Properties

2009-04-15 Thread David Bovill
-revolution-boun...@lists.runrev.com [mailto:use-revolution- boun...@lists.runrev.com] On Behalf Of David Bovill Sent: Wednesday, April 15, 2009 1:59 AM To: How to use Revolution Subject: Re: Inheritance and Custom Properties 2009/4/15 Jim Bufalini j...@visitrieve.com Because

Re: Initializing local properties

2009-04-15 Thread David Bovill
2009/4/15 Richard Gaskin ambassa...@fourthworld.com There's a request for this in the RQCC: http://quality.runrev.com/qacenter/show_bug.cgi?id=1241 Voted for - would be great if others could! Why are globals so unloved? Most programming languages support them so they can be accessed

Re: Inheritance and Custom Properties

2009-04-15 Thread David Bovill
Yes - Mark I filed a similar enhancement request - but prefer the use of lock messages to achieve the same effect. It was turned down - mainly I think because until they started to look at behaviors and actually create some nested groups they didn't see the relevance. 2009/4/15 Mark Wieder

Re: Initializing local properties

2009-04-15 Thread David Bovill
2009/4/15 Richard Gaskin ambassa...@fourthworld.com While we wait for the ability to initialize vars from a function call, a single Init handler in a behavior script may do the trick for now. If you used a script-local var as a flag to see if it's been initialized, you could ensure it's

I'm having behavior problems :)

2009-04-12 Thread David Bovill
Quick note to see if any one has similar issues - I don't think it is quite a bug - but more of a gotcha: - I have a field with a mouseDoubleUp handler in the fields behavior/parent script - the field has an empty script - put the behavior of field 1 - works - but no message is

Re: I'm having behavior problems :)

2009-04-12 Thread David Bovill
2009/4/12 Mark Wieder mwie...@ahsoftware.net If I'm reading this correctly, you're setting the behavior of a field to a button in a stack that you haven't necessarily loaded into memory. No - I just set the behavior of a button in the normal way: set the behavior of grp 1 to the long id

Re: How to put this asynchronously?

2009-04-04 Thread David Bovill
) . :( 2009/4/4 Bernard Devlin bdrun...@gmail.com I believe you should be able to use Mark Smith's libRevCurl to do this (http://futsoft.futilism.com/revolutionstuff.html). Bernard On Fri, Apr 3, 2009 at 10:48 PM, David Bovill da...@architex.tv wrote: We have load, and other async command

Cantmodify tips

2009-04-03 Thread David Bovill
I'd like to set up my stacks so that the Rev IDE asks me to save he stack - only when I have made a structural change. I'm looking at some mix of cantmodify, destorystack/window or closestack or? I have a number of stacks that display info - text lists indexes, and naturally these change

Re: Cantmodify tips

2009-04-03 Thread David Bovill
Thanks Jacqueline - sound easy :) ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution

How to put this asynchronously?

2009-04-03 Thread David Bovill
We have load, and other async command like libURLftpUpload - but is there any way to put a url to a remote (webdav) server asynchronously? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and

Creating complex graphic objects

2009-04-02 Thread David Bovill
I've a couple of shapes that I need to create for an app that lend themselves to the use of the graphic control - because I want them at various sizes and also because they use markers on a graphic shape. The problems is the complexity of tweaking the points by hand. I know of experiments

Re: Creating complex graphic objects

2009-04-02 Thread David Bovill
Try these great experiments: Stacks and Pieces of Code for Runtime Revolution by Alejandro Tejada Capellanhttp://www.geocities.com/capellan2000/ 2009/4/2 Richmond Mathewson gerada...@yahoo.com EPS objects are supported only on Unix systems that support Display PostScript although I had a

Re: Creating complex graphic objects

2009-04-02 Thread David Bovill
Hi James thanks for the pointer - good to have in the library 2009/4/2 James Hurley jhurley0...@sbcglobal.net Message: 8 Date: Thu, 2 Apr 2009 14:52:04 +0100 From: David Bovill da...@vaudevillecourt.tv Subject: Creating complex graphic objects To: How to use Revolution use-revolution

#####REVEXCLUDEDSTRING#####

2009-03-30 Thread David Bovill
Does anyone know how/when RunRev use this - I assume it is for string substitution for characters they have other uses for. It appears sometimes in the message box - replacing these characters - in particular it seems to replace the | - which I am dependent on for a number of (legibility / ease of

Re: #####REVEXCLUDEDSTRING#####

2009-03-30 Thread David Bovill
It's not a command - its something internal to the way the Rev IDE works - the way i came across it is by typing commands in the message box - returning to them on occassions result in the command that was entered - say: put test(Hello|World) looking like: put

Re: #####REVEXCLUDEDSTRING#####

2009-03-30 Thread David Bovill
To clarify this is not a repeatable behavior - it's something I've seen a couple of times. It worries me as i use | as a basic naming convention for a number of pretty low level things. I've posted to the list a couple of times to check if there are any known issues regarding the use of | in file

crop command and resized images

2009-03-30 Thread David Bovill
Anyone know how these play together - trying to create a stack that crops a large image but keeps the highest possible resolution. The image is displayed scaled down and then I indicate the crop area in the GUI. I'm working on the geometry now - I guess this should be possible to do within Rev

Printing in high quality - any experts?

2009-02-16 Thread David Bovill
Anyone know how rev prints images - a Desktop Publishing program will display screen resolution images but use the linked high quality image to print. What does Rev do, if you have a linked image? I am assuming it prints a screen resolution image and ignored the full data in the image on file? If

Scrollbars: basic question

2009-02-11 Thread David Bovill
A few questions about scrollbars: 1. AFAIK you cannot change the appearance of scrollbars to non-system (ie not threeD or square thumbs) and need to use custom scrollbars made from groups of controls? 2. How do you find out the visible height of a scrollbar? 3. Can you set the

OT: address to access hidden Samba share?

2009-02-10 Thread David Bovill
THis is work in progress. I'm experimenting with storing files on a shared NAS, and I want a Rev application to access them (read and write) but I don't want to encourage users to dump stuff in them directly. Most of the PC's are running XP, but the video editing server is running OSX. From the

Script to change Desktop Image / Wallpaper

2009-02-05 Thread David Bovill
I'm thinking of writing something that would change the Desktop image - the need at the moment is to do it just on Windows XP machines. Just looking into how hard this would be to do - has anyone done this - can't see an entry in the list - is the only thing needed to change the Windows Registry?

Re: Scrolling to a line in a field

2009-01-12 Thread David Bovill
Thanks - I'll select the line! 2009/1/12 Devin Asay devin_a...@byu.edu On Jan 11, 2009, at 5:15 PM, David Bovill wrote: I have this old command - and just found that it is not accurate for a field of text with large line numbers. Can anyone make it more accurate? on field_ScrollToLine

Re: Group resize to fit contents

2009-01-11 Thread David Bovill
Thanks Sarah - will see if this matches Revs behaviour! 2009/1/11 Sarah Reichelt sarah.reich...@gmail.com On Sun, Jan 11, 2009 at 10:37 AM, David Bovill da...@architex.tv wrote: I have a script that changes the locklocation of a group to false and I want it to refresh the display so

Scrolling to a line in a field

2009-01-11 Thread David Bovill
I have this old command - and just found that it is not accurate for a field of text with large line numbers. Can anyone make it more accurate? on field_ScrollToLine lineNum, fieldObject -- does not seem accurate for large line numbers (it's an underestimate) ??? if lineNum = 0 then

Group resize to fit contents

2009-01-10 Thread David Bovill
I have a script that changes the locklocation of a group to false and I want it to refresh the display so that the groups border resizes to fit the contents of the group (as it does when you manually move a control) - can't figure - anyone know? ___

Re: [ANN] libJson

2009-01-08 Thread David Bovill
2009/1/7 Mark Smith li...@futilism.com On reason that you might have had trouble base64encoding is that it inserts a newline every 80th (I think) byte, so you only need that to happen once to mess up a scheme that relies on line delimiters. In fact, you can remove the newlines that it

Re: OT - Sound input for a MacPro

2009-01-07 Thread David Bovill
I use a USB logitech web cam with a mic on my MacPro - works well with Skype - and lets you film in HD for podcasts :) You want the Mac version - forget the specifics but can look it up if needed. ___ use-revolution mailing list

Re: [ANN] libJson

2009-01-07 Thread David Bovill
Great! Looking forward to it... link is to the libCurl library I think :) 2009/1/7 Mark Smith li...@futilism.com Here's a first go at a json parser/generator that converts between revolution arrays and json objects/arrays, to an arbitrary level of nesting. It has some basic formatting

Re: [ANN] libJson

2009-01-07 Thread David Bovill
This was just a quick hack - but it did seem to have worked for a while ( i used it for putting arrays inside arrays and storing them as text files - started with XML and then thought the better of it :), but I'm sure there are loads of things it doesn't work with unicode?, certainly not the new

Saving arrays and custom property sets

2009-01-06 Thread David Bovill
From the docs: Saving of array valued custom properties Custom properties that have arrays as values are now saved in the stack file. If such a stack file is loaded into a version of Revolution that does not support multi-dimensional arrays, any

Re: clear the cache used by revBrowser

2009-01-05 Thread David Bovill
I guess this is the cache used by anything that uses webkit to embed the system browser on Macs? If that's the case you may get a conflict with other apps? 2009/1/5 Jim Sims s...@ezpzapps.com The incredibly useful List Archives on page:

TLS

2009-01-03 Thread David Bovill
I'm programing a web service that specifies the use of TLS. From Wikipedia: *Transport Layer Security* (*TLS*) Protocol and its predecessor, *Secure Sockets Layer* (*SSL*), are cryptographic protocolshttp://en.wikipedia.org/wiki/Cryptographic_protocolthat provide security

Where to download beta versions?

2009-01-02 Thread David Bovill
Anyone point me to somewhere to download the latest beta versions manually? I've downloaded 3.5.0-dp-2, but I need to go back to 3.5.0-dp-2. The manage versions Rev interface does not let me do that as I wen from 3.0.0-gm-3 directy to the latest beta.

Re: Where to download beta versions?

2009-01-02 Thread David Bovill
Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Dutch forum: http://runrev.info/rrforum We are always looking for new projects! Feel free to contact us to discuss your custom software project! On 2 jan 2009, at 13:59, David

set the text of line 4 of field id 123?

2009-01-02 Thread David Bovill
These work as expected: put newLine into line lineNum of field id fieldID set the htmltext of line lineNum of field id fieldID to newLine So why on earth does this not work? set the text of line lineNum of field id fieldID to newLine I've always found the properties (text and htmltext) of

Re: set the text of line 4 of field id 123?

2009-01-02 Thread David Bovill
OK - filed as an enhancement request. Vote for it herehttp://quality.runrev.com/qacenter/show_bug.cgi?id=7590- if you feel the same! I guess I could use set the htmltext of line 1 of field even if using plain text - but I think it is just plain counter intuitive as it is - good to see the docs

Re: set the text of line 4 of field id 123?

2009-01-02 Thread David Bovill
OK - thanks for the reply! 2009/1/2 Bill Marriott w...@wjm.org Rev doesn't have the betas available as a download ... that was available only during the open beta for 2.9. Now they're back to getting them from within the Enterprise software. But Heather might be able to help obtain it for

Re: set the text of line 4 of field id 123?

2009-01-02 Thread David Bovill
David Bovill wrote: I guess I could use set the htmltext of line 1 of field even if using plain text - but I think it is just plain counter intuitive as it is - good to see the docs are explicit though :) What I think you want is: put cr into line lineNum of field id fieldID Or you can

Re: Tree Arrays: putting XML in nested arrays

2009-01-01 Thread David Bovill
2009/1/1 Trevor DeVore li...@mangomultimedia.com I've never timed the overhead of filter but in my case I don't notice a speed hit and the structure isn't unnecessary. I use these conversion routines to facilitate interfacing with web services. As soon as I receive a response from the server

Re: Tree Arrays: putting XML in nested arrays

2009-01-01 Thread David Bovill
2009/1/1 Trevor DeVore li...@mangomultimedia.com With your design you are assuming that you will always be working on the entire tree. With my design I want each node of the array to be self contained so that it can be treated as a part separate from the whole. I can extract a node like

Re: Tree Arrays: putting XML in nested arrays

2009-01-01 Thread David Bovill
Good point - wasn't thinking - having problems with the latest beta and script editing, but I'll try and see if there are any speed issues differences, and if not stick with your structures. Thanks. 2009/1/1 Trevor DeVore li...@mangomultimedia.com On Jan 1, 2009, at 2:13 PM, David Bovill wrote

Tree Arrays: putting XML in nested arrays

2008-12-31 Thread David Bovill
*Aim* I am trying to define a generic data structure for storing tree structures such as XML documents in the new nested arrays. I'd ike to use this structure to store XML documents, and to store the tree data structures I use for tree widgets. I'd like it to be simpler to use, understand and

Re: Tree Arrays: putting XML in nested arrays

2008-12-31 Thread David Bovill
Thanks for these trevor - I've only just started so should save plenty of time. One question about the data structure: [root] [...@attributes] [attr1] [node] [node] = value This would mean that to extract the plain tree structure you would have to: filter

revXmlAttribute fails with xmlns

2008-12-31 Thread David Bovill
The revXmlAttribute amd revXmlAttributes functions fail to recognise an xmlns attribute. Try this script in the message box: put message type='chat' xmlns='jabber:client' id='abb4a'/ into testXML put revCreateXMLTree(testXML, true, true, false) into treeID put revXMLAttributes(treeID, message,

put something into url http://www.mydomain.com

2008-11-23 Thread David Bovill
Got a fairly basic http / interent question - how do I set up my server to receive http put? I know I can write a cgi and use post or get - but its ugly, and Ive got a bunch of scripts that use local url's to store things - if I switch the urls to remote ones on my server everything is nice and

Re: put something into url http://www.mydomain.com

2008-11-23 Thread David Bovill
these: http://www.apacheweek.com/features/put http://bitworking.org/news/PUT_SaferOrDangerous Hope it helps, Best, Mark On 23 Nov 2008, at 13:20, David Bovill wrote: Got a fairly basic http / interent question - how do I set up my server to receive http put? I know I can write a cgi and use

Re: put something into url http://www.mydomain.com

2008-11-23 Thread David Bovill
2008/11/23 Mark Smith [EMAIL PROTECTED] David, I'm not expert on this, but I'd bear in mind that webDav is not HTTP (as far as I know). Ive just looked and done a test - and yes WebDav uses PUT and the other basic HTTP actions - it just extends them with metadata and COPY / MOVE etc. I've set

Re: put something into url http://www.mydomain.com

2008-11-23 Thread David Bovill
, either (nothing new there :)). Also, libUrl won't upload files from disc using http. The version currently knocking about used my own socket/http routines, and seems to work well enough, but the version I'm currently working with uses curl. Best, Mark On 23 Nov 2008, at 15:04, David Bovill

Re: Painting on an image in a group?

2008-09-30 Thread David Bovill
Thanks Scott, Joe - I'll go with Scotts solution. Scott a couple of questions - you use the text of image for the contents - just wandering why you like that syntax (it was new to me) - oh and where's the script to select the paint tools :) ___

<    1   2   3   4   5   6   7   8   9   10   >