1
0
mirror of https://github.com/php/web-doc.git synced 2026-04-29 17:53:15 +02:00

62 Commits

Author SHA1 Message Date
Jim Winstead 87d197e0b3 Revert unintended commit 2024-11-27 11:14:09 -08:00
Jim Winstead d2cbba4735 Add styling, overflow for <pre> blocks (closes #46) (#61) 2024-11-26 14:15:39 -08:00
Jim Winstead 4e57bbbc6e Use revcheck information generated by doc-base/scripts/translation/genrevdb.php (#58) 2024-11-11 12:28:47 -08:00
Jim Winstead 1f8d7bd1d8 Need to pass safe.directory to Git invocations
Original patch by @nilgun in #43
2024-10-22 16:39:19 -07:00
André L F S Bacci 364f913efb Thank You. Closes GH-42 2023-09-10 01:43:30 +03:00
alfsb 27bc12bed0 Show actual hash on diff output
. Thanks. Closes GH-38
2022-10-15 10:48:37 +03:00
Nilgün Belma Bugüner 088e06dd7e Ensure blank lines are copied as line breaks
Thank you, Lucas Azevedo.
Closes GH-35.
2022-06-26 07:54:06 +03:00
Nilgün Belma Bugüner 8811bd7f81 add a space to the blank line to copy 2022-03-31 14:55:12 +03:00
Nilgün Belma Bugüner 470f728a91 Show additions and deletions. Thanks, Lucas Azevedo. Closes GH-30 2022-01-11 07:44:34 +03:00
Lucas Azevedo 970adac4e9 Fix diff header skip. Thanks. Closes GH-31 2022-01-11 04:49:36 +03:00
Nilgün Belma Bugüner 80a372036e separate unselectable plus and minus signs from copy area to make copying text easier 2022-01-06 22:42:26 +03:00
Lucas Azevedo 2b5f30b654 Improve diff viewer. Thank you, Lucas Azevedo. Closes GH-29 2022-01-04 21:07:32 +03:00
Nilgün Belma Bugüner 1cea7213be Fix generic font-family name
Closes #28
2021-12-31 04:28:36 +03:00
Nilgün Belma Bugüner 52566d0bbd lower the diff font size a bit (14/16=0.875) 2021-12-29 14:56:04 +03:00
Nilgün Belma Bugüner d605eea3af a little more visual diff 2021-12-28 17:10:19 +03:00
Nilgün Belma Bugüner 6551900f22 Add background colors to changed lines
Closes #27
2021-12-28 16:03:41 +03:00
Nilgün Belma Bugüner c9a02d410f after tests, case of [skip-revcheck] in the commit message 2021-09-02 19:33:22 +03:00
Nilgün Belma Bugüner daf0c803c2 Implement [skip-revcheck] to exclude a commit from consideration. Closes GH-21 2021-09-02 02:55:57 +03:00
Peter Cowburn c6564224e1 escape git diff args 2021-07-29 12:56:36 +01:00
Nilgün Belma Bugüner d77b6ea5a0 this is even safer 2021-05-19 05:04:17 +03:00
Nilgün Belma Bugüner e9f815f45a This is more secure. 2021-05-19 04:35:20 +03:00
Nilgün Belma Bugüner c9a142e150 Links that are not working have been fixed.
Lost wip's have been restored.
2021-05-18 03:51:28 +03:00
Nilgün Belma Bugüner 4725e3bd17 1. Doc-base revcheck.php code injected and database production accelerated:
dropped from 15 minutes to 2.5 seconds.
2. As in new Doc-base revcheck.php, more detailed and more accurate information is given to the teams.
3. Indentation fixed.
2021-05-17 00:45:45 +03:00
Nilgün Belma Bugüner 4cf0a78294 Conversion from svn to git 2021-04-22 01:33:40 +03:00
Peter Kokot 9c2a3e006c Sync final newlines
This patch adds some missing newlines and trims multiple newlines into
one.

According to POSIX, a line is a sequence of zero or more non-' <newline>'
characters plus a terminating '<newline>' character. [1] Files should
normally have at least one final newline character.

C89 [2] and later standards [3] mention a final newline:
"A source file that is not empty shall end in a new-line character,
which shall not be immediately preceded by a backslash character."

Although it is not mandatory for all files to have a final newline
fixed, a more consistent and homogeneous approach brings less of commit
differences issues and a better development experience in certain text
editors and IDEs.

[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
[2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2
[3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
2018-10-01 23:36:51 +02:00
Peter Kokot 5d425c4438 Trim trailing whitespace 2018-10-01 23:21:45 +02:00
Sobak d8dbad882a Remove division into "critical" and "old" files. Leave just outdated files
* "old files" stats were generated incorrectly
* "old files" made "critical files" count incorrect
* there was no way to display "old files" list
* this approach is compatible with PhD OE
2014-08-03 06:55:52 +02:00
Sobak 6cdcfb0be0 get_dirs(): fetch only dirs with outdated files, not with missing rev numbers 2014-07-01 06:17:42 +02:00
Sobak d0a797bfb3 Don't display files without EN-Rev in "Outdated files" tool
This change has been already applied to counters in order to
separate files without rev number from outdated files. This is for
consistency and we already have separate tool to browse list of such
files.
2014-07-01 05:55:07 +02:00
Sobak 4a9f68540f get_misstags(): sort results by dir and then by file
It prevents the situation when files from directory headers were
shown multiple times, each time with other files. Now it's much
easier to read it in "Missing revision numbers" tool.
2014-07-01 05:46:42 +02:00
Sobak 26fba64eed Just Don't Repeat Yourself (DRY) 2014-06-24 18:52:55 +02:00
Sobak 8ccfbc3eb4 Don't Repeat Yourself 2014-06-24 12:38:27 +02:00
Sobak 0c34ec2edb Don't compare revision numbers to recognize file as old/critical
It's silly criterion and results were incorrect.
2014-06-23 08:52:25 +02:00
Sobak 1c63160f1e Recognize n/a as a missing revision number; separate files without rev number and critical files 2014-06-23 08:34:48 +02:00
Sobak 53127115ca Why do I always have to miss something? 2014-03-31 09:34:53 +02:00
Sobak b28179fbd7 Graphs generators and lib_revcheck optimizations
* removed functions doing the same job
* some functions replaced with already existing more efficient replacements
* total ammount of files on language graph fixed
* other improvements

Charts are generated over two times faster now
2014-03-31 08:24:42 +02:00
Sobak 487e76617c Fixed charts generation 2014-03-30 09:51:16 +02:00
Sobak 4208d27d37 Created indexes for database
Indexes projected by bjori (Hannes Magnusson). This change fixes performance problems.
2014-03-30 08:14:05 +02:00
Sobak c017cba7c8 Translators sorted alphabetically 2014-03-29 06:58:46 +01:00
Sobak 4d1fd50fde Goodbye ext/sqlite 2014-03-28 21:40:16 +01:00
Sobak 2c5357cd49 revcheck: files module made more clear 2014-03-25 16:26:25 +01:00
Sobak 1abf3f06b2 Generation date improved 2014-03-24 16:06:23 +01:00
Sobak cc2113bb79 revcheck rewritten 2014-03-20 18:53:32 +01:00
Sobak 118f28b50f Victory is near 2014-03-19 07:50:55 +01:00
Philip Olson 7347aeb216 Bumped copyright to 2011 2011-02-09 17:49:05 +00:00
Nilgün Belma Bugüner 24a19a2ff9 cvs2svn migration improvements 2009-07-16 05:35:47 +00:00
Philip Olson 164d561cba Bumped copyright year to 2009 2008-12-31 07:02:35 +00:00
Etienne Kneuss 1ba89f12f6 rewrite tabs into spaces to normalise the source 2006-12-04 23:18:05 +00:00
Nuno Lopes 8efcb3d06d skip some 'not in EN tree' special files (like translation.xml) 2006-02-05 22:19:53 +00:00
Nuno Lopes 3c0b8fd92a fix another sql injection bug 2006-02-05 21:59:27 +00:00