We have come a long way towards 1.4.3, so now is the time to think about a release. I will be in vacation again next week, so the date should be some time at the beginning of September.
Things that I expect to be done for 1.4.3: - the boost patch from Georg - the inset dissolve patch. Juergen, can you do a patch that uses the new code for INSET_DISSOLVE that I put in trunk? Otherwise, I'll do it. - I think we should apply the patch stripcharset-2.diff below. Comments? Something that I am not sure yet of is the outline features from Martin. Martin, you promised us a patch... The situation is that we have enough done to warrant a 1.4.3 without outline, so we can choose to be careful and do small steps. Here are the remaining bugs assigned to 1.4.3: 2186 fixedintrunk, patch .bst files cannot live in paths with spaces This is still creating asserts in OSX that probably come from somewhere else, but we do not know where 2251 patch Cursor fails to enter inside of esp. displayed math insets. We have many math navigation complaints, we should probably apply at least this. 2330 patch wrong color for math symbols like \varint Don't know. 2382 regression Pasting itemised data into table copies itemize Don't know. 2390 TwoAuthors does not work in APA style I have to admit I did not look seriously at this (and other apa bugs) 2493 not possible to add/delete columns/rows in table dialog Don't know. 2660 patch german userguide broken What remains to be done is copy the icons and update Makefile.am. Please, someone... 2600 Change tracking and tables hangs or asserts 2662 in normal use I clicked on a float and lyx crashed 2677 crash while merging with preview-latex These should be checked after the boost::bind patch lands. 2687 fixedintrunk, regression LaTeX log file cannot be viewed if the path of the temp d... Georg, I thought this one was already in... 2690 Cannot render eps to DVI, cannot Georg, shall we do something? 2698 add buttons for \intop and \ointop to math panel Georg, did you have time to look at the icons? Otherwise, we shall postpone. 2708 LyX executable "lyx.exe" has no LyX icon What shall be done to fix this? 2715 patch, regression Multicolumn select lost on opening table properties Did someone tests juergen's patch? 2744 regression Changing the citation key does not update references to it I propose to postpone this. 2758 regression reference insets couldn't be deleted I guess this one will have to wait too. 2767 regression configure.py's printouts are hidden Bo? JMarc
-*- text -*- This file describes what has been done in the preparation of LyX 1.4.3 All comments are welcome. I'd be glad if some of you could take the time to check it out (or fix a bug or two if you are feeling adventurous). Let me recall that all these fixes have been checked into the BRANCH_1_4_X branch, which you can get with the command svn co svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X lyx-1.4.x JMarc [In this list, I try to group things by topic and in decreasing order of importance. This is, of course, subjective...] What's new ========== ** Updates: - All shell scripts are translated to python so sh.exe is no longer needed on windows. - Some small updates to the documentation. - Update Czech (new), Italian (bug 2774) and German (bug 2718) localizations. - Updated Czech (Tutorial, new splash) and German (UserGuide, Extended) documentation. ** Bug fixes: * Document Input/Output - Fix crash when importing LaTeX files with no text (bug 2667) - Fix crash when a used bibtex file is in a non-readable directory (bug 2782). - Ignore definition of lyxgreyout environment when re-importing a LyX generated LaTeX file (part of bug 2420) - When exporting to LaTeX an external inset with template XFig, require the color package, since xfig generates LaTeX code with \color (bug 2716). - Make sure enough passes are made to update the table of contents when running latex (bug 2616). - Don't add extra braces when reading documents containing \choose, \atop or \over (bug 2481). - Reenable import of noweb files (bug 2289) - Render greyed out notes correctly in output (bug 2723) - Fix bug 2768 (inset comment/note eats space after it) - Do not convert known spaces to ERT on LaTeX import (bug 2786) * User Interface: - Fix crash when using next-inset-toggle (Ctrl+I) inside mathed; make inset locking in mathed generally work (bug 2756). - Fix crash on save (including dataloss) when the backup directory was invalid or not writeable(bug 2740). - Fix crash when selecting several cells in a tabular (bug 2630). - Fix crash when searching for an inset and none is present. - Fix lockup when accepting a change in a text inset (bug 2510). - Fix crash when undoing super/subscript deletion (bug 2727). - Fix crash when cursor is in an empty script and the user clicks in the text. - Handle properly script insets which nucleus has more than one element (like {a'}^{2}). - On button 2 press in math inset, paste inner LyX selection if it exists (bug 2779). - Fix disabling of some toolbar icons after closing a dialog (bug 2423). - Fix editing of document while Error List dialog is open (bug 2179). - improve position of cursor after undo. - Update labels on screen when changing language. - Fix doubling of initial character when correcting a word with ligatures in spellechecker (bug 2068) - Show an error box when failing to update the TeX Information dalog data. - Fix unexpected font change on maximize (bug 2664). - Handle the Meta keyboard modifier as Alt (Qt only). - Fix the C-x C-b binding in emacs mode (bug 2747). - Fix a crash when a non-template file is selected in the "New from Template" dialog (bug 2404) * Build/installation: - Fix 'check' make target for systems which do not have /bin/bash (bug 2524). - Set CPPFLAGS only if not already set by the user (and ignore CXXFLAGS for setting CPPFLAGS). - Handle properly gcc 4.1 in configure. - Install python files together with precompiled versions. - A scons build system is added, details please see INSTALL.scons. - Lyx can be compiled with MSVC using qt3 from Q../Free project and scons. * Miscellaneous - Display latex package checking results faster during configuration. - Log the output of configure.py to a log file configure.log. - Do automatic reconfiguration even when running in batch mode (bug 2741). - Change the encoding of some python scripts from iso-8859-15 to iso-8859-1. The former causes problems with embedded python. - remove outdated development tools & outdated LyXConfig.lyx - remove references to reLyX which has been replaced by tex2lyx
Index: src/messages.C =================================================================== --- src/messages.C (revision 14836) +++ src/messages.C (working copy) @@ -89,18 +89,22 @@ public: Pimpl(string const & l) : lang_(l) { - if ( lang_.empty() ) { + if (lang_.empty()) { char const * lc_msgs = 0; #ifdef HAVE_LC_MESSAGES lc_msgs = setlocale(LC_MESSAGES, NULL); #endif lang_ = lc_msgs ? lc_msgs : ""; } - // strip off any encoding suffix, i.e., assume 8-bit po files - string::size_type i = lang_.find("."); - lang_ = lang_.substr(0, i); + // strip off any UTF encoding suffix, i.e., assume + // 8-bit po files + string::size_type const i = lang_.find('.'); + if (i != string::npos + && (lang_.find("UTF", i) != string::npos + || lang_.find("utf", i) != string::npos)) + lang_ = lang_.substr(0, i); lyxerr[Debug::DEBUG] << BOOST_CURRENT_FUNCTION - << ": language(" << lang_ << ")" << std::endl; + << ": language=" << lang_ << std::endl; } ~Pimpl() {}