]> gitweb.fperrin.net Git - Dictionary.git/log
Dictionary.git
4 years agoUpdate for Util fix.
Reimar Döffinger [Mon, 20 Apr 2020 22:28:38 +0000 (00:28 +0200)]
Update for Util fix.

4 years agoBump version.
Reimar Döffinger [Sat, 18 Apr 2020 14:30:41 +0000 (16:30 +0200)]
Bump version.

4 years agoApply theme and font selection also to HTML for web view.
Reimar Döffinger [Sat, 18 Apr 2020 11:33:24 +0000 (13:33 +0200)]
Apply theme and font selection also to HTML for web view.

4 years agoRestore Android 10 API compatibility.
Reimar Döffinger [Sat, 18 Apr 2020 11:33:03 +0000 (13:33 +0200)]
Restore Android 10 API compatibility.

4 years agoAttempt to fix search sometimes not working.
Reimar Döffinger [Sat, 18 Apr 2020 10:13:11 +0000 (12:13 +0200)]
Attempt to fix search sometimes not working.

ListView fails to process setSelection in some cases,
probably related to it being busy updating for a new
IndexAdapter.
Try to avoid this by posting the message to it instead
of to the uiHandler.
Might fix issue #120.
However the delay in jumpToTextFromHyperLink is still
needed, so this still is not really reliable.

4 years agoUpdate script to work with current wikimedia page.
Reimar Döffinger [Sat, 18 Apr 2020 09:04:41 +0000 (11:04 +0200)]
Update script to work with current wikimedia page.

But don't update the flag list or flags themselves yet,
as I have no use for them currently.
Alternative to pull request #117.

4 years agoRestore API 10 compatibility.
Reimar Döffinger [Sat, 18 Apr 2020 08:09:57 +0000 (10:09 +0200)]
Restore API 10 compatibility.

4 years agoRemove unused import.
Reimar Döffinger [Sat, 18 Apr 2020 08:04:24 +0000 (10:04 +0200)]
Remove unused import.

4 years agoUpdate to latest Util version.
Reimar Döffinger [Sat, 18 Apr 2020 07:25:02 +0000 (09:25 +0200)]
Update to latest Util version.

4 years agoUse StringBuilder instead of String.format.
Reimar Döffinger [Thu, 16 Apr 2020 21:56:20 +0000 (23:56 +0200)]
Use StringBuilder instead of String.format.

4 years agoAllow caching normalization step of comparator.
Reimar Döffinger [Wed, 15 Apr 2020 20:18:40 +0000 (22:18 +0200)]
Allow caching normalization step of comparator.

4 years agoMinor code simplifications.
Reimar Döffinger [Wed, 15 Apr 2020 16:06:37 +0000 (18:06 +0200)]
Minor code simplifications.

4 years agoUpdate to new mmapped IO.
Reimar Döffinger [Wed, 15 Apr 2020 06:47:16 +0000 (08:47 +0200)]
Update to new mmapped IO.

4 years agoRemove v6 writing code moved to DictionaryPC repo.
Reimar Döffinger [Mon, 13 Apr 2020 23:42:14 +0000 (01:42 +0200)]
Remove v6 writing code moved to DictionaryPC repo.

4 years agoOptimize v6 file writing.
Reimar Döffinger [Mon, 13 Apr 2020 23:20:05 +0000 (01:20 +0200)]
Optimize v6 file writing.

4 years agoSupport stripping HTML entries for v6 dictionaries.
Reimar Döffinger [Mon, 13 Apr 2020 16:58:23 +0000 (18:58 +0200)]
Support stripping HTML entries for v6 dictionaries.

Since these dictionaries are so huge and the HTML
entries not always used, it seems useful to be
able to provide one without them.
Size example for EN-RU:
v7: 46 MB
v6: 226 MB
v6 without HTML: 105 MB

4 years agoClean up order of imports.
Reimar Döffinger [Mon, 13 Apr 2020 13:01:07 +0000 (15:01 +0200)]
Clean up order of imports.

4 years agoSome lint fixes.
Reimar Döffinger [Sat, 11 Apr 2020 23:29:56 +0000 (01:29 +0200)]
Some lint fixes.

4 years agoBump version
Reimar Döffinger [Sat, 11 Apr 2020 22:23:54 +0000 (00:23 +0200)]
Bump version

4 years agoUpdate to newly generated dictionaries.
Reimar Döffinger [Sat, 11 Apr 2020 22:23:29 +0000 (00:23 +0200)]
Update to newly generated dictionaries.

