Commit Graph

8768 Commits

Author SHA1 Message Date
Jean-Philippe Andre d7bd8941c9 Quicklaunch: Remove extra build code for elm_test
Now that we know we can just compile PIE programs and run them with
quicklaunch, let's simplify the build logic.
I'm pretty sure it even gives a nice boost in the build process :)
2013-11-04 17:19:43 +09:00
Jean-Philippe Andre 9ab6c58530 elm/quicklaunch: Improve executable path search
Always search executable based on CWD if possible.
This way, elementary_run behaves more like sh where all of
sh script, sh ./script and sh `pwd`/script will work.

Also, remove quicklaunch-specific ELM_MAIN.
This needs some doc, but compiling with -fpie and -pie is much
better.

Note: There's an API/ABI break here, BUT these APIs are marked
as not to be used outside macros. And there isn't any macro
using them :)
2013-11-04 16:49:02 +09:00
Jean-Philippe Andre 9bb1ef2708 elm/quicklaunch: Increment _elm_init_count in ql_init
Apps call elm_shutdown before exiting. But when using
Quiklaunch, elm_init has never been called, so the
init count is still 0.

This will be especially useful since programs compiled
with -fPIC and linked with -pie can be loaded by
Quicklaunch.
2013-11-04 15:46:15 +09:00
ChunEon Park 5cef1e1ea0 Revert "elm_conform.c: Added "virtualkeypad,size,changed" smart callback."
This reverts commit cbd7446f0bf413ad821ac40703d2a2ca728758ef.

Conflicts:

	ChangeLog
	NEWS

Please be more considerable to add this feature.
The function itself is not logical and we don't think it's proper for the conformant yet.
2013-11-04 14:51:06 +09:00
Cedric Bail 5a94164c38 elm_theme: Add API to specify exactly the Eina_File to be used as extension or overlay. 2013-11-04 14:26:41 +09:00
Daniel Juyung Seo 7f14bb7df3 test_index.c: Internal refactoring. Reduce the window size and do not expand the button.
Now it looks nicer and still shows the index clipping sample.
2013-11-04 13:19:44 +09:00
Daniel Juyung Seo ddb1dbc9a7 elm_index.c: Process signal right away when elm_index_item_selected_set() is called. Patch by Moohyun Shin <moohyun.shin@samsung.com>
Reviewer: SeoZ
2013-11-04 13:16:40 +09:00
Cedric Bail eaeda2ecdd elm_theme: use Eina_File all over the place in an attempt to reduce race condition. 2013-11-04 12:19:04 +09:00
Cedric Bail 1f442e4a8e elm_image: add mmap_set infrastructure. 2013-11-04 12:19:04 +09:00
Daniel Juyung Seo 025009c6bd test_popup.c: Refactored elm_popup_move() example. 2013-11-04 02:02:50 +09:00
Daniel Juyung Seo 9509986a05 gengrid/genlist: added Eo compatibles for elm_genlist/gengrid_multi_select_mode_set/get() APIs. 2013-11-04 01:15:58 +09:00
Daniel Juyung Seo d58512321d genlist/gengrid: Fixed documentation typos. 2013-11-04 00:39:25 +09:00
Daniel Juyung Seo 6a0f47d120 Genlist/Gengrid: Added multi select mode for genlist/gengrid.
elm_genlist_multi_select_mode_set/get()
elm_gengrid_multi_select_mode_set/get()
2013-11-03 23:58:57 +09:00
Abhinandan Aryadipta 16b4279656 popup: Added support for popup move. elm_popup_move.
Summary: Added support for popup move

Test Plan: elm_popup_move

Reviewers: seoz, singh.amitesh, tasn, Hermet

CC: raster

Differential Revision: https://phab.enlightenment.org/D247
2013-11-03 23:03:32 +09:00
Davide Andreoli d3bad72da1 Fix the theme of the music_control module. It got broken while merged with elm 2013-11-02 22:31:52 +01:00
Carsten Haitzler 9f3e3de184 enable access.h again - but comment it as unstable. 2013-11-03 00:16:23 +09:00
Carsten Haitzler 4172bae1dc disable elm_access.h include for now. 2013-11-03 00:13:16 +09:00
Kai Huuhko f20eab2211 Revert "Unbreak builds against Elementary after recent accessibility change."
It wasn't as simple as that. Someone should do this properly.

