Commit Graph

10780 Commits

Author SHA1 Message Date
Srivardhan Hebbar c6ddc20220 elementary: Adding example to demonstrate radio "changed" functionality.
Summary:
Added this example which demonstrate the exact behavior or "changed" in radio button.
After changing the documentation of "changed" as in https://phab.enlightenment.org/D1445, thought the example might be useful, so added this.

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: devilhorns, stefan_schmidt, seoz

Differential Revision: https://phab.enlightenment.org/D1490
2014-09-28 23:50:16 +09:00
Carsten Haitzler 2f101d5756 update images copying to point to new urls and explicit cc license ver 2014-09-27 08:54:51 +09:00
Tom Hacohen 0ee7f4951b Elm win: fix wrong deletion of elm windows.
This is a fix upon 6e7686c030fab162edb3128de005ec00ea8c0ffc.
This correctly deletes the list even if the windows are still referenced
and even if they are deleted from under out feets.
2014-09-26 10:10:51 +01:00
Jaehwan Kim 75ef6e0929 scale: fix the floating number comparison.
There's no meaning 0.00001 in scale. So in that case, it is ignored.
2014-09-26 12:07:34 +09:00
Amitesh Singh 1f28fea220 slider: Removed unnecessary layer set call for popup.
Summary:
Setting layer of a smart member is not required as it would remain
on same layer of slider.

Reviewers: raster, seoz

Reviewed By: seoz

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1447
2014-09-26 02:05:47 +09:00
Tom Hacohen 7629c147eb Eo related: Change according to recent changes in eo_add().
For more info check out a7560dbc61 in
the EFL tree.
2014-09-25 17:39:34 +01:00
Tom Hacohen 0ac52480d0 Elm win: Fixed wrong deletion of win objects.
Some of them may be reference still, you don't want to do this.
2014-09-25 17:14:27 +01:00
Tom Hacohen f72bcf2b64 Eo: Get rid of eo_add_custom.
This has been deprecated for a while and is now completely dropped.
2014-09-25 10:46:04 +01:00
Amitesh Singh b9744e58f5 genlist: Removed unnecessary casting of genlist item.
Reviewers: seoz

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1471
2014-09-25 01:36:03 +09:00
Mike Blumenkrantz 34951cf692 revert most recent two elm engine commits
This reverts commits 123ca6a8744729525889bbc09ee1aff4b2b97b75, 0d527b03f4f630e81ab4480d7160bbf6352b0bac

this is still unusable even after being fixed so the fix was unnecessary to begin with
2014-09-24 11:34:03 -04:00
Tom Hacohen 3bc816a88c Elm container: Ship missing headers. 2014-09-24 11:27:21 +01:00
Mike Blumenkrantz 82c7788148 +elm_win_trap_data_get()
needed when using win traps to get the trap ctx at non-hookpoints
2014-09-23 17:38:22 -04:00
Mike Blumenkrantz 70920b3adb remove accel_override from elm_config
if this is saved, it can never be unset, which means that a user who later gains/loses hw accel can never change the existing config value

@fix
2014-09-23 16:57:53 -04:00
Mike Blumenkrantz 0d17c1a2a3 elm_win should not check ELM_ACCEL variable if application has overridden it
also simplify these checks to make it more clear how the ordering should work

@fix
2014-09-23 16:45:15 -04:00
Boris Faure e419746ca2 slider.eo: move since definition to be more conventional 2014-09-23 21:49:56 +02:00
Daniel Juyung Seo e072f17b5a test_genlist: Fixed wrong frame title in the genlist focus test.
Test Plan: elementary_test -> genlist focus

