http://www.miikahweb.com/feed.php MiikaHweb - Blender Id-ensure-unique-memory-address Branch http://www.miikahweb.com/ MiikaHweb - Blender Id-ensure-unique-memory-address Branch fi Sat, 16 Jan 21 03:04:32 +0000 MiikaHweb RSS contact at miikahweb.com <![CDATA[[88e1152]: Merge branch 'id-ensure-unique-memory-address' of git.blender...]]> http://www.miikahweb.com/en/blender/git-logs/commit/88e1152d4acc2852bb45f0726e27f507a502fbeb 88e1152
Branches : id-ensure-unique-memory-address, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'id-ensure-unique-memory-address' of git.blender.org:blender into id-ensure-unique-memory-address

----------------------------------------
0 Paths Changed]]>
Fri, 28 Feb 2020 09:45:14 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/88e1152d4acc2852bb45f0726e27f507a502fbebBastien Montagne
<![CDATA[[eb043d4]: Merge branch 'master' into id-ensure-unique-memory-address]]> http://www.miikahweb.com/en/blender/git-logs/commit/eb043d44f26bc8c245f2a3ad42d65ab5626003e4 eb043d4
Branches : id-ensure-unique-memory-address, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'master' into id-ensure-unique-memory-address

----------------------------------------
0 Paths Changed]]>
Fri, 28 Feb 2020 09:45:29 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/eb043d44f26bc8c245f2a3ad42d65ab5626003e4Bastien Montagne
<![CDATA[[76f381f]: Ensure IDs get unique memory addresses withing q given editing...]]> http://www.miikahweb.com/en/blender/git-logs/commit/76f381ff4211885a0069dc4e992fce5fd6b54164 76f381f
Branches : id-ensure-unique-memory-address, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks
Author : Bastien Montagne (mont29)
----------------------------------------
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

----------------------------------------
0 Paths Changed]]>
Wed, 26 Feb 2020 14:02:20 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/76f381ff4211885a0069dc4e992fce5fd6b54164Bastien Montagne
<![CDATA[[bfdb28a]: Merge branch 'master' into id-ensure-unique-memory-address]]> http://www.miikahweb.com/en/blender/git-logs/commit/bfdb28a51240fdafb60ad08ff3c6afd5dca3cd8a bfdb28a
Branches : id-ensure-unique-memory-address, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'master' into id-ensure-unique-memory-address

----------------------------------------
0 Paths Changed]]>
Wed, 26 Feb 2020 13:15:35 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/bfdb28a51240fdafb60ad08ff3c6afd5dca3cd8aBastien Montagne
<![CDATA[[a5ddb3d]: Cleanup; add missing static statement.]]> http://www.miikahweb.com/en/blender/git-logs/commit/a5ddb3df3b57090799cb389462e9d1f0c8f4cf94 a5ddb3d
Branches : id-ensure-unique-memory-address, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks
Author : Bastien Montagne (mont29)
----------------------------------------
Cleanup; add missing static statement.

----------------------------------------
1 Path Changed]]>
Wed, 26 Feb 2020 11:48:01 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/a5ddb3df3b57090799cb389462e9d1f0c8f4cf94Bastien Montagne
<![CDATA[[6ba8c39]: Rework a bit re-allocating code, add a lookup utils for history...]]> http://www.miikahweb.com/en/blender/git-logs/commit/6ba8c393a01e721bf0676f7aac06595378b71050 6ba8c39
Branches : id-ensure-unique-memory-address, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks
Author : Bastien Montagne (mont29)
----------------------------------------
Rework a bit re-allocating code, add a lookup utils for history memaddresses.

----------------------------------------
2 Paths Changed]]>
Wed, 26 Feb 2020 11:19:25 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/6ba8c393a01e721bf0676f7aac06595378b71050Bastien Montagne
<![CDATA[[1ee9fa0]: Merge branch 'master' into id-ensure-unique-memory-address]]> http://www.miikahweb.com/en/blender/git-logs/commit/1ee9fa05b6f7f35f848cc6d229170cc9dd72a054 1ee9fa0
Branches : id-ensure-unique-memory-address, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'master' into id-ensure-unique-memory-address

