Re: PSA: Don't write out multiple Add/RemoveObserver calls manually, iterate over an array instead

2014-02-18 Thread Chris Peterson
On 2/17/14, 11:25 AM, Kyle Huey wrote: If you are observing several topics it's easy to forget to add a Remove call when adding new observer topic. If you instead write an array of topics and iterate over that it's impossible to screw up

Re: Announcing AsyncShutdown

2014-02-18 Thread noitidart
what if someone were to ctrl+alt+delete the process. would the queue of events be queued to run on startup? i have a great need for that On Monday, February 17, 2014 2:48:32 AM UTC-8, David Rajchenbach-Teller wrote: I'm happy to announce that the AsyncShutdown module is now considered stable

Re: Announcing AsyncShutdown

2014-02-18 Thread David Rajchenbach-Teller
No, this module is not designed to transact events, just to ensure that we do not proceed with shutdown before the appropriate time. What is your application need exactly? Cheers, David On 2/18/14 11:13 AM, noitid...@gmail.com wrote: what if someone were to ctrl+alt+delete the process. would

Re: PSA: Don't write out multiple Add/RemoveObserver calls manually, iterate over an array instead

2014-02-18 Thread Ben Kelly
On 2/17/2014 2:25 PM, Kyle Huey wrote: If you are observing several topics it's easy to forget to add a Remove call when adding new observer topic. If you instead write an array of topics and iterate over that it's impossible to screw up (e.g.

Re: Announcing AsyncShutdown

2014-02-18 Thread Noitidart
Much thanks David. Im working on an addon called Floppers. It's for Twitter. It also tells you who has blocked you. So how it does this is it checks the history of users that you have been in contact with but not on your Following or Follewer lists, it checks behind the scense. How it does it is

MemShrink Meeting - Today, 18 February 2014 at 2:00pm PST

2014-02-18 Thread Jet Villegas
The next MemShrink meeting will be brought to you by efficient MP3 memory buffers on Firefox OS: https://bugzilla.mozilla.org/show_bug.cgi?id=960873 The wiki page for this meeting is at: https://wiki.mozilla.org/Performance/MemShrink Agenda: * Prioritize unprioritized MemShrink bugs. *

Visual Studio Project Generation

2014-02-18 Thread Gregory Szorc
The tree (only inbound so far) now has (alpha) support for generating Visual Studio Project files. Features: * IntelliSense works * Build from within Visual Studio * Launch binaries from Visual Studio * Debug symbols loaded automatically (breakpoints work) Please read

MFBT RefCounted and refcount logging

2014-02-18 Thread Kyle Huey
Are there plans to hook MFBT RefCounted/RefPtr/etc up to the refcount logging code in the near future? If not, I want to replace these constructs with our existing infrastructure within Gecko. - Kyle ___ dev-platform mailing list

New necko cache?

2014-02-18 Thread Neil
Where can I find documentation for the new necko cache? So far I've only turned up some draft planning documents. In particular, I understand that there is a preference to toggle the cache. What does application code have to do in order to work with whichever cache has been enabled? --