Re: MD5 digests of very big files

2010-06-29 Thread Malte Pfaff-Brill
Hi Al,

I guess the problem you see is that revs MD5s need to be binaryDecoded to have 
the same output like for example PHP. A simple script to see this is:

on mouseUp
   local tCheck,tResult
   put md5Digest(moo) into tCheck
   get binaryDecode(H*,tCheck,tResult)
   put tCheckcrtResult
  -- tCheck is revs, tResult is compliant to PHP
end mouseUp

Hope that helps!

Cheers,

Malte___
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


Pointlist from move command?

2010-06-29 Thread Michael Kristensen

Hi there

Is there a way to get a complete pointlist from all the points an  
object visiting through a move command on a polygon.


I do not mean the polygon corner points but all the points that make  
up the lines of the polygon.


Thanks

Mic
___
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: Pointlist from move command?

2010-06-29 Thread Richmond

On 06/29/2010 11:48 AM, Michael Kristensen wrote:

Hi there

Is there a way to get a complete pointlist from all the points an 
object visiting through a move command on a polygon.


I do not mean the polygon corner points but all the points that make 
up the lines of the polygon.


Thanks



I dunno: if you have an object moving round a polygon (or along a 
pathway for that matter),
surely all you have to do is poll the object's position every 2 ticks 
and pop the results into the lines

of a field?
___
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: Pointlist from move command?

2010-06-29 Thread BNig

Hi Mic,
if you mean that instead of the corner points of a polygon you want all the
intermediate points also then this came up on the forum a while ago and I
uploaded a little stack to the forum that does this.
See:
http://forums.runrev.com/phpBB2/viewtopic.php?f=9t=5191p=23366hilit=points+of+polygon#p23366
look for the attachement 
calculate points of polygon.rev.zip

(I did not have any real use for all the points but once I had a graphic I
pulled out some points and animated them when one moves the graphic, since
it looked like a bug that is what I called it :) )
as revlet:
http://berndniggemann.on-rev.com/bug/


regards
Bernd
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Pointlist-from-move-command-tp2271900p2272088.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: Need Help with Geometry

2010-06-29 Thread Gregory Lypny
Hi Ken,

Thanks for responding.  Yes (I think --- that's a whole lotta numbers you've 
got down there!), the top-left corner of the topmost field should remain fixed. 
 As the stack window is enlarged, the topmost field should grow proportionately 
downwards and to the right.  The field below should do the same, but because it 
is below, it's position must be shifted downwards to keep, as in your example, 
ten pixels between the fields, because the field above it is growing downwards.

Regards,

Gregory


On Tue, Jun 29, 2010, at 8:08 AM, use-revolution-requ...@lists.runrev.com wrote:

 Message: 27
 Date: Mon, 28 Jun 2010 19:30:43 -0500
 From: Ken Ray k...@sonsothunder.com
 Subject: Re: Need Help with Geometry
 To: Use Revolution List use-revolution@lists.runrev.com
 Message-ID: c84ea8e3.43580%k...@sonsothunder.com
 Content-Type: text/plain; charset=US-ASCII
 
 
 Not quite sure how to set the Geometry manager to get the results I want.  I
 have two fields that are the exactly same size with one siting above the 
 other
 and their left edges aligned.  I'd like them to scale proportionately both
 width-wise and length-wise to the lower right, keeping the vertical distance
 between them constant.  In other words, I want the two fields to get bigger 
 or
 smaller together and keep the same distance apart.  Thought it would be easy,
 but I've tried many different combinations of settings in the Geometry 
 manager
 with no luck.  Any advice would be most appreciated.
 
 So should the topLeft of the topmost field stay in the same place as you
 resize? Just trying to understand...
 
 For example, if you start with two fields that are 100 pixels wide by 50
 pixels tall with 10 pixels between them, and 10 pixels from the right edge
 of the fields to the right side of the card, and 10 pixels from the bottom
 edge of the bottom field to the bottom of the card, and the starting height
 of the card is 500, and the starting width of the card was 400, that means
 that the topleft of the topmost field would be at
 (400-110),(500-(50+50+10+10)) or 290,380 and the topleft of the bottom field
 would be at (400-110),(500-(50+10)) or 290,440.
 
 If you then resize the stack to make it 100 pixels wider and 100 pixels
 taller, then that would leave the top field's topleft at 290,390, both
 fields would be 50 pixels taller (splitting the difference between the two
 of them and maintaining the 10 pixel gap), so the bottom field's topleft
 would be 290,(600-(100+10)) or 290,490... is that right?
 
 Just checking...

___
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: Location parameters in Size Inspector for stack

