Commit Graph

733 Commits

Author SHA1 Message Date
Andy Williams f0cc459a55 Fix some bad memory access during widget creation 2015-08-23 23:23:07 +01:00
Andy Williams 93ee90a302 new file: create in selected directory
When the filepanel selected item is a directory place new
files in that location rather than project root.
2015-07-17 10:30:25 -07:00
Andy Williams 1c7e2b3873 editor: improve goto line dialog
Focus the input when we show and allow enter press to submit.
Also refactor it out of the edi_main mess.
2015-07-16 22:36:15 +01:00
Andy Williams f80b901195 editor: allow cursor placement in blank file
This way we can start editing a newly created file!
2015-06-10 23:33:46 +01:00
Andy Williams 4af0936331 editor: Fix crash opening empty files 2015-06-10 23:32:15 +01:00
Andy Williams 8d17e2710f editor: fix a strange crash in calculations
Seems that gutter was not always correct after eo_do
2015-06-09 22:31:57 +01:00
Andy Williams 4da088b51c tabs: load in the correct order...
Remove some unneeded duplication at the same time
2015-06-09 22:31:33 +01:00
Andy Williams cfa86db750 elm_code: Fix tab behaviour following API changes
Moved the tabwidth calculations to widget as that's where
they actually make sense
2015-06-08 23:13:03 +01:00
Andy Williams 1cc89c78a2 elm_code: remove selections if moving cursor
The selection remaining after cursor move was getting confusing
2015-06-07 23:13:26 +01:00
Andy Williams 7cc03ec58d remove tabs from indent 2015-06-07 23:12:31 +01:00
Andy Williams 2604a3cdfd texts: fix tests broken in previous refactor 2015-06-07 23:12:05 +01:00
Andy Williams 866d22c40b elm_code: indent lines to match whitespace above
We can look at more complex scope based indenting later
2015-06-07 23:11:25 +01:00
Andy Williams 1998483d06 docs: Fix manpage and skeleton manpage 2015-06-04 08:40:43 +01:00
Andy Williams 3f86407481 elm_code: consistently use 0 based text index
This means it's more familiar as regular string work when
using the elm_code_line APIs. It's also more distinct from
the elm_code_widget layout which is still 1 based columns.
To support unicode we must convert correctly.
Now FIXED!
2015-06-03 21:29:31 +01:00
Andy Williams e3ed8806c3 elm_code: add legacy API.
Refactor eo API in line with elm_obj_* elsewhere
2015-06-02 08:22:36 +01:00
Andy Williams 80edaa953b Fix dist of licenses 2015-06-02 08:18:36 +01:00
Andy Williams a15f535f35 Fix making after updating COPYING text 2015-06-02 00:18:47 +01:00
Andy Williams 247f940a18 Fixing make dist 2015-06-01 23:17:10 +01:00
Andy Williams 0b86f4214f Clarify EDI licensing.
The Elm_Code module is seperately licensed (verified by it's contributors)
EDI should have been GPLv2 not v3 - disambiguation mistake from earlier
2015-06-01 14:07:36 +01:00
Andy Williams 98f90cb841 Remove confusion with old GPLv2 files
this is GPLv3 (see COPYING)
2015-06-01 13:37:34 +01:00
Andy Williams a993e3f7b5 Fix header location 2015-06-01 00:26:24 +01:00
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 32cbed4248 We're working towards 0.1 2015-05-31 12:13:53 +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 01fd2997d2 performance: Fix issue where EDI would slow down
a bad circular problem where an error with tooltips causes more
tooltips to be spawned...
2015-05-30 22:48:35 +01:00
Andy Williams 93dd91d845 tests: make content provider test work again 2015-05-30 20:47:20 +01:00
Andy Williams 86d5afb25d fix crash when deleting over a line ending 2015-05-30 20:46:34 +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 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