{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":616246936,"defaultBranch":"main","name":"cosmo-gcc-plugin","ownerLogin":"ahgamut","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2023-03-20T01:59:57.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/41098605?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1688281247.0","currentOid":""},"activityList":{"items":[{"before":"3c1441ae97f0040fec6c322f4f319d287a993ec3","after":"748e7557f4322c2765faf0fcaed1f1479f4f756a","ref":"refs/heads/gccpatch","pushedAt":"2023-09-24T10:55:16.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ahgamut","name":"Gautham","path":"/ahgamut","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41098605?s=80&v=4"},"commit":{"message":"added duff's device and fallthrough","shortMessageHtmlLink":"added duff's device and fallthrough"}},{"before":"8a265664abb652cf62ea5236d69b02a3cf55d949","after":"3c1441ae97f0040fec6c322f4f319d287a993ec3","ref":"refs/heads/gccpatch","pushedAt":"2023-09-23T21:59:49.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ahgamut","name":"Gautham","path":"/ahgamut","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41098605?s=80&v=4"},"commit":{"message":"update example for if within switch","shortMessageHtmlLink":"update example for if within switch"}},{"before":null,"after":"20968fc270f6365362d9a891e5557489e9d245c4","ref":"refs/heads/g++patch","pushedAt":"2023-07-02T07:00:47.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"ahgamut","name":"Gautham","path":"/ahgamut","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41098605?s=80&v=4"},"commit":{"message":"g++ examples","shortMessageHtmlLink":"g++ examples"}},{"before":"ee19ab69e4c069e538e6d23370b19c538646c7bf","after":"a3f4f594d5dd140f0ecac88f5705a3908edd7590","ref":"refs/heads/main","pushedAt":"2023-06-30T02:50:43.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ahgamut","name":"Gautham","path":"/ahgamut","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41098605?s=80&v=4"},"commit":{"message":"update README","shortMessageHtmlLink":"update README"}},{"before":"93921fe5cabf8ccfe7fd908d856a3b53cf32c18c","after":"8a265664abb652cf62ea5236d69b02a3cf55d949","ref":"refs/heads/gccpatch","pushedAt":"2023-06-30T02:50:01.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"ahgamut","name":"Gautham","path":"/ahgamut","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41098605?s=80&v=4"},"commit":{"message":"update README","shortMessageHtmlLink":"update README"}},{"before":"7fdeba307d5628c64a65e1d2cb6b11b092c63b59","after":"93921fe5cabf8ccfe7fd908d856a3b53cf32c18c","ref":"refs/heads/gccpatch","pushedAt":"2023-06-08T21:32:58.186Z","pushType":"push","commitsCount":1,"pusher":{"login":"ahgamut","name":"Gautham","path":"/ahgamut","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41098605?s=80&v=4"},"commit":{"message":"use #defines instead of static consts","shortMessageHtmlLink":"use #defines instead of static consts"}},{"before":"715d83c1d5ae7c0d5814e2ef6b6a3f104f3c6c9f","after":"7fdeba307d5628c64a65e1d2cb6b11b092c63b59","ref":"refs/heads/gccpatch","pushedAt":"2023-06-06T06:09:33.117Z","pushType":"push","commitsCount":1,"pusher":{"login":"ahgamut","name":"Gautham","path":"/ahgamut","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41098605?s=80&v=4"},"commit":{"message":"update README for initstruct\n\nalso use --gc-sections so the unused temporaries are trimmed","shortMessageHtmlLink":"update README for initstruct"}},{"before":null,"after":"715d83c1d5ae7c0d5814e2ef6b6a3f104f3c6c9f","ref":"refs/heads/gccpatch","pushedAt":"2023-06-05T03:32:33.654Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"ahgamut","name":"Gautham","path":"/ahgamut","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41098605?s=80&v=4"},"commit":{"message":"note that we've patched gcc","shortMessageHtmlLink":"note that we've patched gcc"}},{"before":"fc45ad0470709c7f3f657462525d4c6a3bbe7fe2","after":"ee19ab69e4c069e538e6d23370b19c538646c7bf","ref":"refs/heads/main","pushedAt":"2023-06-05T03:29:51.595Z","pushType":"push","commitsCount":66,"pusher":{"login":"ahgamut","name":"Gautham","path":"/ahgamut","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41098605?s=80&v=4"},"commit":{"message":"struct initializations should be a one-time thing\n\nso I call the functions with static structs twice, just to ensure the\ninitial values are not getting written twice.","shortMessageHtmlLink":"struct initializations should be a one-time thing"}},{"before":"aa7fdaa11f85eb0dcf5622138d022201fa1dfd40","after":"fc45ad0470709c7f3f657462525d4c6a3bbe7fe2","ref":"refs/heads/main","pushedAt":"2023-06-05T03:29:01.850Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"ahgamut","name":"Gautham","path":"/ahgamut","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41098605?s=80&v=4"},"commit":{"message":"update README","shortMessageHtmlLink":"update README"}},{"before":"98cd5bfe97c03931c4e4defa2a47601c49b9bcb2","after":"aa7fdaa11f85eb0dcf5622138d022201fa1dfd40","ref":"refs/heads/main","pushedAt":"2023-05-30T03:13:43.489Z","pushType":"push","commitsCount":1,"pusher":{"login":"ahgamut","name":"Gautham","path":"/ahgamut","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41098605?s=80&v=4"},"commit":{"message":"struct initializations should be a one-time thing\n\nso I call the functions with static structs twice, just to ensure the\ninitial values are not getting written twice.","shortMessageHtmlLink":"struct initializations should be a one-time thing"}},{"before":"ff0d1223d8de4f9cca5b9bd677d33b71eb3f76eb","after":"98cd5bfe97c03931c4e4defa2a47601c49b9bcb2","ref":"refs/heads/main","pushedAt":"2023-05-23T08:14:32.808Z","pushType":"push","commitsCount":3,"pusher":{"login":"ahgamut","name":"Gautham","path":"/ahgamut","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41098605?s=80&v=4"},"commit":{"message":"handle switch statements without defaults\n\nsuppose the switch statement does not have a default, and none of the\ncases match, then nothing in the switch should execute, ie we should\njump directly to the end of the switch statement (to the exit_label).\nthis commit adds that change and passes the test added in the previous\ncommit.","shortMessageHtmlLink":"handle switch statements without defaults"}},{"before":"356367fa08937a240326782558a10f555213737f","after":"ff0d1223d8de4f9cca5b9bd677d33b71eb3f76eb","ref":"refs/heads/main","pushedAt":"2023-05-21T19:33:36.207Z","pushType":"push","commitsCount":1,"pusher":{"login":"ahgamut","name":"Gautham","path":"/ahgamut","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41098605?s=80&v=4"},"commit":{"message":"only consider declarations that are close by","shortMessageHtmlLink":"only consider declarations that are close by"}},{"before":"a9d32671d352a3beb657bc0bcea6302d56660da6","after":"356367fa08937a240326782558a10f555213737f","ref":"refs/heads/main","pushedAt":"2023-05-21T19:07:47.788Z","pushType":"push","commitsCount":1,"pusher":{"login":"ahgamut","name":"Gautham","path":"/ahgamut","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41098605?s=80&v=4"},"commit":{"message":"example with switch inside switch\n\n- also removed a debug_tree","shortMessageHtmlLink":"example with switch inside switch"}},{"before":"54db69ded351fcd249ad9c7ec8c79939a87c340b","after":"a9d32671d352a3beb657bc0bcea6302d56660da6","ref":"refs/heads/main","pushedAt":"2023-05-21T18:56:37.132Z","pushType":"push","commitsCount":2,"pusher":{"login":"ahgamut","name":"Gautham","path":"/ahgamut","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41098605?s=80&v=4"},"commit":{"message":"preserve scoping for declarations within switch\n\nsometimes the body of the switch statement or a case statement may be a\nBIND_EXPR, in which case we need to take the proper steps to ensure we\npreserve the scoping information for GIMPLE to use later.","shortMessageHtmlLink":"preserve scoping for declarations within switch"}},{"before":"dd7c27dd11d64a5a112b7f132a3eaeb6cae3abfb","after":"54db69ded351fcd249ad9c7ec8c79939a87c340b","ref":"refs/heads/main","pushedAt":"2023-05-21T07:07:48.730Z","pushType":"push","commitsCount":2,"pusher":{"login":"ahgamut","name":"Gautham","path":"/ahgamut","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41098605?s=80&v=4"},"commit":{"message":"added example with everything","shortMessageHtmlLink":"added example with everything"}},{"before":"f7a18bb2106400b66813a2f9db673c103c2302c5","after":"dd7c27dd11d64a5a112b7f132a3eaeb6cae3abfb","ref":"refs/heads/main","pushedAt":"2023-05-21T06:22:35.925Z","pushType":"push","commitsCount":2,"pusher":{"login":"ahgamut","name":"Gautham","path":"/ahgamut","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41098605?s=80&v=4"},"commit":{"message":"separated the tests","shortMessageHtmlLink":"separated the tests"}},{"before":"9b054fc5c1dc092e333f73398da1973f69959f1a","after":"f7a18bb2106400b66813a2f9db673c103c2302c5","ref":"refs/heads/main","pushedAt":"2023-05-21T02:51:01.527Z","pushType":"push","commitsCount":2,"pusher":{"login":"ahgamut","name":"Gautham","path":"/ahgamut","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41098605?s=80&v=4"},"commit":{"message":"updated makefile to run tests\n\nwhat happens now is:\n\n- with -DUSING_PLUGIN, we compile the file with the plugin-specific\n modifications (the ACTUALLY, the static consts, and related), and\n create an object file modded_ex1.o\n- without -DUSING_PLUGIN, we create another object file result_ex1.o\n (and we have the correct macros for the constants in tmpconst.h)\n- we create the executables result_ex1 and modded_ex1, and check that\n their outputs are identical","shortMessageHtmlLink":"updated makefile to run tests"}},{"before":"d691aa31d323a779b474e5e3710fda13c14b8de2","after":"9b054fc5c1dc092e333f73398da1973f69959f1a","ref":"refs/heads/main","pushedAt":"2023-05-21T02:06:37.485Z","pushType":"push","commitsCount":4,"pusher":{"login":"ahgamut","name":"Gautham","path":"/ahgamut","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41098605?s=80&v=4"},"commit":{"message":"update examples to show unary op handling","shortMessageHtmlLink":"update examples to show unary op handling"}},{"before":"fb50c5b55e70a89118ca6a697f3a4ca174e8009f","after":"d691aa31d323a779b474e5e3710fda13c14b8de2","ref":"refs/heads/main","pushedAt":"2023-05-21T00:59:03.694Z","pushType":"push","commitsCount":2,"pusher":{"login":"ahgamut","name":"Gautham","path":"/ahgamut","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41098605?s=80&v=4"},"commit":{"message":"switch cases can now have unary-ops\n\nyou can have ~SIGINT and -SIGINT in the switch cases if you want","shortMessageHtmlLink":"switch cases can now have unary-ops"}},{"before":"0507f6856dabaa0c62e536c5f36f34bfd3e4f4c4","after":"fb50c5b55e70a89118ca6a697f3a4ca174e8009f","ref":"refs/heads/main","pushedAt":"2023-05-21T00:44:59.849Z","pushType":"push","commitsCount":1,"pusher":{"login":"ahgamut","name":"Gautham","path":"/ahgamut","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41098605?s=80&v=4"},"commit":{"message":"handle the unary bitwise complement\n\nsimilar to -VAR, we can also handle substitutions of ~VAR within any\nexpression -- I expect we can use this function commonly across all the\nplaces where a substitution is required...","shortMessageHtmlLink":"handle the unary bitwise complement"}},{"before":"4557a16b4782184c38dff25db17d603f1aa63b35","after":"0507f6856dabaa0c62e536c5f36f34bfd3e4f4c4","ref":"refs/heads/main","pushedAt":"2023-04-24T02:19:52.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ahgamut","name":"Gautham","path":"/ahgamut","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41098605?s=80&v=4"},"commit":{"message":"oops I forgot the signal constants","shortMessageHtmlLink":"oops I forgot the signal constants"}},{"before":"501d090be91e9756d096f3f8fa5d5104936fcca9","after":"4557a16b4782184c38dff25db17d603f1aa63b35","ref":"refs/heads/main","pushedAt":"2023-04-24T02:08:21.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ahgamut","name":"Gautham","path":"/ahgamut","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41098605?s=80&v=4"},"commit":{"message":"enable modding unary minus\n\nthe viless vi.c was using errno constants as below:\n\nreturn -E2BIG;\n\nthe plugin could not handle this, because the plugin could only\nsubstitute exact integer substitutions. now it can handle the unary\nminus, via an extra check. this changes enable viless to build without\nchanging any of the source code.","shortMessageHtmlLink":"enable modding unary minus"}},{"before":"9396fc084290b69f3f029eb8fe2dd4b1787cf373","after":"501d090be91e9756d096f3f8fa5d5104936fcca9","ref":"refs/heads/main","pushedAt":"2023-04-23T00:04:21.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ahgamut","name":"Gautham","path":"/ahgamut","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41098605?s=80&v=4"},"commit":{"message":"fix errors by compiling viless\n\nhttps://github.com/RaymiiOrg/viless\n\nviless is a minimal vi clone that builds with cosmopolitan. It has a\nswitch case usage with the baud constants, and I thought the plugin\nwould be able to handle it.\n\nFound a bug in the ifswitch plugin code -- if we have a switch statement\nwith cases but no default, then the plugin would crash unexpectedly. Now\nthere's a quick check for that.\n\nAlso I added the baud constants to tmpconst.h.","shortMessageHtmlLink":"fix errors by compiling viless"}},{"before":"f83e2bb106b9fb7a6846ad378ea0a313107f05cd","after":"9396fc084290b69f3f029eb8fe2dd4b1787cf373","ref":"refs/heads/main","pushedAt":"2023-03-27T02:32:26.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ahgamut","name":"Gautham","path":"/ahgamut","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41098605?s=80&v=4"},"commit":{"message":"update README","shortMessageHtmlLink":"update README"}},{"before":"db5d434c0fa4f4ae845191d8cecf5c2815ad5e7f","after":"f83e2bb106b9fb7a6846ad378ea0a313107f05cd","ref":"refs/heads/main","pushedAt":"2023-03-27T02:25:09.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ahgamut","name":"Gautham","path":"/ahgamut","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41098605?s=80&v=4"},"commit":{"message":"simplify to use ACTUALLY\n\nwe don't need to be able to substitute ALL the constants (although it\nshould be possible for most of them), we just need to account for those\nthat are most likely to be switch-cased or put as default values for\nstructs.\n\nSo we can't use SYMBOLIC anymore, instead we use a new macro called\nACTUALLY, and check for uses of that instead.\n\nThe main issue seems to be with declarations across a long swathe of\ncode or large expressions within macros, otherwise this is mostly okay.","shortMessageHtmlLink":"simplify to use ACTUALLY"}},{"before":"bd719ec190af3adada780e056334be6bcc7be103","after":"db5d434c0fa4f4ae845191d8cecf5c2815ad5e7f","ref":"refs/heads/main","pushedAt":"2023-03-26T19:21:38.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"ahgamut","name":"Gautham","path":"/ahgamut","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41098605?s=80&v=4"},"commit":{"message":"changes made while trying to build python\n\nexpressions within expressions are an issue, so are macros within macros\nthe function check_expr tries to go through expressions recursively to\nfigure out where patching is possible.\n\nalso fixed a horrible comparison mistake in subcontext.cc, now we use\nthe LOCATION_BEFORE2 macro everwhere","shortMessageHtmlLink":"changes made while trying to build python"}},{"before":"ba9f4b4984a6e80225f459c107fda6ba29663c19","after":"bd719ec190af3adada780e056334be6bcc7be103","ref":"refs/heads/main","pushedAt":"2023-03-25T21:08:54.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"ahgamut","name":"Gautham","path":"/ahgamut","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41098605?s=80&v=4"},"commit":{"message":"add READMEs","shortMessageHtmlLink":"add READMEs"}},{"before":"4772c9f17a171b2b19a0d68e62edd0ce1e6e33fc","after":"ba9f4b4984a6e80225f459c107fda6ba29663c19","ref":"refs/heads/main","pushedAt":"2023-03-25T18:36:41.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"ahgamut","name":"Gautham","path":"/ahgamut","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41098605?s=80&v=4"},"commit":{"message":"reset","shortMessageHtmlLink":"reset"}},{"before":"91d8995e925a32be36b472f668e098f2ea36e977","after":"4772c9f17a171b2b19a0d68e62edd0ce1e6e33fc","ref":"refs/heads/main","pushedAt":"2023-03-25T18:34:46.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"ahgamut","name":"Gautham","path":"/ahgamut","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/41098605?s=80&v=4"},"commit":{"message":"reset","shortMessageHtmlLink":"reset"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAADh4poCgA","startCursor":null,"endCursor":null}},"title":"Activity ยท ahgamut/cosmo-gcc-plugin"}