Sivu saatavilla vain englanninkielisenä.
MiikaHweb - Blender Git Statistics v1.06
Blender Git Statistics -> Branches -> undo-experiments
"Undo-experiments" branch
Total commits : 149
Total committers : 2
First Commit : August 30, 2019
Latest Commit : March 3, 2020
Commits by Month
Date | Number of Commits | |
---|---|---|
March, 2020 | 1 | |
February, 2020 | 77 | |
January, 2020 | 46 | |
December, 2019 | 5 | |
November, 2019 | 15 | |
October, 2019 | 0 | |
September, 2019 | 2 | |
August, 2019 | 3 |
Committers
Author | Number of Commits |
---|---|
Bastien Montagne | 147 |
Bastien Montagne | 2 |
Popular Files
Filename | Total Edits |
---|---|
readfile.c | 40 |
main.c | 8 |
undo_system.c | 8 |
BKE_main.h | 7 |
memfile_undo.c | 7 |
readfile.h | 7 |
undofile.c | 5 |
blendfile.c | 5 |
readblenentry.c | 5 |
writefile.c | 3 |
Latest commits
March 3, 2020, 11:22 (GMT) |
Fix stupid mistake in key generation for temp deg storage. |
Revision 9cd67a7 by Bastien Montagne (undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks) February 28, 2020, 09:52 (GMT) |
Merge branch 'id-ensure-unique-memory-address' into undo-experiments |
Revision eb043d4 by Bastien Montagne (id-ensure-unique-memory-address, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks) February 28, 2020, 09:45 (GMT) |
Merge branch 'master' into id-ensure-unique-memory-address |
Revision 88e1152 by Bastien Montagne (id-ensure-unique-memory-address, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks) February 28, 2020, 09:45 (GMT) |
Merge branch 'id-ensure-unique-memory-address' of git.blender.org:blender into id-ensure-unique-memory-address |
Revision 1823876 by Bastien Montagne (undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks) February 26, 2020, 14:04 (GMT) |
Merge branch 'id-ensure-unique-memory-address' into undo-experiments |
Revision 76f381f by Bastien Montagne (id-ensure-unique-memory-address, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks) February 26, 2020, 14:02 (GMT) |
Ensure IDs get unique memory addresses withing q given editing session. Disclaimer: this should be considered as an engeneering, explanatory patch. Rational: for undo work, we are now manipulating IDs from potentially many different 'memory realms' (in contrast to current undo system, where, since we always reallocate the whole main database at each undo step, we only ever have to deal with two, the old one from the memfile, and the new one from re-read data from that memfile). So far, new undo system has used ID names-based search to remap old to new pointers, but this is slower, less safe, and forces us to do full undo barrier e.g. when renaming an ID. Idea of this patch is instead to ensure that within a given editing session, we never ever allocate a data-block at the same address twice. That way, we can consider ID pointers as valid UIDs withing that scope, and use their values to handle remapping in udo steps even in case an ID has had several memory addresses in the history of the editing session. This patches does two things: # Add a way to ensure a newly allocated ID gets a memory address never used before for any ID. # Store the history of all memory addresses ever used by a given ID. Note that point 1 above is currently using a fairly simple and naive solution, but also quiet innefficient (just allocating again and again until we get a 'free' address), we can imagine a much more efficient solution if we go deeper in MEM_ allocator system itself. Not sure if it is worth it though, as with new undo system actual re-allocation of a same ID at a different address should be fairly rare (i.e. history of used/forbidden addresses should remain quiet short). Differential Revision: https://developer.blender.org/D6937 |
Revision bfdb28a by Bastien Montagne (id-ensure-unique-memory-address, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks) February 26, 2020, 13:15 (GMT) |
Merge branch 'master' into id-ensure-unique-memory-address |
Revision 6b9c4e2 by Bastien Montagne (undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks) February 26, 2020, 11:50 (GMT) |
Merge branch 'id-ensure-unique-memory-address' into undo-experiments |
Revision a5ddb3d by Bastien Montagne (id-ensure-unique-memory-address, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks) February 26, 2020, 11:48 (GMT) |
Cleanup; add missing static statement. |
Revision e98c83e by Bastien Montagne (undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks) February 26, 2020, 11:21 (GMT) |
Fix for recent merge. |
Revision 7bff0ae by Bastien Montagne (undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks) February 26, 2020, 11:19 (GMT) |
Merge branch 'id-ensure-unique-memory-address' into undo-experiments |
Revision 6ba8c39 by Bastien Montagne (id-ensure-unique-memory-address, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks) February 26, 2020, 11:19 (GMT) |
Rework a bit re-allocating code, add a lookup utils for history memaddresses. |
Revision 8324cd1 by Bastien Montagne (undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks) February 25, 2020, 15:23 (GMT) |
Merge branch 'id-ensure-unique-memory-address' into undo-experiments |
Revision 1ee9fa0 by Bastien Montagne (id-ensure-unique-memory-address, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks) February 25, 2020, 15:18 (GMT) |
Merge branch 'master' into id-ensure-unique-memory-address |
Revision e6184cd by Bastien Montagne (undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks) February 21, 2020, 16:14 (GMT) |
use new 'unique realloc' of ID. that way we do not have to stupidly ensure unique addresses of all IDs read during an undo step, but only for those we actually need. Combined with the 'almost always reuse old address' feature of undo swap branch, this should ensure us to almost never call that code in practice. |
Revision 7501116 by Bastien Montagne (undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks) February 21, 2020, 16:02 (GMT) |
Fix assert position. |
Revision 3eb0ae6 by Bastien Montagne (undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks) February 21, 2020, 15:48 (GMT) |
Merge branch 'id-ensure-unique-memory-address' into undo-experiments |
Revision 79f09c6 by Bastien Montagne (id-ensure-unique-memory-address, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks) February 21, 2020, 15:48 (GMT) |
Minor fixes/cleanup. |
Revision e63a1b3 by Bastien Montagne (undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks) February 21, 2020, 15:46 (GMT) |
Merge branch 'id-ensure-unique-memory-address' into undo-experiments Conflicts: source/blender/blenloader/intern/readfile.c |
Revision 726e697 by Bastien Montagne (id-ensure-unique-memory-address, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks) February 21, 2020, 14:49 (GMT) |
Rework the whole unique ID system to also store ID addresses history in Main's mapping. In the end, since this is a runtime/editing session data only, makes more sense to store it here than in ID struct itself. And it's probably also more efficient to handle. |
MiikaHweb - Blender Git Statistics v1.06