----------------------------------------
0 Paths Changed]]>
Tue, 25 Feb 2020 15:18:17 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/1ee9fa05b6f7f35f848cc6d229170cc9dd72a054Bastien Montagne
<![CDATA[[79f09c6]: Minor fixes/cleanup.]]> http://www.miikahweb.com/en/blender/git-logs/commit/79f09c6bf275999ee9d0163fd6b79e5e32a21f48 79f09c6
Branches : id-ensure-unique-memory-address, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks
Author : Bastien Montagne (mont29)
----------------------------------------
Minor fixes/cleanup.

----------------------------------------
1 Path Changed]]>
Fri, 21 Feb 2020 15:48:11 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/79f09c6bf275999ee9d0163fd6b79e5e32a21f48Bastien Montagne
<![CDATA[[1186050]: id-unique system: add also realloc utils.]]> http://www.miikahweb.com/en/blender/git-logs/commit/11860508bd4adc0dbee6fd22f2fb93be6702f46d 1186050
Branches : id-ensure-unique-memory-address, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks
Author : Bastien Montagne (mont29)
----------------------------------------
id-unique system: add also realloc utils.

----------------------------------------
2 Paths Changed]]>
Thu, 20 Feb 2020 13:24:10 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/11860508bd4adc0dbee6fd22f2fb93be6702f46dBastien Montagne
<![CDATA[[18ef2d5]: Merge branch 'master' into id-ensure-unique-memory-address]]> http://www.miikahweb.com/en/blender/git-logs/commit/18ef2d5a4d0b8be9ab4b6e369b448a8c186fff29 18ef2d5
Branches : id-ensure-unique-memory-address, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'master' into id-ensure-unique-memory-address

----------------------------------------
0 Paths Changed]]>
Thu, 20 Feb 2020 11:17:48 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/18ef2d5a4d0b8be9ab4b6e369b448a8c186fff29Bastien Montagne
<![CDATA[[726e697]: Rework the whole unique ID system to also store ID addresses...]]> http://www.miikahweb.com/en/blender/git-logs/commit/726e6972160159cc9d5b2be9cfb618f7362acc81 726e697
Branches : id-ensure-unique-memory-address, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks
Author : Bastien Montagne (mont29)
----------------------------------------
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.

----------------------------------------
5 Paths Changed]]>
Fri, 21 Feb 2020 14:49:21 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/726e6972160159cc9d5b2be9cfb618f7362acc81Bastien Montagne
<![CDATA[[91fd432]: Merge branch 'master' into readfile-rework-refcount-handling]]> http://www.miikahweb.com/en/blender/git-logs/commit/91fd432afe15aad397eaad5f0cd90831d49917b3 91fd432
Branches : id-ensure-unique-memory-address, readfile-rework-refcount-handling, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'master' into readfile-rework-refcount-handling

----------------------------------------
0 Paths Changed]]>
Wed, 19 Feb 2020 13:07:26 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/91fd432afe15aad397eaad5f0cd90831d49917b3Bastien Montagne
<![CDATA[[6ee3ab5]: Merge branch 'readfile-rework-refcount-handling' into id-ensure...]]> http://www.miikahweb.com/en/blender/git-logs/commit/6ee3ab56407b9a25ce73b302a850a8262c94fe4f 6ee3ab5
Branches : id-ensure-unique-memory-address, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'readfile-rework-refcount-handling' into id-ensure-unique-memory-address

----------------------------------------
0 Paths Changed]]>
Wed, 19 Feb 2020 13:08:32 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/6ee3ab56407b9a25ce73b302a850a8262c94fe4fBastien Montagne
<![CDATA[[dc0f53c]: Merge branch 'master' into readfile-rework-refcount-handling]]> http://www.miikahweb.com/en/blender/git-logs/commit/dc0f53c93694cb38920abc056c1327b771c93c3c dc0f53c
Branches : id-ensure-unique-memory-address, readfile-rework-refcount-handling, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'master' into readfile-rework-refcount-handling

