Commit Graph

767 Commits

Author SHA1 Message Date
Mike Blumenkrantz b7fb8e7f8d ensmallen efm icon event area
previously it was impossible to click between icons. now it is.

T377
2013-12-02 16:18:05 -05:00
Mike Blumenkrantz 479bb201e3 unify efm icon positioning code 2013-12-02 16:14:22 -05:00
Mike Blumenkrantz cfcb80dbcb select previously renaming efm icon after rename ends 2013-11-26 13:26:53 -05:00
Mike Blumenkrantz d007a390c7 call "changed" smart callback immediately on efm refresh
fixes fileman popup race condition crashes
2013-11-26 13:26:25 -05:00
Mike Blumenkrantz 90d6defeea refresh efm after new file thread completes
T540
2013-11-26 13:15:35 -05:00
Mike Blumenkrantz 2e8adbe9ca run new file check on efm icons always, not just when rendering new icons 2013-11-26 13:15:04 -05:00
Mike Blumenkrantz b3fc8aba03 always generate efm directory actions in menu 2013-11-26 12:31:30 -05:00
Sebastian Dransfeld 4bc81e47c0 fm: really strip out multiple slashes
Fixes T161, T328, T412
2013-11-21 13:56:59 +01:00
Mike Blumenkrantz cee520ff75 clip efm icon event rect
this should fix all the weird fileselector behavior that people were getting
2013-10-14 06:11:17 +01:00
Yossi Kantor 437114651d efm selection cleanups
1) efm fix: last_selection resets when icons are freed

2) When no icon is selected select first on Right/Down press or last on Left/Up keypress

3) Maintain order in range selection from first to last.
2013-10-09 13:28:19 +01:00
Yossi Kantor 1ac50f65b5 e_fm custom moode (Desktop) icon navigation improved and simplified 2013-10-01 13:19:55 +01:00
Yossi Kantor 38e3969e72 e_fm custom and regular mode icon selection 2013-09-30 14:54:49 +01:00
Mike Blumenkrantz 9f652a6a86 Revert "File manager file selection improved to fit the standart"
This reverts commit c0d2c08e90.

note to self: check and make sure test patches are not committed when pushing
2013-09-24 10:13:28 +01:00
Yossi Kantor c0d2c08e90 File manager file selection improved to fit the standart 2013-09-23 03:07:29 +01:00
discomfitor 9aea17a978 improvement: clicking filemanager during rename cancels rename 2013-09-19 20:09:40 +01:00
discomfitor 3fb3b3520b bugfix: efm now allows repeated creation of new files from menus 2013-09-19 20:09:40 +01:00
Carsten Haitzler 3dc555a7cf fix warnings in build so new ones turn up and get fixed. 2013-07-15 11:45:19 +09:00
Chris Michael 30225fa74e Fix uninitialized variable warning
Signed-off-by: Chris Michael <devilhorns@comcast.net>
2013-06-15 21:32:29 +01:00
Mike Blumenkrantz 092c7e2ba5 efm dnd operations involving multiple files will now show all files during the drag 2013-06-13 09:37:47 +01:00
Mike Blumenkrantz 7ee867e1ac use binbuf when creating efm dnd buffer 2013-06-13 08:27:09 +01:00
Mike Blumenkrantz 1bae7bbf38 selection rectangles in efm no longer sometimes turn into drag operations 2013-06-11 14:20:27 +01:00
Mike Blumenkrantz b781e4caa4 set efm icon thumb failure when icon generates at 0x0 2013-06-11 09:25:13 +01:00
Mike Blumenkrantz 65e4442f1c block repeated mozilla url drags which would overwrite an existing link 2013-05-29 14:38:53 +01:00
Mike Blumenkrantz bc86c5a8b5 efm now supports text/x-moz-url dnd operations when using efl 1.8 2013-05-29 13:45:48 +01:00
Mike Blumenkrantz e8f63e0bee handle dragging urls to efm: create new file with url as contents 2013-05-28 15:05:32 +01:00
Mike Blumenkrantz 5d6b139f35 make new dir creation more clear for error conditions 2013-05-28 15:05:32 +01:00
Carsten Haitzler 317968efa8 fix efm segv on single click due to out callbacks being called while deleting objects etc. 2013-05-28 21:03:07 +09:00
Mike Blumenkrantz 35866ab02b block access to efm icons after possible deletion 2013-05-21 14:54:01 +01:00
Mike Blumenkrantz 529d58a410 e_fm2_optimal_size_calc now returns a bool to indicate whether the returned size can be used 2013-05-08 08:27:54 +01:00
Mike Blumenkrantz 5bacb5dfc3 restack event rect for efm...always 2013-04-25 12:02:36 +01:00
Mike Blumenkrantz db72a84e58 improve efm mouse move detection (no more tooltips when cursor is in separate window) 2013-04-25 11:45:53 +01:00
Mike Blumenkrantz 0b844d36eb block efm key actions while menu is active
https://phab.enlightenment.org/T12
2013-04-25 09:23:33 +01:00
Carsten Haitzler 174a5fab15 fix efm link resolving.. again. new case. 2013-03-12 15:47:41 +09:00
discomfitor 7d0c1182c8 if a menu is active, ensure efm does not send icon_mouse_in smart callbacks 2013-03-11 05:20:28 +00:00
Daniel Juyung Seo 10ad3b23a8 efm now knows about KP_Enter. Patch by godfath3r.
KP_Enter key is added in enlightenments file manager.
2013-03-05 18:52:19 +09:00
Carsten Haitzler bedf4969a4 fix relative path opening in efm... if link is relative it was broken. 2013-02-24 12:57:59 +09:00
Mike Blumenkrantz 70d68a30e0 giant comp rejiggering commit #4
* dnd canvas removed, dnd objects now drawn directly on compositor canvas

