Andy Williams
3548e6dfe7
Fix unsafe usages of basename
2017-12-31 15:57:01 +00:00
Al Poole
817c291bce
edi_scm: Add support for staging and unstaging.
...
Also refactor some of the API to be less clashy.
2017-12-20 21:47:21 +00:00
Al Poole
a4cd836def
filepanel: only pack the box once when showing the file search.
...
This fixes an issue where if you enable find > 1 times it will
keep packing and taking up more space for each consecutive
click/enable.
2017-12-09 11:19:44 +00:00
Al Poole
25339554b7
edi_filepanel: select on focus.
...
Use a timer for selecting the file browser item. Click tab and click
browser file work as before. Clicking the editor will focus in the
browser also with an "unnoticable" delay from the timer poll.
2017-11-23 14:51:29 +00:00
Andy Williams
6f41ad7204
Avoid infite tab focus loops
2017-11-22 19:27:04 +00:00
Al Poole
905a0ea990
edi_filepanel: make the filepanel unfocusable.
2017-11-20 20:55:43 +00:00
Andy Williams
03d3a45c01
Remove trailing symbols from translations
...
Fixes T6189
2017-11-19 22:07:53 +00:00
Al Poole
22b903fdcf
Revert "edi_filepanel: if file is deleted close item in view."
...
This reverts commit 2e10b48162
.
2017-10-29 09:54:11 +00:00
Al Poole
2e10b48162
edi_filepanel: if file is deleted close item in view.
...
If file is deleted outside of Edi or we stash and the file is
removed we should close the item in the editor also.
2017-10-29 09:46:37 +00:00
Andy Williams
66ef93730b
filepanel: don't update status and scm etc for hidden files
2017-10-05 00:37:43 +01:00
Al Poole
e5aca41ad1
filepanel: simplify code by using existing method.
2017-09-30 00:28:53 +01:00
Al Poole
e86760b802
edi: escape paths where necessary.
2017-09-27 19:42:45 +01:00
Andy Williams
2b2454a104
filepanel: fix menu icon for folders
2017-09-24 21:46:29 +01:00
Al Poole
986bae6eb4
filepanel: make dir menu behave as file menu does.
2017-09-22 15:17:39 +01:00
Al Poole
e4704ed0ba
filepanel: make dialogues more informative.
2017-09-22 15:07:23 +01:00
Andy Williams
ef18a26ddc
filepanel: Make the filename in menu informational
2017-09-22 12:27:40 +01:00
Al Poole
002ab279dd
filepanel: do allow focus, else this causes problems.
2017-09-20 18:41:05 +01:00
Al Poole
d08e50b4b0
filepanel: add filename to the root of the filepanel menus.
2017-09-19 22:20:59 +01:00
Al Poole
a53d3c0765
screens: scm popup align icons.
2017-09-19 14:16:10 +01:00
Al Poole
20633f5f12
filepanel: 100% ontinuity.
...
Sorry.
2017-09-19 12:11:04 +01:00
Al Poole
9c4264d22a
filepanel: 99% consistent icons
2017-09-19 11:50:59 +01:00
Al Poole
faac98d51f
scm status: filepanel and commit screen.
...
Use icons only and tooltips for additional information.
2017-09-19 11:29:25 +01:00
Al Poole
76532d799f
filepanel: add icon statuses.
...
Fix scm to avoid race-condition. Also get rid of the custom
text as it's too much. Two icons, one for states and one for
staged (visible if not staged).
2017-09-19 00:18:46 +01:00
Al Poole
5bdce73a1d
Revert "filepanel: update on contract."
...
This reverts commit 89fb7524c8
.
2017-09-18 09:40:42 +01:00
Al Poole
89fb7524c8
filepanel: update on contract.
2017-09-18 09:34:24 +01:00
Al Poole
47ab991da9
filepanel: don't duplicate unnecessary code and no need to memcpy.
...
This is a small logic change that should be more efficient also.
2017-09-17 20:28:50 +01:00
Al Poole
bdec0fceb6
filepanel: move function for clarity.
...
Moves a function to keep related content related. Also small
stylistic changes.
2017-09-17 19:46:07 +01:00
Al Poole
d54d156cd3
scm: reimplement support for file listing file status.
...
This method is far more efficient and works well with large
software trees. e.g. enlightenment.git.
2017-09-17 16:34:35 +01:00
Al Poole
15c19acf1a
filepanel: remove uneccessary methods.
2017-09-16 22:30:29 +01:00
Al Poole
c48220d61e
filepanel: Bad indentation.
2017-09-16 22:15:54 +01:00
Al Poole
ce81684f30
scm: undo the filepanel scm status far too slow.
...
Didn't test this with large projects, it needs to be redone.
Probably causing issues so undoing the badness.
Sorry!
2017-09-16 22:14:08 +01:00
Al Poole
59a0ec1bae
scm: add support for file listing file status.
...
Add support for file listing status. Also some refactoring.
More to do, more testing first.
2017-09-16 01:19:54 +01:00
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