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
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
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
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
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
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
d65bc3bce9
windows support: remove the last fork
2015-01-27 22:41:36 +00:00
Andy Williams
203f2619e1
Fix crash when creating a new file
2015-01-27 22:31:12 +00:00
Andy Williams
01cb36f510
More updates to correct API/export declarations for Windows.
...
Various changes brought in. Patch from Vincent Torri - thanks
2015-01-10 17:43:12 +00:00
Andy Williams
50c5cb572b
Refactor eo widget2 to widget - update in edi too
2015-01-26 19:05:34 +00:00
Andy Williams
159c47d340
Port everything to use new widget API. Remove old widget API
2015-01-26 14:00:37 +00:00
Andy Williams
ada1529dce
Let's open .eo files too
2015-01-23 23:31:28 +00:00
Andy Williams
2249bcfc71
Adding replace support to our search bar.
...
Run a search first if one has not been, from then replace the current term and search again.
Submitted by Kelly Wilson
2015-01-18 17:36:12 +00:00
Andy Williams
b39ac7c3f7
Don't allow users to open multiple project choosers.
...
Avoiding issues of trying to open a second project in 1 app instance.
Submitted by Kelly Wilson
2015-01-17 20:10:56 +00:00
Andy Williams
823c2e2a86
Improving portability again
2015-01-10 17:12:52 +00:00
Andy Williams
032d7e5963
Move project creation to our Edi library.
...
Move to ecore_exe from fork/wait as it is more portable
2015-01-17 17:04:26 +00:00
Andy Williams
123c137a24
Don't try to open recent projects if they can't be found.
...
Allow the user to choose if it should be deleted or not before returning.
Submitted by Kelly Wilson
2015-01-15 23:13:14 +00:00
Andy Williams
e33b39aa2a
Avoid a crash when right clicking empty space on file list.
...
Show a dialog to user explaining they must choose a file.
Submitted by Kelly Wilson
2015-01-15 22:56:08 +00:00
Andy Williams
40172fa83e
Fix a crash on building a brand new project.
...
Submitted by Kelly Wilson
2015-01-15 22:52:15 +00:00
Andy Williams
de9b02ae6e
Fix logging so the bin is not trying to access the private lib domain - fixes build issues
2014-12-21 23:32:14 +00:00
Andy Williams
82d87e2578
correctly created nulled data for our lists which need to be NULL by default. Fixes T1928
2014-12-16 23:53:28 +00:00
Andy Williams
8555a54d62
Fix indentation of code
2014-12-08 21:03:26 +00:00
Andy Williams
5f55947048
Make incremental highlighting refresh a line at a time to reduce flicker on redraw
2014-12-08 21:03:06 +00:00
Andy Williams
d973bbd5c4
Improvement to incremental highlighting - its not fast but it will not get slower.
...
Next the refresh window needs to reduce and any edits should adjust the tokens we have loaded
2014-12-06 15:23:32 -06:00
Andy Williams
a36b687a47
Update the highlight code to refresh only what's on screen.
...
This is a temporary solution - saving CPUs mostly until elm_code is ready
2014-12-04 18:12:56 -06:00
Andy Williams
fc4c86fe5e
Extend config and use it to store window size and panel states.
...
Fixes T1856. Did not perform a config upgrade at this early stage - anyone caught in the update can just resize
2014-12-03 17:52:12 -06:00
Andy Williams
1fb649b732
Add a config system for remembering settings etc
...
.
Add a recent projects list to our welcome page which remembers what we open
2014-12-01 16:54:17 -06:00
Andy Williams
141a3a2107
Fix a crash bby removing some dead code.
...
Parsing will move to elm_code in the long term anyway
2014-12-01 13:11:29 -06:00
Andy Williams
5ec3492e36
Fix crash when highlighting multiple files in the background
2014-11-30 12:01:53 -06:00
Andy Williams
6fd2aed6f1
Update syntax highlighting to run in the background.
...
Hook the highlight runner into ctrl-s so you can get it to re-parse appropriately (this will be slicker with elm_code)
2014-11-30 16:25:11 +00:00
Andy Williams
5d858c938b
Smoothen panel animations to work from current space if closing
2014-11-30 02:45:49 +00:00
Andy Williams
20655d2bf9
Fix bug with undo not operating on current tab - fixes issue T1853.
...
Seems like a weird bug in the smart callbacks as they would pass the wrong event data in!
2014-11-29 20:13:18 +00:00
Andy Williams
e7b72e5b8b
Fix crash when ctrl-pgdn beyond first file
2014-11-29 20:00:45 +00:00
Andy Williams
acb4384502
Adding keyboard support for search box and improve focus control - resolves T1851.
...
Now when searching focus jumps to entry. Enter/return will execute search and escape will cancel it.
Also improve management of the search cursors too - don't leave text selected either
2014-11-29 19:44:08 +00:00
Andy Williams
ccaefbc67f
Use an Elm_Transit to animate showing and hiding of panels.
...
They still need to remember where users want them to expand to - requires storage setup
2014-11-29 19:06:02 +00:00
Andy Williams
6143e0cfc1
Fix issue where first tap on bottom toolbar would not open the correct tab
2014-11-29 18:29:24 +00:00
Andy Williams
28fbe4cbb3
Fix issue where first tap on bottom toolbar would not open the correct tab
2014-11-29 18:16:57 +00:00
Andy Williams
896452e559
Merging in refactoring of elm_code file lookups and edi mime lookups.
...
Elm_Code file no longer required for elm_code to function (in memory is created automatically).
2014-11-28 23:53:23 +00:00
Andy Williams
2538f6cf90
Refactor mime type lookup and UI creation code to use a content_provider registry.
...
This is static at the moment but could be made dynamic to allow code to hook in new views
2014-11-28 23:34:36 +00:00
Andy Williams
04dda232b6
Use an in-memory file for new elm_codes by default.
...
This is overridden as before by calling elm_code_file_open which will free the previously set file on that elm_code instance
2014-11-28 08:55:42 +00:00
Andy Williams
c9c2b5981d
Fix the director parsing of build output.
...
It seems that different quotes are used so let's stop at the space and assume a sing quote of some sort follows
2014-11-25 23:17:29 +00:00
Sanjeev BA
fc6cd2e209
Fix the pattern to be matched for setting current_dir. Resolves edi crash on build errors.
...
Signed-off-by: Sanjeev BA <as2902.b@samsung.com>
2014-11-25 12:02:13 +09:00
Andy Williams
32fd7043ca
Open diffs in a new window if requested
2014-11-23 00:18:57 +00:00
Andy Williams
854ebe1566
Let's use a consistant font size
2014-11-22 22:55:57 +00:00
Andy Williams
ba42d32d5e
Add a simple diff widget based on an incoming diff file.
...
Load that into edi if we load a diff or patch file
2014-11-22 22:36:57 +00:00
Andy Williams
586bbb41aa
Add an option to change the font size of our widget
...
demonstrate in the test and use it to make the logs more readable in edi
2014-11-22 19:14:53 +00:00
Andy Williams
d7d0bad44c
Small layout tweak to panels.
...
Bar controlling bottom panels should be same width as the panels
2014-11-22 16:52:14 +00:00
Andy Williams
7690ffe46d
Merge master
2014-11-22 16:45:33 +00:00
Andy Williams
22dc13effa
Lay out the UI better so you can use with panels open
...
Changing from panels to panes - have dividers that are
moved around appropriately to simulate panel behaviour
without hiding the contents of a file being edited.
2014-11-22 15:56:16 +00:00
Andy Williams
822ef10934
Actually use the eina_file memory mapping
...
Any appended or modified lines need to be stored seperately.
Always check for modified content before using the memory map from the
backing file.
2014-11-19 22:39:00 +00:00
Andy Williams
5229d2107c
Improve displaying of test panel when running test
...
Only display desired panel - others can be opened manually
2014-11-18 21:37:58 +00:00
Andy Williams
e03730b913
Fix potential crash when going to the line of a
...
large file.
It will not work first time, but that's a seperate issue
2014-11-18 21:35:18 +00:00
Andy Williams
a82431c627
Add tests PASSED and FAILED to elm_code statuses
...
and the widget rendering.
Use this in EDI to add a test summarising panel.
Tests are executed in verbose mode so we can list
all the tests that have been run - can summarise
later if we wish...
2014-11-18 21:11:10 +00:00
Andy Williams
d6da31acf3
Add parse hooks for lines and files within elm_code.
...
This required changing the load order so file opens would read the elm_code->parsers setup. This makes for a better setup anyhow
2014-11-16 23:52:41 +00:00
Andy Williams
3350a896ed
change the colour of strings - does not seem to apply to all strangely, will dig further into CLANG tokens later
2014-11-13 21:35:58 +00:00
Andy Williams
b88b087a84
Fix issue where console error items would not open when tapped
2014-11-12 23:43:18 +00:00
Andy Williams
34b928c72c
Adding simple build check and clean support to the CLI and main toolbar
2014-11-09 23:12:47 +00:00
Andy Williams
131a686c78
Fix the types of Eo Events - addresses lots of compiler warnings
2014-11-09 21:53:30 +00:00
Andy Williams
fdccc03a4a
Passing Eo events from Elm_Code to the Evas_Object when the backend data changes. Track a list of all widgets connected to the Elm_Code so we can signal them all. Add API to change status of a line which will refresh the widget too.
2014-11-06 23:43:56 +00:00
Andy Williams
4be9198da5
Adding some initial concept of status flags for a line and default enum to start working on color pallette in our widget. Load enough colors to provide these statuses and hook into the EDI log panel implementation
2014-11-05 00:01:28 +00:00
Andy Williams
a28e199c72
Add an initial stab at an elm_code widget. It currently does not refresh at any time other than load or resize, so is not respecting content updates, but it's a start.
...
Use it in place of the list of elm_label objects that were rendered in the log panel. Not colour highlighted yet, but one thing at a time.
2014-11-04 22:21:49 +00:00
Andy Williams
863a4a47a2
Update the syntax highlighting to work after text set - thanks a lot to herdsman for the initial patch
2014-10-23 21:14:46 +01:00
Andy Williams
f7336e9276
fix syntax mistake after changing markup type
2014-10-22 22:43:32 +01:00
Andy Williams
95958caa31
Warn if the passed parameter is not a valid project location.
...
Currently EDI can only open existing directories or create them - no single file mode
2014-10-22 22:41:23 +01:00
Boris Faure
8fadf10987
fix some compiler warnings
2014-10-22 21:16:17 +02:00
Boris Faure
d671a68877
use waitpid() instead of wait()
2014-10-22 21:09:41 +02:00
Andy Williams
76675f6298
Use the recommended formatting for colour, avoid font weight right now as it doesn't stack properly
2014-10-21 14:26:46 +01:00
Andy Williams
5402a5921f
Using the +/- format application to remove bold etc where used.
...
This requires a patch from herdsman to evas to work effectively
2014-10-20 23:20:14 +01:00
Andy Williams
174210cb02
Trying some slight optimisations for highlighting
2014-10-16 20:47:57 +01:00
Andy Williams
ae9990f06c
Tweaking syntax a little to have 1) less vivid comments and 2) the same colour for macro introducing punctuation characters as the macro they introduce
2014-10-12 13:34:41 +01:00
Andy Williams
263b3da155
Fix scrolling to added line in console panel.
...
Scroll to the bottom manually rather than relying on gravity
2014-10-12 13:06:23 +01:00
Andy Williams
84b25a2090
Implement the colouring of code based on the clang parser.
...
Has some issues with performance and failing on large files which need to be looked into.
2014-10-10 13:43:54 +01:00
Andy Williams
f11369a361
Merge the clang syntax highlight parsing work from edi PROTO.
...
That's the parsing complete but I need to hook it into style the elm_entry widget...
2014-10-09 00:06:55 +01:00
Andy Williams
d40c220e68
Add basic creation of new projects using the skeleton tool
2014-09-28 23:45:33 +01:00
Andy Williams
9ac976aa17
Add mime or requested type to text editor status bar.
...
Some refactoring to start splitting out file management from UI
2014-09-13 16:48:16 +01:00
Andy Williams
85661fc2a6
Add/remove the serch panel as elm calculations are not working if we just how / hide
2014-07-19 20:28:14 -07:00
Andy Williams
c9d52cda28
Fix new window sizing following the layout changes
2030-07-13 03:06:54 +01:00
Andy Williams
a25b043761
Move search UI into a panel at the top of the editor.
...
Correct search to work across multiple tabs within one Edi instance. Fix various issues around searc.
2030-07-12 21:12:05 +01:00
Andy Williams
21a5f2b1b4
reducing complexity a little
2030-07-10 00:04:01 +01:00
Andy Williams
64862ac5f1
Adding a status bar to editors, currently displaying line & col info
2030-07-10 00:03:26 +01:00
Andy Williams
6a6851fd4a
Initial welcome screen, working on adding the create project support
2014-06-29 23:54:29 +01:00
Andy Williams
961f65d910
Update line numbers to be the same length as content to better match the rows.
...
Still has an issue with very long files, but that's being investigated
2014-06-15 22:54:08 +01:00
Andy Williams
04a8a274a0
Correct the lining up of numbers, still a little off for scale=2, not sure why
2014-06-07 23:29:03 +01:00
Andy Williams
d90d0e3c94
Adding line numbers to the text editor.
...
Not the prettiest approach right now, but we've got a scrolling list of lines that stays aligned with the text scroll
2014-06-07 21:50:14 +01:00
Andy Williams
db613fe6ea
scroll to the line not the cursor
2014-06-07 21:44:04 +01:00
Andy Williams
43871e9a0c
kill warning about ignored return
2014-05-18 23:00:10 +01:00
Andy Williams
ce8b9a8b93
Scale windows per elm scale configuration
2014-05-19 23:52:50 +01:00
Andy Williams
c54eb7b6f2
Tidying up lots of warnings and fixing issues along the way
2014-05-19 19:19:12 +01:00
Andy Williams
c3185b2225
Let's open files that are reported on the console.
...
Adding support to open at a specific line when
opening files or switching tabs.
2014-05-18 21:26:49 +01:00
Andy Williams
a3a4f5fce6
Added basic undo support - thanks to ecrire (Tasn) for the undo_redo_do function
2014-05-15 23:25:25 +01:00
Andy Williams
d2117bac25
Begin factoring out the text editor from the mainview code
2014-05-15 22:40:19 +01:00
Andy Williams
dd4759d1b1
Scroll found text onto screen even horizontally.
...
A few other minor search enhancements
2014-03-15 13:17:24 +00:00
Andy Williams
eb38d77af9
Added goto line feature, hook in ctrl-f for search (find...)
2014-03-15 13:12:34 +00:00
Andy Williams
3deedfeeb8
Added simple search function based on Ecrire's Find/Replace
2014-04-30 23:06:16 +01:00
Andy Williams
2cc8377169
re-add to match sentinal
2014-04-27 22:31:36 +01:00
Andy Williams
70b2d3144f
Add some more testing too
2014-04-27 22:31:19 +01:00
Andy Williams
6a61c633b9
Fix some warnings
2014-04-27 21:01:42 +01:00
Andy Williams
faf86b73bb
Add icons to the console output that display next to warnings / errors etc
2014-04-27 21:01:30 +01:00
Andy Williams
75d5ac790c
Added edi_build command line application for headless operation
2014-04-27 18:31:08 +01:00
Andy Williams
5eff36e8e8
Actually use our library for building. Support ./configure and ./autogen.sh. Move some common functions to the library too
2014-04-27 17:36:20 +01:00
Andy Williams
40c206849e
Simple make function invoked from a build button and displayed in a console tab next to logs
2014-04-27 16:57:47 +01:00
Andy Williams
7b6cd95592
Add a new file button to create new files
2014-03-31 22:24:56 +01:00
Andy Williams
6a64fd9546
Key bindings. Ctrl-s triggers save, ctrl-prior and ctrl-next cycle through open tabs
2014-03-26 16:50:00 +00:00
Andy Williams
cd8954c69a
Allow the mime popup to cover the whole window
2014-03-14 13:44:09 +00:00
Andy Williams
97f95aaa17
Add buttons that extend the area that's tappable to show the panels
2014-03-14 13:43:34 +00:00
Andy Williams
89af681bb1
Add icons to the file type picker
2014-03-14 11:42:08 +00:00
Andy Williams
e1f363783d
Add a simple content type picker if the mime is not recognised
2014-03-14 10:30:36 +00:00
Andy Williams
cecc51cd90
Use panel overlays so we can slide in the extra content
2014-03-14 09:41:09 +00:00
Andy Williams
c2e20c1132
Add the app name to the title of the file windows
2014-03-13 18:48:28 +00:00
Andy Williams
90b2389a74
Manage open-in-new-window requests for files or open tabs. When selecting a file that is in a window raise the window rather than selecting the tab
2014-03-13 18:31:24 +00:00
Andy Williams
c25bab1220
Use more standard icons
2014-03-13 16:34:05 +00:00
Andy Williams
aacba8c61a
Make the text editable even on latest elementary
2014-02-26 10:06:54 +00:00
Andy Williams
c50d52e89a
Track tabs and content together to fix the sync bug.
...
Using a new strut we can track more info about each item that we're displaying
2014-02-26 09:13:28 +00:00
Andy Williams
d8e430285a
Remove the extra callback, we can just make type a required parameter that can be null
2014-02-26 08:17:44 +00:00
Andy Williams
17b90a8876
Add an open-as menu so we can override the mime type detection
...
The mime / type registration requires some work - there are a few magic values here that need to be formalised
2014-02-26 07:28:24 +00:00
Andy Williams
16017019b3
Add actual log output to the log panel.
...
Using Eina_Log we hook in a custom print function that adds lines to our log UI.
2014-02-26 04:32:12 +00:00
Andy Williams
a68260fa23
Add an image preview type as well - why not
2014-02-22 00:16:56 +00:00
Andy Williams
0cdaddf29a
Fix monospaced text
2014-02-23 20:22:47 +00:00
Andy Williams
7141262664
Add a right click menu for xdg-open
2014-02-23 20:22:32 +00:00
Andy Williams
22fcc4998f
Make the filepanel expandable
2014-02-22 16:01:21 +00:00
Andy Williams
14c8f61986
attempt to look up icons for the file
2014-02-19 21:43:36 +00:00
Andy Williams
568ab38d54
Let's only open plain text fils mkay?
2014-02-19 19:24:50 +00:00
Andy Williams
82655964ea
Load a project directory from the command line or by displaying a folder picker
2014-02-16 19:55:00 +00:00
Andy Williams
4437672cad
Add a more useful toolbar of functions. Set a more usable font for editing and make autosave a config option
2014-02-16 17:09:55 +00:00
Andy Williams
1899233c01
whitespace fixes
2014-02-16 00:31:10 +00:00
Andy Williams
be30e5e24c
If a file is open then re-focus the loaded file. Don't open directories or non-files
2014-02-16 00:29:00 +00:00
Andy Williams
6e27500f68
Adding (blind) loading of files as text for editing. Use a naviframe for holding the content and a callback from filepanel through main to open new files
2014-02-15 23:17:40 +00:00
Andy Williams
db5f776939
Order files by name in the tree
2014-02-15 14:44:55 +00:00
Andy Williams
71534f3c5a
Using Eina_File instead of Eio makes the tree much easier
2014-02-15 14:41:57 +00:00
Andy Williams
5d8981d09d
Loading the panel from the filesystem. organise out a little and commit where i've got to
2014-02-14 23:50:25 +00:00
Andy Williams
4e0c68a540
Correct the toolbar issue
...
Actually contain everything in a vbox - don't try to pack toolbar into a pane
2014-02-12 23:20:29 +00:00
Andy Williams
476c6c5d9c
Add some layout and dummy content
2014-02-12 23:02:09 +00:00
Andy Williams
97f3e99c06
Update some copyright bugs from script
2014-02-12 20:58:43 +00:00
Andy Williams
78dc9c0932
Output of eflprj with a couple of tweaks - and EDI is born
2014-02-12 20:56:20 +00:00