Compare commits

...

2 Commits

4 changed files with 13 additions and 3 deletions

View File

@ -21,9 +21,10 @@ my $build = Module::Build->new(
'DBIx::Class' => 0, 'DBIx::Class' => 0,
'Pango' => 0, 'Pango' => 0,
'Crypt::URandom' => 0, 'Crypt::URandom' => 0,
'Mojolicious' => 0,
}, },
extra_linker_flags => ['-lfontconfig', '-lfreetype'], extra_linker_flags => [ '-lfontconfig', '-lfreetype' ],
test_requires => { test_requires => {
'Test::MockModule' => 0, 'Test::MockModule' => 0,
'Test::Most' => 0, 'Test::Most' => 0,
'Test::MockObject' => 0, 'Test::MockObject' => 0,

2
deps
View File

@ -1 +1 @@
DBI DBD::SQLite Cairo::GObject Glib::IO Glib::Object::Introspection JSON Moo YAML::PP Path::Tiny DBIx::Class Pango Crypt::URandom DBI DBD::SQLite Cairo::GObject Glib::IO Glib::Object::Introspection JSON Moo YAML::PP Path::Tiny DBIx::Class Pango Crypt::URandom Mojolicious

View File

@ -80,7 +80,11 @@ sub _migrate_kanji($self) {
Glib::Timeout->add( Glib::Timeout->add(
1_000, 1_000,
sub { sub {
$read->blocking(0);
$n_characters = <$read>; $n_characters = <$read>;
if (!defined $n_characters) {
return 1;
}
chomp $n_characters; chomp $n_characters;
say 'Copying ' . $n_characters . ' kanji'; say 'Copying ' . $n_characters . ' kanji';
Glib::Timeout->add( Glib::Timeout->add(

View File

@ -32,6 +32,11 @@
<developer_name>sergiotarxz</developer_name> <developer_name>sergiotarxz</developer_name>
<releases> <releases>
<release version="v1.01" date="2024-12-02">
<description>
<p>Bugfix, avoiding blocking the program for a small time while waiting for the number of kanji characters to populate.</p>
</description>
</release>
<release version="v1.00" date="2024-11-27"> <release version="v1.00" date="2024-11-27">
<description> <description>
<p>Adding BETA Kanji support.</p> <p>Adding BETA Kanji support.</p>