-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathChanges
583 lines (292 loc) · 15 KB
/
Changes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
0.561 2023-11-06 Released-By: PERLANCAR; Urgency: low
- No functional changes.
- [doc] Typo in heading numbering (thanks William Lindley).
0.560 2023-08-05 Released-By: PERLANCAR; Urgency: medium
- [ux] In error message, show filename to ease debugging.
0.559 2023-07-12 Released-By: PERLANCAR; Urgency: medium
- No functional changes.
- Remove usage of smartmatch to avoid deprecation warning under
perl 5.38.
0.558 2022-06-23 Released-By: PERLANCAR; Urgency: medium
- [bugfix] The parent of a more-indented list should be *the last
listitem* of a lesser-indented list, not the lesser-indented list
itself.
- Rename Org::Element::Role -> Org::ElementRole,
Org::Element::{Block,Inline}Role -> Org::ElementRole::{Block,Inline}
so that Org::Element:: namespace is purely for element objects.
0.557 2022-03-27 Released-By: PERLANCAR; Urgency: medium
- Bump minimum perl version to 5.014 due to compilation failures in
older perls (RT#141560).
0.556 2022-02-08 Released-By: PERLANCAR; Urgency: medium
- [class Org::Element] Add method settings().
0.555 2021-06-27 Released-By: PERLANCAR; Urgency: medium; Backward-Incompatible: yes
- [incompatible change] Rename Org::Element::Table{V,H}Line (thanks
William Lindley).
0.554 2020-12-30 Released-By: PERLANCAR; Urgency: medium
- [compliance] Accept non-latin numbers/letters as per orgmode doc:
'Tags are normal words containing letters, numbers, ‘_’, and
‘@’. (thanks Bernhard Graf!)
- Parse German timestamps (thanks Tekki).
0.553 2020-09-17 Released-By: PERLANCAR; Urgency: medium
- [INCOMPATIBLE CHANGE] Drawer: properties() now returns unparsed
values, e.g. ':Title: foo bar baz' now because {Title => 'foo bar
baz'} instead of {Title => ['foo','bar','baz']}
- [doc] Drawer: add examples.
0.552 2020-09-11 Released-By: PERLANCAR; Urgency: medium
- Org::Element::Setting: provide raw_arg() method.
0.551 2020-04-01 Released-By: PERLANCAR; Urgency: medium
[Removed]
- Split Org::Dump to its own distribution.
0.550 2019-02-08 Released-By: PERLANCAR
- [bugfix][compliance] Make weekday name in timestamp optional when
there's time of day (e.g. [2019-02-08 11:05] instead of [2019-02-08
Fri 11:05]) [RT#128450].
0.54 2017-07-10 Released-By: PERLANCAR
- No functional changes.
- Replace Log::Any with Log::ger.
0.53 2016-12-24 Released-By: PERLANCAR
- Add methods is_block & is_inline to make it easy to check whether
an element is a 'blocky' element or an 'inline' element.
0.52 2016-11-06 Released-By: PERLANCAR
- Use $] >= ... instead of $] ge ... to avoid test failures on
FreeBSD on 5.20.x perls [suggested by Slaven Rezic, RT#118647].
0.51 2016-11-06 Released-By: PERLANCAR
- Shuts up warning about problematic locale in 5.22 (Karl Williamson).
- Add document attribute/parser option: ignore_unknown_settings.
0.50 2016-10-02 Released-By: PERLANCAR
- When we fail getting cached document (e.g. Storable document got
truncated, etc), instead of dying we continue to skip the cache
and reparse the original document.
0.49 2016-07-14 Released-By: PERLANCAR
- [Bugfix] Fix stringification of Setting element.
0.48 2016-07-14 Released-By: PERLANCAR
- [Bugfix][internal] walk(): Copy children to a temporary array first,
so that in the event that a child in the middle is removed during
walk, the entire children are still walked into.
- [Incompatible change] Rename progress() to statistics_cookie().
- Compliance: recognize COMMENT keyword in a headline.
- Compliance: comment line is allowed to be indented.
0.47 2016-04-01 Released-By: PERLANCAR
- parse_file(): Add option 'cache' to turn on caching (the old
'cache_file' is replaced by this option; the 'cache' option selects a
default cache dir in ~/.cache/perl-org-parser/ to make things more
transparent and caching easier). Caching can also be enabled (or
disabled) by setting PERL_ORG_PARSER_CACHE=1 (or 0).
0.46 2016-03-24 Released-By: PERLANCAR
- walk(): Pass 2nd argument to code: level (currently undocumented).
Currently this is used by the `stat-org-document` script to get tree
depth and number of elements at each level.
- Replace File::Slurp::Tiny with File::Slurper.
0.45 2015-08-18 Released-By: PERLANCAR
- No functional changes.
- Switch from Log::Any to Log::Any::IfLOG.
0.44 2015-03-14 Released-By: PERLANCAR
- Add cmp_priorities() method to Org::Document.
- Add headlines() method to Org::Element.
0.43 2014-12-01 Released-By: PERLANCAR
- No functional changes.
- [Bugfix] Fix logic in headline's get_property(), the previous fix
didn't really fix the problem [RT#100553].
0.42 2014-11-26 Released-By: PERLANCAR
- Fix get_property()'s search_parent argument (was not properly
implemented) [RT#100553].
0.41 2014-11-18 Released-By: PERLANCAR
- Add role: Org::Element::InlineRole, which adds the 'as_text' method to
get "rendered plaintext" representation of element. This is mostly
identical to what 'as_string' returns, except for links in which case
'as_text' will return the description or the link instead of the raw
representation [RT#100396].
- Fix documentation [RT#100395].
- Add some known settings [RT#100394].
0.40 2014-07-17 Released-By: PERLANCAR
- [Bugfix] miscached todo keywords and priorities from previous parse
due to the use of /o regex modifier [RT#98375].
0.39 2014-07-17 Released-By: SHARYANTO
[ENHANCEMENTS]
- Support parsing progress cookie in headline (e.g. '* TODO title [5/10]').
- Accept ( and { to start markup, like Emacs (but { hasn't worked yet)
[RT#95947].
[BUG FIXES]
- Non-TODO headlines can have priority too, so the 'todo_priority'
attribute is renamed to 'priority' [RT#95947](2014-07-16). The old
name is deprecated and will be supported for a while before it is
removed.
[DOCUMENTATION]
- Reduce confusion about array/list/arrayref [RT#97244].
0.38 2014-05-17 Released-By: SHARYANTO
- Update timestamp parsing to follow newer org-mode ([2014-01-06] is
allowed as well as [2014-01-06 ]).
- Replace File::Slurp with File::Slurp::Tiny.
0.37 2013-10-27 Released-By: SHARYANTO
- Support parsing habit-style repeater (thanks Alex White).
0.36 2013-09-23 Released-By: SHARYANTO
- No functional changes. Update test due to updated timezone database
(WIT -> WIB) [CT].
0.35 2013-09-05 Released-By: SHARYANTO
- Text below a list item, indented at the same level as or less than the
list item, can now break the list. This is the behavior of newer
Org-mode (7.x?) and the one that makes more sense. Thanks to Trent
Fisher for finding out about the issue and providing a test case.
- List: add items().
0.34 2013-06-28 Released-By: SHARYANTO
- Add some more known settings from the Orgmode manual's index.
0.33 2013-06-26 Released-By: SHARYANTO
- No functional changes. Second attempt: add 'use experimental
"smartmatch"' must be given after 'use Moo'.
0.32 2013-06-25 Released-By: SHARYANTO
- No functional changes. Add 'use experimental "smartmatch"' for 5.18+.
0.31 2013-05-15 Released-By: SHARYANTO
[BUG FIXES]
- ListItem: dumping description list item didn't dump the description
term and the " ::" string.
0.30 2013-02-06 Released-By: SHARYANTO
[ENHANCEMENTS]
- Headline: Add get_drawer() (implemented by Meng Weng Wong).
0.29 2013-01-15 Released-By: SHARYANTO
[INCOMPATIBLE CHANGES]
- Move get_property() from Org::Element to Org::Element::Headline and
change it so it searches children instead of siblings. This is the
correct behavior, as properties are associated with entries/headlines
and not any element. Ref:
http://orgmode.org/manual/Properties-and-Columns.html [RT#82658].
Thanks Meng Weng Wong.
0.28 2013-01-07 Released-By: SHARYANTO; Message: Happy new year! My first release in 2013
- No functional changes.
[BUG FIXES]
- Correct as_string() for link [RT#82334]
0.27 2012-08-07 Released-By: SHARYANTO
- No functional changes. Increase Perl minimum version requirement from
5.10.0 to 5.10.1 due to failing reports in 5.10.0 [RT#78795]. Thanks,
Andreas.
0.26 2012-07-23 Released-By: SHARYANTO
[ENHANCEMENTS]
- Org::Parser: Add 'cache_file' option to parse_file(). Caching is done
by storing the parsed Org::Document object using Storable. The
storable file will be used as long as the original Org file is not
modified. It is useful if you often parse a less-often-modified,
largish Org file.
- Org::Element: Make walk() able to walk headline's title.
- Org::Element::Timestamp: Add clear_parse_result() to make timestamp
object serializable.
0.25 2012-07-21 Released-By: SHARYANTO
- No functional changes. Add Unicode test files.
0.24 2012-07-17 Released-By: SHARYANTO
- Add binmode => ':utf8' flag to read_file() [RT#78423].
0.23 2012-04-14 Released-By: SHARYANTO
- No functional changes. Another increase in parsing speed by avoiding
doing unnecessary stuffs in first pass and adding m//o flag. A speedup
of about 1.25x is expected.
0.22 2012-04-13 Released-By: SHARYANTO
- No functional changes. Faster parsing (reduce overheads from logging
statements and %+ access). A speedup of about 2x is expected.
0.21 2011-09-23 Released-By: SHARYANTO
- No functional changes. Remove debug message.
0.20 2011-09-23 Released-By: SHARYANTO
[ENHANCEMENTS]
- Allow setting time zone (for timestamps).
0.19 2011-09-22 Released-By: SHARYANTO
[ENHANCEMENTS]
- Table: Add as_aoa().
- Table row: Add as_array().
0.18 2011-08-11 Released-By: SHARYANTO
[INCOMPATIBLE CHANGES]
- Rename Org::Element::ShortExample to Org::Element::FixedWidthSection.
- Allow /^\s*:$/ line as a special case in fixed width section (ref:
[org-mode feb52f9028e73f0f49390780bb2e61cc9da04303])
0.17 2011-07-27 Released-By: SHARYANTO
[INCOMPATIBLE CHANGES]
- Rename Org::Element::Base to Org::Element.
[ENHANCEMENTS]
- Allow decimal fraction on timestamp repeater & warning period.
- Base: add method remove().
- Headline: add methods {promote,demote}_{node,branch}().
0.16 2011-06-16 Released-By: SHARYANTO
- Relax timestamp parsing for Chinese/French timestamps.
0.15 2011-06-09 Released-By: SHARYANTO
[REMOVED]
- dump-org-structure script moved to App::OrgUtils.
[ENHANCEMENTS]
- Base: Add field_name().
- Headline: Add is_leaf().
0.14 2011-06-06 Released-By: SHARYANTO
[ENHANCEMENTS]
- Headline: Add get_active_timestamp().
0.13 2011-06-06 Released-By: SHARYANTO
- No functional changes for the parser.
[REMOVED]
- Spin off 'remind-due-todos' script into App::ListOrgHeadlines.
0.12 2011-05-25 Released-By: SHARYANTO
[ENHANCEMENTS]
- Compliance: Parse .+/++ repeater forms and warning period in timestamp
[thanks Louis B. Moore]
[BUG FIXES]
- Fix regex for parsing table [RT#68442, thanks Slaven Rezic]
[ETC]
- Use utf8 in dump-org-structure script.
0.11 2011-05-23 Released-By: SHARYANTO
[ENHANCEMENTS]
- Compliance: blocks can be indented.
- Compliance: some settings can be indented.
- Parse short example (one-line literal example with colon+space prefix
syntax). See Org::Element::ShortExample.
0.10 2011-04-21 Released-By: SHARYANTO
[FIXES]
- Fixes to POD documentation.
- More specific regex for tag.
[ETC]
- Update todo.org Released-By: some questions cleared up by Carsten Dominik
0.09 2011-03-31 Released-By: SHARYANTO
[FIXES]
- Fix SYNOPSIS, use a slightly more complex Org document example.
0.08 2011-03-23 Released-By: SHARYANTO
[FIXES]
- Update bin/remind-due-todos.
0.07 2011-03-23 Released-By: SHARYANTO
[ENHANCEMENTS]
- Org::Element::Base: add find(), walk_parents(), headline()
- Org::Element::Headline: add get_tags()
[FIXES]
- Link description can contain markups.
0.06 2011-03-23 Released-By: SHARYANTO
[FIXES]
- Some regex fixes.
0.05 2011-03-23 Released-By: SHARYANTO
[INCOMPATIBLE CHANGES]
- Org::Element::TimeRange: datetime1 & datetime2 attributes removed,
replaced with ts1 & ts2 (timestamp elements).
[ENHANCEMENTS]
- Parses event duration and repeater interval in timestamps.
0.04 2011-03-22 Released-By: SHARYANTO
- This release is a major refactoring from the previous one.
[INCOMPATIBLE CHANGES]
- Org::Parser: handler() removed, use Org::Document's walk() instead.
- Refactoring: some classes removed/merged, some added.
[ENHANCEMENTS]
- Dual-pass parsing for more correct behaviour.
- Parse link, plain list (including ordered/unordered/description list),
target, radio target, comment, footnote.
- Add a couple of utility methods in Element::Base: seniority(),
prev_sibling(), next_sibling(), walk(), get_property().
[ETC]
- Project todo list now in distribution's todo.org
0.03 2011-03-18 Released-By: SHARYANTO
[ENHANCEMENTS]
- Parse text markups (bold, italic, etc).
- bin/dump-org-structure outputs nicer format.
[FIXES]
- Todo keyword can also be separated from title with \W (not just \s),
e.g. '* TODO/quit smoking'.
0.02 2011-03-17 Released-By: SHARYANTO
[INCOMPATIBLE CHANGES]
- Refactoring: parser now returns Org::Document instance, which contains
Org::Element instances. handler sub parameter changed.
[ENHANCEMENTS]
- Parse tables.
- Headline titles can now contain inline elements (normal text as well
as other elements, such as timestamps, etc).
- Add another example script: dump-org-structure.
- Recognize blocks: HTML, LATEX, ASCII.
[FIXES]
- Setting/block/drawer/property names are case-insensitive.
0.01 2011-03-16 Released-By: SHARYANTO
- First release.