Commit Graph

2261 Commits

Author SHA1 Message Date
Don Allingham
280606f458 Fix warnboxes
svn: r6401
2006-04-21 20:34:26 +00:00
Alex Roitman
c4ff682acd 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
Martin Hawlisch
dfafb7a537 * src/DataViews/_PedigreeView.py: Set dirty flag to force redrawing when changing tree style
* src/plugins/TestcaseGenerator.py: Update to new GrampsTypes



svn: r6398
2006-04-21 20:03:09 +00:00
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
2fda127d99 Fix warnboxes
svn: r6396
2006-04-21 19:56:16 +00:00
Alex Roitman
409b235eab 2006-04-21 Alex Roitman <shura@gramps-project.org>
* src/PluginUtils/_PluginStatus.py: Many small fixes.
	* src/ManagedWindow.py (GrampsWindowManager.display_menu_list):
	Fix building the menu for child-less windows.



svn: r6395
2006-04-21 19:37:09 +00:00
Don Allingham
e9f2d922f7 Attribute Types
svn: r6392
2006-04-21 18:15:23 +00:00
Don Allingham
8243bb1079 updated PluginStatus dialog
svn: r6390
2006-04-21 17:08:34 +00:00
Don Allingham
e6d9cb2bf1 * src/DataViews/_EventView.py: pychecker fixes
* src/ViewManager.py: call scratchpad properly
	* src/GrampsCfg.py: pychecker fixes
	* src/Editors/_EditEvent.py
	* src/DisplayModels.py:pychecker fixes
	* src/DisplayTabs.py: pychecker fixes
	* src/ScratchPad.py: use ManagedWindow
	* src/GenericFilter.py: pychecker fixes
	* src/ImgManip.py: pychecker fixes
	* src/PageView.py: pychecker fixes
	* src/ArgHandler.py: pychecker fixes


svn: r6389
2006-04-21 04:14:00 +00:00
Don Allingham
f7c6a19c53 * src/Editors/_EditFamily.py: Handle marker type in UI
svn: r6388
2006-04-21 02:59:15 +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
Brian Matherly
e2ee414615 Fix space at beginning of paragraph for ODF doc.
svn: r6385
2006-04-20 23:01:35 +00:00
Don Allingham
6fe203dfe2 fix display of shared info warning box
svn: r6384
2006-04-20 22:32:17 +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
Alex Roitman
bc6bdddf90 Update
svn: r6381
2006-04-20 17:52:05 +00:00
Martin Hawlisch
d64cbdc51d * src/plugins/ImportGeneWeb.py: Use new type classes; Start of parsing relationships (unfinished)
svn: r6380
2006-04-20 16:26:12 +00:00
Don Allingham
dc11b217dd use correct field for building surname key
svn: r6379
2006-04-20 15:05:56 +00:00
Don Allingham
be545e2432 svn: r6377 2006-04-20 03:50:57 +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
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
Martin Hawlisch
ea3f1d727a * src/plugins/TestcaseGenerator.py: Use the new types
svn: r6370
2006-04-19 20:56:46 +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
Alex Roitman
65d8a8e894 * data/grampsxml.dtd: Update.
* data/grampsxml.rng: Update.


svn: r6366
2006-04-19 05:14:37 +00:00
Don Allingham
506da3841b * src/Editors/_EditChildRef.py: fix call for MonitoredDataType
svn: r6365
2006-04-19 04:44:20 +00:00
Don Allingham
70368d4464 * src/Editors/_EditName.py: fix call for MonitoredDataType
svn: r6364
2006-04-19 04:42:49 +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
Brian Matherly
f07a3b4032 Update for RelLib changes
svn: r6361
2006-04-19 04:06:27 +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
249b1ba53d 2006-04-18 Don Allingham <don@gramps-project.org>
* src/Editors/_EditFamily.py: button messages
	* src/DisplayTabs.py: remove property button stuff



svn: r6357
2006-04-18 23:22:21 +00:00
Alex Roitman
300debc524 2006-04-18 Alex Roitman <shura@gramps-project.org>
* src/DisplayTabs.py (BackRefList.create_buttons): Allow an
	additional argument to keep the caller happy.



svn: r6356
2006-04-18 22:34:50 +00:00
Don Allingham
c941e1b5c1 * src/DataViews/_PersonView.py: removal of inversion
* src/GenericFilter.py: Interface changes for filtering


svn: r6355
2006-04-18 22:12:19 +00:00
Don Allingham
22d5cf7d91 * src/Editors/__init__.py: added EditChildRef
* src/Editors/Makefile.am: added EditChildRef
	* src/Editors/_EditChildRef.py: added
	* src/Editors/_EditFamily.py: add child reference editor
	* src/DisplayTabs.py: add optional properties button
	* src/glade/gramps.glade: add child reference editor


