Commit Graph

749 Commits

Author SHA1 Message Date
Alex Roitman
9d0aeb8fe1 * src/docgen/LPRDoc.py: Set and maintain self.brand_new_page.
Use constant factor for line spacing for given font size.


svn: r2989
2004-03-10 02:10:34 +00:00
Don Allingham
1e5e462fc2 update
svn: r2985
2004-03-09 05:12:26 +00:00
Alex Roitman
07cbc8ec0a * src/docgen/LPRDoc.py: Font autodetection: trying freefont,
MS fonts, and then stock Gnome fonts.


svn: r2981
2004-03-08 22:32:13 +00:00
Alex Roitman
6daa84d6d0 * src/docgen/LPRDoc.py: Support for graphic reports.
svn: r2980
2004-03-08 02:22:41 +00:00
Don Allingham
693c21e655 update
svn: r2979
2004-03-07 22:00:43 +00:00
Alex Roitman
3887f3480c * src/docgen/LPRDoc.py: Cell padding support. Images support
(requires CVS version of gnome-python).


svn: r2976
2004-03-07 06:28:00 +00:00
Alex Roitman
20406b943c Padding in paragraphs.
svn: r2974
2004-03-06 02:29:20 +00:00
Alex Roitman
240a3f7ed3 * src/docgen/LPRDoc.py: Support for paragraph's margins and
the first indent properties. Font-specific line spacing.


svn: r2972
2004-03-06 00:00:39 +00:00
Alex Roitman
1a46d1430d Switch to utf8 capable fonts. Enable monospace for formatted notes.
svn: r2971
2004-03-05 05:11:07 +00:00
Alex Roitman
0d8ab3f31f * src/docgen/LPRDoc.py: New paragraph formatting algorithm.
Proper alignment support (no implementation for justify yet).


svn: r2969
2004-03-05 03:01:21 +00:00
Alex Roitman
b6a877271e page breaks, paragraph leader, dirty alignment hack.
svn: r2962
2004-03-03 23:38:48 +00:00
Alex Roitman
a3725ce4ef * src/docgen/LPRDoc.py: Superscript support, line breaks,
page breaks, paragraph leader.


svn: r2961
2004-03-03 20:50:06 +00:00
Alex Roitman
7cefc87005 * src/docgen/LPRDoc.py: Superscript support.
svn: r2959
2004-03-03 16:12:26 +00:00
Alex Roitman
a8ab0442c4 * src/docgen/LPRDoc.py: Re-write using paragraph class.
svn: r2958
2004-03-03 05:54:26 +00:00
Don Allingham
a4ef859763 update
svn: r2957
2004-03-03 05:07:23 +00:00
Alex Roitman
1cc879a776 * src/docgen/AsciiDoc.py: Typo.
svn: r2953
2004-03-02 14:43:37 +00:00
Alex Roitman
0680d6a4bc * configure.in, configure: Typo.
* src/plugins/FtmStyleAncestors.py (endnotes): Do not add
redundant references.
* src/plugins/FtmStyleDescendants.py (endnotes): Do not add
redundant references.
* src/plugins/DetAncestralReport.py (_make_default_style):
Remove unused table definition.
* src/plugins/DetDescendantReport.py (_make_default_style):
Remove unused table definition.


svn: r2950
2004-03-02 03:43:51 +00:00
Alex Roitman
171e888544 * src/docgen/LPRDoc.py: Table support correction: transferring
row to the next page.


svn: r2944
2004-03-01 16:50:23 +00:00
Don Allingham
a3ebb97027 * src/gramps_main.py: remove local media concept
* src/RelLib.py: remove local media concept
* src/SelectObject.py: remove local media concept
* src/MediaView.py: remove local media concept
* src/EditSource.py: remove local media concept
* src/GrampsParser.py: remove local media concept
* src/AddMedia.py: remove local media concept
* src/GrampsZODB.py: delete


svn: r2943
2004-03-01 04:56:50 +00:00
Alex Roitman
795884a4b9 * src/docgen/AsciiDoc.py: Correctly treat cells with span>1.
svn: r2939
2004-03-01 03:47:58 +00:00
Alex Roitman
50fa9c8f2a * src/docgen/LPRDoc.py: Add to CVS.
svn: r2937
2004-02-29 15:35:44 +00:00
Don Allingham
4c2c7c68f0 * src/ChooseParents.py: fix typo
* src/PedView.py: build child menu with IDs
* src/ReadGedcom.py: save birth/death events, handle FTM's broken
"_primary" junk


