Commit Graph

598 Commits

Author SHA1 Message Date
Matthew Kennedy a3c569e5f0
TS parser improvements, compatibility (#3479)
* scalar layout

* wrong name in comments

* better compatibility for tooltips starting with + or not

* s

* sort of handle signature

* only strip nested

* new parse can mostly read signature

* oops

* jar

* jar
2021-11-06 18:17:03 -04:00
Matthew Kennedy a38b3f00c3
Remove array typedef syntax (#3477)
* remove array typedef support completely

* extraneous semicolon

* binary
2021-11-06 09:12:43 -04:00
Scott Smith 16378dcf59
Convert existing tables to use the simpler 3d table definition style in rusefi_config.txt (#3473)
This fixes #3465.
2021-11-05 21:55:33 -04:00
Scott Smith eb781f38b4
Determine the correct mul/div for autoscale from the TS config line instead of specifying it twice. (#3470) 2021-11-05 19:26:25 -04:00
Scott Smith 8e5d65978a
Add 3d table support to the java config file parser. (#3464)
This removes the need to use custom for 3d tables.  Syntax (to avoid changing the ANTLR parser) is
to use 'x' instead of separate [], i.e.:
        uint16_t[HPFP_TARGET_SIZE x HPFP_TARGET_SIZE] hpfpTarget;;"kPa", 1, 0, 0, 65000, 0
2021-11-05 14:27:32 -04:00
Matthew Kennedy 980a7cc833
autoscale fields in generated structs (#3444)
* add to grammar

* parser

* parser

* example consumer

* build config tool

* commit the right jar
2021-11-02 18:59:19 -04:00
rusefillc 7540f4f6cc parseCommentedOutEnumWithoutExplicitValues 2021-10-31 11:51:21 -04:00
rusefillc a8b922b008 https://rusefi.com/forum/viewtopic.php?f=19&t=2177 2021-10-28 13:11:32 -04:00
rusefillc d2b923edc8 https://rusefi.com/forum/viewtopic.php?f=19&t=2177
refactoring and test coverage
2021-10-28 13:02:08 -04:00
rusefillc f48d568be7 https://rusefi.com/forum/viewtopic.php?f=19&t=2177 2021-10-28 12:40:34 -04:00
rusefillc 0f5f0d7dd8 fixing Configuration Definition CI 2021-10-24 13:54:33 -04:00
rusefillc 4192aee6de generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-24 12:49:51 -04:00
rusefillc 23a3f4eef9 generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-23 23:21:37 -04:00
rusefillc c45003060c generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-23 23:00:04 -04:00
rusefillc 94bfeec588 generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-23 22:34:08 -04:00
rusefillc 4f681e1488 placing all logs into same folder 2021-10-23 21:00:54 -04:00
rusefillc 3882d3d824 placing all logs into same folder 2021-10-23 20:18:09 -04:00
rusefillc 5d5b4f0d56 Trigger setup in TS is highly confusing #3401
rabbit hole: integrating enums with TS templating
2021-10-23 20:09:10 -04:00
rusefillc 6e4c241d50 refactoring 2021-10-23 20:02:22 -04:00
rusefillc b5c122408c global static variable bad, dependency injection better 2021-10-23 19:41:45 -04:00
rusefillc d2f54daefd doc & greener code 2021-10-23 19:20:44 -04:00
rusefillc abadef0e96 enum reader progress 2021-10-20 22:01:50 -04:00
rusefillc ffc4e97ba5 enum reader progress 2021-10-20 21:46:43 -04:00
rusefillc 55a6de05ba validate field name duplicates at least sometimes 2021-10-16 23:02:06 -04:00
rusefillc eb91e23df1 refactoring 2021-10-16 22:13:35 -04:00
rusefillc 292173f818 progress - live doc generator works again! 2021-10-16 21:08:50 -04:00
rusefillc 315ae3d982 composition better than inheritance 2021-10-16 21:08:50 -04:00
rusefillc ed799501a8 probably progress 2021-10-16 20:44:07 -04:00
rusefillc 37db1559df Whatever we call it, whatever we implement it - we need live data / remote view into rusEFI actual state #3353
progress
2021-10-14 18:36:47 -04:00
rusefillc 1d76a667af fixing build 2021-10-14 17:10:11 -04:00
rusefillc 03fc9566ea fixing build 2021-10-14 17:09:26 -04:00
rusefillc 10582e1a9e refactoring 2021-10-14 16:40:43 -04:00
rusefillc eb6db5e5a4 Whatever we call it, no matter how we do it - we need live data / remote view into rusEFI actual state #3353
dead code
2021-10-14 14:11:52 -04:00
rusefillc 1886a42fe9 Whatever we call it, how ever we implement it - we need live data / remote view into rusEFI actual state #3353
this stuff is definitely dead code
2021-10-14 14:01:31 -04:00
rusefillc 83a7cb95ae GHA reliability: retry FTP upload #3011
refactoring: reducing code duplication
2021-10-09 01:46:29 -04:00
rusefillc 6a6dd45867 GHA reliability: retry FTP upload #3011 2021-10-09 01:41:28 -04:00
rusefillc b1a99c75d5 rusEFI console to compare current bundle against auto-DFU bundle #3266
putting signature into equation
2021-09-25 18:17:32 -04:00
Lenar Khannanov 424f69c42c
feat: migrated ts_plugin_launcher to gradle (#3176) 2021-08-18 17:02:42 -04:00
rusefillc 1d7b2726d7 was zero dwell warning at zero RPM now rusEFI online import/export error with tables #3153 2021-08-17 06:11:29 -04:00
Lenar Khannanov 47b5bd1f9d
Hotfix some java_tools gradle configs (#3165)
* fix: deleted mavenRepositories declaration

* fix: deleted unnecessary settings.gradle for enum_to_string

* fix: dependencies for junit, annotations, jsr305; feat: added new dependency for jsr305; fix: deleted settings.gradle for logging; fix: moved enum_to_string tests to test folder

* fix: deleted mavenRepositories declaration

* fix: deleted unnecessary settings.gradle for enum_to_string

* fix: dependencies for junit, annotations, jsr305; feat: added new dependency for jsr305; fix: deleted settings.gradle for logging; fix: moved enum_to_string tests to test folder

* fix: placed test classes to test folder in enum_to_string; feat: get updates from master
2021-08-16 23:52:52 +03:00
rusefillc c21623c356 progress 2021-08-16 10:21:14 -04:00
Lenar Khannanov 2043524e93
issue 3014 part 4 bin2header migration (#3163)
* feat: completed build.gradle for bin2header

* fix: deleted obsolete build.xml for bin2header
2021-08-16 09:55:18 -04:00
Lenar Khannanov 18ca33858f
Feat 3014 3 enum2string migration and logging and logging-api too (#3157)
* feat: completed working build.gradle for enum_to_string logging and logging-api; needed to rename jar and check it content carefully

* fix: added logging and logging-api dependencies to resulting jar file

* fix: deleted deprecated build.xml
2021-08-15 02:15:31 -04:00
Lenar Khannanov d374f7d57a
Feat 3014 2 logicdata2c version2header migration (#3135)
* feat: completed build.gradle for logicdata2c

* feat: completed build.gradle for version2header

* fix: deleted obsolete build.xml for logicdata2c and version2header
2021-08-11 18:12:39 -04:00
rusefillc 3ef821b9e6 fixing build? 2021-08-09 15:51:06 -04:00
Lenar Khannanov 636417140a
Feature 3014-1 Migrating gcc_map_reader to gradle (#3124)
* feat: completed build.gradle for gcc_map_reader

* feat: gcc_map_reader linked with android; deleted build.xml

* feat: added comment to clarify the purpose of redefining default paths

* fix: deleted .gitignore from gcc_map_reader

* fix: replaced 'compile' with 'compileClasspath' in dependencies of gcc_map_reader 'cause it deprecated in 6.1.1 gradle

* fix: bolder approach to migration to gradle

* fix: use junit from maven not local

* fix: deleted local junit library
2021-08-09 21:21:52 +03:00
rusefillc a55a3cc2d8 making IDEA happier? 2021-08-08 05:06:09 -04:00
Lenar Khannanov 555d9dfe4e
Feature 3014 migrating to gradle (#3079)
* feat: restructured autotest for migrating to gradle

* feat: restructured enum_to_string for migrating to gradle

* feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml

* feat: restructured logging for migrating to gradle; fix: corrected build.xml's

* feat: restructured romraider for migrating to gradle; fix: corrected build.xml's

* feat: restructured autotest for migrating to gradle

* feat: restructured enum_to_string for migrating to gradle

* feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml

* feat: restructured logging for migrating to gradle; fix: corrected build.xml's

* feat: restructured romraider for migrating to gradle; fix: corrected build.xml's

* feat: restructured autotest for migrating to gradle

* feat: restructured enum_to_string for migrating to gradle

* feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml

* feat: restructured logging for migrating to gradle; fix: corrected build.xml's

* feat: restructured romraider for migrating to gradle; fix: corrected build.xml's

* feat: restructured enum_to_string for migrating to gradle

* fix: corrected main build.xml

* fix: corrected main build.xml for romraider

* fix: corrected main build.xml for romraider

* feat: restructured autotest for migrating to gradle

* feat: restructured enum_to_string for migrating to gradle

* feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml

* feat: restructured logging for migrating to gradle; fix: corrected build.xml's

* feat: restructured romraider for migrating to gradle; fix: corrected build.xml's

* feat: restructured enum_to_string for migrating to gradle

* fix: corrected main build.xml

* fix: corrected main build.xml for romraider

* fix: corrected main build.xml for romraider

* feat: restructured enum_to_string for migrating to gradle

* feat: restructured configuration_definition for migrating to gradle; fix: corrected build.xml

* upd: get changes from master; fix: rebasing conflicts

* feat: restructured logging for migrating to gradle; fix: corrected build.xml's

* upd: up-to-master; fix: conflicts in build.xml's

* feat: restructured logging for migrating to gradle; fix: corrected build.xml's

* fix: conflicts from master

* feat: restructured shared_ui module for gradle; fix: main build.xml

* feat: restructured tools module; fix: main build.xml according to new structure

* feat: restructured modules in java_tools with build.xml; fix: corrected paths in build.xml's and .iml's according to the new structure; corrected path in gen_ptrace_enums.bat
2021-07-30 08:15:32 -04:00
rusefillc a42569382c https://github.com/rusefi/rusefi/issues/3053 2021-07-24 13:04:07 -04:00
Matthew Kennedy 0f0b84a6db
remove TS file read (#3004)
* remove

* more defines

* test

* lots of java

* s
2021-07-21 14:24:53 -04:00