]> git.lyx.org Git - lyx.git/blobdiff - ChangeLog
patch from Angus
[lyx.git] / ChangeLog
index fb7bd09db3edc050de4bf7a412256cce31ce8404..c3b2d5607cb3c3b31aab9426cdb592330a1a0e9a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,466 @@
+2000-08-01  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * src/insets/insetcommand.h (hide): new SigC::Signal0
+       (d-tor) new virtual destructor emits hide signal
+
+       * src/insets/insetcite.[Ch] (hide, d-tor, EditMessage): removed
+       * src/insets/inseturl.[Ch]  (hide, d-tor): ditto
+
+       * src/insets/insettoc.[Ch]: one inset now deals with TOC, LOA,
+       LOF and LOT. Inset is now GUI-independent
+
+       * src/insets/insetloa.[Ch]: redundant
+       * src/insets/insetlof.[Ch]: ditto
+       * src/insets/insetlot.[Ch]: ditto
+       
+       * src/frontends/xforms/forms/form_url.fd: tweaked!
+       * src/frontends/xforms/forms/form_citation.fd: ditto
+
+       * src/frontends/xforms/FormCommand.[Ch]: new base class to those
+       dialogs dealing with InsetCommand insets
+
+       * src/frontends/xforms/FormCitation.[Ch]: now makes use of
+       FormCommand base class
+       * src/frontends/xforms/FormUrl.[Ch]: ditto
+
+       * src/frontends/xforms/forms/form_toc.fd: Xforms implementation
+       of the TOC dialog
+       * src/frontends/xforms/FormToc.[Ch]: ditto
+
+       * src/frontends/Dialogs.h (showCitation, showTOC, showUrl): all
+       passed a generic InsetCommand pointer
+       * src/frontends/xforms/Dialogs.C (c-tor): create instance of FormToc
+
+       * src/lyxfunc.C (Dispatch) : modified to accomodate new FormToc class
+       and modified InsetTOC class
+       * src/buffer.C: ditto                    
+
+       * forms/lyx.fd: strip out old FD_form_toc code
+       * src/lyx_gui_misc.C: ditto
+       * src/lyx_gui.C: ditto
+       * src/lyx_cb.C: ditto
+       * src/lyx.[Ch]: ditto
+                         
+2000-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/support/utility.hpp: tr -d '\r'
+
+2000-08-01  Juergen Vigna  <jug@sad.it>
+
+       * src/insets/insettabular.h: removed initFeatures() as it's not needed.
+
+       * src/commandtags.h: 
+       * src/LyXAction.C (init): added LFUN_LAYOUT_TABULAR and
+       LFUN_TABULAR_FEATURES.
+
+       * src/lyxfunc.C (getStatus): implemented LFUN_TABULAR_FEATURES and
+       LFUN_LAYOUT_TABULAR.
+
+       * src/insets/insettabular.C (getStatus): implemented helper function.
+
+       * lib/ui/default.ui: implemented edit-table-menu and layout-tabular.
+
+2000-07-31  Juergen Vigna  <jug@sad.it>
+
+       * src/text.C (draw): fixed screen update problem for text-insets.
+
+       * src/text2.C (SetParagrpah): call an update of the inset-owner when
+       something changed probably this has to be added in various other
+       functions too.
+
+       * src/insets/insettext.C (cy): fixed to give back the right cursor.y().
+
+2000-07-31  Baruch Even <baruch.even@writeme.com>
+
+       * src/frontends/xforms/RadioButtonGroup.C: Changed to use home-brew
+       templates to satisfy compaq cxx.
+
+
+2000-07-31  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/support/translator.h (equal_1st_in_pair::operator()): take
+       const ref pair_type as arg. 
+       (equal_2nd_in_pair::operator()): ditto
+       (Translator::~Translator): remove empty d-tor.
+
+       * src/graphics/GraphicsCache.C: move include config.h to top, also
+       put initialization of GraphicsCache::singleton here.
+       (~GraphicsCache): move here
+       (addFile): take const ref as arg
+       (removeFile): ditto
+
+       * src/lyxlex_pimpl.C (setFile): comment in old behaviour
+
+       * src/BufferView2.C (insertLyXFile): change te with/without header
+       check slightly.
+
+2000-07-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/frontends/xforms/FormGraphics.C (apply): add some
+       static_cast. Not very nice, but required by compaq cxx.
+
+       * src/frontends/xforms/RadioButtonGroup.h: include header
+       <utility> instead of <pair.h>
+
+       * src/insets/insetgraphicsParams.C: add using directive. 
+       (readResize): change return type to void. 
+       (readOrigin): ditto.
+
+       * src/lyxfunc.C (getStatus): add missing break for build-program
+       function; add test for Literate for export functions.
+
+       * lib/ui/default.ui: fix Insert->TOC->TOC; comment out invalid
+       entries in Options menu.
+
+2000-07-31  Baruch Even <baruch.even@writeme.com>
+
+       * src/frontends/xforms/Toolbar_pimpl.C (toolbarItem::operator=):
+       protect against auto-allocation; release icon when needed.
+
+2000-07-31  Matej Cepl <CeplM@seznam.cz>
+
+       * lib/kbd/czech.kmap: new file. standard Czech keyboard as found
+       on usual typewriter.
+
+       * lib/kbd/czech-prg.kmap: simpler czech kmap (which was the
+       earlier czech.kmap), useful only for programming.
+
+2000-07-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/frontends/xforms/FormCitation.h: fix conditioning around
+       #pragma. 
+
+2000-07-31  Juergen Vigna  <jug@sad.it>
+
+       * src/frontends/xforms/FormTabular.C (local_update): changed
+       radio_linebreaks to radio_useparbox and added radio_useminipage.
+
+       * src/tabular.C: made support for using minipages/parboxes.
+
+       * src/bufferlist.C (QwriteAll): small fix for asking for save.
+
+       * src/insets/insetgraphics.C (draw): just draw the inset so that the
+       cursor is visible.
+       (descent): so the cursor is in the middle.
+       (width): bit smaller box.
+
+       * src/insets/insetgraphics.h: added display() function.
+
+2000-07-31  Baruch Even <baruch.even@writeme.com>
+
+       * src/frontends/Dialogs.h: Added showGraphics signals.
+    
+       * src/frontends/xforms/forms/form_graphics.fd: Added file, the
+                   xforms form definition of the graphics dialog.
+
+       * src/frontends/xforms/FormGraphics.h: 
+       * src/frontends/xforms/FormGraphics.C: Added files, the
+       GUIndependent code of InsetGraphics
+    
+       * src/insets/insetgraphics.h: 
+       * src/insets/insetgraphics.C: Major writing to make it work.
+
+       * src/insets/insetgraphicsParams.h:     
+       * src/insets/insetgraphicsParams.C: Added files, parameter passing
+       struct between InsetGraphics and GUI.
+
+       * src/LaTeXFeatures.h:
+       * src/LaTeXFeatures.C (c-tor, require, getPackages): Enabled
+       support for graphicx package. 
+
+       * src/buffer.C (parseSingleLyXformat2Token): Fixed read support
+       for the graphics inset.
+
+       * src/support/translator.h: Added file, used in
+       InsetGraphicsParams. this is a template to translate between two
+       types.
+
+       * src/frontends/xforms/RadioButtonGroup.h: 
+       * src/frontends/xforms/RadioButtonGroup.C: Added files, Comprise a
+       way to easily control a radio button group.
+
+2000-07-28  Juergen Vigna  <jug@sad.it>
+
+       * src/insets/insettabular.C (LocalDispatch): 
+       (TabularFeatures): added support for lyx-functions of tabular features.
+       (cellstart): refixed this function after someone wrongly changed it.
+
+       * src/commandtags.h:
+       * src/LyXAction.C (init): added support for tabular-features
+
+2000-07-28  Allan Rae  <rae@lyx.org>
+
+       * src/frontends/xforms/FormPreferences.C (build): Setup input return
+       checking.  NOTE: It seems that pressing ESC to cancel the dialog also
+       triggers the callback for input checking. As a result we sometimes get
+       "LyX: This shouldn't happen..." printed to cerr.
+       (input): Started using status variable since I only free() on 
+       destruction.  Some input checking for paths and font sizes.
+
+       * src/frontends/xforms/FormPreferences.h: Use status to control 
+       activation of Ok and Apply
+
+       * src/frontends/xforms/forms/form_preferences.fd: Setup input return
+       callback.  Also resized to stop segfaults with 0.88.  The problem is
+       that xforms-0.88 requires the folder to be wide enough to fit all the
+       tabs.  If it isn't it causes all sorts of problems.
+
+       * src/frontends/xforms/FormCopyright.[hC]: forward declare FD_form...
+
+       * src/frontends/xforms/forms/README: Reflect reality.
+
+       * src/frontends/xforms/forms/fdfix.sh: Clean up comments
+       * src/frontends/xforms/forms/makefile: ditto.
+
+       * src/commandtags.h: Get access to new Preferences dialog
+       * src/LyXAction.C: ditto
+       * src/lyxfunc.C: ditto
+       * lib/ui/default.ui: ditto
+
+2000-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/frontends/xforms/forms/makefile (.c.C): change call to fdfix.sh.
+
+       * src/frontends/xforms/Makefile.am (libxforms_la_SOURCES): add a
+       few files.
+
+       * src/frontends/xforms/form_url.[Ch]: added.
+
+2000-07-27  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/insets/insetbib.h: fixed bug in previous commit
+
+       * src/frontends/xforms/FormUrl.h: ditto
+
+       * src/frontends/xforms/FormPrint.h: ditto
+
+       * src/frontends/xforms/FormPreferences.h: ditto
+
+       * src/frontends/xforms/FormCopyright.h: ditto
+
+       * src/frontends/xforms/FormCitation.C: ditto
+
+       * src/frontends/Dialogs.h (class Dialogs): use noncopyable, remove
+       private copyconstructor and private default contructor
+
+       * src/support/Makefile.am: add utility.hpp
+
+       * src/support/utility.hpp: new file from boost
+
+       * src/insets/insetbib.h: set owner in clone
+
+       * src/frontends/xforms/FormCitation.C: added missing include
+       algorithm
+
+       * src/insets/form_url.[Ch]: removed
+
+2000-07-26  Kayvan A. Sylvan <kayvan@sylvan.com>
+
+       * development/lyx.spec.in
+       * Makefile.am: Fix buglet for LyX RPM generation resulting from
+       file/directory re-organization.
+                
+2000-07-26  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * src/insets/insetcommand.[Ch]: moved the string data and
+       associated manipulation methods into a new stand-alone class
+       InsetCommandParams. This class has two additional methods
+       getAsString() and setFromString() allowing the contents to be
+       moved around as a single string.
+       (addContents) method removed.
+       (setContents) method no longer virtual.
+
+       * src/buffer.C (readInset): made use of new InsetCitation,
+       InsetUrl constructors based on InsetCommandParams.
+
+       * src/commandtags.h: add LFUN_INSERT_URL
+
+       * src/lyxfunc.C (Dispatch): changed to accomadate GUI-
+       independent InsetUrl and use InsetCommandParams to extract
+       string info and create new Insets.
+
+       * src/frontends/Dialogs.h: add signals showUrl, createUrl.
+
+       * src/frontends/xforms/FormCitation.C (apply): uses 
+       InsetCommandParams.
+
+       * src/frontends/xforms/form_url.C
+       * src/frontends/xforms/form_url.h
+       * src/frontends/xforms/FormUrl.h
+       * src/frontends/xforms/FormUrl.C
+       * src/frontends/xforms/forms/form_url.fd: new files
+
+       * src/insets/insetcite.[Ch]: removed unused constructors.
+
+       * src/insets/insetinclude.[Ch]: no longer store filename
+
+       * src/insets/inseturl.[Ch]: GUI-independent.
+
+2000-07-26  Juergen Vigna  <jug@sad.it>
+       * renamed frontend from gtk to gnome as it is that what is realized
+       and did the necessary changes in the files.
+       
+2000-07-26  Marko Vendelin <markov@ioc.ee>
+       * autogen.sh
+       * configure.in: cleaning up gnome configuration scripts
+
+2000-07-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/frontends/xforms/Menubar_pimpl.C (set): fix the disappearing
+       shortcuts syndrom by redrawing them explicitely (a better solution
+       would be appreciated).
+
+       * src/lyxfunc.C (getStatus): fix crash when functions are disabled.
+
+       * src/frontends/xforms/Menubar_pimpl.C (set): fix the shortcut of
+       the button.
+
+       * src/lyx_cb.C (MenuExport): change html export to do the right
+       thing depending of the document type (instead of having
+       html-linuxdoc and html-docbook).
+       * src/lyxfunc.C (getStatus): update for html
+       * lib/ui/default.ui: simplify due to the above change.
+       * src/menus.C (ShowFileMenu): update too (in case we need it).
+
+       * src/MenuBackend.C (read): if a menu is defined twice, add the
+       new entries to the exiting one.
+
+2000-07-26  Juergen Vigna  <jug@sad.it>
+
+       * src/buffer.h: added functions setUnnamed(bool) and isUnnamed().
+
+       * src/lyx_cb.C (MenuWriteAs): Changed to react right for unnamed docs
+       and return a bool if it did actual save the file.
+       (AutoSave): don't autosave a unnamed doc.
+
+       * src/bufferlist.C (close) (QwriteAll) (emergencyWriteAll):
+       check if this is an UNNAMED new file and react to it.
+       (newFile): set buffer to unnamed and change to not mark a new
+       buffer dirty if I didn't do anything with it.
+
+       * src/lyxfunc.C (MenuNew): Changed to not ask for filename on new.
+
+2000-07-26  Lars Gullik Bjønnes  <larsbj@lyx.org>
+
+       * src/frontends/Menubar.h: make "struct Pimpl;" public + the
+       friend as per Angus's patch posted to lyx-devel.
+
+       * src/ext_l10n.h: updated
+
+       * src/frontends/xforms/Toolbar_pimpl.C (updateLayoutList): run
+       gettext on the style string right before inserting them into the
+       combox. 
+
+       * autogen.sh: add code to extract style strings form layout files,
+       not good enough yet. 
+
+       * src/frontends/gtk/.cvsignore: add MAKEFILE
+
+       * src/MenuBackend.C (read): run the label strings through gettext
+       before storing them in the containers.
+
+       * src/ext_l10n.h: new file 
+
+       * autogen.sh : generate the ext_l10n.h file here
+
+2000-07-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/lyxrc.C (read): do not use LyXLex::lex() to parse set_color
+       arguments. 
+
+       * lib/ui/default.ui: fix a couple of typos.
+
+       * config/gnome/gtk.m4: added (and added to the list of files in 
+       autogen.sh).
+
+       * src/insets/insetinclude.C (unique_id): fix when we are using
+       lyxstring instead of basic_string<>. 
+       * src/insets/insettext.C (LocalDispatch): ditto.
+       * src/support/filetools.C: ditto.
+
+       * lib/configure.m4: create the ui/ directory if necessary.
+
+       * src/LyXView.[Ch] (updateToolbar): new method.
+
+       * src/BufferView_pimpl.C (buffer): update the toolbar when
+       opening/closing buffer.
+
+2000-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * src/LyXAction.C (getActionName): enhance to return also the name
+       and options of pseudo-actions.
+       (init): New lyxfunc LFUN_MATH_PANEL=="math-panel".
+
+       * lib/ui/default.ui: use OptItem in the vc submenu (intented just
+       as an example of what is possible). Used in File->Build too (more
+       useful) and in the import/export menus (to mimick the complicated
+       handling of linuxdoc and friends). Try to update all the entries.
+
+       * src/frontends/xforms/Menubar_pimpl.C (create_submenu): handle
+       optional entries.
+
+       * src/MenuBackend.C (read): Parse the new OptItem tag.
+
+       * src/MenuBackend.h: Add a new optional_ data member (used if the
+       entry should be omitted when the lyxfunc is disabled).
+
+       * src/frontends/xforms/Menubar_pimpl.C (string_width): new
+       function, used as a shortcut.
+       (create_submenu): align correctly the shortcuts on the widest
+       entry.
+       
+       * src/MenuBackend.h: MenuItem.label() only returns the label of
+       the menu without shortcut; new method shortcut().
+       
+2000-07-14  Marko Vendelin <markov@ioc.ee>
+
+       * src/frontends/gtk/Dialogs.C:
+       * src/frontends/gtk/FormCopyright.C:
+       * src/frontends/gtk/FormCopyright.h:
+       * src/frontends/gtk/Makefile.am: added these source-files for the
+       Gtk/Gnome support of the Copyright-Dialog.
+
+       * src/main.C: added Gnome::Main initialization if using
+       Gtk/Gnome frontend-GUI.
+
+       * src/lyx_gui.C: added Gnome event loop if using Gtk/Gnome
+       frontend-GUI.
+       * config/gnome/aclocal-include.m4
+       * config/gnome/compiler-flags.m4
+       * config/gnome/curses.m4
+       * config/gnome/gnome--.m4
+       * config/gnome/gnome-bonobo-check.m4
+       * config/gnome/gnome-common.m4
+       * config/gnome/gnome-fileutils.m4
+       * config/gnome/gnome-ghttp-check.m4
+       * config/gnome/gnome-gnorba-check.m4
+       * config/gnome/gnome-guile-checks.m4
+       * config/gnome/gnome-libgtop-check.m4
+       * config/gnome/gnome-objc-checks.m4
+       * config/gnome/gnome-orbit-check.m4
+       * config/gnome/gnome-print-check.m4
+       * config/gnome/gnome-pthread-check.m4
+       * config/gnome/gnome-support.m4
+       * config/gnome/gnome-undelfs.m4
+       * config/gnome/gnome-vfs.m4
+       * config/gnome/gnome-x-checks.m4
+       * config/gnome/gnome-xml-check.m4
+       * config/gnome/gnome.m4
+       * config/gnome/gperf-check.m4
+       * config/gnome/gtk--.m4
+       * config/gnome/linger.m4
+       * config/gnome/need-declaration.m4: added configuration scripts
+       for Gtk/Gnome frontend-GUI
+
+       * configure.in: added support for the --with-frontend=gtk option
+
+       * autogen.sh: added config/gnome/* to list of config-files
+
+       * acconfig.h: added define for GTKGUI-support
+
+       * config/lyxinclude.m4: added --with-frontend[=value] option value
+       for Gtk/Gnome frontend-GUI support.
+                            
 2000-07-25  Lars Gullik Bjønnes  <larsbj@lyx.org>
 
        * src/support/lstrings.C (prefixIs): rewrite so that gcc bastring