Reviewers: Hermet

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D1479
2014-09-24 02:12:57 +09:00
Wonguk Jeong 96f6457fe6 naviframe: hide item added by elm_naviframe_item_insert_before()
Fixes T1650
2014-09-23 11:46:26 +02:00
Srivardhan Hebbar 90f0ac4b6b autotools: modified autogen.sh to be able to build from different directory.
Summary:
Right now we cannot have a designated build directory and we should build in the source directory. So the proposed solution lets you to build from any directory.

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: raster, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-09-22 14:38:34 +02:00
Jaehwan Kim 6a10850f6c scale: add a bracket in the ELM_SCALE_SIZE macro. 2014-09-22 13:50:58 +09:00
Carsten Haitzler 473d707fbc elm - we should not get our pc files to use hidden libs like x/wl
ecore_x, ecore_wl, ecore_drm etc. were being linked to clients as they
were added to the pc file - they should not have been. elm hides
these. it's meant to hide them. remove them from the pc file.
2014-09-21 11:11:28 +09:00
Daniel Juyung Seo 88499a2660 test_radio: Did internal refactoring and added more group test example. 2014-09-20 17:23:03 +09:00
Daniel Juyung Seo edbe49f445 radio: Added more comments about changed smart callback. 2014-09-20 17:22:33 +09:00
Srivardhan Hebbar a71a512830 elementary: Corrected documentation of "changed" in elm_radio.
Summary:
Changed the text for Radio "changed" event to:
This is called when the radio object is selected.

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>

Reviewers: stefan_schmidt, seoz

Reviewed By: stefan_schmidt, seoz

Subscribers: stefan_schmidt

Maniphest Tasks: T1657

Differential Revision: https://phab.enlightenment.org/D1445
2014-09-20 16:46:07 +09:00
Stefan Schmidt 366423b06a docs: Sync e.css file from efl to elementary
The edcref changes are not needed in Elementary but we still want to keep
this file in sync.
2014-09-19 15:49:15 +02:00
Jaehwan Kim 46508d8116 scale: set the base scale of the application.
The scale is used for the application to be scaled.
If the application isn't made on the basis of scale 1.0,
the application layout will be scaled inappositely. So if the
application set the base scale, it is applied when the application is scaled.
2014-09-19 13:46:23 +09:00
Mike Blumenkrantz 1ea72cda55 add deskmirror borderless group 2014-09-18 18:20:10 -04:00
Mike Blumenkrantz 3dc3def2b6 simplify deskmirror theme programs 2014-09-18 18:20:10 -04:00
Daniel Juyung Seo 4bb375af97 test_radio: Added a changed callback to a radio group. 2014-09-19 02:49:30 +09:00
Savio Sena 3f042b8352 autotools: Simplified src/lib/Makefile.am quite a bit.
Introduced new .eo lists avoiding redundancy. Create targets to install
generated C++ bindings.
2014-09-17 20:28:06 -03:00
Savio Sena 4205e4c583 lib/autotools: Added Elementary.hh. 2014-09-17 20:28:06 -03:00
Savio Sena a9d94e4738 pkg-config: Brought latest "echo compatibility" changes from EFL to m4/efl.m4. 2014-09-17 20:28:06 -03:00
Savio Sena b1679131cf examples: Remove a warning during release compilation. 2014-09-17 20:28:05 -03:00
Savio Sena d796baefba tests: Clean-up elementary-cxx test suite.
Removed unnecessary includes.
Added missing bindings.
Added extern "C" guards.
2014-09-17 20:28:05 -03:00
Savio Sena 787726db69 autotools: Removed useless instruction from Eolian++ helper 2014-09-17 20:28:05 -03:00
Savio Sena 5999456a9f autotools: Added elementary-cxx.pc.in. 2014-09-17 20:28:05 -03:00
Ryuan Choi 01b9b1eae7 Fix build break with elm_web since 4664b183e
Maniphest Tasks: T1482
2014-09-18 07:42:42 +09:00
Daniel Juyung Seo 55050fef9d test_genlist: added a test to clear the genlist no item,focused call. 2014-09-17 16:37:55 -07:00
Savio Sena 08275af33f examples: Add extern "C" guards to C++ example. 2014-09-16 19:10:40 -03:00
Savio Sena 10c7b71435 autotools: Add efl-cxx.pc when C++ bindings are enabled. 2014-09-16 18:38:44 -03:00
Kai Huuhko 30eeca6508 mailmap: add my work alias 2014-09-15 14:48:38 +03:00
Igor Murzov 8f5f86409b Revert revert of my translation updates. 2014-09-12 14:36:38 +04:00
maxerba c0f0c763ef Updating desktop files 2014-09-11 22:06:39 +02:00
Carsten Haitzler 42cb0adf55 Revert "rename all pager theme groups to match the module that uses it"
This reverts commit e3e158b3887a93097d954a75d2d74eff3f4ec24f.

