Re: Build on IllumOS, where can I find the version of external dependencies

2021-02-25 Thread Nick Alexander
gle curated list of dependencies and necessary versions. Nick > ___ > dev-platform mailing list > dev-platform@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-platform > ___ d

Re: sccache issues on Windows MSVC

2020-10-15 Thread Nick Alexander
some more logging and diagnostics to understand the performance you're seeing. (And I can't say anything about PCH support, sorry.) Let's take the follow-up to a Github issue. Thanks! Nick ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: Regarding HttpBaseChannel::Init

2020-08-28 Thread Nick Alexander
newsgroup for me to make this post. > This is more appropriate for dev-platform, so I've CCed it there, and moved dev-builds to the BCC list. In general you may get more help with these types of questions asking in #developers on Matrix: https://chat.mozilla.org/#/room/#developers:mozilla.o

Re: Website memory leaks

2017-11-06 Thread Nick Fitzgerald
On Mon, Nov 6, 2017 at 1:53 AM, David Teller wrote: > I wanted to add something like that to about:performance, but at the > time, my impression was that we did not have sufficient platform data on > where allocations come from to provide something convincing. > ​The SpiderMonkey Debugger API ha

Re: Website memory leaks

2017-11-02 Thread Nick Fitzgerald
We have https://bugzilla.mozilla.org/show_bug.cgi?id=1243091 on file for automatic leak detection in the DevTools' memory panel. I'd have liked to try implementing http://www.cs.utexas.edu/ftp/techreports/tr06-07.pdf because it can see through frameworks/libraries (or claims to in a convincing way

Re: Intent to require `mach try` for submitting to Try

2017-09-15 Thread Nick Fitzgerald
Does `mach try` still require `git cinnabar` when using a `git` checkout of m-c, or does it work with `moz-git-tools` now too? Thanks, Nick On Fri, Sep 15, 2017 at 3:30 PM, Gregory Szorc wrote: > The Try Service ("Try") is a mechanism that allows developers to schedule > tas

Rust bindings to SpiderMonkey on inbound

2017-09-01 Thread Nick Fitzgerald
! Thanks to everyone involved in getting this patch series landed! Nick [0] https://treeherder.mozilla.org/#/jobs?repo=mozilla-inbound&revision=a8ae266cd61eb004d4f74a989e4d9c6d2ceb5b93 ___ dev-platform mailing list dev-platform@lists.mozilla.org h

Re: Intent to ship: SourceMap header

2017-05-17 Thread Nick Fitzgerald
On Wed, May 17, 2017 at 10:51 AM, Tom Tromey wrote: > > "Boris" == Boris Zbarsky writes: > > >> https://github.com/source-map/source-map-rfc > > Boris> Are there any plans to have a standard here? > > All I found was this: > https://groups.google.com/forum/#!topic/mozilla.dev.js- > sourcemap

Re: Intent to ship: SourceMap header

2017-05-17 Thread Nick Fitzgerald
Error().stack is not affected by source maps (nor should it be IMO). This is just devtools facing with nothing that is web observable. On Wed, May 17, 2017 at 9:06 AM, Boris Zbarsky wrote: > On 5/17/17 11:01 AM, Tom Tromey wrote: > >> In this case I think this does not apply, because as far as I

Re: Nightly updates disabled in light of 1364878

2017-05-17 Thread Nick Thomas
Updates have been re-enabled for Nightly. On 17 May 2017 at 07:00, Mihai Tabara wrote: > Updates to nightly are yet again available, pointing to last good > build we know and agreed on channel meeting, which is the Sunday one > (20170514). > Thanks. > > On Mon, May 15, 2017 at 3:02 PM, Mihai

Re: FYI: We've forked the Breakpad client code

2017-02-13 Thread Nick Fitzgerald
I can review the DWARF related bits in a pinch, too. On Thu, Feb 9, 2017 at 2:04 PM, Mike Hommey wrote: > On Thu, Feb 09, 2017 at 12:41:07PM -0800, Jim Blandy wrote: > > Under the circumstances, I'll volunteer to review, if that's feasible. > > I can too. > > > On Thu, Feb 9, 2017 at 12:37 PM, T

Re: Introducing mozilla::Result for better error handling

2016-12-22 Thread Nick Fitzgerald
FWIW, you can also avoid the check-for-error-and-early-return-or-else-unwrap dance that is being "hidden" within MOZ_TRY by using `mozilla::Result::andThen` (and `mozilla::Result::map`) which are on inbound and will be on m-c soon. The patch in https://bugzilla.mozilla.org/show_bug.cgi?id=1324829

