Commit Graph

334 Commits

Author SHA1 Message Date
Alinson S. Xavier
2a5725f382
Small tweaks to CheckmarkWidget padding and aspect ratio 2021-08-21 06:17:13 -05:00
Alinson S. Xavier
edeabb6ee3
Update CHANGELOG and release notes 2021-08-21 05:07:57 -05:00
Alinson S. Xavier
24a9fbe414
Update translations 2021-08-21 04:57:07 -05:00
Quentin Hibon
f8c7abfff4 Use 'entered' instead of 'completed' when ? or skips are enabled 2021-08-06 06:14:16 -05:00
Quentin Hibon
b9eb244b0b Introduce HabitType and NumericalHabitType enums 2021-08-06 05:48:15 -05:00
Quentin Hibon
91ff5f7a0c Use empty array instead of sentinel value -1 as habitId 2021-08-03 08:38:07 +02:00
Quentin Hibon
67b55a4ecf Fix off-by-one bug in StackWidgetService 2021-08-03 08:38:07 +02:00
Quentin Hibon
a5ae2eaa63 Improve one 'when' 2021-08-03 08:37:44 +02:00
Quentin Hibon
0bc2a8b6d4 Handle target widget type in stacked widget
Fixes #965.
2021-08-03 08:28:29 +02:00
Alinson S. Xavier
705dfb9cbd
Bitmap.createBitmap: Ensure width, height > 0
Fixes #966
2021-07-31 15:46:17 -05:00
Alinson S. Xavier
d0ef749f19
StackWidget: Raise exception instead of returning invalid default value 2021-07-31 15:07:43 -05:00
Alinson S. Xavier
b54711243f
Remove color.toThemedAndroidColor
Fixes #907
2021-07-31 14:18:50 -05:00
Alinson S. Xavier
37f03aca37
Merge branch 'hotfix/2.0.3' into dev 2021-07-31 12:49:01 -05:00
Quentin Hibon
271de59a94
Use notification timestamp when pressing "no"
Fixes #969.
2021-07-31 12:47:09 -05:00
Quentin Hibon
64966d3c86 Bumps org.jlleitschuh.gradle.ktlint from 10.0.0 to 10.1.0 2021-06-09 12:06:35 +02:00
Alinson S. Xavier
be51538704
Avoid calling textPaint.getTextBounds repeatedly
This operation seems to be very expensive on some Samsung phones,
which causes ANRs.

Fixes #962
2021-06-05 18:19:03 -05:00
Alinson S. Xavier
89b24911ba
Fix imports 2021-06-05 18:18:25 -05:00
Alinson S. Xavier
1cf71b3973
Use dark theme in HabitPickerDialog.kt
Fixes #916
2021-06-05 17:26:55 -05:00
Alinson S. Xavier
2fe3b15806
Fix small issues with the pure black theme 2021-06-05 17:17:27 -05:00
Alinson S. Xavier
33468bfc1c
Improve automatic checkmarks for monthly habits
Fixes #947
2021-06-05 16:54:13 -05:00
Alinson S. Xavier
12c76245e6
Merge branch 'master' into dev 2021-05-23 17:47:14 -05:00
Alinson S. Xavier
afad56ab91
Update test screenshots; automatically fetch 2021-05-23 15:34:59 -05:00
Alinson S. Xavier
88f8581acc
Make CheckmarkWidget resizable; remove fixed aspect ratio 2021-05-23 11:49:49 -05:00
Alinson S. Xavier
b33dd2a994
Ensure RingView.diameter is never zero
In rare cases, it seems either that `onDraw` is called before `onMeasure` or
that `onMeasure` is called with a view that has zero height/width. This causes
`reallocateCache` to produce an IllegalArgumentException. This patch ensures
that diameter is never zero.

