mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
57_Calendar: complete rewrite, see http://forum.fhem.de/index.php/topic,48315.0.html
git-svn-id: https://svn.fhem.de/fhem/trunk@10732 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
897dbd9107
commit
4f900cfa5d
@ -1,5 +1,7 @@
|
||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||
# Do not insert empty lines here, update check depends on it.
|
||||
- change: 57_Calendar: complete rewrite
|
||||
see http://forum.fhem.de/index.php/topic,48315.0.html
|
||||
- feature: new events for home automation buttons and unassigned buttons
|
||||
- feature: 10_KOPP_FC: added blinds and switches
|
||||
- updated: 74_AMAD: New Mijor Release 1.2.0
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -138,6 +138,26 @@ ECMD_DoInit($)
|
||||
sub
|
||||
dq($)
|
||||
{
|
||||
=for comment
|
||||
'\a' => "\\a",
|
||||
'\e' => "\\e",
|
||||
'\f' => "\\f",
|
||||
'\n' => "\\n",
|
||||
'\r' => "\\r",
|
||||
'\t' => "\\t",
|
||||
);
|
||||
|
||||
$s =~ s/\\/\\\\/g;
|
||||
foreach my $regex (keys %escSequences) {
|
||||
$s =~ s/$regex/$escSequences{$regex}/g;
|
||||
}
|
||||
$s =~ s/([\000-\037])/sprintf("\\%03o", ord($1))/eg;
|
||||
|
||||
|
||||
|
||||
=cut
|
||||
|
||||
|
||||
my ($s)= @_;
|
||||
$s= "<nothing>" unless(defined($s));
|
||||
return "\"" . escapeLogLine($s) . "\"";
|
||||
|
Loading…
x
Reference in New Issue
Block a user