Re: Identifying a certain Windows machine

2010-03-29 Thread Peter Alcibiades

Don't bother.  

All they have to do is install in a VM, or even in Wine.  Then if they move
the VM, or the Wine folder, the machine ID stays the same.  So you don't
achieve anything, all you do is annoy your less sophisticated customers, who
will find someone who knows how to defeat it.  But it gets worse.

The problem is, they will feel they have a legitimate need to be able to
move their install from one physical machine to another.  They will feel
that a restriction to one particular machine, as opposed to one
installation, is not fair.  However, what you have then encouraged them to
do, installing on a VM, gives them the ability to install as many copies as
they want, wherever they want.  Its counterproductive.

Then, you'll start to think, maybe there is a way I can detect and ban VMs. 
And Wine.  Yes, maybe.  How will they see that?  Will inability to run under
Wine or in a VM seem to the customer like a value added feature?
-- 
View this message in context: 
http://n4.nabble.com/Identifying-a-certain-Windows-machine-tp1742751p1744691.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: Identifying a certain Windows machine

2010-03-29 Thread Monte Goulding


On 30/03/2010, at 2:51 PM, Joe F. wrote:

Does anyone know of a way to identify the Windows machine of a  
certain user in a reliable way.


I want my app to download a stack file which will only run on one  
user's machine.
Is there a way to access something like a MAC number or some unique  
identifier on Windows machines.


Yep:

# GetMACAddress()
#
# Function to return the MAC address
#
# Makes use of ifconfig on OS X and ipconfig on Windows

function getMACAddress
  -- value to return
  local retVal
  switch (the platform)
  case "MacOS"
if the systemVersion < 10 then
  -- MacOS
  set the directory to specialFolderPath("apple")
  put "tell application" && quote & "Apple System Profiler" & \
  quote & cr & "get appletalk address" & cr & "end tell" into  
getMACScript

  put "tell application" && quote & "Apple System Profiler" & \
  quote & cr & "close window" && quote & "Apple System  
Profiler" & quote & \

  cr & "end tell" into quitASPScript
  do getMACScript as AppleScript
  put the result into retVal
  do quitASPScript as AppleScript
  replace "{" with "" in retVal
  replace "}" with "" in retVal
  replace quote with "" in retVal
else
  -- OS X
  put shell("ifconfig en0") into ifConfigs
  if char 1 to 4 of ifConfigs = "zsh:" then
return "Error retrieving interface configuration."
  else
get matchText(ifconfigs,"(?s)ether (.*?) ",retVal) -- These  
are spaces on either side of (.*?)

if it is false then
  return "Error retrieving MAC address."
end if
  end if
end if
break
  case "Win32"
-- All Windows
put (there is a file (specialFolderPath("system") & "/ 
IPCONFIG.EXE")) into winExists
put (there is a file (specialFolderPath("system") & "/SYSTEM32/ 
IPCONFIG.EXE")) into sys32Exists

if winExists or sys32Exists then
  set the hideConsoleWindows to true
  put shell("ipconfig /all") into temp
  get matchText(temp,"Physical Address[\. ]*: ([A-Z0-9-]*)",retVal)
else
  return "Error retrieving MAC address."
end if
break
  end switch
  return retVal
end getMACAddress



Bonus question:
Is there a good way to make a stack self-destruct?


Just don't let the user save the file if you only want it run just  
after the download.

use:
go stack url http://www.myserver.com/test.rev

Cheers

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


Identifying a certain Windows machine

2010-03-29 Thread Joe F.
Does anyone know of a way to identify the Windows machine of a certain  
user in a reliable way.


I want my app to download a stack file which will only run on one  
user's machine.
Is there a way to access something like a MAC number or some unique  
identifier on Windows machines.


Bonus question:
Is there a good way to make a stack self-destruct?

Cheers,
Joe F.
___
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: Standalone issues

2010-03-29 Thread Joe F.
No apologies necessary Sarah- It's quite reassuring to know you also  
go through these episodes of agony.


I just went thru a similar thing trying to figure out why datagrids  
weren't working in a stack that I now want to make into a separate  
unit of a standalone.


I'm curious how you go about protecting the external stack files in  
your project.

I was just coming to post a question about that when I read yours.

Joe F.

On Mar 29, 2010, at 9:20 PM, Sarah Reichelt wrote:


Sigh - my fault
Somehow one of the other sub-stacks had got it's stackFiles property
set, so that's where the extra stack file was coming from.

Once I fixed this, my data grid problem also disappeared.

Sorry to bother the list.

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: RevTalk as a Server

2010-03-29 Thread Pierre Sahores

Hi Shani,

Perhaps would this tutorial help :



Cheers,

P.

Le 30 mars 10 à 04:43, Shani a écrit :


hi,

is there is any program in which Revtalk working as a server (GUI)  
for any

other Program through Socket Programming.


Regards,
SHANI
___
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



--
Pierre Sahores
mobile : (33) 6 03 95 77 70

www.wrds.com
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: Revtalk communication

2010-03-29 Thread J. Landman Gay

Shani wrote:

Hi,

How RevTalk communicate with Client Though Socket Programming.


This may help: 



If you use Gmane to search the mail list archives for "socket" you will 
find other examples. Also, there is a chat server example called 
"chatrev" which I believe is on RevOnline. That's a more advanced 
example of socket usage. You can see RevOnline by clicking the icon in 
Rev's toolbar.


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


Open Socket

2010-03-29 Thread Shani
Hi,
I want to communicate with Other program Client (JAVA or JADE) from RevTalk
through Socket.

   open socket to ("filename " & : & (port#)) with message "Server
connected"

## http://docs.runrev.com/Command/open-socket

what i give command on client side.

Regards,
SHANI
___
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


Revtalk communication

2010-03-29 Thread Shani
Hi,

How RevTalk communicate with Client Though Socket Programming.

Regards,
Shani
___
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


RevTalk as a Server

2010-03-29 Thread Shani
hi,

is there is any program in which Revtalk working as a server (GUI) for any
other Program through Socket Programming.


Regards,
SHANI
___
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: Clipboard Link

2010-03-29 Thread stephen barncard
There used to be a little app called SPIKE that did this that was released
by a company called "Soapdog".   I thought once it could have been a teenage
Andre Garzia!

On 29 March 2010 16:35, Andre Garzia  wrote:

> Thats really useful Mark, congrats!
>
> I had a homegrown solution for my computers, but your general purpose one
> is
> really cool!
>
> Cheers
> andre
>
> On Mon, Mar 29, 2010 at 8:30 PM, Mark Schonewille <
> m.schonewi...@economy-x-talk.com> wrote:
>
> > Grrr... you probably want to know where you can download this little app:
> > http://clipboardlink.economy-x-talk.com
> >
> > Op 30 mrt 2010, om 01:27 heeft Mark Schonewille het volgende geschreven:
> >
> >
> >  Hello,
> >>
> >> Economy-x-Talk has released a new little gem: Clipboard Link. Clipboard
> >> Link enables you to share the contents of the clipboard of your computer
> >> with other computers on the same local network. Copy a text or picture
> on
> >> one computer and paste it on any computer connected to your network.
> >>
> >> Because I often develop software on two or more computers
> simultaneously,
> >> I frequently want to test the same code on multiple machines. Clipboard
> Link
> >> lets me copy a script on my MacBook and paste it on my Windows PC for
> >> example. Anyone who has ever been in the same situation might want to
> check
> >> out Clipboard Link. (Made with Revolution).
> >>
> >
> >
> > --
> > 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.
> >
> > ___
> > 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
>



-- 
-
Stephen Barncard
Back home in SF
___
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: Data grids in standalones

2010-03-29 Thread Sarah Reichelt
On Tue, Mar 30, 2010 at 10:38 AM, Sarah Reichelt
 wrote:
> I have an app that uses data grids, but as one of the stacks is
> password protected, I am selecting the inclusions for the standalone
> manually.
> I think this is stopping the data grid library from being imported
> automatically into the standalone, so when I try to display any data
> in a data grid, I get an error like this:
>
> Executing at 10:33:21 AM on Tuesday, March 30, 2010
> Type: Chunk: error in object expression
> Object: group 'DG1' of card '...' of stack '/Users/sarah/.'
> Line Num: 3629
> Hint: _table.CreateControlsForColumns
>
> Can I tell the standalone builder to include the data grid library
> even if setting inclusions manually?
> Or do I have to un-protect my stack to get this to work.


I fixed this problem by getting rid of the protected stack (which is
what I wanted to do anyway).
But the question remains: if I choose to specify inclusions, how do I
include the data grid library?

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: Standalone issues

2010-03-29 Thread Sarah Reichelt
On Tue, Mar 30, 2010 at 11:05 AM, Sarah Reichelt
 wrote:
> I have an app that uses a separate protected stack file.
> I do not want this stack file bundled into the standalone.
> In use, I install this stack and then set the mainStack's stackFiles
> to include this separate stack file.
>
> In Standalone settings, I cannot get them to ignore this separate stack file.
> The "Remove Stack File" button does nothing.
> Setting the stackFiles of the mainStack to empty before creating any
> standalone settings doesn't help.
>
> My debugging shows that it is getting this stack from the list of
> stackFiles, but when I query the stackFiles, it returns empty.
>
> So how can I either stop this stack file from getting into the stacks
> list, or remove it when it gets there?


Sigh - my fault
Somehow one of the other sub-stacks had got it's stackFiles property
set, so that's where the extra stack file was coming from.

Once I fixed this, my data grid problem also disappeared.

Sorry to bother the list.

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


Standalone issues

2010-03-29 Thread Sarah Reichelt
I have an app that uses a separate protected stack file.
I do not want this stack file bundled into the standalone.
In use, I install this stack and then set the mainStack's stackFiles
to include this separate stack file.

In Standalone settings, I cannot get them to ignore this separate stack file.
The "Remove Stack File" button does nothing.
Setting the stackFiles of the mainStack to empty before creating any
standalone settings doesn't help.

My debugging shows that it is getting this stack from the list of
stackFiles, but when I query the stackFiles, it returns empty.

So how can I either stop this stack file from getting into the stacks
list, or remove it when it gets there?

I have looked at the standalone setting custom property set, but I
can't find a property that includes the list of stacks.

I will keep wrestling with the problem, but I hoped someone might have an idea.

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


Data grids in standalones

2010-03-29 Thread Sarah Reichelt
I have an app that uses data grids, but as one of the stacks is
password protected, I am selecting the inclusions for the standalone
manually.
I think this is stopping the data grid library from being imported
automatically into the standalone, so when I try to display any data
in a data grid, I get an error like this:

Executing at 10:33:21 AM on Tuesday, March 30, 2010
Type: Chunk: error in object expression
Object: group 'DG1' of card '...' of stack '/Users/sarah/.'
Line Num: 3629
Hint: _table.CreateControlsForColumns

Can I tell the standalone builder to include the data grid library
even if setting inclusions manually?
Or do I have to un-protect my stack to get this to work.

BTW, the protected stack is a separate file that doesn't need to be in
the build since it is stored else where and installed as required.
But I can't make the standalone builder remove it from the list, so it
seems like it has to be there.
But that's a separate problem.

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: ANN: Clipboard Link

2010-03-29 Thread Andre Garzia
Thats really useful Mark, congrats!

I had a homegrown solution for my computers, but your general purpose one is
really cool!

Cheers
andre

On Mon, Mar 29, 2010 at 8:30 PM, Mark Schonewille <
m.schonewi...@economy-x-talk.com> wrote:

> Grrr... you probably want to know where you can download this little app:
> http://clipboardlink.economy-x-talk.com
>
> Op 30 mrt 2010, om 01:27 heeft Mark Schonewille het volgende geschreven:
>
>
>  Hello,
>>
>> Economy-x-Talk has released a new little gem: Clipboard Link. Clipboard
>> Link enables you to share the contents of the clipboard of your computer
>> with other computers on the same local network. Copy a text or picture on
>> one computer and paste it on any computer connected to your network.
>>
>> Because I often develop software on two or more computers simultaneously,
>> I frequently want to test the same code on multiple machines. Clipboard Link
>> lets me copy a script on my MacBook and paste it on my Windows PC for
>> example. Anyone who has ever been in the same situation might want to check
>> out Clipboard Link. (Made with Revolution).
>>
>
>
> --
> 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.
>
> ___
> 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: ANN: Clipboard Link

2010-03-29 Thread Mark Schonewille
Grrr... you probably want to know where you can download this little  
app:

http://clipboardlink.economy-x-talk.com

Op 30 mrt 2010, om 01:27 heeft Mark Schonewille het volgende geschreven:


Hello,

Economy-x-Talk has released a new little gem: Clipboard Link.  
Clipboard Link enables you to share the contents of the clipboard of  
your computer with other computers on the same local network. Copy a  
text or picture on one computer and paste it on any computer  
connected to your network.


Because I often develop software on two or more computers  
simultaneously, I frequently want to test the same code on multiple  
machines. Clipboard Link lets me copy a script on my MacBook and  
paste it on my Windows PC for example. Anyone who has ever been in  
the same situation might want to check out Clipboard Link. (Made  
with Revolution).



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


___
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


ANN: Clipboard Link

2010-03-29 Thread Mark Schonewille

Hello,

Economy-x-Talk has released a new little gem: Clipboard Link.  
Clipboard Link enables you to share the contents of the clipboard of  
your computer with other computers on the same local network. Copy a  
text or picture on one computer and paste it on any computer connected  
to your network.


Because I often develop software on two or more computers  
simultaneously, I frequently want to test the same code on multiple  
machines. Clipboard Link lets me copy a script on my MacBook and paste  
it on my Windows PC for example. Anyone who has ever been in the same  
situation might want to check out Clipboard Link. (Made with  
Revolution).


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


___
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: Rev standalone app stays in memory on my Xubuntu 9.10

2010-03-29 Thread J. Landman Gay

hmspot...@googlemail.com wrote:


My program works (i.e. quits cleanly) on other computers running Xubuntu
9.10, Mac OS X or Windows. The anomaly occurs only on my laptop running
Xubuntu 9.10. I would think that my coding in Revolution must be ok, but
something is not right on my laptop, on which my app fails to quit
cleanly. However, oddly, on the same laptop, another app I made quits
cleanly. 


In general, Rev won't quit if any drivers, sockets, or pending messages 
are open. Your report mentioned sockets, so that seems a likely 
candidate. But I don't know why it works on other machines.


To everyone: RR tried to reproduce this and couldn't, so it's something 
on that particular machine. If anyone has a clue, I'd like to know 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


DataGrid Forms, checkboxes and Pull-Down buttons?

2010-03-29 Thread John Patten

Hi All...

I'm using datagrids to display some data out of a mySQL database. I  
created a check box and a option button in the template for my data  
grid row.


I would like to be able to check if data row checkbox hilite is true  
or not and would like to store data in my db based on the option of my  
option button.


How do I get the hilite of my individual checkboxes in each row, and  
along the same lines, how would I get the information selected in my  
option button from each row of the datagrid?



Thanks in Advance!

John Patten


___
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: Crystal Reports

2010-03-29 Thread zryip theSlug
2010/3/26 Andrew Kluthe :
> Has anyone attempted an External or know anything about interfacing RunRev
> with a Crystal Report?
>
> I need to come up with a versatile reporting solution and they already have
> so many reports made in crystal reports that it would be perfect to continue
> to use them in some form.
>
> >From what I understand, its relatively easy to interface .Net with a crystal
> report. This may be the route that I have to go.

Effectively, Crystal Report appears as a native object in Microsoft
Visual Studio.
For now I have never used it but as far as I know the Crystal Report
product comes with an independent application to create and exploit reports.
Crystal Report is, among things, capable to make reports on SQL and MySQL
database.

The idea could be to launch the Crystal Report application with RunRev.
But I don't know the possibilities and limitations.

I have read somewhere that it is possible to display a report in a
browser but I suppose that is an ASP.net ability.

Regards,
-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
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: Crystal Reports

2010-03-29 Thread Lynn Fredricks
> Anyone?

Paradigma Software has developed Valentina Reports, which works with
Valentina DB. Valentina DB is an extremely fast, columnar database, which
has native drivers for every major development system on Windows, OS X and
Linux (including .net and Revolution, iPhone among others). Valentina DB is
available both for local database applications and also for true server-side
apps.

Best regards,

Lynn Fredricks
President
Paradigma Software
http://www.paradigmasoft.com

Valentina SQL Server: The Ultra-fast, Royalty Free Database Server 

___
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


[ANN] The Slug is now on the road with the Step by Step collection

2010-03-29 Thread zryip theSlug
Dear list members,

I'm happy to announce the availability of a new downloadable section
in my website.

In this section you will reach the first Step by step stack devoted to palettes.
The subject of this first part is : palettes with an orientable titlebar.

This stack explains :
- How to create the palette.
- How to move the palette.
- How to skin the titlebar.
- How to change the titlebar orientation.
- And in Mac OS X, how to keep the shadow border effect of the palette.

http://www.aslugontheroad.co.cc/index.php?option=com_phocadownload&view=category&id=5:palettes-step-by-step&Itemid=63

I hope this new collection will please you. 8-)


Regards,
-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
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: Crystal Reports

2010-03-29 Thread Mark Wieder
Andrew-

Monday, March 29, 2010, 2:16:21 PM, you wrote:

> Anyone?

Never done the Crystal Reports thing, but have you checked out Quartam
Reports? My guess is that will get you where you're going via the most
painless route. Other than that, how's your C coding? Crafting
externals isn't that hard if you can hit the ground running already.
There are a few newsletter articles about this that you might want to
read.

-- 
-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: Crystal Reports

2010-03-29 Thread Andrew Kluthe

Anyone?
-- 
View this message in context: 
http://n4.nabble.com/Crystal-Reports-tp1692831p1695638.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: Printing in Linux

2010-03-29 Thread Richmond Mathewson

 Now I'm less sophisticated than Peter Alcibiades and Richard Gaskin
when it comes to computery stuff; but what I do know is that every other
program I have ever downloaded onto my Ubuntu box that "does" text
or images allows me to print to my printer (whether it be connected directly
to the Ubuntu box, shared on another computer via a router, switch or hub,
or via a printer server - tried them all today, just to be bloody-minded).

I also know that I can print directly from RunRev 4 on Mac OS X and Win XP.

So I am not terribly excited about some putative upgrade in "4.5" to allow
one to print to PDF so one can then fudge a print-out from that (especially
if it is going to be an Enterprise-only 'thang'; I can see buckets and 
buckets

of RunRev programmers forking out the difference between Studio and
Enterprise for some printing fudge that isn't capable of doing what
everything else can do everywhere else).

From an extremely selfish angle: if I produce a piece of software that
has  a "dirty, fat PRINT button" on it, I want it to do what it says -
PRINT - regardless of whether it is deployed on Mac, Win or Linux.

But, Hey, I want RunRev to pick up on all the fonts installed on a
system as well; I'm a greedy bu**er . . .  :)
___
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: Printing in Linux

2010-03-29 Thread Peter Alcibiades

"If the engine is the same and the variance lies with the drivers, it
would seem you've found your answer."

Yes.  But what I don't understand is, why is Rev the only app that has these
problems?  Open Office prints identically to my home printer, to cups-pdf,
to the office printer, on Mandriva or Debian or Ubuntu.  So do text editors.  
Rev must be doing something very different.

There are problems with Linux printing drivers, but they have to do with
making printers work, not all do.  They are not these kinds of problems.

I gather that in 4.5 there is going to be a print to pdf in Rev itself. 
That has the potential to solve the problem at once.  If you can print to
pdf, you can then pass it to some pdf reader and just print from that.  But,
but, if I understood correctly, this facility is only going to feature in
the Enterprise version?  That is just not possible, is it?
-- 
View this message in context: 
http://n4.nabble.com/Printing-in-Linux-tp1694324p1695593.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: Rev standalone app stays in memory on my Xubuntu 9.10

2010-03-29 Thread hmspotato
Hello Len,

Thank you for responding to my question.

I hope I am a little better than an average computer user, but I have a
very long way to go before qualifying to be a geek. Could you explain
what it means to have an open socket in the program?

I am a mere teacher, and my program is a simple app to keep students
record according to their class. All data is saved locally inside data
stacks. There is no network connection or connection to external
database. Before quitting, all open stacks are closed.

My program works (i.e. quits cleanly) on other computers running Xubuntu
9.10, Mac OS X or Windows. The anomaly occurs only on my laptop running
Xubuntu 9.10. I would think that my coding in Revolution must be ok, but
something is not right on my laptop, on which my app fails to quit
cleanly. However, oddly, on the same laptop, another app I made quits
cleanly.

Can you suggest what I should change on my laptop?

Megumi

>It sounds to me like you've got an open socket or file laying around in
>the program that is preventing it from closing.  Check your sockets and
>open files when you quit (handle the quit stack message).  Maybe a
>driver on one machine is not releasing the socket and so your program
>stays around waiting.
>
>len


___
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


Daft idea for commercial software ???

2010-03-29 Thread Richmond Mathewson
 I have been thinking about all the cafuffle about registration numbers 
and so
forth; and wonder, given the fact that some level of pirating will go on 
if a piece

of software is worth anything, if it is really worth all the mucking around.

So:

I should like to float this idea and welcome all reactions and criticisms:

I release a crippled demo which contains a page that lists my Paypal place
and informs would-be buyers that within 48 hours of my receiving via
Paypal I will either e-mail them as an attachment or direct them to an 
ftp folder

where a full version of the program is with a banner of some sort plastered
across the front page / opening screen saying something like:

"This version of Z is the property of  and as such may only be 
used by

him/her/it."

No doubt some folks will share their personalised versions with their 
friends,

relations and so on; but that will probably happen anyway unless I go down
the painful route of tying programs to mac addresses.
___
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: Updating running apps

2010-03-29 Thread Richard Gaskin

Sarah Reichelt wrote:


I have some apps that when checking for updates, then offer a "Install
& Relaunch" option.
This seems really cool to me, but I haven't worked out how to do it in
my Rev apps.
If I am only updating separate sub-stacks, then I can work it out, but
if I want to update the actual application file what can I do?

I can get the existing app to download the new version, but then what?
Can a running app replace itself on disk?
Then how to tell it to quit & re-launch?

On a Mac, I guess I could spit out an AppleScript to quit the app,
re-locate the downloaded app, then restart it but the apps I have
don't seem to start an AppleScript when doing this.

Any suggestions?


I started down that road a while back, and then I realized that what 
made it seem cool and exotic is that almost no one else does it.


Most apps download, some also install, almost none can use the new build 
without quitting the old one first.


With Rev, using an anchor window pattern (sometimes called the "splash 
stack" for those who don't also update their splash screen) you can 
download compressed copies of your stack files, decompress them and 
overwrite the old ones, issue a revert command, and you have a new version.


Sounds good, but in my brief experiments down that road I quickly 
realized the wide range of things that can go wrong attempting to update 
components on-the-fly:  to do it well you need to write a fair amount of 
code to restore globals (and hope you're using the same ones), save and 
restore window states and data states, etc. ad tedium. Too easy to get 
your fingers caught in the fan blades if you forget something.


Requiring a quit-and-relaunch lets you have a clean initialization, 
without replicating a more complex version of that initialization in vivo.


And you'll have no complaints about having to quit and relaunch from 
your end-users, since they've probably never seen an app that does it 
any other way.


Whether you attempt to update in vivo or go for the more common 
quit-and-relaunch, managing components can be made simpler by using a 
version file hosted somewhere with your app, with its URL stored in a 
custom property.


If you do this sort of thing often, you may consider using the Rev 
Interop specs for that - see the ECMI document Ken posted in the Files 
section at:



I don't know if Trevor uses the RIP properties outlined there in his 
updater, but I see that he uses them elsewhere in things like the Data 
Grid, and with the RIPEdit tool also available in that group I've been 
adding them to all of my libraries as well for a variety of version 
control and managements tasks.


--
 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: Printing in Linux

2010-03-29 Thread Richard Gaskin

Peter Alcibiades wrote:


Well, it gets worse.  The problem is, when installed, the print card into
does not work on a real printer the way it does on cups-pdf.  It must be
that it varies with the printer being installed, and also with the
distribution, and maybe also with the screen resolution.


If the engine is the same and the variance lies with the drivers, it 
would seem you've found your answer.


--
 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: Richard & the Mac Classic build ???

2010-03-29 Thread Jeff Reynolds

Richmond,

I totally agree and they can continue to be supported via the classic  
products like rev 2.6.1. its just that if you force the modern cutting  
edge stuff to be all backwards compatible with the stuff over a decade  
old, the cutting edge will be pretty dull and pretty expensive and  
probably pretty buggy.


In the ed market i have had to produce cdrom for kids (at least up  
unitll the last one in 2009) in osx and classic, there was a big  
enough market there using the old equipment that you had to have it  
supported. luckily the feature needs were still w/in the bounds of  
2.6.1 so i could continue those projects in the old version with no  
problems and build classic apps in 261 and then the osx and windoz in  
a more recent version of rev. bit of a pain, but worked fine.


a lot also boils down to who will pay for the development of the stuff  
for the old machines in both the authoring/programming system and the  
content/apps. the old guys dont want to pay for all the bleeding edge  
development stuff and the new guys dont want to pay for the legacy  
machine development. if you split the markets into tow then you have  
the problem of two development streams (no longer really a universal  
product) and two smaller markets which means a higher price for each  
individually most likely.


not saying chuck all those old machines, but you cant have your cake  
and eat it too. either we dont have a lot of innovation and new  
features so we can continue to support all the legacy machines still  
running out there, or we have a lots of advancement and we have to cut  
off producing new stuff for the older market which then shrinks rapidly.


unfortunately i dont think there is a perfect solution here (unless  
you have a magic wand and some bunged up latin to go with it)...


cheers

jeff

On Mar 29, 2010, at 1:00 PM, use-revolution-requ...@lists.runrev.com  
wrote:



No Worries; Geoff . . .  :)

However; although Mac OS 9 is about 8-9-10 years in the past there are
an awful lot of machines
that cannot run 'X' that should not be chucked into some horrible,
polluting landfill (well, at least
not as long as they go on working) when they can continue to serve.


___
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


Front Scripts vs Behaviors

2010-03-29 Thread Peter Haworth
I have several event handlers for common events such as mouseUp,  
openCard, menuPick, closeField which are installed as front scripts.  
The reason for this is to grab these events as soon as possible in  
order to handle any updating of the SQLite database I use to store the  
data for my app.  The handlers do various checks to make sure they  
need to handle the message, take action if necessary, and pass the  
message on so the handlers for these events in the controls themselves  
can take any further action needed.


This all works quite nicely although I've experienced some grief and  
hard freezes because of things like mouseUp coming from unexpected  
places like the IDE stack objects or the script editing window in  
debug mode.   I suspect I'm taking some performance hits as well since  
every single one of these events has to go through my front script  
handler.


I'm wondering if it might be better to do this by having behavior  
scripts for each type of control.  That would eliminate the need for  
checking that I'm dealing with a control I care about, the issues with  
events coming from unexpected places, and any performance issues.  On  
the downside, I'd need to come up with a way to allow each control to  
carry out any local processing it needs to take care of (dispatch?).   
It would also involve a small amount of extra work to specify the  
behavior every time I add a control unless I developed my own tool  
palette that had the controls already set up with the correct behavior  
so I could drag and drop them where I wanted them.


I'd appreciate some guidance on this, either philosophical or practical.

Thanks,

Pete Haworth







___
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: Updating running apps

2010-03-29 Thread Peter Alcibiades

Have you thought of writing a shell script (the solution to most Rev
deficiencies...!).  You could fire the script up up and quit the current
version, then from the script, download, name the old files to something
safe, copy in the new files, fire up the new version, and quit the shell?


-- 
View this message in context: 
http://n4.nabble.com/Updating-running-apps-tp1694548p1695196.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: Printing in Linux

2010-03-29 Thread Richmond Mathewson

 On 29/03/2010 16:43, Peter Alcibiades wrote:

Well, it gets worse.  The problem is, when installed, the print card into
does not work on a real printer the way it does on cups-pdf.  It must be
that it varies with the printer being installed, and also with the
distribution, and maybe also with the screen resolution.

I am really at my wits end on this.  Basically the only solution is probably
to assume that Rev on Linux does not have a print function at all, somehow
rewrite it to pass all the quantities into a file, and then print that in
any other application.

I wonder if;

what with my big 'grunt' about fonts, and Thine about printing,
and others' about Revbrowser, and so on . . .

if we should not get up some sort of petition, at which point
the folks in Edinburgh can say "Yea" or "Nay" so we all know
where we are, what to expect, and so on, rather than this sort
of shilly-shallying about ?

Now; were the Runrev folk to say "Yes, we are listening and we are aware
of these shortcomings, and we are working on them, and here is some sort
of timescale to go by." We could all stop 'grunting' and get on with things.

And, were they to say "No." We would know where we stand as well.

I believe, and a lot of other folk besides, that Linux is a power to
be reckoned with, and that "jumping into bed" with only the 2 dominant
commercial players in the Operating System stakes is, at the very least,
unwise.
___
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: Automatic Builds

2010-03-29 Thread Trevor DeVore

On Mar 29, 2010, at 4:56 AM, David Bovill wrote:


OK _ I just checked out the latest glxApp
tutorials

it seems that you need to use the Rev IDE to create the standalones:

*Note: *Currently you need to build the executables for both OS X and
Windows before using the application packager.

And that you can't use the glx application packager outside of the  
IDE:
The application packager would ideally run as a standalone  
application but
during the packaging process some scripts are modified which exceed  
the 10
line limit. So for the time being you must package from within the  
IDE.


But it may still be possible to automate from within the IDE? Has  
anyone
hacked into the rev / and/or glxApp stacks to automate builds in  
cases where
you need to do this daily? NB - the splash stack approach will work  
in some
cases, but may not work for revWeb applications, and won't work for  
mobile

apps!


On the Google Group I handed out a url to an unreleased version of the  
framework a few weeks ago. The plugin included with that distribution  
has a will that will automatically build standalones for you. Just  
look on the General tab. Here is the thread with the download link at  
the end:


http://groups.google.com/group/glxapp/browse_thread/thread/c0c7cc1607be2e4b

I added this in when I kept getting customers who complained that the  
version info in my executables didn't match the about screen during  
the BETA testing phase. If you just update your stacks when you  
automatically install an update then your version numbers will always  
be out of sync. For this reason I always update both stacks and  
executables now.


You will notice that the build button is included with the IDE plugin  
rather than the application packager. This is because I have to code  
sign the Windows executable before I can send it out to users and I  
haven't sat down to figure out if I can automate when running on OS X  
and using VMWare.


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


Re: dragging a stack around

2010-03-29 Thread Mark Swindell
Thanks to all who offered help.  Much appreciated.
Mark

On Mar 27, 2010, at 12:09 PM, Colin Holgate wrote:

> Both scripts do essentially the same thing, though I like my one more! One 
> interesting thing, I did first try typing on mouseMove, but that doesn't get 
> colorized, making me think it didn't exist as an event. But then again, 
> mouseDown doesn't get colorized either.
> 
> 
> ___
> 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: Printing in Linux

2010-03-29 Thread Peter Alcibiades

Well, it gets worse.  The problem is, when installed, the print card into
does not work on a real printer the way it does on cups-pdf.  It must be
that it varies with the printer being installed, and also with the
distribution, and maybe also with the screen resolution. 

I am really at my wits end on this.  Basically the only solution is probably
to assume that Rev on Linux does not have a print function at all, somehow
rewrite it to pass all the quantities into a file, and then print that in
any other application.  
-- 
View this message in context: 
http://n4.nabble.com/Printing-in-Linux-tp1694324p1695123.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: Automatic Builds

2010-03-29 Thread David Bovill
On 29 March 2010 12:10, Richard Gaskin  wrote:

>
> A savingStandalone message is sent just before the standalone/revlet is
> generated, and a standaloneSaved message is sent after.
>
> You could use the standaloneSaved message to scoop up the resulting revlet
> stack file and FTP it to your server.
>
> For standalones you can either use the revZip library or on OS X just shell
> to disk_util to make a zip file of the standalone, and then upload that.
>

Thanks for that Richard - I guess also scripting filling in some default
values in the standalone builder stack would not be too hard as well...
___
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: Rev standalone app stays in memory on my Xubuntu 9.10

2010-03-29 Thread Len Morgan
It sounds to me like you've got an open socket or file laying around in 
the program that is preventing it from closing.  Check your sockets and 
open files when you quit (handle the quit stack message).  Maybe a 
driver on one machine is not releasing the socket and so your program 
stays around waiting.


len


On 3/29/2010 12:02 AM, hmspot...@googlemail.com wrote:

Hello,

I have a standalone application made by Revolution 4.0. It works fine in
most cases, but it fails to quit cleanly on my laptop running Xubuntu
9.10. When I try it on another computer also running Xubuntu 9.10, it
runs and quits fine, but on my laptop it stays open as a process taking
up a chunk of memory. To make it worse, every instance of app launch
remains in the memory as an independent process. Right-clicking on the
process in System Monitor and choosing 'Open Files' displays the following:
FD  Type Object
0   file /dev/null
1   file /home/megumi/.xsession-errors
2   file /home/megumi/.xsession-errors
3   local socket
4   local socket
5   pipe
6   pipe


This question is probably more about Xubuntu than about Revolution, but
it does relate to using Revolution. I am particularly puzzled, because
another standalone app (also made by Revolution) runs and quits fine on
the same laptop. I hope someone here will be able to help me, as I do
not know what to do.

I originally posted this at  with a sample stack, but the thread came to
what seems like a dead-end. The last post on the thread suggested that I
should subscribe to this list and ask for help from Linux experts on the list.

I would appreciate any help.

Thanks.


___
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: Automatic Builds

2010-03-29 Thread David Bovill
On 29 March 2010 12:10, Richard Gaskin  wrote:

>
> A savingStandalone message is sent just before the standalone/revlet is
> generated, and a standaloneSaved message is sent after.
>
> You could use the standaloneSaved message to scoop up the resulting revlet
> stack file and FTP it to your server.
>
> For standalones you can either use the revZip library or on OS X just shell
> to disk_util to make a zip file of the standalone, and then upload that.
>

Thanks for that Richard - I guess also scripting filling in some default
values in the standalone builder stack would not be too hard as well...
___
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: Automatic Builds

2010-03-29 Thread David Bovill
On 29 March 2010 11:51, Sarah Reichelt  wrote:

> Yes, at least that is what I would try. Sub-stacks cannot open in a
> separate window, but I believe that they can open in the same window.
> So you could have your splash screen stack (& main app) open, then it
> could use: go to stack "Next" in this window
> where "Next" is the stack that changes frequently.
>
> Your updater just needs to upload a new version of the "Next" stack as
> required.
>
> I haven't tested any of this, but I think it should work.
>
> Sounds good - will give it a try this week and see how it goes. Nb - do you
know if you call the same url that the revlet is downloaded from that the
revelet still needs to ask the user for permission to use the internet - or
is this same-domain url policy a default as is standard?
___
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: Automatic Builds

2010-03-29 Thread Richard Gaskin

David Bovill wrote:

I'd like to set up an automatic build for a project, so that rather than
manually exporting the stack as a standalone, I would create an interface
that allowed the stack to be compiled as a revWeb stack (possibly other
standalones). and then ftp'd up to the web server together with the
appropriate html. What's the best way to acheive this?


The process by which standalones and revlets are made is handled in the 
development engine (v4.0 and later), so RunRev has more security over 
that feature and conceivably they could publish the API so we could make 
any sort of standalone builder we want.


But that's a lot of work (the engine only handles a portion of all the 
steps that need to be done), and in your case you may find it simpler to 
just use the messages the Rev standalone builder sends to your stack 
before and after the build process.


A savingStandalone message is sent just before the standalone/revlet is 
generated, and a standaloneSaved message is sent after.


You could use the standaloneSaved message to scoop up the resulting 
revlet stack file and FTP it to your server.


For standalones you can either use the revZip library or on OS X just 
shell to disk_util to make a zip file of the standalone, and then upload 
that.


--
 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: Automatic Builds

2010-03-29 Thread Sarah Reichelt
On Mon, Mar 29, 2010 at 6:39 PM, David Bovill  wrote:
> Hi Sarah - I've not done much more than experiment with revWeb yet, but now
> with the "do as JavaScript" feature, and a client that can use that, I'm
> looking to set up an agile deployment prototyping the eventual AJAX front
> end in revWeb. As the app will be deployed to the test site every 2 weeks to
> be tested by the client and every day by the development team, I'm looking
> to automate that.
>
> I understand the approach you describe for desktop apps - but you are saying
> you can use it for revWeb stacks as well - or not? That is a plain rev stack
> can be loaded dynamically with a "go to stack url ..." call and opened as a
> substack - just like with a desktop app? That would be great.. but.. how?
>
>  So you would:
>
>   1. build the main app as a splash / glxApp application and then
>   2. store the body of the app as plain stacks on the server to be loaded
>   by the revWeb app as needed?

Yes, at least that is what I would try. Sub-stacks cannot open in a
separate window, but I believe that they can open in the same window.
So you could have your splash screen stack (& main app) open, then it
could use: go to stack "Next" in this window
where "Next" is the stack that changes frequently.

Your updater just needs to upload a new version of the "Next" stack as required.

I haven't tested any of this, but I think it should work.

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: Richard & the Mac Classic build ???

2010-03-29 Thread Richmond Mathewson

 On 29/03/2010 09:15, Jeff Reynolds wrote:

Richmond,

sorry im a mid level dyslexic and i tend to bung up names like that 
when i type. apologies. (and no richard gaskin i did not mistake you 
for richmond!)


No Worries; Geoff . . .  :)

However; although Mac OS 9 is about 8-9-10 years in the past there are 
an awful lot of machines
that cannot run 'X' that should not be chucked into some horrible, 
polluting landfill (well, at least

not as long as they go on working) when they can continue to serve.
___
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


revWeb: strategies for loading large stacks

2010-03-29 Thread David Bovill
Given that it is really important to have a web app load FAST - what
strategies can we use to incrementally download an app - providing
interactivity immediately to the user whith content downloading in the
background?

   1. Images, and other media loaded with a "load url" call as / when /
   before needed where they will be cached in the revlets memory as a script
   variable in LibUrl?
   2. Text files loaded and used to generate new content using the revLet

How about:

   - loading substacks into hidden divs - so they are ready to use later,
   but the html page loads first showing the main web content and splash
   revlet.
   - loading substacks in some way from the revlet and somehow refreshing
   the substack in the browser page?
   - using an AJAX call to load another revlet in a page (but this would
   also require downloading the revlet engine added to the stack again as a
   second instance)

Any ideas how to best download incrementally large projects as you would
with game levels or other large apps?
___
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: Automatic Builds

2010-03-29 Thread David Bovill
OK _ I just checked out the latest glxApp
tutorials
it seems that you need to use the Rev IDE to create the standalones:

*Note: *Currently you need to build the executables for both OS X and
Windows before using the application packager.

And that you can't use the glx application packager outside of the IDE:
The application packager would ideally run as a standalone application but
during the packaging process some scripts are modified which exceed the 10
line limit. So for the time being you must package from within the IDE.

But it may still be possible to automate from within the IDE? Has anyone
hacked into the rev / and/or glxApp stacks to automate builds in cases where
you need to do this daily? NB - the splash stack approach will work in some
cases, but may not work for revWeb applications, and won't work for mobile
apps!


On 29 March 2010 09:06, stephen barncard wrote:

> Check out Trevor's application framework, that supports builds and much
> more.
>
> On 29 March 2010 00:43, David Bovill  wrote:
>
> > I'd like to set up an automatic build for a project, so that rather than
> > manually exporting the stack as a standalone, I would create an interface
> > that allowed the stack to be compiled as a revWeb stack (possibly other
> > standalones). and then ftp'd up to the web server together with the
> > appropriate html. What's the best way to acheive this?
> >
> > Thanks in advance,
> >
> > David
> > ___
> > 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
> >
>
>
>
> --
> -
> Stephen Barncard
> Back home in SF
> ___
> 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: Automatic Builds

2010-03-29 Thread David Bovill
Hi Sarah - I've not done much more than experiment with revWeb yet, but now
with the "do as JavaScript" feature, and a client that can use that, I'm
looking to set up an agile deployment prototyping the eventual AJAX front
end in revWeb. As the app will be deployed to the test site every 2 weeks to
be tested by the client and every day by the development team, I'm looking
to automate that.

I understand the approach you describe for desktop apps - but you are saying
you can use it for revWeb stacks as well - or not? That is a plain rev stack
can be loaded dynamically with a "go to stack url ..." call and opened as a
substack - just like with a desktop app? That would be great.. but.. how?

 So you would:

   1. build the main app as a splash / glxApp application and then
   2. store the body of the app as plain stacks on the server to be loaded
   by the revWeb app as needed?

Each substack is usually in it's own div - right? So this would be the case
here as well, and in a way you are loading stacks from the internet as you
would AJAX calls? Sound like a great hack - or am I making something weird
up here?

On 29 March 2010 09:00, Sarah Reichelt  wrote:

> Sounds like a job for a splash screen app that opens a separate sub-stack.
> If you build the splash screen once, then in future, you just need to
> save & upload the sub stack(s) to update the app.
> The HTML wouldn't even need to be changed unless you wanted it to show
> a version number or something like that.
>
___
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: Automatic Builds

2010-03-29 Thread stephen barncard
Check out Trevor's application framework, that supports builds and much
more.

On 29 March 2010 00:43, David Bovill  wrote:

> I'd like to set up an automatic build for a project, so that rather than
> manually exporting the stack as a standalone, I would create an interface
> that allowed the stack to be compiled as a revWeb stack (possibly other
> standalones). and then ftp'd up to the web server together with the
> appropriate html. What's the best way to acheive this?
>
> Thanks in advance,
>
> David
> ___
> 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
>



-- 
-
Stephen Barncard
Back home in SF
___
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: Automatic Builds

2010-03-29 Thread Sarah Reichelt
On Mon, Mar 29, 2010 at 5:43 PM, David Bovill  wrote:
> I'd like to set up an automatic build for a project, so that rather than
> manually exporting the stack as a standalone, I would create an interface
> that allowed the stack to be compiled as a revWeb stack (possibly other
> standalones). and then ftp'd up to the web server together with the
> appropriate html. What's the best way to acheive this?

Sounds like a job for a splash screen app that opens a separate sub-stack.
If you build the splash screen once, then in future, you just need to
save & upload the sub stack(s) to update the app.
The HTML wouldn't even need to be changed unless you wanted it to show
a version number or something like that.

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


Automatic Builds

2010-03-29 Thread David Bovill
I'd like to set up an automatic build for a project, so that rather than
manually exporting the stack as a standalone, I would create an interface
that allowed the stack to be compiled as a revWeb stack (possibly other
standalones). and then ftp'd up to the web server together with the
appropriate html. What's the best way to acheive this?

Thanks in advance,

David
___
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: Printing in Linux

2010-03-29 Thread Peter Alcibiades

Here is what happened.

I changed the distribution that an application is running on from Mandriva
to Debian.  Because revPrintField doesn't work properly, it resorted to
getting prints out by using print card.  After the change in distribution,
print card worked, but it did not print the card in the same way as before,
it didn't print into the correct area.  This is probably something to do
with the screen resolution.

So, wishing to resolve this at leisure, I took it home and tinkered,
intending to use cups-pdf as the printer. The first thing to do was set
cups-pdf as the default printer. Then to work.  

The print card command, and this is with a card with a few simple text
fields, was timed at 1 minute 20 seconds to print to the file.  The file
appeared to go into a black hole.  cups-pdf is set up to print into a folder
called PDF in the home directory.  Nothing appeared there.  Tried other
applications.  They all now printed to /home/user/PDF without fuss.

Checking the available printers in Rev revealed the ones that are installed,
including cups-pdf, and one that is not, namely PDF.  Change the printerName
to PDF, and the print files do now arrive in the /home/userPDF directory.  

This is very reminiscent of the font situation:  fonts which are not
installed are listed, and fonts which are installed appear to be
unavailable.  Where does it get this printer from?  And what would happen if
you changed the cups-pdf configuration files to use some other directory? 
Life is too short. It still takes the same amount of time to print.

Now at least we can start tinkering with the print card into command. 
Whereas before print card into 100,100,800,600 had worked, now on one card
what was needed was 0,20,600,400 and on another 0,10,800,600.  I have no
idea why.  

When doing all this stuff, it would help to be able to read the dictionary,
but it is in unchangeable 4 point font.  Never mind, one can use a large
magnifying glass.  Which I do, believe it or not.

This by the way is still using 3.5.  Tried to use 4.0, and it would not
allow any editing of the app.  No idea why.  Lets hope that 4.5 improves
things. 
-- 
View this message in context: 
http://n4.nabble.com/Printing-in-Linux-tp1694324p1694775.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