Commit Graph

168 Commits

Author SHA1 Message Date
Alastair Poole b2553f93c3 main: increase lower toolbar icon size slightly.
This improves the overall feel of the application. The resize is
conservative but makes for better text reading and overall
uniformity.
2018-05-15 11:08:39 +01:00
Alastair Poole 8b5fc090f8 credits_check/scm_ui: Fix bugs that crash.
I can't believe these are in here! Apologies! :)
2018-05-14 00:25:34 +01:00
Alastair Poole f484182733 scm: init. Fix a crash on new project initializing SCM.
The code was checking for an engine which doesn't exist and thus
crashing. This fixes that.

@fix
2018-05-13 12:50:21 +01:00
Al Poole 371126c09d scm: do not check for git credentials on a LOCAL none-commit op. 2018-03-21 21:42:11 +00:00
Al Poole f52a045bb2 screens: add a dialogue with a button for close and settings panel.
When there is user information missing or a change required in
settings, display a dialogue with the information and an added
button to open the "Settings" window.
2018-03-20 16:34:29 +00:00
Al Poole 417e895356 scm: store scm credentials and fix UI stash and commit.
First, make sure the project stores user/email for SCM (again!). Also
allow user to change the user/email > once. Add a check to
stash (from menu) for credentials also.

This allows us to change the remote user and email more than once.
Also it ensures that
2018-03-19 23:38:01 +00:00
Andy Williams d2c548a37b scm: If we can guess user credentials don't block
Have the project config default to the scm setup
2017-12-30 21:59:56 +00:00
Andy Williams bca0919d2f scm: pass new --commit param to edi_scm for commit workflow 2017-12-30 20:08:44 +00:00
Andy Williams f9e74bec45 scm: Make the titles consistent and add them to translations 2017-12-30 18:52:41 +00:00
Al Poole 30064502d1 alpha: make sure window alpha is set on config change. 2017-12-06 19:45:49 +00:00
Al Poole 76ba36ea98 theme: add settings for alpha 2017-12-05 22:03:46 +00:00
Al Poole 201318adaf Revert "theme: "finish" settings for the theme translucency/shininig"
This reverts commit c3fe0295fc.
2017-12-05 21:55:40 +00:00
Al Poole c3fe0295fc theme: "finish" settings for the theme translucency/shininig
all work and no play makes andy a dull boy...all work and...
2017-12-05 21:53:35 +00:00
Al Poole e64ff06592 split_view: store and load split views between sessions.
Keep track of split views and reload on open, if closed open.
2017-12-01 13:07:00 +00:00
Andy Williams 798b4c2a2f gui: Merge debugger menu into build menu 2017-11-19 22:14:56 +00:00
Andy Williams 03d3a45c01 Remove trailing symbols from translations
Fixes T6189
2017-11-19 22:07:53 +00:00
Al Poole 29c5ecb538 edi_debug: improve debugging support.
This improves support and simplifies some of the debugging tasks.
2017-11-08 21:27:32 +00:00
Al Poole 50cbcc3d93 edi_main: don't start build,test,clean when unknown project type. 2017-10-28 21:47:59 +01:00
Al Poole 8b9d3106d5 edi_main: find a consistent icon for "close" across icon themes.
tested with adwaita, elm, faenza,  breeze etc etc.
2017-10-21 14:19:40 +01:00
Al Poole 7a5083c790 mainview: Add support for split-panes.
This adds the ability to edit multiple regions of the same
file at the same time. The views are synchronised. This
also adds a complementary function allowing us to get panel
from path name. We use this for focus sanity with our
additional split views.
2017-10-10 23:29:17 +01:00
Al Poole 251ea96020 edi_main: don't use exit, goto and shutdown properly. 2017-10-04 16:53:28 +01:00
Al Poole a1be071c4c main: parsing command-line options.
Exit rather than shutdown if displaying --help or
--copyright etc.

@fix T6115
2017-10-03 14:11:50 +01:00
Al Poole be53c4df18 scm: Create edi_scm binary for commit dialogue and use elsewhere.
This removes the existing popup code. The edi_scm executable should
run in any git tree giving the status of the repository. The Edi
UI calls this for the commit dialogue also.
2017-09-29 21:37:21 +01:00
Al Poole c826dee557 search: Add project-wide search and replace feature. 2017-09-28 01:23:18 +01:00
Al Poole ce824635fd edi_main: use proper method to disable menu items. 2017-09-21 09:11:18 +01:00
Al Poole d6b38524b9 edi_exe: fix bad bugs.
Make sure we're handling the right process. Also clean-up the
sockets manually. Also make sure we actually do ninja's
clean, otherwise we might be waiting for a long time.
2017-09-21 00:54:01 +01:00
Al Poole 647d866bba Build: make build proces more robust.
Use a different socket address for each type. Also add some
UI indicators when a build is in progress.
2017-09-20 16:47:30 +01:00
Al Poole 959e2435e0 notify: less text is more.
Trim the notification text. Some unnecessary stuff there.
2017-09-19 20:34:15 +01:00
Al Poole bcd9c85741 stash: fix bug missed. make sure to update all items on stash. 2017-09-19 14:38:23 +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 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 2c42965b15 scm: fix init.
Make sure we actually init and also upon init update the
file list and initialise the local engine.
2017-09-16 20:41:46 +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 84a515ce87 build: status. MOre verbose notfication title.
Add status to the title of the notification also.
2017-09-08 11:04:45 +01:00
Al Poole b19befd089 edi_exe: modify method to allow additional data parameter.
This adds an additional pointer for abritrary data. Have utilised
this to make the notidy on build more verbose without code
duplication.
2017-09-08 00:16:10 +01:00
Al Poole 9be1db4858 build: Add status detection of all build types.
This adds tracking of other build types and their exit status and
allows us to use desktop notification for these also. Also cleaned
up some unnecessary cleanup code.
2017-09-06 13:08:02 +01:00
Al Poole b8642ab63c main: show console panel before we start the build process.
Show the console panel before the build process begins.
2017-09-05 16:13:05 +01:00
Al Poole 7e9f33a635 exe: Add methods to handle async shell execution and acting on exit status.
This adds two methods for handling executing shells async. The notification
has been reworked to use this method so there is less blocking. A callback
can be passed to the handler method for various actions on the exit status
of the script execution.
2017-09-05 15:58:00 +01:00
Al Poole 5aba714f90 build: Add support for tracking build process exit code and add notification.
This patch adds tracking of the build process's status code. This allows us
to respond to the build process within the program much easier. Also added
a simple API for desktop notification of the build process and its exit code
which is useful and pretty.
2017-09-04 20:52:34 +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 482c7b0946 screens: move popup creation to screens.
This is a small refactor of a generic information popup.
2017-09-02 11:20:49 +01:00
Al Poole 8175b007e5 main: change "split" option to "new panel"
Rename the callback and menu item to be more appropriate for its
current behaviour.
2017-09-02 10:27:10 +01:00
Al Poole 9ea0ba05c3 scm stash: on stash don't refresh all panels, let user decide on focus.
Removed the call to mainview_refresh_all which means after stashing
of changes the user can decide to reload the file contents when
focussing the editor.
2017-08-30 23:55:34 +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
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
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