Commit Graph

144 Commits

Author SHA1 Message Date
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
Sergio Martínez Portela
7f67c768c6 Fix Headlines with properties but no content lines. 2020-12-09 23:58:26 +01:00
Sergio Martínez Portela
ffe6f007fc Add basic BEGIN_SRC block support. 2020-12-06 00:26:44 +01:00
Sergio Martínez Portela
a5bfeadfeb (In progress) Add support for SRC code blocks.
- Add tests for blocks.
- Add Regexps.
- Correctly handle Headlines with split contents.
2020-12-04 00:04:56 +01:00
Sergio Martínez Portela
1c0ecbf8c6 Improve dump checks debugging, and enable them by default. 2020-11-26 23:45:32 +01:00
Sergio Martínez Portela
2346494268 Test with Tox on Python3.9 2020-11-26 23:45:10 +01:00
Sergio Martínez Portela
1d71d1a3c3 Apply autoformatting with black. 2020-11-26 23:44:56 +01:00
Sergio Martínez Portela
d5f8d76aeb Add parsing of logbook drawer. 2020-11-26 23:43:08 +01:00
Sergio Martínez Portela
46a2c387eb Avoid adding an empty line when headline has none. 2020-11-26 23:42:04 +01:00
Sergio Martínez Portela
f08d9428d6 Add test for headlines with no content lines. 2020-11-07 00:24:28 +01:00
Sergio Martínez Portela
2372fc597c Add base link parsing. 2020-11-02 23:51:19 +01:00
Sergio Martínez Portela
e73ce5d480 Format with black, use tokens for markup segmentation.
- Don't use trees in first instance as interleaving might be lossy.
2020-11-02 20:39:52 +01:00
Sergio Martínez Portela
f6de69fd90 Add simple support for nested markup. 2020-10-25 20:23:08 +01:00
Sergio Martínez Portela
5b886e5e24 Pass markup tests. 2020-10-10 00:39:32 +02:00
Sergio Martínez Portela
0dab7e4703 Add base support for markup tests. 2020-06-27 19:20:34 +02:00
Sergio Martínez Portela
d23ee1adba Add base dumping/serialization mechanism. 2020-06-22 00:40:47 +02:00
Sergio Martínez Portela
d29058cb5e Initial commit, simplistic parsing. 2020-06-21 22:48:47 +02:00