Commit Graph

1314 Commits

Author SHA1 Message Date
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 4474f3a354 desktop: Add text/plain as default mime type.
As per gedit and kate, use Edi for text/plain
2019-12-28 23:19: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 9be05f6670 meson: Fix build 2019-12-22 17:52:51 +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 0204fdbc65 Meson: Simplify 2019-12-15 22:06: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