Commit Graph

32 Commits

Author SHA1 Message Date
Ryuan Choi 05892abe11 elm_web2: Implemented to support HTML5 fullscreen API
test case : elementary_test -to webui
2014-03-13 00:45:37 +09:00
Ryuan Choi a72f3c3c11 elm_web2: Implemented window_create / window_close
In addition, improved test_webui to check close scenario.
2014-03-09 12:23:44 +09:00
Ryuan Choi 83d00b0ab5 elm_web2: Fix possible crash when loaded the contents which contains form elements
ewebkit requires webkit theme to draw form elements so elm_web might be crashed
when ewebkit didn't get theme path at debug build.
2014-02-16 21:19:17 +09:00
ChunEon Park aebdcff513 elementary - use the focused/unfocused string in widget defined.
Now, it will share the strings so that reduce the binary size also user uses it in one way.
2014-01-23 17:27:17 +09:00
Ryuan Choi a580c2ba5b web: Move EWebKit headers out of Elementary.h again
Since rELM166ca9e86a72, I moved EWebKit header into Elementary.h like other libraries.
But, it made possible build break while building test browser in webkit.
It's because EWebKit.h and EWebKit2.h have same symbols and test browser should
be compiled with EWebKit2.h although Elementary was built with ewebkit.

This patch reverts a part of changes in rELM166ca9e86a72, which includes EWebkit.h
in Elementary.h
2014-01-09 21:56:59 +09:00
Daniel Juyung Seo fd5c046dfe elm: Changed __UNUSED__ to EINA_UNUSED. 2014-01-06 23:33:57 +09:00
Ryuan Choi 6f63fbd639 web: Added elm_web_html_string_load() to load html string as the content
It is usefull to load html string instead of url, especially for testing.
2013-12-27 22:37:49 +09:00
Daniel Juyung Seo e63dd3110a elm: Unified eina critical manro to CRI.
Being annoyed by different types of eina critical macros - CRI, CRIT,
 CRITICAL -, I concluded to unify them to one. Discussed on IRC and
 finally, CRI was chosen to meet the consistency with other macros -
 ERR, WRN, INF, DBG - in terms of the number of characters.
If there is any missing bits, please let me know.
2013-12-26 13:03:55 +09:00
Ryuan Choi 495f6755b0 web: Include webkit header in Elementary.h when built with ewebkit or ewebkit2
Like other options, Elementary.h will contain WebKit.h or WebKit2.h when
elementary was built with ewebkit or ewebkit2.
2013-12-13 22:26:02 +09:00
Ryuan Choi a8cef7a216 elm_web : Moved elm_widget_sub_object_parent_add() call from ewk_view's smart_add to elm_web's
Because ewk_view is smart class and it's parent is Evas, it prints below warning.

 ... Can't execute function Elm_Widget:ELM_WIDGET_SUB_ID_SUB_OBJECT_ADD (op 0x9f)
 for class 'Evas'. Aborting.
2013-11-14 03:47:31 +09:00
Tom Hacohen 2f1e1554e5 Changed Eo class names to be consistent.
All the class names are now of the format: Elm_Type_Subtype_Extra
2013-11-07 11:44:22 +00:00
Jaehyun Cho db2d711d64 [elm_widget] Enable not to add resize object to or delete resize object from sub object when the resize object is set.
Summary: Add one more argument, 'Eina_Bool sub_object' to elm_widget_resize_object_set. If the argument, 'sub_object' is set as EINA_TRUE, the new resize object is added to the sub object and the previous resize object is deleted from the sub object.

Reviewers: Hermet, seoz

CC: Jaehyun_Cho, seoz, raster

