Commit Graph

66 Commits

Author SHA1 Message Date
Sergio Martínez Portela
7a9cff57f9 Simplify parsing of CodeBlocks. 2022-05-07 23:33:32 +02:00
Sergio Martínez Portela
afd02f55d4 Improve DOM aggregation of CodeBlocks. 2022-05-07 23:02:18 +02:00
Sergio Martínez Portela
cfce08eed0 Handle OrgDoc's ID. 2022-05-07 12:53:09 +02:00
Sergio Martínez Portela
9b550ed2ea Handle links on DOM's LinkItem. 2022-05-06 20:18:44 +02:00
Sergio Martínez Portela
9ef2a8ece6 Handle links in dom's text. 2022-05-06 15:54:14 +02:00
Sergio Martínez Portela
3da2ab066c Add helper to get document from a Headline. 2022-03-28 00:49:32 +02:00
Sergio Martínez Portela
52d8cf59ce Read raw contents via key names, not positions. 2022-02-14 23:09:43 +01:00
Sergio Martínez Portela
d00937c6eb When reporting problematic blocks, focus on the relevant lines. 2021-10-24 23:15:22 +02:00
Sergio Martínez Portela
fc166e41a1 Consider SEQ_TODO for TODO keywords. 2021-10-24 23:06:35 +02:00
Sergio Martínez Portela
f79d52a16d Add support for nested lists on as_dom(). 2021-09-04 00:01:21 +02:00
Sergio Martínez Portela
bd31c67eea Complete initial step of conversion of notes. 2021-08-30 00:09:52 +02:00
Sergio Martínez Portela
fdd532e424 Improve handling of drawers, avoid adding lines not asked for. 2021-08-29 23:54:51 +02:00
Sergio Martínez Portela
c08eb0a7cb Draft conversion to DOM tree. 2021-08-27 00:22:25 +02:00
Sergio Martínez Portela
bd57dff091 Close PROPERTY drawers when there's no empty lines between headlines. 2021-08-14 17:40:08 +02:00
Sergio Martínez Portela
a164653cd0 Support update of content inside lists. 2021-08-04 00:06:18 +02:00
Sergio Martínez Portela
7e944bcb3d Add support for markdown and link parsing on lists. 2021-08-03 23:05:15 +02:00
Sergio Martínez Portela
7cf643200e Upload version to PyPI. 2021-08-03 23:04:36 +02:00
Sergio Martínez Portela
6943ebad7c Add support for org-roam-v2 style files. 2021-08-03 22:37:03 +02:00
Sergio Martínez Portela
3b6358c195 Add method to get OrgDoc property. 2021-08-03 22:15:38 +02:00
Sergio Martínez Portela
72d5cadb96 Improve NODE_PROPERTIES parsing. 2021-08-03 22:13:41 +02:00
Sergio Martínez Portela
fdc475cb19 Add comparison operations to Timestamp. 2021-04-10 11:13:30 +02:00
Sergio Martínez Portela
af1e5e6f3d Don't confuse ': plaintext' with :NODE_PROPERTIES: . 2021-04-08 23:50:55 +02:00
Sergio Martínez Portela
e4b3d42319 Improve support for list management. 2021-04-03 00:59:23 +02:00
Sergio Martínez Portela
2d7e7f23ed Support updating of elements's ID. 2021-04-03 00:59:00 +02:00
Sergio Martínez Portela
fe454bd85e Draft very basic list parser. 2021-02-10 00:21:37 +01:00
Sergio Martínez Portela
a2c5ad106f Move readme to root directory. 2021-02-08 00:00:37 +01:00
Sergio Martínez Portela
608cefe02b Add support for timedelta operation on Timestamp. 2021-02-07 23:59:35 +01:00
Sergio Martínez Portela
88e709f7db Fix OrgTime and TimeRange duraction getters. 2021-01-18 10:33:34 +01:00
Sergio Martínez Portela
2ca52c339d Add direct way of retrieving Headline ID . 2021-01-18 10:33:15 +01:00
Sergio Martínez Portela
2bd954e43a Fix matching of tags with non-unicode chracters. 2021-01-17 18:31:32 +01:00
Sergio Martínez Portela
1412a2bde1 Fix Headline spacing, add default TODO/DONE keywords.
Additionally, add util function to iterate over all headlines, and fix
Timestamp.to_datetime() to work even when no time was given.
2021-01-17 13:30:38 +01:00
Sergio Martínez Portela
cde3481958 Support time ranges on PLANNING line. 2021-01-17 13:04:27 +01:00
Sergio Martínez Portela
0e5636d2f5 Add base README. 2021-01-17 12:55:00 +01:00
Sergio Martínez Portela
6476e2a511 Fix support for hour ranges. 2021-01-17 12:40:15 +01:00
Sergio Martínez Portela
1d3b4c187b Add support for planning info update. 2021-01-12 00:58:28 +01:00
Sergio Martínez Portela
d71f98f4b9 Add support for reading Headline planning info.
This includes: `SCHEDULED`, `DEADLINE` and `CLOSED`.
2021-01-06 00:27:27 +01:00
Sergio Martínez Portela
09f2aed8fe Fix headline dumping after tags and state where separated. 2021-01-05 00:24:33 +01:00
Sergio Martínez Portela
e1f22d360c Add simple task clock management. 2021-01-05 00:23:18 +01:00
Sergio Martínez Portela
c522afd290 Add a simpler way to query properties. 2020-12-28 14:34:18 +01:00
Sergio Martínez Portela
f1be0c3a72 Add support for headline tags and state.
Also, keep track of the origin file of a given OrgDoc.
2020-12-22 10:21:41 +01:00
Sergio Martínez Portela
bb24f9495e Rename to org-rw. 2020-12-20 13:03:51 +01:00
Sergio Martínez Portela
83710a4fc1 Support updating ranges with contents with different size. 2020-12-20 12:14:58 +01:00
Sergio Martínez Portela
ebecc5feca Remove unused OrgDom.serialize() .
It's functionality is performed through OrgDom.dump() .
2020-12-20 11:56:21 +01:00
Sergio Martínez Portela
cb86d88006 Add simple link modification mechanism. 2020-12-20 11:47:23 +01:00
Sergio Martínez Portela
d6133a1e9b Add test to check that links can be updated. [skip ci] 2020-12-12 00:57:28 +01:00
Sergio Martínez Portela
9559031ba9 Pass load+dump check on organice test files. 2020-12-11 23:17:37 +01:00
Sergio Martínez Portela
4ebd6bfd86 Make line numbers start on 1 (not 0).
This is the behavior on most tools and starting with 0 was confusing at times.
2020-12-10 00:24:10 +01:00
Sergio Martínez Portela
28a63a7e5e Add testing Organice's testing files. 2020-12-10 00:22:22 +01:00
Sergio Martínez Portela
ffd82c2d76 Show specific error on property line found before :PROPERTIES: one. 2020-12-10 00:15:30 +01:00
Sergio Martínez Portela
b2779dbc41 Improve Timestamp and TimeRange handling. 2020-12-10 00:12:13 +01:00