Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix and improve FlashString load/import #2013

Merged
merged 1 commit into from
Jan 1, 2020

Conversation

mikee47
Copy link
Contributor

@mikee47 mikee47 commented Jan 1, 2020

  • Fix LOAD_FSTR_ARRAY macro, mis-placed )
  • Fix FSTR_IMPORT and IMPORT_FSTR_ARRAY so they're compatible with DECLARE_xxx
  • Add DECLARE_FSTR_OBJECT macro, and rearrange custom object sample to use it
  • Tidy up array test module and add IMPORT_FSTR_ARRAY_LOCAL check
  • Revise ArrayPrinter to escape character data, remove separator parameter

* Fix `LOAD_FSTR_ARRAY` macro, mis-placed )
* Fix FSTR_IMPORT and IMPORT_FSTR_ARRAY so they're compatible with DECLARE_xxx
* Add `DECLARE_FSTR_OBJECT` macro, and rearrange custom object sample to use it
* Tidy up `array` test module and add `IMPORT_FSTR_ARRAY_LOCAL` check
* Revise ArrayPrinter to escape character data, remove separator parameter
@slaff slaff added this to the 4.0.1 milestone Jan 1, 2020
@slaff slaff merged commit 06f2660 into SmingHub:develop Jan 1, 2020
@mikee47 mikee47 deleted the fix/FlashString-fixes branch January 1, 2020 17:09
@slaff slaff mentioned this pull request Jan 2, 2020
4 tasks
mikee47 added a commit to mikee47/Sming that referenced this pull request Jan 30, 2020
In SmingHub#2013 omitted to update `IMPORT_FSTR` to `IMPORT_FSTR_LOCAL`.
slaff pushed a commit that referenced this pull request Jan 31, 2020
In #2013 omitted to update `IMPORT_FSTR` to `IMPORT_FSTR_LOCAL`.
slaff pushed a commit to slaff/Sming that referenced this pull request Feb 6, 2020
New features
------------------
- No-WiFi build option SmingHub#2004 - get more resources if your application is not using WIFI.
- Multiple SSL adapters based on axTLS and BearSSL.  SmingHub#1999
- Added basic Crypto support library SmingHub#2014
- Updates framework to build using GCC 9.2.0 toolchain for C++17. SmingHub#1825
- Modbus master SmingHub#1992
- Implemented Small String Optimisation (SSO). SmingHub#1951
- Webcam stream and sample webcam web server. SmingHub#1981
- Allow HTTP connections to ignore rejected body content SmingHub#1928

Improvements
-------------------
- Some improvements to multipart parser SmingHub#2007
- Update ArduinoJson to 6.13.0 SmingHub#1979
- Added precaching from Arduino for ESP8266. SmingHub#1965
- Add support for 'Expect: 100-continue' in HTTP server. SmingHub#1931
- Upgrade to FlashString Library  SmingHub#1974, SmingHub#2013

Bug fixes
-------------
- Updated mqtt-codec to allow publish messages without payload. SmingHub#1976
- HttpConnection freed twice. SmingHub#1938
- Hangs at startup when custom heap enabled. SmingHub#1996
- Fix issues reported by valgrind SmingHub#2017

Breaking changes and Migration
-------------------------------------------
- See our [dedicated page](https://sming.readthedocs.io/en/latest/upgrading/4.0-4.1.html) for migration from 4.0.0 to 4.1.0.

All PRs scheduled for this release can be seen from [here](https://github.com/SmingHub/Sming/milestone/23)
slaff pushed a commit to slaff/Sming that referenced this pull request Feb 6, 2020
New features
------------------
- No-WiFi build option SmingHub#2004 - get more resources if your application is not using WIFI.
- Multiple SSL adapters based on axTLS and BearSSL.  SmingHub#1999
- Added basic Crypto support library SmingHub#2014
- Updates framework to build using GCC 9.2.0 toolchain for C++17. SmingHub#1825
- Modbus master SmingHub#1992
- Implemented Small String Optimisation (SSO). SmingHub#1951
- Webcam stream and sample webcam web server. SmingHub#1981
- Allow HTTP connections to ignore rejected body content SmingHub#1928

Improvements
-------------------
- Some improvements to multipart parser SmingHub#2007
- Update ArduinoJson to 6.13.0 SmingHub#1979
- Added precaching from Arduino for ESP8266. SmingHub#1965
- Add support for 'Expect: 100-continue' in HTTP server. SmingHub#1931
- Upgrade to FlashString Library  SmingHub#1974, SmingHub#2013

Bug fixes
-------------
- Updated mqtt-codec to allow publish messages without payload. SmingHub#1976
- HttpConnection freed twice. SmingHub#1938
- Hangs at startup when custom heap enabled. SmingHub#1996
- Fix issues reported by valgrind SmingHub#2017

Breaking changes and Migration
-------------------------------------------
- See our [dedicated page](https://sming.readthedocs.io/en/latest/upgrading/4.0-4.1.html) for migration from 4.0.0 to 4.1.0.

All PRs scheduled for this release can be seen from [here](https://github.com/SmingHub/Sming/milestone/23)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants