Commit Graph

27 Commits

Author SHA1 Message Date
Davide Andreoli 1a2f682b28 Forecasts: make translation works again
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
2020-04-19 10:29:55 +02:00
Mariusz Bialonczyk 0589f319c8 Add json-c dependency
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
2019-06-03 16:47:57 +01:00
Mariusz Bialonczyk 375f6e2306 Add json-c dependency
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
2019-05-13 15:12:30 +01:00
Mariusz Bialonczyk 949cc0f279 forecast: adapt to new YQL Weather API
Reviewers: pawatzaza

Reviewed By: pawatzaza

Subscribers: pawatzaza

Differential Revision: https://phab.enlightenment.org/D4132

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-07-06 14:05:29 -07:00
Kai Huuhko 68902013a4 Follow changes in E 0.19.99 development 2015-03-15 22:26:46 +02:00
teacup-on-rockingchair db9cb76932 compilation fixes for forecasts module to match "compositor rewrite / charlie-foxtrot situation"
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
2014-05-29 10:57:33 +09:00
discomfitor e78afd6869 fix image object leak on shutdown 2014-01-01 16:18:30 -05:00
Mike Blumenkrantz 95d945442b sed -i 's/(E_Gadcon_Client_Class/(const E_Gadcon_Client_Class/g'
SVN revision: 74475
2012-07-27 08:35:53 +00:00
Mike Blumenkrantz 4e3ca11a75 formatting
SVN revision: 74211
2012-07-20 07:33:31 +00:00
Mike Blumenkrantz 22392f1b60 formatting
SVN revision: 73260
2012-07-04 08:42:29 +00:00
Mike Blumenkrantz 1869a1bc64 printf -> fprintf
SVN revision: 68858
2012-03-06 23:52:09 +00:00
Mike Blumenkrantz e6f2ef32dc NODELAY for forecasts too
SVN revision: 66073
2011-12-10 07:04:31 +00:00
Boris Faure 771aa60494 E-MODULES-EXTRA: add const to _gc_label() functions
SVN revision: 65208
2011-11-14 22:17:19 +00:00
Hannes Janetzek 154450fe7a e-modules: update do e_gadcon_util_cliet_menu_append api changes. allowing to have settings menu in toplevel again
SVN revision: 57828
2011-03-17 17:24:53 +00:00
Mike Blumenkrantz 5088ae9ffb use correct strbuf append function
SVN revision: 55876
2011-01-05 09:30:22 +00:00
Miculcy Brian 3256af23b3 fix proxy parsing
SVN revision: 54363
2010-11-09 11:27:48 +00:00
Miculcy Brian 35719ed4c3 Fix hiding description when disabled.
SVN revision: 53350
2010-10-13 12:19:55 +00:00
Miculcy Brian b8820fb235 Remove useless menu separator.
SVN revision: 53102
2010-10-06 15:51:59 +00:00
Massimo Maiurana cb62be9582 adding strings to translate and updating italian translation
SVN revision: 52546
2010-09-21 17:04:00 +00:00
Miculcy Brian 6ba6922f59 fix recent menu api break
SVN revision: 52054
2010-09-09 14:49:27 +00:00
Miculcy Brian 2887f01913 Make the sections more clearer.
SVN revision: 51990
2010-09-08 13:35:18 +00:00
Lucas De Marchi 9f87eef80c Convert (hopefully) all comparisons to NULL
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
2010-08-21 13:52:25 +00:00
Lucas De Marchi 8b86c04ede FORMATTING
* 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
2010-08-04 16:57:32 +00:00
Mike Blumenkrantz 2cb092f302 fix leak and use better memory management
SVN revision: 50467
2010-07-24 00:41:50 +00:00
Lucas De Marchi 2bb1b4d565 Fixes for Ecore Api changes
Patch automatically by Coccinelle to fix the
callbacks used by the following functions:

 * ecore_event_handler_add()
 * ecore_event_filter_add()
 * ecore_idler_add()
 * ecore_idle_enterer_add()
 * ecore_idle_enterer_before_add()
 * ecore_idle_exiter_add()
 * ecore_main_fd_handler_add()
 * ecore_main_win32_handler_add()
 * ecore_timer_add()
 * ecore_timer_loop_add()
 * ecore_animator_add()
 * ecore_poller_add()


SVN revision: 50108
2010-07-08 00:57:17 +00:00
Christopher Michael 67d1677c82 Fix API Inconsistency in regards to e_widget_min_size_* . Renamed to
e_widget_size_min_* . This Large commit should fix everything in svn that is
using those functions.



SVN revision: 42152
2009-09-01 13:34:42 +00:00
Daniel Kolesa 06c855ef72 EMODULES: Fix & Unify autofoo stuff everywhere, fix dist tarballs support, add ability to create dist tarball of all modules.
SVN revision: 41571
2009-08-03 14:49:56 +00:00