Alex Roitman
8f188fee5e
* src/GrampsDb/_ReadXML.py (start_attribute): Support attributes
...
in event and eventref;
(stop_cause): Create attribute on cause tag.
* src/Editors/_EditEventRef.py (_create_tabbed_pages): Typos.
* src/Editors/_EditEvent.py (_create_tabbed_pages): Typo.
* data/grampsxml.rng: Document XML changes (xml 1.1.2).
* data/grampsxml.dtd: Document XML changes (xml 1.1.2).
* src/GrampsDb/_WriteXML.py (dump_event_ref): Write attributes;
(write_event): write attributes, remove cause.
svn: r7182
2006-08-15 20:59:12 +00:00
Alex Roitman
bd18b2f976
2006-08-15 Alex Roitman <shura@gramps-project.org>
...
* src/GrampsDb/_GrampsBSDDB.py: Cleanup on upgrades.
svn: r7181
2006-08-15 15:33:28 +00:00
Alex Roitman
45d0d40c2b
2006-08-14 Alex Roitman <shura@gramps-project.org>
...
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_10): Add an upgrade
path from 2.1.91.
* src/RelLib/_AttributeType.py: Add new attribute types for events
and event references.
* src/RelLib/_EventRef.py: Add attribute list.
* src/RelLib/_Event.py: Add attribute list.
svn: r7180
2006-08-15 05:24:38 +00:00
Alex Roitman
4f94f6a639
(close): Close metadata after the checkpoint.
...
svn: r7165
2006-08-13 00:23:06 +00:00
Alex Roitman
0107f7871a
* src/GrampsDb/_GrampsBSDDB.py: Fix new db creation; make metadata
...
work with UseTXN set either way.
svn: r7162
2006-08-12 21:55:52 +00:00
Alex Roitman
58cc43816c
* src/GrampsDb/_GrampsBSDDB.py: Use txn-capable metadata.
...
svn: r7154
2006-08-11 23:46:24 +00:00
Alex Roitman
096c7dde80
* src/GrampsDb/_GrampsBSDDB.py (GrampsBSDDB.close): Try to reset
...
the log sequence numbers to make grdb file portable.
svn: r7141
2006-08-07 02:00:14 +00:00
Alex Roitman
13edf04889
2006-08-01 Alex Roitman <shura@gramps-project.org>
...
* src/GrampsDb/_GrampsBSDDB.py (set_name_group_mapping): Use
transaction.
svn: r7108
2006-08-01 16:24:27 +00:00
Zsolt Foldvari
a16b488d1d
2006-07-31 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
...
* src/NameDisplay.py: Rewrite in more object oriented way; Interface
change.
* src/ViewManager.py (post_load_newdb): Change of NameDisplay interface.
* src/GrampsDb/_ReadXML.py (parse): Change of NameDisplay interface.
* src/GrampsDb/_ReadGrdb.py (importData): Change of NameDisplay
interface.
* src/GrampsCfg.py: Change of NameDisplay interface; Name format Edit
and Add callbacks divided.
* src/RelLib/_Name.py: Default/standard name format definitions moved to
NameDisplay.
* src/Editors/_EditName.py (_setup_fields): Change of NameDisplay
interface.
* src/plugins/Check.py (cleanup_deleted_name_formats): Change of
NameDisplay interface.
svn: r7099
2006-07-31 11:08:44 +00:00
Don Allingham
e9cf818b7c
* src/GrampsDb/_ReadGedcom.py: handle missing event type
...
svn: r7098
2006-07-31 00:38:31 +00:00
Alex Roitman
7cf2dc0785
(find_backlink_handles): Work around readonly db problems;
...
(_get_obj_from_gramps_id): Work around readonly db problems.
svn: r7087
2006-07-28 04:10:43 +00:00
Alex Roitman
e7cc55ddc2
Update
...
svn: r7086
2006-07-27 20:11:56 +00:00
Alex Roitman
787fe452e1
2006-07-27 Alex Roitman <shura@gramps-project.org>
...
* src/GrampsDb/_GrampsBSDDB.py (_load_metadata): Upgrade custom
name formats.
* src/GrampsDb/_ReadXML.py (start_format): Attempt parsing the
active state for the custom name format.
* src/GrampsDb/_WriteXML.py (write_name_formats): Write 4-tuple
custom name formats;
(_xml_version): Output as version 1.1.1.
* data/grampsxml.rng: Update XML description for 1.1.1.
* data/grampsxml.dtd: Update XML description for 1.1.1.
* src/ViewManager.py (post_load_newdb): Revert changes (done on
the lower level).
* src/NameDisplay.py (register_custom_formats): Revert changes (done on
the lower level).
svn: r7085
2006-07-27 17:44:02 +00:00
Alex Roitman
b5940487eb
2006-07-24 Alex Roitman <shura@gramps-project.org>
...
* configure.in: Bump up the version number.
* src/GrampsDb/_GrampsBSDDB.py (find_fidmap): Remove unused method.
svn: r7072
2006-07-25 06:11:27 +00:00
Alex Roitman
871180a272
Update
...
svn: r7071
2006-07-25 00:24:15 +00:00
Alex Roitman
51c468f672
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Map Other from
...
gramps2.0.x to Unknown.
* src/GrampsDb/_ReadXML.py (start_name): Map Other from
gramps2.0.x to Unknown.
(start_database): Add method to extract the XML version.
svn: r7070
2006-07-25 00:01:08 +00:00
Don Allingham
d267e48ccf
2006-07-23 Don Allingham <don@gramps-project.org>
...
* src/GrampsDb/_ReadGedcom.py (GedcomParser.func_person_even): set
default type for an event to CUSTOM
svn: r7061
2006-07-23 17:46:58 +00:00
Alex Roitman
54a6eeb818
* src/ArgHandler.py (ArgHandler.cl_export): Properly expand filename.
...
* src/GrampsDb/_WriteGrdb.py (exportData): Use placeholder if
callback is None.
svn: r7042
2006-07-19 04:56:41 +00:00
Alex Roitman
26d491b230
2006-07-18 Alex Roitman <shura@gramps-project.org>
...
* src/GrampsDb/_GrampsBSDDB.py
(GrampsBSDDB._delete_primary_from_reference_map): defer deleting
until the cursor is closed.
svn: r7040
2006-07-19 04:29:04 +00:00
Don Allingham
913d4f4772
* src/GrampsDb/_GrampsBSDDB.py: disable TXN for readonly dbs
...
svn: r7028
2006-07-15 05:14:39 +00:00
Alex Roitman
154787c06c
2006-07-06 Alex Roitman <shura@gramps-project.org>
...
* src/ViewManager.py (ViewManager.post_load_newdb): Register
custom formats after loading the db.
* src/GrampsCfg.py: Switch to use new formats (still in progress).
* src/GrampsDb/_GrampsDbBase.py (GrampsDbBase.__init__): Set up
custom name formats list.
* src/GrampsDb/_DbUtils.py (db_copy): Copy custom name formats.
* src/GrampsDb/_ReadXML.py (start_format): Parse custom formats.
* src/GrampsDb/_WriteXML.py (write_name_formats): Add method.
* src/GrampsDb/_GrampsBSDDB.py (GrampsBSDDB._load_metadata)
(GrampsBSDDB._close_metadata): load and save name_formats.
* src/Editors/_EditName.py (EditName._setup_fields): Use proper
format lists.
* src/NameDisplay.py: Support new name formats scheme.
* src/RelLib/_Name.py (Name.DEFAULT_FORMATS): Add list of formats.
svn: r6999
2006-07-06 17:46:46 +00:00
Don Allingham
051f992afb
2006-07-04 Don Allingham <don@gramps-project.org>
...
* various: pyflakes fixes
svn: r6992
2006-07-04 23:38:51 +00:00
Alex Roitman
39cd47357d
Test
...
svn: r6988
2006-07-04 05:50:24 +00:00
Alex Roitman
cf302f8a39
Test
...
svn: r6987
2006-07-04 05:46:48 +00:00
Alex Roitman
b0dfc2a0cc
Test
...
svn: r6986
2006-07-04 05:43:22 +00:00
Don Allingham
1353edcca9
* src/GrampsDb/_DbUtils.py (remove_parent_from_family): adjust the
...
transaction message for appropriate father/mother indicator
svn: r6976
2006-07-01 03:58:45 +00:00
Alex Roitman
f44c52289b
* src/GrampsDb/_WriteGedcom.py: Prevent writing empty value tags.
...
svn: r6957
2006-06-24 04:28:43 +00:00
Don Allingham
acca9a14bd
2006-06-23 Don Allingham <don@gramps-project.org>
...
* src/GrampsDb/_ReadXML.py: fix syntax error with old ref formats
svn: r6951
2006-06-23 17:10:05 +00:00
Don Allingham
dc4b7dab9d
2006-06-22 Don Allingham <don@gramps-project.org>
...
* src/GrampsDb/_GrampsDbBase.py: remove unused variable
* src/Editors/_EditPlace.py: Allow duplicate names
* src/Editors/_EditFamily.py: improve error message
svn: r6950
2006-06-23 04:13:06 +00:00
Don Allingham
d9f1827ddb
2006-06-21 Don Allingham <don@gramps-project.org>
...
* src/GrampsDb/_ReadXML.py: handle witness ref properly
svn: r6949
2006-06-22 21:23:00 +00:00
Alex Roitman
b3a8324b78
2006-06-22 Alex Roitman <shura@gramps-project.org>
...
* src/GrampsDb/_WriteGedcom.py (GedcomWriter.__init__): Typo.
svn: r6946
2006-06-22 18:32:16 +00:00
Don Allingham
fcf5cfbc48
* src/GrampsDb/_WriteGedcom.py: export QUAY
...
svn: r6901
2006-06-16 18:38:06 +00:00
Don Allingham
4cf930d039
* src/GrampsDb/_GrampsDbBase.py: prevent null event types and
...
attribute types from being added
* src/Editors/_EditAttribute.py: prevent null attribute types
* src/Editors/_EditEvent.py: prevent null attribute types
* src/AutoComp.py: filter out empty strings
* src/ImgManip.py: check for file before attempting thumbnailer
svn: r6898
2006-06-16 03:32:51 +00:00
Alex Roitman
23cd9319f6
* src/GrampsDb/_WriteGedcom.py (write_photo): Typo.
...
svn: r6893
2006-06-15 16:46:12 +00:00
Don Allingham
26f17e296e
2006-06-14 Don Allingham <don@gramps-project.org>
...
* src/GrampsDb/_ReadGedcom.py: fix INT date format
svn: r6890
2006-06-15 03:23:57 +00:00
Alex Roitman
5b113d9558
2006-06-14 Alex Roitman <shura@gramps-project.org>
...
* src/NameDisplay.py: Factor out commont code.
* src/Editors/_EditName.py (_setup_fields): Remove Default item.
* src/RelLib/_Name.py (Name.DEF): Replace with CUSTOM, use LNFN in
place of previous DEF.
* src/GrampsCfg.py (add_name_panel): Add Name Display panel.
* src/GrampsDb/_ReadXML.py (stop_name): Properly set name type;
do not set conf attribute on attr, addr, and event.
svn: r6889
2006-06-14 20:20:39 +00:00
Don Allingham
cb2cebd7e9
2006-06-13 Don Allingham <don@gramps-project.org>
...
* src/Editors/_EditLdsOrd.py: LDS confirmation support
* src/GrampsDb/_ReadGedcom.py: LDS confirmation support
* src/GrampsDb/_WriteGedcom.py: LDS confirmation support
* src/GrampsDb/_GedTokens.py: LDS confirmation support
* src/GrampsDb/_LdsOrdd.py: LDS confirmation support
svn: r6887
2006-06-13 23:51:24 +00:00
Alex Roitman
e858a54456
2006-06-13 Alex Roitman <shura@gramps-project.org>
...
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Avoid using
secondary index when upgrading events; manually resolve duplicate IDs.
svn: r6886
2006-06-13 19:59:14 +00:00
Don Allingham
8edd56e0a8
gedcom cleanup
...
svn: r6884
2006-06-13 03:23:50 +00:00
Don Allingham
4871ba35db
2006-06-11 Don Allingham <don@gramps-project.org>
...
* src/GrampsDb/_ReadGedcom.py: fix event parsing
* src/GramspDb/_GedcomInfo.py: fix ORDN identification
svn: r6882
2006-06-12 04:51:11 +00:00
Don Allingham
5810926898
2006-06-10 Don Allingham <don@gramps-project.org>
...
* src/GrampsDb/_ReadGedcom.py: fixes based of the gedcom torture test
* src/GrampsDb/_GedTokeys.py: fixes based of the gedcom torture test
svn: r6880
2006-06-11 04:19:47 +00:00
Don Allingham
8940cf321d
* src/GrampsDb/_GedTokens.py: yet even more funky fixes, handle more
...
non-standard tags
svn: r6879
2006-06-10 05:15:15 +00:00
Don Allingham
8b770e1537
* src/GrampsDb/_ReadGedcom.py: yet even more funky fixes, pass Jerome's tests
...
svn: r6878
2006-06-10 04:27:43 +00:00
Don Allingham
db962c63a6
2006-06-09 Don Allingham <don@gramps-project.org>
...
* src/GrampsDb/_ReadGedcom.py: yet even more funky fixes
* src/GrampsDb/_GedTokens.py: yet even more funky fixes
svn: r6877
2006-06-09 21:33:48 +00:00
Don Allingham
c4f389acf9
more gedcom fixes
...
svn: r6876
2006-06-09 04:46:54 +00:00
Don Allingham
5c89f8ed1e
2006-06-08 Don Allingham <don@gramps-project.org>
...
* src/GrampsDb/_ReadGedcom.py: handle more bizarre and illegal
statements output by other programs.
svn: r6875
2006-06-08 21:38:43 +00:00
Don Allingham
4ab22011aa
* src/GrampsDb/_GedTokens.py: handle some obscure tokens
...
svn: r6874
2006-06-08 04:51:45 +00:00
Don Allingham
baeafc820a
2006-06-07 Don Allingham <don@gramps-project.org>
...
* src/GrampsDb/_ReadGedcom.py: fix child/parent relationships
svn: r6872
2006-06-08 04:08:16 +00:00
Don Allingham
6cf54161b2
svn: r6870
2006-06-07 04:43:18 +00:00
Don Allingham
5801d77505
Added repository information
...
svn: r6868
2006-06-06 22:20:38 +00:00
Alex Roitman
8e06592375
* src/GrampsDb/_ReadXML.py (start_eventref): Only set birth and
...
death references for events with primary role.
svn: r6867
2006-06-06 18:53:55 +00:00
Alex Roitman
c1f1b1723a
2006-06-06 Alex Roitman <shura@gramps-project.org>
...
* src/GrampsDb/_DbUtils.py (set_birth_death_index): Only set birth
and death references for events with primary role.
svn: r6866
2006-06-06 18:49:34 +00:00
Don Allingham
4e5ff5a16a
2006-06-05 Don Allingham <don@gramps-project.org>
...
* src/GrampsDb/_ReadGedcom.py: more improvements
svn: r6865
2006-06-06 04:23:04 +00:00
Don Allingham
3c45dfe0bb
* src/GrampsDb/_ReadGedcom.py: improve parsing, comment the code better
...
* example/gedcom/sample.ged: add new stuff
svn: r6863
2006-06-05 22:21:22 +00:00
Don Allingham
6a1b76786c
2006-06-05 Don Allingham <don@gramps-project.org>
...
* src/Mime/_PythonMime.py (_type_map): register .gpkg for non-linux
platforms
svn: r6862
2006-06-05 18:49:31 +00:00
Alex Roitman
eee0ce5a1d
* src/GrampsDb/_ReadXML.py (stop_event): Properly import birth and
...
death from the old XML.
svn: r6810
2006-05-29 03:00:07 +00:00
Don Allingham
00a5154a67
* src/DataViews/_PersonView.py: merge functionality
...
* src/ViewManager.py: merge functionality
* src/MergePeople.py: fix merge (ui and birth/death events)
* src/GrampsDb/_WriteXML.py: remove redundant birth/death entries
svn: r6773
2006-05-25 04:08:05 +00:00
Don Allingham
57bb0ce78c
* src/GrampsDb/_DbUtils.py: fix index setting of death index
...
* src/GrampsDb/_WriteGedcom.py: remove redundant birth/death
references
svn: r6772
2006-05-25 02:30:16 +00:00
Alex Roitman
54e3f6908d
* src/Utils.py: move event/attr constants to GedcomInfo.
...
* src/plugins/TestcaseGenerator.py: Use new methods.
* src/DisplayTabs/_LdsModel.py: Use new methods.
* src/Editors/_EditLdsOrd.py: Use new methods.
* src/RelLib/_LdsOrd.py: Add new methods.
* src/GrampsDb/_WriteGedcom.py: Do not import unused module.
* src/GrampsDb/_ReadXML.py: Use methods from LdsOrd.
* src/lds.py: Rename to LdsUtils.py
* src/GrampsDb/_ReadGedcom.py: Use new module name.
* src/Makefile.am (gdir_PYTHON): Ship new file.
svn: r6770
2006-05-24 05:28:33 +00:00
Alex Roitman
4207e294eb
Update
...
svn: r6768
2006-05-24 00:42:52 +00:00
Alex Roitman
154bc13140
Update
...
svn: r6767
2006-05-24 00:12:02 +00:00
Alex Roitman
8847f3d1cc
2006-05-23 Alex Roitman <shura@gramps-project.org>
...
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Upgrade LdsOrd.
svn: r6766
2006-05-23 23:37:24 +00:00
Don Allingham
74b55ce32a
2006-05-23 Don Allingham <don@gramps-project.org>
...
* src/DataViews/_RelationView.py: finish shading
* src/GrampsDb/_DbUtils.py: add birth/death index set funcion
* src/Editors/_EditPerson.py: birth/death index fixes
* src/DisplayTabs/_PersonEventEmbedList.py: birth/death index fixes
* src/GrampsWidgets.py: shading fixes
* src/DisplayModels/_PeopleModel.py: birth/death index fixes
svn: r6764
2006-05-23 21:07:26 +00:00
Alex Roitman
9e45d663b6
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Convert upgrade
...
to using new birth/death reference approach.
* src/GrampsDb/_GrampsDbBase.py (commit_person): Simplify updating
of the custom event roles.
* src/GrampsDb/_WriteXML.py (write_person): Use methods to get
birth/death ref, not raw attributes.
* src/RelLib/_Person.py: Convert to using birth and death ref
indices.
birth/deat reference; use methods to get birth/death ref, not raw
attributes.
svn: r6762
2006-05-23 19:55:35 +00:00
Alex Roitman
329fbc5896
2006-05-23 Alex Roitman <shura@gramps-project.org>
...
* src/GrampsDb/_ReadXML.py (start_eventref): Do not reset existing
birth/deat reference.
svn: r6758
2006-05-23 17:02:06 +00:00
Alex Roitman
b49c68b675
svn: r6751
2006-05-22 23:58:42 +00:00
Alex Roitman
cb0b034e70
* src/GrampsDb/_WriteGedcom.py: Multiple improvements.
...
* various: Replace get/set_base_handle with get/set_reference_handle.
* src/RelLib/_SourceRef.py (get_base_handle,set_base_handle):
Remove redundant methods.
svn: r6750
2006-05-22 23:56:57 +00:00
Alex Roitman
347a488142
* src/GrampsDb/_WriteGedcom.py: Repository export.
...
svn: r6743
2006-05-21 23:32:34 +00:00
Alex Roitman
1766750f8e
* src/GrampsDb/_GrampsInMemDB.py (GrampsInMemDB.__init__): Remove
...
unused variables.
svn: r6740
2006-05-21 21:07:15 +00:00
Alex Roitman
63ab257ab0
* src/GrampsDb/_GrampsBSDDB.py: Do not import unused module.
...
Do not import unused module.
svn: r6738
2006-05-21 20:48:50 +00:00
Alex Roitman
7cd3d8e028
* src/const.py.in: Use gettext.
...
* src/GrampsDb/_ConstXML.py: Remove file.
svn: r6736
2006-05-21 20:27:46 +00:00
Alex Roitman
c531fc65bc
2006-05-21 Alex Roitman <shura@gramps-project.org>
...
* src/DisplayTabs/_PersonEventEmbedList.py
(PersonEventEmbedList.default_type): properly process event list.
* src/Editors/_EditEventRef.py (EditEventRef.get_custom_events):
Use correct method.
* src/Editors/_EditEvent.py (EditEvent.get_custom_events)
(EditPersonEvent.get_custom_events): Use correct method.
* src/GrampsDb/_GrampsDbBase.py: Remove obsolete methods.
* src/GrampsDb/_GrampsInMemDB.py: Remove obsolete methods.
svn: r6735
2006-05-21 18:17:52 +00:00
Alex Roitman
beb85185a1
* src/GrampsDb/_WriteGedcom.py (write_repos): Add method.
...
svn: r6733
2006-05-21 04:14:47 +00:00
Alex Roitman
419128d50d
2006-05-20 Alex Roitman <shura@gramps-project.org>
...
* src/GrampsDb/_ReadGedcom.py: Correct set_type calls.
svn: r6731
2006-05-20 18:40:20 +00:00
Don Allingham
54ea5271e0
2006-05-19 Don Allingham <don@gramps-project.org>
...
* src/GrampsDb/_GrampsDbBase.py: repository does not have a media_list
2006-05-17 Don Allingham <don@gramps-project.org>
* GrampsDb/_ReadGedcom.py: pychecker
* GrampsDb/_GrampsDbBase.py: pychecker
* GrampsDb/_DbUtils.py: pychecker
* GrampsDb/_WriteGedcom.py: pychecker
* StartupDialog.py: pychecker
* DisplayTabs/_FamilyLdsEmbedList.py: pychecker
* TipOfDay.py: pychecker
* Utils.py: pychecker
* PageView.py: pychecker
* ToolTips.py: pychecker
* Filters/_FilterWidget.py: pychecker
* Filters/_SearchBar.py: pychecker
* Filters/__init__.py: pychecker
* Filters/_FilterStore.py: pychecker
* Filters/_PersonSidebarFilter.py: pychecker
* Filters/_FilterMenu.py: pychecker
* Filters/_SidebarFilter.py: pychecker
svn: r6727
2006-05-20 01:21:37 +00:00
Alex Roitman
2fbeb27535
2006-05-19 Alex Roitman <shura@gramps-project.org>
...
* src/GrampsDb/_DbUtils.py (db_copy): Copy custom types.
svn: r6726
2006-05-20 00:52:47 +00:00
Alex Roitman
1175831c49
Update
...
svn: r6725
2006-05-19 19:48:36 +00:00
Alex Roitman
96fa4ed00a
Minor tweaks
...
svn: r6723
2006-05-19 18:54:21 +00:00
Alex Roitman
07c9ca05c9
Typo
...
svn: r6722
2006-05-19 18:02:06 +00:00
Alex Roitman
76ea8437ed
2006-05-19 Alex Roitman <shura@gramps-project.org>
...
* src/GrampsDb/_GrampsDbBase.py: Define methods to get custom types.
* src/GrampsDb/_GrampsBSDDB.py: Load/save marker_types.
svn: r6721
2006-05-19 17:32:23 +00:00
Alex Roitman
e4b2a9f565
(commit_*): update custom type sets on commit.
...
svn: r6719
2006-05-19 00:39:22 +00:00
Alex Roitman
9203f6b32d
* src/GrampsDb/_GrampsBSDDB.py: Remove unused methods; remove
...
unused secondary tables; add more custom type holders.
* src/GrampsDb/_GrampsDbBase.py (GrampsDbBase.__init__): Add more
custom type holders.
(XmlWriter.write_xml_data): Do not export name groups.
svn: r6718
2006-05-19 00:05:44 +00:00
Alex Roitman
94364fc81a
* src/GrampsDb/_DbUtils.py (db_copy): Copy bookmarks and gender stats.
...
(importData): Import bookmarks.
svn: r6715
2006-05-18 22:56:13 +00:00
Alex Roitman
addf03a616
* data/grampsxml.dtd: Update for new bookmarks.
...
* data/grampsxml.rng: Update for new bookmarks.
* src/GrampsDb/_WriteXML.py (write_bookmarks): Add method to write
new bookmarks.
* src/GrampsDb/_ReadXML.py (start_bmark): Parse new bookmarks
svn: r6714
2006-05-18 22:17:51 +00:00
Alex Roitman
a265eac5e4
2006-05-18 Alex Roitman <shura@gramps-project.org>
...
* INSTALL: Clarify; list build-dependencies.
* src/GrampsDb/_ReadGrdb.py: Update progress.
svn: r6713
2006-05-18 21:16:59 +00:00
Don Allingham
eb510527db
fix ansel detection
...
svn: r6710
2006-05-18 16:08:56 +00:00
Alex Roitman
53af71ae34
Update
...
svn: r6706
2006-05-18 05:01:16 +00:00
Alex Roitman
4da1b1b579
* src/GrampsDb/_ReadXML.py (start_childref): Typo.
...
svn: r6705
2006-05-18 04:40:37 +00:00
Alex Roitman
8215cf553d
* src/GrampsDb/_ReadGrdb.py: Add repos, modularize.
...
svn: r6704
2006-05-18 04:16:54 +00:00
Don Allingham
ed6e277141
svn: r6703
2006-05-18 03:14:55 +00:00
Alex Roitman
ae8ec93201
* src/ArgHandler.py: Adapt to recent changes.
...
* src/BasicUtils.py (update_empty): Clean up callback.
* src/GrampsDb/_ReadGedcom.py: Clean up callback.
svn: r6700
2006-05-18 01:02:52 +00:00
Alex Roitman
d95f546782
In .:
...
* src/GrampsDb/_GrampsDbBase.py (DbState.change_database_noclose):
Add new method.
* src/Makefile.am (gdir_PYTHON): Ship new file.
In po:
2006-05-17 Alex Roitman <shura@gramps-project.org>
* POTFILES.in: Add new file.
svn: r6699
2006-05-17 23:36:31 +00:00
Alex Roitman
d3c9a148dd
2006-05-17 Alex Roitman <shura@gramps-project.org>
...
* src/DbLoader.py: add new module.
* src/ViewManager.py: Use DbLoader.
* src/DisplayState.py (load): Do not perform post_load tasks.
* src/GrampsDb/_GrampsBSDDB.py (GrampsBSDDB.load): close if
version is incopmatible.
svn: r6698
2006-05-17 21:16:59 +00:00
Don Allingham
b06911309a
* src/GrampsDb/_GrampsDbBase.py: remove place name storage
...
* src/Editors/_EditLdsOrd.py: new SelectPlace interface
* src/glade/gramps.glade: new select place interface changes
svn: r6697
2006-05-17 20:42:02 +00:00
Don Allingham
5bfd79c6a3
2006-05-16 Don Allingham <don@gramps-project.org>
...
* src/GrampsDb/_ReadGedcom.py: handle blank lines
svn: r6684
2006-05-17 01:23:14 +00:00
Alex Roitman
160ae6fb4f
2006-05-15 Alex Roitman <shura@gramps-project.org>
...
* src/GrampsDb/_GrampsXMLDB.py: Use callback, call parent's
close() on close.
* src/GrampsDb/_GrampsGEDDB.py: Use callback, call parent's
close() on close.
* src/GrampsDb/_WriteXML.py: Use new callback class.
* src/GrampsDb/_WriteGedcom.py: Use new callback class.
* src/GrampsDb/_DbUtils.py (db_copy): Update secondary indices for
the InMem databases.
svn: r6679
2006-05-16 03:47:58 +00:00
Alex Roitman
d7c9ed7be5
2006-05-15 Alex Roitman <shura@gramps-project.org>
...
* src/GrampsDb/_DbUtils.py: import proper class.
svn: r6674
2006-05-15 21:56:57 +00:00
Alex Roitman
4a72a456d8
* src/GrampsDb/_ReadXML.py (start_url): Parse URL type.
...
svn: r6666
2006-05-15 05:37:54 +00:00
Alex Roitman
a5e00e22ed
* src/DateHandler/__init__.py: Proper import sequence.
...
* src/DateHandler/_DateHandler.py: Split into parts.
* src/DateHandler/_DateUtils.py: Add new file.
* src/DateHandler/_Date_sk.py: Bring to the new module structure.
* src/DateHandler/Makefile.am (pkgdata_PYTHON): Ship new file.
* src/GrampsDb/_ReadGedcom.py: Import from proper module.
svn: r6657
2006-05-14 20:14:59 +00:00
Alex Roitman
85c2ff5039
* src/GrampsDb/_ReadXML.py (GrampsParser): Use UpdateCallback.
...
* src/GrampsDb/_ReadGedcom.py (GedcomParser): Use UpdateCallback.
(get_total): Add function, remove unneeded class.
(UpdateCallback.update_real): Allow optional argument;
(UpdateCallback.set_total): Add method.
svn: r6618
2006-05-11 06:16:45 +00:00
Alex Roitman
e9602a5eeb
In .:
...
* src/GrampsDb/_DbUtils.py (db_copy): Use UpdateCallback class.
* src/BasicUtils.py: Add module.
* src/Makefile.am (gdir_PYTHON): Add new file.
In po:
2006-05-10 Alex Roitman <shura@gramps-project.org>
* POTFILES.in: Add new file.
svn: r6617
2006-05-11 05:11:47 +00:00
Alex Roitman
124a5ecac8
2006-05-10 Alex Roitman <shura@gramps-project.org>
...
* src/GrampsDb/_ReadGedcom.py (func_person_attr): Typos.
svn: r6610
2006-05-10 20:17:28 +00:00
Alex Roitman
1e3b85f27f
* src/GrampsDb/_DbUtils.py (db_copy): Use batch transaction.
...
* src/GrampsDb/_GrampsBSDDB.py (transaction_begin): Proper indentation.
svn: r6606
2006-05-10 14:23:38 +00:00
Alex Roitman
40f355e17d
* src/GrampsDb/_GrampsBSDDB.py (load_from): Add method.
...
* src/GrampsDb/_GrampsXMLDB.py (load_from): Add method.
* src/GrampsDb/_GrampsGEDDB.py (load_from): Add method.
* src/GrampsDb/_GrampsDbBase.py (load_from): Add method.
* src/GrampsDb/_WriteGrdb.py: Use db_copy.
* src/GrampsDb/_DbUtils.py (db_copy): Add function.
* src/ViewManager.py: Save as support.
* src/DataViews/_MapView.py (enable_debug): Set to False to be
able to see the output besides MapView.
svn: r6604
2006-05-10 05:52:55 +00:00
Alex Roitman
8a8d5342ce
* src/Exporter.py (Exporter.native_export): Use callback.
...
* src/Utils.py (get_new_filename): Add path separator.
* src/GrampsDb/_WriteGrdb.py: Proper export of tables with and
without transaction support, add callback.
svn: r6600
2006-05-09 23:15:38 +00:00
Alex Roitman
0a3b72df34
* src/GrampsDb/_WriteXML.py (write_object): Check whether path is
...
empty before removing leading slash.
svn: r6598
2006-05-09 21:47:17 +00:00
Alex Roitman
19d1245c01
* src/GrampsDb/_WriteGedcom.py: Bring to new API.
...
svn: r6597
2006-05-09 20:36:12 +00:00
Alex Roitman
13ea348bdf
2006-05-08 Alex Roitman <shura@gramps-project.org>
...
* src/GrampsDb/_GrampsDbBase.py (get_default_person): Use proper
way of getting person from the handle.
svn: r6592
2006-05-09 04:33:21 +00:00
Don Allingham
2a7a35a259
2006-05-08 Don Allingham <don@gramps-project.org>
...
* src/GrampsDb/_GrampsDbBase.py: get_default_handle()
* src/DisplayState.py: use get_default_handle, fix race condition
svn: r6591
2006-05-09 04:15:04 +00:00
Alex Roitman
8b081be765
* src/GrampsDb/_GrampsBSDDB.py (load): Better non-TXN support.
...
* src/UndoHistory.py (__init__): Rename list to tree.
svn: r6589
2006-05-08 23:18:16 +00:00
Alex Roitman
4db67268a4
Update
...
svn: r6586
2006-05-08 19:04:18 +00:00
Alex Roitman
a5c6c567c3
(GrampsInMemDB._del_*): Prpoper deletes.
...
svn: r6585
2006-05-08 18:54:56 +00:00
Alex Roitman
87b44b95cb
(GrampsInMemDB._del_family): Remove obsolete code.
...
svn: r6584
2006-05-08 18:47:42 +00:00
Alex Roitman
bd789f227b
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Add callname to
...
names during upgrade.
svn: r6582
2006-05-08 18:09:11 +00:00
Alex Roitman
f5cc353959
Update
...
svn: r6581
2006-05-08 17:57:47 +00:00
Alex Roitman
aba01cdabf
* src/GrampsDb/_ReadXML.py (start_childref): Typo.
...
svn: r6580
2006-05-08 17:50:12 +00:00
Alex Roitman
19955ec2f0
2006-05-08 Alex Roitman <shura@gramps-project.org>
...
* src/GrampsDb/_GrampsInMemDB.py (load): Define self.full_name
prior to calling open_undodb().
svn: r6579
2006-05-08 17:47:22 +00:00
Don Allingham
fa8cebe03b
* configure.in: set for 2.1.1
...
* src/GrampsDb/_ReadXML.py: call name support
* src/GrampsDb/_WriteXML.py: call name support
svn: r6576
2006-05-08 03:41:57 +00:00
Alex Roitman
179a8dac52
2006-05-06 Alex Roitman <shura@gramps-project.org>
...
* src/GrampsDb/_GrampsBSDDB.py (load): Use common undodb
methods; reset undo history.
* src/GrampsDb/_GrampsInMemDB.py (load): Use common undodb
methods; reset undo history.
* src/GrampsDb/_GrampsXMLDB.py: Minor fix.
* src/GrampsDb/_GrampsGEDDB.py: Minor fix.
* src/GrampsDb/_GrampsDbBase.py: Undo history support.
* src/UndoHistory.py: Fixes and additions.
* src/ViewManager.py (post_load): Re-set undo/redo labels.
svn: r6569
2006-05-07 05:22:44 +00:00
Alex Roitman
fee0af9a4d
2006-05-05 Alex Roitman <shura@gramps-project.org>
...
* src/GrampsDb/_GrampsDbBase.py (undo, redo): Add repository map
to the tuple of tables.
svn: r6560
2006-05-06 04:48:30 +00:00
Alex Roitman
49dda0d5c3
In .:
...
2006-05-05 Alex Roitman <shura@gramps-project.org>
* src/UndoHistory.py: Add new file.
* src/ViewManager.py: undo history support.
* src/GrampsDb/_GrampsDbBase.py (Transaction.__init__): Add
timestamp to the transaction.
(GrampsDbBase.redo): Update undo history window.
(GrampsDbBase.undo): Update undo history window.
(GrampsDbBase.transaction_commit): Update undo history window.
(GrampsDbBase.transaction_commit): Set transaction timestamp.
(GrampsDbBase.__init__): Define undo_history_callback.
* src/Makefile.am (gdir_PYTHON): Ship new file.
In po:
2006-05-05 Alex Roitman <shura@gramps-project.org>
* POTFILES.in: Add new file.
svn: r6557
2006-05-05 21:55:01 +00:00
Alex Roitman
931c343815
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Add nickname
...
upgrade.
svn: r6556
2006-05-05 21:25:48 +00:00
Don Allingham
19236f8c67
nickname/call name changes
...
svn: r6555
2006-05-05 21:16:24 +00:00
Alex Roitman
e90f4b3705
svn: r6538
2006-05-04 00:38:25 +00:00
Alex Roitman
715e7b2b86
(GrampsDbBase.transaction_begin): No aborting after batch transaction.
...
(GrampsBSDDB.transaction_begin): No aborting after batch transaction.
svn: r6537
2006-05-03 23:36:10 +00:00
Alex Roitman
7011115d16
* src/GrampsDb/_GrampsInMemDB.py (abort_changes): Remove method.
...
* src/GrampsDb/_GrampsDbBase.py (abort_changes): Remove method.
* src/GrampsDb/_GrampsBSDDB.py (undo,redo): Use the status from
GrampsDbBase undo/redo;
(abort_changes): Remove method.
* src/ViewManager.py (abort): Add method for abandoning changes.
svn: r6536
2006-05-03 23:21:49 +00:00
Alex Roitman
2dd9893045
* src/Filters/Rules/*: Add object-specific rules.
...
svn: r6529
2006-05-03 06:29:07 +00:00
Alex Roitman
ba42a155b1
* src/GenericFilters.py: Remove.
...
* src/Filters: Move filtering to its own package.
svn: r6521
2006-05-03 01:02:54 +00:00
Alex Roitman
743dded002
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Add broken witness note.
...
svn: r6517
2006-05-02 15:19:25 +00:00
Alex Roitman
08821556e9
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Skip broken witness.
...
svn: r6511
2006-05-02 04:20:40 +00:00
Alex Roitman
923340637f
Update
...
svn: r6509
2006-05-02 00:39:05 +00:00
Alex Roitman
f7e5266e38
Update
...
svn: r6508
2006-05-02 00:18:10 +00:00
Alex Roitman
5e6cf4cdd1
* src/GrampsDb/_GrampsDbBase.py (find_backlink_handles): Correctly
...
loop over all primary classes looking for a given handle.
* src/RelLib/_Source.py (serialize, unserialize): properly save
and restore marker.
* src/RelLib/_MediaObject.py (serialize, unserialize): properly
save and restore marker.
* src/RelLib/_Place.py (serialize, unserialize): properly save and
restore marker.
* src/RelLib/_Repository.py (serialize, unserialize): properly
save and restore marker.
* src/RelLib/_Event.py (serialize, unserialize): properly save and
restore marker.
svn: r6507
2006-05-01 23:08:09 +00:00
Alex Roitman
3fe3482efb
In .:
...
2006-05-01 Alex Roitman <shura@gramps-project.org>
* various: merge changes from gramps20.
In po:
2006-05-01 Alex Roitman <shura@gramps-project.org>
* POTFILES.in: Add new file.
svn: r6504
2006-05-01 21:11:26 +00:00
Don Allingham
9d695790d0
2006-04-27 Don Allingham <don@gramps-project.org>
...
* src/GrampsDb/_GrampsDbBase.py: fix custom event storing
* src/GrampsDb/_GrampsBSDDB.py: fix custom event storing
* src/Editors/_EditEventRef.py: fix custom event storing
* src/Editors/_EditEvent.py: fix custom event storing
* src/GrampsWidgets.py: fix custom data types
* src/AutoComp.py: fix custom data types
svn: r6480
2006-04-28 03:32:04 +00:00
Don Allingham
0593cae180
multiple bookmark lists
...
svn: r6452
2006-04-26 21:48:13 +00:00
Don Allingham
4d1b7b53dd
svn: r6439
2006-04-26 01:44:03 +00:00
Alex Roitman
2f740c8ed1
2006-04-25 Alex Roitman <shura@gramps-project.org>
...
* src/Makefile.am: Include BaseDoc in the docmodules list.
* src/GrampsDb/_GrampsBSDDB.py: Different order of closing.
svn: r6434
2006-04-25 17:02:37 +00:00
Don Allingham
d8628f28ee
* src/GrampsDb/_GrampsBSDDB.py: handle data_map during
...
reload of the database
svn: r6432
2006-04-25 02:55:41 +00:00
Don Allingham
5afa945819
Config method changed
...
svn: r6429
2006-04-24 21:04:01 +00:00
Don Allingham
999711b902
2006-04-23 Don Allingham <don@gramps-project.org>
...
* src/DataViews/_MediaView.py: Column editor changes
* src/DataViews/_RepositoryView.py: Column editor changes
* src/DataViews/_SourceView.py: Column editor changes
* src/DataViews/_EventView.py: Column editor changes
* src/DataViews/_FamilyView.py: Column editor changes
* src/DataViews/_PlaceView.py: Column editor changes
* src/DataViews/_PersonView.py: Column editor changes
* src/GrampsDb/_DbUtils.py: fix add_child_to_family to handle refs
* src/ColumnOrder.py: format changes
* src/glade/gramps.glade: format changes
* src/SelectFamily.py: ManagedWindow support
svn: r6428
2006-04-24 04:06:17 +00:00
Alex Roitman
2ac5030dc5
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Delete column
...
metadata.
svn: r6422
2006-04-23 21:32:11 +00:00
Don Allingham
5b8749ba73
* src/GrampsDb/_GrampsDbBase.py: pychecker
...
* src/GrampsDb/_GrampsBSDDB.py: pychecker
* src/RelLib/_CalSdn.py: pychecker
* src/RelLib/_PrivateSourceNote.py: pychecker
* src/RelLib/_GenderStats.py: pychecker
* src/MergePeople.py: pychecker
* src/SelectObject.py: pychecker
* src/ScratchPad.py: pychecker
* src/ImgManip.py: pychecker
* src/docgen/ODFDoc.py: pychecker
* src/docgen/OpenOfficeDoc.py: pychecker
* src/docgen/LPRDoc.py: pychecker
* src/SelectEvent.py: pychecker
svn: r6418
2006-04-23 04:29:14 +00:00
Don Allingham
78db7a4ce5
2006-04-22 Don Allingham <don@gramps-project.org>
...
* src/GrampsDb/_ReadXML.py: fix Type str_from_xml calls
svn: r6415
2006-04-22 19:08:47 +00:00
Don Allingham
768a1356aa
fix typos on XML import
...
svn: r6405
2006-04-21 22:24:54 +00:00
Don Allingham
0c45b01fb6
Remove get_child_handle_list call
...
svn: r6402
2006-04-21 20:39:30 +00:00
Alex Roitman
d35324d3ea
In .:
...
* src/GrampsDb/_ConstXML.py: Remove.
In po:
2006-04-21 Alex Roitman <shura@gramps-project.org>
* POTFILES.in: Remove obsolete file.
svn: r6399
2006-04-21 20:10:37 +00:00
Alex Roitman
1b9e003148
Update
...
svn: r6394
2006-04-21 19:11:36 +00:00
Alex Roitman
832b20cd68
Update
...
svn: r6393
2006-04-21 19:04:00 +00:00
Don Allingham
32f6564a01
Attribute Types
...
svn: r6392
2006-04-21 18:15:23 +00:00