]> git.lyx.org Git - features.git/commit
Fix bug #6058: Change tracking not usable in version control.
authorVincent van Ravesteijn <vfr@lyx.org>
Thu, 23 Jul 2009 20:08:05 +0000 (20:08 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Thu, 23 Jul 2009 20:08:05 +0000 (20:08 +0000)
commit966687d98b0a434b31d8ba2a508a6783c4245c8a
treefedeb1f930b040996d59eaf259455d026778441a
parente5dfb57a9fccddc684e8bc24e7c7553aea3be9bd
Fix bug #6058: Change tracking not usable in version control.

This patch makes sure that there are minimal changes when loading and saving a file with change tracking.

- the authors are assigned a buffer_id, such that when the file is saved, they get the same id,
- the authorlist is sorted according to the buffer_id,
- the buffer_id is written to the file in the author list (file format change)
- the ids start with 1, because 0 is internally reserved for the current Author,
- when writing the file, the current author is assigned an id if he didn't already have it.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30756 a592a061-630c-0410-9148-cb99ea01b6c8
development/FORMAT
lib/lyx2lyx/lyx_2_0.py
src/Author.cpp
src/Author.h
src/Buffer.cpp
src/BufferParams.cpp
src/BufferParams.h
src/Changes.cpp
src/Changes.h
src/Paragraph.cpp
src/Text.cpp