Mac Classic build ???

2010-03-28 Thread Richmond Mathewson

 Can anyone tell me if the reason why the Mac Classic build in Studio 3.5
is non-functional ONLY because the standalone engine is not installed by 
default?

___
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: Property profiles

2010-03-28 Thread Sarah Reichelt
Thanks Mark, I took your advice and did it myself. It was easy enough
so I won't bother about profiles.

Cheers,
Sarah


On Sat, Mar 27, 2010 at 8:42 PM, Mark Schonewille
 wrote:
> Hi Sarah,
>
> Just like you, I tried to use profiles, before they were broken for 2 years.
> They seem to be fixed now, but profiles are too confusing for me.
>
> Modifiying a property of an object causes the property profiles of that
> object to change to make sure that the object stays unchanged for each
> alternative profile. If you set the textFont of an object to bold in one
> profile, the other property profiles of that object are explicitly set to
> plain. I also remember having problems trying to make the changes in the
> profiles stick. This makes working with profiles very cumbersome. You never
> know what the changes in the other profiles will be, when you make a change
> in one of them.
>
> Usually, I only need to change the font of controls, depending on platform.
> It is easy enough to do this by script. Colour adjustments for example, too,
> are easily made by script. You don't need to include a heavy profiles
> library for that. I expect you'll leave out a few bugs by using your own
> scripts instead of the profiles library. Just like the geometry manager, I
> consider the property profiles library one of the components that we'd
> better not use.
>
> --
> Best regards,
>
> Mark Schonewille
>
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
>
> Economy-x-Talk is always looking for new software development projects. Feel
> free to contact me for a quote.
>
> Op 27 mrt 2010, om 05:50 heeft Sarah Reichelt het volgende geschreven:
>
>> Has anyone ever actually used profiles?
>>
>> I haven't but I thought that I had a good use for them this time, so I
>> tried to set them up.
>> When I go to the profiles section of the inspector, I see a Master
>> profile listed in bold.
>> I created another 2 two profiles, planning to delete the Master later
>> & switch between my two,
>> So far so good, although when I made a profile in the Stack inspector,
>> I expected to see it appear in the other objects inspectors too, so
>> it's a bit of a bore if i have to create my profiles for every single
>> object in my stack.
>>
>> But then I went to add a property to one of my profiles.It appeared to
>> work, but when I clicked on another profile, then back on my new one,
>> the property had gone.
>> This happened whether I had entered a value or not.
>>
>> So are profiles broken? Or am I misunderstanding how to set them up?
>>
>> TIA,
>> 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


Getting the messages/handlers available for a button

2010-03-28 Thread Len Morgan
This should be so simple but I can't get the instructions in the 
documentation to work:


What I'd like to know is what handlers are available to a button.  This 
would include not only scripts I've written for the button but also the 
ones that Rev has builtin (like mouseUp).  It would be really cool if I 
could get any handlers along the way like in groups, cards, stacks that 
this button (or whatever control for that matter) is contained in/on.


len morgan
___
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] revSparkle minimalist web framework for RevServer

2010-03-28 Thread Andre Garzia
Kay,

I made a bug if clause in the hello.irev code.

If clauses execute in order and I had something like:

if match_get("/:name") then
...
end if

before something like

if match_get("/hi") then
...
end id

I've also renamed the folder from hello to helloworld, because people were
mixing the folder with the url being matched. So now, you can try things
like:

http://andregarzia.com/revspark/demo/helloworld/
http://andregarzia.com/revspark/demo/helloworld/source
http://andregarzia.com/revspark/demo/helloworld/hello
http://andregarzia.com/revspark/demo/helloworld/hi
http://andregarzia.com/revspark/demo/helloworld/hello/Andre+Garzia
http://andregarzia.com/revspark/demo/helloworld/sum/1/2

Cheers
andre

On Fri, Mar 26, 2010 at 10:17 PM, Kay C Lan wrote:

