{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":167011091,"defaultBranch":"master","name":"allwpilib","ownerLogin":"Oblarg","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2019-01-22T14:47:29.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/23393863?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1715623984.0","currentOid":""},"activityList":{"items":[{"before":"846e948bc22d2bf450c80ebebb6c494071a7b625","after":"f5c9a193293c6e326bb0d4004072398ade16ef32","ref":"refs/heads/rename-subsystem-to-resource","pushedAt":"2024-05-14T15:32:30.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Oblarg","name":"Eli Barnett","path":"/Oblarg","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23393863?s=80&v=4"},"commit":{"message":"remove loop funcs and default commands from `resource`","shortMessageHtmlLink":"remove loop funcs and default commands from resource"}},{"before":"93caf710a6693ed14666ab54412d52bd60d7a7c7","after":"846e948bc22d2bf450c80ebebb6c494071a7b625","ref":"refs/heads/rename-subsystem-to-resource","pushedAt":"2024-05-14T12:04:32.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"Oblarg","name":"Eli Barnett","path":"/Oblarg","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23393863?s=80&v=4"},"commit":{"message":"nonbreakingly rename `Subsystem` to `Resource`","shortMessageHtmlLink":"nonbreakingly rename Subsystem to Resource"}},{"before":"11a091d07cc75846395635b6d1a557083fae15ca","after":"93caf710a6693ed14666ab54412d52bd60d7a7c7","ref":"refs/heads/rename-subsystem-to-resource","pushedAt":"2024-05-13T19:34:46.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"Oblarg","name":"Eli Barnett","path":"/Oblarg","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23393863?s=80&v=4"},"commit":{"message":"nonbreakingly rename `Subsystem` to `Resource`","shortMessageHtmlLink":"nonbreakingly rename Subsystem to Resource"}},{"before":"71cee6d2cdbed286b0512ec75fd411afbe07191e","after":"11a091d07cc75846395635b6d1a557083fae15ca","ref":"refs/heads/rename-subsystem-to-resource","pushedAt":"2024-05-13T18:23:30.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"Oblarg","name":"Eli Barnett","path":"/Oblarg","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23393863?s=80&v=4"},"commit":{"message":"nonbreakingly rename `Subsystem` to `Resource`","shortMessageHtmlLink":"nonbreakingly rename Subsystem to Resource"}},{"before":"181723e573d36048b8f99153d5f5e75388f702c6","after":"4ce8f3f9352645426a5fc03bbb0f41ca653e2c7e","ref":"refs/heads/main","pushedAt":"2024-05-13T18:13:35.000Z","pushType":"push","commitsCount":1810,"pusher":{"login":"Oblarg","name":"Eli Barnett","path":"/Oblarg","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23393863?s=80&v=4"},"commit":{"message":"Change C APIs to a unified string implementation (#6299)\n\nCurrently in the entire C API of WPILib we have ~8 different ways of handling strings. The C API actually isn't built for pure C callers (We don't actually have any of those). Instead, they're built for interop between languages like LabVIEW and C# which can talk to C API's directly.\r\n\r\nFor output parameters, the choice was fairly obvious. An output struct containing a const string pointer and a length makes the most sense. Its easy to use these from most other languages, and doesn't require special null termination handling. Freeing these is also easy, as if you ever receive one of these string structures, theres just a single function call to free it.\r\n\r\nInput parameters are a bit more complex. To be used from pure C, and from LabVIEW, a null terminated string is the best in most cases. However, null terminated strings in general have a lot of downsides. Additionally, from LabVIEW there are other considerations around encoding that having a wrapper struct helps make a bit easier. From a language like C#, a wrapper struct is by far the easiest, as custom marshalling can make it trivial to marshal both UTF8 and UTF16 strings down.\r\n\r\nThe final consideration is its nice to have an identical concept for both input and output. It makes the rules fairly easy to understand.\r\n\r\nWPILib will not have any APIs that manipulate a string allocated externally. This means WPI_String can be const, as across the boundary it is always const.\r\nIf a WPILib API takes a const WPI_String*, WPILib will not manipulate or attempt to free that string, and that string is treated as an input. It is up to the caller to handle that memory, WPILib will never hold onto that memory longer than the call.\r\nIf a WPILib API takes a WPI_String*, that string is an output. WPILib will allocate that API with WPI_AllocateString(), fill in the string, and return to the caller. When the caller is done with the string, they must free it with WPI_FreeString().\r\nIf an output struct contains a WPI_String member, that member is considered read only, and should not be explicitly freed. The caller should call the free function for that struct.\r\nIf an array of WPI_Strings are returned, each individual string is considered read only, and should not be explicitly freed. The free function for that array should be called by the caller.\r\nIf an input struct containing a WPI_String, or an input array of WPI_Strings is passed to WPILib, the individual strings will not be manipulated or freed by WPILib, and the caller owns and should free that memory.\r\nCallbacks also follow these rules. The most common is a callback either getting passed a const WPI_String* or a struct containing a WPI_String. In both of these cases, the callback target should consider these strings read only, and not attempt to free them or manipulate them.","shortMessageHtmlLink":"Change C APIs to a unified string implementation (wpilibsuite#6299)"}},{"before":"192a28af47316a14fd9a2a9bc559bfd53acf30ed","after":"4ce8f3f9352645426a5fc03bbb0f41ca653e2c7e","ref":"refs/heads/master","pushedAt":"2024-05-13T18:13:25.000Z","pushType":"push","commitsCount":321,"pusher":{"login":"Oblarg","name":"Eli Barnett","path":"/Oblarg","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23393863?s=80&v=4"},"commit":{"message":"Change C APIs to a unified string implementation (#6299)\n\nCurrently in the entire C API of WPILib we have ~8 different ways of handling strings. The C API actually isn't built for pure C callers (We don't actually have any of those). Instead, they're built for interop between languages like LabVIEW and C# which can talk to C API's directly.\r\n\r\nFor output parameters, the choice was fairly obvious. An output struct containing a const string pointer and a length makes the most sense. Its easy to use these from most other languages, and doesn't require special null termination handling. Freeing these is also easy, as if you ever receive one of these string structures, theres just a single function call to free it.\r\n\r\nInput parameters are a bit more complex. To be used from pure C, and from LabVIEW, a null terminated string is the best in most cases. However, null terminated strings in general have a lot of downsides. Additionally, from LabVIEW there are other considerations around encoding that having a wrapper struct helps make a bit easier. From a language like C#, a wrapper struct is by far the easiest, as custom marshalling can make it trivial to marshal both UTF8 and UTF16 strings down.\r\n\r\nThe final consideration is its nice to have an identical concept for both input and output. It makes the rules fairly easy to understand.\r\n\r\nWPILib will not have any APIs that manipulate a string allocated externally. This means WPI_String can be const, as across the boundary it is always const.\r\nIf a WPILib API takes a const WPI_String*, WPILib will not manipulate or attempt to free that string, and that string is treated as an input. It is up to the caller to handle that memory, WPILib will never hold onto that memory longer than the call.\r\nIf a WPILib API takes a WPI_String*, that string is an output. WPILib will allocate that API with WPI_AllocateString(), fill in the string, and return to the caller. When the caller is done with the string, they must free it with WPI_FreeString().\r\nIf an output struct contains a WPI_String member, that member is considered read only, and should not be explicitly freed. The caller should call the free function for that struct.\r\nIf an array of WPI_Strings are returned, each individual string is considered read only, and should not be explicitly freed. The free function for that array should be called by the caller.\r\nIf an input struct containing a WPI_String, or an input array of WPI_Strings is passed to WPILib, the individual strings will not be manipulated or freed by WPILib, and the caller owns and should free that memory.\r\nCallbacks also follow these rules. The most common is a callback either getting passed a const WPI_String* or a struct containing a WPI_String. In both of these cases, the callback target should consider these strings read only, and not attempt to free them or manipulate them.","shortMessageHtmlLink":"Change C APIs to a unified string implementation (wpilibsuite#6299)"}},{"before":null,"after":"71cee6d2cdbed286b0512ec75fd411afbe07191e","ref":"refs/heads/rename-subsystem-to-resource","pushedAt":"2024-05-13T18:13:04.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"Oblarg","name":"Eli Barnett","path":"/Oblarg","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23393863?s=80&v=4"},"commit":{"message":"nonbreakingly rename `Subsystem` to `Resource`","shortMessageHtmlLink":"nonbreakingly rename Subsystem to Resource"}},{"before":"2ad8a5666afddf2c9e914bf9bb28923bf550fddc","after":null,"ref":"refs/heads/relax-peak-acceleration-search","pushedAt":"2024-02-18T05:12:45.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"calcmogul","name":"Tyler Veness","path":"/calcmogul","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2748555?s=80&v=4"}},{"before":"39554eb637099e4d77e6293e5de66970c2e1a601","after":"2ad8a5666afddf2c9e914bf9bb28923bf550fddc","ref":"refs/heads/relax-peak-acceleration-search","pushedAt":"2024-02-18T00:21:36.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"PeterJohnson","name":"Peter Johnson","path":"/PeterJohnson","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/297126?s=80&v=4"},"commit":{"message":"Formatting fixes","shortMessageHtmlLink":"Formatting fixes"}},{"before":"0912138bfbb8a056b3038c83aec693705e7b3d66","after":"39554eb637099e4d77e6293e5de66970c2e1a601","ref":"refs/heads/relax-peak-acceleration-search","pushedAt":"2024-02-18T00:17:23.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"Oblarg","name":"Eli Barnett","path":"/Oblarg","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23393863?s=80&v=4"},"commit":{"message":"Relax peak acceleration search so current-limited data doesn't break latency compensation","shortMessageHtmlLink":"Relax peak acceleration search so current-limited data doesn't break …"}},{"before":"d543f42d7dc0aaa4e2dd7719c102d30b3c258b1c","after":"0912138bfbb8a056b3038c83aec693705e7b3d66","ref":"refs/heads/relax-peak-acceleration-search","pushedAt":"2024-02-17T18:02:47.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"PeterJohnson","name":"Peter Johnson","path":"/PeterJohnson","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/297126?s=80&v=4"},"commit":{"message":"Formatting fixes","shortMessageHtmlLink":"Formatting fixes"}},{"before":"c599b091246cb753ed50861c01b12788149819f6","after":"d543f42d7dc0aaa4e2dd7719c102d30b3c258b1c","ref":"refs/heads/relax-peak-acceleration-search","pushedAt":"2024-02-17T17:46:10.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"Oblarg","name":"Eli Barnett","path":"/Oblarg","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23393863?s=80&v=4"},"commit":{"message":"Relax peak acceleration search so current-limited data doesn't break latency compensation","shortMessageHtmlLink":"Relax peak acceleration search so current-limited data doesn't break …"}},{"before":null,"after":"c599b091246cb753ed50861c01b12788149819f6","ref":"refs/heads/relax-peak-acceleration-search","pushedAt":"2024-02-17T17:44:51.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"Oblarg","name":"Eli Barnett","path":"/Oblarg","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23393863?s=80&v=4"},"commit":{"message":"fix test duration slider responsiveness","shortMessageHtmlLink":"fix test duration slider responsiveness"}},{"before":"30d29e1ea2dea7d793bbe55458642c8aa443bcd0","after":"e2c3e69bcf15fa2e56a861661dfe117ea44f9898","ref":"refs/heads/fix-dynamic-test-duration-slider","pushedAt":"2024-01-13T02:19:45.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"calcmogul","name":"Tyler Veness","path":"/calcmogul","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2748555?s=80&v=4"},"commit":{"message":"Add blank line to separate code blocks","shortMessageHtmlLink":"Add blank line to separate code blocks"}},{"before":"4dc8aec3652b64a53268599ca0fb8171ab92fea1","after":"30d29e1ea2dea7d793bbe55458642c8aa443bcd0","ref":"refs/heads/fix-dynamic-test-duration-slider","pushedAt":"2024-01-13T01:56:12.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"Oblarg","name":"Eli Barnett","path":"/Oblarg","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23393863?s=80&v=4"},"commit":{"message":"fix test duration slider responsiveness","shortMessageHtmlLink":"fix test duration slider responsiveness"}},{"before":null,"after":"4dc8aec3652b64a53268599ca0fb8171ab92fea1","ref":"refs/heads/fix-dynamic-test-duration-slider","pushedAt":"2024-01-13T01:47:33.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"Oblarg","name":"Eli Barnett","path":"/Oblarg","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23393863?s=80&v=4"},"commit":{"message":"fix test duration slider responsiveness","shortMessageHtmlLink":"fix test duration slider responsiveness"}},{"before":"bd9fac9c06b550d5ffbe139fdb59d5c5eba9ec30","after":"4e13b344838782be3d2cc5d24253c06dfea2e95a","ref":"refs/heads/sysid-routine-docs","pushedAt":"2024-01-06T05:04:17.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"PeterJohnson","name":"Peter Johnson","path":"/PeterJohnson","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/297126?s=80&v=4"},"commit":{"message":"Formatting fixes","shortMessageHtmlLink":"Formatting fixes"}},{"before":"1d304a77e12f29aa9bfec26e952596c2cdc01496","after":"bd9fac9c06b550d5ffbe139fdb59d5c5eba9ec30","ref":"refs/heads/sysid-routine-docs","pushedAt":"2024-01-06T04:57:56.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Oblarg","name":"Eli Barnett","path":"/Oblarg","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23393863?s=80&v=4"},"commit":{"message":"fix visibility of C++ motorlog ctor","shortMessageHtmlLink":"fix visibility of C++ motorlog ctor"}},{"before":"332d0b8888703f82833475eced4547fe1cec9a1f","after":"1d304a77e12f29aa9bfec26e952596c2cdc01496","ref":"refs/heads/sysid-routine-docs","pushedAt":"2024-01-06T04:18:01.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"PeterJohnson","name":"Peter Johnson","path":"/PeterJohnson","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/297126?s=80&v=4"},"commit":{"message":"Formatting fixes","shortMessageHtmlLink":"Formatting fixes"}},{"before":"82a07519b4ee6b2407996d9603444f355734a2bd","after":"332d0b8888703f82833475eced4547fe1cec9a1f","ref":"refs/heads/sysid-routine-docs","pushedAt":"2024-01-06T04:13:46.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"Oblarg","name":"Eli Barnett","path":"/Oblarg","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23393863?s=80&v=4"},"commit":{"message":"fix docstrings for sysidroutine","shortMessageHtmlLink":"fix docstrings for sysidroutine"}},{"before":null,"after":"82a07519b4ee6b2407996d9603444f355734a2bd","ref":"refs/heads/sysid-routine-docs","pushedAt":"2024-01-06T04:12:07.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"Oblarg","name":"Eli Barnett","path":"/Oblarg","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23393863?s=80&v=4"},"commit":{"message":"fix docstrings for sysidroutine","shortMessageHtmlLink":"fix docstrings for sysidroutine"}},{"before":"6b369610f85f7ef07894e72113a4cad93f32b033","after":"383a4f32b5d50fb0e5bc00044bfa2654e7a58000","ref":"refs/heads/sysid-routines","pushedAt":"2024-01-05T16:38:26.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"calcmogul","name":"Tyler Veness","path":"/calcmogul","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2748555?s=80&v=4"},"commit":{"message":"Run wpiformat","shortMessageHtmlLink":"Run wpiformat"}},{"before":"316ca31b273298ab8525dcc8e694b26af1c9458e","after":"6b369610f85f7ef07894e72113a4cad93f32b033","ref":"refs/heads/sysid-routines","pushedAt":"2024-01-05T16:21:16.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"Oblarg","name":"Eli Barnett","path":"/Oblarg","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23393863?s=80&v=4"},"commit":{"message":"improve flexibility of motor logging c++","shortMessageHtmlLink":"improve flexibility of motor logging c++"}},{"before":"ee5caa5432195438f08187a1b2f735ff3b75e34c","after":"5276ab6f34e24a138640ee9836f0fbe2ed7d8b5b","ref":"refs/heads/sysid-wpilog-parse","pushedAt":"2024-01-05T15:39:50.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Oblarg","name":"Eli Barnett","path":"/Oblarg","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23393863?s=80&v=4"},"commit":{"message":"fix unit tests","shortMessageHtmlLink":"fix unit tests"}},{"before":"caa934e29e8b6184fcdb129d9b8debdd3e15f4f6","after":"316ca31b273298ab8525dcc8e694b26af1c9458e","ref":"refs/heads/sysid-routines","pushedAt":"2024-01-05T15:21:01.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"Oblarg","name":"Eli Barnett","path":"/Oblarg","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23393863?s=80&v=4"},"commit":{"message":"improve flexibility of motor logging c++","shortMessageHtmlLink":"improve flexibility of motor logging c++"}},{"before":"ce01694b995e9153315d21b8f7330d142b66dde3","after":"caa934e29e8b6184fcdb129d9b8debdd3e15f4f6","ref":"refs/heads/sysid-routines","pushedAt":"2024-01-05T04:24:57.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Oblarg","name":"Eli Barnett","path":"/Oblarg","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23393863?s=80&v=4"},"commit":{"message":"improve flexibility of motor logging c++","shortMessageHtmlLink":"improve flexibility of motor logging c++"}},{"before":"b4943af6780b9384ce2bab8252dc1f53f4d9082f","after":"ce01694b995e9153315d21b8f7330d142b66dde3","ref":"refs/heads/sysid-routines","pushedAt":"2024-01-05T02:05:47.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"Oblarg","name":"Eli Barnett","path":"/Oblarg","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23393863?s=80&v=4"},"commit":{"message":"improve flexibility of motor logging java","shortMessageHtmlLink":"improve flexibility of motor logging java"}},{"before":"ff6a99879bbe9cc62d75285048050c9446c03ff4","after":"b4943af6780b9384ce2bab8252dc1f53f4d9082f","ref":"refs/heads/sysid-routines","pushedAt":"2024-01-05T00:48:27.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"Oblarg","name":"Eli Barnett","path":"/Oblarg","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/23393863?s=80&v=4"},"commit":{"message":"improve flexibility of motor logging java","shortMessageHtmlLink":"improve flexibility of motor logging java"}},{"before":"a59b1687ce8e5e39f85dea03240bb54ec351f87f","after":"ff6a99879bbe9cc62d75285048050c9446c03ff4","ref":"refs/heads/sysid-routines","pushedAt":"2024-01-04T20:08:19.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"PeterJohnson","name":"Peter Johnson","path":"/PeterJohnson","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/297126?s=80&v=4"},"commit":{"message":"Remove modification to MotorController","shortMessageHtmlLink":"Remove modification to MotorController"}},{"before":"5793fd2d8ade5b994b5744e39572ac9749b68784","after":"a59b1687ce8e5e39f85dea03240bb54ec351f87f","ref":"refs/heads/sysid-routines","pushedAt":"2024-01-04T20:04:18.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"PeterJohnson","name":"Peter Johnson","path":"/PeterJohnson","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/297126?s=80&v=4"},"commit":{"message":"Use PWM follower instead of MotorControllerGroup","shortMessageHtmlLink":"Use PWM follower instead of MotorControllerGroup"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAESaP9YwA","startCursor":null,"endCursor":null}},"title":"Activity · Oblarg/allwpilib"}