Florent
a019819f9d
Move browser2 from weboob/tools/b2 to weboob/browser2
2014-10-02 11:01:34 +02:00
Florent
0088013ae1
Rename BaseBrowser to Browser
2014-09-26 10:18:12 +02:00
Florent
44dffce7b2
Rename CapBase to Capability
2014-09-26 10:18:12 +02:00
Florent
5a1d83b567
Rename BaseModule to Module and Module to LoadedModule
2014-09-26 10:18:12 +02:00
Florent
8559af3d6a
s/BaseBackend/BaseModule
2014-09-26 10:18:11 +02:00
Laurent Bachelier
8bf0cba300
core: Use the new vocabulary
2014-09-21 12:13:23 +02:00
Laurent Bachelier
4d63955cb5
Put back wrongly removed __all__
2014-09-10 14:05:08 +02:00
Laurent Bachelier
3da02fde24
Remove useless __all__ in modules
...
They bring nothing of value (we never use import * anyway) and introduce
a maintenance burden.
The __all__ that I left might not be very useful either but at least
they are not a pain to maintain; they are also used by pyflakes in some
cases.
2014-09-09 19:00:02 +02:00
François Revol
ecd265de4f
Replace usage of os.mknod() by os.open(O_CREAT)
...
Haiku doesn't have mknod().
Actually it does now, but it might take ages for python
to support it as os.mknod().
2014-09-05 08:32:58 +02:00
Laurent Bachelier
a4162e46e6
repositories: Catch the proper exception for missing icon
2014-09-04 23:37:16 +02:00
Florent
432f97e95c
bump to 1.0
2014-09-03 17:14:10 +02:00
Florent
e5f11a15eb
s/IBaseCap/CapBase/ (refs #1424 )
2014-07-09 12:59:31 +02:00
Florent
0e3e32adb1
Do not import exceptions of requests / load browser if needed
...
The import process of requests is very expensive: it imports all urllib,
and a lot of stuff. It is a problem on slow hardware, for applications
not running browser2 (example: weboob-config update).
This patch has two mains parts:
* introduces load_browser to load a browser only if needed (a lot of repository
processing does not need a browser)
* Do not import exceptions of requests, but use Weboob internals one
Before: 6455 open/190 modules imported
After: 3997 open/112 modules
2014-07-09 10:54:33 +02:00
Romain Bignon
e025fb0b20
rename ICap to Cap ( closes #1424 )
2014-07-05 17:33:44 +02:00
Romain Bignon
51958135cb
rename CapBaseObject to BaseObject (refs #1424 )
2014-07-05 17:26:05 +02:00
Romain Bignon
4529735935
ability to use weboob.function as alias to weboob.do('function') ( closes #1425 )
2014-07-05 17:21:10 +02:00
Romain Bignon
09acbfde5e
use ConfigParser in priority with python2
2014-06-10 17:02:15 +02:00
Laurent Bachelier
fb011f2be6
repositories: Fix HTTP error handling for browser2
2014-05-20 00:02:55 +02:00
Florent
9ca0bbae6a
bump to 0.j
2014-05-19 22:45:35 +02:00
Romain Bignon
62b8ca70c6
sorry Olf, I've in fact broken weboob-repos
2014-05-17 15:07:56 +02:00
Romain Bignon
6fcac89dd5
first step in python3 support
2014-05-17 14:27:55 +02:00
Romain Bignon
d07f661cb0
import pkg_resources only when needed, to prevent a hard useless dependency
2014-05-06 15:14:28 +02:00
Romain Bignon
711cba9c65
fix compatibility with python2.6 (don't use ThreadPool anymore)
2014-05-01 18:35:11 +02:00
Romain Bignon
07f5500cce
rewrite BackendCalls with ThreadPool and queues
2014-05-01 17:04:27 +02:00
Laurent Bachelier
a7e278a20d
Add support for BASEURL instead of PROTOCOL+DOMAIN
2014-03-22 12:43:53 +01:00
Florent
a82f57512c
bump to 0.i
2014-01-08 23:40:16 +01:00
Romain Bignon
e2476bfb0e
WebNip tries to find path to package weboob_modules
2013-08-18 20:21:57 +02:00
Romain Bignon
badab27702
add class WebNip
2013-08-18 16:30:23 +02:00
Florent
9a0f9d0fc9
Remove condition from core
2013-08-06 19:05:21 +02:00
Florent
6b0930ffc5
Move condition from BCall to Repl
2013-08-06 18:45:03 +02:00
Laurent Bachelier
23a71d847b
Code style fixes, mostly whitespace
2013-08-04 20:00:19 +02:00
Florent
9b022b2ebe
bump to 0.h
2013-08-03 14:31:13 +02:00
Laurent Bachelier
ca04fb80ca
Do not crash when repository is invalid
...
closes #1281
2013-08-03 13:05:14 +02:00
Romain Bignon
46d9acd37e
display a message when more results are available ( closes #1038 )
2013-07-27 23:40:24 +02:00
Laurent Bachelier
a6ad7e83ff
Use newer form of catching exceptions
...
autopep8 -i --select=W602
Also some other minor deprecated syntax changes, like "while 1".
I did not commit the less obvious changes.
2013-07-27 15:16:16 +02:00
Romain Bignon
c0740e695d
remove useless import of with_statement (we do not support anymore python2.5)
...
refs #806
2013-07-27 14:38:18 +02:00
Romain Bignon
fdcc4ec4b9
change '_backend' setting to '_module' ( closes #789 )
2013-07-27 13:47:04 +02:00
Laurent Bachelier
59a7a0d842
Explicit module load errors
2013-07-19 19:25:38 +02:00
Gabriel Kerneis
6bb6d1e42b
Fix english sentence
2013-05-28 11:19:04 +02:00
Laurent Bachelier
46462995b9
Do not make dir if it exists
2013-04-17 09:10:39 +02:00
Laurent Bachelier
359c4ec879
Create containing directory
...
This might happen when WEBOOB_BACKENDS is outside of the WEBOOB_WORKDIR.
2013-04-05 18:50:43 +02:00
Florent
9484099a1d
bump to 0.g
2013-03-26 18:31:12 +01:00
Romain Bignon
0a603ff42a
qt: display a dialog to ask user to update repositories at run if error
2013-03-26 09:53:17 +01:00
Florent
fc3eefff09
Check if repositories are ok at the application runtime
...
Closes #1072
2013-03-22 18:01:32 +01:00
Florent
c6816e7444
Other comments
2013-03-20 14:50:09 +01:00
Florent
e56737a0cd
Fix comment
2013-03-20 14:10:40 +01:00
Laurent Bachelier
fbe0fb8d52
Some manual style fixes
2013-03-16 00:57:31 +01:00
Laurent Bachelier
7094931c92
Easy spacing fixes, trailing stuff
...
Remove useless trailing \
Remove trailing spaces
Add missing empty lines
autopep8 -ir -j2 --select=E301,E302,E502,W291,W293,W391 .
Diff quickly checked.
2013-03-16 00:54:55 +01:00
Laurent Bachelier
c21d1f7925
Code clarity fixes
...
autopep8 -ir -j2 --select=E303,E125
Diff checked manually.
2013-03-16 00:52:43 +01:00
Laurent Bachelier
5b12a3c17e
Force updating modules after upgrade
...
fixes #1066
Also, some small PEP8 fixes.
2013-03-09 15:14:46 +01:00