Commit Graph

138 Commits

Author SHA1 Message Date
Kelly Wilson ddfaa2798e Comment fix
Fix a small mixup with a comment for horizontal scrolling
2015-02-02 13:30:56 -07:00
Kelly Wilson dffb7f4dcc Merge branch 'remove_project_button'
Add a 'remove from project' icon to the welcome windows 'Recent Projects' list.
2015-02-02 07:14:27 -07:00
Kelly Wilson 7bb6bca74c Merge branch 'open_file_new_win'
Fix a segfault when opening a file in a new window and pressing a key immediately.
2015-02-01 16:30:29 -07:00
Kelly Wilson 7aa36c6471 Edi_welcome.c: Ability to delete project
Added the ability to delete a project on the welcome screen via an 'x' beside the project name in the 'Recent Projects' list.
2015-02-01 15:15:14 -07:00
Kelly Wilson 22cfc584d6 Edi_editor.c: Fix segfault
Fix a segfault when opening a file in a new window and then pressing a key without any other interaction. Simply check if item is null and return without action if it is.
2015-02-01 09:09:25 -07:00
Kelly Wilson a64ea17e68 Fix horizontal scroll highlighting
This small change just bypasses highlighting if there is a y scroll. Vertical scrolling still updates the highlighting.
2015-01-31 12:24:25 -07:00
Kelly Wilson f33bd458c9 Fix things so that opening a new file also grabs the focus. Add to AUTHORS file also. 2015-01-30 08:39:54 -07:00
Andy Williams 8c8a890d58 Cleaner test output, add click on test failures.
Open a file at the location of the test failure if detected
2015-01-30 00:08:12 +00:00
Andy Williams 3cd5ec7003 Replace consolepanel with elm_code.
It may not have the nice cursor but it's quicker and scrolls correctly :)
2015-01-28 22:40:49 +00:00
Andy Williams ae12a8406c Add proper gravity control when lines are being added to the widget.
Most useful will be (0.0, 1.0) which will cause the display to act like 'tail'.
2015-01-28 14:16:46 +00:00
Andy Williams d65bc3bce9 windows support: remove the last fork 2015-01-27 22:41:36 +00:00
Andy Williams 203f2619e1 Fix crash when creating a new file 2015-01-27 22:31:12 +00:00
Andy Williams 01cb36f510 More updates to correct API/export declarations for Windows.
Various changes brought in. Patch from Vincent Torri - thanks
2015-01-10 17:43:12 +00:00
Andy Williams 50c5cb572b Refactor eo widget2 to widget - update in edi too 2015-01-26 19:05:34 +00:00
Andy Williams 159c47d340 Port everything to use new widget API. Remove old widget API 2015-01-26 14:00:37 +00:00
Andy Williams ada1529dce Let's open .eo files too 2015-01-23 23:31:28 +00:00
Andy Williams 2249bcfc71 Adding replace support to our search bar.
Run a search first if one has not been, from then replace the current term and search again.
Submitted by Kelly Wilson
2015-01-18 17:36:12 +00:00
Andy Williams b39ac7c3f7 Don't allow users to open multiple project choosers.
Avoiding issues of trying to open a second project in 1 app instance.
Submitted by Kelly Wilson
2015-01-17 20:10:56 +00:00
Andy Williams 823c2e2a86 Improving portability again 2015-01-10 17:12:52 +00:00
Andy Williams 032d7e5963 Move project creation to our Edi library.
Move to ecore_exe from fork/wait as it is more portable
2015-01-17 17:04:26 +00:00
Andy Williams 123c137a24 Don't try to open recent projects if they can't be found.
Allow the user to choose if it should be deleted or not before returning.
Submitted by Kelly Wilson
2015-01-15 23:13:14 +00:00
Andy Williams e33b39aa2a Avoid a crash when right clicking empty space on file list.
Show a dialog to user explaining they must choose a file.
Submitted by Kelly Wilson
2015-01-15 22:56:08 +00:00
Andy Williams 40172fa83e Fix a crash on building a brand new project.
Submitted by Kelly Wilson
2015-01-15 22:52:15 +00:00
Andy Williams de9b02ae6e Fix logging so the bin is not trying to access the private lib domain - fixes build issues 2014-12-21 23:32:14 +00:00
Andy Williams 82d87e2578 correctly created nulled data for our lists which need to be NULL by default. Fixes T1928 2014-12-16 23:53:28 +00:00
Andy Williams 8555a54d62 Fix indentation of code 2014-12-08 21:03:26 +00:00
Andy Williams 5f55947048 Make incremental highlighting refresh a line at a time to reduce flicker on redraw 2014-12-08 21:03:06 +00:00
Andy Williams d973bbd5c4 Improvement to incremental highlighting - its not fast but it will not get slower.
Next the refresh window needs to reduce and any edits should adjust the tokens we have loaded
2014-12-06 15:23:32 -06:00
Andy Williams a36b687a47 Update the highlight code to refresh only what's on screen.
This is a temporary solution - saving CPUs mostly until elm_code is ready
2014-12-04 18:12:56 -06:00
Andy Williams fc4c86fe5e Extend config and use it to store window size and panel states.
Fixes T1856. Did not perform a config upgrade at this early stage - anyone caught in the update can just resize
2014-12-03 17:52:12 -06:00
Andy Williams 1fb649b732 Add a config system for remembering settings etc
.
Add a recent projects list to our welcome page which remembers what we open
2014-12-01 16:54:17 -06:00
Andy Williams 141a3a2107 Fix a crash bby removing some dead code.
Parsing will move to elm_code in the long term anyway
2014-12-01 13:11:29 -06:00
Andy Williams 5ec3492e36 Fix crash when highlighting multiple files in the background 2014-11-30 12:01:53 -06:00
Andy Williams 6fd2aed6f1 Update syntax highlighting to run in the background.
Hook the highlight runner into ctrl-s so you can get it to re-parse appropriately (this will be slicker with elm_code)
2014-11-30 16:25:11 +00:00
Andy Williams 5d858c938b Smoothen panel animations to work from current space if closing 2014-11-30 02:45:49 +00:00
Andy Williams 20655d2bf9 Fix bug with undo not operating on current tab - fixes issue T1853.
Seems like a weird bug in the smart callbacks as they would pass the wrong event data in!
2014-11-29 20:13:18 +00:00
Andy Williams e7b72e5b8b Fix crash when ctrl-pgdn beyond first file 2014-11-29 20:00:45 +00:00
Andy Williams acb4384502 Adding keyboard support for search box and improve focus control - resolves T1851.
Now when searching focus jumps to entry. Enter/return will execute search and escape will cancel it.
Also improve management of the search cursors too - don't leave text selected either
2014-11-29 19:44:08 +00:00
Andy Williams ccaefbc67f Use an Elm_Transit to animate showing and hiding of panels.
They still need to remember where users want them to expand to - requires storage setup
2014-11-29 19:06:02 +00:00
Andy Williams 6143e0cfc1 Fix issue where first tap on bottom toolbar would not open the correct tab 2014-11-29 18:29:24 +00:00
Andy Williams 28fbe4cbb3 Fix issue where first tap on bottom toolbar would not open the correct tab 2014-11-29 18:16:57 +00:00
Andy Williams 896452e559 Merging in refactoring of elm_code file lookups and edi mime lookups.
Elm_Code file no longer required for elm_code to function (in memory is created automatically).
2014-11-28 23:53:23 +00:00
Andy Williams 2538f6cf90 Refactor mime type lookup and UI creation code to use a content_provider registry.
This is static at the moment but could be made dynamic to allow code to hook in new views
2014-11-28 23:34:36 +00: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 c9c2b5981d Fix the director parsing of build output.
It seems that different quotes are used so let's stop at the space and assume a sing quote of some sort follows
2014-11-25 23:17:29 +00:00
Sanjeev BA fc6cd2e209 Fix the pattern to be matched for setting current_dir. Resolves edi crash on build errors.
Signed-off-by: Sanjeev BA <as2902.b@samsung.com>
2014-11-25 12:02:13 +09: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 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