Re: LinuxGL widget backend for Mozilla

2012-08-22 Thread Ted Mielczarek
On Fri, Aug 17, 2012 at 1:48 PM, romaxa rom...@gmail.com wrote: Hi, Recently I have been working on B2G port to mobile Linux which would be widget toolkit-independent (qt/gtk/cocoa/etc). Some time ago Chris Lord did work on a widget toolkit independent backend that had a similar focus[1].

Re: Proposal: Remove Linux PGO Testing

2012-10-10 Thread Ted Mielczarek
On Wed, Oct 10, 2012 at 5:57 PM, Justin Lebar justin.le...@gmail.com wrote: By turning off Linux PGO testing, you really mean stop making and distributing Linux PGO builds, right? The main reason I'd want Linux PGO is for mobile. On desktop Linux, most users (I expect) don't run our builds,

Re: Imported code

2012-10-11 Thread Ted Mielczarek
On Thu, Oct 11, 2012 at 4:20 PM, Ehsan Akhgari ehsan.akhg...@gmail.com wrote: What I really don't want us to do is to prohibit people from fixing things in the imported code. That is the absolute worst situation we can face with a given piece of code, as we already have learned painfully.

Re: Call for help landing b2g patches on aurora

2012-10-15 Thread Ted Mielczarek
On Sat, Oct 13, 2012 at 10:18 AM, Justin Lebar justin.le...@gmail.com wrote: Landing on Aurora should be a simple matter of $ hg transplant -se /path/to/your/m-i/repo rev-to-land # edit the commit message to include a=whoever $ hg push Just wanted to point out that I have a little

Re: nsresult is now a strongly typed enum

2012-10-15 Thread Ted Mielczarek
On Mon, Oct 15, 2012 at 8:11 AM, Aryeh Gregor a...@aryeh.name wrote: On Mon, Oct 15, 2012 at 2:09 PM, Ted Mielczarek t...@mielczarek.org wrote: On Sat, Oct 13, 2012 at 12:48 PM, Ehsan Akhgari ehsan.akhg...@gmail.com wrote: This is currently enabled on all compilers which support strongly

Re: Benefits of PGO on Windows

2012-10-18 Thread Ted Mielczarek
On 10/17/2012 9:55 PM, Dave Mandelin wrote: Following the recent discussion about PGO, I really wanted to understand what benefits PGO gives Firefox on Windows, if any--I was skeptical. Rafael (IIRC) posted some Talos numbers, but I didn't know how to interpret them. So I decided to try a few

Re: Easiest way to start using httpd.js?

