Patch #20288
closedFinalize CodeRay 1.1.0 upgrade
0%
Description
The current CodeRay CSS styles are still based on CodeRay 1.0.6 (included since Redmine 1.4.0) with the custom changes from r10132 (included since Redmine 2.1.0). Redmine 2.3.2 till 2.3.4 came with CodeRay 1.0.9, an upgrade that didn't needed changes in the CSS styles. Starting with 2.4.0 Redmine comes with CodeRay 1.1.0, a minor upgrade that came with new/changed token_kinds and lots of changes in the alpha stylesheet, that in turn is used as a base for Redmine's own CodeRay CSS styles. As such, this upgrade needed CSS stylesheet changes like done before in r7618 and r7623 (for 1.0.0 upgrade) and r9389 (for 1.0.6 upgrade). But these changes, plus an update of the Redmine core documentation that is shipped along the core (wiki_syntax_detailed_[markdown|textile].html), aren't integrated up until today.
This patch serial, made against source:/trunk@14420, fixes these issues and can be applied using "patch -p1 < 0001-...
". It is produced using git format-patch
, so the patches include all info (including extensive commit messages) from the commits I made on a local branch.
Note: these issues are affecting 2.6-stable, 3.0-stable, 3.1-stable and current trunk. This patch serial only provides fixes for current trunk. If backport-patches are needed (in case this patch serial doesn't merge cleanly on stable branches), let me know.
Files
Related issues
Updated by Mischa The Evil over 9 years ago
- File deleted (
0007-Update-the-CodeRay-Ruby-syntax-highlight-example.patch)
Updated by Mischa The Evil over 9 years ago
- File deleted (
0006-Make-clear-that-syntax-highlighting-cannot-only-be-u.patch)
Updated by Mischa The Evil over 9 years ago
- File deleted (
0005-Add-a-note-about-case-insensitivity-of-CodeRay-langu.patch)
Updated by Mischa The Evil over 9 years ago
- File deleted (
0004-Update-the-i18n-ed-core-doc-to-match-CodeRay-1.1.0-c.patch)
Updated by Mischa The Evil over 9 years ago
- File 0004-Update-the-i18n-ed-core-doc-to-match-CodeRay-1.1.0-c.patch 0004-Update-the-i18n-ed-core-doc-to-match-CodeRay-1.1.0-c.patch added
- File 0005-Add-a-note-about-case-insensitivity-of-CodeRay-langu.patch 0005-Add-a-note-about-case-insensitivity-of-CodeRay-langu.patch added
- File 0006-Make-clear-that-syntax-highlighting-cannot-only-be-u.patch 0006-Make-clear-that-syntax-highlighting-cannot-only-be-u.patch added
- File 0007-Update-the-CodeRay-Ruby-syntax-highlight-example.patch 0007-Update-the-CodeRay-Ruby-syntax-highlight-example.patch added
I did a rebase on my local branch to update the second part1 of this patch serial to fix an ugly spelling mistake (parenthesis -> parentheses). So here is an update of the respective patch files.
1 patch files 0001-0003 changes public/stylesheets/application.css (and were locally done on one branch) whereas patch files 0004-0007 changes public/help/xx[-xx]/wiki_syntax_detailed_[markdown||textile].html files (which were locally done on another branch).
Updated by Jean-Philippe Lang about 9 years ago
- Status changed from New to Closed
Looks like it can be closed.
Updated by Go MAEDA about 9 years ago
- Has duplicate Defect #17577: <code> blocks have no numbers, help shows line numbers for <code> blocks though added