gnome-shell/js
Florian Müllner 3289b79433 extensionUtils: Stop using RegExp for stack parsing
We currently use a regular expression to extract the exact file path
from a stack line. That RE is no longer accurate:

 - we assume a line number at the end, but at one point the column
   number was added as well
 - stacks from ES modules use file:// URIs instead of plain paths

Luckily that doesn't matter: We don't want to access any actual
files, so all we need is a path that can be traversed and that
contains the UUID.

We can get that with simple string manipulation, so avoid the regex
overhead.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2832>
2023-07-15 11:07:12 +00:00
..
dbusServices
gdm animationUtils: Group together various animation helpers 2023-07-15 02:35:56 +00:00
misc extensionUtils: Stop using RegExp for stack parsing 2023-07-15 11:07:12 +00:00
portalHelper
ui dependencies: Migrate to ES module and organize dependencies 2023-07-15 02:35:56 +00:00
js-resources.gresource.xml environment: Split dependencies loading into a new file 2023-07-15 02:35:56 +00:00
meson.build
portal-resources.gresource.xml