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 dbusServices/extensions: Load preferences as module 2023-07-06 18:41:29 +00:00
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 portalHelper: Port to ESM 2023-06-21 13:26:42 +02:00
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 extensions-app: Move Extensions app to new subproject 2020-03-27 23:33:30 +00:00
portal-resources.gresource.xml js/portal-resources: Add missing fileUtils to js path 2022-11-03 18:02:27 +00:00