----------------------------------------
0 Paths Changed]]>
Wed, 19 Feb 2020 11:49:34 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/dc0f53c93694cb38920abc056c1327b771c93c3cBastien Montagne
<![CDATA[[b45ae17]: Merge branch 'master' into readfile-rework-refcount-handling]]> http://www.miikahweb.com/en/blender/git-logs/commit/b45ae177d9011d083a12a14ed581db7e72568430 b45ae17
Branches : id-ensure-unique-memory-address, readfile-rework-refcount-handling, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'master' into readfile-rework-refcount-handling

----------------------------------------
0 Paths Changed]]>
Wed, 19 Feb 2020 09:17:59 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/b45ae177d9011d083a12a14ed581db7e72568430Bastien Montagne
<![CDATA[[b7b8399]: get rid of all remaining usage of `newlibadr_us` in readfile...]]> http://www.miikahweb.com/en/blender/git-logs/commit/b7b8399c51f39ee21eec1bde8aec0c38b50add40 b7b8399
Branches : id-ensure-unique-memory-address, readfile-rework-refcount-handling, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks
Author : Bastien Montagne (mont29)
----------------------------------------
get rid of all remaining usage of `newlibadr_us` in readfile code.

Old deprecated IPOs data-blocks are not refcounted at all anymore,
however that should not be an issue since after doversion we get rid of
them anyway.

----------------------------------------
2 Paths Changed]]>
Wed, 19 Feb 2020 09:30:50 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/b7b8399c51f39ee21eec1bde8aec0c38b50add40Bastien Montagne
<![CDATA[[767c389]: Merge branch 'readfile-rework-refcount-handling' into id-ensure...]]> http://www.miikahweb.com/en/blender/git-logs/commit/767c3899e028375ed5f2219ca4fb13660c57f261 767c389
Branches : id-ensure-unique-memory-address, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'readfile-rework-refcount-handling' into id-ensure-unique-memory-address

----------------------------------------
0 Paths Changed]]>
Tue, 18 Feb 2020 17:35:36 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/767c3899e028375ed5f2219ca4fb13660c57f261Bastien Montagne
<![CDATA[[ac346fd]: Merge branch 'master' into readfile-rework-refcount-handling]]> http://www.miikahweb.com/en/blender/git-logs/commit/ac346fd5fb7bf92839e99ee7f5a680a313fb9386 ac346fd
Branches : id-ensure-unique-memory-address, readfile-rework-refcount-handling, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks
Author : Unknown ()
----------------------------------------
Merge branch 'master' into readfile-rework-refcount-handling

----------------------------------------
0 Paths Changed]]>
Tue, 18 Feb 2020 17:27:39 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/ac346fd5fb7bf92839e99ee7f5a680a313fb9386
<![CDATA[[537fddb]: Remove usercount handling from ui stuff in reafile as well.]]> http://www.miikahweb.com/en/blender/git-logs/commit/537fddbf16757fe7382ce5941bdbfaa479884fc1 537fddb
Branches : id-ensure-unique-memory-address, readfile-rework-refcount-handling, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks
Author : Bastien Montagne (mont29)
----------------------------------------
Remove usercount handling from ui stuff in reafile as well.

----------------------------------------
1 Path Changed]]>
Tue, 18 Feb 2020 14:49:36 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/537fddbf16757fe7382ce5941bdbfaa479884fc1Bastien Montagne
<![CDATA[[f359e63]: Merge branch 'master' into readfile-rework-refcount-handling]]> http://www.miikahweb.com/en/blender/git-logs/commit/f359e63e2fb0a38c156edd74a826b30a34254380 f359e63
Branches : id-ensure-unique-memory-address, readfile-rework-refcount-handling, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'master' into readfile-rework-refcount-handling

----------------------------------------
0 Paths Changed]]>
Tue, 18 Feb 2020 13:39:05 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/f359e63e2fb0a38c156edd74a826b30a34254380Bastien Montagne
<![CDATA[[fcd127b]: Fix bad placement of ID refcount recomputation in readfile.]]> http://www.miikahweb.com/en/blender/git-logs/commit/fcd127b815fd2e3e4b07585850ff4899110d4531 fcd127b
Branches : id-ensure-unique-memory-address, readfile-rework-refcount-handling, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks
Author : Bastien Montagne (mont29)
----------------------------------------
Fix bad placement of ID refcount recomputation in readfile.

