Commit Graph

300 Commits

Author SHA1 Message Date
WooHyun Jung 45388e4581 elementary/focus : Add four more focus direftions. ELM_FOCUS_UP, ELM_FOCUS_DOWN, ELM_FOCUS_RIGHT, and ELM_FOCUS_LEFT. These are for supporting elm_object_focus_next with four directions. And I added elm_object_focus_next_object_set(get). By setting focus next object manually, developer can set its own first candidate of focus next. Lastly I added elm_object_focused_object_get, for easy finding of current focused object in one object sub-tree. 2013-03-23 09:36:21 +09:00
Cedric BAIL d7be2e6f55 elementary: make quicklaunch work again. 2013-03-22 14:45:09 +09:00
Tom Hacohen 1343040dcf Quicklaunch: Fixed unused and dead code warnings. 2013-03-21 13:35:45 +00:00
Daniel Juyung Seo 1bfede5163 elm_main.c: fixed formatting. 2013-03-16 17:28:10 +09:00
ChunEon Park 30ce1cf732 elementary/widget - added elm_object_item_signal_callback_add(), elm_object_item_signal_callback_del() 2013-03-06 21:33:13 +09:00
ChunEon Park afa738e3e6 elementary/widget - added widget orientation mode infra and 2 apis elm_object_orientation_mode_disabled_set(0, elm_object_orientation_mode_disabled_get()
Orientation Mode is used for widgets to change it's styles or to send signals
whenever it's window degree is changed. If the orientation mode is enabled
and the widget has different looks and styles for the window degree(0, 90,
180, 270), it will apply a style that is readied for the current degree,
otherwise, it will send signals to it's own edje to change it's any states if
the style doesn't be readied.



SVN revision: 83880
2013-02-14 05:38:26 +00:00
ChunEon Park f45b4efac0 elementary/widget - for consistency, revised internal func names.
SVN revision: 83865
2013-02-13 11:02:36 +00:00
ChunEon Park 09dc0877a0 elemenatry - replace elm_object_domain_translatable_text_part_set()/text_part_get() with elm_object_domain_transltable_part_text_set(), part_text_get()
SVN revision: 83856
2013-02-12 11:43:39 +00:00
ChunEon Park 867084e7ba elementary - added elm_object_item_translatable_part_text_set() elm_object_item_translatable_part_text_get()
SVN revision: 83852
2013-02-12 10:38:33 +00:00
Daniel Juyung Seo a2b89b001a elm access: Fixed wrong return value handling.
1. elm_object_item_access_order_get should return a list.
2. the return type is const Eina_List *.

SVN revision: 83782
2013-02-08 15:16:09 +00:00
Shinwoo Kim 166f5ae570 [access] convey(relay) focus(highlight) to the object which is swallowed by Elm_Object_Item.
SVN revision: 83742
2013-02-07 13:01:34 +00:00
Shinwoo Kim fd66920430 [access] follow consistent naming rule in elementary as below.
- elm_access_object_item_register(); -> elm_object_item_access_register();
  - elm_access_content_cb_set(); -> elm_access_info_cb_set(); The content would be considered as an evas object.
  - elm_access_text_set(); -> elm_access_info_set();


SVN revision: 82791
2013-01-15 04:20:37 +00:00
Cedric BAIL 80c628daeb elementary: fix mistake with ebus linking.
SVN revision: 82596
2013-01-11 00:23:58 +00:00
Eduardo de Barros Lima 5bb50d9645 dlopen and friends are now required by elm_need_e_dbus(), remove HAVE_FORK conditional to include the header.
Build was broken with the following message:

elm_main.c: In function 'elm_need_e_dbus':
elm_main.c:372:4: warning: implicit declaration of function 'dlopen' [-Wimplicit-function-declaration]
elm_main.c:372:46: error: 'RTLD_LAZY' undeclared (first use in this function)
elm_main.c:372:46: note: each undeclared identifier is reported only once for each function it appears in
elm_main.c:372:58: error: 'RTLD_GLOBAL' undeclared (first use in this function)
elm_main.c:374:4: warning: implicit declaration of function 'dlsym' [-Wimplicit-function-declaration]
elm_main.c:374:14: warning: assignment makes pointer from integer without a cast [enabled by default]
elm_main.c: In function '_elm_unneed_e_dbus':
elm_main.c:387:18: warning: assignment makes pointer from integer without a cast [enabled by default]
elm_main.c:392:4: warning: implicit declaration of function 'dlclose' [-Wimplicit-function-declaration]

I wonder if this is correct for other platforms other than linux??



SVN revision: 82573
2013-01-10 14:27:38 +00:00
Cedric BAIL 951f944737 elementary: remove build dependencie from old e_dbus.
SVN revision: 82517
2013-01-10 07:50:14 +00:00
Daniel Juyung Seo 081f9f8006 elm: Restructuring codes to remove dead codes.
SVN revision: 82445
2013-01-09 09:02:22 +00:00
Murilo Belluzzo abcc99fcd1 [elm] Add support to D-Bus systray icons
For now, it supports only one system tray icon per application.

Each instance of ELM_OBJ_SYSTRAY_CLASS is a handler for
the same system tray item. But the API is ready to support
multiple system tray items per application.

Also, since this is a new feature, it only provides an EObject API. So,
if the old style API is still required, please do it.

Patch by: Murilo Belluzzo <murilo.belluzzo@profusion.mobi>



SVN revision: 81747
2012-12-27 13:38:40 +00:00
Flavio Vinicius Alvares Ceolin b470aaa0f2 adding support for elocation
SVN revision: 80657
2012-12-11 14:05:48 +00:00
Cedric BAIL 8830f43b7d elementary: improve stability/safety of quicklaunch.
SVN revision: 80308
2012-12-06 08:15:08 +00:00
Gustavo Sverzut Barbieri 27c6def19d elm: add system notification.
SVN revision: 80281
2012-12-05 22:24:00 +00:00
Gustavo Sverzut Barbieri bab69d04cc elm: fix need/uneed so it will release memory upon elm_shutdown.
Murilo Belluzzo spotted that we're incrementing a counter on an EAPI
elm_need_*(), but the unneed version is executed automatically from
elm_shutdown(), thus only once.



SVN revision: 80257
2012-12-05 14:35:04 +00:00
Murilo Belluzzo 33c4cb55e7 Add app pretty name and .desktop file path support
Add support to set a string to hold a 'pretty' name to be used with the
application and a way to set the path to the .desktop file associated
with the application.

Patch by: Murilo Belluzzo <murilo.belluzzo@profusion.mobi>



SVN revision: 80187
2012-12-04 18:09:54 +00:00
Gustavo Sverzut Barbieri b3f157541c elm now supports edbus v2, deprecated v1 function.
v1 is now deprecated (EINA_DEPRECATED) but still there, should still
work and not break any existing app.

v2 is now there as well, all software is being ported to use it
now. Just Enlightenment itself will still ship with v1 and as soon as
we release it will go v2, we have the patches here.



SVN revision: 80110
2012-12-03 21:45:48 +00:00
Gustavo Lima Chaves 87648e9ace [elm] Introducing a new widget, along with its infrastructure -- prefs.
The prefs widgets aims to aid with the implementation of
preference/configuration windows/UI elements in Elementary-based
applications (think of Enlightenment configuration dialogs,
elementary_config, etc).

Prefs is a widget that populates its view with widgets
bound to data types (following the instructions of a ".epb" file that
describes a set of items) and handles the storage/restoration of such
data on a configuration file automatically.

There's also the prefs_data handle, which is the one dealing with
user saved data for a given epb defaults set.

The documentation on the new widget is rich (we have examples and even
an EPC reference) and there's a new test entry for it.

I'm blogging about it soon, with screeshots and more details.

Enjoy.

ps.: This is a team work by Murilo Belluzzo, Ricardo de Almeida and me.



SVN revision: 79909
2012-11-30 14:41:39 +00:00
Vincent Torri 5d85176597 Elm: fix quicklaunch on cygwin
Patch by Yaakov Selkowitz


SVN revision: 78974
2012-11-07 17:58:09 +00:00
Jihoon Kim d19a9669c3 remove trailing spaces and fix coding style
SVN revision: 77838
2012-10-11 00:35:00 +00:00
Bruno Dilly 900ba23681 elementary: correctly balance init counts
It was always increasing quicklaunch count on init, but
only reducing on shutdown when _elm_init_count is zeroed,
i.e., the quicklaunc_shutdown rountine wasn't being executed.



SVN revision: 77378
2012-10-03 16:41:46 +00:00
Bruno Dilly 322ceb0458 elementary: add policy for elm exit
With ELM_POLICY_EXIT it's possible to request elementary
to delete all the windows before shutdown instead of just
quitting the main loop.



SVN revision: 77328
2012-10-02 17:06:11 +00:00
Gustavo Lima Chaves f6faa9f105 [elm] Bye, bye, compat.
http://www.xmms.org/graphics/Gaylord.Nelson.waves.byebye.jpg



SVN revision: 75901
2012-08-30 16:46:59 +00:00
Carsten Haitzler 6faa1f83da make elm inlined window focus in work and thus key events work. :)
SVN revision: 75534
2012-08-22 10:02:32 +00:00
Cedric BAIL f885070db1 elementary: reset main loop after fork.
SVN revision: 75046
2012-08-09 12:23:15 +00:00
Carsten Haitzler 55f0bc9da1 fix quicklaunch to properly set appname from argv0 and not empty out
args when setting them on the forked child in quicklaunch.