svn: r2936
2004-02-29 05:09:23 +00:00
Alex Roitman
f5e32655f8 * src/FamilyView.py: Corrections.
* src/Marriage.py: Corrections.


svn: r2930
2004-02-29 00:08:12 +00:00
Alex Roitman
b2a14c6920 * src/docgen/AsciiDoc.py: Add to CVS.
* src/Makefile.am, src/Makefile.in: Ship AsciiDoc.py.


svn: r2929
2004-02-29 00:04:45 +00:00
Alex Roitman
01fc337256 * src/GrampsParser.py (start_childof): Call add_parent_family_id()
with three arguments, instead of a tuple.
* src/ReadXML.py: Comment out renaming lost media objects for now.
* src/RelLib.py (find_place_no_conflicts,
find_family_no_conflicts): Use str(idVal).


svn: r2926
2004-02-28 19:34:29 +00:00
Don Allingham
89f2a1cfc7 * src/gramps_main.py: switch to DB as default, remove save option
* src/RelLib.py: setup DB environment better
* src/DbPrompter.py: handle save/open with new DBs


svn: r2924
2004-02-28 18:46:40 +00:00
Don Allingham
57b1bbcde7 Update
svn: r2918
2004-02-27 04:08:08 +00:00
Don Allingham
ed8e38fe4b update
svn: r2915
2004-02-26 04:51:57 +00:00
Alex Roitman
df1f3120cc * src/RelLib.py (sortbysource): Low-level implementation;
(sortbyplace): Typo.
* src/Sources.py (by_title): Remove function (superseded by
RelLib.GrampsDB.sortbysource).


svn: r2909
2004-02-24 20:53:58 +00:00
Alex Roitman
f2272091d7 * src/AddrEdit.py, src/AttrEdit.py, src/EditPerson.py,
src/EditSource.py, src/EventEdit.py, src/ImageSelect.py,
src/Marriage.py, src/NameEdit.py, src/NoteEdit.py,
src/Sources.py, src/UrlEdit.py, src/Witness.py:
Register windows opened for existing objects. Prevent editing
same object twice.


svn: r2905
2004-02-24 05:37:06 +00:00
Alex Roitman
aadfb20ce4 * src/EditPerson.py: Rename photo into media.
* src/EditPlace.py: Rename photo into media.
* src/EditSource.py: Rename photo into media.
* src/ImageSelect.py: Rename photo into media.
* src/Marriage.py: Rename photo into media.


svn: r2896
2004-02-23 02:45:36 +00:00
Alex Roitman
fc6622f02d * src/plugins/DetAncestralReport.py: Translation corrections.
Change "was" to "is".
* src/plugins/DetDescendantReport.py: Translation corrections.
Change "was" to "is".
* src/plugins/FtmStyleAncestors.py (print_more_about):
Translate event names. Add description.
* src/plugins/FtmStyleDescendants.py (print_more_about,
print_more_about_families): Translate event names. Add description.
* src/po/de.po: Change Priesterweihe to Ordination.
* src/plugins/FamilyGroup.py: Translation corrections.


svn: r2895
2004-02-22 19:24:31 +00:00
Alex Roitman
337ff6b331 * src/plugins/DetDescendantReport.py (write_person): Write
images before the paragraph start; (insert_images): Don't start
and end pargraphs.
* src/plugins/DetAncestralReport.py: (write_person): Write
images before the paragraph start; (insert_images): Don't start
and end pargraphs.


svn: r2890
2004-02-22 05:17:14 +00:00
Alex Roitman
9ae8955fc0 * src/ImageSelect.py: Corrections.
* src/RelLib.py: Corrections.
* src/Sources.py: Corrections.
* src/gramps_main.py: Corrections.
* src/Bookmarks.py: Corrections.


svn: r2886
2004-02-21 18:59:45 +00:00
Alex Roitman
3e6e2ea2ea * src/EditPerson.py: Corrections.
* src/EditSource.py: Use parent class. Use windows menu.
* src/ImageSelect.py: Corrections.
* src/Sources.py: Corrections.
* src/gramps.glade: Add handlers.
* src/NoteEdit.py: Corrections.
* src/dialog.glade: Add handler.
* src/Witness.py: Corrections.
* src/RelLib.py: Include witnesses in comparing events.
* src/FamilyView.py: Pass parent on to child classes.
* src/AddSpouse.py: Pass parent on to EditPerson.
* src/ChooseParents.py: Pass parent on to EditPerson.
* src/gramps_main.py: Pass Gramps class to child classes.
* src/MergeData.py: Pass parent on to EditPerson.


