Commit Graph

247 Commits

Author SHA1 Message Date
Andy Williams 4d466dbc74 Fix many warnings.
Make the font face const char * and use eina_stringshare
2015-05-31 21:18:18 +01:00
Andy Williams 78252cefc1 run: Add args to settings for default run button 2015-05-31 19:46:18 +01:00
Andy Williams d4670583df builds: Add a run button and the launch config to support.
I expect we can support a list of these later so for now
support passing around the launch config.
2015-05-31 12:13:31 +01:00
Andy Williams 7bf0fc7c3c highlighting: Fix threading to avoid overlap crash
It's not threadsafe code within the editor so block
a thread if another is already running.
Also ditch pthread for Ecore_Thread :)
2015-05-30 22:56:41 +01:00
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 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 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 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 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 bd55404b42 Allow hiding of the toolbar 2015-05-18 23:17:24 +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 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 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 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 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 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 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
Andy Williams efec7c1f37 editor: add tabstop configuration
Allow setting of the tabstop. App wide for now.
2015-03-29 20:40:24 +01:00
Andy Williams 2a4d4e17f0 elm_code: Cut, copy and paste working
Current limitations that paste is into a single line
2015-03-28 17:57:47 +00:00
Andy Williams d5e405b420 search: Update replace for elm_code selection code
That should be search and replace completely ported now
2015-03-28 16:05:36 +00:00
Andy Williams f1571f296e settings: Allow configuration of line width marker 2015-03-28 00:45:20 +00:00
Andy Williams 2a1320d1f1 clang: tidy clang disposal and remove notes 2015-03-28 00:18:20 +00:00
Andy Williams b632e3abc0 tidy includes 2015-03-28 00:17:31 +00:00
Andy Williams ace8350ac2 highlighting: clear errors that no longer apply
Also refresh more regularly now it's faster
2015-03-27 23:55:17 +00:00
Andy Williams 4f8ece09cf clang: save errors and display if clicked
Using a gutter click in elm_code to print to console for now
2015-03-27 23:54:28 +00:00
Andy Williams ba5a31b884 Merge branch 'master' into elm_code 2015-03-25 20:52:14 +00:00
Andy Williams 4db1c2b826 settings: Fix compile error due to wrong type name 2015-03-25 20:48:41 +00:00
Andy Williams ff0e5323b5 editor: Delay goto until we've loaded the ui 2015-03-23 22:36:29 +00:00
Andy Williams 4fc9748db3 elm_code: add text search functions.
Update the search and replace UI to work with the new elm_ode UI.
2015-03-22 22:36:04 +00:00
Andy Williams fb7dab9c90 editor: fix goto line
broke during elm_code migration, working again
2015-03-21 21:56:59 +00:00
Andy Williams 4583d2d800 testpanel: fix crash for short log lines
And correctly highlight test failures
2015-03-21 21:55:28 +00:00
Andy Williams 8eb3978c1e elm_code widget: fire user change events
This does not yet have a "change" attached so does not
support undo/redo yet
2015-03-21 20:04:12 +00:00
Andy Williams 4aa3defb30 editor: save using elm_code's new save method 2015-03-21 19:53:21 +00:00
Andy Williams c29c9c5133 editor: display the line endings for the file 2015-03-21 13:56:27 +00:00
Andy Williams ec427d2ba4 Merge branch 'master' into devs/ajwillia-ms/elm_code 2015-03-15 19:08:26 +01:00
Andy Williams 0509eb1841 settings: configure the display of whitespace
Refresh this when config changes
2015-03-14 13:10:38 +00:00
Andy Williams 04ec5efa24 welcome: Fix launch crash issue on some systems 2015-03-12 00:52:41 +01:00