Commit Graph

194 Commits

Author SHA1 Message Date
Andy Williams 04ec5efa24 welcome: Fix launch crash issue on some systems 2015-03-12 00:52:41 +01:00
Andy Williams f137cc5321 editor: fix issue with closed tabs 2015-03-15 13:27:15 +00:00
Andy Williams e62ddd5bc1 config: add settings screen
Add a new autosave flag, upgrade config so it's set.
Listen to a config_changed event to update UI where required.
2015-03-08 22:14:25 +01:00
Andy Williams fcac809e97 gui: break toolbar in 2 so we can right align.
Not perfect as there's a visible break, further attempts
will need a custom theme.
2015-03-08 22:04:00 +01:00
Andy Williams 2db478cca6 create: Pick up username in Windows.
Look up USERNAME if no USER environment variable is found.
Patch from Vincent Torri
2015-02-28 15:53:39 +00:00
Andy Williams e0477ff3cb elm_code: require an elm_code for each widget
In our finalizer we ensure that an elm_code is set.
No longer allow code_set to be called after construction.
2015-02-28 13:22:38 +00:00
Andy Williams d6bb571c89 filesystem: Use standardised icon names 2015-02-27 14:49:57 +00:00
Andy Williams 881860bc15 console: Fix possible crash if errors occur before make starts 2015-02-25 23:29:31 +00:00
Andy Williams 632ed0aa11 create: Replace user lookup with a more efficient implementation 2015-02-15 21:20:35 +00:00
Andy Williams de04dec6c0 Fix a crash if andy env is not present 2015-02-15 21:03:07 +00:00
Andy Williams 9751009a7e files: Use correct icon for mime/editor type
Use mime type or user selected default type for file icons.
Use the same icon lookups for our popup menus to be consistent too.
2015-02-22 14:17:51 +00:00
Andy Williams f9242b82ab filesystem: don't refresh on every change
Just do the minimum for now - refresh when we add a file.
The constant monitoring needs a slicker refresh mechanism.
2015-02-21 14:10:25 +00:00
Andy Williams bf81658432 console: Fix where clicking an error does nothing
Fix up the directory parsing to link current directory
to the line an error was reported in.
2015-02-21 14:04:55 +00:00
Andy Williams 8ab4e93c6e welcome: Fix issue where project browsing is cancelled.
Re-enable the action buttons when we get the file chooser callback
in case the user did not select a path to open.
Patch from Vincent Torri - thanks.
2015-02-15 20:41:58 +00:00
Andy Williams 704e70a407 about: Show version in about window 2015-02-19 22:20:10 +00:00
Andy Williams eba8421411 filesystem: Update our listing if files are added or removed @fix T1857.
This needs to be improved so it does not collapse the listing etc.
The implementation needs to clean up after itself better too
2015-02-19 21:50:11 +00:00
Andy Williams d79ee5a19a Fix some warnings when compiled without clang.
Also fix format of inner preprocessor ifs.
Patch from Vincent Torri.
2015-02-15 17:53:00 +00:00
Andy Williams aae8ea89bb editor: Let's reduce calls to saving files or resetting highlights.
Keep an eye on what has to be saved.
Only re-run clang parsing if we've actually saved recently
2015-02-14 23:55:05 +00:00
Andy Williams ac35cc30d9 elm_code: Tidying our callbacks and line manipulation.
Now the line_done callback allows styling to be set during the load process.
2015-02-14 23:14:06 +00:00
Andy Williams f6f19be6cb elm_code: focus: block focus leaving text area when editable.
As well as setting when we should not have focus leave us a theme has been added.
This allows us to extend from elm_entry which is better suited to us.
2015-02-14 18:49:51 +00:00
Andy Williams 8032f0fcd6 editor: delay autosave to 5 secs but save on unfocus too 2015-02-11 22:39:25 +00:00
Andy Williams 6ac9fad7e3 Fixing some warnings on Windows.
Thanks, Vincent Torri
2015-02-11 21:25:09 +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 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
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 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 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