]>
gitweb.fperrin.net Git - Dictionary.git/log
Reimar Döffinger [Sat, 14 Apr 2018 18:39:14 +0000 (20:39 +0200)]
Update to latest stable gradle tool version.
Henning Francke [Wed, 11 Apr 2018 08:49:29 +0000 (10:49 +0200)]
Corrected some minor typos
Reimar Döffinger [Mon, 26 Feb 2018 20:24:36 +0000 (21:24 +0100)]
Add AR-ES dictionary.
Reimar Döffinger [Wed, 10 Jan 2018 19:30:47 +0000 (20:30 +0100)]
Newer versions of build tools, support library etc.
Reimar Döffinger [Wed, 10 Jan 2018 19:30:17 +0000 (20:30 +0100)]
Another fix for text colour.
Reimar Döffinger [Wed, 10 Jan 2018 19:01:43 +0000 (20:01 +0100)]
Bump version for next release.
Reimar Döffinger [Tue, 26 Dec 2017 12:02:16 +0000 (13:02 +0100)]
Simplify LayoutParams.
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.
Reimar Döffinger [Mon, 11 Dec 2017 00:23:27 +0000 (01:23 +0100)]
Bump version and ID.
Reimar Döffinger [Mon, 11 Dec 2017 00:19:25 +0000 (01:19 +0100)]
Put language buttons in Layout for better performance.
Reimar Döffinger [Sun, 10 Dec 2017 23:19:52 +0000 (00:19 +0100)]
Minor cleanup of DictionaryManager ListView adapter.
Reimar Döffinger [Sun, 10 Dec 2017 23:02:07 +0000 (00:02 +0100)]
Refactor adding bold spans.
Reimar Döffinger [Sun, 10 Dec 2017 22:57:01 +0000 (23:57 +0100)]
Simplify adding a ClickableLink span.
Reimar Döffinger [Sun, 10 Dec 2017 22:33:04 +0000 (23:33 +0100)]
Skippable optimization also for HtmlEntry.
Reimar Döffinger [Sun, 10 Dec 2017 21:56:16 +0000 (22:56 +0100)]
Use singletonList for better performance.
Reimar Döffinger [Sun, 10 Dec 2017 21:43:01 +0000 (22:43 +0100)]
Make use of the new skippable CachingList optimizations.
Reimar Döffinger [Sun, 10 Dec 2017 21:20:24 +0000 (22:20 +0100)]
Simplify NonLinkClickableSpan.
Reimar Döffinger [Sun, 10 Dec 2017 17:59:50 +0000 (18:59 +0100)]
Remove some unnecessary/nonsense checks.
Reimar Döffinger [Sun, 10 Dec 2017 12:27:49 +0000 (13:27 +0100)]
Update Gradle version.
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.
Reimar Döffinger [Thu, 16 Nov 2017 20:23:48 +0000 (21:23 +0100)]
Bump versions for crashfix release.
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.
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.
Reimar Döffinger [Mon, 6 Nov 2017 20:24:11 +0000 (21:24 +0100)]
Bump version code.
Reimar Döffinger [Mon, 6 Nov 2017 20:05:32 +0000 (21:05 +0100)]
Add DE-TH dictionary.
Reimar Döffinger [Sun, 5 Nov 2017 19:54:02 +0000 (20:54 +0100)]
Ensure there is no ListAdapter using the closed file.
Reimar Döffinger [Sun, 5 Nov 2017 18:53:42 +0000 (19:53 +0100)]
Bump app versions.
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.
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.
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.
Reimar Döffinger [Sun, 5 Nov 2017 15:46:14 +0000 (16:46 +0100)]
Remove some margins that seem a bit overkill.
Reimar Döffinger [Sun, 5 Nov 2017 14:42:52 +0000 (15:42 +0100)]
Tool and library updates.
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.
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.
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.
Reimar Döffinger [Wed, 1 Nov 2017 21:50:28 +0000 (22:50 +0100)]
Some updates to readme file, to reflect e.g. use of submodule.
Reimar Döffinger [Sat, 2 Sep 2017 19:14:55 +0000 (21:14 +0200)]
Bump version again.
Reimar Döffinger [Sat, 2 Sep 2017 19:13:48 +0000 (21:13 +0200)]
Sanity-limit allocations.
Reimar Döffinger [Sat, 2 Sep 2017 19:04:55 +0000 (21:04 +0200)]
Improvements to unzip and install code.
Request more permissions if necessary,
and do not delete shared files.
Reimar Döffinger [Sat, 2 Sep 2017 18:12:22 +0000 (20:12 +0200)]
Extended error messages and additional null checks.
Reimar Döffinger [Sat, 2 Sep 2017 17:59:38 +0000 (19:59 +0200)]
Add DE-RO dictionary.
Reimar Döffinger [Sat, 2 Sep 2017 17:50:05 +0000 (19:50 +0200)]
Fix HtmlEntry for v6 dictionaries.
Reimar Döffinger [Sun, 20 Aug 2017 14:39:03 +0000 (16:39 +0200)]
Avoid null in Intent, just in case.
Reimar Döffinger [Sun, 20 Aug 2017 14:05:10 +0000 (16:05 +0200)]
Bump version for next release.
Reimar Döffinger [Sun, 20 Aug 2017 14:04:01 +0000 (16:04 +0200)]
Add menu item to download dictionaries in browser.
Fallback when DownloadManager has issues, which is all
too frequent.
Reimar Döffinger [Sun, 20 Aug 2017 13:51:45 +0000 (15:51 +0200)]
Support installing local dictionary zip files.
Has app show up as an open option from e.g.
browser.
Reimar Döffinger [Sun, 20 Aug 2017 12:38:49 +0000 (14:38 +0200)]
Support opening .quickdic files from file manager.
Reimar Döffinger [Sat, 19 Aug 2017 15:34:58 +0000 (17:34 +0200)]
Fix error message when download manager in unavailable.
Reimar Döffinger [Sun, 13 Aug 2017 11:42:20 +0000 (13:42 +0200)]
Bump version and targetSdkVersion
Reimar Döffinger [Sun, 13 Aug 2017 11:40:27 +0000 (13:40 +0200)]
Update DE-RU dictionary with fixes.
Reimar Döffinger [Sun, 13 Aug 2017 11:38:06 +0000 (13:38 +0200)]
Bump buildTools and targetSdkVersion.
Reimar Döffinger [Sun, 13 Aug 2017 11:37:07 +0000 (13:37 +0200)]
Implement "equals" for Pair class.
Allows preventing duplicates more easily.
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.
Reimar Döffinger [Sat, 5 Aug 2017 08:05:43 +0000 (10:05 +0200)]
Add AR-TR dictionary.
Reimar Döffinger [Sat, 5 Aug 2017 08:05:23 +0000 (10:05 +0200)]
Add "synchronized" to initialization function, just in case.
Reimar Döffinger [Sat, 5 Aug 2017 08:04:57 +0000 (10:04 +0200)]
Work around Android bug causing crashes.
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.
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.
Reimar Döffinger [Sat, 24 Jun 2017 13:59:24 +0000 (15:59 +0200)]
Another version code bump.
Reimar Döffinger [Sat, 24 Jun 2017 13:52:04 +0000 (15:52 +0200)]
Avoid unnecessary use of startsWith.
Reimar Döffinger [Sat, 24 Jun 2017 13:26:56 +0000 (15:26 +0200)]
Allocate ArrayList to right size from the start.
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.
Reimar Döffinger [Sat, 24 Jun 2017 13:02:30 +0000 (15:02 +0200)]
Remove unnecessary qualifier.
Reimar Döffinger [Sat, 24 Jun 2017 13:02:02 +0000 (15:02 +0200)]
Buffer input/output streams.
Reimar Döffinger [Sat, 24 Jun 2017 12:47:15 +0000 (14:47 +0200)]
Prefer ordinary HashMap over LinkedHashMap.
Reimar Döffinger [Fri, 23 Jun 2017 21:31:39 +0000 (23:31 +0200)]
Bump version code.
Reimar Döffinger [Fri, 23 Jun 2017 21:29:37 +0000 (23:29 +0200)]
Try to work around ClassCastException issue.
Reimar Döffinger [Fri, 23 Jun 2017 21:12:05 +0000 (23:12 +0200)]
Bump version.
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.
Reimar Döffinger [Thu, 15 Jun 2017 17:12:22 +0000 (19:12 +0200)]
Bump version for release.
Reimar Döffinger [Thu, 15 Jun 2017 17:01:02 +0000 (19:01 +0200)]
Add russion to resConfigs.
Reimar Döffinger [Thu, 15 Jun 2017 15:00:01 +0000 (17:00 +0200)]
Merge pull request #69 from antonv6/l10n-ru
Russian translation
Anton Shestakov [Wed, 14 Jun 2017 03:28:55 +0000 (11:28 +0800)]
More error messages
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.
Reimar Döffinger [Tue, 13 Jun 2017 20:35:03 +0000 (22:35 +0200)]
Update gradle version.
Anton Shestakov [Tue, 13 Jun 2017 10:50:17 +0000 (18:50 +0800)]
Improve wording
Anton Shestakov [Sun, 4 Jun 2017 07:08:05 +0000 (15:08 +0800)]
Translate font types
Anton Shestakov [Sun, 4 Jun 2017 07:02:09 +0000 (15:02 +0800)]
Create values-ru/languages.xml
Anton Shestakov [Sun, 4 Jun 2017 05:09:25 +0000 (13:09 +0800)]
XML header
Anton Shestakov [Sun, 4 Jun 2017 05:09:11 +0000 (13:09 +0800)]
Reword some phrases
Anton Shestakov [Sun, 4 Jun 2017 04:51:37 +0000 (12:51 +0800)]
Create values-ru/strings.xml
Anton Shestakov [Sun, 4 Jun 2017 04:46:17 +0000 (12:46 +0800)]
Create values-ru/arrays.xml
Reimar Döffinger [Sat, 15 Apr 2017 20:25:51 +0000 (22:25 +0200)]
Set resConfigs to include strings only for supported languages.
Reimar Döffinger [Sat, 15 Apr 2017 20:18:26 +0000 (22:18 +0200)]
Add supportsRtl flag.
Reimar Döffinger [Sat, 15 Apr 2017 20:04:33 +0000 (22:04 +0200)]
Allow multi-window (untested).
Reimar Döffinger [Thu, 13 Apr 2017 21:02:15 +0000 (23:02 +0200)]
Add EN-cu dictionary.
Reimar Döffinger [Thu, 13 Apr 2017 20:54:29 +0000 (22:54 +0200)]
Update tools.
Reimar Döffinger [Tue, 4 Apr 2017 22:02:06 +0000 (00:02 +0200)]
Refine German translation as per issue #67.
Reimar Döffinger [Thu, 23 Mar 2017 22:29:57 +0000 (23:29 +0100)]
Add EN-scn.
Reimar Döffinger [Sun, 19 Mar 2017 20:44:00 +0000 (21:44 +0100)]
Bump version code for release.
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.
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.
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.
Reimar Döffinger [Sat, 18 Mar 2017 16:10:34 +0000 (17:10 +0100)]
Bump version.
Reimar Döffinger [Sat, 18 Mar 2017 15:45:04 +0000 (16:45 +0100)]
Update dependencies to newer versions.
Reimar Döffinger [Sat, 18 Mar 2017 15:38:07 +0000 (16:38 +0100)]
Add hack to make binary search a bit more robust.
Reimar Döffinger [Sat, 18 Mar 2017 15:37:21 +0000 (16:37 +0100)]
Try hack to improve pre-launch testing.
Reimar Döffinger [Sat, 11 Feb 2017 18:46:15 +0000 (19:46 +0100)]
Bump version.
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.
Reimar Döffinger [Sat, 11 Feb 2017 18:16:20 +0000 (19:16 +0100)]
Update to fix for PT dictionary.