Commit Graph

1027 Commits

Author SHA1 Message Date
Alastair Poole 2fb3860c72 edi_settings: allow settings window tab open choice.
This slight change to the API allows the user (when prompted) to
open the settings panel, access to the specific settings tab of
interest. Therefore a prompt for missing user information,
will open the settings panel at the project section of settings.
2018-12-17 14:15:41 +00:00
Alastair Poole 06d866411d edi_process: Introduce new process API.
Introduced process querying API for all the platforms
we currently support. With this we are able to get
realiable data about system processes.

We use this API to track running process instances
launched from Edi.

Also, this allows for a much cleaner implementation
of the edi_debug code when tracking the debug process.

Essentially using the new API to track both running
instances and debugged instances.

Moreover, simplifying this by using a timer in
edi_main to keep track of these occurences.

We can now reliably track use of the 'Run' command
in the toolbar and menu. Adding a 'Terminate' to
compliment. The UI now responds properly to running
or non-running Edi launched process instances.
2018-11-25 17:05:16 +00:00
Alastair Poole 1ce49c9e8a edi_theme: use appropriate API.
The theming API has changed. Adapt for
EFL 1.22.
2018-11-21 14:47:57 +00:00
Alastair Poole bafcc05731 mainview: no need for popup when entry is empty.
By foccusing the entry widget that is empty this is
just as clear to the user as displaying a small
popup. In these situations this popup is probably
overkill and visually unappealing.
2018-09-11 13:49:11 +01:00
Alastair Poole a69eda48ce provider: ensure we handle python3 mimetype. 2018-09-07 00:22:40 +01:00
Alastair Poole af1ff5608d Revert "editor: fix multiline comment syntax highlighting."
This should be handled within the widget itself, far too
hacky to do it like this. Reverting this badnes.
2018-09-06 17:38:09 +01:00
Alastair Poole 808572894e editor: fix multiline comment syntax highlighting.
When autosave is disabled the multi-oline comment
syntax highlighting was not working. We can do this
without adding an API, but should aim to add an
identical behaviour method to elm_code with better
namespace that indicates syntax highlighting
refresh. Changing T6083 to a TODO.
2018-09-06 10:45:37 +01:00
Alastair Poole d9bfd0a3d9 main: use scroller as container for logpane.
This allows for full contraction and expansion of the bottom
panel with no visual bogosity.
2018-09-04 16:10:36 +01:00
Alastair Poole 227231d06e examples: update examples if repository exists.
This adds a git_update method to the scm lib which we use here
to update the existing examples git repository. This ensures
the developer is always using an up-to-date copy of EFL
examples when creating.
2018-09-03 16:11:09 +01:00
Alastair Poole aeb01d7e0e searchpanel: ignore ELF files.
We can easily check for ELF files here, let's do this and
avoid a lot of unnecessary noise in the search panel.
2018-08-31 16:25:54 +01:00
Andy Williams 38d35e3314 Fix false positives in search-in-project 2018-08-30 22:57:33 +01:00
Alastair Poole 0146efc4bf settings: add option to show hidden files.
Add option to show hidden files to settings.
Display files in file panel.
2018-08-24 10:18:32 +01:00
Alastair Poole 708a134120 create: bring back callback to notify UI.
Add check also for NULL in rare case.
2018-08-22 18:15:32 +01:00
Alastair Poole 1d2e8e3c00 filepanel: update callback to match exp. prototype.
This silences other build warnings. Use proper func
prototype and always return TRUE when previously
returned.
2018-08-22 15:26:30 +01:00
Alastair Poole 849b216c3e build: silence warnings due to unused params/vars. 2018-08-22 15:22:24 +01:00
Alastair Poole 5cac73c2c7 settings: disable highlight settings win display.
This disables the initial highlighting on the settings
window. Cosmetically gets rid of the initial hidden
rectangle focus. If a user presses tab, focus and selection
works as normal.
2018-08-22 15:17:52 +01:00
Alastair Poole 383573fd0a welcome: fix issue with template creation.
This fixes potential crash due to invalid template
data and also fixes an erroneous URI for hello-gui.
2018-08-22 12:59:47 +01:00
Alastair Poole 273384d916 settings: move check into method.
Just check once for existing window in the
edi_settings_show.
2018-08-22 11:02:42 +01:00
Alastair Poole 26929ba2a9 editor: Fix typo.
Apologies, this shouldn't have gone through.
2018-08-21 20:08:41 +01:00
Alastair Poole 2ac7e2c3b5 editor: register modify on cut and paste.
Previously we could modify an editor with cut and paste, now
listen for these events and act as we would do with an editor
change.
2018-08-21 19:33:03 +01:00
Alastair Poole 893f3eb477 settings: only allow one settings window instance.
Do a simple check for a window object. Did think about
adding it to the method but it seems to return an
Evas_Object *. Simpler just to check in edi_main.
2018-08-21 19:03:37 +01:00
Alastair Poole f7890e8dc8 filepanel: remove timer check for select path.
This timer and action is causing more problems than it's worth.
2018-08-21 13:54:44 +01:00
Alastair Poole 51d81383b1 filepanel: remove bogus minsize.
This fixes the jumping of the UI on tab change.
2018-08-19 19:41:16 +01:00
Alastair Poole ce5cd75211 settings: on alpha window change keep on top.
When changing window alpha ensure the settings window
remains on top. Previously an alpha change would lose
the settings window when enabling alpha. Also add
some documentation.
2018-08-19 14:17:07 +01:00
Alastair Poole a0366e2ae9 welcome: evas_object_rectangle_add needs Evas.
EFL 1.21. is more strict. We need to use an Evas here,
not an Evas_Object. This fixes a horrible bogus display
when choosing a template project.
2018-08-19 13:18:41 +01:00
Alastair Poole 6eaf294ea1 fade: 2018-08-13 10:42:12 +01:00
Alastair Poole a15f318728 transparancy: update other widgets. 2018-08-13 10:42:12 +01:00
Alastair Poole 86c7fb800d This should work it does not 2018-08-13 10:42:12 +01:00
Alastair Poole 253419dae4 Do this better 2018-08-13 10:42:12 +01:00
Alastair Poole 005f01f8bc Revert "Fix translucency again."
This reverts commit bd049d3dd8.
2018-08-13 10:42:12 +01:00
Alastair Poole b2bebfaad7 Fix translucency again. 2018-08-13 10:42:12 +01:00
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
Al Poole dcf4bcec82 theme: set generic value to generic title. 2017-12-02 10:30:30 +00:00
Al Poole 11f9ba8609 theme: add a title to theme edcs and use that.
This makes it a little neater.
2017-12-02 10:25:54 +00:00
Al Poole 91a373cd2d mainview: react to config changes for split editors.
Make sure theme and font changes happen in split views too!
2017-12-01 23:28:06 +00:00
Al Poole 4edf97c0af mainview: react properly to config changes.
This will fix font and theme config changes in split editors so they
update as others do.
2017-12-01 23:26:23 +00:00
Al Poole e64ff06592 split_view: store and load split views between sessions.
Keep track of split views and reload on open, if closed open.
2017-12-01 13:07:00 +00:00
Al Poole 57d2c5810a edi_theme: Add support for colour themes in EDI.
Finally adding theme support for Elm_Code_Widget. Fairly
self-explanatory. Settings-> Display -> Choose theme. Work
from both myself and Andy Williams on this one. A good one!
2017-11-27 23:09:51 +00:00
Al Poole 3e3e0fde8d edi_settings: set the default debugger as the selected if none set.
This will use the first and default debug command when no user
preference has been set. This is gdb.
2017-11-24 15:21:03 +00:00
Al Poole 0089d5e100 editor: split view. allow deletion of views.
If we have split panels let the delete button delete each view in
sequence until there are none remaining. Basically the tab close
button will do the work. Seems a logical approach.
2017-11-24 14:50:49 +00:00
Al Poole 25339554b7 edi_filepanel: select on focus.
Use a timer for selecting the file browser item. Click tab and click
browser file work as before. Clicking the editor will focus in the
browser also with an "unnoticable" delay from the timer poll.
2017-11-23 14:51:29 +00:00
Al Poole 099b9c039e mainview: store an actual copy of the path.
Store the path in memory rather than a pointer to it.
There are times when the memory can be corrupt, this should
stop a breakage.
2017-11-23 14:47:57 +00:00
Andy Williams 6f41ad7204 Avoid infite tab focus loops 2017-11-22 19:27:04 +00:00
Al Poole f3dcf4b1f1 Revert "editor: on focus dont highlight file in panel."
This reverts commit cffd523df4.
2017-11-22 16:27:30 +00:00
Al Poole cffd523df4 editor: on focus dont highlight file in panel.
This can cause terrible deadly recursion. Now clicking on
the filepanel will select and show and clicking on the tab
will select in the file browser. We lose clicking the widget
directly to selection in the file browser...for now.
2017-11-22 16:02:21 +00:00
Al Poole b27c43abc5 editor: dont use smart parent object.
This fixes: T6389 for Edi. Perhaps needs fixes elsewhere IDK.
2017-11-22 15:48:00 +00:00
Al Poole 905a0ea990 edi_filepanel: make the filepanel unfocusable. 2017-11-20 20:55:43 +00:00
Andy Williams 798b4c2a2f gui: Merge debugger menu into build menu 2017-11-19 22:14:56 +00:00
Andy Williams 03d3a45c01 Remove trailing symbols from translations
Fixes T6189
2017-11-19 22:07:53 +00:00
Andy Williams 1dd7012a96 mainview: Don't shuffle tabs on background close
If it's not the panel's current tab we can ignore it
2017-11-19 11:56:09 +00:00
Andy Williams 9d374501c6 mainview: Scroll tabs correctly on open new tab 2017-11-19 11:51:53 +00:00
Andy Williams 75c1d42e55 mainview: Don't promote a tab immediately before closing it 2017-11-19 11:43:58 +00:00
Al Poole e18f8b5760 edi_settings: simplify font test and allow for some variation.
Allow for minimal variation so that we don't exclude some neat
programming fonts such as Menlo or Monaco or Anonymous Pro.
Also do not check the height.
2017-11-16 02:18:24 +00:00
Al Poole 22d555c2f0 language: add initial support for Golang editing. 2017-11-11 13:26:06 +00:00
Al Poole cf3036d87b edi_debugpanel: fix debug panel buttons to work more reliably.
Use the timer to update the icons and fix the buttons to work well
with gdb. Doesn't affect other programs adversely.
2017-11-09 01:32:20 +00:00
Al Poole 29c5ecb538 edi_debug: improve debugging support.
This improves support and simplifies some of the debugging tasks.
2017-11-08 21:27:32 +00:00
Andy Williams ae3b0c2f57 Merge branch 'master' into develop 2017-11-05 15:59:16 +00:00
Al Poole d1052de44b mainview_panel: fix focus issue and panel closing.
This fixes an issue with focus and also makes closing panels
and tabs much friendlier to the user.
2017-11-05 00:46:51 +00:00
Marcel f488057e32 build: use a include directory and not relative paths
in older meson versions relative paths are sometimes evalulated from the
build directory and sometimes from the source diretory.
2017-11-04 10:35:06 +00:00
Al Poole 1841082de8 edi_about: include Edi version in title again. 2017-10-31 21:07:00 +00:00
Al Poole 22b903fdcf Revert "edi_filepanel: if file is deleted close item in view."
This reverts commit 2e10b48162.
2017-10-29 09:54:11 +00:00
Al Poole 2e10b48162 edi_filepanel: if file is deleted close item in view.
If file is deleted outside of Edi or we stash and the file is
removed we should close the item in the editor also.
2017-10-29 09:46:37 +00:00
Al Poole 50cbcc3d93 edi_main: don't start build,test,clean when unknown project type. 2017-10-28 21:47:59 +01:00
Al Poole 4dc1cdf8ce mainview: add support for the new EFL focus subsystem. 2017-10-28 20:53:30 +01:00
Al Poole ebee8283de tests: fix build on FreeBSD. 2017-10-28 13:47:54 +01:00
Al Poole 90e8426385 editor: align search and replace entries. Neater. 2017-10-24 00:51:13 +01:00
Andy Williams c9d00c0716 Fix meson tests for OS X as well 2017-10-23 12:22:48 +01:00
Marcel Hollerbach 39203334d4 meson: add a option where to find the clang library and header
with having them people can just specify where the clang stuff is
installed, if its not possible to find it in the default location.

