[dev-platform] Searchfox Update: Searchfox no longer is as judgemental about preprocessed IPDL files! PContent is usable!

2023-10-17 Thread Andrew Sutherland
Sometimes IPDL files have preprocessing directives in them for good reasons.  I understand.  But searchfox didn't, possibly because of a long-held grudge over the use of preprocessor directives in JS and even HTML.  Or maybe searchfox is just a pile of deterministic code and it turns out parser

[dev-platform] Searchfox Update: Searchfox rust indexing is now position:stickier and search contextier!

2023-10-30 Thread Andrew Sutherland
Improvements to searchfox's processing of rust-analyzer's SCIP output have landed on searchfox trunk and are now available at https://searchfox.org/ for mozilla-central and will be coming to beta, release, and ESR115 imminently. In the same way that scientists combined chocolate and peanut but

[dev-platform] Searchfox Update: Nicer context menus, more experimental diagram powers

2024-01-31 Thread Andrew Sutherland
Searchfox prioritizes speed.  So much so that in a past update of sanding things down to keep searchfox streamlined, we sanded off the icons on the context menu.  But now they're back with more icons than ever and UX-reviewed by a speedometer 3 performance expert. A variety of enhancements hav

[dev-platform] Searchfox Update: Class/struct field layouts now available as an alpha-gated feature

2024-03-03 Thread Andrew Sutherland
Have you ever wanted to know what the layout of a C++ class/struct looked like across our 4 debug build platforms for mozilla-central?  But have you also felt like such awesome power really should be unpleasant in some way?  Like having to fire up gdb and type `ptype /o ClassName` a bunch unple

[dev-platform] Searchfox Update: Searchfox knows (some) Python

2024-03-03 Thread Andrew Sutherland
Have you always felt like JavaScript was a big mistake and always regretted that PyXPCOM never landed into Gecko? While searchfox is neutral on issues like this, searchfox now has significantly better support for Python[1] than JavaScript[2]! For example, if you click on https://searchfox.or

[dev-platform] Searchfox Update: calls-between and other diagram improvements

2024-03-11 Thread Andrew Sutherland
Did you know you can use searchfox's pre-alpha diagramming functionality to try and figure out how one class might interact with another class or type?  Drawing from a real world example in #xpcom, what if you knew a class did something involving a delay that almost certainly involved a timer,

Re: [dev-platform] Clarifying preference of signed vs unsigned integer types in C++

