MarKco
6e845b5482
Convert DateUtils to Kotlin
...
Keep converting utils classes.
In order to make DateUtils work properly with java/kotlin
interoperability I changed the type of the localeWeekdayList array in
FrequencyChart from int[] to Integer[] and explicitly referenced
DateUtils in HeaderView
5 years ago
MarKco
1db37a64c2
Merge remote-tracking branch 'upstream/dev' into dev
5 years ago
MarKco
dc3065bfaa
Convert StringUtils to Kotlin
...
Keep converting utils classes.
Class StringUtils is converted from Java to Kotlin. Companion object
functions are annotated @JvmStatic in order to make them callable from
Java codebase as static methods.
5 years ago
Alinson S. Xavier
6f2b2ab883
Remove Google AutoFactory; expand Dagger imports
...
Fixes #681
5 years ago
MarKco
4edc5ec5d7
Class MidnightTimer is now open
...
Apparently Mockito v.2.28.2 still can't handle mocking of kotlin classes
properly because kotlin classes are closed by default. While waiting
for the proper fix we open the MidnightTimer class.
Please refer to the pull request discussion on
https://github.com/iSoron/uhabits/pull/699
5 years ago
MarKco
2caa4de55d
Convert MidnightTimer to Kotlin
...
Part of the conversion to Kotlin of the whole
org.jsoron.uhabits.core.utils package.
5 years ago
MarKco
d49916263a
Convert DateFormats to Kotlin
...
Starting to convert to Kotlin the whole org.jsoron.uhabits.core.utils
package. First is DateFormats.
5 years ago
Alinson S. Xavier
13826f4934
ShowHabitActivity: Move presenters and view models to uhabits-core
5 years ago
Alinson S. Xavier
1cdbc53dc5
EntryList: simplify groupBy
5 years ago
Alinson S. Xavier
51b9517897
EntryList: remove getValues
5 years ago
Alinson S. Xavier
a74a4b390b
StreakList: Return copy of list, instead of a view to original list
5 years ago
Alinson S. Xavier
79b134164a
Convert remaining core.io classes to Kotlin
5 years ago
Alinson S. Xavier
9087025418
Reformat all Kotlin files with ktlint; add check to build script
5 years ago
Alinson S. Xavier
298bb01762
Convert some core.io classes to Kotlin
5 years ago
Alinson S. Xavier
a02c7bdc44
Convert core.database classes to Kotlin
5 years ago
Alinson S. Xavier
feb3c98459
Convert HabitMatcher, Reminder and Streak to Kotlin
5 years ago
Alinson S. Xavier
4d3c5ad732
Convert HabitNotFoundException to Kotlin
5 years ago
Alinson S. Xavier
307ff5c1ca
Convert Frequency to Kotlin
5 years ago
Alinson S. Xavier
3b86a17b49
Simplify StreakList
5 years ago
Alinson S. Xavier
54fe849eef
Remove MemoryStreakList.java
5 years ago
Alinson S. Xavier
c023711d16
Convert ScoreList to Kotlin
5 years ago
Alinson S. Xavier
9bc0f44777
ScoreList: Remove groupBy functions
5 years ago
Alinson S. Xavier
4a3a767cb2
ScoreList: Recompute given interval
5 years ago
Alinson S. Xavier
d0c37fef67
ScoreList: Remove reference to Habit
5 years ago
Alinson S. Xavier
11863cd7b0
Simplify ScoreList
5 years ago
Alinson S. Xavier
1c696e2561
Remove MemoryScoreList
5 years ago
Alinson S. Xavier
43c5e450a8
Convert Score to Kotlin
5 years ago
Alinson S. Xavier
0a84d8a1d8
ScoreList: Remove ModelObservable
5 years ago
Alinson S. Xavier
354a4d08be
buildEntriesFromInterval: selectively copy over
5 years ago
Alinson S. Xavier
b8aa322691
EntryList: Fix tests
5 years ago
Alinson S. Xavier
8b8e9d3980
EntryList: Make groupBy always return thousandths
5 years ago
Alinson S. Xavier
a19f39308e
Fixes to BarCard
5 years ago
Alinson S. Xavier
0b23fbed86
Fix tests
5 years ago
Alinson S. Xavier
2e4a82418f
Fix usage of singular/plural in alert messages
...
Closes #405
Closes #131
5 years ago
Alinson S. Xavier
bd70746278
Fix UUID generation
5 years ago
Alinson S. Xavier
e8238b5ed7
Enable widget stacks for all users
5 years ago
Alinson S. Xavier
0a5622c78e
Simplify all command and convert them to Kotlin
5 years ago
Alinson S. Xavier
373f21e247
Simplify CommandRunner and convert it to Kotlin
5 years ago
Alinson S. Xavier
7173381d9b
Rename Entries to EntryList
5 years ago
Alinson S. Xavier
78f31a65d4
Remove EntryList
5 years ago
Alinson S. Xavier
2e19fee83c
Replace invalidateNewerThan by recompute; add newComputedEntries
5 years ago
Alinson S. Xavier
f6754ff180
Implement Entries.getValues
5 years ago
Alinson S. Xavier
3f74c77755
Replace RepetitionList by Entries
5 years ago
Alinson S. Xavier
c904e22c0f
Implement SQLiteEntries; rename RepetitionRecord to EntryRecord
5 years ago
Alinson S. Xavier
0f2f010f94
EditHabitCommand: Notify listeners
5 years ago
Alinson S. Xavier
cf2989d587
Refactor Habit
5 years ago
Alinson S. Xavier
94c78ebb72
Write cleaner version of EntryList
5 years ago
Alinson S. Xavier
d9be39b839
Remove MemoryRepetitionList
5 years ago
Alinson S. Xavier
7fcad7b5c5
Remove MemoryEntryList
5 years ago
Alinson S. Xavier
cfeef3651f
Remove ModelObservable from EntryList
5 years ago