[LyX/master] Fix missing names in contrib
commit 3174e175d10e44d2e36349dfd4942bf81944d1ea Author: Pavel Sanda Date: Fri Jan 12 23:53:52 2024 +0100 Fix missing names in contrib --- lib/generate_contributions.py |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/generate_contributions.py b/lib/generate_contributions.py index f6ef316..36316db 100755 --- a/lib/generate_contributions.py +++ b/lib/generate_contributions.py @@ -2132,7 +2132,7 @@ contributors = [ "22 February 2005", u"support for optional argument in sections/captions svjour/svjog, egs and llncs document classes. Lot of bug hunting (and fixing!)"), - contributor(u"Veselin", + contributor(u"Veselin Jeliazkov", "vveesskkoo () gmail ! com", "GPL", "Re: po/bg.po update", -- lyx-cvs mailing list lyx-cvs@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-cvs
[LyX/master] * NEWS
commit 03c185a69bfe5abae519876d8463beca70e2c5e9 Author: Pavel Sanda Date: Fri Jan 12 23:53:30 2024 +0100 * NEWS --- NEWS | 124 ++ 1 files changed, 124 insertions(+), 0 deletions(-) diff --git a/NEWS b/NEWS index 49be4c4..88224eb 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,115 @@ +What's new in version 2.4.0? + + +The new features in LyX 2.4 are detailed in +https://wiki.lyx.org/LyX/NewInLyX24 + +* DocBook 5 / ePub / XHTML 5 support +* Default Unicode for new documents +* Table improvements (styles and other) +* Redesign of Find/Replace dialog +* Flexible text fields +* Counters +* Global float settings +* Insets external editing +* Dark theme + + + +What's new in version 2.3.7? + + +LyX 2.3.7 is the result of on-going efforts to make our stable version +more reliable and more stable. Since it has been quite a long time (for +unsurprising reasons) since the last update, this one contains more fixes +than usual. We have fixed a number of crashes. + +What's new in version 2.3.6? + + +LyX 2.3.6 is the sixth maintenance release in the 2.3.x series. It is the +result of on-going efforts to make our stable version more reliable and +more stable. Most of the changes are fairly minor, fixes of smallish bugs, +but a couple crashes have been fixed, as well. + +One oft-requested feature (going back 13 years) is the ability to create +new child documents from within the 'include file' dialog. This is now +possible. Another equally old bug that has been fixed is that pasting +table content outside a table no longer pastes tab characters. + + +What's new in version 2.3.5? + + +LyX 2.3.5 is the fifth maintenance release in the 2.3.x series. + +LyX 2.3.5 is the result of on-going efforts to make our stable version more +reliable and more stable. Most of the changes are incremental, but quite a +few important bugs have now been fixed. + +One important change is that Inkscape 1.0 is now supported: It will be detected +and configured automatically. Users of previous versions have recently reported +configuration failures when Inkscape 1.0 is installed, leading to an incomplete +(and all but unusable) installation of LyX. This should also be fixed. + + +What's new in version 2.3.4? + + +LyX 2.3.4 is the fourth maintenance release in the 2.3.x series. + +LyX 2.3.4 is the result of on-going efforts to make our stable version more +reliable and more stable. One important change is that we have finally fixed +a large number of bugs related to bibitems (see bug #7548). We have also (we +hope) fixed a long-standing bug involving the saving of files on Windows to +Dropbox folders and another involving missing included files. + + +What's new in version 2.3.3? + + +LyX 2.3.3 is the third maintenance release in the 2.3.x series. + +LyX 2.3.3 is the result of on-going efforts to make our stable version more +reliable and more stable. One important change is that emergency files are +now renamed when users wish to save them. As a result, older emergency files +are not over-written. One major update allows for the editing of the contents +of the user-provided premable, and the contents of ERT insets, in external +editors, a request that goes back to 2003 and bug #991. + + +What's new in version 2.3.2? + + +LyX 2.3.2 is the second maintenance release in the 2.3.x series. + +LyX 2.3.2 is the result of on-going efforts to make our stable version more +reliable and more stable. One main fix involves a crash with external viewers +on Windows. We have also fixed a number of problems with the output of right- +to-left languages, thanks to the involvement of users. There was also an +infinite loop bug connected with the separation of environments that has been +fixed. But, for the most part, the fixes here are incremental. + + +What's new in version 2.3.1? + + +LyX 2.3.1 is the first maintenance release in the 2.3.x series. + +We have fixed a number of bugs and added some new features. Perhaps the most +important of these is that Jean-Marc Lasgouttes re-wrote the document painting +mechanism. This makes LyX snappier, especially on repeated events. + +All python scripts distributed with LyX should now be compatible with both +python 2.x and python 3.x. + +One oft-requested enhancement was to restore a keyboard shortcut for opening +the 'settings' menu of graphics, reference, etc, insets. This is now Control- +Alt-i, on Windows and Linux, and Control-Option-i on OSX (assuming you are +using the default keybindings). + + + What's new in version 2.3.0? @@ -24,6 +136,18 @@ http://wiki.lyx.org/LyX/NewInLyX23 * Code preview & highlighting + +What's new in version 2.2.3? +
[LyX/master] * ANNOUNCE
commit 132270960b7aea91aaac3b49f2ec1face0cbed5f Author: Pavel Sanda Date: Fri Jan 12 23:53:10 2024 +0100 * ANNOUNCE --- ANNOUNCE | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ANNOUNCE b/ANNOUNCE index 20f99e9..eb7610e 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -1,8 +1,8 @@ -Public release of LyX version 2.4.0alpha1 +Public release of LyX version 2.4.0 RC1 = -We are proud to announce the first preview release of the new LyX 2.4 -series. This preview release is meant for testing and should not be used for +We are proud to announce the first public release candidate of the new LyX 2.4 +series. This pre-release is meant for testing and should not be used for serious work. For curious users who would like to test in order to help catch bugs before the 2.4.0 release, please back up all of your documents and be prepared for the worst to happen. Most users (who desire a stable LyX version) @@ -16,7 +16,7 @@ series. An overview of the new features can be found here: Especially we would like to receive feedback for the newly introduced Docbook export before we release it as a stable feature. -You can download LyX 2.4.0alpha1 from ftp://ftp.lyx.org/pub/lyx/devel/ or +You can download LyX 2.4.0 RC1 from http://ftp.lyx.org/pub/lyx/devel/ or from a mirror listed at https://www.lyx.org/Download#toc11. We appreciate your help in testing this pre-release! @@ -37,7 +37,7 @@ to the current stable releases (LyX 2.3.x). We strongly recommend that packagers of LyX on various platforms and distributions read this file. As with any major release, this one comes with a lot of new features but -also some bugs. If you think you have found a bug in LyX 2.4.0alpha1, either +also some bugs. If you think you have found a bug in LyX 2.4.0 RC1, either email the LyX developers' mailing list (lyx-devel at lists.lyx.org), or open a bug report at https://www.lyx.org/trac/wiki/BugTrackerHome. Please specify if the behavior you are reporting is different from behavior -- lyx-cvs mailing list lyx-cvs@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-cvs
[LyX/master] Back to devel
commit 1b5f8f27f7528aa1bc872fab8efe7a56b126160f Author: Richard Kimberly Heck Date: Fri Jan 12 14:23:59 2024 -0500 Back to devel --- configure.ac |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index bb71081..0006a0c 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ dnl Process with autoconf to generate configure script -*- sh -*- -AC_INIT([LyX],[2.4.0~RC1],[lyx-de...@lists.lyx.org],[lyx]) +AC_INIT([LyX],[2.4.0~devel],[lyx-de...@lists.lyx.org],[lyx]) AC_PRESERVE_HELP_ORDER # Use ISO format only. The frontend needs to parse this AC_SUBST(LYX_DATE, ["2024-01-11"]) -- lyx-cvs mailing list lyx-cvs@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-cvs
[LyX/master] ctests: move fixed bug test to regression tests
commit a7f331d9e49fcf3f20e9441f4ac04e0b93f6e67a Author: Scott Kostyshak Date: Fri Jan 12 13:03:52 2024 -0500 ctests: move fixed bug test to regression tests The export has been fixed as of 37dce940. --- .../latex/lyxbugs-resolved/13022-unicode-ERT.lyx | 112 .../export/latex/lyxbugs/13022-unicode-ERT.lyx | 112 2 files changed, 112 insertions(+), 112 deletions(-) diff --git a/autotests/export/latex/lyxbugs-resolved/13022-unicode-ERT.lyx b/autotests/export/latex/lyxbugs-resolved/13022-unicode-ERT.lyx new file mode 100644 index 000..53dce3e --- /dev/null +++ b/autotests/export/latex/lyxbugs-resolved/13022-unicode-ERT.lyx @@ -0,0 +1,112 @@ +#LyX 2.3 created this file. For more info see http://www.lyx.org/ +\lyxformat 544 +\begin_document +\begin_header +\save_transient_properties true +\origin unavailable +\textclass article +\use_default_options true +\maintain_unincluded_children false +\language english +\language_package default +\inputencoding utf8 +\fontencoding global +\font_roman "default" "default" +\font_sans "default" "default" +\font_typewriter "default" "default" +\font_math "auto" "default" +\font_default_family default +\use_non_tex_fonts false +\font_sc false +\font_osf false +\font_sf_scale 100 100 +\font_tt_scale 100 100 +\use_microtype false +\use_dash_ligatures true +\graphics default +\default_output_format pdf2 +\output_sync 1 +\bibtex_command default +\index_command default +\paperfontsize default +\spacing single +\use_hyperref true +\pdf_bookmarks true +\pdf_bookmarksnumbered false +\pdf_bookmarksopen false +\pdf_bookmarksopenlevel 1 +\pdf_breaklinks false +\pdf_pdfborder false +\pdf_colorlinks false +\pdf_backref false +\pdf_pdfusetitle true +\papersize default +\use_geometry true +\use_package amsmath 1 +\use_package amssymb 1 +\use_package cancel 1 +\use_package esint 1 +\use_package mathdots 1 +\use_package mathtools 1 +\use_package mhchem 1 +\use_package stackrel 1 +\use_package stmaryrd 1 +\use_package undertilde 1 +\cite_engine basic +\cite_engine_type default +\biblio_style plain +\use_bibtopic false +\use_indices false +\paperorientation portrait +\suppress_date false +\justification true +\use_refstyle 1 +\use_minted 0 +\index Index +\shortcut idx +\color #008000 +\end_index +\secnumdepth 3 +\tocdepth 3 +\paragraph_separation indent +\paragraph_indentation default +\is_math_indent 0 +\math_numbering_side default +\quotes_style english +\dynamic_quotes 0 +\papercolumns 1 +\papersides 1 +\paperpagestyle default +\tracking_changes false +\output_changes false +\html_math_output 0 +\html_css_as_file 0 +\html_be_strict false +\end_header + +\begin_body + +\begin_layout Section +\begin_inset ERT +status open + +\begin_layout Plain Layout + + +\backslash +texorpdfstring{$ +\backslash +varepsilon$}{ε} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\end_layout + +\end_body +\end_document diff --git a/autotests/export/latex/lyxbugs/13022-unicode-ERT.lyx b/autotests/export/latex/lyxbugs/13022-unicode-ERT.lyx deleted file mode 100644 index 53dce3e..000 --- a/autotests/export/latex/lyxbugs/13022-unicode-ERT.lyx +++ /dev/null @@ -1,112 +0,0 @@ -#LyX 2.3 created this file. For more info see http://www.lyx.org/ -\lyxformat 544 -\begin_document -\begin_header -\save_transient_properties true -\origin unavailable -\textclass article -\use_default_options true -\maintain_unincluded_children false -\language english -\language_package default -\inputencoding utf8 -\fontencoding global -\font_roman "default" "default" -\font_sans "default" "default" -\font_typewriter "default" "default" -\font_math "auto" "default" -\font_default_family default -\use_non_tex_fonts false -\font_sc false -\font_osf false -\font_sf_scale 100 100 -\font_tt_scale 100 100 -\use_microtype false -\use_dash_ligatures true -\graphics default -\default_output_format pdf2 -\output_sync 1 -\bibtex_command default -\index_command default -\paperfontsize default -\spacing single -\use_hyperref true -\pdf_bookmarks true -\pdf_bookmarksnumbered false -\pdf_bookmarksopen false -\pdf_bookmarksopenlevel 1 -\pdf_breaklinks false -\pdf_pdfborder false -\pdf_colorlinks false -\pdf_backref false -\pdf_pdfusetitle true -\papersize default -\use_geometry true -\use_package amsmath 1 -\use_package amssymb 1 -\use_package cancel 1 -\use_package esint 1 -\use_package mathdots 1 -\use_package mathtools 1 -\use_package mhchem 1 -\use_package stackrel 1 -\use_package stmaryrd 1 -\use_package undertilde 1 -\cite_engine basic -\cite_engine_type default -\biblio_style plain -\use_bibtopic false -\use_indices false -\paperorientation portrait -\suppress_date false -\justification true -\use_refstyle 1 -\use_minted 0 -\index Index -\shortcut idx -\color #008000 -\end_index -\secnumdepth 3 -\tocdepth 3 -\paragraph_separation indent -\paragraph_indentation default -\is_math_indent 0 -\math_numbering_side default -\quotes_style english
[LyX/master] Don't add \text
commit 37dce940862d406435529fa2a109c333e4b6e9c1 Author: Juergen Spitzmueller Date: Fri Jan 12 16:27:24 2024 +0100 Don't add
[LyX/master] Pass two string parameters as reference
commit 8dd9cfcf5c24f7f3f15980494ef699f338ed0a00 Author: Jean-Marc Lasgouttes Date: Fri Jan 12 16:02:36 2024 +0100 Pass two string parameters as reference Spotted by coverity --- src/insets/InsetIndex.cpp |2 +- src/insets/InsetIndex.h |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/insets/InsetIndex.cpp b/src/insets/InsetIndex.cpp index 67f932e..4227252 100644 --- a/src/insets/InsetIndex.cpp +++ b/src/insets/InsetIndex.cpp @@ -292,7 +292,7 @@ void InsetIndex::latex(otexstream & ios, OutputParams const & runparams_in) cons void InsetIndex::processLatexSorting(otexstream & os, OutputParams const & runparams, - docstring const latex, docstring const spart) const + docstring const & latex, docstring const & spart) const { if (contains(latex, '\\') && !contains(latex, '@')) { // Now we need to validate that all characters in diff --git a/src/insets/InsetIndex.h b/src/insets/InsetIndex.h index b3fe271..860281b 100644 --- a/src/insets/InsetIndex.h +++ b/src/insets/InsetIndex.h @@ -81,7 +81,7 @@ private: void latex(otexstream &, OutputParams const &) const override; /// void processLatexSorting(otexstream &, OutputParams const &, -docstring const, docstring const) const; +docstring const &, docstring const &) const; /// bool showInsetDialog(BufferView *) const override; /// -- lyx-cvs mailing list lyx-cvs@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-cvs
[LyX/master] Pass a two parameters parameter by reference
commit 1599c503df11b0c73b60e5c239f3cde9dcf73801 Author: Jean-Marc Lasgouttes Date: Fri Jan 12 15:28:39 2024 +0100 Pass a two parameters parameter by reference Note that there is also a vector parameter that is passed by value. However it is modified as a local copy and I do not want to change this now. Spotted by coverity. --- src/output_latex.cpp |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/output_latex.cpp b/src/output_latex.cpp index 990ff4a..5ec6a53 100644 --- a/src/output_latex.cpp +++ b/src/output_latex.cpp @@ -494,8 +494,13 @@ void TeXEnvironment(Buffer const & buf, Text const & text, } -void getArgInsets(otexstream & os, OutputParams const & runparams, Layout::LaTeXArgMap const & latexargs, - map ilist, vector required, string const & prefix) +// FIXME: pass the \c required vector by reference and add the stuff +// from \c latexargs to a different vector. This avoids a copy and +// (more importantly?) a coverity defect. +void getArgInsets(otexstream & os, OutputParams const & runparams, + Layout::LaTeXArgMap const & latexargs, + map const & ilist, + vector required, string const & prefix) { size_t const argnr = latexargs.size(); if (argnr == 0) -- lyx-cvs mailing list lyx-cvs@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-cvs
[LyX/master] Pass strings as reference
commit 765c380a5b4c67a6fdbc611b445b7229e609dd2a Author: Jean-Marc Lasgouttes Date: Fri Jan 12 14:34:45 2024 +0100 Pass strings as reference Spotted by coverity. --- src/mathed/InsetMathMacroTemplate.cpp | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/mathed/InsetMathMacroTemplate.cpp b/src/mathed/InsetMathMacroTemplate.cpp index 555c4aa..2a72183 100644 --- a/src/mathed/InsetMathMacroTemplate.cpp +++ b/src/mathed/InsetMathMacroTemplate.cpp @@ -61,9 +61,9 @@ using support::bformat; class InsetLabelBox : public InsetMathNest { public: /// - InsetLabelBox(Buffer * buf, MathAtom const & atom, docstring label, + InsetLabelBox(Buffer * buf, MathAtom const & atom, docstring const & label, InsetMathMacroTemplate const & parent, bool frame = false); - InsetLabelBox(Buffer * buf, docstring label, InsetMathMacroTemplate const & parent, + InsetLabelBox(Buffer * buf, docstring const & label, InsetMathMacroTemplate const & parent, bool frame = false); /// void metrics(MetricsInfo & mi, Dimension & dim) const override; @@ -82,7 +82,7 @@ protected: }; -InsetLabelBox::InsetLabelBox(Buffer * buf, MathAtom const & atom, docstring label, +InsetLabelBox::InsetLabelBox(Buffer * buf, MathAtom const & atom, docstring const & label, InsetMathMacroTemplate const & parent, bool frame) : InsetMathNest(buf, 1), parent_(parent), label_(label), frame_(frame) { @@ -90,7 +90,7 @@ InsetLabelBox::InsetLabelBox(Buffer * buf, MathAtom const & atom, docstring labe } -InsetLabelBox::InsetLabelBox(Buffer * buf, docstring label, +InsetLabelBox::InsetLabelBox(Buffer * buf, docstring const & label, InsetMathMacroTemplate const & parent, bool frame) : InsetMathNest(buf, 1), parent_(parent), label_(label), frame_(frame) { @@ -185,7 +185,7 @@ void InsetLabelBox::draw(PainterInfo & pi, int x, int y) const class InsetDisplayLabelBox : public InsetLabelBox { public: /// - InsetDisplayLabelBox(Buffer * buf, MathAtom const & atom, docstring label, + InsetDisplayLabelBox(Buffer * buf, MathAtom const & atom, docstring const & label, InsetMathMacroTemplate const & parent); /// @@ -202,7 +202,7 @@ protected: InsetDisplayLabelBox::InsetDisplayLabelBox(Buffer * buf, MathAtom const & atom, -docstring label, +docstring const & label, InsetMathMacroTemplate const & parent) : InsetLabelBox(buf, atom, label, parent, true) { -- lyx-cvs mailing list lyx-cvs@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-cvs
[LyX/master] Do not pass list of columns parameter by value
commit 952851a9bcbe6801e73aacc86de0b40bab7d192b Author: Jean-Marc Lasgouttes Date: Fri Jan 12 12:16:31 2024 +0100 Do not pass list of columns parameter by value There is no need for copying this information. Noticed by coverity scan. --- src/insets/InsetTabular.cpp | 14 +++--- src/insets/InsetTabular.h | 16 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp index 27201d2..112e806 100644 --- a/src/insets/InsetTabular.cpp +++ b/src/insets/InsetTabular.cpp @@ -2599,8 +2599,8 @@ bool Tabular::isPartOfMultiRow(row_type row, col_type column) const } -void Tabular::TeXTopHLine(otexstream & os, row_type row, list columns, - list logical_columns) const +void Tabular::TeXTopHLine(otexstream & os, row_type row, list const & columns, + list const & logical_columns) const { // we only output complete row lines and the 1st row here, the rest // is done in Tabular::TeXBottomHLine(...) @@ -2716,8 +2716,8 @@ void Tabular::TeXTopHLine(otexstream & os, row_type row, list columns, } -void Tabular::TeXBottomHLine(otexstream & os, row_type row, list columns, -list logical_columns) const +void Tabular::TeXBottomHLine(otexstream & os, row_type row, list const & columns, +list const & logical_columns) const { // we output bottomlines of row r and the toplines of row r+1 // if the latter do not span the whole tabular @@ -3081,8 +3081,8 @@ void Tabular::TeXCellPostamble(otexstream & os, idx_type cell, void Tabular::TeXLongtableHeaderFooter(otexstream & os, OutputParams const & runparams, - list columns, - list logical_columns) const + list const & columns, + list const & logical_columns) const { if (!is_long_tabular) return; @@ -3164,7 +3164,7 @@ bool Tabular::isValidRow(row_type row) const void Tabular::TeXRow(otexstream & os, row_type row, OutputParams const & runparams, -list columns, list logical_columns) const +list const & columns, list const & logical_columns) const { //output the top line TeXTopHLine(os, row, columns, logical_columns); diff --git a/src/insets/InsetTabular.h b/src/insets/InsetTabular.h index 84b9ae4..4dba557 100644 --- a/src/insets/InsetTabular.h +++ b/src/insets/InsetTabular.h @@ -923,8 +923,8 @@ public: /// bool isValidRow(row_type const row) const; /// - void TeXRow(otexstream &, row_type const row, - OutputParams const &, std::list, std::list) const; + void TeXRow(otexstream &, row_type const row, OutputParams const &, + std::list const &, std::list const &) const; /// change associated Buffer void setBuffer(Buffer & buffer); @@ -982,19 +982,19 @@ private: /// // helper function for LaTeX /// - void TeXTopHLine(otexstream &, row_type row, std::list, -std::list) const; + void TeXTopHLine(otexstream &, row_type row, std::list const &, +std::list const &) const; /// - void TeXBottomHLine(otexstream &, row_type row, std::list, - std::list) const; + void TeXBottomHLine(otexstream &, row_type row, std::list const &, + std::list const &) const; /// void TeXCellPreamble(otexstream &, idx_type cell, bool & ismulticol, bool & ismultirow, bool const bidi) const; /// void TeXCellPostamble(otexstream &, idx_type cell, bool ismulticol, bool ismultirow) const; /// - void TeXLongtableHeaderFooter(otexstream &, OutputParams const &, std::list, - std::list) const; + void TeXLongtableHeaderFooter(otexstream &, OutputParams const &, std::list const &, + std::list const &) const; }; // Tabular -- lyx-cvs mailing list lyx-cvs@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-cvs