{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":623412709,"defaultBranch":"master","name":"Listlike-Data-Structures","ownerLogin":"needlesslygrim","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2023-04-04T10:17:57.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/78889625?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1684939239.911362","currentOid":""},"activityList":{"items":[{"before":"6a45a701c788f1b6f26cc6b267f04b951dcb55c2","after":"9a5cb43617159bd57a57e6060acc132b273647af","ref":"refs/heads/master","pushedAt":"2023-06-18T13:48:20.377Z","pushType":"push","commitsCount":1,"pusher":{"login":"needlesslygrim","name":"Erick Howard","path":"/needlesslygrim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/78889625?s=80&v=4"},"commit":{"message":"A few more changes to the C version\n\n- Started to use the `assert` macro instead of `debug_fatal` and `exit` everywhere for checks such as whether the `struct vec_t*` passed is NULL\n - `assert` now supports `__VA_ARGS__`\n- Reordered the vec functions to be more sensical\n- Made the CMake project use include directories, possibly in a stupid way","shortMessageHtmlLink":"A few more changes to the C version"}},{"before":"dc5ce149c001ea035541194297166247b87c8363","after":"6a45a701c788f1b6f26cc6b267f04b951dcb55c2","ref":"refs/heads/master","pushedAt":"2023-06-14T15:38:07.790Z","pushType":"push","commitsCount":1,"pusher":{"login":"needlesslygrim","name":"Erick Howard","path":"/needlesslygrim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/78889625?s=80&v=4"},"commit":{"message":"Wowee, many many changes after a long long time :^)\n\nTried to write some functional code for once, but I've probably still failed on that front. This should be the last of what I need to do on the C version, so I can probably get started on the C++ version.\n- Fully (afaik) implemented the vector functions, with proper handling for nullptrs etc\n - Shrinking and growing do work, currently it will expand by doing cap *= 2, and shrink when the cap >= len * 2\n - The shrink check is done every time the vector is modified, not sure about this but it should be fine\n - This seems to work, I tried with some for loops, in `main.c` right now\n - Fixed `vec_print()`, which was completely broken before\n- Fixed the compilation settings, as I'd messed up `CMakeLists.txt` and set `CMAKE_C_FLAGS_RELEASE` flags twice\n- Created `defs.h`\n - This holds a number of useful definitions\n - Rust-style integer types, u8, u16, usize, etc\n - Also holds definitions for xmalloc, xrealloc, and xcalloc\n - Has an assert macro, currently unused\n- Used `defs.h` to update the doubly linked list code (find and replace only)\n- Tried to fix the `clang-format` config, but didn't manage\n\nSigned-off-by: Divine Bicycle ","shortMessageHtmlLink":"Wowee, many many changes after a long long time :^)"}},{"before":"a91e5e6ab8ff3b9b13594adbf3493f6683b5dfe3","after":"dc5ce149c001ea035541194297166247b87c8363","ref":"refs/heads/master","pushedAt":"2023-05-28T15:22:28.341Z","pushType":"push","commitsCount":2,"pusher":{"login":"needlesslygrim","name":"Erick Howard","path":"/needlesslygrim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/78889625?s=80&v=4"},"commit":{"message":"Updated CMakeLists.txt\n\n- so that it uses the c2x std\n- and enforces gcc as the compiler, since afaik it has better support\n for new C/C++ versions, even though I prefer clang","shortMessageHtmlLink":"Updated CMakeLists.txt"}},{"before":"bb44c60e453428ef59dba25a5d325a8075617329","after":"a91e5e6ab8ff3b9b13594adbf3493f6683b5dfe3","ref":"refs/heads/master","pushedAt":"2023-05-24T15:39:38.367Z","pushType":"push","commitsCount":1,"pusher":{"login":"needlesslygrim","name":"Erick Howard","path":"/needlesslygrim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/78889625?s=80&v=4"},"commit":{"message":"Initial work on Vector\n- Moved doubly-linked-list to subfolder\n - Updated `CMakeLists.txt` to account for this\n- Created `vec` folder to store vector implemnetation\n - Implemented few basic functions","shortMessageHtmlLink":"Initial work on Vector"}},{"before":"e437897e03b881c176df0810ece5b778ba7804ce","after":"8505d5c988291a4e7c0019a543c12d837a5cece3","ref":"refs/heads/rust","pushedAt":"2023-05-24T14:48:05.858Z","pushType":"push","commitsCount":1,"pusher":{"login":"needlesslygrim","name":"Erick Howard","path":"/needlesslygrim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/78889625?s=80&v=4"},"commit":{"message":"Updated README","shortMessageHtmlLink":"Updated README"}},{"before":"288e0b16717558ec642c2f02130a465f348a5579","after":"ad3fac8849da0183ea2e23954ca4def487cf35e6","ref":"refs/heads/cpp","pushedAt":"2023-05-24T14:48:05.858Z","pushType":"push","commitsCount":1,"pusher":{"login":"needlesslygrim","name":"Erick Howard","path":"/needlesslygrim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/78889625?s=80&v=4"},"commit":{"message":"Updated README","shortMessageHtmlLink":"Updated README"}},{"before":"961442a796e8252a12db103d89026af5bede3d05","after":"bb44c60e453428ef59dba25a5d325a8075617329","ref":"refs/heads/master","pushedAt":"2023-05-24T14:48:05.858Z","pushType":"push","commitsCount":1,"pusher":{"login":"needlesslygrim","name":"Erick Howard","path":"/needlesslygrim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/78889625?s=80&v=4"},"commit":{"message":"Updated README","shortMessageHtmlLink":"Updated README"}},{"before":null,"after":"e437897e03b881c176df0810ece5b778ba7804ce","ref":"refs/heads/rust","pushedAt":"2023-05-24T14:40:39.911Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"needlesslygrim","name":"Erick Howard","path":"/needlesslygrim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/78889625?s=80&v=4"},"commit":{"message":"Started on Rust-rewrite, completely unfinished\n- Started, probably won't finish since I've grown\n slightly bored with implementing a\n doubly-linked-list by now\n- Will probably move onto a Vector","shortMessageHtmlLink":"Started on Rust-rewrite, completely unfinished"}},{"before":"d698cb01c30246bf45ac90ed6d1c8c6966df942f","after":"288e0b16717558ec642c2f02130a465f348a5579","ref":"refs/heads/cpp","pushedAt":"2023-05-21T06:46:38.241Z","pushType":"push","commitsCount":2,"pusher":{"login":"needlesslygrim","name":"Erick Howard","path":"/needlesslygrim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/78889625?s=80&v=4"},"commit":{"message":"Minor changes\n\n- Implemented a reverse method, which will reverse the list with the\n most efficient algorithm I could think up\n- Fixed a memory leak occuring in insert(), where a new node was created\n even if the user wanted to effectively push() a node, in which case we\n just call push() and return. This meant that the node created in\n insert() doesn't get cleaned up in the destructor\n- Fixed print() and printReversed(), which now print empty lists and\n lists with len = 1\n- Remove isValid(), because it is now pointless\n- Probably finished with the C++ version for now, since templates are\n horrible","shortMessageHtmlLink":"Minor changes"}},{"before":"2a15efcc7443dd4ec99ccec46b11593acdea3cc3","after":"d698cb01c30246bf45ac90ed6d1c8c6966df942f","ref":"refs/heads/cpp","pushedAt":"2023-05-14T15:24:08.738Z","pushType":"push","commitsCount":1,"pusher":{"login":"needlesslygrim","name":"Erick Howard","path":"/needlesslygrim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/78889625?s=80&v=4"},"commit":{"message":"Updated README once again, because I apparently can't do this all in one commit","shortMessageHtmlLink":"Updated README once again, because I apparently can't do this all in …"}},{"before":"2277d9fee94e47e88201b8b4cca5f59484c6ae8c","after":"961442a796e8252a12db103d89026af5bede3d05","ref":"refs/heads/master","pushedAt":"2023-05-14T15:23:30.726Z","pushType":"push","commitsCount":1,"pusher":{"login":"needlesslygrim","name":"Erick Howard","path":"/needlesslygrim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/78889625?s=80&v=4"},"commit":{"message":"Updated README once again, because I apparently can't do this all in one commit","shortMessageHtmlLink":"Updated README once again, because I apparently can't do this all in …"}},{"before":"7f2cf7f3508a28b9284a57d21e1d0335b83f65fd","after":"2a15efcc7443dd4ec99ccec46b11593acdea3cc3","ref":"refs/heads/cpp","pushedAt":"2023-05-14T15:20:56.153Z","pushType":"push","commitsCount":1,"pusher":{"login":"needlesslygrim","name":"Erick Howard","path":"/needlesslygrim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/78889625?s=80&v=4"},"commit":{"message":"Update README","shortMessageHtmlLink":"Update README"}},{"before":"52563ce2a3b06dbc358bb5e18827edb749fa12fc","after":"2277d9fee94e47e88201b8b4cca5f59484c6ae8c","ref":"refs/heads/master","pushedAt":"2023-05-14T15:18:32.804Z","pushType":"push","commitsCount":1,"pusher":{"login":"needlesslygrim","name":"Erick Howard","path":"/needlesslygrim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/78889625?s=80&v=4"},"commit":{"message":"Update README","shortMessageHtmlLink":"Update README"}},{"before":"c021f2e9c9b0d6b56d6cdaea25661ba67479cbbb","after":"7f2cf7f3508a28b9284a57d21e1d0335b83f65fd","ref":"refs/heads/cpp","pushedAt":"2023-05-14T15:11:36.840Z","pushType":"push","commitsCount":2,"pusher":{"login":"needlesslygrim","name":"Erick Howard","path":"/needlesslygrim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/78889625?s=80&v=4"},"commit":{"message":"Many changes! Started on fix of broken logic and C++ification of code\n\n- Started using exceptions for error handling\n- Fixed many logic bugs in the constructor, destructor and many of the other List methods\n- Created a a namespace for the doubly linked list\n- Created exceptions.h for custom exceptions\n- Made appropriate methods const\n- Implemented overloaded subscript operator for the List class and removed the get() method\n- Possibly other changes I've forgotten about","shortMessageHtmlLink":"Many changes! Started on fix of broken logic and C++ification of code"}},{"before":"d2a035e3f1fa17589e2c063543df6a4cab3e3c64","after":"c021f2e9c9b0d6b56d6cdaea25661ba67479cbbb","ref":"refs/heads/cpp","pushedAt":"2023-05-13T15:24:26.367Z","pushType":"push","commitsCount":1,"pusher":{"login":"needlesslygrim","name":"Erick Howard","path":"/needlesslygrim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/78889625?s=80&v=4"},"commit":{"message":"Updated gitignore and CMakeLists.txt","shortMessageHtmlLink":"Updated gitignore and CMakeLists.txt"}},{"before":"be4a2e3c2be0fa4bb7790f23d32b28aeee4f5751","after":"52563ce2a3b06dbc358bb5e18827edb749fa12fc","ref":"refs/heads/master","pushedAt":"2023-05-05T09:57:22.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"needlesslygrim","name":"Erick Howard","path":"/needlesslygrim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/78889625?s=80&v=4"},"commit":{"message":"Renamed the list and node struct\n\nAssociated functions renamed as well\n\nDone so when I (maybe) write a vector, I don't have to do it then","shortMessageHtmlLink":"Renamed the list and node struct"}},{"before":"52f911abcc4f84154315fc793da5bd29bfa7d687","after":"be4a2e3c2be0fa4bb7790f23d32b28aeee4f5751","ref":"refs/heads/master","pushedAt":"2023-04-29T01:04:46.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"needlesslygrim","name":"Erick Howard","path":"/needlesslygrim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/78889625?s=80&v=4"},"commit":{"message":"Updated gitignore (again)","shortMessageHtmlLink":"Updated gitignore (again)"}},{"before":"1f5d0d25a9bce9ab7eb61dcc075a427aa4c1b794","after":"52f911abcc4f84154315fc793da5bd29bfa7d687","ref":"refs/heads/master","pushedAt":"2023-04-29T01:01:37.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"needlesslygrim","name":"Erick Howard","path":"/needlesslygrim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/78889625?s=80&v=4"},"commit":{"message":"Updated main.c for testing the library","shortMessageHtmlLink":"Updated main.c for testing the library"}},{"before":"8e8446916a597b610a8b02187a747513a32c91f2","after":"1f5d0d25a9bce9ab7eb61dcc075a427aa4c1b794","ref":"refs/heads/master","pushedAt":"2023-04-20T02:43:57.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"needlesslygrim","name":"Erick Howard","path":"/needlesslygrim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/78889625?s=80&v=4"},"commit":{"message":"Update CMakeLists.txt from the CPP branch version","shortMessageHtmlLink":"Update CMakeLists.txt from the CPP branch version"}},{"before":"600c3b07d7b0d5e78d66d9bb8b76e3cc4da499dd","after":"8e8446916a597b610a8b02187a747513a32c91f2","ref":"refs/heads/master","pushedAt":"2023-04-20T02:28:02.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"needlesslygrim","name":"Erick Howard","path":"/needlesslygrim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/78889625?s=80&v=4"},"commit":{"message":"Update gitignore","shortMessageHtmlLink":"Update gitignore"}},{"before":"f26baaa9625002dc66a3c88106ca2f3695a6604e","after":"d2a035e3f1fa17589e2c063543df6a4cab3e3c64","ref":"refs/heads/cpp","pushedAt":"2023-04-20T02:24:38.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"needlesslygrim","name":"Erick Howard","path":"/needlesslygrim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/78889625?s=80&v=4"},"commit":{"message":"Edited README\n\nAdded info about the C++ version","shortMessageHtmlLink":"Edited README"}},{"before":"6e68ff50e62bd2bc62e4dd0a3b52f1e34c0ee518","after":"f26baaa9625002dc66a3c88106ca2f3695a6604e","ref":"refs/heads/cpp","pushedAt":"2023-04-20T01:36:27.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"needlesslygrim","name":"Erick Howard","path":"/needlesslygrim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/78889625?s=80&v=4"},"commit":{"message":"Fixed logic bug in insert function\n\n- Fixed the head's next being set to the old head, and the old head's next being set to the head, e.g. [0,1,0,1,0,1,0,1..], if printed\n\nAlso fixed compilation flags in CMakeLists.txt","shortMessageHtmlLink":"Fixed logic bug in insert function"}},{"before":"31fe5641c1151212839e99f2260e151429be5662","after":"6e68ff50e62bd2bc62e4dd0a3b52f1e34c0ee518","ref":"refs/heads/cpp","pushedAt":"2023-04-18T03:31:18.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"needlesslygrim","name":"Erick Howard","path":"/needlesslygrim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/78889625?s=80&v=4"},"commit":{"message":"Finished implementing methods in C++","shortMessageHtmlLink":"Finished implementing methods in C++"}},{"before":"ad39d4d320e56c57890d4399df4cc8cceb2dae5b","after":"31fe5641c1151212839e99f2260e151429be5662","ref":"refs/heads/cpp","pushedAt":"2023-04-12T03:25:16.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"needlesslygrim","name":"Erick Howard","path":"/needlesslygrim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/78889625?s=80&v=4"},"commit":{"message":"Rewrite basics in C++\n- Implement constructor for List and Node classes\n- Implement descructor for List class\n- Implement print functions for List and Node classes","shortMessageHtmlLink":"Rewrite basics in C++"}},{"before":null,"after":"ad39d4d320e56c57890d4399df4cc8cceb2dae5b","ref":"refs/heads/cpp","pushedAt":"2023-04-10T01:10:54.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"needlesslygrim","name":"Erick Howard","path":"/needlesslygrim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/78889625?s=80&v=4"},"commit":{"message":"Rewrite basics in C++\n- Implement constructor for List and Node classes\n- Implement descructor for List class\n- Implement print functions for List and Node classes","shortMessageHtmlLink":"Rewrite basics in C++"}},{"before":"402a7501802726ce83512cecb26d4b7b8d9fcf78","after":"600c3b07d7b0d5e78d66d9bb8b76e3cc4da499dd","ref":"refs/heads/master","pushedAt":"2023-04-08T08:11:11.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"needlesslygrim","name":"Erick Howard","path":"/needlesslygrim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/78889625?s=80&v=4"},"commit":{"message":"Change initialise_list function to simply create the list struct on the stack, and return it from the function","shortMessageHtmlLink":"Change initialise_list function to simply create the list struct on t…"}},{"before":"626cf9da31aa2ebcf1d4bf914e45346d1fe180cf","after":"402a7501802726ce83512cecb26d4b7b8d9fcf78","ref":"refs/heads/master","pushedAt":"2023-04-06T02:23:22.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"needlesslygrim","name":"Erick Howard","path":"/needlesslygrim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/78889625?s=80&v=4"},"commit":{"message":"Renamed CMake project\n- List -> list\n- cleaned up main.c","shortMessageHtmlLink":"Renamed CMake project"}},{"before":"0837d4ae7dc70edc602fcf5779fa65a0ff70131d","after":"626cf9da31aa2ebcf1d4bf914e45346d1fe180cf","ref":"refs/heads/master","pushedAt":"2023-04-05T13:14:48.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"needlesslygrim","name":"Erick Howard","path":"/needlesslygrim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/78889625?s=80&v=4"},"commit":{"message":"Change header definitions","shortMessageHtmlLink":"Change header definitions"}},{"before":"78ea6c89adff576a92a01f837fec24902b4b28f1","after":"0837d4ae7dc70edc602fcf5779fa65a0ff70131d","ref":"refs/heads/master","pushedAt":"2023-04-05T13:13:37.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"needlesslygrim","name":"Erick Howard","path":"/needlesslygrim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/78889625?s=80&v=4"},"commit":{"message":"Create GitHub workflow to format code on push","shortMessageHtmlLink":"Create GitHub workflow to format code on push"}},{"before":"700aed5c7bff4dd5cde6cd405eda1c44b4a27e4b","after":"78ea6c89adff576a92a01f837fec24902b4b28f1","ref":"refs/heads/master","pushedAt":"2023-04-05T13:08:22.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"needlesslygrim","name":"Erick Howard","path":"/needlesslygrim","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/78889625?s=80&v=4"},"commit":{"message":"Update format.yml","shortMessageHtmlLink":"Update format.yml"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"Y3Vyc29yOnYyOpK7MjAyMy0wNi0xOFQxMzo0ODoyMC4zNzcxMjFazwAAAAND3hLW","startCursor":"Y3Vyc29yOnYyOpK7MjAyMy0wNi0xOFQxMzo0ODoyMC4zNzcxMjFazwAAAAND3hLW","endCursor":"Y3Vyc29yOnYyOpK7MjAyMy0wNC0wNVQxMzowODoyMi4wMDAwMDBazwAAAAMSs2nT"}},"title":"Activity · needlesslygrim/Listlike-Data-Structures"}