Commit Graph

938 Commits

Author SHA1 Message Date
Alastair Poole 6311340663 editor: Typo. 2020-03-08 00:16:52 +00:00
Alastair Poole c9500ca7e5 editor: Changes in Editor Mode. 2020-03-08 00:12:26 +00:00
Alastair Poole 1ae1048960 settings: Line numbers (enable/disable).
Add an option for this as we support it.
2020-03-07 19:05:33 +00:00
Alastair Poole 7602963bd2 config: Place all UI changes into one function.
When our config changes we can update UI elements. Move all
config changed events that affect our UI into one function.
2020-03-07 10:45:22 +00:00
Alastair Poole d81ec35efe welcome: clear templates on welcome.
If we go back we should clear our examples to avoid an ever-
growing list.
2020-03-06 22:04:51 +00:00
Alastair Poole 879ed821fe main: logic fix for icon changes. 2020-03-06 15:56:26 +00:00
Alastair Poole 26f422bfd5 Examples: Introduce C# Examples.
We introduce C# examples to EDI.

Also the icon data/extra/examples/images/mono-runtime.png, which
is based on Faenza is released under the GPLv3 license (included).
The author, who goes by madmaxms or Marcus has no e-mail contact
information. His works can be found on Github at:
    https://github.com/madmaxms.

Thanks very much for such a lovely icon for our Mono/C# templates.
2020-03-06 15:36:47 +00:00
Alastair Poole 77be4c4516 DEBUG: Add Mono Debugging Support. 2020-03-06 12:23:47 +00:00
Alastair Poole b8a43052b9 CSharp: Support syntax-highligting. 2020-03-06 10:49:27 +00:00
Alastair Poole caff04d9b5 theme: Refresh filepanel on icon theme change. 2020-03-06 09:29:46 +00:00
Alastair Poole 3405a2bea6 settings: more impovement 2020-03-06 02:37:27 +00:00
Alastair Poole ceefbb6e7b toolbar: Add "clean" build option. 2020-03-06 01:50:57 +00:00
Alastair Poole fdf22ab85c mainview: check end bounds also. 2020-03-06 01:40:52 +00:00
Alastair Poole 29ed0013a1 settings: Internal Icons.
Make this part of edi_theme. Add edi_theme_interal_icons_...
Also fix settings UI response to user interactions.
2020-03-05 22:05:20 +00:00
Alastair Poole f54559cb4b Settings: Tidying up more 2020-03-05 21:28:40 +00:00
Alastair Poole 1269cc361f config: Add show/hide line width marker.
This isn't for everyone. Let's allow people to use it or not use
it. Also tidy settings up a little bit.
2020-03-05 20:08:14 +00:00
Alastair Poole 60de7053b8 editor: Improve non development mode.
Add some homage to rage...
2020-03-05 18:10:46 +00:00
Alastair Poole 1ab1c67112 debug: Improve this functionality.
Our widget is missing some features. For now we'll use an entry
to make debugging reliable and thus EDI lovelier.

We'll come back to the widget post next EFL release.
2020-03-05 17:29:57 +00:00
Alastair Poole e07bbbe8ec welcome: Help the user. 2020-03-03 12:14:47 +00:00
Alastair Poole e05da2ef41 welcome: Examples.
The examples.git repo is getting RATHER large. However it is
demonstrating here that the UI can lock if we don't use a
separate thread here. Also we need some indication something
is happening, so let's use a progressbar.

This needs some more work but for now it's better behaviour.
2020-03-02 22:44:43 +00:00
Alastair Poole a1a245b4d6 config: Change default font size. 2020-02-24 19:33:51 +00:00
Alastair Poole 886c699d3d filepane: Only expand if project. 2020-02-24 19:33:16 +00:00
Alastair Poole 218ae1d591 search: Tasks only if project. 2020-02-24 19:32:27 +00:00
Alastair Poole 6434095fcf searchpanel: Refactor search code. 2020-02-09 21:55:22 +00:00
Alastair Poole 31f27c16d3 config: Better default values. 2020-02-09 18:12:02 +00:00
Alastair Poole 78e0601856 searchpanel: Set minimum search string size.
Having a single-byte search is not a good idea.
2020-02-09 18:08:23 +00:00
Alastair Poole 44b957d2e4 searchpanel: remove pointless line append at end. 2020-02-09 15:33:24 +00:00
Alastair Poole 775a142dff debugpanel: Improve this somewhat.
Improve the debugging process and rearrange the debug panel.

In relation to icons without text:

If this was an iPhone or Android application I can understand
representing every action with a button/icon only. If you are
developing software it's much easier to know what you are doing
with a little bit of text.
2020-02-09 15:26:27 +00:00
Alastair Poole d49691999f searchpanel: Skip leading newlines. 2020-02-09 12:44:33 +00:00
Alastair Poole cfb6b12f0f searchpanel: Tidy
Fixed unused variable and formatting.
2020-02-02 21:09:34 +00:00
Alastair Poole 78e5242f62 search: Use a search entry.
Using a popup for project search isn't very intuitive. Let's
allow user input and/or a button click to determine when to
start and stop the search.
2020-02-02 20:54:06 +00:00
Alastair Poole ef7f2495e1 Settings: Set check properly. 2020-02-02 20:05:18 +00:00
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 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 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 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 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 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