Commit Graph

134 Commits

Author SHA1 Message Date
Andy Williams 08547bbd3a Add translation support
Fixes T5901
2017-09-11 21:06:22 +01:00
Al Poole 84a515ce87 build: status. MOre verbose notfication title.
Add status to the title of the notification also.
2017-09-08 11:04:45 +01:00
Al Poole b19befd089 edi_exe: modify method to allow additional data parameter.
This adds an additional pointer for abritrary data. Have utilised
this to make the notidy on build more verbose without code
duplication.
2017-09-08 00:16:10 +01:00
Al Poole 9be1db4858 build: Add status detection of all build types.
This adds tracking of other build types and their exit status and
allows us to use desktop notification for these also. Also cleaned
up some unnecessary cleanup code.
2017-09-06 13:08:02 +01:00
Al Poole b8642ab63c main: show console panel before we start the build process.
Show the console panel before the build process begins.
2017-09-05 16:13:05 +01:00
Al Poole 7e9f33a635 exe: Add methods to handle async shell execution and acting on exit status.
This adds two methods for handling executing shells async. The notification
has been reworked to use this method so there is less blocking. A callback
can be passed to the handler method for various actions on the exit status
of the script execution.
2017-09-05 15:58:00 +01:00
Al Poole 5aba714f90 build: Add support for tracking build process exit code and add notification.
This patch adds tracking of the build process's status code. This allows us
to respond to the build process within the program much easier. Also added
a simple API for desktop notification of the build process and its exit code
which is useful and pretty.
2017-09-04 20:52:34 +01:00
Al Poole 65477c7d46 widgets: Use consistent text style across widgets in the application.
Make changes to text style along with some miminal word changes and
fixes.
2017-09-02 22:48:57 +01:00
Al Poole 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