Commit Graph

106 Commits

Author SHA1 Message Date
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 011dfdccf5 only block fsel updating if path is already set
SVN revision: 79951
2012-11-30 21:26:24 +00:00
Mike Blumenkrantz 8d30916e09 set flag in fsel for when preview is a directory so we can grab the right path
ticket #1815


SVN revision: 79675
2012-11-26 08:16:25 +00:00
Mike Blumenkrantz 5a20be6915 fsel no longer changes entry text when changing directory
ticket #1695


SVN revision: 78656
2012-10-30 13:28:05 +00:00
Mike Blumenkrantz 91fc9e6634 remove some old fsel comments
SVN revision: 78650
2012-10-30 13:02:17 +00:00
Gustavo Sverzut Barbieri 7dc448c56f fsel: if file name starts with "/" then it's an absolute path.
not handling "../" and "./" cases here, maybe worth?

This allows screenshots to be saved typing "/tmp/bla.png" (see
previous commit, to shot module)



SVN revision: 76481
2012-09-11 23:06:25 +00:00
Mike Blumenkrantz e7147dd081 prevent view mode from being changed in fsel and sidebar
SVN revision: 76390
2012-09-10 10:32:21 +00:00
Mike Blumenkrantz e8ea288f04 unremove non-redundant code from fsel, only select first icon on non-select
SVN revision: 76009
2012-09-03 12:27:50 +00:00
Mike Blumenkrantz c342111786 add support for picking files from the file preview panel, remove redundant path resolution code from fileselector, fix import dialog to use selected files when double clicked once again
SVN revision: 75883
2012-08-30 14:21:11 +00:00
Carsten Haitzler 34c321830a fix fsel preview to work again. :)
SVN revision: 75700
2012-08-25 11:58:16 +00:00
Mike Blumenkrantz 934caf9241 fix min sizing (height) of fsel
SVN revision: 75029
2012-08-09 07:00:37 +00:00
Mike Blumenkrantz 5c9aeaaa47 fsel now properly selects the first file in a directory on directory load/change
SVN revision: 75017
2012-08-08 12:32:31 +00:00
Mike Blumenkrantz e58efabc1e filepreview directory previews now allow navigation, disable click rename in filepreview and fsel
SVN revision: 75015
2012-08-08 12:21:33 +00:00
Mike Blumenkrantz 8ab4a302b4 disable view menu in fsel, this looked terrible anyway
SVN revision: 75014
2012-08-08 11:58:09 +00:00
Mike Blumenkrantz 6ea8835011 disable click renaming in theme, wallpaper, desklock wallpaper, and fwin sidebar file lists
SVN revision: 75013
2012-08-08 11:55:50 +00:00
Mike Blumenkrantz a88fbfacec fix fsel usage of e widget api
SVN revision: 74352
2012-07-24 10:00:42 +00:00
Mike Blumenkrantz 11b99c6513 fileman's "Use Single Click" option now toggles a global config option which is picked up by fileselector widgets, also added a menu item to the right click efm menu to toggle this on a case-by-case basis
ticket #663


SVN revision: 74230
2012-07-20 10:25:02 +00:00
Mike Blumenkrantz face60a774 use new efm widget clipper externalizer to make the overlay span both efm widgets so that longer paths would not be clipped when typing in the typebuf
SVN revision: 74167
2012-07-19 08:17:54 +00:00
Mike Blumenkrantz eb01623a90 add method for checking if typebufs are visible in fsel widget using methods added in my previous commit that I cleverly did not mention to confuse my future self when I again go to work on this code
SVN revision: 73968
2012-07-17 10:27:15 +00:00
Mike Blumenkrantz dd454781ba use efm typebuf signal to echo typing into fsel entry, also set focus on files selector
SVN revision: 73959
2012-07-17 08:45:01 +00:00
Chidambar Zinnoury 3ab7688b9b e filepreview widget: use a list instead of a table to be able to orient it.
SVN revision: 73888
2012-07-15 19:38:29 +00:00
Mike Blumenkrantz 464e311e6c filepreview widget now attempts to show a thumb for file's mime type if file is not an image
SVN revision: 73802
2012-07-13 09:19:35 +00:00
Mike Blumenkrantz 55de2e2b43 break out e fileselector preview pane into its own widget: e_widget_filepreview
also, fuck tables.


SVN revision: 73611
2012-07-12 10:45:05 +00:00
Vincent Torri c3b0637802 e17: whitespaces--
SVN revision: 72561
2012-06-21 06:19:43 +00:00
Mike Blumenkrantz a58ddcbb92 allow favorites panel to expand in file selector, allowing people who have long-named favorite directories to read the directory names
SVN revision: 72397
2012-06-18 13:30:57 +00:00
Mike Blumenkrantz 3d5b67d428 formatting
SVN revision: 72389
2012-06-18 12:18:51 +00:00
Mike Blumenkrantz 0b37d849d5 fix unused var warning
SVN revision: 63224
2011-09-06 07:54:22 +00:00
Carsten Haitzler 59f1ac1d5f fsel -> only display filename in entry allowing for easier typing of
save output.



