Re: New Bugzilla report Bug 2631

2005-02-24 Thread J. Landman Gay
On 2/24/05 10:05 AM, Alejandro Tejada wrote:
on Wed, 23 Feb 2005 18:06:48 -0600
J. Landman Gay wrote:

I interpreted the original "bug" report as a
complaint that any Rev stack can be dropped on 
any Rev standalone and the stack will open. 

That's exactly what i mean, but notice this
report is platform specific for Windows.

In Windows, dropping a stack onto an exe does appear
to launch the exe sometimes, 
[snip]
Maybe he will write again and describe the problem
more fully.

In 3 differents machines, it always launch the exe 
and opens the file.
Right, but that is what I would expect. All stacks are the same file 
format, and all Rev standalones can read that format. This behavior 
allows us all to create stacks that will run on any standalone we build. 
It also allows MetaCard, Revolution, and Rev Player to open the same 
stacks, even across platforms.

Isn't this the same as allowing all word processors to open text files? 
I'm not sure why this would be a bug. The engine is the same for all 
Rev-related apps and they all read the same stack files.

To get around this, you could write a preOpenStack handler and put it in 
your standalone. Save all your stacks with a custom property that 
contains an identity code. Then when a user drops a stack onto the 
standalone, the preOpenStack handler will run. That handler could read 
the custom property and see if it is the correct identity code for the 
standalone. If not, put up an error dialog (and quit the standalone, if 
you want.) If the stack is the correct one, let the stack open. That is 
how some other Windows apps handle incorrect file drops.

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: New Bugzilla report Bug 2631

2005-02-24 Thread Alejandro Tejada
on Wed, 23 Feb 2005 18:06:48 -0600
J. Landman Gay wrote:

> I interpreted the original "bug" report as a
> complaint that any Rev stack can be dropped on 
> any Rev standalone and the stack will open. 

That's exactly what i mean, but notice this
report is platform specific for Windows.

> In Windows, dropping a stack onto an exe does appear
> to launch the exe sometimes, 
[snip]
> Maybe he will write again and describe the problem
> more fully.

In 3 differents machines, it always launch the exe 
and opens the file.

Not only my standalones...
Download this exe and install it
in your machine:


Here, in Windows XP and Windows 98, when i drag and
drop a stack over this exe file, my stack opens...
as well as the main stack of this game.

Try it in your Windows machine and report the
results.

al

=
Visit my site:
http://www.geocities.com/capellan2000/



__ 
Do you Yahoo!? 
Yahoo! Mail - 250MB free storage. Do more. Manage less. 
http://info.mail.yahoo.com/mail_250
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: New Bugzilla report Bug 2631

2005-02-24 Thread Alejandro Tejada
on Wed, 23 Feb 2005
J. Landman Gay wrote:

> Unless I am misunderstanding, this is not a bug. 
> It has to do with file associations in the 
> operating system. 
[snip]
> The operating system determines what application
> will open a file based on these criteria.

Then, Why i could open stacks by dragging and dropping
over the executable file?

The executable runs and open their mainstacks,
but they always open the stack i dragged to them.

Tested with many executable files published
by developers in this mail list.

Did you know how to stop this unwanted behavior?

Better yet, How could we create an exe file that
only accept drops from their own file type?

thanks in advance

al 

=
Visit my site:
http://www.geocities.com/capellan2000/



__ 
Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard. 
http://promotions.yahoo.com/new_mail 
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: New Bugzilla report Bug 2631

2005-02-23 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On the Mac:
The creator code is likely ignored when determining which files can be 
dropped, since you can drop an icon from a program other than the one 
which created the file (thus the reason for drag-and-drop opening in 
the first place, otherwise we could just double-click and be done with 
it).

The type codes are what is of interest, and an app can be associated 
with more than one.  To prevent a Mac app from accepting the 
drag-and-drop open, one would need to make sure that the Rev stack file 
type is not among those given for use by that particular app.

This is handled by the plist file in an OS X bundle.
On Feb 23, 2005, at 7:06 PM, J. Landman Gay wrote:
On 2/23/05 12:24 PM, Frank D. Engel, Jr. wrote:
File associations are irrelevant for drag 'n drop of document/file 
icons on an app's icon.  That much is true for most operating 
systems.
Not on Macs, though I see now it can be different on Windows. I don't 
know about the 'nixes.

I interpreted the original "bug" report as a complaint that any Rev 
stack can be dropped on any Rev standalone and the stack will open. On 
a Mac (both classic and OS X,) file associations determine this 
behavior. If the poster didn't reset the default file type when he 
built his standalone, and he's on a Mac, then I'd expect any of his 
standalones will open any Rev stack.

On Macs, if you drop a PDF file onto Revolution, nothing happens. Rev 
doesn't accept the drop and doesn't launch. The file types (or 
extensions in OS X) aren't right, so the OS prevents any action.

In Windows, dropping a stack onto an exe does appear to launch the exe 
sometimes, though the file will either error, or in some cases the app 
will see it as a text file and open it that way. So I guess that's 
what you meant. Windows apps may accept the file as a dropped item, 
but the app won't generally be able to work with it.

