Commit Graph

990 Commits

Author SHA1 Message Date
Alastair Poole c618883960 settings: SHow toolbar text setting.
In the vain of every other EFL application and Enlightenment,
let's start adding an insane amount of settings [sic]. In
sincerity, people like or don't like it, let's make it an
option.
2020-02-02 19:42:43 +00:00
Alastair Poole 03e8564cb4 search: Cancel thread when closing.
We need to ensure we cancel the search thread especially on exit
to avoid a SEGV due to some horrible side-effects of EFL
shutting down as we search.
2020-02-02 19:21:48 +00:00
Alastair Poole 8bceeec424 Editor: When an editor forget past tabs. 2020-02-02 19:15:24 +00:00
Alastair Poole 76ee7b8f5a search: improve stability.
Some boundary issues and fixing search during a shutdown.
2020-02-02 13:20:36 +00:00
Alastair Poole d862ba0247 toolbar: Show icon text.
Buttons without text? Maybe I'm too old but it's nice to read
what the button you're using actually does. Toolbar scrolls.
2020-01-25 13:25:36 +00:00
Alastair Poole 7a80d13488 fileselector: Do not expand.
This behaviour is simpler and more understandable.
2020-01-25 12:23:25 +00:00
Alastair Poole 4917715006 welcome: Fix issue when create fails.
Small fixes.
2020-01-24 20:57:32 +00:00
Alastair Poole 7e5e4e28a7 panel: Change lower panel alignment.
Align left.
2020-01-22 18:39:33 +00:00
Alastair Poole 7ea7eab0f7 debug: FreeBSD debugging improve.
This is more efficient. However, we need group read access to
/dev/mem. If a packager wants to do this that is fine, I'm not
too concerned about it, so fallback  by default.
2020-01-19 01:48:47 +00:00
Alastair Poole c68fba28cf mainview: Let mouse scroll move tabs.
This allows us to scroll through the list of open tabs with
the mouse.
2020-01-19 00:35:11 +00:00
Alastair Poole 013314d4a0 edit: When running as an editor use HOME.
This makes editing more reliable outwith a programming project.
2020-01-12 18:25:38 +00:00
Alastair Poole 12e17ee86e fonts: Use a more efficient method.
This existing test is far too slow (though more accurate). On
FreeBSD and OpenBSD we have strcasestr. Am happier to use this
for the sake of "usability". Keep the code around for reference.
2020-01-12 18:16:56 +00:00
Alastair Poole 44f862e224 Search: Slight changes.
Remove ELF check and "trust" edi_mime_type_get(). Also print
to console when done.
2020-01-08 20:34:47 +00:00
Alastair Poole 033328ab5e main: Remove unused function.
We don't use edi_open_file anymore. TODO is DONE also
2020-01-08 18:37:39 +00:00
Alastair Poole f2ef1377f9 edi_mime: Only map what is needed. 2020-01-08 18:19:02 +00:00
Alastair Poole fa11a56611 EDI: Be more defensie when opening files/projects. 2020-01-08 18:18:23 +00:00
Alastair Poole 156d658fda project: Hide project settings if not project. 2020-01-08 17:49:55 +00:00
Alastair Poole 73175732f4 editor: Disable items build related.
When editing, disable menu and toolbar items relative to
building software.
2020-01-07 22:16:48 +00:00
Alastair Poole 74ce34f773 Toolbar: Change position on-the-fly.
Move, hide and show the toolbar as and when config settings
change.
2020-01-04 22:56:24 +00:00
Alastair Poole 9daae59a0f gitignore: Ignore VIM .swp files!!! 2020-01-03 14:43:48 +00:00
Alastair Poole 54b8cfd4ce debug: Use appropriate array size.
As per documentation.
2020-01-03 14:18:09 +00:00
Alastair Poole 4a64a6abaf debug: Break when found 2020-01-03 13:52:06 +00:00
Alastair Poole 44a0ebad3f edi: Fix debugging on OpenBSD. 2020-01-03 13:40:57 +00:00
Alastair Poole c40b46455a debug: Improve the functionality greatly.
This is a much improved debugging implementation (Linux).
2020-01-02 02:18:53 +00:00
Alastair Poole 80647989b0 icons: Add Faenza edit-delete.
Better for edi_welcome
2019-12-31 00:02:52 +00:00
Alastair Poole 1bc99ed14e fileselector: Dont set expandable 2019-12-30 23:43:33 +00:00
Alastair Poole d9d94f4cd9 toolbar: Use focus on mouse-in and animate.
This makes the toolbar somewhat more visually responsive.
2019-12-30 23:11:49 +00:00
Alastair Poole c4088de182 background: Use our edi_about image for bg.
There was/is text. Will see feedback and react to that.
2019-12-29 19:07:46 +00:00
Alastair Poole 872984d88f Toolbar: Use smaller icons. 2019-12-29 19:07:08 +00:00
Alastair Poole f01715a8d9 filepanel: fix menu when scm disabled 2019-12-29 01:09:54 +00:00
Alastair Poole e53f6aa2f1 Mime: Fix for 0 size files. 2019-12-29 00:53:24 +00:00
Alastair Poole 57f9ae1c93 welcome: Fix for clones project templates. 2019-12-28 23:11:13 +00:00
Alastair Poole aa0f625f50 main: Add usage as an editor.
If we run EDI with a file as its first command-line argument
this will open as an editor with full capabilities.
2019-12-28 22:12:34 +00:00
Alastair Poole 87a526a340 main: minor tidying. 2019-12-28 21:27:29 +00:00
Alastair Poole 264a94ba1c Toolbar: Bring back to single window.
We can now offer horizontal/vertical toolbar within the main UI.
For now this requires a restart.
2019-12-28 17:30:26 +00:00
Alastair Poole e0ed366414 icons: More icons.
Hopefully this will encourage someone to create uniqu
e icons
for this project. For now using Faenza which are nice
2019-12-26 19:04:08 +00:00
Alastair Poole faaee7c0f9 icons: Add more generic default icons 2019-12-26 18:53:38 +00:00
Alastair Poole 3b7dd91577 tb: More changes 2019-12-26 18:00:55 +00:00
Alastair Poole 82bcd14ffc Menu: Minor changes 2019-12-26 15:50:52 +00:00
Alastair Poole 2b25a89d90 Menu: Change behaviour 2019-12-26 15:36:29 +00:00
Alastair Poole aea907e0d7 ICONS: Use internal icons.
This can be enabled/disabled within Edi Settings
2019-12-26 14:24:42 +00:00
Alastair Poole e7373855d9 Fix transparancy 2019-12-24 01:41:52 +00:00
Alastair Poole 4095c75438 toolbar: use static state storage. 2019-12-24 00:51:06 +00:00
Alastair Poole 03a21e0401 toolbar: Some minor changes 2019-12-22 19:34:59 +00:00
Alastair Poole f0037553ab Toolbar: Controversy. Horizontal or vertical.
Let's see what people think. More to do.
We're giving the toolbar its own window.
2019-12-22 14:42:06 +00:00
Alastair Poole a033aa1de9 Revert "toolbar: experiment"
This reverts commit ecd065e358.
2019-12-21 02:37:54 +00:00
Alastair Poole ecd065e358 toolbar: experiment 2019-12-21 02:12:24 +00:00
Alastair Poole 55084ea2ec edi_welcome: Formatting. 2019-12-20 22:26:12 +00:00
Alastair Poole 9217df2da2 Accidentally included file (remove) 2019-12-20 22:22:58 +00:00
Alastair Poole c403f76825 welcome: Much better exec and then exit.
This was causing all sorts of complications. Just fork/exec
edi and then exit from welcome.
2019-12-20 22:20:54 +00:00
Alastair Poole d45bb357ef Edi_Mime: Use our own variation to detect mime.
Replace efreet_mime_type_get with our own internal
edi_mime_type_get. Due to inacurracies do our own test for
binary file.
2019-12-20 18:00:57 +00:00
Alastair Poole be5868e8d4 Settings: Fix debugger combobox sizing. 2019-12-16 22:25:31 +00:00
Alastair Poole 1d7662d02c Welcome: Fix icon size and create project UI.
Template icons are now properly sized, also the widget now
displays its content properly.
2019-12-16 21:37:39 +00:00
Alastair Poole 28af3d56ae process: Check for NULL return value. 2019-12-16 21:13:14 +00:00
Alastair Poole 0573f46256 OpenBSD: -lkvm and use PID_MAX 2019-12-15 21:51:10 +00:00
Alastair Poole af5d2a6bed filepanel: Use consistent icon size. 2019-12-15 17:22:06 +00:00
Alastair Poole ee376c04a9 filepanel: Add Undo (checkout) to SCM Menu.
Add an option to checkout file to last commit to
the menu.
2019-12-15 17:09:12 +00:00
Alastair Poole 905d232d31 editor: Add Shift+Insert Handling 2019-12-15 16:12:41 +00:00
Alastair Poole 5682b021ca Toolbar: Make icons homogeneous. 2019-12-15 13:33:45 +00:00
Alastair Poole 9055c4d40c Panel: Increase icon size. 2019-12-15 12:47:30 +00:00
Alastair Poole a6b3462487 toolbar: Return to toolbar at top.
The hope is to make things straightforward for users.
Traditional icon and text is more clearly understandable.
2019-12-15 12:39:46 +00:00
Alastair Poole 89077e4659 statusbar: remove hack workaround.
This used to affect widget sizing. Remove this hack.
2019-12-06 19:08:34 +00:00
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