Commit Graph

72 Commits

Author SHA1 Message Date
Alex Roitman
52ead8b15d * src/RelLib/_GrampsType.py (set_from_xml_str): Remove extra def.
svn: r6397
2006-04-21 19:59:16 +00:00
Don Allingham
e9f2d922f7 Attribute Types
svn: r6392
2006-04-21 18:15:23 +00:00
Don Allingham
6ed8949106 2006-04-20 Don Allingham <don@gramps-project.org>
* src/DataViews/_FamilyViews.py: clean up
	* src/DataViews/_PedigreeViews.py: clean up
	* src/RelLib/_Name.py: fix type on set_type



svn: r6387
2006-04-21 02:05:56 +00:00
Alex Roitman
dce92d31a3 * src/GrampsDb/_GrampsBSDDB.py: Upgrade to new types.
* src/GrampsDb/_ReadGedcom.py: Adapt to new types.
	* src/RelLib/_Event.py: Properly set type.
	* src/RelLib/_EventRef.py: Properly set type.
	* src/RelLib/_Family.py: Properly set type.
	* src/RelLib/_Name.py: Properly set type.
	* src/RelLib/_Person.py: Properly set type.
	* src/RelLib/_PrimaryObject.py: Properly set type.
	* src/RelLib/_RepoRef.py: Properly set type.
	* src/RelLib/_Repository.py: Properly set type.
	* src/RelLib/_Url.py: Properly set type.


svn: r6386
2006-04-21 00:03:27 +00:00
Alex Roitman
5b5cc6f6c7 Add keyword expansion
svn: r6383
2006-04-20 18:30:28 +00:00
Alex Roitman
d505dee76a 2006-04-20 Alex Roitman <shura@gramps-project.org>
* src/RelLib/_EventRef.py (unserialize): Avoid class constructor.
	* src/RelLib/_Person.py (unserialize): Avoid class constructor.
	* src/RelLib/_Name.py (unserialize): Avoid class constructor.
	* src/RelLib/_Repository.py (unserialize): Avoid class constructor.
	* src/RelLib/_RepoRef.py (unserialize): Avoid class constructor.
	* src/GrampsDb/_WriteXML.py: Update to export new types.



svn: r6382
2006-04-20 18:20:55 +00:00
Don Allingham
1d9dc8bda6 * src/RelLib/_Family.py: add remove_child_handle
svn: r6376
2006-04-20 03:44:11 +00:00
Don Allingham
f0fce6ae25 type changes
svn: r6375
2006-04-20 03:34:07 +00:00
Don Allingham
4b013db0bc Add missing file
svn: r6374
2006-04-20 03:23:12 +00:00
Don Allingham
4f1010bc65 2006-04-19 Don Allingham <don@gramps-project.org>
* src/DataViews/_EventView.py: more GrampsTypes changes
	* src/DataViews/_PedigreeView.py: more GrampsTypes changes
	* src/RelLib/_ChildRef.py: more GrampsTypes changes
	* src/RelLib/_Family.py: more GrampsTypes changes
	* src/RelLib/_Repository.py: more GrampsTypes changes
	* src/RelLib/_Event.py: more GrampsTypes changes
	* src/Editors/_EditPerson.py: more GrampsTypes changes
	* src/Editors/_EditEventRef.py: more GrampsTypes changes
	* src/Editors/_EditEvent.py: more GrampsTypes changes
	* src/PeopleModel.py: more GrampsTypes changes
	* src/DisplayTabs.py: more GrampsTypes changes
	* src/GrampsWidgets.py: more GrampsTypes changes
	* src/Utils.py: more GrampsTypes changes
	* src/PageView.py: more GrampsTypes changes



svn: r6373
2006-04-20 03:10:23 +00:00
Alex Roitman
a3a37a1712 2006-04-19 Alex Roitman <shura@gramps-project.org>
* src/Utils.py: Remove obsolete code.
	* src/DisplayTabs.py (EventRefModel.column_role): Adapt to new types.
	* src/PeopleModel.py: Adapt to new types.
	* src/plugins/TestcaseGenerator.py: Adapt to new types.
	* src/RelLib/Makefile.am: Ship new files.
	* src/RelLib/_EventRef.py: Adapt to new types.
	* src/RelLib/_PrimaryObject.py: Adapt to new types.
	* src/RelLib/_EventRoleType.py: Add new module.
	* src/RelLib/_RepoRef.py: Adapt to new types.
	* src/RelLib/_MarkerType.py: Add new module.
	* src/RelLib/_Family.py: Adapt to new types.
	* src/RelLib/_Person.py: Adapt to new types.
	* src/RelLib/_SourceMediaType.py: Add new module.
	* src/RelLib/__init__.py: Expose new modules.
	* src/Editors/_EditPerson.py: Use new type.
	* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Adapt to new types.
	* src/GrampsDb/_ConstXML.py: Comment out obsolete code.
	* src/GrampsDb/_ReadXML.py: Adapt to new types.
	* src/GrampsDb/_GrampsDbBase.py (commit_person): Properly use marker.
	* src/GrampsDb/_ReadGedcom.py: Adapt to new types.
	* src/DataViews/_FamilyView.py (write_relationship): Use new type.
	* src/DataViews/_PedigreeView.py (format_relation): Use new type.



svn: r6372
2006-04-20 00:44:44 +00:00
Don Allingham
86caffe6bd GrampsType support for FamilyRelations, Events
svn: r6371
2006-04-19 22:59:33 +00:00
Alex Roitman
38ea0a393b In .:
* src/RelLib/Makefile.am: Ship new file.
	* src/PluginUtils/_ReportUtils.py: Use fam relations from new module.
	* src/Relationship.py: Use family relations from new module.
	* src/Utils.py: Remove family relations.
	* src/RelLib/__init__.py: Expose new module.
	* src/RelLib/_Family.py: Adapt to new types.
	* src/GrampsDb/_ReadXML.py: Adapt to new types.
	* src/GrampsDb/_ConstXML.py: Remove family relations.
	* src/RelLib/_FamilyRelType.py: Add new class
In po:
2006-04-19  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Add new files.



svn: r6369
2006-04-19 18:27:51 +00:00
Alex Roitman
7d39f17460 * src/RelLib/_Event.py: Revert this change.
svn: r6368
2006-04-19 17:54:17 +00:00
Alex Roitman
4aee2a9898 2006-04-19 Alex Roitman <shura@gramps-project.org>
* src/RelLib/_Event.py: Add "personal" attribute to events.



svn: r6367
2006-04-19 17:31:20 +00:00
Don Allingham
a59f61a377 2006-04-18 Don Allingham <don@gramps-project.org>
* src/RelLib/__init__.py: added _EventType
	* src/RelLib/_EventType.py: added
	* src/RelLIb/Makefile.am: added _EventType.py



svn: r6363
2006-04-19 04:41:07 +00:00
Don Allingham
2fa0eabb07 * src/GrampsDb/_ReadXML.py: new types
* src/GrampsDb/_ConstXML.py: new types
	* src/GrampsDb/_WriteXML.py: new types
	* src/Editors/_EditUrl.py: new types
	* src/Editors/_EditPerson.py: new types
	* src/Editors/_EditRepository.py: new types
	* src/Editors/_EditName.py: new types
	* src/Editors/_EditChildRef.py: new types
	* src/RelLib/__init__.py: new types
	* src/RelLib/_Url.py: new types
	* src/RelLib/_RepositoryType.py: new types
	* src/RelLib/_GrampsType.py: new types
	* src/RelLib/_UrlType.py: new types
	* src/RelLib/_Repository.py: new types
	* src/RelLib/_NameType.py: new types
	* src/RelLib/_ChildRefType.py: new types
	* src/DisplayTabs.py: new types
	* src/GrampsWidgets.py: new types
	* src/Utils.py: new types


svn: r6360
2006-04-19 03:57:10 +00:00
Alex Roitman
e12c7b0de3 * src/GrampsDb/_ReadXML.py: Parse old and new XML.
* src/GrampsDb/_WriteXML.py (dump_child_ref, dump_person_ref): Add
	methods.
	* src/RelLib/_ChildRef.py (ChildRef.set_mother_relation): Adapt to
	new types;
	(ChildRef.set_father_relation): Adapt to new types.
	* src/RelLib/_GrampsType.py (GrampsType.get_custom): Add method.
	(GrampsType.set): Allow setting from the same class instance.
	(GrampsType.is_default): Add method.


svn: r6358
2006-04-19 02:23:08 +00:00
Don Allingham
3eda5ea7df fix missing file
svn: r6341
2006-04-14 04:42:45 +00:00
Don Allingham
2532be9de8 Start of new type classes
svn: r6340
2006-04-14 04:36:25 +00:00
Alex Roitman
7cd6ee2739 * src/RelLib/_PersonRef.py (serialize): Typo.
svn: r6334
2006-04-13 18:33:29 +00:00
Alex Roitman
6e6f9fbfba * src/GrampsDb/_GrampsBSDDB.py: Upgrade path to new RelLib.
* src/RelLib/_Family.py: Require non-empty child_ref.


