0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 12:02:16 +02:00
Commit Graph

8737 Commits

Author SHA1 Message Date
Mike Hardy
11b3028388 Move minSdkVersion to 15 2018-05-09 11:00:03 +09:00
Mike Hardy
af28520185 Removing unused legacy preferences file 2018-05-09 11:00:03 +09:00
Mike Hardy
e91cab5cd4 removed all isHoneycomb() use, removed obsolete workarounds + related logic/resources 2018-05-09 11:00:03 +09:00
Mike Hardy
13c27a6a1f minSdkVersion = 15, refactored compatibility classes to match 2018-05-09 11:00:03 +09:00
Tim Rae
b98f52d667
Revert edd43f6 (#4827)
This reverts commit edd43f6785.
2018-04-20 11:56:40 +09:00
Timothy Rae
2b0ef9ccf0 Bumped version to 2.9alpha19
@branch-specific
2018-03-09 20:15:39 +09:00
Mike Hardy
1e760bc633 Decrease targetSdkVersion to pre-26 / 8.0, avoids background limits (#4795) 2018-03-08 17:39:12 +09:00
Mike Hardy
15153b5efc Updating versions for buildtools and gson dependency (#4792) 2018-03-08 17:38:32 +09:00
Jordan Cleeve
161ef99ab3 Added card repositioning (#4763)
Can now reposition the card from the note edit context menu
2018-03-08 15:58:44 +09:00
Mike Hardy
2c8adfab51 Change notifications to setRepeating, may fix issue #4525 2018-02-26 10:50:13 +09:00
Mike Hardy
063b1de017 in-place sed editing not cross-platform, use perl, fixes #4777 2018-01-29 12:59:14 +09:00
Mike Hardy
e6eb737a40 Add tool to build typical parallel packages
Uses the names used for the previous parallel builds so should
generate 3 new builds that should work as upgrades for the old parallel builds
2017-12-19 12:01:53 +09:00
Mike Hardy
70a8550d8d Alter parallel rename sed to skip backup files
If you use "sed -i -e" it creates backup files with extension '-e' for every edit
This was breaking the build (on MacOS 10.13 + AndroidStudio at least)
I changed it to "-i ''" (zero-length backup extension) so no backup was created
2017-12-19 12:01:53 +09:00
Timothy Rae
c93073fd41 Bumped version to 2.9alpha18
@branch-specific
2017-12-15 23:09:04 +09:00
Mike Hardy
4217076d81 updated tool to correctly scrape current format of crowdin.com project translations status 2017-12-15 15:05:58 +09:00
Tim Rae
de4a8a372f
Delete straggling constant DIALOG_CURSOR_SIZE_LIMIT_EXCEEDED 2017-12-15 14:59:26 +09:00
Timothy Rae
59f46fe5ae Remove the adb install hack
This was for Travis but I don't think it ever worked
2017-12-15 13:51:05 +09:00
Timothy Rae
3e78697111 Update compileSdkVersion and libraries to 26
Also updated to gradle 4
2017-12-15 13:51:05 +09:00
Timothy Rae
3001879dbf Remove exceededCursorSizeLimit check
The cursor size limit issue was fixed by c8c2d159c5
2017-12-15 13:51:05 +09:00
Timothy Rae
9a480e6174 Fix bug starting boot service without storage permission 2017-12-15 13:51:05 +09:00
Timothy Rae
67a3bdef72 Bumped version to 2.9alpha17
@branch-specific
2017-12-15 06:36:16 +09:00
Mike Hardy
35227093d7 Use StringBuffer.append() in loop for performance reasons 2017-12-12 15:05:25 +09:00
Mike Hardy
5351ed332a Further work on #4691
parameterized new loadModels method from dae so it could load any column,
used new parameterized method to load models as before, but also to
load decks, as hinted by timrae
2017-12-12 15:05:25 +09:00
Damien Elmes
c8c2d159c5 load note types in chunks (#4744)
fixes #4691 et al

editing the template seems to work, so the size limit only appears to
be when reading the column, not writing to it
2017-12-11 21:53:36 +09:00
LeopoldKellers
8223d04a91 Add multitouch capabilities to whiteboard for interfacing a card under it (#4728)
This makes the whiteboard more ergonomic (in my subjective opinion).
Related issue: https://github.com/ankidroid/Anki-Android/issues/4522
Summing up, when keeping one finger on the whiteboard while it is activated, it is now possible to use a second finger to scroll the card behind the whiteboard or tap onto one of its elements.
2017-12-02 13:40:55 +09:00
Timothy Rae
3e74c3d895 Bumped version to 2.9alpha14
@branch-specific
2017-11-12 07:28:31 +09:00
Jimmy Rishe
edd43f6785 Proposed fix for #4624 - fix scrolling when showing answer (#4734) 2017-11-12 07:24:39 +09:00
Timothy Rae
8bf61267f0 Bump minimum sdk to 14 (Android 4.0) 2017-11-10 22:24:10 +09:00
Timothy Rae
33cf443213 Bumped version to 2.9alpha13
@branch-specific
2017-11-10 22:14:57 +09:00
Thomas Rebele
9d414ba7a2 support pictures in subfolders (#4711) 2017-11-10 22:13:31 +09:00
Timothy Rae
427038cb70 Bumped version to 2.9alpha12
@branch-specific
2017-11-10 21:59:45 +09:00
LePlatos
4af6a6844d Use SVG images of LaTeX formulas, when specified (#4724)
This works the same way as the current Anki 2.1 code:
- if the note type specifies it, look for an svg file
- otherwise, look for a png one
2017-11-10 21:57:06 +09:00
Timothy Rae
43ed00df05 Bumped version to 2.9alpha11
@branch-specific
2017-11-10 21:34:56 +09:00
Wojciech Śmigaj
3947a5151e #1463 Recognize TTS elements in questions and answers. (#4677)
If the question or answer contains any <tts> elements with the 'service'
attribute set to 'android', then only the text enclosed in these elements
is read aloud using the text-to-speech engine. The 'voice' attribute can
be used to specify the language of the text (details below). If no
<tts service='android'> elements are present in the question or answer,
the user is asked to select the language from a list (as before). <tts>
elements with other values of the 'service' attribute are ignored, which
makes it possible to use the same card format with AnkiDroid and with
the AwesomeTTS add-on to the desktop Anki application (each ignoring
unrecognised services).

'voice' attributes should be given in the format used by the
Locale.toString() function, i.e.

language_code + "_" + country_code [+ "_" + variant_code]

(the second underscore and the variant are optional and typically
unnecessary). Typical examples: en_US, en_GB, fr_FR.

Full example:

<tts service="android" voice="de_DE">{{Back}}</tts> (pl. {{Plural}})

Here only the contents of the 'Back' field are read aloud (in German); the
contents of the 'Plural' field are only displayed, not read.
2017-11-09 13:01:35 +09:00
Tim Rae
4e79fc8f80
Note that there was an error on exception during media sync (#4730) 2017-11-09 07:47:08 +09:00
tsudoko
8f7ecd3258 Include filename in IOExceptions thrown by Utils.writeToFile() (#4718)
Makes it easier to find out which file causes an IOException when
the user does a media sync or import.
2017-11-07 12:02:36 +09:00
Profpatsch
ce0404d757 WIP: Search in Card Browser for highlighted text from Review mode (#4708)
Add ACTION_PROCESS_TEXT capability to CardBrowser
2017-10-06 11:23:39 +09:00
Issei Suzuki
39118e7462 Fix a crash bug on some Android N devices. (#4706) 2017-09-17 07:52:18 +09:00
Timothy Rae
7ea1a66f8b Bumped version to 2.9alpha10
@branch-specific
2017-09-14 08:57:01 +09:00
Timothy Rae
b450a4af30 Use Chinese docs when Chinese language set
Fixes #4575
2017-09-14 08:52:24 +09:00
Timothy Rae
83a2ac8949 Update documentation links to use "docs.ankidroid.org" subdomain 2017-09-14 08:52:24 +09:00
Timothy Rae
01779852c5 Bumped version to 2.9alpha9
@branch-specific
2017-09-14 07:06:40 +09:00
Roland Illig
86fe649bba Clean up Beolingus parser (#4704)
Two regular expressions are worth 80 lines of code.
The newly added test also worked with the old code,
except that the old code for detecting the MP3 file
could only handle English pages.
2017-09-14 06:58:51 +09:00
Felix Ableitner
711e41f3cb Show notifications even when app is in background (fixes #4615) (#4697)
* Show notifications even when app is in background (fixes #4615)

* call correct receiver, dont run BootService more than once

* handle settings changes

* curly braces
2017-09-13 13:41:49 +09:00
Timothy Rae
4603ae2cfe Bumped version to 2.9alpha8
@branch-specific
2017-09-13 03:58:16 +09:00
Timothy Rae
876fc096b9 Updated strings from Crowdin 2017-09-13 03:48:10 +09:00
Rodrigo Bresan
6600c4a964 Avoid creating a new deck when user renames a note type (#4703) 2017-09-13 03:44:36 +09:00
Tim Rae
3c0d4158cf Use android 5.1 to build on the CI
We don't want to mess with SDK 23 permissions yet in the CI, and it seems the image names have changed anyway
2017-09-13 03:31:14 +09:00
Tim Rae
06eee1ab56 Update .travis.yml 2017-09-13 03:20:44 +09:00
llunak
aa2158fb92 round days in the weekly breakdown down to whole weeks (#4692)
Since this is a weekly breakdown, if the data is not rounded down to whole
weeks then recent weekdays will get one day worth of extra data, skewing
the statistic by as much as 25%.
2017-09-12 19:01:01 +09:00