Commit Graph

1162 Commits

Author SHA1 Message Date
Alastair Poole fc36fb12f8 screens: improve settings popup slightly. 2018-05-15 11:03:33 +01:00
Alastair Poole d55bea9725 logpanel: fix crash when appending lots of lines.
Surround elm_code_file_line_append() with ecore_main_loop_begin/end.
Fixes a crash when there are lots of errors to report.

@fix
2018-05-14 10:26:20 +01:00
Alastair Poole 8fafc6c00a scm_git: Allow us to unstage even if there is no remote url.
This allows us to use edi_scm fully even if the repo has no
remote url. Otherwise business as usual.
2018-05-14 00:37:16 +01: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
Alastair Poole 085d936843 edi_theme: use new method to update theme after layout change.
elm_code_widget_theme_refresh().
2018-05-13 17:17:34 +01:00
Alastair Poole f484182733 scm: init. Fix a crash on new project initializing SCM.
The code was checking for an engine which doesn't exist and thus
crashing. This fixes that.

@fix
2018-05-13 12:50:21 +01:00
Andy Williams 36bc269047 Display the text position rather than the visual column in info
This fixes a bug where compile warnings for lines with tabs
do not match.
2018-05-11 13:28:13 +01:00
Andy Williams 6277dbe47a Remove duplicate line 2018-05-11 13:14:54 +01:00
Alastair Poole 9af91b6277 settings: Fix crash with non-SCM project.
Settings would crash when launched from a project with no
source code management.

@fix
2018-04-14 16:58:17 +01:00
Al Poole 6483c6cdcc AUTHORS: update to use my real name. 2018-03-22 15:36:57 +00:00
Andy Williams 2d0c874567 Improve safety and simplify mime display code 2018-03-22 14:58:34 +00:00
Al Poole f92c4c13d6 scm: use cached value, but do check for "" return too.
The previous commit made things SLOW due to fork/exec/parse too
much! Return if we have a result that is not "". Don't
repopulate if value is good!
2018-03-21 22:16:54 +00:00
Al Poole 371126c09d scm: do not check for git credentials on a LOCAL none-commit op. 2018-03-21 21:42:11 +00:00
Al Poole 14549d71de content: dont check line endings for image. 2018-03-21 02:00:32 +00:00
Al Poole f52a045bb2 screens: add a dialogue with a button for close and settings panel.
When there is user information missing or a change required in
settings, display a dialogue with the information and an added
button to open the "Settings" window.
2018-03-20 16:34:29 +00:00
Al Poole 417e895356 scm: store scm credentials and fix UI stash and commit.
First, make sure the project stores user/email for SCM (again!). Also
allow user to change the user/email > once. Add a check to
stash (from menu) for credentials also.

This allows us to change the remote user and email more than once.
Also it ensures that
2018-03-19 23:38:01 +00:00
Al Poole ca25dea2d8 statusbar: undo recursive dependency.
Refactor and sanify the statusbar changes.
2018-03-18 11:29:10 +00:00
Al Poole 461058bb8a content: move statusbar into edi_content.
sorry!!!
2018-03-17 19:08:09 +00:00
Al Poole fa03323a20 content: move alternative content to edi_content.c
Slight refactoring to complement the previous commits regarding tab sizing.
2018-03-17 17:43:34 +00:00
Al Poole 81165c426f tabs: Ensure that all content types load with good dimensions.
This ensures code, text and images are loaded properly with
proper dimensions. This means there is no jumping about when
switching tabs with multiple panels, multiple tabs and any
type of content. Moved the image_add to centralise the
generation of statusbar.
2018-02-22 15:38:53 +00:00
Al Poole 5cbb9466e9 editor: fix tab sizing with multiple panels.
When switching tabs and panels a bogus resize would occur.
This mitigates that.
2018-02-21 21:54:30 +00:00
Andy Williams a446c1d34c block on efl-git for edi-git 2018-02-10 21:07:00 +00:00
Andy Williams 4219182826 develop is now heading to 0.8 2018-02-10 21:01:26 +00:00
Andy Williams a5ce833292 Completion of examples feature 2018-02-10 20:47:13 +00:00
Andy Williams 7250a9bc3a Fix compile error for non-c99 buids 2018-02-03 19:32:48 +00:00
Andy Williams 131a627b6e Fix compile error for non-c99 buids 2018-02-03 19:32:16 +00:00
Andy Williams e170fdee19 examples: extract example from git to create new projects 2018-01-06 14:48:04 +00:00
Andy Williams 1b7acee711 suggest: fix potential crash. Don't list un-named methods? 2018-01-06 13:50:39 +00:00
Andy Williams a99382bed8 templtaes: refactor to use template name rather than path
This makes our command line interface easier to use.
We lose the search paths for templates, but we did not use it
2018-01-06 13:46:43 +00:00
Andy Williams 305c7c4b43 examples: refactor template code to work for examples too 2018-01-06 13:42:24 +00:00
Andy Williams 3497aee535 examples: refactor data to be tidier 2018-01-02 22:02:41 +00:00
Andy Williams ad12603941 examples: Crash fix on going back 2018-01-02 21:16:45 +00:00
Andy Williams 83eaa3db84 Example: Add more content for the main examples 2018-01-01 22:07:36 +00:00
Andy Williams 68475cb28f examples: First pass add of examples info.
Infrastructure not in place yet, so example cannot be selected
2018-01-01 21:41:14 +00: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
Andy Williams d2c548a37b scm: If we can guess user credentials don't block
Have the project config default to the scm setup
2017-12-30 21:59:56 +00:00
Andy Williams d83289cc8a scm: Consistent dir usage in win titles 2017-12-30 20:09:13 +00:00
Andy Williams bca0919d2f scm: pass new --commit param to edi_scm for commit workflow 2017-12-30 20:08:44 +00:00
Andy Williams 71351c1c60 scm: Add command line options to specify path if we want.
Also add a dummy --commit which we pass from Edi for future requirements
2017-12-30 19:01:08 +00:00
Andy Williams 611c68175f scm: Fix initialisation to be based either on path or on CWD/edi_project_get
Refactoring lookups to be more re-usable as well. Should be a clearer API
2017-12-30 19:00:04 +00:00
Andy Williams f9e74bec45 scm: Make the titles consistent and add them to translations 2017-12-30 18:52:41 +00:00
Al Poole dc41a7f1fb scm_ui: remove unnecessary check. 2017-12-30 01:07:41 +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