MetaCard and LiveCode externals WAS: Re: [ANN]BvG Docu 1.7
Hi Mark, Björnke- Wednesday, October 20, 2010, 4:41:27 AM, you wrote: I fixed that, and i changed the test of revappversion() = 4.5.0 to char 1 to 3 of the version = 4.5. I think that one should also work in metacard, as well as for those crazy people who use beta versions of the ide as main environment (shame on you). Nice. To remain future-friendly, you might want to change the check to if the version 4.5 note: claim of properly working in metacard untested It doesn't work in mc because you make calls to the revxml library, as in line 245 of DocsLibContent (revcreatexmltree). Once I figure out how to get mc to recognize rev externals (Klaus?) this should work. Hmm, this is pretty straightforward! :-) Anyway, I created a folder externals in my MC folder and copied ALL the LC externals into that folder. NO subfolder for RevDB stuff!!! Then I added a little script to my home stack that will load the externals and use that stack: on openStack externalseinrichten start using this stack #... end openStack ## German for setup externals command externalseinrichten put the filename of this stack into fn set itemdel to / delete item -1 of fn put /externals/ after fn put the folder into olddir set the folder to fn # Mac! # Use files and filter with *.dll for Windows put the folders into tBundles filter tBundles with *.bundle repeat for each line i in tBundles put fn i CR after Xlist end repeat delete char -1 of Xlist set the folder to olddir set the externals of this stack to Xlist end externalseinrichten That's it! -- -Mark Wieder mwie...@ahsoftware.net Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.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: MetaCard and LiveCode externals WAS: Re: [ANN]BvG Docu 1.7
Klaus- Thursday, October 21, 2010, 3:16:42 AM, you wrote: Hmm, this is pretty straightforward! :-) Thanks for the (lack of) sanity check. I had done something similar and for some reason it didn't work. Now it does. Not sure why, but at least now I can verify that the documentation stack does indeed work well with metacard. -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [ANN]BvG Docu 1.7
Sorry about all that. To start with, I uploaded the wrong file, which actually doesn't create any files at all.. oops I fixed that, and i changed the test of revappversion() = 4.5.0 to char 1 to 3 of the version = 4.5. I think that one should also work in metacard, as well as for those crazy people who use beta versions of the ide as main environment (shame on you). Please get the updated version from my site: http://bjoernke.com/?target=bvgdocu note: claim of properly working in metacard untested On 20 Oct 2010, at 03:28, Len Morgan wrote: I got the same error as Mark and I AM using the Rev IDE (4.5.1 dp-1). len morgan On 10/19/2010 3:16 PM, Mark Wieder wrote: Björnke- Tuesday, October 19, 2010, 12:48:19 PM, you wrote: Damnit reacting to a install where there's no clumps file, that was exactly what I changed. Do you two per chance not use the rev ide? because I use if revappversion() = 4.5.0 thencreate fake clumps file here. You might want to tweak that a bit since I tried this with 4.5.1-dp1. ___ 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]BvG Docu 1.7
Have you tested the increase type size on Linux? It does not seem to work for me. Debian Squeeze and Fluxbox. Peter -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-BvG-Docu-1-7-tp3000985p3004334.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: [ANN]BvG Docu 1.7
Björnke- Wednesday, October 20, 2010, 4:41:27 AM, you wrote: I fixed that, and i changed the test of revappversion() = 4.5.0 to char 1 to 3 of the version = 4.5. I think that one should also work in metacard, as well as for those crazy people who use beta versions of the ide as main environment (shame on you). Nice. To remain future-friendly, you might want to change the check to if the version 4.5 note: claim of properly working in metacard untested It doesn't work in mc because you make calls to the revxml library, as in line 245 of DocsLibContent (revcreatexmltree). Once I figure out how to get mc to recognize rev externals (Klaus?) this should work. -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [ANN]BvG Docu 1.7
not working for me, does not generate the 1000 files, only one is generated... :-/ 2010/10/18 Björnke von Gierke b...@mac.com Hi everybody Just a quick reminder about bvg docu, the stack for those who want to replace the build in docu. Unlike the default offering, it has adjustable type-size, uses less screen real estate, and is quicker to show the goods. There is now a new version. The only change compared to bvg docu 1.6 is that the new version also runs for livecode (the ide formerly known as rev 4.5). get it here: http://bjoernke.com/?target=bvgdocu and have fun bjoernke -- official ChatRev page: http://bjoernke.com?target=chatrev Chat with other RunRev developers: go stack URL http://bjoernke.com/chatrev/chatrev1.3b3.rev; ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- http://www.andregarzia.com All We Do Is Code. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [ANN]BvG Docu 1.7
Andre- Tuesday, October 19, 2010, 11:09:52 AM, you wrote: not working for me, does not generate the 1000 files, only one is generated... :-/ I get A problem Occured: sorry, but I couldn't find the 'packaged_xml/dictionary/clumps.index' file in that folder using the defaults. And indeed there is no clumps.index file there. -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [ANN]BvG Docu 1.7
I get A problem Occured: sorry, but I couldn't find the 'packaged_xml/dictionary/clumps.index' file in that folder using the defaults. And indeed there is no clumps.index file there. Damnit reacting to a install where there's no clumps file, that was exactly what I changed. Do you two per chance not use the rev ide? because I use if revappversion() = 4.5.0 then create fake clumps file here. see also the following information that I sent to richard gaskin, regarding metacard, yesterday: the problematic check is in the docslib by bvg stack in the docsLibParse handler. It is part of how I extract stuff from the existing data-holding stacks which are called revcDoclump_## (various numbers at the end). if there's no way to know the actual rev-version, then you must change the code by hand. to do that, simply comment out the if revappversion() = 4.5.0 line, as well as the one line in the else part (and of course the else and end if). so it would look somewhat like this: --clumps.index doesn't exist in 4.5, so I fake it --if revappversion() = 4.5.0 then put 50 into stupidRevIdea put arraydecode(url (binfile: theDocPath /dict.index)) into theData put into theDict set the itemdelimiter to . repeat for each key theKey in theData put theData[theKey][id] into theEntry put (item 1 of theEntry -1) mod stupidRevIdea + 1 into theNumber put revDocClump_ (item 1 of theEntry -1) div stupidRevIdea + 1 into stupidToBeginWithClump put slash slash theEntry , stupidToBeginWithClump, theNumber return after theDict end repeat set the itemdelimiter to comma delete char -1 of theDict --else --put url (file: theDocPath /packaged_xml/dictionary/clumps.index) into theDict --end if that should work fine, as long as you don't use the stack in older versions of rev than 4.0.0 ( not a typo). however, there's 4.0.0 specific problems with mangled entries, and i use a similar check there too, so it's best to stick to 4.5.0. by the way, the cancel entry is unreadable due to bad xml (written by rev). I was too lazy to include a fix for that. also there's keywords that have xmlerr, can't find element as syntax. that too is a problem directly in the source files, and me being too lazy to code a workaround. both problems have been bugzillaed. ___ 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]BvG Docu 1.7
Björnke- Tuesday, October 19, 2010, 12:48:19 PM, you wrote: Damnit reacting to a install where there's no clumps file, that was exactly what I changed. Do you two per chance not use the rev ide? because I use if revappversion() = 4.5.0 then create fake clumps file here. You might want to tweak that a bit since I tried this with 4.5.1-dp1. -- -Mark Wieder mwie...@ahsoftware.net ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [ANN]BvG Docu 1.7
Mr BvG, I am on plain 4.5.0 here and it did not work for some odd reason.. :-/ it has no error message, but when I click re-generate, I get one dict file and nothing more and the stack do not work, like empty content. Andre 2010/10/19 Björnke von Gierke b...@mac.com I get A problem Occured: sorry, but I couldn't find the 'packaged_xml/dictionary/clumps.index' file in that folder using the defaults. And indeed there is no clumps.index file there. Damnit reacting to a install where there's no clumps file, that was exactly what I changed. Do you two per chance not use the rev ide? because I use if revappversion() = 4.5.0 then create fake clumps file here. see also the following information that I sent to richard gaskin, regarding metacard, yesterday: the problematic check is in the docslib by bvg stack in the docsLibParse handler. It is part of how I extract stuff from the existing data-holding stacks which are called revcDoclump_## (various numbers at the end). if there's no way to know the actual rev-version, then you must change the code by hand. to do that, simply comment out the if revappversion() = 4.5.0 line, as well as the one line in the else part (and of course the else and end if). so it would look somewhat like this: --clumps.index doesn't exist in 4.5, so I fake it --if revappversion() = 4.5.0 then put 50 into stupidRevIdea put arraydecode(url (binfile: theDocPath /dict.index)) into theData put into theDict set the itemdelimiter to . repeat for each key theKey in theData put theData[theKey][id] into theEntry put (item 1 of theEntry -1) mod stupidRevIdea + 1 into theNumber put revDocClump_ (item 1 of theEntry -1) div stupidRevIdea + 1 into stupidToBeginWithClump put slash slash theEntry , stupidToBeginWithClump, theNumber return after theDict end repeat set the itemdelimiter to comma delete char -1 of theDict --else --put url (file: theDocPath /packaged_xml/dictionary/clumps.index) into theDict --end if that should work fine, as long as you don't use the stack in older versions of rev than 4.0.0 ( not a typo). however, there's 4.0.0 specific problems with mangled entries, and i use a similar check there too, so it's best to stick to 4.5.0. by the way, the cancel entry is unreadable due to bad xml (written by rev). I was too lazy to include a fix for that. also there's keywords that have xmlerr, can't find element as syntax. that too is a problem directly in the source files, and me being too lazy to code a workaround. both problems have been bugzillaed. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- http://www.andregarzia.com All We Do Is Code. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [ANN]BvG Docu 1.7
On Tue, Oct 19, 2010 at 10:42 PM, Andre Garzia an...@andregarzia.com wrote: Mr BvG, I am on plain 4.5.0 here and it did not work for some odd reason.. :-/ it has no error message, but when I click re-generate, I get one dict file and nothing more and the stack do not work, like empty content. Andre Björnke, Same issue than Andre, here. My 'BvG Docu' folder contains only a copy of the dict.index. No error message, just an empty content as result. LiveCode 4.5.0 Maybe the loop to copy the files is broken due to an error after the first file? Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: [ANN]BvG Docu 1.7
I got the same error as Mark and I AM using the Rev IDE (4.5.1 dp-1). len morgan On 10/19/2010 3:16 PM, Mark Wieder wrote: Björnke- Tuesday, October 19, 2010, 12:48:19 PM, you wrote: Damnit reacting to a install where there's no clumps file, that was exactly what I changed. Do you two per chance not use the rev ide? because I use if revappversion() = 4.5.0 thencreate fake clumps file here. You might want to tweak that a bit since I tried this with 4.5.1-dp1. ___ 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]BvG Docu 1.7
Hi everybody Just a quick reminder about bvg docu, the stack for those who want to replace the build in docu. Unlike the default offering, it has adjustable type-size, uses less screen real estate, and is quicker to show the goods. There is now a new version. The only change compared to bvg docu 1.6 is that the new version also runs for livecode (the ide formerly known as rev 4.5). get it here: http://bjoernke.com/?target=bvgdocu and have fun bjoernke -- official ChatRev page: http://bjoernke.com?target=chatrev Chat with other RunRev developers: go stack URL http://bjoernke.com/chatrev/chatrev1.3b3.rev; ___ 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