Re: Introducing mozilla::Result for better error handling

2016-12-20 Thread Nick Fitzgerald
Thanks for getting this landed! Hooray for better error handling! \o/ On Tue, Dec 20, 2016 at 5:46 AM, Jan de Mooij wrote: > Hi all, > > A few weeks ago we added mozilla::Result to MFBT [0][1]. I was asked > to inform dev-platform about this, so here's a quick overview. > mozilla::Result is base

Re: So, what's the point of Cu.import, these days?

2016-09-28 Thread Nick Fitzgerald
On Wed, Sep 28, 2016 at 1:19 AM, David Teller wrote: > > * CommonJS > ​Just a heads up: the devtools have been using CommonJS modules and lazily requiring modules for a couple years now. If you don't want to jump directly to ES modules, reusing our infrastructure is probably a good idea. We also

Re: PSA: mozilla/unused.h renamed to mozilla/Unused.h

2016-08-27 Thread Nick Fitzgerald
Thanks Kan-Ru! I've personally tried to include the header with the wrong case multiple times, so I appreciate this change a lot. On Fri, Aug 26, 2016 at 7:54 PM, Kan-Ru Chen wrote: > Hello, > > In Bug 1297276 I landed a patch to rename mozilla/unused.h to > mozilla/Unused.h to make it more cons

Re: New [must_use] property in XPIDL

2016-08-22 Thread Nick Fitzgerald
On Mon, Aug 22, 2016 at 4:39 PM, R Kent James wrote: > On 8/21/2016 9:14 PM, Nicholas Nethercote wrote: > > I strongly encourage people to do likewise on > > any IDL files with which they are familiar. Adding appropriate checks > isn't > > always easy > > Exactly, and I hope that you and others r

Re: Intent to implement and ship: Changing the toString result on DOM prototype objects

2016-06-06 Thread Nick Fitzgerald
Ok, I've filed this bug to use @@toStringTag in the debugger instead of Debugger.Object.prototype.class: https://bugzilla.mozilla.org/show_bug.cgi?id=1278310 On Mon, Jun 6, 2016 at 10:35 AM, Boris Zbarsky wrote: > On 6/6/16 12:23 PM, Nick Fitzgerald wrote: > >

Re: Intent to implement and ship: Changing the toString result on DOM prototype objects

2016-06-06 Thread Nick Fitzgerald
> On Fri, Jun 3, 2016 at 8:21 PM, Nick Fitzgerald > wrote: > >> On Fri, Jun 3, 2016 at 8:41 AM, Boris Zbarsky wrote: >> >> > Devtools bug: none so far, but maybe we need one? Does devtools rely on >> > the JSClass name or Object.prototype.toString anywhere

Re: Intent to implement and ship: Changing the toString result on DOM prototype objects

