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

8477 Commits

Author SHA1 Message Date
Tim Rae
c7b588d9cf Merge pull request #4303 from timrae/appbar-npe
Fix NPE in updateScreenCounts()
2016-05-29 12:01:52 +09:00
Tim Rae
50c4853e31 Merge pull request #4302 from timrae/undo-button
Don't immediately switch to normal undo on empty whiteboard undo queue
2016-05-29 11:34:07 +09:00
Timothy Rae
5dccee3535 Fix NPE in updateScreenCounts() 2016-05-29 11:29:16 +09:00
Timothy Rae
163fdb0968 Don't immediately switch to normal undo on empty whiteboard undo queue 2016-05-29 08:55:30 +09:00
Houssam Salem
40c6f7c97d Merge pull request #4300 from hssm/support-libs
Roll back support libs
2016-05-27 18:14:57 +10:00
Houssam Salem
c76b539981 Roll back support libs
Might fix the FAB repositioning issue.
2016-05-27 17:48:14 +10:00
Tim Rae
d7460e4ef2 Merge pull request #4299 from hssm/current-deck-fragment
Correctly update interface after tapping unreviewable deck
2016-05-25 15:16:52 +09:00
Houssam Salem
93b249bb98 Correctly update interface after tapping unreviewable deck
Fixes inconsistencies with the currently selected deck, the currently
highlighted deck in the deck list, and the study options fragment (if
visible).
2016-05-25 15:54:42 +10:00
Houssam Salem
b7b0bae842 Merge pull request #4298 from hssm/deckoptions-fix
Restart DeckOptions only after listener returns
2016-05-24 18:20:38 +10:00
Houssam Salem
69b321b7ba Restart DeckOptions only after listener returns
Fixes a crash on Android 2.3 when changing options group.
2016-05-24 18:04:57 +10:00
Houssam Salem
58ede90db3 Merge pull request #4295 from jvanprehn/answer-buttons-remove-cumulative-statistics
Remove cumulative lines from "Answer Buttons" stats graph
2016-05-23 11:48:57 +10:00
jvanprehn
21a556f34c Remove cumulative lines from "Answer Buttons" stats graph (https://github.com/ankidroid/Anki-Android/issues/3506) 2016-05-22 12:44:32 +02:00
Tim Rae
1fc061331f Merge pull request #4289 from rabinv/api-insert-null
Handle null from ContentResolver insert in API
2016-05-19 09:17:28 +09:00
Rabin Vincent
b2cde8fa44 Handle null from ContentResolver insert in API
We need to check for modelUri being null before passing it to
Uri.withAppendedPath().
2016-05-18 20:44:44 +02:00
Houssam Salem
65bdb6b7d1 Merge pull request #4288 from hssm/support-libs2
Update support libraries
2016-05-18 14:43:15 +10:00
Houssam Salem
c68a9f335e Update support libraries 2016-05-18 14:25:19 +10:00
Houssam Salem
dbba949ad0 Merge pull request #4287 from jvanprehn/statistics-legend-order
Move "Cram" bar to top in Review Count/Review Time & fix legend order
2016-05-18 14:14:18 +10:00
Houssam Salem
26346ec4be Merge pull request #4286 from hssm/stats-nan
Fix NaN in overview stats calculations
2016-05-17 16:37:19 +10:00
Houssam Salem
d0c0029e39 Fix NaN in overview stats calculations 2016-05-17 13:04:17 +10:00
Houssam Salem
7564e341b2 Merge pull request #4282 from jvanprehn/pie-chart-rotation-and-legend
Make pie chart rotation direction, legend order and legend text consistent with Anki Desktop
2016-05-17 12:46:02 +10:00
Houssam Salem
db5edafa5a Merge pull request #4285 from hssm/overview-stats-more
Add forecast to the overview statistics
2016-05-17 12:25:20 +10:00
jvanprehn
4917ff138c - Move "Cram" bar to top in Review Count/Review Time (solves https://github.com/ankidroid/Anki-Android/issues/4277)
- Make order in which legend items are shown consistent with Anki Desktop (reverse order for done & due charts, but keep cumulative as last item)
2016-05-16 21:48:17 +02:00
jvanprehn
e754ec71a2 - Make pieces of the "Cards Types" pie chart start from the same position (12 o' clock, was 3 o'clock) and move in the same direction (clockwise, was anti-clockwise) as in Anki Desktop (solves https://github.com/ankidroid/Anki-Android/issues/3349)
- Make the order of the legend's elements in the statistics charts deterministic (solves https://github.com/ankidroid/Anki-Android/issues/3349)
- Change text of legend item "Suspended" in the "Cards Types" pie chart start to "Suspended+Buried" (solves https://github.com/ankidroid/Anki-Android/issues/3349 and https://github.com/ankidroid/Anki-Android/issues/3562)

- Explain the algorithm used for calculating ticks in ChartBuilder
- Explain why we use LinkedHashMap instead of HashMap (to retain order of Legend Items)
- Adhere to code conventions

- Behave consistently with Anki Desktop in case of no reviews. In that case the pie chart should not be shown at all (it was all yellow). This was reported between the lines of this issue:https://github.com/ankidroid/Anki-Android/issues/3384

- Replace if / else by (mSum == 0) ? 1 : mSum
2016-05-16 14:22:04 +02:00
Houssam Salem
6911cfc9f6 Add forecast to the overview statistics
Also rename the "Progress" block to "Added" to match the desktop.
2016-05-16 12:35:28 +10:00
Tim Rae
983296b169 Update ISSUE_TEMPLATE.md
Formatting
2016-05-16 06:04:40 +09:00
Tim Rae
4cb801c40f Update ISSUE_TEMPLATE.md 2016-05-16 05:59:51 +09:00
Tim Rae
d195fbe045 Update ISSUE_TEMPLATE.md
Formatting
2016-05-16 05:39:55 +09:00
Tim Rae
f304e250b2 Update ISSUE_TEMPLATE.md 2016-05-13 11:10:28 +09:00
Tim Rae
6cc5d208ce Update and rename CONTRIBUTING.asc to ISSUE_TEMPLATE.md
https://github.com/blog/2111-issue-and-pull-request-templates
2016-05-13 11:08:43 +09:00
Timothy Rae
6a8439e57e Bumped version to 2.6beta1
@branch-specific
2016-05-08 22:05:50 +09:00
Timothy Rae
a2330aecfe Updated strings from Crowdin 2016-05-08 22:04:04 +09:00
Timothy Rae
0f48a3cc50 Bumped version to 2.6alpha37
@branch-specific
2016-05-08 17:42:53 +09:00
Tim Rae
8caebc295a Merge pull request #4276 from hssm/fragment-launch-activity
Use parent activity of fragment to start activities for result
2016-05-08 17:40:30 +09:00
Houssam Salem
8adc5c79e7 Use parent activity of fragment to start activities for result
Because the parent activity is what receives the result, and the request
code would be modified if the fragment is the one that launches it.
2016-05-08 18:12:39 +10:00
Timothy Rae
3026e14f36 Bumped version to 2.6alpha36
@branch-specific
2016-05-08 05:20:06 +09:00
Tim Rae
58c24bb9c6 Merge pull request #4273 from timrae/fullscreen-prekitkat
Fix some bugs with fullscreen mode on old APIs
2016-05-08 05:18:27 +09:00
Timothy Rae
07c47389ef Fix some bugs with fullscreen mode on old APIs
* The immersive mode layouts should not be used below KitKat
* The layout margins are ignored in Gingerbread without layout_gravity set
* Also renamed isSystemUiVisible() to make the meaning a bit more clear
2016-05-08 05:14:45 +09:00
Tim Rae
41ba3e115e Merge pull request #4272 from hssm/disabled-prefs-style
Use selector with disabled color for prefs text color
2016-05-08 04:57:21 +09:00
Houssam Salem
36a5a8a37b Use selector with disabled color for prefs text color
Allows disabled preferences to have a more suitable disabled color.
2016-05-08 05:42:02 +10:00
Timothy Rae
ab76f283a6 Bumped version to 2.6alpha35
@branch-specific
2016-05-08 04:16:18 +09:00
Timothy Rae
503c01830b Updated strings from Crowdin 2016-05-08 04:09:35 +09:00
Tim Rae
f8a4d7d875 Merge pull request #4271 from timrae/drawer-enable-reviewer
Enable drawer swipe when whiteboard / gestures enabled
2016-05-08 04:03:04 +09:00
Timothy Rae
a60f6a8290 Enable drawer swipe when whiteboard / gestures enabled 2016-05-08 03:58:30 +09:00
Timothy Rae
87ce79529c Bumped version to 2.6alpha34
@branch-specific
2016-05-08 03:23:19 +09:00
Tim Rae
81c1a836f0 Merge pull request #4270 from hssm/audio-record-fixes
Fix audio recording not saving and cases where recorder stops
2016-05-08 02:47:46 +09:00
Houssam Salem
fadb84a427 Fix audio recording not saving and cases where recorder stops
- Fixed audio not saving if recording is terminated with the "Save"
action icon.
- Fixed many cases where the recorder would become unusable after the
first use.
2016-05-08 03:01:19 +10:00
Houssam Salem
3a5923b0c2 Merge pull request #4269 from timrae/eraser-icon
Change whiteboard erase stroke icon to eraser
2016-05-08 01:01:31 +10:00
Timothy Rae
48a46335b7 Change whiteboard erase stroke icon to eraser 2016-05-07 23:37:03 +09:00
Tim Rae
b3b5de9666 Merge pull request #4268 from hssm/string-format-query
Fix query not using selectionArgs
2016-05-07 23:31:22 +09:00
Houssam Salem
d168d1ce8e Fix query not using selectionArgs
The attempted string format would always fail, making the block
below it inaccessible.
2016-05-08 00:21:07 +10:00