Simon Michael
e4cff6a30f
tools: .ghci for each package, sets shorter prompt
2016-04-15 16:06:45 -07:00
Simon Michael
b73bcda52a
include txt man pages in cabal tarballs
2016-04-13 22:38:53 -07:00
Simon Michael
bfa5e14373
doc: generate (and commit) text-rendred man pages
...
Intended for embedding in executables. Quick implementation,
hopefully these are fixed-width and compatible with all terminals.
2016-04-13 22:29:16 -07:00
Simon Michael
588f36d662
rename timelog format to timeclock
2016-04-12 21:13:19 -07:00
Simon Michael
8ee0c7fa76
doc: update man pages
2016-04-12 20:31:17 -07:00
Simon Michael
b4d491791c
doc: include nroff man pages in cabal tarballs
2016-04-12 11:25:46 -07:00
Simon Michael
5754f2bb4a
doc: updates, merge some more from old manual
2016-04-09 14:23:55 -07:00
Simon Michael
5d9d155ca0
doc: misc cleanups
2016-04-07 21:59:30 -07:00
Simon Michael
69542160bb
doc: remove colons from man page headings
2016-04-07 08:55:53 -07:00
Simon Michael
443b870481
site: fix man page TOCs, add combined man page
2016-04-07 08:55:21 -07:00
Simon Michael
f3fb1a89f2
doc: exclude web content from nroffs
2016-04-06 08:20:27 -07:00
Simon Michael
24c2e7d471
doc: move man page source and nroff to PKG/doc/
2016-04-06 08:16:38 -07:00
Simon Michael
eab6b110bc
tools: simplify doc filtering class names
2016-04-05 16:17:08 -07:00
Simon Michael
f331ebec16
ui, api: switch to the quicker-building microlens
...
This may not make much difference since dependencies brick and
servant-swagger still depend on lens, but that might change.
2016-04-04 17:50:58 -07:00
Sergei Trofimovich
6f65aa20f8
hledger-ui.cabal: allow brick-0.5
...
Signed-off-by: Sergei Trofimovich <siarheit@google.com>
2016-04-04 17:20:22 -07:00
Simon Michael
2dbe07a666
doc: mark up man pages for man/web rendering
...
And commit the latest nroff output. It'll need retesting.
2016-02-21 02:32:40 -08:00
Simon Michael
ed0ec6d849
Revert "doc: try making hledger-ui web manual from man page"
...
This wasn't right, leave the UI doc in the manual as it was for now.
2016-02-20 23:58:07 -08:00
Simon Michael
494c74f81b
tools: hide package.yaml files to fix travis
...
The latest stack runs a buggy hpack that generates invalid
cabal files. Rename them to future-package.yaml for now.
2016-02-20 19:07:49 -08:00
Simon Michael
269f7afe33
doc: try making hledger-ui web manual from man page
2016-02-19 22:49:45 -08:00
Simon Michael
f36c4a2a91
mark todo
2016-02-19 17:52:40 -08:00
Simon Michael
142c52e5b9
ui: changelog, bump version to 0.27.3
2016-01-14 20:43:02 -08:00
Simon Michael
5b7040fecd
ui: allow brick 0.4
2016-01-14 20:43:02 -08:00
Simon Michael
2c6aa5d75d
ui: changelog, bump version to 0.27.2
2016-01-11 10:44:06 -08:00
Simon Michael
921cbe5a9e
bump suggested stack snapshot to lts-4.1
2016-01-10 08:40:33 -08:00
Simon Michael
b28d8d9c01
ui: bump version to 0.27.1, changelog
2015-12-03 08:53:29 -08:00
Simon Michael
5c0c883c1e
ui: bump lens upper bound to suit latest nightlys
2015-11-27 11:29:08 -08:00
Simon Michael
2ecfc82812
ui: adjust tested-with, vty may not like old GHC
2015-11-22 08:38:04 -08:00
Simon Michael
8a4f3eaad4
ui: txn: make reloading work on this screen
2015-11-06 21:17:25 -08:00
Simon Michael
ed775e1ef4
ui: cleanup
2015-11-06 21:17:09 -08:00
Simon Michael
a8d9178ee2
ui: haddock
2015-11-06 21:16:44 -08:00
Simon Michael
4ed27d5d25
doc: add release date to changelogs
2015-10-30 14:09:19 -07:00
Simon Michael
63314daeba
ui, web: update generated man pages
2015-10-30 13:23:01 -07:00
Simon Michael
a5fd56223c
bump version to 0.27
2015-10-30 13:21:51 -07:00
Simon Michael
36d97a2e50
update cabal docs and other fields
2015-10-30 13:08:03 -07:00
Simon Michael
b15ff17186
ui: finalise changelog
2015-10-30 13:07:15 -07:00
Simon Michael
e061eabe2c
ui: C toggles --cleared; f -> F; UI tweaks
...
You can now toggle showing only cleared items in the accounts and
register screens, with C (like the command-line flag).
The f key has been changed to F for consistency (we don't have this as a
command-line flag, though we could, though Ledger uses it for something
different).
Screen titles have been tweaked, eg switching the cyan and yellow.
Screen help has been squeezed to fit better in 80 columns.
2015-10-30 10:42:44 -07:00
Simon Michael
722e19098f
ui: txn: next/prev also moves selection in register
2015-10-29 20:34:31 -07:00
Simon Michael
4691454908
ui: txn: up/down steps through txns in the account
2015-10-29 20:19:18 -07:00
Simon Michael
4d97db02cb
ui: txn: show full transaction, not a partial one
2015-10-29 18:20:27 -07:00
Simon Michael
11fee9fbe8
ui: txn: show multi-commodity amounts on one line
...
In the transaction screen, show multi-commodity posting amounts on one
line, consistent with the rest of hledger-ui.
2015-10-29 18:10:06 -07:00
Simon Michael
68cd35c965
ui: txn: add a transaction-viewing screen
2015-10-29 17:45:57 -07:00
Simon Michael
f6a7070167
ui: reg: document the balance/total column better
2015-10-29 17:15:13 -07:00
Simon Michael
b48ee2d22e
ui: types cleanup
2015-10-28 11:46:06 -07:00
Simon Michael
b950bd0d83
ui: reg: refactor, consolidate state
2015-10-28 11:30:56 -07:00
Simon Michael
45db0a28cc
ui: acc: preserve account selection across reloads
2015-10-28 11:13:33 -07:00
Simon Michael
423934b2b8
ui: fixups
2015-10-28 10:27:14 -07:00
Simon Michael
2515025a84
ui: pressing g once now reloads all screens
2015-10-28 10:17:15 -07:00
Simon Michael
b527209e9f
ui: err: tweak error message, make it red
2015-10-28 10:02:04 -07:00
Simon Michael
6f85e02f1a
ui: show an error screen when reloading fails
2015-10-26 07:41:45 -07:00
Simon Michael
13b6d142c6
doc: add hledger-ui to combined user manual
2015-10-26 07:13:43 -07:00
Simon Michael
27b46e7b41
ui: allow vty 5.4
2015-10-26 06:47:36 -07:00
Simon Michael
cd5ff00a26
ui, web: man page updates
2015-10-26 06:46:29 -07:00
Simon Michael
60df129c7b
doc: changelog updates, combined release notes
2015-10-26 06:37:33 -07:00
Simon Michael
6ae14b3f56
doc: update changelogs
2015-10-26 06:09:57 -07:00
Simon Michael
191c2e533f
doc: generate man pages for each package ( #282 )
...
There are now six man pages, one for each main executable and file
format, generated from markdown by the mighty pandoc. They are basically
the content of the user manual, split up and moved into the appropriate
package directory. I've also committed the generated man files.
The man pages' markdown source (hledger/hledger.1.md,
hledger-lib/hledger_journal.5.md etc.) are now the master documentation
files. The plan is to concatenate them (with a little munging) to form
the all-in-one user manual for the website, at release time. This also
separates the hledger.org user manual from the latest doc commits, which
should simplify website management.
2015-10-20 06:26:09 -07:00
Simon Michael
b64f42c2d8
bal, ui: option help tweaks
2015-10-17 11:22:39 -07:00
Simon Michael
bcc22a0367
ui: register: wide-char-aware layout
2015-10-10 12:26:17 -07:00
Simon Michael
7808c502ad
ui: accounts: wide-char-aware layout
2015-09-29 21:17:24 -10:00
Simon Michael
af33a5ac3d
ui: f key toggles flat/tree mode
2015-09-13 14:34:46 -07:00
Simon Michael
135cf714ef
ui: streamline help
2015-09-13 14:34:28 -07:00
Simon Michael
5504d70a41
ui: acc: accept = as an alias for the + key
2015-09-04 09:10:00 -07:00
Simon Michael
4a4fb13a95
ui: reg: g key reloads here too
2015-09-04 09:09:36 -07:00
Simon Michael
30cce4188f
ui: acc: g key reloads the journal
...
On the accounts screen, the g key now reloads the journal if possible.
With large journals, there may be a noticeable delay before the screen updates.
If there's a problem reading the journal file(s), this has no effect.
2015-09-04 08:14:36 -07:00
Simon Michael
a61c9ad7c4
ui: acc: don't mention included files in title
2015-09-04 07:41:07 -07:00
Simon Michael
b9affbaee9
ui: acc: show enter key in bottom help
2015-09-04 07:36:23 -07:00
Simon Michael
d83b22028b
ui: acc: show short account names in tree mode again
...
This broke for some reason.
2015-09-04 07:29:34 -07:00
Simon Michael
8685a78795
ui: acc: enter key also enters register, for now
2015-09-03 21:05:45 -07:00
Simon Michael
25a0a7c4dd
ui: make keys bold in bottom help
2015-09-03 21:03:03 -07:00
Simon Michael
ebc4022888
ui: after exiting --register, select that account
2015-09-03 20:51:05 -07:00
Simon Michael
472b0aee75
ui: whitespace
2015-09-03 20:46:36 -07:00
Simon Michael
d46f511b79
ui: allow navigating to accounts after --register
2015-09-03 20:40:43 -07:00
Simon Michael
07041e1b65
ui: fix --ignore-assertions, perhaps more
2015-09-03 16:09:52 -07:00
Simon Michael
9f2d59948e
ui: styled amounts, smarter accounts column sizing
2015-08-28 17:55:50 -07:00
Simon Michael
74512814ec
cli/ui/web: rename X.Options modules to X.XOptions
...
Make these modules' names more like the heavily-used types they
define (CliOpts, UIOpts, WebOpts). This is consistent with
RawOptions and ReportOptions, and helps with code navigation.
2015-08-28 12:43:51 -07:00
Simon Michael
61f994e162
ui: update backlog
2015-08-28 11:43:29 -07:00
Simon Michael
8a343002f6
ui: fix vector-related breakage with GHC < 7.10
2015-08-28 11:39:23 -07:00
Simon Michael
570e340b7c
ui: fix missing dependencies/bounds
2015-08-28 11:28:40 -07:00
Simon Michael
5792c67666
ui: refactor depth key handling
2015-08-28 11:28:22 -07:00
Simon Michael
f3dd5eb830
fix options breakage with GHC < 7.10
2015-08-28 11:17:49 -07:00
Simon Michael
c897c03469
ui: number keys > max depth clear the depth limit
2015-08-28 10:31:40 -07:00
Simon Michael
6b17305196
ui: +/- adjusts the depth limit (accounts screen)
2015-08-28 10:01:54 -07:00
Simon Michael
4dd1e9c725
clean up options validation a little
2015-08-28 09:57:01 -07:00
Simon Michael
4f351d6c9c
ui: --register starts in the register screen
2015-08-28 08:48:40 -07:00
Simon Michael
eefa9c42a3
ui: remove debug code
2015-08-28 08:12:33 -07:00
Simon Michael
cc0c981d29
ui: display depth and other filters independently
...
As the comment says:
In hledger,
- reportopts{depth_} indicates --depth options
- reportopts{query_} is the query arguments as a string
- the report query is based on both of these.
For hledger-ui, currently, we move depth: arguments out of reportopts{query_}
and into reportopts{depth_}, so that depth and other kinds of filter query
can be displayed (and controlled) independently.
2015-08-28 08:07:54 -07:00
Simon Michael
d1467d7967
ui: drop unneeded args field, use opts instead
2015-08-28 06:36:07 -07:00
Simon Michael
898b0ec82a
ui: fix typo breaking build
2015-08-28 06:29:24 -07:00
Simon Michael
3fa0ad8eb6
ui: drop old posting register screen's code
2015-08-27 22:53:12 -07:00
Simon Michael
b51f45c675
ui: misc enhancements, allow depth adjustment
...
- clean up options a bit, enable -V/--value (affects the accounts screen)
- more informative top/bottom borders, including key help
- number keys adjust the depth limit (accounts screen)
- remove obsolete args parameter
2015-08-27 22:46:14 -07:00
Simon Michael
d662df77f5
ui: don't let a depth limit disrupt the register
2015-08-26 11:07:16 -07:00
Simon Michael
e5f00b3e05
ui: simplify & format screen titles
2015-08-25 16:01:12 -07:00
Simon Michael
b38db8610f
ui: add filepath to cabal file
2015-08-25 10:23:17 -07:00
Simon Michael
db83ff1000
ui: reg: track current account better, nicer title
2015-08-25 07:03:33 -07:00
Simon Michael
055d820ec7
ui: reg: increase whitespace before change amount
2015-08-25 07:02:32 -07:00
Simon Michael
cec9b7cae9
ui: reg: show all other accounts instead of <split>
...
For now.
2015-08-25 07:01:04 -07:00
Simon Michael
ecd9b9e54c
ui: reg: don't force --no-elide
...
--no-elide ensures that a regular, clear account hierarchy is displayed.
The downside is that when you are filtering on account, say
assets🏦 checking, it's unclear what to show when the user drills
down on the "assets" and "bank" parent accounts, without causing confusion.
2015-08-25 06:57:25 -07:00
Simon Michael
f496ec9809
ui: acc: show a better title with filename & query
2015-08-25 06:56:04 -07:00
Simon Michael
d32a028a19
ui: fix AttrMap/styles explanation per JD
2015-08-24 16:24:12 -07:00
Simon Michael
5822380719
ui: note JD layout tips, issues
2015-08-24 16:24:12 -07:00
Simon Michael
455c71c9ab
ui: reg: fix width undercalculation
2015-08-24 16:24:12 -07:00