Commit Graph

656 Commits

Author SHA1 Message Date
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
Andy Williams ae3b0c2f57 Merge branch 'master' into develop 2017-11-05 15:59:16 +00:00
Al Poole d1052de44b mainview_panel: fix focus issue and panel closing.
This fixes an issue with focus and also makes closing panels
and tabs much friendlier to the user.
2017-11-05 00:46:51 +00:00
Marcel f488057e32 build: use a include directory and not relative paths
in older meson versions relative paths are sometimes evalulated from the
build directory and sometimes from the source diretory.
2017-11-04 10:35:06 +00:00
Al Poole 1841082de8 edi_about: include Edi version in title again. 2017-10-31 21:07:00 +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
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 4dc1cdf8ce mainview: add support for the new EFL focus subsystem. 2017-10-28 20:53:30 +01:00
Al Poole 90e8426385 editor: align search and replace entries. Neater. 2017-10-24 00:51:13 +01:00
Marcel Hollerbach 39203334d4 meson: add a option where to find the clang library and header
with having them people can just specify where the clang stuff is
installed, if its not possible to find it in the default location.

This fixes a bug where clang was not found, dirs: is meant as exclusive
parameter, so if you specify there a custom directory, then only THIS
specific directory will be used for the search. This fixes also that bug
and only specifies that argument if a custom location is given.
2017-10-22 20:54:36 +02:00
Andy Williams 1d2cf4af88 Remove old autotools build files - meson only now 2017-10-21 22:37:31 +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 316b7db9bd edi_scm: use better gravity when loading the diff into the widget. 2017-10-21 14:09:57 +01:00
Al Poole 3ec3d476fd edi_file: replace. use a local temp directory rather than /tmp.
This is firstly more portable and also some distrbutors won't allow
us to move from /tmp (wise).
2017-10-21 14:05:13 +01:00
Al Poole bdde32ba88 edi_scm: remove bogus hack when clearing elm_code_file. 2017-10-21 01:27:19 +01:00
Andy Williams 1b3f52fa81 clang: Don't bail on first error
Report all errors in a file not just up to the first critical
2017-10-19 21:43:38 +01:00
Andy Williams 5523b4d449 clang: Let's load clang relative to the build commands
This fixes relative includes for meson and cmake projects.
2017-10-19 21:43:38 +01:00
Al Poole e6a0cce26a mainview: remove pointless code and guard against crash. 2017-10-19 21:41:26 +01:00
Andy Williams 7bae93a8f8 welcome: Improve layout of project chooser
Also remove lots of hacky layout code - make it as simple as we can
2017-10-16 22:47:05 +01:00
Al Poole cf476eaee7 welcome: make _edi_welcome_user_fullname_get less complex. 2017-10-16 10:34:59 +01:00
Al Poole 4737aa611c skeletons: rearrange template/skeleton directory structure 2017-10-15 16:29:06 +01:00
Al Poole f5a236bf7d welcome: change layout, making it slightly smaller. 2017-10-15 13:50:29 +01:00
Al Poole 6ad43c2715 welcome: add visual notifcation when fields are empty.
This is quite subtle but I like it.
2017-10-14 13:26:29 +01:00
Al Poole f155a58983 welcome: Improve project creation.
Add support for additional meta data including images and
title/descriptions. Also add a new frame to the project
creation process with more descriptive choices of project type.
Layouts can change later.
2017-10-13 22:03:20 +01:00
Andy Williams 49b8b3f5b9 l10n: Update strings to remove non-translation and trailing symbols we can add in code 2017-10-11 16:16:29 +01:00
Al Poole 49f1d1a53d replace: fix a typo. 2017-10-10 23:40:52 +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
Stephen Houston 3908d27b67 Fix meson build when clang headers don't exist. 2017-10-10 10:05:06 -05:00
Al Poole 53710764a9 edi_scm: fix use after free. 2017-10-08 14:57:46 +01:00
Al Poole 7ea3ce5d84 edi_scm: sanitize titie.
This patch ensures a consistent window title when used
internally (in Edi) or externally. The title should
correspond to that Edi provides in its window title.
2017-10-08 14:34:01 +01:00
Andy Williams b586e84474 missing dirs mess up build 2017-10-06 16:00:00 +01:00
Andy Williams 09ce5493cd Fix meson issues for OSX 2017-10-06 15:49:23 +01:00
Al Poole 6fe6c805bf Revert "edi_scm: make sure we give a sensible window title."
This reverts commit 83adef96a9.
2017-10-06 15:30:14 +01:00
Al Poole 83adef96a9 edi_scm: make sure we give a sensible window title.
When using edi_scm outside of EDI it's useful to show the
toplevel of the repository as the window title.
2017-10-06 14:24:03 +01:00
Andy Williams 3421d668f0 Fixing up linux again - need a better solution for OSX as meson bails 2017-10-06 12:41:33 +01:00
Al Poole 317f5ed646 edi_scm: dont scroll on additions to elm_code_widget. 2017-10-05 10:19:01 +01:00
Andy Williams 66ef93730b filepanel: don't update status and scm etc for hidden files 2017-10-05 00:37:43 +01:00
Andy Williams 21d73fd38b And link libintl 2017-10-05 00:09:30 +01:00
Andy Williams dda9a59fc4 Fix clang lookup dirs on osx 2017-10-04 23:52:29 +01:00
Al Poole 251ea96020 edi_main: don't use exit, goto and shutdown properly. 2017-10-04 16:53:28 +01:00
Marcel Hollerbach f0c2c4605b meson: handle also cases when the options are disabled 2017-10-03 21:33:45 +02:00
Marcel Hollerbach ac304ea2a9 time for meson! 2017-10-03 19:07:42 +02:00
Andy Williams 10d706a08c Update text for SCM changes 2017-10-03 15:22:18 +01:00
Andy Williams 2bac1157db scm_ui: Show user icon or a fallback, not both 2017-10-03 14:57:05 +01:00
Andy Williams 15a1529df0 scm: fix avatar caching memory handling 2017-10-03 14:40:10 +01:00
Andy Williams eb6d238de6 about: Fix background alpha for changes in EFL 2017-10-03 14:24:20 +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 543de0a53e Revert "about: explicitly set bg colour and alpha."
This reverts commit 9ef65252ed.

This is probably hiding another issue, so reverting to its
previous state.
2017-10-02 13:25:34 +01:00
Al Poole 6e263b091e edi_scm: initalise to quieten compiler. 2017-10-01 12:40:00 +01:00