Commit Graph

9283 Commits

Author SHA1 Message Date
Cedric BAIL d1612d88d6 main: do not throw warning on previously working code.
Now that we forcefully shutdown elementary, we will always it the case below 0
for older code and throw some useless warning.
2014-09-04 17:33:06 +02:00
Cedric BAIL c7f130ca87 module: detect extention just based on if its windows or not.
This follow what we do on other part of EFL and should fix issue on Mac OS X.

Should fix D1161 at the same time.

@fix
2014-09-04 17:33:05 +02:00
Vincent Torri ea6246a8ee autotools: simplify .pc.in.
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-09-04 17:33:05 +02:00
Vincent Torri 8c705cac78 autotools: add m4 macro to check for options
This simplify autotools in elementary by recycling the same m4
and also compilation flags. Less code to read and maintain.
2014-09-04 17:33:05 +02:00
Carsten Haitzler dada522426 elm process state - add events and state get function
this adds the ability to query current process state, and get events
idicating a change in process state and what change that was.

@feature
2014-09-04 15:09:10 +09:00
Tae-Hwan Kim e2a14d22ae elm_map: the widget use efreet cache home to save image files to, so efreet should be initialized.
Summary: @fix

Reviewers: raster

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-09-03 17:05:02 +02:00
Carsten Haitzler c9b74dfb0b elm examples - missing -lm link - fix
@fix
2014-09-03 17:13:00 +09:00
Ryuan Choi 2bc6246299 fileselector: Fix that anchors are remained when path_entry was focused via keyboard.
Removed trick that checks whether mouse is pressed in text field or anchors.
2014-09-03 12:47:23 +09:00
Vincent Torri 092f40579a configure.ac: Clean up and add macros for backend-checks.
Add an m4 macro and start using it (also fixes some issues).
2014-09-02 10:29:51 +01:00
Vincent Torri 4efc70c844 Use pkglibdir instead of libdir/elementary
This is cleaner and more correct.
2014-09-02 10:29:50 +01:00
Vincent Torri 8a48ea85e9 Makefiles: ELEMENTARY_BUILD is only defined on windows, no need to check.
Use ELEMENTARY_BUILD in CPP flags as it will be used only on Windows anyway.
2014-09-02 10:29:50 +01:00
Vincent Torri ea99904b1d Reorganise configure.ac layout (and simplify)
This includes:
Bumping versions of autoconf and automake.
Remove or replace deprecated macros.
Use correct paths.
2014-09-02 10:29:50 +01:00
Jaeun Choi bd8b887428 panel: resize scrollable content in content_size_set API
in elm_panel_scrollable_content_size_set,
not only update size ratio variable but also resize scrollable content

@fix
2014-09-02 16:06:08 +09:00
Daniel Kolesa 05f0cdddb9 update as per latest eolian changes 2014-09-01 15:57:56 +01:00
Thiep Ha 8c0dcde37d label: Fix size calculation for wrapped label
Summary:
Label size is incorrectly calculated (text does not wrap) if
elm_label_line_wrap_set() is called before elm_label_wrap_width_set().

@fix

Test Plan:
The label3 test case is added to show the bug case.
In label3 test case, if we switch the calling sequence of
elm_label_line_wrap_set() and elm_label_wrap_width_set(),
the result is different.

Reviewers: raster, seoz, woohyun, Hermet

Differential Revision: https://phab.enlightenment.org/D1369
2014-09-01 23:05:30 +09:00
Jihoon Kim cdec9a9e85 Add elm_entry_input_hint_set/get API
Sets or get the input hint which allows input methods to fine-tune their behavior.
2014-09-01 19:04:05 +09:00
Carsten Haitzler 6c7619b0ea el - ELM_MAIN() cleanup. don't need shutdown in elm_main() anymore
this shouldnt be an abi or api break. it simply makes elm_shutdown
iside elm_main() optional. this is cleaner and more symmetric
2014-09-01 15:29:07 +09:00
Daniel Juyung Seo 9df412f9b8 elm: Added # for enum in the documenation. 2014-09-01 00:44:10 +09:00
Daniel Juyung Seo ca27474779 actionslider: Added descriptions for Elm_Actionslider_Pos and added # for enum. 2014-09-01 00:40:20 +09:00
Daniel Juyung Seo a991adfa8a panel: added more documentations to panel. 2014-09-01 00:28:07 +09:00
Daniel Juyung Seo c169b7d0ca config: added descriptions for focus move policy enum and added # to enum. 2014-09-01 00:13:13 +09:00
Daniel Juyung Seo 76d01cab8e win: added more descriptions for elm_win_render. 2014-08-31 23:01:03 +09:00
Daniel Kolesa 654efad0bf update as per eolian changes 2014-08-29 11:41:44 +01:00
yinsc 55cc03ef05 Fix T1482 Fix the issue:elementary_test will crashed after exist genlist tree
Summary: Removed all global variables for item class

Reviewers: zmike, raster, seoz

Maniphest Tasks: T1482

Differential Revision: https://phab.enlightenment.org/D1318
2014-08-28 03:53:24 +09:00
Daniel Kolesa a30da9253e update according to latest eolian changes 2014-08-27 15:44:11 +01:00
Jae Yong Hwang d84dfe2985 gengrid: Fixed item select logic when item select mode is ALWAYS.
Summary:
If gengrid select mode is not ELM_OBJECT_SELECT_MODE_ALWAYS, ELM_OBJECT_SELECT_MODE_ALWAYS mode for
elm_genlist_item_select_mode was broken. In the item select routine, item mode(it->mode) was not checked.
So, I added the check routine there.
@fix

Test Plan: I revised the elementary_test code and tested with that.

Reviewers: raster, seoz

Reviewed By: seoz

Subscribers: SanghyeonLee, bluezery

