Validations sur la source (52)
-
Kubat a rédigé
MISC: Can now use qDebug() with std::string and std::string_view, VIVY_ASSERT_STRING is now a qFatal
-
Kubat a rédigé
-
Kubat a rédigé
-
Kubat a rédigé
This is a slightly more complicated logger than what is done for lektor. The process to create a logger is the following: { // In scope std::shared_ptr<LogSink> mySink = VIVY_NEW_LOG_SINK(); std::shared_ptr<Logger> appLog = VIVY_GET_LOGGER(mySink, "APPLICATION"); std::shared_ptr<Logger> scriptLog = VIVY_GET_LOGGER(mySink, "SCRIPT"); // ... VIVY_LOG_WARN(appLog) << "This is" << ' ' << "very usefull!"; // ... } // Will clear all loggers
-
Kubat a rédigé
-
Kubat a rédigé
-
Kubat a rédigé
-
Kubat a rédigé
-
Kubat a rédigé
-
Kubat a rédigé
LOG: Send the messages to the queue in a thread safe way, clear the loggers from sink cache on destruction
-
Kubat a rédigé
-
Kubat a rédigé
-
Kubat a rédigé
MISC: Separate implementation of the different classes of Log.hh into multiple namespace Vivy{} in the Log.cc file
-
Kubat a rédigé
-
Kubat a rédigé
-
Kubat a rédigé
-
Kubat a rédigé
-
Kubat a rédigé
-
Kubat a rédigé
LOG: Add a way to get the sink from the VivyApplication and add more possibilities for logging things
-
Kubat a rédigé
TODO: Don't depend on the order of the includes
-
Kubat a rédigé
LOG: Add some logs, pb on flush on exit because the messages outlive the logger (string_view problem)
-
Kubat a rédigé
-
Kubat a rédigé
- The message no longer outlives the logger - Update the objects that use the LOG API - Print more things with the stderr dispatcher - The UI, src/Lib, src/Lib/Ass, src/Lib/Document use the new LOG API
-
Kubat a rédigé
-
Kubat a rédigé
/!\ REGRESSION: We no longer have the line of the last lua error!
-
Kubat a rédigé
MISC: Get ride of VivyCli and everything is placed in VivyApplication (because of the way to get the log sink)
-
Kubat a rédigé
-
Kubat a rédigé
-
Kubat a rédigé
-
Kubat a rédigé
LOG: Add a worker thread for logs, it will launch the `flush` operation in a thread-safe way when logs are available
-
Kubat a rédigé
-
Kubat a rédigé
Because we create a shared_ptr, and because the MainWindow will delete the widget on exit, we have a double free error...
-
Kubat a rédigé
We destroy the log console before the final flush, take that into account => disable handle message for the ConsoleLogSinkDispatcher if the corresponding LogConsole was destroyed. This is a quick and dirty solution, but I don't know any other way for now!
-
Kubat a rédigé
-
Kubat a rédigé
-
Kubat a rédigé
-
Kubat a rédigé
-
Kubat a rédigé
-
Kubat a rédigé
-
Kubat a rédigé
-
Kubat a rédigé
-
Kubat a rédigé
We do that to move all the logic to switch between palettes and qss files into the same class.
-
Kubat a rédigé
-
Kubat a rédigé
-
Kubat a rédigé
-
Kubat a rédigé
-
Kubat a rédigé
-
Kubat a rédigé
-
Kubat a rédigé
Affichage de
- .clang-format 1 ajout, 0 suppression.clang-format
- CMakeLists.txt 33 ajouts, 11 suppressionsCMakeLists.txt
- PreCompiledHeaders.cmake 11 ajouts, 0 suppressionPreCompiledHeaders.cmake
- README.md 8 ajouts, 15 suppressionsREADME.md
- rsc/VivyRessources.qrc 9 ajouts, 0 suppressionrsc/VivyRessources.qrc
- rsc/lua/lib.lua 5 ajouts, 0 suppressionrsc/lua/lib.lua
- rsc/theme/dark.creatortheme 401 ajouts, 0 suppressionrsc/theme/dark.creatortheme
- rsc/theme/default.creatortheme 359 ajouts, 0 suppressionrsc/theme/default.creatortheme
- rsc/theme/design-light.creatortheme 403 ajouts, 0 suppressionrsc/theme/design-light.creatortheme
- rsc/theme/design.creatortheme 503 ajouts, 0 suppressionrsc/theme/design.creatortheme
- rsc/theme/flat-dark.creatortheme 395 ajouts, 0 suppressionrsc/theme/flat-dark.creatortheme
- rsc/theme/flat-light.creatortheme 368 ajouts, 0 suppressionrsc/theme/flat-light.creatortheme
- rsc/theme/flat.creatortheme 366 ajouts, 0 suppressionrsc/theme/flat.creatortheme
- src/Lib/AbstractDocument.hh 8 ajouts, 6 suppressionssrc/Lib/AbstractDocument.hh
- src/Lib/AbstractMediaContext.hh 11 ajouts, 8 suppressionssrc/Lib/AbstractMediaContext.hh
- src/Lib/Ass/AssFactory.cc 11 ajouts, 10 suppressionssrc/Lib/Ass/AssFactory.cc
- src/Lib/Ass/AssFactory.hh 4 ajouts, 5 suppressionssrc/Lib/Ass/AssFactory.hh
- src/Lib/Ass/Line.cc 4 ajouts, 4 suppressionssrc/Lib/Ass/Line.cc
- src/Lib/Ass/Line.hh 4 ajouts, 1 suppressionsrc/Lib/Ass/Line.hh
- src/Lib/Ass/Style.cc 3 ajouts, 10 suppressionssrc/Lib/Ass/Style.cc
rsc/theme/dark.creatortheme
0 → 100644
rsc/theme/default.creatortheme
0 → 100644
rsc/theme/design-light.creatortheme
0 → 100644
rsc/theme/design.creatortheme
0 → 100644
rsc/theme/flat-dark.creatortheme
0 → 100644
rsc/theme/flat-light.creatortheme
0 → 100644
rsc/theme/flat.creatortheme
0 → 100644