NLS was probably broken since the switch to meson,
this commit fix 2 issues:
* config.h was not readed at all, renamed to forecasts_config.g and included
* meson install po files in system dir, not in E modules dir like it was before
Summary:
Old API retired => use yahoo weather JSON API
The new API is returning data in JSON format.
This commit is switching it over (currently SSL server) and parsing
to have the data in par with previous data.
Example data:
https://www.yahoo.com/news/_tdnews/api/resource/WeatherService;woeids=839722
Fix millibar to inches of mercury divider
Merge branch 'json-api'
Reviewers: vtorri, bu5hm4n, stephenmhouston, raster
Reviewed By: vtorri
Subscribers: raster, vtorri
Differential Revision: https://phab.enlightenment.org/D8095
Summary:
Old API retired => use yahoo weather JSON API
The new API is returning data in JSON format.
This commit is switching it over (currently SSL server) and parsing
to have the data in par with previous data.
Example data:
https://www.yahoo.com/news/_tdnews/api/resource/WeatherService;woeids=839722
Fix millibar to inches of mercury divider
Merge branch 'json-api'
Reviewers: vtorri, bu5hm4n, stephenmhouston
Reviewed By: vtorri
Subscribers: raster, vtorri
Differential Revision: https://phab.enlightenment.org/D8095
Summary: Made forecasts module to compile with latest enlightenment infrastructure
Test Plan: verified module runs ok and also can be configured from the context menus etc
Differential Revision: https://phab.enlightenment.org/D757
Apply badzero.cocci, badnull.coci and badnull2.cocci
This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:
code before patch ||code after patch
===============================================================
return a == NULL; return !a;
return a != NULL; return !!a;
func(a == NULL); func(!a);
func(a != NULL); func(!!a);
b = a == NULL; b = !a;
b = a != NULL; b = !!a;
b = a == NULL ? c : d; b = !a ? c : d;
b = a != NULL ? c : d; b = a ? c : d;
other cases:
a == NULL !a
a != NULL a
SVN revision: 51487
* Remove vim modelines:
find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;
* Remove leading blank lines:
find . -name '*.[cxh]' -exec sed -i '/./,$!d'
If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0
SVN revision: 50816