Re: [ANN] tRev build 301 released!

2010-03-11 Thread Jacopo Lupi
Hi Jerry,

thank you for this big release.

I mean... i love your software, some of the features of tRev are really useful 
and at the end of the work i feel i have to thank you.

I write just to make you noticed that the annoying bug with the absence of an 
internet connection is still there.
If i'm not connected to internet (i.e. while in train 3 hrs per day) i'm not 
able to use the save, compile or even to open scripts via the browser.

It happened only if i use the dictionary while offline an then i turn back to 
trev to continue work. I sent you, a couple of weeks ago, a report to replicate 
the bug.
The worst thing then is that i must copy the script from trev to the internal 
editor. Because as trev loses the connection all the changes are not been 
written to the script.

Can you fix this connection dependent issue? Or maybe alert the user when trev 
is unable to write on the real script underlaying in runrev?

Thank You very much for all your work.

Best
Jacopo

On 10/mar/2010, at 19.27, Jerry Daniels wrote:

 tRevors,
 
 Feature Friday came late and for good reason. I have rebuilt the update and 
 installation mechanism for tRev so that updates and such are faster, easier, 
 fool-proof, asynchronous and offer less interference with other processes 
 such as Rev IDE doing its accessing to its site during its startup.
 
 There is also a built-in menu item under Help that facilitates sending 
 questions to me (which also reinforces the need to read the docs first).
 
 Stay tuned for this coming Feature Friday. Little game-changing goin' on.
 
 Best,
 
 Jerry Daniels

___
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


lubURL nuances

2010-03-11 Thread Richard Gaskin
While working with Dan Friedman to diagnose some FTP issues, he came up 
with some questions I couldn't answer so I'm bringing them to y'all to 
see what we can find:


1. Is put url... a blocking command?
   I believe it's supposed to be, but find I can sometime do other
   things while it's running, including submitting subsequent
   put url... commands.

2. In such a circumstance, the second attempt to put url...
   meets with an error, Previous request not completed.  I've
   found that once that error hits the original request sometimes
   runs into trouble, requiring me to use libUrlResetAll and
   try again.  Is there a more graceful way to handle that error?

3. libUrlResetAll comes with a warning not to use it. :)  But I've
   found it the simplest, most reliable way to cancel all socket
   activity and start fresh.  If that's your goal, to reset all
   socket stuff and start fresh, is there some downside to using
   libUrlResetAll that I've overlooked?

TIA -

--
 Richard Gaskin
 Fourth World
 Rev training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
 revJournal blog: http://revjournal.com/blog.irv
___
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: lubURL nuances

2010-03-11 Thread Andre Garzia
Richard,

I will mix my answers with your questions, please, be aware that my answers
are not the ultimate truth but products of all my million failed connections
during the last few years.



 1. Is put url... a blocking command?
   I believe it's supposed to be, but find I can sometime do other
   things while it's running, including submitting subsequent
   put url... commands.


many libURL commands will try to queue multiple calls to the same host, here
it usually does not work.




 2. In such a circumstance, the second attempt to put url...
   meets with an error, Previous request not completed.  I've
   found that once that error hits the original request sometimes
   runs into trouble, requiring me to use libUrlResetAll and
   try again.  Is there a more graceful way to handle that error?



The only way I know to handle liburl stuff such as previous request not
completed is to use the reset all command. You may be able to query the
opensockets and close just the socket that you want.



 3. libUrlResetAll comes with a warning not to use it. :)  But I've
   found it the simplest, most reliable way to cancel all socket
   activity and start fresh.  If that's your goal, to reset all
   socket stuff and start fresh, is there some downside to using
   libUrlResetAll that I've overlooked?


The only downside that people might not be aware is that this will probably
close your database connections as well. I am not sure and I am not sure if
RevDB will try to reopen them on their own in case they break, but I believe
that if you resetall, they break. This is not tested, it is just an opinion
and since RevDB revamping, I think it is running on another thread or
something similar so its own socket connections might not be affected by the
resetall command.





 TIA -

 --
  Richard Gaskin
  Fourth World
  Rev training and consulting: http://www.fourthworld.com
  Webzine for Rev developers: http://www.revjournal.com
  revJournal blog: http://revjournal.com/blog.irv
 ___
 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




-- 
http://www.andregarzia.com All We Do Is Code.
___
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: lubURL nuances

2010-03-11 Thread Jeffrey Massung
Richard,

I've spent quite a bit of time figuring out #1 and #2 of your question list. I 
have a couple... URL intensive apps, and I used to get the previous request 
error all the time. Here's what I've learned through experimentation.

1. Blocking...

The PUT URL command is only blocking _within the context of the current 
handler_. You can think of it as if it was written like so in code:

get url http://...; WITH MESSAGES

Meaning that the current handler stops what it's doing waiting for the HTTP 
fetch to complete, but you can still resize the window, watch GIFs animate, and 
even click buttons.

2. Previous request errors...

You'll get these because of the behavior that PUT URL has (the fact that it 
allows messages to keep being processed). This behavior is actually a good 
thing, but means you need to be careful. 

For example, if you have a button that does a PUT URL on mouseUp, you can click 
that button many times really fast, and all of them will execute and yield in 
their handlers once they get to the PUT URL command. The first one will be in 
the process of fetching the URL when the second one hits the same line of code 
and trip the previous request error.

   ---

Now on to solutions...

I've found 2 solutions to this problem that appear to work best.

