Commit Graph

8 Commits

Author SHA1 Message Date
Andy Williams 159c47d340 Port everything to use new widget API. Remove old widget API 2015-01-26 14:00:37 +00:00
Andy Williams 4e0b183f34 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 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 69f121789e Fix a test missed in move to mem-mapping 2014-11-19 23:20:23 +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 cb79a06615 Fix render test and an end of line corner case 2014-11-18 23:46:24 +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 5fc5e3abad 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