Commit graph

150 commits

Author SHA1 Message Date
PoiScript ce16610935 feat: HeadlineNode struct 2019-08-07 15:37:11 +08:00
PoiScript a1af0663b5 feat(elements): wrap up every &str with Cow 2019-08-06 21:13:16 +08:00
PoiScript 54c063f41b build: upgrade to indextree 4.0 2019-08-06 19:34:27 +08:00
PoiScript e3c7e9897c chore: rename feature serde to ser 2019-08-06 14:33:31 +08:00
PoiScript 3e4772a896 feat(elements): table parsing 2019-08-06 14:18:58 +08:00
PoiScript 470f90bfb5 feat(elements/title): planning and properties 2019-08-05 22:25:27 +08:00
PoiScript 472676d6d7 refactor(elements): cleanup and minor improvements 2019-08-05 22:23:32 +08:00
PoiScript 37c33a82f0 refactor(elements): rewrite most parsers with nom 2019-08-04 18:17:17 +08:00
PoiScript 8d18fb04c1 refator(elements): rewrite Timestamp struct 2019-08-04 14:14:05 +08:00
PoiScript da18d87aeb feat(element): distinguish block by its name 2019-08-04 11:13:48 +08:00
PoiScript 73380b26bc feat(export): export Org struct as org 2019-07-31 16:04:40 +08:00
PoiScript 53d8f9dc90 feat(element): rename Headline with Title struct 2019-07-31 15:09:01 +08:00
PoiScript e835103ac6 feat(elements): update Cookie struct
Similar with org-elements-api.
2019-07-30 21:20:39 +08:00
PoiScript b429e4f54a feat(config): add done_keywords field 2019-07-30 21:09:29 +08:00
PoiScript 3e82172dfe refactor(org): store content in separate Vec 2019-07-28 11:44:14 +08:00
PoiScript 50f6b9f52a refactor: rewrite some parsers with nom 2019-07-01 02:11:21 +08:00
PoiScript afcb5090ec chore(cargo): remove chrono from default features 2019-06-28 19:37:38 +08:00
PoiScript 6b0f468f9f feat(org): ParseConfig struct 2019-06-28 18:00:49 +08:00
PoiScript b847eb9285 fix(elements): don't export element parse function 2019-06-28 16:40:45 +08:00
PoiScript ce8c0b1c1c chore: bump version to 0.2.0 2019-06-28 16:23:35 +08:00
PoiScript 1a2dfd9d85 fix(docs): fix some typo and grammar errors 2019-06-28 16:15:50 +08:00
PoiScript e33bb22fde docs: crate features 2019-06-28 14:29:45 +08:00
PoiScript 727c9f14f7 docs: update serde examples 2019-06-28 00:50:15 +08:00
PoiScript 5a9e085b61 docs: update README.md and doc-test 2019-06-28 00:13:05 +08:00
PoiScript 21aba13d71 refactor(iter): use indextree::Traverse for iterating nodes 2019-06-27 20:05:54 +08:00
PoiScript 275fbfad34 feat(elements): comment and fixed width elements 2019-06-27 18:13:06 +08:00
PoiScript bd1fc756bd refactor(serde): use serde derive macro 2019-06-27 16:59:59 +08:00
PoiScript d49cd135d8 test(headline): replace TODO with DONE
So it will not show up at my magit buffer anymore.
2019-06-27 13:28:37 +08:00
PoiScript 2cba072245 feat(elements): planning element 2019-06-27 13:20:21 +08:00
PoiScript 74fd77dba2 refactor(org): cleanup 2019-06-27 05:12:41 +08:00
PoiScript 0a876e2f2b feat(export): update html render 2019-06-27 02:57:23 +08:00
PoiScript 33f78ee207 feat: Iter struct 2019-06-27 02:57:23 +08:00
PoiScript f786233852 feat: indextree-based org parser 2019-06-27 02:57:23 +08:00
PoiScript 3beabcedfa feat(parser): improve inline object parsing 2019-05-18 21:34:29 +08:00
PoiScript c4041aefb6 feat(parser): improve list parsing 2019-05-17 21:34:46 +08:00
PoiScript ecf0d7e67d feat(*): skip_container and event functions 2019-05-03 02:18:56 +08:00
PoiScript 9357ac6278 fix(parser): next_obj & real_inline 2019-05-03 01:56:12 +08:00
PoiScript eaf40dcc87 fix(parser): next_obj & real_next_obj 2019-05-03 01:15:44 +08:00
PoiScript 0083425872 docs: update README.md and doc-tests 2019-04-24 21:54:51 +08:00
PoiScript d9053d992d refactor(headline): store headline tags into Vec 2019-04-24 18:25:08 +08:00
PoiScript 56e289fb48 refactor(parser): wrap some objects and elements with struct 2019-04-24 18:25:08 +08:00
PoiScript 69534576f1 feat(parser): clock parsing 2019-04-23 18:52:52 +08:00
PoiScript cd7e03accb feat(objects): chrono feature 2019-04-23 15:48:13 +08:00
PoiScript ffbefaa3b4 chore(export): escape methods 2019-04-12 22:29:31 +08:00
PoiScript 0101612029 docs: some doc comments 2019-04-12 22:19:07 +08:00
PoiScript 2467cb3db3 fix(parser): list parsing 2019-04-12 15:37:04 +08:00
PoiScript b17b355d3b fix(parser): headline parsing 2019-04-12 00:14:21 +08:00
PoiScript 9c82b268d6 chore: make the fields of Planning struct public 2019-04-11 23:53:43 +08:00
PoiScript 5b7ecf16c9 refactor(parser): list parsing 2019-04-08 19:35:06 +08:00
PoiScript 5e2395ed5a test: create tests/ folder 2019-04-08 01:41:04 +08:00
PoiScript 164aff424d chore: remove unexpected dbg! 2019-04-07 20:39:59 +08:00
PoiScript 6fa43f7571 feat(parser): drawer parsing 2019-04-07 20:10:43 +08:00
PoiScript fe591d2143 feat(parser): clock parsing 2019-04-07 15:33:18 +08:00
PoiScript 406fd22aee feat(parser): planning parsing 2019-04-06 14:49:47 +08:00
PoiScript 8bb7ae41d3 refactor: cleanup parser 2019-04-05 23:50:13 +08:00
PoiScript 1bb5286dd3 feat(parser): timestamp parsing 2019-04-05 21:02:10 +08:00
PoiScript 1f52e75d3d refactor(parser): clean up parse functions 2019-03-19 13:56:33 +08:00
PoiScript 7273a2e84d refactor(parser): redesign stack structure 2019-03-19 13:56:13 +08:00
PoiScript 0b22db1f0f feat(export): handler with custom error type 2019-03-13 16:17:07 +08:00
PoiScript 355ea8b46e fix(export): make Escape struct field public 2019-03-11 00:50:00 +08:00
PoiScript e1469b6794 chore: re-export all from export::html module 2019-03-11 00:38:28 +08:00
PoiScript 0c64b76dc6 feat(render): accept a mutable reference of Write 2019-03-10 01:00:29 +08:00
PoiScript a288a6d554 feat(elements): multiple lines comment and fixed width area 2019-02-16 17:13:23 +08:00
PoiScript 74a19c2ff7 refactor(elements): add Element::Empty variant 2019-02-16 15:39:28 +08:00
PoiScript c7de340479 feat(headline): support custom keywords 2019-02-15 11:32:52 +08:00
PoiScript 88e1f8d62d fix(export): escape code, link, title elements 2019-02-15 11:02:57 +08:00
PoiScript 2cb74028b6 feat(export): wrapper struct Escape 2019-02-15 00:05:50 +08:00
PoiScript ac7b6aef3f fix: typo wirter -> writer 2019-02-14 14:02:29 +08:00
PoiScript 69de17ad9b refactor(export): HtmlRender & HtmlHandler 2019-02-14 13:39:03 +08:00
PoiScript 8ba9ade62d feat: add tools module 2019-02-13 16:00:56 +08:00
PoiScript 1c3300ca61 feat: use bytecount for bytes counting 2019-02-13 15:59:18 +08:00
PoiScript c5a6d82aa8 fix: fix some edge case errors 2019-02-12 22:07:18 +08:00
PoiScript 4d56633c43 refactor: clenup 2019-02-09 20:32:31 +08:00
PoiScript c5b14256f0 refactor: cleanup parse function 2019-02-08 21:42:44 +08:00
PoiScript c1154a1853 chore: update to rust 2018 2019-02-07 23:38:17 +08:00
PoiScript aa786e97c1 chore: make objects and elements struct public 2019-02-07 23:01:18 +08:00
PoiScript 0b355b498c refactor: cleanup utils macros 2019-02-07 15:54:16 +08:00
PoiScript 54b0f938f9 fix: list parsing 2019-02-06 18:16:44 +08:00
PoiScript d20d4c2880 refactor: simplify list parsing 2019-02-02 23:42:31 +08:00
PoiScript 763ec00434 refactor: objects parse 2019-01-23 00:11:09 +08:00
PoiScript 74781e6e7e refactor: keyword 2019-01-22 20:50:16 +08:00
PoiScript da04d3d25d perf: replace all str.find(..)s with memchr(..)
which is much faster, theoretically.
2019-01-22 11:08:20 +08:00
PoiScript 19f7bacf55 feat: fixed width areas 2019-01-21 23:04:35 +08:00
PoiScript 918b14de52 docs: update STATUS.md 2019-01-21 22:51:40 +08:00
PoiScript 64535641c1 fix(elements): returning the correct offset 2019-01-21 22:40:08 +08:00
PoiScript 3105470cee chore: abbreviate 2019-01-20 21:03:28 +08:00
PoiScript ed762a8dd4 feat: lines macros 2019-01-20 19:04:12 +08:00
PoiScript cc3d915877 fix(list): fix parse_item 2019-01-20 01:52:50 +08:00
PoiScript 390b7abb33 refactor: remove regex crates 2019-01-19 23:22:35 +08:00
PoiScript ad9f29bcb9 feat: list parsing 2019-01-17 12:08:40 +08:00
PoiScript 75362bd2a8 refactor: utils macros 2019-01-14 14:10:41 +08:00
PoiScript 93ed18602a refactor: rename field names to align with org-elements-api 2019-01-13 02:20:34 +08:00
PoiScript a335929801 feat: html export 2019-01-12 01:30:12 +08:00
PoiScript 6b1e2a26be chore: impl Debug for all struct and enum 2019-01-11 23:11:07 +08:00
PoiScript 128825f148 refactor: cleanup 2019-01-11 22:35:06 +08:00
PoiScript 38380aab2c feat: dynamic block parsing 2019-01-11 14:16:48 +08:00
PoiScript 79477b812e feat: block parsing 2019-01-11 00:59:01 +08:00
PoiScript 6f7fa9c920 update 2019-01-10 20:58:13 +08:00
PoiScript a85efe2056 parser 2019-01-04 16:53:20 +08:00
PoiScript 2fef529f57 chore: initial commit 2018-09-11 21:09:50 +08:00