Commit Graph

740 Commits

Author SHA1 Message Date
Andy Williams 86ae8c104f build: Fix edi_build with meson to compile from scratch in one pass 2017-10-11 23:17:59 +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
Marcel Hollerbach b7fb356e68 edi: edi_lib is not edi_lib but edi 2017-10-11 14:43:05 +02: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 2a9d02fc2f libedi_scm: make sure we always change to valid directory. 2017-10-08 14:44:34 +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
Al Poole fc855bf0bb mainview: search + search/replace popups, UI improvement. 2017-10-01 11:43:52 +01:00
Al Poole 9ef65252ed about: explicitly set bg colour and alpha. 2017-10-01 11:27:38 +01:00
Al Poole 9b5af0abfc edi_scm: fix memory leak.
If cancelling the diff while it's loading can potenitally lose
the contents of the diff buffer. This patch fixes that...
2017-09-30 23:59:33 +01:00
Al Poole 76a029a09e edi_scm: small stylistic. 2017-09-30 22:53:09 +01:00
Al Poole 16d6a44625 edi_scm: show window at appropriate time.
Avoid bogus flickering during startup.
2017-09-30 22:26:10 +01:00
Al Poole 4149ee7c52 scm_ui: make sure we clear the widget.
meh meh meh...
2017-09-30 20:56:31 +01:00
Al Poole a49931161c edi_scm: handle thread cancel and shutdown properly.
This allows to flip switches and stuff while we're rendering
and changing stuffz. So shutdown during rendering should be ok
and also we can switch between modes without spazzing out.
Thanks be to God!
2017-09-30 20:31:21 +01:00
Al Poole 9cad93b64f edi_scm: refactor code and use threads.
Refactor and use a thread so we don't lock up the UI.
2017-09-30 19:51:28 +01:00
Al Poole 12dce44812 edi_scm: rename some borrowed functions.
Fix typo also in header.
2017-09-30 13:06:58 +01:00
Al Poole fad276133a edi_scm: Monitor for changes and update when possible
Small "refactor" of the UI also to make better use of space.
2017-09-30 12:27:19 +01:00
Al Poole e623190fa3 edi_scm: pack list and commit dialogue on same line.
This gives a much wider space to display the diff output.
2017-09-30 10:05:04 +01:00
Al Poole e5aca41ad1 filepanel: simplify code by using existing method. 2017-09-30 00:28:53 +01:00
Al Poole 448b0b164d edi_scm: win title.
Sorry! Ugh
2017-09-29 22:14:01 +01:00
Al Poole 9e7999b500 scm: Actually allow for checking of scm anywhere within a git tree. 2017-09-29 22:08:24 +01:00
Al Poole 3397bc93e6 scm: header file function erroneous description. 2017-09-29 21:42:49 +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 f66ef895b8 welcome: don't show progressbar until downloaing. 2017-09-28 22:32:23 +01:00
Al Poole b2e69bebb9 welcome: Add progressbar during retrievel of remote repository.
This gives an indicator to the user the download is in progress.
Moreover it stops the UI from freezing up with a large remote
repository.
2017-09-28 14:27:54 +01:00
Al Poole 3eadca948c edi_file: use a static buffer for the path. 2017-09-28 01:39:49 +01:00
Al Poole c826dee557 search: Add project-wide search and replace feature. 2017-09-28 01:23:18 +01:00
Al Poole 5cefe27e48 screens: scm. Stylistic changes. 2017-09-27 20:01:14 +01:00
Al Poole c75c2d817f scm: refactor scm screens.
There's absolutely zero need for a hash table here.
Refactor the scm commit screen to be more efficient and make more
sense.
2017-09-27 19:46:09 +01:00
Al Poole e86760b802 edi: escape paths where necessary. 2017-09-27 19:42:45 +01:00
Andy Williams a5896c05ac Fix make dist 2017-09-26 15:36:11 +01:00
Andy Williams 2b2454a104 filepanel: fix menu icon for folders 2017-09-24 21:46:29 +01:00
Andy Williams 2933c2faf6 autosuggest: avoid lingering tab-complete suggestions
On focus out or mouse downs we invalidate the suggestion
2017-09-24 21:38:14 +01:00
Andy Williams 75afcf4be8 snippet: fix indentation of inserted lines 2017-09-24 21:38:01 +01:00
Al Poole 141ffff9f9 exe: fix cleanup on FreeBSD of ecore_con_server/clients. 2017-09-24 11:30:55 +01:00
Al Poole 986bae6eb4 filepanel: make dir menu behave as file menu does. 2017-09-22 15:17:39 +01:00
Al Poole e4704ed0ba filepanel: make dialogues more informative. 2017-09-22 15:07:23 +01:00
Andy Williams ef18a26ddc filepanel: Make the filename in menu informational 2017-09-22 12:27:40 +01:00
Andy Williams ba8dd2becf snippet: add some python snippets 2017-09-22 11:58:29 +01:00
Andy Williams f1643f08ef autosuggest: Add safety for optional language features
@fix crash with rust editor
2017-09-22 10:28:50 +01:00
Andy Williams eed2ae8328 about: fix layout of AUTHORS content in about 2017-09-21 22:15:37 +01:00
Al Poole 376d4c5752 screens: scm. only show staged changes. 2017-09-21 20:46:17 +01:00
Andy Williams 1c14989ccd create: Escape single quotes in project and user name
@fix T6044
2017-09-21 20:29:19 +01:00
Andy Williams efb4793a10 disable broken tests - need to move from including C code!!! 2017-09-21 20:29:19 +01:00
Al Poole d8e0087b6f scm: use relative path not absolute.
This is also faster.
2017-09-21 20:26:13 +01:00
Al Poole 4edd09cc59 screens: scm, remove unnecessary hash clear.
Small stylistic change also.
2017-09-21 20:09:48 +01:00
Al Poole 89dfc351bf scm screens: select text when staged changes made.
Another aspect of making the entry more user-friendly.
2017-09-21 14:51:54 +01:00
Al Poole d85bc57a49 Merge Andy's fix 2017-09-21 14:16:06 +01:00
Al Poole 2e045c0a43 screeens: scm. Replace list with genlist and make commit entry more usable.
The original elm_list_ would segv if there were many hundreds of items, so
redone with a genlist. Also the entry for commit message is less of a pain
as it was.
2017-09-21 14:13:41 +01:00
Andy Williams add0d7f6c4 autosuggest: veto tab propagation for all inserts 2017-09-21 12:29:57 +01:00
Al Poole ce824635fd edi_main: use proper method to disable menu items. 2017-09-21 09:11:18 +01:00
Al Poole 757414ef86 exe: add header.
Tested on another machine, include is necessary.
2017-09-21 00:59:34 +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
Andy Williams 02525fe8ad autosuggest: speed up suggeestions
cache the list and refresh when we re-parse...
2017-09-20 22:11:43 +01:00
Andy Williams e03f234573 autosuggest: Show first match for tab completion
Displays a hover that shows the match - and you can click it too.

Closes T5902
@feature
2017-09-20 22:11:43 +01:00
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