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

2008-11-23 Thread David Bovill
und 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

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

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 :) ___ use-revo

Re: Painting on an image in a group?

2008-09-29 Thread David Bovill
having success with > user painting under almost all of these circumstances. > > Joe Wilkins > > On Sep 28, 2008, at 3:18 AM, David Bovill wrote: > > It's a group with one image and a button in it. AFAIK - there is no way to >> do this, except be cloing the image

Re: Painting on an image in a group?

2008-09-28 Thread David Bovill
gt; Is it a group of images or a group of mixed objects? > > Joe Wilkins > > > On Sep 23, 2008, at 4:45 PM, David Bovill wrote: > > In the IDE if you select an image in a group and try to paint - it creates >> a >> new image. Is there any way to to set things u

Painting on an image in a group?

2008-09-23 Thread David Bovill
In the IDE if you select an image in a group and try to paint - it creates a new image. Is there any way to to set things up / script it so that a user can paint in an image inside a group? ___ use-revolution mailing list use-revolution@lists.runrev.com P

Re: Distinguishing simple and double clicks

2008-09-23 Thread David Bovill
Thanks for the post Richard - got me thinking about how common using double click is, and essentially it is not that common with applications that fit the noun verb metaphor, but becomes more common in situations where you are navigating information structures with a default browsing / information

Re: Distinguishing simple and double clicks

2008-09-23 Thread David Bovill
2008/9/23 Eric Chatonet <[EMAIL PROTECTED]> > Thanks David: I was afraid of ;-) > > Le 23 sept. 08 à 15:49, David Bovill a écrit : > > > That's what I do. Logically there is no way out of delaying the mouseUp >> until after the the mouseDoubleUp. I think you can

use-revolution@lists.runrev.com

2008-09-23 Thread David Bovill
Originally they called in Transcript - but I guess somewhere along the line they had an in-house marketing talk and decided to get the name out more. It's all a bit confusing. I use Revcode as short hand, and to distinguish it from the Revolution IDE. It's also easier to search for on the web - som

Re: Revolution 3.0 variables ? What has changed ?

2008-09-23 Thread David Bovill
i think you have explicitvariables set to true. That's ot some sort of sensorship - but does force Rev to declare variables. Not sure but in the IDE it may be the menu item "Edit => Variable Checking" ? 2008/9/23 Rolf Kocherhans <[EMAIL PROTECTED]> > Hello all > > I haven't followed the beta cyc

Re: Distinguishing simple and double clicks

2008-09-23 Thread David Bovill
That's what I do. Logically there is no way out of delaying the mouseUp until after the the mouseDoubleUp. I think you can improve it for machines of different speeds and look at things like the doubleclickinterval - but I never really got it working / sound it to be needed except on very old machi

use-revolution@lists.runrev.com

2008-09-23 Thread David Bovill
Just taken a quick look - doesn't look much more than what you'd get with a blog and a post rating system - or am I wrong? It work OK but the forum / blog posting metaphor doesn't help much as the site scales - even with keywords (which IMO are probably the most important navigation if you can get

use-revolution@lists.runrev.com

2008-09-23 Thread David Bovill
Just taken a quick look - doesn't look much more than what you'd get with a blog and a post rating system - or am I wrong? It work OK but the forum / blog posing metaphor doesn't help much as the thing scales - even with keywords (which IMO are probably the most important navigation if you can get

Re: Arrays: new and old keys, i

2008-09-14 Thread David Bovill
Mark you lost me on this thread somewhere: 2008/9/14 Mark Brownell <[EMAIL PROTECTED]> > We can have both worlds right now. If you need sorted and unsorted keys & > order of entry per dimensional layer or not all you need do is add layer [9] > assuming you will never need layer 9. Sorry what's

Re: Arrays: new and old keys, i

2008-09-14 Thread David Bovill
2008/9/14 Richard Gaskin <[EMAIL PROTECTED]> > > put tMyData[5] into tMySnippetA > put tMySnippetA["title"] > put tMySnippetA["body"] > > Are there cases where putting your arrays inside of ordinal wrapper arrays > would be problematic? Most of the time I don't want the complexity - the order

Re: Arrays: new and old keys, i

2008-09-13 Thread David Bovill
2008/9/13 Mark Wieder <[EMAIL PROTECTED]> > > push "title 1" onto theDataA[] > push "title 2" onto theDataA[] > pop theDataA[] into tCurrentTitle That would do me - except the most useful would be the ability to get the full ordered index. put the ordered keys of theDataA Because you want to t