no - this breaks theme api. AGAIN ... like e18. see email to e-devel.
2014-09-11 16:25:47 +09:00
Daniel Kolesa 6a76c2e9da update according to latest eolian changes 2014-09-10 15:09:08 +01:00
Mike Blumenkrantz cbb8e3f38b rename all pager theme groups to match the module that uses it
this should have been done with the module rename, and this release is the last chance to get it fixed before it has to be permanently maintained with wrong names
2014-09-10 09:04:14 -04:00
Daniel Kolesa 05382aed68 update to eolian complex types (without complex part for now) 2014-09-09 14:53:02 +01:00
Daniel Zaoui 3d85a89b2c CnP/Wayland: Fix window check for Wayland invocations.
This was leading to never enter the cnp functions dedicated to Wayland,
as the given object was not a window. The Copy And Paste test was not
working for this reason.
2014-09-08 17:05:20 +03:00
Daniel Kolesa 24b8671f60 update according to latest eolian changes 2014-09-08 14:58:57 +01:00
Kai Huuhko 7224f0ef14 l10n: Add Finnish translations 2014-09-07 20:23:44 +03:00
Mike Blumenkrantz 9fc57e7dd0 remove unused comp screen overlay program 2014-09-07 11:19:12 -04:00
Daniel Juyung Seo 0d5dad908e test_genlist: Fixed typo in the check button. 2014-09-07 22:06:47 +09:00
Daniel Juyung Seo 9954b7391f test_gengrid: Added pressed and released callbacks for more tests. 2014-09-07 22:00:20 +09:00
Daniel Juyung Seo d5cfb8e0b3 test_genlist: Added more focus tests for popup creation on item mouse down and item select. 2014-09-07 19:43:24 +09:00
Daniel Juyung Seo e644c842e1 test_genlist: Added 'add more items' button to genlist focus test. 2014-09-07 18:46:15 +09:00
Daniel Juyung Seo 3518675d31 test_popup: Renamed focus highlight button name correctly. 2014-09-07 18:10:47 +09:00
Daniel Juyung Seo 79788f8c12 test_genlist: Refactored internal codes.
Created internal function _test_genlist_focus_option_panel_create() as it is
getting too big.
2014-09-07 17:49:33 +09:00
Daniel Juyung Seo 252d5f28de elm_gesture: Moved since at the end of each api's documentation. 2014-09-07 16:23:15 +09:00
Daniel Juyung Seo 9b50d76b4b gesture_layer: Fixed broken gesture layer documentation. 2014-09-07 16:19:14 +09:00
Jae Yong Hwang fbee0944db genlist: Fixed a crash bug in case of calling a genlist_clear in a select callback function.
Summary:
If item select callback is elm_genlist_clear and genlist object have many item, elm_genlist_clear was broken.
This reason is due to incorrect code. In Old code, check the item focus  after an item was deleted. So, I changed the order of the code.
Before item was deleted, Check the item focus.
@fix

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

Reviewers: raster, SanghyeonLee, seoz

Reviewed By: seoz

Subscribers: bluezery, SanghyeonLee

Differential Revision: https://phab.enlightenment.org/D1418
2014-09-06 01:47:55 +09:00
Daniel Juyung Seo 2533b0af79 test_genlist: Added genlist clear scenario on 5th item select. 2014-09-06 01:47:45 +09:00
Daniel Juyung Seo 13180c55d8 test_genlist: Removed unnecessary casting. 2014-09-06 01:33:22 +09:00
Daniel Juyung Seo ab86e8edb6 elm: Fixed documentations for part_text_aliases. 2014-09-05 01:12:22 +09:00
Daniel Juyung Seo 8d30e7774d tooltip: Removed unnecessary casting and followed callback function conventions. 2014-09-05 01:12:22 +09:00
Daniel Juyung Seo 118bc66bab conform, inwin, progressbar, radio: Fixed wrong part_alias_description implementations and documentations.
@fix
2014-09-05 01:12:22 +09:00
Vincent Torri 1a3ba20ae3 create elementary.pc at make time to follow GNU coding standards 2014-09-04 17:33:06 +02:00
Vincent Torri 48a581fe21 use variable instead of configure replacement 2014-09-04 17:33:06 +02:00
Vincent Torri 811b425289 fix elementary.pc 2014-09-04 17:33:06 +02:00
Vincent Torri 17c681f0ec use configure variable instead of /elementary 2014-09-04 17:33:06 +02:00
Cedric BAIL bfa8fe85fc pkgbuild: let's not put .eo with the binary. 2014-09-04 17:33:06 +02:00
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 c6272d9928 autotools: use always Requires.private in .pc 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
kabeer khan be4ba83304 Added text field to show CapsLock hint
Summary:
Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Merge branch 'master' of http://git.enlightenment.org/core/elementary

