{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":618993247,"defaultBranch":"master","name":"rust-pcre2","ownerLogin":"fish-shell","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2023-03-25T23:59:20.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/1828073?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1716252617.0","currentOid":""},"activityList":{"items":[{"before":null,"after":"15b216c6653767714956d6da1f79e5c2344fe316","ref":"refs/heads/env_pcre2_sys_static","pushedAt":"2024-05-21T00:50:17.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"mqudsi","name":"Mahmoud Al-Qudsi","path":"/mqudsi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/606923?s=80&v=4"},"commit":{"message":"Match upstream PCRE2_SYS_STATIC env variable behavior\n\nUpstream pcre2-sys crate has tri-state behavior for the PCRE2_SYS_STATIC\nenvironment variable, where 0 is force dynamic linking, 1 is force static\nlinking, otherwise it is based off the heuristic.\n\nWe *do* have the STATIC_PCRE2 feature that upstream doesn't have, but the\nbenefit of an environment variable is that a) it can be set for transitive\ndependencies, b) it can be set without modifying any code or even locally\nchecking out the project.\n\nThis does effectively give PCRE2_SYS_STATIC=0 a veto over the STATIC_PCRE2\nfeature, but that's probably preferable since it gives maximum control to the\nperson ultimately building the downstream app (i.e. fish).","shortMessageHtmlLink":"Match upstream PCRE2_SYS_STATIC env variable behavior"}},{"before":"529780ed1081f2419e83dc2eaef4e4a6ddac9356","after":"f0e5adb2a43559e10fcfdcb7b099978221333a30","ref":"refs/heads/utf32","pushedAt":"2024-02-04T03:32:15.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"ridiculousfish","name":"Peter Ammon","path":"/ridiculousfish","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/920838?s=80&v=4"},"commit":{"message":"Update the CI workflow to build and test UTF32","shortMessageHtmlLink":"Update the CI workflow to build and test UTF32"}},{"before":"73457b57ee3a2650b507fa93b52da8c417d111f6","after":"529780ed1081f2419e83dc2eaef4e4a6ddac9356","ref":"refs/heads/utf32","pushedAt":"2024-02-04T02:20:00.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"ridiculousfish","name":"Peter Ammon","path":"/ridiculousfish","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/920838?s=80&v=4"},"commit":{"message":"Update the CI workflow to build and test UTF32","shortMessageHtmlLink":"Update the CI workflow to build and test UTF32"}},{"before":null,"after":"73457b57ee3a2650b507fa93b52da8c417d111f6","ref":"refs/heads/utf32","pushedAt":"2024-02-03T23:07:20.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"ridiculousfish","name":"Peter Ammon","path":"/ridiculousfish","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/920838?s=80&v=4"},"commit":{"message":"Add support for capture groups and substring replacement\n\nThis adds a new regex function `capture`, which captures matching\nsubstrings, using a new type `Captures`.\n\nIt also adds new functions `replace` and `replace_all`, allowing\nsubstring replacement.","shortMessageHtmlLink":"Add support for capture groups and substring replacement"}},{"before":"824dd1460562f7b724a9acef218d4edb2ed7c289","after":"813a4267546e5ca8ff349c9c67d65e52a82172d2","ref":"refs/heads/master","pushedAt":"2023-06-30T01:27:55.000Z","pushType":"push","commitsCount":6,"pusher":{"login":"ridiculousfish","name":"Peter Ammon","path":"/ridiculousfish","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/920838?s=80&v=4"},"commit":{"message":"Correct substitute behavior on reallocation and add tests\n\nThis fixes the following issue in replace_impl: the call to\ntry_reserve passed in a difference of capacities, but try_reserve\nexpects a difference between the desired capacity and the length.\nBecause the initial capacity was nonzero but the length was zero, this\ncaused us to reserve less capacity than we ought to have, leading to an\nOOB write.\n\nFix this by reworking replace_impl to have less unsafe code. Now we zero\ninitialize the buffer, but we also prefer a stack buffer so we may save\nan allocation - probably a wash overall.\n\nAdd a test for this case.","shortMessageHtmlLink":"Correct substitute behavior on reallocation and add tests"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAET08hKgA","startCursor":null,"endCursor":null}},"title":"Activity ยท fish-shell/rust-pcre2"}