SVN revision: 62978
2011-08-30 00:30:28 +00:00
Hannes Janetzek e38757c90a e17: remove workaround
SVN revision: 61690
2011-07-25 12:09:08 +00:00
Hannes Janetzek b5786321d1 e17: workaround for closing fsel widget causing to stuck in a loop. needs real fix ASAP
SVN revision: 61682
2011-07-25 10:07:12 +00:00
Carsten Haitzler 5563387a24 fix entry content to always have full path
SVN revision: 59774
2011-05-29 07:51:55 +00:00
Carsten Haitzler 8e26efcc48 screenshot module built in now. this is a redo as it actuallly has a
full file upload ability on e.org for sharing shot url's, as well as
selecting local file tyo save to, selecting which screen to screenshot
etc.



SVN revision: 59766
2011-05-28 06:53:44 +00:00
Christopher Michael 9443f8d907 E: Trap return value from 'symlink' (removes compiler warning).
SVN revision: 59598
2011-05-22 17:01:28 +00:00
Carsten Haitzler fae9cea606 add a resolution display field for file info in fsel
SVN revision: 59061
2011-05-01 05:24:30 +00:00
Sebastian Dransfeld 20c9e5113a access is a global name
SVN revision: 55775
2010-12-29 19:49:05 +00:00
Sebastian Dransfeld c662c53827 realpath is a global name
SVN revision: 55774
2010-12-29 19:48:47 +00:00
Sebastian Dransfeld 5d1a946cd8 since we do strlen, no need to strcpy
SVN revision: 55773
2010-12-29 19:48:34 +00:00
Sebastian Dransfeld 48bb9f207f fix signed warning
SVN revision: 55772
2010-12-29 19:48:15 +00:00
Christopher Michael 030d286d24 Only call ecore_file_file_get once.
SVN revision: 55770
2010-12-29 16:48:23 +00:00
Christopher Michael bf5e9281e3 Add UNUSED
SVN revision: 51349
2010-08-18 21:05:20 +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
Vincent Torri f6b0251f3a 'return' not needed here
Patch by Andreas Nilsson

SVN revision: 44064
2009-11-30 19:10:35 +00:00
Christopher Michael 6ab63682dd Fix API Inconsistency in regards to e_widget_min_size_* . Renamed to
e_widget_size_min_* . This Large commit should fix everything in svn that is
using those functions.



SVN revision: 42152
2009-09-01 13:34:42 +00:00
Cedric BAIL f8c05999e4 * e: Cleanup use of Eina data structure.
Patch from Peter van de Werken <pwerken-e@a-eskwadraat.nl>.


SVN revision: 41916
2009-08-21 15:08:49 +00:00
Gustavo Sverzut Barbieri e0040cefb9 major cleanup of path creation to $DATADIR and $HOME/.e/e
This cleanup replaces snprintf() usage with specific calls, they have
the benefit of being cleaner (so easier to grep), typing less and also
marginal speed up compared to the other (specially concat_static),
although those are rarely used in critical paths.

I'm testing it for some time and seems to not break anything, but let
me know of any problem. If you can review the patch and try to spot
incorrect names, please do.




SVN revision: 40014
2009-04-13 14:56:38 +00:00
Davide Andreoli 3d41cbb20d More icon works, this commit include changes to the icons on the desktop.
You will probably loose desktop icons until you get a fresh profile. Or you can edit the
.desktop files in .e/e/fileman/favorites (new icons name are: user-desktop, user-home, computer and user-temp)

Sorry for bothering... the next commit should be the last ;)



SVN revision: 39419
2009-03-08 23:09:48 +00:00
Davide Andreoli 49fecd25b7 More icons renamed
SVN revision: 39400
2009-03-06 22:18:15 +00:00
Gustavo Sverzut Barbieri 9bc2ce0678 Invert view_flags logic, make it easier to use.
Now flags do not negate, rather specify if things should be used. This
will help us be compatible with original behavior and actually just
e_fwin is using that.



SVN revision: 39340
2009-03-03 04:40:58 +00:00
Gustavo Sverzut Barbieri 155495866f add e_fm2_view_flags_{get,set}
with these you can opt to ignore things like custom directory options,
very useful for widgets to choose files (e_widget_fsel) since you
don't want them to show your items as 128x128 :-)



SVN revision: 39322
2009-03-02 03:12: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