* dnd now correctly picks the top-most dnd-receiver location as its drop target instead of just using the first one in the list

* various other small changes to go along with this
2013-02-22 13:18:30 +00:00
Mike Blumenkrantz bf9933a336 E_FN_DEL macro renamed to E_FREE_FUNC with param order swapped for consistency 2013-02-22 13:18:30 +00:00
Mike Blumenkrantz 8b28b2f2f1 revert previous few commits related to e_menu, not meant to go in yet
SVN revision: 84083
2013-02-19 08:22:46 +00:00
Mike Blumenkrantz d2952d98e0 if a menu is active, ensure efm does not send icon_mouse_in smart callbacks
SVN revision: 84077
2013-02-19 08:09:01 +00:00
Mike McCormack 63aef25ad1 e: Fix uninitialized variable warning
SVN revision: 83800
2013-02-10 03:00:00 +00:00
Mike Blumenkrantz aa6a2d173d giant comp rejiggering commit because anything smaller would have broken something:
* remove xwin for container canvas: now drawn directly on the compositor canvas

* added SHAPE_DEBUG define for bored developers

* bindings now use new e struct for mouse/wheel events

* container+zone now get mouse events from smart callbacks instead of x events

* rename comp api namespace

* change comp underlay theme to have a swallow for the wallpaper

* add names to all zone/container/comp objects to make debugging much easier

* some minor related updates to go along with this

SVN revision: 83752
2013-02-07 13:20:07 +00:00
Mike Blumenkrantz 16e1ac105e hmmm small update to previous commit which preserves functionality of related efm API call while still providing fix for icon cache update event
SVN revision: 83686
2013-02-06 15:02:27 +00:00
Mike Blumenkrantz 714611a0da fix efm cache listener to only activate (once) on icon update instead of desktop update since this is the only one which will matter, also only update the icon image instead of the entire thing
SVN revision: 83684
2013-02-06 14:54:23 +00:00
Mike Blumenkrantz 01257a8acc optimize use of edje_file_collection_list in various e things, also remove erroneous changelog/news entries
SVN revision: 83584
2013-02-04 08:38:46 +00:00
Mike Blumenkrantz aa0e82dda6 fix behavior of up/down keys in efm when typebuf is visible
SVN revision: 83560
2013-02-01 12:39:39 +00:00
Mike Blumenkrantz 1b6904e063 efm now ignores .part file changes
ticket #2120


SVN revision: 83524
2013-01-31 15:26:11 +00:00
Mike Blumenkrantz 8fd587ff92 fix navigation using symlinks in some cases
ticket #2032


SVN revision: 83522
2013-01-31 14:56:08 +00:00
Mike Blumenkrantz c123546657 fix link drop into sidebar when dragging between items
ticket #2232


SVN revision: 83414
2013-01-29 07:44:57 +00:00
Mike Blumenkrantz 543b85aa2a fix small leaks in efm and e_import_config_dialog
SVN revision: 83137
2013-01-23 09:59:14 +00:00
Mike Blumenkrantz 9e8e755cdf formatting: all at once
SVN revision: 82625
2013-01-11 10:34:29 +00:00
José Roberto de Souza 5e4352e9b3 e: e_fm udisk ported to edbus
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 81985
2013-01-02 13:16:19 +00:00
Christopher Michael e69f1ae991 Fix uninitialized variable warning(s).
Fix formatting for 80 columns.

Signed-off-by: Christopher Michael <cpmichael1@comcast.net>

SVN revision: 81743
2012-12-27 13:18:59 +00:00
Mike Blumenkrantz 99a5b074dd show icons again when activating DND drop menu
ticket #2061


SVN revision: 81514
2012-12-21 08:08:56 +00:00
Carsten Haitzler 1f745881d9 series of dialogs that were not resizable but should be, are now.
SVN revision: 81434
2012-12-20 10:07:30 +00:00
Mike Blumenkrantz 271f92f912 ahh never too late for an API/ABI break. e_icon_file_get now returns edje group, which fixes fileman border icons
ticket #rasternaggedme


SVN revision: 81387
2012-12-19 17:00:10 +00:00
Mike Blumenkrantz ae7ca9105f Hi,
here is a patch.

 1. free() already null-checks the passed argument, so it is not
    necessary to do 'if(x) free(x)'.

 2. Moved some '{free(x); x = NULL}' to E_FREE.

 3. In e_start_main.c, 'buf' is allocated with the size of the
    two arguments + '=', so we don't need to check for lenght;
    we should use sprintf().

 thanks
Maxime Villard


SVN revision: 81364
2012-12-19 14:20:34 +00:00
Mike Blumenkrantz 24ce5a79a3 initialize var for static analyzer
SVN revision: 81333
2012-12-19 09:27:51 +00:00
Mike Blumenkrantz cfd42b1c6b efm no longer allows renaming files over other files or into directories
ticket #2024


SVN revision: 81253
2012-12-18 14:08:39 +00:00
Mike Blumenkrantz 45a263b793 trivial formatting
SVN revision: 81249
2012-12-18 13:40:10 +00:00
Mike Blumenkrantz 9bfd23edab whoops forgot to set r
SVN revision: 81244
2012-12-18 13:07:57 +00:00
Mike Blumenkrantz ab1455310a fix opening a .desktop file which is a link to a file
SVN revision: 81243
2012-12-18 12:28:37 +00:00
Mike Blumenkrantz 1199fc9807 okay, exposing icon object not such a great idea considering it gets deleted and recreated constantly
SVN revision: 81230
2012-12-18 10:12:47 +00:00
Mike Blumenkrantz d54e0dd00b add efm icon object to icon info so people can hook callbacks to it
SVN revision: 81228
2012-12-18 09:39:10 +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 b22ac9e803 also automatically show files again if an op fails entirely
SVN revision: 81120
2012-12-17 10:59:10 +00:00
Mike Blumenkrantz e41c2b9343 fix weird efm crash
SVN revision: 81070
2012-12-17 08:30:46 +00:00
Mike Blumenkrantz 8b698680df reorder efm dnd finished cb to prevent crash when accessing possibly deleted icon
SVN revision: 80933
2012-12-14 11:29:50 +00:00
Mike Blumenkrantz 67b24415d6 fix efm leak when symlinking out of an ASK DND action
SVN revision: 80818
2012-12-13 11:07:06 +00:00
Mike Blumenkrantz dbce2eaed3 show files again when an overwrite dialog pops up
ticket #1974