Basic Printing Questions

2008-09-13 Thread David Bovill
I want to print a series of boxes in different orientations on a page. Some rotated, and maybe some flipped. It's great to see all the new print features since 2.9 - there are a lot! *First question* Is it possible to get Rev to print a card onto an area of a page (open printing then print), then

Basic Printing Questions

2008-09-13 Thread David Bovill
I want to print a series of boxes in different orientations on a page. Some rotated, and maybe some flipped. It's great to see all the new print features since 2.9 - there are a lot! *First question* Is it possible to get Rev to print a card onto an area of a page (open printing then print), then

Re: Arrays: new and old keys, i

2008-09-13 Thread David Bovill
2008/9/13 Mark Wieder <[EMAIL PROTECTED]> > > Still not getting it here. I often do that with arrays, but I just use > a multipart key (and now I can use multidimensional array keys). I've > never needed to retrieve elements in the order added and still can't > see the utility of it. The following

Re: Arrays: new and old keys, i

2008-09-12 Thread David Bovill
2008/9/12 Mark Wieder <[EMAIL PROTECTED]> > Trevor- > > Thursday, September 11, 2008, 2:20:36 PM, you wrote: > > > > I'm thinking of how PHP behaves. Arrays in PHP know the order that > > elements were added so that when you use foreach you get the elements > > in that same order. I always found t

Re: macworld - Rev 3.0 coming Monday

2008-09-12 Thread David Bovill
Down the bottom - the unresponsive one is the "result" 2008/9/12 Paul Gabel <[EMAIL PROTECTED]> > I tried that, but the thumbs up symbol was unresponsive (as far as I can > tell). > > Paul Gabel > > --- > > On Sep 12, 2008, at 3:02 AM, Jim Sims wrote: > > >> http://www.macworld.com/ar

First Class Arrays: good news and feature requests

2008-09-12 Thread David Bovill
Oh joy storing the new arrays works! Yes, first lets start with some congratulations! We can now set and get arrays as stored binary custom properties of controls! Now I may be wrong? Possibly this was added earlier and i have not noticed? But I for one have been using a library to get around the

Re: Arrays: new and old keys, i

2008-09-12 Thread David Bovill
2008/9/12 John Vokey <[EMAIL PROTECTED]> > > Can anybody explain what the new array format provides that the old did > not? Hi John - I'll give it a go. In simple terms it promises to replace my use of the XML externals, and other general hierarchical data structures I use frequently. I for one

Re: Mirye Monthly Release: Mirye RevCamp Issue 809

2008-09-11 Thread David Bovill
Hi gang :) My 2 cents worth. I personally would like to receive the information that Lynn, and other commercial developers have, that are related to Revolution. While the market is small - I think it is important for all potential developers that there is one place where all this information is co

Re: Arrays: new and old keys, i

2008-09-11 Thread David Bovill
2008/9/11 Trevor DeVore <[EMAIL PROTECTED]> > On Sep 11, 2008, at 3:10 PM, David Bovill wrote: > > 1) Ability to reference an multi-dimensional keys dynamically. Right now >>> we >>> have to build the array key reference and then use 'do'. >>>

Re: Walking Trees Backwards

2008-09-11 Thread David Bovill
Yes - thanks that's what I was thinking it does not work though as while the maximum depth are all leaves of a tree structure there are other leaves lower down the branches. So I think I'll have to use a technique I've done before which is to turn the tree into an index of paths. So in your exa

Re: Arrays: new and old keys, i

2008-09-11 Thread David Bovill
Great Trevor - was wandering where I'd read your article! 2008/9/11 Trevor DeVore <[EMAIL PROTECTED]> > > As for writing a wrapper, what sorts of routines are you looking for? There > are three features I would really like to see but none of these can really > be handled by a library. They need t

Re: Walking Trees Backwards

2008-09-11 Thread David Bovill
rd walking from leaves to trunk - largely because of issues like where do you start? Which leaf? Does the order matter? Thinking again this is not going to be recursive, you just need to repeat through each leaf. Maybe its not so hard -Original Message- > From: "David Bovill&q

Re: Arrays: new and old keys

2008-09-11 Thread David Bovill
Oh - and anyone know where to find some documentation on the multidimensional arrays in Rev3.0? 2008/9/11 David Bovill <[EMAIL PROTECTED]> > There were some unspecified limits on keys with the old array structures, > and even more with the GUI's that displayed them :) Array valu

