Commit Graph

32 Commits

Author SHA1 Message Date
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 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 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 847e48810a BUILD: Fix changes in API for EFL 1.22 2019-03-24 15:08:38 +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 a15f318728 transparancy: update other widgets. 2018-08-13 10:42:12 +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
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 47675308fe panels: add a frame around each panel for depth and clarity.
This adds depth to the panels and the additional frame title
adds more clarity as to which panel is in use (complementing the
panel title and positional arrow indicator.
2018-05-15 13:13:33 +01:00
Andy Williams 13ffef1042 theme: roll back for the 0.7 releaes
It looks like we won't have an efl major releases soon enough to add this
2018-02-10 20:58:52 +00:00
Al Poole 57d2c5810a edi_theme: Add support for colour themes in EDI.
Finally adding theme support for Elm_Code_Widget. Fairly
self-explanatory. Settings-> Display -> Choose theme. Work
from both myself and Andy Williams on this one. A good one!
2017-11-27 23:09:51 +00:00
Al Poole cf3036d87b edi_debugpanel: fix debug panel buttons to work more reliably.
Use the timer to update the icons and fix the buttons to work well
with gdb. Doesn't affect other programs adversely.
2017-11-09 01:32:20 +00:00
Al Poole 29c5ecb538 edi_debug: improve debugging support.
This improves support and simplifies some of the debugging tasks.
2017-11-08 21:27:32 +00:00
Al Poole 332b5e1c55 debugpanel: previous commit typo.
ugh sorry!
2017-09-12 16:27:03 +01:00
Al Poole 6770e8c022 debugpanel: add useful comment.
The code looks wrong but it isn't, this comment explains why.
2017-09-12 16:25:44 +01:00
Andy Williams 08547bbd3a Add translation support
Fixes T5901
2017-09-11 21:06:22 +01:00
Andy Williams 09da41eb8e debug: remove warning on OSX 2017-06-28 20:35:36 +01:00
Andy Williams 2fc7a9a309 debug: Fix libtool command for OSX 2017-06-28 20:35:36 +01:00
Al Poole 4c4ec6e21b debugpanel: fix debug process.
Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Subscribers: bu5hm4n

Differential Revision: https://phab.enlightenment.org/D4987
2017-06-28 19:43:27 +01:00
Al Poole 650dd308d0 debugpanel: fix segv if "make clean" has removed debug executable.
Summary:
Didn't really want to add any more dialogues without discussing properly with
Andy. For now this stops a potential crash.

Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D4984
2017-06-25 11:45:58 +01:00
Al Poole 6f4113bcac debugpanel: fix OSX and add OpenBSD support.
Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D4893
2017-06-25 09:39:31 +01:00
Andy Williams c608163e31 Merge build fixes from 'arcpatch-D4917' 2017-06-25 09:17:16 +01:00
YeongJong Lee 792ca745e7 Fix build warning
Summary: Add some error log

Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D4917
2017-06-25 08:54:30 +01:00
Al Poole 9677bb4b86 general input: work around elm_entry assuming markup in input.
Test Plan: Run Edi, start a debug session. Print prt to struct member e.g. "print m->file", stops conversion to "->"

Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Tags: #edi

Differential Revision: https://phab.enlightenment.org/D4976
2017-06-18 22:56:56 +01:00
Andy Williams ca83101e61 debug: Fix up exe_free usage as it is not needed for pipe_run calls 2017-06-11 18:51:13 -07:00
Al Poole f274063917 debugpanel: automatically run gdb according to project type. libtool/generic.
Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D4852
2017-05-10 06:48:01 +01:00
Al Poole a46e32046f debugpanel: OSX uses different struct kp_proc layout. Adjust for that.
Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D4846
2017-05-03 21:01:01 +01:00
Al Poole e62a297610 debugpanel: update icons if process is resumed from the "console"
Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D4843
2017-05-02 22:03:23 +01:00
Al Poole 11f6f5871e debugpanel : Use correct system process state naming for 4.4BSD derivatives and Linux.
Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D4841
2017-05-02 21:16:36 +01:00
Al Poole a9b146da75 EDI -> Debugpanel -> Debug Process States/Signals -> Linux, OSX and FreeBSD et. al.
Summary:
Adds support for Linux, BSD and OSX for processing debug process states and signals.

With debugger icons can start and stop the process with signals. Icon also changes to indicate the process state.

Also removes the FIXME elm_code_fire bogus hack.

Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D4832
2017-05-02 20:45:15 +01:00
Al Poole 415ab788da EDI -> DEBUGPANEL -> GDB INTEGRATION -> START
Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Subscribers: bu5hm4n, ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D4822
2017-04-28 22:04:39 +01:00