Andy Williams
08547bbd3a
Add translation support
...
Fixes T5901
2017-09-11 21:06:22 +01:00
Al Poole
65477c7d46
widgets: Use consistent text style across widgets in the application.
...
Make changes to text style along with some miminal word changes and
fixes.
2017-09-02 22:48:57 +01:00
Al Poole
7f1dfbb26e
filepanel: add method to select by path and select upon tab promotion.
...
When a file is focussed in it's panel and tab the file is also selected
in the filepanel. Another visual indicator of current focus and
synchronises behaviour of tab selection and filepanel selection.
2017-09-01 20:16:19 +01:00
Al Poole
97e324654c
mainview: ensure only one instance of file is open across tabs and panels.
...
This change will ensure only one item can be opened at once across all
panels.
2017-09-01 13:53:27 +01:00
Al Poole
d4d8d4fb91
edi_scm: make sure we always delete the file if it is untracked.
...
Summary:
there are times when new files are difficult to delete without adding commiting and removing etc.
this should stop that.
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D5120
2017-08-28 14:02:45 +01:00
Al Poole
fe2714ea7e
editor: handle file modifications properly.
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D5114
2017-08-21 17:18:02 +01:00
Andy Williams
dcd611c31f
filepanel: reorder menu
2017-07-25 22:52:39 +01:00
Al Poole
d9fccf5860
filepanel: Add proper icon for "open in new pane".
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D5041
2017-07-25 22:47:31 +01:00
Al Poole
3586ac9cc0
mainview: Always open in first panel.
...
Summary: This patch ensures "open file in panel" will open in first mainview if no file exists in the primary mainview. Otherwise business-as-usual.
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D5040
2017-07-25 22:32:14 +01:00
Al Poole
be333dee6f
add open files in new tab.
...
Summary: focus chanegs on click of tab in panel. closing last tab closes panel. Exit and open remembers tabs. etc.
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D5034
2017-07-23 22:02:24 +01:00
Al Poole
e4aaffb9d4
screens: add confirmation dialogue to screens.
...
Summary: Also add some uses of this method on scm stash and file deletion.
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D5028
2017-07-16 20:00:46 +01:00
Al Poole
d208afac91
scm: add support for SCM (git) in library and the UI.
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Tags: #edi
Differential Revision: https://phab.enlightenment.org/D4938
2017-06-06 18:09:25 -07:00
Al Poole
37759291c5
edi_file_screens: refactor UI create/rm/rdir and add directory and file renaming method.
...
Summary: Add this to the filepanel menus also.
Reviewers: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4920
2017-05-30 08:32:58 +01:00
Al Poole
eaa3781e52
filepanel: add menu for filepanel when no file is clicked.
...
Summary:
Opens a suitable menu for the root directory if right-click
is not focussed on an item.
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4911
2017-05-26 22:20:38 +01:00
Al Poole
19971b006a
filepanel: when opening as different file type, close first then open to ensure the file is instantly accessible as text or code (editing).w
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4844
2017-05-03 21:44:04 +01:00
Al Poole
fb8b47c93c
Edi -> Search Project - Add initial support for search in project.
...
Summary: Almost there.
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4752
2017-03-30 23:06:34 +01:00
Andy Williams
4e3ff8f702
filepanel: use data object to avoid file lookups
...
Save memory and save isdir lookups all over
2017-03-30 22:28:35 +01:00
Al Poole
95f43adaec
Move File/Dir Creation to edi_file.c/h
...
Summary: Also add options to menus
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Tags: #edi
Differential Revision: https://phab.enlightenment.org/D4750
2017-03-27 22:04:41 +01:00
Andy Williams
6cf426e24a
filepanel: Update directory context after refactoring
2017-03-27 21:57:44 +01:00
Al Poole
0549f5be36
Add optional menu for directories in file view.
...
Summary:
Option is "Open terminal here"
also, if directory is empty:
"Remove the directory"
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4748
2017-03-26 21:24:20 +01:00
Al Poole
04c06302d0
Fix SEGV on right click of file browser that is empty!
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4744
2017-03-25 22:20:21 +00:00
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