Differential Revision: https://phab.enlightenment.org/D265
2013-10-17 01:19:40 +09:00
Daniel Juyung Seo b813cec72a elm_web2.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:16:05 +09:00
Cedric Bail 29af5e1e43 elementary: update to new eo_parent_get/set API. 2013-09-25 13:34:27 +09:00
ChunEon Park d461a8be05 elementary/widgets - set parents before widget constructs their body.
This avoids unnecessary multiple setups when obj and subobj has connected.
2013-08-27 14:19:19 +09:00
Daniel Juyung Seo c5b0d63838 fixed documentation for consistency. Gets -> Get.
Occurance of Get is super much higher than Gets.
So change Gets to Get for consistency.
2013-08-22 05:24:46 +09:00
Ryuan Choi e11bbc24b5 web/web2 : Deprecated uri. url will be used instead.
ewebkit used uri and url as mixed for a long time.
But last year, ewebkit2 decide to use url for the consistency.

Below is discussion and webkit-efl bug about "uri vs url"
https://lists.webkit.org/pipermail/webkit-efl/2012-October/000312.html
https://bugs.webkit.org/show_bug.cgi?id=98643
2013-06-13 10:30:10 +09:00
Ryuan Choi c15ebf2e0e elm_web2: Implemented missing navigation and user-agent APIs. 2013-06-12 09:19:51 +09:00
Ryuan Choi 71a41a8c16 elm_web2: Fixed simple warning 2013-06-12 09:19:51 +09:00
Daniel Juyung Seo a5066a5747 panel, video, web, web2: added focused, unfocused smart callback documentation. 2013-06-10 14:37:47 +09:00
Cedric Bail c929b33052 elementary: properly sanitize headers order. 2013-05-03 16:07:06 +09:00
Daniel Zaoui 187d6bf8de Elementary: replace eo_data_get for objects data referencing. 2013-05-01 11:04:09 +03:00
Ryuan Choi 56592f3778 elm web: Fix build break when enabled ewebkit2
page_group was introduced after r145812 of webkit.
http://trac.webkit.org/changeset/145812
2013-04-20 17:09:50 +09:00
Daniel Juyung Seo 74b3eed5fd elm: print the error message inside elm_widget_sub_object_add().
1. Do not need to print the same error message from all the widget codes.
2. Even though elm_widget_sub_object_add() can be used internally, there should be no error message at all.
   Elm devs should fix it beforehand.
   So it looks ok to print the error message in elm_widget_sub_object_add() to force elm devs to fix it.
3. Got additional code cleanups.
2013-04-03 11:28:53 +09:00
Daniel Juyung Seo 615d05bfe5 elm: removed unnecessary multi blank lines. 2013-04-03 10:45:15 +09:00
Tom Hacohen d75cb616da Change usage of eo_do_super to the new prototype. 2013-03-18 16:15:12 +00:00
ChunEon Park 844b5805ff elementary/widget - don't handle tthe resize objects in widget infrastructure. Acutally these resize objects are sub objects so we don't need to care them separately. This caused overhead in some cases(ie, theme change)
SVN revision: 83990
2013-02-16 13:39:59 +00:00
Daniel Zaoui cdd1eea853 Replace supported_types
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 83803
2013-02-10 07:52:31 +00:00
Gustavo Sverzut Barbieri 066157cfdb more shutdown fixes for elm_need/unneed.
SVN revision: 80258
2012-12-05 15:13:18 +00:00
Daniel Zaoui 0c915e9023 Cleaning: removed include Eo.h in widgets because it was indirectly included by Elementary.h
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 79682
2012-11-26 09:29:01 +00:00
Yakov Goldberg 5c98343198 We have ported to Eo all the widgets of elementary. We didn't change the inheritance itself, only the mechanism, as done previously in Evas, Ecore and Edje. We removed totally the previous inheritance mechanism.
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 79668
2012-11-26 06:32:53 +00:00
Cedric BAIL c824f30090 elementary: starting work for using WebKit2 as an alternative to WebKit.
Patch by ryuan Choi <ryuan.choi@gmail.com>


SVN revision: 78219
2012-10-19 03:08:45 +00:00