Commit Graph

55 Commits

Author SHA1 Message Date
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
Andy Williams 08547bbd3a Add translation support
Fixes T5901
2017-09-11 21:06:22 +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
Andy Williams 19c62faa48 console: Fix error highlighting for builds
Also avoid potential crash on non-gnu systems
2017-06-09 10:36:09 -07:00
Andy Williams 65dc251098 ui: When tests are running show the build results first
As soon as test results appear then show the test panel
2016-12-26 18:33:16 +00:00
Marcel Hollerbach 0154ee168a edi: follow namespace change from Eo_Event to Efl_Event 2016-09-04 19:48:08 +02:00
Andy Williams 4d92303f3a Update to the EFL 1.18 release 2016-08-18 15:05:09 +01:00
YeongJong Lee 2f41b6ca28 Adjust the code according to the eo event stop changes.
Summary: Changed the way Eo event callbacks are stopped.

Test Plan: 1. make

Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D4114
2016-07-01 10:18:28 +01:00
Andy Williams 2262d7bf1c elm_code: Removed and migrated to using the elementary merged version 2016-06-10 10:03:40 +01:00
Andy Williams def75fb0e8 elm_code: Fix build for updated eolian_gen output 2016-05-19 22:17:52 +01:00
Andy Williams 4da81eac5e [test] use correct parsing of test errors 2016-05-16 11:01:40 +01:00
Andy Williams ce706b6623 [test] Fix parsing for tests that crash.
Report a test failure when we crash rather than defaulting to pass
2016-05-16 10:12:58 +01:00
Hermet Park 6fc4e26c44 fix build break.
eo event interface has been changed.
just updated it.
2016-04-14 10:48:33 +09:00
Andy Williams b3a9bd0f2c Update to latest eo syntax
Thanks for the script Tom :)
2016-03-10 00:06:50 +00:00
Andy Williams e3ed8806c3 elm_code: add legacy API.
Refactor eo API in line with elm_obj_* elsewhere
2015-06-02 08:22:36 +01:00
Andy Williams f4c48d4ca9 elm_code: support setting custom fonts
For EDI create the config that would allow this to be altered.
Actual setting widget to follow...
2015-05-30 10:31:46 +01:00
Andy Williams bf17d7c8af config: save project config in the project dir
globally storing info about projects loaded, file associations
and the general user preference.

GUI and usage settings stored in <project>/.edi folder
2015-05-16 09:59:08 +01:00
Andy Williams 4583d2d800 testpanel: fix crash for short log lines
And correctly highlight test failures
2015-03-21 21:55:28 +00:00
Andy Williams b97da3b70a Merge branch 'master' into devs/ajwillia-ms/elm_code 2015-03-08 22:27:38 +01:00
Andy Williams e62ddd5bc1 config: add settings screen
Add a new autosave flag, upgrade config so it's set.
Listen to a config_changed event to update UI where required.
2015-03-08 22:14:25 +01:00
Andy Williams ff68af7076 elm_code line: unsigned int for length 2015-03-08 11:14:02 +01:00
Andy Williams 7ed4aa9695 Merge branch 'master' into elm_code
Conflicts:
	elm_code/src/lib/elm_code_diff_widget.c
2015-02-28 15:31:57 +00:00
Andy Williams e0477ff3cb elm_code: require an elm_code for each widget
In our finalizer we ensure that an elm_code is set.
No longer allow code_set to be called after construction.
2015-02-28 13:22:38 +00:00
Andy Williams 079a65a98b merge changes from master 2015-02-26 13:56:50 +00:00
Andy Williams 881860bc15 console: Fix possible crash if errors occur before make starts 2015-02-25 23:29:31 +00:00
Andy Williams 0e49f40ff3 elm_code: Support text insertion for simple edits.
Hook into the widget for elm_code_test and edi editors.
Only alphanumeric and space, but it's a start.
2015-02-22 20:07:08 +00:00
Andy Williams bf81658432 console: Fix where clicking an error does nothing
Fix up the directory parsing to link current directory
to the line an error was reported in.
2015-02-21 14:04:55 +00:00
Andy Williams ac35cc30d9 elm_code: Tidying our callbacks and line manipulation.
Now the line_done callback allows styling to be set during the load process.
2015-02-14 23:14:06 +00:00
Andy Williams 7c8d84d110 Fix a few warnings and possible build issues 2015-02-08 00:55:51 +00:00
Andy Williams 8c8a890d58 Cleaner test output, add click on test failures.
Open a file at the location of the test failure if detected
2015-01-30 00:08:12 +00:00
Andy Williams 3cd5ec7003 Replace consolepanel with elm_code.
It may not have the nice cursor but it's quicker and scrolls correctly :)
2015-01-28 22:40:49 +00:00
Andy Williams ae12a8406c Add proper gravity control when lines are being added to the widget.
Most useful will be (0.0, 1.0) which will cause the display to act like 'tail'.
2015-01-28 14:16:46 +00:00
Andy Williams 01cb36f510 More updates to correct API/export declarations for Windows.
Various changes brought in. Patch from Vincent Torri - thanks
2015-01-10 17:43:12 +00:00
Andy Williams 50c5cb572b Refactor eo widget2 to widget - update in edi too 2015-01-26 19:05:34 +00:00
Andy Williams 159c47d340 Port everything to use new widget API. Remove old widget API 2015-01-26 14:00:37 +00:00
Andy Williams 823c2e2a86 Improving portability again 2015-01-10 17:12:52 +00:00
Andy Williams 40172fa83e Fix a crash on building a brand new project.
Submitted by Kelly Wilson
2015-01-15 22:52:15 +00:00
Andy Williams 1fb649b732 Add a config system for remembering settings etc
.
Add a recent projects list to our welcome page which remembers what we open
2014-12-01 16:54:17 -06:00
Andy Williams 896452e559 Merging in refactoring of elm_code file lookups and edi mime lookups.
Elm_Code file no longer required for elm_code to function (in memory is created automatically).
2014-11-28 23:53:23 +00:00
Andy Williams 04dda232b6 Use an in-memory file for new elm_codes by default.
This is overridden as before by calling elm_code_file_open which will free the previously set file on that elm_code instance
2014-11-28 08:55:42 +00:00
Andy Williams c9c2b5981d Fix the director parsing of build output.
It seems that different quotes are used so let's stop at the space and assume a sing quote of some sort follows
2014-11-25 23:17:29 +00:00
Sanjeev BA fc6cd2e209 Fix the pattern to be matched for setting current_dir. Resolves edi crash on build errors.
Signed-off-by: Sanjeev BA <as2902.b@samsung.com>
2014-11-25 12:02:13 +09:00
Andy Williams 586bbb41aa Add an option to change the font size of our widget
demonstrate in the test and use it to make the logs more readable in edi
2014-11-22 19:14:53 +00:00
Andy Williams 7690ffe46d Merge master 2014-11-22 16:45:33 +00:00
Andy Williams 22dc13effa Lay out the UI better so you can use with panels open
Changing from panels to panes - have dividers that are
moved around appropriately to simulate panel behaviour
without hiding the contents of a file being edited.
2014-11-22 15:56:16 +00:00
Andy Williams 822ef10934 Actually use the eina_file memory mapping
Any appended or modified lines need to be stored seperately.
Always check for modified content before using the memory map from the
backing file.
2014-11-19 22:39:00 +00:00
Andy Williams a82431c627 Add tests PASSED and FAILED to elm_code statuses
and the widget rendering.

Use this in EDI to add a test summarising panel.
Tests are executed in verbose mode so we can list
all the tests that have been run - can summarise
later if we wish...
2014-11-18 21:11:10 +00:00
Andy Williams 263b3da155 Fix scrolling to added line in console panel.
Scroll to the bottom manually rather than relying on gravity
2014-10-12 13:06:23 +01:00
Andy Williams 9ac976aa17 Add mime or requested type to text editor status bar.
Some refactoring to start splitting out file management from UI
2014-09-13 16:48:16 +01:00