From 89ed9ab0c2be8b3d4802cb642a7ad2f52022da8d Mon Sep 17 00:00:00 2001 From: Richard Kimberly Heck Date: Thu, 19 Sep 2024 11:00:46 -0400 Subject: [PATCH] Prepare for 2.4.2 --- ANNOUNCE | 163 ++++++++++++++++++++++++++++----------------------- NEWS | 35 +++++++++++ configure.ac | 4 +- status.24x | 43 +++++++------- 4 files changed, 151 insertions(+), 94 deletions(-) diff --git a/ANNOUNCE b/ANNOUNCE index 74415269ff..967e04a1c3 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -4,7 +4,10 @@ Public release of LyX version 2.4.2 We are proud to announce the release LyX 2.4.2, the second maintenance release in the 2.4.x series. - +This is almost entirely a bug-fixing release, with no significant new +features. However, some crashes have been fixed, and we have made some +significant improvements to display speed, which will be especially +noticeable on older or slower systems. There has been a change (as of 2.4.0) in how the option to use vertical space between paragraphs is handled. Previously, LyX simply modified @@ -35,11 +38,11 @@ then set Paragraph Separation to Vertical Space. You can download LyX 2.4.2 from https://www.lyx.org/Download. If you have trouble using LyX or have a question, consult the -documentation that comes with LyX (under Help) and the LyX wiki, which you -will find at https://wiki.lyx.org/. You can also send email to the LyX users' -list (lyx-users at lists.lyx.org). Bugs can be reported on our bug tracker -(https://www.lyx.org/trac/) or by writing the developers' list (lyx-devel at -lists.lyx.org). +documentation that comes with LyX (under Help) and the LyX wiki, which +you will find at https://wiki.lyx.org/. You can also send email to +the LyX users' list (lyx-users at lists.lyx.org). Bugs can be reported +on our bug tracker (https://www.lyx.org/trac/) or by writing the +developers' list (lyx-devel at lists.lyx.org). The LyX team. https://www.lyx.org @@ -54,41 +57,59 @@ What's new ** Updates: *********** +* DOCUMENT INPUT/OUTPUT + +- There was undocumented change how hyperlink insets are exported to + xHTML format compared to LyX 2.3.x (type "File" is no more exported + as http(s) link). We added details to the RELEASE-NOTES file. + +- Load graphics after geometry, so page size is set properly (bug + 10970). + +- Recognize .plt as a GnuPlot extension (bug 11148). + +- Restore obvious "G" shortcut for Greyed Out notes. + + +* MISCELLANEOUS + +- Update format of lyxrc.dist templates + +- Update templates to use native vertical space method. + + * USER INTERFACE -- Add plain single quote to menu (bug 13025). +- Show font info in status line again. -- In context menus, more items are now shown on top level. +- Make scrolling smoother when using selection. -- Show full inset context-menu when clicking on text part of collapsible - (bug 10370). +- Show the temporary directory in About LyX dialog. -- Allow relative statistics values in statusbar, improve update times for - some UI and buffer operations. +- Improve document output pane (bug 12902). -- The performance of LyX with large insets on slower computers has - been improved a lot (bug 12297). +- Speedup interactive use by avoiding expensive math macros bookkeeping + when possible. -- Fix crash with variable column width tables. +- Make -geometry command-line option work on all platforms. -- Add bindings for 'paste, join lines'. +- Fix macOS bug, where XQuartz application would be launched for no + reason (bug #13086). -- middle-button pasting (in Linux) now preserves middle-button pasting - (as does Edit > Paste since 2.4.0). +- Fix problem with collapsing of outliner (bug 13098). * DOCUMENTATION AND LOCALIZATION -- Clarify quote-insert LFUN. - -- Updates to Chinese (simplified), Czech, French, German, Hebrew, - Brazilian Portuguese, Slovokian, and Ukranian translations. +- Update Brazilian Portuguese, Simplified Chinese, Czech, French, + German, Italian, Polish and Slovak localizations of the user + interface. * BUILD/INSTALLATION -- Fix cmake build with qt6 (macos), which did not include - "plugins". +- Avoid bogus warnings when configuring for Qt6. + ** Bug fixes: @@ -96,86 +117,84 @@ What's new * DOCUMENT INPUT/OUTPUT --Do not check for diverging input encoding if the files use XeTeX/LuaTeX +- When exporting to MathML, the argument of the \boxed{} macro is now + correctly treated as math. -- The g-brief and g-brief2 letter classes load babel internally. LyX now - is aware of that. +- Properly escape special characters (!, @, |) in nomenclature output. -- Fix some cases where beamer breaks with the new cprotect mechanism. +- Handle linguistic structure trees in ePub and PDF (DocBook) output (bug 12372). -- Fix case where new cprotect mechanism breaks with caption. - -- Update acknowledgments handling in aastex63 layout - (cf. https://journals.aas.org/aastexguide/#acknowledgments) - -- Make textstyle-update LFUN work properly inside equations. - -- Make buffer-reset-export LFUN work properly. - -- Remove redundant code from preamble of double column Hebrew - documents (bug 12919) +- Improve the way spaces are handled in labels when refstyle is used. * USER INTERFACE -- Fix crash when deleting rows or columns from table. +- Fix regression which marks document modified in case of external + modification. Only file deletion will trigger the modification + flag now (see bug 12819). -- Avoid crash when InsetBibitem::updateCommand shows a dialog. +- Fix crash when using Save As... with previews enabled (bug 13091). -- Set cursor font after pasting to PassThru (e.g., ERT) inset (bug 12592). +- Fix crash when attempting to search in selection that contains + only math. -- Do not ask about unapplied changes if dialog has been closed. +- Fix crash when copying some math formulas or exporting them to + DocBook (bug 13069). -- Fix wrong position of conversion windows of the input method (bugs 11723, - 13054). +- Fix potential crashes when scrolling documents. -- Speed up mouse movement when there is no selection (part of bug - 13050). +- Fix bug where the dialog asking for saving unapplied changes + on buffer change popped up twice, or sometimes not at all (bug + 12954). -- Fix incorrect scrolling when using outline to jump to a paragraph - (bug 10425). +- Improve performance when selecting text on less powerful systems + (bug 13050). -- Fix preview inset with XeTeX, and with RTL languages in general. +- Fix performance problems with references with (very) many authors. -- Respect change tracking in dash conversion mechanism (bug 13062). +- Fix problem that key bindings that include optional modifier keys + could not be un- or re-bound (bug 12973) -- The outliner option "Only output items" now works properly (bug 12981). +- Enable OK/Apply button in tabular dialog when "Additional Space" combo + has been set to different value. -- Show values of cross-references in tooltips (bug 8856). +- Fix ghost image on Windows with system colors (bug 13084). -- Toolbars are now locked by default for new profiles (bug 11796). +- Restore old display of cross-references in the outliner. The change + led to odd behavior on filtering. -- Allow "longest label" to be empty (bug 11934). +- Display values of cross-references in tooltips for forward references. -- Put new citation after selected item rather than at end of list - (bug 12940). +- Disable vertical alignment in tables with variable width columns + (tabularx and xltable), as this is not supported by the packages. + Also fix the disabling mechanism in the table dialog. -- Fix overflow of appendix red frame in document-bottom grey area. +- Fix display of integral limits on Windows (bug 13087). + +- Fix crash when deleting tabs in a selection (with S-BackTab) in a + text-only inset (ERT, Listings...). + +- Fix display glitches when applying some operations to a selection. * INTERNALS -- Fix case where insets do not have proper information about current buffer - (bug 12682). +- Fix possible crash in undo code after inserting note inset over a + multi-paragraph selection. -- Handle deprecated Qt enum value. +- Fix a Python script, used to preview math expressions, that used a + module that is removed in Python 3.13. -- Fix initialization of an internal value. +- Fix case where debug information may report all numbers as hexadecimal. -- Fix "Unassigned buffer_" error with math references (bug 12947). - -- Re-allow the use of quoted argument to PackageOptions layout tag. - -- Fix crash when passing unknown value to textstyle-update +- Make sure that lyxclient name is initialized properly. -* ADVANCED FIND AND REPLACE +* TEX2LYX -- Handle neg-spaces like normal space if searching without format. - -- No paragraph indentation in search and replace windows (bug 11555). +- Fix import of nomenclature entries which contain '%' or '"' characters. * BUILD/INSTALLATION -- Cmake build: Handle deprecated cmake versions. +- Fix 'make install' target for autotools builds with autoconf >= 2.72. diff --git a/NEWS b/NEWS index 23739d4e28..37e772d129 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,38 @@ +What's new in version 2.4.2? +---------------------------- + +This is almost entirely a bug-fixing release, with no significant new +features. However, some crashes have been fixed, and we have made some +significant improvements to display speed, which will be especially +noticeable on older or slower systems. + +There has been a change (as of 2.4.0) in how the option to use vertical +space between paragraphs is handled. Previously, LyX simply modified +\parskip and \parindent, but this caused various problems (see bug +#4796). Now, we use the parskip package. As a result, however, and +to ensure there are no changes to old documents, when LyX files from +2.3.x and earlier are converted to the new format, if they were set to +use vertical space between paragraphs, the lyx2lyx conversion routine +adds + % Added by lyx2lyx + \setlength{\parskip}{\smallskipamount} + \setlength{\parindent}{0pt} +to the preamble and, within LyX itself, resets the text layout to use +indentation (so we do not issue the new code for vertical spacing). The +net effect is that PDFs generated with LaTeX (etc) look right, but in +LyX itself indentation is used. + +This will happen with any document created with 2.3.x or older. It can +also happen with documents created from templates created with 2.3.x +or older, and even with new documents, if you had previously set them to +use, by default, vertical space. Templates are just LyX files saved in +the templates/ folder, and the 'defaults' are simply saved in a +template file, defaults.lyx. Hence, if you want the new behavior, or +just want the LyX document to look `right', then you will need to make +two changes to the document or template: Remove what lyx2lyx added, and +then set Paragraph Separation to Vertical Space. + + What's new in version 2.4.1? ---------------------------- diff --git a/configure.ac b/configure.ac index fc6a3f6319..9791f5f8c9 100644 --- a/configure.ac +++ b/configure.ac @@ -1,9 +1,9 @@ dnl Process with autoconf to generate configure script -*- sh -*- -AC_INIT([LyX],[2.4.2~devel],[lyx-devel@lists.lyx.org],[lyx]) +AC_INIT([LyX],[2.4.2],[lyx-devel@lists.lyx.org],[lyx]) AC_PRESERVE_HELP_ORDER # Use ISO format only. The frontend needs to parse this -AC_SUBST(LYX_DATE, ["2024-07-02"]) +AC_SUBST(LYX_DATE, ["2024-09-19"]) AC_PREREQ([2.65]) AC_CONFIG_SRCDIR(src/main.cpp) AC_CONFIG_HEADERS([config.h]) diff --git a/status.24x b/status.24x index 9e59eb626b..5fd64ebe0c 100644 --- a/status.24x +++ b/status.24x @@ -48,12 +48,6 @@ What's new - Improve document output pane (bug 12902). -- Fix regression which marks document modified in case of external - modification. Only file deletion will trigger the modification - flag now (see bug 12819). - -- fix crash when using Save As... with previews enabled (bug 13091). - - Speedup interactive use by avoiding expensive math macros bookkeeping when possible. @@ -95,36 +89,45 @@ What's new * USER INTERFACE -- Fix crash when attempting to search in selection that contains only math. +- Fix regression which marks document modified in case of external + modification. Only file deletion will trigger the modification + flag now (see bug 12819). -- fix crash when copying some math formulas or exporting them to +- Fix crash when using Save As... with previews enabled (bug 13091). + +- Fix crash when attempting to search in selection that contains + only math. + +- Fix crash when copying some math formulas or exporting them to DocBook (bug 13069). - Fix potential crashes when scrolling documents. -- Fix bug where the dialog asking for saving unapplied changes on buffer change - popped up twice, or sometimes not at all (bug 12954). +- Fix bug where the dialog asking for saving unapplied changes + on buffer change popped up twice, or sometimes not at all (bug + 12954). -- Improve performance when selecting text on less powerful systems (bug 13050). +- Improve performance when selecting text on less powerful systems + (bug 13050). - Fix performance problems with references with (very) many authors. -- Fix problem that key bindings that include optional modifier keys could not - be un- or re-bound (bug 12973) +- Fix problem that key bindings that include optional modifier keys + could not be un- or re-bound (bug 12973) -- Enable OK/Apply button in tabular dialog when "Additional Space" combo has - been set to different value. +- Enable OK/Apply button in tabular dialog when "Additional Space" combo + has been set to different value. - Fix ghost image on Windows with system colors (bug 13084). -- Restore old display of cross-references in the outliner. The change led to - odd behavior on filtering. +- Restore old display of cross-references in the outliner. The change + led to odd behavior on filtering. - Display values of cross-references in tooltips for forward references. -- Disable vertical alignment in tables with variable width columns (tabularx - and xltable), as this is not supported by the packages. Also fix the - disabling mechanism in the table dialog. +- Disable vertical alignment in tables with variable width columns + (tabularx and xltable), as this is not supported by the packages. + Also fix the disabling mechanism in the table dialog. - Fix display of integral limits on Windows (bug 13087).