This fixes a bug where clang was not found, dirs: is meant as exclusive
parameter, so if you specify there a custom directory, then only THIS
specific directory will be used for the search. This fixes also that bug
and only specifies that argument if a custom location is given.
2017-10-22 20:54:36 +02:00
Al Poole 70a5ee304b Merge branch 'master' of git+ssh://git.enlightenment.org/tools/edi 2017-10-21 23:50:09 +01:00
Al Poole 1a4533b471 build: meson, fine tweaking of meson preparation. 2017-10-21 23:49:39 +01:00
Andy Williams 1d2cf4af88 Remove old autotools build files - meson only now 2017-10-21 22:37:31 +01:00
Al Poole 8b9d3106d5 edi_main: find a consistent icon for "close" across icon themes.
tested with adwaita, elm, faenza,  breeze etc etc.
2017-10-21 14:19:40 +01: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 3ec3d476fd edi_file: replace. use a local temp directory rather than /tmp.
This is firstly more portable and also some distrbutors won't allow
us to move from /tmp (wise).
2017-10-21 14:05:13 +01:00
Al Poole bdde32ba88 edi_scm: remove bogus hack when clearing elm_code_file. 2017-10-21 01:27:19 +01:00
Andy Williams 708c53e0bc Fix versioning of meson build 2017-10-19 21:44:06 +01:00
Andy Williams 1b3f52fa81 clang: Don't bail on first error
Report all errors in a file not just up to the first critical
2017-10-19 21:43:38 +01:00
Andy Williams 5523b4d449 clang: Let's load clang relative to the build commands
This fixes relative includes for meson and cmake projects.
2017-10-19 21:43:38 +01:00
Al Poole e6a0cce26a mainview: remove pointless code and guard against crash. 2017-10-19 21:41:26 +01:00
Al Poole bab76c4eef build: small fix for meson builds. 2017-10-19 00:37:28 +01:00
Andy Williams b8e9786160 build: Allow meson builds to be tested 2017-10-18 23:19:47 +01:00
Andy Williams ea7fefb8fb Run edi tests in meson 2017-10-18 23:16:50 +01:00
Andy Williams 7bae93a8f8 welcome: Improve layout of project chooser
Also remove lots of hacky layout code - make it as simple as we can
2017-10-16 22:47:05 +01:00
Al Poole cf476eaee7 welcome: make _edi_welcome_user_fullname_get less complex. 2017-10-16 10:34:59 +01:00
Al Poole 4737aa611c skeletons: rearrange template/skeleton directory structure 2017-10-15 16:29:06 +01:00
Al Poole f5a236bf7d welcome: change layout, making it slightly smaller. 2017-10-15 13:50:29 +01:00
Al Poole 6ad43c2715 welcome: add visual notifcation when fields are empty.
This is quite subtle but I like it.
2017-10-14 13:26:29 +01:00
Al Poole f155a58983 welcome: Improve project creation.
Add support for additional meta data including images and
title/descriptions. Also add a new frame to the project
creation process with more descriptive choices of project type.
Layouts can change later.
2017-10-13 22:03:20 +01:00
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