Commit Graph

2163 Commits

Author SHA1 Message Date
Alex Roitman
2800377011 * src/FamilyView.py (remove_child_clicked): Prevent signal race.
* NEWS: Update.


svn: r4861
2005-06-22 20:09:59 +00:00
Don Allingham
e87f58a584 * src/PlaceView.py: fix sorting
* src/SourceView.py: fix sorting


svn: r4860
2005-06-22 17:58:13 +00:00
Alex Roitman
4f9a905a15 * src/GenericFilter.py (IsDescendantOfFilterMatch.__init__):
Remove unneeded method.


svn: r4859
2005-06-22 15:12:20 +00:00
Don Allingham
f15be4cc33 filter optimization
svn: r4858
2005-06-21 20:51:57 +00:00
Alex Roitman
0df9e11ac2 * src/Report.py (CommandLineReport.parse_option_str): Fix indentation.
svn: r4857
2005-06-21 13:54:03 +00:00
Alex Roitman
cdd196ac43 * src/po/fr.po: Remove extra "%" signs.
svn: r4856
2005-06-21 12:26:49 +00:00
Martin Hawlisch
5676035276 * src/GenericFilter.py: Resolve handle-person mixup +many other bugfixes
svn: r4855
2005-06-21 09:50:18 +00:00
Don Allingham
6730d35232 * src/AddSpouse.py: accept Person instead of handle
* src/ChooseParents.py: accept Person instead of handle
* src/GenericFilter.py: use single pass through database, filters
accept Person objects instead of handles
* src/PeopleModel.py: don't precalculate handle list
* src/RelLib.py: allow person object to be initialized with
serialized data
* src/SelectChild.py: accept Person instead of handle

* src/SelectChild.py (LikelyFilter.prepare,LikelyFilter.apply):


svn: r4854
2005-06-21 04:04:44 +00:00
Alex Roitman
f768299812 * src/SelectChildpy (LikelyFilter.prepare,LikelyFilter.apply):
Handle absent birth of a parent.
* src/AddSpouse.py (LikelyFilter.prepare,LikelyFilter.apply):
Handle absent birth of a parent; correctly use gender.


svn: r4850
2005-06-20 13:34:04 +00:00
Don Allingham
eb3331c178 * src/AddSpouse.py: display idle cursor, build better likely filter
svn: r4849
2005-06-20 03:34:55 +00:00
Don Allingham
7969779fde * src/AddSpouse.py: display idle cursor
* src/SelectChild.py: display idle cursor


svn: r4848
2005-06-19 19:30:25 +00:00
Don Allingham
765e5cec77 * src/ChooseParents.y: display "Loading..." while loading lists
svn: r4847
2005-06-19 16:27:11 +00:00
Don Allingham
b6cfa20860 * src/ChooseParents.py: build custom filter rules to speed up
loading the data, provide watch cursor to provide feedback to
the user.
* src/Date.py: provide sort data recalculation function


svn: r4845
2005-06-19 03:36:30 +00:00
Eero Tamminen
aded196d64 changed entries to spinbuttons
svn: r4844
2005-06-18 20:50:19 +00:00
Don Allingham
295b7d1a2b * src/ChooseParents.py: optimize the add of a person to the models
svn: r4842
2005-06-18 03:55:12 +00:00
Don Allingham
74f29ec489 * src/EditPlace.py: check to make sure a duplicate title is not
entered


svn: r4841
2005-06-18 03:22:26 +00:00
Alex Roitman
1d78512f16 * src/plugins/WebPage.py (write_report): Test for empty dir_name.
svn: r4840
2005-06-17 19:40:42 +00:00
Alex Roitman
fdc3979278 * src/WriteGedcom.py: Pass gramps_id to filter rules.
* src/plugins/ExportVCalendar.py: Pass gramps_id to filter rules.
* src/plugins/ExportVCard.py: Pass gramps_id to filter rules.
* src/plugins/GraphViz.py: Pass gramps_id to filter rules.
* src/plugins/IndivComplete.py: Pass gramps_id to filter rules.
* src/plugins/NavWebPage.py: Pass gramps_id to filter rules.
* src/plugins/StatisticsChart.py: Pass gramps_id to filter rules.
* src/plugins/TimeLine.py: Pass gramps_id to filter rules.
* src/plugins/WebPage.py: Pass gramps_id to filter rules.
* src/plugins/WriteFtree.py: Pass gramps_id to filter rules.
* src/plugins/WriteGeneWeb.py: Pass gramps_id to filter rules.


svn: r4838
2005-06-17 17:32:54 +00:00
Alex Roitman
880c3e7751 * src/WriteGedcom.py (write_sources): Pass handle to the id
creator; (write_person): write person sources; (sid): return
gramps_id; (write_families): write family sources.


svn: r4837
2005-06-17 16:58:26 +00:00
Martin Hawlisch
3b925c2653 * src/gramps_main.py (on_merge_activate,on_fast_merge_activate): only merge if exactly two persons have been selected
svn: r4833
2005-06-16 10:44:25 +00:00
Alex Roitman
369fcf562e * src/PedView.py (load_canvas): Set anchor_txt to None if no
person is selected; (set_anchor,remove_anchor): Only set anchor
text if anchor_txt evaluates as True.


svn: r4829
2005-06-16 00:30:07 +00:00
Martin Hawlisch
197a013f2e typo
svn: r4828
2005-06-15 15:27:10 +00:00
Martin Hawlisch
6354b8fb15 * src/po/de.po: Applied patch from Anton Huber <anton_huber@gmx.de>
svn: r4827
2005-06-15 14:28:13 +00:00
Alex Roitman
3ac758f702 * src/plugins/WriteGeneweb.py (GeneWebWriterOptionBox.get_option_box):
Build person-centered filters only if a person is selected.
* src/plugins/WriteFtree.py (FtreeWriterOptionBox.get_option_box):
Build person-centered filters only if a person is selected.


svn: r4826
2005-06-15 13:46:11 +00:00
Alex Roitman
dfc376c640 Update
svn: r4825
2005-06-15 13:45:24 +00:00
Alex Roitman
d35d33b8f2 * src/WriteGedcom.py (GedcomWriterOptionBox.__init__): Build
person-centered filters only if a person is selected.


svn: r4824
2005-06-15 13:21:02 +00:00
Martin Hawlisch
6ecb9eeab9 * src/po/de.po: Applied patch from Jens Seidel <jensseidel@users.sf.net>
svn: r4823
2005-06-15 13:12:07 +00:00
Alex Roitman
5536819783 * src/docgen/AbiWord2Doc.py: Only embed one data chunk per image
file; add empty paragraph if the image is not in paragraph already.


svn: r4820
2005-06-10 21:48:48 +00:00
Martin Hawlisch
d8d03e335c * src/plugins/NavWebPage.py: Marked strings for translation; Dont crash if media file does not exist; Generate pages for every place; Build list of used sources
svn: r4819
2005-06-10 14:03:27 +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
012cad6eb5 * src/plugins/Makefile.am: Install vCal and vCard plugins
svn: r4817
2005-06-09 15:06:52 +00:00
Martin Hawlisch
8b10dc0c42 * src/EditPerson (__init__): Make gender guessing work again
svn: r4811
2005-06-08 21:07:40 +00:00
Alex Roitman
daa4475bc8 * src/plugins/rel_fr.py: Add more levels; provide fallback phrases.
svn: r4810
2005-06-08 19:01:26 +00:00
Alex Roitman
4f15cfc10f * src/FamilyView.py (north_american,latin_american,icelandic): Fix
object/handle mixups.


svn: r4799
2005-06-07 16:41:50 +00:00
Alex Roitman
e47701ab02 * src/Utils.py (strip_context): Add function.
svn: r4795
2005-06-06 05:03:48 +00:00
Eero Tamminen
cf7ed2c8f9 finished translation for 2.0.2 (late)
svn: r4794
2005-06-05 19:44:43 +00:00
Alex Roitman
fd9e95aab0 * configure.in: Bump up the version number.
* Release: Version 2.0.3 "Mynd you, m����se bites Kan be pretty
nasti..." released.


svn: r4792
2005-06-05 17:22:40 +00:00
Don Allingham
b7658288b6 * src/DateHandler.py: fixed initialization of parser class
svn: r4790
2005-06-05 06:01:33 +00:00
Alex Roitman
13a51cf2c7 * configure.in: Bump up the version number.
svn: r4789
2005-06-05 05:19:43 +00:00
Alex Roitman
de4a0766e7 Update
svn: r4788
2005-06-05 05:19:16 +00:00
Don Allingham
078cafc0c8 * src/DateHandler.py: handle generic "en", "fr" cases as a fallback
if the unknown "yy_XX" code is passed. Try yy if yy_XX fails.
* src/dates/Date_*.py: add a default xx case


svn: r4783
2005-06-04 19:08:38 +00:00
Don Allingham
c5b68976e1 * src/DateHandler.py: add more English locales
* src/dates/Date_fi.py: fix estimated/calculated, handle span
properly
* src/dates/Makefile.am: remove Date_fi for 2.0.2


svn: r4782
2005-06-04 04:06:47 +00:00
Eero Tamminen
d9edb0bd9c - update translation from template.pot
- translate everything except for a few dozen tips


svn: r4779
2005-06-03 22:01:49 +00:00
Julio Sánchez
c99cd60e81 * src/po/es.po: Translation update for version 2.0.2.
svn: r4778
2005-06-03 21:07:17 +00:00
Alex Roitman
e4a677f57d * src/plugins/FamilyGroup.py (parse_user_options): Only select
spouse if there is any.


svn: r4777
2005-06-03 20:23:44 +00:00
Alex Roitman
7d8f3c7dfb * src/EditPlace.py, src/EditSource.py: Detect new objects by
handle.
* src/const.py.in (save_frel): Return English strings.


svn: r4776
2005-06-03 19:29:43 +00:00
Don Allingham
bda1ace41f empty place check fixed
svn: r4775
2005-06-03 16:03:45 +00:00
Alex Roitman
493be971c2 * src/EditPlace.py, src/EditSource.py: Detect new objects by handle.
svn: r4774
2005-06-03 15:36:24 +00:00
Alex Roitman
aa1fb05e26 * src/ImageSelect (__init__,on_switch_page): Call
display_references using idle_add; (display_references): set
cursor when done.


svn: r4772
2005-06-03 14:09:47 +00:00
Alex Roitman
7115f24e54 * src/EditPlace (__init__,on_switch_page): Call
display_references using idle_add; (display_references): set
cursor when done.


svn: r4771
2005-06-03 13:44:55 +00:00
Alex Roitman
97900a087d * src/Utils.py (bold_label,unbold_label,temp_label): optionally
set cursor.
* src/EditSource.py (__init__,on_switch_page): Call
display_references using idle_add; (display_references): set
cursor when done.


svn: r4770
2005-06-03 13:39:36 +00:00
Jens Arvidsson
b614f650d0 Translation fixes for 2.0.2
svn: r4768
2005-06-03 10:16:14 +00:00
Jens Arvidsson
6eb7599b68 Translation update for 2.0.2
svn: r4766
2005-06-03 09:32:28 +00:00
Don Allingham
2110e52171 added Date_fi.py
svn: r4762
2005-06-02 22:10:28 +00:00
Alex Roitman
5dd1e197d1 * NEWS: Update.
svn: r4761
2005-06-02 21:23:28 +00:00
Alex Roitman
e97199cba3 * src/po/ru.po: Update for 2.0.2.
svn: r4760
2005-06-02 21:05:08 +00:00
Don Allingham
bb2e2fd1cc Filter problem fixes
svn: r4759
2005-06-02 20:31:39 +00:00
Alex Roitman
aceb486b79 * src/ReadGedcom.py (get_next): Use single space to split the line
into level, tag, and the field contents; strip extra white space
off the tag name.


