Commit Graph

29 Commits

Author SHA1 Message Date
Carsten Haitzler f13b79c02b efm - fill in some media icon blanks which lead to generic icons
i found a thumbdrive i got a generic "whatever" file icon for...
because efm media type matching didnt find an icon name for it. fix
that.
2018-04-10 17:50:57 +09:00
Carsten Haitzler 1afddc3b5e explicitly use eina list types passing into EINA_LIST_FREE() 2016-10-03 11:55:55 +09:00
Chris Michael 0a94e8ba71 enlightenment: Make E build again with EFL from git
sed -i 's/EAPI/E_API/g'

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-05-07 15:13:10 -04:00
Mike Blumenkrantz 471dcb24cb __UNUSED__ -> EINA_UNUSED
this has been bugging me forever. __UNUSED__ is no longer a valid macro here.
2015-03-18 18:09:09 -04:00
Mike Blumenkrantz 9e8e755cdf formatting: all at once
SVN revision: 82625
2013-01-11 10:34:29 +00:00
Mike Blumenkrantz 6c71c50732 whoops, ensure we unmount the deleted mount object after the mount ops are run
SVN revision: 81204
2012-12-18 06:11:03 +00:00
Mike Blumenkrantz 46f630f103 efm finally does something other than flail around helplessly when you drag stuff onto the icon of another device
ticket #2000, fuck DND


SVN revision: 81162
2012-12-17 15:59:43 +00:00
Mike Blumenkrantz 606701ff6c make e_fm2_device_mount_free() EAPI
SVN revision: 81123
2012-12-17 11:34:19 +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
Sebastian Dransfeld 4de7b95f4a e: honor XDG_DESKTOP_DIR
SVN revision: 79678
2012-11-26 08:45:03 +00:00
Mike Blumenkrantz 676c71a2a1 efm now checks (on startup) for stale device links on desktop and tries to remove them
ticket #1689


SVN revision: 78608
2012-10-29 09:52:23 +00:00
Mike Blumenkrantz ea61755d98 fix a bunch of questionably valid null derefs from clang
SVN revision: 76807
2012-09-18 11:42:44 +00:00
Mike Blumenkrantz eaf43b6717 patch from ticket #1522 for fixing volume added before storage
SVN revision: 76762
2012-09-17 13:56:05 +00:00
Mike Blumenkrantz bc2ac60f1f add stringshare volume finding function
SVN revision: 74901
2012-08-06 07:17:04 +00:00
Carsten Haitzler b8239bef36 also remove volume icon dups on startup. :(
SVN revision: 74544
2012-07-29 11:10:45 +00:00
Christopher Michael d0ceff8feb E_FM: Fix uninitialized variables in e_fm.c. Fix Unused variable in
e_fm_device.c



SVN revision: 73872
2012-07-15 11:17:45 +00:00
Chidambar Zinnoury d491a734bf e fm: use em-dash instead of bland-looking hyphens for separators.
I love typography, don't you? E is all about eye-candiness, so let's put good uses to all those Unicode-characters.

 Let those strings be translatable as separators are different according to the language. US-style is em-dash without spaces.


SVN revision: 73859
2012-07-14 21:05:20 +00:00
Chidambar Zinnoury 116f994126 e: use standard units for file sizes and use helpers instead of duplicating code.
SVN revision: 73858
2012-07-14 20:50:21 +00:00
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Mike Blumenkrantz e2cac1cd2b add some (currently) disabled printfs to use in later debugging of mount stuff
SVN revision: 72077
2012-06-13 09:18:22 +00:00
Boris Faure 0417842390 e: typo. Patch by Fabien Romano from OpenBSD
SVN revision: 65203
2011-11-14 21:46:37 +00:00
Mike Blumenkrantz 65a1d27500 big eeze mounting overhaul: things will "probably" work now. status increment to 95% on http://trac.enlightenment.org/e/wiki/Release
SVN revision: 62881
2011-08-26 20:35:22 +00:00
Mike Blumenkrantz c2f5922c89 fix segv when using udisks to mount during ipc reads
SVN revision: 55989
2011-01-08 06:04:32 +00:00
Mike Blumenkrantz fb51556c67 split _e_fm2_device_volume_setup off to be reused later for setting up volumes which get added before their storage; now removables have the correct icons in udisks mode!
SVN revision: 55922
2011-01-06 03:57:37 +00:00
Mike Blumenkrantz ef105564ba with this commit, udisks mounting is now fully functional (wfm!) and has a number of benefits over the HAL backend, such as being able to automount media that's in your fstab
dev notes: changes to efm were required for this to work since udisks doesn't report back a mount point upon executing a mount command, so the actual dir listing/display must
be delayed by another callback until we actually know where the disk is to avoid opening a random directory


SVN revision: 55916
2011-01-06 01:35:41 +00:00
Mike Blumenkrantz 86b8db565c add some type detections for upcoming udisks/eeze support
SVN revision: 55857
2011-01-04 22:02:53 +00:00
Mike Blumenkrantz 6e9e8a38d5 simplify a couple stringshare instances
SVN revision: 55804
2011-01-03 01:54:01 +00:00
Mike Blumenkrantz e4759bdb05 ecrustified for formatting
SVN revision: 55803
2011-01-03 01:49:41 +00:00
Mike Blumenkrantz 6781f88655 whoops add these back
SVN revision: 53345
2010-10-13 08:30:06 +00:00