Commit Graph

738 Commits

Author SHA1 Message Date
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
Andy Williams 2d0c874567 Improve safety and simplify mime display code 2018-03-22 14:58:34 +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 a5ce833292 Completion of examples feature 2018-02-10 20:47:13 +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 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
Andy Williams d5bb4107c9 Add translation info to the about screen
Also update bug fix URL!
Fixes #7
2017-12-23 21:59:24 +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
Andy Williams cf5a1c9bdc settings: Fix slider for scroll wheel usage 2017-12-17 21:46:17 +00:00
Al Poole 95f40a7f24 editor_search: make it clearer in the code when we reset the cursor. 2017-12-09 13:12:09 +00:00
Al Poole 32196a611f welcome: add visual indication for required but missing fields.
Also, no need to delete a directory we never create now.
2017-12-09 12:42:08 +00:00
Al Poole c4ae6c751e editor: search wrapping inconsistencies fix. 2017-12-09 12:01:33 +00:00
Al Poole a4cd836def filepanel: only pack the box once when showing the file search.
This fixes an issue where if you enable find > 1 times it will
keep packing and taking up more space for each consecutive
click/enable.
2017-12-09 11:19:44 +00:00
Andy Williams 664042bebf settings: Improve layout in display settings 2017-12-08 23:07:02 +00:00
Andy Williams 392ab14c43 alpha: Tidy settings screen for translucency 2017-12-08 22:39:38 +00:00
Al Poole 61aa3512b8 settings: slight tidy up and make code easier to read. 2017-12-06 23:53:04 +00:00
Al Poole c4c0db1383 theme: remove unnecessary call, and slight tidy. 2017-12-06 23:43:44 +00:00
Al Poole 30064502d1 alpha: make sure window alpha is set on config change. 2017-12-06 19:45:49 +00:00