]> git.lyx.org Git - features.git/blobdiff - ChangeLog
Dekel language/encoding patch + a few fixes
[features.git] / ChangeLog
index 23fc2ce91ad37aa5b90429805fa78b93f12fe392..b8a00d19593dbe6e42c582286e1058486fb1ec5a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,368 @@
+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.