]> git.lyx.org Git - lyx.git/blobdiff - src/ChangeLog
Overhaul the branches code.
[lyx.git] / src / ChangeLog
index 7ccf3e4e4056e8579ca7c4eada88c724ba599796..9052b6a2380fc882bfa78ece9427c3d1fdfde7dd 100644 (file)
@@ -1,3 +1,38 @@
+2003-12-14  Angus Leeming  <leeming@lyx.org>
+
+       BranchList.[Ch]: minimize the API.
+       (Branch::getBranch, getColor): now return a 'const &'.
+       (Branch::setSelected) now returns a bool set to true if the
+       selection status changes.
+       (BranchList::clear, size, getColor, setColor, setSelected,
+       allBranches, allSelected, separator): removed.
+       (BranchList::find): new functions, returning the Branch with
+       the given name.
+       (BranchList::add, remove): return a bool indicating that
+       the operation was successful.
+
+       * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
+       new InsetBranch::isBranchSlected member function.
+
+       * LColor.[Ch]: mimimize the API.
+       (fill): renamed as addColor and made private.
+       (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
+       versions of these functions taking a string arg have been removed.
+
+       * bufferparams.C (readToken):
+       * lyxfunc.C (dispatch):
+       * lyxrc.C (read): changes due to the altered BranchList and
+       LColor APIs.
+
+       * factory.C (createInset, readInset): changes due to altered
+       InsetBranch c-tor.
+
+2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * factory.C: 
+       * lyxfunc.C: remove insetminipage. "minipage-insert"
+       now produces a frameless minipage box inset.
+
 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
 
        * textcursor.[Ch] (selStart,selEnd): add new methods