X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=ChangeLog;h=3ded29d91f0e625b15a487114227bd8dc0ba8ebe;hb=67ef45b7c842efd9c971112627109724564f0c74;hp=0297db708a9b2624582fde6db276b26e269b7391;hpb=a32d2c972f88e771a326e011bc16b6d38d6e9082;p=lyx.git diff --git a/ChangeLog b/ChangeLog index 0297db708a..3ded29d91f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,1061 @@ +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