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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plug memleak i18nkeyboard #12

Closed
wants to merge 74 commits into from
Closed

Plug memleak i18nkeyboard #12

wants to merge 74 commits into from

Conversation

ashie
Copy link
Member

@ashie ashie commented Jun 18, 2024

No description provided.

ashie and others added 30 commits March 7, 2022 14:27
Cherry picking fcitx/fcitx5@80a9341

Signed-off-by: Takuro Ashie <ashie@clear-code.com>
Signed-off-by: Takuro Ashie <ashie@clear-code.com>
INATALL_THEME =>
INSTALL_THEME

Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Signed-off-by: Takuro Ashie <ashie@clear-code.com>
For following keyboard size.
Note that this commit doesn't change MenuFont size because it's mainly
for tray icon menu, so it should follow tray's font size.

TODO: ClassicUI in this module should be renamed to VirtualKeyboardUI.

Signed-off-by: Takuro Ashie <ashie@clear-code.com>
Signed-off-by: Takuro Ashie <ashie@clear-code.com>
Signed-off-by: Takuro Ashie <ashie@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
With this change, no need to use RussianDummyKey class.

Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
With this change, no need to use RussianShiftToggleKey class.

Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
With this change, no need to use RussianNormalKey class.

Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
kenhys and others added 29 commits June 12, 2024 14:19
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Co-authored-by: Takuro Ashie <ashie@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Add custom keyboard layout specification
It should be U+1161.

Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Add template for GitHub Actions
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
It breaks CI when running with PR.

Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
ci: drop needless specifying branch
* Changed to use unique_ptr.
* decrement reference count for json_object.

Before:

  ==11333== LEAK SUMMARY:
  ==11333==    definitely lost: 47,787 bytes in 120 blocks
  ==11333==    indirectly lost: 11,202,985 bytes in 105,883 blocks
  ==11333==      possibly lost: 46,244 bytes in 682 blocks
  ==11333==    still reachable: 20,012,541 bytes in 82,152 blocks
  ==11333==                       of which reachable via heuristic:
  ==11333==                         length64           : 152,752 bytes in 377 blocks
  ==11333==                         newarray           : 1,568 bytes in 18 blocks
  ==11333==                         multipleinheritance: 3,816 bytes in 46 blocks
  ==11333==         suppressed: 0 bytes in 0 blocks

After:

  ==45659== LEAK SUMMARY:
  ==45659==    definitely lost: 47,851 bytes in 118 blocks
  ==45659==    indirectly lost: 11,006,651 bytes in 104,111 blocks
  ==45659==      possibly lost: 200,985 bytes in 1,977 blocks
  ==45659==    still reachable: 20,011,558 bytes in 82,145 blocks
  ==45659==                       of which reachable via heuristic:
  ==45659==                         length64           : 152,752 bytes in 377 blocks
  ==45659==                         newarray           : 1,568 bytes in 18 blocks
  ==45659==                         multipleinheritance: 14,136 bytes in 158 blocks
  ==45659==         suppressed: 0 bytes in 0 blocks

Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Signed-off-by: Takuro Ashie <ashie@clear-code.com>
@ashie ashie closed this Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants