Commit Graph

878 Commits

Author SHA1 Message Date
Alastair Poole 847e48810a BUILD: Fix changes in API for EFL 1.22 2019-03-24 15:08:38 +00:00
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