Arrays: new and old keys

2008-09-11 Thread David Bovill
There were some unspecified limits on keys with the old array structures, and even more with the GUI's that displayed them :) Array values could always take binary values - so anything basically but the keys could not - so for instance UTF8 unicode keys won't work. Does anyone know what exactly is

Walking Trees Backwards

2008-09-11 Thread David Bovill
No before anyone asks this isn't a new age thing :) It's about hierarchical (tree) data structures - not being a computer scientist its out of my league, and I feel that someone who knows a bit about these beasts can advise. *Task* I want to put an indented outline (more generally a tree structure

Re: [FYI] WEBKIT

2008-09-11 Thread David Bovill
True - haven't done that - think it wouldn't distinguish between identical frameworks installed in different places. I guess my main interest is where the WebKit framework that Rev uses is. By looking in the bundles of Safari and the nightly WebKit.app builds - it is clear that Safari is using a s

Re: chat protocols

2008-09-11 Thread David Bovill
I'll be upgrading my Jabber / GoogleTalk library - once I've finished catching up with Rev 3.0. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http

Re: [FYI] WEBKIT

2008-09-08 Thread David Bovill
It's a little confusing. I've been trying to figure out the details, as its also relevant to how revBrowser works - particularly with things like plugins for Safari. This is the question I've asked on the WebKit forums: As the WebKit.app nightly build and Safari are both based on the Webkit frame

Re: Text of an image

2008-09-05 Thread David Bovill
Interesting Klaus - I'd got into a bit of a habit of using Players often instead of image controls - partly because you can display a wider range of media - and well what's the difference? In fact given you figures it would seem that there are the only reasons not to use a player would be: 1.

Re: Revolution 3.0 > New script editor

2008-09-04 Thread David Bovill
2008/9/4 Richard Gaskin <[EMAIL PROTECTED]> > Mark Schonewille wrote: > > What would you say about designing your own script editor? > > I'm curious about what your ideal script editor would > > look like. > > Here's the one Ken and I and some of our clients use: > >

Finding stacks with spotlight

2008-09-02 Thread David Bovill
This function finds all your stacks on the hard disk, and optionally searches for text or words in the file name. It's OSX only and can be done in transcript but thats slower and avoids problems such as loading all the stacks into memory: function spotlight_FindStack fileBit, inFolder /* http

Re: function: text_Utf8ToHtml

2008-09-02 Thread David Bovill
Voted for! ___ 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

Re: [OT] Comics Used To Explain New Web Browser Coming From Google

2008-09-02 Thread David Bovill
Nice and informative article Scott - thanks for posting. 2008/9/2 Scott Rossi <[EMAIL PROTECTED]> > Interesting article and technical development. > > http://db.tidbits.com/article/9754 > > Regards, > > Scott Rossi > Creative Director > Tactile Media, Multimedia & Design > > > ___

Unicode Question

2008-08-30 Thread David Bovill
Still having a few problems: Using this function: setprop view_Utf8 someUtf8 put the text_Field of me into textField put uniencode(someUtf8, "UTF8") into someU16 set the unicodetext of textField to someU16 end view_Utf8 and getting UTF8 from the XML file (an assumption), I get resul

function: text_Utf8ToHtml

2008-08-29 Thread David Bovill
Guess this will have to do. Seems to work: function text_Utf8ToHtml someUtf8, someField lock screen put the htmltext of someField into oHtml put uniencode(someUtf8, "UTF8") into someU16 set the unicodetext of someField to someU16 put the htmltext of someField into someHtml

Basic Unicode issue

2008-08-29 Thread David Bovill
AFAIK Rev uses UTF16 natively for unicodetext, and for interconversion between formats. So if you have UTF8 text from XML you need to convert it up to UTF16 before you do something with it. So far so good - or am I missing something? *Mixing unicode and htmltext* The question I have is about html

Re: Re: XML Question

2008-08-29 Thread David Bovill
Below is the parsing script. All the tags from the feedML end up in the arrays. Only the tags with name spaces (ie colons in their names are failing to be found). on mouseUp put "http://feeds.delicious.com/v2/rss/fortyfoxes/RunRev"; into feedXML delicious_ParseTaggedUserBookmarks feedXml,

Re: XML Question

2008-08-29 Thread David Bovill
OK. I have not yet had to pay much attention to these XML DTD / name space issues - so help me out on this. AFAIK the name space is defined in the header of the XML, i this case the standard Atom header: http://www.w3.org/2005/Atom"; xmlns:content=" http://purl.org/rss/1.0/modules/content/"; xmln

Re: XML Question

2008-08-29 Thread David Bovill
2008/8/29 Terry Judd <[EMAIL PROTECTED]> > > Depending on how complex the xml is you may be better off writing your own > parser from scratch, bypassing the revXML routines altogether. That's what I have been doing - but this is surely a hack. With things like atom feeds, we should have simple g

Re: XML Question

2008-08-28 Thread David Bovill
Thanks Terry - so it's a known issue? I think I'll ignore those tags for now in the hope that it get fixed. 2008/8/29 Terry Judd <[EMAIL PROTECTED]> > David, > You could replace them before you load the xml (maybe with an underscore) > or > perhaps try Ken Ray's (excellent) 'transcript'-based XML

XML Question

2008-08-28 Thread David Bovill
I've hit a small problem parsing an atom feed. Its with tags that look like this: Just a comment Tags with names that contain colons seem to fail? Any suggestions? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to

RSS Library

2008-08-28 Thread David Bovill
Has anyone got any handlers for reading / parsing RSS / Atom feeds? Mine are fairly random :) ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http:/