SVN revision: 80762
2012-12-12 13:50:43 +00:00
Mike Blumenkrantz d0eff6a730 fix initial name string for New Directory action
SVN revision: 80748
2012-12-12 10:12:29 +00:00
Mike Blumenkrantz a93a4d56f0 New Directory action in efm now renames inline like New File action
SVN revision: 80747
2012-12-12 10:08:04 +00:00
Carsten Haitzler 353b588347 10k files.... ok! :)
oh and fix a segv people will get when queue process timeout is hit...

and reduce timeout to 0.01 sec :)



SVN revision: 80746
2012-12-12 09:59:53 +00:00
Mike Blumenkrantz ab1a9e5e80 efm no longer eats pager dnd events
SVN revision: 80646
2012-12-11 11:14:25 +00:00
Mike Blumenkrantz c4115615f0 s/creat/open/
SVN revision: 80630
2012-12-11 08:44:05 +00:00
Mike Blumenkrantz 370ba1b3fe okay, after considering the words of a certain frenchman we no longer write anything to new files
SVN revision: 80629
2012-12-11 07:50:06 +00:00
Mike Blumenkrantz e61159e49e write \n to new files instead of ""
ticket #1947


SVN revision: 80608
2012-12-10 14:16:16 +00:00
Mike Blumenkrantz f9c87ab214 fix efm crash when using XDS drags, also fix XDS drags to work again
SVN revision: 80599
2012-12-10 11:41:40 +00:00
Mike Blumenkrantz 06897e960b fix dnd source visibility when dragging into a link drop target
ticket #1953


SVN revision: 80586
2012-12-10 08:59:36 +00:00
Mike Blumenkrantz 2b64147c16 double clicking efm icons with single click activation enabled no longer opens directories twice
ticket #1933


SVN revision: 80331
2012-12-06 09:52:06 +00:00
Mike Blumenkrantz 7972371393 efm menu replace/start functions now properly pass icon info
SVN revision: 80327
2012-12-06 09:36:35 +00:00
Mike Blumenkrantz 4aa85b3c2c add timer to show icons after a drag to fix XDirectSave dnd
ticket #1917


SVN revision: 80324
2012-12-06 09:16:15 +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 68e6b07cd7 all dialogs are no longer resizable
SVN revision: 80032
2012-12-03 09:24:12 +00:00
Mike Blumenkrantz f8efeed3e8 fix in-place directory opening in efm: statinfo resolves link targets now, so only call "selected" if link target is not a directory
ticket #1863


