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
2012-05-04Renamed "fake" OpenGL identifiers.Jason Wilkins
Any identifier that looks like an OpenGL identifier, but isn't, causes a false alarm by the glreport.py tool. Most of these were in comments so I just rephrased the comments. There were a couple of static functions/macros that were easy enough to rename. Only the glTexco and glIndex fields of the DMVertexAttribs struct was public and had non-local uses.
2012-04-30Adding Hungarian language.Bastien Montagne
2012-04-29style cleanup: function calls & whitespace.Campbell Barton
2012-04-29style cleanup: whitespace / commasCampbell Barton
2012-04-17code cleanup: remove/comment some unused code.Campbell Barton
2012-04-14Grmph, BLF_(p)gettext were not protected against NULL message/context, was ↵Bastien Montagne
causing a sigsev with latest own commits (in File menu)!
2012-04-05Adding turkish (tr_TR) language.Bastien Montagne
2012-03-31Fixing kyrgyz language (code is ky_KG, just ky does not work...).Bastien Montagne
These keycodes are a mess, and impossible to test them all under linux, as you always have to install the corresponding locales... :(
2012-03-31move debug flag into its own global var (G.debug), split up debug options.Campbell Barton
--debug --debug-ffmpeg --debug-python --debug-events --debug-wm This makes debug output easier to read - event debug prints would flood output too much before. For convenience: --debug-all turns all debug flags on (works as --debug did before). also removed some redundant whitespace in debug prints and prefix some prints with __func__ to give some context.
2012-03-26Renaming pt_BR to pt, as a recent reform [1] made most country speaking ↵Bastien Montagne
portugese use a same, common version of it, which we want to use here. [1] http://www.reformaortografica.com/
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-18spelling cleanupCampbell Barton
2012-03-17bmesh py api:Campbell Barton
access to MLoopCol as mathutils.Color type
2012-03-16i18n stuff: adds translation_context to RNA structs (used for there ui ↵Bastien Montagne
name), and a first default "Operator" one for all operators' label. The fact is, operators' label are nearly always verbs, while properties labels are nearly always nouns. So this should already solve many translations' problems regarding noun/verb confusion. This commit also simplifies a bit i18n usage: *Now IFACE_ and TIP_ macros (or there context versions, CTX_IFACE_/TIP_) are used nearly everywhere (with one exception, where code is a bit complex and needs to manually test whether ui/tip translations is allowed, so no need to redo it later through those macros). *Also, those macros are now defined to NOP in case WITH_INTERNATIONAL is false, which avoid testing that define everywhere in code!
2012-03-12Style cleanup in blenfont (spaces, C++ comments, etc.).Bastien Montagne
2012-03-11style cleanup, also remove unused externs.Campbell Barton
2012-02-17unify include guard defines, __$FILENAME__Campbell Barton
without the underscores these clogged up the namespace for autocompleation which was annoying.
2012-02-17fa_PE is no valid language code (how comes no one noted that yet?), fa_IR ↵Bastien Montagne
seems the right one! Else, persian was just unavailable on Linux (at least, on Debian...).
2012-02-10reverting commit [43876] Fix for aliased fonts in the game engineDalai Felinto
2012-02-04Code Cleanup: avoid double promotion.Campbell Barton
2012-02-04Fix for aliased fonts in the game engine.Alex Fraser
- Mipmaps are generated in BLF when drawing text in-game. In that case, padding around each glyph is increased to prevent bleeding. - Texture filtering is turned on for in-game text. - All glyphs are now "twisted": the leading edge is brought a small distance forward, to prevent z-fighting in overlapping (kerned) glyphs. This happens both in the game engine and the rest of the UI, but should have no effect in the UI due to Z-compression in the clipping matrix. Reviewed and approved by bdiego; see patch [#29882] in the tracker. Tested by dfelinto.
2012-01-10Adding the kyrgyz language.Bastien Montagne
2012-01-06Move glTexEnvi to draw__start/draw__end.Diego Borghetti
As Campbell point, this is to avoid call glGet/glTexEnvi on each character.
2012-01-03Fix:Diego Borghetti
[#25834] no color of textobjects in game engine when combined with textured objects [#26893] Curruption of displayed text (debug properties/fps info or bgui) when using animated/tile uv mode The first bug was beacuse a bad mode on the texture environment, now we save the current glTexEnvi, set the one that we need, draw and restore the original at the end. The second was because a missing call to glLoadIdentity for the texture matrix and as we do before, now we do a gl-Push/Identity/Pop for this matrix to. The first problem was solved by Kanttori and the second by Dalai.
2011-12-27* Fixing compile after recent i18 commits. Thomas Dinges
2011-12-26Another fix for #29494: Problem loading translations at Blender's startupSergey Sharybin
Reset only LANG variable to it's default value when setting locale to short/long name failed and set LANGUAGE to value calculated from LANG or value in user preferences (depending on if Default language is set) so correct language ill be used for messages even if locale files aren't generated. Also disabled i18n prints in non-debug run so console wouldn't be polluted by messages which aren't really informative for user now and might confuse.
2011-12-24fix [#29683] OpenEXR Output Appears to be brokenCampbell Barton
own error with moving image settings.
2011-12-23Moving back sr locales to sr_RS (else, with recent changes (42830), loading ↵Bastien Montagne
sr was no more working). My mistake, using only sr wasn't useful here (unlike spanish, we only have one version of serbian, in cyrilic and latin forms...)!
2011-12-22Fix #29494: Problem loading translations at Blender's startupSergey Sharybin
Problem was caused by trying to set locale to short named "es" locale which failed. It's not really obvious which full locale name should be used here (there are plenty of dialects), so rather than keeping locale stuff on state when both of locale and utf-8 locale names failed, restore default settings (restore environment variables and use default locale for gettext). This will resolve cases when spanish language is native on the system, but it will fail in cases when somebody will want to have spanish interface in non-spanish system. This might be worked around by setting LANG and LANGUAGE environment variables to es_<dialect>.UTF-8 and it should work fine,
2011-12-22Translation context for RNA propertiesSergey Sharybin
This commit implements a way to define context of property which is used by localization stuff and which is needed to resolve translation context when some word wit the same english spelling is used in different meanings (like Manual in meaning of tutorial, and Manual in meaning of something is setting up by hand). To define property's context there's a function RNA_def_property_translation_context. If property doesn't have context, regular BLF_gettext function is used to get translation of property name, otherwise BLF_pgettext is used for this. Hence, for correct translation, messages in .po files should be marked by "msgctxt" context, otherwise property with context declared wouldn't be translated at all. Toolchain scripts from bf-translation project would be updated soon. If context for some values of enumerator property, property itself should be moved to other context and all items from this enum would be moved to this context automatically (it's impossible to move one few items to another context). P.S. Think context like "BRUSH" or "MODIFIER" are preferable than "NOUN" and "VERB" because in some cases the same english noun used in different areas better be translated differently to make translation more native.
2011-12-21Small i18n edits:Bastien Montagne
* Added serbian_latin locale (sr@latin). * Changed serbian UI to "Serbian (Српски)" (as requested by Nikola Radovanovic, serbian translator). * Reordered languages in menu in alphabetical order!
2011-11-26replace FILE_MAXDIR + FILE_MAXFILE with FILE_MAXCampbell Barton
2011-11-18Moving spanish code from es_ES to es for now (as the best spanish ↵Bastien Montagne
translation is es.po...). Else, gettext first search into es_ES (and es_MX it seems???), before using content from es, which currently is not good.
2011-11-14minor cleanup Campbell Barton
- use NULL rather then 0 for pointers - use static functions where possible - add own includes to ensure func's and their declarations don't get out of sync.
2011-11-09Moving i18n code to BLF_translation.hBastien Montagne
This way, we will be able to use it in non-UI parts of the code too.
2011-11-04cleanup some BLF macros and dont over-alloc BGE's PyObjectPlus when setting ↵Campbell Barton
strings (better change then the one I made recently).
2011-11-02quiet some warnings.Campbell Barton
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-22Code cleanup: file operations merged into single header, some function namesBrecht Van Lommel
made less cryptic and changed to indicate if they work on files or directories.
2011-10-22Code cleanup: remove BLI_exist, now there is only BLI_exists. One function justBrecht Van Lommel
called the other, they did the same thing.
2011-10-21Fix compilation error with MSVC caused by recent commit.Sergey Sharybin
2011-10-21misc cleanupCampbell Barton
- remove redundant casts - replace strcmp's with "" to just check first char. - added WM_event_print(), debug mode only to print events since the structs values are not that meaningful. - added warnings if locale/font dirs cant be found.
2011-10-21replace BLF's blf_utf8_next() with BLI_str_utf8_as_unicode_step(),Campbell Barton
also fixed some spelling errors.
2011-10-21- minor edits to font drawing/utf8, was needlessly casting int/unsigned int.Campbell Barton
- also ifdef'd out more smoke function when the modifiers disabled.
2011-10-15spelling corrections in comments and quiet warningCampbell Barton
2011-10-11Adding FA (Persian - Farsi) language to po + flipping Arabic name in the ↵Dalai Felinto
Language Enum
2011-09-26replace strncpy with BLI_strncpy, in some cases strncpy was being misused ↵Campbell Barton
since it doesnt ensure \0 termination. also dont call CTX_data_scene() twice when checking for function arguments.
2011-09-26change define INTERNATIONAL --> WITH_INTERNATIONALCampbell Barton
also rename backface_culling --> use_backface_culling (which is used elsewhere in rna)
2011-09-22clear up some warnings.Campbell Barton
2011-09-21Blenfont: add BLF_unload function to unload/reload fonts.Brecht Van Lommel