Commit Graph

41 Commits

Author SHA1 Message Date
Michael Davidsaver 1ca7600a2b Test value casts which are Undefined Behavior
Mark as TODO since UB is not consistent across all supported platforms.
2024-08-01 15:45:23 -07:00
Michael Davidsaver a9eea922b5 Relax when assigning struct[] or union[] of similar
Attempt copy with partial assignment.
2023-10-03 20:45:28 -07:00
Michael Davidsaver af3c870b7a Value::copyIn() add Array -> Array w/ implied alloc+convert 2023-05-11 10:50:08 -07:00
Michael Davidsaver 4029f5ac3c prevent simple Any self-assignment 2023-05-11 10:50:08 -07:00
Michael Davidsaver 274133bcfc ~fix magic union autoselect
Stop of after first successful conversion
2023-02-12 08:26:50 -08:00
Michael Davidsaver a613778471 expand test coverage 2023-02-12 08:26:50 -08:00
Michael Davidsaver 30b040465a fix Value::unmark() w/ parents=true 2023-02-12 08:26:50 -08:00
Michael Davidsaver 31e0fd8242 expand test coverage 2023-02-12 08:26:50 -08:00
Michael Davidsaver 53f83b6429 Add Value::clear() 2022-11-27 08:20:13 -08:00
Michael Davidsaver e287ce5a58 data: Value in/out from enum{} 2021-06-27 10:17:14 -07:00
Michael Davidsaver d33672a859 extend testdata 2021-06-27 10:17:14 -07:00
Michael Davidsaver 9192ba3c33 test shuffle 2020-08-10 12:09:55 -07:00
Michael Davidsaver c282d94621 testdata MSVC TODO 2020-07-22 11:26:41 -07:00
Michael Davidsaver f4576d4c33 Include input string when reporting parsing error (as NoConvert) 2020-07-22 11:14:57 -07:00
Michael Davidsaver 90203c9b86 truncate when storing scalar numeric 2020-07-19 21:07:15 -07:00
Michael Davidsaver 06e26a0ec5 Value iteration take 3 2020-07-19 21:07:15 -07:00
Michael Davidsaver 2381f28c73 allow unselection/clear of Union/Any 2020-07-19 21:07:15 -07:00
Michael Davidsaver f22715063c allow Union deref w/o field name 2020-07-19 21:07:15 -07:00
Michael Davidsaver 290a2689fc add Value::lookup() 2020-07-16 12:37:48 -07:00
Michael Davidsaver bb7ac1e8e6 rework iteration, extend to Union 2020-07-16 12:37:48 -07:00
Michael Davidsaver b9e025a6dd Value::compareType() -> Value::equalType() 2020-07-03 20:54:47 -07:00
Michael Davidsaver 479f0f1f4d fix spelling in public headers 2020-07-03 20:54:47 -07:00
Michael Davidsaver 7a9d5cb6ab WIN32: SetErrorMode(0) 2020-06-16 16:39:00 -07:00
Michael Davidsaver 8c86aff970 consolidate Value::from() and assign() 2020-04-01 17:50:20 -07:00
Michael Davidsaver 9e79e50fdc test Value::copyIn/copyOut 2020-03-19 17:15:53 -07:00
Michael Davidsaver 07663d90ef shuffle test code 2020-03-19 17:15:53 -07:00
Michael Davidsaver 738c454e28 resolve struct in union ambiguity in Value[] expressions 2020-03-18 09:10:53 -07:00
Michael Davidsaver cacc9d088d fix de-serialize of sub-sub-struct 2020-02-03 14:57:04 -08:00
Michael Davidsaver 31412aff2e add request2mask() 2020-02-03 14:57:04 -08:00
Michael Davidsaver c78ec7718b Value iteration 2020-02-03 14:54:47 -08:00
Michael Davidsaver d4f4fe970d add Value::nameOf() 2020-01-27 11:41:47 -08:00
Michael Davidsaver 4db60a0fe5 TypeDef cache resulting FieldDesc
Ensure the repeated create() yields compatible Values
2019-12-23 19:41:46 -08:00
Michael Davidsaver bbe5fa26a2 Redo FieldDesc
Follow shape of FieldStorage exactly.
Avoids need for offset calculation.
2019-12-23 19:24:11 -08:00
Michael Davidsaver 4b5b134e74 Value traverse to Struct parent 2019-12-23 19:19:09 -08:00
Michael Davidsaver 35d8e8ace6 minor 2019-12-15 16:43:22 -08:00
Michael Davidsaver ca662bf6cc fixup data decode 2019-12-15 16:43:22 -08:00
Michael Davidsaver 7791205b69 changed tracking via enclosing field 2019-12-15 16:43:22 -08:00
Michael Davidsaver 810b7d3b1c use freeze/cast members 2019-12-15 16:43:22 -08:00
Michael Davidsaver dd7a3d2dd3 start xcode data 2019-12-15 16:43:22 -08:00
Michael Davidsaver 4b084b31be rename testdata -> testtype 2019-12-15 16:41:35 -08:00
Michael Davidsaver 801d295c1f start PVD 2019-12-10 17:56:40 -08:00