Commit Graph

67 Commits

Author SHA1 Message Date
peri4 57f8c1313e first release of translation facility
* runtime - loading and translating
 * design-time - works with *.ts file (pip_tr utility)
 * compile-time - CMake macro for compile *.ts
2024-11-05 13:49:00 +03:00
peri4 bdd18b614f PIEthernet more accuracy construct
PIThread windows fix
2024-09-17 16:11:18 +03:00
peri4 e186e0adff shorter thread names 2024-09-17 15:58:06 +03:00
peri4 f105f616f6 PIThread more accurate end, PIEthernet tcpserver client no reinit 2024-09-17 13:22:20 +03:00
peri4 996b7ea403 important:
* PIThread::~PIThread() now unregister itself from introspection, if terminates than show warning
 * PISystemMonitor now correctly stops
 * PIPeer now can correctly stopAndWait
 * PIPeer::destroy(), protected method for close all eths and threads
 * new PIINTROSPECTION_STOP macro
 * Introspection now can be correctly stopped by macro, more safety

ClientServer:
 * ClientBase::close() stop and disconnect channel
 * Server clients clean-up now event-based
 * No warnings on client destructor
2024-09-12 17:07:48 +03:00
peri4 e6c8714857 version 4.1.0
maybe fix hang on PIEthernet::interrupt()
replace piLetobe with piChangeEndian:
 * piChangeEndianBinary
 * piChangeBinary
 * piChangedBinary
PIDiagnostics::start now accept PISystemTime instead of number
add PITimer::start(PISystemTime, std::function<void()>) overload
2024-08-28 11:56:36 +03:00
peri4 1c7fc39b6c version 4.0.0_alpha
in almost all methods removed timeouts in milliseconds, replaced to PISystemTime
PITimer rewrite, remove internal impl, now only thread implementation, API similar to PIThread
PITimer API no longer pass void*
PIPeer, PIConnection improved stability on reinit and exit
PISystemTime new methods
pisd now exit without hanging
2024-07-30 14:18:02 +03:00
peri4 b781bd5148 PIBroadcast fix 2024-07-10 16:56:40 +03:00
peri4 903b320629 version 3.21.0
add PISystemTime overload for thread/timer/io classes
2024-07-09 16:32:27 +03:00
peri4 35aadb0e78 doc and brush 2023-07-04 13:08:37 +03:00
peri4 ccae1a7311 more literals, use some in PIP, small refactor PIThread::start (clang-format mistakes) 2023-07-02 14:02:10 +03:00
peri4 c2b8a8d6da code format 2022-12-14 14:13:52 +03:00
peri4 430a41fefc before formatting 2022-12-14 13:56:19 +03:00
peri4 c74ba871cd pivariant, enum, tiny format 2022-12-13 21:44:06 +03:00
peri4 e9128771db version 3.6.0
another fixes in PIEthernet
remove PIThread::interrupt()
piwaitevent patches
2022-11-12 13:31:26 +03:00
Бычков Андрей cfc9ed131a Merge branch 'thread' of https://git.shs.tools/SHS/pip into thread 2022-11-10 19:01:52 +03:00
Бычков Андрей 39d81dd23b PICloudServer don't delete clients 2022-11-10 19:01:28 +03:00
peri4 cbac9f4253 PITimerImp_RT 2022-11-10 15:44:35 +03:00
Бычков Андрей d46f1a137a PITimer remove wait in stop, waitForFinish 2022-11-10 15:26:19 +03:00
peri4 e9a7eaa276 fixes 2022-11-10 15:03:51 +03:00
peri4 4994d0bf66 condvar fixes 2022-11-10 14:11:40 +03:00
peri4 702d1642e0 PITimer thread imp changed from PIWaitEvent to PIConditionalVariable 2022-11-10 13:47:57 +03:00
peri4 d34374d4e0 missing 2022-11-10 12:29:49 +03:00
peri4 398d760ba9 PIObject::deleteLater important fix
PIWaitEvent::sleep() method
PITimer thread imp wait optimization, migrate to interruptable sleeps
2022-11-10 12:26:08 +03:00
Бычков Андрей d9eac06749 pithread, pitimer stop, stopAndWait 2022-11-09 17:17:21 +03:00
peri4 db5c4dcf3f PIThread::stopAndWait 2022-11-09 17:02:28 +03:00
peri4 e48d0ebaab linux signal 2022-11-01 09:38:27 +03:00
peri4 6e81a419fb start move to interruption of blocking calls, PIThread and PIEthernet 2022-11-01 00:02:44 +03:00
Бычков Андрей 3873f0b03b PIIODevice::bytesAvailible()
fix pistringlist pibinarystream write
pibinarystream::binaryStreamSize()
PIByteArray pibinarystream read with more size fix
pistring pibinarystream read optimization
fix bug in PIIOBinaryStream read and write if failed
workaround in PIIOString::readDevice
PISPI readDevice bug Fixed
2022-07-27 15:43:04 +03:00
Бычков Андрей d13e68c206 threadedRead now const uchar *
pipacketextractor Header mode now more flexible
fix splitTime mode
more refactoring
add virtual override to functions
remove piforeach
replace 0 to nullptr
iterate over pimap via iterators
replace CONNECTU to CONNECT# with compile time check
2022-07-26 17:18:08 +03:00
peri4 a4882dc054 complex macros with ; 2022-07-25 11:18:09 +03:00
peri4 c1c324a5a8 doc 2022-04-23 12:44:09 +03:00
peri4 7f93ba55b4 doc 2022-04-23 12:37:55 +03:00
peri4 e67a426ff2 doc fix 2022-04-22 21:48:35 +03:00
peri4 39e4d9a73c doc ru 2022-04-22 21:19:12 +03:00
peri4 9deae168a6 thread doc ru 2022-04-21 22:26:49 +03:00
peri4 9fa78a1dbf doc 2022-04-15 16:36:14 +03:00
peri4 4b32101de6 introspection major optimization 2022-04-15 01:31:22 +03:00
peri4 42e253adc7 PIIntrospection 2022-04-14 17:48:15 +03:00
peri4 00830958df doc ru, printf() before assert in containers 2022-04-12 23:17:05 +03:00
peri4 d5c27b1181 doc groups 2022-04-06 20:11:47 +03:00
peri4 54b5372356 doxygen @ tags replaced to \ 2022-03-14 21:19:31 +03:00
Andrey c3c98b9d78 include fixes 2022-02-14 14:01:54 +03:00
Andrey 8296e9a32b add FreeRTOS support for PIThread PIMutex PIConditionVariable 2022-01-21 14:15:42 +03:00
andrey 86130d7105 compiled for esp32 2022-01-15 14:54:36 +03:00
peri4 a2a205cfd2 version 2.33.0
piMinSleep() method
2021-11-16 14:43:57 +03:00
Andrey 48c885e12a PIThreadNotifier, rewrite PIObject::deleteLater()
tests for PIThreadNotifier and PIObject::deleteLater()
2021-10-29 18:20:48 +03:00
Andrey 6e5a5a6ade remove msleep, clean PIConditionVariable, rewrite pipipelinethread, etc... 2021-10-29 16:52:03 +03:00
peri4 aa76a15f40 version 2.32.0
PIObject::Connection struct
2021-10-04 21:50:49 +03:00
peri4 dedc35b466 new class PIThreadPoolLoop 2021-09-24 16:03:20 +03:00