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
0801b3882d
Merge branch 'develop' into plug/texnote
2013-07-05 18:10:40 +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
Olivier Mangin
ea26eb69e7
Merge branch 'develop' of gforge:/gitroot/mimosa/papers into develop
2013-07-05 14:42:23 +02:00
Olivier Mangin
d5247a6618
Refactors usecase.
...
Integrate helpers into TestCase sub-classes to make use of setUp
mechanism.
2013-07-05 14:42:07 +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
ab52785667
update test in test_usecases
2013-07-04 21:39:51 +01: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
9c47951532
don't remove files at end of test.sh
2013-07-04 21:16:57 +01:00
Fabien Benureau
145710b928
test for every command except websearch and update
2013-07-04 21:15:03 +01:00
Fabien Benureau
f82b913a80
FIX import_cmd typo
2013-07-04 21:06:45 +01:00
Fabien Benureau
7d06200c66
project ackrc file
2013-07-04 20:14:29 +01:00
Fabien Benureau
6c9d4a3a41
lot more test in test_usecase : every command used
2013-07-04 18:59:30 +01:00
Fabien Benureau
04fcb42338
tests can be run from root dir
2013-07-04 18:31:21 +01:00
Fabien Benureau
3b7900a3a4
added tests/tmpdir* to gitignore
2013-07-04 18:07:01 +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
Fabien Benureau
7c5800c79d
Merge branch 'develop' of gmimosa:/gitroot/mimosa/papers into develop
2013-07-04 12:33:57 +01:00
Fabien Benureau
e0fd19f9d8
first input test working
2013-07-04 12:28:00 +01:00
Fabien Benureau
7680d0f983
Merge branch 'develop' of gmimosa:/gitroot/mimosa/papers into develop
2013-07-04 12:26:12 +01:00
jgrizou
1f91712b31
Changed init of texnote to pass tests.
2013-07-04 12:23:10 +02:00
Fabien Benureau
bd591bbdc3
Merge branch 'develop' of gmimosa:/gitroot/mimosa/papers into develop
2013-07-04 11:15:20 +01:00
Fabien Benureau
3dde852bdd
execute_cmd input ready
2013-07-04 11:15:11 +01:00
jgrizou
ebff1bb4e4
Updated texnote, not working yet
...
Add a check_directory in files.py
2013-07-04 12:10:23 +02:00
Fabien Benureau
62a4527a37
method to set FakeInput package-wide
2013-07-04 10:34:00 +01:00
Fabien Benureau
d109d93341
added FakeInput class to usecase tests
2013-07-04 10:19:01 +01: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