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
2021-10-29Fix T88877: 2.93: Crash on recent OSX with a non-English locale.Ankit Meel
Looks like OSX changed the default format of its locale, which is not valid anymore for gettext/boost::locale. Solution based on investigations and patch by Kieun Mun (@kieuns), with some further tweaks by Ankit Meel (@ankitm), many thanks. Also add an exception catcher on `std::runtime_error` in `bl_locale_set()`, since in OSX catching the ancestor `std::exception` does not work with `boost::locale::conv::conversion_error` and the like for some reasons. Reviewed By: #platform_macos, brecht Maniphest Tasks: T88877 Differential Revision: https://developer.blender.org/D13019
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
2019-05-01Cleanup: comments (long lines) in various intern/ libsCampbell Barton
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2018-11-24Fix T56374, T57066, T58037: crash on startup on macOS when using translation.Brecht Van Lommel
2018-10-23I18n: tweak/fix exception catching code of pgettex() wrapper.Bastien Montagne
Related to T57066, rather unlikely to fix core of the issue, but may solve crash itself.
2015-12-21Cleanup: warnings (msvc)Campbell Barton
Part of patch D1670 by @LazyDodo
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-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
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-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-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).