Max Prokhorov
0894b514cf
WString: direct operator overloads instead of StringSumHelper ( #7781 )
...
* wip
* huh, turns out String = 'c' did some weird stuff
* style
* allow "blah" + String, 'c' + String and F("...") + String
also, simplify const char* vs. __FlashStringHelper, and just always use _P functions
* shuffle things into .cpp
* trying to fix arduinojson
based on the implementation, we only need to specify that this symbol is a class
* fix accidental realloc, add test for operator+
basic chaining should work just like with master
comparing std::move() buffers won't work though, because we never allow
anything but `const StringSumHelper&` references
* fixup! fix accidental realloc, add test for operator+
* don't need another branch
* template +=(String / char* / numbers) and +(String, numbers / char*)
* nul after moving (isnt mem always zeroed tho?)
* check if lhs cant keep before switching to rhs
* fix String used to store struct data
`cannot bind bit-field '...' to 'signed char&'
`cannot bind bit-field '...' to 'unssigned char&'
noticed in both tasmota and espeasy, where this generates a webpage
content from some status struct containing bitfields
* style once more
* typo
* recover 444002180bca8e36b3014eaf5ecf5e690837b440
2021-03-21 14:40:25 +01:00
..
2019-11-02 02:48:23 +01:00
2019-10-31 13:18:36 -07:00
2020-05-18 20:48:18 -07:00
2021-03-14 18:44:02 -07:00
2020-10-06 16:18:00 +02:00
2020-07-09 09:59:49 -07:00
2021-01-13 15:43:55 -08:00
2021-01-26 23:56:43 -08:00
2019-10-31 13:18:36 -07:00
2021-03-14 17:24:33 -07:00
2019-05-14 00:09:54 +02:00
2020-06-08 14:19:18 -04:00
2021-03-14 16:56:47 -07:00
2019-05-14 00:09:54 +02:00
2021-03-14 17:36:20 -07:00
2021-03-14 16:56:47 -07:00
2019-05-14 00:09:54 +02:00
2019-10-07 18:37:59 -03:00
2019-07-08 10:17:48 +02:00
2019-09-05 03:01:01 +02:00
2020-07-07 11:12:43 -07:00
2020-10-06 16:18:00 +02:00
2020-04-23 12:15:21 -04:00
2019-05-14 00:09:54 +02:00
2021-03-14 16:56:47 -07:00
2021-03-07 08:14:07 -08:00
2021-03-14 18:44:02 -07:00
2021-03-14 18:44:02 -07:00
2021-03-14 18:44:02 -07:00
2020-09-25 11:12:39 +02:00
2021-03-14 16:56:47 -07:00
2020-08-25 11:00:48 +02:00
2021-03-14 16:56:47 -07:00
2019-05-14 00:09:54 +02:00
2020-05-26 20:04:49 -04:00
2021-03-14 16:56:47 -07:00
2019-05-14 00:09:54 +02:00
2021-03-15 03:00:39 -07:00
2021-03-14 18:44:02 -07:00
2021-03-14 16:56:47 -07:00
2021-03-14 16:56:47 -07:00
2021-03-14 16:56:47 -07:00
2021-01-07 21:14:14 -08:00
2021-03-14 16:56:47 -07:00
2019-05-14 00:09:54 +02:00
2021-01-26 23:56:43 -08:00
2019-05-14 00:09:54 +02:00
2021-03-14 16:56:47 -07:00
2018-11-29 15:16:58 -08:00
2020-10-23 10:43:45 +02:00
2019-12-20 14:38:35 -08:00
2020-08-03 18:03:23 -07:00
2020-05-18 13:54:25 -04:00
2021-03-14 17:36:20 -07:00
2021-03-14 17:36:20 -07:00
2019-05-14 00:09:54 +02:00
2020-10-06 16:18:00 +02:00
2021-02-17 08:25:52 -08:00
2021-03-14 17:36:20 -07:00
2020-12-06 14:15:42 +01:00
2020-07-09 09:59:49 -07:00
2021-03-14 18:44:02 -07:00
2021-03-14 18:44:02 -07:00
2021-01-12 22:51:26 +01:00
2021-03-14 18:44:02 -07:00
2020-10-14 22:21:41 -07:00
2019-05-25 09:53:24 +02:00
2020-04-23 12:15:21 -04:00
2019-05-14 00:09:54 +02:00
2021-03-14 17:36:20 -07:00
2021-03-14 17:36:20 -07:00
2021-03-14 17:36:20 -07:00
2019-11-06 21:37:52 -03:00
2021-03-14 16:56:47 -07:00
2020-08-24 09:51:58 +02:00
2021-03-14 16:56:47 -07:00
2019-05-14 00:09:54 +02:00
2020-08-05 20:13:37 -04:00
2021-03-14 17:36:20 -07:00
2021-03-14 16:56:47 -07:00
2021-03-07 08:14:07 -08:00
2019-06-25 11:14:45 +02:00
2020-09-09 12:24:35 +02:00
2020-09-25 11:12:39 +02:00
2021-03-14 16:56:47 -07:00
2020-12-22 22:36:21 +01:00
2021-03-03 01:12:01 +01:00
2020-12-22 22:36:21 +01:00
2021-03-02 17:32:34 -08:00
2021-03-02 17:32:34 -08:00
2020-12-22 22:36:21 +01:00
2020-12-22 22:36:21 +01:00
2019-05-14 00:09:54 +02:00
2020-04-11 14:02:38 -04:00
2020-04-11 14:02:38 -04:00
2020-12-06 14:15:42 +01:00
2020-12-06 14:15:42 +01:00
2018-12-03 03:37:14 -03:00
2020-08-15 15:24:35 -04:00
2021-03-14 17:36:20 -07:00
2021-03-14 17:36:20 -07:00
2019-05-14 00:09:54 +02:00
2021-03-14 16:56:47 -07:00
2021-02-17 08:25:52 -08:00
2020-11-19 23:01:45 +01:00
2020-10-15 21:09:14 +02:00
2019-05-14 00:09:54 +02:00
2019-05-14 00:09:54 +02:00
2020-04-23 12:15:21 -04:00
2019-11-04 23:14:35 -03:00
2020-04-23 12:15:21 -04:00
2020-05-04 14:22:50 -04:00
2021-03-14 17:36:20 -07:00
2019-05-14 00:09:54 +02:00
2020-12-06 14:15:42 +01:00
2020-07-07 11:12:43 -07:00
2021-02-13 08:47:47 -08:00
2021-02-13 08:47:47 -08:00
2021-03-14 17:36:20 -07:00
2021-03-14 17:36:20 -07:00
2021-03-14 17:36:20 -07:00
2021-03-14 17:36:20 -07:00
2021-03-21 14:40:25 +01:00
2020-12-23 11:21:38 -08:00
2021-01-17 15:57:26 -08:00
2019-05-14 00:09:54 +02:00
2019-10-14 14:32:41 -07:00
2020-04-29 10:30:26 -04:00
2020-04-29 10:30:26 -04:00
2020-11-12 09:31:01 -08:00
2021-03-14 17:36:20 -07:00
2021-03-14 17:36:20 -07:00
2020-07-09 09:59:49 -07:00
2018-12-02 19:57:47 -08:00
2020-12-01 09:42:36 +01:00
2020-12-01 09:42:36 +01:00
2014-12-01 00:34:28 +03:00
2019-05-14 00:09:54 +02:00
2020-03-22 13:16:39 +01:00
2020-12-22 22:36:21 +01:00
2020-02-05 07:28:04 +01:00
2021-03-21 14:40:25 +01:00
2021-03-21 14:40:25 +01:00
2020-12-06 14:15:42 +01:00