Goffi
6bbcbaf522
use of /usr/bin/env instead of /usr/bin/python in shebang
2016-04-17 14:45:26 +02:00
Goffi
348be27934
copyright update
2016-01-03 16:28:30 +01:00
Goffi
fbec02d396
2015 copyright dates update
2015-03-30 10:26:26 +02:00
Goffi
1492f2a3d7
core (persistent dict): added setdefault method
2015-02-24 16:54:28 +01:00
Goffi
7bb52b5969
core: added items() and iteritems() methods to PersistentDict
2015-01-26 01:57:06 +01:00
souliane
c9f4397000
memory: add class ProfileSessions based on Sessions
2014-05-10 17:37:32 +02:00
Goffi
501bc92528
core: use of the new core.log module:
...
/!\ this is a massive refactoring and was largely automated, it probably did bring some bugs /!\
2014-04-19 19:19:19 +02:00
Goffi
3fc2e256f2
core (memory): added __iter__ to PersistentDict
2014-04-07 16:22:33 +02:00
Goffi
2ca6efd8cc
dates update
2014-02-04 18:32:49 +01:00
Goffi
5a00dc9503
core: i18n refactoring:
...
- _() is no more installed in __builtin__
- instead, there is a new sat.core.i18n module
- added D_() method for deferred translation
- languageSwitch method allow to dynamically change translation language
- import gettext is tested against ImportError, and dummy methods are used when not available (mainly useful for Libervia)
2013-12-29 17:06:01 +01:00
Goffi
1cd98e8dea
fixed licences in docstrings (they are now in comments)
2013-03-08 00:36:22 +01:00
Emmanuel Gil Peyrot
45488f486c
Fix pep8 support in src/memory.
2013-01-18 17:55:35 +01:00
Emmanuel Gil Peyrot
88074cd284
Remove every old-style class.
2013-01-18 17:55:35 +01:00
Emmanuel Gil Peyrot
27b3592e16
Remove trailing whitespaces.
2013-01-18 17:55:34 +01:00
Emmanuel Gil Peyrot
6216bf7642
Remove useless trailing semicolons.
2013-01-18 17:53:08 +01:00
Goffi
def79e44cd
dates update
2013-01-07 23:30:13 +01:00
Goffi
c5a930b627
Licence modification: the full project is now under AGPL v3+ instead of GPL v3+
2012-08-01 22:53:02 +02:00
Goffi
21dbb4473a
copyleft date update
2012-03-06 09:07:24 +01:00
Goffi
0a1047bf45
core: added get method to PersistentDictionary
2011-12-03 22:21:52 +01:00
Goffi
04e8ab3291
plugin maildir: maildir now use PersistentBinaryDictionary to store profile specific data
...
/!\ profile needs to be connected for maildir/imap/smtp plugins to work, this has to be fixed
2011-12-03 15:50:09 +01:00
Goffi
f885ec0d74
core: - memory refactoring (moved memory.py and sqlite.py from tools to memory)
...
- private values are now stored in storage (currently sqlite database) and splitted in normal/binary storage. Normal storage is for string key/values, binary storage is for string key and any python data for value
- PersistentDict and PersistentBinaryDict are sugar classes to manage the data in storage thought a python dictionary like class.
2011-11-20 15:34:37 +01:00