X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=ChangeLog;h=5c4a4a15db8dff1931bf6ccacd27ad1d2e487ab2;hb=5ecd210835895bcbd0571975125213bc02d4ee76;hp=a42a3bf17ae390635f0121d694947af428962324;hpb=dfed06b40de32deca5e45521fa11b1d651427bb2;p=lyx.git diff --git a/ChangeLog b/ChangeLog index a42a3bf17a..5c4a4a15db 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,1710 @@ +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' + + * lib/examples/it_splash.lyx : except where it should be italian + + * lib/templates/*.lyx : the same + + * doc/*.lyx* : the same + +2000-11-03 Jean-Marc Lasgouttes + + * lib/bind/menus.bind: remove the Layout menu entries, which I + somehow forgot earlier. + +2000-11-03 Rob Lahaye + + * lib/ui/old-default.ui: keep the old one here for reference (to + be deleted later). + + * lib/ui/default.ui: update the menu layout + +2000-11-02 Angus Leeming + + * src/frontends/xforms/FormCitation.C: made use of ButtonController. + Can now Apply to different insets without closing the dialog. + + * src/frontends/xforms/FormPreferences.C: new Colour and Format tabs. + Can't actually DO anything with them yet, but I'd like a little + feedback. + + * src/frontends/xforms/input_validators.[ch] + (fl_lowercase_filter): new. + +2000-10-27 Dekel Tsur + + * src/mathed/formulamacro.h (LyxCode) Return MATHMACRO_CODE instead + of MATH_CODE. This fixes a bug with math-macros in RTL text. + + * src/text.C (PrepareToPrint): Show math-macros block aligned. + +2000-11-02 Juergen Vigna + + * src/insets/insettext.C (LocalDispatch): return a DISPATCHED_NOUPDATE + on char insertion as it has already be updated by bv->updateInset(). + + * src/insets/insettabular.C (UpdateInsetInInset): update the inset + if an inset inside was updated. + + * lib/configure.cmd: commented out fax-search code + +2000-11-01 Yves Bastide + + * src/tabular.C (OldFormatRead): set tabular language to the + document's one. + +2000-11-02 Jean-Marc Lasgouttes + + * lib/reLyX/MakePreamble.pm (translate_preamble): fix reading of + class names with non-letter characters (from Yves Bastide). + + * lib/ui/default.ui: change Item to OptItem in import menu. + Comment out fax stuff. + + * lib/configure.m4: comment out fax-related stuff. + +2000-10-31 Angus Leeming + + * src/frontends/xforms/xform_helpers.[Ch]: new files. Repository for + useful xforms helper functions. At present contains only formatted(). + Input a string and it returns it with line breaks so that in fits + inside the label. + + * src/frontends/xforms/Makefile.am: add new files. + + * src/lyxrc.[Ch] (getDescription): new name for getFeedback. + * src/lyxrc.C (getDescription): Removed '\n's from strings. Corrected + punctuation. + + * src/frontends/xforms/FormPreferences.[Ch]: + * src/frontends/xforms/forms/form_preferences.fd: No new functionality + but lots of little clean ups. Removed enum State. Make use of + formatted(). Constify lots of methods. Perhaps best of all: removed + requirement for that horrible reinterpret_cast from pointer to long in + feedbackPost(). + +2000-11-02 Lars Gullik Bjønnes + + * src/lyxlookup.C: include FORMS_H_LOCATION to get at FL_REVISION, + conditionalize build on xforms < 0.89 + + * src/lyx_gui.C (LyXGUI): only close lyxlookup if not xforms 0.89 + + * src/lyxfunc.C (getStatus): commenout LFUN_FAX + + * src/LyXAction.C (init): comment out fax + + * src/lyxrc.h: comment out the fax enums + comment out the fax variables + + * src/commandtags.h: comment out LFUN_FAX + + * src/lyxrc.C: disable fax variables. + (read): disable parsing of fax variables + (output): disable writing of fax variables + (getFeedback): now description for fax variables + + * src/lyxfunc.C: comment out MenuFax + (Dispatch): disable LFUN_FAX + + * src/lyx_cb.C (MenuFax): comment out + + * src/WorkArea.C: add + (work_area_handler): better key handling, should be ok now. + for accented chars + etc + + * src/Makefile.am (lyx_SOURCES): remove lyx_sendfax.C + lyx_sendfax.h and lyx_sendfax_man.C + + * src/LyXView.C: don't include lyxlookup.h when using xforms 0.89 + (show): don't call InitLyXLookup when using xforms 0.89 + +2000-11-01 Lars Gullik Bjønnes + + * src/trans.C (AddDeadkey): better fix, the other one could crash... + + * src/support/filetools.C (GetFileContents): close to dummy change + +2000-10-31 Lars Gullik Bjønnes + + * src/trans.C (AddDeadkey): workaround stupid compilers. + +2000-10-31 Jean-Marc Lasgouttes + + * src/frontends/xforms/FormDocument.C (class_update): fix setting + of two-sided document. + +2000-10-31 Juergen Vigna + + * src/WorkArea.C (work_area_handler): honor xforms 0.88 defines. + + * src/insets/insettabular.C (ActivateCellInset): passed the wrong + xposition to the Edit call. + +2000-10-31 Lars Gullik Bjønnes + + * src/trans.C (AddDeadkey): cast explicitly to char. + +2000-10-30 Lars Gullik Bjønnes + + * src/tabular.C (AsciiBottomHLine): simplify? + (AsciiTopHLine): simplify? + (print_n_chars): simplify + (DocBook): remove most of the << endl; we should flush the stream + as seldom as possible. + (Latex): ditto + (TeXBottomHLine): ditto + (TeXTopHLine): ditto + (Write): formatting + (write_attribute): try a templified version. + (set_row_column_number_info): lesson scope of variables + + * src/support/lstrings.h (tostr): new specialization of tostr + + * src/trans.C (AddDeadkey): slightly cleaner fix. + +2000-10-28 Dekel Tsur + + * src/frontends/xforms/Menubar_pimpl.C (add_toc): Replace '%' by + '%%' in Toc menu labels. + (add_toc2): ditto + + * src/insets/insetlatexaccent.C (draw): Correct rendering when + font_norm is iso10646-1. + + * src/font.C (ascent): Fixed for 16bit fonts + (descent,lbearing,rbearing): ditto + +2000-10-30 Angus Leeming + + * src/lyxrc.C.[Ch]: moved LyXRCTags into public part of header file. + (getFeedback): new static method. + + * src/frontends/xforms/FormPreferences.[Ch]: one or two new inputs. + Now use combox rather than choice to display languages. + Feedback is now output using a new timer callback mechanism, identical + to that in Toolbar_pimpl. Individual messages obtained from lyxrc. + +2000-10-30 Jean-Marc Lasgouttes + + * src/minibuffer.C: fix for older compilers + +2000-10-30 Juergen Vigna + + * src/insets/insettext.C (InsertInset): fixed this as the cursor + has to be Left of the inset otherwise LyXText won't find it! + + * src/BufferView2.C (open_new_inset): delete the inset if it can + not be inserted. + +2000-10-30 Rob Lahaye + + * lyx.man: fix typo. + +2000-10-29 Marko Vendelin + * src/frontends/gnome/FormCitation.C + * src/frontends/gnome/FormCitation.h + * src/frontends/gnome/FormCopyright.C + * src/frontends/gnome/FormCopyright.h + * src/frontends/gnome/FormError.C + * src/frontends/gnome/FormError.h + * src/frontends/gnome/FormIndex.C + * src/frontends/gnome/FormIndex.h + * src/frontends/gnome/FormPrint.C + * src/frontends/gnome/FormPrint.h + * src/frontends/gnome/FormRef.C + * src/frontends/gnome/FormRef.h + * src/frontends/gnome/FormToc.C + * src/frontends/gnome/FormToc.h + * src/frontends/gnome/FormUrl.C + * src/frontends/gnome/FormUrl.h + * src/frontends/gnome/Menubar_pimpl.C + * src/frontends/gnome/mainapp.C + * src/frontends/gnome/mainapp.h + * src/frontends/gnome/pixbutton.h: replacing NULL with 0 and + changing update() to updateSlot() where appropriate + +2000-10-27 Angus Leeming + + * src/frontends/xforms/FormPreferences.[Ch]: + * src/frontends/xforms/forms/form_preferences.fd: added a Languagues + tab. + +2000-10-28 Juergen Vigna + + * src/insets/insettabular.C (draw): fixed drawing bug. + + * src/insets/insettext.C (clear): + (Read): + (SetParagraphData): clearing the TEXT buffers when deleting the + paragraphs used by it. + + * src/BufferView_pimpl.C (cursorNext): fixed PageDown problem. + + * src/trans.C (AddDeadkey): fixed bug in inizializing keymap array. + +2000-10-27 Juergen Vigna + + * src/tabular.C (~LyXTabular): removed not needed anymore. + + * src/tabular.h: changed rowofcell and columnofcell to vector + (from Andre). + +2000-10-27 Angus Leeming + + * src/frontends/Dialogs.h: remove hideTabular signal as it is no + longer used. + + * src/frontends/xforms/FormRef.[Ch]: fix bug when setting the min + size. + + * src/frontends/xforms/FormPreferences.[Ch]: + * src/frontends/xforms/forms/form_preferences.fd: lots and lots! + Reorganised as modules based on tabs. Much easier to follow the + flow and to add new tabs. Added warning and feedback messages. + Added new tabs. + +2000-10-27 Jean-Marc Lasgouttes + + * src/tabular.h (DocBook): add std:: qualifier. + +2000-10-26 José Abílio Matos + + * src/buffer.h (SimpleDocBookOnePar): becomes public and const. + * src/buffer.C (SimpleDocBookOnePar): this method goes const. + + * insettabular.h + * insettabular.C (DocBook): uses the tabular methods to export + docbook + + * src/insets/insettext.h + * src/insets/insettext.C (DocBook): Implemented export for docbooc. + +2000-10-26 Lars Gullik Bjønnes + + * src/frontends/ButtonPolicies.h (operator<<): reinsert for State + and SMInput + + * src/lyxfunc.C (MenuNew): lessen the scope of fname + moved misplaced AllowInput two lines up. + + * src/buffer.C (readFile): compare float with float, not with int + +2000-10-26 Jean-Marc Lasgouttes + + * src/minibuffer.C: add "using SigC::slot" statement. + +2000-10-25 Angus Leeming + + * src/frontends/xforms/forms/README: updated section about make. + + * src/frontends/xforms/forms/form_*.fd: lots and lots of shortcuts. + Tidied some forms up, made two of form_tabular's tabs more + self-consistent, fixed Jean-Marc's size problem in form_preferences, + fixed translation problem with "Column". + +2000-10-25 Lars Gullik Bjønnes + + * src/minibuffer.h: use Timeout instead of the xforms timer + object. + (setTimer) rewrite for the Timeout, change to unsigned arg + (set): change to unsigned timer arg + (TimerCB): remove + + * src/minibuffer.C (TimerCB): removed func + (C_MiniBuffer_TimerCB): removed func + (C_MiniBuffer_ExecutingCB): rewrite to not depend on TimerCB + (peek_event): use a switch statement + (add): don't use fl_add_timer. + (Set): rewrite to use the Timeout + (Init): ditto + + * src/Timeout.[Ch] (setType): return a Timeout & + (setTimeout): ditto, change to unsigned arg for timeout + +2000-10-25 Dekel Tsur + + * src/mathed/formula.C (mathed_string_width): Use string instead + of a constant size char array. + +2000-10-25 Lars Gullik Bjønnes + + * src/frontends/ButtonPolicies.h: remove the LOstream and remove + the two recently added operator<< for SMInput and State. + + * src/frontends/ButtonPolicies.C (PreferencesPolicy): cast + SMI_TOTAL to int. + (OkCancelPolicy): ditto + (OkCancelReadOnlyPolicy): ditto + (NoRepeatedApplyReadOnlyPolicy): ditto + (OkApplyCancelReadOnlyPolicy): ditto + (OkApplyCancelPolicy): ditto + (NoRepeatedApplyPolicy): ditto + +2000-10-25 Jean-Marc Lasgouttes + + * src/frontends/ButtonPolicies.h: include "support/LOstream.h" and + add the usual std:: qualifiers. + +2000-10-25 Juergen Vigna + + * src/screen.C (ShowManualCursor): fixed another uint -> int problem. + +2000-10-25 Lars Gullik Bjønnes + + * src/support/filetools.C (MakeRelPath): change some types to + string::size_type + + * src/frontends/ButtonPolicies.h (operator<<): new operator for + ButtonPolicy::SMInput and ButtonPolicy::State. + + * src/FontLoader.C (reset): small cleanup + (unload): small cleanup + + * src/FontInfo.C (getFontname): initialize error to 10000.0 + +2000-10-24 Angus Leeming + + * src/frontends/xforms/FormPreferences.[Ch]: + * src/frontends/xforms/forms/form_preferences.fd: added spell checker, + TeX encoding and default paper size sections. + +2000-10-24 Lars Gullik Bjønnes + + * src/frontends/xforms/FormTabularCreate.C: add missing #pragma + implementation + + * src/frontends/xforms/FormError.C (disconnect): use erase() to + make the message_ empty. + (FormError): don't initialize message_ in initializer list. + +2000-10-24 Angus Leeming + + * src/frontends/xforms/FormInset.[Ch]: Aieeeeee! Ok, I'm an idiot. + +2000-10-24 Jean-Marc Lasgouttes + + * lib/kbd/latvian.kmap: new file from Janne Pänkälä (epa@iki.fi) + +2000-10-24 John Levon + + * src/frontends/kde/*data.[Ch]: _("") is not + allowed + +2000-10-24 Angus Leeming + + * src/buffer.C: removed redundant using directive. + + * src/frontends/DialogBase.h: revert to original definition of + update(). + + * src/frontends/xforms/Dialogs.C (c-tor): splitting the tabular + stuff into two classes, one for each dialog, requires a new + element in the dialogs vector, FormTabularCreate. + + * src/frontends/xforms/FormXXX.[Ch] (update): revert to original + definition. + + * src/frontends/xforms/FormBase.[Ch] (FormBaseBD::updateSlot): new + method. Continues Allan's idea, but means that derived classes + don't need to worry about "update or hide?". + + * src/frontends/xforms/FormError.C (showInset): add connection + again ;-) + + * src/frontends/xforms/FormTabular.[Ch]: split into two classes, + one for each dialog. FormTabular now contains main tabular dialog + only. + + * src/frontends/xforms/FormTabularCreate.[Ch]: + * src/frontends/xforms/forms/form_tabular_create.fd: the create + dialog. + + * src/frontends/xforms/FormGraphics.[Ch]: + * src/frontends/xforms/forms/form_graphics.fd + * src/frontends/xforms/FormTabular.[Ch]: + * src/frontends/xforms/forms/form_tabular.fd: made daughter + classes of FormInset. + + * src/frontends/xforms/forms/fdfix.sh: small fix. Can now create + class names properly. Eg, form_my_new_dialog -> FormMyNewDialog. + + * src/frontends/xforms/Makefile.am: + * src/frontends/xforms/forms/makefile: added new files. + + * src/insets/insettabular.[Ch]: removed (Dialogs *) member + variable. added Signal0 hide signal, in keeping with other GUI-I + insets. + + * src/support/lstrings.h: removed redundant std:: qualifier as + it's already declared in Lsstream.h. + +2000-10-23 Jean-Marc Lasgouttes + + * src/insets/figinset.C (GhostscriptMsg): use DisplayString() to + open a new display. + (runqueue): ditto. + +2000-10-24 Lars Gullik Bjønnes + + * src/tabular.C (Ascii): minimize scope of cell. + + * src/BufferView2.C (nextWord): return string() instead of 0; + +2000-10-23 Jean-Marc Lasgouttes + + * src/converter.h: add a std:: qualifier + +2000-10-21 Dekel Tsur + + * src/importer.[Ch]: New files. Used for importing files into LyX. + + * src/lyxfunc.C (doImport): Use the new Importer class. + + * src/converter.h: Add shortcut member to the Format class. + Used for holding the menu shortcut. + + * src/converter.C and other files: Made a distinction between + format name and format extension. New formats can be defined using + the \format lyxrc tag. + Added two new converter flags: latex and disable. + +2000-10-20 Jean-Marc Lasgouttes + + * src/support/lyxlib.h: unify namespace/struct implementation. + Remove extra declarations. + + * src/support/chdir.C (chdir): remove version taking char const * + argument. + * src/support/rename.C: ditto. + * src/support/lyxsum.C: ditto. + +2000-10-19 Angus Leeming + + * src/frontends/xforms/FormBase.[Ch]: + * src/frontends/xforms/FormXXX.[Ch] where XXX is a FormBase daughter: + read the xforms manual to discover that fl_set_form_minsize()/maxsize() + work only for the next call to fl_show_form(). The correct place to set + them, therefore is in connect() immediately BEFORE fl_show_form(). Now + done. FormBase also stores minw_, minh_ itself. All dialogs derived + from FormBase have the minimum size set; no more stupid crashes with + tabbed folders etc. + +2000-10-20 Jean-Marc Lasgouttes + + * lib/ui/default.ui: fix shortcut for Insert->Include File. + +2000-10-19 Jean-Marc Lasgouttes + + * lib/CREDITS: add Andre' Poenitz and Kornelia Pietsch + + * src/support/lyxlib.h: changed second argument of mkdir to + unsigned long int (unsigned int would probably have been enough, + but...). Removed header. + * src/support/mkdir.C (mkdir): ditto. + + * NEWS: update. + +2000-10-19 Juergen Vigna + + * src/lyxfunc.C (MenuNew): small fix (form John) + + * src/screen.C (Update): removed unneeded code. + + * src/tabular.C (Ascii): refixed int != uint bug! + + * src/support/lyxlib.h: added sys/types.h include for now permits + compiling, but I don't like this! + +2000-10-18 Juergen Vigna + + * src/text2.C (ClearSelection): if we clear the selection we need + more refresh so set the status apropriately + + * src/insets/insettext.C (draw): hopefully finally fixed draw + problems! + +2000-10-12 Juergen Vigna + + * src/insets/insettext.C (draw): another small fix and make a block + so that variables are localized. + +2000-10-18 Angus Leeming + + * src/support/lstrings.C (lowercase, uppercase): + use explicit casts to remove compiler warnings. + + * src/support/LRegex.C (Impl): + * src/support/StrPool.C (add): + * src/support/filetools.C (MakeAbsPath, NormalizePath, MakeRelPath) + (AddPath, MakeDisplayPath): + * src/support/lstrings.C (prefixIs, subst): + use correct type to remove compiler warnings. + + * src/support/lstrings.[Ch] (countChar): returns string::size_type. + + * src/support/lyxlib.h: + * src/support/mkdir.C (mkdir): change parameter to mode_t for + portability and to remove compiler warning with DEC cxx. + + * src/support/FileInfo.[Ch] (flagRWX): ditto. + +2000-10-18 Jean-Marc Lasgouttes + + * src/minibuffer.C (peek_event): retun 1 when there has been a + mouseclick in the minibuffer. + + * NEWS: updated. + +2000-10-17 John Levon + + * src/frontends/xforms/FormParagraph.C: more space above/below + fixes + +2000-10-17 Dekel Tsur + + * src/lyxfunc.C (Dispatch): Call to showState() after insertion of + a char only if real_current_font was changed. + +2000-10-17 Jean-Marc Lasgouttes + + * NEWS: update somewhat for 1.1.6 + + * lib/ui/default.ui: clean up. + +2000-10-17 Angus Leeming + + * lib/CREDITS: clean up + +2000-10-16 Angus Leeming + + * src/combox.[Ch] (select): changed argument back to int + * src/combox.C (peek_event): removed num_bytes as it is declared but + never referenced. + + * src/frontends/xforms/FormDocument.C (class_apply, bullets_apply): + modified calls to Combox::select() to remove warnings about type + conversion. + + * src/insets/insetbutton.C (width): explicit cast to remove warning + about type conversion. + + * src/insets/insetcite.C (getScreenLabel): use string::size_type not + size_t. + + * src/insets/insettabular.[Ch]: variables inset_pos, sel_pos_start and + sel_pos_end, refering to cursor position are changed to + LyXParagraph::size_type. + + * src/insets/insettext.h (cpos): returns LyXParagraph::size_type, + consistent with LyXCursor::pos(). + (inset_pos): changed to LyXParagraph::size_type for same reason. + + * src/insets/insettext.C (resizeLyXText): changed some temporary + variables refing to cursor position to LyXParagraph::size_type. + +2000-10-16 John Levon + + * src/frontends/kde/: The Great Renaming, + add FormParagraph + +2000-10-17 Jean-Marc Lasgouttes + + * src/frontends/support/Makefile.am (EXTRA_DIST): re-fix. + +2000-10-16 Jean-Marc Lasgouttes + + * src/mathed/math_macro.C (MathMacroTemplate): initialize args to + 0 when there are no arguments. + +2000-10-16 Angus Leeming + + * src/insets/insetbib.C: re-introduce current_view as a temporary fix + to segfaults when pressing Ok in InsetBibtex dialog. + +2000-10-16 Angus Leeming + + * forms/layout_forms.fd: + * src/layout_forms.C (create_form_form_character): small change to use + labelframe rather than engraved frame + text + + * src/lyx_gui.C (create_forms): initialise choice_language with some + arbitrary value to prevent segfault when dialog is shown. + +2000-10-16 Baruch Even + + * src/converter.C (runLaTeX, scanLog): Added a warning when there + is no resulting file. This pertains only to LaTeX output. + +2000-10-14 Dekel Tsur + + * src/text.C (Backspace): Make sure that the row of the cursor is + rebreaked. + + * src/lyxfunc.C (Dispatch): Call to showState() after insertion of + a char. + + * src/lyx_gui.C (init): Prevent a crash when only one font from + menu/popup fonts is not found. + + * lib/lyxrc.example: Add an example for binding a key for language + switching. + +2000-10-15 Dekel Tsur + + * src/converter.C (GetReachable): Changed the returned type to + vector + (IsReachable): New method + + * src/MenuBackend.C (expand): Handle formats that appear more + than once + +2000-10-16 Jean-Marc Lasgouttes + + * src/frontends/support/Makefile.am + (libfrontendsupport_la_EXTRA_DIST): add LyXImage_X.[Ch] here and + not in SOURCES. + + * lib/CREDITS: add Garst Reese. + + * src/support/snprintf.h: add extern "C" {} around the definitions. + + * src/cheaders/cstdarg: new header file, taken from GNU libstdc++. + +2000-10-13 Angus Leeming + + * src/combox.[Ch]: + * src/frontends/xforms/FormDocument.C: + * src/frontends/xforms/Menubar_pimpl.C: small changes so that they + compile without "conversion to integral type of smaller size" + warnings. + +2000-10-13 Dekel Tsur + + * src/text.C (GetColumnNearX): Fixed disabled code. + +2000-10-13 Lars Gullik Bjønnes + + * configure.in (CPPFLAGS): add snprintf and vsnprintf to + AC_CHECK_FUNCS + + * src/support/snprintf.[ch]: new files + +2000-10-13 John Levon + + * src/frontends/kde/formprintdialog.C: add + file browser for selecting postscript output + + * src/frontends/kde/formprintdialogdata.C: + * src/frontends/kde/formprintdialogdata.h: re-generate + correctly + 2000-10-13 John Levon * src/frontends/gnome/Makefile.am: @@ -865,7 +2572,7 @@ * src/insets/insetbutton.C (width): Changed to work with no GUI. * src/insets/insetbib.C (bibitemWidest): ditto. * src/lyx_gui_misc.C (AskQuestion,AskConfirmation,askForText): ditto. - + 2000-10-03 Juergen Vigna * src/BufferView2.C (theLockingInset): removed const because of @@ -1266,7 +2973,7 @@ 2000-09-27 Lars Gullik Bjønnes * src/insets/insettext.C (Ascii): return numer of '\n' in the text - outputed to the ostream. + output to the ostream. * several files: fixed types based on warnings from cxx @@ -1821,7 +3528,7 @@ * src/frontends/xforms/Toolbar_pimpl.C: * src/lyx_cb.C (LayoutsCB): added Combox * to function call. -2000-09-14 Garst Reese +2000-09-14 Garst Reese * lib/tex/hollywood.cls changed length of parenthicals to 1.5in moved usepackage{xxx}'s to beginning of file. Changed left margin @@ -4352,7 +6059,7 @@ * src/lyxrc.C, src/lyxrc.h, src/BufferView_pimpl.C, lib/lyxrc.example: added option \wheel_jump -2000-07-04 R. Lahaye +2000-07-04 R. Lahaye * src/lyx_gui.C src/lyx_main.C: add support for -geometry, and remove support for -width,-height,-xpos and -ypos.