weekly release 4.5dev
[moodle.git] / lib / pear / readme_moodle.txt
blobff0ab2da5d29567ebf2c8fb579c1d2b4eafcfc61
1 MOODLE-SPECIFIC PEAR MODIFICATIONS
2 ==================================
4 XML/Parser
5 =================
6 1/ changed ereg_ to preg_
7 * http://cvs.moodle.org/moodle/lib/pear/XML/Parser.php.diff?r1=1.1&r2=1.2
10 Quickforms
11 ==========
12 Full of our custom hacks, no way to upgrade to latest upstream.
13 Most probably we will stop using this library in the future.
15 Just dropping a couple of links here, for whenever we update/switch or whatever:
16 - QF2: https://github.com/pear/HTML_QuickForm2 (https://moodle.org/mod/forum/discuss.php?d=200124)
17 - Quickform (fork): https://github.com/openpsa/quickform
19 MDL-20876 - replaced split() with explode() or preg_split() where appropriate
20 MDL-40267 - Moodle core_text strlen functions used for range rule rule to be utf8 safe.
21 MDL-46467 - $mform->hardfreeze causes labels to loose their for HTML attribute
22 MDL-52081 - made all constructors PHP7 compatible
23 MDL-52826 - Remove onsubmit events pointing to the global validation functions and script
24             tag moved after the HTML
25 MDL-50484 - _getPersistantData() returns id with _persistant prefixed to element id.
26 MDL-55123 - corrected call to non-static functions in HTML_QuickForm to be PHP7.1-compliant
27 MDL-60281 - replaced deprecated create_function() with lambda functions for PHP7.2 compatibility
28 MDL-70711 - removed unnecessary if-else conditional block in HTML_QuickForm as the given
29             condition always evaluates to false due to the deprecated get_magic_quotes_gpc()
30             which always returns false
31 MDL-70457 - PHP 7.4 curly brackets string access fix.
32 MDL-71126 - Quiz: Manual grading page size preference can get stuck at 0
33             Including in this change:
34              - New positiveint regex rule to check if the value is a positive integer
35 MDL-76102 / MDL-77081
36             PHP 8.1 passing null to a non-nullable argument of a built-in function is deprecated
37 MDL-77164 - PHPdocs corrections
38 MDL-78145 - PHP 8.2 compliance. Added a missing class property that still need to be declared
39             to avoid dynamic properties deprecated error warning.
40             And also remove the $_elementIdx because it is not needed in Moodle code.
41 MDL-78527 - Adding a sixth parameter to allow groups to use attributes.
42 MDL-80818 - Freezing all elements with the same name (e.g. radio buttons)
43 MDL-80820 - PHPdocs corrections
45 Pear
46 ====
47 It was decided that we will not upgrade this library from upstream any more, see MDL-52465
49 Changed constructors in classes PEAR and PEAR_ERROR to be __construct().
50 MDL-60281 - replaced deprecated function each() with foreach loop for PHP7.2 compatibility