Commit Graph

1078 Commits

Author SHA1 Message Date
Andy Williams 288f408d88 elm_code: Tidy up some unused code and fix up some focus management 2015-02-10 23:02:45 +00:00
Andy Williams 4b85f85391 about: Fix window to be a dialog and layout a little to fit the dialog theme 2015-02-09 14:38:32 +00:00
Andy Williams 3a3bf2b6db editor: Control the auto-save function locally so we can re-sync with clang.
This should mean that highlighting, whilst still slow and flickery, does not corrupt.
2015-02-08 23:22:16 +00:00
Andy Williams 87c35fcf27 about: add a donate button too 2015-02-08 23:22:15 +00:00
Kelly Wilson 1a4843fba8 Mainview: prior/next tabbing wrap
Add wrap around for 'ctrl-prior' and 'ctrl-next' in the mainview naviframe
2015-02-08 14:38:46 -07:00
Andy Williams 7c8d84d110 Fix a few warnings and possible build issues 2015-02-08 00:55:51 +00:00
Andy Williams d648b31713 help: Add an about EDI screen.
Refactor code a little to help organise these support screens
2015-02-08 00:24:21 +00:00
Andy Williams 9d513c2ed5 Let's ignore make's dirstamp files 2015-02-07 16:47:55 +00:00
Andy Williams fbd84d8782 config: Fix indentation, pluralisation and tests for remember-mime work 2015-02-07 16:37:36 +00:00
Andy Williams 782efd79ca Merge remote-tracking branch 'github/master' 2015-02-07 16:09:32 +00:00
Andy Williams 8572b15534 Finally fix make distcheck - clean up Makefiles properly 2015-02-07 16:05:42 +00:00
Andy Williams b3bf819da6 skeleton: Distribute the skeleton files as tarballs.
This allows us to avoid garbage files remaining and gives better control over permissions too
2015-02-07 16:02:05 +00:00
Kelly Wilson cb872785f4 Config: remember file types
We now associate the mime type of a file with the type of file to open. So open a .py file as text once and then you won't be prompted any more.
2015-02-07 01:13:40 -07:00
Andy Williams 8bded5325d Fix issues with distcheck.
Only remaining is a permissions problem with skeleton - will be fixed soon.
2015-02-06 23:45:50 +00:00
Andy Williams c233fcad81 Split code editor type from text, don't try to highlight text.
Update our internal registry to know the difference between text and code.
Add some tests that verify we're getting the right type of editor.
2015-02-06 14:16:26 +00:00
Kelly Wilson 0b5fa028bb Content Provider: add new types
Add C++ .cpp and .hpp file types to our mime type detection function.
2015-02-05 18:27:02 -07:00
Kelly Wilson 1c92229d71 Build: add cmake builder
Add ability to build a cmake project. This specifically makes a new build directory in the base directory for building, as that is the recommended cmake strategy.
2015-02-05 12:16:54 -07:00
Andy Williams b333e47c24 Provide project creation through the edi_build command line app 2015-02-03 22:31:17 +00:00
Andy Williams d47a6181cb elm_code: Bring in line numbers and a left gutter
This styling makes it easier to see that symbols are not part of the text
but also makes line numbers part of the widget and they can be easily
switched on or off.
2015-02-03 13:59:50 +00:00
Andy Williams b14eabb679 Fix the tests to work with widget improvements 2015-02-03 13:55:20 +00:00
Kelly Wilson cfa0fefa90 Welcome: modify welcome popup
We decided to move the project delete icon over to the right side of the list items. Changed the icon as well.
2015-02-02 17:44:22 -07:00
Andy Williams e622acf735 Correctly lookup icon paths - @fix T2044.
Set up elm with the appropriate compile option variables.
2015-02-02 23:52:04 +00:00
Andy Williams e50ed5fb81 Merge in a new skeleton implentation.
No longer rely on a shell script to set up project templates.
Addition of year variable means that the code seems up to date.
2015-02-02 23:15:14 +00:00
Andy Williams 9ab111c3cd Use FDO icons for the toolbar.
We can switch to the elementary theme set when it's more complete
2015-02-02 23:15:07 +00:00
Andy Williams 99e0def2f0 Update TODO with latest work 2015-02-02 23:07:11 +00:00
Andy Williams 1056320432 Wait until the filtering is done to put everything in git 2015-02-02 23:01:23 +00:00
Kelly Wilson 3143ed43fc Welcome: conform to naming conventions
This fix is just renaming of a variable and a function to better reflect the naming conventions used in EDI.
2015-02-02 15:37:26 -07:00
Andy Williams 4edcc6ba16 A working skeleton processor built into EDI, no scripts needed 2015-02-02 22:07:02 +00:00
Kelly Wilson ebcca9d148 Merge branch 'hy_mixup'
Fix an incorrect comment
2015-02-02 13:32:27 -07:00
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 4b81c21639 Merge branch 'horizontal_scroll'
Don't run clang highlighting when only scrolling horizontally.
2015-02-01 16:21:08 -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
Andy Williams 02bb3db148 Expand skeleton.tar.gz and substitute replaceable text with variables.
Added year and some AUTHORS content too
2015-01-31 15:34:02 +00:00
Andrew Williams 68679607e6 Merge pull request #1 from wilsonk/mainview_focus
Fix things so that opening a new file also grabs the focus.

Add to AUTHORS file also.
2015-01-30 18:03:20 +00: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 2b1afc7179 Merging in line numbers feature.
Start a new section of code for text layout.
Formalise and style the "gutter".
2015-01-29 18:54:04 +00:00
Andy Williams 1995b167e5 elm_code: Update style and alignment of gutter 2015-01-29 14:05:20 +00:00
Andy Williams 4686fd172c elm_code: And complete the line number render first case.
Next some styling would indeed be nice...
2015-01-29 00:50:07 +00:00
Andy Williams 47f02e2dd6 elm_code: Merge n scrolling work from branch 'elm_code'
This now replaces the previous consolepanel and all the 'tailing'
panels are elm_code. The click function is still there but the
mouse cursor is not yet re-instated.
2015-01-29 00:39:36 +00:00
Andy Williams f6b7a380df elm_code: initial work on line numbers 2015-01-29 00:36:28 +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 155c18c141 elm_code: Fix click calculations.
We must take into account our scroll position and also where we are positioned
within the screen layout
2015-01-28 22:38: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 a0938ce656 Merge branch 'master' into elm_code
Conflicts:
	elm_code/lib/elm_code_widget.c
2015-01-28 00:43:57 +00:00
Andy Williams 485443240c elm_code: update scroller so content fills space.
We want to extend backgrounds under scrollbars but only scroll if it's too big.
2015-01-28 00:39:56 +00:00