1. Use LOAD URL exclusively whenever you can. Sadly, this approach fails if you 
have to do any POST commands, because you can't perform a POST with a callback; 
it always acts like a PUT URL. This means the POST can fail. But, when it does 
fail, it fails instantly, you know it failed, and you can try again immediately.

2. Don't trust the LOAD URL message queue that Rev comes with built-in. Sadly, 
while their message queue for loading URLs is just fine, it doesn't let you 
inspect it (you can't tell if a URL is currently being loaded, what it is, or 
what the status of it is). Instead, roll your own. This also has the nice 
ability of being able to debug easily:

global gHttpCmdQ

on postHttpCmd pAction, pURL, pTarget, pCallback
get gHttpCmdQ is empty

## insert the command onto the queue to be processed later
put pAction  tab  pURL  tab  pTarget  tab  pCallback  cr after 
gHttpCmdQ

## if there were no commands on the queue, process this new one now
if it is true then
processHttpCmds
end if
end postHttpCmd

on processHttpCmds
local tAction
local tURL
local tTarget
local tCallback

get the first line of gHttpCmdQ

if it is empty then
exit processHttpCmds
end if

## pop the command off the queue
delete the first line of gHttpCmdQ

set the itemDelimiter to tab

put item 1 of it into tAction
put item 2 of it into tURL
put item 3 of it into tTarget
put item 5 of it into tCallback

switch tAction
case GET
get URL tURL
break
case POST
post ...
break
## more command types here
end switch

if the result is not empty then
dispatch tCallback to tTarget with error , the result
else
dispatch tCallback to tTarget with cached , it
end if

## continue processing messages from the queue
send processHttpCmds to me in 0 seconds
end processHttpCmds

   ---

Anyway, I use something very similar in my apps and I have yet to run into any 
problems. YMMV, though.

HTH,

Jeff M.


On Mar 11, 2010, at 7:23 AM, Richard Gaskin wrote:

 While working with Dan Friedman to diagnose some FTP issues, he came up with 
 some questions I couldn't answer so I'm bringing them to y'all to see what we 
 can find:
 
 1. Is put url... a blocking command?
   I believe it's supposed to be, but find I can sometime do other
   things while it's running, including submitting subsequent
   put url... commands.
 
 2. In such a circumstance, the second attempt to put url...
   meets with an error, Previous request not completed.  I've
   found that once that error hits the original request sometimes
   runs into trouble, requiring me to use libUrlResetAll and
   try again.  Is there a more graceful way to handle that error?

___
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: Regular expression

2010-03-11 Thread paolo mazza
Thank you all.
Talking about Regular Expressions, one more question.
If I have more than one string matching the Regex I expect the command
matchChunk returns more than a couple of numbers,

Consider this script:

on mouseUp
   local mySource,myStart,myEnd,TESTO,myStart2,myEnd2
   put xx src='HTTPWEB' width='3845' height='334' src='HTTPWEB' x
into TESTO
   put empty into mySource
   put empty into myStart
   put empty into myEnd
   put matchChunk(TESTO,src='([^']*)',myStart,myEnd,myStart2,myEnd2)
   put myStart  comma  myEnd  comma   myStart2  comma  myEnd2
end mouseUp

This script returns 13,19,, .
 I exprected something like 13,19,57,63 , because now I have two strings
matching src='([^']*)' .

All the best

Paolo
___
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: Customize headers in a datagrid

2010-03-11 Thread Trevor DeVore

On Mar 11, 2010, at 1:35 AM, Ludovic Thébault wrote:


It's possible to add a little icon before the label of a column ?


You are wandering into undocumented territory but now seems like a  
good time to start documenting it. Here is some information that  
should help you out. Let's see if we can accomplish what you are  
trying to do and then I can move the relevant information into the  
manual.


YOUR OPTIONS

There are two ways you can manipulate how a column header behaves:

1) You can override the default behavior for column headers by setting  
the default header behavior property:


set the dgProp[default header behavior] of group DataGrid to the  
long id of button MyCustomBehavior


The default behavior is stored in button Default Header of stack  
revDataGridLibrary. You can create your custom behavior using that  
button script as a starting point.


2) You can create a custom column header template. You can specify a  
custom template for a column header by adding a control to the data  
grid template group named:


COLUMN_NAME [Header]

The Data Grid will use that control when drawing the column header.


ONE APPROACH

A simple solution for adding an icon would be to update to the column  
header behavior script to work with the HTMLText rather than the text.  
In the Default Header script is a dgLabel setProp:


setprop dgLabel pValue
set the text of field 1 of me to pValue
end dgLabel

You could create your own behavior script that did this:

setprop dgLabel pValue
set the htmltext of field 1 of me to pValue
end dgLabel

You can could then assign htmltext to the column label using img src  
to specify the image id you want to display:


set the dgColumnLabel[ COLUMN_NAME ] of group DataGrid to img  
src=2000 My Label


Let me know how it goes.

--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers: 
http://revolution.bluemangolearning.com___
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


Formating numbers in fields

2010-03-11 Thread Andrew Kluthe

I have been over alot of the other formatting threads on the list and can't
exactly find what I am looking for.

Basically, I have a field that is supposed to have the number format #.##
in it. I want to set it up so that you can enter as many numbers as you want
before the decimal but after the decimal it only shows and allows you to
enter two numbers. I have tried doing this several ways and just cannot come
up with one that works as it should. This should be simple for the code
guerrillas on this list. 

the logic I have pinned down so far.

on keydown
 if . is in the field and if . key is being pressed don't pass keydown
