Skip to content

Commit 545a5e8

Browse files
committed
Merge branch 'release/v1.1.0' into main
2 parents e2c400c + 940c8b7 commit 545a5e8

17 files changed

+2609
-742
lines changed

.editorconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ tab_width = 4
1717
max_line_length = 80
1818
trim_trailing_whitespace = true
1919

20+
[*.js]
21+
max_line_length = 100
2022

2123
[{*.yml, *.yaml, *.json, *.md}]
2224
indent_size = 2

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.idea/
22
build*/
33
*.min.*
4-
venv
4+
venv/
55
__pycache__/
6-
builds
6+
builds/

CHANGELOG.md

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,65 @@ and this project adheres to
1010

1111
*******************************************************************************
1212

13+
[1.1.0] - 2021-04-03
14+
----------------------------------------
15+
16+
### Added
17+
18+
- Support for extended frames (29-bit CAN ID) and Remote Transmission Request
19+
(RTR frames). The frame type can be selected as first field of the form,
20+
impacting the input form itself (to ask for payload or DLC field)
21+
and obviously the resulting output.
22+
- Dropdown menu to select the base of the CAN ID to avoid the user typing
23+
"0x" or "0b". Defaults to hex. If the user also types the prefix "0x" or "0b"
24+
and it matches with the selected base, then the prefix is ignored.
25+
- Run computation when pressing Enter keyboard key.
26+
- Highlight incorrect input fields with a red border when the computation is
27+
run.
28+
- Highlight stuff bits in the output: underlined and with a different color.
29+
- Minifying instructions and privacy notice included in Readme file.
30+
31+
32+
### Changed
33+
34+
- Improved style of the following parts into a more modern look-and-feel
35+
- input form
36+
- computing button
37+
- whole-frame bit sequence section
38+
- frame fields, now provided as a table. Includes alternating row colors,
39+
mouseover effects and hex format column
40+
- More verbose and detailed error messages for the various incorrect inputs.
41+
- Improved description of input form's payload field, clarifying what is ignored
42+
in the user input.
43+
- Autofocus on CAN ID input field.
44+
- Input text fields contain examples for the user input.
45+
- Renamed _Pause-after-frame_ field to _Inter-Frame Space_ for clarity
46+
and to match with other descriptions of the CAN frames found online.
47+
- Moved error messages to one location underneath the input form.
48+
- Deployment script merges HTML, CSS and JS files into one HTML file, making
49+
it much easier to deploy. Removed deployment into `gh-pages` branch, as
50+
now it can be done directly from the `main` branch, `minified` sub-folder.
51+
52+
53+
### Fixed
54+
55+
- Broken links in readme to the deployed web page (missing "/" at URL end).
56+
- Display error msg in case of empty CAN ID instead of assuming the ID == 0.
57+
- Handle empty or whitespace-only payloads as valid input (no data).
58+
- Footer's too small bottom margin.
59+
- Typo in footer disclaimer.
60+
- noscript-message about JavaScript being required is not all-h2 anymore.
61+
Additional styling is added for it to make it at least slightly decent
62+
looking.
63+
- Display a generic error message in case of unknown and uncaught errors
64+
at any level in the execution of the code instead of silently doing nothing
65+
and crashing the app.
66+
- Fixed non-hex payload chars being parsed into a 0 value.
67+
- Some fields of the CAN frame did not have space separators every 4 bits.
68+
- Fully reset the input form, clearing its content on page reload/refresh.
69+
70+
71+
1372
[1.0.0] - 2021-01-31
1473
----------------------------------------
1574

0 commit comments

Comments
 (0)