Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-01-12 | Fix T42069: Fonts /w non-ascii paths fail in win32 | Campbell Barton | |
Workaround freetype's use of fopen by swapping FT_New_Face for our own version which uses BLI_fopen. | |||
2014-12-15 | Fix missing UI ID messages and/or I18N contexts for ↵ | Bastien Montagne | |
MovieClip/Mask/Palette/PaintCurve ID types. | |||
2014-12-04 | Fix T42797: -Werror=sign-conversion Triggered in blf_glyph.c | Bastien Montagne | |
Very minor, but since it was reported... | |||
2014-11-29 | Cleanup: unused headers | Campbell Barton | |
2014-11-23 | Refactor: BLI_path_util (part 2) | Campbell Barton | |
Use BKE_appdir/tempdir naming prefix for functions extracted from BLI_path_util | |||
2014-11-23 | Refactor: 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-16 | Cleanup: use BLI_listbase_*** prefix for count,sort,sort_r | Campbell Barton | |
2014-10-10 | Cleanup: (float)floor -> floorf | Campbell Barton | |
2014-10-08 | Ghost Context Refactor | Jason Wilkins | |
https://developer.blender.org/D643 Separates graphics context creation from window code in Ghost so that they can vary separately. | |||
2014-08-14 | hint checks to re-alloc as unlikely | Campbell Barton | |
also edit comments for knife tool | |||
2014-08-05 | Fix for double freeing of MEM_guardedalloc'ed memory originating from ↵ | Tamito Kajiyama | |
BLF_lang_set(). | |||
2014-07-16 | BLF: avoid float/int conversion drawing glyphs | Campbell Barton | |
also use UNLIKELY for error cases | |||
2014-07-04 | Add (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-13 | UI: Add back ability to select a custom interface font | Campbell Barton | |
2014-06-13 | BLF: use NONNULL & WARN_UNUSED_RESULT attrs & remove unneeded NULL check | Campbell Barton | |
2014-04-30 | Code cleanup: remove unused includes | Campbell Barton | |
Opted to keep includes if they are used indirectly (even if removing is possible). | |||
2014-04-11 | Fix compilation error after recent BLF change | Sergey 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-11 | Code cleanup: use bool | Campbell Barton | |
2014-04-01 | Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT define | Campbell Barton | |
2014-03-30 | Correct own recent changes broke release builds | Campbell Barton | |
2014-03-15 | Code cleanup: use r_ prefix for return args | Campbell Barton | |
2014-02-17 | Code cleanup: unused/warnings | Campbell Barton | |
2014-02-07 | ListBase API: add utility api funcs for clearing and checking empty | Campbell Barton | |
2014-01-19 | Docs: doxygen file descriptions for BLF, GPU and WM | Campbell Barton | |
2014-01-16 | BLF: 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-16 | BLF: avoid allocating empty array in blf_glyph_cache_texture | Campbell Barton | |
2014-01-16 | Fix for BLF using realloc() on guarded-alloced memory | Campbell Barton | |
2013-12-18 | Error in recent commit | Campbell Barton | |
2013-12-18 | BLF: debug function to print a fonts state | Campbell Barton | |
2013-12-18 | Style Cleanup: minor edits in recent changes | Campbell Barton | |
2013-12-16 | BLF API: Add BLF_width_to_strlen,rstrlen gives a byte offset from a string width | Campbell Barton | |
2013-12-02 | Blender Font (BLF): add length argument to string width/height functions | Campbell Barton | |
This also fixes a crash editing buttons longer then UI_MAX_DRAW_STR | |||
2013-11-24 | Fix: Wrong variable used to check for metrics files on BLF | Diego 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-08 | use assert to check for incorrect use of BLF_draw_ascii() | Campbell Barton | |
2013-09-01 | Mingw 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-01 | move 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-27 | ghash/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-11 | use 'greater/less then or equal to' operators rather then adding 1. | Campbell Barton | |
2013-08-07 | code cleanup: more zero as NULL pointers. | Campbell Barton | |
2013-07-13 | fix for bad NULL check in bmo_connect_pair, also remove duplicate checks in ↵ | Campbell Barton | |
if statements and redundant initialization vars. | |||
2013-06-29 | Fix scons/windows build error, missing pthreads include in blenfont for mutex. | Brecht Van Lommel | |
2013-06-28 | Fix #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-21 | Code cleanup: fix some vs2012 compiler warnings | Brecht Van Lommel | |
2013-06-07 | text 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-28 | move 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-20 | code cleanup: split scons includes onto multiple lines, reduce chance of ↵ | Campbell Barton | |
include conflicts later on. | |||
2013-05-12 | Fix build error on MinGW64 | Antony Riakiotakis | |
2013-05-12 | quiet sign conversion warnings and reduce sign conversion for BLI_string, ↵ | Campbell Barton | |
and BLF. | |||
2013-04-29 | don'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-12 | oversight on scons, this should fix. | Antony Riakiotakis | |