Commit Graph

6989 Commits

Author SHA1 Message Date
Jakob Schöttl
43b3fb3cae Bugfix: use proper built-in file completion with support for subfolders 2019-01-23 16:46:17 -08:00
Jakob Schöttl
65ec51c3d9 Apply naming convention for function and variable name
It seems to be convention to start the completion function name with an
underscore. I also prepend an underscore to the global variable.

(I still don't understand why  env  does not show this global variable
defined in the hledger-completion.bash script.)
2019-01-23 16:46:17 -08:00
Jakob Schöttl
ae060d9f13 Refactor Makefile
hledger-completion.bash does not depend on command-options because this
phony target is so slow. Use  make  once and subsequently only
make hledger-completion.bash
2019-01-23 16:46:17 -08:00
Jakob Schöttl
a2dc1289a5 Add doc on adding support for other shells 2019-01-23 16:46:17 -08:00
Jakob Schöttl
84eaf20f9b Add bash completion script (an artifact) 2019-01-23 16:46:17 -08:00
Jakob Schöttl
e491f34ddf Bugfix and remove unused code
Bug was: Account names with spaces were broken into single completion
suggestions, not line by line.
2019-01-23 16:46:17 -08:00
Jakob Schöttl
90257a1729 Fix comments 2019-01-23 16:46:17 -08:00
Jakob Schöttl
db00f5b452 Speed up Makefile script a little bit 2019-01-23 16:46:17 -08:00
Jakob Schöttl
5638c89f53 Update README and .gitignore 2019-01-23 16:46:17 -08:00
Jakob Schöttl
e747b9fa8c Remove useless case 2019-01-23 16:46:17 -08:00
Jakob Schöttl
637ab8855d Bugfix for --file=... case 2019-01-23 16:46:17 -08:00
Jakob Schöttl
1cd979ae18 Bugfix: Must use array here because of word splitting 2019-01-23 16:46:17 -08:00
Jakob Schöttl
e3826be379 Cosmetic changes 2019-01-23 16:46:17 -08:00
Jakob Schöttl
872484729e Add README 2019-01-23 16:46:17 -08:00
Jakob Schöttl
78d08455c0 Refactor helper script 2019-01-23 16:46:17 -08:00
Jakob Schöttl
e5134db9a4 Remove unused code 2019-01-23 16:46:17 -08:00
Jakob Schöttl
bd702642a6 Add .gitignore 2019-01-23 16:46:17 -08:00
Jakob Schöttl
dc73b55b7b Add files for bash completion 2019-01-23 16:46:17 -08:00
Simon Michael
50175a9698 close: fix regular build, note path issue breaking ghci 2019-01-22 14:33:20 -08:00
Simon Michael
ede41af4c8 close: fix and document some newline issues
[ci skip]
2019-01-22 14:10:37 -08:00
Simon Michael
2f2b68f1cd make: site-livereload, make it show up in make help 2019-01-22 13:36:27 -08:00
Simon Michael
a29b70c93f update generated manuals
[ci skip]
2019-01-22 13:36:11 -08:00
Simon Michael
cc7c3928fb doc: begin integrating commands' CLI help and manual section
Just the close command to start with.
2019-01-22 13:33:24 -08:00
Simon Michael
fbaaaac680 site: home: wording
[ci skip]
2019-01-19 17:42:02 -08:00
Simon Michael
b491132ba1 site: home: focus on "robust"
[ci skip]
2019-01-19 17:39:54 -08:00
Simon Michael
449a1497be site: home: use canonical contrib link, for non-mac local viewing 2019-01-19 17:31:25 -08:00
Simon Michael
5c5e404df6 doc: contributing: add TOC 2019-01-19 17:31:03 -08:00
Simon Michael
286a372396 site: remove the wasteful top nav bar, mostly
[ci skip]
2019-01-19 17:09:42 -08:00
Simon Michael
e4a5c887d1 site: home: fix/update wiki links 2019-01-19 16:50:11 -08:00
Simon Michael
3267b640a2 make: update home page rule with new wiki page name 2019-01-19 16:50:11 -08:00
Simon Michael
7edf0db4f5 site: home: update from wiki
[ci skip]
2019-01-19 16:43:35 -08:00
Simon Michael
7bc49156a7 site: home: update from wiki
[ci skip]
2019-01-19 16:04:22 -08:00
Simon Michael
d095e6a06b shake: also clean the copied README/CONTRIBUTING
[ci skip]
2019-01-19 15:47:39 -08:00
Simon Michael
5000c6ac6a site: forcing lower-case URIs is a hassle; add redirects for now
[ci skip]
2019-01-19 15:42:43 -08:00
Simon Michael
d4fa546d27 update generated journal, csv manuals
[ci skip]
2019-01-19 15:31:22 -08:00
Simon Michael
240406706a move the wiki dev docs into CONTRIBUTING.md. Markdown for now. #920
[ci skip]
2019-01-19 15:31:21 -08:00
Simon Michael
9f057731c3 shake: common pandoc opts
[ci skip]
2019-01-19 15:31:21 -08:00
Simon Michael
b7e64440b2 shake: cleanups, document
[ci skip]
2019-01-19 15:31:21 -08:00
Simon Michael
1077ccf70c shake: cleanups
[ci skip]
2019-01-19 15:31:21 -08:00
Simon Michael
28e76dd80e examples: mint csv rules tweak
[ci skip]
2019-01-19 15:31:21 -08:00
Simon Michael
7130c75a97 doc: update account comments/tags/types 2019-01-18 16:40:35 -08:00
Simon Michael
a61216ac3c journal: allow account types to be set with a type: tag 2019-01-18 16:40:35 -08:00
Simon Michael
573a13fc27 lib: expectParseStateOn helper 2019-01-18 16:40:35 -08:00
Simon Michael
763903ebda journal: save account directives' comments, tags, declaration order 2019-01-18 16:40:35 -08:00
Simon Michael
90bf354566 lib: allow more account directive info in Account records 2019-01-18 16:40:35 -08:00
Simon Michael
899946f270 journal: account directive: stop supporting account sort codes
Eg "account   1000". (Introduced in 1.9, deprecated in 1.11, removed in 1.13.)
2019-01-18 16:40:35 -08:00
Simon Michael
cc0764eac2 ui: on posix, support ctrl-z to suspend the program 2019-01-18 16:33:06 -08:00
Simon Michael
c02647d05e ui: support ctrl-l everywhere 2019-01-18 16:32:57 -08:00
Simon Michael
bb5d6c47c6 ui: probably more effective redraw when pressing Ctrl-l
Now uses vtyRefresh.
2019-01-18 16:32:52 -08:00
Dmitry Astapov
faa5b0fba7 lib: fix parsing of status/code/desc/comments in period txn 2019-01-16 17:17:18 -08:00