> On Sat, Mar 27, 2010 at 9:10 AM, Kay C Lan 
> wrote:
>
> > Andre,
> >
> > If my name was Hello, I don't get Hello Hello, but I get Hello World.
> >
> > For clarification, if I 'Hello/Hello' I don't get Hello Hello but Hello
> World.
>
> So:
>
> 'hello/hello' doesn't match
> http://andregarzia.com/revspark/demo/hello/hello but matches
> http://andregarzia.com/revspark/demo/hello<
> http://andregarzia.com/revspark/demo/hello/hello>
>
> 'hello/hi' doesn't match  http://andregarzia.com/revspark/demo/hello/hibut
> matches http://andregarzia.com/revspark/demo/hello/hello
>
> Why?
> ___
> 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


[ANN] revSparkle minimalist web framework example: wiki

2010-03-28 Thread Andre Garzia
Hey Folks,

I managed to create simple demos and add to the repository at:

http://hg.andregarzia.com/revspark

First thing I created is a functional WIKI in 89 LOC, for everything. Feel
free to play at:

http://andregarzia.com/revspark/demo/wiki/

The source for the wiki can be downloaded from my repo or viewed online by
going to:

http://hg.andregarzia.com/revspark/src/tip/demo/wiki/wiki.irev

Cheers
Andre



-- 
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: Custom Control Design Tutorial

2010-03-28 Thread BNig

Len,
I liked the idea of a water tank and made a revlet that consists of the
tank. You can drag the tank around,
set width and height by sliders or fill the tank with a number.
Be patient with the revlet: it somehow took 30 plus seconds before it
responded to user input.(???)
It is a self-contained group that you can copy and reuse as an object.
http://berndniggemann.on-rev.com/abarrel/

I put 2 stacks up on my site 
http://berndniggemann.on-rev.com/barrel/
that contain the code etc. 
Tried to email the link to you, somehow did not get to you.
regards
Bernd
-- 
View this message in context: 
http://n4.nabble.com/Custom-Control-Design-Tutorial-tp1693375p1694275.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


Printing in Linux

2010-03-28 Thread Richmond Mathewson

 Is at best a mess:

Mucking around with RunRev 4

I managed a PRINT CARD from the IDE menu; although it allowed me to 
print to .PS (Postscript ???) only,
which is slightly pointless as I wanted to PRINT the thing (i.e. get 
something coming out of my printer).


However a PRINT CARD command from a button on a stack gave me a rotating 
'beachball' for 2 l-o-n-g

minutes resulting in nothing at all.

Thought I'd have a bash with RunRev 2.2.1 using exactly the same stack:

saved the stack as a "Legacy Stack " (funny, that, for me the semantics 
of 'legacy' make me think
of some money my Granny left me, rather than old formats of program 
files; gosh, must be getting old),


even worse: not a sausage.

Which would seem to suggest:

1. something "has been done" between 2.2.1 and 4.0 as so far as printing 
goes,


or

2. RunRev 2.2.1 doesn't like Ubuntu 10.04 Beta 1.

Stiil; things "is" not satisfactory.

[at the risk of being accused of singing a duet with Peter Alcibiades; I 
should like
to point out that while I appreciate his coloratura and bravura singing 
I have never
managed to sustain more than 3 bars before I go off on a plangent 
tangent . . .   :)]



___
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 the messages/handlers available for a button

2010-03-28 Thread J. Landman Gay

Len Morgan wrote:
This should be so simple but I can't get the instructions in the 
documentation to work:


What I'd like to know is what handlers are available to a button.  This 
would include not only scripts I've written for the button but also the 
ones that Rev has builtin (like mouseUp). 


Open the dictionary, and in the panel at the left under the Objects 
category, click "Button". That lists all relevant button info.


It would be really cool if I 
could get any handlers along the way like in groups, cards, stacks that 
this button (or whatever control for that matter) is contained in/on.


The message hierarchy only works in one direction, starting from the 
object that first receives the message and moving on toward the engine. 
That means that you can't easily retrieve messages sent to an object 
farther along the hierarchy unless you specifically use a "send" command 
to re-route it, or insert a frontscript to catch it before anything else 
does. Behaviors are the single, limited exception; they push a message 
"backward" to a subscribing object, but after that the message goes 
through the hierarchy normally.


--
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 Classic build ???

2010-03-28 Thread Jeff Reynolds

Richard,

