- 17 Sep, 2022 2 commits
-
-
Marco Trevisan authored
Signed-off-by:
Marco Trevisan (Treviño) <mail@3v1n0.net>
-
-
- 16 Sep, 2022 2 commits
-
-
Marco Trevisan authored
docs: Improve wording in documentation of g_unix_signal_source_new() See merge request !2900
-
Tom Levy authored
- Insert missing word "from". - Remove space between function name and "()" so syntax highlighting can recognise it as a function. - Avoid "you"/"your" when discussing the reentrancy issues of regular UNIX signal handlers, because it gives the false impression that these issues are applicable to g_unix_signal_source_new(). Unrelated: - Fix missing space in documentation of g_signal_new_class_handler().
-
- 15 Sep, 2022 4 commits
-
-
Matthias Clasen authored
ci: Expose the coverage report and docs as links in the MR's See merge request !2820
-
Marco Trevisan authored
-
Marco Trevisan authored
gitlab has coverage integration in MRs, but we need a cobertura formatted XML files (each must be less than 10 MB [1]) to show it, so generate it using a python script and inform gitlab about it. See https://docs.gitlab.com/ee/ci/testing/test_coverage_visualization.html [1] https://gitlab.com/gitlab-org/gitlab/-/issues/328772#note_840831654
-
Marco Trevisan authored
These are needed to be able to get cobertura reports in gitlab.
-
- 14 Sep, 2022 1 commit
-
-
Marco Trevisan authored
It's making handier to check how changes are tested.
-
- 13 Sep, 2022 7 commits
-
-
-
Sebastian Dröge authored
Revert "Merge branch 'wip/smcv/deprecated-construct-prop' into 'main'" See merge request !2890
-
Sebastian Dröge authored
This reverts merge request !2888
-
Sebastian Dröge authored
gobject: Only emit deprecation warnings for user-specified properties Closes #2748 See merge request !2888
-
Simon McVittie authored
Reproduces: #2748 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
If a deprecated property only gets set because it is G_PARAM_CONSTRUCT or G_PARAM_CONSTRUCT_ONLY, then there is nothing for the library user to fix, and we should not emit a deprecation warning. Resolves: #2748 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
-
- 12 Sep, 2022 23 commits
-
-
Marco Trevisan authored
GRegex flags fixes and cleanups Closes gtksourceview#283, #2741, #2729, #2688 e gtksourceview#278 See merge request !2878
-
-
Xavier Claessens authored
meson: Set install_tag on all tools See merge request !2882
-
Xavier Claessens authored
Those tools are not needed at runtime for typical applications, distributions typically package them separately. This makes `meson install --tag runtime` skip installation of those tools. Omitting `--tag` argument will still install them, as well as with `--tag bin,bin-devel`. See https://mesonbuild.com/Installing.html#installation-tags.
-
Marco Trevisan authored
-
Marco Trevisan authored
Do not store jit status for regex unless during initial compilation. After that, decide whether to use it depending on matching options. In fact there are some matching options that are incompatible with JIT, as the PCRE2 docs states: Setting PCRE2_ANCHORED or PCRE2_ENDANCHORED at match time is not supported by the just-in-time (JIT) compiler. If it is set, JIT matching is disabled and the interpretive code in pcre2_match() is run. Apart from PCRE2_NO_JIT (obviously), the remaining options are supported for JIT matching. Fixes: gtksourceview#283
-
Marco Trevisan authored
-
Marco Trevisan authored
-
Marco Trevisan authored
There's no much point of pre-allocating offsets given that we're doing this when needed if only have matches to store. So let's just allocate the spaces for the dummy offset we depend on, while allocate the others on demand.
-
Marco Trevisan authored
While the ovector count would include all the allocated space, we only care about the actual match values, so avoid wasting allocations and just use the ones we need to hold the offsets.
-
Marco Trevisan authored
This is handled by the syscall underneath, but we can just avoid a call cheaply.
-
Marco Trevisan authored
In case PCRE2 returns an empty match This can be easily tested by initializing the initial match data to a value that is less than the expected match values (e.g. by calling pcre2_match_data_create (1, NULL)), but we can't do it in our tests without bigger changes.
-
Marco Trevisan authored
We're using int for every size value while PCRE uses uint_32t or PCRE2_SIZE (size_t in most platforms), let's use the same types to avoid using different signs.
-
Marco Trevisan authored
In case recalc_match_offsets() failed we were just returning, but in such case, per the documentation we should still set the match_info (if provided) and free the pcre2 code instance. So let's just break the loop we're in it, as if we we've no matches set. This also avoids re-allocating the offsets array and potentially accessing to unset data.
-
Marco Trevisan authored
In case we're getting NO-MATCH "errors", we were still recomputing the match offsets and taking decisions based on that, that might lead to undefined behavior. Avoid this by just returning early a FALSE result (but with no error) in case there's no result to proceed on. Fixes: #2741
-
Marco Trevisan authored
Since it had no explicit annotation, g-i was defaulting to transfer-full while in this case the GRegex is owned by the GMatchInfo.
-
-
Marco Trevisan authored
As per the PCRE2 port we still used to try to map the old GRegex flags (PCRE1 based) with the new PCRE2 ones, but doing that we were also mixing flags with enums, leading to unexpected behaviors when trying to get new line and BSR options out of bigger flags arrays. So, avoid doing any mapping and store the values as native PCRE2 flags internally and converting them back only when requested. This fixes some regressions on newline handling. Fixes: #2729 Fixes: #2688 Fixes: gtksourceview#278
-
Marco Trevisan authored
-
Marco Trevisan authored
In case of failures they give a better info.
-
-
Daniel Mustieles García authored
-
Daniel Mustieles García authored
-
- 11 Sep, 2022 1 commit
-
-