2012-10-21 Thread Ted Mielczarek
On 10/20/2012 8:29 PM, Jim Porter wrote: On 10/17/2012 06:27 PM, Gregory Szorc wrote: Let me know if you have any questions. I have a followup question: is there an easy way to use https with httpd.js? ActiveSync Autodiscovery requires https. (I don't absolutely need to test Autodiscovery

Re: PGO: another test + PGO topcrashes

2012-11-02 Thread Ted Mielczarek
On 11/1/2012 9:19 PM, Dave Mandelin wrote: (a) How about building Windows with a newer version of MSVC, say 2012? (What version are we using now, anyway? The build instructions page says 2010 is official, but a tbpl log showed Visual Studio 9.0 on the path.) Maybe they have fixed bugs in

Re: XULRunner on OS X, Why is not supported?

2012-11-08 Thread Ted Mielczarek
On 11/8/2012 2:06 PM, richardson.balca...@gmail.com wrote: I believe my question is, if Mozilla is taking out their app development platform not 'XUL' per se. How would they promote openness, innovation and opportunity on the web, only by giving us the opportunity of doing so in extensions

Re: Proposal: move content JS interpretation to a background thread

2012-11-09 Thread Ted Mielczarek
On 11/9/2012 8:26 AM, Robert Kaiser wrote: AFAIK, the major reason why we did abandon doing that was because moving all our interaction with the content to be async was too much work for the moment. Isn't that same work required for what you propose?\ No. AIUI, the reason we abandoned

Re: passing command line and filenames as parameters to nsiProcess

2012-12-22 Thread Ted Mielczarek
On 12/22/2012 1:02 PM, rvj wrote: its a while since I used the ns interfaces. I want to run gambit-enumpure e02.nfg numerate.txt how do I pass as arguments in nsiProcess? I asssume the file names must be prefixed with c:\\ is this correct?

Re: IID Change Hook

2013-01-22 Thread Ted Mielczarek
On 1/22/2013 5:51 PM, Scott Johnson wrote: Hello Dev-Platform: tl;dr: As discussed in the platform meeting today, we're looking at adding a checking script to verify that IIDs are changed along with interfaces from now on. The relevant bug is

Re: Bringing Marionette and Mochitest closer

2013-01-30 Thread Ted Mielczarek
On 1/30/2013 5:56 AM, Neil wrote: Jonas Sicking wrote: The fact that we are using gecko as the http server means a whole lot of complications on mobile. In short, we currently need gecko both compiled for android, which is the version of gecko being tested, and compiled for a desktop

Re: The future of PGO on Windows

2013-01-31 Thread Ted Mielczarek
On 1/31/2013 6:39 AM, jmath...@mozilla.com wrote: We then tried to get a sense of how much of a win the PGO optimizations are. Thanks to a series of measurements by dmandelin, we know that disabling PGO/LTCG will result in a regression of about 10-20% on benchmarks which examine DOM and

Re: The future of PGO on Windows

2013-01-31 Thread Ted Mielczarek
On 1/31/2013 8:22 AM, papal...@gmail.com wrote: How separate the analysis phase from the optimization based on the collected data? How are the results of the PGO runs stored? Can the optimization part be run independently? If yes would it be possible to collect the data through other means,

Re: The future of PGO on Windows

2013-02-01 Thread Ted Mielczarek
On 2/1/13 10:52 AM, Jean-Marc Desperrier wrote: Ehsan Akhgari a écrit : I don't have a lot of experience with mingw32, but to the best of my knowledge, it's based on older versions of gcc (4.6?), and lacks 64-bit support Ehsan, did you forget that there would be no memory problem with

obsoleting automation.py in the near future

2013-02-20 Thread Ted Mielczarek
This came up in the platform meeting yesterday, and apparently there were some concerns, so I'd like to talk a little more about what we're doing and answer any questions that people have. The A-Team is undertaking a project to move our test harnesses away from using automation.py[1]. The primary

Re: Annotating Commits

2013-04-11 Thread Ted Mielczarek
On 4/11/2013 1:13 PM, Mike Hommey wrote: That still leave the clutter forever in the mercurial log. I wonder if it would be possible to push special branches or bookmarks for DONTBUILD and CLOSED TREE, with a server side hook to handle things nicely. Mercurial has this thing called push keys

Re: Proposal for an inbound2 branch

2013-04-30 Thread Ted Mielczarek
On 4/30/2013 2:46 AM, Gregory Szorc wrote: As a counter-proposal, I propose that we start shifting landings to project branches/twigs. We should aim for a small and well-defined set of repositories (say 3 to 5) sharing similar automation configuration and sheriff love. By keeping the number

Re: Code coverage take 2, and other code hygiene tools

2013-07-01 Thread Ted Mielczarek
On 6/24/2013 11:02 PM, Justin Lebar wrote: Under what circumstances would you expect the code coverage build to break but all our other builds to remain green? Most of the issues I saw with our old code coverage setup were directly related to them not matching our normal production builds. We

Re: review stop-energy (was 24hour review)

2013-07-11 Thread Ted Mielczarek
On 7/11/2013 9:23 AM, Justin Lebar wrote: One thing I've been thinking about is /why/ people are slow at reviews. Someone who usually has a long review queue has told me that he hates reviewing code. I realized that we don't really have a place at Mozilla for experienced hackers who don't

Re: Shutting off leak tests?

2013-07-17 Thread Ted Mielczarek
On 7/17/2013 2:05 AM, Jesse Ruderman wrote: AWSY is not a replacement for shutdown-leak testing. It's limited to code exercised by TP5. Small leaks are masked by normal variation in memory use. Note, though, that we still run almost all of our test suites on debug builds with leak checking

Re: Talos - Replacing tscroll,tsvg with tscrollx,tsvgx

2013-07-29 Thread Ted Mielczarek
On 7/23/2013 6:22 PM, Avi Halachmi wrote: TL;DR: Talos tsvg,tscroll are affected by timing much more than by rendering performance because they don't stress Firefox. tsvgx,tscrollx stress firefox: their results are different, better, noisier than the old tests. Will soon replace the old

Re: Do you consider to port mp3 support on Windows XP

2013-08-12 Thread Ted Mielczarek
On 8/12/2013 8:35 AM, lchenneb...@gmail.com wrote: Ok, do you consider to finish it before October? Is firefox will support Mp4 too? You can track his progress in the bug: https://bugzilla.mozilla.org/show_bug.cgi?id=861693 It looks like those patches are MP3 support only, not h.264. -Ted

Re: On builds getting slower

2013-08-28 Thread Ted Mielczarek
On 8/28/2013 3:16 AM, Mark Hammond wrote: On 28/08/2013 3:30 AM, Gregory Szorc wrote: ... Does anyone else see this libraries-always-rebuild behavior? Not me - although I see just a few small ones - relevant parts of the log: 5:20.54 webapprt.obj 5:21.01 webapprt.cpp 5:21.01

Re: No more Makefile.in boilerplate

2013-09-05 Thread Ted Mielczarek
On 9/5/2013 10:25 AM, Mike Hommey wrote: There shouldn't have been. But https://hg.mozilla.org/mozilla-central/file/45097bc3a578/config/config.mk#l681 seems to be always on now? (also 685) Indeed. Although it's also possible to set relativesrcdir to nothing in Makefile.in to get back to

Re: Coding style for functions called by Task.jsm tasks

2013-10-08 Thread Ted Mielczarek
On 10/8/2013 3:14 PM, Dave Townsend wrote: I was asked to clarify what I meant by my two examples so here are some snippets of code that illustrate it. This is forcibly async but you get the point I hope. If you want to add three numbers you can define: function add3(foo, bar, baz) {

Re: Debugging armv6 test failures

2013-10-23 Thread Ted Mielczarek
On 10/23/2013 3:11 AM, Kyle Huey wrote: Is armv6 a tier 1 platform? Who can help with debugging test failures that only happen on armv6? Yes, AIUI. Note that we're not running armv6 tests on armv6 hardware, so you should be able to reproduce test failures by running the armv6 builds on

Re: Mozilla development bootcamp

2013-11-04 Thread Ted Mielczarek
On 11/3/2013 8:48 PM, Sankha Narayan Guria wrote: One thing that I have noticed after talking to many new contributors is that, people are often overwhelmed by the large amount of the docs. They look for quick results when they are starting off. The idea of videos is great, but it would also

Re: #define TEST_MODE* for TBPL builds?

2013-11-13 Thread Ted Mielczarek
On 11/13/13 3:34 PM, Mike Habicher wrote: Hello everyone, I'm working on automated tests for Gecko's camera code on B2G, and I want to replace different pieces of the implementation with fake objects that return one or more injected error codes so that I can exercise all of the

Re: Proposed changes to RelEng's OSX build and test infrastructure

2013-11-22 Thread Ted Mielczarek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I think this plan is generally sound. Users are moving en-masse to 10.9 with the free update, so we should focus our resources there, and keep 10.6 around to support those users that can't update for hardware reasons. I just have one point of

Re: Support for non-UTF-8 platform charset

2013-11-26 Thread Ted Mielczarek
On 11/26/2013 6:37 AM, Henri Sivonen wrote: On Mon, Nov 25, 2013 at 6:03 PM, Yuri Dario mc6...@mclink.it wrote: the OS/2 port is alive, we already have a beta release for 17.x and a more current version will follow. Does this work all happen in forked repositories, such as

Re: Deciding whether to change the number of unified sources

2013-12-03 Thread Ted Mielczarek
On 12/2/2013 11:39 PM, Mike Hommey wrote: Current setup (16): real11m7.986s user63m48.075s sys 3m24.677s Size of the objdir: 3.4GiB Size of libxul.so: 455MB Just out of curiosity, did you try with greater than 16? -Ted ___

Intent to ship: Gamepad API

2013-12-06 Thread Ted Mielczarek
As of Firefox 28 I intend to turn the Gamepad API on by default (on desktop Firefox). It has been developed behind the dom.gamepad.enabled preference, and shipped preffed-off in Firefox 24. Google has shipped a prefixed but mostly-compatible implementation in Chrome for multiple releases now.

Re: Intent to ship: Gamepad API

2013-12-06 Thread Ted Mielczarek
On 12/6/2013 11:33 AM, Ehsan Akhgari wrote: Thanks for posting this, Ted! What is the dom.gamepad.non_standard_events.enabled controlling, and why do we have a different value of this pref in our release and non-release builds? That pref controls whether we send gamepadbutton{up,down} and

Re: Valgrind-on-TBPL

2013-12-12 Thread Ted Mielczarek
On 12/12/2013 3:43 AM, Nicholas Nethercote wrote: I tracked this down to one of the Quitter files being a symlink with a relative path, and that path was going awry when the file was copied elsewhere within the chroot that the tests run in on the build slaves(!) And by the time I worked this

CPP_UNIT_TESTS being removed from make check

2014-01-08 Thread Ted Mielczarek
Hello, Just a heads up that very soon we'll be removing CPP_UNIT_TESTS from the make check target[1]. The tests have been split out into a separate test job on TBPL[2] (labelled Cpp) for almost a month now without issue, and we've also added a mach command--mach cppunittests[3]--to facilitate

Re: Decommissioning dumbmake

2014-01-16 Thread Ted Mielczarek
On 1/16/2014 11:26 AM, Till Schneidereit wrote: I'd be extremely unhappy if this disappeared without any replacement. Changing a cpp file under js/src and running `mach` takes about 2 minutes for me, whereas running `mach js/src` takes about 18 seconds. As one of the people behind the

Re: Removing support for OS/2

2014-02-10 Thread Ted Mielczarek
On 2/8/2014 1:57 AM, Gregory Szorc wrote: Bug 969757 currently has a patch to remove most remnants of OS/2 from the *entire* tree. If you have any interest in preserving references to OS/2 in the tree, now would be the time to speak up. To be blunt: this ship has sailed. I don't think we will

Re: support for Visual Studio 2010

2014-02-26 Thread Ted Mielczarek
On 2/26/2014 2:15 AM, Cameron McCormack wrote: When do we plan to drop support for Visual Studio 2010? I remember at one point that it was not possible to generate builds that ran on Windows XP with VS2010, but Update 1 (released in November) added support for that. There are no immediate

Re: Tabs and spaces

2014-03-02 Thread Ted Mielczarek
On 3/2/2014 5:25 AM, Neil wrote: I've noticed seven moz.build files containing tabs, I assume this is undesirable? Yes. We should probably make the moz.build reader error on tabs. -Ted ___ dev-platform mailing list dev-platform@lists.mozilla.org

Re: Blink removing the concept of user styles?

2014-03-02 Thread Ted Mielczarek
On 3/2/2014 4:02 PM, Tim wrote: That would be a great reason to move to Chrome. NO THANK YOU To point out the obvious, your reply is in response to Asa pointing out that Blink is removing this feature, which means it will no longer exist in Chrome, therefore your statement makes no sense.

Re: Policy for disabling tests which run on TBPL

2014-04-07 Thread Ted Mielczarek
On 4/7/2014 9:02 AM, Aryeh Gregor wrote: On Mon, Apr 7, 2014 at 3:20 PM, Andrew Halberstadt ahalberst...@mozilla.com wrote: I would guess the former is true in most cases. But at least there we have a *chance* at tracking down and fixing the failure, even if it takes awhile before it becomes

Linux testing on single-core VMs nowadays

2014-04-07 Thread Ted Mielczarek
I wanted to post about this because I don't think it's common knowledge (I only just came to the realization today) and it has potential impact on the effectiveness of our unit tests. Currently we run our Linux unit tests exclusively on Amazon EC2 m1.medium[1] instances which have only one CPU

Re: Using rr to track down intermittent test failures

2014-04-15 Thread Ted Mielczarek
On 4/15/2014 7:05 PM, Robert O'Callahan wrote: The steps to get started doing this are roughly as follows: 1) Install rr on a Westmere-or-later Linux system (or VM with performance counters virtualized), build 32-bit Firefox (opt or debug) and verify that recording Firefox works for you. If

Re: How to change mozilla in-tree WebRTC CXX and CXXFLAGS?

2014-04-29 Thread Ted Mielczarek
On 4/29/2014 9:34 AM, xunxun wrote: Hi, I noticed that WebRTC's mozmake.py ( media/webrtc/trunk/tools/gyp/pylib/gyp/generator/mozmake.py ) has been removed since 29.0 In the past, I usually modify the mozmake.py like this for something to do:

Re: Standardized assertion methods

2014-06-04 Thread Ted Mielczarek
On 6/4/2014 1:20 PM, Ehsan Akhgari wrote: The other thing that you need to note is that there is years of experience behind each one of our test frameworks, and there are probably several hundred thousand lines of code written against any of them. And there are many many people who have been

Re: Google announces Chrome builds for Win64

2014-06-05 Thread Ted Mielczarek
On 6/5/2014 12:31 PM, jmor...@mozilla.com wrote: These are two good questions Robert. Both points are nuanced and merit more discussion. 1. Re: 64 bit as a bandaid for OOM. This is an alternate viewpoint that a few folks advanced for discussion. I assumed this meant (at the least) PCs with

Re: fopen, gtest and try

2014-07-10 Thread Ted Mielczarek
On Thu, Jul 10, 2014, at 12:17 AM, Anthony Jones wrote: I've recently been using gtest for media code. However I've come across the issue of fopen() working locally but not on the try servers. https://tbpl.mozilla.org/?tree=Tryrev=11d9f94c54bd Any suggestions on how I should do this

Re: Switching Jetpack to use the runtests.py automation

2014-07-15 Thread Ted Mielczarek
On 7/15/2014 2:49 PM, Dave Townsend wrote: Since forever Jetpack tests in the Firefox trees have been run using our custom python CFX tool which is based on a fork of an ancient version of mozrunner. This causes us a number of problems. Keeping up with tree visibility rules is hard. Some

Re: What's does the following message means?

2014-07-25 Thread Ted Mielczarek
On 7/25/2014 6:30 AM, Yonggang Luo wrote: While creating services from category 'profile-after-change', service for entry 'InterAppCommService', contract ID '@mozilla.org/inter-app-communication-service;1' does not implement nsIObserver. You have an entry for the category manager

Re: External dependent tests in gecko and gaia

2014-08-13 Thread Ted Mielczarek
On 8/13/2014 12:21 PM, Edwin Wong wrote: Hi dev-platform, TL;DR - Cloud Services and Quality Engineering would like to propose the creation of a directory named “external in gecko and gaia repos for externally dependent tests. This enables features married to Cloud Services such as

Re: Running mochitests from a copy of the objdir?

2014-08-20 Thread Ted Mielczarek
On 8/20/2014 4:16 AM, Neil wrote: Neil wrote: Gregory Szorc wrote: Well, mach seems to be working for people doing m-c development. [Still needs a working build environment, while python runtests.py just used to need an objdir.] In fact there was a time where I could cross-compile and

Re: Switching to Visual Studio 2013

2014-08-26 Thread Ted Mielczarek
On 8/26/2014 2:03 AM, Makoto Kato wrote: When do we support old version of Visual Studio after switching to VS2013? Now we still support VS2010 + SDK 7.1 as minimal requirement. Generally we have worked with a few unofficial guidelines for toolchain support: 1) If an older version of a

Re: Switching to Visual Studio 2013

2014-08-26 Thread Ted Mielczarek
On 8/26/2014 11:03 AM, Ehsan Akhgari wrote: I would like us to update the minimum supported MSVC version to 2012 as soon as possible. That will give us access to the following C++ features which are all supported on gcc 4.4 (aka our Vintage Compiler) and MSVC starting from 2012: * Variadic

Re: Switching to Visual Studio 2013

2014-08-27 Thread Ted Mielczarek
On 8/27/2014 10:22 AM, Gian-Carlo Pascutto wrote: On 26/08/2014 13:06, Mike Hommey wrote: Relatedly, we need to ensure it's still possible to build Firefox with the express version of MSVC (the free of charge one) corresponding to the minimum MSVC version we support. It seems to work fine

Re: gtests that start XPCOM

2014-10-22 Thread Ted Mielczarek
On 10/22/2014 9:29 AM, Benjamin Smedberg wrote: Is there a mechanism for running single gtests that start XPCOM? Not that I know of currently. The gtest runner explicitly starts XPCOM before running tests[1]. With the current gtest mechanism, normal gtests can't start XPCOM (NS_InitXPCOM,

Re: Policy of EXPORTS?

2014-11-24 Thread Ted Mielczarek
On 11/24/2014 6:16 AM, Kan-Ru Chen (陳侃如) wrote: Hi, Do we have policy about what headers should/could be in EXPORTS? I found that some exported headers include other headers that aren't exported so the header using site has to use LOCAL_INCLUDES which IMO defeats the purpose of EXPORTS. So

Re: PSA: Constructors callable with one argument should be marked as explicit/implicit

2014-12-17 Thread Ted Mielczarek
On 12/17/2014 10:19 AM, Ehsan Akhgari wrote: Apple unfortunately doesn't ship the headers and libraries required to build against that clang, and if you try to compile the plugin against headers/libraries obtained from elsewhere there is a good chance that the plugin won't work, so your best

Re: Extracting session cookies from Firefox

2015-01-20 Thread Ted Mielczarek
On Tue, Jan 20, 2015, at 07:22 AM, Florian Weimer wrote: I would like to extract session cookies from a running Firefox instance. Is there are a supported mechanism to do this? I don't know the definitive answer, but I strongly suspect the answer is no. We don't really have any supported APIs

Re: Testing for expected crashes in both C++ and js, for printf checking

2015-02-17 Thread Ted Mielczarek
On Tue, Feb 17, 2015, at 10:27 AM, Axel Hecht wrote: Hi, I'd like to write tests to validate my assumptions around what's an error and what's a warning for localized values going into nsTextFormatter::smprintf. Basically, the tests would start with a reference string, and then a more

Re: Testing for expected crashes in both C++ and js, for printf checking

2015-02-20 Thread Ted Mielczarek
On Thu, Feb 19, 2015, at 06:32 AM, a...@mozilla.com wrote: On Tuesday, February 17, 2015 at 6:33:42 PM UTC+1, Ted Mielczarek wrote: On Tue, Feb 17, 2015, at 10:27 AM, Axel Hecht wrote: Hi, I'd like to write tests to validate my assumptions around what's an error and what's

Re: Dropping support for MSVC2012

2015-01-05 Thread Ted Mielczarek
On Fri, Jan 2, 2015, at 05:06 PM, Ehsan Akhgari wrote: FWIW to the best of my knowledge, we have kept the last two MSVC releases supported for quite a long time, but I don't know if there has ever been a good reason for that (besides people having them installed locally.) I would very much

Re: User Repositories on hg.mozilla.org are Now Non-Publishing (Action May Be Required)

2015-02-14 Thread Ted Mielczarek
On Fri, Feb 13, 2015, at 11:43 AM, Nathan Froyd wrote: On Fri, Feb 13, 2015 at 1:40 AM, Gregory Szorc g...@mozilla.com wrote: Truth be told, unless you are collaborating with other people using evolution, the benefit of enabling obsolescence on user repos is probably marginal. The

Re: Using rr with test infrastructure

2015-03-13 Thread Ted Mielczarek
On Thu, Mar 12, 2015, at 08:50 PM, Robert O'Callahan wrote: On Fri, Mar 13, 2015 at 12:34 PM, Seth Fowler s...@mozilla.com wrote: To work around these issues, I would like to have a dedicated machine that continuously downloads builds and runs tests under rr. Ideally it would reenable tests

Re: What are your pain points when running unittests?

2015-03-13 Thread Ted Mielczarek
On Thu, Mar 12, 2015, at 07:48 PM, Boris Zbarsky wrote: On 3/12/15 6:51 PM, Jonathan Griffin wrote: What other use cases would you like us to address, which aren't derivatives of the above issues? I ran into a problem just yesterday: I wanted to run mochitest-browser locally, to debug an

Re: Using rr with test infrastructure

2015-03-25 Thread Ted Mielczarek
On Thu, Mar 12, 2015, at 08:50 PM, Robert O'Callahan wrote: To work around these issues, I would like to have a dedicated machine that continuously downloads builds and runs tests under rr. Ideally it would reenable tests that have been disabled-for-orange. When it finds failures, we would

Re: Is there an e10s plan for multiple content processes?

2015-05-05 Thread Ted Mielczarek
On Tue, May 5, 2015, at 02:53 AM, Leman Bennett (Omega X) wrote: On 5/5/2015 12:23 AM, Robert O'Callahan wrote: On Tue, May 5, 2015 at 10:29 AM, Leman Bennett (Omega X) Redacted.For.Spam@request.contact wrote: Inquiring minds would like to know. At the moment, e10s tabs is still

Re: The e10s throbber

2015-04-07 Thread Ted Mielczarek
On Tue, Apr 7, 2015, at 11:05 AM, Bill McCloskey wrote: On Tue, Apr 7, 2015 at 5:48 AM, Benjamin Smedberg benja...@smedbergs.us wrote: With desktop e10s on there can be a noticeable delay after switching tabs where there is a throbber displayed before the page content. When the user

Re: Intent to implement and ship: document.execCommand(cut/copy)

2015-05-26 Thread Ted Mielczarek
On Mon, May 25, 2015, at 11:04 AM, Ehsan Akhgari wrote: On 2015-05-23 5:02 AM, Jesper Kristensen wrote: Very nice, I am looking very much forward to using this. It would be nice of you could also support paste. I agree that it is more sensitive, so maybe you could go with a user prompt

Re: Replacing PR_LOG levels

2015-05-22 Thread Ted Mielczarek
On Thu, May 21, 2015, at 10:06 PM, Eric Rahm wrote: enum class LogLevel { Disabled = 0, // Logging is disabled for this module Error, Warning, Info, Debug, }; Just for comparison with other popular logging libraries:

Re: MozPromises are now in XPCOM

2015-08-19 Thread Ted Mielczarek
On Tue, Aug 18, 2015, at 11:17 PM, Bobby Holley wrote: I gave a lightning talk at Whistler about MozPromise and a few other new tools to facilitate asynchronous and parallel programming in Gecko. There was significant interest, and so I spent some time over the past few weeks untangling them

Can we make a plan to retire Universal Mac builds?

2015-08-05 Thread Ted Mielczarek
Our Universal Mac builds are a frequent headache for build system work, being a special snowflake in many ways. They also use twice as much machine time as other builds, since they do a separate build for each architecture. I think it's time to make a plan to retire them and ship

Re: I need to give my 2–coins–worth on this topic, please. (Re: Can we make a plan to retire Universal Mac builds?)

2015-08-12 Thread Ted Mielczarek
On Wed, Aug 12, 2015, at 03:56 AM, SciFi wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hello, I need to give my 2–coins–worth on this topic, please. If Mozilla decides to drop the 32–bit Mac users, then also drop the 32–bit Windows users and the 32–bit Linux users

Re: Can we make a plan to retire Universal Mac builds?

2015-08-05 Thread Ted Mielczarek
On Wed, Aug 5, 2015, at 07:28 PM, Martin Thomson wrote: On Wed, Aug 5, 2015 at 3:59 PM, Matthew N. ma...@mozilla.com wrote: If we have data on CPU architecture I don't think the OS version is relevant unless I'm missing something. My understanding is that OS version is all that matters.

Re: Can we make a plan to retire Universal Mac builds?

2015-08-05 Thread Ted Mielczarek
On Wed, Aug 5, 2015, at 05:14 PM, Syd Polk wrote: I don’t think we can do this until we stop supporting Mac OS X 10.6. Last time we calculated percentage of users, this was still over 15%. I don’t think that very many of them would be running 64-bit, either. 10.7 has that problem as well, but

Re: Can we make a plan to retire Universal Mac builds?

2015-08-05 Thread Ted Mielczarek
On Wed, Aug 5, 2015, at 06:59 PM, Matthew N. wrote: Assuming our FHR data is gathering correct data: 1.5% of our OS X users are on x86. (There is no date on the dashboard I'm looking at) If we have data on CPU architecture I don't think the OS version is relevant unless I'm missing

Re: Intent to implement: File system provider API

2015-07-27 Thread Ted Mielczarek
On Fri, Jul 24, 2015, at 12:43 PM, Jonas Sicking wrote: On Fri, Jul 24, 2015 at 3:49 AM, David Rajchenbach-Teller dtel...@mozilla.com wrote: On 24/07/15 11:38, Jonas Sicking wrote: I think we should allow addons to implement something like this. But I don't think it's something that we

Re: Intent to implement: File system provider API

2015-07-27 Thread Ted Mielczarek
On Fri, Jul 24, 2015, at 04:13 AM, Kershaw Chang wrote: Link to standard: No formal specifications found on w3c. This API is only supported by Chrome OS now. What's the motivation here? Do we expect this to get used by apps if it's Chrome OS only right now? I've been looking into this problem

Re: Merging comm-central into mozilla-central

2015-10-23 Thread Ted Mielczarek
On Fri, Oct 23, 2015, at 02:17 PM, Joshua Cranmer  wrote: > Except that to demand contributors don't care about comm-central would > be to demand of your employees that they should be jerks to the wider > open-source community. Merging comm-central into mozilla-central, with > the exception of

Re: The opt-in FAIL_ON_WARNINGS has been replaced with the opt-out ALLOW_COMPILER_WARNINGS

2015-08-31 Thread Ted Mielczarek
On Mon, Aug 31, 2015, at 01:47 PM, Chris Peterson wrote: > Should we hold third-party code to the same warning levels as Mozilla's > home-grown code? When we find warnings in third-party code, we typically > just suppress them because they weren't serious issues and fixing them > upstream is

Re: Disabling C++ tests by default?

2015-10-02 Thread Ted Mielczarek
On Fri, Oct 2, 2015, at 04:40 PM, Bobby Holley wrote: > On Fri, Oct 2, 2015 at 1:03 PM, Ehsan Akhgari > wrote: > > > On 2015-10-02 2:42 PM, Jonas Sicking wrote: > > > >> It might still mean that we can save time on tryserver if we only > >> build these by default if the

Re: Using the Taskcluster index to find builds

2015-12-02 Thread Ted Mielczarek
On Wed, Dec 2, 2015, at 09:52 AM, Benjamin Smedberg wrote: > In order to correlate telemetry data, I need a time series of all > mozilla-central nightly builds (with version and buildid). It's > important that when there are multiple nightlies on a given date, that I > get all of them. You

Re: Proposal to a) rewrite Gecko's encoding converters and b) to do it in Rust

2015-12-04 Thread Ted Mielczarek
On Fri, Dec 4, 2015, at 06:53 AM, Henri Sivonen wrote: > Hi, > > I have written a proposal to a) rewrite Gecko's encoding converters > and b) to do it in Rust: > https://docs.google.com/document/d/13GCbdvKi83a77ZcKOxaEteXp1SOGZ_9Fmztb9iX22v0/edit > > I'd appreciate comments--especially from the

Re: Proposal to a) rewrite Gecko's encoding converters and b) to do it in Rust

