+2000-10-12 Juergen Vigna <jug@sad.it>
+
+ * development/Code_rules/Rules: fixed some typos.
+
+2000-10-09 Baruch Even <baruch.even@writeme.com>
+
+ * src/filedlg.C (GroupCache::find): de-inlined the function, makes
+ compiling on egcs 1.1.2 possible.
+
+ * src/filedlg.C (comp_direntry::operator() ): ditto.
+
+2000-08-31 Baruch Even <baruch.even@writeme.com>
+
+ * src/lyx_cb.[hC] (ShowMessage): Result of the const-ificiation of the
+ Buffer parameter.
+
+ * src/frontends/xforms/FormGraphics.C: Changed the dialog to be
+ transient it now only gets freed when the object is destructed.
+
+2000-08-24 Baruch Even <baruch.even@writeme.com>
+
+ * src/frontends/FormGraphics.h:
+ * src/frontends/FormGraphics.C: Changed to use ButtonController and
+ ButtonPolicies.
+
+2000-08-20 Baruch Even <baruch.even@writeme.com>
+
+ * src/insets/insetgraphics.C:
+ (draw): Added messages to the drawn rectangle to report status.
+ (updateInset): Disabled the use of the inline graphics,
+ (draw): ditto.
+
+2000-08-17 Baruch Even <baruch.even@writeme.com>
+
+ * src/frontends/support: Directory added for the support of GUII LyX.
+
+ * src/frontends/support/LyXImage.h:
+ * src/frontends/support/LyXImage.C: Base class for GUII holding of
+ images.
+
+ * src/frontends/support/LyXImage_X.h:
+ * src/frontends/support/LyXImage_X.C: Implementation of the Xlib
+ version of LyXImage, this uses the Xlib Pixmap.
+
+ * src/PainterBase.h:
+ * src/PainterBase.C:
+ * src/Painter.h:
+ * src/Painter.C: Added a new method image() to draw LyXImage-s, a GUII
+ replacement to Pixmap.
+
+ * src/insets/insetgraphics.h:
+ * src/insets/insetgraphics.C:
+ * src/graphics/GraphicsCacheItem.h:
+ * src/graphics/GraphicsCacheItem.C:
+ * src/graphics/GraphicsCacheItem_pimpl.h:
+ * src/graphics/GraphicsCacheItem_pimpl.C: Changed to use LyXImage
+ instead of Pixmap.
+
+ * src/graphics/GraphicsCacheItem.h:
+ * src/graphics/GraphicsCacheItem.C: Added the Clone() method to create
+ another copy of the object.
+
+ * src/insets/insetgraphics.C (Clone): Changed to create a second copy
+ of cacheHandle, this fixed a bug that sent LyX crashing.
+
+ * src/graphics/XPM_Renderer.h:
+ * src/graphics/XPM_Renderer.C:
+ * src/graphics/EPS_Renderer.h:
+ * src/graphics/EPS_Renderer.C: Changed to Unix LF from DOS CRLF.
+
+2000-10-12 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/lyxfunc.C (processKeySym): only handle the
+ lockinginset/inset stuff if we have a buffer and text loaded...
+
+ * lib/Makefile.am (EXTRA_DIST): add encodings and languages
+
+2000-10-12 <larsbj@baywatch.lyx.org>
+
+ * src/support/lyxfunctional.h: add operator= that takes a reference
+
+ * src/lyxserver.C (mkfifo): make first arg const
+
+ * src/layout.h: renamed name(...) to setName(...) to work around
+ bugs in egcs.
+
+ * src/buffer.C (setFileName): had to change name of function to
+ work around bugs in egcs. (renamed from fileName)
+
+2000-10-11 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * src/support/translator.h: move helper template clsses to
+ lyxfunctional.h, inlcude 2support/lyxfunctional.h"
+
+ * src/support/lyxmanip.h: add delaration of fmt
+
+ * src/support/lyxfunctional.h: new file
+ (class_fun_t): new template class
+ (class_fun): helper template function
+ (back_insert_fun_iterator): new template class
+ (back_inserter_fun): helper template function
+ (compare_memfun_t): new template class
+ (compare_memfun): helper template function
+ (equal_1st_in_pair): moved here from translator
+ (equal_2nd_in_pair): moved here from translatro
+
+ * src/support/fmt.C: new file
+ (fmt): new func, can be used for a printf substute when still
+ using iostreams ex. lyxerr << fmg("Hello %s", "Jürgen") << endl;
+
+ * src/support/StrPool.C: add some comment
+
+ * src/support/Makefile.am (libsupport_la_SOURCES): add fmt.C and
+ lyxfunctional.h
+
+ * src/insets/figinset.C (addpidwait): use std::copy with
+ ostream_iterator to fill the pidwaitlist
+
+ * src/graphics/XPM_Renderer.C (renderImage): use ScreenOfDisplay
+
+ * src/frontends/xforms/Toolbar_pimpl.C (updateLayoutList): remove
+ c_str()
+
+ * src/frontends/xforms/Menubar_pimpl.C: make several file scope
+ variables static
+
+ * src/frontends/xforms/FormParagraph.C (input): use lyx::atoi
+
+ * src/frontends/xforms/FormDocument.C (build): remove c_str()
+ (class_update): ditto
+ (BulletPanel): ditto
+ (CheckChoiceClass): move initialization of tc and tct
+
+ * src/tabular.C: remove current_view
+ (OldFormatRead): similar to right below [istream::ignore]
+
+ * src/lyxlex_pimpl.C (next): add code for faster skipping of
+ chars, unfortunately this is buggy on gcc 2.95.2, so currently
+ unused [istream::ignore]
+
+ * src/lyxfunc.C: include "support/lyxfunctional.h"
+ (getInsetByCode): use std::find_if and compare_memfun
+
+ * src/lyxfont.C (stateText): remove c_str()
+
+ * src/lyx_main.C (setDebuggingLevel): make static
+ (commandLineHelp): make static
+
+ * src/lyx_gui_misc.C (getScreenDPI): use ScreenOfDisplay to get
+ Screen* together with fl_get_display() and fl_screen
+
+ * src/lyx_gui.C (LyXGUI): use ScreenOfDisplay to get Screen*
+ togheter with fl_get_display() and fl_screen
+ (create_forms): remove c_str()
+
+ * src/layout.C: include "support/lyxfunctional.h"
+ (hasLayout): use std::find_if and compare_memfun
+ (GetLayout): use std::find_if and comapre_memfun
+ (delete_layout): use std::remove_if and compare_memfun
+ (NumberOfClass): use std:.find_if and compare_memfun
+
+ * src/gettext.h: change for the new functions
+
+ * src/gettext.C: new file, make _(char const * str) and _(string
+ const & str) real functions.
+
+ * src/font.C (width): rewrite slightly to avoid one extra variable
+
+ * src/debug.C: initialize Debug::ANY here
+
+ * src/commandtags.h: update number comments
+
+ * src/combox.h (get): make const func
+ (empty): make const
+ (getline): make const
+
+ * src/combox.C (input_cb): handle case where fl_get_input can
+ return NULL
+
+ * src/bufferlist.C: add <functional>, "support/lyxmanip.h",
+ "support/lyxfunctional.h", remove currentview variable.
+ (resize): use std::for_each with std::mem_fun
+ (getFileNames): use std::copy with back_inserter_fun
+ (getBuffer): change arg type to unsigned int
+ (emergencyWriteAll): call emergencyWrite with std::for_each and
+ class_fun.
+ (emergencyWrite): new method, the for loop in emergencyWriteAll
+ has been unrolled.
+ (exists): use std::find_if with compare_memfun
+ (getBuffer): use std::find_if and compare_memfun
+
+ * src/buffer.h: add typedefs for iterator_category, value_type
+ difference_type, pointer and reference for inset_iterator
+ add postfix ++ for inset_iterator
+ make isnet_iterator::getPos() const
+
+ * src/buffer.C: added support/lyxmanip.h
+ (readFile): use lyxerr << fmt instead of printf
+ (makeLaTeXFile): use std::copy to write out encodings
+
+
+ * src/Painter.C (text): rewrite slightly to avoid extra font variable
+
+ * src/MenuBackend.C (read): remove c_str(), as well as strdup and
+ free and the char * temp.
+ (hasMenu): use std::find_if and compare_memfun
+ (getMenu): ditto
+
+ * src/Makefile.am (lyx_SOURCES): added gettext.C
+
+ * src/LyXAction.C (retrieveActionArg): clear the arg, use
+ string::insert small change to avoid temporary
+
+ * src/LColor.C (getGUIName): remove c_str()
+
+ * several files: change all occurances of fl_display to
+ fl_get_display()
+
+ * config/lyxinclude.m4 (LYX_PROG_CXX): add a 2.97 clause so
+ that -pedantid is not used for gcc 2.97 (cvs gcc)
+
+ * boost/Makefile.am: begin slowly to prepare for a real boost lib
+
+2000-10-11 Allan Rae <rae@lyx.org>
+
+ * src/frontends/xforms/FormPreferences.C (input): template path must be
+ a readable directory. It doesn't need to be writeable.
+ (build, delete, update, apply): New inputs in the various tabfolders
+
+ * src/frontends/xforms/forms/form_preferences.fd:
+ * src/frontends/xforms/FormPreferences.h: New tabfolder and added
+ several new entries to existing folders. Shuffled some existing stuff
+ around.
+
+ * src/frontends/xforms/forms/form_print.fd:
+ * src/frontends/xforms/FormPrint.C (apply): rename unsorted to collated.
+ Should probably rework PrinterParams as well. Note that the switch to
+ collated is effectively the same as !unsorted so changing PrinterParams
+ will require a lot of fiddly changes to reverse the existing logic.
+
+ * src/lyx_cb.C (TimerCB): cleaned up Angus's patch.
+
+2000-10-10 Angus Leeming <a.leeming@ic.ac.uk>
+
+ * src/lyx_cb.C (TimerCB): fix crash when fd_form_title doesn't exist.
+
2000-10-10 Allan Rae <rae@lyx.org>
* src/lyxrc.[Ch]:
and the users settings.
* src/lyx_main.C:
- * src/lyxrc.[Ch]: commented out noncopyable so I can keep a system_lyxrc.
- I'll rewrite this later, after 1.1.6 probably, to keep a single LyXRC but
- two instances of a LyXRCStruct.
+ * src/lyxrc.[Ch]: commented out noncopyable so I can keep a
+ system_lyxrc.
+ I'll rewrite this later, after 1.1.6 probably, to keep a single
+ LyXRC but two instances of a LyXRCStruct.
2000-10-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* src/frontends/xforms/forms/form_paragraph.fd: now derived from
FormBase.
- * src/frontends/xforms/FormToc.h (updateOrHide): override default
- behaviour. Calls update() only.
-
2000-10-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* lib/bind/cua.bind: fix a bit.