Commit Graph

1022 Commits

Author SHA1 Message Date
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
Andy Williams 227c883b65 A little more markup to the diff example with character add/rem/change highlighting 2014-11-13 21:51:23 +00:00
Andy Williams 3350a896ed change the colour of strings - does not seem to apply to all strangely, will dig further into CLANG tokens later 2014-11-13 21:35:58 +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 361e67c57a Fix issue where console error items would not open when tapped 2014-11-12 23:44:07 +00:00
Andy Williams b88b087a84 Fix issue where console error items would not open when tapped 2014-11-12 23:43:18 +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 f429afa47d Fix compilation of tests 2014-11-12 14:05:56 +00:00
Andy Williams 34b928c72c Adding simple build check and clean support to the CLI and main toolbar 2014-11-09 23:12:47 +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 e3fd501e9b Fixing some warnings. Not ideal handling of the Eo_Event_Description but it's less warn-tastic 2014-11-09 18:07:03 +00:00
Andy Williams f8a92218da Add some simple version control status for lines too.
Add a simple display of how that could work to elm_code_tesst
2014-11-09 14:44:35 +00:00
Andy Williams 3e860e9ba7 Adding simple build check and clean support to the CLI and main toolbar 2014-11-09 14:08:52 +00:00
Andy Williams 742e70186c Take line coloring to the end of the line 2014-11-09 00:47:00 +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 051e03ba99 Add a simple elm_code_test binary that loads the widget and inserts some demo text 2014-11-05 13:55:37 +00:00
Andy Williams 4eec76793b Fix a crash when resizing if the file is longer than the viewport 2014-11-05 13:36:54 +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
Andy Williams 3d35a3f949 Add some documentation grouping 2014-10-26 22:08:52 +00:00
Andy Williams 84414c6e1b Merging in master 2014-10-23 21:24:20 +01:00
Andy Williams 863a4a47a2 Update the syntax highlighting to work after text set - thanks a lot to herdsman for the initial patch 2014-10-23 21:14:46 +01:00
Andy Williams f7336e9276 fix syntax mistake after changing markup type 2014-10-22 22:43:32 +01:00
Andy Williams 95958caa31 Warn if the passed parameter is not a valid project location.
Currently EDI can only open existing directories or create them - no single file mode
2014-10-22 22:41:23 +01:00
Andy Williams 50b9cd16f7 Fix building out of tree 2014-10-22 22:03:39 +01:00
Boris Faure 8fadf10987 fix some compiler warnings 2014-10-22 21:16:17 +02:00
Boris Faure d671a68877 use waitpid() instead of wait() 2014-10-22 21:09:41 +02:00
Andy Williams 383bae2def Update tests to use the proper api check 2014-10-21 22:28:12 +01:00
Andy Williams a50fd20f06 warning-- 2014-10-21 22:27:10 +01:00
Andy Williams 76675f6298 Use the recommended formatting for colour, avoid font weight right now as it doesn't stack properly 2014-10-21 14:26:46 +01:00
Andy Williams 4eaf564f01 Use the recommended formatting for colour, avoid font weight right now as it doesn't stack properly 2014-10-21 14:26:01 +01:00
Andy Williams 9838f4b35c Using the +/- format application to remove bold etc where used.
This requires a patch from herdsman to evas to work effectively
2014-10-20 23:22:13 +01:00
Andy Williams 5402a5921f Using the +/- format application to remove bold etc where used.
This requires a patch from herdsman to evas to work effectively
2014-10-20 23:20:14 +01:00
Andy Williams 6cf6df3886 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 0bb5201e3c Load lines sequentially and insert to a structure for reference 2014-10-19 22:29:44 +01:00
Andy Williams 69feac6ced updated gitignore 2014-10-17 23:46:42 +01:00
Andy Williams 16ca047e64 Disable a broken test for now - we're focussing on testing elm_code at the moment 2014-10-17 23:43:43 +01:00
Andy Williams 676018f60d Disable a broken test for now - we're focussing on testing elm_code at the moment 2014-10-17 23:43:15 +01:00
Andy Williams b38f986767 A pretty slim test of file loading and initial path apis 2014-10-17 23:36:07 +01:00
Andy Williams a78a0301e7 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
Andy Williams 174210cb02 Trying some slight optimisations for highlighting 2014-10-16 20:47:57 +01:00
Andy Williams ae9990f06c Tweaking syntax a little to have 1) less vivid comments and 2) the same colour for macro introducing punctuation characters as the macro they introduce 2014-10-12 13:34:41 +01:00
Andy Williams f7639a9631 Update TODO list in sync with feature completion and wiki changes 2014-10-12 13:07:19 +01: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 84b25a2090 Implement the colouring of code based on the clang parser.
Has some issues with performance and failing on large files which need to be looked into.
2014-10-10 13:43:54 +01:00
Andy Williams f11369a361 Merge the clang syntax highlight parsing work from edi PROTO.
That's the parsing complete but I need to hook it into style the elm_entry widget...
2014-10-09 00:06:55 +01:00
Andy Williams d40c220e68 Add basic creation of new projects using the skeleton tool 2014-09-28 23:45:33 +01:00
Andy Williams 451137c70f Include the skeleton tool in the edi build so we can work on project creation 2014-09-13 22:30:20 +01:00