Al Poole
bdde32ba88
edi_scm: remove bogus hack when clearing elm_code_file.
2017-10-21 01:27:19 +01:00
Andy Williams
708c53e0bc
Fix versioning of meson build
2017-10-19 21:44:06 +01:00
Andy Williams
1b3f52fa81
clang: Don't bail on first error
...
Report all errors in a file not just up to the first critical
2017-10-19 21:43:38 +01:00
Andy Williams
5523b4d449
clang: Let's load clang relative to the build commands
...
This fixes relative includes for meson and cmake projects.
2017-10-19 21:43:38 +01:00
Al Poole
e6a0cce26a
mainview: remove pointless code and guard against crash.
2017-10-19 21:41:26 +01:00
Al Poole
bab76c4eef
build: small fix for meson builds.
2017-10-19 00:37:28 +01:00
Andy Williams
b8e9786160
build: Allow meson builds to be tested
2017-10-18 23:19:47 +01:00
Andy Williams
ea7fefb8fb
Run edi tests in meson
2017-10-18 23:16:50 +01:00
Andy Williams
7bae93a8f8
welcome: Improve layout of project chooser
...
Also remove lots of hacky layout code - make it as simple as we can
2017-10-16 22:47:05 +01:00
Al Poole
cf476eaee7
welcome: make _edi_welcome_user_fullname_get less complex.
2017-10-16 10:34:59 +01:00
Al Poole
4737aa611c
skeletons: rearrange template/skeleton directory structure
2017-10-15 16:29:06 +01:00
Al Poole
f5a236bf7d
welcome: change layout, making it slightly smaller.
2017-10-15 13:50:29 +01:00
Al Poole
6ad43c2715
welcome: add visual notifcation when fields are empty.
...
This is quite subtle but I like it.
2017-10-14 13:26:29 +01:00
Al Poole
f155a58983
welcome: Improve project creation.
...
Add support for additional meta data including images and
title/descriptions. Also add a new frame to the project
creation process with more descriptive choices of project type.
Layouts can change later.
2017-10-13 22:03:20 +01:00
Andy Williams
86ae8c104f
build: Fix edi_build with meson to compile from scratch in one pass
2017-10-11 23:17:59 +01:00
Andy Williams
49b8b3f5b9
l10n: Update strings to remove non-translation and trailing symbols we can add in code
2017-10-11 16:16:29 +01:00
Marcel Hollerbach
b7fb356e68
edi: edi_lib is not edi_lib but edi
2017-10-11 14:43:05 +02:00
Al Poole
49f1d1a53d
replace: fix a typo.
2017-10-10 23:40:52 +01:00
Al Poole
7a5083c790
mainview: Add support for split-panes.
...
This adds the ability to edit multiple regions of the same
file at the same time. The views are synchronised. This
also adds a complementary function allowing us to get panel
from path name. We use this for focus sanity with our
additional split views.
2017-10-10 23:29:17 +01:00
Stephen Houston
3908d27b67
Fix meson build when clang headers don't exist.
2017-10-10 10:05:06 -05:00
Al Poole
53710764a9
edi_scm: fix use after free.
2017-10-08 14:57:46 +01:00
Al Poole
2a9d02fc2f
libedi_scm: make sure we always change to valid directory.
2017-10-08 14:44:34 +01:00
Al Poole
7ea3ce5d84
edi_scm: sanitize titie.
...
This patch ensures a consistent window title when used
internally (in Edi) or externally. The title should
correspond to that Edi provides in its window title.
2017-10-08 14:34:01 +01:00
Andy Williams
b586e84474
missing dirs mess up build
2017-10-06 16:00:00 +01:00
Andy Williams
09ce5493cd
Fix meson issues for OSX
2017-10-06 15:49:23 +01:00
Al Poole
6fe6c805bf
Revert "edi_scm: make sure we give a sensible window title."
...
This reverts commit 83adef96a9
.
2017-10-06 15:30:14 +01:00
Al Poole
83adef96a9
edi_scm: make sure we give a sensible window title.
...
When using edi_scm outside of EDI it's useful to show the
toplevel of the repository as the window title.
2017-10-06 14:24:03 +01:00
Andy Williams
3421d668f0
Fixing up linux again - need a better solution for OSX as meson bails
2017-10-06 12:41:33 +01:00
Al Poole
317f5ed646
edi_scm: dont scroll on additions to elm_code_widget.
2017-10-05 10:19:01 +01:00
Andy Williams
66ef93730b
filepanel: don't update status and scm etc for hidden files
2017-10-05 00:37:43 +01:00
Andy Williams
21d73fd38b
And link libintl
2017-10-05 00:09:30 +01:00
Andy Williams
dda9a59fc4
Fix clang lookup dirs on osx
2017-10-04 23:52:29 +01:00
Al Poole
251ea96020
edi_main: don't use exit, goto and shutdown properly.
2017-10-04 16:53:28 +01:00
Marcel Hollerbach
f0c2c4605b
meson: handle also cases when the options are disabled
2017-10-03 21:33:45 +02:00
Marcel Hollerbach
ac304ea2a9
time for meson!
2017-10-03 19:07:42 +02:00
Andy Williams
10d706a08c
Update text for SCM changes
2017-10-03 15:22:18 +01:00
Andy Williams
2bac1157db
scm_ui: Show user icon or a fallback, not both
2017-10-03 14:57:05 +01:00
Andy Williams
15a1529df0
scm: fix avatar caching memory handling
2017-10-03 14:40:10 +01:00
Andy Williams
eb6d238de6
about: Fix background alpha for changes in EFL
2017-10-03 14:24:20 +01:00
Al Poole
a1be071c4c
main: parsing command-line options.
...
Exit rather than shutdown if displaying --help or
--copyright etc.
@fix T6115
2017-10-03 14:11:50 +01:00
Al Poole
543de0a53e
Revert "about: explicitly set bg colour and alpha."
...
This reverts commit 9ef65252ed
.
This is probably hiding another issue, so reverting to its
previous state.
2017-10-02 13:25:34 +01:00
Al Poole
6e263b091e
edi_scm: initalise to quieten compiler.
2017-10-01 12:40:00 +01:00
Al Poole
fc855bf0bb
mainview: search + search/replace popups, UI improvement.
2017-10-01 11:43:52 +01:00
Al Poole
9ef65252ed
about: explicitly set bg colour and alpha.
2017-10-01 11:27:38 +01:00
Al Poole
9b5af0abfc
edi_scm: fix memory leak.
...
If cancelling the diff while it's loading can potenitally lose
the contents of the diff buffer. This patch fixes that...
2017-09-30 23:59:33 +01:00
Al Poole
76a029a09e
edi_scm: small stylistic.
2017-09-30 22:53:09 +01:00
Al Poole
16d6a44625
edi_scm: show window at appropriate time.
...
Avoid bogus flickering during startup.
2017-09-30 22:26:10 +01:00
Al Poole
4149ee7c52
scm_ui: make sure we clear the widget.
...
meh meh meh...
2017-09-30 20:56:31 +01:00
Al Poole
a49931161c
edi_scm: handle thread cancel and shutdown properly.
...
This allows to flip switches and stuff while we're rendering
and changing stuffz. So shutdown during rendering should be ok
and also we can switch between modes without spazzing out.
Thanks be to God!
2017-09-30 20:31:21 +01:00
Al Poole
9cad93b64f
edi_scm: refactor code and use threads.
...
Refactor and use a thread so we don't lock up the UI.
2017-09-30 19:51:28 +01:00
Al Poole
12dce44812
edi_scm: rename some borrowed functions.
...
Fix typo also in header.
2017-09-30 13:06:58 +01:00
Al Poole
fad276133a
edi_scm: Monitor for changes and update when possible
...
Small "refactor" of the UI also to make better use of space.
2017-09-30 12:27:19 +01:00
Al Poole
e623190fa3
edi_scm: pack list and commit dialogue on same line.
...
This gives a much wider space to display the diff output.
2017-09-30 10:05:04 +01:00
Al Poole
e5aca41ad1
filepanel: simplify code by using existing method.
2017-09-30 00:28:53 +01:00
Al Poole
448b0b164d
edi_scm: win title.
...
Sorry! Ugh
2017-09-29 22:14:01 +01:00
Al Poole
9e7999b500
scm: Actually allow for checking of scm anywhere within a git tree.
2017-09-29 22:08:24 +01:00
Al Poole
3397bc93e6
scm: header file function erroneous description.
2017-09-29 21:42:49 +01:00
Al Poole
be53c4df18
scm: Create edi_scm binary for commit dialogue and use elsewhere.
...
This removes the existing popup code. The edi_scm executable should
run in any git tree giving the status of the repository. The Edi
UI calls this for the commit dialogue also.
2017-09-29 21:37:21 +01:00
Al Poole
f66ef895b8
welcome: don't show progressbar until downloaing.
2017-09-28 22:32:23 +01:00
Al Poole
b2e69bebb9
welcome: Add progressbar during retrievel of remote repository.
...
This gives an indicator to the user the download is in progress.
Moreover it stops the UI from freezing up with a large remote
repository.
2017-09-28 14:27:54 +01:00
Al Poole
3eadca948c
edi_file: use a static buffer for the path.
2017-09-28 01:39:49 +01:00
Al Poole
c826dee557
search: Add project-wide search and replace feature.
2017-09-28 01:23:18 +01:00
Al Poole
5cefe27e48
screens: scm. Stylistic changes.
2017-09-27 20:01:14 +01:00
Al Poole
c75c2d817f
scm: refactor scm screens.
...
There's absolutely zero need for a hash table here.
Refactor the scm commit screen to be more efficient and make more
sense.
2017-09-27 19:46:09 +01:00
Al Poole
e86760b802
edi: escape paths where necessary.
2017-09-27 19:42:45 +01:00
Andy Williams
a5896c05ac
Fix make dist
2017-09-26 15:36:11 +01:00
Andy Williams
2b2454a104
filepanel: fix menu icon for folders
2017-09-24 21:46:29 +01:00
Andy Williams
2933c2faf6
autosuggest: avoid lingering tab-complete suggestions
...
On focus out or mouse downs we invalidate the suggestion
2017-09-24 21:38:14 +01:00
Andy Williams
75afcf4be8
snippet: fix indentation of inserted lines
2017-09-24 21:38:01 +01:00
Al Poole
141ffff9f9
exe: fix cleanup on FreeBSD of ecore_con_server/clients.
2017-09-24 11:30:55 +01:00
Al Poole
986bae6eb4
filepanel: make dir menu behave as file menu does.
2017-09-22 15:17:39 +01:00
Al Poole
e4704ed0ba
filepanel: make dialogues more informative.
2017-09-22 15:07:23 +01:00
Andy Williams
ef18a26ddc
filepanel: Make the filename in menu informational
2017-09-22 12:27:40 +01:00
Andy Williams
ba8dd2becf
snippet: add some python snippets
2017-09-22 11:58:29 +01:00
Andy Williams
f1643f08ef
autosuggest: Add safety for optional language features
...
@fix crash with rust editor
2017-09-22 10:28:50 +01:00
Andy Williams
eed2ae8328
about: fix layout of AUTHORS content in about
2017-09-21 22:15:37 +01:00
Al Poole
376d4c5752
screens: scm. only show staged changes.
2017-09-21 20:46:17 +01:00
Andy Williams
1c14989ccd
create: Escape single quotes in project and user name
...
@fix T6044
2017-09-21 20:29:19 +01:00
Andy Williams
efb4793a10
disable broken tests - need to move from including C code!!!
2017-09-21 20:29:19 +01:00
Al Poole
d8e0087b6f
scm: use relative path not absolute.
...
This is also faster.
2017-09-21 20:26:13 +01:00
Al Poole
4edd09cc59
screens: scm, remove unnecessary hash clear.
...
Small stylistic change also.
2017-09-21 20:09:48 +01:00
Al Poole
89dfc351bf
scm screens: select text when staged changes made.
...
Another aspect of making the entry more user-friendly.
2017-09-21 14:51:54 +01:00
Al Poole
d85bc57a49
Merge Andy's fix
2017-09-21 14:16:06 +01:00
Al Poole
2e045c0a43
screeens: scm. Replace list with genlist and make commit entry more usable.
...
The original elm_list_ would segv if there were many hundreds of items, so
redone with a genlist. Also the entry for commit message is less of a pain
as it was.
2017-09-21 14:13:41 +01:00
Andy Williams
add0d7f6c4
autosuggest: veto tab propagation for all inserts
2017-09-21 12:29:57 +01:00
Al Poole
ce824635fd
edi_main: use proper method to disable menu items.
2017-09-21 09:11:18 +01:00
Al Poole
757414ef86
exe: add header.
...
Tested on another machine, include is necessary.
2017-09-21 00:59:34 +01:00
Al Poole
d6b38524b9
edi_exe: fix bad bugs.
...
Make sure we're handling the right process. Also clean-up the
sockets manually. Also make sure we actually do ninja's
clean, otherwise we might be waiting for a long time.
2017-09-21 00:54:01 +01:00
Andy Williams
02525fe8ad
autosuggest: speed up suggeestions
...
cache the list and refresh when we re-parse...
2017-09-20 22:11:43 +01:00
Andy Williams
e03f234573
autosuggest: Show first match for tab completion
...
Displays a hover that shows the match - and you can click it too.
Closes T5902
@feature
2017-09-20 22:11:43 +01:00
Al Poole
002ab279dd
filepanel: do allow focus, else this causes problems.
2017-09-20 18:41:05 +01:00
Al Poole
647d866bba
Build: make build proces more robust.
...
Use a different socket address for each type. Also add some
UI indicators when a build is in progress.
2017-09-20 16:47:30 +01:00
Al Poole
d08e50b4b0
filepanel: add filename to the root of the filepanel menus.
2017-09-19 22:20:59 +01:00
Al Poole
959e2435e0
notify: less text is more.
...
Trim the notification text. Some unnecessary stuff there.
2017-09-19 20:34:15 +01:00
Al Poole
e528a3c8bc
build: fix race-condition.
...
Use a global variable to keep track of builds. Both
edi_exe_notify/handle could and should be done
better. For now this stops an issue.
2017-09-19 20:16:32 +01:00
Al Poole
bcd9c85741
stash: fix bug missed. make sure to update all items on stash.
2017-09-19 14:38:23 +01:00
Al Poole
a53d3c0765
screens: scm popup align icons.
2017-09-19 14:16:10 +01:00
Al Poole
20633f5f12
filepanel: 100% ontinuity.
...
Sorry.
2017-09-19 12:11:04 +01:00
Al Poole
9c4264d22a
filepanel: 99% consistent icons
2017-09-19 11:50:59 +01:00
Al Poole
ba3111903f
screens: scm fix icons
2017-09-19 11:40:02 +01:00
Al Poole
faac98d51f
scm status: filepanel and commit screen.
...
Use icons only and tooltips for additional information.
2017-09-19 11:29:25 +01:00
Al Poole
1a6be5b94d
screens: scm. update label to be more sensible.
2017-09-19 00:28:46 +01:00
Al Poole
76532d799f
filepanel: add icon statuses.
...
Fix scm to avoid race-condition. Also get rid of the custom
text as it's too much. Two icons, one for states and one for
staged (visible if not staged).
2017-09-19 00:18:46 +01:00
Al Poole
5bdce73a1d
Revert "filepanel: update on contract."
...
This reverts commit 89fb7524c8
.
2017-09-18 09:40:42 +01:00
Al Poole
89fb7524c8
filepanel: update on contract.
2017-09-18 09:34:24 +01:00
Al Poole
47ab991da9
filepanel: don't duplicate unnecessary code and no need to memcpy.
...
This is a small logic change that should be more efficient also.
2017-09-17 20:28:50 +01:00
Al Poole
bdec0fceb6
filepanel: move function for clarity.
...
Moves a function to keep related content related. Also small
stylistic changes.
2017-09-17 19:46:07 +01:00
Al Poole
d54d156cd3
scm: reimplement support for file listing file status.
...
This method is far more efficient and works well with large
software trees. e.g. enlightenment.git.
2017-09-17 16:34:35 +01:00
Al Poole
15c19acf1a
filepanel: remove uneccessary methods.
2017-09-16 22:30:29 +01:00
Al Poole
c48220d61e
filepanel: Bad indentation.
2017-09-16 22:15:54 +01:00
Al Poole
ce81684f30
scm: undo the filepanel scm status far too slow.
...
Didn't test this with large projects, it needs to be redone.
Probably causing issues so undoing the badness.
Sorry!
2017-09-16 22:14:08 +01:00
Al Poole
2c42965b15
scm: fix init.
...
Make sure we actually init and also upon init update the
file list and initialise the local engine.
2017-09-16 20:41:46 +01:00
Al Poole
59a0ec1bae
scm: add support for file listing file status.
...
Add support for file listing status. Also some refactoring.
More to do, more testing first.
2017-09-16 01:19:54 +01:00
Al Poole
a446d3a8d1
popup: more UI tweaks.
2017-09-13 00:09:12 +01:00
Al Poole
02a1872365
popups: more UI tweaks.
2017-09-13 00:05:56 +01:00
Al Poole
332b5e1c55
debugpanel: previous commit typo.
...
ugh sorry!
2017-09-12 16:27:03 +01:00
Al Poole
6770e8c022
debugpanel: add useful comment.
...
The code looks wrong but it isn't, this comment explains why.
2017-09-12 16:25:44 +01:00
Al Poole
cff2817907
scm: fix loss of last line.
...
oops!
2017-09-12 16:18:57 +01:00
Al Poole
d694160d13
scm: add elm code widget for diff in commit screen.
...
Use a proper widget with lovely formatting.
2017-09-12 10:19:34 +01:00
Andy Williams
08547bbd3a
Add translation support
...
Fixes T5901
2017-09-11 21:06:22 +01:00
Al Poole
3b1e7d0288
popups: refactor popups.
...
Some of these looked pretty duff. Have tried to make them
more consistent and nicer.
2017-09-11 18:54:02 +01:00
Al Poole
86731ea849
screens: slight UI improvement to scm commit popup.
2017-09-11 17:33:20 +01:00
Al Poole
4b12a5a1ae
scm: add method to get diff of changes in SCM repository.
...
Add method to obtain the diff of changes and also add this to the
commit screen. There is also some minor UI tweaks included in
this commit, though related to methods modified.
2017-09-11 16:27:40 +01:00
Al Poole
64648b87f5
edi_exe: don't send data if socket connect fails.
...
May be a use case where we don't send data indicative of
exit status.
2017-09-09 16:16:47 +01:00
Al Poole
2fcd434e3c
edi_exe: Don't use global variables.
...
Globals are unnecessary here.
2017-09-09 11:19:51 +01:00
Al Poole
84a515ce87
build: status. MOre verbose notfication title.
...
Add status to the title of the notification also.
2017-09-08 11:04:45 +01:00
Al Poole
b19befd089
edi_exe: modify method to allow additional data parameter.
...
This adds an additional pointer for abritrary data. Have utilised
this to make the notidy on build more verbose without code
duplication.
2017-09-08 00:16:10 +01:00
Andy Williams
7bb4a7cc24
syntax: Fix python syntax by adding a basic provider
2017-09-07 21:00:31 +01:00
Al Poole
d259a776a9
editor: background file changes. Fix editor reload on background file change.
2017-09-07 14:54:50 +01:00
Al Poole
9be1db4858
build: Add status detection of all build types.
...
This adds tracking of other build types and their exit status and
allows us to use desktop notification for these also. Also cleaned
up some unnecessary cleanup code.
2017-09-06 13:08:02 +01:00
Al Poole
b8642ab63c
main: show console panel before we start the build process.
...
Show the console panel before the build process begins.
2017-09-05 16:13:05 +01:00
Al Poole
7e9f33a635
exe: Add methods to handle async shell execution and acting on exit status.
...
This adds two methods for handling executing shells async. The notification
has been reworked to use this method so there is less blocking. A callback
can be passed to the handler method for various actions on the exit status
of the script execution.
2017-09-05 15:58:00 +01:00
Al Poole
5aba714f90
build: Add support for tracking build process exit code and add notification.
...
This patch adds tracking of the build process's status code. This allows us
to respond to the build process within the program much easier. Also added
a simple API for desktop notification of the build process and its exit code
which is useful and pretty.
2017-09-04 20:52:34 +01:00
Al Poole
65477c7d46
widgets: Use consistent text style across widgets in the application.
...
Make changes to text style along with some miminal word changes and
fixes.
2017-09-02 22:48:57 +01:00
Al Poole
5eaf4e3be2
mainview: also select filepanel on tab focus.
...
This was bad by me. Found an example with an image. Both instances
are necessary for uniform behaviour. Sorry.
2017-09-02 11:54:40 +01:00
Al Poole
514e472cd1
filepanek: set the filepanel focus on editor focus.
...
Tab selection will focus the editor. This fixes occasions
when clicking between panels. So the filepanel focus is
uniform. Should have thought of doing it this way before.
2017-09-02 11:47:18 +01:00
Al Poole
482c7b0946
screens: move popup creation to screens.
...
This is a small refactor of a generic information popup.
2017-09-02 11:20:49 +01:00
Al Poole
8175b007e5
main: change "split" option to "new panel"
...
Rename the callback and menu item to be more appropriate for its
current behaviour.
2017-09-02 10:27:10 +01:00
Al Poole
782ef16427
mainview_panel: remove unnecessary cast.
...
Edi_Mainview_Item pointer does not need to be cast.
2017-09-01 20:42:41 +01:00
Al Poole
6ee65ae7dc
filepanel: Add documentation for new method.
...
Adds new documentation and improves existing.
2017-09-01 20:40:02 +01:00
Al Poole
7f1dfbb26e
filepanel: add method to select by path and select upon tab promotion.
...
When a file is focussed in it's panel and tab the file is also selected
in the filepanel. Another visual indicator of current focus and
synchronises behaviour of tab selection and filepanel selection.
2017-09-01 20:16:19 +01:00
Al Poole
2731c4bb75
mainview: clicking on tabs or filename will focus the editor entry.
...
Remove focus from tab item as it was stopping us from focussing the
editor entry. This change keeps track of cursors upon item change
and will focus (if possible) the entry. In essence, less clicks!
Clicking tabs or a file in the file panel has the same result.
2017-09-01 18:49:38 +01:00
Al Poole
fb6bd4a322
welcome: center file selector window when opening existing project.
...
This patch will center the window over the existing dialogue in
the same region of the screen. Neater and more intuitive.
2017-09-01 14:11:35 +01:00
Al Poole
97e324654c
mainview: ensure only one instance of file is open across tabs and panels.
...
This change will ensure only one item can be opened at once across all
panels.
2017-09-01 13:53:27 +01:00
Al Poole
9ea0ba05c3
scm stash: on stash don't refresh all panels, let user decide on focus.
...
Removed the call to mainview_refresh_all which means after stashing
of changes the user can decide to reload the file contents when
focussing the editor.
2017-08-30 23:55:34 +01:00
Al Poole
1ed7c297cb
mainview_panel: do safe checks before accessing panel->current->view
...
Reviewers: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D5149
2017-08-30 22:19:07 +01:00
Al Poole
8925c72adf
editor: unset focus on tab change.
...
Summary: This seems to fix the multiple cursors between underlying tabs.
Reviewers: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D5148
2017-08-30 22:11:44 +01:00
Al Poole
7e173bd2c5
mainview_panel: fix panel focus on click of empty panel.
...
Summary: @fix T5904
Test Plan:
# Open a Project
# Use the menu option and create 5 empty panels by pressing it 4 times.
# click on a panel in any order and then select files.
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Maniphest Tasks: T5904
Differential Revision: https://phab.enlightenment.org/D5133
2017-08-28 14:04:33 +01:00
Al Poole
d4d8d4fb91
edi_scm: make sure we always delete the file if it is untracked.
...
Summary:
there are times when new files are difficult to delete without adding commiting and removing etc.
this should stop that.
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D5120
2017-08-28 14:02:45 +01:00
Al Poole
61b79e7ed6
mainview: unrecognise mime popup UI improvements.
...
Summary: See http://www.enlightenment.org/ss/e-599c3eeac02540.00312412.jpg
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D5121
2017-08-26 16:15:09 +01:00
Al Poole
da30264929
popups: improve visual display/style of the main popup widgets.
...
Reviewers: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D5117
2017-08-22 12:43:59 +01:00
Al Poole
e35c4ba3af
windows: make windows work properly and autosave properly.
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D5116
2017-08-22 12:38:56 +01:00
Andy Williams
a004aeae6b
Fix possible crashes in windowed editor
2017-08-21 17:26:26 +01:00
Al Poole
fe2714ea7e
editor: handle file modifications properly.
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D5114
2017-08-21 17:18:02 +01:00
Al Poole
5454d06721
mainview: add separators between panels.
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D5110
2017-08-18 23:25:39 +01:00
Andy Williams
26f65e4167
build: fall back to make don't try it first.
...
Other providers have far more specific requirements
2017-08-18 15:37:07 +01:00
Al Poole
758f74de28
mainview: fix close_all and close.
...
Summary:
Makes sure all panels close and remain with only one panel. When tab is last in panel, remove the panel also.
Also best not to free a NULL panel or its members.
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Tags: #edi
Differential Revision: https://phab.enlightenment.org/D5094
2017-08-13 00:06:01 +01:00
Andy Williams
7a8119af60
ui: fix cancel of goto popup
2017-08-12 18:00:58 +01:00
Al Poole
bcd0909ca9
mainview: add method for testing if mainview is empty.
...
Summary: Also add checks to some GUI functions that crash Edi if there is no panel with no items.
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D5083
2017-08-12 17:51:05 +01:00
Al Poole
ea8823a9d1
search: Fix Project Search
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D5081
2017-08-09 14:27:27 +01:00
Andy Williams
d4d37a82ea
scm: Fix refreshing of panels on stash
...
refresh_all now remembers the right panel
2017-08-09 14:04:52 +01:00
Andy Williams
1bf88c4730
refactoring mainview panel freeing and docs
2017-08-09 12:46:20 +01:00
Andy Williams
f4ef9bb35c
mainview: Fix potential segvs from D5052
2017-08-09 12:28:20 +01:00
Al Poole
182dd304e1
mainview: improve documentation.
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D5042
2017-07-26 10:21:07 +01:00
Andy Williams
cb39c546fe
mainview: fix removal of panels from the ui
...
This removes resizable panels for now but they were not really supported anyway...
2017-07-26 10:17:44 +01:00
Andy Williams
dcd611c31f
filepanel: reorder menu
2017-07-25 22:52:39 +01:00
Al Poole
d9fccf5860
filepanel: Add proper icon for "open in new pane".
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D5041
2017-07-25 22:47:31 +01:00
Al Poole
3586ac9cc0
mainview: Always open in first panel.
...
Summary: This patch ensures "open file in panel" will open in first mainview if no file exists in the primary mainview. Otherwise business-as-usual.
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D5040
2017-07-25 22:32:14 +01:00
Al Poole
c265dc2693
config: remove panel from config when we remove a panel from the UI.
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D5039
2017-07-25 21:44:53 +01:00
Al Poole
2386b51a60
mainview_panels: on close tab focus on existing tab and always keep one mainview panel.
...
Summary: This fixes crashes when closing tabs/panel and losing focus.
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D5038
2017-07-25 14:26:16 +01:00
Andy Williams
fae8350ea1
settings: fix graphical glitch on smaller screens
2017-07-24 23:35:30 +01:00
Andy Williams
9d0db1a1a5
config: Save the current tab of each panel
...
This needed a refactor to do properly so your open tabs
will be forgotten, sorry :(
2017-07-24 23:28:48 +01:00
Andy Williams
804d14cef3
panels: Track focus of editors when we're changing panel
2017-07-24 18:27:45 +01:00
Andy Williams
a437b5202a
config: Be less notification-happy when saving
...
Let's not force all our editors to reload when we don't have to!
2017-07-24 13:22:19 +01:00
Al Poole
be333dee6f
add open files in new tab.
...
Summary: focus chanegs on click of tab in panel. closing last tab closes panel. Exit and open remembers tabs. etc.
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D5034
2017-07-23 22:02:24 +01:00
Al Poole
24f9dc79fa
search: fix segv on wrap!
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D5032
2017-07-22 18:35:13 +01:00
Al Poole
e4aaffb9d4
screens: add confirmation dialogue to screens.
...
Summary: Also add some uses of this method on scm stash and file deletion.
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D5028
2017-07-16 20:00:46 +01:00
Jean-Philippe Andre
9a5eb35e60
build: Add crude meson/ninja support
...
This only uses "build" as build folder. Very simplistic.
2017-07-11 19:04:01 +09:00
Al Poole
5bba0073ed
editor: replace refactor to coincide with search optimisations.
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Tags: #edi
Differential Revision: https://phab.enlightenment.org/D5003
2017-07-08 22:05:16 +01:00
Andy Williams
ad09746452
tests: we removed c++ syntax - don't test for it
2017-07-07 03:16:43 +01:00
Andy Williams
ddce7ca448
search: Reset search highlights on cancel
...
Also fix the highlighting of all matches on a line
2017-07-05 22:02:38 +01:00
Andy Williams
5181c2219e
search: highlight each found search result
2017-07-05 21:42:48 +01:00
Andy Williams
ee5bb1a4a7
ui: Remove duplicate code from menu fix
2017-07-05 21:04:38 +01:00
Andy Williams
405f93efe1
build: Add support for cargo based rust projects
...
In the process we needed to define if a project can be run...
Python and rust can always be run as they will build their binaries
whereas make and cmake need to be configured etc...
2017-07-05 20:51:38 +01:00
Jean-Philippe Andre
3caa121b12
main: Fix some invalid API usages
...
1. toolbar items are not objects
2. main menu should not be manually packed, it's handled by the
window itself
3. show last is recommended, rather than show + add subobjects,
especially for a window (note: i hate this in principle)
2017-07-04 18:36:07 +09:00
Jean-Philippe Andre
4ee5f05982
Revert "menu: hide by default until we can fix elm menu calcs"
...
This reverts commit 863b3d7ab3
.
2017-07-04 15:00:16 +09:00
Al Poole
2924b323f6
edi_screens_scm: convert markup to utf8 for commit message.
...
Summary: Do conversion and optimize string len check.
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4993
2017-06-29 23:53:25 +01:00
Andy Williams
a8d62ded23
ui: Use correct icon naming for FDO arrows
2017-06-29 21:25:26 +00:00
Andy Williams
a34a71f8f6
config: Correct project name comparison for substrings
2017-06-29 21:18:15 +00:00
Andy Williams
09da41eb8e
debug: remove warning on OSX
2017-06-28 20:35:36 +01:00
Andy Williams
2fc7a9a309
debug: Fix libtool command for OSX
2017-06-28 20:35:36 +01:00
Al Poole
4c4ec6e21b
debugpanel: fix debug process.
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Subscribers: bu5hm4n
Differential Revision: https://phab.enlightenment.org/D4987
2017-06-28 19:43:27 +01:00
Andy Williams
849619d32b
tabs: correct remembering of mime types
...
Fixes issues where code functions would not appear to load for old tabs
2017-06-27 16:48:49 +01:00
Andy Williams
33b09484a0
make: use our CPU count to speed up build
2017-06-25 16:56:57 +01:00
Al Poole
650dd308d0
debugpanel: fix segv if "make clean" has removed debug executable.
...
Summary:
Didn't really want to add any more dialogues without discussing properly with
Andy. For now this stops a potential crash.
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4984
2017-06-25 11:45:58 +01:00
Al Poole
6f4113bcac
debugpanel: fix OSX and add OpenBSD support.
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4893
2017-06-25 09:39:31 +01:00
Andy Williams
c608163e31
Merge build fixes from 'arcpatch-D4917'
2017-06-25 09:17:16 +01:00
YeongJong Lee
792ca745e7
Fix build warning
...
Summary: Add some error log
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4917
2017-06-25 08:54:30 +01:00
Al Poole
9677bb4b86
general input: work around elm_entry assuming markup in input.
...
Test Plan: Run Edi, start a debug session. Print prt to struct member e.g. "print m->file", stops conversion to "->"
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Tags: #edi
Differential Revision: https://phab.enlightenment.org/D4976
2017-06-18 22:56:56 +01:00
Al Poole
197c3dee2b
searchpanel/tasks: ignore further extensions.
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4975
2017-06-18 22:55:19 +01:00
Al Poole
dd99772905
toolbar bottom: make panel tabs easier to read.
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4974
2017-06-18 22:53:43 +01:00
Sanjeev BA
06410fa8b0
Fix typos.
...
Summary: Signed-off-by: Sanjeev BA <iamsanjeev@gmail.com>
Reviewers: ajwillia.ms, jpeg, cedric
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4973
2017-06-18 21:50:42 +01:00
Al Poole
43a036a632
screens: scm_commit, add scroller to list widget for commit popup.
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4977
2017-06-18 21:42:55 +01:00
Andy Williams
6c714d19da
ui: don't allow menu to be added more than once
...
This enu handling is just temporary but shouldn't be buggy :)
2017-06-18 19:18:21 +01:00
Al Poole
a232dccaba
edi_scm: add support to add status of changes to the commit dialogue.
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4959
2017-06-17 13:04:52 +01:00
Andy Williams
863b3d7ab3
menu: hide by default until we can fix elm menu calcs
...
You can show it with alt-f
2017-06-16 14:25:23 +01:00
Andy Williams
cd4e83b9b2
editor: Record undo for autosuggest insertions
2017-06-16 12:52:48 +01:00
Andy Williams
03053cad15
taskpanel: Better ignore files that are not relevant
...
Also improve layout slightly by aligning line starts better
2017-06-16 12:52:48 +01:00
Al Poole
d8fbfb621a
menu: revert hack for when the ELM panel/menu issue is resolved upstream in EFL.
...
Test Plan: Wait for fix in EFL, then open the application with this patch.
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D4845
2017-06-16 12:48:38 +01:00
Al Poole
d75cbafda2
popups/focus: add improvment to popup visuals. Also select items in settings panel to improve behaviour.
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4958
2017-06-14 21:06:09 +01:00
Andy Williams
ca83101e61
debug: Fix up exe_free usage as it is not needed for pipe_run calls
2017-06-11 18:51:13 -07:00
Andy Williams
208dc9ed2f
console: Jump to column on click when available in errors
2017-06-09 10:36:52 -07:00
Andy Williams
19c62faa48
console: Fix error highlighting for builds
...
Also avoid potential crash on non-gnu systems
2017-06-09 10:36:09 -07:00
Andy Williams
31d2d30980
welcome: Add support to clone a project from the welcome screen
...
Also re-lay it out a little to be clearer :)
2017-06-08 23:13:02 -07:00
Andy Williams
38b76ca500
popups: Move text to content to render in latest EFL
2017-06-08 18:52:35 -07:00
Andy Williams
a10c4aacb6
ui: Speed up screen load and remember current tab
...
This is a pretty simple type of backgrounding - only load files for tabs as they become visible :)
2017-06-08 18:31:45 -07:00
Andy Williams
294e2d4000
welcome: Tidy up our display and add button icons
2017-06-08 13:53:53 -07:00
Al Poole
c115f95cd2
settings: project panel - make entry widgets inset.
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Tags: #edi
Differential Revision: https://phab.enlightenment.org/D4948
2017-06-08 13:53:31 -07:00
Andy Williams
784236a787
Update to changed EFL setup for frame titles
2017-06-08 12:25:31 -07:00
Andy Williams
d9ee932d7e
scm: Adding avatars to commit dialog
2017-06-08 12:15:24 -07:00
Andy Williams
daadcea243
scm: OK avatars working now :)
2017-06-08 12:15:05 -07:00
Andy Williams
3b490a6508
scm: Improving stability of avatar rendering.
...
Difficult as on OS X the ecore_file_download appears to be crashing intermittently
2017-06-08 11:59:41 -07:00
Al Poole
6b8996de01
about: linux to unix wording in about.
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4942
2017-06-07 22:39:35 -07:00
Andy Williams
f7d2a85044
scm: Add avatar to commit window
...
But it's crashing and I can't figure why
2017-06-07 22:38:21 -07:00
Andy Williams
5d0c634209
scm: Add a nicer commit screen saying who you are committing as
...
Also a bit more space for typing :)
2017-06-07 14:32:38 -07:00
Andy Williams
b257e81955
scm: Fix naming and hide implementation details
...
Also don't set credentials for push - only needed for commit
2017-06-07 14:32:10 -07:00
Andy Williams
9cf9fa415c
scm: make remote adding not overwrite previous remotes
...
Also set upstream tracking by default not fixing retrospectively
2017-06-06 19:23:40 -07:00
Andy Williams
38e971647c
scm: Update settings screen to be a little smoother
...
Hide when there is no scm detected for the current project.
Add to news :)
2017-06-06 18:54:03 -07:00
Andy Williams
e69cdf44d1
scm: add safety in code and in git branching
...
We assume origin is the name of our remote in some places so must
do so everywhere - otherwise we can overwrite the wrong remote
2017-06-06 18:11:45 -07:00
Al Poole
d208afac91
scm: add support for SCM (git) in library and the UI.
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Tags: #edi
Differential Revision: https://phab.enlightenment.org/D4938
2017-06-06 18:09:25 -07:00
Al Poole
c8958cb4e1
welcome: fix initial project selection issue.
...
Updated from original patch by ajwillia.ms.
Reviewers: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4939
2017-06-06 05:55:54 +01:00
Andrew Williams
528d3aa665
exe: capture command output to console
2017-06-04 16:41:13 +01:00
Andy Williams
7f39682980
exe: add a helper for exe waiting
2017-05-30 23:30:39 +01:00
Al Poole
37759291c5
edi_file_screens: refactor UI create/rm/rdir and add directory and file renaming method.
...
Summary: Add this to the filepanel menus also.
Reviewers: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4920
2017-05-30 08:32:58 +01:00
Davide Andreoli
4614a105aa
Improve the python build provider
2017-05-29 22:02:47 +02:00
Andy Williams
06954e00ef
create: Allow detection of skeletons of different type.
...
In input ask user to choose which skeleton to use.
Thanks for the contribution davemds
2017-05-28 21:24:24 +01:00
Andy Williams
0bc52e975e
cmdline: Fix create for out-of-project creation
2017-05-28 19:09:35 +01:00
YeongJong Lee
6239499fed
autosuggest: Refactor suggest list show function
...
Summary:
1. Fix wrong location of suggest list
2. Remove duplicated function
3. Add return condition
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4918
2017-05-28 19:00:30 +01:00
Al Poole
eaa3781e52
filepanel: add menu for filepanel when no file is clicked.
...
Summary:
Opens a suitable menu for the root directory if right-click
is not focussed on an item.
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4911
2017-05-26 22:20:38 +01:00
Andy Williams
bdc54334da
Merge branch 'edi-0.5'
2017-05-26 22:07:30 +01:00
Al Poole
72c28938c6
provider: add fallback for text-based mimetypes.
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4892
2017-05-26 21:34:30 +01:00
Andy Williams
94a0923e29
build: Fix python project detection
2017-05-26 21:34:16 +01:00
Andy Williams
460c7008e4
cmdline: don't try to open unknown file types
...
Display a warning and exit - fixes T5480
@fix
2017-05-26 21:33:41 +01:00
Al Poole
9ffa9bccb2
EDI -> Save -> Menu/Toolbar Indicator (w/o autosave)
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4819
2017-05-26 12:32:04 +01:00
Al Poole
a9853b2b62
build_provider: add support for BSD using GNU make.
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4909
2017-05-26 12:29:21 +01:00
Al Poole
11fa36b145
provider: add fallback for text-based mimetypes.
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4892
2017-05-21 23:23:18 +01:00
Andy Williams
2d86f50a26
build: Fix python project detection
2017-05-16 22:43:39 +01:00
Andy Williams
186e44f071
editor: With EFL fixes we can have multiline snippets
2017-05-16 22:43:21 +01:00
Al Poole
493145b8e4
language_provider: quiten compiler if no LIBCLANG
...
Test Plan: Build, see the warnings dissapear
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4884
2017-05-15 21:11:34 +01:00
Al Poole
1cf8322d12
mainview: Don't allow any file without text/* mimetype to be opened.
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4851
2017-05-14 22:12:00 +01:00
Andy Williams
19c48c6cdc
editor: Initial work in snippet support
...
Not really multiline yet but it's a start
2017-05-14 17:56:00 +01:00
Andy Williams
feb1fc18e7
whitespace
2017-05-14 17:55:31 +01:00
Andy Williams
6e4b022575
search: ignore more binary files
2017-05-14 17:53:44 +01:00
Andy Williams
f0922990c6
search: ignore more binary file types in project search
2017-05-13 23:31:20 +01:00
Andy Williams
c37c23068c
cmdline: don't try to open unknown file types
...
Display a warning and exit - fixes T5480
@fix
2017-05-13 23:29:46 +01:00
Al Poole
f274063917
debugpanel: automatically run gdb according to project type. libtool/generic.
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4852
2017-05-10 06:48:01 +01:00
Al Poole
19971b006a
filepanel: when opening as different file type, close first then open to ensure the file is instantly accessible as text or code (editing).w
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4844
2017-05-03 21:44:04 +01:00
Al Poole
a46e32046f
debugpanel: OSX uses different struct kp_proc layout. Adjust for that.
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4846
2017-05-03 21:01:01 +01:00
Al Poole
e62a297610
debugpanel: update icons if process is resumed from the "console"
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4843
2017-05-02 22:03:23 +01:00
Al Poole
11f6f5871e
debugpanel : Use correct system process state naming for 4.4BSD derivatives and Linux.
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4841
2017-05-02 21:16:36 +01:00
Al Poole
a9b146da75
EDI -> Debugpanel -> Debug Process States/Signals -> Linux, OSX and FreeBSD et. al.
...
Summary:
Adds support for Linux, BSD and OSX for processing debug process states and signals.
With debugger icons can start and stop the process with signals. Icon also changes to indicate the process state.
Also removes the FIXME elm_code_fire bogus hack.
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4832
2017-05-02 20:45:15 +01:00
Al Poole
415ab788da
EDI -> DEBUGPANEL -> GDB INTEGRATION -> START
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Subscribers: bu5hm4n, ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4822
2017-04-28 22:04:39 +01:00
Andy Williams
cfe08f0756
refactoring for re-use
2017-04-28 21:16:47 +01:00
Andy Williams
64e8a3d703
Merge branch 'edi-0.5'
2017-04-28 20:15:35 +01:00
Andy Williams
35f6df6309
Use correct future API
2017-04-26 19:27:32 +01:00
Andy Williams
4e39afb6db
Fix issue where replaced items could not be undone.
...
Note that this needs a not-yet-released efl change ;)
2017-04-26 18:37:39 +01:00
Al Poole
38dd432523
EDI -> Save -> Menu/Toolbar Indicator (w/o autosave)
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4819
2017-04-22 22:29:19 +01:00
Andy Williams
a82062d6e6
Correctly ship the language C provider
2017-04-14 16:37:28 +01:00
Al Poole
e3459cb526
EDI -> Main Menu -> Open Project (No tabs) -> Dancing window on Start Weirdness Fix
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4778
2017-04-09 11:43:24 +01:00
Andy Williams
2735b3f6c7
gui: Update undo/redo icons to show what actions can apply.
...
Also actually hook in the redo feature :)
2017-04-07 23:39:44 +01:00
Andy Williams
67709ae536
searchpanel: Update render to give more space for results
...
Decouple the parsing from render a little bit more
2017-04-05 21:57:06 +01:00
Al Poole
4e1094b5f2
EDI -> Tasks -> TODO/FIXME -> Panel (NEW FEATURE)
...
Summary:
Initial support for tasks.
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4764
2017-04-05 19:30:52 +01:00
Al Poole
d988b4045e
EDI -> Mainview -> Prev/Next tab Buttons -> FEATURE
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4765
2017-04-05 19:06:30 +01:00
Andy Williams
842fc7a530
disable broken tests - figure out why later
2017-04-03 22:26:49 +01:00
Al Poole
b61cffad6c
EDI -> Welcome -> New Project -> Fix (OpenBSD)
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4756
2017-03-31 21:36:25 +01:00
Al Poole
fb8b47c93c
Edi -> Search Project - Add initial support for search in project.
...
Summary: Almost there.
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4752
2017-03-30 23:06:34 +01:00
Andy Williams
4e3ff8f702
filepanel: use data object to avoid file lookups
...
Save memory and save isdir lookups all over
2017-03-30 22:28:35 +01:00
Al Poole
95f43adaec
Move File/Dir Creation to edi_file.c/h
...
Summary: Also add options to menus
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Tags: #edi
Differential Revision: https://phab.enlightenment.org/D4750
2017-03-27 22:04:41 +01:00
Andy Williams
6cf426e24a
filepanel: Update directory context after refactoring
2017-03-27 21:57:44 +01:00
Al Poole
0549f5be36
Add optional menu for directories in file view.
...
Summary:
Option is "Open terminal here"
also, if directory is empty:
"Remove the directory"
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4748
2017-03-26 21:24:20 +01:00
Andy Williams
533ac7d858
welcome: correct showing the panel when all tabs are closed
2017-03-25 23:03:06 +00:00
Andy Williams
f44ab43d47
welcome: Fix layout when not tabs are open
2017-03-25 22:49:47 +00:00
Al Poole
04c06302d0
Fix SEGV on right click of file browser that is empty!
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4744
2017-03-25 22:20:21 +00:00
Al Poole
d0997ca6a8
Fix SEGV on goto line when out of range
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4745
2017-03-25 22:12:25 +00:00
Al Poole
629a293a66
Add option to delete file in browser
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4742
2017-03-24 22:30:35 +00:00
Al Poole
2c2fca6d82
Fix not catching reload of files outside of program.
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4733
2017-03-24 17:52:32 +00:00
Al Poole
c3bf4d86aa
Mostly working...
...
Summary:
Problems occur when you change the search term and then
it wraps around...
Test Plan: Blast it!
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Subscribers: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4724
2017-03-23 23:58:55 +00:00
Al Poole
f8d72f91e6
Center the welcome window on start
...
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4731
2017-03-23 23:21:38 +00:00
Al Poole
ae73791f78
Fix SEGV on shutdown with main window and project open...
...
Reviewers: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4725
2017-03-21 22:47:58 +00:00
Andy Williams
77eb19ce4f
search: Show a notification that we wrapped search
2017-03-19 13:18:23 +00:00
Andy Williams
020f9ab3d7
fix whitespace
2017-03-19 12:50:32 +00:00
Andy Williams
92062043a4
search: Fix off by one/utf8 issues in replace
2017-03-19 12:50:07 +00:00
Al Poole
4315743706
@fix for T1852
...
Summary: Search should wrap around.
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4722
2017-03-18 22:48:32 +00:00
Andy Williams
c89a211a94
syntax: trigger eolian highlighting
2017-03-04 15:43:04 +00:00
Stephen 'Okra' Houston
05ee192b98
Edi: Add double click expand/contract support on the file panel.
2017-03-03 18:08:40 -06:00
Andy Williams
0483196de4
clang: Update clang command database to support cmake too
2017-02-19 22:25:12 +00:00
Andy Williams
32b6169e0d
Centralise some more path handling methods
2017-02-19 16:22:53 +00:00
Andy Williams
784c6c4917
clang: re-scan after save to get latest changes.
...
Slightly behind the cursor but better for the cache. Removes need to pass unsaved file
2017-02-18 23:06:06 +00:00
Andy Williams
b5c061bc4d
build: Split make from cmake so we can specialise better
2017-02-18 22:19:17 +00:00
Andy Williams
7735a90cc0
clang: Generate compile_commands.json using cmake builtin
2017-02-18 21:58:56 +00:00
Andy Williams
f89f1bb0c6
clang: Add support for compile command databases
...
Relies on having bear (https://github.com/rizsotto/Bear ).
Also refactor clang code to only have 1 instance per tab.
2017-02-17 22:49:27 +00:00
Andy Williams
25d5c6b7e6
cmdline: Add a little user feedback
2017-02-10 00:13:55 +00:00
Andy Williams
a053bb9757
build: add trivial python project support
2017-02-07 00:05:06 +00:00
Andy Williams
13c7c1fcab
syntax: Still ask clang to highlight preprocessor/macros
2017-01-31 20:09:02 +00:00
Andy Williams
fd6584f8b6
filepanel: remove unneeded vars
2017-01-31 18:46:19 +00:00
Andy Williams
9631552eaa
filepanel: Don't apply filter to folders
...
This way we can browse around looking for matching files :)
2017-01-31 18:44:58 +00:00
YeongJong Lee
36a5bb1410
ui: Bring in current tab
...
Summary: Bring in current tab if it is not in the scope of scroller.
Test Plan:
1. Open project
2. Open several file
3. Check current tab is in the scope of scroller
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4416
2017-01-31 18:43:49 +00:00
YeongJong Lee
b73f04cba3
filepanel: fix bug that unable to expand again
...
Summary:
When directory is contracted, hash data still remained.
In order to expand again, it is needed to delete hash data of subitems when contracted
Test Plan:
1. Open project.
2. Expand directory
3. Contract directory
4. Expand directory again
5. check that works fine
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4634
2017-01-31 07:41:39 +00:00
Andy Williams
378d4c763f
filepanel: Fix file duplication bug.
...
Update of the UI was too slow to keep up with filesystem changes.
Introduce a new hash to mirror what is pending realisation.
Also fixes file filtering bug :)
@fix
2017-01-29 13:05:18 +00:00
Andy Williams
bc3ef23a3d
EFL fixes make this not needed
2017-01-28 13:00:10 +00:00
Andy Williams
b85f66f14a
search: Fix multiple search and bringing offscreen matches in
2017-01-22 09:56:44 +00:00
Andy Williams
8f4e7548b6
editor: Use elm_code for most of our syntax now.
...
This means realtime syntax and we can use clang for lookups
ad error prompts etc.
2017-01-21 16:02:33 +00:00
Andy Williams
2927f71dcf
filepanel: Hide standard hidden files
2017-01-15 22:03:46 +00:00
YeongJong Lee
1c3474245a
autosuggest: Fix segment fault when type long word
...
Summary:
It need a space more for adding a charater.
e.g. line 434..
Test Plan:
1. open suggest list in code file using <Ctrl> + <Space>.
2. type some long word.
e.g. 'evas_object_smart_callback_add'
3. Check there is no segment fault.
Reviewers: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4562
2017-01-13 11:45:39 +00:00
Andy Williams
63e6376697
editor: Display mime type description
...
If the language provider exists and can describe it :)
2017-01-12 13:08:50 +00:00
Andy Williams
2a82fedcb1
suggest: Move to a language provider
...
This means we can add great new stuff in a (nearly) pluggable way
2017-01-11 18:00:33 +00:00
Andy Williams
e6feb19a30
suggest: Move documentaton lookup to suggeest provider
...
Trying to get all the clang code out of edi_editor
and into suggest_provider_c :)
2017-01-11 14:23:15 +00:00
Andy Williams
068949a25a
suggest: Simplify sugggest API
...
Moving to a language provider so fewer entry points if possible
2017-01-11 12:48:28 +00:00
Andy Williams
14498afdaa
config: Store relative paths for open files
...
Avoid problems with moving project
or having multiple copies of the same codebase!
2017-01-02 21:19:55 +00:00
Andy Williams
1b2ee9a372
elm_code: update for latest elm init
2017-01-02 14:39:58 +00:00
YeongJong Lee
73d8670247
autosuggest: Fix position when the suggest list is hidden.
...
Summary: Remove some unnecessary function.
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4539
2017-01-01 14:26:57 +00:00
Andy Williams
aef5bb8fef
documentation: correct size for scaled displays
2016-12-28 23:36:22 +00:00
YeongJong Lee
e4af7c18a9
editor_doc: Add documentation finding support using libclang
...
Summary:
<Ctrl> + <R_Click> opens document. This find doxygen comment using libclang and
dump each tags.
Now, it just support functions.
Test Plan:
1. Open document using <Ctrl> + <R_Click>.
2. Check that the document is correct.
Reviewers: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4522
2016-12-28 23:35:08 +00:00
Andy Williams
6574098205
elm_code: Update to new API signature
2016-12-27 22:17:30 +00:00
Andy Williams
53e7419009
autosuggest: add tests to clang suggest provider
...
A small refactor became obvious because the lookup is not really
using the curword passed in - we want all options then filter later!
2016-12-27 13:26:38 +00:00
Andy Williams
c5a4aafe4d
build: Fix some issues with the build output
2016-12-26 18:35:36 +00:00
Andy Williams
5d104b38f2
filepanel: correctly look up files within their dir
...
Avoid duplication even when multiple files have the same name
2016-12-26 18:34:44 +00:00
Andy Williams
65dc251098
ui: When tests are running show the build results first
...
As soon as test results appear then show the test panel
2016-12-26 18:33:16 +00:00
Andy Williams
49b55e838e
autosuggest: refactor to split clang suggest code from editor
...
Make room for other suggest providers too
2016-12-24 23:31:29 +00:00
Andy Williams
9cef5db6c5
autosuggest: Move formatting to 1 place
...
Also correctly handle fonts with spaces
@fix
2016-12-23 22:56:55 +00:00
YeongJong Lee
f9b8129724
autosuggest: One editor has one suggest evas object
...
Summary:
Remove unnecessary global variable.
This commit also fix bug that using autosuggest(<Ctrl> + <Space>) occurs
segment fault in non-code file.
Test Plan:
1. Run Edi.
2. Open project.
3. Open non-code file (e.g. README).
4. Call suggest list using <Ctrl> + <Space>.
5. Check that there is not segment fault.
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4509
2016-12-23 10:07:03 +00:00
Andy Williams
0bc9f3dc1d
editor: cleanup methods a little
2016-12-22 10:59:36 +00:00
Andy Williams
04d86d3250
don't crash on invalid lines
2016-12-22 10:56:53 +00:00
YeongJong Lee
0866448895
autosuggest: Support detail of suggest
...
Summary: The suggest list shows detail of suggest.(return type and parameter)
Test Plan:
1. Run edi.
2. Open project.
3. Open suggest list using <ctrl> + <space>.
4. Check that The detail of suggest is correct.
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4505
2016-12-22 10:50:59 +00:00
YeongJong Lee
284c7ff3ca
autosuggest: Change the variable name from 'autocomplete' to 'suggest' for readability.
...
Summary:
Change the variable name from 'autocomplete' to 'suggest'.
Because 'autocomplete' is too long.
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4496
2016-12-19 23:26:26 +00:00
YeongJong Lee
21ae2bfebd
filelist: Check that the filelist has same file before insertion.
...
Summary:
'elm_code_file_save' emit EIO_MONITOR_FILE_CREATED event.
It occurs filelist duplication.
So Check that the filelist has same file before insertion.
Test Plan:
1. Run Edi.
2. Open project.
3. Edit a file.
4. Save the file.
5. Check that the filelist doesn't have same file.
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4497
2016-12-19 23:15:54 +00:00
Andy Williams
d24ded8b5a
editor: grab keys that should not feed down to elm_code
2016-12-17 13:16:18 +00:00
Andy Williams
a112dcad9e
autosuggest: properly guard the clang variables
2016-12-17 12:31:36 +00:00
YeongJong Lee
8d82796fa1
autocomplete: fix screen flicker when use autocomplete
...
Summary: Remove file save function when initialize clang.
Test Plan: Check that the screen is not blinking when use autocomplete.
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4486
2016-12-16 22:06:49 +00:00
YeongJong Lee
9d128bdb40
autocomplete: Refresh candidate list when typing.
...
Summary:
if you start typing when candidate list is shown,
the list refresh immediately.
Test Plan:
1. Run edi.
2. Open project.
3. Open candidate list using <ctrl> + <space>.
4. Continue typing.
5. Check the candidate list is correct.
Reviewers: bu5hm4n, ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4478
2016-12-13 07:42:36 +00:00
Andy Williams
3f76c4d290
elm_code: update parameter order
2016-12-12 08:30:59 +00:00
Andy Williams
efd56cf918
fix typo in patch
2016-12-12 00:24:51 +00:00
YeongJong Lee
ebc07e85e0
autocomplete: Add code autocomplete using clang
...
Summary:
Pressing shortcut(<ctrl> + <space>) while editing the code show
the list of suggestions.
This support variable, function, struct member.. etc.
It is simple version, so it show just function name without parameter, return type.
Test Plan:
1. Run edi.
2. Open project.
3. Press shortcut(<ctrl> + <space>) while editing the code.
4. Check that the list of suggestions are correct.
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Subscribers: bu5hm4n
Differential Revision: https://phab.enlightenment.org/D4476
2016-12-12 00:23:22 +00:00
Jean-Philippe Andre
886b6356bd
editor: Fix crash when resizing without any code open
2016-11-30 15:34:34 +09:00
Andy Williams
65cda5ee4d
fix extension lookup so we can see .eo files again
2016-11-30 04:00:48 +00:00
Andy Williams
48e954137f
files: Avoid missing mime check
2016-11-30 01:51:46 +00:00
Andy Williams
5abd439e3e
filelist: Actually update on file add/rm
...
This is pretty much working except some genlist bugs :(
2016-11-29 18:16:12 +00:00
Andy Williams
539953bc72
Fix crash when opening a new window
...
Since the refactoring this was duplicate freeing
@fix
2016-11-29 17:09:25 +00:00
Andy Williams
fc89c66617
ui: Don't how open context menu for directories
2016-11-29 17:08:58 +00:00
Andy Williams
bee632e5a1
ui: Fix file listing to stop duplicating entries
...
Working towards a proper refresh of the UI on change...
@fix
2016-11-29 17:03:45 +00:00