if . is in the field then check to see if . is in char -3
if . is not in char -3 then ?
end keydown


Serious brainfart. halp?

Andrew Kluthe


-- 
View this message in context: 
http://n4.nabble.com/Formating-numbers-in-fields-tp1589177p1589177.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
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: lubURL nuances

2010-03-11 Thread Andre Garzia
Jeffrey,

while I don't trust load url either, you can inspect information thru the
combination of callbacks like:

  libURLSetStatusCallback downloadstatusbroadcaster, the long ID of stack
program
  load URL tURL with message DownloadQueueCallback

The callback called downloadstatusbroadcaster will trigger whenever
revolution updates the url status, the other callback
DownloadQueueCallback will trigger when it finishes its job may it be
because the file is complete or due to error.

So by using them both you get a good picture of what is happening. What I do
for my network heavy app is roll my own queue so that I only start one load
call after the previous one is complete may it be due to error or success
and I inspect and track the current load call with those callbacks on top.

works quite well, this is from production app with lots of users.

Cheers
andre


On Thu, Mar 11, 2010 at 11:32 AM, Jeffrey Massung mass...@gmail.com wrote:

 Richard,

 I've spent quite a bit of time figuring out #1 and #2 of your question
 list. I have a couple... URL intensive apps, and I used to get the previous
 request error all the time. Here's what I've learned through
 experimentation.

 1. Blocking...

 The PUT URL command is only blocking _within the context of the current
 handler_. You can think of it as if it was written like so in code:

 get url http://...; WITH MESSAGES

 Meaning that the current handler stops what it's doing waiting for the HTTP
 fetch to complete, but you can still resize the window, watch GIFs animate,
 and even click buttons.

 2. Previous request errors...

 You'll get these because of the behavior that PUT URL has (the fact that it
 allows messages to keep being processed). This behavior is actually a good
 thing, but means you need to be careful.

 For example, if you have a button that does a PUT URL on mouseUp, you can
 click that button many times really fast, and all of them will execute and
 yield in their handlers once they get to the PUT URL command. The first one
 will be in the process of fetching the URL when the second one hits the same
 line of code and trip the previous request error.

   ---

 Now on to solutions...

 I've found 2 solutions to this problem that appear to work best.

 1. Use LOAD URL exclusively whenever you can. Sadly, this approach fails if
 you have to do any POST commands, because you can't perform a POST with a
 callback; it always acts like a PUT URL. This means the POST can fail. But,
 when it does fail, it fails instantly, you know it failed, and you can try
 again immediately.

 2. Don't trust the LOAD URL message queue that Rev comes with built-in.
 Sadly, while their message queue for loading URLs is just fine, it doesn't
 let you inspect it (you can't tell if a URL is currently being loaded, what
 it is, or what the status of it is). Instead, roll your own. This also has
 the nice ability of being able to debug easily:

 global gHttpCmdQ

 on postHttpCmd pAction, pURL, pTarget, pCallback
get gHttpCmdQ is empty

## insert the command onto the queue to be processed later
put pAction  tab  pURL  tab  pTarget  tab  pCallback  cr
 after gHttpCmdQ

## if there were no commands on the queue, process this new one now
if it is true then
processHttpCmds
end if
 end postHttpCmd

 on processHttpCmds
local tAction
local tURL
local tTarget
local tCallback

get the first line of gHttpCmdQ

if it is empty then
exit processHttpCmds
end if

## pop the command off the queue
delete the first line of gHttpCmdQ

set the itemDelimiter to tab

put item 1 of it into tAction
put item 2 of it into tURL
put item 3 of it into tTarget
put item 5 of it into tCallback

switch tAction
case GET
get URL tURL
break
case POST
post ...
break
## more command types here
end switch

if the result is not empty then
dispatch tCallback to tTarget with error , the result
else
dispatch tCallback to tTarget with cached , it
end if

## continue processing messages from the queue
send processHttpCmds to me in 0 seconds
 end processHttpCmds

   ---

 Anyway, I use something very similar in my apps and I have yet to run into
 any problems. YMMV, though.

 HTH,

 Jeff M.


 On Mar 11, 2010, at 7:23 AM, Richard Gaskin wrote:

  While working with Dan Friedman to diagnose some FTP issues, he came up
 with some questions I couldn't answer so I'm bringing them to y'all to see
 what we can find:
 
  1. Is put url... a blocking command?
I believe it's supposed to be, but find I can sometime do other
things while it's running, including submitting subsequent
put url... 

Re: Formating numbers in fields

2010-03-11 Thread Richmond Mathewson

 On 11/03/2010 17:57, Andrew Kluthe wrote:

I have been over alot of the other formatting threads on the list and can't
exactly find what I am looking for.

Basically, I have a field that is supposed to have the number format #.##
in it. I want to set it up so that you can enter as many numbers as you want
before the decimal but after the decimal it only shows and allows you to
enter two numbers. I have tried doing this several ways and just cannot come
up with one that works as it should. This should be simple for the code
guerrillas on this list.

the logic I have pinned down so far.

on keydown
  if . is in the field and if . key is being pressed don't pass keydown
if . is in the field then check to see if . is in char -3
if . is not in char -3 then ?
end keydown


Serious brainfart. halp?

Andrew Kluthe



I'm only a code gorilla  . . .   :)

numberFormat

Love, Richmond.
___
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: Formating numbers in fields

2010-03-11 Thread Andrew Kluthe

I tried setting that property and I must not know how to use it properly
because I could not figure it or the documentation on it out.