2016-06-03 Thread Nick Fitzgerald
On Fri, Jun 3, 2016 at 8:41 AM, Boris Zbarsky wrote: > Devtools bug: none so far, but maybe we need one? Does devtools rely on > the JSClass name or Object.prototype.toString anywhere? > ​I think we are fine. There are certainly places where we use the `Object.prototype.toString.call(thing) ===

Re: Static analysis for "use-after-move"?

2016-04-27 Thread Nick Fitzgerald
We could create a MoveGuard, similar to ReentrancyGuard, that sets a `moved = true` flag in debug builds and make methods assert against that. (But it isn't nearly as nice as having borrowck...) On Wed, Apr 27, 2016 at 5:53 PM, smaug wrote: > On 04/28/2016 08:00 AM, Gerald Squelart wrote: > > B

Re: PSA: Dump GC's retaining paths for any GC thing while debugging with JS::ubi::dumpPaths

2016-04-25 Thread Nick Fitzgerald
uses this? > > On Mon, Apr 25, 2016 at 10:19 AM, Nick Fitzgerald > wrote: > >> Hi everyone! >> >> Friendly PSA: sometimes you're debugging a "leak" where the GC considers >> something reachable and therefore won't collect it, and this happen

PSA: Dump GC's retaining paths for any GC thing while debugging with JS::ubi::dumpPaths

2016-04-25 Thread Nick Fitzgerald
Hi everyone! Friendly PSA: sometimes you're debugging a "leak" where the GC considers something reachable and therefore won't collect it, and this happens at an inopportune time for using the devtools memory panel (eg right before a DESTROY_RUNTIME collection), so you can't use the nice GUI for vi

Re: Proposal: use nsresult& outparams in constructors to represent failure

2016-04-21 Thread Nick Fitzgerald
On Thu, Apr 21, 2016 at 3:24 AM, Nicholas Nethercote wrote: > On Thu, Apr 21, 2016 at 7:38 PM, Nicolas Silva > wrote: > > Fallible construction (even with a way to report failure) is annoying if > > only because the object's destructor has to account for the possible > > invalid states. I much p

Re: Build System Project - Update from the last 2 weeks

2016-04-08 Thread Nick Fitzgerald
Is there a reason why we aren't using LTO? On Fri, Apr 8, 2016 at 4:35 PM, Ted Mielczarek wrote: > No. GCC *has* an LTO optimizer, but we're not using it. We're just doing > a PGO build. MSVC requires enabling LTO to use their PGO, so the > resulting build has both. > > -Ted > > On Fri, Apr 8, 2

Re: Coding style for C++ enums

2016-04-08 Thread Nick Fitzgerald
On Fri, Apr 8, 2016 at 9:29 AM, Birunthan Mohanathas < birunt...@mohanathas.com> wrote: > On 8 April 2016 at 18:10, Kartikaya Gupta wrote: > > Others? > > enum class OptionD { > SentenceCaseValues, > ThisWontBeConfusedWithOtherThings > // ... because you need to use OptionD::ThisWontBeConfu

Re: #include sorting: case-sensitive or -insensitive?

2016-03-28 Thread Nick Fitzgerald
Any reason not to adopt SpiderMonkey's check_spidermonkey_style.py? It deals almost exclusively with header and include related things, and not indent levels, line lengths, or other things that gecko style disagrees with. https://dxr.mozilla.org/mozilla-central/source/config/check_spidermonkey_sty

RE: Porting Firefox OS 2.5 to my phone with libxul.so error. (dev-platform Digest, Vol 122, Issue 76, Message 5)

2016-03-26 Thread Nick
h problems ? ---The original text of my problem --- Message: 5 Date: Fri, 25 Mar 2016 10:30:54 +0800 (CST) From: Nick To: dev-platform@lists.mozilla.org Subject: Porting Firefox OS 2.5 to my phone with libxul.so error.

Porting Firefox OS 2.5 to my phone with libxul.so error.

2016-03-24 Thread Nick
I want to port Firefox OS 2.5 to my phone which support android system. And I've done the following things: 1. Get the Firefox OS 2.5 code from git and config the nexus-5-l branch. 2. Replace the kernel with the prebuilt one from my android kernel source code. 3. Modify a little in init.rc ( which

Re: rr chaos mode update

2016-02-16 Thread Nick Fitzgerald
It seems like try/tbpl could automatically detect new test files and run them N times. That way, the developer doesn't have to do it manually, so it is less "intimidating" and also less likely to be skipped by accident or forgotten. Running under rr would be nice, but even without rr this seems li

Re: Dominator tree memory analysis now in Nightly

2016-01-19 Thread Nick Fitzgerald
On Sat, Jan 16, 2016 at 5:41 AM, Philip Chee wrote: > This is great! Is there a way of expanding/collapsing the whole tree? > Thunderbird uses "\" (collapse) and "*" (expand). > ​You can use ALT+click on an arrow to expand a​ whole subtree. However, because after a certain depth we start increme

Re: Dominator tree memory analysis now in Nightly

2016-01-14 Thread Nick Fitzgerald
Reply inline below. On Thu, Jan 14, 2016 at 2:49 PM, Jared Wein wrote: > From your screenshot, there are a lot of instances of "objects > Array", > "objects > Object", etc. Is the a way to display the variable name used for > those objects? > ​The node might not be in a JS variable (eg​ is a C+

Dominator tree memory analysis now in Nightly

2016-01-14 Thread Nick Fitzgerald
ools/Browser_Toolbox Please try it out, give me your feedback, and file bugs in the "Firefox" product and "Developer Tools: Memory" component! My thanks to the folks who reviewed patches for this feature: Jordan Santell, Steve Fink, Boris Zbarsky, and Jim Blandy. Cheers, N

Re: New heap snapshots tool in the developer tools

2015-11-04 Thread Nick Fitzgerald
​On Wed, Nov 4, 2015 at 11:07 AM, David Rajchenbach-Teller < dtel...@mozilla.com> wrote: > That sounds very useful. > > Any chance we can get the same kind of output on the console in case of > mochitest memory leak? > ​I've filed ​https://bugzilla.mozilla.org/show_bug.cgi?id=1221704 to track thi

New heap snapshots tool in the developer tools

2015-11-03 Thread Nick Fitzgerald
r toolbox: https://developer.mozilla.org/en-US/docs/Tools/Browser_Toolbox Please try it out and file bugs in the "Firefox" product and "Developer Tools: Memory" component! We want this to be a useful tool for _you_! Thanks, Nick [0] https://groups.google.com/d/msg/moz

Re: Data migration from ftp.mozilla.org to S3, 1pm Pacific Tuesday 20th October

2015-10-21 Thread Nick Thomas
shown in a new tab. This is part of a wider problem with the Content-Type header not being set (bug 1216804). On 21/10/15 1:37 am, Nick Thomas wrote: > Starting today at 1pm a subset of directories will be migrated > from the FTP server to S3 - firefox, mobile, thunderbird, and > calen

Re: Data migration from ftp.mozilla.org to S3, 1pm Pacific Tuesday 20th October

2015-10-21 Thread Nick Thomas
a for a few days, notably in firefox/nightly firefox/tinderbox-builds firefox/try-builds These will disappear as data is synced up to S3. Cheers Nick Thomas -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org iQEcBAEBCgAGBQJWJ1vyAAoJ

Data migration from ftp.mozilla.org to S3, 1pm Pacific Tuesday 20th October

2015-10-20 Thread Nick Thomas
be emptied. README files with alternative options will be provided Please contact the sheriff, or #releng, if you want to bring any issues to our attention. bug 1211732 is tracking bug. Nick Thomas (Release Engineering) ___ dev-platform mailing list dev

Re: easily getting allocation stacks for leaking objects

2015-09-17 Thread Nick Fitzgerald
Note that for JS objects (and JS strings very soon), you can track allocation stacks with the Debugger API: https://developer.mozilla.org/en-US/docs/Tools/Debugger-API/Debugger.Memory On Thu, Sep 17, 2015 at 10:55 AM, Andrew McCreight wrote: > On Thu, Sep 17, 2015 at 7:42 AM, Andrew McCreight

Re: Proposal to remove `aFoo` prescription from the Mozilla style guide for C and C++

2015-07-07 Thread Nick Fitzgerald
(Posted this reply to the wrong thread, reposting to the right one... >_<) One more group of defectors within Mozilla. From the DevTools coding standards[0]: """ - aArguments aAre the aDevil (don't use them please) """ Although, there are still some files in tree with the legacy style. [0]

Re: GTK3 linux builds

2015-07-07 Thread Nick Fitzgerald
One more group of defectors within Mozilla. From the DevTools coding standards[0]: """ - aArguments aAre the aDevil (don't use them please) """ Although, there are still some files in tree with the legacy style. [0] https://wiki.mozilla.org/DevTools/CodingStandards#Code_style On Tue, Jul 7

Re: Announcing the Content Performance program

2015-06-29 Thread Nick Fitzgerald
On Sun, Jun 28, 2015 at 5:14 PM, Nathan Froyd wrote: > On Sun, Jun 28, 2015 at 5:23 PM, Mike Hommey wrote: > > > > BTW, wasn't there an effort a few couple years ago, to move content > > event loop in different threads for different tabs? What happened to > > that? > > > > If you are referring t

Re: Announcing the Content Performance program

2015-06-26 Thread Nick Fitzgerald
From your blog post: > Heavy activity in background tabs badly affects desktop Firefox’s scrolling performance1 (much worse than other browsers — we need E10S) I was under the impression that because e10s is only a single process for all content (at least right now) a background tab can still neg

Re: DXR 2.0 staged. Feedback please!

2015-06-03 Thread Nick Fitzgerald
Looking forward to eventually getting better JS searching via the multi-language support! What is the relative priority of permalinks to specific revisions? On Wed, Jun 3, 2015 at 12:10 PM, Erik Rose wrote: > DXR 2.0 is about to land! This is a major revision touching every part of > the system

Re: Announcing Operation Instrument

2015-04-28 Thread Nick Fitzgerald
This is built on top of the docshell ProfileTimelineMarkers. There is a marker for the start of the traced operation and another for the end of the traced operation. The RAII class mozilla::AutoTimelineMarker simply adds these start and end markers on construction and destruction respectively (but

Re: Announcing Operation Instrument

2015-04-27 Thread Nick Fitzgerald
instrumentation right off the bat! Please take a look at the blockers of our meta bug, and file new bugs that block it: https://bugzilla.mozilla.org/show_bug.cgi?id=1145271 Thanks, Nick (and the whole DevTools team) """ ___ dev-platfor

Announcing Operation Instrument

2015-04-27 Thread Nick Fitzgerald
he bat! Please take a look at the blockers of our meta bug, and file new bugs that block it: https://bugzilla.mozilla.org/show_bug.cgi?id=1145271 ​Thanks, Nick (and the whole DevTools team​ ​)​ ___ dev-platform mailing list dev-platform@lists.mo

Re: Change coming to ftp.mozilla.org

2015-04-22 Thread Nick Thomas
ry listings, an API to lookup files would >be > > The above are all required but my input on them would skew the results as > I don't actively develop those tools. > > Kevin > > On Tue, Apr 21, 2015 at 1:29 AM, Nick Thomas wrote: > >> ftp.mozilla

Re: Excessive inbound bustage

2015-04-21 Thread Nick Fitzgerald
On Tue, Apr 21, 2015 at 3:39 PM, Bobby Holley wrote: > On Tue, Apr 21, 2015 at 3:32 PM, Nick Fitzgerald > wrote: > >> >> >> ​And this can surely be done via private channels​, without public >> shaming and the potential negatives people have listed elsewhere in

Re: Excessive inbound bustage

2015-04-21 Thread Nick Fitzgerald
On Tue, Apr 21, 2015 at 3:22 PM, Bobby Holley wrote: > It's not about making mistakes - it's about being mis-calibrated with > respect to the rest of the development community. And it's not about > shaming - it's about making people (both the developer and others) aware of > these mismatches so t

Change coming to ftp.mozilla.org

2015-04-21 Thread Nick Thomas
relying on, so please complete this survey to let us know: http://bit.ly/1K0Ix0a Thanks, Nick Thomas (Mozilla Release Engineering) ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: The e10s throbber

2015-04-08 Thread Nick Fitzgerald
Yes they are built on the same SPS profiler backend. However, the gecko profiler addon will do things the builtin devtools can't, like open a shell and call `atos` to symbolicate C++ function addresses. See https://bugzilla.mozilla.org/show_bug.cgi?id=1132529 for some context. For the time being

Re: It is now possible to apply arbitrary tags to tests/manifests and run all tests with a given tag

2015-03-31 Thread Nick Fitzgerald
On Tue, Mar 31, 2015 at 9:30 AM, Andrew Halberstadt < ahalberst...@mozilla.com> wrote: > > ​For example, we may implement a way to run all tests with a given tag > across multiple different suites. > > ​Does this mean that I can't do `./mach​ test --tag foobar` to run both xpcshell and mochitests

Re: JavaScript code coverage

2015-01-20 Thread Nick Fitzgerald
I recommend reading https://developer.mozilla.org/en-US/docs/Tools/Debugger-API or js/src/doc/Debugger/ for more information. On Tue, Jan 20, 2015 at 1:29 PM, Nick Fitzgerald wrote: > ​On Mon, Jan 19, 2015 at 12:36 PM, Joshua Cranmer [image: 🐧] < > pidgeo...@gmail.com> wrote: >

Re: JavaScript code coverage

2015-01-20 Thread Nick Fitzgerald
​On Mon, Jan 19, 2015 at 12:36 PM, Joshua Cranmer 🐧 wrote: > Getting good code coverage (line and branch coverage) ultimately requires > fine-grained instrumentation (ideally bytecode-level) not presented by the > current Debugger. > ​I think you can get fine-grained enough data with the existi

Compiling m-c within Emacs (was: Re: Good ways to view Firefox compile errors in a terminal?)

2015-01-13 Thread Nick Fitzgerald
​On Tue, Jan 13, 2015 at 10:01 AM, Nathan Froyd wrote: > On Tue, Jan 13, 2015 at 11:52 AM, Nick Fitzgerald > wrote: > >> For those of us using Emacs: >> >> I use M-x shell as my terminal, and when combined with >> compilation-shell-minor-mode, I get the followin

Re: Good ways to view Firefox compile errors in a terminal?

2015-01-13 Thread Nick Fitzgerald
l for me but it's also kinda gross [1] and this > seems like a problem that everybody else working on C++ code has to > deal with as well. So I'm wondering if there are other, better ways of > doing it, and if so, could they be made automatic? There is |mach > warnings-list| which i

Re: Is anyone still using JS strict warnings?

2014-12-24 Thread Nick Fitzgerald
x27;t use the flag (because that imposes on everyone), and if you want them for your development, you should still be able to use them, but in a way that doesn't force those who don't want them to do so. On Fri, Dec 19, 2014 at 7:05 PM, Jim Blandy wrote: > On Fri, Dec 19, 2014 at 2:22

Re: Is anyone still using JS strict warnings?

2014-12-19 Thread Nick Fitzgerald
I generally don't find them useful, but instead annoying, and that they provide a lot of noise to filter out to find actual relevant errors. This is including the undefined property errors. It is a common JS style to pass around configuration/option objects that will be missing many properties that

Re: Intent to ship: Web Speech API - Speech Recognition with Pocketsphinx

2014-10-30 Thread Nick Alexander
ier to entry and especially to upgrading older devices. Nick ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: Switching to Visual Studio 2013

2014-10-20 Thread Nick Thomas
Filed https://bugzilla.mozilla.org/show_bug.cgi?id=1085767 -Nick On 21/10/14 7:34 am, Stefan Sitter wrote: > Hi, > > are there plans to switch the Thunderbird builders from VS2010 to VS2013 > as well? > > /Stefan ___ dev-platfor

Intent to implement: `//# sourceURL=display-url.js` in Error.prototype.stack