Reviewers: devilhorns, zmike

Maniphest Tasks: T1570

Differential Revision: https://phab.enlightenment.org/D1391
2014-09-04 11:19:59 -04: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
Tom Hacohen aca4194d96 Update gitignore. 2014-09-02 15:48:58 +01:00
Cedric BAIL 8c0dbcf2d9 autotools: require a less deprecated gettext and move stuff to be in a more coherent place. 2014-09-02 12:37:34 +02:00
Tom Hacohen 8e3a109b0e Configure: Stop using deprecated AC_HELP_STRING.
Use AS_HELP_STRING instead.
2014-09-02 10:31:29 +01:00
Tom Hacohen 14b336feb9 C++ bindings: disable generation by default (to follow the efl). 2014-09-02 10:29:51 +01: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
Tom Hacohen 26d93eaf87 Revert "C++ bindings: disable generation by default (to follow the efl)."
I'll reintroduce this in a moment, was just easier this way in order to
merge Vincent's changes.

This reverts commit d46fa601ef45d579d1448b19887d02ff2dfbb576.
2014-09-02 10:29:07 +01:00
Tom Hacohen 910dfe9b5a C++ bindings: disable generation by default (to follow the efl). 2014-09-02 09:29:57 +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
maxerba db5d15f0dd Updating esperanto and french translations 2014-08-29 13:16:36 +02: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
Carsten Haitzler 84bec552c9 theme - improve efm icons provided by ApB
this fixes T575 wishlist item and improved the icons in default

@feature
2014-08-27 18:12:44 +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 a2be4ab2a4 elm config - dont need default engine in config anymore 2014-08-26 19:27:07 +09: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
Kai Huuhko 73bb594b38 Fix build after TAsn's interface work
Elm wasn't linking against libefl so the build would error out with
missing symbols.
2014-08-23 16:42:28 +03: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 eb6068e57b po: updated po 2014-08-23 02:33:22 +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
Daniel Juyung Seo 509112325d gengrid, genlist, list, toolbar: Fixed DISPLAY_ONLY select mode for an object.
DISPLAY_ONLY select mode for elm_xxx_item_select_mode_set works fine but
elm_xxx_select_mode_set was broken.

@fix
2014-08-22 01:12:38 +09:00
Daniel Juyung Seo 24b442c355 elm: Added more documentation about the select_mode enum. 2014-08-22 01:12:34 +09:00
Daniel Juyung Seo 4556d4e5ef gengrid, genlist, list: Changed %c to @p for parameters in the documentation. 2014-08-21 23:51:22 +09:00
Jae Yong Hwang 9a13ed55fc genlist: Fixed item select logic when item select mode is ALWAYS.
Summary:
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/D1347
2014-08-21 22:54:22 +09:00
Daniel Juyung Seo f66453d82e notify: fix notify to keep the consistency even that was wrongly implemented.
According to hermet's review comments, let's keep the consistency even
if it was wrongly implemented.
2014-08-21 22:45:01 +09:00
Daniel Juyung Seo 7804b92b18 Revert "Revert "elm_notify: fixing style applying""
This reverts commit 2e2d003efeded27955cc9301279cd3a0d362f548.

Revert this patch to leave the credit to Andrii Kroitor.
I will fix this correctly in the next commit.
Sorry Andrii for the wrong review comments that can break compatibility.
But actually it was not documented at all so there was no problem.
Just to please hermet, let's not do more.
2014-08-21 22:39:51 +09:00
ChunEon Park 34b07e19ed Revert "elm_notify: fixing style applying"
This reverts commit 0ca13c33cd1e89c85793b1d3f5245d86459e051c.

Sorry this can't be pushed cause of compatibility break.
2014-08-21 20:13:17 +09:00
ChunEon Park edd1f32d83 Revert "notify: changed internal formatting for readability."
This reverts commit a2afbe91e851f3d943736d2a1aae9e2721d1a0d5.

definitely this will break compatibility.
and as i mentioned, we should prevent as possible that
until there are other methods.
2014-08-21 20:09:58 +09:00
Tom Hacohen d24479610b Win: Add an animator,tick event (not currently implemented).
This event will be used to replace ecore_animator.
2014-08-21 11:04:28 +01:00
Tom Hacohen dc8ca9d436 Prefs: Use file interface. 2014-08-21 11:04:28 +01:00
Tom Hacohen 307e03c1b1 Image: Use image interface. 2014-08-21 11:04:28 +01:00
Tom Hacohen ee6cd98784 Video: Use file interface. 2014-08-21 11:04:28 +01:00
Tom Hacohen dd99ee34fd Layout: Use file interface. 2014-08-21 11:04:28 +01:00
Tom Hacohen eb5cdaf088 Thumb: Use file interface. 2014-08-21 11:04:28 +01:00
Tom Hacohen 0b9ec03952 Photo: Use file interface. 2014-08-21 11:04:28 +01:00
Tom Hacohen 282e21a10a Bg: Use file interface 2014-08-21 11:04:28 +01:00
Tom Hacohen 4cc392ce5e Image: Use file interface. 2014-08-21 11:04:28 +01:00
Tom Hacohen f1440487f7 Configure: Add libefl's .eo file in eolian include path. 2014-08-21 11:04:28 +01:00
Tom Hacohen 157d819572 Adjust functions to use the new efl interfaces. 2014-08-21 11:04:28 +01:00
Daniel Kolesa c159cb2ebc update according to Eolian syntax changes 2014-08-21 09:27:32 +01:00
Daniel Juyung Seo da452ed18f NEWS: keep the convention with other lines. 2014-08-21 01:19:58 +09:00
Daniel Juyung Seo 5df0b2e104 notify: changed internal formatting for readability. 2014-08-21 01:19:17 +09:00
Andrii Kroitor 83c40037fe elm_notify: fixing style applying
Summary:
added support of bottom_left, bottom_right, top_left, top_right styles
of notify that are present in default theme

@fix

Reviewers: cedric, seoz, Hermet

Subscribers: reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D1329
2014-08-21 01:19:17 +09:00
Stefan Schmidt f02878d16c configure: Switch to dev mode again and set version to .99
Merge window for 1.12 is open.
2014-08-20 18:00:12 +02:00
Stefan Schmidt 695f4c629b release: Update NEWS and bump version for 1.11.0 release 2014-08-20 17:40:39 +02:00
Daniel Juyung Seo b6585de943 NEWS: cleaned up new file for the 1.11 release. 2014-08-21 00:08:48 +09:00
Daniel Juyung Seo c231ed781a map: added missing since tag for a new api. 2014-08-21 00:08:48 +09:00
ChunEon Park 110c7f3651 README: fix typo. 2014-08-20 23:22:02 +09:00
Carsten Haitzler feeffa881b e theme - screen suspend/locl/resume etc, make black rect on noeffect
this makes the black rect etc. appear instantly even if no effects are
selected for comp - this should cover up lockscreen and other stuff on
suspend/shutdown/resume etc. like fading does. this should fix T1498
2014-08-18 11:47:42 +09:00
Mike Blumenkrantz c27c4bb979 my 1.11 NEWS updates 2014-08-15 08:36:09 -04:00
Stefan Schmidt d18c89b77c tests: Ship elm_test_helper.h in dist tarball
This is a first step to run elm make check during distcheck.
2014-08-15 12:03:23 +02:00
Boris Faure 354ab4683e slider: update documentation on elm_slider_step_set/get (since 1.8) 2014-08-15 11:01:52 +02:00
ChunEon Park c81683ba5a entry: fix clearing selection region problem while it's already selected.
if entry has selection, it would be cleared if selection region set is requested again.
because entry cancel the selection area after it reset the selection area.
unfortunately, the selection area is new selection so selection area is gone.

this patch prevent clearing selection and keep the new selection.