from all i have heard mac classic build stopped at 2.6.1 and never  
officially made it into anything after that. 3 was to be the last, but  
i think that ended up being abandoned by that point as it was just too  
hard to keep it backwards compatible. for stuff that also needs mac  
classic build i build the stack in 261 then move it to later versions  
to make the pc and osx builds and build the classic in 261. figure  
thats the safest way to not do something in a later build that can be  
moved back to 261 for the classic build.


in the ed publishing world the classic is just starting to go away for  
media. im hoping the next project will not have it in there, will be  
nice to move on as much as i like the fact that the old macs are still  
holding in there and just giving a rising return on investment for the  
schools, but its hell on the developer, harder to keep a classic  
machine around to test on!


cheers

jeff



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


 Can anyone tell me if the reason why the Mac Classic build in  
Studio 3.5
is non-functional ONLY because the standalone engine is not  
installed by

default?


___
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 Classic build ???

2010-03-28 Thread Richmond Mathewson

 On 28/03/2010 22:29, Jeff Reynolds wrote:

Richard,


Who is 'Richard' ?


from all i have heard mac classic build stopped at 2.6.1 and never 
officially made it into anything after that. 3 was to be the last, but 
i think that ended up being abandoned by that point as it was just too 
hard to keep it backwards compatible. for stuff that also needs mac 
classic build i build the stack in 261 then move it to later versions 
to make the pc and osx builds and build the classic in 261. figure 
thats the safest way to not do something in a later build that can be 
moved back to 261 for the classic build.


in the ed publishing world the classic is just starting to go away for 
media. im hoping the next project will not have it in there, will be 
nice to move on as much as i like the fact that the old macs are still 
holding in there and just giving a rising return on investment for the 
schools, but its hell on the developer, harder to keep a classic 
machine around to test on!


cheers

jeff


maybe bunging a Classic engine in RunRev 3, 3.5 and 4 was too much like 
trouble; however, as the
standalone settings palette does have acard for a Classic standalone 
there is a bad case of

mixed messages going on.

sincerely, Richmond.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


[optimization] calendar week ISO 8601 / DIN 1355

2010-03-28 Thread Malte Pfaff-Brill
Hi all,
I needed to calculate the calendar week from a given date (as we do it in 
germany and I think also in the rest of europe). 
I quickly hacked together a function implementing some of the info found here: 
http://en.wikipedia.org/wiki/ISO_8601#Week_dates
If anyone has any pointers on how to make this better, I´d appreciate input. I 
hope if anyone needs to implement calendar weeks
later this might be a helpful thread.

Cheers,

Malte

/* function calendar week 
@param1 = date in english format
@return = the calendar week in ISO 8601 format
*/

function calendarWeekISO8601 pEnglishdate
   -- Calendar week as described in ISO 8601 / DIN 1355
   local 
tFirstMonday,tDate,tCurrentday,tLastYear,tLastFirstJan,tLastThrityFirstDec
   put pEnglishDate into tDate
   -- convert to date items, to get  year in question
   convert tDate from english date to dateItems
   -- 01/04 is ALWAYS in 1st week in year   
   put "01/04/"&item 1 of tDate into tFirstMonday
   convert tFirstMonday from english date to dateItems
   -- if item -1 = 1, we got a sunday. We need to find first monday
   if item -1 of tFirstMonday = 1 then 
  put 8 into tCurrentday
   else
  put item -1 of tFirstMonday into tCurrentday
   end if
   put tCurrentday - 1 into tCurrentday
   -- get first monday in year
   if tCurrentday>1 then
  subtract (tCurrentday -1) from item 3 of tFirstMonday
   end if
   convert tFirstMonday from dateItems to seconds
   convert pEnglishDate from english date to seconds
   -- if the passed date is smaller than the first calendar weeks monday, the 