Re: Suggestion: Arrays in Rev3 beta

2008-08-28 Thread David Bovill
repeat for each parargraph P in tPage > add 1 to count > put extractHeading(P) into tArray[n]["heading"] > put extractParagraph(P) into tArray[n]["text"] > end repeat > > then: > > repeat with n = 1 to the number of lines in keys(tArray) > get tA

Re: Suggestion: Arrays in Rev3 beta

2008-08-28 Thread David Bovill
2008/8/28 Bernard Devlin <[EMAIL PROTECTED]> > > Personally the returned keys being unordered has never been an issue for > me. > Can you illustrate some situations where this is a problem? In parsing data in order to layout in Rev I often use arrays. However the order of the original data is o

Suggestion: Arrays in Rev3 beta

2008-08-27 Thread David Bovill
Got another question / suggestion about arrays in Rev3 beta - I'd test / suggest it but still no reply from Bill or from joining up (same happened last beta) Keeping track of order in arrays is hard as keys(someArray) does not return the keys in the order added - would be great to fix that. __

Re: date_Construct8601 (was numberformat)

2008-08-27 Thread David Bovill
No - I don't think so. 2008/8/27 william humphrey <[EMAIL PROTECTED]> > Can the format command be used to solve the common task of needing a number > 000,000,000 (put the commas in)? > > Or the format number like accountants > > $ 000,000,000.00 ? > > I noticed it has the option for #

libURL: feature request

2008-08-27 Thread David Bovill
Could we have: function libUrlGetLogField >return lvLogField > end libUrlGetLogField > As libURL uses local variables like "lvLogField" there is AFAIK no way to get at them - I want to ensure a checkbox shows whether a custom logfield is set and at the moment I have to track it manually whic

Re: date_Construct8601 (was numberformat)

2008-08-27 Thread David Bovill
Yeah - thanks Sarah - I've just been learning "format" and you beat me to it :) There are a few other versions as some implementations don't use the full standard - so I'll add those then post the handler. Its going to be much easier to add them now just by using different format strings. I've stuc

Re: Numberformat

2008-08-26 Thread David Bovill
Great! 2008/8/26 Mark Smith <[EMAIL PROTECTED]> > David, you need "%02d". > > Best, > > Mark > > > On 26 Aug 2008, at 21:20, David Bovill wrote: > > 2008/8/26 Mark Smith <[EMAIL PROTECTED]> >> >> The docs say "It affects nu

date_Construct8601 (was numberformat)