----------------------------------------
1 Path Changed]]>
Tue, 18 Feb 2020 14:39:29 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/fcd127b815fd2e3e4b07585850ff4899110d4531Bastien Montagne
<![CDATA[[3e29c2e]: Merge branch 'master' into readfile-rework-refcount-handling]]> http://www.miikahweb.com/en/blender/git-logs/commit/3e29c2e6d0a07646ce2377b229d534702c625c69 3e29c2e
Branches : id-ensure-unique-memory-address, readfile-rework-refcount-handling, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'master' into readfile-rework-refcount-handling

----------------------------------------
0 Paths Changed]]>
Tue, 18 Feb 2020 10:24:51 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/3e29c2e6d0a07646ce2377b229d534702c625c69Bastien Montagne
<![CDATA[[e752eb4]: Merge branch 'libquery-handle-ui-pointers' into readfile-rework...]]> http://www.miikahweb.com/en/blender/git-logs/commit/e752eb4ae94a8aa54a6830587e787e6a7877aa1f e752eb4
Branches : id-ensure-unique-memory-address, readfile-rework-refcount-handling, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'libquery-handle-ui-pointers' into readfile-rework-refcount-handling

----------------------------------------
0 Paths Changed]]>
Tue, 18 Feb 2020 09:55:12 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/e752eb4ae94a8aa54a6830587e787e6a7877aa1fBastien Montagne
<![CDATA[[2438275]: Merge branch 'readfile-rework-refcount-handling' into id-ensure...]]> http://www.miikahweb.com/en/blender/git-logs/commit/24382754528a785c2d497f357c5f5e334cb7ccae 2438275
Branches : id-ensure-unique-memory-address, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'readfile-rework-refcount-handling' into id-ensure-unique-memory-address

----------------------------------------
0 Paths Changed]]>
Tue, 18 Feb 2020 09:59:02 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/24382754528a785c2d497f357c5f5e334cb7ccaeBastien Montagne
<![CDATA[[8fbc56b]: Merge branch 'master' into libquery-handle-ui-pointers]]> http://www.miikahweb.com/en/blender/git-logs/commit/8fbc56b32d39bdda54cee3a161cb7d2aa985b53d 8fbc56b
Branches : id-ensure-unique-memory-address, libquery-handle-ui-pointers, readfile-rework-refcount-handling, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'master' into libquery-handle-ui-pointers

----------------------------------------
0 Paths Changed]]>
Tue, 18 Feb 2020 09:31:56 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/8fbc56b32d39bdda54cee3a161cb7d2aa985b53dBastien Montagne
<![CDATA[[388e468]: Factorize unique ID mem address allocation into a util functions...]]> http://www.miikahweb.com/en/blender/git-logs/commit/388e468a0429d3cc6eb8291f9ee94fa3bf498149 388e468
Branches : id-ensure-unique-memory-address, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks
Author : Bastien Montagne (mont29)
----------------------------------------
Factorize unique ID mem address allocation into a util functions.

----------------------------------------
3 Paths Changed]]>
Fri, 14 Feb 2020 17:58:01 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/388e468a0429d3cc6eb8291f9ee94fa3bf498149Bastien Montagne
<![CDATA[[6632461]: Merge branch 'readfile-rework-refcount-handling' into id-ensure...]]> http://www.miikahweb.com/en/blender/git-logs/commit/6632461a00c774457d8364caba49dc26aacc598a 6632461
Branches : id-ensure-unique-memory-address, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'readfile-rework-refcount-handling' into id-ensure-unique-memory-address

----------------------------------------
0 Paths Changed]]>
Fri, 14 Feb 2020 13:56:17 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/6632461a00c774457d8364caba49dc26aacc598aBastien Montagne
<![CDATA[[8a73b03]: Fix crash on undo case.]]> http://www.miikahweb.com/en/blender/git-logs/commit/8a73b03fddbcb822433621015546d5e8e8402932 8a73b03
Branches : id-ensure-unique-memory-address, readfile-rework-refcount-handling, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks
Author : Bastien Montagne (mont29)
----------------------------------------
Fix crash on undo case.

We cannot use libquery too early in undo case, because of all the black
magic we perform over our data-blocks there...