svn: r4758
2005-06-02 20:06:37 +00:00
Martin Hawlisch
85fa8c09ea * src/Utils.py (probably_alive): If no year is given it now treats people as dead when they have a death event instead of counting them as alive in the curent year when they died in the current year.
svn: r4752
2005-06-01 20:36:23 +00:00
Martin Hawlisch
f283347987 * src/po/de.po: Updated translation from Anton Huber
svn: r4751
2005-06-01 19:25:28 +00:00
Don Allingham
2e7ad59d01 * src/PeopleModel.py: Improve rebuid times by using database cursor,
caching sort names, and replacing loops with map/lamba
* src/PeopleView.py: prevent goto_active_person reentrancy, use get_selected_objects
instead of selected_foreach, combine row_changed and set_dnd_target into the same
callback, rebuild only affected surname on person-update if pissible


svn: r4750
2005-06-01 18:02:53 +00:00
Alex Roitman
31650baf2c * src/plugins/Makefile.am: Don't ship NavWebPage yet.
* src/po/template.po: Update for 2.0.2.


svn: r4749
2005-06-01 15:09:55 +00:00
Don Allingham
bfa94869bc * src/plugins/Checkpoint.py: add support for custom command
svn: r4747
2005-06-01 03:45:40 +00:00
Martin Hawlisch
447191f427 * src/DbPrompter.py: Properly return False if opening a file failed
svn: r4740
2005-05-31 15:30:42 +00:00
Martin Hawlisch
fdda045607 * src/po/de.po: Updated translation from Anton Huber
svn: r4739
2005-05-31 13:53:01 +00:00
Don Allingham
5ce490e3fa * src/plugins/Checkpoint.py: Start of a checkpoint tool
svn: r4738
2005-05-31 03:21:10 +00:00
Martin Hawlisch
d77174143d * src/ArgHandler.py (handle_args) Exit if opening a file failed
* src/Errors.py: New exception type "FileVersionError"
* src/GrampsDbBase.py (version_supported): New method
* src/GrampsBSDDB.py (version_supported): New method
* src/gramps_main.py (read_file) catch FileVersionError; (post_load): only load if version_supported()
* src/ReadGrdb.py (importData): only load if version_supported()


svn: r4734
2005-05-30 15:19:04 +00:00
Don Allingham
ebfbdce49b * src/DbPrompter.py: fix handling of spaces when creating a new
file - use open instead of "touch"


svn: r4733
2005-05-30 15:16:12 +00:00
Alex Roitman
1fc782a60e * src/po/sv.po: Typo (closes 1211150).
svn: r4732
2005-05-30 15:00:57 +00:00
Martin Hawlisch
01e6dedae9 * src/gramps_main.py (read_file): Optimize exception handling of load_database errors.
* src/ArgHandler.py (auto_save_load): Return actual status of read_file instead of always 1. This will now open the select database dialog on autoload errors.


svn: r4730
2005-05-28 19:29:29 +00:00
Alex Roitman
0cb7d90257 * configure.in: Bump up the version number after 2.0.1.
svn: r4728
2005-05-28 15:55:21 +00:00
Alex Roitman
1ab9c7c6d8 Update
svn: r4727
2005-05-28 15:54:48 +00:00
Martin Hawlisch
d120265624 * src/gramps_main.py (change_active_person): Dont change to the current active person again.
* src/FamilyView.py (drag_data_received): Allow reordering of childs when they were not correctly ordered before.


svn: r4725
2005-05-28 06:21:37 +00:00
Jens Arvidsson
d15f8ffe07 Translation fixes for 2.0.1
svn: r4706
2005-05-27 13:49:50 +00:00
Don Allingham
e177fe4030 * src/PeopleView.py: back port anti-flicker code from HEAD
* src/dates/Date_de.py: use "etwa" instead of "circa"


svn: r4699
2005-05-27 02:47:01 +00:00
Don Allingham
175ee0f498 * src/DateDisplay.py: don't mark date formats as translatable
svn: r4698
2005-05-26 22:31:04 +00:00
Don Allingham
2fa9ffc7fe * src/DateDisplay.py: properly encode french republican dates as unicode
svn: r4682
2005-05-26 00:12:34 +00:00
Martin Hawlisch
745585d93c * src/EditSource.py (DelSrcQuery.query_response), src/EditPlace.py (DeletePlaceQuery.query_response), src/ImageSelect.py (DeleteMediaQuery.query_response): Block signals while removing the references of the to be deleted object to get much more speed.
* src/plugins/TestcaseGenerator.py: Add place, media and source references.
* src/SourceView.py (button_press): Handle case of no selection.


svn: r4681
2005-05-25 21:09:51 +00:00
Alex Roitman
27e22a5b21 * src/NameDisplay.py (sorted): Use sorted name, not display name flag.
* src/Sort.py (by_sorted_name): Add method.
* src/WebPage (dump_index): Proper sorting, for both last name
sections and the names within each section.


svn: r4679
2005-05-25 18:51:10 +00:00
Alex Roitman
b444385631 * src/WriteGedcom.py (write_person): Typo.
svn: r4677
2005-05-25 17:20:47 +00:00
Richard Taylor
e3431e1d98 2005-05-25 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/plugins/ScratchPad.py: disabled search because it does not do
	  what the user expects.

2005-05-25  Richard Taylor <rjt-gramps@thegrindstone.me.uk>
	* src/plugins/ScratchPad.py: rename on_scratch_pad_delete_event for consistency
        * src/plugins/scratchpad.glade: add on_scratch_pad_delete_event to fix bug
	  when window is close using the window manager close button.


svn: r4673
2005-05-25 13:31:18 +00:00
Don Allingham
e09a5741b7 * src/MergePeople.py: clean up and refactoring of code.
svn: r4663
2005-05-24 02:45:48 +00:00
Alex Roitman
db9b15a18c * src/po/ru.po: More tranlsated tips.
svn: r4662
2005-05-23 23:54:26 +00:00
Eero Tamminen
32b8401167 translation updates, remove Finnish Date parser for now
svn: r4659
2005-05-23 20:55:25 +00:00
Jens Arvidsson
3ed52a7ed6 Translation update for 2.0.1
svn: r4657
2005-05-23 18:49:52 +00:00
Don Allingham
a109d25c0b * src/MergePeople.py: merge improvements, merge data not merged before.
svn: r4656
2005-05-23 04:08:41 +00:00
Alex Roitman
f5131a3b82 * src/ImageSelect.py (item_event): Do nothing if nothing is selected.
* src/EditSource.py (button_press): Return if no data.
* src/Sources.py (drag_data_get): Return if no data.
* src/EditPerson.py (ev_drag_data_get,name_drag_data_get):
Return if no data.
* src/EditPlace.py (url_source_drag_data_get): Properly obtain data;
return if no data.


svn: r4655
2005-05-23 02:28:17 +00:00
Julio Sánchez
2d4024eb0e * src/po/es.po: Updated translation for filters, tips still pending
svn: r4654
2005-05-22 04:56:09 +00:00
Don Allingham
2281e7246f * src/ChooseParents.py: handle the addition of a person correctly.
Warn if the person just added is suppressed by the filter.
* src/MergePeople.py: use __debug__ for print statements

* src/MergePeople.py: fixed name merging, incorporate Martin's
patches.


svn: r4653
2005-05-22 03:47:00 +00:00
Alex Roitman
a169d828bc Update
svn: r4652
2005-05-21 04:46:08 +00:00
Alex Roitman
fa2db8a154 * src/ChooseParents.py (close_child_windows): Pass no arguments
to child_window.close().


svn: r4651
2005-05-21 03:26:14 +00:00
Martin Hawlisch
03a75c899b Ups, Alex was faster in comitting ;-)
svn: r4650
2005-05-20 21:33:15 +00:00
Alex Roitman
38fead2e4f * example/gedcom/sample.ged: Correct object format tags.
svn: r4649
2005-05-20 21:30:17 +00:00
Martin Hawlisch
ace6a1ec0b * src/gramps_main.py (read_file): No longer setting the windows non-resizable during load. Works fine now without it and causes less trouble to the windowmanager.
svn: r4648
2005-05-20 21:29:02 +00:00
Alex Roitman
ec654be45e * src/gramps_main.py (read_file): Remove set_resizable() calls.
* src/ReadGedcom.py (parse_person_object,parse_family_object):
Always add media references/objects, even if the files are not found
(keep the warnings); set the note for the media references.


svn: r4647
2005-05-20 21:27:03 +00:00
Eero Tamminen
779a231259 translate .desktop file to Finnish
svn: r4646
2005-05-20 20:38:19 +00:00
Eero Tamminen
bc32903268 merge translation, translate welcome message
svn: r4645
2005-05-20 20:33:43 +00:00
Alex Roitman
5d7c0ec371 * src/MediaView.py (on_drag_drop): Remove drag_get_data() call
as it was calling extraneous 'drag-data-received' signal.


svn: r4644
2005-05-20 20:10:09 +00:00
Martin Hawlisch
38751bb5a8 * src/WriteGedcom.py: Some hardening against corrupt database.
svn: r4643
2005-05-20 20:05:55 +00:00
Martin Hawlisch
35bd104ca1 * src/WriteXML.py: Remove unnecessary database reads, so it does no longer crash when exporting a corrupt database.
svn: r4642
2005-05-20 19:51:30 +00:00
Alex Roitman
56ba9fc788 * src/GrampsBSDDB.py (remove_object): Use correct key for transaction.
* src/ImageSelect.py (add_thumbnail, on_delete_media_clicked):
Identify canvas items by MediaRef instance, not by the handle of the
referred MediaObject.


svn: r4641
2005-05-20 18:19:23 +00:00
Alex Roitman
09d5280dcd * src/SelectObject.py (on_select_row): Properly get mime type.
svn: r4640
2005-05-20 17:17:22 +00:00
Don Allingham
7a38f64b76 * src/DisplayModels.py: remove place column
* src/MediaView.py: delete Place option
* src/GrampsDbBase.py: new default for media columns
* src/GrampsBSDDB.py: upgrade database version for media columns


svn: r4638
2005-05-20 03:43:59 +00:00
Alex Roitman
f0757e8cab * src/po/ru.po: Partial update for 2.0.1.
svn: r4636
2005-05-19 21:05:27 +00:00
Alex Roitman
0ea6138c33 * src/EditSource.py (button_press): Properly test event names.
svn: r4635
2005-05-19 20:43:35 +00:00
Alex Roitman
9ddf7edbd7 * src/gramps.glade: Enclose date and place groups into tables,
to allow proper widget order when using tab key.


svn: r4634
2005-05-19 18:27:34 +00:00
Alex Roitman
332d2b0145 * src/mergedata.glade: Make information panes non-editable.
svn: r4633
2005-05-19 18:02:34 +00:00
Alex Roitman
6a64c9e83f * src/RelLib.py (SourceNote.replace_source_references): Properly
replace references; (MediaBase.replace_media_references): Properly
replace references.
* src/MergeData.py: Correct comments.


svn: r4632
2005-05-19 17:22:15 +00:00
Don Allingham
6d00c95e8c media sorting enabled
svn: r4631
2005-05-19 15:44:39 +00:00
Alex Roitman
2f6c93d5d9 * src/MergePeople.py (merge_family_pair): Properly use handles.
svn: r4630
2005-05-19 15:33:49 +00:00
Martin Hawlisch
2e78c8d6f8 * src/GenericFilter.py: Catch invalid input in some filters;
(old_names_2_class): Add one name for full 1.0.11 compatibility;
(FilterParser): Properly catch invalid rule names and invalid module/class names.