svn: r6354
2006-04-18 20:27:53 +00:00
Don Allingham
f892c67806 2006-04-18 Don Allingham <don@gramps-project.org>
* src/plugins/Desbrowser.py: bring up to speed with ManagedWindow
	* src/GrampsWidgets.py: fix the type return value 



svn: r6353
2006-04-18 19:10:13 +00:00
Don Allingham
866b1400e3 image and screen updates
svn: r6352
2006-04-18 02:09:43 +00:00
Don Allingham
943f01ff9f Set author for source on gedcom import
svn: r6351
2006-04-17 22:33:13 +00:00
Brian Matherly
1ca0d3d9e1 src/plugins/DescendReport.py: Don't sort children (Bug #1453010)
svn: r6350
2006-04-17 04:09:00 +00:00
Don Allingham
48f497e500 event description on xml import
svn: r6349
2006-04-16 04:37:02 +00:00
Alex Roitman
6b776c860a 2006-04-15 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Adapt to 
	ChildRefType.



svn: r6347
2006-04-15 19:48:12 +00:00
Don Allingham
1891d33470 handle child type callback
svn: r6346
2006-04-15 06:24:35 +00:00
Alex Roitman
282480d097 2006-04-14 Alex Roitman <shura@gramps-project.org>
* src/DisplayTabs.py (edit_button_clicked): Proceed only if
	selection exists.



svn: r6345
2006-04-14 22:31:23 +00:00
Don Allingham
f3dbd3471b Handle ChildRefType on XML import
svn: r6344
2006-04-14 16:00:46 +00:00
Martin Hawlisch
4f42564b0b typo
svn: r6343
2006-04-14 12:40:07 +00:00
Martin Hawlisch
71dcdd9c07 * src/DataViews/_PedigreeView.py: Fix ChildRef, Show person references
* src/Editors/_EditFamily.py: Typo
* src/GrampsDb/_GrampsDbBase.py (get_active_person): Handle case of no active person
* src/plugins/TestcaseGenerator.py: really generate shared events; use new GrampsType; randomize name type
* src/DataViews/_PersonView.py: DnD only for lines of persons; Fix set for python 2.3; fix get_parent_family_handle_list usage



svn: r6342
2006-04-14 12:39:17 +00:00
Don Allingham
2532be9de8 Start of new type classes
svn: r6340
2006-04-14 04:36:25 +00:00
Don Allingham
5982941741 ASSO tag support
svn: r6339
2006-04-13 20:24:19 +00:00
Martin Hawlisch
9ee7492b07 more ChildRef changes
svn: r6338
2006-04-13 19:44:35 +00:00
Don Allingham
deaca6ea3c Fix family/child refs
svn: r6337
2006-04-13 19:34:07 +00:00
Martin Hawlisch
db27730b91 Adapt to changes in RelLib
svn: r6336
2006-04-13 19:29:36 +00:00
Martin Hawlisch
b733444af0 Updates to use ChildRef
svn: r6335
2006-04-13 19:20:11 +00:00
Alex Roitman
7cd6ee2739 * src/RelLib/_PersonRef.py (serialize): Typo.
svn: r6334
2006-04-13 18:33:29 +00:00
Don Allingham
bce7c49fde Remove bad tab
svn: r6333
2006-04-13 18:30:17 +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
dac9f47bd4 * src/NameDisplay.py: Add constants to number name components.
* src/PeopleModel.py: Correct constants.


svn: r6324
2006-04-13 05:26:19 +00:00
Alex Roitman
776ba17993 Add ChildRef class, reorganize RelLib.
svn: r6320
2006-04-13 03:15:22 +00:00
Brian Matherly
6648e8c1b0 Add graph preview based on MIME type.
svn: r6319
2006-04-13 03:01:12 +00:00
Alex Roitman
3c84051355 Fix typo
svn: r6318
2006-04-12 16:41:33 +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
c12e25d0ae * src/GrampsDb/_DbUtils.py (remove_parent_from_family): If removing family, also remove it from the child's parent_family_list.
svn: r6314
2006-04-12 03:06:25 +00:00
Alex Roitman
2fea3361e5 Update
svn: r6313
2006-04-11 22:28:32 +00:00
Martin Hawlisch
a53704e879 * src/images/mk_blue_marble.py: Provide fallback if jpegtrans does not work/exist.
svn: r6311
2006-04-11 17:04:42 +00:00
Martin Hawlisch
250f60b4f7 * src/images/mk_blue_marble.py: Properly exit on error to let make stop in that case.
svn: r6310
2006-04-11 11:31:02 +00:00
Martin Hawlisch
16e6f3fb9f * src/DataViews/_MapView.py: Reworked to display multiple smaller tiled map images
* src/images/mk_blue_marble.py: Script to create the map tiles out of the nasa blue marble image
* src/images/Makefile.am: Add map tile images and bootstrap them using mk_blue_marble.py



