49 Commits

Author SHA1 Message Date
Alex Roitman
8f84e924bb * src/ReportUtils.py (child_str): Initialize text.
svn: r5458
2005-12-01 16:06:51 +00:00
Don Allingham
aaaed40342 * src/Report.py: use filechooser for report dialog
* src/ReportUtils.py: use a single photo for image display


svn: r5383
2005-11-09 21:45:24 +00:00
Martin Hawlisch
b79beef27b * src/ReportUtils.py (sanitize_person): Restrict Media reference list
* src/plugins/NavWebPage.py: Add many more filtering of private data


svn: r5360
2005-11-04 13:04:13 +00:00
Don Allingham
054497f793 * src/ReportUtils.py: handle "unknown_gender_name" in parameter arrays
svn: r5305
2005-10-12 14:27:52 +00:00
Don Allingham
ad49a9e202 * src/GrampsDBCallback.py: doc changes
* src/NameDisplay.py: remove nickname support
* src/QuestionDialog.py: handle missing icons for pychecker
* src/Report.py: set a default size for the window (600)
* src/ReportUtils.py: doc changes, add common_name
* src/plugins/DetAncestralReport.py:


svn: r5300
2005-10-11 03:56:53 +00:00
Don Allingham
d4dec7ff60 * src/docgen/AbiWord2Doc.py: handle superscript properly
* src/ReportUtils.py: remove name generation from list_person_str
* src/plugins/DetAncestralReport.py: fix child list, use roman numerals


svn: r5281
2005-10-06 20:03:21 +00:00
Don Allingham
569af0f288 * src/ReportUtils.py: add pronoun/name support to child strings
* src/plugin/DetAncestralReport.py: Add support for ReportUtils
* src/plugin/DetDescendantReport.py: Add support for ReportUtils
* src/plugins/ImportGenweb.py: fix date handling to support
date ranges and date modifiers.


svn: r5265
2005-10-02 18:25:39 +00:00
Don Allingham
ebd9b9f7d9 * src/WriteGedcom.py: handle broken family
* src/ReportUtils.py: fix born_str to not depend on death date
* example/gedcom/sample.ged: remove broken refererence (I01)


