Andy Williams
cc3ae23d4b
Update various headers to use Elm_Code to load all our public headers and fix a few build glitches
2014-12-24 18:16:38 +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
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
d6da31acf3
Add parse hooks for lines and files within elm_code.
...
This required changing the load order so file opens would read the elm_code->parsers setup. This makes for a better setup anyhow
2014-11-16 23:52:41 +00:00
Andy Williams
99e6dfbbd9
Add a simple token system to allow us to render some text styles
2014-11-13 21:34:47 +00:00
Andy Williams
c28dd39224
Add a file load callback also - respect that with a widget refresh when called
2014-11-12 22:59:05 +00:00
Andy Williams
131a686c78
Fix the types of Eo Events - addresses lots of compiler warnings
2014-11-09 21:53:30 +00:00
Andy Williams
fdccc03a4a
Passing Eo events from Elm_Code to the Evas_Object when the backend data changes. Track a list of all widgets connected to the Elm_Code so we can signal them all. Add API to change status of a line which will refresh the widget too.
2014-11-06 23:43:56 +00:00
Andy Williams
4be9198da5
Adding some initial concept of status flags for a line and default enum to start working on color pallette in our widget. Load enough colors to provide these statuses and hook into the EDI log panel implementation
2014-11-05 00:01:28 +00:00
Andy Williams
a28e199c72
Add an initial stab at an elm_code widget. It currently does not refresh at any time other than load or resize, so is not respecting content updates, but it's a start.
...
Use it in place of the list of elm_label objects that were rendered in the log panel. Not colour highlighted yet, but one thing at a time.
2014-11-04 22:21:49 +00:00
Andy Williams
0ad14fac14
Allow appending of lines to an Elm_Code_File, allow Elm_Code_File objects to be created empty without reading from a filesystem source
2014-11-04 21:05:29 +00:00
Andy Williams
83c0e231ec
Add basic structure for elm_code object - namespacing the elm_code_file properly to keep it clean
2014-10-26 22:47:27 +00:00