Commit Graph

311 Commits

Author SHA1 Message Date
Ryuan Choi 5ae1e19911 elm_main : Do not release strings which eina_prefix returns
The getter functions of eina_prefix just returns internal string.
So they should not be released in application side.
2013-06-15 13:02:25 +09:00
Shinwoo Kim 4ec80b4e9f Revert "[Access] Add new API to register a part on an object item as an access object."
This reverts commit 741243b645248223527ef834ed0dc10622a0ffd3.
2013-06-05 15:05:58 +09:00
Daniel Juyung Seo d0d4afd590 elm: refactoring. no printf in the library. use eina log instead. 2013-06-05 14:40:03 +09:00
Tae-Hwan Kim 9aaf2f5587 [Access] Add new API to register a part on an object item as an access object.
Author: bluezery
2013-06-04 19:34:18 +09:00
Daniel Juyung Seo f7449d9ea5 elm_main.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.

In this commit, I used ELM_SAFE_FREE even inside shutdown function.
2013-05-29 21:00:40 +09:00
Tom Hacohen de1c965029 Made clouseau_enable an elm_config option.
You can now just use elementary_config to enable and disable clouseau on
run-time.
2013-05-20 14:46:44 +01:00
Tom Hacohen 123596ee5b Added basic clouseau auto-start support.
If the ELM_CLOUSEAU env var is set to 1 elm auto-starts clouseau.
Next step would be integrating it into the elm config and making it
toggle-able on run-time.
2013-05-13 11:09:06 +01:00
Cedric BAIL e08c1fee5d main: use eina_log_timing. 2013-05-03 16:07:06 +09:00
Lucas De Marchi cb495f13de Rename edbus->eldbus 2013-04-23 13:05:43 -03:00
ChunEon Park c81bda1077 elementary/widget item - and add elm_object_item_domain_part_text_translatable_set(). 2013-04-23 17:11:28 +09:00
ChunEon Park e95af92756 elementary/widget - added elm_object_part_text_translatble_set() 2013-04-23 16:49:49 +09:00
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