Commit Graph

752 Commits

Author SHA1 Message Date
Andy Williams d0ad93e47a Render all filename headers in a diff widget 2014-11-23 00:19:36 +00:00
Andy Williams 32fd7043ca Open diffs in a new window if requested 2014-11-23 00:18:57 +00:00
Andy Williams 854ebe1566 Let's use a consistant font size 2014-11-22 22:55:57 +00:00
Andy Williams a6d1aa3204 Fix warning 2014-11-22 22:44:37 +00:00
Andy Williams 2ad6be9c99 Merge branch 'devs/ajwillia-ms/elm_code' 2014-11-22 22:40:03 +00:00
Andy Williams ba42d32d5e 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 586bbb41aa Add an option to change the font size of our widget
demonstrate in the test and use it to make the logs more readable in edi
2014-11-22 19:14:53 +00:00
Andy Williams d7d0bad44c Small layout tweak to panels.
Bar controlling bottom panels should be same width as the panels
2014-11-22 16:52:14 +00:00
Andy Williams 7690ffe46d Merge master 2014-11-22 16:45:33 +00:00
Andy Williams 50732726d8 Merge branch 'devs/ajwillia-ms/elm_code' 2014-11-22 16:06:31 +00:00
Andy Williams 741bd31b0d Fix a test missed in move to mem-mapping 2014-11-22 16:01:43 +00:00
Andy Williams 22dc13effa Lay out the UI better so you can use with panels open
Changing from panels to panes - have dividers that are
moved around appropriately to simulate panel behaviour
without hiding the contents of a file being edited.
2014-11-22 15:56:16 +00:00
Andy Williams a06a9ce431 Moving the issues to phab 2014-11-19 23:51:09 +00:00
Andy Williams c78855fe22 Moving the issues to phab 2014-11-19 23:50: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 7bfce6aadc Fix minor issues I saw in passing 2014-11-19 22:42:19 +00:00
Andy Williams df1d7def50 Fix a memory corruption issue on some systems 2014-11-19 22:42:08 +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 f8896b1f54 Fix minor issues I saw in passing 2014-11-19 22:37:00 +00:00
Andy Williams 75bcfe3d80 Fix a memory corruption issue on some systems 2014-11-19 22:35:01 +00:00
Andy Williams 2387ceac88 Fix render test and an end of line corner case 2014-11-18 23:47:12 +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 86856485bd Merge branch devs/ajwillia-ms/elm_code 2014-11-18 23:04:19 +00:00
Andy Williams 4748f81023 Add some text mode icons to markup the lines for now 2014-11-18 22:48:37 +00:00
Andy Williams 6c831a2173 Fix potential crash when going to the line of a
large file.

It will not work first time, but that's a seperate issue
2014-11-18 21:42:01 +00:00
Andy Williams 5229d2107c Improve displaying of test panel when running test
Only display desired panel - others can be opened manually
2014-11-18 21:37:58 +00:00
Andy Williams e03730b913 Fix potential crash when going to the line of a
large file.

It will not work first time, but that's a seperate issue
2014-11-18 21:35:18 +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 5a7f736d95 Fix crash when appending a line off and the body
is already larger than the viewport
2014-11-18 20:56:47 +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
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