Commit Graph

12684 Commits

Author SHA1 Message Date
Cedric BAIL d56e08d824 web: split web into a module.
There is currently no configuration to switch backend. Another patch
will introduce it.
2016-03-09 16:55:48 -08:00
Tom Hacohen 47fbd09ab2 Image test: Migrate to the new event cb signature. 2016-03-09 16:27:01 +00:00
Tom Hacohen c788486398 Automatic migration to the new eo_add syntax. 2016-03-09 16:09:17 +00:00
Tom Hacohen 021a9e0468 Combobox: Semi automatic migration to the new eo_add. 2016-03-09 16:09:17 +00:00
Stephen okra Houston dd3acf109d theme: Fix scroller colorclass typo. 2016-03-08 13:36:58 -06:00
Hermet Park 4fb304c08c Revert "list: set internal box as homogeneous if no separator items are present"
This reverts commit 9f4c43c20dfa36e7a8be18278acf4336c13574d7.

I'm sorry but this causes a side effect(list sizing issue) at enventor.
And I couldn't find any mis-usage in enventor side.

We can't not accept this patch unless we figure the exact reason out.
2016-03-08 21:00:19 +09:00
shashank.p 38608b3c33 elm_genlist: Added elm_genlist_filtered_items_count API
Summary: This clarifies the documentation of the new api.

Reviewers: SanghyeonLee, shilpasingh, cedric

Reviewed By: cedric

Subscribers: bu5hm4n, buds

Differential Revision: https://phab.enlightenment.org/D3725
2016-03-08 07:50:07 +01:00
Jee-Yong Um bbba3c24b5 fileselector: clarify the condition statement for checking ok button
Summary:
elm_fileselector_buttons_ok_cancel_set() API checks the existence of
ok button before adding it.
This patch makes condition statement more intuitive.

Reviewers: cedric, bu5hm4n

Differential Revision: https://phab.enlightenment.org/D3770
2016-03-07 11:26:15 +01:00
Marcel Hollerbach 9e3ddc1aff remove duplicated typedef
this is already defined in elm_layout.eo.h.
2016-03-05 20:00:56 +01:00
Amitesh Singh a16b4135f3 atspi intf: image - fix compilation warnings after eo4 migration changes
======
  CC       libelementary_la-elm_interface_atspi_value.lo
  elm_interface_atspi_image.c: In function '_elm_interface_atspi_image_description_set':
  elm_interface_atspi_image.c:36:9: warning: 'old_descr' may be used uninitialized in this function [-Wmaybe-uninitialized]
           eina_stringshare_del(old_descr);
                    ^
                    ======
2016-03-05 06:54:00 +05:30
Jee-Yong Um 612949cc90 genlist: fix item sizing error
Summary:
Sometimes genlist expands its items' width over viewport,
so horizontal scrollbar is shown unnecessarily.
This will correct item sizing calculation.

@fix

Test Plan:
elementary_test -to "genlist tree"
elementary_test -to "fileselector"

Reviewers: SanghyeonLee, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-03-04 16:14:37 -08:00
SungTaek Hong 2222590f1d map: fix memory leak
Summary:
- in dump_cb buf is allocated by malloc() ->strdup() -> free.
  This is needless.
- And buf allocated in dump_cb is strdup again.
  This may cause memory leak.

Reviewers: Hermet, woohyun, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-03-04 16:14:37 -08:00
Shinwoo Kim 69785a72e4 config: handle is_mirrored, and translate are not part of EET file, when config flush occurs
Summary: is_mirrored, and translate value is reset, when config flush occurs.

Reviewers: raster, cedric, jpeg, tasn

Subscribers: seoz

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-03-04 16:14:37 -08:00
Minkyu Kang a5c5057201 image: fix the wrong return value
Summary: Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>

Reviewers: Hermet, cedric

Reviewed By: cedric

Subscribers: seoz

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-03-04 16:14:37 -08:00
godly.talias 79a0cdd9ce Genlist: fix for an item width calculation issue on item show / scrolling
Summary:
When item_show / scrolling is happening, _item_block_position will be
called from smart_calculate where item width is set as block width.
If items are not realized _item_realize will be called and if items are
getting realized for first time we set mincalcd as false. So later
item width gets overwritten by min width of item and so issue is happening.

@fix T2603

Signed-off-by: godly.talias <godly.talias@samsung.com>

Test Plan: elementary_test -> Genlist Group -> show 480

Reviewers: prince.dubey, shilpasingh, SanghyeonLee, cedric

Subscribers: rajeshps, seoz, govi