Fixes #904
2021-05-23 11:21:49 -05:00
Alinson S. Xavier
d87961d800
Fix missing placeholder in some translations; update remaining ones
Fixes #926
2021-05-23 10:50:26 -05:00
Alinson S. Xavier
38d2606d6d
Fix IllegalStateException in androidx.customview.view
Fixes #906
2021-05-22 12:53:03 -05:00
sumanabhi
b1c53bd820
Added the Decimal Support while entering target for any Habit. 2021-05-21 19:40:47 -05:00
Alinson S. Xavier
c973f93424
Fix small issues with font size 2021-05-15 20:22:42 -05:00
Alinson S. Xavier
fcadbe7c38
Handle numerical habits with target value of zero
Fixes #903
2021-05-15 20:11:20 -05:00
Alinson S. Xavier
59a4d7552c
Update translations; reorganize play/listings 2021-05-09 18:03:04 -05:00
Alinson S. Xavier
dd1999681f
Small adjustments to numeric checkmark widget 2021-05-09 16:24:59 -05:00
Alinson S. Xavier
63883032c4
Update screenshots and description 2021-04-29 21:32:17 -05:00
Alinson S. Xavier
61529fde4d
Update translations 2021-04-29 19:02:35 -05:00
Alinson S. Xavier
a7845c9290
Make large-tests pass on API 23 2021-04-26 21:21:51 -05:00
Alinson S. Xavier
1feefe107c
Make large-tests pass on API 25 2021-04-26 18:28:37 -05:00
Alinson S. Xavier
2728c311d8
Large tests: Make compatible with API 27 2021-04-25 19:45:02 -05:00
Alinson S. Xavier
b561dfe90d
GitHub Actions: Large tests 2021-04-24 21:27:01 -05:00
Alinson S. Xavier
53a40b2cfa
Update translations 2021-04-22 23:18:42 -05:00
Alinson S. Xavier
98ce802f87
Remove useless statement 2021-04-22 23:11:41 -05:00
Alinson S. Xavier
853b4275be
Parse translators from Crowdin report; group by language
Fixes #669
2021-04-22 23:06:35 -05:00
Alinson S. Xavier
df4355c072
Switch to androidx.preference.PreferenceManger 2021-04-18 22:17:25 -05:00
Alinson S. Xavier
33c3feb11a
Make FrequencyPickerDialog translatable 2021-04-18 10:34:35 -05:00
Alinson S. Xavier
5dd9f43464
Update translations 2021-04-18 09:57:34 -05:00
Alinson S. Xavier
4a13623b2c
Update translations 2021-04-18 09:26:12 -05:00
Alinson S. Xavier
6b368bffdf
Update measurable_example 2021-04-18 09:09:46 -05:00
Alinson S. Xavier
8d87988871
Add arrows to sort menu 2021-04-18 09:02:40 -05:00
Alinson S. Xavier
256ca13dca
Small tweaks to preferences screen; restore default accent color 2021-04-18 07:29:03 -05:00
Alinson S. Xavier
b0c5552cfa
Remove unused imports 2021-04-17 22:01:17 -05:00
Alinson S. Xavier
616ab4861d
CheckmarkWidget: Always show circle
Fixes #790
2021-04-17 21:56:50 -05:00
Alinson S. Xavier
fcff067b2e
DatePicker: Implement dark theme
Fixes #858
2021-04-17 21:52:00 -05:00
Alinson S. Xavier
da018fc64d
Temporarily remove device sync 2021-04-17 19:53:24 -05:00
Quentin Hibon
6af2edb690
Delete v21 resources (#864) 2021-04-01 06:12:37 -05:00
Alinson S. Xavier
071b6bd090 HeaderView: Fix padding 2021-03-18 22:23:58 -05:00
Alinson S. Xavier
8b2285787c Fix numerical spinner in BarCardView 2021-03-18 22:09:54 -05:00
Alinson S. Xavier
c83cd5fd10 Render YES_AUTO as outlined checkmark 2021-03-18 22:04:23 -05:00
Alinson S. Xavier
381c67d020 Allow unitless numerical habits 2021-03-18 22:04:23 -05:00
Alinson S. Xavier
81cffc7253 Fix dialog text color 2021-03-18 22:04:23 -05:00
Alinson S. Xavier
e745b959ca Fix multiple selection 2021-03-18 22:04:23 -05:00
Quentin Hibon
9c81f22a4d
Start snooze activity after later is selected from lock screen (#840)
Fixes #787.
2021-03-15 08:34:42 -05:00
Alinson S. Xavier
51947576aa HistoryEditorDialog: Use system theme 2021-03-14 09:17:26 -05:00
Alinson S. Xavier
7b68938e14 ButtonView: Adjust size of question marks 2021-03-13 18:45:18 -06:00
Alinson S. Xavier
ee462715de Use different colors for YES_AUTO and NO; increase contrast slightly 2021-03-13 18:44:04 -06:00
Alinson S. Xavier
a95da72e19 Attempt to make EntryPanelViewTest less flaky 2021-03-13 16:58:27 -06:00
Alinson S. Xavier
3ece80f3da Remove unused class and resource 2021-03-13 16:35:27 -06:00
Quentin Hibon
fc26d7967f
Make validation errors readable (#837)
Fixes #757.
2021-03-10 20:37:43 -06:00
Alinson S. Xavier
9b753b07f8 Temporarily disable flaky test 2021-03-10 20:25:06 -06:00
Quentin Hibon
96f87df052
Implement task to generate translator layout from a text file (#759)
Related to #669
2021-02-22 07:46:52 -06:00
Alinson S. Xavier
c53997ffcc Update fa_star_half_o unicode 2021-02-13 09:02:17 -06:00
Alinson S. Xavier
11d55bbf02 Write failing tests for EmptyListViewTest 2021-02-13 09:01:54 -06:00
Quentin Hibon
50ebff3edf Adapt message when all habits are completed
Closes #700.
2021-02-13 08:14:40 -06:00
Alinson S. Xavier
8e1aa3d01e
Merge pull request #784 from hiqua/fontawesome
Upgrade fontawesome to 5.15.2
2021-02-13 08:12:25 -06:00
Quentin Hibon
b1da72dc3a
Bump org.jlleitschuh.gradle.ktlint from 9.4.1 to 10.0.0 (#786) 2021-02-12 07:07:39 -06:00
Quentin Hibon
91bd17bb9e Upgrade fontawesome to 5.15.2 2021-02-10 16:06:55 +01:00
Quentin Hibon
8790c0e87b Delete snooze_interval preference 2021-02-09 10:14:25 +01:00
Quentin Hibon
bc461e1239 Restore notification sound customization setting
For devices older than Android Oreo, notification sound customization has been
disabled since aadfac68cd. We enable it again.

Fixes #766.
2021-02-09 09:22:53 +01:00
Alinson S. Xavier
129c86a030 about.xml: Sort developers by number of commits 2021-01-31 11:35:44 -06:00
Alinson S. Xavier
e4121b2564 Merge branch 'master' into dev 2021-01-30 21:41:14 -06:00
Alinson S. Xavier
c006659ba4 Use Nexus 4 screen size in build.sh; adjust BackupSteps accordingly 2021-01-30 19:42:10 -06:00
Alinson S. Xavier
5be2c51d79 Regression tests: minor code cleanup 2021-01-30 19:22:32 -06:00
Quentin Hibon
2dcce080d3 Set dataOffset when attaching a new CardView
Fixes #713.
2021-01-30 18:36:07 -06:00
Quentin Hibon
6c3b4135c2 Implement test reproducing #713 2021-01-30 18:36:07 -06:00
Alinson S. Xavier
48c1adb3bb HabitCardListAdapter: Return copy of list of selected items
Previously, HabitCardListAdapter returned a pointer to the list, instead of a
copy. By the time other parts of the application were reading the list, its
contents had already changed. This prevented the user from deleting or
archiving habits.
2021-01-30 10:28:42 -06:00
Alinson S. Xavier
89bde4c9ae verifyDisplayGraphs: Update class names 2021-01-30 09:49:35 -06:00
Alinson S. Xavier
a7e2e0e8da Acceptance tests: fix imports; remove unused function 2021-01-30 08:45:43 -06:00
Alinson S. Xavier
a6c9ea22e6 Merge branch 'midnight_delay_option_2' into dev 2021-01-27 20:06:44 -06:00
Alinson S. Xavier
5767817de2 Midnight delay: Make text shorter 2021-01-27 20:06:31 -06:00
Alinson S. Xavier
f36bc788c7
Merge pull request #740 from hiqua/sdk_30
Increase targetSdk to 30
2021-01-27 19:59:13 -06:00
Quentin Hibon
4a2fb2ac47
Fix visual glitch on popups when using dark theme (#730) 2021-01-27 07:11:40 -06:00
Quentin Hibon
2d943b5942 Fix signature of onSharedPreferenceChanged
The 'key' argument is null when called from android.app.SharedPreferencesImpl.
2021-01-27 12:09:23 +01:00
Quentin Hibon
dd4e0ee6f9 Increase targetSdk to 30 2021-01-27 11:00:50 +01:00
Quentin Hibon
bb8d4abb9e Implement the midnight delay option
Closes #694.
2021-01-27 09:52:28 +01:00
Quentin Hibon
df30c7c764 Disable transparency for stacked widgets
Closes #687.
2021-01-26 20:06:12 -06:00
Alinson S. Xavier
25d3587545 Add hiqua to list of developers 2021-01-25 06:51:26 -06:00
Quentin Hibon
f1c88797a3 Clean up code after conversions 2021-01-25 12:18:05 +01:00
Quentin Hibon
f882e18be9 Convert BaseUserInterfaceTest 2021-01-25 12:18:05 +01:00
Quentin Hibon
0fc9bb57ae Convert BaseViewTest 2021-01-25 12:18:05 +01:00
Quentin Hibon
22dcd9f7ae Convert AndroidTaskRunner 2021-01-25 12:18:05 +01:00
Quentin Hibon
7d361b2203 Convert Task and TaskRunner 2021-01-25 12:18:05 +01:00
Quentin Hibon
2bfbff9b14 Convert ExportDBTask and ImportDataTask 2021-01-25 12:18:05 +01:00
Quentin Hibon
9a72141567 Convert PerformanceTest 2021-01-25 12:18:05 +01:00