+2000-08-07 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/CutAndPaste.[Ch]: make all metods static.
+
+ * development/Code_rules/Rules: more work, added section on
+ Exceptions, and a References section.
+
+ * a lot of header files: work to make doc++ able to generate the
+ source documentation, some workarounds of doc++ problems. Doc++ is
+ now able to generate the documentation.
+
+2000-08-07 Juergen Vigna <jug@sad.it>
+
+ * src/insets/insettabular.C (recomputeTextInsets): removed function
+
+ * src/tabular.C (SetWidthOfMulticolCell):
+ (SetWidthOfCell):
+ (calculate_width_of_column_NMC): fixed return value so that it really
+ only returns true if the column-width has changed (there where
+ problems with muliticolumn-cells in this column).
+
+2000-08-04 Juergen Vigna <jug@sad.it>
+
+ * src/BufferView_pimpl.C (checkInsetHit): changed so that it looks
+ also on the scrollstatus of the inset.
+ (workAreaMotionNotify): ditto.
+
+ * src/texrow.C (getIdFromRow): fixed compile problem on egcs-1.1.2.
+
+2000-08-01 Juergen Vigna <jug@sad.it>
+
+ * src/insets/insettabular.C (resetPos): scroll tabular automatically.
+
+ * src/commandtags.h:
+ * src/LyXAction.C (init):
+ * src/insets/inset.C (LocalDispatch): added support for
+ LFUN_SCROLL_INSET.
+
+ * src/insets/inset.C (scroll): new functions.
+
+ * src/insets/insettext.C (removeNewlines): new function.
+ (SetAutoBreakRows): removes forced newlines in the text of the
+ paragraph if autoBreakRows is set to false.
+
+ * src/tabular.C (Latex): generates a parbox around the cell contents
+ if needed.
+
+ * src/frontends/xforms/FormTabular.C (local_update): removed
+ the radio_useparbox button.
+
+ * src/tabular.C (UseParbox): new function
+
+2000-08-05 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/support/translator.h: move all typedefs to public section
+
+ * src/support/filetools.C (MakeLatexName): return string const
+ (QuoteName): ditto
+ (TmpFileName): ditto
+ (FileOpenSearch): ditto
+ (FileSearch): ditto
+ (LibFileSearch): ditto
+ (i18nLibFileSearch): ditto
+ (GetEnv): ditto
+ (GetEnvPath): ditto
+ (CreateTmpDir): ditto
+ (CreateBufferTmpDir): ditto
+ (CreateLyXTmpDir): ditto
+ (GetCWD): ditto
+ (OnlyPath): ditto
+ (MakeAbsPath): ditto
+ (AddName): ditto
+ (OnlyFilename): ditto
+ (ExpandPath): ditto
+ (NormalizePath): ditto
+ (CleanupPath): ditto
+ (GetFileContents): ditto
+ (ReplaceEnvironmentPath): ditto
+ (MakeRelPath): ditto
+ (AddPath): ditto
+ (ChangeExtension): ditto
+ (MakeDisplayPath): ditto
+ (do_popen): return cmdret const
+ (findtexfile): return string const
+
+ * src/support/DebugStream.h: add some /// to please doc++
+
+ * src/frontends/DialogBase.h (endif): add some /// to please doc++
+
+ * src/texrow.C (same_rownumber): functor to use with find_if
+ (getIdFromRow): rewritten to use find_if and to not update the
+ positions. return true if row is found
+ (increasePos): new method, use to update positions
+
+ * src/lyxlex_pimpl.h: make LyXLex::Pimpl noncopyable
+
+ * src/lyxlex_pimpl.C (verifyTable): new method
+ (pushTable): use it
+ (Pimpl): use it
+ (GetString): return string const
+ (pushTable): rewrite to use std::stack
+ (popTable): ditto
+ (setFile): better check
+ (setStream): ditto
+
+ * src/lyxlex.h: make LyXLex noncopyable
+
+ * src/lyxlex.C (text): return char const * const
+ (GetString): return string const
+ (getLongString): return string const
+
+ * src/lyx_gui_misc.C (askForText): return pair<...> const
+
+ * src/lastfiles.[Ch] (operator): return string const
+
+ * src/buffer.C (parseSingleLyXformat2Token): pass string to
+ istringstream not char const *.
+ move token.end() out of loop.
+ (readFile): move initializaton of token
+
+ * src/BufferView2.C (insertErrors): run texrow.increasePos if
+ getIdFromRow is successful.
+
+ * lib/bind/emacs.bind: don't include menus bind
+
+ * development/Code_rules/Rules: the beginnings of making this
+ better and covering more of the unwritten rules that we have.
+
+ * development/Code_rules/Recommendations: a couple of wording
+ changes.
+
+2000-08-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/support/strerror.c: remove C++ comment.
+
+2000-08-04 Angus Leeming <a.leeming@ic.ac.uk>
+
+ * src/commandtags.h: LFUN_INDEX_CREATE_LAST reverts to
+ LFUN_INDEX_INSERT_LAST
+
+ * src/texrow.C (getIdFromRow): changed from const_iterator to
+ iterator, allowing code to compile with DEC cxx
+
+ * src/frontends/xforms/FormCitation.[Ch]: made vector<string>
+ stores part of the class, as suggested by Allan. Will allow
+ multiple LyXViews.
+ (apply): test to apply uses InsetCommandParams operator!=
+
+ * src/frontends/xforms/FormIndex.C: moved set_minsize into build
+ (apply): test to apply uses InsetCommandParams operator!=
+
+ * src/frontends/xforms/FormToc.[Ch]: made vector<string>
+ stores part of the class.
+ (update): removed limits on min/max size.
+
+ * src/frontends/xforms/FormUrl.C: moved set_minsize into build
+ (apply): test to apply uses InsetCommandParams operator!=
+
+ * src/insets/insetcommand.[Ch] InsetCommand made noncopyable
+ (Read, Write, scanCommand, getCommand): moved functionality
+ into InsetCommandParams.
+ (Clone): removed
+ (getScreenLabel): made pure virtual
+ new InsetCommandParams operators== and !=
+
+ * src/insets/insetbib.[Ch] (InsetBibKey, InsetBibtex): new
+ c-tors based on InsetCommandParams. Removed others.
+ * src/insets/insetinclude.[Ch]: ditto
+ * src/insets/insetlabel.[Ch]: ditto
+ * src/insets/insetparent.[Ch]: ditto
+ * src/insets/insetref.[Ch]: ditto. Also moved gotoLabel into .C
+
+ * src/buffer.C (parseSingleLyXformat2Token, readInset): all
+ insets derived from InsetCommand created using similar c-tors
+ based on InsetCommandParams
+ * src/lyx_cb.C (MenuInsertLabel, RefSelectCB): ditto
+ * src/menus.C (ShowRefsMenu): ditto
+ * src/paragraph.C (Clone): ditto
+ * src/text2.C (SetCounter): ditto
+ * src/lyxfunc.C (Dispatch) ditto
+ Also recreated old InsetIndex behaviour exactly. Can now
+ index-insert at the start of a paragraph and index-insert-last
+ without launching the pop-up.
+
+2000-08-03 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * lib/lyxrc.example: mark te pdf options as non functional.
+
+ * src/support/lstrings.C (strToInt): move initalization of tmpstr
+ (isStrDbl): move tmpstr.end() out of loop.
+ (strToDbl): move intialization of tmpstr
+ (lowercase): return string const and move tmp.end() out of loop.
+ (uppercase): return string const and move tmp.edn() out of loop.
+ (prefixIs): add assertion
+ (suffixIs): ditto
+ (contains): ditto
+ (contains): ditto
+ (contains): ditto
+ (containsOnly): ditto
+ (containsOnly): ditto
+ (containsOnly): ditto
+ (countChar): make last arg char not char const
+ (token): return string const
+ (subst): return string const, move tmp.end() out of loop.
+ (subst): return string const, add assertion
+ (strip): return string const
+ (frontStrip): return string const, add assertion
+ (frontStrip): return string const
+ (split): ditto
+ (split): ditto
+ (rsplit): ditto
+
+ * src/support/lstrings.C: add inclde "LAssert.h"
+ (isStrInt): move tmpstr.end() out of loop.
+
+ * src/frontends/xforms/Toolbar_pimpl.C (activate): move
+ toollist.end() out of loop.
+ (deactivate): move toollist.end() out of loop.
+ (update): move toollist.end() out of loop.
+ (updateLayoutList): move tc.end() out of loop.
+ (add): move toollist.end() out of loop.
+
+ * src/frontends/xforms/Menubar_pimpl.C (create_submenu): move
+ md.end() out of loop.
+
+ * src/texrow.h: make getIdFromRow const, make rowlist mutable.
+
+ * src/texrow.C (getIdFromRow): make const, more rowlist.end() out
+ of loop.
+
+ * src/paragraph.C (Erase): move fontlist.end() out of loop.
+ (Erase): move insetlist.end() out of loop.
+
+ * src/lyx_sendfax_main.C: make show_logfile static and to take a
+ ref to const string as first arg. Move initialization of some
+ variables, whitespace changes.
+
+ * src/kbmap.C (defkey): move table.end() out of loop.
+ (kb_keymap): move table.end() out of loop.
+ (findbinding): move table.end() out of loop.
+
+ * src/MenuBackend.C (hasMenu): move end() out of loop.
+ (getMenu): move end() out of loop.
+ (getMenu): move menulist_.end() out of loop.
+
+ * src/Makefile.am (#lyx_LDFLAGS): interesting option commented out.
+
+ * src/LaTeXFeatures.C (getIncludedFiles): move IncludedFiles.end()
+ out of loop.
+
+ * src/LColor.C (getFromGUIName): move infotab.end() out of loop.
+ (getFromLyXName): move infotab.end() out of loop.
+
+ * config/lyxinclude.m4 (CXXFLAGS): change for 2.96 add
+ -fvtable-thunks -ffunction-sections -fdata-sections
+
+2000-08-03 Dekel Tsur <dekel@math.tau.ac.il>
+
+ * src/frontends/xforms/RadioButtonGroup.h: Changed <forms.h> to
+ FORMS_H_LOCATION.
+
+2000-08-03 Angus Leeming <a.leeming@ic.ac.uk>
+
+ * src/frontends/xforms/FormCommand.[Ch] (d-tor): removed
+
+ * src/frontends/xforms/FormCitation.[Ch],
+ src/frontends/xforms/FormIndex.[Ch],
+ src/frontends/xforms/FormToc.[Ch],
+ src/frontends/xforms/FormUrl.[Ch] (d-tors): call free()
+
+2000-08-03 Angus Leeming <a.leeming@ic.ac.uk>
+
+ * src/commandtags.h: renamed, created some flags for citation
+ and index
+
+ * src/lyx_gui_misc.C: stripped out old FD_index_form code
+
+ * src/lyxfunc.C (dispatch): use signals to insert index entry
+
+ * src/frontends/Dialogs.h: new signal createIndex
+
+ * src/frontends/xforms/FormCommand.[Ch],
+ src/frontends/xforms/FormCitation.[Ch],
+ src/frontends/xforms/FormToc.[Ch],
+ src/frontends/xforms/FormUrl.[Ch]: clean up and comment better
+
+ * src/insets/insetindex.[Ch]: GUI-independent
+
+ * src/frontends/xforms/FormIndex.[Ch],
+ * src/frontends/xforms/forms/form_index.fd: xforms implementation
+ of the Index dialog
+
+2000-08-01 Dekel Tsur <dekel@math.tau.ac.il>
+
+ * src/mathed/math_write.C (MathDecorationInset::Write) Put \protect
+ before \overbrace, \underbrace, \overleftarrow, or \overrightarrow.
+
+2000-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/insets/insetref.C (Latex): rewrite so that there is now
+ question that a initialization is requested.
+
+ * src/insets/insetcommand.h: reenable the hide signal
+
+2000-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/frontends/xforms/Menubar_pimpl.C (create_submenu): try to
+ fix handling of shortcuts (many bugs :)
+ (add_lastfiles): ditto.
+
+ * lib/ui/default.ui: fix a few shortcuts.
+
+2000-07-27 Kayvan A. Sylvan <kayvan@sylvan.com>
+
+ * Makefile.am: Fix ``rpmdist'' target to return the exit
+ status of the ``rpm'' command, instead of the last command in
+ the chain (the ``rm lyx.xpm'' command, which always returns
+ success).
+
+2000-08-02 Allan Rae <rae@lyx.org>
+
+ * src/frontends/xforms/FormUrl.C (FormUrl): Initialise ALL variables.
+ * src/frontends/xforms/FormCitation.C (FormCitation): ditto
+ * src/frontends/xforms/FormToc.C (FormToc): ditto
+
+ * src/frontends/xforms/Makefile.am: A few forgotten files
+
+ * src/frontends/xforms/FormCommand.C (showInset): The rest of the
+ Signals-not-copyable-problem Lars' started commenting out.
+
+ * src/frontends/xforms/form_toc.[hC]: new files. TOC crashes lyx.
+
+2000-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/insets/insetcommand.h: Signals is not copyable so anoter
+ scheme for automatic hiding of forms must be used.
+
+ * src/frontends/xforms/FormCitation.h: don't inerit from
+ noncopyable, FormCommand already does that.
+ * src/frontends/xforms/FormToc.h: ditto
+ * src/frontends/xforms/FormUrl.h: ditto
+
+ * src/frontends/xforms/FormCitation.C: add include <algorithm>
+
+2000-08-01 Angus Leeming <a.leeming@ic.ac.uk>
+
+ * src/insets/insetcommand.h (hide): new SigC::Signal0
+ (d-tor) new virtual destructor emits hide signal
+
+ * src/insets/insetcite.[Ch] (hide, d-tor, EditMessage): removed
+ * src/insets/inseturl.[Ch] (hide, d-tor): ditto
+
+ * src/insets/insettoc.[Ch]: one inset now deals with TOC, LOA,
+ LOF and LOT. Inset is now GUI-independent
+
+ * src/insets/insetloa.[Ch]: redundant
+ * src/insets/insetlof.[Ch]: ditto
+ * src/insets/insetlot.[Ch]: ditto
+
+ * src/frontends/xforms/forms/form_url.fd: tweaked!
+ * src/frontends/xforms/forms/form_citation.fd: ditto
+
+ * src/frontends/xforms/FormCommand.[Ch]: new base class to those
+ dialogs dealing with InsetCommand insets
+
+ * src/frontends/xforms/FormCitation.[Ch]: now makes use of
+ FormCommand base class
+ * src/frontends/xforms/FormUrl.[Ch]: ditto
+
+ * src/frontends/xforms/forms/form_toc.fd: Xforms implementation
+ of the TOC dialog
+ * src/frontends/xforms/FormToc.[Ch]: ditto
+
+ * src/frontends/Dialogs.h (showCitation, showTOC, showUrl): all
+ passed a generic InsetCommand pointer
+ * src/frontends/xforms/Dialogs.C (c-tor): create instance of FormToc
+
+ * src/lyxfunc.C (Dispatch) : modified to accomodate new FormToc class
+ and modified InsetTOC class
+ * src/buffer.C: ditto
+
+ * forms/lyx.fd: strip out old FD_form_toc code
+ * src/lyx_gui_misc.C: ditto
+ * src/lyx_gui.C: ditto
+ * src/lyx_cb.C: ditto
+ * src/lyx.[Ch]: ditto
+
+2000-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/support/utility.hpp: tr -d '\r'
+
+2000-08-01 Juergen Vigna <jug@sad.it>
+
+ * src/insets/insettabular.h: removed initFeatures() as it's not needed.
+
+ * src/commandtags.h:
+ * src/LyXAction.C (init): added LFUN_LAYOUT_TABULAR and
+ LFUN_TABULAR_FEATURES.
+
+ * src/lyxfunc.C (getStatus): implemented LFUN_TABULAR_FEATURES and
+ LFUN_LAYOUT_TABULAR.
+
+ * src/insets/insettabular.C (getStatus): implemented helper function.
+
+ * lib/ui/default.ui: implemented edit-table-menu and layout-tabular.
+
+2000-07-31 Juergen Vigna <jug@sad.it>
+
+ * src/text.C (draw): fixed screen update problem for text-insets.
+
+ * src/text2.C (SetParagrpah): call an update of the inset-owner when
+ something changed probably this has to be added in various other
+ functions too.
+
+ * src/insets/insettext.C (cy): fixed to give back the right cursor.y().
+
+2000-07-31 Baruch Even <baruch.even@writeme.com>
+
+ * src/frontends/xforms/RadioButtonGroup.C: Changed to use home-brew
+ templates to satisfy compaq cxx.
+
+
+2000-07-31 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/support/translator.h (equal_1st_in_pair::operator()): take
+ const ref pair_type as arg.
+ (equal_2nd_in_pair::operator()): ditto
+ (Translator::~Translator): remove empty d-tor.
+
+ * src/graphics/GraphicsCache.C: move include config.h to top, also
+ put initialization of GraphicsCache::singleton here.
+ (~GraphicsCache): move here
+ (addFile): take const ref as arg
+ (removeFile): ditto
+
+ * src/lyxlex_pimpl.C (setFile): comment in old behaviour
+
+ * src/BufferView2.C (insertLyXFile): change te with/without header
+ check slightly.
+
+2000-07-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/frontends/xforms/FormGraphics.C (apply): add some
+ static_cast. Not very nice, but required by compaq cxx.
+
+ * src/frontends/xforms/RadioButtonGroup.h: include header
+ <utility> instead of <pair.h>
+
+ * src/insets/insetgraphicsParams.C: add using directive.
+ (readResize): change return type to void.
+ (readOrigin): ditto.
+
+ * src/lyxfunc.C (getStatus): add missing break for build-program
+ function; add test for Literate for export functions.
+
+ * lib/ui/default.ui: fix Insert->TOC->TOC; comment out invalid
+ entries in Options menu.
+
+2000-07-31 Baruch Even <baruch.even@writeme.com>
+
+ * src/frontends/xforms/Toolbar_pimpl.C (toolbarItem::operator=):
+ protect against auto-allocation; release icon when needed.
+
+2000-07-31 Matej Cepl <CeplM@seznam.cz>
+
+ * lib/kbd/czech.kmap: new file. standard Czech keyboard as found
+ on usual typewriter.
+
+ * lib/kbd/czech-prg.kmap: simpler czech kmap (which was the
+ earlier czech.kmap), useful only for programming.
+
+2000-07-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/frontends/xforms/FormCitation.h: fix conditioning around
+ #pragma.
+
+2000-07-31 Juergen Vigna <jug@sad.it>
+
+ * src/frontends/xforms/FormTabular.C (local_update): changed
+ radio_linebreaks to radio_useparbox and added radio_useminipage.
+
+ * src/tabular.C: made support for using minipages/parboxes.
+
+ * src/bufferlist.C (QwriteAll): small fix for asking for save.
+
+ * src/insets/insetgraphics.C (draw): just draw the inset so that the
+ cursor is visible.
+ (descent): so the cursor is in the middle.
+ (width): bit smaller box.
+
+ * src/insets/insetgraphics.h: added display() function.
+
+2000-07-31 Baruch Even <baruch.even@writeme.com>
+
+ * src/frontends/Dialogs.h: Added showGraphics signals.
+
+ * src/frontends/xforms/forms/form_graphics.fd: Added file, the
+ xforms form definition of the graphics dialog.
+
+ * src/frontends/xforms/FormGraphics.h:
+ * src/frontends/xforms/FormGraphics.C: Added files, the
+ GUIndependent code of InsetGraphics
+
+ * src/insets/insetgraphics.h:
+ * src/insets/insetgraphics.C: Major writing to make it work.
+
+ * src/insets/insetgraphicsParams.h:
+ * src/insets/insetgraphicsParams.C: Added files, parameter passing
+ struct between InsetGraphics and GUI.
+
+ * src/LaTeXFeatures.h:
+ * src/LaTeXFeatures.C (c-tor, require, getPackages): Enabled
+ support for graphicx package.
+
+ * src/buffer.C (parseSingleLyXformat2Token): Fixed read support
+ for the graphics inset.
+
+ * src/support/translator.h: Added file, used in
+ InsetGraphicsParams. this is a template to translate between two
+ types.
+
+ * src/frontends/xforms/RadioButtonGroup.h:
+ * src/frontends/xforms/RadioButtonGroup.C: Added files, Comprise a
+ way to easily control a radio button group.
+
+2000-07-28 Juergen Vigna <jug@sad.it>
+
+ * src/insets/insettabular.C (LocalDispatch):
+ (TabularFeatures): added support for lyx-functions of tabular features.
+ (cellstart): refixed this function after someone wrongly changed it.
+
+ * src/commandtags.h:
+ * src/LyXAction.C (init): added support for tabular-features
+
+2000-07-28 Allan Rae <rae@lyx.org>
+
+ * src/frontends/xforms/FormPreferences.C (build): Setup input return
+ checking. NOTE: It seems that pressing ESC to cancel the dialog also
+ triggers the callback for input checking. As a result we sometimes get
+ "LyX: This shouldn't happen..." printed to cerr.
+ (input): Started using status variable since I only free() on
+ destruction. Some input checking for paths and font sizes.
+
+ * src/frontends/xforms/FormPreferences.h: Use status to control
+ activation of Ok and Apply
+
+ * src/frontends/xforms/forms/form_preferences.fd: Setup input return
+ callback. Also resized to stop segfaults with 0.88. The problem is
+ that xforms-0.88 requires the folder to be wide enough to fit all the
+ tabs. If it isn't it causes all sorts of problems.
+
+ * src/frontends/xforms/FormCopyright.[hC]: forward declare FD_form...
+
+ * src/frontends/xforms/forms/README: Reflect reality.
+
+ * src/frontends/xforms/forms/fdfix.sh: Clean up comments
+ * src/frontends/xforms/forms/makefile: ditto.
+
+ * src/commandtags.h: Get access to new Preferences dialog
+ * src/LyXAction.C: ditto
+ * src/lyxfunc.C: ditto
+ * lib/ui/default.ui: ditto
+
+2000-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * src/frontends/xforms/forms/makefile (.c.C): change call to fdfix.sh.
+
+ * src/frontends/xforms/Makefile.am (libxforms_la_SOURCES): add a
+ few files.
+
+ * src/frontends/xforms/form_url.[Ch]: added.
+
+2000-07-27 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/insets/insetbib.h: fixed bug in previous commit
+
+ * src/frontends/xforms/FormUrl.h: ditto
+
+ * src/frontends/xforms/FormPrint.h: ditto
+
+ * src/frontends/xforms/FormPreferences.h: ditto
+
+ * src/frontends/xforms/FormCopyright.h: ditto
+
+ * src/frontends/xforms/FormCitation.C: ditto
+
+ * src/frontends/Dialogs.h (class Dialogs): use noncopyable, remove
+ private copyconstructor and private default contructor
+
+ * src/support/Makefile.am: add utility.hpp
+
+ * src/support/utility.hpp: new file from boost
+
+ * src/insets/insetbib.h: set owner in clone
+
+ * src/frontends/xforms/FormCitation.C: added missing include
+ algorithm
+
+ * src/insets/form_url.[Ch]: removed
+
2000-07-26 Kayvan A. Sylvan <kayvan@sylvan.com>
* development/lyx.spec.in