Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-06-02 | Fix drawing text on >2gig buffers (stamp for eg) | Campbell Barton | |
2015-06-01 | Font Preview: fallback to default english strings in case translated ones ↵ | Bastien Montagne | |
have not enough chars in current font. This avoids some ugly 'missing char' in previews - not all cases of course, but most common ones. A complete solution would be much much more involved, and probably not worth it here. Definitively not before a release, at least! | |||
2015-05-19 | Building without Python works again | Campbell Barton | |
2015-04-20 | Cleanup: use bool /w flag checks | Campbell Barton | |
2015-04-13 | Cleanup: style | Campbell Barton | |
2015-04-10 | Thumbnails: Add translations to font preview. | Bastien Montagne | |
Not much to say, this is pretty straightforward. We just have to add current locale to thumbnails 'signature', so that previews get re-generated when we change locale... Tested with Japanese and French. Btw, I do not really understand why using BLF in ImBuf is badlevel... :/ | |||
2015-04-10 | BLF translation: fix BLF_lang_get(), add UI-agnostic BLF_translate/_do helpers. | Bastien Montagne | |
BLF_lang_get() shall return 'default' Blender locale (en_US) when translations are completely disabled! Also, add BLF_translate() and BLF_translate_do() to allow translating some strings outside of label/tip context, but still only when i18n global flag is enabled. | |||
2015-04-08 | Font preview for file browser | Campbell Barton | |
D1002 by @plasmasolutions, with own refactoring. Note, needed to do a bad-level call here (IMB -> BLF) Also can't use the BLF API directly because its not thread-safe. So keep the function isolated (blf_thumbs.c). | |||
2015-04-08 | BLF: use regular unsigned int's | Campbell Barton | |
So GL isnt needed to include BLF types. | |||
2015-04-08 | BLF: Fix clamping drawing into byte buffer | Campbell Barton | |
2015-04-07 | Cleanup: brace placement /w structs | Campbell Barton | |
2015-02-06 | Cleanup: style | Campbell Barton | |
2015-02-04 | Fix for recent LANG locale workaround | Sergey Sharybin | |
Need to get a copy of the string since stored pointer is affected by subsequent calls of setlocale(). | |||
2015-02-03 | Fix T43544: Runtime Error when Locale is not valid | Sergey Sharybin | |
This is not a real fix and only prevents crash, textures IO might be not working totally correct if they're unicode path or so. Proper solution would be to detect which locale we can use and set LANG, LC_ALL and friends. | |||
2015-01-26 | Cleanup: strcmp/strncmp -> STREQ/STREQLEN (in boolean usage). | Bastien Montagne | |
Makes usage of those funcs much more clear, we even had mixed '!strcmp(foo, bar)' and 'strcmp(foo, bar) == 0' in several places... | |||
2015-01-20 | BLF: remove paranoid checks for unset default font | Campbell Barton | |
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 | |