----------------------------------------
2 Paths Changed]]>
Fri, 14 Feb 2020 13:53:46 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/8a73b03fddbcb822433621015546d5e8e8402932Bastien Montagne
<![CDATA[[a608df8]: Cleanup: remove timing debug calls.]]> http://www.miikahweb.com/en/blender/git-logs/commit/a608df8e27b8231ab959d0143e4cc9bc0986139b a608df8
Branches : id-ensure-unique-memory-address, readfile-rework-refcount-handling, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks
Author : Bastien Montagne (mont29)
----------------------------------------
Cleanup: remove timing debug calls.

We now know that extra time spent here is neglectable.

----------------------------------------
1 Path Changed]]>
Fri, 14 Feb 2020 13:55:03 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/a608df8e27b8231ab959d0143e4cc9bc0986139bBastien Montagne
<![CDATA[[6728cc6]: Merge branch 'readfile-rework-refcount-handling' into id-ensure...]]> http://www.miikahweb.com/en/blender/git-logs/commit/6728cc6fdb3b785b3068721786f3efe765aca8fb 6728cc6
Branches : id-ensure-unique-memory-address, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'readfile-rework-refcount-handling' into id-ensure-unique-memory-address

Conflicts:
source/blender/blenkernel/intern/main.c

----------------------------------------
0 Paths Changed]]>
Fri, 14 Feb 2020 13:20:00 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/6728cc6fdb3b785b3068721786f3efe765aca8fbBastien Montagne
<![CDATA[[7ea3e2e]: Merge branch 'libquery-handle-ui-pointers' into readfile-rework...]]> http://www.miikahweb.com/en/blender/git-logs/commit/7ea3e2ea82fb475f54898fdae29e64580fd1dc57 7ea3e2e
Branches : id-ensure-unique-memory-address, readfile-rework-refcount-handling, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'libquery-handle-ui-pointers' into readfile-rework-refcount-handling

----------------------------------------
0 Paths Changed]]>
Fri, 14 Feb 2020 11:55:30 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/7ea3e2ea82fb475f54898fdae29e64580fd1dc57Bastien Montagne
<![CDATA[[0e87f42]: Merge branch 'master' into libquery-handle-ui-pointers]]> http://www.miikahweb.com/en/blender/git-logs/commit/0e87f42950a6ef2ea93cfeec5222e8efeceb4a95 0e87f42
Branches : id-ensure-unique-memory-address, libquery-handle-ui-pointers, readfile-rework-refcount-handling, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'master' into libquery-handle-ui-pointers

Conflicts:
source/blender/blenkernel/intern/lib_query.c

----------------------------------------
0 Paths Changed]]>
Fri, 14 Feb 2020 11:54:17 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/0e87f42950a6ef2ea93cfeec5222e8efeceb4a95Bastien Montagne
<![CDATA[[150d5e8]: Merge branch 'libquery-handle-ui-pointers' into readfile-rework...]]> http://www.miikahweb.com/en/blender/git-logs/commit/150d5e82ea06337332f5058d917c743dc86f7a14 150d5e8
Branches : id-ensure-unique-memory-address, readfile-rework-refcount-handling, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'libquery-handle-ui-pointers' into readfile-rework-refcount-handling

----------------------------------------
0 Paths Changed]]>
Fri, 14 Feb 2020 11:33:58 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/150d5e82ea06337332f5058d917c743dc86f7a14Bastien Montagne
<![CDATA[[e3825d6]: Merge branch 'master' into libquery-handle-ui-pointers]]> http://www.miikahweb.com/en/blender/git-logs/commit/e3825d637367b02ff18d00c38621768e8b525d08 e3825d6
Branches : id-ensure-unique-memory-address, libquery-handle-ui-pointers, readfile-rework-refcount-handling, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'master' into libquery-handle-ui-pointers

----------------------------------------
0 Paths Changed]]>
Fri, 14 Feb 2020 11:29:17 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/e3825d637367b02ff18d00c38621768e8b525d08Bastien Montagne
<![CDATA[[5348310]: Merge branch 'master' into libquery-handle-ui-pointers]]> http://www.miikahweb.com/en/blender/git-logs/commit/53483104f76e032857ac53c939f06797e01a5078 5348310
Branches : id-ensure-unique-memory-address, libquery-handle-ui-pointers, readfile-rework-refcount-handling, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'master' into libquery-handle-ui-pointers

