Commit Graph

1078 Commits

Author SHA1 Message Date
Al Poole 002ab279dd filepanel: do allow focus, else this causes problems. 2017-09-20 18:41:05 +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 d08e50b4b0 filepanel: add filename to the root of the filepanel menus. 2017-09-19 22:20:59 +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 e528a3c8bc build: fix race-condition.
Use a global variable to keep track of builds. Both
edi_exe_notify/handle could and should be done
better. For now this stops an issue.
2017-09-19 20:16:32 +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 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 ba3111903f screens: scm fix icons 2017-09-19 11:40:02 +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 1a6be5b94d screens: scm. update label to be more sensible. 2017-09-19 00:28:46 +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 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
Al Poole a446d3a8d1 popup: more UI tweaks. 2017-09-13 00:09:12 +01:00
Al Poole 02a1872365 popups: more UI tweaks. 2017-09-13 00:05:56 +01:00
Al Poole 332b5e1c55 debugpanel: previous commit typo.
ugh sorry!
2017-09-12 16:27:03 +01:00
Al Poole 6770e8c022 debugpanel: add useful comment.
The code looks wrong but it isn't, this comment explains why.
2017-09-12 16:25:44 +01:00
Al Poole cff2817907 scm: fix loss of last line.
oops!
2017-09-12 16:18:57 +01:00
Al Poole d694160d13 scm: add elm code widget for diff in commit screen.
Use a proper widget with lovely formatting.
2017-09-12 10:19:34 +01:00
Andy Williams 08547bbd3a Add translation support
Fixes T5901
2017-09-11 21:06:22 +01:00
Al Poole 3b1e7d0288 popups: refactor popups.
Some of these looked pretty duff. Have tried to make them
more consistent and nicer.
2017-09-11 18:54:02 +01:00
Al Poole 86731ea849 screens: slight UI improvement to scm commit popup. 2017-09-11 17:33:20 +01:00
Al Poole 4b12a5a1ae scm: add method to get diff of changes in SCM repository.
Add method to obtain the diff of changes and also add this to the
commit screen. There is also some minor UI tweaks included in
this commit, though related to methods modified.
2017-09-11 16:27:40 +01:00
Al Poole 64648b87f5 edi_exe: don't send data if socket connect fails.
May be a use case where we don't send data indicative of
exit status.
2017-09-09 16:16:47 +01:00
Al Poole 2fcd434e3c edi_exe: Don't use global variables.
Globals are unnecessary here.
2017-09-09 11:19:51 +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
Andy Williams 7bb4a7cc24 syntax: Fix python syntax by adding a basic provider 2017-09-07 21:00:31 +01:00
Al Poole d259a776a9 editor: background file changes. Fix editor reload on background file change. 2017-09-07 14:54:50 +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 5eaf4e3be2 mainview: also select filepanel on tab focus.
This was bad by me. Found an example with an image. Both instances
are necessary for uniform behaviour. Sorry.
2017-09-02 11:54:40 +01:00
Al Poole 514e472cd1 filepanek: set the filepanel focus on editor focus.
Tab selection will focus the editor. This fixes occasions
when clicking between panels. So the filepanel focus is
uniform. Should have thought of doing it this way before.
2017-09-02 11:47:18 +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 782ef16427 mainview_panel: remove unnecessary cast.
Edi_Mainview_Item pointer does not need to be cast.
2017-09-01 20:42:41 +01:00
Al Poole 6ee65ae7dc filepanel: Add documentation for new method.
Adds new documentation and improves existing.
2017-09-01 20:40:02 +01:00