Maniphest Tasks: T2603

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-03-04 16:14:37 -08:00
Hosang Kim 4fd06a2f7e notify: delete unnecessary smart move/resize.
Summary:
elm_notify's size is dependent on parent's size.
So _elm_notify_evas_object_smart_move/resize() are not necessary.

Reviewers: woohyun, jypark, Hermet, minkyu, cedric

Reviewed By: cedric

Subscribers: minkyu

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-03-04 16:14:37 -08:00
shashank.p 5d08cbad2d genlist: add elm_genlist_filtered_items_count API
Summary: This API will return the number of items that have passed the filter at a given point of time. If the API is called before "filter,done" callback comes, it may or may not give the filtered count for the complete genlist.

Test Plan: Updated Genlist_filter example to print the output from filtered_count_get API in "filter,done" callback.

Reviewers: SanghyeonLee, shilpasingh, cedric

Reviewed By: cedric

Subscribers: buds

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-03-04 16:14:37 -08:00
Jee-Yong Um ecc4e26236 fileselector: refine code and theme
Summary:
refine code and theme, hopefully solve the issue
that the height of file list (genlist) is calculated wrong.

Test Plan: elementary_test -to fileselector

Reviewers: SanghyeonLee, jpeg, cedric

Subscribers: taxi2se

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-03-04 16:14:37 -08:00
Jee-Yong Um 91e5ecd075 win: add check for focus object before adding new one
Summary:
Focus object is added repeatedly, when focus is enabled.
This patch checks existing focus object.

Test Plan:
elementary_test -to focus
check/uncheck "Focus Highlight Enable" with spacebar

Reviewers: Jaehyun_Cho, jpeg, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-03-04 16:14:37 -08:00
Jee-Yong Um 1341f8c250 fileselector: add backspace key binding to move to previous path.
Summary: Add backspace key to move to previous path.

Test Plan:
remove /home/username/.elementary (to apply new elementary config file)
elementary_test -to fileselector

Reviewers: cedric, jpeg

Subscribers: bu5hm4n

Differential Revision: https://phab.enlightenment.org/D3685
2016-03-04 16:14:37 -08:00
Woochan Lee a067a6da90 multibuttonentry: add elm.swallow.background part
Summary: This swallow part is for custom background image.

Reviewers: kimcinoo, Hermet, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-03-04 15:29:20 -08:00
Mike Blumenkrantz 2a0c58a367 theme: add new time gadget themes 2016-03-04 14:34:53 -05:00
Mike Blumenkrantz 95c50d1909 theme: move digit* images to O/ 2016-03-04 14:34:53 -05:00
Mike Blumenkrantz 03bc6442f5 theme: add new wireless gadget theme 2016-03-04 14:34:53 -05:00
Mike Blumenkrantz 459624b96d start: add alias for new gadget group 2016-03-04 14:34:53 -05:00
Mike Blumenkrantz f033db418a theme: add bryce edcs 2016-03-04 14:34:53 -05:00
Amitesh Singh 83bdc9f0a8 combobox: store eo_constructor() return value into obj
This is what we do in every widget's base constructor.

@fix
2016-03-04 15:44:19 +05:30
Shinwoo Kim 319247d2a8 elm_access: remove duplicated line, ELM_SAFE_FREE handles NULL assign 2016-03-04 16:02:13 +09:00
Jonghee Choi 9ae36cf791 elm_access: mapi have to be set NULL after free(m->api)
Summary: mapi have to be set NULL after free(m->api)

Reviewers: kimcinoo

Reviewed By: kimcinoo

Differential Revision: https://phab.enlightenment.org/D3756
2016-03-04 15:34:56 +09:00
Amitesh Singh 4232af03bc hoversel: remove EINA_UNUSED since data is getting used 2016-03-04 11:14:20 +05:30
Tom Hacohen ca6cf069a3 Genlist test: Adjust according to the recent eo event changes.
Thanks to zmike for letting me know.
2016-03-03 13:44:07 +00:00
Tom Hacohen 18959ca65b Migrate elementary to the new Eo4 syntax
Eo's syntax has changed (see efl.git for more info), this adjusts
elementary accordingly.

