mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 10:26:40 +02:00
Merge branch 'MDL-63422' of git://github.com/stronk7/moodle
This commit is contained in:
commit
f8e364e31a
27 changed files with 79 additions and 89 deletions
|
@ -472,7 +472,7 @@ function grade_get_grades($courseid, $itemtype, $itemmodule, $iteminstance, $use
|
|||
|
||||
switch ($grade_item->gradetype) {
|
||||
case GRADE_TYPE_NONE:
|
||||
continue;
|
||||
break;
|
||||
|
||||
case GRADE_TYPE_VALUE:
|
||||
$item->scaleid = 0;
|
||||
|
|
|
@ -295,7 +295,7 @@ class Horde_Imap_Client_Tokenize implements Iterator
|
|||
// identifier.
|
||||
$binary = true;
|
||||
$text .= $c;
|
||||
continue;
|
||||
break;
|
||||
|
||||
case '{':
|
||||
if ($binary) {
|
||||
|
|
|
@ -571,7 +571,7 @@ class Horde_Mail_Rfc822
|
|||
if (substr($str, -1) == "\r") {
|
||||
$str = substr($str, 0, -1);
|
||||
}
|
||||
continue;
|
||||
break;
|
||||
|
||||
case '\\':
|
||||
if (($chr = $this->_curr(true)) === false) {
|
||||
|
@ -737,7 +737,7 @@ class Horde_Mail_Rfc822
|
|||
case "\r":
|
||||
case "\t":
|
||||
++$this->_ptr;
|
||||
continue;
|
||||
break;
|
||||
|
||||
case '(':
|
||||
$this->_rfc822SkipComment();
|
||||
|
@ -765,7 +765,7 @@ class Horde_Mail_Rfc822
|
|||
switch ($chr) {
|
||||
case '(':
|
||||
++$level;
|
||||
continue;
|
||||
break;
|
||||
|
||||
case ')':
|
||||
if (--$level == 0) {
|
||||
|
|
|
@ -8,6 +8,9 @@ Description of import of Horde libraries
|
|||
# Copy the following script and store it on /tmp, change it's execute bit, and run it, passing
|
||||
in your path to Horde (the directory you've cloned the repository):
|
||||
/tmp/copyhorde.sh ~/git/ext/horde/
|
||||
# Verify that these patches have been applied in the imported version. Apply them locally if not:
|
||||
- https://github.com/horde/Mail/pull/1 (Mail component).
|
||||
- https://github.com/horde/Imap_Client/pull/6 (IMAP Client component).
|
||||
|
||||
====
|
||||
#!/bin/sh
|
||||
|
|
|
@ -67,7 +67,7 @@ class Less_Exception_Chunk extends Less_Exception_Parser{
|
|||
case 40:
|
||||
$parenLevel++;
|
||||
$lastParen = $this->parserCurrentIndex;
|
||||
continue;
|
||||
break;
|
||||
|
||||
// )
|
||||
case 41:
|
||||
|
@ -75,18 +75,18 @@ class Less_Exception_Chunk extends Less_Exception_Parser{
|
|||
if( $parenLevel < 0 ){
|
||||
return $this->fail("missing opening `(`");
|
||||
}
|
||||
continue;
|
||||
break;
|
||||
|
||||
// ;
|
||||
case 59:
|
||||
//if (!$parenLevel) { $this->emitChunk(); }
|
||||
continue;
|
||||
break;
|
||||
|
||||
// {
|
||||
case 123:
|
||||
$level++;
|
||||
$lastOpening = $this->parserCurrentIndex;
|
||||
continue;
|
||||
break;
|
||||
|
||||
// }
|
||||
case 125:
|
||||
|
@ -96,10 +96,10 @@ class Less_Exception_Chunk extends Less_Exception_Parser{
|
|||
|
||||
}
|
||||
//if (!$level && !$parenLevel) { $this->emitChunk(); }
|
||||
continue;
|
||||
break;
|
||||
// \
|
||||
case 92:
|
||||
if ($this->parserCurrentIndex < $this->input_len - 1) { $this->parserCurrentIndex++; continue; }
|
||||
if ($this->parserCurrentIndex < $this->input_len - 1) { $this->parserCurrentIndex++; break; }
|
||||
return $this->fail("unescaped `\\`");
|
||||
|
||||
// ", ' and `
|
||||
|
@ -119,12 +119,12 @@ class Less_Exception_Chunk extends Less_Exception_Parser{
|
|||
$this->parserCurrentIndex++;
|
||||
}
|
||||
}
|
||||
if ($matched) { continue; }
|
||||
if ($matched) { break; }
|
||||
return $this->fail("unmatched `" . chr($cc) . "`", $currentChunkStartIndex);
|
||||
|
||||
// /, check for comment
|
||||
case 47:
|
||||
if ($parenLevel || ($this->parserCurrentIndex == $this->input_len - 1)) { continue; }
|
||||
if ($parenLevel || ($this->parserCurrentIndex == $this->input_len - 1)) { break; }
|
||||
$cc2 = $this->CharCode($this->parserCurrentIndex+1);
|
||||
if ($cc2 == 47) {
|
||||
// //, find lnfeed
|
||||
|
@ -145,14 +145,14 @@ class Less_Exception_Chunk extends Less_Exception_Parser{
|
|||
return $this->fail("missing closing `*/`", $currentChunkStartIndex);
|
||||
}
|
||||
}
|
||||
continue;
|
||||
break;
|
||||
|
||||
// *, check for unmatched */
|
||||
case 42:
|
||||
if (($this->parserCurrentIndex < $this->input_len - 1) && ($this->CharCode($this->parserCurrentIndex+1) == 47)) {
|
||||
return $this->fail("unmatched `/*`");
|
||||
}
|
||||
continue;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -8,6 +8,8 @@ All the files from the folder lib/Less are copied in
|
|||
this directory. Only exception made for the directory
|
||||
'.easymin' which is not included.
|
||||
|
||||
Verify that https://github.com/oyejorge/less.php/pull/367 has been applied to the imported version or apply it locally.
|
||||
|
||||
Also copy the license file from the project root.
|
||||
|
||||
Licensed under the Apache license 2.0.
|
||||
|
|
|
@ -5,7 +5,8 @@ Description of TCPDF library import 6.2.13
|
|||
* remove tcpdf_import.php from composer.json
|
||||
* remove all fonts that were not already present
|
||||
* visit http://127.0.0.1/lib/tests/other/pdflibtestpage.php and view the pdf
|
||||
* check the status of https://github.com/tecnickcom/TCPDF/pull/74 and re-apply if not merged/closed
|
||||
* check the status of https://github.com/tecnickcom/TCPDF/pull/74 and re-apply if not merged/closed (6.2.16 and up should contain it).
|
||||
* verify that https://github.com/tecnickcom/TCPDF/pull/91 is included in the imported library (6.2.25 and up should contain it).
|
||||
|
||||
2017/10/02
|
||||
----------
|
||||
|
|
|
@ -17781,7 +17781,7 @@ Putting 1 is equivalent to putting 0 and calling Ln() just after. Default value:
|
|||
// justify block
|
||||
if (!TCPDF_STATIC::empty_string($this->lispacer)) {
|
||||
$this->lispacer = '';
|
||||
continue;
|
||||
break;
|
||||
}
|
||||
preg_match('/([0-9\.\+\-]*)[\s]([0-9\.\+\-]*)[\s]([0-9\.\+\-]*)[\s]('.$strpiece[1][0].')[\s](re)([\s]*)/x', $pmid, $xmatches);
|
||||
if (!isset($xmatches[1])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue