Commit Graph

45 Commits

Author SHA1 Message Date
Al Poole 629a293a66 Add option to delete file in browser
Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D4742
2017-03-24 22:30:35 +00:00
Stephen 'Okra' Houston 05ee192b98 Edi: Add double click expand/contract support on the file panel. 2017-03-03 18:08:40 -06:00
Andy Williams fd6584f8b6 filepanel: remove unneeded vars 2017-01-31 18:46:19 +00:00
Andy Williams 9631552eaa filepanel: Don't apply filter to folders
This way we can browse around looking for matching files :)
2017-01-31 18:44:58 +00:00
YeongJong Lee b73f04cba3 filepanel: fix bug that unable to expand again
Summary:
When directory is contracted, hash data still remained.
In order to expand again, it is needed to delete hash data of subitems when contracted

Test Plan:
1. Open project.
2. Expand directory
3. Contract directory
4. Expand directory again
5. check that works fine

Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D4634
2017-01-31 07:41:39 +00:00
Andy Williams 378d4c763f filepanel: Fix file duplication bug.
Update of the UI was too slow to keep up with filesystem changes.
Introduce a new hash to mirror what is pending realisation.
Also fixes file filtering bug :)
@fix
2017-01-29 13:05:18 +00:00
Andy Williams 2927f71dcf filepanel: Hide standard hidden files 2017-01-15 22:03:46 +00:00
Andy Williams 5d104b38f2 filepanel: correctly look up files within their dir
Avoid duplication even when multiple files have the same name
2016-12-26 18:34:44 +00:00
YeongJong Lee 21ae2bfebd filelist: Check that the filelist has same file before insertion.
Summary:
'elm_code_file_save' emit EIO_MONITOR_FILE_CREATED event.
It occurs filelist duplication.
So Check that the filelist has same file before insertion.

Test Plan:
1. Run Edi.
2. Open project.
3. Edit a file.
4. Save the file.
5. Check that the filelist doesn't have same file.

Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D4497
2016-12-19 23:15:54 +00:00
Andy Williams 48e954137f files: Avoid missing mime check 2016-11-30 01:51:46 +00:00
Andy Williams 5abd439e3e filelist: Actually update on file add/rm
This is pretty much working except some genlist bugs :(
2016-11-29 18:16:12 +00:00
Andy Williams fc89c66617 ui: Don't how open context menu for directories 2016-11-29 17:08:58 +00:00
Andy Williams bee632e5a1 ui: Fix file listing to stop duplicating entries
Working towards a proper refresh of the UI on change...
@fix
2016-11-29 17:03:45 +00:00
Andy Williams 890d54fc57 filepanel: don't reload on monitor until we have it fixed 2016-11-06 16:26:34 +00:00
Andy Williams 7fd984b77a Fix compile errors with latest elementary from efl 2016-06-10 10:04:40 +01:00
Andy Williams 2262d7bf1c elm_code: Removed and migrated to using the elementary merged version 2016-06-10 10:03:40 +01:00
Andy Williams acc6c4054a [files] Filter file list to ignore hidden files
Ignore built files
2016-05-16 09:11:11 +01:00
Andy Williams 6f625964d3 [files] Filter file names using regexp
Allow more advanced filters like 'a[b|c]' or '\.h'
2016-05-15 14:12:14 +01:00
Andy Williams 70742e1c73 ui: use standard icon names
remove deprecated lookup order calls as icon theme is set by user
2016-04-28 15:51:12 +01:00
Andy Williams 681aad0ef8 [ui] Add feature to filter file list
Now you can easily find files in a big project
2016-02-11 14:20:01 +00:00
Andy Williams 16ba73c6f7 [ui] Smooth file panel scrolling
Cache responses to mime lookups so we get can scroll
much more smoothly after initial load

Author: unixtaker

Signed-off-by: Andy Williams <andy@andywilliams.me>
2015-12-11 13:37:03 +00:00
Andy Williams 93ee90a302 new file: create in selected directory
When the filepanel selected item is a directory place new
files in that location rather than project root.
2015-07-17 10:30:25 -07:00
Andy Williams f137cc5321 editor: fix issue with closed tabs 2015-03-15 13:27:15 +00:00
Andy Williams 9751009a7e files: Use correct icon for mime/editor type
Use mime type or user selected default type for file icons.
Use the same icon lookups for our popup menus to be consistent too.
2015-02-22 14:17:51 +00:00
Andy Williams f9242b82ab filesystem: don't refresh on every change
Just do the minimum for now - refresh when we add a file.
The constant monitoring needs a slicker refresh mechanism.
2015-02-21 14:10:25 +00:00
Andy Williams eba8421411 filesystem: Update our listing if files are added or removed @fix T1857.
This needs to be improved so it does not collapse the listing etc.
The implementation needs to clean up after itself better too
2015-02-19 21:50:11 +00:00
Andy Williams c233fcad81 Split code editor type from text, don't try to highlight text.
Update our internal registry to know the difference between text and code.
Add some tests that verify we're getting the right type of editor.
2015-02-06 14:16:26 +00:00
Andy Williams d65bc3bce9 windows support: remove the last fork 2015-01-27 22:41:36 +00:00
Andy Williams 22dc13effa Lay out the UI better so you can use with panels open
Changing from panels to panes - have dividers that are
moved around appropriately to simulate panel behaviour
without hiding the contents of a file being edited.
2014-11-22 15:56:16 +00:00
Andy Williams 43871e9a0c kill warning about ignored return 2014-05-18 23:00:10 +01:00
Andy Williams c54eb7b6f2 Tidying up lots of warnings and fixing issues along the way 2014-05-19 19:19:12 +01:00
Andy Williams cecc51cd90 Use panel overlays so we can slide in the extra content 2014-03-14 09:41:09 +00:00
Andy Williams 90b2389a74 Manage open-in-new-window requests for files or open tabs. When selecting a file that is in a window raise the window rather than selecting the tab 2014-03-13 18:31:24 +00:00
Andy Williams c25bab1220 Use more standard icons 2014-03-13 16:34:05 +00:00
Andy Williams d8e430285a Remove the extra callback, we can just make type a required parameter that can be null 2014-02-26 08:17:44 +00:00
Andy Williams 17b90a8876 Add an open-as menu so we can override the mime type detection
The mime / type registration requires some work - there are a few magic values here that need to be formalised
2014-02-26 07:28:24 +00:00
Andy Williams 7141262664 Add a right click menu for xdg-open 2014-02-23 20:22:32 +00:00
Andy Williams 22fcc4998f Make the filepanel expandable 2014-02-22 16:01:21 +00:00
Andy Williams 14c8f61986 attempt to look up icons for the file 2014-02-19 21:43:36 +00:00
Andy Williams 82655964ea Load a project directory from the command line or by displaying a folder picker 2014-02-16 19:55:00 +00:00
Andy Williams 1899233c01 whitespace fixes 2014-02-16 00:31:10 +00:00
Andy Williams 6e27500f68 Adding (blind) loading of files as text for editing. Use a naviframe for holding the content and a callback from filepanel through main to open new files 2014-02-15 23:17:40 +00:00
Andy Williams db5f776939 Order files by name in the tree 2014-02-15 14:44:55 +00:00
Andy Williams 71534f3c5a Using Eina_File instead of Eio makes the tree much easier 2014-02-15 14:41:57 +00:00
Andy Williams 5d8981d09d Loading the panel from the filesystem. organise out a little and commit where i've got to 2014-02-14 23:50:25 +00:00