Commit Graph

34 Commits

Author SHA1 Message Date
Alastair Poole faaee7c0f9 icons: Add more generic default icons 2019-12-26 18:53:38 +00:00
Alastair Poole d45bb357ef Edi_Mime: Use our own variation to detect mime.
Replace efreet_mime_type_get with our own internal
edi_mime_type_get. Due to inacurracies do our own test for
binary file.
2019-12-20 18:00:57 +00:00
Alastair Poole 847e48810a BUILD: Fix changes in API for EFL 1.22 2019-03-24 15:08:38 +00: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
Andy Williams 3548e6dfe7 Fix unsafe usages of basename 2017-12-31 15:57:01 +00:00
Andy Williams 292e3fc63f scm: Update layout for scm commits for usability
Move files from unstaged to staged on double click
Change diff to always show what is about to be committed (staged)
2017-12-30 23:39:18 +00:00
Andy Williams 68caaa3a6a avatar: Don't clip rotated avatar
Also rotate around centre for easier maths
2017-12-30 22:00:36 +00:00
Al Poole 10afa2f672 scm_ui: use already stored value, no need to query again. 2017-12-29 20:50:45 +00:00
Al Poole 56a3cc3d04 edi_scm: Consistent results for SCM root_directory.
Sorry about this sin of ommission. Also let's not
unnecessarily call method for which value already
exists. :/
2017-12-29 11:53:26 +00:00
Al Poole 3ceea8eb1e scm_ui: Add border to avatar w/effect (rotation) 2017-12-29 00:57:51 +00:00
Al Poole d603f4bf3d scm: refactor of scm 2017-12-28 23:44:28 +00:00
Al Poole 33556aeae2 edi_scm: move project root detection into the library.
Previous commit wasn't really right.
2017-12-27 21:55:50 +00:00
Al Poole 39c821d41a edi_scm: allow stage/unstaging outside of top scm dir.
@fix https://github.com/Enlightenment/edi/issues/16
2017-12-27 19:26:57 +00:00
Al Poole 817c291bce edi_scm: Add support for staging and unstaging.
Also refactor some of the API to be less clashy.
2017-12-20 21:47:21 +00: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 bdde32ba88 edi_scm: remove bogus hack when clearing elm_code_file. 2017-10-21 01:27:19 +01: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
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
Al Poole 317f5ed646 edi_scm: dont scroll on additions to elm_code_widget. 2017-10-05 10:19:01 +01: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
Al Poole 6e263b091e edi_scm: initalise to quieten compiler. 2017-10-01 12:40:00 +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 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 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