{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":763203894,"defaultBranch":"master","name":"Ripes","ownerLogin":"federicovilla55","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2024-02-25T20:18:19.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/61495946?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1724950166.0","currentOid":""},"activityList":{"items":[{"before":"f6627af222ba4ff8bc2598eba682f47b6b573259","after":null,"ref":"refs/heads/Ripes_Wroking_Input_Type","pushedAt":"2024-08-29T16:49:26.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"federicovilla55","name":"Federico Villa","path":"/federicovilla55","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61495946?s=80&v=4"}},{"before":null,"after":"f6627af222ba4ff8bc2598eba682f47b6b573259","ref":"refs/heads/Ripes_Working_Input_Type","pushedAt":"2024-08-29T16:49:25.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"federicovilla55","name":"Federico Villa","path":"/federicovilla55","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61495946?s=80&v=4"},"commit":{"message":"Fix issue #304 (#360)\n\nThe issue #304 is related to WASM console input not working, as by pressing Enter, Return or Backspace key nothing happens. This was due to how those commands were handled: first it was checked that their text was non empty, then their keys were checked with the elements of the `Qt::Key` enumeration. The problem is that in WebAssembly the events related to those keys have an empty text, therefore the reported problem. I modified the logic behind the evaluation of those commands: in the `Console::keyPressEvent(QKeyEvent *e)` method there is an enumeration that used to handle just the arrow keys and the default case; I propose to handle the Return, Enter and Backspace keys differently from the rest of the commands, without checking if their related text is empty.","shortMessageHtmlLink":"Fix issue mortbopet#304 (mortbopet#360)"}},{"before":null,"after":"f6627af222ba4ff8bc2598eba682f47b6b573259","ref":"refs/heads/Ripes_Wroking_Input_Type","pushedAt":"2024-08-29T16:29:12.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"federicovilla55","name":"Federico Villa","path":"/federicovilla55","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61495946?s=80&v=4"},"commit":{"message":"Fix issue #304 (#360)\n\nThe issue #304 is related to WASM console input not working, as by pressing Enter, Return or Backspace key nothing happens. This was due to how those commands were handled: first it was checked that their text was non empty, then their keys were checked with the elements of the `Qt::Key` enumeration. The problem is that in WebAssembly the events related to those keys have an empty text, therefore the reported problem. I modified the logic behind the evaluation of those commands: in the `Console::keyPressEvent(QKeyEvent *e)` method there is an enumeration that used to handle just the arrow keys and the default case; I propose to handle the Return, Enter and Backspace keys differently from the rest of the commands, without checking if their related text is empty.","shortMessageHtmlLink":"Fix issue mortbopet#304 (mortbopet#360)"}},{"before":"17f7d76f342e1576f865112ea2d2a5e82d96036a","after":"4deccba0a468c9680c173280b0210fea4311717a","ref":"refs/heads/master","pushedAt":"2024-08-29T15:25:22.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"federicovilla55","name":"Federico Villa","path":"/federicovilla55","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61495946?s=80&v=4"},"commit":{"message":"Added Unit Tests\n\nAdded unit tests to verify that when the `brk` syscall is called with illegal arguments (causing a stack-heap collision), the syscall returns a non-zero value, indicating that it was not executed successfully.","shortMessageHtmlLink":"Added Unit Tests"}},{"before":"ef3fe5853595c6cb419438ef80d7738c4c8da780","after":"17f7d76f342e1576f865112ea2d2a5e82d96036a","ref":"refs/heads/master","pushedAt":"2024-08-01T19:48:08.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"federicovilla55","name":"Federico Villa","path":"/federicovilla55","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61495946?s=80&v=4"},"commit":{"message":"Merge branch 'mortbopet:master' into master","shortMessageHtmlLink":"Merge branch 'mortbopet:master' into master"}},{"before":"b0538aaa6839187ea0821dc77a4d017408f2c2b1","after":"b64ba80bbba7acdce15683a680cd7c8b10de36b4","ref":"refs/heads/WASM_with_Working_Input","pushedAt":"2024-08-01T19:12:21.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"federicovilla55","name":"Federico Villa","path":"/federicovilla55","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61495946?s=80&v=4"},"commit":{"message":"Merge branch 'mortbopet:master' into WASM_with_Working_Input","shortMessageHtmlLink":"Merge branch 'mortbopet:master' into WASM_with_Working_Input"}},{"before":"878087332afa3558dc8ca657f80a16ecdcf82818","after":"b0538aaa6839187ea0821dc77a4d017408f2c2b1","ref":"refs/heads/WASM_with_Working_Input","pushedAt":"2024-05-02T14:21:10.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"federicovilla55","name":"Federico Villa","path":"/federicovilla55","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61495946?s=80&v=4"},"commit":{"message":"Fix issue #304\n\nThe issue #304 is related to WASM console input not working, as by pressing Enter, Return or Backspace key nothing happens. This was due to how those commands were handled: first it was checked that their text was non empty, then their keys were checked with the elements of the `Qt::Key` enumeration. The problem is that in WebAssembly the events related to those keys have an empty text, therefore the reported problem. I modified the logic behind the evaluation of those commands: in the `Console::keyPressEvent(QKeyEvent *e)` method there is an enumeration that used to handle just the arrow keys and the default case; I propose to handle the Return, Enter and Backspace keys differently from the rest of the commands, without checking if their related text is empty.","shortMessageHtmlLink":"Fix issue mortbopet#304"}},{"before":null,"after":"878087332afa3558dc8ca657f80a16ecdcf82818","ref":"refs/heads/WASM_with_Working_Input","pushedAt":"2024-04-27T09:14:54.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"federicovilla55","name":"Federico Villa","path":"/federicovilla55","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61495946?s=80&v=4"},"commit":{"message":"Add CLI Support for Executing ELF and C Files (#348)\n\n* Add CLI Support for Executing ELF and C Files\r\n\r\nIn the Command Line Interface mode, although the possible execution file types are `c, asm, bin` (as shown by the command-line option `--t`), it is not possible to simulate `C` programs.\r\n\r\n```\r\nint Ripes::CLIRunner::processInput(): Assertion `false && \"Command-line support for this source type is not yet implemented\"' failed.\r\nAborted (core dumped)\r\n```\r\n\r\nThis has been fixed with the possibility to execute *RISC-V* `ELF` files too.\r\nIn the `clirunner.cpp` file I've added the logic to load three new source types: `C`, `InternalELF` and `ExternalELF`.\r\nFor an ELF file first a check is done to be sure that the specified file is valid for the selected processor and then the file is loaded with the method `loadElfFile`. I moved this method to the `programutilities.cpp` file, following what was done for loading binary files with the method `loadFlatBinaryFile`. The function was moved so that it can be used both by CLI and GUI.\r\nTo execute `C` programs first they are compiled using the already existing methods (such as `compileRaw()` from `ccmanager.cpp`), then they are converted as `ExternalELF` and loaded as mentioned above.\r\n\r\nSince I've noticed that running CLI programs can sometimes have problems with large addresses (that cannot fit in an `int` variable), I've changed the type of the `byteAddress` variable to `long`.\r\n\r\n* Added Documentation and Minor Improvements\r\n\r\nAdded detailed comments to the methods in `programutilities.h` and `programutilities.cpp`.\r\nApplied suggested improvements, such as adding `static` to a local function definition.","shortMessageHtmlLink":"Add CLI Support for Executing ELF and C Files (mortbopet#348)"}},{"before":"306e251a3a2efdff4ef64133a29c3ca4aafa3bd3","after":"ff652de17e9b74c811b6887d48b0d8b939890f6a","ref":"refs/heads/Ripes_CLI_enhanced","pushedAt":"2024-04-03T11:05:39.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"federicovilla55","name":"Federico Villa","path":"/federicovilla55","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61495946?s=80&v=4"},"commit":{"message":"Added Documentation and Minor Improvements\n\nAdded detailed comments to the methods in `programutilities.h` and `programutilities.cpp`.\nApplied suggested improvements, such as adding `static` to a local function definition.","shortMessageHtmlLink":"Added Documentation and Minor Improvements"}},{"before":null,"after":"b71f0ddd5d2d346cb97b28fd3f70fef55bb9b6b7","ref":"refs/heads/Ripes_CLI_with_STDIN","pushedAt":"2024-03-26T16:33:06.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"federicovilla55","name":"Federico Villa","path":"/federicovilla55","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61495946?s=80&v=4"},"commit":{"message":"Prevent release-based Github Actions from running on forks (#340)\n\n* Prevent release-based Github Actions from running on forks\r\n\r\nSince release-based actions currently require @mortbopet's account\r\ndetails, these actions automatically fail when run on forks. These have\r\nbeen prevented in this commit by adding a conditional that runs them\r\nonly for @mortbopet's repo.\r\n\r\nThis could be expanded in the future so that forks can use their own\r\naccount info to create releases.\r\n\r\n* Remove unnecessary conditionals","shortMessageHtmlLink":"Prevent release-based Github Actions from running on forks (mortbopet…"}},{"before":"b71f0ddd5d2d346cb97b28fd3f70fef55bb9b6b7","after":"306e251a3a2efdff4ef64133a29c3ca4aafa3bd3","ref":"refs/heads/Ripes_CLI_enhanced","pushedAt":"2024-03-16T14:28:23.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"federicovilla55","name":"Federico Villa","path":"/federicovilla55","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61495946?s=80&v=4"},"commit":{"message":"Add CLI Support for Executing ELF and C Files\n\nIn the Command Line Interface mode, although the possible execution file types are `c, asm, bin` (as shown by the command-line option `--t`), it is not possible to simulate `C` programs.\n\n```\nint Ripes::CLIRunner::processInput(): Assertion `false && \"Command-line support for this source type is not yet implemented\"' failed.\nAborted (core dumped)\n```\n\nThis has been fixed with the possibility to execute *RISC-V* `ELF` files too.\nIn the `clirunner.cpp` file I've added the logic to load three new source types: `C`, `InternalELF` and `ExternalELF`.\nFor an ELF file first a check is done to be sure that the specified file is valid for the selected processor and then the file is loaded with the method `loadElfFile`. I moved this method to the `programutilities.cpp` file, following what was done for loading binary files with the method `loadFlatBinaryFile`. The function was moved so that it can be used both by CLI and GUI.\nTo execute `C` programs first they are compiled using the already existing methods (such as `compileRaw()` from `ccmanager.cpp`), then they are converted as `ExternalELF` and loaded as mentioned above.\n\nSince I've noticed that running CLI programs can sometimes have problems with large addresses (that cannot fit in an `int` variable), I've changed the type of the `byteAddress` variable to `long`.","shortMessageHtmlLink":"Add CLI Support for Executing ELF and C Files"}},{"before":null,"after":"b71f0ddd5d2d346cb97b28fd3f70fef55bb9b6b7","ref":"refs/heads/Ripes_CLI_enhanced","pushedAt":"2024-03-16T10:04:53.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"federicovilla55","name":"Federico Villa","path":"/federicovilla55","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61495946?s=80&v=4"},"commit":{"message":"Prevent release-based Github Actions from running on forks (#340)\n\n* Prevent release-based Github Actions from running on forks\r\n\r\nSince release-based actions currently require @mortbopet's account\r\ndetails, these actions automatically fail when run on forks. These have\r\nbeen prevented in this commit by adding a conditional that runs them\r\nonly for @mortbopet's repo.\r\n\r\nThis could be expanded in the future so that forks can use their own\r\naccount info to create releases.\r\n\r\n* Remove unnecessary conditionals","shortMessageHtmlLink":"Prevent release-based Github Actions from running on forks (mortbopet…"}},{"before":"6fb2320bb54e98713a9852ec40ea2c2745421221","after":"ef3fe5853595c6cb419438ef80d7738c4c8da780","ref":"refs/heads/master","pushedAt":"2024-03-03T17:27:03.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"federicovilla55","name":"Federico Villa","path":"/federicovilla55","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61495946?s=80&v=4"},"commit":{"message":"Fixed clang-format","shortMessageHtmlLink":"Fixed clang-format"}},{"before":"092d3e1c90b138d141293ac188440412eec53221","after":"6fb2320bb54e98713a9852ec40ea2c2745421221","ref":"refs/heads/master","pushedAt":"2024-03-03T15:41:00.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"federicovilla55","name":"Federico Villa","path":"/federicovilla55","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61495946?s=80&v=4"},"commit":{"message":"Merge branch 'mortbopet:master' into master","shortMessageHtmlLink":"Merge branch 'mortbopet:master' into master"}},{"before":"0faf41b669a93a1944707cd7d111a5e9241425fe","after":"092d3e1c90b138d141293ac188440412eec53221","ref":"refs/heads/master","pushedAt":"2024-02-25T21:01:21.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"federicovilla55","name":"Federico Villa","path":"/federicovilla55","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/61495946?s=80&v=4"},"commit":{"message":"Add stack-heap collision check to BrkSyscall execution\n\nImplemented additional checking in the `execute()` method of the brk syscall, defined in the `BrkSyscall` class, to ensure that memory allocation does not overflow stack space.\nThe System Call has as its argument the new \"program break\", which is now compared with the current \"stack pointer\" before being set to avoid overlaps.","shortMessageHtmlLink":"Add stack-heap collision check to BrkSyscall execution"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEp9uHlQA","startCursor":null,"endCursor":null}},"title":"Activity · federicovilla55/Ripes"}