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
2017-05-20CMake: Use GCC7's -Wimplicit-fallthrough=5Campbell Barton
Use to avoid accidental missing break statements, use ATTR_FALLTHROUGH to suppress.
2016-03-24Fix BLI_strncasestr use with a single characterCampbell Barton
2016-03-23UI: multi word filtering in search menuCampbell Barton
D1080 by @rockets, with own improvements to tests
2016-02-10Cleanup: double promotionCampbell Barton
Also remove null checks from args with non-null attribute.
2015-12-21Cleanup: warnings (msvc)Campbell Barton
Part of patch D1670 by @LazyDodo
2015-09-13Cleanup: spellingCampbell Barton
2015-08-24Fix T45884: Crash copying keyframesCampbell Barton
BLI_str_quoted_substrN could crash if the prefix wasn't found
2015-07-14Cleanup: use ascii as suffix (as with utf8)Campbell Barton
2015-06-30Cleanup: move BLI_char_switch into BLI_stringCampbell Barton
2015-06-30Cleanup: use BLI_str prefix for BLI_replacestrNCampbell Barton
2015-06-30Cleanup: move BLI_timestr to BLI_timecodeCampbell Barton
2015-06-27Cleanup: all params of BLI_str partition funcs can be const...Bastien Montagne
2015-06-27Extend `BLI_str_partition_ex`: add possibility to define a right limit to ↵Bastien Montagne
the string. Now you can define `end` pointer as right limit of the string (allows to easily search in substring, especially useful when searching from right).
2015-04-21BLI_string: add BLI_snprintf_rlenCampbell Barton
use when the length of the destination string is needed.
2015-01-10Fix building with very strict flags, use size_t rather than int for string ↵Bastien Montagne
length. Reported on bf-committers.
2015-01-10cleanup: style & warningsCampbell Barton
2015-01-09BLI_string: BLI_str_ends_with -> BLI_str_endswithCampbell Barton
Loosely following Python str convention.
2015-01-09Gooseberry animation request: Paste flipped pose in actionAntony Riakiotakis
and graph editor. This was a tricky commit that was not so straightforward to make work. The information for bones is not easy to come by in the animation curves, however we do have some string manipulation tricks to make it happen. Testing in gooseberry worked for the rigs there, commiting to master now
2015-01-03Add some BLI helpers needed by asset branch.Bastien Montagne
`BLI_strncpy_ensure_pad()` is also useful with current master code. The two others (`BLI_strcmp_ignore_pad()` and `BLI_filelist_duplicate()`) are only used in asset branch currently, but think they could be useful in other places too, and simplifies handling of asset branch & future patch review. Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D965
2014-08-01Make function definition consistent with function declaration (as discussed ↵gaiaclary
with campbell)
2014-07-17Add thousands separators to scene stats (D646)Campbell Barton
by januz with own modifications
2014-07-08BLI_string, dont pass unicode to ascii BLI_str_partition functionsCampbell Barton
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-17BLI: Add two helpers to search a given string in an array of strings.Bastien Montagne
2014-06-13Add string escaping support for BLI_str_quoted_substrNCampbell Barton
2014-04-26Code cleanup: use 'const' for arrays (blenlib)Campbell Barton
2014-01-21Fix T38303: same names with different case sorted unpredictable in the file ↵Brecht Van Lommel
browser. The string comparison was in lower case, so the same strings with different case were considered the same which can make qsort give different results on each sort since it's not a stable sort. Now take case into account in comparison.
2014-01-16Code Cleanup: style and redundant castsCampbell Barton
2013-12-24String API: BLI_ascii_strtolower/upper now check NULL terminatorCampbell Barton
This wasn't needed before now, but since recent change to bUnit_ReplaceString, it uses in a context where NULL terminator is expected - best add. (spotted by Sergey)
2013-07-28remove unneeded NULL checks, add one for give_matarar() return value.Campbell Barton
2013-07-27code cleanup: remove redundant NULL checks and avoid writing to the source ↵Campbell Barton
string. also rename BLI_replacestr() -> BLI_replacestrN() since it returns an allocated buffer.
2013-07-23replace use of strcat() where the string offset is known.Campbell Barton
also correct bad logic with converting a textblock to 3d-text, bytes-vs-number of chars wasn't handled right.
2013-07-21code cleanup: add break statements in switch ()'s, (even at the last case).Campbell Barton
2013-07-15debug option (off by default), for BLI_string to help find incorrect sizes ↵Campbell Barton
being passed in (enable in source files only)
2013-06-21Code cleanup: fix some vs2012 compiler warningsBrecht Van Lommel
2013-06-16add BLI_strcpy_rlen, replace strcat, which was used in misleading way.Campbell Barton
2013-05-12quiet sign conversion warnings and reduce sign conversion for BLI_string, ↵Campbell Barton
and BLF.
2013-05-10Fix #35270: files with numbers higher than 2147483648 or with different numbersBrecht Van Lommel
of leading zeros but otherwise the same would show in random order in the file browser. Selecting an item would change the order of all the items. Problem was that it was comparing by parsing the number into an int, which has only limited precision and does not care about the number of leading zeros. Now do the comparison directly on the string.
2013-05-05correction for uv template, also some doxygen comment corrections. Campbell Barton
2013-03-29misc minor edits.Campbell Barton
- pass string size to BLI_timestr() to avoid possible buffer overrun. - quiet warning for mingw. - include guards for windows utf conversion funcs. - fix for mistage in edge-angle-selection check. - some style cleanup.
2013-03-16revert own change: don't use memchr for strnlen, causes problems when the ↵Campbell Barton
len is longer then the string data, instead use strnlen from freebsd. also simplify empty string checks in logic_ops.c
2013-03-14add BLI_strncpy_rlen(), a clone of BLI_strncpy() that returns the number of ↵Campbell Barton
bytes copied. also move doxy comments for BLI_string.h into the C file.
2013-03-14minor change to BLI_strncpy(). replace strlen() with BLI_strnlen().Campbell Barton
2013-03-04fix [#34490] Copy and paste floating point number fields losses precisionCampbell Barton
- copy now gets up to 6 decimal places - copy and UI float button editing now strip zeros: 1.000 -> 1.0
2013-02-17Bug fix #34281Ton Roosendaal
The RNA path interpretor code was using a function to get the portion between quotes, this function was not even checking if there *are* quotes at all! Causing bad memory allocs or crashes.
2013-01-08style cleanupCampbell Barton
2012-11-28typo's and some style cleanup, also added asserts into BLI_vsnprintf and ↵Campbell Barton
BLI_sprintfN when invalid args are given.
2012-11-23Patch [#33196] Warning Fixes 11-16-2012Jason Wilkins
* MEM_CacheLimitier - Size type to int conversion, should be safe for now (doing my best Bill Gates 640k impression) * OpenNL CMakeLists.txt - MSVC and GCC have slightly different ways to remove definitions (DEBUG) without the compiler complaining * BLI_math inlines - The include guard name and inline option macro name should be different. Suppressed warning about not exporting any symbols from inline math library * BLI string / utf8 - Fixed some inconsistencies between declarations and definitions * nodes - node_composite_util is apparently not used unless you enable the legacy compositor, so it should not be compiled in that case. Leaving out changes to BLI_fileops for now, need to do more testing.
2012-10-31add assert if zero is passed to string copy functions, would copy into first ↵Campbell Barton
byte anyway.
2012-10-27change BLI_strlen_range_utf8 to the more conventional BLI_strnlen_utf8Campbell Barton