Commit Graph

608 Commits

Author SHA1 Message Date
Don Allingham
ae7ee195c6 * src/gramps.glade: added select/edit buttions to family view
* src/SelectChild.py: change title from Add Children to Add Child
to Family
* src/FamilyView: add support for adding spouse/child with full
Edit Person window, along with old method of adding via selectors


svn: r1746
2003-06-15 04:13:16 +00:00
Alex Roitman
4da90c8a2c Update
svn: r1745
2003-06-15 02:32:10 +00:00
Alex Roitman
11d636f464 * src/Utils.py: Provide a locale-aware string formatting conversion
into C-locale string (for saving floats in XML)
* src/StyleEditor.py (draw): Call locale.str instead of str.
* src/TextDoc.py (StyleSheetList.save): Call gformat instead of '%f'.


svn: r1744
2003-06-15 00:05:43 +00:00
Alex Roitman
71b5ed316e * src/plugins/IndivComplete.py (write_fact): Enable translation
for the event name;
* (get_stylesheet_savefile): Change the name of xml file (and,
consequently, the target filename) -- was confused with family group.
* src/StyleEditor.py (save_paragraph): Call gfloat instead of float.
* src/TextDoc.py (SheetParser.startElement): Likewise.


svn: r1743
2003-06-14 18:11:30 +00:00
Don Allingham
a554ab8d80 Fixed typo
svn: r1742
2003-06-14 17:14:46 +00:00
Don Allingham
f9b3e5df35 update
svn: r1741
2003-06-14 17:11:46 +00:00
Don Allingham
da433a0c5f * src/Utils.py: provide a locale independant floating point conversion
utility
* src/TextDoc.py: call new gfloat utility instead of float
* src/PaperMenu.py: call new gfloat utility instead of float


svn: r1740
2003-06-14 17:11:11 +00:00
Don Allingham
649a156da5 update
svn: r1739
2003-06-14 14:47:53 +00:00
Don Allingham
50312ea35e * src/preferences.glade: Don't immediately show preferences dialog
* src/GrampsCfg.py: Handle new callback for preferences dialog
* src/gramps_main.py: Pass update_display instead of full_update to
loadConfig to prevent the displaying of multiple entries on the display.


svn: r1738
2003-06-14 14:47:41 +00:00
Don Allingham
f41dc5329c update
svn: r1737
2003-06-14 13:59:34 +00:00
Don Allingham
fa7d837011 * Ancestors.py (AncestorsReport.__init__): Define Photo and
Entry cell styles.


svn: r1736
2003-06-14 13:58:24 +00:00
Alex Roitman
13ce8ec289 Update
svn: r1735
2003-06-14 05:10:45 +00:00
Alex Roitman
96dc27a4c0 * src/EditPerson.py (did_data_change): When checking name type,
compare translated strings (otherwise they always differ).


svn: r1734
2003-06-14 04:57:20 +00:00
Don Allingham
00e357ea3f removed extra '}'
svn: r1733
2003-06-14 04:01:09 +00:00
Don Allingham
e2f346d5ac update
svn: r1732
2003-06-14 03:49:35 +00:00
Don Allingham
f278d96e54 * src/docgen/RTFDoc.py: add support for superscripts
svn: r1731
2003-06-14 03:49:09 +00:00
Don Allingham
01021d7012 update
svn: r1730
2003-06-14 02:58:09 +00:00
Don Allingham
d279bb6956 * src/docgen/KwordDoc.py: add support for superscripts
svn: r1729
2003-06-14 02:57:49 +00:00
Don Allingham
01a8434340 update
svn: r1728
2003-06-14 02:20:14 +00:00
Don Allingham
829115ed72 * src/docgen/OpenDrawDoc.py: add support for superscripts
* src/docgen/OpenOfficeDoc.py: add support for superscripts
* src/plugins/Ancestors.py: New Ancestors report added


svn: r1727
2003-06-14 02:18:55 +00:00
Don Allingham
71adf538a3 * src/plugins/Ancestors.py: New Ancestors report added
svn: r1726
2003-06-14 01:16:30 +00:00
Don Allingham
5034e39800 Add Ancestors.py
svn: r1725
2003-06-14 01:16:09 +00:00
Don Allingham
4e88cae107 update
svn: r1724
2003-06-14 00:59:51 +00:00
Don Allingham
40b7437a6a * src/EditPerson.py: Removed the conflict of using pmap for two seperate
purposes - mapping places to iterators and places to keys. The place to
key map is now pdmap
* src/EditPlace.py: Handle drag and drop with places
* src/EditPerson.py: Handle exchange of perferred name and selected
name in the alternate name list


svn: r1723
2003-06-14 00:58:38 +00:00
Alex Roitman
d71ba8ad36 * src/const.py.in: Add InverseNameTypesMap.
* src/plugins/IndivComplete.py: Use InverseNameTypesMap for
alternate names.
* src/EditPerson.py (on_name_select_row): Display translated
name type.


svn: r1722
2003-06-13 23:06:03 +00:00
Alex Roitman
9b23b01451 * src/docgen/HtmlDoc.py: Properly build style declaration.
* src/plugins/FtmStyleDescendants.py: Setup before opening.


svn: r1721
2003-06-13 16:17:45 +00:00
Alex Roitman
59567076ce * src/docgen/OpenOfficeDoc.py: Escape special XML characters.
svn: r1720
2003-06-13 15:13:47 +00:00
Don Allingham
614aa121da * src/EditPerson.py: Removed the conflict of using pmap for two seperate
purposes - mapping places to iterators and places to keys. The place to
key map is now pdmap


svn: r1719
2003-06-13 15:08:07 +00:00
Alex Roitman
c5c5b9b217 * src/docgen/OpenOfficeDoc.py: Surround images by paragraph tags
when inside the table cell.


svn: r1718
2003-06-13 04:07:13 +00:00
Don Allingham
fa067b750c update
svn: r1717
2003-06-13 04:03:44 +00:00
Don Allingham
9c43834a21 * src/DrawDoc.py: support for drawing wedges and rotated text
* src/docgen/PSDrawDoc.py: postscipt support for wedges and rotated text
* src/docgen/PdfDrawDoc.py: PDF support for wedges and rotated text
* src/docgen/SvgDrawDoc.py: SVG support for wedges and rotated text
* src/docgen/OpenDrawDoc.py: OpenOffice support for wedges and rotated text
* src/plugins/FanChart.py: Fan chart report


* src/GenericFilter.py: rewrote IsAncestorOf and IsDescendantOf rules
to be more efficient and to properly handle loop detection.
* src/RelLib.py: Added the getValidDeath and getValidBirth methods to
the Person class
* src/plugins/WebPage.py: Handle filter errors
* src/docgen/OpenOfficeDoc.py: pass non-unicode names to zipfile


svn: r1716
2003-06-13 04:00:24 +00:00
Alex Roitman
dd959c379e * src/docgen/KwordDoc.py (write_text): Replace & with &amp in text.
Closes gramps-bugs-649228, finally.
(start_table): close FRAMESET tag conditionally. This prevents closing
it twice (both in end_cell and start_table). Closes 753151.


svn: r1715
2003-06-13 03:29:15 +00:00
Alex Roitman
212a2d95ee Typo
svn: r1714
2003-06-12 14:21:34 +00:00
Alex Roitman
dffbb9178d * src/docgen/OpenOfficeDoc.py: Fix typo. Prevent images from being
copied more than once.


svn: r1713
2003-06-12 14:19:30 +00:00
Alex Roitman
d4ceb8b19c * src/EditPlace.py: Add url_edit_callback() and pass it on to UrlEdit
when clicked on Add or Edit in Place's Url list.


svn: r1712
2003-06-12 03:20:05 +00:00
Alex Roitman
a4b2a332a3 * src/EditPlace.py (on_switch_page): Fix page numbers to enable proper
loading of gallery and references.


svn: r1711
2003-06-12 02:17:52 +00:00
Don Allingham
059fbee03e * src/GenericFilter.py: rewrote IsAncestorOf and IsDescendantOf rules
to be more efficient and to properly handle loop detection.
* src/RelLib.py: Added the getValidDeath and getValidBirth methods to
the Person class


svn: r1710
2003-06-12 02:04:42 +00:00
Alex Roitman
ff0b84fd61 * src/plugins/BookReport.py (Book.pop_item): Add missing return
statement.
* src/plugins/BookReport.py (BookReportSelector.open_book):
Add a warning if the database for the book is not the same as current.


svn: r1709
2003-06-11 22:33:01 +00:00
Alex Roitman
43923e88aa * src/docgen/HtmlDoc.py (add_photo): Fix typo in image reference.
svn: r1708
2003-06-11 16:26:36 +00:00
Alex Roitman
76c09a51a7 Typo
svn: r1707
2003-06-11 04:58:37 +00:00
Alex Roitman
3fea9c7a0c * src/Plugins.py: Add more values for book item registration.
* src/plugins/FtmStyleDescendants.py: Comply with book changes.
* src/plugins/FtmStyleAncestors.py: Likewise.
* src/plugins/BookReport.py: Rewrite most of the code using new classes:
BookItem, Book, BookList, BookParser, BookListDisplay. Add
open/save/edit functionality.
* src/plugins/book.glade: Add new dialog for BookListDisplay. Also add
a text entry field for saving book and new buttons: Open, Edit, Save.


