Commit Graph

1796 Commits

Author SHA1 Message Date
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