2010-06-29 Thread Michael D Mays
If a field isn't recognizing the closefield message I would call that a major 
bug, if the closefield message isn't being trapped and/or acted upon correctly 
in a field I would call that minor. (yes I am nit picking like my cousins ;)

Re reproduction: If I create a new stack, double click the stack to open the 
inspector, go to size and position; click the up arrow for the Max. Width, my 
stack disappears. If I check the location width; height via the message box I 
find all of them are what is reported in the inspector except for the width 
which is 0. this time. I just 'reset' the stack's sizes and clicked that arrow 
again and the width was set to 1. 

Michael

On Jun 28, 2010, at 2:25 PM, J. Landman Gay wrote:

 Michael D Mays wrote:
 When I go to one of the location fields, type in a different number;
 tab: nothing happens. If I click either of the arrows for the
 location's input fields of the stack, the stack updates to the
 incremented value. I've quit and restarted Rev;  created a new empty
 mainstack with the same results.
 
 It looks like a very minor bug where those fields aren't recognizing a 
 closefield. If you use the Enter key after typing a value, it works.
 
 Here is something stranger: If I click the max or min width arrow the
 stack shrinks to about width=3, height=10 not at the location in the
 inspector. I can then click the size fields arrow to get the size and
 width to update but the stack is not at the location advertised. If I
 click one of the arrows associated with the location the location
 updates.
 
 I can't reproduct this one.

___
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: snapshot and background problems

2010-06-29 Thread Michael D Mays
So when I do something like
set the filename of image Image to filepath
that data is 'the text of the image or just 'the image' which backs the image 
in its original format. When I ask for 'the imagedata of the image' I get four 
bytes for each pixel in the image: one byte of zeroes, a byte representing red, 
blue and green. There is also an alphadata which has a byte of alphadata for 
each pixel in the image. This data is a serialized stream which  representing 
in sequence  the data : left top pixel ... right top pixel, left pixel of the 
second row ... right pixel of second, left pixel of third row ... right bottom 
pixel. In a sense the imagedata has alphadata information set to zero (no 
transparency). 

How do I put the image in an image into a variable or property?

Michael


On Jun 28, 2010, at 1:53 PM, J. Landman Gay wrote:

 Scott Rossi wrote:
 
 I have no data to suggest that setting the text of an image is any better or
 worse than the method of putting image-related data into an image.  I've
 only seen references by the programming dudes at RunRev to use the text
 property, so I do.
 
 They're different properties for different purposes. The imagedata is 
 basically just a screen shot and if you set the imagedata of an image object, 
 what you end up with is just a bitmap. All other binary info is lost, 
 including channel data. If you set the imagedata of an image object that 
 isn't exactly the same size as the original screen shot, the image will 
 corrupt and become unrecognizable. The imagedata must match the size of the 
 image object exactly to display properly. (Once it's set correctly, you can 
 then scale it, but it will look terrible.)
 
 Setting the text of an image (or just putting an image reference into an 
 image object, it's the same thing) stores all the binary data, including the 
 alpha channel, and the image is scalable and can be manipulated in lots of 
 ways. The size of the image object does not need to match anything in 
 particular, since the engine will scale the data as needed.
 
 Imagedata is useful for creating thumbnails, for example, or for reducing the 
 size footprint of an image in the stack when you know you'll never need to 
 change the displayed bitmap. You can reduce the size of the image internally 
 substantially by using imagedata. Setting the text of an image is more useful 
 if you want to retain all the image properties and manipulate it (rotate, 
 scale, etc.)
 
 -- 
 Jacqueline Landman Gay | jac...@hyperactivesw.com
 HyperActive Software   | http://www.hyperactivesw.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


Getting ALL screen resolutions from 1 screen

2010-06-29 Thread Mark Stuart
Hi all,

Platform: WinXP
Rev: revStudio 4.0

I'm wanting to get all possible screen resolutions from a Windows
computer.
I know the screenRects gets the current resolution from all attached
screens, but I want to get all possible screen resolution range settings
from only 1 of the screens.

Eg: on my computer screen, the range goes from 800x600 all the way to
1280x1024.
I want to get each of the settings in this range.

Anyone know if revStudio has this function or do I have to get it with a
VBScript, or something?

Regards,
Mark Stuart
___
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: Getting ALL screen resolutions from 1 screen

2010-06-29 Thread Richmond

On 06/29/2010 06:36 PM, Mark Stuart wrote:

Hi all,

Platform: WinXP
Rev: revStudio 4.0

I'm wanting to get all possible screen resolutions from a Windows
computer.
I know the screenRects gets the current resolution from all attached
screens, but I want to get all possible screen resolution range settings
from only 1 of the screens.

Eg: on my computer screen, the range goes from 800x600 all the way to
1280x1024.
I want to get each of the settings in this range.

Anyone know if revStudio has this function or do I have to get it with a
VBScript, or something?

   


I have just spent a quick 10 minures fossicking around in the
RunRev Dictionary which seems, unfortunately, to suggest
that one can only obtain the screen resolutions that monitors
are currently set to by the OS.

This is actually quite an old chestnut as I explored this a few
years back when I wanted to reset an end-user's screen rect;
but found that I couldn't.
___
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: snapshot and background problems

2010-06-29 Thread Scott Rossi
Recently, Michael D Mays wrote:

 So when I do something like
 set the filename of image Image to filepath
 that data is 'the text of the image or just 'the image' which backs the image
 in its original format.

The image data is not part of the stack -- you create a reference to the
external image file.  This is useful when you have lots of images that don't
all need to be loaded in memory at the same time.


 How do I put the image in an image into a variable or property?

Two ways I can think of:

1) import paint from file (filename of img myImageRef)
put the text of last img into myVar
delete last img