----------------------------------------
0 Paths Changed]]>
Fri, 14 Feb 2020 08:55:02 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/53483104f76e032857ac53c939f06797e01a5078Bastien Montagne
<![CDATA[[5871557]: Initial rough idea of 'unique ID address' change.]]> http://www.miikahweb.com/en/blender/git-logs/commit/587155745b3b6c4949dd0b155abf24405b436c24 5871557
Branches : id-ensure-unique-memory-address, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks
Author : Bastien Montagne (mont29)
----------------------------------------
Initial rough idea of 'unique ID address' change.

Goal of this code is to ensure we only ever use a given memory address
once, for all IDs generated in a bmain.

This is crucial if we want to be able to use ID pointers instead of ID
names in undo speedup work, when re-using existing IDs.

----------------------------------------
7 Paths Changed]]>
Tue, 11 Feb 2020 16:50:53 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/587155745b3b6c4949dd0b155abf24405b436c24Bastien Montagne
<![CDATA[[9ae8f97]: Merge branch 'master' into libquery-handle-ui-pointers]]> http://www.miikahweb.com/en/blender/git-logs/commit/9ae8f97fed1ca5a1b4572a0a4fff5be314f86e3e 9ae8f97
Branches : id-ensure-unique-memory-address, libquery-handle-ui-pointers, readfile-rework-refcount-handling, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks
Author : Bastien Montagne (mont29)
----------------------------------------
Merge branch 'master' into libquery-handle-ui-pointers

----------------------------------------
0 Paths Changed]]>
Mon, 10 Feb 2020 17:49:00 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/9ae8f97fed1ca5a1b4572a0a4fff5be314f86e3eBastien Montagne
<![CDATA[[a544582]: Merge commit 'ddad044cfe13' into libquery-handle-ui-pointers]]> http://www.miikahweb.com/en/blender/git-logs/commit/a544582c215d138011300338ff43cce993383018 a544582
Branches : id-ensure-unique-memory-address, libquery-handle-ui-pointers, readfile-rework-refcount-handling, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks
Author : Bastien Montagne (mont29)
----------------------------------------
Merge commit 'ddad044cfe13' into libquery-handle-ui-pointers

----------------------------------------
0 Paths Changed]]>
Mon, 10 Feb 2020 17:47:36 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/a544582c215d138011300338ff43cce993383018Bastien Montagne
<![CDATA[[f4e17b2]: libquery: add optional handling of 'UI' ID pointers.]]> http://www.miikahweb.com/en/blender/git-logs/commit/f4e17b25bd982cec5f693c48143e3dc36aeee649 f4e17b2
Branches : id-ensure-unique-memory-address, libquery-handle-ui-pointers, readfile-rework-refcount-handling, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks
Author : Bastien Montagne (mont29)
----------------------------------------
libquery: add optional handling of 'UI' ID pointers.

Handling those through different ways /might/ be needed sometimes, but
in most case this is just a nest of issues, since you can easily forget
to take them into account.

Note that this should be a 'non-functional' change, as this new behavior
is not used anywhere yet.

----------------------------------------
5 Paths Changed]]>
Fri, 07 Feb 2020 15:13:16 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/f4e17b25bd982cec5f693c48143e3dc36aeee649Bastien Montagne
<![CDATA[[ae46232]: Better handling of usages of usercount increment in readfile...]]> http://www.miikahweb.com/en/blender/git-logs/commit/ae462320b8206de387e81564f560576ee45000bd ae46232
Branches : id-ensure-unique-memory-address, readfile-rework-refcount-handling, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks
Author : Bastien Montagne (mont29)
----------------------------------------
Better handling of usages of usercount increment in readfile liblink.

Some places could/should still need proper ID refcounting in liblink:
* UI data (spaces) - although this should be strictly 'user one' only...
* Deprectaed data/pointers which are not handled by libquery code.

Not sure whether IPO pointers really need usercount actually...

----------------------------------------
1 Path Changed]]>
Wed, 05 Feb 2020 16:52:34 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/ae462320b8206de387e81564f560576ee45000bdBastien Montagne