svn: r1706
2003-06-11 04:39:53 +00:00
Alex Roitman
a100ff6829 Update
svn: r1705
2003-06-11 04:32:02 +00:00
Don Allingham
90d2336cc2 update
svn: r1704
2003-06-11 03:55:18 +00:00
Don Allingham
6b3cdc514c * src/const.py.in: Updated LDS temple list
svn: r1703
2003-06-11 03:55:09 +00:00
Don Allingham
c516e0b16b update
svn: r1702
2003-06-11 03:51:19 +00:00
Don Allingham
d3ea82f5d7 * src/select_person.glade: select person interface
* src/Plugins.py: Catch the LANG environment variable not being set when
determining which relationship calculator to use


svn: r1701
2003-06-11 03:51:09 +00:00
Don Allingham
c50b9a7a96 update
svn: r1700
2003-06-11 03:45:53 +00:00
Don Allingham
b3ec3a6a0e * src/styles.glade - scrolling fix
* src/dialog.glade - scrolling fix
* src/edit_person.glade - scrolling fix
* src/gramps.glade - scrolling fix
* src/imagesel.glade - scrolling fix
* src/marriage.glade - scrolling fix
* src/mergedata.glade - scrolling fix
* src/places.glade - scrolling fix
* src/rule.glade - scrolling fix
* src/srcsel.glade - scrolling fix


svn: r1699
2003-06-11 03:44:22 +00:00
Don Allingham
9751d50d14 update
svn: r1698
2003-06-11 03:26:26 +00:00
Don Allingham
cd9c84a212 * src/EditPerson.py: Support for keeping track of names, addresses,
and urls after they are edited
* src/NameEdit.py: Support for keeping track of names after they are edited
* src/AddrEdit.py: Support for keeping track of names after they are edited
* src/UrlEdit.py: Support for keeping track of names after they are edited


svn: r1697
2003-06-11 03:26:02 +00:00
Don Allingham
e8422b3b09 update
svn: r1696
2003-06-11 03:03:59 +00:00
Don Allingham
509c523312 * src/DrawDoc.py: support centered text
svn: r1695
2003-06-11 03:03:33 +00:00
Don Allingham
9615795b56 update
svn: r1694
2003-06-11 03:02:15 +00:00
Don Allingham
50311db083 * src/docgen/PdfDrawDoc.py: Support for rotated text and wedges
* src/docgen/PSDrawDoc.py: Support for rotated text and wedges
* src/StartupDialog.py: Attempt to seed the researcher name from the
name entry in the passwd file


svn: r1693
2003-06-11 03:01:46 +00:00
Don Allingham
374e418735 * src/docgen/PdfDrawDoc.py: Support for rotated text and wedges
* src/docgen/PSDrawDoc.py: Support for rotated text and wedges


svn: r1692
2003-06-11 02:59:01 +00:00
Don Allingham
25d47f6d9a update
svn: r1691
2003-06-11 02:57:00 +00:00
Don Allingham
50126aedd8 * src/ListModel.py: Be able to select based off an iter
* src/ImageSelect.py: Support keeping selecting attributes after
they are edited
* src/EventEdit.py: Support keeping selecting events after
they are edited
* src/AttrEdit.py: Support keeping selecting attributes after
they are edited
* src/Marriage.py: Support keeping track of events and attributes
after they are edited.
* src/EditPerson.py: Support keeping track of events and attributes
after they are edited.


svn: r1690
2003-06-11 02:54:57 +00:00
Don Allingham
46b847a7d6 update
svn: r1689
2003-06-11 01:35:51 +00:00
Don Allingham
8e3aed14df * src/Date.py: Handle date ranges in the form of xxxx - xxxx
svn: r1688
2003-06-11 01:35:04 +00:00
Don Allingham
f31ad104f1 update
svn: r1687
2003-06-10 17:11:01 +00:00
Don Allingham
87d698b39f * src/gramps.py: Add SIGCHLD handler
svn: r1686
2003-06-10 17:10:44 +00:00
Don Allingham
4a6631d148 update
svn: r1685
2003-06-10 16:37:45 +00:00
Don Allingham
ea705d5bab * gramps.spec.in: Add gramps icon to correct location on install
* src/gramps.desktop: Add startup notification (egg timer)


svn: r1684
2003-06-10 16:36:14 +00:00
Don Allingham
c4c9404abb update
svn: r1683
2003-06-10 14:24:41 +00:00
Don Allingham
bd8405d1b4 * src/gramps.glade: Make the select spouse dialog not modal.
* src/TextDoc.py: Added name property to style sheets
* src/StyleEditor.py: Add name property to edited style sheets
* src/RelLib.py: Fix for witness event under ZODB
* src/docgen/OpenDrawDoc.py: change name to OpenOffice.org
* src/docgen/OpenOfficeDoc.py: change name to OpenOffice.org


svn: r1682
2003-06-10 14:23:28 +00:00
Alex Roitman
52e494be76 * src/plugins/BookReport.py, src/plugins/FtmStyleDescendants.py,
src/plugins/FtmStyleAncestors.py: Further work on option handling.
Start parse/save cycle.


svn: r1681
2003-06-10 04:49:39 +00:00
Alex Roitman
f342e1edea * src/ReadXML.py, src/plugins/Check.py, src/plugins/WriteCD.py,
src/plugins/WritePkg.py: Proper use of dialog.run() in file
selector for missing media files.


svn: r1680
2003-06-10 00:00:05 +00:00
Alex Roitman
c7f705a048 Minor update
svn: r1679
2003-06-09 22:46:00 +00:00
Alex Roitman
c32afb7470 * src/Plugins.py: Register book items with options and style instead
of the functions get_options and get_style.
* src/plugins/BookReport.py, src/plugins/FtmStyleDescendants.py,
src/plugins/FtmStyleAncestors.py: Change from functions to values,
accordingly. Also switch to a proper use of dialog.run().


svn: r1678
2003-06-09 22:39:56 +00:00
Don Allingham
ea94d9a4fa * src/TextDoc.py: Added name property to style sheets
* src/StyleEditor.py: Add name property to edited style sheets
* src/RelLib.py: Fix for witness event under ZODB
* src/docgen/OpenDrawDoc.py: change name to OpenOffice.org
* src/docgen/OpenOfficeDoc.py: change name to OpenOffice.org


svn: r1677
2003-06-09 18:04:04 +00:00
Alex Roitman
17a7288371 * src/plugins/BookReport.py, src/plugins/FtmStyleDescendants.py:
Minor fixes.
* src/plugins/book.glade: Add Open and Save buttons.
* src/plugins/FtmStyleAncestors.py: Enable book item functionality.


svn: r1676
2003-06-09 00:07:31 +00:00
Alex Roitman
4ded53e05d Update
svn: r1675
2003-06-08 20:32:34 +00:00
Alex Roitman
34f42ec646 * src/Report.py: De-uglify center_person frame.
* src/plugins/BookReport.py: Add a center person column to a book
* src/plugins/FtmStyleDescendants.py: Get the style right.


svn: r1674
2003-06-08 20:32:17 +00:00
Alex Roitman
00eb8ef198 * src/Report.py, src/plugins/BookReport.py,
src/plugins/FtmStyleDescendants.py: Fix changing center person -- only
remember change if OK was clicked.


svn: r1673
2003-06-08 06:19:54 +00:00
Alex Roitman
7a54f7c8e5 Update
svn: r1672
2003-06-08 06:17:02 +00:00
Alex Roitman
b19034763d * src/Report.py: Clean up the split into BareReportDialog and
ReportDialog classes.
* src/Plugins.py: Enable book item registration.
* src/plugins/BookReport.py: lots of changes -- trying to get it work.
* src/plugins/FtmStyleDescendants.py: book item functionality.


svn: r1671
2003-06-07 23:38:13 +00:00
Don Allingham
36a694f411 update
svn: r1670
2003-06-07 16:49:08 +00:00
Don Allingham
74dfa8053d * src/EditPerson.py: Allow a default gender to be specified if a new
person is being added
* src/AddSpouse.py: All EditPerson dialog instead of QuickAdd


svn: r1669
2003-06-07 16:48:10 +00:00
Don Allingham
38643c9cad update
svn: r1668
2003-06-07 16:30:59 +00:00
Don Allingham
36c54ceb8d * src/FamilyView.py: Call marriage editor with callback to update
the family view
* src/Marriage.py: Call the family view callback after saving to update
the display with changed marriage information


svn: r1667
2003-06-07 16:30:44 +00:00
Don Allingham
b407e57a22 Update
svn: r1666
2003-06-07 15:39:18 +00:00
Don Allingham
0b32b0f8bb * src/EditPerson
Don't reset date value after a page switch


svn: r1665
2003-06-07 15:38:53 +00:00
Don Allingham
1b3aa81473 Update
svn: r1664
2003-06-07 14:14:39 +00:00
Don Allingham
728e5b5360 * src/ImageSelect.py
Fixed typo in on_drag_begin

