Commit Graph
100 Commits
Author SHA1 Message Date
peri4 000ce2a54d PICout improvement:
* renamed private members for more clear code
 * registerExternalBufferID() method to obtain unique ID for withExternalBuffer()
 * PICoutManipulators::PICoutStdStream enum for select stream (stdout or stderr)
 * Constructors now accept optional stream
 * piCerr and piCerrObj macros

PIDir::temporary() moved to "mkdtemp"

PILog:
 * now 4 levels
 * you can set max level
 * Error writes to piCerr
2024-09-16 16:06:07 +03:00
peri4 9d4357c066 PIVector2D =() fix 2024-09-15 16:50:15 +03:00
peri4 7a945f47b1 PILog works 2024-09-13 23:05:24 +03:00
peri4 9a352bfc83 add PISystemTime::toFrequency(), add PILog 2024-09-13 18:00:48 +03:00
peri4 aa2f117075 finalize module 2024-09-13 13:37:09 +03:00
peri4 bf5bb45771 decompose, add new main group "Application"
PICLI code brush
2024-09-13 13:31:31 +03:00
peri4 cdc966bd8c Merge pull request 'client_server' (#181) from client_server into master
Reviewed-on: #181
2024-09-13 12:12:10 +03:00
peri4 17b902ebcc add PIClientServer::Config, common configuration type for both sides, stream packer and encryption settings 2024-09-13 11:08:32 +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 da4b09be9e PIEthernet fix tcp-server close (properly delete all clients)
PIEthernet::stopThreadedListen() method
decompose client to 2 implementations - server-side and client-side
2024-09-11 21:41:55 +03:00
peri4 b24b5a1346 add encryption 2024-09-11 15:44:02 +03:00
peri4 0d94699206 first try, works 2024-09-11 10:18:45 +03:00
peri4 16a818c95e picloud hang fix try :`-( 2024-09-06 08:05:26 +03:00
peri4 a0454b809d change to private section 2024-08-28 17:21:11 +03:00
peri4 af8c096c7a PIStateMachine "addOnFinish" renamed to "setOnFinish" 2024-08-28 13:48:33 +03:00
peri4 14cf81aed0 remove void piLetobe(T * v) 2024-08-28 13:17:38 +03:00
peri4 c43b914fb3 PIMemoryBlock fix 2024-08-28 12:19:57 +03:00
peri4 f002f6cedd PIMemoryBlock fix 2024-08-28 12:19:37 +03:00
peri4 ce846eca51 fix deprecated message 2024-08-28 11:58:58 +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 33fc334077 PIStateMachine::postEvent() now thread-safe and can be recursive 2024-08-05 23:25:23 +03:00
peri4 6efc962923 in my opinion, PIStateMachine is ready to real work 2024-08-04 20:26:39 +03:00
peri4 7d02f710ea add PIPackedTCP 2024-08-02 14:43:42 +03:00
peri4 c8876807ed fix unidemponetial behaviour with PIP version 2024-07-30 17:21:30 +03:00
peri4 f43f834460 !! 2024-07-30 14:48:00 +03:00
peri4 ccf6b810b5 -librt is still need... 2024-07-30 14:41:54 +03:00
peri4 a438c4249d version fix 2024-07-30 14:26:07 +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 f07c9cbce8 add timeout transition 2024-07-28 20:16:52 +03:00
peri4 abdba6d68b state machine, parallel seems to work, final state and info about active atomic states 2024-07-17 21:11:01 +03:00
peri4 3db26a762c first state machine code, exclusive already works
need to make final, parallel, timeouts
2024-07-17 14:16:25 +03:00
peri4 b35561f74e doc fix 2024-07-17 14:14:38 +03:00
peri4 f041d1435e PIIODevice::waitThreadedReadFinished now periodically (100 ms) call interrupt() 2024-07-10 18:36:29 +03:00
peri4 b781bd5148 PIBroadcast fix 2024-07-10 16:56:40 +03:00
peri4 a16e0b7659 substitution fix 2024-07-09 21:47:18 +03:00
peri4 0bafd3fa98 PIValueTree improvements: methods with path (recursive), forEachRecursive()
PIValueTreeConvertions::fromTextFile now can include other files and handle ${} substitutions
2024-07-09 21:44:30 +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 9cd05996e7 version 3.20.0 2024-06-07 00:22:44 +03:00
peri4 15dc76c4a7 1 2024-06-06 22:06:40 +03:00
peri4 d46b5e008a try to fix cloud again 2024-06-01 22:27:39 +03:00
peri4 af4b718053 PIValueTree::contains fix for null entry 2024-05-22 15:15:32 +03:00
peri4 7eae1e127c PIBroadcast polishing 2024-05-14 21:01:53 +03:00
peri4 f97fed7daa string append more protection 2024-05-13 22:29:22 +03:00
peri4 d4a024ea75 remove harmful createPIPair() 2024-05-06 19:22:22 +03:00
peri4 491d89f117 version 3.19.0
PIMathVectorT subvector methods
PISystemTime::isNull()
PISystemTime::Frequency::isNull()
PISystemTime::toString()
PISystemTime::fromString()
PIVariant can handle strings with PISystemTime
PIDateTime::toSystemTime() now returns null time from invalid strings
2024-05-05 00:17:52 +03:00
peri4 a86e8f7b58 PIIOTextStream(PIString * string) now with mandatory Mode 2024-05-02 21:35:29 +03:00
peri4 d97798d063 version 3.18.1
fix pip_cmg - ignore static members
2024-04-30 15:23:26 +03:00
peri4 247759b364 version 3.18.0
PIMathMatrixT:: toType(), submatrix() and setSubmatrix()
2024-04-26 15:37:06 +03:00
peri4 a745f803b3 version 3.17.1
add PINonTriviallyCopyable struct
add PISerial check for error on Windows on every read()
2024-04-10 20:49:27 +03:00
peri4 1b67000887 PIPacketExtractor Timeout mode fix 2024-04-08 21:23:11 +03:00
peri4 04d3e31dbc PISet fix 2024-04-05 21:02:37 +03:00
peri4 9f29155d07 PISet fixes 2024-04-05 20:59:59 +03:00
peri4 021411defa PIConfig adopt for PIIOString changes 2024-04-05 20:41:07 +03:00
peri4 ee4d78d2e1 add PISet::const_iterator, now can iterate ranged-for PISet by T, not by PIPair<T, bool> 2024-04-05 17:13:18 +03:00
peri4 9283c88b4e version 3.17.0
finally properly works PIIOString inside PIIOStream
2024-04-05 15:34:38 +03:00
peri4 8d585439bb add PIChunkStream::getData(int id)
fix some COM on Windows
fix PIPacketExtractor
2024-04-04 20:50:44 +03:00
peri4 ebf2b08bb1 PIPacketExtractor fix 2024-04-04 12:34:00 +03:00
peri4 eb21c85170 version 3.16.1 2024-03-31 20:38:13 +03:00
peri4 fb68a9f9fe another segv on cloud 2024-03-31 20:31:35 +03:00
peri4 c7c3852747 cloud! finally fixed bug! 2024-03-25 22:40:29 +03:00
peri4 c18d0c918e 4 2024-03-25 21:45:59 +03:00
peri4 9c4fd41eef 3 2024-03-25 21:37:05 +03:00
peri4 9173dc936d 2 2024-03-25 21:34:30 +03:00
peri4 77c8681b43 1 2024-03-25 21:31:41 +03:00
peri4 2db9440a38 fix cloud ... :-/ 2024-03-25 21:24:29 +03:00
peri4 0d585cfebf cloud fix ... (( 2024-03-25 21:17:05 +03:00
peri4 02a9bfb76f another try fix 2024-03-22 22:29:14 +03:00
peri4 ad7385c21f more couts 2024-03-22 21:40:04 +03:00
peri4 dd6d91ac1d cloud fixes ... 2024-03-18 10:45:57 +03:00
peri4 576d9c79be Merge branch 'master' of https://git.shstk.ru/SHS/pip 2024-03-15 19:49:46 +03:00
peri4 3fa5d9d9df cloud inspecting ... 2024-03-15 19:49:37 +03:00
peri4 2b738f6f43 more safety cloud_dispatcher 2024-03-10 21:22:05 +03:00
peri4 263fa18726 add warnings 2024-03-05 19:38:53 +03:00
peri4 f47bc411bc version 3.16.0
new PISystemTime::Frequency type
2024-03-05 17:55:25 +03:00
peri4 154fb7d9fd pip_vtt support special characters 2024-02-29 13:03:38 +03:00
peri4 9f09af9f27 doc to shstk.ru 2024-02-28 10:49:29 +03:00
peri4 960e4a7cce migrate to shstk.ru 2024-02-28 10:27:34 +03:00
peri4 50bff12364 map and cloud fix, add cloud debug 2024-02-22 17:10:38 +03:00
peri4 7297b9aee0 PICodeParser::parseFileContent 2024-01-25 23:58:50 +03:00
peri4 3652705784 usb 2024-01-17 18:39:53 +03:00
peri4 851f101470 usb 2024-01-17 18:38:40 +03:00
peri4 6b87536d8d usb fix 2024-01-17 18:32:06 +03:00
peri4 d299a1f386 support for multi ctor CONNECTL 2023-12-12 22:05:06 +03:00
peri4 c8350d2f0a doc 2023-12-09 07:25:48 +03:00
peri4 7efdacc979 main fix 2023-12-09 07:19:28 +03:00
peri4 c77afcc374 PICodeInfo compatible with old interface, safety access to PICODEINFO 2023-12-08 19:01:22 +03:00
peri4 b8fc44714c version 3.15.0 - improved pip_cmg and PICodeInfo storage
Important! changed API to access PICodeInfo storage
2023-12-08 16:14:18 +03:00
peri4 49a5ed6aa3 deploy_tool remove empty 2023-11-20 23:33:34 +03:00
peri4 76c76b48c5 OpenCL lib 2023-11-20 21:19:14 +03:00
peri4 03bd23a3b9 enable PIString2StdWString 2023-11-09 00:31:27 +03:00
peri4 61e6edb4c8 add PIOpenCL::Kernel::waitForFinish() 2023-09-25 14:28:15 +03:00
peri4 aa78e930be add toolTip attribute to PIValueTree 2023-09-13 10:33:12 +03:00
peri4 bb668dab29 ignore cross-compile dependencies 2023-09-07 13:11:26 +03:00
peri4 d1662d3535 PITextStream add long 2023-09-06 20:26:38 +03:00
peri4 12b136a2f4 version 3.14.1 2023-09-05 20:15:12 +03:00
peri4 aa69815a31 pip_cmg less code 2023-09-05 19:42:45 +03:00
peri4 3afa0ce0ab PIChunkStream::extract changed to PIBinaryStream 2023-08-30 17:08:11 +03:00
peri4 64a474c343 more safety 2023-08-30 12:29:06 +03:00
peri4 0907a3eb13 version 3.14.0
PIBinaryStream::wasReadError() method, remove incomplete read asserts
2023-08-30 12:18:04 +03:00
peri4 c86ec0ae82 normalizeAngleDeg methods 2023-08-14 12:37:32 +03:00