Bart van Strien
f283d4a842
Prepare for version 1.1
2024-02-20 17:40:26 +01:00
Bart van Strien
a47193128c
Update urls
2024-02-20 17:21:49 +01:00
Lukas Hofstaetter
b7a20d1f3a
Close open file handler
2024-02-20 17:20:05 +01:00
Bart van Strien
cdee42a3a7
Specify test directory for busted
2021-07-26 14:59:08 +02:00
Bart van Strien
d4dee39b6e
Fix action
...
Update action versions and add missing busted package.
2021-07-26 14:57:12 +02:00
Bart van Strien
facd3a811b
Add github action to run tests
2021-07-26 14:53:31 +02:00
Bart van Strien
fce9c44271
Add development rockspec
2021-07-26 14:53:19 +02:00
Bart van Strien
2acf400942
Detect writing invalid sections
...
And display a proper error, instead of some random pairs-error
2021-07-26 14:04:51 +02:00
Bart van Strien
274bb1e0ce
Prevent error when data is outside of a section
...
Which is now picked up as a parse error and returned.
2021-07-26 14:04:51 +02:00
Bart van Strien
149af030cd
Make parse return a list of parse errors
...
Which basically just means unmatched lines.
There are no descriptive errors, at least for now, but at least this
gives you the option to display warnings or errors.
2021-07-26 14:04:51 +02:00
Bart van Strien
7051f35bfb
Add tests for error handling
...
That all fail so far.
2021-07-26 14:04:51 +02:00
Bart van Strien
441ce4877e
Add tests
2021-07-26 13:40:00 +02:00
Bart van Strien
f0b41a8a92
Move files and update rockspec
2016-07-24 10:59:27 +02:00
Bart van Strien
3bdae9b28b
Add rockspec for inifile
2016-07-24 10:42:06 +02:00
Bart van Strien
1f129c9718
Update inifile to return a local table with meta-information, dub it version 1.0
2016-07-24 10:39:45 +02:00
Bart van Strien
d46c17136a
Allow underscores in ini keys
2016-07-24 10:39:37 +02:00
Bart van Strien
649d4da453
Fix adding and removing of keys in inifile, fix typo
2016-07-24 10:39:25 +02:00
Bart van Strien
8bdf26e359
Add comment preservation (section-accurate comments) and order preservation (both of sections and keys), meaning that if the comments are at the top of sections or at the top of the file, and the output table's metatable isn't modified, the ini file written out should exactly match the one read in, ignoring whitespace
2016-07-24 10:39:13 +02:00
Bart van Strien
8744d73161
Correct handling of 'false' booleans
2016-07-24 10:39:03 +02:00
Bart van Strien
e886b00dda
Add multiple-backend support for inifile, adding a memory backend
2016-07-24 10:38:51 +02:00
Bart van Strien
23453a30ff
Add Simplified BSD license
2016-07-24 10:38:38 +02:00
Bart van Strien
757d8849c6
Add inifile
2016-07-24 10:38:15 +02:00