2014-10-09 Thread Fitzgerald, Nick
# Summary By appending "//# sourceURL=foo.js" to script text that is being passed to `eval`, `new Function`, or as the text content of a dynamically appended

Using protobuf in m-c

2014-09-24 Thread Fitzgerald, Nick
z.build hoops I need to jump through to use protobufs from within toolkit/devtools? Thanks, Nick ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: PSA: ./mach build doesn't work reliably any longer

2014-08-25 Thread Fitzgerald, Nick
On 8/25/14, 8:37 AM, Gregory Szorc wrote: How fast do "no-op" / light builds need to be for |mach build | to not exist? About 10 seconds to compete with my usage[0] of |./mach build | for hacking on devtools. Of course, getting even faster is always appreciated ;) [0] Actual command I ru

Re: Intent to implement: Disabling auto-play videos on mobile networks/devices?

2014-08-21 Thread Nick Alexander
oplay, reducing user control yet further? Can you be explicit about the three states of this proposed tri-state pref? Nick ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: Reordering opened windows

2014-07-07 Thread Nick Alexander
or being a "power user", and likely one who cares about restore responsiveness. Nick ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: Are you interested in doing dynamic analysis of JS code?

2014-06-30 Thread Fitzgerald, Nick
On 6/25/14, 8:15 AM, Jason Orendorff wrote: We're considering building a JavaScript API for dynamic analysis of JS code. Here's the sort of thing you could do with it: - Gather code coverage information (useful for testing/release mgmt?) - Trace all object mutation and method calls (useful

Re: JS assertions that get optimized away!

2014-06-27 Thread Fitzgerald, Nick
On 6/27/14, 8:49 AM, Jason Orendorff wrote: On 06/26/2014 06:59 AM, David Rajchenbach-Teller wrote: I would be interested in adding boundary checks and invariant checks that could be eliminated in opt builds. Is this in the scope of your project? No, I don't think so. S2S could certainly do i

Re: Are you interested in doing dynamic analysis of JS code?

2014-06-25 Thread Fitzgerald, Nick
On 6/25/14, 1:06 PM, Jason Orendorff wrote: An alternative involves letting you modify JS code just before it's compiled (source-to-source transformation). This is more general (you could modify the instrumented code arbitrarily, and react synchronously as it executes) but maybe that's undesira

Re: Are you interested in doing dynamic analysis of JS code?

2014-06-25 Thread Fitzgerald, Nick
sed to a static recording) debugging with live, on-stack code editing) that I hesitate to even get my hopes up... Nick ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: bugzilla can now show bugs that have been updated since you last visited them