svn: r2885
2004-02-21 06:40:44 +00:00
Alex Roitman
eceb502954 * src/AttrEdit.py: Make non-modal, use Windows menu.
* src/AddrEdit.py: Make non-modal, use Windows menu.
* src/UrlEdit.py: Make non-modal, use Windows menu.
* src/EventEdit.py: Properly add new event, add its id to the list.
Make non-modal, use Windows menu.
* src/NoteEdit.py: Make non-modal, use Windows menu.
* src/ImageSelect.py: Make non-modal, use Windows menu.
* src/imagesel.glade: Add handler.


svn: r2883
2004-02-20 04:25:22 +00:00
Alex Roitman
21b64c8a9d * src/srcsel.glade: Add handlers.
* src/Sources.py: Make SourceInfo non-modal, use Windows menu.


svn: r2874
2004-02-19 23:39:01 +00:00
Alex Roitman
fdaaef219c Update
svn: r2871
2004-02-19 19:15:27 +00:00
Alex Roitman
f2a684d957 * src/EditPerson.py: Use parent class. Add/remove itself from/to
the Windows menu.
* src/NameEdit.py: Make non-modal.
* src/gramps.glade: Add Windows menu.
* src/gramps_main.py: Get Windows menu and its submenu.
Pass Gramps class to the children -- first-class object editors.


svn: r2870
2004-02-19 13:40:09 +00:00
Alex Roitman
3e287429d3 * src/Relationship.py: Factor out relationship distance computation.
* src/plugins/rel_ru.py: Use self.get_distance().
* src/plugins/rel_de.py: Use self.get_distance().
* configure.in, configure: Change version.
* src/plugins/rel_hu.py: Convert to class.


svn: r2858
2004-02-17 04:47:24 +00:00
Don Allingham
36ef08b358 get_id updates
svn: r2846
2004-02-15 23:10:12 +00:00
Alex Roitman
cfa8bcb743 * src/plugins/rel_de.py: Implement get_parents().
svn: r2844
2004-02-15 22:44:50 +00:00
Alex Roitman
a4fbff223b * src/plugins/Ancestors.py: Use get_grandparents_string which is
registered in Plugins (possibly from the relationship calculator).


svn: r2843
2004-02-15 21:52:43 +00:00
Alex Roitman
983186336c * src/Relationship.py: More corrections.
* src/plugins/rel_ru.py: Corrections.
* src/gramps_main.py: Corrections.


svn: r2842
2004-02-15 21:28:31 +00:00
Don Allingham
1c94371e33 updates for IDs
svn: r2840
2004-02-15 20:49:34 +00:00
Alex Roitman
ff2fda64a0 * src/plugins/IndivComplete.py: fixed child_relations translation
* src/const.py.in: fixed child_relations translation
* src/SelectChild.py: fixed child_relations translation
* src/TransTable.py: unicode conversion
* src/ChooseParents.py: fixed child_relations translation


svn: r2836
2004-02-15 07:21:29 +00:00
Alex Roitman
47a66cdf75 * src/plugins/IndivComplete.py: Call doc.init() after open.
* src/plugins/IndivSummary.py: Call doc.init() after open.
* src/plugins/RelCalc.py: Use class of calculator.
* src/plugins/rel_ru.py: Convert to class.
* src/Plugins.py: Register _relcalc_class.
* src/gramps_main.py: Use class of relationship calculator.


svn: r2835
2004-02-15 07:08:55 +00:00
Alex Roitman
2baffc68d2 * src/sort: Typos.
svn: r2832
2004-02-15 03:48:45 +00:00
Alex Roitman
be7b042fda * src/plugins/DetDescendantReport.py: Add style descriptions
for the paragraphs. Add first entry style. Change defaults to be
similar to the FTM style reports.
* src/plugins/DetAncestralReport.py: Add style descriptions
for the paragraphs. Add first entry style. Change defaults to be
similar to the FTM style reports.
* src/StyleEditor.py (draw, save_paragraph): Allow users
to adjust first line indent.
* src/styles.glade: Add first line indent entry.
* src/plugins/Check.py (delete_empty_family): Remove families
in which person is a parent, not only a child.
* src/gramps_main.py (post_load): Use display_frel and
display_fattr.
* src/MediaView.py (key_press): Add function.
* src/PlaceView.py (key_press): Add function.
* src/SourceView.py (key_press): Add function.
* src/plugins/WebPage.py: Add tab with index page options.

* src/po/hu.po: Update
* doc/gramps-manual/hu/filtref.xml: Update


svn: r2831
2004-02-15 03:24:12 +00:00
Don Allingham
1b81ddc562 update
svn: r2830
2004-02-15 02:34:03 +00:00