{"id":25532594,"url":"https://github.com/delphiworlds/delphipatches","last_synced_at":"2026-01-21T18:30:18.610Z","repository":{"id":43705693,"uuid":"354981980","full_name":"DelphiWorlds/DelphiPatches","owner":"DelphiWorlds","description":null,"archived":false,"fork":false,"pushed_at":"2022-02-22T18:42:13.000Z","size":39,"stargazers_count":20,"open_issues_count":0,"forks_count":5,"subscribers_count":7,"default_branch":"main","last_synced_at":"2024-05-02T04:16:26.920Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DelphiWorlds.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-05T21:51:13.000Z","updated_at":"2023-05-19T15:58:22.000Z","dependencies_parsed_at":"2022-09-07T19:10:41.817Z","dependency_job_id":null,"html_url":"https://github.com/DelphiWorlds/DelphiPatches","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DelphiWorlds%2FDelphiPatches","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DelphiWorlds%2FDelphiPatches/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DelphiWorlds%2FDelphiPatches/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DelphiWorlds%2FDelphiPatches/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DelphiWorlds","download_url":"https://codeload.github.com/DelphiWorlds/DelphiPatches/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239763590,"owners_count":19692800,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-20T01:49:42.962Z","updated_at":"2026-01-21T18:30:18.488Z","avatar_url":"https://github.com/DelphiWorlds.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"## Delphi Patches\r\n\r\nThis repository is a collection of patch files that can be applied to Delphi source to resolve various issues\r\n\r\n### What are the patch files?\r\n\r\nThe patch files are created by modifying the Delphi source, then using the `git diff` command from [Git](https://git-scm.com/) to generate differences between the original and the modification.\r\n\r\nThe naming convention used for patch files is:\r\n\r\n* Original source file name minus the extension, plus\r\n* Quality Portal report number, if applicable, plus\r\n* Delphi version that the patch applies to (e.g. 10.4.2), plus\r\n* `.patch` extension\r\n\r\ne.g. FMX.Canvas.D2D.RSP-17030.10.4.2.patch is a patch for FMX.Canvas.D2D.pas for an issue reported [here](https://quality.embarcadero.com/browse/RSP-17030), and applies to Delphi 10.4.2\r\n\r\nPatches in this repository will contain non-breaking changes only, i.e. there will be no patches that include changes to the `interface` section of a unit. This is to reduce the likelihood that other unchanged source needs to be in the compiler path.\r\n\r\n### Who creates the patch files?\r\n\r\nThe patch files are created by Dave Nottage of Delphi Worlds, and anyone else that wishes to contribute\r\n\r\n### Why create patch files?\r\n\r\nTo solve issues in the Delphi source, of course! Also, Delphi source files (excluding auto-generated source, e.g. many of the API imports) are copyrighted, so entire files cannot be distributed publicly without permission\r\n\r\n### How to apply the patch files\r\n\r\nSince the patch files are generated by using Git, it is recommended that you [install Git](https://git-scm.com/download/win) (even if you do not use it for source control), which includes a function that can be used to apply the patches\r\n\r\nTo make patching source files a breeze, the [Codex Delphi add-in](https://github.com/DelphiWorlds/Codex) has been updated (version 1.4) to include this functionality. Here's a step-by-step:\r\n\r\n* Clone this repo\r\n* Install [Codex 1.4](https://github.com/DelphiWorlds/Codex/blob/master/Bin/CodexSetup_1.4.0.exe) (close Delphi first)\r\n* Open Delphi, go to Tools|Codex|Options, Source Patch tab, configure `Default location for patch files` to the repo location and configure the other options as applicable, e.g.:\r\n\r\n\u003cimg src=\"./Screenshots/CodexSourcePatchConfig.png\" alt=\"Codex Source Patch Config\" height=\"250\"\u003e\r\n\r\nWhen a patch (or patches) becomes available, in Delphi go to Tools|Codex|Source Patch \u003e Patch source, select a patch file, and click Open. Codex will then:\r\n\r\n* Attempt to find a source file that matches the patch file name. This is why they start with the original filename, and end with an extension of the applicable Delphi version, then `.patch`\r\n* If a matching source file is not found, Codex will prompt you to select the relevant source file\r\n* If a matching source file is found, Codex will copy the original source into the location configured in the Codex \u003e Source Patch options, or will prompt for a location to copy to\r\n* Codex will then apply the patch to the copy of the source\r\n\r\nCodex makes a copy of the source file before applying the patch because it is good practice to leave the originals intact \r\n\r\nYou can patch the source manually if you choose to; just remember that the tool you use to apply the patches needs to understand the format of the patch file\r\n\r\n\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdelphiworlds%2Fdelphipatches","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdelphiworlds%2Fdelphipatches","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdelphiworlds%2Fdelphipatches/lists"}