2014-06-11 Thread Fitzgerald, Nick
On 6/3/14, 11:34 PM, Byron Jones wrote: thanks to dylan's work on bug 489028, bugzilla now tracks when you view a bug, allowing you to search for bugs which have been updated since you last visited them. see my blog post for more details: http://wp.me/p1JUqW-9M You might check out http://bu

Re: Intent to implement: DOMMatrix

2014-06-08 Thread Nick Alexander
g mathematical properties into the type hierarchy directly caused more problems than it solved. I'd like to avoid properties encoded as instance types if we possibly can. (Exposing isIdentity as an internal instanceof is fine.) Nick [1] http://sagemath.org/

Re: Intent to implement: DOMMatrix

2014-06-08 Thread Nick Alexander
sion (directly) to the Web. It would be great to see these divisions used internally to optimize: composing translations gives another translation, etc. Nick ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: Intent to implement: DOMMatrix

2014-06-02 Thread Nick Alexander
On 2014-06-02, 9:59 AM, Rik Cabanier wrote: On Mon, Jun 2, 2014 at 9:05 AM, Nick Alexander mailto:nalexan...@mozilla.com>> wrote: On 2014-06-02, 4:59 AM, Robert O'Callahan wrote: On Mon, Jun 2, 2014 at 3:19 PM, Rik Cabanier mailto:caban...@gmail.