SVN revision: 74962
2012-08-07 07:37:14 +00:00
Jihoon Kim 937958c2da elm_main.c: fix typo
SVN revision: 74552
2012-07-30 06:50:44 +00:00
ChunEon Park ded80f5fdd elementary/general - also here a comment for the future.
SVN revision: 73446
2012-07-07 06:34:16 +00:00
ChunEon Park 057025d659 elementary/general - just added a comment
SVN revision: 73444
2012-07-07 06:27:18 +00:00
Cedric BAIL 4f3f2480bb elementary: initialize emotion when necessary.
SVN revision: 73180
2012-07-03 02:13:42 +00:00
Gustavo Sverzut Barbieri c4caf9d82f safety for elm_object_item_widget_get().
SVN revision: 73117
2012-07-02 01:38:21 +00:00
Mike Blumenkrantz ea5e907bb6 should probably return these values instead of just copy/pasting code around
SVN revision: 71935
2012-06-11 08:19:04 +00:00
Gustavo Lima Chaves 9ec740624f [elm] Just cosmetical, but since it's here on my
changes...



SVN revision: 71869
2012-06-08 21:05:51 +00:00
Jaehwan Kim b55c923034 Add elm_object_scroll_hold/freeze_get
SVN revision: 71836
2012-06-08 08:59:07 +00:00
Carsten Haitzler db43622992 This is a small change, so I won't changelog it (or backport), but
make _shutdown() funcs across efl complain and be unhappy if you
shutdown to < 0 shutdowns and not pull init count below 0.



