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
2020-09-04Cleanup: Clang-Tidy readability-inconsistent-declaration-parameter-name fixSebastian Parborg
No functional changes
2020-08-19BLI Listbase: Add iterator macro that increments an indexHans Goudey
2020-08-07Code Style: use "#pragma once" in source directoryJacques Lucke
This replaces header include guards with `#pragma once`. A couple of include guards are not removed yet (e.g. `__RNA_TYPES_H__`), because they are used in other places. This patch has been generated by P1561 followed by `make format`. Differential Revision: https://developer.blender.org/D8466
2019-09-04Python API: add methods for reordering constraints.Alexander Gavrilov
Order matters for constraints, but there was no way to change it. The API follows other collections like idprops and node sockets.
2019-08-21Shading: Add more operators to Vector Math node.OmarSquircleArt
Add Multiply, Divide, Project, Reflect, Distance, Length, Scale, Snap, Floor, Ceil, Modulo, Fraction, Absolute, Minimum, and Maximum operators to the Vector Math node. The Value output has been removed from operators whose output is a vector, and the other way around. All of those removals has been handled properly in versioning code. The patch doesn't include tests for the new operators. Tests will be added in a later patch. Reviewers: brecht, JacquesLucke Differential Revision: https://developer.blender.org/D5523
2019-08-01Cleanup: misc spelling fixesCampbell Barton
T68035 by @luzpaz
2019-05-01ClangFormat: run with ReflowComments on source/Campbell Barton
Prepare for enabling ReflowComments.
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-04-02Cleanup: empty expression statement warningCampbell Barton
2019-02-20BLI_listbase: add an iterator macro that supports removalCampbell Barton
Avoids manually defining 'for' loops that store the next item in the linked list.
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2018-09-29A new function to move list at the beginning of another listAntonioya
This is a change of the BLI_movelisttolist but in reverse order.
2018-04-03Cleanup: rename list count_ex -> count_at_mostCampbell Barton
2018-02-15Cleanup: Style, braces with macrosSergey Sharybin
See https://wiki.blender.org/index.php/Dev:Doc/Code_Style#Braces_with_Macros
2018-02-15Cleanup: Remove BLI_ prefix from listbase macroSergey Sharybin
This is kind of doesn't matter where macro itself is defined. We should stick to the following: - If some macro is actually more an inline function, follow regular function name conventions. - If macro is a macro, type it in capitals. Use module prefix if that helps readability or it if helps avoiding accidents.
2018-01-19Cleanup: reaname LINKLIST_FOREACH -> LISTBASECampbell Barton
LinkList's are a different API, no need to confuse things.
2017-11-16BLI listbase: add bytes finding helpers.Bastien Montagne
Quite similar to string ones actually, except more generic. Used in id_override_static branch currently.
2017-11-14BLI: sync changes from 2.8Campbell Barton
2017-05-30Move GHash/GSet/LinkList iterators to BLI filesSergey Sharybin
Those are not depsgraph or C++ specific and can be used by everyone.
2017-04-09ListBase: Add insert-replace functionCampbell Barton
Handy to replace an existing link (without having to store before/after links) Use for id-props
2016-09-18BLI_listbase: Add/use utility to move link (BLI_listbase_link_move)Julian Eisel
We were calling BLI_remlink and then BLI_insertlinkbefore/after quite often. BLI_listbase_link_move simplifies code a bit and makes it easier to follow. It also returns if link position has changed which can be used to avoid unnecessary updates. Added it to a number of list reorder operators for now and made use of return value. Behavior shouldn't be changed. Also some minor cleanup.
2015-06-11BLI_listbase: match arg order with BLI_qsort_rCampbell Barton
2014-11-16BLI_listbase: Add BLI_listbase_count_ex (sets a limit)Campbell Barton
This can be used to avoid redundant looping when we only want to know if a list is smaller then some size. also remove paranoid NULL check in list counting.
2014-11-16Cleanup: use BLI_listbase_*** prefix for count,sort,sort_rCampbell Barton
2014-10-21ListBase: use BLI_listbase_ for new api callsCampbell Barton
2014-10-21BLI_listbase: add `BLI_swaplinks` which swaps given links' positions in ↵Bastien Montagne
given list. Can be much simpler and quicker than using remlink/insert functions.
2014-09-24Cleanup: const correctness for BLI_sortlistCampbell Barton
2014-07-30missed last commitCampbell Barton
2014-07-30BLI_listbase: consistent name prefixCampbell Barton
2014-06-25Use api function for flipping button list & rename to BLI_listbase_reverseCampbell Barton
2014-02-13ListBase: add attributes to api functionsCampbell Barton
2014-02-13ListBase: add BLI_sortlist_r api function, remove check for NULL callbackCampbell Barton
2014-02-08some systems didnt define NULLCampbell Barton
2014-02-07ListBase API: add utility api funcs for clearing and checking emptyCampbell Barton
2013-09-05add function for rotating linked list so at item is last.Campbell Barton
2013-08-27ghash/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-07-15fix [#36107] Moving origin of instanced objects doesn't work properlyCampbell Barton
now use the active object first if its selected, this means when multiple instances are selected, using the active object gives a predictable outcome.
2013-05-11utility functions to reverse and rotate linklists.Campbell Barton
2013-03-29fix [#34804] Only timeline_markers[0] is selectable if multiple markers at ↵Campbell Barton
same frame also add macros for looping on listbases as if they were circular lists which is handy for cycling over items.
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.
2012-12-15add checks to style checker script for 'a . b' and 'a []'Campbell Barton
also use BLI_findindex for modifiers_indexInObject
2012-08-18utility functions: BLI_findptr, BLI_rfindptr --- use for finding an item in ↵Campbell Barton
a linked list by a pointer.
2012-03-04bmesh py apiCampbell Barton
* add BLI_rfindlink for reverse index lookup (used so bm.select_history[-1] doesn't have to loop the entire list twice). * add bm.select_history.active so you can get the last selected item or None without having to check seq length.
2012-02-17unify include guard defines, __$FILENAME__Campbell Barton
without the underscores these clogged up the namespace for autocompleation which was annoying.
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-05-02reverse string lookup listbase function BLI_findstring counterparts, added ↵Campbell Barton
BLI_rfindstring, BLI_rfindstring_ptr, these search from the end of the listbase (like pythons rfind).
2011-02-18doxygen: add blenlib under core as module.Nathan Letwory
2010-12-21rename addlisttolist() to BLI_movelisttolist()Campbell Barton
name was misleading because the list items were removed from the source list. (no functional changes)