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-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-12code clear, insert blf_gettext.c to blf.cXiao 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-16select uiStyle according to UserDef and update lang-packsXiao Xiangquan
2011-06-24merge from trunk #37722Xiao Xiangquan
2011-06-20handle SpaceType and UserPref popupsXiao Xiangquan
2011-06-02Almost complete the i18n system, including:Xiao Xiangquan
Copy unifont..ttf.gz from source tree to target datafile path( now ONLY works with cmake ); Set the locale the same with system's setting; If need unicode font, unzip and load unifont when init ui styles; Apply gettext() to labels in space_info.py, who are the main menu items. Each of these should have been commit one by one. As they work well according to my tests, so I just lazily send a long list.
2011-05-30Add BLF_gettext(msgid) for C, and blf.gettext(msgid) for Python.Xiao Xiangquan
2011-05-10minor cleanup: make functions static, use NULL for pointer comparisons,Campbell Barton
also fixed a possible bug assigning incorrect DPX function types to imbuf.
2011-05-04new BLF functionsCampbell Barton
- BLF_height_max - BLF_width_max - BLF_descender - BLF_ascender use for tooltip and image stamp.
2011-04-30fix [#27221] stamp text bug in lower linesCampbell Barton
2011-04-06fix [#26803] Libs paths are case sensitive in windowsCampbell Barton
use case insensitive path comparison on windows: BLI_path_cmp
2011-03-10fix [#26442] blender crash when turning off antialiasing fontsCampbell Barton
ASCII lookup table wasn't being freed when when the rest of the glyphs were. Also found own bug where mesh stat text was using wrong sized array (char[3] as char[4]).
2011-02-27doxygen: blender/blenfont tagged.Nathan Letwory
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-22Too many ifdefs made me miss the fact variables were declared insideTon Roosendaal
function...
2011-02-22No idea why this goes wrong, but I can't get preprocessor output withTon Roosendaal
cmake here. Somehow in OSX a function call doesn't return but enters a next function. Will find around if someone else can make an OSX preprocessed version of this C file. With this commit things go fine, and it's a sane check anyway.
2011-02-19Rename global_ft_lib and make it static.Diego Borghetti
Remove the XXX code from blf_glyph.c and use the pointer inside the FontBLF struct. If still have problem, let me know.
2011-02-18Bugfix #26135Ton Roosendaal
User Preferences Using "no AA font" crashed, caused by commit to make static variables. However, how this was ever meant to work... using such globals has to be treated carefully. Fixed for now with XXX warning for Diego :) Thanks to reporter Susanne H. to point at the right code!
2011-02-17clear some unused warningsCampbell Barton
2011-02-16doc generation support for excluding some modules, without this a full ↵Campbell Barton
rebuild takes too long to test changes. also include own function definitions for blf_dir.c.
2011-02-14more vars made staticCampbell Barton
2011-02-13fix for error building.Campbell Barton
2011-02-13fix for warnings from Sparse static source code checker, mostly BKE/BLI and ↵Campbell Barton
python functions. - use NULL rather then 0 where possible (makes code & function calls more readable IMHO). - set static variables and functions (exposed some unused vars/funcs). - use func(void) rather then func() for definitions.