Commit Graph

454 Commits

Author SHA1 Message Date
Andy Williams 10dc1c77bd setting: Add a font picker
Monospace only so we get a deccent looking result.
Mostly from the terminology project - thanks guys
2015-05-30 10:32:37 +01:00
Andy Williams 05f6cd3eac editor: trigger saves if selection cut or pasted 2015-05-30 10:31:46 +01:00
Andy Williams 9567122d09 diff: Respect configured font (size) 2015-05-30 10:31:46 +01:00
Andy Williams f4c48d4ca9 elm_code: support setting custom fonts
For EDI create the config that would allow this to be altered.
Actual setting widget to follow...
2015-05-30 10:31:46 +01:00
Andy Williams b68312de33 Fix deletion inserting random data.
Off by one error (doubled). Classic.
Lesson: Run the tests you write!
2015-05-29 13:10:25 +01:00
Andy Williams 64f33b0823 Update icons and about imagery 2015-05-26 23:59:16 +01:00
Andy Williams fe5411b5c3 settings: Split into project and global settings
This should clarify what the user is setting.
Need to make the "headers" non-clickable but not sure how
2015-05-24 13:12:37 +01:00
Andy Williams b4224ff36c settings: Fix alignment of display settings 2015-05-24 13:12:18 +01:00
Andy Williams ba2b0dd93f selection: fix crash when deleting large selection
snprintf is not the tool for simple string copy
- especially if not null terminated
2015-05-24 12:58:39 +01:00
Andy Williams 45715c69e8 update intro docs for newer build requirements etc 2015-05-21 14:04:44 +01:00
Andy Williams 6124bf4e54 Fix casing of app in desktop icon 2015-05-21 13:59:38 +01:00
Andy Williams cb33dbcfb0 better crash fix - mimic standard free() method 2015-05-21 13:58:51 +01:00
Andy Williams b4cd9cb4a1 Fix crash if closing with no project open 2015-05-20 23:26:29 +01:00
Andy Williams 7cdab3d5ad Update to latest eolian (getting stable we hope).
Also mark code as a construction property
2015-05-20 14:18:20 +01:00
Andy Williams ff7d8550e5 menu: flesh out our application menu 2015-05-19 22:32:55 +01:00
Andy Williams f1d55e70e8 Create helper for opening URLs 2015-05-19 22:28:05 +01:00
Andy Williams 498049cba1 add a main menu to EDI 2015-05-19 00:01:56 +01:00
Andy Williams 0c83f3a1bc list of important changes 2015-05-18 23:18:09 +01:00
Andy Williams bd55404b42 Allow hiding of the toolbar 2015-05-18 23:17:24 +01:00
Andy Williams b4f7301768 Fixup tests
Fixing compile errors and out of date tests. oops.
2015-05-18 19:40:06 +01:00
Andy Williams c216a32791 Use portable eina util methods for paths.
Should fall back correctly on Windows now
2015-05-18 19:25:02 +01:00
Andy Williams 3994be1264 Update to latest .eo file type 2015-05-18 19:24:01 +01:00
Andy Williams c65ac2e5c3 config: free up memory when removing projects 2015-05-18 17:56:21 +01:00
Andy Williams 1bcb2cbf95 editor: Remember open tabs and windows.
Store per-project to open what you were last working on in the project
2015-05-18 16:32:46 +01:00
Andy Williams 5cbab1fa72 editor: fix nulls being appended to lines
Should resolve issues with nulls being inserted
and also crashes on pasting into a selection
2015-05-18 15:49:24 +01:00
Andy Williams 1845bd517e fix compile error 2015-05-18 15:46:39 +01:00
Andy Williams d380f0f6d3 editor: fix memory corruption when opening new win
Fixes issue when a file opened to a new window could not then
be focussed or re-loaded after the window is closed
2015-05-18 15:45:28 +01:00
Andy Williams 6e461200c6 headers: remove includes if they are not needed
Put them in the code that needs them unless they are part of the API
2015-05-16 10:05:54 +01:00
Andy Williams bf17d7c8af config: save project config in the project dir
globally storing info about projects loaded, file associations
and the general user preference.

GUI and usage settings stored in <project>/.edi folder
2015-05-16 09:59:08 +01:00
Andy Williams 0da1c9a5e3 Settings: add a background to the window 2015-05-16 09:59:08 +01:00
Andy Williams c632fa1608 Fix issue with symbol visibility 2015-05-15 23:01:57 +01:00
Andy Williams 6a20d2a6dc editor: add pageup/down support
Page up or down by 85% of the visible window height
2015-05-12 23:15:25 +01:00
Andy Williams f9a927657d Add visibility=hidden 2015-05-12 22:23:11 +01:00
Andy Williams 94f5abd2c8 eolian_gen fixes to inheritance 2015-05-11 23:17:44 +01:00
Andy Williams 398e8ad2a0 Update elm_code widget .eo doc for EFL master 2015-05-11 23:11:28 +01:00
Andy Williams 81aa733b02 editor: wrap left and right cursor moves around
when there is a line to move to we should wrap cursor movements
2015-05-05 22:38:02 +01:00
Andy Williams ae6cfba035 editor: bind home and end keys 2015-05-05 21:49:21 +01:00
Andy Williams 74b7c2a3d3 editor: correctly paste multiline windows text 2015-05-05 21:41:29 +01:00
Andy Williams 63e5ce4e8f editor: Fix crash when pasting multi line
Not tracking length correctly so depending on what else is
in memory we could overrun the buffer
2015-05-05 21:40:22 +01:00
Andy Williams a0d6627f54 elm_code: add a TODO/FIXME standard parser
Corret some callback code and re-parse each time the file is saved.
Use this to clean up save/parse code in EDI too
2015-04-20 01:21:03 +01:00
Andy Williams 6bd0d56e13 elm_code: add multiline paste support.
Creating and breaking out a few helper text methods at the same time.
Test all that we can for this reasonably complex operation
2015-04-19 15:00:10 +01:00
Andy Williams 675bcb51ea elm_code: retain line formatting on file callback
We don't need to reset all the lines in file load - just clear
2015-04-13 00:15:21 +01:00
Andy Williams 179b0e713f clang: Fix crash if error is not related to a file 2015-04-12 23:39:38 +01:00
Andy Williams 17d8b30e00 syntax: Only display errors for current file
Clang can report from various sources,
only add those that are from the current file
2015-04-12 23:06:28 +01:00
Andy Williams bc6ec2dd6f syntax: reset status and hints when we reset token
re-use elm_code methods when we do this in edi
2015-04-12 23:04:46 +01:00
Andy Williams d03675ba71 clang: fix paths used in syntax lookup
Pass in the edi build config to get efl params.
Also find the correct system include for clang dynamically
2015-04-12 22:25:41 +01:00
Andy Williams 7489eb6e30 syntax: don't slow down by repeating tokens
Clear out the token list before each parse callback loops
2015-04-12 17:25:20 +01:00
Andy Williams 6e34ba51e8 search: Fix issue when text is at end of line
Tests were wrong, fix and add more
2015-04-12 16:56:17 +01:00
Andy Williams c0654b6c4e clang: remove debugging 2015-04-12 16:47:53 +01:00
Andy Williams 6fc3da889b Fix crash where clang encounters too many errors 2015-04-12 15:39:47 +01:00