Do I set this as a property of the field and it handles all that for me? or?

From the dictionary:

Examples: 
set the numberFormat to #.00 -- dollar format
set the numberFormat of scrollbar Progress to 0.0


so set the numberFormat of fld fLeasePaymentDollars tp #.## doesn't
work. How do I use this thing?
-- 
View this message in context: 
http://n4.nabble.com/Formating-numbers-in-fields-tp1589177p1589213.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
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


Update to 4.5.0-dp-2

2010-03-11 Thread Gregory Lypny

Hello everyone,

I'm using the enterprise version 4.0.0-gm-1 and I keep getting a  
reminder window inviting me to update to 4.5.0-dp-2.  Does this new  
version work well or is it one of those where we're expected to play  
around and identify the bugs as it is being finalized?  Just a little  
concerned about ongoing projects being mucked up.


Regards,

Gregory
___
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: Update to 4.5.0-dp-2

2010-03-11 Thread Björnke von Gierke
dp is always developer preview, where gm means golden master (which in turn 
means final product). If you are working on a project, and therefore are 
concerned about stability, stay away from developer previews. If you want to 
test new features, or verify bugs, then use them for that.

On 11 Mar 2010, at 17:27, Gregory Lypny wrote:

 Hello everyone,
 
 I'm using the enterprise version 4.0.0-gm-1 and I keep getting a reminder 
 window inviting me to update to 4.5.0-dp-2.  Does this new version work well 
 or is it one of those where we're expected to play around and identify the 
 bugs as it is being finalized?  Just a little concerned about ongoing 
 projects being mucked up.


-- 

official ChatRev page:
http://bjoernke.com?target=chatrev

Chat with other RunRev developers:
go stack URL http://bjoernke.com/chatrev/chatrev1.3b3.rev;

___
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: Formating numbers in fields

2010-03-11 Thread Björnke von Gierke
no, you cannot set the numberformat of a field. what you can do is (for 
example) this:

on KeyUp --after someone entered something into the field
   set the numberformat to #.00
   put the selectedChunk of me into theTempSelection --retain selection
   add 0 to me --force numberformat
   select char (word 2 of theTempSelection) to (word 4 of theTempSelection) of 
me
end KeyUp

Note that this is a rather evil approach, mostly because there's no way to 
enter the right hand parts without using arrow navigation or mouse selection. 
Also, the code throws an error when a point or any non-number char is entered. 
Maybe it's more advantageous to use two fields, or only check on exitField and 
closeField, because there it's not as intrusive to interpret and remove wrong 
chars or double dots etc. but that of course depends on what you've actually 
planned.

Finally, these messages might also need to be handled:

on pasteKey
on cutKey
on closeField

On 11 Mar 2010, at 17:16, Andrew Kluthe wrote:

 
 I tried setting that property and I must not know how to use it properly
 because I could not figure it or the documentation on it out.
 
 Do I set this as a property of the field and it handles all that for me? or?
 
 From the dictionary:
 
 Examples: 
 set the numberFormat to #.00 -- dollar format
 set the numberFormat of scrollbar Progress to 0.0
 
 
 so set the numberFormat of fld fLeasePaymentDollars tp #.## doesn't
 work. How do I use this thing?
 -- 
 View this message in context: 
 http://n4.nabble.com/Formating-numbers-in-fields-tp1589177p1589213.html
 Sent from the Revolution - User mailing list archive at Nabble.com.
 ___
 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

___
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: Formating numbers in fields

2010-03-11 Thread Richmond Mathewson

 On 11/03/2010 18:16, Andrew Kluthe wrote:

I tried setting that property and I must not know how to use it properly
because I could not figure it or the documentation on it out.

Do I set this as a property of the field and it handles all that for me? or?

 From the dictionary:

Examples:
set the numberFormat to #.00 -- dollar format
set the numberFormat of scrollbar Progress to 0.0


so set the numberFormat of fld fLeasePaymentDollars tp #.## doesn't
work. How do I use this thing?

Probably because you are making a mess with your quotes . . .  :)

Try this:

http://andregarzia.on-rev.com/richmond/STUFF/CRUNCH.rev.zip

works perfectly!
___
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: Update to 4.5.0-dp-2

2010-03-11 Thread Michael Robinson

Gregory,
I tried to update, but after downloading installing ect. I get the  
Failed to Update Try again?


Mike

On Mar 11, 2010, at 8:27 AM, Gregory Lypny wrote:


Hello everyone,

I'm using the enterprise version 4.0.0-gm-1 and I keep getting a  
reminder window inviting me to update to 4.5.0-dp-2.  Does this new  
version work well or is it one of those where we're expected to play  
around and identify the bugs as it is being finalized?  Just a  
little concerned about ongoing projects being mucked up.


Regards,

Gregory
___
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


___
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: Formating numbers in fields

2010-03-11 Thread Andrew Kluthe

Pefect BvG (is it ok if I call you BvG?)! 

This is exactly what I was looking for and tried to do but couldn't get to
work right on keydown. 

The closeField handler makes it do EXACTLY what I want.

 Thanks a mill.

Andrew K
-- 
View this message in context: 
http://n4.nabble.com/Formating-numbers-in-fields-tp1589177p1589316.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
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: lubURL nuances

2010-03-11 Thread Dave Cragg

