X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=ChangeLog;h=5c4a4a15db8dff1931bf6ccacd27ad1d2e487ab2;hb=5ecd210835895bcbd0571975125213bc02d4ee76;hp=6b01b16c5378e6b8843b4cea0ffdaaf1fedc18a5;hpb=1e341fda014f8cfc47651f8d5a02fd43c924ca9b;p=lyx.git diff --git a/ChangeLog b/ChangeLog index 6b01b16c53..5c4a4a15db 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,1008 @@ +2000-11-29 John Levon + + * src/lyx_rc.C: more detail for the printer program config + dialog. + + * src/LColor.C: ert->latex text. LColor needs a big revamp + but will have to wait till after 1.1.6 + + * src/buffer.C: bring up a dialog if we load a document + with an un-installed text class, rather than just complain + on the console. + +2000-11-29 Angus Leeming + + * src/combox.[Ch] )(add, Show): workaround xforms bug when Show()ing + the browser form for a combox in a tabbed folder. Bug fix courtesy of + Steve Lamont . + + * src/frontends/xforms/FormDocument.C (build): + * src/frontends/xforms/FormPreferences.C (Language::build): + pass tabfolders to Combox::add() in order to use this work around. + + * src/frontends/xforms/FormCitation.C (connect): remove max size + limitation. + (update): sort list of bibliography keys. + + * src/frontends/xforms/FormRef.[Ch] (connect, showBrowser, hideBrowser, + setSize): removed. + No max size limitation. Same popup for new and existing insets. Fixes + bugs reported by Rob Lahaye. + + * src/frontends/xforms/FormCitation.C (c-tor): + * src/frontends/xforms/FormCopyright.C (c-tor): + * src/frontends/xforms/FormError.C (c-tor): + * src/frontends/xforms/FormGraphics.C (c-tor): + * src/frontends/xforms/FormIndex.C (c-tor): + * src/frontends/xforms/FormRef.C (c-tor): + * src/frontends/xforms/FormToc.C (c-tor): + * src/frontends/xforms/FormUrl.C (c-tor): + use correct policy for ButtonController. + + * src/frontends/xforms/FormPreferences.[Ch]: cleaned up a little more. + + * src/frontends/xforms/Menubar_pimpl.C (create_submenu): modified lyxerr + call a little. + + * src/frontends/xforms/forms/form_citation.fd: some resizing changes. + + * src/frontends/xforms/forms/form_ref.fd: new Restore, Apply buutons. + Some resizing changes. + +2000-11-28 Lars Gullik Bjønnes + + * configure.in: fix typo + + * lib/languages: add ukraninian and change no to no_NO + + * src/lyxfont.[Ch] (setGUISize): comment out setGUISize + + * src/bufferview_funcs.C (FontSize): use setLyXSize + +2000-11-24 Kayvan A. Sylvan + + * acconfig.h, configure.in, config/lyxinclude.m4: Added autoconf tests + to check for systems where mkstemp() is available but not declared + in headers. The new autoconf macro lyx_CHECK_DECL can be used + to check for declarations in headers. + +2000-11-23 Angus Leeming + + * forms/bibforms.fd: tiny fix to get it to run with fdesign. + + * forms/makefile: added bibforms.fd, include_form.fd. + Removed lyx_sendfax.fd. + + * src/LaTeXLog.C (ShowLatexLog): + * src/LyXAction.C (init): + * src/bufferparams.C (readLanguage): altered messages as suggested by + John Levon. + + * src/LyXView.C (c-tor): connected RedrawAllBufferRelatedDialogs() to + Dialogs::redrawGUI. + + * src/credits.C: made fd_form_credits non-static, so that it can be + redrawn should the xforms colors be re-mapped. + * src/spellchecker.C ditto fd_form_spell_options. + + * src/filedlg.[Ch] (redraw): + * src/intl.[Ch] (redraw): + * src/lyxfr0.[Ch] (redraw): + * src/insets/figinset.[Ch] (redraw): + * src/insets/insetexternal.[Ch] (redraw): + new methods, connected to Dialogs::redrawGUI. + + * src/lyx_gui_misc.[Ch] (RedrawAllBufferRelatedDialogs): new function + to be connected to Dialogs::redrawGUI. + + * src/frontends/xforms/FormCitation.C (build): + * src/frontends/xforms/FormCopyright.C (build): + * src/frontends/xforms/FormError.C (build): + * src/frontends/xforms/FormGraphics.C (build): + * src/frontends/xforms/FormIndex.C (build): + * src/frontends/xforms/FormTabularCreate.[Ch] (update): + * src/frontends/xforms/FormToc.C (build): + * src/frontends/xforms/FormUrl.C (build): + use the ButtonController correctly. + + * src/frontends/xforms/FormCopyright.C (build): + * src/frontends/xforms/forms/form_copyright.fd: moved the text out of + the .fd file and into build(). + + * src/frontends/xforms/FormPreferences.C: tiny clean-up. + + * src/frontends/xforms/FormToc.[Ch]: Don't use apply(). Use input(). + + * src/frontends/xforms/forms/form_citation.fd: + * src/frontends/xforms/forms/form_copyright.fd: + * src/frontends/xforms/forms/form_error.fd: + * src/frontends/xforms/forms/form_graphics.fd: + * src/frontends/xforms/forms/form_index.fd: + * src/frontends/xforms/forms/form_toc.fd: + * src/frontends/xforms/forms/form_url.fd: + renamed some of the objects. Named others explicitly for the first time. + Added Restore and Apply buttons where appropriate. + + * src/insets/Makefile.am: removed form_graphics.[Ch] as they are not + used. + +2000-11-22 Lars Gullik Bjønnes + + * src/version.h: try the pre2 again + +2000-11-22 Angus Leeming + + * src/frontends/kde/Dialogs.C: added signal Dialogs::redrawGUI. + + * src/frontends/kde/FormParagraph.C: added using directive. + + * src/frontends/kde/paradlg.C: added config.h and using directive. + + * src/frontends/kde/paradlg.h: added std::qualifier. + + * src/frontends/kde/Makefile.am: added Color.lo to libkde_la_OBJADD. + +2000-11-22 Lars Gullik Bjønnes + + * configure.in (AC_OUTPUT): don't output src/xtl/Makefile + + * src/lyx_sendfax.[Ch] src/lyx_sendfax_main.C: delete files + +2000-11-22 Lars Gullik Bjønnes + + * src/version.h: set back to 1.1.6cvs + +2000-11-22 Lars Gullik Bjønnes + + * src/version.h: set to 1.1.6pre2 + +2000-11-20 Marko Vendelin + + * src/frontends/gnome/Dialogs.C: added signal Dialogs::redrawGUI + + * src/frontends/gnome/Makefile.am: updated list of XForms object files + +2000-11-21 Angus Leeming + + * src/LColor.C (init): + * src/lyxrc.C (getDescription): changed some comments as suggested by + John Levon. + + * src/frontends/xforms/FormBase.[Ch]: modified to connect and + disconnect the redrawGUI signal in best-practice fashion. + + * src/frontends/xforms/FormPreferences.[Ch]: renamed usage_tab_ as + long_opts_tab to reflect the change in name of this tabfolder, as + suggested by John Levon. + (connect, disconnect): new methods. Don't do much at present other than + ensuring that we can't resize the dialog. This just makes xforms go + crazy. + (lots of methods in Colors): made void rather than bool. The idea is + to have an isOk() function that keeps track of whether any input is + genuinely invalid and should therefore block Save, Apply. + Easier to manipulate the counters rapidly. + (Colors::InputBrowserLyX, Colors::Modify): rewritten so that Amir's + compiler will like this code. Much cleaner way of doing things. + + * src/frontends/xforms/forms/fdfix.sh: a little speed up fix. + + * src/frontends/xforms/forms/form_preferences.fd: used normal counters + rather than simple counters, following suggestion by John Levon. + + * src/frontends/xforms/forms/form_print.fd: used labelframe rather + than engraved frame + text. + + * src/frontends/xforms/forms/makefile: removed spurious command. + +2000-11-17 Angus Leeming + + * src/LColor.C (c-tor): fixed a couple of items in the ColorEntry + array. + * src/LyXAction.C (init): LFUN_SET_COLOR now has the attrib + ReadOnly|NoBuffer. + + * src/frontends/xforms/Color.C: (HSVColor c-tor): another bug fix. + + * src/frontends/xforms/FormPreferences.C: re-formatted so that I can + see what Lars has changed and what is just white space! + Now used X directly to ascertain the RGB color associated with the + color name. + Replaced the RGB sliders with HSV equivalent. Should be more intuitive + to use. + Added some sort capability. + The X11 color name database input is only displayed if the database + isn't found in the standard place. + Got rid of struct compare_converter; it wasn't used. + Probably some other stuff that I've forgotten. + + * src/frontends/xforms/FormPreferences.h: changed the names of some + methods in the Colors struct. Added a couple of structs to help sort + colors by name and by RGBColor. + + * src/frontends/xforms/xform_helpers.[Ch]: moved the ReadableDir etc + functions into a new class RWInfo. + + * src/frontends/xforms/forms/form_citation.fd: Added some shortcuts. + The dialog is now almost navigable using the keyboard. Unfortunately, + the cursor has to be inside a browser for it to be activated. There is + no visual feedback for the key shortcuts to the arrow keys (use + Alt-appropriate arrow key, Alt-x). + + * src/frontends/xforms/forms/form_preferences.fd: hacked the Colors tab + around a lot. + + * src/support/filetools.[Ch]: moved out ReadableFile etc and into + xform_helpers.[Ch]. See above. + +2000-11-17 Lars Gullik Bjønnes + + * config/lyxinclude.m4 (LYX_PROG_CXX): please somebody + + * src/screen.C (setCursorColor): new method. Sets the color of the + cursor. + (ShowManualCursor): call it. + Constify some local variables. + + * src/LColor.[Ch] (LColor): add entry for cursor + * lib/configure(.m4) (word_to_latex_command): add quotes, removes + a warning. + +2000-11-19 Juergen Vigna + + * src/insets/insettabular.C (draw): fixed text border redraw problem. + (calculate_dimensions_of_cells): try to boost up when inserting chars. + +2000-11-15 Rob Lahaye + + * lib/ui/default.ui: OptItem used for Fax entry + +2000-11-17 Matej Cepl + + * lib/kbd/czech.kmap: add apostroph mark to the Czech keyboard. + +2000-11-15 John Levon + + * src/vspace.C (nextToken): fix so it can handle length phrases like + "10mm+-20mm", "40inplus16mmminus10cm" etc. + +2000-11-17 Lars Gullik Bjønnes + + * src/frontends/xforms/FormPreferences.C: constify several variables + (BrowserLyX): rewrite to not need the choice variable + (Modify): rewrite to not need the choide variable + (compare_converter): make operator const + + * src/lyxrc.C (output): be a bit nicer og os usage, and try to + correct the writing of \set_color + (getDescription): return a const string + + * src/kbsequence.[Ch] (addkey): remove dead code + + * src/Painter.C (text): remove some commented code + +2000-11-15 Angus Leeming + + * src/ColorHandler.[Ch]: removed some header files from .h file. + Included LColor.h in .C file. + + * src/LColor.[Ch]: made class copyable so that I could create a + system_lcolor instance. + + * src/Painter.h: removed LColor.h. + + * src/lyx_gui.C (create_forms): used AddName. + + * src/lyx_main.C (init): copied lcolor to system_lcolr prior to reading + of user preferences/lyxrc file. + + * src/lyxrc.C (output): output changes to lcolor. + + * src/frontends/xforms/Color.[Ch]: Changed X11Color to a new struct, + NamedColor. + Moved class xformColor to files xform_helpers.[Ch]. These files, + Color.[Ch], could now be moved into src if they would be useful to + other GUIs. + + * src/frontends/xforms/xform_helpers.[Ch]: moved class XformColor here. + Also moved FormPreferences::browseFile here as it can be used by any + xform dialog with a "Browse" button. FormGraphics is a perfect example. + + * src/support/filetools.[Ch] (WriteableDir, ReadableDir, WriteableFile, + ReadableFile): changed the FormPreferences methods a little and moved + them here as they'll be useful elsewhere also. + + * src/frontends/xforms/FormPreferences.h: a bit more cleaning up. + Removed some header files and used forward declarations instead. + Better commenting. + Removed some methods as they'll be useful elsewhere (see above). + + * src/frontends/xforms/FormPreferences.C: a bit more cleaning up. + Can also now modify the LyX LColors. However, for reasons that I don't + yet understand, it appears that we can use + LyXFunc::Dispatch(LFUN_SET_COLOR, arg) only when we have a buffer + present. The problem appears to lie in ColorHandler, because I can + change the color using LColor.SetColor(). Similarly, when reading in a + preferences file with some set_color instances, I'll get a warning + like: Color sea green is undefined or may not be redefined + Bad lyxrc set_color for sea green + + Once the buffer is loaded, however, I can happily change to this color. + + Finally, it appears that I have to set the color of "inset frame" + explicitly, or it oscillates from "black" to "indian red" with each + successive "Apply". + +2000-11-15 Angus Leeming + + * ANNOUNCE: corrected a spelling mistake. + + * src/tabular.C (OldFormatRead): variable "h" was set but never used. + Removed. + +2000-11-15 Lars Gullik Bjønnes + + * src/kbsequence.C (addkey): use a vector as per Andre Poenitz patch. + + * lib/Makefile.am (dist-hook): also delete doc/.cvsignore from + distdir. + + * src/support/lyxfunctional.h: make back_insert_fun_iterator(s) + match the requirements from the standard better. This is required + to work with gnu libstdc++-v3 + + * src/frontends/xforms/FormPreferences.C: add explict pair + arguments to browse calls. include support/lyxmanip.h remvoe + extern fmt. whitespace changes. reorder variables in + FormPreferences.h, to match initalizaton order. + + * several files: constify more local variables. + + * src/buffer.C: remove some commented functions. + + * src/DepTable.C (remove_files_with_extension): temporary + work around for gcc 2.97 + * src/filedlg.C (find): ditto + * src/Variables.C (set): ditto + * src/LyXAction.C (searchActionArg): ditto + (retrieveActionArg): ditto + + * configure.in: check for mktemp too + + * UPGRADING: prepare for 1.1.6 + + * Makefile.am (lgbtags): add backup tags for when etags are + different than usual. + + * ANNOUNCE: prepare for 1.1.6 + + * src/support/tempname.C (make_tempfile): new function, wrapper + around mkstemp and mktemp. Only mkstemp has been tested. + (tempName): call it. + +2000-11-14 Rob Lahaye + + * default.ui: capitalized some menu items to improve shortcuts. + +2000-11-14 Jean-Marc Lasgouttes + + * src/frontends/xforms/FormPreferences.C (ok): use AddName(). + + * src/frontends/xforms/Dialogs.C: add "using" directive. + +2000-11-13 Angus Leeming + + * src/filedlg.C (Select): highlight suggested file in browser, if + it is present. + + * src/frontends/xforms/FormPreferences.[Ch]: re-written so that + each tab folder is encapsulated in its own class. + The Language keymaps are now chosen using a text input and a + browser button, rather than a Combox. + All the browser buttons are now functional, although LyXFileDlg + still needs to be modified to make it straighhtforward to return a + directory if that is what is desired. + + * src/frontends/xforms/forms/form_preferences.fd: use text input + and browse button to input the Language keymaps. Add a few + callbacks for the browse buttons. + +2000-11-14 Lars Gullik Bjønnes + + * src/support/tempname.C (tempName): small changes to make it + safer. remove the '.' before XXXXXX + + * src/support/filetools.C (TmpFileName): remove func + (GetCWD): ditto + + * src/frontends/xforms/FormRef.C (FormRef): explicit call the bp + * src/frontends/xforms/FormUrl.C (FormUrl): ditto + * src/frontends/xforms/FormTabularCreate.C (FormTabularCreate): ditto + * src/frontends/xforms/FormTabular.C (FormTabular): ditto + + * src/frontends/xforms/FormInset.h (FormInset): remove default for bp + (FormCommand): ditto + + * src/frontends/xforms/FormGraphics.C (FormGraphics): explicit + call the bp + + * src/frontends/xforms/FormError.C (FormError): use IgnorantPolicy + for bp (this fixes a reproducible hard crash) + + * src/frontends/xforms/FormCopyright.C (FormCopyright): explicit + call the bp + + * src/frontends/xforms/FormBase.h: make bp_ private + (FormBaseBI): remove default for bp + (FormBaseBD): ditto + + * src/frontends/xforms/Dialogs.C (Dialogs): use the old method it + is safe enough. + + * src/frontends/xforms/Color.C (RGBColor): made several vars + const, changed initialization of j to allow it to be const + (HSVColor): similar + + * several files: added const to local variables. + + * src/lyx_cb.C: removed several function prototypes and moved them + to lyx_cb.h + (MenuWrite): + (MenuWriteAs): + (UpdateLayoutPreamble): + (MenuLayoutSave): + (MenuInsertLabel): add BufferView as arguemnt + (LayoutsCB): make tmp const + + * src/layout_forms.h: regenerated + + * src/debug.C: add Debug::FILES + (showLevel) (showTags): translate the desc + + * src/debug.h: add FILES as debug target + + * src/bufferlist.C: use current_view as an interim measure becuase + of added arguments to MenuWrite and MenuWriteAs + + * forms/layout_forms.h.patch: make the patch more correct and more appalyable + + * config/lyxinclude.m4 (LYX_STD_COUNT): change test to not involve + string. + (LYX_PROG_CXX): change 2.97 rules to include the -f.. that + libstdc++ is compiled with. + +2000-11-13 José Abílio Matos + + * lib/layouts/docbook-book.layout + * lib/layouts/docbook.layout + * lib/layouts/linuxdoc.layout: No need for "dummy" paragraphs, now + those paragraphs are expresse as SGML comments . + + * src/LaTeXFeatures.h + * src/LaTeXFeatures.C (getIncludedFiles): takes a filename as + parameter, this allows to express all the include files as relative + paths to the master buffer. The verbatim insert works as the other + include file modes. + + * src/buffer.C (sgmlOpenTag) (sgmlCloseTag): don't write if latexname + is a SGML comment. + (MakeLinuxdocFile) (MakeDocBookFile): included files are relative + to master path. + (MakeDocBookFile): top_element is always written. Some clean up, as + sgmlOpenTag() and sgmlCloseTag() take care of the SGML comment case. + + * src/insets/insetinclude.C (Linuxdoc): Added verbatim file fix. + (DocBook) added close tag to inlinegraphics trick for verbatim. Now + a reference is written instead of the name. + (Validate): use the relative path for the filename. + + * src/insets/insetlabel.C (DocBook): write end tag, for XML + compatibility. + + * src/support/filetools.h + * src/support/filetools.C (IsSGMLFilename): added. + (BasePath): added. + +2000-11-13 Miyata Shigeru + + * development/OS2/quick_fix.patch: + * lib/configure.cmd: + * README.OS2: quick update to the OS/2 port. + +2000-11-13 Jean-Marc Lasgouttes + + * src/converter.C: add "using" directive. + + * src/frontends/xforms/FormPreferences.C: add "using" directive. + (compare_converter): add "int" as return type. + + * src/frontends/xforms/Color.C: comment out FL_LIGHTER_COL1 here + too. + +2000-11-11 Angus Leeming + + * src/lyx_gui.C (create_forms): map the xform colours, should a + mapping exist. Ie, call XformColor::read(). + + * src/frontends/xforms/Color.[Ch] renamed struct RGB as RGBColor + and struct HSV as HSVColor. + (XformColor::read, XformColor::write) : new methods that + input/output any changes to the cform GUI colors. + + * src/frontends/xforms/Dialogs.C: FORMS_H_LOCATION no longer + included. + + * src/frontends/xforms/FormPreferences.C Lots of little changes + associated with the changed name of the RGB and HSV structs. Can + now save changes to xforms GUI to file. Commented out + FL_LIGHTER_COL1 to allow compilation with xforms 0.88. It isn't + used currently anyway. + +2000-11-11 Dekel Tsur + + * src/converter.C: A lot of changes: + - It is no longer possible to choose between two or more ways to + export to some format (the new code uses only the shortest path). + However, it is still possible to choose between pdflatex/ps2pdf + for creating a PDF file, by defining two PDF formats: pdf & pdf2. + - Added several methods that makes the FormPreferences code simpler. + - Changed the tokens $$FName and $$OutName to $$i and $$o. + + * src/exporter.C (Export): lyxrc.use_pdf is set before + makeLaTeXFile is called. This works but not very nice. + + * src/frontends/xforms/FormPreferences.C: The formats/converters + tabs are now fully functional. + + * src/buffer.C (getTocList): Add numbers to the captions. + + * lib/lyxrc.example: Removed fax section + + * src/support/rename.C (rename): Delete the old file if lyx::copy + is called. + +2000-11-13 Rob Lahaye + + * lib/ui/default.ui: minor polishing. + +2000-11-10 Jean-Marc Lasgouttes + + * src/frontends/xforms/Color.C: include and + headers. + + * lib/Makefile.am (DOCINST): do not install everything in the + documentation directory. + +2000-11-10 John Levon + + * src/bufferlist.C (newFile): set the filename to the constructed + newfileXX.lyx + + * src/lyx_cb.C (MenuWriteAs): if a buffer is "unnamed", pass the + constructed "newfileXX.lyx" name to the dialog + + * src/frontends/DialogBase.h: make update() non-abstract so + KDE doesn't need to implement two update methods for every form + + * src/frontends/kde/Makefile.am: add missing xforms objects + to compile again + + * src/frontends/kde/Dialogs.C: Add FormTabularCreate dialog + +2000-11-09 Angus Leeming + + * src/frontends/xforms/Color.[Ch]: new files, defining the color + structs RGB and HSV. May not be the best place for these files. + Perhaps move them into src ? + + * src/frontends/xforms/Makefile.am: added new files. + + * src/frontends/xforms/forms/form_preferences.fd: + * src/frontends/xforms/FormPreferences.[Ch]: bowed to reality and + replaced all instances of "colour" with "color"! + + * src/frontends/xforms/forms/form_preferences.fd: modified Colors tab + slightly yet again. + + * src/frontends/xforms/FormPreferences.[Ch]: functioning Colors + tab. Can now alter the colors of the xform's GUI on the fly. With + the aid of a single static Signal (see below), can "Apply" these + changes to all currently open dialogs. (Well, to all of the NEW + dialogs and to LyXView. The OLD dialogs are not yet redrawn.) ALL + subsequently opened dialogs will, of course, also have the new + color scheme. Cannot yet save (or load) the choices to file, so + they are lost when exiting LyX. + + * src/frontends/Dialogs.h: + * src/frontends/xforms/Dialogs.C (redrawGUI): new static Signal. + Used to trigger a redraw of any dialogs connected to it because, + for example, the GUI colours have been re-mapped. + + * src/frontends/xforms/FormBase.[Ch]: + * src/frontends/xforms/FormDocument.[Ch]: + * src/frontends/xforms/FormParagraph.[Ch]: + * src/frontends/xforms/FormPreferences.[Ch]: + * src/frontends/xforms/FormTabular.[Ch]: (redraw): new virtual + method, to be connected to Dialogs::redrawGUI. Method must be + virtual, because dialogs with tabbed folders need to redraw the + forms of each tab folder. + + * src/LyXView.C (d-tor): + * src/frontends/xforms/FormBase.C (d-tor): connected + Dialogs::redrawGUI signal to redraw(). + + * src/frontends/xforms/FormBase.C (~FormBaseBI, ~FormBaseBD): + removed Assert, because it is identical to that in FormBase. + +2000-11-10 Rob Lahaye + + * lib/ui/default.ui: minor polishing. + +2000-11-10 Juergen Vigna + + * src/insets/insettext.C (resizeLyXText): check !cache[bv] + (deleteLyXText): ditto + + * src/insets/insettabular.C (InsetButtonPress): don't clear the + selection on mouse-button-3. + + * src/insets/insettabular.h: new function clearSelection(), use this + functions inside insettabular.C. + + * src/insets/insettabular.C (TabularFeatures): clear the selection + on remove_row/column. + + * src/insets/inset.C (scroll): fixed some scroll stuff. + + * src/insets/insettabular.C (draw): fixed another minor draw problem. + +2000-11-10 Jean-Marc Lasgouttes + + * lib/CREDITS: add Yves Bastide + +2000-11-03 Yves Bastide + + * config/lyxinclude.m4 (LYX_CXX_GLOBAL_CSTD): new function to + check whether C library functions are in the global namespace. + + * configure.in: calls it. + + * src/support/lstrings.C: #ifndef CXX_GLOBAL_CSTD instead of + #ifndef __GLIBCPP__. + +2000-11-08 Dekel Tsur + + * src/frontends/xforms/FormPreferences.C (updateLanguage): Check + iterators to prevent crash. + +2000-11-08 Angus Leeming + + * src/converter.h (getprettyname, getFromToPrettyname): new methods. + + * src/frontends/xforms/xform_macros.h (C_PREPOSTHANDLER): new macro + shortcut for xforms CB to the preemptive or post-handler function. + + * src/frontends/xforms/forms/form_preferences.fd (form_preferences): + removed the HIDDEN_TIMER as it's no longer used. + Various other small changes. + + * src/frontends/xforms/FormPreferences.[Ch]: removed timer. Use a + preemptive handler to obtain feedback, rather than the post-handler. + (ColoursLoadBrowser): find "black" and "white" based on RGB values + rather than name. + Formats tab is now complete. Converters tab is nearly so. + +2000-11-09 Juergen Vigna + + * src/insets/insettext.C (~InsetText): + (clear): + (Read): + (SetParagraphData): set cache.second to 0 after deleting it! + (getLyXText): check if cache.second is not 0 if finding it. + +2000-11-08 Jean-Marc Lasgouttes + + * src/frontends/xforms/FormPreferences.C (ColoursLoadBrowser): use + lyxlex to parse the rgb.txt file. + + * src/lyxlex.[Ch]: + * src/lyxlex_pimpl.[Ch]: implement setCommentChar method, to + replace the default '#' comment character. + + * src/support/tempname.C: add "using" directive + * src/frontends/ButtonPolicies.C: ditto. + + * src/support/filetools.C (DirList): add an explicit cast to avoid + a compile error (probably not the right fix) + +2000-11-08 Lars Gullik Bjønnes + + * src/support/filetools.C (DirList): implement using system functions + + * src/support/tempname.C: new file + + * src/support/Makefile.am (libsupport_la_SOURCES): add tempname.C + + * src/insets/insetexternal.C (InsetExternal): use lyx::tempName + + * src/graphics/GraphicsCacheItem_pimpl.C (renderXPM): use + lyx::tempName + + * src/frontends/xforms/ButtonController.C: new file + + * src/os2_defines.h: remove getcwd define + + * src/lyxvc.C: include support/lyxlib.h + (showLog): use lyx::tempName + + * src/lyx_cb.C: comment out includes that we don't need + (AutoSave): use lyx::tempName + + * src/filedlg.C: include support/lyxlib.h + (Reread): use lyx::getcwd + + * src/converter.C: include support/filetools.h + (add_options): change to static inline, make tail const + (Add): make old_viewer const + (GetAllFormats): make it a const method, use const_iterator + (enable): make static inline + (SplitFormat): make using_format const + + * src/LaTeX.C (run): use lyx::getcwd + + * configure.in: check for mkstemp as well + +2000-11-07 Angus Leeming + + * src/converter.[Ch] (GetAllCommands): new method. + + * src/support/filetools.[Ch] (DirList): new method. + + * src/frontends/xforms/FormPreferences.C: started (just!) adding + functionality to the converters tab. + The formats tab is now nearly complete. + The kbmap choices in Languages tab now display the contents of + system_lyxdir/kbd/*.kmap in readable form. + + * src/frontends/xforms/FormPreferences.h: made struct RGB private. + Moved some variables into the class. + + * src/frontends/xforms/forms/form_preferences.fd: Revert colour of + inactive tab folder to FL_COL1. Haven't yet worked out how to change + colour of active folder to lighter grey instead. Any takers? + (form_colours): added an "Apply" button. + (form_converters): added a "Flags" input field. + (form_formats): added a "Shortcut" input field. Note that we can't use + names such as "input_shortcut" as this buggers up the sed script stuff. + +2000-11-07 Angus Leeming + + * src/LaTeXLog.C: + * src/LyXSendto.C: + * src/credits.C: + * src/filedlg.C: + * src/intl.C: + * src/lyx_cb.C: + * src/lyx_sendfax_main.C: + * src/lyxfr0.C: + * src/lyxvc.C: + * src/spellchecker.C: + * src/insets/figinset.C: + * src/insets/insetbib.C: + * src/insets/insetexternal.C: + * src/insets/insetinclude.C: + * src/insets/insetinfo.C: + * src/mathed/math_panel.C: + use FL_PLACE_MOUSE | FL_FREE_SIZE, FL_TRANSIENT in fl_show_form(), so + all "daughter" dialogs now have identical "feel". + +2000-11-07 Angus Leeming + + * src/lyx_gui_misc.[Ch] (IgnoreCloseBoxCB): removed as it's no longer + used (and was only used in one place prior to this patch. Incorrectly!) + + * src/frontends/xforms/FormDocument.C: changed some instances of + FL_RETURN_ALWAYS to FL_RETURN_CHANGED as I think that this makes more + sense. Also added fl_set_input_return() for class_->input_doc_extra and + for options_->input_float_placement. This fixes a bug reported by + Rob Lahaye. + + * src/frontends/xforms/FormGraphics.[Ch] (free): removed. Placed + functionality into d-tor. + + * src/frontends/xforms/input_validators.c (fl_lowercase_filter): allow + input of numerals also. + + * src/insets/insetinclude.C (Edit): use CancelCloseBoxCB in + fl_set_form_atclose(). Can now close dialog from window manager, + fixing a bug reported by Rob Lahaye. + +2000-11-06 Angus Leeming + + * src/frontends/xforms/forms/form_preferences.fd: Inactive tab folders + are no longer dark. Haven't yet worked out how to lighten the colour of + the active tabfolder. Any ideas anybody? + Adjusted Colours tab a little. + Added Shortcut field to converters tab. Note that we can't create an + fdesign label like "input_shortcut" as this buggers up the sed-script + stuff. + + * src/frontends/xforms/FormPreferences.[Ch]: + (feedback): fixed crash due to to ob=0. + (LanguagesXXX): the kbmap choices now contain the files + sytem_lyxdir/kbd/*.kmap. I think that these choices should eventually + be replaced by an input with a file browse button, but since the browse + buttons don'y yet work, this'll do for the moment. + (FormatsXXX): think that this is now nearly fully functional. + Some points/questions though: + 1. Does "Apply" remove formats if no longer present? + 2. I think that the browser should list the GUI names rather than the + format names. + 3. Must ensure that we can't delete Formats used by an existing + Converter. + + * src/support/filetools.[Ch] (DirList): new function. Not at all sure + if this is the best way to do this. + +2000-11-07 Jean-Marc Lasgouttes + + * lib/reLyX/acinclude.m4 (RELYX_CHECK_ERRORS): remove useless message. + + * lib/configure.m4 (latex_to_html_command): avoid spaces around = + for variable assignment. + +2000-11-07 Rob Lahaye + + * src/lib/ui/default.ui: added sub/superscripts to menu as + Insert->Special characters and cleaned-up the file a bit + +2000-11-07 Allan Rae + + * src/frontends/xforms/FormPreferences.C (feedback): make sure + ob isn't 0 before using it. See comments in function. + + * src/frontends/xforms/forms/fdfixc.sed: tiny spacing fix. + + * src/frontends/xforms/form_*.C: regenerated + +2000-11-07 Lars Gullik Bjønnes + + * src/LaTeX.C (deplog): change reg1 to handle (/.../.../fil.sty) + + * config/lyxinclude.m4 (LYX_PROG_CXX): remove -fno-rtti when + compiling with gcc-2.96 + +2000-11-06 Jean-Marc Lasgouttes + + * src/support/lyxstring.C: add a couple "using" directives. + + * src/frontends/xforms/FormPreferences.C (ColoursLoadBrowser): add + a .c_str() here too for good measure. + * src/Spacing.C (set): ditto. + * src/lyxfunc.C (Dispatch): ditto. + + * src/insets/insettabular.C (copySelection): change .str() to + .str().c_str() to fix problems with lyxstring. + * src/support/filetools.C (GetFileContents): ditto. + * src/buffer.C (asciiParagraph): ditto. + * src/paragraph.C (String): ditto. + + * lib/bind/fi_menus.bind: change symbol-insert to math-insert. + * lib/bind/sciword.bind: ditto. + + * src/LyXAction.C (init): remove "symbol-insert" function, which + shared LFUN_INSERT_MATH with "math-insert". + + * lib/configure.m4: == is not a valid operator for command test. + + * src/lyxrc.C: add using directive. + + * src/converter.h: add std:: qualifier. + +2000-11-03 Dekel Tsur + + * src/converter.[Ch] and other files: Change the Format class to a + real class, and create two instances: formats and system_format. + + * src/lyxrc.C (output): Output the difference between formats and + system_formats. + + * src/frontends/xforms/FormPreferences.C (input): Simplify. + (buildFormats): Insert formats into browser. + (inputFormats): Made the browser and add button functional. + (applyFormats): Update formats from format_vec. + + * src/converter.C: Changed all (*it). to it-> + (Format::dummy): New method. + (Format::importer): New format flag. + (Formats::GetAllFormats): New method. + (Formats::Add): Delete format from the map if prettyname is empty. + (Converter::Convert): Print an error message if moving the file fails. + (Converter::GetReachableTo): New method + + * src/MenuBackend.[Ch]: Add support for importformats tag. + + * src/support/rename.C (rename): Call to lyx::copy if ::rename fails. + + * lib/configure.m4: Add word->tex and ps->fax converters. + + * lib/ui/default.ui: Use ImportFormats on file->import menu. + Return fax to file menu. + + * NEWS: Updated. + +2000-11-04 Lars Gullik Bjønnes + + * src/frontends/xforms/FormPreferences.h (operator=): move out of RGB + (operator!): ditto + + * src/frontends/xforms/FormPreferences.C (WriteableFile): simplify + the use of FileInfo + + * src/lyxfunc.C (processKeyEvent): removed + + * src/bufferlist.C (emergencyWrite): removed the out commented + emergency write code. + + * src/Makefile.am (lyx_main.o): add dep for commandtags.h + + * src/LyXView.[Ch]: remove the outcommented raw_callback code + + * many files: change formatting to be a bit more uniform for + if,while,for,switch statements, remove some parantesis not needed. + + +2000-11-03 John Levon + + * config/kde.m4: make config more robust when KDEDIR is set + +2000-11-03 Jean-Marc Lasgouttes + + * src/frontends/xforms/Toolbar_pimpl.C: do not crash if mathed has + not returned a pixmap for "math-insert". + + * src/LyXAction.C (init): sort the entries a bit. + +2000-11-03 Juergen Vigna + + * src/insets/insettabular.h: added fixed number to update codes so + that update is only in one direction. + + * src/insets/insettabular.C (UpdateLocal): modified a bit don't think + it matters. + + * src/insets/insettext.C (InsetButtonPress): set the_locking_inset + before call to edit because of redraw. + + * src/insets/insetcollapsable.C (draw): fixed clearing too much. + +2000-11-03 Jean-Marc Lasgouttes + + * lib/ui/default.ui: Populate "edit_float" menu + + * src/lyxfunc.C (Dispatch): implement LFUN_FLOATSOPERATE. + + * src/LyXAction.C (init): add new entry LFUN_FLOATSOPERATE, name + "floats-operate". The name is ugly (and the func also), but this + is just a band-aid until we switch to new insets. + +2000-11-03 Rob Lahaye + + * lib/ui/default.ui: update again the menu layout (fix some + shortcuts). + +2000-11-03 Jean-Marc Lasgouttes + + * src/MenuBackend.h (fulllabel): new method. + + * src/MenuBackend.C (checkShortcuts): new method. Checks whether + the menu shortcuts of a menu are unique and whether they + correspond to a letter of the label. + (expand): call checkShortcuts when debugging. + +2000-11-03 Andre Poenitz + + * src/insets/insettext.C (InsetButtonPress): shut off warning. + 2000-11-02 Lior Silberman * lib/examples/*.lyx : '\language default' => '\language english'