Commit Graph

162 Commits

Author SHA1 Message Date
Mike Blumenkrantz 53c7cc643f small leak in config registry item add
SVN revision: 80920
2012-12-14 09:04:23 +00:00
Mike Blumenkrantz c0910ad0d4 only create config registry item once its category has been found to prevent dangling registry items
SVN revision: 80815
2012-12-13 10:56:59 +00:00
Mike Blumenkrantz 503d7305db Dear all,
As I've said before, I'm attached a patch for minor bugs in the e17 again.
 Please take a look at attached patch.

 01. missing E_FREE(wev) if zone is null
     File: src/bin/e_actions.c: 1467
     Function: ACT_FN_GO_EDGE macro function
     null check of zone and wev, it would be better to separate them.

 02. dead code
     File: src/bin/e_configure.c: 338
     Function: _e_configure_efreet_desktop_update

 03. array buf might be overwritten by "buf[i] = '\0'"
     File: src/bin/e_eap_editor.c: 412
     Function: _e_desktop_edit_user_local_desktop_filename_generate

 04. missing null check
     File: src/bin/e_fm.c
     Function: e_fm2_icon_get: 2196
     It would be better to check ic->info.file in e_fm2_icon_get
     before passing to _e_fm2_file_is_edje because it doesn't check
     null pointer.

 05. array 'path' might be overwritten by "path[i + 1] = XXX"
     File: src/bin/e_fm.c: 4299
     Function: _e_fm2_uri_parse

 06. missing null check
     File: src/bin/e_fm_device.c: 468
     Function: e_fm2_device_mount_find
     If the null pointer is passed to e_fm2_device_mount_find,
     then it attempt to compare string using strncmp without null
     check.
     e.g., e_fm2_path_set
           -> real_path = _e_fm2_dev_path_map: this function could return null.
           -> sd->realpath = real_path;
           -> e_fm2_device_mount_find(sd->realpath)

 07. missing free(fstrip)
     File: src/bin/e_import_config_dialog.c: 34
     Function: _import_edj_gen

 08. missing _module_free(cfm)
     File: src/bin/e_int_config_modules.c: 530
     Function: _load_modules

 09. missing free(class) in for loop
     File: src/bin/e_int_menus.c: 1187
     Function: _e_int_menus_clients_add_by_class

 10. missing free(roots)
     File: src/bin/e_main.c: 1646
     Function: _e_main_screens_init
     Actually only e_win_init function could return 0.
     But I've added free to other codes for the consistency.

 11. missing null check of 'es->cfg'
     File: src/bin/e_shelf.c: 2583
     Function: _e_shelf_bindings_add
     'es->cfg' might be null. please look at e_shelf_position_calc.

 12. no ect->category check before comparing string values
     File: src/bin/e_theme.c: 387
     Function: e_theme_config_remove
     I'm not sure, but inner if block checks ect->category before
     deleting a string.

 13. missing E_FREE(wcb) in while loop
     File: src/bin/e_widget_ilist.c: 146
     Function: _queue_timer

 14. dereferencing freed pointer 'entry'
     File: src/modules/quickaccess/e_mod_quickaccess.c: 583
     Function: _e_qa_event_border_remove_cb

 15. missing E_FREE(trov)
     File: src/modules/tiling/e_mod_tiling.c: 3106
     Function: _do_transition_overlay

 Thanks & Regards,
 Gwanglim


SVN revision: 80231
2012-12-05 11:13:09 +00:00
Mike Blumenkrantz 043bbd8cb9 use current container if none passed to e_configure_registry_call
SVN revision: 75542
2012-08-22 11:52:53 +00:00
Cedric BAIL 78b9f4a0e5 e: e_configure dialog now sort on priority then label.
SVN revision: 74032
2012-07-18 02:26:11 +00:00
Mike Blumenkrantz f42c22a3aa alphabetically sort external preferences items
SVN revision: 73909
2012-07-16 07:22:49 +00:00
Mike Blumenkrantz 42ceb58540 merge a big e17 doc patch
ticket #91