2) export snapshot from rect (rect of img myImageRef) of img
myImageRef to myVar as PNG

There may be other ways.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design


___
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: Getting ALL screen resolutions from 1 screen

2010-06-29 Thread Bob Sneidar
For Macs it appears someone put together a free terminal app that does this. I 
have not checked it out so proceed with caution. 

http://www.mowlem-enterprises.co.uk/ScreenUtil_v1.0.zip

Bob


On Jun 29, 2010, at 9:42 AM, Richmond wrote:

 On 06/29/2010 06:36 PM, Mark Stuart wrote:
 Hi all,
 
 Platform: WinXP
 Rev: revStudio 4.0
 
 I'm wanting to get all possible screen resolutions from a Windows
 computer.
 I know the screenRects gets the current resolution from all attached
 screens, but I want to get all possible screen resolution range settings
 from only 1 of the screens.
 
 Eg: on my computer screen, the range goes from 800x600 all the way to
 1280x1024.
 I want to get each of the settings in this range.
 
 Anyone know if revStudio has this function or do I have to get it with a
 VBScript, or something?
 
   
 
 I have just spent a quick 10 minures fossicking around in the
 RunRev Dictionary which seems, unfortunately, to suggest
 that one can only obtain the screen resolutions that monitors
 are currently set to by the OS.
 
 This is actually quite an old chestnut as I explored this a few
 years back when I wanted to reset an end-user's screen rect;
 but found that I couldn't.
 ___
 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: Getting ALL screen resolutions from 1 screen

2010-06-29 Thread G. Wolfgang Gaich

 For windows systems:

http://www.mirkes.de/files/batch_tools.zip

In the archiv there is a display.exe:

 show or change display settings (resolution, frequency, bit depth)
usage:
display hwidth vheight [ffreq.] [bbit depth]: change display 
settings

(e.g. h1024 v768 f60 b16)
display /LIST: list all supported screen resolutions
display /CUR: show current display settings
display /?: shows this usage screen

Regards
Wolfgang



Am 29.06.2010 17:36, schrieb Mark Stuart:

Hi all,

Platform: WinXP
Rev: revStudio 4.0

I'm wanting to get all possible screen resolutions from a Windows
computer.
I know the screenRects gets the current resolution from all attached
screens, but I want to get all possible screen resolution range settings
from only 1 of the screens.

Eg: on my computer screen, the range goes from 800x600 all the way to
1280x1024.
I want to get each of the settings in this range.

Anyone know if revStudio has this function or do I have to get it with a
VBScript, or something?

Regards,
Mark Stuart
___
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: Getting ALL screen resolutions from 1 screen

2010-06-29 Thread Ken Ray
Mark,

You can do this with VBScript - here's a script that gets all possible video
controller resolutions:

' List All Possible Video Controller Resolutions


On Error Resume Next

strComputer = .
Set objWMIService = GetObject(winmgmts: _
 {impersonationLevel=impersonate}!\\  strComputer  \root\cimv2)

Set colItems = objWMIService.ExecQuery _
(Select * from CIM_VideoControllerResolution)

For Each objItem in colItems
Wscript.Echo Horizontal Resolution:   objItem.HorizontalResolution
Wscript.Echo Number Of Colors:   objItem.NumberOfColors
Wscript.Echo Refresh Rate:   objItem.RefreshRate
Wscript.Echo Scan Mode:   objItem.ScanMode
Wscript.Echo Setting ID:   objItem.SettingID
Wscript.Echo Vertical Resolution:   objItem.VerticalResolution
Wscript.Echo
Next


