Alastair Poole
39b87b68f1
edi_exe: delete server object correct path.
...
The server wasn't deleted at the correct location. By fixing this
we ensure all object references are removed and destructor code
called which cleans up (including removing the socket etc).
Linux was much more lenient, though the BSD-specific lock code
brought this to light. Now this works properly.
2020-04-12 18:21:36 +01:00
Alastair Poole
98af64fd4a
scm: Add clone depth.
...
It's useful to either clone a full git history or one commit in
depth. One for cloning an existing (welcome screen) and one
shallow clone for our examples repo which is massive now!
This probably could become useful later on. It resolves the issue
of our examples being huge now.
2020-03-13 21:51:06 +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
4917715006
welcome: Fix issue when create fails.
...
Small fixes.
2020-01-24 20:57:32 +00:00
Alastair Poole
f2ef1377f9
edi_mime: Only map what is needed.
2020-01-08 18:19:02 +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
e53f6aa2f1
Mime: Fix for 0 size files.
2019-12-29 00:53:24 +00:00
Alastair Poole
9217df2da2
Accidentally included file (remove)
2019-12-20 22:22:58 +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
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
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
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
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
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
849b216c3e
build: silence warnings due to unused params/vars.
2018-08-22 15:22:24 +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
Andy Williams
83b616446c
Merge in from 0.6.1 release branch
2018-05-15 16:01:01 +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
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
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
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
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
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
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
3548e6dfe7
Fix unsafe usages of basename
2017-12-31 15:57:01 +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
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
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
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
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
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
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
Andy Williams
708c53e0bc
Fix versioning of meson build
2017-10-19 21:44:06 +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
86ae8c104f
build: Fix edi_build with meson to compile from scratch in one pass
2017-10-11 23:17:59 +01:00
Marcel Hollerbach
b7fb356e68
edi: edi_lib is not edi_lib but edi
2017-10-11 14:43:05 +02: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
Marcel Hollerbach
ac304ea2a9
time for meson!
2017-10-03 19:07:42 +02:00
Al Poole
9e7999b500
scm: Actually allow for checking of scm anywhere within a git tree.
2017-09-29 22:08:24 +01:00