159 Commits (6f18996445500ebe65ec4c7544f286ecfbedd1f8)

Author SHA1 Message Date
Angelo Fallaria 6f18996445 refactor(config): refactor curly brace finding
2 years ago
Angelo Fallaria 343e5c74da refactor: convert another if block into guard clause
2 years ago
Angelo Fallaria 6720ab6ed3 refactor(config): use guard clause in loop
2 years ago
Angelo Fallaria 7d59afb3c6 refactor(config): improve duplicate hotkey check
2 years ago
EdenQwQ ee31c54d42 [update] config: more tests for range syntax
2 years ago
EdenQwQ 49ebf957b3 rustfmt
2 years ago
EdenQwQ caaedeb4a7 [update] handle invalid range
2 years ago
EdenQwQ 214b1b1692 Merge remote-tracking branch 'origin/error_display' into config_devel
2 years ago
EdenQwQ 5df6027991 [remove] config: remove test for nonsensical file
2 years ago
Angelo Fallaria 90cb0e4b93 feat(daemon): display error message for config errors
2 years ago
Angelo Fallaria 9567883fed feat: add Display functionality for config errs
2 years ago
Angelo Fallaria f78e40c67c test: add tests for error display
2 years ago
EdenQwQ 85fe0f70f2 [update] config: support for ascii character as range
2 years ago
EdenQwQ 165d6b50af [rustfmt] config
2 years ago
EdenQwQ 62cbe3e420 [update] config: basic range syntax(support numbers only)
2 years ago
EdenQwQ f60903d2f3 [refactor, update] config: basic curly brace syntax
2 years ago
EdenQwQ c7da0a4669 [update] config: a new function to extract all the items inside a pair of curly braces
2 years ago
EdenQwQ a780a6ea4b [update] config.rs: comment out unimplemented modifiers; add delete, brightness
2 years ago
EdenQwQ 4eea8ee20f improve(server): collapse nested if block; &String to &str
2 years ago
EdenQwQ 7541118640 improve(daemon): collapse nested if block; use vec! instead of Vec::new()
2 years ago
Shinyzenith 870fcbf354
[remove] unused imports.
2 years ago
Angelo Fallaria 2739434273 refactor(daemon): reduce indent w/ guard clause
2 years ago
Angelo Fallaria ce3b551628 style: fix formatting w/ rustfmt
2 years ago
Angelo Fallaria 7098ff3aab refactor(config): put test-only modules in own mod
2 years ago
Angelo Fallaria e10d2ac005 fix(config): alleviate panic on blank config filee
2 years ago
EdenQwQ 106bef257c added many keysyms
2 years ago
EdenQwQ 1ef54df4f7 support single keysym
2 years ago
Shinyzenith 92b8b6f24b
[feature] Do not allow multiple instances.
2 years ago
Shinyzenith 078135bc55
[update] Mention failed line on parse error.
2 years ago
Shinyzenith 44568d19fc
[Update] add printscr to enum
2 years ago
EdenQwQ 8499692702 Implement inline comments support when parsing config
2 years ago
Shinyzenith a415b24323
[update] Example config file uploaded.
2 years ago
Shinyzenith 4eb86e8a74
[update] remove sock test
2 years ago
EdenQwQ 9886b6c194 fix the bug caused by wrong comparing method
2 years ago
Shinyzenith bd1227a245
[Bug fix] fix auto repeat bug
2 years ago
Shinyzenith 0af29511f5
[wip] working cooldown
2 years ago
Shinyzenith e949a8bd72
[wip] Check last hotkey for duplicate removal.
2 years ago
EdenQwQ 4d3c58cca8 rustfmt
2 years ago
EdenQwQ d5ba98f2f3 fix
2 years ago
EdenQwQ 48c1e58564 finish
2 years ago
EdenQwQ 902a2b545f a hashmap from evdev:Key to config::Modifiers
2 years ago
EdenQwQ ed00571241 small improvement
2 years ago
Shinyzenith cc2c0f4f68
[update] lower sleep time.
2 years ago
Shinyzenith 25987beba6
[testing] Documentation.
2 years ago
Shinyzenith 465c155be5
[testing]Print possible matches based on key count
2 years ago
Aakash Sen Sharma 6ac6ede0d9
[merge] Config handler refactor by EdenQwQ
2 years ago
Shinyzenith 61633a5799
[update] Concise notation.
2 years ago
EdenQwQ 34c2426e03 modify test to make sure this also work with empty modifier
2 years ago
EdenQwQ d697eaea36 ignore duplicated keys
2 years ago
EdenQwQ d83063fc1e convert to lowercase
2 years ago