Re: sqLite delete memory database
I have been testing SQLite 3 using the command line interface and it looks to me like SQLite is designed to securely delete the memory of the database automatically after it closes the database. I could be wrong but if you can’t read the memory it is probably already securely deleted when the database was closed. JB > On Apr 30, 2020, at 6:43 PM, Bob Sneidar via use-livecode > wrote: > > I can create memory databases, but how do I delete it once created? > revdb_disconnect still leaves it in memory. revCloseDatabase is just a > synonym of revdb_disconnect. > > Bob S > > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: sqLite delete memory database
hmmmyou can try set the pragma to zero out flag (i am pretty sure there is one) .. and drop all tables on close? its strange that it does not 'delete' from memory. Are we sure on this?. is this dependent on the garbage collector in LC? On Fri, May 1, 2020 at 7:14 AM JB via use-livecode < use-livecode@lists.runrev.com> wrote: > I have been testing SQLite 3 using the command line interface and it > looks to me like SQLite is designed to securely delete the memory of > the database automatically after it closes the database. > > I could be wrong but if you can’t read the memory it is probably already > securely deleted when the database was closed. > > JB > > > > On Apr 30, 2020, at 6:43 PM, Bob Sneidar via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > I can create memory databases, but how do I delete it once created? > revdb_disconnect still leaves it in memory. revCloseDatabase is just a > synonym of revdb_disconnect. > > > > Bob S > > > > > > ___ > > use-livecode mailing list > > use-livecode@lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Mobile:647.562.9411 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: sqLite delete memory database
Is there an LC function that clears trash from memory? Does "hasMemory"? If not, it seems like that would be a nice feature. Phil Davis On 5/1/20 12:25 PM, Tom Glod via use-livecode wrote: hmmmyou can try set the pragma to zero out flag (i am pretty sure there is one) .. and drop all tables on close? its strange that it does not 'delete' from memory. Are we sure on this?. is this dependent on the garbage collector in LC? On Fri, May 1, 2020 at 7:14 AM JB via use-livecode < use-livecode@lists.runrev.com> wrote: I have been testing SQLite 3 using the command line interface and it looks to me like SQLite is designed to securely delete the memory of the database automatically after it closes the database. I could be wrong but if you can’t read the memory it is probably already securely deleted when the database was closed. JB On Apr 30, 2020, at 6:43 PM, Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: I can create memory databases, but how do I delete it once created? revdb_disconnect still leaves it in memory. revCloseDatabase is just a synonym of revdb_disconnect. Bob S ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Phil Davis 503-307-4363 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
FormattedHeight
Is the formattedHeight of a group broken for anyone else? LC 9.6dp4 (and possibly dp3). I'm a little frantic. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
RE: FormattedHeight
Did a quick tests on both 9.0.5 and 9.6dp4 it seems to work the same. What do you see wrong? Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of J. Landman Gay via use-livecode Sent: Friday, May 01, 2020 4:17 PM To: LiveCode Mailing List Cc: J. Landman Gay Subject: FormattedHeight Is the formattedHeight of a group broken for anyone else? LC 9.6dp4 (and possibly dp3). I'm a little frantic. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: FormattedHeight
Are you exceeding the maximum vertical scroll? (I haven’t run into this recently but I believe at one point the vScroll of groups was limited at the engine level to 32780) Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email sc...@elementarysoftware.com booth1-800-615-0867 -- > On May 1, 2020, at 1:17 PM, J. Landman Gay via use-livecode > wrote: > > Is the formattedHeight of a group broken for anyone else? LC 9.6dp4 (and > possibly dp3). > > I'm a little frantic. > > -- > Jacqueline Landman Gay | jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: sqLite delete memory database
I think SOLite intentionally fills the memory with garbage as part of its secure deletion when the database is closed. JB > On May 1, 2020, at 12:39 PM, Phil Davis via use-livecode > wrote: > > Is there an LC function that clears trash from memory? Does "hasMemory"? If > not, it seems like that would be a nice feature. > > Phil Davis > > > On 5/1/20 12:25 PM, Tom Glod via use-livecode wrote: >> hmmmyou can try set the pragma to zero out flag (i am pretty sure there >> is one) .. and drop all tables on close? >> >> its strange that it does not 'delete' from memory. Are we sure on >> this?. is this dependent on the garbage collector in LC? >> >> >> >> >> >> On Fri, May 1, 2020 at 7:14 AM JB via use-livecode < >> use-livecode@lists.runrev.com> wrote: >> >>> I have been testing SQLite 3 using the command line interface and it >>> looks to me like SQLite is designed to securely delete the memory of >>> the database automatically after it closes the database. >>> >>> I could be wrong but if you can’t read the memory it is probably already >>> securely deleted when the database was closed. >>> >>> JB >>> >>> On Apr 30, 2020, at 6:43 PM, Bob Sneidar via use-livecode < >>> use-livecode@lists.runrev.com> wrote: I can create memory databases, but how do I delete it once created? >>> revdb_disconnect still leaves it in memory. revCloseDatabase is just a >>> synonym of revdb_disconnect. Bob S ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> ___ >>> use-livecode mailing list >>> use-livecode@lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> > > -- > Phil Davis > 503-307-4363 > > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Script Only Behaviors
Hi all. I’m gonna say that script only stacks cannot have behaviors eh? Reason is, I’d like to move my nested data grid behavior to a script only stack, but it occurs to me this might break the datagrid, since it’s next level behavior is the old data grid behavior button (not sure why that’s still there) then the actual script only datagrid library. Bob S ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Is it possible to get the clicked cell for a table field, if the table is empty?
Folks: I have an app that requires that I be able to get the cell row and column when I click on the cell. I know a dataGrid can do this, but is it possible with a table field? I know I can get the clicked line, but what about the cell, when the table is empty. I use, to get the line (from the lessons), but it only returns the line number: on mouseUp put the clickline into msg put return & value (the clickline) after msg set the itemdelimiter to tab put return & item 1 of value (the clickline) && item 2 of value (the clickline) after msg end mouseUp Tnx for any suggestions. Bill William A. Prothero https://earthlearningsolutions.org > On May 1, 2020, at 5:49 PM, Bob Sneidar via use-livecode > wrote: > > Hi all. > > I’m gonna say that script only stacks cannot have behaviors eh? Reason is, > I’d like to move my nested data grid behavior to a script only stack, but it > occurs to me this might break the datagrid, since it’s next level behavior is > the old data grid behavior button (not sure why that’s still there) then the > actual script only datagrid library. > > Bob S > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: FormattedHeight
Yes, that seems to be the problem. I have a long text field that exceeds the maximum. There's an enclosing group to be compatible with acceleratedRendering on mobile. The same setup is used for all the field/group combinations in the stack and they all work except this one, but the others are all shorter. I set the inner field to its full formattedHeight inside the group, which is shorter. The group has a behavior that scrolls the content. I discovered today that if I set the behavior on the field instead of its enclosing group, I can make it scroll. But acceleratedRendering on a field is jerky and doesn't work very well on mobile. I can't break up the text, it has to be all one block. I have tried setting the group to container layermode without success. If you're wondering why the text exceeds the maximum, this is for a mobile app and there is not only a lot of heavy formatting with large headings and spaceBelow, but the text size is largish so that it is readable on a tiny phone. That makes the pixel count pretty high. I only have a very short time left to solve this. On 5/1/20 4:45 PM, scott--- via use-livecode wrote: Are you exceeding the maximum vertical scroll? (I haven’t run into this recently but I believe at one point the vScroll of groups was limited at the engine level to 32780) Scott Morrow Elementary Software (Now with 20% less chalk dust!) web https://elementarysoftware.com/ email sc...@elementarysoftware.com booth1-800-615-0867 -- On May 1, 2020, at 1:17 PM, J. Landman Gay via use-livecode wrote: Is the formattedHeight of a group broken for anyone else? LC 9.6dp4 (and possibly dp3). I'm a little frantic. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode