Ticket #2 (closed defect: fixed)

Opened 6 years ago

Last modified 5 years ago

Some attributes save out of .mm file (不将某些易变属性保存在 .mm 文件中)

Reported by: jiangxin Owned by: jiangxin
Priority: major Milestone: 0.8
Component: FreeMind OSSXP Enhancement Version:
Keywords: Cc:

Description

All my .mm files are version controled using CVS/SVN.
What FreeMind has scratched my personal itch:

  • Some attributes of FreeMind's .mm file are not suitable for version control.

For example, 'FOLDED' attribute saved in .mm file, makes documents changed frequently and unnecessarily.


FreeMind 的 .mm 文件不适合用版本控制软件维护,因为一些属性如:

  • 节点的打开和关闭都要保存在该文件中,导致即使没有实质内容的修改也导致文件的变更;
  • 每个节点的创建时间、修改时间等也要保存在 .mm 文件中,而这应该是版本控制系统本身的功能。 例如: cvs annotate / svn blame 就可以用来追溯某一行的变更历史。

Change History

comment:1 Changed 6 years ago by jiangxin

  • status changed from new to accepted

可以将 .mm 文件的部分属性如:CREATED, FOLDED, MODIFIED 属性保存在另外的 XML 格式文件中,其余和内容相关的属性保存在 .mm 文件中。

FreeMind 加载 .mm 文件时,如果发现存在 .mmx 文件,将两者 JOIN 在一起,就保持了 FreeMind 原来的能够记录节点状态的功能。

这个功能可以用 XSLT 来实现,应该不难。

comment:2 Changed 6 years ago by jiangxin

  • milestone set to Next Release

comment:3 Changed 6 years ago by Jiang Xin <worldhello.net AT gmail DOT com>

  • status changed from accepted to closed
  • resolution set to fixed

(In [3]) Fix #2: Some attributes save out of .mm file (不将某些易变属性保存在 .mm 文件中)

comment:4 Changed 6 years ago by Jiang Xin <worldhello.net AT gmail DOT com>

(In [5]) Fix #2: save FOLDED attrib into .mmx file

comment:5 Changed 6 years ago by Jiang Xin <worldhello.net AT gmail DOT com>

(In [6]) Fix #2:

  • 将属性 CREATED, MODIFIED 也保存在单独的 .mmx 文件中;
  • 设置 .mm 文件头和 .mmx 文件头不同的说明文字;

comment:6 Changed 6 years ago by Jiang Xin <worldhello.net AT gmail DOT com>

(In [14]) Code refector. see #2, #3.

comment:7 Changed 5 years ago by Jiang Xin <worldhello.net AT gmail DOT com>

(In [19]) MQ patches adjust according to upstream upgrade. see #6, #2.

comment:8 Changed 5 years ago by Jiang Xin <worldhello.net AT gmail DOT com>

(In [19]) MQ patches refector for upstream upgrade to 0.9.0_Beta9. see #6, #2.

Note: See TracTickets for help on using tickets.