Re: Version number, Splash screen, Auto-update
If I make an OS X standalone I can check the version number in the Finder using 'Get Info'. snip I use a utility I wrote that reads the info.plist file and allows you to change the version number stored there. When you save the new version data, the app is touched which not only makes it show the updated data from info.plist, but it changes the app's modification date to the current date. It isn't very neat, but it works well and if people are interested, I would be happy to make it available. Yes please. You can download the stack from http://troz.troz.on-rev.com/stacks/PlistEditor.rev I added some basic help, so read it to see how it works. Cheers, Sarah P.S. This is just a temporary address while I work out my new web site, so if you try the download in a couple of weeks and it fails, try going to www.troz.net and searching there instead. ___ 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: relevance of version# of info.plist - add to Jim Sims
Hello, I have a corresponding issue to Jims version number post Still not being a Mac guy, I am not familiar with the function of the info.plist and Pkginfo file, perhaps someone can enlighten me? I have released an app with version 1.0 in the standalone settings which is taken for the build of the bundle. I have released updates where I updated only the app file - not the whole bundle - and have kept the version # 1.0 and changed only my internal version in the about menu, just as Jim, because I was unsure of the function of info.plist and Pkginfo. That works so far, beside of the issue, what Jim described, if a user reads the info of the bundle. Now my additional question is, what happens, if I would change the standalone version of the app file to 1.1 and copy it into the old bundle 1.0? Would this still work or would the OS X crash, or any other problems beside that the user still gets a wrong info, if asking the bundle? The reason why I would like to change the version number is, that I want to create a new bundle with the correct version number, but still want to use the new app for updates of the old version. And what is the correct way of doing such an update? Exchanging the info.plist as well / updating it, like Sarah? and what is the function of Pkginfo? Do I have to exchange it also with an update with a new version number? Thanks for any light, it's still pretty dark here :) Tiemo ___ 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: OT: relevance of version# of info.plist - add to Jim Sims
I have a corresponding issue to Jims version number post Still not being a Mac guy, I am not familiar with the function of the info.plist and Pkginfo file, perhaps someone can enlighten me? I have released an app with version 1.0 in the standalone settings which is taken for the build of the bundle. I have released updates where I updated only the app file - not the whole bundle - and have kept the version # 1.0 and changed only my internal version in the about menu, just as Jim, because I was unsure of the function of info.plist and Pkginfo. That works so far, beside of the issue, what Jim described, if a user reads the info of the bundle. Now my additional question is, what happens, if I would change the standalone version of the app file to 1.1 and copy it into the old bundle 1.0? Would this still work or would the OS X crash, or any other problems beside that the user still gets a wrong info, if asking the bundle? The reason why I would like to change the version number is, that I want to create a new bundle with the correct version number, but still want to use the new app for updates of the old version. And what is the correct way of doing such an update? Exchanging the info.plist as well / updating it, like Sarah? and what is the function of Pkginfo? Do I have to exchange it also with an update with a new version number? Both the PkgInfo and info.plist files show the data that is entered on the OS X tab of the standalone settings. The PkgInfo file only shows the file type APPL = application and the 4 character signature that you entered in the standalone settings, which you are supposed to register with Apple. The info.plist file has a lot more data: version numbers in several different formats, copyright data, info about icons, document types etc. When a user gets version info about your app from inside your app, it can be whatever you say. If a user tries to get the version number using Finder's Get Info command, then they will get the data from the info.plist file. My utility uses an OS X shell command to edit the info.plist file, so that is not an option for you if you are building on Windows. My recommendation would be to supply minor upgrades by replacing the app inside the bundle, but do major upgrades by building a new bundle so that the info.plist is updated also. e.g. if Finder reports version 1.0, your app could be 1.0.1, 1.0.8 or whatever. When moving to version 1.1, build a new standalone. Re your specific question, I'm not sure exactly what you mean. If you change the standalone version to 1.1, this will have no effect unless you build a new standalone. If you change the standalone version and then just insert the stack into an existing bundle, the previous info.plist will be in the bundle, so the version number will not be updated. However this will not cause any problems as far as running the app goes, unless you have added commands that were not available in the version of Rev used to build the original app. Hope this helps, 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: OT: relevance of version# of info.plist - add to Jim Sims
My recommendation would be to supply minor upgrades by replacing the app inside the bundle, but do major upgrades by building a new bundle so that the info.plist is updated also. e.g. if Finder reports version 1.0, your app could be 1.0.1, 1.0.8 or whatever. When moving to version 1.1, build a new standalone. Ooops, when I said replacing the app inside the bundle, I meant replacing the stack files inside the bundle. Of course if you re-build to make a new app, then you have the complete app anyway, so you can just update the whole thing. 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
AW: OT: relevance of version# of info.plist - add to Jim Sims
Hi Sarah, your explanations are very helpful, thanks for helping Tiemo -Ursprüngliche Nachricht- Von: use-revolution-boun...@lists.runrev.com [mailto:use-revolution- boun...@lists.runrev.com] Im Auftrag von Sarah Reichelt Gesendet: Montag, 29. Juni 2009 10:38 An: How to use Revolution Betreff: Re: OT: relevance of version# of info.plist - add to Jim Sims I have a corresponding issue to Jims version number post Still not being a Mac guy, I am not familiar with the function of the info.plist and Pkginfo file, perhaps someone can enlighten me? I have released an app with version 1.0 in the standalone settings which is taken for the build of the bundle. I have released updates where I updated only the app file - not the whole bundle - and have kept the version # 1.0 and changed only my internal version in the about menu, just as Jim, because I was unsure of the function of info.plist and Pkginfo. That works so far, beside of the issue, what Jim described, if a user reads the info of the bundle. Now my additional question is, what happens, if I would change the standalone version of the app file to 1.1 and copy it into the old bundle 1.0? Would this still work or would the OS X crash, or any other problems beside that the user still gets a wrong info, if asking the bundle? The reason why I would like to change the version number is, that I want to create a new bundle with the correct version number, but still want to use the new app for updates of the old version. And what is the correct way of doing such an update? Exchanging the info.plist as well / updating it, like Sarah? and what is the function of Pkginfo? Do I have to exchange it also with an update with a new version number? Both the PkgInfo and info.plist files show the data that is entered on the OS X tab of the standalone settings. The PkgInfo file only shows the file type APPL = application and the 4 character signature that you entered in the standalone settings, which you are supposed to register with Apple. The info.plist file has a lot more data: version numbers in several different formats, copyright data, info about icons, document types etc. When a user gets version info about your app from inside your app, it can be whatever you say. If a user tries to get the version number using Finder's Get Info command, then they will get the data from the info.plist file. My utility uses an OS X shell command to edit the info.plist file, so that is not an option for you if you are building on Windows. My recommendation would be to supply minor upgrades by replacing the app inside the bundle, but do major upgrades by building a new bundle so that the info.plist is updated also. e.g. if Finder reports version 1.0, your app could be 1.0.1, 1.0.8 or whatever. When moving to version 1.1, build a new standalone. Re your specific question, I'm not sure exactly what you mean. If you change the standalone version to 1.1, this will have no effect unless you build a new standalone. If you change the standalone version and then just insert the stack into an existing bundle, the previous info.plist will be in the bundle, so the version number will not be updated. However this will not cause any problems as far as running the app goes, unless you have added commands that were not available in the version of Rev used to build the original app. Hope this helps, 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: Version number, Splash screen, Auto-update
Very helpful utility, Sarah -- thank you very much! Clicking your url crashed Firefox, so I recommend instead using the Message Box and typing go url http://troz.troz.on-rev.com/stacks/PlistEditor.rev; George On Jun 29, 2009, at 2:21 AM, Sarah Reichelt wrote: If I make an OS X standalone I can check the version number in the Finder using 'Get Info'. snip I use a utility I wrote that reads the info.plist file and allows you to change the version number stored there. When you save the new version data, the app is touched which not only makes it show the updated data from info.plist, but it changes the app's modification date to the current date. It isn't very neat, but it works well and if people are interested, I would be happy to make it available. Yes please. You can download the stack from http://troz.troz.on-rev.com/stacks/PlistEditor.rev I added some basic help, so read it to see how it works. Cheers, Sarah P.S. This is just a temporary address while I work out my new web site, so if you try the download in a couple of weeks and it fails, try going to www.troz.net and searching there instead. ___ 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: [ANN] Game update
Nice one John, I once did an ATC in Rev, but yours is so much better! :D My planes keep crashing!! good work! (I like the online scoreboard!) On Sun, Jun 28, 2009 at 9:33 PM, Bill Marriott w...@wjm.org wrote: John, For anyone interested in wasting some time, I've updated the 'Air Traffic Control' game stack on Rev Online. The animation is a bit smoother in the new version. Excellent work ... and a very addictive game! - Bill ___ 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: Inefficient code - Solutions
Bill, I like the ideas to speed up the analysis of differences among 2 images. My impression is that your approach with div 2 is leading to erroneous resutls because by dividing by 2 you break the 4 byte blocks of imagedata. 150 div 2 = 75, 75 div 2 = 37, 37 div 2 = 18. You get the idea. You eventually compare blocks of 4 that belong to 2 pixels. That can be alright but not in all cases. By no means did I find a solution to the formal O(ND) problem. In taking an approach a little different from yours using arrays and then comparing blocks of 4 bytes I managed to speed up the process considerably, although your solution is faster. First I do a row based comparison of the imagedata and only the rows which differ are taken into an arry with the row number as key and the row data as data. This sorts out a number of rows from further analysis, depending of course on the degree of difference in the images. the syntax fits into your stack, just make a new button -- on mouseUp put the imagedata of image Alpha of group (the activeTab of btn Image Style) into a put the imagedata of image Beta of group (the activeTab of btn Image Style) into b set the endvalue of scrollbar Progress to \ the length of imagedata of image Alpha of group (the activeTab of btn Image Style) put the width of image Alpha of group (the activeTab of btn Image Style) into tWidth put tWidth * 4 into tWidthBytes put the height of image Alpha of group (the activeTab of btn Image Style) into tRows put 0 into n -- begin timing put the milliseconds into t -- rows are compared and only if different taken into 2 arrays only those are of interest repeat with i = 0 to (tRows-1) if (char i * tWidthBytes +1 to i * tWidthBytes + tWidthBytes of a)(char i * tWidthBytes + 1 to i * tWidthBytes + tWidthBytes of b) then put (char i * tWidthBytes +1 to i * tWidthBytes + tWidthBytes of a) into alphaArray[i+1] put (char i * tWidthBytes + 1 to i * tWidthBytes + tWidthBytes of b) into betaArray[i+1] end if end repeat put the keys of alphaArray into tKeys -- read out the arrays repeat for each line aKey in tKeys put alphaArray[aKey] into myAlpha put betaArray[aKey] into myBeta -- do a 4 byte compare = 1 pixel, store differing 4 bytes in the array hAll -- the key of the array is the byte address of the first byte of the pixel repeat with m = 1 to tWidthBytes -4 step 4 if char m to m + 3 of myAlpha char m to m + 3 of myBeta then put (akey -1)* tWidthBytes +(m div 4 *4 + 1) into tByteNo put char m to m + 3 of myBeta into hAll[tByteNo] add 1 to n; -- if n mod 5 = 0 then set the thumbPosition of scrollbar Progress to m -- adjust to different parameter end if end repeat end repeat -- end timing put the milliseconds - t into d put the keys of hAll into t sort t numeric put t into field diff set the thumbposition of scrollbar Progress to the endValue of scrollbar Progress put the number of lines in fld Diff pixels changed, d milliseconds for n tests end mouseUp --- please watch out for linebreaks the timing for your stack on a macbook pro 2.33 GHz 15 msec photoA, 450 msecs photoB, about 980 millisecs Screen Shot. (without scrollbar) that seems quite usable, even for the screen shot. (on my computer your version optimized takes 760 msecs) I just hope that it gets the number of differing pixels right :) regards Bernd -- View this message in context: http://www.nabble.com/Inefficient-code-tp24226458p24255723.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
It's monday, I smell betas coming this week...
Hello Folks, Today I woke up and run thru the bed and the sheets to my faithful macbook and woke it from slumber pressing shift like there's no tomorrow. After 3 minutes which is the time it takes my macbook to remember who it is, what it should be doing and how that silly intel core 2 duo thing works, it showed me my cursor. I went straight to my email account to check if any beta/alpha/something had arrived. I felt like child waiting for Santa, so far, I had been a bad boy or no beta has been released, but I am still here waiting, anxious!!! I want my new plugin, even if I will break it in the first hour! :D Morning all, I still happy with the webinar and the direction the things are going. 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: It's monday, I smell betas coming this week...
Welcome to the kids-at-Christmas party, Andre. :-) On Jun 29, 2009, at 10:41 AM, Andre Garzia wrote: Hello Folks, Today I woke up and run thru the bed and the sheets to my faithful macbook and woke it from slumber pressing shift like there's no tomorrow. After 3 minutes which is the time it takes my macbook to remember who it is, what it should be doing and how that silly intel core 2 duo thing works, it showed me my cursor. I went straight to my email account to check if any beta/alpha/something had arrived. I felt like child waiting for Santa, so far, I had been a bad boy or no beta has been released, but I am still here waiting, anxious!!! I want my new plugin, even if I will break it in the first hour! :D Morning all, I still happy with the webinar and the direction the things are going. 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 ___ 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: It's monday, I smell betas coming this week...
Personally I con't decide whether to spend 3 days in the local mental hospital, run nude up and down the main street screaming I'm a little teapot. or shave my eyebrows, paint my kneecaps bright green and utter Gnahahaha every 15 seconds. This waiting is quite interesting . . . . . Please join in the fun and/or relieve the pain of waiting by telling how the approach of the New Betas is affecting your mind. Marian Petrides wrote: Welcome to the kids-at-Christmas party, Andre. :-) On Jun 29, 2009, at 10:41 AM, Andre Garzia wrote: Hello Folks, Today I woke up and run thru the bed and the sheets to my faithful macbook and woke it from slumber pressing shift like there's no tomorrow. After 3 minutes which is the time it takes my macbook to remember who it is, what it should be doing and how that silly intel core 2 duo thing works, it showed me my cursor. I went straight to my email account to check if any beta/alpha/something had arrived. I felt like child waiting for Santa, so far, I had been a bad boy or no beta has been released, but I am still here waiting, anxious!!! I want my new plugin, even if I will break it in the first hour! :D Morning all, I still happy with the webinar and the direction the things are going. 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 ___ 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: [ANN] Game update
John, very nice. Bill is right, very addictive. It would be nice, if there would be some waring sound for new aircrafts entering the zone and maybe for collision warning. Watched the highscore. Cannot imagine, how people landed 129 aircrafts. It seems they are more playing than working ;-) My best was 12. Thanks for sharing it. Regards, Matthias Original Message Subject: [ANN] Game update (29-Jun-2009 0:12) From:John Craig j...@splash21.com To: runrev260...@m-r-d.de For anyone interested in wasting some time, I've updated the 'Air Traffic Control' game stack on Rev Online. The animation is a bit smoother in the new version. ___ 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 To: use-revolution@lists.runrev.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: It's monday, I smell betas coming this week...
On Jun 29, 2009, at 12:53 PM, Richmond Mathewson wrote: Personally I con't decide whether to spend 3 days in the local mental hospital, run nude up and down the main street screaming I'm a little teapot. or shave my eyebrows, paint my kneecaps bright green and utter Gnahahaha every 15 seconds. That's easy, just rule out the ones you've done in the past. ___ 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 cannot open my jpeg ! - and some serious thinking
If this issue matters to you, please make your views persistent by adding comments/votes to http://quality.runrev.com/qacenter/show_bug.cgi?id=4026 thank you. Ben ___ 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 cannot open my jpeg ! - and some serious thinking
Ben Rubinstein wrote: If this issue matters to you, please make your views persistent by adding comments/votes to http://quality.runrev.com/qacenter/show_bug.cgi?id=4026 Thank you for bringing that to my attention. I have an app coming up which will need to process JPEGs from cameras, and if I had to exclude so very many modern cameras because of this resolution issue the app would barely be worth shipping. Sarah's comments there were especially helpful. Thanks to both of you and the other contributors to that report. -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.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 cannot open my jpeg ! - and some serious thinking
This is an issue for me right now :( I am thinking about some sort of mosaic approach, in order to effectively get a high enough resolution background image for printing. --Original Message-- From: Richard Gaskin Sender: use-revolution-boun...@lists.runrev.com To: How to use Revolution ReplyTo: How to use Revolution Subject: Re: Rev cannot open my jpeg ! - and some serious thinking Sent: Jun 29, 2009 2:54 PM Ben Rubinstein wrote: If this issue matters to you, please make your views persistent by adding comments/votes to http://quality.runrev.com/qacenter/show_bug.cgi?id=4026 Thank you for bringing that to my attention. I have an app coming up which will need to process JPEGs from cameras, and if I had to exclude so very many modern cameras because of this resolution issue the app would barely be worth shipping. Sarah's comments there were especially helpful. Thanks to both of you and the other contributors to that report. -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.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 Sent from my Verizon Wireless BlackBerry___ 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: Inefficient code - Solutions
Bernd, Thanks for the pointer... I believe I've corrected the error. Here's the key part of the loop with friendly variable names and comments: -- starting with the whole image, check a range of pixels for differences -- keep slicing the range in half until we find a block of unchanged pixels repeat while char currPixel+1 to currPixel+rangeToCheck of ImageA \ char currPixel+1 to currPixel+rangeToCheck of ImageB -- aha, the range we're testing has changes if rangeToCheck = 8 then -- eight bytes is at least two pixels... it's still too big; slice it in half put rangeToCheck div 4 div 2 * 4 into rangeToCheck else -- we're down to a single changed pixel now -- record which pixel has changed (offset within the imageData) put 1 into bytesChanged[currPixel+1] -- move to the next pixel; assume that changed pixels are near each other add 4 to currPixel end if end repeat -- we found one or more unchanged pixels; skip this section of data add rangeToCheck to currPixel -- and update the range to encompass the remainder of the image put dataLength - currPixel into rangeToCheck end repeat My routine will be optimal the fewer changes there are in the image, and the less distributed (more localized) those changes are. It took about 680 ms on my 2.66 GHz Core i7 Vista system, so I took the progress bar out. :) Can anyone improve on it? BNig niggem...@uni-wh.de wrote in message news:24255723.p...@talk.nabble.com... I like the ideas to speed up the analysis of differences among 2 images. My impression is that your approach with div 2 is leading to erroneous resutls because by dividing by 2 you break the 4 byte blocks of imagedata. 150 div 2 = 75, 75 div 2 = 37, 37 div 2 = 18. You get the idea. You eventually compare blocks of 4 that belong to 2 pixels. That can be alright but not in all [...] ___ 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: It's monday, I smell betas coming this week...
Colin Holgate wrote: On Jun 29, 2009, at 12:53 PM, Richmond Mathewson wrote: Personally I con't decide whether to spend 3 days in the local mental hospital, run nude up and down the main street screaming I'm a little teapot. or shave my eyebrows, paint my kneecaps bright green and utter Gnahahaha every 15 seconds. That's easy, just rule out the ones you've done in the past. Hmm, tough call. :) ___ 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
Rev cannot open my jpeg ? - but it is possible!!
Jim Sims sims at ezpzapps.com had written on Sun Jun 28,2009: On Jun 28, 2009, at 7:07 PM, Mike Markkula wrote: I too wish wish wish Rev would remove the 4095 pixel width limit! (there is no height limit) As is, its a deal breaker for any serious app in the photography arena. The hindrance extends beyond the scope of photography. I tried here (Windows XP) to import an image with a width 5000 both to an image with its loclock set to true and false using the script below on mouseUp answer file Choose image file with filter *.jpg;*.png put it into tfile put binfile: before tfile put URL Datei into img x end mouseUp In both cases there were no problems. If the image into which the imported image is being placed has its loclock set to true, the wide image image will just adapt to the set image width of the accepting image. If not then the imported image is displayed with its full size - and you then scroll it if you like vertically and horizontally. Regards, Wilhelm Sanke http://www.sanke.org/MetaMedia ___ 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: Version number, Splash screen, Auto-update
If you are wanting to use Sarah's scripting (thanks for posting that, Sarah) to help with an updater then it might be useful to have a generalized method for locating PlistBuddy. Ken Ray supplied part of this one. (Paste into the message box:) go url http://www.elementarysoftware.com/rev-examples/PlistBuddy-Locator.rev Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email sc...@elementarysoftware.com -- On Jun 29, 2009, at 5:21 AM, George C Brackett wrote: Very helpful utility, Sarah -- thank you very much! Clicking your url crashed Firefox, so I recommend instead using the Message Box and typing go url http://troz.troz.on-rev.com/stacks/PlistEditor.rev; George On Jun 29, 2009, at 2:21 AM, Sarah Reichelt wrote: If I make an OS X standalone I can check the version number in the Finder using 'Get Info'. snip I use a utility I wrote that reads the info.plist file and allows you to change the version number stored there. When you save the new version data, the app is touched which not only makes it show the updated data from info.plist, but it changes the app's modification date to the current date. It isn't very neat, but it works well and if people are interested, I would be happy to make it available. Yes please. You can download the stack from http://troz.troz.on-rev.com/stacks/PlistEditor.rev I added some basic help, so read it to see how it works. Cheers, Sarah P.S. This is just a temporary address while I work out my new web site, so if you try the download in a couple of weeks and it fails, try going to www.troz.net and searching there instead. ___ 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 ___ 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 cannot open my jpeg ? - but it is possible!!
As mentioned before, the bug is specific to OS X. Ian P.S. It should be: put URL tfile into img x not put URL Datei into img x On 29 Jun 2009, at 21:04, Wilhelm Sanke wrote: I tried here (Windows XP) to import an image with a width 5000 both to an image with its loclock set to true and false using the script below ___ 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 cannot open my jpeg ? - but it is possible!!
Our resident image processing guru Wilhelm Sanke wrote: I tried here (Windows XP) to import an image with a width 5000 both to an image with its loclock set to true and false using the script below on mouseUp answer file Choose image file with filter *.jpg;*.png put it into tfile put binfile: before tfile put URL Datei into img x end mouseUp In both cases there were no problems. If the image into which the imported image is being placed has its loclock set to true, the wide image image will just adapt to the set image width of the accepting image. If not then the imported image is displayed with its full size - and you then scroll it if you like vertically and horizontally. Very helpful, Wilhelm. Thank you. I don't know of anyone else in the community who's done as much with image processing as you, so your input on this is especially valuable. Does this also address the issue on OS X? Also, how can one obtain the original bounds of the image in order to scale it proportionately? -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.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: Inefficient code - Solutions
I have nothing to contribute to this thread other than to say thanks. It's these types of discussions that make this list so valuable, in which all of us get a change to explore different algorithms and learn a lot along the way. I've been expecting Alex Tweedly to jump in with some clever use of arrays for an order-of-magnitude speed increase, as he's done so many times before. :) Great stuff, guys. Thanks for this thread. -- Richard Gaskin Fourth World Revolution training and consulting: http://www.fourthworld.com Webzine for Rev developers: http://www.revjournal.com Bill Marriott wrote: Bernd, Thanks for the pointer... I believe I've corrected the error. Here's the key part of the loop with friendly variable names and comments: -- starting with the whole image, check a range of pixels for differences -- keep slicing the range in half until we find a block of unchanged pixels repeat while char currPixel+1 to currPixel+rangeToCheck of ImageA \ char currPixel+1 to currPixel+rangeToCheck of ImageB -- aha, the range we're testing has changes if rangeToCheck = 8 then -- eight bytes is at least two pixels... it's still too big; slice it in half put rangeToCheck div 4 div 2 * 4 into rangeToCheck else -- we're down to a single changed pixel now -- record which pixel has changed (offset within the imageData) put 1 into bytesChanged[currPixel+1] -- move to the next pixel; assume that changed pixels are near each other add 4 to currPixel end if end repeat -- we found one or more unchanged pixels; skip this section of data add rangeToCheck to currPixel -- and update the range to encompass the remainder of the image put dataLength - currPixel into rangeToCheck end repeat My routine will be optimal the fewer changes there are in the image, and the less distributed (more localized) those changes are. It took about 680 ms on my 2.66 GHz Core i7 Vista system, so I took the progress bar out. :) Can anyone improve on it? BNig niggemann at uni-wh.de wrote in message news:24255723.post at talk.nabble.com... I like the ideas to speed up the analysis of differences among 2 images. My impression is that your approach with div 2 is leading to erroneous resutls because by dividing by 2 you break the 4 byte blocks of imagedata. 150 div 2 = 75, 75 div 2 = 37, 37 div 2 = 18. You get the idea. You eventually compare blocks of 4 that belong to 2 pixels. That can be alright but not in all [...] ___ 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 cannot open my jpeg ! - and some serious thinking
would it be possible to kludge up a workaround If it's just display of big JPEGs you need, how about importing and displaying them in a (QT) player? Jim Lambert ___ 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: Inefficient code - Solutions
Bill, Bill Marriott wrote: I believe I've corrected the error that is a mighty fine piece of code. Beats me in all 3 images. It's assuring that we find the same number of differing pixels. :) I wonder if anybody can improve on that? regards Bernd -- View this message in context: http://www.nabble.com/Inefficient-code-tp24226458p24261535.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 cannot open my jpeg ? - but it is possible!!
On 29 Jun 2009, at 21:31, Richard Gaskin wrote: Does this also address the issue on OS X? No difference at all. Also, how can one obtain the original bounds of the image in order to scale it proportionately? Once the image is loaded up you could use the formattedWidth formattedHeight. To do so before loading the image (on OS X 10) you could use SIPS via a shell call to get the pixel dimensions of the image. On 29 Jun 2009, at 21:43, Jim Lambert wrote: If it's just display of big JPEGs you need, how about importing and displaying them in a (QT) player? I've done this before now as you also get the ability to load up TIFFs, PDFs etc, but it tends to be a bit clunky in comparison to the native handling of images. Masks and partial transparency, for example, won't work with a player object. I also ran into problems when trying to combine scaled players and visual effects for a slideshow app - but that was quite a long time ago and is probably a lot better - it may even have been before Core Image visual effects were added. Ian ___ 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 cannot open my jpeg ! - and some serious thinking
My issue is that I am copying and pasting from Photoshop to RunRev. If the file is too large, RunRev will not recognize that there is an image in the clipboard. I plan to tinker with this endlessly, because I really want the picture to be able to print with 300 DPI resolution. That does not seem like too much to ask for. On Mon, Jun 29, 2009 at 4:43 PM, Jim Lambert j...@netrin.com wrote: would it be possible to kludge up a workaround If it's just display of big JPEGs you need, how about importing and displaying them in a (QT) player? Jim Lambert ___ 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 -- Do all things with love ___ 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 Help?
Does anyone have a primer or tutorial on printing from Rev (revPrint)? The roughly 40 or so properties listed in the dictionary plus print/open printing/answer printer is just a tad overwhelming... Thanks Regards, Scott Rossi Creative Director Tactile Media, Multimedia Design ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Printing Help?
Hi, i remember, that Dan Shafer was offering an ebook Printing in Revolution on his site http://www.shafermediastore.com for 5$. Regards, Matthias Original Message Subject: Printing Help? (30-Jun-2009 0:36) From:Scott Rossi sc...@tactilemedia.com To: runrev260...@m-r-d.de Does anyone have a primer or tutorial on printing from Rev (revPrint)? The roughly 40 or so properties listed in the dictionary plus print/open printing/answer printer is just a tad overwhelming... Thanks Regards, Scott Rossi Creative Director Tactile Media, Multimedia Design ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution To: use-revolution@lists.runrev.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: Inefficient code - Solutions
Richard Gaskin wrote: I have nothing to contribute to this thread other than to say thanks. It's these types of discussions that make this list so valuable, in which all of us get a change to explore different algorithms and learn a lot along the way. I've been expecting Alex Tweedly to jump in with some clever use of arrays for an order-of-magnitude speed increase, as he's done so many times before. :) :-) I'm on holiday - otherwise I'd be trying to contribute something to this interesting task. Hmmm - now I need to find a way to use arrays ... -- Alex. ___ 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
[ON-REV] on-rev server and labelling directories cgi-bin
Pushing the OT envelope maybe but... Does the on-rev server treat subdirectories and their contents differently when the directory housing them is labelled cgi-bin? In the directory linked to my domain name, I've created a folder cgi-bin and then within it created a folder junkimg with jpgs, as in: kweto.net/cgi-bin/junkimg/a1008.jpg However, when I try to access the images inside kweto.net/cgi-bin/junkimg/, I get a 500 error. The server error log too shows a 500 error, plus these: ... script not found or unable to stat: /home/kweto/public_html/kweto.net/cgi-bin/AnotherDir/index.htm ... attempt to invoke directory as script: /home/kweto/public_html/kweto.net/cgi-bi/SomeOtherDir/ I've checked and fiddled with on-rev server's cPanel Password Protect Directories, but no go. Of course, I could just not use cgi-bin as a label, but on my other webhost account this is not a problem, and, after I've moved everything from there to on-rev, I'd like to keep the same directory structure. Thanks. -- Nicolas Cueto ___ 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] Game update
Hi john. Where is your game in Rev Online? i was looking under the user name Jock_McTartan, but could not found this stack. Thanks in advance. al -- View this message in context: http://www.nabble.com/-ANN--Game-update-tp24246055p24261917.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: [ON-REV] on-rev server and labelling directories cgi-bin
Nicolas, I've encountered this on other cPanel-based hosts. The ISP was not much help, however. I think cPanel protects that directory so that only internal processes can access it, for security. Try using the form on on-Rev's support page if you haven't already... - Bill Pushing the OT envelope maybe but... Does the on-rev server treat subdirectories and their contents differently when the directory housing them is labelled cgi-bin? [...] when I try to access the images inside kweto.net/cgi-bin/junkimg/, I get a 500 error. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [ANN] Game update
On Tue, Jun 30, 2009 at 9:27 AM, capellan capellan2...@yahoo.com wrote: Where is your game in Rev Online? Any announcement about stacks up loaded to Rev Online should come with a clarification as to whether that is the New Rev Online or the Old Rev Online (or BOTH) to avoid such confusion. In this case it is available on the New Rev Online if you have Rev 3.5. I did a search for 'traffic'. HTH ___ 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: It's monday, I smell betas coming this week...
On Mon, Jun 29, 2009 at 11:41 PM, Andre Garzia an...@andregarzia.comwrote: After 3 minutes which is the time it takes my macbook to remember who it is, what it should be doing and how that silly intel core 2 duo thing works, it showed me my cursor. Say what Sounds like whilst you should run MainMenu spring cleaning routines a couple of times: http://creativebe.com/downloads.html I've also discovered that if waking up takes more than about 30 sec, Restarting, Log In, Log Out, Restart - repeated a couple of times usually brings it back to within a couple of seconds. I've always figured it has something to do with a cache file, that if every time you log in you do something different the cache file gets so big it never really figures out what you 'normally' want to do, but if I do a couple of plain restarts and log ins and outs in a row it then goes 'oh now I know what you want to do, no problem'. Whilst you're waiting maybe? ___ 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 Help?
Scott Rossi wrote: Does anyone have a primer or tutorial on printing from Rev (revPrint)? The roughly 40 or so properties listed in the dictionary plus print/open printing/answer printer is just a tad overwhelming... I don't know of much that's available outside of Rev's User Guide, but the Guide has a full chapter on it that isn't bad. What I usually do is create a printing stack that I store as a substack. Each card represents one print template. When time to print, I open the printing stack invisibly at the right card, gather up the necessary data, and put it into the fields in the template. It's a big advantage if you name your template fields the same as the stack fields; that way you can do loops that match the fields up without much trouble. It's also good to remember that all printers have their own margins in addition to the ones you can set in Rev. Most can't print closer than a half inch from the top; the side edges vary by printer. Even the ones that say they print edge-to-edge usually have a small margin at the sides. If you set Rev's margins to 1 inch on each side, and the printer can't print closer than a half inch on a side, you'll get 1.5 margins on the paper. Make all my left-side template fields butt up against the very left edge of the card, leaving no extra space. Do the same at the top of the card. That way when you set the printmargins, the top and left edges of the printout will be as close as possible to the correct amount. For the type of printing I usually do, that's close enough. But if you need more precision, you can use the printRectangle property to find out what the printer margins actually are so you can account for them before setting your own additional printmargins. There are so many printing controls, as you say, that it would help if we know what kind of printout you're doing. You don't usually need to set them all, often the defaults are fine. It mostly depends on what kind of output you're going for. For example, if you aren't printing booklets, you can usually ignore gutters, two-sided printing, etc. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [ANN] Game update
Can you please post the ful url? I can't find traffic. ben Andre Garzia-3 wrote: Nice one John, I once did an ATC in Rev, but yours is so much better! :D My planes keep crashing!! good work! (I like the online scoreboard!) On Sun, Jun 28, 2009 at 9:33 PM, Bill Marriott w...@wjm.org wrote: John, For anyone interested in wasting some time, I've updated the 'Air Traffic Control' game stack on Rev Online. The animation is a bit smoother in the new version. Excellent work ... and a very addictive game! - Bill ___ 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 -- View this message in context: http://www.nabble.com/-ANN--Game-update-tp24246055p24266138.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