summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-04-25optimize: Allow manual mutationsLars-Dominik Braun1-7/+25
In combination with `-n 0` this allows manual evaluation of changes without using `lulua-write` to re-evaluate the entire corpus.
2020-04-25Improve lulua-writeLars-Dominik Braun5-101/+244
Introduce composable filters, switch to brotli-compressed tarballs, which has good ratios and fast decompression, reducing I/O significantly.
2020-04-13layout: Add test for getText+__call__ identityLars-Dominik Braun1-1/+16
2020-04-12gen.sh: Move ninja’s state files to build dirLars-Dominik Braun1-0/+1
2020-03-28stats: Enumerate combinationsLars-Dominik Braun1-2/+4
2020-03-28report: Explain origin of Lam-Alif ligatureLars-Dominik Braun1-1/+3
2020-03-28Add analysis for ar-idlebi and ar-alramlyLars-Dominik Braun5-6/+260
2020-03-28Adapt .gitignoreLars-Dominik Braun1-3/+1
…to changes made by commit 102fd5aafa4f36572ae9f1d8083e058b0f47676c
2020-03-22optimize: Allow running without pinned keysLars-Dominik Braun1-1/+1
Set default value.
2020-03-21layouts: Fix al-Ramly layoutLars-Dominik Braun1-66/+15
Remove English layer, the paper talks about different “modes”.
2020-03-15text: Add actual text to debugging outputLars-Dominik Braun1-0/+2
2020-03-15text: Fix newlinesLars-Dominik Braun1-2/+3
Replace Windows-style newlines with Unix newlines. There were quite a few stray \r’s in the stats. This takes care of them.
2020-03-08report: Expand analysisLars-Dominik Braun2-91/+198
Expand explanation of proposed layout and criticism of other layouts.
2020-03-08writer: Fix bug in chooseCombinationLars-Dominik Braun2-15/+29
Some combinations had the same score and the “wrong” one was chosen as a result. This affects how key combinations are chosen and thus it significantly affects results (lowering ar-lulua’s asymmetry and increasing it for almost every other layout) and probably optimization of levels > 1.
2020-03-07report: Add OS X layoutLars-Dominik Braun1-0/+26
2020-03-07gen.sh: Move generated stat files to build directoryLars-Dominik Braun1-1/+1
2020-03-07layouts: Add OSX’ Arabic layoutLars-Dominik Braun2-1/+116
Looks pretty similar to ASMO663.
2020-02-29Add missing license headersLars-Dominik Braun3-0/+60
2020-02-29Fix function approx and its testcaseLars-Dominik Braun3-15/+22
Function was moved and changed by commit 0f8643954fd9507aec85bab46046e71a497bfffe, but the testcase was not.
2020-02-29Move built artifacts to _buildLars-Dominik Braun2-31/+33
2020-02-29Upgrade IBM Plex to 4.0.2Lars-Dominik Braun6-13/+13
Arabic font was renamed.
2020-02-22plot: Fix format stringLars-Dominik Braun1-1/+1
2020-02-22doc: Switch to jinja2-based renderingLars-Dominik Braun7-91/+166
Pre-rendering HTML was not the best idea. Instead pre-process the data, cache it into data files and do the HTML rendering only as the final step. Also adds asymmetry to analysis and uses tabular numbers and spaces instead of ugly table hacks to align numbers.
2020-02-13doc: Explain finger color codingLars-Dominik Braun2-6/+63
2020-02-13Fix HTML5 validation errorsLars-Dominik Braun2-6/+4
2020-02-13doc: Add section acknowledgementsLars-Dominik Braun1-0/+15
2020-01-26render: Fix heatmap renderingLars-Dominik Braun2-92/+120
Button caps will not overlap heat map any more. Change heat map to circles, which seem more fitting.
2020-01-26render: Pre-compute button positionsLars-Dominik Braun1-34/+44
In preparation for fixing heapmap rendering.
2020-01-23doc: Remove paragraph that was added by accidentLars-Dominik Braun1-5/+0
2020-01-19Add Windows driverLars-Dominik Braun16-6/+857
Generate C header file based on layout description and create a source bundle that must be compiled on a Windows system and then moved back to the source tree. This sucks, but cross-compiling on Linux is a pain, since Windows’ development headers assume a case-insensitive filesystem. Also I’m using MSKLC because the latest driver development kit cannot compile these drivers correctly. Dear @microsoft, please fix your shit: https://github.com/microsoft/Windows-driver-samples/issues/433 A remaining concern right now is licensing. keyboard.{c,h,def,rc} have been copied from a project generated by MSKLC and are probably non-free, although pretty much identical files like https://github.com/microsoft/Windows-driver-samples/blob/master/input/layout/kbdus/kbdus.c are covered by MS-PL. Also binds backspace key to \b and adjusts xmodmap/svg rendering accordingly. See #7.
2019-11-30Add missing corpuse metadata filesLars-Dominik Braun8-1/+42
2019-11-30Add link to ASK language packLars-Dominik Braun1-0/+6
2019-11-17Add more testsLars-Dominik Braun5-22/+200
2019-11-16Add OpenStreetMap label corpusLars-Dominik Braun5-1/+27
Extract node labels (name:ar) from OpenStreetMap’s planet dump. Heavily leans towards a few common words (“street”, obviously), but we should be fine since the corpus is not that large.
2019-11-16doc: Process HTML template with m4Lars-Dominik Braun2-15/+24
Seems to be more reliable than C preprocessor, dependency tracking never really worked anyway.
2019-11-16doc: Auto-generate corpus tableLars-Dominik Braun5-31/+114
2019-11-08Add OpenSubtitles corpusLars-Dominik Braun3-3/+30
See issue #5.
2019-11-08Add United Nations Parallel Corpus v1.0Lars-Dominik Braun3-11/+26
See issue #5.
2019-11-06text: Add TEI.2 parserLars-Dominik Braun1-1/+27
2019-11-05layouts: Add missing return button to ar-phoneticLars-Dominik Braun1-0/+1
2019-11-03stats: Word stats+LatinIME rendererLars-Dominik Braun3-6/+82
Add word stats (well, tokens seperated by non-letter symbols really, but that’s alright) and dumping into an LatinIME-compatible dictionary file (for Android).
2019-11-03render: Add AnySoftKeyboard layout file rendererLars-Dominik Braun1-2/+74
2019-11-02render: Improve generated SVG compatibilityLars-Dominik Braun8-58/+88
Switch to proper SVG user coordinate rendering instead of font-dependent sizes. Embed WOFF2 fonts, so images have proper fonts when embedded. Remove font blobs and submodule IBM’s plex git repo.
2019-10-09Reorganize 2nd and 3rd layerLars-Dominik Braun1-66/+72
See issue #6. Temporarily drop most of the special characters and rearrange the remaining characters. Frequency is not the main concern here, it needs to “make sense” to humans (whatever this means).
2019-10-06stats: Use displayText in pretty stats as wellLars-Dominik Braun1-1/+2
2019-10-06render: Prepend RLI before characterLars-Dominik Braun1-1/+2
This helps Firefox flip brackets. Oddly, direction=rtl does not do that. Google Chrome does not support RLI/ALM in SVGs?
2019-10-05doc: Limit logo heightLars-Dominik Braun1-1/+1
2019-10-05optimize: Support wildcard pinsLars-Dominik Braun2-4/+28
2019-10-03text: Add epub reader and hindawi corpusLars-Dominik Braun4-24/+64
See issue #5.
2019-10-03doc: Add hand/finger stats to all layoutsLars-Dominik Braun5-35/+114
Adds a preprocessing step to the doc HTML document.