On 11 Mar 2010, at 13:23, Richard Gaskin wrote:

 While working with Dan Friedman to diagnose some FTP issues, he came up with 
 some questions I couldn't answer so I'm bringing them to y'all to see what we 
 can find:
 
 1. Is put url... a blocking command?
   I believe it's supposed to be, but find I can sometime do other
   things while it's running, including submitting subsequent
   put url... commands.

Jeffrey's post answers this.

 
 2. In such a circumstance, the second attempt to put url...
   meets with an error, Previous request not completed.  I've
   found that once that error hits the original request sometimes
   runs into trouble, requiring me to use libUrlResetAll and
   try again.  Is there a more graceful way to handle that error?

While the error message is correct, I don't know why it should affect the 
previous request. The only possible cause I can see is the way the error is 
returned from libUrl. It uses some unusual syntax which is only available to 
libUrl. ( return error Previous request not completed with empty) The engine 
handles these return statements, and depending what follows the with, it may 
do some clean-up. (deleting script variables to avoid the script having to copy 
the variables before returning). So perhaps something goes wrong at times and 
it deletes when it shouldn't. (This is pure speculation.)

But if you're using get url or other blocking calls, I'd suggest you try to 
prevent users (or your script) from making subsequent calls until the get has 
returned. Disable the user interface, etc.


 
 3. libUrlResetAll comes with a warning not to use it. :)  But I've
   found it the simplest, most reliable way to cancel all socket
   activity and start fresh.  If that's your goal, to reset all
   socket stuff and start fresh, is there some downside to using
   libUrlResetAll that I've overlooked?

It will reliably close *all* sockets and delete all script variables in libUrl. 
The consequences of closing all sockets is clear enough. The deleting of script 
variables is less clear. I haven't tested this in recent engine builds, but it 
used to be that those variables weren't always immediately deleted. I'm 
guessing the engine waited for an idle to do the deletion. So if you had 
something like the following within a handler:

1.  get url someUrl
2.  libUrlResetAll
3.  get url someOtherUrl

line 3 might start the url call but fail when its script variables were 
suddenly removed in the middle of its activity. So if you're going to use it in 
your scripts, be sure there's a pause of some kind before making subsequent url 
calls.

Cheers
Dave

___
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: Formating numbers in fields

2010-03-11 Thread Andre.Bisseret


Le 11 mars 10 à 16:57, Andrew Kluthe a écrit :



I have been over alot of the other formatting threads on the list  
and can't

exactly find what I am looking for.

Basically, I have a field that is supposed to have the number format  
#.##
in it. I want to set it up so that you can enter as many numbers as  
you want
before the decimal but after the decimal it only shows and allows  
you to
enter two numbers. I have tried doing this several ways and just  
cannot come
up with one that works as it should. This should be simple for the  
code

guerrillas on this list.

the logic I have pinned down so far.

on keydown
if . is in the field and if . key is being pressed don't pass  
keydown

if . is in the field then check to see if . is in char -3
if . is not in char -3 then ?
end keydown


Serious brainfart. halp?


Bonjour,
You might want to have a look at the tutorial from Éric Chatonet #020  
How to master users data in entry boxes

