Commit Graph

118 Commits

Author SHA1 Message Date
Carsten Haitzler 308bab6750 e filesel - have files list expand not preview 2020-10-01 11:33:32 +01:00
Mike Blumenkrantz 99db9e2557 more E_BITFIELD conversions 2017-11-08 09:22:24 -05: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 5ae00e6525 redo drop handlers to take an E_Object and Evas_Object
temp change to fix crashing when closing fwins with ctrl+w
2015-04-27 15:39:43 -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 3fc96af2dd Revert "revert all the ui breakes in e - going the wrong direction in the"
This reverts commit 3ea6a3569d.
2015-01-15 03:04:42 -05:00
Carsten Haitzler 3ea6a3569d revert all the ui breakes in e - going the wrong direction in the
first place anyway. shoudl replace the entire dialgo one at a time by
an elm version not try and stuff elm widgets into where e widgets used
to be. this doesnt improve e's config dialogs, just makes them buggy
as all hell in the name of a move to elm.

Revert "e_widget_button -> elm_button conversion"
This reverts commit b1c976d80d.

Revert "update widget size hints when setting a resize object"
This reverts commit fdab0218b2.

Revert "remove no-longer-necessary size hinting in list widgets"
This reverts commit 21479f5019.

Revert "e_widget_textblock -> elm_entry conversion"
This reverts commit 8fe2f00f75.

Revert "e frame -> elm_frame conversion"
This reverts commit e9da6a02fc.

Revert "remove unnecessary size hinting"
This reverts commit b596623efd.

Revert "e_label -> elm_label conversion"
This reverts commit 049b318679.

Revert "set evas size hint min in widget min size"
This reverts commit 2f09aa2fda.

Revert "e_table -> elm_table conversion"
This reverts commit 6434012982.

Revert "remove unused vars"
This reverts commit b19e706b23.
2015-01-15 12:13:53 +09:00
Mike Blumenkrantz 6434012982 e_table -> elm_table conversion
if rebases were monopoly money, this commit would be able to buy mediterranean ave.

 #teamborker
2015-01-13 22:44:55 -05:00
Mike Blumenkrantz c978a045e6 e_entry -> elm_entry conversion
another dice roll in the board game of enlightenment development. next, I will attempt to roll doubles to get out of jail.

 #teamborker

fix T1906
2015-01-11 12:20:46 -05:00
Chris Michael 31eda6e249 e_widget_data_get Can return NULL so we should check that else we
could potentially crash the entire window manager (for a potentially
bad module).

Fixes Phab Ticket T491

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-11-15 10:42:33 +00:00
Mike Blumenkrantz 9e8e755cdf formatting: all at once
SVN revision: 82625
2013-01-11 10:34:29 +00:00
Mike Blumenkrantz c30e42e9ec fix fsel path changing and entry setting
SVN revision: 80606
2012-12-10 13:06:04 +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 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