Commit Graph

9 Commits

Author SHA1 Message Date
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 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 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