4 years agoAdd untested support for writing v6 files.
Reimar Döffinger [Sat, 11 Apr 2020 21:13:56 +0000 (23:13 +0200)]
Add untested support for writing v6 files.

Should allow converting v7 to v6 files,
with v6 being suitable for e.g. Tolino devices.
Also add a format specification for v6.

4 years agoMinor code simplification.
Reimar Döffinger [Sat, 11 Apr 2020 20:07:13 +0000 (22:07 +0200)]
Minor code simplification.

4 years agoMinor format specification fix.
Reimar Döffinger [Sat, 11 Apr 2020 17:49:18 +0000 (19:49 +0200)]
Minor format specification fix.

4 years agoAccessibility fixes.
Reimar Döffinger [Sun, 5 Apr 2020 19:08:43 +0000 (21:08 +0200)]
Accessibility fixes.

Add content description to some flag buttons.
Mark the floating buttons as not relevant, as the
functionality is available otherwise, they only
exist to ease touch usage.

4 years agoBump version.
Reimar Döffinger [Sun, 5 Apr 2020 17:47:01 +0000 (19:47 +0200)]
Bump version.

Also remove the first start/version update text.
It does not seem useful enough to bother people
with having it click ok...

4 years agoFix wrong layout.
Reimar Döffinger [Sun, 5 Apr 2020 17:36:31 +0000 (19:36 +0200)]
Fix wrong layout.

Bullet point items must be WRAP_CONTENT in vertical direction
still, otherwise the text gets cut off.

4 years agoAdd adaptive icon.
Reimar Döffinger [Sun, 5 Apr 2020 10:35:22 +0000 (12:35 +0200)]
Add adaptive icon.

Big thanks to Michael Vogel for (re-)creating the
background image, and others on github for help
and advice - and sorry for not responding so long!
Fixes issue #87.

4 years agoAdd Basque translation also to build.gradle.
Reimar Döffinger [Sat, 4 Apr 2020 23:54:32 +0000 (01:54 +0200)]
Add Basque translation also to build.gradle.

4 years agoSwitch to newer build tools and download via https.
Reimar Döffinger [Sat, 4 Apr 2020 20:37:55 +0000 (22:37 +0200)]
Switch to newer build tools and download via https.

Targeting newer Android SDK requires use of https
unless explicitly allowing http, and it makes
somewhat sense to use https for the downloads.
Add a workaround for downloads not working with
older Android versions.

5 years agoCorrect probably quoting error in example command
Kashish Sharma [Sun, 21 Apr 2019 07:47:39 +0000 (13:17 +0530)]
Correct probably quoting error in example command

5 years agoAdd headings
Kashish Sharma [Sun, 21 Apr 2019 07:47:28 +0000 (13:17 +0530)]
Add headings

5 years agoFix spelling and grammar
Kashish Sharma [Sun, 21 Apr 2019 07:46:52 +0000 (13:16 +0530)]
Fix spelling and grammar

5 years agoConvert readme to Markdown
Kashish Sharma [Sun, 21 Apr 2019 07:45:27 +0000 (13:15 +0530)]
Convert readme to Markdown

5 years agoUpdated eu (Basque) translation
obibon [Tue, 16 Apr 2019 12:25:15 +0000 (14:25 +0200)]
Updated eu (Basque) translation

Commit made via Stringlate

5 years agoFix FR-EL entry and update ES dictionary.
Reimar Döffinger [Wed, 9 Jan 2019 18:44:31 +0000 (19:44 +0100)]
Fix FR-EL entry and update ES dictionary.

5 years agoAdd FR-EL dictionary.
Reimar Döffinger [Tue, 4 Dec 2018 20:20:54 +0000 (21:20 +0100)]
Add FR-EL dictionary.

5 years agoFix compilation of DictionaryPC (non-Android Java).
Reimar Döffinger [Tue, 4 Dec 2018 20:15:15 +0000 (21:15 +0100)]
Fix compilation of DictionaryPC (non-Android Java).

5 years agoBump version for release.
Reimar Döffinger [Sun, 21 Oct 2018 17:59:33 +0000 (19:59 +0200)]
Bump version for release.

5 years agoFix multiword search with incomplete words.
Reimar Döffinger [Sun, 21 Oct 2018 17:55:51 +0000 (19:55 +0200)]
Fix multiword search with incomplete words.

It would trip over if the dictionary contained
words with the same prefix starting with -.
Example is searching for
"sense des aiguilles" which would break the loop
upon encountering "-aige".
Which meant that searching for "sense des aig" would
find nothing. "sense des a" would however due to "a"
not being considered due to the stoplist.

5 years agoFix layout of multi-row entries.
Reimar Döffinger [Fri, 19 Oct 2018 17:51:13 +0000 (19:51 +0200)]
Fix layout of multi-row entries.

5 years agoDetect and warn about non-writeable wordlist file.
Reimar Döffinger [Thu, 18 Oct 2018 20:38:22 +0000 (22:38 +0200)]
Detect and warn about non-writeable wordlist file.

5 years agoUpdate tools version, move minSdk to build.gradle.
Reimar Döffinger [Thu, 18 Oct 2018 20:16:42 +0000 (22:16 +0200)]
Update tools version, move minSdk to build.gradle.

5 years agoFix some code inspection warnings.
Reimar Döffinger [Mon, 20 Aug 2018 21:18:08 +0000 (23:18 +0200)]
Fix some code inspection warnings.

5 years agoAdd EN-rom dictionary.
Reimar Döffinger [Wed, 8 Aug 2018 22:31:00 +0000 (00:31 +0200)]
Add EN-rom dictionary.

5 years agoFix Thai language support.
Reimar Döffinger [Wed, 8 Aug 2018 21:55:32 +0000 (23:55 +0200)]
Fix Thai language support.

It needs some of the ICU data I
"optimized away".

5 years agoUpdate gradle version.
Reimar Döffinger [Wed, 8 Aug 2018 21:53:38 +0000 (23:53 +0200)]
Update gradle version.

Also bump APK version.

5 years agoAdd logging of exception message.
Reimar Döffinger [Wed, 8 Aug 2018 21:52:59 +0000 (23:52 +0200)]
Add logging of exception message.

Makes it easier to debug e.g. ICU missing files.

5 years agoAllow multiple dictionaries in a .zip file.
Reimar Döffinger [Wed, 13 Jun 2018 21:46:56 +0000 (23:46 +0200)]
Allow multiple dictionaries in a .zip file.

Also protect against zip files containing
files with a path.

5 years agoBump version once more.
Reimar Döffinger [Wed, 13 Jun 2018 21:25:47 +0000 (23:25 +0200)]
Bump version once more.

5 years agoAdd support for clicking on download notification.
Reimar Döffinger [Wed, 13 Jun 2018 21:19:29 +0000 (23:19 +0200)]
Add support for clicking on download notification.

5 years agoUpdate gradle version.
Reimar Döffinger [Wed, 13 Jun 2018 20:42:30 +0000 (22:42 +0200)]
Update gradle version.

5 years agoAlways check isFinishing before displaying a Toast.
Reimar Döffinger [Wed, 13 Jun 2018 20:42:01 +0000 (22:42 +0200)]
Always check isFinishing before displaying a Toast.

Just in case it fixes the rare random crashes.

5 years agoBump version for release.
Reimar Döffinger [Sun, 20 May 2018 13:50:23 +0000 (15:50 +0200)]
Bump version for release.

5 years agoAccessibility fixes: set description for flag images.
Reimar Döffinger [Sun, 20 May 2018 13:20:48 +0000 (15:20 +0200)]
Accessibility fixes: set description for flag images.

5 years agoFix issues noted by lint tools.
Reimar Döffinger [Sun, 20 May 2018 10:00:44 +0000 (12:00 +0200)]
Fix issues noted by lint tools.

5 years agoRemove unused images and XML sections.
Reimar Döffinger [Sun, 20 May 2018 09:14:20 +0000 (11:14 +0200)]
Remove unused images and XML sections.

5 years agoFix format specifiers in translated string.
Reimar Döffinger [Sun, 20 May 2018 09:06:07 +0000 (11:06 +0200)]
Fix format specifiers in translated string.

5 years agoRun automated code cleanup.
Reimar Döffinger [Sun, 20 May 2018 09:02:35 +0000 (11:02 +0200)]
Run automated code cleanup.

5 years agoUpdate target SDK in Android manifest and update gradle version.
Reimar Döffinger [Sun, 20 May 2018 08:36:30 +0000 (10:36 +0200)]
Update target SDK in Android manifest and update gradle version.

Downgrade support libraries since the newer
ones are far too crash-happy.

5 years agoUpdate build.gradle
Therhokar [Sat, 19 May 2018 12:28:25 +0000 (20:28 +0800)]
Update build.gradle

5 years agoTranslate into simplified Chinese
Therhokar Yang [Sat, 12 May 2018 04:42:08 +0000 (12:42 +0800)]
Translate into simplified Chinese

5 years agoadded German (de) translation for "browserDownload"
NotSoImportant [Fri, 27 Apr 2018 08:26:57 +0000 (10:26 +0200)]
added German (de) translation for "browserDownload"

6 years agoCheck isFinishing when creating a Toast in some cases.
Reimar Döffinger [Tue, 17 Apr 2018 20:41:56 +0000 (22:41 +0200)]
Check isFinishing when creating a Toast in some cases.

For code that may be run in the background this
is necessary to avoid a BadTokenException when
trying to display the Toast with no active window.

6 years agoBump version once more.
Reimar Döffinger [Sat, 14 Apr 2018 20:04:17 +0000 (22:04 +0200)]
Bump version once more.

6 years agoImprove handling when a word is not found.
Reimar Döffinger [Sat, 14 Apr 2018 20:01:36 +0000 (22:01 +0200)]
Improve handling when a word is not found.

Show the most similar word, instead of always
the following word in the list.
This has the side-effect of ignoring any trailing
dots or other garbage as in issue #80.

6 years agoReorder menu items to be more logical.
Reimar Döffinger [Sat, 14 Apr 2018 19:03:00 +0000 (21:03 +0200)]
Reorder menu items to be more logical.

Mostly follows suggestion in issue #59.

6 years agoUpdate to latest stable gradle tool version.
Reimar Döffinger [Sat, 14 Apr 2018 18:39:14 +0000 (20:39 +0200)]
Update to latest stable gradle tool version.

6 years agoCorrected some minor typos
Henning Francke [Wed, 11 Apr 2018 08:49:29 +0000 (10:49 +0200)]
Corrected some minor typos

6 years agoAdd AR-ES dictionary.
Reimar Döffinger [Mon, 26 Feb 2018 20:24:36 +0000 (21:24 +0100)]
Add AR-ES dictionary.

6 years agoNewer versions of build tools, support library etc.
Reimar Döffinger [Wed, 10 Jan 2018 19:30:47 +0000 (20:30 +0100)]
Newer versions of build tools, support library etc.

6 years agoAnother fix for text colour.
Reimar Döffinger [Wed, 10 Jan 2018 19:30:17 +0000 (20:30 +0100)]
Another fix for text colour.

6 years agoBump version for next release.
Reimar Döffinger [Wed, 10 Jan 2018 19:01:43 +0000 (20:01 +0100)]
Bump version for next release.

6 years agoSimplify LayoutParams.
Reimar Döffinger [Tue, 26 Dec 2017 12:02:16 +0000 (13:02 +0100)]
Simplify LayoutParams.

6 years agoSet text color for TextViews.
Reimar Döffinger [Mon, 8 Jan 2018 11:02:19 +0000 (12:02 +0100)]
Set text color for TextViews.

This was previously set partially for some text only, via
Spans which got lost in 4b0aa089555e54ebc9bf26f58096fb808b72420b.

Fixes issue #82.

6 years agoBump version and ID.
Reimar Döffinger [Mon, 11 Dec 2017 00:23:27 +0000 (01:23 +0100)]
Bump version and ID.

6 years agoPut language buttons in Layout for better performance.
Reimar Döffinger [Mon, 11 Dec 2017 00:19:25 +0000 (01:19 +0100)]
Put language buttons in Layout for better performance.

6 years agoMinor cleanup of DictionaryManager ListView adapter.
Reimar Döffinger [Sun, 10 Dec 2017 23:19:52 +0000 (00:19 +0100)]
Minor cleanup of DictionaryManager ListView adapter.

6 years agoRefactor adding bold spans.
Reimar Döffinger [Sun, 10 Dec 2017 23:02:07 +0000 (00:02 +0100)]
Refactor adding bold spans.

6 years agoSimplify adding a ClickableLink span.
Reimar Döffinger [Sun, 10 Dec 2017 22:57:01 +0000 (23:57 +0100)]
Simplify adding a ClickableLink span.

6 years agoSkippable optimization also for HtmlEntry.
Reimar Döffinger [Sun, 10 Dec 2017 22:33:04 +0000 (23:33 +0100)]
Skippable optimization also for HtmlEntry.

6 years agoUse singletonList for better performance.
Reimar Döffinger [Sun, 10 Dec 2017 21:56:16 +0000 (22:56 +0100)]
Use singletonList for better performance.

6 years agoMake use of the new skippable CachingList optimizations.
Reimar Döffinger [Sun, 10 Dec 2017 21:43:01 +0000 (22:43 +0100)]
Make use of the new skippable CachingList optimizations.

6 years agoSimplify NonLinkClickableSpan.
Reimar Döffinger [Sun, 10 Dec 2017 21:20:24 +0000 (22:20 +0100)]
Simplify NonLinkClickableSpan.

6 years agoRemove some unnecessary/nonsense checks.
Reimar Döffinger [Sun, 10 Dec 2017 17:59:50 +0000 (18:59 +0100)]
Remove some unnecessary/nonsense checks.

6 years agoUpdate Gradle version.
Reimar Döffinger [Sun, 10 Dec 2017 12:27:49 +0000 (13:27 +0100)]
Update Gradle version.

6 years agoRe-enable aapt2 again at v27.
Reimar Döffinger [Thu, 16 Nov 2017 20:58:14 +0000 (21:58 +0100)]
Re-enable aapt2 again at v27.

v27 should contain a workaround for the system crashes
the previous version could trigger with some buggy
Android versions.
The workaround consists in always encoding strings as
UTF-16 in the xml files, not UTF-8.

6 years agoBump versions for crashfix release.
Reimar Döffinger [Thu, 16 Nov 2017 20:23:48 +0000 (21:23 +0100)]
Bump versions for crashfix release.

6 years agoDisable aapt2.
Reimar Döffinger [Thu, 16 Nov 2017 20:20:39 +0000 (21:20 +0100)]
Disable aapt2.

It seems to cause whole-system crashes on many
older Android versions.

6 years agoUpdate release script.
Reimar Döffinger [Mon, 6 Nov 2017 20:30:48 +0000 (21:30 +0100)]
Update release script.

In new gradle version, the output is in the
release/ subdirectory.

6 years agoBump version code.
Reimar Döffinger [Mon, 6 Nov 2017 20:24:11 +0000 (21:24 +0100)]
Bump version code.

6 years agoAdd DE-TH dictionary.
Reimar Döffinger [Mon, 6 Nov 2017 20:05:32 +0000 (21:05 +0100)]
Add DE-TH dictionary.

6 years agoEnsure there is no ListAdapter using the closed file.
Reimar Döffinger [Sun, 5 Nov 2017 19:54:02 +0000 (20:54 +0100)]
Ensure there is no ListAdapter using the closed file.

6 years agoBump app versions.
Reimar Döffinger [Sun, 5 Nov 2017 18:53:42 +0000 (19:53 +0100)]
Bump app versions.

6 years agoOptimize word list ListView part 3.
Reimar Döffinger [Sun, 5 Nov 2017 18:51:28 +0000 (19:51 +0100)]
Optimize word list ListView part 3.

Set various spans BEFORE setting the TextView text.
Avoids doing a second reflow once the spans have been set.

6 years agoOptimize word list ListView part 2.
Reimar Döffinger [Sun, 5 Nov 2017 18:22:33 +0000 (19:22 +0100)]
Optimize word list ListView part 2.

Also re-use the TableLayout and contained
TextViews as much as possible.

6 years agoOptimize word list ListView part 1.
Reimar Döffinger [Sun, 5 Nov 2017 18:06:08 +0000 (19:06 +0100)]
Optimize word list ListView part 1.

Do not put simple TextViews in a TableLayout.
Also avoid re-creating them over and over.

6 years agoRemove some margins that seem a bit overkill.
Reimar Döffinger [Sun, 5 Nov 2017 15:46:14 +0000 (16:46 +0100)]
Remove some margins that seem a bit overkill.

6 years agoTool and library updates.
Reimar Döffinger [Sun, 5 Nov 2017 14:42:52 +0000 (15:42 +0100)]
Tool and library updates.

6 years agoAlways set and unset DICT_FILE and INDEX_SHORT_NAME together.
Reimar Döffinger [Wed, 1 Nov 2017 22:12:31 +0000 (23:12 +0100)]
Always set and unset DICT_FILE and INDEX_SHORT_NAME together.

6 years agoRemove dead code.
Reimar Döffinger [Wed, 1 Nov 2017 22:08:09 +0000 (23:08 +0100)]
Remove dead code.

The search token was saved and restored to shared preferences
for no reason at all.