svn: r4628
2005-05-19 07:57:50 +00:00
Alex Roitman
091777cdf1 * src/po/ru.po: Partial update for 2.0.1.
svn: r4627
2005-05-19 04:12:12 +00:00
Alex Roitman
dc5a513d45 * NEWS: Update.
svn: r4626
2005-05-19 04:04:10 +00:00
Alex Roitman
0927aac3b8 * src/gramps_main.py (open_example): Add example database funciton.
svn: r4625
2005-05-19 02:49:24 +00:00
Don Allingham
72cc250b02 * src/dates/Date_de.py: handle dates in the form of dd. mon year
svn: r4623
2005-05-19 00:15:30 +00:00
Alex Roitman
ed5e957c2c * src/po/template.po: Update for 2.0.1.
svn: r4622
2005-05-18 21:29:35 +00:00
Alex Roitman
0eb18408e6 * src/data/gramps.desktop: Add Dutch strings.
svn: r4621
2005-05-18 21:16:08 +00:00
Alex Roitman
1cc234069e * src/data/tips.xml: Update and rework.
svn: r4620
2005-05-18 21:15:04 +00:00
Alex Roitman
686458138a * src/GenericFilter.py: Use class names for internal work; Rework
ID-based filters to use gramps-id instead of a handle.
* src/plugins/FilterEditor.py: Use class names for internal work.


svn: r4618
2005-05-18 20:56:30 +00:00
Don Allingham
1f25c6fd38 * src/ReadGedcom.py: grab description for birth and death events
* src/WriteGedcom.py: export description for birth and death events
* example/gedcom/sample.ged: add test case