Re: Intent to implement: DOMMatrix

2014-06-02 Thread Nick Alexander
s derived from some underlying transformation, or are they given as a list of coefficients? If the latter, the isIdentity flag needs to be determined by the constructor, or fed as a parameter. Exactly how does the constructor determine the parameter? Exactly how does the user? Nick __

Re: Disabling strict warnings as errors in xpcshell

2014-05-07 Thread Fitzgerald, Nick
On 5/7/14, 4:21 PM, Gavin Sharp wrote: What does "get rid of strict warnings as errors for xpcshell tests" mean in practice? It means that our non-standard spidermonkey "strict mode" (not the actual strict mode) console warnings would continue to simply be console warning messages rather than

Re: Disabling strict warnings as errors in xpcshell

2014-05-06 Thread Fitzgerald, Nick
On 5/6/14, 5:31 PM, Jonas Sicking wrote: Are these warnings ever useful enough that this is worth it? Personally, I think not. Bill seemed to really like them. *shrug* This was why I thought it might be easier to just make it optional. ___ dev-platfo

Re: Disabling strict warnings as errors in xpcshell

2014-05-06 Thread Fitzgerald, Nick
On 5/6/14, 3:29 PM, Bill McCloskey wrote: - Original Message - From: "Chris Peterson" To: dev-platform@lists.mozilla.org Sent: Tuesday, May 6, 2014 3:11:40 PM Subject: Re: Disabling strict warnings as errors in xpcshell btw, I believe the JS team now uses the term "extra warnings" to d