@fix
2014-08-15 17:44:13 +09:00
Stefan Schmidt 5f5218a5af README: Cosmetic change to align underline with two digit version number 2014-08-14 11:31:13 +02:00
Daniel Juyung Seo 2331e121aa po/ko: updated Korean translation. 2014-08-14 00:50:59 +09:00
Daniel Juyung Seo 4297f6a620 po: update po due to string changes. 2014-08-14 00:49:13 +09:00
Daniel Juyung Seo 6ddbdfdbd0 doc: removed @ from @since if it needs to be inlined the documentation. 2014-08-14 00:42:43 +09:00
Daniel Juyung Seo 84c5cc64f1 panel: changed wrong term - drawer - in panel.
drawer is not an official terminology in panel.
2014-08-14 00:32:34 +09:00
Daniel Juyung Seo 46c96ef433 radio: added quotes for smart callback name in the documentation. 2014-08-14 00:22:52 +09:00
Savio Sena ac06838b11 autotools: Renamed --disable-c++11 to --disable-cxx-bindings.
The name was misleading.
2014-08-13 11:36:41 -03:00
Savio Sena 791d1dbcaf elm++: Update C++ examples to use the new API. 2014-08-13 11:36:40 -03:00
maxerba afe8588be1 Updating italian translation 2014-08-13 14:17:07 +02:00
Daniel Juyung Seo ad5d950bf1 doc: added @c for eina bool in the documentation. 2014-08-13 19:50:38 +09:00
Daniel Juyung Seo 7ff1882d3f button: fix hoversel and button fixed: 1 1 warning in the same way.
Now both hoversel and button are usable.
This is easiest way to fix the bug. But why it didn't work well even
hoversel inherit button default style?

Revert "button: revert this patch because this patch just broke hoversel."

This reverts commit 3238c8787511aaf69b755760b24f1aa518477d75.
2014-08-13 03:13:18 +09:00
Daniel Juyung Seo 69281aea8b button: revert this patch because this patch just broke hoversel.
hoversel is now usable. let's fix the button warning message with more
considerations.

Revert "button: add fixed 1 1 in case that text is not used."

This reverts commit efd33ddb5ba51dccaee2734e8a7add18801d9285.
2014-08-13 02:03:46 +09:00
Mike Blumenkrantz a73ef53909 force desklock theme min sizing on text
fix T1468
2014-08-11 20:24:14 -04:00
ChunEon Park e61c0f9141 button: add fixed 1 1 in case that text is not used.
If only icon is used in a button, it prints error message regarding fixed 1 1;

This resolved the problem.
2014-08-11 21:52:46 +09:00
ChunEon Park 9dddb7e61e panes: add fixed error message.
Draggable area could be zero size if user set the panes content size
with elm_panes_xxx_size_set().

In this case, it prints fixed messages.

now, it's gone and i tested with various cases for any side effects.
2014-08-11 21:42:03 +09:00
Stefan Schmidt 219c809b87 release: Update NEWS and bump version for 1.11.0-beta2 release 2014-08-11 12:54:59 +02:00
Carsten Haitzler c1a7135369 elm - do not do x11 main/config stuff without DISPLAY set
the engine checks are also broken - but that's a much bigger change,
so this fixes elm config and main code to not do their x11 work if no
DISPLAY env var is set. this is right for a wayland world where you
don't want DISPLAY but WAYLAND_DISPLAY set and used. this fixes
several ERRs that should never have hapapned in this setup.
2014-08-11 08:21:03 +09:00
Carsten Haitzler 6922450ec9 elm win - fix invalid use of elm engine config per window
lots of code unsing ENGINE_COMPARE where it should get the engine from
the ecore_evas directly - it happened to work as we happened to have
apps that have windows only for x11, or wayland etc, but not both in
an app. this was wrong, so remove the engine compare macro and do it
properly. no laziness.
2014-08-11 08:01:45 +09:00
zmike fc26cb04da gengrid once again selects items using keyboard when no item was previously selected
this was yet another thing broken by the mostly-unreviewed and untested widget item focus feature. it's still not completely fixed, since the reorder modes are broken, but at least it works for the general case again

@fix
2014-08-10 14:30:34 -04:00
Davide Andreoli 4052f7521e Genlist: do not segv if the user clear the list on item double-click
@fix
moved the user callbacks call at the end of the function, so the user
is able to modify the list without making the code below the call to
fail miserably.

Also improved the Genlist Del test to also include this case.
2014-08-09 17:53:46 +02:00
Davide Andreoli 922055f9c7 blank line --
Remove an unwanted blank line from my previous commit
2014-08-09 15:59:39 +02:00
Davide Andreoli 3235f96eb1 Gengrid: fix position calculation
@fix
To calc the position in a table you need to make the modulo of the col/row size, not the modulo on the x/y value