svn: r6307
2006-04-10 21:41:42 +00:00
Don Allingham
170ae90bcb Handle active person and Pedigree startup issues
svn: r6306
2006-04-10 20:56:09 +00:00
Alex Roitman
e45013e4e3 * src/GrampsDb/_ReadGedcom.py: LDS fixes.
* src/Editors/_EditLdsOrd.py: LDS fixes.
	* src/lds.py: LDS fixes.


svn: r6304
2006-04-10 18:38:13 +00:00
Alex Roitman
4ca9940ccb * src/ArgHandler.py: Get rid of obsolete self.parent.
svn: r6302
2006-04-10 18:17:00 +00:00
Don Allingham
6b970e3659 Fix adding spouse after family exists
svn: r6301
2006-04-10 16:11:03 +00:00
Alex Roitman
44e127abba Update
svn: r6300
2006-04-10 05:50:06 +00:00
Alex Roitman
3518581e45 * src/ViewManager.py (ViewManager.create_pages): Use toggle
buttons on the sidebar.
	(ViewManager.change_page): Turn off previously active button.


svn: r6299
2006-04-10 05:49:20 +00:00
Alex Roitman
3cae557ab2 Update
svn: r6298
2006-04-10 05:44:59 +00:00
Brian Matherly
2f6c5a71fa Improve graphic alignment in OO reports. (Bug 1370498)
svn: r6297
2006-04-10 04:29:29 +00:00
Alex Roitman
1ca64386fb (GrampsBSDDB._delete_primary_from_reference_map): Accept txn
argument; pass it on to self._remove_reference().
	* src/GrampsDb/_GrampsBSDDB.py (GrampsBSDDB._do_remove_object):
	Work out both regular and batch transactions.


svn: r6296
2006-04-10 01:45:36 +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
ebf97d467f Start of migrating tools to Managed Windows
svn: r6294
2006-04-09 22:53:53 +00:00
Don Allingham
ffae52385f remove empty families
svn: r6293
2006-04-08 05:56:31 +00:00
Brian Matherly
6ddcf8b7bc * src/docgen/PdfDoc.py: fix columns, error check images
* src/docgen/RTFDoc.py: error check images

svn: r6292
2006-04-08 01:59:33 +00:00
Don Allingham
1439dcf535 EditName call in EditPerson
svn: r6289
2006-04-07 20:28:41 +00:00
Don Allingham
809c06c760 restore attr_edit in glade file
svn: r6286
2006-04-07 04:32:43 +00:00
Don Allingham
eb66ad70ee select parents from relationship view
svn: r6283
2006-04-07 02:54:33 +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
Alex Roitman
d59559b9ef * POTFILES.in: Add new files to the list.
* gramps.pot: regenerate the template.
	* src/Makefile.am (gdir_PYTHON): Add new files to the list.


svn: r6281
2006-04-06 21:51:33 +00:00
Alex Roitman
ab2b973638 * src/Editors/_EditLdsOrd.py (EditLdsOrd): Formatting.
* src/GrampsWidgets.py (MonitoredMenu): Factor out commong code.


svn: r6280
2006-04-06 21:28:19 +00:00
Don Allingham
cc755303cd remove missing recent files
svn: r6279
2006-04-06 16:50:05 +00:00
Don Allingham
c5949857fa default types for events
svn: r6278
2006-04-06 04:10:30 +00:00
Don Allingham
c7c18cb044 add family selector
svn: r6277
2006-04-06 03:35:19 +00:00
Don Allingham
8cc24678dc xml import/export with new lds scheme
svn: r6276
2006-04-06 02:34:58 +00:00
Don Allingham
b2b8c284a9 gedcom import/export with new lds scheme
svn: r6275
2006-04-06 01:42:14 +00:00
Don Allingham
455bedf69f Fix place selecton on LDS ords
svn: r6273
2006-04-05 21:30:27 +00:00
Don Allingham
a6acc06720 handle temple not set for LdsOrd
svn: r6272
2006-04-05 18:48:45 +00:00
Don Allingham
4f1d230de1 fix lds unserialize
svn: r6271
2006-04-05 17:15:44 +00:00
Brian Matherly
6769f01be2 Fix image handling problems for reports.
svn: r6269
2006-04-05 04:41:56 +00:00
Don Allingham
41cec5c783 lds status type to a constant
svn: r6268
2006-04-05 04:16:16 +00:00