##Text encoding: utf-8 2007-07-13 Jean Bréfort <jean.brefort@normalesup.org> * Makefile.am: add new themes directory. * configure.ac: ditto. * help/C/figures/elt-menu.png: new screenshot. * help/C/gchempaint.xml: updated docs after fixing sr #105937. * lib/application.cc:destroy the window, not the doc when a file load fails. [#20468] * lib/document.cc: set current doc to NULL when destroying. [#20468] * plugins/bonds/chaintool.cc: fixed various issues. * themes/ACS_Document_1996: new theme (tanks to Takashi Suyama). [sr #105938] * themes/Makefile.am: add new theme. 2007-07-12 Jean Bréfort <jean.brefort@normalesup.org> * lib/tools.cc: add gcpTools::SetElement. * lib/tools.h: ditto. * lib/view.cc: change current element using the keyboard and change the nature of the atom under the cursor if any. [sr #105937] * lib/view.h: ditto. 2007-06-30 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: post release version bump (0.8.2). * help/gchempaint.omf.in: fixed category. 2007-06-11 Jean Bréfort <jean.brefort@normalesup.org> * templates/templates.xml.in: fixed isoleucine template. 2007-06-09 Jean Bréfort <jean.brefort@normalesup.org> * gchempaint.schemas.in: make copying as text optional. * lib/application.cc: ditto. * lib/settings.cc: ditto. * lib/settings.h: ditto. * lib/view.cc: ditto. * lib/widgetdata.cc: ditto. * plugins/text/fragmenttool.cc: ditto. * plugins/text/texttool.cc: ditto. 2007-06-05 Jean Bréfort <jean.brefort@normalesup.org> * lib/application.cc: fixed compilation issue regarding confusion between CreateMolecule from GChemPaint and OpenBabel. * lib/text.h: added gcpText::SetText. * lib/view.cc: fixed pasting text, add image image/bmp as clipboad target and add gcpView::BuildPixbuf. * lib/view.h: add gcpView::BuildPixbuf. * lib/widgetdata.cc: implement copying as bitmaps. 2007-05-22 Jean Bréfort <jean.brefort@normalesup.org> * plugins/paint/cycles/cycletool.cc: fixed two bugs. [#19932] and [#19933]. 2007-05-22 Jean Bréfort <jean.brefort@normalesup.org> * goffice/gchempaint.cc: add missing headers. 2007-05-20 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: post release version bump (0.8.1). * lib/Makefile.am: fixed typo in PIXMAPSDIR definition. 2007-05-20 Jean Bréfort <jean.brefort@normalesup.org> * lib/theme.cc: fix default scale value. 2007-05-19 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: set version to 0.8.0. 2007-05-17 Jean Bréfort <jean.brefort@normalesup.org> * tests/cholesterol.gchempaint: fixed stereochemistry. 2007-05-12 Jean Bréfort <jean.brefort@normalesup.org> * help/C/figures/Hposdlg.png: add documentation for the hydrogen position new feature. * help/C/gchempaint.xml: ditto. 2007-05-12 Jean Bréfort <jean.brefort@normalesup.org> * lib/theme.cc: don't crash if a default font name is NULL. 2007-05-11 Jean Bréfort <jean.brefort@normalesup.org> * lib/application.cc: don't add two extensions when saving as image. 2007-05-10 Jean Bréfort <jean.brefort@normalesup.org> * lib/Hposdlg.cc: force atom update after a change. * templates/haworth.xml.in: updated templates (Julian Sikorski) 2007-05-10 Jean Bréfort <jean.brefort@normalesup.org> * lib/Hposdlg.cc: add undo/redo support for H atoms position changes. * lib/atom.cc: fixed typo in Save. * ui/H-pos.glade: fix buttons names. 2007-05-10 Jean Bréfort <jean.brefort@normalesup.org> * plugins/templates/new-template.glade: don't translate invisible character. 2007-05-10 Jean Bréfort <jean.brefort@normalesup.org> * ui/H-pos.glade: don't translate strings which should not. * ui/newfiledlg.glade: ditto. * ui/tools.glade: ditto. 2007-05-10 Jean Bréfort <jean.brefort@normalesup.org> * ui/preferences.glade: restored lost shortcuts. 2007-05-10 Daniel Leidert <daniel.leidert.spam@gmx.net> * plugins/arrows/Makefile.am (EXTRA_DIST): Fixed wrong whitespace. 2007-05-10 Daniel Leidert <daniel.leidert.spam@gmx.net> * plugins/arrows/Makefile.am (EXTRA_DIST, IMAGES): Moved the schemas .in files from IMAGES to EXTRA_DIST. 2007-05-10 Daniel Leidert <daniel.leidert.spam@gmx.net> * gchempaint.schemas.in: Improved consistency of strings. * plugins/arrows/Makefile.am: Improved semantics. * plugins/atoms/Makefile.am: Ditto. * plugins/bonds/Makefile.am: Ditto. * plugins/cycles/Makefile.am: Ditto. * plugins/selection/Makefile.am: Ditto. * plugins/text/Makefile.am: Ditto. 2007-05-10 Jean Bréfort <jean.brefort@normalesup.org> * lib/Makefile.am: back to a shared installed library. * lib/atom.cc: allow changing the position of hydrogen atoms. [#19842] * lib/atom.h: ditto. * lib/Hposdlg.cc: ditto. * lib/Hposdlg.cc: ditto. * lib/view.cc: don't keep zombies in gcpWidgetData::Items. Fixes crashes. [#19840] * lib/window.cc: fixed a memory leak. * plugins/selection/selectiontool.cc: minor presentation update. * templates/haworth.xml.in: set names translatable. * ui/Makefile.am: add H-pos.glade. [#19842] * ui/preferences.glade: set correct bounds for all spin buttons. [#19845] * ui/H-pos.glade: allow changing the position of hydrogen atoms. [#19842] 2007-05-09 Jean Bréfort <jean.brefort@normalesup.org> * lib/atom.cc: fixed leaks in BuildContextualMenu. * lib/bond.cc: ditto. * lib/mesomery.cc: ditto. * lib/molecule.cc: ditto. * lib/reactant.cc: ditto. * lib/reaction.cc: ditto. * plugins/arrows/retrosynthesis.cc: ditto. * plugins/selection/group.cc: ditto. * plugins/templates/templatetool.cc: use correct bond lengths when pasting the template. [#19838] * templates/Makefile.am: add haworth.xml. * templates/haworth.xml.in: new saccharides templates (thanks to Julian Sikorski). [#19838] 2007-05-09 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: post release version bump (0.7.96) and requires gcu 0.7.96. * plugins/templates/Makefile.am: removed duplicated definition of GLADEDIR. 2007-05-08 Jean Bréfort <jean.brefort@normalesup.org> * Makefile.am: add @INTLTOOL_SCHEMAS_RULE@ and remove obsolete @INTLTOOL_SERVER_RULE@ * configure.ac: fixed goffice plugins path. 2007-05-07 Daniel Leidert <daniel.leidert.spam@gmx.net> * configure.ac: Improved GDK_PIXBUF_CSOURCE determination. * plugins/arrows/Makefile.am: Fixed gcp-stock-pixbufs.h creation target. * plugins/atoms/Makefile.am: Ditto. * plugins/bonds/Makefile.am: Ditto. * plugins/cycles/Makefile.am: Ditto. * plugins/selection/Makefile.am: Ditto. * plugins/text/Makefile.am: Ditto. 2007-05-07 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: removed obsolete code. * goffice/Makefile.am: add DATADIR to DEFS. * lib/Makefile.am: ditto, and restored file list. * plugins/arrows/Makefile.am: add DATADIR to DEFS. * plugins/atoms/Makefile.am: ditto. * plugins/bonds/Makefile.am: ditto. * plugins/cycles/Makefile.am: ditto. * plugins/selection/Makefile.am: ditto. * plugins/templates/Makefile.am: ditto. * plugins/text/Makefile.am: ditto. * src/Makefile.am: ditto. 2007-05-07 Daniel Leidert <daniel.leidert.spam@gmx.net> * configure.ac: Minor reordering. * Makefile.am: Fixed `UPDATE_DATABASES does not appear in AM_CONDITIONAL' error. * lib/Makefile.am: Fixed use `libfoo_la_LIBADD', not `libfoo_la_LDADD' errors. * libgcpcanvas/Makefile.am: Ditto. 2007-05-07 Daniel Leidert <daniel.leidert.spam@gmx.net> * x-gchempaint.desktop.in: Re-Added (from 0-6 branch). * Makefile.am: Cleaned the file and added MAINTAINERCLEANFILES. Made CLEANFILES more generic. Added KDE stuff (as done in 0-6). Reordered everything. Added condition to determine, if gconftool-2 shall run (it should not for package maintainers, so respect --disable-schemas-install). Used some code from the 0-6 line too. Removed the workaround for installing own shared-mime-info entries of the chemical/* MIME types. * configure.ac: Removed depreceated AM_INIT_AUTOMAKE macro. Used the code to determine update-*-database runs and KDE MIME stuff from the 0-6 line. Readded -Wall to CFLAGS by default. Removed the whole DATADIR, BINDIR, ... determination as done in 0-, because of problems evaluating the variable contents. We better use DEFS in the relevant Makefiles. * goffice/Makefile.am: Cleaned and improved. * help/Makefile.am: Ditto. * lib/Makefile.am: Ditto.: Ditto. * libgcpcanvas/Makefile.am: Ditto. * plugins/Makefile.am: Ditto. * plugins/arrows/Makefile.am: Ditto. Removed image installations. * plugins/atoms/Makefile.am: Ditto. * plugins/bonds/Makefile.am: Ditto. * plugins/cycles/Makefile.am: Ditto. * plugins/selection/Makefile.am: Ditto. * plugins/templates/Makefile.am: Ditto. * plugins/text/Makefile.am: Ditto. * src/Makefile.am: Ditto. * templates/Makefile.am: Ditto. * ui/Makefile.am: Ditto. * goffice/gchempaint.cc: Replace generic DATADIR/LIBDIR locations with PKGDATADIR, PKGLIBDIR, PLUGINDIR, PIXMAPSDIR, LOCALEDIR, .... (determined via -D switch, see Makefile.am in the relevant directory). * lib/about.cc: Ditto. * lib/docprop.cc: Ditto. * lib/newfiledlg.cc: Ditto. * lib/plugin.cc: Ditto. * lib/preferences.cc: Ditto. * lib/stringdlg.cc: Ditto. * lib/theme.cc: Ditto. * lib/tools.cc: Ditto. * lib/zoomdlg.cc: Ditto. * plugins/arrows/arrowtool.cc: Ditto. * plugins/bonds/bondtool.cc: Ditto. * plugins/bonds/chaintool.cc: Ditto. * plugins/cycles/cycletool.cc: Ditto. * plugins/selection/groupdlg.cc: Ditto. * plugins/templates/plugin.cc: Ditto. * plugins/templates/templatetool.cc: Ditto. * plugins/text/texttool.cc: Ditto. 2007-05-05 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: change version to 0.7.95 and requires gcu-0.7.95. 2007-04-26 Jean Bréfort <jean.brefort@normalesup.org> * lib/preferences.cc: fix crash when no theme is selected. 2007-04-22 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: update version to 0.7.92 * lib/atom.cc: fixed electron position registration. * lib/document.cc: always date the view theme related data. * lib/electron.cc: fixed electron position registration. * lib/preferences.cc: block changed signal for font selectors when selecting the theme. * lib/preferences.h: ditto. * lib/theme.cc: fixed crashers. * lib/view.cc: fixed a potential crasher. 2007-04-11 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: add a test for std::vector::data. * goffice/plugin.xml.in: fixed typo. * lib/document.cc: don't use std::vector::data when absent (gcc-3). 2007-04-09 Jean Bréfort <jean.brefort@normalesup.org> * Makefile.am: remove omf.make and xmldocs.make from EXTRA_DIST. * help/C/Makefile.am: removed obsolete. * xmldocs.make: ditto. 2007-04-09 Jean Bréfort <jean.brefort@normalesup.org> * INSTALL: removed since it will be generated by autogen.sh. * lib/fragment.cc: fixed a missing parenthesis bug. * omf.make: removed unused. * plugins/arrows/retrosynthesis.cc: fixed misplaced parenthesis. 2007-04-06 Jean Bréfort <jean.brefort@normalesup.org> * goffice/gchempaint-priv.h: make compilation succeed without warnings for all known gcc-4.x. * lib/about.cc: ditto. * lib/application.cc: ditto. * lib/arrow.cc: ditto. * lib/atom.cc: ditto. * lib/bond.cc: ditto. * lib/document.cc: ditto. * lib/electron.cc: ditto. * lib/fontsel.cc: ditto. * lib/fragment-atom.cc: ditto. * lib/fragment.cc: ditto. * lib/mesomer.cc: ditto. * lib/mesomery.cc: ditto. * lib/molecule.cc: ditto. * lib/reactant.cc: ditto. * lib/reaction-arrow.cc: ditto. * lib/reaction-operator.cc: ditto. * lib/reaction-step.cc: ditto. * lib/reaction.cc: ditto. * lib/settings.cc: ditto. * lib/text.cc: ditto. * lib/theme.cc: ditto. * lib/view.cc: ditto. * lib/window.cc: ditto. * plugins/arrows/arrowtool.cc: ditto. * plugins/arrows/retrosynthesis.cc: ditto. * plugins/arrows/retrosynthesisarrow.cc: ditto. * plugins/arrows/retrosynthesisstep.cc: ditto. * plugins/atoms/chargetool.cc: ditto. * plugins/atoms/electrontool.cc: ditto. * plugins/atoms/elementtool.cc: ditto. * plugins/bonds/bondtool.cc: ditto. * plugins/bonds/chaintool.cc: ditto. * plugins/cycles/cycletool.cc: ditto. * plugins/selection/erasertool.cc: ditto. * plugins/selection/group.cc: ditto. * plugins/selection/selectiontool.cc: ditto. 2007-04-06 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: needs gchemutils-0.7.91. * goffice/gofficeapp.cc: always show the window when editing. * lib/application.cc: remove the unuseful application list, only one application should exist. * lib/application.h: ditto. * lib/atom.cc: update BuildContextualMenu signature. Also add a RemveElectron method. * lib/atom.h: ditto. * lib/bond.cc: update BuildContextualMenu signature and call gcpAtom::BuildContextualMenu if the click occur near one end of the bond. * lib/bond.h: ditto. * lib/electron.cc: force update of atom parent when destoying. * lib/mesomery.cc: update BuildContextualMenu signature. * lib/mesomery.h: ditto. * lib/molecule.cc: ditto. * lib/molecule.h: ditto. * lib/reactant.cc: ditto. * lib/reactant.h: ditto. * lib/reaction.cc: ditto. * lib/reaction.h: ditto. * lib/view.cc: ditto. * plugins/arrows/retrosynthesis.cc: ditto. * plugins/arrows/retrosynthesis.h: ditto. * plugins/selection/group.cc: ditto. * plugins/selection/group.h: ditto. 2007-03-09 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: post release version bump (0.7.91). 2007-03-07 Jean Bréfort <jean.brefort@normalesup.org> * lib/preferences.cc: fixed more localization issues. * lib/theme.cc: ditto. * plugins/arrows/arrowtool.glade: ditto. * plugins/templates/templates.glade: ditto. * src/main.cc: ditto. * ui/preferences.glade: ditto. * ui/tools.glade: ditto. 2007-03-05 Jean Bréfort <jean.brefort@normalesup.org> * lib/about.cc: fixed copyright. * lib/application.cc: fixed some localization issues. * lib/fontsel.cc: ditto. * lib/preferences.cc: ditto. * lib/theme.cc: ditto. * lib/window.cc: ditto. 2007-02-25 Jean Bréfort <jean.brefort@normalesup.org> * plugins/arrows/plugin.cc: fixed compilation. * plugins/bonds/plugin.cc: ditto. 2007-02-25 Jean Bréfort <jean.brefort@normalesup.org> * Makefile.am: removed unstable stuff. * goffice/Makefile.am: ditto. * help/Makefile.am: ditto. * lib/Makefile.am: ditto. * lib/application.cc: ditto. * lib/docprop.cc: ditto. * lib/molecule.cc: ditto. * lib/newfiledlg.cc: ditto. * lib/plugin.cc: ditto. * lib/preferences.cc: ditto. * lib/stringdlg.cc: ditto. * lib/tools.cc: ditto. * lib/zoomdlg.cc: ditto. * plugins/arrows/Makefile.am: ditto. * plugins/arrows/arrowtool.cc: ditto. * plugins/arrows/curved1-24.png: ditto. * plugins/arrows/curved24.png: ditto. * plugins/arrows/curvedarrowtool.cc: ditto. * plugins/arrows/curvedarrowtool.h: ditto. * plugins/atoms/Makefile.am: ditto. * plugins/bonds/Makefile.am: ditto. * plugins/bonds/bondtool.cc: ditto. * plugins/bonds/chaintool.cc: ditto. * plugins/bonds/delocalized24.png: ditto. * plugins/bonds/delocalizedtool.cc: ditto. * plugins/bonds/delocalizedtool.h: ditto. * plugins/cycles/Makefile.am: ditto. * plugins/cycles/cycletool.cc: ditto. * plugins/selection/Makefile.am: ditto. * plugins/selection/groupdlg.cc: ditto. * plugins/templates/Makefile.am: ditto. * plugins/templates/templatetool.cc: ditto. * plugins/text/Makefile.am: ditto. * plugins/text/texttool.cc: ditto. * src/Makefile.am: ditto. * src/main.cc: ditto. * ui/Makefile.am: ditto. 2007-02-22 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: post branching version bump (0.7.90). * gchempaint-unstable.desktop.in: removed unstable things. * gchempaint-unstable.server.in: ditto. * gchempaint.server.in: removed deprecated. * help/C/gchempaint-unstable.xml: removed unstable things. * help/C/gchempaint.xml: ditto. * help/gchempaint-unstable.omf.in: ditto. * src/bonoboapp.cc: removed deprecated. * src/bonoboapp.h: ditto. * src/gchempaint-bonobo.cc: ditto. * src/gchempaint-bonobo.h: ditto. 2007-02-21 Jean Bréfort <jean.brefort@normalesup.org> * help/C/gchempaint-unstable.xml: make it conform to the schema. 2007-02-21 Jean Bréfort <jean.brefort@normalesup.org> * ui/Makefile.am: removed obsolete glade file. * ui/mendeleiev.glade: ditto. 2007-02-21 Jean Bréfort <jean.brefort@normalesup.org> * NEWS: news for 0.7.6 * plugins/cycles/Makefile.am: removed obsolete glade file. * plugins/cycles/cyclentool.glade: ditto. 2007-02-20 Jean Bréfort <jean.brefort@normalesup.org> * help/C/figures/arrow-opts.png: new screenshot. * help/C/figures/arrows.png: ditto. * help/C/figures/mesomery3.png: updated screenshot. * help/C/gchempaint-unstable.xml: finished updating. * lib/reactant.cc: update canvas before retrieving object bounds. * plugins/text/texttool.cc: don't update option box if not initialized. 2007-02-19 Jean Bréfort <jean.brefort@normalesup.org> * help/C/figures/arrow-heads.png: new or updated screenshot. * help/C/figures/bond-opts.png: ditto. * help/C/figures/chain-opt.png: ditto. * help/C/figures/chain.png: ditto. * help/C/figures/choose-elt.png: ditto. * help/C/figures/cycle-opt.png: ditto. * help/C/figures/cyclentool-opt.png: ditto. * help/C/figures/group.png: ditto. * help/C/figures/mendeleiev.png: ditto. * help/C/figures/new-template.png: ditto. * help/C/figures/newfile.png: ditto. * help/C/figures/preferences.png: ditto. * help/C/figures/prefs-arrows.png: ditto. * help/C/figures/prefs-atoms-font.png: ditto. * help/C/figures/prefs-atoms-other.png: ditto. * help/C/figures/prefs-bonds.png: ditto. * help/C/figures/prefs-text.png: ditto. * help/C/figures/properties.png: ditto. * help/C/figures/stereobonds.png: ditto. * help/C/figures/templates-tools.png: ditto. * help/C/figures/templates.png: ditto. * help/C/figures/texttools-bar.png: ditto. * help/C/gchempaint-unstable.xml: updated documentation. * lib/application.cc: don't read files after their end when using Openbabel. * lib/stringdlg.cc: ensure the window is displayed on top. * lib/tool.h: add GetHelpTag virtual method. * lib/tools.cc: use Tool:GetHelpTag to open help for the selected tool. * lib/tools.h: ditto. * plugins/arrows/Makefile.am: removed obsolete files. * plugins/arrows/arrowtool.cc: implement help and options. * plugins/arrows/arrowtool.glade: add arrow length option. * plugins/arrows/arrowtool.h: implement help and options. * plugins/atoms/Makefile.am: removed obsolete files. * plugins/atoms/chargetool.h: implement GetHelpTag method. * plugins/atoms/electrontool.h: ditto. * plugins/atoms/elementtool.h: ditto. * plugins/bonds/Makefile.am: removed obsolete files. * plugins/bonds/bondtool.h: implement GetHelpTag method. * plugins/bonds/chaintool.h: ditto. * plugins/cycles/Makefile.am: removed obsolete files. * plugins/cycles/cycletool.h: implement GetHelpTag method. * plugins/selection/Makefile.am: removed obsolete files. * plugins/selection/erasertool.h: implement GetHelpTag method. * plugins/selection/group.glade: minor update. * plugins/selection/selectiontool.cc: implement GetHelpTag method. * plugins/selection/selectiontool.h: ditto. * plugins/templates/Makefile.am: removed obsolete files. * plugins/templates/templatetool.h: implement GetHelpTag method. * plugins/text/Makefile.am: removed obsolete files. * plugins/text/fragmenttool.h: implement GetHelpTag method. * plugins/text/texttool.h: ditto. * ui/stringdlg.glade: minor update. * ui/tools.glade: minor update. 2007-02-17 Jean Bréfort <jean.brefort@normalesup.org> * Makefile.am: removed tests from SUBDIRS. * TODO: no more code before 0.8 (except bugs fixes). * configure.ac: removed tests/Makefile from AC_OUTPUT. * help/C/figures/main-window.png: updated. * help/C/figures/toolbox.png: ditto. * help/C/gchempaint-unstable.xml: some more work. * help/gchempaint-unstable.omf.in: removed Education. * lib/application.cc: scale bond lengths to current theme when importing using Openbabel. * lib/atom.cc: ditto. * lib/atom.h: ditto. * lib/document.cc: ditto. * lib/document.h: ditto. * lib/molecule.cc: ditto. * lib/preferences.cc: update bond length and angle and arrow length for documents when the theme changes. * plugins/templates/templatetool.cc: scale bond lengths to current theme when inserting. * plugins/arrows/arrows.xml: removed obsolete. * plugins/atoms/atoms.xml: ditto. * plugins/bonds/bonds.xml: ditto. * plugins/cycles/cycles.xml: ditto. * plugins/selection/selection.xml: ditto. * plugins/templates/templates-old.glade: ditto. * plugins/templates/templates.xml: ditto. * plugins/templates/templatetool.cc: scale bond lengths to current theme when inserting. * plugins/templates/templatetree.cc: ditto. * plugins/templates/templatetree.h: ditto. * plugins/text/subscript24.png: removed obsolete. * plugins/text/superscript24.png: ditto. * plugins/text/text.xml: ditto. * tests/Makefile.am: ditto. * tests/bonobo-control-test.c: ditto. 2007-02-11 Jean Bréfort <jean.brefort@normalesup.org> * lib/application.cc: don't create a new document when not necessary. * lib/atom.cc: add a contextual menu entry to show carbon atoms symbols and display a bullet when a carbon atom has two bonds and only two with opposite directions when the symbol is not displayed. Fixes [#19013]. * lib/atom.h: ditto. * lib/bond.cc: fix a display order (might break something else). 2007-02-07 Jean Bréfort <jean.brefort@normalesup.org> * plugins/templates/templatetool.cc: reimplemented delete template, fixed a crasher when selecting a category, and cleaned obsolete code. * plugins/templates/templatetool.h: cleaned obsoleted code. 2007-02-06 Jean Bréfort <jean.brefort@normalesup.org> * TODO: updated. * goffice/gofficeapp.cc: updated copyright. * goffice/gofficeapp.h: ditto. * lib/application.cc: use new DialogOwner class. * lib/application.h: ditto. * lib/atom.cc: updated copyright. * lib/atom.h: ditto. * lib/bond.cc: ditto. * lib/docprop.cc: make it unique for each document. * lib/docprop.h: ditto. * lib/document.cc: use new DialogOwner class. * lib/document.h: ditto. * lib/fontsel.cc: updated copyright. * lib/fontsel.h: ditto. * lib/fragment.cc: ditto. * lib/mesomery-arrow.cc: ditto. * lib/mesomery.cc: ditto. * lib/mesomery.h: ditto. * lib/molecule.cc: ditto. * lib/molecule.h: ditto. * lib/newfiledlg.cc: make it unique. * lib/preferences.cc: ditto. * lib/preferences.h: ditto. * lib/reaction-arrow.cc: ditto. * lib/reaction-step.cc: ditto. * lib/reaction-step.h: ditto. * lib/reaction.cc: ditto. * lib/reaction.h: ditto. * lib/settings.cc: ditto. * lib/settings.h: ditto. * lib/theme.cc: ditto. * lib/theme.h: ditto. * lib/tool.cc: remove obsoleted OnOptions method. * lib/tool.h: ditto. * lib/tools.cc: use new DialogOwner class. * lib/tools.h: ditto. * lib/view.cc: updated copyright. * lib/view.h: ditto. * lib/window.cc: ditto. * lib/zoomdlg.cc: make it unique for each document. * lib/zoomdlg.h: ditto. * plugins/arrows/arrowtool.cc: remove obsoleted OnOptions method. * plugins/arrows/arrowtool.h: ditto. * plugins/arrows/retrosynthesis.cc: updated copyright. * plugins/arrows/retrosynthesis.h: ditto. * plugins/atoms/chargetool.cc: ditto. * plugins/atoms/elementtool.cc: ditto. * plugins/atoms/elementtool.h: ditto. * plugins/cycles/cycletool.cc: remove obsoleted OnOptions method. * plugins/cycles/cycletool.h: ditto. * plugins/selection/groupdlg.cc: make it unique for each document. * plugins/templates/templatetool.cc: reimplement new template action. * plugins/templates/templatetool.h: ditto. * plugins/templates/templatetree.cc: ditto. * src/standaloneapp.cc: updated copyright. * src/standaloneapp.h: ditto. * src/standalonewin.cc: ditto. * src/standalonewin.h: ditto. 2007-02-04 Jean Bréfort <jean.brefort@normalesup.org> * help/C/gchempaint-unstable.xml: minor update. * lib/application.cc: finished themes support. * lib/application.h: ditto. * lib/docprop.cc: ditto and make it instant apply. * lib/docprop.h: ditto. * lib/document.cc: finished themes support. * lib/document.h: ditto. * lib/newfiledlg.cc: ditto. * lib/newfiledlg.h: ditto. * lib/preferences.cc: ditto. * lib/theme.cc: ditto. * lib/theme.h: ditto. * lib/view.cc: removed deprecated gcpView::SetLabel. * lib/view.h: ditto. * ui/docprop.glade: ditto and make it instant apply. 2007-01-31 Jean Bréfort <jean.brefort@normalesup.org> * lib/document.cc: * lib/newfiledlg.cc: make the Dialog an Object so that it can be client of themes (themes will not be destroyed while the dialog is opened. * lib/newfiledlg.h: ditto. * lib/preferences.cc: ditto and add an entry for theme names. * lib/preferences.h: ditto. * lib/theme.cc: don't translate all theme names. * lib/theme.h: ditto. * ui/Makefile.am: add missing newfiledlg.glade. * ui/newfiledlg.glade: give a better name to the dialog. * ui/preferences.glade: add an entry for theme names. 2007-01-29 Jean Bréfort <jean.brefort@normalesup.org> * help/C/gchempaint-unstable.xml: update some sections. * lib/application.cc: when opening several files, open each in its own window (a probably recently introduced bug). 2007-01-28 Jean Bréfort <jean.brefort@normalesup.org> * goffice/gofficeapp.cc: implement new file with theme. * goffice/gofficeapp.h: ditto. * lib/Makefile.am: ditto. * lib/application.cc: ditto and don't quit if at least one file has not been saved. * lib/application.h: ditto. * lib/document.cc: implement new file with theme. * lib/newfiledlg.cc: ditto. * lib/newfiledlg.h: ditto. * lib/theme.cc: ditto. * lib/theme.h: ditto. * lib/window.cc: ditto and don't quit if at least one file has not been saved. ditto. * lib/window.h: implement new file with theme. * src/standaloneapp.cc: ditto. * src/standaloneapp.h: ditto. * src/standalonewin.cc: ditto. * src/standalonewin.h: ditto. * ui/newfiledlg.glade: ditto. 2007-01-26 Jean Bréfort <jean.brefort@normalesup.org> * gchempaint.schemas.in: add an option to make the periodic table tearable. * lib/application.cc: ditto. * lib/document.cc: enhance OpenBabel export. * lib/preferences.cc: add an option to make the periodic table tearable. * lib/settings.cc: ditto. * lib/settings.h: ditto. * lib/tools.cc: ditto. * lib/tools.h: ditto. * ui/preferences.glade: ditto. 2007-01-25 Jean Bréfort <jean.brefort@normalesup.org> * lib/application.cc: import all molecules from OpenBabel. * lib/atom.cc: import formal charge from OpenBabel. * lib/atom.h: add gcpAtom::GetCharge(); * lib/bond.cc: don't play with canvas when order is NULL. * lib/document.cc: better OpenBabel support. * lib/view.cc: fix various issues (image export, canvas size, widget dupplication. 2007-01-21 Jean Bréfort <jean.brefort@normalesup.org> * gchempaint.schemas.in: removed two unused settings. * lib/atom.cc: fix local charges issues. * lib/fragment.cc: ditto. * lib/mesomery.cc: fix arrow padding scale. * lib/preferences.cc: implement all options. * lib/preferences.h: ditto. * lib/reaction-step.cc: fix arrow padding scale. * lib/reaction-step.h: ditto. * lib/reaction.cc: ditto. * lib/theme.cc: removed two unused settings. * lib/theme.h: ditto. * lib/view.cc: ensure scroll bounds when zooming. * lib/window.cc: add a new file menu (New themed), but still not implemented. * plugins/arrows/arrowtool.cc: fix arrow padding scale. * plugins/arrows/retrosynthesis.cc: dito. * plugins/atoms/chargetool.cc: fix local charges issues. * plugins/atoms/elementtool.cc: use pango item to support zooming. * plugins/atoms/elementtool.h: ditto. * ui/preferences.glade: implement all options. 2007-01-15 Jean Bréfort <jean.brefort@normalesup.org> * lib/mesomery.cc: removed gcpMesomery::Add since it had the new default behavior [#18780]. * lib/mesomery.h: ditto. * lib/molecule.cc: implement gcpMolecule::Add to avoid executing the default. * lib/molecule.h: ditto. * lib/reaction.cc: removed gcpReaction:Add since it had the new default behavior. * lib/reaction.h: ditto. * plugins/arrows/retrosynthesis.cc: removed gcpRetrosynthesis:Add since it had the new default behavior. * plugins/arrows/retrosynthesis.h: ditto. 2007-01-12 Jean Bréfort <jean.brefort@normalesup.org> * lib/mesomery-arrow.cc: support theme changes. * lib/preferences.cc: implement arrows settings. * lib/preferences.h: ditto. * lib/reaction-arrow.cc: support theme changes. * ui/preferences.glade: implement arrows settings. 2007-01-10 Jean Bréfort <jean.brefort@normalesup.org> * help/C/figures/main-window.png: new screenshot. * help/C/figures/toolbox.png: ditto. * lib/theme.cc: save/load themes. * lib/theme.h: ditto. * ui/Makefile.am: add an icon. * ui/arrow.png: new icon. * ui/arrow.svg: new icon source. * ui/preferences.glade: add widgets to arrows page. 2007-01-09 Jean Bréfort <jean.brefort@normalesup.org> * lib/atom.cc: change font when them changes. * lib/atom.h: ditto. * lib/document.cc: ditto. * lib/preferences.cc: implement change of fonts. * lib/view.cc: change font when them changes. * lib/view.h: ditto. * ui/preferences.glade: added a page for atoms font. 2007-01-05 Jean Bréfort <jean.brefort@normalesup.org> * lib/Makefile.am: add path to libgcpcanvas to LIBS. * lib/application.cc: removed commented line and a printf debug line. * lib/molecule.cc: add missing initialization. * lib/theme.cc: be sure g_type_init is called before any gconf function. 2007-01-04 Jean Bréfort <jean.brefort@normalesup.org> * lib/application.cc: import pubchem xml files if openbabel supports them. * lib/document.cc: inhibite saving for read only openbabel formats. * lib/fontsel.cc: added a font preview. * lib/molecule.cc: access PubChem database as well as NIST Webbook. * lib/molecule.h: ditto. * ui/preferences.glade: fixed text box. 2007-01-03 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: add a test. * gchempaint.xml.in: removed types provided by chemical-mime-data. * help/C/gchempaint-unstable.xml: minor update. * lib/application.cc: add dynamic mime types use. Partly fixes #18646. * lib/application.h: ditto. * lib/document.cc: ditto. * lib/document.h: ditto. * lib/fontsel.cc: more progress. * lib/fontsel.h: ditto. * lib/preferences.cc: ditto. * lib/preferences.h: ditto. * lib/view.cc: add a conditional include for better portability. 2006-12-25 Jean Bréfort <jean.brefort@normalesup.org> * lib/document.cc: don't close a modified file without asking if changes must really be discarded. * lib/document.h: ditto. * lib/window.cc: ditto. * lib/window.h: ditto. * src/standaloneapp.cc: ditto. 2006-12-24 Jean Bréfort <jean.brefort@normalesup.org> * goffice/gofficeapp.cc: use gi18n-lib.h. * goffice/gofficewin.cc: ditto. * lib/about.cc: ditto. * lib/application.cc: ditto. * lib/bond.cc: fix Update to update bond width when theme changes. * lib/docprop.cc: use gi18n-lib.h. * lib/document.cc: add gcpDocument::OnSignal, and remove all bonob stuff. * lib/document.h: ditto. * lib/electron.cc: use gi18n-lib.h. * lib/fragment.cc: ditto. * lib/mesomer.cc: ditto. * lib/mesomery.cc: ditto. * lib/molecule.cc: ditto. * lib/preferences.cc: implement bonds settings. * lib/preferences.h: ditto. * lib/reactant.cc: use gi18n-lib.h. * lib/reaction.cc: ditto. * lib/stringdlg.cc: ditto. * lib/text.cc: ditto. * lib/theme.cc: implement bonds settings. * lib/theme.h: ditto. * lib/window.cc: use gi18n-lib.h. * plugins/arrows/arrowtool.cc: ditto. * plugins/arrows/curvedarrowtool.cc: include gchempaint-config.h. * plugins/arrows/retrosynthesis.cc: use gi18n-lib.h. * plugins/arrows/retrosynthesisarrow.cc: ditto. * plugins/arrows/retrosynthesisstep.cc: ditto. * plugins/atoms/chargetool.cc: ditto. * plugins/atoms/electrontool.cc: ditto. * plugins/bonds/bondtool.cc: ditto. * plugins/bonds/chaintool.cc: ditto. * plugins/bonds/delocalizedtool.cc: include gchempaint-config.h. * plugins/cycles/cycletool.cc: use gi18n-lib.h. * plugins/selection/group.cc: ditto. * plugins/selection/selectiontool.cc: ditto. * plugins/templates/templatetool.cc: ditto. * plugins/templates/templatetree.cc: ditto. * src/main.cc: ditto. * src/standaloneapp.cc: ditto. * src/standaloneapp.h: ditto. * ui/preferences.glade: implement bonds settings. 2006-12-23 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: needs the Gnome Chemistry Utils >= 0.7.5. * lib/application.cc: removed obsolete code. * lib/application.h: ditto. * lib/preferences.cc: compression level changing now works. * plugins/arrows/plugin.cc: don't call obsolete gcpApplication::AddUI. * plugins/atoms/plugin.cc: ditto. * plugins/bonds/plugin.cc: ditto. * plugins/cycles/plugin.cc: ditto. * plugins/selection/plugin.cc: ditto. * plugins/templates/plugin.cc: ditto. * plugins/text/plugin.cc: ditto. * ui/preferences.glade: removed files history length. 2006-12-22 Jean Bréfort <jean.brefort@normalesup.org> * gchempaint.schemas.in: add compression level key. * lib/application.cc: enhance theme management and allow file compression. * lib/application.h: ditto. * lib/document.cc: ditto. * lib/document.h: allow file compression. * lib/settings.cc: ditto. * lib/settings.h: ditto. * lib/theme.cc: enhance theme management. * lib/theme.h: ditto. 2006-12-11 Jean Bréfort <jean.brefort@normalesup.org> * libgcpcanvas/pango-layout-to-svg.c: (pango_layout_to_svg): fixed multi-lines text and decorations export. * lib/fragment.cc: fixed position when tansforming atom to fragment. * plugins/text/fragmenttool.cc: ditto. 2006-12-08 Jean Bréfort <jean.brefort@normalesup.org> * goffice/Makefile.am: removed libgcpcanvas from LDFLAGS. * lib/Makefile.am: added libgcpcanvas to LDFLAGS [#18480]. * src/Makefile.am: removed libgcpcanvas from LDFLAGS. 2006-12-06 Jean Bréfort <jean.brefort@normalesup.org> * goffice/gofficeapp.cc: don't call gcu::Application::AddDocument or RemoveDocument, since they are already called from the document constructor or destructor (and they are now private). * lib/application.cc: ditto. * lib/document.cc: ditto. 2006-12-02 Jean Bréfort <jean.brefort@normalesup.org> * plugins/text/texttool.cc: finished reimplementation and cleaned out some obsolete members. * plugins/text/texttool.h: ditto. 2006-12-01 Jean Bréfort <jean.brefort@normalesup.org> * lib/text.cc: make base line really invariant. * libgcpcanvas/gcp-canvas-pango.c: (gnome_canvas_pango_button_press_event), (gnome_canvas_pango_drag_event): fix a selection position issue. * plugins/selection/selectiontool.cc: clean old code. * plugins/text/texttool.cc: make rise attribute work. * plugins/text/texttool.h: ditto. 2006-11-29 Jean Bréfort <jean.brefort@normalesup.org> * plugins/text/texttool.cc: dont allow alpha channel in font colors. 2006-11-27 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: post release version bump (0.7.6). 2006-11-25 Jean Bréfort <jean.brefort@normalesup.org> * lib/window.cc: don't change the height of the tools bar when resizing. * plugins/text/texttool.cc: fixed a copy/paste issue. 2006-11-17 Jean Bréfort <jean.brefort@normalesup.org> * plugins/text/fontsel.glade: align a label vertically. * plugins/text/texttool.cc: font size changes reimplemented. * plugins/text/texttool.h: ditto. * ui/tools.glade: align a label vertically. 2006-11-16 Jean Bréfort <jean.brefort@normalesup.org> * lib/application.cc: fixed import from openbabel. * lib/document.cc: don't import invalid atoms when using openbabel. * lib/text.cc: support text color. * lib/window.cc: set urgency-hint to false. * libgcpcanvas/gcp-canvas-pango.c: (gnome_canvas_pango_set_insert_attrs): don't apply attributes to the selection. (gnome_canvas_pango_apply_attrs_to_selection): new function. * libgcpcanvas/gcp-canvas-pango.h: ditto. * plugins/text/texttool.cc: fixed various issues and add text color management. * plugins/text/texttool.h: ditto. * src/main.cc: pass mime type to FileProcess. 2006-11-15 Jean Bréfort <jean.brefort@normalesup.org> * lib/application.cc: use new gchemutils api for image export. * lib/application.h: ditto. * lib/document.cc: ditto. * lib/document.h: ditto. * lib/view.cc: ditto. * lib/view.h: ditto. 2006-11-11 Jean Bréfort <jean.brefort@normalesup.org> * lib/application.cc: fixed some toolbox visibility issues. * lib/application.h: ditto. * lib/tools.cc: ditto. * lib/tools.h: ditto. * ui/tools.glade: ditto. 2006-11-09 Jean Bréfort <jean.brefort@normalesup.org> * lib/theme.cc: fixed an uninitialized variable bug. * plugins/arrows/arrowtool.cc: correctly draw the arrows in the reversible arrow tool property page. 2006-11-09 Jean Bréfort <jean.brefort@normalesup.org> * lib/application.cc: add support for export to raster images with arbitrary resolution. * lib/document.cc: ditto. * lib/document.h: ditto. * lib/view.cc: ditto. * lib/view.h: ditto. * libgcpcanvas/gcp-canvas-pango.c: (merge_cb), (gnome_canvas_pango_set_insert_attrs): apply new attributes to current selection. 2006-11-04 Jean Bréfort <jean.brefort@normalesup.org> * lib/text.cc: fixed various copy/paste and undo/redo issues. * libgcpcanvas/gcp-canvas-pango.c: fixed selection. * plugins/text/texttool.cc: fixed various copy/paste and undo/redo issues. 2006-11-01 Jean Bréfort <jean.brefort@normalesup.org> * lib/text-object.h: more work on clipboard operations. * lib/text.cc: ditto. * lib/view.cc: ditto. * libgcpcanvas/gcp-canvas-pango.c: (gnome_canvas_pango_key_press_event): use correct start of selection when firing the sel-changed event. * plugins/text/texttool.cc: more work on clipboard operations. 2006-10-31 Jean Bréfort <jean.brefort@normalesup.org> * lib/fragment.cc: really moved OnSelChanged to gcpTextObject. * lib/fragment.h: ditto. * lib/text-object.cc: ditto. * lib/text-object.h: ditto. * lib/text.cc: ditto. * lib/text.h: ditto. 2006-10-31 Jean Bréfort <jean.brefort@normalesup.org> * lib/fragment.cc: moved OnSelChanged and associated stuff from gcpFragment to parent class. * lib/fragment.h: ditto. * lib/text-object.cc: ditto. * lib/text-object.h: ditto. * lib/text.cc: fix code for undo/redo and clipboard operations. * lib/text.h: ditto. * plugins/text/fragmenttool.cc: add an xml namespace when copying. * plugins/text/texttool.cc: ditto and worked on clipboard operations. 2006-10-30 Jean Bréfort <jean.brefort@normalesup.org> * lib/text.cc: saving/loading completed. 2006-10-29 Jean Bréfort <jean.brefort@normalesup.org> * lib/document.cc: add an ID to operations. * lib/document.h: ditto. * lib/fragment.cc: finished the reimplementation. * lib/fragment.h: ditto. * lib/operation.cc: add an ID to operations. * lib/operation.h: ditto. * lib/text.cc: enhanced save/load. * lib/view.cc: add a new method to hide cursor when focus is lost. * lib/view.h: ditto. * lib/window.cc: use the new gcpView method. 2006-10-24 Jean Bréfort <jean.brefort@normalesup.org> * lib/fragment.cc: more work on charges. * lib/molecule.cc: don't analyze fragments on loading (potentially dangerous and already done anyway). * lib/text-object.cc: add a flag to not validate fragments for undo/redo operations. * lib/text-object.h: ditto. * lib/window.cc: Properly unselect things when focusing out. 2006-10-23 Jean Bréfort <jean.brefort@normalesup.org> * goffice/gofficewin.cc: always put the new window on top. * lib/application.cc: reimplement status bar use in windows. * lib/window.cc: don't position at mouse. * libgcpcanvas/gcp-canvas-pango.c: (gnome_canvas_pango_finalize): kill timer if any. * ui/tools.glade: make it a dialog and remove the close button. 2006-10-22 Jean Bréfort <jean.brefort@normalesup.org> * lib/document.cc: do not play with window menus when there is no window. * lib/fragment.cc: always validate before saving. 2006-10-20 Jean Bréfort <jean.brefort@normalesup.org> * lib/application.cc: implement recent files. * lib/window.cc: ditto. * libgcpcanvas/gcp-canvas-pango.c: (gnome_canvas_pango_render): don't ref/unref a NULL list. 2006-10-15 Jean Bréfort <jean.brefort@normalesup.org> * lib/fragment.cc: more code rewritten. * lib/fragment.h: ditto. * lib/text-object.cc: ditto. * lib/text-object.h: ditto. * lib/text.cc: ditto. * lib/text.h: ditto. * lib/view.cc: use new gcpTextObject::OnChanged signzature. * libgcpcanvas/gcp-canvas-pango.c: add a new helper function (gcp_canvas_pango_set_selection_bounds) and fix some issues. * libgcpcanvas/gcp-canvas-pango.h: ditto. * plugins/text/fragmenttool.cc: more code rewritten. * plugins/text/texttool.cc: ditto. * plugins/text/texttool.h: ditto. 2006-10-08 Jean Bréfort <jean.brefort@normalesup.org> * lib/Makefile.am: removed mendeleiev.* and don' install header files. * lib/application.cc: don't use anymore obsolete gcpMendeleiev. * lib/fragment.cc: saving fragments works again. * lib/mendeleiev.cc: removed obsolete. * lib/mendeleiev.h: ditto. * lib/tools.cc: don't use anymore obsolete gcpMendeleiev. * lib/tools.h: ditto. * plugins/atoms/elementtool.cc: removed obsolete and unused header. * plugins/bonds/bondtool.cc: ditto. * plugins/cycles/cycletool.cc: ditto. 2006-10-07 Jean Bréfort <jean.brefort@normalesup.org> * lib/application.cc: removed menus and tool buttons activation since they have been moved to windows. * lib/application.h: ditto. * lib/document.cc: use new gcpWindow menu activation framework. * lib/document.h: ditto. * lib/fragment.cc: ditto and rewrote some more methods. * lib/mendeleiev.cc: commented some lines. * lib/tools.cc: use new gcpWindow menu activation framework. * lib/view.cc: ditto and started working on copying as svg, png or jpeg. * lib/view.h: ditto. * lib/widgetdata.cc: ditto. * lib/window.cc: new menu activation framework. * lib/window.h: ditto. * plugins/bonds/bondtool.cc: use new gcpWindow menu activation framework. * plugins/selection/selectiontool.cc: ditto. * plugins/text/fragmenttool.cc: ditto. * plugins/text/texttool.cc: ditto. 2006-10-05 Jean Bréfort <jean.brefort@normalesup.org> * goffice/plugin.xml.in: support clipboard operations. * plugins/text/fontsel.glade: add some more widgets. * plugins/text/texttool.cc: reimplemented underline and strikethrough. * plugins/text/texttool.h: ditto. 2006-10-01 Jean Bréfort <jean.brefort@normalesup.org> * lib/fragment.cc: more work on fragment edition. * lib/fragment.h: ditto. * libgcpcanvas/gcp-canvas-pango.c: changed the "sel-changed" signal signature. * libgcpcanvas/gcp-canvas-pango.h: ditto. * plugins/cycles/cycletool.cc: fixed a crasher. * plugins/text/fragmenttool.cc: enhance conversion from gcpAtom. 2006-09-20 Jean Bréfort <jean.brefort@normalesup.org> * lib/widgetdata.cc: add namespace to the clipboard data. 2006-09-17 Jean Bréfort <jean.brefort@normalesup.org> * lib/fragment.cc: some more work on the new framework. 2006-09-10 Jean Bréfort <jean.brefort@normalesup.org> * goffice/gchempaint.cc: add a call to co_components_set_mime_suffix. * lib/fragment.cc: some more work on the new framework. 2006-08-29 Jean Bréfort <jean.brefort@normalesup.org> * lib/fragment.cc: implement GetElementAtPos and start work on AnalContent. * lib/fragment.h: change signature of GetElementAtPos. 2006-08-28 Jean Bréfort <jean.brefort@normalesup.org> * goffice/gchempaint.cc: fill the pixbuf with 0 when document is NULL. * lib/document.cc: add a pango list attributes for atoms. * lib/document.h: ditto. * lib/fragment.cc: reimplement gcpFragment::OnChangeAtom. * libgcpcanvas/gcp-canvas-pango.c: (gcp_pango_layout_replace_text): new helper function. * libgcpcanvas/gcp-canvas-pango.h: ditto. * plugins/text/fragmenttool.cc: make clicking on an atom work again (not perfectly yet). * plugins/text/texttool.cc: removed a duplicated line. 2006-08-21 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: changed version to 0.7.5. * goffice/gchempaint.cc: synced with experimental branch. * lib/Makefile.am: ditto. * lib/application.cc: ditto. * lib/application.h: ditto. * lib/atom.cc: ditto. * lib/document.cc: ditto. * lib/document.h: ditto. * lib/fontsel.cc: ditto. * lib/fontsel.h: ditto. * lib/fragment.cc: ditto. * lib/fragment.h: ditto. * lib/mendeleiev.cc: ditto. * lib/preferences.cc: ditto. * lib/preferences.h: ditto. * lib/reactant.cc: ditto. * lib/text-object.cc: ditto. * lib/text-object.h: ditto. * lib/text.cc: ditto. * lib/text.h: ditto. * lib/theme.cc: ditto. * lib/theme.h: ditto. * lib/view.cc: ditto. * lib/view.h: ditto. * lib/window.cc: ditto. * lib/window.h: ditto. * libgcpcanvas/Makefile.am: ditto. * libgcpcanvas/gcp-canvas-pango.c: ditto. * libgcpcanvas/gcp-canvas-pango.h: ditto. * libgcpcanvas/gcp-canvas-rich-text.c: ditto (removed). * libgcpcanvas/gcp-canvas-rich-text.h: ditto (removed). * plugins/atoms/elementtool.cc: ditto. * plugins/bonds/bondtool.cc: ditto. * plugins/bonds/chaintool.cc: ditto. * plugins/cycles/cycletool.cc: ditto. * plugins/text/fragmenttool.cc: ditto. * plugins/text/fragmenttool.h: ditto. * plugins/text/texttool.cc: ditto. * plugins/text/texttool.h: ditto. * src/main.cc: ditto. * src/standaloneapp.cc: ditto. * src/standaloneapp.h: ditto. * ui/Makefile.am: ditto. * ui/preferences.glade: ditto. 2006-08-16 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: update version to 0.7.4 and fix critical problem introduced with last change. 2006-08-15 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: cleaned datadir evaluation. 2006-08-12 Jean Bréfort <jean.brefort@normalesup.org> * Makefile.am: add GConf support. * gchempaint.schemas.in: ditto. * lib/bond.cc: fix bond length. * lib/theme.cc: use GConf to define the default theme. * lib/theme.h: ditto. * plugins/arrows/arrowtool.cc: fix length. * plugins/bonds/bondtool.h: update copyright. * plugins/cycles/cycletool.h: ditto. 2006-06-26 Jean Bréfort <jean.brefort@normalesup.org> * lib/application.cc: ensure active tool options are updated when a document is selected. * lib/mesomery-arrow.cc: add new arrow width member to theme. * lib/reaction-arrow.cc: ditto. * lib/theme.cc: ditto. * lib/theme.h: ditto. * plugins/arrows/arrowtool.cc: ditto. * plugins/arrows/retrosynthesisarrow.cc: ditto. 2006-06-25 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: double eval datadir for GNU autoconf >= 2.59c * lib/Makefile.am: remve macros.h (use gcu version). * lib/bond.cc: more themeability. * lib/document.cc: ditto. * lib/document.h: ditto. * lib/macros.h: removed (use gcu version instead). * lib/settings.cc: more themeability. * lib/settings.h: ditto. * lib/theme.cc: ditto. * lib/theme.h: ditto. * lib/view.cc: ditto. * lib/view.h: ditto. * plugins/arrows/arrowtool.cc: ditto. * plugins/atoms/chargetool.cc: ditto. * plugins/bonds/bondtool.cc: ditto. * plugins/bonds/bondtool.h: ditto. * plugins/bonds/chaintool.cc: ditto. * plugins/bonds/chaintool.h: ditto. * plugins/cycles/cycletool.cc: ditto. * plugins/cycles/cycletool.h: ditto. * plugins/selection/erasertool.cc: ditto. * plugins/text/texttool.cc: ditto. * plugins/text/texttool.h: ditto. * src/standaloneapp.cc: ditto. 2006-06-20 Jean Bréfort <jean.brefort@normalesup.org> * goffice/gchempaint.cc: don't use 0 as default size. * goffice/gofficeapp.cc: do not quit when documents are closed. * goffice/gofficeapp.h: ditto. * lib/application.h: use documents set from gcu::Application. * plugins/text/texttool.cc: do not use bitmap fonts. * src/standaloneapp.cc: fixed various issues. * src/standaloneapp.h: ditto. 2006-06-12 Jean Bréfort <jean.brefort@normalesup.org> * goffice/gchempaint.cc: use theme instead of default settings. * lib/atom.cc: ditto. * lib/bond.cc: ditto. * lib/document.cc: ditto. * lib/document.h: ditto. * lib/electron.cc: ditto. * lib/fragment.cc: ditto. * lib/macros.h: updated members names. * lib/mesomery-arrow.cc: use theme instead of default settings. * lib/mesomery.cc: ditto. * lib/reactant.cc: ditto. * lib/reaction-arrow.cc: ditto. * lib/reaction-operator.cc: ditto. * lib/reaction-step.cc: ditto. * lib/reaction.cc: ditto. * lib/text.cc: ditto. * lib/theme.cc: fixed some values (take zoom into account). * lib/theme.h: add a name to each theme. * lib/view.cc: use theme instead of default settings. * lib/view.h: ditto. * lib/widgetdata.cc: ditto. * lib/widgetdata.h: ditto. * plugins/arrows/arrowtool.cc: ditto. * plugins/arrows/retrosynthesis.cc: ditto. * plugins/arrows/retrosynthesisarrow.cc: ditto. * plugins/atoms/elementtool.cc: ditto. * plugins/bonds/bondtool.cc: ditto. * plugins/bonds/chaintool.cc: ditto. * plugins/cycles/cycletool.cc: ditto. * plugins/selection/group.cc: ditto. * plugins/selection/groupdlg.cc: ditto. * plugins/selection/selectiontool.cc: ditto. * plugins/templates/templatetool.cc: ditto. * plugins/text/fragmenttool.cc: ditto. * plugins/text/texttool.cc: ditto. 2006-06-10 Jean Bréfort <jean.brefort@normalesup.org> * lib/docprop.cc: higified the dialog. * lib/docprop.h: ditto. * lib/theme.cc: create standard theme. * lib/theme.h: ditto. * src/standaloneapp.cc: removed Close and Quit buttons from the toolbar [#16656]. * ui/docprop.glade: higified the dialog. 2006-06-05 Jean Bréfort <jean.brefort@normalesup.org> * lib/macros.h: add a new macro for read-only props. * lib/theme.cc: new theme manager class. * lib/theme.h: ditto and made read-only themes properties. 2006-06-03 Jean Bréfort <jean.brefort@normalesup.org> * lib/Makefile.am: add new files. * lib/atom.cc: changed charge settings variables names. * lib/fragment.cc: ditto. * lib/macros.h: new file. * lib/mesomery.cc: fixed compilation warnings. * lib/molecule.cc: ditto. * lib/plugin.cc: ditto. * lib/reaction-operator.cc: ditto. * lib/reaction-step.cc: ditto. * lib/settings.cc: changed charge settings variables names. * lib/settings.h: ditto. * lib/text.cc: fixed compilation warnings. * lib/theme.cc: new class to support themes. * lib/theme.h: ditto. * lib/view.cc: changed charge settings variables names. * lib/widgetdata.cc: fixed compilation warnings. * plugins/arrows/retrosynthesis.cc: ditto. * plugins/atoms/chargetool.cc: changed charge settings variables names. * plugins/bonds/chaintool.cc: fixed compilation warnings. * plugins/cycles/cycletool.cc: ditto. * plugins/templates/plugin.cc: ditto. 2006-06-02 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: change bug report url and requires gcu>=0.7.3. * lib/application.cc: removed sme methods now implemented in gcu::Application. * lib/application.h: ditto. * lib/plugin.cc: fixed a compilation warning. * lib/reaction.cc: ditto. * lib/tools.cc: inhibit tools box delete. * lib/window.cc: use new API for OnMail and OnWeb. * src/standaloneapp.cc: ditto. 2006-05-21 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: post release version bump (0.7.3). 2006-05-19 Jean Bréfort <jean.brefort@normalesup.org> * goffice/gofficeapp.cc: implemented GOfficeApplication::OnFileNew. * goffice/gofficewin.cc: always set the title. * lib/application.cc: initialize m_NumWindow. * lib/application.h: set m_NumWindow a protected member. * lib/document.cc: set window title on loading. * lib/window.cc: implement priting ans saving for new UI. * lib/window.h: OnSave and GetDefaultTitle are not anymore pure virtual. * src/standaloneapp.cc: set window title when creating a new file. * src/standaloneapp.h: removed duplicate m_NumWindow. * src/standalonewin.cc: removed unused OnSave and GetDefaultTitle. * src/standalonewin.h: ditto. 2006-05-17 Jean Bréfort <jean.brefort@normalesup.org> * lib/document.cc: set writeable before creating the view. * lib/view.cc: don't create two widgets for new UI. * lib/window.cc: better implementation of gcpWindow::Close. * lib/window.h: ditto. 2006-05-16 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: port to new LINGUAS framework. * goffice/gchempaint.cc: set new_ui to true. * lib/application.cc: move new_ui from main.cc. * plugins/text/texttool.cc: don't play with empty selections. * po/LINGUAS: new file. * src/main.cc: move new_ui to application.cc. 2006-05-08 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: needs gcu >= 0.7.1. * goffice/gchempaint.cc: update to new goffice api. * lib/application.cc: update FileProcess to new signature. * lib/application.h: ditto. 2006-05-02 Jean Bréfort <jean.brefort@normalesup.org> * lib/settings.cc: add new default text font family. * lib/settings.h: ditto. * plugins/text/fontsel.glade: more work on text tool property page. * plugins/text/fragmenttool.cc: ditto. * plugins/text/texttool.cc: ditto. * plugins/text/texttool.h: ditto. * src/Makefile.am: fixed library name. 2006-04-09 Jean Bréfort <jean.brefort@normalesup.org> * lib/document.cc: allow documents not listed in the application (for templates). * lib/view.cc: ditto. * lib/widgetdata.cc: fixed a bug in GetBounds (potential rounding error) and fix xml code. * plugins/bonds/bondtool.cc: allow creation on new atoms instead of using already existing ones at same coordinates (needs new UI). * plugins/cycles/cycletool.cc: ditto. * plugins/templates/Makefile.am: add new glade file. * plugins/templates/category.cc: some work for new UI. * plugins/templates/category.h: ditto. * plugins/templates/templates-old.glade: old ui glade file (was templates.glade). * plugins/templates/templates.glade: updated. * plugins/templates/templatetool.cc: make template tool work with new UI. * plugins/templates/templatetool.h: ditto. * plugins/templates/templatetree.cc: ditto. * plugins/templates/templatetree.h: ditto. 2006-04-01 Jean Bréfort <jean.brefort@normalesup.org> * plugins/bonds/chaintool.cc: finished implementing. * plugins/bonds/chaintool.h: ditto. 2006-03-26 Jean Bréfort <jean.brefort@normalesup.org> * lib/application.cc: cleaned. * lib/settings.cc: add a MergeAtoms flag. * lib/settings.h: ditto. * plugins/bonds/Makefile.am: add new ui files. * plugins/bonds/bond.glade: new property box. * plugins/bonds/bondtool.cc: use new property box. * plugins/bonds/bondtool.h: ditto. * plugins/bonds/chain.glade: chain tool property box. * plugins/bonds/chaintool.cc: implemented OnDrag and options. * plugins/bonds/chaintool.h: ditto. * plugins/bonds/plugin.cc: add chain tool icon. * plugins/cycles/Makefile.am: add new ui files. * plugins/cycles/cycle.glade: new property box. * plugins/cycles/cyclen.glade: ditto. * plugins/cycles/cycletool.cc: use new property boxes. * plugins/cycles/cycletool.h: ditto. * plugins/templates/Makefile.am: add new files. * plugins/templates/category.cc: new class. * plugins/templates/category.h: ditto. * plugins/templates/plugin.cc: use categories. * plugins/templates/templates.glade: new ui. * plugins/templates/templatetool.cc: statred work on new ui. * plugins/templates/templatetree.cc: ditto. * plugins/templates/templatetree.h: ditto. * plugins/text/fontsel.glade: some minor enhancements. * plugins/text/texttool.cc: more work on new ui. * plugins/text/texttool.h: ditto. 2006-03-16 Jean Bréfort <jean.brefort@normalesup.org> * autogen.sh: minor enhancement. * lib/settings.cc: add default angle. * lib/settings.h: ditto. * plugins/bonds/Makefile.am: add new files. * plugins/bonds/bond.glade: new bond tool option box. * plugins/bonds/bonds.xml: add chain tool. * plugins/bonds/bondtool.cc: enhance one click bond add. * plugins/bonds/chain.glade: new chain tool. * plugins/bonds/chain24.png: ditto. * plugins/bonds/chaintool.cc: ditto. * plugins/bonds/chaintool.h: ditto. * plugins/bonds/plugin.cc: ditto. 2006-03-09 Jean Bréfort <jean.brefort@normalesup.org> * lib/application.cc: fixed tools window visibility. * lib/application.h: ditto. * lib/document.cc: import of file does not crash if there are no bonds. * lib/tools.cc: fixed tools window visibility. * lib/window.cc: ditto. * plugins/text/texttool.cc: add new text style window. * plugins/text/texttool.h: ditto. * plugins/text/fontsel.glade: ditto. * plugins/text/Makefile.am: add new glade file. * src/standaloneapp.cc: fixed status message for new UI. 2006-03-04 Jean Bréfort <jean.brefort@normalesup.org> * goffice/gofficeapp.cc: add OnFileNew and OnFileClose methods. * goffice/gofficeapp.h: ditto. * goffice/gofficewin.cc: removed obsolete virtual methods. * goffice/gofficewin.h: ditto. * lib/Makefile.am: removed filechooser.* obsolete files. * lib/application.cc: worked on new ui. * lib/application.h: ditto. * lib/document.cc: ditto. * lib/filechooser.cc: removed obsolete. * lib/filechooser.h: ditto. * lib/tools.cc: worked on new ui. * lib/tools.h: ditto. * lib/window.cc: ditto. * lib/window.h: ditto. * src/Makefile.am: add new files. * src/main.cc: add new ui as a cmmand line option. * src/standaloneapp.cc: worked on new ui. * src/standalonewin.cc: new window class for new ui. * src/standalonewin.h: ditto. 2006-02-27 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: post release version bump (0.7.2). 2006-02-27 Jean Bréfort <jean.brefort@normalesup.org> * Makefile.am: fix make distcheck. * configure.ac: ditto. * goffice/Makefile.am: ditto. * plugins/arrows/Makefile.am: ditto. * plugins/atoms/Makefile.am: ditto. * plugins/bonds/Makefile.am: ditto. * plugins/cycles/Makefile.am: ditto. * plugins/selection/Makefile.am: ditto. * plugins/text/Makefile.am: ditto. 2006-02-26 Jean Bréfort <jean.brefort@normalesup.org> * all sources: fixed copyright. 2006-02-25 Jean Bréfort <jean.brefort@normalesup.org> * TODO: updated tasks. * help/C/gchempaint-unstable.xml: removed invalid characters. * lib/bond.cc: enhanced crossing bonds code. * lib/bond.h: ditto. * lib/molecule.cc: ditto. * plugins/arrows/arrowtool.cc: add tool options to new UI. * plugins/arrows/arrowtool.glade: ditto. * plugins/arrows/arrowtool.h: ditto. * plugins/cycles/cyclentool.glade: ditto. * plugins/cycles/cycletool.cc: ditto. * plugins/cycles/cycletool.h: ditto. * src/main.cc: ditto, and fixed --version command line option. 2006-02-07 Jean Bréfort <jean.brefort@normalesup.org> * goffice/gchempaint.cc: support the new alpha channel in goffice pixbufs. * lib/bond.cc: two bonds don't cross if they have a common atom. * src/standaloneapp.cc: replace a deprecated gnome-print call. 2006-02-01 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: needs gcu-unstable >= 0.7.0 and removed libgoffice tests since gcu does it. * goffice/Makefile.am: removed conditional compilation. * lib/bond.cc: add Bond::IsCrossing method. * lib/bond.h: ditto. * lib/document.cc: fixed OpenBabel export (2D). * lib/molecule.cc: tests for bonds crossing when adding a new bond, fix InChI and Smiles generation (stereochemistry). * lib/molecule.h: two new methods: BuildOBMol2D and CheckCrossings. * lib/view.h: use application/x-gchempaint as atom name. 2006-01-13 Daniel Leidert <daniel.leidert.spam@gmx.net> * gchempaint.server.in: Fix MIME type. * src/gchempaint-bonobo.cc: Minor change. 2006-01-09 Jean Bréfort <jean.brefort@normalesup.org> * lib/atom.cc: rotate charge and electrons. * lib/atom.h: ditto. * lib/electron.cc: ditto. * lib/electron.h: ditto. * plugins/selection/Makefile.am: fixed typos. * plugins/selection/selectiontool.cc: ensure select all works. 2006-01-02 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: need gchemutils >= 0.5.3. * goffice/Makefile.am: add new files. * goffice/gchempaint-priv.h: new header (GChemPaint component struct declaration). * goffice/gchempaint.cc: implement component editing. * goffice/gchempaint.h: ditto. * goffice/gofficeapp.cc: ditto. * goffice/gofficeapp.h: ditto. * goffice/gofficewin.cc: ditto. New window class for a better UI. * goffice/gofficewin.h: ditto. * lib/Makefile.am: add tools.* and window.*. * lib/application.cc: implementation of new UI. * lib/application.h: ditto. * lib/docprop.cc: ditto. * lib/document.h: ditto. * lib/mendeleiev.cc: ditto. * lib/tool.cc: ditto. * lib/tool.h: ditto. * lib/tools.cc: new tools window for the new UI. * lib/tools.h: ditto. * lib/view.cc: don't take care of the Merge button directly. * lib/window.cc: new document window for the new UI. * lib/window.h: ditto. * plugins/arrows/Makefile.am: update tools to work with new UI. * plugins/arrows/plugin.cc: ditto. * plugins/atoms/Makefile.am: ditto. * plugins/atoms/plugin.cc: ditto. * plugins/bonds/Makefile.am: ditto. * plugins/bonds/plugin.cc: ditto. * plugins/cycles/Makefile.am: ditto. * plugins/cycles/plugin.cc: ditto. * plugins/selection/Makefile.am: ditto. * plugins/selection/plugin.cc: ditto. * plugins/selection/selectiontool.cc: ditto. * plugins/selection/selectiontool.h: ditto. * plugins/templates/plugin.cc: ditto. * plugins/text/Makefile.am: ditto. * plugins/text/plugin.cc: ditto. * src/main.cc: add full help in command line options. * src/standaloneapp.cc: clear UI manager when destoying. * ui/Makefile.am: add tools.glade. * ui/docprop.glade: center the window. * ui/tools.glade: new tools window. 2005-12-03 Jean Bréfort <jean.brefort@normalesup.org> * lib/molecule.cc: add a menu to open a molecule in gchemcalc. * lib/molecule.h: ditto. 2005-12-02 Jean Bréfort <jean.brefort@normalesup.org> * lib/atom.cc: set some data to NULL when they are not used anymore [#15123]. 2005-11-27 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: post release version bump (0.7.1). * lib/document.cc: use REAL_NAME and EMAIL_ADDRESS environment variables. 2005-11-20 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: add ru to ALL_LINGUAS. 2005-11-16 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: enhance test for goffice. * goffice/gchempaint.cc: fix printing, and implement get_data. * lib/atom.cc: move the item representing a C atom to bottom. * lib/document.cc: cleanly separate BuildXMLTree and Save. * lib/molecule.cc: fixed export to Ghemical. * libgcpcanvas/gcp-canvas-pango.c: (gnome_canvas_pango_get_bounds): fixed y1. 2005-11-12 Jean Bréfort <jean.brefort@normalesup.org> * libgcpcanvas/gcp-canvas-pango.c: (blink_cb), (gnome_canvas_pango_class_init), (gnome_canvas_pango_set_property), (gnome_canvas_pango_get_property), (gnome_canvas_pango_update), (gnome_canvas_pango_unrealize), (gnome_canvas_pango_render): merged somechanges from experimental branch: cursor support and correct use of buffer bounds. 2005-11-11 Jean Bréfort <jean.brefort@normalesup.org> * goffice/Makefile.am: enhanced make install. * help/Makefile.am: removed unuseful images list. * lib/document.cc: do not try to update a deleted double bond [#14949]. * lib/document.h: ditto. * lib/view.cc: use a large enough pixbuf when exporting an image [#14825]. * libgcpcanvas/gcp-canvas-rich-text.c: (gnome_canvas_rich_text_ext_get_pango_layout): avoid using an uninitialized variable. * plugins/templates/plugin.cc: fixed memory leaks (on exit). * plugins/templates/templatetool.cc: ditto. * plugins/templates/templatetree.cc: ditto. * plugins/text/fragmenttool.cc: fixed a test (was very stupid). * plugins/text/texttool.cc: the same as above. 2005-11-07 Jean Bréfort <jean.brefort@normalesup.org> * Makefile.am: add the goffice directory. * configure.ac: add goffice component stuff. * goffice/Makefile.am: new support for a goffice component. * goffice/gchempaint.cc: ditto. * goffice/gchempaint.h: ditto. * goffice/gofficeapp.cc: ditto. * goffice/gofficeapp.h: ditto. * goffice/plugin.xml.in: ditto. * lib/Makefile.am: use -release instead of -version. * lib/view.cc: avoid crashes when drawing in a non realized canvas. * libgcpcanvas/Makefile.am: make libgcpcanvas a dynamic library. * libgcpcanvas/gcp-canvas-rich-text.c: avoid crashes when drawing in a non realized canvas. * src/Makefile.am: use libgcpcanvas.la instead of the static library. 2005-11-06 Jean Bréfort <jean.brefort@normalesup.org> * lib/view.cc: fixed leaks in gcpView::~gcpView. * lib/view.h: add some spaces. 2005-11-04 Jean Bréfort <jean.brefort@normalesup.org> * lib/atom.cc: set the font description for the pango layout. * libgcpcanvas/gnome-print-pango.c: (pango_layout_print): set the font description and fix some other issues. 2005-11-03 Jean Bréfort <jean.brefort@normalesup.org> * lib/atom.cc: use GnomeCanvasPango instead of GnomeCanvasRichText for atoms symbols. * lib/atom.h: ditto. 2005-11-02 Jean Bréfort <jean.brefort@normalesup.org> * lib/reaction.cc: fix an infinite loop condition in gcpReaction::GetYAlign. 2005-11-01 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: require gtk+-2.0 >= 2.8.0 to ensure the use of cairo. * lib/Makefile.am: remove dialog.*, add zoomdlg.*. * lib/application.cc: gcpApplication now derives from gcu::Application, so the help stuff has been moved there; added zoom support. * lib/application.h: ditto. Use gcu::Dialog instead of gcpDialog. * lib/atom.cc: use GnomeCanvasPango instead of GnomeCanvasText for charges, draw a bullet when two large bond lines cross, fix a bug related to charges * lib/atom.h: add a boolean member. * lib/dialog.cc: removed, obsoleted by gcu::Dialog. * lib/dialog.h: ditto. * lib/docprop.cc: Use gcu::Dialog instead of gcpDialog. * lib/docprop.h: ditto. * lib/fragment.cc: remved obsolete header. * lib/mendeleiev.cc: Use gcu::Dialog instead of gcpDialog. * lib/mendeleiev.h: ditto. * lib/reaction-operator.cc: use GnomeCanvasPango instead of GnomeCanvasText. * lib/reaction-operator.h: ditto. * lib/stringdlg.cc: use gcu::Dialog instead of gcpDialog. * lib/stringdlg.h: ditto. * lib/tool.h: ditto. * lib/view.cc: enhanced zooming. * lib/view.h: ditto. * lib/widgetdata.h: ditto. * lib/zoomdlg.cc: new zoom dialog. * lib/zoomdlg.h: ditto. * libgcpcanvas/Makefile.am: removed obsolete gcp-cavas-text.*. * libgcpcanvas/gcp-canvas-pango.c: make things work. * libgcpcanvas/gcp-canvas-rich-text.c: (gnome_canvas_rich_text_ext_render): fixed an alignment bug. * plugins/arrows/arrowtool.cc: use gcu::Dialog instead of gcpDialog. * plugins/atoms/chargetool.cc: use GnomeCanvasPango instead of GnomeCanvasText. * plugins/cycles/cycletool.cc: use gcu::Dialog instead of gcpDialog. * plugins/selection/groupdlg.cc: ditto. * plugins/selection/groupdlg.h: ditto. * plugins/templates/templatetool.cc: ditto. * src/bonoboapp.cc: include gchempaint-config.h ! * src/standaloneapp.cc: use gcu::Dialog instead of gcpDialog. * ui/Makefile.am: add zoom.glade. * ui/zoom.glade: new zoom dialog. 2005-10-19 Jean Bréfort <jean.brefort@normalesup.org> * lib/atom.cc: started work on a new zoomable text item. * lib/atom.h: ditto. * libgcpcanvas/Makefile.am: ditto. * libgcpcanvas/gcp-canvas-pango.c: ditto. * libgcpcanvas/gcp-canvas-pango.h: ditto. 2005-10-17 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: added some code to detect goffice. * lib/application.cc: add initial zooming support. * lib/application.h: ditto. * lib/text.cc: fix an infinite loop condition. * lib/view.cc: add initial zooming support. * lib/view.h: ditto. * libgcpcanvas/gcp-canvas-rich-text.c: ditto. * src/standaloneapp.cc: ditto. 2005-09-25 Jean Bréfort <jean.brefort@normalesup.org> * lib/bond.cc: first implementation of fore bonds drawing. * plugins/bonds/bondtool.cc: ditto. 2005-09-24 Jean Bréfort <jean.brefort@normalesup.org> * lib/stringdlg.cc: implement save as for the displayed string. * lib/view.cc: a better fix for STRING pasting. 2005-09-23 Jean Bréfort <jean.brefort@normalesup.org> * lib/stringdlg.cc: implemented copying contents. * lib/stringdlg.h: ditto. * lib/view.cc: don't crash when pasting STRING data. 2005-09-22 Jean Bréfort <jean.brefort@normalesup.org> * lib/about.cc: fixed various compilation warnings. * lib/application.cc: ditto. * lib/arrow.cc: ditto. * lib/atom.cc: ditto. * lib/bond.cc: ditto. * lib/dialog.cc: ditto. * lib/document.cc: ditto. * lib/electron.cc: ditto. * lib/filechooser.cc: ditto. * lib/fragment-atom.cc: ditto. * lib/fragment.cc: ditto. * lib/mesomery-arrow.cc: ditto. * lib/mesomery.cc: ditto. * lib/molecule.cc: ditto. * lib/operation.cc: ditto. * lib/reactant.cc: ditto. * lib/reaction-operator.cc: ditto. * lib/reaction-step.cc: ditto. * lib/reaction.cc: ditto. * lib/text-object.cc: ditto. * lib/text.cc: ditto. * lib/tool.cc: ditto. * lib/view.cc: ditto. * libgcpcanvas/gcp-canvas-group.c: ditto. * libgcpcanvas/gcp-canvas-line.c: ditto. * libgcpcanvas/gcp-canvas-rich-text.c: ditto. * libgcpcanvas/gcp-canvas-text.c: ditto. * libgcpcanvas/pango-layout-to-svg.c: ditto. * plugins/arrows/Makefile.am: use schemasdir = $(GCONF_SCHEMA_FILE_DIR). * plugins/arrows/arrowtool.cc: fixed various compilation warnings. * plugins/arrows/curvedarrowtool.cc: ditto. * plugins/arrows/retrosynthesis.cc: ditto. * plugins/arrows/retrosynthesisarrow.cc: ditto. * plugins/atoms/chargetool.cc: ditto. * plugins/atoms/electrontool.cc: ditto. * plugins/atoms/elementtool.cc: ditto. * plugins/bonds/bondtool.cc: ditto. * plugins/bonds/delocalizedtool.cc: ditto. * plugins/cycles/cycletool.cc: ditto. * plugins/selection/group.cc: ditto. * plugins/selection/selectiontool.cc: ditto. * plugins/templates/gtkcombotoolitem.c: ditto. * plugins/templates/templatetool.cc: ditto. * plugins/templates/templatetree.cc: ditto. * plugins/text/fragmenttool.cc: ditto. * plugins/text/texttool.cc: ditto. * src/gchempaint-bonobo.cc: ditto. * src/main.cc: ditto. * src/standaloneapp.cc: ditto. * tests/bonobo-control-test.c: ditto. 2005-09-21 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: requests gcu >= 0.5.2 and add -Wall to CFlags. * lib/Makefile.am: added stringdlg.[c,h]. * lib/bond.cc: some support for "fore" bonds. * lib/bond.h: ditto. * lib/molecule.cc: more work on InChI and Smiles. * lib/stringdlg.cc: a new dialog box for InChI and Smiles. * lib/stringdlg.h: ditto. * plugins/bonds/Makefile.am: * plugins/bonds/bonds.xml: some support for "fore" bonds. * plugins/bonds/bondtool.cc: ditto. * plugins/bonds/bondtool.h: ditto. * plugins/bonds/forebond24.png: ditto. * plugins/bonds/plugin.cc: ditto. * plugins/selection/erasertool.cc: undo/redo crashed after erasing an electron or electron pair. * plugins/templates/plugin.cc: removed an unused and non portable header (thanks to Pav Lucistnik who signaled the problem). * ui/Makefile.am: added sttingdlg.glade. * ui/stringdlg.glade: new file. 2005-09-17 Jean Bréfort <jean.brefort@normalesup.org> * lib/fragment.cc: fixed an alignment bug. 2005-09-12 Jean Bréfort <jean.brefort@normalesup.org> * COPYING-DOCS: new file (fdl text). * Makefile.am: added COPYING-DOCS to EXTRA_DIST. * lib/atom.cc: merged fixes from 0-6 branch. * lib/atom.h: ditto. * lib/fragment-atom.cc: ditto. * lib/fragment-atom.h: ditto. * lib/fragment.cc: ditto. * lib/settings.cc: ditto. * lib/settings.h: ditto. * lib/view.cc: ditto. * plugins/atoms/chargetool.cc: ditto. * plugins/atoms/chargetool.h: ditto. * plugins/text/texttool.cc: fixed buttons name, so that shortcuts works again. 2005-09-09 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: removed openbabel tests (they are already in gchemutils). * lib/application.cc: fix a write file bug and enhanced InChI support detection. * lib/atom.cc: fixed openbabel headers. * lib/document.cc: removed openbabel-1 stuff. * lib/molecule.cc: enhanced InChI generation. * lib/molecule.h: fixed openbabel header. * plugins/bonds/bondtool.cc: emit OnChangedSignal when a bond is modified. 2005-09-07 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: changed version to 0.7.0, and request OpenBabel-2. * lib/Makefile.am: renamed the library to libgchempaint-unstable. * lib/application.cc: add gcpApplication::ShowURI. * lib/application.h: ditto. * lib/docprop.cc: use unstable paths. * lib/document.cc: removed some old OpenBabel stuff. * lib/mendeleiev.cc: use unstable paths. * lib/molecule.cc: add some contextual menu entries, generates smiles, InChI and opens NIST webbook page for the molecule. * lib/molecule.h: ditto. * lib/plugin.cc: use unstable paths. * plugins/arrows/Makefile.am: ditto. * plugins/arrows/arrowtool.cc: ditto. * plugins/arrows/plugin.cc: ditto. * plugins/atoms/Makefile.am: ditto. * plugins/atoms/plugin.cc: ditto. * plugins/bonds/Makefile.am: ditto. * plugins/bonds/plugin.cc: ditto. * plugins/cycles/Makefile.am: ditto. * plugins/cycles/cycletool.cc: ditto. * plugins/cycles/plugin.cc: ditto. * plugins/selection/Makefile.am: ditto. * plugins/selection/groupdlg.cc: ditto. * plugins/selection/plugin.cc: ditto. * plugins/templates/Makefile.am: ditto. * plugins/templates/plugin.cc: ditto. * plugins/templates/templatetool.cc: ditto. * plugins/text/Makefile.am: ditto. * plugins/text/plugin.cc: ditto. * src/Makefile.am: ditto. * src/standaloneapp.cc: ditto. * ui/Makefile.am: ditto. 2005-08-26 Jean Bréfort <jean.brefort@normalesup.org> * lib/atom.cc: more local charges fixes. * lib/atom.h: ditto. * plugins/atoms/chargetool.cc: ditto. * plugins/atoms/chargetool.h: ditto. * plugins/atoms/electrontool.cc: fixed an analog problem. 2005-08-22 Jean Bréfort <jean.brefort@normalesup.org> * lib/atom.cc: fixed various items related to local charges. * lib/atom.h: ditto. * plugins/atoms/chargetool.cc: ditto. * plugins/atoms/chargetool.h: ditto. 2005-08-21 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: changed version to 0.5.7 (post release bump). * lib/widgetdata.cc: fixed critical copy/paste bugs. * plugins/text/fragmenttool.cc: ditto. * plugins/text/texttool.cc: ditto. 2005-08-20 Jean Bréfort <jean.brefort@normalesup.org> * Makefile.am: added --disable-update-databases to DISTCHECK_CONFIGURE_FLAGS. 2005-08-19 Jean Bréfort <jean.brefort@normalesup.org> * Makefile.am: make distcheck works without being root. * help/Makefile.am: add DOC_FIGURES. * lib/application.cc: add missing header. * lib/atom.cc: charge and electrons position is now unsigned (avoids an out of range comparison). * lib/atom.h: ditto. * lib/electron.cc: ditto. * lib/electron.h: ditto. * lib/fragment-atom.cc: ditto. * lib/fragment-atom.h: ditto. * lib/fragment.cc: ditto. * lib/fragment.h: ditto. * lib/molecule.cc: add missing header. * lib/view.cc: add missing header. * libgcpcanvas/gcp-canvas-text.c: (gnome_canvas_text_ext_ensure_rendered): fixed a gc-2.95 compilation error. * plugins/atoms/chargetool.cc: position is now unsigned. * plugins/atoms/chargetool.h: ditto. * plugins/atoms/electrontool.h: ditto. * plugins/selection/group.cc: fixes a gcc-2.95 compilation error. 2005-08-18 Jean Bréfort <jean.brefort@normalesup.org> * help/C/gchempaint-unstable.xml: udated the doc to 0.5.6. * lib/arrow.cc: added gcpArrow::GetYAlign. * lib/arrow.h: ditto. * lib/document.cc: added gcpDocument::GetYAlign. * lib/document.h: ditto. * lib/widgetdata.cc: do not select an already selected object. * plugins/arrows/retrosynthesis.cc: fixed a bug revealed by the change in gcpArrow class. * plugins/selection/group.cc: added gcpGroup::GetYAlign. * plugins/selection/group.h: ditto. 2005-08-18 Jean Bréfort <jean.brefort@normalesup.org> * help/C/figures/mesomery1.png: new screenshot. * help/C/figures/mesomery2.png: ditto. * help/C/figures/mesomery3.png: ditto. 2005-08-17 Jean Bréfort <jean.brefort@normalesup.org> * README: minor update. * TODO: removed completed tasks. * help/C/gchempaint-unstable.xml: fixed some typos and updated some topics. * lib/mesomery.cc: add gcpMesomery::GetYAlign. * lib/mesomery.h: ditto. * lib/reaction.cc: add gcpReaction::GetYAlign and fix a critical bug in do_destroy_reaction. * lib/reaction.h: add gcpReaction::GetYAlign. * plugins/selection/group.cc: add gcpGroup::Tranform2D. * plugins/selection/group.h: ditto. 2005-08-16 Jean Bréfort <jean.brefort@normalesup.org> * lib/document.cc: fixed various undo/redo bugs. * lib/mesomer.cc: add RemoveArrow method to gcpMesomer class. * lib/mesomer.h: ditto. * lib/mesomery-arrow.cc: implement gcMesomeryArrow::Load. * lib/mesomery.cc: completed gcpMesomery API. * lib/mesomery.h: ditto. * lib/widgetdata.cc: fixed a selection bug. * plugins/arrows/retrosynthesis.cc: unselect before destroying a retrosynthesis path. * src/arrowtool.cc: removed obsolete. * src/arrowtool.h: ditto. * src/bondtool.cc: ditto. * src/bondtool.h: ditto. * src/chargetool.cc: ditto. * src/chargetool.h: ditto. * src/cycletool.cc: ditto. * src/cycletool.h: ditto. * src/elementtool.cc: ditto. * src/elementtool.h: ditto. * src/file.cc: ditto. * src/file.h: ditto. * src/filesel.cc: ditto. * src/filesel.h: ditto. * src/fragmenttool.cc: ditto. * src/fragmenttool.h: ditto. * src/globals.h: ditto. * src/plustool.cc: ditto. * src/plustool.h: ditto. * src/texttool.cc: ditto. * src/texttool.h: ditto. 2005-08-15 Jean Bréfort <jean.brefort@normalesup.org> * COPYING: updated FSF postal address. * help/C/gchempaint-unstable.xml: ditto. * help/C/gchempaint.xml: ditto. * lib/about.cc: ditto. * lib/about.h: ditto. * lib/application.cc: ditto. * lib/application.h: ditto. * lib/arrow.cc: ditto. * lib/arrow.h: ditto. * lib/atom.cc: ditto. * lib/atom.h: ditto. * lib/bond.cc: ditto. * lib/bond.h: ditto. * lib/chain.cc: ditto. * lib/chain.h: ditto. * lib/cycle.cc: ditto. * lib/cycle.h: ditto. * lib/dialog.cc: ditto. * lib/dialog.h: ditto. * lib/docprop.cc: ditto. * lib/docprop.h: ditto. * lib/document.cc: ditto. * lib/document.h: ditto. * lib/electron.cc: ditto. * lib/electron.h: ditto. * lib/filechooser.cc: ditto. * lib/filechooser.h: ditto. * lib/fragment-atom.cc: ditto. * lib/fragment-atom.h: ditto. * lib/fragment.cc: ditto. * lib/fragment.h: ditto. * lib/mendeleiev.cc: ditto. * lib/mendeleiev.h: ditto. * lib/mesomer.cc: ditto. * lib/mesomer.h: ditto. * lib/mesomery-arrow.cc: ditto. * lib/mesomery-arrow.h: ditto. * lib/mesomery.cc: ditto. * lib/mesomery.h: ditto. * lib/molecule.cc: ditto. * lib/molecule.h: ditto. * lib/operation.cc: ditto. * lib/operation.h: ditto. * lib/plugin.cc: ditto. * lib/plugin.h: ditto. * lib/reactant.cc: ditto. * lib/reactant.h: ditto. * lib/reaction-arrow.cc: ditto. * lib/reaction-arrow.h: ditto. * lib/reaction-operator.cc: ditto. * lib/reaction-operator.h: ditto. * lib/reaction-step.cc: ditto. * lib/reaction-step.h: ditto. * lib/reaction.cc: ditto. * lib/reaction.h: ditto. * lib/settings.cc: ditto. * lib/settings.h: ditto. * lib/text-object.cc: ditto. * lib/text-object.h: ditto. * lib/text.cc: ditto. * lib/text.h: ditto. * lib/tool.cc: ditto. * lib/tool.h: ditto. * lib/view.cc: ditto. * lib/view.h: ditto. * lib/widgetdata.cc: ditto. * lib/widgetdata.h: ditto. * libgcpcanvas/gcp-canvas-group.c: ditto. * libgcpcanvas/gcp-canvas-group.h: ditto. * libgcpcanvas/gcp-canvas-i18n.h: ditto. * libgcpcanvas/gcp-canvas-line.c: ditto. * libgcpcanvas/gcp-canvas-line.h: ditto. * libgcpcanvas/gcp-canvas-polygon.c: ditto. * libgcpcanvas/gcp-canvas-polygon.h: ditto. * libgcpcanvas/gcp-canvas-rect-ellipse.c: ditto. * libgcpcanvas/gcp-canvas-rect-ellipse.h: ditto. * libgcpcanvas/gcp-canvas-rich-text.c: ditto. * libgcpcanvas/gcp-canvas-rich-text.h: ditto. * libgcpcanvas/gcp-canvas-shape.c: ditto. * libgcpcanvas/gcp-canvas-shape.h: ditto. * libgcpcanvas/gcp-canvas-text.c: ditto. * libgcpcanvas/gcp-canvas-text.h: ditto. * libgcpcanvas/gnome-print-pango.c: ditto. * libgcpcanvas/gnome-print-pango.h: ditto. * libgcpcanvas/gprintable.c: ditto. * libgcpcanvas/gprintable.h: ditto. * libgcpcanvas/pango-layout-to-svg.c: ditto. * plugins/arrows/arrowtool.cc: ditto. * plugins/arrows/arrowtool.h: ditto. * plugins/arrows/curvedarrowtool.cc: ditto. * plugins/arrows/curvedarrowtool.h: ditto. * plugins/arrows/plugin.cc: ditto. * plugins/arrows/plugin.h: ditto. * plugins/arrows/retrosynthesis.cc: ditto. * plugins/arrows/retrosynthesis.h: ditto. * plugins/arrows/retrosynthesisarrow.cc: ditto. * plugins/arrows/retrosynthesisarrow.h: ditto. * plugins/arrows/retrosynthesisstep.cc: ditto. * plugins/arrows/retrosynthesisstep.h: ditto. * plugins/atoms/chargetool.cc: ditto. * plugins/atoms/chargetool.h: ditto. * plugins/atoms/electrontool.cc: ditto. * plugins/atoms/electrontool.h: ditto. * plugins/atoms/elementtool.cc: ditto. * plugins/atoms/elementtool.h: ditto. * plugins/atoms/plugin.cc: ditto. * plugins/atoms/plugin.h: ditto. * plugins/bonds/bondtool.cc: ditto. * plugins/bonds/bondtool.h: ditto. * plugins/bonds/delocalizedtool.cc: ditto. * plugins/bonds/delocalizedtool.h: ditto. * plugins/bonds/plugin.cc: ditto. * plugins/bonds/plugin.h: ditto. * plugins/cycles/cycletool.cc: ditto. * plugins/cycles/cycletool.h: ditto. * plugins/cycles/plugin.cc: ditto. * plugins/cycles/plugin.h: ditto. * plugins/selection/erasertool.cc: ditto. * plugins/selection/erasertool.h: ditto. * plugins/selection/group.cc: ditto. * plugins/selection/group.h: ditto. * plugins/selection/groupdlg.cc: ditto. * plugins/selection/groupdlg.h: ditto. * plugins/selection/plugin.cc: ditto. * plugins/selection/plugin.h: ditto. * plugins/selection/selectiontool.cc: ditto. * plugins/selection/selectiontool.h: ditto. * plugins/templates/gtkcombotoolitem.c: ditto. * plugins/templates/gtkcombotoolitem.h: ditto. * plugins/templates/plugin.cc: ditto. * plugins/templates/plugin.h: ditto. * plugins/templates/templatetool.cc: ditto. * plugins/templates/templatetool.h: ditto. * plugins/templates/templatetree.cc: ditto. * plugins/templates/templatetree.h: ditto. * plugins/text/fragmenttool.cc: ditto. * plugins/text/fragmenttool.h: ditto. * plugins/text/plugin.cc: ditto. * plugins/text/plugin.h: ditto. * plugins/text/texttool.cc: ditto. * plugins/text/texttool.h: ditto. * src/bonoboapp.cc: ditto. * src/bonoboapp.h: ditto. * src/gchempaint-bonobo.cc: ditto. * src/gchempaint-bonobo.h: ditto. * src/main.cc: ditto. * src/standaloneapp.cc: ditto. * src/standaloneapp.h: ditto. 2005-08-14 Jean Bréfort <jean.brefort@normalesup.org> * lib/application.cc: add missing CreateMesomer function. * lib/mesomer.cc: add Load and OnSignal methods to gcpMesomer. * lib/mesomer.h: ditto. * lib/mesomery.cc: made some work in Validate(). * plugins/arrows/retrosynthesis.cc: fixed undo/redo and split bugs 2005-08-13 Jean Bréfort <jean.brefort@normalesup.org> * lib/mesomer.cc: fixed destructor. * lib/mesomery.cc: fixed various alignment concerns and removed gcpMesomery::Save which was useless. * lib/mesomery.h: removed gcpMesomery::Save. * plugins/arrows/retrosynthesis.cc: fixed some alignment concerns. * plugins/arrows/retrosynthesisarrow.cc: fixed vertical arrows drawing. 2005-08-12 Jean Bréfort <jean.brefort@normalesup.org> * lib/mesomery.cc: finished mesomery alignment and build. 2005-07-23 Jean Bréfort <jean.brefort@normalesup.org> * lib/mesomer.cc: add gcpMesomer::GetYAlign. * lib/mesomer.h: ditto. * lib/mesomery-arrow.cc: add gcpMesomeryArrow::Reverse (needed to ease alignment in mersomeries). * lib/mesomery-arrow.h: ditto. * lib/mesomery.cc: alignment now works for non cyclic relationships. * lib/mesomery.h: added gcpMesomery::Transform2D. * plugins/arrows/retrosynthesis.cc: added gcpRetrosynthesis::Transform2D to block retrosynthesis rotation which was not safe. * plugins/arrows/retrosynthesis.h: ditto. 2005-07-21 Jean Bréfort <jean.brefort@normalesup.org> * autogen.sh: add --force to gnome-doc-prepare. * help/gchempaint-unstable.omf.in: add Education to category. * help/gchempaint.omf.in: ditto. * lib/mesomery.cc: more wotk on alignment. 2005-07-20 Jean Bréfort <jean.brefort@normalesup.org> * Makefile.am: port doc to gnome-doc-utils. * autogen.sh: ditto. * configure.ac: ditto. * help/C/gchempaint-C.omf: removed obsolete. * help/C/gchempaint-unstable-C.omf: removed obsolete. * help/C/gchempaint-unstable.xml: removed obsolete. * help/Makefile.am: port doc to gnome-doc-utils. * help/gchempaint-unstable.omf.in: new file. * help/gchempaint.omf.in: new file. * lib/mesomery.cc: made more work on alignment. 2005-07-14 Jean Bréfort <jean.brefort@normalesup.org> * lib/mesomery.cc: made it compile again and add some preleminary code for aligning. 2005-07-13 Jean Bréfort <jean.brefort@normalesup.org> * lib/mesomery.cc: fixed some bugs and made some optimizations. * plugins/arrows/retrosynthesis.cc: ditto. 2005-07-03 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: added test for openbabel-2. * lib/application.cc: make it work with openbabel-2 * lib/document.cc: ditto. * lib/document.h: ditto. * lib/molecule.cc: ditto. * lib/view.cc: fixed depth for epsi files. 2005-06-17 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: changed version to 0.5.6. * lib/application.cc: repoved ps2eps test and associated member. * lib/application.h: ditto. * lib/text.cc: removed unused header. * lib/view.cc: export eps files without external ps2eps. * lib/widgetdata.h: ClearSelection of type void instead of bool. * libgcpcanvas/gcp-canvas-rich-text.c: patch from FreeBSD. * src/gchempaint-bonobo.cc: make it work. * tests/bonobo-control-test.c: (create_app): make it work with the development version. 2005-06-03 Jean Bréfort <jean.brefort@normalesup.org> * libgcpcanvas/gcp-canvas-rich-text.c: added missing headers. * libgcpcanvas/gcp-canvas-shape.c: ditto. * libgcpcanvas/gcp-canvas-text.c: ditto. * libgcpcanvas/gnome-print-pango.c: ditto. 2005-06-02 Jean Bréfort <jean.brefort@normalesup.org> * src/standaloneapp.cc: set the icon for printing related windows. 2005-05-30 Jean Bréfort <jean.brefort@normalesup.org> * help/C/figures/main-window.png: updated. * help/C/figures/retrosynthesis1.png: new screenshot. * help/C/figures/retrosynthesis2.png: ditto. * help/C/figures/retrosynthesis3.png: ditto. * help/C/figures/retrosynthesis4.png: ditto. * help/C/figures/templates.png: updated. * help/C/gchempaint-unstable.xml: * lib/about.cc: removed commented code. * lib/document.cc: use new gcu api. * lib/view.cc: ditto. * plugins/arrows/retrosynthesis.cc: removed gcpRetrosynthesis::Transform2D, implement destruction of retrosynthesis paths and updates them on changes. * plugins/arrows/retrosynthesis.h: ditto. * plugins/arrows/retrosynthesisstep.h: made returned arrow const. * src/standaloneapp.cc: use a better requested size for the scroll widget. 2005-05-22 Jean Bréfort <jean.brefort@normalesup.org> * lib/document.cc: Updated to new Object api changes. * lib/mesomery.cc: ditto. * lib/molecule.cc: ditto. * lib/molecule.h: ditto. * lib/reactant.cc: ditto. * lib/reaction-arrow.cc: ditto. * lib/reaction-step.cc: ditto. * lib/reaction.cc: ditto. * plugins/arrows/retrosynthesis.cc: ditto and some work on signals. * plugins/arrows/retrosynthesisarrow.cc: ditto. * plugins/arrows/retrosynthesisstep.cc: ditto and some work on signals. * plugins/cycles/cycletool.cc: ditto. * plugins/selection/group.cc: ditto. 2005-05-20 Jean Bréfort <jean.brefort@normalesup.org> * lib/document.cc: cleanly remove children in destructor. * lib/mesomery.cc: some work on serialization. * lib/reaction.cc: don't crash in destructor. * plugins/arrows/retrosynthesis.cc: implement serialization. * plugins/arrows/retrosynthesis.h: ditto. * plugins/arrows/retrosynthesisarrow.cc: ditto. * plugins/arrows/retrosynthesisstep.cc: ditto. * plugins/arrows/retrosynthesisstep.h: ditto. 2005-05-19 Jean Bréfort <jean.brefort@normalesup.org> * gchempaint-unstable.desktop.in: port Daniel's modifications * lib/mesomer.h: made work to validate mesomery objects. * lib/mesomery-arrow.cc: ditto. * lib/mesomery.cc: ditto. * lib/mesomery.h: ditto. * plugins/arrows/Makefile.am: add retrosynthesisstep.h and retrosynthesisstep.cc. * plugins/arrows/arrowtool.cc: add a required NULL argument to gcpRetrosynthesisArrow contructor. * plugins/arrows/plugin.cc: add gcpRetrosynthesisStep managing. * plugins/arrows/retrosynthesis.cc: validate, create and save gcpRetrosynthesis objects. * plugins/arrows/retrosynthesis.h: ditto. * plugins/arrows/retrosynthesisarrow.cc: ditto. * plugins/arrows/retrosynthesisarrow.h: ditto. * plugins/arrows/retrosynthesisstep.cc: ditto. * plugins/arrows/retrosynthesisstep.h: ditto. * plugins/selection/selectiontool.cc: fixed a bug. 2005-05-06 Jean Bréfort <jean.brefort@normalesup.org> * help/C/gchempaint-unstable.xml: remove non-valid '*.mdl' references. * lib/mesomer.cc: made some progress towards mesomery support. * lib/mesomer.h: ditto. * lib/mesomery-arrow.cc: ditto. * lib/mesomery.cc: ditto. * lib/reaction.cc: Fixed a potential bug in gcpReaction::~gcpReaction. * plugins/bonds/bondtool.cc: Fixed a bug in gcpSquiggleBondTool::Draw. 2005-05-05 Daniel Leidert <daniel.leidert@wgdd.de> * gchempaint.desktop.in: add Exec attributes and Encoding field, remove DocPath field (only valid for KDE) * help/C/gchempaint.xml: remove non-valid '*.mdl' references 2005-04-26 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: needs gchemutils >= 0.4.2. * lib/document.cc: (gcpDocument::AddFragment) don't call AnalContent before addig the fragment in the doc tree, (gcpDocument::Remove): block signals before removing an object. * lib/mesomery-arrow.h: add some inline methods. * lib/mesomery.cc: made some work to support mesomery. * lib/reactant.cc: fix a bug in OnSignal. * lib/reaction-arrow.cc: don't execute code in destructor when not useful. * lib/reaction-step.cc: ditto. * plugins/selection/erasertool.cc: don't remove automatic objects. 2005-04-10 Jean Bréfort <jean.brefort@normalesup.org> * gchempaint.desktop.in: added arguments to Exec, use sane Categories entries (Daniel Leidert). 2005-04-07 Jean Bréfort <jean.brefort@normalesup.org> * Makefile.am: removed obslete gchempaint.keys from CLEANFILES. * lib/about.cc: fix license layout. * lib/application.cc: fixed some file loading issues. * lib/atom.cc: fixed a bug (valence for 4th and 5th row elements). * lib/mesomery.cc: some work on creating a mesomery structure. * plugins/arrows/retrosynthesis.cc:some work on creating a retrosynthesis structure. 2005-03-28 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: fixed typo. * lib/application.cc: make all windows use the gchempaint icon. * lib/dialog.cc: ditto. * lib/fragment.cc: ditto. * plugins/selection/selectiontool.cc: ditto. * plugins/templates/templatetool.cc: ditto. * src/standaloneapp.cc: ditto. 2005-03-27 Jean Bréfort <jean.brefort@normalesup.org> * Makefile.am: ported fixes from 0-4 branches and removed old gnome<=2.4 stuff. * configure.ac: ditto. * gchempaint-unstable.desktop.in.in: removed obsolete. * gchempaint-unstable.server.in.in: ditto. * gchempaint.desktop.in.in: ditto. * gchempaint.server.in.in: ditto. * gchempaint.applications: ditto. * gchempaint.keys.in: ditto. * gchempaint.mime: ditto. * gchempaint-unstable.desktop.in: use version with no absolute path. * gchempaint-unstable.server.in: ditto. * gchempaint.desktop.in: ditto. * gchempaint.server.in: ditto. * gchempaint.png: renamed to gchempaint48.png * gchempaint128.png: new icon. * gchempaint32.png: new icon. * gchempaint48.png: was gchempaint.png. * gchempaint72.png: new icon. * lib/about.cc: gchempaint_logo.png is found in $datadir/gchempaint/pixmaps (Daniel Leidert). * lib/application.cc: fix files import from local directory. * lib/document.cc: update view size when loading (for large models). * lib/view.cc: add gcpView::EnsureSize() to update canvas size properly. * lib/view.h: ditto. * plugins/selection/group.cc: fixed typo. * tests/bonobo-control-test.c: (create_app): dont use NULL in call to Bonobo_Unknown_queryInterface. 2005-03-14 Jean Bréfort <jean.brefort@normalesup.org> * lib/reactant.h: fixed stoechiometry -> stoichiometry. * lib/reaction-step.cc: ditto. * lib/settings.cc: ditto. * lib/settings.h: ditto. * lib/view.cc: ditto. * lib/view.h: ditto. 2005-03-13 Jean Bréfort <jean.brefort@normalesup.org> * help/C/Makefile.am: fixed an automake warning. * lib/Makefile.am: added mesomer.* * lib/application.cc: * lib/mesomer.cc: new gcpMesomer class. * lib/mesomer.h: ditto. * lib/reactant.cc: fixed typos (stoechiometry -> stoichiometry) * lib/reactant.h: ditto. * src/standaloneapp.cc: add a space between Untitled and %d. 2005-03-06 Jean Bréfort <jean.brefort@normalesup.org> * lib/document.cc (gcpDocument::~gcpDocument): set m_CurOp to NULL after deleting. * lib/reaction.cc (gcpReaction::~gcpReaction): don't do anything if current operation is NULL; (gcpReaction::BuildContetualMenu): always return true. 2005-03-05 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: fixed various build/install issues. * Makefile.am: ditto. * help/C/Makefile.am: ditto. * lib/Makefile.am: ditto. * plugins/arrows/Makefile.am: ditto. * plugins/atoms/Makefile.am: ditto. * plugins/bonds/Makefile.am: ditto. * plugins/cycles/Makefile.am: ditto. * plugins/selection/Makefile.am: ditto. * plugins/templates/Makefile.am: ditto. * plugins/text/Makefile.am: ditto. * src/Makefile.am: ditto. * templates/Makefile.am: ditto. * lib/reaction.cc: Implement destruction of a reaction. * lib/reaction.h: Add gcpReaction::BuildContextualMenu method. * plugins/cycles/cycles.xml: fixed typo. * plugins/selection/selection.xml: ditto. * templates/templates.xml.in: ditto. 2005-03-02 Jean Bréfort <jean.brefort@normalesup.org> * Makefile.am: implement install-database option. * configure.ac: add install-database option. * help/C/gchempaint-unstable.xml: updated for 0.5.4. * lib/document.cc: don't try to save read-only docs. 2005-02-27 Jean Bréfort <jean.brefort@normalesup.org> * lib/application.cc: fixed a critical bug (GnomeVFSInfo unrefed twice). * lib/document.cc: keep correct alignment when splitting molecules. * lib/molecule.cc: set m_Alignment to NULL if object is destroyed. * lib/molecule.h: add a public method to retrieve m_Alignment Id. * plugins/cycles/cycletool.cc: lock molecule before adding a cycle. * plugins/selection/group.cc: fixed canvas update managment. 2005-02-24 Jean Bréfort <jean.brefort@normalesup.org> * lib/molecule.h: add gcpMolecule::Lock to bloc signal propagation on multiple operations (adding cycles). * plugins/cycles/cycletool.cc: lock molecule before adding bonds. * plugins/selection/group.cc: enhance canvas update managment. 2005-02-16 Jean Bréfort <jean.brefort@normalesup.org> * lib/document.h: add gcpDocument::GetCurrentOperation inline method. * lib/document.cc: (gcpDocument::AddObject): don't add object to current operation if not needed. * lib/reactant.cc: enhanced updating and undo/redo stuff. * lib/reactant.h: ditto. * lib/reaction-step.cc: ditto. * lib/reaction-step.h: ditto. * lib/reaction.cc: ditto. * lib/reaction-arrow.cc: ditto and fixed paste. * lib/view.cc: fixed undo/redo when deleting objects. 2005-02-04 Jean Bréfort <jean.brefort@normalesup.org> * lib/document.cc: fixed more undo/redo related stuff. * plugins/atoms/elementtool.cc: ditto. * plugins/selection/erasertool.cc: ditto. * plugins/selection/group.glade: finished making group dialog work. * plugins/selection/groupdlg.cc: ditto. * plugins/selection/groupdlg.h: ditto. 2005-02-03 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: restored libgnomeui dependency. * lib/application.cc: finished distant files manageement. * lib/document.cc: ditto. * plugins/selection/erasertool.cc: enhanced undo/redo. * plugins/templates/templatetree.cc: removed list. * plugins/templates/templatetree.h: ditto. * src/main.cc: initialize authentification management for distant access server. 2005-01-28 Jean Bréfort <jean.brefort@normalesup.org> * gchempaint.xml.in: add some mime types (cml and chm). * lib/application.cc, * lib/application.h, * lib/document.cc, * lib/document.h, * lib/filechooser.cc, * src/main.cc, * src/standaloneapp.cc: implement use of distant files with gnome-vfs. * lib/tool.h: added a std::set to fix undo/redo problems with groups. * plugins/bonds/bondtool.cc, * plugins/cycles/cycletool.cc: fixed undo/redo. * plugins/selection/group.cc: turn around a crash in libgnomecanvas. * plugins/templates/templatetree.cc: use a tree instead of a list. 2005-01-15 Jean Bréfort <jean.brefort@normalesup.org> * src/main.cc: use GOption to parse the command line. 2005-01-14 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: needs gtk+-2.6.0, removed libgnomeui dependency. * lib/about.cc: uses GtkAboutDialog. 2005-01-01 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: changed version to 0.5.4. * lib/about.cc: use a more standard translators list. * lib/application.cc: fixed typo. * lib/atom.cc, * lib/molecule.cc: add calls to EmitSignal where appropriate. * lib/tool.h: added m_ObjectGroup member. * lib/tool.cc: initialize m_ObjectGroup if appropriate. * plugins/atoms/chargetool.cc, * plugins/atoms/electrontool.cc, * plugins/atoms/elementtool.cc, * plugins/bonds/bondtool.cc: fixed undo/redo bugs and add calls to EmitSignal where appropriate. * plugins/selection/group.cc: update canvas when updating. * src/standaloneapp.cc: fixed typos in menus. 2004-12-13 Jean Bréfort <jean.brefort@normalesup.org> * lib/reaction-arrow.cc: fix bugs in gcpReactionArrow::Load (introduced yesterday!). * help/C/gchempaint-unstable.xml, * help/C/figures/: updated documentation for 0.5.3. 2004-12-12 Jean Bréfort <jean.brefort@normalesup.org> * lib/reaction.h, * lib/reaction.cc: add Load and OnSignal methods. * lib/reaction-arrow.cc: fix Load. * lib/reaction-step.cc: removed a call to gnome_canvas_update_now. 2004-12-11 Jean Bréfort <jean.brefort@normalesup.org> * lib/reactant.cc: fixed positions when loading. 2004-12-10 Jean Bréfort <jean.brefort@normalesup.org> * lib/application.cc: fixed typos. * lib/document.h: removed commented lines. * lib/fragment.cc: fixed a bug. * lib/reactant.cc: save and load stoechiometry. * lib/text.h, * lib/text.cc: fixed a bug for text loading. * lib/view.cc: added NULL as last arg for g_strconcat. * libgcpcanvas/gcp-canvas-rich-text.c, * libgcpcanvas/gcp-canvas-text.c: avoid using gnome_print_pango_layout_print. * libgcpcanvas/gnome-print-pango.h, * libgcpcanvas/gnome-print-pango.cc: renamed gnome_print_pango_layout_print to gcp_print_pango_layout_print. 2004-11-28 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: add check for gnome-print version. * libgcpcanvas/Makefile.am: compile local gnome-print-pango-layout.c if necessary. * libgcpcanvas/gcp-canvas-text.c, * libgcpcanvas/gcp-canvas-rich-text.c: ensure that the item has been rendered before accessing PangoLayout fields and use gnome_print_pango_layout if gnome-print version >= 2.8.0. * libgcpcanvas/gcp-canvas-text.h: fixed typos and added a boolean to the structure. * libgcpcanvas/gnome-print-pango.h, * libgcpcanvas/gnome-print-pango.c: new pango_layout_print function to use Pango integration in gnome-print >= 2.8. * lib/fragment.cc: added a missing EmitSignal call. * lib/reaction-arrow.cc: fixed update when type changes. * lib/reaction-step.h: added m_bLoading boolean private member. * lib/reaction-step.cc: do not execute OnSignal when loading. * lib/settings.cc: updated some default values to better choices. * lib/view.cc: fixed a minor bug in graphics export. * src/standaloneapp.cc: fixed some warnings for 64 bits systems. 2004-11-21 Jean Bréfort <jean.brefort@normalesup.org> * AUTHORS: added missing translator's names * templates/templates.xml.in: new templates for nucleosides by Serge Moreau. 2004-11-19 Jean Bréfort <jean.brefort@normalesup.org> * AUTHORS: minor update. * README: fixed typos. * lib/plugin.cc: add NULL as last argument for g_strconcat. * lib/reaction-arrow.h, * lib/reaction-arrow.cc: Fixed gcpReactionArrow::Update when type changes. * lib/text.cc: gcpText::Load, gcpText::LoadSelection and gcpText::LoadTaggedNode return a correct boolean. * libgcpcanvas/gcp-canvas-line.h, * libgcpcanvas/gcp-canvas-line.c: fixed a bug related to arrow heads. * pugins/cycles/cycletool.cc: use the atom position as start point in every case. * plugins/templates/plugin.cc: add NULL as last argument for g_strconcat. * pugins/text/fragmenttool.cc, * pugins/text/texttool.cc: inactivate save as image while editing. * templates/templates.xml.in: new templates for nucleic bases by Serge Moreau. 2004-11-15 Jean Bréfort <jean.brefort@normalesup.org> * src/arrow.cc, * src/text-object.cc: fixed stupid bugs while loading. * src/fragment-atom.cc: removed an unused local variable. * src/reactant.cc: implemented OnSignal. * src/reactant-step.cc: fixed OnSignal. * src/view.h: fixed typo. 2004-11-14 Jean Bréfort <jean.brefort@normalesup.org> * libgcpcanvas/gcp-canvas-rich-text.c, * lib/atom.cc, * lib/fragment.cc, * lib/text.cc: Fixed a text direction problem. * lib/reactant.cc: initial work on stoechiometry coefs. * lib/view.h, * lib/view.cc: Add a base line offset variable to correctly align texts. 2004-11-10 Jean Bréfort <jean.brefort@normalesup.org> * Makefile.am, * configure.in: test for update-desktop-database and try execute it only if present. * help/C/gchempaint-unstable.xml: some documentation update. * lib/Makefile.am: add new files splitted from reaction.* and mesomery.* * lib/application.cc: added new includes. * lib/mesomery.h, * lib/mesomery.cc: removed gcpMesomeryArrow class. * lib/mesomery-arrow.h, * lib/mesomery-arrow.cc: new files for class gcpMesomeryArrow. * lib/reaction.h, * lib/reaction.cc: removed gcpReactant, gcpReactionStep, gcpReactionArrow and gcpReactionoperator classes. * lib/reactant.h, * lib/reactant.cc: new files for class gcpReactant. * lib/reaction-step.h, * lib/reaction-step.cc: new files for class gcpReactionStep. * lib/reaction-arrow.h, * lib/reaction-arrow.cc: new files for class gcpReactionArrow. * lib/reaction-operator.h, * lib/reaction-perator.cc: new files for class gcpReactionOperator. * lib/settings.h, * lib/settings.cc, * lib/view.h, * lib/view.cc, * lib/widgetdaa.h : added new default values for objects padding. * plugins/arrows/arrowtool.cc: updated includes. * plugins/selection/Makefile.am: added group* new files. * plugins/group.h, * plugins/group.cc: new gcpGroup class to create new anonymous groups and/or align objects. * plugins/group.glade, * plugins/groupdlg.h, * plugins/groupdlg.cc: new dialog. 2004-10-15 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: Add gnome-vfs-module-2.0 requirement. * lib/application.cc: include correctly libgnomevfs/gnome-vfs-mime.h. 2004-10-13 Jean Bréfort <jean.brefort@normalesup.org> * configure.ac: Change version to 0.5.3. * lib/bond.h, * lib/bond.cc: Added gcpBond::GetYAlign. * lib/molecule.cc: reimplement commented menu item. * lib/reaction.h: changed signature of BuildContextualMenu (). * lib/reaction.cc: reimplement commented menu item, implement double arrows with full heads (bug #9537). * lib/tool.cc: remove the tool from the application's list when destroyed. * lib/arrow.h: Add double full headed arrows (bug #9537). * plugins/arrows/Makefile.am: Added arrowtool.glade (bug #9537). * plugins/arrows/arrowtool.h: Added gcpArrowTool::SetOptions (bug #9537). * plugins/arrows/arrowtool.cc: Implemented gcpArrowTool::SetOptions (bug #9537). * plugins/arrows/arrowtool.glade: New file (bug #9537). * plugins/arrows/plugin.cc: read configuration of arrow heads (bug #9537). * src/standaloneapp.h, * src/standaloneapp.cc, * src/main.cc: add gcpStandaloneApp::Show to show the window only after it has been fully constructed to be more HIG compliant. * src/standaloneapp.cc: add a call to gtk_action_group_set_translation_domain (applied a patch by Christian Lohmaier) fixes bug #10654 2004-09-24 Jean Bréfort <jean.brefort@ac-dijon.fr> * help/C/gchempaint-unstable.xml: Updated documentation for 0.5.2. * lib/molecule.cc, * lib/reaction.cc, * plugins/bonds/bonds.xml, * plugins/arrows/arrows.xml: Commented unused menus and tools. 2004-09-21 Jean Bréfort <jean.brefort@ac-dijon.fr> * lib/application.cc: Add a message on attempt to export eps when ps2eps is not available. * lib/atom.cc: Rewrote updating, add support for charges greater than 1 and charge position other than default, add single and paired electrons. * lib/bond.cc: (gcpBond::Add): Move electrons items to top. * lib/electron.h, * lib/electron.cc: new gcpElectron class to represent single and paired electrons. * lib/fragment-atom.h:, * lib/fragment-atom.cc, * lib/fragment.h: Updated API to support changes in charges management. * lib/fragment.cc: Enhance appearance for empty text while editing, updated API to support changes in charges management. * lib/molecule.cc: Export stereochemistry to ghemical. * lib/reaction.cc: Implemented gcpReactionStep::OnSignal. * lib/text.cc: Enhance appearance for empty text while editing, emit Changed signal upon modification. * plugins/arrows/plugin.cc, * plugins/arrows/retrosynthesis.h, * plugins/arrows/retrosynthesis.cc, * plugins/arrows/retrosynthesisarrow.h, * plugins/arrows/retrosynthesisarrow.cc: some work on retrosynthesis. * plugins/atoms/chargetool.cc: Support for charges greater than 1 and non default position. * plugins/atoms/electrontool.cc: implemented. * plugins/bonds/bondtool.cc: Fixed a bug (old item did not disappear when bond type changed). * plugins/templates/templatetool.cc: fixed an undo/redo bug. * Several memory leaks fixed here and there. 2004-06-29 Jean Bréfort <jean.brefort@ac-dijon.fr> * lib/molecule.cc: Molecules exported to Ghemical now appear centered in the new view. 2004-06-28 Jean Bréfort <jean.brefort@ac-dijon.fr> * configure.ac: need libglade >= 2.4.0 * plugins/selection/electrontool.h, * plugins/selection/electrontool.cc: make the distinction between the two tools. * src/standalone.cc: Fixed a mistyped string (thanks to Costantino). 2004-06-26 Jean Bréfort <jean.brefort@ac-dijon.fr> * lib/application.h: Add inline gcpApplication::HaveGhemical method. * lib/molecule.h, * lib/molecule.cc: Add a first version of Ghemical exporter. * lib/tool.h, * lib/tool.cc: Add a GtkUIManager* parameter to gcpTool::OnRightButtonClicked * lib/view.h, * lib/view.cc: Rewrite the right button click event handler. * plugins/selection/selectiontool.h, * plugins/selection/selectiontool.cc: updated gcpSelectionTool::OnRightButtonClicked. 2004-06-23 Jean Bréfort <jean.brefort@ac-dijon.fr> * lib/arrow.h, * lib/reaction.cc, * lib/reaction.h, * plugins/arrows/arrowtool.cc, * plugins/arrows/arrowtool.h: replaced gcpArrowType by unsigned. * plugins/arrows/Makefile.am, * plugins/atoms/Makefile.am, * plugins/bonds/Makefile.am: Added new files * plugins/arrows/plugin.cc, * plugins/atoms/plugin.cc, * plugins/bonds/plugin.cc: Added new tools. * plugins/arrows/curvedarrowtool.cc, * plugins/arrows/curvedarrowtool.h, * plugins/arrows/retrosynthesis.cc, * plugins/arrows/retrosynthesis.h, * plugins/arrows/retrosynthesisarrow.cc, * plugins/arrows/retrosynthesisarrow.h, * plugins/atoms/electrontool.cc, * plugins/atoms/electrontool.h, * plugins/bonds/delocalizedtool.cc, * plugins/bonds/delocalizedtool.h: new files 2004-06-22 Jean Bréfort <jean.brefort@ac-dijon.fr> * lib/application.cc: fixed detection of ghand ps2eps. * lib/document.cc, * src/standaloneapp.cc: enable "Save As Image" only if document is not empty. 2004-06-21 Jean Bréfort <jean.brefort@ac-dijon.fr> * configure.ac: Changed version to 0.5.2 * lib/application.cc, * lib/application.h: Add SaveAsImage * lib/document.cc, * lib/document.h: Add ExportImage; * lib/filechooser.cc: removed duplicated filters * lib/view.cc, * lib/view.h: Add and implement ExportImage (at least png, jpeg and eps, svg will come later). * libgcpcanvas/gcp-canvas-group.c: (gnome_canvas_group_ext_print): fixed a bug: don't print hidden items. * libgcpcanvas/gcp-canvas-rich-text.c: (gnome_canvas_rich_text_ext_print): removed a warning. * plugins/arrows/Makefile.am, * plugins/arrows/arrows.xml, * plugins/atoms/Makefile.am, * plugins/atoms/atoms.xml, * plugins/bonds/Makefile.am, * plugins/bonds/bonds.xml: Added new tools buttons. * plugins/arrows/curved1-24.png, * plugins/arrows/curved24.png, * plugins/arrows/retrosynth24.png, * plugins/atoms/electronpair24.png, * plugins/atoms/unpairedelectron24.png, * plugins/bonds/delocalized24.png: New tools buttons. * src/standaloneapp.cc: Add the SaveAsImage action. 2004-06-18 Jean Bréfort <jean.brefort@ac-dijon.fr> * lib/bond.cc: move implicit carbon atoms items to bottom. * lib/document.cc: update the view after loading for a correct display of cyclic double bonds. * lib/view.cc: activate merge tool from SelectAll if convenient. * plugins/selection/selection.cc: get the active view when clicking any button. * Updated the documentation. 2004-06-16 Jean Bréfort <jean.brefort@ac-dijon.fr> * lib/bond.cc: removed some unuseful (and dangerous) calls in gcpBond::Add. * templates/templates.xml.in: added some aromatic hydrocarbons. * Updated the documentation for 0.5.1. 2004-06-16 Jean Bréfort <jean.brefort@ac-dijon.fr> * lib/application.cc: fixed bugs in file loading. * lib/application.h: changed FileProcess parameters. * lib/arrow.cc, * lib/arrow.h: remove Step notion. * lib/document.cc: enhanced Remove method * lib/filechooser.cc: update calls to gcpDocument::FileProcess. * lib/mesomery.cc, * lib/mesomery.h: remove Step notion. * lib/molecule.cc: minor editing. * lib/reaction.cc, * lib/reaction.h: remove Step notion, implement reaction loading. * lib/settings.cc: changed arrow padding. * plugins/selection/selectiontool.cc: add undo/redo for grouping. * src/main.cc: update calls to gcpDocument::FileProcess. * templates/templates.xml.in: added amino acids templates. 2004-06-02 Jean Bréfort <jean.brefort@ac-dijon.fr> * Makefile.am: Add gchempaint.xml.in to support shared mime data mechanism. * configure.ac: Nees shared-mime-data package * gchempaint.xml.in: New file. * lib/application.cc: Moved type creation code for text and fragment from plugins/text/plugin.cc. * lib/document.cc: Enhanced the Load Method and added a XML namespace to files on saving. * lib/atom.h, * lib/atom.cc: Implemented GetYAlign. * lib/fragment.h, * lib/fragment.cc: Same thing. * lib/molecule.h, * lib/molecule.cc: Same thing. * lib/mesomery.h, * lib/mesomery.cc: Add throw invalid_argument to Build. * lib/reaction.h, * lib/reaction.cc: Major enhancements to reactions and associated classes * lib/settings.h, * lib/settings.cc: Added DefaultArrowPadding and DefaultSignPadding. * lib/view.h, * lib/view.cc: Added ArrowPadding and SignPadding. * lib/widgetdata.h: Same thing. * lib/widgetdata.cc: Replaced selection of molecules by selection of highest level group. * plugins/atoms/chargetool.cc: Added a missing return instruction (stupid bug!). * plugins/selection/selectiontool.cc: Fixed a bug in OnRelease and enhanced CreateGroup. * plugins/text/plugin.cc: moved type creation code for text and fragment to lib/application.cc. 2004-05-21 Jean Bréfort <jean.brefort@ac-dijon.fr> * lib/application.cc: Added AddType calls and added rules. * lib/plugin.h, * lib/plugin.cc: added AddRules method to add new rules between Object types; This method is called after all types have been declared. * lib/reaction.h, * lib/reaction.cc: some work on implementation of reactions; not operational yet. * lib/tool.h, * lib/tool.cc: added virtual method OnRightButtonClicked. * lib/view.cc: added a call to gcpTool::OnRightButtonClicked. * lib/widgetdata.h, * lib/widgetdata.cc: added a public GetObjectBounds method. * plugins/arrows/plugin.cc, * plugins/selection/plugin.cc: removed calls to Object::AddType (moved to lib/application.cc) * plugins/selection/selectiontool.h, * plugins/selection/selectiontool.cc: implement OnRightButtonClicked; it will be used to group objects in reactions or other groups. When selecting, select the highest level group to which the initially selected objects are members. * src/standaloneapp.cc: fixed a Gtk-Warning. 2004-05-09 Jean Bréfort <jean.brefort@ac-dijon.fr> * lib/atom.h, * lib/atom.cc: enhanced Update method. * lib/bond.h, * lib/bond.cc: implemented Update method, fixed a couple of bugs. * lib/fragment.cc: enhanced Update method. * lib/view.cc: rewrote Update. * lib/tool.h, * lib/tool.cc: added OnRightButtonClicked virtual method. * plugins/bonds/bondtool.cc: one bug fixed. * plugins/selection/selectiontool.cc: one bug fixed. 2004-05-02 Jean Bréfort <jean.brefort@ac-dijon.fr> * lib/about.cc: include glib/gi18n.h instead of libgnome/libgnome.h * lib/application.h, * lib/application.cc: new methods: OnShowElements, OnMail, OnBug, OnWeb, OnHelp. Support of menu View/Periodic Table and Help menu entries. Also a new pure virtual method for check menu items (ToggleMenu). * lib/arrow.h, * lib/arrow.cc: Implement Transform2D. * lib/bond.h, * lib/bond.cc: Implement Transform2D, fix a bug in IncOrder and some changes in ReplaceAtom to support molecules merging. * lib/dialog.h: Remove obsolete includes * lib/dialog.cc: Rewrite OnHelp (use gcpApplication::OnHelp). * lib/document.h: Add an inline IsDirty method. * lib/document.cc: Remove obsolete code in Save() and add initial support to check if document has been changed. * lib/filechooser.cc: Remove obsolete code. * lib/fragment.h, * lib/fragment.cc: Implement Transform2D. * lib/mendeleiev.cc: Fix a bug. * lib/molecule.h: Changed signature of OnMerge() * lib/molecule.cc: Fix a bug in AddAtom() (avoids duplicates) and rewrote OnMerge to allow molecules merging. Implements Transform2D and GetAtomAt virtual methods. * lib/text.h, * lib/text.cc: Implement Transform2D. * lib/view.h: Removed obsolete include. * lib/view.cc: Removed dangerous code from destructor. * lib/widgetdata.h, * lib/widgetdata.cc: Add RotateSelection method. * plugins/atoms/elementtool.cc:Use gcpApplication::OnShowElements to show the periodic table. * plugins/bonds/bondtool.cc: Fixed two bugs. * plugins/selection/selectiontool.h, * plugins/selection/selectiontool.cc: Implements flip, rotation and molecules merging tools. * plugins/templates/plugin.cc, * plugins/templates/templatetree.cc, * plugins/text/fragmenttool.cc, * plugins/text/texttool.cc: Add missing headers. * plugins/arrows/arrows.xml, * plugins/atoms/atoms.xml, * plugins/bonds/bonds.xml, * plugins/cycles/cycles.xml, * plugins/selection/selection.xml, * plugins/templates/templates.xml, * plugins/text/text.xml: Updated the rows. * src/bonoboapp.h, * src/bonoboapp.cc: Add virtual ToggleMenu method. * src/gchempaint-bonobo.cc, * src/main.cc:Updated includes list. * src/standaloneapp.h, * src/standaloneapp.cc: Migrate from GNOMEUI to GtkAction and added several new menu items. * tests/bonobo-control-test.c: (main): Remove gnome_program_init, use gtk_init instead. 2004-04-15 Jean Bréfort <jean.brefort@ac-dijon.fr> * lib/document.h: * lib/document.cc: derive gcpDocument from gcu::Document. 2004-04-07 Jean Bréfort <jean.brefort@ac-dijon.fr> * configure.ac: * lib/arrow.h: * lib/atom.cc: * lib/atom.h: * lib/bond.h: * lib/fragment-atom.cc: * lib/fragment.cc: * lib/mendeleiev.cc: * lib/mendeleiev.h: * lib/operation.h: * lib/reaction.cc: * lib/text-object.cc: * lib/text-object.h: * lib/text.h: * lib/widgetdata.cc: * lib/widgetdata.h: * src/main.cc: * src/standaloneapp.cc: * plugins/atoms/elementtool.cc: made things compile with the new Gnome Chemistry Utils unified library. * plugins/selection/selection.xml: add new buttons * plugins/selection/selectiontool.cc: * plugins/selection/selectiontool.h: add early support for the new buttons * plugins/text/texttool.cc: fixed a critical bug 2004-03-28 Jean Bréfort <jean.brefort@ac-dijon.fr> * configure.ac: changed version to 0.5.1, add a test for ghemical * gchempaint.server.in.in: fixed mime type * plugins/selection/Makefile.am: add new pixmaps * plugins/selection/horiz24.png: * plugins/selection/merge24.png: * plugins/selection/rotate24.png: * plugins/selection/vert24.png: new icons * plugins/selection/selection.xml: add four new buttons * plugins/selection/selectiontool.h: * plugins/selection/selectiontool.cc: add gcpSelectionTool::ActivateMenu and activate new buttons when selection tool is active. * src/standaloneapp.cc: fixed a critical bug 2004-03-24 Jean Bréfort <jean.brefort@ac-dijon.fr> * configure.ac: updated dependencies * lib/view.cc: fixed a bug. * libgcpcanvas/Makefile.am: removed gnome-print-pango.* * libgcpcanvas/gcp-canvas-rich-text.c, * libgcpcanvas/gcp-canvas-text.c: don't include gnome-print-pango.h. * plugins/bonds/bondtool.cc: fixed a critical bug. * plugins/templates/templatetool.cc: update canvas before calculus of the size. * src/gchempaint-bonobo.cc: fixed a critical bug. * src/main.cc, * src/standaloneapp.cc: changed locally PACKAGE to gchempaint-unstable to allow help access. 2004-03-14 Jean Bréfort <jean.brefort@ac-dijon.fr> * Makefile.am: * configure.ac: * help/C/Makefile.am: * help/C/figures/main-window.png: * help/C/figures/new-template.png: * help/C/figures/templates-tools.png: * help/C/figures/templates.png: * help/C/figures/texttools-bar.png: * help/C/figures/tools-window.png: * help/C/gchempaint-unstable-C.omf: changed help to unstable version * gchempaint.applications: cleaned. * lib/about.cc: updated the translators list. * lib/application.cc: initialize XmlDoc member. * lib/atom.cc (gcpAtom::Add): removed normal font tag for indices. * lib/dialog.cc: help domain changed * lib/filechooser.cc: removed size reequest. * lib/mendeleiev.cc: initialize apply member to NULL. * plugins/arrows/arrows.xml: Simple instead of Simpe * plugins/templates/gtkcombotoolitem.c: (gtk_tool_combo_new_with_model): * plugins/templates/plugin.cc: * plugins/templates/templates.xml: * plugins/templates/templatetool.cc: * plugins/templates/templatetool.h: * plugins/templates/templatetree.cc: * plugins/templates/templatetree.h: completed templates support. * plugins/text/texttool.cc: removed buggy and commented lines. * src/Makefile.am: changed executables names. * src/standaloneapp.cc: fixed some details; avoid a crash. 2004-03-11 Jean Bréfort <jean.brefort@ac-dijon.fr> * libgcpcanvas/gnome-print-pango.[c,h]: changed license from GPL to LGPL. 2004-03-07 Jean Bréfort <jean.brefort@ac-dijon.fr> * TODO: removed completed tasks. * configure.ac: need openbabel-1.100.2 (shared library). * lib/application.cc: enhanced tools management, fixed some memory leaks. * lib/application.h: added several methods in gcpApplication. * lib/atom.cc: implemented gcpAtom::Update(GtkWidget*). * lib/atom.h: added helper method AddChargeItem. * lib/dialog.cc: fix a bug: do not clos the window if Apply() return false. * lib/document.cc: several bugs fixed. * lib/document.h: enhanced SetEditable(). * lib/filechooser.cc: have the correct buttons. * lib/fragment.cc: fixed bugs OnMarkSet now returns the good values. * lib/mendeleiev.cc: removed a g_object_unref which made GChemPaint crash. * lib/plugin.cc: added a call to dlerror when a problem occurs while loading a plugin. * lib/text.cc: removed commented lines. * lib/tool.cc: initialized some members in constructor. * lib/view.cc: Update(): removed special treatment of atoms, fixed some bugs. * lib/view.h: added a GetNbWidgets to gcpView * lib/widgetdata.cc: reimplemented Cut/Copy/Paste stuff. * lib/widgetdata.h: changes related to the ones in the cc file. * plugins/atoms/atoms.xml: removed an unuseful pos attribute. * plugins/templates/Makefile.am: updated files lists * plugins/templates/gtkcombotoolitem.c: * plugins/templates/gtkcombotoolitem.h: new wrapper to add a GtkComboBox in a toolbar. * plugins/templates/new-template.glade: new template dialog. * plugins/templates/templates.glade: template dialog. * plugins/templates/template24.png: file removed. * plugins/templates/plugin.cc: * plugins/templates/plugin.h: * plugins/templates/templates.xml: * plugins/templates/templatetool.cc: * plugins/templates/templatetool.h: * plugins/templates/templatetree.cc: * plugins/templates/templatetree.h: partial implementation of templates * plugins/text/Makefile.am: * plugins/text/fragmenttool.cc: * plugins/text/subscript24.png: * plugins/text/superscript24.png: * plugins/text/text.xml: * plugins/text/texttool.cc: ported to the new architecture. * po/POTFILES.in: updated the file list. * po/de.po: * po/fr.po: * po/it.po: * po/pl.po: * po/zh_CN.po: * src/gchempaint-bonobo.cc: * src/main.cc: * src/standaloneapp.h: * src/standaloneapp.cc: various enhancements and bugs fix. * templates/Makefile.am: fixed a bug in the installation directory. * templates/templates.xml.in: updated the benzene template (now created with the template tool). 2004-02-14 Jean Bréfort <jean.brefort@ac-dijon.fr> * plugins/arrows/arrows.xml: populated * plugins/cycles/cycletool.cc: * plugins/cycles/cycletool.h: reimplemted the option box for the n-sized cycle tool * libgcpcanvas/gcp-canvas-line.c: * libgcpcanvas/gcp-canvas-polygon.c: * libgcpcanvas/gcp-canvas-rect-ellipse.c: * tests/bonobo-control-test.c: changed config.h to gchempaint-config.h * src/tools.*: removed obsolete files 2004-02-12 Jean Bréfort <jean.brefort@ac-dijon.fr> * configure.ac: need gchemutils 0.2.3, added plugins/text, removed plugins/reactions * lib/application.cc: * lib/application.h: some new methods * lib/docprop.cc: * lib/mendeleiev.cc: changed the path to glade files * lib/settings.h: Removed FontName * lib/text.cc: * lib/text.h: * lib/view.cc: use of gcpApplication::GetFontName instead of FontName * plugins/Makefile.am: removed reactions, add text * plugins/arrows/Makefile.am: * plugins/arrows/arrow1-24.png: * plugins/arrows/arrow2-24.png: * plugins/arrows/arrows.xml: * plugins/arrows/arrowtool.cc: * plugins/arrows/arrowtool.h: * plugins/arrows/mesomery24.png: * plugins/arrows/plugin.cc: * plugins/arrows/plugin.h: moved files from src and made things compile * plugins/atoms/Makefile.am: added EXTRA_DIST * plugins/atoms/chargetool.cc: * plugins/atoms/chargetool.h: * plugins/atoms/elementtool.cc: * plugins/atoms/elementtool.h: minor change in copyright * plugins/bonds/Makefile.am: * plugins/bonds/bond24.png: * plugins/bonds/bonds.xml: * plugins/bonds/bondtool.cc: * plugins/bonds/bondtool.h: * plugins/bonds/downbond24.png: * plugins/bonds/plugin.cc: * plugins/bonds/plugin.h: * plugins/bonds/upbond24.png: * plugins/bonds/xbond24.png: * plugins/cycles/Makefile.am: moved files from src and made things compile and work * plugins/cycles/c3-24.png: * plugins/cycles/c4-24.png: * plugins/cycles/c5-24.png: * plugins/cycles/c6-24.png: * plugins/cycles/c7-24.png: * plugins/cycles/c8-24.png: * plugins/cycles/cn-24.png: * plugins/cycles/cycles.xml: * plugins/cycles/cycletool.cc: * plugins/cycles/cycletool.h: * plugins/cycles/plugin.cc: * plugins/cycles/plugin.h: moved files from src and made things compile and mostly work * plugins/selection/Makefile.am: added EXTRA_DIST * plugins/templates/Makefile.am: * plugins/templates/plugin.cc: * plugins/templates/plugin.h: * plugins/templates/templates.xml: * plugins/templates/templatetool.cc: * plugins/templates/templatetool.h: * plugins/templates/templatetree.cc: * plugins/templates/templatetree.h: added files * plugins/text/Makefile.am: * plugins/text/fragment24.png: * plugins/text/fragmenttool.cc: * plugins/text/fragmenttool.h: * plugins/text/plugin.cc: * plugins/text/plugin.h: * plugins/text/text.xml: * plugins/text/text24.png: * plugins/text/texttool.cc: * plugins/text/texttool.h: moved files from src and made things compile * src/main.cc: remove unused #include directives (gnome-print) * src/standaloneapp.cc: * src/standaloneapp.h: added printing, file properties and file closing. opens option box when clicking on the active tool button. * templates/Makefile.am: add templates.xml * templates/templates.xml.in: first version, contains only benzene. * ui/Makefile.am: * ui/docprop.glade: * ui/gchempaint.xml: * ui/mendeleiev.glade: moved from deprecated glade directory 2004-02-?? Jean Bréfort <jean.brefort@ac-dijon.fr> * configure.ac: 2004-02-07 Jean Bréfort <jean.brefort@ac-dijon.fr> * Makefile.am: add ui directory * configure.ac: need gchemutils 0.2.2 * lib/application.cc: * lib/application.h: new files operations * lib/atom.cc: * lib/atom.h: * lib/dialog.h: * lib/document.cc: * lib/document.h: * lib/fragment.cc: * lib/mendeleiev.cc: * lib/mendeleiev.h: * lib/view.cc: fixed misc bugs * plugins/atoms/Makefile.am: added files * plugins/atoms/atoms.xml: * plugins/atoms/charge+24.png: * plugins/atoms/charge-24.png: * plugins/atoms/element24.png: new files * plugins/atoms/chargetool.cc: * plugins/atoms/chargetool.h: * plugins/atoms/elementtool.cc: * plugins/atoms/elementtool.h: moved from src and updated to the new api * plugins/atoms/plugin.cc: * plugins/atoms/plugin.h: implementation of atoms related tools * plugins/selection/selection.xml: fixed some bugs * plugins/selection/selectiontool.h: * src/Makefile.am: added bonobo server * src/bonoboapp.cc: * src/bonoboapp.h: added some methods * src/gchempaint-bonobo.cc: make it compile and added main() * src/main.cc: more code cleaning * src/standaloneapp.cc: * src/standaloneapp.h: moved some files operations to gcpApplication * ui/Makefile.am: new empty file 2004-02-01 Jean Bréfort <jean.brefort@ac-dijon.fr> * Makefile.am: * lib/application.cc: * lib/application.h: Changed api to build user interface from xml files * lib/plugin.cc: * lib/plugin.h: Load plugins * lib/tool.cc: init m_pItem to NULL * lib/tool.h: added name. * lib/view.cc: * lib/view.h: * plugins/selection/Makefile.am: * plugins/selection/eraser24.png: * plugins/selection/plugin.cc: * plugins/selection/plugin.h: * plugins/selection/selection.xml: * plugins/selection/selection24.png: implementation of a plugin with selection and eraser tools. * plugins/selection/erasertool.cc: * plugins/selection/erasertool.h: * plugins/selection/selectiontool.cc: * plugins/selection/selectiontool.h: 4 files moved from src * src/Makefile.am: removed files moved to plugins/selection * src/main.cc: replaced PACKAGE by GETTEXT_PACKAGE for textdomain * src/standaloneapp.cc: * src/standaloneapp.h: implemented user interface for plugins 2004-01-22 Jean Bréfort <jean.brefort@ac-dijon.fr> * Makefile.am: added plugins and templates subdirectories. * configure.ac: added plugins and templates subdirectories. * added subdirectories in plugins and (empty) Makefile.am where appropriate * lib/Makefile.am: added filechooser.*. * lib/about.h: added missing #ifdef. * lib/application.cc, lib/application.h: new methods. * lib/document.cc: fixed a bug. When loading, filename must be absolute. * lib/plugin.cc, lib/plugin.h: added LoadPlugins static method. * lib/text.cc, lib/text.h: added tags initialization (taken from src/textool.cc). * lib/view.cc: create a widget when not embedded. * src/bonoboapp.h: added missing #ifdef. * src/main.cc: restored loading files from command line. * src/standaloneapp.cc, src/standaloneapp.h: new methods for io. * tests/cholesterol.gchempaint: updated with version 0.5. 2004-01-22 Jean Bréfort <jean.brefort@ac-dijon.fr> * lib/document.*: added a gcpApplication* parameter to the constructor. * src/bonoboapp.*: new gcpApplication derived class. * src/Makefile.am: include new files. * configure.ac: renamed config.h to gchempaint-config.h. * removed glade directory. * src/Makefile.am: changed executable name to gchempaint-0.5 and removed all sources but main.cc and standaloneapp.cc. * moved callbacks from main.cc to standaloneapp.cc * moved on_about to lib/about.cc (new file). * moved TextTagTable and FontName from texttool.cc to lib/text.cc 2004-01-18 Jean Bréfort <jean.brefort@ac-dijon.fr> * lib/application.h: added a dialog map and a current atomic number member added SetMenu method * lib/dialog.*: added a gcpApplication member * lib/mendeleiev.*, lib/docprop.*: use orf the new gcpDialog::m_App member * lib/mendeleiev.*: removed obsolete global variables * lib/*.h lib/*.cc: minor copyright update * src/standaloneapp.*: new gcpApplication derived class. * src/main.cc: use gcpStandaloneApp and removed or commented obsolete code * src/gchempaint-bonobo.h: replaced document.h by lib/document.h 2004-01-17 Jean Bréfort <jean.brefort@ac-dijon.fr> * configure.ac: updated version to 0.5.0 * created directory lib and moved files from src to lib * lib/application.*: new files and new gcpApplication class * lib/plugin.*: new files and new gcpPlugin class * lib: edited files to make them compile 2004-01-04 Jean Bréfort <jean.brefort@ac-dijon.fr> * configure.ac: updated version to 0.4.0 * src/gchempaint-bonobo.cc: changed the description of the editable flag to something easier to understand. 2003-12-13 Jean Bréfort <jean.brefort@ac-dijon.fr> * gchempaint.[keys,mime]: changed mime type to application/x-gchempaint for compatibility with gnome-mime-data (bug #126293). * Help file updated. * Implemented an editable property for the Bonobo Control. 2003-11-26 Jean Bréfort <jean.brefort@ac-dijon.fr> * src/erasertool.cc: add fragment support and make use of Object::SetSelected. * Various bugs fixed. * More work on help. 2003-11-23 Jean Bréfort <jean.brefort@ac-dijon.fr> * libgcpcanvas/gnome-print-pango.c: fix a bug. * main.cc (main): replaced gnome_app_add_docked by gnome_app_add_toolbar. * Some work on help. 2003-11-13 Jean Bréfort <jean.brefort@ac-dijon.fr> * libgcpcanvas: added bpath and polygons for stereobonds * libgcpcanvas/gcp-canvas-shape.[h,c]: imported all the code from libgnomecanvas for avoid unsecure dependencies. * src/bond.cc: use printable items for stereobonds * glade/gchempaint.xml: completed the menus * gchempaint-bonobo.cc: support of new ui. * various bugs fixed. 2003-11-09 Jean Bréfort <jean.brefort@ac-dijon.fr> * Changed version to 0.3.90. * added gchempaint.applications 2003-11-09 Pav Lucistnik <pav@oook.cz> * Fixed two compilation problems with gcc-2.95.x in libgcpcanvas (gcp-canvas-group.c and gcp-canvas-shape.c). 2003-11-08 Jean Bréfort <jean.brefort@ac-dijon.fr> * Changed help menu labels and tips for the Bonobo control. * Released 0.3.6 2003-11-07 Jean Bréfort <jean.brefort@ac-dijon.fr> * more work on bonobo server. 2003-11-05 Jean Bréfort <jean.brefort@ac-dijon.fr> * src/text.cc: one more bug fixed * libgcpcanvas/gnome-print-pango: slant text when necessary. * src/gchempaint-bonobo.cc: some enhancements. * src/main.cc (ActivateMenu and ActivateTool): check if the widget exists to avoid unwanted warnings. 2003-11-02 Jean Bréfort <jean.brefort@ac-dijon.fr> * libgcpcanvas: fixed several print issues. * src/settings.cc: moved default font from Sans to Bitstream Vera Sans * src/atom.cc: gcpAtom::Add and gcpAtom::SetSelected rewritten. * Changed coloring scheme of texts (background filled instead of outlined). * Changed the way text items length is calculated. * src/text.cc: fixed a bug in gcpText::OnEndUserAction: decoration applied only if text is inserted, not when moving the cursor. * src/fragment.cc: implemented a sensible charges support. 2003-10-19 Jean Bréfort <jean.brefort@ac-dijon.fr> * src/gnome-print-pango.c: added strikethrough and underline to print rendering. and fixed various bugs. 2003-10-12 Jean Bréfort <jean.brefort@ac-dijon.fr> * src/fragment.cc (gcpFragment::Save): don't save fragments with no characters. * added gnome-print-pango.[c,h] in libgcpcanvas to print Pango layouts. * added printing in all libgcpcanvas items. * added shapes and text in libgcpcanvas. * added gcp-canvas-group.[h,c]. all GnomeCanvasGroup replaced by printable GnomeCanvasGroupExt * view.cc: rewrote gcpView::Print * bond.cc (gcpBond::Add): changed GnomeCanvasLine to GnomeCanvasLineExt 2003-09-07 Jean Bréfort <jean.brefort@ac-dijon.fr> * added text printing * fixed some bugs in text.cc and fragment.cc 2003-08-29 Jean Bréfort <jean.brefort@ac-dijon.fr> * added arrows printing 2003-08-29 Pav Lucistnik <pav@oook.cz> * Fixed a compilation problem with gcc-2.95.x in libgcpcanvas/gcp-canvas-rich-text.c 2003-08-28 Jean Bréfort <jean.brefort@ac-dijon.fr> * updated gchempaint.dtd * completed Edit menu operations * limit the number of bonds of atoms * many improvements related to fragments * libgcpcanvas: added GPrintable interface * various bugs fixed 2003-07-28 Jean Bréfort <jean.brefort@ac-dijon.fr> * paste text from other programs * text can now be multiline * added "Edit/Select All" and corresponding code * gchempaint-bonobo.h: added bgcolor property to the BonoboControl * implemented undo/redo for texts * added gcpTextObject as common parent for gcpText and gcpFragment * moved gnome-canvas-line-ext.* to libgcpcanvas and rename them * gcp-canvas-line-ext.c: rewrote the arrow heads drawing code * reaction.cc: added id to Save and Load methods for gcpReactionOperator * document.cc (AddData): removed pView->AddObject * arrowtool.cc, plustool.cc (OnRelease): added pDoc->FinishOperation * added gcp-canvas-rich-text.[c,h] * text.cc: changed alignement from top to baseline * view.cc (OnReceive): pasted data are centered in the visible area when using Ctrl+V * various bugs fixed 2003-07-03 Jean Bréfort <jean.brefort@ac-dijon.fr> * plustool.cc: implemented everything * elementtool.cc: replace DefaultPadding by the view one * reaction.h, readtion.cc: implementation of class gcpReactionOperator 2003-07-02 Jean Bréfort <jean.brefort@ac-dijon.fr> * Changed version to 0.3.5 * textool.cc: subscript and superscript buttons can't be both active 2003-06-27 Jean Bréfort <jean.brefort@ac-dijon.fr> * Updated OpenBabel requirement to 1.100.1 and made it mandatory 2003-06-20 Jean Bréfort <jean.brefort@ac-dijon.fr> * Text tool: Finished work on fonts 2003-06-11 Jean Bréfort <jean.brefort@ac-dijon.fr> * Enhanced copy/cut/paste (several bugs fixed) * Fragment tool: automatic formating of figures and charge signs * Text tool: some work on fonts 2003-05-30 Jean Bréfort <jean.brefort@ac-dijon.fr> * Added partial implementation for copy/cut/paste * Started implementation of the fragment tool 2003-04-07 Jean Bréfort <jean.brefort@ac-dijon.fr> * Added new files to support missing tools * Fixed several bugs * Changed version to 0.3.3 2003-03-25 Jean Bréfort <jean.brefort@ac-dijon.fr> * Fixed several bugs 2003-03-25 Pav Lucistnik <pav@oook.cz> * Fixed a compilation problem with gcc-2.95.x in tests/bonobo-control-test.c 2003-03-25 Jean Bréfort <jean.brefort@ac-dijon.fr> * Fixed several bugs in OpenBabel support * Added some code for the squiggle bond tool 2003-03-22 Jean Bréfort <jean.brefort@ac-dijon.fr> * Fixed several bugs * Implemented the two local charge tools 2003-03-12 Jean Bréfort <jean.brefort@ac-dijon.fr> * Fixed a bug in the bonobo control code * Updated gchempaint.mime and gchempaint.keys.in 2003-02-27 Jean Bréfort <jean.brefort@ac-dijon.fr> * Undo/Redo works except for text * Fixed a bug in texttool.cc (Strike through button did not work properly) * Fixed several bugs in cycle and bonds tools. 2003-02-12 Jean Bréfort <jean.brefort@ac-dijon.fr> * Added files for mime type * Added a BonoboControl interface * Added -DBONOBO_DISABLE_DEPRECATED * Added a simple test program for the control 2003-01-06 Jean Bréfort <jean.brefort@ac-dijon.fr> * Enhanced text tool (enabled buttons in the text tool bar) * Added mesomery arrow * Fixed several bugs * Added Operation classes for undo/redo support 2002-12-06 Jean Bréfort <jean.brefort@ac-dijon.fr> * Added an initial text tool version * Added arrow tools * Added lot of new inactive buttons for later versions * Use Gnome Chemistry Utils for the periodic table and for Object Atom and Bond classes * Made some work towards a modularized architecture 2002-07-20 Jean Bréfort <jean.brefort@ac-dijon.fr> * Enhanced cycles tools * The canvas is inside a scrolling window and grows when necessary 2002-06-20 Jean Bréfort <jean.brefort@ac-dijon.fr> * Some changes to configure.ac and Makefile.am 2002-06-20 Jean Bréfort <jean.brefort@ac-dijon.fr> * Finished the document properties dialog box 2002-06-02 Jean Bréfort <jean.brefort@ac-dijon.fr> * Fixed a bug in gcpCycle::Simplify() * Added cycles tools 2002-05-25 Jean Bréfort <jean.brefort@ac-dijon.fr> * Fixed a stupid bug in object.cc * Added support for behaviour modification of tools by pressing Shift, Control and Alt keys * Implemented Shift and Control keys effect for the Bond tools. * Added support for options dialogs for tools (by double clicking or right clicking on a tool). 2002-05-04 Jean Bréfort <jean.brefort@ac-dijon.fr> * Added file_process function to open files from the command line and changed gcpFileSel::Apply to use it * The canvas grows with its container 2002-04-29 Jean Bréfort <jean.brefort@ac-dijon.fr> * Finished printing support 2001-01-22 Jean Bréfort <jean.brefort@ac-dijon.fr> * Created project GChemPaint