SVN revision: 73408
2012-07-06 10:53:22 +00:00
Mike Blumenkrantz 688ee47e83 formatting
SVN revision: 73281
2012-07-04 12:42:30 +00:00
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Carsten Haitzler 46866b4792 fix typo
SVN revision: 63098
2011-09-03 01:31:23 +00:00
Sebastian Dransfeld 0a0c4d5209 efreet: Revert changed flag
Only send event when cache is actually updated.

SVN revision: 62548
2011-08-18 07:34:02 +00:00
Sebastian Dransfeld 70ed1d3def e: Ignore efreet cache update on no change
SVN revision: 62507
2011-08-16 12:46:47 +00:00
Carsten Haitzler c942bf1be2 add preferences tab to config registry for the prefs menu (vs system
config menu). this pretty much matches what ubuntu does for these 2
menus, so it makes integrating easier.



SVN revision: 60695
2011-06-26 02:56:25 +00:00
Hannes Janetzek 6da0d7a74d e17: fix: show evry 'start' and 'plugins' dialogs via settings panel action
added a function to pass the params with which the configure registry item will be called. 


SVN revision: 58396
2011-04-06 22:17:58 +00:00
Mike Blumenkrantz fc220557e7 comment out annoying debug printf
SVN revision: 55513
2010-12-12 15:39:41 +00:00
Gustavo Sverzut Barbieri 6f2213cb25 convert init/shutdown to EINTERN, move some to _update().
Do not abuse the concept of e_*_init(), make them call-once and those
that needed multiple call are renamed to e_*_update(). To make sure
convert them to EINTERN so the symbols are not exported.

Actually I guess too much is exported as EAPI while they should be
EINTERN, but that would require manual investigation, while this patch
was basically created with sed + grep.



SVN revision: 54795
2010-11-22 15:21:32 +00:00
Sebastian Dransfeld 3d1a299e06 Let efreet icon return const
We return a pointer to an internal cache, so no need to do strdup. I we
implement a cache, the pointer will be a return from a mmap'ed file, so
no need to do strdup.

A bit late to do an API break, but must be done.

SVN revision: 54372
2010-11-09 20:15:55 +00:00
Sebastian Dransfeld 3c12d4daba __UNUSED__ last
SVN revision: 54193
2010-11-05 18:40:31 +00:00
Sebastian Dransfeld 91636a30f5 init handlers in main loop, after efreet init
SVN revision: 54185
2010-11-05 15:37:02 +00:00
Sebastian Dransfeld 83bcd95d83 Simplify efreet cleanup code
SVN revision: 54184
2010-11-05 15:36:53 +00:00
Sebastian Dransfeld c76328248e Reorder
SVN revision: 54183
2010-11-05 15:36:41 +00:00
Carsten Haitzler 0fe423836f system settings menu in config panel is back.
SVN revision: 53674
2010-10-20 14:49:58 +00:00
Christopher Michael 162632e3be Add unused.
SVN revision: 51330
2010-08-18 19:49:54 +00:00
Lucas De Marchi 6638a10e20 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Sebastian Dransfeld fadcb01bcb efreet: better naming
SVN revision: 48034
2010-04-15 19:21:03 +00:00
Sebastian Dransfeld 779ef9e24a Sync with efreet and some cleanup
SVN revision: 47478
2010-03-26 05:34:34 +00:00
Sebastian Dransfeld 93d2e401c1 Efreet update
- Listen to cache update
- Free desktops after retrival

SVN revision: 47477
2010-03-26 05:34:20 +00:00
Sebastian Dransfeld cdd86db6ac Eet cache for efreet desktop
SVN revision: 46726
2010-03-01 18:16:32 +00:00
Christopher Michael b530e3914a Formatting
SVN revision: 40272
2009-04-21 17:53:43 +00:00
Gustavo Sverzut Barbieri 8b22937367 usability: sort menus, always keep same order.
maybe this is too much for a feature freeze phase, but this is
annoying for users, sometimes your menu looks one way, sometimes
another. Now it will always look the same, alphabetically ordered.

If it breaks anything before Monday revert!


SVN revision: 40205
2009-04-19 06:21:35 +00:00
Davide Andreoli eb2d1db1dc Icon rename finished. Now we have a fully compliant icon theme :)
now I'm going to fix E-MODULE-EXTRA...


SVN revision: 39495
2009-03-15 17:41:46 +00:00
Cedric BAIL 8eef516595 * e_configure.c: Use EINA_LIST_FOREACH.
SVN revision: 39433
2009-03-10 16:19:02 +00:00
Cedric BAIL 65e6e035c0 * e_configure.c: White space removal and more indent.
SVN revision: 39432
2009-03-10 16:16:42 +00:00
Cedric BAIL 1117cb228d * e_configure.c: Fix indentation.
SVN revision: 39431
2009-03-10 16:14:24 +00:00
Davide Andreoli fc66fc7c73 More icon renamed, for more info look at default.edc (around line 22650). I'm keeping there a mapping between e old names and fdo ones.
SVN revision: 39374
2009-03-05 02:39:50 +00:00
Cedric BAIL db419867dd * estickies,
* etk,
	* PROTO/exalt,
	* E-MODULES-EXTRA/diskio,
	* E-MODULES-EXTRA/drawer,
	* E-MODULES-EXTRA/penguins,
	* E-MODULES-EXTRA/slideshow,
	* E-MODULES-EXTRA/mail,
	* E-MODULES-EXTRA/forecasts,
	* E-MODULES-EXTRA/iiirk,
	* E-MODULES-EXTRA/places,
	* e,
	* ewl,
	* ecore,
	* elitaire,
	* entrance,
	* e_dbus,
	* efreet: Here we go, move from Ecore_List to Eina_List.

	NOTE: This patch is huge, I did test it a lot, and I hope nothing is
	broken. But if you think something change after this commit, please
	contact me ASAP.


SVN revision: 39200
2009-02-25 11:03:47 +00:00
handyande 61801ee22d Fixup compile / link errors with OSX, still having a small issue with the batter module linking, but getting there
SVN revision: 38570
2009-01-13 16:30:37 +00:00
Cedric BAIL 773d102291 This commit is huge. I did test it a lot on my computer, and it run fine here.
But is so big i fear i could have broken some piece of code. So report any wrong
behaviour to me (cedric on #edevelop).

So moving e17 and efreet to eina_hash. With a little efreet API break so they
must come together.


SVN revision: 38185
2008-12-17 15:33:43 +00:00
Cedric BAIL 1087de2397 Remove Evas list and replace them with Eina list.
No change for ->next and ->data access right now, as the patch is already
big enough.



SVN revision: 36962
2008-10-22 11:49:33 +00:00
Cedric BAIL 3d6749983b Switch to eina_stringshare.
This could also change the usage of string share in E17.



SVN revision: 36679
2008-10-15 15:12:56 +00:00
Sebastian Dransfeld 3199439ed8 fix against efreet API breakage
SVN revision: 35492
2008-08-14 20:49:37 +00:00
Sebastian Dransfeld 6688c66f3a Remove unused variable.
SVN revision: 34858
2008-06-19 11:56:54 +00:00
Carsten Haitzler cf330f0023 handle more properties for .desktop fiels in config panel
SVN revision: 34647
2008-05-23 14:40:51 +00:00
Carsten Haitzler 251411d2b6 and allow a custom launch callback
SVN revision: 34646
2008-05-23 08:51:22 +00:00
Carsten Haitzler f195fc3275 e can now find any system config .desktops.. and put them automatically in
its config panel. the requirments: must be BOTH in category "System" and
"Settings". if so - it will go in the config panel.


SVN revision: 34645
2008-05-23 08:29:45 +00:00
Carsten Haitzler 9c02f966a8 add generic cfg call
SVN revision: 34409
2008-04-30 12:01:32 +00:00
Christopher Michael 76906e9a0a Be sure to free icon_file if it exists for both categories & items.
SVN revision: 32277
2007-11-01 20:35:08 +00:00
Sebastian Dransfeld b48fc6aaa4 Remove debug printf
SVN revision: 31724
2007-09-15 18:57:56 +00:00
Carsten Haitzler c3fc770dce config panel now is a module - just config registry is in core e.
SVN revision: 31184
2007-08-05 08:07:39 +00:00