Have fun!


Ken Ray
Sons of Thunder Software, Inc.
Email: k...@sonsothunder.com
Web Site: http://www.sonsothunder.com/

On 6/29/10 10:36 AM, Mark Stuart mstu...@adaptcrm.com wrote:

 Hi all,
 
 Platform: WinXP
 Rev: revStudio 4.0
 
 I'm wanting to get all possible screen resolutions from a Windows
 computer.
 I know the screenRects gets the current resolution from all attached
 screens, but I want to get all possible screen resolution range settings
 from only 1 of the screens.
 
 Eg: on my computer screen, the range goes from 800x600 all the way to
 1280x1024.
 I want to get each of the settings in this range.
 
 Anyone know if revStudio has this function or do I have to get it with a
 VBScript, or something?
 
 Regards,
 Mark Stuart
 ___
 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: Getting ALL screen resolutions from 1 screen

2010-06-29 Thread Richmond

On 06/29/2010 11:12 PM, Ken Ray wrote:

Mark,

You can do this with VBScript - here's a script that gets all possible video
controller resolutions:

' List All Possible Video Controller Resolutions


On Error Resume Next

strComputer = .
Set objWMIService = GetObject(winmgmts: _
   {impersonationLevel=impersonate}!\\  strComputer  \root\cimv2)

Set colItems = objWMIService.ExecQuery _
 (Select * from CIM_VideoControllerResolution)

For Each objItem in colItems
 Wscript.Echo Horizontal Resolution:   objItem.HorizontalResolution
 Wscript.Echo Number Of Colors:   objItem.NumberOfColors
 Wscript.Echo Refresh Rate:   objItem.RefreshRate
 Wscript.Echo Scan Mode:   objItem.ScanMode
 Wscript.Echo Setting ID:   objItem.SettingID
 Wscript.Echo Vertical Resolution:   objItem.VerticalResolution
 Wscript.Echo
Next


Have fun!


   


I'd like to have fun on a cross-platform basis; and I'm sure
quite a few others would like to as well.

The most 'fun' would be had were this capability [to detect all possible
screen resolutions an end-user's monitor supports] and the ability to
change end--users' screen resolutions native to RunRev.

As my children seem to play endless games on Mac and Linux that do
reset the screen resolution (and put it back to its original one once the
games quits) I cannot belive it is unduly difficult.

Last time I raised this issue all sorts of people got hot under the collar
and said that it wasn't cricket to muck around with end-users' screen
resolutions; funny really when games do it all the time! Mind you, I have
yet to see a game of virtual cricket on a computer . . .  :)
___
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: MD5 digests of very big files

2010-06-29 Thread Alejandro Tejada

Hi Malte,

Malte Pfaff Brill wrote:
 I guess the problem you see is that revs MD5s
 need to be binaryDecoded to have the same output
 like for example PHP. A simple script to see this is:
 on mouseUp
   local tCheck,tResult
   put md5Digest(moo) into tCheck
   get binaryDecode(H*,tCheck,tResult)
   put tCheckcrtResult
  -- tCheck is revs, tResult is compliant to PHP
 end mouseUp

Excellent! :-D
Now the quasiMD5 function reads as follow:

function quasiMD5 pFile 
-- posted by Mark Waddingham 
  local tMD5s,tResult
  open file pFile for binary read 
  repeat 
read from file pFile for 4096 bytes 
if it is empty then 
  exit repeat 
end if 
put the md5digest of it after tMD5s 
  end repeat 
  close file pFile 
  put the md5Digest of tMD5s into tCheck
  get binaryDecode(H*,tCheck,tResult)
  return tResult
end quasiMD5 

Just notice that converting the MD5 binary string
to Hexadecimal numbers do not solve the last
question:

How could we change this  function to get the same MD5
from a big file (like a Linux ISO image) than command
lines programs do?

For example, the MD5 of the more recent version of Puppy
Linux ISO image is 0847331e9cdcb55eaae238924d131a24
ftp://ibiblio.org/pub/linux/distributions/puppylinux/puppy-5.0.1/

This quasiMD5 function does not produce the same MD5
digest and everyone advice that we should not load the
full 128 MB file on memory to calculate it using Rev.

I am sure that command line programs that calculate MD5
digest only read small chunks too (just like this function
does) but they also apply other math or bit operations to
get the correct MD5 digest.

My question is: Which other operations are needed in
this quasiMD5 function to produce true MD5 digests
of big files?

Thanks in advance.

