]>
git.ktnx.net Git - mobile-ledger.git/log
Damyan Ivanov [Fri, 19 Apr 2019 17:18:49 +0000 (20:18 +0300)]
unnecessary cast
Damyan Ivanov [Fri, 19 Apr 2019 17:16:48 +0000 (20:16 +0300)]
name intentionally unused variable as 'ignored'
it is used to hold the auto-closed resource
Damyan Ivanov [Fri, 19 Apr 2019 17:15:07 +0000 (20:15 +0300)]
missing not-null annotation
Damyan Ivanov [Fri, 19 Apr 2019 17:14:52 +0000 (20:14 +0300)]
remove unused code
Damyan Ivanov [Fri, 19 Apr 2019 17:03:00 +0000 (20:03 +0300)]
comment-out the account list options menu
not used since long, not sure if the account hiding will be
resurrected at some point
Damyan Ivanov [Fri, 19 Apr 2019 16:58:38 +0000 (19:58 +0300)]
hide the options drawer item
not really used, only takes up space and ands confusion
Damyan Ivanov [Fri, 19 Apr 2019 16:39:36 +0000 (19:39 +0300)]
collapseProfileList(): short-cut animations if the list was already collapsed
Damyan Ivanov [Fri, 19 Apr 2019 15:45:46 +0000 (18:45 +0300)]
whitespace
Damyan Ivanov [Fri, 19 Apr 2019 15:45:26 +0000 (18:45 +0300)]
more animations when collapsing profile list and when starting/editting list edit
Damyan Ivanov [Fri, 19 Apr 2019 15:26:18 +0000 (18:26 +0300)]
disable profile switching while the list is being edited/rearranged
Damyan Ivanov [Fri, 19 Apr 2019 15:18:43 +0000 (18:18 +0300)]
profile list: react on clicking on different parts of the profile row
notable the color tag and the space on the left
Damyan Ivanov [Tue, 16 Apr 2019 18:32:37 +0000 (21:32 +0300)]
revert unintentional change in text color
broken with
bb066b2d8c34d685fab6d43690dbf129fcf42cb6
Damyan Ivanov [Tue, 16 Apr 2019 18:29:26 +0000 (21:29 +0300)]
avoid multiple acc/trn list updating when switching profiles
Damyan Ivanov [Tue, 16 Apr 2019 18:26:12 +0000 (21:26 +0300)]
spare a transaction list reload upon changing of the account name filter from "" to null
Damyan Ivanov [Tue, 16 Apr 2019 18:23:00 +0000 (21:23 +0300)]
wrap Log.d calls, skipping them on non-debug builds
pro-guard doesn't seem to work and has some scary warnings for the
json parsing library
Damyan Ivanov [Tue, 16 Apr 2019 18:19:50 +0000 (21:19 +0300)]
missing not-null annotation
Damyan Ivanov [Tue, 16 Apr 2019 18:16:41 +0000 (21:16 +0300)]
private field
Damyan Ivanov [Tue, 16 Apr 2019 18:13:31 +0000 (21:13 +0300)]
nullability annotations
Damyan Ivanov [Tue, 16 Apr 2019 18:10:23 +0000 (21:10 +0300)]
whitespace
Damyan Ivanov [Tue, 16 Apr 2019 18:07:10 +0000 (21:07 +0300)]
migrate backgroundTaskCount to an atomic counter and "running" boolean LiveData
Damyan Ivanov [Tue, 16 Apr 2019 18:03:51 +0000 (21:03 +0300)]
lambdas
Damyan Ivanov [Tue, 16 Apr 2019 18:00:41 +0000 (21:00 +0300)]
add missing annotations
Damyan Ivanov [Tue, 16 Apr 2019 17:55:55 +0000 (20:55 +0300)]
unused variable
Damyan Ivanov [Tue, 16 Apr 2019 17:52:43 +0000 (20:52 +0300)]
migrate account name filter to LiveData
Damyan Ivanov [Tue, 16 Apr 2019 17:49:34 +0000 (20:49 +0300)]
migrate themeWatch to LiveData
Damyan Ivanov [Tue, 16 Apr 2019 17:46:25 +0000 (20:46 +0300)]
force profile observer notification when current profile is saved
to reflect possible changes in color/name/url
Damyan Ivanov [Tue, 16 Apr 2019 17:43:16 +0000 (20:43 +0300)]
drop unused code
Damyan Ivanov [Tue, 16 Apr 2019 17:40:07 +0000 (20:40 +0300)]
color selector: show selected sector (implement drawMarker)
Damyan Ivanov [Tue, 16 Apr 2019 17:36:54 +0000 (20:36 +0300)]
rework theme color spectrum to match the holy grail violet and get a darker yellow with readable white text
also, automate theme XML update
Damyan Ivanov [Tue, 16 Apr 2019 17:33:42 +0000 (20:33 +0300)]
add theme list start/end markers to aid automatic generation
Damyan Ivanov [Tue, 16 Apr 2019 17:27:33 +0000 (20:27 +0300)]
note wanted primary color in theme list
Damyan Ivanov [Thu, 18 Apr 2019 17:39:28 +0000 (20:39 +0300)]
drop unused resource definition
Damyan Ivanov [Tue, 16 Apr 2019 16:51:48 +0000 (19:51 +0300)]
whitepspace
Damyan Ivanov [Tue, 16 Apr 2019 16:51:30 +0000 (19:51 +0300)]
migrate lastUpdatedate to LiveData
re-inventing a pissibly brooken wheel doesn't sound like a good idea
Damyan Ivanov [Tue, 16 Apr 2019 03:21:53 +0000 (06:21 +0300)]
bg-BG translation for descriptions and feature graphic
Damyan Ivanov [Tue, 16 Apr 2019 03:21:38 +0000 (06:21 +0300)]
adjust feature graphic to better fit into f-droid client's interface
Damyan Ivanov [Tue, 16 Apr 2019 03:15:06 +0000 (06:15 +0300)]
add more "air" in the app icon, decreasing the image within the filled frame
Damyan Ivanov [Sat, 13 Apr 2019 20:36:25 +0000 (20:36 +0000)]
prepare 0.9.5/25 release
Damyan Ivanov [Sat, 13 Apr 2019 20:01:19 +0000 (23:01 +0300)]
mFragment may be null here
happened on 5.1.1
Damyan Ivanov [Sat, 13 Apr 2019 19:58:39 +0000 (22:58 +0300)]
use the standard "add" icon for the new transaction FAB
the thick plus was a bit out of place
Damyan Ivanov [Sat, 13 Apr 2019 19:57:16 +0000 (22:57 +0300)]
fix ring placement in the color selector dialog
worked fine on 7.1, but was empty on 5.1
Damyan Ivanov [Sat, 13 Apr 2019 18:45:28 +0000 (21:45 +0300)]
move two vector icons in anydpi directory
Damyan Ivanov [Sat, 13 Apr 2019 18:20:29 +0000 (21:20 +0300)]
improvement in the color selection UI
keep initial and current colors separately. these are two different things
initial is the current profile color, current is the currently selected
color in the color selector, also used by the color selector icon
Damyan Ivanov [Sat, 13 Apr 2019 14:32:35 +0000 (14:32 +0000)]
prepare 0.9.4/24 release
Damyan Ivanov [Fri, 12 Apr 2019 15:11:08 +0000 (18:11 +0300)]
fix first run experience
hide the no profiles screen and show the main screen when the
first profile is created
properly trigger a data retrieval operation
also when the data is stale
Damyan Ivanov [Fri, 12 Apr 2019 15:09:38 +0000 (18:09 +0300)]
whitespace
Damyan Ivanov [Fri, 12 Apr 2019 15:08:05 +0000 (18:08 +0300)]
developer menu item for wiping all local profile data
Damyan Ivanov [Fri, 12 Apr 2019 14:57:24 +0000 (17:57 +0300)]
a bit of padding on the no profiles screen
Damyan Ivanov [Fri, 12 Apr 2019 14:05:21 +0000 (17:05 +0300)]
hook profile list expansion/collapsing on tap at runtime
seems to fail on older devices otherwise
Damyan Ivanov [Fri, 12 Apr 2019 14:04:04 +0000 (17:04 +0300)]
Stop trying to create app shortcuts on pre 7.1 devices, fixing a crash
Damyan Ivanov [Fri, 12 Apr 2019 14:03:21 +0000 (17:03 +0300)]
remove unused code
Damyan Ivanov [Wed, 10 Apr 2019 21:00:35 +0000 (00:00 +0300)]
bump matching transaction limit to 150
for when some deep histiry is changed
Damyan Ivanov [Wed, 10 Apr 2019 20:59:56 +0000 (23:59 +0300)]
upgrade some libraries
Damyan Ivanov [Wed, 10 Apr 2019 20:13:00 +0000 (23:13 +0300)]
bump gradle version to 3.3.2
Damyan Ivanov [Wed, 10 Apr 2019 16:21:30 +0000 (19:21 +0300)]
prepare 0.9.3/23 rlease
Damyan Ivanov [Wed, 10 Apr 2019 16:04:27 +0000 (19:04 +0300)]
fixed last couple of glitchs when adding transaction via an app shortcut with the main app not running
Damyan Ivanov [Mon, 8 Apr 2019 18:29:45 +0000 (18:29 +0000)]
prepare 0.9.2 (22) release
Damyan Ivanov [Mon, 8 Apr 2019 18:29:24 +0000 (18:29 +0000)]
missing word in 0.9.1 change log
Damyan Ivanov [Mon, 8 Apr 2019 18:10:40 +0000 (21:10 +0300)]
fix account name auto-completion in new transaction screen started via shortcut
Damyan Ivanov [Sun, 7 Apr 2019 15:18:50 +0000 (15:18 +0000)]
use HTTPS for the hledger.org link
Damyan Ivanov [Sat, 6 Apr 2019 20:27:13 +0000 (23:27 +0300)]
update changelogs
Damyan Ivanov [Sat, 6 Apr 2019 20:23:25 +0000 (23:23 +0300)]
bump version name/code to 0.9.1/21
Damyan Ivanov [Sat, 6 Apr 2019 20:05:40 +0000 (23:05 +0300)]
use the activity's mProfile, not the global current profile in Data
fixes a problem when the new transaction activity is invoked via
an app shortcut and the main app is not running (and therefore there
is no global current profile
Damyan Ivanov [Thu, 4 Apr 2019 15:24:45 +0000 (18:24 +0300)]
update change logs
Damyan Ivanov [Thu, 4 Apr 2019 14:54:07 +0000 (17:54 +0300)]
legacy parser: fill amounts of synthetic parent accounts
hledger-web omits the parent account reporting only "par:sub" account
(no separate "par")
so far the code creates the parent account, but wasn't filling its
amounts
Damyan Ivanov [Thu, 4 Apr 2019 14:52:53 +0000 (17:52 +0300)]
LedgerAccount: fix NPE in getAmountCount() when there are no amounts
triggered by empty accounts without amounts
Damyan Ivanov [Thu, 4 Apr 2019 13:47:33 +0000 (16:47 +0300)]
whitespace
Damyan Ivanov [Thu, 4 Apr 2019 13:27:31 +0000 (16:27 +0300)]
a couple of possible memory leaks closed
Damyan Ivanov [Thu, 4 Apr 2019 13:00:01 +0000 (16:00 +0300)]
Profile list: block change notifications while moving items around
this avoids a refresh of the adapter, making the recycler view stop
the swapping dance
Damyan Ivanov [Thu, 4 Apr 2019 12:58:53 +0000 (15:58 +0300)]
ObservableList: add ability to block (delay) change notifications
Damyan Ivanov [Thu, 4 Apr 2019 11:35:06 +0000 (14:35 +0300)]
add app shortcuts (Android 7.1+) for adding new transaction for top profiles
Damyan Ivanov [Thu, 4 Apr 2019 11:33:21 +0000 (14:33 +0300)]
central method for retrieving a profile by its UUID
loads the profile list is not done before
Damyan Ivanov [Thu, 4 Apr 2019 10:54:40 +0000 (13:54 +0300)]
drop the "new account" new transaction screen menu item
new accounts are added automatically when needed
Damyan Ivanov [Thu, 4 Apr 2019 10:52:36 +0000 (13:52 +0300)]
activity names in manifest - without the full package prefix
maybe this is important for the shortcuts (to follow)
Damyan Ivanov [Thu, 4 Apr 2019 10:51:03 +0000 (13:51 +0300)]
drop the (now non-existing) profile list activity from manifest
Damyan Ivanov [Thu, 4 Apr 2019 07:14:49 +0000 (10:14 +0300)]
prepare change lists
Damyan Ivanov [Thu, 4 Apr 2019 07:14:35 +0000 (10:14 +0300)]
rename the drawer image
Damyan Ivanov [Thu, 4 Apr 2019 06:52:51 +0000 (09:52 +0300)]
better total management while parsing JSON transaction list
Damyan Ivanov [Thu, 4 Apr 2019 06:41:29 +0000 (09:41 +0300)]
more classes describing the /add API
Damyan Ivanov [Thu, 4 Apr 2019 06:41:06 +0000 (09:41 +0300)]
JSON transaction parser: detect file-order stream and disable the early termination logic
the early termination logic is useful when transactions come in reverse
chronological order -- newest first. seeing 50 known transactions
seems like a good criteria for terminating the parsing before the whole
stream is processed
however, the JSON API seems to return transactions in file order --
oldest first (by time of creation, not 'date' field). in this order
the newest (and thus unknown) transactions come last and the early
termination logic needs to be disabled
Damyan Ivanov [Thu, 4 Apr 2019 04:13:14 +0000 (07:13 +0300)]
JSON API for adding transactions
Damyan Ivanov [Thu, 4 Apr 2019 04:10:42 +0000 (07:10 +0300)]
methods for converting of run-time data structures to json-serializable ones
Damyan Ivanov [Thu, 4 Apr 2019 04:08:23 +0000 (07:08 +0300)]
global method for format dates in ISO format (y-m-d)
Damyan Ivanov [Tue, 2 Apr 2019 21:36:33 +0000 (00:36 +0300)]
fix JSON account retrieval to supply the amounts to the new list
Damyan Ivanov [Tue, 2 Apr 2019 21:24:15 +0000 (00:24 +0300)]
fix handling the click on the account expander image
Damyan Ivanov [Tue, 2 Apr 2019 21:13:13 +0000 (00:13 +0300)]
whitespace
Damyan Ivanov [Tue, 2 Apr 2019 21:13:04 +0000 (00:13 +0300)]
streamline handling of account name filter
avoids multiple refresh requests, handles phone rotation/activity restart
correctly
Damyan Ivanov [Tue, 2 Apr 2019 21:06:59 +0000 (00:06 +0300)]
a way to force notification on ObservableValue
Damyan Ivanov [Tue, 2 Apr 2019 21:06:03 +0000 (00:06 +0300)]
handle long-clicks everywhere on the account row
Damyan Ivanov [Fri, 29 Mar 2019 17:53:43 +0000 (19:53 +0200)]
single observer instances, single place for reloading account/transaction lists
fixes observer leak which also multiplied the reloads with each
screen rotation (and activity restart)
Damyan Ivanov [Fri, 29 Mar 2019 17:51:59 +0000 (19:51 +0200)]
drop unused method
Damyan Ivanov [Fri, 29 Mar 2019 17:51:23 +0000 (19:51 +0200)]
middle-level activity class doesn't need to be available in the app manifest
Damyan Ivanov [Fri, 29 Mar 2019 17:49:57 +0000 (19:49 +0200)]
spare one activity restart when the startup profile uses a non-default color theme
Damyan Ivanov [Fri, 29 Mar 2019 17:46:00 +0000 (19:46 +0200)]
drop unused class
was a hollow one anyway
Damyan Ivanov [Fri, 29 Mar 2019 17:36:07 +0000 (19:36 +0200)]
whitespace
Damyan Ivanov [Fri, 29 Mar 2019 17:32:32 +0000 (19:32 +0200)]
Data.transactions -> observable list
Damyan Ivanov [Fri, 29 Mar 2019 13:29:07 +0000 (15:29 +0200)]
fix observer leak
move observers from AccountSummaryFragment and TransactionListFragment
to MainActivity; drop them when the activity is destroyed
the observers were leaked leading to multiple duplicate change
notifications
Damyan Ivanov [Fri, 29 Mar 2019 12:07:17 +0000 (14:07 +0200)]
more flow debugging
Damyan Ivanov [Fri, 29 Mar 2019 11:55:04 +0000 (13:55 +0200)]
collapse profile list and close the drawer when switching profiles
when the profiles use different themes this kind of worked as a side
effect of activity restart, but when the profiles use the same theme
the drawer remains open making it seem that something didn't work
Damyan Ivanov [Fri, 29 Mar 2019 11:45:54 +0000 (13:45 +0200)]
whitespace