Second itteration of global undo system. Now based on:
authorTon Roosendaal <ton@blender.org>
Sun, 5 Sep 2004 13:43:51 +0000 (13:43 +0000)
committerTon Roosendaal <ton@blender.org>
Sun, 5 Sep 2004 13:43:51 +0000 (13:43 +0000)
commitbf83f6ddd87a76d30339057118f23c5651f9eff4
treed28c5dbec49a60b2060dda9f17f48d08b404f806
parent61e4707bdb6e9f64db0520c47f398d68e9322937
Second itteration of global undo system. Now based on:

- file-to-memory save
- incremental difference steps (compression)

everthing has been tightly coded to use minimum of memcpy or allocs. In
fact this system works with a single full buffer (=file) in memory, and undosteps as differences from it.
Speed gain is factor 4-8 faster. I've added it in CTRL+ALT+T timer menu for
a test. Please note the gain is especially in the undo-storing, not in
retrieving undo.

Also new: file read option to skip UI read (file menu). This now also is
default for the undo system.
18 files changed:
source/blender/blenkernel/BKE_blender.h
source/blender/blenkernel/BKE_global.h
source/blender/blenkernel/intern/blender.c
source/blender/blenkernel/intern/object.c
source/blender/blenloader/BLO_readfile.h
source/blender/blenloader/BLO_undofile.h [new file with mode: 0644]
source/blender/blenloader/BLO_writefile.h
source/blender/blenloader/intern/readblenentry.c
source/blender/blenloader/intern/readfile.c
source/blender/blenloader/intern/readfile.h
source/blender/blenloader/intern/writefile.c
source/blender/makesdna/DNA_fileglobal_types.h
source/blender/src/editscreen.c
source/blender/src/header_info.c
source/blender/src/interface.c
source/blender/src/oops.c
source/blender/src/toets.c
source/blender/src/usiblender.c