gnome-shell/js/misc
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
..
animationUtils.js animationUtils: Group together various animation helpers 2023-07-15 02:35:56 +00:00
config.js.in build: Remove Soup2 support 2023-05-26 19:05:22 +00:00
dateUtils.js dateUtils: Refactor so all utilities use cached local timezone 2023-07-07 18:58:35 -07:00
dbusUtils.js js: Split gi imports to be on new lines to prepare for ES modules 2023-06-21 04:50:33 -07:00
dependencies.js dependencies: Migrate to ES module and organize dependencies 2023-07-15 02:35:56 +00:00
extensionUtils.js extensionUtils: Stop using RegExp for stack parsing 2023-07-15 11:07:12 +00:00
fileUtils.js js: Split gi imports to be on new lines to prepare for ES modules 2023-06-21 04:50:33 -07:00
gnomeSession.js endSessionDialog: Only show logout inhibiting apps 2021-02-24 15:31:03 +00:00
history.js Adopt EventEmitter class instead of injecting Signal methods 2022-07-04 18:30:49 -04:00
ibusManager.js js: Split gi imports to be on new lines to prepare for ES modules 2023-06-21 04:50:33 -07:00
inputMethod.js js: Split gi imports to be on new lines to prepare for ES modules 2023-06-21 04:50:33 -07:00
introspect.js js: Split gi imports to be on new lines to prepare for ES modules 2023-06-21 04:50:33 -07:00
jsParse.js jsParse: Make getCompletions() asynchronous 2023-07-14 12:36:53 +00:00
keyboardManager.js js: Split gi imports to be on new lines to prepare for ES modules 2023-06-21 04:50:33 -07:00
loginManager.js js: Split gi imports to be on new lines to prepare for ES modules 2023-06-21 04:50:33 -07:00
meson.build build: Remove Soup2 support 2023-05-26 19:05:22 +00:00
modemManager.js js: Fix linting errors from line shifts 2023-06-21 04:50:33 -07:00
objectManager.js js: Split gi imports to be on new lines to prepare for ES modules 2023-06-21 04:50:33 -07:00
params.js cleanup: Only omit braces for single-line blocks 2019-11-11 19:25:14 +00:00
parentalControlsManager.js js: Split gi imports to be on new lines to prepare for ES modules 2023-06-21 04:50:33 -07:00
permissionStore.js
signals.js Adopt EventEmitter class instead of injecting Signal methods 2022-07-04 18:30:49 -04:00
signalTracker.js js: Split gi imports to be on new lines to prepare for ES modules 2023-06-21 04:50:33 -07:00
smartcardManager.js cleanup: Minimize deep_unpack() usage 2022-08-10 10:29:24 +00:00
systemActions.js js: Fix linting errors from line shifts 2023-06-21 04:50:33 -07:00
util.js animationUtils: Group together various animation helpers 2023-07-15 02:35:56 +00:00
weather.js js: Split gi imports to be on new lines to prepare for ES modules 2023-06-21 04:50:33 -07:00