{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":3202600,"defaultBranch":"main","name":"Objective-CPP","ownerLogin":"macmade","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2012-01-17T20:00:20.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/146476?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1627944816.714293","currentOid":""},"activityList":{"items":[{"before":"df1a910a36316f37b9333495b119aa9df9bc089b","after":"05e277553cdf0e34669ab8204d177d27d918950d","ref":"refs/heads/main","pushedAt":"2023-05-03T09:30:54.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"macmade","name":"JD Gadina","path":"/macmade","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/146476?s=80&v=4"},"commit":{"message":"fix: Fixed memory leaks caused by recent Xcode or macOS versions.\n\nConversion from std::vector< std::string > to NSArray< NSString * > * started to produce leaks at some point.\n\nI'm not sure if the issue is related to Xcode or macOS.\n\nInitializing a NSString object by calling directly the IMP returned by methodForSelector results in a CFString object leaking.\nI'm not sure what's going on, as the NSString object itself doesn't leak (I'm assuming the CFString is NSString's internal representation).\n\nAlso it does not happen with other objects, dealloc is getting called as expected.\nMaybe because NSString is a class-cluster, and ARC gets confused...\n\nThe code below demonstrates the issue.\n\nIt has been fixed by adding oveloads with a user-provided block responsible for the conversion of objects.\nOld methods have been kept for compatibility, but all internal conversions now use the new overloads.","shortMessageHtmlLink":"fix: Fixed memory leaks caused by recent Xcode or macOS versions."}},{"before":"4e6b2c4d82eca17a11839c9bb40debb97dd54b12","after":"df1a910a36316f37b9333495b119aa9df9bc089b","ref":"refs/heads/main","pushedAt":"2023-05-03T08:11:52.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"macmade","name":"JD Gadina","path":"/macmade","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/146476?s=80&v=4"},"commit":{"message":"chore: xcconfig update","shortMessageHtmlLink":"chore: xcconfig update"}},{"before":"c582b2d04a5a626ed676bd1d6c1cd704df560664","after":"4e6b2c4d82eca17a11839c9bb40debb97dd54b12","ref":"refs/heads/main","pushedAt":"2023-05-03T08:04:13.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"macmade","name":"JD Gadina","path":"/macmade","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/146476?s=80&v=4"},"commit":{"message":"chore: Parameter name cleanup - vector -> list","shortMessageHtmlLink":"chore: Parameter name cleanup - vector -> list"}},{"before":"36b20928971bf9821b2f52b058601df89e5c5860","after":"c582b2d04a5a626ed676bd1d6c1cd704df560664","ref":"refs/heads/main","pushedAt":"2023-05-03T07:50:40.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"macmade","name":"JD Gadina","path":"/macmade","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/146476?s=80&v=4"},"commit":{"message":"chore: XSTest update","shortMessageHtmlLink":"chore: XSTest update"}},{"before":"727eabee814116a32e136b31b48d8603a7bffaba","after":"36b20928971bf9821b2f52b058601df89e5c5860","ref":"refs/heads/main","pushedAt":"2023-05-03T07:50:13.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"macmade","name":"JD Gadina","path":"/macmade","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/146476?s=80&v=4"},"commit":{"message":"chore: Update for Xcode 14.3","shortMessageHtmlLink":"chore: Update for Xcode 14.3"}},{"before":"8739a3c987bcfef50acfda93c44179523e716452","after":"727eabee814116a32e136b31b48d8603a7bffaba","ref":"refs/heads/main","pushedAt":"2023-05-03T07:44:12.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"macmade","name":"JD Gadina","path":"/macmade","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/146476?s=80&v=4"},"commit":{"message":"feat(Tests): Avoiding leaks in MRC tests","shortMessageHtmlLink":"feat(Tests): Avoiding leaks in MRC tests"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAADJQkU8QA","startCursor":null,"endCursor":null}},"title":"Activity ยท macmade/Objective-CPP"}