at So Smart Software:
http://www.sosmartsoftware.com/?r=revolution_didacticielsl=en

 I just tried the following (following one your idea:

- make a field entryBox
- and a field allData
In the script of the field entryBox:

on keydown pKey
   if pKey is an integer or pKey is . then pass keydown -- allow  
numbers only


on rawKeyUp
   local decimal,
   -
   if fld entryBox contains . and char -3 of fld entryBox is  
. then

  put fld entryBox  cr after fld allData
  put empty into fld entryBox
   end if
end rawKeyUp
---
HTH

Best regards from Grenoble

André



___
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: Update to 4.5.0-dp-2

2010-03-11 Thread François Chaplais
are you doing this under a non admin account?
Le 11 mars 2010 à 18:10, Michael Robinson a écrit :

 Gregory,
 I tried to update, but after downloading installing ect. I get the Failed to 
 Update Try again?
 
 Mike
 



___
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: [ANN] tRev build 301 released!

2010-03-11 Thread Jerry Daniels

Jacopo,

Download tRev.app again right now from the site. I think your problem  
is solved. Let me know what you find via email?


je...@reveditor.com

Best,

Jerry Daniels

The latest Rev Editor Video:
http://reveditor.com/background-tabs-open-a-tab-without-going-ther

On Mar 11, 2010, at 3:42 AM, Jacopo Lupi wrote:


Hi Jerry,

thank you for this big release.

I mean... i love your software, some of the features of tRev are  
really useful and at the end of the work i feel i have to thank you.


I write just to make you noticed that the annoying bug with the  
absence of an internet connection is still there.
If i'm not connected to internet (i.e. while in train 3 hrs per day)  
i'm not able to use the save, compile or even to open scripts via  
the browser.


It happened only if i use the dictionary while offline an then i  
turn back to trev to continue work. I sent you, a couple of weeks  
ago, a report to replicate the bug.
The worst thing then is that i must copy the script from trev to the  
internal editor. Because as trev loses the connection all the  
changes are not been written to the script.


Can you fix this connection dependent issue? Or maybe alert the user  
when trev is unable to write on the real script underlaying in runrev?


Thank You very much for all your work.

Best
Jacopo

On 10/mar/2010, at 19.27, Jerry Daniels wrote:


tRevors,

Feature Friday came late and for good reason. I have rebuilt the  
update and installation mechanism for tRev so that updates and such  
are faster, easier, fool-proof, asynchronous and offer less  
interference with other processes such as Rev IDE doing its  
accessing to its site during its startup.


There is also a built-in menu item under Help that facilitates  
sending questions to me (which also reinforces the need to read the  
docs first).


Stay tuned for this coming Feature Friday. Little game-changing  
goin' on.


Best,

Jerry Daniels


___
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


___
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


Answer dialog Problems

2010-03-11 Thread Andrew Kluthe

I have a stack that opens as modal. When this stack's answer dialog pops up,
it will not allow me to click ok. I can still interact with the modal stack
though. When I exit the modal stack I can hit ok on the answer dialog. 

When this stack is in toplevel it performs normally.

Can I not use answer on modals?


Also, the answer in question has HTML Formating in it. It works fine.

answer You have some problems that need fixed before you can add this
record:   cr  sFlags  brbr-Payment details not saved.br-Click
Edit to Fix the invalid entries and try again.

But almost the same answer on another similar stack, does not.

 answer You have some problems that need fixed before you can add this
record:  cr  sFlags  brbr-Payment not added.br-Fix the invalid
entries and try again.

The html is the same and aside from a few words the answer statements are
the same. What gives?

-- 
View this message in context: 
http://n4.nabble.com/Answer-dialog-Problems-tp1589563p1589563.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
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: Answer dialog Problems

2010-03-11 Thread Andrew Kluthe

A script was stealing focus of the modal, but still no explanation for the
HTML problem.
-- 
View this message in context: 
http://n4.nabble.com/Answer-dialog-Problems-tp1589563p1589572.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
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: Answer dialog Problems

2010-03-11 Thread Mark Schonewille

Andrew,

I am not sure why one sentence works and the other doesn't, but HTML  
text for the answer dialog should be surrounded by p and /p.


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer

Economy-x-Talk is always looking for new software development  
projects. Feel free to contact me for a quote.


Op 11 mrt 2010, om 20:01 heeft Andrew Kluthe het volgende geschreven:



I have a stack that opens as modal. When this stack's answer dialog  
pops up,
it will not allow me to click ok. I can still interact with the  
modal stack

though. When I exit the modal stack I can hit ok on the answer dialog.

When this stack is in toplevel it performs normally.

Can I not use answer on modals?


Also, the answer in question has HTML Formating in it. It works fine.

answer You have some problems that need fixed before you can add this
record:   cr  sFlags  brbr-Payment details not saved.br- 
Click

Edit to Fix the invalid entries and try again.

But almost the same answer on another similar stack, does not.

answer You have some problems that need fixed before you can add this
record:  cr  sFlags  brbr-Payment not added.br-Fix the  
invalid

entries and try again.

The html is the same and aside from a few words the answer  
statements are

the same. What gives?



___
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: Answer dialog Problems

2010-03-11 Thread Andrew Kluthe

Ah, thanks. I'll try that. I read on here that it looks for a p tag to
interpret html but my first statement didn't have a p tag so I assumed it
was something else.
-- 
View this message in context: 
http://n4.nabble.com/Answer-dialog-Problems-tp1589563p1589601.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
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: Update to 4.5.0-dp-2

2010-03-11 Thread Gregory Lypny

Thanks for the heads-up Bj?rnke and Michael,

I think I'll pass on the update for now.

Gregory
___
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


error message format

2010-03-11 Thread Dan Friedman
Ola...

I am reading a stack from a website in a standalone application.  99.99% of my 
clients are fine.  However, every now and then, they report this error (which 
is the result): 

socket timeout ###.###.###.##:80|6924

Now, I get everything ([IP]:[port]) except, what does the 6924 refer to?

Hope I'm not being to stupid!Thanks in advance...

-Dan___
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: error message format

2010-03-11 Thread Mark Schonewille

Dan,

The number 6924 is the ID of the connection. It allows mutliple  
computers with the same global IP address to connect to your server  
and it allows one computer to open multiple connections.


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer

Economy-x-Talk is always looking for new software development  
projects. Feel free to contact me for a quote.


Op 11 mrt 2010, om 20:54 heeft Dan Friedman het volgende geschreven:


Ola...

I am reading a stack from a website in a standalone application.   
99.99% of my clients are fine.  However, every now and then, they  
report this error (which is the result):


socket timeout ###.###.###.##:80|6924

Now, I get everything ([IP]:[port]) except, what does the 6924 refer  
to?


Hope I'm not being to stupid!Thanks in advance...

-Dan



___
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: lubURL nuances

2010-03-11 Thread Josh Mellicker
FWIW, we have mostly migrating from libURL to using cURL for downloads and 
uploads. The nice thing about cURL is that if there is a disconnect 90% of the 
way through transferring a large file, cURL will resume from where it left off. 
Also it seems rock solid and reliable.


On Mar 11, 2010, at 5:23 AM, Richard Gaskin wrote:

 While working with Dan Friedman to diagnose some FTP issues, he came up with 
 some questions I couldn't answer so I'm bringing them to y'all to see what we 
 can find:
 
 1. Is put url... a blocking command?
   I believe it's supposed to be, but find I can sometime do other
   things while it's running, including submitting subsequent
   put url... commands.
 
 2. In such a circumstance, the second attempt to put url...
   meets with an error, Previous request not completed.  I've
   found that once that error hits the original request sometimes
   runs into trouble, requiring me to use libUrlResetAll and
   try again.  Is there a more graceful way to handle that error?
 
 3. libUrlResetAll comes with a warning not to use it. :)  But I've
   found it the simplest, most reliable way to cancel all socket
   activity and start fresh.  If that's your goal, to reset all
   socket stuff and start fresh, is there some downside to using
   libUrlResetAll that I've overlooked?
 
 TIA -
 
 --
 Richard Gaskin
 Fourth World
 Rev training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
 revJournal blog: http://revjournal.com/blog.irv
 ___
 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

___
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


Data Matrix

2010-03-11 Thread Jérôme Rosat
I am looking for a library for creating a data matrix in Revolution. I did not 
find an example with Revolution. I found libdmtx, an open source software for 
reading and writing Data Matrix 2D barcodes on Linux, Unix, OS X, Windows, and 
mobile devices. But I found only binary for command line tools for windows and 
I am not qualified to compile the code to create command line tools Mac OS.

Have you already created a data matrix with Revolution ? Is there a volunteer 
to create an external/library ?

Thank you in advance for your help.

Jerome
___
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: lubURL nuances

2010-03-11 Thread Sarah Reichelt
On Fri, Mar 12, 2010 at 7:19 AM, Josh Mellicker j...@dvcreators.net wrote:
 FWIW, we have mostly migrating from libURL to using cURL for downloads and 
 uploads. The nice thing about cURL is that if there is a disconnect 90% of 
 the way through transferring a large file, cURL will resume from where it 
 left off. Also it seems rock solid and reliable.


Is this a cross-platform solution Josh? I know Mac OS X has curl
pre-installed, and I assume Linux has, but what about the various
versions of Windows?

Cheers,
Sarah
___
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: lubURL nuances

2010-03-11 Thread Andre Garzia
Sarah,

You can bundle it inside your standalone and pipe it out when you launch the
application.
 cURL is free (as in really free).

Cheers
andre

On Thu, Mar 11, 2010 at 6:48 PM, Sarah Reichelt sarah.reich...@gmail.comwrote:

 On Fri, Mar 12, 2010 at 7:19 AM, Josh Mellicker j...@dvcreators.net
 wrote:
  FWIW, we have mostly migrating from libURL to using cURL for downloads
 and uploads. The nice thing about cURL is that if there is a disconnect 90%
 of the way through transferring a large file, cURL will resume from where it
 left off. Also it seems rock solid and reliable.


 Is this a cross-platform solution Josh? I know Mac OS X has curl
 pre-installed, and I assume Linux has, but what about the various
 versions of Windows?

 Cheers,
 Sarah
 ___
 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




-- 
http://www.andregarzia.com All We Do Is Code.
___
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


cantSelect

2010-03-11 Thread DunbarX
Back with this.

I am irked by the fact that when an object's cantSelect property is 
true, messages like mouseUp are not sent when clicking with the pointer 
tool. 
I know I expect a lot in editing mode already, but the docs say it should 
be so.

mouseEnter and mouseLeave are sent, but no other ordinary ones. 

The message watcher shows certain ubiquitous messages being sent in this 
condition, like cRevGetsUpdate, but I cannot trap it (though I suspect I 
will be told not to play with fire). Isn't there a list of these top secret 
messages somewhere, and how to get to them?

Thanks,

Craig Newman
___
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: cantSelect

2010-03-11 Thread Mark Wieder
Craig-

Thursday, March 11, 2010, 2:28:25 PM, you wrote:

 The message watcher shows certain ubiquitous messages being sent in this
 condition, like cRevGetsUpdate, but I cannot trap it (though I suspect I
 will be told not to play with fire). Isn't there a list of these top secret
 messages somewhere, and how to get to them?

That sounds more like a setprop handler firing. Are you sure that was
a message? If it turns out to be a setprop event you might be able to
trap it with your own setprop handler, although if it's a builtin
property you're out of luck.

-- 
-Mark Wieder
 mwie...@ahsoftware.net

___
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: cantSelect

2010-03-11 Thread DunbarX

Mark.

If I suppress setProps in the message watcher it still comes up. It has to 
be a system message.

Craig

In a message dated 3/11/10 5:58:27 PM, mwie...@ahsoftware.net writes:


 That sounds more like a setprop handler firing. Are you sure that was
 a message? If it turns out to be a setprop event you might be able to
 trap it with your own setprop handler, although if it's a builtin
 property you're out of luck.
 
___
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: lubURL nuances

2010-03-11 Thread Neal Campbell
I am sure its cross-platform because I have a Realbasic plugin that uses it
on all three platforms.


Neal Campbell
Abroham Neal Software
www.abrohamnealsoftware.com
(540) 645 5394 NEW PHONE NUMBER

Amateur Radio: K3NC
Blog: http://www.abrohamnealsoftware.com/blog/
DXBase bug reports: email to ca...@dxbase.fogbugz.com
Abroham Neal forums: http:/www.abrohamnealsoftware.com/community/





On Thu, Mar 11, 2010 at 4:48 PM, Sarah Reichelt sarah.reich...@gmail.comwrote:

 On Fri, Mar 12, 2010 at 7:19 AM, Josh Mellicker j...@dvcreators.net
 wrote:
  FWIW, we have mostly migrating from libURL to using cURL for downloads
 and uploads. The nice thing about cURL is that if there is a disconnect 90%
 of the way through transferring a large file, cURL will resume from where it
 left off. Also it seems rock solid and reliable.


 Is this a cross-platform solution Josh? I know Mac OS X has curl
 pre-installed, and I assume Linux has, but what about the various
 versions of Windows?

 Cheers,
 Sarah
 ___
 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

___
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: cantSelect

2010-03-11 Thread Mark Wieder
Craig-

