Commit Graph

25 Commits

Author SHA1 Message Date
Andy Williams d8bdb6b892 Finally fix make distcheck - clean up Makefiles properly 2015-02-07 16:05:42 +00:00
Andy Williams e146890b40 Fix issues with distcheck.
Only remaining is a permissions problem with skeleton - will be fixed soon.
2015-02-06 23:45:50 +00:00
Andy Williams fb8a4351b7 Fix the tests to work with widget improvements 2015-02-03 13:55:20 +00:00
Andy Williams bc69b360bc Refactor eo widget2 to widget - update in edi too 2015-01-26 19:05:34 +00:00
Andy Williams ebcbde4882 Port everything to use new widget API. Remove old widget API 2015-01-26 14:00:37 +00:00
Andy Williams aeadf18b06 Merge branch 'master' into elm_code 2015-01-23 23:42:07 +00:00
Andy Williams 1bd963c084 install our test diff for elm_code_test binaries 2015-01-23 23:41:53 +00:00
Andy Williams ad3d545415 Fix up headers and tests to remove the exposure of some private methods.
Add some documentation whilst we're there too
2014-12-05 09:39:40 -06:00
Andy Williams 888e4217ec 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 b4a64ccc40 Add a simple diff widget based on an incoming diff file.
Load that into edi if we load a diff or patch file
2014-11-22 22:36:57 +00:00
Andy Williams e3610e1602 Fix a test missed in move to mem-mapping 2014-11-19 23:20:23 +00:00
Andy Williams 65b67ec898 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 ad14b51251 Fix render test and an end of line corner case 2014-11-18 23:46:24 +00:00
Andy Williams 649c98a53b 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 dc2e25fbb6 Refactor the widget token parsing so we can put it under test. Add simple test that demonstrates tokens split by space. 2014-11-13 23:26:30 +00:00
Andy Williams f7e0ad9dd8 Add a simple token system to allow us to render some text styles 2014-11-13 21:34:47 +00:00
Andy Williams 6465de9ca6 Fix compilation of tests 2014-11-12 14:05:56 +00:00
Andy Williams 80373debf7 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 7ed960fc52 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 a767095339 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
Andy Williams 9fcb769ba3 Update tests to use the proper api check 2014-10-21 22:28:12 +01:00
Andy Williams 3629995847 Load the content and verify from our test files.
Includes an eina_file_map_lines workaround for blank lines
2014-10-19 22:33:49 +01:00
Andy Williams 15bc74b80a Load lines sequentially and insert to a structure for reference 2014-10-19 22:29:44 +01:00
Andy Williams 6846385d44 A pretty slim test of file loading and initial path apis 2014-10-17 23:36:07 +01:00
Andy Williams 997b338270 Base addition of elm_code area within the edi codebase, including an empty test to verify it's working 2014-10-17 21:36:03 +01:00