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
2017-04-24Add C internal version of msgfmt (similar to makesrna/dna binaries).Bastien Montagne
Fixes performance issues of C++ one with Windows MSVC debug builds... Merely a translation from msgfmt.cc code by @sergey, using BLI libs intead of C++'s stdlib. Reviewers: sergey, campbellbarton, LazyDodo Subscribers: sergey Differential Revision: https://developer.blender.org/D2605
2017-04-07Cleanup: Unused functionSergey Sharybin
2017-04-05Locales: Some optimization workSergey Sharybin
Mainly visible for MSVC debug builds and gives about 2x speedup.
2016-01-04Remove SCons building systemSergey Sharybin
While SCons building system was serving us really good for ages it's no longer having much attention by the developers and started to become quite a difficult task to maintain. What's even worse -- there started to be quite serious divergence between SCons and CMake which was only accumulating over the releases now. The fact that none of the active developers are really using SCons and that our main studio is also using CMake spotting bugs in the SCons builds became quite a difficult task and we aren't always spotting them in time. Meanwhile CMake became really mature building system which is available on every platform we support and arguably it's also easier and more robust to use. This commit includes: - Removal of actual SCons building system - Removal of SCons git submodule - Removal of documentation which is stored in the sources and covers SCons - Tweaks to the buildbot master to stop using SCons submodule (this change requires deploying to the server) - Tweaks to the install dependencies script to skip installing or mentioning SCons building system - Tweaks to various helper scripts to avoid mention of SCons folders/files as well Reviewers: mont29, dingto, dfelinto, lukastoenne, lukasstockner97, brecht, Severin, merwin, aligorith, psy-fi, campbellbarton, juicyfruit Reviewed By: campbellbarton, juicyfruit Differential Revision: https://developer.blender.org/D1680
2015-12-21Cleanup: warnings (msvc)Campbell Barton
Part of patch D1670 by @LazyDodo
2015-06-29Fix T45154: Translation binary file(blender.mo) for Japanese is too smallSergey Sharybin
The issue was caused by some changes made to msgfmt which were needed to make modified (cleaned-up, stripped-comments messages) working. Unfortunately that fix was merged into the release branch, so this fix is to be ported there as well and verified against rc1 translations.
2015-06-13Msgfmt: Fix for generating .mo files from .po without commentsSergey Sharybin
2015-05-05Workaround ld.gold failing with msgfmtCampbell Barton
2014-11-13Cleanup: cmakeCampbell Barton
2014-10-08Ghost Context RefactorJason Wilkins
https://developer.blender.org/D643 Separates graphics context creation from window code in Ghost so that they can vary separately.
2014-04-29Code cleanup: don't use unnecessary .exe extension in scons, simplify code.Lawrence D'Oliveiro
Reviewed By: brecht Differential Revision: https://developer.blender.org/D236
2014-04-02Fix bpy.so linking on Mac OS XCampbell Barton
D345 from Aleksandr Derbenev
2014-02-26Locale_wrapper: make the bad_cast catch more clear and fix the ↵Jens Verwiebe
std::exception message
2014-02-24OSX: add debug mesg to bl_locale_pgettext for later indeep investigationJens Verwiebe
2014-02-23Fix an uncaught exception on OSX, perhaps general with popupsJens Verwiebe
2014-02-19Code cleanup: styleCampbell Barton
2014-02-18OSX: more futurework for clang-openmp:Jens Verwiebe
- moved assumed location of omp lib to blender libs - prepared libiomp5 to link out of the box with cmake - changed according in scons - introduced a local var C_VENDOR, cause Apple clang 3.4 may not include omp support yet - added a linklibs for msgfmt ( may not be needed for other than OSX )
2013-11-23Fix scons build error compiling 32 bit OS X built on 64 bit.Brecht Van Lommel
2013-11-17OSX/scons: small reorder and spellingJens Verwiebe
2013-11-17OSX/scons: fix msgfmt binary linking and locale files distributionJens Verwiebe
2013-11-16Further tweak to .mo compilation on windowsSergey Sharybin
Was wrong dependency used for msgfmt custom command.
2013-11-16Attempt to fix compilation error on windowsSergey Sharybin
Seems simply need to add .exe to msgfmt executable when adding custom command to SCons. Don't have windows by hand atm, so can not test for sure.
2013-11-15Add functional and cctype headers to msgfmt.ccSergey Sharybin
Fixes compilation with MSVC compilers. Patch by leszekswirski (Lech Swirski) with some own tweaks. Differential Revision: http://developer.blender.org/D2
2013-11-15Fix for msgfmt leaving context from previous message stringSergey Sharybin
2013-11-09Be ready for changes in bf-translations repositorySergey Sharybin
Made it so if there's release/datafiles/locale/po folder, then all the .po files will be converted to .mo at blender compile time and installed to an appropriate location. Uses small own implementation msgfmt which is based on msgfmt.py from Python project, but also supports contexts. There's no functional changes for until we've switched to use source .po files instead of pre-compiled .mo. P.S. Well, there's one change which is msgfmt.cc being compiled even if it's not used, but would rather not clutter code with checks since pretty soon we'll use this program anyway.
2013-09-21style cleanup: whitespace & odd indentationCampbell Barton
2013-06-27Fix #35890: memory leak in OS X ghost locale detection.Brecht Van Lommel
2013-06-21Code cleanup: fix some vs2012 compiler warningsBrecht Van Lommel
2013-05-01Some minor cleanup/polish...Bastien Montagne
2013-05-01This should at least prevent crash in [#35172]...Bastien Montagne
2013-03-04OSX/locale: a further cleanupJens Verwiebe
2013-03-03OSX: Get the current locale in objC-styleJens Verwiebe
2013-01-20Python i18n API. Many thanks to Campbell and Brecht for the reviews and ↵Bastien Montagne
suggestions! This commit adds: * A new bpy.app.translations module giving some info about locales/translation stuff (current active locale, all locales currently known by blender, all translation contexts currently defined, etc.). * The ability for addons to feature translations, using the (un)register functions of above module. * Also cleans up "translate py string when storing into RNA prop" by removing "PROP_TRANSLATE" string's subtype, and adding a PROP_STRING_PY_TRANSLATE flag instead (this way it is no more exposed to python...). Addon translations work with py dictionaries: each addon features a dict {lang: {(context, message): translation, ...}, ...}, which is registered when the addon is enabled (and unregistered when disabled). Then, when a key (context, message) is not found in regular mo catalog, a cache dict for current locale is built from all registered addon translations, and key is searched in it. Note: currently addons writers have to do all the work by hand, will add something (probably extend "edit translation" addon) to automate messages extraction from addons soon(ish)! To get a look to expected behavior from addons, have a look at render_copy_settings/__init__.py and render_copy_settings/translations.py (rather stupid example currently, but...). Once we have a complete process, I'll also update relevant wiki pages.
2012-12-31Add try/catch around i18n locale setter code, just in case...Bastien Montagne
2012-12-17Added GPL header to sconscripts!Bastien Montagne
Also changed shebang to '#!/usr/bin/env python', this is more portable across unixes...
2012-12-04cmake was missing some header files.Campbell Barton
2012-11-21Fixes for OS X default locale: use pclose and do error checking for file read.Brecht Van Lommel
2012-11-21OSX/locale: moved command up, so errorchecking also happensJens Verwiebe
2012-11-21OSX/locale: workaround to get osx system locale from user defaultsJens Verwiebe
2012-11-19Localization should not depend on debug locale librarySergey Sharybin
Linking happens fine, but blender crashes on startup -- crash with familiar backtrace happens with i18n disabled (in that case it's something to do with OIIO).
2012-11-12Fix to allow several include dirs for python under scons build system ↵Bastien Montagne
(needed with new py3.3 debian-like packages).
2012-11-11Replacing gettext i18n backend by boost::locale one.Bastien Montagne
This commit adds a small and simplistic C wrapper around boost's locale library as intern/locale, and heavily simplifies/reduces Blender's own i18n code (under blenfont/ dir). And it adds back UI translation on windows' official builds (with msvc)! Note to platform maintainers: iconv and gettext (libintl) can now be removed from precompiled libs (not gettext binaries, under windows, of course ;) ). Note to MinGW32/64 users: boost_locale lib has not yet been uploaded for those build env, please disable WITH_INTERNATIONAL for now (hopefully will be fixed very soon, have contacted psy-fy).