Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

New layout format and User data migration capability! Take 2 #143

Merged
merged 3 commits into from May 2, 2020

Conversation

mominul
Copy link
Member

@mominul mominul commented May 2, 2020

Here I present version 2 of the keyboard method layout format of OBK version 2! 馃帀

This layout format uses Zstandard compression algorithm for compressing the images and uses a custom variant of Base91 for decoding the binary bytes into textual format. Base91 is 6% more efficient than Base64 which we currently use. As a result, the layout files we distribute altogether have their sizes shrunken to 58% 馃帀

With the new layout format, we now support system keyboard layout other than Qwerty(#36) without any hackery in the parser and with additional number keys. I have also added a heavy test for the parser which will prevent further typo bugs(#98) from happening.

I have also changed the names of two layouts:

  • Bornona to Borno. (This was the real name, I don't know why Avro team had changed it.).
  • Munir Optima (uni) to Munir Optima.

This PR also adds User data migration capability to OBK. It also includes a converter for the new format. So the next release of OBK will be no longer a breaking version. 馃帀

@mominul mominul added this to In progress in Version 2.0 via automation May 2, 2020
@mominul
Copy link
Member Author

mominul commented May 2, 2020

@bdeshi Can you please review the ReadMe and script changes?

CMakeLists.txt Outdated Show resolved Hide resolved
@mominul mominul merged commit 0e98be4 into master May 2, 2020
Version 2.0 automation moved this from In progress to Done May 2, 2020
@mominul mominul deleted the new_layout2 branch May 2, 2020 09:27
bdeshi pushed a commit to bdeshi/openbangla-keyboard that referenced this pull request May 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Version 2.0
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants