Commit Graph

896 Commits

Author SHA1 Message Date
Alastair Poole f2c7e9e233 build: fix unused variable warning. 2018-08-04 12:20:58 +01:00
Alastair Poole e80d25a981 tabs: let tabs with large filenames grow.
This should ensure tabs grow when the filename is very long.
2018-08-04 12:17:03 +01:00
Alastair Poole 842b4ec63a settings: fix visual error when choosing font.
In the settings panel after selecting the font
and then returning to the main settings window,
white artifacts polluted the widget. We need to
delete this object.
2018-08-04 11:44:00 +01:00
Alastair Poole ddb01ba1ef tabs: make tabs consistent size.
Give us consistent tab size and text alignment
which complements this for our tabs.
2018-08-04 10:28:44 +01:00
Alastair Poole 179acb1918 mainview: show path in tooltip when hovering tab.
Previously I implemented this with a "menu". This
wasn't very clever. Changing so we use a tooltip
as it's much cleaner and less cruft code.
2018-08-03 11:05:55 +01:00
Alastair Poole 1c00bdb17f goto line: fix crash when inputting with keyboard.
When using keyboard the incorrect object was being passed
to the goto method. It would crash.
2018-07-24 09:26:12 +01:00
Alastair Poole 6c08adab9c search in project: Use proper widget hierarchy.
This was crashing due to incorrect hierarchy when creating
widgets.
2018-07-23 21:50:46 +01:00
Alastair Poole c8d3f56183 welcome: display template icon at correct ratio.
This improves the look of the template project creation
screen. Icons appear the correct size next to their text
description.
2018-07-19 11:15:03 +01:00
Cedric BAIL 202b21f423 searchpanel: complete rewrite to have low hoverhead when processing search.
This search code is more efficient and will research keyword by chunk and
backward count the number of line. It will reduce the amount of random access
on disk and be access all data sequencially, page after page.

A possible next step in optimization would be to allow for the search
of multiple keyword at the same time. Another most likely bigger reward
would be to have a cache mecanism leveraging the versionning system
and only reprocessing file when they do change. This would lead to the
biggest improvement.
2018-06-22 21:26:42 +01:00
Alastair Poole 354b675444 debugpanel: fix crash.
Saw this on OpenBSD but also elsewhere now.
Seems to make sense to return here also.
2018-06-13 12:49:52 +01:00
Alastair Poole 8e09fe33ff tab: right-click tab for filename path.
Path is relative to project.
2018-06-06 14:48:48 +01:00
Alastair Poole f438e6e62b filepanel: on tab focus improve visibility.
This patch selects the next best match. Making it easier
to follow the file in use (especially duplicate names).
On expand (next best), it will automatically select
the actual path. Visual and usability improvement.
Thanks Brokenshackles for suggestion.
2018-06-06 14:04:15 +01:00
Andy Williams d008cf16a8 Revert "theme: roll back for the 0.7 releaes"
This reverts commit 13ffef1042.
2018-05-15 16:13:55 +01:00
Andy Williams 83b616446c Merge in from 0.6.1 release branch 2018-05-15 16:01:01 +01:00
Alastair Poole 5c7a29b521 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-15 15:04:49 +01:00
Alastair Poole 6be9ee49c6 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-15 15:04:26 +01:00
Alastair Poole d2d9f7bd05 credits_check/scm_ui: Fix bugs that crash.
I can't believe these are in here! Apologies! :)
2018-05-15 15:03:12 +01:00
Alastair Poole ea6b0ab193 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-15 15:02:56 +01:00
Alastair Poole 47675308fe panels: add a frame around each panel for depth and clarity.
This adds depth to the panels and the additional frame title
adds more clarity as to which panel is in use (complementing the
panel title and positional arrow indicator.
2018-05-15 13:13:33 +01:00
Alastair Poole b2553f93c3 main: increase lower toolbar icon size slightly.
This improves the overall feel of the application. The resize is
conservative but makes for better text reading and overall
uniformity.
2018-05-15 11:08:39 +01:00
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
Andy Williams f9d5289ce6 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:13:35 +01:00
Andy Williams 100a3ecfc0 Remove duplicate line 2018-05-11 13:12:59 +01:00
Alastair Poole 997d1928f8 settings: Fix crash with non-SCM project.
Settings would crash when launched from a project with no
source code management.

@fix
2018-05-01 14:01:14 +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
Andy Williams 13fb099e68 Fix escaping of names in git parameters
Fixes issue #20
2018-03-21 22:51:27 +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
Andy Williams d457bfe754 Oops, fix compile error from merge conflict 2018-03-21 21:10:40 +00:00
Al Poole ea02efa416 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-21 21:09:54 +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
Andy Williams ca463c691e Default to tab indenting for go projects 2018-03-03 21:22:24 +00:00
Andy Williams 1f1bff5103 Fix possible crash on consolepanel 2018-03-03 12:06:43 +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
Andy Williams 263c9b5f1e Load the test results for Golang builds 2018-02-22 13:06:33 +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 5e318be09c build: Add support for Go building 2018-02-17 20:02:03 +00:00
Andy Williams e20fa8bff9 Fix typo in string constructon 2018-02-17 19:51:44 +00:00
Andy Williams 13ffef1042 theme: roll back for the 0.7 releaes
It looks like we won't have an efl major releases soon enough to add this
2018-02-10 20:58:52 +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 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 6e1a56afb5 edi_exe: workaround for ecore_con_server_del
This is a workaround but when fixed it wont have any adverse
affect on the program. To be removed upon EFL fix. The issue
is reported.
2017-12-15 00:02:10 +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
Al Poole 833012526c Merge branch 'feature/edi_translucency' of git+ssh://github.com/enlightenment/edi into feature/edi_translucency 2017-12-06 18:38:01 +00:00
Al Poole 27e1b6c5fe theme: fix small bug and change label. 2017-12-06 18:34:53 +00:00
Andy Williams 7c674db18c alpha: Fix config defaults 2017-12-06 11:23:39 +00:00
Al Poole 76ba36ea98 theme: add settings for alpha 2017-12-05 22:03:46 +00:00
Al Poole 201318adaf Revert "theme: "finish" settings for the theme translucency/shininig"
This reverts commit c3fe0295fc.
2017-12-05 21:55:40 +00:00
Al Poole c3fe0295fc theme: "finish" settings for the theme translucency/shininig
all work and no play makes andy a dull boy...all work and...
2017-12-05 21:53:35 +00:00
Al Poole 4a56d6339b settings: some minor visual changes to layout. 2017-12-03 21:43:28 +00:00
Al Poole 556df6ee74 themes: introduce theme support with themes 2017-12-03 14:49:53 +00:00
Al Poole 3e900e7402 theme: sort themes. 2017-12-02 10:38:10 +00:00