Re: Improvement to build times through cleanup of C++ include dependencies

2020-12-14 Thread Botond Ballo
Hey Simon, Thanks a lot for working on this! It's hard to notice the effect of individual changes in this area, but in aggregate they can add up to a significant build speed improvement. Botond On Mon, Dec 14, 2020 at 6:23 AM Simon Giesecke wrote: > > tl;dr Build times on all platforms, in par

Re: Software Fallback for Web Render Dog Fooding Phase

2020-10-27 Thread Botond Ballo
On Tue, Oct 27, 2020 at 4:20 PM Jim Mathies wrote: > To switch to using software fallback, flip the following prefs - > > gfx.webrender.all = true > gfx.webrender.software = true Are there plans to make the second pref show up in about:config? In today's nightly, it looks like it needs to be adde

Re: Visual Studio Code integration with `clangd` for C/C++ development

2020-09-16 Thread Botond Ballo
On Wed, Sep 16, 2020 at 3:00 AM Andi-Bogdan Postelnicu wrote: > On 16 Sep 2020, at 04:14, Botond Ballo wrote: > > On Tue, Sep 15, 2020 at 6:55 PM Jean-Yves Avenard > wrote: > >> This broke several features for me (and I use VSCode all the time). One in >> particular

Re: Visual Studio Code integration with `clangd` for C/C++ development

2020-09-15 Thread Botond Ballo
On Tue, Sep 15, 2020 at 6:55 PM Jean-Yves Avenard wrote: > This broke several features for me (and I use VSCode all the time). One in > particular was the inability to switch between code and header (Ctrl-K > Ctrl-O). > clangd supports this, but it's under a custom command name (as it's not part

Re: Visual Studio Code integration with `clangd` for C/C++ development

2020-09-10 Thread Botond Ballo
Thanks a lot for your work on this, Andi, this is really neat! One question: On Thu, Sep 10, 2020 at 12:20 PM Andi-Bogdan Postelnicu wrote: > VSCode is a multi-platform > open-source programming editor developed by Microsoft and volunteers. It is > partly b

Re: "static inline" in a header file is stupid, right?

2020-07-31 Thread Botond Ballo
On Fri, Jul 31, 2020 at 9:00 PM wrote: > Stupid: It is not stupid, it is a feature. > Ah, you mean `static inline` has uses in C++17 that it didn't have in older versions? I would appreciate an example (or a link to post etc.) so we can understand this better. Thanks, Botond __

Re: "static inline" in a header file is stupid, right?

2020-07-31 Thread Botond Ballo
> > Hi! I come from the future, it is not in C++17. > Can you elaborate on what "it" is? Thanks, Botond ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Dogfooding desktop zooming

2020-05-29 Thread Botond Ballo
Hi everyone! The Firefox Graphics team has been working on *desktop zooming*, a feature that brings the smooth pinch-zoom experience that has long been enjoyed by mobile users, to desktop devices with touchscreens and (some) touchpads. This is a frequently requested feature that fills an importan

Re: Faster compilers available in bootstrap