Al
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/MD5-digests-of-very-big-files-tp2271355p2272645.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: MD5 digests of very big files

2010-06-29 Thread Richard Gaskin

Alejandro Tejada wrote:


My question is: Which other operations are needed in
this quasiMD5 function to produce true MD5 digests
of big files?


The MD5 algo is a great way for quick data validation for internal use, 
but for more serious use (like verifying a distro) I don't think anyone 
uses MD5 anymore - from Wikipedia:



  MD5 was designed by Ron Rivest in 1991 to replace an
  earlier hash function, MD4. In 1996, a flaw was found
  with the design of MD5. While it was not a clearly
  fatal weakness, cryptographers began recommending the
  use of other algorithms, such as SHA-1 (which has
  since been found also to be vulnerable). In 2004, more
  serious flaws were discovered, making further use of
  the algorithm for security purposes questionable.[3][4]
  In 2007 a group of researchers described how to create
  a pair of files that share the same MD5 checksum.[5]
  In an attack on MD5 published in December 2008, a group
  of researchers used this technique to fake SSL certificate
  validity.[6][7]  US-CERT of the U. S. Department of
  Homeland Security said MD5 should be considered
  cryptographically broken and unsuitable for further
  use,[8]  and most U.S. government applications will
  be required to move to the SHA-2 family of hash
  functions after 2010.[9]

http://en.wikipedia.org/wiki/MD5

I've seen some SHA-1 hashes in RevTalk, but nothing for SHA-2 - anyone 
know of one?


--
 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: MD5 digests of very big files

2010-06-29 Thread Bob Sneidar
Yes MD5 is supremely hackable, or should I say hashable. There are hash tables 
that contain the MD5 hash for an almost unlimited number of possible keys, and 
the algorithm is also easily crackable these days.

Bob


On Jun 29, 2010, at 2:30 PM, Richard Gaskin wrote:

 Alejandro Tejada wrote:
 
 My question is: Which other operations are needed in
 this quasiMD5 function to produce true MD5 digests
 of big files?
 
 The MD5 algo is a great way for quick data validation for internal use, but 
 for more serious use (like verifying a distro) I don't think anyone uses MD5 
 anymore - from Wikipedia:
 
 
  MD5 was designed by Ron Rivest in 1991 to replace an
  earlier hash function, MD4. In 1996, a flaw was found
  with the design of MD5. While it was not a clearly
  fatal weakness, cryptographers began recommending the
  use of other algorithms, such as SHA-1 (which has
  since been found also to be vulnerable). In 2004, more
  serious flaws were discovered, making further use of
  the algorithm for security purposes questionable.[3][4]
  In 2007 a group of researchers described how to create
  a pair of files that share the same MD5 checksum.[5]
  In an attack on MD5 published in December 2008, a group
  of researchers used this technique to fake SSL certificate
  validity.[6][7]  US-CERT of the U. S. Department of
  Homeland Security said MD5 should be considered
  cryptographically broken and unsuitable for further
  use,[8]  and most U.S. government applications will
  be required to move to the SHA-2 family of hash
  functions after 2010.[9]
 
 http://en.wikipedia.org/wiki/MD5
 
 I've seen some SHA-1 hashes in RevTalk, but nothing for SHA-2 - anyone know 
 of one?
 
 --
 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


last available version of revBrowser.dll (windows) ?

2010-06-29 Thread Pierre Sahores
Hi Friends,

Anyone knows what is the last available version of revBrowser.dll (windows) ? 
If yes, is it the same in Rev 4 and rev 4.5 ?

Many thanks for your comments.

Best, Pierre :-)


--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.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: Location parameters in Size Inspector for stack

2010-06-29 Thread Mark Wieder
Jacque-

Monday, June 28, 2010, 12:57:09 PM, you wrote:

 groan Reproduct is a perfectly good word, it just isn't in
 widespread use yet. Knowing you, it soon will be...

I think reproduct is a great verb. And the concept is certainly in
common use:

it's what makers of candy bars and cereal boxes when they keep the
price and basic packaging the same but lower the volume; or what
petroleum companies do when they raise the price of gasoline in the
summer; or what Microsoft did in renaming OLE to ActiveX when
developers revolted against the idiocy of its API.

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


Imbedding e-mail address in an About dialog...

2010-06-29 Thread charles61

How do you imbed an e-mail address link in the generic About dialog generated
by the Menu Builder? I wanted to put a link in the About dialog so the user
could click on it that would launch the user's e-mail application.
-- 
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Imbedding-e-mail-address-in-an-About-dialog-tp2272657p2272657.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


RevCloud (was Re: Line Numbers in Text Editor)

