Skip to content

Commit 3976305

Browse files
committed
Release v2.1
Squashed commit of the following: commit 2e3654c76bf77c1faa468e9bffe75de89049cd74 Author: astand <ast.and@bk.ru> Date: Thu May 4 20:14:32 2023 +0200 Release v2.1 Squashed commit of the following: commit 75b5813d1c0b6c4f76e7b5ac3ace53e2d5676768 Author: astand <ast.and@bk.ru> Date: Sat Feb 19 23:21:41 2022 +0300 Changelog editing. commit 634b4b75f2e6c19ee2d9dab18945a7e6af4fec82 Author: astand <ast.and@bk.ru> Date: Sat Feb 19 23:17:11 2022 +0300 Added signature extension for signed signal types. commit ad43ded46a38eeccf0a52a67fcbf4bc51a501010 Author: astand <ast.and@bk.ru> Date: Sat Feb 19 23:16:34 2022 +0300 Target signals type selection optimized. commit 83d894d3aaea9e6f2c5835d2505dac9304b7fa42 Author: astand <ast.and@bk.ru> Date: Wed Feb 2 16:10:35 2022 +0300 Updated docs. commit bdef03ca8411ab1fab2cafdc48834eb3827eae24 Author: astand <ast.and@bk.ru> Date: Wed Feb 2 11:25:02 2022 +0300 Minor fixes. commit b29a47aa52ffab2aa67a79602d00c69dbb3191d5 Author: astand <ast.and@bk.ru> Date: Wed Feb 2 11:18:16 2022 +0300 Version update (v2.0). commit f470bbc18ba6b9310f92a479d7b29388b4ee4576 Author: astand <ast.and@bk.ru> Date: Wed Feb 2 11:18:09 2022 +0300 Change way of passing calling arguments. commit 7d42aec031c6e8650d87d8a09f060c9d25a4a13b Author: astand <ast.and@bk.ru> Date: Wed Feb 2 09:28:07 2022 +0300 Explicit cast from int64 to uint32. commit 196b17d24bc12275dbe5f62383bb9475eaf9609c Author: astand <ast.and@bk.ru> Date: Wed Feb 2 00:02:39 2022 +0300 Fixed error in with bitutil wrong dir generation. commit 770bb9b9ff78b5f70fa29e8099927a0dc5941ecd Author: astand <ast.and@bk.ru> Date: Tue Feb 1 22:15:23 2022 +0300 Added filter for local test infrustructure. commit 57f38633138380c717717be2b6813a06cae2ddc7 Author: astand <ast.and@bk.ru> Date: Tue Feb 1 22:15:04 2022 +0300 Simple fix problem with too long lines. commit 5d9a5a7b3c40a69d5c4396f58b0b665ff4c7a3f1 Author: astand <ast.and@bk.ru> Date: Mon Jan 24 11:37:19 2022 +0300 Changelog editing. commit d1993618192d1b8d9917e9ac40cd58d80965563b Author: astand <ast.and@bk.ru> Date: Mon Jan 17 21:50:24 2022 +0300 Added astyle bin and format script. commit 8526c87e65a4f334f871a4e688ef84d4a0bed582 Author: astand <ast.and@bk.ru> Date: Mon Jan 17 09:11:02 2022 +0300 Enhanced directory structure for generated files. commit ebe6786c08b88e7d33eca38c16e846f4d08883d7 Author: astand <ast.and@bk.ru> Date: Fri Dec 17 23:32:32 2021 +0300 Fixed extra line for ValTable parsed lines. commit f80fb2a7d1f3c92260454977fe896001ac5641c4 Author: Astakhov Andrey <quater873@gmail.com> Date: Tue Nov 9 21:50:22 2021 +0300 Update README.md commit 25eae4133962ba46fe24f740d3ff8836696a41f0 Author: Astakhov Andrey <quater873@gmail.com> Date: Tue Nov 9 14:45:37 2021 +0300 Update README.md commit 4e3f22f51ae3e49a31e3e8584f8ca6b2d909eaef Author: astand <ast.and@bk.ru> Date: Tue Nov 9 13:58:23 2021 +0300 Updated readme. commit 2938aa6d7db736d8bbc66f24119ba3d3cdadb13a Author: astand <ast.and@bk.ru> Date: Tue Nov 9 10:14:23 2021 +0300 Releases updated for v1.9. commit 3d3605f62c174165e34282346837f0ad0c43ba93 Author: astand <ast.and@bk.ru> Date: Tue Nov 9 09:43:55 2021 +0300 All sources processed by code style tool. commit 2f22c2e4b9c1cb985239fa3239385d11c5cb428b Author: astand <ast.and@bk.ru> Date: Tue Nov 9 09:40:12 2021 +0300 Fixed: closing comment in -config.h, minor code style. commit 3b6b7bcfd2f1d58c3c3de44846678bebb2757b4a Author: astand <ast.and@bk.ru> Date: Mon Nov 1 22:14:28 2021 +0300 Release updated for v1.8. commit 906b274f654cb463f9e9e70bed76293e1b516038 Author: astand <ast.and@bk.ru> Date: Mon Oct 25 20:58:58 2021 +0300 Fixed wrong way of rewriting CSM signal. commit 48556b35a6d302afeb38c1bcc86ec034bbc5bb6e Author: astand <ast.and@bk.ru> Date: Sun Oct 10 21:35:48 2021 +0300 Releases updated for v1.7. commit c5bbd7fca998352ccb9b86a107abbb6fc3b6165e Author: astand <ast.and@bk.ru> Date: Sun Oct 10 21:32:55 2021 +0300 Added suppot for multi Transmiters. commit 02d1e28b40b43a7b9356e237ccccec7f12612d4b Author: astand <ast.and@bk.ru> Date: Sun Oct 10 21:31:36 2021 +0300 Fixed potential bug. Missing node adding on RecS item matching. commit 9af49b087ec18bf0e27619b7cad915945b002e5a Author: astand <ast.and@bk.ru> Date: Sun Oct 10 21:30:01 2021 +0300 Changes on style guide. commit a2c0079bffe9b4331bed929054b4e7c2781e1ae7 Author: astand <ast.and@bk.ru> Date: Thu Sep 9 22:50:54 2021 +0300 Releases updated for v1.6. commit f918d0163e8417fefa8a026ab3a08885b948af8a Author: astand <ast.and@bk.ru> Date: Thu Sep 9 22:45:43 2021 +0300 Fixed issue with 1 frame in RX struct. commit 6439bccdb82f8026f5d62fc9a9aac73bfbaebdf7 Author: astand <ast.and@bk.ru> Date: Wed Sep 8 23:19:21 2021 +0300 Added optional binutil generation for each node in DBC. commit 6481e7e3213fccb5213f7873ae10a3f300272805 Author: astand <ast.and@bk.ru> Date: Thu Aug 26 23:38:09 2021 +0300 Fixed some issues. commit 75f0193ac80e9ee1f0478bc094c019cba32e4522 Author: astand <quater873@gmail.com> Date: Tue Jul 13 21:56:13 2021 +0300 Removed test info. Edited README.md. commit ff67c1fc9d0ed8213675ee98bbde67aa83133419 Author: astand <ast.and@bk.ru> Date: Sun Jul 11 22:07:48 2021 +0300 Hotfixed README layout. commit 002c86b8759733631cb9946bbfbaeed5d2064d4f Author: astand <ast.and@bk.ru> Date: Sun Jul 11 22:04:23 2021 +0300 v1.3 commit 2ba501e3493097f673bcb07bacd8b1c7a2693b79 Author: astand <ast.and@bk.ru> Date: Sun Jul 11 22:04:10 2021 +0300 Added template file generation. Refactored config comment text. commit f604b883c07b43573d10499701e52dec7b6fd600 Author: astand <ast.and@bk.ru> Date: Sun Jul 11 17:59:17 2021 +0300 Readme updated. commit e7a4cab503c69684d5b800ccab0cecfff70a9f37 Author: astand <ast.and@bk.ru> Date: Sun Jul 11 13:19:53 2021 +0300 v1.2 commit 0ad29f6a55916b0a10c262c21f40aa2eaf84506e Author: astand <ast.and@bk.ru> Date: Sun Jul 11 13:19:39 2021 +0300 Added LICENSE and README. commit 0628848deae72fb9a656018843073ea57d2b9389 Author: astand <ast.and@bk.ru> Date: Sun Jul 11 13:18:20 2021 +0300 Improved help message text. commit 64745a172900f95c330ad60a4f1808f543213a05 Author: astand <ast.and@bk.ru> Date: Sun Jul 11 12:20:54 2021 +0300 Application executable name changed - coderdbc. commit 3376c580b8168c7f13f9287087eb53dfde884894 Author: astand <ast.and@bk.ru> Date: Sat Jul 10 17:10:18 2021 +0300 Fixed type casting warning. commit 84601a99676f947f842ba0968a8ec0ea0d36f2d1 Author: astand <ast.and@bk.ru> Date: Sat Jul 10 17:05:18 2021 +0300 Removed useless files and settings. commit 359da554595212aad4b8c9ca883e9f9c5317fdbe Author: astand <ast.and@bk.ru> Date: Sat Jul 10 15:41:38 2021 +0300 Added help message. commit eca35e01304bdd5cf309164b1a119312efcbac96 Author: astand <ast.and@bk.ru> Date: Sat Jul 10 15:22:25 2021 +0300 Project became executable (CLI). commit 1d168d9e2621475b2a8a4d55bcd31c6ca6502d02 Author: astand <ast.and@bk.ru> Date: Sat Jul 10 15:21:30 2021 +0300 Added option for rewriting source output files. commit 8456d4c243f25234426e1a5dc04866ac38ae15e8 Author: astand <ast.and@bk.ru> Date: Sat Jul 10 15:20:45 2021 +0300 Fixed windows related issues. commit 776a05a9465f84451c4657e5b614831d4748cbf0 Author: astand <ast.and@bk.ru> Date: Sat May 15 12:59:49 2021 +0300 Added DBC version info parsing. commit e06f777de2bb4fe2252a8bfeb25778456eebe21e Author: astand <ast.and@bk.ru> Date: Sun Apr 4 13:40:01 2021 +0300 Added start info as user defined text. commit 12c735fb2238d72547de3bb772564802baeef155 Author: astand <ast.and@bk.ru> Date: Thu Apr 1 20:13:05 2021 +0300 Fixed value table first pair skipping. commit 1ff121bb1f5cb3ae60ec5e7e6c3a07876c116408 Author: astand <ast.and@bk.ru> Date: Tue Mar 30 21:38:02 2021 +0300 Fixed GetFrameHash call syntax. commit abfcc41eeb6ca76b5e0cbb8ab94a7095d31ba0d4 Author: astand <ast.and@bk.ru> Date: Sat Mar 27 14:17:25 2021 +0300 True fix issue with big comment section. commit b714eb0a2ba33d69f382ae803796f0cf29c7064d Author: astand <ast.and@bk.ru> Date: Sun Mar 14 22:50:22 2021 +0300 Fixed issue with big comment and localization. commit 2ccb121d67659536c22cbcc5a56c179a743b55a1 Author: astand <ast.and@bk.ru> Date: Sat Mar 6 19:10:51 2021 +0300 Fixed macros for *_phys <-> *_ro signal conversion. commit d15afe698a0603ac2c9b761328b353620f29e614 Author: astand <ast.and@bk.ru> Date: Thu Mar 4 13:08:48 2021 +0300 Updated comment text in drv_conf.h file. commit b5a687b23e257b92a2e397cc3de780760d97fbe0 Author: astand <ast.and@bk.ru> Date: Thu Mar 4 13:08:31 2021 +0300 Fixed integer x = ***_toS(x) issue. Added postfix *_ro to non simple signals. commit 43730ed8d9cb9028097b38504b847aee9ba666a4 Author: astand <ast.and@bk.ru> Date: Thu Mar 4 12:33:20 2021 +0300 Changed comments in gen code. commit 1e837ce27539afdf3e0c448b09cdce3fbbdd3d93 Author: astand <ast.and@bk.ru> Date: Thu Mar 4 12:32:55 2021 +0300 Fixed issue when DLC is less then actual Message layout takes. commit b67759bdceac636c2c6f025752efe4ab82e812ee Author: astand <ast.and@bk.ru> Date: Sun Feb 28 16:03:41 2021 +0300 GetSystemTick func name. commit ab5ccece612f3d268319a83e742b580fad728162 Author: astand <ast.and@bk.ru> Date: Thu Feb 18 22:19:48 2021 +0300 Fixed grammar errors. commit 0cc9b3efe9c8a84b0bb1db587c4129517241ef45 Author: astand <ast.and@bk.ru> Date: Wed Feb 17 14:46:17 2021 +0300 Removed cmake dir. commit 60abfecff28f543f112bc7c9147ec5da2d436a44 Author: astand <ast.and@bk.ru> Date: Wed Feb 17 14:13:04 2021 +0300 Added template ***-config.h generation. commit cf4ac280374412c49ab25eb833d17e19c73e528a Author: astand <ast.and@bk.ru> Date: Wed Feb 17 11:56:42 2021 +0300 Simple support for multiplexed signals. commit b952fab0bdcc5a0fe43966c41b7527b4a4b12013 Author: astand <ast.and@bk.ru> Date: Wed Feb 17 10:48:37 2021 +0300 Fixed issue with comment text for message. commit 051df8e991963cf9a17f9c17220eb0ce55056663 Author: astand <ast.and@bk.ru> Date: Wed Feb 17 10:48:17 2021 +0300 Fixed value table code printing issue. commit c369336ceb9245dbf7d5f4e2d51a24412bb0b951 Author: astand <ast.and@bk.ru> Date: Wed Feb 17 10:38:43 2021 +0300 resplit has more param - type of pslit strategy. (was only NOT matched). commit b3af67692da39be0390a63bbcd384dd6bced2612 Author: astand <ast.and@bk.ru> Date: Sun Feb 14 00:18:39 2021 +0300 Added cmake building. commit 4fd51160d2efee074d933c04ec66411cc2e280b3 Author: astand <ast.and@bk.ru> Date: Sat Feb 13 23:48:24 2021 +0300 Added util source print. commit c0bc4b1d9d2af99df4a33b67185a6dc4092a71ac Author: astand <ast.and@bk.ru> Date: Wed Feb 10 20:01:58 2021 +0300 Fixed minor issues (warnings). commit 147994ab107874598eda6b5b9db3e2f94fe5fa48 Author: astand <ast.and@bk.ru> Date: Wed Feb 10 19:50:20 2021 +0300 Removed unused code. commit 00748b35f8d7c1a5656c5670e79d3bd55510f8b3 Author: astand <ast.and@bk.ru> Date: Wed Feb 10 19:48:11 2021 +0300 Added util header print. Some additional improvements. commit ad787bc79ca98ee313a2381cfcfb1dc717e7228e Author: astand <ast.and@bk.ru> Date: Wed Feb 10 12:14:09 2021 +0300 Added first variant of util generator. commit bc72a4f09daa3b2ec9f010a613d64c5b94adfe94 Author: astand <ast.and@bk.ru> Date: Wed Feb 10 10:18:36 2021 +0300 Formatter function for printf. commit 9e400dbfa15194d17ba77decb2849c7854cfd7ee Author: astand <ast.and@bk.ru> Date: Sun Feb 7 17:49:35 2021 +0300 On ubuntu getline puts (or shows) '\r' at the end of line. commit 9cd30495ff1e19666e3a43b1aac42a5bf0965c8b Author: astand <ast.and@bk.ru> Date: Sun Feb 7 17:48:36 2021 +0300 Fixed some issues. commit 79fc48e7334ad79c0ba8173ddaec4109a36e1b69 Author: astand <ast.and@bk.ru> Date: Sun Feb 7 16:41:05 2021 +0300 Fixed comment printing. commit 0947ebf6eb5a77d7f0869307c984cb7a9b7653e3 Author: astand <ast.and@bk.ru> Date: Sat Feb 6 14:50:38 2021 +0300 Added CSM calc and pack in both Pack functions. commit 6798987a6054bec586c327cef470ac9927a0d2fb Author: astand <ast.and@bk.ru> Date: Wed Feb 3 18:53:47 2021 +0300 Added CSM check in unpack function. commit e56d43c7430be29c828c423b54336cc858bc91ca Author: astand <ast.and@bk.ru> Date: Wed Feb 3 18:41:18 2021 +0300 Added Checksum signal detection. commit a7d6cf053f2516c2a2a63bd806a063c8ab8cda36 Author: astand <ast.and@bk.ru> Date: Wed Feb 3 17:01:54 2021 +0300 Common refactoring and bug fix (field width). commit d7fdcafbd321f5fe38fce92796352b36acff6652 Author: astand <ast.and@bk.ru> Date: Wed Feb 3 16:59:49 2021 +0300 Added auto rolling handling code. commit 362a4d1a16d9cd515e1b70cdffcd8bf58b7abe64 Author: astand <ast.and@bk.ru> Date: Wed Feb 3 16:57:30 2021 +0300 Removed empty phys macro in pack functions. commit 69e9687292e8e15b6dd52142aa06eccae5584e20 Author: astand <ast.and@bk.ru> Date: Sun Jan 31 23:47:51 2021 +0300 Added changed for Linux building. commit a719f7297f0d867915bb14ed2fe9f785c4c25762 Author: astand <quater873@gmail.com> Date: Sun Jan 31 18:58:44 2021 +0300 Added fmon-source file generation. commit e634227dfe97a8e471425092bdf72848bb837bc5 Author: astand <quater873@gmail.com> Date: Sun Jan 31 18:37:08 2021 +0300 Added fmon-header file generation. commit 25ba5569bfecf329ecc80136599a32e11d6c543a Author: astand <quater873@gmail.com> Date: Sun Jan 31 17:46:19 2021 +0300 Source files filling moved to dedicated functions. commit d6b8c463815193e76467c93efda9cb89135e7d72 Author: astand <quater873@gmail.com> Date: Sun Jan 31 17:35:25 2021 +0300 Small refactoring. commit ba889648fc02f850495959dcf01b9c8ce64ee793 Author: astand <quater873@gmail.com> Date: Mon Jan 25 20:55:01 2021 +0300 Fixed comment style. CYC value bug. commit 950ed796cd13c803481baea28bfbd8ed89fee87b Author: astand <quater873@gmail.com> Date: Mon Jan 25 20:53:37 2021 +0300 Fixed warning on unused param (dlc) in Unpack function. commit bd87a48c33f60e379ee60f6139a9caba76407ed5 Author: astand <quater873@gmail.com> Date: Mon Jan 25 13:17:53 2021 +0300 Fixed generator formatting bugs. commit 22ea2f10c8fb54aef0f20a9a55481066f04274a2 Author: astand <quater873@gmail.com> Date: Mon Jan 25 13:17:35 2021 +0300 Fixed bug in sign of sigfloat type signal. commit 2cd8af4b76dd8f849c34b96a8cba4eab08fe4cfd Author: astand <quater873@gmail.com> Date: Mon Jan 25 11:32:02 2021 +0300 Added "*_phys" sigs and auto toS/fromS conversion. commit e95d50a2234498f3991730ab162d5754f7fc0363 Author: astand <quater873@gmail.com> Date: Mon Jan 25 11:31:15 2021 +0300 Fixed "fromS" macro - type cast must be skipped. commit d4e160358e660bdaef5f38f9be7639b84bd2be5a Author: astand <quater873@gmail.com> Date: Mon Jan 25 11:30:17 2021 +0300 Added more signal type class (3 classes for now). commit 11426ccccfdcdd392cf2e7543d389338957b9385 Author: astand <ast.and@bk.ru> Date: Thu Jan 21 21:53:17 2021 +0300 Added print toS and fromS macros. commit 3d57bbe344cf709bdc74a2ba7f6ee6381fe41bb9 Author: astand <ast.and@bk.ru> Date: Thu Jan 21 21:51:59 2021 +0300 Do not make signal conversation inside unpack function. commit b8ad3cb33871bdcfbc7cfbf28101895c33dbc958 Author: astand <ast.and@bk.ru> Date: Thu Jan 21 21:51:24 2021 +0300 Helpers added. commit 4c18e408a3eee02ac20b7589f33542cc95f8e964 Author: astand <ast.and@bk.ru> Date: Thu Jan 21 21:50:36 2021 +0300 Fixed minor issues. commit bdd40613fbe5690e09c0fede10680edf20afab13 Author: astand <ast.and@bk.ru> Date: Thu Jan 21 17:26:33 2021 +0300 Signal type detection refactored. commit 981b25ac8c2452349da7c188458f46b4c4058ac8 Author: astand <ast.and@bk.ru> Date: Thu Jan 21 11:49:30 2021 +0300 Added 2-Pack functions bodies. commit 155755087e8e276639e30c9a4836ea9a3202cfde Author: astand <ast.and@bk.ru> Date: Mon Jan 11 20:37:43 2021 +0300 Basic struct and unpack func in -c main source code. commit bf0ed04585d4dfe1f93be6e7c608f0762aea740e Author: astand <ast.and@bk.ru> Date: Mon Jan 11 20:10:42 2021 +0300 Fs creator keeps lowcase drvname in separated field. commit 246a2b9119abf970527a837db0f4d4bb3d4b9d43 Author: astand <ast.and@bk.ru> Date: Mon Jan 11 20:09:16 2021 +0300 Style format. commit 30edc79c7fb764d633ecffcf193ba95f600b8ef0 Author: astand <ast.and@bk.ru> Date: Mon Jan 11 20:08:53 2021 +0300 Renamed variable for clarificatin. commit c7ae93ea852f39104d806e3be9681b704a41e297 Author: astand <ast.and@bk.ru> Date: Mon Jan 11 20:08:30 2021 +0300 Fixed unpack sig format bug. commit ff267a4b6167f6dc248c2a930c7a13f18f0948af Author: astand <quater873@gmail.com> Date: Mon Jan 11 16:58:20 2021 +0300 PrintF refactored completely. commit b0856e0431146b749fab2eff6ca347c7e5980fe0 Author: astand <quater873@gmail.com> Date: Mon Jan 11 16:46:14 2021 +0300 Using fsd filelds for #ifdef selection. commit fc9663ac3afd5f56565ce6a5ee6c25c1bcfffb6b Author: astand <ast.and@bk.ru> Date: Sun Dec 13 01:08:31 2020 +0300 Added separated common attributes creator. commit 74b4b2d7c7caa54c953944e43be9c0fc0ba48ec4 Author: astand <ast.and@bk.ru> Date: Sat Dec 12 00:40:04 2020 +0300 Added printF optimization. commit 98c8eda0d5b503035dc2db40093ee1fd407ef427 Author: astand <ast.and@bk.ru> Date: Sat Dec 12 00:30:42 2020 +0300 Added Functions prototypes printing. commit c620841bb6820638ef8c00390a59049968e521b5 Author: astand <ast.and@bk.ru> Date: Fri Dec 11 23:54:15 2020 +0300 Added mon1 field if defined setting. commit 2a2ff62231a3c4a9fa752b915c0b010f6ca9a3b4 Author: astand <ast.and@bk.ru> Date: Mon Dec 7 12:58:05 2020 +0300 Added c++17 in project option. commit 14f7017aae61b43ab874deb15c53dc920b73a968 Author: astand <ast.and@bk.ru> Date: Mon Dec 7 12:57:33 2020 +0300 Added part of main .h file writer. Added filewriter. commit 7b1350081e939fe1d7d8927a27bfa7a533011cf6 Author: astand <ast.and@bk.ru> Date: Thu Nov 26 22:17:48 2020 +0300 Added minimal struct of main code generator. commit 26cf3f3212a19e813437e0df7119c8bf4a56bd0c Author: astand <ast.and@bk.ru> Date: Thu Nov 26 22:12:57 2020 +0300 SigPrinter minor refactoring. Income Msgs as const. commit 44e2db26f78396231001961d003a712db3a82b09 Author: astand <ast.and@bk.ru> Date: Thu Nov 26 14:45:56 2020 +0300 Added offset calculation in to_signal expression. commit 4915ed195f67c2b17469b64e44fb02b289e0760e Author: astand <ast.and@bk.ru> Date: Thu Nov 26 11:58:18 2020 +0300 Added core signals/message expression printer code. commit 45a85ac7c40e93a9f9dd6d46b6b34dfbdd2f2d7a Author: astand <ast.and@bk.ru> Date: Thu Nov 26 10:12:28 2020 +0300 Added sig-expression and sig-printer base code. commit 6350af48373f31af38ca37115fe6314668430372 Author: astand <ast.and@bk.ru> Date: Thu Nov 26 10:11:47 2020 +0300 Code dir migration. commit ab769a9824b7caaadf41cf076f41a0977a5a043d Author: astand <ast.and@bk.ru> Date: Sun Nov 22 22:30:17 2020 +0300 Added value table parsing. commit 7bd24c5e17175044edef7e26297705a927677767 Author: astand <ast.and@bk.ru> Date: Sat Nov 21 22:44:01 2020 +0300 Added basic dbcscanner core code. commit 69a1ad4e5e0ce50809c918386b04bf1da6d6c3e6 Author: astand <ast.and@bk.ru> Date: Thu May 4 20:13:41 2023 +0200 Release v2.0 Squashed commit of the following: commit 83d894d3aaea9e6f2c5835d2505dac9304b7fa42 Author: astand <ast.and@bk.ru> Date: Wed Feb 2 16:10:35 2022 +0300 Updated docs. commit bdef03ca8411ab1fab2cafdc48834eb3827eae24 Author: astand <ast.and@bk.ru> Date: Wed Feb 2 11:25:02 2022 +0300 Minor fixes. commit b29a47aa52ffab2aa67a79602d00c69dbb3191d5 Author: astand <ast.and@bk.ru> Date: Wed Feb 2 11:18:16 2022 +0300 Version update (v2.0). commit f470bbc18ba6b9310f92a479d7b29388b4ee4576 Author: astand <ast.and@bk.ru> Date: Wed Feb 2 11:18:09 2022 +0300 Change way of passing calling arguments. commit 7d42aec031c6e8650d87d8a09f060c9d25a4a13b Author: astand <ast.and@bk.ru> Date: Wed Feb 2 09:28:07 2022 +0300 Explicit cast from int64 to uint32. commit 196b17d24bc12275dbe5f62383bb9475eaf9609c Author: astand <ast.and@bk.ru> Date: Wed Feb 2 00:02:39 2022 +0300 Fixed error in with bitutil wrong dir generation. commit 770bb9b9ff78b5f70fa29e8099927a0dc5941ecd Author: astand <ast.and@bk.ru> Date: Tue Feb 1 22:15:23 2022 +0300 Added filter for local test infrustructure. commit 57f38633138380c717717be2b6813a06cae2ddc7 Author: astand <ast.and@bk.ru> Date: Tue Feb 1 22:15:04 2022 +0300 Simple fix problem with too long lines. commit 5d9a5a7b3c40a69d5c4396f58b0b665ff4c7a3f1 Author: astand <ast.and@bk.ru> Date: Mon Jan 24 11:37:19 2022 +0300 Changelog editing. commit d1993618192d1b8d9917e9ac40cd58d80965563b Author: astand <ast.and@bk.ru> Date: Mon Jan 17 21:50:24 2022 +0300 Added astyle bin and format script. commit 8526c87e65a4f334f871a4e688ef84d4a0bed582 Author: astand <ast.and@bk.ru> Date: Mon Jan 17 09:11:02 2022 +0300 Enhanced directory structure for generated files. commit ebe6786c08b88e7d33eca38c16e846f4d08883d7 Author: astand <ast.and@bk.ru> Date: Fri Dec 17 23:32:32 2021 +0300 Fixed extra line for ValTable parsed lines. commit f80fb2a7d1f3c92260454977fe896001ac5641c4 Author: Astakhov Andrey <quater873@gmail.com> Date: Tue Nov 9 21:50:22 2021 +0300 Update README.md commit 25eae4133962ba46fe24f740d3ff8836696a41f0 Author: Astakhov Andrey <quater873@gmail.com> Date: Tue Nov 9 14:45:37 2021 +0300 Update README.md commit 4e3f22f51ae3e49a31e3e8584f8ca6b2d909eaef Author: astand <ast.and@bk.ru> Date: Tue Nov 9 13:58:23 2021 +0300 Updated readme. commit 2938aa6d7db736d8bbc66f24119ba3d3cdadb13a Author: astand <ast.and@bk.ru> Date: Tue Nov 9 10:14:23 2021 +0300 Releases updated for v1.9. commit 3d3605f62c174165e34282346837f0ad0c43ba93 Author: astand <ast.and@bk.ru> Date: Tue Nov 9 09:43:55 2021 +0300 All sources processed by code style tool. commit 2f22c2e4b9c1cb985239fa3239385d11c5cb428b Author: astand <ast.and@bk.ru> Date: Tue Nov 9 09:40:12 2021 +0300 Fixed: closing comment in -config.h, minor code style. commit 3b6b7bcfd2f1d58c3c3de44846678bebb2757b4a Author: astand <ast.and@bk.ru> Date: Mon Nov 1 22:14:28 2021 +0300 Release updated for v1.8. commit 906b274f654cb463f9e9e70bed76293e1b516038 Author: astand <ast.and@bk.ru> Date: Mon Oct 25 20:58:58 2021 +0300 Fixed wrong way of rewriting CSM signal. commit 48556b35a6d302afeb38c1bcc86ec034bbc5bb6e Author: astand <ast.and@bk.ru> Date: Sun Oct 10 21:35:48 2021 +0300 Releases updated for v1.7. commit c5bbd7fca998352ccb9b86a107abbb6fc3b6165e Author: astand <ast.and@bk.ru> Date: Sun Oct 10 21:32:55 2021 +0300 Added suppot for multi Transmiters. commit 02d1e28b40b43a7b9356e237ccccec7f12612d4b Author: astand <ast.and@bk.ru> Date: Sun Oct 10 21:31:36 2021 +0300 Fixed potential bug. Missing node adding on RecS item matching. commit 9af49b087ec18bf0e27619b7cad915945b002e5a Author: astand <ast.and@bk.ru> Date: Sun Oct 10 21:30:01 2021 +0300 Changes on style guide. commit a2c0079bffe9b4331bed929054b4e7c2781e1ae7 Author: astand <ast.and@bk.ru> Date: Thu Sep 9 22:50:54 2021 +0300 Releases updated for v1.6. commit f918d0163e8417fefa8a026ab3a08885b948af8a Author: astand <ast.and@bk.ru> Date: Thu Sep 9 22:45:43 2021 +0300 Fixed issue with 1 frame in RX struct. commit 6439bccdb82f8026f5d62fc9a9aac73bfbaebdf7 Author: astand <ast.and@bk.ru> Date: Wed Sep 8 23:19:21 2021 +0300 Added optional binutil generation for each node in DBC. commit 6481e7e3213fccb5213f7873ae10a3f300272805 Author: astand <ast.and@bk.ru> Date: Thu Aug 26 23:38:09 2021 +0300 Fixed some issues. commit 75f0193ac80e9ee1f0478bc094c019cba32e4522 Author: astand <quater873@gmail.com> Date: Tue Jul 13 21:56:13 2021 +0300 Removed test info. Edited README.md. commit ff67c1fc9d0ed8213675ee98bbde67aa83133419 Author: astand <ast.and@bk.ru> Date: Sun Jul 11 22:07:48 2021 +0300 Hotfixed README layout. commit 002c86b8759733631cb9946bbfbaeed5d2064d4f Author: astand <ast.and@bk.ru> Date: Sun Jul 11 22:04:23 2021 +0300 v1.3 commit 2ba501e3493097f673bcb07bacd8b1c7a2693b79 Author: astand <ast.and@bk.ru> Date: Sun Jul 11 22:04:10 2021 +0300 Added template file generation. Refactored config comment text. commit f604b883c07b43573d10499701e52dec7b6fd600 Author: astand <ast.and@bk.ru> Date: Sun Jul 11 17:59:17 2021 +0300 Readme updated. commit e7a4cab503c69684d5b800ccab0cecfff70a9f37 Author: astand <ast.and@bk.ru> Date: Sun Jul 11 13:19:53 2021 +0300 v1.2 commit 0ad29f6a55916b0a10c262c21f40aa2eaf84506e Author: astand <ast.and@bk.ru> Date: Sun Jul 11 13:19:39 2021 +0300 Added LICENSE and README. commit 0628848deae72fb9a656018843073ea57d2b9389 Author: astand <ast.and@bk.ru> Date: Sun Jul 11 13:18:20 2021 +0300 Improved help message text. commit 64745a172900f95c330ad60a4f1808f543213a05 Author: astand <ast.and@bk.ru> Date: Sun Jul 11 12:20:54 2021 +0300 Application executable name changed - coderdbc. commit 3376c580b8168c7f13f9287087eb53dfde884894 Author: astand <ast.and@bk.ru> Date: Sat Jul 10 17:10:18 2021 +0300 Fixed type casting warning. commit 84601a99676f947f842ba0968a8ec0ea0d36f2d1 Author: astand <ast.and@bk.ru> Date: Sat Jul 10 17:05:18 2021 +0300 Removed useless files and settings. commit 359da554595212aad4b8c9ca883e9f9c5317fdbe Author: astand <ast.and@bk.ru> Date: Sat Jul 10 15:41:38 2021 +0300 Added help message. commit eca35e01304bdd5cf309164b1a119312efcbac96 Author: astand <ast.and@bk.ru> Date: Sat Jul 10 15:22:25 2021 +0300 Project became executable (CLI). commit 1d168d9e2621475b2a8a4d55bcd31c6ca6502d02 Author: astand <ast.and@bk.ru> Date: Sat Jul 10 15:21:30 2021 +0300 Added option for rewriting source output files. commit 8456d4c243f25234426e1a5dc04866ac38ae15e8 Author: astand <ast.and@bk.ru> Date: Sat Jul 10 15:20:45 2021 +0300 Fixed windows related issues. commit 776a05a9465f84451c4657e5b614831d4748cbf0 Author: astand <ast.and@bk.ru> Date: Sat May 15 12:59:49 2021 +0300 Added DBC version info parsing. commit e06f777de2bb4fe2252a8bfeb25778456eebe21e Author: astand <ast.and@bk.ru> Date: Sun Apr 4 13:40:01 2021 +0300 Added start info as user defined text. commit 12c735fb2238d72547de3bb772564802baeef155 Author: astand <ast.and@bk.ru> Date: Thu Apr 1 20:13:05 2021 +0300 Fixed value table first pair skipping. commit 1ff121bb1f5cb3ae60ec5e7e6c3a07876c116408 Author: astand <ast.and@bk.ru> Date: Tue Mar 30 21:38:02 2021 +0300 Fixed GetFrameHash call syntax. commit abfcc41eeb6ca76b5e0cbb8ab94a7095d31ba0d4 Author: astand <ast.and@bk.ru> Date: Sat Mar 27 14:17:25 2021 +0300 True fix issue with big comment section. commit b714eb0a2ba33d69f382ae803796f0cf29c7064d Author: astand <ast.and@bk.ru> Date: Sun Mar 14 22:50:22 2021 +0300 Fixed issue with big comment and localization. commit 2ccb121d67659536c22cbcc5a56c179a743b55a1 Author: astand <ast.and@bk.ru> Date: Sat Mar 6 19:10:51 2021 +0300 Fixed macros for *_phys <-> *_ro signal conversion. commit d15afe698a0603ac2c9b761328b353620f29e614 Author: astand <ast.and@bk.ru> Date: Thu Mar 4 13:08:48 2021 +0300 Updated comment text in drv_conf.h file. commit b5a687b23e257b92a2e397cc3de780760d97fbe0 Author: astand <ast.and@bk.ru> Date: Thu Mar 4 13:08:31 2021 +0300 Fixed integer x = ***_toS(x) issue. Added postfix *_ro to non simple signals. commit 43730ed8d9cb9028097b38504b847aee9ba666a4 Author: astand <ast.and@bk.ru> Date: Thu Mar 4 12:33:20 2021 +0300 Changed comments in gen code. commit 1e837ce27539afdf3e0c448b09cdce3fbbdd3d93 Author: astand <ast.and@bk.ru> Date: Thu Mar 4 12:32:55 2021 +0300 Fixed issue when DLC is less then actual Message layout takes. commit b67759bdceac636c2c6f025752efe4ab82e812ee Author: astand <ast.and@bk.ru> Date: Sun Feb 28 16:03:41 2021 +0300 GetSystemTick func name. commit ab5ccece612f3d268319a83e742b580fad728162 Author: astand <ast.and@bk.ru> Date: Thu Feb 18 22:19:48 2021 +0300 Fixed grammar errors. commit 0cc9b3efe9c8a84b0bb1db587c4129517241ef45 Author: astand <ast.and@bk.ru> Date: Wed Feb 17 14:46:17 2021 +0300 Removed cmake dir. commit 60abfecff28f543f112bc7c9147ec5da2d436a44 Author: astand <ast.and@bk.ru> Date: Wed Feb 17 14:13:04 2021 +0300 Added template ***-config.h generation. commit cf4ac280374412c49ab25eb833d17e19c73e528a Author: astand <ast.and@bk.ru> Date: Wed Feb 17 11:56:42 2021 +0300 Simple support for multiplexed signals. commit b952fab0bdcc5a0fe43966c41b7527b4a4b12013 Author: astand <ast.and@bk.ru> Date: Wed Feb 17 10:48:37 2021 +0300 Fixed issue with comment text for message. commit 051df8e991963cf9a17f9c17220eb0ce55056663 Author: astand <ast.and@bk.ru> Date: Wed Feb 17 10:48:17 2021 +0300 Fixed value table code printing issue. commit c369336ceb9245dbf7d5f4e2d51a24412bb0b951 Author: astand <ast.and@bk.ru> Date: Wed Feb 17 10:38:43 2021 +0300 resplit has more param - type of pslit strategy. (was only NOT matched). commit b3af67692da39be0390a63bbcd384dd6bced2612 Author: astand <ast.and@bk.ru> Date: Sun Feb 14 00:18:39 2021 +0300 Added cmake building. commit 4fd51160d2efee074d933c04ec66411cc2e280b3 Author: astand <ast.and@bk.ru> Date: Sat Feb 13 23:48:24 2021 +0300 Added util source print. commit c0bc4b1d9d2af99df4a33b67185a6dc4092a71ac Author: astand <ast.and@bk.ru> Date: Wed Feb 10 20:01:58 2021 +0300 Fixed minor issues (warnings). commit 147994ab107874598eda6b5b9db3e2f94fe5fa48 Author: astand <ast.and@bk.ru> Date: Wed Feb 10 19:50:20 2021 +0300 Removed unused code. commit 00748b35f8d7c1a5656c5670e79d3bd55510f8b3 Author: astand <ast.and@bk.ru> Date: Wed Feb 10 19:48:11 2021 +0300 Added util header print. Some additional improvements. commit ad787bc79ca98ee313a2381cfcfb1dc717e7228e Author: astand <ast.and@bk.ru> Date: Wed Feb 10 12:14:09 2021 +0300 Added first variant of util generator. commit bc72a4f09daa3b2ec9f010a613d64c5b94adfe94 Author: astand <ast.and@bk.ru> Date: Wed Feb 10 10:18:36 2021 +0300 Formatter function for printf. commit 9e400dbfa15194d17ba77decb2849c7854cfd7ee Author: astand <ast.and@bk.ru> Date: Sun Feb 7 17:49:35 2021 +0300 On ubuntu getline puts (or shows) '\r' at the end of line. commit 9cd30495ff1e19666e3a43b1aac42a5bf0965c8b Author: astand <ast.and@bk.ru> Date: Sun Feb 7 17:48:36 2021 +0300 Fixed some issues. commit 79fc48e7334ad79c0ba8173ddaec4109a36e1b69 Author: astand <ast.and@bk.ru> Date: Sun Feb 7 16:41:05 2021 +0300 Fixed comment printing. commit 0947ebf6eb5a77d7f0869307c984cb7a9b7653e3 Author: astand <ast.and@bk.ru> Date: Sat Feb 6 14:50:38 2021 +0300 Added CSM calc and pack in both Pack functions. commit 6798987a6054bec586c327cef470ac9927a0d2fb Author: astand <ast.and@bk.ru> Date: Wed Feb 3 18:53:47 2021 +0300 Added CSM check in unpack function. commit e56d43c7430be29c828c423b54336cc858bc91ca Author: astand <ast.and@bk.ru> Date: Wed Feb 3 18:41:18 2021 +0300 Added Checksum signal detection. commit a7d6cf053f2516c2a2a63bd806a063c8ab8cda36 Author: astand <ast.and@bk.ru> Date: Wed Feb 3 17:01:54 2021 +0300 Common refactoring and bug fix (field width). commit d7fdcafbd321f5fe38fce92796352b36acff6652 Author: astand <ast.and@bk.ru> Date: Wed Feb 3 16:59:49 2021 +0300 Added auto rolling handling code. commit 362a4d1a16d9cd515e1b70cdffcd8bf58b7abe64 Author: astand <ast.and@bk.ru> Date: Wed Feb 3 16:57:30 2021 +0300 Removed empty phys macro in pack functions. commit 69e9687292e8e15b6dd52142aa06eccae5584e20 Author: astand <ast.and@bk.ru> Date: Sun Jan 31 23:47:51 2021 +0300 Added changed for Linux building. commit a719f7297f0d867915bb14ed2fe9f785c4c25762 Author: astand <quater873@gmail.com> Date: Sun Jan 31 18:58:44 2021 +0300 Added fmon-source file generation. commit e634227dfe97a8e471425092bdf72848bb837bc5 Author: astand <quater873@gmail.com> Date: Sun Jan 31 18:37:08 2021 +0300 Added fmon-header file generation. commit 25ba5569bfecf329ecc80136599a32e11d6c543a Author: astand <quater873@gmail.com> Date: Sun Jan 31 17:46:19 2021 +0300 Source files filling moved to dedicated functions. commit d6b8c463815193e76467c93efda9cb89135e7d72 Author: astand <quater873@gmail.com> Date: Sun Jan 31 17:35:25 2021 +0300 Small refactoring. commit ba889648fc02f850495959dcf01b9c8ce64ee793 Author: astand <quater873@gmail.com> Date: Mon Jan 25 20:55:01 2021 +0300 Fixed comment style. CYC value bug. commit 950ed796cd13c803481baea28bfbd8ed89fee87b Author: astand <quater873@gmail.com> Date: Mon Jan 25 20:53:37 2021 +0300 Fixed warning on unused param (dlc) in Unpack function. commit bd87a48c33f60e379ee60f6139a9caba76407ed5 Author: astand <quater873@gmail.com> Date: Mon Jan 25 13:17:53 2021 +0300 Fixed generator formatting bugs. commit 22ea2f10c8fb54aef0f20a9a55481066f04274a2 Author: astand <quater873@gmail.com> Date: Mon Jan 25 13:17:35 2021 +0300 Fixed bug in sign of sigfloat type signal. commit 2cd8af4b76dd8f849c34b96a8cba4eab08fe4cfd Author: astand <quater873@gmail.com> Date: Mon Jan 25 11:32:02 2021 +0300 Added "*_phys" sigs and auto toS/fromS conversion. commit e95d50a2234498f3991730ab162d5754f7fc0363 Author: astand <quater873@gmail.com> Date: Mon Jan 25 11:31:15 2021 +0300 Fixed "fromS" macro - type cast must be skipped. commit d4e160358e660bdaef5f38f9be7639b84bd2be5a Author: astand <quater873@gmail.com> Date: Mon Jan 25 11:30:17 2021 +0300 Added more signal type class (3 classes for now). commit 11426ccccfdcdd392cf2e7543d389338957b9385 Author: astand <ast.and@bk.ru> Date: Thu Jan 21 21:53:17 2021 +0300 Added print toS and fromS macros. commit 3d57bbe344cf709bdc74a2ba7f6ee6381fe41bb9 Author: astand <ast.and@bk.ru> Date: Thu Jan 21 21:51:59 2021 +0300 Do not make signal conversation inside unpack function. commit b8ad3cb33871bdcfbc7cfbf28101895c33dbc958 Author: astand <ast.and@bk.ru> Date: Thu Jan 21 21:51:24 2021 +0300 Helpers added. commit 4c18e408a3eee02ac20b7589f33542cc95f8e964 Author: astand <ast.and@bk.ru> Date: Thu Jan 21 21:50:36 2021 +0300 Fixed minor issues. commit bdd40613fbe5690e09c0fede10680edf20afab13 Author: astand <ast.and@bk.ru> Date: Thu Jan 21 17:26:33 2021 +0300 Signal type detection refactored. commit 981b25ac8c2452349da7c188458f46b4c4058ac8 Author: astand <ast.and@bk.ru> Date: Thu Jan 21 11:49:30 2021 +0300 Added 2-Pack functions bodies. commit 155755087e8e276639e30c9a4836ea9a3202cfde Author: astand <ast.and@bk.ru> Date: Mon Jan 11 20:37:43 2021 +0300 Basic struct and unpack func in -c main source code. commit bf0ed04585d4dfe1f93be6e7c608f0762aea740e Author: astand <ast.and@bk.ru> Date: Mon Jan 11 20:10:42 2021 +0300 Fs creator keeps lowcase drvname in separated field. commit 246a2b9119abf970527a837db0f4d4bb3d4b9d43 Author: astand <ast.and@bk.ru> Date: Mon Jan 11 20:09:16 2021 +0300 Style format. commit 30edc79c7fb764d633ecffcf193ba95f600b8ef0 Author: astand <ast.and@bk.ru> Date: Mon Jan 11 20:08:53 2021 +0300 Renamed variable for clarificatin. commit c7ae93ea852f39104d806e3be9681b704a41e297 Author: astand <ast.and@bk.ru> Date: Mon Jan 11 20:08:30 2021 +0300 Fixed unpack sig format bug. commit ff267a4b6167f6dc248c2a930c7a13f18f0948af Author: astand <quater873@gmail.com> Date: Mon Jan 11 16:58:20 2021 +0300 PrintF refactored completely. commit b0856e0431146b749fab2eff6ca347c7e5980fe0 Author: astand <quater873@gmail.com> Date: Mon Jan 11 16:46:14 2021 +0300 Using fsd filelds for #ifdef selection. commit fc9663ac3afd5f56565ce6a5ee6c25c1bcfffb6b Author: astand <ast.and@bk.ru> Date: Sun Dec 13 01:08:31 2020 +0300 Added separated common attributes creator. commit 74b4b2d7c7caa54c953944e43be9c0fc0ba48ec4 Author: astand <ast.and@bk.ru> Date: Sat Dec 12 00:40:04 2020 +0300 Added printF optimization. commit 98c8eda0d5b503035dc2db40093ee1fd407ef427 Author: astand <ast.and@bk.ru> Date: Sat Dec 12 00:30:42 2020 +0300 Added Functions prototypes printing. commit c620841bb6820638ef8c00390a59049968e521b5 Author: astand <ast.and@bk.ru> Date: Fri Dec 11 23:54:15 2020 +0300 Added mon1 field if defined setting. commit 2a2ff62231a3c4a9fa752b915c0b010f6ca9a3b4 Author: astand <ast.and@bk.ru> Date: Mon Dec 7 12:58:05 2020 +0300 Added c++17 in project option. commit 14f7017aae61b43ab874deb15c53dc920b73a968 Author: astand <ast.and@bk.ru> Date: Mon Dec 7 12:57:33 2020 +0300 Added part of main .h file writer. Added filewriter. commit 7b1350081e939fe1d7d8927a27bfa7a533011cf6 Author: astand <ast.and@bk.ru> Date: Thu Nov 26 22:17:48 2020 +0300 Added minimal struct of main code generator. commit 26cf3f3212a19e813437e0df7119c8bf4a56bd0c Author: astand <ast.and@bk.ru> Date: Thu Nov 26 22:12:57 2020 +0300 SigPrinter minor refactoring. Income Msgs as const. commit 44e2db26f78396231001961d003a712db3a82b09 Author: astand <ast.and@bk.ru> Date: Thu Nov 26 14:45:56 2020 +0300 Added offset calculation in to_signal expression. commit 4915ed195f67c2b17469b64e44fb02b289e0760e Author: astand <ast.and@bk.ru> Date: Thu Nov 26 11:58:18 2020 +0300 Added core signals/message expression printer code. commit 45a85ac7c40e93a9f9dd6d46b6b34dfbdd2f2d7a Author: astand <ast.and@bk.ru> Date: Thu Nov 26 10:12:28 2020 +0300 Added sig-expression and sig-printer base code. commit 6350af48373f31af38ca37115fe6314668430372 Author: astand <ast.and@bk.ru> Date: Thu Nov 26 10:11:47 2020 +0300 Code dir migration. commit ab769a9824b7caaadf41cf076f41a0977a5a043d Author: astand <ast.and@bk.ru> Date: Sun Nov 22 22:30:17 2020 +0300 Added value table parsing. commit 7bd24c5e17175044edef7e26297705a927677767 Author: astand <ast.and@bk.ru> Date: Sat Nov 21 22:44:01 2020 +0300 Added basic dbcscanner core code. commit 8ceda7a4676cba47fd5b47b93edaffdcfad1d532 Author: astand <ast.and@bk.ru> Date: Thu May 4 20:13:15 2023 +0200 Release v1.10 Squashed commit of the following: commit 5d9a5a7b3c40a69d5c4396f58b0b665ff4c7a3f1 Author: astand <ast.and@bk.ru> Date: Mon Jan 24 11:37:19 2022 +0300 Changelog editing. commit d1993618192d1b8d9917e9ac40cd58d80965563b Author: astand <ast.and@bk.ru> Date: Mon Jan 17 21:50:24 2022 +0300 Added astyle bin and format script. commit 8526c87e65a4f334f871a4e688ef84d4a0bed582 Author: astand <ast.and@bk.ru> Date: Mon Jan 17 09:11:02 2022 +0300 Enhanced directory structure for generated files. commit ebe6786c08b88e7d33eca38c16e846f4d08883d7 Author: astand <ast.and@bk.ru> Date: Fri Dec 17 23:32:32 2021 +0300 Fixed extra line for ValTable parsed lines. commit f80fb2a7d1f3c92260454977fe896001ac5641c4 Author: Astakhov Andrey <quater873@gmail.com> Date: Tue Nov 9 21:50:22 2021 +0300 Update README.md commit 25eae4133962ba46fe24f740d3ff8836696a41f0 Author: Astakhov Andrey <quater873@gmail.com> Date: Tue Nov 9 14:45:37 2021 +0300 Update README.md commit 4e3f22f51ae3e49a31e3e8584f8ca6b2d909eaef Author: astand <ast.and@bk.ru> Date: Tue Nov 9 13:58:23 2021 +0300 Updated readme. commit 2938aa6d7db736d8bbc66f24119ba3d3cdadb13a Author: astand <ast.and@bk.ru> Date: Tue Nov 9 10:14:23 2021 +0300 Releases updated for v1.9. commit 3d3605f62c174165e34282346837f0ad0c43ba93 Author: astand <ast.and@bk.ru> Date: Tue Nov 9 09:43:55 2021 +0300 All sources processed by code style tool. commit 2f22c2e4b9c1cb985239fa3239385d11c5cb428b Author: astand <ast.and@bk.ru> Date: Tue Nov 9 09:40:12 2021 +0300 Fixed: closing comment in -config.h, minor code style. commit 3b6b7bcfd2f1d58c3c3de44846678bebb2757b4a Author: astand <ast.and@bk.ru> Date: Mon Nov 1 22:14:28 2021 +0300 Release updated for v1.8. commit 906b274f654cb463f9e9e70bed76293e1b516038 Author: astand <ast.and@bk.ru> Date: Mon Oct 25 20:58:58 2021 +0300 Fixed wrong way of rewriting CSM signal. commit 48556b35a6d302afeb38c1bcc86ec034bbc5bb6e Author: astand <ast.and@bk.ru> Date: Sun Oct 10 21:35:48 2021 +0300 Releases updated for v1.7. commit c5bbd7fca998352ccb9b86a107abbb6fc3b6165e Author: astand <ast.and@bk.ru> Date: Sun Oct 10 21:32:55 2021 +0300 Added suppot for multi Transmiters. commit 02d1e28b40b43a7b9356e237ccccec7f12612d4b Author: astand <ast.and@bk.ru> Date: Sun Oct 10 21:31:36 2021 +0300 Fixed potential bug. Missing node adding on RecS item matching. commit 9af49b087ec18bf0e27619b7cad915945b002e5a Author: astand <ast.and@bk.ru> Date: Sun Oct 10 21:30:01 2021 +0300 Changes on style guide. commit a2c0079bffe9b4331bed929054b4e7c2781e1ae7 Author: astand <ast.and@bk.ru> Date: Thu Sep 9 22:50:54 2021 +0300 Releases updated for v1.6. commit f918d0163e8417fefa8a026ab3a08885b948af8a Author: astand <ast.and@bk.ru> Date: Thu Sep 9 22:45:43 2021 +0300 Fixed issue with 1 frame in RX struct. commit 6439bccdb82f8026f5d62fc9a9aac73bfbaebdf7 Author: astand <ast.and@bk.ru> Date: Wed Sep 8 23:19:21 2021 +0300 Added optional binutil generation for each node in DBC. commit 6481e7e3213fccb5213f7873ae10a3f300272805 Author: astand <ast.and@bk.ru> Date: Thu Aug 26 23:38:09 2021 +0300 Fixed some issues. commit 75f0193ac80e9ee1f0478bc094c019cba32e4522 Author: astand <quater873@gmail.com> Date: Tue Jul 13 21:56:13 2021 +0300 Removed test info. Edited README.md. commit ff67c1fc9d0ed8213675ee98bbde67aa83133419 Author: astand <ast.and@bk.ru> Date: Sun Jul 11 22:07:48 2021 +0300 Hotfixed README layout. commit 002c86b8759733631cb9946bbfbaeed5d2064d4f Author: astand <ast.and@bk.ru> Date: Sun Jul 11 22:04:23 2021 +0300 v1.3 commit 2ba501e3493097f673bcb07bacd8b1c7a2693b79 Author: astand <ast.and@bk.ru> Date: Sun Jul 11 22:04:10 2021 +0300 Added template file generation. Refactored config comment text. commit f604b883c07b43573d10499701e52dec7b6fd600 Author: astand <ast.and@bk.ru> Date: Sun Jul 11 17:59:17 2021 +0300 Readme updated. commit e7a4cab503c69684d5b800ccab0cecfff70a9f37 Author: astand <ast.and@bk.ru> Date: Sun Jul 11 13:19:53 2021 +0300 v1.2 commit 0ad29f6a55916b0a10c262c21f40aa2eaf84506e Author: astand <ast.and@bk.ru> Date: Sun Jul 11 13:19:39 2021 +0300 Added LICENSE and README. commit 0628848deae72fb9a656018843073ea57d2b9389 Author: astand <ast.and@bk.ru> Date: Sun Jul 11 13:18:20 2021 +0300 Improved help message text. commit 64745a172900f95c330ad60a4f1808f543213a05 Author: astand <ast.and@bk.ru> Date: Sun Jul 11 12:20:54 2021 +0300 Application executable name changed - coderdbc. commit 3376c580b8168c7f13f9287087eb53dfde884894 Author: astand <ast.and@bk.ru> Date: Sat Jul 10 17:10:18 2021 +0300 Fixed type casting warning. commit 84601a99676f947f842ba0968a8ec0ea0d36f2d1 Author: astand <ast.and@bk.ru> Date: Sat Jul 10 17:05:18 2021 +0300 Removed useless files and settings. commit 359da554595212aad4b8c9ca883e9f9c5317fdbe Author: astand <ast.and@bk.ru> Date: Sat Jul 10 15:41:38 2021 +0300 Added help message. commit eca35e01304bdd5cf309164b1a119312efcbac96 Author: astand <ast.and@bk.ru> Date: Sat Jul 10 15:22:25 2021 +0300 Project became executable (CLI). commit 1d168d9e2621475b2a8a4d55bcd31c6ca6502d02 Author: astand <ast.and@bk.ru> Date: Sat Jul 10 15:21:30 2021 +0300 Added option for rewriting source output files. commit 8456d4c243f25234426e1a5dc04866ac38ae15e8 Author: astand <ast.and@bk.ru> Date: Sat Jul 10 15:20:45 2021 +0300 Fixed windows related issues. commit 776a05a9465f84451c4657e5b614831d4748cbf0 Author: astand <ast.and@bk.ru> Date: Sat May 15 12:59:49 2021 +0300 Added DBC version info parsing. commit e06f777de2bb4fe2252a8bfeb25778456eebe21e Author: astand <ast.and@bk.ru> Date: Sun Apr 4 13:40:01 2021 +0300 Added start info as user defined text. commit 12c735fb2238d72547de3bb772564802baeef155 Author: astand <ast.and@bk.ru> Date: Thu Apr 1 20:13:05 2021 +0300 Fixed value table first pair skipping. commit 1ff121bb1f5cb3ae60ec5e7e6c3a07876c116408 Author: astand <ast.and@bk.ru> Date: Tue Mar 30 21:38:02 2021 +0300 Fixed GetFrameHash call syntax. commit abfcc41eeb6ca76b5e0cbb8ab94a7095d31ba0d4 Author: astand <ast.and@bk.ru> Date: Sat Mar 27 14:17:25 2021 +0300 True fix issue with big comment section. commit b714eb0a2ba33d69f382ae803796f0cf29c7064d Author: astand <ast.and@bk.ru> Date: Sun Mar 14 22:50:22 2021 +0300 Fixed issue with big comment and localization. commit 2ccb121d67659536c22cbcc5a56c179a743b55a1 Author: astand <ast.and@bk.ru> Date: Sat Mar 6 19:10:51 2021 +0300 Fixed macros for *_phys <-> *_ro signal conversion. commit d15afe698a0603ac2c9b761328b353620f29e614 Author: astand <ast.and@bk.ru> Date: Thu Mar 4 13:08:48 2021 +0300 Updated comment text in drv_conf.h file. commit b5a687b23e257b92a2e397cc3de780760d97fbe0 Author: astand <ast.and@bk.ru> Date: Thu Mar 4 13:08:31 2021 +0300 Fixed integer x = ***_toS(x) issue. Added postfix *_ro to non simple signals. commit 43730ed8d9cb9028097b38504b847aee9ba666a4 Author: astand <ast.and@bk.ru> Date: Thu Mar 4 12:33:20 2021 +0300 Changed comments in gen code. commit 1e837ce27539afdf3e0c448b09cdce3fbbdd3d93 Author: astand <ast.and@bk.ru> Date: Thu Mar 4 12:32:55 2021 +0300 Fixed issue when DLC is less then actual Message layout takes. commit b67759bdceac636c2c6f025752efe4ab82e812ee Author: astand <ast.and@bk.ru> Date: Sun Feb 28 16:03:41 2021 +0300 GetSystemTick func name. commit ab5ccece612f3d268319a83e742b580fad728162 Author: astand <ast.and@bk.ru> Date: Thu Feb 18 22:19:48 2021 +0300 Fixed grammar errors. commit 0cc9b3efe9c8a84b0bb1db587c4129517241ef45 Author: astand <ast.and@bk.ru> Date: Wed Feb 17 14:46:17 2021 +0300 Removed cmake dir. commit 60abfecff28f543f112bc7c9147ec5da2d436a44 Author: astand <ast.and@bk.ru> Date: Wed Feb 17 14:13:04 2021 +0300 Added template ***-config.h generation. commit cf4ac280374412c49ab25eb833d17e19c73e528a Author: astand <ast.and@bk.ru> Date: Wed Feb 17 11:56:42 2021 +0300 Simple support for multiplexed signals. commit b952fab0bdcc5a0fe43966c41b7527b4a4b12013 Author: astand <ast.and@bk.ru> Date: Wed Feb 17 10:48:37 2021 +0300 Fixed issue with comment text for message. commit 051df8e991963cf9a17f9c17220eb0ce55056663 Author: astand <ast.and@bk.ru> Date: Wed Feb 17 10:48:17 2021 +0300 Fixed value table code printing issue. commit c369336ceb9245dbf7d5f4e2d51a24412bb0b951 Author: astand <ast.and@bk.ru> Date: Wed Feb 17 10:38:43 2021 +0300 resplit has more param - type of pslit strategy. (was only NOT matched). commit b3af67692da39be0390a63bbcd384dd6bced2612 Author: astand <ast.and@bk.ru> Date: Sun Feb 14 00:18:39 2021 +0300 Added cmake building. commit 4fd51160d2efee074d933c04ec66411cc2e280b3 Author: astand <ast.and@bk.ru> Date: Sat Feb 13 23:48:24 2021 +0300 Added util source print. commit c0bc4b1d9d2af99df4a33b67185a6dc4092a71ac Author: astand <ast.and@bk.ru> Date: Wed Feb 10 20:01:58 2021 +0300 Fixed minor issues (warnings). commit 147994ab107874598eda6b5b9db3e2f94fe5fa48 Author: astand <ast.and@bk.ru> Date: Wed Feb 10 19:50:20 2021 +0300 Removed unused code. commit 00748b35f8d7c1a5656c5670e79d3bd55510f8b3 Author: astand <ast.and@bk.ru> Date: Wed Feb 10 19:48:11 2021 +0300 Added util header print. Some additional improvements. commit ad787bc79ca98ee313a2381cfcfb1dc717e7228e Author: astand <ast.and@bk.ru> Date: Wed Feb 10 12:14:09 2021 +0300 Added first variant of util generator. commit bc72a4f09daa3b2ec9f010a613d64c5b94adfe94 Author: astand <ast.and@bk.ru> Date: Wed Feb 10 10:18:36 2021 +0300 Formatter function for printf. commit 9e400dbfa15194d17ba77decb2849c7854cfd7ee Author: astand <ast.and@bk.ru> Date: Sun Feb 7 17:49:35 2021 +0300 On ubuntu getline puts (or shows) '\r' at the end of line. commit 9cd30495ff1e19666e3a43b1aac42a5bf0965c8b Author: astand <ast.and@bk.ru> Date: Sun Feb 7 17:48:36 2021 +0300 Fixed some issues. commit 79fc48e7334ad79c0ba8173ddaec4109a36e1b69 Author: astand <ast.and@bk.ru> Date: Sun Feb 7 16:41:05 2021 +0300 Fixed comment printing. commit 0947ebf6eb5a77d7f0869307c984cb7a9b7653e3 Author: astand <ast.and@bk.ru> Date: Sat Feb 6 14:50:38 2021 +0300 Added CSM calc and pack in both Pack functions. commit 6798987a6054bec586c327cef470ac9927a0d2fb Author: astand <ast.and@bk.ru> Date: Wed Feb 3 18:53:47 2021 +0300 Added CSM check in unpack function. commit e56d43c7430be29c828c423b54336cc858bc91ca Author: astand <ast.and@bk.ru> Date: Wed Feb 3 18:41:18 2021 +0300 Added Checksum signal detection. commit a7d6cf053f2516c2a2a63bd806a063c8ab8cda36 Author: astand <ast.and@bk.ru> Date: Wed Feb 3 17:01:54 2021 +0300 Common refactoring and bug fix (field width). commit d7fdcafbd321f5fe38fce92796352b36acff6652 Author: astand <ast.and@bk.ru> Date: Wed Feb 3 16:59:49 2021 +0300 Added auto rolling handling code. commit 362a4d1a16d9cd515e1b70cdffcd8bf58b7abe64 Author: astand <ast.and@bk.ru> Date: Wed Feb 3 16:57:30 2021 +0300 Removed empty phys macro in pack functions. commit 69e9687292e8e15b6dd52142aa06eccae5584e20 Author: astand <ast.and@bk.ru> Date: Sun Jan 31 23:47:51 2021 +0300 Added changed for Linux building. commit a719f7297f0d867915bb14ed2fe9f785c4c25762 Author: astand <quater873@gmail.com> Date: Sun Jan 31 18:58:44 2021 +0300 Added fmon-source file generation. commit e634227dfe97a8e471425092bdf72848bb837bc5 Author: astand <quater873@gmail.com> Date: Sun Jan 31 18:37:08 2021 +0300 Added fmon-header file generation. commit 25ba5569bfecf329ecc80136599a32e11d6c543a Author: astand <quater873@gmail.com> Date: Sun Jan 31 17:46:19 2021 +0300 Source files filling moved to dedicated functions. commit d6b8c463815193e76467c93efda9cb89135e7d72 Author: astand <quater873@gmail.com> Date: Sun Jan 31 17:35:25 2021 +0300 Small refactoring. commit ba889648fc02f850495959dcf01b9c8ce64ee793 Author: astand <quater873@gmail.com> Date: Mon Jan 25 20:55:01 2021 +0300 Fixed comment style. CYC value bug. commit 950ed796cd13c803481baea28bfbd8ed89fee87b Author: astand <quater873@gmail.com> Date: Mon Jan 25 20:53:37 2021 +0300 Fixed warning on unused param (dlc) in Unpack function. commit bd87a48c33f60e379ee60f6139a9caba76407ed5 Author: astand <quater873@gmail.com> Date: Mon Jan 25 13:17:53 2021 +0300 Fixed generator formatting bugs. commit 22ea2f10c8fb54aef0f20a9a55481066f04274a2 Author: astand <quater873@gmail.com> Date: Mon Jan 25 13:17:35 2021 +0300 Fixed bug in sign of sigfloat type signal. commit 2cd8af4b76dd8f849c34b96a8cba4eab08fe4cfd Author: astand <quater873@gmail.com> Date: Mon Jan 25 11:32:02 2021 +0300 Added "*_phys" sigs and auto toS/fromS conversion. commit e95d50a2234498f3991730ab162d5754f7fc0363 Author: astand <quater873@gmail.com> Date: Mon Jan 25 11:31:15 2021 +0300 Fixed "fromS" macro - type cast must be skipped. commit d4e160358e660bdaef5f38f9be7639b84bd2be5a Author: astand <quater873@gmail.com> Date: Mon Jan 25 11:30:17 2021 +0300 Added more signal type class (3 classes for now). commit 11426ccccfdcdd392cf2e7543d389338957b9385 Author: astand <ast.and@bk.ru> Date: Thu Jan 21 21:53:17 2021 +0300 Added print toS and fromS macros. commit 3d57bbe344cf709bdc74a2ba7f6ee6381fe41bb9 Author: astand <ast.and@bk.ru> Date: Thu Jan 21 21:51:59 2021 +0300 Do not make signal conversation inside unpack function. commit b8ad3cb33871bdcfbc7cfbf28101895c33dbc958 Author: astand <ast.and@bk.ru> Date: Thu Jan 21 21:51:24 2021 +0300 Helpers added. commit 4c18e408a3eee02ac20b7589f33542cc95f8e964 Author: astand <ast.and@bk.ru> Date: Thu Jan 21 21:50:36 2021 +0300 Fixed minor issues. commit bdd40613fbe5690e09c0fede10680edf20afab13 Author: astand <ast.and@bk.ru> Date: Thu Jan 21 17:26:33 2021 +0300 Signal type detection refactored. commit 981b25ac8c2452349da7c188458f46b4c4058ac8 Author: astand <ast.and@bk.ru> Date: Thu Jan 21 11:49:30 2021 +0300 Added 2-Pack functions bodies. commit 155755087e8e276639e30c9a4836ea9a3202cfde Author: astand <ast.and@bk.ru> Date: Mon Jan 11 20:37:43 2021 +0300 Basic struct and unpack func in -c main source code. commit bf0ed04585d4dfe1f93be6e7c608f0762aea740e Author: astand <ast.and@bk.ru> Date: Mon Jan 11 20:10:42 2021 +0300 Fs creator keeps lowcase drvname in separated field. commit 246a2b9119abf970527a837db0f4d4bb3d4b9d43 Author: astand <ast.and@bk.ru> Date: Mon Jan 11 20:09:16 2021 +0300 Style format. commit 30edc79c7fb764d633ecffcf193ba95f600b8ef0 Author: astand <ast.and@bk.ru> Date: Mon Jan 11 20:08:53 2021 +0300 Renamed variable for clarificatin. commit c7ae93ea852f39104d806e3be9681b704a41e297 Author: astand <ast.and@bk.ru> Date: Mon Jan 11 20:08:30 2021 +0300 Fixed unpack sig format bug. commit ff267a4b6167f6dc248c2a930c7a13f18f0948af Author: astand <quater873@gmail.com> Date: Mon Jan 11 16:58:20 2021 +0300 PrintF refactored completely. commit b0856e0431146b749fab2eff6ca347c7e5980fe0 Author: astand <quater873@gmail.com> Date: Mon Jan 11 16:46:14 2021 +0300 Using fsd filelds for #ifdef selection. commit fc9663ac3afd5f56565ce6a5ee6c25c1bcfffb6b Author: astand <ast.and@bk.ru> Date: Sun Dec 13 01:08:31 2020 +0300 Added separated common attributes creator. commit 74b4b2d7c7caa54c953944e43be9c0fc0ba48ec4 Author: astand <ast.and@bk.ru> Date: Sat Dec 12 00:40:04 2020 +0300 Added printF optimization. commit 98c8eda0d5b503035dc2db40093ee1fd407ef427 Author: astand <ast.and@bk.ru> Date: Sat Dec 12 00:30:42 2020 +0300 Added Functions prototypes printing. commit c620841bb6820638ef8c00390a59049968e521b5 Author: astand <ast.and@bk.ru> Date: Fri Dec 11 23:54:15 2020 +0300 Added mon1 field if defined setting. commit 2a2ff62231a3c4a9fa752b915c0b010f6ca9a3b4 Author: astand <ast.and@bk.ru> Date: Mon Dec 7 12:58:05 2020 +0300 Added c++17 in project option. commit 14f7017aae61b43ab874deb15c53dc920b73a968 Author: astand <ast.and@bk.ru> Date: Mon Dec 7 12:57:33 2020 +0300 Added part of main .h file writer. Added filewriter. commit 7b1350081e939fe1d7d8927a27bfa7a533011cf6 Author: astand <ast.and@bk.ru> Date: Thu Nov 26 22:17:48 2020 +0300 Added minimal struct of main code generator. commit 26cf3f3212a19e813437e0df7119c8bf4a56bd0c Author: astand <ast.and@bk.ru> Date: Thu Nov 26 22:12:57 2020 +0300 SigPrinter minor refactoring. Income Msgs as const. commit 44e2db26f78396231001961d003a712db3a82b09 Author: astand <ast.and@bk.ru> Date: Thu Nov 26 14:45:56 2020 +0300 Added offset calculation in to_signal expression. commit 4915ed195f67c2b17469b64e44fb02b289e0760e Author: astand <ast.and@bk.ru> Date: Thu Nov 26 11:58:18 2020 +0300 Added core signals/message expression printer code. commit 45a85ac7c40e93a9f9dd6d46b6b34dfbdd2f2d7a Author: astand <ast.and@bk.ru> Date: Thu Nov 26 10:12:28 2020 +0300 Added sig-expression and sig-printer base code. commit 6350af48373f31af38ca37115fe6314668430372 Author: astand <ast.and@bk.ru> Date: Thu Nov 26 10:11:47 2020 +0300 Code dir migration. commit ab769a9824b7caaadf41cf076f41a0977a5a043d Author: astand <ast.and@bk.ru> Date: Sun Nov 22 22:30:17 2020 +0300 Added value table parsing. commit 7bd24c5e17175044edef7e26297705a927677767 Author: astand <ast.and@bk.ru> Date: Sat Nov 21 22:44:01 2020 +0300 Added basic dbcscanner core code. commit 5408bfe97e703bd65a2a90422039b91b5f74f830 Author: astand <ast.and@bk.ru> Date: Thu May 4 20:12:53 2023 +0200 Release v1.9 Squashed commit of the following: commit 2938aa6d7db736d8bbc66f24119ba3d3cdadb13a Author: astand <ast.and@bk.ru> Date: Tue Nov 9 10:14:23 2021 +0300 Releases updated for v1.9. commit 3d3605f62c174165e34282346837f0ad0c43ba93 Author: astand <ast.and@bk.ru> Date: Tue Nov 9 09:43:55 2021 +0300 All sources processed by code style tool. commit 2f22c2e4b9c1cb985239fa3239385d11c5cb428b Author: astand <ast.and@bk.ru> Date: Tue Nov 9 09:40:12 2021 +0300 Fixed: closing comment in -config.h, minor code style. commit 3b6b7bcfd2f1d58c3c3de44846678bebb2757b4a Author: astand <ast.and@bk.ru> Date: Mon Nov 1 22:14:28 2021 +0300 Release updated for v1.8. commit 906b274f654cb463f9e9e70bed76293e1b516038 Author: astand <ast.and@bk.ru> Date: Mon Oct 25 20:58:58 2021 +0300 Fixed wrong way of rewriting CSM signal. commit 48556b35a6d302afeb38c1bcc86ec034bbc5bb6e Author: astand <ast.and@bk.ru> Date: Sun Oct 10 21:35:48 2021 +0300 Releases updated for v1.7. commit c5bbd7fca998352ccb9b86a107abbb6fc3b6165e Author: astand <ast.and@bk.ru> Date: Sun Oct 10 21:32:55 2021 +0300 Added suppot for multi Transmiters. commit 02d1e28b40b43a7b9356e237ccccec7f12612d4b Author: astand <ast.and@bk.ru> Date: Sun Oct 10 21:31:36 2021 +0300 Fixed potential bug. Missing node adding on RecS item matching. commit 9af49b087ec18bf0e27619b7cad915945b002e5a Author: astand <ast.and@bk.ru> Date: Sun Oct 10 21:30:01 2021 +0300 Changes on style guide. commit a2c0079bffe9b4331bed929054b4e7c2781e1ae7 Author: astand <ast.and@bk.ru> Date: Thu Sep 9 22:50:54 2021 +0300 Releases updated for v1.6. commit f918d0163e8417fefa8a026ab3a08885b948af8a Author: astand <ast.and@bk.ru> Date: Thu Sep 9 22:45:43 2021 +0300 Fixed issue with 1 frame in RX struct. commit 6439bccdb82f8026f5d62fc9a9aac73bfbaebdf7 Author: astand <ast.and@bk.ru> Date: Wed Sep 8 23:19:21 2021 +0300 Added optional binutil generation for each node in DBC. commit 6481e7e3213fccb5213f7873ae10a3f300272805 Author: astand <ast.and@bk.ru> Date: Thu Aug 26 23:38:09 2021 +0300 Fixed some issues. commit 75f0193ac80e9ee1f0478bc094c019cba32e4522 Author: astand <quater873@gmail.com> Date: Tue Jul 13 21:56:13 2021 +0300 Removed test info. Edited README.md. commit ff67c1fc9d0ed8213675ee98bbde67aa83133419 Author: astand <ast.and@bk.ru> Date: Sun Jul 11 22:07:48 2021 +0300 Hotfixed README layout. commit 002c86b8759733631cb9946bbfbaeed5d2064d4f Author: astand <ast.and@bk.ru> Date: Sun Jul 11 22:04:23 2021 +0300 v1.3 commit 2ba501e3493097f673bcb07bacd8b1c7a2693b79 Author: astand <ast.and@bk.ru> Date: Sun Jul 11 22:04:10 2021 +0300 Added template file generation. Refactored config comment text. commit f604b883c07b43573d10499701e52dec7b6fd600 Author: astand <ast.and@bk.ru> Date: Sun Jul 11 17:59:17 2021 +0300 Readme updated. commit e7a4cab503c69684d5b800ccab0cecfff70a9f37 Author: astand <ast.and@bk.ru> Date: Sun Jul 11 13:19:53 2021 +0300 v1.2 commit 0ad29f6a55916b0a10c262c21f40aa2eaf84506e Author: astand <ast.and@bk.ru> Date: Sun Jul 11 13:19:39 2021 +0300 Added LICENSE and README. commit 0628848deae72fb9a656018843073ea57d2b9389 Aut…
1 parent 33bc945 commit 3976305

