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
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-21Cleaning i18n code.Bastien Montagne
Previous state: Right now, there are "memories" of the "old" (less than a month!) translation way: * A few remaining calls to BLF_gettext() (only UI_translate_do_iface and UI_translate_do_tooltip should be used). * The _() macro still also calls BLF_gettext()! New state: Here are the changes made by the patch: * Removing the no more needed _() macro. * Removing most N_() and _() calls, only keeping the few needed ones (i.e. strings that are in no other way findable by xgettext and/or update_msg script). * Defining in UI_interface.h IFACE_() and TIP_() macros (resp. for UI_translate_do_iface and UI_translate_do_tooltip). * Replacing all calls to BLF_gettext by relevant IFACE_ or TIP_ one. * Replacing all calls to UI_translate_do_iface by IFACE_. * Replacing all calls to UI_translate_do_tooltip by TIP_. All this somewhat clarifies and simplifies the code. On the bf-translations scripts side, this only implies adding IFACE_ and TIP_ as detection markers for xgettext. It also allows to reduce POTFILES.in quite notably (only 20 files remaining in it). Please also have a look at those pages: * Coder POV: http://wiki.blender.org/index.php/Dev:2.5/Source/Interface/Internationalization * Translator POV: http://wiki.blender.org/index.php/Dev:2.5/Doc/How_to/Translate_Blender
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-10-01cmake:Campbell Barton
- fix for cmake's SSE detection which would fail because of strict warnings and also had redundant cache setting. - was incorrectly initializing variables (own bad) - python was searching for libs on every run, now only do this if there not cached.
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
2011-09-21Attempt to fix #28709: change language to simplified Chinese: sequencer -> ↵Sergey Sharybin
add image strip crashes Blender Crash was caused by sprintf which tried to parse bytes sequence belongs to chinese letter. Using codepage 1252 for LC_ALL seems to fix this issue, but needs further testing.
2011-09-21Fix compilation for MinGW. Antony Riakiotakis
2011-09-20i18n: forgot this files in recent commitSergey Sharybin
2011-09-20i18n: code clean-upSergey Sharybin
- Move all translation-related declarations to BLF_translation.h - Reverted some changes to match trunk svn rev40365
2011-09-19Merging r40345 through r40365 from trunk into soc-2011-garlicSergey Sharybin
2011-09-19Blenfont: fix use incorrect clear of ascii glyph cache, leading to crashBrecht Van Lommel
when toggling use antialising user preference. Also fix some other use of uninitialized memory found by valgrind.
2011-09-19svn merge -r40222:40344 ^/trunk/blenderSergey Sharybin
2011-09-18replace strnlen with BLI_strnlen & some style changes.Campbell Barton
2011-09-18blf - further shrink drawing functions & some style changes.Campbell Barton
2011-09-18blf code - no functional changes.Campbell Barton
- remove saniy checks from blf_font.c, the callers now check instead. - move duplicate code into defines (may move into static functions). - move kerning checks into const values set at the start of the function, rather then checking on every character.
2011-09-18i18n: replace gnu unifont with droid sans fontSergey Sharybin
- Static variables can be initialized with constants only. - Removed bunifont.ttf.c from datafiles -- it's not actually a data file. Unicode font loading stuff is not in blenkernel/font.c - Allocate as much memory for unzipped data as it's needed. Default read chunk is 512Kb. - Fixed regression (or just a typo) in setting utf locale. - Default locale set to en_US:en works fine now. - Commented put Nepali language in user preferences -- it's not supported by current droid font and imo it's better to have nice font for languages we actually have translation for rather than allowing to choose more languages in user preferences.
2011-09-17Speedup for font drawing, every letter was character was calling:Campbell Barton
glGetIntegerv(GL_TEXTURE_2D_BINDING_EXT, &cur_tex); ... with shadow enabled glGetFloatv(GL_CURRENT_COLOR, color) was called twice per character as well. Now only call glGetFloatv(GL_CURRENT_COLOR, ...) once per string and only when drawing with shadow or blur, texture bind is stored in the font. Gives 8% overall FPS speedup when displaying heavy UI in my test.
2011-09-16fix NULL check for getenv("LANGUAGE")Xiao Xiangquan
2011-09-15Add Nepali translationXiao Xiangquan
2011-09-15Fixing issues with i18n stuff:Sergey Sharybin
- Make gettext stuff draw-time. so switching between languages can happens without restart now. - Added option to translate visible interface (menus, buttons, labels) and tooltips. Now it's possible to have english UI and localized tooltips. - Clean-up sources, do not use gettext stuff for things which can be collected with RNA. - Fix issues with windows 64bit and ru_RU locale on my desktop (it was codepage issue). - Added operator "Get Messages" which generates new text block with with all strings collected from RNA. - Changed script for updating blender.pot so now it appends messages collected from rna to automatically gathered messages. To update .pot you have to re-generate messages.txt using "Get Messages" operator and then run update_pot script. - Clean up old translation stuff which wasn't used and most probably wouldn't be used. - Return back "International Fonts" option, so if it's disabled, no gettext lookups happens on draw. - Merged read_homefile function back. No need in splitting it. TODO: - Custom fonts and font size. Current font isn't nice at least for russian locale, it's difficult to read it. - Put references to messages.txt so gettext can merge translation when name/description of some property changes.
2011-09-15svn merge -r39834:40222 https://svn.blender.org/svnroot/bf-blender/trunk/blenderSergey Sharybin
2011-09-14minor edits to ascii draw function, unused var warning.Campbell Barton
2011-09-12fix for changing font sizes with recent utf8 speedupCampbell Barton
2011-09-11speedup font drawing:Campbell Barton
for ascii characters in a utf8 string use glyph_ascii_table lookup rather than call blf_glyph_search(), otherwise fallback to blf_utf8_next() and blf_glyph_search().
2011-09-06fix the setenv bug on windowsXiao Xiangquan
2011-09-01merge with trunk r39834Xiao Xiangquan
2011-08-31fix for windows locale settingXiao Xiangquan
2011-08-31fix [#28430] Image with Stampinfo does not get saved correctly with alphaCampbell Barton
2011-08-30minor edits, pep8 - also correct float -> double promotion for blf.Campbell Barton
2011-08-16fix a small bug , and update language-packsXiao Xiangquan
2011-08-13some small fixXiao Xiangquan
2011-08-12code clear, insert blf_gettext.c to blf.cXiao Xiangquan
2011-08-02finish handle for properties_XXX scriptsXiao Xiangquan
2011-07-29merge with trunk r38787Xiao Xiangquan
2011-07-25complete the language-select featureXiao Xiangquan
2011-07-22small fix for the ui language selectionXiao Xiangquan
2011-07-22switch language in User Preference's System page. with some known switch ↵Xiao Xiangquan
failure bugs
2011-07-17cmake: cleanup include paths, some duplicates and going up some unneeded dirs.Campbell Barton
2011-07-17cmake source definitions:Campbell Barton
remove missing includes and use more strict formatting.
2011-07-16select uiStyle according to UserDef and update lang-packsXiao Xiangquan
2011-06-24merge from trunk #37722Xiao Xiangquan