Re: Disabling strict warnings as errors in xpcshell

2014-05-06 Thread Fitzgerald, Nick
t. As Eddy said, strict warning free code is not a goal for devtools, it is just something we are forced to do instead of work on whatever we are actually trying to do! Nick ___ dev-platform mailing list dev-platform@lists.mozilla.org

Re: Too many system compartments at start-up

2014-04-24 Thread Fitzgerald, Nick
On 4/24/14, 1:51 AM, Nicholas Nethercote wrote: There are still 16 compartments whose name includes "devtools", for example. Filed https://bugzilla.mozilla.org/show_bug.cgi?id=1001131 for lazily loading devtools modules where it makes sense. ___ dev

Re: Oculus VR support & somehwat-non-free code in the tree

2014-04-14 Thread Nick Alexander
1. Check in the LibOVR sources as-is, in other-licenses/oculus. Add a configure flag, maybe --disable-non-free, that disables building it. Build and ship it as normal in our builds. Should be opt-in, not opt-out. +1 Nick ___ dev-platform mailing

Re: Oculus VR support & somehwat-non-free code in the tree

2014-04-14 Thread Nick Alexander
me some license reading and explain what the existing framework around shipping libovr is? Is it explicitly allowed? Explicitly dis-allowed? If I read gerv's post [1] correctly, it is allowed, but it's hard to distinguish gerv's opinion from Mozilla legal's. Nick [1] http

Re: displayURL is set asynchronously?

2014-03-10 Thread Fitzgerald, Nick
On 3/10/14 4:24 AM, Jan Honza Odvarko wrote: > Debugger.script.source.displayURL isn't available for new Function scripts > that contain the //# sourceURL directive when accessing it within > Debugger.onNewScript hook. > > It's properly set when testing the flag after timeout. > > Note that it's

Re: Column numbers appended to URLs recently

2014-03-03 Thread Fitzgerald, Nick
This was before that bug. See ComputeStackString: http://dxr.mozilla.org/mozilla-central/source/js/src/jsexn.cpp?from=jsexn.cpp#206 The format is: [] @ : : The last : and is what was added in that bug. I guess the port-or-line-number question is unambiguous if there is *always* a line num

Re: Tabs and spaces