date 
   -- is within the last week of the previous year
   if tFirstMonday > pEnglishDate then
  -- check for number of weeks in last year
  put item 1 of tDate -1 into tLastYear
  -- get day of last years 1st January
  put "1/1"&tLastYear into tLastFirstJan
  convert tLastFirstJan to dateItems
  put item -1 of tLastFirstJan into tLastFirstJan
  -- get day of last years 1st January
  put "12/31"&tLastYear into tLastThrityFirstDec
  convert tLastThrityFirstDec to dateItems
  put item -1 of tLastFirstJan into tLastThrityFirstDec
  -- check if it is a leap year first
  if (tLastYear mod 400 = 0) or (tLastYear mod 100 <> 0) and (tLastYear mod 
4 = 0) then
 -- leap year!
 -- if a leap year starts on a wed and ends on a thurs, the year owns 
53 weeks
 if tLastFirstJan=4 and tLastThrityFirstDec=5 then
return tLastYear&"-W53"
 else
return tLastYear&"-W52"
 end if
  else
  -- no leap year!
 -- if a regular year starts and ends on a thurs, the year owns 53 weeks
 if tLastFirstJan=5 and tLastThrityFirstDec=5 then
return tLastYear&"-W53"
 else
return tLastYear&"-W52"
 end if
  end if
   else
  return item 1 of tDate&"-W"&format("%02s",(pEnglishDate-tFirstMonday) div 
604800 + 1)
   end if
end calendarWeekISO8601___
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 the messages/handlers available for a button

2010-03-28 Thread Len Morgan

On 3/28/2010 2:19 PM, J. Landman Gay wrote:

Len Morgan wrote:
This should be so simple but I can't get the instructions in the 
documentation to work:


What I'd like to know is what handlers are available to a button.  
This would include not only scripts I've written for the button but 
also the ones that Rev has builtin (like mouseUp). 


Open the dictionary, and in the panel at the left under the Objects 
category, click "Button". That lists all relevant button info.


I wish this were so but while there are some messages there, many are 
missing.  For example, I'm not sure why "socketClosed" is listed under 
Object->Button but "mouseUp" is not.  The "messages" entry does have 
mouseUp but doesn't tell me it's sent to buttons.  What I guess I need 
is all of the entries from the messages category that apply to buttons 
(for example).  Is there a way to get this?
It would be really cool if I could get any handlers along the way 
like in groups, cards, stacks that this button (or whatever control 
for that matter) is contained in/on.


The message hierarchy only works in one direction, starting from the 
object that first receives the message and moving on toward the 
engine. That means that you can't easily retrieve messages sent to an 
object farther along the hierarchy unless you specifically use a 
"send" command to re-route it, or insert a frontscript to catch it 
before anything else does. Behaviors are the single, limited 
exception; they push a message "backward" to a subscribing object, but 
after that the message goes through the hierarchy normally.


I think you might have misunderstood what I was asking for here.  What I 
was suggesting was a way to map a message from, for example, a button to 
a group to a card to a stack to a library to the engine (with maybe a 
front and back script if appropriate).  I guess it wouldn't be too hard 
to cobble something together that worked like traceroute does (tracert 
for Windows users), and get the long ID of a control, get a list of the 
messages in it's script, then for each message, send the message to the 
next object in the long ID (group, card, etc) and see if I get an 
error.  The only problem would be the unintended consequences of firing 
a message that might do some damage (like a "Delete Everything in Sight" 
button.  :-)


len morgan
___
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: [optimization] calendar week ISO 8601 / DIN 1355

2010-03-28 Thread Sarah Reichelt
I haven't checked out your function yet Malte, but my DateTime library

has a weekNumISO() function contributed by the late, great Eric Chatonet.

Cheers,
Sarah


On Mon, Mar 29, 2010 at 6:52 AM, Malte Pfaff-Brill
 wrote:
> Hi all,
> I needed to calculate the calendar week from a given date (as we do it in 
> germany and I think also in the rest of europe).
> I quickly hacked together a function implementing some of the info found 
> here: http://en.wikipedia.org/wiki/ISO_8601#Week_dates
> If anyone has any pointers on how to make this better, I´d appreciate input. 
> I hope if anyone needs to implement calendar weeks
> later this might be a helpful thread.
>
> 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


Re: [optimization] calendar week ISO 8601 / DIN 1355

2010-03-28 Thread Malte Pfaff-Brill
Thanks for pointing me to your lib Sarah. Lots of useful stuff in there. If 
only gems like these were a little easier to find. *sigh*

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