2021-11-11 Thread Andrew Sutherland
On 11/11/21 1:23 PM, Chris Peterson wrote: On 2021-11-10 2:54 AM, Emilio Cobos Álvarez wrote:  * I think the real issue here is the implicit narrowing conversions and integer promotions of C++, which we do have static analysis to prevent (even if static analysis isn't always perfect, neither ar

[dev-platform] Searchfox Update: XPIDL `.idl` enhancements, Code Coverage stability improvements

2022-03-14 Thread Andrew Sutherland
Hello Searchfox Users!  You may have noticed the following things working again/better recently in Searchfox: XPIDL: * Clicking on symbols in the `.idl` for the current revision will once more bring up a menu with options.  There was a regression here for a bit due to a historical lack o

[dev-platform] Searchfox Update: Changes to annotate / "blame" behavior around revision skipping

2022-03-16 Thread Andrew Sutherland
tl;dr: The Searchfox blame UI will no longer try to skip over revisions in `.git-blame-ignore-revs`.  The downside is that this may result in you needing to click through reformatting patches and do additional manual ctrl-f-ing to find where the line you were interested in went before repeating

Re: [dev-platform] Problematic (XUL) Pop-ups

2022-05-02 Thread Andrew Sutherland
On 5/2/22 5:43 AM, Geoff Lankow wrote: If I open a window then click on an element that would open a pop-up (such a menulist), the click event happens but the pop-up doesn't open. So my test code waiting it to appear times out. Historically I'd found this being due to focus issues, either due

[dev-platform] Searchfox Update: Searchfox now indexes webkit (as wubkat), mozilla-esr102, and comm-esr102 on a daily basis

2022-06-26 Thread Andrew Sutherland
https://wiki.mozilla.org/Release_Management/Calendar tells us that esr102 has arrived and so indexes have been added to searchfox at https://searchfox.org/mozilla-esr102/source/ and https://searchfox.org/comm-esr102/source/ For those of you who need to consult other browser implementations for

[dev-platform] Searchfox Update: Searchfox searches are now faster!

2022-07-18 Thread Andrew Sutherland
Have you found saying this to yourself very recently?: "Wow, the statistical distribution of the latencies of my searchfox searches feels like it has shifted noticeably towards zero, particularly at the higher percentiles!  But how is it possible for searchfox to be any faster?  Doesn't that po

Re: [dev-platform] Inlined function calls are now displayed in crash stacks

2022-09-10 Thread Andrew Sutherland
On 9/9/22 5:49 PM, Markus Stange wrote: Acknowledgements: Many thanks to Markus and all involved in the ongoing effort to improve crash-stats!  I expect this will help save me a lot of time and significantly improve the quality of what I understand from crash-reports in that reduced time!

[dev-platform] Searchfox Update: Searchfox's feud with JS modules is over!

2022-09-26 Thread Andrew Sutherland
You might have noticed that Searchfox hasn't been bringing its "A game" to `.mjs` files.  In fact, it might seem like as soon as you used "import" or "export" in a JS file that searchfox immediately refused to semantically index the file!  This is because that is what was happening. This has n

[dev-platform] Searchfox Update: Searchfox Vision and Searchfox Roadmap Blog Posts

2022-11-09 Thread Andrew Sutherland
Are you a Searchfox user who just can't get enough Searchfox, but also you wish that you could experience Searchfox in a prose form that didn't feel so much like you're just reading source code, but also is not so exciting that you'll have trouble getting to sleep? Presenting, some Searchfox b

[dev-platform] Searchfox Update: Searchfox's feud with JS #hashtags is now over!

2022-11-23 Thread Andrew Sutherland
A lot of hip, new JavaScript code seems to be filled with #hashtags for some reason[1] and up until last night when https://bugzilla.mozilla.org/show_bug.cgi?id=1801960 [2] landed, Searchfox was not having it.  But Searchfox knows that it needs to keep up with emerging trends like moving the "m

Re: [dev-platform] crash reporting data dictionary

2022-12-01 Thread Andrew Sutherland
This is super amazing!  It's invaluable to know the space of annotation data that is available, and in particular, I love the example data from the last 7 days.  Thank you! Is the example data something that could potentially be fetched in an aggregate JSON so that searchfox could provide the

Re: [dev-platform] fyi: nsIPrincipal is now threadsafe

2022-12-02 Thread Andrew Sutherland
On 12/2/22 11:34 AM, Nika Layzell wrote: TL;DR a few hours ago, Bug 1443925 merged into central, making nsIPrincipal safe to use from multiple threads. Most nsIPrincipal APIs are now threadsafe, though you should check the updated document

Re: [dev-platform] crash reporting data dictionary

2022-12-05 Thread Andrew Sutherland
On 12/5/22 9:26 AM, Chris H-C wrote: Stepping in to first say: This is fantastic work, willkg! Next: :asuth, do you think there'd be benefits to having similar context-menu options for Glean metrics? Like on `build_displaylist_time`[1] we could point to the Glean Dictionary entry for it[2] an

Re: [dev-platform] crash reporting data dictionary

2022-12-05 Thread Andrew Sutherland
On 12/5/22 1:26 PM, Chris H-C wrote: You can drop the query params, for sure. GLAM'll populate them with defaults or the current values (if this isn't the first time the user's visited GLAM). One note is GLAM is presently behind LDAP. Not sure if searchfox has any best practices about linking t

[dev-platform] Searchfox Update: More test information!

2022-12-05 Thread Andrew Sutherland
When looking at test file source code in searchfox, do you find yourself disappointed that the test info box above the source listing ends too soon, just when it was getting interesting? We are happy to announce that in collaboration with Joel Maher implementing new test information capabiliti

[dev-platform] Searchfox Update: Searchfox's got settings!

2023-01-15 Thread Andrew Sutherland
It's a story as old as time.  You're using a piece of software and you say to yourself: "Wow, this software is great, but I wish it was more complicated!" Well, good news, everyone!  Searchfox is now more complicated! More seriously/with that successfully lampshaded, Searchfox now has a setti

[dev-platform] Searchfox Update: Searchfox has pre-alpha diagramming for C++

2023-01-17 Thread Andrew Sutherland
As an epic bout of yak shaving draws to a close, Searchfox's pre-alpha diagramming functionality can now be enabled from the Searchfox settings page at https://searchfox.org/mozilla-central/pages/settings.html under a (misnamed) alpha quality gate. There are a lot of significant caveats.  I'm

[dev-platform] Searchfox Update: Searchfox result limits have been increased and it is now explicit when limits have been hit

2023-01-17 Thread Andrew Sutherland
Everyone is always talking about how great quality is, but what about quantity?  To help address this shortage of quantity, Searchfox now will display more results!  And because those people talking up quality make a good point too, Searchfox results quality in the face of limits being hit has

Re: [dev-platform] Intent to remove: _raw.log artifacts from test tasks March 31, 2023

2023-03-10 Thread Andrew Sutherland
On 3/10/23 11:11 AM, Joel Maher wrote: Please reply to this thread if you are using these and for what purpose (so we could document this). I've used the logs in the past to deal with misleading timestamps for the "buffered messages" that the mochitest test frameworks output which makes the l

Re: [dev-platform] New Treeherder Feature on Try - NEW failures have a flag

2023-04-11 Thread Andrew Sutherland
This is super awesome and sure to be a huge help to evaluating my try pushes in conjunction with the also very awesome Push Health mechanism!  Many thanks to you and anyone/everyone involved! Andrew On 4/10/23 1:17 PM, Joel Maher wrote: For the last 6 months the code sheriffs have had a NEW fl