]> git.lyx.org Git - lyx.git/blobdiff - ChangeLog
fixes for the int vs unsigned long warnings
[lyx.git] / ChangeLog
index e08d0e2131dbd5ef596f6e1a4cd245bea232c9fa..6681aaf5e37494d2bfaf8aabe7fe810c887f0906 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,385 @@
+2000-10-25  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * 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  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/frontends/ButtonPolicies.h: include "support/LOstream.h" and
+       add the usual std:: qualifiers.
+
+2000-10-25  Juergen Vigna  <jug@sad.it>
+
+       * src/screen.C (ShowManualCursor): fixed another uint -> int problem.
+
+2000-10-25  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * 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 <a.leeming@ic.ac.uk>
+       
+       * 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  <larsbj@lyx.org>
+
+       * 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 <a.leeming@ic.ac.uk>
+       
+       * src/frontends/xforms/FormInset.[Ch]: Aieeeeee! Ok, I'm an idiot. 
+       
+2000-10-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * lib/kbd/latvian.kmap: new file from Janne Pänkälä (epa@iki.fi)
+
+2000-10-24  John Levon  <moz@compsoc.man.ac.uk>
+
+       * src/frontends/kde/*data.[Ch]: _("") is not
+       allowed
+
+2000-10-24  Angus Leeming <a.leeming@ic.ac.uk>
+
+       * src/buffer.C: removed redundant using directive.
+
+       * src/frontends/DialogBase.h: revert to original definition of
+       update(). 
+       
+       * src/frontends/xforms/Dialogs.C (c-tor): splitting the tabular
+       stuff into two classes, one for each dialog, requires a new
+       element in the dialogs vector, FormTabularCreate.
+
+       * src/frontends/xforms/FormXXX.[Ch] (update): revert to original
+       definition.
+
+       * src/frontends/xforms/FormBase.[Ch] (FormBaseBD::updateSlot): new
+       method. Continues Allan's idea, but means that derived classes
+       don't need to worry about "update or hide?".
+
+       * src/frontends/xforms/FormError.C (showInset): add connection
+       again ;-) 
+
+       * src/frontends/xforms/FormTabular.[Ch]: split into two classes,
+       one for each dialog. FormTabular now contains main tabular dialog
+       only.
+
+       * src/frontends/xforms/FormTabularCreate.[Ch]:
+       * src/frontends/xforms/forms/form_tabular_create.fd: the create
+       dialog. 
+
+       * src/frontends/xforms/FormGraphics.[Ch]:
+       * src/frontends/xforms/forms/form_graphics.fd
+       * src/frontends/xforms/FormTabular.[Ch]:
+       * src/frontends/xforms/forms/form_tabular.fd: made daughter
+       classes of FormInset.
+
+       * src/frontends/xforms/forms/fdfix.sh: small fix. Can now create
+       class names properly. Eg, form_my_new_dialog -> FormMyNewDialog.
+
+       * src/frontends/xforms/Makefile.am:
+       * src/frontends/xforms/forms/makefile: added new files.
+
+       * src/insets/insettabular.[Ch]: removed (Dialogs *) member
+       variable. added Signal0 hide signal, in keeping with other GUI-I
+       insets.
+
+       * src/support/lstrings.h: removed redundant std:: qualifier as
+       it's already declared in Lsstream.h.
+
+2000-10-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/insets/figinset.C (GhostscriptMsg): use DisplayString() to
+       open a new display.
+       (runqueue): ditto.
+
+2000-10-24  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/tabular.C (Ascii): minimize scope of cell.
+
+       * src/BufferView2.C (nextWord): return string() instead of 0;
+
+2000-10-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/converter.h: add a std:: qualifier
+
+2000-10-21  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * src/importer.[Ch]: New files. Used for importing files into LyX.
+
+       * src/lyxfunc.C (doImport): Use the new Importer class.
+
+       * src/converter.h: Add shortcut member to the Format class.
+       Used for holding the menu shortcut.
+
+       * src/converter.C and other files: Made a distinction between
+       format name and format extension. New formats can be defined using
+       the \format lyxrc tag.
+       Added two new converter flags: latex and disable.
+
+2000-10-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/support/lyxlib.h: unify namespace/struct implementation.
+       Remove extra declarations.
+       
+       * src/support/chdir.C (chdir): remove version taking char const *
+       argument. 
+       * src/support/rename.C: ditto.
+       * src/support/lyxsum.C: ditto.
+
+2000-10-19  Angus Leeming <a.leeming@ic.ac.uk>
+
+       * src/frontends/xforms/FormBase.[Ch]:
+       * src/frontends/xforms/FormXXX.[Ch] where XXX is a FormBase daughter:
+       read the xforms manual to discover that fl_set_form_minsize()/maxsize()
+       work only for the next call to fl_show_form(). The correct place to set
+       them, therefore is in connect() immediately BEFORE fl_show_form(). Now
+       done. FormBase also stores minw_, minh_ itself. All dialogs derived
+       from FormBase have the minimum size set; no more stupid crashes with
+       tabbed folders etc.
+
+2000-10-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * lib/ui/default.ui: fix shortcut for Insert->Include File.
+
+2000-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * lib/CREDITS: add Andre' Poenitz and Kornelia Pietsch
+
+       * src/support/lyxlib.h: changed second argument of mkdir to
+       unsigned long int (unsigned int would probably have been enough,
+       but...). Removed <sys/types.h> header.
+       * src/support/mkdir.C (mkdir): ditto.
+
+       * NEWS: update.
+
+2000-10-19  Juergen Vigna  <jug@sad.it>
+
+       * src/lyxfunc.C (MenuNew): small fix (form John)
+
+       * src/screen.C (Update): removed unneeded code.
+
+       * src/tabular.C (Ascii): refixed int != uint bug!
+
+       * src/support/lyxlib.h: added sys/types.h include for now permits
+       compiling, but I don't like this!
+
+2000-10-18  Juergen Vigna  <jug@sad.it>
+
+       * src/text2.C (ClearSelection): if we clear the selection we need
+       more refresh so set the status apropriately
+
+       * src/insets/insettext.C (draw): hopefully finally fixed draw
+       problems!
+
+2000-10-12  Juergen Vigna  <jug@sad.it>
+
+       * src/insets/insettext.C (draw): another small fix and make a block
+       so that variables are localized.
+
+2000-10-18  Angus Leeming <a.leeming@ic.ac.uk>
+
+       * src/support/lstrings.C (lowercase, uppercase):
+       use explicit casts to remove compiler warnings.
+
+       * src/support/LRegex.C (Impl):
+       * src/support/StrPool.C (add):
+       * src/support/filetools.C (MakeAbsPath, NormalizePath, MakeRelPath)
+       (AddPath, MakeDisplayPath):
+       * src/support/lstrings.C (prefixIs, subst):
+       use correct type to remove compiler warnings.
+
+       * src/support/lstrings.[Ch] (countChar): returns string::size_type.
+
+       * src/support/lyxlib.h:
+       * src/support/mkdir.C (mkdir): change parameter to mode_t for
+       portability and to remove compiler warning with DEC cxx.
+
+       * src/support/FileInfo.[Ch] (flagRWX): ditto.
+
+2000-10-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/minibuffer.C (peek_event): retun 1 when there has been a
+       mouseclick in the minibuffer.
+
+       * NEWS: updated.
+
+2000-10-17  John Levon  <moz@compsoc.man.ac.uk>
+
+       * src/frontends/xforms/FormParagraph.C: more space above/below
+       fixes
+
+2000-10-17  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * src/lyxfunc.C (Dispatch): Call to showState() after insertion of 
+       a char only if real_current_font was changed.
+
+2000-10-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * NEWS: update somewhat for 1.1.6
+
+       * lib/ui/default.ui: clean up.
+
+2000-10-17  Angus Leeming <a.leeming@ic.ac.uk>
+
+       * lib/CREDITS: clean up
+
+2000-10-16  Angus Leeming <a.leeming@ic.ac.uk>
+
+       * src/combox.[Ch] (select): changed argument back to int
+       * src/combox.C (peek_event): removed num_bytes as it is declared but
+       never referenced.
+
+       * src/frontends/xforms/FormDocument.C (class_apply, bullets_apply):
+       modified calls to Combox::select() to remove warnings about type
+       conversion.
+
+       * src/insets/insetbutton.C (width): explicit cast to remove warning
+       about type conversion.
+
+       * src/insets/insetcite.C (getScreenLabel): use string::size_type not
+       size_t.
+
+       * src/insets/insettabular.[Ch]: variables inset_pos, sel_pos_start and
+       sel_pos_end, refering to cursor position are changed to
+       LyXParagraph::size_type.
+
+       * src/insets/insettext.h (cpos): returns LyXParagraph::size_type,
+       consistent with LyXCursor::pos().
+       (inset_pos): changed to LyXParagraph::size_type for same reason.
+
+       * src/insets/insettext.C (resizeLyXText): changed some temporary
+       variables refing to cursor position to LyXParagraph::size_type.
+
+2000-10-16  John Levon  <moz@compsoc.man.ac.uk>
+
+       * src/frontends/kde/<various>: The Great Renaming,
+       add FormParagraph
+
+2000-10-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/frontends/support/Makefile.am (EXTRA_DIST): re-fix.
+
+2000-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/mathed/math_macro.C (MathMacroTemplate): initialize args to
+       0 when there are no arguments.
+
+2000-10-16  Angus Leeming <a.leeming@ic.ac.uk>
+
+       * src/insets/insetbib.C: re-introduce current_view as a temporary fix
+       to segfaults when pressing Ok in InsetBibtex dialog.
+
+2000-10-16  Angus Leeming <a.leeming@ic.ac.uk>
+
+       * forms/layout_forms.fd:
+       * src/layout_forms.C (create_form_form_character): small change to use
+       labelframe rather than engraved frame + text
+
+       * src/lyx_gui.C (create_forms): initialise choice_language with some
+       arbitrary value to prevent segfault when dialog is shown.
+
+2000-10-16  Baruch Even  <baruch.even@writeme.com>
+
+       * src/converter.C (runLaTeX, scanLog): Added a warning when there
+       is no resulting file. This pertains only to LaTeX output.
+
+2000-10-14  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * src/text.C (Backspace): Make sure that the row of the cursor is
+       rebreaked.
+
+       * src/lyxfunc.C (Dispatch): Call to showState() after insertion of 
+       a char.
+
+       * src/lyx_gui.C (init): Prevent a crash when only one font from 
+       menu/popup fonts is not found.
+
+       * lib/lyxrc.example: Add an example for binding a key for language 
+       switching.
+
+2000-10-15  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * src/converter.C (GetReachable): Changed the returned type to
+       vector<FormatPair>
+       (IsReachable): New method
+
+       * src/MenuBackend.C (expand): Handle formats that appear more
+       than once
+
+2000-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/frontends/support/Makefile.am
+       (libfrontendsupport_la_EXTRA_DIST): add LyXImage_X.[Ch] here and
+       not in SOURCES.
+
+       * lib/CREDITS: add Garst Reese.
+
+       * src/support/snprintf.h: add extern "C" {} around the definitions.
+
+       * src/cheaders/cstdarg: new header file, taken from GNU libstdc++.
+
+2000-10-13  Angus Leeming <a.leeming@ic.ac.uk>
+
+       * src/combox.[Ch]:
+       * src/frontends/xforms/FormDocument.C:
+       * src/frontends/xforms/Menubar_pimpl.C: small changes so that they
+       compile without "conversion to integral type of smaller size"
+       warnings.
+       
+2000-10-13  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * src/text.C (GetColumnNearX): Fixed disabled code.
+
+2000-10-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * configure.in (CPPFLAGS): add snprintf and vsnprintf to
+       AC_CHECK_FUNCS
+
+       * src/support/snprintf.[ch]: new files
+
+2000-10-13  John Levon  <moz@compsoc.man.ac.uk>
+
+       * src/frontends/kde/formprintdialog.C: add
+       file browser for selecting postscript output
+
+       * src/frontends/kde/formprintdialogdata.C:
+       * src/frontends/kde/formprintdialogdata.h: re-generate
+       correctly
+
+2000-10-13  John Levon  <moz@compsoc.man.ac.uk>
+
+       * src/frontends/gnome/Makefile.am:
+       * src/frontends/kde/Makefile.am:  FormCommand.C
+       disappeared from xforms
+
+       * src/frontends/kde/FormCitation.C:
+       * src/frontends/kde/FormIndex.C: read-only
+       correctness 
+
 2000-10-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
 
        * src/support/lyxfunctional.h (void_class_fun_t): fix name of
@@ -9,8 +391,7 @@
 
        * src/support/lyxfunctional.h: version of class_fun for void
        returns added, const versions of back_inseter_fun and compare_fun
-       added.
-       
+       added.  
 
 2000-10-13  Angus Leeming <a.leeming@ic.ac.uk>
 
        * src/insets/insetbutton.C (width): Changed to work with no GUI.
        * src/insets/insetbib.C (bibitemWidest): ditto.
        * src/lyx_gui_misc.C (AskQuestion,AskConfirmation,askForText): ditto.
-            
+
 2000-10-03  Juergen Vigna  <jug@sad.it>
 
        * src/BufferView2.C (theLockingInset): removed const because of
 2000-09-27  Lars Gullik Bjønnes  <larsbj@lyx.org>
 
        * src/insets/insettext.C (Ascii): return numer of '\n' in the text
-       outputed to the ostream.
+       output to the ostream.
 
        * several files: fixed types based on warnings from cxx 
 
        * src/frontends/xforms/Toolbar_pimpl.C: 
        * src/lyx_cb.C (LayoutsCB): added Combox * to function call.
 
-2000-09-14  Garst Reese    <reese@isn.net>
+2000-09-14  Garst Reese  <reese@isn.net>
 
        * lib/tex/hollywood.cls changed length of parenthicals to 1.5in
        moved usepackage{xxx}'s to beginning of file. Changed left margin
        * src/lyxrc.C, src/lyxrc.h, src/BufferView_pimpl.C,
        lib/lyxrc.example: added option \wheel_jump
 
-2000-07-04   R. Lahaye  <lahaye@postech.ac.kr>
+2000-07-04  R. Lahaye  <lahaye@postech.ac.kr>
 
        * src/lyx_gui.C src/lyx_main.C: add support for -geometry, and
        remove support for -width,-height,-xpos and -ypos.