summaryrefslogtreecommitdiff
path: root/lulua
AgeCommit message (Collapse)AuthorFilesLines
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-07layouts: Add OSX’ Arabic layoutLars-Dominik Braun1-0/+115
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-29Upgrade IBM Plex to 4.0.2Lars-Dominik Braun4-10/+10
Arabic font was renamed.
2020-02-22plot: Fix format stringLars-Dominik Braun1-1/+1
2020-02-22doc: Switch to jinja2-based renderingLars-Dominik Braun5-59/+768
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-13Fix HTML5 validation errorsLars-Dominik Braun1-1/+1
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-19Add Windows driverLars-Dominik Braun12-4/+794
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-17Add more testsLars-Dominik Braun5-22/+200
2019-11-16Add OpenStreetMap label corpusLars-Dominik Braun1-0/+5
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: Auto-generate corpus tableLars-Dominik Braun2-1/+72
2019-11-08Add OpenSubtitles corpusLars-Dominik Braun1-0/+18
See issue #5.
2019-11-08Add United Nations Parallel Corpus v1.0Lars-Dominik Braun1-3/+7
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 Braun1-2/+69
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 Braun2-47/+72
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-05optimize: Support wildcard pinsLars-Dominik Braun1-3/+27
2019-10-03text: Add epub reader and hindawi corpusLars-Dominik Braun1-21/+50
See issue #5.
2019-10-03doc: Add hand/finger stats to all layoutsLars-Dominik Braun1-9/+31
Adds a preprocessing step to the doc HTML document.
2019-10-03layouts: Remove empty string productionLars-Dominik Braun4-4/+5
2019-10-03text: Fail if workers dieLars-Dominik Braun1-29/+39
2019-10-01plot: Swap left/right axis for letterfreqLars-Dominik Braun1-5/+5
2019-09-30render: Add text shadowLars-Dominik Braun2-35/+49
Improves legibility when rendering heatmaps
2019-09-30stats/render: Add keyboard heatmap renderingLars-Dominik Braun3-5/+55
2019-09-30render: Move default SVG stylesheet to external resourceLars-Dominik Braun2-54/+60
2019-09-29render: Add basic keyman supportLars-Dominik Braun2-0/+106
Works for simple keyboards only.
2019-09-29render: Switch to subparser arg parsingLars-Dominik Braun1-126/+136
2019-09-29layouts: Use decomposed unicode sequenceLars-Dominik Braun3-6/+6
2019-09-29util: Ignore dotfiles in yaml loaderLars-Dominik Braun1-2/+4
2019-09-29carpalx: Add model by Salvo et al.Lars-Dominik Braun5-13/+113
2019-09-28analyze: Customizeable triadfreq outputLars-Dominik Braun4-46/+50
Add commandline args to triadfreq.
2019-09-27layouts: Annotate lulua yamlLars-Dominik Braun1-22/+137
2019-09-26plot: Style plotsLars-Dominik Braun1-2/+8
Well, it’s not that easy.
2019-09-26plot: Add cumulative letter statsLars-Dominik Braun1-8/+29
2019-09-26Add al-Ramly’s layoutLars-Dominik Braun1-0/+141
2019-09-26doc: Add related workLars-Dominik Braun1-0/+79
i.e. Arabic keyboard layouts
2019-09-21Consolidate command line utilsLars-Dominik Braun3-26/+43
2019-09-17layouts: Fix ar-lulua yamlLars-Dominik Braun1-1/+1
2019-09-17Initial importLars-Dominik Braun25-0/+3814