Commit Graph
281 Commits
Author SHA1 Message Date
ᴜɴᴋɴᴡᴏɴ 90207e2a6a ini: remove internal version v1.53.0 2020-03-07 14:15:30 +08:00
ᴜɴᴋɴᴡᴏɴ fbbb7987e5 data_source: support io.Reader 2020-03-07 14:13:37 +08:00
Joe Chen 32cf4f7e9c Bump version v1.52.0 2020-01-31 20:28:19 +08:00
ᴜɴᴋɴᴡᴏɴandGitHub 7d14fca8d2 struct: support StructReflector interface (#221)
* StructReflector

* struct: add unit tests

* struct: avoid using map in tests
2020-01-31 20:26:21 +08:00
UnknwonandGitHub 94291fffe2 Bump version v1.51.1 2019-12-25 10:25:40 +08:00
YangKianandUnknwon 6cde41423e struct: fix incompatibility error with older versions (#219)
* fix incompatibility error with older versions

* add a test to make sure fix unspport old version bug.

* fix incompatibility error with older versions
2019-12-25 10:24:32 +08:00
UnknwonandGitHub 6982260a37 Delete ISSUE_TEMPLATE.md
[SKIP CI]
2019-11-19 18:03:13 -08:00
UnknwonandGitHub 4c44b8b468 Update issue templates
[SKIP CI]
2019-11-19 18:02:47 -08:00
UnknwonandGitHub 87e589f491 Bump version v1.51.0 2019-11-09 13:43:49 -08:00
Jonathan StewmonandUnknwon d544aa9392 parser: support unmashalling to all basic type pointers (#214) 2019-11-09 13:32:47 -08:00
Unknwon 8ee0b78994 Bump version v1.50.0 2019-11-05 20:13:40 -08:00
0f135c99ab Large python style multiline value fix (#210)
* fixed mutliline value handling

* added debug messages

* modified regex to allow empty string after indent

* multiline value indentation is determined by first indented value line

* fixed Python-style multiline value support

* fixed it

* fixed it

* cleaned up debug code

* fixed imported package name for new test file

* reversed change

* fixed import

* made changes as requested by github reviewer

* fixed build error

* added test case for large values

* incorporated second round of comments

* fixed import to point to original repo

* made Debug option a function to allow custom implementation
made other changes as requested

* removed bogus import (added by GoLand)

* simplified debug function args

* made changes as requested

* fixed format error

* made requested changes


Co-authored-by: Joerg Reichelt <joreiche@cisco.com>
2019-11-05 20:12:48 -08:00
UnknwonandGitHub 53ef941065 README: change badges position 2019-11-02 20:03:45 -07:00
UnknwonandGitHub b04eef3b53 README: update cool badges 2019-11-02 01:15:10 -07:00
Unknwon 1eb383f13c Bump version v1.49.0 2019-10-17 18:14:14 -07:00
Unknwon 2e33564b44 key: fix panic when recursive value has missing target (#191) 2019-10-17 18:13:53 -07:00
Unknwon b19459e590 ci: add Go 1.13 2019-10-05 09:51:31 -07:00
unknwon 7007817597 Bump version v1.48.0 2019-09-22 23:11:19 -07:00
unknwon 86335412cb key: deduplicate shadows while adding (#207) 2019-09-22 22:54:29 -07:00
unknwon 6ba806069d Bump version v1.47.0 2019-09-18 17:15:19 -07:00
JeffasandJiahua Chen e2da38cefe {key, struct}: add support for []bool (#206) 2019-09-18 17:10:38 -07:00
unknwon 8fe474341f *: some move around 2019-08-06 22:36:05 -07:00
unknwon e145131f9c ini_test: add test case for #198 2019-08-06 00:00:55 -07:00
unknwon dd2c58e130 README: remove Go modules section
[ci skip]
2019-08-05 00:09:47 -07:00
unknwon d4cae42d39 Bump version v1.46.0 2019-08-04 23:45:50 -07:00
unknwon c4baf76d5c Merge branch 'v1' of github.com:go-ini/ini 2019-08-04 23:45:30 -07:00
unknwon 5cf43420b0 Disable Go module and import path enforcement 2019-08-04 23:44:58 -07:00
unknwon 8f3156dadd ci: skip install 2019-08-04 13:14:36 -07:00
unknwon 39a1505cbc Bump version v1.45.0 2019-08-04 13:13:54 -07:00
Yoan Blancandᴊ. ᴄʜᴇɴ bc28565606 struct: support for *bool (#200)
* struct: support for *bool

Signed-off-by: Yoan Blanc <yoan@dosimple.ch>

* simplify

Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2019-08-04 13:11:45 -07:00
unknwon 269335d44f README: quick help about Go modules
[ci skip]
2019-08-03 22:56:56 -07:00
unknwon 9a04224798 README: quick help about Go modules
[ci skip]
2019-08-03 22:54:34 -07:00
unknwon c014d65cb0 Disable Go module for backwards compatibility
[ci skip]
2019-08-03 22:40:20 -07:00
unknwon 7a842c6f35 README: update
[ci skip]
2019-08-03 20:18:41 -07:00
unknwon a7193e3188 ini: enforce canonical import path v1.44.2 2019-08-03 19:48:27 -07:00
unknwon 27a23941b3 Bump version v1.44.1 2019-08-03 19:39:54 -07:00
unknwon bb0c6f03a1 Enable Go Modules 2019-08-03 19:20:44 -07:00
Unknwon 8659100d2d struct: reflect slice elements to shadows when 'allowShadow' tag is presented (#196) v1.44.0 2019-07-06 22:25:57 -07:00
Unknwon 2d4014bce1 parser: remove unnecessary new variable
Related to #194
v1.43.1
2019-07-06 20:31:29 -07:00
Shahms Kingand无闻 1ed38061d4 parser: support Python multi-line values with empty first line (#194) 2019-07-06 20:12:30 -07:00
Unknwon 2b9e6cf7b5 Bump version v1.43.0 2019-07-06 19:50:44 -07:00
Jonathan Pentecostand无闻 a7e2a0b584 struct: map into fields that are struct pointers (#189)
Allow 'mapTo' to load into fields that are struct pointers iff there is
a section for that field and fieldname. The field is initialised to
pointer type and then the data is loaded.

Fixed a spelling mistake.
2019-07-06 19:48:34 -07:00
Unknwon 3be5ad479f section: misc fix
[ci skip]
2019-03-26 22:48:45 -04:00
Unknwon 7ff51274eb ci: add Go 1.12 2019-03-26 19:56:59 -04:00
Unknwon d79353dad8 *: fix golint complaints 2019-03-26 19:30:17 -04:00
Unknwon ece0e89bb0 *: refactor constants to use camelcase 2019-02-17 14:54:15 -05:00
Unknwon 7c1c4f765b parser: pass file options at parser creation
To avoid passing same values for every readValue call.
2019-02-17 14:53:13 -05:00
Unknwon c85607071c Bump version v1.42.0 2019-02-17 14:36:56 -05:00
drakkanand无闻 8b99162dcd parser: add option to preserve surrounded quote (#182) 2019-02-17 14:31:27 -05:00
Unknwon 6ed8d5f64c Bump version v1.41.0 2019-01-03 09:53:35 +08:00