svn: r6332
2006-04-13 18:25:52 +00:00
Alex Roitman
e01e3ee517 Updates
svn: r6330
2006-04-13 17:10:29 +00:00
Don Allingham
221259886f Start childref conversion
svn: r6327
2006-04-13 16:16:00 +00:00
Martin Hawlisch
9fdfd50bc4 * src/RelLib/*: fix different typos.
* src/DataViews/_FamilyView.py: adapt changes in RelLib
	



svn: r6326
2006-04-13 11:21:33 +00:00
Alex Roitman
064e200d0d Update
svn: r6325
2006-04-13 05:28:31 +00:00
Alex Roitman
58285333e8 Update
svn: r6323
2006-04-13 03:58:20 +00:00
Alex Roitman
cfb57b1be0 Update
svn: r6322
2006-04-13 03:37:41 +00:00
Alex Roitman
2fc20b47bf Update
svn: r6321
2006-04-13 03:34:41 +00:00
Alex Roitman
776ba17993 Add ChildRef class, reorganize RelLib.
svn: r6320
2006-04-13 03:15:22 +00:00
Alex Roitman
a7123580a7 * src/RelLib/_PersonRef.py: Add to repository.
* src/RelLib/Makefile.am: Ship new file.
	* src/RelLib/_Person.py: Add person_ref_list to store person-to-
	person references.


svn: r6317
2006-04-12 06:57:14 +00:00
Alex Roitman
b4b3ef0492 Update
svn: r6316
2006-04-12 06:54:21 +00:00
Alex Roitman
3360368431 * src/Makefile.am: Clean byte-compiled files.
* src/DataViews/Makefile.am: Clean byte-compiled files.
	* src/GrampsDb/Makefile.am: Clean byte-compiled files.
	* src/Config/Makefile.am: Clean byte-compiled files.
	* src/RelLib/Makefile.am: Clean byte-compiled files.
	* src/Editors/Makefile.am: Clean byte-compiled files.
	* src/plugins/Makefile.am: Clean byte-compiled files.
	* src/ObjectSelector/Makefile.am: Clean byte-compiled files.
	* src/TreeViews/Makefile.am: Clean byte-compiled files.
	* src/Models/Makefile.am: Clean byte-compiled files.
	* src/Mime/Makefile.am: Clean byte-compiled files.
	* src/GrampsLogger/Makefile.am: Clean byte-compiled files.
	* src/PluginUtils/Makefile.am: Clean byte-compiled files.
	* src/docgen/Makefile.am: Clean byte-compiled files.
	* src/DateHandler/Makefile.am: Clean byte-compiled files.


svn: r6295
2006-04-10 01:02:50 +00:00
Don Allingham
ffae52385f remove empty families
svn: r6293
2006-04-08 05:56:31 +00:00
Don Allingham
9261c050ea pylint fixes
svn: r6287
2006-04-07 04:54:51 +00:00
Alex Roitman
d39038c8f9 * various: Revert back to using gettext except for the modules that need context -- those will use TransUtils.sgettext
svn: r6282
2006-04-06 22:02:46 +00:00
Don Allingham
b2b8c284a9 gedcom import/export with new lds scheme
svn: r6275
2006-04-06 01:42:14 +00:00
Don Allingham
824e61b9d6 Fix place selecton on LDS ords
svn: r6274
2006-04-05 22:36:48 +00:00
Don Allingham
4f1d230de1 fix lds unserialize
svn: r6271
2006-04-05 17:15:44 +00:00
Don Allingham
41cec5c783 lds status type to a constant
svn: r6268
2006-04-05 04:16:16 +00:00
Don Allingham
d761bee9a6 Start of better LDS support
svn: r6261
2006-04-04 18:07:23 +00:00
Don Allingham
447f9ea7f8 dbstate.active fixes
svn: r6255
2006-04-02 04:15:11 +00:00
Don Allingham
1f77128e56 empty object checks
svn: r6243
2006-03-31 19:46:41 +00:00
Don Allingham
8149c252b3 handle to ref conversions
svn: r6239
2006-03-31 04:19:06 +00:00
Don Allingham
621d8757ee scratchpad/drag-n-drop fixes
svn: r6194
2006-03-22 23:03:57 +00:00
Don Allingham
7fdb8314d9 lds specific data moved
svn: r6185
2006-03-21 06:23:45 +00:00
Don Allingham
a08d178f1b speed improvements until object selector is functional
svn: r6175
2006-03-19 03:25:31 +00:00
Alex Roitman
c064cb8185 * various: Use TransUtils.sgettext instead of gettext.gettext to work out stripping the context.
svn: r6155
2006-03-16 20:24:27 +00:00
Alex Roitman
1d5b63aaca * src/RelLib/_NoteBase.py (NoteBase.serialize): Work out the case of note being None -- leftover from gramps20.
svn: r6142
2006-03-14 03:46:54 +00:00
Alex Roitman
432ebe6bbd Remove .cvsignore files from all directories.
svn: r6034
2006-03-02 19:30:29 +00:00