Skip to content

Commit

Permalink
iCalcreator-2.27.21
Browse files Browse the repository at this point in the history
  • Loading branch information
iCalcreator committed Jun 6, 2019
1 parent 2936c63 commit d3bcc3b
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 32 deletions.
6 changes: 3 additions & 3 deletions autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* copyright (c) 2007-2019 Kjell-Inge Gustafsson, kigkonsult, All rights reserved
* Link https://kigkonsult.se
* Package iCalcreator
* Version 2.27.20
* Version 2.27.21
* License Subject matter of licence is the software iCalcreator.
* The above copyright, link, package and version notices,
* this licence notice and the invariant [rfc5545] PRODID result use
Expand Down Expand Up @@ -33,12 +33,12 @@
* iCalcreator package autoloader
*
* @author Kjell-Inge Gustafsson, kigkonsult <ical@kigkonsult.se>
* @since 2.27.20 - 2019-05-20
* @since 2.27.21 - 2019-06-06
*/
/**
* Do NOT alter or remove the constant!!
*/
define( 'ICALCREATOR_VERSION', 'iCalcreator 2.27.20' );
define( 'ICALCREATOR_VERSION', 'iCalcreator 2.27.21' );
/**
* load iCalcreator src and support classes and Traits
*/
Expand Down
18 changes: 9 additions & 9 deletions docs/summary.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
copyright (c) 2007-2019 Kjell-Inge Gustafsson, kigkonsult, All rights reserved
Link https://kigkonsult.se
Package iCalcreator
Version 2.27.20
Version 2.27.21
License Subject matter of licence is the software iCalcreator.
The above copyright, link, package and version notices,
this licence notice and the invariant [rfc5545] PRODID result use
Expand All @@ -29,12 +29,12 @@
-->
<html lang="en">
<head>
<title>iCalcreator 2.27.20 manual</title>
<title>iCalcreator 2.27.21 manual</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<meta name="author" content="Kjell-Inge Gustafsson, kigkonsult, All rights reserved">
<meta name="copyright" content="2007-2019 Kjell-Inge Gustafsson, kigkonsult">
<meta name="keywords" content="ical, calendar, calender, xcal, xml, icalender, rfc2445, rfc5545, vcalender, php, create">
<meta name="description" content="using iCalcreator v2.27.20">
<meta name="description" content="using iCalcreator v2.27.21">
<style type="text/css">
* {
FONT-FAMILY : "Bitstream Vera Sans", Helvetica, "Lucida Grande","Lucida Sans Unicode", Lucida, Arial, Geneva, sans-serif;
Expand Down Expand Up @@ -144,9 +144,9 @@
</head>
<body>
<a name="top"></a>
<p class="header">iCalcreator v2.27.20</p>
<p class="header">iCalcreator v2.27.21</p>
<p>
iCalcreator v2.27.20<br>
iCalcreator v2.27.21<br>
Copyright &copy; 2007-2019 Kjell-Inge Gustafsson, kigkonsult, All rights reserved.<br>
<a href="#Copyright_and_Licence">Copyright_and_Licence</a><br>
<a href="https://kigkonsult.se" title="kigkonsult.se" target="_blank">kigkonsult.se</a><br>
Expand Down Expand Up @@ -192,7 +192,7 @@ <h4>The software</h4>
events, agendas, tasks, reports, totos and journaling information.
</p>
<p>
For iCalcreator 2.27.20 version (and later), <em>PHP</em> version 5.6+ is required.
For iCalcreator 2.27.21 version (and later), <em>PHP</em> version 5.6+ is required.
</p>

<h4>iCal</h4>
Expand Down Expand Up @@ -280,13 +280,13 @@ <h4>Install</h4>
<dt>Or
<dd> include the (download) iCalcreator folder to your include-path
<dd>Add
<dd><span class="format">require_once &quot;[path/]iCalcreator-2.27.20/autoload.php&quot;;</span>
<dd><span class="format">require_once &quot;[path/]iCalcreator-2.27.21/autoload.php&quot;;</span>
<dd>to your <em>PHP</em>-script.
<dd>The iCalcreator invoker has changed since previous version!
</dl>

<p>
iCalcreator 2.27.20 is using namespace &quot;Kigkonsult\Icalcreator&quot;.
iCalcreator 2.27.21 is using namespace &quot;Kigkonsult\Icalcreator&quot;.
</p>


Expand Down Expand Up @@ -712,7 +712,7 @@ <h2>COPYRIGHT AND LICENSE</h2>
<tr><td>Copyright<td>(c) 2007-2019 Kjell-Inge Gustafsson, kigkonsult, All rights reserved
<tr><td>Link <td>https://kigkonsult.se
<tr><td>Package <td>iCalcreator
<tr><td>Version <td>2.27.20
<tr><td>Version <td>2.27.21
<tr><td class="top">License <td>
Subject matter of licence is the software iCalcreator.<br>
The above copyright, link, package and version notices,<br>
Expand Down
20 changes: 10 additions & 10 deletions docs/using.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
copyright (c) 2007-2019 Kjell-Inge Gustafsson, kigkonsult, All rights reserved
Link https://kigkonsult.se
Package iCalcreator
Version 2.27.20
Version 2.27.21
License Subject matter of licence is the software iCalcreator.
The above copyright, link, package and version notices,
this licence notice and the invariant [rfc5545] PRODID result use
Expand All @@ -28,12 +28,12 @@
-->
<html lang="en">
<head>
<title>iCalcreator 2.27.20 manual</title>
<title>iCalcreator 2.27.21 manual</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<meta name="author" content="Kjell-Inge Gustafsson, kigkonsult, All rights reserved">
<meta name="copyright" content="2007-2019 Kjell-Inge Gustafsson, kigkonsult">
<meta name="keywords" content="ical, calendar, calender, xcal, xml, icalender, rfc2445, rfc5545, vcalender, php, create">
<meta name="description" content="using iCalcreator v2.27.20">
<meta name="description" content="using iCalcreator v2.27.21">
<style type="text/css">
* {
FONT-FAMILY : "Bitstream Vera Sans", Helvetica, "Lucida Grande","Lucida Sans Unicode", Lucida, Arial, Geneva, sans-serif;
Expand Down Expand Up @@ -158,9 +158,9 @@
</head>
<body>
<a name="top"></a>
<p class="header">iCalcreator v2.27.20</p>
<p class="header">iCalcreator v2.27.21</p>
<p>
iCalcreator v2.27.20<br>
iCalcreator v2.27.21<br>
Copyright &copy; 2007-2019 Kjell-Inge Gustafsson, kigkonsult, All rights reserved.<br>
<a href="#Copyright_and_Licence">Copyright_and_Licence</a><br>
<a href="https://kigkonsult.se" title="kigkonsult.se" target="_blank">kigkonsult.se</a><br>
Expand Down Expand Up @@ -212,7 +212,7 @@ <h2>Preface</h2>
iCalcreator features create, parse, edit and select <strong>calendar</strong> and <strong>calendar</strong> components.
</p>
<p>
For iCalcreator 2.27.20 version (and later), <em>PHP</em> version &gt;= 5.6 is required.
For iCalcreator 2.27.21 version (and later), <em>PHP</em> version &gt;= 5.6 is required.
</p>
<br>
<a href="#INDEX">[index]</a> <a href="#top">[top]</a>
Expand Down Expand Up @@ -333,11 +333,11 @@ <h4>xCal</h4>
<dt>Or
<dd> include the (download) iCalcreator folder to your include-path
<dd>Add
<dd><span class="format">require_once &quot;[path/]iCalcreator-2.27.20/autoload.php&quot;;</span>
<dd><span class="format">require_once &quot;[path/]iCalcreator-2.27.21/autoload.php&quot;;</span>
<dd>to your <em>PHP</em>-script.
</dl>
<p>
iCalcreator 2.27.20 is using namespace &quot;Kigkonsult\Icalcreator&quot;.
iCalcreator 2.27.21 is using namespace &quot;Kigkonsult\Icalcreator&quot;.
</p>

<br>
Expand Down Expand Up @@ -2990,7 +2990,7 @@ <h5>Set X-PROPERTY</h5>

$str = [
&quot;BEGIN:VCALENDAR&quot;,
&quot;PRODID:-//kigkonsult.se//NONSGML kigkonsult.se iCalcreator 2.27.20//&quot;,
&quot;PRODID:-//kigkonsult.se//NONSGML kigkonsult.se iCalcreator 2.27.21//&quot;,
&quot;VERSION:2.0&quot;,
&quot;BEGIN:VEVENT&quot;,
&quot;DTSTART:20101224T190000Z&quot;,
Expand Down Expand Up @@ -8736,7 +8736,7 @@ <h5>XML2iCal</h5>
<tr><td>Copyright<td>(c) 2007-2019 Kjell-Inge Gustafsson, kigkonsult, All rights reserved
<tr><td>Link <td>https://kigkonsult.se
<tr><td>Package <td>iCalcreator
<tr><td>Version <td>2.27.20
<tr><td>Version <td>2.27.21
<tr><td class="top">License <td>
Subject matter of licence is the software iCalcreator.<br>
The above copyright, link, package and version notices,<br>
Expand Down
4 changes: 3 additions & 1 deletion releaseNotes
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,6 @@ iCalcreator 2.27.16 releaseNotes
2.27.19 bug - typo in DateTimeFactory::dateTimeHasOffset
------------

2.27.20 bug - Break/Continue mixup in RecurFactory::recurWeeklySimple2: split up tests, minor code clean up
2.27.20 bug - Break/Continue mixup in RecurFactory::recurWeeklySimple2: split up tests, minor code clean up

2.27.21 bug - Break/Continue mixup in Vcalendar.php
4 changes: 2 additions & 2 deletions src/IcalBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* copyright (c) 2007-2019 Kjell-Inge Gustafsson, kigkonsult, All rights reserved
* Link https://kigkonsult.se
* Package iCalcreator
* Version 2.27.20
* Version 2.27.21
* License Subject matter of licence is the software iCalcreator.
* The above copyright, link, package and version notices,
* this licence notice and the invariant [rfc5545] PRODID result use
Expand Down Expand Up @@ -60,7 +60,7 @@
* Do NOT alter or remove the constant!!
*/
if( ! defined( 'ICALCREATOR_VERSION' )) {
define( 'ICALCREATOR_VERSION', 'iCalcreator 2.27.20' );
define( 'ICALCREATOR_VERSION', 'iCalcreator 2.27.21' );
}

/**
Expand Down
14 changes: 7 additions & 7 deletions src/Vcalendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* copyright (c) 2007-2019 Kjell-Inge Gustafsson, kigkonsult, All rights reserved
* Link https://kigkonsult.se
* Package iCalcreator
* Version 2.27.17
* Version 2.27.21
* License Subject matter of licence is the software iCalcreator.
* The above copyright, link, package and version notices,
* this licence notice and the invariant [rfc5545] PRODID result use
Expand Down Expand Up @@ -77,7 +77,7 @@
* Vcalendar class
*
* @author Kjell-Inge Gustafsson, kigkonsult <ical@kigkonsult.se>
* @since 2.27.6 - 2018-12-28
* @since 2.27.21 - 2019-06-06
*/
final class Vcalendar extends IcalBase
{
Expand Down Expand Up @@ -957,7 +957,7 @@ public function parse( $unparsedtext = false, $context = null ) {
*
* @throws UnexpectedValueException
* @access private
* @since 2.27.14 - 2019-02-26
* @since 2.27.21 - 2019-06-06
*/
private function parseCalendarData() {
static $BEGIN = 'BEGIN:';
Expand Down Expand Up @@ -986,16 +986,16 @@ private function parseCalendarData() {
list( $propName, $row ) = StringFactory::getPropName( $row );
switch( true ) {
case ( StringFactory::isXprefixed( $propName )) :
// accept X-properties
break;
case ( Util::isPropInList( $propName, [ self::PRODID, self::VERSION ] )) :
continue 2;// ignore version/prodid properties
// ignore version/prodid properties
continue 2;
break;
case ( ! Util::isPropInList( $propName, $CALPROPS )) :
// skip non standard property names
continue 2;
break;
default :// skip non standard property names
continue;
break;
} // end switch
/* separate attributes from value */
list( $value, $propAttr ) = StringFactory::splitContent( $row );
Expand Down

0 comments on commit d3bcc3b

Please sign in to comment.