Johannes Meyer
9d30cfc3b7
IniParser: Add work-around for php bug 76965
...
refs #3733
2019-04-17 10:00:42 +02:00
Johannes Meyer
769d490631
config: Escape and unescape line breaks in ini values
...
refs #3705
2019-03-04 12:16:06 +01:00
Johannes Meyer
ed7ecb32a5
IniParser: Properly unescape special characters in section names and option values
...
refs #3648
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2019-02-05 11:30:55 +01:00
Bas Couwenberg
075eb17005
Use continue <N> in case statements to fix ErrorException with PHP 7.3.
...
```
Fatal error: Uncaught ErrorException: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
```
2018-11-23 18:34:56 +01:00
Johannes Meyer
86ae8c12df
IniParser: Use mode INI_SCANNER_RAW to parse ini files
2018-10-10 09:44:11 +02:00
Alexander A. Klimov
15bc83ec14
IniParser::parseIniFile(): parse as ::parseIni() would do
...
refs #3357
2018-04-04 13:58:19 +02:00
Alexander A. Klimov
5616e9d508
IniParser: include the file location in parsing exceptions
...
refs #3252
2018-01-19 09:47:15 +01:00
Alexander A. Klimov
56d71c5cb6
Use parse_ini_string() where IniParser::parseIni() is not needed
...
refs #2766
2017-02-23 15:45:57 +01:00
Alexander A. Klimov
474803fee4
Change all license headers to only reflect a file's year of creation
...
refs #11000
2016-02-08 15:41:00 +01:00
Alexander A. Klimov
8dc9928cb3
IniParser::parseIniFile(): return a Config instance
...
refs #10150
2015-09-25 12:04:13 +02:00
Alexander A. Klimov
a090907373
Conform to coding guidelines
2015-09-25 11:37:06 +02:00
Alexander A. Klimov
b441156934
Implement IniParser::parseIniFile()
...
refs #10150
2015-09-22 14:50:49 +02:00
Matthias Jentsch
438f2650db
Conform to coding guidelines
...
Use exclusively getters and setters for accessing class variables. Add better documentation to INI parser and writer classes.
2015-08-10 15:15:40 +02:00
Matthias Jentsch
fe805c82ca
Support multi line values in INI files
2015-08-10 15:15:40 +02:00
Matthias Jentsch
aa3cc9847d
Fix issue that bricked the dashboard when quotes in dashlets
...
Escape more special chars in IniWriter, support reading escaped readers in IniParser and add tests for all important escape cases.
2015-08-07 12:55:19 +02:00
Matthias Jentsch
f8e2dc850c
Drop IniEditor and clean up IniWriter
...
Replace the ini editor code with a new parser implementation that manipulates a DOM. Do not support capabillities that are no longer needed, like nested configurations, section inheritance, section-less properties.
2015-08-05 18:10:17 +02:00