Commit Graph
100 Commits
Author SHA1 Message Date
peri4 60d2a83df5 android (maybe some other *nix) fix 2025-01-10 20:46:33 +03:00
peri4 7757ac10ec add PIP_BUILD_<MODULE> options for PIP build to force disabling modules 2025-01-09 17:36:40 +03:00
peri4 f334a6603f adopt for new MinGW 2025-01-06 12:55:44 +03:00
peri4 15548de79c version 4.5.0
PIThread::stopAndWait now returns bool
PIKbdListener on Linux now use piwaitevent_p and can immediately stop
new base method piZeroMemory, also migrate all "memset 0" to piZeroMemory
2024-12-29 11:48:24 +03:00
peri4 49713ddc57 PIThread now setup itself in thread func 2024-12-29 10:50:38 +03:00
peri4 0973379f53 now works 2024-12-26 16:19:33 +03:00
peri4 a3004491d6 no warning on terminate kbd 2024-12-26 16:18:13 +03:00
peri4 199a272eb8 now rude 2024-12-26 16:16:01 +03:00
peri4 855d1ca1b5 try to fix hang on exit by keyboard 2024-12-26 16:12:02 +03:00
peri4 64025e0399 PIThread now wait on _endThread() when starting is really done 2024-12-26 16:01:56 +03:00
peri4 6e5556969d fix for last commit 2024-12-25 19:37:55 +03:00
peri4 b50eeaef46 fix for last commit 2024-12-25 19:34:49 +03:00
peri4 ffc471359a fix thread name for linux 2024-12-25 19:30:15 +03:00
peri4 79007e7b4e PIString::arg() now ignore non-suitable %.
PIVector and PIDeque now use std::stable_sort
2024-12-07 12:57:48 +03:00
peri4 9e08b6ffc5 turn fuck off tests by default anyway 2024-12-03 15:41:34 +03:00
peri4 9b8a1583c2 add "--no-strip" flag to deploy_tool 2024-12-03 11:19:14 +03:00
peri4 cae264a77b forgot to implement PIHTTPClient headers 2024-11-28 13:13:08 +03:00
peri4 4f934fef35 PIHTTPClient fixes 2024-11-28 12:37:05 +03:00
peri4 3a159b0553 PIByteArray operators & | ^
PIDigest add BLAKE2 algorithms and HMAC
2024-11-27 18:27:51 +03:00
peri4 0c973f0216 add PIDigest with SHA and MD series 2024-11-27 14:40:39 +03:00
peri4 65d3168eb5 PICout::withExternalBufferAnd decomposed to PICout::withExternalBufferAndID and PICout::withExternalBufferAnd
PIString::toPercentageEncoding/fromPercentageEncoding
piStringify()
PIHTTPClient support arguments
some doc
2024-11-26 18:26:02 +03:00
peri4 12114b3e77 old curl fix 2024-11-25 16:02:40 +03:00
peri4 6f6b717354 pip_test 2024-11-25 15:53:12 +03:00
peri4 58b3fa64bc http server fix 2024-11-25 15:00:42 +03:00
peri4 1acaf24df9 PIHTTPServer basic auth works 2024-11-24 23:23:08 +03:00
peri4 c2c9822169 fix FindPIP.cmake 2024-11-23 17:55:59 +03:00
peri4 dff4f2b3a0 add http_client library, using libcurl
take out common http entities to http_common dir
2024-11-23 17:54:22 +03:00
peri4 bf9ad65ff0 take out "asize" from vector/dequeue to picontainers.h->calcNewSize()
minAlloc and maxPoTAlloc now can be override from CMake by PIP_CONTAINERS_MIN_ALLOC and PIP_CONTAINERS_MAX_POT_ALLOC variables
2024-11-21 20:15:18 +03:00
peri4 53ec75bf0c remove junk 2024-11-21 16:31:40 +03:00
peri4 f5270d75eb multi-utf16 fix 2024-11-21 16:28:19 +03:00
peri4 4aa596b179 last commit error 2024-11-21 00:18:57 +03:00
peri4 002f21fc9e version 4.4.1 2024-11-21 00:10:35 +03:00
peri4 9ab46e4afc version 4.4.1
PIVector and PIDeque now growth to 64 MiB with PoT, then increments size by 64 MiB
in case of large containers it significantly save memory
2024-11-21 00:10:14 +03:00
peri4 caa7880cc4 get rid of piForeach
apply some code analyzer recommendations
ICU flag now check if libicu exists
prepare for more accurate growth of containers (limited PoT, then constantly increase size)
2024-11-20 20:01:47 +03:00
peri4 24112498ce new method PILog::readAllLogs 2024-11-18 22:47:02 +03:00
peri4 c9a5ddd89f PIProtectedVariable - user now can`t mistake
PIHTTPServer improvements
2024-11-18 11:11:19 +03:00
peri4 3483edbd76 Merge pull request 'refactoring PICrypt, add PIStreamPackerConfig, delete piclientserver_config' (#184) from pisteampackerconfig into master
Reviewed-on: #184
2024-11-16 15:44:15 +03:00
peri4 f6b9131f4a test excluded for android 2024-11-15 17:14:19 +03:00
peri4 c67f7a2b64 log fix 2024-11-15 16:23:48 +03:00
peri4 047d38ea59 http includes 2024-11-15 15:47:56 +03:00
peri4 3d07795515 add_custom_command(... pip_lang) on ninja brings to resursive cmake and ninja call ( 2024-11-15 15:43:03 +03:00
peri4 ee137b2820 http server options, remove old 2024-11-15 14:18:49 +03:00
peri4 cdde340efe add microhttpd server 2024-11-14 18:15:27 +03:00
peri4 ee34e8a72e doc 2024-11-13 16:32:21 +03:00
peri4 0840d807a0 add PIReadWriteLock, PIReadLocker and PIWriteLocker 2024-11-13 13:56:16 +03:00
peri4 4655d72554 new class PISemaphore
doc for PIProtectedVariable
2024-11-12 18:50:22 +03:00
peri4 5b066cbc27 add PIProtectedVariable 2024-11-10 21:28:59 +03:00
peri4 2247473959 PICodeParser namespace fix 2024-11-07 15:43:13 +03:00
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 73ed51e3d4 translations: multi-line and special symbols support 2024-11-03 18:12:32 +03:00
peri4 1106cde3e4 return tr for PIString 2024-11-03 14:41:31 +03:00
peri4 b43158d3a8 add PIString::lineNumber() method
add ""_tr literal to translate string by PITranslator
add pip_tr util, now useless, only can generate *.ts
add qt_support internal lib, now only works with *.ts file
pip_vtt migrate to qt_support
2024-11-03 14:39:42 +03:00
peri4 9a928f6feb add PITranslator
begin localization "ru"
2024-11-02 18:43:30 +03:00
peri4 df75efe881 version 4.3.2
fix PIKbdListener wheel on Windows
2024-11-02 14:15:09 +03:00
peri4 9f1d23ad8e version 4.3.1
PICodeParser now works with multi-line macros
2024-10-23 19:11:46 +03:00
peri4 7cd2f7a310 PIBinaryStream supports PISet 2024-10-21 13:47:28 +03:00
peri4 7209eec012 author 2024-10-19 17:08:15 +03:00
peri4 992f59904a more documentation 2024-10-19 17:07:45 +03:00
peri4 9dbd7210cb PILog documentation 2024-10-19 16:58:12 +03:00
peri4 28f3471036 version 4.3.0 2024-10-16 22:29:57 +03:00
peri4 d3d7235338 enable complex type for PIMathVectorT and PIMathMatrixT
TODO: add precision to invert and test vector
2024-10-16 22:10:28 +03:00
peri4 92a87a0c64 picloud add "-w" option for watchdog 2024-10-15 15:04:39 +03:00
peri4 cd7e053fc5 version 4.2.0
move toStdFunction() to pibase.h
refactor PIParseHelper, now it much more abstract and useful
fix PIIODevice::createFromFullPath() when whitespaces at start or end are presence
PIStreamPacker add events for start and end packet receive
PIClientServer::ClientBase add virtual methods for start and end packet receive. also one can enable diagnostics with enableDiagnostics() method
PICout now call flush() on each end of output
add PIString::entries(const PIString & str)
2024-10-15 12:02:18 +03:00
peri4 9eecbbab6e new method PIClientServer::Server::closeAll()
PISignals::releaseSignals()
2024-09-24 18:57:50 +03:00
peri4 3641e636d2 new PIClientServer::ClientBase::stopAndWait() method for blocking stop read.
PIClientServer::ClientBase::close() now non-blocking
2024-09-21 19:56:39 +03:00
peri4 4acab04895 PILog ready to use 2024-09-19 17:26:58 +03:00
peri4 aa963a4bda PIEthernet on error close disconnect 2024-09-17 16:50:22 +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 eb97de1413 close 2024-09-17 11:21:23 +03:00
peri4 97f1c25ff8 close 2024-09-17 11:15:50 +03:00
peri4 97aad47a21 some fixes 2024-09-16 23:32:01 +03:00
peri4 43bd1d8550 Merge remote-tracking branch 'remotes/origin/tests_client_server' into test 2024-09-16 19:58:26 +03:00
peri4 224412e20a PIDir::temporary fix 2024-09-16 16:24:11 +03:00
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