This unbreak the elm_gengrid_item_pos_get() function that was reporting wrong values
2014-08-09 15:47:59 +02:00
Davide Andreoli 38de4618ff doc: sync changes made in efl
* show footer with usefull info
* nested lists are more compact
* avoid packed effect on bullet lists
* @since colored and on a single line
2014-08-08 18:10:52 +02:00
Stefan Schmidt 232ca7b67b configure: Use the same default CFLAGS/LDFLAGS as we do for EFL
Especially the -fvisibility=hidden would be needed here for our EAPI handling.
I never realised we miss this here but Lukasz Stanislawski pointed me to it
when we wondered why it linked ofr him with missing EAPI but not for me.

I'v compiling and releasing elm like this for a long time now so I don't
expect any trouble but if something strange comes up we can still revert it
before 1.11 final.
2014-08-08 16:01:45 +02:00
Lukasz Stanislawski 5b0522c8af atspi: remove EAPI from elm_atspi_text_text_attribute_free
Issue reported by Stefan Schmidt. Above atspi function had EAPI attribute
defined in implementation file, however this symbol should not be public in
elementary 1.11.
2014-08-08 11:17:00 +02:00
Carsten Haitzler 2b6ae14af0 elm cnp - remove usless check/code according to CID 1193248 2014-08-08 16:45:28 +09:00
Carsten Haitzler b0d9d4977d elm gengrid - fix CID 1222464
it's possible to have a NULL item in this code - also missing a valid
return at the end (though code path never gets there).
2014-08-08 16:23:10 +09:00
Carsten Haitzler f712ac567b elm entry - fix CID 1194480 in coverity
if sd->append_text_left was still set, free it - in case it was and
idler was not set.
2014-08-08 16:16:42 +09:00
q66 38645b22b1 autotools: install .pc files to the correct directory on FreeBSD 2014-08-07 22:49:09 +01:00
Daniel Juyung Seo 5a4ca7008f widget: added warnings to internal headers.
These headers are installed in the system but not officially supported
as they are considered as internal headers.
The reason why they still need to be installed is that
   - they were exposed even in the previous releases.
   - they are needed for widget customization (unofficially)
   - or it will break ewe.

Special thanks to Stefan for the reporting.
2014-08-08 01:29:39 +09:00
Stefan Schmidt edd78dc90f gengrid: Fix since version for new elm_gengrid_reorder_type_set()
Looks like it was developed in the 1.10 timeframe but only made it into the
repo after the 1.10 release. Will be part of 1.11 so adjust it.
2014-08-07 16:48:47 +02:00
zmike 6acccd1dff photocam should reset its preload when a new file is loaded
this prevents infinite busy animations

@fix
2014-08-07 10:36:20 -04:00
Gwanglim Lee b79405e8d7 win: Don't call ecore_x_screensaver APIs if elm win doesn't have X11 window
Summary:
Elementary application crashes on startup when it is running with
wayland engine. This crash problem happens while ecore_x_screensaver API
is being called from _win_noblank_eval funcion. Thus we should not call
ecore_x_screensaver APIs if elm win doesn't have X11 window.

Test Plan:
1. build efl and elementary to support x11 and also wayland
1. run weston without xwayland
2. run elementary_test on the weston

Reviewers: raster, seoz, stefan_schmidt, devilhorns

Differential Revision: https://phab.enlightenment.org/D1293
2014-08-07 10:19:24 -04:00
Chris Michael ba10e7261a elementary: Handle case where ELM_ENGINE environment variable is
misspelled.

In case someone exports the ELM_ENGINE to be wayland-shm or
wayland-egl, let's handle That case also. Typically it is set to
wayland_shm or wayland_egl but since we check variants of spelling for
other engines also, then let's check it for the wayland engines too.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-08-07 10:10:45 -04:00
Stefan Schmidt c27476de4f shot.sh: Set ELM_DISPLAY to bring the elm shot engine back to life
As a small fallout from e7dbe063c9c044f072bacafd31ab872f6210788b we now
need to set ELM_DISPLAY with our system has something like $DISPLAY or
$WAYLAND_DISPLAY set. Elm uses that now to find out which window system
to use.

In the case of daing make doc we want it forced to shot even if we run
under X. With ELM_DISPLAY we do that. Thanks goes to raster for the
explanantion and git bisect for pinning it down.
2014-08-07 09:23:19 +02:00