* src/RelLib.py
Check for the existance of the witness member of an Event. ZODB
stores an object, so elements read in from old databases may not
have the element, which can cause a traceback.


* src/AutoComp.py
Don't build popdown lists if the number of elements exceeds 250.
Otherwise, the menus will become unusable, and just consume
tons of memory.

* src/VersionControl.py
Sort revision numbers based on numerical value instead of ASCII value.
* src/VersionControl.py
Check return values of all subprocesses


svn: r1663
2003-06-07 14:11:52 +00:00
Don Allingham
37896a0dd3 * src/AutoComp.py
Don't build popdown lists if the number of elements exceeds 250.
Otherwise, the menus will become unusable, and just consume
tons of memory.

* src/VersionControl.py
Sort revision numbers based on numerical value instead of ASCII value.
* src/VersionControl.py
Check return values of all subprocesses


svn: r1662
2003-06-07 03:02:42 +00:00
Laurent Protois
fca50d836b New for CVS
svn: r1661
2003-06-05 09:29:27 +00:00
Don Allingham
9decaed724 Fixed file handling of subprocesses
svn: r1660
2003-06-05 03:33:44 +00:00
Don Allingham
3320368e7f * src/VersionControl.py
Sort revision numbers based on numerical value instead of ASCII value.
* src/VersionControl.py
Check return values of all subprocesses


svn: r1659
2003-06-05 03:04:17 +00:00
Alex Roitman
c0ff073872 Update
svn: r1657
2003-06-04 05:12:21 +00:00
Alex Roitman
5e784971ce * src/Report.py: Split ReportDialog into BareReportDialog and
its subclass of ReportDialog. BareReportDialog has nothing to do with
the paper, format, filename, etc.
* src/plugins/BookReport.py: Make ReportOptionsDialog a sublcass of
Report.BareReportDialog.


svn: r1656
2003-06-04 05:12:08 +00:00
Alex Roitman
6e5d96e2d6 Update
svn: r1655
2003-06-03 22:31:02 +00:00
Alex Roitman
2a8ec1df17 * src/plugins/summary.glade, src/plugins/desbrowse.glade:
Removed unnecessary buttonbox in the action area of a dialog -- this
gets rid of annoying GTK warnings.


svn: r1654
2003-06-03 22:30:49 +00:00
Alex Roitman
c7198a74a0 Update
svn: r1653
2003-06-03 21:18:34 +00:00
Alex Roitman
4d8789f4ab * src/ReadXML.py (import_data), src/WriteXML.py (export_data),
src/RelImage.py (import_media_object), src/gramps_main.py
(open_example), src/plugins/Check.py (cleanup_missing_photos),
src/plugins/WebPage.py (write_gallery):
Change shutil.copy() calls to first call shutil.copyfile() and then try
setting up bits.


svn: r1652
2003-06-03 21:18:23 +00:00
Alex Roitman
8eb22a3bd5 Update
svn: r1651
2003-06-03 20:08:19 +00:00
Alex Roitman
108e337b9d * src/Plugins.py (on_apply_clicked): Do not destroy dialog window.
(on_ok_clicked): Added. Destory the dialog and do on_apply_clicked().
* src/plugins.glade: Added tooltips to Apply and OK buttons.

* src/plugins/FtmStyleAncestor.py (apply_filter):
Fixed generation condition.
* src/plugins/FtmStyleDescendants.py (write_report):
Do not print children if the current generation is the last.
* src/plugins/DetDescendantReport.py (filter):
Make it apply_filter, clean up and make shorter, modify numbering
algorithm so that no gaps occur in people's indices.


svn: r1650
2003-06-03 20:07:18 +00:00
Alex Roitman
aa57665c07 * src/plugins/FtmStyleAncestor.py (apply_filter):
Fixed generation condition.
* src/plugins/FtmStyleDescendants.py (write_report):
Do not print children if the current generation is the last.
* src/plugins/DetDescendantReport.py (filter):
Make it apply_filter, clean up and make shorter, modify numbering
algorithm so that no gaps occur in people's indices.


svn: r1649
2003-06-03 19:48:33 +00:00
Don Allingham
9c58b528d3 *** empty log message ***
svn: r1648
2003-06-03 19:44:00 +00:00
Don Allingham
b8e5f27e1b Fixed version control interface so that the underlying code does not expect
a CList.


svn: r1647
2003-06-03 19:19:31 +00:00
Alex Roitman
f565c2544b Update
svn: r1646
2003-06-03 16:13:13 +00:00