This is a merge commit that merges my branch will all of the fixes
2016-03-03 10:10:20 +00:00
Tom Hacohen 75569ec561 Fix warnings following migration to Eo4.
Mostly unused variables.
2016-03-03 10:08:27 +00:00
Tom Hacohen 26ee9f0afb Map: Correct broken migration.
The script failed migrating some code, so I needed to fix it manually.
2016-03-03 10:08:27 +00:00
Tom Hacohen d16aa5956b Automatic migration to Eo4.
I just ran my script (email to follow) to migrate all of the EFL
automatically. This commit is *only* the automatic conversion, so it can
be easily reverted and re-run.
2016-03-03 10:08:27 +00:00
Tom Hacohen 1546c9c107 App client/server and entry: Mix of automatic migration and manual adjustments.
The script couldn't handle everything correctly on its own.
2016-03-03 10:05:00 +00:00
Tom Hacohen 8b45a1dc94 Manually migrate some eo_do for the migration script
The script doesn't handle a few corner cases well. Update the code
manually so it doesn't have to deal with those.
2016-03-03 10:05:00 +00:00
Tom Hacohen daa42878ca Remove redundant defines. 2016-03-03 10:05:00 +00:00
Daniel Zaoui dbd03c0881 Scaling test: reorder instructions to set the correct scale
If the scale is set on an object before contents are set, it will not
pass to them. Because of this, in the test, scale of the first label
remains 1.0, i.e the window scale, instead of 0.5.
The patch modifies the order of the instructions by setting the scale
after setting the label as content of the frame.
2016-03-03 10:54:16 +02:00
Amitesh Singh a9c6193bf1 radio: inherit from elm check
Summary: Radio inherits from Check now and remove the duplicate codes

Reviewers: yashu21985, cedric, tasn, raster

Reviewed By: raster

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D3747
2016-03-03 11:59:36 +05:30
Jean Guyomarc'h 4935289db6 elm_cursor: don't include Ecore_Cocoa_Cursor.h (deleted in EFL) 2016-03-02 16:56:06 -08:00
Tom Hacohen 8a28471372 Spinner: Swap abs with fabs because we're dealing with doubles. 2016-03-02 15:29:17 +00:00
Stefan Schmidt eebcd8da48 build: enhance generated html output from coverage report
We do not handle branch coverage so remove that part of the output. On the
other hand at a legend to allow people to understand the color meanings.
2016-03-02 09:25:43 +01:00
Stefan Schmidt 098a7be941 build: fix problems with coverage check build where some files are not found
Switch to use a lcov config file which geninfo_auto_base and remove hard coding
the base dir  to src/lib. geninfo_auto_base is designed for a use case like
ours where we have several base dirs (lib, bin, tests, ...) and it detects them
automatically. This fixes failures in a coverage run like this:

genhtml: ERROR: cannot read
/srv/build/workspace/manual_elm_gcc_x86_64_exactness_coverage/src/lib/test_win_state.c

Where the file is simply looked for in the wrong directory.
2016-03-02 09:13:19 +01:00
Lauro Moura 445ba5a638 Fix example with new event api.
Summary: Fix build after changes.

Reviewers: felipealmeida, cedric, tasn

Differential Revision: https://phab.enlightenment.org/D3744
2016-03-01 12:23:26 -03:00
Daniel Zaoui 2535e721fb Elm_Hoversel: import elm_icon
The icon type is needed by item_add
2016-03-01 08:27:32 +02:00
Carsten Haitzler 8eb6483d99 elm map: silence uninit var warnings that new gcc versions show
gcc thinks the vars may in theory be uniitiialized. it's right but it
won't actually happen. but having noise in warning output is bad, so
fix the warnings so we can focus on the real bugs/issues/warnings
2016-03-01 13:37:39 +09:00
Jee-Yong Um d0d6a96aee elm_gen: update highlight geometry after clearing items
Summary:
After genlist/genrid items are cleared, item highlight still
remains in blank space. This patch fixes this by updating highlight.

Test Plan:
elementary_test -to fileselector
enter blank directory and see highlight still remains

Reviewers: jpeg, SanghyeonLee, cedric

Reviewed By: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-02-29 15:40:06 -08:00
Minkyu Kang 175905ce94 image: remove EINA_UNUSED
Summary:
parameter is used

Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>

Reviewers: Hermet, seoz, cedric

Reviewed By: cedric

Subscribers: seoz

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-02-29 15:40:06 -08:00
Shilpa Singh 2182918ed3 spinner: add label format validator
Summary:
Check for all error conditions case in elm_spinner_label_format_set
and set label format only if its valid.

Signed-off-by: Shilpa Singh <shilpa.singh@samsung.com>

@feature

Test Plan:
1. Launch elementary test spinner
2. Set invalid formats e.g. formats with out %, formats with more than
one format specifier "%d %s" etc:-

Reviewers: jpeg, cedric

Reviewed By: cedric

Subscribers: govi, buds, subodh6129

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-02-29 15:40:06 -08:00