web/web2 : Deprecated uri. url will be used instead(2).

Sorry, I missed elm_web_legacy.h from previous commit.
In addition, updated ChangeLog and NEWS.
This commit is contained in:
Ryuan Choi 2013-06-13 13:56:16 +09:00
parent e11bbc24b5
commit 1af4430e6a
3 changed files with 45 additions and 2 deletions

View File

@ -1420,3 +1420,8 @@
* Keep the smart members of the naviframe views whenever resize object is changed.
This prevents the dangling view objects of the naviframe and keep the layer
consistency.
2013-06-13 Ryuan Choi (ryuan)
* Replace uri to url from elm_web_uri_get, elm_web_uri_set and "uri,changed" signal.
Previous APIs and signal are deprecated.

View File

@ -74,6 +74,7 @@ Additions:
* Add elm_config_glayer_long_tap_start_timeout_set/get, elm_config_glayer_double_tap_timeout_set/get
* Add magnifier to entry.
* Add "focused" and "unfocused" smart callback for panel, video, web, web2, genlist, hover, index, list, map, photocam, progressbar, radio, scroller, slider, slideshow, spinner, toolbar, win, calendar, check, clock, colorselector, datetime, diskselector, flipselector, gengrid, ctxpopup, fileselector_button, naviframe, player, popup, bubble, button.
* Add elm_web_url_set(), elm_web_url_get() and "url,changed" signal for web, web2.
Improvements:
@ -252,6 +253,7 @@ Removals:
to adapt themselves.
* Deprecate elm_label_slide_set(), elm_label_slide_get().
* Deprecate elm_object_domain_translatable_text_part_set(), elm_object_translatable_text_part_get().
* Deprecate elm_web_uri_set(), elm_web_uri_get() and "uri,changed" signal for web, web2.
Changes since Elementary 1.0.0:
-------------------------

View File

@ -165,6 +165,34 @@ EAPI Eina_Bool elm_web_tab_propagate_get(const Evas_Object *obj);
*/
EAPI void elm_web_tab_propagate_set(Evas_Object *obj, Eina_Bool propagate);
/**
* Sets the URL for the web object
*
* It must be a full URL, with resource included, in the form
* http://www.enlightenment.org or file:///tmp/something.html
*
* @param obj The web object
* @param url The URL to set
* @return @c EINA_TRUE if the URL could be set, @c EINA_FALSE if an error occurred.
*
* @ingroup Web
*/
EAPI Eina_Bool elm_web_url_set(Evas_Object *obj, const char *url);
/**
* Gets the current URL for the object
*
* The returned string must not be freed and is guaranteed to be
* stringshared.
*
* @param obj The web object
* @return A stringshared internal string with the current URL, or @c NULL on
* failure
*
* @ingroup Web
*/
EAPI const char *elm_web_url_get(const Evas_Object *obj);
/**
* Sets the URI for the web object
*
@ -175,9 +203,13 @@ EAPI void elm_web_tab_propagate_set(Evas_Object *obj, Eina_Bool pro
* @param uri The URI to set
* @return @c EINA_TRUE if the URI could be set, @c EINA_FALSE if an error occurred.
*
* @deprecated Use elm_web_url_set() instead
*
* @see elm_web_url_set()
*
* @ingroup Web
*/
EAPI Eina_Bool elm_web_uri_set(Evas_Object *obj, const char *uri);
EINA_DEPRECATED EAPI Eina_Bool elm_web_uri_set(Evas_Object *obj, const char *uri);
/**
* Gets the current URI for the object
@ -189,9 +221,13 @@ EAPI Eina_Bool elm_web_uri_set(Evas_Object *obj, const char *uri);
* @return A stringshared internal string with the current URI, or @c NULL on
* failure
*
* @deprecated Use elm_web_url_get() instead
*
* @see elm_web_url_get()
*
* @ingroup Web
*/
EAPI const char *elm_web_uri_get(const Evas_Object *obj);
EINA_DEPRECATED EAPI const char *elm_web_uri_get(const Evas_Object *obj);
/**
* Gets the current title