././@PaxHeader 0000000 0000000 0000000 00000000034 00000000000 010212 x ustar 00 28 mtime=1640012147.2449138
vdr-fritz-1.5.4/.cproject 0000644 0001750 0001750 00000052137 00000000000 014617 0 ustar 00tobias tobias
makeinstalltruetruetrue
././@PaxHeader 0000000 0000000 0000000 00000000034 00000000000 010212 x ustar 00 28 mtime=1640012147.2449138
vdr-fritz-1.5.4/.gitignore 0000644 0001750 0001750 00000000112 00000000000 014757 0 ustar 00tobias tobias *.pot
*.mo
*.o
*.so
.dependencies
*~
*.a
.directory
test/fritzplugintest
././@PaxHeader 0000000 0000000 0000000 00000000034 00000000000 010212 x ustar 00 28 mtime=1640012147.2449138
vdr-fritz-1.5.4/.gitmodules 0000644 0001750 0001750 00000000541 00000000000 015152 0 ustar 00tobias tobias [submodule "libfritz++"]
path = libfritz++
url = https://github.com/jowi24/libfritzpp.git
[submodule "liblog++"]
path = liblog++
url = https://github.com/jowi24/liblogpp.git
[submodule "libconv++"]
path = libconv++
url = https://github.com/jowi24/libconvpp.git
[submodule "libnet++"]
path = libnet++
url = https://github.com/jowi24/libnetpp.git
././@PaxHeader 0000000 0000000 0000000 00000000034 00000000000 010212 x ustar 00 28 mtime=1640012147.2449138
vdr-fritz-1.5.4/.project 0000644 0001750 0001750 00000004417 00000000000 014452 0 ustar 00tobias tobias
vdr-fritzvdrorg.eclipse.cdt.managedbuilder.core.genmakebuilderclean,full,incremental,?name?org.eclipse.cdt.make.core.append_environmenttrueorg.eclipse.cdt.make.core.autoBuildTargetallorg.eclipse.cdt.make.core.buildArgumentsorg.eclipse.cdt.make.core.buildCommandmakeorg.eclipse.cdt.make.core.cleanBuildTargetcleanorg.eclipse.cdt.make.core.contentsorg.eclipse.cdt.make.core.activeConfigSettingsorg.eclipse.cdt.make.core.enableAutoBuildfalseorg.eclipse.cdt.make.core.enableCleanBuildtrueorg.eclipse.cdt.make.core.enableFullBuildtrueorg.eclipse.cdt.make.core.fullBuildTargetallorg.eclipse.cdt.make.core.stopOnErrortrueorg.eclipse.cdt.make.core.useDefaultBuildCmdtrueorg.eclipse.cdt.managedbuilder.core.ScannerConfigBuilderorg.eclipse.cdt.managedbuilder.core.ScannerConfigNatureorg.eclipse.cdt.managedbuilder.core.managedBuildNatureorg.eclipse.cdt.core.cnatureorg.eclipse.cdt.core.ccnature
././@PaxHeader 0000000 0000000 0000000 00000000034 00000000000 010212 x ustar 00 28 mtime=1640012147.2449138
vdr-fritz-1.5.4/.settings/org.eclipse.cdt.core.prefs 0000644 0001750 0001750 00000002234 00000000000 021667 0 ustar 00tobias tobias eclipse.preferences.version=1
environment/project/preference.org.eclipse.cdt.managedbuilder.core.configurationDataProvider.1204179978=
environment/project/preference.org.eclipse.cdt.managedbuilder.core.configurationDataProvider.1204179978.1123872728=
environment/project/preference.org.eclipse.cdt.managedbuilder.core.configurationDataProvider.1204179978.1123872728/CXXFLAGS/delimiter=\:
environment/project/preference.org.eclipse.cdt.managedbuilder.core.configurationDataProvider.1204179978.1123872728/CXXFLAGS/operation=append
environment/project/preference.org.eclipse.cdt.managedbuilder.core.configurationDataProvider.1204179978.1123872728/CXXFLAGS/value=-g -ggdb -O0
environment/project/preference.org.eclipse.cdt.managedbuilder.core.configurationDataProvider.1204179978.1123872728/append=true
environment/project/preference.org.eclipse.cdt.managedbuilder.core.configurationDataProvider.1204179978.1123872728/appendContributed=true
environment/project/preference.org.eclipse.cdt.managedbuilder.core.configurationDataProvider.1204179978/append=true
environment/project/preference.org.eclipse.cdt.managedbuilder.core.configurationDataProvider.1204179978/appendContributed=true
././@PaxHeader 0000000 0000000 0000000 00000000034 00000000000 010212 x ustar 00 28 mtime=1640012147.2449138
vdr-fritz-1.5.4/.settings/org.eclipse.core.resources.prefs 0000644 0001750 0001750 00000000451 00000000000 023126 0 ustar 00tobias tobias #Sat Jan 01 16:38:26 CET 2011
eclipse.preferences.version=1
encoding//libfritz++/FritzFonbook.cpp=ISO-8859-15
encoding//po/de_DE.po=ISO-8859-15
encoding//po/fr_FR.po=ISO-8859-1
encoding//po/tr_TR.po=ISO-8859-9
encoding/HISTORY=ISO-8859-1
encoding/README=ISO-8859-15
encoding/README.de=ISO-8859-15
././@PaxHeader 0000000 0000000 0000000 00000000034 00000000000 010212 x ustar 00 28 mtime=1640012147.2449138
vdr-fritz-1.5.4/.settings/org.eclipse.core.runtime.prefs 0000644 0001750 0001750 00000000325 00000000000 022577 0 ustar 00tobias tobias #Mon Dec 08 14:24:27 CET 2008
content-types/enabled=true
content-types/org.eclipse.cdt.core.cxxHeader/file-extensions=h
content-types/org.eclipse.cdt.core.cxxSource/file-extensions=c
eclipse.preferences.version=1
././@PaxHeader 0000000 0000000 0000000 00000000034 00000000000 010212 x ustar 00 28 mtime=1640012147.2449138
vdr-fritz-1.5.4/COPYING 0000644 0001750 0001750 00000043106 00000000000 014034 0 ustar 00tobias tobias GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
Copyright (C)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.
././@PaxHeader 0000000 0000000 0000000 00000000034 00000000000 010212 x ustar 00 28 mtime=1640012147.2449138
vdr-fritz-1.5.4/Doxyfile 0000644 0001750 0001750 00000105562 00000000000 014514 0 ustar 00tobias tobias # Doxyfile 1.2.13.1
# This file describes the settings to be used by the documentation system
# doxygen (www.doxygen.org) for a project
#
# All text after a hash (#) is considered a comment and will be ignored
# The format is:
# TAG = value [value, ...]
# For lists items can also be appended using:
# TAG += value [value, ...]
# Values that contain spaces should be placed between quotes (" ")
#---------------------------------------------------------------------------
# General configuration options
#---------------------------------------------------------------------------
# The PROJECT_NAME tag is a single word (or a sequence of words surrounded
# by quotes) that should identify the project.
PROJECT_NAME = vdr-fritzbox
# The PROJECT_NUMBER tag can be used to enter a project or revision number.
# This could be handy for archiving the generated documentation or
# if some version control system is used.
PROJECT_NUMBER =
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
# base path where the generated documentation will be put.
# If a relative path is entered, it will be relative to the location
# where doxygen was started. If left blank the current directory will be used.
OUTPUT_DIRECTORY = srcdoc
# The OUTPUT_LANGUAGE tag is used to specify the language in which all
# documentation generated by doxygen is written. Doxygen will use this
# information to generate all constant output in the proper language.
# The default language is English, other supported languages are:
# Brazilian, Chinese, Croatian, Czech, Danish, Dutch, Finnish, French,
# German, Greek, Hungarian, Italian, Japanese, Korean, Norwegian, Polish,
# Portuguese, Romanian, Russian, Slovak, Slovene, Spanish and Swedish.
OUTPUT_LANGUAGE = English
# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in
# documentation are documented, even if no documentation was available.
# Private class members and static file members will be hidden unless
# the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES
EXTRACT_ALL = YES
# If the EXTRACT_PRIVATE tag is set to YES all private members of a class
# will be included in the documentation.
EXTRACT_PRIVATE = YES
# If the EXTRACT_STATIC tag is set to YES all static members of a file
# will be included in the documentation.
EXTRACT_STATIC = YES
# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs)
# defined locally in source files will be included in the documentation.
# If set to NO only classes defined in header files are included.
EXTRACT_LOCAL_CLASSES = YES
# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all
# undocumented members of documented classes, files or namespaces.
# If set to NO (the default) these members will be included in the
# various overviews, but no documentation section is generated.
# This option has no effect if EXTRACT_ALL is enabled.
HIDE_UNDOC_MEMBERS = NO
# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all
# undocumented classes that are normally visible in the class hierarchy.
# If set to NO (the default) these class will be included in the various
# overviews. This option has no effect if EXTRACT_ALL is enabled.
HIDE_UNDOC_CLASSES = NO
# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will
# include brief member descriptions after the members that are listed in
# the file and class documentation (similar to JavaDoc).
# Set to NO to disable this.
BRIEF_MEMBER_DESC = NO
# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend
# the brief description of a member or function before the detailed description.
# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
# brief descriptions will be completely suppressed.
REPEAT_BRIEF = YES
# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then
# Doxygen will generate a detailed section even if there is only a brief
# description.
ALWAYS_DETAILED_SEC = NO
# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all inherited
# members of a class in the documentation of that class as if those members were
# ordinary class members. Constructors, destructors and assignment operators of
# the base classes will not be shown.
INLINE_INHERITED_MEMB = NO
# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full
# path before files name in the file list and in the header files. If set
# to NO the shortest path that makes the file name unique will be used.
FULL_PATH_NAMES = NO
# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag
# can be used to strip a user defined part of the path. Stripping is
# only done if one of the specified strings matches the left-hand part of
# the path. It is allowed to use relative paths in the argument list.
STRIP_FROM_PATH =
# The INTERNAL_DOCS tag determines if documentation
# that is typed after a \internal command is included. If the tag is set
# to NO (the default) then the documentation will be excluded.
# Set it to YES to include the internal documentation.
INTERNAL_DOCS = NO
# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct
# doxygen to hide any special comment blocks from generated source code
# fragments. Normal C and C++ comments will always remain visible.
STRIP_CODE_COMMENTS = YES
# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate
# file names in lower case letters. If set to YES upper case letters are also
# allowed. This is useful if you have classes or files whose names only differ
# in case and if your file system supports case sensitive file names. Windows
# users are adviced to set this option to NO.
CASE_SENSE_NAMES = YES
# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter
# (but less readable) file names. This can be useful is your file systems
# doesn't support long names like on DOS, Mac, or CD-ROM.
SHORT_NAMES = NO
# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen
# will show members with their full class and namespace scopes in the
# documentation. If set to YES the scope will be hidden.
HIDE_SCOPE_NAMES = NO
# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen
# will generate a verbatim copy of the header file for each class for
# which an include is specified. Set to NO to disable this.
VERBATIM_HEADERS = YES
# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen
# will put list of the files that are included by a file in the documentation
# of that file.
SHOW_INCLUDE_FILES = YES
# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen
# will interpret the first line (until the first dot) of a JavaDoc-style
# comment as the brief description. If set to NO, the JavaDoc
# comments will behave just like the Qt-style comments (thus requiring an
# explict @brief command for a brief description.
JAVADOC_AUTOBRIEF = YES
# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented
# member inherits the documentation from any documented member that it
# reimplements.
INHERIT_DOCS = YES
# If the INLINE_INFO tag is set to YES (the default) then a tag [inline]
# is inserted in the documentation for inline members.
INLINE_INFO = YES
# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen
# will sort the (detailed) documentation of file and class members
# alphabetically by member name. If set to NO the members will appear in
# declaration order.
SORT_MEMBER_DOCS = YES
# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC
# tag is set to YES, then doxygen will reuse the documentation of the first
# member in the group (if any) for the other members of the group. By default
# all members of a group must be documented explicitly.
DISTRIBUTE_GROUP_DOC = NO
# The TAB_SIZE tag can be used to set the number of spaces in a tab.
# Doxygen uses this value to replace tabs by spaces in code fragments.
TAB_SIZE = 8
# The GENERATE_TODOLIST tag can be used to enable (YES) or
# disable (NO) the todo list. This list is created by putting \todo
# commands in the documentation.
GENERATE_TODOLIST = YES
# The GENERATE_TESTLIST tag can be used to enable (YES) or
# disable (NO) the test list. This list is created by putting \test
# commands in the documentation.
GENERATE_TESTLIST = YES
# The GENERATE_BUGLIST tag can be used to enable (YES) or
# disable (NO) the bug list. This list is created by putting \bug
# commands in the documentation.
GENERATE_BUGLIST = YES
# This tag can be used to specify a number of aliases that acts
# as commands in the documentation. An alias has the form "name=value".
# For example adding "sideeffect=\par Side Effects:\n" will allow you to
# put the command \sideeffect (or @sideeffect) in the documentation, which
# will result in a user defined paragraph with heading "Side Effects:".
# You can put \n's in the value part of an alias to insert newlines.
ALIASES =
# The ENABLED_SECTIONS tag can be used to enable conditional
# documentation sections, marked by \if sectionname ... \endif.
ENABLED_SECTIONS =
# The MAX_INITIALIZER_LINES tag determines the maximum number of lines
# the initial value of a variable or define consist of for it to appear in
# the documentation. If the initializer consists of more lines than specified
# here it will be hidden. Use a value of 0 to hide initializers completely.
# The appearance of the initializer of individual variables and defines in the
# documentation can be controlled using \showinitializer or \hideinitializer
# command in the documentation regardless of this setting.
MAX_INITIALIZER_LINES = 30
# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources
# only. Doxygen will then generate output that is more tailored for C.
# For instance some of the names that are used will be different. The list
# of all members will be omitted, etc.
##kls
OPTIMIZE_OUTPUT_FOR_C = NO
# Set the SHOW_USED_FILES tag to NO to disable the list of files generated
# at the bottom of the documentation of classes and structs. If set to YES the
# list will mention the files that were used to generate the documentation.
SHOW_USED_FILES = YES
#---------------------------------------------------------------------------
# configuration options related to warning and progress messages
#---------------------------------------------------------------------------
# The QUIET tag can be used to turn on/off the messages that are generated
# by doxygen. Possible values are YES and NO. If left blank NO is used.
QUIET = NO
# The WARNINGS tag can be used to turn on/off the warning messages that are
# generated by doxygen. Possible values are YES and NO. If left blank
# NO is used.
WARNINGS = YES
# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings
# for undocumented members. If EXTRACT_ALL is set to YES then this flag will
# automatically be disabled.
WARN_IF_UNDOCUMENTED = YES
# The WARN_FORMAT tag determines the format of the warning messages that
# doxygen can produce. The string should contain the $file, $line, and $text
# tags, which will be replaced by the file and line number from which the
# warning originated and the warning text.
WARN_FORMAT =
# The WARN_LOGFILE tag can be used to specify a file to which warning
# and error messages should be written. If left blank the output is written
# to stderr.
WARN_LOGFILE =
#---------------------------------------------------------------------------
# configuration options related to the input files
#---------------------------------------------------------------------------
# The INPUT tag can be used to specify the files and/or directories that contain
# documented source files. You may enter file names like "myfile.cpp" or
# directories like "/usr/src/myproject". Separate the files or directories
# with spaces.
INPUT = .
# If the value of the INPUT tag contains directories, you can use the
# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
# and *.h) to filter out the source-files in the directories. If left
# blank the following patterns are tested:
# *.c *.cc *.cxx *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx *.hpp
# *.h++ *.idl
FILE_PATTERNS = *.c *.h
# The RECURSIVE tag can be used to turn specify whether or not subdirectories
# should be searched for input files as well. Possible values are YES and NO.
# If left blank NO is used.
RECURSIVE = YES
# The EXCLUDE tag can be used to specify files and/or directories that should
# excluded from the INPUT source files. This way you can easily exclude a
# subdirectory from a directory tree whose root is specified with the INPUT tag.
EXCLUDE =
# If the value of the INPUT tag contains directories, you can use the
# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude
# certain files from those directories.
EXCLUDE_PATTERNS = */RCS/* */OLD/*
# The EXAMPLE_PATH tag can be used to specify one or more files or
# directories that contain example code fragments that are included (see
# the \include command).
EXAMPLE_PATH =
# If the value of the EXAMPLE_PATH tag contains directories, you can use the
# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
# and *.h) to filter out the source-files in the directories. If left
# blank all files are included.
EXAMPLE_PATTERNS =
# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be
# searched for input files to be used with the \include or \dontinclude
# commands irrespective of the value of the RECURSIVE tag.
# Possible values are YES and NO. If left blank NO is used.
EXAMPLE_RECURSIVE = NO
# The IMAGE_PATH tag can be used to specify one or more files or
# directories that contain image that are included in the documentation (see
# the \image command).
IMAGE_PATH =
# The INPUT_FILTER tag can be used to specify a program that doxygen should
# invoke to filter for each input file. Doxygen will invoke the filter program
# by executing (via popen()) the command , where
# is the value of the INPUT_FILTER tag, and is the name of an
# input file. Doxygen will then use the output that the filter program writes
# to standard output.
INPUT_FILTER =
# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using
# INPUT_FILTER) will be used to filter the input files when producing source
# files to browse.
FILTER_SOURCE_FILES = NO
#---------------------------------------------------------------------------
# configuration options related to source browsing
#---------------------------------------------------------------------------
# If the SOURCE_BROWSER tag is set to YES then a list of source files will
# be generated. Documented entities will be cross-referenced with these sources.
SOURCE_BROWSER = YES
# Setting the INLINE_SOURCES tag to YES will include the body
# of functions and classes directly in the documentation.
INLINE_SOURCES = NO
# If the REFERENCED_BY_RELATION tag is set to YES (the default)
# then for each documented function all documented
# functions referencing it will be listed.
REFERENCED_BY_RELATION = YES
# If the REFERENCES_RELATION tag is set to YES (the default)
# then for each documented function all documented entities
# called/used by that function will be listed.
REFERENCES_RELATION = YES
#---------------------------------------------------------------------------
# configuration options related to the alphabetical class index
#---------------------------------------------------------------------------
# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index
# of all compounds will be generated. Enable this if the project
# contains a lot of classes, structs, unions or interfaces.
ALPHABETICAL_INDEX = YES
# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then
# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns
# in which this list will be split (can be a number in the range [1..20])
COLS_IN_ALPHA_INDEX = 5
# In case all classes in a project start with a common prefix, all
# classes will be put under the same header in the alphabetical index.
# The IGNORE_PREFIX tag can be used to specify one or more prefixes that
# should be ignored while generating the index headers.
IGNORE_PREFIX = c
#---------------------------------------------------------------------------
# configuration options related to the HTML output
#---------------------------------------------------------------------------
# If the GENERATE_HTML tag is set to YES (the default) Doxygen will
# generate HTML output.
GENERATE_HTML = YES
# The HTML_OUTPUT tag is used to specify where the HTML docs will be put.
# If a relative path is entered the value of OUTPUT_DIRECTORY will be
# put in front of it. If left blank `html' will be used as the default path.
HTML_OUTPUT =
# The HTML_HEADER tag can be used to specify a personal HTML header for
# each generated HTML page. If it is left blank doxygen will generate a
# standard header.
HTML_HEADER =
# The HTML_FOOTER tag can be used to specify a personal HTML footer for
# each generated HTML page. If it is left blank doxygen will generate a
# standard footer.
HTML_FOOTER =
# The HTML_STYLESHEET tag can be used to specify a user defined cascading
# style sheet that is used by each HTML page. It can be used to
# fine-tune the look of the HTML output. If the tag is left blank doxygen
# will generate a default style sheet
HTML_STYLESHEET =
# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes,
# files or namespaces will be aligned in HTML using tables. If set to
# NO a bullet list will be used.
HTML_ALIGN_MEMBERS = YES
# If the GENERATE_HTMLHELP tag is set to YES, additional index files
# will be generated that can be used as input for tools like the
# Microsoft HTML help workshop to generate a compressed HTML help file (.chm)
# of the generated HTML documentation.
GENERATE_HTMLHELP = NO
# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag
# controls if a separate .chi index file is generated (YES) or that
# it should be included in the master .chm file (NO).
GENERATE_CHI = NO
# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag
# controls whether a binary table of contents is generated (YES) or a
# normal table of contents (NO) in the .chm file.
BINARY_TOC = NO
# The TOC_EXPAND flag can be set to YES to add extra items for group members
# to the contents of the Html help documentation and to the tree view.
TOC_EXPAND = NO
# The DISABLE_INDEX tag can be used to turn on/off the condensed index at
# top of each HTML page. The value NO (the default) enables the index and
# the value YES disables it.
DISABLE_INDEX = NO
# This tag can be used to set the number of enum values (range [1..20])
# that doxygen will group on one line in the generated HTML documentation.
ENUM_VALUES_PER_LINE = 4
# If the GENERATE_TREEVIEW tag is set to YES, a side panel will be
# generated containing a tree-like index structure (just like the one that
# is generated for HTML Help). For this to work a browser that supports
# JavaScript and frames is required (for instance Mozilla, Netscape 4.0+,
# or Internet explorer 4.0+). Note that for large projects the tree generation
# can take a very long time. In such cases it is better to disable this feature.
# Windows users are probably better off using the HTML help feature.
GENERATE_TREEVIEW = NO
# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be
# used to set the initial width (in pixels) of the frame in which the tree
# is shown.
TREEVIEW_WIDTH = 250
#---------------------------------------------------------------------------
# configuration options related to the LaTeX output
#---------------------------------------------------------------------------
# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will
# generate Latex output.
GENERATE_LATEX = NO
# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put.
# If a relative path is entered the value of OUTPUT_DIRECTORY will be
# put in front of it. If left blank `latex' will be used as the default path.
LATEX_OUTPUT =
# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact
# LaTeX documents. This may be useful for small projects and may help to
# save some trees in general.
COMPACT_LATEX = NO
# The PAPER_TYPE tag can be used to set the paper type that is used
# by the printer. Possible values are: a4, a4wide, letter, legal and
# executive. If left blank a4wide will be used.
PAPER_TYPE = a4wide
# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX
# packages that should be included in the LaTeX output.
EXTRA_PACKAGES =
# The LATEX_HEADER tag can be used to specify a personal LaTeX header for
# the generated latex document. The header should contain everything until
# the first chapter. If it is left blank doxygen will generate a
# standard header. Notice: only use this tag if you know what you are doing!
LATEX_HEADER =
# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated
# is prepared for conversion to pdf (using ps2pdf). The pdf file will
# contain links (just like the HTML output) instead of page references
# This makes the output suitable for online browsing using a pdf viewer.
PDF_HYPERLINKS = NO
# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of
# plain latex in the generated Makefile. Set this option to YES to get a
# higher quality PDF documentation.
USE_PDFLATEX = NO
# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode.
# command to the generated LaTeX files. This will instruct LaTeX to keep
# running if errors occur, instead of asking the user for help.
# This option is also used when generating formulas in HTML.
LATEX_BATCHMODE = NO
#---------------------------------------------------------------------------
# configuration options related to the RTF output
#---------------------------------------------------------------------------
# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output
# The RTF output is optimised for Word 97 and may not look very pretty with
# other RTF readers or editors.
GENERATE_RTF = NO
# The RTF_OUTPUT tag is used to specify where the RTF docs will be put.
# If a relative path is entered the value of OUTPUT_DIRECTORY will be
# put in front of it. If left blank `rtf' will be used as the default path.
RTF_OUTPUT =
# If the COMPACT_RTF tag is set to YES Doxygen generates more compact
# RTF documents. This may be useful for small projects and may help to
# save some trees in general.
COMPACT_RTF = NO
# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated
# will contain hyperlink fields. The RTF file will
# contain links (just like the HTML output) instead of page references.
# This makes the output suitable for online browsing using WORD or other
# programs which support those fields.
# Note: wordpad (write) and others do not support links.
RTF_HYPERLINKS = NO
# Load stylesheet definitions from file. Syntax is similar to doxygen's
# config file, i.e. a series of assigments. You only have to provide
# replacements, missing definitions are set to their default value.
RTF_STYLESHEET_FILE =
# Set optional variables used in the generation of an rtf document.
# Syntax is similar to doxygen's config file.
RTF_EXTENSIONS_FILE =
#---------------------------------------------------------------------------
# configuration options related to the man page output
#---------------------------------------------------------------------------
# If the GENERATE_MAN tag is set to YES (the default) Doxygen will
# generate man pages
GENERATE_MAN = NO
# The MAN_OUTPUT tag is used to specify where the man pages will be put.
# If a relative path is entered the value of OUTPUT_DIRECTORY will be
# put in front of it. If left blank `man' will be used as the default path.
MAN_OUTPUT =
# The MAN_EXTENSION tag determines the extension that is added to
# the generated man pages (default is the subroutine's section .3)
MAN_EXTENSION =
# If the MAN_LINKS tag is set to YES and Doxygen generates man output,
# then it will generate one additional man file for each entity
# documented in the real man page(s). These additional files
# only source the real man page, but without them the man command
# would be unable to find the correct page. The default is NO.
MAN_LINKS = NO
#---------------------------------------------------------------------------
# configuration options related to the XML output
#---------------------------------------------------------------------------
# If the GENERATE_XML tag is set to YES Doxygen will
# generate an XML file that captures the structure of
# the code including all documentation. Note that this
# feature is still experimental and incomplete at the
# moment.
GENERATE_XML = NO
#---------------------------------------------------------------------------
# configuration options for the AutoGen Definitions output
#---------------------------------------------------------------------------
# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will
# generate an AutoGen Definitions (see autogen.sf.net) file
# that captures the structure of the code including all
# documentation. Note that this feature is still experimental
# and incomplete at the moment.
GENERATE_AUTOGEN_DEF = NO
#---------------------------------------------------------------------------
# Configuration options related to the preprocessor
#---------------------------------------------------------------------------
# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will
# evaluate all C-preprocessor directives found in the sources and include
# files.
ENABLE_PREPROCESSING = YES
# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro
# names in the source code. If set to NO (the default) only conditional
# compilation will be performed. Macro expansion can be done in a controlled
# way by setting EXPAND_ONLY_PREDEF to YES.
MACRO_EXPANSION = NO
# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES
# then the macro expansion is limited to the macros specified with the
# PREDEFINED and EXPAND_AS_PREDEFINED tags.
EXPAND_ONLY_PREDEF = NO
# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files
# in the INCLUDE_PATH (see below) will be search if a #include is found.
SEARCH_INCLUDES = YES
# The INCLUDE_PATH tag can be used to specify one or more directories that
# contain include files that are not input files but should be processed by
# the preprocessor.
INCLUDE_PATH =
# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard
# patterns (like *.h and *.hpp) to filter out the header-files in the
# directories. If left blank, the patterns specified with FILE_PATTERNS will
# be used.
INCLUDE_FILE_PATTERNS =
# The PREDEFINED tag can be used to specify one or more macro names that
# are defined before the preprocessor is started (similar to the -D option of
# gcc). The argument of the tag is a list of macros of the form: name
# or name=definition (no spaces). If the definition and the = are
# omitted =1 is assumed.
PREDEFINED =
# If the MACRO_EXPANSION and EXPAND_PREDEF_ONLY tags are set to YES then
# this tag can be used to specify a list of macro names that should be expanded.
# The macro definition that is found in the sources will be used.
# Use the PREDEFINED tag if you want to use a different macro definition.
EXPAND_AS_DEFINED =
# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then
# doxygen's preprocessor will remove all function-like macros that are alone
# on a line and do not end with a semicolon. Such function macros are typically
# used for boiler-plate code, and will confuse the parser if not removed.
SKIP_FUNCTION_MACROS = YES
#---------------------------------------------------------------------------
# Configuration::addtions related to external references
#---------------------------------------------------------------------------
# The TAGFILES tag can be used to specify one or more tagfiles.
TAGFILES =
# When a file name is specified after GENERATE_TAGFILE, doxygen will create
# a tag file that is based on the input files it reads.
GENERATE_TAGFILE =
# If the ALLEXTERNALS tag is set to YES all external classes will be listed
# in the class index. If set to NO only the inherited external classes
# will be listed.
ALLEXTERNALS = NO
# The PERL_PATH should be the absolute path and name of the perl script
# interpreter (i.e. the result of `which perl').
PERL_PATH =
#---------------------------------------------------------------------------
# Configuration options related to the dot tool
#---------------------------------------------------------------------------
# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will
# generate a inheritance diagram (in Html, RTF and LaTeX) for classes with base or
# super classes. Setting the tag to NO turns the diagrams off. Note that this
# option is superceded by the HAVE_DOT option below. This is only a fallback. It is
# recommended to install and use dot, since it yield more powerful graphs.
CLASS_DIAGRAMS = YES
# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is
# available from the path. This tool is part of Graphviz, a graph visualization
# toolkit from AT&T and Lucent Bell Labs. The other options in this section
# have no effect if this option is set to NO (the default)
HAVE_DOT = YES
# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen
# will generate a graph for each documented class showing the direct and
# indirect inheritance relations. Setting this tag to YES will force the
# the CLASS_DIAGRAMS tag to NO.
CLASS_GRAPH = YES
# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen
# will generate a graph for each documented class showing the direct and
# indirect implementation dependencies (inheritance, containment, and
# class references variables) of the class with other documented classes.
COLLABORATION_GRAPH = YES
# If set to YES, the inheritance and collaboration graphs will show the
# relations between templates and their instances.
TEMPLATE_RELATIONS = YES
# If set to YES, the inheritance and collaboration graphs will hide
# inheritance and usage relations if the target is undocumented
# or is not a class.
HIDE_UNDOC_RELATIONS = YES
# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT
# tags are set to YES then doxygen will generate a graph for each documented
# file showing the direct and indirect include dependencies of the file with
# other documented files.
INCLUDE_GRAPH = YES
# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and
# HAVE_DOT tags are set to YES then doxygen will generate a graph for each
# documented header file showing the documented files that directly or
# indirectly include this file.
INCLUDED_BY_GRAPH = YES
# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen
# will graphical hierarchy of all classes instead of a textual one.
GRAPHICAL_HIERARCHY = YES
# The tag DOT_PATH can be used to specify the path where the dot tool can be
# found. If left blank, it is assumed the dot tool can be found on the path.
DOT_PATH =
# The DOTFILE_DIRS tag can be used to specify one or more directories that
# contain dot files that are included in the documentation (see the
# \dotfile command).
DOTFILE_DIRS =
# The MAX_DOT_GRAPH_WIDTH tag can be used to set the maximum allowed width
# (in pixels) of the graphs generated by dot. If a graph becomes larger than
# this value, doxygen will try to truncate the graph, so that it fits within
# the specified constraint. Beware that most browsers cannot cope with very
# large images.
MAX_DOT_GRAPH_WIDTH = 1024
# The MAX_DOT_GRAPH_HEIGHT tag can be used to set the maximum allows height
# (in pixels) of the graphs generated by dot. If a graph becomes larger than
# this value, doxygen will try to truncate the graph, so that it fits within
# the specified constraint. Beware that most browsers cannot cope with very
# large images.
MAX_DOT_GRAPH_HEIGHT = 1024
# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will
# generate a legend page explaining the meaning of the various boxes and
# arrows in the dot generated graphs.
GENERATE_LEGEND = YES
# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will
# remove the intermedate dot files that are used to generate
# the various graphs.
DOT_CLEANUP = YES
#---------------------------------------------------------------------------
# Configuration::addtions related to the search engine
#---------------------------------------------------------------------------
# The SEARCHENGINE tag specifies whether or not a search engine should be
# used. If set to NO the values of all tags below this one will be ignored.
SEARCHENGINE = NO
# The CGI_NAME tag should be the name of the CGI script that
# starts the search engine (doxysearch) with the correct parameters.
# A script with this name will be generated by doxygen.
CGI_NAME =
# The CGI_URL tag should be the absolute URL to the directory where the
# cgi binaries are located. See the documentation of your http daemon for
# details.
CGI_URL =
# The DOC_URL tag should be the absolute URL to the directory where the
# documentation is located. If left blank the absolute path to the
# documentation, with file:// prepended to it, will be used.
DOC_URL =
# The DOC_ABSPATH tag should be the absolute path to the directory where the
# documentation is located. If left blank the directory on the local machine
# will be used.
DOC_ABSPATH =
# The BIN_ABSPATH tag must point to the directory where the doxysearch binary
# is installed.
BIN_ABSPATH =
# The EXT_DOC_PATHS tag can be used to specify one or more paths to
# documentation generated for other projects. This allows doxysearch to search
# the documentation for these projects as well.
EXT_DOC_PATHS =
././@PaxHeader 0000000 0000000 0000000 00000000034 00000000000 010212 x ustar 00 28 mtime=1640012147.2449138
vdr-fritz-1.5.4/HISTORY 0000644 0001750 0001750 00000112753 00000000000 014072 0 ustar 00tobias tobias VDR Plugin 'fritzbox' Revision History
--------------------------------------
2007-04-22: Version 0.0.1
- Initial version.
2007-05-02: Version 0.0.2
- Made TCP connection handling more robust and simpler
- extended the compatibility list in README
- replaced vector::at in favor to vector[] to avoid possible problems
with gcc-2.95
(thanks goes to Tobias [1] for testing this)
- made plugin compatible to LinVDR 0.7
please apply provided patch file linvdr-0.7-fritzbox-*.diff
(patch provided by Tobias [1])
- main menu entry can now be hidden
(suggested by pimboli [2])
- german umlauts and other sonderzeichen are now displayed correctly
(bug found by Christian [3])
- showing line numer on incoming VoIP call
- showing msn on incoming ISDN call
(suggested by Christian [3])
- added a hint about dialing "#96*5*" with an ISDN telephone to README
(problem reported by mentox [4])
- displaying incoming calls can now be switched off in setup
(suggested by Markus [5])
- fixed MuteOnCall with multiple concurrent incoming calls,
i.e. VDR is unmuted, when the last incoming call ends
- added russian translation
(provided by neptunvasja [6])
2007-06-03: Version 0.0.3
- fixed a typo in "Call from unknown extension" translation
- added an include for better gcc-2.95 compatibility
- & is now correctly displayed in telephone book
- extended README to include new features
- extended README to include some hints for ISDN telephones
(provided by Strider [7])
- fixed handling of mute on call, such that outgoing calls
can no longer interfere with this
(reported by KingJerry[8])
- fixed a bug in the call list parser that caused invalid entries
- fixed a bug in replaceEntities() on 64-bit systems
(patch provided by Bernd [9])
- replaceEntities() now replaces multiple occurences of the same
entity (reported by Bernd [9])
- calls are now repeatedly shown until the call is accepted or
the caller hangs up (as suggested by Strider [7])
- pressing [OK] in the call lists now initiates a call as in the
phone book menu
- implemented MSN-Filter: only calls to certain MSNs are shown
(suggested by Christian [3])
- added local number to call lists. This can be configured in the
plugin's setup
(suggested by Christian [3])
- the password of the Fritz!Box is no longer displayed in the plugin's
setup page - instead all characters are replaced by an '*'
- fixed a bug in auto muting, that caused possible unmuting
without a prior auto mute
- updated russian translations
(provided by neptunvasja [6])
2007-06-24: Version 0.0.4
- added french translation
(provided by Patrice [10])
- fix for outdated call lists
(suggested by Bernd [9] and many others with similar suggestions)
- implemented new "pause on call" feature, that pauses a running
replay during an incoming call
(suggested by Reinhard [11])
- reduced syslog-verbosity when loading call-lists or phonebook
- Fritz!Box now recognizes the system codepage when displaying phonebook
and call lists (only with VDR >= 1.5.3)
2007-07-22: Version 0.0.5
- fixed translation of "PB"
- failed logins to the Fritz!Box are now logged to syslog
- support for special characters in Fritz!Box password
- fixed "pause on call"
- do not start a live pause on incoming call
- pause only when a replay is running and not paused
- do not stop a replay on hangup
(reported by and suggestions from Bernd [9], Dirk [12] and Oktay [13])
2007-09-04: Version 0.0.6
- added turkish translation
(provided by Oktay [13])
- added support for gettext (VDR >= 1.5.7),
plugin is still compatible with older versions
- MSN filter is now also applied to all call lists
(reported by Saxman2k [14])
- implemented a submenu, that shows all details of a specific call
in any call list
- dropped duration column in call lists (as this is available
on the detail screen now)
- dynamic column layout in call lists results in better
usage of the osd screen
- new setup option "Group call lists by date" results in
even better usage of the osd screen :-)
- Modified support for gettext (VDR >= 1.5.8)
plugin is still compatible with older versions
- rearranged targets in the makefile
according to a discussion in the VDR mailing list
- corrected a call to memset in fritzlistener.c
(patch provided by Axel [15])
- added some missing close-calls to prevent VDR from crashing
with error message "too many open files"
(patch provided by Axel [15])
- reducing network load by resolving Fritz!Box's ip address
only once
(patch provided by Axel [15])
- switched name and number column in the phone book;
width of the first column is calculated dynamically
- using the new trVDR() macro for core translations
plugin is still compatible with older versions
2007-09-26: Version 0.0.7
- fixed wrong display of call details when date separator is enabled or
call lists are filtered
(reported by Saxman2k [14])
- now using std::string::erase for compatibility with old libstdc++2.10
- added some includes for better gcc-2.95 compatibility
(patch provided by Tobias [1])
2007-11-04: Version 0.0.8
- code restructuring and cleanup, preparation for multiple phonebooks etc.
- resorted includes for gcc-2.95
- in cMenuCallDetail::SetText(): std::string::npos is not a uint,
using std::string::size_type instead
(patch provided by Axel [15])
- cFritzListener::Action(): using -1 in memset to be compatible with
its arg type
(patch provided by Axel [15])
- added missing copyright notices in all sources
(reported by Thomas [16])
- implemented reverse lookup phonebook via www.das-oertliche.de
- new setup-page for configuring a list of used phonebooks and the order in which
they are accessed while resolving numbers to names; in the phonebook view
the first displayable phonebook in this list is shown
- adapted README accordingly
- the call list is now fetched asynchroneously at startup,
avoiding the delay in the menu; to keep it up to date, it is
reloaded after every call automatically
- new makefile target "srcdoc" to generate source code documentation
- Improved the 'i18n' target in the Makefile to avoid unnecessary work as suggested by
vdr-1.5.11
2007-11-11: Version 0.0.9
- added cHttpClient for handling HTTP requests; removing end of file detection
in caller classes
- improved cCallList parser to work around lines starting with '#'
(as found in current Fritz!Box Labor Firmware version)
- call list now works with Fritz!Box Beta-Firmware 29.04.44-9163
(reported by Ryker [20])
- this may fix problems with firmware CH/A FRITZ!Box Fon WLAN 7140 Version 39.04.43 too
(reported by Joe [19])
- Fritz!Box phonebook supports new Fritz!Box Beta-Firmware 29.04.44-9163
(only one number per name is supported for now)
- all communication to the Fritz!Box Webinterface is now protected with a mutex to
avoid conflicts of concurrent request from different threads
- retry delay on communication failures is now increased up to one hour
to avoid flooding the syslog
- added missing translation in i18n.c to support still-popular old versions of vdr
(reported by Torsten [17])
- some firmware version do not sort the telephone book, the plugin now sorts the
entries itself
- removing '!' prefix when displaying Fritz!Box telephonebook VIP-entries
(suggested by Oliver [18])
- supporting multiple phone numbers per entry in newest Fritz!Box firmware versions
> added new column in phonebook view, marking (H)ome, (M)obile and (W)ork
> on incoming calls this type is shown as well
> this is ignored for older firmware versions
- fixed a segfault when accessing the plugins main menu with no telephonebook selected
(reported by Thomas [16])
- the call details menu now issues a reverse lookup if the name of the caller
is not known yet
2008-01-06: Version 0.0.10
- including patch to avoid compilation conflicts with C++ STL
(suggested by Reinhard [11])
- normalizing numbers before comparison, e.g., handling +4989..., 004989...,
and 089 the same. This introduces a new setup option "Country Code".
(suggested by Reinhard [11])
- applied retry delay on communication failures to _all_ connection types
- applied retry delay on receiving invalid data in cFritzListener to avoid log flooding
(reported by Marcus [21])
- added a warning regarding call monitor activation in syslog
- fixed cTcpClient to correctly detect a connection reset
2008-02-02: Version 0.0.11
- fixed the "#96*5*"-code in README.de
(reported by Hans J�rgen [22])
- fixed request-URL of das-oertliche.de
(patch provided by Reinhard [11])
- now always unlocking FritzBoxMutex even when an exception is thrown
- fixed wrong logging messages in fritzfonbuch.c claiming to be from calllist.c
- an error message is now shown, if the phonebook is not read yet
- replaced gethostbyname with threadsafe function getaddrinfo in cTcpClient
- improved timing cHttpClient::Read()
- simplified socket read in cOertlichesFonbuch::ResolveToName()
- now reading country- and regioncode from Fritz!Box;
this removes the setup option "Country Code"
Set up your location in the Fritz!Box (navigate to "Einstellungen ->
Telefonie -> Internettelefonie -> Erweiterte Einstellungen")
(thanks to Reinhard [11] for the hint to this option)
- now normalizing number when doing a lookup to dasoertliche.de
(reported by Reinhard [11])
2008-03-02: Version 0.0.12
- reading country- and regioncode from Fritz!Box already at startup to avoid
lookup delays on incoming calls
- modified cTcpClient and cHttpClient to call "recv" non-blocking.
This fixes a possible segfault when stopping vdr
(reported and fix tested by Frodo [23])
- fixed handling unknown messages in cFritzListener that caused an SIGABRT
- fixed reading country- and regioncode from Fritz!Box
- changed normalizing numbers ("+" -> "00")
This should fix das-oertliche reverse lookup without further modifications.
- added italian translation (provided by Diego [24])
- removed compatibility for old VDR versions (i18n-handling, UTF8-handling)
This is in preparation for a stable plugin release 1.0.0 for VDR 1.6. Please
report release-critical bugs as soon as possible. Further, translation
contributions (.po-files) are appreciated.
2008-03-30: Version 0.0.13
- updated french translations (provided by Patrice [10])
- fixed wrong dsyslog output in fritzlistener.c
- fixed outputting the '#96*5*5'-hint
- fixed an uninitialized socket variable in cTcpClient that caused closing
sockets not created by the plugin (e.g., cKbdRemote socket)
- updated russian translations
(provided by neptunvasja [6])
- fixed translating the plugin description
- moved call to cFritzTools::GetPhoneSettings() out of
cPluginFritzbox::Initialize() to avoid blocking the main thread
- cFritzTools::GetPhoneSettings() handles missing OKZ/LKZ settings in
Fritz!Box correctly. If no LKZ is set, 49 is assumed.
- extended cFritzListener to handle multiple lines in one message
- corrected some dsyslog() calls missing the sourcecode filename
> If no serious bugs appear with this release, it will get the stable plugin
release 1.0.0 for VDR 1.6. Translation contributions (.po-files) are appreciated.
2008-04-13: Version 1.0.0
- updated italian translations (provided by Diego [24])
- made "This phonebook is not yet available..." error message non-selectable
to avoid a segmentation fault when selecting it (reported by ? [25])
2008-06-10: Version 1.0.1
- fixed a possible buffer overflow when editing MSNs in the plugins' setup
- fixed a possible race condition when fetching the call list
- instantiating cFritzListener only if needed for on-call events
(suggested by Andreas [26])
2008-07-17: Version 1.1.0
- started new development branch (copy from version 1.0.1)
This branch is for development use and curious users only. If you like
a stable and reliable environment, please use the stable branch 1.0.x.
Distribution maintainers: Please take actions to prevent users from
accidentially upgrading from a stable 1.0.x version to this branch.
- new setup option "React on calls" allow configuration if the plugin acts on
incoming, outgoing or any calls
- normalizing outgoing numbers for fonbook lookups, etc. now includes
* removing an appended '#' (includes displaying)
* removing German call-by-call provider selection codes
- implemented support for a local phone book (suggested by neptunvasja [6])
* The fonbook is a csv-file located at
$vdrconfigdir/plugins/fritzbox/localfonbuch.csv
using the same encoding as VDR
* Each line of this file has the pattern
,,
For specify 1 (home), 2 (mobile) or 3 (work).
- changed function of kRed in the menu
* "Reload phonebooks" was moved to the setup menu
* new function "Next phonebook" ("> PB") iterates through
the displayable phonebooks
(the last one shown is remembered beyond vdr restarts)
- new setup option "Show detailed call information"
If switched to yes, the plugin opens an own OSD screen for notifications
instead of using Skins.Message. This way, more information can be displayed
(still to be done).
- shortened message displaying an incoming call from an unknown extension
(suggested by Habib [27])
- the number of missed calls is now announced via the plugins' main menu entry.
Enter the "missed calls" list to reset this counter.
- main menu entry is shortened to "Fritz!Box"
- modifications in the phone book menu
* now grouping phone book entries by name
* pressing OK now opens a detail menu. Within this detail menu calls can
be triggered with kRed, as in all other detail menus
(suggested by apex [28])
2008-07-29: Version 1.1.1
- fixed osd width calculation in cNotifyOsd::Show()
- improved detection of unsuccessful logins to the Fritz!Box
- made the plugin independent of Fritz!Box's webinterface language
(thanks to Gandalf [29] for supporting and testing this)
- fixed missing SetHelp() in cMenuFonbuchDetail
- fixed possible segfault when pressing OK in empty fonbuch or call list menu
(reported and fix tested by Gandalf [29])
- fixed password field in plugin settings to accept empty password
(reported by Gandalf [29])
- if no password is set, the plugin no longer tries to login to the Fritz!Box
- changed some dsyslog statements to e/isyslog
- no longer displaying AVM test-entries ("Max & Moritz") in call lists
- cOertlichesFonbuch no longer tries to resolve non german phone numbers
- updated russian translations
(provided by neptunvasja [6])
2008-08-20: Version 1.1.2
- changed name of "Das �rtliche"-Fonbuch to "das-oertliche.de". New internet
ressources should follow this naming scheme.
(based on a bug report of ronnykornexl [30])
- fixed dasoertliche.de fonbuch by adding a user-agent to the http request, which
is required by the webserver recently
- fixed possible segfault when pressing OK in empty fonbuch menu
(reported by ronnykornexl [30])
- made LKZ/OKZ parsing more robust against wrong password
- added support for phone books without number-type (e.g., old Fritz!Boxes) in
phone book detail screen
(reported by ronnykornexl [30])
- fixed possible segfault on invalid data in fritzbox.Fonbooks setup parameter
- fixed storing the password, which got lost in some cases
- changed default password to an empty one
- fixed wrong announcement of missed calls before call list retrieval
- fixed typo in german translations
(reported by ronnykornexl [30])
2008-12-20: Version 1.1.3
- added a missing const in cTcpClient::&operator<<
- fixed wrong type in comparisons to size_t in cFritzListener, cFritzTools
- fixed wrong type in dsyslog output in cNotifyOsd, cLocalFonbuch, cMenuSetupFritzboxFonbooks
- fixed compiler warning wrt comparison in cNotifyOsd
- updated italian translations (provided by Diego [24])
- implemented reverse lookup function for +31 (Netherlands)
- adapting plugin to new Fritz!Box firmware versions:
* auto detecting charset encoding when retrieving phonebook entries
* modified interface language detection (currently using a trial-and-error approach,
because old approach is no longer supported by newest firmware)
- splitted plugin into plugin application and three static libraries
* libfritz++ (included all Fritz!Box specific functionality)
* libtcpclient++ (providing tcp socket communication)
* libpthread++ (providing pthread support, independant of VDRs implementation)
With this, it is possible to use these libraries in other projects not related to VDR.
- all socket communication of the plugin can now be traced into /tmp/tcpclient.trace.
If this file exists at VDR startup, tracing is enabled. If not, tracing is disabled.
If you experience problems with vdr-fritzbox, this trace may be helpful in debugging
the issue. However, please be aware that this trace may contain password and other
sensitive information.
- modified logging to syslog. All log entries related to this plugin are now
prefixed with "vdr-fritzbox:".
- removed memory leak in cMenuSetupFritzbox::Store[MSN|Fonbooks]
- fixed some compiler warnings that occur with recent compiler versions (4.3.x)
- fixed missing includes which prevented compilation with recent compiler versions (4.3.x)
2008-12-31: Version 1.1.4
- adapted to changes in libfritz++:
* Added type "ALL" to CallList to retrieve complete list of calls at once.
* Moved callType from CallList to CallEntry.
* Implemented in-library msn filtering and reverse-lookups.
* Renamed various methods in FonbookManager from *Fonbuch* to *Fonbook*.
* Made CallList a singleton.
* Replaced string tokenizer in Listener.
* Refactored MSN-filter functionality.
* Added "-fPIC" to Makefiles.
* A call to Config::SetupFonbookIDs now deletes a previously instantiated FonbookManager
to allow multiple calls to SetupFonbookIDs in case of configuration changes.
* Introduced new method CallList::DeleteCallList() to explicitly delete the singleton instance.
* Made Listener a singleton. A call to Listener::CreateListener() is used to activate this feature.
* Introduced new method CallList::CreateCallList() to explicitly pre-fetch the call list before
calling CallList::getCallList().
* Moved Config::SetupFonbookIDs to FonbookManager::CreateFonbookManager().
* Renamed Tools::GetPhoneSettings() to Tools::GetLocationSettings().
* Added resolving of SIP[0-9] to real provider names.
- configuration changes of MSN filter, selected fonbooks, hostname and password are now
considered immediately without a restart
- plugin classes no longer hold own references to fonbook, listener and callList. They now use the
static getter methods.
- fixed a possible crash when using the plugin with showNumber = pauseOnCall = muteOnCall = false.
(patch provided by Andreas [26])
- using new library feature: resolving SIP provider names, instead of signalling SIP0, ...
2009-03-14: Version 1.1.5
- changes in libfritz++
* added exception catch in Tools::GetLang() and Tools::Login()
- changes in libpthread++
* added missing include in PThread++.h to fix compiler issue with g++-3.3
2009-05-12: Version 1.1.6
- changes in libfritz++
* Removed the default of countryCode = "49" if Tools::GetLocationSettings() fails. This task is
handed over to the caller, see next.
* Added new parameters to Config::Setup() to give default values for countryCode and regionCode.
The default parameters are used, when auto-detection in Tools::GetLocationSettings() fails. The
new parameter locationSettingsDetected indicates whether auto-detection was successful. In this
case, the given default values are overwritten to give the caller access to the new values.
* Fixed naming of local phonebook. The recommended name is now localphonebook.csv, the old name
localfonbuch.csv is still accepted. The directory remains $vdrconfigdir/plugins/fritzbox/.
- added new setup options for country code and region code. If the plugin is unable to detect
these automatically (e.g., with some older Fritz!Boxes) the values are taken from these setup
options.
(reported by Ronny [30])
2009-05-28: Version 1.2.0
- updated italian translations (provided by Diego [24])
- changes in libfritz++
* Updated OertlichesFonbook to new website layout
(fix provided by Matthias [31])
2009-08-27: Version 1.3.0.
- fixed naming of local phonebook. The plugin now really looks for a file called
localphonebook.csv.
(reported by Tobias [1])
- fixed missing translation of phonebooks in cMenuSetupFritzboxFonbooks
- fixed missing translation of phonebook entries with type TYPE_NONE
- first implementation to add call list entries to active phonebook.
- now saving status of last known missed calls as soon as possible to avoid data loss
if VDR does not shutdown cleanly (suggested by Keine_Ahnung [32])
- moved plugin initialization from cPluginFritzbox::Start() into a separated thread
to speed up VDR startup when expecting slow network links
- changes in libfritz++
* Implemented new login method for Fritz!Box firmware >= xx.04.74 using SIDs. This needs
features from openssl library. For compiling, libssl-dev (or similar) is needed.
* Fixed a warning warn_unused_result in LocalFonbook.cpp
* Fixed wrong HTTP-GET header in Nummerzoeker.cpp
- adapting Makefile to support new features of libfritz++:
Libssl is now needed to compile and/or run the plugin.
2009-11-21: Version 1.3.1
- changes in libfritz++
* fixed detection of login failure in Tools::Login()
* improved cleanup when deleting Listener, FritzFonbook, CallList
* delay destructor of FritzFonbook and CallList to wait for running threads to end
* improved concurrent access to Fritz!Box using new FritzClient class
* fixed entity decoding in FritzFonbook.cpp (reported and fix tested by Torsten [17])
* improved detection of login type (SID or PASSWORD), which is now done only once
* improved login to Fritz!Box to avoid unneccessary logins
* fixed TcpClient to throw correct exceptions on connect
this fixes detection of disabled call monitor, the corresponding hint "dial #96*5*"
is now shown in syslog again
* improved matching of phone numbers: Fritz!Box control codes *xxx# are now ignored.
(suggested by koronth [34])
- added configuration option to choose default screen when calling the plugins' main
menu action.
- fixed a possible crash when changing the plugins setup
- improved responsiveness when storing the plugins setup
- both detail screens (call details and phonebook entry details) can now be closed with
OK button, too
(patch provided by Uwe [33])
2010-01-02: Version 1.3.2
- changes in libfritz++
* added missing include in FritzClient.cpp
(patch provided by hotzenplotz5 [35])
* fixed retry delay calculation in case of connection refused
* simplified implementation of connection disconnect
this possibly fixes a crash when changing the plugins setup with FB call monitor disabled
(reported by Frank [36])
- updated italian translations (provided by Diego [24])
2010-05-30: Version 1.3.3
- changes in libfritz++ and libtcpclient++
* Fixed missing initialization of HttpClientBuf::state
* Improved thread safety in TcpClient:
deleting TcpClient while reading from stream in another thread caused memory corruption
* Improved destructor of Listener to allow proper cleanup of thread
* Fixed some warnings about ununsed parameters in base-classes and empty implementations
* removed FonbookEntry::getTypeName() as this is something the consumer has to take care about
* introduced I18N_NOOP macro, this allows application that use libfritz++ to identify strings
delivered by the library (e.g., using xgettext) they should localize
* removed dependency to OpenSSL due to licensing issues, libfritz++ now needs libgcrypt's
development header "gcrypt.h" to compile
* modified logging to handle full path filenames cause by cmake in __FILE__.
Provided new logging macros DBG, INF, ERR
* Fixed a possible issue with "thread-safety" of TcpClient, a TcpClient object can now
be deleted out of another thread while running
- the changes in libfritz++ and libtcpclient++ should improve overall plugin stability
especially at shutdown and configuration changes (thx to Torsten [17] and Marcus [21] for testing)
- removed some translation hints which are now provided by libfritz++ directly
- implemented cPluginFritzbox::FonbookEntryToName to adapt to changes in libfritz++
- linking to libgcrypt instead of openssl now because of licensing issues
- adapted logging to libfritz++
- adapted Makefile to VDR >= 1.7.13
2010-07-04: Version 1.3.4
- changes in libfritz++
* now parsing the Fritz Box's phone book via xml export file (if available)
* FritzFonbook is now writeable, if FB xml import is available
(firmware >= xx.04.76 needed)
* phone book entries now have the additional fields "quickdial", "vanity",
"priority", "important"
* Fixed decoding of entities in xml phone book parser
* Modified FonbookEntry class: one FonbookEntry now holds all numbers of a
person: Changed construction of FonbookEntrys accordingly, Changed interface
of Fonbook::ResolveToName, Adapted FritzFonbook's parser, Adapted LocalFonbook's parser,
Adapted ResolveToName in NummerzoekerFonbook and OertlichesFonbook
* Adapted local phonebook to use the same xml format, new FB versions use.
Existing csv phone books are converted to xml automagically, entries
with TYPE_NONE are converted to TYPE_HOME
* Updated OertlichesFonbook to website changes
(patch provided by [38])
- adapted to changes in libfritz++
Note: not all new features of libfritz++ are currently used in the plugin
- added setup option "Resume after call"
Up to now the setup option "Pause on call" included both, stopping *and* resuming playback on the
corresponding call events. This has been splitted now. "Pause on call" now only controls playback
stopping. "Resume after call" controls, if VDR resumes a previously stopped playback after all
calls have been finished. The old behaviour is preserved on upgrade.
(suggested by Zimbo [37])
2010-07-29: Version 1.3.5
- changes in libfritz++
* Fixed resolving of calls from unknown caller
(reported by Honky [39]
* Code cleanup in Listener, OertlichesFonbook and Nummerzoeker
2011-01-01: Version 1.3.6
- changes in libfritz++
* Added tel.local.ch phonebook
(patch provided by Christian [40]
* Added missing initialization of libgcrypt
* Sensitive Information like passwords, phone numbers, etc. are no longer
logged by default.
(suggested by C-3PO [41])
* Moved from libpthread++ to libccgnu2
* First steps in migrating to socket implementation of common c++
-> To compile vdr-fritz, development header files of the gnu common c++ library
are needed!
* Splitted Config::Setup into Config::Setup and Config::Init
* Fix reverse lookup in OertlichesFonbook
(patch provided by Kurt Wanner [43])
* Add missing include to XmlFonbook
(reported by Richard Bos [42])
- The new command line option --log-personal-info re-enables logging all information
(Suggested by C-3PO [41])
- Migration to gnu common c++ library should fix a possible crash at plugin shutdown
- Fix parsing SIP provider names
2011-01-22: Version 1.3.7
- changes in libfritz++
* Add Config::Shutdown() to gracefully shutdown the library
This can be used for re-inits as well as on program exit
* Improve checks when parsing result list in OertlichesFonbook
Check that at most one result is returned
(reported by Honky [39])
* Fix parser of OertlichesFonbook again
* Keep current call list as long as possible on reload
Current call list is now cleared after the new call list
has been parsed (Fixes #514)
* Fix XmlFonbook parser
XmlFonbook Parser was not aware of empty tags
(reported by Richard Bos [42] and Achim Bohnet [44])
* Fix retry delay calculation in Listener
- Disable "Add to PB" green key until this feature is implemented
- Adapt to new library function Config::Shutdown()
* This fixes changing the configuration at runtime. The library is now
shutdown before the configuration is changed and setup again afterwards
- Change message on entering the plugins main menu in case initialization is
still running
- Fix segfault in empty call list menu
Pressing ok in an uninitialized call list no longer segfaults
(reported by SvenS [45])
- Improved handling situations with multiple calls
If detailed call information osd is enabled, the osd shows multiple calls
simultaneously. The traditional osd shows multiple calls sequentially. Calls
are no longer lost.
- Fixed a possible segfault on signalling incoming and outgoing calls
- Showing osd messages at least Setup.OSDMessageTimeout seconds
2011-03-06: Version 1.3.8
- changes in libfritz++
* Fix FonbookManager if no phone book is configured at all
* Only write phone books back if changes are pending
* Added HttpClient to libfritz++ to replace remaining functionality
of libtcpclient++
* Imported some files from libcommoncpp to fix different issues
* Migrate reverse lookup phone books to use new HttpClient
* Make Fonbook::GetFonbookSize() more robust
If not initialized, always return 0 and not the current intermediate state
* Fix missing initialization in CallList
* Fix initialization of LocalFonbook
Add setInitialized(true) in case of no local phonebook file exists
* Fix possible segfault on incoming or outgoing calls
Fixes #572 [VDR]
* Throw exceptions in HttpClient
This fixes various issues when the network connection is not
available at startup, e.g. empty phone book or call list.
Fixes #573, #574, possibly #551 [VDR]
* Fix log information about phone book size
Fixes #577 [VDR]
* Remove translatable string 'unknown' from CallList
- Fix pausing replays on call
Pause was not reset correctly under certain circumstances.
- Removed tcpclient++, fully using libcommoncpp now
- Add command line option for an on-call command (parameter -c 'cmd')
Implements #571 [VDR], suggested by Alexander [48].
- Updated README and README.de
- Updated italian translations
Provided by Diego [24]
- Fix translation of 'unknown' in call list
2011-03-11: Version 1.3.9
- changes in libfritz++
* Remove translatable string 'unknown' from CallList
* Fix compile error with libcommoncpp2 / IPv6
* Add some debug output regarding threading
* Remove calls to exit() at end of threads
* Shortened time the lock to FritzClient is held by
FritzFonbook and CallList
- Fix translation of 'unknown' in call list
- Fix an issue with missing mutex releases at the
end of CallList and FritzFonbook threads
Fixes #551 [VDR]
(reported by hrueger [46], Bert [47], Honky [39])
Thanks for debugging and testing support!
- Speedup phone book and call list initialization
2011-04-17: Version 1.4.0
- New stable version, no changes to 1.3.9
2012-03-25: Version 1.5.0 (list also includes changes of 1.4.1 and 1.4.2)
- New development branch, stable branch 1.4.x is still maintained
- Changes in libfritz++
* speedup initialization
* Fix resolve in OertlichesFonbook
* Provide Doxyfile for documentation generation
* Fix compiler warnings -Wsign-compare and -Wswitch
- Save password Hex-encoded in configuration
* also works around a problem if password contains '#'
(reported by Fridi [49])
- Fix templates/on-call.sh
* Added a missing 'in' to the case part
(reported by theonlychriss [50])
- Fix set of characters possible in Fritz!Box password
* Some characters were missing (e.g., !)
* Some characters were not allowed
(reported by Tommy.Z [51])
- Adapt to more flexible Fritz!Box phone books
(e.g. containing more than one number of the same type per name)
- Fix possible crash setting msn filter count to zero
- Fix calling script on call events with OSD notification turned off
(reported by Christian Holder [52])
- Lookup based phone books now cache lookups in memory
(based on code by Christian Holder [52])
- Add option to pause live tv
Fixes #506 [VDR]
- Add option to mute only after connect
(Requested by derdoc [53])
2012-12-23: Version 1.5.1
- New feature: Only decrease volume on call
Fixes #513 [VDR]
- Fix a bug in cFritzEventHandler
Weired behaviour after calls when reactOnDirection is not DIRECTION_ANY
Reported by Kurt Wanner and Christian Holder
- Update german translation
- Improved privacy in syslog information (hide msns)
- Support for new FB firmware versions xx.05.50
- Changes in libfritz++
* Fix a possible deadlock in Tools::GetSipSettings()
* Move convertEntities from XmlFonbook up to Fonbook and improved it
* Fix resolve in TelLocalChFonbook
* Fix resolve in OertlichesFonbook
* Implement new login scheme using login_sid.lua for FB firmware >= xx.05.50
* Adapt sip settings, location settings, call list and phone book requests
to new uris and format
* Hide msn in syslog if logPersonalInfo is disabled
2013-01-05: Version 1.5.2
- Changes in libfritz++
* Fixes login problems with old fw-versions that return 404 on login_sid.lua
Fixes #312204 [KDE], reported by sofasurfer [54]
Fixes #1203 [VDR], reported by wolfi
* Fix encoding conversion when requesting call list
* Fix MSN filter to only match if filter is equal number of postfix of number
* Fix resolving test in tel.local.ch phonebook
- Add support for FB phonebooks with >3 numbers per entry, fixes a sigsev
on startup using such phonebooks
Fixes #1202, reported by Stefan [56], fix provided by Igel
- Fix decreasing/increasing volume on ring/call
Fixes #1188 [VDR], reported by SvenS [45]
- Update Makefile to work with VDR >= 1.7.34
For older VDR versions, use the old Makefile, available as Makefile.pre.1.7.34
in the plugin directory
- Show call information during complete ringing phase
Fixes #1189 [VDR], reported by speed [55]
2013-12-01: Version 1.5.3
- New dependency boost::asio, dropped dependency to commoncpp
- Fix resolve in TelLocalChFonbook
- Add support for username authentication: new setup option
Fixes #1385 [VDR]
- Fix some warning about unused parameters
2021-08-20: Version 1.5.4
- Changes in libfritz++
* Fix a compile problem reported in https://bugs.gentoo.org/808665, fix provided by [57]
- Fixed formatting issue #2 [GitHub]
- Fixed issue #3 [GitHub] provided by [58]
- Updated documentation
--- References ---
Bugtracker:
[VDR] -> http://projects.vdr-developer.org/issues/
[KDE] -> https://bugs.kde.org/show_bug.cgi?id=XXXXXX
[GitHub] -> https://github.com/jowi24/vdr-fritz/issues
Contributors:
[ 1] http://vdr-portal.de/board/profile.php?userid=7164
http://www.vdr-online.org/
[ 2] http://vdr-portal.de/board/profile.php?userid=4808
[ 3] http://vdr-portal.de/board/profile.php?userid=9345
[ 4] http://vdr-portal.de/board/profile.php?userid=1293
[ 5] http://vdr-portal.de/board/profile.php?userid=8180
[ 6] http://vdr-portal.de/board/profile.php?userid=11837
[ 7] http://vdr-portal.de/board/profile.php?userid=7641
[ 8] http://vdr-portal.de/board/profile.php?userid=2604
[ 9] http://vdr-portal.de/board/profile.php?userid=9009
[10] Patrice Staudt
http://vdr-portal.de/board/profile.php?userid=3409
[11] http://vdr-portal.de/board/profile.php?userid=6231
http://home.vrweb.de/~rnissl/
[12] http://vdr-portal.de/board/profile.php?userid=8480
[13] Oktay Yolgecen
[14] http://vdr-portal.de/board/profile.php?userid=1551
[15] Axel Naumann
[16] Thomas G�nther
http://vdr-portal.de/board/profile.php?userid=4452
[17] Torsten Weigelt
http://vdr-portal.de/board/profile.php?userid=16817
[18] Oliver Linsenmaier
[19] http://vdr-portal.de/board/profile.php?userid=99
[20] http://vdr-portal.de/board/profile.php?userid=15737
[21] http://vdr-portal.de/board/profile.php?userid=8904
[22] Hans J�rgen Meier
[23] http://vdr-portal.de/board/profile.php?userid=272
[24] Diego Pierotto
http://vdr-italia.phpbb24.com/portal.php
[25] please contact me to get your credits
[26] http://vdr-portal.de/board/profile.php?userid=2095
[27] Habib Azimi
http://vdr-portal.de/board/profile.php?userid=3
[28] http://vdr-portal.de/board/profile.php?userid=1450
[29] Thorsten Pohl
http://vdr-portal.de/board/profile.php?userid=8029
[30] http://vdr-portal.de/board/profile.php?userid=6793
[31] http://vdr-portal.de/board/profile.php?userid=15996
[32] http://vdr-portal.de/board/profile.php?userid=18589
[33] Uwe
http://vdr-portal.de/board/profile.php?userid=862
[34] http://vdr-portal.de/board/profile.php?userid=25271
[35] http://vdr-portal.de/board/profile.php?userid=2951
[36] Frank (hummingbird_de)
http://vdr-portal.de/board/profile.php?userid=715
[37] http://vdr-portal.de/board/profile.php?userid=415
[38] http://vdr-portal.de/board/profile.php?userid=12632
[39] Honky
http://vdr-portal.de/board/profile.php?userid=25383
[40] Christian Richter
http://vdr-portal.de/board/profile.php?userid=12424
[41] http://vdr-portal.de/board/profile.php?userid=12003
[42] Richard Bos
[43] Kurt Wanner
[44] Achim Bohnet
[45] SvenS
http://www.vdr-portal.de/user/404-svens/
[46] Hartmut
http://vdr-portal.de/board/profile.php?userid=15636
[47] http://vdr-portal.de/board/profile.php?userid=2579
[48] Alexander
[49] Fridi
http://www.vdr-portal.de/user/5231-fridi/
[50] theonlycriss
http://www.vdr-portal.de/user/3200-theonlychriss/
[51] Tommy.Z
http://www.vdr-portal.de/user/165-tommy-z/
[52] Christian Holder
[53] derdoc
http://www.vdr-portal.de/user/28286-derdoc/
[54] sofasurfer@gmail.com
[55] speed
http://www.vdr-portal.de/user/10911-speed
[56] Stephan
[57] https://github.com/thesamesam/
[58] https://github.com/vdkost ././@PaxHeader 0000000 0000000 0000000 00000000034 00000000000 010212 x ustar 00 28 mtime=1640012147.2449138
vdr-fritz-1.5.4/Makefile 0000644 0001750 0001750 00000010070 00000000000 014433 0 ustar 00tobias tobias #
# Makefile for a Video Disk Recorder plugin
#
# $Id$
# The official name of this plugin.
# This name will be used in the '-P...' option of VDR to load the plugin.
# By default the main source file also carries this name.
PLUGIN = fritzbox
### The version number of this plugin (taken from the main source file):
VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).cpp | awk '{ print $$6 }' | sed -e 's/[";]//g')
### The directory environment:
# Use package data if installed...otherwise assume we're under the VDR source directory:
PKGCFG = $(if $(VDRDIR),$(shell pkg-config --variable=$(1) $(VDRDIR)/vdr.pc),$(shell pkg-config --variable=$(1) vdr || pkg-config --variable=$(1) ../../../vdr.pc))
LIBDIR = $(call PKGCFG,libdir)
LOCDIR = $(call PKGCFG,locdir)
PLGCFG = $(call PKGCFG,plgcfg)
#
TMPDIR ?= /tmp
### The compiler options:
export CFLAGS = $(call PKGCFG,cflags)
export CXXFLAGS = $(call PKGCFG,cxxflags)
### The version number of VDR's plugin API:
APIVERSION = $(call PKGCFG,apiversion)
### Allow user defined options to overwrite defaults:
-include $(PLGCFG)
### The name of the distribution archive:
ARCHIVE = $(PLUGIN)-$(VERSION)
PACKAGE = vdr-$(ARCHIVE)
### The name of the shared object file:
SOFILE = libvdr-$(PLUGIN).so
### Includes and Defines (add further entries here):
INCLUDES +=
DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
### The object files (add further files here):
OBJS = $(patsubst %.cpp,%.o,$(wildcard *.cpp))
### Static libraries
LIBS = libfritz++/libfritz++.a libnet++/libnet++.a liblog++/liblog++.a libconv++/libconv++.a
STATIC_LIB_DIRS = $(dir $(LIBS))
STATIC_LIBS = $(LIBS:%=$(CURDIR)/%)
CXXFLAGS += -I$(CURDIR) -std=c++11
LDFLAGS += -lboost_system -lboost_thread -lboost_regex -lpthread -lgcrypt
export STATIC_LIBS CXXFLAGS LDFLAGS
### Tests
TEST_DIRS = $(wildcard $(addsuffix test,$(dir $(LIBS)))) $(wildcard test)
### Internationalization (I18N):
PODIR = po
I18Npo = $(wildcard $(PODIR)/*.po)
I18Nmo = $(addsuffix .mo, $(foreach file, $(I18Npo), $(basename $(file))))
I18Nmsgs = $(addprefix $(DESTDIR)$(LOCDIR)/, $(addsuffix /LC_MESSAGES/vdr-$(PLUGIN).mo, $(notdir $(foreach file, $(I18Npo), $(basename $(file))))))
I18Npot = $(PODIR)/$(PLUGIN).pot
### Phony targets
.PHONY: all install i18n clean test $(STATIC_LIB_DIRS) $(TEST_DIRS)
### Targets:
all: $(SOFILE) i18n
$(SOFILE): $(OBJS) $(LIBS)
$(CXX) $(CXXFLAGS) -shared $(OBJS) $(LIBS) $(LDFLAGS) -o $@
%.a: $(STATIC_LIB_DIRS)
@
$(STATIC_LIB_DIRS):
@$(MAKE) -C $@ $(@:/=).a
%.o: %.cpp
$(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) -o $@ $<
install-lib: $(SOFILE)
install -D $^ $(DESTDIR)$(LIBDIR)/$^.$(APIVERSION)
install: install-lib install-i18n
test: $(STATIC_LIB_DIRS) $(TEST_DIRS)
$(TEST_DIRS):
@$(MAKE) -C $@
dist: $(I18Npo) clean
@-rm -rf $(TMPDIR)/$(ARCHIVE)
@mkdir $(TMPDIR)/$(ARCHIVE)
@cp -a * $(TMPDIR)/$(ARCHIVE)
@rm -rf $(TMPDIR)/$(ARCHIVE)/lib*/.git
@rm -rf $(TMPDIR)/$(ARCHIVE)/test
@rm -rf $(TMPDIR)/$(ARCHIVE)/lib*/test
@tar czf $(PACKAGE).tgz --exclude=.* --exclude=test --exclude=test.old --exclude=*.launch -C $(TMPDIR) $(ARCHIVE)
@-rm -rf $(TMPDIR)/$(ARCHIVE)
@echo Distribution package created as $(PACKAGE).tgz
clean:
@$(foreach LIB,$(STATIC_LIB_DIRS),$(MAKE) -C $(LIB) clean;)
@$(foreach DIR,$(TEST_DIRS),$(MAKE) -C $(DIR) clean;)
@-rm -f $(PODIR)/*.mo $(PODIR)/*.pot
@-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~
### I18n targets
%.mo: %.po
msgfmt -c -o $@ $<
$(I18Npot): $(wildcard *.cpp)
mkdir -p $(PODIR)
xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --package-name=vdr-$(PLUGIN) --package-version=$(VERSION) --msgid-bugs-address='' -o $@ `ls $^`
%.po: $(I18Npot)
msgmerge -U --no-wrap --no-location --backup=none -q -N $@ $<
@touch $@
$(I18Nmsgs): $(DESTDIR)$(LOCDIR)/%/LC_MESSAGES/vdr-$(PLUGIN).mo: $(PODIR)/%.mo
install -D -m644 $< $@
i18n: $(I18Nmo) $(I18Npot)
install-i18n: $(I18Nmsgs)
### Dependencies:
MAKEDEP = $(CXX) -MM -MG
DEPFILE = .dependencies
$(DEPFILE): Makefile
@$(MAKEDEP) $(CXXFLAGS) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.cpp) > $@
-include $(DEPFILE)
././@PaxHeader 0000000 0000000 0000000 00000000034 00000000000 010212 x ustar 00 28 mtime=1640012147.2449138
vdr-fritz-1.5.4/Makefile.pre.1.7.34 0000644 0001750 0001750 00000007536 00000000000 015766 0 ustar 00tobias tobias #
# Makefile for a Video Disk Recorder plugin
# This Makefile version is for VDR < 1.7.34 and is no longer supported.
#
# $Id$
# The official name of this plugin.
# This name will be used in the '-P...' option of VDR to load the plugin.
# By default the main source file also carries this name.
# IPORTANT: the presence of this macro is important for the Make.config
# file. So it must be defined, even if it is not used here!
#
PLUGIN = fritzbox
### The version number of this plugin (taken from the main source file):
VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ print $$6 }' | sed -e 's/[";]//g')
### The C++ compiler and options:
CXX ?= g++
CXXFLAGS ?= -g -ggdb -O2 -Wall -Woverloaded-virtual
### Make sure that necessary options are included:
ifeq ($(strip $(wildcard $(VDRDIR)/Make.global)),)
CXXFLAGS += -fPIC
else
include $(VDRDIR)/Make.global
endif
### The directory environment:
VDRDIR ?= ../../..
LIBDIR = $(VDRDIR)/PLUGINS/lib
TMPDIR = /tmp
### Allow user defined options to overwrite defaults:
-include $(VDRDIR)/Make.config
### The version number of VDR's plugin API (taken from VDR's "config.h"):
APIVERSION = $(shell sed -ne '/define APIVERSION/s/^.*"\(.*\)".*$$/\1/p' $(VDRDIR)/config.h)
VDRVERSNUM = $(shell grep 'define VDRVERSNUM ' $(VDRDIR)/config.h | awk '{ print $$3 }' | sed -e 's/"//g')
DOXYFILE = Doxyfile
DOXYGEN = doxygen
### The name of the distribution archive:
ARCHIVE = $(PLUGIN)-$(VERSION)
PACKAGE = vdr-$(ARCHIVE)
### Includes and Defines (add further entries here):
INCLUDES += -I$(VDRDIR)/include
DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
### libfritz++
LIBFRITZ = libfritz++
INCLUDES += -I$(LIBFRITZ)
LIBS += $(LIBFRITZ)/$(LIBFRITZ).a -lgcrypt -lccgnu2
### The object files (add further files here):
OBJS = $(PLUGIN).o fritzeventhandler.o log.o menu.o notifyosd.o setup.o
### Targets:
all: libvdr-$(PLUGIN).so i18n test $(LIBFRITZ)
@-cp --remove-destination libvdr-$(PLUGIN).so $(LIBDIR)/libvdr-$(PLUGIN).so.$(APIVERSION)
## TODO: Prevent so file from beeing build every time
libvdr-$(PLUGIN).so: $(OBJS) $(LIBFRITZ)
$(CXX) $(CXXFLAGS) -shared $(OBJS) $(LIBS) -o $@
ar ru libvdr-$(PLUGIN).a $(OBJS)
$(LIBFRITZ):
@$(MAKE) -C $(LIBFRITZ)
%.o: %.c
$(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $<
dist: clean
@-rm -rf $(TMPDIR)/$(ARCHIVE)
@mkdir $(TMPDIR)/$(ARCHIVE)
@cp -a * $(TMPDIR)/$(ARCHIVE)
@tar czf $(PACKAGE).tgz --exclude=.* --exclude=test --exclude=test.old -C $(TMPDIR) $(ARCHIVE)
@-rm -rf $(TMPDIR)/$(ARCHIVE)
@echo Distribution package created as $(PACKAGE).tgz
clean:
@-rm -f $(PODIR)/*.mo $(PODIR)/*.pot
@-rm -f $(OBJS) $(DEPFILE) *.so *.a *.tgz core* *~
@-make -C $(LIBFRITZ) clean
@-make -C test clean
### Internationalization (I18N):
PODIR = po
LOCALEDIR = $(VDRDIR)/locale
I18Npo = $(wildcard $(PODIR)/*.po)
I18Nmsgs = $(addprefix $(LOCALEDIR)/, $(addsuffix /LC_MESSAGES/vdr-$(PLUGIN).mo, $(notdir $(foreach file, $(I18Npo), $(basename $(file))))))
I18Npot = $(PODIR)/$(PLUGIN).pot
%.mo: %.po
msgfmt -c -o $@ $<
$(I18Npot): $(wildcard *.c) $(wildcard libfritz++/*.cpp)
xgettext -C -cTRANSLATORS --no-wrap -s --no-location -k -ktr -ktrNOOP -kI18N_NOOP \
--msgid-bugs-address='' -o $@ $^
grep -v POT-Creation $(I18Npot) > $(I18Npot)~
mv $(I18Npot)~ $(I18Npot)
%.po: $(I18Npot)
msgmerge -U --no-wrap -s --backup=none -q $@ $<
@touch $@
$(I18Nmsgs): $(LOCALEDIR)/%/LC_MESSAGES/vdr-$(PLUGIN).mo: $(PODIR)/%.mo
@mkdir -p $(dir $@)
cp $< $@
.PHONY: i18n test $(LIBFRITZ)
i18n: $(I18Nmsgs)
test:
@-make -C test
srcdoc:
@cp $(DOXYFILE) $(DOXYFILE).tmp
@echo PROJECT_NUMBER = $(VERSION) >> $(DOXYFILE).tmp
$(DOXYGEN) $(DOXYFILE).tmp
@rm $(DOXYFILE).tmp
# Dependencies:
MAKEDEP = $(CXX) -MM -MG
DEPFILE = .dependencies
$(DEPFILE): Makefile
@$(MAKEDEP) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.c) > $@
-include $(DEPFILE)
././@PaxHeader 0000000 0000000 0000000 00000000034 00000000000 010212 x ustar 00 28 mtime=1640012147.2449138
vdr-fritz-1.5.4/README 0000644 0001750 0001750 00000011430 00000000000 013654 0 ustar 00tobias tobias This is a "plugin" for the Video Disk Recorder (VDR).
Written by: Joachim Wilke
Matthias Becker
Project's homepage: https://github.com/jowi24/vdr-fritz
Latest version available at: https://github.com/jowi24/vdr-fritz/releases
See the file COPYING for license information.
** Note: The HISTORY file may contain information on new features, which are
not yet documented in this READE. For up to date information also have a look
in that file. **
--<----------------------------------------------------------------------------
Installation:
The Fritz plugin is not very different from other plugins for VDR, most of the
common installation procedure for plugins, documented in VDR's core
documentation applies. However, the following build dependecies are required:
- GCrypt library (libgcrypt)
- Gnu Common CPP library (libccgnu2, libccext2)
--<----------------------------------------------------------------------------
Description:
* Call notification
The Fritz!Box Plugin connects to the Fritz!Box to inform you about
incoming and outgoing calls. As an option, the plugin can automatically mute
VDR and pause replays when a call comes in or goes out.
To enable this feature you have to dial "#96*5*" once with a telephone
connected to the Fritz!Box. This works for all firmware versions
>= xx.03.99
You may experience problems when trying to dial "#96*5*" with an ISDN
telephone. In such a case try to activate "auto keypad", "dial * and #"
or some similar setting in your ISDN telephone. If your ISDN telephone
contains no keypad support simply use an analogue telephone instead.
If you do not want to be notified by every call, you can specify a list of
MSNs you are interested on in the plugin's setup. Max. 22 monitored MSNs
are supported.
Configuration regarding call notification, muting and pausing is done
in the plugin setup menu in VDR.
* Phone book support
The plugin supports multiple phonebooks. In the plugin's setup, you can
choose which phonebooks are used. The order matters with respect to number
lookup. When a call comes in, the plugin tries to resolve the number using
the first configured phonebook. If that fails, it tries the second one, and
so on.
Only one phonebook can be shown in the plugin's main menu. It is the
first configured phonebook, that has displayable entries. Via VDR's main
menu you can browse this phone book and initiate calls out of it via the
[OK]-button. This function uses the telephone you have configures in
Fritz!Box web interface for this purpose. (In German the menu path is:
Telefonie > Anrufliste > Wählhilfe)
-> Fritz!Box phone book
This accesses the Fritz!Box phonebook stored on the box itself.
-> das-oertliche.de phone book
This tries to resolve any number via the german website das-oertliche.de.
As this is a lookup-only phonebook, it's entries cannot be displayed
in the main menu... ;-)
-> nummerzoeker phone book / tel.local.ch phone book
Same as das-oertliche.de, but for numbers from the Netherlands and Switzerland.
* Fritz!Box call list
Via the colour buttons you can access three different call lists.
Press [Green] to see the history of incoming calls. Use [Yellow] for the
list of missed calls. Finally [Blue] gives you an overview on whom you
called yourself.
Pressing [OK] shows a separate page with details to the selected call.
In this menu you can initiate calls, as in the phone book menu, by pressing
[Red].
--<----------------------------------------------------------------------------
Command line options:
-> Privacy
This plugin logs status and debug information to system log (syslog). By default,
no sensitive information, like phone numbers or similar are logged. However, for
debugging purposes, this can be enabled, by the '-p' parameter.
-> Running custom commands on call events
Using the '-c cmd' parameter, a command or script 'cmd' can be specified, that
is called when an incoming or outgoing call is initiated or finished. The plugin
calls cmd with additional parameters depending on the type of event.
* On incoming or outgoing calls:
- cmd CALL [OUT|IN]
* On call connect:
- cmd CONNECT
* On call disconnect:
- cmd DISCONNECT
* When all ongoing calls have been finished:
- cmd FINISHED
A sample script is provided in template/on-call.sh.
--<----------------------------------------------------------------------------
Note: This Plugin has been tested with Fritz!Box Fon WLAN 7170 FW 29.04.29.
However it may also work for other models or firmware versions. For a detailed
list see the plugin's homepage. If you have another model, either positive or
negative feedback is appreciated.
././@PaxHeader 0000000 0000000 0000000 00000000034 00000000000 010212 x ustar 00 28 mtime=1640012147.2449138
vdr-fritz-1.5.4/README.de 0000644 0001750 0001750 00000011142 00000000000 014243 0 ustar 00tobias tobias Ein Plugin für den Video Disc Recorder (VDR).
Autoren: Joachim Wilke
Matthias Becker
Projektseite: https://github.com/jowi24/vdr-fritz
Download unter: https://github.com/jowi24/vdr-fritz/releases
Lizenzinformationen sind in der Datei COPYING enthalten.
** Hinweis: Die englischsprachige HISTORY Datei kann ggf. Informationen über neue
Funktionen beinhalten, die in dieser Dokumentation noch nicht eingepflegt sind. **
--<----------------------------------------------------------------------------
Installation:
Das Fritz Plugin unterscheidet sich nicht wesentlich von anderen Plugins für den
VDR. Das meiste der VDR-Dokumentation zu Plugins gilt auch hier. Zusätzlich sind
lediglich die folgende Bibliotheks-Abhängigkeiten zu beachten:
- GCrypt Bibliothek (libgcrypt)
- Gnu Common CPP Bibliothek (libccgnu2, libccext2)
--<----------------------------------------------------------------------------
Beschreibung:
* Anrufsignalisierung
Das Fritz!Box Plugin verbindet sich mit der Fritz!Box um über eingehende
oder ausgehende Anrufe zu informieren. Dabei kann das Plugin VDR stummschalten
und die Wiedergabe anhalten.
Um diese Funktion zu nutzen, muss die Fritz!Box einmalig aktiviert werden,
indem von einem der angeschlossenen Telefone "#96*5*" gewählt wird. Dies
funktioniert mit allen Firmwareversionen >= xx.03.99.
In Verbindung mit ISDN Telefonen kann es beim Wählen von "#96*5*" Probleme
geben. In diesem Fall hilft es am Telefon "auto keypad", "dial * and #"
oder ähnliches zu aktivieren.
Um nicht bei jedem Anruf benachrichtigt zu werden, lässt sich eine Liste
von MSNs anlegen bei denen man benachrichtigt werden möchte. Max. 22
solcher MSNs sind möglich.
Alle Einstellungen bezüglich der Anrufsignalisierung können im
Einstellungsmenu des Plugins direkt im VDR durchgeführt werden.
* Telefonbücher
Das Plugin unterstützt verschiedene Telefonbücher. Im Setup Menü des Plugins
lässt sich einstellen, welche Telefonbücher verwendet werden. Im Falle eines
Anrufes wird versucht die Telefonnummer in einem dieser Telefonbücher zu
finden. Dabei wird in der eingestellten Reihenfolge vorgegangen.
Im Hauptmenu des Plugins wird das erste Telefonbuch angezeigt, das
Einträge enthält. Mit der [OK]-Taste können Kontakte direkt angerufen werden.
Diese Funktion nutzt dabei das Telefon, welches unter Telefonie > Anrufliste
> Wählhilfe ausgewählt ist.
-> Fritz!Box Telefonbuch
Dieses Telefonbuch greift auf die Einträge der Fritz!Box zu.
-> das-oertliche.de Telefonbuch
Dieses Telefonbuch versucht eine Rückwärtsauflösung über die Webseite
das-oertliche.de. Da dieses Telefonbuch keine eigentlichen Einträge
besitzt, kann es nicht im Hauptmenu des Plugins angezeigt werden.
-> nummerzoeker phone book / tel.local.ch phone book
Wie das-oertliche.de, jedoch für Telefonnummern aus den Niederlanden und
der Schweiz.
* Fritz!Box Anrufliste
Über die Farbtasten lassen sich die drei Anruflisten der Fritz!Box
[Grün] liefert die Liste der eingegangenen Anrufe, [Gelb] die Liste der
verpassten Anrufe und [Blau] die Liste der ausgehenden Anrufe.
Mit [OK] öffnet sich ein Menu mit den Details. Mit [Rot] kann der Anrufer
zurückgerufen werden.
--<----------------------------------------------------------------------------
Kommandozeilenoptionen:
-> Anonymisierung der Log-Dateien
Das Plugin protokolliert Statusinformationen in das System Log (syslog).
Normalerweise werden dabei sensitive Informationen, wie Telefonnummern,
anonymisiert dargestellt. Über den Parameter '-p' kann diese Anonymisierung
abgeschaltet werden.
-> Benutzerdefinierte Befehle bei Anrufen ausführen
Mit Hilfe des Parameters '-c cmd' kann ein Befehl oder Skript festgelegt werden,
welches bei ein- und ausgehenden Anrufen ausgeführt wird. Das Plugin ruft 'cmd'
abhängig von der Art des Anrufs mit zusätzlichen Parametern auf:
* Bei ein- und ausgehenden Anrufen:
- cmd CALL [OUT|IN]
* Nach Aufbau der Verbindung:
- cmd CONNECT
* Bei Gesprächsende:
- cmd DISCONNECT
* Sobald alle laufenden Gespräche beendet sind:
- cmd FINISHED
Ein Beispiel-Skript befindet sich in template/on-call.sh.
--<----------------------------------------------------------------------------
Hinweis: Dieses Plugin wurde ursprünglich mit der Fritz!Box Fon WLAN 7170
FW 29.04.29 getestet. Eine ausführliche Liste findet sich auf der Projektseite.
Wir freuen uns über Rückmeldung zu (Miss)-Erfolg mit anderen Firmware-Versionen
und Geräten.
././@PaxHeader 0000000 0000000 0000000 00000000034 00000000000 010212 x ustar 00 28 mtime=1640012147.2449138
vdr-fritz-1.5.4/README.md 0000644 0001750 0001750 00000013026 00000000000 014256 0 ustar 00tobias tobias # Overview
This is a "plugin" for the Video Disk Recorder (VDR).
Written by:
* Joachim Wilke [vdr (at) joachim (minus) wilke (dot) de]
* Matthias Becker [becker (dot) matthias (at) gmail (dot) com]
Project's homepage: https://github.com/jowi24/vdr-fritz
Latest version available at: https://github.com/jowi24/vdr-fritz/releases
See the file COPYING for license information.
** Note: The HISTORY file may contain information on new features, which are
not yet documented in this README. For up to date information also have a look
in that file. **
---
# Installation
The Fritz plugin is not very different from other plugins for VDR, most of the
common installation procedure for plugins, documented in VDR's core
documentation applies. However, the following build dependecies are required:
- GCrypt library (libgcrypt)
- Asio (>= 1.4.1)
- Boost (>= 1.54.0)
## Cloning the GIT repository
Use `git clone --recursive` to clone submodules, as well.
---
# Description
## Call notification
The Fritz!Box Plugin connects to the Fritz!Box to inform you about
incoming and outgoing calls. As an option, the plugin can automatically mute
VDR and pause replays when a call comes in or goes out.
To enable this feature you have to dial `#96*5*` once with a telephone
connected to the Fritz!Box. This works for all firmware versions >= xx.03.99
You may experience problems when trying to dial `#96*5*` with an ISDN
telephone. In such a case try to activate "auto keypad", "dial * and #"
or some similar setting in your ISDN telephone. If your ISDN telephone
contains no keypad support simply use an analogue telephone instead.
If you do not want to be notified by every call, you can specify a list of
MSNs you are interested on in the plugin's setup. Max. 22 monitored MSNs
are supported.
Configuration regarding call notification, muting and pausing is done
in the plugin setup menu in VDR.
## Phone book support
The plugin supports multiple phonebooks. In the plugin's setup, you can
choose which phonebooks are used. The order matters with respect to number
lookup. When a call comes in, the plugin tries to resolve the number using
the first configured phonebook. If that fails, it tries the second one, and
so on.
Only one phonebook can be shown in the plugin's main menu. It is the
first configured phonebook, that has displayable entries. Via VDR's main
menu you can browse this phone book and initiate calls out of it via the
[OK]-button. This function uses the telephone you have configures in
Fritz!Box web interface for this purpose. (In German the menu path is:
Telefonie > Anrufliste > Wählhilfe)
### Fritz!Box phone book
This accesses the Fritz!Box phonebook stored on the box itself.
### das-oertliche.de phone book
This tries to resolve any number via the german website das-oertliche.de.
As this is a lookup-only phonebook, it's entries cannot be displayed
in the main menu... ;-)
### nummerzoeker phone book / tel.local.ch phone book
Same as das-oertliche.de, but for numbers from the Netherlands and Switzerland.
## Fritz!Box call list
Via the colour buttons you can access three different call lists.
Press `[Green]` to see the history of incoming calls. Use `[Yellow]` for the
list of missed calls. Finally `[Blue]` gives you an overview on whom you
called yourself.
Pressing `[OK]` shows a separate page with details to the selected call.
In this menu you can initiate calls, as in the phone book menu, by pressing
`[Red]`.
---
# Command line options
## Privacy
This plugin logs status and debug information to system log (syslog). By default,
no sensitive information, like phone numbers or similar are logged. However, for
debugging purposes, this can be enabled, by the `-p` parameter.
### Running custom commands on call events
Using the `-c cmd` parameter, a command or script 'cmd' can be specified, that
is called when an incoming or outgoing call is initiated or finished. The plugin
calls cmd with additional parameters depending on the type of event.
* On incoming or outgoing calls:
- `cmd CALL [OUT|IN] `
* On call connect:
- `cmd CONNECT `
* On call disconnect:
- `cmd DISCONNECT `
* When all ongoing calls have been finished:
- `cmd FINISHED`
A sample script is provided in template/on-call.sh.
---
# Screenshots
[](https://jowi24.github.io/vdr-fritz/screenshot-fritz1.jpg)
[](https://jowi24.github.io/vdr-fritz/screenshot-fritz2.jpg)
[](https://jowi24.github.io/vdr-fritz/screenshot-fritz3.jpg)
[](https://jowi24.github.io/vdr-fritz/screenshot-fritz4.jpg)
[](https://jowi24.github.io/vdr-fritz/screenshot-fritz5.jpg)
[](https://jowi24.github.io/vdr-fritz/screenshot-fritz6.jpg)
[](https://jowi24.github.io/vdr-fritz/screenshot-fritz7.jpg)
---
Note: This Plugin has been tested with Fritz!Box Fon WLAN 7390 FW 06.20
However it may also work for other models or firmware versions. For a detailed
list see the plugin's homepage. If you have another model, either positive or
negative feedback is appreciated.
././@PaxHeader 0000000 0000000 0000000 00000000034 00000000000 010212 x ustar 00 28 mtime=1640012147.2449138
vdr-fritz-1.5.4/fritzbox.cpp 0000644 0001750 0001750 00000020604 00000000000 015352 0 ustar 00tobias tobias /*
* Fritz!Box plugin for VDR
*
* Copyright (C) 2007-2012 Joachim Wilke
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
*/
#include
#include
#include
#include
#include
#include "libfritz++/FonbookManager.h"
#include "libfritz++/Listener.h"
#include "libfritz++/Config.h"
#include "liblog++/Log.h"
#include "fritzbox.h"
#include "setup.h"
#include "notifyosd.h"
#include "menu.h"
static const char *VERSION = "1.5.3";
static const char *DESCRIPTION = trNOOP("Fritz Plugin for AVM Fritz!Box");
static const char *MAINMENUENTRY = trNOOP("Fritz!Box");
cPluginFritzbox::cPluginFritzbox(void)
: cThread("Fritz Plugin Initialization")
{
// Initialize any member variables here.
// DON'T DO ANYTHING ELSE THAT MAY HAVE SIDE EFFECTS, REQUIRE GLOBAL
// VDR OBJECTS TO EXIST OR PRODUCE ANY OUTPUT!
event = NULL;
logPersonalInfo = false;
migratePassword = false;
logger::Log::setPrefix("fritzbox");
logger::Log::setCustomLogger(
[](const std::string &message) { esyslog("%s", message.c_str()); },
[](const std::string &message) { isyslog("%s", message.c_str()); },
[](const std::string &message) { dsyslog("%s", message.c_str()); }
);
}
cPluginFritzbox::~cPluginFritzbox()
{
// Clean up after yourself!
}
const char *cPluginFritzbox::Version(void)
{
return VERSION;
}
const char *cPluginFritzbox::Description(void)
{
return tr(DESCRIPTION);
}
const char *cPluginFritzbox::CommandLineHelp(void)
{
// Return a string that describes all known command line options.
return " -p, --log-personal-info log personal information (e.g. passwords, phone numbers, ...)\n"
" -c cmd, --on-call=cmd call cmd on incoming or outgoing call events (see README)\n";
}
bool cPluginFritzbox::ProcessArgs(int argc, char *argv[])
{
// Implement command line argument processing here if applicable.
static struct option long_options[] = {
{ "log-personal-info", no_argument, NULL, 'p' },
{ "on-call", required_argument, NULL, 'c' },
{ NULL }
};
int c;
while ((c = getopt_long(argc, argv, "pc:", long_options, NULL)) != -1) {
switch (c) {
case 'p':
logPersonalInfo = true;
DBG("Logging personal information requested");
break;
case 'c':
onCallCmd = optarg;
DBG("User defined command " << onCallCmd << " registered");
break;
default:
ERR("unknown command line option" << (char)c);
return false;
}
}
return true;
}
bool cPluginFritzbox::Initialize(void)
{
fritzboxConfig.configDir = ConfigDirectory(Name());
fritzboxConfig.pluginName = Name();
return true;
}
bool cPluginFritzbox::Start(void)
{
event = new cFritzEventHandler(onCallCmd);
// start new thread for plugin initialization (may take some time)
cThread::Start();
return true;
}
void cPluginFritzbox::Stop(void)
{
// Store implicit setup parameters not visible / auto-detected in setup menu
SetupStore("ActiveFonbook", fritzboxConfig.activeFonbookID.c_str());
SetupStore("CountryCode", fritzboxConfig.countryCode.c_str());
SetupStore("RegionCode", fritzboxConfig.regionCode.c_str());
// Migrate old setup parameters
if (migratePassword) {
SetupStore("EncodedPassword", fritzboxConfig.string2hex(fritzboxConfig.password).c_str());
SetupStore("Password", "");
}
// Stop any background activities the plugin shall perform.
fritz::Config::Shutdown();
if (event)
delete event;
// if (dlog)
// delete dlog;
// if (ilog)
// delete ilog;
// if (elog)
// delete elog;
}
void cPluginFritzbox::Housekeeping(void)
{
// Perform any cleanup or other regular tasks.
}
void cPluginFritzbox::MainThreadHook(void)
{
if (!fritzboxConfig.useNotifyOsd && event) {
std::vector ids = event->GetPendingCallIds();
for (std::vector::iterator it = ids.begin(); it < ids.end(); it++) {
fritz::sCallInfo callInfo = event->GetCallInfo(*it);
if (callInfo.localNumber.length() > 0) {
Skins.Message(mtInfo, event->ComposeCallMessage(*it).c_str());
event->NotificationDone(*it);
}
}
}
}
cString cPluginFritzbox::Active(void)
{
// Return a message string if shutdown should be postponed
return NULL;
}
time_t cPluginFritzbox::WakeupTime(void)
{
// Return custom wakeup time for shutdown script
return 0;
}
const char *cPluginFritzbox::MainMenuEntry(void)
{
std::ostringstream ssMainMenuEntry;
ssMainMenuEntry << tr(MAINMENUENTRY);
fritz::CallList *callList = fritz::CallList::GetCallList(false);
if (callList && callList->missedCalls(fritzboxConfig.lastKnownMissedCall) > 0) {
std::string buffer = (callList->missedCalls(fritzboxConfig.lastKnownMissedCall) > 1) ? tr("missed calls") : tr("missed call");
ssMainMenuEntry << " (" << callList->missedCalls(fritzboxConfig.lastKnownMissedCall) << " " << buffer << ")";
}
mainMenuEntry = ssMainMenuEntry.str();
return fritzboxConfig.hideMainMenu ? NULL : mainMenuEntry.c_str();
}
cOsdObject *cPluginFritzbox::MainMenuAction(void)
{
if (event && event->GetPendingCallIds().size() && !cNotifyOsd::isOpen()) {
// called by cRemote::CallPlugin
return new cNotifyOsd(event);
}
else
// called by the user
if (this->Running()) {
Skins.Message(mtError, tr("Data not yet available."));
return NULL;
}
else
return new cMenuFritzbox(this);
}
cMenuSetupPage *cPluginFritzbox::SetupMenu(void)
{
// Return a setup menu in case the plugin supports one.
return new cMenuSetupFritzbox(this);
}
bool cPluginFritzbox::SetupParse(const char *Name, const char *Value)
{
// Parse your own setup parameters and store their values.
if (!strcasecmp(Name, "Password")) {
if (fritzboxConfig.password.size() > 0) {
migratePassword = true;
return true;
}
if (strlen(Value) > 0) {
migratePassword = true;
}
}
return fritzboxConfig.SetupParse(Name, Value);
}
bool cPluginFritzbox::Service(const char *Id, void *Data)
{
// Handle custom service requests from other plugins
return false;
}
const char **cPluginFritzbox::SVDRPHelpPages(void)
{
// Return help text for SVDRP commands this plugin implements
return NULL;
}
cString cPluginFritzbox::SVDRPCommand(const char *Command, const char *Option, int &ReplyCode)
{
// Process SVDRP commands this plugin implements
return NULL;
}
void cPluginFritzbox::Action() {
// init libfritz++
fritz::Config::Setup(fritzboxConfig.url, fritzboxConfig.username, fritzboxConfig.password, logPersonalInfo);
fritz::Config::Init(&fritzboxConfig.locationSettingsDetected, &fritzboxConfig.countryCode, &fritzboxConfig.regionCode);
fritz::Config::SetupConfigDir(fritzboxConfig.configDir);
fritz::Config::SetupMsnFilter(fritzboxConfig.msn);
fritz::FonbookManager::CreateFonbookManager(fritzboxConfig.selectedFonbookIDs, fritzboxConfig.activeFonbookID);
fritz::CallList::CreateCallList();
// Create FritzListener only if needed
if (fritzboxConfig.showNumber || fritzboxConfig.pauseOnCall || fritzboxConfig.muteOnCall || onCallCmd.size())
fritz::Listener::CreateListener(event);
}
std::string cPluginFritzbox::FonbookEntryTypeToName(const fritz::FonbookEntry::eType type, bool longName) {
switch (type) {
case fritz::FonbookEntry::TYPE_HOME:
return longName ?
tr("Private") :
//TRANSLATORS: telephonebook number type: this is a one char abbreviation for "home"
tr("H");
case fritz::FonbookEntry::TYPE_MOBILE:
return longName ?
tr("Mobile") :
//TRANSLATORS: telephonebook number type: this is a one char abbreviation for "mobile"
tr("M");
case fritz::FonbookEntry::TYPE_WORK:
return longName ?
tr("Business") :
//TRANSLATORS: telephonebook number type: this is a one char abbreviation for "work"
tr("W");
default:
return "";
}
}
VDRPLUGINCREATOR(cPluginFritzbox); // Don't touch this!
././@PaxHeader 0000000 0000000 0000000 00000000034 00000000000 010212 x ustar 00 28 mtime=1640012147.2449138
vdr-fritz-1.5.4/fritzbox.h 0000644 0001750 0001750 00000004360 00000000000 015020 0 ustar 00tobias tobias /*
* Fritz!Box plugin for VDR
*
* Copyright (C) 2007-2012 Joachim Wilke
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
*/
#ifndef FRITZBOX_H_
#define FRITZBOX_H_
#include
#include
#include "libfritz++/Fonbook.h"
#include "libfritz++/Listener.h"
#include "libfritz++/CallList.h"
#include "fritzeventhandler.h"
class cPluginFritzbox : public cPlugin, cThread {
friend class cMenuSetupFritzbox;
private:
cFritzEventHandler *event;
std::string mainMenuEntry;
bool logPersonalInfo;
std::string onCallCmd;
bool migratePassword;
public:
cPluginFritzbox(void);
virtual ~cPluginFritzbox();
virtual const char *Version(void);
virtual const char *Description(void);
virtual const char *CommandLineHelp(void);
virtual bool ProcessArgs(int argc, char *argv[]);
virtual bool Initialize(void);
virtual bool Start(void);
virtual void Stop(void);
virtual void Housekeeping(void);
virtual void MainThreadHook(void);
virtual cString Active(void);
virtual time_t WakeupTime(void);
virtual const char *MainMenuEntry(void);
virtual cOsdObject *MainMenuAction(void);
virtual cMenuSetupPage *SetupMenu(void);
virtual bool SetupParse(const char *Name, const char *Value);
virtual bool Service(const char *Id, void *Data = NULL);
virtual const char **SVDRPHelpPages(void);
virtual cString SVDRPCommand(const char *Command, const char *Option, int &ReplyCode);
// from cThread:
virtual void Action();
// various things
static std::string FonbookEntryTypeToName(const fritz::FonbookEntry::eType type, bool longName = false);
};
#endif /*FRITZBOX_H_*/
././@PaxHeader 0000000 0000000 0000000 00000000034 00000000000 010212 x ustar 00 28 mtime=1640012147.2449138
vdr-fritz-1.5.4/fritzeventhandler.cpp 0000644 0001750 0001750 00000022576 00000000000 017253 0 ustar 00tobias tobias /*
* Fritz!Box plugin for VDR
*
* Copyright (C) 2007-2012 Joachim Wilke
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
*/
#include
#include
#include
#include
#include
#include
#include "libfritz++/Fonbook.h"
#include "liblog++/Log.h"
#include "setup.h"
#include "fritzeventhandler.h"
#include "notifyosd.h"
cFritzEventHandler::cFritzEventHandler(std::string onCallCmd) {
muted = false;
volumeLevel = 0;
paused = false;
getCallInfoCalled = false;
this->onCallCmd = onCallCmd;
}
cFritzEventHandler::~cFritzEventHandler() {
}
fritz::sCallInfo cFritzEventHandler::GetCallInfo(int connId) {
getCallInfoCalled = true;
fritz::sCallInfo callInfo;
mutex.Lock();
if (connections.find(connId) != connections.end()) {
sConnection &connection = connections[connId];
if (connection.callInfo)
callInfo = *(connection.callInfo);
}
mutex.Unlock();
return callInfo;
}
// returns a vector of call ids of calls pending for display
std::vector cFritzEventHandler::GetPendingCallIds() {
std::vector ids;
mutex.Lock();
for (std::map::iterator it = connections.begin(); it != connections.end(); it++) {
if ((static_cast((*it).second).displayed == false) ||
(static_cast((*it).second).state == sConnection::RINGING )) {
ids.push_back((*it).first);
}
}
mutex.Unlock();
return ids;
}
void cFritzEventHandler::NotificationDone(int connId) {
mutex.Lock();
sConnection &connection = connections[connId];
connection.displayed = true;
if (connection.state == sConnection::IDLE) {
delete connection.callInfo;
connection.callInfo = NULL;
connections.erase(connId);
}
mutex.Unlock();
}
std::string cFritzEventHandler::ComposeCallMessage(int connId) {
std::string rMsg;
int ret;
// medium gets MSN appended if ISDN is used
mutex.Lock();
fritz::sCallInfo *callInfo = connections[connId].callInfo;
std::string medium = callInfo->medium;
if (callInfo->medium.find("ISDN") != std::string::npos)
medium += " " + callInfo->localNumber;
char *msg;
// compose the message to be displayed
if (callInfo->isOutgoing == true) {
ret = asprintf(&msg, tr("Calling %s [%s]"),
callInfo->remoteName.c_str(), medium.c_str());
if (ret <= 0) {
mutex.Unlock();
return rMsg;
}
} else {
if (callInfo->remoteNumber.size() == 0) {
// unknown caller
ret = asprintf(&msg, "%s [%s]", tr("Call"), medium.c_str());
if (ret <= 0) {
mutex.Unlock();
return rMsg;
}
} else {
// known caller
ret = asprintf(&msg, "%s %s [%s]", tr("Call from"),
callInfo->remoteName.c_str(), medium.c_str());
if (ret <= 0) {
mutex.Unlock();
return rMsg;
}
}
}
mutex.Unlock();
rMsg = msg;
free(msg);
return rMsg;
}
bool cFritzEventHandler::CareForCall(bool outgoing) {
if (fritzboxConfig.reactOnDirection != fritzboxConfig.DIRECTION_ANY) {
if (outgoing && fritzboxConfig.reactOnDirection
!= fritzboxConfig.DIRECTION_OUT)
return false;
if (!outgoing && fritzboxConfig.reactOnDirection
!= fritzboxConfig.DIRECTION_IN)
return false;
}
return true;
}
void cFritzEventHandler::handleCall(bool outgoing, int connId,
std::string remoteNumber, std::string remoteName,
fritz::FonbookEntry::eType remoteType, std::string localParty,
std::string medium, std::string mediumName) {
if (!CareForCall(outgoing))
return;
bool currPlay, currForw;
int currSpeed;
cControl *control = cControl::Control();
if (control) {
control->GetReplayMode(currPlay, currForw, currSpeed);
}
// check for muting
if (fritzboxConfig.muteOnCall && !fritzboxConfig.muteAfterConnect && !cDevice::PrimaryDevice()->IsMute()) {
INF((outgoing ? "outgoing": "incoming") << " call, muting.");
DoMute();
}
// check for pausing replay or live tv
if (fritzboxConfig.pauseOnCall && !paused &&
((control && currPlay) || (fritzboxConfig.pauseLive && !ShutdownHandler.IsUserInactive()))) {
INF((outgoing ? "outgoing": "incoming") << " call, pressing kPause.");
cRemote::Put(kPause);
paused = true;
}
if (medium.compare(mediumName) == 0) {
if (mediumName.find("SIP") != std::string::npos)
mediumName.replace(0, 3, "VoIP ");
if (mediumName.find("POTS") != std::string::npos)
mediumName = tr("POTS");
}
if (fritzboxConfig.showNumber) {
// save the message into "message", MainThreadHook or MainMenuAction will take care of it
// displayedConnId = connId;
#ifdef DO_NOT_SET
// trigger translation of string coming from the Fritz!Box - do not compile!
trNOOP("ISDN")
trNOOP("VoIP")
#endif
fritz::sCallInfo *callInfo = new fritz::sCallInfo();
callInfo->isOutgoing = outgoing;
callInfo->remoteNumber = remoteNumber;
callInfo->remoteName = remoteName;
if (cPluginFritzbox::FonbookEntryTypeToName(remoteType).size() > 0) {
callInfo->remoteName += " ";
callInfo->remoteName += cPluginFritzbox::FonbookEntryTypeToName(
remoteType);
}
callInfo->localNumber = localParty;
callInfo->medium = mediumName;
sConnection connection;
connection.displayed = false;
connection.state = sConnection::RINGING;
connection.callInfo = callInfo;
mutex.Lock();
connections.insert(std::pair(connId, connection));
mutex.Unlock();
// trigger notification using own osd
if (fritzboxConfig.useNotifyOsd && !cNotifyOsd::isOpen()) {
DBG("triggering NotifyOsd");
cRemote::CallPlugin(fritzboxConfig.pluginName.c_str());
}
}
if (onCallCmd.size())
Exec(std::stringstream().flush() << onCallCmd << " CALL "
<< (outgoing ? "OUT " : "IN ")
<< connId << " "
<< remoteNumber << " \"" << remoteName << "\" "
<< localParty << " "
<< medium << " \"" << mediumName << "\"");
}
void cFritzEventHandler::handleConnect(int connId) {
if (connections.find(connId) == connections.end())
return;
bool outgoing = connections[connId].callInfo->isOutgoing;
if (!CareForCall(outgoing))
return;
if (fritzboxConfig.muteOnCall && fritzboxConfig.muteAfterConnect && !cDevice::PrimaryDevice()->IsMute()) {
INF("muting connected call");
DoMute();
}
mutex.Lock();
sConnection &connection = connections[connId];
connection.state = sConnection::ACTIVE;
mutex.Unlock();
if (onCallCmd.size())
Exec(std::stringstream().flush() << onCallCmd << " CONNECT " << connId);
}
void cFritzEventHandler::handleDisconnect(int connId, std::string duration) {
if (connections.find(connId) == connections.end())
return;
bool outgoing = connections[connId].callInfo->isOutgoing;
if (!CareForCall(outgoing))
return;
bool currPlay, currForw;
int currSpeed;
cControl *control = cControl::Control();
if (control) {
control->GetReplayMode(currPlay, currForw, currSpeed);
}
// stop call notification
mutex.Lock();
sConnection &connection = connections[connId];
connection.state = sConnection::IDLE;
if (connection.displayed) {
if (connection.callInfo) {
delete connection.callInfo;
connection.callInfo = NULL;
}
// remove current connection from list
connections.erase(connId);
}
bool activeCallsPending = false;
for (std::map::iterator it = connections.begin(); it != connections.end(); it++) {
if (static_cast((*it).second).state != sConnection::IDLE)
activeCallsPending = true;
}
mutex.Unlock();
// unmute, if applicable
if (!activeCallsPending && muted) {
INF("Finished all calls, unmuting.");
DoUnmute();
}
// resume, if applicable
if (!activeCallsPending && paused) {
if (fritzboxConfig.resumeAfterCall && control && currPlay == false) {
INF("Finished all calls, pressing kPlay.");
cRemote::Put(kPlay); // this is an ugly workaround, but it should work
cRemote::Put(kPlay);
}
paused = false;
}
if (onCallCmd.size()) {
Exec(std::stringstream().flush() << onCallCmd << " DISCONNECT "
<< connId << " " << duration);
if (!activeCallsPending)
Exec(std::stringstream().flush() << onCallCmd << " FINISHED");
}
}
void cFritzEventHandler::Exec(const std::ostream & cmd) const {
const std::stringstream &sCmd = static_cast(cmd);
SystemExec(sCmd.str().c_str(), false);
}
void cFritzEventHandler::DoMute() {
if (fritzboxConfig.muteVolumeLevel < 100) {
volumeLevel = cDevice::PrimaryDevice()->CurrentVolume();
cDevice::PrimaryDevice()->SetVolume(volumeLevel * (100 - fritzboxConfig.muteVolumeLevel) / 100, true);
} else if (!cDevice::PrimaryDevice()->IsMute())
cDevice::PrimaryDevice()->ToggleMute();
muted = true;
}
void cFritzEventHandler::DoUnmute() {
if (fritzboxConfig.muteVolumeLevel < 100) {
cDevice::PrimaryDevice()->SetVolume(volumeLevel, true);
} else if (cDevice::PrimaryDevice()->IsMute())
cDevice::PrimaryDevice()->ToggleMute();
muted = false;
}
././@PaxHeader 0000000 0000000 0000000 00000000034 00000000000 010212 x ustar 00 28 mtime=1640012147.2449138
vdr-fritz-1.5.4/fritzeventhandler.h 0000644 0001750 0001750 00000004202 00000000000 016702 0 ustar 00tobias tobias /*
* Fritz!Box plugin for VDR
*
* Copyright (C) 2007-2012 Joachim Wilke
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
*/
#ifndef FRITZEVENTHANDLER_H_
#define FRITZEVENTHANDLER_H_
#include
#include