But the poster was bug-reporting that his standalones open any stacks 
he makes. This doesn't sound like a bug to me in any case. It sounds 
like exactly the behavior we'd want most of the time. On a Mac, he can 
change the file type and creator codes of the standalones to prevent 
this behavior. On Windows, I guess there isn't much he can do outside 
of writing some code that checks a custom property or something, and 
then quitting if it isn't right.

Maybe he will write again and describe the problem more fully.
--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

- ---
Frank D. Engel, Jr.  <[EMAIL PROTECTED]>
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCHSlP7aqtWrR9cZoRApAzAKCRWYj9RblIpkNDCknJjwGnZmz1JgCfZGqc
LIh1Vt6aEjKWaAYnjOdKA1U=
=h/17
-END PGP SIGNATURE-

___
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: New Bugzilla report Bug 2631

2005-02-23 Thread J. Landman Gay
On 2/23/05 12:24 PM, Frank D. Engel, Jr. wrote:
File associations are irrelevant for drag 'n drop of document/file icons 
on an app's icon.  That much is true for most operating systems.
Not on Macs, though I see now it can be different on Windows. I don't 
know about the 'nixes.

I interpreted the original "bug" report as a complaint that any Rev 
stack can be dropped on any Rev standalone and the stack will open. On a 
Mac (both classic and OS X,) file associations determine this behavior. 
If the poster didn't reset the default file type when he built his 
standalone, and he's on a Mac, then I'd expect any of his standalones 
will open any Rev stack.

On Macs, if you drop a PDF file onto Revolution, nothing happens. Rev 
doesn't accept the drop and doesn't launch. The file types (or 
extensions in OS X) aren't right, so the OS prevents any action.

In Windows, dropping a stack onto an exe does appear to launch the exe 
sometimes, though the file will either error, or in some cases the app 
will see it as a text file and open it that way. So I guess that's what 
you meant. Windows apps may accept the file as a dropped item, but the 
app won't generally be able to work with it.

But the poster was bug-reporting that his standalones open any stacks he 
makes. This doesn't sound like a bug to me in any case. It sounds like 
exactly the behavior we'd want most of the time. On a Mac, he can change 
the file type and creator codes of the standalones to prevent this 
behavior. On Windows, I guess there isn't much he can do outside of 
writing some code that checks a custom property or something, and then 
quitting if it isn't right.

Maybe he will write again and describe the problem more fully.
--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: New Bugzilla report Bug 2631

2005-02-23 Thread Richard Gaskin
Frank D. Engel, Jr. wrote:
File associations are irrelevant for drag 'n drop of document/file icons 
on an app's icon.  That much is true for most operating systems.
I don't understand.  This is what I need to do to get a document to be 
droppable onto an app:

OS X: I need to add entries to the CFBundleDocumentTypes
  section of the info.plist file, noting the file's
  extension and type code.

Win:  I need to add an entry to the registry identifying
  a given file extension with a given app.

Linux: Sadly varies unnecessarily between window managers,
   but most require a MIME entry into a database.
By what other mechanisms can one associate a file type with an 
application that can open it?

--
 Richard Gaskin
 Fourth World Media Corporation
 __
 Rev tools and more: http://www.fourthworld.com/rev
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: New Bugzilla report Bug 2631

2005-02-23 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
File associations are irrelevant for drag 'n drop of document/file 
icons on an app's icon.  That much is true for most operating systems.

On Feb 23, 2005, at 12:57 PM, J. Landman Gay wrote:
Unless I am misunderstanding, this is not a bug. It has to do with 
file associations in the operating system. On MacOS, you need to
- ---
Frank D. Engel, Jr.  <[EMAIL PROTECTED]>
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCHMpF7aqtWrR9cZoRAkxPAJ4h0Yg/Z2Mm7Bg8QnCJYzwrQkMz6wCfbjIa
IxqzL++8wLphQRPh8/0qT2g=
=/lt+
-END PGP SIGNATURE-

___
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: New Bugzilla report Bug 2631

2005-02-23 Thread J. Landman Gay
On 2/23/05 10:33 AM, Alejandro Tejada wrote:
Hi Developers,
I've posted this bug report:
Bug# 2631
--
I could open any stack by dragging and droping
over an executable file.
Verified with many standalones build with
RR and MC.
Some standalones even let me copy a jpg file in the
hard disk and open it in windows explorer.
--
If this bug affect your work, please consider
to vote for it.
Unless I am misunderstanding, this is not a bug. It has to do with file 
associations in the operating system. On MacOS, you need to assign a 
different creator and type code to your standalone. On Mac OS X, either 
do the same thing, or use a different file extension (do not use .rev). 
On Windows, use a different file association as well.

The operating system determines what application will open a file based 
on these criteria.

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


New Bugzilla report Bug 2631

2005-02-23 Thread Alejandro Tejada
Hi Developers,

I've posted this bug report:

Bug# 2631
--
I could open any stack by dragging and droping
over an executable file.

Verified with many standalones build with
RR and MC.

Some standalones even let me copy a jpg file in the
hard disk and open it in windows explorer.
--

If this bug affect your work, please consider
to vote for it.

al


=
Visit my site:
http://www.geocities.com/capellan2000/




__ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution