Re: New necko cache?

2014-02-21 Thread Ms2ger
On 02/21/2014 12:01 AM, Honza Bambas wrote: On 2/20/2014 10:25 PM, Neil wrote: Well, that was confusing. The old contract ID was @mozilla.org/network/cache-service;1 The new contract ID is @mozilla.org/netwerk/cache-storage-service;1 Turns out that there are two differences, not one. Yes,

Re: How to force winxp compatibility building with vc11

2014-02-21 Thread Neil
JoeS wrote: I tried hacking the following into the tail end of msvc11.bat file in mozilla-build: Try setting MOZ_MAXWINSDK=70100 Alternatively, try installing the SDK 7.1 compilers and use the msvc10.bat file. (You can still use the VS debugger.) -- Warning: May contain traces of nuts.

Re: [Proposal] Move global namespace classes under dom/events to mozilla or mozilla::dom

2014-02-21 Thread Masayuki Nakano
Hi, On 2014/02/12 23:22, Boris Zbarsky wrote: On 2/12/14 4:46 AM, Masayuki Nakano wrote: I'm not sure which is the best name for the classes. E.g., DOMWheelEvent vs. PointerEvent. I believe in this case PointerEvent is correct, because

VK_ENTER has gone

2014-02-21 Thread Masayuki Nakano
Hi, there were similar two keyCode constants, one was VK_RETURN (DOM_VK_RETURN/NS_VK_RETURN), the other was VK_ENTER (DOM_VK_ENTER/NS_VK_ENTER). These were making a lot of developers confused and event handlers duplicated. Now, VK_ENTER has gone. See bug 969247 for the detail.

Re: [Proposal] Move global namespace classes under dom/events to mozilla or mozilla::dom

2014-02-21 Thread Neil
Masayuki Nakano wrote: nsDOMEvent will be just Event. Well, only if you're using the mozilla::dom namespace. And also the header file name will be Event.h. Won't it be mozilla/dom/Event.h ? -- Warning: May contain traces of nuts. ___

Re: [Proposal] Move global namespace classes under dom/events to mozilla or mozilla::dom

2014-02-21 Thread Masayuki Nakano
On 2014/02/21 20:21, Neil wrote: And also the header file name will be Event.h. Won't it be mozilla/dom/Event.h ? Oh, good point. http://mxr.mozilla.org/mozilla-central/source/dom/events/moz.build#38 38 EXPORTS.mozilla.dom += [ 39 'EventTarget.h', 40 'PointerEvent.h', 41

Re: [Proposal] Move global namespace classes under dom/events to mozilla or mozilla::dom

2014-02-21 Thread Boris Zbarsky
On 2/21/14 6:07 AM, Masayuki Nakano wrote: nsDOMEvent will be just Event. Just like Element is just Element as long as you're in DOM code, yes. This is a good thing, imo. Of course in code not in the mozilla::dom namespace, you get mozilla::dom::Event or dom::Event, which seems fine to me.

Re: We live in a memory-constrained world

2014-02-21 Thread Jason Duell
On 02/21/2014 01:38 PM, Nicholas Nethercote wrote: Greetings, We now live in a memory-constrained world. By we, I mean anyone working on Mozilla platform code. When desktop Firefox was our only product, this wasn't especially true -- bad leaks and the like were a problem, sure, but ordinary