Commit Graph

2957 Commits

Author SHA1 Message Date
Simon Michael
41277766fc fix a compilation warning 2013-06-01 11:38:01 -07:00
Simon Michael
615ae53d90 Merge remote-tracking branch 'remotes/xinruo/select2' 2013-06-01 11:27:18 -07:00
Simon Michael
947237027e docs: clarify support for {=PRICE] syntax 2013-06-01 10:31:56 -07:00
Xinruo Sun
34a31285a9 web: use select2 to autocomplete
Use the javascript library select2 to autocomplete descriptions and
account names when adding a transaction. The autocomplete searches by
substring, prefix and infix. New values will also be accepted.

This replaces dhtmlxcombo library so it is removed. Also updated jquery
to the latest 1.10.1.
2013-06-01 13:20:37 +08:00
Simon Michael
ce651bd614 Merge pull request #112 from clinty/testsuites
cabal testsuites for hledger-lib and hledger
2013-05-30 16:25:35 -07:00
Simon Michael
b9ba92d105 docs: update manual and faq with latest balance assertions info 2013-05-30 15:26:34 -07:00
Simon Michael
56a37aabcf small cleanup 2013-05-30 15:17:21 -07:00
Simon Michael
6073b56b9e parsing: order postings first by date, then by parse order when checking balance assertions 2013-05-30 15:16:54 -07:00
Simon Michael
5685b3dc9c parsing: don't allow = in unquoted commodity symbols, fixes commodity-less balance assertion amounts 2013-05-30 15:15:38 -07:00
Simon Michael
74eac84b1a parsing: function tests for balance assertions 2013-05-30 15:14:49 -07:00
Simon Michael
207fd06a6f web: fix a compilation breakage from balance assertions work 2013-05-30 14:45:30 -07:00
Simon Michael
4721bfce42 bump yesod-platform dependency to avoid a cabal install failure
cabal-install's default backtracking of 200 is insufficient to
install (eg) current hledger-web, yesod-platform 1.2 and HP. (It works
at 400). Requiring the latest yesod-platform seems to resolve the problem.
2013-05-29 22:24:52 -07:00
Simon Michael
b2b085b9a3 docs: more balance assertions clarifications 2013-05-28 17:07:12 -07:00
Simon Michael
c8918d2fb1 docs: typo 2013-05-28 17:00:02 -07:00
Simon Michael
580a5043bf docs: note balance assertions commodity symbol requirement 2013-05-28 16:46:26 -07:00
Simon Michael
7533446cbb docs: balance assertions support 2013-05-28 16:33:08 -07:00
Simon Michael
87820705f5 parsing: after reading a journal file, check all balance assertions and continue only if they pass 2013-05-28 16:25:00 -07:00
Simon Michael
0be986fcb9 parsing: actually parse balance assertions
Parser unit test is commented out until HTF tests are fixed.
2013-05-28 16:22:30 -07:00
Simon Michael
cdc7495459 docs: add paypal example to entry templates 2013-05-28 16:15:47 -07:00
Simon Michael
2204963ace git ignores 2013-05-28 16:14:52 -07:00
Clint Adams
180521996a Add cabal testsuite for hledger. 2013-05-15 15:56:05 -04:00
Clint Adams
1cbe6c95b2 Add cabal testsuite for hledger-lib. 2013-05-15 15:56:01 -04:00
Simon Michael
039bfc331b docs: update release notes 2013-05-14 15:46:30 -07:00
Simon Michael
19d55076a4 web: require yesod 1.2, cabal file cleanup 2013-05-14 15:36:44 -07:00
Simon Michael
4ff2635bf8 bump version to 0.20.98 (0.21 alpha) 2013-05-14 10:30:46 -07:00
Simon Michael
50f97b6536 docs: update umm link, add penny link 2013-05-04 09:25:13 -07:00
Simon Michael
c9abfa3b73 docs: release notes 2013-05-04 09:09:15 -07:00
Simon Michael
95950f6e51 Merge branch 'master' of github.com:simonmichael/hledger 2013-05-04 09:07:22 -07:00
Simon Michael
8139528e83 tools: clarify tools/simplebench.hs's required libs 2013-05-04 09:07:00 -07:00
Simon Michael
017251a46a tools: make "bench" verbose like "quickbench" 2013-05-04 09:00:52 -07:00
Simon Michael
698fbbb81f Merge branch 'master' of github.com:simonmichael/hledger 2013-05-04 08:37:18 -07:00
Simon Michael
1db8920644 bump version to 0.20.0.1 2013-05-04 07:26:15 -07:00
Simon Michael
473f752106 tools: update (quick)bench tests a little
Today I'm seeing relative performance numbers like this (linode 1G VPS, 32-bit GNU/Linux):

+-------------------------------------------++--------------+--------------+--------------+---------------------+
|                                           || hledger-0.18 | hledger-0.19 | hledger-0.20 | ledger-3.0-20130215 |
+===========================================++==============+==============+==============+=====================+
| -f data/100x100x10.journal     balance    ||         0.16 |         0.04 |         0.05 |                0.02 |
| -f data/1000x1000x10.journal   balance    ||         8.26 |         0.34 |         0.47 |                0.07 |
| -f data/10000x1000x10.journal  balance    ||        11.85 |         2.59 |         3.94 |                0.31 |
| -f data/10000x1000x10.journal  balance aa ||         3.73 |         3.49 |         4.72 |                0.23 |
| -f data/100x100x10.journal     register   ||         0.07 |         0.07 |         0.07 |                0.07 |
| -f data/1000x1000x10.journal   register   ||         0.56 |         0.51 |         0.70 |                0.54 |
| -f data/100x100x10.journal     print      ||         0.06 |         0.04 |         0.06 |                0.01 |
| -f data/1000x1000x10.journal   print      ||         0.37 |         0.34 |         0.49 |                0.07 |
| -f data/10000x1000x10.journal  print      ||         3.84 |         3.54 |         4.62 |                0.55 |
+-------------------------------------------++--------------+--------------+--------------+---------------------+
2013-05-03 13:18:05 -07:00
Simon Michael
c2d93f2c68 Merge branch 'master' of github.com:simonmichael/hledger 2013-05-03 12:01:37 -07:00
Simon Michael
e30679de6d tools: more git ignores 2013-05-03 12:00:21 -07:00
Simon Michael
9b58df70a6 tools: include Makefile.local if present 2013-05-03 12:00:05 -07:00
Simon Michael
c8f2f836a9 tools: don't mess with download page when updating version 2013-05-03 06:48:31 -07:00
Simon Michael
28a605ceb0 docs: update bug tracker and repository locations in cabal files 2013-05-03 06:46:23 -07:00
Simon Michael
9234923ed5 web: require at least version 1.1.7 of yesod-core to avoid a Foundation.hs build error 2013-05-03 06:36:48 -07:00
Simon Michael
e2f6a26d66 tools: be aware of cabal macros when generating haddock 2013-05-03 05:54:01 -07:00
Simon Michael
82c4709929 docs: 0.20 announcement 2013-05-01 18:32:27 -07:00
Simon Michael
a89ed22f4a finalise release notes 2013-05-01 12:46:53 -07:00
Simon Michael
b89168d1b0 bump version number 2013-05-01 12:46:37 -07:00
Simon Michael
2f5252dc0d docs: update release notes 2013-05-01 12:42:35 -07:00
Simon Michael
a7e5c22717 web: manual updates 2013-05-01 12:17:21 -07:00
Simon Michael
8873ffbe77 web: fix auto-exit in local mode, clarify startup messages 2013-05-01 12:02:47 -07:00
Simon Michael
b06c96c04c web: be less verbose about web files source, mention it only in dev mode 2013-05-01 07:24:42 -07:00
Simon Michael
c9b6dd8819 web: --server flag re-enables long-running, request-logging mode; output cleanups 2013-05-01 07:23:59 -07:00
Simon Michael
0a47715b17 web: also launch a browser at startup; auto-terminate after 2m or on enter
We're now using the wai-handler-launch middleware. This injects a
script in each page that pings the server repeatedly, and terminates
the server if it gets no pings (ie there are no browser tabs
displaying the app) for two minutes. The server can also be easily
terminated at the console by pressing enter, yesod devel style.
2013-04-20 20:02:50 -07:00
Simon Michael
9148bd8e8c web: don't use wai-handler-launch with yesod devel 2013-04-20 19:57:19 -07:00