svn: r4617
2005-05-18 20:27:02 +00:00
Martin Hawlisch
a4688d10ad * src/GrampsInMemDB.py: Emit the *-delete signals correctly.
* src/GrampsDbBase.py: Emission of the *-update/*-add signals should not depend on the existance of a transaction.


svn: r4616
2005-05-18 15:37:05 +00:00
Don Allingham
054c446aed * src/plugins/FilterEditor.py: sort entries in Add Rule dialog
svn: r4615
2005-05-18 15:34:02 +00:00
Martin Hawlisch
9979fd1126 * src/plugins/TestcaseGenerator.py: Added debbuging helpers for signal emissions
svn: r4614
2005-05-18 13:36:07 +00:00
Martin Hawlisch
64aac6f002 * src/GrampsBSDDB.py, src/GrampsDbBase.py, src/GrampsInMemDB.py,
src/RelLib.py: Catch invalid arguments instead of crashing.
TODO: raise TypeError or HandleError instead of simply returning?


svn: r4613
2005-05-18 08:43:04 +00:00
Alex Roitman
76fe79a9c0 * src/AddSpouse.py (select_spouse_clicked): Display warning and
provide a way to override when trying to add child/parent as a spouse.


svn: r4612
2005-05-18 04:53:28 +00:00
Alex Roitman
3182ef4191 * src/Date.py: Import gettext.
* src/DateDisplay.py: Import gettext.
* src/GenericFilter.py: Support existing custom_filters.xml files
by adding an old2new mapping for names.


svn: r4611
2005-05-18 04:33:15 +00:00
Alex Roitman
f14c71c726 * src/GenericFilter.py: Change filter rule names to make them consistent.
* src/gramps_main.py: Change filter names to make them consistent.


svn: r4609
2005-05-17 22:15:32 +00:00
Martin Hawlisch
8c2ef473f4 * src/plugins/ImportGeneWeb.py (decode): Decode characters and named entities. Because gramps is not web browser based we can simply use unicode.
svn: r4608
2005-05-17 19:46:52 +00:00
Don Allingham
a662f3717b * src/PlaceView.py: select correct column for sorting
* src/SourceView.py: select correct column for sorting


svn: r4605
2005-05-17 03:58:18 +00:00
Alex Roitman
41fef8d7d6 * src/TarFile.py: Indent with spaces, remove string module.
* src/RelImage.py: Remove unused string module.
* src/SubstKeywords.py: Remove string module.


svn: r4604
2005-05-17 03:43:36 +00:00
Don Allingham
6a5c66aa31 * src/WriteGedcom.py: used 'replace' mode on iso-8859-1 string
encoding conversion


svn: r4603
2005-05-17 01:30:50 +00:00
Alex Roitman
026da172b7 * src/plugins/StatisticsChart.py: Minor stylistic corrections.
* src/GenericFilter.py: Minor stylistic corrections.


svn: r4602
2005-05-16 22:00:59 +00:00
Martin Hawlisch
e4e817de57 * src/ReadGedcom.py (parse_trailer): Catch EOF to warn about premature EOF only once; Always close file;
(parse_record): Properly catch premature EOF instead of unknown level 0 records; Support single line SOUR records;
(parse_address): Support PHON and NOTE, ignore _NAME.


svn: r4601
2005-05-16 20:56:25 +00:00
Alex Roitman
8165bf3974 * src/ansel_utf8.py: Convert to Unix end-of-line.
svn: r4600
2005-05-16 19:44:25 +00:00
Don Allingham
733d5d4e00 fix child reordering
svn: r4599
2005-05-16 19:33:19 +00:00
Don Allingham
1d1fab4eb9 * src/ChooseParents.py: redraw window properly after person add
svn: r4598
2005-05-16 04:06:28 +00:00
Don Allingham
9c37651ddf * src/DisplayModels.py: provide sorting support
* src/PlaceView.py: add sorting by columns
* src/SourceView.py: add sorting by columns


svn: r4597
2005-05-15 22:59:25 +00:00
Don Allingham
a4f66df140 * src/ReadGedcom.py: add a few more items to parse from Legacy
generated GEDCOM files


svn: r4596
2005-05-14 16:59:45 +00:00
Alex Roitman
791f96417f * src/data/Makefile.am: Always install gramps.schemas and gramps.xml,
with or without packager mode.


svn: r4595
2005-05-14 16:16:17 +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
Martin Hawlisch
8e7e8155f7 * src/GenericFilter.py (HasTextMatchingSubstringOf, HasTextMatchingRegexpOf): Search media objects in full text search.
* src/RelLib.py: Add GRAMPS ID to get_text_data_list so this field is usable in full text search; Dont crash if get_text_data_list contains None values instead of empty strings.
* src/EditPerson.py: Dont crash with "note only" media object.


svn: r4593
2005-05-14 12:52:27 +00:00
Martin Hawlisch
9a1dece0db * src/GenericFilter.py (IsSiblingOfFilterMatch): Match only sibling, not the filterMatch; (HasEvent,HasFamilyEvent): Dont crash in filter editor.
svn: r4592
2005-05-14 10:03:36 +00:00
Don Allingham
5934f15111 * src/plugins/ScratchPad.py: fix GdkAtom index problem with pygtk2.4
svn: r4591
2005-05-14 05:33:38 +00:00
Alex Roitman
51ff1e909e Update
svn: r4590
2005-05-14 04:36:42 +00:00
Alex Roitman
653ec79d77 * src/DateEdit.py (parse_and_check): Display date as parsed on
svn: r4589
2005-05-14 04:34:14 +00:00
Martin Hawlisch
db2c05cd13 * src/GenericFilter.py (HasEvent,HasFamilyEvent): Correct filter rules
svn: r4588
2005-05-13 20:21:45 +00:00
Alex Roitman
bb00d70d21 * src/get_strings: Support extracting strings from tips.xml file.
* src/build_po: Process tips.xml file.
* src/TipOfDay.py (TipOfDay.__init__): Use translated tips.
* src/template.po: new translatable strings.


svn: r4586
2005-05-13 17:03:32 +00:00
Alex Roitman
586ab531a1 * src/DateDisplay.py (DateDisplayEn): Localize format names.
svn: r4585
2005-05-13 15:44:36 +00:00
Martin Hawlisch
358208d34f * src/DateDisplay.py: Allow B.C.E. in years to be localized
* src/dates/Date_de.py: Some more translations including B.C.E.


svn: r4584
2005-05-13 15:32:58 +00:00
Martin Hawlisch
e1b74235c1 * src/plugins/ImportGeneWeb.py: Distinguish unknown people
svn: r4583
2005-05-13 12:59:24 +00:00
Martin Hawlisch
28023ba12e * src/DateParser.py: Catch DateError and use text only date as fallback
* src/plugins/TestcaseGenerator.py: Handle DateError exception


svn: r4582
2005-05-13 12:53:00 +00:00
Martin Hawlisch
dffb9781b3 * src/Date.py: Raise Exception.DateError on invalid arguments
svn: r4581
2005-05-13 12:50:10 +00:00
Martin Hawlisch
46f65e9d33 * src/dates/Date_de.py: Register for all variants of german; Add other variants of month names for parser
svn: r4580
2005-05-13 12:48:00 +00:00
Martin Hawlisch
6cd8796007 * src/SelectChild.py (on_save_child_clicked) Commit new parent family of child properly; correct handle/object mismatch; exec parent
callback to do a proper redraw (closes #1201151)


svn: r4579
2005-05-13 10:21:38 +00:00
Alex Roitman
f6029285c7 * src/po/ru.po: Typo.
svn: r4577
2005-05-13 04:04:21 +00:00
Alex Roitman
e57e34f6a2 * src/data/gramps.xml: Include different cases for file extensions.
svn: r4576
2005-05-13 02:35:42 +00:00
Don Allingham
3cd2b2098a Force database sync on commit
svn: r4575
2005-05-12 20:24:16 +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
Martin Hawlisch
864e8bb7d4 * src/GenericFilter.py (ParamFilter.apply): Set parameter list before prepare (solves crash in full text search)
* src/gramps_main.py: Enable full text search filters again


svn: r4571
2005-05-12 15:03:17 +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
Alex Roitman
7d303cff5a * src/plugins/Check.py (cleanup_missing_photos): Typo.
* configure.in: Bump up the version number.
* NEWS: Update.


svn: r4568
2005-05-12 13:14:42 +00:00
Alex Roitman
f77805ec1a Update
svn: r4567
2005-05-12 13:12:02 +00:00
Martin Hawlisch
3966f768f7 src/plugins/TestcaseGenerator.py now tests date display and date parsing too
svn: r4563
2005-05-12 08:28:49 +00:00
Martin Hawlisch
39addc1b9b * src/dates/Date_de.py: Updated translation
svn: r4562
2005-05-12 07:55:16 +00:00
Martin Hawlisch
2f9ebbab0d * src/plugins/NavWebPage.py (HomePage): Dont crash on note only object
svn: r4561
2005-05-12 07:37:33 +00:00
Martin Hawlisch
dd2e6e38a2 * src/plugins/TestcaseGenerator.py: Added generation of multiple date formats including invalid dates.
svn: r4559
2005-05-12 06:08:57 +00:00
Don Allingham
baf80601af * src/ReadGedcom.py: coerce the name into a unicode value - if the wrong character
encoding is indicated in the file, the screen display can get corrupted due to keys
that aren't unicode values


svn: r4557
2005-05-12 00:28:36 +00:00
Don Allingham
210a6df39c * src/dates/Date_de.py: first pass at a German date handler
svn: r4552
2005-05-11 16:19:01 +00:00
Martin Hawlisch
1c8ab2cf56 * src/DateHandler.py: Fallback to "C" locale instead of the ISO format. This currently basically falls back to en, but this could be enhanced by a translated fallback parser later.
svn: r4551
2005-05-11 15:45:04 +00:00
Don Allingham
4ae013652b * src/gramps_main.py: define progress bar callback, remove problem
filters


svn: r4545
2005-05-11 03:24:45 +00:00
Don Allingham
eafdceff00 * src/DbPrompter.py: add callback for progressbar
* src/GrampsXMLDB.py: pass callback task
* src/ReadXML.py: handle progress callback, fix placeobj error
* src/gramps_main.py: define progress bar callback


svn: r4544
2005-05-11 02:35:50 +00:00
Alex Roitman
ffc5f987e9 * src/WriteXML.py (write_witness): Proper witness reference.
* src/ReadXML.py (start_witness): Initialize empty comment.


svn: r4543
2005-05-11 02:00:45 +00:00
Alex Roitman
4763eabff6 * src/data/tips.xml: Update tips.
svn: r4542
2005-05-10 21:01:20 +00:00
Eero Tamminen
a86c91eb2d gettextize 3 strings where _() was missing
svn: r4541
2005-05-10 20:19:11 +00:00
Don Allingham
cab8c00936 error handling
svn: r4540
2005-05-10 20:16:25 +00:00
Alex Roitman
d4dfdd4c2d * src/gramps_main.py: Use new welcome key for the welcome dialog.
svn: r4538
2005-05-10 20:04:59 +00:00
Alex Roitman
3588e5e795 * src/gramps.glade: Remove unused widget.
svn: r4537
2005-05-10 19:52:14 +00:00
Alex Roitman
ffbb7f743d * src/po/ru.po: Update.
svn: r4535
2005-05-10 16:26:54 +00:00
Alex Roitman
ef1200b950 Update
svn: r4534
2005-05-10 15:39:25 +00:00
Alex Roitman
874a1bdbf6 * src/data/gramps.schemas: Add a welcome key.
svn: r4532
2005-05-10 14:51:05 +00:00
Julio Sánchez
98646257ad * src/po/es.po: Updated translation
* src/plugins/rel_es.py: Revert to more conservative relationships


svn: r4531
2005-05-10 13:52:41 +00:00
Don Allingham
023f9a37e6 * src/gramps.glade: new scrollable message dialog
* src/gramps_main.py: add new upgrading information message
* src/template.po: new translatable string


svn: r4528
2005-05-10 04:48:49 +00:00
Don Allingham
b1485df25f * src/StartupDialog.py: Added Alex's configuration upgrade, but
wrapped in gconf detection


svn: r4527
2005-05-10 03:58:58 +00:00
Alex Roitman
f4d716f280 * src/DisplayModels.py (column_change): Use localized time string.
* src/PeopleModel.py (column_change): Use localized time string.
* src/RelLib.py (get_change_display): Use localized time string.


svn: r4526
2005-05-10 03:34:50 +00:00
Alex Roitman
0ba4449318 Update
svn: r4525
2005-05-10 03:31:09 +00:00
Alex Roitman
7ae0950669 * doc/gramps-manual/C/authors.xml: Update.
svn: r4523
2005-05-09 17:51:27 +00:00
Alex Roitman
1d63482d52 * src/plugins/GraphViz.py (parse_user_options): Use 'justyears'.
svn: r4522
2005-05-09 17:48:02 +00:00
Alex Roitman
bf71571982 * doc/gramps-manual/C/usage.xml: Typo.
svn: r4516
2005-05-09 04:52:32 +00:00
Don Allingham
aa56da2c05 * src/WriteGedcom.py: fix adopted relationship generation
svn: r4515
2005-05-09 03:55:09 +00:00
Alex Roitman
3d3fbb4c15 * src/po/ru.po: Typos.
svn: r4513
2005-05-08 16:03:44 +00:00
Alex Roitman
3a44c74e0a Update
svn: r4511
2005-05-08 04:20:03 +00:00
Alex Roitman
207b811658 * INSTALL: Update.
svn: r4510
2005-05-08 04:16:49 +00:00
Julio Sánchez
d43dec5fd6 * src/po/es.po: Updated translation
svn: r4509
2005-05-07 15:42:55 +00:00
Jens Arvidsson
8bd18bb9dd Partial translation update for 2.0.0
svn: r4508
2005-05-07 15:36:17 +00:00
Martin Hawlisch
87d879dc6a * src/PedView.py (build_detail_string), src/FamilyView.py (load_family): Dont crash on strange signal race condition, that leaves database in corrupt state before sending "active-changed"
* src/plugins/ImportGeneWeb.py (read_children_lines): Properly add birth event; (parse_person): Remove brackets from name; (get_or_create_place): Fix typo


svn: r4506
2005-05-07 13:22:28 +00:00
Alex Roitman
d2fb680ce4 * acinclude.m4: Copy macro for GCONF configuration from gconf2-dev;
add --disable-mime-install and --enable-packager-mode arguments.
* configure.in: Call new macros; Remove obsolete French and Russian
manuals for the time being.
* doc/gramps-manual/Makefile.am: Remove obsolete manuals.
* src/data/Makefile.am: Conditional installation of gconf keys and
mime types.
* src/po/da.po: Typos preventing make.
* NEWS: Update.
* README: Update.


svn: r4503
2005-05-07 05:19:03 +00:00
Alex Roitman
47cffe694a Update
svn: r4502
2005-05-07 04:47:23 +00:00
Alex Roitman
bbef084489 * doc/gramps-manual/C/authors.xml, doc/gramps-manual/C/faq.xml,
doc/gramps-manual/C/mainwin.xml, doc/gramps-manual/C/usage.xml:


svn: r4501
2005-05-07 04:46:40 +00:00
Don Allingham
0193504595 * src/ReadGedcomp.py: Handle inline sources better in GEDCOM files
svn: r4500
2005-05-07 04:04:18 +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
295ecc8d8e Faster place list building
svn: r4496
2005-05-06 19:43:41 +00:00
Martin Hawlisch
48be6c8a75 * src/gramps_main.py (undo): Block signals during undo to make it MUCH faster when undoing larger imports or plugin runs
svn: r4494
2005-05-06 16:46:58 +00:00
Alex Roitman
f844356203 * doc/gramps.1.in, doc/gramps-manual/C/bugs.xml,
doc/gramps-manual/C/cmdline.xml, doc/gramps-manual/C/faq.xml,
doc/gramps-manual/C/getstart.xml,
doc/gramps-manual/C/gramps-manual.xml,
doc/gramps-manual/C/mainwin.xml,
doc/gramps-manual/C/preface.xml: Update.


svn: r4491
2005-05-06 04:03:14 +00:00
Don Allingham
8f8a0bb642 * src/plugins/PatchNames.py: handle multiple titles (bug 1196056)
* src/plugins/ReorderIDs.py: bring up to speed with new handle/id methodology,


svn: r4490
2005-05-05 22:12:33 +00:00
Don Allingham
277f5bee18 * src/ReorderIDs.py: bring up to speed with new handle/id methodology,
svn: r4488
2005-05-05 20:10:21 +00:00
Martin Hawlisch
5e93c54df9 * src/GenericFilter.py: Fix copy-n-paste errors; dont crash on empty database
svn: r4487
2005-05-05 09:54:23 +00:00
Alex Roitman
9e3b938b2a * src/SourceView.py (__init__): Connect to the key-press-event.
* doc/gramps-manual/C/keybind.xml: Update.
* doc/gramps-manual/C/cmdline.xml: Update.
* doc/gramps-manual/C/custom.xml: Update.
* doc/gramps-manual/C/filtref.xml: Update.


svn: r4485
2005-05-05 04:55:08 +00:00
Alex Roitman
fdb8acce47 * doc/gramps-manual/C/figures/scratch-pad.png: Add new figure.
* doc/gramps-manual/C/authors.xml: Update.
* doc/gramps-manual/C/keybind.xml: Update.
* doc/gramps-manual/C/usage.xml: Update.
* doc/gramps-manual/C/figures/cfe-ar.png: Update.
* doc/gramps-manual/C/figures/cfe-df.png: Update.
* src/plugins/FilterEditor.py: Correct manual section.
* src/plugins/ScratchPad.py: Correct manual section.
* src/plugins/SoundGen.py: Correct manual section.
* src/plugins/Verify.py: Correct manual section.


svn: r4484
2005-05-04 20:30:35 +00:00
Don Allingham
2010054577 * src/gramps_main.py: remove beta warning, handle OSError
on config open


svn: r4481
2005-05-04 03:50:44 +00:00
Don Allingham
7393664291 * src/po/nl.po: Updated Dutch translation
svn: r4480
2005-05-04 02:18:55 +00:00
Eero Tamminen
8a1f01b287 update fi.po
svn: r4477
2005-05-03 20:01:31 +00:00
Martin Hawlisch
7c49fac9a9 * src/GenericFilter.py (HaveChildren): Match what it should
svn: r4476
2005-05-03 19:39:04 +00:00
Alex Roitman
b797fc392a * doc/gramps-manual/C/prefs.xml: Update.
* doc/gramps-manual/C/figures/prefs.png: Add new figure.


svn: r4475
2005-05-03 19:24:32 +00:00
Alex Roitman
0774bb6e19 * doc/gramps-manual/C/usage.xml: Update.
* doc/gramps-manual/C/figures/*.png: Add new figures.
* src/MergePeople.py: Minor cleanups; Help buttons.
* src/MergeData.py: Minor cleanups; Help buttons.
* src/mergedata.glade: Minor cleanups; Help buttons.


svn: r4472
2005-05-03 17:17:17 +00:00
Don Allingham
06ca7b40fd Fixed typo
svn: r4471
2005-05-03 16:47:14 +00:00
Alex Roitman
3346233bf0 * src/po/ru.po: Translation update.
svn: r4469
2005-05-03 04:58:21 +00:00
Alex Roitman
657650cd78 Update
svn: r4468
2005-05-03 04:46:57 +00:00
Alex Roitman
e03ad1b71d Update
svn: r4467
2005-05-03 04:46:49 +00:00
Alex Roitman
bed103c9b8 * src/EditPlace.py: Correct manual section.
* src/EditSource.py: Correct manual section.
* src/EventEdit.py: Correct manual section.
* src/ImageSelect.py: Correct manual section.
* src/Marriage.py: Correct manual section.
* src/NameEdit.py: Correct manual section.
* doc/gramps-manual/C/usage.xml: Update.
* doc/gramps-manual/C/figures/edit-*.png: Update.


svn: r4463
2005-05-03 02:13:44 +00:00
Don Allingham
dc91adb896 * src/gramps.glade: remove place field, fixed parent relationships
svn: r4462
2005-05-03 01:37:53 +00:00
Don Allingham
11539c5054 * src/gramps.glade: remove place field
* src/ImageSelect.py: remove place handling


svn: r4461
2005-05-03 01:31:20 +00:00
Alex Roitman
cc59e73911 * src/DateEdit.py (DateEditorDialog.__init__): Correct manual section.
* doc/gramps-manual/C/usage.xml: Update.
* doc/gramps-manual/C/figures/edit-person-notes.png: Update.
* doc/gramps-manual/C/figures/date-selection.png: Add new figure.


svn: r4460
2005-05-02 23:27:50 +00:00
Don Allingham
5ff894307d readonly DB fixes, GEDCOM parsing fixes
svn: r4459
2005-05-02 22:27:12 +00:00
Don Allingham
893168feb6 Filtering fixes
svn: r4458
2005-05-02 21:50:15 +00:00
Martin Hawlisch
08c1a4865b * src/gramps_main.py: Disable fast merge on a readonly db
* src/plugins/Check.py: Disable on readonly db
* src/plugins/TestcaseGenerator.py: Disable on readonly db


svn: r4457
2005-05-02 21:20:08 +00:00
Don Allingham
a2ef90f18b * src/po/template.po: updated for string changes
* src/Date.py: add the ui_calendar_names for translation for the ui
* src/DateEdit.py: use the new ui_calendar_names for the ui


svn: r4455
2005-05-02 04:13:20 +00:00
Alex Roitman
0dd5c07204 * src/EditPerson.py (on_help_clicked): Call appropriate manual section.
* doc/gramps-manual/C/usage.xml: Update.
* doc/gramps-manual/C/figures/edit-person-*.png: Update.
* configure.in: Bump up version, to distinguish from released 1.1.99.


svn: r4454
2005-05-02 02:32:52 +00:00
Don Allingham
cbe87ed537 * src/plugins/Check.py: delete families that contain only a
single parent and no children


svn: r4453
2005-05-01 20:20:19 +00:00
Eero Tamminen
0612243444 fixed finnish date display
svn: r4451
2005-05-01 18:56:13 +00:00
Alex Roitman
5afd417efe Update
svn: r4444
2005-04-28 23:07:23 +00:00
Alex Roitman
8e25a95bf4 * src/EditPlace.py (on_add_url_clicked,on_update_url_clicked):
Use empty name when not available.
* src/UrlEdit.py (__init__): Work with empty names.


svn: r4443
2005-04-28 23:06:58 +00:00
Eero Tamminen
b55636be8f update Finnish translation, add initial Date_fi.py
svn: r4441
2005-04-28 21:12:05 +00:00
Don Allingham
f187d9f103 fixed adding child to wrong family
svn: r4439
2005-04-28 19:03:33 +00:00
Martin Hawlisch
371ff606b7 * src/StartupDialog.py (__init__): Catch Schema errors
svn: r4435
2005-04-27 19:30:07 +00:00
Martin Hawlisch
b5c63cf625 * src/gramps_main.py (__init__): Avoid TypeError in schema error message
svn: r4433
2005-04-27 18:28:45 +00:00
Martin Hawlisch
4e155a5e7b * src/MergePeople.py: Corrected gender display (closes #1190203)
svn: r4428
2005-04-26 12:42:00 +00:00
Martin Hawlisch
26f4ef3bb3 * src/EditPerson.py (on_apply_person_clicked): Fix crash when changing gender caused by a family handle/object mismatch
svn: r4426
2005-04-26 12:25:00 +00:00
Martin Hawlisch
a918c72ef8 * src/FamilyView.py: Dont crash on empty database
svn: r4425
2005-04-25 09:24:11 +00:00
Alex Roitman
5a1fb9bddf * src/Report.py (GrampsStyleComboBox): Use non-translated style name.
svn: r4423
2005-04-25 03:33:00 +00:00
Alex Roitman
1a3160380d * src/EditSource.py (button_press): Proper invokation of editors.
* src/ImageSelect.py: Remove workarounds for window management.


svn: r4422
2005-04-25 03:02:07 +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
Don Allingham
24d55db257 * src/gramps.glade: remove REDO menu item
svn: r4419
2005-04-24 20:58:32 +00:00
Eero Tamminen
ec8605fb78 improve translation consistency
svn: r4417
2005-04-24 19:01:09 +00:00
Eero Tamminen
f95a450317 add Finnish back to installed alanguages
svn: r4416
2005-04-24 17:09:59 +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
Alex Roitman
017e9f5791 * src/plugins/rel_ru.py (get_parents): Remove gettext string.
svn: r4412
2005-04-24 14:43:46 +00:00
Julio Sánchez
f657c59182 * src/po/es.po: Nearly complete update, but completely untested
svn: r4411
2005-04-24 06:08:28 +00:00
Eero Tamminen
e2b4e305b8 translations improvements
svn: r4409
2005-04-23 20:50:52 +00:00
Don Allingham
716a3119e7 * src/Date.py (__cmp__): check for Date instance before compare
* src/plugins/DetAncestralReport.py: fixed i18n strings
* src/ReadGedcom.py: handle FTM style of child/parent relationship
translation
* src/gedcomimport.py:


svn: r4403
2005-04-22 19:49:08 +00:00
Martin Hawlisch
8ff477aa0a update
svn: r4400
2005-04-21 18:12:13 +00:00
Martin Hawlisch
f4dd79c642 * src/ReadGedcom.py (parse_family_object): Support _WITN and _GODP; Ignore _LOC extended locations
svn: r4399
2005-04-21 14:20:26 +00:00
Martin Hawlisch
a391f7e96c * src/ReadGedcom.py (importData): Dont crash because of a short line;
svn: r4397
2005-04-21 12:25:35 +00:00
Martin Hawlisch
6fa55ea96b * src/ReadGedcom.py (parse_individual): Set Adoption event properly
svn: r4396
2005-04-21 11:52:08 +00:00
Martin Hawlisch
d43ec2d13c * src/ReadGedcom.py (parse_family_object): Set MediaRef properly
* src/Marriage.py (__init__): Properly get place title


svn: r4395
2005-04-21 09:54:53 +00:00
Don Allingham
3aebc669e3 * src/DbPrompter.py: handle runtime errors issued by
gnomevfs.get_mime_type


svn: r4394
2005-04-21 00:27:42 +00:00
Eero Tamminen
5664d7ad50 updated Finnish translation
svn: r4393
2005-04-20 21:14:49 +00:00
Eero Tamminen
8de4698877 fix typos
svn: r4392
2005-04-20 20:54:21 +00:00
Martin Hawlisch
8fab524810 * src/plugins/ExportVCalendar.py: Mark strings for translation; use proper family name
svn: r4390
2005-04-20 19:58:02 +00:00
Eero Tamminen
390a84bd2f fix gettext usage
svn: r4388
2005-04-20 19:38:54 +00:00
Eero Tamminen
dab1b6c8a7 fix typo
svn: r4387
2005-04-20 19:35:32 +00:00
Don Allingham
dc3fb33c1e * src/DisplayModels.py: fix bad index into list
* src/Relationship.py: handle race condition where the screen
wants to update with a stale family handle after the database
has been closed and the internal data has not be rebuilt.

* src/GenericFilter.py: Don't crash on corrupt database


svn: r4384
2005-04-20 16:45:00 +00:00
Martin Hawlisch
ec549b3d69 * GenericFilter.py: Don't crash on corrupt database
svn: r4381
2005-04-19 19:33:56 +00:00
Eero Tamminen
b905316bbd fix typos
svn: r4379
2005-04-19 16:41:22 +00:00
Guillaume Pratte
5fb99c86fd src/po/fr.po: Translation updated, but not finished
svn: r4373
2005-04-19 02:46:02 +00:00
Martin Hawlisch
1744d7407a * src/plugins/WebPage.py (dump_gendex): Files are named by GRAMPS ID; Alway print fields for birth/death; Fixed typo in DateHandler
svn: r4366
2005-04-16 06:57:48 +00:00
Don Allingham
350ed9e36d * src/plugins/Check.py: loop through family relationships until all
problems are resolved


svn: r4364
2005-04-15 04:50:15 +00:00
Don Allingham
5617c42d2c * src/FamilyView.py: make load_family more robust to signals
svn: r4363
2005-04-14 20:43:14 +00:00
Martin Hawlisch
79af9bdb0c * src/gramps_main.py (undo): Dont emit "database-changed"
* src/plugins/plugins/TestcaseGenerator.py: Added option to generate a new transaction for every change on the database. Useful for UNDO and signal testing.


svn: r4361
2005-04-14 13:18:20 +00:00
Don Allingham
c289f6c04b * src/EditSource.py: allow double click on reference to bring up the referece
editor
* src/EventEdit.py: don't require a callback
* src/ImageSelect.py: horrible hack for handling removing parent windows.
Alex: HELP!


svn: r4360
2005-04-14 00:26:38 +00:00
Don Allingham
2059945bc6 * src/gramps_main.py: check for reentrancy into the undo handler
svn: r4359
2005-04-13 22:04:52 +00:00
Don Allingham
223c363a47 * src/plugins/WebPage.py: fixed check on dialog run() return value,
changed deprecated gtk.mainiteration to gtk.main_iteration


svn: r4358
2005-04-13 18:16:20 +00:00
Don Allingham
87bf5fa71a * src/WriteGedcom.py: fixed problem with skipping events
svn: r4357
2005-04-13 17:29:52 +00:00
Don Allingham
398985027a * src/FamilyView.py: commit family before people when committing
new spouse.


svn: r4355
2005-04-13 02:46:19 +00:00
Don Allingham
8cc28ad677 * src/EventEdit.py: more robust handler for new place after an edit
svn: r4353
2005-04-12 15:16:04 +00:00
Martin Hawlisch
bf17300ff6 * src/ArgHandler.py: Fixed typo
svn: r4352
2005-04-12 13:11:23 +00:00
Alex Roitman
3724f79a1e * src/ArgHandler.py: Minor string changes.
* src/DbPrompter.py: Minor string changes.


svn: r4351
2005-04-12 01:56:36 +00:00
Alex Roitman
eec33154e6 * src/po/template.po: Update translation template.
* src/po/ru.po: Some translation updates.


svn: r4350
2005-04-12 01:55:42 +00:00
Richard Taylor
5196dea9a5 2005-04-11 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/plugins/ScratchPad.py: hook up to 'database-changed' signal
	so that pad is cleared when a new database is opened.


svn: r4348
2005-04-11 19:29:54 +00:00
Alex Roitman
c5e45f59df * src/SourceView.py (button_press,build_context_menu): Work with
multiple selections.


svn: r4346
2005-04-11 14:47:02 +00:00
Alex Roitman
62ba24fd6b * src/MergeData.py (on_merge_places_clicked): Commit event.
svn: r4345
2005-04-11 14:36:33 +00:00
Martin Hawlisch
ad1621c3ea * src/plugins/ImportGeneWeb.py: Add line numbers to error messages; Support for "csrc" and "cbp" fields; Catch empty date
svn: r4343
2005-04-11 11:10:50 +00:00
Martin Hawlisch
88e5406249 * src/plugins/Check.py: Fix events, that reference non existing places
svn: r4342
2005-04-11 10:11:04 +00:00
Martin Hawlisch
78fcabe770 * src/PedView.py (load_canvas): Catch bug of not existing family
svn: r4341
2005-04-11 09:42:55 +00:00
Alex Roitman
dc65df18b6 * src/RelLib.py (BaseObject): add get_referenced_handles,
get_handle_referents, and get_referenced_handles_recursively methods.
(various subclasses): override get_referenced_handles and/or
get_handle_referents as appropriate.


svn: r4339
2005-04-10 23:40:18 +00:00
Alex Roitman
80a06b89dc * Release: Version 1.1.95 "When danger reared its ugly head,
he bravely turned his tail and fled" released.
* configure.in: Bump up the version number.


svn: r4338
2005-04-10 23:36:55 +00:00
Alex Roitman
e5bbce4b63 * NEWS: Update.
svn: r4336
2005-04-10 23:27:32 +00:00
Alex Roitman
550d6a8d6d Update
svn: r4335
2005-04-10 23:26:34 +00:00
Don Allingham
5bff9681c9 * src/EventEdit.py: Add new places to the database.
svn: r4334
2005-04-10 22:08:11 +00:00
Don Allingham
f8fd8d36da * src/Check.py: repair family types of "None" in the database
svn: r4332
2005-04-10 21:21:58 +00:00
Don Allingham
218c3959ab * src/Makefile.am: add MergePeople.py
svn: r4331
2005-04-10 14:38:06 +00:00
Don Allingham
3c2e3536ea * src/FamilyView.py: ignore None family types. This should never
occur, but we want to be safe.


svn: r4330
2005-04-09 22:20:15 +00:00
Alex Roitman
62bdc36e2b * src/po/template.po: Update translation template.
svn: r4329
2005-04-09 18:49:50 +00:00
Richard Taylor
419cd75ec6 2005-04-09 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/GrampsDBCallback.py: block recursive signal calls, improved error
	reporting. All warnings are now printed to stderr even if logging
	is turned off.


svn: r4328
2005-04-09 13:04:36 +00:00
Don Allingham
4736f4ece9 * src/ChooseParents.py: pychecker changes
* src/DdTargets.py: pychecker changes
* src/FamilyView.py: pychecker changes
* src/GrampsCfg.py: pychecker changes
* src/MergeData.py: pychecker changes
* src/MergePeople.py: pychecker changes
* src/NameEdit.py: pychecker changes
* src/NoteEdit.py: pychecker changes
* src/RelLib.py: pychecker changes
* src/gramps_main.py: pychecker changes


svn: r4327
2005-04-09 03:11:03 +00:00
Don Allingham
02171a00af * src/GrampsDbBase.py: correctly handle signals when undoing a
delete operation
* src/PeopleView.py: remove unused signal
* src/gramps_main.py: handle history mechanism with new signal scheme,
avoiding the double active-changed when selecting an element


svn: r4326
2005-04-09 00:31:39 +00:00
Martin Hawlisch
b33612a7a1 * src/GenericFilter.py (FilterParser.startElement): Catch non existing filter rule and print an error message
svn: r4325
2005-04-08 18:52:05 +00:00
Martin Hawlisch
5184d567fa * src/PeopleModel.py (column_death_place): Use "Burial" and "Cremation" events
svn: r4324
2005-04-08 15:53:48 +00:00
Martin Hawlisch
571ff74418 * src/gramps_main.py: Added "Invert" checkbox for person filter; Fix "active-changed" signals to not cause Tracebacks.
* src/gramps.glade: Added "Invert" checkbox for person filter
* src/PeopleView.py (build_tree): Pass Invert state for Filter to PeopleModel
* src/PeopleModel.py: Enable invertation of filter result


svn: r4323
2005-04-08 10:49:26 +00:00
Martin Hawlisch
6c231bd277 * src/Utils.py (probably_alive): Added two more checks for birth and death year
svn: r4322
2005-04-08 09:40:15 +00:00
Richard Taylor
2b17686063 2005-04-08 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/Utils.py (probably_alive): fix some bugs and added checking of ancestors.


svn: r4321
2005-04-08 08:09:18 +00:00
Martin Hawlisch
690bcd9e68 * src/GenericFilter.py: Call prepare/reset for nested filters
svn: r4319
2005-04-07 13:24:16 +00:00
Richard Taylor
6f25f47897 2005-04-07 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/gramps_main.py: correct type signature for 'active-changed' signal.
	* src/GrampsDBCallback.py: improve the error reporting.


svn: r4318
2005-04-07 08:18:43 +00:00
Don Allingham
46fe87842a * src/FamilyView.py: keep track of local person during update, connect
active-changed signal
* src/gramps_main.py: keep track of active-changed, use local person


svn: r4317
2005-04-07 02:30:07 +00:00
Don Allingham
c538477ffe * src/FamilyView.py: keep track of local person during update
* src/PedView.py: update database pointer when database changed, update
active person
* src/gramps_main.py: keep track of active-changed


svn: r4316
2005-04-07 00:51:26 +00:00
Martin Hawlisch
f7a5765a44 * src/Utils.py (probably_alive): Add some checks to make current year parameter work.
svn: r4315
2005-04-06 20:56:24 +00:00
Martin Hawlisch
ad39f6be25 * src/gramps.glade: People View: Add label for filter text input field.
* src/GenericFilter.py (ProbablyAlive): Add check for input parameter, (HasSourceOf): get handle only once, removed unused code.
* src/gramps_main.py: Show label for filter input field.


svn: r4313
2005-04-06 20:26:15 +00:00
Richard Taylor
76c44f2694 2005-04-06 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/GenericFilter.py: added a current year parameter to probably alive rule.
	* src/Utils.py: added a current year parameter to probably alive function.


svn: r4312
2005-04-06 15:52:52 +00:00
Richard Taylor
4aa708e30e 2005-04-06 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/plugins/FilterEditor.py: Added source IDs into the source combobox.


svn: r4311
2005-04-06 15:25:16 +00:00
Richard Taylor
721af70faf 2005-04-06 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/GenericFilter.py: Added HasSourceOf rule
	* src/plugins/FilterEditor.py: Added MySource combobox for selecting source IDs.


svn: r4310
2005-04-06 15:03:36 +00:00
Martin Hawlisch
698beec5c1 * src/PedView.py: Truncate place names because they tend to be loooong.
svn: r4309
2005-04-06 13:54:12 +00:00
Richard Taylor
109dd10307 2005-04-06 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/DdTargets.py: added PERSON_LINK_LIST target.
	* src/FamilyView.py: corrected bug when person is droped if there is no current
	family.
	* src/PeopleView.py: enabled dnd of lists of people.
	* src/plugins/ScratchPad.py: support lists of people.


svn: r4308
2005-04-06 13:28:51 +00:00
Martin Hawlisch
d64fc60c3a * src/plugins/ChangeNames.py: Block signal emission during run
* src/plugins/Check.py: Block signal emission during run
* src/plugins/ImportGeneWeb.py: Block signal emission during run
* src/plugins/ImportvCard.py: Block signal emission during run
* src/plugins/TestcaseGenerator.py: Block signal emission during run


svn: r4306
2005-04-06 10:22:18 +00:00
Richard Taylor
997d77068c 2005-04-06 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/GrampsDBCallback.py: improved error reporting when there is an error in
	a callback function. Added unittest for exception in callback function.


svn: r4305
2005-04-06 10:04:32 +00:00
Martin Hawlisch
5b44756832 * src/gramps_main.py (post_load): Emit "database-changed" signal instead of calling change_db().
* src/PedView.py: Connect to "database-changed" signal and handle person-update signals to redraw the view.
* src/FamilyView.py (__init__) connect to database-changed signal, dont call change_cb because on initialisation there is no real database. (change_db): use database parameter supplied by signal emission.
* src/PeopleView.py (__init__) dont connect the signals, this will be done by change_db, (change_db): Use supplied database.
* src/SourceView.py (__init__): dont call change_cb because on initialisation there is no real database and this will be done by the signal.


svn: r4304
2005-04-06 09:40:41 +00:00
Richard Taylor
b00f2e8645 2005-04-04 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/plugins/ScratchPad.py: made clear buttons sensitive to contents of
	list and current selection. Added support for PERSON_LINK dnd.
	* src/DdTargets.py: added PERSON_LINK target and simplified generation of
	targets lists.
	* src/FamilyView.py: added dnd of person handles to and from the child list.
	* src/PeopleView.py: added dnd of person handles from the person list.


svn: r4303
2005-04-06 09:28:54 +00:00
Alex Roitman
5827c03c6a * src/GrampsBSDDB.py (upgrade_5): Make work with half-upgraded data.
svn: r4302
2005-04-06 04:39:02 +00:00
Don Allingham
e5542af5c6 * src/DbPrompter.py: provide a better error message of DB open failure
* src/const.py.in: Add Martin Hawlisch and Richard Tayor to author list


svn: r4300
2005-04-05 15:31:04 +00:00
Martin Hawlisch
03bd54cd44 * src/PedView.py: Show Baptism/Burial as fallback for birth/death; Moved text generation for details view out of DispBox class so that PedigreeView can use the same string for max size calculation.
* src/PeopleModel.py: Show Baptism/Burial as fallback for birth/death. Based on patch from Jim Smart.
* src/PeopleView.py: Enable makup that PeopleModel can render fallback data in italics.


svn: r4299
2005-04-05 15:02:59 +00:00
Richard Taylor
67168c3ab5 2005-04-01 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/GrampsDBCallback.py: added support for disconnecting callbacks,
	better test code and lots of logging. Improved the comments.


svn: r4298
2005-04-05 13:33:39 +00:00
Alex Roitman
d52de130ff * src/Marriage.py: proper window management on delete event.
* src/RelLib.py (Event.are_equal): Correction.
* src/Date.py (is_empty): Require empty text for a date to be empty.
* src/WriteXML (write_object): Remove places from Media.
* src/GrampsDbBase.py (undo): Typos.
* src/GrampsDBCallback: Pretty printing for warnings.


svn: r4297
2005-04-05 04:33:11 +00:00
Don Allingham
315775f279 * src/ChooseParents.py: fix father/mother relationship
* src/FamilyView.py: fix update of child pointers after add
* src/PeopleView.py: unselect previous entry on new goto_active_person
* src/MediaView.py: pass handle instead of GRAMPS ID during drag-n-drop


svn: r4296
2005-04-05 00:58:37 +00:00
Don Allingham
0dbc5c0341 * src/GrampsBSDDB.py: remove transaction.batch in favor of signal suppression
* src/GrampsDbBase.py: remove transaction.batch in favor of signal suppression
* src/GrampsInMemDB.py: remove transaction.batch in favor of signal suppression
* src/ReadGedcom.py: fix relation typo, enable/disable signals around import
* src/ReadXML.py: enable/disable signals around import
* src/gramps_main.py: disable signals before undo and exit


svn: r4295
2005-04-04 23:52:46 +00:00
Don Allingham
8239697464 * src/MedaiView.py: pass handle instead of GRAMPS ID during drag-n-drop
svn: r4294
2005-04-04 19:53:21 +00:00
Richard Taylor
0594e406d7 2005-04-01 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/GrampsDBCallback.py: Don't check callbacks if the dict is empty.


svn: r4293
2005-04-04 19:28:55 +00:00
Don Allingham
1504585907 * src/GrampsDbBase.py: add "request_rebuild" to encapsulate rebuild
requests in the database instance
* src/ReadXML.py: use request_rebuild instead of directly emitting s
ignals
* src/ReadGedCom.py: use request_rebuild instead of directly emitting
signals


svn: r4292
2005-04-04 16:41:01 +00:00
Richard Taylor
81b7affc66 2005-04-01 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/GrampsDBCallback.py: Added code to disable/enable signals on
	a per instance or all instance bassis. Improved test code and
	changed type checking to use isinstance instead of type().


svn: r4291
2005-04-04 15:53:40 +00:00
Alex Roitman
2fbbc07aef * src/ImageSelect.py (on_savephoto_clicked): Pass transaction to
savephoto; (savephoto): take transaction argument);
(on_photolist_drag_data_received): Pass transaction.


svn: r4290
2005-04-04 15:38:36 +00:00
Don Allingham
17bbd11d07 * src/FamilyView.py: commit family properly
* src/PedView.py: change_active_person typo
* src/PeopleView.py: don't change active person with updated
* src/SelectChild.py: Fix callbacks
* src/gramps_main.py: load active family on change


svn: r4289
2005-04-04 03:59:42 +00:00
Don Allingham
8126f34ec9 * src/ArgHandler.py: Make sure all databases are closed before
creating a new one.
* src/DisplayModels.py: Calculate new nodes properly after a
node has be deleted. The node hasn't been removed from the database
yet.
* src/EditPerson.py: Add check for unknown gender before closing
* src/EditSource.py: Remove unnecessary updates
* src/GrampsBSDDB.py: check for open in close()
* src/GrampsDbBase.py: spelling error
* src/MediaView.py: connect to database-changed
* src/PedView.py: remove unused update function
* src/PeopleView.py: connect to database-changed
* src/PlaceView.py: connect to database-changed
* src/SourceView.py: connect to database-changed, remove unnecessary
callback
* src/gramps_main.py: add database-changed signal


svn: r4288
2005-04-04 01:11:50 +00:00
Alex Roitman
9a6894df98 * src/AddMedia.py: Remove unneeded update argument.
* src/ArgHandler.py (auto_save_load): Mysterious workaround :-).
* src/EditPlace.py (display_references): Drop media objects;
(DeletePlaceQuery.query_response): use proper handle removal.
* src/GrampsBSDDB.py (remove_object): emit media signal.
* src/GrampsDbBase.py (GrampsDbBase): Add media-related signals;
(commit_media_object,transaction_commit,undo): emit media signals.
* src/ImageSelect.py (GlobalMediaProperties,DeleteMediaQuery):
Remove unneeded update argument.
* src/MediaView.py (media_add,media_update,media_delete): Add
callbacks; (change_db): connect callbacks to signals;
(popup_change_description): Call property editor without callback param;
(on_add_clicked): Call AddMedia without callback param;
(add_object,update_display,add_to_display): Remove unneeded methods;
(on_edit_clicked): call property editor without callback param;
(on_delete_clicked): call deleter without callback param;
(on_drag_data_received): Call property editor without callback param.
* src/PlaceView.py (new_place_after_edit): Remove unneeded method;
(delete_place): Remove unneeded tree update; (is_used) Add method;
(on_delete_clicked): Use new detection method.


svn: r4287
2005-04-04 00:27:06 +00:00
Don Allingham
94b27d450c * src/ReadGedcom.py: emit proper signals to notify of a database
rebuild, handle parent/child relationships better - eliminate
string types
* src/ReadXML.py: emit proper signals to notify of a database rebuild
* src/Sources.py: select just added handle after an addition


svn: r4286
2005-04-02 21:14:53 +00:00
Don Allingham
fc01bc440d * src/SourceView.py: fix multiple selection problem.
svn: r4285
2005-04-02 17:53:37 +00:00
Martin Hawlisch
52b0549e99 * src/EditPerson.py: Remove unneeded arguments.
* src/Marriage.py: Remove unneeded arguments.


svn: r4284
2005-04-02 06:12:46 +00:00
Don Allingham
429efefade * src/EditPerson.py: removed unused callback functions
* src/GrampsDbBase.py: remove duplicate signal emissions
* src/SourceView.py: reformat code
* src/Sources.py: catch source-add signal and redraw menu


svn: r4283
2005-04-02 05:33:06 +00:00
Alex Roitman
8ea7b9aee2 * src/EditPerson.py (on_edit_name_clicked): Remove unneeded argument.
svn: r4281
2005-04-02 00:11:21 +00:00
Don Allingham
9ed7d79704 * src/AddSpouse.py: remove unused callbacks
* src/FamilyView.py: remove unused callbacks


svn: r4280
2005-04-01 21:51:27 +00:00
Martin Hawlisch
0e310a0719 * src/plugins/TestcaseGenerator.py: Small changes to family generation
* src/plugins/StatisticsChart.py: Added statistics for Surnames, Number of Families and Event Types


svn: r4278
2005-04-01 20:32:06 +00:00
Don Allingham
64277bb707 * src/GrampsDBCallback.py: rewrite of new callback scheme using python signals
* src/GrampsDbBase.py: handle signals instead of callback functions
* src/GrampsInMemDB.py: handle signals instead of callback functions
* src/Makefile.am: Add GrampsDBCallback.py
* src/PeopleView.py: handle signals instead of callback functions
* src/PlaceView.py: handle signals instead of callback functions
* src/SourceView.py: handle signals instead of callback functions


svn: r4277
2005-04-01 20:04:12 +00:00
Don Allingham
4306a639e7 * src/gramps.glade: disable scrollbars in Pedigree View
* src/PedView.py: Apply Martin Hawlisch's canvas resize patch


svn: r4276
2005-04-01 19:34:11 +00:00
Richard Taylor
4104ec0dcf 2005-04-01 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/ImageSelect.py (on_photolist_drag_data_get): forgot to remove print statement.


svn: r4275
2005-04-01 15:58:33 +00:00
Richard Taylor
2d42bb07f5 2005-04-01 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/DdTargets.py: added dnd type for media objects
	* src/ImageSelect.py: altered dnd code to use gramps specific dnd target
	when dnd is used between gramps windows.
	* src/plugins/ScratchPad.py: added support for media object. This is still
	a little simplistic. It would be nice to generate thumbnails as tooltips and
	to access some of the image meta data in the ui.


svn: r4274
2005-04-01 15:15:36 +00:00
Richard Taylor
40be278f7d 2005-04-01 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/ImageSelect.py (Gallery.on_drag_begin): tiny fix to correct image dnd


svn: r4273
2005-04-01 14:42:47 +00:00
Richard Taylor
48dfcc8f00 2005-04-01 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/plugins/ScratchPad.py (ScratchPadListView.register_wrapper_classes,
	ScratchPadName): added support for Names
	* src/EditPerson.py (EditPerson.__init__, EditPerson.name_drag_data_get,
	EditPerson.name_drag_begin, EditPerson.name_drag_data_received): added dnd for Names
	* src/DdTargets.py (_DdTargets.__init__, _DdTargets.all_gramps_types,
	_DdTargets.all_gramps_targets): added Names as dnd target.


svn: r4272
2005-04-01 14:22:26 +00:00
Richard Taylor
8e27911ccc 2005-04-01 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/plugins/ScratchPad.py: changed pickle to cPickle. cPickle is much faster.
	* src/EditPerson.py: changed pickle to cPickle. cPickle is much faster.
	* src/EditPlace.py: changed pickle to cPickle. cPickle is much faster.
	* src/Marriage.py: changed pickle to cPickle. cPickle is much faster.
	* src/Sources.py: changed pickle to cPickle. cPickle is much faster.


svn: r4271
2005-04-01 13:39:34 +00:00
Richard Taylor
68d6129de1 2005-04-01 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/plugins/ScratchPad.py (ScratchPadListView.object_drag_data_received,
	ScratchPadListView.on_object_select_row): disables drop that originates from the
	pad itself and enabled dropping into the correct row as indicated by the
	UI.


svn: r4270
2005-04-01 13:22:28 +00:00
Martin Hawlisch
73864c588e * src/plugins/TestcaseGenerator.py: Added generation of invalid event references of persons
* src/plugins/Check.py: Check for invalid event references of persons


svn: r4269
2005-04-01 09:59:18 +00:00
Martin Hawlisch
692fafe9c9 * src/plugins/Check.py: new database callback scheme; Use Utils.family_name.
* src/plugins/ChangeNames.py: new database callback scheme
* src/plugins/TestcaseGenerator.py: new database callback scheme


svn: r4268
2005-04-01 07:39:21 +00:00
Don Allingham
19fe252c4c * src/AddSpouse.py: new database callback scheme. This scheme
provides a registration mechanism to signal interested objects
when database commits occur. The eliminates most of all callback
functions tied to interface windows.
* src/AddrEdit.py: new database callback scheme
* src/AttrEdit.py: new database callback scheme
* src/ChooseParents.py: new database callback scheme
* src/EditPerson.py: new database callback scheme
* src/EditPlace.py: new database callback scheme
* src/EditSource.py: new database callback scheme
* src/EventEdit.py: new database callback scheme
* src/FamilyView.py: new database callback scheme
* src/GrampsBSDDB.py: new database callback scheme
* src/GrampsDbBase.py: new database callback scheme
* src/GrampsInMemDB.py: new database callback scheme
* src/Marriage.py: new database callback scheme
* src/NameEdit.py: new database callback scheme
* src/PeopleView.py: new database callback scheme
* src/PlaceView.py: new database callback scheme
* src/ReadGedcom.py: new database callback scheme
* src/ReadXML.py: new database callback scheme
* src/SourceView.py: new database callback scheme
* src/Sources.py: new database callback scheme
* src/gramps_main.py: new database callback scheme


svn: r4267
2005-04-01 05:33:22 +00:00
Alex Roitman
ff098f8093 * src/plugins/ScratchPad.py (ScratchPadWindow.__init__): Minor change.
svn: r4266
2005-04-01 05:09:59 +00:00
Alex Roitman
6ed43eb355 * src/GrampsBSDDB.py (upgrade): Delegate particular versioned
upgrades to separate methods; provide upgrade_5 method.
* src/RelLib.py: Remove place from MediaObjects; minor improvements.
* src/SourceView.py (button_press): Proper selection on double-click.
* src/plugins/Check.py (check_for_broken_family_links): Typo.


svn: r4265
2005-04-01 04:34:31 +00:00
Alex Roitman
4e41a60fa9 Update
svn: r4264
2005-04-01 04:28:00 +00:00
Martin Hawlisch
ef004a26a8 * plugins/TestcaseGenerator.py: Added a dialog to specify what is to be generated and a
ProgressBar. Enhanced family tree generation and randomized names a little more. You can
now generate thousands of people :-)


svn: r4263
2005-03-31 14:23:39 +00:00
Richard Taylor
24c870a234 2005-03-31 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/plugins/stock_link.png: added icon for scratchpad display
	* src/DdTargets.py (all_text): new method to return all text ddtypes
	* src/TreeTips.py (__treetip_show): added support for tips to be callable
	methods so that tips can be generated on the fly.
	* src/plugins/Makefile.am: added stock_link.png icon
	* src/plugins/ScratchPad.py: almost complete rewrite to make proper use
	of gtk widgets and make more flexible for adding support for new
	dnd object types. Added link icon if the object is a link to a primary
	object.


svn: r4262
2005-03-31 13:16:20 +00:00
Don Allingham
b2de2eaa67 * src/MergePeople.py: provide more date in compare window, fix event
merging for families. Copy alternate names.
* src/plugins/Merge.py: support for new merge technique
* src/PeopleView.py: divide rebuild_data into two functions
* src/PeopleModel.py: clean up insertion functions
* src/gramps_main.py: remove unused code


svn: r4261
2005-03-31 04:30:44 +00:00
Martin Hawlisch
a8a02b241e * plugins/TestcaseGenerator.py: Added some more testcases of invalid relations
* plugins/Check.py: Added some comments an handling for some more invalid references


svn: r4256
2005-03-30 10:37:40 +00:00
Don Allingham
9d2dffcc9d * src/ReadXML.py: handle date object on names
* src/gramps.glade: add menu items for merging
* src/MergePeople.py: new person merge
* src/gramps_main.py: merge handling callbacks
* src/mergedata.glade: updated interface for merging

* src/SourceView.py: connect SourceView.merge into the multiple
selection mechanism


svn: r4254
2005-03-30 01:45:14 +00:00
Alex Roitman
1856f08d98 * src/gramps_main.py (undo_callback,redo_callback): Minor
improvements, (read_file): Always re-initialize Undo and Redo items
to insensitive blanks after new database load; (post_load): Set up
database's callbacks for Undo and Redo after load.
* src/gramps.glade: Make Redo label non-stock to allow label change.


svn: r4253
2005-03-29 19:47:59 +00:00
Alex Roitman
753b5c28ec * src/gramps_main.py (delete_person_response): Object/handle mixups,
remove unneeded commits.


svn: r4252
2005-03-29 16:41:40 +00:00
Alex Roitman
d05a9a483a * src/Witness.py (WitnessEditor.__init__): Work around missing
reference.


svn: r4251
2005-03-29 16:05:50 +00:00
Richard Taylor
14526ad71d 2005-03-29 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/plugins/ScratchPad.py (on_object_select_row): fixed the drop of
	text into TextView widgets.


svn: r4250
2005-03-29 15:19:26 +00:00
Richard Taylor
0bb98262c9 2005-03-29 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/DdTargets.py: add family targets to target list functions
	* src/Marriage.py (at_dest_drag_data_received, ev_dest_drag_data_received,
	ev_source_drag_data_get, at_source_drag_data_get): fixed dnd methods and
	added use of DdTarget types.
	* src/plugins/ScratchPad.py (generate_family_event_tooltip,
	generate_family_event_tooltip, redraw_object_list): added support for
	family events and attributes.


svn: r4249
2005-03-29 13:16:24 +00:00
Alex Roitman
18579c0a65 Update
svn: r4247
2005-03-28 04:59:04 +00:00
Alex Roitman
adfdc9c807 * src/RelLib.py (NoteBase,PlaceBase): Add new classes.
* src/ReadGedcom.py: Use get_note for comments.
* src/ReadXML.py: Use get_note for comments.
* src/Sources.py: Use get_note for comments.
* src/WriteGedcom.py: Use get_note for comments.
* src/WriteXML.py: Use get_note for comments.
* src/plugins/Ancestors.py: Use get_note for comments.
* src/plugins/FtmStyleAncestors.py: Use get_note for comments.
* src/plugins/FtmStyleDescendants.py: Use get_note for comments.
* src/plugins/NavWebPage.py: Use get_note for comments.
* src/plugins/ScratchPad.py: Use get_note for comments.
* src/plugins/WebPage.py: Use get_note for comments.


svn: r4246
2005-03-28 04:58:28 +00:00
Alex Roitman
59e1448c9e * src/MergeData.py: Files for places and sources.
* src/PlaceView.py (build_context_menu): Typo.
* src/SourceView.py (__init__,build_tree): Allow multiple,
selections; (merge): Add placeholder method (borrowed from places,
needs work.
* src/gramps_main.py (on_views_switch_page): Enable merge button;
(on_merge_activate): Call merge for sources.


svn: r4244
2005-03-28 04:22:09 +00:00
Alex Roitman
eacd125000 * src/RelLib.py (Source.replace_source_references): Add method.
* src/MergeData.py (MergeSources.merge): Use new handle replacement.


svn: r4243
2005-03-27 06:14:06 +00:00
Don Allingham
8c5668983e * src/MergeData.py: Add interface support for parents/family merging
svn: r4242
2005-03-26 23:50:56 +00:00
Martin Hawlisch
510bc975ac * src/plugins/Check.py (check_parent_relationships): Catch some more database errors. Messages in the report still need some work.
* src/plugins/TestcaseGenerator.py: New plugin that creates some of the errors that crashed Check.py before.


svn: r4241
2005-03-26 21:59:15 +00:00
Don Allingham
20a785d887 * src/EventEdit.py: Display error message if event type not specified.
* src/gramps_main.py: fix merge callback


svn: r4240
2005-03-26 15:27:39 +00:00
Martin Hawlisch
bbb46e93c6 * src/plugins/Check.py (check_parent_relationships): typo
svn: r4239
2005-03-26 15:00:05 +00:00
Martin Hawlisch
501596d92a * src/plugins/Check.py: Add check for child handle in family, that does no longer exist in database
svn: r4238
2005-03-26 10:53:27 +00:00
Richard Taylor
0b5eeddbd1 2005-03-25 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/ScratchPad.py (ScratchPadWindow): moved content of pad to a
	class attribute so that it is preserved when the pad is closed.
	* src/ScratchPad.py (add_itself_to_menu, remove_itself_from_menu):
	removed large section of commented code.


svn: r4237
2005-03-25 21:20:12 +00:00
Richard Taylor
972608e9e0 2005-03-25 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/Sources.py: converted to use DdTargets.py
	* src/FamilyView.py: converted to use DdTargets.py
	* src/EditPerson.py: converted to use DdTargets.py
	* src/EditPlace.py: converted to use DdTargets.py
	* src/Marriage.py: converted to use DdTargets.py
	* src/DdTargets.py: added targets for FAMILY_EVENT, FAMILY_ATTRIBUTE,
	CHILD and SPOUSE


svn: r4236
2005-03-25 21:05:09 +00:00
Alex Roitman
5f0f7001fa * src/plugins/FilterEditor.py: single instance, help.
* src/rule.glade: icon, help.
* src/plugins/SoundGen.py: single instance, icon, help.
* src/soundex.glade: help.
* src/plugins/RelCalc.py: icon.
* src/plugins/ScratchPad.py: single instance, help.
* src/scratchpad.glade: help.


svn: r4235
2005-03-25 03:34:52 +00:00
Alex Roitman
0f1878e639 * src/plugins/ChangeTypes.py: icon, window management, single instance.
* src/plugins/changetype.glade: delete event.
* src/plugins/ReorderIds.py: Disable for the time being.
* src/plugins/Eval.py: icon, window management, single instance.
* src/plugins/eval.glade: dialog.
* src/plugins/Leak.py: icon, window management, single instance.
* src/plugins/leak.glade: dialog.


svn: r4234
2005-03-25 00:24:37 +00:00
Alex Roitman
aca6e4ad2d * src/RelLib.py (Witness.__init__): Typo.
* src/plugins/Check.py (cleanup_missing_photos): Use new mediaref
detection/removal, icons, window management.
* src/plugins/summary.glade: non-modal dialog.
* src/plugins/Verify.py (VerifyResults): Use title once.


svn: r4232
2005-03-24 17:17:01 +00:00
Richard Taylor
cced1bce37 2005-03-24 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/DdTargets.py: new module to manage drag and drop target data.
	* src/Makefile.am: added DdTargets.py
	* src/ScratchPad.py: modified to use DdTargets.py. This is the first
	stage. I will look at modifying EditPersons.py to use DdTargets.py next


svn: r4231
2005-03-24 13:44:54 +00:00
Alex Roitman
77b07938b4 * src/gramps_main.py (tool_callback): Typo.
* src/QuestionDialog.py: Use gramps icon.
* src/plugins/EventCmp.py: HIG; single instance; help.
* src/plugins/eventcmp.glade: HIG; help.
* src/plugins/Desbrowser.py: HIG, help, rebuild model after edit.
* src/plugins/desbrowse.glade: help, info label.
* src/plugins/PatchNames.py: HIG, help, single instance.
* src/plugins/patchnames.glade: HIG, help.
* src/plugins/Merge.py: HIG, help, single instance.
* src/plugins/merge.glade: HIG, help.
* src/plugins/ChangeNames.py: HIG, help, single instance.


svn: r4230
2005-03-24 06:22:25 +00:00
Alex Roitman
2c47e2bfb2 * src/plugins/Verify.py (VerifyResults): Add class for displaying
results; help for the settings window; single instance of the tool.
* src/plugins/verify.glade: HIG compliance, break things into tabs.


svn: r4229
2005-03-24 03:27:02 +00:00
Martin Hawlisch
00e5489ed4 * doc/gramps-manual/de/*.xml: Incorporated changes from STABLE branch.
svn: r4227
2005-03-23 22:13:33 +00:00
Martin Hawlisch
4f52248015 * src/RelLib.py: Added self.get_date() to
get_text_data_child_list(). This way the date is searchable in the full-text search filter.


svn: r4225
2005-03-23 16:08:26 +00:00
Alex Roitman
14a9c942be * src/RelLib.py (PrivacyBase): Add base class for privacy capabilities;
(PrivateSourceNote): Inherits from SourceNote and PrivacyBase;
(MediaRef,Url,Witness,SourceRef): Remove unneeded privacy methods.
* src/ImageSelect.py (GlobalMediaProperties.display_refs): Typos.


svn: r4223
2005-03-23 13:46:06 +00:00
Alex Roitman
13dfeb6be8 * src/Sources.py: Use get_date_object (not get_date) for source refs.
* src/ReadXML.py: Use get_date_object for source refs.
* src/WriteXML.py: Use get_date_object for source refs.
* src/WriteGedcom.py: Use get_date_object for sourcerefs.
* src/plugins/FtmStyleAncestors.py: Use get_date_object for sourcerefs.
* src/plugins/FtmStyleDescendants.py: Use get_date_object for sourcerefs.
* src/plugins/NavWebPage.py: Use get_date_object for sourcerefs.
* src/plugins/WebPage.py: Use get_date_object for sourcerefs.
* src/RelLib.py (DateBase): Add base class for keeping Date;
(MediaBase): Do not inherit from BaseObject; (Event,MediaObject,LdsOrd,
Address,Name,SourceRef): Inherit all date-related methods from DateBase.


svn: r4222
2005-03-22 23:59:51 +00:00
Alex Roitman
dbaa853dae * src/RelLib.py: Move handle_reference methods from BaseObject to
PrimaryObject; (MediaBase): Remove recursive child-related operations
on mediarefs, since only primary objects have mediarefs;
Rename DataObj to PrivateObject; (People,Family,Event,MediaObject):
remove get_handleholder_list, add low-level handle reference detector.


svn: r4218
2005-03-22 16:23:53 +00:00
Alex Roitman
8f9092d8b1 * src/RelLib.py (MediaBase): Add base class for media references;
(BaseObject): Add has_handle_reference, remove_handle_references,
and replace_handle_reference methods; (SourceNote): Add
replace_source_references method; (People,Family,Event,MediaObject):
Add handle_reference methods.


svn: r4217
2005-03-22 13:55:13 +00:00
Julio Sánchez
17fc1f1be1 * src/MergeData.py: further changes to adapt to new API
svn: r4216
2005-03-21 05:53:42 +00:00
Alex Roitman
f5428cce1e * src/gramps.glade: Add tolltip to scratchpad button.
svn: r4214
2005-03-20 02:33:36 +00:00
Don Allingham
038147b649 * src/GrampsDbBase.py: handle new column
* src/PeopleModel.py: add cause of death field
* src/PeopleView.py: add cause of death field
* src/gramps.glade: add scratchpad button
* src/gramps_main.py: add scratchpad button press callback
* src/plugins/ScratchPad.py: call alternate dialog
* src/plugins/scratchpad.glade: provide alternate dialog based
on gtk.Dialog that implements the help button.


svn: r4213
2005-03-19 23:44:01 +00:00
Alex Roitman
d31fffd8df * src/gramps.glade: Add date LED buttons for LDS dates.
* src/EditPerson.py (draw_lds): Add date LED buttons for LDS dates;
(lds_field): Always set date text for LDS dates.
* src/Marriage.py (__init__): Add date LED button for LDS date.


svn: r4212
2005-03-19 18:21:57 +00:00
Alex Roitman
d934019e04 Update
svn: r4211
2005-03-19 18:12:04 +00:00
Alex Roitman
aa8849d091 * doc/gramps-manual/C/figures/export-druid.png: Update.
* doc/gramps-manual/C/gramps-manual.xml: Update.


svn: r4208
2005-03-19 06:26:23 +00:00
Richard Taylor
b31ebf5ee3 2005-03-18 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/plugins/ScratchPad.py: Tidy up of drag target type handling.
	* src/EditPerson.py (x_drag_data_received): fixed problem with
	drag and drop of objects that have srcrefs.


svn: r4206
2005-03-18 12:16:41 +00:00
Alex Roitman
dac485ee26 * src/gramps_main.py (__init__): Catch "ErrorSchemaInvalid" exception
* src/Errors.py (GConfSchemaError): Add new exception.
* src/const.py.in: Remove exception string "ErrorSchemaInvalid"
(replaced by new class).
* src/GrampsGconfKeys.py (get_bool,get_int,get_string): Raise exception.


svn: r4204
2005-03-17 20:33:36 +00:00
Martin Hawlisch
3dfcf51269 * src/GrampsGconfKeys.py (get_bool,get_int,get_string): Raise exception when default value could not be get from gconf schema
* src/const.py.in: Add custom exception "ErrorSchemaInvalid"
* src/GrampsMime.py (mime_type_is_defined): New method that returns True/False
* src/gramps_main.py (__init__) Catch "ErrorSchemaInvalid" exception and check for installed MIME-type. Show error because installation is incomplete.


svn: r4200
2005-03-17 19:28:00 +00:00
Alex Roitman
d105ef6be0 * acinclude.m4: Add macro for defining SHARED_MIME_DIR.
* configure.in: Use AM_SHARED_MIME macro.
* src/data/Makefile.am: Use defined GCONF_SCHEMA_FILE_DIR and
SHARED_MIME_DIR, not the hardcoded paths.


svn: r4199
2005-03-17 17:19:34 +00:00
Martin Hawlisch
7f7c81d080 * src/Exporter.py (build_info_page): proofreading; (build_format_page): shrink the size of the window by using tooltips to display the format description.
* src/plugins/ExportVCard.py: New (unfinished) plugin to export addresses to pim applications.
* src/plugins/vcardexport.glade: GUI for the Exporter Druid of vCard export
* src/plugins/ExportVCalendar.py: New (unfinished) plugin to export events for calendaring applications.
* src/plugins/vcalendarexport.glade: GUI for the Exporter Druid of vCalendar export


svn: r4197
2005-03-17 12:51:14 +00:00
Martin Hawlisch
fd67637913 * src/plugins/ImportvCard.py: A quickly hacked version of a vCard importer. Maybe it is useful for someone.
* src/const.py.in: added mime for vCard import.


svn: r4196
2005-03-16 22:40:42 +00:00
Alex Roitman
11c61d5766 * src/GenericFilter.py (HasTextMatchingSubstringOf): Minor.
* src/plugins/FilterEditor.py (EditRule:__init__): Typo.
* ChangeLog.old: Add to CVS the pre-2005 ChangeLog; Split off current.


svn: r4195
2005-03-16 16:38:20 +00:00
Alex Roitman
381110412b Update
svn: r4194
2005-03-16 16:37:33 +00:00
Martin Hawlisch
09cff3f693 * src/GenericFilter.py (HasTextMatchingSubstringOf): add checkboxes for case and regexp matching; (HasTextMatchingRegexpOf)
Added wrapper to use regexp matching in HasTextMatchingSubstringOf
* src/gramps_main.py: Add new regular expression filter
* src/plugins/FilterEditor.py (EditRule:__init__): Treat params of new filter as boolean.
* TODO: Add parameter definition of Filter Rules to the filter itself, so it can be removed from the filter editor and used by
PeopleView.


svn: r4193
2005-03-16 14:13:33 +00:00