Commit Graph

25 Commits

Author SHA1 Message Date
Daniel Juyung Seo 3e45b920ee elm: Removed unnecessary null check for eina_hash_free and
elm_widget_stringlist_free.
2014-01-22 11:13:30 +09:00
Carsten Haitzler 430f98a628 setuid safeness - ensure if an app that is setuid doesn't do bad things
this makes efl ignore certain env vars for thnigs and entirely removes
user modules (that no one ever used) etc. etc. to ensure that *IF* an
app is setuid, there isn't a priv escalation path that is easy.
2014-01-08 20:33:09 +09:00
Daniel Juyung Seo e756f97dae elm: Longwaited trailing white space removal. Clean elm up! 2013-09-30 22:15:01 +09:00
Daniel Juyung Seo 14a50de4d1 elm_module.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.
2013-05-29 21:04:40 +09:00
Cedric Bail c929b33052 elementary: properly sanitize headers order. 2013-05-03 16:07:06 +09: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
Carsten Haitzler 0e2924f6a7 someone change... bdilly 72499. bad! iterators are not safe for
deletions of hashes if u iterate over what u are deleting!



SVN revision: 73335
2012-07-05 09:36:07 +00:00
Bruno Dilly d6341bfc9e Elm: module unloading
Implements the module unloading to all modules on elm_module_shutdown.
This change also fixes a memory leak within elm_module picked by valgrind.

Here follows the valgrind log:

96 bytes in 1 blocks are definitely lost in loss record 105 of 168
    at 0x4C29DB4: calloc (
            in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
            by 0x52065B6: _elm_module_add (elm_module.c:223)
            by 0x520669E: _elm_module_parse (elm_module.c:77)
            by 0x51F1249: elm_quicklaunch_sub_init (elm_main.c:437)
            by 0x51F12BE: elm_init (elm_main.c:180)

Patch by Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 72499
2012-06-19 18:24:17 +00:00
Cedric BAIL 2b7a2bfba5 elementary: be able to specify elementary private data subdirectory.
SVN revision: 67356
2012-01-19 17:12:15 +00:00
Youness Alaoui be1c2a9498 Elementary: Make elm_module use eina_module instead of dl* directly
SVN revision: 64774
2011-11-05 17:49:04 +00:00
Mike McCormack 453c8437a4 elementary: Clear module callback functions on unload
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 63958
2011-10-10 10:06:36 +00:00
Daniel Juyung Seo 9fd5ced7da elm module: Added guard code.
SVN revision: 61120
2011-07-07 14:50:50 +00:00
ChunEon Park 160084626b elementary / menu, notify, list, panes, module, map, pager, panel, mapbuf - removed white spaces
SVN revision: 58251
2011-04-01 11:26:58 +00:00
Carsten Haitzler 5e8de92c41 gah - committed wrong patch. here. fixed.
SVN revision: 57661
2011-03-10 09:22:34 +00:00
WooHyun Jung c2ddcba984 From: WooHyun Jung <wh0705.jung@samsung.com>
Subject: [E-devel] [Patch] small patch for elm_module

I made a patch for elm_module. 

Null setting for freed pointer ~ 



SVN revision: 57660
2011-03-10 09:20:54 +00:00
Carsten Haitzler be7fdc15bc fmting
SVN revision: 56606
2011-01-31 11:51:19 +00:00
WooHyun Jung 6276adc9a9 From: WooHyun Jung <wh0705.jung@samsung.com>
Mr. Wonguk Jeong made a patch for elm_module. 

This patch is for changing the timing of module loading. 

 
 
 For now, module loading is done in elm_init
 
 Thus, modules are always loaded, even if the application does not use
them.

 
 
 So this patch deferred the timing of module loading to
 "_elm_module_find_as".




SVN revision: 56586
2011-01-31 10:47:53 +00:00
Tiago Rezende Campos Falcao 4672a51b0c Remove tests == 0 and != 0
SVN revision: 53787
2010-10-22 21:41:27 +00:00
Carsten Haitzler 0105319ea7 fix eina warning.
SVN revision: 53666
2010-10-20 13:56:07 +00:00
Eduardo de Barros Lima 15d98ebdff Elementary: Don't #define _GNU_SOURCE
Use proper AC_GNU_SOURCE macro in configure.ac instead.



SVN revision: 53168
2010-10-07 21:34:43 +00:00
Lucas De Marchi 3e8419285d Fix common misspellings
Following misspellings were fixed:

accomodate->accommodate
alwyas->always
backgorund->background
beween->between
dependant->dependent
desireable->desirable
doesnt->doesn't
emmitted->emitted
imediately->immediately
ocurred->occurred
sucess->success
ther->the
tranformed->transformed
usefull->useful



SVN revision: 52009
2010-09-09 00:35:43 +00:00
Vincent Torri e1e6aeb618 fix warnings. Patch by Lutin
SVN revision: 45216
2010-01-16 13:18:48 +00:00
Carsten Haitzler 07eee5720e use all dem cursor api's... and module it up bro
SVN revision: 44088
2009-12-01 11:03:14 +00:00
Vincent Torri 959022991c find the extension of the shared libraries at configure time
SVN revision: 43267
2009-10-25 12:46:49 +00:00
Carsten Haitzler 111735b63d 1. add elm module internal code. will be used later for things like:
* putting policy into modules
* multitouch handling being able to be farmed off to modules
* farming off things that are not compatible with license/code of elm into a
3rd party piece of code via a clean defined interface API

2. fix doc image - dont need it

3. fix toolbar bounce settings. was wrong



SVN revision: 42793
2009-09-29 04:35:35 +00:00