Commit Graph

1022 Commits

Author SHA1 Message Date
Al Poole 8925c72adf editor: unset focus on tab change.
Summary: This seems to fix the multiple cursors between underlying tabs.

Reviewers: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D5148
2017-08-30 22:11:44 +01:00
Al Poole 7e173bd2c5 mainview_panel: fix panel focus on click of empty panel.
Summary: @fix T5904

Test Plan:
# Open a Project
# Use the menu option and create 5 empty panels by pressing it 4 times.
# click on a panel in any order and then select files.

Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Maniphest Tasks: T5904

Differential Revision: https://phab.enlightenment.org/D5133
2017-08-28 14:04:33 +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 61b79e7ed6 mainview: unrecognise mime popup UI improvements.
Summary: See http://www.enlightenment.org/ss/e-599c3eeac02540.00312412.jpg

Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D5121
2017-08-26 16:15:09 +01:00
Al Poole da30264929 popups: improve visual display/style of the main popup widgets.
Reviewers: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D5117
2017-08-22 12:43:59 +01:00
Al Poole e35c4ba3af windows: make windows work properly and autosave properly.
Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D5116
2017-08-22 12:38:56 +01:00
Andy Williams a004aeae6b Fix possible crashes in windowed editor 2017-08-21 17:26:26 +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
Al Poole 5454d06721 mainview: add separators between panels.
Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D5110
2017-08-18 23:25:39 +01:00
Andy Williams 26f65e4167 build: fall back to make don't try it first.
Other providers have far more specific requirements
2017-08-18 15:37:07 +01:00
Al Poole f962b5ff2e fdo icons: install in correct location.
Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D5111
2017-08-18 15:31:37 +01:00
Al Poole 758f74de28 mainview: fix close_all and close.
Summary:
Makes sure all panels close and remain with only one panel. When tab is last in panel, remove the panel also.
Also best not to free a NULL panel or its members.

Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Tags: #edi

Differential Revision: https://phab.enlightenment.org/D5094
2017-08-13 00:06:01 +01:00
Andy Williams 7a8119af60 ui: fix cancel of goto popup 2017-08-12 18:00:58 +01:00
Al Poole bcd0909ca9 mainview: add method for testing if mainview is empty.
Summary: Also add checks to some GUI functions that crash Edi if there is no panel with no items.

Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D5083
2017-08-12 17:51:05 +01:00
Al Poole ea8823a9d1 search: Fix Project Search
Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D5081
2017-08-09 14:27:27 +01:00
Andy Williams d4d37a82ea scm: Fix refreshing of panels on stash
refresh_all now remembers the right panel
2017-08-09 14:04:52 +01:00
Andy Williams 1bf88c4730 refactoring mainview panel freeing and docs 2017-08-09 12:46:20 +01:00
Andy Williams 27a7ce8688 Use EFL release 2017-08-09 12:28:42 +01:00
Andy Williams f4ef9bb35c mainview: Fix potential segvs from D5052 2017-08-09 12:28:20 +01:00
Al Poole 182dd304e1 mainview: improve documentation.
Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D5042
2017-07-26 10:21:07 +01:00
Andy Williams cb39c546fe mainview: fix removal of panels from the ui
This removes resizable panels for now but they were not really supported anyway...
2017-07-26 10:17:44 +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 c265dc2693 config: remove panel from config when we remove a panel from the UI.
Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D5039
2017-07-25 21:44:53 +01:00
Al Poole 2386b51a60 mainview_panels: on close tab focus on existing tab and always keep one mainview panel.
Summary: This fixes crashes when closing tabs/panel and losing focus.

Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D5038
2017-07-25 14:26:16 +01:00
Andy Williams fae8350ea1 settings: fix graphical glitch on smaller screens 2017-07-24 23:35:30 +01:00
Andy Williams 9d0db1a1a5 config: Save the current tab of each panel
This needed a refactor to do properly so your open tabs
will be forgotten, sorry :(
2017-07-24 23:28:48 +01:00
Andy Williams 804d14cef3 panels: Track focus of editors when we're changing panel 2017-07-24 18:27:45 +01:00
Andy Williams 5cc9033fb2 update feature list 2017-07-24 13:23:34 +01:00
Andy Williams a437b5202a config: Be less notification-happy when saving
Let's not force all our editors to reload when we don't have to!
2017-07-24 13:22:19 +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 24f9dc79fa search: fix segv on wrap!
Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D5032
2017-07-22 18:35:13 +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
Andy Williams be2e8af7b4 Fix tests check / defaults 2017-07-16 00:07:43 +01:00
Jean-Philippe Andre 9a5eb35e60 build: Add crude meson/ninja support
This only uses "build" as build folder. Very simplistic.
2017-07-11 19:04:01 +09:00
Al Poole 5bba0073ed editor: replace refactor to coincide with search optimisations.
Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Tags: #edi

Differential Revision: https://phab.enlightenment.org/D5003
2017-07-08 22:05:16 +01:00
Andy Williams e0b97f680c Update news file with recent changes 2017-07-07 03:16:55 +01:00
Andy Williams ad09746452 tests: we removed c++ syntax - don't test for it 2017-07-07 03:16:43 +01:00
Andy Williams ddce7ca448 search: Reset search highlights on cancel
Also fix the highlighting of all matches on a line
2017-07-05 22:02:38 +01:00
Andy Williams 5181c2219e search: highlight each found search result 2017-07-05 21:42:48 +01:00
Andy Williams ee5bb1a4a7 ui: Remove duplicate code from menu fix 2017-07-05 21:04:38 +01:00
Andy Williams 405f93efe1 build: Add support for cargo based rust projects
In the process we needed to define if a project can be run...
Python and rust can always be run as they will build their binaries
whereas make and cmake need to be configured etc...
2017-07-05 20:51:38 +01:00
Jean-Philippe Andre 3caa121b12 main: Fix some invalid API usages
1. toolbar items are not objects
2. main menu should not be manually packed, it's handled by the
   window itself
3. show last is recommended, rather than show + add subobjects,
   especially for a window (note: i hate this in principle)
2017-07-04 18:36:07 +09:00
Jean-Philippe Andre 4ee5f05982 Revert "menu: hide by default until we can fix elm menu calcs"
This reverts commit 863b3d7ab3.
2017-07-04 15:00:16 +09:00
Al Poole 2924b323f6 edi_screens_scm: convert markup to utf8 for commit message.
Summary: Do conversion and optimize string len check.

Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D4993
2017-06-29 23:53:25 +01:00
Andy Williams a8d62ded23 ui: Use correct icon naming for FDO arrows 2017-06-29 21:25:26 +00:00
Andy Williams a34a71f8f6 config: Correct project name comparison for substrings 2017-06-29 21:18:15 +00:00
Andy Williams 09da41eb8e debug: remove warning on OSX 2017-06-28 20:35:36 +01:00
Andy Williams 2fc7a9a309 debug: Fix libtool command for OSX 2017-06-28 20:35:36 +01:00