Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move DiffEngine and helpers to includes/libs/Diff and put them in a namespace | Tim Starling | 2023-06-20 | 1 | -37/+0 |
| | | | | | | | I will address the dependencies on MW core in a followup. Bug: T339184 Change-Id: I892364b0c9f15c9de4cfc29c683670c172d71764 | ||||
* | Replace "@stable for calling" by "@stable to call" | daniel | 2020-07-13 | 1 | -1/+1 |
| | | | | | | | | | | | For compliance with the new version of the table interface policy (T255803). This patch was created by an automated search & replace operation on the includes/ directory. Bug: T257789 Change-Id: If560596f5e1e0a3da91afc36e656e7c27f040968 | ||||
* | Mark exceptions as @newable | daniel | 2020-07-08 | 1 | -0/+7 |
| | | | | | | | | Exceptions classes are nearly always value objects, and should in most cases by newable. Bug: T247862 Change-Id: I4faa8ec6ea8bc44086cfc8075b32d10eea61e9df | ||||
* | Rethink diff limits | Max Semenik | 2016-06-01 | 1 | -0/+30 |
Now, instead of "if your changed paragraphs are larger than 10Kb, you're screwed": * Instead of relying on overall length, estimate complexity after splitting to words and taking any equal head and tail out of equation. * Estimate based on words changed, which better reflects the actual complexity of generating a diff. * New limit is determined scientifically, i.e. "above that number XDebug starts complaining about recursion limits reached in Vagrant". Caveat: if new limits are hit, the consequences are more widespread as all adjacent changed paragraphs are displayed without word level diffs, as opposed to only the paragraph that's too long being affected. However, the new limit is much higher and in wikitext you're supposed to put empty lines between paragraphs anyway, negating this problem. Bug: T128697 Change-Id: I4e91c7c40f5afdd116b847a859b8517522302489 |