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
Andy Williams
49f7506521
highlight: cancel the file parsing on line events
...
Either we have removed a line and could crash or we have
added a line and everything will be off by one!
This will get fixed moments later by the line change event
2016-11-28 01:46:07 +00:00
Andy Williams
8703876dc7
about: Update report issue link
...
Why do phab upgrades always break these links?
2016-11-27 23:08:50 +00:00
Andy Williams
9a0b7e8d53
ui: Reset search term when activating search
2016-11-26 02:20:35 +00:00
Andy Williams
890d54fc57
filepanel: don't reload on monitor until we have it fixed
2016-11-06 16:26:34 +00:00
Andy Williams
77e077ee4a
ui: Make file tabs scrollable and highlight current tab
...
A few layout "hacks" here inkeeping with the way Elm wants it...
2016-11-06 16:24:55 +00:00
Andy Williams
a874a6b4ee
Fix build warning
2016-11-06 16:24:17 +00:00
Andy Williams
1855b437af
config: Move project config into global config area
...
A little refactoring to get the project name to index this
2016-11-04 14:49:39 +00:00
Andy Williams
1ab2700a7c
fix typo
2016-10-23 19:59:54 +01:00
Andy Williams
a775d378e3
Change sed usage to be portable.
...
@fix T4676
2016-10-22 20:26:38 +01:00
Andy Williams
97e2192a2b
files: tidy code to be easier to read
...
Thanks for the tip, vtorri
2016-09-30 21:47:05 +01:00
Andy Williams
8b7fbed43b
files: Also ignore .a and .la for a make project
2016-09-30 10:34:11 +01:00
Andy Williams
1fe95db05f
config: update defaults since elm_code_widget fixed width marker
2016-09-29 20:02:38 +01:00
Andy Williams
20909a4e4f
ui: Move toolbar to left and remove the text labels
2016-09-25 17:23:07 +01:00
Andy Williams
51c3cdeca6
lib: let the callback to create be optional
2016-09-25 15:58:36 +01:00
Andy Williams
1578481d46
ui: only use help lookup if control pressed
2016-09-11 19:17:21 +01:00
Andy Williams
61284cfa1a
oops, fixing the right temporary code
2016-09-11 17:05:14 +01:00
Andy Williams
bbf388deae
ui: use the style from multibuttonentry for tabs
...
Icons not here temporarily...
2016-09-11 16:50:53 +01:00
Andy Williams
f0d3c26808
ui: drop toolbar for tabs, start rolling my own
2016-09-11 14:00:31 +01:00
Andy Williams
f71e4899c2
ui: Fix various toolbar items since tab chnges
...
oops :( lookup data in the right context
2016-09-10 23:41:14 +01:00
Andy Williams
75ae5edf7e
logs: disable logging for a while
...
There is an infinite loop because of an elm_code warning
2016-09-10 22:58:38 +01:00
Andy Williams
22546e5e5a
ui: Fix the behaviour of tabs
...
Promote cleanly and hide welcome unless there is no other content to show
2016-09-10 22:28:31 +01:00
Andy Williams
e9b18c4560
syntax: Fix bad racey thread conditions
2016-09-09 16:21:11 +01:00
Marcel Hollerbach
0154ee168a
edi: follow namespace change from Eo_Event to Efl_Event
2016-09-04 19:48:08 +02:00
Andy Williams
7f6fdac376
Add Create Project menu item
...
Also provide command line argument to load the create
screen on launch.
2016-08-26 15:13:54 +01:00
Andy Williams
1053eb1a63
Update test suite to remove old elm_code references
2016-08-23 23:34:03 +01:00
Andy Williams
4d92303f3a
Update to the EFL 1.18 release
2016-08-18 15:05:09 +01:00
Andy Williams
3bf5df98b7
Add single file mode to help
2016-07-03 23:08:49 +01:00
Andy Williams
214792b73e
ui: allow loading of a single file
...
Simple mode just now, see how it works out
2016-07-03 21:06:22 +01:00
Andy Williams
0e9b8a64c6
create: Fix crash creating new projects
2016-07-03 20:46:29 +01:00
YeongJong Lee
2f41b6ca28
Adjust the code according to the eo event stop changes.
...
Summary: Changed the way Eo event callbacks are stopped.
Test Plan: 1. make
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D4114
2016-07-01 10:18:28 +01:00
Andy Williams
7fd984b77a
Fix compile errors with latest elementary from efl
2016-06-10 10:04:40 +01:00
Andy Williams
2262d7bf1c
elm_code: Removed and migrated to using the elementary merged version
2016-06-10 10:03:40 +01:00
YeongJong Lee
9f112d07ae
ui:fix title bar attribute of settings, about window
...
Summary:
ui:fx title bar attribute of settings, about window.
when using not enlightenment but other window manger, settings,about window can't be closed with one click.
they need close button.
Test Plan:
1. start edi.
2. select project.
3-1. click settings icon.
3-2. click About icon.
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D3979
2016-05-25 23:06:02 +01:00
Andy Williams
4d0b4468c4
ui: Update close icon to document-close
2016-05-25 23:02:39 +01:00
Andy Williams
1e66902a9c
ui: Fix icon naming to standard
...
Also tidy toolbar strings a little
2016-05-21 10:12:58 +01:00
Andy Williams
def75fb0e8
elm_code: Fix build for updated eolian_gen output
2016-05-19 22:17:52 +01:00
Andy Williams
dcd56607a9
editor: re-enable undo
...
Oops, we blocked elm_code from doing it's job
2016-05-17 23:24:14 +01:00
Andy Williams
4da81eac5e
[test] use correct parsing of test errors
2016-05-16 11:01:40 +01:00
Andy Williams
ce706b6623
[test] Fix parsing for tests that crash.
...
Report a test failure when we crash rather than defaulting to pass
2016-05-16 10:12:58 +01:00
Andy Williams
893098f3e4
fix doc
2016-05-16 09:11:11 +01:00
Andy Williams
acc6c4054a
[files] Filter file list to ignore hidden files
...
Ignore built files
2016-05-16 09:11:11 +01:00
Andy Williams
357acdca7b
[build] Abstract build logic to provider lookup
...
Allow future extensibility for different build types.
Display detected type in project window title.
2016-05-16 09:11:11 +01:00
Jean-Philippe ANDRE
4a759dfaf6
welcome: show after resize
...
The other way around does not guarantee the proper size.
2016-05-16 00:14:54 +09:00
Andy Williams
6f625964d3
[files] Filter file names using regexp
...
Allow more advanced filters like 'a[b|c]' or '\.h'
2016-05-15 14:12:14 +01:00
Andy Williams
10d6a9cd2e
welcome: Fix icon sizing to not be bigger than we want
2016-04-28 21:38:34 +01:00
Andy Williams
70742e1c73
ui: use standard icon names
...
remove deprecated lookup order calls as icon theme is set by user
2016-04-28 15:51:12 +01:00
Hermet Park
6fc4e26c44
fix build break.
...
eo event interface has been changed.
just updated it.
2016-04-14 10:48:33 +09:00
Carsten Holtkamp
803184016a
Opens welcome screen now under mouse, to follow enlightenments policy. Evas is picky about function call order.
2016-04-10 16:33:01 +01:00
Andy Williams
1971583e5e
[help] Stub out a right-click-help UI
...
Not looking anything up yet but we're getting started
2016-04-07 17:44:12 +01:00
Andy Williams
bca7ef40b8
tidy old stubs
2016-04-07 17:43:05 +01:00
Andy Williams
3713ee543a
[settings] list all monospaced fonts
...
Choose them based on behaviour rather than name.
2016-04-07 16:39:59 +01:00
Andy Williams
b3a9bd0f2c
Update to latest eo syntax
...
Thanks for the script Tom :)
2016-03-10 00:06:50 +00:00
Yomi
db913666bd
Edit welcome message.
...
Summary: Edit welcome message
Test Plan: none.
Reviewers: ajwillia.ms
Reviewed By: ajwillia.ms
Differential Revision: https://phab.enlightenment.org/D3727
2016-02-24 10:27:03 +00:00
Andy Williams
1867697292
[ui] re-add the undo button, it's back
...
Now that most keyboard actions can be undone it seemed
sensible to get the ui elements back again.
2016-02-21 23:46:44 +00:00
Andy Williams
acd7b54473
[editor] begin re-adding the undo feature.
...
This is provided completely by elm_code so can be reused in other editors.
For now this is just text/newline insertion...
Still have to add undo for deletion and selection
2016-02-21 18:11:33 +00:00
Andy Williams
687af9c86f
optimise edge case checking
2016-02-16 00:16:34 +00:00
Andy Williams
a744f48420
[tabs] add a close all feature
...
For the times when you just have too many tabs open!
2016-02-16 00:15:52 +00:00
Andy Williams
66b6e889fd
remove trailing whitespace
2016-02-11 14:20:01 +00:00
Andy Williams
681aad0ef8
[ui] Add feature to filter file list
...
Now you can easily find files in a big project
2016-02-11 14:20:01 +00:00
Tom Hacohen
492e3e7609
Fix out of source builds.
2016-02-09 09:11:26 +00:00
Andy Williams
557fb79396
[editor] Support space insertion instead of tabs
...
Elm_Code support and option in Edi to use spaces when the
Tab key is pressed - make this default too.
2016-02-09 00:32:16 +00:00
Andy Williams
47ebe38fc4
[ui] one more toolbar fix to match scale changes
2016-02-01 14:16:59 +00:00
Andy Williams
16639ff526
Revert "[ui] set icon size based on scale"
...
Fixing the icon scaling in elementary itself instead.
This reverts commit a0b90e27c6
.
2016-01-30 13:50:41 +00:00
Andy Williams
a0b90e27c6
[ui] set icon size based on scale
2016-01-29 14:44:26 +00:00
Andy Williams
09f572576e
[ui] Correctly focus popup inputs
...
Work around an issue where a top level input cannot be
focussed using the elm_focus API.
2016-01-21 20:06:49 +00:00
Andy Williams
a9d9d32797
[newfile] Check for filename and permissions
...
If filename is missing let user try again.
If directory cannot be written to then warn and give up.
2016-01-21 20:05:43 +00:00
Andy Williams
18f1a87b09
[builder] use builtin sh support in Ecore_Exe
...
Thanks for the hint Vincent :)
2016-01-17 17:58:53 +00:00
Andy Williams
f66d5ebaa8
[builder] Lauch /bin/sh to avoid local shell issues.
...
We're assuming a unix / linux machine of course
- this needs to be addressed for proper windows support
2016-01-16 22:50:24 +00:00
Andy Williams
d7cea60593
[ui] Tidy open file toolbar
...
Add icons for the filetypes on each tab.
Expand in menu mode - better than scrolling..?
2016-01-16 18:22:30 +00:00
Andy Williams
16ba73c6f7
[ui] Smooth file panel scrolling
...
Cache responses to mime lookups so we get can scroll
much more smoothly after initial load
Author: unixtaker
Signed-off-by: Andy Williams <andy@andywilliams.me>
2015-12-11 13:37:03 +00:00
Andy Williams
e925d9fb42
[build] Set up test environment in a way that supports fish and others
...
Use env rather than implicit variable setting in command line
2015-12-11 13:08:52 +00:00
Andy Williams
b0771bdfc6
[log] filter out lots of efl debug
...
Blanket debug flags can be helpful but not when
you have a lot of efl to dig through to get there!
2015-10-10 12:45:56 -07:00