2001-05-22 Peter Suetterlin
* lib/templates/aa.lyx: rename from aapaper.lyx
* lib/layouts/aa.layout: rename from aapaper.layout
* lib/examples/aa_head.lyx:
* lib/examples/aa_head.lyx: update
2001-05-18 Jean-Marc Lasgouttes
* src/version.h (LYX_VERSION): revert to 1.1.6cvs
2001-05-18 Jean-Marc Lasgouttes
* src/version.h (LYX_RELEASE): LyX 1.1.6fix2 released
* lib/languages: change GUI name of portugues and brazil.
2001-05-16 Jean-Marc Lasgouttes
* src/kbmap.C (findbinding): clean it up and finally get it to work
correctly.
2001-05-15 Juergen Vigna
* src/tabular.C (TeXCellPreamble): fixed the left border problem for
multicolumn cells.
2001-05-14 Jean-Marc Lasgouttes
* src/LaTeXLog.C: add "using" directive
2001-02-23 Dekel Tsur
* src/lyxrc.C: Add language_command_local, language_use_babel and
language_global_options.
* src/lyxfont.C (latexWriteStartChanges): Use language_command_local.
* src/buffer.C (makeLaTeXFile): Use language_use_babel and
language_global_options.
2001-05-04 Jean-Marc Lasgouttes
* lib/examples/de_splash.lyx: update from Pit Suetterlin
* lib/bind/fi_menus.bind: update from Pauli Virtanen
2001-05-03 Jean-Marc Lasgouttes
* src/LaTeX.C (deplog): correct the syntax of regex reg1
* src/Lsstream.h: include LString.h before the sstream headers to
fix problem with gcc 2.95.3 and lyxstring
2000-04-19 Allan Rae
* sigc++/: updated to libsigc++-1.0.3. This should hopefully fix some
compiler compatability problems.
* development/tools/makeLyXsigc.sh: squeezed most local changes in
sigc++/ into the script with the exception of the outlining of
inline functions. These have been lost until someone has the time
or desire to do them.
2001-04-18 Jean-Marc Lasgouttes
* lib/examples/eu_splash.lyx: update from Dooteo
* src/insets/insetquotes.C (Latex): improve the guard against
unwanted !` and ?` ligatures. This should really be done in
another place (to catch all this ligatures at low-level).
2001-04-13 Jean-Marc Lasgouttes
* lib/layouts/revtex4.layout: make sure the PACS, keywords and
preprint come before \maketitle.
2001-04-17 Allan Rae
* src/frontends/xforms/FormRef.C:
* src/graphics/GraphicsCache.C:
* src/graphics/GraphicsCacheItem_pimpl.C:
* src/graphics/XPM_Renderer.C:
* src/insets/figinset.C:
* src/insets/insettabular.C:
* src/mathed/formula.C:
* src/mathed/math_parser.C:
* src/support/tempname.C:
* src/lyxfunc.C:
* src/spellchecker.C: #warning triggers an error on Sun CC 6.0 as
an unrecognised preprocessor directive. So ensure they're wrapped.
Sun CC won't compile sigc++ though so this is only a partial
workaround for problems with this compiler series. If users install
sigc++ as a package then they can compile with the system library and
the rest of the source should work..
2001-04-14 Dekel Tsur
* src/exporter.C (Export): Give an error message when path to file
contains spaces.
2001-04-12 Dekel Tsur
* src/LaTeX.C (deplog): Always check that foundfile exists.
2001-04-03 Kayvan Sylvan
* development/lyx.spec.in: fix handling of reLyX with RPM
relocation.
2001-03-27 Jean-Marc Lasgouttes
* lib/examples/fr_AlignementDecimal.lyx:
* lib/examples/fr_Macros_Math.lyx:
* lib/examples/fr_MultiColonnes.lyx: new files from Adrien Rebollo.
2001-03-26 Dekel Tsur
* src/insets/figinset.C (GetPSSizes): fix figure previewing when
the suffix has been removed from the filename.
2001-03-22 Jean-Marc Lasgouttes
* src/frontends/Liason.C (printBuffer): do not forget file name
when printing with empty print_spool_command.
2001-03-13 Dekel Tsur
* src/frontends/xforms/FormCitation.C (apply): Do not put space
between multiple keys.
2001-03-13 Jean-Marc Lasgouttes
* src/lyxfont.C (update): don't honor toggleall for font size.
2001-03-06 Chanop Silpa-Anan
* lib/encodings:
* lib/languages: add preliminary Thai support
* lib/kbd/tis620-0.cdef: dummy cdef file
2001-03-06 Zvezdan Petkovic
* lib/encodings: add support for iso8859-5 and cp1251.
* lib/languages: add serbian and serbocroatian.
* lib/kbd/serbian.kmap:
* lib/kbd/serbocroatian.kmap: new files.
2001-03-05 Jean-Marc Lasgouttes
* config/lyxinclude.m4 (LYX_PROG_CXX): add support for gcc 3.0.
2001-03-05 Adrien Rebollo
* lib/examples/fr_*: renamed french example files in french.
2001-03-02 John Levon
* INSTALL:
* configure.in:
* lib/reLyX/configure.in:
* config/lyxinclude.m4: --with-version-suffix
* config/kde.m4: remove cruft
* lib/Makefile.am:
* lib/reLyX/Makefile.am: fix make uninstall
2001-03-01 Jean-Marc Lasgouttes
* lib/templates/g-brief-de.lyx: fix typo.
* src/support/filetools.C (CreateTmpDir): change umask to 0700.
2001-03-01 Juergen Vigna
* src/insets/insettext.C (SetFont): don't call Undo on a simple
setfont without selection (as it is done in LyXText).
2001-02-11 José Matos
* buffer.C (makeDocBookFile): command styles now have a parameter as
"title" by default. support for CDATA sections.
* lib/layouts/db_lyxmacros.inc
* lib/layouts/db_stdclass.inc
* lib/layouts/db_stdlayouts.inc
* lib/layouts/db_stdlists.inc
* lib/layouts/db_stdsections.inc
* lib/layouts/db_stdstarsections.inc
* lib/layouts/db_stdstruct.inc
* lib/layouts/db_stdtitle.inc: new files with modular support
for docbook.
* lib/layouts/docbook-chapter.layout
* lib/layouts/docbook-section.layout: new files, useful for
document inclusion.
* lib/layouts/docbook.layout
* lib/layouts/docbook-book.layout: updated to use the modular support.
2001-02-26 Dekel Tsur
* src/text2.C (SetCurrentFont): Disable number property at boundary.
2001-02-23 Juergen Vigna
* src/tabular.C (AppendColumn): fixed initialitation of column_struct.
(AppendRow): fixed initialitation of row_struct.
2001-02-10 Dekel Tsur
* src/insets/insettext.C (LocalDispatch): Restore the language
if the inset becomes empty.
* src/text.C (PrepareToPrint): Fix for RTL text in tabulars.
* src/paragraph.C (GetUChar): New method.
(String): Use GetUChar.
* src/buffer.C (asciiParagraph): Use GetUChar.
2001-02-02 Dekel Tsur
* LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
all the citation/databases/styles in the auxilary file.
(run): Rerun latex if there was a babel language error.
2001-02-09 Dekel Tsur
* src/text.C (GetVisibleRow): Fix selection drawing for RTL text
in tables.
* src/insets/insettext.C (moveRightIntern): Update the selection
cursor.
(moveLeftIntern): Ditto.
2001-02-08 Dekel Tsur
* src/insets/insettext.C (LocalDispatch): Update selection cursor
when moving cursor to the right.
(moveRightIntern): Call to CursorRight with 2 argument equal to false.
(moveLeftIntern): Ditto.
2001-02-07 John Levon
* LaTeXLog.C: fix reading of latex log file when
tmpdir option is off (slightly adapted by JMarc)
2001-02-08 John Levon
* INSTALL: mention RH7.0 workaround with kde f.e.
2001-02-08 José Matos
* src/buffer.C (makeDocBookFile): honor the language of the
document.
2001-02-07 Lars Gullik Bjønnes
* sigc++/configure.in (AC_ARG_ENABLE(threads)): disable threads by
default.
2001-02-07 Dekel Tsur
* src/lyxrc.C (read): Update converters data-structures.
2001-02-06 albert chin
* acconfig.h:
* configure.in: check declarations of snprintf and vsnprintf.
* src/support/snprintf.h:
* src/support/fmt.C: use HAVE_DECL_SNPRINTF
2001-02-06 Jean-Marc Lasgouttes
* INSTALL: update description of command line to use with compaq
cxx.
2001-02-05 Jean-Marc Lasgouttes
* src/Variables.C (set): renamed from isset(), because this clashes
with some HP-UX macros (grr).
* lib/kbd/thai-kedmanee.kmap: new Thai keymap, contributed by
Chanop Silpa-Anan.
2001-02-02 Dekel Tsur
* src/mathed/math_symbols.C (math_insert_greek): Move cursor right
when unlocking the math inset.
2001-02-02 John Levon
* lib/Makefile.am: fix permissions on configure and
configure.cmd (from Albert Chin)
* lib/CREDITS: add Albert Chin
2001-02-01 Dekel Tsur
* src/text.C (Backspace): Preserve the font when changing newline char
with a space.
(BreakParagraph): If the cursor is before a space, delete the space.
* src/lyx_cb.C (QuitLyX): Do not save files when running with no gui.
2001-02-01 Jean-Marc Lasgouttes
* src/version.h (LYX_VERSION): reset version to 1.1.6cvs
2001-01-31 Lars Gullik Bjønnes
* release 1.1.6fix1.
* src/version.h: set version to 1.1.6fix1
2001-01-31 Dekel Tsur
* src/insets/insetbib.C (InsetBibKey): Better computation of
default key.
(getScreenLabel) Show both the key and the label.
(getBibLabel): New method.
(callback): Force a redraw if the inset have been changed.
* src/paragraph.C (GetPositionOfInset): Handle bibkey.
2001-01-30 John Levon
* INSTALL: mention build problem with older xforms
2001-01-29 Jean-Marc Lasgouttes
* lib/examples/fr_MathLabeling.lyx:
* lib/examples/fr_Minipage.lyx:
* lib/examples/fr_TableExamples.lyx: new translations from Adrien
Rebollo.
2001-01-27 Dekel Tsur
* src/converter.C (dvipdfm_options): New method.
2001-01-26 Dekel Tsur
* src/mathed/math_parser.C (LexGetArg): Fix crash when loading
corrupt files.
* src/mathed/formula.C (LocalDispatch): Before inserting a label
in an eqnarray, move the cursor to the top level.
* src/mathed/math_iter.C (getLabel): Test if crow == 0.
2001-01-26 Volodymyr M . Lisivka
* lib/kbd/koi8-u.kmap: new file.
* lib/encodings: add koi-8u encoding.
* lib/languages: update ukrainian entry
2001-01-26 Jean-Marc Lasgouttes
* lib/CREDITS: update Tino Meinen address.
2001-01-25 Dekel Tsur
* src/insets/insetbib.C (bibitemWidest): Use lyxfont::width instead of
par->bibkey->width. This fixes the crashes when running without
gui or when having included documents.
2001-01-25 Jean-Marc Lasgouttes
* lib/examples/fr_ItemizeBullets.lyx: new translation.
* lib/examples/fr_splash.lyx:
* lib/examples/fr_exemple_lyxifie.lyx:
* lib/examples/fr_exemple_brut.lyx: updated.
* lib/bind/cua.bind: change C-k from font-noun to
line-delete-forward.
* INSTALL (Problems): update description of the "missing linux
kernel sources" problem.
* src/frontends/xforms/FormPreferences.C (GetFrom): fix crash when
there is no format defined.
(GetTo): ditto.
2001-01-23 Dekel Tsur
* src/support/lstrings.C (strip): Add a fix for compilers with broken
string::find_last_not_of.
* src/support/filetools.C (AddPath): Simplify by using strip and
frontStrip.
2001-01-24 Dekel Tsur
* src/MenuBackend.C (expand): Fix the sorting of the formats.
2001-01-24 John Levon
* configure.in: working support for --with-lyx-suffix
* INSTALL: describe --with-lyx-suffix
* lib/Makefile.am: make configure and configure.cmd installed
by hand, to avoid name changes when --with-lyx-suffix
is used.
* lib/configure:
* lib/configure.m4: support --with-lyx-suffix for the lyxrc.defaults
reLyX and noweb2lyx scripts
* lib/reLyX/configure.in: support --with-lyx-suffix
* src/lyx_main.C: tiny error message fix
2001-01-23 Angus Leeming
* FormPreferences.C (LoadBrowserLyX): convert unsigned short to
unsigned char correctly and so fix 2 bugs loading/changing colors.
2001-01-24 Jean-Marc Lasgouttes
* src/lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
calling fl_initialize(). This fixes the problem with ',' as
decimal separator in text files.
2001-01-24 Dekel Tsur
* src/trans.C (process): Fix the keymap bug.
2001-01-22 Jean-Marc Lasgouttes
* config/lyxinclude.m4 (LYX_PROG_CXX): do not use -fno-rtti with
gcc 2.95.3.
* src/texrow.C (increasePos): change to error messages into debug
messages.
* lib/images/banner.xpm: revert to the cucumberless banner.
2001-01-21 Dekel Tsur
* src/frontends/xforms/FormRef.C (update): Do not update
dialog_->{ref,name,type} if inset_ == 0.
Deactivate the type button when buffer is LinuxDoc/Docbook
(build): Uncomment calls to addReadOnly().
(updateBrowser) Do not disable the update button when there are no
keys.
2001-01-20 Dekel Tsur
* lib/languages: Add extra_options field. It is used to fix the ~n
problem with Spanish.
* src/language.C (latex_options_): New field.
* src/LaTeXFeatures.C (getMacros): Add language macros.
* src/buffer.C (makeLaTeXFile): Small fix.
2001-01-19 Jean-Marc Lasgouttes
* src/lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
2001-01-17 Dekel Tsur
* src/frontends/xforms/FormRef.C (input): Fix the behavior of goto
reference button.
* src/text.C (IsBoundary): Remove the error message
* src/WorkArea.C (work_area_handler): Decrease keyboard purge
threshold.
* src/lyxrc.C (setDefaults): Correct initialization value for
font_norm_type.
2001-01-13 Dekel Tsur
* src/paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
alignment commands (when needed).
* src/text.C (InsertChar): Add ':' to number separator chars.
Use contains instead of strchr.
* src/mathed/math_draw.C (Metrics): Use the correct GetString.
2001-01-11 Lars Gullik Bjønnes
* release 1.1.6. tagged as lyx-1_1_6 in CVS (in branch
BRANCH_1_1_6)
* src/version.h: set version to 1.1.6
* config/lyxinclude.m4 (LYX_USE_FRONTEND): mark as experimental
2001-01-11 Jean-Marc Lasgouttes
* src/buffer.C (getTocList): make the method const, so that
InsetTOC::Ascii compiles.
* src/insets/insettoc.C (Ascii): return 0
2001-01-11 Dekel Tsur
* src/insets/insettoc.C (Ascii): New method.
* src/lyx_main.C (init) Set first_start to false when running
without a GUI.
2000-12-19 Dekel Tsur
* src/paragraph.C (TeXOnePar,SimpleTeXOnePar) Fix problem with
aligned paragraphs.
2001-01-11 Lars Gullik Bjønnes
* src/buffer.C (writeFile): add missing ' ' after lyxformat.
* src/buffer.h: change format to int, and change name to file_format
* src/buffer.C: change LYX_FORMAT to int, and bump version number
to 218.
(readLyXformat2): handle it
handle it
(readFile): handle it
(writeFile): handle it
2001-01-10 Dekel Tsur
* src/insets/insettext.C (LocalDispatch): Add handling of
LFUN_BREAKPARAGRAPHKEEPLAYOUT.
2001-01-10 Lars Gullik Bjønnes
* src/tabular.C (Write): write lowercase identifiers
(Read): read lowercase identifiers
2001-01-10 Jean-Marc Lasgouttes
* src/support/lyxstring.C (rfind): better fix (from Dekel).
* src/tabular.h: add a couple std:: qualifiers.
2001-01-10 Lars Gullik Bjønnes
* src/support/lyxstring.C (rfind): also test the first char in the
string and be sure that t >= 0.
2001-01-09 Lars Gullik Bjønnes
* src/tabular.C (ReadNew): new method
(Read): changed to call ReadNew or ReadOld depending on the
tabular version found.
* src/tabular-old.C: new file with the support functions and the
ReadOld method.
(ReadOld): new method
* src/frontends/xforms/FormDocument.C (CheckChoiceClass): make tc
unsigned to remove a signed/usigned warning.
* src/tabular.C (tostr): new spesializations, replaces type2string
(Write): use the new spesializations
2001-01-09 Juergen Vigna
* src/tabular.C (OldFormatRead): convert the footer/header information
to the right row.
(getTokenValue): chaned this functions again.
(string2type): added a bunch of this functions per type.
(Write): use type2string and write columns first.
(type2string): added a bunch of this functions per type.
(TeXBottomHLine):
(TeXTopHLine): check row parameter.
2001-01-08 Dekel Tsur
* src/tabular.C (getTokenValue): Fix crash with malformed files.
(Read): Read the rotate attribute.
2001-01-09 Jean-Marc Lasgouttes
* src/frontends/xforms/FormDocument.C (CheckChoiceClass): fix
class switching; do not do anything if class has not been changed.
2001-01-07 Dekel Tsur
* lib/build-listerrors: Exit if literate-article doesn't appear in
textclass.lst
2001-01-09 Jean-Marc Lasgouttes
* src/combox.h (getline): small fix for sun CC 6.0
* src/combox.C (input_cb): ditto.
* src/spellchecker.C (sigchldhandler): ditto.
* src/lyx_main.C (init): do not query for creation of user
directory when running without a GUI.
2001-01-08 Dekel Tsur
* src/mathed/formula.C (LocalDispatch): Toggle font properties.
2001-01-07 Dekel Tsur
* BufferView2.C (open_new_inset): Added 2nd argument.
(getParentText, getParentLanguage): New methods.
* src/lyxfunc.C (Dispatch): Fixed handling of LFUN_LEFT and
LFUN_INSET_TABULAR for RTL text.
* src/tabular.C (Latex): Put \R{} around RTL cells.
* src/text2.C (InsertInset): Change cursor position for highly
editable insets.
* src/frontends/xforms/FormTabularCreate.C (apply): Create the
tabular inset by calling to LyXFunc::Dispatch(LFUN_INSET_TABULAR,...)
* src/insets/insettabular.C (LocalDispatch): When dispatching
LFUN_TAB/LFUN_SHIFT_TAB, if the insettext of the old cell was
locked, then the insettext of the new cell will be locked.
(moveLeft, moveRight): Fixed for RTL tabulars.
(moveNextCell, movePrevCell): Ditto.
(isRightToLeft): New method.
* src/insets/insettext.C (LocalDispatch): Fixed handling of
non-dispatched function in the locking inset.
(Edit): If the inset is empty set the language of the current font
to the language to the surronding text (this code was moved from
LocalDispatch to allow the user to change the languaeg before
inserting text).
(moveRight, moveLeft): Fixed for RTL text.
(checkAndActivateInset): Fixed.
* src/tabular.C (OldFormatRead): Use ALL_INHERIT font as the base font.
2001-01-08 Jean-Marc Lasgouttes
* src/frontends/xforms/Toolbar_pimpl.C (BubbleTimerCB): translate
the tooltip.
(set): ditto.
* src/spellchecker.C (sigchldhandler): add an #ifndef USE_PSPELL
around some ispell code.
* src/lyxcursor.[Ch]: add proper constructor, to avoid tons of
Unitialized Memory Read in purify.
* lib/examples/nl_splash.lyx: update from Tino Meinen.
2001-01-04 Dekel Tsur
* src/frontends/xforms/FormDocument.C (FormDocument::build):
Disable class_->choice_doc_class and language_->choice_language to
allow using the class/language combox with keyboard.
2001-01-08 Lars Gullik Bjønnes
* src/support/snprintf.c (va_copy): only define va_copy if undefined
2001-01-06 Lars Gullik Bjønnes
* src/lyxvc.C (showLog): give the tempfile a mask
* src/lyx_cb.C (AutoSave): five tempfile a mask, enter the failed
branch on !rename
* src/support/filetools.C (IsDirWriteable): give the tempfile a
mask and unlink the tempfile after use.
2001-01-04 Juergen Vigna
* src/insets/insettabular.C (resetPos): an extra scroll, but we
really should redo all this scrolling code!
(TabularFeatures): unlock the_locking_inset before add/del rows/colums.
* src/text.C (GetVisibleRow): check that y/h values are good otherwise
change them.
* src/insets/insettabular.C (LocalDispatch): fixes to PASTESELECTION.
(pasteSelection): pay attention to multicolumn cells.
(calculate_dimensions_of_cells): forgot to reset maxAsc/Desc.
2001-01-03 Jean-Marc Lasgouttes
* src/mathed/math_panel.C (deco_cb): check the decoration index is
valid.
* src/frontends/xforms/FormPreferences.C (feedback): apply
formatting to the translated string, not to the original one.
(printWarning): ditto.
* src/gettext.C (_): translate empty string with empty string.
* src/frontends/xforms/FormCopyright.C (build): use _() instead of
N_().
* NEWS: small update
* UPGRADING: mention that tabular format has been changed.
2001-01-03 Juergen Vigna
* src/insets/insettabular.C (InsetButtonPress): look for button==2
and do Clipboard Paste!
* src/insets/insettext.C (SetText): added function.
* src/insets/insettabular.C (LocalDispatch): Fixed LFUN_PASTE and
new LFUN_PASTESELECTION.
* src/insets/insettext.C (draw): don't clear if top_x changes.
* src/insets/insettabular.C (draw): clear only if the inset didn't
change in the draw routine.
* src/insets/insettext.C (width): make the width dependant on the
textWidth too.
* src/text.C (draw): comment out the UpdateInset call.
* src/screen.C (DrawOneRow):
(DrawFromTo): check for bv->text->status not text->status.
* src/insets/insettabular.C (calculate_dimensions_of_cells): calculate
dimensions of ascent-descent for the whole row.
* src/insets/insettext.C (draw): check also for need_update == INIT.
2001-01-03 Jean-Marc Lasgouttes
* Makefile.am (EXTRA_DIST): add autogen.sh
2001-01-03 Miyata Shigeru
* development/OS2/quick_fix.patch:
* lib/configure.cmd: update OS/2 support files.
2001-01-02 Juergen Vigna
* src/insets/insettabular.C (pasteSelection): rewritten correctly.
* src/tabular.C (TeXTopHLine):
(TeXBottomHLine): fixed Lars new code.
* src/insets/insettext.C (LocalDispatch): added support for math_greek.
* src/mathed/math_symbols.C (math_insert_greek): removed current_view
from this function and added a BufferView * parameter.
* src/mathed/math_symbols.C (math_insert_symbol): ditto
2000-12-31 Lars Gullik Bjønnes
* src/version.h: set to pre3
2000-12-31 Lars Gullik Bjønnes
* src/Makefile.am (lyx_SOURCES): added Floating.C
* src/Floating.h: moved all the inlines to Floating.C
* src/Floating.C: new file
2000-12-29 Jean-Marc Lasgouttes
* src/frontends/xforms/FormPreferences.C (feedback): fix
description of RC_PRINTCOPIESFLAG and RC_PRINTCOLLCOPIESFLAG.
2000-12-29 Lars Gullik Bjønnes
* src/support/FileInfo.h: move unistd.h to after sys/types.h and
sys/stat.h.
* src/support/FileInfo.C: don't include sys/types. and sys/stat.h
* src/mathed/math_inset.h: move LString.h to be included first
* src/insets/insetfloat.C: adjust for change in private variable names
* src/frontends/xforms/xform_helpers.h : don't include config.h
* src/frontends/xforms/xform_helpers.C: adjust the order of
includes, some whitespace changes.
* src/trans.C (Load): constify filename and res
* src/text2.C (SetCounter): call Floating::name()
* src/screen.C: change to not use owner from WorkArea, but from
text instead.
* src/lyxfunc.C: adjust because of changes in Intl.
* src/intl.h: make trans a object instead of pointer, inlucd
trans_mgr.h in this file.
(getTrans): return a reference to TransManager
* src/intl.C: don't include trans_mgr.h here
modify calls to trans to work on object instead of on pointer
* src/WorkArea.h: add using for Signal1
comment out forward decl of BufferView.
add signal scrollCB
remove class variable owner_ and getter method for this.
* src/WorkArea.C: don't include BufferView.h
(WorkArea): change to not take a BufferView.h, use signals
instead.
(scroll_cb): emit signal
* src/LaTeXFeatures.C: include Floatlist.h
(getPackages): only load float.sty when needed
(getMacros): prepare for outputting the correct code to preamble.
* src/Floating.h: make all variables private + rename to var_.
(Floating): default ctor
(Floating): complex ctor to set a complete Floating
(type): getter
(placement): getter
(name): getter
(builtin): getter
* src/FloatList.C (FloatList): use Floating's constructor
(begin): new method
(end): ditto
(newFloat): call type()
(defaultPlacement): call placement()
(operator): new operator
* src/BufferView_pimpl.C (Pimpl): modify call to WorkArea
(scrollUp): call pimpl's scrollCB
(scrollDown): ditto
(pasteClipboard): constify clip
* src/BufferView2.C (insertLyXFile): constify fname, fi and c.
(insertErrors): constify desctext, errortext, msgtxt and errorrow
(open_new_inset): delete some commented code.
* src/BufferView.[Ch] (enterView): comment out
(leaveView): ditto
(scrollCB): ditto
(workAreaMotionNotify): ditto
(workAreaButtonPress): ditto
(doubleClick): ditto
(tripleClick): ditto
(workAreaButtonRelease): ditto
(workAreaExpose): ditto
* config/lyxinclude.m4 (cross_compiling): small stuff to be able
to compile with cvs gcc (2.97).
2000-12-28 Dekel Tsur
* lib/ui/default.ui: menu structure cleanup.
* lib/languages: add description of entries.
2000-12-27 Jean-Marc Lasgouttes
* src/insets/ExternalTemplate.C (readTemplates): change debug
messages a bit.
(readTemplate): use lyxlex.printError to report read errors.
(readFormat): ditto.
* src/insets/insetexternal.C (Read): suppress debug message when
not needed.
2000-12-21 Dekel Tsur
* src/insets/insetinclude.C (Ascii): New method. Currently
supports only verbatim input.
2000-12-27 Jean-Marc Lasgouttes
* lib/bind/fi_menus.bind: update from Pauli Virtanen.
2000-12-22 Juergen Vigna
* src/insets/insettabular.C (InsetButtonPress): do nothing if we
have a selection and button == 3.
(UpdateLocal): if what == INIT clear selection if existent!
(InsetButtonPress): don't activate the cell inset on button==3
(Edit): ditto
(LocalDispatch): move curor up/down if exiting an inset which this
keys.
2000-12-20 Juergen Vigna
* src/mathed/formula.C (LocalDispatch): return UNDISPATCHED when
calling for the math-panel (do not unlock the math-inset if locked)!
* src/text.C (GetVisibleRow): fixed drawing of depth lines inside
text-insets (with x-offset).
* src/tabular.C (TeXCellPreamble): fixed wrong output of special
alignment of multicolumn-cells.
2000-12-19 Juergen Vigna
* src/lyxfunc.C (Dispatch):
* src/bufferview_funcs.C (changeDepth): implemented DEPTH functions
for insettext.
2000-12-19 Lars Gullik Bjønnes
* src/WorkArea.C (work_area_handler): simplify the key/keysym
handling for XForms 0.89, this might have rendered some cases
unusable. I have at least deadkeys, accent-xxx and KP_x working.
Please report proplems.
* src/lyxfunc.C (processKeySym): make the self-insert handling
work as it should
2000-12-18 Baruch Even
* src/LaTeX.C (deplog): fix spelling errors
* src/text2.C (CutSelection): ditto
* src/lyxfunc.C (Dispatch): ditto
2000-12-18 Lars Gullik Bjønnes
* lib/layouts/stdlayouts.inc: only allow align Center for Caption
* src/mathed/math_inset.C (MathMatrixInset): initialize v_align
and h_align in default init.
adjust calls to MathedRowSt
* src/mathed/math_iter.C: adjust calls to MathedRowSt
* src/mathed/math_iter.h (getAD): ditto
* src/mathed/math_defs.h (class MathedRowSt): remove friends, add
methods setBaseline, ascent, descent
(class MathMatrixInset): remove method GetAlign, change h_align
from char* to string
* src/lyxfunc.C (processKeySym): discover the correct argument if
the action is LFUN_SELFINSERT
2000-12-18 Dekel Tsur
* src/mathed/math_cursor.C (Interpret) Suppress a debug message
in normal run.
2000-12-17 Lars Gullik Bjønnes
* src/support/copy.C: don't include filetools.h
* lib/images: revert to old banner, drop the cucumber.
2000-12-12 Dekel Tsur
* src/converter.C (Formats::View): Change the current directory to
the directory of the file.
2000-12-17 Lars Gullik Bjønnes
* src/kbsequence.C (addkey): also clear sequence and modifiers if
length == 0
* src/BufferView2.C (theLockingInset): return 0 if text is 0
2000-12-17 Dekel Tsur
* Many files: Fix RTL support for insettext.
2000-12-11 John Levon
* README: add mention of broken ghostscript versions, remove
reference to non-existent BUGS file
2000-12-13 Angus Leeming
* src/support/lstrings.C (compare_no_case): small fix. When passed
length, should use it in the size comparison.
2000-12-11 Jean-Marc Lasgouttes
* src/insets/insetexternal.C (getScreenLabel): Return a default
value if the template label is empty.
* src/lyxlookup.C: do not condition on FL_REVISION.
* forms/sp_form.fd:
* src/sp_form.C: fix the font size of some text entries
* src/frontends/xforms/Menubar_pimpl.C (add_toc): honor separator
after TOC when there is no TOC.
* src/lyxrc.C (readBindFileIfNeeded): new method. Reads the main
bind file if it has not been done yet.
(read): remove local bindFile variable. Try to fix the handling of
RC_BIND and RC_BINDFILE.
* src/lyx_main.C (init): use readBindFileIfNeeded().
* lib/languages: Change description of german to "German (new
spelling)".
2000-12-07 Angus Leeming
* src/frontends/xforms/FormInset.C (createInset): activate "Ok",
"Apply" buttons if arg is non-zero.
* src/lyxfunc.C (Dispatch): enable citation to be inserted without
launching the popup if sufficient info is passed to
LFUN_CITATION_CREATE.
2000-11-23 Dekel Tsur
* src/lyx_cb.C (MenuInsertLabel): Compute a default value for new
labels (disabled in 1.1.6).
* src/lyxrc.[Ch]: New variable label_init_length
* mathed/formula.C (LocalDispatch): Preserve the label when
changing from display math to eqnarray (however, the label
do not appear at the first line, as one might expects, but at the
second line).
(LocalDispatch): When inserting a label to a formula which already
have a label, the old label is used as default value.
Also, if the label is changed, then all references to the label
are changed.
* src/mathed/math_iter.C (setLabel): Allow to set the label
even if it is empty. This is needed to allow deletion of a label
in an eqnarray.
* src/BufferView2.C (ChangeRefsIfUnique): New method. Changes the
refernces only if the old label appears once in the document.
2000-12-07 Angus Leeming
* lib/languages: added ngerman. Patch courtesy of Andreas Gehlert
* src/frontends/xforms/FormBase.C: comment out debug.h
* src/frontends/xforms/FormGraphics.[Ch] (browseFile): removed. Reuse
code in xform_helpers instead.
(d-tor): comment out "delete dialog;" and so prevent a crash on exit.
* src/frontends/xforms/FormPreferences.C: use AddName() in more places.
Use N_(), rather than _() when creating strings to pass to browseFile()
because browseFile calls gettext() itself now.
* src/frontends/xforms/xform_helpers.C (browseFile): call gettext() and
display the filename correctly.
2000-12-09 Dekel Tsur
* src/converter.C (Move): New method. Used to move file or files
from temp dir to the output dir. (this fixes the bug that
exporting linuxdoc/docbook document to html would not move all
html file from temp directory).
* src/support/filetools.C (DirList): Fixed.
* src/lstrings.C (prefixIs): Fixed (how nobody noticed it before??).
2000-12-08 Dekel Tsur
* src/converter.C (Add): Remove $$i when setting latex_command.
* src/text.C (IsBoundary): Return false when pos = 0.
2000-12-08 Dekel Tsur
* lib/kbd/hebrew.kmap: Add Hebrew points (nikud).
2000-12-07 Angus Leeming
* src/frontends/xforms/FormDocument.C (checkMarginValues): you don't
need to empty the fields to turn off use of the geometry package!
2000-12-07 Angus Leeming
* src/lyxparagraph.h, src/paragraph.C (CopyIntoMinibuffer): pass a
(Buffer const &), not a (BufferParams const &) and so fix a crash
caused by using current_view before it had been initialised. Not
the best way to do this, but much easier than changing
Inset::Clone(Buffer const &) to Inset::Clone().
* src/CutAndPaste.C:
* src/tabular.C: changed call to CopyIntoMinibuffer().
2000-12-07 Jean-Marc Lasgouttes
* lib/ui/default.ui: put TOC at the beginning of the TOC menu.
* src/lyxfunc.C (getStatus): disable insertion of floats in a
tabular.
2000-12-06 Angus Leeming
* src/frontends/xforms/FormPreferences.C (ScreenFonts::build):
changed filter for screen fonts input filter from int to float
* src/frontends/xforms/input_validators.c: removed.
* src/frontends/xforms/input_validators.C: new file. Can now call C++
functions from within the filter functions.
* src/frontends/xforms/input_validators.[Ch]
(fl_unsigned_float_filter): new filter function.
* src/frontends/xforms/forms/fdfixc.sed: I defy gettext to get
confused now! And if you think I'm going to do this in
./forms/fdfix.sh with its "sed -e" declarations, then think again!
2000-12-06 Lars Gullik Bjønnes
* src/buffer.C (asciiParagraph): small NEW_INSETS fix from Levon
* src/WorkArea.C (work_area_handler): don't handle button requests
if xbutton.button == 0
2000-12-06 Jean-Marc Lasgouttes
* lib/layouts/lyxmacros.inc: do not use \verbatim@font in lyxcode.
It creates a lot of interesting problems.
2000-12-06 Jean-Marc Lasgouttes
* src/frontends/xforms/Menubar_pimpl.C (openByName): check that
the menu exists in the current menubar before opening it.
* src/MenuBackend.C (hasSubmenu): new method.
* src/frontends/xforms/Menubar_pimpl.C: fix problem with bogus
action value by offsetting actions by a large constant (so that
bogs choice result will be less than this constant).
* lib/bind/fi_menus.bind: more cleanup to menus.
* lib/bind/sciword.bind: ditto.
* lib/bind/xemacs.bind: ditto.
* lib/bind/emacs.bind: ditto.
* lib/bind/pt_menus.bind: ditto.
* lib/bind/hu_menus.bind: ditto.
* src/gettext.h (locale_init): set locale LC_NUMERIC to "C".
* INSTALL: update PROBLEMS section.
* src/lyxlookup.h: remove condition on xforms version, since we
should not include it if not appropriate.
2000-12-05 John Levon
* src/LColor.C: "latex text" -> "latex inset" (from
Angus Leeming)
* src/lyxrc.C: "it's" -> "its" (from Angus Leeming)
* src/frontends/kde/FormTabularCreate.C:
* src/frontends/kde/citationdlg.C:
* src/frontends/kde/copyrightdlg.C:
* src/frontends/kde/paradlg.C:
* src/frontends/kde/paraextradlg.C:
* src/frontends/kde/parageneraldlg.C:
* src/frontends/kde/printdlg.C:
* src/frontends/kde/refdlg.C:
* src/frontends/kde/tabcreatedlg.C:
* src/frontends/kde/tocdlg.C:
* src/frontends/kde/urldlg.C: add necessary headers
(from Angus Leeming)
* src/frontends/kde/dlg/emptytable.C:
* src/frontends/kde/dlg/tabstack.C: ctors shouldn't have
default parameters (from Angus Leeming)
* src/frontends/kde/dlg/moc/.cvsignore:
* src/frontends/kde/dlg/.cvsignore:
* src/frontends/kde/moc/.cvsignore: fix the library name
(from Angus Leeming)
* src/frontends/kde/paradlg.C:
* src/frontends/kde/parageneraldlg.C:
* src/frontends/kde/dlg/para.dlg:
* src/frontends/kde/dlg/paradlgdata.C: added accelerators
* src/frontends/kde/dlg/README: clarified qtarch version
* src/frontends/kde/dlg/Makefile.am: removed the
dlg rules as they created spontaneous rebuilds
(not a good idea as it requires qtarch)
2000-12-05 Jean-Marc Lasgouttes
* config/lyxinclude.m4 (LYX_PATH_XFORMS): display also the
fixlevel along with xforms version.
* src/WorkArea.C (work_area_handler): use stuff in lyxlookup.h when
xforms version is strictly less than 0.89.5.
* src/lyx_gui.C (LyXGUI): ditto.
* src/LyXView.C (show): ditto.
2000-12-02 Dekel Tsur
* src/BufferView_pimpl.C (workAreaMotionNotify): Fixed mouse
movement in inset in RTL text.
(checkInsetHit): Fixed mouse movement in scrolled inset in RTL text.
(workAreaButtonRelease): Do not open a float when there is a selection.
* src/insets/insettext.C (cx): Fixed for insets in RTL text.
* src/spellchecker.C (RunSpellChecker): Open all floats before
spellchecking.
* src/text.C (InsertChar): Consider "," as a part of a number
(for LTR numbers in RTL text code).
(IsBoundary): Fixed (and simplified).
(InsertChar): Recalculate cursor boundary.
(Backspace): Ditto.
2000-12-04 John Levon
* src/spellchecker.C: fix figures with pspell enabled
* src/insets/figinset.C: workaround for gs hang xforms bug
2000-12-05 Jean-Marc Lasgouttes
* lib/bind/??_menus.bind: comment out the entries corresponding to
real menus. They should be eventually removed, but I'll let the
language maintainers do that.
2000-12-04 John Levon
* src/frontends/kde/parageneraldlg.C:
* src/frontends/kde/parageneraldlg.h: don't use
a derived class for SpaceAbove/Below
* src/frontends/kde/dlg/README: add some info
* src/frontends/kde/dlg/*: update data files, update
dialog files.
* src/frontends/kde/dlg/moc/Makefile.am: add
${FRONTEND_INCLUDES}
2000-12-04 John Levon
* configure.in: add new KDE Makefiles
* src/vspace.h: return GlueLength not a normal one
* src/support/lstrings.h:
* src/support/lstrings.C: add isStrUnsignedInt(),
strToUnsignedInt()
* src/frontends/kde/*: big reorganisation, update
FormParagraph, add FormTabCreate
2000-12-04 Angus Leeming
* lib/ui/default.ui: small grammatical change.
* src/frontends/xforms/xform_macros.h: removed.
* src/frontends/xforms/FormBase.C:
* src/frontends/xforms/FormPreferences.C:
* src/frontends/xforms/Makefile.am: changes associated with removing
xform_macros.h. Should make Lars' debugging a little easier.
* src/frontends/xforms/FormPreferences.C:
* src/frontends/xforms/FormPreferences.h:
* src/frontends/xforms/forms/form_preferences.fd (Colors tab): no
longer use X11 color name database. HSV and RGB dials/sliders.
Please let this be the end of this!
2000-11-30 Dekel Tsur
* Several files: Allow compilation when the compiler doesn't
support namespaces.
2000-11-30 Angus Leeming
* lyx.man:
* src/lyx_main.C (commandLineHelp, easyParse): documented remaining
command line options.
2000-11-17 Jean-Marc Lasgouttes
* src/frontends/xforms/Menubar_pimpl.C (makeMenubar): use
FL_MENU_BUTTON for items in menu bar. Not sure what difference it
makes, anyway.
2000-11-29 Angus Leeming
* src/frontends/xforms/FormRef.C (updateBrowser):
* src/frontends/xforms/forms/form_ref.fd: try clicking on
different insets with the sort key active. Now apply this patch!
2000-11-29 John Levon
* src/frontends/xforms/FormPrint.C: set to valid()
when we update from the passed parameters.
2000-11-29 Angus Leeming
* src/LColor.C (getFromGUIName): internationalise the comparison.
* src/lyx_gui_misc.h (LyXBell): turn off that BLOODY bell until it's a
FormPreferences choice.
* src/frontends/xforms/FormPreferences.C: some additional Color safety.
Should be redundant.
2000-11-29 John Levon
* src/lyxrc.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