2015-12-14 Thread Ted Mielczarek
On Sun, Dec 13, 2015, at 09:27 PM, Nicholas Nethercote wrote: > On Sun, Dec 13, 2015 at 11:28 AM, Bobby Holley > wrote: > >> > >> I've been wondering about this. There's a big difference between (a) > >> permitting Rust components (while still allowing fallback C++ > >>

Re: Status: ASan builds on Windows

2015-12-15 Thread Ted Mielczarek
On Tue, Dec 15, 2015, at 09:36 AM, Nicolas B. Pierron wrote: > The crash reporter is currently disabled on ASan builds, we need to > figure > out why, one hypothesis (I do not recall the author) was that we have > issues > with the SEGV handler. That was my hypothesis. I remember talking to

Re: Does js-ctypes supports for nsISupports objects.

2015-12-23 Thread Ted Mielczarek
No, js-ctypes does not have any support for calling methods on C++ classes. In fact, that functionality was WONTFIXed a while back: https://bugzilla.mozilla.org/show_bug.cgi?id=505907. -Ted ___ dev-platform mailing list dev-platform@lists.mozilla.org

Re: Documentation on how to read crash reports

2016-06-03 Thread Ted Mielczarek
On Thu, May 26, 2016, at 09:52 AM, Benjamin Smedberg wrote: > https://developer.mozilla.org/en-US/docs/Mozilla/Debugging/Debugging_a_minidump I spent some time today cleaning this page up a bit. I streamlined the Windows section (since you no longer need to manually download the matching binaries

Re: Documentation on how to read crash reports

2016-06-03 Thread Ted Mielczarek
On Thu, May 26, 2016, at 02:41 PM, Benoit Girard wrote: > - Crash address can give you a hint as to what's going on: 0x0 -> null > crash, 0x8 -> null offset accessing a member like this->mFoo, N.B.: due to the way addressing works on x86-64, if the crash address is "0x0" for a Linux/OS X crash

Re: All about crashes

2016-06-03 Thread Ted Mielczarek
On Tue, May 24, 2016, at 04:58 PM, Lawrence Mandel wrote: > "Improve ranking of crash clusters." > > I think this is weighting or estimating impact of a crash instead of > volume > of submissions, which is how we have historically processed the clusters. > Severity is one component with startup

Re: All about crashes

2016-06-03 Thread Ted Mielczarek
On Wed, May 25, 2016, at 10:27 PM, Eric Rescorla wrote: > - Making it so that certain kinds of defects still happen but they are > safer. > For instance, in C writing dereferencing past the end of an array is > undefined behavior and may well cause something horrible, in Python > you get an

Re: All about crashes

2016-06-03 Thread Ted Mielczarek
On Wed, May 25, 2016, at 01:47 AM, Eric Rahm wrote: > Details on using rr to debug crashes would certainly be nice. In my experience, if a crash is reproducible it's generally straightforward to fix. rr could be useful if a crash is hard to reproduce or intermittent, but once a developer can

Re: Common crashes due to MOZ_CRASH and MOZ_RELEASE_ASSERT

2016-06-01 Thread Ted Mielczarek
On Tue, May 31, 2016, at 09:26 PM, Jeff Gilbert wrote: > On Tue, May 31, 2016 at 4:39 PM, Nicholas Nethercote > wrote: > > On Wed, Jun 1, 2016 at 1:05 AM, Benjamin Smedberg > > wrote: > >> You shouldn't need to annotate the file/line separately,

Non-tier 1 builders: NSPR usage?

2016-01-15 Thread Ted Mielczarek
Hello, I'm interested in feedback from anyone out there that's doing builds on non-Tier 1 platforms. Specifically, I want to know if you build --with-system-nspr or not. I've got patches[1] to stop using NSPR's autoconf build system in favor of moz.build files, but I've only made them support our

Re: Taking screenshots of single elements (XUL/XULRunner)

2016-01-19 Thread Ted Mielczarek
On Tue, Jan 19, 2016, at 01:39 AM, m.bauermeis...@sto.com wrote: > As part of my work on a prototyping suite I'd like to take screenshots > (preferably retaining the alpha channel) of single UI elements. I'd like > to do so on an onclick event. > > Is there a straightforward way to accomplish

Re: Using rr chaos mode to find intermittent bugs

2016-02-10 Thread Ted Mielczarek
On Wed, Feb 10, 2016, at 03:04 PM, Robert O'Callahan wrote: > Background: > http://robert.ocallahan.org/2016/02/introducing-rr-chaos-mode.html > > I just landed on rr master support for a "-h" option which enables a > chaos > mode for rr recording. This is designed to help reproduce

Re: Use of C++11 std::unique_ptr for the WOFF2 module

2016-02-01 Thread Ted Mielczarek
On Mon, Feb 1, 2016, at 04:29 AM, Frédéric Wang wrote: > Dear all, > > I'm trying to upgrade our local copy of OTS to version 5.0.0 [1]. OTS > relies on the Brotli and WOFF2 libraries, whose source code we currently > include in mozilla-cental. > > I tried updating the source code of WOFF2 to

Re: Setting property on the element is no longer working on Firefox 45

2016-03-10 Thread Ted Mielczarek
On Thu, Mar 10, 2016, at 01:23 PM, Devan Shah wrote: > hello > > When I set a custom property such as element.listofSomething = [] and > then build the list and add it back to the same element. Then this > element is passed to a function, now in that function I am no longer to > access this

Re: Mapping Rust panics to MOZ_CRASH on non-Rust-created threads

2016-03-22 Thread Ted Mielczarek
On Tue, Mar 22, 2016, at 06:51 PM, Brian Smith wrote: > On Tue, Mar 22, 2016 at 3:03 AM, Henri Sivonen > wrote: > > > It seems that the Rust MP4 parser is run a new Rust-created thread in > > order to catch panics. > > > > Is the Rust MP4 parser using panics for flow

Re: Status Notifications for New Bugs in DOM, DevTools, and Hello

2016-03-04 Thread Ted Mielczarek
On Fri, Mar 4, 2016, at 07:48 AM, Philip Chee wrote: > On 01/03/2016 03:25, Emma Humphries wrote: > > > With the help of dedicated triage teams for each component, starting this > > week when you file a bug against the DOM, Developer Tools, or Hello in > > Bugzilla you’ll receive an email

  1   2   >