OT: Metadata for Text Fragments - Help with Dbase Schema

2010-03-28 Thread Sivakatirswami

Aloha, as usual here I come begging..

I'm working on a schema for a new data base that will "hold anything and 
everything" utilizing Dublin Core modified/extended with the Media 
Annotation specification where field names are very "generic" and allow 
you to maintain metadata and text content in the dbase for a wide 
variety of "just about anything"  (i.e if you wanted to put into the 
same tableimages of species of flowers, or for YouTube video you have 
uploaded or chapters of  a book, they will all "fit")  all to be 
accessed later by RunRev desktop apps, Revlets, iRev, iPhone apps etc.


Of course even the Dublin Core Metadata Initiative says that when it 
gets down to doing your "application profile" things will start getting 
customized pretty quickly... I've drafted  a dozen input data sets and 
as many output requirement scenarios
I have pretty much sorted almost all possible input and output 
requirements and use cases for most resources.   But I am stumped by 
one, which I thought would be obvious, because in the world of Academia, 
this would seem to be an common requirement:


 metadata for text fragments, otherwise known as "the citation"  but in 
this case publisher, author, source are already present fields in the 
Dublin Core. The problem comes with how to store metadata where the text 
fragment is part of a whole.


OK, what are we talking about. Let's use a real and specific example. 
The Hindu vedas are vast and voluminous. We have selected many verses 
for specific use. These need to be a) discreet b) re-assemble-able


For example here are some fun thoughts from the Rig Veda about gambling 
(dice have been around for millenia!):


-

Downward they roll, then jump in the air! Though handless themselves, 
they can keep the upper hand over those who have! On the board, like 
magic coals, they consume, though cold, the player's heart to ashes.


Rig Veda X, 34, 9

Abandoned, the wife of the gambler grieves. Grieved, too, is his mother 
as he wanders vaguely. Afraid and in debt, ever greedy for money, he 
steals in the night to the home of another.


Rig Veda X, 34, 10

He is seized by remorse when he sees his wife's lot, beside that of her 
neighbor with well-ordered home. In the morning, however, he yokes the 
brown steeds and at evening falls stupid before the cold embers.


Rig Veda X, 34, 11

---

How to best keep the citation string? such that  later one could 
aggregate these three verse into a unit such as we have above. where 
they each have their own record in the dBase. (Also think of "quotes" 
"jokes" "sayings" "maxims" etc... in the same category of "text fragments")



an exhaustive generic bibliographic citation is pretty well understood 
to be comprised of
(where "collection, author, publisher, date, title etc." are already 
present in the Dublin Core spec and my schema)


Series
Volume
Part
Section
Chapter
Paragraph-verse

Now... what is the best way to handle the above in terms of a schema? 
this is where I get stumped, the DCMI use of RDF  XML style notation is 
a different universe and does not translate well to a relational dbase 
PostGreSQL schema... If I study the back end MySQL Dbases for boxed LAMP 
apps (Drupal, Word Press, XOOPs etc) I see various strategies depending 
on who developed the module which uses a specific Table (a snake pit of 
tables!)


We see fields that hold discreet data values mapped with relation tables 
to other data; and we also see fields that seem to be used to hold an 
array of metadata: These are scary!


varChar(255) SomeData  value: "a:23;isT:45;bv:$1;"   etc... some 
quite long and completely opaque from a human readability point of view 
which goes against basic DCMI principles.


The whole name of the game being: how can you keep the metadata clear 
enough and simple enough that it can live into the future and be easily 
extracted-transformed, where the known problem (well documented) that 
schema's which are too opaque are basically cast in stone, with any 
second generation agents (programmer, application, export tools etc) 
being locked out, required a complete refactoring of the entire frame 
work later (very expensive) such that many companies simple a) cannot 
upgrade b) suffer  the consequences. I'm sure this issue is also present 
in a lot of business frameworks.


I searched the web for any models, and will continue to do so... as one 
would expect to see a lot of information from the academy where 
citations for text fragments are a "mission critical" component for any 
published document (PHP, scientific research, book reviews, teaching 
texts etc)


