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
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
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
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
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
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
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
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
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
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
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
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
Andy Williams
7d5b7ba4b8
[logs] Ignore some common log lines to avoid clutter in panel.
...
This also removes some infinite loops as the redrawing of the log panel
could trigger these lines too
2015-10-10 12:23:22 -07:00
Andy Williams
af6297992e
[config] don't re-open files not really opened
...
When we chose type tapping cancel should not cause the file to be reopened later
2015-09-16 10:21:21 +01:00
Andy Williams
2f0347b108
[editor] Make whitespace trimming an option
...
Add a global setting to turn off the behaviour
2015-08-29 14:46:18 +01:00
Andy Williams
fdd2a69333
[settings] Fix typo causing compile error
...
Fixes github issue #4
2015-08-29 14:16:53 +01:00
Andy Williams
1b10edb079
typo--
2015-08-28 00:13:38 +01:00
Andy Williams
155ec77ac8
[editor] fix stability of the highlighting thread
...
Grab locks at the correct times, seems to help a lot...
2015-08-28 00:12:59 +01:00
Andy Williams
93ee90a302
new file: create in selected directory
...
When the filepanel selected item is a directory place new
files in that location rather than project root.
2015-07-17 10:30:25 -07:00
Andy Williams
1c7e2b3873
editor: improve goto line dialog
...
Focus the input when we show and allow enter press to submit.
Also refactor it out of the edi_main mess.
2015-07-16 22:36:15 +01:00
Andy Williams
4da088b51c
tabs: load in the correct order...
...
Remove some unneeded duplication at the same time
2015-06-09 22:31:33 +01:00
Andy Williams
7cc03ec58d
remove tabs from indent
2015-06-07 23:12:31 +01:00
Andy Williams
1998483d06
docs: Fix manpage and skeleton manpage
2015-06-04 08:40:43 +01:00
Andy Williams
3f86407481
elm_code: consistently use 0 based text index
...
This means it's more familiar as regular string work when
using the elm_code_line APIs. It's also more distinct from
the elm_code_widget layout which is still 1 based columns.
To support unicode we must convert correctly.
Now FIXED!
2015-06-03 21:29:31 +01:00
Andy Williams
e3ed8806c3
elm_code: add legacy API.
...
Refactor eo API in line with elm_obj_* elsewhere
2015-06-02 08:22:36 +01:00
Andy Williams
4d466dbc74
Fix many warnings.
...
Make the font face const char * and use eina_stringshare
2015-05-31 21:18:18 +01:00
Andy Williams
78252cefc1
run: Add args to settings for default run button
2015-05-31 19:46:18 +01:00
Andy Williams
d4670583df
builds: Add a run button and the launch config to support.
...
I expect we can support a list of these later so for now
support passing around the launch config.
2015-05-31 12:13:31 +01:00
Andy Williams
7bf0fc7c3c
highlighting: Fix threading to avoid overlap crash
...
It's not threadsafe code within the editor so block
a thread if another is already running.
Also ditch pthread for Ecore_Thread :)
2015-05-30 22:56:41 +01:00
Andy Williams
10dc1c77bd
setting: Add a font picker
...
Monospace only so we get a deccent looking result.
Mostly from the terminology project - thanks guys
2015-05-30 10:32:37 +01:00
Andy Williams
9567122d09
diff: Respect configured font (size)
2015-05-30 10:31:46 +01:00
Andy Williams
f4c48d4ca9
elm_code: support setting custom fonts
...
For EDI create the config that would allow this to be altered.
Actual setting widget to follow...
2015-05-30 10:31:46 +01:00
Andy Williams
64f33b0823
Update icons and about imagery
2015-05-26 23:59:16 +01:00
Andy Williams
fe5411b5c3
settings: Split into project and global settings
...
This should clarify what the user is setting.
Need to make the "headers" non-clickable but not sure how
2015-05-24 13:12:37 +01:00
Andy Williams
b4224ff36c
settings: Fix alignment of display settings
2015-05-24 13:12:18 +01:00
Andy Williams
cb33dbcfb0
better crash fix - mimic standard free() method
2015-05-21 13:58:51 +01:00
Andy Williams
b4cd9cb4a1
Fix crash if closing with no project open
2015-05-20 23:26:29 +01:00
Andy Williams
ff7d8550e5
menu: flesh out our application menu
2015-05-19 22:32:55 +01:00
Andy Williams
f1d55e70e8
Create helper for opening URLs
2015-05-19 22:28:05 +01:00
Andy Williams
498049cba1
add a main menu to EDI
2015-05-19 00:01:56 +01:00
Andy Williams
bd55404b42
Allow hiding of the toolbar
2015-05-18 23:17:24 +01:00
Andy Williams
c216a32791
Use portable eina util methods for paths.
...
Should fall back correctly on Windows now
2015-05-18 19:25:02 +01:00
Andy Williams
c65ac2e5c3
config: free up memory when removing projects
2015-05-18 17:56:21 +01:00
Andy Williams
1bcb2cbf95
editor: Remember open tabs and windows.
...
Store per-project to open what you were last working on in the project
2015-05-18 16:32:46 +01:00
Andy Williams
1845bd517e
fix compile error
2015-05-18 15:46:39 +01:00
Andy Williams
d380f0f6d3
editor: fix memory corruption when opening new win
...
Fixes issue when a file opened to a new window could not then
be focussed or re-loaded after the window is closed
2015-05-18 15:45:28 +01:00
Andy Williams
bf17d7c8af
config: save project config in the project dir
...
globally storing info about projects loaded, file associations
and the general user preference.
GUI and usage settings stored in <project>/.edi folder
2015-05-16 09:59:08 +01:00
Andy Williams
0da1c9a5e3
Settings: add a background to the window
2015-05-16 09:59:08 +01:00
Andy Williams
a0d6627f54
elm_code: add a TODO/FIXME standard parser
...
Corret some callback code and re-parse each time the file is saved.
Use this to clean up save/parse code in EDI too
2015-04-20 01:21:03 +01:00
Andy Williams
179b0e713f
clang: Fix crash if error is not related to a file
2015-04-12 23:39:38 +01:00
Andy Williams
17d8b30e00
syntax: Only display errors for current file
...
Clang can report from various sources,
only add those that are from the current file
2015-04-12 23:06:28 +01:00
Andy Williams
bc6ec2dd6f
syntax: reset status and hints when we reset token
...
re-use elm_code methods when we do this in edi
2015-04-12 23:04:46 +01:00
Andy Williams
d03675ba71
clang: fix paths used in syntax lookup
...
Pass in the edi build config to get efl params.
Also find the correct system include for clang dynamically
2015-04-12 22:25:41 +01:00
Andy Williams
c0654b6c4e
clang: remove debugging
2015-04-12 16:47:53 +01:00
Andy Williams
6fc3da889b
Fix crash where clang encounters too many errors
2015-04-12 15:39:47 +01:00
Andy Williams
efec7c1f37
editor: add tabstop configuration
...
Allow setting of the tabstop. App wide for now.
2015-03-29 20:40:24 +01:00
Andy Williams
2a4d4e17f0
elm_code: Cut, copy and paste working
...
Current limitations that paste is into a single line
2015-03-28 17:57:47 +00:00
Andy Williams
d5e405b420
search: Update replace for elm_code selection code
...
That should be search and replace completely ported now
2015-03-28 16:05:36 +00:00
Andy Williams
f1571f296e
settings: Allow configuration of line width marker
2015-03-28 00:45:20 +00:00
Andy Williams
2a1320d1f1
clang: tidy clang disposal and remove notes
2015-03-28 00:18:20 +00:00
Andy Williams
b632e3abc0
tidy includes
2015-03-28 00:17:31 +00:00
Andy Williams
ace8350ac2
highlighting: clear errors that no longer apply
...
Also refresh more regularly now it's faster
2015-03-27 23:55:17 +00:00
Andy Williams
4f8ece09cf
clang: save errors and display if clicked
...
Using a gutter click in elm_code to print to console for now
2015-03-27 23:54:28 +00:00
Andy Williams
ba5a31b884
Merge branch 'master' into elm_code
2015-03-25 20:52:14 +00:00
Andy Williams
4db1c2b826
settings: Fix compile error due to wrong type name
2015-03-25 20:48:41 +00:00
Andy Williams
ff0e5323b5
editor: Delay goto until we've loaded the ui
2015-03-23 22:36:29 +00:00
Andy Williams
4fc9748db3
elm_code: add text search functions.
...
Update the search and replace UI to work with the new elm_ode UI.
2015-03-22 22:36:04 +00:00
Andy Williams
fb7dab9c90
editor: fix goto line
...
broke during elm_code migration, working again
2015-03-21 21:56:59 +00:00
Andy Williams
4583d2d800
testpanel: fix crash for short log lines
...
And correctly highlight test failures
2015-03-21 21:55:28 +00:00
Andy Williams
8eb3978c1e
elm_code widget: fire user change events
...
This does not yet have a "change" attached so does not
support undo/redo yet
2015-03-21 20:04:12 +00:00
Andy Williams
4aa3defb30
editor: save using elm_code's new save method
2015-03-21 19:53:21 +00:00
Andy Williams
c29c9c5133
editor: display the line endings for the file
2015-03-21 13:56:27 +00:00
Andy Williams
ec427d2ba4
Merge branch 'master' into devs/ajwillia-ms/elm_code
2015-03-15 19:08:26 +01:00
Andy Williams
0509eb1841
settings: configure the display of whitespace
...
Refresh this when config changes
2015-03-14 13:10:38 +00:00
Andy Williams
04ec5efa24
welcome: Fix launch crash issue on some systems
2015-03-12 00:52:41 +01:00
Andy Williams
f137cc5321
editor: fix issue with closed tabs
2015-03-15 13:27:15 +00:00
Andy Williams
8730b4dfb3
config: Update editor when font size changes
2015-03-08 22:28:21 +01:00
Andy Williams
b97da3b70a
Merge branch 'master' into devs/ajwillia-ms/elm_code
2015-03-08 22:27:38 +01:00
Andy Williams
e62ddd5bc1
config: add settings screen
...
Add a new autosave flag, upgrade config so it's set.
Listen to a config_changed event to update UI where required.
2015-03-08 22:14:25 +01:00
Andy Williams
fcac809e97
gui: break toolbar in 2 so we can right align.
...
Not perfect as there's a visible break, further attempts
will need a custom theme.
2015-03-08 22:04:00 +01:00
Andy Williams
ff68af7076
elm_code line: unsigned int for length
2015-03-08 11:14:02 +01:00
Andy Williams
b28773a7f6
Merge branch 'master' into devs/ajwillia-ms/elm_code
2015-02-27 15:13:06 +00:00
Andy Williams
0c2819bd4f
editor: update to latest elm_code and show whitespace
2015-02-28 16:28:22 +00:00
Andy Williams
7ed4aa9695
Merge branch 'master' into elm_code
...
Conflicts:
elm_code/src/lib/elm_code_diff_widget.c
2015-02-28 15:31:57 +00:00
Andy Williams
e0477ff3cb
elm_code: require an elm_code for each widget
...
In our finalizer we ensure that an elm_code is set.
No longer allow code_set to be called after construction.
2015-02-28 13:22:38 +00:00
Andy Williams
2db478cca6
create: Pick up username in Windows.
...
Look up USERNAME if no USER environment variable is found.
Patch from Vincent Torri
2015-02-28 15:53:39 +00:00
Andy Williams
d6bb571c89
filesystem: Use standardised icon names
2015-02-27 14:49:57 +00:00
Andy Williams
079a65a98b
merge changes from master
2015-02-26 13:56:50 +00:00
Andy Williams
881860bc15
console: Fix possible crash if errors occur before make starts
2015-02-25 23:29:31 +00:00
Andy Williams
c98ba7d1e8
syntax: Actually use the elm_code parser api.
...
Improve the API to allow passing of user data to the calls.
Yes, I forgot about this, it works well so remove the STYLE_SET callback
2015-02-24 00:32:40 +00:00
Andy Williams
35f225292e
create: Merge in welcome crash fixes from master
2015-02-23 21:58:39 +00:00
Andy Williams
71fa2d13c8
elm_code: display a line-width marker if requested
2015-02-23 21:52:49 +00:00
Andy Williams
724bf617cb
Merge branch master
...
conflicts in elm_code_widget.c resolved
2015-02-22 23:38:54 +00:00
Andy Williams
0e49f40ff3
elm_code: Support text insertion for simple edits.
...
Hook into the widget for elm_code_test and edi editors.
Only alphanumeric and space, but it's a start.
2015-02-22 20:07:08 +00:00
Andy Williams
c18fccb646
syntax: Add line highlighting for clang errors
...
This never worked on the old elm_entry code!
Highlight where clang knows a problem exists.
Not yet inserting a caret, but there's more to be done...
2015-02-21 18:54:52 +00:00
Andy Williams
7212dc24bb
syntax: Remove unneeded timers and threads.
...
Now that it's all much faster and more reliable we don't need to resync etc
2015-02-21 18:48:33 +00:00
Andy Williams
d5185e2107
Merge branch 'master' into elm_code
2015-02-21 18:28:07 +00:00
Andy Williams
bbe671626e
elm_code: Support multi-line tokens
...
Adding a new token to each line it covers.
Each token references the end line so newline behaviour can be set
2015-02-21 18:24:17 +00:00
Andy Williams
dd9f96d2c0
syntax: Update clang to output elm_code tokens
...
Addition of a refresh line command to say we're done.
We no longer need an active window for highlighting
as it's so much faster!
2015-02-21 17:30:17 +00:00
Andy Williams
f9242b82ab
filesystem: don't refresh on every change
...
Just do the minimum for now - refresh when we add a file.
The constant monitoring needs a slicker refresh mechanism.
2015-02-21 14:10:25 +00:00
Andy Williams
bf81658432
console: Fix where clicking an error does nothing
...
Fix up the directory parsing to link current directory
to the line an error was reported in.
2015-02-21 14:04:55 +00:00
Andy Williams
1fab95cef1
Merge branch 'master' into elm_code
...
Conflicts:
elm_code/src/lib/elm_code_widget.c
elm_code/src/lib/elm_code_widget.eo.c
elm_code/src/lib/elm_code_widget.eo.h
2015-02-19 22:39:11 +00:00
Andy Williams
704e70a407
about: Show version in about window
2015-02-19 22:20:10 +00:00
Andy Williams
eba8421411
filesystem: Update our listing if files are added or removed @fix T1857.
...
This needs to be improved so it does not collapse the listing etc.
The implementation needs to clean up after itself better too
2015-02-19 21:50:11 +00:00
Andy Williams
187d9e609a
elm_code: get / set the cursor position
...
When the cursor is updated make sure we have scrolled
so it's visible. Also adjust focus next points too.
2015-02-19 21:16:18 +00:00
Andy Williams
30460899a6
elm_code: Actually use it as our main editor window!
...
Need to hook in the clang highlighting and undo stack to the elm_code_widget
2015-02-19 00:22:07 +00:00
Andy Williams
632ed0aa11
create: Replace user lookup with a more efficient implementation
2015-02-15 21:20:35 +00:00
Andy Williams
de04dec6c0
Fix a crash if andy env is not present
2015-02-15 21:03:07 +00:00
Andy Williams
9751009a7e
files: Use correct icon for mime/editor type
...
Use mime type or user selected default type for file icons.
Use the same icon lookups for our popup menus to be consistent too.
2015-02-22 14:17:51 +00:00
Andy Williams
8ab4e93c6e
welcome: Fix issue where project browsing is cancelled.
...
Re-enable the action buttons when we get the file chooser callback
in case the user did not select a path to open.
Patch from Vincent Torri - thanks.
2015-02-15 20:41:58 +00:00
Andy Williams
d79ee5a19a
Fix some warnings when compiled without clang.
...
Also fix format of inner preprocessor ifs.
Patch from Vincent Torri.
2015-02-15 17:53:00 +00:00
Andy Williams
aae8ea89bb
editor: Let's reduce calls to saving files or resetting highlights.
...
Keep an eye on what has to be saved.
Only re-run clang parsing if we've actually saved recently
2015-02-14 23:55:05 +00:00
Andy Williams
ac35cc30d9
elm_code: Tidying our callbacks and line manipulation.
...
Now the line_done callback allows styling to be set during the load process.
2015-02-14 23:14:06 +00:00
Andy Williams
f6f19be6cb
elm_code: focus: block focus leaving text area when editable.
...
As well as setting when we should not have focus leave us a theme has been added.
This allows us to extend from elm_entry which is better suited to us.
2015-02-14 18:49:51 +00:00
Andy Williams
8032f0fcd6
editor: delay autosave to 5 secs but save on unfocus too
2015-02-11 22:39:25 +00:00
Andy Williams
6ac9fad7e3
Fixing some warnings on Windows.
...
Thanks, Vincent Torri
2015-02-11 21:25:09 +00:00
Andy Williams
4b85f85391
about: Fix window to be a dialog and layout a little to fit the dialog theme
2015-02-09 14:38:32 +00:00
Andy Williams
3a3bf2b6db
editor: Control the auto-save function locally so we can re-sync with clang.
...
This should mean that highlighting, whilst still slow and flickery, does not corrupt.
2015-02-08 23:22:16 +00:00
Andy Williams
87c35fcf27
about: add a donate button too
2015-02-08 23:22:15 +00:00
Kelly Wilson
1a4843fba8
Mainview: prior/next tabbing wrap
...
Add wrap around for 'ctrl-prior' and 'ctrl-next' in the mainview naviframe
2015-02-08 14:38:46 -07:00
Andy Williams
7c8d84d110
Fix a few warnings and possible build issues
2015-02-08 00:55:51 +00:00
Andy Williams
d648b31713
help: Add an about EDI screen.
...
Refactor code a little to help organise these support screens
2015-02-08 00:24:21 +00:00
Andy Williams
fbd84d8782
config: Fix indentation, pluralisation and tests for remember-mime work
2015-02-07 16:37:36 +00:00
Kelly Wilson
cb872785f4
Config: remember file types
...
We now associate the mime type of a file with the type of file to open. So open a .py file as text once and then you won't be prompted any more.
2015-02-07 01:13:40 -07:00
Andy Williams
8bded5325d
Fix issues with distcheck.
...
Only remaining is a permissions problem with skeleton - will be fixed soon.
2015-02-06 23:45:50 +00:00
Andy Williams
c233fcad81
Split code editor type from text, don't try to highlight text.
...
Update our internal registry to know the difference between text and code.
Add some tests that verify we're getting the right type of editor.
2015-02-06 14:16:26 +00:00
Kelly Wilson
0b5fa028bb
Content Provider: add new types
...
Add C++ .cpp and .hpp file types to our mime type detection function.
2015-02-05 18:27:02 -07:00
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