File tree

6 files changed

+110
-83
lines changed

6 files changed

+110
-83
lines changed

docs/RELEASES.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
# Changelog
22

33

4+
## v2.1 2022-02-19
5+
6+
### Fixed
7+
- Some times incorrect _ro and _phys type deduction
8+
9+
### Added
10+
- Sign extension for signal which have signed type ([@2Black2](https://github.com/2Black2))
11+
12+
---
13+
414
## v2.0 2022-02-02
515

616
### Added

src/codegen/c-main-generator.cpp

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,19 @@
1111

1212
#include "c-main-generator.h"
1313

14+
const char* ext_sig_func_name = "__ext_sig__";
15+
16+
const char* extend_func_body =
17+
"// To compile this function you need to typedef 'bitext_t' and 'ubitext_t'\n"
18+
"// globally in @dbccodeconf.h or locally in 'dbcdrvname'-config.h\n"
19+
"// Type selection may affect common performance. Most useful types are:\n"
20+
"// bitext_t : int64_t and ubitext_t : uint64_t\n"
21+
"static bitext_t %s( ubitext_t val, uint8_t bits )\n"
22+
"{\n"
23+
" ubitext_t const m = 1u << (bits - 1);\n"
24+
" return (val ^ m) - m;\n"
25+
"}\n";
26+
1427
CiMainGenerator::CiMainGenerator()
1528
{
1629
sigprt = new CSigPrinter;
@@ -237,6 +250,8 @@ void CiMainGenerator::Gen_MainSource()
237250

238251
fwriter->AppendLine(StrPrint("#endif // %s", fdesc->usemon_def.c_str()), 3);
239252

253+
fwriter->AppendLine(StrPrint(extend_func_body, ext_sig_func_name), 1);
254+
240255
// for each message 3 functions must be defined - 1 unpack function,
241256
// 2: pack with raw signature
242257
// 3: pack with canstruct
@@ -581,7 +596,7 @@ void CiMainGenerator::WriteSigStructField(const SignalDescriptor_t& sig, bool bi
581596

582597
std::string dtype = "";
583598

584-
dtype += " " + PrintType((int)sig.Type) + " " + sig.Name;
599+
dtype += " " + PrintType((int)sig.TypeRo) + " " + sig.Name;
585600

586601
if (bits && (sig.LengthBit < 8))
587602
{
@@ -656,7 +671,7 @@ void CiMainGenerator::WriteSigStructField(const SignalDescriptor_t& sig, bool bi
656671
}
657672
else
658673
{
659-
fwriter->AppendLine(StrPrint(" %s %s;", PrintType((int)sig.Type).c_str(), sig.NameFloat.c_str()));
674+
fwriter->AppendLine(StrPrint(" %s %s;", PrintType((int)sig.TypePhys).c_str(), sig.NameFloat.c_str()));
660675
}
661676

662677
fwriter->AppendLine(StrPrint("#endif // %s", fdesc->usesigfloat_def.c_str()), 2);
@@ -672,7 +687,15 @@ void CiMainGenerator::WriteUnpackBody(const CiExpr_t* sgs)
672687
// for code shortening
673688
const char* sname = sgs->msg.Signals[num].Name.c_str();
674689

675-
fwriter->AppendLine(StrPrint(" _m->%s = %s;", sname, expr.c_str()));
690+
if (sgs->msg.Signals[num].Signed)
691+
{
692+
fwriter->AppendLine(StrPrint(" _m->%s = %s(( %s ), %d);",
693+
sname, ext_sig_func_name, expr.c_str(), (int32_t)sgs->msg.Signals[num].LengthBit));
694+
}
695+
else
696+
{
697+
fwriter->AppendLine(StrPrint(" _m->%s = %s;", sname, expr.c_str()));
698+
}
676699

677700
// print sigfloat conversion
678701
if (!sgs->msg.Signals[num].IsSimpleSig)

src/codegen/c-sigprinter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ std::string CSigPrinter::PrintPhysicalToRaw(const SignalDescriptor_t* sig, const
6565
}
6666

6767
retstr += StrPrint("#define %s_%s_toS(x) ( (%s) ", drvname.c_str(), sig->Name.c_str(),
68-
PrintType((uint8_t)sig->Type).c_str());
68+
PrintType((uint8_t)sig->TypeRo).c_str());
6969

7070
if (sig->IsDoubleSig)
7171
{

src/codegen/version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
#include <stdint.h>
44

55
#define CODEGEN_LIB_VERSION_MAJ (2)
6-
#define CODEGEN_LIB_VERSION_MIN (0)
6+
#define CODEGEN_LIB_VERSION_MIN (1)

src/parser/dbclineparser.cpp

Lines changed: 68 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ bool DbcLineParser::ParseSignalLine(SignalDescriptor_t* sig, const std::string&
262262
// value_type = '+' | '-'; (*+= unsigned, -=signed*)
263263
sig->Signed = (valpart[2].find('-') == std::string::npos) ? 0 : 1;
264264

265-
sig->Type = GetSigType(sig);
265+
GetSigType(sig);
266266

267267
// mark all simple signals to make using them easier
268268
if (!sig->IsDoubleSig && (sig->Factor == 1) && (sig->Offset == 0))
@@ -312,109 +312,101 @@ SigType DbcLineParser::GetSigType(SignalDescriptor_t* sig)
312312

313313
uint64_t max_v = 0;
314314

315-
if (!sig->IsDoubleSig)
315+
// 1 step is to detect type of _ro
316+
int64_t max_abs, min_abs;
317+
318+
int64_t addon = 0;
319+
320+
if (sig->Signed)
316321
{
317-
int64_t i_offset = (int64_t)sig->Offset;
318-
int64_t i_factor = (int64_t)sig->Factor;
322+
addon = 1;
323+
max_abs = static_cast<int64_t>((std::pow(2, sig->LengthBit - 1) - 1));
324+
min_abs = (max_abs + 1) * -1;
319325

320-
// for this case physical value needs to be allowed to
321-
// fit inside field type
322-
if (sig->Signed)
326+
for (size_t i = 0; i < 4; i++)
323327
{
324-
// physical_value = raw_value * factor + offset
325-
// 1 get the max value for the positive part
326-
max_v = (uint64_t)(std::pow(2, sig->LengthBit - 1));
327-
// 2 scale to max value
328-
max_v *= i_factor;
329-
330-
// 3 add offset
331-
// factor affects on difference between min and max values
332-
// abs(max_neg)-(max_pos) = sig->Factor;
333-
// so if offset == Factor
334-
if (sig->Offset > (int32_t)(sig->Factor - 1))
335-
{
336-
// positive value less then
337-
max_v = (max_v + i_offset - ((int64_t)sig->Factor));
338-
}
339-
else
328+
sig->TypeRo = (SigType)(i);
329+
330+
if (max_abs <= __maxsignedvals[i])
340331
{
341-
max_v = (max_v - i_offset) - 1;
332+
break;
342333
}
334+
}
335+
}
336+
else
337+
{
338+
max_abs = static_cast<int64_t>((std::pow(2, sig->LengthBit) - 1));
339+
min_abs = 0;
343340

344-
for (uint8_t i = 0; i < 4; i++)
341+
for (size_t i = 0; i < 4; i++)
342+
{
343+
sig->TypeRo = (SigType)(i + 4);
344+
345+
if (max_abs <= __maxunsigvalues[i])
345346
{
346-
if (max_v <= (__maxsignedvals[i]))
347-
{
348-
ret = (SigType)(i + (is_unsigned * 4));
349-
break;
350-
}
347+
break;
351348
}
352349
}
353-
else
354-
{
355-
is_unsigned = 1;
350+
}
356351

357-
max_v = (uint64_t)(std::pow(2, sig->LengthBit)) - 1;
352+
if (sig->IsSimpleSig)
353+
{
354+
// the most simple case, TypePhys is the same as TypeRo
355+
sig->TypePhys = sig->TypeRo;
356+
}
358357

359-
max_v *= (int32_t)sig->Factor;
358+
else if (sig->IsDoubleSig == false)
359+
{
360+
int64_t i_offset = (int64_t)sig->Offset;
361+
int64_t i_factor = (int64_t)sig->Factor;
360362

361-
if (sig->Offset >= 0)
363+
// get max and min values with applied factor and offset (physical values)
364+
max_abs = max_abs * i_factor + i_offset;
365+
min_abs = min_abs * i_factor + i_offset;
366+
367+
if (sig->Signed || max_abs < 0 || min_abs < 0)
368+
{
369+
// phys value must be signed
370+
uint64_t max_v = std::abs(max_abs);
371+
uint64_t addon = 0;
372+
373+
if ((max_v + 1) < std::abs(min_abs))
362374
{
363-
// when offset positive the max physical value is got just
364-
// adding roffset value
365-
max_v += roffset;
375+
// low part is main
376+
addon = 1;
377+
max_v = std::abs(min_abs);
366378
}
367-
else
379+
380+
for (size_t i = 0; i < 4; i++)
368381
{
369-
is_unsigned = 0;
370-
// this code must determmine which part of range is larger - positive or negative
371-
// the largest part will define which sig type will be used for signal
372-
// roffset here - negative value
373-
374-
// max positive value fot the LenBits if it would have signed type
375-
uint64_t maxpos = (uint64_t)(std::pow(2, sig->LengthBit) - 1);
376-
// max negative value
377-
uint64_t maxneg = (uint64_t)(std::abs(roffset));
378-
379-
max_v = std::max(maxpos, maxneg);
380-
// mul 2 for using unsinged compare levels (int8_t (127) like uint8_t (255))
381-
max_v *= 2;
382-
}
382+
sig->TypePhys = (SigType)(i);
383383

384+
if (max_v <= __maxsignedvals[i] + addon)
385+
{
386+
break;
387+
}
388+
}
389+
}
390+
else
391+
{
392+
// phys value must be unsigned
384393
for (uint8_t i = 0; i < 4; i++)
385394
{
386-
if (max_v <= (__maxunsigvalues[i]))
395+
if ((uint64_t)max_abs <= __maxunsigvalues[i])
387396
{
388-
ret = (SigType)(i + (is_unsigned * 4));
397+
sig->TypePhys = (SigType)(i + 4);
389398
break;
390399
}
391400
}
392401
}
393402
}
394403
else
395404
{
396-
// this type definition is simple (without
397-
// additional type-expanded operations inside
398-
// main driver, so to determine type simple
399-
// operations is needed
400-
max_v = (uint64_t)(std::pow(2, sig->LengthBit) - 1);
401-
402-
if (!sig->Signed)
403-
{
404-
is_unsigned = 1;
405-
}
406-
407-
for (uint8_t i = 0; i < 4; i++)
408-
{
409-
if (max_v <= __maxunsigvalues[i])
410-
{
411-
ret = (SigType)(i + (is_unsigned * 4));
412-
break;
413-
}
414-
}
405+
// in this case TypePhys will be (sigfloat_t), so
406+
// there is no necessity to determine physical signal type
415407
}
416408

417-
return ret;
409+
return sig->TypeRo;
418410
}
419411

420412
bool DbcLineParser::ParseCommentLine(Comment_t* cm, const std::string& line)

src/types/message.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ typedef struct
5858

5959
// this flag shows if the signal has factor = 1 and offset = 0
6060
// to reject any sigfloat or "toS"/"fromS" operations
61-
// this only when : IsDoubleSig == true || ((s.Factor != 1) || (s.Offset != 0)
61+
// SimpleSig is true when: IsDoubleSig == false && Factor == 1 && Offset == 0
6262
bool IsSimpleSig;
6363

6464
double Factor;
@@ -71,7 +71,9 @@ typedef struct
7171

7272
bool Signed;
7373

74-
SigType Type;
74+
SigType TypeRo;
75+
76+
SigType TypePhys;
7577

7678
std::vector<std::string> SigToByte;
7779

0 commit comments

Comments
 (0)