But I want to put this out on this list.. if anyone has experience with 
dbase schema for metadata for text fragments  other wise called 
"bibliographic citation" Please email me off list if you have any 
advice, pointers or URL's or models or resources, I would be deeply 
grateful. Contact me off list.


Or it if you feel this is a subject of general in

Re: [optimization] calendar week ISO 8601 / DIN 1355

2010-03-28 Thread Sarah Reichelt
On Mon, Mar 29, 2010 at 8:00 AM, Malte Pfaff-Brill
 wrote:
> Thanks for pointing me to your lib Sarah. Lots of useful stuff in there. If 
> only gems like these were a little easier to find. *sigh*

I'm terrible at putting things on RevOnline - I have a publishing
system set up for my own site so it's easy, but RevOnline seems to be
problematic.
I would love it if RevOnline allowed you to publish links instead of
complete stacks - that way I could create a link to a stack on my
site, and any updates would only have to be done in one place.

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: Connecting Rev stack to On-Rev mySQL DB?

2010-03-28 Thread Sarah Reichelt
> c) use HTTPS for all communication between client and server (so that Evil
> H4ck3r will not sniff you)

How do I set this up?

If I have my database file at: myname.on-rev.com/db.irev
I would usually get it's data by asking for http://myname.on-rev.com/db.irev

Can I just change this to https://myname.on-rev.com/db.irev ?
Or do I need to change something on the server to make this work in a
more secure manner?

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


Updating running apps

2010-03-28 Thread Sarah Reichelt
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?

Cheers,
Sarah

