Commit Graph

26 Commits

Author SHA1 Message Date
Sergio Martínez Portela
330fd8f7b5 Rename to org-rw. 2020-12-20 12:39:47 +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