Bug 303815

Summary: Please divide project file.
Product: [Applications] kile Reporter: Lisandro Damián Nicanor Pérez Meyer <perezmeyer>
Component: generalAssignee: Michel Ludwig <michel.ludwig>
Status: RESOLVED FIXED    
Severity: wishlist CC: mdunphy
Priority: NOR    
Version First Reported In: 2.1.0   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Lisandro Damián Nicanor Pérez Meyer 2012-07-19 18:56:12 UTC
The project file (.kilepr) actually holds two types of info: which components (tex files) compose a project and the current status of the GUI.

The problem with this approach is that VCSs like git will mark this file changed whenever you change the cursor position (and save) and stuff like that.

It would be awesome to split this file into two components: a file which describes the project itselfs (files that are part of the project, for example) and a file that stores the current GUI settings, which can be safely ignored in a VCS.

Reproducible: Always
Comment 1 Michel Ludwig 2016-11-16 10:18:48 UTC
Git commit 26f0bc5549961f7d3097068aadc3764b8df4d91c by Michel Ludwig.
Committed on 16/11/2016 at 10:14.
Pushed by mludwig into branch 'master'.

Split project files into a structure and a GUI part

Initial patch by Eugene Shalygin.

REVIEW: 127551

M  +39   -17   src/dialogs/projectdialogs.cpp
M  +3    -0    src/dialogs/projectdialogs.h
M  +47   -19   src/kiledocmanager.cpp
M  +185  -73   src/kileproject.cpp
M  +60   -13   src/kileproject.h
M  +1    -1    src/kileversion.h

http://commits.kde.org/kile/26f0bc5549961f7d3097068aadc3764b8df4d91c