P.S. When I say Andre announce revSparkle I got all excited as I
thought he was offering hooks into the Sparkle updater framework
, but it was a different Sparkle
:-(
___
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-28 Thread Marty Knapp

Trevor's GLX Frameworks does this, though I couldn't tell you how!

Marty Knapp

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?

Cheers,
Sarah

P.S. When I say Andre announce revSparkle I got all excited as I
thought he was offering hooks into the Sparkle updater framework
, but it was a different Sparkle
:-(
___
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


zeroconf

2010-03-28 Thread Monte Goulding

Hi

I remember an external. Is that still available/working?

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


Re: Connecting Rev stack to On-Rev mySQL DB?

2010-03-28 Thread Andre Garzia
Sarah,

change to HTTPS and set liburl verification to false if you don´t have a
"real" ssl certificate (if yours is self signed)

cheers
andre

On Sun, Mar 28, 2010 at 8:12 PM, Sarah Reichelt wrote:

> > c) use HTTPS for all communication between client and server (so that
> Evil
> > H4ck3r will not sniff you)
>
> How do I set this up?
>
> If I have my database file at: myname.on-rev.com/db.irev
> I would usually get it's data by asking for
> http://myname.on-rev.com/db.irev
>
> Can I just change this to https://myname.on-rev.com/db.irev ?
> Or do I need to change something on the server to make this work in a
> more secure manner?
>
> TIA,
> Sarah
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



-- 
http://www.andregarzia.com All We Do Is Code.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Updating running apps

2010-03-28 Thread Andre Garzia
GLX App Framework does this in a very easy way.

Cheers
andre

On Sun, Mar 28, 2010 at 8:30 PM, Marty Knapp  wrote:

> Trevor's GLX Frameworks does this, though I couldn't tell you how!
>
> Marty Knapp
>
>  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?
>>
>> Cheers,
>> Sarah
>>
>> P.S. When I say Andre announce revSparkle I got all excited as I
>> thought he was offering hooks into the Sparkle updater framework
>> , but it was a different Sparkle
>> :-(
>> ___
>> 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
>



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

2010-03-28 Thread Sarah Reichelt
Thanks for this. I did try using Trevor's framework for one app, but
found it overkill for what I needed.
However I will have to examine it again if it updates like that.

Cheers,
Sarah


On Mon, Mar 29, 2010 at 9:48 AM, Andre Garzia  wrote:
> GLX App Framework does this in a very easy way.
>
> Cheers
> andre
>
> On Sun, Mar 28, 2010 at 8:30 PM, Marty Knapp  wrote:
>
>> Trevor's GLX Frameworks does this, though I couldn't tell you how!
>>
>> Marty Knapp
>>
>>  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?
>>>
>>> Cheers,
>>> Sarah
>>>
>>> P.S. When I say Andre announce revSparkle I got all excited as I
>>> thought he was offering hooks into the Sparkle updater framework
>>> , but it was a different Sparkle
>>> :-(
>>> ___
>>> 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
>>
>
>
>
> --
> 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
>
___
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: Connecting Rev stack to On-Rev mySQL DB?

2010-03-28 Thread Sarah Reichelt
I don't have a real certificate.
Do I need to create a self-signed one? If so how, and where do I store it?

Setting liburl verification to false... I can't find a command for
doing this. Do I use libURLSetCustomHTTPHeaders? And if so, what
header exactly do I set.

Sorry Andre, I'm a complete noob at all this stuff so you are going to
have to spell it out for me

Cheers,
Sarah


On Mon, Mar 29, 2010 at 9:40 AM, Andre Garzia  wrote:
> Sarah,
>
> change to HTTPS and set liburl verification to false if you don´t have a
> "real" ssl certificate (if yours is self signed)
>
> cheers
> andre
>
> On Sun, Mar 28, 2010 at 8:12 PM, Sarah Reichelt 
> wrote:
>
>> > c) use HTTPS for all communication between client and server (so that
>> Evil
>> > H4ck3r will not sniff you)
>>
>> How do I set this up?
>>
>> If I have my database file at: myname.on-rev.com/db.irev
>> I would usually get it's data by asking for
>> http://myname.on-rev.com/db.irev
>>
>> Can I just change this to https://myname.on-rev.com/db.irev ?
>> Or do I need to change something on the server to make this work in a
>> more secure manner?
>>
>> TIA,
>> 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: Connecting Rev stack to On-Rev mySQL DB?

2010-03-28 Thread J. Landman Gay

Sarah Reichelt wrote:

I don't have a real certificate.
Do I need to create a self-signed one? If so how, and where do I store it?

Setting liburl verification to false... I can't find a command for
doing this. Do I use libURLSetCustomHTTPHeaders? And if so, what
header exactly do I set.


Funny, this just came up last week in the tech queue. The command was 
accidentally omitted from the docs. It's: libURLSetVerification boolean


Not sure about how to make a certificate so someone else has to chime in.

--
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: Getting the messages/handlers available for a button

2010-03-28 Thread J. Landman Gay

Len Morgan wrote:

I wish this were so but while there are some messages there, many are 
missing.  For example, I'm not sure why "socketClosed" is listed under 
Object->Button but "mouseUp" is not.  The "messages" entry does have 
mouseUp but doesn't tell me it's sent to buttons.  What I guess I need 
is all of the entries from the messages category that apply to buttons 
(for example).  Is there a way to get this?


It looks like the intent was to show the properties and messages that 
apply specifically to each object. Since (most) messages can go to any 
object, the rest apply to all. I'm not sure about the socket commands 
though, that does seem odd. And you're right, there's stuff missing, so 
I'm not sure you can get an exhaustive list from the dictionary, though 
most of it's there.


What I 
was suggesting was a way to map a message from, for example, a button to 
a group to a card to a stack to a library to the engine (with maybe a 
front and back script if appropriate).


Well, there's the executionContexts property, but I'm not sure it will 
do what you want.


--
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: Connecting Rev stack to On-Rev mySQL DB?

2010-03-28 Thread J. Landman Gay

J. Landman Gay wrote:

Sarah Reichelt wrote:

I don't have a real certificate.
Do I need to create a self-signed one? If so how, and where do I store 
it?


Setting liburl verification to false... I can't find a command for
doing this. Do I use libURLSetCustomHTTPHeaders? And if so, what
header exactly do I set.


Funny, this just came up last week in the tech queue. The command was 
accidentally omitted from the docs. It's: libURLSetVerification boolean


Oops, that's wrong, I just found my notes. The real command is:

libSSLSetVerification true/false

--
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: Connecting Rev stack to On-Rev mySQL DB?

2010-03-28 Thread Jim Ault

libSSLSetVerification true/false


Is that the only SSL command?
The Enterprise 3.5 dictionary has no entries for libSSL



On Mar 28, 2010, at 6:11 PM, J. Landman Gay wrote:


J. Landman Gay wrote:

Sarah Reichelt wrote:

I don't have a real certificate.
Do I need to create a self-signed one? If so how, and where do I  
store it?


Setting liburl verification to false... I can't find a command for
doing this. Do I use libURLSetCustomHTTPHeaders? And if so, what
header exactly do I set.
Funny, this just came up last week in the tech queue. The command  
was accidentally omitted from the docs. It's: libURLSetVerification  
boolean


Oops, that's wrong, I just found my notes. The real command is:

libSSLSetVerification true/false

--
Jacqueline


Jim Ault
Las Vegas



___
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: Connecting Rev stack to On-Rev mySQL DB?

2010-03-28 Thread J. Landman Gay

Jim Ault wrote:

libSSLSetVerification true/false


Is that the only SSL command?
The Enterprise 3.5 dictionary has no entries for libSSL


I don't know. Someone was having trouble and RR told me to recommend 
that, and said it should have been documented but was accidentally 
omitted. I didn't ask about any other similar commands.


--
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: Connecting Rev stack to On-Rev mySQL DB?

2010-03-28 Thread Sarah Reichelt
>>> I don't have a real certificate.
>>> Do I need to create a self-signed one? If so how, and where do I store
>>> it?
>>>
>>> Setting liburl verification to false... I can't find a command for
>>> doing this. Do I use libURLSetCustomHTTPHeaders? And if so, what
>>> header exactly do I set.
>>
>> Funny, this just came up last week in the tech queue. The command was
>> accidentally omitted from the docs. It's: libURLSetVerification boolean
>
> Oops, that's wrong, I just found my notes. The real command is:
>
> libSSLSetVerification true/false


Third time lucky: it's really a combination of the two:
libUrlSetSSLVerification true/false

However using https:// just gives me a 404 error, so there is
something else I need to do, maybe at my cPanel?

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


Fwd: RevServer to JAVA client

2010-03-28 Thread Shani
-- Forwarded message --
From: Shani 
Date: Sun, Mar 28, 2010 at 7:47 AM
Subject: RevServer to JAVA client
To: How to use Revolution ,
jade-deve...@avalon.tilab.com, jade-deve...@sharon.cselt.it


hay all,

is this program is correct for Rev Server.
is it communicate with java.

what i change in rev
or java

Revserver coding
#
on revServer c
   ##Opening socket with Java Cleint on port 6800
   open socket("java Client" & : & (6800)) with message "Server Started"
   ## for reading the message from Socket just show that connectivity is
establish
   read from socket ("Client") with the message " client says connected with
me from server  and it is Read from Client"
 ##write to socket show that it can write on client
write field "I am Rev Server " to socket
close socket ("java Client" & : & (6800)) with message "connection close"
end revServer
##

JAVA client

import java.io.DataOutputStream;
import java.io.IOException;
import java.net.Socket;

public class Cleint {
public static void main (String[] args) throws IOException {
Socket client= new Socket("localhost",6800);
System.out.println("Connected to server");
DataOutputStream out = new DataOutputStream(client.getOutputStream());
out.writeUTF ("AllowServer");


}

}

###3
___
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


Rev standalone app stays in memory on my Xubuntu 9.10

2010-03-28 Thread hmspotato
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


Re: Richard & the Mac Classic build ???

2010-03-28 Thread Jeff Reynolds

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


I think there was reoccurring hope that one last classic build was  
going to happen at some point, but just ended up sticking in there  
past when i think that hope died... Actually probably good as i worry  
that trying to get the full later feature sets to work in classic may  
have made a buggy classic engine that would not have been helpful.  
classic is pretty much dead end now days for new products, but can  
still be supported with older stuff if really necessary, some point  
the cords just have to be cut...


cheers

jeff


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




Who is 'Richard' ?




maybe bunging a Classic engine in RunRev 3, 3.5 and 4 was too much  
like

trouble; however, as the
standalone settings palette does have acard for a Classic standalone
there is a bad case of
mixed messages going on.

sincerely, Richmond.


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution