]> gitweb.fperrin.net Git - Dictionary.git/log
Dictionary.git
6 years agoImplement "equals" for Pair class.
Reimar Döffinger [Sun, 13 Aug 2017 11:37:07 +0000 (13:37 +0200)]
Implement "equals" for Pair class.

Allows preventing duplicates more easily.

6 years agoAdd CollatorWrapper to allow using different implementation.
Reimar Döffinger [Sat, 5 Aug 2017 18:30:58 +0000 (20:30 +0200)]
Add CollatorWrapper to allow using different implementation.

PC should use the ICU version explicitly, whereas
on Android java.text.Collator is based on ICU anyway
so we do not need to waste space including ICU.

6 years agoAdd AR-TR dictionary.
Reimar Döffinger [Sat, 5 Aug 2017 08:05:43 +0000 (10:05 +0200)]
Add AR-TR dictionary.

6 years agoAdd "synchronized" to initialization function, just in case.
Reimar Döffinger [Sat, 5 Aug 2017 08:05:23 +0000 (10:05 +0200)]
Add "synchronized" to initialization function, just in case.

6 years agoWork around Android bug causing crashes.
Reimar Döffinger [Sat, 5 Aug 2017 08:04:57 +0000 (10:04 +0200)]
Work around Android bug causing crashes.

6 years agoAvoid inheriting from Application.
Reimar Döffinger [Tue, 27 Jun 2017 20:25:17 +0000 (22:25 +0200)]
Avoid inheriting from Application.

Supposedly this is best practice (a bit doubtful about
that) but it is a brute-force approach to try fixing
the ClassCastException issues.

6 years agoMove code using ISO to language resources into IsoUtils.
Reimar Döffinger [Tue, 27 Jun 2017 19:32:11 +0000 (21:32 +0200)]
Move code using ISO to language resources into IsoUtils.

Part of effort to reduce size and complexity of
DictionaryApplication class.

6 years agoAnother version code bump.
Reimar Döffinger [Sat, 24 Jun 2017 13:59:24 +0000 (15:59 +0200)]
Another version code bump.

6 years agoAvoid unnecessary use of startsWith.
Reimar Döffinger [Sat, 24 Jun 2017 13:52:04 +0000 (15:52 +0200)]
Avoid unnecessary use of startsWith.

6 years agoAllocate ArrayList to right size from the start.
Reimar Döffinger [Sat, 24 Jun 2017 13:26:56 +0000 (15:26 +0200)]
Allocate ArrayList to right size from the start.

6 years agoOptimize resolveClass a bit.
Reimar Döffinger [Sat, 24 Jun 2017 13:17:05 +0000 (15:17 +0200)]
Optimize resolveClass a bit.

Short evaluation is possible a bit more often.

6 years agoRemove unnecessary qualifier.
Reimar Döffinger [Sat, 24 Jun 2017 13:02:30 +0000 (15:02 +0200)]
Remove unnecessary qualifier.

6 years agoBuffer input/output streams.
Reimar Döffinger [Sat, 24 Jun 2017 13:02:02 +0000 (15:02 +0200)]
Buffer input/output streams.

6 years agoPrefer ordinary HashMap over LinkedHashMap.
Reimar Döffinger [Sat, 24 Jun 2017 12:47:15 +0000 (14:47 +0200)]
Prefer ordinary HashMap over LinkedHashMap.

6 years agoBump version code.
Reimar Döffinger [Fri, 23 Jun 2017 21:31:39 +0000 (23:31 +0200)]
Bump version code.

6 years agoTry to work around ClassCastException issue.
Reimar Döffinger [Fri, 23 Jun 2017 21:29:37 +0000 (23:29 +0200)]
Try to work around ClassCastException issue.

6 years agoBump version.
Reimar Döffinger [Fri, 23 Jun 2017 21:12:05 +0000 (23:12 +0200)]
Bump version.

6 years agoFix performance of unpacking zip files.
Reimar Döffinger [Fri, 23 Jun 2017 21:09:02 +0000 (23:09 +0200)]
Fix performance of unpacking zip files.

Unfortunately the zip functions absolutely need
the input stream to be buffered, or performance will
be very bad.
Also the zip read functions return very short reads
(< 1 kB on average), so we need to buffer them up
to get a usable write size.
Using a FileChannel improves performance a little
bit in addition, but it's probably the least
critical change.

6 years agoBump version for release.
Reimar Döffinger [Thu, 15 Jun 2017 17:12:22 +0000 (19:12 +0200)]
Bump version for release.

6 years agoAdd russion to resConfigs.
Reimar Döffinger [Thu, 15 Jun 2017 17:01:02 +0000 (19:01 +0200)]
Add russion to resConfigs.

6 years agoMerge pull request #69 from antonv6/l10n-ru
Reimar Döffinger [Thu, 15 Jun 2017 15:00:01 +0000 (17:00 +0200)]
Merge pull request #69 from antonv6/l10n-ru

Russian translation

6 years agoMore error messages
Anton Shestakov [Wed, 14 Jun 2017 03:28:55 +0000 (11:28 +0800)]
More error messages

6 years agoMore robust code to get display density.
Reimar Döffinger [Tue, 13 Jun 2017 20:35:28 +0000 (22:35 +0200)]
More robust code to get display density.

Hopefully avoids the occasional null pointer
exceptions triggered by the previous code.

6 years agoUpdate gradle version.
Reimar Döffinger [Tue, 13 Jun 2017 20:35:03 +0000 (22:35 +0200)]
Update gradle version.

6 years agoImprove wording
Anton Shestakov [Tue, 13 Jun 2017 10:50:17 +0000 (18:50 +0800)]
Improve wording

6 years agoTranslate font types
Anton Shestakov [Sun, 4 Jun 2017 07:08:05 +0000 (15:08 +0800)]
Translate font types

6 years agoCreate values-ru/languages.xml
Anton Shestakov [Sun, 4 Jun 2017 07:02:09 +0000 (15:02 +0800)]
Create values-ru/languages.xml

6 years agoXML header
Anton Shestakov [Sun, 4 Jun 2017 05:09:25 +0000 (13:09 +0800)]
XML header

6 years agoReword some phrases
Anton Shestakov [Sun, 4 Jun 2017 05:09:11 +0000 (13:09 +0800)]
Reword some phrases

6 years agoCreate values-ru/strings.xml
Anton Shestakov [Sun, 4 Jun 2017 04:51:37 +0000 (12:51 +0800)]
Create values-ru/strings.xml

6 years agoCreate values-ru/arrays.xml
Anton Shestakov [Sun, 4 Jun 2017 04:46:17 +0000 (12:46 +0800)]
Create values-ru/arrays.xml

7 years agoSet resConfigs to include strings only for supported languages.
Reimar Döffinger [Sat, 15 Apr 2017 20:25:51 +0000 (22:25 +0200)]
Set resConfigs to include strings only for supported languages.

7 years agoAdd supportsRtl flag.
Reimar Döffinger [Sat, 15 Apr 2017 20:18:26 +0000 (22:18 +0200)]
Add supportsRtl flag.

7 years agoAllow multi-window (untested).
Reimar Döffinger [Sat, 15 Apr 2017 20:04:33 +0000 (22:04 +0200)]
Allow multi-window (untested).

7 years agoAdd EN-cu dictionary.
Reimar Döffinger [Thu, 13 Apr 2017 21:02:15 +0000 (23:02 +0200)]
Add EN-cu dictionary.

7 years agoUpdate tools.
Reimar Döffinger [Thu, 13 Apr 2017 20:54:29 +0000 (22:54 +0200)]
Update tools.

7 years agoRefine German translation as per issue #67.
Reimar Döffinger [Tue, 4 Apr 2017 22:02:06 +0000 (00:02 +0200)]
Refine German translation as per issue #67.

7 years agoAdd EN-scn.
Reimar Döffinger [Thu, 23 Mar 2017 22:29:57 +0000 (23:29 +0100)]
Add EN-scn.

7 years agoBump version code for release.
Reimar Döffinger [Sun, 19 Mar 2017 20:44:00 +0000 (21:44 +0100)]
Bump version code for release.

7 years agoMake thread priority setting actually work.
Reimar Döffinger [Sun, 19 Mar 2017 20:39:25 +0000 (21:39 +0100)]
Make thread priority setting actually work.

Also tune the priority value for better results.

7 years agoFix too course locking that broke startup optimization.
Reimar Döffinger [Sun, 19 Mar 2017 19:56:32 +0000 (20:56 +0100)]
Fix too course locking that broke startup optimization.

Fixes issue #35.

7 years agoNormalizeComparator: improve type, support null normalizer.
Reimar Döffinger [Sun, 19 Mar 2017 18:05:59 +0000 (19:05 +0100)]
NormalizeComparator: improve type, support null normalizer.

Useful for using it without a transliterator, in
case that one is not up yet.

7 years agoBump version.
Reimar Döffinger [Sat, 18 Mar 2017 16:10:34 +0000 (17:10 +0100)]
Bump version.

7 years agoUpdate dependencies to newer versions.
Reimar Döffinger [Sat, 18 Mar 2017 15:45:04 +0000 (16:45 +0100)]
Update dependencies to newer versions.

7 years agoAdd hack to make binary search a bit more robust.
Reimar Döffinger [Sat, 18 Mar 2017 15:38:07 +0000 (16:38 +0100)]
Add hack to make binary search a bit more robust.

7 years agoTry hack to improve pre-launch testing.
Reimar Döffinger [Sat, 18 Mar 2017 15:37:21 +0000 (16:37 +0100)]
Try hack to improve pre-launch testing.

7 years agoBump version.
Reimar Döffinger [Sat, 11 Feb 2017 18:46:15 +0000 (19:46 +0100)]
Bump version.

7 years agoFix disappearing action buttons.
Reimar Döffinger [Sat, 11 Feb 2017 18:44:14 +0000 (19:44 +0100)]
Fix disappearing action buttons.

When displaying the empty view, for some reason
the action buttons are on the bottom behind the
keyboard.
windowSoftInputMode="adjustResize" seems to work
as a hacky workaround.
Fixes issue #63.

7 years agoUpdate to fix for PT dictionary.
Reimar Döffinger [Sat, 11 Feb 2017 18:16:20 +0000 (19:16 +0100)]
Update to fix for PT dictionary.

7 years agoAdd ES and PT dictionaries.
Reimar Döffinger [Sat, 11 Feb 2017 18:03:27 +0000 (19:03 +0100)]
Add ES and PT dictionaries.

7 years agoUse viewport meta tag in HTML.
Reimar Döffinger [Sat, 11 Feb 2017 18:03:07 +0000 (19:03 +0100)]
Use viewport meta tag in HTML.

7 years agoApply font size also in WebView.
Reimar Döffinger [Sat, 11 Feb 2017 18:02:41 +0000 (19:02 +0100)]
Apply font size also in WebView.

7 years agoPrefer language names built-in in Android.
Reimar Döffinger [Sat, 11 Feb 2017 17:30:35 +0000 (18:30 +0100)]
Prefer language names built-in in Android.

At least 2.3 doesn't recognize e.g. cmn though,
so keep our own list still.
Fixes issue #55.

7 years agoFix french language name for RO.
Reimar Döffinger [Sat, 11 Feb 2017 16:57:20 +0000 (17:57 +0100)]
Fix french language name for RO.

7 years agoSwitch Util to a git submodule.
Reimar Döffinger [Sat, 21 Jan 2017 17:15:50 +0000 (18:15 +0100)]
Switch Util to a git submodule.

Main purpose is to ease things for F-Droid.

7 years agoMerge pull request #61 from mueller-ma/patch-1
Reimar Döffinger [Thu, 5 Jan 2017 12:38:36 +0000 (13:38 +0100)]
Merge pull request #61 from mueller-ma/patch-1

Removed dots and renamed "default" theme to "dark (default)"

7 years agofix #58
mueller-ma [Sun, 1 Jan 2017 16:57:50 +0000 (17:57 +0100)]
fix #58

7 years agoRemoved dots, see #59
mueller-ma [Sun, 1 Jan 2017 16:54:26 +0000 (17:54 +0100)]
Removed dots, see #59

7 years agoMerge pull request #60 from mueller-ma/remove-dots-menu
Reimar Döffinger [Sun, 1 Jan 2017 15:36:58 +0000 (16:36 +0100)]
Merge pull request #60 from mueller-ma/remove-dots-menu

Removed dots in menu

7 years agoMerge branch 'master' into remove-dots-menu
Reimar Döffinger [Sun, 1 Jan 2017 15:36:42 +0000 (16:36 +0100)]
Merge branch 'master' into remove-dots-menu

7 years agoMerge pull request #57 from mueller-ma/update-ger
Reimar Döffinger [Sun, 1 Jan 2017 15:29:11 +0000 (16:29 +0100)]
Merge pull request #57 from mueller-ma/update-ger

updated german translation

7 years agoRemoved dots, see #59
mueller-ma [Sun, 1 Jan 2017 11:35:14 +0000 (12:35 +0100)]
Removed dots, see #59

7 years agoupdated german translation
mueller-ma [Sun, 1 Jan 2017 11:23:40 +0000 (12:23 +0100)]
updated german translation

added suggestions from rdoeffinger

7 years agoupdated german translation
mueller-ma [Tue, 27 Dec 2016 17:20:17 +0000 (18:20 +0100)]
updated german translation

7 years agoVery minor fixes to format spec.
Reimar Döffinger [Sun, 18 Dec 2016 22:17:22 +0000 (23:17 +0100)]
Very minor fixes to format spec.

7 years agoBump version.
Reimar Döffinger [Sat, 17 Dec 2016 16:19:20 +0000 (17:19 +0100)]
Bump version.

7 years agoFix "thorn" issue in English-Norwegian dictionary.
Reimar Döffinger [Sat, 17 Dec 2016 16:18:51 +0000 (17:18 +0100)]
Fix "thorn" issue in English-Norwegian dictionary.

7 years agoUpdate gradle version.
Reimar Döffinger [Sat, 17 Dec 2016 15:50:57 +0000 (16:50 +0100)]
Update gradle version.

7 years agoAdd FR-PT dictionary.
Reimar Döffinger [Tue, 13 Dec 2016 21:57:20 +0000 (22:57 +0100)]
Add FR-PT dictionary.

7 years agoAdd preliminary dictionary format spec.
Reimar Döffinger [Wed, 16 Nov 2016 23:55:08 +0000 (00:55 +0100)]
Add preliminary dictionary format spec.

7 years agoAdd some metadata for Android TV.
Reimar Döffinger [Mon, 14 Nov 2016 00:39:55 +0000 (01:39 +0100)]
Add some metadata for Android TV.

7 years agoEnable keyboard-only navigation to HTML entries.
Reimar Döffinger [Mon, 14 Nov 2016 00:16:04 +0000 (01:16 +0100)]
Enable keyboard-only navigation to HTML entries.

7 years agoFix OnItemClick when using keyboard navigation.
Reimar Döffinger [Sun, 13 Nov 2016 22:58:42 +0000 (23:58 +0100)]
Fix OnItemClick when using keyboard navigation.

7 years agoAdd code to speak full left/right side entries.
Reimar Döffinger [Sun, 13 Nov 2016 19:59:50 +0000 (20:59 +0100)]
Add code to speak full left/right side entries.

7 years agoSome improvements to keyboard navigation.
Reimar Döffinger [Sun, 13 Nov 2016 19:09:19 +0000 (20:09 +0100)]
Some improvements to keyboard navigation.

7 years agoAdd release scripts.
Reimar Döffinger [Sat, 12 Nov 2016 22:29:02 +0000 (23:29 +0100)]
Add release scripts.

7 years agoAnother version bump.
Reimar Döffinger [Sat, 12 Nov 2016 22:22:38 +0000 (23:22 +0100)]
Another version bump.

7 years agoPrefer XML click handling setup.
Reimar Döffinger [Sat, 12 Nov 2016 11:03:23 +0000 (12:03 +0100)]
Prefer XML click handling setup.

7 years agoApply astyle code formattting.
Reimar Döffinger [Tue, 8 Nov 2016 22:29:00 +0000 (23:29 +0100)]
Apply astyle code formattting.

7 years agoUI refinements.
Reimar Döffinger [Sun, 6 Nov 2016 16:37:21 +0000 (17:37 +0100)]
UI refinements.

Use small action buttons for consistency across
devices.
Disable fast scrolling on dictionary manager, it is
not very useful and interferes with the download buttons.

7 years agoGet rid of pointless double-caching.
Reimar Döffinger [Sun, 30 Oct 2016 00:17:07 +0000 (02:17 +0200)]
Get rid of pointless double-caching.

7 years agoList files only once, also avoids a potential race condition.
Reimar Döffinger [Sun, 30 Oct 2016 00:00:49 +0000 (02:00 +0200)]
List files only once, also avoids a potential race condition.

7 years agoFix PC version compilation, do not depend on Android code.
Reimar Döffinger [Sat, 29 Oct 2016 23:37:27 +0000 (01:37 +0200)]
Fix PC version compilation, do not depend on Android code.

7 years agoAvoid creating 100s of empty CachingLists.
Reimar Döffinger [Sat, 29 Oct 2016 23:23:04 +0000 (01:23 +0200)]
Avoid creating 100s of empty CachingLists.

7 years agoFix memleak if TTS initialization hangs.
Reimar Döffinger [Sat, 29 Oct 2016 23:11:07 +0000 (01:11 +0200)]
Fix memleak if TTS initialization hangs.

7 years agoTry to fix DictionaryActivity leaks.
Reimar Döffinger [Sat, 29 Oct 2016 22:49:56 +0000 (00:49 +0200)]
Try to fix DictionaryActivity leaks.

7 years agoDo not needlessly use Linked variants of HashSet/HashMap.
Reimar Döffinger [Sat, 29 Oct 2016 21:43:01 +0000 (23:43 +0200)]
Do not needlessly use Linked variants of HashSet/HashMap.

7 years agoRemove unnecessary class variables.
Reimar Döffinger [Sat, 29 Oct 2016 21:19:30 +0000 (23:19 +0200)]
Remove unnecessary class variables.

7 years agoCache Transliterators.
Reimar Döffinger [Sat, 29 Oct 2016 20:45:32 +0000 (22:45 +0200)]
Cache Transliterators.

Since Android is too stupid to do it by itself.
Improves performance of searching through all dictionaries
by more than 8x.

7 years agoFix spelling.
Reimar Döffinger [Sat, 29 Oct 2016 19:58:11 +0000 (21:58 +0200)]
Fix spelling.

7 years agoPreload the default Transliterator.
Reimar Döffinger [Sat, 29 Oct 2016 19:53:01 +0000 (21:53 +0200)]
Preload the default Transliterator.

7 years agoFix crash if File.list() returns null.
Reimar Döffinger [Sat, 29 Oct 2016 19:52:34 +0000 (21:52 +0200)]
Fix crash if File.list() returns null.

7 years agoSupport runtime permissions.
Reimar Döffinger [Sat, 29 Oct 2016 18:59:23 +0000 (20:59 +0200)]
Support runtime permissions.

7 years agoSupport selectable text on newer Android.
Reimar Döffinger [Sat, 29 Oct 2016 15:34:39 +0000 (17:34 +0200)]
Support selectable text on newer Android.

7 years agoTry to fix dictionary auto-selection.
Reimar Döffinger [Sat, 29 Oct 2016 15:14:22 +0000 (17:14 +0200)]
Try to fix dictionary auto-selection.

7 years agoFix directory/dictionary mixup.
Reimar Döffinger [Sat, 29 Oct 2016 15:01:13 +0000 (17:01 +0200)]
Fix directory/dictionary mixup.

7 years agoAdd option to sort downloaded dictionaries.
Reimar Döffinger [Sat, 29 Oct 2016 14:41:07 +0000 (16:41 +0200)]
Add option to sort downloaded dictionaries.

7 years agoUpdate help text a bit.
Reimar Döffinger [Sat, 29 Oct 2016 14:22:29 +0000 (16:22 +0200)]
Update help text a bit.

7 years agoSearch shared word across all dictionaries in order.
Reimar Döffinger [Sat, 29 Oct 2016 13:30:31 +0000 (15:30 +0200)]
Search shared word across all dictionaries in order.

7 years agoSupport sharing plain text content with dictionary.
Reimar Döffinger [Sat, 29 Oct 2016 12:44:48 +0000 (14:44 +0200)]
Support sharing plain text content with dictionary.