Re: multiline pref value strings in user.js

2013-04-27 Thread Matt Brubeck
On 4/27/2013 3:26 PM, al...@yahoo.com wrote: ... appear to be possible without the \ escape. In fact the \ can not be present as it does not escape the newline but becomes a part of the string. So it does not seem to follow js rules, so what is this format? The format doesn't have a name tha

multiline pref value strings in user.js

2013-04-27 Thread al_9x
... appear to be possible without the \ escape. In fact the \ can not be present as it does not escape the newline but becomes a part of the string. So it does not seem to follow js rules, so what is this format? ___ dev-platform mailing list dev-p

Re: Storage in Gecko

2013-04-27 Thread Mounir Lamouri
On 26/04/13 20:42, bent wrote: > IndexedDB is our answer for this for JS... C++ folks are still pretty > much on their own! Why? Wouldn't be the idea of such component to make sure it is usable from C++? -- Mounir ___ dev-platform mailing list dev-platf

Re: Storage in Gecko

2013-04-27 Thread Jonathan Protzenko
Hi, I once met a similar need: a simple key/storage API for my addon. I ended up writing a "SimpleStorage" module that uses an underlying SQLite database. I'm pretty sure I fell into most of the pitfalls of using SQLite without being a guru, but here's the link for posterity: - sample usage

Re: Proposal for an inbound2 branch

2013-04-27 Thread Justin Lebar
> 3/ Being a git guy, I prefer having a try-like server where you don't get > push contention or closed tree, because we are creating a new head > every-time, and let the sheriffs cherry-pick the good changes which are not > source of conflicts. And ask developers to rebase their changes otherwise

Re: Storage in Gecko

2013-04-27 Thread Philip Chee
On 27/04/2013 02:17, Gregory Szorc wrote: > I'd like to start a discussion about the state of storage in Gecko. > > Currently when you are writing a feature that needs to store data, you > have roughly 3 choices: > > 1) Preferences > 2) SQLite > 3) Manual file I/O > I think there is an oppor