4 Commits

Author SHA1 Message Date
David Conran
3390e72877 Fix linter issues (#2173)
It seems we have a new linter that is picking up lots of issues.
Attempt to address them.
Set cpplint to ignore whitespace/namespace issues
2025-01-07 21:20:19 +10:00
David Conran
2b96fc79ff Split the library into smaller separate files similar to upstream. (#196)
- Enable #define flags to enable/disable protocols as needed.
- No material changes to program flow etc were made.
- Tonnes & tonnes of modifications to support the new structure.
- Loads of comments added/changed.
- Changes to #include order, and correct mistaken usage of #include <> vs.
  #include "" per c++ library writting guides.
- Move directories and location to make it work with both Platformio and
  the Arduino IDE.
- Update platform.ini files for new dir structure.
- Update Travis for new path.
2017-05-07 11:51:40 +10:00
David Conran
6d6c0192f7 Support platformio. Lint & style issues. (#186)
- Fix a few underlying reasons for NOLINTs. e.g. min() & max()
- Add a CPPLINT.cfg to filter out [build/include] issues.
  - cpplint.py sees to report that we are not including our own header
    which we are. shrug.
- Move the library source code to lib/IRremoteESP82666/...
- Change #include ""s to #include <>s
- Change binary literals to 0bNNNNN format.
- Fix some compiler warnings.
- Update travis to new dir structure
2017-05-01 18:11:39 +10:00
David Conran
1967455860 Fix almost all Google cpplint issues & use c99 types. (#185)
- Fix/address about a gajillion lint issues found by cpplint.py from Google.
- Correct some style issues.
- Minor changes in examples to use c99 types in output text.
- Use only c99 types
  o except fully in RC-5/6/MM because they are under another PR currently. (#176)
- Add CPPLINT.cfg file.

There really should not be anything significant code-wise that has
changed except for data types of course. There are however minor code changes.
2017-04-29 10:01:56 +10:00