SVN revision: 71548
2012-05-30 10:08:41 +00:00
Carsten Haitzler f01fc7471a be generous about focus setting in elm.
SVN revision: 71481
2012-05-29 00:31:38 +00:00
Daniel Juyung Seo 044bdaf657 elm: Renamed internal function about elm_object_item_part_content/text_set/unset/get.
SVN revision: 70161
2012-04-12 23:39:36 +00:00
ChunEon Park ee803ccfd8 elementary/widget - removed item smart callback internal infra.
Not exposed and not used anywhere.

We don't recommend to apply this.



SVN revision: 69889
2012-04-03 07:30:11 +00:00
Carsten Haitzler c3691314e7 make elm robust and handle if u DONT set compile time dirs.. and work
anyway.



SVN revision: 69750
2012-03-29 12:00:14 +00:00
WooHyun Jung 46a9b517e7 elementary/elm_main : fix wrong return.
SVN revision: 69353
2012-03-15 05:23:06 +00:00
Jiyoun Park 910bd194e2 remove deprecated code related with
elm_object_tree_unfocusable_get/set

function.


SVN revision: 69244
2012-03-12 10:21:48 +00:00
Jiyoun Park 0bc61823fb remove deprecated code related with
elm_all_flush 
function.


SVN revision: 69222
2012-03-12 07:03:12 +00:00
Jiyoun Park cc173f0c50 remove deprecated function related with
elm_object_content_part_XXX
elm_object_item_content_part
elm_object_item_text_part


SVN revision: 69089
2012-03-09 11:19:27 +00:00
Jiyoun Park 2e62935285 remove deprecated function related with elm_object_text_part_XX
SVN revision: 69088
2012-03-09 11:16:58 +00:00