Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-06-13Translations utils: add needed bits to update git repo together with svn trunk.Bastien Montagne
2015-05-31Python: avoid mutable default param valuesCampbell Barton
D1328 by @yedpodtrzitko
2015-01-28cleanup: py importsCampbell Barton
2014-09-17Cleanup: pep8Campbell Barton
2014-02-13Code cleanup: styleCampbell Barton
2013-11-04Update i18n tools for new build_hash...Bastien Montagne
2013-10-19More complete handling of printf formatting in msgid/msgstr checks.Bastien Montagne
(That commit, r60813, should never have been done to 2.69 branch, will revert it there, sorry :/ ).
2013-10-17i18n utils: check not only that the number of printf markers are the same in ↵Bastien Montagne
msgid and msgstr, but also that they are of the same type and order. Sorry, should have done that from the beginning... :/ This should prevent any bug like [#37095] Timeline crash when chose any keying set then press keyframe-insert, to appear again.
2013-08-28Fix for #36387, User Preferences "Addons" panel bogs down the whole interface.Lukas Toenne
The addons panel draw function calls addon_utils.modules() which in turn retrieves a list of fake modules from the script paths every time. This can become costly when network paths are included for addons. Solution is to put the scanning process into a dedicated "refresh" function and disable it in frequently called draw and filter functions, i.e. in these cases the cached addons_fake_modules list will be used instead. Note that this may lead to invalid addon lists if script paths are changed (which is not working 100% without restart anyway according to Campbell). For this there is now a "Refresh" operator button in the addons preferences. If necessary and feasible such forced refreshes can be added later too.
2013-04-29Do not report formatting mismatch between org and translation when message ↵Bastien Montagne
is fuzzy (but "fix" it anyway if asked so).
2013-04-19Restore usage of difflib's quick_ratio()... Don't actually know what happens ↵Bastien Montagne
here, my tests with timeit showed it much slower than ratio(), but real-life says the contrary...
2013-04-18Some i18n tools fixes (I'm ashamed...), and merge func for I18nMessages objects.Bastien Montagne
2013-04-18More i18n tools tweaks:Bastien Montagne
* Remove difflib's quick_ratio() call, from quick tests looks it is four times slower than ratio(), and yet it gives the same results... * Moved code to find all po's in a dir into its own func (will be used by i18n addon tools too).
2013-04-12More fixes for addon i18n messages management.Bastien Montagne
2013-04-09Various edits preparing addons' translations tools (not everything yet ↵Bastien Montagne
functionnal/tested, though). Also workaround a nasty bug, where unregistered py classes remain listed in relevant __subclasses__() calls, which would lead to crash with python addons i18n tools (main translation was not affected, as messages extracting tools are executed in a brand new "factory startup" Blender ;) ).
2013-03-28code cleanup: python/pep8 and double-promotion warnings.Campbell Barton
2013-03-19Small changes/additions to i18n tools.Bastien Montagne
2013-03-19Some renaming/cleanup in i18n tools.Bastien Montagne
2013-03-01More tweaks (gaining about ten seconds for each po in update branches process!).Bastien Montagne
2013-02-25Tame that stupid py code not to eat existing fuzzies in po’s when updating ↵Bastien Montagne
from POT file!
2013-02-24Big i18n tools update, I/II.Bastien Montagne
Notes: * Everything is still a bit raw and sometimes hackish. * Not every feature implemented yet. * A bunch of cleanup is still needed. * Doc needs to be updated too!
2013-02-14Gah, forgot some ugly print...Bastien Montagne
2013-02-12Update to how similar messages matching is handled when updating po files ↵Bastien Montagne
from pot one (gain something like 20% in heavy update situations, and save a nice bunch of memory!).
2013-01-29Some optimization (their is much more possible here, but it will have to ↵Bastien Montagne
wait for complete refactor I’m working on currently).
2013-01-15Some fixes:Bastien Montagne
* handle nicely multiple empty lines in po files (still have to figure out why po writer sometime output two lines instead of one!) * fix rtl processing!
2013-01-13Minor updates:Bastien Montagne
*Made branches' po update multi-process! *0.8 looks a bit too much a "similarity cutoff" value for messages, changed to 0.75.
2013-01-12Big refactor of bl_i18n_utils, switching to an object-based model. Still a ↵Bastien Montagne
bit wip. Notes: * Most tools here have been updated, only a few (unused :p ) features should be missing. But some updates are rough for now, and performances are globally worse currently, will address this later (this is only really noticeable when you work over the whole repo, anyway ;) ). * This update breaks "edit translations" addon, will fix it later, once core (i.e. this module) is considered stable again!
2012-10-14Few minor fixes to i18n tools (mostly use ordered dicts too for "xgettexted" ↵Bastien Montagne
messages...).
2012-09-27pep8 cleanupCampbell Barton
2012-07-29style cleanupCampbell Barton
2012-07-08Some cleanup.Bastien Montagne
Also trying to make it usuable from other tools (imports become a bit tricky here :/ ).
2012-07-03rename module to something less generic.Campbell Barton