Commit Graph

448 Commits

Author SHA1 Message Date
Andy Williams c37c23068c cmdline: don't try to open unknown file types
Display a warning and exit - fixes T5480
@fix
2017-05-13 23:29:46 +01:00
Al Poole f274063917 debugpanel: automatically run gdb according to project type. libtool/generic.
Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D4852
2017-05-10 06:48:01 +01:00
Al Poole 19971b006a filepanel: when opening as different file type, close first then open to ensure the file is instantly accessible as text or code (editing).w
Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D4844
2017-05-03 21:44:04 +01:00
Al Poole a46e32046f debugpanel: OSX uses different struct kp_proc layout. Adjust for that.
Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D4846
2017-05-03 21:01:01 +01:00
Al Poole e62a297610 debugpanel: update icons if process is resumed from the "console"
Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D4843
2017-05-02 22:03:23 +01:00
Al Poole 11f6f5871e debugpanel : Use correct system process state naming for 4.4BSD derivatives and Linux.
Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D4841
2017-05-02 21:16:36 +01:00
Al Poole a9b146da75 EDI -> Debugpanel -> Debug Process States/Signals -> Linux, OSX and FreeBSD et. al.
Summary:
Adds support for Linux, BSD and OSX for processing debug process states and signals.

With debugger icons can start and stop the process with signals. Icon also changes to indicate the process state.

Also removes the FIXME elm_code_fire bogus hack.

Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D4832
2017-05-02 20:45:15 +01:00
Al Poole 415ab788da EDI -> DEBUGPANEL -> GDB INTEGRATION -> START
Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Subscribers: bu5hm4n, ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D4822
2017-04-28 22:04:39 +01:00
Andy Williams cfe08f0756 refactoring for re-use 2017-04-28 21:16:47 +01:00
Andy Williams 64e8a3d703 Merge branch 'edi-0.5' 2017-04-28 20:15:35 +01:00
Al Poole 38dd432523 EDI -> Save -> Menu/Toolbar Indicator (w/o autosave)
Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D4819
2017-04-22 22:29:19 +01:00
Andy Williams a82062d6e6 Correctly ship the language C provider 2017-04-14 16:37:28 +01:00
Al Poole e3459cb526 EDI -> Main Menu -> Open Project (No tabs) -> Dancing window on Start Weirdness Fix
Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D4778
2017-04-09 11:43:24 +01:00
Andy Williams 2735b3f6c7 gui: Update undo/redo icons to show what actions can apply.
Also actually hook in the redo feature :)
2017-04-07 23:39:44 +01:00
Andy Williams 67709ae536 searchpanel: Update render to give more space for results
Decouple the parsing from render a little bit more
2017-04-05 21:57:06 +01:00
Al Poole 4e1094b5f2 EDI -> Tasks -> TODO/FIXME -> Panel (NEW FEATURE)
Summary:
Initial support for tasks.

Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D4764
2017-04-05 19:30:52 +01:00
Al Poole d988b4045e EDI -> Mainview -> Prev/Next tab Buttons -> FEATURE
Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D4765
2017-04-05 19:06:30 +01:00
Andy Williams 842fc7a530 disable broken tests - figure out why later 2017-04-03 22:26:49 +01:00
Al Poole b61cffad6c EDI -> Welcome -> New Project -> Fix (OpenBSD)
Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D4756
2017-03-31 21:36:25 +01:00
Al Poole fb8b47c93c Edi -> Search Project - Add initial support for search in project.
Summary: Almost there.

Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D4752
2017-03-30 23:06:34 +01:00
Andy Williams 4e3ff8f702 filepanel: use data object to avoid file lookups
Save memory and save isdir lookups all over
2017-03-30 22:28:35 +01:00
Al Poole 95f43adaec Move File/Dir Creation to edi_file.c/h
Summary: Also add options to menus

Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Tags: #edi

