{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":9176918,"defaultBranch":"master","name":"shader-minifier","ownerLogin":"laurentlb","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2013-04-02T18:29:09.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/485572?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1715814910.0","currentOid":""},"activityList":{"items":[{"before":"d6f4086b964b207cd401296c7fff242a8eb2111f","after":"2ba0f54d4bba6e75cefa4bce20a84d9ebec2fce0","ref":"refs/heads/master","pushedAt":"2024-05-23T00:19:55.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"eldritchconundrum","name":"Eldritch Conundrum","path":"/eldritchconundrum","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/188990?s=80&v=4"},"commit":{"message":"Checker overhaul: Compile tests with glslang, fix tests, compile golden tests (#400)\n\n- Checker:\r\n - Fix 9 tests/unit/ compilation failures caused by empty minifier output\r\n - Don't fail on compiler warnings\r\n - Use glslang as the shader compiler by default\r\n - Support shader stages and non-compiled unit tests\r\n - Compile golden tests as specified in compile.txt\r\n - Support Shadertoys and HLSL\r\n- Tests:\r\n - Fix compilation failures caused by use of reserved keywords\r\n - Fix compilation failures by adding appropriate #version directives\r\n - Misc. fixes where the test files were not valid shaders\r\n- `-linux` project files: Use .NET Framework v4.8 for OpenTK.dll\r\ncompatibility","shortMessageHtmlLink":"Checker overhaul: Compile tests with glslang, fix tests, compile gold…"}},{"before":"d5c4a66f474d8ec8f112f8b1f21ffe25ac902259","after":null,"ref":"refs/heads/pow2","pushedAt":"2024-05-15T23:15:10.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"eldritchconundrum","name":"Eldritch Conundrum","path":"/eldritchconundrum","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/188990?s=80&v=4"}},{"before":"5b9066c2a08620a3b50a20683efce88a02a1ebe9","after":"d6f4086b964b207cd401296c7fff242a8eb2111f","ref":"refs/heads/master","pushedAt":"2024-05-15T23:13:58.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"eldritchconundrum","name":"Eldritch Conundrum","path":"/eldritchconundrum","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/188990?s=80&v=4"},"commit":{"message":"Rewrite pow(x, 1.0) as x (#399)","shortMessageHtmlLink":"Rewrite pow(x, 1.0) as x (#399)"}},{"before":"f98496b78f18ddd596cb1fad9b210169ad5321c4","after":"d5c4a66f474d8ec8f112f8b1f21ffe25ac902259","ref":"refs/heads/pow2","pushedAt":"2024-05-15T23:09:20.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"eldritchconundrum","name":"Eldritch Conundrum","path":"/eldritchconundrum","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/188990?s=80&v=4"},"commit":{"message":"Fixup","shortMessageHtmlLink":"Fixup"}},{"before":null,"after":"f98496b78f18ddd596cb1fad9b210169ad5321c4","ref":"refs/heads/pow2","pushedAt":"2024-05-15T23:07:19.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"eldritchconundrum","name":"Eldritch Conundrum","path":"/eldritchconundrum","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/188990?s=80&v=4"},"commit":{"message":"Rewrite pow(x, 1.0) as x","shortMessageHtmlLink":"Rewrite pow(x, 1.0) as x"}},{"before":"1f8e7a935c4a0bf6c30b4d7e90f09709b3b8e55a","after":"5b9066c2a08620a3b50a20683efce88a02a1ebe9","ref":"refs/heads/master","pushedAt":"2024-05-13T20:47:11.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"laurentlb","name":"Laurent Le Brun","path":"/laurentlb","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/485572?s=80&v=4"},"commit":{"message":"Remove unnecessary parentheses between ? and : in ternary expressions (#396)\n\nThe rules for how `? :` parse:\r\n- everything between `?` and `:` is parsed as if grouped (just like `(\r\n)` and `{ }`), so the parens can always be omitted from the middle\r\nexpression.\r\n- The entire `? expr :` is parsed as if it is one whole binary operator\r\nin relation to the expressions on either side of it, according to normal\r\nprecedence rules, thus `?:` gets its spot in the precedence table in the\r\nspec despite its more complex grammar.","shortMessageHtmlLink":"Remove unnecessary parentheses between ? and : in ternary expressions ("}},{"before":"9141fe7adb866a73daef6a40f93c1ce8799a206a","after":"37431fca8bdabaf976eeb3f6107a45596e246cd8","ref":"refs/heads/len","pushedAt":"2024-05-12T17:34:46.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"laurentlb","name":"Laurent Le Brun","path":"/laurentlb","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/485572?s=80&v=4"},"commit":{"message":"fix build","shortMessageHtmlLink":"fix build"}},{"before":null,"after":"9141fe7adb866a73daef6a40f93c1ce8799a206a","ref":"refs/heads/len","pushedAt":"2024-05-12T17:12:28.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"laurentlb","name":"Laurent Le Brun","path":"/laurentlb","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/485572?s=80&v=4"},"commit":{"message":"Structs: allow field names that look like vec4 fields in some cases\n\ne.g. we can rename `ab` to `wz` in `struct Foo{int ab;}`","shortMessageHtmlLink":"Structs: allow field names that look like vec4 fields in some cases"}},{"before":"39fb7bd308d54f23de9eb6635b5a5cc27f029ffd","after":null,"ref":"refs/heads/len","pushedAt":"2024-05-12T17:12:22.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"laurentlb","name":"Laurent Le Brun","path":"/laurentlb","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/485572?s=80&v=4"}},{"before":"40dae3cbc109168d2bc3f148403c32619d659e56","after":"1f8e7a935c4a0bf6c30b4d7e90f09709b3b8e55a","ref":"refs/heads/master","pushedAt":"2024-05-12T16:39:29.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"laurentlb","name":"Laurent Le Brun","path":"/laurentlb","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/485572?s=80&v=4"},"commit":{"message":"Remove the `--smoothstep` flag (#391)\n\nDespite our efforts, it's very difficult to find a case where this\r\noptimization actually reduces the size.\r\n\r\nAlso, remove useless parens and fix the CI badge link.","shortMessageHtmlLink":"Remove the --smoothstep flag (#391)"}},{"before":"3be5ac2c3e8433382c08844f9f1b73bf16b88007","after":"c2c5c73fb86d63b6562dc37d6136a464b7c0faf4","ref":"refs/heads/reassignments","pushedAt":"2024-05-12T16:34:20.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"laurentlb","name":"Laurent Le Brun","path":"/laurentlb","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/485572?s=80&v=4"},"commit":{"message":"Merge branch 'master' into reassignments","shortMessageHtmlLink":"Merge branch 'master' into reassignments"}},{"before":"4f0f567138796926ad7004179dff349dda197731","after":"40dae3cbc109168d2bc3f148403c32619d659e56","ref":"refs/heads/master","pushedAt":"2024-05-12T16:33:32.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"laurentlb","name":"Laurent Le Brun","path":"/laurentlb","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/485572?s=80&v=4"},"commit":{"message":"distance(x,y) => length(x-y) (#392)","shortMessageHtmlLink":"distance(x,y) => length(x-y) (#392)"}},{"before":null,"after":"39fb7bd308d54f23de9eb6635b5a5cc27f029ffd","ref":"refs/heads/len","pushedAt":"2024-05-12T16:20:34.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"laurentlb","name":"Laurent Le Brun","path":"/laurentlb","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/485572?s=80&v=4"},"commit":{"message":"distance(x,y) => length(x-y)","shortMessageHtmlLink":"distance(x,y) => length(x-y)"}},{"before":null,"after":"3be5ac2c3e8433382c08844f9f1b73bf16b88007","ref":"refs/heads/reassignments","pushedAt":"2024-05-12T16:06:18.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"laurentlb","name":"Laurent Le Brun","path":"/laurentlb","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/485572?s=80&v=4"},"commit":{"message":"Remove the `--smoothstep` flag\n\nDespite our efforts, it's very difficult to find a case where this optimization actually reduces the size.","shortMessageHtmlLink":"Remove the --smoothstep flag"}},{"before":null,"after":"8aa12da07c0a5d00946283de533b5dbab80960c8","ref":"refs/heads/pow","pushedAt":"2024-05-12T14:42:14.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"eldritchconundrum","name":"Eldritch Conundrum","path":"/eldritchconundrum","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/188990?s=80&v=4"},"commit":{"message":"Rewrite pow(x, 1.0) as x","shortMessageHtmlLink":"Rewrite pow(x, 1.0) as x"}},{"before":"e16c8ab89cdfe1f3b78f0752e346d9e4154976fa","after":null,"ref":"refs/heads/misc","pushedAt":"2024-05-12T13:33:36.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"eldritchconundrum","name":"Eldritch Conundrum","path":"/eldritchconundrum","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/188990?s=80&v=4"}},{"before":"c526918ba5a7355d43b65e004ce122a9f9eb3146","after":"4f0f567138796926ad7004179dff349dda197731","ref":"refs/heads/master","pushedAt":"2024-05-12T13:33:33.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"eldritchconundrum","name":"Eldritch Conundrum","path":"/eldritchconundrum","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/188990?s=80&v=4"},"commit":{"message":"Misc improvements (#389)\n\n* Use an active pattern to desugar compound assignments.\r\n* Change bool isTopLevel into an enum for readability\r\n* Change the arg-inlining test to go back to a more readable state\r\n* Reuse varUsesInStmt more","shortMessageHtmlLink":"Misc improvements (#389)"}},{"before":null,"after":"e16c8ab89cdfe1f3b78f0752e346d9e4154976fa","ref":"refs/heads/misc","pushedAt":"2024-05-12T13:16:20.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"eldritchconundrum","name":"Eldritch Conundrum","path":"/eldritchconundrum","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/188990?s=80&v=4"},"commit":{"message":"Misc improvements\n\n* Use an active pattern to desugar compound assignments.\n* Change bool isTopLevel into an enum for readability\n* Change the arg-inlining test to go back to a more readable state\n* Reuse varUsesInStmt more","shortMessageHtmlLink":"Misc improvements"}},{"before":"63954151ef5854d5b62062e15fbe6f96df9a0d6c","after":null,"ref":"refs/heads/ren","pushedAt":"2024-05-12T11:56:06.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"eldritchconundrum","name":"Eldritch Conundrum","path":"/eldritchconundrum","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/188990?s=80&v=4"}},{"before":"7565da8a4e1e1e34834463382a73506e6a517ce7","after":"c526918ba5a7355d43b65e004ce122a9f9eb3146","ref":"refs/heads/master","pushedAt":"2024-05-12T11:43:41.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"laurentlb","name":"Laurent Le Brun","path":"/laurentlb","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/485572?s=80&v=4"},"commit":{"message":"Shadow variables inside loops and if statements (#387)\n\nIn the past, we used the shadowing mechanism only when entering\r\nfunctions. Now, we do if in loops and if statements too.\r\n\r\nNote that scopes often don't start at the blocks (curly braces). In a\r\nfunction, arguments are part of the function body scope. In a for-loop,\r\nthe init declaration is part if the for-loop body too, even if there are\r\ncurly braces. For this reason, we don't apply shadowing at the block\r\nlevel.\r\n\r\nFixes https://github.com/laurentlb/shader-minifier/issues/382","shortMessageHtmlLink":"Shadow variables inside loops and if statements (#387)"}},{"before":"871c7878662aeb0527eada86e2c8779376cfa49b","after":"63954151ef5854d5b62062e15fbe6f96df9a0d6c","ref":"refs/heads/ren","pushedAt":"2024-05-12T11:39:50.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"laurentlb","name":"Laurent Le Brun","path":"/laurentlb","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/485572?s=80&v=4"},"commit":{"message":"update linux fsproj","shortMessageHtmlLink":"update linux fsproj"}},{"before":"5caa61615e20ca5307498c7fe1f9398dfc8b38ef","after":null,"ref":"refs/heads/compound","pushedAt":"2024-05-12T00:59:53.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"eldritchconundrum","name":"Eldritch Conundrum","path":"/eldritchconundrum","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/188990?s=80&v=4"}},{"before":"7b0fbd388aee368f6c90b03e59e89934fa1edaf1","after":"871c7878662aeb0527eada86e2c8779376cfa49b","ref":"refs/heads/ren","pushedAt":"2024-05-11T22:41:36.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"laurentlb","name":"Laurent Le Brun","path":"/laurentlb","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/485572?s=80&v=4"},"commit":{"message":"revert change in commands.txt","shortMessageHtmlLink":"revert change in commands.txt"}},{"before":"7095a46a652f39bdc711352f7536cd5cdc1f83ca","after":"7b0fbd388aee368f6c90b03e59e89934fa1edaf1","ref":"refs/heads/ren","pushedAt":"2024-05-11T22:12:45.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"laurentlb","name":"Laurent Le Brun","path":"/laurentlb","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/485572?s=80&v=4"},"commit":{"message":"update .expected test files","shortMessageHtmlLink":"update .expected test files"}},{"before":"8ae5343a211dfa2f4a6ebd18ee9a2e30ce9891b6","after":"7565da8a4e1e1e34834463382a73506e6a517ce7","ref":"refs/heads/master","pushedAt":"2024-05-11T22:08:56.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"laurentlb","name":"Laurent Le Brun","path":"/laurentlb","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/485572?s=80&v=4"},"commit":{"message":"Support compound assignments in reassignment detection (#384)\n\nCo-authored-by: Laurent Le Brun ","shortMessageHtmlLink":"Support compound assignments in reassignment detection (#384)"}},{"before":"25f01358e2a592df5dec15de94b5d605d9bcb143","after":"7095a46a652f39bdc711352f7536cd5cdc1f83ca","ref":"refs/heads/ren","pushedAt":"2024-05-11T22:08:35.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"laurentlb","name":"Laurent Le Brun","path":"/laurentlb","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/485572?s=80&v=4"},"commit":{"message":"fix build","shortMessageHtmlLink":"fix build"}},{"before":"555e783f739c8226161e598887003b4637020a5b","after":"5caa61615e20ca5307498c7fe1f9398dfc8b38ef","ref":"refs/heads/compound","pushedAt":"2024-05-11T22:03:44.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"laurentlb","name":"Laurent Le Brun","path":"/laurentlb","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/485572?s=80&v=4"},"commit":{"message":"Merge branch 'master' into compound","shortMessageHtmlLink":"Merge branch 'master' into compound"}},{"before":null,"after":"25f01358e2a592df5dec15de94b5d605d9bcb143","ref":"refs/heads/ren","pushedAt":"2024-05-11T21:57:32.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"laurentlb","name":"Laurent Le Brun","path":"/laurentlb","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/485572?s=80&v=4"},"commit":{"message":"Shadow variables inside for loops and if statements\n\nIn the past, we used the shadowing mechanism only when entering functions. Now, we do if in for loops and if statements too.\n\nNote that scopes often don't start at the blocks (curly braces). In a function, arguments are part of the function body scope. In a for-loop, the init declaration is part if the for-loop body too, even if there are curly braces. For this reason, we don't apply shadowing at the block level.","shortMessageHtmlLink":"Shadow variables inside for loops and if statements"}},{"before":"1e1c7ecbb90142bf8d0c70560d3acff6ad217cee","after":"555e783f739c8226161e598887003b4637020a5b","ref":"refs/heads/compound","pushedAt":"2024-05-10T23:26:19.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"laurentlb","name":"Laurent Le Brun","path":"/laurentlb","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/485572?s=80&v=4"},"commit":{"message":"update compression logs","shortMessageHtmlLink":"update compression logs"}},{"before":"34eb3861aa65098b5a2833746939b50de32641fa","after":null,"ref":"refs/heads/fix-side-effects","pushedAt":"2024-05-10T23:25:01.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"eldritchconundrum","name":"Eldritch Conundrum","path":"/eldritchconundrum","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/188990?s=80&v=4"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEUXn_egA","startCursor":null,"endCursor":null}},"title":"Activity · laurentlb/shader-minifier"}