2008-08-26 Thread David Bovill
FYI- her is the function so far: function date_Construct8601 someDate, someTime, extended, isUTC if someTime is empty then convert someDate to dateItems put item 1 of someDate into y put date_PadTwoZeros(item 2 of someDate) into mons put date_PadTwoZeros(item 3

Re: Numberformat

2008-08-26 Thread David Bovill
Hi William - the functions I'm posting are examples of a much more complicated function I am trying to update / simplify. Its real ugly uless I can use the nice built in "format" functions :) 2008/8/26 william humphrey <[EMAIL PROTECTED]> > Spoke to soon > try > > put "0" & "8" + 2 > > > and this

Re: Numberformat

2008-08-26 Thread David Bovill
2008/8/26 Mark Smith <[EMAIL PROTECTED]> > The docs say "It affects numbers only when they are calculated and then > displayed or used as strings." > > I found that if you use > > this forces padedNum to be a string, and you get '08' > > I've always found the numberFormat thing confusing, so I al

Re: Numberformat

2008-08-26 Thread David Bovill
I get a "8". Here I've extracted this function: function date_PadTwoZeros someNum > set the numberformat to "00.##" > put item 1 of someNum + 0 into padedNum > set the numberformat to "0.##" > return padedNum > end date_PadTwoZeros > > put date_PadTwoZeros("8") --> "8" > >

Numberformat

2008-08-26 Thread David Bovill
I can never get this working... or has something changed? I want a number formatted to 2 chars and padded with leading zeros if it is only 1 digit. I thought numberformat did this (for containers as well as fields by forcing a calculation by adding zero. So: set the numberformat to "00.##"

Re: Revbrowser: checking for form submission

2008-08-26 Thread David Bovill
Beware of long term caffeine exposure - it makes your hair turn green. ___ 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/mailm

Re: Revbrowser: checking for form submission

2008-08-25 Thread David Bovill
Nice - see you've been experimenting! ___ 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

Re: Revbrowser: checking for form submission

2008-08-25 Thread David Bovill
he external (see bug 5125 - I'm still waiting for this to be confirmed > after 15 months!). > > Terry... > > > On 25/8/08 5:00 AM, "David Bovill" <[EMAIL PROTECTED]> wrote: > > > Is there any way to check whether RevBrowser is posting a form? I don;t

Revbrowser: checking for form submission

2008-08-24 Thread David Bovill
Is there any way to check whether RevBrowser is posting a form? I don;t think there is a suitable message to trap? I want to update some GUI elements if a user submits new information via the browser. As the forms use http "post" not "get" I don;t think any of the normal navigate messages are going

Re: HTML SMTP Library

2008-08-24 Thread David Bovill
What do people think the best way of sending a form is via email with Rev? Sean - I don't get the bit about SMTP - from I "thought" you multi-part mime-encode the message (more or less like you do with http posts), and then use the SMTP protocol - am I wrong is is that what you were saying I I got

iMovie Thumbnais

2008-08-22 Thread David Bovill
Anyone know off hand what codec Apple Uses for the video thumbnails and preview in iMovie. My guess is that when a movie is imported into a project a preview clip is made which allows fast panning around. If we wanted similar functionality in Rev which codec should we use? _

[OT] - first class languages and the new arrays in Beta 3

2008-08-22 Thread David Bovill
Unfortunately I can't test this as there is still no response to my application for beta testing :( But someone who has the 3.0 beta maybe can answer? I've been learning Lua for a project and a few things have impressed me - first how similar the syntax is, and second how much the language gets ou

Re: LaTex -- Convert to XML

2008-08-21 Thread David Bovill
2008/8/21 Sivakatirswami <[EMAIL PROTECTED]> > Anyone doing LaTex conversions? I need to get from LaTex to XML to > InDesign. > > The LaTex format is straight forward, and writing a parser for it can be > done. The job we have in mind will not necessary include all the complex > LaTex mark up for

Re: communication between rev and revBrowser

2008-08-18 Thread David Bovill
No "built in" way - out of interest what other environments do this - would be interested to check. There are only few hacks I can think of: 1. Register a protocol with the browser - html in the browser can then execute that code - AppleScript, Rev based shell scripts (not easy to automa

Re: Verifying Numeric Input

2008-08-18 Thread David Bovill
How about something like this Rob? function valid_Number theString, allowCurrency > if allowCurrency is not false then > put "[" & "€£\$" & "]?" into currencyList > else > put empty into currencyList > end if > put "^" & currencyList & > "([1-9]{1}[0-9]{0,2}(\,[0-9]

Re: Enterprise Half-Off Sale (Plus GLX2 and VAB!)

2008-08-17 Thread David Bovill
Looks like you have to get the Early Update Pack as well - which seems to defeat the purpose of the test no? I mean how are you supposed to test whether a price drop works when you increase the cost by £168 with the Update Pack? ___ use-revolution mailin

Re: World of Warcraft utility made with Rev

2008-08-11 Thread David Bovill
Ditto. I am currently looking at what is possible in terms of interfacing with a Rev application - have used WOW matrixopn. In fact I am currently writing a funding application for a project involving young people and media which would do this - so the timing of you post is spooky. And Sarah - do

Re: Deleting "._*" files

2008-08-11 Thread David Bovill
Really? yes - you used to / should be able to see these files in Rev - sure I've done that in the last months. Is this only for the USB drive - the NAS here shows the dot files in Rev - I'll be connecting some Fat32 drives in the coming weeks so would be good to know? 2008/8/10 Richard Gaskin <[E

Re: "the effective visibility"

2008-08-09 Thread David Bovill
On a similar note I wish there was a "visible rect" property. I have some routines that try and work out what part of an object is visible, taking into account margins, borders, and so forth so that scripts can position them to line up with other objects. I've never got them to work perfectly, whic

Re: "the effective visibility"

2008-08-09 Thread David Bovill
Thanks for those Eric - I've got a general question about the use of "the long owner". I know that in the old days it was safer to take the long id of the target and delete the first 4 words to get the long id of the owner (so you could reference it from anywhere) - is this not necessary any more?

Creating XML from outlines

2008-08-08 Thread David Bovill
Does anyone have a function to turn an outline (tab indented indexes) into an XML structure? The functions I have don't quite cut it. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manag

sqlite: text dump

2008-08-06 Thread David Bovill
Is there a fast way to write out revs sqlite db to a text file. I need to create a regularly versioned database - that is an index which relates to the contents of data in a subversion repository. I'd rather not use binaries as they would over time require too much storage. The idea would be to do

Re: Arrays, recursion and crashes?

2008-08-05 Thread David Bovill
Good idea. Im not part of the 3.0 beta programme - got a studio license. How do I? I think I should be trying out the new array stuff as I will definitely be using it for tree type structures. 2008/8/5 Trevor DeVore <[EMAIL PROTECTED]> > On Aug 5, 2008, at 10:42 AM, David Bov

Re: Arrays, recursion and crashes?

2008-08-05 Thread David Bovill
Fixing the array keys to use simple numeric strings (hashes for now) rather than keys based on the names of controls fixes the crashes - so the problem is not with call-by-reference or recursion. I'll try different naming schemse to see what sort of names create the crash - I assume it is some sort

Re: Arrays, recursion and crashes?

2008-08-05 Thread David Bovill
ters would be great, as tracking down crash bugs is very slow work! 2008/8/5 David Bovill <[EMAIL PROTECTED]> > Rev rarely crashes nowadays - but I've got it crashing regularly now :) It > seems to be in the same area that has caused me problems before so i thuoght > I wou

Arrays, recursion and crashes?

2008-08-05 Thread David Bovill
Rev rarely crashes nowadays - but I've got it crashing regularly now :) It seems to be in the same area that has caused me problems before so i thuoght I would see if others have any similar experiences. The context: I have an array which is used to store a "graph" = a linked series of nodes. Each

Re: Shock: strange unheard of message path behaviour???

2008-07-31 Thread David Bovill
OK - figured it. Yes setting a property of an object in another stack changes the defaultstack to the stack the object is in. In my case the getprop handler was in a used library (my mistake forgot to delete it when testing) - so it get called but in the context of the new defaultstack with the ima

Re: Shock: strange unheard of message path behaviour???

2008-07-31 Thread David Bovill
Lets look at what the script is doing in detail. Take an even simpler example using names instead of short ids. getprop image_Name > put the short name of the target into imageName -- "Test Image" > return the name of image imageName > end image_Name Now this script is in a fresh stack "

Shock: strange unheard of message path behaviour???

2008-07-31 Thread David Bovill
This is a subtle but basic question about how referencing a control works in Revolution. Maybe I've got something obvious wrong but i can't figure... Take this simple dummy handler as an example: getprop image_Name > put the short name of the target into imageName > return the name of im

Re: Semi-automatic Index generation?

2008-07-31 Thread David Bovill
resting. > > The easy way produce such a frequency list is by using arrays. The > principle is like this: > > local arrayWords > repeat for each word myWord in theText > add 1 to arrayWords[myWord] > end repeat > > now the keys are words and values are word counts in array

OSX: revBrowser won't allow you to turn scrollbars back on

2008-07-30 Thread David Bovill
>From the docs: > Cross Platform Caution: Due to a limitation in the current browser > implementation, the behavior of the scrollbars property is slightly > different on Windows and OS X. In particular, under OS X, when navigating to > a page for the first time after disabling scrollbars, revBrow

Re: Semi-automatic Index generation?

2008-07-30 Thread David Bovill
Thanks Eric! 2008/7/30 Eric Chatonet <[EMAIL PROTECTED]> > Bonjour David, > > Le 30 juil. 08 à 16:08, David Bovill a écrit : > > > Is there a resource/ index that any one knows of for plain uninteresting >> dull words. I want to take arbitrary chunks of text

Semi-automatic Index generation?

2008-07-30 Thread David Bovill
Is there a resource/ index that any one knows of for plain uninteresting dull words. I want to take arbitrary chunks of text and search for "interesting" words - that is domain specific words that might be useful to links to create dictionary entries. This would mean creating a list of words and st

Re: Delete a stack from memory - fails?

2008-07-30 Thread David Bovill
2008/7/29 Trevor DeVore <[EMAIL PROTECTED]> > > So what is a plugin developer to do? If using the short name of the stack > in your object refs and the object no longer exists then you have to > determine if: > > a) The object was deleted. > b) The stack name was changed (with msgs locked) but the

Re: Delete a stack from memory - fails?

2008-07-29 Thread David Bovill
2008/7/29 Trevor DeVore <[EMAIL PROTECTED]> > On Jul 29, 2008, at 6:46 AM, David Bovill wrote: > > Every time the engine checks for the existence of a stack, accesses a > property or issues the go command using the filename of a stack the stack is > loaded into memory. In you

Re: Delete a stack from memory - fails?

2008-07-29 Thread David Bovill
y. 2008/7/29 Andre Garzia <[EMAIL PROTECTED]> > David, > > you must set the destroyStack property to true if you want it to be > removed from memory I think. Like: > > set the destroystack of stack "Test" to true > close stack "test" > >

Delete a stack from memory - fails?

2008-07-28 Thread David Bovill
What is a reliable way to delete a stack from memory? delete stack "test" can fail. I have a stack that was a library stack, contians no back or front scripts, that uses no externals but I cannot delete from memory. I am wandering if it could be due to having used shell commands that somehow ha

Re: Try

2008-07-27 Thread David Bovill
#x27;t experienced any noticeable > speed issues. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Benefit from our inexpensive hosting services. See > htt

Try

2008-07-27 Thread David Bovill
Does anyone know what the speed implications of wrapping a long complicated script in a try statement is? I have an optional tidy routine that would be useful to use before exporting - but due to its nature there may be errors. Is there any need to be cautious in using "try" routines for performanc

Re: Removing an OSX dock icon

2008-07-24 Thread David Bovill
2008/7/22 Ken Ray <[EMAIL PROTECTED]>: > > And then reload the dock with "killall Dock"). It's a real PITA, but it > works pretty well. PITA? - when I google for that I get: Immoral Traffic in Persons Act, legislation passed in India

Re: How many libraries do you use in your apps?

2008-07-22 Thread David Bovill
In a shipped app - no more than 8, but in the development environment 49 at the latest count. I've been moving from having large mixed libraries to smaller single use libraries recently, which helps organise them. ___ use-revolution mailing list use-revol

Re: Backscripts

2008-06-19 Thread David Bovill
The only thing I can think of is either there is a problem with inserting (unlikely - must be OK if the backscrits contains the stack object) - or a stack in use is trapping and not passing the messages - therefore using the same stack script or inserting the same stack script into the front would

Re: Backscripts

2008-06-19 Thread David Bovill
No. I use backscripts in 2.9 (Tiger) - and have just tested with a stack script for the backscript and found no problems. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subs

Re: Indenting XML output

2008-06-08 Thread David Bovill
Thanks Sarah! 2008/6/8 Sarah Reichelt <[EMAIL PROTECTED]>: > On Sun, Jun 8, 2008 at 10:46 PM, David Bovill <[EMAIL PROTECTED]> > wrote: > > The output of revXmlText is hard to view. I'd like to be able to indent > it > > in the same way revXmlTree indents

Re: Indenting XML output

2008-06-08 Thread David Bovill
von Gierke <[EMAIL PROTECTED]>: > there's a feature (documented since 2.9, but available in earlier versions > too) which intends, and inserts returns: > > revXMLText(theID,,true) > > > On 8 Jun 2008, at 14:46, David Bovill wrote: > > The output of revXmlText i

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