]> git.lyx.org Git - lyx.git/blobdiff - ChangeLog
encoding + etc patch from dekel
[lyx.git] / ChangeLog
index 749cd80960561fea6e981b1258f455be039bea52..5cbbc3482372ceeb09c60c3d102949c9487467e0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,394 @@
+2000-07-19  Dekel Tsur  <dekel@math.tau.ac.il>
+
+       * src/Painter.C (text): Added code for using symbol glyphs from
+       iso10646 fonts. Currently diabled.
+
+       * src/encoding.C: Added new encodings: iso8859_3,iso8859_9 and
+       symbol_encoding.
+
+       * src/language.C (initL): Fixed encodings for esperanto,lsorbian,
+       magyar,turkish and usorbian.
+
+       * src/paragraph.C (isMultiLingual): Made more efficient.
+
+       * src/mathed/formula.C (LocalDispatch): Fixed behavior of greek
+       keyboard.
+
+       * src/mathed/math_symbols.C (math_insert_greek): Changed to use
+       LocalDispatch(..,LFUN_SELFINSERT,..) instead of math_insert_symbol().
+       Also changed the prototype to "bool math_insert_greek(char)".
+                                                                       
+2000-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * lots of files: apply the NEW_INSETS on all code that will not be
+       needed when we move to use the new insets. Enable the define in
+       lyxparagrah.h to try it.
+       
+       * src/insets/insettabular.C (cellstart): change to be a static
+       inline function
+       (InsetTabular): initialize buffer in the initializer list.
+
+2000-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * src/frontends/xforms/FormPrint.[Ch] : moved #include
+       form_print.h out of the header file. Replaced with forward
+       declarations of the relevant struct.
+
+       * src/frontends/xforms/FormPreferences.[Ch] : ditto for
+       form_preferences.h.
+
+       * src/commandtags.h: do not include "debug.h" which does not
+       belong there. #include it in some other places because of this
+       change. 
+
+2000-07-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/insets/insetcaption.C: add a couple "using" directives.
+
+       * src/toolbar.C (add): get the help text directly from lyxaction.
+       (getPixmap): nuked.
+       (setPixmap): new function. Loads from disk and sets a pixmap on a
+       botton; the name of the pixmap file is derived from the command
+       name. 
+
+       * src/toolbar.h: remove members isBitmap and pixmap from
+       toobarItem struct. 
+
+       * lib/images/*.xbm *_bw.xpm: remove (not used any more).
+       * lib/images/: move many files from images/banner.xpm.
+
+       * src/lyx_gui.C (create_forms): read banner pixmap from file.
+
+       * src/lyx_gui.C (create_forms): remove TWO_COLORS_ICONS support.
+       * src/toolbar.C: ditto.
+       * configure.in: ditto.
+       * INSTALL: document. 
+
+       * src/spellchecker.C (ShowSpellChecker): use CancelCloseCB when
+       the spellchecker popup is closed from the WM.
+
+2000-07-19  Juergen Vigna  <jug@sad.it>
+
+       * src/insets/insetfloat.C (Write): small fix because we use the
+       insetname for the type now!
+
+2000-07-18  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * src/frontends/xforms/forms/form_citation.fd: object sizes are
+       now set here
+
+       * src/frontends/Dialogs.h: removed hideCitation signal
+
+       * src/insets/insetcite.h: added hide signal
+
+       * src/insets/insetcite.C (~InsetCitation): emits new signal
+       (getScreenLabel): "intelligent" label should now fit on the screen!
+
+       * src/frontends/xforms/FormCitation.[Ch] (hideInset): removed
+
+       * src/frontends/xforms/FormCitation.C (showInset): connects
+       hide() to the inset's hide signal
+       (show): modified to use fl_set_object_position rather than
+       fl_set_object_geometry wherever possible
+       
+2000-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/insets/lyxinset.h: add caption code
+
+       * src/insets/insetfloat.C (type): new method
+
+       * src/insets/insetcaption.C (Write): new method
+       (Read): new method
+       (LyxCode): new method
+
+       * src/text2.C (SetCounter): revert Jürgens code, but use his idea
+       to get it right together with using the FloatList.
+
+       * src/commandtags.h: add LFUN_INSET_CAPTION
+       * src/lyxfunc.C (Dispatch): handle it
+
+       * src/buffer.C (parseSingleLyXformat2Token): add code to read a
+       caption inset.
+
+       * src/Variables.[Ch]: make expand take a const reference, remove
+       the destructor, some whitespace changes.
+
+       * src/LyXAction.C (init): add caption-inset-insert
+
+       * src/FloatList.C (FloatList): update the default floats a bit.
+
+2000-07-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/Variables.[Ch]: new files. Intended to be used for language
+       specific strings (like \chaptername) and filename substitution in
+       commands. 
+
+       * src/trans.C (AddDeadkey): replace keyword "all" with "native" in
+       kmap files.
+       * lib/kbd/american.kmap: update
+
+       * src/trans_mgr.C (normalkey): do not test allowAccent anymore.
+
+       * src/bufferparams.[Ch]: remove member allowAccents.
+
+       * src/menus.C (ShowOptionsMenu): remove the LaTeX entry.
+
+       * src/LaTeXLog.C: use the log_form.h header.
+       * src/lyx_gui.C: ditto.
+       * src/lyx_gui_misc.C: ditto.
+       * src/lyxvc.h: ditto.
+
+       * forms/log_form.fd: new file, created from latexoptions.fd. I
+       kept the log popup and nuked the options form.
+
+       * src/{la,}texoptions.[Ch]: removed.
+       * src/lyx_cb.C (LaTeXOptions): ditto
+
+       * src/lyx_gui.C (create_forms): do not handle the
+       fd_latex_options form. 
+
+2000-07-18  Juergen Vigna  <jug@sad.it>
+
+       * src/insets/insetfloat.C (InsetFloat): use setInsetName to set the
+       name of the inset so that it can be requested outside (text2.C).
+
+       * src/text2.C (SetCounter): modified so it sees insetfloat for caption
+       labels.
+
+2000-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/mathed/formula.h (ConvertFont): constify
+
+       * src/mathed/formula.C (Read): add warning if \end_inset is not
+       found on expected place.
+
+       * src/insets/lyxinset.h (ConvertFont): consify
+
+       * src/insets/insetquotes.C (ConvertFont): constify
+       * src/insets/insetquotes.h: ditto
+
+       * src/insets/insetinfo.h: add labelfont
+
+       * src/insets/insetinfo.C (InsetInfo): set the labelfont
+       (ascent): use labelfont
+       (descent): likewise
+       (width): likewise
+       (draw): likewise
+       (Write): make .lyx file a bit nicer
+
+       * src/insets/insetfloat.C (Write): simplify somewhat...
+       (Read): add warning if arg is not found
+
+       * src/insets/insetcollapsable.C: add using std::max
+       (Read): move string token and add warning in arg is not found
+       (draw): use std::max to get the right ty
+       (getMaxWidth): simplify by using std::max
+
+       * src/insets/insetsection.h: new file
+       * src/insets/insetsection.C: new file
+       * src/insets/insetcaption.h: new file
+       * src/insets/insetcaption.C: new file
+
+       * src/insets/inset.C (ConvertFont): constify signature
+
+       * src/insets/Makefile.am (libinsets_la_SOURCES): add
+       insetcaption.[Ch] and insetsection.[Ch]
+
+       * src/layout.h: remove LABEL_FIRST_COUNTER from enum, change all
+       uses to use LABEL_COUNTER_CHAPTER instead.
+       * src/text2.C (SetCounter): here
+
+       * src/counters.h: new file
+       * src/counters.C: new file
+       * src/Sectioning.h: new file
+       * src/Sectioning.C: new file
+
+       * src/Makefile.am (lyx_SOURCES): add Sectioning.[hC] and counters.[Ch]
+
+2000-07-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * lib/Makefile.am (listerrors): build-listerrors is in ${srcdir},
+       not always in "."!
+
+       * src/paragraph.[Ch] (SimpleTeXSpecialChars): fix the definition of
+       the last argument.
+
+2000-07-17  Juergen Vigna  <jug@sad.it>
+
+       * src/tabular.C (Validate): check if array-package is needed.
+       (SetVAlignment): added support for vertical alignment.
+       (SetLTFoot): better support for longtable header/footers
+       (Latex): modified to support added features.
+
+       * src/LaTeXFeatures.[Ch]: added array-package.
+
+2000-07-17  R. Lahaye  <lahaye@postech.ac.kr>
+
+       * src/lyx_gui.C (LyXGUI): make sure that the height is large
+       enough. 
+
+2000-07-17  Kayvan Sylvan <ksylvan@synopsys.com>
+
+       * configure.in: do not forget to put a space after -isystem.
+
+2000-07-10  Dekel Tsur  <dekel@math.tau.ac.il>
+
+       * lib/kbd/arabic.kmap: a few fixes.
+
+2000-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * some whitespace chagnes to a number of files.
+       
+       * src/support/DebugStream.h: change to make it easier for
+       doc++ to parse correctly.
+       * src/support/lyxstring.h: ditto
+
+       * src/mathed/math_utils.C (compara): change to have only one
+       operator()
+       (MathedLookupBOP): change because of the above.
+
+       * src/mathed/math_delim.C (math_deco_compare): change to have only
+       one operator()
+       (search_deco): change becasue of the above.
+
+       * src/insets/insettabular.C (DrawCellSelection): use std::swap
+       instead of manually coded one.
+
+       * src/insets/insetquotes.C (Read): read the \end_inset too
+
+       * src/insets/insetlatex.h: remove file
+       * src/insets/insetlatex.C: remove file
+       
+       * src/insets/insetindex.[Ch] (InsetPrintIndex): remove default
+       constructor 
+       (InsetPrintIndex): remove destructor
+
+       * src/insets/insetinclude.h: remove default constructor
+
+       * src/insets/insetfloat.C: work to make it work better
+
+       * src/insets/inseterror.[Ch] (InsetError): remove default constructor
+
+       * src/insets/insetcite.h (InsetCitation): remove default constructor
+
+       * src/insets/insetbutton.[Ch] (InsetButton): remove default constructor
+
+       * src/text.C (GetColumnNearX): comment out some currently unused code.
+
+       * src/paragraph.C (writeFile): move some initializations closer to
+       first use.
+       (CutIntoMinibuffer): small change to use new matchIT operator
+       (Erase): ditto
+       (Erase): ditto
+       (InsertChar): ditto
+       (InsertInset): ditto
+       (GetInset): ditto
+       (GetInset): ditto
+       (InsetIterator): ditto
+       (Erase): small change to use new matchFT operator
+       (InsertChar): ditto
+       (GetFontSettings): ditto
+       (HighestFontInRange): ditto
+       (SetFont): ditto
+
+       * src/lyxparagraph.h: some chars changed to value_type
+       (matchIT): because of some stronger checking (perhaps too strong)
+       in SGI STL, the two operator() unified to one.
+       (matchFT): ditto
+
+       * src/lyxfunc.C (Dispatch): code to insert InsetFloat improved
+
+       * src/buffer.C (parseSingleLyXformat2Token): static string to hold
+       the last inset read added
+       (parseSingleLyXformat2Token): some more (future) compability code added
+       (parseSingleLyXformat2Token): warning about solitary \end_inset added
+       (parseSingleLyXformat2Token): set last_inset_read
+       (parseSingleLyXformat2Token): more code to read new "Float" correctly
+       (parseSingleLyXformat2Token): don't double intializw string next_token
+
+       * src/TextCache.C (text_fits::operator()): add const's to the signature
+       (has_buffer::operator()): ditto
+
+       * src/Floating.h: add some comments on the class
+
+       * src/FloatList.[Ch] (typeExist): new method
+       (getType): ditto
+
+       * src/BackStack.h: added default constructor, wanted by Gcc.
+
+2000-07-14  Juergen Vigna  <jug@sad.it>
+
+       * src/insets/insettext.C (clear): fixed for multiple paragraps/layouts.
+
+       * src/frontends/xforms/forms/form_tabular.fd: updated a bit.
+
+       * src/insets/insettabular.C (resizeLyXText): need this to be able to
+       do a redraw when the window is resized!
+       (LocalDispatch): small fix so LFUN_TAB works only with locked_inset.
+
+       * src/insets/insettext.C (resizeLyXText): added function to correctly
+       being able to resize the LyXWindow.
+
+       * src/table.C (Read): fixed read on DOS-lyx-file (lf-lr)
+
+2000-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * src/frontends/Dialogs.h (hideCitation) : new signal to prevent
+       crashes when closing dialog to a deleted inset.
+
+       * src/insets/insetcite.[Ch] (Edit) : the return of this former
+       method! Now similar to other insets.
+
+2000-07-13  Juergen Vigna  <jug@sad.it>
+
+       * src/text.C (GetVisibleRow): fixed clearing of rows with insets!
+
+       * lib/examples/Literate.lyx: small patch!
+
+       * src/insets/insetbib.C (Read): added this function because of wrong
+       Write (without [begin|end]_inset).
+
+2000-07-11  Juergen Vigna  <jug@sad.it>
+
+       * src/BufferView2.C (open_new_inset): changed to a bool returnvalue
+       as the insertInset could not be good!
+
+       * src/screen.C (ToggleSelection): fixed toggle selection bug as
+       the bool param should not be last.
+
+2000-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * sigc++/configure.in: fix bug in threading-related code (Yes, I
+       did submit that to Karl).
+
+       * configure.in: use -isystem instead of -I for X headers. This
+       fixes a problem on solaris with a recent gcc; 
+       put the front-end code after the X detection code;
+       configure in sigc++ before lib/
+
+       * src/lyx_main.C (commandLineHelp): remove -display from command
+       line help.
+
+2000-07-09  Kayvan A. Sylvan  <kayvan@sylvan.com>
+
+       * lib/Makefile.am: added lib/build-listerrors to DIST tarfile.
+       Also put in Makefile rules for building the ``listerrors''
+       program for parsing errors from literate programs written in LyX.
+
+       * lib/build-listerrors: Added small shell script as part of compile
+       process. This builds a working ``listerrors'' binary if noweb is
+       installed and either 1) the VNC X server is installed on the machine,
+       or 2) the user is compiling from within a GUI. The existence of a GUI
+       is necessary to use the ``lyx --export'' feature for now. This
+       hack can be removed once ``lyx --export'' no longer requires a GUI to
+       function.
+
+2000-07-09  Bernard Michael Hurley <bernardh@westherts.ac.uk>
+
+       * lib/examples/Literate.lyx, src/Literate.[Ch]: Error messages are
+       now passed back correctly from gcc and placed "under" error
+       buttons in a Literate LyX source.
+
 2000-07-08  Dekel Tsur  <dekel@math.tau.ac.il>
 
        * src/text.C (GetColumnNearX): Better behavior when a RTL