Differential Revision: https://phab.enlightenment.org/D4750
2017-03-27 22:04:41 +01:00
Andy Williams 6cf426e24a filepanel: Update directory context after refactoring 2017-03-27 21:57:44 +01:00
Al Poole 0549f5be36 Add optional menu for directories in file view.
Summary:
Option is "Open terminal here"
also, if directory is empty:
	"Remove the directory"

Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D4748
2017-03-26 21:24:20 +01:00
Andy Williams 533ac7d858 welcome: correct showing the panel when all tabs are closed 2017-03-25 23:03:06 +00:00
Andy Williams f44ab43d47 welcome: Fix layout when not tabs are open 2017-03-25 22:49:47 +00:00
Al Poole 04c06302d0 Fix SEGV on right click of file browser that is empty!
Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D4744
2017-03-25 22:20:21 +00:00
Al Poole d0997ca6a8 Fix SEGV on goto line when out of range
Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D4745
2017-03-25 22:12:25 +00:00
Al Poole 629a293a66 Add option to delete file in browser
Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D4742
2017-03-24 22:30:35 +00:00
Al Poole 2c2fca6d82 Fix not catching reload of files outside of program.
Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D4733
2017-03-24 17:52:32 +00:00
Al Poole c3bf4d86aa Mostly working...
Summary:
Problems occur when you change the search term and then
it wraps around...

Test Plan: Blast it!

Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Subscribers: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D4724
2017-03-23 23:58:55 +00:00
Al Poole f8d72f91e6 Center the welcome window on start
Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D4731
2017-03-23 23:21:38 +00:00
Al Poole ae73791f78 Fix SEGV on shutdown with main window and project open...
Reviewers: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D4725
2017-03-21 22:47:58 +00:00
Andy Williams 77eb19ce4f search: Show a notification that we wrapped search 2017-03-19 13:18:23 +00:00
Andy Williams 020f9ab3d7 fix whitespace 2017-03-19 12:50:32 +00:00
Andy Williams 92062043a4 search: Fix off by one/utf8 issues in replace 2017-03-19 12:50:07 +00:00
Al Poole 4315743706 @fix for T1852
Summary: Search should wrap around.

Reviewers: ajwillia.ms

Reviewed By: ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D4722
2017-03-18 22:48:32 +00:00
Andy Williams c89a211a94 syntax: trigger eolian highlighting 2017-03-04 15:43:04 +00:00
Stephen 'Okra' Houston 05ee192b98 Edi: Add double click expand/contract support on the file panel. 2017-03-03 18:08:40 -06:00
Andy Williams 0483196de4 clang: Update clang command database to support cmake too 2017-02-19 22:25:12 +00:00
Andy Williams 32b6169e0d Centralise some more path handling methods 2017-02-19 16:22:53 +00:00
Andy Williams 784c6c4917 clang: re-scan after save to get latest changes.
Slightly behind the cursor but better for the cache. Removes need to pass unsaved file
2017-02-18 23:06:06 +00:00
Andy Williams b5c061bc4d build: Split make from cmake so we can specialise better 2017-02-18 22:19:17 +00:00
Andy Williams 7735a90cc0 clang: Generate compile_commands.json using cmake builtin 2017-02-18 21:58:56 +00:00
Andy Williams f89f1bb0c6 clang: Add support for compile command databases
Relies on having bear (https://github.com/rizsotto/Bear).
Also refactor clang code to only have 1 instance per tab.
2017-02-17 22:49:27 +00:00
Andy Williams 25d5c6b7e6 cmdline: Add a little user feedback 2017-02-10 00:13:55 +00:00
Andy Williams a053bb9757 build: add trivial python project support 2017-02-07 00:05:06 +00:00
Andy Williams 13c7c1fcab syntax: Still ask clang to highlight preprocessor/macros 2017-01-31 20:09:02 +00:00
Andy Williams fd6584f8b6 filepanel: remove unneeded vars 2017-01-31 18:46:19 +00:00
Andy Williams 9631552eaa filepanel: Don't apply filter to folders
This way we can browse around looking for matching files :)
2017-01-31 18:44:58 +00:00