2010-06-29 Thread Richard Gaskin

stephen barncard wrote:


On 26 June 2010 09:23, Richard Gaskin wrote:

...
This keeps the stack file small enough to be extremely portable
(I'm migrating a lot of tools to cloud storage - look for *RevCloud*
coming soon to RevNet this summer; think devolution on serious
steroids and focused on collaborative workflows)...


RevCloud?? wha?

ok Richard, you've opened the door now you must tell us more...
( I didn't want that to rhyme.)


It's okay if what you wrote rhymes.  It happens here from time to time. 
 It might seem like something you should avoid, but too much effort 
would be paranoid.  So if what you wrote comes out that way just be glad 
that it says what you had to say.


:)

I reluctant to put too much effort into selling things that aren't 
shipping yet.  The proof will be in the pudding, and it won't matter 
much until you have a spoon in hand and are ready to taste it for yourself.


But RevCloud's moving along well enough that it doesn't hurt to at least 
give a heads up about it.


And besides, there there's nothing to sell: RevCloud will be free.

So here's the skinny:

Over the last decade most of my projects have had between three and five 
developers working on them, and the more I learn about this community 
the more I realize these are pretty typical team sizes for the sorts of 
projects for which Rev is a good fit.


Such distributed workflows open up great opportunities to leverage 
collective knowledge and experience, but also present a variety of 
challenges in coordinating the team for optimal effectiveness.


RevCloud makes it easier to support multi-developer teams by providing a 
collection of tools tailored specifically for the sort of work we do in Rev.


Even better, the tools in RevCloud are just the icing.  Beneath them is 
a tasty layer cake of client and server libraries from which you can 
build all sorts of other tools to support your team.


I could write more about this, and will soon, but to keep this list on 
topic I'll post those details in RevNet.


It'll be a few more weeks before the cake is out of the oven, as I have 
a couple pressing client deadlines to meet first.  I'll drop a note here 
when RevNet has been updated


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


Getting ALL screen resolutions from 1 screen

2010-06-29 Thread Mark Stuart
on Tue Jun 29 15:02:41 CDT 2010, G. Wolfgang Gaich wrote:

For windows systems:
http://www.mirkes.de/files/batch_tools.zip
In the archive there is a display.exe:
show or change display settings (resolution, frequency, bit depth)
usage:
display hwidth vheight [ffreq.] [bbit depth]: change display 
settings
 (e.g. h1024 v768 f60 b16)
display /LIST: list all supported screen resolutions
display /CUR: show current display settings
display /?: shows this usage screen
Regards
Wolfgang


Wolfgang, thanx for the suggestion on the display.exe /LIST.
It works great at the DOS box and returns all the options and more.
I'll script a Shell to get all values and then Filter the list to return
unique values as:
800x600
1024x768
etc.

BTW, is this your web site referenced above?


Regards,
Mark Stuart
___
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: Imbedding e-mail address in an About dialog...

2010-06-29 Thread Jeff Massung
Add a field to the about box named Email

put Email support with any questions into fld Email
set the textStyle of word 2 of fld Email to link
set the linkText of word 2 of fld Email to mailto:m...@gmail.com;

Done. ;-)

Jeff M.

On Tue, Jun 29, 2010 at 6:27 PM, charles61 csz...@mac.com wrote:


 How do you imbed an e-mail address link in the generic About dialog
 generated
 by the Menu Builder? I wanted to put a link in the About dialog so the user
 could click on it that would launch the user's e-mail application.
 --
 View this message in context:
 http://runtime-revolution.278305.n4.nabble.com/Imbedding-e-mail-address-in-an-About-dialog-tp2272657p2272657.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: Mac Standalone Bug

2010-06-29 Thread Bill Vlahos
That doesn't fix it in 4.0.