Thursday, March 11, 2010, 3:18:51 PM, you wrote:

 If I suppress setProps in the message watcher it still comes up. It has to
 be a system message.

From the messagebox type

revVerboseDebug true

then run your test and set it back to false. Look for a file called
verboseLog.txt (should be where the Revolution Launcher is). That'll
give you a log file that might give you more hints.

-- 
-Mark Wieder
 mwie...@ahsoftware.net

___
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


OT: Best Option for Web Delivered Voice Overs

2010-03-11 Thread Sivakatirswami
Looking forward to future slideshows either distributed as revlets or as 
javascripted/jQuery enhanced web slideshows which are produced by a 
RunRev desktop client toolbox (Almost everything I do on our web sites 
is facilitated with some kind of in-house production widgets... as I am 
sure is the case with most old-time RunRevolutionaries)


I am looking any input from experienced sound producers in our field for 
the following. Some of this may be fairly obvious, but everytime I pose 
a query like this to this list I always get some nugget of useful info 
that I did not know or think of before:


1) MP3 Settings: for voice over narration: what would be the best MP3 
(lowest you think is reasonable) settings for files that woudl be played 
along with a slide.


2) Optimum format for Voice Over: Is MP3 the best format for voice 
over?  Will it play out of the box in a hidden QT player object on 
both Mac and Windows?


3) Embedded Clips: Has any one embedded sound clips into a revlet? AIFF 
and WAV seem horribly expensive in terms of bytes added to the stack 
vs streaming short mp3's from the web server. But perhas AU is small and 
OK for voice... comments?


4) Text to Speech: How is text to speech working these days on Windows? 
is this a viable option for revlets... some kinds of kids stuff will 
do just fine with a computer voice reading the English.


5) Production Work Flow Strategies: Any other insights will be 
appreciated. you can get a Samson USB mic these days really cheap on 
Amazon.dot and the quality is excellent. It would be marvelous to build 
a stack, show slides, record on the fly, save and deploy, but I don't 
think it's going to be that easy... Especially if MP3 is the optimum 
format, it means stepping out of revolution into Audacity.. Processing 
clips and going back to set up the QT player to the external file.  Or 
assuming you were really, really good with narration and required no 
edits:  Switch to batch process all the narrations at once after saving 
as aiff -- process out to .mp3 ... 15 short VO's at average 2-8 secs 
each will be fast.


Goal: production-work flow that gets from 15 photos with voice capture 
to a slideshow with VO on the web in under 45min. (assumes of course 
your narration is either ad lib or pre-scripted...)


Thanks for your patience with my mine the list queries

Sivakatirswami








___
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: lubURL nuances

2010-03-11 Thread Josh Mellicker

On Mar 11, 2010, at 1:48 PM, Sarah Reichelt wrote:

 On Fri, Mar 12, 2010 at 7:19 AM, Josh Mellicker j...@dvcreators.net wrote:
 FWIW, we have mostly migrating from libURL to using cURL for downloads and 
 uploads. The nice thing about cURL is that if there is a disconnect 90% of 
 the way through transferring a large file, cURL will resume from where it 
 left off. Also it seems rock solid and reliable.
 
 
 Is this a cross-platform solution Josh? I know Mac OS X has curl
 pre-installed, and I assume Linux has, but what about the various
 versions of Windows?

We've had great luck with XP/Vista/Windows 7. Only change in the process 
command from OS X is the addition of .exe (and the path). We have thousands 
of Windows users, almost no problems.

There is a couple to few seconds lag time in read from process... in other 
words, a file finishes downloading, and our progress bar is still moving for a 
few seconds, then reports that it's done. No big deal, but I wonder, would an 
external eliminate some of this 
delay?___
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: cantSelect

2010-03-11 Thread Richard Gaskin

DunbarX wrote:

I am irked by the fact that when an object's cantSelect property is
true, messages like mouseUp are not sent when clicking with the pointer 
tool.
I know I expect a lot in editing mode already, but the docs say it should
be so.

mouseEnter and mouseLeave are sent, but no other ordinary ones.

The message watcher shows certain ubiquitous messages being sent in this
condition, like cRevGetsUpdate, but I cannot trap it (though I suspect I
will be told not to play with fire). Isn't there a list of these top secret
messages somewhere, and how to get to them?


It's trapped by the IDE whenever the pointer tool is active in order to 
prevent layout operations from triggering mouseUp handlers designed for 
browse tool use.


I submitted a request in 2006 to have this noted in the docs:

'Dictionary entries should note when message behavior is altered by the IDE'
http://quality.runrev.com/qacenter/show_bug.cgi?id=2235


If you can describe a bit more about what you're looking to do, Imay be 
able to help find a solution for your circumstance.  I've spent a lot of 
time working around this in both Rev and MC, and working around the 
workaround in a standalone where this isn't an issue (but other pointer 
tool things are).


I much prefer the way SC handles the pointer tool, splitting messages so 
there's a separate suite for when the pointer tool is active:


'Add pointerDown, pointerUp, pointerDoubleUp, etc. for when pointer tool 
is active'

http://quality.runrev.com/qacenter/show_bug.cgi?id=2606


Many such circumstances could be avoided altogether if we had the 
ability to limit the scope of a tool mode to a group:


'tool property for groups/creating objects in groups interactively'
http://quality.runrev.com/qacenter/show_bug.cgi?id=623


--
 Richard Gaskin
 Fourth World
 Rev training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
 revJournal blog: http://revjournal.com/blog.irv
___
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