Mailing List Archive

[MythTV/mythtv] df9093: Remove the qjsonwrapper (qt4->qt5) bridge code.
Branch: refs/heads/master
Home: https://github.com/MythTV/mythtv
Commit: df9093be548a3262cd4e68be4e7390cdf521e372
https://github.com/MythTV/mythtv/commit/df9093be548a3262cd4e68be4e7390cdf521e372
Author: David Hampton <mythtv@love2code.net>
Date: 2023-04-11 (Tue, 11 Apr 2023)

Changed paths:
R mythtv/external/qjsonwrapper/LICENSE
R mythtv/external/qjsonwrapper/README.md
R mythtv/external/qjsonwrapper/qjsonwrapper/Json.cpp
R mythtv/external/qjsonwrapper/qjsonwrapper/Json.h
M mythtv/libs/libmythbase/libmythbase.pro
M mythtv/libs/libmythbase/logging.cpp
M mythtv/libs/libmythbase/logging.h
M mythtv/libs/libmythbase/test/test_logging/test_logging.cpp
M mythtv/libs/libmythbase/test/test_logging/test_logging.h

Log Message:
-----------
Remove the qjsonwrapper (qt4->qt5) bridge code.

The only object that used this code for serialization/deserialization
was the LoggingItem object. This was needed when the logging server
was built as a separate executable and the LoggingItem needed to be
passed from one program or machine to another.

The client/server part of the logging server code was removed in 2018
(commit 773ede8298) so all the manipulation is done inside a single
program, but the serialization/deserialization code was left in place.
This commit doesn't remove that code, it just changes the
serialization/deserialization functions. These functions are not
compatible with the previous implementation, but they do not need to
be as the JSON produced is internal to a single program.

The serialization/deserialization is still unnecessary and should be
remove in a future commit.


Commit: bcee32c36fea895dc9205f021a05b5ca4d26b94b
https://github.com/MythTV/mythtv/commit/bcee32c36fea895dc9205f021a05b5ca4d26b94b
Author: David Hampton <mythtv@love2code.net>
Date: 2023-04-11 (Tue, 11 Apr 2023)

Changed paths:
M mythtv/libs/libmythbase/loggingserver.cpp

Log Message:
-----------
Clean up debug code in LogForwardThread::forwardMessage


Commit: 27e4c888ffb8e14006d845e670c49a363d4ab0b9
https://github.com/MythTV/mythtv/commit/27e4c888ffb8e14006d845e670c49a363d4ab0b9
Author: David Hampton <mythtv@love2code.net>
Date: 2023-04-11 (Tue, 11 Apr 2023)

Changed paths:
M mythtv/libs/libmythbase/loggingserver.cpp

Log Message:
-----------
Add comments to logging server code.


Commit: 6461909be6f12f3bc9e782cd5d4c2f2f15100eae
https://github.com/MythTV/mythtv/commit/6461909be6f12f3bc9e782cd5d4c2f2f15100eae
Author: David Hampton <mythtv@love2code.net>
Date: 2023-04-11 (Tue, 11 Apr 2023)

Changed paths:
M mythtv/libs/libmythbase/logging.cpp
M mythtv/libs/libmythbase/logging.h
M mythtv/libs/libmythbase/loggingserver.cpp
M mythtv/libs/libmythbase/loggingserver.h
M mythtv/libs/libmythbase/test/test_logging/test_logging.cpp
M mythtv/libs/libmythbase/test/test_logging/test_logging.h

Log Message:
-----------
Pass LoggingItem directly to the logging server (no json conversion).

Given that all logging has been done within the same process since
2018 (commit 773ede8298) there is no need to convert a LoggingItem to
JSON and back. Modify the code to take an extra reference on the
LoggingItem object, and then pass it directly to the logging server
code.


Commit: 0ad5627abc5bf41da35836d6a5d69927cd42d652
https://github.com/MythTV/mythtv/commit/0ad5627abc5bf41da35836d6a5d69927cd42d652
Author: David Hampton <mythtv@love2code.net>
Date: 2023-04-12 (Wed, 12 Apr 2023)

Changed paths:
M mythtv/libs/libmythbase/loggingserver.cpp

Log Message:
-----------
Rename the logMsgXxx variables to gLogItemXXX to match functionality.


Commit: 6c8a7472535b1418703be1c257a18b567d232d0e
https://github.com/MythTV/mythtv/commit/6c8a7472535b1418703be1c257a18b567d232d0e
Author: David Hampton <mythtv@love2code.net>
Date: 2023-04-12 (Wed, 12 Apr 2023)

Changed paths:
M mythtv/libs/libmythbase/loggingserver.cpp

Log Message:
-----------
Remove multiple client support from the logging server.

Given that all logging has been done within the same process since
2018 (commit 773ede8298) there is no longer any need to maintain
client->logger and logger->client maps. A simple list of loggers is
sufficient for the task.


Commit: c9588457880f73189f37e2d560721109392d2945
https://github.com/MythTV/mythtv/commit/c9588457880f73189f37e2d560721109392d2945
Author: David Hampton <mythtv@love2code.net>
Date: 2023-04-12 (Wed, 12 Apr 2023)

Changed paths:
M mythtv/bindings/python/MythTV/logging.py
M mythtv/libs/libmythbase/logging.cpp
M mythtv/libs/libmythbase/logging.h
M mythtv/libs/libmythbase/loggingserver.cpp
M mythtv/libs/libmythbase/loggingserver.h
M mythtv/libs/libmythbase/mythcommandlineparser.cpp
M mythtv/libs/libmythbase/mythdbcon.cpp
M mythtv/libs/libmythbase/mythlogging.h
M mythtv/libs/libmythbase/mythversion.h.in
M mythtv/libs/libmythbase/test/test_logging/test_logging.cpp
M mythtv/libs/libmythtv/dbcheck.cpp
M mythtv/programs/mythbackend/backendhousekeeper.cpp
M mythtv/programs/mythbackend/backendhousekeeper.h
M mythtv/programs/mythbackend/mythbackend_main_helpers.cpp

Log Message:
-----------
Remove support for logging to the database.

This commit removes the support that allows logging messages to be
written to the database in addition to being logged to the console or
sent to logger/syslog. Several classes are removed from the logging
server code. It also drops the "logging" table from the database, and
removes the background task that periodically cleaned up the that
table.


Compare: https://github.com/MythTV/mythtv/compare/bebceb552868...c9588457880f
_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-commits