Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2013-04-12 | Add function to query maximum texture size. Also, make texture upload | Antony Riakiotakis | |
functions aware of this limit. | |||
2013-04-07 | Usual typo fixes... ;) | Bastien Montagne | |
2013-04-01 | Merged changes in the trunk up to revision 55700. | Tamito Kajiyama | |
Conflicts resolved: source/blender/editors/mesh/mesh_intern.h | |||
2013-03-28 | I18n: various fixing. | Bastien Montagne | |
* Reflect changes stated in prev commit about contexts in py code. * Add a "Plural" context, to handle cases where english does not mark plural at all (e.g. shorten labels of only one adjective). Not so happy with that, but can't see any other way to do it, for now. * Abuse "ID_CURVE" context for all falloff curves (this should solve some confusion issues, e.g. "sharp"...). | |||
2013-03-26 | Merging r55547 through r55594 from trunk into soc-2008-mxcurioni | Sergey Sharybin | |
2013-03-25 | More new data names translation (most cases should be covered now). | Bastien Montagne | |
Also done a few cleanup here and there... | |||
2013-03-24 | Merged changes in the trunk up to revision 55546. | Tamito Kajiyama | |
Conflicts resolved: source/blenderplayer/bad_level_call_stubs/SConscript Partly reverted changes to intern/cycles/blender/addon/ui.py in revision 52899 to make it easier to merge trunk changes. | |||
2013-03-23 | A major code update for making the DNA file specification of Freestyle settings | Tamito Kajiyama | |
and RNA for it independent of the build flag for enabling Freestyle. Suggested by Sergey Sharybin through a code review of the branch. * Many #ifdef WITH_FREESTYLE blocks were removed to always have Freestyle-specific DNA file specification and RNA for it built in Blender. This will allow Freestyle setting survive even when a non-Freestyle build is used for loading and saving files. It is noted that operations are still conditionally built through #ifdef WITH_FREESTYLE blocks. * To this end, new blenkernel files BKE_freestyle.h and intern/freestyle.c have been added. All API functions in FRS_freestyle_config.h as well as some of those in FRS_freestyle.h were moved to the new files. Now the relocated API functions have BKE_ prefix instead of FRS_. | |||
2013-03-22 | code cleanup: unused defines, shadowing and unintended enum-as-variable. | Campbell Barton | |