Commit Graph

1078 Commits

Author SHA1 Message Date
Al Poole 3e3e0fde8d edi_settings: set the default debugger as the selected if none set.
This will use the first and default debug command when no user
preference has been set. This is gdb.
2017-11-24 15:21:03 +00:00
Al Poole 0089d5e100 editor: split view. allow deletion of views.
If we have split panels let the delete button delete each view in
sequence until there are none remaining. Basically the tab close
button will do the work. Seems a logical approach.
2017-11-24 14:50:49 +00:00
Andy Williams 8bda6d887b build: Rplace PKGBUILD with a working script 2017-11-24 13:09:42 +00:00
Andy Williams c0c9703d6c build: Fix chmod for DESTDIR builds 2017-11-24 13:00:03 +00:00
Andy Williams f3162908cc Update TODO doc 2017-11-24 11:01:21 +00:00
Andy Williams d89ae75f82 build: Fix install location for template files 2017-11-24 11:01:03 +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
Al Poole 099b9c039e mainview: store an actual copy of the path.
Store the path in memory rather than a pointer to it.
There are times when the memory can be corrupt, this should
stop a breakage.
2017-11-23 14:47:57 +00:00
Andy Williams 6f41ad7204 Avoid infite tab focus loops 2017-11-22 19:27:04 +00:00
Al Poole f3dcf4b1f1 Revert "editor: on focus dont highlight file in panel."
This reverts commit cffd523df4.
2017-11-22 16:27:30 +00:00
Al Poole cffd523df4 editor: on focus dont highlight file in panel.
This can cause terrible deadly recursion. Now clicking on
the filepanel will select and show and clicking on the tab
will select in the file browser. We lose clicking the widget
directly to selection in the file browser...for now.
2017-11-22 16:02:21 +00:00
Al Poole b27c43abc5 editor: dont use smart parent object.
This fixes: T6389 for Edi. Perhaps needs fixes elsewhere IDK.
2017-11-22 15:48:00 +00:00
Al Poole 905a0ea990 edi_filepanel: make the filepanel unfocusable. 2017-11-20 20:55:43 +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
Andy Williams 1dd7012a96 mainview: Don't shuffle tabs on background close
If it's not the panel's current tab we can ignore it
2017-11-19 11:56:09 +00:00
Andy Williams 9d374501c6 mainview: Scroll tabs correctly on open new tab 2017-11-19 11:51:53 +00:00
Andy Williams 75c1d42e55 mainview: Don't promote a tab immediately before closing it 2017-11-19 11:43:58 +00:00
Al Poole e18f8b5760 edi_settings: simplify font test and allow for some variation.
Allow for minimal variation so that we don't exclude some neat
programming fonts such as Menlo or Monaco or Anonymous Pro.
Also do not check the height.
2017-11-16 02:18:24 +00:00
Al Poole 22d555c2f0 language: add initial support for Golang editing. 2017-11-11 13:26:06 +00:00
Al Poole cf3036d87b edi_debugpanel: fix debug panel buttons to work more reliably.
Use the timer to update the icons and fix the buttons to work well
with gdb. Doesn't affect other programs adversely.
2017-11-09 01:32:20 +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
Andy Williams ae3b0c2f57 Merge branch 'master' into develop 2017-11-05 15:59:16 +00:00
Andy Williams fc401afb03 Update name casing 2017-11-05 15:39:51 +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
Marcel 2c062ef0bb Revert "meson: remove exposure of lookup paths"
This reverts commit a7a6b9cb7f.

This brings back the option for settings the path, ubuntu decides to hide the headers in a none standard directory, so they need to be spectified.
2017-11-04 10:35:06 +00:00
Marcel 955213eb33 build: version 39.0 should be enough
this brings edi to ubuntu 17.04
2017-11-04 10:34:38 +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 ebee8283de tests: fix build on FreeBSD. 2017-10-28 13:47:54 +01:00
Al Poole 90e8426385 editor: align search and replace entries. Neater. 2017-10-24 00:51:13 +01:00
Andy Williams c9d00c0716 Fix meson tests for OS X as well 2017-10-23 12:22:48 +01:00
Andy Williams a7a6b9cb7f meson: remove exposure of lookup paths
This was a workaround for OS X which is now catered for in another patch
If we need to re-add the option for users this can be reverted
2017-10-23 00:09:14 +01:00
Marcel Hollerbach e311d58a71 meson: alternative location for apple
#ApplyIsSpecial
2017-10-22 21:08:32 +02: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
Al Poole 70a5ee304b Merge branch 'master' of git+ssh://git.enlightenment.org/tools/edi 2017-10-21 23:50:09 +01:00
Al Poole 1a4533b471 build: meson, fine tweaking of meson preparation. 2017-10-21 23:49:39 +01: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 708c53e0bc Fix versioning of meson build 2017-10-19 21:44:06 +01:00
Andy Williams ce71d3063e Update ignores of template tarballs 2017-10-19 21:43:38 +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