Commit graph

33 commits

Author SHA1 Message Date
f8d90af6d0 Remove unused import 2016-01-05 16:42:14 +01:00
6ee54dfb78 Use return value: fail if content could not be read 2016-01-05 16:42:14 +01:00
0d4c390b9f Remove unused import 2016-01-05 16:42:14 +01:00
67dd4d3be1 Use return value: fail if content could not be written 2016-01-05 16:42:14 +01:00
c380e0f64f Use return value: fail if content could not be read 2016-01-05 16:42:14 +01:00
62ced34964 Add helper: get_tempfile() 2016-01-05 15:20:08 +01:00
d775750362 Color some info!() output 2016-01-03 20:28:42 +01:00
6b105f41d2 Add: ui::external::editor::edit_content() 2016-01-02 20:06:21 +01:00
7ac5111cde Fix let_user_provide_content() 2016-01-02 20:06:21 +01:00
37f3c90914 Remove dead code 2015-12-30 23:02:05 +01:00
a2856d8671 Remove unused imports 2015-12-30 23:02:05 +01:00
Homu
25045b7345 Auto merge of #34 - matthiasbeyer:doc, r=matthiasbeyer
Add some documentation

Still does not produce the documentation I want, though it basically works now.
2015-12-30 17:54:41 +09:00
c106af5618 Remove all the crap and implement temp-file editor calling 2015-12-30 09:49:15 +01:00
43bf526740 Add docs to ui/file.rs 2015-12-29 18:20:56 +01:00
808e44339a Implement TempFileError and traits for it 2015-12-29 16:00:08 +01:00
900ffcb7d1 Add ui submodules to talk to external programs, editor in this case 2015-12-29 16:00:08 +01:00
bb97778fbb Rename table title 2015-12-28 14:30:45 +01:00
1fde80800b Allow the custom function to return an Vec<String> in the FilePrinter trait 2015-12-28 14:29:44 +01:00
51605e1314 Impl FilePrinter for TablePrinter ::print_files_custom() 2015-12-28 13:56:53 +01:00
6455c45630 Impl FilePrinter for SimplePrinter ::print_file_custom() 2015-12-28 13:56:38 +01:00
f0c186f33b Impl FilePrinter for DebugPrinter ::print_file_custom() 2015-12-28 13:56:20 +01:00
fc42d6b4bf FilePrinter: Add print_file_custom(), print_files_custom() 2015-12-28 13:56:01 +01:00
74aab89fbb ui: Change to take Rc<RefCell<File>> instead of File 2015-12-28 13:36:44 +01:00
470f1b1378 Save only module name in File, not whole module 2015-12-27 23:46:08 +01:00
f774effabb File: Return inner contents as references, not cloned 2015-12-27 23:26:23 +01:00
230d00f35a Remove unused imports 2015-12-05 01:23:06 +01:00
1f8bdef1ed Remove unused variables 2015-12-05 01:18:12 +01:00
87d9ca7d06 Print table only if there are entries 2015-12-04 21:56:48 +01:00
db9c4e48ba ui/TablePrinter: Add debug output 2015-12-04 21:56:33 +01:00
8ddfb090b4 ui/file: use FileID::into() 2015-12-02 13:43:09 +01:00
efe1577f02 TablePrinter should be pub 2015-12-02 12:20:54 +01:00
c3397d5238 Use prettytable to implement TablePrinter 2015-12-02 12:20:52 +01:00
918016368e Add file printer helpers 2015-12-02 12:20:23 +01:00