svn: r5254
2005-09-29 18:58:11 +00:00
Don Allingham
20fb8825cd * doc/gramps-manual/C/*.xml
svn: r5217
2005-09-23 04:50:31 +00:00
Don Allingham
0903bc88d2 * src/ReportUtils.py: More UNKNOWN gender handling, and more
complete burial strings
* src/plugins/DetAncestralReport.py: defer pronoun handling to
ReportUtils
* src/plugins/DetDescendantReport.py: defer pronoun handling to
ReportUtils


svn: r5216
2005-09-22 03:04:46 +00:00
Alex Roitman
3c8a820cf4 * src/ReportUtils.py: Add UNKNOWN gender case throughout.
svn: r5215
2005-09-21 22:16:48 +00:00
Don Allingham
e1ae9c619e * src/plugins/DetAncestralReport.py: fix endnotes for null sources
* src/plugins/DetDescendantReport.py: fix endnotes for null sources
* src/plugins/FtmStyleAncestors.py: fix endnotes for null sources


svn: r5212
2005-09-21 17:13:26 +00:00
Don Allingham
fd28cfeac7 * src/ReportUtils.py: fix typo
* src/plugins/NavWebPage.py: handle contact page issues, including
random commas and missing image.


svn: r5208
2005-09-21 14:20:46 +00:00
Don Allingham
7a72837537 * src/ReportUtils.py: better string handling
* doc/gramps-manual/C/getstart.xml: updates from editors
* doc/gramps-manual/C/mainwin.xml: updates from editors
* doc/gramps-manual/C/usage.xml: updates from editors


svn: r5202
2005-09-20 04:21:50 +00:00
Martin Hawlisch
f8f6f500ef * src/ReportUtils.py (insert_images): Warn about non existing files
svn: r5153
2005-08-31 08:57:49 +00:00
Don Allingham
40042df8f6 * src/ImgManip.py: convert to png instead of jpeg
* src/ReadGedcom.py: try to catch bad secondary index error.
* src/ReportUtils.py: provide privacy sanitation on a list
* src/NavWebPage.py: better handling of thumbnails, allow gallery
page to be disabled


svn: r5122
2005-08-25 01:42:58 +00:00
Eero Tamminen
0693bfd63b Add header option to draw_legend() for StatisticsChart
svn: r5101
2005-08-17 22:44:40 +00:00
Don Allingham
b26b982274 update
svn: r4979
2005-07-29 22:14:56 +00:00
Don Allingham
f031f80287 privacy information
svn: r4978
2005-07-29 20:32:46 +00:00
Don Allingham
5ec331017e * src/ReportUtils.py: fix private name generation
* src/plugins/NavWebPage.py: Add family photos to the gallery,
handle privacy better and filter out private people from the
internal lists


svn: r4951
2005-07-17 22:42:05 +00:00
Don Allingham
01eebf5e77 * src/data/main*.css: fix <sup> spacing in CSS files
* src/plugins/NavWebPage.py: split parents and families
* src/ReportUtils.py: save note information


svn: r4949
2005-07-17 04:36:24 +00:00
Don Allingham
4b1b6d755f Narrative changes
svn: r4946
2005-07-15 21:58:29 +00:00
Martin Hawlisch
dee75c1f08 * src/ReportUtils.py (place_name): Really return place name
svn: r4818
2005-06-10 13:14:37 +00:00
Martin Hawlisch
fbefcf1eca * src/EditPerson.py, src/AddMedia.py, src/ImageSelect.py, src/ReportUtils.py, src/SelectObject.py, src/plugins/Ancestors.py, src/plugins/IndivComplete.py, src/plugins/IndivSummary.py, src/plugins/WebPage.py, src/plugins/WriteCD.py: Dont crash with "note only" media object.
svn: r4594
2005-05-14 13:19:56 +00:00
Alex Roitman
d64b5bdc47 * src/ReportUtils.py (insert_images): Pass sizes to add_media_object;
(married_str): Quit if no spouse.


svn: r4573
2005-05-12 16:57:15 +00:00
Alex Roitman
9b606381f9 * src/ReportUtils.py (insert_images): Pass sizes to add_media_object.
svn: r4570
2005-05-12 13:32:04 +00:00
Don Allingham
92f89387cb Handle married_rel_str if there is no spouse
svn: r4498
2005-05-06 21:11:46 +00:00
Don Allingham
06ca7b40fd Fixed typo
svn: r4471
2005-05-03 16:47:14 +00:00
Alex Roitman
f530e27275 * configure.in: Add Finnish back to installed languages
* src/po/fi.po: Make translations more consistent + some fixes
* src/ReportUtils.py (died_str): Typo.
* src/plugins/DetDescendantReport.py (add_user_options): Typos.
* src/plugins/DetAncestralReport.py (add_user_options): Typos.
* src/gramps_main.py (on_home_clicked): Typo.
* src/rule.glade: Translate label.
* src/po/fi.po: Add to gramps20 branch.
* src/po/template.po: Update translation template.
* src/po/ru.po: Translation update.


svn: r4420
2005-04-24 21:01:31 +00:00
Alex Roitman
46882b23cd * src/ReportUtils.py (list_person_str): Add missing periods;
Use burial_date and burial_place for named format string parameters.


svn: r4414
2005-04-24 15:00:40 +00:00
Alex Roitman
cde895aa1d * src/ReportUtils.py (list_person_str): Add missing periods.
svn: r4413
2005-04-24 14:57:08 +00:00
Eero Tamminen
b905316bbd fix typos
svn: r4379
2005-04-19 16:41:22 +00:00
Alex Roitman
6755b7e04e * src/ReportUtils.py (rgb_color): Add docs; (child_str): Fixes.
* src/plugins/Ancestors.py: Misc fixes.
* src/plugins/DetAncestralReport.py: Properly call child_str.
* src/plugins/DetDescendantReport.py: Properly call child_str.
* src/plugins/FtmStyleAncestors.py: Properly call child_str.
* src/plugins/FtmStyleDescendants.py: Properly call child_str.


svn: r4073
2005-02-22 03:43:53 +00:00
Alex Roitman
ac6ccd0adc * src/docgen/PSDrawDoc.py (rgb_color): Remove function, import it
from ReportUtils instead.
* src/ReportUtils.py (rgb_color): Add function.
* src/docgen/PdfDoc.py: Use rgb_color from ReportUtils.
* src/docgen/LPRDoc.py: Use rgb_color from ReportUtils.


svn: r4070
2005-02-22 01:59:28 +00:00
Don Allingham
352d7d4196 * src/ReportUtils.py: use today for age calculation if not
death date exists.
* src/plugins/NavWebPage.py: handle privacy if requested


svn: r4064
2005-02-20 23:27:55 +00:00
Alex Roitman
1ea0356d99 * src/ReportUtils.py (born_died_str): Find events to reference.
svn: r4061
2005-02-19 23:43:45 +00:00
Don Allingham
d382675562 * src/EditPerson.py: add privacy marker
* src/GrampBSDDB.py: record database version, handle person privacy flag
* src/RelLIb.py: Privacy flag for person (inherit from DataObj instead of SourceNote)
* src/ReportUtils.py: update to use person privacy flag
* src/gramps.glade: person privacy flag


svn: r4055
2005-02-19 22:11:51 +00:00
Alex Roitman
9ba1e69000 * src/docgen/LPRDoc.py (write_at): Correct vertical offset.
* src/docgen/PdfDoc.py (write_at,draw_bar): Add functions.
* src/docgen/PSDrawDoc.py (write_at): Add function;
(draw_bar): Support for filling with color.
* src/ReportUtils.py (draw_legend): Correct vertical offset.


svn: r4045
2005-02-18 01:10:25 +00:00
Alex Roitman
094c52c13f * src/plugins/NavWebPage.py (display_relationships): Pass
another argument to display_spouse(); (display_spouse): Use spacers
for additional spouses. Use unique registration name
* src/ReportUtils.py (find_spouse): Typo.


svn: r4022
2005-02-04 13:54:02 +00:00
Alex Roitman
aa41d93ec1 * src/Report.py: Proper translatable strings for generation numbers.
* src/ReportUtils.py: More report-related methods.
* src/plugins/DetAncestralReport.py: Use ReportUtils methods.
* src/plugins/DetDescendantReport.py: Use ReportUtils methods.


svn: r4016
2005-02-02 05:09:07 +00:00
Alex Roitman
7c272cbb34 * src/ReportUtils.py: More report-related methods.
* src/plugins/DetAncestralReport.py: Use ReportUtils methods.
* src/plugins/DetDescendantReport.py: Use ReportUtils methods.


svn: r4011
2005-02-01 05:08:16 +00:00
Don Allingham
f7df43643f * various: Change Person.male, Person.female, and Person.unkwown
to Person.MALE, Person.FEMALE and Person.UNKNOWN

* gramps.spec.in: bring up to date, support Fedora Core and Mandrake
* src/plugins/NavWebPage.py: Start of the Narrative Web Page plugin


svn: r4008
2005-02-01 03:46:29 +00:00
Alex Roitman
4385ae0b7c * src/ReportUtils.py (born_died_str,married_str): Use NameDisplay
to properly display names; (get_birth_death_strings, child_str,
born_str, died_str, buried_str): Add functions; (draw_legend): Use
correct style for the legend text, using write_at().
* src/docgen/OpenOffice.org (write_at): Accept paragraph style name.
* src/docgen/LPRDoc.org (draw_bar): Properly draw and use color
for the bar; (write_at): Correctly transform coordinates.
* src/plugins/StatisticsChart.py: Replace tabs with spaces.


svn: r4005
2005-01-31 05:31:30 +00:00
Don Allingham
23e620f2b5 * src/ReportUtils.py: allow start and stop event handle selection
for age estimation


svn: r3967
2005-01-26 04:21:38 +00:00
Alex Roitman
e9cee32736 * src/ReportUtils.py (born_died_str,married_str,child_str):
Add functions.
* src/plugins/FtmStyleDescendants.py,
src/plugins/FtmStyleAncestors.py: Use common strings from ReportUtils.


svn: r3960
2005-01-25 04:46:52 +00:00
Don Allingham
dceb6c2851 * gramps.spec.in: pkill gconfd to fix settings
svn: r3959
2005-01-25 04:24:42 +00:00
Don Allingham
8e813388e5 * src/ReportUtils.py: added estimate_age and sanitize_person
* src/BaseDoc.py: Add checks attempting to add styles after initializing
the document
* src/docgen/OpenOfficeDoc.py: add init assertions
* src/docgen/PSDrawDoc.py: fix line style in boxes
* src/docgen/SvgDrawDoc.py: fix line style in boxes

* src/ReportUtils.py: added documentation


svn: r3942
2005-01-20 04:11:13 +00:00
Alex Roitman
ff42dac0d1 * src/Utils.py (roman, pt2cm, cm2pt): Remove functions.
* src/ReportUtils.py (roman): Add function.
* src/docgen/OpenOfficeDoc.py (pt2cm): Remove function.
* src/docgen/PSDrawDoc.py (pt2cm): Remove function.
* src/plugins/AncestorChart2.py: Use ReportUtils.
* src/plugins/AncestorChart.py: Use ReportUtils.
* src/plugins/DesGraph.py: Use ReportUtils.
* src/plugins/FanChart.py: Use ReportUtils.
* src/plugins/StatisticsChart.py: Use ReportUtils.
* src/plugins/TimeLine.py: Use ReportUtils.


svn: r3937
2005-01-19 04:47:36 +00:00
Don Allingham
26fcdca9f4 * src/ReportUtils.py: Added
* src/BaseDoc.py: support for graphs
* src/docgen/OpenOfficeDoc.py: write_at support
* src/Makefile.am: added ReportUtils.py


svn: r3926
2005-01-18 05:42:08 +00:00