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
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
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
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
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
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
Andy Williams
a8d62ded23
ui: Use correct icon naming for FDO arrows
2017-06-29 21:25:26 +00: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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
32b6169e0d
Centralise some more path handling methods
2017-02-19 16:22:53 +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
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
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
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
20909a4e4f
ui: Move toolbar to left and remove the text labels
2016-09-25 17:23:07 +01: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
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
2262d7bf1c
elm_code: Removed and migrated to using the elementary merged version
2016-06-10 10:03:40 +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
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
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
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
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
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
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
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
1998483d06
docs: Fix manpage and skeleton manpage
2015-06-04 08:40:43 +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
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
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
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
d5185e2107
Merge branch 'master' into elm_code
2015-02-21 18:28:07 +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
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
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
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
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
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
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
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
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
823c2e2a86
Improving portability again
2015-01-10 17:12:52 +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
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
8555a54d62
Fix indentation of code
2014-12-08 21:03:26 +00: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
5d858c938b
Smoothen panel animations to work from current space if closing
2014-11-30 02:45:49 +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
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
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
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
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
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
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
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
6a6851fd4a
Initial welcome screen, working on adding the create project support
2014-06-29 23:54:29 +01:00
Andy Williams
ce8b9a8b93
Scale windows per elm scale configuration
2014-05-19 23:52:50 +01:00
Andy Williams
c3185b2225
Let's open files that are reported on the console.
...
Adding support to open at a specific line when
opening files or switching tabs.
2014-05-18 21:26:49 +01:00
Andy Williams
eb38d77af9
Added goto line feature, hook in ctrl-f for search (find...)
2014-03-15 13:12:34 +00:00
Andy Williams
3deedfeeb8
Added simple search function based on Ecrire's Find/Replace
2014-04-30 23:06:16 +01:00
Andy Williams
6a61c633b9
Fix some warnings
2014-04-27 21:01:42 +01:00
Andy Williams
5eff36e8e8
Actually use our library for building. Support ./configure and ./autogen.sh. Move some common functions to the library too
2014-04-27 17:36:20 +01:00
Andy Williams
40c206849e
Simple make function invoked from a build button and displayed in a console tab next to logs
2014-04-27 16:57:47 +01:00
Andy Williams
7b6cd95592
Add a new file button to create new files
2014-03-31 22:24:56 +01:00
Andy Williams
97f95aaa17
Add buttons that extend the area that's tappable to show the panels
2014-03-14 13:43:34 +00:00
Andy Williams
cecc51cd90
Use panel overlays so we can slide in the extra content
2014-03-14 09:41:09 +00:00
Andy Williams
90b2389a74
Manage open-in-new-window requests for files or open tabs. When selecting a file that is in a window raise the window rather than selecting the tab
2014-03-13 18:31:24 +00:00
Andy Williams
c25bab1220
Use more standard icons
2014-03-13 16:34:05 +00:00
Andy Williams
d8e430285a
Remove the extra callback, we can just make type a required parameter that can be null
2014-02-26 08:17:44 +00:00
Andy Williams
17b90a8876
Add an open-as menu so we can override the mime type detection
...
The mime / type registration requires some work - there are a few magic values here that need to be formalised
2014-02-26 07:28:24 +00:00
Andy Williams
16017019b3
Add actual log output to the log panel.
...
Using Eina_Log we hook in a custom print function that adds lines to our log UI.
2014-02-26 04:32:12 +00:00
Andy Williams
7141262664
Add a right click menu for xdg-open
2014-02-23 20:22:32 +00:00
Andy Williams
568ab38d54
Let's only open plain text fils mkay?
2014-02-19 19:24:50 +00:00
Andy Williams
82655964ea
Load a project directory from the command line or by displaying a folder picker
2014-02-16 19:55:00 +00:00
Andy Williams
4437672cad
Add a more useful toolbar of functions. Set a more usable font for editing and make autosave a config option
2014-02-16 17:09:55 +00:00
Andy Williams
1899233c01
whitespace fixes
2014-02-16 00:31:10 +00:00
Andy Williams
be30e5e24c
If a file is open then re-focus the loaded file. Don't open directories or non-files
2014-02-16 00:29:00 +00:00
Andy Williams
6e27500f68
Adding (blind) loading of files as text for editing. Use a naviframe for holding the content and a callback from filepanel through main to open new files
2014-02-15 23:17:40 +00:00
Andy Williams
5d8981d09d
Loading the panel from the filesystem. organise out a little and commit where i've got to
2014-02-14 23:50:25 +00:00
Andy Williams
4e0c68a540
Correct the toolbar issue
...
Actually contain everything in a vbox - don't try to pack toolbar into a pane
2014-02-12 23:20:29 +00:00
Andy Williams
476c6c5d9c
Add some layout and dummy content
2014-02-12 23:02:09 +00:00
Andy Williams
97f3e99c06
Update some copyright bugs from script
2014-02-12 20:58:43 +00:00
Andy Williams
78dc9c0932
Output of eflprj with a couple of tweaks - and EDI is born
2014-02-12 20:56:20 +00:00