Commit Graph

2360 Commits

Author SHA1 Message Date
Eero Tamminen
2bf08ece8f Major updates to GraphViz plugin.
Re-factoring:
- split large functions to smaller ones to make code more readable
- renamed few methods and variables to what they actually do
- collect the report text to a buffer first so that it can be
  converted to latin-1 at one go
- Move common style stuff to GraphViz header and remove from .dot
  comments stuff that's obvious from first .dot file settings
Fixes:
- latin-1 conversion option is explicit, not depending on font
- set the GraphViz charset attribute according to latin1
- quote node and edge identifiers
- rankdir options correspond now to TB and LR (earlier LR and RL)
New features:
- Use christening/burial dates if birth/death dates are missing
- User can add a (e.g. copyright) note to the graph and set its
  location (newlines and double quotes are automatically escaped)
- User can give the paging direction
- User can set the GraphViz aspect ratio setting
- The weight option (either for children or parents)
- Women have rounded boxes, except in filled mode
  (current GraphViz doesn't support boxes that are both rounded and filled)
New default settings:
- set the ratio to "compress" instead of "fill"
- "mclimit=2.0", prevents crossed lines
- minimum node separation is 0.25


svn: r6010
2006-02-27 22:02:27 +00:00
Alex Roitman
9209f7eca9 * configure.in: Bump up version number.
svn: r6009
2006-02-27 18:51:38 +00:00
Alex Roitman
d01c7bcfe5 * configure.in: Bump up release number.
* Release: Version 2.0.10 "Holy Hand Grenade of Antioch" released.


svn: r6007
2006-02-27 17:43:51 +00:00
Alex Roitman
80bc471b59 Update
svn: r6006
2006-02-27 16:24:11 +00:00
Julio Sánchez
267905f17d * src/po/es.po: Translation update
svn: r6004
2006-02-27 13:59:23 +00:00
Alex Roitman
8bae700b80 * src/po/template.po: Update.
* src/po/template.po: Update.


svn: r6002
2006-02-27 06:19:25 +00:00
Doug Blank
e697e7de4c Added (my first) Calendar.py edits
svn: r6001
2006-02-27 05:17:50 +00:00
Don Allingham
bf25a9582b * src/EditPerson.py: strip names of trailing whitespace before
assigning them


svn: r5999
2006-02-27 03:29:31 +00:00
Don Allingham
94056f3602 * src/plugins/ImportGeneWeb.py: handle people with no firstname
or lastname, if encoding fails, attempt and iso-8859-1 conversion


svn: r5998
2006-02-26 23:52:43 +00:00
Alex Roitman
0043572c35 * gramps.sh.in: Update copyright year.
svn: r5996
2006-02-26 18:13:03 +00:00
Alex Roitman
877faeb4c4 * src/po/Makefile.am (.po.mo): Avoid using temp file as it breaks
distcheck -- use pipe instead.


svn: r5995
2006-02-26 18:07:44 +00:00
Alex Roitman
264d06b2a9 * src/plugins/Calendar.py (Widget.register): Do not add help
strings to style widgets.


svn: r5994
2006-02-26 16:44:48 +00:00
Alex Roitman
622c870879 * NEWS: Update.
svn: r5992
2006-02-25 07:08:05 +00:00
Alex Roitman
754cd97f3c * configure.in: Bump up the release number.
svn: r5991
2006-02-25 06:45:38 +00:00
Alex Roitman
ed287a85d3 * test/runtest.sh (GRPH_REP): Add calendar to the list of reports.
svn: r5990
2006-02-25 06:42:07 +00:00
Alex Roitman
082b2a7b88 * src/plugins/Calendar.py: Remove the unsupported flag.
svn: r5985
2006-02-24 20:56:24 +00:00
Alex Roitman
ea72d0db93 * src/po/pt_BR.po: Update.
svn: r5982
2006-02-24 17:58:15 +00:00
Alex Roitman
cc7027ca56 * src/plugins/Calendar.py: Remove translation from help strings;
do not import unused modules.
* src/po/template.po: Update.


svn: r5978
2006-02-23 19:23:29 +00:00
Alex Roitman
4e5c3b529f * src/plugins/Calendar.py (Calendar.__getitem__,
Widget.__getitem__): No translation for exception messages.
* src/po/template.po: Update.
* src/po/ru.po: Update.


svn: r5973
2006-02-23 00:47:20 +00:00
Don Allingham
429cb7b4ee * src/dates/Date_lt.py: new Lithuanian date handler
* src/po/lt.po: updated Lithuanian translation


svn: r5972
2006-02-22 21:05:54 +00:00
Don Allingham
e8d471d4ee * src/WriteXML.py: encode paths for objects in XML to handle
&, > and < in paths.


svn: r5963
2006-02-19 22:23:47 +00:00
Don Allingham
acc52f6816 * src/ImageSelect.py: fix already_loaded initalization
svn: r5962
2006-02-19 18:40:30 +00:00
Don Allingham
0daf58b604 * src/plugins/Makefile.am: added Calendary.py and
holidays.xml
* src/po/template.po: updated

* src/plugins/Calendar.py: added
* src/plugins/holidays.xml: added


svn: r5957
2006-02-19 05:25:29 +00:00
Alex Roitman
96c3789009 * src/plugins/FamilyGroup.py (dump_parent): Translate event names.
svn: r5950
2006-02-17 17:46:33 +00:00
Martin Hawlisch
b829978252 * src/po/de.po: Translation update
svn: r5948
2006-02-17 14:42:23 +00:00
Don Allingham
f25bdabcb7 * src/po/template.po: update for the string freeze for 2.0.10
svn: r5946
2006-02-17 04:48:58 +00:00
Alex Roitman
bc75ced306 * src/plugins/FamilyGroup.py (add_user_options): Do not use _("")
to create empty checkbox.


svn: r5945
2006-02-16 22:17:13 +00:00
Don Allingham
a7b12c2ec0 * src/ReadGedcom.py: remove debugging statements
svn: r5944
2006-02-16 21:38:42 +00:00
Alex Roitman
7309f0234a * src/ReportUtils.py (old_calc_age): Correct the logic.
svn: r5941
2006-02-15 18:26:50 +00:00
Don Allingham
cb0ca84064 * src/plugins/NavWebPage.py: include more information about CC licenses
in the ALT and TITLE tags.


svn: r5940
2006-02-15 04:45:55 +00:00
Don Allingham
d445b84dac * src/plugins/GraphViz.py: use new style links for narrative web page
generator


svn: r5939
2006-02-15 04:16:22 +00:00
Don Allingham
810a80da51 * src/DbPrompter.py: Try to give a more intelligent error message on an
exception thrown in DbPrompter - don't give a traceback.
* src/MediaView.py: clear out details and image if unselected


svn: r5938
2006-02-14 19:27:03 +00:00
Alex Roitman
c1b12a893f * src/ReportUtils.py (buried_str): Change the logic to be the same
as in born_str: first test for modified date, then full date, then
partial.


svn: r5937
2006-02-14 19:03:58 +00:00
Alex Roitman
8c50ca9c9c * src/docgen/OpenSpreadSheet.py
(OpenSpreadSheet._write_meta_file): Properly reference creator string.
* src/plugins/EventCmp.py (DisplayChart.on_write_table): Set
document creator; write localized event names.
(DisplayChart.draw_clist_display): Display localized event names.
* src/plugins/ChangeTypes.py: Convert event names to English for
storage and comparison.


svn: r5936
2006-02-14 18:50:46 +00:00
Don Allingham
2d39167929 * src/EditPerson.py: don't double add a place
svn: r5933
2006-02-14 04:34:13 +00:00
Alex Roitman
98aab9b503 * src/ReportUtils.py (buried_partial_date_no_place): Typo.
svn: r5932
2006-02-14 02:37:42 +00:00
Alex Roitman
16563fcf32 * src/ArgHandler.py (ArgHandler.cl_export): Do not strip path from
the media oject references.


svn: r5931
2006-02-14 01:48:01 +00:00
Stefan Bjork
c41fbcaf18 * src/po/sv.po: Minor update.
svn: r5930
2006-02-13 20:00:25 +00:00
Don Allingham
312044b831 * src/EventEdit.py: don't report the false "new event added" message
svn: r5928
2006-02-13 03:58:25 +00:00
Don Allingham
f5f6442504 * src/EditPerson.py: display LDS temple correctly
* src/plugins/NavWebpage.py: print nickname


svn: r5927
2006-02-12 23:58:52 +00:00
Alex Roitman
524becc3cd * src/po/Makefile.am (.po.mo): Allow for parallel building.
svn: r5926
2006-02-12 22:03:07 +00:00
Alex Roitman
fa8dde68bc * src/AddrEdit.py: Make preformatetd note appear without wrapping.
* src/EditPerson.py: No wrapping for preformatted notes.
* src/EditPlace.py: No wrapping for preformatted notes.
* src/EditSource.py: No wrapping for preformatted notes.
* src/EventEdit.py: No wrapping for preformatted notes.
* src/ImageSelect.py: No wrapping for preformatted notes.
* src/NameEdit.py: No wrapping for preformatted notes.
* src/Marriage.py: No wrapping for preformatted notes.


svn: r5925
2006-02-12 20:39:52 +00:00
Alex Roitman
34e7c8c67d * src/plugins/ReadPkg.py (impData): Use persistent directory for
unpacking the tarball: we need images to stay there.


svn: r5924
2006-02-12 19:07:33 +00:00
Don Allingham
bc47111822 * src/GrampsMime.py: detect directory type
* src/ImageSelect.py: don't allow directory types to be added
* src/MediaView.py: don't allow directory types to be added


svn: r5923
2006-02-12 05:25:17 +00:00
Alex Roitman
64d8eb7417 * src/DbPrompter.py (open_native): Use empty GRDB when opening fails.
svn: r5922
2006-02-12 04:08:24 +00:00
Alex Roitman
c01f2f714e * src/plugins/DetDescendantReport.py
(DetDescendantReport.write_endnotes): Disable writing reference
details.
* src/plugins/DetAncestralReport.py
(DetAncestorReport.write_endnotes): Disable writing reference details.


svn: r5920
2006-02-10 19:58:41 +00:00
Alex Roitman
8a700ceabc * src/docgen/ODFDoc.py: Typo.
svn: r5919
2006-02-10 16:48:23 +00:00
Alex Roitman
cca81f693f * src/WriteGedcom.py (write_sources): Export data_map.
svn: r5911
2006-02-09 21:10:56 +00:00
Alex Roitman
fde077914c * src/data/gramps.desktop: Improve Russian string, add Office
category.


svn: r5910
2006-02-09 19:00:44 +00:00
Alex Roitman
d643aa3936 * src/QuestionDialog.py (MissingMediaDialog): Catch delete event
and warn the user.
* src/Utils.py (ProgressMeter) Catch delete event and warn the user.


svn: r5906
2006-02-09 03:04:33 +00:00