Bill Vlahos
_
InfoWallet (http://www.infowallet.com) is about keeping your important life 
information with you, accessible, and secure.

On Jun 24, 2010, at 10:22 AM, J. Landman Gay wrote:

 Justin Sloan wrote:
 Jeff,
 I do have a menu. Is that the problem?  How do I counter it?
 
 It's an ancient issue. If you have a menu, make sure the destroystack 
 property of the stack is false. That fixes it. Then rebuild the standalone.
 
 -- 
 Jacqueline Landman Gay | jac...@hyperactivesw.com
 HyperActive Software   | http://www.hyperactivesw.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


Drag Drop question

2010-06-29 Thread tkuyp...@telenet.be
ok, something weird is happening and I'm lost...

I have a list with some lines of text of which I want to drag from.
Next I have a button on which I want to drop onto.

I've created an invisible button, whose label is set to the line I selected, 
and becomes visible in the dragStart handler of the field.

Script in field:
on dragStart
   set the itemdel to tab
   set the label of btn DragData to item 2 of the hilitedText of me
   show btn DragData
   set the dragData[text] to the hilitedText of me
   pass dragStart
end dragStart

on dragEnd
   hide btn DragData
end dragEnd

on dragMove
   set the loc of btn DragData to the mouseLoc
   pass dragMove
end dragMove


And now the strange thing.
Drag  drop works fine, the button accepts the drop, but moving the 
text-lable-button is choppy and  stops when I leave the field.

So I moved the DragMove handler out of the field and moved it to the card 
script.
Moving is really smooth now, the button follows the mouse very nice, but the 
drop doesn't work anymore... The button that should receive the dragData just 
doesn't react anymore.

What am I missing?

I'm on a Mac and using the latest version of RR (4.5.0-dp-3), but 4.0.0-gm-1 
reacts the same.

Any help is welcome!


Met vriendelijke groeten,
Warm Regards,

PublishingTools 4 U
Ton Kuypers
+32 (0) 477 739 530

Aardbemden 11 • B-2400 • Mol • Belgium
www.publishingtools4u.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: Sorting lines by variable directions and types

2010-06-29 Thread James Hurley


Message: 22
Date: Sun, 27 Jun 2010 23:14:00 -0500
From: Ken Ray k...@sonsothunder.com
Subject: Re: Sorting lines by variable directions and types
To: Use Revolution List use-revolution@lists.runrev.com
Message-ID: c84d8bb8.43259%k...@sonsothunder.com
Content-Type: text/plain;   charset=US-ASCII


Is there some slight of hand I can perform on the variables  
tDirection

and tType to make my one-liner functional, i.e.

sort lines of  tList   MagicOperator(tDirection)
MagicOperator(tType) by word 1 of each


You should be able to use do for this:

 do sort lines of tList  tDirection  tType  by word 1 of  
each



Ken Ray
Sons of Thunder Software, Inc.
Email: k...@sonsothunder.com
Web Site: http://www.sonsothunder.com/


Ah, the DO command. I remember now hearing about it on this list in  
times long gone by.


I always felt there was always something a little mysterious and  
miraculous about it.


I think there must have been a DO command involved when the Sun  
stood still for Joshua.


Don't explain it to me. I need a little mystery in my  life right now.

Suffice it to say that it works. Thanks.

Jim Hurley
___
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: Drag Drop question

2010-06-29 Thread Jan Schenkel
I think the button you're dragging along will get in the way of the drop. It's 
better to update the dragImage rather than try and move a 'shadow' button 
around the card; besides, it won't show once your drag goes outside the window.

Add an image, set its name to DragImage and hide it. Then use the following 
code:
##
on dragStart
   set the itemdel to tab
   set the label of btn DragData to \
  item 2 of the hilitedText of me
   export snapshot from btn DragData \
  to image DragImage as PNG
   set the dragImage to the short id of image DragImage
   set the dragData[text] to the hilitedText of me
   pass dragStart
end dragStart
##

You can always play around with the dragImageOffset to better align the 
dragImage with the cursor.

HTH,

Jan Schenkel.
=
Quartam Reports  PDF Library for Revolution
http://www.quartam.com

=
As we grow older, we grow both wiser and more foolish at the same time.  (La 
Rochefoucauld)


--- On Tue, 6/29/10, tkuyp...@telenet.be tkuyp...@telenet.be wrote:
 ok, something weird is happening and
 I'm lost...
 
 I have a list with some lines of text of which I want to
 drag from.
 Next I have a button on which I want to drop onto.
 
 I've created an invisible button, whose label is set to the
 line I selected, and becomes visible in the dragStart
 handler of the field.
 
 Script in field:
 on dragStart
    set the itemdel to tab
    set the label of btn DragData to item 2
 of the hilitedText of me
    show btn DragData
    set the dragData[text] to the
 hilitedText of me
    pass dragStart
 end dragStart
 
 on dragEnd
    hide btn DragData
 end dragEnd
 
 on dragMove
    set the loc of btn DragData to the
 mouseLoc
    pass dragMove
 end dragMove
 
 
 And now the strange thing.
 Drag  drop works fine, the button accepts the drop,
 but moving the text-lable-button is choppy and  stops
 when I leave the field.
 
 So I moved the DragMove handler out of the field and
 moved it to the card script.
 Moving is really smooth now, the button follows the mouse
 very nice, but the drop doesn't work anymore... The button
 that should receive the dragData just doesn't react
 anymore.
 
 What am I missing?
 
 I'm on a Mac and using the latest version of RR
 (4.5.0-dp-3), but 4.0.0-gm-1 reacts the same.
 
 Any help is welcome!
 
 
 Met vriendelijke groeten,
 Warm Regards,
 
 PublishingTools 4 U
 Ton Kuypers
 +32 (0) 477 739 530
 
 Aardbemden 11 • B-2400 • Mol • Belgium
 www.publishingtools4u.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: Drag Drop question

2010-06-29 Thread Mark Wieder
tkuypers-

Here's a tutorial I wrote on drag-and-drop:

http://lessons.runrev.com/spaces/lessons/buckets/784/lessons/7124-Pinning-Drag-and-drop-to-the-mat-a-primer

-- 
-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: Location parameters in Size Inspector for stack

2010-06-29 Thread J. Landman Gay

Michael D Mays wrote:

If a field isn't recognizing the closefield message I would call that
a major bug, if the closefield message isn't being trapped and/or
acted upon correctly in a field I would call that minor. (yes I am
nit picking like my cousins ;)


It looks to me like it just isn't handling it. It used to, if I remember 
right.




Re reproduction: If I create a new stack, double click the stack to
open the inspector, go to size and position; click the up arrow for
the Max. Width, my stack disappears.


The default value for maxWidth and maxHeight is the topmost limit of the 
allowable stack size. So if you click the up arrow, you're going to go 
off into the weeds; the size will be an abstraction. The fix would be to 
script the inspector not to accept larger values than the maximum. You 
could report that in the Quality Control Center if you feel like it. 
http://quality.runrev.com/



If I check the location width;
height via the message box I find all of them are what is reported in
the inspector except for the width which is 0. this time. I just
'reset' the stack's sizes and clicked that arrow again and the width
was set to 1.


If you are trying to set the maxWidth higher than the default, then 
that's out of range too.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.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: Mac Standalone Bug

2010-06-29 Thread J. Landman Gay

Bill Vlahos wrote:

That doesn't fix it in 4.0.


Odd, it's what I usually use. You could try setting the destroywindow to 
false too. I don't think you need to, but it's all I can think of. You 
saved the stack after resetting the destroystack, before building, 
right? Is the checkbox for destroystack NOT checked in the standalone 
settings? If that's checked, the SB will reset the property behind your 
back.


The horrible, ugly workaround is to hide the stack on preOpenStack, set 
the height via script, and then show the stack.




Bill Vlahos
_
InfoWallet (http://www.infowallet.com) is about keeping your important life 
information with you, accessible, and secure.

On Jun 24, 2010, at 10:22 AM, J. Landman Gay wrote:


Justin Sloan wrote:

Jeff,
I do have a menu. Is that the problem?  How do I counter it?

It's an ancient issue. If you have a menu, make sure the destroystack property 
of the stack is false. That fixes it. Then rebuild the standalone.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.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: Mac Standalone Bug

2010-06-29 Thread Mark Schonewille

Hi Bill,

Set the destroyStack to false, toggle the destroyWindow property (just  
try both possibilities), save and close your stack. Re-open your stack  
and build your standalone immediately. This worked for me.


Another solution might be to set the editMenus to true while hiding  
the menubar group.


--
Best regards,

Mark Schonewille

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

Subscribe to the Economy-x-Talk newsletter at http://qurl.tk/cj
Download Clipboard Link http://clipboardlink.economy-x-talk.com and  
share the clipboard of your computer over the local network.


On 30 jun 2010, at 02:06, Bill Vlahos wrote:


That doesn't fix it in 4.0.

Bill Vlahos
_
InfoWallet (http://www.infowallet.com) is about keeping your  
important life information with you, accessible, and secure.


On Jun 24, 2010, at 10:22 AM, J. Landman Gay wrote:


Justin Sloan wrote:

Jeff,
I do have a menu. Is that the problem?  How do I counter it?


It's an ancient issue. If you have a menu, make sure the  
destroystack property of the stack is false. That fixes it. Then  
rebuild the standalone.



___
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: RevCloud (was Re: Line Numbers in Text Editor)

2010-06-29 Thread Sarah Reichelt
 RevCloud makes it easier to support multi-developer teams by providing a
 collection of tools tailored specifically for the sort of work we do in Rev.

 Even better, the tools in RevCloud are just the icing.  Beneath them is a
 tasty layer cake of client and server libraries from which you can build all
 sorts of other tools to support your team.

 I could write more about this, and will soon, but to keep this list on topic
 I'll post those details in RevNet.

This sounds really interesting Richard, and very much ON topic in my
opinion. Please keep us in the loop.

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