2014-03-02 Thread Nick Alexander
On 2014-03-02, 9:12 AM, Ted Mielczarek wrote: 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. +1, and filed Bug 978582 [1]. Nick [1]

Re: Including Adobe CMaps

2014-02-27 Thread Nick Alexander
larly interested in packaging, I inspect and rebuild omni.ja with a whole bunch of different tools. Nick ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: Including Adobe CMaps

2014-02-26 Thread Nick Alexander
would trim the mobile/android APK size. Nick ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: Individual files should have a reviewer reference

2014-02-13 Thread Nick Alexander
really meta-data, and I think it will diverge so fast that it's not worth trying. Nick ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: JavaScript Style Guide. Emacs mode line.

2014-01-08 Thread Nick Alexander
have style issues. I use emacs at the same time, especially when touching up rebases [2]. Fennec is almost all text editors. We have an open ticket to support IDEs [3], but there are a lot of things working against us. Nick [1] This merge process is essentially manual and is similar to the

Re: Mozilla style guide issues, from a JS point of view

2014-01-07 Thread Fitzgerald, Nick
On 1/7/14 11:23 AM, Neil wrote: > Martin Thomson wrote: > >> in JS, a case that I’ve encountered several times: >> _classMethodName: function >> ReasonableClassName__classMethodName(argument1, argument2) { >> > I thought that our debugging story had improved sufficiently that we > didn't

Re: Removal of native notification systems on desktop platforms

2013-10-25 Thread Fitzgerald, Nick
atically behind the scenes when I restart the browser, it is in my face and makes upgrading a chore that I have to take care of. Is there a bug tracking this regression? Nick ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozil

Re: Poll: What do you need in MXR/DXR?

2013-10-02 Thread Nick Alexander
and mxrf keywords for searching in files; if mxrf jumped to the unique result, I would be irritated (because I often just want to see what the full path to the file is, like `git ls-files | grep`). Nick ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

[ann] |mach python| command for running the Python in the object directory's virtual environment

2013-07-02 Thread Nick Alexander
s the interactive REPL. Best, Nick ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: Proposal to make Firefox open in the foreground on Mac when launched from terminal

2013-05-29 Thread Nick Alexander
So I'd like to ask, if you care about this, which way would _you_ have as the default? I want |mach run| to start the application in the foreground. Nick ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/lis

Re: Persistently storing build system state

2013-05-16 Thread Nick Alexander
that remote testing commands can guess MOZ_HOST_BIN candidates. Nick ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: Persistently storing build system state

2013-05-16 Thread Nick Alexander
re source-tree specific: build logs, compiler warnings, test results. I would not want to share too much state between my mozilla-inbound, mozilla-central, and services-central trees. I think making this distinction explicit will help: ~/.mozbuild and $

Re: smartmake-like functionality has landed in mach

2013-05-06 Thread Nick Alexander
adding browser/devtools/* to the dependency list prompts us developers to externalize our knowledge of the dependencies not captured by the current build system, which seems like an artifact we will appreciate in the future. Nick ___ dev-platform mailing li

Re: smartmake-like functionality has landed in mach

2013-05-03 Thread Nick Alexander
On 13-05-03 12:13 PM, Neil wrote: Ehsan Akhgari wrote: On 2013-05-02 7:23 PM, Dave Townsend wrote: On 5/2/2013 3:45 PM, Nick Alexander wrote: On 13-05-02 3:09 PM, Josh Matthews wrote: According to http://mxr.mozilla.org/mozilla-central/source/build/dumbmake-dependencies#8, it is

Re: smartmake-like functionality has landed in mach

2013-05-02 Thread Nick Alexander
On 13-05-02 4:23 PM, Dave Townsend wrote: On 5/2/2013 3:45 PM, Nick Alexander wrote: On 13-05-02 3:09 PM, Josh Matthews wrote: According to http://mxr.mozilla.org/mozilla-central/source/build/dumbmake-dependencies#8, it is equivalent to the following: ./mach build -X chrome xpcom toolkit

Re: smartmake-like functionality has landed in mach

2013-05-02 Thread Nick Alexander
o make -f client.mk chrome make -f client.mk xpcom make -f client.mk toolkit/library Nick ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

smartmake-like functionality has landed in mach

2013-05-02 Thread Nick Alexander
ho added significant functionality and provided valuable guidance on how to integrate some of these ideas into mach. Yours, Nick Alexander [1] http://hg.mozilla.org/users/josh_joshmatthews.net/smartmake [2] smartmake can also maintain timestamps and deduce what directories need to be built, but this

  1   2   >