Re: Garbage Collection/Old Data in stack

2015-01-18 Thread Peter Haworth
On Sun, Jan 18, 2015 at 10:50 AM, Ralph DiMola wrote: > Peter, > Is listing these is an enhancement for lcStackBrowser? > It's already there. If you right click a card in the display, there's an option to place a group with subitems that show the available unplaced groups noted as "(Unlinked)"

RE: Garbage Collection/Old Data in stack

2015-01-18 Thread Ralph DiMola
January 18, 2015 1:21 PM To: How to use LiveCode Subject: Re: Garbage Collection/Old Data in stack Aha, that makes sense! Thank you, Scott. Cheers, Roger > On Jan 18, 2015, at 11:13 AM, Scott Rossi wrote: > > I have to ask . . . how does one end up with unplaced groups? > > Onc

Re: Garbage Collection/Old Data in stack

2015-01-18 Thread Roger Guay
Aha, that makes sense! Thank you, Scott. Cheers, Roger > On Jan 18, 2015, at 11:13 AM, Scott Rossi wrote: > > I have to ask . . . how does one end up with unplaced groups? > > Once a group has been placed on a card and is then removed from all cards on > which it appeared, it is unplaced.

Re: Garbage Collection/Old Data in stack

2015-01-18 Thread Scott Rossi
I have to ask . . . how does one end up with unplaced groups? Once a group has been placed on a card and is then removed from all cards on which it appeared, it is unplaced. The group remains in the stack so it can be used again. Regards, Scott Rossi Creative Director Tactile Media, UX/UI

Re: Garbage Collection/Old Data in stack

2015-01-18 Thread Peter Haworth
Just tried the following script in a button in your Test3 stack file: on mouseUp get the revUnplacedGroupIDs of stack "GolfDay FL" repeat for each line rID in it delete group id rID of stack "GolfDay FL" end repeat end mouseUp The saved the stack. It's now 9kbytes in size. Pete

Re: Garbage Collection/Old Data in stack

2015-01-18 Thread Peter Haworth
Hi Ralph, There's an undocumented property of a stack named revUnplacedGroupIDs. See what it shows for your stack You should be able to repeat through the lines in that property and delete the group ids listed in it. Pete lcSQL Software Home of lcStackBrowser

Re: Garbage Collection/Old Data in stack

2015-01-18 Thread Roger Guay
I have to ask . . . how does one end up with unplaced groups? Cheers, Roger > On Jan 18, 2015, at 9:19 AM, Scott Rossi wrote: > > There isn’t any list of unplaced groups. The reason I was able to tell the > groups were not placed is because all visible objects had been removed from > the sa

Re: Garbage Collection/Old Data in stack

2015-01-18 Thread Scott Rossi
There isn’t any list of unplaced groups. The reason I was able to tell the groups were not placed is because all visible objects had been removed from the sample stack. There Go to the Object menu under Place Group to see groups that can be placed on the current card. Anything in the list th

Re: Garbage Collection/Old Data in stack

2015-01-18 Thread Hausser Jacques
Look at item “place groups” in object menu (and to delete groups, don’t use “remove group” but place the group somewhere, select it and edit -> clear). > Le 18 janv. 2015 à 16:19, Dr. Hawkins a écrit : > > On Sat, Jan 17, 2015 at 10:06 PM, Scott Rossi > wrote: > >> You have 20+ unplaced group

Re: Garbage Collection/Old Data in stack

2015-01-18 Thread Dr. Hawkins
On Sat, Jan 17, 2015 at 10:06 PM, Scott Rossi wrote: > You have 20+ unplaced groups present in the stack, many of which contain > images, which is why you have 2+ MB in file size. OK, how do we find unplaced objects? I think I have a few megs in my main project. -- Dr. Richard E. Hawkins, E

Re: Garbage Collection/Old Data in stack

2015-01-17 Thread Richard Gaskin
Thanks for posting the stack, Ralph. I love a good mystery. There are unplaced background there: Exit BottomBarG NavScreen1GroupC NavScreen1GroupD NavScreen1GroupE MenuGrp NavScreen1GroupA NavScreen1GroupB LogoG1 BG2G BG3G BG6G BG4G Browser BG5G Back NextG Picker Picker EmailNote -- Richard G

Re: Garbage Collection/Old Data in stack

2015-01-17 Thread Scott Rossi
You have 20+ unplaced groups present in the stack, many of which contain images, which is why you have 2+ MB in file size. Not sure if there’s a programmatic way to remove them, but if you place each one and then delete it, you’ll eventually remove them from the stack. Regards, Scott Rossi Cr

RE: Garbage Collection/Old Data in stack

2015-01-17 Thread Ralph DiMola
There are no objects except for the 1 blank card. I wonder how many other stacks out there are experiencing this creep of orphan object/properties. I just happen to find them because I did not want to redo all my standalone setting for mobile splash pages when creating a stub stack. I just deleted

Re: Garbage Collection/Old Data in stack

2015-01-17 Thread Dr. Hawkins
On Sat, Jan 17, 2015 at 3:27 PM, Richard Gaskin wrote: > These orphaned images are making my standalones larger than they should be. >> This is more of a problem for mobile than desktop. I guess it's time for a >> Bug Report. >> > > Maybe. Any unplaced backgrounds in the stack file? > > Did you

Re: Garbage Collection/Old Data in stack

2015-01-17 Thread Richard Gaskin
Ralph DiMola wrote: Thank for all the suggestions. Compact did nothing. The properties and images are from long gone cards. They were not rev stack properties. Other properties are for fields and buttons that were on the deleted cards. This stack now has one empty card and it is 2MB. I know I cou

RE: Garbage Collection/Old Data in stack

2015-01-17 Thread Ralph DiMola
rdim...@evergreeninfo.net Phone: 518-636-3998 Ex:11 Cell: 518-796-9332 -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Mark Wieder Sent: Saturday, January 17, 2015 3:40 PM To: How to use LiveCode Subject: Re: Garbage Collection/Old Data in

Re: Garbage Collection/Old Data in stack

2015-01-17 Thread Mark Wieder
Ralph- Saturday, January 17, 2015, 11:11:40 AM, you wrote: > How can I clean up this stack? Are there other orphans in my main stack and > other stacks that I don't know about? Am I missing something here or is > there some stack corruption that has creeped in over time? Did you try compacting t

Re: Garbage Collection/Old Data in stack

2015-01-17 Thread J. Landman Gay
On 1/17/2015 1:11 PM, Ralph DiMola wrote: I was making a stub stack. I started with my original stack and deleted all the cards except 1. The resulting stack is 3MB. I then deleted all the scripts and objects on the remaining card and still 3MB. I Delete all the scripts from the stack and still 3

Re: Garbage Collection/Old Data in stack

2015-01-17 Thread Richmond
On 17/01/15 21:11, Ralph DiMola wrote: I was making a stub stack. I started with my original stack and deleted all the cards except 1. The resulting stack is 3MB. I then deleted all the scripts and objects on the remaining card and still 3MB. I Delete all the scripts from the stack and still 3MB.