Louis
ea9742bff1
Merge pull request #176 from patacrep/errors
Add an `errors` attribute to songs, compiling the song errors
Closes #121 .
9 years ago
Oliverpool
9c237846af
Test with other packages
9 years ago
Oliverpool
2aefd1747e
Add ltxbase
9 years ago
Oliverpool
0759f3c9ce
Selective update
9 years ago
Oliverpool
f925094270
List updatable packages
9 years ago
Oliverpool
313f4d0a31
Try mpm with admin rights
9 years ago
Oliverpool
6fb4e19eaf
Display log in case of failure
9 years ago
Oliverpool
5072cab9d3
Make appveyor more verbose
9 years ago
Oliverpool
1a9309eea4
Update AppVeyor packages
9 years ago
Louis
0f2c0938bc
Templates: Reorganise default filters
9 years ago
Louis
b2a9f4c81a
Remove useless (and wrong) argument
9 years ago
Louis
5cfe8cd0f1
Remove unused argument, and improve documentation
9 years ago
Louis
251deb889a
Define a constant for the default language
9 years ago
Louis
dd2147c612
Add an `iter_flat_error()` method
9 years ago
Louis
a2658eed4e
Fix and move test
9 years ago
Louis
f9208e8581
Simplify test
9 years ago
Louis
538aed16c9
Rephrase error
9 years ago
Louis
49080bc7f1
Move iteration of sub-content errors into the ContentList.iter_errors() iterator
9 years ago
Louis
fbc8ac5a95
Tricking pylint
9 years ago
Louis
61721f3425
Shared errors can be turned into dictionaries
9 years ago
Louis
6fce49ae1b
Fix type error
9 years ago
Louis
38f87923d8
Song errors are cached only if there isn't any of them
9 years ago
Louis
10578710ef
Better error messages
9 years ago
Louis
5c471af26d
"File not found" errors are now stored into the list of songbook errors
9 years ago
Louis
d639cdc375
Error "Invalid songbook language" is now gathered into list songbook errors.
9 years ago
Louis
723cf9e805
Language errors are now added to song errors
9 years ago
Louis
53fe796421
[examples] Fix and improve test examples
9 years ago
Louis
e596013ed3
Fix bug: line number appeard twice in error message
9 years ago
Louis
c6e04372c1
"Illegal character in directive" now added to song errors
9 years ago
Louis
0af000e49d
More verbose exception
9 years ago
Louis
86833febf1
[chordpro] Lexer errors are added to the songbook errors
9 years ago
Louis
e1ab8daa7f
Turn an error into a warning
9 years ago
Louis
98c284975a
pylint
9 years ago
Louis
ab5aa859d3
Merge branch 'master' into errors
9 years ago
Louis
1d2a285536
Errors are correctly gathered from content items
9 years ago
Louis
b1b38cc77d
[test] Skip `errors` tests if there is not any
9 years ago
Louis
ad1c9f7157
[content/include] Include files must be in the `songs` directory
9 years ago
Louis
d5e330ee18
Correct bug: `cwd` did not work as expected
9 years ago
Louis
8b7d99af72
[test] Create test for content plugins
9 years ago
Louis
d184f037fc
[WIP] Content errors are now gathered
* Rename `patacrep.content.Content` to `patacrep.content.ContentItem`
* Create pseudo-list `patacrep.content.ContentList`, which has an
`errors` attribute.
* Songs that cannot be parsed at all no longer produce an empty song.
This is highly work in progress: most of the `patacrep.content.*`
packages are broken.
9 years ago
Louis
c1a871b549
Merge pull request #183 from patacrep/yaml_for_songbook
Yaml for songbook (WIP)
9 years ago
Oliverpool
720d7a7f08
Convert test songbooks to YAML
Using http://www.json2yaml.com/
9 years ago
Oliverpool
2e70273d93
[pylint] Rewrite 'not xxx in' into 'xxx not in'
9 years ago
Oliverpool
0176cf8720
Fix other import orders
9 years ago
Oliverpool
2d6298c301
[pylint] Correct import order
9 years ago
Oliverpool
7556c99703
Replace json parser by yaml
9 years ago
Oliverpool
77c491dcc4
Add pyyaml dependency
9 years ago
Louis
d40fd9bb15
[song.chordpro] Catch fatal syntax error when a block is not closed
9 years ago
Louis
61a3df1f11
Replace LOGGER.error by LOGGER.warning for catchable errors
9 years ago
Louis
362c6b87ce
Song errors contain a reference to the song they occur in
9 years ago