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
2015-01-12Fix T42069: Fonts /w non-ascii paths fail in win32Campbell Barton
Workaround freetype's use of fopen by swapping FT_New_Face for our own version which uses BLI_fopen.
2014-12-15Fix missing UI ID messages and/or I18N contexts for ↵Bastien Montagne
MovieClip/Mask/Palette/PaintCurve ID types.
2014-12-04Fix T42797: -Werror=sign-conversion Triggered in blf_glyph.cBastien Montagne
Very minor, but since it was reported...
2014-11-29Cleanup: unused headersCampbell Barton
2014-11-23Refactor: BLI_path_util (part 2)Campbell Barton
Use BKE_appdir/tempdir naming prefix for functions extracted from BLI_path_util
2014-11-23Refactor: BLI_path_util (split out app directory access)Campbell Barton
This module is intended for path manipulation functions but had utility functions added to access various directories.
2014-11-16Cleanup: use BLI_listbase_*** prefix for count,sort,sort_rCampbell Barton
2014-10-10Cleanup: (float)floor -> floorfCampbell 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-08-14hint checks to re-alloc as unlikelyCampbell Barton
also edit comments for knife tool
2014-08-05Fix for double freeing of MEM_guardedalloc'ed memory originating from ↵Tamito Kajiyama
BLF_lang_set().
2014-07-16BLF: avoid float/int conversion drawing glyphsCampbell Barton
also use UNLIKELY for error cases
2014-07-04Add (r)partition funcs to BLI_string, to get left-most/right-most first ↵Bastien Montagne
occurence of delimiters. Inspired by Python (r)partition str functions. Also added some Gtest cases for those new funcs. Reviewed by Campbell Barton, many thanks!
2014-06-13UI: Add back ability to select a custom interface fontCampbell Barton
2014-06-13BLF: use NONNULL & WARN_UNUSED_RESULT attrs & remove unneeded NULL checkCampbell Barton
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-04-11Fix compilation error after recent BLF changeSergey Sharybin
FT headers seems to be inconsistent here, FT_KERNING_UNFITTED is defined as an enum element, but FT_Get_Kerning expects UInt. Just case for now.
2014-04-11Code cleanup: use boolCampbell Barton
2014-04-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton
2014-03-30Correct own recent changes broke release buildsCampbell Barton
2014-03-15Code cleanup: use r_ prefix for return argsCampbell Barton
2014-02-17Code cleanup: unused/warningsCampbell Barton
2014-02-07ListBase API: add utility api funcs for clearing and checking emptyCampbell Barton
2014-01-19Docs: doxygen file descriptions for BLF, GPU and WMCampbell Barton
2014-01-16BLF: Fix for changing the DPI storing many fonts (300+)Campbell Barton
Each dpi value stores its own set of font sizes, so while dragging the dpi value would collect many sizes and never free. Also change how BLF_cache_clear works, it was freeing memory but not the OpenGL textures. Now just free all the cache and GL textures and let drawing allocate them again as needed.
2014-01-16BLF: avoid allocating empty array in blf_glyph_cache_textureCampbell Barton
2014-01-16Fix for BLF using realloc() on guarded-alloced memoryCampbell Barton
2013-12-18Error in recent commitCampbell Barton
2013-12-18BLF: debug function to print a fonts stateCampbell Barton
2013-12-18Style Cleanup: minor edits in recent changesCampbell Barton
2013-12-16BLF API: Add BLF_width_to_strlen,rstrlen gives a byte offset from a string widthCampbell Barton
2013-12-02Blender Font (BLF): add length argument to string width/height functionsCampbell Barton
This also fixes a crash editing buttons longer then UI_MAX_DRAW_STR
2013-11-24Fix: Wrong variable used to check for metrics files on BLFDiego Hernan Borghetti
Looks like this is has been there since the initial commit of BLF. The blf_dir_metrics_search was using the pointer to the extension of the file and not the full path to check for metrics files (.afm/.pfm). Never notice before probably because is not common to use a font with additional metrics files.
2013-11-08use assert to check for incorrect use of BLF_draw_ascii()Campbell Barton
2013-09-01Mingw Compiling Fix - Conversion from int to unsigned char...Joshua Leung
Apparently mingw/gcc is too stupid to recognise that the values in alphatest will only be used if they're within the range of unsigned char (i.e. 0 <= x < 255) when this is done using a ternary operator. Then again, it's quite hard for humans to immediately parse what is going on here either! Converting this clever code back to a more obvious form that mere mortals (and compilers it seems) can handle with ease ;)
2013-09-01move strict compiler checks into a header so its easier to manage in one ↵Campbell Barton
place (pragmas were copied around). also enable more strict warnings for BLF (which had some incorrect casts).
2013-08-27ghash/bli-listbase edits, rename BLI_ghash_pop -> BLI_ghash_popkey (since it ↵Campbell Barton
takes a key as an arg and isnt popping any element from the hash as you might expect). add BLI_pophead/tail, since getting the first element from a list and removing it is a common task.
2013-08-11use 'greater/less then or equal to' operators rather then adding 1.Campbell Barton
2013-08-07code cleanup: more zero as NULL pointers.Campbell Barton
2013-07-13fix for bad NULL check in bmo_connect_pair, also remove duplicate checks in ↵Campbell Barton
if statements and redundant initialization vars.
2013-06-29Fix scons/windows build error, missing pthreads include in blenfont for mutex.Brecht Van Lommel
2013-06-28Fix #35884: crash opening .blend with generated color grid image and preview ↵Brecht Van Lommel
render. Printing text on the color grid image would initialize font glyphs from a thread at the same time as the UI, causing conflicts. The freetype glyph renderer needs to be mutex locked because it uses a shared buffer internally even when rendering for different fonts. Also needed to change the image generate function to use the render monospace font to avoid conflicts in blenfont. What's still weak in the blenfont API is that there is no distinction between a font and a thread using that font to render with some particular size, style, etc.
2013-06-21Code cleanup: fix some vs2012 compiler warningsBrecht Van Lommel
2013-06-07text rendering: shadow offset was causing text to clip, now check for ↵Campbell Barton
clipping without the shadow since not-drawing characters because of subtle effect is rather annoying.
2013-05-28move BLO_sys_types.h -> BLI_sys_types.h (it had nothing todo with loading)Campbell Barton
remove MEM_sys_types.h which was a duplicate.
2013-05-20code cleanup: split scons includes onto multiple lines, reduce chance of ↵Campbell Barton
include conflicts later on.
2013-05-12Fix build error on MinGW64Antony Riakiotakis
2013-05-12quiet sign conversion warnings and reduce sign conversion for BLI_string, ↵Campbell Barton
and BLF.
2013-04-29don't use GPU_extensions for BLF, its not initialized when using the ↵Campbell Barton
blender-playanim and not really needed. this reverts part of 55995
2013-04-12oversight on scons, this should fix.Antony Riakiotakis