commit e730234e57abdfe0a60e3b77d3284308bba5aea7
Author: Juergen Spitzmueller <[email protected]>
Date: Sun Aug 5 09:51:12 2018 +0200
Add date-related info insets
With this commit, info insets leave the dark backstage room of an opaque
and quite hidden dev-only feature and come frontstage.
In the UI, they present themselves as "Fields" since this is what people
know from word processors. Other user-related fields that could be
implemented next: time, user name (I plan to do that for 2.4).
Since this supersedes date-insert, I removed Insert > Date from
the menu and propose to ditch date-insert and the corresponding rc.
The lyx2lyx reversion routine has lots of room for improvement and
attractive tasks for pythons (file timestamp, switch of localization).
Please feel invited!
This is a file format change.
development/FORMAT | 3 +
lib/languages | 121 +++++++++++++++++-
lib/lyx2lyx/lyx_2_4.py | 285 +++++++++++++++++++++++++++++++++++++++-
lib/ui/stdcontext.inc | 16 +--
lib/ui/stdmenus.inc | 10 ++-
src/Language.cpp | 22 +++
src/Language.h | 4 +
src/LyXAction.cpp | 3 +
src/Text3.cpp | 20 +--
src/frontends/qt4/GuiInfo.cpp | 74 ++++++++++-
src/frontends/qt4/GuiInfo.h | 2 +-
src/frontends/qt4/Menus.cpp | 54 ++++++++
src/frontends/qt4/ui/InfoUi.ui | 27 ++++-
src/insets/InsetInfo.cpp | 208 +++++++++++++++++++++++++----
src/insets/InsetInfo.h | 50 +++++--
src/version.h | 4 +-
16 files changed, 819 insertions(+), 84 deletions(-)