]> git.lyx.org Git - features.git/blobdiff - ChangeLog
Dekel language/encoding patch + a few fixes
[features.git] / ChangeLog
index 9305c4246c7de677327c1e45df32565ee92ae5b2..b8a00d19593dbe6e42c582286e1058486fb1ec5a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,524 @@
+2000-10-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * lib/Makefile.am (pkgdata_DATA): add encoding and languages
+
+       * src/tabular.h: add a few std:: qualifiers.
+
+       * src/encoding.C: add using directive.
+       * src/language.C: ditto.
+
+       * src/insets/insetquotes.C (Validate): use languages->lang()
+       instead of only language.
+
+2000-10-07  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * lib/languages: New file.
+
+       * lib/encodings: New file.
+
+       * src/language.C (Languages): New class.
+       (read): New method. Reads the languages from the 'languages' file.
+
+       * src/encoding.C (Encodings): New class.
+       (read): New method. Reads the encodings from the 'encodings' file.
+
+       * src/lyx_main.C (init): Call to LyXSetStyle() after languages
+       initialization.
+
+       * src/bufferparams.h and a lot of files: Deleted the member language,
+       and renamed language_info to language
+
+       * src/buffer.C (makeLaTeXFile): Use babel() instead of lang()
+       * src/lyxfont.C (latexWriteStartChanges): ditto.
+       * src/paragraph.C (validate,TeXOnePar): ditto.
+       
+       * src/lyxfont.C (update): Restored deleted code.
+
+       * src/frontends/xforms/FormDocument.C (build): Made the combox taller
+
+2000-10-10  Angus Leeming <a.leeming@ic.ac.uk>
+
+       * src/BufferView_pimpl.C (buffer): cleaned up a little.
+
+       * src/insets/figinset.[Ch]:
+       * src/insets/insetinclude.[Ch]:
+       * src/insets/insetinclude.[Ch]:
+       * src/insets/insetparent.[Ch]:
+       * src/insets/insetref.[Ch]:
+       * src/insets/insettabular.[Ch] (c-tor): Buffer passed as const &.
+
+       * src/insets/*.[Ch]:
+       * src/mathed/formula.[Ch]:
+       * src/mathed/formulamacro.C (Clone): passed Buffer const &.
+
+       * src/buffer.C (parseSingleLyXformat2Token, readInset):
+       * src/lyx_cb.C (FigureApplyCB):
+       * src/lyxfunc.C (getStatus, Dispatch):
+       * src/frontends/xforms/FormTabular.C:  use modified c-tors to some
+       insets.
+
+       * src/lyxfunc.C (Dispatch): string "ref" not used. Removed.
+
+       * src/converter.[Ch] (Formats::View):
+       * src/lyx_cb.[Ch] (ShowMessage): constify Buffer * parameter.
+
+       * src/paragraph.C (CopyIntoMinibuffer, Clone): Insets::Clone() passed
+       *current_view->buffer(). This will change later, but this patch is way
+       big enough already!
+
+>>>>>>> 1.592
+2000-10-09  Juergen Vigna  <jug@sad.it>
+
+       * src/text.C (GetRow): small fix.
+
+       * src/BufferView_pimpl.C (cursorPrevious): 
+       (cursorNext): added LyXText parameter to function.
+
+       * src/insets/insettabular.C (LocalDispatch): activate cell inset on
+       keypress depending on cursor position.
+
+2000-10-06  Juergen Vigna  <jug@sad.it>
+
+       * src/insets/insettabular.C (Ascii): finally call right ascii-function.
+       (copySelection): redone this function and also copy ascii representa-
+       tion to clipboard.
+
+       * src/tabular.C (Ascii): 
+       (AsciiPrintCell): 
+       (AsciiBottomHLine): 
+       (AsciiTopHLine): 
+       (print_n_chars): new functions to realize the ascii export of tabulars.
+
+2000-10-05  Juergen Vigna  <jug@sad.it>
+
+       * src/lyx_gui_misc.C (updateAllVisibleBufferRelatedDialogs): small fix
+       if we don't have a buffer.
+
+2000-10-10  Allan Rae  <rae@lyx.org>
+
+       * src/frontends/xforms/FormPreferences.[Ch] (hide): Fix the problem
+       with closing dialog.  It seems that nested tabfolders require hiding
+       of inner tabfolders before hiding the dialog itself.  Actually all I
+       did was hide the active outer folder.
+
+       * src/BufferView_pimpl.C (buffer): don't call updateBufferDependent
+       unless there really is a buffer.  hideBufferDependent is called
+       instead.
+
+       * po/Makefile.in.in (POTFILES.in): one little tweak to ensure
+       POTFILES.in stays in $(srcdir).
+
+2000-10-09  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * lib/lyxrc.example: Few changes.
+
+2000-10-05  Angus Leeming <a.leeming@ic.ac.uk>
+
+       * src/BufferView_pimpl.C (buffer): only need one the
+       updateBufferDependent signal to be emitted once! Moved to the end of
+       the method to allow bv_->text to be updated first.
+
+       * src/frontends/xforms/FormBase.[Ch]: replaced the two signals uSignal_
+       and hSignal_ with Dialogs * and BufferDependency variables.
+       New Buffer * parent_, initialised when the dialog is launched. Used to
+       check whether to update() or hide() dialog in the new, private
+       updateOrHide() method that is connected to the updateBufferDependent
+       signal. Daughter classes dictate what to do using the
+       ChangedBufferAction enum, passed to the c-tor.
+
+       * src/frontends/xforms/FormCitation.C:
+       * src/frontends/xforms/FormCommand.C:
+       * src/frontends/xforms/FormCopyright.C:
+       * src/frontends/xforms/FormDocument.C:
+       * src/frontends/xforms/FormError.C:
+       * src/frontends/xforms/FormIndex.C:
+       * src/frontends/xforms/FormPreferences.C:
+       * src/frontends/xforms/FormPrint.C:
+       * src/frontends/xforms/FormRef.C:
+       * src/frontends/xforms/FormToc.C:
+       * src/frontends/xforms/FormUrl.C (c-tor): modified call to FormBase
+       c-tor.
+
+       * src/frontends/xforms/FormCommand.[Ch] (c-tor) passed a
+       ChangedBufferAction enum.
+
+       * src/frontends/xforms/FormParagraph.[Ch]
+       * src/frontends/xforms/forms/form_paragraph.fd: now derived from
+       FormBase.
+       
+       * src/frontends/xforms/FormToc.h (updateOrHide): override default
+       behaviour. Calls update() only.
+
+2000-10-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * lib/bind/cua.bind: fix a bit.
+       * lib/bind/emacs.bind: ditto.
+
+       * lib/bind/menus.bind: remove real menu entries from there.
+
+       * src/spellchecker.C: make sure we only include strings.h when
+       _AIX is defined.        
+
+2000-10-05  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * src/frontends/xforms/Menubar_pimpl.C (get_new_submenu): New
+       function. It enlarges the maximum number of pup when needed.
+       (add_toc2): Open a new menu if maximum number of items per menu has 
+       reached.
+       
+2000-10-05  John Levon  <moz@compsoc.man.ac.uk>
+
+       * src/frontends/kde/FormPrint.C: fix error reporting
+
+       * src/frontends/xforms/FormDocument.C: fix compiler
+       warnings
+
+       * lib/.cvsignore: add Literate.nw
+
+2000-10-05  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * buffer.C
+       * bufferview_funcs.[Ch]
+       * lyxfont.[Ch]
+       * text.C
+       * text2.C: Add support for numbers in RTL text.
+
+2000-10-06  Allan Rae  <rae@lyx.org>
+
+       * po/Makefile.in.in (POTFILES.in, POTFILES): Fixed
+       to be gettext.m4 friendly again.  ext_l10n.h is now
+       generated into $top_srcdir instead of $top_builddir
+       so that lyx.pot will be built correctly -- without
+       duplicate parsing of ext_l10n.h.
+
+2000-10-04  John Levon  <moz@compsoc.man.ac.uk>
+
+       * src/frontends/kde/FormCitation.C: make the dialog
+       behave more sensibly
+
+2000-10-03  John Levon  <moz@compsoc.man.ac.uk>
+
+       * config/kde.m4: fix consecutive ./configure runs,
+       look for qtarch, fix library order
+
+       * src/frontends/kde/Makefile.am: tidy up,
+       add Print dialog, add .dlg dependencies
+
+       * src/frontends/kde/FormPrint.C:
+       * src/frontends/kde/FormPrint.h:
+       * src/frontends/kde/formprintdialog.C:
+       * src/frontends/kde/formprintdialog.h:
+       * src/frontends/kde/formprintdialogdata.C:
+       * src/frontends/kde/formprintdialogdata.h:
+       * src/frontends/kde/dlg/formprintdialog.dlg: add
+       print dialog
+
+       * src/frontends/kde/dlg/README: Added explanatory readme
+       
+       * src/frontends/kde/dlg/checkinitorder.pl: small perl
+       script to double-check qtarch's output
+
+       * src/frontends/kde/formindexdialog.C:
+       * src/frontends/kde/formindexdialogdata.C:
+       * src/frontends/kde/formindexdialogdata.h:
+       * src/frontends/kde/dlg/formindexdialog.dlg: update
+       for qtarch, minor fixes
+
+2000-10-05  Allan Rae  <rae@lyx.org>
+
+       * src/BufferView_pimpl.C (buffer): don't hide all buffer dependent
+       dialogs when switching buffers update them instead.  It's up to each
+       dialog to decide if it should still be visible or not.
+       update() should return a bool to control visiblity within show().
+       Or perhaps better to set a member variable and use that to control
+       visibility.
+
+       * lib/build-listerrors: create an empty "listerrors" file just to stop
+       make trying to regenerate it all the time if you don't have noweb
+       installed.
+
+       * .cvsignore: ignore distdir and dist.tar.gz using rule lyx-*
+
+       * po/Makefile.in.in (ext_l10n.h): added a rule to build
+       $(top_builddir)/src/ext_l10n.h.  The rule has to go here because po/
+       is built before src/ and ext_l10n.h isn't actually needed to build lyx.
+       (POTFILES.in): added a rule to build POTFILES.in.  It is also now safe
+       to rebuild POTFILES.in with scrap *.[hC] files in xforms/forms/.
+
+       * autogen.sh: po/POTFILES.in and src/ext_l10n.h now generated by make.
+
+2000-10-04  Angus Leeming <a.leeming@ic.ac.uk>
+
+       * src/BufferView_pimpl.C (buffer): emit hideBufferDependent when
+       deleting buffer. Closes all buffer-dependent dialogs.
+
+       * src/frontends/xforms/FormBase.[Ch] (input): modified to pass
+       FL_OBJECT * also.
+       * src/frontends/xforms/FormCitation.[Ch]:
+       * src/frontends/xforms/FormPreferences.[Ch]:
+       * src/frontends/xforms/FormPrint.[Ch]:
+       * src/frontends/xforms/FormRef.[Ch]:
+       * src/frontends/xforms/FormUrl.[Ch]: ditto
+
+       * src/frontends/xforms/FormDocument.[Ch]:
+       * src/frontends/xforms/forms/form_document.C.patch:
+       * src/frontends/xforms/forms/form_document.fd: all input callbacks now
+       pass through a single input() function.
+
+2000-10-04  John Levon  <moz@compsoc.man.ac.uk>
+
+       * lib/build-listerrors: return status as OK
+
+2000-10-04  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * lib/lyxrc.example: Updated to new export code
+
+2000-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/mathed/math_parser.C (LexInitCodes): set lexcode of "@" to
+       LexAlpha. 
+
+       * src/mathed/formula.C (LocalDispatch): add '@' as an LM_TC_VAR
+       character. 
+
+       * lib/layouts/amsart.layout: include lyxmacros.inc, so that
+       LyX-Code is defined.
+       * lib/layouts/amsbook.layout: ditto.
+
+       * boost/Makefile.am: fix typo. 
+
+       * src/frontends/xforms/Menubar_pimpl.C (create_submenu): use
+       Menu::expand. 
+       (add_lastfiles): removed.
+       (add_documents): removed.
+       (add_formats): removed.
+
+       * src/frontends/Menubar.C: remove useless "using" directive.
+
+       * src/MenuBackend.h: add a new MenuItem constructor.
+
+       * src/MenuBackend.[Ch] (Menu::expand): new method. Used in the
+       xforms frontend.
+
+2000-10-04  Allan Rae  <rae@lyx.org>
+
+       * lib/Makefile.am (listerrors):
+       * lib/build-listerrors: make $builddir != $srcdir compiles work again.
+       I haven't got notangle installed so Kayvan please test. The output
+       should end up in $builddir.  This also allows people who don't have
+       noweb installed to complete the make process without error.
+
+       * src/frontends/xforms/FormCommand.[Ch] (showInset):
+       * src/frontends/xforms/FormError.[Ch] (showInset): fix warnings found
+       by JMarc's picky compiler.
+
+2000-10-03  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+
+       * src/insets/insettabular.C (setPos): change for loop to not use
+       sequencing operator. Please check this Jürgen.
+
+       * src/frontends/xforms/Menubar_pimpl.C (makeMenubar): use "c"
+       instead of 'c'
+       * src/insets/insetcite.C (getScreenLabel): ditto
+       * src/support/filetools.C (QuoteName): ditto
+       (ChangeExtension): ditto
+
+       * src/BufferView_pimpl.C (scrollCB): make heigt int
+
+       * src/BufferView2.C (insertInset): comment out unused arg
+
+       * boost/Makefile.am (EXTRADIST): new variable
+
+2000-10-03  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * src/exporter.C (IsExportable): Fixed
+       
+       * lib/configure.m4: Small fix
+
+2000-10-03  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * 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  <jug@sad.it>
+
+       * src/BufferView2.C (theLockingInset): removed const because of
+       Agnus's compile problems.
+
+       * src/insets/insettext.C (LocalDispatch): set the language of the
+       surronding paragraph on inserting the first character.
+
+       * various files: changed use of BufferView::the_locking_inset.
+       
+       * src/BufferView2.C (theLockingInset): 
+       (theLockingInset): new functions.
+
+       * src/BufferView.h: removed the_locking_inset.
+
+       * src/lyxtext.h: added the_locking_inset
+
+       * src/BufferView_pimpl.C (checkInsetHit): y_tmp form uint to int.
+
+       * src/insets/lyxinset.h: added bool to ShowInsetCursor definition.
+
+2000-10-02  Angus Leeming <a.leeming@ic.ac.uk>
+
+       * src/mathed/formula.C (IsMacro): declared but not referenced; removed.
+       * src/mathed/math_cursor.C (IsAlpha): ditto.
+       * src/mathed/math_inset.C (strnew): ditto.
+       * src/mathed/math_iter.C: SizeFont declared but not referenced;removed.
+       (IMetrics): cxp set but never used; removed.
+       * src/insets/figinset.C (InitFigures): removed redundant for loop, now
+       that the variable in question has been removed also!
+
+
+       * src/insets/insetbib.[Ch]: remove need to store Buffer * owner by
+       using the Buffer * passed to Latex(), using the BufferView * passed to
+       bibitemMaxWidth() bibitemWidest() and by passing a Buffer* to getKeys()
+
+       * src/insets/insetinclude.C: use the Buffer * passed to Latex(),
+       Linuxdoc() and DocBook() rather than the stored Buffer * master.
+
+       * src/lyxfunc.C (Dispatch): used new InsetBibtex c-tor
+       * src/buffer.C (readInset): used new InsetBibtex c-tor
+       * (getBibkeyList): used new InsetBibtex::getKeys
+
+2000-10-01  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * lib/configure.m4
+       * lib/build-listerrors
+       * src/converter.C
+       * src/exporter.C: Add literate programming support to the export code
+
+       * src/buffer.C
+       * src/lyx_cb.C: Remove old literate code.
+
+       * src/lyxrc.[Ch]: Remove many obsolete (due to new export code)
+       variables.
+
+       * src/lyxfunc.C (getStatus): Use Exporter::IsExportable
+       * src/converter.C (View, Convert): Use QuoteName.
+
+       * src/insets/figinset.C (Preview): Use Formats::View.
+
+       * lib/configure.m4: Add sgml->dvi converter to lyxrc.default
+       
+2000-10-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/lyxfunc.C (Dispatch): move declaration of text variable at
+       the top of the function, because compaq cxx complains that the
+       "goto exit_with_message" when the function is disabled bypasses
+       its initialization.
+       (MenuNew): try a better fix for the generation of new file names.
+       This time, I used AddName() instead of AddPath(), hoping Juergen
+       will be happier :)
+
+2000-10-03  Allan Rae  <rae@lyx.org>
+
+       * src/frontends/xforms/forms/form_preferences.fd:
+       * src/frontends/xforms/FormPreferences.[Ch]: redesign of dialog using
+       nested tabfolders has begun.  The old "Miscellaneous" was renamed as
+       "Look and Feel"->"General" but will need to be split up further into
+       general output and general input tabs.  Current plan is for four outer
+       tabfolders: "Look and Feel" for colours, bindings, fonts and other HCI
+       stuff; "Inputs" for input and import configuration; "Outputs" for
+       output and export configuration; and one more whatever is left over
+       called "General".  The leftovers at present look like being which
+       viewers to use, spellchecker, language support and might be better
+       named "Support".  I've put "Paths" in "Inputs" for the moment as this
+       seems reasonable for now at least.
+       One problem remains: X error kills LyX when you close Preferences.
+
+2000-10-02  Angus Leeming <a.leeming@ic.ac.uk>
+
+       * src/frontends/xforms/FormBase.[Ch]: removed "meaningless" const.
+       qualifier from form()
+       * src/frontends/xforms/FormCitation.[Ch]:
+       * src/frontends/xforms/FormCopyright.[Ch]:
+       * src/frontends/xforms/FormDocument.[Ch]:
+       * src/frontends/xforms/FormError.[Ch]:
+       * src/frontends/xforms/FormIndex.[Ch]:
+       * src/frontends/xforms/FormPreferences.[Ch]:
+       * src/frontends/xforms/FormPrint.[Ch]:
+       * src/frontends/xforms/FormRef.[Ch]:
+       * src/frontends/xforms/FormToc.[Ch]:
+       * src/frontends/xforms/FormUrl.[Ch]: ditto.
+
+       * src/frontends/xforms/FormCitation.[Ch]:
+       * src/frontends/xforms/FormIndex.[Ch]:
+       * src/frontends/xforms/FormRef.[Ch]:
+       * src/frontends/xforms/FormUrl.[Ch]: Renamed a few buttons, consistent
+       with Allan's naming policy
+       
+       * src/frontends/xforms/FormCitation.C: some static casts to remove
+       compiler warnings.
+
+2000-10-02  Juergen Vigna  <jug@sad.it>
+
+       * src/insets/insettabular.C (LocalDispatch): fixed selection code,
+       now you can type or do stuff inside the table-cell also when in dummy
+       position, fixed visible cursor.
+
+       * src/insets/insettext.C (Edit): fixing cursor-view position.
+
+       * src/lyxfunc.C (Dispatch): use * text variable so that it can
+       be used for equal functions in lyxfunc and insettext.
+
+       * src/text.C (GetVisibleRow): fixed a small clear_area bug.
+
+2000-10-02  John Levon  <moz@compsoc.man.ac.uk>
+
+       * src/frontends/gnome/FormCitation.h:
+       * src/frontends/gnome/FormCopyright.h:
+       * src/frontends/gnome/FormIndex.h:
+       * src/frontends/gnome/FormPrint.h:
+       * src/frontends/gnome/FormToc.h:
+       * src/frontends/gnome/FormUrl.h:
+       * src/frontends/kde/FormCitation.h:
+       * src/frontends/kde/FormCopyright.h:
+       * src/frontends/kde/FormIndex.h:
+       * src/frontends/kde/FormRef.h:
+       * src/frontends/kde/FormToc.h:
+       * src/frontends/kde/FormUrl.h: fix remaining users of
+       support/utility.hpp 
+
+2000-10-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/buffer.C (linuxDocHandleFootnote): remove const modifier
+       from depth argument.
+       (DocBookHandleCaption): ditto.
+       (DocBookHandleFootnote): ditto.
+       (SimpleDocBookOnePar): ditto.
+
+       * src/frontends/xforms/FormDocument.h (form): remove extra
+       FormDocument:: qualifier.
+
+       * sigc++/macros/basic_signal.h.m4: remove erroneous virtual
+       destructor. 
+       * sigc++/handle.h: ditto.
+
+       * src/lyx_gui_misc.C: add "using" directive.
+
+       * src/cheaders/cstddef: new file, needed by the boost library (for
+       compaq cxx).
+
+2000-10-02  Juergen Vigna  <jug@sad.it>
+
+       * src/insets/insettext.C (SetFont): better support.
+
+       * src/insets/insettabular.C (draw): fixed drawing of single cell.
+
+       * src/screen.C (DrawOneRow): some uint refixes!
+
 2000-10-02  Allan Rae  <rae@lyx.org>
 
+       * boost/.cvsignore: ignore Makefile as well
+
+       * src/lyxfunc.C (Dispatch): missing break; and moved the '}' for
+       LFUN_UNKNOWN_ACTION: so it doesn't wrap around default:.
+
        * src/frontends/xforms/FormPreferences.[Ch] (restore): D'oh.
        Left this one out by accident.
 
 
 2000-09-29  Lars Gullik Bjønnes  <larsbj@lyx.org>
 
-       * several files: type canges to reduce the number of warnings and
+       * several files: type changes to reduce the number of warnings and
        to unify type hangling a bit. Still much to do. 
 
 2000-09-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
        * lib/images/*: rename a bunch of icons to match Dekel converter
        changes. 
 
-       * src/buffer.C (SimpleLinuxDocOnePar): add a const qualifier to
+       * src/buffer.h (SimpleLinuxDocOnePar): remove const qualifier to
        last parameter.
 
        * src/frontends/xforms/FormBase.C (disconnect): remove bogus test. 
        * po/pt.po: Three errors:
               l.533 and l.538 format specification error
               l. 402 duplicate entry, I just deleted it.
-