2020-04-09 Thread Botond Ballo
Thanks, compile time improvements are always good news! Out of curiosity, does this impact builds targeting Android on Linux or Windows? Thanks, Botond On Thu, Apr 9, 2020 at 12:52 PM David Major wrote: > > As of bug 1326486, our clang toolchains for Linux and Windows are built > with PGO. (Apo

Re: Upcoming C++ standards meeting in Prague

2020-03-12 Thread Botond Ballo
My blog post about the Prague C++ standards meeting is now live: https://botondballo.wordpress.com/2020/03/12/trip-report-c-standards-meeting-in-prague-february-2020/ It can also be found on Planet Mozilla. Cheers, Botond On Tue, Jan 28, 2020 at 5:03 AM Botond Ballo wrote: > > Hi ev

Upcoming C++ standards meeting in Prague

2020-01-29 Thread Botond Ballo
Hi everyone! The next meeting of the C++ Standards Committee (WG21) will be February 10-15 in Prague, Czech Republic. This meeting will continue to focus on bug fixing and stabilization for C++20, which has achieved feature-complete status in July 2019, and whose Draft International Standard (tec

Re: Visibility of disabled tests

2020-01-15 Thread Botond Ballo
On Sat, Jan 11, 2020 at 10:38 AM James Graham wrote: > So in addition to the specific changes for intermittent handling, can we > document how one nominates a bug for retriage in general (or point me at > those docs if they already exist) My understanding is that clearing the "priority" field is

Re: Visibility of disabled tests

2020-01-15 Thread Botond Ballo
On Sat, Jan 11, 2020 at 10:38 AM Geoffrey Brown wrote: > It might be helpful if we explicitly consider some special cases. If the > sheriffs have needinfo'd for "needswork" and that needinfo has been > cleared, do we want to set needinfo again when disabling? Always? If the > triage owner has a h

Re: How to generate compatible firefox for all versions of linux system?

2019-12-16 Thread Botond Ballo
According to this page [1], the current minimum version of gcc required to build Firefox trunk is 7.1. If you need to build with gcc 5.4, you may need to build an older release or esr branch rather than current trunk. I don't know if the compiler requirements are documented on a per release basis

Re: Upcoming C++ standards meeting in Belfast

2019-11-17 Thread Botond Ballo
My blog post about this standards meeting is now live: https://botondballo.wordpress.com/2019/11/15/trip-report-c-standards-meeting-in-belfast-november-2019/. It can also be found on Planet Mozilla. Cheers, Botond On Tue, Oct 22, 2019 at 5:13 PM Botond Ballo wrote: > > Hi everyone! > &

Re: C++ standards proposal for a embedding library

2019-11-10 Thread Botond Ballo
On Wed, Oct 23, 2019 at 8:34 AM Henri Sivonen wrote: > I'm curious how developers of libstdc++ and libc++ view the notion of > WebKitGTK+ as a platform capability. The C++ standard libraries are > arguably for Linux while the "platform capability" named (WebKitGTK+) > is arguably a Gnome thing rat

Re: Passing UniquePtr by value is more expensive than by rref

2019-10-26 Thread Botond Ballo
Note that, later in his talk [1], Chandler clarifies that he still recommends passing unique_ptr by value, because while compilers may currently generate better code for passing them by reference, passing them by value is still more optimizable in the long term (since passing them by reference enco

Re: C++ standards proposal for a embedding library

2019-10-25 Thread Botond Ballo
> My understanding (which may be wrong!) > is that the purpose of the C++ proposal isn't to enable creating Web > browsers around the API but to use the API to render the GUI for a > local C++ app whose primary purpose isn't to browse the Web, so I > assume "I want a URL bar" is the opposite of wha

Upcoming C++ standards meeting in Belfast

2019-10-22 Thread Botond Ballo
Hi everyone! The next meeting of the C++ Standards Committee (WG21) will be November 4-9 in Belfast, Northern Ireland. This meeting will be focused on bug fixing and stabilization for C++20, which has achieved feature-complete status at the last meeting. The C++20 draft contains a number of signi

Re: C++ standards proposal for a embedding library

2019-10-22 Thread Botond Ballo
ood position to provide such feedback. The latest draft of the proposal can be found here: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1108r4.html Thanks! Botond On Wed, Jul 18, 2018 at 12:45 PM Botond Ballo wrote: > > Hi everyone, > > With the proposal for a standard

Re: What to do about scroll anchoring?

2019-09-27 Thread Botond Ballo
Emilio, thanks for all your work on this! On Fri, Sep 27, 2019 at 8:23 AM Emilio Cobos Álvarez wrote: > Does anyone have strong opinions against removing scroll anchoring from > Gecko, based on the above? My 2c: it would be unfortunate to give up on scroll anchoring as a feature altogether. How

Re: Intent to remove: Fennec

2019-09-24 Thread Botond Ballo
On Tue, Sep 24, 2019 at 1:10 PM wrote: > - I have a _bunch_ of addons installed in Fennec. uBlock Origin is by far > the most critical, but I have a number of other quality-of-life addons as > well. Based on the articles I've seen, Fenix does not yet have any extension > support, so I can't e

Re: Coding style: Naming parameters in lambda expressions

2019-09-06 Thread Botond Ballo
On Fri, Sep 6, 2019 at 9:40 AM Andrew Sutherland wrote: > But of course, if this was all being done from inside an editor or a > debugger, no matter what tricks searchfox can do, they can't help you > elsewhere. Editors can of course do things of their own to help you on this front. For example,

Re: Upcoming C++ standards meeting in Cologne

2019-07-31 Thread Botond Ballo
On Tue, Jul 30, 2019 at 5:32 PM Jeff Gilbert wrote: > I would never have guessed that any committee would have thought the failure > of the graphics API proposal was that it didn't go far enough. I think of web_view as a change of direction compared to the graphics API proposal, rather than goin

Re: Upcoming C++ standards meeting in Cologne

2019-07-31 Thread Botond Ballo
On Tue, Jul 30, 2019 at 1:05 PM Nathan Froyd wrote: > One grotty low-level question about the new exception proposal. Your > post states: > > "it was observed that since we need to revise the calling convention > as part of this proposal anyways, perhaps we could take the > opportunity to make ot

Re: Upcoming C++ standards meeting in Cologne

2019-07-27 Thread Botond Ballo
2019 at 12:25 AM Botond Ballo wrote: > > Hi everyone! > > The next meeting of the C++ Standards Committee (WG21) will be July > 15-20 in Cologne, Germany. > > (Apologies for not sending this announcement sooner!) > > This is a particularly important meeting because the

Re: Upcoming C++ standards meeting in Cologne

2019-07-20 Thread Botond Ballo
On Thu, Jul 18, 2019 at 5:21 PM Botond Ballo wrote: > I'm not technically allowed to talk about the discussions that have > taken place so far this week (and in any case nothing is final until > the plenary votes on Saturday), but please do check /r/cpp on Saturday > and h

Re: Upcoming C++ standards meeting in Cologne

2019-07-18 Thread Botond Ballo
ng quality-assurance feature > crazy-glued to a very tricky, dangerous, > squeeze-out-the-last-few-drops-of-CPU performance feature. But those two > things are more useful separately; and surely the latter should not be > designed to look like the former. I would like to unders

Upcoming C++ standards meeting in Cologne

2019-07-12 Thread Botond Ballo
Hi everyone! The next meeting of the C++ Standards Committee (WG21) will be July 15-20 in Cologne, Germany. (Apologies for not sending this announcement sooner!) This is a particularly important meeting because the committee aims to publish the C++20 Committee Draft, a feature-complete draft of

Re: Revising the frequency threshold for disabling intermittents?

2019-07-08 Thread Botond Ballo
On Mon, Jul 8, 2019 at 1:29 PM Maher( 馬羅成 )Joel wrote: > Here you can see the pushes we have over time: > https://sql.telemetry.mozilla.org/dashboard/firefox-ci > > looking at a monthly level, I see these numbers for (autoland, inbound, > central): > July 2018 - 2049 > June 2019 - 2376 Ok, I gue

Revising the frequency threshold for disabling intermittents?

2019-07-08 Thread Botond Ballo
Hi folks, We have a policy of disabling intermittently failing tests is they fail more than 150 times over 21 days [1] (revised from 200 times over 30 days [2], which was a very similar failure rate just evaluated over a slightly longer period). When the policy was originally put in place in Sept

Re: Coding style 🙄 : `int` vs `intX_t` vs `unsigned/uintX_t`

2019-07-04 Thread Botond Ballo
On Thu, Jul 4, 2019 at 2:03 PM Jeff Gilbert wrote: > It's a huge > help to have a compile-time constraint that values can't be negative. The question is, how useful is that guarantee. Suppose you have some code that decrements an integer too far, past zero. Instead of having a -1 you'll have a 42

Re: Coding style 🙄 : `int` vs `intX_t` vs `unsigned/uintX_t`

2019-07-04 Thread Botond Ballo
On Thu, Jul 4, 2019 at 7:11 AM Henri Sivonen wrote: > > Do you happen to know why? Is this due to worries about underflow or > > odd behavior on subtraction or something? > > I don't _know_, but most like they want to benefit from optimizations > based on overflow being UB. My understanding is y

Re: Intent to ship: Visual Viewport API on Android

2019-05-29 Thread Botond Ballo
Hi, > Target release: Firefox 68 or 69, depending on when the patches are > ready. If it doesn't make 68, I would like to get it into Fennec > 68.1esr, as it's an important web compat feature. Just wanted to follow up and say that this did make 68. There is one remaining Android wpt failure [1]

Re: Change to preferences via StaticPrefs, tremoval of gfxPrefs

2019-05-15 Thread Botond Ballo
On Wed, May 15, 2019 at 6:54 PM Jean-Yves Avenard wrote: > It is then up to each process to handle preference modifications and > pass that change. There's no automatic or universal method on how this > is done unfortunately. Will SpecialPowers.pushPrefEnv(), which currently does propagate the pr

Re: Intent to ship: Visual Viewport API on Android

2019-05-10 Thread Botond Ballo
On Thu, May 9, 2019 at 7:50 AM David Burns wrote: > There are a number of wpt that fail only in firefox. Are we planning on > fixing those tests with this work? We are, at least on Android. (On desktop, some of the tests need desktop zooming, which we do not yet have, to pass.) A number of fixes

Intent to ship: Visual Viewport API on Android

2019-05-08 Thread Botond Ballo
Hi everyone! I would like to ship the Visual Viewport API [1] on Android. The initial implementation [2] was done in Firefox 63 behind the pref "dom.visualviewport.enabled" (see "Intent to Implement" thread [3]). It has since seen bug fixes, polish, and expanded test coverage. I intend to ship it

Re: C++ Developer Survey "Lite"

2019-04-30 Thread Botond Ballo
> If you're a C++ developer and care about the future of the language, I > encourage you to fill out the survey: There's a 2019 version of the survey that folks are likewise encouraged to fill out: https://isocpp.org/blog/2019/04/second-annual-cpp-foundation-developer-survey-lite Cheers, Botond

Re: Lack of browser mochitests in non-e10s configuration and support for turning off e10s on desktop going forward

2019-04-25 Thread Botond Ballo
On Thu, Apr 25, 2019 at 4:58 PM Bobby Holley wrote: > we won't ship Fennec past ESR68 That's news to me. Was this announced somewhere? Is there a discussion you could point me to? Thanks, Botond ___ dev-platform mailing list dev-platform@lists.mozilla.

Re: Upcoming C++ standards meeting in Kona

2019-03-20 Thread Botond Ballo
For those interested, my blog post about this meeting is now online: https://botondballo.wordpress.com/2019/03/20/trip-report-c-standards-meeting-in-kona-february-2019/ It's also available on Planet Mozilla. Cheers, Botond On Tue, Feb 12, 2019 at 9:08 PM Botond Ballo wrote: > >

Upcoming C++ standards meeting in Kona

2019-02-12 Thread Botond Ballo
Hi everyone! The next meeting of the C++ Standards Committee (WG21) will be February 18-23 in Kona, Hawaii. The C++20 cycle is starting to wrap up, and the fate of several large features is likely to be decided at this meeting. Concepts and Ranges have merged at the last meeting, while Coroutines

Re: nasm will soon become a build dependency

2018-12-28 Thread Botond Ballo
On Fri, Dec 21, 2018 at 4:21 PM Kartikaya Gupta wrote: > > On Fri, Dec 21, 2018 at 4:10 PM Thomas Daede wrote: > > There is a toolchain build for nasm for windows: > > https://bugzilla.mozilla.org/show_bug.cgi?id=1511224 > > > > If getting a newer nasm version is inconvenient for a majority of li

Re: Upcoming changes to our C++ Coding Style

2018-12-07 Thread Botond Ballo
On Fri, Dec 7, 2018 at 11:36 AM Sylvestre Ledru wrote: > In the meantime, we will be running a bot weekly to reformat the > mistakes and add the changeset into the ignore lists. > But in the long run this won’t be sustainable, so once we gain > confidence that a good number of developers have succ

Re: Upcoming changes to our C++ Coding Style

2018-12-04 Thread Botond Ballo
Hi, I'd like to ask a couple of clarifications about process here: * Is clang-format invoked automatically as part of a pre-commit hook, or something like that? * If not, should we be invoking it manually before submitting a patch? * If we submit a patch without having invoked it, will violations

Re: Upcoming C++ standards meeting in San Diego, California

2018-11-30 Thread Botond Ballo
Hi everyone, My blog post about the C++ standards meeting that took place earlier this month is now published: https://botondballo.wordpress.com/2018/11/30/trip-report-c-standards-meeting-in-san-diego-november-2018/ Cheers, Botond On Mon, Oct 22, 2018 at 5:52 PM Botond Ballo wrote: > &

Re: Upcoming C++ standards meeting in San Diego, California

2018-10-22 Thread Botond Ballo
On Mon, Oct 22, 2018 at 7:47 PM, wrote: > Here's one I'd like: > for (int i = ...; test(i); i = next(i)) { > if (good_stuff(i)) { break; /* goto past `else` block */ } > } else { > /* test(i) failed, i.e., we didn't `break` */ > do_something(i); // decls inside `for(...)` still in

Upcoming C++ standards meeting in San Diego, California

2018-10-22 Thread Botond Ballo
Hi everyone! The next meeting of the C++ Standards Committee will be November 5-10 in San Diego, California. This is promising to be the Committee's largest meeting to date, both in terms of attendees (expected over 150), and submitted proposals (over 250 in the pre-meeting mailing). This is enco

Re: Enabling (many) assertions in opt builds locally and eventually Nightly

2018-09-17 Thread Botond Ballo
One potential issue here is that an assertion failure in Nightly builds might be simultaneously very annoying (because it crashes the browser of Nightly users every time it occurs) and not very actionable (because no reliable STR can be found for it). That's the situation I'm in with bug 1457603, f

Re: Plan for Sunsetting MozReview

2018-08-27 Thread Botond Ballo
> Until this gets fixed, a workaround for closed bugs is to go to the bottom of > the bug, and look for https://hg.mozilla.org/mozilla-central/rev/... links. > Not as pretty, and missing review context, but hopefully this should help > explore the changed code in most cases. For bugs that aren't

Re: ./mach try fuzzy: A Try Syntax Alternative

2018-08-05 Thread Botond Ballo
Is there an easy way to do a T-push (builds on all platforms, tests on one platform only) with |mach try fuzzy|? I usually do T-pushes using try syntax, by Trychooser seems to be out of date when it comes to building a T-push syntax for Android, so I'm at a loss as to how to do a T-push for Androi

Re: Plan for Sunsetting MozReview

2018-07-26 Thread Botond Ballo
On Thu, Jul 26, 2018 at 2:37 PM, Mark Côté wrote: > Every landed, in-progress, and abandoned patch will be downloaded > from MozReview and stored in an S3 bucket. I think I've asked this before, but plans were uncertain at the time: will the history of patches (i.e. otherwise unpublished ancestor

Re: Intent to implement: Visual Viewport API

2018-07-24 Thread Botond Ballo
On Tue, Jul 24, 2018 at 4:22 AM, Michael de Boer wrote: > About the desktop perspective: is pinch-to-zoom a completely separate thing > from full-page-zoom as can be controlled right now with Ctrl+ and Ctrl- using > the > keyboard? Yes. The two have different behaviours (as Boris mentioned, one

Re: C++ standards proposal for a embedding library

2018-07-20 Thread Botond Ballo
On Thu, Jul 19, 2018 at 5:35 PM, Mike Hommey wrote: > Other than everything that has already been said in this thread, > something bugs me with this proposal: a web view is a very UI thing. > And I don't think there's any proposal to add more basic UI elements > to the standard library. Not that

Re: C++ standards proposal for a embedding library

2018-07-18 Thread Botond Ballo
On Wed, Jul 18, 2018 at 8:04 PM, L. David Baron wrote: > It feels like this bakes into the C++ language the idea that a > machine only ever needs a single implementation of the web platform. > > I (and I think many others at Mozilla) think that users are better > served by competition among implem

Re: C++ standards proposal for a embedding library

2018-07-18 Thread Botond Ballo
On Wed, Jul 18, 2018 at 5:31 PM, Boris Zbarsky wrote: > If the intent is that the default behavior is to speak http, what are the > committee's thoughts on things like sandboxing, spectre mitigations, > process-per-origin, etc? > > This last is particularly concerning in terms of API surface, beca

Re: C++ standards proposal for a embedding library

2018-07-18 Thread Botond Ballo
On Wed, Jul 18, 2018 at 5:01 PM, Boris Zbarsky wrote: > On 7/18/18 4:54 PM, Botond Ballo wrote: >> >> Either to include one, or to be able to find and use one provided by >> the OS/platform. > > > Ah, ok. > > And in the latter case, to disable whatever netwo

Re: C++ standards proposal for a embedding library

2018-07-18 Thread Botond Ballo
On Wed, Jul 18, 2018 at 4:13 PM, Boris Zbarsky wrote: > Am I correct in my reading that this would require the C++ standard library > to include an implementation of the web platform? Either to include one, or to be able to find and use one provided by the OS/platform. Cheers, Botond ___

Re: C++ standards proposal for a embedding library

2018-07-18 Thread Botond Ballo
On Wed, Jul 18, 2018 at 3:32 PM, Jeff Gilbert wrote: > It feels like the committee is burnt out on trying to solve the > general library problem, but contemplating something massively complex > like this instead doesn't follow, and is an answer to the wrong > question. > > Make it easier to integr

C++ standards proposal for a embedding library

2018-07-18 Thread Botond Ballo
Hi everyone, With the proposal for a standard 2D graphics library now on ice [1], members of the C++ standards committee have been investigating alternative ways of giving C++ programmers a standard way to write graphical and interactive applications, in a way that leverages existing standards and

Re: Upcoming C++ standards meeting in Rapperswil, Switzerland

2018-06-20 Thread Botond Ballo
My blog post about what happened at this meeting is now live: https://botondballo.wordpress.com/2018/06/20/trip-report-c-standards-meeting-in-rapperswil-june-2018/ Cheers, Botond On Tue, May 22, 2018 at 6:35 PM, Botond Ballo wrote: > Hi everyone! > > The next meeting of the C++

Re: Upcoming C++ standards meeting in Rapperswil, Switzerland

2018-05-23 Thread Botond Ballo
On Wed, May 23, 2018 at 4:05 PM, Jet Villegas wrote: > I'd rather see the committee focus on things like object lifetime management > so we don't have to port everything to Rust just to get basic memory safety > guarantees. How much leverage do we have to push on that? I assume you mean "push for

Upcoming C++ standards meeting in Rapperswil, Switzerland

2018-05-22 Thread Botond Ballo
Hi everyone! The next meeting of the C++ Standards Committee will be June 4-9 in Rapperswil, Switzerland. This is going to be a pivotal meeting, with go / no-go decisions expected for several highly-anticipated C++20 features, including a subset of Modules; Coroutines; Ranges; and "natural syntax

Re: Removing tinderbox-builds from archive.mozilla.org

2018-05-09 Thread Botond Ballo
On Wed, May 9, 2018 at 11:16 AM, William Lachance wrote: > On 2018-05-09 4:59 AM, Xidorn Quan wrote: >> >> Would removing those files affect the ability of mozregression to locate >> pushes of old regressions? > > > Good question. I checked and it seems that the answer is no (yay). > > For nightly

Re: Coding style: brace initialization syntax

2018-04-13 Thread Botond Ballo
On Fri, Apr 13, 2018 at 11:06 AM, Emilio Cobos Álvarez wrote: >> If we are going to have brace-initialization intermixed with >> list-initialization (i.e. parentheses) in our codebase, I think we >> should prefer no space prior to the brace, for consistency. > > Hmm, consistency with parenthesis I

Recent C++ standards meeting in Jacksonville, Florida

2018-03-28 Thread Botond Ballo
Hi everyone! The week of March 12th I was at a meeting of the C++ Standards Committee in Jacksonville, Florida. (Apologies for forgetting to announce the meeting in advance, as I've done for previous meetings.) Exciting progress was made at this meeting, as we approved new features for C++20 and

Re: The future of "remote XUL"

2018-03-28 Thread Botond Ballo
On Tue, Mar 27, 2018 at 11:48 AM, Dave Townsend wrote: > My understanding is that it has been effectively unsupported for some time > anyway so I think we should just go ahead and disable it altogether at this > point. If we need bits for automated tests then we should work to switch > tests away

C++ Developer Survey "Lite"

2018-03-01 Thread Botond Ballo
Hi folks, The Standard C++ Foundation (the nonprofit which organizes CppCon, provides some support for ISO C++ standards meetings, and promotes standard C++ in other ways) is running a short (1 page / 16 questions) C++ developer survey to help understand how developers use C++, what are some of th

Intent to ship: overscroll-behavior

2018-01-08 Thread Botond Ballo
I would like to ship support for the 'overscroll-behavior' CSS property (formerly called 'scroll-boundary-behavior') in Firefox 59. Preference behind which the feature was developed: layout.css.overscroll-behavior.enabled "Intent to implement" thread: https://www.mail-archive.com/dev-platform

Re: Refactoring proposal for the observer service

2018-01-03 Thread Botond Ballo
On Wed, Jan 3, 2018 at 5:09 PM, Gabriele Svelto wrote: > - It would make trivially simple to document the topics, their subjects > and payloads. Potentially this could even be integrated with our > generated documentation and code search tools making developer lives a > lot easier. +1. Not having

Re: Intent to implement: scroll-boundary-behavior

2017-11-27 Thread Botond Ballo
This has now landed on the Nightly channel. Cheers, Botond ___ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform

Re: Hiding 'new' statements - Good or Evil?

2017-11-23 Thread Botond Ballo
I think it makes sense to hide a 'new' call in a Make* function when you're writing an abstraction that handles allocation *and* deallocation. So MakeUnique makes sense, because UniquePtr takes ownership of the allocated object, and will deallocate it in the destructor. MakeRefPtr would make sense

Re: Intent to implement: scroll-boundary-behavior

2017-11-22 Thread Botond Ballo
For those following along, please note that this CSS property has been renamed from 'scroll-boundary-behavior' to 'overscroll-behavior'. The spec is accordingly now at [1], and the preference for controlling the feature has changed correspondingly. Cheers, Botond [1] https://wicg.github.io/overs

Re: Upcoming C++ standards meeting in Albuquerque, New Mexico

2017-11-20 Thread Botond Ballo
> The next meeting of the C++ Standards Committee will be November 6-11 > in Albuquerque, New Mexico. If you're interested in what happened at this meeting, my blog post about it is now live: https://botondballo.wordpress.com/2017/11/20/trip-report-c-standards-meeting-in-albuquerque-november-2017

Re: TypeError: %d format: a number is required, not float when building Firefox 52.4.1esr in Linux from Scratch

2017-11-04 Thread Botond Ballo
> File > "/root/sources/firefox-52.4.1esr/toolkit/components/telemetry/gen-event-data.py", > line 82, in write_common_event_table > e.dataset), > TypeError: %d format: a number is required, not float I haven't come across this error before, nor did a quick search turn up anything. I would suggest

Upcoming C++ standards meeting in Albuquerque, New Mexico

2017-11-03 Thread Botond Ballo
Hi everyone! The next meeting of the C++ Standards Committee will be November 6-11 in Albuquerque, New Mexico. The focus of this meeting will be features targeting C++20 and Technical Specifications (TS). I expect significant emphasis will be placed on the Modules TS, whose Proposed Draft [1] has

Intent to implement: scroll-boundary-behavior

2017-10-23 Thread Botond Ballo
Summary: A CSS property that allows web developers to control what scroll boundary actions performed by the browser (such as scroll handoff to a parent scrollable element, visual overscroll effect, swipe navigation, etc.) should apply to a scrollable element. Tracking bug: https://bugzil

Re: Experimenting with a shared review queue for Core::Build Config

2017-10-11 Thread Botond Ballo
On Wed, Oct 11, 2017 at 2:37 PM, Chris Cooper wrote: > On Wed, Oct 11, 2017 at 1:46 PM, Nathan Froyd wrote: >> Does this user have a bugzilla :alias so that folks submitting patches >> via MozReview or similar can just write r=build-peer or something, >> rather than having to manually select the

Re: C++ function that the optimizer won't eliminate

2017-10-06 Thread Botond Ballo
Not immediately useful to us, but there is a C++ standards proposal in the works for a standard library function along these lines: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0412r0.html Cheers, Botond ___ dev-platform mailing list dev-pla

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

2017-09-15 Thread Botond Ballo
Will submitting to try from MozReview (or Phabricator once that replaces MozReview) still work? I think there is important value in being able to submit to try without a local checkout. Cheers, Botond ___ dev-platform mailing list dev-platform@lists.mozi

Re: Reminder on Try usage and infrastructure resources

2017-09-14 Thread Botond Ballo
On Thu, Sep 14, 2017 at 4:54 PM, Mike Hommey wrote: > Maybe it's time to kill the `all` flag, at least for -p. Why? For the > combined reason that you're saying we shouldn't be using it, and that > it's actually *not* running every platform. I think "-p all" is still useful for "T pushes" (and it

Re: Eiminating nsIDOM* interfaces and brand checks

2017-09-01 Thread Botond Ballo
On Fri, Sep 1, 2017 at 12:11 PM, Ehsan Akhgari wrote: > How about this slight variation: > > HTMLEmbedElement.isInstanceOf(obj) > > instead of "is"? Isn't that backwards, though? HTMLEmbedElement isn't an instance of 'obj', 'obj' is an instance of HTMLEmbedElement :) Cheers, Botond _

APZ autoscrolling enabled on Nightly channel

2017-08-18 Thread Botond Ballo
Hi everyone, APZ autoscrolling (bug 1390247) is now enabled by default on the Nightly channel. For those not familiar with autoscrolling, it's a scrolling mechanism activated by middle-clicking the mouse, which causes an "anchor" to appear on the screen, and moving the mouse away from the anchor.

Re: Upcoming C++ standards meeting in Toronto, Canada

2017-08-02 Thread Botond Ballo
On Wed, Jul 5, 2017 at 7:55 PM, Botond Ballo wrote: > I will be there, hanging out in the Evolution Working > Group as usual, and blogging about the meeting afterwards. If you're interested in what happened at this meeting, my blog post about it is now live: https://botondballo.wo

Re: [PATCH] gfx: thebes: decouple GfxSurfaceType from cairo_surface_type_t

2017-07-31 Thread Botond Ballo
On Mon, Jul 31, 2017 at 3:40 AM, Enrico Weigelt, metux IT consult wrote: > On 31.07.2017 09:23, Cameron McCormack wrote: >> Firefox patches should be submitted via Bugzilla, rather than by email >> to dev-platform. Please see: >> >> https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide

Re: sccache as ccache

2017-07-26 Thread Botond Ballo
On Wed, Jul 26, 2017 at 9:05 AM, Ted Mielczarek wrote: > If you build Firefox on Linux or OS X you can (and > should) use sccache in place of ccache for local development. Can sccache be used in conjunction with icecc [1]? I currently use the two together by having the following in my .mozconfig

Re: Correct format specifier for size_t

2017-07-25 Thread Botond Ballo
We have a mozilla/SizePrintfMacros.h header which defines "PRIuSIZE" for this purpose. Cheers, Botond On Tue, Jul 25, 2017 at 12:43 PM, Honza Bambas wrote: > In light of using PRxx formatting macros from inttypes.h, what is the right > approach to printf size_t types (like our nsTArray::Length()

Re: Announcing MozillaBuild 3.0 Release

2017-07-24 Thread Botond Ballo
On Mon, Jul 24, 2017 at 6:21 PM, Enrico Weigelt, metux IT consult wrote: > Is there an automatic interface for patch submission (something > similarily easy like git-send-mail) ? Having to click through websites > manually is just very time consuming. With MozReview [1], you can submit patches fr

Re: who uses idl stuff

2017-07-23 Thread Botond Ballo
> could anyone please give me some insight, where the the IDLs > (and the code generated from them) are actually used ? > > Javascript bindings ? They are typically used as an interface between C++ and JS code. As an example, consider nsIDocShell.idl [1]. This defines an interface named "nsIDocSh

Re: Phabricator Update, July 2017

2017-07-12 Thread Botond Ballo
On Wed, Jul 12, 2017 at 11:54 AM, Byron Jones wrote: > >> Consider that we are talking about "turning off" mozreview now. Will all >> the bugzilla links to those reviews go dead? Or do we have to maintain a >> second service in read-only mode forever? > > the patches will be archived in some for

PSA: Use MOZ_DEFINE_ENUM to avoid having to add sentinel enumerators

2017-07-05 Thread Botond Ballo
Today I landed bug 1371771 [1] (on inbound at the time of writing this), which adds a new MOZ_DEFINE_ENUM macro to MFBT. This macro defines an enumeration, together with a constant that stores the number of enumerators (and, in addition, another constant that stores the highest enumerator). For e

Upcoming C++ standards meeting in Toronto, Canada

2017-07-05 Thread Botond Ballo
Hi everyone! The next meeting of the C++ Standards Committee will be July 10-15 in Toronto, Canada. With C++17 wrapped up, this meeting will be focused full-steam on C++20, with a particular emphasis on the big-ticket items the committee is trying hard to get into C++20: Concepts, Modules, Ranges

Re: Is it OK to make allocations that intentionally aren't freed? (was: Re: Is Big5 form submission fast enough?)

2017-05-19 Thread Botond Ballo
On Fri, May 19, 2017 at 10:38 PM, Nicholas Nethercote wrote: > There's also a pre-processor constant that we define in Valgrind/ASAN/etc. > builds that you can check in order to free more stuff than you otherwise > would. But I can't for the life of me remember what it's called :( It looks like s

Re: Have you run 'mach bootstrap' lately?

2017-05-12 Thread Botond Ballo
On Fri, May 12, 2017 at 3:00 PM, Andrew McCreight wrote: > On Fri, May 12, 2017 at 11:34 AM, Ted Mielczarek wrote: > >> On Fri, May 12, 2017, at 10:45 AM, Sylvestre Ledru wrote: >> > Would it be possible to add a check like: >> > "You haven't updated your local configuration since XX days, please

Re: Rationalising Linux audio backend support

2017-03-28 Thread Botond Ballo
On Tue, Mar 28, 2017 at 11:06 PM, Jan Beich wrote: > Botond Ballo writes: > >> Anyways, there is no conflict between supporting ALSA and supporting >> 5.1 sound. As has been mentioned earlier in the thread, ALSA has since >> added support for 5.1, and so IIUC it&#x

Re: Rationalising Linux audio backend support

2017-03-28 Thread Botond Ballo
On Tue, Mar 28, 2017 at 6:49 PM, wrote: > Why does a BROWSER need 5.1 or x.y sound??? The web platform is intended to be a competitive alternative to native platforms. That means that whatever native applications can do, we'd like web applications to be able to do as well, and that includes pla

Re: Upcoming C++ standards meeting in Kona, Hawaii

2017-03-27 Thread Botond Ballo
If you're interested in what happened at this meeting, my blog post has details: https://botondballo.wordpress.com/2017/03/27/trip-report-c-standards-meeting-in-kona-february-2017/ Cheers, Botond On Fri, Feb 24, 2017 at 1:53 PM, Botond Ballo wrote: > Hi everyone! > > The next me

Re: Intent to implement: ScrollTimeline

2017-03-25 Thread Botond Ballo
> Is it possible to use this, or is there a similar proposal, for linking > animation timeline to other user-controlled means of interacting with the UI? > > I'm thinking primarily about things like: > > - drag&drop - the percentage of the distance between the source and target > linked to the a

Intent to implement: ScrollTimeline

2017-03-24 Thread Botond Ballo
Summary: Scroll-linked animations are a way for web developers to write web animations whose progress is linked to scrolling rather than to time. ScrollTimeline is the JS API for creating scroll-linked animations (the spec also contains a CSS API, which will be implemented at a later ti

Re: Rationalising Linux audio backend support

2017-03-22 Thread Botond Ballo
Now that this change has hit the release channel, we've started receiving feedback from a wider range of users, a lot of it in bug 1345661 [1]. I believe the feedback in that thread brings some new information to the table that we weren't aware of when this decision was made: - Based on the vol

Re: Tracking bug for removals after XPCOM extensions are no more?

2017-03-15 Thread Botond Ballo
What will happen to WebExtension Experiments once these APIs start being removed? My understanding is that WebExtension Experiments use the same XPCOM APIs as XUL addons. Cheers, Botond On Wed, Mar 15, 2017 at 8:00 AM, Henri Sivonen wrote: > On Mon, Mar 13, 2017 at 3:17 PM, Nathan Froyd wrote:

  1   2   3   >