SVN revision: 80026
2012-12-03 08:57:15 +00:00
Mike Blumenkrantz 362531b082 Dear all,
I'm attaching a patch for some minor bugs in the e17.
 Please take a look at attached patch.

 01. missing E_FREE(inst)
     File: src/bin/e_exec.c: 347
     Function: _e_exec_cb_exec

 02. missing null check
     File: src/bin/e_fm.c: 10173
     Function: _e_fm_error_dialog
     I'm not sure, but all other codes always check the return
     value of e_fm2_op_registry_entry_get except here.

 03. missing free(slave)
     File: src/bin/e_fm_ipc.c: 804
     Function: _e_fm_ipc_slave_run

 04. eina_list_remove after free
     File: src/bin/e_fm/e_fm_ipc.c :1325
     Function: _e_fm_ipc_cb_fop_trash_idler

 05. invalid check for _udisks_del, it might be _udisks_chg.
     File: src/bin/e_fm/e_fm_main_udisks.c : 162
     Function: _e_fm_main_udisks_test

 06. uninitialized gx and gy values
     File: src/bin/e_gadcon_popup.c: 172
     Function: _e_gadcon_popup_position
     These could be changed in e_gadcon_client_geometry_get
     if gcc->o_base is null.

 07. unnecessary code 'evas = e_win_evas_get(dia->win)'
     File: src/bin/e_import_config_dialog.c: 456
     Function: e_import_config_dialog_show

 08. missing free(sizes)
     src/bin/e_randr_11_serialization.c: 136
     Function: _11_try_restore_configuration()

 09. unnecessary variable output_info
     File: src/bin/e_randr_12.c: 560
     Function: _output_property_change_event_cb

 10. eina_list_remove after free
     File: src/bin/e_randr_12_serialization.c : 357
     Function: _12_serialized_setup_update

 11. no check of the return value of symlink.
     File: src/bin/e_widget_fsel.c: 84
     Function: _e_wid_fsel_favorites_add

 12. no evr->var check before comparing string values
     File: src/modules/conf_applications/e_int_config_defapps.c: 432
     Function: _basic_apply

 13. missing error message or check return value of edje_file_group_exists
     File: src/modules/conf_theme/e_int_config_theme.c: 333
     Function: _open_test_cb
     Anyway, I've added e_util_dialog_show if failed. Is it okay?

 14. missing index range check
     File: src/modules/gadman/e_mod_config.c: 153
     Function: _cb_config
     It could read negative array index, because return value of
     e_widget_ilist_selected_get might be negative.

 BR,
 Gwanglim


SVN revision: 80020
2012-12-03 07:54:07 +00:00
Mike Blumenkrantz 1eda0a3417 some text fixes from thomasg
SVN revision: 79910
2012-11-30 15:39:17 +00:00
Mike Blumenkrantz 3f8c09d6a0 fix continual leak in efm file names
SVN revision: 79834
2012-11-29 15:02:00 +00:00
Carsten Haitzler ef76974ffc lets not break dnd onto dirs.. within the same efm view.
SVN revision: 79763
2012-11-28 04:11:33 +00:00
Carsten Haitzler 022e768010 fix segv in efm! dnd 2 files into another dir - yay!
SVN revision: 79762
2012-11-28 03:51:24 +00:00
Carsten Haitzler e9a383f40c printf--
SVN revision: 79489
2012-11-21 04:08:58 +00:00
Carsten Haitzler 2efe87a0e9 fix up single click and click to rename + event sticking with mouse
events.



SVN revision: 79488
2012-11-21 04:06:23 +00:00
Mike Blumenkrantz 3b8856aa3c unbreak tab completion in efm typebufs
SVN revision: 79331
2012-11-15 09:59:51 +00:00
Mike Blumenkrantz 714185fd1a fix possible, but confusing, dnd crash in efm
SVN revision: 79275
2012-11-14 09:50:00 +00:00
Mike Blumenkrantz e5903f4740 add support for and use eina_list_last_data_get
SVN revision: 79144
2012-11-12 10:05:09 +00:00
Mike Blumenkrantz 2bd9c7f72c efm now remembers sort mode per-directory
ticket #1696


SVN revision: 78861
2012-11-02 12:36:35 +00:00
Mike Blumenkrantz 6f24439dc4 efm Sorting menu is now a first-level submenu
SVN revision: 78855
2012-11-02 12:12:28 +00:00
Mike Blumenkrantz 01b47aed5f overhaul and fix custom bg+overlay setting/unsetting in efm
SVN revision: 78844
2012-11-02 09:04:26 +00:00
Mike Blumenkrantz efd116d655 dnd in efm will no longer cause icons to flicker rapidly when dropping a file
also added some docs about icon drag struct members


SVN revision: 78712
2012-10-31 15:56:23 +00:00
Tom Hacohen a9bdc983b4 E entry: Move to edje_entry and remove e_editable.
This should reduce the number of issues in the long run and reduced the
amount of code we have to maintain."

SVN revision: 78663
2012-10-30 14:06:13 +00:00