220 Commits

Author SHA1 Message Date
Jonathan Grizou
da6d2d21d5 ui is no more passed in the command args.
Corresponding changes have been applied in commands files.
2013-07-07 00:05:57 +02:00
Jonathan Grizou
4e17a2201b Simplest possible modification of ui. Working.
Will now propagate changes in every files.
2013-07-06 23:48:30 +02:00
Jonathan Grizou
62bdf7dfad Changed event system to allow more advance listener.
See associated test for example.
2013-07-06 22:02:03 +02:00
jgrizou
4f4a58d81c Texnote robust. Should implement test now. 2013-07-05 21:49:21 +02:00
jgrizou
248055ded9 Fixed error in RenameEvent from previosu chages in repo 2013-07-05 20:17:47 +02:00
jgrizou
5510b6d3b9 Applied flake8 in config. 2013-07-05 19:47:26 +02:00
jgrizou
690f8ce792 Simplifies add and save in repo. 2013-07-05 19:14:47 +02:00
jgrizou
3f1f9623cf texnote plugin integrate all current event 2013-07-05 18:09:02 +02:00
jgrizou
9cc893d8a7 Added AddEvent 2013-07-05 17:41:48 +02:00
jgrizou
ac8ab54aae Changed the event, deleted the ui and add the Rename event. 2013-07-05 17:36:57 +02:00
jgrizou
516f8231ab Update the edit_cmd with respect to changes in repo 2013-07-05 17:36:11 +02:00
jgrizou
7b555abf92 Change repo and removed the update function and the rename function. Now only the save_paper function must be used 2013-07-05 17:35:32 +02:00
jgrizou
843d81a0e8 Merge branch 'develop' of scm.gforge.inria.fr:/gitroot/mimosa/papers into develop 2013-07-05 10:03:55 +02:00
Fabien Benureau
e43fbe4744 Merge branch 'develop' of gmimosa:/gitroot/mimosa/papers into develop 2013-07-04 21:36:16 +01:00
Fabien Benureau
9247c0d3f3 update check at startup 2013-07-04 21:31:53 +01:00
Fabien Benureau
edbe1af3fa Merge branch 'develop' into feat/better_test
Better tests, with every command except websearch and update in unit tests.
Support for fake user and editor inputs in tests.
2013-07-04 21:17:33 +01:00
Fabien Benureau
f62b31542d cosmetics in edit_cmd 2013-07-04 21:17:19 +01:00
Fabien Benureau
f82b913a80 FIX import_cmd typo 2013-07-04 21:06:45 +01:00
Fabien Benureau
cc3928ef4b fake editor_input 2013-07-04 18:05:53 +01:00
Olivier Mangin
e4ad9745c1 Fix bug and adds doc.
- Fix wrong call to editor_input in add_cmd.
- Adds docstring to PapersInRepo class.
2013-07-04 18:13:30 +02:00
jgrizou
451d3b1a78 Merge branch 'plug/texnote' of scm.gforge.inria.fr:/gitroot/mimosa/papers into develop 2013-07-04 16:22:55 +02:00
jgrizou
76d1ef3931 Texnote usable.
Added a edit_file function in files.
2013-07-04 16:19:46 +02:00
Olivier Mangin
53e6aa512e Remove outdated add_library. 2013-07-04 15:04:18 +02:00
Olivier Mangin
bb8243966b Default plugins is no plugin. 2013-07-04 15:03:28 +02:00
jgrizou
1f91712b31 Changed init of texnote to pass tests. 2013-07-04 12:23:10 +02:00
jgrizou
ebff1bb4e4 Updated texnote, not working yet
Add a check_directory in files.py
2013-07-04 12:10:23 +02:00
jgrizou
073d03e2fb Enable open command with option, e.g. "evince -f" 2013-07-04 10:55:49 +02:00
jgrizou
49bdd93019 Enable edit command with option, e.g. "gvim -f" 2013-07-04 10:50:35 +02:00
Jonathan Grizou
e9b0373456 Some test on texnote 2013-07-04 00:09:17 +02:00
Jonathan Grizou
f29f1a96b5 Check if plugin as a parser command before adding it into the OrderedList.
Indeed some plugins may not need to define one.
2013-07-04 00:08:00 +02:00
Jonathan Grizou
fa836aaad9 events.py more clean 2013-07-04 00:05:59 +02:00
Jonathan Grizou
4a91c4953c Change back plugin.py to plugins.py + adapt PapersPlugin class protoype to command with args 2013-07-03 23:12:32 +02:00
Jonathan Grizou
31cf4de9d3 Change call for command from "cmds[cmd].command(**vars(args))" to "cmds[cmd].command(args)".
Applied  the corresponding changes to command files.
AMakes it possible to declare and use additional parser inside subparsers.
May be useful for tag command. Will be implemented in texnote plugin.
2013-07-03 23:01:47 +02:00
Jonathan Grizou
d02155af4e Fixed other command, only tested for export_cmd 2013-07-03 21:22:23 +02:00
Jonathan Grizou
c1b4a797d5 Fixed open_cmd. 2013-07-03 21:15:57 +02:00
Jonathan Grizou
dce81717cc edit_cmd fixed. 2013-07-03 21:12:48 +02:00
Fabien Benureau
e9cb26f2e0 core file updated for python 3 2013-07-02 18:01:41 +01:00
Fabien Benureau
fc47328cbf FIX in config spotted by Jonathan 2013-07-02 16:45:34 +01:00
Fabien Benureau
dc73c987c8 update command for config v2 to v3 2013-07-02 16:42:37 +01:00
Fabien Benureau
4e9ce17c71 adapted update to version 3 2013-07-02 15:58:35 +01:00
Fabien Benureau
3c0f575b92 backtracked on changes. repo is passing all tests 2013-07-02 15:58:12 +01:00
Fabien Benureau
9614593192 version system 2013-07-02 15:57:28 +01:00
Fabien Benureau
f528aa8a67 updated core. almost all tests are passing 2013-07-02 14:05:32 +01:00
Fabien Benureau
e4f7017fdb commands updated to new config, new repo 2013-07-02 14:04:05 +01:00
Fabien Benureau
164816a910 updated tests 2013-07-02 14:03:32 +01:00
Fabien Benureau
c7a8ada751 enabled load keyword in repo __init__ 2013-07-02 13:29:17 +01:00
Fabien Benureau
7b66a4697d all repo test pass. doc are temporarily disabled. 2013-07-02 12:07:26 +01:00
Fabien Benureau
c3b71e9095 better files.clean_path arguments 2013-07-02 11:22:55 +01:00
Fabien Benureau
ac4b682307 added doc_dir and keywords init to config 2013-07-02 11:19:13 +01:00
Fabien Benureau
a354e79523 first test of new repo passing 2013-07-02 10:59:55 +01:00