Differential Revision: https://phab.enlightenment.org/D1372
2014-08-27 21:56:38 +09:00
Daniel Juyung Seo 27346f4ecb gengrid: Deprecated elm_gengrid_page_show.
Use elm_scroller_page_show. elm_gengrid_page_bring_in was deprecated
long ago.
2014-08-27 17:24:03 +09:00
Carsten Haitzler b37c6ed68d elm win engines - make code only include engines efl compiled for
this means on windows etc. - it wont vene try x11, wayland etc.
engines before trying the win ones. same for osx.
2014-08-26 20:12:00 +09:00
Tom Hacohen e6df9b02d6 Revert "elementary/config - commented out the translation availabilty check."
This completely breaks automatic UI mirroring. The code there was
correct. Please, before removing code, contact the original author and
make sure you don't break things down. Especially if your reason for
removing is "this doesn't make sense to me" instead of "this breaks X
Y."

This reverts commit 24983fed239a3b37c05cc3c65ed9c56953a7176b.
2014-08-26 12:09:21 +01:00
Carsten Haitzler 7ae870ec95 elm win - ews - oops. fix ews always going on as well as real engine 2014-08-26 18:26:00 +09:00
Carsten Haitzler b5660b8080 elm engine_set etc. - undeprecate, just limit engines supported instead
thre are still all the old engines supported inside, but docs dont say
so so effectively deprecated. also handle a NULL engine. this is part
of our engine/display system cleanup.
2014-08-26 18:02:00 +09:00
Carsten Haitzler 2f66f5a581 elm test - add dialog window test 2014-08-25 17:11:02 +09:00
Carsten Haitzler 1ed3b5845d elm - put curly braces inside same ifdef 2014-08-23 20:11:23 +09:00
Carsten Haitzler d14c0eca37 elm config tool - remove unnneeded elm engine code. 2014-08-23 12:44:21 +09:00
Daniel Juyung Seo b1421fa0bf popup: return correct value. 2014-08-23 02:33:10 +09:00
SangHyeon Lee 22d1ef2574 gengrid/popup: Fix wrong return type of _item_del_pre_hook.
Summary:
elm_widget calls _item_del_pre_hook of each widget and widget can
decide item deletion by return type. But gengrid and popup widget implemented
those _item_del_pre_hook function as a void type.
So this commit fixs the return types to Eina_Bool and changes gengrid widget to return EINA_FALSE when
the item wants to be deleted later.
And when the item wants to be deleted directly, it returns EINA_TRUE.

@fix

Test Plan: test in demo.

Reviewers: seoz, raster, bluezery

Subscribers: Hermet, jaehwan

Differential Revision: https://phab.enlightenment.org/D872
2014-08-23 01:53:08 +09:00
Daniel Juyung Seo 2a341295de config: fixed documentation typos. 2014-08-23 00:31:12 +09:00
Jérémy Zurcher 33338c53aa fix wrong usage of EINA_FALSE as NULL 2014-08-22 10:20:57 +02:00
Jérémy Zurcher 72dc271d32 Elm_App: protect against type redefinition 2014-08-22 10:20:22 +02:00
Carsten Haitzler f934291859 elm engine choice and logic rationalize
now that we have ELM_DISPLAY and ELM_ACCEL we have little need for a
lot of the elm engine stuff and frankly a lot was broken if you used
multiple engines etc. so this fixes a lot of it nd removes a lot of
cruft. i think i got it all right, but i may have oppsied. this also
remo9ves engine support for engines long gone from evas.
2014-08-22 14:48:13 +09:00
Daniel Juyung Seo e68db15448 genlist: added internal function _view_clear() for common codes.
Use this function for normal items, decorate items, and decorate all
items.
2014-08-22 03:44:26 +09:00
Daniel Juyung Seo 08fe37c254 genlist: merged _item_content_realize() and _item_mode_content_realize(). 2014-08-22 03:44:26 +09:00
Daniel Juyung Seo 460609ce80 genlist: moved internals functions before refactoring it.
_item_text_realize(), _item_content_realize(), and
_item_state_realize().
2014-08-22 03:44:26 +09:00
Daniel Juyung Seo 122dda0b48 genlist: Added internal functions _view_create and _view_style_update
for the commonly used codes.
2014-08-22 03:44:26 +09:00
Daniel Juyung Seo 9c81e0e02a genlist: Unbreak double click smart callback.
Fixed a typo in my commit adb976e.
2014-08-22 03:42:11 +09:00
Daniel Juyung Seo 4b4ed72181 gengrid, list: Use newly introduced macros internally.
ELM_GENGRID_DATA_GET_FROM_ITEM and ELM_LIST_DATA_GET_FROM_ITEM.
2014-08-22 03:09:10 +09:00
Daniel Juyung Seo 408e334bf6 list: Fixed ELM_OBJECT_SELECT_MODE_NONE codes and added more DISPLAY_ONLY check.
Also made an internal function to check it easily.

@fix
2014-08-22 03:02:01 +09:00
Daniel Juyung Seo fc4a3a840e gengrid: Fixed ELM_OBJECT_SELECT_MODE_NONE codes and added more DISPLAY_ONLY check.
Also made an internal function to check it easily.

@fix
2014-08-22 02:48:29 +09:00
Daniel Juyung Seo 4a398c6ee9 genlist: Fixed ELM_OBJECT_SELECT_MODE_NONE codes and added more DISPLAY_ONLY check.
Also made an internal function to check it easily.

@fix
2014-08-22 02:47:24 +09:00
Daniel Juyung Seo 844ff540cb gengrid: Fixed _item_unselect to check select value not highlight value.
This caused infinite loop in a DISPLAY_ONLY mode on clicking an item.

@fix
2014-08-22 01:12:38 +09:00