]> git.lyx.org Git - lyx.git/commit
Make "devel mode" configurable at run time
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Sun, 23 Jul 2017 22:21:43 +0000 (00:21 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 24 Jul 2017 20:00:44 +0000 (22:00 +0200)
commit9fe8190364d27a538efa3928d2166b09e1cef2d5
tree1f94412e10af957117b7835e67d15458482ce20b
parent98250d5a7ee20503979204d8e9ef3f9176b4587c
Make "devel mode" configurable at run time

Traditionally LyX behaves differently when the directive DEVEL_VERSION
is defined at compile time. This covers
* more detailed description of current position in status bar
* the help files are open in read/write mode
* more detailed debug output in the View Source panel

This patch introduces the new function devel-mode-toggle that allows
to use devel mode in stable releases, and vice versa.

The information is saved in the session file. The default is to
disable devel mode.

Remove all traces of DEVEL_VERSION in autoconf and cmake
19 files changed:
CMakeLists.txt
INSTALL.cmake
config/lyxinclude.m4
development/cmake/TODO.txt
development/cmake/config.h.cmake
src/BufferView.cpp
src/Cursor.cpp
src/Cursor.h
src/FuncCode.h
src/LyXAction.cpp
src/Text.cpp
src/Text.h
src/frontends/qt4/GuiApplication.cpp
src/frontends/qt4/GuiCommandBuffer.cpp
src/frontends/qt4/GuiCommandBuffer.h
src/frontends/qt4/GuiView.cpp
src/frontends/qt4/GuiView.h
src/frontends/qt4/GuiViewSource.cpp
src/mathed/InsetMathHull.cpp