This reverts commit efc64ec914dc2c9aefc6fb28b3c9dcdf806ceea7.
2013-11-02 15:40:31 +02:00
Kai Huuhko 97ca92e803 Unbreak builds against Elementary after recent accessibility change.
This is the specific error:
/usr/include/elementary-1/Elementary.h:169:24: fatal error: elm_access.h: No such file or directory

Accessibility support was previously disabled by commit
0d61121ce4f87c9e9b0e8d8d7975f815328fe6f5
2013-11-02 15:22:34 +02:00
Ryuan Choi 5836a25bc8 genlist, gengrid: Add ELM_OBJECT_MULTIPLE_SELECT_MODE_WITH_CONTROL
Summary:
Some applications like file viewer allow multiple selection only with
Control key was pressed.

Reviewers: seoz, raster

Reviewed By: raster

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

Conflicts:
	ChangeLog
	NEWS
2013-11-02 20:53:43 +09:00
Shilpa Singh 6027ce9bad Elm_Spinner: UI Concept change fix.
Older UI concept: when text in spinner's entry is inputted and text is
not committed yet and when inc/dec is clicked. do not commit text and
reset the value to older original value.

New UI concept:
When Text in spinner's entry is inputted and text is not committed yet
and when inc/dec buttons are clicked.
Commit the entry's text and inc/dec accordingly.
If entry' s text is already modified owing to min/max update, then do not inc/dec.

Signed-off by: Shilpa Singh <shilpa.singh@samsung.com>
2013-11-02 20:33:00 +09:00
Carsten Haitzler 1aa3dd0ec4 unbreak wayland elm build more - use get_surface_id api 2013-11-02 11:51:50 +09:00
Carsten Haitzler aae829f260 wayland support - unbreak build since structs are now private 2013-11-02 11:38:57 +09:00
Carsten Haitzler 9f39ef0687 elm access - if we disable apis then disable the tests too - unbreak build 2013-11-02 10:48:12 +09:00
Daniel Juyung Seo 36f16204e7 NEWS: Removed disabled APIs for elm 1.8 release in NEWS.
I am not sure if I have to remove them from ChangeLog.
2013-11-02 04:45:13 +09:00
Daniel Juyung Seo 0439d6eb62 elm_cnp.c: Disable cnp debug mode by default. 2013-11-02 04:28:06 +09:00
Daniel Juyung Seo b977c01224 elm_access: Disable public accessibility APIs in elm 1.8 release.
Accessibility APIs are added after elm 1.7 and they are not stable yet.
Disabled those APIs for elm 1.8 release. We are going to work on them after elm 1.8 release.
2013-11-02 04:23:15 +09:00
Chris Michael dcf38e3d20 Revert maximize support ... apparently this has already been "fixed"
... will have to look into why it does not work here propertly tho..

Revert "Fix elm client applications to support maximize properly (ie: removing"

This reverts commit 28763963bb9e26ea25ca182acc294c0a02f03ba2.
2013-11-01 07:25:15 +00:00
Chris Michael f59b6f9109 Revert this ... apparently it has already been "fixed"
Revert "Add missing EINA_UNUSED to function params."

This reverts commit 15b355a1195f0371c4e74d942ef9fcfa86a4a469.
2013-11-01 07:24:45 +00:00
Carsten Haitzler 8592e1188a add @since 1.8 for new elm theme api's 2013-11-01 10:56:02 +09:00
Daniel Juyung Seo c1181d4e55 po: updated po files. 2013-11-01 08:43:25 +09:00
Chris Michael a8b4180d7e Add missing EINA_UNUSED to function params.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-10-31 17:05:17 +00:00
Chris Michael 1f69d676c0 Fix elm client applications to support maximize properly (ie: removing
border shadow and resizing properly).

NB: Elm Theme needs fullscreen support old man !! :P

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-10-31 17:02:18 +00:00
Carsten Haitzler 9503c1f95b elm theme - add some api's to expose info so e can use elm's theme stuff 2013-10-31 23:41:12 +09:00
Carsten Haitzler ef8f697748 sync elm theme with e17 theme changes made. 2013-10-31 23:41:12 +09:00
Daniel Juyung Seo e951a0b499 access: fixed a typo. _elm_access_object_hilight -> _elm_access_object_highlight. 2013-10-31 23:01:56 +09:00
WooHyun Jung eefe821c59 elementary/elc_ctxpopup.c : Focus-direction-go should be tried after checking focus next object. 2013-10-31 16:50:48 +09:00
Carsten Haitzler 8270f3f84f remove +x bit from .c file! 2013-10-30 21:28:01 +09:00
Carsten Haitzler 8b3260f16e compliance/licensing - clarify, fix formatting and point to tldrlegal.com 2013-10-30 19:28:36 +09:00
Daniel Juyung Seo 76f7c29631 elm_slider: Step set/get API additions.
Issue: As step size was hard coded in the widget, when slider indicator is dragged

using a key event or during accessibility the value was not exactly incremented/decremented

instead same value was shown more than1 time/values were skipped.

Solution: Two APIs added which will set/get step size.

Reviewer: SeoZ
Reviewer Comment: This is a manual merge of D293 due to arc issue on Shilpa.
I modified some codes from her original code. She'll use arc next time.
 fixed documentation
 fixed typos.
 fixed indentation
 used macro
 added some guide codes.
 removed unnecessary empty line.
 updated NEWS and ChangeLog.
2013-10-30 18:56:29 +09:00
Daniel Juyung Seo 256a4c4524 elm_conform.c: Added "virtualkeypad,size,changed" smart callback.
When the virtualkeypad size is changed, applications get the notice.
Applications can do internal object calculation according to the exact virtualkeypad size.
This is useful when the exact size is important such as webkit usecase.
2013-10-30 16:24:38 +09:00
Daniel Juyung Seo 60296c9317 NEWS/ChangeLog: Updated NEWS/ChangeLog entry for image click addition on key event. 2013-10-30 08:52:17 +09:00
Daniel Juyung Seo 344c792f86 test_image.c: enhance image click example to look better.
- Keep the final state.
- Rotate according to the final state.
2013-10-30 08:49:11 +09:00
Amitesh Singh 72c30bb3e2 [image] - Added support for "clicked" callback on Return/space/KP_Enter key press.
Summary: [image] - Added support for "clicked" callback on Return/space/KP_Enter key press.

Reviewers: seoz, Hermet

Differential Revision: https://phab.enlightenment.org/D278
2013-10-30 08:32:44 +09:00
Daniel Juyung Seo a437e66219 elm_conform.c: Use more ELM_SAFE_FREE macros. 2013-10-29 22:49:57 +09:00
Rafael Antognolli e8a029b153 elm/win: Do not force maximized status.
When receiving a maximize event from the maximize button, do not force
sd->maximized. We must wait for a state change event, just like when a
window is maximized by the elm_win_maximized_set function. This will
ensure that a maximized smart event is sent.

Additionally, send a elm,state,maximized signal to the edje theme, so it
can update shadows and window decorations correctly.
2013-10-29 09:20:48 -02:00
Rafael Antognolli 14e63d0a71 elm/win: Put framespace set code in a common place.
A little refactory that hopefully will prevent future mistakes when
changing this code.
2013-10-29 09:20:48 -02:00
Daniel Juyung Seo d22076681b elm: Fixed formatting about smart_event check for code consistency.
- Made it look clearer.
- Removed unnecessary local variables.
- Keep the code sequence consistent.
2013-10-28 23:30:12 +09:00
Daniel Zaoui 4d7fcf524b Eo: fix macros for table
A col variable has been used inside the macro instead of the column
parameter. This first variable is from the legacy API and so didn't have
impact when the function was called from the legacy API.
In GUI Builder, the compilation of the generated C code was failing
because we used directly the Eo API and so was searching for the col
variable.
2013-10-27 08:59:22 +02:00
Carsten Haitzler 2124d59625 add another example to ignores 2013-10-26 23:51:10 +09:00