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
2013-05-15Fix slow resizing of ID property arrays with more than 1619 items, it ↵Brecht Van Lommel
incorrectly reverted to sizing with by 1 each time. This was slowing down painting long strokes with small brush radius.
2013-03-24code cleanup: move doxy docs from headers into source. also replace ↵Campbell Barton
strncpy();str[len]=0 with BLI_strncpy() in BLI_stringdec().
2013-03-10add STREQ macro (commonly used macro like CLAMP, MAX2, STRINGIFY). Use for ↵Campbell Barton
some areas of the python api, bmesh.
2013-02-22patch [#34103] - listbase.patch, insertlinkbefore.patchCampbell Barton
from Lawrence D'Oliveiro (ldo) notes from tracker: use bool for return type from BLI_remlink_safe, necessitating including BLI_utildefines.h in BLI_listbase.h get rid of duplicate BLI_insertlink, use BLI_insertlinkafter instead. A few places which were using BLI_insertlinkafter (actually BLI_insertlink), when it would be simpler to use BLI_insertlinkbefore instead.
2013-02-04style cleanup: spaces -> tabsCampbell Barton
2013-01-14no need to call BLI_countlist on idproperty groups when comparing.Campbell Barton
2013-01-03add id property clear function (matching the same python function for ↵Campbell Barton
dicts/lists)
2012-11-01fix [#30910] Problems: Add Shortcut(s) for "Ctrl Tab" menuCampbell Barton
comparing keymaps was too sloppy or too strict, now sloppy keymap comparison works by setting all the operator properties to their default values if they are not already set, then compare this with the keymap item (ignoring values missing from either one). ... this way any non default keymap setting wont match with an operator menu item which doesnt set this operator at all (a problem sighted in this bug report). developer notes: - IDP_EqualsProperties_ex() function adds an argument to treat missing members of either group to act as if there is a match. - WM_operator_properties_default() function to reset RNA values to their defaults. - add IDP_spit(), debug only function to print out ID properties.
2012-10-31code style: use switch for IDP_EqualsProperties()Campbell Barton
2012-10-31add IDP_MergeGroup(dst, src, overwrite) function,Campbell Barton
like PyDict_Merge()
2012-09-16style cleanupCampbell Barton
2012-09-03add endian switch functions to replace macros SWITCH_INT/LONG/SHORT, with ↵Campbell Barton
BLI_endian_switch_int32/int64/float/double...
2012-08-17fix own error in recent smoothview cleanup, also correct some cross ↵Campbell Barton
references in bmesh docs.
2012-07-08correct use of nonull attributeCampbell Barton
2012-07-08use gcc attrubutes to warn on unused return values and arguments which ↵Campbell Barton
shouldnt be NULL. also remove IDP_AppendArray's return value which wasnt the new item in the array (which is odd/misleading), but wasnt used anywhere either.
2012-05-17style cleanup: line length and ensure some macros error when not ending with ';'Campbell Barton
2012-05-06style cleanup: blenkernelCampbell Barton
2012-04-28style cleanup: changes to brace placement / newlines - for/while/if/switchCampbell Barton
2012-04-25code cleanup: typos and set gcc attributes for string formatting.Campbell Barton
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-18spelling cleanupCampbell Barton
2012-03-04style cleanup - comment spelling + translate some dutch.Campbell Barton
2012-03-04style cleanup / comment formatting for bli/bke/bmeshCampbell Barton
2012-03-01Spelling CleanupCampbell Barton
2012-02-27style cleanup (mostly whitespace)Campbell Barton
2012-02-25code cleanup: white space, spelling & ';;' end of lines.Campbell Barton
2011-12-22split >120 length lines (mostly if statements)Campbell Barton
2011-11-15add IDP_EqualsProperties support for comparing non-null terminated byte strings.Campbell Barton
2011-11-15pass a pointer to IDP_New's IDPropertyTemplate rather then a copy.Campbell Barton
2011-11-15support for non-null terminated byte strings in id properties (as a subtype ↵Campbell Barton
of IDP_STRING types)
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-05-01replace inline string searches with BLI_findstring(), strcmp(..., ""), with ↵Campbell Barton
char comparisons.
2011-04-20fix [#26967] separate mesh with p crashes blenderCampbell Barton
copying ID properties assumed each property was allocated separately which isnt the case for IDP_Arrays.
2011-03-08Old IDProperty bug, (from original commit r8916),Campbell Barton
found crash while changing operator string size. Shrinking arrays never worked right. rather then "newlen * sizeof(...)", it would memcpy "newlen * oldlen * sizeof(...)" which always goes over the array bounds.
2011-02-27doxygen: blender/blenkernel tagged.Nathan Letwory
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-13fix for warnings from Sparse static source code checker, mostly BKE/BLI and ↵Campbell Barton
python functions. - use NULL rather then 0 where possible (makes code & function calls more readable IMHO). - set static variables and functions (exposed some unused vars/funcs). - use func(void) rather then func() for definitions.
2011-02-13enforce string limits (reported by pedantic checking tools & some developers).Campbell Barton
mostly replace strcpy with BLI_strncpy and multiple strcat's with a BLI_snprintf(). also fix possible crash if CWD isnt available.
2011-02-07Type checks for internal ID-Property UI min/max/tip & use defines to get ↵Campbell Barton
values from ID-Props. Probably wouldn't cause a problem but manually editing these types through python could easily crash blender. also changed cmake, stub-makefile default build dir to be lower case and leave out architecture string, easier for documentation. Use ../build/linux/ rather then ../build/Linux_i686/
2011-01-15remove unused vars & avoid some clang warnings.Campbell Barton
2010-11-19use 'const char *' for imbuf and file ops.Campbell Barton
2010-10-06remove some unused code and reduced the scope if some vars (no functional ↵Campbell Barton
change).
2010-08-13minor changes to rna/python.Campbell Barton
- raise an exception when python calls is_property_set(name) or is_property_hidden(name) and the property does not exist. - added BLI_findstring_ptr(), which finds a named item in a listbase where that name is a pointer to a string. - replaced inline for loops with calls to BLI_findstring_ptr() and IDP_GetPropertyFromGroup().
2010-06-12modify my last commit to fix [#22486] add_actuator crashes when name is ↵Campbell Barton
bigger than 32 chars Throwing an exception if the strings too long means scripts need to be aware of string lengths and changing a string length in RNA can too easily break scripts. Instead honor the string length in RNA_property_string_set()
2010-03-22spaces -> tabs, (4 spaces == 1 tab, only for white space preceding text)Campbell Barton
2010-03-21removed unused includes, except for physics and particle related filesCampbell Barton
2010-03-21Fix syntax for ID keyword.Guillermo S. Romero
2010-02-15Proxy ID property syncingCampbell Barton
This means pose bones on proxy poses can have their own values as long as the name and type matches that of the library pose bone. without this the only way to add new values on a pose bone proxy is to protect in the lib, reload the proxy blend and save.
2010-02-12correct fsf addressCampbell Barton
2010-01-22Fix bug in IDP_ReplaceGroupInGroup (it would sometimes add the same property ↵Martin Poirier
twice). Also simplify some other loops.